text stringlengths 54 60.6k |
|---|
<commit_before>/***************************Copyright-DO-NOT-REMOVE-THIS-LINE**
* CONDOR Copyright Notice
*
* See LICENSE.TXT for additional notices and disclaimers.
*
* Copyright (c)1990-1998 CONDOR Team, Computer Sciences Department,
* University of Wisconsin-Madison, Madison, WI. All Rights Reserved.
* No ... |
<commit_before>#ifndef MODIFIERNAME_HPP
#define MODIFIERNAME_HPP
#include "KeyCode.hpp"
#include "strlcpy_utf8.hpp"
namespace org_pqrs_Karabiner {
class ModifierName {
public:
class Item {
public:
Item(void) {
name_[0] = '\0';
}
Item(ModifierFlag modifierFlag, const char* name) ... |
<commit_before>/*
* Funambol is a mobile platform developed by Funambol, Inc.
* Copyright (C) 2008 Funambol, Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by
* the Free Software Foundation with the add... |
<commit_before>/*
* RStudioAPI.cpp
*
* Copyright (C) 2009-16 by RStudio, Inc.
*
* Unless you have received this program directly from RStudio pursuant
* to the terms of a commercial license agreement with RStudio, then
* this program is licensed to you under the terms of version 3 of the
* GNU Affero General Pu... |
<commit_before>/**
* This file is part of the "libfnord" project
* Copyright (c) 2015 Paul Asmuth
*
* FnordMetric is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License v3.0. You should have received a
* copy of the GNU General Public License along with th... |
<commit_before>#include <stan/math/mix/mat.hpp>
#include <stan/math/prim/scal.hpp>
#include <stan/math/prim/mat.hpp>
#include <stan/math/prim/scal/prob/von_mises_lpdf.hpp>
#include <iostream>
/*
#include <gtest/gtest.h>
#include <test/unit/util.hpp>
#include <limits>
#include <string>
*/
int main() {
double y = -0.8... |
<commit_before><commit_msg>[(UTC +8:00) 2017-12-30 23:22] Add our own object_pool, not tested.<commit_after><|endoftext|> |
<commit_before>/* -*- Mode: C++; indent-tabs-mode: nil -*- */
#include "processor.h"
#include <cassert>
#include <cctype>
#include <iomanip>
#include <iostream>
#include <string>
#include <vector>
#include <schwa/msgpack.h>
#include <schwa/pool.h>
#include <schwa/port.h>
#include <schwa/unicode.h>
namespace io = sc... |
<commit_before>/*
* Copyright (c) 2003-2005 The Regents of The University of Michigan
* 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 retain the above c... |
<commit_before><commit_msg>[nostalgia/studio] Cleanup main<commit_after><|endoftext|> |
<commit_before><commit_msg>network_driver: Cleanup<commit_after><|endoftext|> |
<commit_before><commit_msg>Bugfix: should not depend on keyNum to decide whether UintFullIndex is used or not within Build()<commit_after><|endoftext|> |
<commit_before>#include "Game.h"
namespace hm
{
Game::Game() : capFrameRate(true), framerate(30), frameTimer(), maxFrameTime(0), cappedFrameTime(0)
{
// Set up our members.
window = new Window("No Title", 640, 480);
manager = new StateManager(window);
}
Game::Game(std::string title) : capFrameRate(true), fr... |
<commit_before><commit_msg>Remove whitespace from path valued configuration file settings.<commit_after><|endoftext|> |
<commit_before><commit_msg>Documentation: clarify that DOMWriter::writeToString always returns string in UTF-16<commit_after><|endoftext|> |
<commit_before><commit_msg>INTEGRATION: CWS c09v003 (1.33.14); FILE MERGED 2006/03/01 10:30:35 os 1.33.14.1: #132598# repositioning of component buttons fixed<commit_after><|endoftext|> |
<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 <sstream>
#include <string>
#include "base/command_line.h"
#include "base/file_path.h"
#include "base/path_service.h"
#includ... |
<commit_before>#ifndef INCLUDED_SROOK_MPL_CONSTANT_SEQUENCE_ALGORITHM_MERGE_HPP
#define INCLUDED_SROOK_MPL_CONSTANT_SEQUENCE_ALGORITHM_MERGE_HPP
#include<srook/mpl/constant_sequence/algorithm/sort.hpp>
#include<srook/mpl/constant_sequence/algorithm/first.hpp>
#include<srook/mpl/constant_sequence/algorithm/concat.hpp>
... |
<commit_before>/*
* Copyright (c) 2006 The Regents of The University of Michigan
* 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 retain the above copyri... |
<commit_before>#include <cstdio>
#include <algorithm>
#include <limits>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/wait.h>
#include <netinet/in.h>
#include <unistd.h>
extern "C" {
#include "stinger_core/stinger.h"
#include "stinger_core/stinger_shared.h"
#include "stinger_utils/stinger_utils.h"
#incl... |
<commit_before>/*
* Copyright 2014 Google 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless re... |
<commit_before>/* The MIT License:
Copyright (c) 2012-2015 Ivan Gagis <igagis@gmail.com>
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 righ... |
<commit_before>/*
* Implementation of a ACME client.
*
* author: Max Kellermann <mk@cm4all.com>
*/
#include "GlueHttpClient.hxx"
#include "balancer.hxx"
#include "tcp_stock.hxx"
#include "stock/MapStock.hxx"
#include "tcp_balancer.hxx"
#include "address_resolver.hxx"
#include "http_request.hxx"
#include "http_resp... |
<commit_before>
#include <QApplication>
#include "cmd.h"
#include "font.h"
#include "wd.h"
#include "../base/bedit.h"
#include "../base/dlog.h"
#include "../base/jsvr.h"
#include "../base/note.h"
#include "../base/state.h"
#include "../base/tedit.h"
#include "../base/term.h"
// sm does its own parsing of the wd comma... |
<commit_before>#include "LLVMCodeGenerator.h"
using namespace std;
using namespace llvm;
using namespace codegen;
void LLVMCodeGenerator::visit(common::Function &Node) {
// Create function and entry block
auto Ty = getFuncType(Node.Signature);
CurFunc = llvm::Function::Create(getFuncType(Node.Signature),
... |
<commit_before>//---------------------------------------------------------
// Copyright 2018 Ontario Institute for Cancer Research
// Written by Jared Simpson (jared.simpson@oicr.on.ca)
//---------------------------------------------------------
//
// nanopolish_vcf2fasta - write a new genome sequence
// by introducing... |
<commit_before>/*************************************************************************
*
* $RCSfile: zoomctrl.hxx,v $
*
* $Revision: 1.1.1.1 $
*
* last change: $Author: hr $ $Date: 2000-09-18 17:14:43 $
*
* The Contents of this file are made available subject to the terms of
* either of the following l... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: generictoolboxcontroller.cxx,v $
*
* $Revision: 1.8 $
*
* last change: $Author: kz $ $Date: 2007-09-05 17:39:34 $
*
* The Contents of thi... |
<commit_before>/* Copyright 2016 Google 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
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law o... |
<commit_before>/* Copyright 2017 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... |
<commit_before>/* Copyright 2019 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... |
<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... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: scenwnd.cxx,v $
*
* $Revision: 1.8 $
*
* last change: $Author: vg $ $Date: 2008-03-18 14:52:19 $
*
* The Contents of this file are made a... |
<commit_before>
// Copyright (c) 2015 Pierre MOULON.
// 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 at http://mozilla.org/MPL/2.0/.
#include "openMVG/sfm/sfm_data.hpp"
#include "openMVG/sfm/sfm_... |
<commit_before>//
// Copyright (c) 2002-2010 The ANGLE Project 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 "compiler/UnfoldSelect.h"
#include "compiler/InfoSink.h"
#include "compiler/OutputHLSL.h"
namespace sh
{
Unf... |
<commit_before>/*!
* Copyright (c) 2016 by Contributors
* \file infer_shape.cc
* \brief Inference the shapes given existin information.
*/
#include <nnvm/pass.h>
#include <nnvm/op_attr_types.h>
#include <nnvm/graph_attr_types.h>
namespace nnvm {
namespace pass {
namespace {
template<typename AttrType, typename I... |
<commit_before>// Copyright (c) 2015, Joseph Mirabel
// Authors: Joseph Mirabel (joseph.mirabel@laas.fr)
//
// This file is part of hpp-core.
// hpp-core 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-DO-NOT-REMOVE-THIS-LINE**
* CONDOR Copyright Notice
*
* See LICENSE.TXT for additional notices and disclaimers.
*
* Copyright (c)1990-1998 CONDOR Team, Computer Sciences Department,
* University of Wisconsin-Madison, Madison, WI. All Rights Reserved.
* No ... |
<commit_before>#ifdef _WIN32
#include "win_fsnotifier.h"
using namespace std;
//
// WatchPoint
//
WatchPoint::WatchPoint(Server* server, size_t bufferSize, const u16string& path)
: path(path)
, status(NOT_LISTENING) {
wstring pathW(path.begin(), path.end());
HANDLE directoryHandle = CreateFileW(
... |
<commit_before>/*
* Copyright 2014 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SkImage.h"
#include "SkImageGenerator.h"
#include "SkNextID.h"
#include "SkYUVAIndex.h"
SkImageGenerator::SkImageGenerator(const SkImageInfo& info, u... |
<commit_before>/*
* Copyright (c) 2011 Timo Savola
*
* 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 License, or (at your option) any later version.
*/... |
<commit_before>/**************************************************************************\
* The component that goes BOOM! (timed) area effects on contact/damage *
* ___ *
* /\/\ __ _ __ _ _ __ _ _ _ __ ___ /___\_ __ _ _ ___ *
... |
<commit_before>// Copyright (c) 2014-2016, The Monero Project
//
// 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>/*
This file is part of libhttpserver
Copyright (C) 2011, 2012, 2013, 2014, 2015 Sebastiano Merlino
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; eith... |
<commit_before>#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <string.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/ip.h>
#include <string>
#include <map>
#include <sstream>
#include <ext/hash_map>
namespace ext = __gnu_cxx;
typedef std::map< std::string, std::string > Att... |
<commit_before><commit_msg>fix conversion again<commit_after><|endoftext|> |
<commit_before>/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2008 by Sun Microsystems, Inc.
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: line.cxx,v $
* $Revision: 1.6 $
... |
<commit_before>//===--- OwnedToGuaranteedTransform.cpp -----------------------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2018 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http... |
<commit_before>/*
* IF (RSA/RW) Operation
* (C) 1999-2007 Jack Lloyd
*
* Distributed under the terms of the Botan license
*/
#include <botan/if_op.h>
#include <botan/numthry.h>
namespace Botan {
/*
* Default_IF_Op Constructor
*/
Default_IF_Op::Default_IF_Op(const BigInt& e, const BigInt& n, const BigInt&,
... |
<commit_before>#include "batterywidget.h"
#include "batterytranslation.h"
#include "dcpbattery.h"
#include "dcpspaceritem.h"
#include "batterygconf.h"
#include <DuiButton>
#include <DuiLayout>
#include <DuiGridLayoutPolicy>
#include <DuiLinearLayoutPolicy>
#include <DuiLabel>
#include <DuiSlider>
BatteryWidget::Batte... |
<commit_before>#include <bench/spbench/spbenchsolver.h>
void bench_printhelp()
{
cout<< " \nbenchsolver : performs a benchmark of all the solvers available in Eigen \n\n";
cout<< " MATRIX FOLDER : \n";
cout<< " The matrices for the benchmark should be collected in a folder specified with an environment var... |
<commit_before>#include <iostream>
#include <cmath>
#include "timer.h"
#include "matrix.h"
#if defined(AMATRIX_COMPARE_WITH_EIGEN)
#include "Eigen/Dense"
#endif
#if defined(AMATRIX_COMPARE_WITH_UBLAS)
#include <boost/numeric/ublas/matrix.hpp>
#endif
template <typename TMatrixType, std::size_t NumberOfRows,
std:... |
<commit_before>/*
* Copyright 2016, Andrej Kislovskij
*
* This is PUBLIC DOMAIN software so use at your own risk as it comes
* with no warranties. This code is yours to share, use and modify without
* any restrictions or obligations.
*
* For more information see conwrap/LICENSE or refer refer to http://unlicense... |
<commit_before>#include "uinput_device.h"
#include "ros/ros.h"
#include <linux/input.h>
#include <linux/uinput.h>
#include <linux/types.h>
#include <algorithm>
#include <fcntl.h>
#include <stdio.h>
#include <sstream>
#include <string>
#include "util.h"
#include <lg_msg_defs/EvdevEvent.h>
#include <lg_msg_defs/EvdevEv... |
<commit_before>//===------ MemoryBuiltins.cpp - Identify calls to memory builtins --------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>// Shor's algorithm
// Source: ./examples/shor.cpp
#include <cmath>
#include <cstdlib>
#include <iostream>
#include <vector>
#include "qpp.h"
int main() {
using namespace qpp;
bigint N = 15; // number to factor
bigint a = rand(static_cast<bigint>(3), N - 1); // random co-prime with N
wh... |
<commit_before>///
/// A simple clang plugin which will translate the given C file into Zomp
/// definitions
///
#include "clang/Frontend/FrontendPluginRegistry.h"
#include "clang/AST/ASTConsumer.h"
#include "clang/AST/AST.h"
#include "clang/Frontend/CompilerInstance.h"
#include "clang/Basic/SourceManager.h"
#include ... |
<commit_before>#include "app.h"
#include "gphotogrid.h"
#include "gputil.h"
#include <iostream>
#include <sstream>
#include <wx/timer.h>
#include <wx/mstream.h>
MainFrame::MainFrame(const wxString& title, App& app) :
wxFrame(NULL, wxID_ANY, title, wxDefaultPosition, wxSize(1024, 768)), app(app) {
create_menus();
c... |
<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 "content/browser/renderer_host/image_transport_factory_android.h"
#include "base/lazy_instance.h"
#include "base/memory/singl... |
<commit_before>/* -*- mode: c++; c-basic-offset:4 -*-
dialogs/signcertificatedialog.cpp
This file is part of Kleopatra, the KDE keymanager
Copyright (c) 2008 Klarälvdalens Datakonsult AB
Kleopatra is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public ... |
<commit_before>/**
* kmacctimap.cpp
*
* Copyright (c) 2000-2002 Michael Haeckel <haeckel@kde.org>
*
* This file is based on kmacctexppop.cpp by Don Sanders
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Fr... |
<commit_before>/*
Dwarf Therapist
Copyright (c) 2009 Trey Stout (chmod)
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, ... |
<commit_before>/*
* This file is open source software, licensed to you under the terms
* of the Apache License, Version 2.0 (the "License"). See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. You may not use this file except in compliance with the License.... |
<commit_before>#include "player.h"
void Player::update(const CarPosition& now) {
if (nticks == 0) {
// HACK. CI starts in random positions
// don't mess up speed etc starting in the middle of something
// just get prev ok during this tick
return;
}
curspeed = compute_travel(now);
estimate_coef... |
<commit_before>/****************************************************************************
This file is part of the QtMediaHub project on http://www.gitorious.org.
Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).*
All rights reserved.
Contact: Nokia Corporation (qt-info@nokia.com)**
You may use ... |
<commit_before>#pragma once
#define DEF_REGMEMBER(n, clazz, elem, getter) ::rs::LuaImport::RegisterMember<getter,clazz>(lsc, BOOST_PP_STRINGIZE(elem), &clazz::elem);
#define DEF_REGMEMBER_HDL(n, data, elem) DEF_REGMEMBER(n, BOOST_PP_SEQ_ELEM(1,data), elem, ::rs::LI_GetHandle<BOOST_PP_SEQ_ELEM(0,data)>)
#define DEF_REG... |
<commit_before>#include <iostream>
#include <string>
#include "Cutie.hpp"
//#include "Main.hpp"
enum Move {ROCK, PAPER, SCISSORS};
// void getPlayerTurn(enum Move & temp);
// void outputScore(int myScore, int theirScore);
// void updateScore(bool winner, int & myScore, int & theirScore);
void getPlayerTurn(Mo... |
<commit_before>/****************************************************************
Purpose:
Look for a "core" file at a given location. Return TRUE if it
exists and appears complete and correct, and FALSE otherwise.
The SUN core consists of a header, the data and stack segments
and finally the uarea. We check the m... |
<commit_before>// Copyright (c) 2021 The Regents of the University of California
// 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 retain the above copyrig... |
<commit_before>/****************************************************************************
**
** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the QtCore module of the Qt Toolkit.
**
** $QT_BEGIN_L... |
<commit_before>//===-- asan_asm_test.cc --------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>/*
* Copyright © 2012, United States Government, as represented by the
* Administrator of the National Aeronautics and Space Administration.
* All rights reserved.
*
* The NASA Tensegrity Robotics Toolkit (NTRT) v1 platform is licensed
* under the Apache License, Version 2.0 (the "License");
* you may no... |
<commit_before>#include <algorithm>
#include <cmath>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <map>
#include <sstream>
#include <string>
#include <vector>
#include <popt.h>
#include "defs.hh"
#include "StringSet.hh"
#include "FactorEncoder.hh"
#include "Unigrams.hh"
#include "Bigrams.hh"
us... |
<commit_before>//
// StoreJsonSerializer.cpp
// Pods
//
// Created by eps on 7/1/20.
//
#include "ee/store/private/StoreJsonSerializer.hpp"
#include <ee/nlohmann/json.hpp>
#include "ee/store/StoreProductDefinition.hpp"
#include "ee/store/StoreProductMetadata.hpp"
#include "ee/store/private/StoreProductDescription... |
<commit_before>//===- DlltoolDriver.cpp - dlltool.exe-compatible driver ------------------===//
//
// Part of the LLVM Project, 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
//
//===------------... |
<commit_before>#define CROW_ENABLE_SSL
#include <crow.h>
#include "kolmoconf.hh"
#include "comboaddress.hh"
#include <set>
#include <boost/utility/string_ref.hpp>
#include <sstream>
#include "http.hh"
/*
Welcome to the default free zone!
No single number or default can live here EVERYTHING comes from the config... |
<commit_before>#include <halley/core/input/input_keyboard.h>
#include "input/input_keys.h"
#include "input/text_input_capture.h"
#include "input/text_input_data.h"
using namespace Halley;
KeyboardKeyPress::KeyboardKeyPress(KeyCode key, KeyMods mod)
: key(key)
, mod(mod)
{
}
bool KeyboardKeyPress::operator==(const K... |
<commit_before>//===- SpeculativeExecution.cpp ---------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>#include "lexer.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
char * copy_str (char * from)
{
int str_length;
char * to;
str_length = strlen(from);
to = (char *)malloc(str_length);
strcpy(to, from);
return to;
}
char * append_to_buffer(char * buffer, char chr... |
<commit_before>/*
* Copyright 2011 Intel Corporation.
*
* This program is licensed under the terms and conditions of the
* Apache License, version 2.0. The full text of the Apache License is at
* http://www.apache.org/licenses/LICENSE-2.0
*/
#include "appupappsmodel.h"
#include <QHash>
#include <QDir>
#includ... |
<commit_before>// Copyright (c) 2020 by Robert Bosch GmbH. 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>#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <iostream>
#include <cstring>
#include <fcntl.h>
#define sizeLim 10
using namespace std;
struct arguments
{
int argc;
char **argv;
};
arguments* readPrompt();
argume... |
<commit_before>/*
grabber.cpp
Screen grabber
*/
/* Revision: 1.01 13.07.2000 $ */
/*
Modify:
13.07.2000 SVS
! ४樨 ᯮ짮 new/delete/realloc
25.06.2000 SVS
! ⮢ Master Copy
! 뤥 ⢥ ᠬ⥫쭮
*/
#include "headers.hpp"
#pragma hdrstop
/* $ 30.06.2000 IS
⠭
*/
#include "internalheaders.hpp"
/* IS $ */
Grabb... |
<commit_before>// ======================================================================== //
// Copyright 2009-2015 Intel Corporation //
// //
// Licensed under the Apache License, Version 2.0 (the "License"); ... |
<commit_before>#include <nan.h>
#include <v8-profiler.h>
#include <stdlib.h>
#if defined(_WIN32)
#include <time.h>
#define snprintf _snprintf
#else
#include <sys/time.h>
#endif
using namespace v8;
char filename[256];
bool addTimestamp;
class FileOutputStream: public OutputStream {
public:
FileOutputStrea... |
<commit_before>#include "chi/GraphStruct.hpp"
#include "chi/Context.hpp"
#include "chi/GraphModule.hpp"
#include <llvm/IR/DIBuilder.h>
#include <llvm/IR/DebugInfo.h>
#include <llvm/IR/DerivedTypes.h>
namespace chi {
GraphStruct::GraphStruct(GraphModule& mod, std::string name)
: mModule{&mod}, mContext{&mod.conte... |
<commit_before>// Copyright (c) 2019 Franka Emika GmbH
// Use of this source code is governed by the Apache-2.0 license, see LICENSE
#include "franka/vacuum_gripper_state.h"
#include <cstring>
namespace franka {
std::ostream& operator<<(std::ostream& ostream,
const franka::VacuumGripperState... |
<commit_before>/**
* This file is part of the Marble Virtual Globe.
*
* Copyright 2005-2007 Torsten Rahn <tackat@kde.org>
* Copyright 2007 Inge Wallin <ingwa@kde.org>
* Copyright 2008, 2009, 2010 Jens-Michael Hoffmann <jensmh@gmx.de>
*
* This library is free software; you can redistribute it and/or
* modi... |
<commit_before>/* libwpd
* Copyright (C) 2002 William Lachance (wrlach@gmail.com)
* Copyright (C) 2002 Marc Maurer (uwog@uwog.net)
* Copyright (C) 2004 Fridrich Strba (fridrich.strba@bluewin.ch)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General... |
<commit_before>#include "CategoryClassifyMiningTask.h"
#include "CategoryClassifyTable.h"
#include <document-manager/DocumentManager.h>
#include <la-manager/KNlpWrapper.h>
#include <knlp/doc_naive_bayes.h>
#include <util/ustring/UString.h>
#include <glog/logging.h>
#include <boost/filesystem/path.hpp>
using namespace ... |
<commit_before>// __BEGIN_LICENSE__
// Copyright (C) 2006-2010 United States Government as represented by
// the Administrator of the National Aeronautics and Space Administration.
// All Rights Reserved.
// __END_LICENSE__
#include <vw/Plate/Rpc.h>
#include <vw/Plate/IndexService.h>
#include <vw/Core/Stopwatch.h>
#i... |
<commit_before>/**
* Clever programming language
* Copyright (c) 2011-2012 Clever Team
*
* 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 limita... |
<commit_before>#include <GL/glew.h>
#include <GLFW/glfw3.h>
const auto WINDOW_WIDTH = 800;
const auto WINDOW_HEIGHT = 600;
const auto WINDOW_TITLE = "GL Cook Book - Window Creation";
int main(int argc, char const *argv[])
{
glfwInit();
glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3);
glfwWindowHint(GLFW_C... |
<commit_before>/*
* WebSocket.cpp - Websocket Implementation - works on most browsers and Mobile Phones (but notably Not on IE8)
*
* Created: 3/30/2014 9:57:39 PM
*
* Aritech Alarm Panel Arduino Internet Enabled Keypad - CS350 - CD34 - CD72 - CD91 and more
*
* For Arduino (UNO or Leonardo) with added Ethern... |
<commit_before>/*
* Copyright © 2010 Intel Corporation
*
* 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, mod... |
<commit_before>/*
* This file is part of the Yildiz-Engine project, licenced under the MIT License (MIT)
*
* Copyright (c) 2019 Grégory Van den Borre
*
* More infos available: https://engine.yildiz-games.be
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and ass... |
<commit_before>/*
Copyright 2005-2007 Adobe Systems Incorporated
Distributed under the MIT License (see accompanying file LICENSE_1_0_0.txt
or a copy at http://stlab.adobe.com/licenses.html)
*/
/****************************************************************************************************/
#include ... |
<commit_before>#include <fstream>
#include <iostream>
#include <map>
#include <vector>
#include <SDL_messagebox.h>
#include "Debug.h"
#include "String.h"
namespace
{
const std::map<Debug::MessageType, std::string> DebugMessageTypeNames =
{
{ Debug::MessageType::Info, "" },
{ Debug::MessageType::Warning, "Warni... |
<commit_before>/*
Source File : PrimitiveObjectsWriter.cpp
Copyright 2011 Gal Kahana PDFWriter
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... |
<commit_before>AliAnalysisVertexingHF* ConfigVertexingHF() {
printf("Call to AliAnalysisVertexingHF parameters setting :\n");
vHF = new AliAnalysisVertexingHF();
//--- switch-off candidates finding (default: all on)
//vHF->SetD0toKpiOff();
//vHF->SetJPSItoEleOff();
//vHF->Set3ProngOff();
vHF->SetLikeSi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.