text stringlengths 54 60.6k |
|---|
<commit_before>#include <windows.h>
#include "overlay.h"
#include <OvRender.h>
#include "osd.h"
#include "menu.h"
#include <stdio.h>
BOOLEAN g_FontInited = FALSE;
BOOLEAN IsStableFramerate;
BOOLEAN IsStableFrametime;
BOOLEAN IsLimitedFrametime;
BOOLEAN DisableAutoOverclock;
UINT16 DiskResponseTime;
UINT64 CyclesWaite... |
<commit_before>// Copyright (c) 2009 Roman Neuhauser
// Distributed under the MIT license (see LICENSE file)
// vim: sw=4 sts=4 et fdm=marker cms=\ //\ %s
#include "php_iniphile.hpp"
#include "iniphile.hpp"
#include "zend_exceptions.h"
zend_class_entry *iniphile_ce;
zend_object_handlers iniphile_object_handlers;
st... |
<commit_before>/**
* \file
* \brief Scheduler class implementation
*
* \author Copyright (C) 2014 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info
*
* \par License
* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not
* ... |
<commit_before>#include <VMDE/VMDE.hpp>
#ifndef _INCLUDE_TILES_H
#define _INCLUDE_TILES_H
namespace VM76 {
class Tile {
public:
GDrawable* obj[6] = {NULL, NULL, NULL, NULL, NULL, NULL};
private:
GLfloat *vtx[6] = {NULL, NULL, NULL, NULL, NULL, NULL};
GLuint *itx[6] = {NULL, NULL, NULL, NULL, NULL, NULL};
... |
<commit_before>/**************************************************************************
*
* Copyright 2010 VMware, Inc.
* Copyright 2011 Intel corporation
* All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation fil... |
<commit_before>#include <ap_int.h>
#include "spbits.h"
#include "match_seg.h"
using namespace std;
#define add if(this->pr==1)
void match_seg::find_segment_n1_62(
ap_uint<bpow+1> ph_pat_p, // ph detected in pattern
ap_uint<6> ph_pat_q_p, // pattern valid
/* ph from segments [bx_history][chamber][segment]segm... |
<commit_before>/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
#ifndef ITEM_HH
#define ITEM_HH
#include "config.h"
#include "mutex.hh"
#include <string>
#include <string.h>
#include <stdio.h>
#include <memcached/engine.h>
/**
* The Item structure we use to pass information between the ... |
<commit_before>/*
Copyright (C) 2011 by Ivan Safrin
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publis... |
<commit_before>/*=========================================================================
Program: Medical Imaging & Interaction Toolkit
Language: C++
Date: $Date: 2008-02-25 17:27:17 +0100 (Mo, 25 Feb 2008) $
Version: $Revision: 7837 $
Copyright (c) German Cancer Research Center, Division of Medica... |
<commit_before>/*===================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics.
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the imp... |
<commit_before>#include <Windows.h>
#include <stdint.h> // Types indpendent de la plateforme
// Pour bien comprendre la diffrence de fonctionnement des variables statiques en C en fonction du scope
#define internal static // fonctions non visible depuis l'extrieur de ce fichier
#define local_persist static // vari... |
<commit_before>/* Copyright 2016-2017 CyberTech Labs Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
<commit_before>/*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do ... |
<commit_before>/**
* File: main.cpp
* Project: tsc - TinyStarChart
* Creator: jbangelo
*
* Description: The entry point to the program
*
* The MIT License (MIT)
*
* Copyright (c) 2014 jbangelo
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated... |
<commit_before>/*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not d... |
<commit_before>
/*************** <auto-copyright.pl BEGIN do not edit this line> **************
*
* VR Juggler is (C) Copyright 1998, 1999, 2000, 2001 by Iowa State University
*
* Original Authors:
* Allen Bierbaum, Christopher Just,
* Patrick Hartling, Kevin Meinert,
* Carolina Cruz-Neira, Albert Baker
*... |
<commit_before>// This file is part of the dune-stuff project:
// https://github.com/wwu-numerik/dune-stuff
// Copyright holders: Rene Milk, Felix Schindler
// License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
#ifndef DUNE_STUFF_FEMEOC_HH
#define DUNE_STUFF_FEMEOC_HH
#if HAVE_DUNE_FEM
#in... |
<commit_before>/**
* @file CameraMatrixProvider.cpp
*
* @author <a href="mailto:[email protected]">Heinrich Mellmann</a>
* Implementation of class CameraMatrixProvider
*/
#include "CameraMatrixCorrectorV2.h"
CameraMatrixCorrectorV2::CameraMatrixCorrectorV2()
{
DEBUG_REQUEST_REGISTER("CameraMatrixV2:c... |
<commit_before>/*=========================================================================
Program: Insight Segmentation & Registration Toolkit (ITK)
Module: itkImageToImageAffineMeanSquaresRegularStepGradientDescentRegistrationTest.cxx
Language: C++
Date: $Date$
Version: $Revision$
Copyright ... |
<commit_before>/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
#ifndef FLUSHER_H
#define FLUSHER_H 1
#include "common.hh"
#include "ep.hh"
#include "dispatcher.hh"
enum flusher_state {
initializing,
running,
pausing,
paused,
stopping,
stopped
};
class Flusher;
... |
<commit_before>//
// calcPWP.cpp
//
//
// Created by Evan McCartney-Melstad on 1/10/15.
//
//
#include "calcPWP.h"
#include <iostream>
#include <vector>
#include <fstream>
#include <thread>
#include <string>
int calcPWPfromBinaryFile (std::string binaryFile, unsigned long long int numLoci, const int numIndividua... |
<commit_before>// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/mac/libdispatch_task_runner.h"
#include "base/bind.h"
#include "base/mac/bind_objc_block.h"
#include "base/message_loop... |
<commit_before>/*
* this file is part of the oxygen gtk engine
* Copyright (c) 2011 Hugo Pereira Da Costa <[email protected]>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Founda... |
<commit_before>#include "forces.h"
int granular_force(iREAL n[3], iREAL vij[3], iREAL oij[3], iREAL depth, int i, int j, iREAL mass[], iREAL invm[], iREAL *iparam[NINT], int ij, iREAL f[3])
{
iREAL ma;
if (j >= 0) ma = 1.0 / (invm[i] + invm[j]);
else ma = mass[i];
iREAL kn = iparam[SPRING][ij];
iREAL en... |
<commit_before>/*****************************************************************************
* Number Plate Recognition using SVM and Neural Networks
******************************************************************************
* by David Milln Escriv, 5th Dec 2012
* http://blog.damiles.com
********************... |
<commit_before>/*=========================================================================
Program: ORFEO Toolbox
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) Centre National d'Etudes Spatiales. All rights reserved.
See OTBCopyright.txt for details.
This software is distr... |
<commit_before>#include "TypeDefinition.h"
fint fwcslen(fwchar_t* str)
{
fint counter=0;
fwchar_t* tmpstr = str;
while(*tmpstr != 0)
{
tmpstr++;
counter++;
}
return counter;
}
fint fwcscmp(fwchar_t* str1, fwchar_t* str2)
{
fwchar_t* tmpstr1 = str1;
fwchar_t* tmpstr2 = str2;
while(*tmpstr1 != 0 || *tmpst... |
<commit_before>/**
* Copyright (C) 2013 Regents of the University of California.
* @author: Jeff Thompson <[email protected]>
* See COPYING for copyright and distribution information.
*/
#ifndef NDN_SHA256_WITH_RSA_SIGNATURE_HPP
#define NDN_SHA256_WITH_RSA_SIGNATURE_HPP
#include "data.hpp"
#include "publisher... |
<commit_before>// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/perftimer.h"
#include "base/scoped_handle.h"
#include "base/timer.h"
#include "net/base/net_errors.h"
#include "net... |
<commit_before>#include "streams.h"
#include <algorithm>
#include <core/json.h>
#include <core/memory.h>
#include <core/stream.h>
#include <fstream>
#include <limits>
#include <pcg/pcg_random.hpp>
#include <random>
#include <string>
#ifdef BUILD_estream
#include <streams/estream/estream_stream.h>
#endif
#ifdef BUILD_... |
<commit_before>// This file is part of UDPipe <http://github.com/ufal/udpipe/>.
//
// Copyright 2015 Institute of Formal and Applied Linguistics, Faculty of
// Mathematics and Physics, Charles University in Prague, Czech Republic.
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. ... |
<commit_before>#ifndef __LIBEVENT_SSL_SOCKET_HPP__
#define __LIBEVENT_SSL_SOCKET_HPP__
#include <event2/buffer.h>
#include <event2/bufferevent_ssl.h>
#include <event2/event.h>
#include <event2/listener.h>
#include <event2/util.h>
#include <atomic>
#include <memory>
#include <process/queue.hpp>
#include <process/sock... |
<commit_before>#include <znc/Client.h>
#include <znc/Modules.h>
#include <znc/IRCNetwork.h>
#include <znc/IRCSock.h>
class CPrioritySend : public CModule {
public:
MODCONSTRUCTOR(CPrioritySend) {}
virtual EModRet OnUserNotice(CString& sTarget, CString& sMessage) override {
return ProcessMessage("NOTICE", sTarget... |
<commit_before>/**
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* d... |
<commit_before><commit_msg>11581 - Grid Successors<commit_after><|endoftext|> |
<commit_before>/*
* GoForward.cpp
*
* Created on: Mar 25, 2014
* Author: user
*/
#include "GoBackward.h"
GoBackward::GoBackward(Robot* robot):Behavior(robot) {
// TODO Auto-generated constructor stub
}
bool GoBackward::startCondition()
{
return false;
}
void GoBackward::action()
{
}
bool GoBackward::s... |
<commit_before>#include "ofMain.h"
#include "Fisheye.h"
#include "ofxTiming.h"
#include "ofxOculusDK2.h"
#include "ofxOsc.h"
#include "ofxSyphon.h"
class ofApp : public ofBaseApp {
public:
ofxSyphonClient cam;
Fisheye fisheye;
RateTimer cameraTimer, renderTimer;
ofCamera camera;
ofxOculusDK2 oculusR... |
<commit_before>// __BEGIN_LICENSE__
// Copyright (C) 2006-2011 United States Government as represented by
// the Administrator of the National Aeronautics and Space Administration.
// All Rights Reserved.
// __END_LICENSE__
/// \file disparitydebug.cc
///
#ifdef _MSC_VER
#pragma warning(disable:4244)
#pragma warning... |
<commit_before>/* This file is part of Strigi Desktop Search
*
* Copyright (C) 2006 Jos van den Oever <[email protected]>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; eithe... |
<commit_before>/*
* This material contains unpublished, proprietary software of
* Entropic Research Laboratory, Inc. Any reproduction, distribution,
* or publication of this work must be authorized in writing by Entropic
* Research Laboratory, Inc., and must bear the notice:
*
* "Copyright (c) 1990-1996 En... |
<commit_before>/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "Lice... |
<commit_before>/*
==============================================================================
OscProcessor.cpp
Created: 22 Jan 2015 10:56:59pm
Author: Daniel Lindenfelser
==============================================================================
*/
#include "OscProcessor.h"
OscProcessor::Osc... |
<commit_before>#include <stdio.h>
#include <inttypes.h>
#include <lcm/lcm.h>
#include <iostream>
#include <limits>
#include "joints2frames.hpp"
#include <ConciseArgs>
using namespace std;
using namespace boost;
using namespace boost::assign;
#define DO_TIMING_PROFILE FALSE
/////////////////////////////////////
joi... |
<commit_before>// Copyright 2019 DeepMind Technologies Ltd. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
//... |
<commit_before>//
// main.cpp
// HashTables
//
// Created by Sunil on 4/28/17.
// Copyright © 2017 Sunil. All rights reserved.
//
#include <string>
#include <chrono>
#include <fstream>
#include <sstream>
#include <iomanip>
#include <iostream>
#include "HashTable.hpp"
#include "PlayerInfo.hpp"
using namespace std... |
<commit_before>/*
* opencog/atomspace/SimpleTruthValue.cc
*
* Copyright (C) 2002-2007 Novamente LLC
* All Rights Reserved
*
* Written by Welter Silva <[email protected]>
* Guilherme Lamacie
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Aff... |
<commit_before>/** Copyright 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018 Roland Olbricht et al.
*
* This file is part of Overpass_API.
*
* Overpass_API is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the F... |
<commit_before><commit_msg>EXTRA THREEDEEE<commit_after><|endoftext|> |
<commit_before><commit_msg>jibby<commit_after><|endoftext|> |
<commit_before>/*
* Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice... |
<commit_before>// Filename: audio_linux_traits.C
// Created by: cary (02Oct00)
//
////////////////////////////////////////////////////////////////////
#include "audio_linux_traits.h"
#ifdef AUDIO_USE_LINUX
#include "audio_manager.h"
#include "config_audio.h"
#include <ipc_thread.h>
#include <ipc_mutex.h>
#include ... |
<commit_before>// Filename: ffmpegVirtualFile.cxx
// Created by: jyelon (02Jul07)
//
////////////////////////////////////////////////////////////////////
//
// PANDA 3D SOFTWARE
// Copyright (c) Carnegie Mellon University. All rights reserved.
//
// All use of this software is subject to the terms of the revised BSD
/... |
<commit_before>//@author A0094446X
#include "stdafx.h"
#include <QApplication>
#include <QList>
#include "you_main_gui.h"
#include "system_tray_manager.h"
YouMainGUI::SystemTrayManager::~SystemTrayManager() {
}
void YouMainGUI::SystemTrayManager::setup() {
createActions();
setIcon();
makeContextMenu();
connectTra... |
<commit_before>#include "../gtest/include/gtest/gtest.h"
#include <string.h> // use memset/memcmp
#include "../codec/encoder/core/inc/memory_align.h"
using namespace WelsSVCEnc;
//Tests of WelsGetCacheLineSize Begin
TEST(MemoryAlignTest, GetCacheLineSize_LoopWithin16K)
{
const unsigned int kuiTestBoundary16K = 16 ... |
<commit_before>/*************************************************************************/
/* gdscript_cache.cpp */
/*************************************************************************/
/* This file is part of: */
/... |
<commit_before>#include "adaptive_load/adaptive_load_controller_impl.h"
#include <chrono>
#include "envoy/common/exception.h"
#include "envoy/config/core/v3/base.pb.h"
#include "nighthawk/adaptive_load/adaptive_load_controller.h"
#include "nighthawk/adaptive_load/metrics_plugin.h"
#include "nighthawk/adaptive_load/s... |
<commit_before>/*
* Distributed under the OSI-approved Apache License, Version 2.0. See
* accompanying file Copyright.txt for details.
*
* InSituMPISchedules.cpp
* common functions for in situ MPI Writer and Reader
* It requires MPI
*
* Created on: Dec 25, 2017
* Author: Norbert Podhorszki pnorbert@ornl... |
<commit_before>#include "SuffixMatchManager.hpp"
#include <document-manager/DocumentManager.h>
#include <boost/filesystem.hpp>
#include <glog/logging.h>
namespace sf1r
{
SuffixMatchManager::SuffixMatchManager(
const std::string& homePath,
const std::string& property,
boost::shared_ptr<Documen... |
<commit_before>#include <GL/glew.h>
#include <GLFW/glfw3.h>
#define GLM_FORCE_RADIANS
#include <glm/glm.hpp>
#include <iostream>
#include <iomanip>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <nanovg.h>
#define NANOVG_GL3_IMPLEMENTATION
#include <nanovg_gl.h>
#include "gfx/Renderer.hpp"
#include ... |
<commit_before>#include <algorithm>
#include <cassert>
#include <chrono>
#include <cstddef>
#include <cstdint>
#include <exception>
#include <functional>
#include <iostream>
#include <memory>
#include <random>
#include <string>
#include "chainerx/array.h"
#include "chainerx/array_index.h"
#include "chainerx/backprop_m... |
<commit_before>#include "foo_musicbrainz.h"
#include "Metadata.h"
#include "Release.h"
#include "RequestThread.h"
using namespace foo_musicbrainz;
RequestThread::RequestThread(Query *query, HWND window, ReleaseList *mbc) : query(query), window(window), mbc(mbc) {}
// TODO: abort checks, progress
void Reque... |
<commit_before>// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/autofill/autofill_download.h"
#include <algorithm>
#include <ostream>
#include <vector>
#include "base/loggi... |
<commit_before>// Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/autofill/credit_card_field.h"
#include "base/string16.h"
#include "chrome/browser/autofill/autofill_field.h"
... |
<commit_before>// Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/chromeos/boot_times_loader.h"
#include <vector>
#include "base/command_line.h"
#include "base/file_path.h"
#... |
<commit_before>// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/chromeos/login/login_utils.h"
#include "base/command_line.h"
#include "base/file_path.h"
#include "base/lock.... |
<commit_before>#include "def_lang/impl/Ptr_Value.h"
#include "def_lang/Value_Selector.h"
#include "def_lang/Serialization.h"
#include "def_lang/IStruct_Type.h"
namespace ts
{
Ptr_Value::Ptr_Value(std::shared_ptr<IPtr_Type const> type)
: m_type(type)
{
}
Result<bool> Ptr_Value::is_equal(IValue const& other) const... |
<commit_before>//!
//! @author Yue Wang
//! @date 13 11 2014
//!
//! @ex 41.01
//! (a) share data between two threads.
//! (b) use mutex to avoid data race.
//!
// to compile (on linux) :
// g++ -std=c++11 -Wall ex41_01.cpp -pthread
//!
#include <iostream>
#include <thread>
#include <mutex>
#include... |
<commit_before>/* This file is part of the Vc library.
Copyright (C) 2009 Matthias Kretz <[email protected]>
Vc is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
published by the Free Software Foundation, either version 3 of
the Lic... |
<commit_before>//
// Created by Miguel Rentes on 30/01/2017.
//
#include "STL.h"
void printKMax(int arr[], int n, int k) {
deque<int> mydeque;
int greatest = 0;
int value = 0;
int index = 0;
int iteration = 0;
// pushing all the greatest values on each k-elements to the front of the deque
... |
<commit_before>// For conditions of distribution and use, see copyright notice in license.txt
#include "StableHeaders.h"
#include "VideoWidget.h"
#include <QApplication>
#include <QDebug>
#include <QPainter>
#include <QThread>
#include <QVariant>
#include <QObject>
#include <QDebug>
#include <gst/interf... |
<commit_before>// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This utility program exists to process the False Start blacklist file into
// a static hash table so that it can be efficiently quer... |
<commit_before><commit_msg>Simplify a proxy test. TEST=none<commit_after><|endoftext|> |
<commit_before>/*
* PathGrowingMatcher.cpp
*
* Created on: Jun 13, 2013
* Author: Henning
*/
#include "PathGrowingMatcher.h"
#include "../auxiliary/PrioQueueForInts.h"
namespace NetworKit {
Matching PathGrowingMatcher::run(Graph& G) {
// make copy since graph will be transformed
count n = G.numberOfNod... |
<commit_before>/*
***************************************
* Asylum3D @ 2014-12-17
***************************************
*/
#ifndef __ASYLUM3D_HPP__
#define __ASYLUM3D_HPP__
/* Asylum Namespace */
namespace asy {
/***************/
/* Effect Port */
/***************/
class IEffect : public asylum
{... |
<commit_before>//Copyright (c) 2022 Ultimaker B.V.
//CuraEngine is released under the terms of the AGPLv3 or higher.
#include "PolygonConnector.h"
#include "linearAlg2D.h"
#include "AABB.h"
namespace cura
{
PolygonConnector::PolygonConnector(const coord_t line_width)
: line_width(line_width)
{}
void PolygonConnec... |
<commit_before>/* Begin CVS Header
$Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/model/CModelValue.cpp,v $
$Revision: 1.24 $
$Name: $
$Author: shoops $
$Date: 2006/07/21 19:57:55 $
End CVS Header */
// Copyright 2005 by Pedro Mendes, Virginia Tech Intellectual
// Properties, Inc. and EM... |
<commit_before>#include <iostream>
#include <cmath>
#include <cstring>
#include "io/BmpIO.hpp"
#include "matrix/Matrix"
#include "improc/Filter.hpp"
#include "improc/Kernels.hpp"
#include "Util.hpp"
using namespace sipl;
void parse_commandline(int argc, char** argv);
// Actions available
enum class ActionType { SOBE... |
<commit_before><commit_msg>Update initial fight pattern<commit_after><|endoftext|> |
<commit_before>#include "navier_solver.hpp"
#include <fstream>
using namespace mfem;
using namespace navier;
struct s_FlowContext
{
int order = 5;
double kin_vis = 1.0 / 40.0;
double t_final = 10e-5;
double dt = 1e-5;
} ctx;
void vel_kovasznay(const Vector &x, double t, Vector &u)
{
double xi = x(0);
... |
<commit_before>// Copyright (c) 2010-2020, Lawrence Livermore National Security, LLC. Produced
// at the Lawrence Livermore National Laboratory. All Rights reserved. See files
// LICENSE and NOTICE for details. LLNL-CODE-806117.
//
// This file is part of the MFEM library. For more information and source code
// availa... |
<commit_before>/*------------------------------------------------------------------------
* (The MIT License)
*
* Copyright (c) 2008-2011 Rhomobile, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* i... |
<commit_before>
#include <jni.h>
extern "C" {
void init(JNIEnv *env, jobject local_store_java, jobject asset_manager, int width, int height);
void update();
void touch(int touch_id, int action, double x, double y);
}
#include <android/asset_manager.h>
#include <android/asset_manager_jni.h>
#include <GLES/gl.h... |
<commit_before>#include "SFZeroAudioProcessor.h"
#include "SFZeroEditor.h"
#include "SFZSound.h"
#include "SFZVoice.h"
#include "SFZDebug.h"
SFZeroAudioProcessor::SFZeroAudioProcessor()
: loadProgress(0.0), loadThread(this)
{
#if JUCE_DEBUG
setupLogging(
FileLogger::createDefaultAppLogger(
"SFZero", "SFZero.lo... |
<commit_before>/**
* @copyright Copyright 2016 The J-PET Framework Authors. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may find a copy of the License in the LICENCE file.
*
* Unless required b... |
<commit_before>/******************************************************************************\
* File: dialog.cpp
* Purpose: Implementation of wxExDialog class
* Author: Anton van Wezenbeek
* RCS-ID: $Id$
*
* Copyright (c) 1998-2009 Anton van Wezenbeek
* All rights are reserved. Reproducti... |
<commit_before>#include "mainwindow.h"
#include "ui_mainwindow.h"
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow),
wizard(new Wizard(this)),
world(NULL)
{
ui->setupUi(this);
rooms_list = new RoomsList;
room_view = new RoomView;
settings = new Setti... |
<commit_before>// Copyright (C) 2019 by Pedro Mendes, Rector and Visitors of the
// University of Virginia, University of Heidelberg, and University
// of Connecticut School of Medicine.
// All rights reserved.
// Copyright (C) 2017 - 2018 by Pedro Mendes, Virginia Tech Intellectual
// Properties, Inc., University of ... |
<commit_before>// @(#)root/cont:$Id$
// Author: Rene Brun 28/09/2001
/*************************************************************************
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* ... |
<commit_before>/*************************************************************************/
/* file_access_pack.cpp */
/*************************************************************************/
/* This file is part of: */
/... |
<commit_before>/**
* @file ada_delta.hpp
* @author Marcus Edel
*
* Implmentation of the RmsProp optimizer. Adadelta is an optimizer that uses
* the magnitude of recent gradients and steps to obtain an adaptive step rate.
*/
#ifndef __MLPACK_METHODS_ANN_OPTIMIZER_ADA_DELTA_HPP
#define __MLPACK_METHODS_ANN_OPTIMIZE... |
<commit_before>#include "Keyboard.h"
#include "imgui/imgui.h"
#include <algorithm>
#include <iostream>
namespace Preferences {
Keyboard::Keyboard(KeyBindings &keybindings, Confparse &obvconfig) : keybindings(keybindings), obvconfig(obvconfig) {
}
void Keyboard::menuItem() {
if (ImGui::MenuItem("Keyboard Preference... |
<commit_before>/*
* Copyright(c) Sophist Solutions, Inc. 1990-2017. All rights reserved
*/
// TEST Foundation::Containers::DataHyperRectangle
// STATUS PRELIMINARY
#include "Stroika/Foundation/StroikaPreComp.h"
#include <iostream>
#include <sstream>
#include "Stroika/Foundation/Containers/Concrete/DataHy... |
<commit_before>/*
* Copyright(c) Sophist Solutions, Inc. 1990-2020. All rights reserved
*/
// TEST Foundation::Execution::ProcessRunner
#include "Stroika/Foundation/StroikaPreComp.h"
#include "Stroika/Foundation/Debug/Trace.h"
#include "Stroika/Foundation/Execution/ProcessRunner.h"
#if qPlatform_POSIX
#include ... |
<commit_before>#include "led.h"
#include "flasher.h"
#include "const.h"
#include "logger.h"
#include <Arduino.h>
//Array keeping track of states
uint8_t states[NUMBER_OF_BITS];
unsigned char led_flashingCounter = 0;
void led_setup() {
pinMode(P_LED_VCC, OUTPUT);
pinMode(P_LED_DATA, OUTPUT);
pinMode(P_LED_CLOCK... |
<commit_before>/*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2008, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the f... |
<commit_before><commit_msg>Support the ECC cipher suites added in Mac OS X 10.6.<commit_after><|endoftext|> |
<commit_before>/*
* Copyright (C) 2017 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... |
<commit_before>/*
* This file is part of telepathy-accounts-kcm
*
* Copyright (C) 2011 Florian Reinhard <[email protected]>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foun... |
<commit_before>#include "Core.hpp"
#include "midi.hpp"
#include "dsp/digital.hpp"
#include "dsp/filter.hpp"
#include <algorithm>
struct MIDIToCVInterface : Module {
enum ParamIds {
NUM_PARAMS
};
enum InputIds {
NUM_INPUTS
};
enum OutputIds {
CV_OUTPUT,
GATE_OUTPUT,
VELOCITY_OUTPUT,
AFTERTOUCH_OUTPUT... |
<commit_before>/*
Copyright (c) 2009 Stephen Kelly <[email protected]>
This library is free software; you can redistribute it and/or modify it
under the terms of the GNU Library General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at your
option... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.