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 |
|---|---|---|---|---|---|---|---|---|---|
bc4dc5794f4309df697fdb38e21ab1df6bc9d354 | src/import/generic/memory/lib/utils/shared/mss_generic_consts.H | src/import/generic/memory/lib/utils/shared/mss_generic_consts.H | /* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/import/generic/memory/lib/utils/shared/mss_generic_consts.H $ */
/* ... | /* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/import/generic/memory/lib/utils/shared/mss_generic_consts.H $ */
/* ... | Remove Nimbus dependencies from the SPD decoder | Remove Nimbus dependencies from the SPD decoder
Created a new pre_data_engine to set preliminary data
needed before eff_config. Moved SPD to attribute mapping
to eff_dimm structure and away from the SPD decoder to make
it reusable for future memory controllers. Updated bugs in
unit tests. Added SPD factory classes.
T... | C++ | apache-2.0 | open-power/hostboot,open-power/hostboot,open-power/hostboot,open-power/hostboot,open-power/hostboot |
114d081049157b2c27561dc681155988da75aa30 | fbhackcup/2019/round1/16/16.cpp | fbhackcup/2019/round1/16/16.cpp |
/* ========================================
* File Name : 16.cpp
* Creation Date : 09-08-2020
* Last Modified : Út 11. srpna 2020, 19:06:09
* Created By : Karel Ha <mathemage@gmail.com>
* URL : https://www.facebook.com/codingcompetitions/hacker-cup/2019/round-1/problems/B
* Points Gained (in c... |
/* ========================================
* File Name : 16.cpp
* Creation Date : 09-08-2020
* Last Modified : St 12. srpna 2020, 22:27:49
* Created By : Karel Ha <mathemage@gmail.com>
* URL : https://www.facebook.com/codingcompetitions/hacker-cup/2019/round-1/problems/B
* Points Gained (in c... | Use stored values when memoized already | Fix: Use stored values when memoized already
- Fb Hackercup '19 Round 1, 16
Signed-off-by: Karel Ha <70f8965fdfb04f1fc0e708a55d9e822c449f57d3@gmail.com>
| C++ | mit | mathemage/CompetitiveProgramming,mathemage/CompetitiveProgramming,mathemage/CompetitiveProgramming,mathemage/CompetitiveProgramming,mathemage/CompetitiveProgramming,mathemage/CompetitiveProgramming |
7d34a513f5ca2a501a4b33894bea86a28d0bf1e6 | bitreader/include/ruberoid/bitreader/bitreader.hpp | bitreader/include/ruberoid/bitreader/bitreader.hpp | #pragma once
#include <cstdint>
#include <cstddef>
#include <type_traits>
#include <cassert>
#include <stdexcept>
template<typename T>
using if_unsigned_integral = std::enable_if_t<std::is_unsigned_v<T> && std::is_integral_v<T>, T>;
template<typename T>
using if_signed_integral = std::enable_if_t<std::is_signed_v<T> ... | #pragma once
#include <cstdint>
#include <cstddef>
#include <type_traits>
#include <cassert>
#include <stdexcept>
template<typename T>
using if_unsigned_integral = std::enable_if_t<std::is_unsigned_v<T> && std::is_integral_v<T>, T>;
template<typename T>
using if_signed_integral = std::enable_if_t<std::is_signed_v<T> ... | Fix align | Fix align
| C++ | bsd-3-clause | axethrower/ruberoid |
9aa0b7ac8996b3bfdcfcb2e250c721544ba8be00 | include/tudocomp/compressors/esacomp/decoding/LazySuccinctListBuffer.hpp | include/tudocomp/compressors/esacomp/decoding/LazySuccinctListBuffer.hpp | #pragma once
#include <vector>
#include <sdsl/int_vector.hpp>
#include <sdsl/rank_support.hpp>
#include <tudocomp/def.hpp>
#include <tudocomp/ds/IntVector.hpp>
#include <tudocomp/compressors/esacomp/decoding/DecodeQueueListBuffer.hpp>
#include <algorithm>
namespace tdc {
namespace esacomp {
class LazyDecoder {
... | #pragma once
#include <vector>
#include <sdsl/int_vector.hpp>
#include <sdsl/rank_support.hpp>
#include <tudocomp/def.hpp>
#include <tudocomp/ds/IntVector.hpp>
#include <tudocomp/compressors/esacomp/decoding/DecodeQueueListBuffer.hpp>
#include <algorithm>
namespace tdc {
namespace esacomp {
class LazyDecoder {
... | add last stat to LazySuccinctListBuffer.hpp | add last stat to LazySuccinctListBuffer.hpp
| C++ | apache-2.0 | tudocomp/tudocomp,tudocomp/tudocomp,tudocomp/tudocomp,tudocomp/tudocomp,tudocomp/tudocomp |
45a915954650b0c2f5752ae9e958a194d2483852 | bridging/plugins/nest_plugin/nest_objects/nest.cpp | bridging/plugins/nest_plugin/nest_objects/nest.cpp | //******************************************************************
//
// Copyright 2017 Intel Mobile Communications GmbH All Rights Reserved.
//
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except ... | //******************************************************************
//
// Copyright 2017 Intel Mobile Communications GmbH All Rights Reserved.
//
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except ... | Return false boolean instead of enum | bridging: Return false boolean instead of enum
Small Fix to support g++-7.1.0
It was tested on yocto poky master on iotivity-1.3.0 (and later):
bridging/plugins/nest_plugin/nest_objects/nest.cpp: \
In member function 'bool Nest::isAuthorized()':
bridging/plugins/nest_plugin/nest_objects/nest.cpp:95:16: \
err... | C++ | apache-2.0 | iotivity/iotivity,iotivity/iotivity,rzr/iotivity,iotivity/iotivity,iotivity/iotivity,iotivity/iotivity,iotivity/iotivity,rzr/iotivity,iotivity/iotivity,iotivity/iotivity,rzr/iotivity,rzr/iotivity,rzr/iotivity,rzr/iotivity,rzr/iotivity |
7fbe56ad534436871560ae52740ceee25a18beb1 | PolyMapGeneratorTest/MapTest.cpp | PolyMapGeneratorTest/MapTest.cpp | #include <iostream>
#include <SFML/Graphics.hpp>
#include <SFML/Window.hpp>
#include "Map.h"
#include "Structure.h"
#include "Noise/noise.h"
const int WIDTH = 800;
const int HEIGHT = 600;
const int POINT_SIZE = 2;
const int LINE_SIZE = 1;
struct InfoShown
{
enum class Name
{
Elevation,
Moisture,
Biomes
};
... | #include <iostream>
#include <SFML/Graphics.hpp>
#include <SFML/Window.hpp>
#include "Map.h"
#include "Structure.h"
#include "Noise/noise.h"
#include "QuadTree.h"
#include "PoissonDiskSampling/PoissonDiskSampling.h"
const int WIDTH = 800;
const int HEIGHT = 600;
const int POINT_SIZE = 2;
const int LINE_SIZE = 1;
st... | Add include files | Add include files
| C++ | mit | utilForever/PolyMapGenerator |
b873777a6528d62df32a430fa4b33ac5058377fc | include/metaverse/explorer/extensions/commands/listbalances.hpp | include/metaverse/explorer/extensions/commands/listbalances.hpp | /**
* Copyright (c) 2016-2017 mvs developers
*
* This file is part of metaverse-explorer.
*
* metaverse-explorer is free software: you can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License with
* additional permissions to the one published by the Free Software
* Founda... | /**
* Copyright (c) 2016-2017 mvs developers
*
* This file is part of metaverse-explorer.
*
* metaverse-explorer is free software: you can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License with
* additional permissions to the one published by the Free Software
* Founda... | change listbalances default output | change listbalances default output
| C++ | agpl-3.0 | the-metaverse/metaverse,mvs-org/metaverse,mvs-live/metaverse,mvs-live/metaverse,the-metaverse/metaverse,the-metaverse/metaverse,mvs-org/metaverse,mvs-org/metaverse,mvs-org/metaverse,mvs-org/metaverse,mvs-org/metaverse |
9d071772e6d83ab96cf79cb47e5ad659eea731bb | apps/tests/test_zgemm.cpp | apps/tests/test_zgemm.cpp | #include <sirius.h>
void test_gemm(int M, int N, int K, int transa, mdarray<double_complex, 2>& c)
{
sirius::Timer t("test_gemm");
mdarray<double_complex, 2> a;
if (transa == 0)
{
a.set_dimensions(N, K);
a.allocate();
for (int j = 0; j < K; j++)
{
for (... | #include <sirius.h>
void test_gemm(int M, int N, int K, int transa)
{
sirius::Timer t("test_gemm");
mdarray<double_complex, 2> a, b, c;
int imax, jmax;
if (transa == 0)
{
imax = N;
jmax = K;
}
else
{
imax = K;
jmax = N;
}
a.set_dimensions(im... | update of test_zgemm | update of test_zgemm
| C++ | bsd-2-clause | dithillobothrium/SIRIUS,electronic-structure/sirius,electronic-structure/sirius,dithillobothrium/SIRIUS,electronic-structure/sirius,dithillobothrium/SIRIUS,toxa81/sirius,electronic-structure/sirius,electronic-structure/sirius,dithillobothrium/SIRIUS,toxa81/sirius,toxa81/sirius,electronic-structure/sirius,electronic-str... |
d564fca3d26eee0a43455810fa4bf4cf01b62947 | arangod/Aql/Optimizer.cpp | arangod/Aql/Optimizer.cpp | ////////////////////////////////////////////////////////////////////////////////
/// @brief infrastructure for query optimizer
///
/// @file arangod/Aql/Optimizer.cpp
///
/// DISCLAIMER
///
/// Copyright 2010-2014 triagens GmbH, Cologne, Germany
///
/// Licensed under the Apache License, Version 2.0 (the "License");
//... | ////////////////////////////////////////////////////////////////////////////////
/// @brief infrastructure for query optimizer
///
/// @file arangod/Aql/Optimizer.cpp
///
/// DISCLAIMER
///
/// Copyright 2010-2014 triagens GmbH, Cologne, Germany
///
/// Licensed under the Apache License, Version 2.0 (the "License");
//... | Make distribute-filtercalc-in-cluster switch-off-able. | Make distribute-filtercalc-in-cluster switch-off-able.
| C++ | apache-2.0 | thurt/arangodb,baslr/ArangoDB,CoDEmanX/ArangoDB,baslr/ArangoDB,m0ppers/arangodb,jsteemann/arangodb,Simran-B/arangodb,thurt/arangodb,CoDEmanX/ArangoDB,graetzer/arangodb,jsteemann/arangodb,CoDEmanX/ArangoDB,m0ppers/arangodb,wiltonlazary/arangodb,m0ppers/arangodb,thurt/arangodb,CoDEmanX/ArangoDB,thurt/arangodb,joerg84/ara... |
51c04121898fbd61105080bd622cedfe8fdbc1e5 | Metazion/Share/Collection/Map.hpp | Metazion/Share/Collection/Map.hpp | #ifndef _MZ_SHARE_MAP_HPP_
#define _MZ_SHARE_MAP_HPP_
#include "Metazion/Share/ShareInclude.hpp"
#include "Metazion/Share/Collection/MapIterator.hpp"
#include "Metazion/Share/Collection/RBTree.hpp"
#include "Metazion/Share/Memory/HeapAllocator.hpp"
DECL_NAMESPACE_MZ_SHARE_BEGIN
template<typename KeyType
, typename ... | #ifndef _MZ_SHARE_MAP_HPP_
#define _MZ_SHARE_MAP_HPP_
#include "Metazion/Share/ShareInclude.hpp"
#include "Metazion/Share/Collection/MapIterator.hpp"
#include "Metazion/Share/Collection/RBTree.hpp"
#include "Metazion/Share/Memory/HeapAllocator.hpp"
DECL_NAMESPACE_MZ_SHARE_BEGIN
template<typename KeyType
, typename ... | Improve map. | Improve map.
| C++ | mit | Metazion/Metazion,Metazion/Metazion |
fb0150c035284dedf63b920ae0668c8ec397ffd5 | iree/compiler/Dialect/Shape/Conversion/ConvertShapeToShapex.cpp | iree/compiler/Dialect/Shape/Conversion/ConvertShapeToShapex.cpp | // Copyright 2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | // Copyright 2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | Handle case where shape.shape_of feeds into from_extent_tensor. | [shapex] Handle case where shape.shape_of feeds into from_extent_tensor.
Pre-fetching for upstream change where shape.shape_of can produce a
ranked tensor of index, rather than just a shape and post
canonicalization one has a shape.shape_of feeding into a
shapex.from_extent_tensor directly. The lowering of shape_of ti... | C++ | apache-2.0 | google/iree,google/iree,iree-org/iree,google/iree,iree-org/iree,google/iree,google/iree,iree-org/iree,iree-org/iree,google/iree,iree-org/iree,google/iree,iree-org/iree,iree-org/iree |
93b6da21e10f82283e2bab783558c1e87eb53714 | src/arch/mips64.cpp | src/arch/mips64.cpp | #include "arch.h"
#include <algorithm>
#include <array>
// SP + 8 points to the first argument that is passed on the stack
#define ARG0_STACK 8
namespace bpftrace {
namespace arch {
// clang-format off
static std::array<std::string, 32> registers = {
"zero",
"at",
"v0",
"v1",
"a0",
"a1",
"a2",
"a3",... | #include "arch.h"
#include <algorithm>
#include <array>
// SP + 8 points to the first argument that is passed on the stack
#define ARG0_STACK 8
namespace bpftrace {
namespace arch {
// clang-format off
static std::array<std::string, 32> registers = {
"zero",
"at",
"v0",
"v1",
"a0",
"a1",
"a2",
"a3",... | Add invalid_watchpoint_modes function in mips | Add invalid_watchpoint_modes function in mips
| C++ | apache-2.0 | iovisor/bpftrace,iovisor/bpftrace,iovisor/bpftrace,iovisor/bpftrace |
687f0c7dc0324192d71f2165552e81a9d4346b4a | hal/lib/athena/SerialHelper.cpp | hal/lib/athena/SerialHelper.cpp | /*----------------------------------------------------------------------------*/
/* Copyright (c) FIRST 2016. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of... | /*----------------------------------------------------------------------------*/
/* Copyright (c) FIRST 2016. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of... | Use const parameters in std::sort lambda. (#364) | Use const parameters in std::sort lambda. (#364)
This is more correct, and non-const fails on gcc 4.8. | C++ | bsd-3-clause | robotdotnet/allwpilib,robotdotnet/allwpilib,333fred/allwpilib,robotdotnet/allwpilib,333fred/allwpilib,robotdotnet/allwpilib,robotdotnet/allwpilib,333fred/allwpilib,333fred/allwpilib,robotdotnet/allwpilib,333fred/allwpilib,333fred/allwpilib |
bc1e4bcfa8e7d6d04c3afbd3354ed43108d6fea3 | arch/exception_handler.cc | arch/exception_handler.cc | /* exception_handler.cc
Jeremy Barnes, 26 February 2008
Copyright (c) 2009 Jeremy Barnes. All rights reserved.
*/
#include <cxxabi.h>
#include <fstream>
#include "jml/compiler/compiler.h"
#include "jml/utils/environment.h"
#include "backtrace.h"
#include "demangle.h"
#include "exception.h"
#include "exceptio... | /* exception_handler.cc
Jeremy Barnes, 26 February 2008
Copyright (c) 2009 Jeremy Barnes. All rights reserved.
*/
#include <cxxabi.h>
#include <cstring>
#include <fstream>
#include "jml/compiler/compiler.h"
#include "jml/utils/environment.h"
#include "backtrace.h"
#include "demangle.h"
#include "exception.h"... | include cstring so that strcpy is declared | PLAT-545: include cstring so that strcpy is declared
| C++ | apache-2.0 | rtbkit/rtbkit,emmanuelleparquier/rtbkitinstall,rtbkit/rtbkit,wesley1001/rtbkit,Motrixi/rtbkit-vainilla,ksurendra/rtbkit,monoj-khatua/rtbkit,emmanuelleparquier/rtbkitinstall,ksurendra/rtbkit,OrbitScripts/rtbkit,wesley1001/rtbkit,meiry/rtbkit,pablin87/rtbkit,wesley1001/rtbkit,pablin87/rtbkit,winclap/rtbkit,pablin87/rtbki... |
609c2432e9d463dda59d5a178b0d7850a65d2e33 | src/backenddata.cpp | src/backenddata.cpp | #include "backenddata.h"
#include "debug.h"
#include "tasks-tarsnap.h"
BackendData::BackendData()
{
}
QMap<QString, JobPtr> BackendData::jobs()
{
return _jobMap;
}
QMap<QString, ArchivePtr> BackendData::archives()
{
return _archiveMap;
}
quint64 BackendData::numArchives()
{
return static_cast<quint64>... | #include "backenddata.h"
#include "debug.h"
#include "tasks-tarsnap.h"
BackendData::BackendData()
{
}
QMap<QString, JobPtr> BackendData::jobs()
{
return _jobMap;
}
QMap<QString, ArchivePtr> BackendData::archives()
{
return _archiveMap;
}
quint64 BackendData::numArchives()
{
return static_cast<quint64>... | simplify findMatchingArchives | BackendData: simplify findMatchingArchives
| C++ | bsd-2-clause | Tarsnap/tarsnap-gui,Tarsnap/tarsnap-gui,Tarsnap/tarsnap-gui,Tarsnap/tarsnap-gui,Tarsnap/tarsnap-gui |
789f9f7f234ddbc33dd599815ded7363478ecd5e | plugins/node-control.cpp | plugins/node-control.cpp | // Copyright 2013 Samplecount S.L.
//
// 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 2013 Samplecount S.L.
//
// 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... | Make node-control synth definitions static | Make node-control synth definitions static
| C++ | apache-2.0 | samplecount/methcla,samplecount/methcla,samplecount/methcla,samplecount/methcla,samplecount/methcla,samplecount/methcla |
b1797ff8b9409155f5c7c350bc207ebc14b17141 | dune/multiscale/fem/algorithm.cc | dune/multiscale/fem/algorithm.cc | #include <config.h>
// dune-multiscale
// Copyright Holders: Patrick Henning, Rene Milk
// License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
#include "algorithm.hh"
#include <dune/multiscale/hmm/cell_problem_numbering.hh>
#include <dune/multiscale/tools/misc/outputparameter.hh>
#include <dun... | #include <config.h>
// dune-multiscale
// Copyright Holders: Patrick Henning, Rene Milk
// License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
#include "algorithm.hh"
#include <dune/multiscale/hmm/cell_problem_numbering.hh>
#include <dune/multiscale/tools/misc/outputparameter.hh>
#include <dun... | fix dirichlet bd treatment in standalone binary | [fem] fix dirichlet bd treatment in standalone binary
| C++ | bsd-2-clause | wwu-numerik/DUNE-Multiscale,wwu-numerik/DUNE-Multiscale |
c2270f23ce16a3122780b7c5b337faf36f5a2a7c | src/Nazara/Utility/Formats/STBSaver.cpp | src/Nazara/Utility/Formats/STBSaver.cpp | // Copyright (C) 2015 Jérôme Leclercq
// This file is part of the "Nazara Engine - Utility module"
// For conditions of distribution and use, see copyright notice in Config.hpp
#include <Nazara/Utility/Formats/STBLoader.hpp>
#include <stb/stb_image_write.h>
#include <Nazara/Utility/Image.hpp>
#include <Nazara/Utility/... | // Copyright (C) 2015 Jérôme Leclercq
// This file is part of the "Nazara Engine - Utility module"
// For conditions of distribution and use, see copyright notice in Config.hpp
#include <Nazara/Utility/Formats/STBLoader.hpp>
#include <stb/stb_image_write.h>
#include <Nazara/Utility/Image.hpp>
#include <Nazara/Utility/... | Fix error message | Utility/STBSaver: Fix error message
Former-commit-id: 40d0d01efcce56f8cd1ba516a5f1336ac4dc2a26 [formerly 46a7331866a7a1033d8238d2f49a6100bc9e8dd6]
Former-commit-id: 52de2bb4622a3499f69fb59dc5b9f1602cbac8cb | C++ | mit | DigitalPulseSoftware/NazaraEngine |
276dcc0ad86e5010268ae78efecc9f30e2139877 | src/src/region.cc | src/src/region.cc | #include "region.h"
#include "config.h"
#include "util.h"
#include <algorithm>
using namespace std;
region::region(int32_t _lpos, int32_t _rpos, int _ltype, int _rtype, const split_interval_map *_mmap, const split_interval_map *_imap, bool _inclusive)
:lpos(_lpos), rpos(_rpos), mmap(_mmap), imap(_imap), ltype(_ltype... | #include "region.h"
#include "config.h"
#include "util.h"
#include <algorithm>
using namespace std;
region::region(int32_t _lpos, int32_t _rpos, int _ltype, int _rtype, const split_interval_map *_mmap, const split_interval_map *_imap, bool _inclusive)
:lpos(_lpos), rpos(_rpos), mmap(_mmap), imap(_imap), ltype(_ltype... | fix bug in checking empty subregion | fix bug in checking empty subregion
| C++ | bsd-3-clause | Kingsford-Group/scallop |
f8d202438c1202e241ed2039a34dbe1efee57239 | src/lib/kineticmodel.cpp | src/lib/kineticmodel.cpp | /*
This file is part of the Ofi Labs X2 project.
Copyright (C) 2010 Ariya Hidayat <ariya.hidayat@gmail.com>
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... | /*
This file is part of the Ofi Labs X2 project.
Copyright (C) 2010 Ariya Hidayat <ariya.hidayat@gmail.com>
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... | Fix kinetic spinning at high zoom levels. | Fix kinetic spinning at high zoom levels.
Geoposition differences are small at high zoom levels and
deacceleration is small as well. Use a smaller threshold to abort
kinetic spinning to have it work at higher zoom levels as well.
| C++ | lgpl-2.1 | oberluz/marble,tzapzoor/marble,Earthwings/marble,quannt24/marble,quannt24/marble,tucnak/marble,rku/marble,utkuaydin/marble,adraghici/marble,utkuaydin/marble,utkuaydin/marble,David-Gil/marble-dev,Earthwings/marble,oberluz/marble,rku/marble,David-Gil/marble-dev,Earthwings/marble,adraghici/marble,David-Gil/marble-dev,Eart... |
928cccc620f075bd768e5ba907d63b2c8abc82b2 | src/libANGLE/Sampler.cpp | src/libANGLE/Sampler.cpp | //
// Copyright (c) 2013 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// Sampler.cpp : Implements the Sampler class, which represents a GLES 3
// sampler object. Sampler objects store some state needed to samp... | //
// Copyright (c) 2013 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// Sampler.cpp : Implements the Sampler class, which represents a GLES 3
// sampler object. Sampler objects store some state needed to samp... | Fix a warning on Linux and Mac | Sampler.cpp: Fix a warning on Linux and Mac
BUG=
Change-Id: I58a19de9d5978aa4d65ac2ab1acd2fbd233ec6a2
Reviewed-on: https://chromium-review.googlesource.com/302463
Reviewed-by: Geoff Lang <b6fc25fe0362055230985c05cbfa8adb741ccc0f@chromium.org>
Tested-by: Geoff Lang <b6fc25fe0362055230985c05cbfa8adb741ccc0f@chromium.or... | C++ | bsd-3-clause | mlfarrell/angle,ppy/angle,vvuk/angle,vvuk/angle,mybios/angle,mlfarrell/angle,ppy/angle,mybios/angle,mikolalysenko/angle,MSOpenTech/angle,mikolalysenko/angle,ppy/angle,ecoal95/angle,ecoal95/angle,MSOpenTech/angle,mikolalysenko/angle,domokit/waterfall,vvuk/angle,mikolalysenko/angle,MSOpenTech/angle,ecoal95/angle,domokit/... |
f8912c5033a73a6c2a11e54f88492bc4faf41c56 | src/libGLESv2/Buffer.cpp | src/libGLESv2/Buffer.cpp | #include "precompiled.h"
//
// Copyright (c) 2002-2013 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// Buffer.cpp: Implements the gl::Buffer class, representing storage of vertex and/or
// index data. Implemen... | #include "precompiled.h"
//
// Copyright (c) 2002-2013 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// Buffer.cpp: Implements the gl::Buffer class, representing storage of vertex and/or
// index data. Implemen... | Refactor buffer existance check into Buffer::invalidateStaticData. | Refactor buffer existance check into Buffer::invalidateStaticData.
Change-Id: I28a7654d152865c236831636f00554a71784667b
Reviewed-on: https://chromium-review.googlesource.com/184394
Reviewed-by: Shannon Woods <0f3694938fd5703bd548127ee497e4d604509bef@chromium.org>
Reviewed-by: Jamie Madill <7e492b4f1c8458024932de3ba475... | C++ | bsd-3-clause | mrobinson/rust-angle,jgcaaprom/android_external_chromium_org_third_party_angle,ghostoy/angle,crezefire/angle,MSOpenTech/angle,nandhanurrevanth/angle,mybios/angle,ecoal95/angle,geekboxzone/lollipop_external_chromium_org_third_party_angle,android-ia/platform_external_chromium_org_third_party_angle,mybios/angle,mrobinson/... |
fda067edd55fa2b0ddb55da571b0713037eadccf | src/XalanDOM/XalanNodeListSurrogate.cpp | src/XalanDOM/XalanNodeListSurrogate.cpp | /*
* The Apache Software License, Version 1.1
*
*
* Copyright (c) 1999 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of sour... | /*
* The Apache Software License, Version 1.1
*
*
* Copyright (c) 1999 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of sour... | Call base class copy constructor. | Call base class copy constructor.
| C++ | apache-2.0 | apache/xalan-c,apache/xalan-c,apache/xalan-c,apache/xalan-c |
a6272d5025f855a267fb6af4adf06c4185ccb582 | OpenSim/Common/TRCFileAdapter.cpp | OpenSim/Common/TRCFileAdapter.cpp | #include "TRCFileAdapter.h"
#include <OpenSim/Common/IO.h>
#include <fstream>
#include <iomanip>
namespace OpenSim {
const std::string _headerDelimiters{ " \t\r" };
const std::string TRCFileAdapter::_markers{"markers"};
const std::string TRCFileAdapter::_delimiterWrite{"\t"};
// Get rid of the extra \r if parsing a f... | #include "TRCFileAdapter.h"
#include <OpenSim/Common/IO.h>
#include <fstream>
#include <iomanip>
namespace OpenSim {
const std::string _headerDelimiters{ " \t\r" };
const std::string TRCFileAdapter::_markers{"markers"};
const std::string TRCFileAdapter::_delimiterWrite{"\t"};
// Get rid of the extra \r if parsing a f... | Add more detailed comment for parsing labels and why empty elements are common due to the TRC file structure. | Add more detailed comment for parsing labels and why empty elements are common due to the TRC file structure.
| C++ | apache-2.0 | opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core |
6c2c17c0598a0262e483f19c258de88c9acbe1f0 | src/rpg_setup.cpp | src/rpg_setup.cpp | /*
* This file is part of EasyRPG.
*
* EasyRPG is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EasyRPG is distributed in th... | /*
* This file is part of EasyRPG.
*
* EasyRPG is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EasyRPG is distributed in th... | Reset more save state fields | Reset more save state fields
| C++ | mit | Zegeri/liblcf,Ghabry/easyrpg-liblcf,EasyRPG/liblcf,carstene1ns/easyrpg-liblcf,EasyRPG/liblcf,glynnc/liblcf,EasyRPG/liblcf,fdelapena/easyrpg-liblcf,glynnc/liblcf,Ghabry/easyrpg-liblcf,Zegeri/liblcf,carstene1ns/easyrpg-liblcf,fdelapena/easyrpg-liblcf,EasyRPG/liblcf,glynnc/liblcf,Ghabry/easyrpg-liblcf,Ghabry/easyrpg-liblc... |
edbba0e98e31bcc8cf0f11e04baca7dfb523903c | src/themefile.cpp | src/themefile.cpp | /****************************************************************************
* themefile.cpp - Theme file handling
*
* Copyright (C) 2003 Hans Karlsson <karlsson.h@home.se>
* Copyright (C) 2003-2004 Adam Geitgey <adam@rootnode.org>
* Copyright (c) 2004 Petri Damstn <damu@iki.fi>
*
* This file is part of Superkara... | /****************************************************************************
* themefile.cpp - Theme file handling
*
* Copyright (C) 2003 Hans Karlsson <karlsson.h@home.se>
* Copyright (C) 2003-2004 Adam Geitgey <adam@rootnode.org>
* Copyright (c) 2004 Petri Damstn <damu@iki.fi>
*
* This file is part of Superkara... | handle file with no path better. | handle file with no path better.
svn path=/trunk/kdereview/superkaramba/; revision=422017
| C++ | lgpl-2.1 | KDE/superkaramba,KDE/superkaramba,KDE/superkaramba |
bd8bbb5a9e30724684de3738faa4319a1d17f826 | src/sdpb/main.cxx | src/sdpb/main.cxx | //=======================================================================
// Copyright 2014-2015 David Simmons-Duffin.
// Distributed under the MIT License.
// (See accompanying file LICENSE or copy at
// http://opensource.org/licenses/MIT)
//=======================================================================
#in... | //=======================================================================
// Copyright 2014-2015 David Simmons-Duffin.
// Distributed under the MIT License.
// (See accompanying file LICENSE or copy at
// http://opensource.org/licenses/MIT)
//=======================================================================
#in... | Abort immediately when there is an exception. | Abort immediately when there is an exception.
| C++ | mit | davidsd/sdpb,davidsd/sdpb,davidsd/sdpb |
3d939dceeb78195e3ba818641a4b9285c4b07493 | Project2-CoinChange/src/main.cpp | Project2-CoinChange/src/main.cpp | #include <iostream>
#include <fstream>
#include <vector>
#include <string>
#include <boost/filesystem.hpp>
#include "../include/dynProgCoin.h"
#include "../include/changegreedy.h"
#include "../include/changeslow.h"
#include "../include/Helper/fileUtils.h"
void PrintHelp()
{
std::cout << "CoinCount 1.0; Copyright... | #include <iostream>
#include <fstream>
#include <vector>
#include <string>
#include <boost/filesystem.hpp>
#include "../include/dynProgCoin.h"
#include "../include/changegreedy.h"
#include "../include/changeslow.h"
#include "../include/Helper/fileUtils.h"
void PrintHelp()
{
std::cout << "CoinCount 1.0; Copyright... | Append to path instead of using + operator | Append to path instead of using + operator
| C++ | mit | nathansoz/cs325-algorithms |
58257612265e77de8b4988f70c25dec7124719f3 | src/core/hooks.cc | src/core/hooks.cc | #include <string>
#include <ccspec/core/hooks.h>
#include <ccspec/core/example_group.h>
namespace ccspec {
namespace core {
void before(std::string entity, Hook hook) {
ExampleGroup* parent_group = groups_being_defined.top();
if (entity == "each")
parent_group->addBeforeEachHook(hook);
else
... | #include <string>
#include <ccspec/core/hooks.h>
#include <ccspec/core/example_group.h>
namespace ccspec {
namespace core {
void before(std::string entity, Hook hook) {
ExampleGroup* parent_group = groups_being_defined.top();
if (entity == "each" || entity == "example")
parent_group->addBeforeEachHook... | Add "each" alias that's new in RSpec 3 | Add "each" alias that's new in RSpec 3
| C++ | mit | tempbottle/ccspec,tempbottle/ccspec,zhangsu/ccspec,tempbottle/ccspec,zhangsu/ccspec,zhangsu/ccspec,michaelachrisco/ccspec,michaelachrisco/ccspec,michaelachrisco/ccspec |
4a7d8cbf0c4fa6ae056fbfef929f65e6d2eee1ab | src/stopwatch.cxx | src/stopwatch.cxx | /*
* Copyright 2007-2019 Content Management AG
* All rights reserved.
*
* author: Max Kellermann <mk@cm4all.com>
*
* 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 reta... | /*
* Copyright 2007-2019 Content Management AG
* All rights reserved.
*
* author: Max Kellermann <mk@cm4all.com>
*
* 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 reta... | use class LeakDetector | stopwatch: use class LeakDetector | C++ | bsd-2-clause | CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy |
ace7b92ca27c6a1da74d1d2df598106ea27cd132 | Pcap++/src/PcapLiveDeviceList.cpp | Pcap++/src/PcapLiveDeviceList.cpp | #define LOG_MODULE PcapLogModuleLiveDevice
#include <IpUtils.h>
#include <PcapLiveDeviceList.h>
#include <Logger.h>
#include <SystemUtils.h>
#include <string.h>
#include <sstream>
#include <algorithm>
#ifdef WIN32
#include <ws2tcpip.h>
#include <iphlpapi.h>
#elif MAC_OS_X
#include <systemconfiguration/scdynamicstore.h... | #define LOG_MODULE PcapLogModuleLiveDevice
#include <IpUtils.h>
#include <PcapLiveDeviceList.h>
#include <Logger.h>
#include <SystemUtils.h>
#include <string.h>
#include <sstream>
#include <algorithm>
#ifdef WIN32
#include <ws2tcpip.h>
#include <iphlpapi.h>
#elif MAC_OS_X
#include <systemconfiguration/scdynamicstore.h... | Fix nmcli call to get DNS list on Linux | Fix nmcli call to get DNS list on Linux
| C++ | unlicense | seladb/PcapPlusPlus,seladb/PcapPlusPlus,seladb/PcapPlusPlus,seladb/PcapPlusPlus |
13a7ff6e9e96e929cf18774b83909754cf652930 | document/src/vespa/document/serialization/vespadocumentdeserializer.cpp | document/src/vespa/document/serialization/vespadocumentdeserializer.cpp | // Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "vespadocumentdeserializer.h"
#include "annotationdeserializer.h"
#include <vespa/document/fieldvalue/annotationreferencefieldvalue.h>
#include <vespa/document/fieldvalue/arrayfieldvalue.h>
#... | // Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "vespadocumentdeserializer.h"
#include "annotationdeserializer.h"
#include <vespa/document/fieldvalue/annotationreferencefieldvalue.h>
#include <vespa/document/fieldvalue/arrayfieldvalue.h>
#... | Remove spurious line break. | Remove spurious line break.
| C++ | apache-2.0 | vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa |
a818ca64069354adc40985dc28fbc97157be18db | src/pks/deform/prescribed_deformation/prescribed_deformation.cc | src/pks/deform/prescribed_deformation/prescribed_deformation.cc | /* -*- mode: c++; c-default-style: "google"; indent-tabs-mode: nil -*- */
/* -------------------------------------------------------------------------
ATS
License: see $ATS_DIR/COPYRIGHT
Author: Markus Berndt
Interface for the Prescribed Deformation PK.
<ParameterList name="prescribed deformation">
... | /* -*- mode: c++; c-default-style: "google"; indent-tabs-mode: nil -*- */
/* -------------------------------------------------------------------------
ATS
License: see $ATS_DIR/COPYRIGHT
Author: Markus Berndt
Interface for the Prescribed Deformation PK.
<ParameterList name="prescribed deformation">
... | update local repo | update local repo
| C++ | bsd-3-clause | amanzi/ats-dev,amanzi/ats-dev,amanzi/ats-dev |
8f196cc752a336210e5b57966cd656e54f4e544d | addons/aimod/script_component.hpp | addons/aimod/script_component.hpp | #define COMPONENT aimod
#include "\z\fpa\addons\main\script_mod.hpp"
#define DEBUG_MODE_FULL
#define DISABLE_COMPILE_CACHE
// #define CBA_DEBUG_SYNCHRONOUS
// #define ENABLE_PERFORMANCE_COUNTERS
#include "\z\fpa\addons\main\script_macros.hpp"
| #define COMPONENT aimod
#include "\z\fpa\addons\main\script_mod.hpp"
// #define DEBUG_MODE_FULL
// #define DISABLE_COMPILE_CACHE
// #define CBA_DEBUG_SYNCHRONOUS
// #define ENABLE_PERFORMANCE_COUNTERS
#include "\z\fpa\addons\main\script_macros.hpp"
| disable debug | disable debug
| C++ | mit | fparma/fparma-mods,fparma/fparma-mods,fparma/fparma-mods |
e1805adebec4053f45e201ffdd6a9b1845457906 | src/checkpoints.cpp | src/checkpoints.cpp | // Copyright (c) 2009-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 <boost/assign/list_of.hpp> // for 'map_list_of()'
#include <boost/foreach.hpp>
#include "checkpoints.h"
#include "t... | // Copyright (c) 2009-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 <boost/assign/list_of.hpp> // for 'map_list_of()'
#include <boost/foreach.hpp>
#include "checkpoints.h"
#include "t... | Add checkpoint BH 146000 | Add checkpoint BH 146000 | C++ | mit | OC-CryptoCurrency/OC,OC-CryptoCurrency/OC,OC-CryptoCurrency/OC,OC-CryptoCurrency/OC,OC-CryptoCurrency/OC |
c1a1d1abc810c8ff7f630453c050dd560f29b2f2 | lib/DiscIONFS.cpp | lib/DiscIONFS.cpp | #include "nod/IDiscIO.hpp"
#include "nod/IFileIO.hpp"
#include "nod/Util.hpp"
#include "nod/aes.hpp"
#include <logvisor/logvisor.hpp>
#include <array>
namespace nod {
/*
* NFS is the image format used to distribute Wii VC games for the Wii U.
* It is an LBA format similar to WBFS but adds its own encryption layer... | #include "nod/IDiscIO.hpp"
#include "nod/IFileIO.hpp"
#include "nod/Util.hpp"
#include "nod/aes.hpp"
#include <logvisor/logvisor.hpp>
#include <array>
namespace nod {
/*
* NFS is the image format used to distribute Wii VC games for the Wii U.
* It is an LBA format similar to WBFS but adds its own encryption layer... | Use logical block for iv | Use logical block for iv
| C++ | mit | RetroView/NODLib,AxioDL/NODLib,RetroView/NODLib,AxioDL/NODLib |
c93cf48546c0954ecadda2e67cabc4dd3973f3a2 | src/bindings/cpp/tests/test_contextual.cpp | src/bindings/cpp/tests/test_contextual.cpp | #include <contextual.hpp>
#include <gtest/gtest.h>
class MyStaticGetPolicy
{
public:
static kdb::Key get(ELEKTRA_UNUSED kdb::KeySet & ks,
ELEKTRA_UNUSED kdb::Key const& spec)
{
kdb::Key k("user/test",
KEY_VALUE, "23",
KEY_END);
return k;
}
};
TEST(test_contextual, staticGetPolicy)
{
using namespace ... | #include <contextual.hpp>
#include <gtest/gtest.h>
class MyStaticGetPolicy
{
public:
static kdb::Key get(ELEKTRA_UNUSED kdb::KeySet & ks,
ELEKTRA_UNUSED kdb::Key const& spec)
{
kdb::Key k("user/test",
KEY_VALUE, "23",
KEY_END);
return k;
}
};
TEST(test_contextual, staticGetPolicy)
{
using namespace ... | add some more tests | add some more tests
| C++ | bsd-3-clause | ElektraInitiative/libelektra,mpranj/libelektra,petermax2/libelektra,petermax2/libelektra,ElektraInitiative/libelektra,ElektraInitiative/libelektra,e1528532/libelektra,mpranj/libelektra,e1528532/libelektra,mpranj/libelektra,mpranj/libelektra,BernhardDenner/libelektra,e1528532/libelektra,ElektraInitiative/libelektra,mpra... |
e9d58fa23c5a0e0889276f8d1ebf43bb63a38f2c | plugins/multimedia/directshow/player/directshowaudioendpointcontrol.cpp | plugins/multimedia/directshow/player/directshowaudioendpointcontrol.cpp | /****************************************************************************
**
** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the Qt Mobility Components.
**
** $QT_BEGIN_LICENSE:LGPL$
** No Comme... | /****************************************************************************
**
** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the Qt Mobility Components.
**
** $QT_BEGIN_LICENSE:LGPL$
** No Comme... | Use the IPropertyBag to get audio device names. | Use the IPropertyBag to get audio device names.
This is instead of parsing the identifier, which isn't guaranteed to
have a readable name in it.
| C++ | lgpl-2.1 | kaltsi/qt-mobility,tmcguire/qt-mobility,kaltsi/qt-mobility,tmcguire/qt-mobility,qtproject/qt-mobility,qtproject/qt-mobility,qtproject/qt-mobility,KDE/android-qt-mobility,qtproject/qt-mobility,enthought/qt-mobility,tmcguire/qt-mobility,KDE/android-qt-mobility,enthought/qt-mobility,enthought/qt-mobility,tmcguire/qt-mobil... |
034a037a5f59ddcb08f77d4208ff9b15b7e7bea2 | src/clang-cache.cpp | src/clang-cache.cpp | #include <client/client.h>
#include <server/server.h>
#include <err.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
int main(int argc, char **argv)
{
int separator;
char** compile_argv;
separator = 0;
for (int i = 1; i < argc; ++i) {
if (strcmp(argv[i], "--") == 0) {
separator = i;
... | #include <client/client.h>
#include <server/server.h>
#include <err.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
int main(int argc, char **argv)
{
int separator;
char** compile_argv;
separator = 0;
for (int i = 1; i < argc; ++i) {
if (strcmp(argv[i], "--") == 0) {
separator = i;
... | Add --start and --stop commands to manage the server. | Add --start and --stop commands to manage the server.
| C++ | bsd-3-clause | sas/clang-cache,sas/clang-cache |
67872dde147ec11037bf17b162f34bd3b58506a1 | src/exception.cpp | src/exception.cpp | //===------------------------ exception.cpp -------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------... | //===------------------------ exception.cpp -------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------... | Make attributes on definition consistent with those on declaration. | Make attributes on definition consistent with those on declaration.
git-svn-id: 756ef344af921d95d562d9e9f9389127a89a6314@149701 91177308-0d34-0410-b5e6-96231b3b80d8
| C++ | apache-2.0 | llvm-mirror/libcxx,llvm-mirror/libcxx,llvm-mirror/libcxx,llvm-mirror/libcxx,llvm-mirror/libcxx |
19c7a1754ff520e165e32c922929201439c32662 | src/cpp/session/modules/SessionThemes.cpp | src/cpp/session/modules/SessionThemes.cpp | /*
* SessionThemes.cpp
*
* Copyright (C) 2018 by RStudio, Inc.
*
* Unless you have received this program directly from RStudio pursuant
* to the terms of a commercial license agreement with RStudio, then
* this program is licensed to you under the terms of version 3 of the
* GNU Affero General Public License. T... | /*
* SessionThemes.cpp
*
* Copyright (C) 2018 by RStudio, Inc.
*
* Unless you have received this program directly from RStudio pursuant
* to the terms of a commercial license agreement with RStudio, then
* this program is licensed to you under the terms of version 3 of the
* GNU Affero General Public License. T... | add function to get all themes in a map. | add function to get all themes in a map.
| C++ | agpl-3.0 | JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio |
0f81586771b5345b067b6f4b49010213f73b624c | chrome/browser/ui/views/tab_contents/tab_contents_container_views.cc | chrome/browser/ui/views/tab_contents/tab_contents_container_views.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/ui/views/tab_contents/tab_contents_container.h"
#include "chrome/browser/renderer_host/render_view_host.h"
#include "chrome/... | // 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/ui/views/tab_contents/tab_contents_container.h"
#include "chrome/browser/renderer_host/render_view_host.h"
#include "chrome/... | Revert 71837 - Do not include GTK file on Windows. | Revert 71837 - Do not include GTK file on Windows.
TEST=compiles
BUG=none
Review URL: http://codereview.chromium.org/6347008
TBR=apatrick@chromium.org
Review URL: http://codereview.chromium.org/6303011
git-svn-id: dd90618784b6a4b323ea0c23a071cb1c9e6f2ac7@71839 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
| C++ | bsd-3-clause | wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser |
a568aa2a9afcc06d8fbb7af177cfe7915c839b81 | src/udpreplay.cpp | src/udpreplay.cpp | /*
Copyright (c) 2018 Erik Rigtorp <erik@rigtorp.se>
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, publi... | /*
Copyright (c) 2019 Erik Rigtorp <erik@rigtorp.se>
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, publi... | Make packet timing more precise | Make packet timing more precise
Simplified version with proper error handling of @sobomax PR #17.
| C++ | mit | rigtorp/udpreplay |
6d5dd8cdc641352fd7b1c9a49f658a19ccae84d1 | src/dwi/tractography/connectomics/lut.cpp | src/dwi/tractography/connectomics/lut.cpp | /*
Copyright 2012 Brain Research Institute, Melbourne, Australia
Written by Robert Smith, 2012.
This file is part of MRtrix.
MRtrix 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... | /*
Copyright 2012 Brain Research Institute, Melbourne, Australia
Written by Robert Smith, 2012.
This file is part of MRtrix.
MRtrix 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... | Fix code error in previous commit (revision 305) | Fix code error in previous commit (revision 305)
| C++ | mpl-2.0 | MRtrix3/mrtrix3,MRtrix3/mrtrix3,MRtrix3/mrtrix3,MRtrix3/mrtrix3,MRtrix3/mrtrix3,MRtrix3/mrtrix3 |
519b9c44724c9166507cb90419f3c05265679c78 | TerrainApps/CManager/PropDlg.cpp | TerrainApps/CManager/PropDlg.cpp | //
// Name: PropDlg.cpp
//
// Copyright (c) 2001-2006 Virtual Terrain Project
// Free for all uses, see license.txt for details.
//
#ifdef __GNUG__
#pragma implementation "PropDlg.cpp"
#endif
// For compilers that support precompilation, includes "wx/wx.h".
#include "wx/wxprec.h"
#include "vtlib/vtlib.h"
#ifdef _M... | //
// Name: PropDlg.cpp
//
// Copyright (c) 2001-2006 Virtual Terrain Project
// Free for all uses, see license.txt for details.
//
#ifdef __GNUG__
#pragma implementation "PropDlg.cpp"
#endif
// For compilers that support precompilation, includes "wx/wx.h".
#include "wx/wxprec.h"
#include "vtlib/vtlib.h"
#ifdef _M... | fix tab | fix tab
| C++ | mit | markraz/vtp,nakijun/vtp,nakijun/vtp,nakijun/vtp,seanisom/vtp,seanisom/vtp,seanisom/vtp,markraz/vtp,seanisom/vtp,nakijun/vtp,markraz/vtp,nakijun/vtp,markraz/vtp,markraz/vtp,seanisom/vtp |
825fa2bb3f5aef49822c4a001fe5321b105d874c | include/libtorrent/bitfield.hpp | include/libtorrent/bitfield.hpp | /*
Copyright (c) 2008-2014, Arvid Norberg
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 conditions and ... | /*
Copyright (c) 2008-2014, Arvid Norberg
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 conditions and ... | add missing include | add missing include
git-svn-id: 6ed3528c1be4534134272ad6dd050eeaa1f628d3@9839 f43f7eb3-cfe1-5f9d-1b5f-e45aa6702bda
| C++ | bsd-3-clause | svn2github/libtorrent-trunk,svn2github/libtorrent-trunk,svn2github/libtorrent-trunk,svn2github/libtorrent-trunk |
2f60e62f2409f2ebfc7cdfc5ee71a118cb13dabb | starleth_elevation_visualization/src/ElevationVisualization.cpp | starleth_elevation_visualization/src/ElevationVisualization.cpp | /*
* ElevationVisualization.cpp
*
* Created on: Nov 19, 2013
* Author: Péter Fankhauser
* Institute: ETH Zurich, Autonomous Systems Lab
*/
#include "ElevationVisualization.hpp"
// StarlETH Navigation
#include <ElevationMapTransformations.hpp>
using namespace std;
using namespace ros;
using namespace Eig... | /*
* ElevationVisualization.cpp
*
* Created on: Nov 19, 2013
* Author: Péter Fankhauser
* Institute: ETH Zurich, Autonomous Systems Lab
*/
#include "ElevationVisualization.hpp"
// StarlETH Navigation
#include <ElevationMapHelpers.hpp>
using namespace std;
using namespace ros;
using namespace Eigen;
nam... | Split up elevation message libraries | Split up elevation message libraries
| C++ | bsd-3-clause | ethz-asl/elevation_mapping,ethz-asl/elevation_mapping,wsAndy/elevation_mapping,wsAndy/elevation_mapping,chen0510566/elevation_mapping,chen0510566/elevation_mapping |
8ad4bf9ff6113b34799a5abc02bb29ea0269c49a | include/minizinc/astiterator.hh | include/minizinc/astiterator.hh | /* -*- mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- */
/*
* Main authors:
* Guido Tack <guido.tack@monash.edu>
*/
/* 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://mozil... | /* -*- mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- */
/*
* Main authors:
* Guido Tack <guido.tack@monash.edu>
*/
/* 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://mozil... | Add enter method to top down iterator (was not used properly before) | Add enter method to top down iterator (was not used properly before)
| C++ | mpl-2.0 | nathanielbaxter/libminizinc,nathanielbaxter/libminizinc,nathanielbaxter/libminizinc,jjdekker/libminizinc,jjdekker/libminizinc,nathanielbaxter/libminizinc,jjdekker/libminizinc,jjdekker/libminizinc |
40a1fcb687e64fb153f4fd48c5a8088dc53ff4e9 | src/upl/lexer.cpp | src/upl/lexer.cpp | //======================================================================
#include <upl/lexer.hpp>
#include <cstring>
//======================================================================
namespace UPL {
//======================================================================
Lexer::Lexer (InputStream & input, E... | //======================================================================
#include <upl/lexer.hpp>
#include <cstring>
//======================================================================
namespace UPL {
//======================================================================
Lexer::Lexer (InputStream & input, E... | Set Lexer::m_has_error on TT::Error. | Set Lexer::m_has_error on TT::Error.
| C++ | mit | declued/upl |
dd03608d403d3d02c48b129d18d55caa9dc922f3 | include/nomlib/math/helpers.hpp | include/nomlib/math/helpers.hpp | /******************************************************************************
nomlib - C++11 cross-platform game engine
Copyright (c) 2013, Jeffrey Carpenter <jeffrey.carp@gmail.com>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that ... | /******************************************************************************
nomlib - C++11 cross-platform game engine
Copyright (c) 2013, Jeffrey Carpenter <jeffrey.carp@gmail.com>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that ... | Update round func to use C++ templates | math/helpers: Update round func to use C++ templates
* Add documentation for round function
* Update documentation for rand function
| C++ | bsd-2-clause | i8degrees/nomlib,i8degrees/nomlib,i8degrees/nomlib,i8degrees/nomlib |
fea16aa40d866ea1e0c2567691e9a87ee34c3b28 | Source/core/platform/graphics/chromium/DeferredImageDecoder.cpp | Source/core/platform/graphics/chromium/DeferredImageDecoder.cpp | /*
* Copyright (C) 2012 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:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions ... | /*
* Copyright (C) 2012 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:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions ... | Enable deferred image decoding for GIF images | Enable deferred image decoding for GIF images
A better benchmark measurement is in the tree this feature is safe to
turn on.
BUG=259783,169377,260052
TBR=senorblanco@chromium.org
Review URL: https://codereview.chromium.org/20829002
git-svn-id: bf5cd6ccde378db821296732a091cfbcf5285fbd@155022 bbb929c8-8fbe-4397-9dbb-... | C++ | bsd-3-clause | primiano/blink-gitcs,primiano/blink-gitcs,primiano/blink-gitcs,primiano/blink-gitcs,primiano/blink-gitcs,primiano/blink-gitcs,primiano/blink-gitcs,primiano/blink-gitcs,primiano/blink-gitcs |
2a5bf325a8f34ada801dca661ecb174d7dc0eb3e | src/colorscheme.cpp | src/colorscheme.cpp | /*
* This file is part of Poedit (https://poedit.net)
*
* Copyright (C) 2016-2018 Vaclav Slavik
*
* 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 wi... | /*
* This file is part of Poedit (https://poedit.net)
*
* Copyright (C) 2016-2018 Vaclav Slavik
*
* 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 wi... | Fix dark mode assert with wxGTK 3.0 | Fix dark mode assert with wxGTK 3.0
wx 3.0 didn't support alpha channel in HTML exports, so just tweak the
dark mode color to not require it. It's not worth doing complicated
fixes for the old wx version.
Fixes #524.
| C++ | mit | alexhenrie/poedit,vslavik/poedit,vslavik/poedit,c72578/poedit,PKRoma/poedit,nawawi/poedit,nawawi/poedit,PKRoma/poedit,PKRoma/poedit,nawawi/poedit,PKRoma/poedit,vslavik/poedit,vslavik/poedit,c72578/poedit,c72578/poedit,vslavik/poedit,c72578/poedit,c72578/poedit,PKRoma/poedit,alexhenrie/poedit,alexhenrie/poedit,nawawi/po... |
eb3765949caf7801863bb72b5a934fdd553a6b2b | Examples/Filtering/GradientAnisotropicDiffusionImageFilter.cxx | Examples/Filtering/GradientAnisotropicDiffusionImageFilter.cxx | /*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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
*
* h... | /*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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
*
* h... | Address GradientAnisotropicDiffusionImageFilter example settings. | COMP: Address GradientAnisotropicDiffusionImageFilter example settings.
Addresses:
WARNING: In
/home/matt/src/ITK/Modules/Filtering/AnisotropicSmoothing/include/itkAnisotropicDiffusionImageFilter.hxx,
line 82
GradientAnisotropicDiffusionImageFilter (0x12ce520): Anisotropic diffusion
unstable time step: 0.25
Stable ti... | C++ | apache-2.0 | LucasGandel/ITK,ajjl/ITK,hendradarwin/ITK,biotrump/ITK,InsightSoftwareConsortium/ITK,jcfr/ITK,malaterre/ITK,jcfr/ITK,msmolens/ITK,InsightSoftwareConsortium/ITK,BRAINSia/ITK,atsnyder/ITK,malaterre/ITK,stnava/ITK,fbudin69500/ITK,zachary-williamson/ITK,richardbeare/ITK,jcfr/ITK,stnava/ITK,LucHermitte/ITK,jcfr/ITK,fedral/I... |
9b3fc31292fb9524cc6fa1f59fcc117a405eb0ac | include/tmxpp/impl/to_color.hpp | include/tmxpp/impl/to_color.hpp | #ifndef TMXPP_IMPL_TO_COLOR_HPP
#define TMXPP_IMPL_TO_COLOR_HPP
#include <cstdint>
#include <ios>
#include <regex>
#include <sstream>
#include <string>
#include <string_view>
#include <tmxpp/Color.hpp>
#include <tmxpp/exceptions.hpp>
#include <tmxpp/impl/Xml.hpp>
namespace tmxpp::impl {
namespace color {
// Returns... | #ifndef TMXPP_IMPL_TO_COLOR_HPP
#define TMXPP_IMPL_TO_COLOR_HPP
#include <cstdint>
#include <ios>
#include <regex>
#include <sstream>
#include <string>
#include <string_view>
#include <tmxpp/Color.hpp>
#include <tmxpp/exceptions.hpp>
#include <tmxpp/impl/Xml.hpp>
namespace tmxpp::impl {
namespace color {
// Returns... | Add parentheses for improved readability | Add parentheses for improved readability
| C++ | unlicense | johelegp/tmxpp |
d38072d64d9cf323642ca7212b8b25e340e3a985 | base/security_unittest.cc | base/security_unittest.cc | // Copyright (c) 2013 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 <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <algorithm>
#incl... | // Copyright (c) 2013 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 <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <algorithm>
#incl... | Fix SecurityTest.CallocOverflow in -Os builds. | clang/win: Fix SecurityTest.CallocOverflow in -Os builds.
The additional indirection foils clang's efforts...for now.
BUG=467929
Review URL: https://codereview.chromium.org/1064713003
Cr-Commit-Position: 972c6d2dc6dd5efdad1377c0d224e03eb8f276f7@{#323978}
| C++ | bsd-3-clause | Just-D/chromium-1,TheTypoMaster/chromium-crosswalk,chuan9/chromium-crosswalk,Pluto-tv/chromium-crosswalk,ltilve/chromium,Chilledheart/chromium,Just-D/chromium-1,chuan9/chromium-crosswalk,hgl888/chromium-crosswalk,ltilve/chromium,Pluto-tv/chromium-crosswalk,axinging/chromium-crosswalk,Just-D/chromium-1,PeterWangIntel/ch... |
4acd8b01fd3b182af9f169040af1f95b09b0c803 | src/cpp/session/modules/jobs/ScriptJob.cpp | src/cpp/session/modules/jobs/ScriptJob.cpp | /*
* ScriptJob.cpp
*
* Copyright (C) 2009-18 by RStudio, Inc.
*
* Unless you have received this program directly from RStudio pursuant
* to the terms of a commercial license agreement with RStudio, then
* this program is licensed to you under the terms of version 3 of the
* GNU Affero General Public License. Th... | /*
* ScriptJob.cpp
*
* Copyright (C) 2009-18 by RStudio, Inc.
*
* Unless you have received this program directly from RStudio pursuant
* to the terms of a commercial license agreement with RStudio, then
* this program is licensed to you under the terms of version 3 of the
* GNU Affero General Public License. Th... | convert file paths to system encoding | convert file paths to system encoding
| C++ | agpl-3.0 | JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio |
e4ae37f992f617f04d4e24160196ed3aa401962d | content/browser/device_sensors/device_inertial_sensor_browsertest.cc | content/browser/device_sensors/device_inertial_sensor_browsertest.cc | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/command_line.h"
#include "base/synchronization/waitable_event.h"
#include "base/threading/platform_thread.h"
#include "content/browser/devi... | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/command_line.h"
#include "base/synchronization/waitable_event.h"
#include "base/threading/platform_thread.h"
#include "content/browser/devi... | Disable DeviceInertialSensorBrowserTest.OrientationNullTestWithAlert and DeviceIntertialSensorBrowserTest.MotionNullTestWithAlert | Disable DeviceInertialSensorBrowserTest.OrientationNullTestWithAlert
and DeviceIntertialSensorBrowserTest.MotionNullTestWithAlert
TBR=timvolodine
BUG=360578
Review URL: https://codereview.chromium.org/893123007
Cr-Commit-Position: 972c6d2dc6dd5efdad1377c0d224e03eb8f276f7@{#315687}
| C++ | bsd-3-clause | chuan9/chromium-crosswalk,Chilledheart/chromium,hgl888/chromium-crosswalk,Fireblend/chromium-crosswalk,Pluto-tv/chromium-crosswalk,Fireblend/chromium-crosswalk,Just-D/chromium-1,Pluto-tv/chromium-crosswalk,Fireblend/chromium-crosswalk,hgl888/chromium-crosswalk,fujunwei/chromium-crosswalk,Fireblend/chromium-crosswalk,fu... |
538c9ca8406b12d3db0b16fdfe29871c486ece2d | GVRf/Framework/jni/objects/textures/compressed_texture_jni.cpp | GVRf/Framework/jni/objects/textures/compressed_texture_jni.cpp | /* Copyright 2015 Samsung Electronics Co., LTD
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... | /* Copyright 2015 Samsung Electronics Co., LTD
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... | Fix for issue #230 native mipmappedConstructor not found. | Fix for issue #230 native mipmappedConstructor not found.
Fix for issue #230 native mipmappedConstructor not found.
| C++ | apache-2.0 | dattanand/GearVRf,douglasalipio/GearVRf,chenchao1407/GearVRf,aglne/GearVRf,bsmr-android/GearVRf,phi-lira/GearVRf,mwitchwilliams/GearVRf,ragner/GearVRf,thomasflynn/GearVRf,mingsong/GearVRf,thomasflynn/GearVRf,chenchao1407/GearVRf,rodrigodzf/GearVRf,rongguodong/GearVRf,ragner/GearVRf,roshanch/GearVRf,luxiaoming/GearVRf,d... |
5a89ed3bd5f2434f6dd6d1fe21c21fe79108f1ed | source/thewizardplusplus/wizard_parser/parser/repetition_parser.cpp | source/thewizardplusplus/wizard_parser/parser/repetition_parser.cpp | #include "repetition_parser.hpp"
#include "ast_node.hpp"
#include <memory>
namespace thewizardplusplus::wizard_parser::parser {
repetition_parser::repetition_parser(
const rule_parser::pointer& parser,
const std::size_t& minimal_number,
const std::size_t& maximal_number
):
parser{parser},
minimal_number{minimal_... | #include "repetition_parser.hpp"
#include "ast_node.hpp"
#include <memory>
namespace thewizardplusplus::wizard_parser::parser {
repetition_parser::repetition_parser(
const rule_parser::pointer& parser,
const std::size_t& minimal_number,
const std::size_t& maximal_number
):
parser{parser},
minimal_number{minimal_... | Fix logic of the `parser::repetition_parser::parse_and_count()` method | Fix logic of the `parser::repetition_parser::parse_and_count()` method
| C++ | mit | thewizardplusplus/wizard-parser,thewizardplusplus/wizard-parser |
5333d4b93dc1aa0a23b5ca52d6888ad53d7699ba | about_dialog.cpp | about_dialog.cpp | /*
* about_dialog.cpp
* PHD Guiding
*
* Created by Sylvain Girard.
* Copyright (c) 2013 Sylvain Girard.
* All rights reserved.
*
* This source code is distributed under the following "BSD" license
* Redistribution and use in source and binary forms, with or without
* modification, are permit... | /*
* about_dialog.cpp
* PHD Guiding
*
* Created by Sylvain Girard.
* Copyright (c) 2013 Sylvain Girard.
* All rights reserved.
*
* This source code is distributed under the following "BSD" license
* Redistribution and use in source and binary forms, with or without
* modification, are permit... | add Anthony to About dialog | add Anthony to About dialog
| C++ | bsd-3-clause | OpenPHDGuiding/phd2,OpenPHDGuiding/phd2,OpenPHDGuiding/phd2,OpenPHDGuiding/phd2,OpenPHDGuiding/phd2,OpenPHDGuiding/phd2 |
c46ba5323632a48f96b39435d8aab57d55076f00 | sipXmediaLib/src/test/mp/MpMMTimerTest.cpp | sipXmediaLib/src/test/mp/MpMMTimerTest.cpp | //
// Copyright (C) 2007 SIPez LLC.
// Licensed to SIPfoundry under a Contributor Agreement.
//
// Copyright (C) 2007 SIPfoundry Inc.
// Licensed by SIPfoundry under the LGPL license.
//
// $$
///////////////////////////////////////////////////////////////////////////////
#include <cppunit/extensions/Hel... | //
// Copyright (C) 2007 SIPez LLC.
// Licensed to SIPfoundry under a Contributor Agreement.
//
// Copyright (C) 2007 SIPfoundry Inc.
// Licensed by SIPfoundry under the LGPL license.
//
// $$
///////////////////////////////////////////////////////////////////////////////
#include <cppunit/extensions/Hel... | Add another statistic - absDelta - a running delta since the beginning of the series calculated from current value to beginning. Effectively shows hiccups (double-hits) that occur on some systems (mine) when using Linear mode timer on windows. | Add another statistic - absDelta - a running delta since the beginning of the series calculated from current value to beginning. Effectively shows hiccups (double-hits) that occur on some systems (mine) when using Linear mode timer on windows.
Significantly widen the acceptable threshold for single values, as the mea... | C++ | lgpl-2.1 | sipXtapi/sipXtapi-svn-mirror,sipXtapi/sipXtapi-svn-mirror,sipXtapi/sipXtapi-svn-mirror,sipXtapi/sipXtapi-svn-mirror,sipXtapi/sipXtapi-svn-mirror,sipXtapi/sipXtapi-svn-mirror,sipXtapi/sipXtapi-svn-mirror |
914fdd377ed5e9dcdce2eace2e3ba08e4fc6dade | src/vast/index.cc | src/vast/index.cc | #include "vast/index.h"
#include <ze/type/regex.h>
#include "vast/logger.h"
#include "vast/fs/operations.h"
#include "vast/fs/fstream.h"
#include "vast/expression.h"
namespace vast {
namespace detail {
/// Picks the relevant subsets of the query expression and forwards them to
/// the index.
class picker : public ex... | #include "vast/index.h"
#include <ze/type/regex.h>
#include "vast/logger.h"
#include "vast/fs/operations.h"
#include "vast/fs/fstream.h"
#include "vast/expression.h"
namespace vast {
namespace detail {
/// Visits an expression and hits the meta index.
class hitter : public expr::const_visitor
{
public:
/// Constru... | Rename picker to hitter. | Rename picker to hitter.
| C++ | bsd-3-clause | pmos69/vast,vast-io/vast,mavam/vast,vast-io/vast,pmos69/vast,vast-io/vast,mavam/vast,pmos69/vast,vast-io/vast,mavam/vast,pmos69/vast,vast-io/vast,mavam/vast |
218fd83ff5ddf11846db24e7f6b3475c72df4aa9 | src/net/ws/websocket.cpp | src/net/ws/websocket.cpp | // This file is a part of the IncludeOS unikernel - www.includeos.org
//
// Copyright 2016-2017 Oslo and Akershus University College of Applied Sciences
// and Alfred Bratterud
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// Yo... | // This file is a part of the IncludeOS unikernel - www.includeos.org
//
// Copyright 2016-2017 Oslo and Akershus University College of Applied Sciences
// and Alfred Bratterud
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// Yo... | Make SHA1 object stack allocated | net: Make SHA1 object stack allocated
| C++ | apache-2.0 | ingve/IncludeOS,mnordsletten/IncludeOS,AnnikaH/IncludeOS,AndreasAakesson/IncludeOS,AnnikaH/IncludeOS,ingve/IncludeOS,AndreasAakesson/IncludeOS,hioa-cs/IncludeOS,mnordsletten/IncludeOS,AndreasAakesson/IncludeOS,hioa-cs/IncludeOS,alfred-bratterud/IncludeOS,alfred-bratterud/IncludeOS,ingve/IncludeOS,alfred-bratterud/Inclu... |
e7649d4c5b505ab1caeab1167f0422d4dcf4ba2b | part/render/katelayoutcache.cpp | part/render/katelayoutcache.cpp | /* This file is part of the KDE libraries
Copyright (C) 2005 Hamish Rodda <rodda@kde.org>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License version 2 as published by the Free Software Foundation.
This library is distributed... | /* This file is part of the KDE libraries
Copyright (C) 2005 Hamish Rodda <rodda@kde.org>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License version 2 as published by the Free Software Foundation.
This library is distributed... | Fix bug where edits to multi-viewline lines lead to not properly updating the view | Fix bug where edits to multi-viewline lines lead to not properly updating the view
svn path=/trunk/KDE/kdelibs/kate/; revision=730638
| C++ | lgpl-2.1 | hlamer/kate,hlamer/kate,jfmcarreira/kate,hlamer/kate,DickJ/kate,DickJ/kate,hlamer/kate,hlamer/kate,cmacq2/kate,hlamer/kate,DickJ/kate,sandsmark/kate,jfmcarreira/kate,hlamer/kate,hlamer/kate,hlamer/kate,sandsmark/kate,sandsmark/kate,cmacq2/kate,jfmcarreira/kate,hlamer/kate,sandsmark/kate,cmacq2/kate,DickJ/kate |
78f3782e8359dbc84fc9193d793e09956f2ce20a | chrome/browser/printing/printing_message_filter.cc | chrome/browser/printing/printing_message_filter.cc | // Copyright (c) 2011 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/printing/printing_message_filter.h"
#include "base/process_util.h"
#include "chrome/browser/browser_process.h"
#include "chr... | // Copyright (c) 2011 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/printing/printing_message_filter.h"
#include "base/process_util.h"
#include "chrome/browser/browser_process.h"
#include "chr... | Remove a check for a condition that's always true. | Printing: Remove a check for a condition that's always true.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/6626068
git-svn-id: dd90618784b6a4b323ea0c23a071cb1c9e6f2ac7@77318 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
| C++ | bsd-3-clause | wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser |
3360a988d9ed9547baaf6bd04cf8933656b136c8 | source/board/STM32/STM32F4/32F429IDISCOVERY/32F429IDISCOVERY-lowLevelInitialization.cpp | source/board/STM32/STM32F4/32F429IDISCOVERY/32F429IDISCOVERY-lowLevelInitialization.cpp | /**
* \file
* \brief board::lowLevelInitialization() implementation for 32F429IDISCOVERY
*
* \author Copyright (C) 2016 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info
*
* \par License
* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the M... | /**
* \file
* \brief board::lowLevelInitialization() implementation for 32F429IDISCOVERY
*
* \author Copyright (C) 2016 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info
*
* \par License
* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the M... | enable LEDs' GPIO for 32F429IDISCOVERY | board: enable LEDs' GPIO for 32F429IDISCOVERY
Enable GPIOG in RCC in board::lowLevelInitialization() if LED's are
enabled. | C++ | mpl-2.0 | CezaryGapinski/distortos,DISTORTEC/distortos,jasmin-j/distortos,jasmin-j/distortos,CezaryGapinski/distortos,DISTORTEC/distortos,CezaryGapinski/distortos,jasmin-j/distortos,jasmin-j/distortos,CezaryGapinski/distortos,jasmin-j/distortos,CezaryGapinski/distortos,DISTORTEC/distortos,DISTORTEC/distortos |
4751bab76779ea94bac1a1c3fc88aa5d47d2242b | src/iterators/sliding_window_iterator.hpp | src/iterators/sliding_window_iterator.hpp | /**
* @file many2one_iterator.hpp
* @ingroup interators
* @author Patrick Flick <patrick.flick@gmail.com>
* @brief Implements the many2one iterator.
*
* Copyright (c) TODO
*
* TODO add Licence
*/
#ifndef BLISS_ITERATORS_SLIDING_WINDOW_ITERATOR_HPP
#define BLISS_ITERATORS_SLIDING_WINDOW_ITERATOR_HPP
#i... | /**
* @file many2one_iterator.hpp
* @ingroup interators
* @author Patrick Flick <patrick.flick@gmail.com>
* @brief Implements the many2one iterator.
*
* Copyright (c) TODO
*
* TODO add Licence
*/
#ifndef BLISS_ITERATORS_SLIDING_WINDOW_ITERATOR_HPP
#define BLISS_ITERATORS_SLIDING_WINDOW_ITERATOR_HPP
#i... | fix naming | fix naming
| C++ | apache-2.0 | ParBLiSS/kmerind,ParBLiSS/kmerind,ParBLiSS/kmerind,ParBLiSS/kmerind,ParBLiSS/kmerind,ParBLiSS/kmerind |
99be5d235ed0dc14d6ccbf18dea94508c8aa0c5a | src/core/system.cpp | src/core/system.cpp | /*
** Buggy-Mushroom's Spore Game Library
** Copyright (C) 2008, Buggy-Mushroom Studio
**
** Core system functions
*/
#include "bsgl_impl.h"
#define _KEY_BUF_SIZE 256
int nRef = 0;
BSGL_Impl* pBSGL = 0;
static bool bInit = false;
BSGL* CALL bsglCreate(int ver) {
if( BSGL_VERSION == ver ) {
re... | /*
** Buggy-Mushroom's Spore Game Library
** Copyright (C) 2008, Buggy-Mushroom Studio
**
** Core system functions
*/
#include "bsgl_impl.h"
#define _KEY_BUF_SIZE 256
int nRef = 0;
BSGL_Impl* pBSGL = 0;
static bool bInit = false;
BSGL* CALL bsglCreate(int ver) {
if( BSGL_VERSION == ver ) {
re... | fix a bug about System_Log | fix a bug about System_Log
| C++ | mit | yozefx/bsgl,yozefx/bsgl,funcman/bsgl |
a45cf0e1c3e3b9b70f4c58cd6735d3d66ffd445a | src/crashdetect.cpp | src/crashdetect.cpp | // Copyright (c) 2011-2012, Zeex
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the above copyright notice, this
// list of conditions ... | // Copyright (c) 2011-2012, Zeex
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the above copyright notice, this
// list of conditions ... | Make PrintAmxBacktrace() print nothing if CIP == 0 | Make PrintAmxBacktrace() print nothing if CIP == 0
| C++ | bsd-2-clause | Zeex/samp-plugin-crashdetect,Zeex/samp-plugin-crashdetect,Zeex/samp-plugin-crashdetect |
7b28ff494b94598f4d1c3fbc27bffe7c62d3f148 | src/crashdetect.cpp | src/crashdetect.cpp | // Copyright (c) 2011-2013 Zeex
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the above copyright notice,
// this list of conditions an... | // Copyright (c) 2011-2013 Zeex
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the above copyright notice,
// this list of conditions an... | Remove extra colon | Remove extra colon
| C++ | bsd-2-clause | Zeex/samp-plugin-crashdetect,Zeex/samp-plugin-crashdetect,Zeex/samp-plugin-crashdetect |
9482846c35566fd2d151c2b6fa9fb891a86de8d9 | src/watchdogd.hpp | src/watchdogd.hpp | #ifndef WATCHDOGD_H
#define WATCHDOGD_H
#define _XOPEN_SOURCE 700
#define _FILE_OFFSET_BITS 64
#define PREFER_PORTABLE_SNPRINTF
#define HAVE_SNPRINTF
#include <atomic>
#include <cassert>
#include <cctype>
#include <cerrno>
#include <cinttypes>
#include <climits>
#include <clocale>
#include <config.h>
#include <csignal... | #ifndef WATCHDOGD_H
#define WATCHDOGD_H
#define _XOPEN_SOURCE 700
#define _FILE_OFFSET_BITS 64
#define PREFER_PORTABLE_SNPRINTF
#define HAVE_SNPRINTF
#include <atomic>
#include <cassert>
#include <cctype>
#include <cerrno>
#include <cinttypes>
#include <climits>
#include <clocale>
#include <config.h>
#include <csignal... | reduce memory usage | reduce memory usage
| C++ | apache-2.0 | clockley/watchdogd,clockley/watchdogd |
0ac7725e11d573a3bfad0ea4f5632ca6c0b38318 | engine/components/other/spherecollision/spherecollisioncomponent.cpp | engine/components/other/spherecollision/spherecollisioncomponent.cpp | /******************************************************************************
* This file is part of the Gluon Development Platform
* Copyright (C) 2010 Arjen Hiemstra <ahiemstra@heimr.nl>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Publ... | /******************************************************************************
* This file is part of the Gluon Development Platform
* Copyright (C) 2010 Arjen Hiemstra <ahiemstra@heimr.nl>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Publ... | Use the proper types in SphereCollisionComponent. | Engine: Use the proper types in SphereCollisionComponent.
| C++ | lgpl-2.1 | KDE/gluon,pranavrc/example-gluon,pranavrc/example-gluon,pranavrc/example-gluon,KDE/gluon,KDE/gluon,pranavrc/example-gluon,KDE/gluon |
b82b226cc9924dc927017ce0b926d26054a0300d | src/System.cpp | src/System.cpp | #include "nil.h"
#include "nilUtil.h"
#include "nilLogitech.h"
namespace Nil {
System::System( HINSTANCE instance, HWND window, const Cooperation coop,
SystemListener* listener ): mCooperation( coop ),
mWindow( window ), mInstance( instance ), mDirectInput( nullptr ),
mMonitor( nullptr ), mIDPool( 0 ... | #include "nil.h"
#include "nilUtil.h"
#include "nilLogitech.h"
namespace Nil {
System::System( HINSTANCE instance, HWND window, const Cooperation coop,
SystemListener* listener ): mCooperation( coop ),
mWindow( window ), mInstance( instance ), mDirectInput( nullptr ),
mMonitor( nullptr ), mIDPool( 0 ... | Fix a bug where the XInput ExternalModule wasn't being freed by System | Fix a bug where the XInput ExternalModule wasn't being freed by System
| C++ | mit | noorus/nil,noorus/nil |
c921d47c1704836c3dabae5abb16fdd1ce9ba018 | src/hip_event.cpp | src/hip_event.cpp | /*
Copyright (c) 2015-2016 Advanced Micro Devices, Inc. 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 rights
to use, cop... | /*
Copyright (c) 2015-2016 Advanced Micro Devices, Inc. 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 rights
to use, cop... | comment change | comment change
| C++ | mit | ROCm-Developer-Tools/HIP,GPUOpen-ProfessionalCompute-Tools/HIP,ROCm-Developer-Tools/HIP,GPUOpen-ProfessionalCompute-Tools/HIP,ROCm-Developer-Tools/HIP,GPUOpen-ProfessionalCompute-Tools/HIP,GPUOpen-ProfessionalCompute-Tools/HIP,ROCm-Developer-Tools/HIP,ROCm-Developer-Tools/HIP,GPUOpen-ProfessionalCompute-Tools/HIP |
d3447d791683e2dfdb04189da95454a1e3abc331 | src/httpclient.cc | src/httpclient.cc | #include "httpclient.h"
#include "logger.h"
/*****************************************************************************/
/**
* \par Description:
* A writeback handler for the curl library. I handles writing response
* data from curl into a string.
* https://curl.haxx.se/libcurl/c/CURLOPT_WRITEFUNCTION... | #include "httpclient.h"
#include "logger.h"
/*****************************************************************************/
/**
* \par Description:
* A writeback handler for the curl library. I handles writing response
* data from curl into a string.
* https://curl.haxx.se/libcurl/c/CURLOPT_WRITEFUNCTION... | Attach CURLOPT_WRITEDATA to correct curl handle | Attach CURLOPT_WRITEDATA to correct curl handle
| C++ | mpl-2.0 | advancedtelematic/aktualizr,advancedtelematic/aktualizr,advancedtelematic/aktualizr,advancedtelematic/sota_client_cpp,advancedtelematic/sota_client_cpp,advancedtelematic/aktualizr |
a54993897668439bee71d47b5ed0004b6f5f3f31 | src/UITask.cpp | src/UITask.cpp |
#include "Common.h"
#include "UITask.h"
#include "WinUtil.h"
// TODO(kjk): can I avoid this struct wrapper?
struct UITask {
UITask(const std::function<void()> f) : f(f) {}
const std::function<void()> f;
};
namespace uitask {
static HWND gTaskDispatchHwnd = NULL;
#define WM_EXECUTE_TASK (WM_USER + 1)
stati... |
#include "Common.h"
#include "UITask.h"
#include "WinUtil.h"
// TODO(kjk): can I avoid this struct wrapper?
struct UITask {
UITask(const std::function<void()> f) : f(f) {}
const std::function<void()> f;
};
namespace uitask {
static HWND gTaskDispatchHwnd = NULL;
#define WM_EXECUTE_TASK (WM_USER + 1)
stati... | remove comment | remove comment
| C++ | bsd-3-clause | vehar/velociraptor8,vehar/velociraptor8,vehar/velociraptor8,vehar/velociraptor8,vehar/velociraptor8,vehar/velociraptor8 |
75daf34f0156b0c8e4d6a90d3ac32f53c34a125a | examples/fractal.cpp | examples/fractal.cpp | // Copyright 2019 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | // Copyright 2019 The Marl 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed... | Update license on fractal.cpp | Update license on fractal.cpp
This license header was stale. | C++ | apache-2.0 | google/marl,google/marl,google/marl,google/marl |
eab334d955352a1990ead02418ef4bdd7e69b606 | src/error_logger.cc | src/error_logger.cc | /*
Copyright (c) 2017-2018 Tuukka Norri
This code is licensed under MIT license (see LICENSE for details).
*/
#include <experimental/optional>
#include <vcf2multialign/error_logger.hh>
#ifdef __GNUC__
# if __GNUC__ < 7
// XXX Hack.
namespace std {
using std::experimental::optional;
using std::experimental::nu... | /*
Copyright (c) 2017-2018 Tuukka Norri
This code is licensed under MIT license (see LICENSE for details).
*/
#if __has_include(<optional>)
# include <optional>
#else
# include <experimental/optional>
// XXX Hack.
namespace std {
using std::experimental::optional;
using std::experimental::nullopt;
}
#endif
#inclu... | Add a header check | Add a header check
| C++ | mit | tsnorri/vcf2multialign,tsnorri/vcf2multialign,tsnorri/vcf2multialign,tsnorri/vcf2multialign |
822e4e9435110ef102a0c900849bb81ade48d635 | src/factor_graph.cc | src/factor_graph.cc | #include "factor_graph.h"
#include "binary_format.h"
#include "factor.h"
#include <iostream>
#include <algorithm>
#include <thread>
#include <unistd.h>
namespace dd {
FactorGraphDescriptor::FactorGraphDescriptor()
: FactorGraphDescriptor(0, 0, 0, 0) {}
FactorGraphDescriptor::FactorGraphDescriptor(size_t n_var, ... | #include "factor_graph.h"
#include "binary_format.h"
#include "factor.h"
#include <iostream>
#include <algorithm>
#include <thread>
#include <unistd.h>
namespace dd {
FactorGraphDescriptor::FactorGraphDescriptor()
: FactorGraphDescriptor(0, 0, 0, 0) {}
FactorGraphDescriptor::FactorGraphDescriptor(size_t n_var, ... | fix anon func | fix anon func
| C++ | apache-2.0 | HazyResearch/sampler,HazyResearch/sampler,HazyResearch/deepdive,HazyResearch/deepdive,HazyResearch/sampler,HazyResearch/deepdive,HazyResearch/deepdive |
8f7dfdab804f0096e236771d1e0994f6bfe743a3 | src/fastqreader.cpp | src/fastqreader.cpp | #include "fastqreader.h"
#include "util.h"
#include <string.h>
FastqReader::FastqReader(string filename, bool hasQuality){
mFilename = filename;
mZipFile = NULL;
mZipped = false;
mHasQuality = hasQuality;
init();
}
FastqReader::~FastqReader(){
close();
}
void FastqReader::init(){
if (isZipFastq(mFilename)){
... | #include "fastqreader.h"
#include "util.h"
#include <string.h>
FastqReader::FastqReader(string filename, bool hasQuality){
mFilename = filename;
mZipFile = NULL;
mZipped = false;
mHasQuality = hasQuality;
init();
}
FastqReader::~FastqReader(){
close();
}
void FastqReader::init(){
if (isZipFastq(mFilename)){
... | remove gzbuffer since it is not compatible with old zlib | remove gzbuffer since it is not compatible with old zlib
| C++ | mit | OpenGene/MutScan,OpenGene/MutScan |
795b5d54b29acffa469b69e15a619d162900fa54 | Modules/Wrappers/CommandLine/src/otbWrapperCommandLineParser.cxx | Modules/Wrappers/CommandLine/src/otbWrapperCommandLineParser.cxx | /*
* Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
*
* This file is part of Orfeo Toolbox
*
* https://www.orfeo-toolbox.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 ... | /*
* Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
*
* This file is part of Orfeo Toolbox
*
* https://www.orfeo-toolbox.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 ... | remove useless substr | BUG: remove useless substr
| C++ | apache-2.0 | orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB |
a4a82b769c8a11aef3936f29d2986edd2fe315f9 | src/gear/speller.cc | src/gear/speller.cc | //
// Copyleft 2011 RIME Developers
// License: GPLv3
//
// 2011-10-27 GONG Chen <chen.sst@gmail.com>
//
#include <rime/candidate.h>
#include <rime/common.h>
#include <rime/composition.h>
#include <rime/config.h>
#include <rime/context.h>
#include <rime/engine.h>
#include <rime/key_event.h>
#include <rime/key_table.h>
... | //
// Copyleft 2011 RIME Developers
// License: GPLv3
//
// 2011-10-27 GONG Chen <chen.sst@gmail.com>
//
#include <rime/candidate.h>
#include <rime/common.h>
#include <rime/composition.h>
#include <rime/config.h>
#include <rime/context.h>
#include <rime/engine.h>
#include <rime/key_event.h>
#include <rime/key_table.h>
... | enable auto-committing unique candidate in fluency_editor. | speller: enable auto-committing unique candidate in fluency_editor.
| C++ | bsd-3-clause | jakwings/librime,jakwings/librime,rwduzhao/librime,bygloam/librime,rime/librime,rime/librime,kionz/librime,Prcuvu/librime,rwduzhao/librime,rime/librime,rwduzhao/librime,Prcuvu/librime,kionz/librime,kionz/librime,Prcuvu/librime,Prcuvu/librime,rime/librime,j717273419/librime,bygloam/librime,jakwings/librime,j717273419/li... |
8d8847521e9a077d1c317c622dd76d7e8087d3bd | samplecode/TransitionView.cpp | samplecode/TransitionView.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 "SampleCode.h"
#include "SkView.h"
#include "SkCanvas.h"
#include "SkTime.h"
#include "SkInterpolator.h"
extern bool is_overview(SkView* view);
static const char gIs... | /*
* 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 "SampleCode.h"
#include "SkView.h"
#include "SkCanvas.h"
#include "SkTime.h"
#include "SkInterpolator.h"
extern bool is_overview(SkView* view);
static const char gIs... | change duration of transition animation to 1, effectively removing it (for now) | change duration of transition animation to 1, effectively removing it (for now)
git-svn-id: e8541e15acce502a64c929015570ad1648e548cd@5450 2bbb7eff-a529-9590-31e7-b0007b416f81
| C++ | bsd-3-clause | AsteroidOS/android_external_skia,amyvmiwei/skia,MinimalOS/external_chromium_org_third_party_skia,nfxosp/platform_external_skia,BrokenROM/external_skia,google/skia,MinimalOS/android_external_skia,ench0/external_skia,geekboxzone/lollipop_external_skia,YUPlayGodDev/platform_external_skia,MinimalOS/external_skia,larsbergst... |
7cb42a738e746a7b7304c87059f824c62daab34e | src/guido/guido.cpp | src/guido/guido.cpp | /*
MusicXML Library
Copyright (C) Grame 2006-2013
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/.
Grame Research Laboratory, 11, cours de Verdun Gensoul 69002 Ly... | /*
MusicXML Library
Copyright (C) Grame 2006-2013
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/.
Grame Research Laboratory, 11, cours de Verdun Gensoul 69002 Ly... | Revert back to const char* as before | Revert back to const char* as before
| C++ | mpl-2.0 | grame-cncm/libmusicxml,grame-cncm/libmusicxml,grame-cncm/libmusicxml,grame-cncm/libmusicxml,grame-cncm/libmusicxml,grame-cncm/libmusicxml |
74319fd8e983a09c1167c0932c34d300cf24d920 | src/hp34970hack.cpp | src/hp34970hack.cpp | #include <errno.h>
#include <string.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <termios.h>
#include <sys/select.h>
#include <unistd.h>
#include <QtCore>
#include <stdexcept>
#include "hp34970hack.h"
// set DC voltage
// SENS:VOLT:DC ()
// 'SENS:VOLT:DC:RANG'+qs+', (@'+IntToStr(chan)+')';
// SENS:VOLT:DC:NPL... | #include <errno.h>
#include <string.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <termios.h>
#include <sys/select.h>
#include <unistd.h>
#include <QtCore>
#include <stdexcept>
#include "hp34970hack.h"
// set DC voltage
// SENS:VOLT:DC ()
// 'SENS:VOLT:DC:RANG'+qs+', (@'+IntToStr(chan)+')';
// SENS:VOLT:DC:NPL... | fix open/close channel chace for agilent | fix open/close channel chace for agilent
| C++ | apache-2.0 | pinkavaj/hall |
076fceb62de3b90954e667111af9c78013178c73 | src/mlpack/methods/kmeans/kmeans_main.cpp | src/mlpack/methods/kmeans/kmeans_main.cpp | /**
* @file kmeans_main.cpp
* @author Ryan Curtin
*
* Executable for running K-Means.
*/
#include <mlpack/core.hpp>
#include "kmeans.hpp"
#include "allow_empty_clusters.hpp"
#include "refined_start.hpp"
#include "elkan_kmeans.hpp"
#include "hamerly_kmeans.hpp"
#include "pelleg_moore_kmeans.hpp"
#include "dtnn_kme... | /**
* @file kmeans_main.cpp
* @author Ryan Curtin
*
* Executable for running K-Means.
*/
#include <mlpack/core.hpp>
#include "kmeans.hpp"
#include "allow_empty_clusters.hpp"
#include "refined_start.hpp"
#include "elkan_kmeans.hpp"
#include "hamerly_kmeans.hpp"
#include "pelleg_moore_kmeans.hpp"
#include "dtnn_kme... | Update reference to Github. | Update reference to Github.
| C++ | bsd-3-clause | trungda/mlpack,trungda/mlpack,minhpqn/mlpack,bmswgnp/mlpack,ersanliqiao/mlpack,theranger/mlpack,ajjl/mlpack,theranger/mlpack,ranjan1990/mlpack,darcyliu/mlpack,ajjl/mlpack,minhpqn/mlpack,trungda/mlpack,lezorich/mlpack,stereomatchingkiss/mlpack,ranjan1990/mlpack,bmswgnp/mlpack,BookChan/mlpack,darcyliu/mlpack,thirdwing/ml... |
56f8bb84ab1f6677cbe184539640f1d8154a8830 | src/primitives/block.cpp | src/primitives/block.cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Syscoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "primitives/block.h"
#include "hash.h"
#include "tinyformat.h"
#include... | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Syscoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "primitives/block.h"
#include "hash.h"
#include "tinyformat.h"
#include... | Revert "block cpp" | Revert "block cpp"
This reverts commit 7482afc62b44cd8b4f9317a6ef287c304c8b6f91.
| C++ | mit | syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin |
9a60eb3d0d50334d21131f7528215b1e6c42c74b | src/qt/savingsdialog.cpp | src/qt/savingsdialog.cpp | #include "savingsdialog.h"
#include "ui_savingsdialog.h"
#include "walletmodel.h"
#include "base58.h"
#include "addressbookpage.h"
#include "init.h"
#include <QLineEdit>
AutoSavingsDialog::AutoSavingsDialog(QWidget *parent) :
QWidget(parent),
ui(new Ui::AutoSavingsDialog),
model(0)
{
ui->setupUi(this... | #include "savingsdialog.h"
#include "ui_savingsdialog.h"
#include "walletmodel.h"
#include "base58.h"
#include "addressbookpage.h"
#include "init.h"
#include <QLineEdit>
AutoSavingsDialog::AutoSavingsDialog(QWidget *parent) :
QWidget(parent),
ui(new Ui::AutoSavingsDialog),
model(0)
{
ui->setupUi(this... | update labels | update labels
| C++ | mit | kizeren/fluttercoin,kizeren/fluttercoin,kizeren/fluttercoin,ofeefee/fluttercoin,ofeefee/fluttercoin,ofeefee/fluttercoin,kizeren/fluttercoin,kizeren/fluttercoin,ofeefee/fluttercoin,ofeefee/fluttercoin |
3cdef2f5ec3c25d1ac08c27e8d023e4e429d7eb4 | cpp/tests/unit-tests/CapabilitiesRegistrarTest.cpp | cpp/tests/unit-tests/CapabilitiesRegistrarTest.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... | use std::make_shared instead of new in CapabilitiesRegistrarTest | [C++] use std::make_shared instead of new in CapabilitiesRegistrarTest
Change-Id: If43305cb112fb34acfaf803edacdf2c2f6d11ba4
| C++ | apache-2.0 | bmwcarit/joynr,bmwcarit/joynr,bmwcarit/joynr,bmwcarit/joynr,bmwcarit/joynr,bmwcarit/joynr,bmwcarit/joynr,bmwcarit/joynr,bmwcarit/joynr |
cb1fefc0b94e0693e3b5c5151bf75d1bb16a3bed | src/media/plugins/music/lastfmprovider.cpp | src/media/plugins/music/lastfmprovider.cpp | #include "lastfmprovider.h"
#define DEBUG if (0) qDebug() << __PRETTY_FUNCTION__
LastFMProvider::LastFMProvider(QSqlDatabase db, QObject *parent) :
QObject(parent),
m_reply(0),
m_db(db)
{
m_networkAccessManager = new QNetworkAccessManager(this);
m_query = new QSqlQuery(m_db);
m_query->setForw... | #include "lastfmprovider.h"
#define DEBUG if (0) qDebug() << __PRETTY_FUNCTION__
LastFMProvider::LastFMProvider(QSqlDatabase db, QObject *parent) :
QObject(parent),
m_reply(0),
m_db(db)
{
m_networkAccessManager = new QNetworkAccessManager(this);
m_query = new QSqlQuery(m_db);
m_query->setForw... | remove debug output | remove debug output
| C++ | bsd-3-clause | qtmediahub/sasquatch,qtmediahub/sasquatch,qtmediahub/sasquatch |
179fcdefe75ad9425bdea8281ea44aaffb4e763b | src/ngraph/runtime/reference/avg_pool.hpp | src/ngraph/runtime/reference/avg_pool.hpp | //*****************************************************************************
// Copyright 2017-2018 Intel Corporation
//
// 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://w... | //*****************************************************************************
// Copyright 2017-2018 Intel Corporation
//
// 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://w... | Add missing #include to reference/avg_pool.hpp (#2263) | Add missing #include to reference/avg_pool.hpp (#2263)
| C++ | apache-2.0 | NervanaSystems/ngraph,NervanaSystems/ngraph,NervanaSystems/ngraph,NervanaSystems/ngraph |
347991a1c35ebb9bb3278e7bc06ad2af4e98c4a5 | src/openboardview/FileFormats/CADFile.cpp | src/openboardview/FileFormats/CADFile.cpp | #include "CADFile.h"
#include "utils.h"
#include <assert.h>
#include <algorithm>
#include <cmath>
#include <ctype.h>
#include <locale.h>
#include <stdint.h>
#include <string.h>
#include <unordered_map>
char *nextfield(char *p) {
if (p) {
while ((*p != '\t') && (*p != '\0') && (*p != '\r') && (*p != '\n')) {
p++... | #include "CADFile.h"
#include "utils.h"
#include <assert.h>
#include <algorithm>
#include <cmath>
#include <ctype.h>
#include <locale.h>
#include <stdint.h>
#include <string.h>
#include <unordered_map>
#define OUTLINE_MARGIN 20
void CADFile::gen_outline() {
// Determine board outline
int minx =
std::min_elemen... | Update CADFile.cpp | Update CADFile.cpp | C++ | mit | chloridite/OpenBoardView,chloridite/OpenBoardView |
3d8b636f9e506261c3993a8d716a68fbe5c1d095 | brightray/browser/linux/inspectable_web_contents_view_linux.cc | brightray/browser/linux/inspectable_web_contents_view_linux.cc | #include "browser/linux/inspectable_web_contents_view_linux.h"
#include <glib-object.h>
#include <gtk/gtk.h>
#include "base/strings/stringprintf.h"
#include "browser/browser_client.h"
#include "browser/inspectable_web_contents_impl.h"
#include "content/public/browser/web_contents_view.h"
namespace brightray {
Inspe... | #include "browser/linux/inspectable_web_contents_view_linux.h"
#include <glib-object.h>
#include <gtk/gtk.h>
#include "base/strings/stringprintf.h"
#include "browser/browser_client.h"
#include "browser/inspectable_web_contents_impl.h"
#include "content/public/browser/web_contents_view.h"
namespace brightray {
Inspe... | Fix remaining cpplint errors in inspectable_web_contents_view_linux.cc | Fix remaining cpplint errors in inspectable_web_contents_view_linux.cc
| C++ | mit | gerhardberger/electron,bpasero/electron,gerhardberger/electron,the-ress/electron,electron/electron,biblerule/UMCTelnetHub,gerhardberger/electron,shiftkey/electron,tonyganch/electron,rajatsingla28/electron,biblerule/UMCTelnetHub,shiftkey/electron,wan-qy/electron,electron/electron,Floato/electron,renaesop/electron,bpaser... |
17cda5c55273813cbedcced3a511f1c222978182 | src/gui/painting/qwindowsurface_x11.cpp | src/gui/painting/qwindowsurface_x11.cpp | /****************************************************************************
**
** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the QtGui module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** ... | /****************************************************************************
**
** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the QtGui module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** ... | Check for null pixmap | Check for null pixmap
Reviewed-by: Trond
| C++ | lgpl-2.1 | pruiz/wkhtmltopdf-qt,radekp/qt,radekp/qt,igor-sfdc/qt-wk,radekp/qt,pruiz/wkhtmltopdf-qt,pruiz/wkhtmltopdf-qt,pruiz/wkhtmltopdf-qt,igor-sfdc/qt-wk,igor-sfdc/qt-wk,igor-sfdc/qt-wk,igor-sfdc/qt-wk,igor-sfdc/qt-wk,radekp/qt,pruiz/wkhtmltopdf-qt,igor-sfdc/qt-wk,pruiz/wkhtmltopdf-qt,radekp/qt,igor-sfdc/qt-wk,radekp/qt,radekp... |
6bf34780cb9dc1c18aa8df9b21aa99aca6c799b4 | chrome/browser/tab_contents/render_view_host_delegate_helper.cc | chrome/browser/tab_contents/render_view_host_delegate_helper.cc | // Copyright (c) 2011 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/tab_contents/render_view_host_delegate_helper.h"
#include <string>
#include "base/command_line.h"
#include "base/string_uti... | // Copyright (c) 2011 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/tab_contents/render_view_host_delegate_helper.h"
#include <string>
#include "base/command_line.h"
#include "base/string_uti... | Revert 75900 - Set the standard font from 'serif' family font. | Revert 75900 - Set the standard font from 'serif' family font.
This is regardless of serif/sans-serif preference, because we don't
have such pref UI for now.
Otherwise some languages (CJK), which has sans-serif as a default
font (IDS_STANDARD_FONT_IS_SERIF = false), they have no way to
select a standard fallback font... | C++ | bsd-3-clause | meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-u... |
849a55e210cd05354a086b7c62693449bcc5ee69 | VDMHelperCLR64/VDMHelperCLR64.cpp | VDMHelperCLR64/VDMHelperCLR64.cpp | // This is the main DLL file.
#include "stdafx.h"
#include "VDMHelperCLR64.h"
#include "../VDMHelper64/VDMHelperAPI.h"
#define GPA(_Mod, _Name) _Name = (decltype(::_Name)*)::GetProcAddress(_Mod, #_Name)
namespace VDMHelperCLR
{
VdmHelper::VdmHelper() : hHook(0)
{
hvdm = ::LoadLibrary(_T("VDMHelper64.dll"));
... | // This is the main DLL file.
#include "stdafx.h"
#include "VDMHelperCLR64.h"
#include "../VDMHelper64/VDMHelperAPI.h"
#define GPA(_Mod, _Name) _Name = (decltype(::_Name)*)::GetProcAddress(_Mod, #_Name)
namespace VDMHelperCLR
{
VdmHelper::VdmHelper() : hHook(0)
{
hvdm = ::LoadLibrary(_T("VDMHelper64.dll"));
... | quit helper process when deinit. | quit helper process when deinit.
| C++ | mit | tmyt/VDMHelper,tmyt/VDMHelper,tmyt/VDMHelper |
f72e0432fd7f94c37990c4a4d7f7d44c65e20bea | src/budget.cpp | src/budget.cpp | //=======================================================================
// Copyright (c) 2013-2014 Baptiste Wicht.
// Distributed under the terms of the MIT License.
// (See accompanying file LICENSE or copy at
// http://opensource.org/licenses/MIT)
//=================================================================... | //=======================================================================
// Copyright (c) 2013-2014 Baptiste Wicht.
// Distributed under the terms of the MIT License.
// (See accompanying file LICENSE or copy at
// http://opensource.org/licenses/MIT)
//=================================================================... | Use cpp_utils | Use cpp_utils
| C++ | mit | wichtounet/budgetwarrior,wichtounet/budgetwarrior,wichtounet/budgetwarrior |
0db34486b6051fbf2f4c125aebffdca856459983 | src/rts/human_player.cpp | src/rts/human_player.cpp | #include "dioptre/locator.h"
#include "rts/human_player.h"
#include "rts/components/edge_scroll_component.h"
namespace rts {
HumanPlayer* HumanPlayer::spawn() {
HumanPlayer* humanPlayer = new HumanPlayer();
auto edgeScrollComponent = new components::EdgeScrollComponent();
humanPlayer->addComponent(edgeScrollC... | #include "dioptre/locator.h"
#include "rts/human_player.h"
#include "rts/components/edge_scroll_component.h"
#include <algorithm>
namespace rts {
HumanPlayer* HumanPlayer::spawn() {
HumanPlayer* humanPlayer = new HumanPlayer();
auto edgeScrollComponent = new components::EdgeScrollComponent();
humanPlayer->ad... | include missing header | include missing header
| C++ | mit | tobscher/rts,tobscher/rts,tobscher/rts |
9c9201162ac141fa4eb888e488124a201f5706bc | src/scene/Ionosphere.cpp | src/scene/Ionosphere.cpp | /*
* Ionosphere.cpp
*
* Created on: 22 Jan 2015
* Author: rian
*/
#include <iostream>
#include <iomanip>
#include <cmath>
#include <iostream>
#include "Ionosphere.h"
#include "GeometryType.h"
#include "../math/Constants.h"
#include "../exporter/Data.h"
#include "../core/Application.h"
#include "../core/Conf... | /*
* Ionosphere.cpp
*
* Created on: 22 Jan 2015
* Author: rian
*/
#include <iostream>
#include <iomanip>
#include <cmath>
#include <iostream>
#include "Ionosphere.h"
#include "GeometryType.h"
#include "../math/Constants.h"
#include "../exporter/Data.h"
#include "../core/Application.h"
#include "../core/Conf... | Undo premature commit of change in collision frequency | Undo premature commit of change in collision frequency
| C++ | mit | rvangijlswijk/ionospheric-ray-tracer,rvangijlswijk/ionospheric-ray-tracer,rvangijlswijk/ionospheric-ray-tracer |
d0a2137e94720af99b0e113b5f6a133ee89ff45a | scripts/eigen_gen_credits.cpp | scripts/eigen_gen_credits.cpp | #include <string>
#include <sstream>
#include <iostream>
#include <fstream>
#include <iomanip>
#include <map>
#include <list>
using namespace std;
// this function takes a line that may contain a name and/or email address,
// and returns just the name, while fixing the "bad cases".
std::string contributor_name(const ... | #include <string>
#include <sstream>
#include <iostream>
#include <fstream>
#include <iomanip>
#include <map>
#include <list>
using namespace std;
// this function takes a line that may contain a name and/or email address,
// and returns just the name, while fixing the "bad cases".
std::string contributor_name(const ... | handle mark's first commits before he configured his id | handle mark's first commits before he configured his id
| C++ | bsd-3-clause | toastedcrumpets/eigen,TSC21/Eigen,ritsu1228/eigen,pasuka/eigen,ROCmSoftwarePlatform/hipeigen,TSC21/Eigen,toastedcrumpets/eigen,Zefz/eigen,toastedcrumpets/eigen,pasuka/eigen,ROCmSoftwarePlatform/hipeigen,pasuka/eigen,ritsu1228/eigen,ritsu1228/eigen,ROCmSoftwarePlatform/hipeigen,Zefz/eigen,ritsu1228/eigen,ritsu1228/eigen... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.