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
cac62a1d81e44e4996699a7abf2c890e742df79b
6,100
cpp
C++
utilities/msmonitor/gui/QMSMFormMeasurementAbstract.cpp
akiml/ampehre
383a863442574ea2e6a6ac853a9b99e153daeccf
[ "BSD-2-Clause" ]
3
2016-01-20T13:41:52.000Z
2018-04-10T17:50:49.000Z
utilities/msmonitor/gui/QMSMFormMeasurementAbstract.cpp
akiml/ampehre
383a863442574ea2e6a6ac853a9b99e153daeccf
[ "BSD-2-Clause" ]
null
null
null
utilities/msmonitor/gui/QMSMFormMeasurementAbstract.cpp
akiml/ampehre
383a863442574ea2e6a6ac853a9b99e153daeccf
[ "BSD-2-Clause" ]
null
null
null
/* * QMSMFormMeasurementAbstract.cpp * * Copyright (C) 2015, Achim Lösch <achim.loesch@upb.de>, Christoph Knorr <cknorr@mail.uni-paderborn.de> * All rights reserved. * * This software may be modified and distributed under the terms * of the BSD license. See the LICENSE file for details. * * encoding: UTF-8 ...
29.61165
114
0.715902
akiml
cac72302c62640db650770ad51b5ea40af7e9a44
11,092
hpp
C++
agency/cuda/execution/detail/kernel/bulk_then_execute_kernel.hpp
ccecka/agency
729f5346e842c9cef3ad6f34d18d17a96a001a75
[ "BSD-3-Clause" ]
null
null
null
agency/cuda/execution/detail/kernel/bulk_then_execute_kernel.hpp
ccecka/agency
729f5346e842c9cef3ad6f34d18d17a96a001a75
[ "BSD-3-Clause" ]
null
null
null
agency/cuda/execution/detail/kernel/bulk_then_execute_kernel.hpp
ccecka/agency
729f5346e842c9cef3ad6f34d18d17a96a001a75
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include <agency/detail/config.hpp> #include <agency/cuda/execution/detail/kernel/launch_kernel.hpp> #include <agency/cuda/execution/detail/kernel/on_chip_shared_parameter.hpp> #include <agency/cuda/device.hpp> #include <agency/cuda/detail/future/async_future.hpp> #include <memory> namespace agency { nam...
48.017316
261
0.79625
ccecka
cac731ec9bad23c1f9d2a6d5ce9afce112c96f03
1,602
cpp
C++
src/blocks/shovel.cpp
ondralukes/OpenGLCraft
8384fc70c02dddcf593a2e6aab6c1cd7d0ba38a3
[ "MIT" ]
1
2020-01-27T18:11:13.000Z
2020-01-27T18:11:13.000Z
src/blocks/shovel.cpp
ondralukes/OpenGLCraft
8384fc70c02dddcf593a2e6aab6c1cd7d0ba38a3
[ "MIT" ]
12
2020-01-22T09:16:29.000Z
2020-02-10T21:37:50.000Z
src/blocks/shovel.cpp
ondralukes/OpenGLCraft
8384fc70c02dddcf593a2e6aab6c1cd7d0ba38a3
[ "MIT" ]
null
null
null
#include "shovel.hpp" using namespace Blocks; WoodenShovel::WoodenShovel() : Block("textures/woodenShovel.dds"){ data.type = WOODEN_SHOVEL; toolType = SHOVEL; toolLevel = 1.0f; hp = 50; maxStack = 1; drawFlat = true; fuelValue = 0.15f; } void WoodenShovel::save(){ if(data.dataPos == 0){ data.data...
18.847059
69
0.654806
ondralukes
cac80510ba22be4df5698a37e1295f7b253f0a3c
1,971
cc
C++
test/rbm_test.cc
WaizungTaam/Deep-Belief-Network
fd882dfade6e1df5588f8925bf1020f52fa73cd9
[ "Apache-2.0" ]
null
null
null
test/rbm_test.cc
WaizungTaam/Deep-Belief-Network
fd882dfade6e1df5588f8925bf1020f52fa73cd9
[ "Apache-2.0" ]
null
null
null
test/rbm_test.cc
WaizungTaam/Deep-Belief-Network
fd882dfade6e1df5588f8925bf1020f52fa73cd9
[ "Apache-2.0" ]
null
null
null
/* Copyright 2016 WaizungTaam. All rights reserved. License: Apache License 2.0 Email: waizungtaam@gmail.com Creation time: 2016-07-15 Last modified: 2016-07-15 */ #include <iostream> #include <iomanip> #include "../src/rbm.h" #include "../src/math/matrix.h" #include "../src/math/utils.h" int main() ...
39.42
90
0.607813
WaizungTaam
cac85812ef474b9f1ddf4c50d8e5d72e6462bd81
2,860
cpp
C++
graph-source-code/225-D/12319993.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/225-D/12319993.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/225-D/12319993.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
//Language: GNU C++ #include <stdio.h> #include <set> #include <queue> #include <algorithm> using namespace std; int n,m,res=-1; int dx[4]={1,0,-1,0}; int dy[4]={0,1,0,-1}; set<int> v; struct State{ int steps; char a[15][15]; int hash(){ int res=0; for(int i=0;i<n;i+...
23.636364
68
0.334965
AmrARaouf
cacb1e31443fab418f88f96d7d86e355005af0be
579
cpp
C++
src/page_02/task076.cpp
berlios/pe
5edd686481666c86a14804cfeae354a267d468be
[ "MIT" ]
null
null
null
src/page_02/task076.cpp
berlios/pe
5edd686481666c86a14804cfeae354a267d468be
[ "MIT" ]
null
null
null
src/page_02/task076.cpp
berlios/pe
5edd686481666c86a14804cfeae354a267d468be
[ "MIT" ]
null
null
null
#include <vector> #include "base/task.h" int CountNumberOfPartitions(int remaining, std::vector<int>* sequence) { if (remaining == 0) { return 1; } int sum = 0; int max = sequence->back(); for (int i = 1; i <= max && i <= remaining; ++i) { sequence->push_back(i); sum += CountNumberOfPartitions(...
19.965517
72
0.599309
berlios
cace21609f44f0cb375f10b09fdf0a83c31efd60
107
cpp
C++
src/server.cpp
MlsDmitry/RakNet-samples
05873aecb5c8dac0c0f822845c764bd5f8dc6a6d
[ "MIT" ]
null
null
null
src/server.cpp
MlsDmitry/RakNet-samples
05873aecb5c8dac0c0f822845c764bd5f8dc6a6d
[ "MIT" ]
null
null
null
src/server.cpp
MlsDmitry/RakNet-samples
05873aecb5c8dac0c0f822845c764bd5f8dc6a6d
[ "MIT" ]
null
null
null
// // server.cpp // cserver // // Created by Dmitry Molokovich on 02/04/2021. // #include "server.hpp"
11.888889
47
0.626168
MlsDmitry
caced5785fd89aa3e682a6c74e92740f33bc8dd9
6,564
cpp
C++
BenchElise/bench/b_0_48_1.cpp
kikislater/micmac
3009dbdad62b3ad906ec882b74b85a3db86ca755
[ "CECILL-B" ]
451
2016-11-25T09:40:28.000Z
2022-03-30T04:20:42.000Z
BenchElise/bench/b_0_48_1.cpp
kikislater/micmac
3009dbdad62b3ad906ec882b74b85a3db86ca755
[ "CECILL-B" ]
143
2016-11-25T20:35:57.000Z
2022-03-01T11:58:02.000Z
BenchElise/bench/b_0_48_1.cpp
kikislater/micmac
3009dbdad62b3ad906ec882b74b85a3db86ca755
[ "CECILL-B" ]
139
2016-12-02T10:26:21.000Z
2022-03-10T19:40:29.000Z
/*eLiSe06/05/99 Copyright (C) 1999 Marc PIERROT DESEILLIGNY eLiSe : Elements of a Linux Image Software Environment This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the ...
22.10101
85
0.482937
kikislater
caceeab17b19fa90797e3aba166b0bb867d0c05e
35,618
cpp
C++
LGTV Companion Service/Service.cpp
dechamps/LGTVCompanion
9c68d79c3a1314c7064bcebb712684dbd1a305c7
[ "MIT" ]
null
null
null
LGTV Companion Service/Service.cpp
dechamps/LGTVCompanion
9c68d79c3a1314c7064bcebb712684dbd1a305c7
[ "MIT" ]
null
null
null
LGTV Companion Service/Service.cpp
dechamps/LGTVCompanion
9c68d79c3a1314c7064bcebb712684dbd1a305c7
[ "MIT" ]
null
null
null
// See LGTV Companion UI.cpp for additional details #include "Service.h" using namespace std; using json = nlohmann::json; //globals SERVICE_STATUS gSvcStatus; SERVICE_STATUS_HANDLE gSvcStatusHandle; HANDLE ghSvcStopEvent = NULL; HPOWERNOTIFY gPs1; json jsonP...
32.707071
201
0.539952
dechamps
cad5b9bee2ed5bd54759e2842da259afa0d13d30
648
cpp
C++
src/display_diff_example.cpp
meconlen/stringAlgorithms
102357edc78845a361b8420791b353699acdd4fb
[ "BSD-2-Clause" ]
1
2018-01-21T13:36:49.000Z
2018-01-21T13:36:49.000Z
src/display_diff_example.cpp
meconlen/stringAlgorithms
102357edc78845a361b8420791b353699acdd4fb
[ "BSD-2-Clause" ]
null
null
null
src/display_diff_example.cpp
meconlen/stringAlgorithms
102357edc78845a361b8420791b353699acdd4fb
[ "BSD-2-Clause" ]
null
null
null
#include <config.h> #include <string> #include <vector> #include "needlemanwunsch.hpp" #include "stringoutput.hpp" using stringAlgorithms::NeedlemanWunsch; using stringAlgorithms::display_diff; using stringAlgorithms::scoring::plus_minus_one; int main(int argc, char *argv[]) { std::vector<uint64_t> x = { 1, 2,...
24
139
0.679012
meconlen
cad7f2a0ac111b3395b0f1c260f39d5cb17ae61a
18,486
cpp
C++
istool/source/ISTool.cpp
YURSHAT/istool
544cfb9c180cc746e90a9e5cc2e56b60f709ff82
[ "BSD-3-Clause" ]
3
2020-04-24T23:21:48.000Z
2020-04-30T10:52:33.000Z
istool/source/ISTool.cpp
YURSHAT/istool
544cfb9c180cc746e90a9e5cc2e56b60f709ff82
[ "BSD-3-Clause" ]
null
null
null
istool/source/ISTool.cpp
YURSHAT/istool
544cfb9c180cc746e90a9e5cc2e56b60f709ff82
[ "BSD-3-Clause" ]
1
2021-09-02T03:29:47.000Z
2021-09-02T03:29:47.000Z
// ISTool.cpp : Defines the class behaviors for the application. // #include "stdafx.h" #include "ISTool.h" #include "MainFrm.h" #include "MyDoc.h" #include "Registry.h" CMyApp theApp; CImageList CMyApp::m_imageList; int CMyApp::m_nExitCode; CUpdate* CUpdate::m_pFirst; CMyApp* AfxGetApp() { return &theApp; } ...
31.173693
216
0.701504
YURSHAT
cad83db2b33b563bad85a671daeeb45d56a6a8d3
9,802
cpp
C++
test/parser/parsing_table_test.cpp
TheSYNcoder/JuCC
4765f9dd93349de93c09d53594721af0fea0acc0
[ "Apache-2.0" ]
31
2021-05-03T11:49:32.000Z
2022-03-03T03:07:57.000Z
test/parser/parsing_table_test.cpp
TheSYNcoder/JuCC
4765f9dd93349de93c09d53594721af0fea0acc0
[ "Apache-2.0" ]
45
2021-04-24T13:36:13.000Z
2021-05-27T05:51:42.000Z
test/parser/parsing_table_test.cpp
TheSYNcoder/JuCC
4765f9dd93349de93c09d53594721af0fea0acc0
[ "Apache-2.0" ]
1
2021-04-25T12:35:55.000Z
2021-04-25T12:35:55.000Z
#include "parser/parsing_table.h" #include "grammar/grammar.h" #include "gtest/gtest.h" using jucc::parser::ParsingTable; namespace grammar = jucc::grammar; namespace utils = jucc::utils; TEST(parser, ParsingTable1) { /** * Test: Context Free Grammar * S : a A B b * A : c | EPSILON * B : d | EPSILON ...
27.002755
83
0.635176
TheSYNcoder
cad9ba08f56561b899439d1010355b6d5137b230
583
hpp
C++
graph/djikstra/djikstra.hpp
fredyshox/Algorithms
f630231d8f34b9f3a3aed89741891e845501f75c
[ "MIT" ]
null
null
null
graph/djikstra/djikstra.hpp
fredyshox/Algorithms
f630231d8f34b9f3a3aed89741891e845501f75c
[ "MIT" ]
null
null
null
graph/djikstra/djikstra.hpp
fredyshox/Algorithms
f630231d8f34b9f3a3aed89741891e845501f75c
[ "MIT" ]
null
null
null
// // djikstra.hpp // lista5 // // Created by Kacper Raczy on 02.06.2018. // Copyright © 2018 Kacper Raczy. All rights reserved. // #ifndef djikstra_hpp #define djikstra_hpp #include <iostream> #include <vector> #include <climits> #include "priority_queue.hpp" using ::std::vector; /** * Finds shortest paths to...
20.821429
66
0.718696
fredyshox
cada7ca3d1731cb01842392711de65000fc9c191
1,000
cc
C++
src/swngramppl.cc
aalto-speech/morphological-classes
a7dcdb0703b33765ed43a9a56a3ca453dc5ed5e3
[ "BSD-2-Clause" ]
null
null
null
src/swngramppl.cc
aalto-speech/morphological-classes
a7dcdb0703b33765ed43a9a56a3ca453dc5ed5e3
[ "BSD-2-Clause" ]
null
null
null
src/swngramppl.cc
aalto-speech/morphological-classes
a7dcdb0703b33765ed43a9a56a3ca453dc5ed5e3
[ "BSD-2-Clause" ]
null
null
null
#include "conf.hh" #include "ModelWrappers.hh" using namespace std; int main(int argc, char* argv[]) { conf::Config config; config("usage: swngramppl [OPTION...] ARPAFILE WORD_SEGMENTATIONS INPUT\n") ('f', "prob-file", "arg", "", "Write log likelihoods (ln) to a file") ('h', "help", ""...
30.30303
94
0.592
aalto-speech
cadd3bc78e317fd2615017ad3748a250b31bd26c
118,461
cpp
C++
3rd/snap7-1.4.2/src/core/s7_micro_client.cpp
xeniumlee/edge.skynet
011b227e67663f298d6dd02b82eb41d30c6924f1
[ "MIT" ]
133
2015-02-19T04:49:23.000Z
2022-02-23T22:15:53.000Z
3rd/snap7-1.4.2/src/core/s7_micro_client.cpp
xeniumlee/edge.skynet
011b227e67663f298d6dd02b82eb41d30c6924f1
[ "MIT" ]
76
2015-02-21T09:41:56.000Z
2022-03-03T11:59:15.000Z
3rd/snap7-1.4.2/src/core/s7_micro_client.cpp
xeniumlee/edge.skynet
011b227e67663f298d6dd02b82eb41d30c6924f1
[ "MIT" ]
51
2015-03-02T21:48:09.000Z
2022-03-17T12:10:36.000Z
/*=============================================================================| | PROJECT SNAP7 1.3.0 | |==============================================================================| | Copyright (C) 2013, 2015 Davide Nardella ...
35.58456
146
0.535467
xeniumlee
cadde650de6efe7cfac79fe9334046d031d13d44
20,241
cpp
C++
XPowerControl/TokenRetriever.cpp
snowpoke/XPowerControl
a5e4493cde4bdc06df30dba69a9460247074fdcd
[ "MIT" ]
4
2021-11-11T17:03:20.000Z
2022-01-14T18:13:41.000Z
XPowerControl/TokenRetriever.cpp
snowpoke/XPowerControl
a5e4493cde4bdc06df30dba69a9460247074fdcd
[ "MIT" ]
1
2022-01-14T00:39:49.000Z
2022-01-14T00:39:49.000Z
XPowerControl/TokenRetriever.cpp
snowpoke/XPowerControl
a5e4493cde4bdc06df30dba69a9460247074fdcd
[ "MIT" ]
null
null
null
#include "TokenRetriever.h" #include "stdafx.h" #include "RetrieveTokenDlg.h" #include "token_retrieve.h" #include "nlohmann/json.hpp" #include "wstring_transform.h" #include "FirstSetup.h" #include "ActionRequiredDlg.h" #include "logging.h" #include <boost/filesystem.hpp> #include <boost/algorithm/string.hpp> #include...
35.572935
176
0.716812
snowpoke
cadf2157e6ba812f8befd185ce6212e9fe62fb3c
7,195
cpp
C++
hooks/recv_commands/CMDRECV_Build.cpp
Lucifirius/yzoriansteampunk
7b629ffd9740f0ff3db1fb8cffe07f45b7528854
[ "Unlicense" ]
null
null
null
hooks/recv_commands/CMDRECV_Build.cpp
Lucifirius/yzoriansteampunk
7b629ffd9740f0ff3db1fb8cffe07f45b7528854
[ "Unlicense" ]
null
null
null
hooks/recv_commands/CMDRECV_Build.cpp
Lucifirius/yzoriansteampunk
7b629ffd9740f0ff3db1fb8cffe07f45b7528854
[ "Unlicense" ]
null
null
null
#include "CMDRECV_Build.h" #include <SCBW/api.h> //Helper functions declaration namespace { Bool32 OrderAllowed(CUnit* unit, u16 order, u32 nationID); //6DC20 u32 function_00473FB0(CUnit* unit, u8 playerId, int x, int y, u16 unitId, u8 unk1, u8 unk2, u8 unk3, u8 unk4 ); //73FB0 bool placeBuildi...
19.393531
120
0.65615
Lucifirius
cae345cbe02769fdfae5082205b7110fbfca97c5
1,411
cpp
C++
iface_kcan.cpp
azarenko/cascade
47d538df4f2c8014cefbb43495d995e43c97c1b2
[ "Apache-2.0" ]
null
null
null
iface_kcan.cpp
azarenko/cascade
47d538df4f2c8014cefbb43495d995e43c97c1b2
[ "Apache-2.0" ]
null
null
null
iface_kcan.cpp
azarenko/cascade
47d538df4f2c8014cefbb43495d995e43c97c1b2
[ "Apache-2.0" ]
null
null
null
/* * iface_kcan.cpp * * (C) Copyright 2014 Ulrich Hecht * * This file is part of CASCADE. CASCADE is almost free software; you can * redistribute it and/or modify it under the terms of the Cascade Public * License 1.0. Read the file "LICENSE" for details. */ #include "iface_kcan.h" #include "iface_kl_tty.h" ...
18.565789
74
0.681077
azarenko
cae46fbcf8eb50e71ca8889377e0210becb4820b
14,229
cpp
C++
[Visual Studio] Header Generator/Escape Sequence Color Header Generader.cpp
uduse/Escape-Sequence-Color-Header
3027e887dd8d60b2e121b1c6795598a0fd0c55c1
[ "BSD-2-Clause" ]
1
2021-12-27T21:13:20.000Z
2021-12-27T21:13:20.000Z
[Visual Studio] Header Generator/Escape Sequence Color Header Generader.cpp
uduse/Escape-Sequence-Color-Header
3027e887dd8d60b2e121b1c6795598a0fd0c55c1
[ "BSD-2-Clause" ]
null
null
null
[Visual Studio] Header Generator/Escape Sequence Color Header Generader.cpp
uduse/Escape-Sequence-Color-Header
3027e887dd8d60b2e121b1c6795598a0fd0c55c1
[ "BSD-2-Clause" ]
1
2020-08-25T11:23:43.000Z
2020-08-25T11:23:43.000Z
// Copyright (c) 2015, Uduse - Aedi Wang, All rights reserved. // This file is licensed under The BSD 2-Clause License, see LICENSE.md for details // Escape Sequence Color Header.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <iostream> #include <fstream> #include <string> ...
23.754591
102
0.500738
uduse
cae823fbd579dea15331da41a03b923dee520845
36
hpp
C++
src/boost_asio_streambuf.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_asio_streambuf.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_asio_streambuf.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/asio/streambuf.hpp>
18
35
0.777778
miathedev
caeb79731b880c33960723192eb0f6bdbbb6f2f3
8,678
cxx
C++
core/teca_temporal_reduction.cxx
burlen/teca_arch
6e2d6b607b0ab4a354969e0bd5e24ceb3a57bcf4
[ "BSD-3-Clause-LBNL" ]
null
null
null
core/teca_temporal_reduction.cxx
burlen/teca_arch
6e2d6b607b0ab4a354969e0bd5e24ceb3a57bcf4
[ "BSD-3-Clause-LBNL" ]
null
null
null
core/teca_temporal_reduction.cxx
burlen/teca_arch
6e2d6b607b0ab4a354969e0bd5e24ceb3a57bcf4
[ "BSD-3-Clause-LBNL" ]
null
null
null
#include "teca_temporal_reduction.h" #include "teca_binary_stream.h" #if defined(TECA_HAS_MPI) #include <mpi.h> #endif #if defined(TECA_HAS_BOOST) #include <boost/program_options.hpp> #endif using std::string; using std::vector; using std::cerr; using std::endl; // TODO // handle large messages, ie work around int ...
26.217523
84
0.550472
burlen
caebc5f127235136401f247f233cdccd578310b2
574
cpp
C++
CPPExamples/TestOps.cpp
tpayne/lang-examples
4aeb71e7c2269f4b056f91159528a5faac249747
[ "MIT" ]
null
null
null
CPPExamples/TestOps.cpp
tpayne/lang-examples
4aeb71e7c2269f4b056f91159528a5faac249747
[ "MIT" ]
1
2021-12-23T18:24:09.000Z
2021-12-23T18:24:09.000Z
CPPExamples/TestOps.cpp
tpayne/lang-examples
4aeb71e7c2269f4b056f91159528a5faac249747
[ "MIT" ]
null
null
null
/* * TestOps.cpp * * Created on: 20 Sep 2014 * Author: alexgray */ #include "TestOps.h" namespace TestFuncs { TestOps::TestOps(const TestOps &p) : x(p.x) { } TestOps& TestOps::operator= (const TestOps &p) { if (this == &p) return *this; x = p.x; return *this; } TestOps& TestOps::operator++ () { ...
12.478261
52
0.60453
tpayne
caefba681239bdb5d2815a03d000c3a070935baa
1,272
hpp
C++
include/System/Threading/IThreadPoolWorkItem.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/System/Threading/IThreadPoolWorkItem.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/System/Threading/IThreadPoolWorkItem.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes // Completed includes // Begin forward declares // Forward declaring namespace: System::Threading namespace System::Threading { // Forward dec...
37.411765
108
0.698113
darknight1050
caf136481b1e837e9d7c558b382ebc5ae86e3553
1,538
cpp
C++
C4_Search_dfs_bfs/994_rotting_oranges.cpp
lanhongvp/DS_Algorithm
ec49a06c611363a83e1d23d1fb0d7b3212323f96
[ "MIT" ]
2
2019-02-01T15:38:13.000Z
2019-02-03T13:33:15.000Z
C4_Search_dfs_bfs/994_rotting_oranges.cpp
lanhongvp/DS_Algorithm
ec49a06c611363a83e1d23d1fb0d7b3212323f96
[ "MIT" ]
null
null
null
C4_Search_dfs_bfs/994_rotting_oranges.cpp
lanhongvp/DS_Algorithm
ec49a06c611363a83e1d23d1fb0d7b3212323f96
[ "MIT" ]
null
null
null
class Solution { public: int X[4] = {0,0,-1,1}; int Y[4] = {1,-1,0,0}; int n,m; //up,down,left,right bool check(int x,int y){ if(x>=0 && y>=0 && x<=n-1 && y<=m-1) return true; else return false; } int orangesRotting(vector<vector<int>>& grid) { ...
25.633333
53
0.314044
lanhongvp
caf2b476b41724106a6e4632b6911fcd331bb972
4,854
cc
C++
test/multiprocess_exec_posix.cc
hunter-packages/crashpad
3583c50a6575857abcf140f6ea3b8d11390205b3
[ "Apache-2.0" ]
8
2016-02-08T11:59:31.000Z
2020-05-31T15:19:54.000Z
test/multiprocess_exec_posix.cc
hunter-packages/crashpad
3583c50a6575857abcf140f6ea3b8d11390205b3
[ "Apache-2.0" ]
1
2021-07-09T03:34:39.000Z
2021-07-09T03:34:39.000Z
test/multiprocess_exec_posix.cc
hunter-packages/crashpad
3583c50a6575857abcf140f6ea3b8d11390205b3
[ "Apache-2.0" ]
7
2016-02-09T09:28:14.000Z
2020-07-25T19:03:36.000Z
// Copyright 2014 The Crashpad Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by ...
34.183099
80
0.722291
hunter-packages
caf3c3fcc4438e0dfe5e694bb5d40cce0aa2b77d
7,259
cpp
C++
archive/c/c-plus-plus/fractions.cpp
Ayush7-BIT/sample-programs
827d8961d3a548daf8fe3b674642a1562daaa5c4
[ "MIT" ]
422
2018-08-14T11:57:47.000Z
2022-03-07T23:54:34.000Z
archive/c/c-plus-plus/fractions.cpp
Ayush7-BIT/sample-programs
827d8961d3a548daf8fe3b674642a1562daaa5c4
[ "MIT" ]
1,498
2018-08-10T19:18:52.000Z
2021-12-14T03:02:00.000Z
archive/c/c-plus-plus/fractions.cpp
Ayush7-BIT/sample-programs
827d8961d3a548daf8fe3b674642a1562daaa5c4
[ "MIT" ]
713
2018-08-12T21:37:49.000Z
2022-03-02T22:57:21.000Z
#include<iostream> #include<string> using namespace std; int gcd(int a, int b){ if(a<0){ a = -a; } while(a%b != 0){ int i = a; int j = b; a = j; b = i%j; } return b; } class Fraction{ private: int numerator; int denomenator; public: Fraction(in...
26.492701
75
0.614823
Ayush7-BIT
caf44b6636c37c36e9e9d05e8bcf81b1b9d0a989
3,413
cpp
C++
cpp/nn_trees/src/py_bindings.cpp
equivalence1/ml_lib
92d75ab73bc2d77ba8fa66022c803c06cad66f21
[ "Apache-2.0" ]
1
2019-02-15T09:40:43.000Z
2019-02-15T09:40:43.000Z
cpp/nn_trees/src/py_bindings.cpp
equivalence1/ml_lib
92d75ab73bc2d77ba8fa66022c803c06cad66f21
[ "Apache-2.0" ]
null
null
null
cpp/nn_trees/src/py_bindings.cpp
equivalence1/ml_lib
92d75ab73bc2d77ba8fa66022c803c06cad66f21
[ "Apache-2.0" ]
2
2018-09-29T10:17:26.000Z
2018-10-03T20:33:31.000Z
#include <cstdint> #include <pybind11/pybind11.h> #include <pybind11/numpy.h> #include "nntree/dataset.h" #include "least_squares.h" #include "convolution.h" // TODO(equivalence1) make it a collection of separate files namespace py = pybind11; namespace nntree { namespace pymodule { template <typename...
38.348315
147
0.517433
equivalence1
caf59ed68fb1e9a3a8d68687b61648006b54513a
14,894
hpp
C++
modules/containers/include/shard/containers/array.hpp
ikimol/shard
72a72dbebfd247d2b7b300136c489672960b37d8
[ "MIT" ]
null
null
null
modules/containers/include/shard/containers/array.hpp
ikimol/shard
72a72dbebfd247d2b7b300136c489672960b37d8
[ "MIT" ]
null
null
null
modules/containers/include/shard/containers/array.hpp
ikimol/shard
72a72dbebfd247d2b7b300136c489672960b37d8
[ "MIT" ]
null
null
null
// Copyright (c) 2021 Miklos Molnar. All rights reserved. #ifndef SHARD_CONTAINERS_ARRAY_HPP #define SHARD_CONTAINERS_ARRAY_HPP #include <shard/memory/allocator.hpp> #include <algorithm> #include <cstddef> #include <cstring> #include <iterator> #include <stdexcept> #include <utility> namespace shard { namespace con...
29.376726
116
0.586478
ikimol
caf88183ce6130f29517b09821f2a8484d40f5ca
8,573
cpp
C++
ManagedScripts/MLightPhysClassRefMultiListClass.cpp
mpforums/RenSharp
5b3fb8bff2a1772a82a4148bcf3e1265a11aa097
[ "Apache-2.0" ]
1
2021-10-04T02:34:33.000Z
2021-10-04T02:34:33.000Z
ManagedScripts/MLightPhysClassRefMultiListClass.cpp
TheUnstoppable/RenSharp
2a123c6018c18f3fc73501737d600e291ac3afa7
[ "Apache-2.0" ]
9
2019-07-03T19:19:59.000Z
2020-03-02T22:00:21.000Z
ManagedScripts/MLightPhysClassRefMultiListClass.cpp
TheUnstoppable/RenSharp
2a123c6018c18f3fc73501737d600e291ac3afa7
[ "Apache-2.0" ]
2
2019-08-14T08:37:36.000Z
2020-09-29T06:44:26.000Z
/* Copyright 2020 Neijwiert 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 to in writing, software distr...
31.288321
143
0.787239
mpforums
cafa5426a3b859ccfd944cf9a6c09861bc5ce164
11,808
hpp
C++
control/json/actions/action.hpp
ibm-openbmc/phosphor-fan-presence
a899aa0cbdb7904d177fc5bb85aa605e4ff13747
[ "Apache-2.0" ]
null
null
null
control/json/actions/action.hpp
ibm-openbmc/phosphor-fan-presence
a899aa0cbdb7904d177fc5bb85aa605e4ff13747
[ "Apache-2.0" ]
null
null
null
control/json/actions/action.hpp
ibm-openbmc/phosphor-fan-presence
a899aa0cbdb7904d177fc5bb85aa605e4ff13747
[ "Apache-2.0" ]
1
2019-09-27T15:20:57.000Z
2019-09-27T15:20:57.000Z
/** * Copyright © 2022 IBM 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://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
30.67013
80
0.615684
ibm-openbmc
cafb00d94c6d87e1b3cdf9b3d680df6c4899f76a
44,675
cpp
C++
earth_enterprise/src/fusion/rasterfuse/vipm/procmesh.cpp
ezeeyahoo/earthenterprise
b6cac9e6228946f2f17d1edb75e118aeb3e8e8c9
[ "Apache-2.0" ]
3
2017-12-21T05:40:09.000Z
2018-05-16T11:18:25.000Z
earth_enterprise/src/fusion/rasterfuse/vipm/procmesh.cpp
ezeeyahoo/earthenterprise
b6cac9e6228946f2f17d1edb75e118aeb3e8e8c9
[ "Apache-2.0" ]
1
2019-08-13T16:27:26.000Z
2019-08-13T16:27:26.000Z
earth_enterprise/src/fusion/rasterfuse/vipm/procmesh.cpp
ezeeyahoo/earthenterprise
b6cac9e6228946f2f17d1edb75e118aeb3e8e8c9
[ "Apache-2.0" ]
1
2019-09-09T09:48:08.000Z
2019-09-09T09:48:08.000Z
// Copyright 2017 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
25.913573
93
0.544421
ezeeyahoo
1b00a7478640dc8659f0435fc32c0f77c9bbc9e2
3,566
cpp
C++
src/bvh_converter.cpp
lasagnaphil/c3d-to-bvh
cbb10c6e0207aa9c47b54359f785a2e6b78989c1
[ "MIT" ]
2
2020-04-21T12:24:09.000Z
2021-08-12T02:56:55.000Z
src/bvh_converter.cpp
lasagnaphil/c3d-to-bvh
cbb10c6e0207aa9c47b54359f785a2e6b78989c1
[ "MIT" ]
null
null
null
src/bvh_converter.cpp
lasagnaphil/c3d-to-bvh
cbb10c6e0207aa9c47b54359f785a2e6b78989c1
[ "MIT" ]
2
2021-06-29T11:46:06.000Z
2021-08-12T02:57:00.000Z
// // Created by lasagnaphil on 19. 11. 11.. // #include <iostream> #include <random> #include <regex> #include "imguix/imgui_plot.h" #include <MotionClipData.h> #include "App.h" #include "GizmosRenderer.h" #include "PhongRenderer.h" #include "c3d/PointMotionClip.h" #include "filesystem.h" namespace fs = std::fil...
28.528
111
0.592821
lasagnaphil
1b089da527c8665ddff69b950f9105268bc4b064
815
cc
C++
tree/543.cc
MingfeiPan/leetcode
55dc878cfb7b15a34252410ae7420a656da604f8
[ "Apache-2.0" ]
null
null
null
tree/543.cc
MingfeiPan/leetcode
55dc878cfb7b15a34252410ae7420a656da604f8
[ "Apache-2.0" ]
null
null
null
tree/543.cc
MingfeiPan/leetcode
55dc878cfb7b15a34252410ae7420a656da604f8
[ "Apache-2.0" ]
null
null
null
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode() : val(0), left(nullptr), right(nullptr) {} * TreeNode(int x) : val(x), left(nullptr), right(nullptr) {} * TreeNode(int x, TreeNode *left, TreeNode *right) : val(x), l...
26.290323
93
0.536196
MingfeiPan
1b0964323e5667bad8dddb2a54b342e789fad456
4,345
cc
C++
python/dune/gdt/prolongations.cc
pymor/dune-gdt
fabc279a79e7362181701866ce26133ec40a05e0
[ "BSD-2-Clause" ]
4
2018-10-12T21:46:08.000Z
2020-08-01T18:54:02.000Z
python/dune/gdt/prolongations.cc
dune-community/dune-gdt
fabc279a79e7362181701866ce26133ec40a05e0
[ "BSD-2-Clause" ]
154
2016-02-16T13:50:54.000Z
2021-12-13T11:04:29.000Z
python/dune/gdt/prolongations.cc
dune-community/dune-gdt
fabc279a79e7362181701866ce26133ec40a05e0
[ "BSD-2-Clause" ]
5
2016-03-02T10:11:20.000Z
2020-02-08T03:56:24.000Z
// This file is part of the dune-gdt project: // https://github.com/dune-community/dune-gdt // Copyright 2010-2018 dune-gdt developers and contributors. All rights reserved. // License: Dual licensed as BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) // or GPL-2.0+ (http://opensource.org/lice...
30.815603
119
0.654085
pymor
db43fa54955a0edc604797ca9840f0f9dcc1f7fa
785
cpp
C++
Source/HeatCool/integrate_state_vec_3d_stubs.cpp
zingale/Nyx
d0dd183748e85615e32c327004d540d6ad3069c7
[ "BSD-3-Clause-LBNL" ]
null
null
null
Source/HeatCool/integrate_state_vec_3d_stubs.cpp
zingale/Nyx
d0dd183748e85615e32c327004d540d6ad3069c7
[ "BSD-3-Clause-LBNL" ]
null
null
null
Source/HeatCool/integrate_state_vec_3d_stubs.cpp
zingale/Nyx
d0dd183748e85615e32c327004d540d6ad3069c7
[ "BSD-3-Clause-LBNL" ]
null
null
null
#include <fstream> #include <iomanip> #include <AMReX_ParmParse.H> #include <AMReX_Geometry.H> #include <AMReX_MultiFab.H> #include <AMReX_Print.H> #include <AMReX_PlotFileUtil.H> #include <AMReX_BLFort.H> #include <Nyx.H> using namespace amrex; /* Private function to check function return values */ static int chec...
21.216216
72
0.73121
zingale
db45486f46c4f164cd307f0214270a5a4c4612da
788
cpp
C++
code/3rd-party/imdexlib/tests/string_ref-test.cpp
InNoHurryToCode/xray-162
fff9feb9ffb681b3c6ba1dc7c4534fe80006f87e
[ "Apache-2.0" ]
58
2016-11-20T19:14:35.000Z
2021-12-27T21:03:35.000Z
code/3rd-party/imdexlib/tests/string_ref-test.cpp
InNoHurryToCode/xray-162
fff9feb9ffb681b3c6ba1dc7c4534fe80006f87e
[ "Apache-2.0" ]
59
2016-09-10T10:44:20.000Z
2018-09-03T19:07:30.000Z
code/3rd-party/imdexlib/tests/string_ref-test.cpp
InNoHurryToCode/xray-162
fff9feb9ffb681b3c6ba1dc7c4534fe80006f87e
[ "Apache-2.0" ]
39
2017-02-05T13:35:37.000Z
2022-03-14T11:00:12.000Z
#include <gtest/gtest.h> #include <gmock/gmock.h> #include <imdexlib/string_ref.hpp> using namespace imdex; using namespace testing; using namespace std::string_literals; TEST(StringRefTest, EmptinessTest) { EXPECT_EQ(string_ref(), ""); EXPECT_EQ(string_ref(), ""s); EXPECT_TRUE(string_ref().empty()); ...
23.878788
45
0.687817
InNoHurryToCode
db483324ef6aeefd98857ef0653bb7a7987def49
5,043
cc
C++
chrome/browser/performance_manager/persistence/site_data/site_data_cache_facade.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/performance_manager/persistence/site_data/site_data_cache_facade.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/performance_manager/persistence/site_data/site_data_cache_facade.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// 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 "chrome/browser/performance_manager/persistence/site_data/site_data_cache_facade.h" #include <string> #include <utility> #include <vector> #inc...
40.02381
92
0.69879
sarang-apps
db4c437a9528f84b1d52064b883df0306a6ac9fd
2,421
cc
C++
CondTools/Ecal/src/EcalTPGSpikeThresholdfromFile.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
CondTools/Ecal/src/EcalTPGSpikeThresholdfromFile.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
CondTools/Ecal/src/EcalTPGSpikeThresholdfromFile.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
#include "CondTools/Ecal/interface/EcalTPGSpikeThresholdfromFile.h" #include "FWCore/Framework/interface/ESHandle.h" #include "FWCore/ParameterSet/interface/ParameterSetfwd.h" #include "Geometry/EcalMapping/interface/EcalElectronicsMapping.h" #include "Geometry/EcalMapping/interface/EcalMappingRcd.h" #include <iost...
33.625
109
0.669145
ckamtsikis
db4db94f97d0bf9802bc08930b04d2fefb1a2070
9,330
cpp
C++
src/Library/src/VLC.cpp
bbc/vc2-reference
3f7d823125a0ddd136c6eaa76843a2a8c1be2a63
[ "Apache-2.0" ]
32
2015-10-10T06:31:57.000Z
2022-03-22T20:33:27.000Z
src/Library/src/VLC.cpp
souwang324/vc2-referece
3b107037ea42677b221dfdb9e1b014f083ebfeb8
[ "Apache-2.0" ]
36
2015-09-09T12:50:32.000Z
2021-02-03T15:22:42.000Z
src/Library/src/VLC.cpp
souwang324/vc2-referece
3b107037ea42677b221dfdb9e1b014f083ebfeb8
[ "Apache-2.0" ]
11
2015-09-09T12:23:35.000Z
2019-01-15T10:57:02.000Z
/*********************************************************************/ /* VLC.cpp */ /* Author: Tim Borer */ /* This version 9th August 2011 */ /* ...
26.733524
85
0.604394
bbc
db4df42413a131a63df58fe7e80328fc2e65c16a
1,859
hh
C++
main/src/Geo/plane_fitting.hh
marcomanno/ploygon_triangulation
c98b99e3f9598252ffc27eb202939f0183ac872b
[ "Apache-2.0" ]
null
null
null
main/src/Geo/plane_fitting.hh
marcomanno/ploygon_triangulation
c98b99e3f9598252ffc27eb202939f0183ac872b
[ "Apache-2.0" ]
null
null
null
main/src/Geo/plane_fitting.hh
marcomanno/ploygon_triangulation
c98b99e3f9598252ffc27eb202939f0183ac872b
[ "Apache-2.0" ]
null
null
null
#pragma once #include "vector.hh" #include <memory> namespace Geo { /*! Finds the best plane for N 3d points (the pane that minimize the square distance of any point from the plane. */ struct IPlaneFit { /*!Set the expected number of points to be considered for minimum distance. It must not...
25.465753
80
0.658419
marcomanno
db518c13f9e5e8995a973a92ee319d28dbd513df
67
cpp
C++
src/tree/SplayTree.cpp
vtta/libds
2356b4b1a79994ac231681e2dbd1b0fffd61ebca
[ "Unlicense" ]
null
null
null
src/tree/SplayTree.cpp
vtta/libds
2356b4b1a79994ac231681e2dbd1b0fffd61ebca
[ "Unlicense" ]
null
null
null
src/tree/SplayTree.cpp
vtta/libds
2356b4b1a79994ac231681e2dbd1b0fffd61ebca
[ "Unlicense" ]
null
null
null
// // Created by vtta 🍉 on 2020/1/16. // #include "SplayTree.hpp"
11.166667
34
0.61194
vtta
db5457f07a69272469b15e9bed07b7b75e34de81
310
cpp
C++
acmicpc/14425.cpp
juseongkr/BOJ
8f10a2bf9a7d695455493fbe7423347a8b648416
[ "Apache-2.0" ]
7
2020-02-03T10:00:19.000Z
2021-11-16T11:03:57.000Z
acmicpc/14425.cpp
juseongkr/Algorithm-training
8f10a2bf9a7d695455493fbe7423347a8b648416
[ "Apache-2.0" ]
1
2021-01-03T06:58:24.000Z
2021-01-03T06:58:24.000Z
acmicpc/14425.cpp
juseongkr/Algorithm-training
8f10a2bf9a7d695455493fbe7423347a8b648416
[ "Apache-2.0" ]
1
2020-01-22T14:34:03.000Z
2020-01-22T14:34:03.000Z
#include <iostream> #include <map> using namespace std; int main() { map<string, bool> dict; int n, m, ans = 0; string s; cin >> n >> m; for (int i=0; i<n; ++i) { cin >> s; dict[s] = true; } for (int i=0; i<m; ++i) { cin >> s; if (dict[s]) ans++; } cout << ans << '\n'; return 0; }
11.481481
26
0.487097
juseongkr
db55dddb942aca81ee73a74f61906596d03b271f
3,660
cpp
C++
gm/tallstretchedbitmaps.cpp
zhaodm/skia_sdl
8724ae26584df523eb7bb814ffe7aec5f597d187
[ "BSD-3-Clause" ]
null
null
null
gm/tallstretchedbitmaps.cpp
zhaodm/skia_sdl
8724ae26584df523eb7bb814ffe7aec5f597d187
[ "BSD-3-Clause" ]
null
null
null
gm/tallstretchedbitmaps.cpp
zhaodm/skia_sdl
8724ae26584df523eb7bb814ffe7aec5f597d187
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright 2014 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "gm.h" #include "SkCanvas.h" #include "SkGradientShader.h" #include "SkPath.h" #include "SkRandom.h" int make_bm(SkBitmap* bm, int height) { static const int kRa...
32.389381
99
0.596175
zhaodm
db58cf4e76d60b3f79dfb9240fdb107198464e02
1,017
cpp
C++
array-and-string/introduction-to-string/add-binary.cpp
lpapp/leetcode
58274e021004824bea9c58033632f1d5cf11a7e9
[ "MIT" ]
null
null
null
array-and-string/introduction-to-string/add-binary.cpp
lpapp/leetcode
58274e021004824bea9c58033632f1d5cf11a7e9
[ "MIT" ]
null
null
null
array-and-string/introduction-to-string/add-binary.cpp
lpapp/leetcode
58274e021004824bea9c58033632f1d5cf11a7e9
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <vector> using namespace std; class Solution { public: string addBinary(string a, string b) { string added; for (int ai = a.size() - 1, bi = b.size() - 1, carry = 0, curr_digit = 0; ai >= 0 or bi >= 0 or carry; added.push_back('0' + curr_digit), curr_digi...
25.425
165
0.518191
lpapp
db5a0cc481ded5de29a40ae70ce2fb8410a31ce8
2,310
cpp
C++
src/single_net/GridGraphBuilderBase.cpp
jacky860226/dr-cu
cd3f2f98a9bb4eb6a6531369018e3f1616a58642
[ "Unlicense" ]
1
2021-01-30T07:41:31.000Z
2021-01-30T07:41:31.000Z
src/single_net/GridGraphBuilderBase.cpp
jacky860226/dr-cu
cd3f2f98a9bb4eb6a6531369018e3f1616a58642
[ "Unlicense" ]
null
null
null
src/single_net/GridGraphBuilderBase.cpp
jacky860226/dr-cu
cd3f2f98a9bb4eb6a6531369018e3f1616a58642
[ "Unlicense" ]
null
null
null
#include "GridGraphBuilderBase.h" #include "PinTapConnector.h" DBU GridGraphBuilderBase::getPinPointDist(const vector<db::BoxOnLayer> &accessBoxes, const db::GridPoint &grid) { auto point = database.getLoc(grid); DBU minDist = std::numeric_limits<DBU>::max() / 10; // make it safe for adding in case no same-la...
42
118
0.61645
jacky860226
db5a394c48aa71cba5b00c2c0accbdc659abcf42
573
hh
C++
src/cute/data/average_value.hh
ngc7293/cutestation
f26d1cbbee146b2706f989391cd32d941b6ba149
[ "MIT" ]
2
2020-10-03T22:07:19.000Z
2021-04-21T03:38:48.000Z
src/cute/data/average_value.hh
ngc7293/cutestation
f26d1cbbee146b2706f989391cd32d941b6ba149
[ "MIT" ]
27
2021-06-16T03:49:05.000Z
2022-03-02T15:12:28.000Z
src/cute/data/average_value.hh
ngc7293/cutestation
f26d1cbbee146b2706f989391cd32d941b6ba149
[ "MIT" ]
null
null
null
#ifndef CUTE_DATA_AVERAGEVALUE_HH_ #define CUTE_DATA_AVERAGEVALUE_HH_ #include "dynamic_value.hh" #include "time_series.hh" namespace cute::data { class RollingAverageValue : public DynamicValue<double> { public: RollingAverageValue(const std::string& source, std::chrono::milliseconds window); double value(...
22.038462
85
0.752182
ngc7293
db5e6a52c73932ab5c92ec2294fcefa9ff4bccb5
4,352
cpp
C++
VTIL-Compiler/optimizer/bblock_extension_pass.cpp
fengjixuchui/VTIL-Core
5533e1122b3091daddbf7a82f8bb421dc2a097ea
[ "BSD-3-Clause" ]
906
2020-05-04T01:45:29.000Z
2022-03-31T21:45:05.000Z
VTIL-Compiler/optimizer/bblock_extension_pass.cpp
fengjixuchui/VTIL-Core
5533e1122b3091daddbf7a82f8bb421dc2a097ea
[ "BSD-3-Clause" ]
44
2020-05-04T22:33:21.000Z
2022-03-30T08:52:34.000Z
VTIL-Compiler/optimizer/bblock_extension_pass.cpp
fengjixuchui/VTIL-Core
5533e1122b3091daddbf7a82f8bb421dc2a097ea
[ "BSD-3-Clause" ]
131
2020-05-02T17:27:03.000Z
2022-03-28T16:50:01.000Z
// Copyright (c) 2020 Can Boluk and contributors of the VTIL Project // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // 1. Redistributions of source code must retain the a...
32.237037
92
0.657169
fengjixuchui
db60fa0ebbaedd970814294220ffe33263388a5e
9,697
cpp
C++
lgc/builder/BuilderBase.cpp
Sisyph/llpc
719c9414987921159200729e78ecf1c2e98dd420
[ "MIT" ]
112
2018-07-02T06:56:25.000Z
2022-02-08T12:07:19.000Z
lgc/builder/BuilderBase.cpp
Sisyph/llpc
719c9414987921159200729e78ecf1c2e98dd420
[ "MIT" ]
1,612
2018-07-04T19:08:21.000Z
2022-03-31T23:24:55.000Z
lgc/builder/BuilderBase.cpp
vettoreldaniele/llpc
41fd5608f7b697c1416b983b89b2f62f0907d4a3
[ "MIT" ]
114
2018-07-04T18:47:13.000Z
2022-03-30T19:53:19.000Z
/* *********************************************************************************************************************** * * Copyright (c) 2020-2021 Advanced Micro Devices, Inc. All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associ...
47.072816
120
0.645664
Sisyph
db635b6fae4b1613134a71a127109df6b950600b
962
cpp
C++
fboss/lib/SnapshotManager.cpp
rsunkad/fboss
760255f88fdaeb7f12d092a41362acf1e9a45bbb
[ "BSD-3-Clause" ]
1
2021-08-21T08:14:07.000Z
2021-08-21T08:14:07.000Z
fboss/lib/SnapshotManager.cpp
rsunkad/fboss
760255f88fdaeb7f12d092a41362acf1e9a45bbb
[ "BSD-3-Clause" ]
1
2021-08-21T07:48:15.000Z
2021-08-21T07:48:15.000Z
fboss/lib/SnapshotManager.cpp
LaudateCorpus1/fboss
0e54a9ec6e80376356dfbf6b6ac46f196f1cb534
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2004-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...
28.294118
79
0.711019
rsunkad
db63e2c0236b2496fac0b2eb7c6200eaefdeb8a2
1,098
cpp
C++
tools/PsfPlayer/Source/PsfZipArchive.cpp
maximu/Play-
c9ea635c66a5cc939b8719b634bc8135ec0d67ce
[ "BSD-2-Clause" ]
null
null
null
tools/PsfPlayer/Source/PsfZipArchive.cpp
maximu/Play-
c9ea635c66a5cc939b8719b634bc8135ec0d67ce
[ "BSD-2-Clause" ]
null
null
null
tools/PsfPlayer/Source/PsfZipArchive.cpp
maximu/Play-
c9ea635c66a5cc939b8719b634bc8135ec0d67ce
[ "BSD-2-Clause" ]
null
null
null
#include "PsfZipArchive.h" #include "StdStreamUtils.h" #include "make_unique.h" CPsfZipArchive::CPsfZipArchive() { } CPsfZipArchive::~CPsfZipArchive() { } void CPsfZipArchive::Open(const boost::filesystem::path& filePath) { assert(m_inputFile.IsEmpty()); assert(!m_archive); m_inputFile = Frame...
25.534884
101
0.734973
maximu
db649449d4e94764ff15e29711d74faab8460629
28,379
cpp
C++
WaveletTL/adaptive/apply_tensor.cpp
kedingagnumerikunimarburg/Marburg_Software_Library
fe53c3ae9db23fc3cb260a735b13a1c6d2329c17
[ "MIT" ]
3
2018-05-20T15:25:58.000Z
2021-01-19T18:46:48.000Z
WaveletTL/adaptive/apply_tensor.cpp
agnumerikunimarburg/Marburg_Software_Library
fe53c3ae9db23fc3cb260a735b13a1c6d2329c17
[ "MIT" ]
null
null
null
WaveletTL/adaptive/apply_tensor.cpp
agnumerikunimarburg/Marburg_Software_Library
fe53c3ae9db23fc3cb260a735b13a1c6d2329c17
[ "MIT" ]
2
2019-04-24T18:23:26.000Z
2020-09-17T10:00:27.000Z
// implementation for apply_tensor.h namespace WaveletTL { template <class PROBLEM> void APPLY_TENSOR(PROBLEM& P, const InfiniteVector<double, typename PROBLEM::Index>& v, const double eta, InfiniteVector<double, typename PROBLEM::Index>& w, const int jmax, ...
57.331313
289
0.496881
kedingagnumerikunimarburg
db64bacaf64c5a59e0124f28fd2c7dfeaae023e7
12,719
hpp
C++
runtime/utils/qcor_utils.hpp
vetter/qcor
6f86835737277a26071593bb10dd8627c29d74a3
[ "BSD-3-Clause" ]
59
2019-08-22T18:40:38.000Z
2022-03-09T04:12:42.000Z
runtime/utils/qcor_utils.hpp
vetter/qcor
6f86835737277a26071593bb10dd8627c29d74a3
[ "BSD-3-Clause" ]
137
2019-09-13T15:50:18.000Z
2021-12-06T14:19:46.000Z
runtime/utils/qcor_utils.hpp
vetter/qcor
6f86835737277a26071593bb10dd8627c29d74a3
[ "BSD-3-Clause" ]
26
2019-07-08T17:30:35.000Z
2021-12-03T16:24:12.000Z
/******************************************************************************* * Copyright (c) 2018-, UT-Battelle, LLC. * All rights reserved. This program and the accompanying materials * are made available under the terms of the MIT License * which accompanies this distribution. * * Contributors: * Alexa...
33.383202
83
0.673245
vetter
db6dfe59498a0a886f2f20aedf9ea06cf84df418
2,125
cc
C++
proxy/http/remap/RemapPluginInfo.cc
best8tom/trafficserver
86fffc0f7c3073df3610a06753cc10c5c49231f0
[ "Apache-2.0" ]
1
2019-11-08T05:57:11.000Z
2019-11-08T05:57:11.000Z
proxy/http/remap/RemapPluginInfo.cc
best8tom/trafficserver
86fffc0f7c3073df3610a06753cc10c5c49231f0
[ "Apache-2.0" ]
2
2018-04-18T20:46:52.000Z
2018-09-19T20:07:01.000Z
proxy/http/remap/RemapPluginInfo.cc
best8tom/trafficserver
86fffc0f7c3073df3610a06753cc10c5c49231f0
[ "Apache-2.0" ]
null
null
null
/** @file Information about remap plugin libraries. @section license License 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 ...
26.234568
119
0.714353
best8tom
db7407dc8fd825dd88ffd4fed64e358534cd4992
4,254
cpp
C++
Source/SFMLIntegration/CConvexShape.cpp
sizlo/TimGameLib
b70605c4b043a928645f063a2bb3b267fa91f2c6
[ "MIT" ]
null
null
null
Source/SFMLIntegration/CConvexShape.cpp
sizlo/TimGameLib
b70605c4b043a928645f063a2bb3b267fa91f2c6
[ "MIT" ]
null
null
null
Source/SFMLIntegration/CConvexShape.cpp
sizlo/TimGameLib
b70605c4b043a928645f063a2bb3b267fa91f2c6
[ "MIT" ]
null
null
null
// // CConvexShape.cpp // TimGameLib // // Created by Tim Brier on 18/10/2014. // Copyright (c) 2014 tbrier. All rights reserved. // // ============================================================================= // Include Files // ----------------------------------------------------------------------------- #in...
31.279412
80
0.398213
sizlo
db751b9004b42f6197d66f02deaf91742ce01b37
1,210
cpp
C++
online_judges/ac/103B.cpp
miaortizma/competitive-programming
ea5adfc07e49935acfc0697eeb0a12c7dc6cd8cc
[ "MIT" ]
2
2018-02-20T14:44:57.000Z
2018-02-20T14:45:03.000Z
online_judges/ac/103B.cpp
miaortizma/competitive-programming
ea5adfc07e49935acfc0697eeb0a12c7dc6cd8cc
[ "MIT" ]
null
null
null
online_judges/ac/103B.cpp
miaortizma/competitive-programming
ea5adfc07e49935acfc0697eeb0a12c7dc6cd8cc
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define ll long long #define pb push_back #ifdef PAPITAS #define DEBUG 1 #else #define DEBUG 0 #endif #define _DO_(x) if(DEBUG) x bool visited[110][110]; bool nvisited[110]; int parent[110]; int c = 0; vector<int> adj[110]; vector< vector<int> > cycles; void cycle(int ...
17.794118
43
0.580165
miaortizma
db76c004750cc3b8bef6870594b33b1160540c47
135,686
cpp
C++
src/prod/src/data/logicallog/LogTestBase.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
1
2020-06-15T04:33:36.000Z
2020-06-15T04:33:36.000Z
src/prod/src/data/logicallog/LogTestBase.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
null
null
null
src/prod/src/data/logicallog/LogTestBase.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
null
null
null
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ #include "stdafx.h" #include "...
40.758786
224
0.600231
vishnuk007
db800db7e0aa456220baedadff6699d443e2f559
10,208
hpp
C++
basic exp/4. matrix-I/matrix.hpp
ltg001/word_game
3b4e537f1b61b9523a8120a96627442d5558debe
[ "MIT" ]
null
null
null
basic exp/4. matrix-I/matrix.hpp
ltg001/word_game
3b4e537f1b61b9523a8120a96627442d5558debe
[ "MIT" ]
null
null
null
basic exp/4. matrix-I/matrix.hpp
ltg001/word_game
3b4e537f1b61b9523a8120a96627442d5558debe
[ "MIT" ]
null
null
null
/* Date: 2018/2/24 Author: Sheldon Zhang School: Beijing University of Posts and Telecommunications(BUPT) Description: A simple support for matrix */ #include <vector> #include <iostream> #include "cmath" #include "complex.h" using namespace std; #define ROW_MAX 1000 #define COL_MAX 1000 template <typ...
28.917847
79
0.618241
ltg001
db80378e00d14e968e514b1bc2ca346c5b166404
947
cpp
C++
game/server/entities/items/CItemLongJump.cpp
xalalau/HLEnhanced
f108222ab7d303c9ed5a8e81269f9e949508e78e
[ "Unlicense" ]
83
2016-06-10T20:49:23.000Z
2022-02-13T18:05:11.000Z
game/server/entities/items/CItemLongJump.cpp
xalalau/HLEnhanced
f108222ab7d303c9ed5a8e81269f9e949508e78e
[ "Unlicense" ]
26
2016-06-16T22:27:24.000Z
2019-04-30T19:25:51.000Z
game/server/entities/items/CItemLongJump.cpp
xalalau/HLEnhanced
f108222ab7d303c9ed5a8e81269f9e949508e78e
[ "Unlicense" ]
58
2016-06-10T23:52:33.000Z
2021-12-30T02:30:50.000Z
#include "extdll.h" #include "util.h" #include "cbase.h" #include "CBasePlayer.h" #include "WeaponsConst.h" #include "CItem.h" #include "CItemLongJump.h" LINK_ENTITY_TO_CLASS( item_longjump, CItemLongJump ); void CItemLongJump::Spawn( void ) { Precache(); SetModel( "models/w_longjump.mdl" ); CItem::Spawn(); } v...
20.586957
97
0.702218
xalalau
db82b2491f7f739a5ba5c3a15bd4ee5c8ce123d0
512
cpp
C++
ymp/src/ymp/core/GameWindow.cpp
haukkagu/ymp
2094ae4426931dc44b1a0d43253fa2581253dfd4
[ "MIT" ]
1
2021-02-26T17:34:51.000Z
2021-02-26T17:34:51.000Z
ymp/src/ymp/core/GameWindow.cpp
haukkagu/ymp
2094ae4426931dc44b1a0d43253fa2581253dfd4
[ "MIT" ]
null
null
null
ymp/src/ymp/core/GameWindow.cpp
haukkagu/ymp
2094ae4426931dc44b1a0d43253fa2581253dfd4
[ "MIT" ]
null
null
null
#include "ymp/core/GameWindow.h" #include "ymp/opengl.h" namespace ymp { GameWindow::GameWindow(const char* title, unsigned int width, unsigned int height) { m_Window = nullptr; m_Title = title; m_Width = width; m_Height = height; } GameWindow::~GameWindow() { glfwDestroyWindow(m_Window); } void G...
21.333333
85
0.728516
haukkagu
db82d9ac10545f66127736d82c74c56ba48b8706
26,905
cpp
C++
src/StepReadFromRedis.cpp
Bwar/NebulaMydis
103c736c487671649e50e75e9eaace5df95f1597
[ "Apache-2.0" ]
1
2019-06-17T12:16:05.000Z
2019-06-17T12:16:05.000Z
src/StepReadFromRedis.cpp
Bwar/NebulaMydis
103c736c487671649e50e75e9eaace5df95f1597
[ "Apache-2.0" ]
null
null
null
src/StepReadFromRedis.cpp
Bwar/NebulaMydis
103c736c487671649e50e75e9eaace5df95f1597
[ "Apache-2.0" ]
1
2019-12-03T01:19:58.000Z
2019-12-03T01:19:58.000Z
/******************************************************************************* * Project: NebulaMydis * @file StepReadFromRedis.cpp * @brief * @author Bwar * @date: 2018年3月1日 * @note * Modify history: ******************************************************************************/ #include <google/p...
35.032552
132
0.525293
Bwar
db82df35dc24052ee19476319b059c0a8455b1b6
1,712
cpp
C++
src/tools/LibLoading.cpp
CapRat/APAL
a08f4bc6ee6299e8e370ef99750262ad23c87d58
[ "MIT" ]
2
2020-09-21T12:30:05.000Z
2020-10-14T19:43:51.000Z
src/tools/LibLoading.cpp
CapRat/APAL
a08f4bc6ee6299e8e370ef99750262ad23c87d58
[ "MIT" ]
null
null
null
src/tools/LibLoading.cpp
CapRat/APAL
a08f4bc6ee6299e8e370ef99750262ad23c87d58
[ "MIT" ]
null
null
null
#include "tools/LibLoading.hpp" namespace APAL { std::string GetErrorStr() { const char* errStr = GetError(); return errStr == nullptr ? std::string() : errStr; } } #ifdef _WIN32 #include <windows.h> namespace APAL { char* lastError = nullptr; char* lastErrorReturnCopy = nullptr; library_t LoadLib(const char* libN...
19.235955
73
0.709696
CapRat
db842967130eac807ff42a396771682025765efe
30,630
cpp
C++
_src_/Core/BMD.cpp
daldegam/MuClientTools16
933d218501c188363096a8f9f73720c61b535d06
[ "MIT" ]
16
2021-07-15T04:00:38.000Z
2022-02-27T02:37:23.000Z
_src_/Core/BMD.cpp
daldegam/MuClientTools16
933d218501c188363096a8f9f73720c61b535d06
[ "MIT" ]
6
2021-08-05T05:01:35.000Z
2021-10-22T02:01:33.000Z
_src_/Core/BMD.cpp
daldegam/MuClientTools16
933d218501c188363096a8f9f73720c61b535d06
[ "MIT" ]
16
2021-07-18T02:40:12.000Z
2022-02-09T05:25:07.000Z
#include "BMD.h" //#define _DEBUG_BMD_ #ifdef _DEBUG_BMD_ #define DEBUG_BMD 1 #define PRINT_DEBUG_BMD(msg) std::cout << msg << std::endl #else #define DEBUG_BMD 0 #define PRINT_DEBUG_BMD(msg) #endif vec3_t DUMMY_VEC3{ 0.0f, 0.0f,0.0f }; BoneMatrix_t DUMMY_BONE_MATRIX{ &DUMMY_VEC3 , &DUMMY_VEC3 }; //================...
25.272277
181
0.582305
daldegam
db84794d9131cc2a77c2c8c9a6a61d4ef637befe
6,111
cpp
C++
export/windows/obj/src/openfl/display/Window.cpp
seanbashaw/frozenlight
47c540d30d63e946ea2dc787b4bb602cc9347d21
[ "MIT" ]
null
null
null
export/windows/obj/src/openfl/display/Window.cpp
seanbashaw/frozenlight
47c540d30d63e946ea2dc787b4bb602cc9347d21
[ "MIT" ]
null
null
null
export/windows/obj/src/openfl/display/Window.cpp
seanbashaw/frozenlight
47c540d30d63e946ea2dc787b4bb602cc9347d21
[ "MIT" ]
null
null
null
// Generated by Haxe 3.4.7 #include <hxcpp.h> #ifndef INCLUDED_Reflect #include <Reflect.h> #endif #ifndef INCLUDED_lime_app_Application #include <lime/app/Application.h> #endif #ifndef INCLUDED_lime_app_IModule #include <lime/app/IModule.h> #endif #ifndef INCLUDED_lime_app_Module #include <lime/app/Module.h> #endif #...
35.12069
197
0.720831
seanbashaw
db8672fd9989aada389a8fa7c8563c134b2b2382
809
cpp
C++
TAP 2020.1/maratona-pipocas_2973.cpp
lucianovianna/IP-2019-1
585ab983d87de1bda4cb000581ebbee10214651e
[ "Apache-2.0" ]
1
2019-04-20T01:02:13.000Z
2019-04-20T01:02:13.000Z
TAP 2020.1/maratona-pipocas_2973.cpp
lucianovianna/study_C
585ab983d87de1bda4cb000581ebbee10214651e
[ "Apache-2.0" ]
null
null
null
TAP 2020.1/maratona-pipocas_2973.cpp
lucianovianna/study_C
585ab983d87de1bda4cb000581ebbee10214651e
[ "Apache-2.0" ]
null
null
null
#include <bits/stdc++.h> using namespace std; // https://www.urionlinejudge.com.br/judge/pt/problems/view/2973 long long a[100000]; int main() { ios_base::sync_with_stdio( false ); cin.tie( NULL ); int n, c; long long t, l, r; cin >> n >> c >> t; l = r = 0; for (int i = 0; i < n; ++i...
13.711864
64
0.379481
lucianovianna
db8851780d0b9024971f12eefcb23dcbfcdefa55
4,558
cpp
C++
src/brew/video/Frustum.cpp
grrrrunz/brew
13e17e2f6c9fb0f612c3a0bcabd233085ca15867
[ "MIT" ]
1
2018-02-09T16:20:50.000Z
2018-02-09T16:20:50.000Z
src/brew/video/Frustum.cpp
grrrrunz/brew
13e17e2f6c9fb0f612c3a0bcabd233085ca15867
[ "MIT" ]
null
null
null
src/brew/video/Frustum.cpp
grrrrunz/brew
13e17e2f6c9fb0f612c3a0bcabd233085ca15867
[ "MIT" ]
null
null
null
/** * * |_ _ _ * |_)| (/_VV * * Copyright 2015-2018 Marcus v. Keil * * Created on: 02.01.2015 * */ #include <brew/video/Frustum.h> #include <brew/math/BoundingBox.h> namespace brew { const Vec3 Frustum::clipSpacePlanePoints[8] = { /* near clip plane */ Vec3(-1, -1, -...
36.174603
118
0.595217
grrrrunz
db8c2f3f2d8660b0390cb35d76b2ef800c631788
12,007
cc
C++
paddle/fluid/operators/distributed_ops/gen_nccl_id_op.cc
OuyangChao/Paddle
cac9635a6733ffbbd816b33e21c3054e0cd81ab1
[ "Apache-2.0" ]
10
2021-05-12T07:20:32.000Z
2022-03-04T08:21:56.000Z
paddle/fluid/operators/distributed_ops/gen_nccl_id_op.cc
AFLee/Paddle
311b3b44fc7d51d4d66d90ab8a3fc0d42231afda
[ "Apache-2.0" ]
1
2021-03-14T15:24:46.000Z
2021-03-14T15:24:46.000Z
paddle/fluid/operators/distributed_ops/gen_nccl_id_op.cc
AFLee/Paddle
311b3b44fc7d51d4d66d90ab8a3fc0d42231afda
[ "Apache-2.0" ]
18
2021-05-19T08:01:49.000Z
2022-02-11T03:11:32.000Z
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or...
38.238854
84
0.626968
OuyangChao
db8d4d497e7db2d4dac2087794c56ce6206150e6
3,963
hpp
C++
src/mlpack/core/util/param_data_impl.hpp
17minutes/mlpack
8f4af1ec454a662dd7c990cf2146bfeb1bd0cb3a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2021-09-22T18:12:40.000Z
2021-11-17T10:39:58.000Z
src/mlpack/core/util/param_data_impl.hpp
kosmaz/Mlpack
62100ddca45880a57e7abb0432df72d285e5728b
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
src/mlpack/core/util/param_data_impl.hpp
kosmaz/Mlpack
62100ddca45880a57e7abb0432df72d285e5728b
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
/** * @file param_data_impl.hpp * @author Ryan Curtin * * Implementation of utility functions for ParamData structures. */ #ifndef MLPACK_CORE_UTIL_PARAM_DATA_IMPL_HPP #define MLPACK_CORE_UTIL_PARAM_DATA_IMPL_HPP #include "param_data.hpp" #include <mlpack/core/data/load.hpp> namespace mlpack { namespace util { ...
30.960938
80
0.66591
17minutes
db8de7de063c936aae6fb334e44d2be5f63a20f5
958
hpp
C++
source/backend/opencl/execution/image/MultiInputDWDeconvExecution.hpp
foreverlms/MNN
8f9d3e3331fb54382bb61ac3a2087637a161fec5
[ "Apache-2.0" ]
6,958
2019-05-06T02:38:02.000Z
2022-03-31T18:08:48.000Z
source/backend/opencl/execution/image/MultiInputDWDeconvExecution.hpp
foreverlms/MNN
8f9d3e3331fb54382bb61ac3a2087637a161fec5
[ "Apache-2.0" ]
1,775
2019-05-06T04:40:19.000Z
2022-03-30T15:39:24.000Z
source/backend/opencl/execution/image/MultiInputDWDeconvExecution.hpp
foreverlms/MNN
8f9d3e3331fb54382bb61ac3a2087637a161fec5
[ "Apache-2.0" ]
1,511
2019-05-06T02:38:05.000Z
2022-03-31T16:59:39.000Z
// // MultiInputDWDeconvExecution.hpp // MNN // // Created by MNN on 2019/10/25. // Copyright © 2018, Alibaba Group Holding Limited // #ifndef MultiInputDWDeconvExecution_hpp #define MultiInputDWDeconvExecution_hpp #include "backend/opencl/execution/image/CommonExecution.hpp" #include "backend/opencl/core/OpenCLR...
25.891892
115
0.744259
foreverlms
db8efcd162fd7ffd0c2e91a4b34d7c72bc108246
3,414
cpp
C++
dbms/src/DataStreams/ReplacingSortedBlockInputStream.cpp
jehuty0shift/ClickHouse
d2c4696bc6fa7c674b98c6d16e0f35544875ab2a
[ "Apache-2.0" ]
null
null
null
dbms/src/DataStreams/ReplacingSortedBlockInputStream.cpp
jehuty0shift/ClickHouse
d2c4696bc6fa7c674b98c6d16e0f35544875ab2a
[ "Apache-2.0" ]
null
null
null
dbms/src/DataStreams/ReplacingSortedBlockInputStream.cpp
jehuty0shift/ClickHouse
d2c4696bc6fa7c674b98c6d16e0f35544875ab2a
[ "Apache-2.0" ]
null
null
null
#include <DataStreams/ReplacingSortedBlockInputStream.h> #include <Columns/ColumnsNumber.h> #include <common/logger_useful.h> namespace DB { namespace ErrorCodes { extern const int LOGICAL_ERROR; } void ReplacingSortedBlockInputStream::insertRow(MutableColumns & merged_columns, size_t & merged_rows) { if (...
28.689076
117
0.629467
jehuty0shift
db8f5dba0549f94dca4b9c9841bccc4f465c9d19
569
hpp
C++
concepts/is_lvalue_reference.hpp
SamuelAlonsoDev/lux
268a9fabddb60a06e226d8bad27a5d5d7a29dcb2
[ "MIT" ]
2
2020-11-05T07:39:05.000Z
2021-01-07T18:29:56.000Z
concepts/is_lvalue_reference.hpp
SamuelAlonsoDev/lux
268a9fabddb60a06e226d8bad27a5d5d7a29dcb2
[ "MIT" ]
null
null
null
concepts/is_lvalue_reference.hpp
SamuelAlonsoDev/lux
268a9fabddb60a06e226d8bad27a5d5d7a29dcb2
[ "MIT" ]
null
null
null
#pragma once namespace lux { namespace concepts { template<class T> class is_lvalue_reference_class { public: constexpr static bool value = false; }; template<class T> class is_lvalue_reference_class<T&> { public: constexpr static...
24.73913
92
0.616872
SamuelAlonsoDev
db95071b611349a1d4a852aa31908680c9a6ecb1
1,881
cc
C++
pw_thread_embos/test_threads.cc
curtin-space/pigweed
fe2e1743e03fabd2676f01d9de0ac9d34a426076
[ "Apache-2.0" ]
86
2021-03-09T23:49:40.000Z
2022-03-30T08:14:51.000Z
pw_thread_embos/test_threads.cc
curtin-space/pigweed
fe2e1743e03fabd2676f01d9de0ac9d34a426076
[ "Apache-2.0" ]
4
2021-07-27T20:32:03.000Z
2022-03-08T10:39:07.000Z
pw_thread_embos/test_threads.cc
curtin-space/pigweed
fe2e1743e03fabd2676f01d9de0ac9d34a426076
[ "Apache-2.0" ]
22
2021-03-11T15:15:47.000Z
2022-02-09T06:16:36.000Z
// Copyright 2021 The Pigweed 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 agre...
29.857143
80
0.717172
curtin-space
db97ec8245f1f34cd415fc6a0832bf385d873a5c
1,448
cpp
C++
code/libImmExporter/src/document/layerModel3d.cpp
andybak/IMM
c725dcb28a1638dea726381a7189c3b031967d58
[ "Apache-2.0", "MIT" ]
33
2021-09-16T18:37:08.000Z
2022-03-22T23:02:44.000Z
code/libImmExporter/src/document/layerModel3d.cpp
andybak/IMM
c725dcb28a1638dea726381a7189c3b031967d58
[ "Apache-2.0", "MIT" ]
5
2021-09-17T10:10:07.000Z
2022-03-28T12:33:29.000Z
code/libImmExporter/src/document/layerModel3d.cpp
andybak/IMM
c725dcb28a1638dea726381a7189c3b031967d58
[ "Apache-2.0", "MIT" ]
5
2021-09-19T07:49:01.000Z
2021-12-12T21:25:35.000Z
#include "libImmCore/src/libBasics/piFile.h" #include "layerModel3d.h" using namespace ImmCore; namespace ImmExporter { LayerModel::LayerModel() {} LayerModel::~LayerModel() {} bool LayerModel::Init(uint32_t version) { //mMesh.Init(); mVersion = version; mRenderWireFrame =...
18.564103
74
0.620856
andybak
db9b144440364955e5598117ff67a78d51ad0e8d
3,060
cpp
C++
CPP/BoxIt.cpp
chicio/Hackerrank
5d2a828492d2096fbc5d4f54c6c0bbb9612ed752
[ "MIT" ]
6
2017-04-11T15:31:40.000Z
2018-07-12T09:29:30.000Z
CPP/BoxIt.cpp
chicio/Hackerrank
5d2a828492d2096fbc5d4f54c6c0bbb9612ed752
[ "MIT" ]
null
null
null
CPP/BoxIt.cpp
chicio/Hackerrank
5d2a828492d2096fbc5d4f54c6c0bbb9612ed752
[ "MIT" ]
1
2018-07-10T11:45:08.000Z
2018-07-10T11:45:08.000Z
// // BoxIt.cpp // HackerRank // // Created by Fabrizio Duroni on 19/08/16. // // https://www.hackerrank.com/challenges/box-it #include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> using namespace std; int BoxesCreated,BoxesDestroyed; class Box { long long l; ...
17
97
0.380392
chicio
db9bb243976612cdc0e7a3b4228d540e6a47366f
5,211
cpp
C++
instdrv/instdrvDlg.cpp
berkut126/Drivers
a615e874a222d89020818edca5693907cc9b3b20
[ "BSD-2-Clause" ]
9
2020-12-27T16:55:47.000Z
2020-12-28T17:11:12.000Z
instdrv/instdrvDlg.cpp
berkut126/Drivers
a615e874a222d89020818edca5693907cc9b3b20
[ "BSD-2-Clause" ]
1
2020-11-01T15:59:48.000Z
2020-11-01T15:59:48.000Z
instdrv/instdrvDlg.cpp
berkut126/Drivers
a615e874a222d89020818edca5693907cc9b3b20
[ "BSD-2-Clause" ]
1
2021-06-01T23:20:17.000Z
2021-06-01T23:20:17.000Z
/* * This is a personal academic project. Dear PVS-Studio, please check it. * PVS-Studio Static Code Analyzer for C, C++, C#, and Java: http://www.viva64.com */ // instdrvDlg.cpp : implementation file // // ReSharper disable CppMemberFunctionMayBeConst // ReSharper disable CppMemberFunctionMayBeStatic #include "pch.h...
21.622407
86
0.734984
berkut126
db9bf2fcd966d603e4983b8dbef78ad528e73407
18,840
cpp
C++
DKPlugins/DKVncServer/DKVncServer.cpp
aquawicket/DigitalKnob
9e5997a1f0314ede80cf66a9bf28dc6373cb5987
[ "MIT" ]
29
2015-05-03T06:23:22.000Z
2022-02-10T15:16:26.000Z
DKPlugins/DKVncServer/DKVncServer.cpp
aquawicket/DigitalKnob
9e5997a1f0314ede80cf66a9bf28dc6373cb5987
[ "MIT" ]
125
2016-02-28T06:13:49.000Z
2022-01-04T11:50:08.000Z
DKPlugins/DKVncServer/DKVncServer.cpp
aquawicket/DigitalKnob
9e5997a1f0314ede80cf66a9bf28dc6373cb5987
[ "MIT" ]
8
2016-12-04T02:29:34.000Z
2022-01-04T01:11:25.000Z
#include "DK/stdafx.h" #include "DK/DKFile.h" #include "DKVncServer.h" #ifdef WIN32 #define sleep Sleep #include <WS2tcpip.h> #endif #ifdef LINUX #include <unistd.h> #include <X11/Xlib.h> #include <X11/Xutil.h> Display* DKVncServer::disp; Window DKVncServer::root; XImage* DKVncServer::image; #endif #ifdef MAC CGImag...
31.140496
127
0.592144
aquawicket
db9c4f2fce4a0a1d924eba6503e048de6a913d5e
275
cpp
C++
code/NodeOperationOR.cpp
Zer0-R/DoubleAntiAnalysis
39658230b18b2cb8c116230466a5d0a17eb5f5a2
[ "Apache-2.0" ]
1
2020-02-19T18:11:28.000Z
2020-02-19T18:11:28.000Z
code/NodeOperationOR.cpp
Zer0-R/DoubleAntiAnalysis
39658230b18b2cb8c116230466a5d0a17eb5f5a2
[ "Apache-2.0" ]
null
null
null
code/NodeOperationOR.cpp
Zer0-R/DoubleAntiAnalysis
39658230b18b2cb8c116230466a5d0a17eb5f5a2
[ "Apache-2.0" ]
null
null
null
#include "pch.h" #include "NodeOperationOR.h" NodeOperationOR::NodeOperationOR(Node *nodeLeft, Node *nodeRight) : NodeOperation(nodeLeft, nodeRight) {} const bool NodeOperationOR::isActivate() const { return getNodeLeft()->isActivate() || getNodeRight()->isActivate(); }
27.5
105
0.752727
Zer0-R
db9ca9b7134ea0698595fde98c0b937fb7387a85
5,167
cpp
C++
examples/pppbayestree/gpstk/DCBDataReader.cpp
shaolinbit/minisam_lib
e2e904d1b6753976de1dee102f0b53e778c0f880
[ "BSD-3-Clause" ]
104
2019-06-23T14:45:20.000Z
2022-03-20T12:45:29.000Z
examples/pppbayestree/gpstk/DCBDataReader.cpp
shaolinbit/minisam_lib
e2e904d1b6753976de1dee102f0b53e778c0f880
[ "BSD-3-Clause" ]
2
2019-06-28T08:23:23.000Z
2019-07-17T02:37:08.000Z
examples/pppbayestree/gpstk/DCBDataReader.cpp
shaolinbit/minisam_lib
e2e904d1b6753976de1dee102f0b53e778c0f880
[ "BSD-3-Clause" ]
28
2019-06-23T14:45:19.000Z
2022-03-20T12:45:24.000Z
#pragma ident "$Id$" /** * @file DCBDataReader.cpp * Class to read DCB data from CODE. */ //============================================================================ // // This file is part of GPSTk, the GPS Toolkit. // // The GPSTk is free software; you can redistribute it and/or modify // it under the term...
23.81106
78
0.539772
shaolinbit
db9d3c6318c6b6819f30ce6fb2734b1929785051
285
cpp
C++
tests/core/test_em_asm_parameter_pack.cpp
kobe41999/spHw4
423d03cdce8bad47729146c2b17920056f668221
[ "MIT" ]
6
2019-06-29T07:45:50.000Z
2021-07-10T20:19:18.000Z
tests/core/test_em_asm_parameter_pack.cpp
kobe41999/spHw4
423d03cdce8bad47729146c2b17920056f668221
[ "MIT" ]
2
2019-09-29T00:17:39.000Z
2019-11-05T01:47:03.000Z
tests/core/test_em_asm_parameter_pack.cpp
kobe41999/spHw4
423d03cdce8bad47729146c2b17920056f668221
[ "MIT" ]
4
2019-08-12T16:08:47.000Z
2022-01-17T00:08:59.000Z
#include <emscripten.h> template <typename... Args> int call(Args... args) { return(EM_ASM_INT( { Module.print(Array.prototype.join.call(arguments, ',')); }, args... )); } int main(int argc, char **argv) { call(1); call(1, 2); call(1, 2, 3); return 0; }
15.833333
62
0.568421
kobe41999
dba021780d4f3c05f2edff1364a3c99ff1d0ffab
2,808
cpp
C++
dali/internal/vector-animation/common/vector-animation-renderer-impl.cpp
dalihub/dali-adaptor
b7943ae5aeb7ddd069be7496a1c1cee186b740c5
[ "Apache-2.0", "BSD-3-Clause" ]
6
2016-11-18T10:26:46.000Z
2021-11-01T12:29:05.000Z
dali/internal/vector-animation/common/vector-animation-renderer-impl.cpp
dalihub/dali-adaptor
b7943ae5aeb7ddd069be7496a1c1cee186b740c5
[ "Apache-2.0", "BSD-3-Clause" ]
5
2020-07-15T11:30:49.000Z
2020-12-11T19:13:46.000Z
dali/internal/vector-animation/common/vector-animation-renderer-impl.cpp
dalihub/dali-adaptor
b7943ae5aeb7ddd069be7496a1c1cee186b740c5
[ "Apache-2.0", "BSD-3-Clause" ]
7
2019-05-17T07:14:40.000Z
2021-05-24T07:25:26.000Z
/* * Copyright (c) 2021 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...
22.645161
118
0.773504
dalihub
dba32dd60fa6fe61719dd0647a9f45091d6aebc1
1,156
cpp
C++
Code/Framework/AzQtComponents/AzQtComponents/Components/Widgets/ProgressBar.cpp
aaarsene/o3de
37e3b0226958974defd14dd6d808e8557dcd7345
[ "Apache-2.0", "MIT" ]
1
2021-07-20T12:39:24.000Z
2021-07-20T12:39:24.000Z
Code/Framework/AzQtComponents/AzQtComponents/Components/Widgets/ProgressBar.cpp
aaarsene/o3de
37e3b0226958974defd14dd6d808e8557dcd7345
[ "Apache-2.0", "MIT" ]
null
null
null
Code/Framework/AzQtComponents/AzQtComponents/Components/Widgets/ProgressBar.cpp
aaarsene/o3de
37e3b0226958974defd14dd6d808e8557dcd7345
[ "Apache-2.0", "MIT" ]
1
2021-07-20T11:07:25.000Z
2021-07-20T11:07:25.000Z
/* * Copyright (c) Contributors to the Open 3D Engine Project. For complete copyright and license terms please see the LICENSE at the root of this distribution. * * SPDX-License-Identifier: Apache-2.0 OR MIT * */ #include <AzQtComponents/Components/Widgets/ProgressBar.h> #include <AzQtComponents/Components/Style...
24.083333
187
0.74481
aaarsene
dba6301d9e93a5403341389348520d994cfd5a2e
11,110
cpp
C++
src/HTTP_Config/Value.cpp
maxdesalle/webserv
603e79e04a27112bf16cbbc9cd809059ac407f07
[ "Unlicense" ]
null
null
null
src/HTTP_Config/Value.cpp
maxdesalle/webserv
603e79e04a27112bf16cbbc9cd809059ac407f07
[ "Unlicense" ]
null
null
null
src/HTTP_Config/Value.cpp
maxdesalle/webserv
603e79e04a27112bf16cbbc9cd809059ac407f07
[ "Unlicense" ]
null
null
null
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* Value.cpp :+: :+: :+: ...
31.384181
109
0.607201
maxdesalle
dba8924e50bc9971114867553c0afe8d0663484b
131
cpp
C++
test/llvm_test_code/TaintConfig/AttrConfig/data_member_01.cpp
janniclas/phasar
324302ae96795e6f0a065c14d4f7756b1addc2a4
[ "MIT" ]
581
2018-06-10T10:37:55.000Z
2022-03-30T14:56:53.000Z
test/llvm_test_code/TaintConfig/AttrConfig/data_member_01.cpp
meret-boe/phasar
2b394d5611b107e4fd3d8eec37f26abca8ef1e9a
[ "MIT" ]
172
2018-06-13T12:33:26.000Z
2022-03-26T07:21:41.000Z
test/llvm_test_code/TaintConfig/AttrConfig/data_member_01.cpp
meret-boe/phasar
2b394d5611b107e4fd3d8eec37f26abca8ef1e9a
[ "MIT" ]
137
2018-06-10T10:31:14.000Z
2022-03-06T11:53:56.000Z
struct X { [[clang::annotate("psr.source")]] int A = 13; int B = 0; }; int main() { X V; V.B = 42; return V.A + V.B; }
10.916667
47
0.480916
janniclas
dba8a34b11bdccec43a9d3abff21f1c516e1e9a2
1,935
hxx
C++
main/sw/source/filter/inc/wrt_fn.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/sw/source/filter/inc/wrt_fn.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/sw/source/filter/inc/wrt_fn.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.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 y...
30.714286
83
0.708527
Grosskopf
dbadfa19c3c4712e700ae71ea4836266d18bf2e8
1,943
cpp
C++
grasp_generation/graspitmodified_lm/Coin-3.1.3/src/draggers/all-draggers-cpp.cpp
KraftOreo/EBM_Hand
9ab1722c196b7eb99b4c3ecc85cef6e8b1887053
[ "MIT" ]
null
null
null
grasp_generation/graspitmodified_lm/Coin-3.1.3/src/draggers/all-draggers-cpp.cpp
KraftOreo/EBM_Hand
9ab1722c196b7eb99b4c3ecc85cef6e8b1887053
[ "MIT" ]
null
null
null
grasp_generation/graspitmodified_lm/Coin-3.1.3/src/draggers/all-draggers-cpp.cpp
KraftOreo/EBM_Hand
9ab1722c196b7eb99b4c3ecc85cef6e8b1887053
[ "MIT" ]
null
null
null
/**************************************************************************\ * * This file is part of the Coin 3D visualization library. * Copyright (C) by Kongsberg Oil & Gas Technologies. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public ...
35.981481
76
0.712815
KraftOreo
dbae64c24dd3ae2d9b9678e4bb49d12d92462813
8,107
hpp
C++
include/HighLevel.hpp
arqueffe/cmapf-solver
30f38f72ae278bdc6ca5cc6efc8cd53dbf13f119
[ "MIT" ]
null
null
null
include/HighLevel.hpp
arqueffe/cmapf-solver
30f38f72ae278bdc6ca5cc6efc8cd53dbf13f119
[ "MIT" ]
1
2021-07-29T15:13:42.000Z
2021-07-29T15:13:42.000Z
include/HighLevel.hpp
arqueffe/cmapf-solver
30f38f72ae278bdc6ca5cc6efc8cd53dbf13f119
[ "MIT" ]
null
null
null
/* Copyright (c) 2021 Arthur Queffelec * * 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, ...
36.518018
116
0.648082
arqueffe
dbaf81953ece8d1114758d94b827feb13b32294a
490
hpp
C++
Autocoders/Python/test/partition/PartitionImpl.hpp
SSteve/fprime
12c478bd79c2c4ba2d9f9e634e47f8b6557c54a8
[ "Apache-2.0" ]
5
2019-10-22T03:41:02.000Z
2022-01-16T12:48:31.000Z
Autocoders/Python/test/partition/PartitionImpl.hpp
SSteve/fprime
12c478bd79c2c4ba2d9f9e634e47f8b6557c54a8
[ "Apache-2.0" ]
42
2021-06-10T23:31:10.000Z
2021-06-25T00:35:31.000Z
Autocoders/Python/test/partition/PartitionImpl.hpp
SSteve/fprime
12c478bd79c2c4ba2d9f9e634e47f8b6557c54a8
[ "Apache-2.0" ]
5
2019-09-06T23:25:26.000Z
2021-06-22T03:01:07.000Z
#ifndef PARTITION_PARTITION_IMPL_HPP #define PARTITION_PARTITION_IMPL_HPP #include <Autocoders/Python/test/partition/PartitionPartitionComponentAc.hpp> namespace Partition { class PartitionImpl : public PartitionBase { public: PartitionImpl(const char* compName); ~PartitionImpl(void); private: // downcall...
22.272727
77
0.8
SSteve
dbafb519b4e1fc323a1bf99e846009a19f00962f
4,683
cpp
C++
RemoteEye/GoalkeeperAnalysis/src/VideoFilePollingThread.cpp
dmikushin/RemoteEye
f467594e8d0246d7cc87bf843da1d09e105fcca7
[ "MIT" ]
9
2020-05-10T15:40:10.000Z
2022-01-26T19:58:55.000Z
RemoteEye/GoalkeeperAnalysis/src/VideoFilePollingThread.cpp
dmikushin/RemoteEye
f467594e8d0246d7cc87bf843da1d09e105fcca7
[ "MIT" ]
5
2020-08-08T22:22:51.000Z
2021-01-18T12:18:37.000Z
RemoteEye/GoalkeeperAnalysis/src/VideoFilePollingThread.cpp
dmikushin/RemoteEye
f467594e8d0246d7cc87bf843da1d09e105fcca7
[ "MIT" ]
2
2020-08-08T09:31:59.000Z
2020-12-14T05:49:33.000Z
#include "VideoFilePollingThread.h" #include <chrono> #include <opencv2/videoio.hpp> #ifdef _MSC_VER #pragma warning(push, 0) #endif #include <QDebug> #ifdef _MSC_VER #pragma warning(pop) #endif #include <boost/thread/thread.hpp> #include <opencv2/videoio/videoio_c.h> VideoFilePollingThread::VideoFilePollingThrea...
24.390625
132
0.727739
dmikushin
dbb85d23cdca3a99999c677b6da3376aa45ee59e
4,879
cpp
C++
dev/Gems/CloudGemFramework/v1/Code/Source/HttpClientComponent.cpp
santosh90n/lumberyard-1
9608bcf905bb60e9f326bd3fe8297381c22d83a6
[ "AML" ]
1
2019-02-12T06:44:50.000Z
2019-02-12T06:44:50.000Z
dev/Gems/CloudGemFramework/v1/Code/Source/HttpClientComponent.cpp
santosh90n/lumberyard-1
9608bcf905bb60e9f326bd3fe8297381c22d83a6
[ "AML" ]
null
null
null
dev/Gems/CloudGemFramework/v1/Code/Source/HttpClientComponent.cpp
santosh90n/lumberyard-1
9608bcf905bb60e9f326bd3fe8297381c22d83a6
[ "AML" ]
null
null
null
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or t...
40.322314
156
0.680467
santosh90n
dbb8d64755dfb1e0b507cc6257c92bc170bdec80
3,334
cc
C++
src/mmutil_velocity.cc
causalpathlab/mmutilR
292a70f89336c7563b2fa9f1f62e59d219739e24
[ "MIT" ]
1
2021-07-23T07:49:10.000Z
2021-07-23T07:49:10.000Z
src/mmutil_velocity.cc
YPARK/mmutilR
ede9948fe9a0124b9f417d010b7a376dff64ebb9
[ "MIT" ]
2
2022-01-18T22:07:44.000Z
2022-03-10T16:58:34.000Z
src/mmutil_velocity.cc
YPARK/mmutilR
ede9948fe9a0124b9f417d010b7a376dff64ebb9
[ "MIT" ]
null
null
null
#include "mmutil_velocity.hh" namespace mmutil { namespace velocity { //////////////////////////////////////// // implementation for the data loader // //////////////////////////////////////// int data_loader_t::read(const Index j) { using namespace mmutil::bgzf; target_col = j; spliced_reader.data.set...
24.880597
79
0.568386
causalpathlab
dbbaf6a7efe85bd61fdaa9c52303344ed15fb96e
19,753
cpp
C++
maya/AbcExport/MayaMeshWriter.cpp
nebkor/ardent-embic
4eab1c4f089438bd26636f4be3be3efa83bc8338
[ "MIT" ]
null
null
null
maya/AbcExport/MayaMeshWriter.cpp
nebkor/ardent-embic
4eab1c4f089438bd26636f4be3be3efa83bc8338
[ "MIT" ]
null
null
null
maya/AbcExport/MayaMeshWriter.cpp
nebkor/ardent-embic
4eab1c4f089438bd26636f4be3be3efa83bc8338
[ "MIT" ]
null
null
null
//-***************************************************************************** // // Copyright (c) 2009-2011, // Sony Pictures Imageworks Inc. and // Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. // // All rights reserved. // // Redistribution and use in source and binary forms, with ...
30.67236
80
0.58948
nebkor
dbbbbb8ff47810387129230e328d98f847ad6952
13,461
cpp
C++
src/qt/qtbase/src/corelib/itemmodels/qabstractproxymodel.cpp
power-electro/phantomjs-Gohstdriver-DIY-openshift
a571d301a9658a4c1b524d07e15658b45f8a0579
[ "BSD-3-Clause" ]
null
null
null
src/qt/qtbase/src/corelib/itemmodels/qabstractproxymodel.cpp
power-electro/phantomjs-Gohstdriver-DIY-openshift
a571d301a9658a4c1b524d07e15658b45f8a0579
[ "BSD-3-Clause" ]
null
null
null
src/qt/qtbase/src/corelib/itemmodels/qabstractproxymodel.cpp
power-electro/phantomjs-Gohstdriver-DIY-openshift
a571d301a9658a4c1b524d07e15658b45f8a0579
[ "BSD-3-Clause" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2015 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the QtGui module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL21$ ** Commercial License Usage ** Licensees holding valid commerc...
28.640426
127
0.703291
power-electro
dbc0b9b121c2a0b81a60533d3090ad64c5c51032
7,798
cxx
C++
Charts/Core/vtkColorTransferControlPointsItem.cxx
jasper-yeh/VtkDotNet
84b56f781cb511694e4380cebfb245bbefe2560b
[ "BSD-3-Clause" ]
3
2020-06-20T23:31:06.000Z
2021-01-11T02:17:16.000Z
Charts/Core/vtkColorTransferControlPointsItem.cxx
jasper-yeh/VtkDotNet
84b56f781cb511694e4380cebfb245bbefe2560b
[ "BSD-3-Clause" ]
1
2020-12-01T23:21:02.000Z
2020-12-02T23:44:43.000Z
Charts/Core/vtkColorTransferControlPointsItem.cxx
jasper-yeh/VtkDotNet
84b56f781cb511694e4380cebfb245bbefe2560b
[ "BSD-3-Clause" ]
5
2015-10-09T04:12:29.000Z
2021-12-15T16:57:11.000Z
/*========================================================================= Program: Visualization Toolkit Module: vtkColorTransferControlPointsItem.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. ...
29.992308
93
0.585407
jasper-yeh
dbc127aa4ee961c4b5bb64757f7f25e592450c90
145
hpp
C++
Block1/BMI/BMI.hpp
andreadelprete/latex-cpp-exercises-simple
6e436b268e503d298e5ee642ed92095b5f6473c4
[ "Unlicense" ]
null
null
null
Block1/BMI/BMI.hpp
andreadelprete/latex-cpp-exercises-simple
6e436b268e503d298e5ee642ed92095b5f6473c4
[ "Unlicense" ]
null
null
null
Block1/BMI/BMI.hpp
andreadelprete/latex-cpp-exercises-simple
6e436b268e503d298e5ee642ed92095b5f6473c4
[ "Unlicense" ]
1
2021-09-02T07:02:52.000Z
2021-09-02T07:02:52.000Z
#ifndef BMI_H #define BMI_H float personPrompt(int personID); float computeBMI(float height, float weight); float classBMI(float BMI); #endif
14.5
45
0.77931
andreadelprete
dbc528c71c7085520c4b3df9cc7fe6bf857ffa0b
16,126
cc
C++
Alignment/TwoBodyDecay/src/TwoBodyDecayDerivatives.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
Alignment/TwoBodyDecay/src/TwoBodyDecayDerivatives.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
Alignment/TwoBodyDecay/src/TwoBodyDecayDerivatives.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
#include "Alignment/TwoBodyDecay/interface/TwoBodyDecayDerivatives.h" #include "Alignment/TwoBodyDecay/interface/TwoBodyDecayModel.h" #include "FWCore/Utilities/interface/Exception.h" #include <algorithm> TwoBodyDecayDerivatives::TwoBodyDecayDerivatives(double mPrimary, double mSecondary) : thePrimaryMass(mPrim...
35.756098
119
0.67047
ckamtsikis
dbc5abf611d7b3c626b26a5c712e6255064dee0a
5,078
cpp
C++
tests/unit/drawRuleTests.cpp
yuqicxy/tangram-es
7c5c879cac79a77fd3691fc98c0447d02b6b73d3
[ "MIT" ]
769
2015-02-26T13:05:53.000Z
2022-03-31T16:34:37.000Z
tests/unit/drawRuleTests.cpp
yuqicxy/tangram-es
7c5c879cac79a77fd3691fc98c0447d02b6b73d3
[ "MIT" ]
1,740
2015-01-05T23:46:33.000Z
2022-03-22T19:23:44.000Z
tests/unit/drawRuleTests.cpp
yuqicxy/tangram-es
7c5c879cac79a77fd3691fc98c0447d02b6b73d3
[ "MIT" ]
254
2015-02-28T08:58:59.000Z
2022-02-27T07:32:35.000Z
#include "catch.hpp" #include "scene/drawRule.h" #include "scene/sceneLayer.h" #include "platform.h" #include <cstdio> #include <algorithm> using namespace Tangram; namespace { #define TAGS "[DrawRule]" void logDrawRule(const DrawRule& drawRule) { for (size_t i = 0; i < StyleParamKeySize; i++) { if (!d...
37.338235
104
0.621898
yuqicxy
3a78aab07f9e22a6e2e8a72a09d2a8f61c165068
633
hpp
C++
oxui/objects/dropdown.hpp
amizu03/oxui
2ffcd7259eff8b783a70c56ca5f348e784fb5a87
[ "MIT" ]
null
null
null
oxui/objects/dropdown.hpp
amizu03/oxui
2ffcd7259eff8b783a70c56ca5f348e784fb5a87
[ "MIT" ]
null
null
null
oxui/objects/dropdown.hpp
amizu03/oxui
2ffcd7259eff8b783a70c56ca5f348e784fb5a87
[ "MIT" ]
null
null
null
#ifndef OXUI_DROPDOWN_HPP #define OXUI_DROPDOWN_HPP #include <memory> #include <vector> #include <functional> #include "object.hpp" #include "../types/types.hpp" namespace oxui { class dropdown : public obj { int hovered_index; public: str label; std::vector< str > items; int value; bool opened; dropd...
17.583333
65
0.658768
amizu03
3a7adc6e7e542cbb7977b1ef7fdd1c40235ca62a
1,073
cpp
C++
source/PyMaterialX/PyMaterialXRender/PyExceptionShaderValidationError.cpp
tgvarik/MaterialX
0f0c1f9934bfa3b2d54516672c0b26ef93f9f94e
[ "BSD-3-Clause" ]
8
2019-05-18T10:56:25.000Z
2022-03-08T21:00:24.000Z
source/PyMaterialX/PyMaterialXRender/PyExceptionShaderValidationError.cpp
tgvarik/MaterialX
0f0c1f9934bfa3b2d54516672c0b26ef93f9f94e
[ "BSD-3-Clause" ]
null
null
null
source/PyMaterialX/PyMaterialXRender/PyExceptionShaderValidationError.cpp
tgvarik/MaterialX
0f0c1f9934bfa3b2d54516672c0b26ef93f9f94e
[ "BSD-3-Clause" ]
1
2020-02-24T02:16:19.000Z
2020-02-24T02:16:19.000Z
// // TM & (c) 2019 Lucasfilm Entertainment Company Ltd. and Lucasfilm Ltd. // All rights reserved. See LICENSE.txt for license. // #include <PyMaterialX/PyMaterialX.h> #include <MaterialXRender/ExceptionShaderValidationError.h> namespace py = pybind11; namespace mx = MaterialX; void bindPyExceptionShaderValidatio...
29
133
0.588071
tgvarik
3a8163305259a3672d2bd6cad67486d664b5ce37
96
cpp
C++
problem_solving/UVA/12478/16891780_AC_0ms_0kB.cpp
cosmicray001/academic
6aa142baeba4bb1ad73b8669e37305ca0b5102a7
[ "MIT" ]
2
2020-09-02T12:07:47.000Z
2020-11-17T11:17:16.000Z
problem_solving/UVA/12478/16891780_AC_0ms_0kB.cpp
cosmicray001/academic
6aa142baeba4bb1ad73b8669e37305ca0b5102a7
[ "MIT" ]
null
null
null
problem_solving/UVA/12478/16891780_AC_0ms_0kB.cpp
cosmicray001/academic
6aa142baeba4bb1ad73b8669e37305ca0b5102a7
[ "MIT" ]
4
2020-08-11T14:23:34.000Z
2020-11-17T10:52:31.000Z
#include <bits/stdc++.h> using namespace std; int main(){ printf("KABIR\n"); return 0; }
16
24
0.614583
cosmicray001
3a854ddda39a02b99c0fb9648640b041445a57da
525
hpp
C++
src/Graphics/PathDrawable.hpp
scemino/engge
3362ad56b67f58bdc89f7eb1a77f0f75bd350e1f
[ "MIT" ]
127
2018-12-09T18:40:02.000Z
2022-03-06T00:10:07.000Z
src/Graphics/PathDrawable.hpp
scemino/engge
3362ad56b67f58bdc89f7eb1a77f0f75bd350e1f
[ "MIT" ]
267
2019-02-26T22:16:48.000Z
2022-02-09T09:49:22.000Z
src/Graphics/PathDrawable.hpp
scemino/engge
3362ad56b67f58bdc89f7eb1a77f0f75bd350e1f
[ "MIT" ]
17
2019-02-26T20:45:34.000Z
2021-06-17T15:06:26.000Z
#pragma once #include <vector> #include <memory> #include <glm/vec2.hpp> #include <ngf/Graphics/Drawable.h> #include <ngf/Graphics/RenderTarget.h> #include <ngf/Graphics/RenderStates.h> namespace ng { class PathDrawable final : public ngf::Drawable { public: explicit PathDrawable(std::vector<glm::vec2> path); [[n...
25
80
0.731429
scemino
3a85dfa7cbb610f785b2c268ed01962063c6f013
963
cpp
C++
Medusa/Medusa/Node/Template/SpriteTemplate.cpp
tony2u/Medusa
d4ac8181a693bc796681880e09aac3fdba9aaaaf
[ "MIT" ]
143
2015-11-18T01:06:03.000Z
2022-03-30T03:08:54.000Z
Medusa/Medusa/Node/Template/SpriteTemplate.cpp
tony2u/Medusa
d4ac8181a693bc796681880e09aac3fdba9aaaaf
[ "MIT" ]
1
2019-10-23T13:00:40.000Z
2019-10-23T13:00:40.000Z
Medusa/Medusa/Node/Template/SpriteTemplate.cpp
tony2u/Medusa
d4ac8181a693bc796681880e09aac3fdba9aaaaf
[ "MIT" ]
45
2015-11-18T01:17:59.000Z
2022-03-05T12:29:45.000Z
// Copyright (c) 2015 fjz13. All rights reserved. // Use of this source code is governed by a MIT-style // license that can be found in the LICENSE file. #include "MedusaPreCompiled.h" #include "SpriteTemplate.h" #include "Node/INode.h" #include "Node/NodeFactory.h" #include "Node/Sprite/Sprite.h" #include "Rendering/R...
22.395349
128
0.731049
tony2u