text
stringlengths
54
60.6k
<commit_before>/* * Modular Reducer * (C) 1999-2011 Jack Lloyd * * Botan is released under the Simplified BSD License (see license.txt) */ #include <botan/reducer.h> namespace Botan { /* * Modular_Reducer Constructor */ Modular_Reducer::Modular_Reducer(const BigInt& mod) { if(mod <= 0) throw Invalid_Argu...
<commit_before>/* * Open Pixel Control server for Fadecandy * * Copyright (c) 2013 Micah Elizabeth Scott * * 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, includ...
<commit_before>#include <QCoreApplication> #include <QtDebug> #include <iostream> #include <fstream> //#include <stdio.h> #include <stdlib.h> #include <time.h> #include <cerrno> #include <cmath> #include <thread> #include <mutex> #define OUTPUT_FILE "./trials.csv" #define NUMBER_THREADS 1 #define USE_MULTIPLE_THREAD...
<commit_before>/* * The Biomechanical ToolKit * Copyright (c) 2009-2011, Arnaud Barré * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * * Redistributions of source code must re...
<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 "webkit/glue/plugins/plugin_list.h" #include "base/command_line.h" #include "base/file_util.h" #include "base/path_service.h"...
<commit_before>/* RawSpeed - RAW file decoder. Copyright (C) 2009-2014 Klaus Post Copyright (C) 2017 Axel Waggershauser 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 Foundation;...
<commit_before>/* Copyright 2016 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); vcyou 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 ap...
<commit_before>/******************************************************************************* * The MIT License (MIT) * * Copyright (c) 2015 Jean-David Gadina - www.xs-labs.com / www.digidna.net * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated ...
<commit_before>/* * Copyright (c) 2015 Cryptonomex, Inc., and contributors. * * The MIT License * * 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...
<commit_before>#include "imgui.h" #include <babylon/babylon_fwd.h> #include <babylon/buffers/vertex_buffer.h> #include <babylon/cameras/arc_rotate_camera.h> #include <babylon/core/random.h> #include <babylon/interfaces/irenderable_scene_with_hud.h> #include <babylon/lights/hemispheric_light.h> #include <babylon/materi...
<commit_before><commit_msg>kill last (ab)user of SetRanges()<commit_after><|endoftext|>
<commit_before>#pragma once #include <raindance/Core/Headers.hh> #include <raindance/Core/Clock.hh> #include <raindance/Core/Camera/Camera.hh> #include <raindance/Core/Primitives/Quad.hh> #include <raindance/Core/Resources/Texture.hh> #include <graphiti/Entities/MVC.hh> #include <graphiti/Visualizers/Network/GPUGrap...
<commit_before>#include <random> #include <iostream> using namespace std; void printIntVector( vector<int> &numbers ) { for( vector<int>::iterator it=numbers.begin(); it!=numbers.end(); it++) { cout << *it << " " ; } cout << endl; } bool comp( const int &n1, const int &n2 ) { return ( n1 > n...
<commit_before>/* Library EDK - How to use Extensible Development Kit Copyright (C) 2013 Eduardo Moura Sales Martins 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 Foundation; either version 2.1 of the Li...
<commit_before>/** * @file LatentSvmDetector_.cpp * @brief mex interface for LatentSvmDetector * @author Kota Yamaguchi * @date 2012 */ #include "mexopencv.hpp" using namespace std; using namespace cv; namespace { /// Last object id to allocate int last_id = 0; /// Object container map<int,LatentSvmDetector> obj...
<commit_before>#include <agency/execution_policy.hpp> #include <mutex> #include <iostream> #include <thread> int main() { int ball = 0; std::string names[2] = {"ping", "pong"}; std::mutex mut; // create two concurrent agents agency::bulk_invoke(agency::con(2), [&](agency::concurrent_agent& self) { aut...
<commit_before>/* * ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1 * * ``The contents of this file are subject to the Mozilla Public License * Version 1.1 (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.mozilla.org/MPL/ ...
<commit_before>// Copyright (c) 2019 by Robert Bosch GmbH. All rights reserved. // Copyright (c) 2021 by Apex.AI Inc. 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 ...
<commit_before>/////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2011 - 2012 by // // Simon Pratt // // (All rights reserved) ...
<commit_before><commit_msg>`SettingMaster::set_and_print`: print message if Entity name is invalid.<commit_after><|endoftext|>
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a ...
<commit_before><commit_msg>Bugfix: added missing `#include` line.<commit_after><|endoftext|>
<commit_before>#include <GL/glew.h> // include GLEW and new version of GL on Windows #include <GLFW/glfw3.h> #include "graphics/gatherer_graphics.h" #include "GLContextWindow.h" #include "OGLESGPGPUTest.h" #include <opencv2/core.hpp> #include <opencv2/imgproc.hpp> #include <opencv2/highgui.hpp> #include <iostream> ...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: javamaker.cxx,v $ * * $Revision: 1.7 $ * * last change: $Author: rt $ $Date: 2005-09-08 02:17:32 $ * * The Contents of this file are made...
<commit_before>/** * This file is part of TelepathyQt * * @copyright Copyright (C) 2012 Collabora Ltd. <http://www.collabora.co.uk/> * @copyright Copyright (C) 2012 Nokia Corporation * @license LGPL 2.1 * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Less...
<commit_before>/* * Servo * read joystick data, normalize, write to servo * * @author: Navid Kalaei <navidkalaie@gmail.com> * @github: @navid-kalaei * @license: MIT */ #include "Arduino.h" #include "Servo.h" // time to wait in millis #define DELAY_TIME 200 #define SERIAL_RATE 9600 #define JOY_PIN_X 0 #define...
<commit_before> // // This source file is part of appleseed. // Visit http://appleseedhq.net/ for additional information and resources. // // This software is released under the MIT license. // // Copyright (c) 2010-2013 Francois Beaune, Jupiter Jazz Limited // // Permission is hereby granted, free of charge, to any pe...
<commit_before>/** Copyright (C) 2016, 2017 European Spallation Source ERIC */ #include <cassert> #include <common/Detector.h> #include <common/EFUArgs.h> #include <common/Trace.h> #include <efu/Launcher.h> #include <iostream> #include <thread> #include <map> void Launcher::launchThreads(std::shared_ptr<Detector> &de...
<commit_before> // // This source file is part of appleseed. // Visit http://appleseedhq.net/ for additional information and resources. // // This software is released under the MIT license. // // Copyright (c) 2010-2012 Francois Beaune, Jupiter Jazz // // Permission is hereby granted, free of charge, to any person obt...
<commit_before>#include "tests.h" #include <cstdlib> #include <chrono> #include <memory> #include <algorithm> #include <unordered_set> #ifdef _WIN32 #define WIN32_LEAN_AND_MEAN #include <Windows.h> #include <conio.h> // _kbhit #else #include <unistd.h> #include <termios.h> #endif namespace rpp { ...
<commit_before>//===----------------------------------------------------------------------===// // // PelotonDB // // transaction_manager.cpp // // Identification: src/backend/concurrency/optimistic_transaction_manager.cpp // // Copyright (c) 2015, Carnegie Mellon University Database Group // //...
<commit_before>/* * Copyright 2015 BrewPi / Elco Jacobs * * This file is part of BrewPi. * * BrewPi is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option...
<commit_before><commit_msg>10646 - What is the Card<commit_after><|endoftext|>
<commit_before>#pragma once #include <cstdint> #include <nlohmann/json.hpp> #include <vector> #include "DatatypeEnum.hpp" #include "RawBuffer.hpp" #include "RawDepthCalculatorConfig.hpp" #include "RawImgFrame.hpp" namespace dai { struct DepthCalculatorDataOut { DepthCalculatorConfigData config; float depth_a...
<commit_before>/* * Copyright (C) 2015 Cloudius Systems, Ltd. */ #pragma once #include "core/reactor.hh" #include "core/iostream.hh" #include "core/distributed.hh" #include "core/print.hh" #include "core/sstring.hh" #include "net/api.hh" #include "util/serialization.hh" #include "gms/inet_address.hh" #include "rpc/...
<commit_before>// Filename: config_text.cxx // Created by: drose (02Mar00) // //////////////////////////////////////////////////////////////////// // // PANDA 3D SOFTWARE // Copyright (c) 2001, Disney Enterprises, Inc. All rights reserved // // All use of this software is subject to the terms of the Panda 3d // Softw...
<commit_before>#include "filehandler.h" /** * @brief FileHandler::FileHandler */ FileHandler::FileHandler() { this->m_pid = 0; // zero out counter ids this->m_fid = 0; this->m_did = 0; this->lastError = 0; } /** * @brief FileHandler::create_project * creates project and associated files. * @param...
<commit_before>//------------------------------------------------------------------------------ // CLING - the C++ LLVM-based InterpreterG :) // version: $Id$ // author: Vassil Vassilev <vvasilev@cern.ch> //------------------------------------------------------------------------------ #include "cling/Interpreter/Inte...
<commit_before>// Copyright 2021 The IREE Authors // // Licensed under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include "iree/compiler/Codegen/LLVMGPU/KernelConfig.h" #include "iree/compiler/Co...
<commit_before>// // Copyright (c) 2008 Advanced Micro Devices, Inc. All rights reserved. // #include "top.hpp" #include "codegen.hpp" #include "utils/libUtils.h" #include "os/os.hpp" #include "jit/src/jit.hpp" #include "utils/target_mappings.h" #include "llvm/Support/FormattedStream.h" #include "llvm/Support/Host.h" #...
<commit_before>#define DEBUG 1 /** * File : F.cpp * Author : Kazune Takahashi * Created : 6/14/2020, 3:53:32 AM * Powered by Visual Studio Code */ #include <algorithm> #include <bitset> #include <cassert> #include <cctype> #include <chrono> #include <climits> #include <cmath> #include <complex> #include <cstdi...
<commit_before>// This file is part of the dune-hdd project: // http://users.dune-project.org/projects/dune-hdd // Copyright holders: Felix Albrecht // License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) #ifndef DUNE_HDD_EXAMPLES_LINEARELLIPTIC_SWIPDG_HH #define DUNE_HDD_EXAMPLES_LINEARELLIPT...
<commit_before>#ifndef ITERTOOLS_SAMPLE_CLASSES_HPP #define ITERTOOLS_SAMPLE_CLASSES_HPP #include <iostream> #include <cstddef> namespace itertest { class MoveOnly { private: int i; // not an aggregate public: MoveOnly(int v) : i{v} { } ...
<commit_before>/************************************************************************** ** ** This file is part of Qt Creator ** ** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** Commercial Usage ** ** Licensees holding valid Qt Commercial...
<commit_before>/****************************************************************************** * Controls.cpp * * Contains the yaw_controller() and depth_controller functions ******************************************************************************/ #include "Mapper.h" /*******************************************...
<commit_before> #include <cstdio> #include <iostream> #include "utility.hpp" // Inludes common necessary includes for development using depthai library #include "depthai/depthai.hpp" static bool syncNN = true; dai::Pipeline createNNPipeline(std::string nnPath) { dai::Pipeline p; auto colorCam = p.create<da...
<commit_before>#include <iostream> #include "libaps.h" #include "constants.h" #include <thread> using namespace std; int main () { cout << "BBN X6-1000 Test Executable" << endl; set_malibu_threading_enable(false); int numDevices; numDevices = get_numDevices(); cout << numDevices << " X6 device" << (numD...
<commit_before>#pragma once #include "kl/binary_rw.hpp" #include <vector> namespace kl { template <typename T> kl::binary_reader& operator>>(kl::binary_reader& r, std::vector<T>& vec) { const auto size = r.read<std::uint32_t>(); vec.clear(); vec.reserve(size); for (std::uint32_t i = 0; i < size; +...
<commit_before>#include "Dictionary.h" #include <string> #include <vector> #include <map> #include "NounDefinition.h" #include "AdjunctDefinition.h" #include "ModifierDefinition.h" #include "Grammar.h" #ifdef DEBUG #include "../util/Sysout.h" #endif // DEBUG // ===== // Nouns // ===== // Vector std::map<gmr::Noun...
<commit_before>/********** tell emacs we use -*- c++ -*- style comments ******************* $Revision: 1.12 $ $Author: trey $ $Date: 2006-10-19 19:31:16 $ @file HDP.cc @brief Implementation of Bonet and Geffner's HDP algorithm. Copyright (c) 2006, Trey Smith. All rights reserved. Licensed under the Ap...
<commit_before>#include <gtest/gtest.h> #include "stan/prob/distributions_multinomial.hpp" #include <Eigen/Dense> using Eigen::Matrix; using Eigen::Dynamic; TEST(ProbDistributions,Multinomial) { std::vector<int> ns; ns.push_back(1); ns.push_back(2); ns.push_back(3); Matrix<double,Dynamic,1> theta(3,1); t...
<commit_before>/************************************************************************* * * $RCSfile: cachedata.hxx,v $ * * $Revision: 1.5 $ * * last change: $Author: hr $ $Date: 2003-03-19 16:19:41 $ * * The Contents of this file are made available subject to the terms of * either of the following lice...
<commit_before>//---------------------------------------------------------------------------// /* Copyright (c) 2012, Stuart R. Slattery All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: *: Re...
<commit_before>#include <sirius.h> #include <fstream> #include <string> using namespace sirius; void test_hloc(std::vector<int> mpi_grid_dims__, double cutoff__, int num_bands__, int reduce_gvec__, int use_gpu__, int gpu_ptr__) { device_t pu = static_cast<device_t>(use_gpu__); matrix3d<double>...
<commit_before><commit_msg>Remove net/url_request/fraudulent_certificate_reporter.cc.<commit_after><|endoftext|>
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: myucp_datasupplier.hxx,v $ * * $Revision: 1.5 $ * * last change: $Author: ihi $ $Date: 2007-06-05 14:39:46 $ * * The Contents of this fil...
<commit_before>#include <stdarg.h> #include <stdio.h> #include <string.h> #include "chplalloc.h" #include "misc.h" #include "stringutil.h" char* glomstrings(int numstrings, ...) { int i; char** stringlist = (char**)MALLOC(numstrings * sizeof(char*)); va_list ap; va_start(ap, numstrings); for (i=0; i<numstri...
<commit_before>/*! \copyright (c) RDO-Team, 2012 \file main.cpp \author (lord.tiran@gmail.com) \date 13.05.2012 \brief \indent 4T */ // ---------------------------------------------------------------------------- PCH // --------------------------------------------------...
<commit_before>//------------------------------------------------------------------------- // // The MIT License (MIT) // // Copyright (c) 2015 Andrew Duncan // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the // "Software"), to ...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: CustomAnimationCreateDialog.hxx,v $ * * $Revision: 1.8 $ * * last change: $Author: kz $ $Date: 2008-04-02 09:43:49 $ * * The Contents of ...
<commit_before>// Copyright (c) 2013, Facebook, Inc. All rights reserved. // This source code is licensed under the BSD-style license found in the // LICENSE file in the root directory of this source tree. An additional grant // of patent rights can be found in the PATENTS file in the same directory. #include "ro...
<commit_before>// // Copyright (C) 2007 SIPez LLC. // Licensed to SIPfoundry under a Contributor Agreement. // // Copyright (C) 2007 SIPfoundry Inc. // Licensed by SIPfoundry under the LGPL license. // // $$ /////////////////////////////////////////////////////////////////////////////// // Author: Dan Petrie <dpet...
<commit_before>#include "physics/n_body_system.hpp" #include <memory> #include <string> #include "geometry/grassmann.hpp" #include "gmock/gmock.h" #include "gtest/gtest.h" #include "physics/body.hpp" #include "physics/frame.hpp" using principia::geometry::Vector; namespace principia { namespace physics { class NBo...
<commit_before><commit_msg>Create 1189 - Left Area.cpp<commit_after><|endoftext|>
<commit_before>#include "BombDefender.h" #include <string.h> #include <GLES3/gl3.h> #include <jni.h> #include <iostream> #include <glm/gtc/matrix_transform.hpp> #include <Context.h> #include <AndroidPlatform.h> #include <ContextAndroid.h> #include <VBO.h> #include <OpenGLTexture.h> using namespace std; using namespac...
<commit_before>#include "threads.h" #include "console.h" #include "memory.h" #include "pen_string.h" #include <pthread.h> #include <fcntl.h> #include <semaphore.h> #include <unistd.h> namespace pen { typedef struct thread { pthread_t handle; } thread; typedef struct mutex { pthrea...
<commit_before>/* ****************************************************************************** * * * This program and the accompanying materials are made available under the * terms of the Apache License, Version 2.0 which is available at * https://www.apache.org/licenses/LICENSE-2.0. * * See the NOTICE file ...
<commit_before>#ifndef ROADNET_H #define ROADNET_H #include <string> #include <vector> #include <iostream> #include <cassert> #include <Eigen/Dense> /** Road network description This class serves a similar purpose to the class RoadNetwork in dubins_traffic.py of the fmrb Python package. However, this is cons...
<commit_before>/*--------------------------------------------------------------- * Copyright (c) 1999,2000,2001,2002,2003 * The Board of Trustees of the University of Illinois * All Rights Reserved. *------------------------------...
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/p9/procedures/hwp/initfiles/p9_cxa_scom.H $ ...
<commit_before>#include "ofApp.h" //-------------------------------------------------------------- void ofApp::setup(){ ofBackground(37, 203, 206); gui.setup(); gui.setPosition(5, 40); gui.add(degree.setup("degree", 137.5, 130.00, 140.00)); gui.add(spread.setup("spread", 11, 2, 40)); gui.add(ex...
<commit_before>/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* * This file is part of the libetonyek project. * * 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 distributed with this * file, You can obtain one a...
<commit_before>#pragma once #include <cstdint> #include <vector> #include <string> #if __BIG_ENDIAN #define RTP_HEADER(port, subclass, ack, sfs) \ (((port & 0x0F) << 4) | ((subclass & 0x03) << 2) | ((ack & 0x01) << 1) | \ (sfs & 0x01)) #else #define RTP_HEADER(port, subclass, ...
<commit_before>/// @page AutoFilterTutorial00 AutoFilter Tutorial 00 /// This tutorial is intended to teach blah blah blah. /// @code // AutoFilterTutorial00.cpp created by Victor Dods on 2015/06/03 // Copyright (C) Leap Motion, Inc. All rights reserved. /// @endcode /// /// Testing /// /// # Markdown test heading ...
<commit_before>/* utility.ino */ #include "utility.h" #include <LiquidTWI2.h> #include <Ethernet2.h> // https://github.com/adafruit/Ethernet2 #include <EthernetUdp2.h> // https://github.com/adafruit/Ethernet2 void LCD_clearLine(LiquidTWI2 lcdref, int line) { lcdref.setCursor(0, line); for (int ...
<commit_before>//----------------------------------------------------------------------------- // File: DateTime.cpp // // Title: DateTime Class // // Description: This file contains the class definition for DateTime // // Programmer: Paul Bladek & Norton Pengra // // Date: ...
<commit_before>/* @cpp.file.header */ /* _________ _____ __________________ _____ * __ ____/___________(_)______ /__ ____/______ ____(_)_______ * _ / __ __ ___/__ / _ __ / _ / __ _ __ `/__ / __ __ \ * / /_/ / _ / _ / / /_/ / / /_/ / / /_/ / _ / _ / / / * \____/ /_/ ...
<commit_before>/* * Copyright 2017 Oluwatobi Adeyinka * * 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 ...
<commit_before>/** * A command-line calculator that uses a sequental grammar instead of left-recursion. */ #include <iostream> #include <unordered_map> #include <cmath> #include <numeric> #include <lars/parser/generator.h> int main() { using namespace std; using VariableMap = unordered_map<string, float>; ...
<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> // Locals #include "dns_server.hpp" #include <stdlib.h> // EASTL new/delete //void* operator new[](size_t size, const char* pName, int flags, unsigned debugFlags, const char* file, int line) void* operator new[](size_t size, const char*, int, unsigned, const char*, int) { //printf("[new:%lu] %s %d %d...
<commit_before>/*************************************************************************** * * * Copyright 2012 Marco Martin <mart@kde.org> * * ...
<commit_before>/** * bucketize_procedure.cc * Mich, 2015-10-27 * Copyright (c) 2015 Datacratic Inc. All rights reserved. * * This file is part of MLDB. Copyright 2015 Datacratic. All rights reserved. **/ #include "bucketize_procedure.h" #include "mldb/server/mldb_server.h" #include "mldb/sql/sql_expression.h" #i...
<commit_before>#include <GL/freeglut.h> #include <stdio.h> #include <math.h> #include <iostream> #include <GL/gl.h> #include <stdlib.h> #define PI 3.1415926535898 float w_width=700.0,w_height=700.0; float x=0.0,y=0.0; int s; int r; float xball=350.0,yball=350.0,a=1.0,b=1.0; float speed[5]={0.05,0.08,0.1,0.14,0.18}; i...
<commit_before>// Copyright 2020 Google LLC // // 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 o...
<commit_before><commit_msg>Fix adaption to SAL_INFO<commit_after><|endoftext|>
<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>/////////////////////////////////////////////////////////////////////////////////////// // // 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 down...
<commit_before>// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "transport.h" #include "transport_thread.h" #include "iocomponent.h" #include <vespa/vespalib/util/threadstackexecutor.h> #include <vespa/vespalib/util/size_literals.h> #include <vespa/vespa...
<commit_before>/*************************************************************** * * Copyright (C) 1990-2008, Condor Team, Computer Sciences Department, * University of Wisconsin-Madison, WI. * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the Li...
<commit_before>/* * Copyright (C) 2016 Muhammad Tayyab Akram * * 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 b...
<commit_before>/* * SessionCodeSearch.cpp * * Copyright (C) 2009-11 by RStudio, Inc. * * This program is licensed to you under the terms of version 3 of the * GNU Affero General Public License. This program is distributed WITHOUT * ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT, * MERCHANT...
<commit_before>/*------------------------------------------------------------------------- * drawElements Quality Program Tester Core * ---------------------------------------- * * Copyright 2014 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use...
<commit_before>#ifdef _MSC_VER #pragma warning(disable: 4351) #endif #include "FanTable.h" #include "FanDefinition.h" #include "../mahjong-algorithm/fan_calculator.h" #include "../common.h" USING_NS_CC; static const char *principle_title[] = { "不重复", "不拆移", "不得相同", "就高不就低", "套算一次" }; static const int fanLevel[] = ...
<commit_before><commit_msg>Disk cache: Cleanup file_posix so that it uses the latest version of InFlightIO & Co.<commit_after><|endoftext|>
<commit_before><commit_msg>[http] use proper conversion from string to unsigned long<commit_after><|endoftext|>
<commit_before>#include "Log.h" #include "Platform.h" #include "MemoryBuffer.h" #include <gtest/gtest.h> #include <google/protobuf/io/zero_copy_stream_impl.h> #include <google/protobuf/io/coded_stream.h> #include <fcntl.h> // FOR MINGW + O_RDONLY using namespace std; using namespace google::protobuf; TEST(TestFile...
<commit_before>/* Copyright (C) 2008-2015 The Communi Project You may use this file under the terms of BSD license as follows: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code mus...
<commit_before>/* * Copyright 2002-2005 The Apache Software Foundation. * * 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 ...
<commit_before>/* Copyright 2015 The TensorFlow 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 obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by appl...