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
fa492905fb125ca0c75a842e3ef0c326fc54635d
395
cpp
C++
taint/src/riscv/targetcontext.cpp
ClasSun9/riscv-dynamic-taint-analysis
8a96f5ea8d07580315253dc074f60955fc633da9
[ "MIT" ]
null
null
null
taint/src/riscv/targetcontext.cpp
ClasSun9/riscv-dynamic-taint-analysis
8a96f5ea8d07580315253dc074f60955fc633da9
[ "MIT" ]
null
null
null
taint/src/riscv/targetcontext.cpp
ClasSun9/riscv-dynamic-taint-analysis
8a96f5ea8d07580315253dc074f60955fc633da9
[ "MIT" ]
null
null
null
#include "./targetcontext.hpp" namespace riscv { addr_t targetcontext::pc() { return _pc; } const instruction& targetcontext::insn() { return _insn; } const registerset& targetcontext::regs() { return _regs; } targetcontext::targetcontext() { } targetcontext::targetcontext(addr_t pc, instruction insn, ...
17.173913
76
0.678481
ClasSun9
fa4ad8c3c50f540ea9be50d2aababf37cee4df09
1,216
cpp
C++
Sources/AGEngine/Utils/RWLock.cpp
Another-Game-Engine/AGE
d5d9e98235198fe580a43007914f515437635830
[ "MIT" ]
47
2015-03-29T09:44:25.000Z
2020-11-30T10:05:56.000Z
Sources/AGEngine/Utils/RWLock.cpp
Another-Game-Engine/AGE
d5d9e98235198fe580a43007914f515437635830
[ "MIT" ]
313
2015-01-01T18:16:30.000Z
2015-11-30T07:54:07.000Z
Sources/AGEngine/Utils/RWLock.cpp
Another-Game-Engine/AGE
d5d9e98235198fe580a43007914f515437635830
[ "MIT" ]
9
2015-06-07T13:21:54.000Z
2020-08-25T09:50:07.000Z
#include "RWLock.hpp" #include "Debug.hpp" #include <thread> namespace AGE { RWLock::RWLock() { _sharedLock.store(0, std::memory_order_relaxed); _uniqueLock.store(false, std::memory_order_relaxed); } void RWLock::ReadLock() { while (_uniqueLock.exchange(true, std::memory_order_relaxed)) { std::this_t...
16
63
0.67352
Another-Game-Engine
fa4b496856d8b1dd0603e81b68db90914b6b423d
6,969
cpp
C++
model/mosesdecoder/moses/FF/GlobalLexicalModel.cpp
saeedesm/UNMT_AH
cc171bf66933b5c0ad8a0ab87e57f7364312a7df
[ "Apache-2.0" ]
3
2020-02-28T21:42:44.000Z
2021-03-12T13:56:16.000Z
tools/mosesdecoder-master/moses/FF/GlobalLexicalModel.cpp
Pangeamt/nectm
6b84f048698f2530b9fdbb30695f2e2217c3fbfe
[ "Apache-2.0" ]
2
2020-11-06T14:40:10.000Z
2020-12-29T19:03:11.000Z
tools/mosesdecoder-master/moses/FF/GlobalLexicalModel.cpp
Pangeamt/nectm
6b84f048698f2530b9fdbb30695f2e2217c3fbfe
[ "Apache-2.0" ]
2
2019-11-26T05:27:16.000Z
2019-12-17T01:53:43.000Z
#include <fstream> #include "GlobalLexicalModel.h" #include "moses/StaticData.h" #include "moses/InputFileStream.h" #include "moses/TranslationOption.h" #include "moses/TranslationTask.h" #include "moses/FactorCollection.h" #include "util/exception.hh" using namespace std; namespace Moses { GlobalLexicalModel::Global...
34.845
135
0.671402
saeedesm
fa51378664eecd4a1bb9ef10d04f177fb4fe41a2
2,335
cpp
C++
cmfe/compute_sdk/examples/sample/kernel.cpp
dmitryryintel/cm-compiler
1ef7651dc1c33d3e4853f8779d6a720e45e20e19
[ "Intel", "MIT" ]
115
2018-02-01T18:56:44.000Z
2022-03-21T13:23:00.000Z
cmfe/compute_sdk/examples/sample/kernel.cpp
dmitryryintel/cm-compiler
1ef7651dc1c33d3e4853f8779d6a720e45e20e19
[ "Intel", "MIT" ]
27
2018-09-17T17:49:49.000Z
2021-11-03T04:31:51.000Z
cmfe/compute_sdk/examples/sample/kernel.cpp
dmitryryintel/cm-compiler
1ef7651dc1c33d3e4853f8779d6a720e45e20e19
[ "Intel", "MIT" ]
55
2018-02-01T07:11:49.000Z
2022-03-04T01:20:23.000Z
/*===================== begin_copyright_notice ================================== Copyright (c) 2021, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, i...
34.850746
125
0.71606
dmitryryintel
fa54286fcc62fa3538bbf968e29a5b4093dfce47
8,310
cpp
C++
examples/fast_fourier_transform/test.cpp
drichmond/HOPS
9684c0c9ebe5511fe0c202219a0bcd51fbf61079
[ "BSD-3-Clause" ]
10
2018-10-03T09:19:48.000Z
2021-09-15T14:46:32.000Z
examples/fast_fourier_transform/test.cpp
drichmond/HOPS
9684c0c9ebe5511fe0c202219a0bcd51fbf61079
[ "BSD-3-Clause" ]
1
2019-09-24T17:38:25.000Z
2019-09-24T17:38:25.000Z
examples/fast_fourier_transform/test.cpp
drichmond/HOPS
9684c0c9ebe5511fe0c202219a0bcd51fbf61079
[ "BSD-3-Clause" ]
null
null
null
// ---------------------------------------------------------------------- // Copyright (c) 2018, The Regents of the University of California All // rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: ...
30.43956
162
0.633213
drichmond
fa594fe597bfb13624c70b7b714310278eecc85b
776
hpp
C++
android-28/javax/security/auth/SubjectDomainCombiner.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-31/javax/security/auth/SubjectDomainCombiner.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-29/javax/security/auth/SubjectDomainCombiner.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#pragma once #include "../../../JObject.hpp" class JArray; class JArray; class JString; namespace java::security { class ProtectionDomain; } namespace javax::security::auth { class Subject; } namespace javax::security::auth { class SubjectDomainCombiner : public JObject { public: // Fields // QJniObject ...
20.972973
162
0.716495
YJBeetle
fa5f68bd119be7aae46a424a7fce80d94573cbae
551
cpp
C++
Sources/Pipeline/RenderPass.cpp
IvanPleshkov/RedLiliumEngine
5e7c14d9c750db8054bde53b772e30e3682c2f1d
[ "Apache-2.0" ]
null
null
null
Sources/Pipeline/RenderPass.cpp
IvanPleshkov/RedLiliumEngine
5e7c14d9c750db8054bde53b772e30e3682c2f1d
[ "Apache-2.0" ]
1
2019-02-09T09:53:01.000Z
2019-02-09T09:53:01.000Z
Sources/Pipeline/RenderPass.cpp
IvanPleshkov/RedLiliumEngine
5e7c14d9c750db8054bde53b772e30e3682c2f1d
[ "Apache-2.0" ]
null
null
null
#include "pch.h" #include "RenderPass.h" #include "RenderPipeline.h" using namespace RED_LILIUM_NAMESPACE; RenderPass::RenderPass(ptr<RenderPipeline> pipeline) : RedLiliumObject() , m_pipeline(pipeline) {} ptr<RenderDevice> RenderPass::GetRenderDevice() { return m_pipeline->m_renderDevice; } const std::vector<pt...
21.192308
86
0.787659
IvanPleshkov
fa60e041eac01f3fb44db8322fce99f975a32b55
926
cpp
C++
OOP - Laborator 9/Problema 1/Problema 1/main.cpp
alexrobert02/oop-2022
277655132fb8618b1ce1bd4bb53edc147a53028b
[ "MIT" ]
null
null
null
OOP - Laborator 9/Problema 1/Problema 1/main.cpp
alexrobert02/oop-2022
277655132fb8618b1ce1bd4bb53edc147a53028b
[ "MIT" ]
null
null
null
OOP - Laborator 9/Problema 1/Problema 1/main.cpp
alexrobert02/oop-2022
277655132fb8618b1ce1bd4bb53edc147a53028b
[ "MIT" ]
null
null
null
#include <string> #include <iostream> #include <vector> #include <map> #include "map.h" int main() { Map<int, const char*> m; m[10] = "C++"; m[20] = "test"; m[30] = "Poo"; for (auto [key, value, index] : m) { printf("Index:%d, Key=%d, Value=%s\n", index, key, value); } m[20] = "r...
19.702128
66
0.5
alexrobert02
fa61a1793e2b57b94e64326851a048b2a43f300f
1,172
hpp
C++
source/NanairoCore/Data/intersection_test_result.hpp
byzin/Nanairo
23fb6deeec73509c538a9c21009e12be63e8d0e4
[ "MIT" ]
30
2015-09-06T03:14:29.000Z
2021-06-18T11:00:19.000Z
source/NanairoCore/Data/intersection_test_result.hpp
byzin/Nanairo
23fb6deeec73509c538a9c21009e12be63e8d0e4
[ "MIT" ]
31
2016-01-14T14:50:34.000Z
2018-06-25T13:21:48.000Z
source/NanairoCore/Data/intersection_test_result.hpp
byzin/Nanairo
23fb6deeec73509c538a9c21009e12be63e8d0e4
[ "MIT" ]
6
2017-04-09T13:07:47.000Z
2021-05-29T21:17:34.000Z
/*! \file intersection_test_result.hpp \author Sho Ikeda Copyright (c) 2015-2018 Sho Ikeda This software is released under the MIT License. http://opensource.org/licenses/mit-license.php */ #ifndef NANAIRO_INTERSECTION_TEST_RESULT_HPP #define NANAIRO_INTERSECTION_TEST_RESULT_HPP // Nanairo #include "Nana...
21.309091
52
0.756826
byzin
fa63f29fe52e415cd068788f3ad21da08e907982
17,604
cpp
C++
src/GenCVisitor.cpp
jkolek/cparser
13a18cdfdd1e3fc4104b7def1dc7d81bdd8a8164
[ "MIT" ]
10
2017-12-16T14:40:30.000Z
2022-02-20T09:09:02.000Z
src/GenCVisitor.cpp
jkolek/cparser
13a18cdfdd1e3fc4104b7def1dc7d81bdd8a8164
[ "MIT" ]
3
2018-04-27T08:16:02.000Z
2018-09-01T16:01:41.000Z
src/GenCVisitor.cpp
jkolek/cparser
13a18cdfdd1e3fc4104b7def1dc7d81bdd8a8164
[ "MIT" ]
2
2019-02-06T14:02:31.000Z
2021-11-02T02:34:21.000Z
// Generate C visitor - implementation file. // Copyright (C) 2017, 2018 Jozef Kolek <jkolek@gmail.com> // // All rights reserved. // // See the LICENSE file for more details. #include "../include/GenCVisitor.h" #include "../include/ASTNode.h" #include "../include/TreeVisitor.h" #include <iostream> #define TAB_SIZE...
21.057416
85
0.526869
jkolek
fa67ae37381bdd4e1b94aa38eae0735dbf1edc5c
1,272
cpp
C++
tests/vertex_pruning_test.cpp
mtao/core
91f9bc6e852417989ed62675e2bb372e6afc7325
[ "MIT" ]
null
null
null
tests/vertex_pruning_test.cpp
mtao/core
91f9bc6e852417989ed62675e2bb372e6afc7325
[ "MIT" ]
4
2020-04-18T16:16:05.000Z
2020-04-18T16:17:36.000Z
tests/vertex_pruning_test.cpp
mtao/core
91f9bc6e852417989ed62675e2bb372e6afc7325
[ "MIT" ]
null
null
null
#include <iostream> #include <mtao/geometry/kdtree.hpp> #include <mtao/geometry/prune_vertices.hpp> #include <algorithm> int main(int argc, char* argv[]) { mtao::vector<mtao::Vector<double,1>> p; p.push_back(mtao::Vector<double,1>(0.)); p.push_back(mtao::Vector<double,1>(.5)); p.push_back(mtao::Vector<...
33.473684
120
0.58805
mtao
fa6acb14331e9c56515c39ac495c021bfdd368d6
661
cpp
C++
queue/circular.cpp
sans712/SDE-Interview-Questions
44f5bda60b9ed301b93a944e1c333d833c9b054b
[ "MIT" ]
null
null
null
queue/circular.cpp
sans712/SDE-Interview-Questions
44f5bda60b9ed301b93a944e1c333d833c9b054b
[ "MIT" ]
null
null
null
queue/circular.cpp
sans712/SDE-Interview-Questions
44f5bda60b9ed301b93a944e1c333d833c9b054b
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; #include<bits/stdc++.h> class queues{ int *arr; int f,r,cs,ms; public: queues(int ds=5){ arr=new int [ds]; cs=0; ms=ds; f=0; r=ms-1; } bool full(){ return cs==ms; } bool empty(){ return cs==0; } void push(int x){ if(!full()){ r=(r+1)%ms; arr[r]=x; ...
11.596491
23
0.497731
sans712
fa6bc6d07b389ee5b05c8ce9109b5bbbb258565e
969
cpp
C++
codes/UVA/10001-19999/uva11014.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/UVA/10001-19999/uva11014.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/UVA/10001-19999/uva11014.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
#include <cstdio> #include <cstring> #include <algorithm> using namespace std; typedef long long ll; const int maxn = 200000; int np, pri[maxn+5], vis[maxn+5]; void priTable (int n) { np = 0; memset(vis, 0, sizeof(vis)); for (int i = 2; i <= n; i++) { if (vis[i]) continue; pri[np++] = i; for (int j = 2*...
14.907692
47
0.4871
JeraKrs
fa6e6425724669d527e75115990d1f7fe9b20ced
73
hpp
C++
benchmarks/benchmark.hpp
stdml/stdnn-ops
0e6132bd65319e318f918094e482482698482e9e
[ "MIT" ]
3
2018-10-23T18:46:39.000Z
2019-06-24T00:46:10.000Z
benchmarks/benchmark.hpp
stdml/stdnn-ops
0e6132bd65319e318f918094e482482698482e9e
[ "MIT" ]
27
2018-11-10T14:19:16.000Z
2020-03-08T23:33:01.000Z
benchmarks/benchmark.hpp
stdml/stdnn-ops
0e6132bd65319e318f918094e482482698482e9e
[ "MIT" ]
1
2018-11-05T06:17:12.000Z
2018-11-05T06:17:12.000Z
#pragma once #include <benchmark/benchmark.h> #include "build_info.hpp"
14.6
32
0.767123
stdml
fa75e9117e534ec6e8c6b5dae4c83b9277ed8ae6
338
cpp
C++
Codeforces Online Judge Solve/68A - Irrational problem.cpp
Remonhasan/programming-solve
5a4ac8c738dd361e1c974162e0eaebbaae72fd80
[ "Apache-2.0" ]
null
null
null
Codeforces Online Judge Solve/68A - Irrational problem.cpp
Remonhasan/programming-solve
5a4ac8c738dd361e1c974162e0eaebbaae72fd80
[ "Apache-2.0" ]
null
null
null
Codeforces Online Judge Solve/68A - Irrational problem.cpp
Remonhasan/programming-solve
5a4ac8c738dd361e1c974162e0eaebbaae72fd80
[ "Apache-2.0" ]
null
null
null
// Remon Hasan #include <iostream> #include <algorithm> using namespace std; int main() { int p[4], a, b; cin >> p[0] >> p[1] >> p[2] >> p[3] >> a >> b; int m = *min_element(p, p + 4); if (a < m) { cout << min(b, m - 1) - a + 1 << endl; } else { cout << 0 << endl; ...
14.695652
50
0.423077
Remonhasan
fa7877aae48974b80d2d09d051de5f5d06ce8bc7
1,761
cpp
C++
src/astro/basic_astro/bodyShapeModel.cpp
kimonito98/tudat
c28f2a3e78b8492e2e054ad5e0d1f9ad785cd092
[ "BSD-3-Clause" ]
null
null
null
src/astro/basic_astro/bodyShapeModel.cpp
kimonito98/tudat
c28f2a3e78b8492e2e054ad5e0d1f9ad785cd092
[ "BSD-3-Clause" ]
null
null
null
src/astro/basic_astro/bodyShapeModel.cpp
kimonito98/tudat
c28f2a3e78b8492e2e054ad5e0d1f9ad785cd092
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2010-2019, Delft University of Technology * All rigths reserved * * This file is part of the Tudat. Redistribution and use in source and * binary forms, with or without modification, are permitted exclusively * under the terms of the Modified BSD license. You should have received *...
39.133333
99
0.720045
kimonito98
fa7a7614a3e05e1605ac92b79eba0e457cd595d8
7,150
cpp
C++
src/mame/drivers/pimps.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
26
2015-03-31T06:25:51.000Z
2021-12-14T09:29:04.000Z
src/mame/drivers/pimps.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
null
null
null
src/mame/drivers/pimps.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
10
2015-03-27T05:45:51.000Z
2022-02-04T06:57:36.000Z
// license:BSD-3-Clause // copyright-holders:Robbbert /*************************************************************************** P.I.M.P.S. (Personal Interactive MicroProcessor System) 2009-12-06 Skeleton driver. No schematics or hardware info available. http://www.classiccmp.org/dunfield/pimps/index.htm Command...
37.239583
170
0.714406
Robbbert
fa7ba8a28c1e8de79e5ff218c649b797b3e8b818
4,748
cpp
C++
src/zenoh_flow_local_planner.cpp
autocore-ai/zenoh_flow_autoware
8b5320fe95cfeb3d0573d7f520a6bab925ff6208
[ "Apache-2.0" ]
1
2022-03-31T08:53:16.000Z
2022-03-31T08:53:16.000Z
src/zenoh_flow_local_planner.cpp
autocore-ai/zenoh_flow_autoware
8b5320fe95cfeb3d0573d7f520a6bab925ff6208
[ "Apache-2.0" ]
2
2022-01-03T20:36:57.000Z
2022-01-19T03:55:51.000Z
src/zenoh_flow_local_planner.cpp
autocore-ai/zenoh_flow_autoware
8b5320fe95cfeb3d0573d7f520a6bab925ff6208
[ "Apache-2.0" ]
null
null
null
// Copyright 2021 The AutoCore.AI. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
48.948454
134
0.639427
autocore-ai
fa7d3d4044a2f033f206ade8d5558b3ed03c9040
2,098
cpp
C++
classnote/Midexam/DB_Conversion.cpp
Alex-Lin5/cpp_practice
c249362d6bbe932dc1eb4a4b8c51728d58db2aa7
[ "MIT" ]
null
null
null
classnote/Midexam/DB_Conversion.cpp
Alex-Lin5/cpp_practice
c249362d6bbe932dc1eb4a4b8c51728d58db2aa7
[ "MIT" ]
null
null
null
classnote/Midexam/DB_Conversion.cpp
Alex-Lin5/cpp_practice
c249362d6bbe932dc1eb4a4b8c51728d58db2aa7
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <list> #include <map> using namespace std; //Implement the following function void DB1_to_DB2(list<vector<list<int>*>* >& DB1, vector<list<list<int*> >*>* pDB2); template <typename T> ostream& operator<<(ostream& str, const vector<T>& V); template <typename T> ostream& ...
25.901235
126
0.577216
Alex-Lin5
fa7dba3908b35bf14a87cfe638101b39a1dd2dce
6,743
cpp
C++
src/make_detect.cpp
cschreib/qdeblend
dceee75f3ff475995dbbb8660a6665ece205494f
[ "MIT" ]
null
null
null
src/make_detect.cpp
cschreib/qdeblend
dceee75f3ff475995dbbb8660a6665ece205494f
[ "MIT" ]
null
null
null
src/make_detect.cpp
cschreib/qdeblend
dceee75f3ff475995dbbb8660a6665ece205494f
[ "MIT" ]
null
null
null
#include <vif.hpp> #include <vif/astro/ds9.hpp> using namespace vif; using namespace vif::astro; int vif_main(int argc, char* argv[]) { vec1s files = {"acs-f435w", "acs-f606w", "acs-f775w", "acs-f814w", "acs-f850lp", "wfc3-f105w", "wfc3-f125w", "wfc3-f140w", "wfc3-f160w"}; files += ".fits"; std::...
30.102679
103
0.547976
cschreib
fa7fdf0d58c70195d34d1ca216b0ca4b0fbdec95
2,033
cpp
C++
Competitive Programming/Bit Manipulation/Divide two integers without using multiplication, division and mod operator.cpp
shreejitverma/GeeksforGeeks
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
2
2022-02-18T05:14:28.000Z
2022-03-08T07:00:08.000Z
Competitive Programming/Bit Manipulation/Divide two integers without using multiplication, division and mod operator.cpp
shivaniverma1/Competitive-Programming-1
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
6
2022-01-13T04:31:04.000Z
2022-03-12T01:06:16.000Z
Competitive Programming/Bit Manipulation/Divide two integers without using multiplication, division and mod operator.cpp
shivaniverma1/Competitive-Programming-1
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
2
2022-02-14T19:53:53.000Z
2022-02-18T05:14:30.000Z
/* https://www.geeksforgeeks.org/divide-two-integers-without-using-multiplication-division-mod-operator/ Divide two integers without using multiplication, division and mod operator Difficulty Level : Medium Last Updated : 03 Sep, 2021 Geek Week Given a two integers say a and b. Find the quotient after dividing a by b ...
26.064103
130
0.632071
shreejitverma
fa82b6e764767ec297ffd9060a087f242751acf1
8,957
cpp
C++
src/XspfDateTime.cpp
ezdev128/libxspf
ba71431e24293510c44d6581e2c05b901a372880
[ "BSD-3-Clause" ]
null
null
null
src/XspfDateTime.cpp
ezdev128/libxspf
ba71431e24293510c44d6581e2c05b901a372880
[ "BSD-3-Clause" ]
null
null
null
src/XspfDateTime.cpp
ezdev128/libxspf
ba71431e24293510c44d6581e2c05b901a372880
[ "BSD-3-Clause" ]
null
null
null
/* * libxspf - XSPF playlist handling library * * Copyright (C) 2006-2008, Sebastian Pipping / Xiph.Org Foundation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * * Redistrib...
21.275534
96
0.620744
ezdev128
fa84c5de496b50b331d7308b8ed59f971edba5be
729
cpp
C++
src/modell/objects/ZRectangle.cpp
hemmerling/cpp-3dogs
0902ea6de8b8f03fa0b8ca7130a04a87ee3e73d7
[ "Apache-2.0" ]
null
null
null
src/modell/objects/ZRectangle.cpp
hemmerling/cpp-3dogs
0902ea6de8b8f03fa0b8ca7130a04a87ee3e73d7
[ "Apache-2.0" ]
null
null
null
src/modell/objects/ZRectangle.cpp
hemmerling/cpp-3dogs
0902ea6de8b8f03fa0b8ca7130a04a87ee3e73d7
[ "Apache-2.0" ]
null
null
null
#include "zrectangle.h" #include "opengl2.h" ZRectangle::ZRectangle(void) { // Basisklassen-Variablen werden vom Basisklassen-Konstruktor initialisiert setLength(1.0); setDefaultLength(1.0); } ZRectangle::~ZRectangle(void){} void ZRectangle::display(OpenGL &aOpenGL){ ZObject::update1(aOpenGL); aO...
18.692308
79
0.717421
hemmerling
fa8625618391b436b5d3793376c4526443b27842
3,821
cpp
C++
scripts/da_shotgun.cpp
mpforums/RenSharp
5b3fb8bff2a1772a82a4148bcf3e1265a11aa097
[ "Apache-2.0" ]
1
2021-10-04T02:34:33.000Z
2021-10-04T02:34:33.000Z
scripts/da_shotgun.cpp
TheUnstoppable/RenSharp
2a123c6018c18f3fc73501737d600e291ac3afa7
[ "Apache-2.0" ]
9
2019-07-03T19:19:59.000Z
2020-03-02T22:00:21.000Z
scripts/da_shotgun.cpp
TheUnstoppable/RenSharp
2a123c6018c18f3fc73501737d600e291ac3afa7
[ "Apache-2.0" ]
2
2019-08-14T08:37:36.000Z
2020-09-29T06:44:26.000Z
/* Renegade Scripts.dll Dragonade Shotgun Wars Game Mode Copyright 2017 Whitedragon, Tiberian Technologies This file is part of the Renegade scripts.dll The Renegade scripts.dll 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...
44.430233
175
0.772311
mpforums
fa880fafc7cf99141dacb7894697df7d7d21d0a1
2,546
cpp
C++
src/cpp/sample/Aggregate.cpp
sjoerdvankreel/xt-audio
960d6ed595c872c01af5c321b38b88a6ea07680a
[ "MIT" ]
49
2017-04-01T00:41:14.000Z
2022-03-23T09:03:28.000Z
src/cpp/sample/Aggregate.cpp
sjoerdvankreel/xt-audio
960d6ed595c872c01af5c321b38b88a6ea07680a
[ "MIT" ]
18
2017-04-29T22:46:35.000Z
2022-02-26T18:33:47.000Z
src/cpp/sample/Aggregate.cpp
sjoerdvankreel/xt-audio
960d6ed595c872c01af5c321b38b88a6ea07680a
[ "MIT" ]
14
2017-05-01T12:33:20.000Z
2021-10-01T07:16:26.000Z
#include <xt/XtAudio.hpp> #include <chrono> #include <thread> #include <cstdint> #include <cstring> #include <iostream> // Normally don't do I/O in the callback. static void OnXRun(Xt::Stream const& stream, int32_t index, void* user) { std::cout << "XRun on device " << index << ".\n"; } static void OnRunning(Xt::S...
39.78125
94
0.706599
sjoerdvankreel
fa89ea2261e78ef1482282bd0f0a714639e05cbd
8,064
cpp
C++
Src/Base/PsuadeSession.cpp
lbianchi-lbl/psuade-lite
09d7ca75aba8a9e31e1fb5c3e134af046fca3460
[ "Apache-2.0" ]
14
2017-10-31T17:52:38.000Z
2022-03-04T05:16:56.000Z
Src/Base/PsuadeSession.cpp
lbianchi-lbl/psuade-lite
09d7ca75aba8a9e31e1fb5c3e134af046fca3460
[ "Apache-2.0" ]
3
2021-03-10T22:10:32.000Z
2022-01-14T04:31:05.000Z
Src/Base/PsuadeSession.cpp
lbianchi-lbl/psuade-lite
09d7ca75aba8a9e31e1fb5c3e134af046fca3460
[ "Apache-2.0" ]
12
2017-12-13T01:08:17.000Z
2020-11-26T22:58:08.000Z
// ************************************************************************ // Copyright (c) 2007 Lawrence Livermore National Security, LLC. // Produced at the Lawrence Livermore National Laboratory. // Written by the PSUADE team. // All rights reserved. // // Please see the COPYRIGHT_and_LICENSE file for the copyrig...
32
78
0.535094
lbianchi-lbl
fa8cab7d2db90b6c1d432127901d174625e5eb3e
362
hh
C++
fields/versionchecker.hh
45G/libsocks6msg
73b778bfe8efb2c311520617debdfbadf10b6d88
[ "MIT" ]
2
2020-08-18T11:20:21.000Z
2022-03-08T23:49:02.000Z
fields/versionchecker.hh
45G/libsocks6msg
73b778bfe8efb2c311520617debdfbadf10b6d88
[ "MIT" ]
null
null
null
fields/versionchecker.hh
45G/libsocks6msg
73b778bfe8efb2c311520617debdfbadf10b6d88
[ "MIT" ]
null
null
null
#ifndef SOCKS6MSG_VERSIONCHECKER_HH #define SOCKS6MSG_VERSIONCHECKER_HH #include "bytebuffer.hh" namespace S6M { template <uint8_t VER> struct VersionChecker { VersionChecker() {} VersionChecker(ByteBuffer *bb) { uint8_t *ver = bb->peek<uint8_t>(); if (*ver != VER) throw BadVersionException(*ver); } }; ...
14.48
37
0.732044
45G
fa90467c310331ed5de2fbe188d6fa0e46e86225
9,392
hh
C++
wersja szablonowa/include/macierz.hh
KPO-2020-2021/zad3-AdamStypczyc
68c9b63d1b9b0176536ae46cc6863127d608433c
[ "Unlicense" ]
null
null
null
wersja szablonowa/include/macierz.hh
KPO-2020-2021/zad3-AdamStypczyc
68c9b63d1b9b0176536ae46cc6863127d608433c
[ "Unlicense" ]
null
null
null
wersja szablonowa/include/macierz.hh
KPO-2020-2021/zad3-AdamStypczyc
68c9b63d1b9b0176536ae46cc6863127d608433c
[ "Unlicense" ]
null
null
null
#ifndef MACIERZ_HH #define MACIERZ_HH #include <iostream> #include <cstdlib> #include <cmath> #include "wektor.hh" template <typename Templ_Typ, unsigned int Templ_Rozmiar> class Macierz { private: Templ_Typ value[Templ_Rozmiar][Templ_Rozmiar]; // Wartosci macierzy double kat_stopnie; double kat_radian; ...
27.144509
118
0.622658
KPO-2020-2021
fa9352f0a3e8c427cda52d7fe8c0521ff69da1b3
2,053
cc
C++
cpp/Codeforces/251-300/300A_Array.cc
phongvcao/CP_Contests_Solutions
2e76e73ee7e53c798f63e1870be47653c75180a9
[ "MIT" ]
null
null
null
cpp/Codeforces/251-300/300A_Array.cc
phongvcao/CP_Contests_Solutions
2e76e73ee7e53c798f63e1870be47653c75180a9
[ "MIT" ]
null
null
null
cpp/Codeforces/251-300/300A_Array.cc
phongvcao/CP_Contests_Solutions
2e76e73ee7e53c798f63e1870be47653c75180a9
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <sstream> #include <vector> #include <unordered_map> #include <stdint.h> #include <cmath> #include <algorithm> using namespace std; typedef int64_t Int; typedef uint64_t UInt; int main(int argc, char **argv) { Int n = 0; // Read the first line string line =...
20.94898
58
0.458354
phongvcao
fa94d6f14af96e2f2446dd9d22660d36b62b6b1f
1,149
cpp
C++
BadRobots/src/Controllers/MenuController/MenuFactory/BRMenuFactory.cpp
demensdeum/Bad-Robots
e43f901ae2ead9a2992202a4bfb0e84e0a98fb97
[ "MIT" ]
null
null
null
BadRobots/src/Controllers/MenuController/MenuFactory/BRMenuFactory.cpp
demensdeum/Bad-Robots
e43f901ae2ead9a2992202a4bfb0e84e0a98fb97
[ "MIT" ]
null
null
null
BadRobots/src/Controllers/MenuController/MenuFactory/BRMenuFactory.cpp
demensdeum/Bad-Robots
e43f901ae2ead9a2992202a4bfb0e84e0a98fb97
[ "MIT" ]
null
null
null
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ /* * File: BRMenuFactory.cpp * Author: demensdeum * * Created on March 23, 2017, 9:10 PM */ #include "BRMenuFactory.h" #inc...
22.98
79
0.655352
demensdeum
fa94f3a3046e6cbd35b7f1ec92771ba7927d1907
913
hpp
C++
Applications/ZilchShadersTests/Helpers.hpp
jodavis42/ZilchShaders
a161323165c54d2824fe184f5d540e0a008b4d59
[ "MIT" ]
1
2019-08-31T00:45:45.000Z
2019-08-31T00:45:45.000Z
Applications/ZilchShadersTests/Helpers.hpp
jodavis42/ZilchShaders
a161323165c54d2824fe184f5d540e0a008b4d59
[ "MIT" ]
5
2020-04-13T00:17:11.000Z
2021-04-20T23:11:42.000Z
Applications/ZilchShadersTests/Helpers.hpp
jodavis42/ZilchShaders
a161323165c54d2824fe184f5d540e0a008b4d59
[ "MIT" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////// /// /// Authors: Joshua Davis /// Copyright 2015, DigiPen Institute of Technology /// /////////////////////////////////////////////////////////////////////////////// #pragma once void LoadSettingsOrDefault(ZilchShaderSpirVSettings& setting...
50.722222
109
0.684556
jodavis42
fa965d14c8328527988ae1edb2011efab9fa57a5
404
hpp
C++
server/world.hpp
irl-game/irl
ba507a93371ab172b705c1ede8cd062123fc96f5
[ "MIT" ]
null
null
null
server/world.hpp
irl-game/irl
ba507a93371ab172b705c1ede8cd062123fc96f5
[ "MIT" ]
null
null
null
server/world.hpp
irl-game/irl
ba507a93371ab172b705c1ede8cd062123fc96f5
[ "MIT" ]
null
null
null
#pragma once #include <memory> #include <unordered_map> #include <unordered_set> class Entity; class Client; class World { public: World(); ~World(); auto tick() noexcept -> void; std::unordered_map<Client *, std::unique_ptr<Client>> clients; private: std::unordered_map<const Entity *, std::unique_ptr<Enti...
20.2
71
0.717822
irl-game
b71232d372e0f2221c02359b6f2eb745778fe0b7
634
cpp
C++
Lista_2/mike_new.cpp
Thulio-Carvalho/Advanced-Algorithms-Problems
724bfb765d056ddab414df7dd640914aa0c665ae
[ "MIT" ]
null
null
null
Lista_2/mike_new.cpp
Thulio-Carvalho/Advanced-Algorithms-Problems
724bfb765d056ddab414df7dd640914aa0c665ae
[ "MIT" ]
null
null
null
Lista_2/mike_new.cpp
Thulio-Carvalho/Advanced-Algorithms-Problems
724bfb765d056ddab414df7dd640914aa0c665ae
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define MAXN 200014 using namespace std; int N, arr[MAXN], l[MAXN], r[MAXN]; stack<int> s; int main(){ cin >> N; for (int i = 0; i < N; i++) { cin >> arr[i]; } fill(l, l + MAXN, -1); fill(r, r + MAXN, N); for (int i = 0; i < N; i++) { while(!s.empty...
17.611111
51
0.388013
Thulio-Carvalho
b71300420aeed2ab23a6a8af5412a20fed020f3c
4,213
cpp
C++
test/lib/Dialect/VectorExt/TestVectorMaskingUtils.cpp
giuseros/iree-llvm-sandbox
d47050d04d299dab799f8a1c6eb7e5d85bda535f
[ "Apache-2.0" ]
null
null
null
test/lib/Dialect/VectorExt/TestVectorMaskingUtils.cpp
giuseros/iree-llvm-sandbox
d47050d04d299dab799f8a1c6eb7e5d85bda535f
[ "Apache-2.0" ]
null
null
null
test/lib/Dialect/VectorExt/TestVectorMaskingUtils.cpp
giuseros/iree-llvm-sandbox
d47050d04d299dab799f8a1c6eb7e5d85bda535f
[ "Apache-2.0" ]
null
null
null
//===- TestMaskingUtils.cpp - Utilities for vector masking ----------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
33.704
80
0.61785
giuseros
b71353bd1158764cddf2d9e45be1599d3d6c7708
12,774
hpp
C++
src/codegen/bytecode.hpp
Zoxc/mirb
14c2fe2d2a026fb3bb62c883e8839e1078ebc3b6
[ "BSD-3-Clause" ]
10
2016-10-06T06:22:20.000Z
2022-02-28T05:33:09.000Z
src/codegen/bytecode.hpp
Zoxc/mirb
14c2fe2d2a026fb3bb62c883e8839e1078ebc3b6
[ "BSD-3-Clause" ]
null
null
null
src/codegen/bytecode.hpp
Zoxc/mirb
14c2fe2d2a026fb3bb62c883e8839e1078ebc3b6
[ "BSD-3-Clause" ]
3
2018-01-08T03:34:34.000Z
2021-09-12T12:12:22.000Z
#pragma once #include "../common.hpp" #include "opcodes.hpp" #include "../tree/nodes.hpp" #include "../tree/tree.hpp" #include <Prelude/JoiningBuffer.hpp> namespace Mirb { namespace Tree { class Scope; }; namespace CodeGen { class ByteCodeGenerator; class VariableGroup { private: size_t addres...
27.95186
232
0.617739
Zoxc
b7176c107b4c4c326de6c7ac47392a995897d323
9,801
hpp
C++
include/mflib/waveformTemplate.hpp
uofuseismo/mflib
14695f62082d28d4cc5603bb6edcaf1efe9dd980
[ "MIT" ]
5
2019-12-06T21:14:17.000Z
2021-09-21T03:36:58.000Z
include/mflib/waveformTemplate.hpp
uofuseismo/mflib
14695f62082d28d4cc5603bb6edcaf1efe9dd980
[ "MIT" ]
5
2019-11-27T19:06:06.000Z
2020-04-24T19:07:44.000Z
include/mflib/waveformTemplate.hpp
uofuseismo/mflib
14695f62082d28d4cc5603bb6edcaf1efe9dd980
[ "MIT" ]
2
2021-09-09T11:15:50.000Z
2021-12-04T00:50:53.000Z
#ifndef MFLIB_WAVEFORMTEMPLATE_HPP #define MFLIB_WAVEFORMTEMPLATE_HPP #include <memory> #include "mflib/enums.hpp" namespace MFLib { class NetworkStationPhase; /*! * @brief Defines a waveform template. * @copyright Ben Baker (University of Utah) distributed under the MIT license. */ class WaveformTemplate { public: ...
35.255396
84
0.605755
uofuseismo
b7195e0b4a7870d5eb1e153904e59c4b42652bbe
2,773
cpp
C++
systems/polyvox/PolyVoxShader.cpp
phisko/kengine
c30f98cc8e79cce6574b5f61088b511f29bbe8eb
[ "MIT" ]
259
2018-11-01T05:12:37.000Z
2022-03-28T11:15:27.000Z
systems/polyvox/PolyVoxShader.cpp
raptoravis/kengine
619151c20e9db86584faf04937bed3d084e3bc21
[ "MIT" ]
2
2018-11-30T13:58:44.000Z
2018-12-17T11:58:42.000Z
systems/polyvox/PolyVoxShader.cpp
raptoravis/kengine
619151c20e9db86584faf04937bed3d084e3bc21
[ "MIT" ]
16
2018-12-01T13:38:18.000Z
2021-12-04T21:31:55.000Z
#include "PolyVoxShader.hpp" #include "EntityManager.hpp" #include "data/TransformComponent.hpp" #include "data/PolyVoxComponent.hpp" #include "data/GraphicsComponent.hpp" #include "data/ModelComponent.hpp" #include "data/OpenGLModelComponent.hpp" #include "systems/opengl/shaders/ApplyTransparencySrc.hpp" #include ...
25.440367
135
0.728814
phisko
b71f730d0ceb1b4f5c53fcc95d266471fccfd42d
1,402
cc
C++
NEST-14.0-FPGA/sli/namedatum.cc
OpenHEC/SNN-simulator-on-PYNQcluster
14f86a76edf4e8763b58f84960876e95d4efc43a
[ "MIT" ]
45
2019-12-09T06:45:53.000Z
2022-01-29T12:16:41.000Z
NEST-14.0-FPGA/sli/namedatum.cc
zlchai/SNN-simulator-on-PYNQcluster
14f86a76edf4e8763b58f84960876e95d4efc43a
[ "MIT" ]
2
2020-05-23T05:34:21.000Z
2021-09-08T02:33:46.000Z
NEST-14.0-FPGA/sli/namedatum.cc
OpenHEC/SNN-simulator-on-PYNQcluster
14f86a76edf4e8763b58f84960876e95d4efc43a
[ "MIT" ]
10
2019-12-09T06:45:59.000Z
2021-03-25T09:32:56.000Z
/* * namedatum.cc * * This file is part of NEST. * * Copyright (C) 2004 The NEST Initiative * * NEST 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 License, or * (at y...
31.155556
72
0.724679
OpenHEC
b7245a4e3e3b4e528c572d69ba7e14ba1b7c4ecf
2,350
cc
C++
chrome/browser/ui/app_list/arc/arc_app_launcher.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/ui/app_list/arc/arc_app_launcher.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/ui/app_list/arc/arc_app_launcher.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 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ui/app_list/arc/arc_app_launcher.h" #include <memory> #include "ui/events/event_constants.h" ArcAppLauncher::ArcAppLauncher(co...
32.191781
80
0.655745
sarang-apps
b726b6a2a934148784791d29bdc232ba711d26fe
942
hpp
C++
sdk/keyvault/azure-security-keyvault-keys/inc/azure/keyvault/keys/key_create_options.hpp
sjoubert/azure-sdk-for-cpp
5e2e84cdbcf49497ac67b77f642c2c7d0f2f0278
[ "MIT" ]
null
null
null
sdk/keyvault/azure-security-keyvault-keys/inc/azure/keyvault/keys/key_create_options.hpp
sjoubert/azure-sdk-for-cpp
5e2e84cdbcf49497ac67b77f642c2c7d0f2f0278
[ "MIT" ]
null
null
null
sdk/keyvault/azure-security-keyvault-keys/inc/azure/keyvault/keys/key_create_options.hpp
sjoubert/azure-sdk-for-cpp
5e2e84cdbcf49497ac67b77f642c2c7d0f2f0278
[ "MIT" ]
null
null
null
// Copyright (c) Microsoft Corporation. All rights reserved. // SPDX-License-Identifier: MIT /** * @brief Defines the supported options to create a Key Vault Key. * */ #pragma once #include <azure/core/context.hpp> #include <azure/core/datetime.hpp> #include <azure/core/nullable.hpp> #include "azure/keyvault/key...
22.428571
76
0.707006
sjoubert
b727edd6f6e528c256e2dc56b9a9c2e0379019bf
1,531
cpp
C++
tests/test_cpu.cpp
Ma-Dan/ncnn
8e94566ffb6b676b05a3d2875eaa9463acc4a176
[ "BSD-3-Clause" ]
59
2020-12-28T02:46:58.000Z
2022-02-10T14:50:48.000Z
tests/test_cpu.cpp
Ma-Dan/ncnn
8e94566ffb6b676b05a3d2875eaa9463acc4a176
[ "BSD-3-Clause" ]
2
2020-11-05T05:39:31.000Z
2020-11-27T06:08:23.000Z
tests/test_cpu.cpp
Ma-Dan/ncnn
8e94566ffb6b676b05a3d2875eaa9463acc4a176
[ "BSD-3-Clause" ]
13
2020-12-28T02:49:01.000Z
2022-03-12T11:58:33.000Z
#include <stdio.h> #include "cpu.h" #if defined __ANDROID__ || defined __linux__ static int test_cpu_set() { ncnn::CpuSet set; if (set.num_enabled() != 0) { fprintf(stderr, "By default all cpus should be disabled\n"); return 1; } set.enable(0); if (!set.is_enabled(0)) { ...
16.641304
108
0.555846
Ma-Dan
b728245881598bd173e019180fb2863faf68151d
1,845
cpp
C++
1135/main.cpp
Heliovic/PAT_Solutions
7c5dd554654045308f2341713c3e52cc790beb59
[ "MIT" ]
2
2019-03-18T12:55:38.000Z
2019-09-07T10:11:26.000Z
1135/main.cpp
Heliovic/My_PAT_Answer
7c5dd554654045308f2341713c3e52cc790beb59
[ "MIT" ]
null
null
null
1135/main.cpp
Heliovic/My_PAT_Answer
7c5dd554654045308f2341713c3e52cc790beb59
[ "MIT" ]
null
null
null
#include <cstdio> //#include <cstdlib> #define MAX_N 64 #define RED -1 #define BLACK 1 using namespace std; struct node { int type, data; node* lc; node* rc; node() {lc = rc = NULL;} }; int K, N; node* root = NULL; int black_cnt = -1; bool is_rbtree = true; void insert_bst(int data, node* & r, in...
15.769231
91
0.416802
Heliovic
b72addd0b84922e8ce3620fd8c1a1584a73f03d6
2,562
cpp
C++
Samples/RadialController/cpp/RadialController.cpp
windows-development/Windows-classic-samples
96f883e4c900948e39660ec14a200a5164a3c7b7
[ "MIT" ]
8
2017-04-30T17:38:27.000Z
2021-11-29T00:59:03.000Z
Samples/RadialController/cpp/RadialController.cpp
TomeSq/Windows-classic-samples
96f883e4c900948e39660ec14a200a5164a3c7b7
[ "MIT" ]
null
null
null
Samples/RadialController/cpp/RadialController.cpp
TomeSq/Windows-classic-samples
96f883e4c900948e39660ec14a200a5164a3c7b7
[ "MIT" ]
1
2020-01-18T09:12:02.000Z
2020-01-18T09:12:02.000Z
#include "stdafx.h" #include <tchar.h> #include <StrSafe.h> #include <wrl\implements.h> #include <wrl\module.h> #include <wrl\event.h> #include <roapi.h> #include <wrl.h> #include "DeviceListener.h" #include <ShellScalingApi.h> #define CLASSNAME L"Radial Device Controller" #define BUFFER_SIZE 2000 LRESU...
23.943925
91
0.607728
windows-development
b72bcdc1cba305dc1b857157a455e1a46417bce8
2,902
hpp
C++
src/xalanc/XPath/XNumber.hpp
kidaa/xalan-c
bb666d0ab3d0a192410823e6857c203d83c27b16
[ "Apache-2.0" ]
null
null
null
src/xalanc/XPath/XNumber.hpp
kidaa/xalan-c
bb666d0ab3d0a192410823e6857c203d83c27b16
[ "Apache-2.0" ]
1
2021-08-18T12:32:31.000Z
2021-08-18T12:32:31.000Z
src/xalanc/XPath/XNumber.hpp
AaronNGray/xalan
6741bbdcb64a9d33df8bd7e21b558d66bb4292ec
[ "Apache-2.0" ]
null
null
null
/* * 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 m...
23.216
75
0.677119
kidaa
b72cbe0cdb20542c671e93d4b43a752a288deb49
22,060
cpp
C++
ScannerBit/src/scanners/polychord/polychord.cpp
sebhoof/gambit_1.5
f9a3f788e3331067c555ae1a030420e903c6fdcd
[ "Unlicense" ]
2
2020-09-08T20:05:27.000Z
2021-04-26T07:57:56.000Z
ScannerBit/src/scanners/polychord/polychord.cpp
sebhoof/gambit_1.5
f9a3f788e3331067c555ae1a030420e903c6fdcd
[ "Unlicense" ]
9
2020-10-19T09:56:17.000Z
2021-05-28T06:12:03.000Z
ScannerBit/src/scanners/polychord/polychord.cpp
sebhoof/gambit_1.5
f9a3f788e3331067c555ae1a030420e903c6fdcd
[ "Unlicense" ]
5
2020-09-08T02:23:34.000Z
2021-03-23T08:48:04.000Z
// GAMBIT: Global and Modular BSM Inference Tool // ********************************************* /// \file /// /// ScannerBit interface to PolyChord 1.17.1 /// /// ********************************************* /// /// Authors (add name and date if you modify): // /// \author Ben Farmer /// (ben.farmer@...
48.271335
182
0.614098
sebhoof
b72faa3af2987906a98316a5bd7213df17989063
2,109
cpp
C++
ModelItems/VarPathModelItem.cpp
yoann01/FabricUI
d4d24f25245b8ccd2d206aded2b6c5f2aca09155
[ "BSD-3-Clause" ]
null
null
null
ModelItems/VarPathModelItem.cpp
yoann01/FabricUI
d4d24f25245b8ccd2d206aded2b6c5f2aca09155
[ "BSD-3-Clause" ]
null
null
null
ModelItems/VarPathModelItem.cpp
yoann01/FabricUI
d4d24f25245b8ccd2d206aded2b6c5f2aca09155
[ "BSD-3-Clause" ]
null
null
null
// // Copyright (c) 2010-2017 Fabric Software Inc. All rights reserved. // #include <assert.h> #include <FabricUI/DFG/DFGUICmdHandler.h> #include <FabricUI/ModelItems/VarPathModelItem.h> #include <FabricUI/ModelItems/VarPathItemMetadata.h> #include <QStringList> namespace FabricUI { namespace ModelItems { //////////...
19
75
0.682314
yoann01
b734f0cd3f3cc7fa7d4671f172f94cf7d4a471b7
2,361
cpp
C++
Examples/CPP/WorkingWithResourceAssignments/GetResourceAssignmentOvertimes.cpp
aspose-tasks/Aspose.Tasks-for-C
acb3e2b75685f65cbe34dd739c7eae0dfc285aa1
[ "MIT" ]
1
2022-03-16T14:31:36.000Z
2022-03-16T14:31:36.000Z
Examples/CPP/WorkingWithResourceAssignments/GetResourceAssignmentOvertimes.cpp
aspose-tasks/Aspose.Tasks-for-C
acb3e2b75685f65cbe34dd739c7eae0dfc285aa1
[ "MIT" ]
null
null
null
Examples/CPP/WorkingWithResourceAssignments/GetResourceAssignmentOvertimes.cpp
aspose-tasks/Aspose.Tasks-for-C
acb3e2b75685f65cbe34dd739c7eae0dfc285aa1
[ "MIT" ]
1
2020-07-01T01:26:17.000Z
2020-07-01T01:26:17.000Z
#include "GetResourceAssignmentOvertimes.h" #include <system/type_info.h> #include <system/string.h> #include <system/shared_ptr.h> #include <system/reflection/method_base.h> #include <system/object_ext.h> #include <system/object.h> #include <system/decimal.h> #include <system/console.h> #include <system/collections/i...
35.772727
164
0.725964
aspose-tasks
b73b91877c6c37a97da62a77dd2023b25fd36147
1,310
cpp
C++
week 4/Linked List/10. Minimum Platforms .cpp
arpit456jain/gfg-11-Weeks-Workshop-on-DSA-in-CPP
ed7fd8bc0a581f54ba3a3588dd01013776c4ece6
[ "MIT" ]
6
2021-08-06T14:36:41.000Z
2022-03-22T11:22:07.000Z
week 4/Linked List/10. Minimum Platforms .cpp
arpit456jain/11-Weeks-Workshop-on-DSA-in-CPP
ed7fd8bc0a581f54ba3a3588dd01013776c4ece6
[ "MIT" ]
1
2021-08-09T05:09:48.000Z
2021-08-09T05:09:48.000Z
week 4/Linked List/10. Minimum Platforms .cpp
arpit456jain/11-Weeks-Workshop-on-DSA-in-CPP
ed7fd8bc0a581f54ba3a3588dd01013776c4ece6
[ "MIT" ]
1
2021-08-09T14:25:17.000Z
2021-08-09T14:25:17.000Z
// { Driver Code Starts // Program to find minimum number of platforms // required on a railway station #include <bits/stdc++.h> using namespace std; // } Driver Code Ends class Solution{ public: //Function to find the minimum number of platforms required at the //railway station such that no train waits...
19.264706
70
0.468702
arpit456jain
b73fb29122ad1d5fb7d2b4bfdd756a4d1bbf966e
9,819
cc
C++
content/browser/renderer_host/async_resource_handler.cc
Scopetta197/chromium
b7bf8e39baadfd9089de2ebdc0c5d982de4a9820
[ "BSD-3-Clause" ]
212
2015-01-31T11:55:58.000Z
2022-02-22T06:35:11.000Z
content/browser/renderer_host/async_resource_handler.cc
Scopetta197/chromium
b7bf8e39baadfd9089de2ebdc0c5d982de4a9820
[ "BSD-3-Clause" ]
5
2015-03-27T14:29:23.000Z
2019-09-25T13:23:12.000Z
content/browser/renderer_host/async_resource_handler.cc
Scopetta197/chromium
b7bf8e39baadfd9089de2ebdc0c5d982de4a9820
[ "BSD-3-Clause" ]
221
2015-01-07T06:21:24.000Z
2022-02-11T02:51:12.000Z
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "content/browser/renderer_host/async_resource_handler.h" #include <algorithm> #include <vector> #include "base/debug/alias.h" #include "bas...
33.858621
79
0.690702
Scopetta197
b73fce49595bcb5c50d37701f3db5ffd4bff29e6
2,052
cpp
C++
src/VisumScriptMain.cpp
Mokon/visum
53f602fcf22eadd60f446d04a26b4a6e7217c052
[ "RSA-MD" ]
null
null
null
src/VisumScriptMain.cpp
Mokon/visum
53f602fcf22eadd60f446d04a26b4a6e7217c052
[ "RSA-MD" ]
null
null
null
src/VisumScriptMain.cpp
Mokon/visum
53f602fcf22eadd60f446d04a26b4a6e7217c052
[ "RSA-MD" ]
null
null
null
/* Copyright (C) 2013-2016 David 'Mokon' Bond, All Rights Reserved */ #include <config.h> #include <glog/logging.h> #include <visum/entities/common/Bank.hpp> #include <visum/entities/common/CreditCard.hpp> #include <visum/entities/common/Person.hpp> #include <visum/entities/Entity.hpp> #include <visum/entities/EntityG...
30.626866
96
0.640838
Mokon
b74115f46e59ed50c0fc8073187eebec5c4d43a4
10,906
cc
C++
internal/platform/implementation/g3/wifi_hotspot.cc
google/nearby
1aeb1093a9864c73394d27598684f2e9287d6e4e
[ "Apache-2.0" ]
69
2021-10-18T00:37:29.000Z
2022-03-20T19:53:38.000Z
internal/platform/implementation/g3/wifi_hotspot.cc
google/nearby
1aeb1093a9864c73394d27598684f2e9287d6e4e
[ "Apache-2.0" ]
14
2021-10-13T19:49:27.000Z
2022-03-31T22:19:13.000Z
internal/platform/implementation/g3/wifi_hotspot.cc
google/nearby
1aeb1093a9864c73394d27598684f2e9287d6e4e
[ "Apache-2.0" ]
22
2021-10-20T12:36:47.000Z
2022-03-31T18:39:46.000Z
// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
31.429395
80
0.685953
google
b7415fabb9cac20eba8cc19edb1a7fa026a177f7
1,139
cpp
C++
gpu_lib/external_gpu_algorithm.cpp
ARGO-group/Argo_CUDA
7a15252906860f4a725e37b6add211f625b91869
[ "MIT" ]
null
null
null
gpu_lib/external_gpu_algorithm.cpp
ARGO-group/Argo_CUDA
7a15252906860f4a725e37b6add211f625b91869
[ "MIT" ]
null
null
null
gpu_lib/external_gpu_algorithm.cpp
ARGO-group/Argo_CUDA
7a15252906860f4a725e37b6add211f625b91869
[ "MIT" ]
1
2021-07-10T09:59:52.000Z
2021-07-10T09:59:52.000Z
#include "external_gpu_algorithm.h" #include <thread> #include <config.h> #include <hash_conversions.h> #include <run_parallel.h> #include <safe_counter.h> #include <gpu_info.h> #include "finder_kernel.cuh" void external_gpu_algorithm(const std::vector<uint32_t> &motif_hashes, const Seq...
32.542857
108
0.639157
ARGO-group
b74bf15f46745c90202343ea77a3026b857f93c9
784
cpp
C++
Software/app/nixie_state.cpp
gotlaufs/rtu-nixie-clock
7fe43f13deb8f5314ce19d00fe6623337c0d0df7
[ "MIT" ]
null
null
null
Software/app/nixie_state.cpp
gotlaufs/rtu-nixie-clock
7fe43f13deb8f5314ce19d00fe6623337c0d0df7
[ "MIT" ]
5
2019-02-19T22:23:19.000Z
2019-02-19T22:27:27.000Z
Software/app/nixie_state.cpp
gotlaufs/rtu-nixie-clock
7fe43f13deb8f5314ce19d00fe6623337c0d0df7
[ "MIT" ]
null
null
null
// Nixie state class implementation #include "nixie_state.h" NixieState::NixieState(NixieClock & app_) : app(app_) { memset(&nixie_data, 0, sizeof(nixie_data_type)); } void NixieState::writeTimeToNixie() { if (sec > 99) { // Blank tubes if too big digit nixie_data.N6 = 10; nixie_da...
17.422222
53
0.512755
gotlaufs
b74c2f463fe2ec1f3eab79af4dbebde53df4d597
90
cpp
C++
core/src/backend/task/FunctionDataTemplate.cpp
ExaBerries/spruce
85845244f7d6cd5a662f0dbc9b4079a1230d9a4b
[ "MIT" ]
null
null
null
core/src/backend/task/FunctionDataTemplate.cpp
ExaBerries/spruce
85845244f7d6cd5a662f0dbc9b4079a1230d9a4b
[ "MIT" ]
null
null
null
core/src/backend/task/FunctionDataTemplate.cpp
ExaBerries/spruce
85845244f7d6cd5a662f0dbc9b4079a1230d9a4b
[ "MIT" ]
null
null
null
#include <backend/task/FunctionDataTemplate.h> namespace spruce { namespace task { } }
12.857143
46
0.744444
ExaBerries
b753e58ff00bc994c8dc9e157fe23b35e3166aa9
8,811
hpp
C++
include/mockturtle/algorithms/aqfp/detail/dag_util.hpp
shi27feng/mockturtle
032dcd590b57040c5ff10d80b515353ffe822671
[ "MIT" ]
null
null
null
include/mockturtle/algorithms/aqfp/detail/dag_util.hpp
shi27feng/mockturtle
032dcd590b57040c5ff10d80b515353ffe822671
[ "MIT" ]
null
null
null
include/mockturtle/algorithms/aqfp/detail/dag_util.hpp
shi27feng/mockturtle
032dcd590b57040c5ff10d80b515353ffe822671
[ "MIT" ]
null
null
null
/* mockturtle: C++ logic network library * Copyright (C) 2018-2021 EPFL * * 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...
27.794953
139
0.637726
shi27feng
b75582d23033bd9636bd190462cb22da89e5bd0b
61,137
cpp
C++
vphysics_bullet/Physics_Environment.cpp
SwagSoftware/Kisak-Strike
7498c886b5199b37cbd156ceac9377ecac73b982
[ "Unlicense" ]
252
2020-12-16T15:34:43.000Z
2022-03-31T23:21:37.000Z
vphysics_bullet/Physics_Environment.cpp
SwagSoftware/Kisak-Strike
7498c886b5199b37cbd156ceac9377ecac73b982
[ "Unlicense" ]
23
2020-12-20T18:02:54.000Z
2022-03-28T16:58:32.000Z
vphysics_bullet/Physics_Environment.cpp
SwagSoftware/Kisak-Strike
7498c886b5199b37cbd156ceac9377ecac73b982
[ "Unlicense" ]
42
2020-12-19T04:32:33.000Z
2022-03-30T06:00:28.000Z
#include "StdAfx.h" #include <cmodel.h> #include <cstring> #include "Physics_Environment.h" #include "Physics.h" #include "Physics_Object.h" #include "Physics_ShadowController.h" #include "Physics_PlayerController.h" #include "Physics_FluidController.h" #include "Physics_DragController.h" #include "Physics_MotionCont...
36.0053
354
0.762828
SwagSoftware
b755fae74c436939a563f178a7d1bb9e6675d203
1,106
cpp
C++
Source/src/Json Parser/DataTypeHandlers/JsonObject.cpp
codenameone-akshat/LittleJsonReader
2a28219ef494d4d3a02961d74fb90fa4829a14c5
[ "MIT" ]
null
null
null
Source/src/Json Parser/DataTypeHandlers/JsonObject.cpp
codenameone-akshat/LittleJsonReader
2a28219ef494d4d3a02961d74fb90fa4829a14c5
[ "MIT" ]
null
null
null
Source/src/Json Parser/DataTypeHandlers/JsonObject.cpp
codenameone-akshat/LittleJsonReader
2a28219ef494d4d3a02961d74fb90fa4829a14c5
[ "MIT" ]
null
null
null
#include "JsonObjectItem.h" JsonReader::JsonItem * JsonReader::JsonObjectItem::GetValue() { return this; } JsonReader::JsonItem * JsonReader::JsonObjectItem::GetFirstChild() { it = m_value.begin(); return *it; } JsonReader::JsonItem * JsonReader::JsonObjectItem::GetNextChild() { std::vector<JsonIt...
16.757576
80
0.664557
codenameone-akshat
b758578b94442795754abc3bccdd5a85647c9325
677
cpp
C++
sources codes/tute30b.cpp
darkrabel/c-personal-reference-code-
0ea62666a6f8b7ea876e96498e3c0b6b4e773a7f
[ "MIT" ]
2
2021-06-17T11:05:01.000Z
2021-11-15T11:39:46.000Z
sources codes/tute30b.cpp
darkrabel/c-personal-reference-code-
0ea62666a6f8b7ea876e96498e3c0b6b4e773a7f
[ "MIT" ]
null
null
null
sources codes/tute30b.cpp
darkrabel/c-personal-reference-code-
0ea62666a6f8b7ea876e96498e3c0b6b4e773a7f
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; class Point{ int x, y; public: Point(int a, int b){ x = a; y = b; } void displayPoint(){ cout<<"The point is ("<<x<<", "<<y<<")"<<endl; } }; // Create a function (Hint: Make it a friend function) which...
21.83871
131
0.552437
darkrabel
b758a6cf9bbdefdea70c38d7834f979c448873cb
2,396
cpp
C++
third_party/WebKit/Source/core/dom/DOMMatrixReadOnly.cpp
Wzzzx/chromium-crosswalk
768dde8efa71169f1c1113ca6ef322f1e8c9e7de
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2019-01-28T08:09:58.000Z
2021-11-15T15:32:10.000Z
third_party/WebKit/Source/core/dom/DOMMatrixReadOnly.cpp
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
null
null
null
third_party/WebKit/Source/core/dom/DOMMatrixReadOnly.cpp
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
6
2020-09-23T08:56:12.000Z
2021-11-18T03:40:49.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 "core/dom/DOMMatrix.h" namespace blink { DOMMatrixReadOnly::~DOMMatrixReadOnly() { } bool DOMMatrixReadOnly::is2D() const { return m_is2D;...
32.378378
155
0.695326
Wzzzx
b75b6cd1faa782a6f70b5eddbb1aacaba1f7d65b
860
hpp
C++
src/Camera.hpp
Philipp-M/CG_Project1
19e6b96c8c6d6fe4323af50f247ed07120c74f9c
[ "MIT" ]
null
null
null
src/Camera.hpp
Philipp-M/CG_Project1
19e6b96c8c6d6fe4323af50f247ed07120c74f9c
[ "MIT" ]
null
null
null
src/Camera.hpp
Philipp-M/CG_Project1
19e6b96c8c6d6fe4323af50f247ed07120c74f9c
[ "MIT" ]
null
null
null
#pragma once #include <GL/gl.h> #include <glm/glm.hpp> #include <glm/gtc/constants.hpp> const GLfloat PI_4 = 0.78539816339744830962; class Camera { private: GLfloat fieldOfView; GLfloat width; GLfloat height; GLfloat nearPlane; GLfloat farPlane; glm::mat4 viewMat; public: Camera(GLfloat width = 1920, GLfloat...
17.916667
127
0.727907
Philipp-M
b75cfe6dbda9e66acdf42f4480e39184ba41ea21
449
cpp
C++
code/data-structures/segment_tree_node.cpp
viswamy/CompetitiveProgramming
497d58adce25cfe4fc327301d977da275ad80201
[ "MIT" ]
null
null
null
code/data-structures/segment_tree_node.cpp
viswamy/CompetitiveProgramming
497d58adce25cfe4fc327301d977da275ad80201
[ "MIT" ]
null
null
null
code/data-structures/segment_tree_node.cpp
viswamy/CompetitiveProgramming
497d58adce25cfe4fc327301d977da275ad80201
[ "MIT" ]
1
2019-07-28T03:12:29.000Z
2019-07-28T03:12:29.000Z
#ifndef STNODE #define STNODE struct node { int l, r; ll x, lazy; node() {} node(int _l, int _r) : l(_l), r(_r), x(0), lazy(0) { } node(int _l, int _r, ll _x) : node(_l,_r) { x = _x; } node(node a, node b) : node(a.l,b.r) { x = a.x + b.x; } void update(ll v) { x = v; } void range_update(...
29.933333
59
0.492205
viswamy
b75d44febf8380f8be76304cc07dfba54fa17725
1,197
cc
C++
chrome/browser/android/blimp/blimp_contents_profile_attachment.cc
xzhan96/chromium.src
1bd0cf3997f947746c0fc5406a2466e7b5f6159e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2021-01-07T18:51:03.000Z
2021-01-07T18:51:03.000Z
chrome/browser/android/blimp/blimp_contents_profile_attachment.cc
emilio/chromium.src
1bd0cf3997f947746c0fc5406a2466e7b5f6159e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/android/blimp/blimp_contents_profile_attachment.cc
emilio/chromium.src
1bd0cf3997f947746c0fc5406a2466e7b5f6159e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2016 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/android/blimp/blimp_contents_profile_attachment.h" #include "base/logging.h" #include "base/supports_user_data.h" #include "blim...
32.351351
79
0.759398
xzhan96
b75d4cd4fa9ad3ad38b152ff060b557b21d0287d
575
cpp
C++
Redo.cpp
albcristi/MoviesApp
aeb390e13fd3130474e12ddb55ba7ada3fcd898d
[ "MIT" ]
null
null
null
Redo.cpp
albcristi/MoviesApp
aeb390e13fd3130474e12ddb55ba7ada3fcd898d
[ "MIT" ]
null
null
null
Redo.cpp
albcristi/MoviesApp
aeb390e13fd3130474e12ddb55ba7ada3fcd898d
[ "MIT" ]
null
null
null
#include "Redo.h" Redo::Redo() { } Redo::~Redo() { } RedoAdd::RedoAdd(Movie mov, Repository& rep) :addedMovie{ mov },repo{rep} { } void RedoAdd::redoAction() { repo.addElement(addedMovie); } RedoAdd::~RedoAdd() { } RedoDelete::RedoDelete(Movie mo, Repository& re) : deletedMovie{ mo }, repo{ re } { } void Red...
11.734694
81
0.662609
albcristi
b75e80dfc6b4645d842b4b4bce139b667dddd272
1,416
cpp
C++
VIIL/src/renderer/interface/Shader.cpp
Vixnil/VIIL
0057464a1bc6e938825cfdf59a977cbe53c03a00
[ "Apache-2.0" ]
null
null
null
VIIL/src/renderer/interface/Shader.cpp
Vixnil/VIIL
0057464a1bc6e938825cfdf59a977cbe53c03a00
[ "Apache-2.0" ]
null
null
null
VIIL/src/renderer/interface/Shader.cpp
Vixnil/VIIL
0057464a1bc6e938825cfdf59a977cbe53c03a00
[ "Apache-2.0" ]
null
null
null
#include "core/standardUse.h" #include "renderer/interface/Shader.h" #include "renderer//interface/RendererLibrary.h" #include "renderer/OpenGL/OpenGLShader.h" namespace VIIL { std::shared_ptr<Shader> Shader::Create(const std::shared_ptr<File>& shaderSrc) { switch (RendererLibrary::getType()) { case RendererL...
27.764706
148
0.737288
Vixnil
b767de3fcf18ad1ff838a3b3ee458af38573a642
5,173
cpp
C++
test/System/Session.cpp
ntoskrnl7/win32api-ex
e91521b53745655fd8fb7d6532770f4888420814
[ "MIT" ]
18
2022-01-12T23:01:55.000Z
2022-03-28T01:50:56.000Z
test/System/Session.cpp
ntoskrnl7/win32api-ex
e91521b53745655fd8fb7d6532770f4888420814
[ "MIT" ]
null
null
null
test/System/Session.cpp
ntoskrnl7/win32api-ex
e91521b53745655fd8fb7d6532770f4888420814
[ "MIT" ]
3
2022-02-25T10:55:41.000Z
2022-02-25T13:06:21.000Z
#include <Win32Ex/System/Session.hpp> #include <gtest/gtest.h> TEST(SessionTest, ThisSession) { EXPECT_EQ(Win32Ex::ThisSession::Id(), WTSGetActiveConsoleSessionId()); EXPECT_STREQ(Win32Ex::ThisSession::Name().c_str(), Win32Ex::System::Session(Win32Ex::ThisSession::Id()).Name().c_str()); EX...
32.534591
115
0.635028
ntoskrnl7
b76996137e2d4537aa8e1c0517082983ffb95e8b
11,242
cpp
C++
bob/io/audio/writer.cpp
bioidiap/bob.io.audio
8b46b15b3a4cdfa9d20c31560781541a3012fed3
[ "BSD-3-Clause" ]
4
2016-02-11T10:12:29.000Z
2018-06-28T13:08:27.000Z
bob/io/audio/writer.cpp
bioidiap/bob.io.audio
8b46b15b3a4cdfa9d20c31560781541a3012fed3
[ "BSD-3-Clause" ]
3
2016-01-21T19:48:58.000Z
2016-03-07T11:10:44.000Z
bob/io/audio/writer.cpp
bioidiap/bob.io.audio
8b46b15b3a4cdfa9d20c31560781541a3012fed3
[ "BSD-3-Clause" ]
1
2016-03-08T11:14:17.000Z
2016-03-08T11:14:17.000Z
/** * @author Andre Anjos <andre.anjos@idiap.ch> * @date Wed 20 Jan 2016 15:38:07 CET * * @brief Bindings to bob::io::audio::Writer */ #include "main.h" static auto s_writer = bob::extension::ClassDoc( "writer", "Use this object to write samples to audio files", "Audio writer objects can write data to audi...
29.898936
228
0.70797
bioidiap
b76d9160b34a21db97aa8eac8705d37d6e0abf72
13,690
cpp
C++
cppLib/code/dep/G3D/source/ConvexPolyhedron.cpp
DrYaling/ProcedureContentGenerationForUnity
3c4f1e70b01e4fe2b9f847324b60b15016b9a740
[ "MIT" ]
3
2019-05-14T07:19:59.000Z
2019-05-14T08:08:25.000Z
cppLib/code/dep/G3D/source/ConvexPolyhedron.cpp
DrYaling/ProcedureContentGenerationForUnity
3c4f1e70b01e4fe2b9f847324b60b15016b9a740
[ "MIT" ]
null
null
null
cppLib/code/dep/G3D/source/ConvexPolyhedron.cpp
DrYaling/ProcedureContentGenerationForUnity
3c4f1e70b01e4fe2b9f847324b60b15016b9a740
[ "MIT" ]
1
2018-08-08T07:39:16.000Z
2018-08-08T07:39:16.000Z
/** @file ConvexPolyhedron.cpp @author Morgan McGuire, http://graphics.cs.williams.edu @created 2001-11-11 @edited 2009-08-10 Copyright 2000-2009, Morgan McGuire. All rights reserved. */ #include "G3D/platform.h" #include "G3D/ConvexPolyhedron.h" #include "G3D/debug.h" namespace G3D { ConvexPolyg...
29.89083
112
0.530533
DrYaling
b76eb4286d77bfd240be40bfb88e07e96323c37b
277
cpp
C++
Cplusplus/FuncaoEspecial-INLINE.cpp
carlosvilela/Testes-C-
b6be1d94569027d0b5d6e8aa227e279a7cb16937
[ "MIT" ]
null
null
null
Cplusplus/FuncaoEspecial-INLINE.cpp
carlosvilela/Testes-C-
b6be1d94569027d0b5d6e8aa227e279a7cb16937
[ "MIT" ]
null
null
null
Cplusplus/FuncaoEspecial-INLINE.cpp
carlosvilela/Testes-C-
b6be1d94569027d0b5d6e8aa227e279a7cb16937
[ "MIT" ]
null
null
null
inline int soma (int a, int b){ int r; r = a + b; return r; } main (){ int resultado; resultado = soma (1,5); printf("Resultado = %d", resultado); resultado = soma (8,3); printf("\nResultado = %d", resultado); }
13.190476
42
0.476534
carlosvilela
b7726f6aa53071e6a333dd5784e55ebad81a0659
2,367
cpp
C++
src/red4ext.dll/Utils.cpp
gammaparticle/RED4ext
1d5ad2745cc806acf1111cde7e46d3f250d42474
[ "MIT", "BSD-3-Clause" ]
null
null
null
src/red4ext.dll/Utils.cpp
gammaparticle/RED4ext
1d5ad2745cc806acf1111cde7e46d3f250d42474
[ "MIT", "BSD-3-Clause" ]
null
null
null
src/red4ext.dll/Utils.cpp
gammaparticle/RED4ext
1d5ad2745cc806acf1111cde7e46d3f250d42474
[ "MIT", "BSD-3-Clause" ]
null
null
null
#include "stdafx.hpp" #include "Utils.hpp" #include "App.hpp" std::wstring Utils::FormatErrorMessage(uint32_t aErrorCode) { wchar_t* buffer = nullptr; auto errorCode = GetLastError(); FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS, nullptr, ...
29.222222
119
0.635403
gammaparticle
b772ee97ebe4f0d16c6334320ad604ce1763ddff
5,375
hxx
C++
main/linguistic/workben/sprophelp.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/linguistic/workben/sprophelp.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/linguistic/workben/sprophelp.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...
31.804734
106
0.718326
Grosskopf
b7754f8a24f2eec03b0a4eb5550898756d22483f
2,368
cc
C++
Alignment/ReferenceTrajectories/src/DualBzeroReferenceTrajectory.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
1
2019-08-09T08:42:11.000Z
2019-08-09T08:42:11.000Z
Alignment/ReferenceTrajectories/src/DualBzeroReferenceTrajectory.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
null
null
null
Alignment/ReferenceTrajectories/src/DualBzeroReferenceTrajectory.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
1
2019-04-03T19:23:27.000Z
2019-04-03T19:23:27.000Z
#include "Alignment/ReferenceTrajectories/interface/DualBzeroReferenceTrajectory.h" #include "TrackingTools/TrajectoryState/interface/TrajectoryStateOnSurface.h" #include "DataFormats/CLHEP/interface/AlgebraicObjects.h" #include "DataFormats/TrajectoryState/interface/LocalTrajectoryParameters.h" #include "Alignme...
43.851852
107
0.697213
nistefan
b77ce2e5d8a48c5d3c80b162ff0c92de63ce96f0
1,590
cpp
C++
src/UNIT_4RELAY.cpp
m5stack/UNIT_4RELAY
f7586379b2dfd079527a990f740f98ca97206820
[ "MIT" ]
null
null
null
src/UNIT_4RELAY.cpp
m5stack/UNIT_4RELAY
f7586379b2dfd079527a990f740f98ca97206820
[ "MIT" ]
null
null
null
src/UNIT_4RELAY.cpp
m5stack/UNIT_4RELAY
f7586379b2dfd079527a990f740f98ca97206820
[ "MIT" ]
1
2022-02-10T18:18:56.000Z
2022-02-10T18:18:56.000Z
#include "UNIT_4RELAY.h" void UNIT_4RELAY::write1Byte(uint8_t address, uint8_t Register_address, uint8_t data) { Wire.beginTransmission(address); Wire.write(Register_address); Wire.write(data); Wire.endTransmission(); } uint8_t UNIT_4RELAY::read1Byte(uint8_t address, uint8_t Register_address) {...
21.2
87
0.662264
m5stack
b77cfa1b68cff6fbd2eca0a1d11220cf9d3b33ec
1,158
cpp
C++
common/gui/win32/WinFileUtil.cpp
lesit/NeuroStudio
f505065d694a8614587e7cc243ede72c141bd80b
[ "W3C" ]
21
2018-11-15T08:23:14.000Z
2022-03-30T15:44:59.000Z
common/gui/win32/WinFileUtil.cpp
lesit/NeuroStudio
f505065d694a8614587e7cc243ede72c141bd80b
[ "W3C" ]
null
null
null
common/gui/win32/WinFileUtil.cpp
lesit/NeuroStudio
f505065d694a8614587e7cc243ede72c141bd80b
[ "W3C" ]
1
2021-12-08T01:17:27.000Z
2021-12-08T01:17:27.000Z
#include "stdafx.h" #include "WinFileUtil.h" using namespace np::gui::win32; bool WinFileUtil::IsDirectory(const wchar_t* strFilePath) { DWORD dwAttr = GetFileAttributes(strFilePath); if (dwAttr == INVALID_FILE_ATTRIBUTES) return false; return (dwAttr & FILE_ATTRIBUTE_DIRECTORY)>0; } bool WinFileUtil::GetNorm...
22.705882
89
0.765976
lesit
b77e355a449d985fa8a1ac1c11900ec489b00fa8
3,114
cpp
C++
UVa 12833 - Daily Potato/sample/12833 - Daily Potato.cpp
tadvi/uva
0ac0cbdf593879b4fb02a3efc09adbb031cb47d5
[ "MIT" ]
1
2020-11-24T03:17:21.000Z
2020-11-24T03:17:21.000Z
UVa 12833 - Daily Potato/sample/12833 - Daily Potato.cpp
tadvi/uva
0ac0cbdf593879b4fb02a3efc09adbb031cb47d5
[ "MIT" ]
null
null
null
UVa 12833 - Daily Potato/sample/12833 - Daily Potato.cpp
tadvi/uva
0ac0cbdf593879b4fb02a3efc09adbb031cb47d5
[ "MIT" ]
1
2021-04-11T16:22:31.000Z
2021-04-11T16:22:31.000Z
#include <stdio.h> #include <string.h> #include <algorithm> #include <vector> using namespace std; #define MAXL 262144 char S[MAXL], C[MAXL], T[MAXL]; int dp[MAXL], n, m; int A[MAXL][26], SUM[MAXL][26]; void exbuild(char S[]) { // manacher's algorithm n = strlen(S), m = 2 * n + 1; int mx = 0, idx = 0; int ans ...
22.729927
106
0.423892
tadvi
b77eb22e05e8b69ed2c7767aa7a8eab4bed43f85
10,700
cpp
C++
src/openpose/utilities/fileSystem.cpp
meiwanlanjun/openpose
71078eb1b7571789c7589cf6c8de1786c3227a90
[ "DOC", "MIT-CMU" ]
null
null
null
src/openpose/utilities/fileSystem.cpp
meiwanlanjun/openpose
71078eb1b7571789c7589cf6c8de1786c3227a90
[ "DOC", "MIT-CMU" ]
null
null
null
src/openpose/utilities/fileSystem.cpp
meiwanlanjun/openpose
71078eb1b7571789c7589cf6c8de1786c3227a90
[ "DOC", "MIT-CMU" ]
null
null
null
#include <cstdio> // fopen #ifdef _WIN32 #include <direct.h> // _mkdir #include <windows.h> // DWORD, GetFileAttributesA #elif defined __unix__ #include <dirent.h> // opendir #include <sys/stat.h> // mkdir #else #error Unknown environment! #endif #include <openpose/utilities/string.hpp> #include <op...
34.96732
117
0.497383
meiwanlanjun
b77f8a98b9d4e8eff3e6110f4bfe69457782718d
2,746
cc
C++
kernel/futex.cc
mit-pdos/ward
91b598932d161f907590b9ad21d7df395e5d6712
[ "MIT-0" ]
29
2019-12-12T02:30:35.000Z
2022-01-06T17:13:09.000Z
kernel/futex.cc
mit-pdos/ward
91b598932d161f907590b9ad21d7df395e5d6712
[ "MIT-0" ]
47
2019-12-11T02:34:13.000Z
2020-06-08T19:26:59.000Z
kernel/futex.cc
mit-pdos/ward
91b598932d161f907590b9ad21d7df395e5d6712
[ "MIT-0" ]
4
2020-12-08T13:46:55.000Z
2022-01-04T20:25:10.000Z
#include "types.h" #include "kernel.hh" #include "spinlock.hh" #include "cpputil.hh" #include "ns.hh" #include "errno.h" #include "condvar.hh" #include "proc.hh" #include "cpu.hh" #include "spercpu.hh" #include "vm.hh" #include "hash.hh" #define FUTEX_HASH_BUCKETS 257 struct futex_list_bucket { ilist<proc, &proc::f...
23.470085
97
0.651493
mit-pdos
b781cdda745f6b32584197979582e87bc6178dd9
23,899
cpp
C++
groups/bsl/bslma/bslma_stdtestallocator.t.cpp
seanbaxter/bde-1
149176ebc2ae49c3b563895a7332fe638a760782
[ "Apache-2.0" ]
1
2021-11-10T16:53:42.000Z
2021-11-10T16:53:42.000Z
groups/bsl/bslma/bslma_stdtestallocator.t.cpp
seanbaxter/bde-1
149176ebc2ae49c3b563895a7332fe638a760782
[ "Apache-2.0" ]
2
2020-11-05T15:20:55.000Z
2021-01-05T19:38:43.000Z
groups/bsl/bslma/bslma_stdtestallocator.t.cpp
seanbaxter/bde-1
149176ebc2ae49c3b563895a7332fe638a760782
[ "Apache-2.0" ]
2
2020-01-16T17:58:12.000Z
2020-08-11T20:59:30.000Z
// bslma_stdtestallocator.t.cpp -*-C++-*- #include <bslma_stdtestallocator.h> #include <bslma_allocator.h> #include <bslma_default.h> #include <bslma_defaultallocatorguard.h> #include <bslma_testallocator.h> #include <bsls_bsltestutil.h> #include <limits> #include <new> #includ...
39.898164
81
0.525378
seanbaxter
b7828e490770598d7cbe06bfad2e50233ce92d64
1,838
hpp
C++
src/backnocles/utils/disablewarnings.hpp
dsiroky/backnocles
889ab5f65fc1beb27f6dfff36d5fcda8544a9be2
[ "MIT" ]
3
2017-10-22T17:57:10.000Z
2017-11-06T12:33:31.000Z
src/backnocles/utils/disablewarnings.hpp
dsiroky/backnocles
889ab5f65fc1beb27f6dfff36d5fcda8544a9be2
[ "MIT" ]
null
null
null
src/backnocles/utils/disablewarnings.hpp
dsiroky/backnocles
889ab5f65fc1beb27f6dfff36d5fcda8544a9be2
[ "MIT" ]
null
null
null
/// Place this include above thirdparty includes. Pair with enablewarnings.hpp. /// /// Project has very restrictive warnings and lots of libraries does not /// conform to that. MSVC++ does not have "-isystem" equivalent. /// /// @file #ifdef _MSC_VER #pragma warning(push) #pragma warning(disable: 4244) #pragma ...
37.510204
79
0.73667
dsiroky
b782ae90c712d56dc5301eed9c6d2457122afd3f
999
cpp
C++
Common01/Source/Common/Log/LogConsumerConsole.cpp
DavidCoenFish/game02
3011cf2fe069b579759aa95333cb406a8ff52d53
[ "Unlicense" ]
null
null
null
Common01/Source/Common/Log/LogConsumerConsole.cpp
DavidCoenFish/game02
3011cf2fe069b579759aa95333cb406a8ff52d53
[ "Unlicense" ]
null
null
null
Common01/Source/Common/Log/LogConsumerConsole.cpp
DavidCoenFish/game02
3011cf2fe069b579759aa95333cb406a8ff52d53
[ "Unlicense" ]
null
null
null
#include "CommonPCH.h" #include "Common/Log/LogConsumerConsole.h" #include "Common/Log/Log.h" #include "Common/Util/Utf8.h" LogConsumerConsole::LogConsumerConsole(const std::vector<bool>& topicFilterArrayOrEmpty) : m_topicFilterArrayOrEmpty(topicFilterArrayOrEmpty) { if (TRUE == AttachConsole(ATTACH_PARENT_PROC...
24.975
88
0.703704
DavidCoenFish
b783c70fbc58bdd7d14e497c5f0d07c4cb71122b
320
cpp
C++
DwarfDash/src/Geometry.cpp
Zai-shen/DwarfDash
2a991a33dc4550bdf89a665a092b0b8db6a03724
[ "MIT" ]
null
null
null
DwarfDash/src/Geometry.cpp
Zai-shen/DwarfDash
2a991a33dc4550bdf89a665a092b0b8db6a03724
[ "MIT" ]
null
null
null
DwarfDash/src/Geometry.cpp
Zai-shen/DwarfDash
2a991a33dc4550bdf89a665a092b0b8db6a03724
[ "MIT" ]
null
null
null
#include "Geometry.h" glm::mat4 Geometry::getModelMatrix() { return _modelMatrix; } void Geometry::setTransformMatrix(glm::mat4 transformationMatrix) { _transformMatrix = transformationMatrix; } //void Geometry::transform(glm::mat4 transformationMatrix) { // _modelMatrix = _modelMatrix * transformationMatrix; //}
22.857143
67
0.775
Zai-shen
b785a7ba88c2fcb13ae1a182ee56c29a5e6721f2
8,966
cpp
C++
game/graphics/texture/jak1_tpage_dir.cpp
Hat-Kid/jak-project
0e2320ca9584118316313e41e646b179a1083feb
[ "ISC" ]
54
2022-02-08T13:07:50.000Z
2022-03-31T14:18:42.000Z
game/graphics/texture/jak1_tpage_dir.cpp
Hat-Kid/jak-project
0e2320ca9584118316313e41e646b179a1083feb
[ "ISC" ]
120
2022-02-08T05:19:11.000Z
2022-03-30T22:26:52.000Z
game/graphics/texture/jak1_tpage_dir.cpp
Hat-Kid/jak-project
0e2320ca9584118316313e41e646b179a1083feb
[ "ISC" ]
8
2022-02-13T22:39:55.000Z
2022-03-30T02:17:57.000Z
#include <vector> #include "common/common_types.h" #include "jak1_tpage_dir.h" namespace { std::vector<u32> tpage_dir = { 0x0, 0x2, 0x37, 0x1, 0x1, 0x10, 0x2, 0x4, 0x3, 0x2, 0x1, 0x5, 0x7, 0x8, 0x1, 0x1, 0x1, 0xb, 0xe, 0x8, 0x1, 0x6, 0x4, 0x6, 0x3, 0x3, 0x6, 0x6, 0x4, 0x4, 0x4, 0xd, 0x1, 0x4, 0x9, 0xc, 0x1, 0x...
87.901961
100
0.593241
Hat-Kid
b787c07c5eb0a779989ae7c92a2f257eb336b46e
1,574
cc
C++
TopQuarkAnalysis/TopJetCombination/src/TtSemiSimpleBestJetComb.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
TopQuarkAnalysis/TopJetCombination/src/TtSemiSimpleBestJetComb.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
TopQuarkAnalysis/TopJetCombination/src/TtSemiSimpleBestJetComb.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
// // #include "TopQuarkAnalysis/TopJetCombination/interface/TtSemiSimpleBestJetComb.h" TtSemiSimpleBestJetComb::TtSemiSimpleBestJetComb() {} TtSemiSimpleBestJetComb::~TtSemiSimpleBestJetComb() {} int TtSemiSimpleBestJetComb::operator()(std::vector<TtSemiEvtSolution>& sols) { // search the highest probChi^2 value...
34.217391
104
0.649936
ckamtsikis
b7919637242c503f2e2d26342b5b56d84824bc24
14,642
cpp
C++
depricated/acyclic_graph_nodes.cpp
imikejackson/bingocpp
6ba00a490c8cb46edebfd78f56b1604a76d668e9
[ "Apache-2.0" ]
13
2019-03-14T09:54:02.000Z
2021-09-26T14:01:30.000Z
depricated/acyclic_graph_nodes.cpp
imikejackson/bingocpp
6ba00a490c8cb46edebfd78f56b1604a76d668e9
[ "Apache-2.0" ]
35
2019-08-29T19:12:05.000Z
2021-07-15T22:17:53.000Z
depricated/acyclic_graph_nodes.cpp
imikejackson/bingocpp
6ba00a490c8cb46edebfd78f56b1604a76d668e9
[ "Apache-2.0" ]
9
2018-10-18T02:43:03.000Z
2021-09-02T22:08:39.000Z
/*! * \file acyclic_graph_nodes.cc * * \author Ethan Adams * \date 2/6/2018 * * This file contains the functions associated with each class * implementation of Operation. */ #include "BingoCpp/acyclic_graph_nodes.h" namespace agraphnodes{ namespace { void x_load_evaluate(const Eigen::ArrayX3i &stack, ...
46.044025
99
0.523562
imikejackson
b7962ad897f8c79a4958223474666710ab234556
3,059
cpp
C++
GP/FrmProj.cpp
wsu-cb/cbwindows
55d3797ed0c639b36fe3f677777fcc31e3449360
[ "MIT" ]
4
2020-06-22T16:59:51.000Z
2020-06-28T19:35:23.000Z
GP/FrmProj.cpp
wsu-cb/cbwindows
55d3797ed0c639b36fe3f677777fcc31e3449360
[ "MIT" ]
59
2020-09-12T23:54:16.000Z
2022-03-24T18:51:43.000Z
GP/FrmProj.cpp
wsu-cb/cbwindows
55d3797ed0c639b36fe3f677777fcc31e3449360
[ "MIT" ]
4
2020-06-22T13:37:40.000Z
2021-01-29T12:42:54.000Z
// FrmProg.cpp // // Copyright (c) 1994-2020 By Dale L. Larson, All Rights Reserved. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation...
28.324074
77
0.652501
wsu-cb
b7979d4151b9fc7fe8cc8bc8d2db246cdb4860fc
2,018
hh
C++
include/Apertures/StandardAperturePolygon.hh
aaronbamberger/gerber_rs274x_parser
d2bbd6c66d322ab47715771642255f8302521300
[ "BSD-2-Clause" ]
6
2016-09-28T18:26:42.000Z
2021-04-10T13:19:05.000Z
include/Apertures/StandardAperturePolygon.hh
aaronbamberger/gerber_rs274x_parser
d2bbd6c66d322ab47715771642255f8302521300
[ "BSD-2-Clause" ]
1
2021-02-09T00:24:04.000Z
2021-02-27T22:08:05.000Z
include/Apertures/StandardAperturePolygon.hh
aaronbamberger/gerber_rs274x_parser
d2bbd6c66d322ab47715771642255f8302521300
[ "BSD-2-Clause" ]
5
2017-09-14T09:48:17.000Z
2021-07-19T07:58:34.000Z
/* * Copyright 2021 Aaron Bamberger * Licensed under BSD 2-clause license * See LICENSE file at root of source tree, * or https://opensource.org/licenses/BSD-2-Clause */ #ifndef _STANDARD_APERTURE_POLYGON_H #define _STANDARD_APERTURE_POLYGON_H #include "Apertures/StandardAperture.hh" #include "GlobalDefs.hh" #in...
38.075472
113
0.806739
aaronbamberger
b79d98c9ccf6ae2243b193a04a675881028db9e4
12,562
cpp
C++
core/RTAudio.cpp
amilo/soundcoreA
30b14ce3d34f74c2385126fc244a0c252c3aa4c4
[ "MIT" ]
null
null
null
core/RTAudio.cpp
amilo/soundcoreA
30b14ce3d34f74c2385126fc244a0c252c3aa4c4
[ "MIT" ]
null
null
null
core/RTAudio.cpp
amilo/soundcoreA
30b14ce3d34f74c2385126fc244a0c252c3aa4c4
[ "MIT" ]
null
null
null
/* * RTAudio.cpp * * Central control code for hard real-time audio on BeagleBone Black * using PRU and Xenomai Linux extensions. This code began as part * of the Hackable Instruments project (EPSRC) at Queen Mary University * of London, 2013-14. * * (c) 2014 Victor Zappi and Andrew McPherson * Queen Mar...
29.419204
133
0.71581
amilo
b79dc57c8d87ed9ac355024072cc3b95897d7c8d
412
hpp
C++
src/graphics/index-buffer.hpp
guillaume-haerinck/imac-tower-defense
365a32642ea0d3ad8b2b7d63347d585c44d9f670
[ "MIT" ]
44
2019-06-06T21:33:30.000Z
2022-03-26T06:18:23.000Z
src/graphics/index-buffer.hpp
guillaume-haerinck/imac-tower-defense
365a32642ea0d3ad8b2b7d63347d585c44d9f670
[ "MIT" ]
1
2019-09-27T12:04:52.000Z
2019-09-29T13:30:42.000Z
src/graphics/index-buffer.hpp
guillaume-haerinck/imac-tower-defense
365a32642ea0d3ad8b2b7d63347d585c44d9f670
[ "MIT" ]
8
2019-07-26T16:44:26.000Z
2020-11-24T17:56:18.000Z
#pragma once class IndexBuffer { private: unsigned int m_rendererID; unsigned int m_count; public: IndexBuffer(); IndexBuffer(const unsigned int* data, unsigned int count); ~IndexBuffer(); void init(const unsigned int* data, unsigned int count); void bind() const; void unbind() const; inline unsigned int g...
20.6
59
0.735437
guillaume-haerinck
b7a22fa08bec171c2ca858844c1000ccdf52d83e
9,456
cpp
C++
Tools/DumpRenderTree/mg/LayoutTestControllerMg.cpp
VincentWei/mdolphin-core
48ffdcf587a48a7bb4345ae469a45c5b64ffad0e
[ "Apache-2.0" ]
6
2017-05-31T01:46:45.000Z
2018-06-12T10:53:30.000Z
Tools/Tools/DumpRenderTree/mg/LayoutTestControllerMg.cpp
FMSoftCN/mdolphin-core
48ffdcf587a48a7bb4345ae469a45c5b64ffad0e
[ "Apache-2.0" ]
null
null
null
Tools/Tools/DumpRenderTree/mg/LayoutTestControllerMg.cpp
FMSoftCN/mdolphin-core
48ffdcf587a48a7bb4345ae469a45c5b64ffad0e
[ "Apache-2.0" ]
2
2017-07-17T06:02:42.000Z
2018-09-19T10:08:38.000Z
#include "minigui.h" #include "config.h" #include "mdolphin.h" #include "LayoutTestController.h" #include "DumpRenderTree.h" #include "WorkQueue.h" #include "WorkQueueItem.h" #include <JavaScriptCore/JSRetainPtr.h> #include <JavaScriptCore/JSStringRef.h> #include <stdio.h> LayoutTestController::~LayoutTestControll...
21.393665
180
0.769353
VincentWei
b7a6d58765808f0bc9e9d6961d800f875ee4e177
740
cpp
C++
Difficulty 1/luhn_check_sum.cpp
BrynjarGeir/Kattis
a151972cbae3db04a8e6764d5fa468d0146c862b
[ "MIT" ]
null
null
null
Difficulty 1/luhn_check_sum.cpp
BrynjarGeir/Kattis
a151972cbae3db04a8e6764d5fa468d0146c862b
[ "MIT" ]
null
null
null
Difficulty 1/luhn_check_sum.cpp
BrynjarGeir/Kattis
a151972cbae3db04a8e6764d5fa468d0146c862b
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { int tests; cin >> tests; for (int j = 0; j < tests; j++) { string number; int curr_number, ans = 0; cin >> number; int size = number.size(); bool second = false; for(int i = 1; i <= size; i++) { ...
23.870968
57
0.412162
BrynjarGeir
b7a7a97dc4621a06fda2b867d490ded5d636c919
545
cpp
C++
examples/multithreading/bots/abstractbot.cpp
mamontov-cpp/saddy
f20a0030e18af9e0714fe56c19407fbeacc529a7
[ "BSD-2-Clause" ]
58
2015-08-09T14:56:35.000Z
2022-01-15T22:06:58.000Z
examples/multithreading/bots/abstractbot.cpp
mamontov-cpp/saddy-graphics-engine-2d
e25a6637fcc49cb26614bf03b70e5d03a3a436c7
[ "BSD-2-Clause" ]
245
2015-08-08T08:44:22.000Z
2022-01-04T09:18:08.000Z
examples/multithreading/bots/abstractbot.cpp
mamontov-cpp/saddy
f20a0030e18af9e0714fe56c19407fbeacc529a7
[ "BSD-2-Clause" ]
23
2015-12-06T03:57:49.000Z
2020-10-12T14:15:50.000Z
#include "abstractbot.h" bots::AbstractBot::AbstractBot() : m_strategy(nullptr) { } bots::AbstractBot::~AbstractBot() { if (m_strategy) { m_strategy->delRef(); } } void bots::AbstractBot::setStrategy(bots::shootingstrategies::ShootingStrategy* strategy) { if (m_strategy) { m_...
16.515152
89
0.638532
mamontov-cpp
b7a7d9bfa1ca14ba95e3be793dbe511dce52eeb9
3,058
cpp
C++
third_party/WebKit/Source/modules/fetch/FetchResponseDataTest.cpp
wenfeifei/miniblink49
2ed562ff70130485148d94b0e5f4c343da0c2ba4
[ "Apache-2.0" ]
5,964
2016-09-27T03:46:29.000Z
2022-03-31T16:25:27.000Z
third_party/WebKit/Source/modules/fetch/FetchResponseDataTest.cpp
w4454962/miniblink49
b294b6eacb3333659bf7b94d670d96edeeba14c0
[ "Apache-2.0" ]
459
2016-09-29T00:51:38.000Z
2022-03-07T14:37:46.000Z
third_party/WebKit/Source/modules/fetch/FetchResponseDataTest.cpp
w4454962/miniblink49
b294b6eacb3333659bf7b94d670d96edeeba14c0
[ "Apache-2.0" ]
1,006
2016-09-27T05:17:27.000Z
2022-03-30T02:46:51.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 "config.h" #include "modules/fetch/FetchResponseData.h" #include "core/dom/DOMArrayBuffer.h" #include "modules/fetch/FetchHeaderList.h" #include...
37.292683
93
0.773381
wenfeifei
b7a8f645c57e2970d5f4437928de8934fc50f6de
619
cpp
C++
test/ordinal/container/ordinal_range/ordinal_range_pass.cpp
jwakely/std-make
f09d052983ace70cf371bb8ddf78d4f00330bccd
[ "BSL-1.0" ]
105
2015-01-24T13:26:41.000Z
2022-02-18T15:36:53.000Z
test/ordinal/container/ordinal_range/ordinal_range_pass.cpp
jwakely/std-make
f09d052983ace70cf371bb8ddf78d4f00330bccd
[ "BSL-1.0" ]
37
2015-09-04T06:57:10.000Z
2021-09-09T18:01:44.000Z
test/ordinal/container/ordinal_range/ordinal_range_pass.cpp
jwakely/std-make
f09d052983ace70cf371bb8ddf78d4f00330bccd
[ "BSL-1.0" ]
23
2015-01-27T11:09:18.000Z
2021-10-04T02:23:30.000Z
// Copyright (C) 2016 Vicente J. Botet Escriba // // 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) // <experimental/ordinal_range.hpp> #include <experimental/ordinal_range.hpp> #include "../../Bool.hpp" #include ...
22.107143
80
0.688207
jwakely
b7a9300cdebc7c1525815268a60aec7818d1097c
705
cpp
C++
source/pkgsrc/lang/openjdk8/patches/patch-hotspot_src_share_vm_utilities_hashtable.cpp
Scottx86-64/dotfiles-1
51004b1e2b032664cce6b553d2052757c286087d
[ "Unlicense" ]
1
2021-11-20T22:46:39.000Z
2021-11-20T22:46:39.000Z
source/pkgsrc/lang/openjdk8/patches/patch-hotspot_src_share_vm_utilities_hashtable.cpp
Scottx86-64/dotfiles-1
51004b1e2b032664cce6b553d2052757c286087d
[ "Unlicense" ]
null
null
null
source/pkgsrc/lang/openjdk8/patches/patch-hotspot_src_share_vm_utilities_hashtable.cpp
Scottx86-64/dotfiles-1
51004b1e2b032664cce6b553d2052757c286087d
[ "Unlicense" ]
null
null
null
$NetBSD: patch-hotspot_src_share_vm_utilities_hashtable.cpp,v 1.1 2015/07/03 20:40:59 fhajny Exp $ Delete obsolete (and now harmful) SunOS code. --- hotspot/src/share/vm/utilities/hashtable.cpp.orig 2015-06-10 10:31:47.000000000 +0000 +++ hotspot/src/share/vm/utilities/hashtable.cpp @@ -364,7 +364,7 @@ template class...
44.0625
98
0.780142
Scottx86-64
b7a949166a0b0b094aafdef28e98cab9985b4041
2,727
cpp
C++
src/3d/qgscamerapose.cpp
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
null
null
null
src/3d/qgscamerapose.cpp
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
null
null
null
src/3d/qgscamerapose.cpp
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
1
2021-12-25T08:40:30.000Z
2021-12-25T08:40:30.000Z
/*************************************************************************** qgscamerapose.cpp -------------------------------------- Date : July 2018 Copyright : (C) 2018 by Martin Dobias Email : wonder dot sk at gmail dot com ***************************************...
47.017241
118
0.582325
dyna-mis
b7aa44e2c5d0931d4fa140cf37788bc7d4ed7ae3
3,393
cpp
C++
sumo/src/netbuild/NBPTLine.cpp
iltempe/osmosi
c0f54ecdbb7c7b5602d587768617d0dc50f1d75d
[ "MIT" ]
null
null
null
sumo/src/netbuild/NBPTLine.cpp
iltempe/osmosi
c0f54ecdbb7c7b5602d587768617d0dc50f1d75d
[ "MIT" ]
null
null
null
sumo/src/netbuild/NBPTLine.cpp
iltempe/osmosi
c0f54ecdbb7c7b5602d587768617d0dc50f1d75d
[ "MIT" ]
2
2017-12-14T16:41:59.000Z
2020-10-16T17:51:27.000Z
/****************************************************************************/ /// @file NBPTLine.cpp /// @author Gregor Laemmel /// @author Nikita Cherednychek /// @date Tue, 20 Mar 2017 /// @version $Id$ /// // The representation of one direction of a single pt line /******************************************...
31.12844
100
0.61008
iltempe
b7abb6c084120928b4a69973d6c300eb896ff568
128
hpp
C++
command.hpp
RustedBot/Pong
8e75d64b306cc4c3db433061dd2e3418b7102354
[ "MIT" ]
null
null
null
command.hpp
RustedBot/Pong
8e75d64b306cc4c3db433061dd2e3418b7102354
[ "MIT" ]
null
null
null
command.hpp
RustedBot/Pong
8e75d64b306cc4c3db433061dd2e3418b7102354
[ "MIT" ]
null
null
null
#ifndef COMMAND_H #define COMMAND_H class Command { public: virtual void execute() = 0; private: }; #endif // COMMAND_H
9.142857
31
0.6875
RustedBot
b7ac8ed336791554465e3ec0a3097ef8fd5e260e
681
cpp
C++
acmicpc/1289.cpp
juseongkr/BOJ
8f10a2bf9a7d695455493fbe7423347a8b648416
[ "Apache-2.0" ]
7
2020-02-03T10:00:19.000Z
2021-11-16T11:03:57.000Z
acmicpc/1289.cpp
juseongkr/Algorithm-training
8f10a2bf9a7d695455493fbe7423347a8b648416
[ "Apache-2.0" ]
1
2021-01-03T06:58:24.000Z
2021-01-03T06:58:24.000Z
acmicpc/1289.cpp
juseongkr/Algorithm-training
8f10a2bf9a7d695455493fbe7423347a8b648416
[ "Apache-2.0" ]
1
2020-01-22T14:34:03.000Z
2020-01-22T14:34:03.000Z
#include <iostream> #include <vector> using namespace std; #define MAX 100001 const long long MOD = 1e9+7; long long ans; vector<pair<int, int>> graph[MAX]; long long dfs(int cur, int prev) { int ret = 1; for (int i=0; i<graph[cur].size(); ++i) { int next = graph[cur][i].first; int cost = graph[cur][i].second; ...
16.214286
49
0.549192
juseongkr
b7b27c4f1b45ed4307d51498b4c671fc08275c12
12,430
cc
C++
remoting/jingle_glue/jingle_client.cc
meego-tablet-ux/meego-app-browser
0f4ef17bd4b399c9c990a2f6ca939099495c2b9c
[ "BSD-3-Clause" ]
1
2015-10-12T09:14:22.000Z
2015-10-12T09:14:22.000Z
remoting/jingle_glue/jingle_client.cc
meego-tablet-ux/meego-app-browser
0f4ef17bd4b399c9c990a2f6ca939099495c2b9c
[ "BSD-3-Clause" ]
null
null
null
remoting/jingle_glue/jingle_client.cc
meego-tablet-ux/meego-app-browser
0f4ef17bd4b399c9c990a2f6ca939099495c2b9c
[ "BSD-3-Clause" ]
1
2020-11-04T07:22:28.000Z
2020-11-04T07:22:28.000Z
// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "remoting/jingle_glue/jingle_client.h" #include "base/logging.h" #include "base/message_loop.h" #include "base/string_util.h" #include "jing...
33.146667
81
0.708045
meego-tablet-ux
5d9a76fabdd5f79b03fb5b4e69757d24f1f55a0f
5,766
cpp
C++
src/resqml2_0_1/NonSealedSurfaceFrameworkRepresentation.cpp
ringmesh/fesapi
0b518e71f805f35679a65c78332b5cb64ed97830
[ "Apache-2.0" ]
null
null
null
src/resqml2_0_1/NonSealedSurfaceFrameworkRepresentation.cpp
ringmesh/fesapi
0b518e71f805f35679a65c78332b5cb64ed97830
[ "Apache-2.0" ]
null
null
null
src/resqml2_0_1/NonSealedSurfaceFrameworkRepresentation.cpp
ringmesh/fesapi
0b518e71f805f35679a65c78332b5cb64ed97830
[ "Apache-2.0" ]
null
null
null
/*----------------------------------------------------------------------- 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 ...
41.482014
208
0.776968
ringmesh
5d9a9dd797a42e7794f2b88dd787c4a107c2ccc5
1,983
cpp
C++
dnn_project/dnn/util/spikes_list.cpp
alexeyche/dnn_old
58305cf486187575312cef0a753c86a8c7792196
[ "MIT" ]
null
null
null
dnn_project/dnn/util/spikes_list.cpp
alexeyche/dnn_old
58305cf486187575312cef0a753c86a8c7792196
[ "MIT" ]
null
null
null
dnn_project/dnn/util/spikes_list.cpp
alexeyche/dnn_old
58305cf486187575312cef0a753c86a8c7792196
[ "MIT" ]
null
null
null
#include "spikes_list.h" #include <dnn/base/factory.h> namespace dnn { Ptr<TimeSeries> SpikesList::convertToBinaryTimeSeries(const double &dt) const { Ptr<TimeSeries> out(Factory::inst().createObject<TimeSeries>()); out->info = info; out->setDimSize(seq.size()); double max_spike_time = std::numeri...
34.789474
113
0.476551
alexeyche