commit stringlengths 40 40 | old_file stringlengths 2 205 | new_file stringlengths 2 205 | old_contents stringlengths 0 32.9k | new_contents stringlengths 1 38.9k | subject stringlengths 3 9.4k | message stringlengths 6 9.84k | lang stringlengths 3 13 | license stringclasses 13
values | repos stringlengths 6 115k |
|---|---|---|---|---|---|---|---|---|---|
e38f84e86b9227f0276bef499b0b65bb9c43505e | src/uoj8583.cpp | src/uoj8583.cpp | #include<malloc.h>
#include<stdio.h>
#define OK 1
#define ERROR 0
#define STACK_INIT_SIZE 100 // 存储空间初始分配量
#define STACKINCREMENT 10 // 存储空间分配增量
typedef int SElemType; // 定义栈元素类型
typedef int Status; // Status是函数的类型,其值是函数结果状态代码,如OK等
struct SqStack
{
SElemType *base; // 在栈构造之前和销毁之后,base的值为NULL
SElemType *to... | #include<malloc.h>
#include<stdio.h>
#define OK 0
#define ERROR 1
#define STACK_INIT_SIZE 100 // 存储空间初始分配量
#define STACKINCREMENT 10 // 存储空间分配增量
typedef int SElemType; // 定义栈元素类型
typedef int Status; // Status是函数的类型,其值是函数结果状态代码,如OK等
struct SqStack
{
SElemType *base; // 在栈构造之前和销毁之后,base的值为NULL
SElemType *top;... | update uoj8583 | update uoj8583
| C++ | mit | czfshine/my_oj,czfshine/my_oj,czfshine/my_oj,czfshine/my_oj |
17238968e883ee002dfb6469aa1e67be14debdb4 | src/map/src/nearby.cpp | src/map/src/nearby.cpp | #include "nearby.h"
#include "components/position.h"
#include "entity_system.h"
#include <algorithm>
namespace {
constexpr std::tuple<uint16_t, uint16_t> get_grid_position(float x, float y) {
uint16_t gx = x / 1000.f;
uint16_t gy = y / 1000.f;
return {gx, gy};
}
std::tuple<uint16_t, uint16_t> get_grid_po... | #include "nearby.h"
#include "components/position.h"
#include "entity_system.h"
#include <algorithm>
namespace {
constexpr std::tuple<uint16_t, uint16_t> get_grid_position(float x, float y) {
uint16_t gx = x / 1000.f;
uint16_t gy = y / 1000.f;
return {gx, gy};
}
std::tuple<uint16_t, uint16_t> get_grid_po... | Update nearby.cpp | Update nearby.cpp | C++ | apache-2.0 | RavenX8/osIROSE-new,RavenX8/osIROSE-new,dev-osrose/osIROSE-new,RavenX8/osIROSE-new,dev-osrose/osIROSE-new,dev-osrose/osIROSE-new |
b490f9798778aef50c34c1fc0dc0d9d177c05fe5 | include/LIEF/BinaryStream/BinaryStream.hpp | include/LIEF/BinaryStream/BinaryStream.hpp | /* Copyright 2017 - 2022 R. Thomas
* Copyright 2017 - 2022 Quarkslab
*
* 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 req... | /* Copyright 2017 - 2022 R. Thomas
* Copyright 2017 - 2022 Quarkslab
*
* 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 req... | Check that the ptr is not null | Check that the ptr is not null
| C++ | apache-2.0 | lief-project/LIEF,lief-project/LIEF,lief-project/LIEF,lief-project/LIEF |
02b2574e7d1ac49b793a0d828dea967eca87fdc9 | include/internal/iutest_option_message.hpp | include/internal/iutest_option_message.hpp | //======================================================================
//-----------------------------------------------------------------------
/**
* @file iutest_option_message.hpp
* @brief iris unit test コマンドラインメッセージ ファイル
*
* @author t.shirayanagi
* @par copyright
* Copyright (C) 2011-2016, Tak... | //======================================================================
//-----------------------------------------------------------------------
/**
* @file iutest_option_message.hpp
* @brief iris unit test コマンドラインメッセージ ファイル
*
* @author t.shirayanagi
* @par copyright
* Copyright (C) 2011-2016, Tak... | update r1086 update spec message | update r1086
update spec message
| C++ | bsd-3-clause | srz-zumix/iutest,srz-zumix/iutest,srz-zumix/iutest,srz-zumix/iutest,srz-zumix/iutest |
dd079183c532b7edfaf02ce6b6a263d8277bcad9 | include/mapnik/geometry/boost_adapters.hpp | include/mapnik/geometry/boost_adapters.hpp | /*****************************************************************************
*
* This file is part of Mapnik (c++ mapping toolkit)
*
* Copyright (C) 2017 Artem Pavlenko
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as p... | /*****************************************************************************
*
* This file is part of Mapnik (c++ mapping toolkit)
*
* Copyright (C) 2017 Artem Pavlenko
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as p... | add `boost::geometry::resize` and `boost::geometry::clear` traits specialisations for `mapnik::interior_rings<CoordinateType>` | add `boost::geometry::resize` and `boost::geometry::clear` traits specialisations for `mapnik::interior_rings<CoordinateType>`
| C++ | lgpl-2.1 | lightmare/mapnik,tomhughes/mapnik,tomhughes/mapnik,lightmare/mapnik,mapnik/mapnik,mapnik/mapnik,lightmare/mapnik,lightmare/mapnik,mapnik/mapnik,mapnik/mapnik,naturalatlas/mapnik,tomhughes/mapnik,naturalatlas/mapnik,naturalatlas/mapnik,tomhughes/mapnik,naturalatlas/mapnik |
3fca996c0f676ca3cb6f3512497210d81deb5133 | src/version.cpp | src/version.cpp | // Copyright (c) 2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <string>
#include "version.h"
// Name of client reported in the 'version' message. Report the same name
// for both bitco... | // Copyright (c) 2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <string>
#include "version.h"
// Name of client reported in the 'version' message. Report the same name
// for both bitco... | Update version.cpp | Update version.cpp | C++ | mit | Crypto2/AndroidsTokens_v2,CryptoRepairCrew/Android-Token-V2,CryptoRepairCrew/Android-Token-V2,CryptoRepairCrew/Android-Token-V2,Crypto2/AndroidsTokens_v2,Crypto2/AndroidsTokens_v2,Crypto2/AndroidsTokens_v2,CryptoRepairCrew/Android-Token-V2,CryptoRepairCrew/Android-Token-V2 |
8c34e7c3f12af273f3f0941ddcd6d31dc7593279 | src/cpp/server/server_builder.cc | src/cpp/server/server_builder.cc | /*
*
* Copyright 2015-2016, Google 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:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of ... | /*
*
* Copyright 2015-2016, Google 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:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of ... | Fix a typo | Fix a typo
| C++ | bsd-3-clause | LuminateWireless/grpc,LuminateWireless/grpc,a11r/grpc,ejona86/grpc,geffzhang/grpc,matt-kwong/grpc,mehrdada/grpc,firebase/grpc,pmarks-net/grpc,grpc/grpc,jtattermusch/grpc,y-zeng/grpc,dgquintas/grpc,ppietrasa/grpc,jtattermusch/grpc,Vizerai/grpc,stanley-cheung/grpc,geffzhang/grpc,adelez/grpc,pmarks-net/grpc,yongni/grpc,gr... |
ef4b8cf7d28021cd8e05948ca388ef24e71348bc | src/io/tools/compressor_test.cpp | src/io/tools/compressor_test.cpp | /**
* @file compressor_test.cpp
* @author Chase Geigle
*/
#include <array>
#include <iostream>
#include <fstream>
#include "util/gzstream.h"
using namespace meta;
int main(int argc, char** argv)
{
if (argc < 3)
{
std::cerr << "Usage: " << argv[0] << " input output" << std::endl;
return 1;
... | /**
* @file compressor_test.cpp
* @author Chase Geigle
*/
#include <array>
#include <iostream>
#include <fstream>
#include "io/gzstream.h"
using namespace meta;
int main(int argc, char** argv)
{
if (argc < 3)
{
std::cerr << "Usage: " << argv[0] << " input output" << std::endl;
return 1;
... | Fix dummy compressor-test executable for util -> io move. | Fix dummy compressor-test executable for util -> io move.
| C++ | mit | esparza83/meta,esparza83/meta,husseinhazimeh/meta,esparza83/meta,saq7/MeTA,saq7/MeTA,husseinhazimeh/meta,husseinhazimeh/meta,gef756/meta,gef756/meta,gef756/meta,husseinhazimeh/meta,esparza83/meta,gef756/meta,esparza83/meta,husseinhazimeh/meta,saq7/MeTA,gef756/meta |
38b4e57ff8f17230b265cbace8d218445d842c3d | src/ir/builders/MovIRBuilder.cpp | src/ir/builders/MovIRBuilder.cpp | #include <iostream>
#include <sstream>
#include <stdexcept>
#include "MovIRBuilder.h"
#include "smt2lib_utils.h"
#include "SymbolicEngine.h"
extern SymbolicEngine *symEngine;
MovIRBuilder::MovIRBuilder(uint64_t address, const std::string &disassembly):
BaseIRBuilder(address, disassembly) {
}
std::stringstream ... | #include <iostream>
#include <sstream>
#include <stdexcept>
#include "MovIRBuilder.h"
#include "smt2lib_utils.h"
#include "SymbolicEngine.h"
extern SymbolicEngine *symEngine;
MovIRBuilder::MovIRBuilder(uint64_t address, const std::string &disassembly):
BaseIRBuilder(address, disassembly) {
}
std::stringstream ... | Fix bug with the operand gethering information in IR - 2 | Fix bug with the operand gethering information in IR - 2
| C++ | apache-2.0 | JonathanSalwan/Triton,JonathanSalwan/Triton,JonathanSalwan/Triton,JonathanSalwan/Triton,JonathanSalwan/Triton |
fb5fdd485d7bcc614d685d2a5d4f3d54d750c4f8 | src/os/linux/Input.cpp | src/os/linux/Input.cpp | /*
Copyright (c) 2012 Daniele Bartolini, Simone Boscaratto
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,... | /*
Copyright (c) 2012 Daniele Bartolini, Simone Boscaratto
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,... | Implement show/hide_cursor() under Linux | Implement show/hide_cursor() under Linux
| C++ | mit | galek/crown,dbartolini/crown,dbartolini/crown,dbartolini/crown,taylor001/crown,mikymod/crown,galek/crown,taylor001/crown,galek/crown,taylor001/crown,taylor001/crown,mikymod/crown,dbartolini/crown,mikymod/crown,mikymod/crown,galek/crown |
be460364e17817db978e25366088a4a43515638c | src/libmv/multiview/affine_2d.cc | src/libmv/multiview/affine_2d.cc | // Copyright (c) 2009 libmv authors.
//
// 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, publish... | // Copyright (c) 2009 libmv authors.
//
// 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, publish... | Fix alignement. | Fix alignement. | C++ | mit | manjunathnarayana/libmv,hjm168168/libmv,Ashwinning/libmv,sanyaade-g2g-repos/libmv,Shinohara-Takayuki/libmv,manjunathnarayana/libmv,jackyspeed/libmv,KangKyungSoo/libmv,Ashwinning/libmv,pombreda/libmv,jackyspeed/libmv,Shinohara-Takayuki/libmv,leoujz/libmv,sanyaade-g2g-repos/libmv,KangKyungSoo/libmv,manjunathnarayana/libm... |
9bc60527909825f01f72d31f5d580df8fdb482e4 | src/platform/socket.cc | src/platform/socket.cc | // Copyright 2013 the V8 project authors. 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 copyright
// notice, this list of ... | // Copyright 2013 the V8 project authors. 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 copyright
// notice, this list of ... | Build fix for Win64 after r16521. | Build fix for Win64 after r16521.
TBR=verwaest@chromium.org
Review URL: https://codereview.chromium.org/23850003
git-svn-id: b158db1e4b4ab85d4c9e510fdef4b1e8c614b15b@16524 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
| C++ | mit | UniversalFuture/moosh,UniversalFuture/moosh,UniversalFuture/moosh,UniversalFuture/moosh |
4284bee28c225a1e22b42e8f4a71246be7e6744a | src/llvm/LLVMDependenceGraph.cpp | src/llvm/LLVMDependenceGraph.cpp | /// XXX add licence
//
#ifdef HAVE_LLVM
#ifndef ENABLE_CFG
#error "Need CFG enabled for building LLVM Dependence Graph"
#endif
#include <utility>
#include <unordered_map>
#include <set>
#include <llvm/IR/Module.h>
#include <llvm/IR/Instruction.h>
#include <llvm/IR/Instructions.h>
#include <llvm/IR/Value.h>
#includ... | /// XXX add licence
//
#ifdef HAVE_LLVM
#ifndef ENABLE_CFG
#error "Need CFG enabled for building LLVM Dependence Graph"
#endif
#include <utility>
#include <unordered_map>
#include <set>
#include <llvm/IR/Module.h>
#include <llvm/IR/Instruction.h>
#include <llvm/IR/Instructions.h>
#include <llvm/IR/Value.h>
#includ... | set formal parameters to dg not to entry node | llvmdg: set formal parameters to dg not to entry node
We changed the behaviour in some of previous commits
Signed-off-by: Marek Chalupa <a05df156a69ad59faa9af9b666ef78009594c145@gmail.com>
| C++ | mit | mchalupa/dg,mchalupa/dg,mchalupa/dg,mchalupa/dg |
340d0b08bf92597ad68de837100584c90914ede7 | src/qt/aboutdialog.cpp | src/qt/aboutdialog.cpp | #include "aboutdialog.h"
#include "ui_aboutdialog.h"
#include "clientmodel.h"
#include "clientversion.h"
// Copyright year (2009-this)
// Todo: update this when changing our copyright comments in the source
const int ABOUTDIALOG_COPYRIGHT_YEAR = 2013;
AboutDialog::AboutDialog(QWidget *parent) :
QDialog(parent),
... | #include "aboutdialog.h"
#include "ui_aboutdialog.h"
#include "clientmodel.h"
#include "clientversion.h"
// Copyright year (2009-this)
// Todo: update this when changing our copyright comments in the source
const int ABOUTDIALOG_COPYRIGHT_YEAR = 2017;
AboutDialog::AboutDialog(QWidget *parent) :
QDialog(parent),
... | correct About dialog | correct About dialog
| C++ | mit | GOSTSec/gostcoin,hypnosis-i2p/gostcoin,GOSTSec/gostcoin,hypnosis-i2p/gostcoin,GOSTSec/gostcoin,hypnosis-i2p/gostcoin,hypnosis-i2p/gostcoin,GOSTSec/gostcoin,hypnosis-i2p/gostcoin,GOSTSec/gostcoin |
c1685b3a5052de377735f69e53e50741dbe5b52a | tools/llvm-link/llvm-link.cpp | tools/llvm-link/llvm-link.cpp | //===- llvm-link.cpp - Low-level LLVM linker ------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | //===- llvm-link.cpp - Low-level LLVM linker ------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | Optimize llvm-link too. | Optimize llvm-link too.
This takes the linking of almost all modules in a clang build from 6:32
to 0:19.
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@181105 91177308-0d34-0410-b5e6-96231b3b80d8
| C++ | bsd-2-clause | dslab-epfl/asap,dslab-epfl/asap,apple/swift-llvm,dslab-epfl/asap,apple/swift-llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,apple/swift-llvm,apple/swift-llvm,llvm-mirror/llvm,dslab-epfl/asap,llvm-mirror/llvm,chubbymaggie/asap,dslab-epfl/asap,chubbymaggie/asap,GPUOpen-Drivers/llvm,llvm-mirror/llvm,GPUOpen-D... |
ec32354110084e3edeb71504e5db2517554bb6f4 | tools/osm-sisyphus/upload.cpp | tools/osm-sisyphus/upload.cpp | #include "upload.h"
#include "logger.h"
#include <QtCore/QDebug>
#include <QtCore/QProcess>
#include <QtCore/QDateTime>
#include <QtCore/QDir>
#include <QtCore/QTemporaryFile>
#include <QtCore/QUrl>
#include <QtXml/QDomDocument>
Upload::Upload(QObject *parent) :
QObject(parent), m_cacheDownloads(false), m_upload... | #include "upload.h"
#include "logger.h"
#include <QtCore/QDebug>
#include <QtCore/QProcess>
#include <QtCore/QDateTime>
#include <QtCore/QDir>
#include <QtCore/QTemporaryFile>
#include <QtCore/QUrl>
#include <QtXml/QDomDocument>
Upload::Upload(QObject *parent) :
QObject(parent), m_cacheDownloads(false), m_upload... | Fix summary tag | Fix summary tag
| C++ | lgpl-2.1 | oberluz/marble,adraghici/marble,adraghici/marble,Earthwings/marble,probonopd/marble,Earthwings/marble,probonopd/marble,tucnak/marble,AndreiDuma/marble,quannt24/marble,AndreiDuma/marble,tzapzoor/marble,Earthwings/marble,tucnak/marble,David-Gil/marble-dev,quannt24/marble,probonopd/marble,tzapzoor/marble,Earthwings/marble... |
9dcc5b19ae2bdcb436e49d098db59f7088cd0936 | SurgSim/Collision/ContactCalculation.cpp | SurgSim/Collision/ContactCalculation.cpp | // This file is a part of the OpenSurgSim project.
// Copyright 2013, SimQuest Solutions 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/LICE... | // This file is a part of the OpenSurgSim project.
// Copyright 2013, SimQuest Solutions 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/LICE... | Fix fallthrough case for default contact calculation | Fix fallthrough case for default contact calculation
The default for missing contact calcuation is to report and optionally
assert in the default contact calcualtion, this was broken as the
assertion would happen unconditionally in the lines that are fixed here
| C++ | apache-2.0 | simquest/opensurgsim,simquest/opensurgsim,simquest/opensurgsim,simquest/opensurgsim |
586a8e0312836022aa9b162fabcb7fcd579c95dc | bots/cplusplus/TestRobot.cxx | bots/cplusplus/TestRobot.cxx | /* bzflag
* Copyright (c) 1993 - 2009 Tim Riker
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the license found in the file
* named COPYING that should have accompanied this file.
*
* THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
* IMPLIED WARR... | /* bzflag
* Copyright (c) 1993 - 2009 Tim Riker
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the license found in the file
* named COPYING that should have accompanied this file.
*
* THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
* IMPLIED WARR... | Include stdio.h so gcc 4.4 can find the printf() declaration. | Include stdio.h so gcc 4.4 can find the printf() declaration.
| C++ | lgpl-2.1 | kongr45gpen/bzflag-import-1,kongr45gpen/bzflag-import-1,kongr45gpen/bzflag-import-1,kongr45gpen/bzflag-import-1,kongr45gpen/bzflag-import-1,kongr45gpen/bzflag-import-1 |
64f18c774b7260ec21919f0504610c201987889a | cpp/libjoynrclustercontroller/websocket/WebSocketCcMessagingSkeletonTLS.cpp | cpp/libjoynrclustercontroller/websocket/WebSocketCcMessagingSkeletonTLS.cpp | /*
* #%L
* %%
* Copyright (C) 2011 - 2017 BMW Car IT GmbH
* %%
* 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 requir... | /*
* #%L
* %%
* Copyright (C) 2011 - 2017 BMW Car IT GmbH
* %%
* 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 requir... | fix mapping of websocket connection to ownerId of certificate | [C++] fix mapping of websocket connection to ownerId of certificate
The ssl verify callback (getCNFromCertificate) which extracts the
ownerId of the TLS certificate is called for every certificate of
the certificate chain starting with the ca certificate.
The ownerId of the last certifcate of the certificate chain
(= ... | C++ | apache-2.0 | bmwcarit/joynr,bmwcarit/joynr,bmwcarit/joynr,bmwcarit/joynr,bmwcarit/joynr,bmwcarit/joynr,bmwcarit/joynr,bmwcarit/joynr,bmwcarit/joynr |
09d8e564ec5292fe575bcb61cb7b4783f348c0ae | src/DGLWrapper/wa-soctors.cpp | src/DGLWrapper/wa-soctors.cpp | /* Copyright (C) 2013 Slawomir Cygan <slawomir.cygan@gmail.com>
*
* 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... | /* Copyright (C) 2013 Slawomir Cygan <slawomir.cygan@gmail.com>
*
* 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... | Add some more debugging info on Debug build in wa-soctors. | AndroidL: Add some more debugging info on Debug build in wa-soctors.
| C++ | apache-2.0 | scygan/debugler,scygan/debugler,scygan/debugler,scygan/debugler |
67c9727525dc1c9954a5a6d4ef16ffe6af23c9bc | src/DbCorpusReaderPrivate.cpp | src/DbCorpusReaderPrivate.cpp | #include <list>
#include <sstream>
#include <stdexcept>
#include <string>
#include <typeinfo>
#include <dbxml/DbXml.hpp>
#include <AlpinoCorpus/CorpusReader.hh>
#include <AlpinoCorpus/Error.hh>
#include <AlpinoCorpus/IterImpl.hh>
#include "DbCorpusReaderPrivate.hh"
#include "util/url.hh"
namespace db = DbXml;
name... | #include <list>
#include <sstream>
#include <stdexcept>
#include <string>
#include <typeinfo>
#include <dbxml/DbXml.hpp>
#include <AlpinoCorpus/CorpusReader.hh>
#include <AlpinoCorpus/Error.hh>
#include <AlpinoCorpus/IterImpl.hh>
#include "DbCorpusReaderPrivate.hh"
#include "util/url.hh"
namespace db = DbXml;
name... | Return string-ified version of non-string nodes. | Return string-ified version of non-string nodes.
| C++ | lgpl-2.1 | rug-compling/alpinocorpus,evdmade01/alpinocorpus,rug-compling/alpinocorpus,rug-compling/alpinocorpus,evdmade01/alpinocorpus |
440e30089d1e42488d0244727b00f48e95b0c540 | src/api/wayfire/view-transform.hpp | src/api/wayfire/view-transform.hpp | #ifndef VIEW_TRANSFORM_HPP
#define VIEW_TRANSFORM_HPP
#include <wayfire/view.hpp>
#include <wayfire/opengl.hpp>
#include <wayfire/debug.hpp>
namespace wf
{
enum transformer_z_order_t
{
/* Simple 2D transforms */
TRANSFORMER_2D = 1,
/* 3D transforms */
TRANSFORMER_3D = 2,
/* Highlevels transforms a... | #ifndef VIEW_TRANSFORM_HPP
#define VIEW_TRANSFORM_HPP
#include <wayfire/view.hpp>
#include <wayfire/opengl.hpp>
#include <wayfire/debug.hpp>
namespace wf
{
enum transformer_z_order_t
{
/* Simple 2D transforms */
TRANSFORMER_2D = 1,
/* 3D transforms */
TRANSFORMER_3D = 2,
/* Highlevels transforms a... | fix view_transformer_t::render_with_damage docstring | api: fix view_transformer_t::render_with_damage docstring
| C++ | mit | ammen99/wayfire,ammen99/wayfire |
13e123f4910040a5fff0f71e23c80997a83e43be | src/logjoin/LogJoin.cc | src/logjoin/LogJoin.cc | /*
* Copyright (c) 2015 - The CM Authors <legal@clickmatcher.com>
* All Rights Reserved.
*
* This file is CONFIDENTIAL -- Distribution or duplication of this material or
* the information contained herein is strictly forbidden unless prior written
* permission is obtained.
*/
#include <assert.h>
#include <fnor... | /*
* Copyright (c) 2015 - The CM Authors <legal@clickmatcher.com>
* All Rights Reserved.
*
* This file is CONFIDENTIAL -- Distribution or duplication of this material or
* the information contained herein is strictly forbidden unless prior written
* permission is obtained.
*/
#include <assert.h>
#include <fnor... | update cust on every logline | update cust on every logline
| C++ | agpl-3.0 | eventql/eventql,eventql/eventql,eventql/eventql,eventql/eventql,eventql/eventql,eventql/eventql,eventql/eventql,eventql/eventql |
0f17edb12ed9a17fa4a0e56774ea708507b99057 | RawSpeed/CiffIFD.cpp | RawSpeed/CiffIFD.cpp | #include "StdAfx.h"
#include "CiffIFD.h"
#include "CiffParser.h"
/*
RawSpeed - RAW file decoder.
Copyright (C) 2009-2014 Klaus Post
Copyright (C) 2014 Pedro Côrte-Real
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
Licen... | #include "StdAfx.h"
#include "CiffIFD.h"
#include "CiffParser.h"
/*
RawSpeed - RAW file decoder.
Copyright (C) 2009-2014 Klaus Post
Copyright (C) 2014 Pedro Côrte-Real
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
Licen... | Remove now unused variable | Remove now unused variable
| C++ | lgpl-2.1 | LebedevRI/rawspeed,darktable-org/rawspeed,klauspost/rawspeed,darktable-org/rawspeed,anarsoul/rawspeed,anarsoul/rawspeed,anarsoul/rawspeed,LebedevRI/rawspeed,darktable-org/rawspeed,LebedevRI/rawspeed,klauspost/rawspeed,LebedevRI/rawspeed,darktable-org/rawspeed,LebedevRI/rawspeed,darktable-org/rawspeed |
1cddd7817d0ec3e1e13aafc4fee30f8049de92b5 | src/system/OS_info/os_info_windows.cpp | src/system/OS_info/os_info_windows.cpp | // infoware - C++ System information Library
//
// Written in 2016-2019 by nabijaczleweli <nabijaczleweli@gmail.com> and ThePhD <phdofthehouse@gmail.com>
//
// To the extent possible under law, the author(s) have dedicated all copyright and related
// and neighboring rights to this software to the public domain worldwi... | // infoware - C++ System information Library
//
// Written in 2016-2019 by nabijaczleweli <nabijaczleweli@gmail.com> and ThePhD <phdofthehouse@gmail.com>
//
// To the extent possible under law, the author(s) have dedicated all copyright and related
// and neighboring rights to this software to the public domain worldwi... | purge deprecated wstring_convert and stick with WideCharToMultiByte | purge deprecated wstring_convert and stick with WideCharToMultiByte
| C++ | cc0-1.0 | ThePhD/infoware |
4c580629a7edff9e0f8c183cb1d6c93204fe0e15 | nta/engine/Input.hpp | nta/engine/Input.hpp | /*
* ---------------------------------------------------------------------
* Numenta Platform for Intelligent Computing (NuPIC)
* Copyright (C) 2013, Numenta, Inc. Unless you have purchased from
* Numenta, Inc. a separate commercial license for this software code, the
* following terms and conditions apply:
*
*... | /*
* ---------------------------------------------------------------------
* Numenta Platform for Intelligent Computing (NuPIC)
* Copyright (C) 2013, Numenta, Inc. Unless you have purchased from
* Numenta, Inc. a separate commercial license for this software code, the
* following terms and conditions apply:
*
*... | fix warning: unused variable size_ | fix warning: unused variable size_
| C++ | agpl-3.0 | scottpurdy/nupic,passiweinberger/nupic,virneo/nupic,metaml/nupic,badlogicmanpreet/nupic,scottpurdy/nupic,breznak/nupic,rcrowder/nupic,akhilaananthram/nupic,vamsirajendra/nupic,subutai/nupic,lscheinkman/nupic,GeraldLoeffler/nupic,EricSB/nupic,badlogicmanpreet/nupic,marionleborgne/nupic,darshanthaker/nupic,go-bears/nupic... |
98de77b7c2cc7846494c1c8e9ffe9fc47bcbcbf3 | src/volumebarplugin/volumebarlogic.cpp | src/volumebarplugin/volumebarlogic.cpp | /* -*- Mode: C; indent-tabs-mode: s; c-basic-offset: 4; tab-width: 4 -*- */
/* vim:set et ai sw=4 ts=4 sts=4: tw=80 cino="(0,W2s,i2s,t0,l1,:0" */
#include "volumebarlogic.h"
#include <stdlib.h>
#include <string.h>
#include <QVariant>
#include <QString>
#define DEBUG
#define WARNING
#include "../debug.h"
#define DBUS... | /* -*- Mode: C; indent-tabs-mode: s; c-basic-offset: 4; tab-width: 4 -*- */
/* vim:set et ai sw=4 ts=4 sts=4: tw=80 cino="(0,W2s,i2s,t0,l1,:0" */
#include "volumebarlogic.h"
#include <stdlib.h>
#include <string.h>
#include <QVariant>
#include <QString>
#define DEBUG
#define WARNING
#include "../debug.h"
#define DBUS... | comment out signal matching as it crashes the sysuid | VolumeBarLogic: comment out signal matching as it crashes the sysuid
| C++ | lgpl-2.1 | deztructor/meegotouch-controlpanelapplets,nemomobile-graveyard/meegotouch-controlpanelapplets,nemomobile-graveyard/meegotouch-controlpanelapplets,deztructor/meegotouch-controlpanelapplets,deztructor/meegotouch-controlpanelapplets,nemomobile-graveyard/meegotouch-controlpanelapplets |
66b97d5d635340d483bbaf78d4ec71e002b73551 | src/mesh/animation.cpp | src/mesh/animation.cpp | #pragma warning(disable: 4244) // conversion, possible loss of data
#include <pwn/mesh/mesh.h>
#include <pwn/math/operations.h>
#include <pwn/core/stdutil.h>
#include <boost/foreach.hpp>
namespace pwn
{
namespace mesh
{
real Timed::getTime() const
{
return time;
}
Timed::Timed(real t)
... | #pragma warning(disable: 4244) // conversion, possible loss of data
#include <pwn/mesh/mesh.h>
#include <pwn/math/operations.h>
#include <pwn/core/stdutil.h>
#include <boost/foreach.hpp>
#include <pwn/assert.h>
namespace pwn
{
namespace mesh
{
real Timed::getTime() const
{
return time;
}
... | update matrix removed, and merged into the CompiledPose constructor | update matrix removed, and merged into the CompiledPose constructor
| C++ | bsd-3-clause | madeso/pwn-engine,madeso/pwn-engine,madeso/pwn-engine,madeso/pwn-engine |
7e956cac7cda95dbc4170aea0d166c6f6cc8cb48 | src/mode_calc_help.cpp | src/mode_calc_help.cpp | #include <mill/math/Vector.hpp>
#include <mill/util/logger.hpp>
#include "mode_calc_help.hpp"
#include "mode_calc_rmsd.hpp"
#include "mode_calc_dist.hpp"
namespace mill
{
const char* mode_calc_help_usage() noexcept
{
return "usage: mill calc [command] [parameters...]\n\n"
" avaiable commands\n"
... | #include <mill/math/Vector.hpp>
#include <mill/util/logger.hpp>
#include "mode_calc_help.hpp"
#include "mode_calc_rmsd.hpp"
#include "mode_calc_wham.hpp"
#include "mode_calc_dist.hpp"
#include "mode_calc_angle.hpp"
#include "mode_calc_obb.hpp"
namespace mill
{
const char* mode_calc_help_usage() noexcept
{
return ... | update help message | :memo: update help message
| C++ | mit | ToruNiina/Coffee-mill,ToruNiina/Coffee-mill |
1576c4a3dab07569ed91b49ef0d5936e28eca5b7 | src/Gui/ViewProviderPlane.cpp | src/Gui/ViewProviderPlane.cpp | /***************************************************************************
* Copyright (c) Juergen Riegel (juergen.riegel@web.de) 2012 *
* *
* This file is part of the FreeCAD CAx development system. *
* ... | /***************************************************************************
* Copyright (c) Juergen Riegel (juergen.riegel@web.de) 2012 *
* *
* This file is part of the FreeCAD CAx development system. *
* ... | fix some warnings | fix some warnings
| C++ | lgpl-2.1 | jriegel/FreeCAD,jriegel/FreeCAD,jriegel/FreeCAD,jriegel/FreeCAD,jriegel/FreeCAD |
757ea38725e8061f0deb618b0ea40489b27c38ba | src/GuiBase/Viewer/Viewer.hpp | src/GuiBase/Viewer/Viewer.hpp | #ifndef RADIUMENGINE_VIEWER_HPP
#define RADIUMENGINE_VIEWER_HPP
#include <GuiBase/RaGuiBase.hpp>
#include <atomic>
#include <memory>
#include <QWindow>
#include <QThread>
#include <Core/CoreMacros.hpp>
#include <Core/Types.hpp>
#include <Engine/RadiumEngine.hpp>
#include <Engine/Renderer/Renderer.hpp>
#include <... | #ifndef RADIUMENGINE_VIEWER_HPP
#define RADIUMENGINE_VIEWER_HPP
#include <GuiBase/RaGuiBase.hpp>
#include <atomic>
#include <memory>
#include <QWindow>
#include <QThread>
#include <Core/CoreMacros.hpp>
#include <Core/Types.hpp>
#include <Engine/RadiumEngine.hpp>
#include <Engine/Renderer/Renderer.hpp>
#include <... | fix comment typo. | [guibase] Viewer: fix comment typo.
| C++ | bsd-3-clause | Zouch/Radium-Engine,Zouch/Radium-Engine |
907af154433122890a9d406fc8b2d445137c8193 | test/plugin/TestPluginApp.cpp | test/plugin/TestPluginApp.cpp | /*
* Copyright (c) 2015, 2016, 2017, Intel Corporation
*
* 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 copyright
* notice, this list of cond... | /*
* Copyright (c) 2015, 2016, 2017, Intel Corporation
*
* 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 copyright
* notice, this list of cond... | Fix compile time error due to passing uninitialized variable. | Fix compile time error due to passing uninitialized variable.
Change-Id: Ibc30d475a20f66ce19ad39ec632c16b2fbf3ef3c
Signed-off-by: Christopher M. Cantalupo <9cf3ecca60a3dd7112ab0e7250bedb8a752e3958@intel.com>
| C++ | bsd-3-clause | geopm/geopm,cmcantalupo/geopm,cmcantalupo/geopm,geopm/geopm,geopm/geopm,cmcantalupo/geopm,cmcantalupo/geopm,geopm/geopm,geopm/geopm,cmcantalupo/geopm |
fdf6ccaea0d23972978197281984dec2ddc9ecf3 | src/search/tree/PV.hpp | src/search/tree/PV.hpp | /* PV.hpp
*
* Kubo Ryosuke
*/
#ifndef SUNFISH_SEARCH_TREE_PV_HPP__
#define SUNFISH_SEARCH_TREE_PV_HPP__
#include "common/Def.hpp"
#include "core/move/Moves.hpp"
#include <cstdint>
#include <cstring>
#include <sstream>
namespace sunfish {
class PV {
public:
using SizeType = uint32_t;
static CONSTEXPR_CONST ... | /* PV.hpp
*
* Kubo Ryosuke
*/
#ifndef SUNFISH_SEARCH_TREE_PV_HPP__
#define SUNFISH_SEARCH_TREE_PV_HPP__
#include "common/Def.hpp"
#include "core/move/Moves.hpp"
#include <cstdint>
#include <cstring>
#include <sstream>
namespace sunfish {
class PV {
public:
using SizeType = uint32_t;
static CONSTEXPR_CONST ... | Fix a link error (https://trello.com/c/iJqg1GqN) | Fix a link error (https://trello.com/c/iJqg1GqN)
| C++ | mit | sunfish-shogi/sunfish4,sunfish-shogi/sunfish4,sunfish-shogi/sunfish4,sunfish-shogi/sunfish4 |
399e8be1f8667e8abedad901e2bc597366755a72 | Libs/Core/ctkDependencyGraph.cxx | Libs/Core/ctkDependencyGraph.cxx |
// QT includes
#include <QQueue>
#include <QVarLengthArray>
#include <QDebug>
// CTK includes
#include "ctkDependencyGraph.h"
// STD includes
#include <iostream>
#define MAXV 100
#define MAXDEGREE 50
//----------------------------------------------------------------------------
class ctkDependencyGraph::ctkInterna... |
// QT includes
#include <QQueue>
#include <QVarLengthArray>
#include <QDebug>
// CTK includes
#include "ctkDependencyGraph.h"
// STD includes
#include <iostream>
#define MAXV 100
#define MAXDEGREE 50
//----------------------------------------------------------------------------
class ctkDependencyGraph::ctkInterna... | Fix memory leak in Core/ctkDependencyGraph | BUG: Fix memory leak in Core/ctkDependencyGraph
The instantiated QVarLengthArray arrays weren't deleted.
| C++ | apache-2.0 | jcfr/CTK,151706061/CTK,AndreasFetzer/CTK,Sardge/CTK,lassoan/CTK,espakm/CTK,danielknorr/CTK,fedorov/CTK,finetjul/CTK,danielknorr/CTK,finetjul/CTK,rkhlebnikov/CTK,CJGoch/CTK,SINTEFMedtek/CTK,sankhesh/CTK,mehrtash/CTK,espakm/CTK,danielknorr/CTK,naucoin/CTK,laurennlam/CTK,CJGoch/CTK,espakm/CTK,msmolens/CTK,Heather/CTK,lass... |
d6e17dc4d0849dd174ed09569fa39270c10fbd23 | Libs/XNAT/Core/ctkXnatObject.cpp | Libs/XNAT/Core/ctkXnatObject.cpp | /*=============================================================================
Library: XNAT/Core
Copyright (c) University College London,
Centre for Medical Image Computing
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
... | /*=============================================================================
Library: XNAT/Core
Copyright (c) University College London,
Centre for Medical Image Computing
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
... | Fix unused warning in ctkXnatObject::fetchResources | XNAT/Core: Fix unused warning in ctkXnatObject::fetchResources
This commit fixes the following warning:
/path/to/CTK/Libs/XNAT/Core/ctkXnatObject.cpp: At global scope:
/path/to/CTK/Libs/XNAT/Core/ctkXnatObject.cpp:432:51: warning: unused parameter ‘path’ [-Wunused-parameter]
void ctkXnatObject::fetchResources(const ... | C++ | apache-2.0 | jcfr/CTK,SINTEFMedtek/CTK,commontk/CTK,SINTEFMedtek/CTK,CJGoch/CTK,commontk/CTK,CJGoch/CTK,CJGoch/CTK,SINTEFMedtek/CTK,jcfr/CTK,jcfr/CTK,SINTEFMedtek/CTK,commontk/CTK,CJGoch/CTK,CJGoch/CTK,jcfr/CTK,jcfr/CTK,commontk/CTK,SINTEFMedtek/CTK |
c4e52a03ad4d11a4fb55ab4df57aab31c97525cd | src/PeerConnectionManager.cpp | src/PeerConnectionManager.cpp | /* ---------------------------------------------------------------------------
** This software is in the public domain, furnished "as is", without technical
** support, and with no warranty, express or implied, as to its usefulness for
** any purpose.
**
** PeerConnectionManager.cpp
**
** ----------------------------... | /* ---------------------------------------------------------------------------
** This software is in the public domain, furnished "as is", without technical
** support, and with no warranty, express or implied, as to its usefulness for
** any purpose.
**
** PeerConnectionManager.cpp
**
** ----------------------------... | remove reference of fakecapturer | remove reference of fakecapturer
| C++ | unlicense | mpromonet/webrtc-streamer,ghostzero2000/webrtc-streamer-base,ghostzero2000/webrtc-streamer-base,mpromonet/webrtc-streamer,ghostzero2000/webrtc-streamer-base |
ad93418c75f7cd86f128bfb05c331c86f9994e98 | src/ServerManager/Manager.cpp | src/ServerManager/Manager.cpp | /*
* This file is part ServerManager of package
*
* (c) Ondřej Záruba <zarubaondra@gmail.com>
*
* For the full copyright and license information, please view the license.md
* file that was distributed with this source code.
*/
#include <string>
#include <fstream>
#include <cstdlib>
#include <sstream>
#include "... | /*
* This file is part ServerManager of package
*
* (c) Ondřej Záruba <zarubaondra@gmail.com>
*
* For the full copyright and license information, please view the license.md
* file that was distributed with this source code.
*/
#include <string>
#include <fstream>
#include <cstdlib>
#include <sstream>
#include "... | Revert "Manager create: do not allow duplicates, throw exception" | Revert "Manager create: do not allow duplicates, throw exception"
| C++ | mit | Budry/ServerManager,Budry/ServerManager |
071d056cea1d89eab3705959eeeb0dd5a6a2d6cc | src/camera/dynamic_camera.cxx | src/camera/dynamic_camera.cxx | /**
* @file
* @author Jason Lingle
* @brief Implementation of src/camera/dynamic_camera.hxx
*/
#include <cmath>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include "camera.hxx"
#include "dynamic_camera.hxx"
#include "src/globals.hxx"
#include "src/control/human_controller.hxx"
#include "src/control... | /**
* @file
* @author Jason Lingle
* @brief Implementation of src/camera/dynamic_camera.hxx
*/
#include <cmath>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include "camera.hxx"
#include "dynamic_camera.hxx"
#include "src/globals.hxx"
#include "src/control/human_controller.hxx"
#include "src/control... | Multiply camera lookAhead by vheight so the same value works on all ratios. | Multiply camera lookAhead by vheight so the same value works on all ratios.
| C++ | bsd-3-clause | AltSysrq/Abendstern,AltSysrq/Abendstern |
69846bcbd8b449aeca6c94d2355cd107b8cd3fc3 | src/cbang/http/WebHandler.cpp | src/cbang/http/WebHandler.cpp | /******************************************************************************\
This file is part of the C! library. A.K.A the cbang library.
Copyright (c) 2003-2019, Cauldron Development LLC
Copyright (c) 2003-2017, Stanford University
All... | /******************************************************************************\
This file is part of the C! library. A.K.A the cbang library.
Copyright (c) 2003-2019, Cauldron Development LLC
Copyright (c) 2003-2017, Stanford University
All... | Allow other HTTP methods | Allow other HTTP methods
| C++ | lgpl-2.1 | CauldronDevelopmentLLC/cbang,CauldronDevelopmentLLC/cbang,CauldronDevelopmentLLC/cbang,CauldronDevelopmentLLC/cbang |
440a4e25b89b24321e0f905ba442b595c37ae31a | plugins/single_plugins/move.cpp | plugins/single_plugins/move.cpp | #include <output.hpp>
#include <core.hpp>
#include <view.hpp>
#include <workspace-manager.hpp>
#include <render-manager.hpp>
#include <linux/input.h>
#include <signal-definitions.hpp>
#include "snap_signal.hpp"
#include "../wobbly/wobbly-signal.hpp"
class wayfire_move : public wayfire_plugin_t
{
signal_callback_t ... | #include <output.hpp>
#include <core.hpp>
#include <view.hpp>
#include <workspace-manager.hpp>
#include <render-manager.hpp>
#include <linux/input.h>
#include <signal-definitions.hpp>
#include "snap_signal.hpp"
#include "../wobbly/wobbly-signal.hpp"
class wayfire_move : public wayfire_plugin_t
{
signal_callback_t ... | refactor coordinate handling | move: refactor coordinate handling
Fixes #92
We handled them incorrectly in case of multiple outputs.
| C++ | mit | ammen99/wayfire,ammen99/wayfire |
ffc6a588bd485a63726692986c228926125fae37 | src/compiler/csharp_plugin.cc | src/compiler/csharp_plugin.cc | /*
*
* Copyright 2015 gRPC authors.
*
* 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 agree... | /*
*
* Copyright 2015 gRPC authors.
*
* 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 agree... | Fix C# protoc plugin argument parsing (#26896) (#27178) | Fix C# protoc plugin argument parsing (#26896) (#27178)
Co-authored-by: apolcyn <38401a4f52d615c74693f917f33ac66675a3646a@google.com> | C++ | apache-2.0 | donnadionne/grpc,donnadionne/grpc,donnadionne/grpc,donnadionne/grpc,donnadionne/grpc,donnadionne/grpc,donnadionne/grpc,donnadionne/grpc,donnadionne/grpc,donnadionne/grpc,donnadionne/grpc,donnadionne/grpc |
d8688df7dbda08f257a3711ae0da758649a7972c | src/condor_utils/condor_base64.cpp | src/condor_utils/condor_base64.cpp | /***************************************************************
*
* Copyright (C) 1990-2016, 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 License. Yo... | /***************************************************************
*
* Copyright (C) 1990-2016, 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 License. Yo... | Fix formatting of #6879 | Fix formatting of #6879
| C++ | apache-2.0 | htcondor/htcondor,htcondor/htcondor,htcondor/htcondor,htcondor/htcondor,htcondor/htcondor,htcondor/htcondor,htcondor/htcondor,htcondor/htcondor |
0a6d1cfeee2909f21a1db6204bcc670b9ca95f91 | src/engine/botlib/bot_nav_edit.cpp | src/engine/botlib/bot_nav_edit.cpp | /*
===========================================================================
Daemon GPL Source Code
Copyright (C) 2012 Unvanquished Developers
This file is part of the Daemon GPL Source Code (Daemon Source Code).
Daemon Source Code is free software: you can redistribute it and/or modify
it under the terms of the G... | /*
===========================================================================
Daemon GPL Source Code
Copyright (C) 2012 Unvanquished Developers
This file is part of the Daemon GPL Source Code (Daemon Source Code).
Daemon Source Code is free software: you can redistribute it and/or modify
it under the terms of the G... | Add a navmesh testing command | Add a navmesh testing command
| C++ | bsd-3-clause | DaemonEngine/Daemon,DaemonEngine/Daemon,DaemonEngine/Daemon,DaemonEngine/Daemon |
241362fcdf35fccc46ec2db262745fa45a0d54c9 | src/tests/sampling.cpp | src/tests/sampling.cpp |
#include "tests/gtest/gtest.h"
#include <stdint.h>
#include <algorithm>
#include "pbrt.h"
#include "sampling.h"
#include "lowdiscrepancy.h"
TEST(LowDiscrepancy, RadicalInverse) {
for (int a = 0; a < 1024; ++a) {
EXPECT_EQ(ReverseBits32(a) * 2.3283064365386963e-10f,
RadicalInverse(0, a));... |
#include "tests/gtest/gtest.h"
#include <stdint.h>
#include <algorithm>
#include "pbrt.h"
#include "sampling.h"
#include "lowdiscrepancy.h"
#include "samplers/maxmin.h"
#include "samplers/sobol.h"
#include "samplers/zerotwosequence.h"
TEST(LowDiscrepancy, RadicalInverse) {
for (int a = 0; a < 1024; ++a) {
... | Add some Sampler-related unit tests. | Add some Sampler-related unit tests.
| C++ | bsd-2-clause | mmp/pbrt-v3,mcanthony/pbrt-v3,bssrdf/pbrt-v3,ambakshi/pbrt-v3,Vertexwahn/pbrt-v3,nispaur/pbrt-v3,shihchinw/pbrt-v3,nyue/pbrt-v3,shihchinw/pbrt-v3,ambakshi/pbrt-v3,bssrdf/pbrt-v3,mmp/pbrt-v3,ambakshi/pbrt-v3,nispaur/pbrt-v3,mmp/pbrt-v3,shihchinw/pbrt-v3,mwkm/pbrt-v3,Vertexwahn/pbrt-v3,mcanthony/pbrt-v3,mwkm/pbrt-v3,nyue... |
777b38f46c113d866fd3ca57b5bddc6c08ab7d95 | src/istio/utils/attribute_names.cc | src/istio/utils/attribute_names.cc | /* Copyright 2018 Istio 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 applicab... | /* Copyright 2018 Istio 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 applicab... | fix format | fix format
| C++ | apache-2.0 | lizan/proxy,lizan/proxy,lizan/proxy,istio/proxy,istio/proxy,lizan/proxy,istio/proxy,istio/proxy |
1e697b48e9f5aee57a784d6b817b9cd1a3288457 | src/lib/WP42DefineColumnsGroup.cpp | src/lib/WP42DefineColumnsGroup.cpp | /* libwpd
* Copyright (C) 2006 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 Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) ... | /* libwpd
* Copyright (C) 2006 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 Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) ... | Fix unsigned/signed + integer promotion issue | Fix unsigned/signed + integer promotion issue
| C++ | lgpl-2.1 | cpjreynolds/libwpd,Distrotech/librevenge,cpjreynolds/libwpd,Distrotech/libpwd,Distrotech/libpwd,Distrotech/libpwd,cpjreynolds/libwpd,Distrotech/librevenge,Distrotech/librevenge,Distrotech/librevenge,Distrotech/librevenge,Distrotech/libpwd |
58e837c3d9a5f76b926468048ef4894ba39e2e70 | src/libcsg/modules/io/groreader.cc | src/libcsg/modules/io/groreader.cc | /*
* Copyright 2009-2013 The VOTCA Development Team (http://www.votca.org)
*
* 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
*
* Unl... | /*
* Copyright 2009-2013 The VOTCA Development Team (http://www.votca.org)
*
* 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
*
* Unl... | fix trajectory reading | groreader: fix trajectory reading
| C++ | apache-2.0 | Pallavi-Banerjee21/votca.csg,vaidyanathanms/votca.csg,vaidyanathanms/votca.csg,Pallavi-Banerjee21/votca.csg,vaidyanathanms/votca.csg,vaidyanathanms/votca.csg,Pallavi-Banerjee21/votca.csg,vaidyanathanms/votca.csg,Pallavi-Banerjee21/votca.csg,Pallavi-Banerjee21/votca.csg,Pallavi-Banerjee21/votca.csg |
57ef1ee8484046b56a08c98fb22a0d1827ac79e9 | src/core/SkMallocPixelRef.cpp | src/core/SkMallocPixelRef.cpp | /*
* Copyright 2011 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "include/core/SkMallocPixelRef.h"
#include "include/core/SkData.h"
#include "include/core/SkImageInfo.h"
#include "include/private/SkMalloc.h"
static bool is_valid(... | /*
* Copyright 2011 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "include/core/SkMallocPixelRef.h"
#include "include/core/SkData.h"
#include "include/core/SkImageInfo.h"
#include "include/private/SkMalloc.h"
static bool is_valid(... | Boost SkMallocPixelRef fuzzing limit | Boost SkMallocPixelRef fuzzing limit
100k was probably a bit too small, only allowing a ~150 x ~150 bitmap.
10m lets us get to ~1500 x ~1500 which is hopefully a better
balance between reasonable and fuzzer performance.
Change-Id: Ifde8cb28c89b648ed4af0c9b1ee081d87c755482
Bug: oss-fuzz:52328
Reviewed-on: https://ski... | C++ | bsd-3-clause | google/skia,google/skia,google/skia,google/skia,google/skia,google/skia,google/skia,google/skia,google/skia,google/skia |
8410b18e42788580d89733ccc8ffbc886713c78c | src/core/grabber/src/main.cpp | src/core/grabber/src/main.cpp | #include "components_manager_killer.hpp"
#include "constants.hpp"
#include "dispatcher_utility.hpp"
#include "filesystem_utility.hpp"
#include "grabber/components_manager.hpp"
#include "iokit_hid_device_open_checker_utility.hpp"
#include "karabiner_version.h"
#include "logger.hpp"
#include "process_utility.hpp"
#includ... | #include "constants.hpp"
#include "dispatcher_utility.hpp"
#include "filesystem_utility.hpp"
#include "grabber/components_manager.hpp"
#include "iokit_hid_device_open_checker_utility.hpp"
#include "karabiner_version.h"
#include "logger.hpp"
#include "process_utility.hpp"
#include "state_json_writer.hpp"
#include <iostr... | update #include | update #include
| C++ | unlicense | tekezo/Karabiner-Elements,tekezo/Karabiner-Elements,tekezo/Karabiner-Elements,tekezo/Karabiner-Elements |
feb7d3df928488bf05fa0f7f3683e14d498661be | src/win_open_files.cpp | src/win_open_files.cpp | #include <map>
#include <memory>
#include <windows.h>
#include <winternl.h>
#include <anisthesia/win_open_files.hpp>
#include <anisthesia/win_util.hpp>
namespace anisthesia::win::detail {
// WARNING: This file uses internal Windows APIs. The functions and structures
// that are defined here and in <winternl.h> are ... | #include <map>
#include <memory>
#include <windows.h>
#include <winternl.h>
#include <anisthesia/win_open_files.hpp>
#include <anisthesia/win_util.hpp>
namespace anisthesia::win::detail {
// WARNING: This file uses internal Windows APIs. The functions and structures
// that are defined here and in <winternl.h> are ... | Update file type index list | Update file type index list
| C++ | mit | erengy/anisthesia |
505fea62687e23f092c7916057db4e77035b2ab9 | src/x0/io/fileinfo.cpp | src/x0/io/fileinfo.cpp | #include "fileinfo.hpp"
#include "fileinfo_service.hpp"
namespace x0 {
fileinfo::fileinfo(fileinfo_service& service, const std::string& filename) :
service_(service),
watcher_(service.loop_),
filename_(filename),
exists_(),
etag_(service_.make_etag(*this)),
mtime_(),
mimetype_(service_.get_mimetype(filename_))... | #include "fileinfo.hpp"
#include "fileinfo_service.hpp"
namespace x0 {
fileinfo::fileinfo(fileinfo_service& service, const std::string& filename) :
service_(service),
watcher_(service.loop_),
filename_(filename),
exists_(),
etag_(),
mtime_(),
mimetype_()
{
watcher_.set<fileinfo, &fileinfo::callback>(this);
w... | fix initialization error in fileinfo | core: fix initialization error in fileinfo
| C++ | mit | xzero/x0,christianparpart/x0,christianparpart/x0,xzero/x0,christianparpart/x0,xzero/x0,xzero/x0,xzero/x0,christianparpart/x0,christianparpart/x0,christianparpart/x0,christianparpart/x0,xzero/x0 |
93a59295acd099da91b9f1bb9d24c826e506e5b8 | mpi_helpers.hpp | mpi_helpers.hpp | #pragma once
#include <cstdio>
#include <exception>
#include <mpi.h>
#include <string>
#include <sstream>
#include <chrono>
#include <mutex>
#include <chrono>
#include <thread>
#include <condition_variable>
#include <array>
#include <cstdlib>
#include <cstring>
#include "log.hpp"
#include "setsm_code.hpp"
static bool... | #pragma once
#include <cstdio>
#include <exception>
#include <mpi.h>
#include <string>
#include <sstream>
#include <chrono>
#include <mutex>
#include <chrono>
#include <thread>
#include <condition_variable>
#include <array>
#include <cstdlib>
#include <cstring>
#include "log.hpp"
#include "setsm_code.hpp"
static bool... | Remove debug logging from mpi code | Remove debug logging from mpi code
| C++ | apache-2.0 | setsmdeveloper/SETSM,setsmdeveloper/SETSM,setsmdeveloper/SETSM |
37ed47b2b89eccb3996e260e64aff05567b22ffe | kr_common/include/kr_common/ros_helper.hpp | kr_common/include/kr_common/ros_helper.hpp | #ifndef KR_COMMON_ROS_HELPER_HPP_
#define KR_COMMON_ROS_HELPER_HPP_
#include <ros/ros.h>
#include <ros/package.h>
namespace kr {
/**
* @brief getParam Get ros param in node handle's namespace, with default value
*/
template <typename T>
T GetParam(const ros::NodeHandle& nh, const std::string& param_name,
... | #ifndef KR_COMMON_ROS_HELPER_HPP_
#define KR_COMMON_ROS_HELPER_HPP_
#include <ros/ros.h>
#include <ros/package.h>
namespace kr {
/**
* @brief getParam Get ros param in node handle's namespace, with default value
*/
template <typename T>
T GetParam(const ros::NodeHandle& nh, const std::string& param_name,
... | add static inline to PackageUrlToFullPath | add static inline to PackageUrlToFullPath
| C++ | apache-2.0 | KumarRobotics/kr_utils |
b991f48ccff0567d581cf95e4eda1bffd5bbada3 | lib/Analysis/ReturnPointerRangeChecker.cpp | lib/Analysis/ReturnPointerRangeChecker.cpp | //== ReturnPointerRangeChecker.cpp ------------------------------*- C++ -*--==//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | //== ReturnPointerRangeChecker.cpp ------------------------------*- C++ -*--==//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | use StripCasts() instead of checking for zero index explicitly. | ReturnPointerRangeChecker: use StripCasts() instead of checking for zero index
explicitly.
Fix 80-col violations.
git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@86833 91177308-0d34-0410-b5e6-96231b3b80d8
| C++ | apache-2.0 | llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,apple/swift-cl... |
d423e7f9476151a2a0f86d7de1a559347f2dfd5b | Source/Core/Game.cpp | Source/Core/Game.cpp | #include "Game.h"
using namespace std;
using namespace glm;
Game *Game::inst = 0;
Game::Game()
{
// Initialize game variables and settings
isRunning = true;
isFullscreen = false;
caption = "Iceberg3D";
window = NULL;
screenSurface = NULL;
screenWidth = 640;
scre... | #include "Game.h"
using namespace std;
using namespace glm;
Game *Game::inst = 0;
Game::Game()
{
// Initialize game variables and settings
isRunning = true;
isFullscreen = false;
caption = "Iceberg3D";
window = NULL;
screenSurface = NULL;
screenWidth = 640;
scre... | Correct typo in last commit. | Correct typo in last commit.
| C++ | mit | matthewjberger/Iceberg3D,matthewjberger/Iceberg3D |
98eb4b5fe9d4b684e8e6ad1dc865b8e7407ebff2 | src/engine/framework/Rcon.cpp | src/engine/framework/Rcon.cpp | /*
===========================================================================
Daemon BSD Source Code
Copyright (c) 2013-2016, Daemon Developers
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redi... | /*
===========================================================================
Daemon BSD Source Code
Copyright (c) 2013-2016, Daemon Developers
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redi... | Initialize message members to prevent UB on access to them | [framework] Initialize message members to prevent UB on access to them
| C++ | bsd-3-clause | DaemonEngine/Daemon,DaemonEngine/Daemon,DaemonEngine/Daemon,DaemonEngine/Daemon |
f79853ccfe14314caebc7e03ac1ebf1bbf8c159a | svtools/source/control/collatorres.cxx | svtools/source/control/collatorres.cxx | #include <svtdata.hxx>
#include <svtools.hrc>
#ifndef SVTOOLS_COLLATORRESSOURCE_HXX
#include <collatorres.hxx>
#endif
// -------------------------------------------------------------------------
//
// wrapper for locale specific translations data of collator algorithm
//
// -----------------------------------------... | #include <svtdata.hxx>
#include <svtools.hrc>
#ifndef SVTOOLS_COLLATORRESSOURCE_HXX
#include <collatorres.hxx>
#endif
// -------------------------------------------------------------------------
//
// wrapper for locale specific translations data of collator algorithm
//
// -----------------------------------------... | fix operator=() | #65293#: fix operator=()
| C++ | mpl-2.0 | JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core |
0091e10d6f45bdde4f788ae0b97f96723ebf7ed0 | src/envoy/tcp/mixer/filter.cc | src/envoy/tcp/mixer/filter.cc | /* Copyright 2017 Istio 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 applicab... | /* Copyright 2017 Istio 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 applicab... | fix compilation errors | fix compilation errors
| C++ | apache-2.0 | istio/proxy,lizan/proxy,istio/proxy,istio/proxy,lizan/proxy,lizan/proxy,lizan/proxy,istio/proxy |
2f3f2e1a45773a478dd10b598ca915e958df3d2a | arsel.cpp | arsel.cpp | // 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 "burg.hpp"
#include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <fstream>
#i... | // 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 "burg.hpp"
#include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <fstream>
#i... | correct off-by-one in argc processing | correct off-by-one in argc processing
| C++ | mpl-2.0 | RhysU/ar,RhysU/ar |
0cbe92af6c6eb150688d92de187f6777d5768368 | src/core/ext/filters/client_channel/xds/xds_bootstrap.cc | src/core/ext/filters/client_channel/xds/xds_bootstrap.cc | //
// Copyright 2019 gRPC authors.
//
// 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 t... | //
// Copyright 2019 gRPC authors.
//
// 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 t... | Fix bugs in xds bootstrap file parsing. | Fix bugs in xds bootstrap file parsing.
| C++ | apache-2.0 | nicolasnoble/grpc,stanley-cheung/grpc,donnadionne/grpc,donnadionne/grpc,vjpai/grpc,grpc/grpc,firebase/grpc,jtattermusch/grpc,stanley-cheung/grpc,donnadionne/grpc,donnadionne/grpc,grpc/grpc,grpc/grpc,stanley-cheung/grpc,nicolasnoble/grpc,donnadionne/grpc,ctiller/grpc,ejona86/grpc,ejona86/grpc,nicolasnoble/grpc,jtattermu... |
abb74cd25b51708a97a43fedbdca2f37587ac625 | tamer/dtamer.cc | tamer/dtamer.cc | /* Copyright (c) 2007-2014, Eddie Kohler
* Copyright (c) 2007, Regents of the University of California
*
* 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, subject to t... | /* Copyright (c) 2007-2014, Eddie Kohler
* Copyright (c) 2007, Regents of the University of California
*
* 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, subject to t... | Improve the way in which virtual time is advanced. | Improve the way in which virtual time is advanced.
Fixes a bug in non-virtual time.
| C++ | bsd-3-clause | kohler/tamer,kohler/tamer,kohler/tamer,kohler/tamer |
9079a780f4b62638b06dfa0a8d18d87903199682 | src/msgpack_wrapper.cc | src/msgpack_wrapper.cc | /*
* Copyright (C) 2015 deipi.com LLC and contributors. All rights reserved.
*
* 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
* ri... | /*
* Copyright (C) 2015 deipi.com LLC and contributors. All rights reserved.
*
* 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
* ri... | Format and delete comment | Format and delete comment
| C++ | mit | Kronuz/Xapiand,Kronuz/Xapiand,Kronuz/Xapiand,Kronuz/Xapiand,Kronuz/Xapiand,Kronuz/Xapiand |
42420320ac7a221cc78ecb2795bb8b6f2df53c18 | src/mtac/Optimizer.cpp | src/mtac/Optimizer.cpp | //=======================================================================
// Copyright Baptiste Wicht 2011.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//=====================================================... | //=======================================================================
// Copyright Baptiste Wicht 2011.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//=====================================================... | Disable the old constant propagation system | Disable the old constant propagation system
| C++ | mit | wichtounet/eddic,vogelsgesang/eddic,vogelsgesang/eddic,wichtounet/eddic,wichtounet/eddic,vogelsgesang/eddic |
77440946edca28384bb3aa1791688c8ebcdab4d3 | chrome/browser/translate/translate_infobar_delegate2.cc | chrome/browser/translate/translate_infobar_delegate2.cc | // 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/translate/translate_infobar_delegate2.h"
#include "app/l10n_util.h"
#include "app/resource_bundle.h"
#include "chrome/browse... | // 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 <algorithm>
#include "chrome/browser/translate/translate_infobar_delegate2.h"
#include "app/l10n_util.h"
#include "app/resource_bundle.h"
#... | fix wrong assignment in swap in TranslateInfoBarDelegate2::GetAfterTranslateStrings. | Coverity: fix wrong assignment in swap in TranslateInfoBarDelegate2::GetAfterTranslateStrings.
CID=10888
BUG=none
TEST=builds
Review URL: http://codereview.chromium.org/2850007
git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@50010 0039d316-1c4b-4281-b951-d872f2087c98
| C++ | bsd-3-clause | yitian134/chromium,ropik/chromium,adobe/chromium,Crystalnix/house-of-life-chromium,adobe/chromium,adobe/chromium,yitian134/chromium,Crystalnix/house-of-life-chromium,gavinp/chromium,adobe/chromium,Crystalnix/house-of-life-chromium,Crystalnix/house-of-life-chromium,adobe/chromium,gavinp/chromium,Crystalnix/house-of-life... |
d6e8e213c0b374444bb5f0c04fda54197869b655 | srtcore/tsbpd_time.cpp | srtcore/tsbpd_time.cpp | /*
* SRT - Secure, Reliable, Transport
* Copyright (c) 2021 Haivision Systems Inc.
*
* 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 "tsbpd_time.h"... | /*
* SRT - Secure, Reliable, Transport
* Copyright (c) 2021 Haivision Systems Inc.
*
* 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 "tsbpd_time.h"... | Fix build error when -DSRT_DEBUG_TRACE_DRIFT=1 | [core] Fix build error when -DSRT_DEBUG_TRACE_DRIFT=1
| C++ | mpl-2.0 | ethouris/srt,ethouris/srt,Cinegy/srt,Cinegy/srt,ethouris/srt,Cinegy/srt,Haivision/srt,ethouris/srt,Haivision/srt,Haivision/srt,Cinegy/srt,Haivision/srt |
240434342bd6facc12a44ba056c4f952c030fb00 | startuplaunch_macx.cpp | startuplaunch_macx.cpp | #include "startuplaunch.h"
#include <QDesktopServices>
StartupLaunch::StartupLaunch()
{
}
bool StartupLaunch::addOnStartup(QString name, QString executable, QString comments)
{
qWarning() << " add to startup not yet implemented on macx";
return false;
}
bool StartupLaunch::removeFromStartup(QString name)
{... | #include "startuplaunch.h"
#include <QDesktopServices>
StartupLaunch::StartupLaunch()
{
}
bool StartupLaunch::addOnStartup(QString name, QString executable, QString comments)
{
QString autostartPath = QDesktopServices::storageLocation(QDesktopServices::HomeLocation)+"/Library/LaunchAgents";
if(false==QDir()... | Add basic implementation for MacOS X | Add basic implementation for MacOS X
| C++ | bsd-2-clause | jdauphant/startuplaunch-qt |
3350f3bdf37945270d6cfb56a8e4f03fcb928648 | cubits/stencil.inl | cubits/stencil.inl | /* -----------------------------------------------------------------------------
*
* Kernel : Stencil
* Copyright : [2008..2010] Manuel M T Chakravarty, Gabriele Keller, Sean Lee, Trevor L. McDonell
* License : BSD3
*
* Maintainer : Trevor L. McDonell <tmcdonell@cse.unsw.edu.au>
* Stability : exper... | /* -----------------------------------------------------------------------------
*
* Kernel : Stencil
* Copyright : [2008..2010] Manuel M T Chakravarty, Gabriele Keller, Sean Lee, Trevor L. McDonell
* License : BSD3
*
* Maintainer : Trevor L. McDonell <tmcdonell@cse.unsw.edu.au>
* Stability : exper... | Add 'const' qualifier to stencil functions. | Add 'const' qualifier to stencil functions.
Ignore-this: 91152f8d6c12b2d85b132dff1ace2f81
darcs-hash:20110104235901-c3ac2-eebc5ddb76cb388a2ed2a7840ee21bf9ad61db18.gz
| C++ | bsd-3-clause | wilbowma/accelerate,wilbowma/accelerate,sjfloat/accelerate,robeverest/accelerate,rrnewton/accelerate,robeverest/accelerate |
1b9b8406dc6faee07a4e1c91d4015572e2220563 | OOInteraction/src/commands/CAddCalleesToView.cpp | OOInteraction/src/commands/CAddCalleesToView.cpp | /***********************************************************************************************************************
**
** Copyright (c) 2015 ETH Zurich
** All rights reserved.
**
** Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
** following c... | /***********************************************************************************************************************
**
** Copyright (c) 2015 ETH Zurich
** All rights reserved.
**
** Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
** following c... | Initialize to null. | Initialize to null.
| C++ | bsd-3-clause | lukedirtwalker/Envision,mgalbier/Envision,lukedirtwalker/Envision,Vaishal-shah/Envision,mgalbier/Envision,BalzGuenat/Envision,dimitar-asenov/Envision,mgalbier/Envision,lukedirtwalker/Envision,mgalbier/Envision,Vaishal-shah/Envision,BalzGuenat/Envision,BalzGuenat/Envision,dimitar-asenov/Envision,dimitar-asenov/Envision,... |
f4ca71153ff7f416d5f0f1be28fcd5c642a483cc | Ouroboros/Source/oBase/tests/TESTcompression.cpp | Ouroboros/Source/oBase/tests/TESTcompression.cpp | /**************************************************************************
* The MIT License *
* Copyright (c) 2013 Antony Arciuolo. *
* arciuolo@gmail.com *
* ... | /**************************************************************************
* The MIT License *
* Copyright (c) 2013 Antony Arciuolo. *
* arciuolo@gmail.com *
* ... | Fix magnitude string destination so reporting is valid. | Fix magnitude string destination so reporting is valid. | C++ | mit | jiangzhu1212/oooii,jiangzhu1212/oooii,jiangzhu1212/oooii,jiangzhu1212/oooii,jiangzhu1212/oooii,jiangzhu1212/oooii,jiangzhu1212/oooii,jiangzhu1212/oooii,jiangzhu1212/oooii |
45f145a29e70fbf85de877be764dd8f7646da09b | brains.cc | brains.cc | #include "actor.hh"
#include "common.hh"
#include "logger.hh"
Actor* Actor::getClosestActor(int types) {
if (visible_actors.empty()) return NULL;
if (types == 0) types = ALL;
Actor* closest = NULL;
int mindist = viewDist+1;
for (ActorPtrs::const_iterator it = visible_actors.begin(); it != visible_actors.end(); ++... | #include "actor.hh"
#include "common.hh"
#include "logger.hh"
Actor* Actor::getClosestActor(int types) {
if (visible_actors.empty()) return NULL;
if (types == 0) types = ALL;
Actor* closest = NULL;
int mindist = viewDist+1;
for (ActorPtrs::const_iterator it = visible_actors.begin(); it != visible_actors.end(); ++... | Fix broken demon AI. | Fix broken demon AI.
| C++ | mit | tapio/cotc |
a2ec1912d7d91d4dcedd0e48dccc1c8138a3cef3 | engine/audio/openal/OALAudioDevice.cpp | engine/audio/openal/OALAudioDevice.cpp | // Copyright 2015-2020 Elviss Strazdins. All rights reserved.
#include "../../core/Setup.h"
#if OUZEL_COMPILE_OPENAL
#if defined(__APPLE__)
# include <TargetConditionals.h>
#endif
#if TARGET_OS_IOS || TARGET_OS_TV
# include <objc/message.h>
# include <objc/NSObjCRuntime.h>
extern "C" id const AVAudioSessionCatego... | // Copyright 2015-2020 Elviss Strazdins. All rights reserved.
#include "../../core/Setup.h"
#if OUZEL_COMPILE_OPENAL
#if defined(__APPLE__)
# include <TargetConditionals.h>
#endif
#if TARGET_OS_IOS || TARGET_OS_TV
# include <objc/message.h>
# include <objc/NSObjCRuntime.h>
extern "C" id const AVAudioSessionCatego... | Print the error if failed to get OpenAL extensions | Print the error if failed to get OpenAL extensions
| C++ | unlicense | elnormous/ouzel,elnormous/ouzel,elnormous/ouzel |
e7a2ec61c5587b3550f1eef6278d2941aaca321f | libraries/blockchain/include/bts/blockchain/config.hpp | libraries/blockchain/include/bts/blockchain/config.hpp | #pragma once
#include <stdint.h>
/* Comment out this line for a non-test network */
// #define BTS_TEST_NETWORK
// #define BTS_TEST_NETWORK_VERSION 10 // autogenerated
/** @file bts/blockchain/config.hpp
* @brief Defines global constants that determine blockchain behavior
*/
#define BTS... | #pragma once
#include <stdint.h>
/* Comment out this line for a non-test network */
// #define BTS_TEST_NETWORK
// #define BTS_TEST_NETWORK_VERSION 10 // autogenerated
/** @file bts/blockchain/config.hpp
* @brief Defines global constants that determine blockchain behavior
*/
#define BTS... | bump blockchain version | bump blockchain version
| C++ | unlicense | dacsunlimited/dac_play,bitsuperlab/cpp-play,bitsuperlab/cpp-play,dacsunlimited/dac_play,bitsuperlab/cpp-play,bitsuperlab/cpp-play,dacsunlimited/dac_play,dacsunlimited/dac_play,dacsunlimited/dac_play,bitsuperlab/cpp-play,dacsunlimited/dac_play,bitsuperlab/cpp-play |
e6e3fd721f730f03889322090a0251696c91461b | test/misc/stringifier_insert_double.cc | test/misc/stringifier_insert_double.cc | /*
** Copyright 2011 Merethis
**
** This file is part of Centreon Clib.
**
** Centreon Clib 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 Free Software Foundation, either version
** 3 of the License, or (at your option) any ... | /*
** Copyright 2011 Merethis
**
** This file is part of Centreon Clib.
**
** Centreon Clib 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 Free Software Foundation, either version
** 3 of the License, or (at your option) any ... | Fix one unit test. | Fix one unit test.
| C++ | apache-2.0 | centreon/centreon-clib,centreon/centreon-clib,centreon/centreon-clib |
e2dacee9cdaf294dbd9e0b03774bf950c5ac68cc | src/pdf/SkPDFUtils.cpp | src/pdf/SkPDFUtils.cpp | /*
* Copyright (C) 2011 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 applicable law or agree... | /*
* Copyright (C) 2011 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 applicable law or agree... | use SkConvertQuadToCubic() | use SkConvertQuadToCubic()
git-svn-id: e8541e15acce502a64c929015570ad1648e548cd@1973 2bbb7eff-a529-9590-31e7-b0007b416f81
| C++ | bsd-3-clause | Cue/skia,Cue/skia,mrobinson/skia,metajack/skia,metajack/skia,mrobinson/skia,mrobinson/skia,metajack/skia,Cue/skia,metajack/skia,mrobinson/skia,mrobinson/skia,Cue/skia |
2fc46c8efbf0f969b3dc8c0c33c9a0bc0b04e13a | test/test_roscpp/src/sim_time_test.cpp | test/test_roscpp/src/sim_time_test.cpp | /*
* 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 following conditions
* are met:
*
* * Redistributions of source code mu... | /*
* 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 following conditions
* are met:
*
* * Redistributions of source code mu... | Add ROS Clock test | Add ROS Clock test
| C++ | bsd-3-clause | ros/ros,ros/ros,ros/ros |
e6db001fdad08718d1e49887f431376af4609c9b | test/test17.cxx | test/test17.cxx | #include <iostream>
#include "test_helpers.hxx"
using namespace std;
using namespace pqxx;
// Simple test program for libpqxx. Open connection to database, start
// a dummy transaction to gain nontransactional access, and perform a query.
namespace
{
void test_017(transaction_base &T)
{
connection_base &C(T.conn... | #include <iostream>
#include "test_helpers.hxx"
using namespace std;
using namespace pqxx;
// Simple test program for libpqxx. Open connection to database, start
// a dummy transaction to gain nontransactional access, and perform a query.
namespace
{
void test_017(transaction_base &T)
{
connection_base &C(T.conn... | Fix compile warning. | Fix compile warning.
| C++ | bsd-3-clause | jtv/libpqxx,jtv/libpqxx,jtv/libpqxx,jtv/libpqxx |
1484032156b72072a55d788cb67fb8c935b45fdc | src/kernel/commandhandler.cpp | src/kernel/commandhandler.cpp |
/**
* This file is part of the boostcache package.
*
* (c) Azat Khuzhin <a3at.mail@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
#include "commandhandler.h"
#include "commands.h"
#include "util/log.h"
#include <boo... |
/**
* This file is part of the boostcache package.
*
* (c) Azat Khuzhin <a3at.mail@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
#include "commandhandler.h"
#include "commands.h"
#include "util/log.h"
#include <boo... | trim arguments for inline requests. | [kernel] split(): trim arguments for inline requests.
| C++ | mit | azat/boostcache,azat/boostcache,azat/boostcache,azat/boostcache |
4b27677910166578fe1c3a291073ec51ca9b7976 | src/qbencodeparser.cpp | src/qbencodeparser.cpp | #ifndef QT_BOOTSTRAPPED
#include <QCoreApplication>
#endif
#include <QDebug>
#include "qbencodeparser_p.h"
//#define PARSER_DEBUG
#ifdef PARSER_DEBUG
static int indent = 0;
#define BEGIN qDebug() << QByteArray(4*indent++, ' ').constData() << "pos = " << (bencode - head) << " begin: "
#define END qDebug() << QByteArray... | #ifndef QT_BOOTSTRAPPED
#include <QCoreApplication>
#endif
#include <QDebug>
#include "qbencodeparser_p.h"
//#define PARSER_DEBUG
#ifdef PARSER_DEBUG
static int indent = 0;
#define BEGIN qDebug() << QByteArray(4*indent++, ' ').constData() << "pos = " << (bencode - head) << " begin: "
#define END qDebug() << QByteArray... | fix logic error in parsing list and dict | QBencodePrivate::Parser: fix logic error in parsing list and dict
| C++ | mit | Aetf/QBencode,Aetf/QBencode,Aetf/QBencode |
1a8d888d7671151c6f0e30f174bfa4fcf499f4cf | kpilot/conduits/memofileconduit/memofile-conduit.cc | kpilot/conduits/memofileconduit/memofile-conduit.cc | /* memofile-conduit.cc KPilot
**
** Copyright (C) 2004-2004 by Jason 'vanRijn' Kasper
**
** This file does the actual conduit work.
*/
/*
** This program 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 Foundat... | /* memofile-conduit.cc KPilot
**
** Copyright (C) 2004-2004 by Jason 'vanRijn' Kasper
**
** This file does the actual conduit work.
*/
/*
** This program 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 Foundat... | Include mocs | Include mocs
svn path=/trunk/kdepim/; revision=369545
| C++ | lgpl-2.1 | lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi |
be78ce11499ab7c7b97902baac0832c499ac1cd0 | media/audio/android/audio_manager_android.cc | media/audio/android/audio_manager_android.cc | // 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 "media/audio/android/audio_manager_android.h"
#include "base/android/build_info.h"
#include "base/android/jni_array.h"
#include "base/androi... | // 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 "media/audio/android/audio_manager_android.h"
#include <algorithm>
#include <string>
#include "base/android/build_info.h"
#include "base/an... | Fix the crash of GetUserMedia | [Android] Fix the crash of GetUserMedia
Crash happens when releasing the audio resource of localusermedia in
openSL ES. On Android there are two ways to get the audio input:
openSL ES and java Recording API. We swtich to the Recording API as a
workaround of the bug. The limitation is Recording API only be avaiable
aft... | C++ | bsd-3-clause | bright-sparks/chromium-spacewalk,bright-sparks/chromium-spacewalk,bright-sparks/chromium-spacewalk,bright-sparks/chromium-spacewalk,bright-sparks/chromium-spacewalk,bright-sparks/chromium-spacewalk,bright-sparks/chromium-spacewalk,bright-sparks/chromium-spacewalk,bright-sparks/chromium-spacewalk |
4a57ac1516a6b09c426b926f0ab29fa74d3fd27e | app/src/main.cpp | app/src/main.cpp | /* Copyright (C) 2016 INRA
*
* 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, publish,
* distr... | /* Copyright (C) 2016 INRA
*
* 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, publish,
* distr... | use context to write console message | main: use context to write console message
| C++ | mit | quesnel/baryonyx,quesnel/baryonyx,quesnel/baryonyx |
2cf576b4e73d20f6687527bfc275243316a8a9e3 | app/src/main.cpp | app/src/main.cpp | /* Copyright (C) 2016 INRA
*
* 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, publish,
* distr... | /* Copyright (C) 2016 INRA
*
* 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, publish,
* distr... | update main to pass correctly parameters | app: update main to pass correctly parameters
| C++ | mit | quesnel/baryonyx,quesnel/baryonyx,quesnel/baryonyx |
2a035c00cde4d33a4f562915c0a1370892b98fb1 | src/qt/aboutdialog.cpp | src/qt/aboutdialog.cpp | #include "aboutdialog.h"
#include "ui_aboutdialog.h"
#include "clientmodel.h"
#include "clientversion.h"
// Copyright year (2009-this)
// Todo: update this when changing our copyright comments in the source
const int ABOUTDIALOG_COPYRIGHT_YEAR = 2013;
AboutDialog::AboutDialog(QWidget *parent) :
QDialog(parent),
... | #include "aboutdialog.h"
#include "ui_aboutdialog.h"
#include "clientmodel.h"
#include "clientversion.h"
// Copyright year (2009-this)
// Todo: update this when changing our copyright comments in the source
const int ABOUTDIALOG_COPYRIGHT_YEAR = 2014;
AboutDialog::AboutDialog(QWidget *parent) :
QDialog(parent),
... | Update aboutdialog.cpp | Update aboutdialog.cpp | C++ | mit | uberadminer/Bobe-Coin,uberadminer/Bobe-Coin,uberadminer/Bobe-Coin,uberadminer/Bobe-Coin,uberadminer/Bobe-Coin |
37c209bc6eef9fa8888a9f28081bb048f8b6eedf | src/qt/messagepage.cpp | src/qt/messagepage.cpp | #include <string>
#include <vector>
#include "main.h"
#include "wallet.h"
#include "init.h"
#include "util.h"
#include "messagepage.h"
#include "ui_messagepage.h"
#include "addressbookpage.h"
#include "guiutil.h"
#include "walletmodel.h"
#include <QClipboard>
#include <QInputDialog>
#include <QList>
#include <QList... | #include <string>
#include <vector>
#include <QClipboard>
#include <QInputDialog>
#include <QList>
#include <QListWidgetItem>
#include <QMessageBox>
#include "main.h"
#include "wallet.h"
#include "init.h"
#include "util.h"
#include "messagepage.h"
#include "ui_messagepage.h"
#include "addressbookpage.h"
#include "g... | Fix compilation warning. | Fix compilation warning.
| C++ | mit | coinkeeper/2015-06-22_19-10_cannacoin,reddcoin-project/reddcoin,ahmedbodi/poscoin,bmp02050/ReddcoinUpdates,coinkeeper/2015-06-22_18-46_reddcoin,reddcoin-project/reddcoin,coinkeeper/2015-06-22_18-46_reddcoin,coinkeeper/2015-06-22_18-46_reddcoin,coinkeeper/2015-06-22_19-10_cannacoin,reddcoin-project/reddcoin,bmp02050/Red... |
14cca407837d638ee789ed4f38697e089011d9c7 | lib/ReaderWriter/ELF/Mips/MipsRelocationHandler.cpp | lib/ReaderWriter/ELF/Mips/MipsRelocationHandler.cpp | //===- lib/ReaderWriter/ELF/Mips/MipsRelocationHandler.cpp ----------------===//
//
// The LLVM Linker
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------... | //===- lib/ReaderWriter/ELF/Mips/MipsRelocationHandler.cpp ----------------===//
//
// The LLVM Linker
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------... | Exit from the class method as soon as possible. | [Mips] Exit from the class method as soon as possible.
git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@202287 91177308-0d34-0410-b5e6-96231b3b80d8
| C++ | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld |
3f2774cabebf505f6f5853b9295985ab932d7a99 | modules/fluid_properties/src/base/FluidPropertiesApp.C | modules/fluid_properties/src/base/FluidPropertiesApp.C | //* This file is part of the MOOSE framework
//* https://www.mooseframework.org
//*
//* All rights reserved, see COPYRIGHT for full restrictions
//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
//*
//* Licensed under LGPL 2.1, please see LICENSE for details
//* https://www.gnu.org/licenses/lgpl-2.1.html
#in... | //* This file is part of the MOOSE framework
//* https://www.mooseframework.org
//*
//* All rights reserved, see COPYRIGHT for full restrictions
//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
//*
//* Licensed under LGPL 2.1, please see LICENSE for details
//* https://www.gnu.org/licenses/lgpl-2.1.html
#in... | Make sure that we have same task ordering as prior in FP | Make sure that we have same task ordering as prior in FP
| C++ | lgpl-2.1 | milljm/moose,dschwen/moose,sapitts/moose,sapitts/moose,dschwen/moose,harterj/moose,andrsd/moose,laagesen/moose,harterj/moose,laagesen/moose,idaholab/moose,laagesen/moose,andrsd/moose,lindsayad/moose,dschwen/moose,idaholab/moose,laagesen/moose,laagesen/moose,lindsayad/moose,milljm/moose,lindsayad/moose,dschwen/moose,ida... |
f09524fc76e81f7cadacf9f0736493f9ac97cb8f | src/runner/console.cpp | src/runner/console.cpp | #include "console.h"
#include <humblelogging/api.h>
#include <iomanip>
#include <boost/thread/lock_guard.hpp>
#include <boost/thread/shared_lock_guard.hpp>
#include <annis/util/helper.h>
HUMBLE_LOGGER(logger, "default");
using namespace annis;
Console::Console()
: dbCache(1073741824l*8l), db(dbCache.get(currentD... | #include "console.h"
#include <humblelogging/api.h>
#include <iomanip>
#include <boost/thread/lock_guard.hpp>
#include <boost/thread/shared_lock_guard.hpp>
#include <annis/util/helper.h>
HUMBLE_LOGGER(logger, "default");
using namespace annis;
Console::Console()
: dbCache(1073741824l*8l), db(dbCache.get(currentD... | Use the number of all CPUs as number of background tasks in console. | Use the number of all CPUs as number of background tasks in console.
| C++ | apache-2.0 | thomaskrause/graphANNIS,thomaskrause/graphANNIS,thomaskrause/graphANNIS,thomaskrause/graphANNIS,thomaskrause/graphANNIS,thomaskrause/graphANNIS,thomaskrause/graphANNIS |
d49f2131b7d0da9fd398755513d257f561a5ad46 | src/server/listener.cc | src/server/listener.cc | /* listener.cc
Mathieu Stefani, 12 August 2015
*/
#include <pistache/listener.h>
#include <pistache/peer.h>
#include <pistache/common.h>
#include <pistache/os.h>
#include <pistache/transport.h>
#include <pistache/errors.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <arpa/ine... | /* listener.cc
Mathieu Stefani, 12 August 2015
*/
#include <pistache/listener.h>
#include <pistache/peer.h>
#include <pistache/common.h>
#include <pistache/os.h>
#include <pistache/transport.h>
#include <pistache/errors.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <arpa/ine... | Update listener.cc | Update listener.cc
using std::string, fix code style | C++ | apache-2.0 | oktal/rest,oktal/pistache,oktal/pistache,oktal/rest,oktal/pistache,oktal/rest,oktal/rest,oktal/pistache,oktal/pistache |
35413e27e7c9eaa46c1c2101c5750758a3592440 | src/service_handler.cc | src/service_handler.cc | /*
* Copyright (c) 2010, The Infrastructure Developers Group
* All rights reserved.
*
* This file is subject to the New BSD License (see the LICENSE file).
*/
#include "service_handler.h"
#include <sys/select.h>
#include "loop.h"
#include "process.h"
#include "settings.h"
#include "utils.h"
#ifndef FD_COPY
#def... | /*
* Copyright (c) 2010, The Infrastructure Developers Group
* All rights reserved.
*
* This file is subject to the New BSD License (see the LICENSE file).
*/
#include "service_handler.h"
#include <sys/select.h>
#include "loop.h"
#include "process.h"
#include "settings.h"
#include "utils.h"
#ifndef FD_COPY
#def... | Tweak todo | Tweak todo
| C++ | mit | silas/tyrion,silas/tyrion,silas/tyrion,silas/tyrion,silas/tyrion |
3283d4fe871ad6728e16e1f65c731b1c26dc60ed | src/slib/ui/ui_app.cpp | src/slib/ui/ui_app.cpp | /*
* Copyright (c) 2008-2018 SLIBIO <https://github.com/SLIBIO>
*
* 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
* ... | /*
* Copyright (c) 2008-2018 SLIBIO <https://github.com/SLIBIO>
*
* 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
* ... | set main window's menu as application menu automatically | [macOS] ui/Menu: set main window's menu as application menu automatically
| C++ | mit | SLIBIO/SLib,SLIBIO/SLib,SLIBIO/SLib,SLIBIO/SLib,SLIBIO/SLib |
8eeaa4f21203f669fb202bc345dcfdb2f5dc19fb | src/test/net_tests.cpp | src/test/net_tests.cpp | // Copyright (c) 2012-2016 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "addrman.h"
#include "test/test_dash.h"
#include <string>
#include <boost/test/unit_test.hpp>
#include "hash.h"
#incl... | // Copyright (c) 2012-2016 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "addrman.h"
#include "test/test_dash.h"
#include <string>
#include <boost/test/unit_test.hpp>
#include "hash.h"
#incl... | Fix typo adddrman to addrman as requested in #8070 | Fix typo adddrman to addrman as requested in #8070
| C++ | mit | dashpay/dash,thelazier/dash,ivansib/sibcoin,crowning-/dash,biblepay/biblepay,crowning-/dash,dashpay/dash,nmarley/dash,UdjinM6/dash,dashpay/dash,crowning-/dash,nmarley/dash,ionomy/ion,UdjinM6/dash,biblepay/biblepay,dashpay/dash,thelazier/dash,thelazier/dash,thelazier/dash,ionomy/ion,crowning-/dash,biblepay/biblepay,Udji... |
a140e7c6f11d4985997e6c7db70e78ed103b5fa9 | src/vm/weak_object.cpp | src/vm/weak_object.cpp | /*
* Copyright (C) 2010-2011 O01eg <o01eg@yandex.ru>
*
* This file is part of Genetic Function Programming.
*
* Genetic Function Programming 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 v... | /*
* Copyright (C) 2010-2011 O01eg <o01eg@yandex.ru>
*
* This file is part of Genetic Function Programming.
*
* Genetic Function Programming 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 v... | Speed up objects's compare . | Speed up objects's compare .
| C++ | mit | o01eg/gfp,o01eg/gfp,o01eg/gfp |
36202cf7ddbaa7b3f654cd896de6ea301389c698 | src/weston_backend.hpp | src/weston_backend.hpp | #ifndef WESTON_BACKEND_HPP
#define WESTON_BACKEND_HPP
#include "commonincludes.hpp"
#include "core.hpp"
#include <compositor-drm.h>
#include <compositor-x11.h>
#include <compositor-wayland.h>
#include <windowed-output-api.h>
#include <cstring>
#include <assert.h>
#include <libinput.h>
wl_listener output_pending_liste... | #ifndef WESTON_BACKEND_HPP
#define WESTON_BACKEND_HPP
#include "commonincludes.hpp"
#include "core.hpp"
#include <compositor-drm.h>
#include <compositor-x11.h>
#include <compositor-wayland.h>
#include <windowed-output-api.h>
#include <cstring>
#include <assert.h>
#include <libinput.h>
wl_listener output_pending_liste... | remove config.connection which is also removed from libweston | libweston: remove config.connection which is also removed from libweston
| C++ | mit | ammen99/wayfire,ammen99/wayfire |
b9318d9d106666e430f4f278d1a38b5315fd4732 | ScriptingProject/MapSelectUI.cpp | ScriptingProject/MapSelectUI.cpp | #include "stdafx.h"
#include <string>
#include <map>
#include <vector>
#include "../Application.h"
#include "../ModuleScripting.h"
#include "../ModuleInput.h"
#include "../ModuleWindow.h"
#include "../ComponentTransform.h"
#include "../ModuleGOManager.h"
#include "../GameObject.h"
#include "../Component.h"
#include ".... | #include "stdafx.h"
#include <string>
#include <map>
#include <vector>
#include "../Application.h"
#include "../ModuleScripting.h"
#include "../ModuleInput.h"
#include "../ModuleWindow.h"
#include "../ComponentTransform.h"
#include "../ModuleGOManager.h"
#include "../GameObject.h"
#include "../Component.h"
#include ".... | Correct Path! | Correct Path!
| C++ | mit | CITMProject3/Project3,CITMProject3/Project3,CITMProject3/Project3,CITMProject3/Project3 |
3bfe8da6b6a96da626b5b7d9afd2cfc541530939 | src/world/GMTicket.cpp | src/world/GMTicket.cpp | /*
* AscEmu Framework based on ArcEmu MMORPG Server
* Copyright (C) 2014-2015 AscEmu Team <http://www.ascemu.org/>
* Copyright (C) 2008-2012 ArcEmu Team <http://www.ArcEmu.org/>
* Copyright (C) 2005-2007 Ascent Team
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of ... | /*
* AscEmu Framework based on ArcEmu MMORPG Server
* Copyright (C) 2014-2015 AscEmu Team <http://www.ascemu.org/>
* Copyright (C) 2008-2012 ArcEmu Team <http://www.ArcEmu.org/>
* Copyright (C) 2005-2007 Ascent Team
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of ... | Rename enum LagReportType members LAP -> LAG | Rename enum LagReportType members LAP -> LAG
| C++ | agpl-3.0 | Appled/AscEmu,master312/AscEmu,master312/AscEmu,master312/AscEmu,Appled/AscEmu,AscEmu/AscEmu,Appled/AscEmu,master312/AscEmu,master312/AscEmu,master312/AscEmu,AscEmu/AscEmu,AscEmu/AscEmu |
8b48ca0b23b6274d5af2c455c897065e6438f09d | examples_tests/06.MeshLoaders/main.cpp | examples_tests/06.MeshLoaders/main.cpp | #define _IRR_STATIC_LIB_
#include <irrlicht.h>
#include "../ext/ScreenShot/ScreenShot.h"
#include "../common/QToQuitEventReceiver.h"
// TODO: remove dependency
#include "../src/irr/asset/CBAWMeshWriter.h"
using namespace irr;
using namespace core;
class SimpleCallBack : public video::IShaderConstantSetCallBack
{
... | #define _IRR_STATIC_LIB_
#include <irrlicht.h>
#include "../ext/ScreenShot/ScreenShot.h"
#include "../common/QToQuitEventReceiver.h"
// TODO: remove dependency
#include "../src/irr/asset/CBAWMeshWriter.h"
using namespace irr;
using namespace core;
class SimpleCallBack : public video::IShaderConstantSetCallBack
{
... | fix ex 6 | fix ex 6
| C++ | apache-2.0 | buildaworldnet/IrrlichtBAW,buildaworldnet/IrrlichtBAW,buildaworldnet/IrrlichtBAW |
3dee04a4ea2cb0915f7b531c3601870ab2478b85 | cpp/rewrite_ssoar.cc | cpp/rewrite_ssoar.cc | /** \brief A tool for rewriting information in ssoar data
* \author Johannes Riedl
*
* \copyright 2018 Universitätsbibliothek Tübingen. All rights reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published... | /** \brief A tool for rewriting information in ssoar data
* \author Johannes Riedl
*
* \copyright 2018 Universitätsbibliothek Tübingen. All rights reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published... | Change naming | Change naming
| C++ | agpl-3.0 | ubtue/ub_tools,ubtue/ub_tools,ubtue/ub_tools,ubtue/ub_tools,ubtue/ub_tools,ubtue/ub_tools,ubtue/ub_tools,ubtue/ub_tools |
73c52482558c01412fa557335a46f4e7a84e4bb1 | cppad/index_sort.hpp | cppad/index_sort.hpp | /* $Id$ */
# ifndef CPPAD_INDEX_SORT_INCLUDED
# define CPPAD_INDEX_SORT_INCLUDED
/* --------------------------------------------------------------------------
CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-12 Bradley M. Bell
CppAD is distributed under multiple licenses. This distribution is under
the term... | /* $Id$ */
# ifndef CPPAD_INDEX_SORT_INCLUDED
# define CPPAD_INDEX_SORT_INCLUDED
/* --------------------------------------------------------------------------
CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-13 Bradley M. Bell
CppAD is distributed under multiple licenses. This distribution is under
the term... | fix font in documentation of ind. | index_sort.hpp: fix font in documentation of ind.
git-svn-id: 3f5418f4deb1796ec361794c2e3ca0aec3c9c1fd@2774 0e562018-b8fb-0310-a933-ecf073c7c197
| C++ | epl-1.0 | wegamekinglc/CppAD,utke1/cppad,wegamekinglc/CppAD,wegamekinglc/CppAD,kaskr/CppAD,utke1/cppad,kaskr/CppAD,wegamekinglc/CppAD,utke1/cppad,kaskr/CppAD,wegamekinglc/CppAD,kaskr/CppAD,utke1/cppad,kaskr/CppAD |
2ca0d97cfdb5fb80ba2b6e724b7ef5068dd59d0d | support/parsers/net.cc | support/parsers/net.cc | #include <algorithm> // search
#include <array>
#include <cassert>
#include <deque>
#include <iostream>
#include <limits>
#include <regex>
#include <sstream>
#include <type_traits>
#include <unordered_map>
#include <unordered_set>
#include <boost/algorithm/string/join.hpp>
#include <boost/optional.hpp>
#include "supp... | #include <algorithm> // search
#include <array>
#include <cassert>
#include <deque>
#include <iostream>
#include <limits>
#include <regex>
#include <sstream>
#include <type_traits>
#include <unordered_map>
#include <unordered_set>
#include <boost/algorithm/string/join.hpp>
#include <boost/optional.hpp>
#include "supp... | Remove unused 'using namespace' | Remove unused 'using namespace'
| C++ | bsd-2-clause | ahamez/pnmc,ahamez/pnmc |
40e47a16df0384f894ad8e0ec918d4a8d3535d1f | tools/ouzel/xcode/PBXFileReference.hpp | tools/ouzel/xcode/PBXFileReference.hpp | // Copyright 2015-2020 Elviss Strazdins. All rights reserved.
#ifndef OUZEL_XCODE_PBXFILEREFERENCE_HPP
#define OUZEL_XCODE_PBXFILEREFERENCE_HPP
#include "PBXFileElement.hpp"
#include "PBXFileType.hpp"
namespace ouzel::xcode
{
class PBXFileReference: public PBXFileElement
{
public:
PBXFileReferenc... | // Copyright 2015-2020 Elviss Strazdins. All rights reserved.
#ifndef OUZEL_XCODE_PBXFILEREFERENCE_HPP
#define OUZEL_XCODE_PBXFILEREFERENCE_HPP
#include "PBXFileElement.hpp"
#include "PBXFileType.hpp"
namespace ouzel::xcode
{
class PBXFileReference: public PBXFileElement
{
public:
PBXFileReferenc... | Initialize fileType to avoid warnings | Initialize fileType to avoid warnings
| C++ | unlicense | elnormous/ouzel,elnormous/ouzel,elnormous/ouzel |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.