hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
108
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
67k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
79cc8462db5e2701abb1256d516c7d0ccc627ab3
1,330
cpp
C++
code/components/net/src/NetBuffer.cpp
antonand03/hello-my-friend
fb4e225a75aea3007a391ccc4dcda3eda65c2142
[ "MIT" ]
6
2019-01-30T14:33:30.000Z
2021-07-21T18:06:52.000Z
code/components/net/src/NetBuffer.cpp
antonand03/hello-my-friend
fb4e225a75aea3007a391ccc4dcda3eda65c2142
[ "MIT" ]
6
2021-05-11T09:09:11.000Z
2022-03-23T18:34:23.000Z
code/components/net/src/NetBuffer.cpp
antonand03/hello-my-friend
fb4e225a75aea3007a391ccc4dcda3eda65c2142
[ "MIT" ]
22
2018-11-17T17:19:01.000Z
2021-05-22T09:51:07.000Z
/* * This file is part of the CitizenFX project - http://citizen.re/ * * See LICENSE and MENTIONS in the root of the source tree for information * regarding licensing. */ #include "StdInc.h" #include "NetBuffer.h" NetBuffer::NetBuffer(const char* bytes, size_t length) : m_bytesManaged(false), m_bytes...
19
105
0.63609
antonand03
79d1c8415db18d3ebd6a31d0a5ce7a137239aea9
4,946
cc
C++
Geometry/CommonTopologies/src/TrapezoidalStripTopology.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-24T19:10:26.000Z
2019-02-19T11:45:32.000Z
Geometry/CommonTopologies/src/TrapezoidalStripTopology.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-23T13:40:24.000Z
2019-12-05T21:16:03.000Z
Geometry/CommonTopologies/src/TrapezoidalStripTopology.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
5
2018-08-21T16:37:52.000Z
2020-01-09T13:33:17.000Z
#include "Geometry/CommonTopologies/interface/TrapezoidalStripTopology.h" #include <iostream> #include <cmath> #include <algorithm> TrapezoidalStripTopology::TrapezoidalStripTopology(int ns, float p, float l, float r0) : theNumberOfStrips(ns), thePitch(p), theDistToBeam(r0), theDetHeight(l) { ...
28.589595
97
0.675091
nistefan
79d68d05282cb4ad32b0827ca13108ef551b0748
1,358
cc
C++
sources/utility/misc.cc
jujudusud/gmajctl
b15466168b94ee6bc4731fc77d2b2dd0e36dc995
[ "BSL-1.0" ]
4
2018-11-01T23:38:33.000Z
2021-04-22T11:29:07.000Z
sources/utility/misc.cc
jujudusud/gmajctl
b15466168b94ee6bc4731fc77d2b2dd0e36dc995
[ "BSL-1.0" ]
10
2018-10-17T21:16:01.000Z
2019-09-29T21:51:58.000Z
sources/utility/misc.cc
linuxmao-org/FreeMajor
41bca20fce919e63a918aa472411652031e19ec5
[ "BSL-1.0" ]
1
2018-10-03T22:31:34.000Z
2018-10-03T22:31:34.000Z
// Copyright Jean Pierre Cimalando 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 "misc.h" bool starts_with(const char *x, const char *s) { size_t nx = strlen(x), ns = strlen(s)...
23.824561
76
0.574374
jujudusud
79d6c4ed083b737e8231c8bc457bdee982554ed1
391
hpp
C++
lib/rendering/ray.hpp
julienlopez/Raytracer
35fa5a00e190592a8780971fcbd2936a54e06d3a
[ "MIT" ]
null
null
null
lib/rendering/ray.hpp
julienlopez/Raytracer
35fa5a00e190592a8780971fcbd2936a54e06d3a
[ "MIT" ]
2
2017-06-01T16:43:37.000Z
2017-06-07T16:17:51.000Z
lib/rendering/ray.hpp
julienlopez/Raytracer
35fa5a00e190592a8780971fcbd2936a54e06d3a
[ "MIT" ]
null
null
null
#pragma once #include "math/types.hpp" namespace Rendering { class Ray { public: Ray(const Math::Point3d& origin_, const Math::Vector3d& direction_); ~Ray() = default; const Math::Point3d& origin() const; const Math::Vector3d& direction() const; Math::Vector3d& direction(); private: Math...
14.481481
72
0.667519
julienlopez
79df904e6678cf595472d70326b9395ee90aa4ed
937
cpp
C++
Factorio-Imitation/DeactiveButtonUI.cpp
JiokKae/Factorio-Imitation
06b6328a48926e64b376ff8e985eedef22f06c14
[ "MIT" ]
2
2020-12-24T10:38:46.000Z
2021-04-23T11:44:48.000Z
Factorio-Imitation/DeactiveButtonUI.cpp
JiokKae/Factorio-Imitation
06b6328a48926e64b376ff8e985eedef22f06c14
[ "MIT" ]
null
null
null
Factorio-Imitation/DeactiveButtonUI.cpp
JiokKae/Factorio-Imitation
06b6328a48926e64b376ff8e985eedef22f06c14
[ "MIT" ]
null
null
null
#include "DeactiveButtonUI.h" #include "GLImage.h" HRESULT DeactiveButtonUI::Init() { image = new GLImage(); image->Init("UI/DeactiveButtonUI", 3, 1); onMouse = false; return S_OK; } void DeactiveButtonUI::Release() { } void DeactiveButtonUI::Update() { if (active) { if (PtInFRect(GetFrect(), { g_ptMouse.x,...
16.155172
86
0.640342
JiokKae
0763c29128af9170301bb0fc5996c9ce36f327b0
5,936
hpp
C++
testing_utilities/discrete_trajectory_factories_body.hpp
net-lisias-ksp/Principia
9292ea1fc2e4b4f0ce7a717e2f507168519f5f8a
[ "MIT" ]
null
null
null
testing_utilities/discrete_trajectory_factories_body.hpp
net-lisias-ksp/Principia
9292ea1fc2e4b4f0ce7a717e2f507168519f5f8a
[ "MIT" ]
null
null
null
testing_utilities/discrete_trajectory_factories_body.hpp
net-lisias-ksp/Principia
9292ea1fc2e4b4f0ce7a717e2f507168519f5f8a
[ "MIT" ]
null
null
null
#pragma once #include "testing_utilities/discrete_trajectory_factories.hpp" #include "base/status_utilities.hpp" #include "physics/degrees_of_freedom.hpp" #include "physics/discrete_trajectory_segment.hpp" #include "physics/discrete_trajectory_segment_iterator.hpp" #include "quantities/elementary_functions.hpp" #inc...
35.12426
80
0.60091
net-lisias-ksp
076468edc1cac5aa3638c664fa752676e4485084
4,412
cc
C++
third_party/blink/common/privacy_budget/identifiable_surface_unittest.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
third_party/blink/common/privacy_budget/identifiable_surface_unittest.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
third_party/blink/common/privacy_budget/identifiable_surface_unittest.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "third_party/blink/public/common/privacy_budget/identifiable_surface.h" #include <functional> #include <unordered_set> #include "services/metri...
37.709402
80
0.740254
zealoussnow
076581d0398811b88e5e93ac46448596bd777e94
15,188
cpp
C++
src/test-rhi.cpp
sgorsten/workbench
5209bb405e0e0f4696b36684bbd1d7ecff7daa2f
[ "Unlicense" ]
16
2015-12-15T17:17:37.000Z
2021-12-07T20:19:38.000Z
src/test-rhi.cpp
sgorsten/workbench
5209bb405e0e0f4696b36684bbd1d7ecff7daa2f
[ "Unlicense" ]
null
null
null
src/test-rhi.cpp
sgorsten/workbench
5209bb405e0e0f4696b36684bbd1d7ecff7daa2f
[ "Unlicense" ]
1
2016-03-25T08:04:58.000Z
2016-03-25T08:04:58.000Z
#include "engine/pbr.h" #include "engine/mesh.h" #include "engine/sprite.h" #include "engine/camera.h" #include <chrono> #include <iostream> struct common_assets { coord_system game_coords; shader_compiler compiler; pbr::shaders standard; rhi::shader_desc vs, lit_fs, unlit_fs, skybox_vs, skybox_fs; ...
47.021672
269
0.659139
sgorsten
0765c49926bec7a3eac614ee1d8f6d68ba8604a9
3,362
cpp
C++
src/albert/cui/cui.cpp
a1exwang/dht
1ff57a3bd1ea0adb2e98e8eac5041b786092e5a2
[ "MIT" ]
1
2020-02-23T13:25:58.000Z
2020-02-23T13:25:58.000Z
src/albert/cui/cui.cpp
a1exwang/dht
1ff57a3bd1ea0adb2e98e8eac5041b786092e5a2
[ "MIT" ]
null
null
null
src/albert/cui/cui.cpp
a1exwang/dht
1ff57a3bd1ea0adb2e98e8eac5041b786092e5a2
[ "MIT" ]
null
null
null
#include <albert/cui/cui.hpp> #include <cstddef> #include <cstdint> #include <vector> #include <string> #include <boost/algorithm/string/classification.hpp> #include <boost/algorithm/string/split.hpp> #include <boost/asio/io_service.hpp> #include <boost/asio/placeholders.hpp> #include <boost/asio/read_until.hpp> #in...
28.735043
116
0.635634
a1exwang
07674e39420d832e82b3eaa032f85a1268b4f0b6
12,085
cpp
C++
Libraries/Audio/input_adcs.cpp
InspiredChaos/New_Visualizer_Skeleton
97967caa3cd74a3ea7a2727f9e886cadc44e8451
[ "MIT" ]
18
2020-04-15T11:58:46.000Z
2022-02-06T19:09:51.000Z
src/lib/Audio/input_adcs.cpp
ARSFI/HFSimulator
b6a5b32ea7bf45bc37c6ec74c55167bb2479d5ac
[ "MIT" ]
1
2018-12-07T01:38:43.000Z
2018-12-07T01:38:43.000Z
src/lib/Audio/input_adcs.cpp
ARSFI/HFSimulator
b6a5b32ea7bf45bc37c6ec74c55167bb2479d5ac
[ "MIT" ]
7
2020-05-09T19:53:34.000Z
2021-09-04T21:39:28.000Z
/* Audio Library for Teensy 3.X * Copyright (c) 2014, Paul Stoffregen, paul@pjrc.com * * Development of this audio library was funded by PJRC.COM, LLC by sales of * Teensy and Audio Adaptor boards. Please support PJRC's efforts to develop * open source software by purchasing Teensy or other PJRC products. * * P...
32.226667
94
0.659247
InspiredChaos
0767d5a2a29a50e096bbb849b5c876dab5329a7f
30,872
cpp
C++
dlls/Game/scene/MainMenu.cpp
Mynsu/sirtet_SFML
ad1b64597868959d96d27fcb73fd272f41b21e16
[ "MIT" ]
null
null
null
dlls/Game/scene/MainMenu.cpp
Mynsu/sirtet_SFML
ad1b64597868959d96d27fcb73fd272f41b21e16
[ "MIT" ]
null
null
null
dlls/Game/scene/MainMenu.cpp
Mynsu/sirtet_SFML
ad1b64597868959d96d27fcb73fd272f41b21e16
[ "MIT" ]
null
null
null
#include "../pch.h" #include "MainMenu.h" #include "../ServiceLocatorMirror.h" bool ::scene::MainMenu::IsInstantiated = false; ::scene::MainMenu::MainMenu( const sf::RenderWindow& window ) : mIsCursorOnButton( false ), mNextSceneID( ::scene::ID::AS_IS ) { ASSERT_TRUE( false == IsInstantiated ); loadResources( wi...
30.089669
113
0.616611
Mynsu
07692fe54f3ed175bee0929e758ecff96029093e
4,724
cpp
C++
addons/a3/language_f_tank/config.cpp
GoldJohnKing/Arma-III-Chinese-Localization-Enhanced
6ce8a75d1176adc2f1d5f4e9abd5dd2a1c581222
[ "MIT" ]
23
2017-07-13T16:15:55.000Z
2022-01-06T04:56:34.000Z
addons/a3/language_f_tank/config.cpp
GoldJohnKing/Arma-III-Chinese-Localization-Enhanced
6ce8a75d1176adc2f1d5f4e9abd5dd2a1c581222
[ "MIT" ]
3
2017-07-14T10:34:25.000Z
2021-02-28T18:42:43.000Z
addons/a3/language_f_tank/config.cpp
GoldJohnKing/Arma-III-Chinese-Localization-Enhanced
6ce8a75d1176adc2f1d5f4e9abd5dd2a1c581222
[ "MIT" ]
13
2017-07-14T04:13:43.000Z
2021-11-27T04:45:29.000Z
//////////////////////////////////////////////////////////////////// //DeRap: 新增資料夾\language_f_tank\config.bin //Produced from mikero's Dos Tools Dll version 6.80 //'now' is Sun Mar 31 23:01:41 2019 : 'file' last modified on Tue Jan 29 22:16:12 2019 //http://dev-heaven.net/projects/list_files/mikero-pbodll ////////////...
26.689266
196
0.652413
GoldJohnKing
0769876a45ca80bd2103ecc61d3775b7d9233c98
5,013
cpp
C++
zc702/GEMM_Hardware_NoInterrupt/matrix_mult_accel.cpp
kranik/ENEAC
8faceedf89f598f7fab728ee94341a47c8976830
[ "BSD-3-Clause" ]
null
null
null
zc702/GEMM_Hardware_NoInterrupt/matrix_mult_accel.cpp
kranik/ENEAC
8faceedf89f598f7fab728ee94341a47c8976830
[ "BSD-3-Clause" ]
null
null
null
zc702/GEMM_Hardware_NoInterrupt/matrix_mult_accel.cpp
kranik/ENEAC
8faceedf89f598f7fab728ee94341a47c8976830
[ "BSD-3-Clause" ]
null
null
null
/* File: matrix_mult_accel.cpp * Copyright (c) [2016] [Mohammad Hosseinabady (mohammad@hosseinabady.com)] 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 l...
30.944444
126
0.678436
kranik
0769fb57bf876765b4b7cbb2c04f823571eb9dbf
705
cpp
C++
Vijos/1164.cpp
HeRaNO/OI-ICPC-Codes
4a4639cd3e347b472520065ca6ab8caadde6906d
[ "MIT" ]
18
2019-01-01T13:16:59.000Z
2022-02-28T04:51:50.000Z
Vijos/1164.cpp
HeRaNO/OI-ICPC-Codes
4a4639cd3e347b472520065ca6ab8caadde6906d
[ "MIT" ]
null
null
null
Vijos/1164.cpp
HeRaNO/OI-ICPC-Codes
4a4639cd3e347b472520065ca6ab8caadde6906d
[ "MIT" ]
5
2019-09-13T08:48:17.000Z
2022-02-19T06:59:03.000Z
#include <cstdio> #define MAXN 11 using namespace std; long long a[MAXN], m[MAXN]; long long n; void ex_gcd(long long a, long long b, long long &x, long long &y) { if (!b) { x = 1; y = 0; return ; } else { ex_gcd(b, a % b, x, y); long long tmp = x; x = y; y = tmp - (a / b) * y; } } long long crt(...
15
65
0.48227
HeRaNO
076b03748bc3d9cc6143c38672765a2dd2224054
5,069
cpp
C++
Code/Tools/FBuild/FBuildTest/Data/TestFastCancel/Cancel/main.cpp
qq573011406/FASTBuild_UnrealEngine
29c49672f82173a903cb32f0e4656e2fd07ebef2
[ "MIT" ]
30
2020-07-15T06:16:55.000Z
2022-02-10T21:37:52.000Z
Code/Tools/FBuild/FBuildTest/Data/TestFastCancel/Cancel/main.cpp
qq573011406/FASTBuild_UnrealEngine
29c49672f82173a903cb32f0e4656e2fd07ebef2
[ "MIT" ]
1
2020-11-23T13:35:00.000Z
2020-11-23T13:35:00.000Z
Code/Tools/FBuild/FBuildTest/Data/TestFastCancel/Cancel/main.cpp
qq573011406/FASTBuild_UnrealEngine
29c49672f82173a903cb32f0e4656e2fd07ebef2
[ "MIT" ]
12
2020-09-16T17:39:34.000Z
2021-08-17T11:32:37.000Z
// main.cpp //------------------------------------------------------------------------------ // Includes //------------------------------------------------------------------------------ // system #if defined( __WINDOWS__ ) #include <Windows.h> #endif #if defined( __LINUX__ ) || defined( __APPLE__ ) #include <e...
28.005525
80
0.459262
qq573011406
076e1fbc108660e2f4ac9955f342916a7cd269de
222
hpp
C++
C++ Programming/CPTS 122/Labs/Inheritance in C++/TestPerson.hpp
subhamb123/WSU-Coding-Projects
bb2910d76ac446f190ce641b869e68ae86d9b760
[ "MIT" ]
1
2020-09-03T07:09:05.000Z
2020-09-03T07:09:05.000Z
C++ Programming/CPTS 122/Labs/Inheritance in C++/TestPerson.hpp
subhamb123/WSU-Coding-Projects
bb2910d76ac446f190ce641b869e68ae86d9b760
[ "MIT" ]
null
null
null
C++ Programming/CPTS 122/Labs/Inheritance in C++/TestPerson.hpp
subhamb123/WSU-Coding-Projects
bb2910d76ac446f190ce641b869e68ae86d9b760
[ "MIT" ]
null
null
null
#pragma once #include "Person.hpp"; class TestPerson : public Person { public: void testPerson(); void testCopyPerson(); void testEquals(); void testExtraction(); void testInsertion(); void copyHelper(Person p); };
17.076923
34
0.725225
subhamb123
076e92c8b7854650814222dd5b7dc9efebcc42eb
21,717
cpp
C++
src/marchingcubes.cpp
menonon/SimpleGLWrapper
a99af4ee9b0e9fef8ac1ffe3b01aef32157929bb
[ "MIT" ]
null
null
null
src/marchingcubes.cpp
menonon/SimpleGLWrapper
a99af4ee9b0e9fef8ac1ffe3b01aef32157929bb
[ "MIT" ]
null
null
null
src/marchingcubes.cpp
menonon/SimpleGLWrapper
a99af4ee9b0e9fef8ac1ffe3b01aef32157929bb
[ "MIT" ]
null
null
null
/* The MIT License (MIT) Copyright (c) 2013-2018 menonon 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, ...
47.940397
162
0.411014
menonon
076ed479fa395053a6a704771c210791dc27431c
1,316
cpp
C++
STL/lambda/lambda_2.cpp
liangjisheng/C-Cpp
8b33ba1f43580a7bdded8bb4ce3d92983ccedb81
[ "MIT" ]
5
2019-09-17T09:12:15.000Z
2021-05-29T10:54:39.000Z
STL/lambda/lambda_2.cpp
liangjisheng/C-Cpp
8b33ba1f43580a7bdded8bb4ce3d92983ccedb81
[ "MIT" ]
null
null
null
STL/lambda/lambda_2.cpp
liangjisheng/C-Cpp
8b33ba1f43580a7bdded8bb4ce3d92983ccedb81
[ "MIT" ]
2
2021-07-26T06:36:12.000Z
2022-01-23T15:20:30.000Z
#include <iostream> #include <map> #include <algorithm> #include <vector> using namespace std; class SumAndProd { public: SumAndProd() : mSum(0), mProd(1) {} void operator()(int elem); int getSum() const { return mSum; } int getProduct() const { return mProd; } private: int mSum; int mProd; };...
21.225806
90
0.538754
liangjisheng
07715ce23d6844d2351a29ecad1fa9a664ef5748
162
cpp
C++
CH1/Bookexamples/1.5.2.cpp
Alfredo-Palace/C
cb1ef3386e9d7ab817ee4906d9db05ea1afd551f
[ "Apache-2.0" ]
null
null
null
CH1/Bookexamples/1.5.2.cpp
Alfredo-Palace/C
cb1ef3386e9d7ab817ee4906d9db05ea1afd551f
[ "Apache-2.0" ]
null
null
null
CH1/Bookexamples/1.5.2.cpp
Alfredo-Palace/C
cb1ef3386e9d7ab817ee4906d9db05ea1afd551f
[ "Apache-2.0" ]
null
null
null
#include <stdio.h> int main() { long nc = 0; while (getchar() != EOF) { ++nc; } printf("A total of %ld characters.\n", nc); return 1; }
14.727273
47
0.493827
Alfredo-Palace
0771e586625388f91caada87d1a7724679edc209
777
cpp
C++
source/src/python/python.cpp
danstowell/signalflow
66cbe1d7b573312dc3a7435a154fbb10e47a24c5
[ "MIT" ]
61
2020-10-12T11:46:09.000Z
2022-02-07T04:26:05.000Z
source/src/python/python.cpp
danstowell/signalflow
66cbe1d7b573312dc3a7435a154fbb10e47a24c5
[ "MIT" ]
26
2020-10-07T20:25:26.000Z
2022-03-25T11:40:57.000Z
source/src/python/python.cpp
danstowell/signalflow
66cbe1d7b573312dc3a7435a154fbb10e47a24c5
[ "MIT" ]
6
2021-02-27T19:50:25.000Z
2021-11-09T11:02:20.000Z
#include "signalflow/python/python.h" void init_python_constants(py::module &m); void init_python_node(py::module &m); void init_python_nodes(py::module &m); void init_python_buffer(py::module &m); void init_python_config(py::module &m); void init_python_graph(py::module &m); void init_python_patch(py::module &m); voi...
24.28125
43
0.710425
danstowell
0773f46d11490956c1372859aead18e87ec8637a
361
cpp
C++
SimpleInterest/Main.cpp
sounishnath003/CPP-for-beginner
d4755ab4ae098d63c9a0666d8eb4d152106d4a20
[ "MIT" ]
4
2020-05-14T04:41:04.000Z
2021-06-13T06:42:03.000Z
SimpleInterest/Main.cpp
sounishnath003/CPP-for-beginner
d4755ab4ae098d63c9a0666d8eb4d152106d4a20
[ "MIT" ]
null
null
null
SimpleInterest/Main.cpp
sounishnath003/CPP-for-beginner
d4755ab4ae098d63c9a0666d8eb4d152106d4a20
[ "MIT" ]
null
null
null
#include<iostream> using namespace std ; class Main { private: int rate = 8.9 ; public: int interest(int ammount, double time) { return (ammount * rate * time)/100 ; } }; int main(int argc, char const *argv[]) { Main obj ; int r = obj.interest(20000, 2) ; cout << ...
15.695652
45
0.523546
sounishnath003
0773fbe6a06ce6f1ce2d6d823b649f2f1f9f3972
1,932
cc
C++
src/base/flat_set_benchmark.cc
nicomazz/perfetto
fb875c61cf00ded88a3f46cb562ab943129cb7af
[ "Apache-2.0" ]
2
2020-03-09T04:39:32.000Z
2020-03-09T09:12:02.000Z
src/base/flat_set_benchmark.cc
nicomazz/perfetto
fb875c61cf00ded88a3f46cb562ab943129cb7af
[ "Apache-2.0" ]
6
2021-03-01T21:03:47.000Z
2022-02-26T01:51:15.000Z
src/base/flat_set_benchmark.cc
nicomazz/perfetto
fb875c61cf00ded88a3f46cb562ab943129cb7af
[ "Apache-2.0" ]
null
null
null
// Copyright (C) 2019 The Android 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 License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applic...
29.723077
80
0.72412
nicomazz
07752c7ae25b64365e655df3ca9d4493556e85ad
1,540
cpp
C++
Practice/2018/2018.12.16/UOJ188.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
4
2017-10-31T14:25:18.000Z
2018-06-10T16:10:17.000Z
Practice/2018/2018.12.16/UOJ188.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
null
null
null
Practice/2018/2018.12.16/UOJ188.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
null
null
null
#include<iostream> #include<cstdio> #include<cstdlib> #include<cstring> #include<algorithm> #include<cmath> using namespace std; #define ll long long #define mem(Arr,x) memset(Arr,x,sizeof(Arr)) const int maxN=705000; const int inf=2147483647; ll n,srt; bool notprime[maxN]; int pcnt,P[maxN]; ll num,Num[maxN+maxN],Id...
20.533333
57
0.569481
SYCstudio
077874189b8e5a531724039adce131445eb3ca81
840
cpp
C++
Chapter08/tinylang2/lib/Basic/TokenKinds.cpp
PacktPublishing/Learn-LLVM-12
e53e4ce5ecabeecc42a61acad9b707e3424dc472
[ "MIT" ]
149
2021-04-24T05:39:42.000Z
2022-03-31T02:02:39.000Z
Chapter08/tinylang2/lib/Basic/TokenKinds.cpp
PacktPublishing/Learn-LLVM-12
e53e4ce5ecabeecc42a61acad9b707e3424dc472
[ "MIT" ]
7
2021-06-03T00:44:13.000Z
2022-01-06T23:05:50.000Z
Chapter08/tinylang2/lib/Basic/TokenKinds.cpp
PacktPublishing/Learn-LLVM-9
e53e4ce5ecabeecc42a61acad9b707e3424dc472
[ "MIT" ]
42
2021-05-18T11:41:05.000Z
2022-03-29T02:11:53.000Z
#include "tinylang/Basic/TokenKinds.h" #include "llvm/Support/ErrorHandling.h" using namespace tinylang; static const char * const TokNames[] = { #define TOK(ID) #ID, #define KEYWORD(ID, FLAG) #ID, #include "tinylang/Basic/TokenKinds.def" nullptr }; const char *tok::getTokenName(TokenKind Kind) { if (Kind < tok:...
23.333333
56
0.715476
PacktPublishing
077cb609be464433ca006bf73693954ad7ccfe71
8,746
cpp
C++
testeSHP/GIS.Map.cpp
darioajr/shapeview
00f46e4ac8a53dd4b3d58b57487b8469427b97cb
[ "MIT" ]
2
2020-05-05T15:12:48.000Z
2021-05-13T05:00:44.000Z
testeSHP/GIS.Map.cpp
darioajr/shapeview
00f46e4ac8a53dd4b3d58b57487b8469427b97cb
[ "MIT" ]
null
null
null
testeSHP/GIS.Map.cpp
darioajr/shapeview
00f46e4ac8a53dd4b3d58b57487b8469427b97cb
[ "MIT" ]
1
2017-09-21T05:07:10.000Z
2017-09-21T05:07:10.000Z
#include "stdafx.h" #include "GIS.Map.h" #include "GIS.IMapLayer.h" using MapGIS::IMapLayer; using MapGIS::Map; //Geo #include "GIS.MapMetrics.h" using MapGIS::MapMetrics; //DataSources #include "GIS.SHPReader.h" #include "GIS.DXFReader.h" using MapGIS::SHPReader; using MapGIS::DXFReader; #ifdef _DEBUG #undef TH...
19.698198
99
0.69003
darioajr
077da983004cfbcd76a472034d20cbef096cac5f
1,915
cpp
C++
src/cpp/lib/QtGui/QCursor/qcursor_wrap.cpp
TheRakeshPurohit/nodegui
9fcc5e99d30ff0dc208f045abeeab50e59a73f22
[ "MIT" ]
7,857
2019-08-12T17:06:12.000Z
2022-03-31T09:40:05.000Z
src/cpp/lib/QtGui/QCursor/qcursor_wrap.cpp
TheRakeshPurohit/nodegui
9fcc5e99d30ff0dc208f045abeeab50e59a73f22
[ "MIT" ]
584
2019-08-11T21:39:18.000Z
2022-03-25T23:37:10.000Z
src/cpp/lib/QtGui/QCursor/qcursor_wrap.cpp
master-atul/nodegui
123524d1265ec9c9737596cfb475308c56a06750
[ "MIT" ]
310
2019-08-16T01:40:14.000Z
2022-03-29T09:45:31.000Z
#include "QtGui/QCursor/qcursor_wrap.h" #include "Extras/Utils/nutils.h" #include "QtGui/QPixmap/qpixmap_wrap.h" Napi::FunctionReference QCursorWrap::constructor; Napi::Object QCursorWrap::init(Napi::Env env, Napi::Object exports) { Napi::HandleScope scope(env); char CLASSNAME[] = "QCursor"; Napi::Function fun...
34.196429
78
0.667885
TheRakeshPurohit
077ed1102aba2c6e416f4a57e7acfdba0bdaa693
32,013
cc
C++
ge/graph/optimize/mem_rw_conflict_optimize.cc
Ascend/graphengine
45d6a09b12a07eb3c854452f83dab993eba79716
[ "Apache-2.0" ]
null
null
null
ge/graph/optimize/mem_rw_conflict_optimize.cc
Ascend/graphengine
45d6a09b12a07eb3c854452f83dab993eba79716
[ "Apache-2.0" ]
null
null
null
ge/graph/optimize/mem_rw_conflict_optimize.cc
Ascend/graphengine
45d6a09b12a07eb3c854452f83dab993eba79716
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2020 Huawei Technologies Co., Ltd * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or agr...
41.253866
120
0.688064
Ascend
07801b4f11a045b8238458093cf635e90d02a917
483
cpp
C++
test/test_common.cpp
jhigginbotham64/Telescope
ef82f388934549e33d5fb21838d408c373b066e5
[ "MIT" ]
null
null
null
test/test_common.cpp
jhigginbotham64/Telescope
ef82f388934549e33d5fb21838d408c373b066e5
[ "MIT" ]
null
null
null
test/test_common.cpp
jhigginbotham64/Telescope
ef82f388934549e33d5fb21838d408c373b066e5
[ "MIT" ]
null
null
null
// // Copyright (c) Joshua Higginbotham, 2022 // #include <test/test.hpp> #include <telescope.hpp> int main() { Test::initialize(); Test::testset("CLAMP", [](){ }); Test::testset("TS_NDCX", [](){ }); Test::testset("TS_NDCY", [](){ }); Test::testset("TS_NDCRect", [](){ }); ...
13.416667
42
0.492754
jhigginbotham64
078828ce4470d172569c812f55a8753fcc5f28fd
1,573
hpp
C++
include/amtrs/.inc/net-types.hpp
isaponsoft/libamtrs
5adf821ee15592fc3280985658ca8a4b175ffcaa
[ "BSD-2-Clause-FreeBSD" ]
1
2019-12-10T02:12:49.000Z
2019-12-10T02:12:49.000Z
include/amtrs/.inc/net-types.hpp
isaponsoft/libamtrs
5adf821ee15592fc3280985658ca8a4b175ffcaa
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
include/amtrs/.inc/net-types.hpp
isaponsoft/libamtrs
5adf821ee15592fc3280985658ca8a4b175ffcaa
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
/* Copyright (c) 2019, isaponsoft (Isao Shibuya) All rights reserved. * * Use of this source code is governed by a BSD-style license that * * can be found in the LICENSE file. */ #ifndef __libamtrs__net__types__hpp #define __libamtrs__net__types__hpp AMTRS_NET_NAMESPACE_BEGIN enu...
18.290698
72
0.65035
isaponsoft
078da27b7e117a9fc7104873e11e7428a27cdc92
644
cc
C++
source/pkgsrc/chat/centerim/patches/patch-src_hooks_msnhook.cc
Scottx86-64/dotfiles-1
51004b1e2b032664cce6b553d2052757c286087d
[ "Unlicense" ]
1
2021-11-20T22:46:39.000Z
2021-11-20T22:46:39.000Z
source/pkgsrc/chat/centerim/patches/patch-src_hooks_msnhook.cc
Scottx86-64/dotfiles-1
51004b1e2b032664cce6b553d2052757c286087d
[ "Unlicense" ]
null
null
null
source/pkgsrc/chat/centerim/patches/patch-src_hooks_msnhook.cc
Scottx86-64/dotfiles-1
51004b1e2b032664cce6b553d2052757c286087d
[ "Unlicense" ]
null
null
null
$NetBSD: patch-src_hooks_msnhook.cc,v 1.1 2013/03/02 18:20:19 joerg Exp $ --- src/hooks/msnhook.cc.orig 2013-03-01 12:43:38.000000000 +0000 +++ src/hooks/msnhook.cc @@ -684,7 +684,7 @@ void msncallbacks::gotBuddyListInfo(MSN: mhook.setautostatus(mhook.manualstatus); mhook.timer_ping = timer_current; - m...
28
73
0.687888
Scottx86-64
078db69c7a027642e84fa4603a204afca6927b36
4,087
cpp
C++
test/PointFinder.cpp
dannosliwcd/PointQuery
106eeef2838525909402d0316b827dfbf1a0ecd0
[ "MIT" ]
null
null
null
test/PointFinder.cpp
dannosliwcd/PointQuery
106eeef2838525909402d0316b827dfbf1a0ecd0
[ "MIT" ]
null
null
null
test/PointFinder.cpp
dannosliwcd/PointQuery
106eeef2838525909402d0316b827dfbf1a0ecd0
[ "MIT" ]
1
2018-12-04T20:37:27.000Z
2018-12-04T20:37:27.000Z
#include <PointFinder.h> #include <CountyRecord.h> #include <catch.hpp> #include <string> TEST_CASE("search in empty finder") { std::vector<CountyRecord> records; auto finder = PointFinder::Make(PointFinder::Method::KDTree, records); REQUIRE(finder->FindNearest(0, 0, 1).empty()); finder = PointFinder::Ma...
24.041176
83
0.584781
dannosliwcd
078ece8917fdd195baf28dd28d9ee2f1b32fa277
2,082
hpp
C++
shared/storage/option.hpp
jrnh/herby
bf0e90b850e2f81713e4dbc21c8d8b9af78ad203
[ "MIT" ]
null
null
null
shared/storage/option.hpp
jrnh/herby
bf0e90b850e2f81713e4dbc21c8d8b9af78ad203
[ "MIT" ]
null
null
null
shared/storage/option.hpp
jrnh/herby
bf0e90b850e2f81713e4dbc21c8d8b9af78ad203
[ "MIT" ]
null
null
null
#pragma once #include <windows.h> #include <string> #include <vector> #include "shared/imgui/imgui.hpp" #include "shared/memory/procedure.hpp" namespace shared::option { struct VisualData { // core int m_box = 0; // 0 - 3 | off, normal, corners, 3d bool m_drop = false; // bool m_drop_we...
24.785714
59
0.599424
jrnh
0791bfdcf36a4fbb31345108c4cf6c86ab27bd51
9,351
cpp
C++
libraries/zmusic/midisources/midisource_mus.cpp
351ELEC/lzdoom
2ee3ea91bc9c052b3143f44c96d85df22851426f
[ "RSA-MD" ]
2
2020-04-19T13:37:34.000Z
2021-06-09T04:26:25.000Z
libraries/zmusic/midisources/midisource_mus.cpp
351ELEC/lzdoom
2ee3ea91bc9c052b3143f44c96d85df22851426f
[ "RSA-MD" ]
4
2021-09-02T00:05:17.000Z
2021-09-07T14:56:12.000Z
libraries/zmusic/midisources/midisource_mus.cpp
351ELEC/lzdoom
2ee3ea91bc9c052b3143f44c96d85df22851426f
[ "RSA-MD" ]
1
2021-09-28T19:03:39.000Z
2021-09-28T19:03:39.000Z
/* ** music_mus_midiout.cpp ** Code to let ZDoom play MUS music through the MIDI streaming API. ** **--------------------------------------------------------------------------- ** Copyright 1998-2008 Randy Heit ** All rights reserved. ** ** Redistribution and use in source and binary forms, with or without ** modificat...
25.54918
104
0.52465
351ELEC
0793dfa5e53053633acc28922aea43c1bb12d941
753
hpp
C++
src/optimizer/path_generator.hpp
dzitkowskik/GpuTimeSeriesCompressionOptimizer
d8c68c14b869ab4b3b9e248f41bc5593a4fddfe8
[ "MIT", "Unlicense" ]
2
2019-06-20T19:49:13.000Z
2020-08-11T09:22:33.000Z
src/optimizer/path_generator.hpp
dzitkowskik/GpuTimeSeriesCompressionOptimizer
d8c68c14b869ab4b3b9e248f41bc5593a4fddfe8
[ "MIT", "Unlicense" ]
null
null
null
src/optimizer/path_generator.hpp
dzitkowskik/GpuTimeSeriesCompressionOptimizer
d8c68c14b869ab4b3b9e248f41bc5593a4fddfe8
[ "MIT", "Unlicense" ]
2
2021-03-11T01:08:00.000Z
2022-03-02T13:53:29.000Z
/* * path_generator.hpp * * Created on: 12/11/2015 * Author: Karol Dzitkowski */ #ifndef PATH_GENERATOR_HPP_ #define PATH_GENERATOR_HPP_ #include "compression/encoding_type.hpp" #include "data_type.hpp" #include "tree/compression_tree.hpp" #include "util/statistics/cuda_array_statistics.hpp" #include <ve...
20.351351
86
0.752988
dzitkowskik
07960f8068d9496d940b689a9d3458617fa16024
3,071
cpp
C++
src/gui/GuiText.cpp
Eyadplayz/Project-Architesis
89c44d3e35604c1fb9a3f0b3635620e3e6241025
[ "MIT" ]
null
null
null
src/gui/GuiText.cpp
Eyadplayz/Project-Architesis
89c44d3e35604c1fb9a3f0b3635620e3e6241025
[ "MIT" ]
null
null
null
src/gui/GuiText.cpp
Eyadplayz/Project-Architesis
89c44d3e35604c1fb9a3f0b3635620e3e6241025
[ "MIT" ]
2
2021-11-20T01:39:37.000Z
2021-11-28T00:06:19.000Z
/**************************************************************************** * Copyright (C) 2015 Dimok * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, o...
31.659794
148
0.622924
Eyadplayz
0796e351bc1d6a4c6b27bb20ea45638c6839f61b
2,537
cpp
C++
GoogleServiceServer/recommit.cpp
satadriver/GoogleServiceServer
7d6e55d2f9a189301dd68821c920d0a0e300322a
[ "Apache-2.0" ]
null
null
null
GoogleServiceServer/recommit.cpp
satadriver/GoogleServiceServer
7d6e55d2f9a189301dd68821c920d0a0e300322a
[ "Apache-2.0" ]
null
null
null
GoogleServiceServer/recommit.cpp
satadriver/GoogleServiceServer
7d6e55d2f9a189301dd68821c920d0a0e300322a
[ "Apache-2.0" ]
null
null
null
#include "recommit.h" #include "FileOperator.h" #include "FileWriter.h" #include <iostream> #include "DataProcess.h" #include "PublicFunction.h" #include <string> using namespace std; #define BUF_SIZE 4096 #define ENTERLN "\r\n" int commit(string path) { WIN32_FIND_DATAA fd = { 0 }; string fn = path + "*.*";...
18.932836
98
0.553015
satadriver
0798aa108bfb952eb527c60bb0a61482f2a7ba6f
2,128
cpp
C++
project-2/CS248/examples/event.cpp
JRBarreraM/CI4321_COMPUTACION_GRAFICA_I
8d5aaa536fdfe0e2e678bc9b7abb613e33057b07
[ "MIT" ]
1
2022-02-08T10:39:40.000Z
2022-02-08T10:39:40.000Z
project-2/CS248/examples/event.cpp
JRBarreraM/CI4321_COMPUTACION_GRAFICA_I
8d5aaa536fdfe0e2e678bc9b7abb613e33057b07
[ "MIT" ]
null
null
null
project-2/CS248/examples/event.cpp
JRBarreraM/CI4321_COMPUTACION_GRAFICA_I
8d5aaa536fdfe0e2e678bc9b7abb613e33057b07
[ "MIT" ]
null
null
null
#include <string> #include <iostream> #include "CS248/viewer.h" #include "CS248/renderer.h" using namespace std; using namespace CS248; class EventDisply : public Renderer { public: ~EventDisply() { } string name() { return "Event handling example"; } string info() { return "Event handling exampl...
16.496124
83
0.578477
JRBarreraM
079af748c512aa6b318e54268f5cdba8e013efdb
102
hpp
C++
addons/heavylifter/XEH_PREP.hpp
Task-Force-Dagger/Dagger
56b9ffe3387f74830419a987eed5a0f386674331
[ "MIT" ]
null
null
null
addons/heavylifter/XEH_PREP.hpp
Task-Force-Dagger/Dagger
56b9ffe3387f74830419a987eed5a0f386674331
[ "MIT" ]
7
2021-11-22T04:36:52.000Z
2021-12-13T18:55:24.000Z
addons/heavylifter/XEH_PREP.hpp
Task-Force-Dagger/Dagger
56b9ffe3387f74830419a987eed5a0f386674331
[ "MIT" ]
null
null
null
PREP(canAttach); PREP(canDetach); PREP(exportConfig); PREP(prepare); PREP(progress); PREP(unprepare);
14.571429
19
0.764706
Task-Force-Dagger
079c1060a8c9edb1b2ba14700cf3e23a2922ffda
2,138
cpp
C++
Native/Live2DCubismFrameworkJNI/extend_cpp/JavaPal.cpp
leekcake/Live2D-for-JVM
686931131b43a1a1c0a6ca6cf01839b28876af2f
[ "MIT" ]
10
2018-03-01T14:57:19.000Z
2021-11-28T06:30:44.000Z
Native/Live2DCubismFrameworkJNI/extend_cpp/JavaPal.cpp
leekcake/Live2D-for-JVM
686931131b43a1a1c0a6ca6cf01839b28876af2f
[ "MIT" ]
2
2018-10-26T15:15:29.000Z
2018-11-04T09:58:34.000Z
Native/Live2DCubismFrameworkJNI/extend_cpp/JavaPal.cpp
leekcake/Live2D-for-JVM
686931131b43a1a1c0a6ca6cf01839b28876af2f
[ "MIT" ]
null
null
null
/* * Copyright(c) Live2D Inc. All rights reserved. * * Use of this source code is governed by the Live2D Open Software license * that can be found at http://live2d.com/eula/live2d-open-software-license-agreement_en.html. */ #include "JavaPal.hpp" #include <stdio.h> #include <stdlib.h> #include <stdarg.h> #include <...
22.270833
93
0.745089
leekcake
07a1f9580011afe3cacfe8ce786c2710771af852
569
cpp
C++
Volume126/12673 - Football/12673.cpp
rstancioiu/uva-online-judge
31c536d764462d389b48b4299b9731534824c9f5
[ "MIT" ]
1
2017-01-25T18:07:49.000Z
2017-01-25T18:07:49.000Z
Volume126/12673 - Football/12673.cpp
rstancioiu/uva-online-judge
31c536d764462d389b48b4299b9731534824c9f5
[ "MIT" ]
null
null
null
Volume126/12673 - Football/12673.cpp
rstancioiu/uva-online-judge
31c536d764462d389b48b4299b9731534824c9f5
[ "MIT" ]
null
null
null
// Author: Stancioiu Nicu Razvan // Problem: http://uva.onlinejudge.org/external/126/12673.html #include <bits/stdc++.h> #define N 100010 using namespace std; int n,g,s,r; int dif[N]; int main() { ios_base::sync_with_stdio(0); cin.tie(0); while(cin>>n>>g) { for(int i=0;i<n;++i) { cin>>s>>r; dif[i]=s-r; ...
13.547619
62
0.528998
rstancioiu
07a400ed2d86ebf50b74d52f1df9936fdaa6f027
7,809
cc
C++
rl_agent/src/Agent/Sarsa.cc
utexas-rl-texplore/rl_suite
73b5c3cdeaa2397cef6758dad8275193e7b0019a
[ "BSD-3-Clause" ]
1
2015-07-23T21:14:56.000Z
2015-07-23T21:14:56.000Z
rl_agent/src/Agent/Sarsa.cc
utexas-rl-texplore/rl_suite
73b5c3cdeaa2397cef6758dad8275193e7b0019a
[ "BSD-3-Clause" ]
null
null
null
rl_agent/src/Agent/Sarsa.cc
utexas-rl-texplore/rl_suite
73b5c3cdeaa2397cef6758dad8275193e7b0019a
[ "BSD-3-Clause" ]
1
2018-03-01T05:54:44.000Z
2018-03-01T05:54:44.000Z
#include <rl_agent/Sarsa.hh> #include <algorithm> Sarsa::Sarsa(int numactions, float gamma, float initialvalue, float alpha, float ep, float lambda, Random rng): numactions(numactions), gamma(gamma), initialvalue(initialvalue), alpha(alpha), epsilon(ep), lambda(lambda), rng(rng) { ...
25.271845
144
0.548214
utexas-rl-texplore
07a67fd2461a8d8e01d2b350f64f3c0edfe0e718
8,240
cpp
C++
WGLTest/main.cpp
yorung/WGLGrabber
8887cfc95d2f2040205a084473b96f53f46cf591
[ "MIT" ]
null
null
null
WGLTest/main.cpp
yorung/WGLGrabber
8887cfc95d2f2040205a084473b96f53f46cf591
[ "MIT" ]
null
null
null
WGLTest/main.cpp
yorung/WGLGrabber
8887cfc95d2f2040205a084473b96f53f46cf591
[ "MIT" ]
null
null
null
// WGLTest.cpp : Defines the entry point for the application. // #include "stdafx.h" #include "resource.h" #pragma comment(lib, "opengl32.lib") HGLRC hglrc; static void err(char *msg) { puts(msg); } #ifdef _DEBUG static void DumpInfo() { puts((char*)glGetString(GL_VERSION)); puts((char*)glGetString(GL_RENDERER)...
22.391304
158
0.706917
yorung
07a8b224b892810672128d8e7fba9fe9c84613f7
3,661
cpp
C++
searchcore/src/vespa/searchcore/proton/matching/match_loop_communicator.cpp
amahussein/vespa
29d266ae1e5c95e25002b97822953fdd02b1451e
[ "Apache-2.0" ]
1
2018-12-30T05:42:18.000Z
2018-12-30T05:42:18.000Z
searchcore/src/vespa/searchcore/proton/matching/match_loop_communicator.cpp
amahussein/vespa
29d266ae1e5c95e25002b97822953fdd02b1451e
[ "Apache-2.0" ]
1
2021-03-31T22:24:20.000Z
2021-03-31T22:24:20.000Z
searchcore/src/vespa/searchcore/proton/matching/match_loop_communicator.cpp
amahussein/vespa
29d266ae1e5c95e25002b97822953fdd02b1451e
[ "Apache-2.0" ]
1
2020-02-01T07:21:28.000Z
2020-02-01T07:21:28.000Z
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "match_loop_communicator.h" #include <vespa/vespalib/util/priority_queue.h> namespace proton:: matching { MatchLoopCommunicator::MatchLoopCommunicator(size_t threads, size_t topN) : Mat...
32.114035
144
0.593007
amahussein
07ac87d095f48234a6849915afbc8c7e4e8c70db
1,836
cpp
C++
alignment/algorithms/alignment/ExtendAlign.cpp
ggraham/blasr_libcpp
4abef36585bbb677ebc4acb9d4e44e82331d59f7
[ "RSA-MD" ]
4
2015-07-03T11:59:54.000Z
2018-05-17T00:03:22.000Z
alignment/algorithms/alignment/ExtendAlign.cpp
ggraham/blasr_libcpp
4abef36585bbb677ebc4acb9d4e44e82331d59f7
[ "RSA-MD" ]
79
2015-06-29T18:07:21.000Z
2018-09-19T13:38:39.000Z
alignment/algorithms/alignment/ExtendAlign.cpp
ggraham/blasr_libcpp
4abef36585bbb677ebc4acb9d4e44e82331d59f7
[ "RSA-MD" ]
19
2015-06-23T08:43:29.000Z
2021-04-28T18:37:47.000Z
#include <alignment/algorithms/alignment/ExtendAlign.hpp> RCToIndex::RCToIndex() { qStart = 0; tStart = 0; band = middleCol = nCols = 0; } int RCToIndex::operator()(int r, int c, int &index) { // // First do some error checking on the row and column to see if it // is within the band. // ...
23.240506
97
0.622549
ggraham
07adb5ba8538638fde63be64640602a8c94246bc
685
cpp
C++
Codes/CodeForces/A/938A.cpp
fahimfarhan/legendary-coding-odyssey
55289e05aa04f866201c607bed00c505cd9c4df9
[ "MIT" ]
3
2019-07-20T07:26:31.000Z
2020-08-06T09:31:09.000Z
Codes/CodeForces/A/938A.cpp
fahimfarhan/legendary-coding-odyssey
55289e05aa04f866201c607bed00c505cd9c4df9
[ "MIT" ]
null
null
null
Codes/CodeForces/A/938A.cpp
fahimfarhan/legendary-coding-odyssey
55289e05aa04f866201c607bed00c505cd9c4df9
[ "MIT" ]
4
2019-06-20T18:43:32.000Z
2020-10-07T16:45:23.000Z
#include <bits/stdc++.h> using namespace std; class A938{ private: int n; int pos; string s; public: bool isVowel(char c){ return (c=='a' || c=='e' || c=='i' || c=='o' || c=='u' || c=='y'); } void escape(){ int j=pos+1; while(isVowel(s[j])){ j++; } ...
14.891304
74
0.351825
fahimfarhan
07b0343ec381a5f865f7373ac985c3dd1909dbbe
1,258
hpp
C++
contrib/autoboost/autoboost/asio/detail/cstdint.hpp
CaseyCarter/autowiring
48e95a71308318c8ffb7ed1348e034fd9110f70c
[ "Apache-2.0" ]
87
2015-01-18T00:43:06.000Z
2022-02-11T17:40:50.000Z
contrib/autoboost/autoboost/asio/detail/cstdint.hpp
CaseyCarter/autowiring
48e95a71308318c8ffb7ed1348e034fd9110f70c
[ "Apache-2.0" ]
274
2015-01-03T04:50:49.000Z
2021-03-08T09:01:09.000Z
contrib/autoboost/autoboost/asio/detail/cstdint.hpp
CaseyCarter/autowiring
48e95a71308318c8ffb7ed1348e034fd9110f70c
[ "Apache-2.0" ]
15
2015-09-30T20:58:43.000Z
2020-12-19T21:24:56.000Z
// // detail/cstdint.hpp // ~~~~~~~~~~~~~~~~~~ // // Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // 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 AUTOBOOST_ASIO_DETAIL_C...
25.673469
79
0.762321
CaseyCarter
07b0d35926409ab1270cf5db627937bb6d690ab4
2,991
cpp
C++
src/pd/fireball.cpp
mtribiere/Pixel-dungeon-CPP
ed930aaeefd1f08eed73ced928acae6e1fe34fa4
[ "MIT" ]
null
null
null
src/pd/fireball.cpp
mtribiere/Pixel-dungeon-CPP
ed930aaeefd1f08eed73ced928acae6e1fe34fa4
[ "MIT" ]
null
null
null
src/pd/fireball.cpp
mtribiere/Pixel-dungeon-CPP
ed930aaeefd1f08eed73ced928acae6e1fe34fa4
[ "MIT" ]
null
null
null
#include "../engine/stdafx.h" #include "fireball.h" #include "../pd/define.h" #include "../engine/util.h" #include "../engine/game.h" #include "../engine/pixelparticle.h" float Flame::LIFESPAN = 1.0f; float Flame::SPEED = -40.0f; float Flame::ACC = -20.0f; Flame::Flame() { init(); tag = "Flame"; } ...
22.488722
90
0.598462
mtribiere
07b1511a2e57346c6ea7ccea6c9cefb6cda5eb0b
2,880
hpp
C++
include/dtc/utility/lexical_cast.hpp
tsung-wei-huang/DtCraft
80cc9e1195adc0026107814243401a1fc47b5be2
[ "MIT" ]
69
2019-03-16T20:13:26.000Z
2022-03-24T14:12:19.000Z
include/dtc/utility/lexical_cast.hpp
Tsung-Wei/DtCraft
80cc9e1195adc0026107814243401a1fc47b5be2
[ "MIT" ]
12
2017-12-02T05:38:30.000Z
2019-02-08T11:16:12.000Z
include/dtc/utility/lexical_cast.hpp
Tsung-Wei/DtCraft
80cc9e1195adc0026107814243401a1fc47b5be2
[ "MIT" ]
12
2019-04-13T16:27:29.000Z
2022-01-07T14:42:46.000Z
/****************************************************************************** * * * Copyright (c) 2018, Tsung-Wei Huang and Martin D. F. Wong, * * University of Illinois at Urbana-Champaign (UIUC), IL, USA. * ...
26.666667
99
0.514236
tsung-wei-huang
07b1accc2b5f84a11e6493c4eb3ba02e445b28f1
379
cpp
C++
problem solving/electronics-shop.cpp
blog-a1/hackeRRank
72923ee08c8759bd5a10ba6c390b6755fe2bd2e2
[ "MIT" ]
1
2021-01-13T11:52:27.000Z
2021-01-13T11:52:27.000Z
problem solving/electronics-shop.cpp
blog-a1/hackeRRank
72923ee08c8759bd5a10ba6c390b6755fe2bd2e2
[ "MIT" ]
null
null
null
problem solving/electronics-shop.cpp
blog-a1/hackeRRank
72923ee08c8759bd5a10ba6c390b6755fe2bd2e2
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; int main() { int b,n,m,c=-1;cin>>b>>n>>m;int a[n],d[m]; for(int i=0;i<n;i++) cin>>a[i]; for(int i=0;i<m;i++) cin>>d[i]; for(int i=0;i<n;i++) for(int j=0;j<m;j++) if((a[i]+d[j])<=b&&(a[i]+d[j])>c) c=a[i]+d...
27.071429
47
0.387863
blog-a1
07bb133c50e133d17bddf58d15a7b25f9eb6fb7a
6,886
hpp
C++
library/include/slonczewski2.hpp
xfong/sycl
405397e7bd030d104c5c88f403a617b6e8c3429a
[ "MIT" ]
1
2021-06-15T02:42:29.000Z
2021-06-15T02:42:29.000Z
library/include/slonczewski2.hpp
xfong/sycl
405397e7bd030d104c5c88f403a617b6e8c3429a
[ "MIT" ]
null
null
null
library/include/slonczewski2.hpp
xfong/sycl
405397e7bd030d104c5c88f403a617b6e8c3429a
[ "MIT" ]
null
null
null
#ifndef RUNTIME_INCLUDE_SYCL_SYCL_HPP_ #define RUNTIME_INCLUDE_SYCL_SYCL_HPP_ #include <CL/sycl.hpp> namespace sycl = cl::sycl; #endif // RUNTIME_INCLUDE_SYCL_SYCL_HPP_ #include "amul.hpp" #include "constants.hpp" // Original implementation by Mykola Dvornik for mumax2 // Modified for mumax3 by Arne Vansteenkiste, 2...
38.685393
108
0.60456
xfong
07bbf1c6d87564eb8960c83dc03bb998058464cb
5,305
hpp
C++
src/planning/recordreplay_planner_node/include/recordreplay_planner_node/recordreplay_planner_node.hpp
jiangtaojiang/AutowareAuto
579bd5cec65859779d215c28c468b06de809749b
[ "Apache-2.0" ]
4
2020-12-04T00:38:42.000Z
2022-02-24T05:48:58.000Z
src/planning/recordreplay_planner_node/include/recordreplay_planner_node/recordreplay_planner_node.hpp
jiangtaojiang/AutowareAuto
579bd5cec65859779d215c28c468b06de809749b
[ "Apache-2.0" ]
null
null
null
src/planning/recordreplay_planner_node/include/recordreplay_planner_node/recordreplay_planner_node.hpp
jiangtaojiang/AutowareAuto
579bd5cec65859779d215c28c468b06de809749b
[ "Apache-2.0" ]
1
2020-12-04T00:38:56.000Z
2020-12-04T00:38:56.000Z
// Copyright 2020 Embotech AG, Zurich, Switzerland, inspired by Christopher Ho's mpc code // // 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-...
43.483607
96
0.816777
jiangtaojiang
07be85a0d07b42bcce7185e3727e05f66421b709
5,501
cpp
C++
test/json_parser_tests.cpp
Malibushko/yatgbotlib
a5109c36c9387aef0e6d15e303d2f3753eef9aac
[ "MIT" ]
3
2020-04-05T23:51:09.000Z
2020-08-14T07:24:45.000Z
test/json_parser_tests.cpp
Malibushko/yatgbotlib
a5109c36c9387aef0e6d15e303d2f3753eef9aac
[ "MIT" ]
1
2020-07-24T19:46:28.000Z
2020-07-31T14:49:28.000Z
test/json_parser_tests.cpp
Malibushko/yatgbotlib
a5109c36c9387aef0e6d15e303d2f3753eef9aac
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include <memory> #include "telegram_bot.h" using namespace telegram; struct Small { declare_struct declare_field(bool,test); }; TEST(JsonParser,to_json_small_structure) { std::string json = JsonParser::i().toJson(Small{false}); std::string expected_json = "{\"test\":false}"; ...
30.561111
130
0.52954
Malibushko
07bf4da729fee2acecdbde117105c397b5a6f1e3
108
cc
C++
15/17/17.cc
williamgherman/cpp-solutions
cf947b3b8f49fa3071fbee96f522a4228e4207b8
[ "BSD-Source-Code" ]
5
2019-08-01T07:52:27.000Z
2022-03-27T08:09:35.000Z
15/17/17.cc
williamgherman/cpp-solutions
cf947b3b8f49fa3071fbee96f522a4228e4207b8
[ "BSD-Source-Code" ]
1
2020-10-03T17:29:59.000Z
2020-11-17T10:03:10.000Z
15/17/17.cc
williamgherman/cpp-solutions
cf947b3b8f49fa3071fbee96f522a4228e4207b8
[ "BSD-Source-Code" ]
6
2019-08-24T08:55:56.000Z
2022-02-09T08:41:44.000Z
#include <iostream> #include "quote.h" int main() { Disc_quote *dq = new Disc_quote(); return 0; }
12
38
0.62037
williamgherman
07bfa487955b94af69270d30843ef63cdab3b98c
565
hpp
C++
include/render_objects/materials.hpp
Adanos020/ErupTrace
2d359c4d53e758299e8b2d476d945fe2dd2f1c2d
[ "MIT" ]
null
null
null
include/render_objects/materials.hpp
Adanos020/ErupTrace
2d359c4d53e758299e8b2d476d945fe2dd2f1c2d
[ "MIT" ]
null
null
null
include/render_objects/materials.hpp
Adanos020/ErupTrace
2d359c4d53e758299e8b2d476d945fe2dd2f1c2d
[ "MIT" ]
null
null
null
#pragma once #include <render_objects/textures.hpp> #include <util/numeric.hpp> enum class material_type { none, dielectric, diffuse, emit_light, reflect, }; struct material { material_type type; array_index index; invalidable_array_index normals_index = -1; }; struct dielectric_mate...
13.139535
47
0.699115
Adanos020
07bfa6f58fb68fda020022bc25a05be5ec795fdd
3,232
cpp
C++
src/plugins/snails/certificateverifier.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
120
2015-01-22T14:10:39.000Z
2021-11-25T12:57:16.000Z
src/plugins/snails/certificateverifier.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
8
2015-02-07T19:38:19.000Z
2017-11-30T20:18:28.000Z
src/plugins/snails/certificateverifier.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
33
2015-02-07T16:59:55.000Z
2021-10-12T00:36:40.000Z
/********************************************************************** * LeechCraft - modular cross-platform feature rich internet client. * Copyright (C) 2006-2014 Georg Rudoy * * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE...
33.666667
107
0.70854
Maledictus
07c26fcc5a14e25d18906596c898060bb1409009
171
cpp
C++
UVa 12502 three families/sample/12502 - Three Families.cpp
tadvi/uva
0ac0cbdf593879b4fb02a3efc09adbb031cb47d5
[ "MIT" ]
1
2020-11-24T03:17:21.000Z
2020-11-24T03:17:21.000Z
UVa 12502 three families/sample/12502 - Three Families.cpp
tadvi/uva
0ac0cbdf593879b4fb02a3efc09adbb031cb47d5
[ "MIT" ]
null
null
null
UVa 12502 three families/sample/12502 - Three Families.cpp
tadvi/uva
0ac0cbdf593879b4fb02a3efc09adbb031cb47d5
[ "MIT" ]
1
2021-04-11T16:22:31.000Z
2021-04-11T16:22:31.000Z
#include <stdio.h> int main() { int x, y, z; scanf("%*d"); while(scanf("%d %d %d", &x ,&y, &z) == 3) printf("%d\n", z*(2*x-y)/(x+y)); return 0; }
17.1
45
0.409357
tadvi
07c332a9ae226d86b1e4bd084ebfb7c05934abd2
3,769
hpp
C++
core/unit_test/TestCompilerMacros.hpp
Char-Aznable/kokkos
2983b80d9aeafabb81f2c8c1c5a49b40cc0856cb
[ "BSD-3-Clause" ]
2
2019-12-18T20:37:06.000Z
2020-04-07T00:44:39.000Z
core/unit_test/TestCompilerMacros.hpp
Char-Aznable/kokkos
2983b80d9aeafabb81f2c8c1c5a49b40cc0856cb
[ "BSD-3-Clause" ]
1
2019-09-25T15:41:23.000Z
2019-09-25T15:41:23.000Z
core/unit_test/TestCompilerMacros.hpp
Char-Aznable/kokkos
2983b80d9aeafabb81f2c8c1c5a49b40cc0856cb
[ "BSD-3-Clause" ]
2
2020-04-01T19:16:16.000Z
2022-02-09T21:45:19.000Z
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2014) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
31.940678
80
0.69541
Char-Aznable
07c5e6f0c6141c6e72a76afe7a9dfdac39b9ca46
545
cpp
C++
PrimerTest/PrimerTest/ch10/ex10_17.cpp
silence0201/C-Plus-Study
ad013f093f275620dee892033e5152083b10f2fc
[ "MIT" ]
3,366
2015-03-27T10:10:24.000Z
2022-03-31T15:46:34.000Z
PrimerTest/PrimerTest/ch10/ex10_17.cpp
silence0201/C-Plus-Study
ad013f093f275620dee892033e5152083b10f2fc
[ "MIT" ]
129
2015-03-26T15:12:27.000Z
2021-12-07T10:11:13.000Z
PrimerTest/PrimerTest/ch10/ex10_17.cpp
silence0201/C-Plus-Study
ad013f093f275620dee892033e5152083b10f2fc
[ "MIT" ]
1,809
2015-03-26T08:36:59.000Z
2022-03-30T02:17:28.000Z
#include <algorithm> #include <vector> #include "../ch07/ex7_26_sales_data.h" // Sales_data class. int main() { Sales_data d1("CppPrimer"), d2("JavaCore"), d3("PythonCookBook"), d4("CppCore"), d5("AwesomeCPP"); std::vector<Sales_data> v{d1, d2, d3, d4, d5}; std::sort(v.begin(), v.end(), ...
27.25
69
0.555963
silence0201
07c6a96e130b4171ef33a8255e3f88f896ff44d7
5,334
cpp
C++
libi2pd/Gzip.cpp
ChristopherBilg/i2pd
b7e20b9b86165a0eb2ba5bcf9a580f3824a38462
[ "BSD-3-Clause" ]
2,019
2015-01-24T03:24:58.000Z
2022-03-31T03:38:00.000Z
libi2pd/Gzip.cpp
ChristopherBilg/i2pd
b7e20b9b86165a0eb2ba5bcf9a580f3824a38462
[ "BSD-3-Clause" ]
1,093
2015-01-30T10:43:04.000Z
2022-03-31T15:51:40.000Z
libi2pd/Gzip.cpp
ChristopherBilg/i2pd
b7e20b9b86165a0eb2ba5bcf9a580f3824a38462
[ "BSD-3-Clause" ]
457
2015-02-02T05:20:25.000Z
2022-03-27T09:41:08.000Z
/* * Copyright (c) 2013-2020, The PurpleI2P Project * * This file is part of Purple i2pd project and licensed under BSD3 * * See full license text in LICENSE file at top of project tree */ #include <inttypes.h> #include <string.h> /* memset */ #include <iostream> #include "Log.h" #include "I2PEndian.h" #include "Gzip....
26.405941
122
0.652981
ChristopherBilg
07c6da4c0d86010f51fdce92114fe99aaffbe8c5
7,727
cpp
C++
rfm69.cpp
wintersteiger/wlmcd
7bdc184b875a0be652a0dd346fd9a598c14181d8
[ "MIT" ]
4
2021-01-11T13:50:25.000Z
2021-01-24T19:34:47.000Z
rfm69.cpp
wintersteiger/wlmcd
7bdc184b875a0be652a0dd346fd9a598c14181d8
[ "MIT" ]
1
2021-02-12T15:49:18.000Z
2021-02-12T16:50:55.000Z
rfm69.cpp
wintersteiger/wlmcd
7bdc184b875a0be652a0dd346fd9a598c14181d8
[ "MIT" ]
2
2021-01-11T13:53:18.000Z
2021-03-01T10:22:46.000Z
// Copyright (c) Christoph M. Wintersteiger // Licensed under the MIT License. #include <cstring> #include <cmath> #include <unistd.h> #include <vector> #include <fstream> #include <iomanip> #include <gpiod.h> #include "json.hpp" #include "sleep.h" #include "rfm69.h" #include "rfm69_rt.h" using json = nlohmann::js...
23.134731
84
0.599974
wintersteiger
07c6df38e78c2ba8e1c5f41cee29d99d1074be13
668
cpp
C++
tests/game_of_life.cpp
omrisim210/cellular-
e2e02a6577c6ffa015a2873817c5761e5e6835a5
[ "MIT" ]
1
2020-06-29T19:04:06.000Z
2020-06-29T19:04:06.000Z
tests/game_of_life.cpp
omrisim210/cellularpp
e2e02a6577c6ffa015a2873817c5761e5e6835a5
[ "MIT" ]
null
null
null
tests/game_of_life.cpp
omrisim210/cellularpp
e2e02a6577c6ffa015a2873817c5761e5e6835a5
[ "MIT" ]
null
null
null
#include "game_of_life.hpp" #define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN #include <iostream> #include "doctest.h" using namespace gol; GameOfLife automaton("./spinner.txt"); TEST_CASE("generation 0") { // for (auto i = 0; i < automaton.width(); ++i) { // for (auto j = 0; j < automaton.height(); ++j) { // INFO(...
23.034483
53
0.615269
omrisim210
07c7f5d56e10be6c309887917a06cc6db95c4ab0
907
cpp
C++
code/quick sort/quick-sort.cpp
logancrocker/interview-toolkit
e33e4ba0c76f0bcbd831d2955095ad3325569388
[ "MIT" ]
null
null
null
code/quick sort/quick-sort.cpp
logancrocker/interview-toolkit
e33e4ba0c76f0bcbd831d2955095ad3325569388
[ "MIT" ]
null
null
null
code/quick sort/quick-sort.cpp
logancrocker/interview-toolkit
e33e4ba0c76f0bcbd831d2955095ad3325569388
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; void swap(int* a, int* b) { int t = *a; *a = *b; *b = t; } int partition(int arr[], int left, int right) { int pivot = arr[right]; int i = left - 1; for (int j = left; j <= right - 1; ++j) { if (arr[j] <= pivot) { i++; ...
19.297872
54
0.486218
logancrocker
07c99a785148601546e0293a660ecc7c2ad4b8e5
4,419
cpp
C++
OpenMeshCmd/src/OpenMeshCmd.cpp
tody411/MayaPluginSamples
785f1b1425e202f42d77622290c3faf80d7bd06f
[ "MIT" ]
2
2016-06-16T14:48:42.000Z
2018-06-28T20:12:09.000Z
OpenMeshCmd/src/OpenMeshCmd.cpp
tody411/MayaPluginSamples
785f1b1425e202f42d77622290c3faf80d7bd06f
[ "MIT" ]
null
null
null
OpenMeshCmd/src/OpenMeshCmd.cpp
tody411/MayaPluginSamples
785f1b1425e202f42d77622290c3faf80d7bd06f
[ "MIT" ]
null
null
null
//! Simple OpenMesh command plug-in. /*! \file OpenMeshCmd.cpp \author Tody \date 2015/08/05 Usage: MEL: OpenMeshCmd ; Python: cmds.OpenMeshCmd(); */ #define _USE_MATH_DEFINES #include <OpenMesh/Core/Mesh/PolyMesh_ArrayKernelT.hh> typedef OpenMesh::PolyMesh_ArrayKernelT<> MeshTyp...
28.509677
91
0.62186
tody411
07caf422ce8171d0f42f20409396239b0dd3e0a1
353
cpp
C++
src/sprite/SpriteBatch.cpp
deianvn/kit2d
a8fd6d75cf1f8d14baabaa04903ab3fdee3b4ef5
[ "Apache-2.0" ]
null
null
null
src/sprite/SpriteBatch.cpp
deianvn/kit2d
a8fd6d75cf1f8d14baabaa04903ab3fdee3b4ef5
[ "Apache-2.0" ]
null
null
null
src/sprite/SpriteBatch.cpp
deianvn/kit2d
a8fd6d75cf1f8d14baabaa04903ab3fdee3b4ef5
[ "Apache-2.0" ]
null
null
null
#include "../../include/kit2d/sprite/SpriteBatch.hpp" #include "../../include/kit2d/core/Renderer.hpp" namespace kit2d { void SpriteBatch::add(Sprite& sprite) { sprites.push_back(&sprite); } void SpriteBatch::process(Renderer& renderer) { for (auto sprite : sprites) { sprite->draw(renderer); ...
19.611111
53
0.651558
deianvn
07ceced65e6b956fe2e59db1d341d5f56ffaf56c
88,134
cpp
C++
floatnuc.cpp
rainoverme002/FloatNuc
ee0206f3f54cbc2a93ac88fc27116a10375db701
[ "MIT" ]
1
2021-03-29T03:59:18.000Z
2021-03-29T03:59:18.000Z
floatnuc.cpp
rainoverme002/FloatNuc
ee0206f3f54cbc2a93ac88fc27116a10375db701
[ "MIT" ]
null
null
null
floatnuc.cpp
rainoverme002/FloatNuc
ee0206f3f54cbc2a93ac88fc27116a10375db701
[ "MIT" ]
null
null
null
#include "floatnuc.h" #include "ui_floatnuc.h" #include "fixeditem.h" #include "movingitem.h" #include "corebackground.h" #include "qcustomplot.h" #include "videoplayer.h" #include <QApplication> #include <QTimer> #include <QtCore> #include <QtGui> #include <valarray> #include <chrono> #include <thread> #include <cmath...
37.841992
167
0.549833
rainoverme002
07d4775dcd775f15558c912809dde9cfa138fac7
6,791
cpp
C++
source/solution_zoo/common/xproto_plugins/iotvioplugin/src/iotviomanager/camera/camera_ov10635.cpp
HorizonRobotics-Platform/AI-EXPRESS
413206d88dae1fbd465ced4d60b2a1769d15c171
[ "BSD-2-Clause" ]
98
2020-09-11T13:52:44.000Z
2022-03-23T11:52:02.000Z
source/solution_zoo/common/xproto_plugins/iotvioplugin/src/iotviomanager/camera/camera_ov10635.cpp
HorizonRobotics-Platform/ai-express
413206d88dae1fbd465ced4d60b2a1769d15c171
[ "BSD-2-Clause" ]
8
2020-10-19T14:23:30.000Z
2022-03-16T01:00:07.000Z
source/solution_zoo/common/xproto_plugins/iotvioplugin/src/iotviomanager/camera/camera_ov10635.cpp
HorizonRobotics-Platform/AI-EXPRESS
413206d88dae1fbd465ced4d60b2a1769d15c171
[ "BSD-2-Clause" ]
28
2020-09-17T14:20:35.000Z
2022-01-10T16:26:00.000Z
/*************************************************************************** * COPYRIGHT NOTICE * Copyright 2020 Horizon Robotics, Inc. * All rights reserved. ***************************************************************************/ #include "iotviomanager/vinparams.h" namespace horizon { namespace vision { nam...
19.973529
77
0.537329
HorizonRobotics-Platform
07d64c4840b6f9c8bcb8847a08cea837bb9460a7
1,420
cpp
C++
cpp/multiply_string.cpp
caleberi/LeetCode
fa170244648f73e76d316a6d7fc0e813adccaa82
[ "MIT" ]
1
2021-08-10T20:00:24.000Z
2021-08-10T20:00:24.000Z
cpp/multiply_string.cpp
caleberi/LeetCode
fa170244648f73e76d316a6d7fc0e813adccaa82
[ "MIT" ]
null
null
null
cpp/multiply_string.cpp
caleberi/LeetCode
fa170244648f73e76d316a6d7fc0e813adccaa82
[ "MIT" ]
3
2021-06-11T11:56:39.000Z
2021-08-10T08:50:49.000Z
#include <string> #include <iostream> #include <vector> #include <algorithm> using namespace std; class Solution { public: /** * @brief function to mutliply two numbers. * this is not an optimal solution as it can't be stored due to * memory size * @param num1 string to be multiplied ...
25.357143
68
0.457746
caleberi
07d6a85081e2f35a2f51806f61a606750c1a47a3
5,906
cc
C++
apps/grid.cc
CS126SP20/Game-of-Life
a626f94ccd5ab1f93cefa2c37fc4868fbc0ba6bd
[ "MIT" ]
null
null
null
apps/grid.cc
CS126SP20/Game-of-Life
a626f94ccd5ab1f93cefa2c37fc4868fbc0ba6bd
[ "MIT" ]
null
null
null
apps/grid.cc
CS126SP20/Game-of-Life
a626f94ccd5ab1f93cefa2c37fc4868fbc0ba6bd
[ "MIT" ]
null
null
null
// Copyright (c) 2020 [Swathi Ram]. All rights reserved. #include "../include/mylibrary/grid.h" namespace mylibrary { /* * Overridden function that does not take in a parameter if the grid has * stabilized. Used if the user has chosen to pause the automaton or if it * is the first call to the calculation of the c...
35.365269
80
0.655943
CS126SP20
07d784af7e9a54228587adeedc00ebc09ff5c2f6
13,206
cpp
C++
transport/RecordingTransport.cpp
marcusspangenberg/SymphonyMediaBridge
b46eb38ec5585e1280720a20170ef505fdd2a4c9
[ "Apache-2.0" ]
13
2021-11-24T09:55:32.000Z
2022-03-25T12:29:50.000Z
transport/RecordingTransport.cpp
marcusspangenberg/SymphonyMediaBridge
b46eb38ec5585e1280720a20170ef505fdd2a4c9
[ "Apache-2.0" ]
10
2021-11-23T15:21:41.000Z
2022-03-28T08:37:59.000Z
transport/RecordingTransport.cpp
marcusspangenberg/SymphonyMediaBridge
b46eb38ec5585e1280720a20170ef505fdd2a4c9
[ "Apache-2.0" ]
4
2021-11-23T14:58:44.000Z
2022-03-13T12:11:00.000Z
#include "transport/RecordingTransport.h" #include "codec/Opus.h" #include "codec/Vp8.h" #include "config/Config.h" #include "rtp/RtcpHeader.h" #include "rtp/RtpHeader.h" #include "transport/DataReceiver.h" #include "transport/RtpSenderState.h" #include "transport/recp/RecControlHeader.h" #include "transport/recp/RecSt...
32.367647
119
0.666061
marcusspangenberg
07d9bcaf73944e3fb39ad3e8ff64dbd5a386d785
258
cpp
C++
Core/Event/Event.cpp
digital7-code/gaps_engine
43e2ed7c8cc43800c8815d68ab22963a773f0c5f
[ "Apache-2.0" ]
null
null
null
Core/Event/Event.cpp
digital7-code/gaps_engine
43e2ed7c8cc43800c8815d68ab22963a773f0c5f
[ "Apache-2.0" ]
null
null
null
Core/Event/Event.cpp
digital7-code/gaps_engine
43e2ed7c8cc43800c8815d68ab22963a773f0c5f
[ "Apache-2.0" ]
1
2021-10-16T14:11:00.000Z
2021-10-16T14:11:00.000Z
#include <gapspch.hpp> #include <Core/Event/Event.hpp> namespace gaps { EventId Event::GetId() const noexcept { return id; } Event::Event(const EventId id) noexcept : id{ id } { } void Event::OnCreate() { } void Event::OnRelease() { } }
10.75
40
0.631783
digital7-code
07da80fff5916e196089971a4998c90c9cc20b37
532
cpp
C++
src/systems/sources/type.cpp
hexoctal/zenith
eeef065ed62f35723da87c8e73a6716e50d34060
[ "MIT" ]
2
2021-03-18T16:25:04.000Z
2021-11-13T00:29:27.000Z
src/systems/sources/type.cpp
hexoctal/zenith
eeef065ed62f35723da87c8e73a6716e50d34060
[ "MIT" ]
null
null
null
src/systems/sources/type.cpp
hexoctal/zenith
eeef065ed62f35723da87c8e73a6716e50d34060
[ "MIT" ]
1
2021-11-13T00:29:30.000Z
2021-11-13T00:29:30.000Z
/** * @file * @author __AUTHOR_NAME__ <mail@host.com> * @copyright 2021 __COMPANY_LTD__ * @license <a href="https://opensource.org/licenses/MIT">MIT License</a> */ #include "../type.hpp" #include "../../components/type.hpp" #include "../../utils/assert.hpp" namespace Zen { extern entt::registry g_registry; s...
21.28
74
0.695489
hexoctal
07dd5260fe7a319e58385b38ffc31bad2d689dbb
29,107
hpp
C++
System.Core/include/Switch/System/Threading/Monitor.hpp
kkptm/CppLikeCSharp
b2d8d9da9973c733205aa945c9ba734de0c734bc
[ "MIT" ]
4
2021-10-14T01:43:00.000Z
2022-03-13T02:16:08.000Z
System.Core/include/Switch/System/Threading/Monitor.hpp
kkptm/CppLikeCSharp
b2d8d9da9973c733205aa945c9ba734de0c734bc
[ "MIT" ]
null
null
null
System.Core/include/Switch/System/Threading/Monitor.hpp
kkptm/CppLikeCSharp
b2d8d9da9973c733205aa945c9ba734de0c734bc
[ "MIT" ]
2
2022-03-13T02:16:06.000Z
2022-03-14T14:32:57.000Z
/// @file /// @brief Contains Switch::System::Threading::Monitor class. #pragma once #include <map> #include "../../RefPtr.hpp" #include "../../Static.hpp" #include "../IntPtr.hpp" #include "../Object.hpp" #include "../Nullable.hpp" #include "../TimeSpan.hpp" #include "AutoResetEvent.hpp" #include "Mutex.hpp" #includ...
113.699219
689
0.738448
kkptm
07e0461230af130de0991a11a9d7b7376ea6827b
9,993
cpp
C++
IETutorials/hydra/instancing/SceneDelegate.cpp
ousttrue/usd_cpp_samples
b35af2d26c0708d8977ce1ba2bb85a1a90bf7dcb
[ "MIT" ]
5
2020-10-06T05:18:53.000Z
2022-03-15T02:18:02.000Z
IETutorials/hydra/instancing/SceneDelegate.cpp
ousttrue/usd_cpp_samples
b35af2d26c0708d8977ce1ba2bb85a1a90bf7dcb
[ "MIT" ]
null
null
null
IETutorials/hydra/instancing/SceneDelegate.cpp
ousttrue/usd_cpp_samples
b35af2d26c0708d8977ce1ba2bb85a1a90bf7dcb
[ "MIT" ]
null
null
null
#include "SceneDelegate.h" #include "pxr/imaging/hd/camera.h" #include "pxr/imaging/cameraUtil/conformWindow.h" #include "pxr/imaging/pxOsd/tokens.h" #include "pxr/imaging/hdx/renderTask.h" #include "pxr/base/gf/range3f.h" #include "pxr/base/gf/frustum.h" #include "pxr/base/vt/array.h" SceneDelegate::SceneDelegate...
28.551429
138
0.681877
ousttrue
07e112450ef89a85c834cdb9210a05ec27e0aa8d
1,727
cpp
C++
src/CSVGFeLighting.cpp
colinw7/CSVG
049419b4114fc6ff7f5b25163398f02c21a64bf6
[ "MIT" ]
5
2015-04-11T14:56:03.000Z
2021-12-14T10:12:36.000Z
src/CSVGFeLighting.cpp
colinw7/CSVG
049419b4114fc6ff7f5b25163398f02c21a64bf6
[ "MIT" ]
3
2015-04-20T19:23:15.000Z
2021-09-03T20:03:30.000Z
src/CSVGFeLighting.cpp
colinw7/CSVG
049419b4114fc6ff7f5b25163398f02c21a64bf6
[ "MIT" ]
3
2015-05-21T08:33:12.000Z
2020-05-13T15:45:11.000Z
#include <CSVGFeLighting.h> #include <CSVGFeDistantLight.h> #include <CSVGFePointLight.h> #include <CSVGFeSpotLight.h> #include <CSVGBuffer.h> #include <CSVGFilter.h> #include <CSVG.h> CSVGFeLighting:: CSVGFeLighting(CSVG &svg) : CSVGFilterBase(svg) { } CSVGFeLighting:: CSVGFeLighting(const CSVGFeLighting &fe) : CS...
24.671429
77
0.723798
colinw7
07e204bb40e36c20f9a8052d0c265e6bee08baf0
719
cc
C++
cartographer/cloud/map_builder_server_interface.cc
laotie/cartographer
b8228ee6564f5a7ad0d6d0b9a30516521cff2ee9
[ "Apache-2.0" ]
5,196
2016-08-04T14:52:31.000Z
2020-04-02T18:30:00.000Z
cartographer/cloud/map_builder_server_interface.cc
laotie/cartographer
b8228ee6564f5a7ad0d6d0b9a30516521cff2ee9
[ "Apache-2.0" ]
1,206
2016-08-03T14:27:00.000Z
2020-03-31T21:14:18.000Z
cartographer/cloud/map_builder_server_interface.cc
laotie/cartographer
b8228ee6564f5a7ad0d6d0b9a30516521cff2ee9
[ "Apache-2.0" ]
1,810
2016-08-03T05:45:02.000Z
2020-04-02T03:44:18.000Z
#include "cartographer/cloud/map_builder_server_interface.h" #include "absl/memory/memory.h" #include "cartographer/cloud/internal/map_builder_server.h" namespace cartographer { namespace cloud { void RegisterMapBuilderServerMetrics(metrics::FamilyFactory* factory) { MapBuilderServer::RegisterMetrics(factory); } ...
32.681818
72
0.76217
laotie
07e298c33ca879800b5608f5928da1363551daeb
11,964
cxx
C++
Packages/java/io/PrintStream.cxx
Brandon-T/Aries
4e8c4f5454e8c7c5cd0611b1b38b5be8186f86ca
[ "MIT" ]
null
null
null
Packages/java/io/PrintStream.cxx
Brandon-T/Aries
4e8c4f5454e8c7c5cd0611b1b38b5be8186f86ca
[ "MIT" ]
null
null
null
Packages/java/io/PrintStream.cxx
Brandon-T/Aries
4e8c4f5454e8c7c5cd0611b1b38b5be8186f86ca
[ "MIT" ]
null
null
null
// // PrintStream.cxx // Aries // // Created by Brandon on 2017-08-26. // Copyright © 2017 Brandon. All rights reserved. // #include "PrintStream.hxx" #include "FilterOutputStream.hxx" #include "File.hxx" #include "OutputStream.hxx" #include "CharSequence.hxx" #include "Object.hxx" #include "String.hxx" #include "...
38.346154
167
0.666499
Brandon-T
07e3a9a55b3f4af4ca2d096594e4c06beca81467
6,729
cpp
C++
HelperFunctions/getVkPhysicalDeviceLineRasterizationFeaturesEXT.cpp
dkaip/jvulkan-natives-Linux-x86_64
ea7932f74e828953c712feea11e0b01751f9dc9b
[ "Apache-2.0" ]
null
null
null
HelperFunctions/getVkPhysicalDeviceLineRasterizationFeaturesEXT.cpp
dkaip/jvulkan-natives-Linux-x86_64
ea7932f74e828953c712feea11e0b01751f9dc9b
[ "Apache-2.0" ]
null
null
null
HelperFunctions/getVkPhysicalDeviceLineRasterizationFeaturesEXT.cpp
dkaip/jvulkan-natives-Linux-x86_64
ea7932f74e828953c712feea11e0b01751f9dc9b
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2020 Douglas Kaip * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
38.895954
140
0.585674
dkaip
07e3b5d7056376be055dad6e9850772b35e89d49
2,468
cpp
C++
Source/Runtime/Foundation/Filesystem/FileSystem.cpp
simeks/Sandbox
394b7ab774b172b6e8bc560eb2740620a8dee399
[ "MIT" ]
null
null
null
Source/Runtime/Foundation/Filesystem/FileSystem.cpp
simeks/Sandbox
394b7ab774b172b6e8bc560eb2740620a8dee399
[ "MIT" ]
null
null
null
Source/Runtime/Foundation/Filesystem/FileSystem.cpp
simeks/Sandbox
394b7ab774b172b6e8bc560eb2740620a8dee399
[ "MIT" ]
null
null
null
// Copyright 2008-2014 Simon Ekström #include "Common.h" #include "FileSystem.h" #include "FileSource.h" #include "File.h" #include "FileUtil.h" namespace sb { //------------------------------------------------------------------------------- FileSystem::FileSystem(const char* base_path) { _base_path = base_pat...
20.566667
98
0.623987
simeks
2e38e61fc47051fc67aa6e8ef6969c2539e90b68
952
cpp
C++
D3D12Backend/APIWrappers/CommandQueue/GraphicQueue.cpp
bestdark/BoolkaEngine
35ae68dedb42baacb19908c0aaa047fe7f71f6b2
[ "MIT" ]
27
2021-02-12T10:13:55.000Z
2022-03-24T14:44:06.000Z
D3D12Backend/APIWrappers/CommandQueue/GraphicQueue.cpp
bestdark/BoolkaEngine
35ae68dedb42baacb19908c0aaa047fe7f71f6b2
[ "MIT" ]
null
null
null
D3D12Backend/APIWrappers/CommandQueue/GraphicQueue.cpp
bestdark/BoolkaEngine
35ae68dedb42baacb19908c0aaa047fe7f71f6b2
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "GraphicQueue.h" #include "APIWrappers/CommandList/GraphicCommandListImpl.h" #include "APIWrappers/Device.h" namespace Boolka { bool GraphicQueue::Initialize(Device& device) { ID3D12CommandQueue* commandQueue = nullptr; D3D12_COMMAND_QUEUE_DESC desc = {}; ...
28.848485
84
0.70063
bestdark
2e3a0e6af8dd2f1a0d28a23c16e871958be75598
4,389
cc
C++
tensorflow/libs/octree_set_property_op.cc
pauldinh/O-CNN
fecefd92b559bdfe94a3983b2b010645167c41a1
[ "MIT" ]
299
2019-05-27T02:18:56.000Z
2022-03-31T15:29:20.000Z
tensorflow/libs/octree_set_property_op.cc
pauldinh/O-CNN
fecefd92b559bdfe94a3983b2b010645167c41a1
[ "MIT" ]
100
2019-05-07T03:17:01.000Z
2022-03-30T09:02:04.000Z
tensorflow/libs/octree_set_property_op.cc
pauldinh/O-CNN
fecefd92b559bdfe94a3983b2b010645167c41a1
[ "MIT" ]
84
2019-05-17T17:44:06.000Z
2022-02-14T04:32:02.000Z
#include <cuda_runtime.h> #include <tensorflow/core/framework/op.h> #include <tensorflow/core/framework/op_kernel.h> #include <tensorflow/core/framework/shape_inference.h> #include "octree_info.h" #include "octree_parser.h" namespace tensorflow { REGISTER_OP("OctreeSetProperty") .Input("octree_in: int8") .In...
38.840708
91
0.678514
pauldinh
2e3a71e3282033c5a3b41c23659a1f6082156d82
1,135
cc
C++
2020/PTA/Contest/1.cc
slowbear/TrainingCode
688872b9dab784a410069b787457f8c0871648aa
[ "CC0-1.0" ]
null
null
null
2020/PTA/Contest/1.cc
slowbear/TrainingCode
688872b9dab784a410069b787457f8c0871648aa
[ "CC0-1.0" ]
null
null
null
2020/PTA/Contest/1.cc
slowbear/TrainingCode
688872b9dab784a410069b787457f8c0871648aa
[ "CC0-1.0" ]
null
null
null
#include <bits/stdc++.h> using namespace std; using LL = long long; using Pii = pair<int, int>; using Pll = pair<LL, LL>; using VI = vector<int>; using VP = vector<pair<int, int>>; #define rep(i, a, b) for (auto i = (a); i < (b); ++i) #define rev(i, a, b) for (auto i = (b - 1); i >= (a); --i) #define grep(i, u) for (au...
22.7
59
0.533921
slowbear
2e3ad3fba23db62f62ab996454a2842427a202fe
5,914
cc
C++
RecoJets/JetAnalyzers/src/CMSDAS11DijetTestAnalyzer.cc
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
1
2018-08-28T16:51:36.000Z
2018-08-28T16:51:36.000Z
RecoJets/JetAnalyzers/src/CMSDAS11DijetTestAnalyzer.cc
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
25
2016-06-24T20:55:32.000Z
2022-02-01T19:24:45.000Z
RecoJets/JetAnalyzers/src/CMSDAS11DijetTestAnalyzer.cc
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
8
2016-03-25T07:17:43.000Z
2021-07-08T17:11:21.000Z
// CMSDAS11DijetTestAnalyzer.cc // Description: A basic dijet analyzer for the CMSDAS 2011 // Author: John Paul Chou // Date: January 12, 2011 #include "RecoJets/JetAnalyzers/interface/CMSDAS11DijetTestAnalyzer.h" #include "FWCore/MessageLogger/interface/MessageLogger.h" #include "FWCore/Framework/interface/MakerMacr...
40.786207
117
0.650998
PKUfudawei
2e3dd45c74178ada77a28f0951aee800499e7b43
1,930
cpp
C++
engine/plugins/files/file_reader_class.cpp
dmpas/e8engine
27390fa096fa721be5f8a868a844fbb20f6ebc9c
[ "MIT" ]
1
2017-11-17T07:28:02.000Z
2017-11-17T07:28:02.000Z
engine/plugins/files/file_reader_class.cpp
dmpas/e8engine
27390fa096fa721be5f8a868a844fbb20f6ebc9c
[ "MIT" ]
null
null
null
engine/plugins/files/file_reader_class.cpp
dmpas/e8engine
27390fa096fa721be5f8a868a844fbb20f6ebc9c
[ "MIT" ]
null
null
null
#include "file_reader_class.hpp" #include <boost/filesystem.hpp> #include "e8core/env/_array.h" #include <sys/types.h> #include <sys/stat.h> namespace fs = boost::filesystem; using namespace std; void FileReaderClass::Close() { stream.close(); } void FileReaderClass::Open(E8_IN FileName, E8_IN Exclusive) { ...
20.104167
79
0.615026
dmpas
2e3f939a80e1f08d1776dc3983d5168532a9a878
228
cpp
C++
LibC/poll.cpp
mmatoscom/serenity
b7e1fbc1d1b820ba3e5dd55a00c80e7e6822dab8
[ "BSD-2-Clause" ]
1
2019-06-06T21:41:44.000Z
2019-06-06T21:41:44.000Z
LibC/poll.cpp
mmatoscom/serenity
b7e1fbc1d1b820ba3e5dd55a00c80e7e6822dab8
[ "BSD-2-Clause" ]
null
null
null
LibC/poll.cpp
mmatoscom/serenity
b7e1fbc1d1b820ba3e5dd55a00c80e7e6822dab8
[ "BSD-2-Clause" ]
null
null
null
#include <poll.h> #include <Kernel/Syscall.h> #include <errno.h> extern "C" { int poll(struct pollfd* fds, int nfds, int timeout) { int rc = syscall(SC_poll, fds, nfds, timeout); __RETURN_WITH_ERRNO(rc, rc, -1); } }
15.2
51
0.653509
mmatoscom
2e41354ef0b892b7060c8aa8342a25d837b4f2fb
130
hpp
C++
cinemagraph_editor/opencv2.framework/Versions/A/Headers/core/base.hpp
GeonHyeongKim/cinemagraph_editor
20639c63a5a3cf55267fb5f68f56a74da5820652
[ "MIT" ]
null
null
null
cinemagraph_editor/opencv2.framework/Versions/A/Headers/core/base.hpp
GeonHyeongKim/cinemagraph_editor
20639c63a5a3cf55267fb5f68f56a74da5820652
[ "MIT" ]
null
null
null
cinemagraph_editor/opencv2.framework/Versions/A/Headers/core/base.hpp
GeonHyeongKim/cinemagraph_editor
20639c63a5a3cf55267fb5f68f56a74da5820652
[ "MIT" ]
null
null
null
version https://git-lfs.github.com/spec/v1 oid sha256:bb04bec725a144a389cb9e9109385e3d4e78b260c95a9d3196603a4ce28457ab size 26499
32.5
75
0.884615
GeonHyeongKim
2e4495c3d5f45265896d9764baa5098f8a4f78b5
6,921
cpp
C++
src/mongo/db/pipeline/tee_buffer_test.cpp
mwhudson/mongo
914bbbd26a686e032fdddec964b109ea78c6e6f6
[ "Apache-2.0" ]
1
2019-05-15T03:41:50.000Z
2019-05-15T03:41:50.000Z
src/mongo/db/pipeline/tee_buffer_test.cpp
mwhudson/mongo
914bbbd26a686e032fdddec964b109ea78c6e6f6
[ "Apache-2.0" ]
2
2021-03-26T00:01:11.000Z
2021-03-26T00:02:19.000Z
src/mongo/db/pipeline/tee_buffer_test.cpp
mwhudson/mongo
914bbbd26a686e032fdddec964b109ea78c6e6f6
[ "Apache-2.0" ]
null
null
null
/** * Copyright (C) 2016 MongoDB, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distributed in the hope that it will be use...
40.473684
98
0.714926
mwhudson
2e460c2d26df8d1ac75ed080ce61f8e785439afd
219
cpp
C++
IMU/VTK-6.2.0/ThirdParty/ftgl/src/FTPixmapGlyphRenderMesa.cpp
timkrentz/SunTracker
9a189cc38f45e5fbc4e4c700d7295a871d022795
[ "MIT" ]
null
null
null
IMU/VTK-6.2.0/ThirdParty/ftgl/src/FTPixmapGlyphRenderMesa.cpp
timkrentz/SunTracker
9a189cc38f45e5fbc4e4c700d7295a871d022795
[ "MIT" ]
null
null
null
IMU/VTK-6.2.0/ThirdParty/ftgl/src/FTPixmapGlyphRenderMesa.cpp
timkrentz/SunTracker
9a189cc38f45e5fbc4e4c700d7295a871d022795
[ "MIT" ]
null
null
null
#include "MangleMesaInclude/gl_mangle.h" #include "MangleMesaInclude/gl.h" #define RenderFunctionName RenderMesa #define GetCurrentColorFunctionName GetCurrentColorMesa #include "FTPixmapGlyphRenderOpenGL.cpp"
27.375
56
0.83105
timkrentz
2e48e9bbb8a00ab2769fdb376785d8e647aa0fc4
496
cpp
C++
code/engine/input.cpp
ugozapad/g-ray-engine
6a28c26541a6f4d50b0ca666375ab45f815c9299
[ "BSD-2-Clause" ]
1
2021-11-18T15:13:30.000Z
2021-11-18T15:13:30.000Z
code/engine/input.cpp
ugozapad/g-ray-engine
6a28c26541a6f4d50b0ca666375ab45f815c9299
[ "BSD-2-Clause" ]
null
null
null
code/engine/input.cpp
ugozapad/g-ray-engine
6a28c26541a6f4d50b0ca666375ab45f815c9299
[ "BSD-2-Clause" ]
null
null
null
#include "stdafx.h" #include "input.h" Input Input::ms_Singleton; Input* Input::Instance() { return &ms_Singleton; } void Input::KeyAction(uint32_t keyid, bool state) { if (keyid >= m_kMaxmimumKeys) return; m_Keys[keyid] = state; } void Input::MousePosAction(float x, float y) { m_MousePos.x = x; m_MousePos.y =...
13.052632
49
0.693548
ugozapad
2e491c2d707e27e7a1f347b14cbea8e2f59cb88c
3,342
cpp
C++
backends/dpdk/printUtils.cpp
st22nestrel/p4c
5285887bd4f6fcf6fd40b27e58291f647583f3b1
[ "Apache-2.0" ]
null
null
null
backends/dpdk/printUtils.cpp
st22nestrel/p4c
5285887bd4f6fcf6fd40b27e58291f647583f3b1
[ "Apache-2.0" ]
5
2022-02-11T09:23:13.000Z
2022-03-29T12:03:35.000Z
backends/dpdk/printUtils.cpp
st22nestrel/p4c
5285887bd4f6fcf6fd40b27e58291f647583f3b1
[ "Apache-2.0" ]
null
null
null
/* Copyright 2021 Intel Corporation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, softwa...
26.736
75
0.650509
st22nestrel
2e4a2b9f781e62b5ea931bc46f0f26c60195585e
7,956
cpp
C++
RenderSystems/GLES2/src/OgreGLES2Support.cpp
MrTypename/ogre-code
b755e3884aa3b3a5fb37b2b2a75a8e44e70bcd56
[ "MIT" ]
null
null
null
RenderSystems/GLES2/src/OgreGLES2Support.cpp
MrTypename/ogre-code
b755e3884aa3b3a5fb37b2b2a75a8e44e70bcd56
[ "MIT" ]
null
null
null
RenderSystems/GLES2/src/OgreGLES2Support.cpp
MrTypename/ogre-code
b755e3884aa3b3a5fb37b2b2a75a8e44e70bcd56
[ "MIT" ]
null
null
null
/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2009 Torus Knot Software Ltd Permission is hereby granted, free of charge, to any person ...
49.111111
155
0.734917
MrTypename
2e4d2e09f38fe2cc1d1902a1c02eb7b9f4ce4204
1,534
hpp
C++
assembler/inc/symtable.hpp
miledevv/GNU-assembler-linker
98b3df7f0b920e86ff8ad76981ed45a1f4639f27
[ "MIT" ]
null
null
null
assembler/inc/symtable.hpp
miledevv/GNU-assembler-linker
98b3df7f0b920e86ff8ad76981ed45a1f4639f27
[ "MIT" ]
null
null
null
assembler/inc/symtable.hpp
miledevv/GNU-assembler-linker
98b3df7f0b920e86ff8ad76981ed45a1f4639f27
[ "MIT" ]
null
null
null
#ifndef _SYMTABLE_H #define _SYMTABLE_H #include <iostream> #include <string> #include <sstream> #include <list> using namespace std; #define UND -2 #define LOCAL 0 #define GLOBAL 1 #define IS_EQU 1 #define R_VN_PC16 0 #define R_VN_16 1 typedef struct { int id; string name; int value; short bind; ...
19.417722
106
0.651239
miledevv
2e4e07adf7de00411219cc4f0eec23ac345206e1
18,061
hpp
C++
src/Color.hpp
sweetkristas/svg_parser
6d591823eba6ba2423e898fe323f1cdbe08d7947
[ "Zlib" ]
null
null
null
src/Color.hpp
sweetkristas/svg_parser
6d591823eba6ba2423e898fe323f1cdbe08d7947
[ "Zlib" ]
null
null
null
src/Color.hpp
sweetkristas/svg_parser
6d591823eba6ba2423e898fe323f1cdbe08d7947
[ "Zlib" ]
null
null
null
/* Copyright (C) 2013-2014 by Kristina Simpson <sweet.kristas@gmail.com> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any pur...
55.572308
107
0.696473
sweetkristas
2e50a0649921d3dbd239de28ffcf938e55d0c04a
5,303
cc
C++
third_party/blink/renderer/platform/heap/heap_traits_test.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/blink/renderer/platform/heap/heap_traits_test.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/blink/renderer/platform/heap/heap_traits_test.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <type_traits> #include <utility> #include "third_party/blink/renderer/platform/heap/garbage_collected.h" #include "third_party/blink/renderer...
41.755906
79
0.707147
sarang-apps
2e519b4b635eae79996faec251229134c54cba03
18,250
hpp
C++
machine_learning/vector_ops.hpp
icbdubey/C-Plus-Plus
d51947a9d5a96695ea52db4394db6518d777bddf
[ "MIT" ]
20,295
2016-07-17T06:29:04.000Z
2022-03-31T23:32:16.000Z
machine_learning/vector_ops.hpp
icbdubey/C-Plus-Plus
d51947a9d5a96695ea52db4394db6518d777bddf
[ "MIT" ]
1,399
2017-06-02T05:59:45.000Z
2022-03-31T00:55:00.000Z
machine_learning/vector_ops.hpp
icbdubey/C-Plus-Plus
d51947a9d5a96695ea52db4394db6518d777bddf
[ "MIT" ]
5,775
2016-10-14T08:10:18.000Z
2022-03-31T18:26:39.000Z
/** * @file vector_ops.hpp * @author [Deep Raval](https://github.com/imdeep2905) * * @brief Various functions for vectors associated with [NeuralNetwork (aka * Multilayer Perceptron)] * (https://en.wikipedia.org/wiki/Multilayer_perceptron). * */ #ifndef VECTOR_OPS_FOR_NN #define VECTOR_OPS_FOR_NN #include <alg...
35.436893
80
0.599068
icbdubey
2e53cd9bd2912edeef2e6004c6ca412f668f0489
2,705
cpp
C++
src/twitter/twitterconversationfilterinterface.cpp
sailfishos/nemo-qml-plugin-social
da64c1f5665e6c3b4d4f3f244afcf90308ecfd30
[ "BSD-3-Clause" ]
null
null
null
src/twitter/twitterconversationfilterinterface.cpp
sailfishos/nemo-qml-plugin-social
da64c1f5665e6c3b4d4f3f244afcf90308ecfd30
[ "BSD-3-Clause" ]
null
null
null
src/twitter/twitterconversationfilterinterface.cpp
sailfishos/nemo-qml-plugin-social
da64c1f5665e6c3b4d4f3f244afcf90308ecfd30
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (C) 2013 Jolla Ltd. <chris.adams@jollamobile.com> * * You may use this file under the terms of the BSD license as follows: * * "Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * Redistributions ...
37.569444
93
0.765619
sailfishos
2e54bdaebcea8214fdac807bd1f2f72d9d4c377a
5,705
cpp
C++
tests/cthread/test_cthread_sel_bit.cpp
rseac/systemc-compiler
ad1c68054467ed8db1c4e9b8f63eda092945d56d
[ "Apache-2.0" ]
null
null
null
tests/cthread/test_cthread_sel_bit.cpp
rseac/systemc-compiler
ad1c68054467ed8db1c4e9b8f63eda092945d56d
[ "Apache-2.0" ]
null
null
null
tests/cthread/test_cthread_sel_bit.cpp
rseac/systemc-compiler
ad1c68054467ed8db1c4e9b8f63eda092945d56d
[ "Apache-2.0" ]
null
null
null
/****************************************************************************** * Copyright (c) 2020, Intel Corporation. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception. * *****************************************************************************/ #include "sct_assert.h" #include ...
23.004032
79
0.408063
rseac
2e5515112fa86ff46a1d3b8a190d567f110fbc29
3,415
cpp
C++
image/shifted_interp2_mex.cpp
ojwoodford/ojwul
fe8b45ee0c74ecdff2b6f832cde1b9c31f30e022
[ "BSD-2-Clause" ]
8
2017-03-13T01:20:50.000Z
2020-09-08T12:34:28.000Z
image/shifted_interp2_mex.cpp
ojwoodford/ojwul
fe8b45ee0c74ecdff2b6f832cde1b9c31f30e022
[ "BSD-2-Clause" ]
null
null
null
image/shifted_interp2_mex.cpp
ojwoodford/ojwul
fe8b45ee0c74ecdff2b6f832cde1b9c31f30e022
[ "BSD-2-Clause" ]
1
2017-03-13T01:20:51.000Z
2017-03-13T01:20:51.000Z
#include <mex.h> #include <math.h> #ifdef _OPENMP #include <omp.h> #endif #include <stdint.h> #include "interp2_methods.hpp" #include "../utils/private/class_handle.hpp" typedef IM_SHIFT<uint8_t, double, double> shiftIm_t; #if _MATLAB_ < 805 // R2015a extern "C" mxArray *mxCreateUninitNumericArray(mwSize nd...
35.947368
147
0.610835
ojwoodford
2e64db339c81803ee0fa08e3ac751b3266b9fe97
8,945
cpp
C++
OpenGLTraining/src/1.Start/CoordinateSystemDepth.cpp
NewBediver/OpenGLTraining
caf38b9601544e3145b9d2995d9bd28558bf3d11
[ "Apache-2.0" ]
null
null
null
OpenGLTraining/src/1.Start/CoordinateSystemDepth.cpp
NewBediver/OpenGLTraining
caf38b9601544e3145b9d2995d9bd28558bf3d11
[ "Apache-2.0" ]
null
null
null
OpenGLTraining/src/1.Start/CoordinateSystemDepth.cpp
NewBediver/OpenGLTraining
caf38b9601544e3145b9d2995d9bd28558bf3d11
[ "Apache-2.0" ]
null
null
null
#include <glad/glad.h> #include <GLFW/glfw3.h> #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> #include <glm/gtc/type_ptr.hpp> #include <stb/stb_image.h> #include "Shader/Shader.h" #include <iostream> // Callback for resizing void framebufferSizeCallback(GLFWwindow* window, int width, int height); ...
30.738832
138
0.633091
NewBediver
2e6587cf40f125e04aaa1173f0df233ea7d2627c
370
cpp
C++
Competitive Programming/RotaUFMG/Roteiro 2 (STL)/EleEstaImpedido.cpp
NelsonGomesNeto/ProgramC
e743b1b869f58f7f3022d18bac00c5e0b078562e
[ "MIT" ]
3
2018-12-18T13:39:42.000Z
2021-06-23T18:05:18.000Z
Competitive Programming/RotaUFMG/Roteiro 2 (STL)/EleEstaImpedido.cpp
NelsonGomesNeto/ProgramC
e743b1b869f58f7f3022d18bac00c5e0b078562e
[ "MIT" ]
1
2018-11-02T21:32:40.000Z
2018-11-02T22:47:12.000Z
Competitive Programming/RotaUFMG/Roteiro 2 (STL)/EleEstaImpedido.cpp
NelsonGomesNeto/ProgramC
e743b1b869f58f7f3022d18bac00c5e0b078562e
[ "MIT" ]
6
2018-10-27T14:07:52.000Z
2019-11-14T13:49:29.000Z
#include <bits/stdc++.h> using namespace std; int main() { int a, d; while (scanf("%d %d", &a, &d) && !(!a && !d)) { int aa[a], dd[d]; for (int i = 0; i < a; i ++) scanf("%d", &aa[i]); for (int i = 0; i < d; i ++) scanf("%d", &dd[i]); sort(aa, aa+a); sort(dd, dd+d); if (aa[0] < dd[1]) ...
19.473684
53
0.421622
NelsonGomesNeto
2e66057a57e98c17598d363186ff6c09c768c0b3
3,326
cpp
C++
src/types/Categories.cpp
Mostah/parallel-pymcda
d5f5bb0de95dec90b88be9d00a3860e52eed4003
[ "MIT" ]
2
2020-12-12T22:48:57.000Z
2021-02-24T09:37:40.000Z
src/types/Categories.cpp
Mostah/parallel-pymcda
d5f5bb0de95dec90b88be9d00a3860e52eed4003
[ "MIT" ]
5
2021-01-07T19:34:24.000Z
2021-03-17T13:52:22.000Z
src/types/Categories.cpp
Mostah/parallel-pymcda
d5f5bb0de95dec90b88be9d00a3860e52eed4003
[ "MIT" ]
3
2020-12-12T22:49:56.000Z
2021-09-08T05:26:38.000Z
#include "../../include/types/Categories.h" #include "../../include/utils.h" #include <iostream> #include <ostream> #include <string.h> #include <vector> Categories::Categories(int number_of_categories, std::string prefix) { for (int i = 0; i < number_of_categories; i++) { std::string id = prefix + std::to_strin...
29.696429
80
0.678894
Mostah