hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
108
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
67k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
ad6c2a49df9bc9bcb60ca1a02d36e2837e67b352
270
cpp
C++
tests/op/testdata/unknown_imports.cpp
PeaStew/contentos-go
dc6029153cda3969d4879f0af5e6c9407d33b031
[ "MIT" ]
50
2018-10-22T08:12:35.000Z
2022-01-31T10:28:10.000Z
tests/op/testdata/unknown_imports.cpp
hassoon1986/contentos-go
5810123c4b353c8733e3b6fd2bb11229bc17bf6b
[ "MIT" ]
12
2019-01-04T03:06:33.000Z
2022-01-05T09:42:17.000Z
tests/op/testdata/unknown_imports.cpp
hassoon1986/contentos-go
5810123c4b353c8733e3b6fd2bb11229bc17bf6b
[ "MIT" ]
19
2019-04-28T04:46:28.000Z
2022-03-21T09:50:51.000Z
#include <cosiolib/contract.hpp> extern "C" void unknown_func(uint32_t); class unknown_imports : public cosio::contract { public: using cosio::contract::contract; void hello(uint32_t n) { unknown_func(n); } }; COSIO_ABI(unknown_imports, (hello))
18
48
0.696296
PeaStew
ad6c726c957eff3c2181f350da5bbc63fcd9f7de
5,517
cc
C++
src/lib/storage/fs_management/cpp/mount.cc
PlugFox/fuchsia
39afe5230d41628b3c736a6e384393df954968c8
[ "BSD-2-Clause" ]
2
2021-12-29T10:11:08.000Z
2022-01-04T15:37:09.000Z
src/lib/storage/fs_management/cpp/mount.cc
PlugFox/fuchsia
39afe5230d41628b3c736a6e384393df954968c8
[ "BSD-2-Clause" ]
null
null
null
src/lib/storage/fs_management/cpp/mount.cc
PlugFox/fuchsia
39afe5230d41628b3c736a6e384393df954968c8
[ "BSD-2-Clause" ]
null
null
null
// Copyright 2016 The Fuchsia 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 <errno.h> #include <fcntl.h> #include <fidl/fuchsia.hardware.block/cpp/wire.h> #include <fidl/fuchsia.io.admin/cpp/wire.h> #include <fidl/fuchsia....
33.846626
100
0.699474
PlugFox
ad6cffae77963f86606f1bf89512a8d731965953
8,869
cpp
C++
openstudiocore/src/model/AirGap.cpp
hellok-coder/OS-Testing
e9e18ad9e99f709a3f992601ed8d2e0662175af4
[ "blessing" ]
1
2019-11-12T02:07:03.000Z
2019-11-12T02:07:03.000Z
openstudiocore/src/model/AirGap.cpp
hellok-coder/OS-Testing
e9e18ad9e99f709a3f992601ed8d2e0662175af4
[ "blessing" ]
1
2019-02-04T23:30:45.000Z
2019-02-04T23:30:45.000Z
openstudiocore/src/model/AirGap.cpp
hellok-coder/OS-Testing
e9e18ad9e99f709a3f992601ed8d2e0662175af4
[ "blessing" ]
null
null
null
/*********************************************************************************************************************** * OpenStudio(R), Copyright (c) 2008-2019, Alliance for Sustainable Energy, LLC, and other contributors. All rights reserved. * * Redistribution and use in source and binary forms, with or without m...
31.78853
125
0.7038
hellok-coder
ad6f041656d64c087ad6bb0bfde7db987fc3e0f5
2,113
cpp
C++
blockchain/chain.cpp
p-shubham/resilientdb
8e69c28e73ddebdfca8359479be4499c1cb5de41
[ "MIT" ]
1
2022-03-04T20:34:29.000Z
2022-03-04T20:34:29.000Z
blockchain/chain.cpp
p-shubham/resilientdb
8e69c28e73ddebdfca8359479be4499c1cb5de41
[ "MIT" ]
null
null
null
blockchain/chain.cpp
p-shubham/resilientdb
8e69c28e73ddebdfca8359479be4499c1cb5de41
[ "MIT" ]
1
2020-02-12T01:20:26.000Z
2020-02-12T01:20:26.000Z
#include "chain.h" /* Set the identifier for the block. */ void BChainStruct::set_txn_id(uint64_t tid) { txn_id = tid; } /* Get the identifier of this block. */ uint64_t BChainStruct::get_txn_id() { return txn_id; } /* Store the BatchRequests to this block. */ void BChainStruct::add_batch(BatchRequests *msg) { c...
22.72043
79
0.661619
p-shubham
ad70dad8450ff3bdf94943f8227f4ad509e43549
311
cpp
C++
Scripts/367.cpp
zzz0906/LeetCode
cd0b4a4fd03d0dff585c9ef349984eba1922ece0
[ "MIT" ]
17
2018-08-23T08:53:56.000Z
2021-04-17T00:06:13.000Z
Scripts/367.cpp
zzz0906/LeetCode
cd0b4a4fd03d0dff585c9ef349984eba1922ece0
[ "MIT" ]
null
null
null
Scripts/367.cpp
zzz0906/LeetCode
cd0b4a4fd03d0dff585c9ef349984eba1922ece0
[ "MIT" ]
null
null
null
class Solution { public: bool isPerfectSquare(int num) { for (int i = 0; i < num; i++){ if ((long long)i*i > (long long)num){ return false; } if (i*i == num){ return true; } } return true; } };
22.214286
49
0.379421
zzz0906
ad70fb393035ed63f8a45bd219bceb896d6cfb10
2,263
hpp
C++
contracts/libraries/include/gxclib/token.hpp
Game-X-Coin/gxc-contracts-v1
cc5cc59cab0422238a44d2c4d909a31200817a35
[ "MIT" ]
1
2019-07-01T01:41:02.000Z
2019-07-01T01:41:02.000Z
contracts/libraries/include/gxclib/token.hpp
Game-X-Coin/gxc-contracts-v1
cc5cc59cab0422238a44d2c4d909a31200817a35
[ "MIT" ]
null
null
null
contracts/libraries/include/gxclib/token.hpp
Game-X-Coin/gxc-contracts-v1
cc5cc59cab0422238a44d2c4d909a31200817a35
[ "MIT" ]
null
null
null
/** * @file * @copyright defined in gxc/LICENSE */ #pragma once #include <eosio/name.hpp> #include <eosio/asset.hpp> #include <eosio/action.hpp> #include <eoslib/crypto.hpp> #include <eoslib/symbol.hpp> #include <cmath> namespace gxc { using namespace eosio; using namespace eosio::internal_use_do_not_use; const...
29.38961
105
0.699072
Game-X-Coin
ad7281476dc7e4bb30b4e2a95ff1a68dcbc9978d
1,699
hh
C++
src/elle/reactor/network/udp-server-socket.hh
infinitio/elle
d9bec976a1217137436db53db39cda99e7024ce4
[ "Apache-2.0" ]
null
null
null
src/elle/reactor/network/udp-server-socket.hh
infinitio/elle
d9bec976a1217137436db53db39cda99e7024ce4
[ "Apache-2.0" ]
null
null
null
src/elle/reactor/network/udp-server-socket.hh
infinitio/elle
d9bec976a1217137436db53db39cda99e7024ce4
[ "Apache-2.0" ]
null
null
null
#pragma once #include <elle/reactor/network/fwd.hh> #include <elle/reactor/network/socket.hh> #include <elle/reactor/signal.hh> namespace elle { namespace reactor { namespace network { /// XXX[doc]. class UDPServerSocket : public Socket { /*---------. | Typedefs |...
22.959459
58
0.446733
infinitio
ad81380094a28e623c896422d6ae66359fc8df78
6,836
cpp
C++
tests/cxx/isce3/geometry/geometry/geometry.cpp
piyushrpt/isce3
1741af321470cb5939693459765d11a19c5c6fc2
[ "Apache-2.0" ]
null
null
null
tests/cxx/isce3/geometry/geometry/geometry.cpp
piyushrpt/isce3
1741af321470cb5939693459765d11a19c5c6fc2
[ "Apache-2.0" ]
null
null
null
tests/cxx/isce3/geometry/geometry/geometry.cpp
piyushrpt/isce3
1741af321470cb5939693459765d11a19c5c6fc2
[ "Apache-2.0" ]
null
null
null
//-*- C++ -*- //-*- coding: utf-8 -*- // // Author: Bryan Riel // Copyright 2018 // #include <iostream> #include <cstdio> #include <string> #include <sstream> #include <fstream> #include <gtest/gtest.h> // isce3::io #include <isce3/io/IH5.h> // isce3::core #include <isce3/core/Constants.h> #include <isce3/core/DateT...
30.654709
86
0.612785
piyushrpt
ad868b84660b86af4fffb6556b419270e2cee7e1
1,046
hpp
C++
src/frontend/decode/definition/data_processing.hpp
StrikerX3/lunatic
aa2bdd45aab108d4943ec39a923d4256e2eb978e
[ "BSD-3-Clause" ]
61
2020-09-20T16:03:31.000Z
2022-02-27T18:52:51.000Z
src/frontend/decode/definition/data_processing.hpp
StrikerX3/lunatic
aa2bdd45aab108d4943ec39a923d4256e2eb978e
[ "BSD-3-Clause" ]
14
2021-04-28T21:08:03.000Z
2022-01-13T09:02:58.000Z
src/frontend/decode/definition/data_processing.hpp
StrikerX3/lunatic
aa2bdd45aab108d4943ec39a923d4256e2eb978e
[ "BSD-3-Clause" ]
1
2021-06-15T02:06:13.000Z
2021-06-15T02:06:13.000Z
/* * Copyright (C) 2021 fleroviux. All rights reserved. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #pragma once #include "common.hpp" namespace lunatic { namespace frontend { struct ARMDataProcessing { Condition condition; en...
16.092308
74
0.545889
StrikerX3
ad86e89debcbbc0086e927506384307200af081b
9,378
cpp
C++
sourcecode/Runtime/EnsureDynamicMethodInstruction.cpp
fabianmuehlboeck/monnom
609b307d9fa9e6641443f34dbcc0b035b34d3044
[ "BSD-3-Clause", "MIT" ]
2
2021-11-16T20:58:02.000Z
2021-12-05T18:15:41.000Z
sourcecode/Runtime/EnsureDynamicMethodInstruction.cpp
fabianmuehlboeck/monnom
609b307d9fa9e6641443f34dbcc0b035b34d3044
[ "BSD-3-Clause", "MIT" ]
null
null
null
sourcecode/Runtime/EnsureDynamicMethodInstruction.cpp
fabianmuehlboeck/monnom
609b307d9fa9e6641443f34dbcc0b035b34d3044
[ "BSD-3-Clause", "MIT" ]
null
null
null
#include "EnsureDynamicMethodInstruction.h" #include <stdio.h> #include "NomConstants.h" #include "RefValueHeader.h" #include "CompileEnv.h" #include "RTInterface.h" #include "RTVTable.h" #include "NomNameRepository.h" #include "CompileHelpers.h" #include "RTOutput.h" #include "CallingConvConf.h" #include "IntClass.h" ...
35.657795
269
0.72862
fabianmuehlboeck
ad89ce2cde6dff49087c80bc904dada098d8a96c
3,538
cpp
C++
src/acd2d_concavity.cpp
yycho0108/acd2d
2fe3fb337c49b7b1b635a46253f2a3fba9efb5e9
[ "MIT" ]
null
null
null
src/acd2d_concavity.cpp
yycho0108/acd2d
2fe3fb337c49b7b1b635a46253f2a3fba9efb5e9
[ "MIT" ]
null
null
null
src/acd2d_concavity.cpp
yycho0108/acd2d
2fe3fb337c49b7b1b635a46253f2a3fba9efb5e9
[ "MIT" ]
null
null
null
//------------------------------------------------------------------------------ // Copyright 2007-2012 by Jyh-Ming Lien and George Mason University // See the file "LICENSE" for more information //------------------------------------------------------------------------------ #include "acd2d_concavity.h" #include "a...
26.80303
80
0.52035
yycho0108
ad89ce8726d1e335d53394bf745b277e22bc1fa0
26,897
cxx
C++
MUON/MUONmapping/AliMpTriggerReader.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
52
2016-12-11T13:04:01.000Z
2022-03-11T11:49:35.000Z
MUON/MUONmapping/AliMpTriggerReader.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
1,388
2016-11-01T10:27:36.000Z
2022-03-30T15:26:09.000Z
MUON/MUONmapping/AliMpTriggerReader.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
275
2016-06-21T20:24:05.000Z
2022-03-31T13:06:19.000Z
/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Contributors are ...
29.952116
93
0.57921
AllaMaevskaya
ad8b37b509b129f91848ffd1b40db84a5da1764c
30,946
cc
C++
topside/qgc/src/ui/DebugConsole.cc
slicht-uri/Sandshark-Beta-Lab-
6cff36b227b49b776d13187c307e648d2a52bdae
[ "MIT" ]
null
null
null
topside/qgc/src/ui/DebugConsole.cc
slicht-uri/Sandshark-Beta-Lab-
6cff36b227b49b776d13187c307e648d2a52bdae
[ "MIT" ]
null
null
null
topside/qgc/src/ui/DebugConsole.cc
slicht-uri/Sandshark-Beta-Lab-
6cff36b227b49b776d13187c307e648d2a52bdae
[ "MIT" ]
1
2019-10-18T06:25:14.000Z
2019-10-18T06:25:14.000Z
/*===================================================================== QGroundControl Open Source Ground Control Station (c) 2009, 2010 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org> This file is part of the QGROUNDCONTROL project QGROUNDCONTROL is free software: you can redistribute it and/or modify ...
35.734411
389
0.574452
slicht-uri
ad8cbf1bf82bb31a17fea7342ba13dfde40d2411
268
hpp
C++
src/mbgl/programs/program_parameters.hpp
mapzak/mapbox-gl-native-android-minimod
83f1350747be9a60eb0275bd1a8dcb8e5f027abe
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
src/mbgl/programs/program_parameters.hpp
mapzak/mapbox-gl-native-android-minimod
83f1350747be9a60eb0275bd1a8dcb8e5f027abe
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
src/mbgl/programs/program_parameters.hpp
mapzak/mapbox-gl-native-android-minimod
83f1350747be9a60eb0275bd1a8dcb8e5f027abe
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
#pragma once namespace mbgl { class ProgramParameters { public: ProgramParameters(float pixelRatio_ = 1.0, bool overdraw_ = false) : pixelRatio(pixelRatio_), overdraw(overdraw_) {} float pixelRatio; bool overdraw; }; } // namespace mbgl
15.764706
70
0.679104
mapzak
ad8e005cd1583ab706d5ac3e7617042dd1b6b9b5
3,743
cpp
C++
tests/std/tests/GH_002299_implicit_sfinae_constraints/test.compile.pass.cpp
JMazurkiewicz/STL
1a20fe1133d711a647bbb135d98743f91b7be323
[ "Apache-2.0" ]
1
2022-03-01T19:31:40.000Z
2022-03-01T19:31:40.000Z
tests/std/tests/GH_002299_implicit_sfinae_constraints/test.compile.pass.cpp
JMazurkiewicz/STL
1a20fe1133d711a647bbb135d98743f91b7be323
[ "Apache-2.0" ]
null
null
null
tests/std/tests/GH_002299_implicit_sfinae_constraints/test.compile.pass.cpp
JMazurkiewicz/STL
1a20fe1133d711a647bbb135d98743f91b7be323
[ "Apache-2.0" ]
null
null
null
// Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include <memory> #include <type_traits> #include <utility> #if _HAS_CXX17 #include <any> #include <initializer_list> #include <optional> #endif // _HAS_CXX17 #define STATIC_ASSERT(...) static_assert(__VA_...
37.059406
117
0.740582
JMazurkiewicz
ad8edf10042df96058e2b21cb955b9ee51cf9501
1,710
cpp
C++
GRUT Engine/src/Scene/SceneManager.cpp
lggmonclar/GRUT
b7d06fd314141395b54a86122374f4f955f653cf
[ "MIT" ]
2
2019-02-14T03:20:59.000Z
2019-03-12T01:34:59.000Z
GRUT Engine/src/Scene/SceneManager.cpp
lggmonclar/GRUT
b7d06fd314141395b54a86122374f4f955f653cf
[ "MIT" ]
null
null
null
GRUT Engine/src/Scene/SceneManager.cpp
lggmonclar/GRUT
b7d06fd314141395b54a86122374f4f955f653cf
[ "MIT" ]
null
null
null
#include "grutpch.h" #include "Scene.h" #include "Core/Parallelism/FrameParams.h" #include "Core/Memory/MemoryManager.h" #include "Core/Memory/ObjectHandle.h" #include "SceneManager.h" #include "Core/Jobs/JobManager.h" #include "Components/Rendering/Camera.h" namespace GRUT { void SceneManager::Initialize() { ...
36.382979
118
0.65848
lggmonclar
74e8170d79d8f40103d188b39789cda88b0b3f79
3,056
cpp
C++
plugins/core/qPCL/PclUtils/filters/dialogs/MLSDialog.cpp
ohanlonl/qCMAT
f6ca04fa7c171629f094ee886364c46ff8b27c0b
[ "BSD-Source-Code" ]
null
null
null
plugins/core/qPCL/PclUtils/filters/dialogs/MLSDialog.cpp
ohanlonl/qCMAT
f6ca04fa7c171629f094ee886364c46ff8b27c0b
[ "BSD-Source-Code" ]
null
null
null
plugins/core/qPCL/PclUtils/filters/dialogs/MLSDialog.cpp
ohanlonl/qCMAT
f6ca04fa7c171629f094ee886364c46ff8b27c0b
[ "BSD-Source-Code" ]
1
2019-02-03T12:19:42.000Z
2019-02-03T12:19:42.000Z
//########################################################################## //# # //# CLOUDCOMPARE PLUGIN: qPCL # //# # //# This pr...
34.337079
118
0.578534
ohanlonl
74e983c73966096c53b2032c6bc0a7448a9b688b
1,766
cpp
C++
ToneArmEngine/OpenGLMaterial.cpp
GDAP/ToneArmEngine
85da7b8da30c714891bdadfe824bae1bbdd49f94
[ "Zlib", "BSD-2-Clause" ]
null
null
null
ToneArmEngine/OpenGLMaterial.cpp
GDAP/ToneArmEngine
85da7b8da30c714891bdadfe824bae1bbdd49f94
[ "Zlib", "BSD-2-Clause" ]
null
null
null
ToneArmEngine/OpenGLMaterial.cpp
GDAP/ToneArmEngine
85da7b8da30c714891bdadfe824bae1bbdd49f94
[ "Zlib", "BSD-2-Clause" ]
null
null
null
#include "OpenGLMaterial.h" #include "OpenGLProgram.h" namespace vgs { /* ======== OpenGLMaterial::OpenGLMaterial OpenGLMaterial default constructor ======== */ OpenGLMaterial::OpenGLMaterial( void ) : m_requiredFeatures( ProgramFeatures::NONE ) {} /* ======== OpenGLMaterial::~OpenGLMaterial OpenGLMaterial destru...
23.236842
107
0.722537
GDAP
74e98437f534d06652bcc354c66ceadfd37a9e60
1,729
cpp
C++
ACM-ICPC/1238.cpp
KimBoWoon/ACM-ICPC
146c36999488af9234d73f7b4b0c10d78486604f
[ "MIT" ]
null
null
null
ACM-ICPC/1238.cpp
KimBoWoon/ACM-ICPC
146c36999488af9234d73f7b4b0c10d78486604f
[ "MIT" ]
null
null
null
ACM-ICPC/1238.cpp
KimBoWoon/ACM-ICPC
146c36999488af9234d73f7b4b0c10d78486604f
[ "MIT" ]
null
null
null
#include <cstdio> #include <queue> #include <vector> #include <algorithm> using namespace std; #pragma warning(disable:4996) #define INF 987654321 vector<pair<int, int> > v[10001], rv[10001]; // first는 거리, second는 다음 정점. priority_queue<pair<int, int> > q; int dist[10001], rdist[10001]; int n, m, x, maxDi...
19.647727
61
0.526894
KimBoWoon
74eaeca76cc7601c84d45ae080420decdfa2201c
2,494
cpp
C++
Src-CAH/OI.cpp
SkyZH/STM32Framework
6711f53897be1cf6fba0eb33ccf661ef4e99ba0a
[ "MIT" ]
4
2021-01-19T07:29:02.000Z
2021-12-12T13:45:06.000Z
Src-CAH/OI.cpp
skyzh/Hurricane
6711f53897be1cf6fba0eb33ccf661ef4e99ba0a
[ "MIT" ]
1
2018-12-30T16:16:16.000Z
2019-01-08T14:15:53.000Z
Src-CAH/OI.cpp
skyzh/Hurricane
6711f53897be1cf6fba0eb33ccf661ef4e99ba0a
[ "MIT" ]
2
2020-08-31T12:03:19.000Z
2020-11-05T08:03:41.000Z
// // Created by Alex Chi on 2018/11/02. // #include <cstdio> #include "hal.h" #include "OI.h" #include "HurricaneDebugSystem.h" #include "HurricaneCANSystem.h" #include "HurricaneIMUSystem.h" #include "HurricaneRemoteSystem.h" #include "HurricaneArmSystem.h" #include "HurricaneChassisSystem.h" #include "HurricaneColl...
26.252632
82
0.659984
SkyZH
74eb73259fc55722766192f5a0a1c89e6033143c
4,864
cpp
C++
src/fume/vr_field.cpp
ekhidbor/FUMe
de50357efcb6dbfd0114802bc72ad316daca0ce3
[ "CC0-1.0" ]
null
null
null
src/fume/vr_field.cpp
ekhidbor/FUMe
de50357efcb6dbfd0114802bc72ad316daca0ce3
[ "CC0-1.0" ]
null
null
null
src/fume/vr_field.cpp
ekhidbor/FUMe
de50357efcb6dbfd0114802bc72ad316daca0ce3
[ "CC0-1.0" ]
null
null
null
/** * This file is a part of the FUMe project. * * To the extent possible under law, the person who associated CC0 with * FUMe has waived all copyright and related or neighboring rights * to FUMe. * * You should have received a copy of the CC0 legalcode along with this * work. If not, see http://creativecommon...
23.384615
80
0.4706
ekhidbor
74ed3a7210c2e422b12177729dea2d73f868b614
2,789
cc
C++
ios/consumer/base/supports_user_data.cc
nagineni/chromium-crosswalk
5725642f1c67d0f97e8613ec1c3e8107ab53fdf8
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
231
2015-01-08T09:04:44.000Z
2021-12-30T03:03:10.000Z
ios/consumer/base/supports_user_data.cc
j4ckfrost/android_external_chromium_org
a1a3dad8b08d1fcf6b6b36c267158ed63217c780
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2021-12-13T19:44:12.000Z
2021-12-13T19:44:12.000Z
ios/consumer/base/supports_user_data.cc
j4ckfrost/android_external_chromium_org
a1a3dad8b08d1fcf6b6b36c267158ed63217c780
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
268
2015-01-21T05:53:28.000Z
2022-03-25T22:09:01.000Z
// Copyright 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 "ios/public/consumer/base/supports_user_data.h" #include "base/memory/scoped_ptr.h" #include "base/supports_user_data.h" namespace ios { // Cl...
30.648352
79
0.754392
nagineni
74efc4e4a78fc6b3dcbb6d3bcfb4398025191cbe
1,375
cpp
C++
Uebungsaufgaben/ListenStrukturen/stack.cpp
TEL21D/Informatik2
d0a6b6b5a0fe5dd404dadfd50d25543d5c6d5075
[ "MIT" ]
null
null
null
Uebungsaufgaben/ListenStrukturen/stack.cpp
TEL21D/Informatik2
d0a6b6b5a0fe5dd404dadfd50d25543d5c6d5075
[ "MIT" ]
null
null
null
Uebungsaufgaben/ListenStrukturen/stack.cpp
TEL21D/Informatik2
d0a6b6b5a0fe5dd404dadfd50d25543d5c6d5075
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> struct element { /* data */ int _data; element *_next; element(int data = 0, element *next = nullptr) { _data = data; _next = next; } bool empty() { return _next == nullptr; } }; struct s_stack { // Member Variablen int _size = 0; element *_he...
14.945652
56
0.528727
TEL21D
74f0c3868289fe5fece793fb2f91691eacd80877
3,136
cc
C++
dash/src/util/Trace.cc
RuhanDev/dash
c56193149c334e552df6f8439c3fb1510048b7f1
[ "BSD-3-Clause" ]
1
2019-05-19T20:31:20.000Z
2019-05-19T20:31:20.000Z
dash/src/util/Trace.cc
RuhanDev/dash
c56193149c334e552df6f8439c3fb1510048b7f1
[ "BSD-3-Clause" ]
null
null
null
dash/src/util/Trace.cc
RuhanDev/dash
c56193149c334e552df6f8439c3fb1510048b7f1
[ "BSD-3-Clause" ]
null
null
null
#include <dash/util/Trace.h> #include <dash/util/Config.h> #include <dash/Team.h> #include <map> #include <iostream> #include <fstream> #include <sstream> #include <iomanip> #include <string> #include <vector> #include <unistd.h> std::map<std::string, dash::util::TraceStore::trace_events_t> dash::util::TraceStore::_...
24.310078
72
0.583227
RuhanDev
74f1b617e097b6a333c61d9d66a34f98ac8f71d8
1,083
cpp
C++
oi/loj/P6433/main.cpp
Riteme/test
b511d6616a25f4ae8c3861e2029789b8ee4dcb8d
[ "BSD-Source-Code" ]
3
2018-08-30T09:43:20.000Z
2019-12-03T04:53:43.000Z
oi/loj/P6433/main.cpp
Riteme/test
b511d6616a25f4ae8c3861e2029789b8ee4dcb8d
[ "BSD-Source-Code" ]
null
null
null
oi/loj/P6433/main.cpp
Riteme/test
b511d6616a25f4ae8c3861e2029789b8ee4dcb8d
[ "BSD-Source-Code" ]
null
null
null
#include <cstdio> #include <cstring> #include <algorithm> using namespace std; #define NMAX 20 #define SMAX (1 << (NMAX)) #define MOD 998244353 typedef long long i64; static int n; static i64 A[NMAX + 10]; static i64 S[SMAX], f[SMAX], g[SMAX], lb[SMAX]; inline void add(i64 &a, i64 b) { a += b; if (a >= MO...
22.102041
65
0.406279
Riteme
74f1e7388a837ed992b18edab72ab69646eba10a
266
cpp
C++
Chess_2.1.1/Pieces/Empty.cpp
jeremy-pouzargues/Projet-Tutor-
fa20a5887235f754424087ea776efe608f9ec411
[ "CC-BY-4.0" ]
null
null
null
Chess_2.1.1/Pieces/Empty.cpp
jeremy-pouzargues/Projet-Tutor-
fa20a5887235f754424087ea776efe608f9ec411
[ "CC-BY-4.0" ]
null
null
null
Chess_2.1.1/Pieces/Empty.cpp
jeremy-pouzargues/Projet-Tutor-
fa20a5887235f754424087ea776efe608f9ec411
[ "CC-BY-4.0" ]
null
null
null
#include <iostream> #include "Pieces/Empty.h" using namespace std; Empty::Empty(const pairCoord & coord) { myCarac = KEMPTY; myCoord = coord; myColor = empty; myName = "Empty"; myValue = 0; myInitCoord = coord; canCastling = false; }
15.647059
37
0.631579
jeremy-pouzargues
74f430d096a1ff97ae947fc9aa2c8e03618ec1cd
1,825
cpp
C++
data/transcoder_evaluation_gfg/cpp/INTEGER_POSITIVE_VALUE_POSITIVE_NEGATIVE_VALUE_ARRAY.cpp
mxl1n/CodeGen
e5101dd5c5e9c3720c70c80f78b18f13e118335a
[ "MIT" ]
241
2021-07-20T08:35:20.000Z
2022-03-31T02:39:08.000Z
data/transcoder_evaluation_gfg/cpp/INTEGER_POSITIVE_VALUE_POSITIVE_NEGATIVE_VALUE_ARRAY.cpp
mxl1n/CodeGen
e5101dd5c5e9c3720c70c80f78b18f13e118335a
[ "MIT" ]
49
2021-07-22T23:18:42.000Z
2022-03-24T09:15:26.000Z
data/transcoder_evaluation_gfg/cpp/INTEGER_POSITIVE_VALUE_POSITIVE_NEGATIVE_VALUE_ARRAY.cpp
mxl1n/CodeGen
e5101dd5c5e9c3720c70c80f78b18f13e118335a
[ "MIT" ]
71
2021-07-21T05:17:52.000Z
2022-03-29T23:49:28.000Z
// Copyright (c) 2019-present, Facebook, Inc. // All rights reserved. // // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // #include <iostream> #include <cstdlib> #include <string> #include <vector> #include <fstream> #include <iomanip> #include...
38.829787
760
0.558904
mxl1n
74f70f7eebb5748585b252b47529fc89a447600e
1,558
cpp
C++
Hdu/hdu4738.cpp
Tunghohin/Competitive_coding
879238605d5525cda9fd0cfa1155ba67959179a6
[ "MIT" ]
2
2021-09-06T08:34:00.000Z
2021-11-22T14:52:41.000Z
Hdu/hdu4738.cpp
Tunghohin/Competitive_coding
879238605d5525cda9fd0cfa1155ba67959179a6
[ "MIT" ]
null
null
null
Hdu/hdu4738.cpp
Tunghohin/Competitive_coding
879238605d5525cda9fd0cfa1155ba67959179a6
[ "MIT" ]
null
null
null
#include <cstring> #include <iostream> using namespace std; const int N = 1010, M = 200; struct edge { int to, next, val; }e[M]; int head[N], tot = 0; void add_edge(int from, int to, int val) { e[++tot].to = to; e[tot].val = val; e[tot].next = head[from]; head[from] = tot; } int inv_edge(int i) { return i - ...
15.126214
69
0.497433
Tunghohin
74f72855523f3b8a69ece22a604780126cb0d917
10,662
cpp
C++
src/ui-win/light/LightSpillCust.cpp
steptosky/3DsMax-X-Obj-Exporter
c70f5a60056ee71aba1569f1189c38b9e01d2f0e
[ "BSD-3-Clause" ]
20
2017-07-07T06:07:30.000Z
2022-03-09T12:00:57.000Z
src/ui-win/light/LightSpillCust.cpp
steptosky/3DsMax-X-Obj-Exporter
c70f5a60056ee71aba1569f1189c38b9e01d2f0e
[ "BSD-3-Clause" ]
28
2017-07-07T06:08:27.000Z
2022-03-09T12:09:23.000Z
src/ui-win/light/LightSpillCust.cpp
steptosky/3DsMax-X-Obj-Exporter
c70f5a60056ee71aba1569f1189c38b9e01d2f0e
[ "BSD-3-Clause" ]
7
2018-01-24T19:43:22.000Z
2020-01-06T00:05:40.000Z
/* ** Copyright(C) 2017, StepToSky ** ** 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 and the following di...
39.488889
110
0.450291
steptosky
74f880678a1f202c00c1f5643fcb9c6449eec575
699
cpp
C++
saori.cpp
Taromati2/OICQ-saori
179ade6088df59ad985909da8eb82161c46902c3
[ "WTFPL" ]
null
null
null
saori.cpp
Taromati2/OICQ-saori
179ade6088df59ad985909da8eb82161c46902c3
[ "WTFPL" ]
null
null
null
saori.cpp
Taromati2/OICQ-saori
179ade6088df59ad985909da8eb82161c46902c3
[ "WTFPL" ]
null
null
null
#include <iostream> // 使用静态库必须要在引入 mirai.h 前定义这个宏 #define MIRAICPP_STATICLIB #include <mirai.h> int main() { using namespace std; using namespace Cyan; using namespace SSTP_link_n; system("chcp 65001"); SSTP_link_t linker({{L"Charset",L"UTF-8"},{L"Sender",L"OICQ-saori"}}); MiraiBot bot("127.0.0.1", 539); bot...
18.394737
71
0.692418
Taromati2
74f95a4140e7343ef28c0f77de78b8c2c37bf314
254
cpp
C++
src/default/aw_vibratorfactory_default.cpp
angelsware/aw-plugin-vibrator
23c6106f25ff32147c5f79388f5c4b1e8f428622
[ "MIT" ]
null
null
null
src/default/aw_vibratorfactory_default.cpp
angelsware/aw-plugin-vibrator
23c6106f25ff32147c5f79388f5c4b1e8f428622
[ "MIT" ]
null
null
null
src/default/aw_vibratorfactory_default.cpp
angelsware/aw-plugin-vibrator
23c6106f25ff32147c5f79388f5c4b1e8f428622
[ "MIT" ]
null
null
null
#include <vibrator/aw_vibratorfactory.h> #include "aw_vibrator_default.h" namespace Vibrator { IVibrator* CVibratorFactory::create() { return new CVibrator_Default(); } void CVibratorFactory::destroy(IVibrator* vibrator) { delete vibrator; } }
19.538462
54
0.759843
angelsware
2d0043b6fa999d1f02a31bcbaa29ec9b6160ace6
1,229
hpp
C++
lib/xpath_ctxt.hpp
timeout/xml_named_entity_miner
0d3c6f59b7cb1c2f585b25d86eb0cc8a6a532839
[ "0BSD" ]
null
null
null
lib/xpath_ctxt.hpp
timeout/xml_named_entity_miner
0d3c6f59b7cb1c2f585b25d86eb0cc8a6a532839
[ "0BSD" ]
null
null
null
lib/xpath_ctxt.hpp
timeout/xml_named_entity_miner
0d3c6f59b7cb1c2f585b25d86eb0cc8a6a532839
[ "0BSD" ]
null
null
null
#pragma once #include "xml_doc.hpp" #include "libxml2_error_handlers.hpp" #include <libxml/xpath.h> #include <memory> class XPathQuery; class FreeXPathCtxt { public: auto operator( )( xmlXPathContext *xpathCtxt ) const -> void; }; class XPathCtxt { friend class XPathQuery; public: XPathCtxt( ); exp...
27.931818
85
0.702197
timeout
2d0505cbf28fc9c5a243c1fafbfd158dd50d5ebb
499
cpp
C++
src/ast/try_statement.cpp
alekratz/matlab2r
2089fbebadd5036ec1747db7bd750eb9ad18e6bb
[ "0BSD" ]
4
2016-02-21T16:44:35.000Z
2019-08-10T13:11:24.000Z
src/ast/try_statement.cpp
alekratz/matlab2r
2089fbebadd5036ec1747db7bd750eb9ad18e6bb
[ "0BSD" ]
null
null
null
src/ast/try_statement.cpp
alekratz/matlab2r
2089fbebadd5036ec1747db7bd750eb9ad18e6bb
[ "0BSD" ]
null
null
null
#include "ast.hpp" namespace ast { void try_statement::children_accept(visitor_p guest) { base_t::children_accept(guest); catch_statement->accept(guest); } void try_statement::traverse_top_down(visitor_p guest) { accept(guest); base_t::traverse_top_down(guest); catch_statement->traverse_top_down(...
19.192308
55
0.749499
alekratz
2d0669c40142c25e97d522001f9d7fcb1bcc1668
4,593
cc
C++
content/browser/service_worker/payment_handler_support.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
content/browser/service_worker/payment_handler_support.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
content/browser/service_worker/payment_handler_support.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2021-01-05T23:43:46.000Z
2021-01-07T23:36:34.000Z
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "content/browser/service_worker/payment_handler_support.h" #include "base/bind.h" #include "base/task/post_task.h" #include "content/browser/ser...
41.008929
80
0.744829
sarang-apps
2d07795c7a925ca206dca3ca11fe4b2c197d1c5c
9,503
cpp
C++
src/planning/lanelet2_global_planner_nodes/src/lanelet2_global_planner_node.cpp
Nova-UTD/navigator
1db2c614f9c53fb012842b8653ae1bed58a7ffdf
[ "Apache-2.0" ]
11
2021-11-26T14:06:51.000Z
2022-03-18T16:49:33.000Z
src/planning/lanelet2_global_planner_nodes/src/lanelet2_global_planner_node.cpp
Nova-UTD/navigator
1db2c614f9c53fb012842b8653ae1bed58a7ffdf
[ "Apache-2.0" ]
222
2021-10-29T22:00:27.000Z
2022-03-29T20:56:34.000Z
src/planning/lanelet2_global_planner_nodes/src/lanelet2_global_planner_node.cpp
Nova-UTD/navigator
1db2c614f9c53fb012842b8653ae1bed58a7ffdf
[ "Apache-2.0" ]
1
2021-12-10T18:05:03.000Z
2021-12-10T18:05:03.000Z
/* * Package: lanelet2_global_planner_nodes * Filename: lanelet2_global_planner_node.cpp * Author: Egan Johnson * Email: egan.johnson@utdallas.edu * Copyright: 2021, Nova UTD * License: MIT License */ #include <rclcpp/node_options.hpp> #include <rclcpp_components/register_node_macro.hpp> #include <t...
34.183453
99
0.645901
Nova-UTD
2d0c42246893e8ef34b9b1a5931801b2ca8e88f2
282
cpp
C++
src/linker.cpp
TartanLlama/li1I
51b2305566b273ebc57e07e8787d8c806f0a2386
[ "MIT" ]
4
2018-05-07T10:59:28.000Z
2021-06-19T17:56:17.000Z
src/linker.cpp
TartanLlama/li1I
51b2305566b273ebc57e07e8787d8c806f0a2386
[ "MIT" ]
null
null
null
src/linker.cpp
TartanLlama/li1I
51b2305566b273ebc57e07e8787d8c806f0a2386
[ "MIT" ]
null
null
null
#include <vector> #include <memory> #include <exception> #include <llvm/Support/Program.h> #include "linker.hpp" using std::string; void li1I::Linker::link(string input_object, string output_file) { throw std::runtime_error{"Not implemented yet, use your system linker"}; }
18.8
76
0.737589
TartanLlama
2d0d85f2a0738acad3798b737d26b87ed2c72cce
23,249
cpp
C++
kuntar.cpp
ridgeware/dekaf2
b914d880d1a5b7f5c8f89dedd36b13b7f4b0ee33
[ "MIT" ]
null
null
null
kuntar.cpp
ridgeware/dekaf2
b914d880d1a5b7f5c8f89dedd36b13b7f4b0ee33
[ "MIT" ]
null
null
null
kuntar.cpp
ridgeware/dekaf2
b914d880d1a5b7f5c8f89dedd36b13b7f4b0ee33
[ "MIT" ]
1
2021-08-20T16:15:01.000Z
2021-08-20T16:15:01.000Z
/* // // DEKAF(tm): Lighter, Faster, Smarter (tm) // // Copyright (c) 2018, Ridgeware, Inc. // // +-------------------------------------------------------------------------+ // | /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\| // |/+-------------------------------------------------------------...
27.383981
112
0.503678
ridgeware
2d101d27bd25729bdbd00f556345f40ac5a982ba
1,800
hpp
C++
iehl/src/forward_rendering/vertex_array.hpp
the-last-willy/id3d
dc0d22e7247ac39fbc1fd8433acae378b7610109
[ "MIT" ]
null
null
null
iehl/src/forward_rendering/vertex_array.hpp
the-last-willy/id3d
dc0d22e7247ac39fbc1fd8433acae378b7610109
[ "MIT" ]
null
null
null
iehl/src/forward_rendering/vertex_array.hpp
the-last-willy/id3d
dc0d22e7247ac39fbc1fd8433acae378b7610109
[ "MIT" ]
null
null
null
#pragma once #include "scene/vertex_attribute/all.hpp" #include "forward_renderer.hpp" inline gl::VertexArray vertex_array( const ForwardRenderer&, const VertexAttributeGroup& vag) { auto vao = gl::VertexArray(); if(gl::GetNamedBufferParameter(vag.normal_buffer, GL_BUFFER_SIZE) > 0) { auto att...
36
79
0.654444
the-last-willy
2d130e2d0d508c761edb26a276b4619e0b206ce2
3,548
hpp
C++
MultiSource/Benchmarks/DOE-ProxyApps-C++/miniFE/analytic_soln.hpp
gmlueck/llvm-test-suite
7ff842b8fec970561fed78c9347e496538cf74f5
[ "Apache-2.0" ]
692
2015-11-12T13:56:43.000Z
2022-03-30T03:45:59.000Z
MultiSource/Benchmarks/DOE-ProxyApps-C++/miniFE/analytic_soln.hpp
gmlueck/llvm-test-suite
7ff842b8fec970561fed78c9347e496538cf74f5
[ "Apache-2.0" ]
1,096
2015-11-12T09:08:22.000Z
2022-03-31T21:48:41.000Z
MultiSource/Benchmarks/DOE-ProxyApps-C++/miniFE/analytic_soln.hpp
gmlueck/llvm-test-suite
7ff842b8fec970561fed78c9347e496538cf74f5
[ "Apache-2.0" ]
224
2015-11-12T21:17:03.000Z
2022-03-30T00:57:48.000Z
#ifndef _analytic_soln_hpp_ #define _analytic_soln_hpp_ //@HEADER // ************************************************************************ // // MiniFE: Simple Finite Element Assembly and Solve // Copyright (2006-2013) Sandia Corporation // // Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive // l...
30.324786
75
0.636415
gmlueck
2d13dc676ee0c7d01385dc380c2b56596ab770d3
14,805
cpp
C++
RadeonGPUAnalyzerGUI/Src/rgMenuVulkan.cpp
jeongjoonyoo/AMD_RGA
26c6bfdf83f372eeadb1874420aa2ed55569d50f
[ "MIT" ]
2
2019-05-18T11:39:59.000Z
2019-05-18T11:40:05.000Z
RadeonGPUAnalyzerGUI/Src/rgMenuVulkan.cpp
Acidburn0zzz/RGA
35cd028602e21f6b8853fdc86b16153b693acb72
[ "MIT" ]
null
null
null
RadeonGPUAnalyzerGUI/Src/rgMenuVulkan.cpp
Acidburn0zzz/RGA
35cd028602e21f6b8853fdc86b16153b693acb72
[ "MIT" ]
null
null
null
// C++. #include <cassert> #include <sstream> // Local. #include <RadeonGPUAnalyzerGUI/Include/Qt/rgMenuBuildSettingsItem.h> #include <RadeonGPUAnalyzerGUI/Include/Qt/rgMenuVulkan.h> #include <RadeonGPUAnalyzerGUI/Include/Qt/rgMenuFileItemGraphics.h> #include <RadeonGPUAnalyzerGUI/Include/Qt/rgMenuPipelineStateItem.h>...
35.25
159
0.633705
jeongjoonyoo
2d163d84d0674c9e91ced56d3de3a8c83605802a
1,386
cpp
C++
hw/2019-11-15/D.cpp
Riteme/test
b511d6616a25f4ae8c3861e2029789b8ee4dcb8d
[ "BSD-Source-Code" ]
3
2018-08-30T09:43:20.000Z
2019-12-03T04:53:43.000Z
hw/2019-11-15/D.cpp
Riteme/test
b511d6616a25f4ae8c3861e2029789b8ee4dcb8d
[ "BSD-Source-Code" ]
null
null
null
hw/2019-11-15/D.cpp
Riteme/test
b511d6616a25f4ae8c3861e2029789b8ee4dcb8d
[ "BSD-Source-Code" ]
null
null
null
#include <cstdio> #include <cstring> #include <vector> #include <algorithm> using namespace std; #define NMAX 100000 static int n, q; static vector<int> G[NMAX + 10]; static int ans[NMAX + 10]; static int dist[NMAX + 10]; void dfs(int x, int f) { for (int i = 0; i < G[x].size(); i++) { int v = G[x][i];...
22.354839
56
0.382395
Riteme
2d167a9cf4824caebe65c82b788698d5b5c7d84d
5,780
cpp
C++
osquery/sql/benchmarks/sql_benchmarks.cpp
trizt/osquery
9256819b8161ab1e02ea0d7eb55da132f197723d
[ "BSD-3-Clause" ]
1
2018-10-30T03:58:24.000Z
2018-10-30T03:58:24.000Z
osquery/sql/benchmarks/sql_benchmarks.cpp
trizt/osquery
9256819b8161ab1e02ea0d7eb55da132f197723d
[ "BSD-3-Clause" ]
null
null
null
osquery/sql/benchmarks/sql_benchmarks.cpp
trizt/osquery
9256819b8161ab1e02ea0d7eb55da132f197723d
[ "BSD-3-Clause" ]
2
2020-09-23T04:49:23.000Z
2022-03-29T17:32:31.000Z
/* * Copyright (c) 2014-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * */ #in...
29.191919
79
0.692907
trizt
2d1776aac2e4aea98a712e4896a4aad4c598364a
2,658
cpp
C++
visual/kinect2/kinect2.cpp
TimothyYong/Tachikoma-Project
c7af70f2c58fe43f25331fd03589845480ae0f16
[ "MIT" ]
1
2016-02-02T23:13:54.000Z
2016-02-02T23:13:54.000Z
visual/kinect2/kinect2.cpp
TimothyYong/Tachikoma-Project
c7af70f2c58fe43f25331fd03589845480ae0f16
[ "MIT" ]
null
null
null
visual/kinect2/kinect2.cpp
TimothyYong/Tachikoma-Project
c7af70f2c58fe43f25331fd03589845480ae0f16
[ "MIT" ]
null
null
null
#include <cstdio> #include <cmath> #include <opencv2/imgproc/imgproc.hpp> #include "kinect.h" using namespace cv; using namespace std; /* This file accesses the Kinect Device and gets its video and depth frames. If a depth frame is deteced, a new distance frame is created as well */ KinectDevice::KinectDevice(freene...
26.848485
148
0.667043
TimothyYong
2d17d6530567c0559aa09a34e9e6baf500cc795f
1,581
cc
C++
peridot/lib/testing/module_resolver_fake.cc
OpenTrustGroup/fuchsia
647e593ea661b8bf98dcad2096e20e8950b24a97
[ "BSD-3-Clause" ]
1
2019-04-21T18:02:26.000Z
2019-04-21T18:02:26.000Z
peridot/lib/testing/module_resolver_fake.cc
OpenTrustGroup/fuchsia
647e593ea661b8bf98dcad2096e20e8950b24a97
[ "BSD-3-Clause" ]
16
2020-09-04T19:01:11.000Z
2021-05-28T03:23:09.000Z
peridot/lib/testing/module_resolver_fake.cc
OpenTrustGroup/fuchsia
647e593ea661b8bf98dcad2096e20e8950b24a97
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2018 The Fuchsia 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 "peridot/lib/testing/module_resolver_fake.h" namespace modular { ModuleResolverFake::ModuleResolverFake() { find_modules_response_.results.resiz...
32.9375
100
0.767868
OpenTrustGroup
2d231710ec68724b796f73830cb079d37898b1a9
2,406
hpp
C++
modules/core/combinatorial/include/nt2/toolbox/combinatorial/functions/scalar/gcd.hpp
timblechmann/nt2
6c71f7063ca4e5975c9c019877e6b2fe07c9e4ce
[ "BSL-1.0" ]
2
2016-09-14T00:23:53.000Z
2018-01-14T12:51:18.000Z
modules/core/combinatorial/include/nt2/toolbox/combinatorial/functions/scalar/gcd.hpp
timblechmann/nt2
6c71f7063ca4e5975c9c019877e6b2fe07c9e4ce
[ "BSL-1.0" ]
null
null
null
modules/core/combinatorial/include/nt2/toolbox/combinatorial/functions/scalar/gcd.hpp
timblechmann/nt2
6c71f7063ca4e5975c9c019877e6b2fe07c9e4ce
[ "BSL-1.0" ]
null
null
null
//============================================================================== // Copyright 2003 - 2011 LASMEA UMR 6602 CNRS/Univ. Clermont II // Copyright 2009 - 2011 LRI UMR 8623 CNRS/Univ Paris Sud XI // // Distributed under the Boost Software License, Version 1.0. // Se...
32.958904
82
0.471322
timblechmann
2d25bd97f5de8c170c7d94ce038e3042e8cce6f2
3,396
cc
C++
core/gen/server.grpc.pb.cc
dishanphilips/Jade
abefc34ec81b5c2f69e68f10ec1309fb1d786aba
[ "MIT" ]
null
null
null
core/gen/server.grpc.pb.cc
dishanphilips/Jade
abefc34ec81b5c2f69e68f10ec1309fb1d786aba
[ "MIT" ]
null
null
null
core/gen/server.grpc.pb.cc
dishanphilips/Jade
abefc34ec81b5c2f69e68f10ec1309fb1d786aba
[ "MIT" ]
null
null
null
// Generated by the gRPC C++ plugin. // If you make any local change, they will be lost. // source: server.proto #include "server.pb.h" #include "server.grpc.pb.h" #include <functional> #include <grpcpp/impl/codegen/async_stream.h> #include <grpcpp/impl/codegen/async_unary_call.h> #include <grpcpp/impl/codegen/channe...
45.891892
179
0.746466
dishanphilips
2d26b1a96815542357f0887e0615d0e1fca59309
6,313
cpp
C++
lightstep/src/ngx_http_lightstep_module.cpp
SEJeff/nginx-opentracing
2cea68b20c744842171533b10385576f8380a8a4
[ "Apache-2.0" ]
2
2019-06-17T22:54:04.000Z
2019-06-18T10:50:01.000Z
lightstep/src/ngx_http_lightstep_module.cpp
SEJeff/nginx-opentracing
2cea68b20c744842171533b10385576f8380a8a4
[ "Apache-2.0" ]
null
null
null
lightstep/src/ngx_http_lightstep_module.cpp
SEJeff/nginx-opentracing
2cea68b20c744842171533b10385576f8380a8a4
[ "Apache-2.0" ]
null
null
null
#include <lightstep/tracer.h> #include <opentracing/tracer.h> #include <cstdlib> extern "C" { #include <nginx.h> #include <ngx_config.h> #include <ngx_core.h> #include <ngx_http.h> extern ngx_module_t ngx_http_lightstep_module; } //------------------------------------------------------------------------------ // to_...
42.655405
80
0.569301
SEJeff
2d291cac9b621afceb0a49f76d6cbb67dd2bf702
4,508
cpp
C++
bltail.cpp
brendane/bltools
b25906c46d30339b5a009bddeeeb6b1de6700048
[ "MIT" ]
1
2021-05-19T11:35:47.000Z
2021-05-19T11:35:47.000Z
bltail.cpp
brendane/bltools
b25906c46d30339b5a009bddeeeb6b1de6700048
[ "MIT" ]
null
null
null
bltail.cpp
brendane/bltools
b25906c46d30339b5a009bddeeeb6b1de6700048
[ "MIT" ]
null
null
null
/* * Equivalent of tail for biological sequences. * */ #include <iostream> #include <queue> #include <string> #include <vector> #include <seqan/seq_io.h> #include <tclap/CmdLine.h> #include <SeqFileInWrapper.h> using std::cerr; using std::cin; using std::cout; using std::endl; using std::ifstream; using std::is...
27.156627
105
0.557453
brendane
2d29db343eab27a9ba849c7e277ab1bc148e2850
1,923
cpp
C++
aws-cpp-sdk-iot/source/model/DescribeThingResult.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2022-01-05T18:20:03.000Z
2022-01-05T18:20:03.000Z
aws-cpp-sdk-iot/source/model/DescribeThingResult.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-iot/source/model/DescribeThingResult.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-12-30T04:25:33.000Z
2021-12-30T04:25:33.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/iot/model/DescribeThingResult.h> #include <aws/core/utils/json/JsonSerializer.h> #include <aws/core/AmazonWebServiceResult.h> #include <aws/core/utils/StringUtils.h> #include <aws/core/u...
21.852273
106
0.719709
Neusoft-Technology-Solutions
2d2aeb20eed84e0379156857e5ef51efd04f18fb
2,586
cpp
C++
REDSI_1160929_1161573/boost_1_67_0/libs/interprocess/example/doc_named_mutex.cpp
Wultyc/ISEP_1718_2A2S_REDSI_TrabalhoGrupo
eb0f7ef64e188fe871f47c2ef9cdef36d8a66bc8
[ "MIT" ]
198
2015-01-13T05:47:18.000Z
2022-03-09T04:46:46.000Z
libs/boost/libs/interprocess/example/doc_named_mutex.cpp
flingone/frameworks_base_cmds_remoted
4509d9f0468137ed7fd8d100179160d167e7d943
[ "Apache-2.0" ]
9
2015-01-28T16:33:19.000Z
2020-04-12T23:03:28.000Z
libs/boost/libs/interprocess/example/doc_named_mutex.cpp
flingone/frameworks_base_cmds_remoted
4509d9f0468137ed7fd8d100179160d167e7d943
[ "Apache-2.0" ]
139
2015-01-15T20:09:31.000Z
2022-01-31T15:21:16.000Z
////////////////////////////////////////////////////////////////////////////// // // (C) Copyright Ion Gaztanaga 2006-2012. Distributed under the Boost // Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // // See http://www.boost.org/libs/i...
26.387755
79
0.516628
Wultyc
2d2b8fb09f3dcac354336c220e8c8ea2216af230
8,395
hpp
C++
src/ndnSIM/helper/ndn-stack-helper.hpp
NDNLink/NDN-Chord
cfabf8f56eea2c4ba47052ce145a939ebdc21e57
[ "MIT" ]
1
2021-09-07T04:12:15.000Z
2021-09-07T04:12:15.000Z
src/ndnSIM/helper/ndn-stack-helper.hpp
NDNLink/NDN-Chord
cfabf8f56eea2c4ba47052ce145a939ebdc21e57
[ "MIT" ]
null
null
null
src/ndnSIM/helper/ndn-stack-helper.hpp
NDNLink/NDN-Chord
cfabf8f56eea2c4ba47052ce145a939ebdc21e57
[ "MIT" ]
1
2020-07-15T06:21:03.000Z
2020-07-15T06:21:03.000Z
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /** * Copyright (c) 2011-2015 Regents of the University of California. * * This file is part of ndnSIM. See AUTHORS for complete list of ndnSIM authors and * contributors. * * ndnSIM is free software: you can redistribute it and/or modify it under...
28.361486
98
0.692912
NDNLink
2d2cca0e5fa20914f6211d594622f29f905f2164
201
cpp
C++
Challenges/Challenge29/src/main.cpp
GamesTrap/PracticeChallenges
46ad8b2c18515a9740910162381a3dea18be72ab
[ "MIT" ]
null
null
null
Challenges/Challenge29/src/main.cpp
GamesTrap/PracticeChallenges
46ad8b2c18515a9740910162381a3dea18be72ab
[ "MIT" ]
null
null
null
Challenges/Challenge29/src/main.cpp
GamesTrap/PracticeChallenges
46ad8b2c18515a9740910162381a3dea18be72ab
[ "MIT" ]
null
null
null
#include <cstdint> constexpr uint32_t Summation(const uint32_t num) { return num * (num + 1) / 2; } int main() { static_assert(Summation(1) == 1); static_assert(Summation(8) == 36); return 0; }
14.357143
48
0.661692
GamesTrap
2d2f4cf9f43fc1da7d37989ff39241f8e2c78714
960
inl
C++
app/src/main/cpp/jni/platform.inl
JoseskVolpe/J2ME-Loader
ad7c9505d980eb542e7458f17a717b7ffdb68109
[ "Apache-2.0" ]
1,227
2017-06-11T21:15:36.000Z
2022-03-31T13:04:52.000Z
app/src/main/cpp/jni/platform.inl
lqfy-jhc/J2ME-Loader
992a0feacc4c0e43996a15431553e706a671a826
[ "Apache-2.0" ]
747
2017-07-28T10:24:22.000Z
2022-03-29T09:59:40.000Z
app/src/main/cpp/jni/platform.inl
lqfy-jhc/J2ME-Loader
992a0feacc4c0e43996a15431553e706a671a826
[ "Apache-2.0" ]
233
2017-06-13T11:50:36.000Z
2022-03-25T14:02:32.000Z
/* * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available * under the terms of "Eclipse Public License v1.0" * which accompanies this distribution, and is available * at the URL "http://www.eclipse.org/legal/epl-v10.h...
24
77
0.759375
JoseskVolpe
2d31247fdfcc2131decf9f6f5ffd3298aa07f94e
8,282
cpp
C++
src/glwidget.cpp
udit01/qGL
81aa4cdc7a271099c9ba8bee53e6aeba33c2901c
[ "MIT" ]
null
null
null
src/glwidget.cpp
udit01/qGL
81aa4cdc7a271099c9ba8bee53e6aeba33c2901c
[ "MIT" ]
null
null
null
src/glwidget.cpp
udit01/qGL
81aa4cdc7a271099c9ba8bee53e6aeba33c2901c
[ "MIT" ]
null
null
null
#include "glwidget.h" //#include "ui_glwidget.h" #include <iostream> #include <vector> #include <cstdlib> #include <QMainWindow> #include <QtGui> #include <QtWidgets> #include <QtOpenGL> #include <QGLWidget> #include <QGL> #include "mainwindow.h" #include "model.h" #include "samplemodels.h" Glwidget::Glwidget(QWid...
25.720497
98
0.557353
udit01
2d3232def81d485798f2ee7da6b978e9ec8917cf
13,860
cpp
C++
FEBioMech/FEReactiveViscoelastic.cpp
wzaylor/FEBio
5444c06473dd66dc0bfdf6e3b2c79d3c0cd0b7a6
[ "MIT" ]
null
null
null
FEBioMech/FEReactiveViscoelastic.cpp
wzaylor/FEBio
5444c06473dd66dc0bfdf6e3b2c79d3c0cd0b7a6
[ "MIT" ]
null
null
null
FEBioMech/FEReactiveViscoelastic.cpp
wzaylor/FEBio
5444c06473dd66dc0bfdf6e3b2c79d3c0cd0b7a6
[ "MIT" ]
null
null
null
/*This file is part of the FEBio source code and is licensed under the MIT license listed below. See Copyright-FEBio.txt for details. Copyright (c) 2020 University of Utah, The Trustees of Columbia University in the City of New York, and others. Permission is hereby granted, free of charge, to any person obtaining ...
31.216216
114
0.571934
wzaylor
2d3234ac80649d190768ace625b253d8215ddcdd
641
cpp
C++
App/Lib/Bal/Test/test/testModule.cpp
belmayze/bal
710a96d011855fdab4e4b6962a2ba5b6b6b35aae
[ "MIT" ]
null
null
null
App/Lib/Bal/Test/test/testModule.cpp
belmayze/bal
710a96d011855fdab4e4b6962a2ba5b6b6b35aae
[ "MIT" ]
null
null
null
App/Lib/Bal/Test/test/testModule.cpp
belmayze/bal
710a96d011855fdab4e4b6962a2ba5b6b6b35aae
[ "MIT" ]
null
null
null
/*! * @file testModule.cpp * @brief * @author belmayze * * Copyright (c) 2020 belmayze. All rights reserved. */ // app #include <test/testModule.h> #include <test/container/testList.h> #include <test/container/testTreeMap.h> namespace app::test { // --------------------------------------------------------...
16.868421
79
0.365055
belmayze
2d358d1710c8bf8d55d8a399037848d9c84c8b0b
4,959
cpp
C++
src/post/main/Path.cpp
ucd-plse/mpi-error-prop
4367df88bcdc4d82c9a65b181d0e639d04962503
[ "BSD-3-Clause" ]
3
2020-05-22T04:17:23.000Z
2020-07-17T04:14:25.000Z
src/post/main/Path.cpp
ucd-plse/mpi-error-prop
4367df88bcdc4d82c9a65b181d0e639d04962503
[ "BSD-3-Clause" ]
null
null
null
src/post/main/Path.cpp
ucd-plse/mpi-error-prop
4367df88bcdc4d82c9a65b181d0e639d04962503
[ "BSD-3-Clause" ]
null
null
null
/*! * @author Cindy Rubio Gonzalez */ #include <sstream> #include <algorithm> #include "Main.hpp" #include "Path.hpp" #include "ProgramPoint.hpp" // Following the convention of the flags, // selected_formatter is global from Main.hpp Path::Path(MsgRef msg) : complete(false) { pathMsgs.push_back(msg); sliceM...
22.540909
83
0.57068
ucd-plse
2d367d9d35a41e486d6bbcb8a6b74243ccc03b33
553
cpp
C++
Cplus/CountNumberofTexts.cpp
Jum1023/leetcode
d8248aa84452cb1ea768d9b05ecd72a6746c0016
[ "MIT" ]
1
2018-01-22T12:06:28.000Z
2018-01-22T12:06:28.000Z
Cplus/CountNumberofTexts.cpp
Jum1023/leetcode
d8248aa84452cb1ea768d9b05ecd72a6746c0016
[ "MIT" ]
null
null
null
Cplus/CountNumberofTexts.cpp
Jum1023/leetcode
d8248aa84452cb1ea768d9b05ecd72a6746c0016
[ "MIT" ]
null
null
null
#include <string> #include <vector> using namespace std; class Solution { public: int countTexts(string pressedKeys) { int N = pressedKeys.length(); vector<int> keys = {0, 0, 3, 3, 3, 3, 3, 4, 3, 4}; vector<int> dp(N + 1); dp[N] = 1; for (int i = N - 1; i >= 0; --i) { dp[i] = dp[i + 1]; int index =...
21.269231
98
0.528029
Jum1023
2d387a5f8e3bb0a84f8ee21de2a5fc29af7539d8
1,928
cpp
C++
Aufgabe03/aufgabe2/main.cpp
Freshman83/mos.idk
2e8f4065228b98b612a0b284f9e552c46a5d1c04
[ "Apache-2.0" ]
1
2020-06-14T22:47:58.000Z
2020-06-14T22:47:58.000Z
Aufgabe03/aufgabe2/main.cpp
Freshman83/mos.idk
2e8f4065228b98b612a0b284f9e552c46a5d1c04
[ "Apache-2.0" ]
null
null
null
Aufgabe03/aufgabe2/main.cpp
Freshman83/mos.idk
2e8f4065228b98b612a0b284f9e552c46a5d1c04
[ "Apache-2.0" ]
null
null
null
// -------------------------------------------------------------------------- // DashBoard - Aufgabe 3.2 // // Bearbeitet von: // Sascha Niklas, 257146 // David Rotärmel, 258201 // // -------------------------------------------------------------------------- // Header #include <stdio.h> // printf, fprin...
20.083333
77
0.576245
Freshman83
2d38a8bf5dea1ea1cbc894d89a5e22143297500d
6,706
cpp
C++
DeviceCode/pal/OpenSSL/OpenSSL_1_0_0/crypto/x509v3/v3_akey.cpp
Sirokujira/MicroFrameworkPK_v4_3
a0d80b4fd8eeda6dbdb58f6f7beb4f07f7ef563e
[ "Apache-2.0" ]
4
2019-01-21T11:47:53.000Z
2020-06-09T02:14:15.000Z
DeviceCode/pal/OpenSSL/OpenSSL_1_0_0/crypto/x509v3/v3_akey.cpp
yisea123/NetmfSTM32
62ddb8aa0362b83d2e73f3621a56593988e3620f
[ "Apache-2.0" ]
null
null
null
DeviceCode/pal/OpenSSL/OpenSSL_1_0_0/crypto/x509v3/v3_akey.cpp
yisea123/NetmfSTM32
62ddb8aa0362b83d2e73f3621a56593988e3620f
[ "Apache-2.0" ]
6
2017-11-09T11:48:10.000Z
2020-05-24T09:43:07.000Z
/* v3_akey.c */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 1999. */ /* ==================================================================== * Copyright (c) 1999 The OpenSSL Project. All rights reserved. * * Redistribution and use in source and binary forms, with or without * ...
30.621005
81
0.708619
Sirokujira
2d38c85537fa297ad9e4784b32fe7d26c072ff9f
2,401
cpp
C++
src/CGeomCylinder3D.cpp
colinw7/CGeometry3D
15c009b57bfcdcc5ca13ef2acfe94b6831a4c865
[ "MIT" ]
1
2021-12-23T02:21:22.000Z
2021-12-23T02:21:22.000Z
src/CGeomCylinder3D.cpp
colinw7/CGeometry3D
15c009b57bfcdcc5ca13ef2acfe94b6831a4c865
[ "MIT" ]
null
null
null
src/CGeomCylinder3D.cpp
colinw7/CGeometry3D
15c009b57bfcdcc5ca13ef2acfe94b6831a4c865
[ "MIT" ]
null
null
null
#include <CGeomCylinder3D.h> #include <CGeomTexture.h> #include <CGeomMask.h> CGeomCylinder3D:: CGeomCylinder3D(CGeomScene3D *pscene, const std::string &name, double xc, double yc, double zc, double w, double h) : CGeomObject3D(pscene, name) { addGeometry(this, xc, yc, zc, w, h, num_patches_); } vo...
20.878261
70
0.641399
colinw7
2d38e46592f54c07ca1e7bff0fe34a6d11224604
6,534
cpp
C++
SDKs/CryCode/3.6.15/CryEngine/CryAction/MaterialEffects/MFXDecalEffect.cpp
amrhead/FireNET
34d439aa0157b0c895b20b2b664fddf4f9b84af1
[ "BSD-2-Clause" ]
4
2017-12-18T20:10:16.000Z
2021-02-07T21:21:24.000Z
SDKs/CryCode/3.6.15/CryEngine/CryAction/MaterialEffects/MFXDecalEffect.cpp
amrhead/FireNET
34d439aa0157b0c895b20b2b664fddf4f9b84af1
[ "BSD-2-Clause" ]
null
null
null
SDKs/CryCode/3.6.15/CryEngine/CryAction/MaterialEffects/MFXDecalEffect.cpp
amrhead/FireNET
34d439aa0157b0c895b20b2b664fddf4f9b84af1
[ "BSD-2-Clause" ]
3
2019-03-11T21:36:15.000Z
2021-02-07T21:21:26.000Z
//////////////////////////////////////////////////////////////////////////// // // Crytek Engine Source File. // Copyright (C), Crytek Studios, 2006. // ------------------------------------------------------------------------- // File name: MFXDecalEffect.cpp // Version: v1.00 // Created: 28/11/2006 by J...
29.7
129
0.712274
amrhead
2d3a0a2484293d048802d79d028148f3ee3ac812
4,752
cc
C++
src/shared/imc/nacl_imc_test_server.cc
eseidel/native_client_patches
c699f77e085b91fcc1684ecb63e2e211733afbde
[ "BSD-3-Clause" ]
4
2015-10-27T04:43:02.000Z
2021-08-13T08:21:45.000Z
src/shared/imc/nacl_imc_test_server.cc
eseidel/native_client_patches
c699f77e085b91fcc1684ecb63e2e211733afbde
[ "BSD-3-Clause" ]
null
null
null
src/shared/imc/nacl_imc_test_server.cc
eseidel/native_client_patches
c699f77e085b91fcc1684ecb63e2e211733afbde
[ "BSD-3-Clause" ]
1
2015-11-08T10:18:42.000Z
2015-11-08T10:18:42.000Z
/* * Copyright 2008 The Native Client Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can * be found in the LICENSE file. */ // NaCl inter-module communication primitives. // TODO(shiki): Make this program a unit test. #include <assert.h> #include <stdio.h> #inclu...
26.254144
74
0.644992
eseidel
2d3a3b17293c2d7f25afbaf9187889901e2b026e
251
cpp
C++
main.cpp
UCLA-Rocket-Project/daq-sampler
56846b4fd5ca79028e6795f112f1f95188a0694b
[ "MIT" ]
null
null
null
main.cpp
UCLA-Rocket-Project/daq-sampler
56846b4fd5ca79028e6795f112f1f95188a0694b
[ "MIT" ]
null
null
null
main.cpp
UCLA-Rocket-Project/daq-sampler
56846b4fd5ca79028e6795f112f1f95188a0694b
[ "MIT" ]
null
null
null
#include "src/Logfile.h" #include <spdlog/spdlog.h> using namespace std; int main() { spdlog::error("Have a nice day"); LogFile logger; const char* id = "abcd"; uint32_t *idPtr = (uint32_t*)id; logger.logNameChange(ADC, 4, *idPtr); return 0; }
19.307692
38
0.681275
UCLA-Rocket-Project
2d3bb4ef8e93d2b8d86ac5bb77b0e7864bcde0bc
5,309
hh
C++
DetectorModel/DetElem.hh
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
DetectorModel/DetElem.hh
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
DetectorModel/DetElem.hh
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
// ------------------------------------------------------------------------------ // File and Version Information: // $Id: DetElem.hh,v 1.32 2004/12/14 07:10:17 bartoldu Exp $ // // Description: // Base Class to define a specific element of the tracking detector. The types // must exist before elements can be ...
36.363014
81
0.70955
brownd1978
2d3f52c0e5774d7b23a26448ba4d68899d0c1413
5,489
cpp
C++
clessc/src/Selector.cpp
shoichikaji/CSS-clessc
194be6f00ad6f9277efedd7cadab76c6f69a540e
[ "Artistic-1.0" ]
1
2015-03-17T06:27:25.000Z
2015-03-17T06:27:25.000Z
clessc/src/Selector.cpp
shoichikaji/CSS-clessc
194be6f00ad6f9277efedd7cadab76c6f69a540e
[ "Artistic-1.0" ]
null
null
null
clessc/src/Selector.cpp
shoichikaji/CSS-clessc
194be6f00ad6f9277efedd7cadab76c6f69a540e
[ "Artistic-1.0" ]
null
null
null
/* * Copyright 2012 Bram van der Kroef * * This file is part of LESS CSS Compiler. * * LESS CSS Compiler 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 o...
25.178899
81
0.567316
shoichikaji
2d40c823abad0b3150f26d75a6c8104b4e125ce6
322
cpp
C++
MLSA Event-101/C++/check_pow_of_2.cpp
rswalia/open-source-contribution-for-beginners
1ea29479c6d949760c83926b4c43a6b0d33ad0a0
[ "MIT" ]
35
2021-12-20T13:37:01.000Z
2022-03-22T20:52:36.000Z
MLSA Event-101/C++/check_pow_of_2.cpp
rswalia/open-source-contribution-for-beginners
1ea29479c6d949760c83926b4c43a6b0d33ad0a0
[ "MIT" ]
152
2021-11-01T06:00:11.000Z
2022-03-20T11:40:00.000Z
MLSA Event-101/C++/check_pow_of_2.cpp
rswalia/open-source-contribution-for-beginners
1ea29479c6d949760c83926b4c43a6b0d33ad0a0
[ "MIT" ]
71
2021-11-01T06:02:37.000Z
2022-03-20T04:49:30.000Z
/* This program checks whether the given number is a power of 2 or not */ #include<iostream> using namespace std; int main(){ long long int n; cin>>n; if( !(n & n-1)){ cout<<"Yes given number is power of 2"<<endl; } else { cout<<"No given number is not the power of 2"<<endl; }...
21.466667
70
0.580745
rswalia
2d40e9d2a5dd8d0b7d0a30d5b57c75c3acc3dead
1,240
cpp
C++
Game/GameEngine/Events/EventMove.cpp
arthurChennetier/R-Type
bac6f8cf6502f74798181181a819d609b1d82e3a
[ "MIT" ]
1
2018-07-22T13:45:47.000Z
2018-07-22T13:45:47.000Z
Game/GameEngine/Events/EventMove.cpp
arthurChennetier/R-Type
bac6f8cf6502f74798181181a819d609b1d82e3a
[ "MIT" ]
null
null
null
Game/GameEngine/Events/EventMove.cpp
arthurChennetier/R-Type
bac6f8cf6502f74798181181a819d609b1d82e3a
[ "MIT" ]
1
2018-07-20T12:52:42.000Z
2018-07-20T12:52:42.000Z
// // Created by chauvin on 28/01/18. // #include "EventMove.hpp" #include "../Rigidbody/Rigidbody.hpp" #include "../Input/Input.h" TacosEngine::EventMove::EventMove(const std::shared_ptr<TacosEngine::GameObject> &obj, const Vector2 &dir) { this->_object = obj; this->_dir = dir; std::cout << "X :" << dir.get_x(...
33.513514
131
0.651613
arthurChennetier
2d438f7c51dd615adffd85f9b5201eab1a437bbc
863
hpp
C++
src/cipher/DummyCipher.hpp
devktor/libbitcrypto
1b08fb75e6884a622f3a646bfb7bf22609f968ea
[ "MIT" ]
1
2016-01-31T14:16:41.000Z
2016-01-31T14:16:41.000Z
src/cipher/DummyCipher.hpp
BitProfile/libethcrypto
1b08fb75e6884a622f3a646bfb7bf22609f968ea
[ "MIT" ]
null
null
null
src/cipher/DummyCipher.hpp
BitProfile/libethcrypto
1b08fb75e6884a622f3a646bfb7bf22609f968ea
[ "MIT" ]
null
null
null
#pragma once #include <algorithm> #include <stdexcept> #include "../detail/Data.hpp" #include "../key/PrivateKey.hpp" #include "EncryptedData.hpp" #include "ScryptParams.hpp" #include "ScryptParamsGenerator.hpp" namespace Ethereum{ class DummyKey {}; class DummyCipher { public: typedef ScryptParam...
17.26
69
0.651217
devktor
2d447e613227b259a125f4b36a313c3bfd481354
4,256
cpp
C++
GameObjects/SkyBox.cpp
yuwenhuisama/A-Simple-Direct3D-Demo
6cfcc4fea157a93118295f28d97ca6ebeb23318b
[ "MIT" ]
null
null
null
GameObjects/SkyBox.cpp
yuwenhuisama/A-Simple-Direct3D-Demo
6cfcc4fea157a93118295f28d97ca6ebeb23318b
[ "MIT" ]
null
null
null
GameObjects/SkyBox.cpp
yuwenhuisama/A-Simple-Direct3D-Demo
6cfcc4fea157a93118295f28d97ca6ebeb23318b
[ "MIT" ]
null
null
null
#include "SkyBox.h" #include "DxUtils/RenderCommandQueue/RenderCommandQueueManager.h" #include "DxUtils/Vertex.h" #include "DxUtils/Direct3DManager.h" #include "GameUtils/GameConfigure.h" #include "DxUtils/D3DHelper.hpp" #include "GameObject.h" #include <functional> SkyBox::~SkyBox() { D3DHelper::SafeRelease(m_...
29.555556
149
0.620066
yuwenhuisama
2d46502e1d9b352d3463d56fac513789432ed23b
649
cpp
C++
tools/clang/test/CXX/temp/temp.decls/temp.alias/p3.cpp
clayne/DirectXShaderCompiler
0ef9b702890b1d45f0bec5fa75481290323e14dc
[ "NCSA" ]
3,102
2015-01-04T02:28:35.000Z
2022-03-30T12:53:41.000Z
tools/clang/test/CXX/temp/temp.decls/temp.alias/p3.cpp
clayne/DirectXShaderCompiler
0ef9b702890b1d45f0bec5fa75481290323e14dc
[ "NCSA" ]
3,740
2019-01-23T15:36:48.000Z
2022-03-31T22:01:13.000Z
tools/clang/test/CXX/temp/temp.decls/temp.alias/p3.cpp
clayne/DirectXShaderCompiler
0ef9b702890b1d45f0bec5fa75481290323e14dc
[ "NCSA" ]
1,868
2015-01-03T04:27:11.000Z
2022-03-25T13:37:35.000Z
// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s // The example given in the standard (this is rejected for other reasons anyway). template<class T> struct A; template<class T> using B = typename A<T>::U; // expected-error {{no type named 'U' in 'A<T>'}} template<class T> struct A { typedef B<T> U; // expected...
36.055556
97
0.681048
clayne
2d49ff767b458df873b340612eb33a84a441084b
3,542
cpp
C++
lang/C++/top-rank-per-group.cpp
ethansaxenian/RosettaDecode
8ea1a42a5f792280b50193ad47545d14ee371fb7
[ "MIT" ]
5
2021-01-29T20:08:05.000Z
2022-03-22T06:16:05.000Z
lang/C++/top-rank-per-group.cpp
ethansaxenian/RosettaDecode
8ea1a42a5f792280b50193ad47545d14ee371fb7
[ "MIT" ]
null
null
null
lang/C++/top-rank-per-group.cpp
ethansaxenian/RosettaDecode
8ea1a42a5f792280b50193ad47545d14ee371fb7
[ "MIT" ]
1
2021-04-13T04:19:31.000Z
2021-04-13T04:19:31.000Z
#include <string> #include <set> #include <list> #include <map> #include <iostream> struct Employee { std::string Name; std::string ID; unsigned long Salary; std::string Department; Employee(std::string _Name = "", std::string _ID = "", unsigned long _Salary = 0, std::string _Department = "") : Name(_Name), ID(...
30.8
112
0.702993
ethansaxenian
2d4a525f107c2b72b03cc24ddd09e71ed1cc6962
618
cpp
C++
1098_Sequence IJ 4.cpp
Aunkon/URI
668181ba977d44823d228b6ac01dfed16027d524
[ "RSA-MD" ]
null
null
null
1098_Sequence IJ 4.cpp
Aunkon/URI
668181ba977d44823d228b6ac01dfed16027d524
[ "RSA-MD" ]
null
null
null
1098_Sequence IJ 4.cpp
Aunkon/URI
668181ba977d44823d228b6ac01dfed16027d524
[ "RSA-MD" ]
null
null
null
/**** Md. Walid Bin khalid Aunkon ****/ /**** Daffodil International University ****/ /**** ID: 121-15-1669 ****/ /**** Email: mdwalidbinkhalidaunkon@gmail.com ****/ /**** Mobile No: +88-01916-492926 ****/ #incl...
32.526316
62
0.351133
Aunkon
2d4d91501f4073ae4acd194f5d365eee47cf6b21
380
cc
C++
nofx/nofx_ofTexture/nofx_ofEnableNormalizedTexCoords.cc
sepehr-laal/nofx
7abc9da3d4fc0f5b72c6b3d591a08cf44d00277e
[ "MIT" ]
null
null
null
nofx/nofx_ofTexture/nofx_ofEnableNormalizedTexCoords.cc
sepehr-laal/nofx
7abc9da3d4fc0f5b72c6b3d591a08cf44d00277e
[ "MIT" ]
null
null
null
nofx/nofx_ofTexture/nofx_ofEnableNormalizedTexCoords.cc
sepehr-laal/nofx
7abc9da3d4fc0f5b72c6b3d591a08cf44d00277e
[ "MIT" ]
null
null
null
#include "nofx_ofEnableNormalizedTexCoords.h" #include "ofTexture.h" namespace nofx { namespace ClassWrappers { NAN_METHOD(nofx_ofEnableNormalizedTexCoords) { ofEnableNormalizedTexCoords(); NanReturnUndefined(); } // !nofx_ofEnableNormalizedTexC...
23.75
52
0.647368
sepehr-laal
2d4ead78b6f36256d743d50dc37c620698b52f7c
1,030
cpp
C++
CPP/Common/Sort/HeapSort/HeapSort.cpp
Insofan/LeetCode
d6722601886e181745a2e9c31cb146bc0826c906
[ "Apache-2.0" ]
null
null
null
CPP/Common/Sort/HeapSort/HeapSort.cpp
Insofan/LeetCode
d6722601886e181745a2e9c31cb146bc0826c906
[ "Apache-2.0" ]
null
null
null
CPP/Common/Sort/HeapSort/HeapSort.cpp
Insofan/LeetCode
d6722601886e181745a2e9c31cb146bc0826c906
[ "Apache-2.0" ]
null
null
null
// // Created by Insomnia on 2018/8/31. // MIT License // #include <iostream> #include <vector> using namespace std; void out(vector<int> &vec) { for (vector<int>::const_iterator it = vec.begin(); it != vec.end(); it++) { cout << (*it) << " "; } cout << endl; } vector<int> randomVec(int len, in...
17.166667
79
0.500971
Insofan
2d5225576ac1d2d3f5792952d502119f6e6c8e99
14,512
cpp
C++
src/c++/lib/align/Alignment.cpp
nh13/hap.py
fd67904f7a68981e76c12301aa2add2718b30120
[ "BSL-1.0" ]
315
2015-07-21T13:53:30.000Z
2022-03-17T02:01:19.000Z
src/c++/lib/align/Alignment.cpp
nh13/hap.py
fd67904f7a68981e76c12301aa2add2718b30120
[ "BSL-1.0" ]
147
2015-11-26T03:06:24.000Z
2022-03-28T18:22:33.000Z
src/c++/lib/align/Alignment.cpp
nh13/hap.py
fd67904f7a68981e76c12301aa2add2718b30120
[ "BSL-1.0" ]
124
2015-07-21T13:55:14.000Z
2022-03-23T17:34:31.000Z
// -*- mode: c++; indent-tabs-mode: nil; -*- // // // Copyright (c) 2010-2015 Illumina, 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...
30.487395
105
0.469887
nh13
2d5484871292df699cffd6926ea3afb2238d9dc3
18,529
cpp
C++
SOURCES/sim/digi/sfusion.cpp
IsraelyFlightSimulator/Negev-Storm
86de63e195577339f6e4a94198bedd31833a8be8
[ "Unlicense" ]
1
2021-02-19T06:06:31.000Z
2021-02-19T06:06:31.000Z
src/sim/digi/sfusion.cpp
markbb1957/FFalconSource
07b12e2c41a93fa3a95b912a2433a8056de5bc4d
[ "BSD-2-Clause" ]
null
null
null
src/sim/digi/sfusion.cpp
markbb1957/FFalconSource
07b12e2c41a93fa3a95b912a2433a8056de5bc4d
[ "BSD-2-Clause" ]
2
2019-08-20T13:35:13.000Z
2021-04-24T07:32:04.000Z
#include "stdhdr.h" #include "classtbl.h" #include "digi.h" #include "sensors.h" #include "simveh.h" #include "missile.h" #include "object.h" #include "sensclas.h" #include "Entity.h" #include "team.h" #include "Aircrft.h" /* 2001-03-15 S.G. */#include "campbase.h" /* 2001-03-21 S.G. */#include "flight.h" /* 2001-03-21...
34.504655
391
0.602407
IsraelyFlightSimulator
2d572796767c5b5c3f6a92da7af6a57744d884f4
3,395
cc
C++
mts/src/model/QueryFpImportResultResult.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
null
null
null
mts/src/model/QueryFpImportResultResult.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
null
null
null
mts/src/model/QueryFpImportResultResult.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
1
2020-11-27T09:13:12.000Z
2020-11-27T09:13:12.000Z
/* * Copyright 2009-2017 Alibaba Cloud All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required...
39.022989
122
0.788807
iamzken
2d5a9693443c446abe97ab6844e8633fc6be3fde
11,025
cpp
C++
1_Widgets-examples/1_4_Widgets_Surfing/src/ofApp.cpp
Daandelange/ofxSurfingImGui
122241ebcb900d30a5fa6b548de41b2910a27401
[ "MIT" ]
null
null
null
1_Widgets-examples/1_4_Widgets_Surfing/src/ofApp.cpp
Daandelange/ofxSurfingImGui
122241ebcb900d30a5fa6b548de41b2910a27401
[ "MIT" ]
null
null
null
1_Widgets-examples/1_4_Widgets_Surfing/src/ofApp.cpp
Daandelange/ofxSurfingImGui
122241ebcb900d30a5fa6b548de41b2910a27401
[ "MIT" ]
null
null
null
#include "ofApp.h" //-------------------------------------------------------------- void ofApp::setup_ImGui() { ImGuiConfigFlags flags = ImGuiConfigFlags_DockingEnable; bool bRestore = true; bool bMouse = false; bool bAutoDraw = true; // NOTE: it seems that must be false when multiple ImGui instances created! g...
29.637097
149
0.655964
Daandelange
2d5beed9a2b8139f1e89c0b2a37b75774f14f85f
14,455
cpp
C++
Source/SupportGLUT/Viewer/ScreenBase.cpp
GoTamura/KVS
121ede0b9b81da56e9ea698a45ccfd71ff64ed41
[ "BSD-3-Clause" ]
null
null
null
Source/SupportGLUT/Viewer/ScreenBase.cpp
GoTamura/KVS
121ede0b9b81da56e9ea698a45ccfd71ff64ed41
[ "BSD-3-Clause" ]
null
null
null
Source/SupportGLUT/Viewer/ScreenBase.cpp
GoTamura/KVS
121ede0b9b81da56e9ea698a45ccfd71ff64ed41
[ "BSD-3-Clause" ]
null
null
null
/*****************************************************************************/ /** * @file ScreenBase.cpp * @author Naohisa Sakamoto */ /*---------------------------------------------------------------------------- * * Copyright (c) Visualization Laboratory, Kyoto University. * All rights reserved. * See...
31.699561
89
0.499896
GoTamura
2d5bfd3aa2596cf710d4c1672e818b1c94d8d81f
1,967
hh
C++
src/mem/cache/c_dynamic_cache.hh
xiaoyaozi5566/DynamicCache
250e7a901f3244f69d0c8de4d3f525a92dbfaac5
[ "BSD-3-Clause" ]
null
null
null
src/mem/cache/c_dynamic_cache.hh
xiaoyaozi5566/DynamicCache
250e7a901f3244f69d0c8de4d3f525a92dbfaac5
[ "BSD-3-Clause" ]
null
null
null
src/mem/cache/c_dynamic_cache.hh
xiaoyaozi5566/DynamicCache
250e7a901f3244f69d0c8de4d3f525a92dbfaac5
[ "BSD-3-Clause" ]
1
2021-07-05T18:02:56.000Z
2021-07-05T18:02:56.000Z
#include "mem/cache/base.hh" #include "mem/cache/blk.hh" #include "mem/cache/cache.hh" #include "params/BaseCache.hh" #include "stdio.h" typedef BaseCacheParams Params; template <class TagStore> class C_DynamicCache : public SplitRPortCache<TagStore> { public: C_DynamicCache( const Params *p, TagStore *tags );...
25.217949
96
0.685308
xiaoyaozi5566
2d5f5558224e023aec9b9a7ab47971122f40f8f8
2,023
hh
C++
src/random/distributions/ReciprocalDistribution.i.hh
amandalund/celeritas
c631594b00c040d5eb4418fa2129f88c01e29316
[ "Apache-2.0", "MIT" ]
null
null
null
src/random/distributions/ReciprocalDistribution.i.hh
amandalund/celeritas
c631594b00c040d5eb4418fa2129f88c01e29316
[ "Apache-2.0", "MIT" ]
null
null
null
src/random/distributions/ReciprocalDistribution.i.hh
amandalund/celeritas
c631594b00c040d5eb4418fa2129f88c01e29316
[ "Apache-2.0", "MIT" ]
null
null
null
//----------------------------------*-C++-*----------------------------------// // Copyright 2021 UT-Battelle, LLC, and other Celeritas developers. // See the top-level COPYRIGHT file for details. // SPDX-License-Identifier: (Apache-2.0 OR MIT) //-------------------------------------------------------------------------...
31.609375
79
0.499259
amandalund
2d5fd58d1f97ac9c3c8d2e42c7a9249bafa07e07
1,174
hpp
C++
DnsUdpStateMachine.hpp
luotuo44/ADNS
ccc85b11c9a3fc7250493451429a44abc81bec39
[ "BSD-2-Clause" ]
3
2016-04-10T04:58:37.000Z
2020-09-07T05:54:51.000Z
DnsUdpStateMachine.hpp
luotuo44/ADNS
ccc85b11c9a3fc7250493451429a44abc81bec39
[ "BSD-2-Clause" ]
null
null
null
DnsUdpStateMachine.hpp
luotuo44/ADNS
ccc85b11c9a3fc7250493451429a44abc81bec39
[ "BSD-2-Clause" ]
null
null
null
//Filename: //Date: 2015-8-11 //Author: luotuo44 http://blog.csdn.net/luotuo44 //Copyright 2015, luotuo44. All rights reserved. //Use of this source code is governed by a BSD-style license #ifndef DNSUDPSTATEMACHINE #define DNSUDPSTATEMACHINE #include<map> #include<memory> #include"typedef.hpp" #include"typedef-...
20.241379
74
0.741908
luotuo44
2d606efdc116af519b0d2ab303197fc526f1aba6
20,057
cc
C++
src/stirling/source_connectors/dynamic_tracer/dynamic_tracing/code_gen_test.cc
hangqiu/pixie
1dd4af47d40ff856c4d52a1d6de81f78a76ff31e
[ "Apache-2.0" ]
1,821
2020-04-08T00:45:27.000Z
2021-09-01T14:56:25.000Z
src/stirling/source_connectors/dynamic_tracer/dynamic_tracing/code_gen_test.cc
hangqiu/pixie
1dd4af47d40ff856c4d52a1d6de81f78a76ff31e
[ "Apache-2.0" ]
142
2020-04-09T06:23:46.000Z
2021-08-24T06:02:12.000Z
src/stirling/source_connectors/dynamic_tracer/dynamic_tracing/code_gen_test.cc
hangqiu/pixie
1dd4af47d40ff856c4d52a1d6de81f78a76ff31e
[ "Apache-2.0" ]
105
2021-09-08T10:26:50.000Z
2022-03-29T09:13:36.000Z
/* * Copyright 2018- The Pixie Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
41.612033
98
0.414568
hangqiu
2d60b4d8b1d0f74b28dd9ab79ee33c3a8aad5d31
8,456
cc
C++
examples/mp.cc
kaishengyao/cnn
a034b837e88f82bd8adf2c5b0a5defb26fd52096
[ "Apache-2.0" ]
16
2015-09-10T07:50:50.000Z
2017-09-17T03:02:38.000Z
examples/mp.cc
kaishengyao/cnn
a034b837e88f82bd8adf2c5b0a5defb26fd52096
[ "Apache-2.0" ]
null
null
null
examples/mp.cc
kaishengyao/cnn
a034b837e88f82bd8adf2c5b0a5defb26fd52096
[ "Apache-2.0" ]
10
2015-09-08T12:43:13.000Z
2018-09-26T07:32:47.000Z
#include "cnn/cnn.h" #include "cnn/training.h" #include "cnn/expr.h" #include <boost/archive/text_oarchive.hpp> #include <boost/archive/text_iarchive.hpp> #include <boost/algorithm/string.hpp> #include <sys/types.h> #include <sys/wait.h> #include <sys/shm.h> #include <iostream> #include <fstream> #include <vector> #in...
29.158621
133
0.629849
kaishengyao
2d60f1eced8922d5835cff41a6435663e471a182
6,771
cc
C++
chromium/components/html_viewer/ax_provider_impl_unittest.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
null
null
null
chromium/components/html_viewer/ax_provider_impl_unittest.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
null
null
null
chromium/components/html_viewer/ax_provider_impl_unittest.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
null
null
null
// 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 "components/html_viewer/ax_provider_impl.h" #include <stddef.h> #include <stdint.h> #include <utility> #include "base/bind.h" #include "base/me...
34.025126
79
0.635061
wedataintelligence
2d618233e5b4b3acea0715f34078fd454d4e0443
6,098
cc
C++
content/renderer/history_serialization.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
content/renderer/history_serialization.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
content/renderer/history_serialization.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// 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 "content/renderer/history_serialization.h" #include <stddef.h> #include <algorithm> #include "base/strings/nullable_string16.h" #include "conte...
40.118421
80
0.751066
zipated
2d64f0ae05019f03d46947f4a61b6a43c61e0572
1,622
cpp
C++
poj-3255/poj-3255.cpp
rusucosmin/Cplusplus
0e95cd01d20b22404aa4166c71d5a9e834a5a21b
[ "MIT" ]
11
2015-08-29T13:41:22.000Z
2020-01-08T20:34:06.000Z
poj-3255/poj-3255.cpp
rusucosmin/Cplusplus
0e95cd01d20b22404aa4166c71d5a9e834a5a21b
[ "MIT" ]
null
null
null
poj-3255/poj-3255.cpp
rusucosmin/Cplusplus
0e95cd01d20b22404aa4166c71d5a9e834a5a21b
[ "MIT" ]
5
2016-01-20T18:17:01.000Z
2019-10-30T11:57:15.000Z
#include <iostream> #include <fstream> #include <vector> #include <queue> #include <bitset> #include <string.h> using namespace std; const int maxn = 5005; const long long oo = (1LL << 60); int n, m; long long dist[maxn], dist2[maxn]; bitset <maxn> inq; vector <pair<int, long long> > g[maxn]; inline void bellmanfor...
22.527778
102
0.555487
rusucosmin
2d69f8d87d1ae27ea07aa88742e616f842578904
2,969
cpp
C++
hexl/eltwise/eltwise-cmp-add.cpp
tgonzalez89-intel/hexl
352e9ed14cb615defa33e4768d156eea3413361a
[ "Apache-2.0" ]
136
2021-03-26T15:24:31.000Z
2022-03-30T07:50:15.000Z
hexl/eltwise/eltwise-cmp-add.cpp
tgonzalez89-intel/hexl
352e9ed14cb615defa33e4768d156eea3413361a
[ "Apache-2.0" ]
24
2021-04-03T06:10:47.000Z
2022-03-24T03:34:50.000Z
hexl/eltwise/eltwise-cmp-add.cpp
tgonzalez89-intel/hexl
352e9ed14cb615defa33e4768d156eea3413361a
[ "Apache-2.0" ]
27
2021-04-01T07:50:11.000Z
2022-03-22T00:54:23.000Z
// Copyright (C) 2020-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 #include "hexl/eltwise/eltwise-cmp-add.hpp" #include "eltwise/eltwise-cmp-add-avx512.hpp" #include "eltwise/eltwise-cmp-add-internal.hpp" #include "hexl/logging/logging.hpp" #include "hexl/number-theory/number-theory.hpp" #include "he...
26.990909
80
0.534187
tgonzalez89-intel
062231383872e4d1289bb030778b03619543b79d
5,365
cpp
C++
tc 160+/WarTransportation.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
3
2015-05-25T06:24:37.000Z
2016-09-10T07:58:00.000Z
tc 160+/WarTransportation.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
null
null
null
tc 160+/WarTransportation.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
5
2015-05-25T06:24:40.000Z
2021-08-19T19:22:29.000Z
#include <algorithm> #include <cassert> #include <cstdio> #include <iostream> #include <sstream> #include <string> #include <vector> #include <cstring> #include <queue> #include <numeric> using namespace std; vector<string> cutUp(const string &s, const string &delim=" ") { int lastPos = 0, pos = 0; v...
36.746575
309
0.492265
ibudiselic
06253bb386f03467ec4f60d95810e6005dc63aa9
438
cc
C++
ash/webui/media_app_ui/url_constants.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
ash/webui/media_app_ui/url_constants.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
ash/webui/media_app_ui/url_constants.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 2019 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 "ash/webui/media_app_ui/url_constants.h" namespace ash { const char kChromeUIMediaAppHost[] = "media-app"; const char kChromeUIMediaAppURL[] = ...
31.285714
73
0.748858
zealoussnow
062659df20586aaa6578ddfc73c49fe26669c9a2
55,471
cpp
C++
activemq-cpp/src/test/decaf/util/concurrent/locks/AbstractQueuedSynchronizerTest.cpp
novomatic-tech/activemq-cpp
d6f76ede90d21b7ee2f0b5d4648e440e66d63003
[ "Apache-2.0" ]
87
2015-03-02T17:58:20.000Z
2022-02-11T02:52:52.000Z
activemq-cpp/src/test/decaf/util/concurrent/locks/AbstractQueuedSynchronizerTest.cpp
korena/activemq-cpp
e4c56ee4fec75c3284b9167a7215e2d80a9a4dc4
[ "Apache-2.0" ]
3
2017-05-10T13:16:08.000Z
2019-01-23T20:21:53.000Z
activemq-cpp/src/test/decaf/util/concurrent/locks/AbstractQueuedSynchronizerTest.cpp
korena/activemq-cpp
e4c56ee4fec75c3284b9167a7215e2d80a9a4dc4
[ "Apache-2.0" ]
71
2015-04-28T06:04:04.000Z
2022-03-15T13:34:06.000Z
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
31.971758
151
0.579384
novomatic-tech
06286b2b18cfd53d64bd9681f7984f231baa8655
123,585
cpp
C++
tools/flang2/flang2exe/mwd.cpp
kammerdienerb/flang
8cc4a02b94713750f09fe6b756d33daced0b4a74
[ "Apache-2.0" ]
null
null
null
tools/flang2/flang2exe/mwd.cpp
kammerdienerb/flang
8cc4a02b94713750f09fe6b756d33daced0b4a74
[ "Apache-2.0" ]
null
null
null
tools/flang2/flang2exe/mwd.cpp
kammerdienerb/flang
8cc4a02b94713750f09fe6b756d33daced0b4a74
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2000-2019, NVIDIA CORPORATION. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless ...
21.91612
95
0.568653
kammerdienerb
06311e251ef6551dd4c1494ace2781442008794a
9,775
cpp
C++
src/node_server_actions_1.cpp
srinivasyadav18/octotiger
4d93c50fe345a081b7985ecb4cb698d16c121565
[ "BSL-1.0" ]
35
2016-11-17T22:35:11.000Z
2022-01-24T19:07:36.000Z
src/node_server_actions_1.cpp
srinivasyadav18/octotiger
4d93c50fe345a081b7985ecb4cb698d16c121565
[ "BSL-1.0" ]
123
2016-11-17T21:29:25.000Z
2022-03-03T21:40:04.000Z
src/node_server_actions_1.cpp
srinivasyadav18/octotiger
4d93c50fe345a081b7985ecb4cb698d16c121565
[ "BSL-1.0" ]
10
2018-11-28T18:17:42.000Z
2022-01-25T12:52:37.000Z
// Copyright (c) 2019 AUTHORS // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include "octotiger/config.hpp" #include "octotiger/container_device.hpp" #include "octotiger/defs.hpp" #include "octotiger/diagn...
31.230032
189
0.668951
srinivasyadav18
0632117eadb9df1777de7677ec3db36e22dfec98
2,811
hpp
C++
graphics/source/geometry/curve.hpp
HrvojeFER/irg-lab
53f27430d39fa099dd605cfd632e38b55a392699
[ "MIT" ]
null
null
null
graphics/source/geometry/curve.hpp
HrvojeFER/irg-lab
53f27430d39fa099dd605cfd632e38b55a392699
[ "MIT" ]
null
null
null
graphics/source/geometry/curve.hpp
HrvojeFER/irg-lab
53f27430d39fa099dd605cfd632e38b55a392699
[ "MIT" ]
null
null
null
#ifndef IRGLAB_CURVE_HPP #define IRGLAB_CURVE_HPP #include "external/external.hpp" #include "primitive/primitive.hpp" namespace il { // Type traits [[nodiscard, maybe_unused]] constexpr bool is_curve_description_supported( small_natural_number dimension_count) { ret...
28.11
114
0.622554
HrvojeFER
06352ea040e35c97c36f7dbbbd6831e090340c34
3,068
cpp
C++
wpilibcExamples/src/main/cpp/templates/sample/cpp/Robot.cpp
balupillai/allwpilib
6992f5421f8222e1edf872a8788d88016ba46f2b
[ "BSD-3-Clause" ]
1
2021-10-10T06:52:41.000Z
2021-10-10T06:52:41.000Z
wpilibcExamples/src/main/cpp/templates/sample/cpp/Robot.cpp
balupillai/allwpilib
6992f5421f8222e1edf872a8788d88016ba46f2b
[ "BSD-3-Clause" ]
null
null
null
wpilibcExamples/src/main/cpp/templates/sample/cpp/Robot.cpp
balupillai/allwpilib
6992f5421f8222e1edf872a8788d88016ba46f2b
[ "BSD-3-Clause" ]
null
null
null
/*----------------------------------------------------------------------------*/ /* Copyright (c) 2017-2018 FIRST. 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...
32.989247
80
0.650587
balupillai
0638e398efc5a165f675d66a600f7203bbdcafee
1,304
cpp
C++
cppcheck/data/c_files/82.cpp
awsm-research/LineVul
246baf18c1932094564a10c9b81efb21914b2978
[ "MIT" ]
2
2022-03-23T12:16:20.000Z
2022-03-31T06:19:40.000Z
cppcheck/data/c_files/82.cpp
awsm-research/LineVul
246baf18c1932094564a10c9b81efb21914b2978
[ "MIT" ]
null
null
null
cppcheck/data/c_files/82.cpp
awsm-research/LineVul
246baf18c1932094564a10c9b81efb21914b2978
[ "MIT" ]
null
null
null
status_t SampleTable::setTimeToSampleParams( off64_t data_offset, size_t data_size) { if (!mTimeToSample.empty() || data_size < 8) { return ERROR_MALFORMED; } uint8_t header[8]; if (mDataSource->readAt( data_offset, header, sizeof(header)) < (ssize_t)sizeof(header)) { return ERROR_IO; } if (U32_AT(header) != 0) {...
28.347826
71
0.721626
awsm-research
063c6beca76fd6308e9eabe47e48eaa887948f89
6,980
cpp
C++
apps/enumeration/numericalSemigroups/hivert.cpp
ruairidhm98/YewPar
dfcc204a308232ceca3223252f3a1b4a2f6f42f6
[ "MIT" ]
null
null
null
apps/enumeration/numericalSemigroups/hivert.cpp
ruairidhm98/YewPar
dfcc204a308232ceca3223252f3a1b4a2f6f42f6
[ "MIT" ]
null
null
null
apps/enumeration/numericalSemigroups/hivert.cpp
ruairidhm98/YewPar
dfcc204a308232ceca3223252f3a1b4a2f6f42f6
[ "MIT" ]
null
null
null
/* Original Numerical Semigroups Code by Florent Hivert: https://www.lri.fr/~hivert/ Link: https://github.com/hivert/NumericMonoid/blob/master/src/Cilk++/monoid.hpp */ #include <hpx/hpx_init.hpp> #include <hpx/include/iostreams.hpp> #include <vector> #include <chrono> #include "YewPar.hpp" #include "skeletons/Se...
40.581395
87
0.571777
ruairidhm98
063dc7485b02ff563021ac01662259de76748e96
3,180
cpp
C++
mcommon/ui/ui_manager.cpp
cmaughan/mgfx
488453333f23b38b22ba06b984615a8069dadcbf
[ "MIT" ]
36
2017-03-27T16:57:47.000Z
2022-01-12T04:17:55.000Z
mcommon/ui/ui_manager.cpp
cmaughan/mgfx
488453333f23b38b22ba06b984615a8069dadcbf
[ "MIT" ]
5
2017-03-04T12:13:54.000Z
2017-03-26T21:55:08.000Z
mcommon/ui/ui_manager.cpp
cmaughan/mgfx
488453333f23b38b22ba06b984615a8069dadcbf
[ "MIT" ]
7
2017-03-04T11:01:44.000Z
2018-08-28T09:25:47.000Z
#include "mcommon.h" #include "ui_manager.h" // Statics uint64_t UIMessage::CurrentID = 1; namespace { uint64_t InvalidMessageID = 0; } void UIMessage::Log() { /* uint32_t level = easyloggingERROR; if (m_type & MessageType::Warning) { level = WARNING; } */ std:...
22.553191
136
0.555031
cmaughan
064065e6ba627b73355756f7706d3276ca4312ff
2,602
hpp
C++
Simulator/includes/BitMaskEnums.hpp
lilggamegenius/M68KSimulator
af22bde681c11b0a8ee6fa4692be969566037926
[ "MIT" ]
null
null
null
Simulator/includes/BitMaskEnums.hpp
lilggamegenius/M68KSimulator
af22bde681c11b0a8ee6fa4692be969566037926
[ "MIT" ]
null
null
null
Simulator/includes/BitMaskEnums.hpp
lilggamegenius/M68KSimulator
af22bde681c11b0a8ee6fa4692be969566037926
[ "MIT" ]
null
null
null
// // Created by ggonz on 11/22/2021. // #pragma once namespace M68K::Opcodes{ template<typename Enum> struct EnableBitMaskOperators { static const bool enable = false; }; template<typename Enum> typename std::enable_if<EnableBitMaskOperators<Enum>::enable, Enum>::type operator|(Enum lhs, Enum rhs) { usin...
26.02
76
0.691391
lilggamegenius