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
109
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
48.5k
⌀
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
6aea8b6a0bafabb4fb79f493d0bc7993e3bfe29b
960
hpp
C++
Volt/src/Volt/Logger.hpp
Oxydros/Volt
e87eba5711c78be0ee4e6eb3edc67c1fcdb8e416
[ "Apache-2.0" ]
null
null
null
Volt/src/Volt/Logger.hpp
Oxydros/Volt
e87eba5711c78be0ee4e6eb3edc67c1fcdb8e416
[ "Apache-2.0" ]
null
null
null
Volt/src/Volt/Logger.hpp
Oxydros/Volt
e87eba5711c78be0ee4e6eb3edc67c1fcdb8e416
[ "Apache-2.0" ]
null
null
null
#pragma once #include "spdlog/spdlog.h" #include "spdlog/sinks/stdout_color_sinks.h" namespace Volt { class Logger { public: static void Initialize() { #ifdef VOLT_DEBUG VoltLogger->set_level(spdlog::level::debug); #else VoltLogger-...
29.090909
72
0.623958
Oxydros
6aefe3a31b57e4c46181788af8de846c32dd9929
1,212
hpp
C++
include/oddlib/bits_ae_pc.hpp
mouzedrift/alive
7c297a39c60e930933c0a93ea373226907f8b1c7
[ "MIT" ]
131
2015-03-21T14:10:21.000Z
2021-01-19T03:54:04.000Z
include/oddlib/bits_ae_pc.hpp
mouzedrift/alive
7c297a39c60e930933c0a93ea373226907f8b1c7
[ "MIT" ]
51
2015-04-06T17:24:45.000Z
2018-02-03T14:36:37.000Z
include/oddlib/bits_ae_pc.hpp
mouzedrift/alive
7c297a39c60e930933c0a93ea373226907f8b1c7
[ "MIT" ]
17
2015-10-07T10:20:47.000Z
2021-08-02T04:14:11.000Z
#pragma once #include "sdl_raii.hpp" #include "oddlib/bits_factory.hpp" #include <vector> namespace Oddlib { class IStream; struct BitsLogic; class AeBitsPc : public IBits { public: AeBitsPc(const AeBitsPc&) = delete; AeBitsPc& operator = (const AeBitsPc&) = delete; AeBits...
30.3
120
0.660066
mouzedrift
6af38b98f78f44a6510c3349a3713f13ad830dba
487
cpp
C++
genecode/Weapon.cpp
AlexeyTyurenkov/GeneCode
08ca7e9c909dca237c8004371892954b632920f4
[ "MIT" ]
null
null
null
genecode/Weapon.cpp
AlexeyTyurenkov/GeneCode
08ca7e9c909dca237c8004371892954b632920f4
[ "MIT" ]
null
null
null
genecode/Weapon.cpp
AlexeyTyurenkov/GeneCode
08ca7e9c909dca237c8004371892954b632920f4
[ "MIT" ]
null
null
null
// // Weapon.cpp // genecode // // Created by Aleksey Tyurenkov on 10/2/15. // Copyright © 2015 com.ovt. All rights reserved. // #include "Weapon.hpp" bool Weapon::canRemove(Weapon* weapon) { return weapon->shouldRemove(); } bool Weapon::isHitEnemy(double ourSpeed, double enemySpeed) { double probability...
22.136364
78
0.679671
AlexeyTyurenkov
6af59f0dfbb7a0c673a8860f7785135910fabfe7
15,640
cpp
C++
Tests/DiligentCoreAPITest/src/D3D12/MeshShaderReferenceD3D12.cpp
Zone-organization/DiligentCore
a9091a1848492ae1aecece3a955badf9367b189f
[ "Apache-2.0" ]
398
2016-04-21T03:38:50.000Z
2022-03-23T15:27:31.000Z
Tests/DiligentCoreAPITest/src/D3D12/MeshShaderReferenceD3D12.cpp
Zone-organization/DiligentCore
a9091a1848492ae1aecece3a955badf9367b189f
[ "Apache-2.0" ]
275
2017-12-27T04:11:55.000Z
2022-03-30T07:35:11.000Z
Tests/DiligentCoreAPITest/src/D3D12/MeshShaderReferenceD3D12.cpp
Zone-organization/DiligentCore
a9091a1848492ae1aecece3a955badf9367b189f
[ "Apache-2.0" ]
139
2017-09-13T06:19:49.000Z
2022-03-28T15:01:20.000Z
/* * Copyright 2019-2021 Diligent Graphics LLC * Copyright 2015-2019 Egor Yusov * * 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....
42.5
246
0.730435
Zone-organization
6af5b5ea9ebdaa1ceb51c40dc48d61a906729e91
6,428
cpp
C++
tests/NovelRT.Tests/Maths/GeoMatrix4x4Test.cpp
chococookies131/NovelRT
1e9b72abf53391a9d86f7fd3e171599e820de2a2
[ "MIT" ]
null
null
null
tests/NovelRT.Tests/Maths/GeoMatrix4x4Test.cpp
chococookies131/NovelRT
1e9b72abf53391a9d86f7fd3e171599e820de2a2
[ "MIT" ]
null
null
null
tests/NovelRT.Tests/Maths/GeoMatrix4x4Test.cpp
chococookies131/NovelRT
1e9b72abf53391a9d86f7fd3e171599e820de2a2
[ "MIT" ]
null
null
null
// Copyright © Matt Jones and Contributors. Licensed under the MIT License (MIT). See LICENCE.md in the repository root for more information. #include <gtest/gtest.h> #include <NovelRT.h> using namespace NovelRT; using namespace NovelRT::Maths; class GeoMatrix4x4Test : public testing::Test { protected: GeoMatrix4x...
50.614173
150
0.760423
chococookies131
6afb31616ebde7ddbf23c2b5f62541b7e9458836
18,563
cpp
C++
tst/cfgitems_tests_with_cfgfile.cpp
lukasz-wiecaszek/cfgitems
3cd22828b8d78ca69b6d7685455103c97439a6d9
[ "MIT" ]
null
null
null
tst/cfgitems_tests_with_cfgfile.cpp
lukasz-wiecaszek/cfgitems
3cd22828b8d78ca69b6d7685455103c97439a6d9
[ "MIT" ]
null
null
null
tst/cfgitems_tests_with_cfgfile.cpp
lukasz-wiecaszek/cfgitems
3cd22828b8d78ca69b6d7685455103c97439a6d9
[ "MIT" ]
null
null
null
/* SPDX-License-Identifier: MIT */ /** * @file cfgitems_tests_with_cfgfile.c * * @author Lukasz Wiecaszek <lukasz.wiecaszek@gmail.com> */ /*===========================================================================*\ * system header files \*========================================================================...
36.541339
101
0.658514
lukasz-wiecaszek
1394bc17735758d3610da2edb5674ce1042f7e17
10,151
cpp
C++
AGL/Texture.cpp
wolfprint3d/AlphaGL
d47ed65b529bfb13775de0599499951c8feabbf1
[ "MIT" ]
2
2018-12-19T11:40:16.000Z
2018-12-19T14:15:12.000Z
AGL/Texture.cpp
wolfprint3d/AlphaGL
d47ed65b529bfb13775de0599499951c8feabbf1
[ "MIT" ]
null
null
null
AGL/Texture.cpp
wolfprint3d/AlphaGL
d47ed65b529bfb13775de0599499951c8feabbf1
[ "MIT" ]
2
2018-10-18T11:49:04.000Z
2019-12-02T22:35:05.000Z
#include "Texture.h" #include "OpenGL.h" #include <rpp/file_io.h> namespace AGL { using std::swap; using std::move; using namespace rpp::literals; using rpp::ushort; using rpp::ulong; //////////////////////////////////////////////////////////////////////////////// bool Texture::GPUCompress...
31.623053
109
0.555413
wolfprint3d
1395325a97a537fee4892537d142c23751e0cde3
1,202
cpp
C++
algorithms/Sorting/Order_Statistics/Order_Statistics.cpp
abKhale/algorithms_with_git
a05f7dc9f3cd10ed7b4d21f3c3f223470b65f960
[ "MIT" ]
19
2018-11-27T14:45:24.000Z
2022-03-29T10:36:31.000Z
algorithms/Sorting/Order_Statistics/Order_Statistics.cpp
mridullpandey/algorithms_with_git
a05f7dc9f3cd10ed7b4d21f3c3f223470b65f960
[ "MIT" ]
83
2018-12-01T19:44:08.000Z
2019-01-08T19:20:32.000Z
algorithms/Sorting/Order_Statistics/Order_Statistics.cpp
mridullpandey/algorithms_with_git
a05f7dc9f3cd10ed7b4d21f3c3f223470b65f960
[ "MIT" ]
93
2018-11-22T18:46:33.000Z
2020-10-28T11:09:44.000Z
#include<iostream> #include<climits> #include<cstdlib> #include<bits/stdc++.h> using namespace std; int randomPartition(int arr[], int l, int r); int kthSmallest(int arr[], int l, int r, int k) { if (k > 0 && k <= r - l + 1) { int pos = randomPartition(arr, l, r); if (pos-l == k-1) return arr[pos]...
16.929577
77
0.527454
abKhale
1396cad426f948ae518aeb48a277acfc99edc408
683
hpp
C++
include/GroupLength.hpp
marcosivni/dicomlib
dd268d07368ff4f1ffd1f94cdaa1e2dbf30bc5c7
[ "BSD-3-Clause" ]
null
null
null
include/GroupLength.hpp
marcosivni/dicomlib
dd268d07368ff4f1ffd1f94cdaa1e2dbf30bc5c7
[ "BSD-3-Clause" ]
null
null
null
include/GroupLength.hpp
marcosivni/dicomlib
dd268d07368ff4f1ffd1f94cdaa1e2dbf30bc5c7
[ "BSD-3-Clause" ]
null
null
null
/************************************************************************ * DICOMLIB * Copyright 2003 Sunnybrook and Women's College Health Science Center * Implemented by Trevor Morgan (morgan@sten.sunnybrook.utoronto.ca) * * See LICENSE.txt for copyright and licensing info. ******************************************...
28.458333
74
0.642753
marcosivni
13a0bd5aaaf1286e7bbdfe1890cfe52dba02db30
1,273
cpp
C++
tools/node/ServiceDelegate.cpp
frankencode/fluxkit
0436454f0791d8fddf8e0adc383ef7c54080245d
[ "BSD-3-Clause" ]
3
2016-02-10T04:58:32.000Z
2020-09-15T06:39:43.000Z
tools/node/ServiceDelegate.cpp
frankencode/fluxkit
0436454f0791d8fddf8e0adc383ef7c54080245d
[ "BSD-3-Clause" ]
null
null
null
tools/node/ServiceDelegate.cpp
frankencode/fluxkit
0436454f0791d8fddf8e0adc383ef7c54080245d
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (C) 2007-2015 Frank Mertens. * * Use of this source is governed by a BSD-style license that can be * found in the LICENSE file. * */ #include "Response.h" #include "ServiceWorker.h" #include "ServiceDelegate.h" namespace fluxnode { ServiceDelegate::ServiceDelegate(ServiceWorker *worker): wor...
18.185714
68
0.714847
frankencode
13b4391be56bc7fa46bc8b799c1f35a38eafebd4
45,375
cpp
C++
gen/blink/bindings/modules/v8/V8NavigatorPartial.cpp
gergul/MiniBlink
7a11c52f141d54d5f8e1a9af31867cd120a2c3c4
[ "Apache-2.0" ]
8
2019-05-05T16:38:05.000Z
2021-11-09T11:45:38.000Z
gen/blink/bindings/modules/v8/V8NavigatorPartial.cpp
gergul/MiniBlink
7a11c52f141d54d5f8e1a9af31867cd120a2c3c4
[ "Apache-2.0" ]
null
null
null
gen/blink/bindings/modules/v8/V8NavigatorPartial.cpp
gergul/MiniBlink
7a11c52f141d54d5f8e1a9af31867cd120a2c3c4
[ "Apache-2.0" ]
4
2018-12-14T07:52:46.000Z
2021-06-11T18:06:09.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. // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! #include "config.h" #include "V8NavigatorPartial.h" #include "bindings/core...
49.590164
318
0.75189
gergul
13bd8f83f49dff5d51c13f2b95399906b1010f14
1,952
cpp
C++
item.cpp
JasonMRash/Deterioration
7b31f90a4896cf1a075d55c2724ce4f29397dc63
[ "Unlicense" ]
null
null
null
item.cpp
JasonMRash/Deterioration
7b31f90a4896cf1a075d55c2724ce4f29397dc63
[ "Unlicense" ]
null
null
null
item.cpp
JasonMRash/Deterioration
7b31f90a4896cf1a075d55c2724ce4f29397dc63
[ "Unlicense" ]
null
null
null
/****************************************************************************** * Program name: Final Project Text Based Game * Author: Jason Rash * Date: 8-13-19 * Description: Implementation for Item class. ******************************************************************************/ #include "item.hpp" /*****...
39.04
79
0.366291
JasonMRash
13bee28ba5731fe50caaf105803c2c4856d56b50
92
cpp
C++
Prova di Esame/PipolFromIbiza/src/Persone.cpp
LucaMazzei88/CefiCourse
1ed516b6cdbd72fd5197c7fe876005fbb27dea71
[ "Apache-2.0" ]
null
null
null
Prova di Esame/PipolFromIbiza/src/Persone.cpp
LucaMazzei88/CefiCourse
1ed516b6cdbd72fd5197c7fe876005fbb27dea71
[ "Apache-2.0" ]
null
null
null
Prova di Esame/PipolFromIbiza/src/Persone.cpp
LucaMazzei88/CefiCourse
1ed516b6cdbd72fd5197c7fe876005fbb27dea71
[ "Apache-2.0" ]
null
null
null
#include "Persone.h" Persone::Persone() { //ctor } Persone::~Persone() { //dtor }
7.666667
20
0.554348
LucaMazzei88
13c0ce8fd71b9dc46b5f36e70a5e75f30ab55bde
14,599
cpp
C++
gnkspi/Queue.cpp
gera-k/gnkspi
4dab5b15976b12f3edbfef3de7ba54f212c405b2
[ "MIT" ]
6
2015-11-19T04:11:21.000Z
2019-01-07T06:42:51.000Z
gnkspi/Queue.cpp
gera-k/gnkspi
4dab5b15976b12f3edbfef3de7ba54f212c405b2
[ "MIT" ]
null
null
null
gnkspi/Queue.cpp
gera-k/gnkspi
4dab5b15976b12f3edbfef3de7ba54f212c405b2
[ "MIT" ]
1
2018-11-30T17:13:03.000Z
2018-11-30T17:13:03.000Z
/******************************************************************************** The MIT License(MIT) Copyright(c) 2015 Gera Kazakov 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 restri...
30.670168
100
0.602302
gera-k
13c19b1424a1088754881823f32eb35d756ca6a3
5,093
cpp
C++
aws-cpp-sdk-elasticmapreduce/source/model/InstanceTypeSpecification.cpp
curiousjgeorge/aws-sdk-cpp
09b65deba03cfbef9a1e5d5986aa4de71bc03cd8
[ "Apache-2.0" ]
2
2019-03-11T15:50:55.000Z
2020-02-27T11:40:27.000Z
aws-cpp-sdk-elasticmapreduce/source/model/InstanceTypeSpecification.cpp
curiousjgeorge/aws-sdk-cpp
09b65deba03cfbef9a1e5d5986aa4de71bc03cd8
[ "Apache-2.0" ]
null
null
null
aws-cpp-sdk-elasticmapreduce/source/model/InstanceTypeSpecification.cpp
curiousjgeorge/aws-sdk-cpp
09b65deba03cfbef9a1e5d5986aa4de71bc03cd8
[ "Apache-2.0" ]
1
2019-01-18T13:03:55.000Z
2019-01-18T13:03:55.000Z
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
27.983516
126
0.766935
curiousjgeorge
13c74073c5867fcdd0af37edce0e6dbdf8b18b17
4,373
cpp
C++
src/particle/Compute/ComputePipeline.cpp
florianvazelle/vk3DLoader
2492f2b8b05d028012dbf2ae14afda2ca399b8de
[ "Unlicense" ]
null
null
null
src/particle/Compute/ComputePipeline.cpp
florianvazelle/vk3DLoader
2492f2b8b05d028012dbf2ae14afda2ca399b8de
[ "Unlicense" ]
null
null
null
src/particle/Compute/ComputePipeline.cpp
florianvazelle/vk3DLoader
2492f2b8b05d028012dbf2ae14afda2ca399b8de
[ "Unlicense" ]
null
null
null
// clang-format off #include <particle/Compute/ComputePipeline.hpp> #include <ClearGrid_comp.h> #include <P2G_comp.h> #include <UpdateGrid_comp.h> #include <G2P_comp.h> #include <common/DescriptorSetLayout.hpp> // for DescriptorSetLayout #include <common/Device.hpp> // for Device #i...
36.747899
108
0.688543
florianvazelle
13c795c958c5b051aea03a11a16cc19a8eebac17
978
cpp
C++
codeforces/1327A.cpp
sgrade/cpptest
84ade6ec03ea394d4a4489c7559d12b4799c0b62
[ "MIT" ]
null
null
null
codeforces/1327A.cpp
sgrade/cpptest
84ade6ec03ea394d4a4489c7559d12b4799c0b62
[ "MIT" ]
null
null
null
codeforces/1327A.cpp
sgrade/cpptest
84ade6ec03ea394d4a4489c7559d12b4799c0b62
[ "MIT" ]
null
null
null
// A. Sum of Odd Integers #include <iostream> using namespace std; int main(){ int t; cin >> t; while(t--){ long long n, k; cin >> n >> k; bool answer = false; /* bool nIsOdd = n%2 == 0 ? false : true; bool kIsOdd = k%2 == 0 ? false : true; ...
21.26087
59
0.477505
sgrade
13c7ee9ffbfeb29617b68cbd17f73809fef74fa4
640
cpp
C++
Array/Count Frequency Of All Elements.cpp
shouryagupta21/Fork_CPP
8f5baed045ef430cca19d871c8854abc3b6ad44f
[ "MIT" ]
8
2021-02-14T13:13:27.000Z
2022-01-08T23:58:32.000Z
Array/Count Frequency Of All Elements.cpp
shouryagupta21/Fork_CPP
8f5baed045ef430cca19d871c8854abc3b6ad44f
[ "MIT" ]
17
2021-02-28T17:03:50.000Z
2021-10-19T13:02:03.000Z
Array/Count Frequency Of All Elements.cpp
shouryagupta21/Fork_CPP
8f5baed045ef430cca19d871c8854abc3b6ad44f
[ "MIT" ]
15
2021-03-01T03:54:29.000Z
2021-10-19T18:29:00.000Z
// IP:- arr[] = {10,10,10,25,30,30} // OP:- 10 1 // 25 1 // 30 2 // IP:- {10,10,10,10} // OP:- 10 4 #include <iostream> using namespace std; void freqCount(int arr[], int n){ int freq = 1, i =1; while(i<n){ while(i<n && arr[i] == arr[i-1]){ freq++; i++; } ...
17.777778
62
0.43125
shouryagupta21
13ce9fca26b82fe7bf54c685ea3299aa246e47e8
3,940
cpp
C++
cpp/src/dotcpp-test/dot/test/noda_time/local_date_time_test.cpp
dotcpp/dotcpp
ba786aa072dd0612f5249de63f80bc540203840e
[ "Apache-2.0" ]
4
2019-08-08T03:53:37.000Z
2021-01-31T06:51:56.000Z
cpp/src/dotcpp-test/dot/test/noda_time/local_date_time_test.cpp
compatibl/dotcpp-mongo
e329e5a0523577b0d1f36c82d5caaac2e92e1023
[ "Apache-2.0" ]
null
null
null
cpp/src/dotcpp-test/dot/test/noda_time/local_date_time_test.cpp
compatibl/dotcpp-mongo
e329e5a0523577b0d1f36c82d5caaac2e92e1023
[ "Apache-2.0" ]
1
2015-03-28T15:52:01.000Z
2015-03-28T15:52:01.000Z
/* Copyright (C) 2015-present The DotCpp Authors. This file is part of .C++, a native C++ implementation of popular .NET class library APIs developed to facilitate code reuse between C# and C++. http://github.com/dotcpp/dotcpp (source) http://dotcpp.org (documentation) Licensed under the Apache License, Vers...
34.561404
95
0.610914
dotcpp
13cff78e99002b97d0e9ec43482b73d499d40d70
1,205
cpp
C++
CSES/CSES 1749.cpp
jawahiir98/CP
a32566554949cd12a62151f90ac3b82b67275cac
[ "MIT" ]
null
null
null
CSES/CSES 1749.cpp
jawahiir98/CP
a32566554949cd12a62151f90ac3b82b67275cac
[ "MIT" ]
null
null
null
CSES/CSES 1749.cpp
jawahiir98/CP
a32566554949cd12a62151f90ac3b82b67275cac
[ "MIT" ]
null
null
null
/* /\ In The Name Of Allah /\ Author : Jawahiir Nabhan */ #include <bits/stdc++.h> #define pb push_back using namespace std; typedef long long ll; const char nl = '\n'; const int E = 2e5 + 10; vector <ll> a,tree(4 * E); void build(int at,int L,int R) { if(L == R){tree[at] = 1; return; } int M = (L + R)...
23.627451
64
0.477178
jawahiir98
13d36827e589abc0232b702a1ba7afb02d2511a7
1,449
cpp
C++
Hackerrank/Day of the Programmer/Solution.cpp
Rupali409/CPP-Questions-and-Solutions
a42664302f18b7d99aac2501bcf956950e3cc61a
[ "MIT" ]
42
2021-09-26T18:02:52.000Z
2022-03-15T01:52:15.000Z
Hackerrank/Day of the Programmer/Solution.cpp
Rupali409/CPP-Questions-and-Solutions
a42664302f18b7d99aac2501bcf956950e3cc61a
[ "MIT" ]
404
2021-09-24T19:55:10.000Z
2021-11-03T05:47:47.000Z
Hackerrank/Day of the Programmer/Solution.cpp
Rupali409/CPP-Questions-and-Solutions
a42664302f18b7d99aac2501bcf956950e3cc61a
[ "MIT" ]
140
2021-09-22T20:50:04.000Z
2022-01-22T16:59:09.000Z
#include <iostream> #include <string> using namespace std; int main(){ int y; cin >> y; string s = "12.09."; //as Programmer's day will always be in the month of september, we create a string already containing date 12 and month September if (y < 1918){ if (y%4 == 0){ //before 1918,...
36.225
183
0.52381
Rupali409
13d6cc62db27dbe02b7cad3395b6726274921926
15,702
cpp
C++
source/lightspace/private/shapes.cpp
gitbetter/Lightspace
b00a29e2aac64cfac87ca30d2d053559d84289df
[ "MIT" ]
null
null
null
source/lightspace/private/shapes.cpp
gitbetter/Lightspace
b00a29e2aac64cfac87ca30d2d053559d84289df
[ "MIT" ]
null
null
null
source/lightspace/private/shapes.cpp
gitbetter/Lightspace
b00a29e2aac64cfac87ca30d2d053559d84289df
[ "MIT" ]
null
null
null
#include "shapes.hpp" namespace ls { f_point shape::world_to_object( const f_point& p ) const noexcept { auto pnt = p; if ( !_parent.expired() ) { pnt = _parent.lock()->world_to_object( pnt ); } return _transform.inverse() * pnt; } f_vector shape::no...
32.644491
120
0.51331
gitbetter
13d8a68257d4f680d26d4d890839277e49b553fe
4,882
hxx
C++
couchbase/origin.hxx
raycardillo/couchbase-cxx-client
885149ed738329d9a870d50fded04905a100c4ab
[ "Apache-2.0" ]
null
null
null
couchbase/origin.hxx
raycardillo/couchbase-cxx-client
885149ed738329d9a870d50fded04905a100c4ab
[ "Apache-2.0" ]
null
null
null
couchbase/origin.hxx
raycardillo/couchbase-cxx-client
885149ed738329d9a870d50fded04905a100c4ab
[ "Apache-2.0" ]
null
null
null
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2020-2021 Couchbase, 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 * * ...
26.247312
128
0.613068
raycardillo
13d928349e6208f7a729447d016d633837cd0a07
603
hpp
C++
src/physics/charge.hpp
svlv/elfield
612e21dc74a82306cd2a623a54af1412936999e7
[ "MIT" ]
null
null
null
src/physics/charge.hpp
svlv/elfield
612e21dc74a82306cd2a623a54af1412936999e7
[ "MIT" ]
null
null
null
src/physics/charge.hpp
svlv/elfield
612e21dc74a82306cd2a623a54af1412936999e7
[ "MIT" ]
null
null
null
#pragma once #include "graphics/point.hpp" #include <memory> #include <optional> #include <set> namespace elfield { class charge { public: enum class type { negative = 0, positive = 1, any = 2 }; charge(const point& coordinates_, double value_); charge(const charge& chrg); const point& get_coord(...
17.735294
60
0.671642
svlv
13ddbfa58ab6cd0577a705ad5457610504ab92a8
46,656
cpp
C++
FPSLighting/Dependencies/DIRECTX/Samples/C++/Direct3D11/DynamicShaderLinkage11/DynamicShaderLinkage11.cpp
billionare/FPSLighting
c7d646f51cf4dee360dcc7c8e2fd2821b421b418
[ "MIT" ]
null
null
null
FPSLighting/Dependencies/DIRECTX/Samples/C++/Direct3D11/DynamicShaderLinkage11/DynamicShaderLinkage11.cpp
billionare/FPSLighting
c7d646f51cf4dee360dcc7c8e2fd2821b421b418
[ "MIT" ]
null
null
null
FPSLighting/Dependencies/DIRECTX/Samples/C++/Direct3D11/DynamicShaderLinkage11/DynamicShaderLinkage11.cpp
billionare/FPSLighting
c7d646f51cf4dee360dcc7c8e2fd2821b421b418
[ "MIT" ]
null
null
null
//-------------------------------------------------------------------------------------- // File: DynamicShaderLinkage11.cpp // // This sample shows a simple example of the Microsoft Direct3D's High-Level // Shader Language (HLSL) using Dynamic Shader Linkage. // // Copyright (c) Microsoft Corporation. All rights res...
42.184448
213
0.634131
billionare
13df9aca859da94d630347ae3f0121b3ebae9b21
10,155
cpp
C++
waypoint_planner/src/velocity_set/velocity_set_path.cpp
astuff/autoware.ai-core_planning
baf442ffbb5a5824ad8228c9e956f402e2b256a6
[ "Apache-2.0" ]
null
null
null
waypoint_planner/src/velocity_set/velocity_set_path.cpp
astuff/autoware.ai-core_planning
baf442ffbb5a5824ad8228c9e956f402e2b256a6
[ "Apache-2.0" ]
null
null
null
waypoint_planner/src/velocity_set/velocity_set_path.cpp
astuff/autoware.ai-core_planning
baf442ffbb5a5824ad8228c9e956f402e2b256a6
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2015-2019 Autoware Foundation. 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 requi...
32.444089
119
0.717873
astuff
13dff0983f6989a64d40364731be28969602c575
988
cpp
C++
Src/IO/IOString_string.cpp
Gjoll/OpSys
ebba2d8856d21a1f6cefe59c781ce7b9ff1430cf
[ "Apache-2.0" ]
null
null
null
Src/IO/IOString_string.cpp
Gjoll/OpSys
ebba2d8856d21a1f6cefe59c781ce7b9ff1430cf
[ "Apache-2.0" ]
null
null
null
Src/IO/IOString_string.cpp
Gjoll/OpSys
ebba2d8856d21a1f6cefe59c781ce7b9ff1430cf
[ "Apache-2.0" ]
null
null
null
/* Copyright 1992 Kurt W. Allen. This is an unpublished work by Kurt W. Allen. All rights are reserved, and no part of this work may be distributed or released with out the express permission of Kurt W. Allen, 3540 43'rd Ave S., Mpls, Mn 55406. */ /* $Revision: 1.1 $ $Modtime: 01 May 1993 09:33:38 $ $Workfil...
21.955556
66
0.699393
Gjoll
13e77a940c009c0c44f22f01b56db3dfa9517d31
5,284
hxx
C++
Modules/Core/ImageFunction/include/itkLinearInterpolateImageFunction.hxx
CapeDrew/DCMTK-ITK
440bf8ed100445396912cfd0aa72f36d4cdefe0c
[ "Apache-2.0" ]
2
2015-06-19T07:18:36.000Z
2019-04-18T07:28:23.000Z
Modules/Core/ImageFunction/include/itkLinearInterpolateImageFunction.hxx
CapeDrew/DCMTK-ITK
440bf8ed100445396912cfd0aa72f36d4cdefe0c
[ "Apache-2.0" ]
null
null
null
Modules/Core/ImageFunction/include/itkLinearInterpolateImageFunction.hxx
CapeDrew/DCMTK-ITK
440bf8ed100445396912cfd0aa72f36d4cdefe0c
[ "Apache-2.0" ]
2
2017-05-02T07:18:49.000Z
2020-04-30T01:37:35.000Z
/*========================================================================= * * Copyright Insight Software Consortium * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * h...
31.266272
78
0.641181
CapeDrew
13e77b5568ea4381a756deb355a71da017773eb7
507
cpp
C++
10/1008. Construct Binary Search Tree from Preorder Traversal.cpp
eagleoflqj/LeetCode
ca5dd06cad4c7fe5bf679cca7ee60f4348b316e9
[ "MIT" ]
null
null
null
10/1008. Construct Binary Search Tree from Preorder Traversal.cpp
eagleoflqj/LeetCode
ca5dd06cad4c7fe5bf679cca7ee60f4348b316e9
[ "MIT" ]
1
2021-12-25T10:33:23.000Z
2022-02-16T00:34:05.000Z
10/1008. Construct Binary Search Tree from Preorder Traversal.cpp
eagleoflqj/LeetCode
ca5dd06cad4c7fe5bf679cca7ee60f4348b316e9
[ "MIT" ]
null
null
null
class Solution { vector<int>::iterator b, e; TreeNode *helper(int ub) { int val = *b++; TreeNode *node = new TreeNode(val); if(b == e) return node; if(*b < val) node->left = helper(val); if(b < e && *b < ub) node->right = helper(ub); ...
24.142857
54
0.47929
eagleoflqj
13e95658a469754a5a6f3d7d9624d9b1b5eb6e66
5,022
cpp
C++
iceoryx_utils/test/moduletests/test_cxx_poor_mans_heap.cpp
sschnitzer/iceoryx
4c1097891fa008fa30d4cbc50ad40eb181c47fda
[ "Apache-2.0" ]
null
null
null
iceoryx_utils/test/moduletests/test_cxx_poor_mans_heap.cpp
sschnitzer/iceoryx
4c1097891fa008fa30d4cbc50ad40eb181c47fda
[ "Apache-2.0" ]
null
null
null
iceoryx_utils/test/moduletests/test_cxx_poor_mans_heap.cpp
sschnitzer/iceoryx
4c1097891fa008fa30d4cbc50ad40eb181c47fda
[ "Apache-2.0" ]
1
2020-11-19T21:52:51.000Z
2020-11-19T21:52:51.000Z
// Copyright (c) 2019 by Robert Bosch GmbH. 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...
24.144231
120
0.686181
sschnitzer
13ea99126c68ca42b970743893b7ec8c460feae4
4,739
cc
C++
sdk/src/trace/span.cc
DebajitDas/opentelemetry-cpp
59a48c1c99bbc8822d66eaf9edbe3f384092b125
[ "Apache-2.0" ]
null
null
null
sdk/src/trace/span.cc
DebajitDas/opentelemetry-cpp
59a48c1c99bbc8822d66eaf9edbe3f384092b125
[ "Apache-2.0" ]
null
null
null
sdk/src/trace/span.cc
DebajitDas/opentelemetry-cpp
59a48c1c99bbc8822d66eaf9edbe3f384092b125
[ "Apache-2.0" ]
null
null
null
// Copyright The OpenTelemetry Authors // SPDX-License-Identifier: Apache-2.0 #include "src/trace/span.h" #include "src/common/random.h" #include "opentelemetry/context/runtime_context.h" #include "opentelemetry/trace/trace_flags.h" #include "opentelemetry/version.h" OPENTELEMETRY_BEGIN_NAMESPACE namespace sdk { nam...
25.207447
100
0.692762
DebajitDas
13f88bb84c204483332d4da41c1c4567e7afc5b6
4,325
cpp
C++
Qualification_Round_2/Editorials/cutting_paper_1.cpp
manojpandey/CodeSprint_India_2014
91ecfc9f565f20ae7517f556a0c414990a84e0d8
[ "MIT" ]
null
null
null
Qualification_Round_2/Editorials/cutting_paper_1.cpp
manojpandey/CodeSprint_India_2014
91ecfc9f565f20ae7517f556a0c414990a84e0d8
[ "MIT" ]
null
null
null
Qualification_Round_2/Editorials/cutting_paper_1.cpp
manojpandey/CodeSprint_India_2014
91ecfc9f565f20ae7517f556a0c414990a84e0d8
[ "MIT" ]
2
2015-07-25T11:44:07.000Z
2019-07-14T11:33:48.000Z
#include <vector> #include <list> #include <map> #include <set> #include <deque> #include <stack> #include <bitset> #include <algorithm> #include <functional> #include <numeric> #include <utility> #include <sstream> #include <iostream> #include <iomanip> #include <cstdio> #include <cmath> #include <cstdlib> #include <c...
32.765152
226
0.639538
manojpandey
13fa9eff40980d591cd46e9d8db83872a390758d
5,388
cpp
C++
Projects/Skylicht/Components/Source/Primitive/CPrimitiveRendererInstancing.cpp
skylicht-engine/skylicht
5691674bfb82fc5f80c0106ab64d68dfba6fbb40
[ "MIT" ]
null
null
null
Projects/Skylicht/Components/Source/Primitive/CPrimitiveRendererInstancing.cpp
skylicht-engine/skylicht
5691674bfb82fc5f80c0106ab64d68dfba6fbb40
[ "MIT" ]
null
null
null
Projects/Skylicht/Components/Source/Primitive/CPrimitiveRendererInstancing.cpp
skylicht-engine/skylicht
5691674bfb82fc5f80c0106ab64d68dfba6fbb40
[ "MIT" ]
null
null
null
/* !@ MIT License Copyright (c) 2022 Skylicht Technology CO., LTD 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...
30.440678
141
0.726615
skylicht-engine
13fbf3cbf3bb79fd186aa0063eb3ef99202c3d7b
6,235
cc
C++
src/hist_source.cc
coderofsalvation/lnav
f85536e15ef7a34ca098bc8825da828ac1847173
[ "BSD-2-Clause" ]
1
2015-03-09T21:30:32.000Z
2015-03-09T21:30:32.000Z
src/hist_source.cc
mdordal/lnav
2aa620a8aa562b956d120a48ccf9981f759b7374
[ "BSD-2-Clause" ]
null
null
null
src/hist_source.cc
mdordal/lnav
2aa620a8aa562b956d120a48ccf9981f759b7374
[ "BSD-2-Clause" ]
null
null
null
/** * Copyright (c) 2007-2012, Timothy Stack * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, this * list of ...
34.638889
82
0.599519
coderofsalvation
13fda3f0773d990b05ded5bcfc0a1c2ef78b5451
3,892
cpp
C++
src/bridgingcommands.cpp
dcao-ampere/ampere-ipmi-oem
e71dce5b4a6dfd195c539360cdc98c2d2e2c2880
[ "Apache-2.0" ]
null
null
null
src/bridgingcommands.cpp
dcao-ampere/ampere-ipmi-oem
e71dce5b4a6dfd195c539360cdc98c2d2e2c2880
[ "Apache-2.0" ]
null
null
null
src/bridgingcommands.cpp
dcao-ampere/ampere-ipmi-oem
e71dce5b4a6dfd195c539360cdc98c2d2e2c2880
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2018-2021 Ampere Computing 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
29.938462
78
0.660843
dcao-ampere
cd004d5d773ec48a87ffc2db71fbf74af2c04550
7,650
cc
C++
wrappers/8.1.1/vtkSurfaceReconstructionFilterWrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
6
2016-02-03T12:48:36.000Z
2020-09-16T15:07:51.000Z
wrappers/8.1.1/vtkSurfaceReconstructionFilterWrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
4
2016-02-13T01:30:43.000Z
2020-03-30T16:59:32.000Z
wrappers/8.1.1/vtkSurfaceReconstructionFilterWrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
null
null
null
/* this file has been autogenerated by vtkNodeJsWrap */ /* editing this might proof futile */ #define VTK_WRAPPING_CXX #define VTK_STREAMS_FWD_ONLY #include <nan.h> #include "vtkImageAlgorithmWrap.h" #include "vtkSurfaceReconstructionFilterWrap.h" #include "vtkObjectBaseWrap.h" #include "../../plus/plus.h" using nam...
34.772727
127
0.766536
axkibe
cd023a080bbc9c821b8d2a505775195885a53244
1,189
cc
C++
LeetCode/Medium/LinkedList/rotatell.cc
ChakreshSinghUC/CPPCodes
d82a3f467303566afbfcc927b660b0f7bf7c0432
[ "MIT" ]
null
null
null
LeetCode/Medium/LinkedList/rotatell.cc
ChakreshSinghUC/CPPCodes
d82a3f467303566afbfcc927b660b0f7bf7c0432
[ "MIT" ]
null
null
null
LeetCode/Medium/LinkedList/rotatell.cc
ChakreshSinghUC/CPPCodes
d82a3f467303566afbfcc927b660b0f7bf7c0432
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; struct ListNode { int val; ListNode *next; ListNode() : val(0), next(nullptr) {} ListNode(int x) : val(x), next(nullptr) {} ListNode(int x, ListNode *next) : val(x), next(next) {} }; class Solution { public: ListNode *rotateRight(List...
18.873016
59
0.481918
ChakreshSinghUC
cd0a804312443a61cdbd3af17889f25628f1779e
14,945
cpp
C++
src/main/cpp/Telemetry/GetRoboRIO_Info.cpp
FRC-7464-ORION/FRC-7464-ORION--PublicRobotCode
36a2e5907602efad59f33eb0e40d78ec1d37a094
[ "BSD-3-Clause" ]
2
2020-01-31T01:55:33.000Z
2020-03-24T03:07:10.000Z
src/main/cpp/Telemetry/GetRoboRIO_Info.cpp
FRC-7464-ORION/FRC-7464-ORION--PublicRobotCode
36a2e5907602efad59f33eb0e40d78ec1d37a094
[ "BSD-3-Clause" ]
1
2022-01-25T02:51:00.000Z
2022-01-25T02:51:00.000Z
src/main/cpp/Telemetry/GetRoboRIO_Info.cpp
FRC-7464-ORION/FRC-7464-ORION--PublicRobotCode
36a2e5907602efad59f33eb0e40d78ec1d37a094
[ "BSD-3-Clause" ]
null
null
null
/** =========================================================================== * @file GetRoboRIO_Info.cpp * @brief This file defines the functions used in getting RoboRIO * information, as declared in the TelemetryOutputter class. * * The TelemetryOutputter class is used to output telemetry related to...
31.397059
80
0.726999
FRC-7464-ORION
cd0ac866673a528a3ea4d554eca7ac4f7b4a52ef
1,968
cpp
C++
5/src/transform.cpp
Galaxeaaa/MIT-courses
ec54d95ac3b8217ee107b90eb704118ec3eb94ac
[ "MIT" ]
1
2020-05-09T05:36:04.000Z
2020-05-09T05:36:04.000Z
5/src/transform.cpp
Galaxeaaa/MIT-courses
ec54d95ac3b8217ee107b90eb704118ec3eb94ac
[ "MIT" ]
null
null
null
5/src/transform.cpp
Galaxeaaa/MIT-courses
ec54d95ac3b8217ee107b90eb704118ec3eb94ac
[ "MIT" ]
null
null
null
#include "transform.h" int max_depth = 0, cur_depth = 0; queue<Matrix> q; Transform::Transform(Matrix &m, Object3D *o) : object(o), mat(m) { /* Set bbox */ Vec3f min, max; o->getBoundingBox()->Get(min, max); Vec3f a[8]; a[0] = min; a[1] = Vec3f(min.x(), max.y(), min.z()); a[2] = Vec3f(max.x(), min.y(), min.z(...
20.5
76
0.606707
Galaxeaaa
9981cb944735176e27758cd7e86c239344320c24
616
cpp
C++
738.cpp
pengzhezhe/LeetCode
305ec0c5b4cb5ea7cd244b3308132dee778138bc
[ "Apache-2.0" ]
null
null
null
738.cpp
pengzhezhe/LeetCode
305ec0c5b4cb5ea7cd244b3308132dee778138bc
[ "Apache-2.0" ]
null
null
null
738.cpp
pengzhezhe/LeetCode
305ec0c5b4cb5ea7cd244b3308132dee778138bc
[ "Apache-2.0" ]
null
null
null
// // Created by pzz on 2021/12/30. // #include <iostream> #include <algorithm> using namespace std; class Solution { public: int monotoneIncreasingDigits(int n) { string s = to_string(n); int flag = s.size(); for (int i = s.size() - 1; i > 0; i--) { if (s[i] < s[i - 1]) { ...
18.117647
51
0.456169
pengzhezhe
998642c4643a0ac8385990799c16b01cd8fc62d9
2,911
hpp
C++
sources/ui/app.hpp
fstudio/clangbuilder
d7c9b108afbf7eba7e614ca9ffd3b88d0cd061de
[ "MIT" ]
106
2016-01-25T11:15:37.000Z
2022-01-12T23:57:02.000Z
sources/ui/app.hpp
fstudio/clangbuilder
d7c9b108afbf7eba7e614ca9ffd3b88d0cd061de
[ "MIT" ]
45
2016-02-19T03:26:54.000Z
2021-06-12T13:36:43.000Z
sources/ui/app.hpp
fstudio/clangbuilder
d7c9b108afbf7eba7e614ca9ffd3b88d0cd061de
[ "MIT" ]
19
2016-05-08T08:58:03.000Z
2021-06-04T09:39:42.000Z
/////////// #ifndef CLANGBUILDERUI_APP_HPP #define CLANGBUILDERUI_APP_HPP #include <vector> #include <functional> #include <vsinstance.hpp> #include <bela/endian.hpp> struct rgb { constexpr rgb() : r(0), g(0), b(0) {} constexpr rgb(uint8_t r_, uint8_t g_, uint8_t b_) : r(r_), g(g_), b(b_) {} constexpr...
31.301075
100
0.654758
fstudio
9986966d1826f6bf41a026e0365df4b6cba856fe
8,446
cpp
C++
src/winc-tm/ui/create_tournament_menu.cpp
ropelinen/winc-tm
9e6b476f6a1f7dcfe136a2df51b88888614e6ee5
[ "MIT" ]
null
null
null
src/winc-tm/ui/create_tournament_menu.cpp
ropelinen/winc-tm
9e6b476f6a1f7dcfe136a2df51b88888614e6ee5
[ "MIT" ]
null
null
null
src/winc-tm/ui/create_tournament_menu.cpp
ropelinen/winc-tm
9e6b476f6a1f7dcfe136a2df51b88888614e6ee5
[ "MIT" ]
null
null
null
#include "precompiled.h" #include "create_tournament_menu.h" #include "3rd_party/imgui/imgui.h" #include "data/create_tournament_data.h" #include "data/state.h" namespace winc { namespace { bool validate_tournament_data(state &state_data) { create_tournament_data &tournament_data = *state_data.new_tournament_dat...
31.871698
173
0.72117
ropelinen
998f54eb446ac0c2cc49f0015755cc7e594496e4
885
cpp
C++
data/dailyCodingProblem465.cpp
vidit1999/daily_coding_problem
b90319cb4ddce11149f54010ba36c4bd6fa0a787
[ "MIT" ]
2
2020-09-04T20:56:23.000Z
2021-06-11T07:42:26.000Z
data/dailyCodingProblem465.cpp
vidit1999/daily_coding_problem
b90319cb4ddce11149f54010ba36c4bd6fa0a787
[ "MIT" ]
null
null
null
data/dailyCodingProblem465.cpp
vidit1999/daily_coding_problem
b90319cb4ddce11149f54010ba36c4bd6fa0a787
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; /* Given the head of a singly linked list, reverse it in-place. */ struct node{ int data; struct node* next; }; node* newNode(int data){ node* head = new node; head->data = data; head->next = NULL; return head; } void printList(node* head){ node* cur = head; while(cu...
16.388889
60
0.624859
vidit1999
999480ef1ba9bb2a2c6b88d0fcf21a0a07803a6f
1,370
cpp
C++
Injector/src/Utils/StrUtils/StrUtils.cpp
2010kohtep/ReBandicoot
5cb71edf55c1ccd1ac7719df6be6f1b2d3d88df1
[ "MIT" ]
4
2018-09-22T17:46:48.000Z
2020-04-27T10:41:28.000Z
Injector/src/Utils/StrUtils/StrUtils.cpp
2010kohtep/ReBandicoot
5cb71edf55c1ccd1ac7719df6be6f1b2d3d88df1
[ "MIT" ]
null
null
null
Injector/src/Utils/StrUtils/StrUtils.cpp
2010kohtep/ReBandicoot
5cb71edf55c1ccd1ac7719df6be6f1b2d3d88df1
[ "MIT" ]
null
null
null
#include "StrUtils.h" #ifndef _CRT_SECURE_NO_WARNINGS #define _CRT_TEMP_DISABLE #define _CRT_SECURE_NO_WARNINGS #endif #include <string> #include <stdarg.h> // va_start, va_end size_t ExtractFileName(const char *pszSource, char *pszDest) { if (pszSource == 0) return 0; char* p = (char*)pszSource; p = strchr(...
16.707317
69
0.680292
2010kohtep
99969ae41bdc8765c9aaf7eb272c4522111fa55b
5,250
cpp
C++
src/proofnetwork/jdf/data/bundle.cpp
DmitryNesterenok/proofnetworkjdf
02dfb045c25ee17875208cf14a054ceac7daa683
[ "BSD-3-Clause" ]
3
2018-09-19T02:13:01.000Z
2018-09-20T14:06:55.000Z
src/proofnetwork/jdf/data/bundle.cpp
DmitryNesterenok/proofnetworkjdf
02dfb045c25ee17875208cf14a054ceac7daa683
[ "BSD-3-Clause" ]
24
2018-10-03T22:29:41.000Z
2019-09-19T12:17:40.000Z
src/proofnetwork/jdf/data/bundle.cpp
DmitryNesterenok/proofnetworkjdf
02dfb045c25ee17875208cf14a054ceac7daa683
[ "BSD-3-Clause" ]
4
2018-09-19T02:18:59.000Z
2020-04-06T10:13:33.000Z
/* Copyright 2018, OpenSoft Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, this list of * conditions a...
31.437126
115
0.705524
DmitryNesterenok
999cdee0ff527f2fc0ee59e0c721240a2f200fce
39
cpp
C++
demo2/src/demo/intdef.cpp
invaderjon/demo
a667a2cde082dcf0ea29a4544badae1e4318d9d3
[ "MIT" ]
null
null
null
demo2/src/demo/intdef.cpp
invaderjon/demo
a667a2cde082dcf0ea29a4544badae1e4318d9d3
[ "MIT" ]
null
null
null
demo2/src/demo/intdef.cpp
invaderjon/demo
a667a2cde082dcf0ea29a4544badae1e4318d9d3
[ "MIT" ]
null
null
null
// intdef.cpp #include "demo/intdef.h"
13
24
0.692308
invaderjon
99a2900f2b81ae6a16e5ae79fcfe9c6e81af1a93
1,466
cpp
C++
codeforces/Others/219A - k-string.cpp
raghavxk/Competitive-Programming
131c9fffc92b638834c33e0ee0933adcd1e0d92a
[ "MIT" ]
1
2021-09-29T13:10:03.000Z
2021-09-29T13:10:03.000Z
codeforces/Others/219A - k-string.cpp
raghavxk/Competitive-Programming
131c9fffc92b638834c33e0ee0933adcd1e0d92a
[ "MIT" ]
null
null
null
codeforces/Others/219A - k-string.cpp
raghavxk/Competitive-Programming
131c9fffc92b638834c33e0ee0933adcd1e0d92a
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #include <chrono> #include <ctime> #define deb(x) cout << (#x) << " is " << (x) << endl #define nline "\n" #define read(x) int x; cin>>x #define fastio() ios_base::sync_with_stdio(false);std::cin.tie(NULL) typedef long long int ll; using namespace std; int solve() { int k; string str...
22.90625
90
0.511596
raghavxk
99a42d204ddfd026a35d790bb906704ce2c1c782
3,157
hpp
C++
src/Gestures/tuio1.1/InputGestureTuio1.13D.hpp
Zeken/ofxTableGestures
cab4d536486414cf599c57b1da28c706ea917780
[ "MIT" ]
null
null
null
src/Gestures/tuio1.1/InputGestureTuio1.13D.hpp
Zeken/ofxTableGestures
cab4d536486414cf599c57b1da28c706ea917780
[ "MIT" ]
null
null
null
src/Gestures/tuio1.1/InputGestureTuio1.13D.hpp
Zeken/ofxTableGestures
cab4d536486414cf599c57b1da28c706ea917780
[ "MIT" ]
null
null
null
/* ofxTableGestures (formerly OF-TangibleFramework) Developed for Taller de Sistemes Interactius I Universitat Pompeu Fabra Copyright (c) 2010 Carles F. Julià <carles.fernandez@upf.edu> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associate...
37.141176
251
0.756414
Zeken
99a5cb24728134ab1ba4989782bbb9bde9063c3a
3,080
hpp
C++
src/common/Color.hpp
G1ov4/Dotto
58645c0d1575b9d2107c686c137cd14489527689
[ "MIT" ]
null
null
null
src/common/Color.hpp
G1ov4/Dotto
58645c0d1575b9d2107c686c137cd14489527689
[ "MIT" ]
null
null
null
src/common/Color.hpp
G1ov4/Dotto
58645c0d1575b9d2107c686c137cd14489527689
[ "MIT" ]
null
null
null
// Copyright (c) 2021 LibreSprite Authors (cf. AUTHORS.md) // This file is released under the terms of the MIT license. // Read LICENSE.txt for more information. #pragma once #include <charconv> #include <common/types.hpp> #include <common/String.hpp> class Color { public: U8 r = 0, g = 0, b = 0, a = 255; st...
28.518519
87
0.49026
G1ov4
99a7fd861bc7e6778635eb7a8bca70a7faf1c4d0
2,781
cpp
C++
numgen.cpp
iwatakeshi/numgen
96d1bbea37eba2ae6e9ac6257bcad84f8eb00569
[ "MIT" ]
null
null
null
numgen.cpp
iwatakeshi/numgen
96d1bbea37eba2ae6e9ac6257bcad84f8eb00569
[ "MIT" ]
null
null
null
numgen.cpp
iwatakeshi/numgen
96d1bbea37eba2ae6e9ac6257bcad84f8eb00569
[ "MIT" ]
null
null
null
#include "commander.h" #include <iostream> #include <numeric> #include <random> #include <stdio.h> #include <vector> void gen_random(long long int n); void gen_shuffle(long long int n, int shuffles); void gen_list(long long int n, bool descending); bool isint(char*); long long int parseint(char*); void printv(std::vec...
22.071429
145
0.559511
iwatakeshi
99a897dee4c86d9b122a05b86a51f5a7d11084d8
2,574
cc
C++
src/tabletnode/rpc_schedule_policy.cc
sallon88/tera
ab6f3d15981b1744bba75a94ca85a97a9fdf2767
[ "BSD-3-Clause" ]
null
null
null
src/tabletnode/rpc_schedule_policy.cc
sallon88/tera
ab6f3d15981b1744bba75a94ca85a97a9fdf2767
[ "BSD-3-Clause" ]
null
null
null
src/tabletnode/rpc_schedule_policy.cc
sallon88/tera
ab6f3d15981b1744bba75a94ca85a97a9fdf2767
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2015, Baidu.com, Inc. All Rights Reserved // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // Author: Li Kang (com@baidu.com) #include "tabletnode/rpc_schedule_policy.h" #include "glog/logging.h" #include "common/timer.h" namespace tera { na...
31.012048
84
0.696193
sallon88
99ad06fcbbd31b314b003997d6ed1d008bef9405
6,754
hpp
C++
event.hpp
metrumresearchgroup/torsten_math
318cee4199342bd36d5f2b1241c6760acfcf58b7
[ "BSD-3-Clause" ]
null
null
null
event.hpp
metrumresearchgroup/torsten_math
318cee4199342bd36d5f2b1241c6760acfcf58b7
[ "BSD-3-Clause" ]
1
2020-04-27T23:53:22.000Z
2020-04-27T23:57:43.000Z
event.hpp
metrumresearchgroup/torsten_math
318cee4199342bd36d5f2b1241c6760acfcf58b7
[ "BSD-3-Clause" ]
null
null
null
#ifndef STAN_MATH_TORSTEN_EVENT_HPP #define STAN_MATH_TORSTEN_EVENT_HPP #include<stan/math/torsten/torsten_def.hpp> #include<stan/math/torsten/dsolve/pmx_ode_integrator.hpp> #include <stan/math/torsten/mpi/precomputed_gradients.hpp> #include <stan/math/torsten/model_solve_d.hpp> #include<vector> namespace torsten { ...
37.10989
102
0.568848
metrumresearchgroup
99adc9077600a05f8b99c508ab5ad05d5dee7cf0
769
cpp
C++
0150_EvaluateReversePolishNotation.cpp
taro-masuda/leetcode
39739e9fec7c66513b114c740ef982ccc09dc39f
[ "MIT" ]
null
null
null
0150_EvaluateReversePolishNotation.cpp
taro-masuda/leetcode
39739e9fec7c66513b114c740ef982ccc09dc39f
[ "MIT" ]
null
null
null
0150_EvaluateReversePolishNotation.cpp
taro-masuda/leetcode
39739e9fec7c66513b114c740ef982ccc09dc39f
[ "MIT" ]
1
2020-03-18T05:23:40.000Z
2020-03-18T05:23:40.000Z
class Solution { public: int evalRPN(vector<string>& tokens) { stack<int> nums; for (int i = 0; i < tokens.size(); i++){ if(tokens[i] == "+" || tokens[i] == "-" || tokens[i] == "*" || tokens[i] == "/"){ int latter = nums.top(); nums.pop(); ...
34.954545
93
0.414824
taro-masuda
99ae55424c9255456c1eb6b24ba2811377a46c32
240
cpp
C++
cpp/template/template_func2.cpp
miyalab/wiki
7c6894c29fc41cd1bcb3a82e9363ceef4a8470f2
[ "MIT" ]
null
null
null
cpp/template/template_func2.cpp
miyalab/wiki
7c6894c29fc41cd1bcb3a82e9363ceef4a8470f2
[ "MIT" ]
null
null
null
cpp/template/template_func2.cpp
miyalab/wiki
7c6894c29fc41cd1bcb3a82e9363ceef4a8470f2
[ "MIT" ]
null
null
null
#include <iostream> template<typename type> void print(type s) { std::cout << s << std::endl; } int main() { int a=10; double b=20; print(a); // void print(int a)として呼び出される print(b); // void print(double b)として呼び出される }
16
50
0.604167
miyalab
99afbc2b064bcb934ebaab9c0fec456933a7a152
1,632
cpp
C++
array/union_intersection.cpp
prameetu/DSA_2021
a0053c3f1280629281b12d8b6e8fd95697550488
[ "MIT" ]
null
null
null
array/union_intersection.cpp
prameetu/DSA_2021
a0053c3f1280629281b12d8b6e8fd95697550488
[ "MIT" ]
null
null
null
array/union_intersection.cpp
prameetu/DSA_2021
a0053c3f1280629281b12d8b6e8fd95697550488
[ "MIT" ]
null
null
null
//union and intersection of two sorted arrays #include<bits/stdc++.h> using namespace std; void unions(vector <int> v1,vector <int> v2) { vector <int> ans; int i(0),j(0),k(0); while(i<v1.size() && j<v2.size()) { if(v1[i] < v2[j]) { ans.push_back(v1[i]); ...
16.484848
51
0.327206
prameetu
99b4fce5328399e33bb3f3fac98357c3636e344d
500
cpp
C++
BMMBusinessLogic/src/Movie.cpp
melaniaoncea/BookMyMovie
8f5bfab845bf86777f750d71d88bb34e7f5b665e
[ "MIT" ]
null
null
null
BMMBusinessLogic/src/Movie.cpp
melaniaoncea/BookMyMovie
8f5bfab845bf86777f750d71d88bb34e7f5b665e
[ "MIT" ]
null
null
null
BMMBusinessLogic/src/Movie.cpp
melaniaoncea/BookMyMovie
8f5bfab845bf86777f750d71d88bb34e7f5b665e
[ "MIT" ]
null
null
null
#include "Movie.h" const string defaultMovieNameRoot {"NewMovie"}; unsigned int BMMBusinessLogic::Movie::nextId {1}; BMMBusinessLogic::Movie::Movie(std::string &movieName) : m_movieId(nextId++) , m_movieName(movieName.empty() ? defaultMovieNameRoot + std::to_string(m_movieId) ...
22.727273
86
0.684
melaniaoncea
99b9ff095b5e2ad55a57a687df26e4aa08daa691
349
hh
C++
src/file/GZFileAdapter.hh
D15C0DE/openMSX
5119a9657de4b82115c745f670cdc55dc7363133
[ "Naumen", "Condor-1.1", "MS-PL" ]
320
2015-06-16T20:32:33.000Z
2022-03-26T17:03:27.000Z
src/file/GZFileAdapter.hh
D15C0DE/openMSX
5119a9657de4b82115c745f670cdc55dc7363133
[ "Naumen", "Condor-1.1", "MS-PL" ]
2,592
2015-05-30T12:12:21.000Z
2022-03-31T17:16:15.000Z
src/file/GZFileAdapter.hh
D15C0DE/openMSX
5119a9657de4b82115c745f670cdc55dc7363133
[ "Naumen", "Condor-1.1", "MS-PL" ]
74
2015-06-18T19:51:15.000Z
2022-03-24T15:09:33.000Z
#ifndef GZFILEADAPTER_HH #define GZFILEADAPTER_HH #include "CompressedFileAdapter.hh" namespace openmsx { class GZFileAdapter final : public CompressedFileAdapter { public: explicit GZFileAdapter(std::unique_ptr<FileBase> file); private: void decompress(FileBase& file, Decompressed& decompressed) override; }; } ...
17.45
70
0.796562
D15C0DE
99bb283dfd68c2e93e3c457a304fd41e70008ec3
633
cpp
C++
dlb_utils/dlb_scoped_function.cpp
rogerlasch/dlb_utils
474bd33161bdeea99b4b363c39f087ca52283fb9
[ "CC0-1.0" ]
null
null
null
dlb_utils/dlb_scoped_function.cpp
rogerlasch/dlb_utils
474bd33161bdeea99b4b363c39f087ca52283fb9
[ "CC0-1.0" ]
null
null
null
dlb_utils/dlb_scoped_function.cpp
rogerlasch/dlb_utils
474bd33161bdeea99b4b363c39f087ca52283fb9
[ "CC0-1.0" ]
null
null
null
#include"dlb_types.h" #include"dlb_format.h" #include"dlb_log.h" #include"dlb_timer.h" #include"dlb_scoped_function.h" using namespace std; namespace dlb { dlb_scoped_function::dlb_scoped_function(const string& func_name) { this->func_name=func_name; start_time=dlb_gettimestamp(); _log("{} iniciou em {}", func_name...
19.78125
74
0.748815
rogerlasch
99bb76f403b2f2d62ef166a7834839c79fa8916b
8,454
cpp
C++
Code/Client/ClientUI/Source/RegisterDialog.cpp
MarvinGeng/TinyIM
01c1c2e257e85caf8afa5ac5ecc4d5295fb0d710
[ "MIT" ]
null
null
null
Code/Client/ClientUI/Source/RegisterDialog.cpp
MarvinGeng/TinyIM
01c1c2e257e85caf8afa5ac5ecc4d5295fb0d710
[ "MIT" ]
null
null
null
Code/Client/ClientUI/Source/RegisterDialog.cpp
MarvinGeng/TinyIM
01c1c2e257e85caf8afa5ac5ecc4d5295fb0d710
[ "MIT" ]
1
2022-01-15T03:18:26.000Z
2022-01-15T03:18:26.000Z
/** * @file RegisterDialog.cpp * @author DennisMi (https://www.dennisthink.com/) * @brief 账号注册对话框的实现 * @version 0.1 * @date 2019-08-05 * * @copyright Copyright (c) 2019 * */ #include "stdafx.h" #include "RegisterDialog.h" #include "Utils.h" #include "EncodingUtil.h" #include "UIText.h" #include "Proto.h" CR...
25.011834
137
0.729595
MarvinGeng
99c02067e39905182b50987f65b85b0de37447ca
1,738
cpp
C++
latgas/Strout2xyz.cpp
browngrg/caledonia
79c3bfc3fb40383719b1c2b39f1b485e7e8bdd94
[ "BSD-3-Clause" ]
null
null
null
latgas/Strout2xyz.cpp
browngrg/caledonia
79c3bfc3fb40383719b1c2b39f1b485e7e8bdd94
[ "BSD-3-Clause" ]
null
null
null
latgas/Strout2xyz.cpp
browngrg/caledonia
79c3bfc3fb40383719b1c2b39f1b485e7e8bdd94
[ "BSD-3-Clause" ]
null
null
null
// Strout2xyz.cpp -- convert a str.out from ATAT into XYZ format of chemical vizualization // // May 7, 2014 // Greg Brown (browngrg@comcast.net,gbrown@fsu.edu) // #include "Vec.hpp" #include <iostream> #include <fstream> #include <iomanip> #include <vector> void ReadStrOut(std::string fname) { typedef Vec<float...
24.138889
119
0.502877
browngrg
99c93638dd497ea26e5ba380c292212adc3866e3
19,374
cpp
C++
src/matrix_generator.cpp
ccj5351/crowdsourcing
b0c2052ed4ae7ca42aa20436c271e6de5c5258a1
[ "MIT" ]
null
null
null
src/matrix_generator.cpp
ccj5351/crowdsourcing
b0c2052ed4ae7ca42aa20436c271e6de5c5258a1
[ "MIT" ]
null
null
null
src/matrix_generator.cpp
ccj5351/crowdsourcing
b0c2052ed4ae7ca42aa20436c271e6de5c5258a1
[ "MIT" ]
null
null
null
/** * @file: matrix_generator.cpp * @brief: * @author: Changjiang Cai, ccai1@stevens.edu, caicj5351@gmail.com * @version: 0.0.1 * @creation date: 17-12-2015 * @last modified: Thu 10 Mar 2016 09:32:02 AM EST */ #include "matrix_generator.hpp" #include "MyUtility.hpp" #include <vector> #include <random> #include <cmath>...
30.55836
117
0.659853
ccj5351
99cb34592e5f8b52f21ae2f9f27bae6bb1d9b5bf
1,056
cpp
C++
solved/biocolouring(1004).cpp
goutomroy/uva.onlinejudge
5ce09d9e370ad78eabd0fd500ef77ce804e2d0f2
[ "MIT" ]
null
null
null
solved/biocolouring(1004).cpp
goutomroy/uva.onlinejudge
5ce09d9e370ad78eabd0fd500ef77ce804e2d0f2
[ "MIT" ]
null
null
null
solved/biocolouring(1004).cpp
goutomroy/uva.onlinejudge
5ce09d9e370ad78eabd0fd500ef77ce804e2d0f2
[ "MIT" ]
null
null
null
#include<stdio.h> #define sz 205 long mat[sz][sz], que[sz]; char colour[sz]; long node, edge; int bfs(long source) { long i, k, p=0, q=0; que[++q]=source; colour[source]='r'; while(1) { k=que[++p]; for(i=1;i<=mat[k][0];i++) { if(colour[mat[k][i]]==colour[k]) { printf("NOT BICOLORABLE.\n"); re...
12.571429
53
0.45928
goutomroy
99ce1206d321c911150c7d7a72fcab04009bf63f
1,355
cpp
C++
src/Engine/GUI/Controls/CGuiEditBoxInt.cpp
slajerek/MTEngineSDL
19b5295d875c197ec03bc20ddacd48c228920365
[ "MIT" ]
4
2021-12-16T11:22:30.000Z
2022-01-05T11:20:32.000Z
src/Engine/GUI/Controls/CGuiEditBoxInt.cpp
slajerek/MTEngineSDL
19b5295d875c197ec03bc20ddacd48c228920365
[ "MIT" ]
1
2022-01-07T10:41:38.000Z
2022-01-09T12:04:03.000Z
src/Engine/GUI/Controls/CGuiEditBoxInt.cpp
slajerek/MTEngineSDL
19b5295d875c197ec03bc20ddacd48c228920365
[ "MIT" ]
null
null
null
#include "CGuiEditBoxInt.h" CGuiEditBoxInt::CGuiEditBoxInt(float posX, float posY, float posZ, float fontWidth, float fontHeight, int defaultValue, u8 maxDigits, bool readOnly, CGuiEditBoxTextCallback *callback) : CGuiEditBoxText(posX, posY, posZ, fontWidth, fontHeight, "", maxDigits+1, readOnly,...
22.966102
101
0.691513
slajerek
99d38b379241ab2b1dd9bd4ec48a5529791a2ab3
8,374
cpp
C++
libraries/CZ80Cpu/CScrambleGame.cpp
Judder/arduino-mega-ict-atom
409453565a6f535d2e16ac9f86c6f43027b10786
[ "BSD-2-Clause" ]
1
2019-01-27T00:59:51.000Z
2019-01-27T00:59:51.000Z
libraries/CZ80Cpu/CScrambleGame.cpp
Judder/arduino-mega-ict-atom
409453565a6f535d2e16ac9f86c6f43027b10786
[ "BSD-2-Clause" ]
null
null
null
libraries/CZ80Cpu/CScrambleGame.cpp
Judder/arduino-mega-ict-atom
409453565a6f535d2e16ac9f86c6f43027b10786
[ "BSD-2-Clause" ]
null
null
null
// // Copyright (c) 2015, Paul R. Swan // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, // are permitted provided that the following conditions are met: // // 1. Redistributions of source code must retain the above copyright notice, // this list of condit...
68.081301
146
0.604371
Judder
99d68c9adef94d321d7d8eb806b39378d37bb293
5,516
cpp
C++
toonz/sources/toonzlib/tcamera.cpp
wofogen/tahoma2d
ce5a89a7b1027b2c1769accb91184a2ee6442b4d
[ "BSD-3-Clause" ]
3,710
2016-03-26T00:40:48.000Z
2022-03-31T21:35:12.000Z
toonz/sources/toonzlib/tcamera.cpp
wofogen/tahoma2d
ce5a89a7b1027b2c1769accb91184a2ee6442b4d
[ "BSD-3-Clause" ]
4,246
2016-03-26T01:21:45.000Z
2022-03-31T23:10:47.000Z
toonz/sources/toonzlib/tcamera.cpp
wofogen/tahoma2d
ce5a89a7b1027b2c1769accb91184a2ee6442b4d
[ "BSD-3-Clause" ]
633
2016-03-26T00:42:25.000Z
2022-03-17T02:55:13.000Z
#include "toonz/tcamera.h" #include "toonz/stage.h" #include "tstream.h" #include "texception.h" //============================================================================= // TCamera TCamera::TCamera() //: m_size(12, 9), m_res(768, 576), m_xPrevalence(true) //: m_size(36, 20.25), : m_size(16, 9), ...
31.884393
79
0.516497
wofogen
99db6539324e435bdef6f3074df418d1915b5e14
1,092
hpp
C++
ui/liberation_deathscreen.hpp
FoxKilo/Milsim-Operations-Mod
f6a4066d133e9baffd1d99fb7a3e99d871b6aa6d
[ "MIT" ]
null
null
null
ui/liberation_deathscreen.hpp
FoxKilo/Milsim-Operations-Mod
f6a4066d133e9baffd1d99fb7a3e99d871b6aa6d
[ "MIT" ]
null
null
null
ui/liberation_deathscreen.hpp
FoxKilo/Milsim-Operations-Mod
f6a4066d133e9baffd1d99fb7a3e99d871b6aa6d
[ "MIT" ]
null
null
null
class blackscreen { idd = 5651; movingEnable = false; controls[]= { "OuterBackground", "Skull", "GREUH_WoundedLabel" }; class OuterBackground { idc = -1; type = CT_STATIC; style = ST_LEFT; colorText[] = COLOR_BLACK; colorBackground[] = COLOR_BLACK; font = FontM; sizeEx = 0.023; ...
22.285714
67
0.57967
FoxKilo
99e058efd3793cf98b8cde489f9223b86b356223
434
cpp
C++
deprecated/src/Graphics/Materials/Material.cpp
Arzana/Plutonium
5a17c93e5072ac291b96347a4df196e1609fabe2
[ "MIT" ]
4
2019-03-21T16:02:03.000Z
2020-04-09T08:53:29.000Z
deprecated/src/Graphics/Materials/Material.cpp
Arzana/Plutonium
5a17c93e5072ac291b96347a4df196e1609fabe2
[ "MIT" ]
24
2018-04-06T08:25:17.000Z
2020-10-19T11:01:09.000Z
deprecated/src/Graphics/Materials/Material.cpp
Arzana/Plutonium
5a17c93e5072ac291b96347a4df196e1609fabe2
[ "MIT" ]
null
null
null
#include "Graphics\Materials\Material.h" #include "Core\StringFunctions.h" Plutonium::Material::Material(const char * name, AssetLoader * loader) : Name(heapstr(name)), loader(loader), Visible(true) #if defined(DEBUG) , Debug(Color::Random(25)) #endif {} Plutonium::Material::~Material(void) { free_s(Name); } void...
22.842105
70
0.739631
Arzana
99e2cd1521b71f58acaa63a7f0188ffa68cacff0
7,061
cpp
C++
Localization_merged/src/Lidar.cpp
wangarcher/examine
e04c923f0db397558ea765d7fbf1050fe4aec3dd
[ "MIT" ]
null
null
null
Localization_merged/src/Lidar.cpp
wangarcher/examine
e04c923f0db397558ea765d7fbf1050fe4aec3dd
[ "MIT" ]
null
null
null
Localization_merged/src/Lidar.cpp
wangarcher/examine
e04c923f0db397558ea765d7fbf1050fe4aec3dd
[ "MIT" ]
null
null
null
#include <sys/socket.h> #include <arpa/inet.h> #include <pcl/point_types.h> #include <pcl/visualization/pcl_visualizer.h> //显示点云类头文件 #include <unistd.h> #include <time.h> #include <iostream> #include "../include/Lidar.h" LidarData lidar; LidarData* plidar = new LidarData(); LidarSendCloudStruct LidarSendCloudData; p...
25.770073
146
0.582071
wangarcher
99e3a3fd999ffb0e3feca8168a8ec0c205a89bd1
35,926
cpp
C++
TacticalFPS/Private/AI/TacticalAIController.cpp
Tomura/TacticalPrototypeCPP
0c8599a681222ad8e25f6db05e3e580b89c52974
[ "MIT" ]
6
2018-07-10T06:46:15.000Z
2020-01-09T23:06:49.000Z
TacticalFPS/Private/AI/TacticalAIController.cpp
Tomura/TacticalPrototypeCPP
0c8599a681222ad8e25f6db05e3e580b89c52974
[ "MIT" ]
null
null
null
TacticalFPS/Private/AI/TacticalAIController.cpp
Tomura/TacticalPrototypeCPP
0c8599a681222ad8e25f6db05e3e580b89c52974
[ "MIT" ]
1
2020-04-11T13:12:18.000Z
2020-04-11T13:12:18.000Z
// Copyright (c) 2015-2016, Tammo Beil - All rights reserved #include "TacticalFPS.h" #include "NavigationSystem.h" #include "Perception/AIPerceptionComponent.h" #include "Perception/AISense.h" #include "Perception/AISense_Team.h" #include "Perception/AISenseConfig.h" #include "Perception/AISenseConfig_Sight.h" #i...
27.508423
197
0.721316
Tomura
99e4c673210fab186db073f27f5e65806664325c
101
hpp
C++
Math/gcd.hpp
shaneliu-zf/CodeBook
0c30e46f5661051d523c621eac9740d6dcbab440
[ "MIT" ]
3
2020-12-15T12:34:29.000Z
2020-12-15T21:21:33.000Z
Math/gcd.hpp
shane-liu-1010/CodeBook
0c30e46f5661051d523c621eac9740d6dcbab440
[ "MIT" ]
null
null
null
Math/gcd.hpp
shane-liu-1010/CodeBook
0c30e46f5661051d523c621eac9740d6dcbab440
[ "MIT" ]
null
null
null
inline num gcd(num a,num b){ return a<0?gcd(-a,b):(!a?1:(!b?a:gcd(b,a%b))); }// lcm=a*b/gcd(a,b)
25.25
50
0.524752
shaneliu-zf
99e6835fbcdc9d8cd6aca4cea2bcee532d80088c
36,838
cpp
C++
src/AtomSpringContainer.cpp
samuelflores/MMB
d6e732376e39c3a2f84bb611fc7ab4ad6f41eea2
[ "MIT" ]
5
2020-07-31T17:33:03.000Z
2022-01-01T19:24:37.000Z
src/AtomSpringContainer.cpp
samuelflores/MMB
d6e732376e39c3a2f84bb611fc7ab4ad6f41eea2
[ "MIT" ]
11
2020-06-16T05:05:42.000Z
2022-03-30T09:59:14.000Z
src/AtomSpringContainer.cpp
samuelflores/MMB
d6e732376e39c3a2f84bb611fc7ab4ad6f41eea2
[ "MIT" ]
9
2020-01-24T12:02:37.000Z
2020-10-16T06:23:56.000Z
/* -------------------------------------------------------------------------- * * MMB (MacroMoleculeBuilder) * * -------------------------------------------------------------------------- * * * ...
64.62807
411
0.659183
samuelflores
99eb04514433c221a75d053bda8bdbaf3b1d227c
6,911
cpp
C++
tke/src/v20180525/model/ExistedInstancesForNode.cpp
sinjoywong/tencentcloud-sdk-cpp
1b931d20956a90b15a6720f924e5c69f8786f9f4
[ "Apache-2.0" ]
null
null
null
tke/src/v20180525/model/ExistedInstancesForNode.cpp
sinjoywong/tencentcloud-sdk-cpp
1b931d20956a90b15a6720f924e5c69f8786f9f4
[ "Apache-2.0" ]
null
null
null
tke/src/v20180525/model/ExistedInstancesForNode.cpp
sinjoywong/tencentcloud-sdk-cpp
1b931d20956a90b15a6720f924e5c69f8786f9f4
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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 ...
33.548544
160
0.725944
sinjoywong
99edc13342b6cc27864670daa31a865b076df51f
4,868
cpp
C++
src/peerboot/shell.cpp
catenocrypt/peerboot-cpp
2520cd6cf391d5554c0d072fc5d31414e161836a
[ "MIT" ]
7
2019-11-06T09:01:08.000Z
2022-01-24T00:08:18.000Z
src/peerboot/shell.cpp
catenocrypt/peerboot-cpp
2520cd6cf391d5554c0d072fc5d31414e161836a
[ "MIT" ]
null
null
null
src/peerboot/shell.cpp
catenocrypt/peerboot-cpp
2520cd6cf391d5554c0d072fc5d31414e161836a
[ "MIT" ]
1
2021-01-16T17:52:24.000Z
2021-01-16T17:52:24.000Z
#include "shell.hpp" #include "pebo_net.hpp" #include "net_handler.hpp" #include "store.hpp" #include "timestamp.hpp" #include <cassert> #include <iostream> using namespace pebo; using namespace std; Shell::Shell() : myInited(false), myCallback(nullptr), myPeboNet(nullptr), myNetHandler(nullptr), myStore(unique_ptr<...
23.07109
100
0.646878
catenocrypt
99f0216083b291f0e3f143e52b0dda3f00188be7
890
cpp
C++
84-largest-rectangle-in-histogram/84-largest-rectangle-in-histogram.cpp
Jatin-Shihora/LeetCode-Solutions
8e6fc84971ec96ec1263ba5ba2a8ae09e6404398
[ "MIT" ]
1
2022-01-02T10:29:32.000Z
2022-01-02T10:29:32.000Z
84-largest-rectangle-in-histogram/84-largest-rectangle-in-histogram.cpp
Jatin-Shihora/LeetCode-Solutions
8e6fc84971ec96ec1263ba5ba2a8ae09e6404398
[ "MIT" ]
null
null
null
84-largest-rectangle-in-histogram/84-largest-rectangle-in-histogram.cpp
Jatin-Shihora/LeetCode-Solutions
8e6fc84971ec96ec1263ba5ba2a8ae09e6404398
[ "MIT" ]
1
2022-03-04T12:44:14.000Z
2022-03-04T12:44:14.000Z
class Solution { public: int largestRectangleArea(vector<int>& heights) { int n = heights.size(); stack<int> s; vector<int> left_bound(n,0),right_bound(n,n); for(int i=0;i<n;i++) { while(!s.empty() && heights[i]<=heights[s.top()]) s.pop(); if(s.empty()) le...
31.785714
71
0.450562
Jatin-Shihora
99fa10cc4c806002f9812fc803420fe5b66ce6ed
706
cpp
C++
ai/ai_shiraitodai_seiko.cpp
Lhtie/libsaki
10667d490b9f4a2e842982eca933216b1f18fb1b
[ "MIT" ]
8
2017-11-01T20:14:42.000Z
2022-01-18T09:06:05.000Z
ai/ai_shiraitodai_seiko.cpp
Lhtie/libsaki
10667d490b9f4a2e842982eca933216b1f18fb1b
[ "MIT" ]
31
2017-10-23T15:35:38.000Z
2019-07-24T09:20:14.000Z
ai/ai_shiraitodai_seiko.cpp
mjpancake/libsaki
399ea22c45fe033b011b511c65610f9405fee709
[ "MIT" ]
18
2017-10-25T11:32:44.000Z
2021-02-25T10:46:57.000Z
#include "ai_shiraitodai_seiko.h" namespace saki { Action AiSeiko::think(const TableView &view, Limits &limits) { const Choices &choices = view.myChoices(); if (choices.mode() == Choices::Mode::BARK) { using AC = ActCode; for (AC ac : { AC::RON, AC::DAIMINKAN }) if (choices.ca...
20.171429
70
0.548159
Lhtie
99ff3d0611cda68fe69eb3c5f589a2c960987373
4,726
cpp
C++
protocol/PacketData.cpp
TheKinrar/SpicyGoat
db8775a25c2c50f1773b80df9ac7190a06fe39d7
[ "MIT" ]
2
2019-11-19T18:28:45.000Z
2019-11-23T22:40:40.000Z
protocol/PacketData.cpp
TheKinrar/SpicyGoat
db8775a25c2c50f1773b80df9ac7190a06fe39d7
[ "MIT" ]
null
null
null
protocol/PacketData.cpp
TheKinrar/SpicyGoat
db8775a25c2c50f1773b80df9ac7190a06fe39d7
[ "MIT" ]
1
2020-09-20T13:50:23.000Z
2020-09-20T13:50:23.000Z
// // Created by thekinrar on 30/03/19. // #include <stdexcept> #include <algorithm> #include <iostream> #include <endian.h> #include "PacketData.h" PacketData::PacketData(char *data, int length) { this->data = data; this->length = length; this->pos = 0; } bool PacketData::readBoolean() { return rea...
24.873684
99
0.604317
TheKinrar
82049bfff332d59a75e13bd2cd722fefc0416c17
397
hpp
C++
libs/core/include/fcppt/enum/names_array.hpp
freundlich/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
13
2015-02-21T18:35:14.000Z
2019-12-29T14:08:29.000Z
libs/core/include/fcppt/enum/names_array.hpp
cpreh/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
5
2016-08-27T07:35:47.000Z
2019-04-21T10:55:34.000Z
libs/core/include/fcppt/enum/names_array.hpp
freundlich/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
8
2015-01-10T09:22:37.000Z
2019-12-01T08:31:12.000Z
// Copyright Carl Philipp Reh 2009 - 2021. // 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) #ifndef FCPPT_ENUM_NAMES_ARRAY_HPP_INCLUDED #define FCPPT_ENUM_NAMES_ARRAY_HPP_INCLUDED #include <...
30.538462
61
0.753149
freundlich
82051bcc8109c66ee9bb34ad19d0f6ebc72ef4d9
780
cpp
C++
src/nodes/attributes/nodeintattribute.cpp
Graph-ICS/Graph-ICS
95cf624f38744642c257509373c3550baf484438
[ "MIT" ]
11
2021-01-04T10:58:56.000Z
2022-03-30T15:14:23.000Z
src/nodes/attributes/nodeintattribute.cpp
Graph-ICS/Graph-ICS
95cf624f38744642c257509373c3550baf484438
[ "MIT" ]
2
2019-01-22T14:51:42.000Z
2019-01-22T14:58:55.000Z
src/nodes/attributes/nodeintattribute.cpp
Graph-ICS/Graph-ICS
95cf624f38744642c257509373c3550baf484438
[ "MIT" ]
2
2019-01-22T14:48:15.000Z
2020-07-28T14:59:26.000Z
#include "nodeintattribute.h" NodeIntAttribute::NodeIntAttribute(int defaultValue, int maxValue, int minValue, int step) : NodeAttribute("Int", QVariant(defaultValue)), m_minValue(minValue), m_maxValue(maxValue), m_step(step) { if(m_maxValue < m_minValue) { throw "maxValue can not be sma...
23.636364
92
0.662821
Graph-ICS
820665b2e2353f8dea6c0bb528c587aa8f0ee9fd
11,424
cpp
C++
src/hdgraph.cpp
vezzo95/persistent-phylogeny
d33380e7f0ef001ab1f6bd663768400b30d53d19
[ "MIT" ]
null
null
null
src/hdgraph.cpp
vezzo95/persistent-phylogeny
d33380e7f0ef001ab1f6bd663768400b30d53d19
[ "MIT" ]
null
null
null
src/hdgraph.cpp
vezzo95/persistent-phylogeny
d33380e7f0ef001ab1f6bd663768400b30d53d19
[ "MIT" ]
null
null
null
#include <algorithm> #include "hdgraph.hpp" //============================================================================= // Boost functions (overloading) // Hasse Diagram HDVertex add_vertex(const std::list<std::string>& species, const std::list<std::string>& characters, HDGraph& hasse) { c...
27.863415
80
0.58237
vezzo95
820738dda773e56983868ba5c4967dfee4dad9d3
2,089
cpp
C++
priority_queue.cpp
praharshjain/Data-Structures
755aef38d1b01c6c84fba7a38e8d77899f9ebd0f
[ "MIT" ]
2
2021-03-26T14:08:09.000Z
2021-03-26T14:32:30.000Z
priority_queue.cpp
praharshjain/Data-Structures
755aef38d1b01c6c84fba7a38e8d77899f9ebd0f
[ "MIT" ]
null
null
null
priority_queue.cpp
praharshjain/Data-Structures
755aef38d1b01c6c84fba7a38e8d77899f9ebd0f
[ "MIT" ]
1
2021-03-26T14:08:19.000Z
2021-03-26T14:08:19.000Z
#include <iostream> #define MAX_N 1000001 using namespace std; /* Generic priority queue implementation using min-heap Complexity: O(log N) for push/pop, O(1) for isEmpty/GetMinimum */ class QueueFullException : public exception { virtual const char *what() const throw() { return "\nQueue is full\n...
19.523364
66
0.445668
praharshjain
82088323eee0ad32788f18c6fb141e1befb3b32f
5,489
cpp
C++
src/extern/cpplogger/cpplogger.cpp
nazt/arduino-sdk
901dc918d6b28be9319b6f7ba16ad0f0d20a8da6
[ "Apache-2.0" ]
2
2021-12-13T08:04:53.000Z
2021-12-20T06:12:02.000Z
src/extern/cpplogger/cpplogger.cpp
nazt/arduino-sdk
901dc918d6b28be9319b6f7ba16ad0f0d20a8da6
[ "Apache-2.0" ]
4
2021-12-06T09:37:42.000Z
2022-03-09T14:09:35.000Z
src/extern/cpplogger/cpplogger.cpp
nazt/arduino-sdk
901dc918d6b28be9319b6f7ba16ad0f0d20a8da6
[ "Apache-2.0" ]
2
2021-12-14T20:52:02.000Z
2022-03-27T03:45:58.000Z
/* ---------------------------------------------------------------------- File : cpplogger.cpp Date : 10 Mar 2020 Author : Company : Purpose : ---------------------------END-OF-HEADER------------------------------ */ /********************************************************************* * * Includes * ...
24.180617
132
0.438149
nazt
8209564d54619fdc6775ed4d02b840347a0c7bf7
4,617
hpp
C++
include/Awl/boost/preprocessor/tuple/rem.hpp
Yalir/Awl
92ef5996d8933bf92ceb37357d8cd2b169cb788e
[ "BSL-1.0" ]
4
2016-07-01T02:33:28.000Z
2020-03-03T17:52:54.000Z
include/Awl/boost/preprocessor/tuple/rem.hpp
Yalir/Awl
92ef5996d8933bf92ceb37357d8cd2b169cb788e
[ "BSL-1.0" ]
null
null
null
include/Awl/boost/preprocessor/tuple/rem.hpp
Yalir/Awl
92ef5996d8933bf92ceb37357d8cd2b169cb788e
[ "BSL-1.0" ]
null
null
null
# /* ************************************************************************** # * * # * (C) Copyright Paul Mensonides 2002. # * Distributed under the Boost Software License, Version 1.0. (See # * accompanying file LICENSE_1_0.txt...
63.246575
179
0.550574
Yalir
8209f21c159ba69c427c399d593ee60e2cce5c2f
178,515
cpp
C++
src/server/game/Spells/SpellMgr.cpp
Arkania/ArkCORE
2484554a7b54be0b652f9dc3c5a8beba79df9fbf
[ "OpenSSL" ]
42
2015-01-05T10:00:07.000Z
2022-02-18T14:51:33.000Z
src/server/game/Spells/SpellMgr.cpp
superllout/WOW
3d0eeb940cccf8ab7854259172c6d75a85ee4f7d
[ "OpenSSL" ]
null
null
null
src/server/game/Spells/SpellMgr.cpp
superllout/WOW
3d0eeb940cccf8ab7854259172c6d75a85ee4f7d
[ "OpenSSL" ]
31
2015-01-09T02:04:29.000Z
2021-09-01T13:20:20.000Z
/* * Copyright (C) 2005 - 2013 MaNGOS <http://www.getmangos.com/> * * Copyright (C) 2008 - 2013 Trinity <http://www.trinitycore.org/> * * Copyright (C) 2010 - 2013 ProjectSkyfire <http://www.projectskyfire.org/> * * Copyright (C) 2011 - 2013 ArkCORE <http://www.arkania.net/> * * This program is free software; ...
36.173252
565
0.585452
Arkania
820b2b8a5d73465629289d458994b8b903ff9765
5,152
cxx
C++
Filters/HyperTree/Testing/Cxx/TestHyperTreeGridBinary2DAxisClipEllipse.cxx
MeyerSoundLaboratoriesInc/VTK
35c14630100873a59bd75e98da3cd1ab3a0087bc
[ "BSD-3-Clause" ]
1
2021-04-20T12:44:25.000Z
2021-04-20T12:44:25.000Z
Filters/HyperTree/Testing/Cxx/TestHyperTreeGridBinary2DAxisClipEllipse.cxx
trickyMan/VTK
9808381f6e647ab57c597ba296fd5f565fdaf329
[ "BSD-3-Clause" ]
null
null
null
Filters/HyperTree/Testing/Cxx/TestHyperTreeGridBinary2DAxisClipEllipse.cxx
trickyMan/VTK
9808381f6e647ab57c597ba296fd5f565fdaf329
[ "BSD-3-Clause" ]
null
null
null
/*================================================================== Program: Visualization Toolkit Module: TestHyperTreeGridBinary2DAxisClipEllipse.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. ...
30.485207
151
0.658967
MeyerSoundLaboratoriesInc
820bce4ba9fa2688c34744e3a75a5ddb74743cba
4,416
cpp
C++
starter/src/hairsystem.cpp
yunyizhu1/hair-simulation
f9cc5e53fc17d2cd22977644190208d624ec9d8a
[ "MIT" ]
null
null
null
starter/src/hairsystem.cpp
yunyizhu1/hair-simulation
f9cc5e53fc17d2cd22977644190208d624ec9d8a
[ "MIT" ]
null
null
null
starter/src/hairsystem.cpp
yunyizhu1/hair-simulation
f9cc5e53fc17d2cd22977644190208d624ec9d8a
[ "MIT" ]
null
null
null
#include "hairsystem.h" #include "camera.h" #include "curve.h" #include "surf.h" #include <string> #include <iostream> using namespace std; static Vector3f headCollisionForce(Vector3f point) { float length = point.abs(); if ( length < 1.07) { float forceAbs = COLLISION_RES; return forceAbs * point.normali...
25.526012
99
0.632473
yunyizhu1
820bf292784ad3e2530f536e86436c8c8181900f
507
cpp
C++
libvfuzz-core/src/datasource/datasource.cpp
practicalswift/vfuzz
148d94ece38ed9dc88e7c8c960b5b1cf7f36402b
[ "MIT" ]
182
2020-03-08T14:50:34.000Z
2021-07-19T17:11:39.000Z
libvfuzz-core/src/datasource/datasource.cpp
practicalswift/vfuzz
148d94ece38ed9dc88e7c8c960b5b1cf7f36402b
[ "MIT" ]
2
2020-07-13T18:47:41.000Z
2020-07-13T18:48:00.000Z
libvfuzz-core/src/datasource/datasource.cpp
practicalswift/vfuzz
148d94ece38ed9dc88e7c8c960b5b1cf7f36402b
[ "MIT" ]
35
2020-03-08T14:59:26.000Z
2021-01-31T01:40:21.000Z
#include "datasource.h" namespace vfuzz { namespace datasource { Datasource::Datasource(std::shared_ptr<container::InputCluster> ic, std::shared_ptr<mutator::Container> mutators) : Base(), ic(ic), mutators(mutators) { } std::vector<uint8_t> Datasource::get(const size_t min, const size_t max, const uint64_t id) {...
28.166667
115
0.706114
practicalswift
820bf3be24c2eb70cfd2c334e70dc84eb1967628
550
hh
C++
main/src/Topology/shared.hh
marcomanno/ploygon_triangulation
c98b99e3f9598252ffc27eb202939f0183ac872b
[ "Apache-2.0" ]
null
null
null
main/src/Topology/shared.hh
marcomanno/ploygon_triangulation
c98b99e3f9598252ffc27eb202939f0183ac872b
[ "Apache-2.0" ]
null
null
null
main/src/Topology/shared.hh
marcomanno/ploygon_triangulation
c98b99e3f9598252ffc27eb202939f0183ac872b
[ "Apache-2.0" ]
null
null
null
#pragma once #include "iterator.hh" namespace Topo { template <Type FromT, Type ToT> std::vector<Topo::Wrap<ToT>> shared_entities( const Topo::Wrap<FromT>& _from_a, const Topo::Wrap<FromT>& _from_b) { Topo::Iterator<FromT, ToT> it_a(_from_a); Topo::Iterator<FromT, ToT> it_b(_from_b); std::vect...
22
70
0.627273
marcomanno
820f377953221f9d541b7946f1210537b4e8eeee
5,646
cpp
C++
SDKs/CryCode/3.7.0/GameDll/Environment/Snow.cpp
amrhead/FireNET
34d439aa0157b0c895b20b2b664fddf4f9b84af1
[ "BSD-2-Clause" ]
4
2017-12-18T20:10:16.000Z
2021-02-07T21:21:24.000Z
SDKs/CryCode/3.7.0/GameDll/Environment/Snow.cpp
amrhead/FireNET
34d439aa0157b0c895b20b2b664fddf4f9b84af1
[ "BSD-2-Clause" ]
null
null
null
SDKs/CryCode/3.7.0/GameDll/Environment/Snow.cpp
amrhead/FireNET
34d439aa0157b0c895b20b2b664fddf4f9b84af1
[ "BSD-2-Clause" ]
3
2019-03-11T21:36:15.000Z
2021-02-07T21:21:26.000Z
/************************************************************************* Crytek Source File. Copyright (C), Crytek Studios, 2001-2012. ------------------------------------------------------------------------- $Id$ $DateTime$ Description: Snow entity -------------------------------------------------------------------...
29.103093
194
0.601311
amrhead
8211a9242ddac441e986ed9f50890aae5a062a34
27,399
cpp
C++
src/zorbaserialization/archiver.cpp
jsoniq/jsoniq
f7af29417f809d64d1f0b2622d880bc4d87f2e42
[ "Apache-2.0" ]
94
2015-01-18T09:40:36.000Z
2022-03-02T21:14:55.000Z
src/zorbaserialization/archiver.cpp
jsoniq/jsoniq
f7af29417f809d64d1f0b2622d880bc4d87f2e42
[ "Apache-2.0" ]
72
2015-01-05T22:00:31.000Z
2021-07-17T11:35:03.000Z
src/zorbaserialization/archiver.cpp
jsoniq/jsoniq
f7af29417f809d64d1f0b2622d880bc4d87f2e42
[ "Apache-2.0" ]
27
2015-01-18T20:20:54.000Z
2020-11-01T18:01:07.000Z
/* * Copyright 2006-2008 The FLWOR Foundation. * * 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...
27.074111
88
0.528121
jsoniq
8211bac5d827aeac5187afb3370c906aa790bfc7
166
cpp
C++
src/CGE/Core.cpp
cuckydev/CuckyGameEngine
13304cf88c2a7d9cb86524d6890b3db19ae7ac0a
[ "MIT" ]
1
2020-10-19T23:27:17.000Z
2020-10-19T23:27:17.000Z
src/CGE/Core.cpp
cuckydev/CuckyGameEngine
13304cf88c2a7d9cb86524d6890b3db19ae7ac0a
[ "MIT" ]
null
null
null
src/CGE/Core.cpp
cuckydev/CuckyGameEngine
13304cf88c2a7d9cb86524d6890b3db19ae7ac0a
[ "MIT" ]
null
null
null
/* Project: CuckyGameEngine File: CGE/Core.cpp Purpose: Define the core subsystem namespace Authors: Regan "cuckydev" Green */ //Declaration #include <CGE/Core.h>
13.833333
44
0.753012
cuckydev
82129df8664a798834a85541cb61dcc0e766ad66
562
cpp
C++
test/TestTimer.cpp
wenii/libnetwork
afb0d90307efe83dbb5e4594aca130af7f7a7b80
[ "Apache-2.0" ]
null
null
null
test/TestTimer.cpp
wenii/libnetwork
afb0d90307efe83dbb5e4594aca130af7f7a7b80
[ "Apache-2.0" ]
null
null
null
test/TestTimer.cpp
wenii/libnetwork
afb0d90307efe83dbb5e4594aca130af7f7a7b80
[ "Apache-2.0" ]
null
null
null
#include "TestTimer.h" #include "../src/Log.h" using namespace libnetwork; TestTimer::TestTimer(long interval) : Timer(interval) , count(0) { } TestTimer::~TestTimer() { Log::info("TestTimer destroyed.%p",this); } void TestTimer::onTimer(long time) { count++; if (count > 20) { removeTimer(); Log::info("...
17.030303
94
0.679715
wenii
8216ef9a247dbf06e103a0f331a01e7cf67ccaa4
2,005
cpp
C++
src/config.cpp
JsSucks/BDI
d3130630d3192bf80c6438fddf5ddaca62eefa1e
[ "MIT" ]
14
2019-02-07T23:05:43.000Z
2021-04-07T02:10:43.000Z
src/config.cpp
Jiiks/BDI
d3130630d3192bf80c6438fddf5ddaca62eefa1e
[ "MIT" ]
2
2020-04-28T00:24:23.000Z
2020-09-11T21:33:39.000Z
src/config.cpp
Jiiks/BDI
d3130630d3192bf80c6438fddf5ddaca62eefa1e
[ "MIT" ]
8
2019-02-14T03:08:46.000Z
2020-11-14T14:02:59.000Z
/** * BetterDiscord Installer * Copyright (c) 2018-present Jiiks/JsSucks - https://github.com/Jiiks / https://github.com/JsSucks * All rights reserved. * https://betterdiscord.net * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #in...
24.753086
107
0.680798
JsSucks
821945b01a847ae55b97ce1a47d4e24669eae591
543
hpp
C++
src/usecases/NQ8FW.hpp
DonTassettitos/AIR
92c93f05d6f15095d403dcbbe7ebe16563198697
[ "BSD-3-Clause" ]
null
null
null
src/usecases/NQ8FW.hpp
DonTassettitos/AIR
92c93f05d6f15095d403dcbbe7ebe16563198697
[ "BSD-3-Clause" ]
null
null
null
src/usecases/NQ8FW.hpp
DonTassettitos/AIR
92c93f05d6f15095d403dcbbe7ebe16563198697
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include "../dataflow/Dataflow.hpp" using namespace std; namespace nexmark { /** * COUNT (FLOW-WRAPPING) * * Implementation of NEXMark benchmark's query 8 * using wrapping units on top of the messages, instead * of an internal implementation of the message counting */ class NQ8FW:...
18.1
83
0.672192
DonTassettitos
821a8d21756bec4478a45a781714eca2b0874ca9
2,118
cpp
C++
XRays/XCamera.cpp
stel/XRays
800baa8dcda020d75a681ec463fdbc2c3623012d
[ "MIT" ]
null
null
null
XRays/XCamera.cpp
stel/XRays
800baa8dcda020d75a681ec463fdbc2c3623012d
[ "MIT" ]
null
null
null
XRays/XCamera.cpp
stel/XRays
800baa8dcda020d75a681ec463fdbc2c3623012d
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "XCamera.h" XCamera::XCamera() { Perspective = false; Scale = 1; } XCamera::XCamera(int _XPos, int _YPos, int _ZPos) { } XCamera::~XCamera() { } void XCamera::SetTarget(XVector3d &NewTarget) { Target = NewTarget; } XVector3d XCamera::CCS(const XVector3d &Vector...
18.910714
67
0.675165
stel
821adff906735c219cee3f2fb24ae7c9090cfb28
722
hpp
C++
plugins/grpc/src/config.hpp
zhaoyi2/kaldi-based-asr-server
e886efefb4072e5e5a5c33d0152d7616c45d0e8b
[ "Apache-2.0" ]
79
2019-10-17T14:17:25.000Z
2021-08-24T17:24:26.000Z
plugins/grpc/src/config.hpp
zhaoyi2/kaldi-based-asr-server
e886efefb4072e5e5a5c33d0152d7616c45d0e8b
[ "Apache-2.0" ]
23
2019-10-17T14:23:31.000Z
2021-09-01T12:19:43.000Z
plugins/grpc/src/config.hpp
zhaoyi2/kaldi-based-asr-server
e886efefb4072e5e5a5c33d0152d7616c45d0e8b
[ "Apache-2.0" ]
25
2019-10-17T17:02:10.000Z
2021-04-23T10:17:25.000Z
#pragma once // lib includes #include <kaldiserve/config.hpp> #include <boost/version.hpp> using namespace kaldiserve; constexpr bool BOOST_1_67_X = ((BOOST_VERSION / 100000) >= 1) && (((BOOST_VERSION / 100) % 1000) >= 67); // boost headers for hash functions was changed after version 1_67_X #if BOOST_1_67_X #incl...
25.785714
104
0.698061
zhaoyi2
821aefc3a8656e305a5c679af831f084f738c093
1,163
cpp
C++
lumino/LuminoEngine/src/UI/RoutingRenderView.cpp
lriki/Lumino
1a80430f4a83dbdfbe965b3d5b16064991b3edb0
[ "MIT" ]
30
2016-01-24T05:35:45.000Z
2020-03-03T09:54:27.000Z
lumino/LuminoEngine/src/UI/RoutingRenderView.cpp
lriki/Lumino
1a80430f4a83dbdfbe965b3d5b16064991b3edb0
[ "MIT" ]
35
2016-04-18T06:14:08.000Z
2020-02-09T15:51:58.000Z
lumino/LuminoEngine/src/UI/RoutingRenderView.cpp
lriki/Lumino
1a80430f4a83dbdfbe965b3d5b16064991b3edb0
[ "MIT" ]
5
2016-04-03T02:52:05.000Z
2018-01-02T16:53:06.000Z
#include "Internal.hpp" #include <LuminoEngine/UI/RoutingRenderView.hpp> namespace ln { //============================================================================== // RoutingRenderView RoutingRenderView::RoutingRenderView() { } Ref<EventConnection> RoutingRenderView::connectOnUIEvent(Ref<UIGeneralE...
28.365854
125
0.715391
lriki
82250c9fda8c8b82e955421cca4fc0630da3e0c9
65,558
cpp
C++
driver/JackBridge/Plug-In/SA_Device.cpp
madhatter68/JackRouter
14acd8ab107ee919372fb274ff44c7fbe5013f43
[ "MIT" ]
33
2017-12-27T12:17:41.000Z
2022-01-19T11:42:48.000Z
driver/JackBridge/Plug-In/SA_Device.cpp
madhatter68/JackRouter
14acd8ab107ee919372fb274ff44c7fbe5013f43
[ "MIT" ]
6
2019-02-12T21:24:14.000Z
2020-12-08T09:33:56.000Z
driver/JackBridge/Plug-In/SA_Device.cpp
madhatter68/JackRouter
14acd8ab107ee919372fb274ff44c7fbe5013f43
[ "MIT" ]
5
2019-04-18T19:21:23.000Z
2021-12-29T10:34:05.000Z
/* File: SA_Device.cpp Abstract: Part of SimpleAudioDriver Plug-In Example Version: 1.0.1 Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple Inc. ("Apple") in consideration of your agreement to the following terms, and your use, installation, modification or redistribution of ...
41.544994
279
0.745126
madhatter68
8226cd64e7ef2d2e83968b0c91a31d2e1991e09f
13,256
cpp
C++
Plugins/GamsLibrary/Source/ThirdParty/gams/utility/ros/GamsParser.cpp
jredmondson/GamsPlugins
d133f86c263997a55f11b3b3d3344faeee60d726
[ "BSD-2-Clause" ]
3
2020-03-25T01:59:20.000Z
2020-06-02T17:58:05.000Z
Plugins/GamsLibrary/Source/ThirdParty/gams/utility/ros/GamsParser.cpp
jredmondson/GamsPlugins
d133f86c263997a55f11b3b3d3344faeee60d726
[ "BSD-2-Clause" ]
null
null
null
Plugins/GamsLibrary/Source/ThirdParty/gams/utility/ros/GamsParser.cpp
jredmondson/GamsPlugins
d133f86c263997a55f11b3b3d3344faeee60d726
[ "BSD-2-Clause" ]
1
2020-11-05T23:04:05.000Z
2020-11-05T23:04:05.000Z
/** * @file GamsParser.cpp * @author Jakob Auer <jakob.auer@gmail.com> * * This file contains parsing functionality for ROS topics **/ #include "GamsParser.h" gams::utility::ros::GamsParser::GamsParser(knowledge::KnowledgeBase * kb) : eval_settings_(true, true, false, false, false) { knowledge_ = kb; } vo...
32.410758
81
0.711602
jredmondson
822a43324a66ecde5a525070aa159d9c1ee6ef44
4,058
hpp
C++
frameworks/cocos2d-x/cocos/renderer/scene/assembler/CustomAssembler.hpp
rockleis/rocknative
8618820d4cf3da562029b6c94b0b87c1659d759b
[ "Apache-2.0" ]
null
null
null
frameworks/cocos2d-x/cocos/renderer/scene/assembler/CustomAssembler.hpp
rockleis/rocknative
8618820d4cf3da562029b6c94b0b87c1659d759b
[ "Apache-2.0" ]
null
null
null
frameworks/cocos2d-x/cocos/renderer/scene/assembler/CustomAssembler.hpp
rockleis/rocknative
8618820d4cf3da562029b6c94b0b87c1659d759b
[ "Apache-2.0" ]
null
null
null
/**************************************************************************** Copyright (c) 2018 Xiamen Yaji Software Co., Ltd. http://www.cocos2d-x.org 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 t...
30.283582
124
0.638492
rockleis
822b0ee23456d025b9d85ea07f686a6c9586a43b
1,706
cpp
C++
Source/TopDownShooter/TDGameState.cpp
alexhynesaudio/TopdownShooter-4.13
31ecdbfb7bf8e4544b95b29f6496fb4f9a8fc43f
[ "MIT" ]
null
null
null
Source/TopDownShooter/TDGameState.cpp
alexhynesaudio/TopdownShooter-4.13
31ecdbfb7bf8e4544b95b29f6496fb4f9a8fc43f
[ "MIT" ]
null
null
null
Source/TopDownShooter/TDGameState.cpp
alexhynesaudio/TopdownShooter-4.13
31ecdbfb7bf8e4544b95b29f6496fb4f9a8fc43f
[ "MIT" ]
null
null
null
// TopDownShooter project (c) 2016 V.Khmelevskiy #include "TopDownShooter.h" #include "TDGameState.h" #include "Player/TDPlayerController.h" #include "Gameplay/Objective.h" #include "UnrealNetwork.h" void ATDGameState::OnRep_PlayerKilled() { ATDPlayerController* PlayerController = Cast<ATDPlayerController>(UGamep...
17.957895
121
0.74619
alexhynesaudio