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
c0ba3583202ba7e46ac2b7836ca88a6d2cb48523
981
cpp
C++
173.cpp
zfang399/LeetCode-Problems
4cb25718a3d1361569f5ee6fde7b4a9a4fde2186
[ "MIT" ]
8
2018-10-31T11:00:19.000Z
2020-07-31T05:25:06.000Z
173.cpp
zfang399/LeetCode-Problems
4cb25718a3d1361569f5ee6fde7b4a9a4fde2186
[ "MIT" ]
null
null
null
173.cpp
zfang399/LeetCode-Problems
4cb25718a3d1361569f5ee6fde7b4a9a4fde2186
[ "MIT" ]
2
2018-05-31T11:29:22.000Z
2019-09-11T06:34:40.000Z
/** * Definition for binary tree * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ class BSTIterator { public: stack<TreeNode*> st; BSTIterator(TreeNode *root) { leftline(root); } /** @retur...
20.4375
59
0.519878
zfang399
c0bafb807ea8a38c0e3b0e2ec940e06773db208c
2,629
hpp
C++
include/Reception/Reception.hpp
BourgeoisBenjamin/Epitech-ThePlazza
493eb3227a200d39311956f46c9d8cecb3f5fc6e
[ "MIT" ]
null
null
null
include/Reception/Reception.hpp
BourgeoisBenjamin/Epitech-ThePlazza
493eb3227a200d39311956f46c9d8cecb3f5fc6e
[ "MIT" ]
null
null
null
include/Reception/Reception.hpp
BourgeoisBenjamin/Epitech-ThePlazza
493eb3227a200d39311956f46c9d8cecb3f5fc6e
[ "MIT" ]
null
null
null
/* ** EPITECH PROJECT, 2020 ** CPP_plazza_2019 ** File description: ** TODO: add description */ #ifndef CPP_PLAZZA_2019_RECEPTION_HPP #define CPP_PLAZZA_2019_RECEPTION_HPP #include "Error/Error.hpp" #include <UserShell/UserShell.hpp> #include <memory> #include "Socket/Server.hpp" #include "Order/Order.hpp" #include "...
33.278481
155
0.621909
BourgeoisBenjamin
c0bc33ed754d8d0e2cd367fb55b933473f59b981
1,966
inl
C++
shared/source/xe_hpc_core/os_agnostic_hw_info_config_xe_hpc_core.inl
mattcarter2017/compute-runtime
1f52802aac02c78c19d5493dd3a2402830bbe438
[ "Intel", "MIT" ]
null
null
null
shared/source/xe_hpc_core/os_agnostic_hw_info_config_xe_hpc_core.inl
mattcarter2017/compute-runtime
1f52802aac02c78c19d5493dd3a2402830bbe438
[ "Intel", "MIT" ]
null
null
null
shared/source/xe_hpc_core/os_agnostic_hw_info_config_xe_hpc_core.inl
mattcarter2017/compute-runtime
1f52802aac02c78c19d5493dd3a2402830bbe438
[ "Intel", "MIT" ]
null
null
null
/* * Copyright (C) 2022 Intel Corporation * * SPDX-License-Identifier: MIT * */ template <> std::string HwInfoConfigHw<gfxProduct>::getDeviceMemoryName() const { return "HBM"; } template <> bool HwInfoConfigHw<gfxProduct>::isDirectSubmissionSupported(const HardwareInfo &hwInfo) const { return true; } te...
35.107143
153
0.784842
mattcarter2017
c0cbd0dfdbe651a4ebecba6e663a04dc7c187bf6
5,033
cpp
C++
test/optional_ref.cpp
atom/type_safe
4b0983a01093f7322b35c56e94e3ac2311dfae21
[ "MIT" ]
3
2018-01-04T01:42:58.000Z
2021-10-30T14:04:24.000Z
test/optional_ref.cpp
atom/type_safe
4b0983a01093f7322b35c56e94e3ac2311dfae21
[ "MIT" ]
null
null
null
test/optional_ref.cpp
atom/type_safe
4b0983a01093f7322b35c56e94e3ac2311dfae21
[ "MIT" ]
5
2017-02-01T23:54:46.000Z
2021-01-27T11:29:11.000Z
// Copyright (C) 2016-2017 Jonathan Müller <jonathanmueller.dev@gmail.com> // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. #include <type_safe/optional_ref.hpp> #include <catch.hpp> #include "debugger_type.hpp" using namespace type_safe; te...
26.489474
88
0.585734
atom
c0cfd83d12445151d20200d1e5911bab0be53ee9
1,283
cpp
C++
cppsrc/Samples/functionalexample.cpp
ferserc1/node-api-test
43a732b4d0539af812d8a8b86de756cbe915b1ab
[ "MIT" ]
null
null
null
cppsrc/Samples/functionalexample.cpp
ferserc1/node-api-test
43a732b4d0539af812d8a8b86de756cbe915b1ab
[ "MIT" ]
null
null
null
cppsrc/Samples/functionalexample.cpp
ferserc1/node-api-test
43a732b4d0539af812d8a8b86de756cbe915b1ab
[ "MIT" ]
null
null
null
#include "functionalexample.h" namespace functionalexample { std::string hello() { return "Hello World"; } int add(int a, int b) { return a + b; } Napi::String HelloWrapped(const Napi::CallbackInfo& info) { Napi::Env env = info.Env(); Napi::String returnVa...
25.66
92
0.579891
ferserc1
c0d013643e35745b4ccb34d717580a0ed7f58587
439
cpp
C++
Example/src/MYAPP_BASE/MyObject.cpp
heesok2/MFC
1ff13a425609addbf458d00f9853d16ada2b29ec
[ "MIT" ]
null
null
null
Example/src/MYAPP_BASE/MyObject.cpp
heesok2/MFC
1ff13a425609addbf458d00f9853d16ada2b29ec
[ "MIT" ]
null
null
null
Example/src/MYAPP_BASE/MyObject.cpp
heesok2/MFC
1ff13a425609addbf458d00f9853d16ada2b29ec
[ "MIT" ]
null
null
null
#include "pch.h" #include "MyObject.h" MyObjectGKey::MyObjectGKey(IDBSession * pDBSession, MIterator itr) : MyObject(pDBSession, itr) { if (ITR_TO_DATATYPE(itr) == DATATYPE_STEEL) m_pChild = std::make_unique<MyObjectSteel>(pDBSession, itr); else if (ITR_TO_DATATYPE(itr) == DATATYPE_CONCRETE) m_pChild = std::mak...
31.357143
66
0.756264
heesok2
c0d8394a0350d3cfd01012f1c52f9f9af67e94b1
52
hpp
C++
src/boost_local_function_aux__macro_decl.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_local_function_aux__macro_decl.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_local_function_aux__macro_decl.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/local_function/aux_/macro/decl.hpp>
26
51
0.807692
miathedev
c0d9255857e668373dec297c4b517b833a1bcb17
651
cpp
C++
codes/UVA/10001-19999/uva11427.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/UVA/10001-19999/uva11427.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/UVA/10001-19999/uva11427.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
#include <cstdio> #include <cstring> #include <algorithm> using namespace std; const int maxn = 105; double dp[maxn][maxn]; int main () { int cas; scanf("%d", &cas); for (int kcas = 1; kcas <= cas; kcas++) { int a, b, n; scanf("%d/%d%d", &a, &b, &n); double p = (double)a / b; memset(dp, 0, sizeof(dp)); ...
18.6
45
0.457757
JeraKrs
c0da0454558e3bb2e84de2fbc2434c547d912f18
5,702
cpp
C++
Sharing/Src/External/RakNet-4.081/src/DependentExtensions/cat/src/math/rtl/mul/Square.cpp
matthejo/MixedRealityToolkit
c97ace84cfc4cdf97044b35b568bd9182497497a
[ "MIT" ]
158
2016-11-17T19:37:51.000Z
2022-03-21T19:57:55.000Z
Sharing/Src/External/RakNet-4.081/src/DependentExtensions/cat/src/math/rtl/mul/Square.cpp
matthejo/MixedRealityToolkit
c97ace84cfc4cdf97044b35b568bd9182497497a
[ "MIT" ]
94
2016-11-18T09:55:57.000Z
2021-01-14T08:50:40.000Z
Sharing/Src/External/RakNet-4.081/src/DependentExtensions/cat/src/math/rtl/mul/Square.cpp
matthejo/MixedRealityToolkit
c97ace84cfc4cdf97044b35b568bd9182497497a
[ "MIT" ]
60
2015-02-17T00:12:11.000Z
2021-08-21T22:16:58.000Z
/* Copyright (c) 2009 Christopher A. Taylor. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
38.268456
118
0.692564
matthejo
c0dd01b65173d64bc1f31d5fa1b6c7b55ef2b317
7,900
cpp
C++
examples/features/running.cxx/_model/heat2d.cpp
JonathanLehner/korali
90f97d8e2fed2311f988f39cfe014f23ba7dd6cf
[ "MIT" ]
43
2018-07-26T07:20:42.000Z
2022-03-02T10:23:12.000Z
examples/features/running.cxx/_model/heat2d.cpp
JonathanLehner/korali
90f97d8e2fed2311f988f39cfe014f23ba7dd6cf
[ "MIT" ]
212
2018-09-21T10:44:07.000Z
2022-03-22T14:33:05.000Z
examples/features/running.cxx/_model/heat2d.cpp
JonathanLehner/korali
90f97d8e2fed2311f988f39cfe014f23ba7dd6cf
[ "MIT" ]
16
2018-07-25T15:00:36.000Z
2022-03-22T14:19:46.000Z
/**********************************************************************/ // A simple Multigrid Solver for the Heat Equation // // Course Material for HPCSE-II, Spring 2019, ETH Zurich // // Authors: Sergio Martin, Georgios Arampatzis // // License: Use if you like,...
34.497817
203
0.504937
JonathanLehner
c0e00afa42b61c376a4c7e0efd85a8e5ebf22ecb
494
cpp
C++
Sorting algorithms/BubbleSort.cpp
nia-flo/FMI-DataStructuresAndAlgorithms
1040b14e0b008015a4a035c0db19c7b22d72ba79
[ "MIT" ]
null
null
null
Sorting algorithms/BubbleSort.cpp
nia-flo/FMI-DataStructuresAndAlgorithms
1040b14e0b008015a4a035c0db19c7b22d72ba79
[ "MIT" ]
null
null
null
Sorting algorithms/BubbleSort.cpp
nia-flo/FMI-DataStructuresAndAlgorithms
1040b14e0b008015a4a035c0db19c7b22d72ba79
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; void swap(int* a, int* b) { int buffer = *a; *a = *b; *b = buffer; } void bubbleSort(int array[], int size) { for (int i = 0; i < size - 1; i++) { for (int j = 0; j < size - i - 1; j++) { if (array[j] > array[j + 1]) { swap(&array[j], &array[j + 1]); } ...
13
49
0.467611
nia-flo
c0e1a1383a66f1c6c4211d4a16711fc9fc4214dd
567
cpp
C++
code_practice/class/OOP/1_protected2.cpp
armkernel/armkernel.github.io
f74b8ddfc8a69dec8b5eeccb4d92c62dcc6c321a
[ "MIT" ]
2
2019-08-06T13:45:02.000Z
2019-11-06T01:15:30.000Z
code_practice/class/OOP/1_protected2.cpp
armkernel/armkernel.github.io
f74b8ddfc8a69dec8b5eeccb4d92c62dcc6c321a
[ "MIT" ]
null
null
null
code_practice/class/OOP/1_protected2.cpp
armkernel/armkernel.github.io
f74b8ddfc8a69dec8b5eeccb4d92c62dcc6c321a
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; class Car { public: Car() {} // 소멸자를 protected 를 부름 // 객체가 파괴 될때, 소멸자를 부른다. // 하지만, protected에 있을 경우 외부에 선언에 의해 파괴 될 수 없다. void Destory() { delete this; } // 멤버함수를 통해서 하라고.. protected: ~Car() { cout << "~Car" << endl; } }; int main() { Car c; // 스택에 객체를 만들 수 없다....
13.829268
46
0.574956
armkernel
c0e9f0c17fde3226039acee4dc403fdef0e78233
853
cpp
C++
Algorithms/dynamic_programming/optimal_strategy.cpp
Divide-et-impera-11/AlgorithmWord
a78bb9272b59df5d16fdc0af565391ef2ac20117
[ "MIT" ]
null
null
null
Algorithms/dynamic_programming/optimal_strategy.cpp
Divide-et-impera-11/AlgorithmWord
a78bb9272b59df5d16fdc0af565391ef2ac20117
[ "MIT" ]
null
null
null
Algorithms/dynamic_programming/optimal_strategy.cpp
Divide-et-impera-11/AlgorithmWord
a78bb9272b59df5d16fdc0af565391ef2ac20117
[ "MIT" ]
null
null
null
using namespace std; #include <iostream> #include <string> #define SIZ 4 //------------Optimal Strategy------------ uint32_t opt_str(int coins[SIZ],int srt,int end) { if (srt <= end && (srt != 0 || end != SIZ - 1)) coins[srt] > coins[end] ? srt += 1 : end =- 1; if (srt > end) ...
25.848485
118
0.513482
Divide-et-impera-11
c0eb520198aa791f63eeae930e0eab0cc310491a
3,325
cpp
C++
master/core/third/zeromq/src/v1_encoder.cpp
importlib/klib
a59837857689d0e60d3df6d2ebd12c3160efa794
[ "MIT" ]
4
2017-12-04T08:22:48.000Z
2019-10-26T21:44:59.000Z
master/core/third/zeromq/src/v1_encoder.cpp
isuhao/klib
a59837857689d0e60d3df6d2ebd12c3160efa794
[ "MIT" ]
null
null
null
master/core/third/zeromq/src/v1_encoder.cpp
isuhao/klib
a59837857689d0e60d3df6d2ebd12c3160efa794
[ "MIT" ]
4
2017-12-04T08:22:49.000Z
2018-12-27T03:20:31.000Z
/* Copyright (c) 2007-2012 iMatix Corporation Copyright (c) 2009-2011 250bpm s.r.o. Copyright (c) 2011 VMware, Inc. Copyright (c) 2007-2011 Other contributors as noted in the AUTHORS file This file is part of 0MQ. 0MQ is free software; you can redistribute it and/or modify it under the ter...
31.971154
78
0.664361
importlib
c0f078a52039bdb268b74bb0fe7b54608416cb19
393
hpp
C++
include/logger/StderrLogger.hpp
Mvwivs/tp_advanced_cpp_project
1be9389005d002709920c7f7cc73ebfe6c16c17b
[ "Apache-2.0" ]
2
2020-05-14T12:21:42.000Z
2020-05-14T12:27:37.000Z
include/logger/StderrLogger.hpp
Mvwivs/tp_advanced_cpp_project
1be9389005d002709920c7f7cc73ebfe6c16c17b
[ "Apache-2.0" ]
2
2020-03-20T11:09:43.000Z
2020-05-22T16:50:38.000Z
include/logger/StderrLogger.hpp
Mvwivs/tp_advanced_cpp_project
1be9389005d002709920c7f7cc73ebfe6c16c17b
[ "Apache-2.0" ]
null
null
null
#pragma once #include <iostream> #include "BaseLogger.hpp" namespace logger { // Logger for writing to stderr class StderrLogger : public BaseLogger { public: StderrLogger() = default; virtual ~StderrLogger() = default; // flush logger buffers void flush() override; protected: // write message to log target...
15.72
65
0.735369
Mvwivs
c0f0fd734f6274e375010b842b46efb5229df438
2,984
cpp
C++
src/ui/Windows/SHCTHotKey.cpp
bbr1870/pwsafe
1b4ea343303ee19ee40d8cd4a35498a9b8b57cee
[ "Artistic-2.0" ]
null
null
null
src/ui/Windows/SHCTHotKey.cpp
bbr1870/pwsafe
1b4ea343303ee19ee40d8cd4a35498a9b8b57cee
[ "Artistic-2.0" ]
1
2019-12-21T16:39:09.000Z
2019-12-21T16:39:09.000Z
src/ui/Windows/SHCTHotKey.cpp
akossomfai/pwsafe
c627f72d19d16745c6b6e616021cf61e2b8d40ba
[ "Artistic-2.0" ]
null
null
null
/* * Copyright (c) 2003-2022 Rony Shapiro <ronys@pwsafe.org>. * All rights reserved. Use of the code is allowed under the * Artistic License 2.0 terms, as specified in the LICENSE file * distributed with this code, or available from * http://www.opensource.org/licenses/artistic-license-2.0.php */ // SHCTHotKey.cpp : im...
30.141414
87
0.673257
bbr1870
c0f3eea97886c2bb3062f208f770849d2b634e48
1,329
hpp
C++
src/profiling/backends/BackendProfiling.hpp
korabelnikov/armnn
8c3259fa007d43fcc5ea56fe6928526dbe79f3c0
[ "MIT" ]
null
null
null
src/profiling/backends/BackendProfiling.hpp
korabelnikov/armnn
8c3259fa007d43fcc5ea56fe6928526dbe79f3c0
[ "MIT" ]
null
null
null
src/profiling/backends/BackendProfiling.hpp
korabelnikov/armnn
8c3259fa007d43fcc5ea56fe6928526dbe79f3c0
[ "MIT" ]
null
null
null
// // Copyright © 2020 Arm Ltd. All rights reserved. // SPDX-License-Identifier: MIT // #pragma once #include "IProfilingService.hpp" #include <armnn/backends/profiling/IBackendProfiling.hpp> namespace armnn { namespace profiling { class BackendProfiling : public IBackendProfiling { public: BackendProfiling(co...
26.058824
89
0.72611
korabelnikov
c0f5c35d752b981edd2fc66f478cd00ff2ab3a77
64,616
cpp
C++
human-relationship-dynamics/main.cpp
jleopold28/snippets-and-notes
0a032ee6ecc31c1e626305464f6ca59bfec90275
[ "MIT" ]
null
null
null
human-relationship-dynamics/main.cpp
jleopold28/snippets-and-notes
0a032ee6ecc31c1e626305464f6ca59bfec90275
[ "MIT" ]
null
null
null
human-relationship-dynamics/main.cpp
jleopold28/snippets-and-notes
0a032ee6ecc31c1e626305464f6ca59bfec90275
[ "MIT" ]
null
null
null
////////////////////////////////////////////////////////////////////////////// // //Includes and Main // ////////////////////////////////////////////////////////////////////////////// #include <iostream> #include <cmath> #include <cstdlib> #include <iomanip> #include <cstring> #include <fstream> #include <...
57.590018
308
0.617866
jleopold28
c0f6dfbb920d8cf028c0e47049139056ef22b89e
1,640
cpp
C++
HXEngine/HXEditor/TestTriangle.cpp
huangx916/HXEngine
b7ec36572c4444113a35c9a6c65b127279c7360f
[ "MIT" ]
45
2018-07-21T12:14:44.000Z
2022-01-26T04:22:38.000Z
HXEngine/HXEditor/TestTriangle.cpp
huangx916/HXEngine
b7ec36572c4444113a35c9a6c65b127279c7360f
[ "MIT" ]
75
2017-08-11T03:06:03.000Z
2019-06-13T06:20:58.000Z
HXEngine/HXEditor/TestTriangle.cpp
huangx916/HXEngine
b7ec36572c4444113a35c9a6c65b127279c7360f
[ "MIT" ]
19
2018-11-26T08:41:56.000Z
2022-03-21T03:29:55.000Z
#include "TestTriangle.h" #include "LoadShaders.h" void TestTriangle::InitTriangle() { glGenVertexArrays(1, &vao); glGenBuffers(1, &vbo); glBindVertexArray(vao); const GLuint NumVertices = 6; GLfloat vertices[NumVertices][2] = { { -0.90f, -0.90f }, // Triangle 1 { 0.85f, -0.90f }, { -0.90f, 0.85f }, {...
23.768116
88
0.688415
huangx916
c0f6f0ff0e0bb00641431213dd69d6841b759cf6
1,292
cpp
C++
src/libcore/src/libcore/io/CLibcore.cpp
sparkoss/ccm
9ed67a7cbdc9c69f4182e72be8e8b6b23d7c3c8d
[ "Apache-2.0" ]
6
2018-05-08T10:08:21.000Z
2021-11-13T13:22:58.000Z
src/libcore/src/libcore/io/CLibcore.cpp
sparkoss/ccm
9ed67a7cbdc9c69f4182e72be8e8b6b23d7c3c8d
[ "Apache-2.0" ]
1
2018-05-08T10:20:17.000Z
2018-07-23T05:19:19.000Z
src/libcore/src/libcore/io/CLibcore.cpp
sparkoss/ccm
9ed67a7cbdc9c69f4182e72be8e8b6b23d7c3c8d
[ "Apache-2.0" ]
4
2018-03-13T06:21:11.000Z
2021-06-19T02:48:07.000Z
//========================================================================= // Copyright (C) 2018 The C++ Component Model(CCM) Open Source Project // // 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 Lic...
26.367347
75
0.615325
sparkoss
c0fe64ae730a24c2fd7898b5d17c224fb7354db6
23,111
cpp
C++
framework_c++/jugimap/jmCollision.cpp
Jugilus/jugimapAPI
93fba7827b16169f858f7bd88c87236c5cf27183
[ "MIT" ]
8
2020-11-23T23:34:39.000Z
2022-02-23T12:14:02.000Z
framework_c++/jugimap/jmCollision.cpp
Jugilus/jugimapAPI
93fba7827b16169f858f7bd88c87236c5cf27183
[ "MIT" ]
null
null
null
framework_c++/jugimap/jmCollision.cpp
Jugilus/jugimapAPI
93fba7827b16169f858f7bd88c87236c5cf27183
[ "MIT" ]
3
2019-12-19T13:44:43.000Z
2020-05-15T01:02:10.000Z
#include <assert.h> #include "jmCommonFunctions.h" #include "jmVectorShapes.h" #include "jmSprites.h" #include "jmSourceGraphics.h" #include "jmCollision.h" namespace jugimap{ std::vector<Vec2f>Collision::intersections; bool Collision::ShapesOverlap(GeometricShape *shape1, GeometricShape *shape2) { if(sh...
27.644737
314
0.604301
Jugilus
c0fe836c85781a8a433c07365dff703052072ce6
9,257
hpp
C++
include/tnt/math/impl/divide_impl.hpp
JordanCheney/tnt
a0fd378079d36b2bd39960c34e5c83f9633db0c0
[ "MIT" ]
null
null
null
include/tnt/math/impl/divide_impl.hpp
JordanCheney/tnt
a0fd378079d36b2bd39960c34e5c83f9633db0c0
[ "MIT" ]
1
2018-06-09T04:40:01.000Z
2018-06-09T04:40:01.000Z
include/tnt/math/impl/divide_impl.hpp
JordanCheney/tnt
a0fd378079d36b2bd39960c34e5c83f9633db0c0
[ "MIT" ]
null
null
null
#ifndef TNT_MATH_DIVIDE_IMPL_HPP #define TNT_MATH_DIVIDE_IMPL_HPP #include <tnt/math/arithmetic_ops.hpp> #include <tnt/utils/simd.hpp> #include <tnt/utils/testing.hpp> namespace tnt { namespace detail { template <typename LeftType, typename RightType> struct OptimizedDivide<LeftType, RightType, typename...
36.160156
114
0.584963
JordanCheney
8d00ae578c1c2edb60a9c0833dad8c0bd77e3b11
2,435
cpp
C++
src/gfx/image.cpp
jprochazk/tedit
543cf3f65e6b7c21052883533c0b4397e72765ad
[ "MIT" ]
4
2020-11-09T23:58:33.000Z
2021-11-20T05:27:44.000Z
src/gfx/image.cpp
jprochazk/tedit
543cf3f65e6b7c21052883533c0b4397e72765ad
[ "MIT" ]
null
null
null
src/gfx/image.cpp
jprochazk/tedit
543cf3f65e6b7c21052883533c0b4397e72765ad
[ "MIT" ]
null
null
null
#include "pch.h" #include "image.hpp" namespace gfx { Image::Image(const std::string& uri, GLenum type, ImageOptions options) : handle_() , width_() , height_() , type_(type) { static std::thread::id gl_thread_id = std::this_thread::get_id(); assert(std::this_thread::get_id() == gl_thread_id); /...
22.757009
102
0.655031
jprochazk
8d0819969deed65f254a98be2aabbe1b87514d84
14,163
tpp
C++
include/mgcpp/matrix/device_matrix.tpp
MGfoundation/mgcpp
66c072191e58871637bcb3b76701a79a4ae89779
[ "BSL-1.0" ]
48
2018-01-02T03:47:18.000Z
2021-09-09T05:55:45.000Z
include/mgcpp/matrix/device_matrix.tpp
MGfoundation/mgcpp
66c072191e58871637bcb3b76701a79a4ae89779
[ "BSL-1.0" ]
24
2017-12-27T18:03:13.000Z
2018-07-02T09:00:30.000Z
include/mgcpp/matrix/device_matrix.tpp
MGfoundation/mgcpp
66c072191e58871637bcb3b76701a79a4ae89779
[ "BSL-1.0" ]
6
2018-01-14T14:06:10.000Z
2018-10-16T08:43:01.000Z
// Copyright RedPortal, mujjingun 2017 - 2018. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE or copy at // http://www.boost.org/LICENSE_1_0.txt) #include <mgcpp/cuda/device.hpp> #include <mgcpp/cuda/memory.hpp> #include <mgcpp/kernels/mgblas_helpe...
29.629707
79
0.667232
MGfoundation
8d0b09e18e2910701020d01483f19e471e701166
238,135
cpp
C++
modules/SokuStreaming/Utils/ShiftJISDecoder.cpp
enebe-nb/SokuMods
efe85122aa5532aaad0215d23b2544925d7f4bd6
[ "Unlicense" ]
8
2021-03-06T08:32:37.000Z
2022-02-13T16:00:50.000Z
modules/SokuStreaming/Utils/ShiftJISDecoder.cpp
enebe-nb/SokuMods
efe85122aa5532aaad0215d23b2544925d7f4bd6
[ "Unlicense" ]
17
2020-11-29T12:10:47.000Z
2022-02-21T23:28:35.000Z
modules/SokuStreaming/Utils/ShiftJISDecoder.cpp
enebe-nb/SokuMods
efe85122aa5532aaad0215d23b2544925d7f4bd6
[ "Unlicense" ]
3
2021-03-05T13:43:58.000Z
2021-11-19T15:49:32.000Z
// // Created by Gegel85 on 11/11/2020. // #include "ShiftJISDecoder.hpp" std::string convertShiftJisToUTF8(const char *str) { std::string output; auto bytes = reinterpret_cast<const unsigned char *>(str); output.reserve(3 * strlen(str)); // ShiftJis won't give 4byte UTF8, so max. 3 byte per input char are needed...
33.630137
109
0.494291
enebe-nb
8d0dd5bca34cff542941c4177990158b57c33ad6
3,184
hpp
C++
src/WebSocket.hpp
Nemesis211/samp-discord-connector
71ca9993924de00f4cfc9f24faffa790da8806de
[ "MIT" ]
109
2016-11-10T10:55:37.000Z
2022-03-26T03:33:16.000Z
src/WebSocket.hpp
Nemesis211/samp-discord-connector
71ca9993924de00f4cfc9f24faffa790da8806de
[ "MIT" ]
204
2016-12-17T03:21:39.000Z
2022-03-28T00:53:41.000Z
src/WebSocket.hpp
Nemesis211/samp-discord-connector
71ca9993924de00f4cfc9f24faffa790da8806de
[ "MIT" ]
81
2016-12-27T14:57:41.000Z
2022-03-23T12:33:32.000Z
#pragma once #include <string> #include <functional> #include <chrono> #include <map> #include <thread> #include <memory> #include <json.hpp> #include <boost/asio/strand.hpp> #include <boost/asio/steady_timer.hpp> #include <boost/beast/core.hpp> #include <boost/beast/ssl.hpp> #include <boost/beast/websocket.hpp> #inc...
23.761194
80
0.76696
Nemesis211
8d0e536f1992661fb7ffd9bee83122c4493a9963
47,871
cpp
C++
Plugins/Nano/Source/Nano/Private/NanoManager.cpp
Joohansson/UnrealNanoLiteDesktop
ede8e1dc0804e64fa65e49f439bfe9d71edc9267
[ "BSD-3-Clause-Clear" ]
3
2021-01-12T08:04:38.000Z
2021-06-17T16:18:52.000Z
Plugins/Nano/Source/Nano/Private/NanoManager.cpp
Joohansson/UnrealNanoLiteDesktop
ede8e1dc0804e64fa65e49f439bfe9d71edc9267
[ "BSD-3-Clause-Clear" ]
null
null
null
Plugins/Nano/Source/Nano/Private/NanoManager.cpp
Joohansson/UnrealNanoLiteDesktop
ede8e1dc0804e64fa65e49f439bfe9d71edc9267
[ "BSD-3-Clause-Clear" ]
null
null
null
// Copyright 2020 Wesley Shillingford. All rights reserved. #include "NanoManager.h" #include "Engine.h" #include "Engine/World.h" #include "Http.h" #include "HttpModule.h" #include "Json.h" #include "JsonObjectConverter.h" #include "NanoBlueprintLibrary.h" #include <ed25519-donna/ed25519.h> #include <nano/blocks.h> ...
40.706633
175
0.758058
Joohansson
8d0f5479a7719dbe7b1b682bd718bb7e60bfee8c
200
cpp
C++
src/stellar/stellar.main.char.cpp
marehr/dream_stellar
03ffc33cba4336d585108a22c8e166d0fbd7ac4b
[ "BSD-3-Clause" ]
null
null
null
src/stellar/stellar.main.char.cpp
marehr/dream_stellar
03ffc33cba4336d585108a22c8e166d0fbd7ac4b
[ "BSD-3-Clause" ]
16
2021-11-12T16:42:35.000Z
2022-01-11T15:28:23.000Z
src/stellar/stellar.main.char.cpp
marehr/dream_stellar
03ffc33cba4336d585108a22c8e166d0fbd7ac4b
[ "BSD-3-Clause" ]
null
null
null
#include <stellar/app/stellar.main.tpp> namespace stellar { namespace app { template int mainWithOptions<>(StellarOptions & options, String<char>); } // namespace stellar::app } // namespace stellar
20
71
0.755
marehr
8d0fb7fef8dd8490bf3404762fb88cfdced0eff8
1,151
cpp
C++
widget lab 2/assignment/lib/pwm.cpp
Praxis-3-Team-1078I/ESC204
64c681a9b5075fbcff0191b4f55fcaf99d35c216
[ "MIT" ]
null
null
null
widget lab 2/assignment/lib/pwm.cpp
Praxis-3-Team-1078I/ESC204
64c681a9b5075fbcff0191b4f55fcaf99d35c216
[ "MIT" ]
null
null
null
widget lab 2/assignment/lib/pwm.cpp
Praxis-3-Team-1078I/ESC204
64c681a9b5075fbcff0191b4f55fcaf99d35c216
[ "MIT" ]
null
null
null
#include "hardware/pwm.h" #include "pico/stdlib.h" #include "pwm.hpp" #include <limits> // define pico clock frequency to be able to calculate desired pwm clock divider #define SYS_CLK_HZ 125000000.0f // we want to count from 0 to max 16 bit uint, need for clock divider calculations #define COUNTS_PER_CYCLE (static_ca...
34.878788
87
0.741964
Praxis-3-Team-1078I
8d1955df8776b8fbeeaf323f7d471a8440f1538c
2,064
cpp
C++
src/test/circular_buffer.t.cpp
bkentel/boken-old
8967856be5f283989d0c10843bcb739728423152
[ "MIT" ]
null
null
null
src/test/circular_buffer.t.cpp
bkentel/boken-old
8967856be5f283989d0c10843bcb739728423152
[ "MIT" ]
null
null
null
src/test/circular_buffer.t.cpp
bkentel/boken-old
8967856be5f283989d0c10843bcb739728423152
[ "MIT" ]
1
2020-04-11T12:20:00.000Z
2020-04-11T12:20:00.000Z
#if !defined(BK_NO_TESTS) #include "catch.hpp" #include "circular_buffer.hpp" #include <string> TEST_CASE("circular_buffer") { using namespace boken; constexpr size_t capacity = 10; simple_circular_buffer<std::string> buffer {capacity}; // // initial conditions // REQUIRE(buffer.size() ...
22.681319
87
0.525194
bkentel
8d21913521edfd52a9cfd85e7a62b9de363b5455
2,506
cpp
C++
Nesis/Common/BestFit/AbstractBestFitLinear.cpp
jpoirier/x-gauges
8261b19a9678ad27db44eb8c354f5e66bd061693
[ "BSD-3-Clause" ]
3
2015-11-08T07:17:46.000Z
2019-04-05T17:08:05.000Z
Nesis/Common/BestFit/AbstractBestFitLinear.cpp
jpoirier/x-gauges
8261b19a9678ad27db44eb8c354f5e66bd061693
[ "BSD-3-Clause" ]
null
null
null
Nesis/Common/BestFit/AbstractBestFitLinear.cpp
jpoirier/x-gauges
8261b19a9678ad27db44eb8c354f5e66bd061693
[ "BSD-3-Clause" ]
null
null
null
/*************************************************************************** * * * Copyright (C) 2008 by Kanardia d.o.o. [see www.kanardia.eu] * * Writen by: * * Ales...
34.328767
81
0.442937
jpoirier
8d251259b9437e6772e8b8ddc0993627266536e6
5,620
cpp
C++
fixtureeditor/editcapability.cpp
offtools/qlcplus
d6dd2aba32fad52b43624f8d6179c0f4f2213285
[ "Apache-2.0" ]
1
2015-03-03T17:30:10.000Z
2015-03-03T17:30:10.000Z
fixtureeditor/editcapability.cpp
bjlupo/rcva_qlcplus
d367d33f5446c30d5201625e72946cc27f55ae5d
[ "Apache-2.0" ]
null
null
null
fixtureeditor/editcapability.cpp
bjlupo/rcva_qlcplus
d367d33f5446c30d5201625e72946cc27f55ae5d
[ "Apache-2.0" ]
null
null
null
/* Q Light Controller - Fixture Definition Editor editcapability.cpp Copyright (C) Heikki Junnila 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/L...
30.378378
80
0.683274
offtools
8d287d805e8cea01e7b4335b0afe1b48a0bf6029
4,511
cpp
C++
Source/DasKombinat/Private/Fsm/TransitionalFsm.cpp
Game-Kombinat/DasKombinat
2b3c61351f433cd34f474229f3ae8126e17b5fa6
[ "MIT" ]
null
null
null
Source/DasKombinat/Private/Fsm/TransitionalFsm.cpp
Game-Kombinat/DasKombinat
2b3c61351f433cd34f474229f3ae8126e17b5fa6
[ "MIT" ]
null
null
null
Source/DasKombinat/Private/Fsm/TransitionalFsm.cpp
Game-Kombinat/DasKombinat
2b3c61351f433cd34f474229f3ae8126e17b5fa6
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "Fsm/TransitionalFsm.h" #include "Fsm/FsmState.h" #include "Fsm/FsmTransition.h" TArray<FFsmTransition>UTransitionalFsm::emptyTransitionList = TArray<FFsmTransition>(); bool UTransitionalFsm::ShouldBeTicked() const { if (c...
29.292208
112
0.672135
Game-Kombinat
8d2b0d719221e55b7914dd963a173ed59e506557
658
cpp
C++
src/main.cpp
BC-Werner/ObserverPattern
6417dd6a90621bb325ace7e12ac63e201b2df92b
[ "MIT" ]
null
null
null
src/main.cpp
BC-Werner/ObserverPattern
6417dd6a90621bb325ace7e12ac63e201b2df92b
[ "MIT" ]
null
null
null
src/main.cpp
BC-Werner/ObserverPattern
6417dd6a90621bb325ace7e12ac63e201b2df92b
[ "MIT" ]
null
null
null
/* * Brandon Werner * 12/5/2021 * * Observer Design Pattern Example */ #include <iostream> //#include <vector> //#include <string> //#include <algorithm> #include "ConcreteSubject.hpp" #include "ConcreteObserver.hpp" #include "ConcreteObserverB.hpp" #include "DataClass.hpp" //using namespace s...
18.277778
63
0.651976
BC-Werner
8d2d331bfaa4e1c72dfe8a73b24be4d7f1905b1d
2,854
cpp
C++
test/source/random_bench.cpp
bensuperpc/MathLib
148bc8703865b46ba5b67969ed2e685d6d85e9a0
[ "MIT" ]
null
null
null
test/source/random_bench.cpp
bensuperpc/MathLib
148bc8703865b46ba5b67969ed2e685d6d85e9a0
[ "MIT" ]
null
null
null
test/source/random_bench.cpp
bensuperpc/MathLib
148bc8703865b46ba5b67969ed2e685d6d85e9a0
[ "MIT" ]
null
null
null
/** * @file random_bench.cpp * @author Bensuperpc (bensuperpc@gmail.com) * @brief * @version 1.0.0 * @date 2022-03-22 * * MIT License * */ #include <cstddef> #include <vector> #include "mathlib/random.hpp" #include <benchmark/benchmark.h> /** * @brief Construct a new bench case * */ static void random_...
21.458647
70
0.675193
bensuperpc
8d2f2a68d8bfa6fe2660aff4031f9622d202b239
909
cpp
C++
1052/xor.cpp
openoj/data
f217c30f0cb0ac0a93fd7229c40bfb011ce21bc0
[ "Apache-2.0" ]
null
null
null
1052/xor.cpp
openoj/data
f217c30f0cb0ac0a93fd7229c40bfb011ce21bc0
[ "Apache-2.0" ]
null
null
null
1052/xor.cpp
openoj/data
f217c30f0cb0ac0a93fd7229c40bfb011ce21bc0
[ "Apache-2.0" ]
null
null
null
#include<iostream> #include<cstdio> #include<cstring> using namespace std; const int u=100010; int val[u*32],a[u*32][2],f[u]; int n,tot,i,ans,x,y,z; inline int getint() { char c; while ((c = getchar()) < '0' || c > '9'); int res = c - '0'; while ((c = getchar()) >= '0' && c <= '9') res = res * 10 + c...
18.9375
47
0.511551
openoj
8d359dcab222530abc0bf9304a5ee7043b780f16
2,473
cpp
C++
src/field.cpp
JeffersonCarvalh0/snake
628014cd523878ebdb2a8ef9edcd1d544681be92
[ "MIT" ]
2
2019-08-08T17:19:07.000Z
2019-08-09T00:14:34.000Z
src/field.cpp
JeffersonCarvalh0/snake
628014cd523878ebdb2a8ef9edcd1d544681be92
[ "MIT" ]
null
null
null
src/field.cpp
JeffersonCarvalh0/snake
628014cd523878ebdb2a8ef9edcd1d544681be92
[ "MIT" ]
null
null
null
# include "field.h" # include <random> # include <iostream> using namespace std; Field::Field() { width = WIDTH / BLOCK_SIZE; height = HEIGHT / BLOCK_SIZE; snake = nullptr; reseted = true; looseBuffer.loadFromFile("../assets/sounds/loose.wav"); looseSound.setBuffer(looseBuffer); mat...
28.755814
91
0.613829
JeffersonCarvalh0
8d3834f4e71f0bb314f2f39af57a48e4ba7b6adf
2,062
cpp
C++
glTexture.cpp
MeatKO/Detail-Engine
4dcdc4ee90210ed74678d4ee9206a5df1a2d880c
[ "MIT" ]
12
2020-02-08T19:52:16.000Z
2022-01-15T19:32:50.000Z
glTexture.cpp
MeatKO/Detail-Engine
4dcdc4ee90210ed74678d4ee9206a5df1a2d880c
[ "MIT" ]
2
2020-10-01T10:05:42.000Z
2020-10-10T11:20:19.000Z
glTexture.cpp
MeatKO/Detail-Engine
4dcdc4ee90210ed74678d4ee9206a5df1a2d880c
[ "MIT" ]
2
2020-03-26T14:12:52.000Z
2020-10-01T08:57:11.000Z
#include "glTexture.hpp" namespace detailEngine { //GLuint64 LoadBindlessTexture(std::string directory) //{ // GLuint textureID; // textureID = LoadTexture(directory); // // GLuint64 handle = glGetTextureHandleARB(textureID); // glMakeTextureHandleResidentARB(handle); // // return handle; //} //GLuint64 Mak...
28.638889
122
0.766246
MeatKO
8d3bb86c42354af7f7556391443bf975f4cc3ba8
4,624
cpp
C++
DNSkyProject/MemoryString.cpp
alin1337/DNSkyProject
f2126e7ac547837156c5a192ba4b02755ae2c73b
[ "WTFPL", "Unlicense" ]
4
2017-02-14T16:22:37.000Z
2018-06-10T02:29:44.000Z
DNSkyProject/MemoryString.cpp
alin1337/DNSkyProject
f2126e7ac547837156c5a192ba4b02755ae2c73b
[ "WTFPL", "Unlicense" ]
2
2017-04-14T20:11:24.000Z
2018-07-01T10:57:36.000Z
DNSkyProject/MemoryString.cpp
alin1337/DNSkyProject
f2126e7ac547837156c5a192ba4b02755ae2c73b
[ "WTFPL", "Unlicense" ]
5
2018-02-24T03:03:20.000Z
2022-02-02T02:48:14.000Z
#include <Windows.h> #include "MemoryString.h" #include "Memory.h" #include "se.h" void WriteStringsFix() { //SKILLS const char * lencea_skill_1st = enc("lencea_skill_1st_piercer.act"); const char * lencea_skill_2st1 = enc("lencea_skill_2st_flurry.act"); const char * lencea_skill_2st2 = enc("lencea_skill_2st_sting...
40.920354
96
0.767517
alin1337
8d3dd175b7000b6988c96e987a7ec8ffbe9a437a
1,588
cpp
C++
c++/c++primerplus/references/strtref/srtref.cpp
BoKoIsMe/J1900_FreeBSD
19c4f7f01a37f4eda11a64040dad307a06563fb9
[ "BSD-2-Clause" ]
null
null
null
c++/c++primerplus/references/strtref/srtref.cpp
BoKoIsMe/J1900_FreeBSD
19c4f7f01a37f4eda11a64040dad307a06563fb9
[ "BSD-2-Clause" ]
null
null
null
c++/c++primerplus/references/strtref/srtref.cpp
BoKoIsMe/J1900_FreeBSD
19c4f7f01a37f4eda11a64040dad307a06563fb9
[ "BSD-2-Clause" ]
null
null
null
// strc_ref.cpp // -- 使用结构引用 #include <iostream> #include <string> struct free_throws { std::string name; int made; int attempts; float percent; }; void display(const free_throws & ft); void set_pc(free_throws & ft); free_throws & accumulate(free_throws & target, const free_throws & source); int main(void) { us...
20.358974
75
0.655542
BoKoIsMe
1d25d24fdfabe4b29a2786db2dc5ceb629de44cc
700
cpp
C++
src/simulate/simulate_fusion_op2.cpp
Green-Sky/daScript
5674a2d45e9470cac586a12bc627ce4cee1eb790
[ "BSD-3-Clause" ]
null
null
null
src/simulate/simulate_fusion_op2.cpp
Green-Sky/daScript
5674a2d45e9470cac586a12bc627ce4cee1eb790
[ "BSD-3-Clause" ]
null
null
null
src/simulate/simulate_fusion_op2.cpp
Green-Sky/daScript
5674a2d45e9470cac586a12bc627ce4cee1eb790
[ "BSD-3-Clause" ]
null
null
null
#include "daScript/misc/platform.h" #ifdef _MSC_VER #pragma warning(disable:4505) #endif #include "daScript/simulate/simulate_fusion.h" #if DAS_FUSION #include "daScript/simulate/sim_policy.h" #include "daScript/ast/ast_typedecl.h" #include "daScript/simulate/simulate_fusion_op2.h" namespace das { IMPLEMENT_O...
18.918919
50
0.724286
Green-Sky
1d2ae09ced03c2383d9dfbd60959a548bf2f26eb
43,210
cpp
C++
test/test.cpp
rianquinn/argagg
e678cebf90d8f132f5e54f19c6b95b75e655226c
[ "MIT" ]
null
null
null
test/test.cpp
rianquinn/argagg
e678cebf90d8f132f5e54f19c6b95b75e655226c
[ "MIT" ]
null
null
null
test/test.cpp
rianquinn/argagg
e678cebf90d8f132f5e54f19c6b95b75e655226c
[ "MIT" ]
null
null
null
#include "../include/argagg/argagg.hpp" #define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN #include "doctest.h" #include <cstring> #include <iostream> #include <vector> TEST_CASE("cmd_line_arg_is_option_flag") { CHECK(argagg::cmd_line_arg_is_option_flag("") == false); CHECK(argagg::cmd_line_arg_is_option_flag("a") == f...
35.244698
80
0.579148
rianquinn
1d333841688dab4eb32c29c3816709eca0b25944
383
cpp
C++
Practice3/Task1.cpp
zuza-rzemieniewska/Cpp_Practices
96cade6c757185a533ecbb5ffd26dff929df8d9a
[ "MIT" ]
null
null
null
Practice3/Task1.cpp
zuza-rzemieniewska/Cpp_Practices
96cade6c757185a533ecbb5ffd26dff929df8d9a
[ "MIT" ]
null
null
null
Practice3/Task1.cpp
zuza-rzemieniewska/Cpp_Practices
96cade6c757185a533ecbb5ffd26dff929df8d9a
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main(){ int x, y; cout << "Enter two integer numbers x and y: " << endl; cin >> x >> y; if(x < y){ cout << x << " is less than " << y << endl; } else if(x > y){ cout << x << " is greater than " << y << endl; } else{ ...
17.409091
58
0.436031
zuza-rzemieniewska
1d33698bfd59dd0df6a437022c26ae0f9a87ad9e
4,361
cpp
C++
src/sdk/hl2_csgo/game/missionchooser/vgui/ScrollingWindow.cpp
newcommerdontblame/ionlib
47ca829009e1529f62b2134aa6c0df8673864cf3
[ "MIT" ]
51
2016-03-18T01:48:07.000Z
2022-03-21T20:02:02.000Z
src/game/missionchooser/vgui/ScrollingWindow.cpp
senny970/AlienSwarm
c5a2d3fa853c726d040032ff2c7b90c8ed8d5d84
[ "Unlicense" ]
null
null
null
src/game/missionchooser/vgui/ScrollingWindow.cpp
senny970/AlienSwarm
c5a2d3fa853c726d040032ff2c7b90c8ed8d5d84
[ "Unlicense" ]
26
2016-03-17T21:20:37.000Z
2022-03-24T10:21:30.000Z
#include <vgui/IVGui.h> #include <vgui/IInput.h> #include "vgui_controls/Controls.h" #include <vgui/IScheme.h> #include <vgui_controls/Scrollbar.h> #include <vgui_controls/ScrollbarSlider.h> #include "ScrollingWindow.h" // memdbgon must be the last include file in a .cpp file!!! #include <tier0/memdbgon.h> using nam...
27.77707
105
0.739051
newcommerdontblame
1d3890faaedd78c7c8938664dbc6ef96a84b818b
534
hpp
C++
intercom-cpp/src/posix/error_codes.hpp
Rantanen/com-export-rs
4333bc1e58cb121809cc2ee8b2d392a66360815c
[ "MIT" ]
45
2017-11-06T06:27:08.000Z
2021-12-26T19:54:25.000Z
intercom-cpp/src/posix/error_codes.hpp
Rantanen/com-export-rs
4333bc1e58cb121809cc2ee8b2d392a66360815c
[ "MIT" ]
131
2017-12-05T03:18:58.000Z
2021-11-28T23:16:12.000Z
intercom-cpp/src/posix/error_codes.hpp
Rantanen/com-export-rs
4333bc1e58cb121809cc2ee8b2d392a66360815c
[ "MIT" ]
7
2017-12-06T08:38:09.000Z
2021-03-27T14:47:08.000Z
#ifndef INTERCOM_CPP_POSIX_ERRRORCODES_H #define INTERCOM_CPP_POSIX_ERRRORCODES_H #ifdef INTERCOM_FLATTEN_DECLARATIONS static const intercom::HRESULT S_OK = intercom::SC_OK; static const intercom::HRESULT E_FAIL = intercom::EC_FAIL; static const intercom::HRESULT E_NOTIMPL = intercom::EC_NOTIMPL; static const interc...
31.411765
72
0.831461
Rantanen
1d420317c3ff2e7a6e6fd102ed8fa0e80763491a
17,194
cpp
C++
folly/experimental/symbolizer/test/SymbolizerTest.cpp
lrita/folly
a315c6b038935397cddc96653e873a8985b263f6
[ "Apache-2.0" ]
1
2022-03-09T21:40:42.000Z
2022-03-09T21:40:42.000Z
folly/experimental/symbolizer/test/SymbolizerTest.cpp
lrita/folly
a315c6b038935397cddc96653e873a8985b263f6
[ "Apache-2.0" ]
null
null
null
folly/experimental/symbolizer/test/SymbolizerTest.cpp
lrita/folly
a315c6b038935397cddc96653e873a8985b263f6
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * 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 appl...
31.261818
88
0.718274
lrita
1d452311fb4f659603cb562e4b68b2b070f96fa9
17,767
cc
C++
LAMPS-HighEnergy/detector/LHPadPlane.cc
sh-lim/kebi-1
c5cfcf4c26db0dff0067fa3911e1dbcc193c77e9
[ "MIT" ]
null
null
null
LAMPS-HighEnergy/detector/LHPadPlane.cc
sh-lim/kebi-1
c5cfcf4c26db0dff0067fa3911e1dbcc193c77e9
[ "MIT" ]
null
null
null
LAMPS-HighEnergy/detector/LHPadPlane.cc
sh-lim/kebi-1
c5cfcf4c26db0dff0067fa3911e1dbcc193c77e9
[ "MIT" ]
1
2020-08-11T01:39:16.000Z
2020-08-11T01:39:16.000Z
#include "LHPadPlane.hh" #include "TGraph.h" #include "TMath.h" #include "TVector2.h" #include "TH2Poly.h" #include "TCollection.h" #include "TEllipse.h" #include "TLine.h" #include "TCanvas.h" #include <iostream> using namespace std; ClassImp(LHPadPlane) LHPadPlane::LHPadPlane() :KBPadPlane("PadPlaneF", "pad plane...
28.472756
116
0.61496
sh-lim
1d4c5d05973a99497566f27479e762fdd44b1aed
6,100
cpp
C++
src/Core/Serialization/ResourceSerialization.cpp
flygod1159/MxEngine
20af09a63368acbf1fe674566deb73f8dd7f85b3
[ "BSD-3-Clause" ]
669
2020-07-01T17:22:12.000Z
2022-03-31T02:48:17.000Z
src/Core/Serialization/ResourceSerialization.cpp
MomoDeve/MomoEngine
f762ac9036f7f5519bc72e28f33f259e4699293b
[ "BSD-3-Clause" ]
17
2020-07-09T16:39:40.000Z
2021-12-08T03:11:57.000Z
src/Core/Serialization/ResourceSerialization.cpp
MomoDeve/MomoEngine
f762ac9036f7f5519bc72e28f33f259e4699293b
[ "BSD-3-Clause" ]
42
2020-08-03T18:53:40.000Z
2022-03-18T06:27:56.000Z
// Copyright(c) 2019 - 2020, #Momo // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met : // // 1. Redistributions of source code must retain the above copyright notice, this // list of conditions...
46.923077
164
0.681148
flygod1159
1d4e26a5ed698ad73d0b48ae1d808c440a01b613
8,155
cpp
C++
MonoNative.Tests/mscorlib/System/Security/Cryptography/mscorlib_System_Security_Cryptography_DSACryptoServiceProvider_Fixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
7
2015-03-10T03:36:16.000Z
2021-11-05T01:16:58.000Z
MonoNative.Tests/mscorlib/System/Security/Cryptography/mscorlib_System_Security_Cryptography_DSACryptoServiceProvider_Fixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
1
2020-06-23T10:02:33.000Z
2020-06-24T02:05:47.000Z
MonoNative.Tests/mscorlib/System/Security/Cryptography/mscorlib_System_Security_Cryptography_DSACryptoServiceProvider_Fixture.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
null
null
null
// Mono Native Fixture // Assembly: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 // Namespace: System.Security.Cryptography // Name: DSACryptoServiceProvider // C++ Typed Name: mscorlib::System::Security::Cryptography::DSACryptoServiceProvider #include <gtest/gtest.h> #include <mscorlib...
30.657895
154
0.734764
brunolauze
1d4e28de1b9f681b19a598e8a3c6be41c9b63f8b
6,031
cpp
C++
test/test-clientapp.cpp
johnrobinsn/westeros-1
7f130816b434261fe1cafd771eb6bf3551f7983a
[ "Apache-2.0" ]
38
2016-05-18T15:19:31.000Z
2022-03-28T03:28:19.000Z
test/test-clientapp.cpp
fengying7445/westeros
868a6a2c07d8ba2b9700654a401ab3e89d3ab44b
[ "Apache-2.0" ]
16
2016-07-15T08:40:14.000Z
2021-03-26T20:45:12.000Z
test/test-clientapp.cpp
fengying7445/westeros
868a6a2c07d8ba2b9700654a401ab3e89d3ab44b
[ "Apache-2.0" ]
36
2016-05-18T14:47:14.000Z
2021-12-24T09:10:00.000Z
/* * If not stated otherwise in this file or this component's Licenses.txt file the * following copyright and licenses apply: * * Copyright 2018 RDK Management * * 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 ...
24.616327
131
0.633063
johnrobinsn
1d4ebc9d64599de00b511b37dfb19c4de8a87859
10,437
cpp
C++
Example/old_demo/id_card_libusb.cpp
ClangTools/clangTools
ef2e092de04008dc312b4de28881c14eb3e5f115
[ "Apache-2.0" ]
7
2020-03-15T13:23:39.000Z
2020-08-29T15:50:25.000Z
Example/old_demo/id_card_libusb.cpp
kekxv/clangTools
44a57d0fe74d82f19eaeeeb7838158177e0415bd
[ "Apache-2.0" ]
1
2021-04-11T14:04:36.000Z
2021-04-11T14:04:36.000Z
Example/old_demo/id_card_libusb.cpp
kekxv/clangTools
44a57d0fe74d82f19eaeeeb7838158177e0415bd
[ "Apache-2.0" ]
1
2020-07-02T09:34:04.000Z
2020-07-02T09:34:04.000Z
// // Created by caesar kekxv on 2020/3/7. // id card // #include <usb_tool.h> #include <logger.h> #include <iconv.h> using namespace clangTools; using namespace std; class IdCard : public usb_tool { public: static const char *TAG; static const unsigned short devices[1][2]; enum ResultCode { // ...
30.970326
117
0.525055
ClangTools
1d56d1bf9de5cf79b1c7374cef21715c02a3b7b3
7,007
cpp
C++
examples/ConstraintIB/moving_plate/RigidBodyKinematics.cpp
kkeonho/IBAMR
50d5c37d8f2952abc21f05ab224f22003d23d6e7
[ "BSD-3-Clause" ]
null
null
null
examples/ConstraintIB/moving_plate/RigidBodyKinematics.cpp
kkeonho/IBAMR
50d5c37d8f2952abc21f05ab224f22003d23d6e7
[ "BSD-3-Clause" ]
4
2021-07-13T02:41:47.000Z
2021-07-16T07:07:19.000Z
examples/ConstraintIB/moving_plate/RigidBodyKinematics.cpp
drwells/IBAMR
0ceda3873405a35da4888c99e7d2b24d132f9071
[ "BSD-3-Clause" ]
null
null
null
// --------------------------------------------------------------------- // // Copyright (c) 2016 - 2020 by the IBAMR developers // All rights reserved. // // This file is part of IBAMR. // // IBAMR is free software and is distributed under the 3-clause BSD // license. The full text of the license can be found in the f...
33.366667
118
0.655202
kkeonho
1d60fe7920701a60a33d812080f149644fa733d7
45,123
cc
C++
node_modules/nodegit/src/diff.cc
hsleonis/ngMaker
7b2d8a8969bbfdf224e344e1df959d7115ba5301
[ "MIT" ]
2
2016-08-12T06:30:45.000Z
2016-08-17T20:18:06.000Z
node_modules/nodegit/src/diff.cc
hsleonis/ngMaker
7b2d8a8969bbfdf224e344e1df959d7115ba5301
[ "MIT" ]
null
null
null
node_modules/nodegit/src/diff.cc
hsleonis/ngMaker
7b2d8a8969bbfdf224e344e1df959d7115ba5301
[ "MIT" ]
null
null
null
// This is a generated file, modify: generate/templates/class_content.cc. #include <nan.h> #include <string.h> #include <chrono> #include <thread> extern "C" { #include <git2.h> #include <git2/sys/diff.h> } #include "../include/functions/copy.h" #include "../include/diff.h" #include "../include/blob.h" #i...
28.649524
186
0.640361
hsleonis
1d637f36001f03142a5d3b7bea9d79ea11839102
6,039
hpp
C++
library/L1_Peripheral/lpc40xx/timer.hpp
aakashvarshney23/SJSU-CmpE-146
9d71d9897faac435a6adafc8f3158d373dfe8b20
[ "Apache-2.0" ]
1
2019-08-02T04:32:53.000Z
2019-08-02T04:32:53.000Z
library/L1_Peripheral/lpc40xx/timer.hpp
aakashvarshney23/SJSU-CmpE-146
9d71d9897faac435a6adafc8f3158d373dfe8b20
[ "Apache-2.0" ]
null
null
null
library/L1_Peripheral/lpc40xx/timer.hpp
aakashvarshney23/SJSU-CmpE-146
9d71d9897faac435a6adafc8f3158d373dfe8b20
[ "Apache-2.0" ]
null
null
null
#pragma once #include <cstdint> #include <limits> #include "L0_Platform/lpc40xx/LPC40xx.h" #include "L1_Peripheral/lpc40xx/pin.hpp" #include "L1_Peripheral/lpc40xx/system_controller.hpp" #include "L1_Peripheral/cortex/interrupt.hpp" #include "L1_Peripheral/timer.hpp" #include "utility/bit.hpp" #include "utility/enum.h...
31.128866
78
0.641
aakashvarshney23
1d6a43001a80420c704fff240eb2e0f6eaa9e442
11,322
cpp
C++
src/Renderer.cpp
MH321Productions/PixelRenderer
d35060111fd6d9c093d97f6c32dec55bcc3455fc
[ "MIT" ]
1
2022-03-27T19:42:49.000Z
2022-03-27T19:42:49.000Z
src/Renderer.cpp
MH321Productions/PixelRenderer
d35060111fd6d9c093d97f6c32dec55bcc3455fc
[ "MIT" ]
null
null
null
src/Renderer.cpp
MH321Productions/PixelRenderer
d35060111fd6d9c093d97f6c32dec55bcc3455fc
[ "MIT" ]
null
null
null
#include <iostream> #include <sstream> #include <cmath> #include "PixelRenderer/Renderer.hpp" #include "PixelRenderer/Texture.hpp" #include "PixelRenderer/Font.hpp" #include "PixelRenderer/Unicode.hpp" #include "PixelRenderer/Geometry.hpp" using namespace std; Renderer::Renderer(const int& width, const int& height) ...
34.944444
131
0.597598
MH321Productions
1d6cbd86783b78ede17c4dad3fae691e63fa50d6
861
cpp
C++
android-29/android/app/VoiceInteractor_CommandRequest.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-28/android/app/VoiceInteractor_CommandRequest.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-30/android/app/VoiceInteractor_CommandRequest.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#include "../os/Bundle.hpp" #include "../../JString.hpp" #include "./VoiceInteractor_CommandRequest.hpp" namespace android::app { // Fields // QJniObject forward VoiceInteractor_CommandRequest::VoiceInteractor_CommandRequest(QJniObject obj) : android::app::VoiceInteractor_Request(obj) {} // Constructors Voice...
26.090909
127
0.732869
YJBeetle
1d71885f869be2ec9a4b0d0fbd9a90783731dd02
4,977
cpp
C++
TCP_Test_Client/TCP_Test_Client/main.cpp
Uyouii/Redundancy-Transmission-Protocol
edd5f1653399e3680fd70ca20a571253907dda38
[ "MIT" ]
19
2018-08-22T06:16:36.000Z
2021-03-18T03:27:46.000Z
TCP_Test_Client/TCP_Test_Client/main.cpp
Uyouii/Redundancy-Transmission-Protocol
edd5f1653399e3680fd70ca20a571253907dda38
[ "MIT" ]
null
null
null
TCP_Test_Client/TCP_Test_Client/main.cpp
Uyouii/Redundancy-Transmission-Protocol
edd5f1653399e3680fd70ca20a571253907dda38
[ "MIT" ]
5
2019-07-09T04:09:00.000Z
2022-02-10T12:17:52.000Z
#define _WINSOCK_DEPRECATED_NO_WARNINGS #include <stdlib.h> #include <winsock2.h> #include <iostream> #include <vector> #include <fstream> #define SERVERPORT 6666 //#define SERVERADDR "10.242.3.221" #define SERVERADDR "192.168.31.233" #define GENERATECSVFILE int main() { WORD versionRequested = MAKEWORD(1, 1); ...
30.913043
86
0.632911
Uyouii
1d75b3155d6a842c2897f1cc5c53c6008e5b5719
2,388
cpp
C++
src/gui/DockWidgetEFIS.cpp
paperoga-dev/mscsim
a5bd3b88745bf8d91e85fd001b0972662ff8e410
[ "MIT" ]
null
null
null
src/gui/DockWidgetEFIS.cpp
paperoga-dev/mscsim
a5bd3b88745bf8d91e85fd001b0972662ff8e410
[ "MIT" ]
null
null
null
src/gui/DockWidgetEFIS.cpp
paperoga-dev/mscsim
a5bd3b88745bf8d91e85fd001b0972662ff8e410
[ "MIT" ]
null
null
null
/****************************************************************************//* * Copyright (C) 2021 Marek M. Cel * * 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, ...
37.3125
80
0.583333
paperoga-dev
1d7907646ae846b68cee1006178f913e4a968231
417
cpp
C++
include/html/article.cpp
nathanmullenax83/rhizome
e7410341fdc4d38ab5aaecc55c94d3ac6efd51da
[ "MIT" ]
1
2020-07-11T14:53:38.000Z
2020-07-11T14:53:38.000Z
include/html/article.cpp
nathanmullenax83/rhizome
e7410341fdc4d38ab5aaecc55c94d3ac6efd51da
[ "MIT" ]
1
2020-07-04T16:45:49.000Z
2020-07-04T16:45:49.000Z
include/html/article.cpp
nathanmullenax83/rhizome
e7410341fdc4d38ab5aaecc55c94d3ac6efd51da
[ "MIT" ]
null
null
null
#include "article.hpp" using rhizome::core::indent; namespace rhizome { namespace html { Article::Article() { } Article::~Article() { } void Article::write_to( ostream &out, size_t level ) const { out << indent(level) << "<article>\n"; wr...
18.954545
63
0.498801
nathanmullenax83
1d7fa8ca745bb430efcec85c3ccbd9858374d94a
7,518
cpp
C++
src/ng/framework/meshes/skeletalmesh.cpp
mfurquim/csc486a
9af7ad3c6dac47bf3c73e890b4494d3b6263b05c
[ "MIT" ]
1
2018-06-26T08:04:00.000Z
2018-06-26T08:04:00.000Z
src/ng/framework/meshes/skeletalmesh.cpp
mfurquim/csc486a
9af7ad3c6dac47bf3c73e890b4494d3b6263b05c
[ "MIT" ]
null
null
null
src/ng/framework/meshes/skeletalmesh.cpp
mfurquim/csc486a
9af7ad3c6dac47bf3c73e890b4494d3b6263b05c
[ "MIT" ]
null
null
null
#include "ng/framework/meshes/skeletalmesh.hpp" #include "ng/framework/models/skeletalmodel.hpp" #include "ng/engine/util/debug.hpp" #include <cstring> namespace ng { SkeletalMesh::SkeletalMesh( std::shared_ptr<IMesh> bindPoseMesh, std::shared_ptr<immutable<SkinningMatrixPalette>> skinningPalette) ...
33.118943
80
0.560255
mfurquim
1d85fdd48c2f81ddbdb2f61e612412059dc8e42e
2,518
cxx
C++
test/t1285.cxx
paulwratt/cin-5.34.00
036a8202f11a4a0e29ccb10d3c02f304584cda95
[ "MIT" ]
10
2018-03-26T07:41:44.000Z
2021-11-06T08:33:24.000Z
test/t1285.cxx
paulwratt/cin-5.34.00
036a8202f11a4a0e29ccb10d3c02f304584cda95
[ "MIT" ]
null
null
null
test/t1285.cxx
paulwratt/cin-5.34.00
036a8202f11a4a0e29ccb10d3c02f304584cda95
[ "MIT" ]
1
2020-11-17T03:17:00.000Z
2020-11-17T03:17:00.000Z
//----- some code #include "Api.h" class TCanvas {}; #include <iostream> #include <vector> #ifdef __CINT__ #pragma link C++ class std::vector< TCanvas* >; #pragma link C++ class std::vector< TCanvas* >::iterator; #else template class std::vector< TCanvas* >; #endif int main() { std::string sgcl = "vector<TCanvas*...
39.34375
105
0.532963
paulwratt
1d891133e6370c114b7c5fce21f84a4cc287b56b
2,543
cpp
C++
src/point_cloud/ossimPointCloudGeometry.cpp
vladislav-horbatiuk/ossim
82417ad868fac022672335e1684bdd91d662c18c
[ "MIT" ]
251
2015-10-20T09:08:11.000Z
2022-03-22T18:16:38.000Z
src/point_cloud/ossimPointCloudGeometry.cpp
IvanLJF/ossim
2e0143f682b9884a09ff2598ef8737f29e44fbdf
[ "MIT" ]
73
2015-11-02T17:12:36.000Z
2021-11-15T17:41:47.000Z
src/point_cloud/ossimPointCloudGeometry.cpp
IvanLJF/ossim
2e0143f682b9884a09ff2598ef8737f29e44fbdf
[ "MIT" ]
146
2015-10-15T16:00:15.000Z
2022-03-22T12:37:14.000Z
//************************************************************************************************** // // OSSIM (http://trac.osgeo.org/ossim/) // // License: LGPL -- See LICENSE.txt file in the top level directory for more details. // //*********************************************************************************...
32.189873
102
0.644514
vladislav-horbatiuk
1d8b4e4ab9cb2752dc1de673a5f617f6ddc34e76
493
hpp
C++
include/sample_sudoku.hpp
dcnoway/sudoku
9e41691f9f3d69d183b6e2c752ba898288748cd9
[ "MIT" ]
null
null
null
include/sample_sudoku.hpp
dcnoway/sudoku
9e41691f9f3d69d183b6e2c752ba898288748cd9
[ "MIT" ]
null
null
null
include/sample_sudoku.hpp
dcnoway/sudoku
9e41691f9f3d69d183b6e2c752ba898288748cd9
[ "MIT" ]
null
null
null
static const unsigned sudoku1 [81]= { 5,7,0,1,2,0,0,0,0, 0,0,0,0,0,0,0,0,0, 0,0,6,7,0,0,0,8,0, 3,0,4,0,0,9,0,7,0, 0,2,0,0,7,0,0,5,0, 0,1,0,3,0,0,9,0,2, 0,8,0,0,0,2,1,0,0, 0,0,0,0,0,0,0,0,0, 0,0,0,0,5,4,0,6,3 }; static const unsigned sudoku2[81]= { 1,4,0,7,5,0,0,0,0, 0,0,0,0,...
19.72
35
0.442191
dcnoway
1d8cc768afd444b2cc30decf7c40e17940b67173
9,519
cpp
C++
cloud/tools/cepscloud_canmapper/main.cpp
embeddedJR/machines4ceps
af3a7c53bcf15c90a3dd01132a98bceba0678e94
[ "Apache-2.0" ]
null
null
null
cloud/tools/cepscloud_canmapper/main.cpp
embeddedJR/machines4ceps
af3a7c53bcf15c90a3dd01132a98bceba0678e94
[ "Apache-2.0" ]
null
null
null
cloud/tools/cepscloud_canmapper/main.cpp
embeddedJR/machines4ceps
af3a7c53bcf15c90a3dd01132a98bceba0678e94
[ "Apache-2.0" ]
null
null
null
#include "mainwindow.h" #include "common.h" #include <QApplication> #include <QEvent> #include <sstream> std::vector<std::string> sys_info_available_ifs; std::map<Simulation_Core,std::vector< Downstream_Mapping > > mappings_downstream; std::map<Simulation_Core,std::vector< Upstream_Mapping > > mappings_upstream; std::...
32.158784
156
0.630633
embeddedJR
1d8eca6ed27e8c976a71e3ecd771b79dc29f4684
1,065
cpp
C++
Learning c++(Advance)/Part 1/2.4.3.1_Exceptions.cpp
Relicjamin-jv/LearningCpp
bf4c7607e82a4968b0413b31cadebf8cb4c83e4b
[ "MIT" ]
null
null
null
Learning c++(Advance)/Part 1/2.4.3.1_Exceptions.cpp
Relicjamin-jv/LearningCpp
bf4c7607e82a4968b0413b31cadebf8cb4c83e4b
[ "MIT" ]
null
null
null
Learning c++(Advance)/Part 1/2.4.3.1_Exceptions.cpp
Relicjamin-jv/LearningCpp
bf4c7607e82a4968b0413b31cadebf8cb4c83e4b
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; /** * @brief Makes an obeject vector that takes an 's' size * */ class Vector { public: Vector(int s) : elem{new double[s]}, sz{s} {} //Constructor, takes in s for size, then it inits elem with 's' pointers and set the size to sz double &operator[](int i); ...
28.026316
173
0.605634
Relicjamin-jv
1da9e5eaefcab3950fdc72547dab9fadfc066cd3
2,588
cpp
C++
src/Device.cpp
chenyuy/libmediasoupclient
8fa819a288979784a35ca56b7d5cf8285dc52798
[ "ISC" ]
1
2020-09-21T02:42:47.000Z
2020-09-21T02:42:47.000Z
mediasoup-client/deps/libmediasoupclient/src/Device.cpp
ethand91/mediasoup-client-android
9e95fbf90de3037f625cf56ac0fe3605644187d3
[ "MIT" ]
null
null
null
mediasoup-client/deps/libmediasoupclient/src/Device.cpp
ethand91/mediasoup-client-android
9e95fbf90de3037f625cf56ac0fe3605644187d3
[ "MIT" ]
null
null
null
#define MSC_CLASS "Device" // #define MSC_LOG_DEV #include "Device.hpp" #include "Logger.hpp" #include "ortc.hpp" #include <utility> using json = nlohmann::json; namespace mediasoupclient { /** * Initialize the Device. */ void Device::Load(const json& routerRtpCapabilities) { MSC_TRACE(); if (this->loaded) t...
23.527273
89
0.740726
chenyuy
1dac950a5b31bb33980f9e0f6c2cbc2baafc1f6d
608
cpp
C++
src/cppcalljs/cppcalljs/common_functions.cpp
uniqss/uconfig
85bd9e429d0d6df4b6a4d6100a0a7c968160c565
[ "MIT" ]
1
2020-12-30T08:06:51.000Z
2020-12-30T08:06:51.000Z
src/cppcalljs/cppcalljs/common_functions.cpp
uniqss/uconfig
85bd9e429d0d6df4b6a4d6100a0a7c968160c565
[ "MIT" ]
3
2021-04-12T03:32:39.000Z
2021-04-12T03:38:36.000Z
src/cppcalljs/cppcalljs/common_functions.cpp
uniqss/uconfig
85bd9e429d0d6df4b6a4d6100a0a7c968160c565
[ "MIT" ]
null
null
null
#include "common_functions.h" static int log(char const* s) { printf("log s:%s", s); return 0; } static int h(v8::Isolate*, int x, int y) { return x + y; } void set_common_functions(v8pp::context& context) { //v8pp::context context; v8::Isolate* isolate = context.isolate(); v8::HandleScope scope(isolate); #if 1...
22.518519
65
0.651316
uniqss
1dad0be168fc54dffb34e8c44f1c65531cc6456b
904
cpp
C++
AeSys/EoCtrlFindComboBox.cpp
terry-texas-us/Eo
5652b68468c0bacd8e8da732befa2374360a4bbd
[ "MIT" ]
1
2020-09-07T07:06:19.000Z
2020-09-07T07:06:19.000Z
AeSys/EoCtrlFindComboBox.cpp
terry-texas-us/Eo
5652b68468c0bacd8e8da732befa2374360a4bbd
[ "MIT" ]
null
null
null
AeSys/EoCtrlFindComboBox.cpp
terry-texas-us/Eo
5652b68468c0bacd8e8da732befa2374360a4bbd
[ "MIT" ]
2
2019-10-24T00:36:58.000Z
2020-09-30T16:45:56.000Z
#include "stdafx.h" #include "EoCtrlFindComboBox.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif // EoCtrlFindComboBox IMPLEMENT_SERIAL(EoCtrlFindComboBox, CMFCToolBarComboBoxButton, 1) BOOL EoCtrlFindComboBox::m_HasFocus = FALSE; BOOL EoCtrlFindComboBox::NotifyComm...
26.588235
122
0.775442
terry-texas-us
1db0b9171e1eda86e80ce56d05f7adaa7f0f4c33
797
cpp
C++
C++/marko.cpp
AllysonWindell/Kattis
5ce1aa108e21416bdf52993ea3bfb5bb86405980
[ "Unlicense" ]
19
2019-09-20T19:08:24.000Z
2022-03-17T11:54:57.000Z
C++/marko.cpp
AllysonWindell/Kattis
5ce1aa108e21416bdf52993ea3bfb5bb86405980
[ "Unlicense" ]
2
2020-11-06T06:40:40.000Z
2021-01-24T08:55:32.000Z
C++/marko.cpp
AllysonWindell/Kattis
5ce1aa108e21416bdf52993ea3bfb5bb86405980
[ "Unlicense" ]
18
2019-08-18T03:51:35.000Z
2021-11-23T04:12:29.000Z
#include <bits/stdc++.h> using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(0); int arr[26] = {2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 6, 7, 7, 7, 7, 8, 8, 8, 9, 9, 9, 9}; int n; cin >> n; string words[n]; for (int x = 0; x < n; x++) ci...
24.151515
58
0.404015
AllysonWindell
1db0f698a4bd823ca4eb75752192c908c1920b81
1,015
cpp
C++
examples/example2.cpp
spiroyster/csg
3f7c20e7f257b83ee13d19c4b7fe5dfb22ef993d
[ "MIT" ]
8
2020-07-07T20:59:38.000Z
2022-03-12T01:14:09.000Z
examples/example2.cpp
spiroyster/csg
3f7c20e7f257b83ee13d19c4b7fe5dfb22ef993d
[ "MIT" ]
1
2020-09-17T12:24:04.000Z
2020-09-21T06:33:12.000Z
examples/example2.cpp
spiroyster/csg
3f7c20e7f257b83ee13d19c4b7fe5dfb22ef993d
[ "MIT" ]
1
2020-04-13T11:49:59.000Z
2020-04-13T11:49:59.000Z
#include "..\include\csg.hpp" #include "obj2csg.hpp" #include <iostream> int main(int argc, char** argv) { try { // load in two cubes... std::shared_ptr<csg::mesh> A = obj2csg::read("teapot.obj"); std::shared_ptr<csg::mesh> B = obj2csg::read("sphere.obj"); // translate the B std::for_eac...
24.756098
62
0.524138
spiroyster
1db490df337b4dbc7138da66ff7a780f5f8a8143
1,912
cpp
C++
DemoLib2_Test/reporters/UserReporter.cpp
PazerOP/DemoLib2
7377f87654ce9bf6487d6b7ce7050cec8e76894e
[ "MIT" ]
14
2018-07-02T19:09:18.000Z
2022-01-12T12:35:43.000Z
DemoLib2_Test/reporters/UserReporter.cpp
PazerOP/DemoLib2
7377f87654ce9bf6487d6b7ce7050cec8e76894e
[ "MIT" ]
1
2018-12-27T20:22:06.000Z
2020-01-04T03:27:31.000Z
DemoLib2_Test/reporters/UserReporter.cpp
PazerOP/DemoLib2
7377f87654ce9bf6487d6b7ce7050cec8e76894e
[ "MIT" ]
1
2021-05-17T01:03:38.000Z
2021-05-17T01:03:38.000Z
#include "UserReporter.hpp" #include "net/worldstate/WorldState.hpp" #include <iostream> #include <string.h> UserReporter::UserReporter(const std::shared_ptr<WorldState>& world) : m_World(world) { world->m_Events.AddEventListener(this); } UserReporter::~UserReporter() { if (auto locked = m_World.lock()) locked-...
28.117647
85
0.631799
PazerOP
1dba30d2650bd128ef61dcf7f41153b932dcf8b4
2,946
cpp
C++
test/unit/DigitalInputDeviceTest.cpp
aetas/RoomHub
9661c5a04a572ae99a812492db7091da07cf5789
[ "MIT" ]
8
2019-06-10T19:44:48.000Z
2021-06-10T23:03:24.000Z
test/unit/DigitalInputDeviceTest.cpp
aetas/RoomHub
9661c5a04a572ae99a812492db7091da07cf5789
[ "MIT" ]
10
2019-05-15T21:01:54.000Z
2021-01-16T23:08:53.000Z
test/unit/DigitalInputDeviceTest.cpp
aetas/RoomHub
9661c5a04a572ae99a812492db7091da07cf5789
[ "MIT" ]
2
2021-09-17T08:20:07.000Z
2022-03-29T01:17:07.000Z
#include "../main/catch.hpp" #include "device/DigitalInputDevice.hpp" #include "mocks/FakeDigitalPin.hpp" #include "mocks/SimpleUpdateListener.hpp" #include <typeinfo> #include <iostream> using namespace std; TEST_CASE("DigitalInputDevice") { FakeDigitalPin* pin = new FakeDigitalPin(); DigitalInputDevice dev...
28.882353
96
0.623218
aetas
1dba972b69d3a000f0a09f518700302569f5112b
22
cpp
C++
Fractal/FractalPhysics/src/Transform.cpp
talislincoln/fractals
a9ed52e99b9737ce0a6bba715f61e4d122e37dd5
[ "MIT" ]
2
2016-09-22T16:11:17.000Z
2016-09-22T16:11:55.000Z
Fractal/FractalPhysics/src/Transform.cpp
talislincoln/FractalGameEngine
a9ed52e99b9737ce0a6bba715f61e4d122e37dd5
[ "MIT" ]
null
null
null
Fractal/FractalPhysics/src/Transform.cpp
talislincoln/FractalGameEngine
a9ed52e99b9737ce0a6bba715f61e4d122e37dd5
[ "MIT" ]
null
null
null
#include "Transform.h"
22
22
0.772727
talislincoln
1dbc163ae126d88e84ea59eaebb1e06709f1323a
980
hpp
C++
vesion_1/main_01.hpp
ghorges/my_muduo
94db77ba0b0de53fc1350978983c8916e59bcb70
[ "MIT" ]
null
null
null
vesion_1/main_01.hpp
ghorges/my_muduo
94db77ba0b0de53fc1350978983c8916e59bcb70
[ "MIT" ]
null
null
null
vesion_1/main_01.hpp
ghorges/my_muduo
94db77ba0b0de53fc1350978983c8916e59bcb70
[ "MIT" ]
null
null
null
#include "Socket.h" #include "eventloop.h" #include "channel.h" #include <math.h> #include <iostream> int main_01(int argc,char** argv) { using namespace std; int port; if(argc == 1) { port = 8888; } else { port = atoi(argv[1]); } EventLoop p; Socket* Lsock; ...
23.902439
82
0.634694
ghorges
1dbce27785d432e8aada078d41418f950408a0cb
900
hpp
C++
include/account.hpp
edusrmt/edb1-hash
c5a47564e4face6b445aad6964472f4a1abfe3e3
[ "MIT" ]
null
null
null
include/account.hpp
edusrmt/edb1-hash
c5a47564e4face6b445aad6964472f4a1abfe3e3
[ "MIT" ]
null
null
null
include/account.hpp
edusrmt/edb1-hash
c5a47564e4face6b445aad6964472f4a1abfe3e3
[ "MIT" ]
null
null
null
/** * @brief Bank account struct * @author Eduardo Sarmento & Victor Vieira * * A simple structs that represents a bank account. */ struct Account { using AcctKey = int; //<! Alias const char *name; //<! The name information of the account. int id; //<! The id of the account. int ba...
34.615385
123
0.608889
edusrmt
1dc47a6df0411a0097421281f2a3399313f4706d
749
cpp
C++
p2/main.cpp
sabrina-enriquez/ECS36c
e0b9f8128a086973c7c98e900ed2ceee7ce40a65
[ "MIT" ]
null
null
null
p2/main.cpp
sabrina-enriquez/ECS36c
e0b9f8128a086973c7c98e900ed2ceee7ce40a65
[ "MIT" ]
null
null
null
p2/main.cpp
sabrina-enriquez/ECS36c
e0b9f8128a086973c7c98e900ed2ceee7ce40a65
[ "MIT" ]
null
null
null
// // main.cpp // timetest // // Created by Sabrina Enriquez on 1/14/20. // Copyright © 2020 Sabrina Enriquez. All rights reserved. // #include <iostream> int main(int argc, const char * argv[]) { // insert code here... std::cout << "ADT Menu 0. Quit"; //do //{ //choice = getChoice...
22.69697
59
0.558077
sabrina-enriquez
1dc7708f56aaf7305d405d353c646cd073ca721f
1,530
cpp
C++
codeforces/2sat/2000/468B两个集合.cpp
yofn/pyacm
e573f8fdeea77513711f00c42f128795cbba65a6
[ "Apache-2.0" ]
null
null
null
codeforces/2sat/2000/468B两个集合.cpp
yofn/pyacm
e573f8fdeea77513711f00c42f128795cbba65a6
[ "Apache-2.0" ]
null
null
null
codeforces/2sat/2000/468B两个集合.cpp
yofn/pyacm
e573f8fdeea77513711f00c42f128795cbba65a6
[ "Apache-2.0" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef long long ll; const int N = 200005; vector<int> e[N]; bool match[N]; int sta[N],top; int p[N]; #define bug(x) cout<<#x<<" is "<<x<<endl //cout<< i/2 << '+' << it->second/2 << ':' << p[i/2] << '+' << p[it->second/2] << '=' << (i%2==0?a:b) << (i%5==0?'\n':' '); bo...
28.333333
123
0.503922
yofn
1dcdc10c67dc847ceff3ec43fc6ae187e35e7b56
1,606
cc
C++
ejercicios/Fechas/src/fecha_funciones.cc
ULL-ESIT-IB-2020-2021/ib-practica12-AnnadeDiegoLlorens
7801f27c648942fee0bff3315fefb9114c2db0f6
[ "MIT" ]
null
null
null
ejercicios/Fechas/src/fecha_funciones.cc
ULL-ESIT-IB-2020-2021/ib-practica12-AnnadeDiegoLlorens
7801f27c648942fee0bff3315fefb9114c2db0f6
[ "MIT" ]
null
null
null
ejercicios/Fechas/src/fecha_funciones.cc
ULL-ESIT-IB-2020-2021/ib-practica12-AnnadeDiegoLlorens
7801f27c648942fee0bff3315fefb9114c2db0f6
[ "MIT" ]
null
null
null
/** * Universidad de La Laguna * Escuela Superior de Ingeniería y Tecnología * Grado en Ingeniería Informática * Informática Básica * * @author Anna de Diego Llorens * @date 10/01/2021 * @brief Archivo del programa Fecha que explica al usuario * como se ha de usar el programa en caso de que este no ...
30.884615
99
0.522416
ULL-ESIT-IB-2020-2021
1dd06cb7afc1dd40dcd83398a879c9ca3e551228
1,469
hpp
C++
include/mh/handle.hpp
overworks/MhGameLib
87973e29633ed09a3fa51eb27ea7fc8af5e9d71b
[ "MIT" ]
null
null
null
include/mh/handle.hpp
overworks/MhGameLib
87973e29633ed09a3fa51eb27ea7fc8af5e9d71b
[ "MIT" ]
null
null
null
include/mh/handle.hpp
overworks/MhGameLib
87973e29633ed09a3fa51eb27ea7fc8af5e9d71b
[ "MIT" ]
null
null
null
#ifndef _MH_HANDLE_HPP_ #define _MH_HANDLE_HPP_ #include <mh/prerequisite.h> #include <mh/types.hpp> #include <vector> namespace Mh { /** * 범용 핸들 템플릿 클래스 * * @details 내부적으로는 부호없는 정수(32비트)로 판단하는 핸들. * 레퍼런스 카운트보다 좀 더 속도에 맞춘 것. 그만큼 안정성은 떨어짐. * GPG1의 내용을 사실상 그대로 가져옴. * 멤버함수는 관리자 클래스에서 사용하므로 전부 priv...
17.488095
63
0.615385
overworks
1dd13929c5ff34f1f3b053defd2bb1254b9eeb04
6,210
hpp
C++
include/RED4ext/NativeTypes-inl.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
1
2022-03-18T17:22:09.000Z
2022-03-18T17:22:09.000Z
include/RED4ext/NativeTypes-inl.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
null
null
null
include/RED4ext/NativeTypes-inl.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
1
2022-02-13T01:44:55.000Z
2022-02-13T01:44:55.000Z
#pragma once #ifdef RED4EXT_STATIC_LIB #include <RED4ext/NativeTypes.hpp> #endif #include <RED4ext/Hashing/CRC.hpp> #include <RED4ext/RTTISystem.hpp> RED4EXT_INLINE RED4ext::TweakDBID::TweakDBID(uint64_t aValue) noexcept : value(aValue) { } RED4EXT_INLINE RED4ext::TweakDBID::TweakDBID(uint32_t aNameHash, uint8_...
25.040323
116
0.68599
jackhumbert
1dd1c40bde9a23370e4104f388aa34ae471bf55f
1,276
cpp
C++
condition/condition_plugins/src/signal_condition.cpp
cvasfi/scenario_runner.iv.universe
b8a6388faf502478fdc217ad7a30d8cab2dcae39
[ "Apache-2.0" ]
2
2020-09-25T08:53:18.000Z
2020-10-23T09:42:49.000Z
condition/condition_plugins/src/signal_condition.cpp
cvasfi/scenario_runner.iv.universe
b8a6388faf502478fdc217ad7a30d8cab2dcae39
[ "Apache-2.0" ]
36
2020-10-23T07:40:37.000Z
2021-02-19T09:24:46.000Z
condition/condition_plugins/src/signal_condition.cpp
cvasfi/scenario_runner.iv.universe
b8a6388faf502478fdc217ad7a30d8cab2dcae39
[ "Apache-2.0" ]
15
2020-09-30T16:37:57.000Z
2021-12-03T07:06:17.000Z
#include <condition_plugins/signal_condition.h> namespace condition_plugins { SignalCondition::SignalCondition() : scenario_conditions::ConditionBase {"Signal"} {} bool SignalCondition::configure( YAML::Node node, std::shared_ptr<ScenarioAPI> simulator) try { node_ = node; simulator_ = simulator; name_...
21.266667
111
0.703762
cvasfi
1dd24555e3addf246872e8fc23d66de7b1097e57
29,056
cc
C++
src/old/nodencl.cc
knockshore/nodencl
fbd693f63bf379a81bcb28e57fdaa3e700dc703d
[ "Apache-2.0" ]
6
2019-01-01T09:45:21.000Z
2021-10-10T15:23:43.000Z
src/old/nodencl.cc
knockshore/nodencl
fbd693f63bf379a81bcb28e57fdaa3e700dc703d
[ "Apache-2.0" ]
null
null
null
src/old/nodencl.cc
knockshore/nodencl
fbd693f63bf379a81bcb28e57fdaa3e700dc703d
[ "Apache-2.0" ]
2
2019-09-30T22:16:45.000Z
2020-12-19T15:13:56.000Z
/* Copyright 2018 Streampunk Media Ltd. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed t...
33.943925
117
0.680754
knockshore
1dd3f63d8dd842d41b22c1154f8a6b9f2e2c4cb0
795
cxx
C++
reflex/test/implementation/types/EmptyClassTests.cxx
paulwratt/cin-5.34.00
036a8202f11a4a0e29ccb10d3c02f304584cda95
[ "MIT" ]
10
2018-03-26T07:41:44.000Z
2021-11-06T08:33:24.000Z
reflex/test/implementation/types/EmptyClassTests.cxx
paulwratt/cin-5.34.00
036a8202f11a4a0e29ccb10d3c02f304584cda95
[ "MIT" ]
null
null
null
reflex/test/implementation/types/EmptyClassTests.cxx
paulwratt/cin-5.34.00
036a8202f11a4a0e29ccb10d3c02f304584cda95
[ "MIT" ]
1
2020-11-17T03:17:00.000Z
2020-11-17T03:17:00.000Z
#include "util/HelperMacros.hpp" #include "Reflex/Type.h" #include "Reflex/Object.h" using namespace Reflex; REFLEX_TEST(test001) { Reflex::Type t = Type::ByName("EmptyClass"); CPPUNIT_ASSERT(t); CPPUNIT_ASSERT(t.IsClass()); CPPUNIT_ASSERT(t.IsComplete()); CPPUNIT_ASSERT_EQUAL((size_t) 0, t.BaseSize...
31.8
125
0.724528
paulwratt
1dd5f54b95181492c84799b1415c45e377b11bce
1,918
cpp
C++
ares/ws/apu/serialization.cpp
CasualPokePlayer/ares
58690cd5fc7bb6566c22935c5b80504a158cca29
[ "BSD-3-Clause" ]
153
2020-07-25T17:55:29.000Z
2021-10-01T23:45:01.000Z
ares/ws/apu/serialization.cpp
CasualPokePlayer/ares
58690cd5fc7bb6566c22935c5b80504a158cca29
[ "BSD-3-Clause" ]
245
2021-10-08T09:14:46.000Z
2022-03-31T08:53:13.000Z
ares/ws/apu/serialization.cpp
CasualPokePlayer/ares
58690cd5fc7bb6566c22935c5b80504a158cca29
[ "BSD-3-Clause" ]
44
2020-07-25T08:51:55.000Z
2021-09-25T16:09:01.000Z
auto APU::serialize(serializer& s) -> void { Thread::serialize(s); s(dma); s(channel1); s(channel2); s(channel3); s(channel4); s(channel5); s(io.waveBase); s(io.speakerEnable); s(io.speakerShift); s(io.headphonesEnable); s(io.headphonesConnected); s(io.masterVolume); s(state.sweepClock); }...
18.442308
54
0.638165
CasualPokePlayer
1b96fd1238b153f51c6e82cfd43246a5ae9def70
767
cpp
C++
src/Windows/CWindowsWin32CriticalSection.cpp
lordio/insanity
7dfbf398fe08968f40a32280bf2b16cca2b476a1
[ "MIT" ]
1
2015-02-05T10:41:14.000Z
2015-02-05T10:41:14.000Z
src/Windows/CWindowsWin32CriticalSection.cpp
lordio/insanity
7dfbf398fe08968f40a32280bf2b16cca2b476a1
[ "MIT" ]
1
2015-02-04T20:47:52.000Z
2015-02-05T07:43:05.000Z
src/Windows/CWindowsWin32CriticalSection.cpp
lordio/insanity
7dfbf398fe08968f40a32280bf2b16cca2b476a1
[ "MIT" ]
null
null
null
#define INSANITY_BUILDING_LIBRARY #include "CWindowsWin32CriticalSection.hpp" #if defined(PLATFORM_MSWINDOWS) namespace Insanity { CWindowsWin32CriticalSection::CWindowsWin32CriticalSection() : CGenericObject{} { InitializeCriticalSection(&_mtx); } CWindowsWin32CriticalSection::~CWindowsWin32CriticalSection() ...
21.914286
80
0.667536
lordio
1b97cfceafbb06833f168f0d7c770fbea6d17a5f
5,170
cxx
C++
TRD/TRDgui/AliTRDqaGuiClusters.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
52
2016-12-11T13:04:01.000Z
2022-03-11T11:49:35.000Z
TRD/TRDgui/AliTRDqaGuiClusters.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
1,388
2016-11-01T10:27:36.000Z
2022-03-30T15:26:09.000Z
TRD/TRDgui/AliTRDqaGuiClusters.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
275
2016-06-21T20:24:05.000Z
2022-03-31T13:06:19.000Z
/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Contributors ...
30.591716
95
0.503482
AllaMaevskaya
1b9a262d02045d88709fbd5d4924b96258c0f3a5
193,971
cpp
C++
src/public/bone_setup.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
6
2022-01-23T09:40:33.000Z
2022-03-20T20:53:25.000Z
src/public/bone_setup.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
null
null
null
src/public/bone_setup.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
1
2022-02-06T21:05:23.000Z
2022-02-06T21:05:23.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // // $NoKeywords: $ // //===========================================================================// #include "tier0/dbg.h" #include "mathlib/mathlib.h" #include "bone_setup.h" #include <string.h> #include "c...
36.764784
260
0.528883
cstom4994
1b9a2b62ea1ba482d90c088a84f1f78e3ba2437f
620
cpp
C++
src/shared/utils/uri.cpp
snowmeltarcade/projectbirdracing
55cd479c81979de535b0cf496e91dd8d48b99fa8
[ "MIT" ]
null
null
null
src/shared/utils/uri.cpp
snowmeltarcade/projectbirdracing
55cd479c81979de535b0cf496e91dd8d48b99fa8
[ "MIT" ]
3
2021-11-13T02:18:59.000Z
2021-12-04T18:16:01.000Z
src/shared/utils/uri.cpp
snowmeltarcade/projectbirdracing
55cd479c81979de535b0cf496e91dd8d48b99fa8
[ "MIT" ]
null
null
null
#include "uri.h" #include "strings.h" namespace pbr::shared::utils { std::optional<uri> build_uri(const std::string& s) noexcept { if (s.empty()) { return {}; } // We are only supporting a small subset of URIs, as we only need // a small subset of features right now. We...
24.8
76
0.48871
snowmeltarcade
1b9b690a4df2fecc6584e4dd250b2199f74cb8a9
956
cpp
C++
Voksel/main.cpp
tryekk/Voksel
103e0cc9b97d5b6c5e787b1e88e91303ff5f1931
[ "MIT" ]
null
null
null
Voksel/main.cpp
tryekk/Voksel
103e0cc9b97d5b6c5e787b1e88e91303ff5f1931
[ "MIT" ]
null
null
null
Voksel/main.cpp
tryekk/Voksel
103e0cc9b97d5b6c5e787b1e88e91303ff5f1931
[ "MIT" ]
null
null
null
// // main.cpp // Voksel // // Created by Marat Isaw on 16.06.20. // Copyright © 2020 Marat Isaw. All rights reserved. // #include <iostream> #define STB_IMAGE_IMPLEMENTATION #include <stb_image.h> #include <SDL.h> #include "display.hpp" #include "game.hpp" #include "tensorMath.hpp" using namespace tem; int main(...
20.782609
65
0.585774
tryekk
1b9bd03627f8c83a434c8a2bf6ea08daba12b8d4
1,217
cpp
C++
test/acyclic_mutex_upgrade_lock_test.cpp
fmhess/libpoet
ca6a168a772a1452ac39745a851ba390e86fad30
[ "BSL-1.0" ]
1
2017-04-03T11:53:20.000Z
2017-04-03T11:53:20.000Z
test/acyclic_mutex_upgrade_lock_test.cpp
fmhess/libpoet
ca6a168a772a1452ac39745a851ba390e86fad30
[ "BSL-1.0" ]
null
null
null
test/acyclic_mutex_upgrade_lock_test.cpp
fmhess/libpoet
ca6a168a772a1452ac39745a851ba390e86fad30
[ "BSL-1.0" ]
null
null
null
// Test program for ayclic_mutex // Copyright (C) Frank Mori Hess 2007 // Distributed under the Boost Software License, Version 1.0. (See // accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #include <boost/shared_ptr.hpp> #include <boost/thread/shared_mutex.hpp> #include <casse...
19.629032
67
0.705834
fmhess
1b9d0b2f4e477ede00a8aff99a894cb09f9a072a
363
hpp
C++
include/stc/server/host_server.hpp
vtavernier/shadertoy-connector
f458a1216b0910ddbbf570932038e68decb2da26
[ "MIT" ]
null
null
null
include/stc/server/host_server.hpp
vtavernier/shadertoy-connector
f458a1216b0910ddbbf570932038e68decb2da26
[ "MIT" ]
null
null
null
include/stc/server/host_server.hpp
vtavernier/shadertoy-connector
f458a1216b0910ddbbf570932038e68decb2da26
[ "MIT" ]
null
null
null
#ifndef _STC_SERVER_HOST_SERVER_HPP_ #define _STC_SERVER_HOST_SERVER_HPP_ #include <memory> #include <string> namespace stc { namespace server { class host_server_impl; class host_server { host_server_impl * const impl_; public: host_server(const std::string &bind_address); ~host_server(); void run(); }; } } ...
12.964286
46
0.76584
vtavernier
1b9f2c949e6297162f5f84ad18b31cdc19ba3f39
266
cpp
C++
example/basic_cmake_project/main.cpp
arapelle/wgen
53471bd78e7fd64c780f04cd132047e20abf254f
[ "MIT" ]
1
2020-06-02T07:25:37.000Z
2020-06-02T07:25:37.000Z
example/basic_cmake_project/main.cpp
arapelle/wgen
53471bd78e7fd64c780f04cd132047e20abf254f
[ "MIT" ]
6
2020-08-28T10:52:25.000Z
2020-11-02T18:59:49.000Z
example/basic_cmake_project/main.cpp
arapelle/wgen
53471bd78e7fd64c780f04cd132047e20abf254f
[ "MIT" ]
1
2020-09-04T10:36:23.000Z
2020-09-04T10:36:23.000Z
#include <wgen/version.hpp> #include <wgen/default_syllabary.hpp> #include <strn/io.hpp> #include <iostream> #include <cstdlib> int main() { wgen::default_syllabary syllabary; std::cout << syllabary.random_name64(6) << std::endl; return EXIT_SUCCESS; }
20.461538
57
0.710526
arapelle
1b9f976a94289b47ea58ea6a09eccc9f6639d855
1,231
cpp
C++
GraphicsProject/Quad.cpp
Noaheasley/Bootstrap
fbcf53bffa42fe41233726ba42218568ce0dba60
[ "MIT" ]
null
null
null
GraphicsProject/Quad.cpp
Noaheasley/Bootstrap
fbcf53bffa42fe41233726ba42218568ce0dba60
[ "MIT" ]
null
null
null
GraphicsProject/Quad.cpp
Noaheasley/Bootstrap
fbcf53bffa42fe41233726ba42218568ce0dba60
[ "MIT" ]
null
null
null
#include "Quad.h" Quad::Quad(glm::vec4 color) : Quad::Quad() { m_color = color; } Quad::Vertex* Quad::generateVertices(unsigned int& vertexCount, unsigned int& triCount) { Vertex* vertices = nullptr; vertexCount = 6; triCount = 2; //Define the vertices for a quad vertices = new Vertex[vertexCount]; //triangl...
26.76087
87
0.613323
Noaheasley
1ba02de157599a2ee2b669009dadb0b43d635a10
249
cpp
C++
Source/Storm-Graphics/include/GraphicParticleData.cpp
SunlayGGX/Storm
83a34c14cc7d936347b6b8193a64cd13ccbf00a8
[ "MIT" ]
3
2021-11-27T04:56:12.000Z
2022-02-14T04:02:10.000Z
Source/Storm-Graphics/include/GraphicParticleData.cpp
SunlayGGX/Storm
83a34c14cc7d936347b6b8193a64cd13ccbf00a8
[ "MIT" ]
null
null
null
Source/Storm-Graphics/include/GraphicParticleData.cpp
SunlayGGX/Storm
83a34c14cc7d936347b6b8193a64cd13ccbf00a8
[ "MIT" ]
null
null
null
#include "GraphicParticleData.h" Storm::GraphicParticleData::GraphicParticleData(const Storm::Vector3 &position, const Storm::GraphicParticleData::ColorType &color) : _pos{ position.x(), position.y(), position.z(), 1.f }, _color{ color } { }
20.75
133
0.730924
SunlayGGX
1babbd6c250a8284222d74e41bf02798a1a91e5c
2,196
hpp
C++
src/telegram/tl/StreamingUtils.hpp
alopix/Telegram-QTLCore
31f556dd87432dea9aa8d1a47fe0b2d769b77c97
[ "MIT" ]
1
2015-01-12T20:58:18.000Z
2015-01-12T20:58:18.000Z
src/telegram/tl/StreamingUtils.hpp
alopix/Telegram-QTLCore
31f556dd87432dea9aa8d1a47fe0b2d769b77c97
[ "MIT" ]
null
null
null
src/telegram/tl/StreamingUtils.hpp
alopix/Telegram-QTLCore
31f556dd87432dea9aa8d1a47fe0b2d769b77c97
[ "MIT" ]
null
null
null
/* * StreamingUtils.hpp * * Created on: Feb 2, 2014 * Author: dustin */ #ifndef STREAMINGUTILS_HPP_ #define STREAMINGUTILS_HPP_ #include <QtCore> namespace telegram { namespace tl { class TLObject; class TLMethod; class TLVector; class TLIntVector; class TLLongVector; class TLStringVector; class TLContext...
30.929577
74
0.780055
alopix
1bb241ba6e97e115baed8e0b5d63c5b0d5e06567
32,548
cc
C++
generated/gfr_base_interceptor.cc
zakerinasab/gfr
306aec76c5601172b1bc4c143d5b36f7af6c4348
[ "Apache-2.0" ]
null
null
null
generated/gfr_base_interceptor.cc
zakerinasab/gfr
306aec76c5601172b1bc4c143d5b36f7af6c4348
[ "Apache-2.0" ]
null
null
null
generated/gfr_base_interceptor.cc
zakerinasab/gfr
306aec76c5601172b1bc4c143d5b36f7af6c4348
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2015 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
41.889318
435
0.822324
zakerinasab
1bbd5449c5538afe33f8a4047aac541c2171f895
1,439
hpp
C++
include/Nazara/Shader/SpirvDecoder.hpp
jayrulez/NazaraEngine
e0310cd141f3cc11dbe8abfd5bfedf6b61de1a99
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
null
null
null
include/Nazara/Shader/SpirvDecoder.hpp
jayrulez/NazaraEngine
e0310cd141f3cc11dbe8abfd5bfedf6b61de1a99
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
null
null
null
include/Nazara/Shader/SpirvDecoder.hpp
jayrulez/NazaraEngine
e0310cd141f3cc11dbe8abfd5bfedf6b61de1a99
[ "BSD-3-Clause-Clear", "Apache-2.0", "MIT" ]
null
null
null
// Copyright (C) 2022 Jérôme "Lynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Shader module" // For conditions of distribution and use, see copyright notice in Config.hpp #pragma once #ifndef NAZARA_SHADER_SPIRVDECODER_HPP #define NAZARA_SHADER_SPIRVDECODER_HPP #include <Nazara/Prer...
23.983333
88
0.741487
jayrulez
1bc48e1922390cafebf9258adb2109bf9ef2720d
3,104
cc
C++
tutorial/05_gates/gates.cc
alexwie/ITensor
867dcc6bb0de152b5e5d19969cb09dd8ed1d53fc
[ "Apache-2.0" ]
4
2019-12-27T06:24:28.000Z
2021-07-18T11:56:19.000Z
tutorial/05_gates/gates.cc
alexwie/ITensor
867dcc6bb0de152b5e5d19969cb09dd8ed1d53fc
[ "Apache-2.0" ]
null
null
null
tutorial/05_gates/gates.cc
alexwie/ITensor
867dcc6bb0de152b5e5d19969cb09dd8ed1d53fc
[ "Apache-2.0" ]
null
null
null
// // 2019 Many Electron Collaboration Summer School // ITensor Tutorial // #include "itensor/all.h" using std::vector; using std::move; using namespace itensor; struct TGate { int i1 = 0; int i2 = 0; ITensor G; TGate() { } TGate(int i1_, int i2_, ITensor G_) : i1(i1_), i2(i2_), G(G_...
22.823529
65
0.44942
alexwie
1bc56d79e988810dc8647f5ad6007860c11fa4e2
4,568
cpp
C++
src/glsl/lower_discard_flow.cpp
cwabbott0/lima_compiler
51f162b1e25efddc5084782c530f503cdc843b08
[ "MIT" ]
9
2015-12-20T05:31:29.000Z
2022-01-04T11:18:36.000Z
src/glsl/lower_discard_flow.cpp
cwabbott0/lima_compiler
51f162b1e25efddc5084782c530f503cdc843b08
[ "MIT" ]
1
2017-04-19T15:45:54.000Z
2017-04-19T15:45:54.000Z
src/glsl/lower_discard_flow.cpp
cwabbott0/lima_compiler
51f162b1e25efddc5084782c530f503cdc843b08
[ "MIT" ]
2
2019-01-12T04:07:29.000Z
2020-10-27T12:31:05.000Z
/* * Copyright © 2010 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, including without limitation * the rights to use, copy, modify, merge, pub...
30.657718
77
0.749124
cwabbott0
1bc5e07b486a4ce6f44e4707a71e4225e3048d79
473
hpp
C++
client/Plugin/OptFile/load.hpp
ZmnSCPxj/cldcb
4375d95cacee2a51fe5c4c1accc9fc616474bd41
[ "MIT" ]
9
2020-06-02T16:40:40.000Z
2021-10-03T15:22:40.000Z
client/Plugin/OptFile/load.hpp
ZmnSCPxj/cldcb
4375d95cacee2a51fe5c4c1accc9fc616474bd41
[ "MIT" ]
2
2020-11-06T00:00:24.000Z
2022-02-14T01:59:08.000Z
client/Plugin/OptFile/load.hpp
ZmnSCPxj/cldcb
4375d95cacee2a51fe5c4c1accc9fc616474bd41
[ "MIT" ]
2
2021-01-02T15:29:50.000Z
2022-02-23T07:26:00.000Z
#ifndef CLDCB_CLIENT_PLUGIN_OPTFILE_LOAD_HPP #define CLDCB_CLIENT_PLUGIN_OPTFILE_LOAD_HPP #include<memory> namespace Plugin { class Setup; } namespace Plugin { namespace OptFile { /* Prints any failures on std::cerr, returns a * non-null pointer on failure. * Returns null pointer if we should continue and * the ...
23.65
64
0.769556
ZmnSCPxj