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
ad6a534d4317cf46d3e5f89cc2e0b726e1c7df00
2,034
cpp
C++
examples/load.cpp
kant/hilma
13592d7705bd84624329889fa6c82815c007cc68
[ "BSD-3-Clause" ]
70
2020-04-29T00:44:37.000Z
2022-01-17T16:54:48.000Z
examples/load.cpp
kant/hilma
13592d7705bd84624329889fa6c82815c007cc68
[ "BSD-3-Clause" ]
2
2020-05-18T23:26:18.000Z
2020-06-12T22:20:45.000Z
examples/load.cpp
kant/hilma
13592d7705bd84624329889fa6c82815c007cc68
[ "BSD-3-Clause" ]
6
2020-05-20T15:22:25.000Z
2022-01-15T17:19:05.000Z
#include <string> #include <sstream> #include <unistd.h> #include <iostream> #include "hilma/types/Mesh.h" #include "hilma/ops/compute.h" #include "hilma/ops/convert_path.h" #include "hilma/ops/convert_image.h" #include "hilma/ops/generate.h" #include "hilma/io/auto.h" #include "hilma/io/gltf.h" #include "hilma/io/s...
30.358209
80
0.598328
kant
ad6f2706088d8c9ed98fa62921d6e8a60dd4f2ce
8,364
cpp
C++
src/app/base/level.cpp
nomadsinteractive/ark
52f84c6dbd5ca6bdd07d450b3911be1ffd995922
[ "Apache-2.0" ]
5
2018-03-28T09:14:55.000Z
2018-04-02T11:54:33.000Z
src/app/base/level.cpp
nomadsinteractive/ark
52f84c6dbd5ca6bdd07d450b3911be1ffd995922
[ "Apache-2.0" ]
null
null
null
src/app/base/level.cpp
nomadsinteractive/ark
52f84c6dbd5ca6bdd07d450b3911be1ffd995922
[ "Apache-2.0" ]
null
null
null
#include "app/base/level.h" #include <unordered_map> #include "core/ark.h" #include "graphics/base/render_object.h" #include "graphics/base/transform.h" #include "graphics/util/vec3_type.h" #include "app/base/application_context.h" #include "app/base/application_resource.h" #include "app/base/rigid_body.h" #include...
46.726257
245
0.650765
nomadsinteractive
ad74c256718a0e83b6b2e2c032c9e8d99cc66578
75
hpp
C++
src/ImageView/path_utility.hpp
miere43/imageview
a264fa44ba0140a8171913be763abdddbc531b4a
[ "Unlicense" ]
1
2021-06-24T12:19:41.000Z
2021-06-24T12:19:41.000Z
src/ImageView/path_utility.hpp
miere43/imageview
a264fa44ba0140a8171913be763abdddbc531b4a
[ "Unlicense" ]
null
null
null
src/ImageView/path_utility.hpp
miere43/imageview
a264fa44ba0140a8171913be763abdddbc531b4a
[ "Unlicense" ]
null
null
null
#pragma once struct Path_Utility { //static wchar_t* combine_path() };
12.5
36
0.706667
miere43
ad779e76c9574369a44afc64f9fd0eddd338d796
232
cpp
C++
tools/performance-benchmarks/message-cat/core/src/engine.io/transporters/tcp.cpp
iot-dsa-v2/engine.io.poc
631f996d0a78d33c907fcb610126b4e3969ee3af
[ "Apache-2.0" ]
null
null
null
tools/performance-benchmarks/message-cat/core/src/engine.io/transporters/tcp.cpp
iot-dsa-v2/engine.io.poc
631f996d0a78d33c907fcb610126b4e3969ee3af
[ "Apache-2.0" ]
null
null
null
tools/performance-benchmarks/message-cat/core/src/engine.io/transporters/tcp.cpp
iot-dsa-v2/engine.io.poc
631f996d0a78d33c907fcb610126b4e3969ee3af
[ "Apache-2.0" ]
null
null
null
#include "stdafx.h" #include "tcp.h" TransporterTCP::TransporterTCP() { } TransporterTCP::~TransporterTCP() { } void TransporterTCP::enableTCPClient() { tcpIOMonitor(UV_TCP); tcpIOMonitor.establishConnection(); }
14.5
39
0.702586
iot-dsa-v2
ad7e015ba2fc5b30857de7d3a598e9dbc8745c89
658
hpp
C++
example/generated-src/cwrapper/cw__hello.hpp
ubook-editora/finn
9a2b0e442c94e7311f85d2892dd33b1e3579bb1f
[ "Apache-2.0" ]
null
null
null
example/generated-src/cwrapper/cw__hello.hpp
ubook-editora/finn
9a2b0e442c94e7311f85d2892dd33b1e3579bb1f
[ "Apache-2.0" ]
null
null
null
example/generated-src/cwrapper/cw__hello.hpp
ubook-editora/finn
9a2b0e442c94e7311f85d2892dd33b1e3579bb1f
[ "Apache-2.0" ]
null
null
null
// AUTOGENERATED FILE - DO NOT MODIFY! // This file generated by Djinni from example.djinni #pragma once #include <atomic> #include <optional> #include "hello.hpp" #ifdef __cplusplus extern "C" { #endif #include "cw__hello.h" #ifdef __cplusplus } #endif struct DjinniWrapperHello final { DjinniWrapperHello(std::...
24.37037
91
0.729483
ubook-editora
ad7e46d3c5c40c3c119d36ad6ac07576b490f5be
2,979
cc
C++
cpp/test-harness/ta1/row-hash-aggregator.cc
nathanawmk/SPARTA
6eeb28b2dd147088b6e851876b36eeba3e700f16
[ "BSD-2-Clause" ]
37
2017-06-09T13:55:23.000Z
2022-01-28T12:51:17.000Z
cpp/test-harness/ta1/row-hash-aggregator.cc
nathanawmk/SPARTA
6eeb28b2dd147088b6e851876b36eeba3e700f16
[ "BSD-2-Clause" ]
null
null
null
cpp/test-harness/ta1/row-hash-aggregator.cc
nathanawmk/SPARTA
6eeb28b2dd147088b6e851876b36eeba3e700f16
[ "BSD-2-Clause" ]
5
2017-06-09T13:55:26.000Z
2021-11-11T03:51:56.000Z
//***************************************************************** // Copyright 2015 MIT Lincoln Laboratory // Project: SPAR // Authors: OMD // Description: Implementation of RowHashAggregator. // // Modifications: // Date Name Modification // ---- ---- ...
30.397959
80
0.597516
nathanawmk
ad7fab15fcf28893be06071e98fb4264e663002b
288
cpp
C++
day13/C++/day13a.cpp
Grace0Hud/dailycodebase
3c48b376f0acd2a65605d601b6b09996b725045b
[ "MIT" ]
249
2018-12-17T16:13:06.000Z
2022-03-31T04:39:14.000Z
day13/C++/day13a.cpp
Grace0Hud/dailycodebase
3c48b376f0acd2a65605d601b6b09996b725045b
[ "MIT" ]
203
2018-12-19T11:03:27.000Z
2021-06-09T16:10:30.000Z
day13/C++/day13a.cpp
Grace0Hud/dailycodebase
3c48b376f0acd2a65605d601b6b09996b725045b
[ "MIT" ]
211
2018-12-19T10:08:20.000Z
2022-03-22T20:01:28.000Z
/* * @author : dhruv-gupta14 * @date : 8/01/2019 */ #include <bits/stdc++.h> using namespace std; long long calc_fact(long long n) { if (n <= 1) return 1; return n*calc_fact(n-1); } int main() { long long n; cin>>n; cout<<calc_fact(n)<<endl; return 0; }
13.090909
32
0.5625
Grace0Hud
ad81f548c629a05d4d2f5237e9c7dc6cdeaf0e1c
6,087
hpp
C++
bindings/python/multibody/joint/joints-models.hpp
thanhndv212/pinocchio
3b4d272bf4e8a231954b71201ee7e0963c944aef
[ "BSD-2-Clause-FreeBSD" ]
8
2021-05-12T03:04:59.000Z
2021-08-10T11:43:36.000Z
bindings/python/multibody/joint/joints-models.hpp
thanhndv212/pinocchio
3b4d272bf4e8a231954b71201ee7e0963c944aef
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
bindings/python/multibody/joint/joints-models.hpp
thanhndv212/pinocchio
3b4d272bf4e8a231954b71201ee7e0963c944aef
[ "BSD-2-Clause-FreeBSD" ]
2
2021-04-21T16:00:21.000Z
2022-02-03T06:24:52.000Z
// // Copyright (c) 2015-2020 CNRS INRIA // #ifndef __pinocchio_python_joints_models_hpp__ #define __pinocchio_python_joints_models_hpp__ #include <boost/python.hpp> #include "pinocchio/multibody/joint/joint-collection.hpp" #include "pinocchio/multibody/joint/joint-composite.hpp" #include <eigenpy/eigen-to-python.h...
41.97931
155
0.611631
thanhndv212
ad879d14f474f56434bb46142ea101b6600c53e1
17,253
cpp
C++
nTA/Source/unit_Object.cpp
loganjones/nTA-Total-Annihilation-Clone
d7d0e4d33f1d452d17cf2fed2b2bcb7f6d7d4d14
[ "MIT" ]
2
2020-05-09T20:50:12.000Z
2021-06-20T08:34:58.000Z
nTA/Source/unit_Object.cpp
loganjones/nTA-Total-Annihilation-Clone
d7d0e4d33f1d452d17cf2fed2b2bcb7f6d7d4d14
[ "MIT" ]
null
null
null
nTA/Source/unit_Object.cpp
loganjones/nTA-Total-Annihilation-Clone
d7d0e4d33f1d452d17cf2fed2b2bcb7f6d7d4d14
[ "MIT" ]
2
2018-01-08T00:12:04.000Z
2020-06-14T10:56:50.000Z
// unit_Object.cpp // \author Logan Jones //////////////////// \date 12/29/2001 /// \file /// \brief ... ///////////////////////////////////////////////////////////////////// #include "unit.h" #include "unit_Object.h" #include "game.h" #include "gfx...
31.773481
149
0.481539
loganjones
ad87c23de6f39f0fb10bed8be5ad7df3465829b8
176
cpp
C++
FM_Client/Connessione.cpp
mikymaione/FilmManager
be2dd1342a497dcefd89f2003d2ecbeb0e5e07a1
[ "MIT" ]
1
2020-03-20T09:49:50.000Z
2020-03-20T09:49:50.000Z
FM_Client/Connessione.cpp
mikymaione/FilmManager
be2dd1342a497dcefd89f2003d2ecbeb0e5e07a1
[ "MIT" ]
null
null
null
FM_Client/Connessione.cpp
mikymaione/FilmManager
be2dd1342a497dcefd89f2003d2ecbeb0e5e07a1
[ "MIT" ]
null
null
null
/* * File: Connessione.cpp * Author: michele * * Created on 11 ottobre 2014, 11.30 */ #include "Connessione.h" Connessione::Connessione() { widget.setupUi(this); }
13.538462
36
0.653409
mikymaione
ad8a21d767ceb6b12c7f6d522fe35878e65422c6
737
cpp
C++
engine/src/engine/utils/timer.cpp
L4ZZA/city-uni-engine
9f94a0fd404cf7832a98fd5436d84b44000c4add
[ "MIT" ]
null
null
null
engine/src/engine/utils/timer.cpp
L4ZZA/city-uni-engine
9f94a0fd404cf7832a98fd5436d84b44000c4add
[ "MIT" ]
null
null
null
engine/src/engine/utils/timer.cpp
L4ZZA/city-uni-engine
9f94a0fd404cf7832a98fd5436d84b44000c4add
[ "MIT" ]
null
null
null
#include "pch.h" #include "timer.h" #include <GLFW/glfw3.h> void engine::timer::start() { m_started = true; reset(); } void engine::timer::reset() { // current time in seconds m_start_time = glfwGetTime(); m_last_frame = m_start_time; } double engine::timer::elapsed() { if(!m_started) ret...
17.139535
45
0.666214
L4ZZA
ad8a345a76febdef3fb5fff7e4ba1058b618ec3c
1,741
cpp
C++
src/core/path_controller_component.cpp
MrPepperoni/Reaping2-1
4ffef3cca1145ddc06ca87d2968c7b0ffd3ba3fd
[ "MIT" ]
3
2015-02-22T20:34:28.000Z
2020-03-04T08:55:25.000Z
src/core/path_controller_component.cpp
MrPepperoni/Reaping2-1
4ffef3cca1145ddc06ca87d2968c7b0ffd3ba3fd
[ "MIT" ]
22
2015-12-13T16:29:40.000Z
2017-03-04T15:45:44.000Z
src/core/path_controller_component.cpp
Reaping2/Reaping2
0d4c988c99413e50cc474f6206cf64176eeec95d
[ "MIT" ]
14
2015-11-23T21:25:09.000Z
2020-07-17T17:03:23.000Z
#include "core/path_controller_component.h" PathControllerComponent::PathControllerComponent() : mNextAttackTimer(0.0) , mNextAttackTimerMax(3.0) , mDamage(10) , mAggroDist(800) , mPeaceDist(1200) { } void PathControllerComponent::SetNextAttackTimer( double nextAttackTimer ) { mNextAttackTimer...
22.320513
97
0.775416
MrPepperoni
ad8d113f348e1ad3a516bbea7f09a2dfd13db202
8,918
hpp
C++
src/scripting/ScriptSymbolStorage.hpp
KirmesBude/REGoth-bs
2e13dc3b9005744fccd7cea9c7e7cc1f94809e4a
[ "MIT" ]
399
2019-01-06T17:55:18.000Z
2022-03-21T17:41:18.000Z
src/scripting/ScriptSymbolStorage.hpp
KirmesBude/REGoth-bs
2e13dc3b9005744fccd7cea9c7e7cc1f94809e4a
[ "MIT" ]
101
2019-04-18T21:03:53.000Z
2022-01-08T13:27:01.000Z
src/scripting/ScriptSymbolStorage.hpp
KirmesBude/REGoth-bs
2e13dc3b9005744fccd7cea9c7e7cc1f94809e4a
[ "MIT" ]
56
2019-04-10T10:18:27.000Z
2022-02-08T01:23:31.000Z
#pragma once #include "ScriptSymbols.hpp" #include <BsPrerequisites.h> #include <RTTI/RTTIUtil.hpp> namespace REGoth { namespace Scripting { /** * Holds the list of all created symbols and their data. * * This is the only place where symbols should created and have * their types and names b...
29.726667
101
0.585445
KirmesBude
ad8fb0e01a72a0613953eda5874e61e3c3fd85bb
1,905
cpp
C++
aed2122_p06/Tests/game.cpp
gpe0/AED2021
4f36c7b62f53ecba5b813c61f0f88064df4792ca
[ "MIT" ]
null
null
null
aed2122_p06/Tests/game.cpp
gpe0/AED2021
4f36c7b62f53ecba5b813c61f0f88064df4792ca
[ "MIT" ]
null
null
null
aed2122_p06/Tests/game.cpp
gpe0/AED2021
4f36c7b62f53ecba5b813c61f0f88064df4792ca
[ "MIT" ]
null
null
null
#include "game.h" #include <cmath> #include <sstream> Circle::Circle(int p, bool s): points(p), state(s), nVisits(0) {} int Circle::getPoints() const { return points; } bool Circle::getState() const { return state; } void Circle::changeState() { if (state == false) state = true; else ...
18.495146
178
0.52021
gpe0
ad919e3ed28214b572b6dcbb72c5c28e7dbf4a85
9,045
cpp
C++
ANode/test/TestExprRepeatDateArithmetic.cpp
ecmwf/ecflow
2498d0401d3d1133613d600d5c0e0a8a30b7b8eb
[ "Apache-2.0" ]
11
2020-08-07T14:42:45.000Z
2021-10-21T01:59:59.000Z
ANode/test/TestExprRepeatDateArithmetic.cpp
CoollRock/ecflow
db61dddc84d3d2c7dd6af95fd799d717c6bc2a6d
[ "Apache-2.0" ]
10
2020-08-07T14:36:27.000Z
2022-02-22T06:51:24.000Z
ANode/test/TestExprRepeatDateArithmetic.cpp
CoollRock/ecflow
db61dddc84d3d2c7dd6af95fd799d717c6bc2a6d
[ "Apache-2.0" ]
6
2020-08-07T14:34:38.000Z
2022-01-10T12:06:27.000Z
/////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8 // Name : // Author : Avi // Revision : $Revision: #10 $ // // Copyright 2009-2020 ECMWF. // This software is licensed under the terms of the Apache Licence version 2.0 // which can be obtained at http://www.apache.org/licen...
41.682028
115
0.687673
ecmwf
ad921d2f399675026a97643637b9127d4abf1282
1,871
cpp
C++
tests/Core/TestStaticVector.cpp
nsf/nextgame
a2d2f21341489792bafa2519f33287a0b89927ee
[ "MIT" ]
9
2015-03-10T10:20:14.000Z
2020-12-29T15:49:14.000Z
tests/Core/TestStaticVector.cpp
nsf/nextgame
a2d2f21341489792bafa2519f33287a0b89927ee
[ "MIT" ]
null
null
null
tests/Core/TestStaticVector.cpp
nsf/nextgame
a2d2f21341489792bafa2519f33287a0b89927ee
[ "MIT" ]
2
2019-12-23T17:36:37.000Z
2021-06-18T13:21:46.000Z
#include "stf.h" #include "Core/Defer.h" #include "Core/StaticVector.h" STF_SUITE_NAME("Core.StaticVector") /* _ _ | | | | | |_ ___ __| | ___ | __/ _ \ / _` |/ _ \ | || (_) | (_| | (_) | \__\___/ \__,_|\___/ #define CHECK_VECTOR(v, len, cap, data) \ do { \ ...
23.683544
56
0.592731
nsf
ad92680ad9447ec6d2038228c3d1060402add554
14,252
cpp
C++
buildcc/lib/target/test/target/test_target_sync.cpp
coder137/build_in_cpp
296b0312eb0f4773fb2d40b01ed302f74f26f7a8
[ "Apache-2.0" ]
48
2021-06-15T08:34:42.000Z
2022-03-24T20:35:54.000Z
buildcc/lib/target/test/target/test_target_sync.cpp
coder137/build_in_cpp
296b0312eb0f4773fb2d40b01ed302f74f26f7a8
[ "Apache-2.0" ]
100
2021-06-14T00:21:49.000Z
2022-03-29T03:59:42.000Z
buildcc/lib/target/test/target/test_target_sync.cpp
coder137/build_in_cpp
296b0312eb0f4773fb2d40b01ed302f74f26f7a8
[ "Apache-2.0" ]
1
2021-06-17T01:03:36.000Z
2021-06-17T01:03:36.000Z
#include "constants.h" #include "target/target.h" #include "env/env.h" // NOTE, Make sure all these includes are AFTER the system and header includes #include "CppUTest/CommandLineTestRunner.h" #include "CppUTest/MemoryLeakDetectorNewMacros.h" #include "CppUTest/TestHarness.h" #include "CppUTest/Utest.h" #include "C...
43.717791
80
0.643489
coder137
ad92d8b87b81e135a743d279b9d2394a1e5980ef
1,267
cpp
C++
Practice/2018/2018.9.20/HDU3401.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
4
2017-10-31T14:25:18.000Z
2018-06-10T16:10:17.000Z
Practice/2018/2018.9.20/HDU3401.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
null
null
null
Practice/2018/2018.9.20/HDU3401.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
null
null
null
#include<iostream> #include<cstdio> #include<cstdlib> #include<cstring> #include<algorithm> using namespace std; #define ll long long #define mem(Arr,x) memset(Arr,x,sizeof(Arr)) const int maxN=2020; const int inf=1000000000; int n,mxP,W; int F[maxN][maxN]; int Q[maxN]; int main(){ int TTT;scanf("%d",&TTT); while...
21.844828
63
0.488556
SYCstudio
74e9d4d61b88ce15b98c91641534eff6ce020164
36,023
cpp
C++
src/blas/backends/mklcpu/cpu_level1.cpp
codeplaysoftware/oneMKL
87f4feaf67f84f02c63834ad82030d3e86a476d4
[ "Apache-2.0" ]
null
null
null
src/blas/backends/mklcpu/cpu_level1.cpp
codeplaysoftware/oneMKL
87f4feaf67f84f02c63834ad82030d3e86a476d4
[ "Apache-2.0" ]
null
null
null
src/blas/backends/mklcpu/cpu_level1.cpp
codeplaysoftware/oneMKL
87f4feaf67f84f02c63834ad82030d3e86a476d4
[ "Apache-2.0" ]
null
null
null
/******************************************************************************* * Copyright 2020 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/l...
50.311453
100
0.593621
codeplaysoftware
74eb16ecdaec46a2353f1cac77e1ede012497221
2,722
hh
C++
StRoot/StTrsMaker/include/StTrsAnalogSignal.hh
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
2
2018-12-24T19:37:00.000Z
2022-02-28T06:57:20.000Z
StRoot/StTrsMaker/include/StTrsAnalogSignal.hh
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
null
null
null
StRoot/StTrsMaker/include/StTrsAnalogSignal.hh
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
null
null
null
/***************************************************************** * * $Id: StTrsAnalogSignal.hh,v 1.7 2005/09/09 22:12:48 perev Exp $ * * Author: brian Nov 1, 1998 * ***************************************************************** * Description: * ***********************************************************...
29.912088
147
0.596988
xiaohaijin
74ec603469299cc223e9acc4b38b1f65f655f6f3
7,128
cpp
C++
src/lib/foundations/algebra_and_number_theory/null_polarity_generator.cpp
abetten/orbiter
5994d0868a26c37676d6aadfc66a1f1bcb715c4b
[ "RSA-MD" ]
15
2016-10-27T15:18:28.000Z
2022-02-09T11:13:07.000Z
src/lib/foundations/algebra_and_number_theory/null_polarity_generator.cpp
abetten/orbiter
5994d0868a26c37676d6aadfc66a1f1bcb715c4b
[ "RSA-MD" ]
4
2019-12-09T11:49:11.000Z
2020-07-30T17:34:45.000Z
src/lib/foundations/algebra_and_number_theory/null_polarity_generator.cpp
abetten/orbiter
5994d0868a26c37676d6aadfc66a1f1bcb715c4b
[ "RSA-MD" ]
15
2016-06-10T20:05:30.000Z
2020-12-18T04:59:19.000Z
// null_polarity_generator.cpp // // Anton Betten // December 11, 2015 #include "foundations.h" using namespace std; namespace orbiter { namespace foundations { null_polarity_generator::null_polarity_generator() { null(); } null_polarity_generator::~null_polarity_generator() { freeself(); } void null_polarit...
21.46988
77
0.621633
abetten
74eee9b62a2bd412cc6a87a05fd4f4edc0834614
1,204
cpp
C++
advent_of_code/2021/src/2120b.cpp
Loks-/competitions
3bb231ba9dd62447048832f45b09141454a51926
[ "MIT" ]
4
2018-06-05T14:15:52.000Z
2022-02-08T05:14:23.000Z
advent_of_code/2021/src/2120b.cpp
Loks-/competitions
3bb231ba9dd62447048832f45b09141454a51926
[ "MIT" ]
null
null
null
advent_of_code/2021/src/2120b.cpp
Loks-/competitions
3bb231ba9dd62447048832f45b09141454a51926
[ "MIT" ]
1
2018-10-21T11:01:35.000Z
2018-10-21T11:01:35.000Z
#include "common/stl/base.h" #include "common/vector/read_lines.h" #include "common/vector/sum.h" int main_2120b() { auto vs = nvector::ReadLines(); vector<unsigned> vm; for (auto c : vs[0]) vm.push_back((c == '#') ? 1 : 0); unsigned steps = 50, shift = steps + 2, n = vs.size() - 2, m = vs[2].size(); unsigne...
30.871795
78
0.457641
Loks-
74f0c8a1d5da6817ae2eb75fa412eb8d051f6cfa
8,707
cpp
C++
libraries/DueFlash/efc.cpp
sschiesser/Arduino_MPU9150
59f338eab642bd15970d929fd939312b1b5b2576
[ "MIT" ]
65
2015-01-22T15:34:13.000Z
2022-03-24T17:29:07.000Z
libraries/DueFlash/efc.cpp
sschiesser/Arduino_MPU9150
59f338eab642bd15970d929fd939312b1b5b2576
[ "MIT" ]
16
2015-04-30T01:50:04.000Z
2021-03-18T11:01:56.000Z
libraries/DueFlash/efc.cpp
sschiesser/Arduino_MPU9150
59f338eab642bd15970d929fd939312b1b5b2576
[ "MIT" ]
44
2015-02-23T11:01:45.000Z
2021-05-01T07:11:13.000Z
/** * \file * * \brief Enhanced Embedded Flash Controller (EEFC) driver for SAM. * * Copyright (c) 2011-2012 Atmel Corporation. All rights reserved. * * \asf_license_start * * \page License * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the...
25.533724
80
0.718847
sschiesser
74f0dc372993a6eb967f8ac3bcacaef6bf33825f
825
cpp
C++
SkimaServer/SkimaServer/LightningPumpkinSkill.cpp
dlakwwkd/CommitAgain
3fdad38f7951b1a58ae244bd5d68f5a92e97f633
[ "MIT" ]
1
2015-04-07T06:08:11.000Z
2015-04-07T06:08:11.000Z
SkimaServer/SkimaServer/LightningPumpkinSkill.cpp
dlakwwkd/CommitAgain
3fdad38f7951b1a58ae244bd5d68f5a92e97f633
[ "MIT" ]
1
2015-01-01T11:14:29.000Z
2015-01-01T12:19:04.000Z
SkimaServer/SkimaServer/LightningPumpkinSkill.cpp
dlakwwkd/CommitAgain
3fdad38f7951b1a58ae244bd5d68f5a92e97f633
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "LightningPumpkinSkill.h" #include "ClientSession.h" #include "Game.h" #include "Player.h" #include "Unit.h" #include "Timer.h" #include <time.h> LightningPumpkinSkill::LightningPumpkinSkill(Player* owner) { m_Owner = owner; m_Damage = 64; m_Scale = Reduce(80.0f); } Lightnin...
22.916667
117
0.705455
dlakwwkd
74f16202df8325fc25e2f9fc9cad20384e7b4fd9
5,707
cc
C++
L1TriggerConfig/RPCTriggerConfig/src/L1RPCConeDefinitionProducer.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
L1TriggerConfig/RPCTriggerConfig/src/L1RPCConeDefinitionProducer.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
L1TriggerConfig/RPCTriggerConfig/src/L1RPCConeDefinitionProducer.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
// -*- C++ -*- // // Package: L1RPCConeDefinitionProducer // Class: L1RPCConeDefinitionProducer // /**\class L1RPCConeDefinitionProducer L1RPCConeDefinitionProducer.h L1TriggerConfig/L1RPCConeDefinitionProducer/src/L1RPCConeDefinitionProducer.cc Description: <one line class summary> Implementation: <No...
31.185792
146
0.682846
ckamtsikis
74f1e26951ff8f3e4bd62a2c05e4f1abc80f4fed
6,575
cpp
C++
Source/WebCore/platform/graphics/chromium/FontCustomPlatformData.cpp
VincentWei/mdolphin-core
48ffdcf587a48a7bb4345ae469a45c5b64ffad0e
[ "Apache-2.0" ]
6
2017-05-31T01:46:45.000Z
2018-06-12T10:53:30.000Z
Source/WebCore/platform/graphics/chromium/FontCustomPlatformData.cpp
FMSoftCN/mdolphin-core
48ffdcf587a48a7bb4345ae469a45c5b64ffad0e
[ "Apache-2.0" ]
null
null
null
Source/WebCore/platform/graphics/chromium/FontCustomPlatformData.cpp
FMSoftCN/mdolphin-core
48ffdcf587a48a7bb4345ae469a45c5b64ffad0e
[ "Apache-2.0" ]
2
2017-07-17T06:02:42.000Z
2018-09-19T10:08:38.000Z
/* * Copyright (C) 2007 Apple Computer, Inc. * Copyright (c) 2007, 2008, 2009, Google Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must r...
32.073171
131
0.698251
VincentWei
74f306a640ce5f8555d7c7dc46484aab8ccfd823
7,166
cpp
C++
openstudiocore/src/model/SurfacePropertyOtherSideConditionsModel.cpp
hongyuanjia/OpenStudio
6cc52f1b66c069cf13f2b6ca2a0cc3c137c37cf0
[ "MIT" ]
1
2019-04-21T15:38:54.000Z
2019-04-21T15:38:54.000Z
openstudiocore/src/model/SurfacePropertyOtherSideConditionsModel.cpp
hongyuanjia/OpenStudio
6cc52f1b66c069cf13f2b6ca2a0cc3c137c37cf0
[ "MIT" ]
null
null
null
openstudiocore/src/model/SurfacePropertyOtherSideConditionsModel.cpp
hongyuanjia/OpenStudio
6cc52f1b66c069cf13f2b6ca2a0cc3c137c37cf0
[ "MIT" ]
1
2019-07-18T06:52:29.000Z
2019-07-18T06:52:29.000Z
/*********************************************************************************************************************** * OpenStudio(R), Copyright (c) 2008-2018, Alliance for Sustainable Energy, LLC. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are perm...
49.763889
156
0.712113
hongyuanjia
74f4e52256959b567d49b7873b885854d31ccd61
743
cpp
C++
modules/arm_plugin/src/opset/mvn_arm.cpp
pelszkow/openvino_contrib
345788490bd9cdf00c6c1282ceb100aa9d559fe9
[ "Apache-2.0" ]
56
2020-11-19T15:04:30.000Z
2022-03-30T20:06:07.000Z
modules/arm_plugin/src/opset/mvn_arm.cpp
pelszkow/openvino_contrib
345788490bd9cdf00c6c1282ceb100aa9d559fe9
[ "Apache-2.0" ]
130
2020-11-06T12:35:13.000Z
2022-03-31T11:04:27.000Z
modules/arm_plugin/src/opset/mvn_arm.cpp
pelszkow/openvino_contrib
345788490bd9cdf00c6c1282ceb100aa9d559fe9
[ "Apache-2.0" ]
60
2020-11-02T16:40:22.000Z
2022-03-30T20:06:11.000Z
// Copyright (C) 2020-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "mvn_arm.hpp" using namespace ngraph; using namespace ArmPlugin; NGRAPH_RTTI_DEFINITION(opset::ArmMVN, "ArmMVN", 0); opset::ArmMVN::~ArmMVN() {} opset::ArmMVN::ArmMVN(const ngraph::Output<ngraph::Node>& data, float eps)...
27.518519
112
0.701211
pelszkow
74fb4f9a9e6e4b1e55690f043bf843f1d514fa01
493
hpp
C++
libs/common/include/zia/common/Network.hpp
IamBlueSlime/Zia
14aeccaa817171ca9fbd8221c6d9a32ea203a221
[ "MIT" ]
1
2020-03-09T12:17:55.000Z
2020-03-09T12:17:55.000Z
libs/common/include/zia/common/Network.hpp
IamBlueSlime/Zia
14aeccaa817171ca9fbd8221c6d9a32ea203a221
[ "MIT" ]
null
null
null
libs/common/include/zia/common/Network.hpp
IamBlueSlime/Zia
14aeccaa817171ca9fbd8221c6d9a32ea203a221
[ "MIT" ]
null
null
null
/* ** EPITECH PROJECT, 2020 ** CPP_zia_2019 ** File description: ** zia common Network.hpp */ #pragma once #include "openZia/OperatingSystem.hpp" #if defined(SYSTEM_LINUX) || defined(SYSTEM_DARWIN) #include <arpa/inet.h> #include <unistd.h> typedef int socket_t; #elif defined(SYSTEM_WINDOWS) #define...
18.259259
51
0.681542
IamBlueSlime
74ffcc1aececed48317c8333de4994d83b35f0fa
1,576
cpp
C++
src/chapter_07_concurrency/problem_064_parallel_sort_algorithm.cpp
rturrado/TheModernCppChallenge
648284fb417b6aaa43c21ea2b12a5a21c8cb9269
[ "MIT" ]
null
null
null
src/chapter_07_concurrency/problem_064_parallel_sort_algorithm.cpp
rturrado/TheModernCppChallenge
648284fb417b6aaa43c21ea2b12a5a21c8cb9269
[ "MIT" ]
null
null
null
src/chapter_07_concurrency/problem_064_parallel_sort_algorithm.cpp
rturrado/TheModernCppChallenge
648284fb417b6aaa43c21ea2b12a5a21c8cb9269
[ "MIT" ]
null
null
null
#include "chapter_07_concurrency/problem_064_parallel_sort_algorithm.h" #include <algorithm> // shuffle, sort #include <fmt/ostream.h> #include <fmt/ranges.h> #include <iostream> // cout #include <numeric> // iota #include <ostream> #include <random> // default_random_engine, random_device #include <vector> void...
33.531915
95
0.645939
rturrado
2d0217af5b5ef2ba1846bb426344741cd144532b
830
hpp
C++
src/user/Session.hpp
hephaisto/sharebuy
12a14aba0f7119d6db59f57e067d1f438f7a6329
[ "MIT" ]
null
null
null
src/user/Session.hpp
hephaisto/sharebuy
12a14aba0f7119d6db59f57e067d1f438f7a6329
[ "MIT" ]
9
2016-02-15T22:33:31.000Z
2017-06-18T20:00:30.000Z
src/user/Session.hpp
hephaisto/sharebuy
12a14aba0f7119d6db59f57e067d1f438f7a6329
[ "MIT" ]
null
null
null
#ifndef H_SHAREBUY_SESSION #define H_SHAREBUY_SESSION #include <Wt/Dbo/Session> #include <Wt/Dbo/ptr> #include <Wt/Dbo/backend/Sqlite3> #include <Wt/Auth/Login> #include <Wt/Auth/PasswordService> #include "User.hpp" namespace dbo = Wt::Dbo; typedef Wt::Auth::Dbo::UserDatabase<AuthInfo> UserDatabase; class Session...
21.842105
67
0.728916
hephaisto
2d04a20ace6f1ce3782ca36e1139c1e13ed135cc
5,934
hpp
C++
engine/include/ph/config/GlobalConfig.hpp
PetorSFZ/PhantasyEngine
befe8e9499b7fd93d8765721b6841337a57b0dd6
[ "Zlib" ]
null
null
null
engine/include/ph/config/GlobalConfig.hpp
PetorSFZ/PhantasyEngine
befe8e9499b7fd93d8765721b6841337a57b0dd6
[ "Zlib" ]
null
null
null
engine/include/ph/config/GlobalConfig.hpp
PetorSFZ/PhantasyEngine
befe8e9499b7fd93d8765721b6841337a57b0dd6
[ "Zlib" ]
null
null
null
// Copyright (c) Peter Hillerström (skipifzero.com, peter@hstroem.se) // For other contributors see Contributors.txt // // 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. //...
38.283871
99
0.6606
PetorSFZ
2d0610dac0adb339db6413db131b63d509369c40
1,866
cpp
C++
Source/doom.cpp
louistio/devilution
093dc9b6f6b7b70bcf355d75c9b3c6dcb9efcb22
[ "Unlicense" ]
1
2018-07-13T13:53:54.000Z
2018-07-13T13:53:54.000Z
Source/doom.cpp
louistio/devilution
093dc9b6f6b7b70bcf355d75c9b3c6dcb9efcb22
[ "Unlicense" ]
null
null
null
Source/doom.cpp
louistio/devilution
093dc9b6f6b7b70bcf355d75c9b3c6dcb9efcb22
[ "Unlicense" ]
1
2018-07-13T13:54:03.000Z
2018-07-13T13:54:03.000Z
//HEADER_GOES_HERE #include "../types.h" int doom_quest_time; // weak int doom_stars_drawn; // weak void *pDoomCel; int doomflag; // weak int DoomQuestState; // idb int __cdecl doom_get_frame_from_time() { int result; // eax if ( DoomQuestState == 36001 ) result = 31; else result = DoomQuest...
19.642105
66
0.652197
louistio
2d074bbd96dc9d758388298efe25c1b5a9a5c03e
45,898
cpp
C++
src/pathfinder.cpp
ctu-mrs/mrs_octomap_planner
4ce6b91bdd7e67265536431d159c2fd05d467939
[ "BSD-3-Clause" ]
1
2022-02-22T02:45:40.000Z
2022-02-22T02:45:40.000Z
src/pathfinder.cpp
ctu-mrs/mrs_octomap_planner
4ce6b91bdd7e67265536431d159c2fd05d467939
[ "BSD-3-Clause" ]
null
null
null
src/pathfinder.cpp
ctu-mrs/mrs_octomap_planner
4ce6b91bdd7e67265536431d159c2fd05d467939
[ "BSD-3-Clause" ]
null
null
null
/* includes //{ */ #include <memory> #include <ros/init.h> #include <ros/ros.h> #include <ros/package.h> #include <nodelet/nodelet.h> #include <octomap/OcTree.h> #include <octomap_msgs/Octomap.h> #include <octomap_msgs/conversions.h> #include <algorithm> #include <chrono> #include <cmath> #include <iostream> #inclu...
29.939987
159
0.658765
ctu-mrs
2d0b27b4ad205dcfd07a552d479c53877489bc22
1,859
hpp
C++
src/lattices/bravias/offset.hpp
yangqi137/lattices
91e270fd4e0899f2fc00940ef5ca6f21b0357ab8
[ "MIT" ]
1
2019-09-25T05:35:07.000Z
2019-09-25T05:35:07.000Z
src/lattices/bravias/offset.hpp
yangqi137/lattices
91e270fd4e0899f2fc00940ef5ca6f21b0357ab8
[ "MIT" ]
null
null
null
src/lattices/bravias/offset.hpp
yangqi137/lattices
91e270fd4e0899f2fc00940ef5ca6f21b0357ab8
[ "MIT" ]
null
null
null
#ifndef LATTICES_BRAVIAS_OFFSET_HPP #define LATTICES_BRAVIAS_OFFSET_HPP #include "lattice.hpp" #include <type_traits> #include <cassert> #include <algorithm> namespace lattices { namespace bravias { template <typename TAG, typename SIZE_TYPE> struct OffsetCat { typedef TAG Tag; typedef SIZE_TYP...
23.2375
72
0.622916
yangqi137
2d0b3f3347cebe7280af21004e83d21a90347051
946
cpp
C++
src/dialogs/asknamedialog.cpp
Phoenard/Phoenard-Toolkit
395ce79a3c56701073531cb2caad3637312d906c
[ "MIT" ]
2
2016-04-03T19:15:10.000Z
2020-04-19T16:06:54.000Z
src/dialogs/asknamedialog.cpp
Phoenard/Phoenard-Toolkit
395ce79a3c56701073531cb2caad3637312d906c
[ "MIT" ]
null
null
null
src/dialogs/asknamedialog.cpp
Phoenard/Phoenard-Toolkit
395ce79a3c56701073531cb2caad3637312d906c
[ "MIT" ]
1
2020-04-19T16:06:17.000Z
2020-04-19T16:06:17.000Z
#include "asknamedialog.h" #include "ui_asknamedialog.h" AskNameDialog::AskNameDialog(QWidget *parent) : QDialog(parent, Qt::WindowSystemMenuHint | Qt::WindowTitleHint | Qt::WindowCloseButtonHint), ui(new Ui::AskNameDialog) { ui->setupUi(this); ui->buttonBox->button(QDialogButtonBox::Ok)->setEnabled(f...
23.073171
96
0.714588
Phoenard
2d0c2ec0bcebf82902dbbf03d97d4003c6dd190c
2,884
cc
C++
test/cagey/math/MatrixTest.cc
theycallmecoach/cagey-engine
7a90826da687a1ea2837d0f614aa260aa1b63262
[ "MIT" ]
null
null
null
test/cagey/math/MatrixTest.cc
theycallmecoach/cagey-engine
7a90826da687a1ea2837d0f614aa260aa1b63262
[ "MIT" ]
null
null
null
test/cagey/math/MatrixTest.cc
theycallmecoach/cagey-engine
7a90826da687a1ea2837d0f614aa260aa1b63262
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // // cagey-engine - Toy 3D Engine // Copyright (c) 2014 Kyle Girard <theycallmecoach@gmail.com> // // The MIT License (MIT) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associ...
27.207547
80
0.638696
theycallmecoach
2d0d006e1c698d81a04fb7663967dffe944ca42f
1,813
cpp
C++
core/src/view/special/CallbackScreenShooter.cpp
azuki-monster/megamol
f5d75ae5630f9a71a7fbf81624bfd4f6b253c655
[ "BSD-3-Clause" ]
2
2020-10-16T10:15:37.000Z
2021-01-21T13:06:00.000Z
core/src/view/special/CallbackScreenShooter.cpp
azuki-monster/megamol
f5d75ae5630f9a71a7fbf81624bfd4f6b253c655
[ "BSD-3-Clause" ]
null
null
null
core/src/view/special/CallbackScreenShooter.cpp
azuki-monster/megamol
f5d75ae5630f9a71a7fbf81624bfd4f6b253c655
[ "BSD-3-Clause" ]
1
2021-01-28T01:19:54.000Z
2021-01-28T01:19:54.000Z
/* * CallbackScreenShooter.cpp * * Copyright (C) 2019 by VISUS (Universitaet Stuttgart) * Alle Rechte vorbehalten. */ #include "stdafx.h" #include "mmcore/job/TickCall.h" #include "mmcore/view/special/CallbackScreenShooter.h" #include <functional> namespace megamol { namespace core { namespace view { namespace ...
27.059701
124
0.670712
azuki-monster
2d0f62a563712a1182849fd8dc43349f6996a42e
11,860
hpp
C++
externals/kokkos/core/src/impl/Kokkos_TaskBase.hpp
meng630/GMD_E3SM_SCM
990f84598b79f9b4763c3a825a7d25f4e0f5a565
[ "FTL", "zlib-acknowledgement", "RSA-MD" ]
null
null
null
externals/kokkos/core/src/impl/Kokkos_TaskBase.hpp
meng630/GMD_E3SM_SCM
990f84598b79f9b4763c3a825a7d25f4e0f5a565
[ "FTL", "zlib-acknowledgement", "RSA-MD" ]
null
null
null
externals/kokkos/core/src/impl/Kokkos_TaskBase.hpp
meng630/GMD_E3SM_SCM
990f84598b79f9b4763c3a825a7d25f4e0f5a565
[ "FTL", "zlib-acknowledgement", "RSA-MD" ]
null
null
null
/* //@HEADER // ************************************************************************ // // Kokkos v. 3.0 // Copyright (2020) National Technology & Engineering // Solutions of Sandia, LLC (NTESS). // // Under the terms of Contract DE-NA0003525 with NTESS, // the U.S. Govern...
34.08046
80
0.636509
meng630
2d0fd219a742e6ea3c9d909ba4ad663b160acf58
2,149
cpp
C++
PA1/main.cpp
sameer-h/Data-Structures-Algos
8f0db3cb58298f0da964a8bb2a3b201176a52cb4
[ "MIT" ]
null
null
null
PA1/main.cpp
sameer-h/Data-Structures-Algos
8f0db3cb58298f0da964a8bb2a3b201176a52cb4
[ "MIT" ]
null
null
null
PA1/main.cpp
sameer-h/Data-Structures-Algos
8f0db3cb58298f0da964a8bb2a3b201176a52cb4
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; /* Sameer Hussain - CSCE 221 – PA 1*/ enum class Stress_ball_colors { // enum for stress ball colors red, blue, yellow, green }; enum class Stress_ball_sizes { // enum for stress ball sizes small, medium, large }; class Stress_ball { p...
21.068627
135
0.566775
sameer-h
2d11d16b1f3b6779c29af33d80cff9f46b0da413
21,704
cpp
C++
src/mbgl/style/style.cpp
mapzak/mapbox-gl-native-android-minimod
83f1350747be9a60eb0275bd1a8dcb8e5f027abe
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
src/mbgl/style/style.cpp
mapzak/mapbox-gl-native-android-minimod
83f1350747be9a60eb0275bd1a8dcb8e5f027abe
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
src/mbgl/style/style.cpp
mapzak/mapbox-gl-native-android-minimod
83f1350747be9a60eb0275bd1a8dcb8e5f027abe
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
#include <mbgl/style/style.hpp> #include <mbgl/style/observer.hpp> #include <mbgl/style/source_impl.hpp> #include <mbgl/style/layers/symbol_layer.hpp> #include <mbgl/style/layers/symbol_layer_impl.hpp> #include <mbgl/style/layers/custom_layer.hpp> #include <mbgl/style/layers/custom_layer_impl.hpp> #include <mbgl/style/...
31.546512
121
0.636196
mapzak
2d16b5a3cf4673ab64997dc53e89963724b50405
1,163
cpp
C++
find-duplicates-o1.cpp
whynesspower/best-of-GFG-questions
90ef96c38965e11c0fc0987955f662d2665b4ff3
[ "MIT" ]
1
2021-11-06T14:03:06.000Z
2021-11-06T14:03:06.000Z
find-duplicates-o1.cpp
whynesspower/best-of-GFG-questions
90ef96c38965e11c0fc0987955f662d2665b4ff3
[ "MIT" ]
null
null
null
find-duplicates-o1.cpp
whynesspower/best-of-GFG-questions
90ef96c38965e11c0fc0987955f662d2665b4ff3
[ "MIT" ]
2
2021-09-12T10:15:54.000Z
2021-09-26T20:47:19.000Z
// https://practice.geeksforgeeks.org/problems/find-duplicates-in-an-array/1# #include <bits/stdc++.h> using namespace std; class Solution{ public: vector<int> duplicates(int arr[], int n) { int count=0; //raverse the given array from i= 0 to n-1 elements // Go to index arr[i]%n and inc...
24.744681
77
0.483233
whynesspower
2d175c80d238f813e290181e28568bdf12d8ecc5
847
cpp
C++
C++/0023-Merge-k-Sorted-Lists/soln-1.cpp
wyaadarsh/LeetCode-Solutions
3719f5cb059eefd66b83eb8ae990652f4b7fd124
[ "MIT" ]
5
2020-07-24T17:48:59.000Z
2020-12-21T05:56:00.000Z
C++/0023-Merge-k-Sorted-Lists/soln-1.cpp
zhangyaqi1989/LeetCode-Solutions
2655a1ffc8678ad1de6c24295071308a18c5dc6e
[ "MIT" ]
null
null
null
C++/0023-Merge-k-Sorted-Lists/soln-1.cpp
zhangyaqi1989/LeetCode-Solutions
2655a1ffc8678ad1de6c24295071308a18c5dc6e
[ "MIT" ]
2
2020-07-24T17:49:01.000Z
2020-08-31T19:57:35.000Z
/** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} * }; */ class Solution { public: ListNode* mergeKLists(vector<ListNode*>& lists) { ListNode * dummy = new ListNode(0); ListNode * cur = dummy; ...
25.666667
56
0.46281
wyaadarsh
2d1cf4110ddaa389048aef7e90547f912f684f48
11,954
hpp
C++
Tensile/Source/client/include/ResultComparison.hpp
micmelesse/Tensile
62fb9a16909ddef08010915cfefe4c0341f48daa
[ "MIT" ]
1
2021-12-03T09:42:10.000Z
2021-12-03T09:42:10.000Z
Tensile/Source/client/include/ResultComparison.hpp
micmelesse/Tensile
62fb9a16909ddef08010915cfefe4c0341f48daa
[ "MIT" ]
null
null
null
Tensile/Source/client/include/ResultComparison.hpp
micmelesse/Tensile
62fb9a16909ddef08010915cfefe4c0341f48daa
[ "MIT" ]
null
null
null
/******************************************************************************* * * MIT License * * Copyright (c) 2019 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * ...
34.449568
146
0.446127
micmelesse
2d1f101de73447676d581f3bb6a24b5a97f99fd2
3,450
cpp
C++
Tests/UnitTests/ArrayView2Tests.cpp
ADMTec/CubbyFlow
c71457fd04ccfaf3ef22772bab9bcec4a0a3b611
[ "MIT" ]
216
2017-01-25T04:34:30.000Z
2021-07-15T12:36:06.000Z
Tests/UnitTests/ArrayView2Tests.cpp
ADMTec/CubbyFlow
c71457fd04ccfaf3ef22772bab9bcec4a0a3b611
[ "MIT" ]
323
2017-01-26T13:53:13.000Z
2021-07-14T16:03:38.000Z
Tests/UnitTests/ArrayView2Tests.cpp
ADMTec/CubbyFlow
c71457fd04ccfaf3ef22772bab9bcec4a0a3b611
[ "MIT" ]
33
2017-01-25T05:05:49.000Z
2021-06-17T17:30:56.000Z
#include "gtest/gtest.h" #include <Core/Array/Array.hpp> #include <Core/Array/ArrayView.hpp> using namespace CubbyFlow; TEST(ArrayView2, Constructors) { double data[20]; for (int i = 0; i < 20; ++i) { data[i] = static_cast<double>(i); } ArrayView2<double> acc(data, Vector2UZ(5, 4)); ...
24.820144
63
0.476232
ADMTec
2d21e82648854d56ca83632f57c4237e4e4eafea
2,292
cpp
C++
code_reading/oceanbase-master/src/sql/engine/expr/ob_expr_not_in.cpp
wangcy6/weekly_read
3a8837ee9cd957787ee1785e4066dd623e02e13a
[ "Apache-2.0" ]
null
null
null
code_reading/oceanbase-master/src/sql/engine/expr/ob_expr_not_in.cpp
wangcy6/weekly_read
3a8837ee9cd957787ee1785e4066dd623e02e13a
[ "Apache-2.0" ]
null
null
null
code_reading/oceanbase-master/src/sql/engine/expr/ob_expr_not_in.cpp
wangcy6/weekly_read
3a8837ee9cd957787ee1785e4066dd623e02e13a
[ "Apache-2.0" ]
1
2020-10-18T12:59:31.000Z
2020-10-18T12:59:31.000Z
/** * Copyright (c) 2021 OceanBase * OceanBase CE is licensed under Mulan PubL v2. * You can use this software according to the terms and conditions of the Mulan PubL v2. * You may obtain a copy of Mulan PubL v2 at: * http://license.coscl.org.cn/MulanPubL-2.0 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BAS...
36.967742
88
0.616928
wangcy6
2d2230b10b1b8157f66c3780792c25aab530aebd
15,878
cpp
C++
Demos/Tests/TestBase/ImGuiAdapter.cpp
DhirajWishal/Flint
0750bd515de0b5cc3d23f7c2282c50ca483dff24
[ "Apache-2.0" ]
null
null
null
Demos/Tests/TestBase/ImGuiAdapter.cpp
DhirajWishal/Flint
0750bd515de0b5cc3d23f7c2282c50ca483dff24
[ "Apache-2.0" ]
1
2021-10-30T11:19:53.000Z
2021-10-30T11:19:54.000Z
Demos/Tests/TestBase/ImGuiAdapter.cpp
DhirajWishal/Flint
0750bd515de0b5cc3d23f7c2282c50ca483dff24
[ "Apache-2.0" ]
null
null
null
// Copyright 2021 Dhiraj Wishal // SPDX-License-Identifier: Apache-2.0 #include "ImGuiAdapter.hpp" #include "GraphicsCore/ScreenBoundRenderTarget.hpp" #include "GraphicsCore/ResourcePackager.hpp" #include "Graphics/Tools/ShaderCompiler.hpp" #include <optick.h> constexpr Flint::uint64 ElementCount = 2500; namespace ...
40.817481
179
0.758534
DhirajWishal
2d2267ed5d622867ccea91a7d7a5fab5a7da71ab
6,676
cpp
C++
exportNF/release/windows/obj/src/resources/__res_49.cpp
theblobscp/NekoFreakMod-FridayNightFunkin
232bcb08234cfe881fd6d52b13e6ae443e105fd1
[ "BSD-3-Clause" ]
null
null
null
exportNF/release/windows/obj/src/resources/__res_49.cpp
theblobscp/NekoFreakMod-FridayNightFunkin
232bcb08234cfe881fd6d52b13e6ae443e105fd1
[ "BSD-3-Clause" ]
null
null
null
exportNF/release/windows/obj/src/resources/__res_49.cpp
theblobscp/NekoFreakMod-FridayNightFunkin
232bcb08234cfe881fd6d52b13e6ae443e105fd1
[ "BSD-3-Clause" ]
null
null
null
// Generated by Haxe 4.2.1+bf9ff69 namespace hx { unsigned char __res_49[] = { 0x80, 0x00, 0x00, 0x80, 60,63,120,109,108,32,118,101,114,115, 105,111,110,61,34,49,46,48,34,32, 101,110,99,111,100,105,110,103,61,34, 117,116,102,45,56,34,32,63,62,13, 10,60,100,97,116,97,62,9,13,10, 9,60,115,112,114,105,116,101,32,105, 100,...
33.888325
39
0.680348
theblobscp
2d22a488af91700dbdde75bec12f7c3a600d90dc
551
cpp
C++
hdoj/hdu4841.cpp
songhn233/ACM_Steps
6f2edeca9bf4fc999a8148bc90b2d8d0e59d48fe
[ "CC0-1.0" ]
1
2020-08-10T21:40:21.000Z
2020-08-10T21:40:21.000Z
hdoj/hdu4841.cpp
songhn233/Algorithm-Packages
56d6f3c2467c175ab8a19b82bdfb25fc881e2206
[ "CC0-1.0" ]
null
null
null
hdoj/hdu4841.cpp
songhn233/Algorithm-Packages
56d6f3c2467c175ab8a19b82bdfb25fc881e2206
[ "CC0-1.0" ]
null
null
null
#include<iostream> #include<algorithm> #include<cstdio> #include<cstring> #include<vector> using namespace std; const int maxn=100000; int n,m; vector<int> a; int main() { while(cin>>n>>m) { a.clear(); for(int i=0;i<2*n;i++) a.push_back(i); int pos=0; for(int i=0;i<n;i++) { pos=(pos+m-1)%a.size(); a.e...
14.891892
40
0.53539
songhn233
2d22aaba97ced5a101977b949e833bbe27571bdf
4,193
cc
C++
slvn-tech/src/slvn_buffer.cc
Planksu/slvn-tech
628565e26b0f83f34337937f4bc0b5abf26afe5d
[ "BSD-2-Clause" ]
null
null
null
slvn-tech/src/slvn_buffer.cc
Planksu/slvn-tech
628565e26b0f83f34337937f4bc0b5abf26afe5d
[ "BSD-2-Clause" ]
null
null
null
slvn-tech/src/slvn_buffer.cc
Planksu/slvn-tech
628565e26b0f83f34337937f4bc0b5abf26afe5d
[ "BSD-2-Clause" ]
null
null
null
// BSD 2-Clause License // // Copyright (c) 2021, Antton Jokinen // 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,...
34.941667
127
0.740281
Planksu
2d22b7af185dfcd5848585b115ea9be503cc7190
41
hpp
C++
src/_Internals/hsl_ma86z.hpp
GitBytes/hiop
8442c75b7e1e076a8a3bf7028e3cc79c7f8cd07f
[ "BSD-3-Clause" ]
126
2017-12-30T13:06:07.000Z
2022-03-27T03:30:46.000Z
src/_Internals/hsl_ma86z.hpp
GitBytes/hiop
8442c75b7e1e076a8a3bf7028e3cc79c7f8cd07f
[ "BSD-3-Clause" ]
344
2018-01-24T22:05:38.000Z
2022-03-31T17:49:52.000Z
src/_Internals/hsl_ma86z.hpp
GitBytes/hiop
8442c75b7e1e076a8a3bf7028e3cc79c7f8cd07f
[ "BSD-3-Clause" ]
30
2018-01-20T00:16:06.000Z
2022-03-18T12:57:19.000Z
#define HSL_MA86Z_HEADER_NOT_CPP_READY 1
20.5
40
0.902439
GitBytes
2d245a07a632f00c2b9329b9290fda3b96c39bbf
269
hpp
C++
pythran/pythonic/operator_/__ge__.hpp
artas360/pythran
66dad52d52be71693043e9a7d7578cfb9cb3d1da
[ "BSD-3-Clause" ]
null
null
null
pythran/pythonic/operator_/__ge__.hpp
artas360/pythran
66dad52d52be71693043e9a7d7578cfb9cb3d1da
[ "BSD-3-Clause" ]
null
null
null
pythran/pythonic/operator_/__ge__.hpp
artas360/pythran
66dad52d52be71693043e9a7d7578cfb9cb3d1da
[ "BSD-3-Clause" ]
null
null
null
#ifndef PYTHONIC_OPERATOR_GE__HPP #define PYTHONIC_OPERATOR_GE__HPP #include "pythonic/include/operator_/__ge__.hpp" #include "pythonic/operator_/ge.hpp" namespace pythonic { namespace operator_ { FPROXY_IMPL(pythonic::operator_, __ge__, ge); } } #endif
14.944444
49
0.769517
artas360
2d247cd0a8f5408a4c3257dcc636fc5140146b64
11,226
cpp
C++
BGFXWidget.cpp
PetrPPetrov/bgfx-qt5-win
1008de71ef2cb061a02ec8c7aaf9ba1a74799f16
[ "MIT" ]
6
2019-12-12T09:56:36.000Z
2021-09-04T02:40:27.000Z
BGFXWidget.cpp
PetrPPetrov/bgfx-qt5-win
1008de71ef2cb061a02ec8c7aaf9ba1a74799f16
[ "MIT" ]
null
null
null
BGFXWidget.cpp
PetrPPetrov/bgfx-qt5-win
1008de71ef2cb061a02ec8c7aaf9ba1a74799f16
[ "MIT" ]
3
2019-12-13T10:42:30.000Z
2020-11-12T12:51:41.000Z
#include <cassert> #include <fstream> #include "BGFXWidget.h" struct PosColorVertex { float m_x; float m_y; float m_z; uint32_t m_abgr; static void init() { ms_layout .begin() .add(bgfx::Attrib::Position, 3, bgfx::AttribType::Float) .add(bgfx::Attrib...
33.017647
108
0.656155
PetrPPetrov
2d25ff4876071ba76ab86ad68633157e3eabee35
956
hpp
C++
android-28/android/content/res/AssetFileDescriptor_AutoCloseOutputStream.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-28/android/content/res/AssetFileDescriptor_AutoCloseOutputStream.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-30/android/content/res/AssetFileDescriptor_AutoCloseOutputStream.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#pragma once #include "../../os/ParcelFileDescriptor_AutoCloseOutputStream.hpp" class JByteArray; namespace android::content::res { class AssetFileDescriptor; } namespace android::content::res { class AssetFileDescriptor_AutoCloseOutputStream : public android::os::ParcelFileDescriptor_AutoCloseOutputStream { pub...
29.875
230
0.775105
YJBeetle
2d261fc49eb26146deb080dcd097a5bdaccac955
12,375
cxx
C++
PWGJE/EMCALJetTasks/UserTasks/AliAnalysisTaskParticleRandomizer.cxx
wiechula/AliPhysics
6c5c45a5c985747ee82328d8fd59222b34529895
[ "BSD-3-Clause" ]
null
null
null
PWGJE/EMCALJetTasks/UserTasks/AliAnalysisTaskParticleRandomizer.cxx
wiechula/AliPhysics
6c5c45a5c985747ee82328d8fd59222b34529895
[ "BSD-3-Clause" ]
null
null
null
PWGJE/EMCALJetTasks/UserTasks/AliAnalysisTaskParticleRandomizer.cxx
wiechula/AliPhysics
6c5c45a5c985747ee82328d8fd59222b34529895
[ "BSD-3-Clause" ]
null
null
null
/************************************************************************** * Copyright(c) 1998-2016, ALICE Experiment at CERN, All rights reserved. * * * * Author: R. Haake. * * Contributors ...
39.410828
563
0.699879
wiechula
2d2884437496b2c91a3f8220043be5a0bbd28c58
357
hpp
C++
srook/config/disable_warnings/push/Wvariadic-macros.hpp
falgon/srookCppLibraries
ebcfacafa56026f6558bcd1c584ec774cc751e57
[ "MIT" ]
1
2018-07-01T07:54:37.000Z
2018-07-01T07:54:37.000Z
srook/config/disable_warnings/push/Wvariadic-macros.hpp
falgon/srookCppLibraries
ebcfacafa56026f6558bcd1c584ec774cc751e57
[ "MIT" ]
null
null
null
srook/config/disable_warnings/push/Wvariadic-macros.hpp
falgon/srookCppLibraries
ebcfacafa56026f6558bcd1c584ec774cc751e57
[ "MIT" ]
null
null
null
#ifndef INCLUDED_SROOK_CONFIG_PRAGMA_PUSH_WVARIADIC_MACROS_HPP #define INCLUDED_SROOK_CONFIG_PRAGMA_PUSH_WVARIADIC_MACROS_HPP #ifdef __GNUC__ # pragma GCC diagnostic push # pragma GCC diagnostic ignored "-Wvariadic-macros" #elif defined(__clang__) # pragma clang diagnostic push # pragma clang diagnostic ignore...
27.461538
62
0.826331
falgon
2d2deae69a783d4d2876eaaada6bcafba490e52d
6,002
cc
C++
paddle/fluid/operators/batch_fc_op.cc
L-Net-1992/Paddle
4d0ca02ba56760b456f3d4b42a538555b9b6c307
[ "Apache-2.0" ]
11
2016-08-29T07:43:26.000Z
2016-08-29T07:51:24.000Z
paddle/fluid/operators/batch_fc_op.cc
L-Net-1992/Paddle
4d0ca02ba56760b456f3d4b42a538555b9b6c307
[ "Apache-2.0" ]
null
null
null
paddle/fluid/operators/batch_fc_op.cc
L-Net-1992/Paddle
4d0ca02ba56760b456f3d4b42a538555b9b6c307
[ "Apache-2.0" ]
1
2021-09-24T11:23:36.000Z
2021-09-24T11:23:36.000Z
/* Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or...
37.987342
80
0.670776
L-Net-1992
2d2f774b81f3dc61938649d8e53c4b5b0ea13480
6,246
cpp
C++
Source/ChilliSource/Rendering/Particle/Emitter/Cone2DParticleEmitter.cpp
fjpavm/ChilliSource
11c38bada3fff8f4701dee5ad7718c8bc150c3b6
[ "MIT" ]
null
null
null
Source/ChilliSource/Rendering/Particle/Emitter/Cone2DParticleEmitter.cpp
fjpavm/ChilliSource
11c38bada3fff8f4701dee5ad7718c8bc150c3b6
[ "MIT" ]
null
null
null
Source/ChilliSource/Rendering/Particle/Emitter/Cone2DParticleEmitter.cpp
fjpavm/ChilliSource
11c38bada3fff8f4701dee5ad7718c8bc150c3b6
[ "MIT" ]
null
null
null
// // Cone2DParticleEmitter.cpp // Chilli Source // Created by Ian Copland on 03/12/2014. // // The MIT License (MIT) // // Copyright (c) 2014 Tag Games Limited // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software...
36.95858
141
0.612552
fjpavm
2d2fcf75265b7dd8ae80f7c1aa8c2d470c62703f
1,564
cc
C++
chrome/browser/ui/ash/stub_user_accounts_delegate.cc
Fusion-Rom/android_external_chromium_org
d8b126911c6ea9753e9f526bee5654419e1d0ebd
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2020-01-25T10:18:18.000Z
2021-01-23T15:29:56.000Z
chrome/browser/ui/ash/stub_user_accounts_delegate.cc
Fusion-Rom/android_external_chromium_org
d8b126911c6ea9753e9f526bee5654419e1d0ebd
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2018-02-10T21:00:08.000Z
2018-03-20T05:09:50.000Z
chrome/browser/ui/ash/stub_user_accounts_delegate.cc
Fusion-Rom/android_external_chromium_org
d8b126911c6ea9753e9f526bee5654419e1d0ebd
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2020-11-04T06:34:36.000Z
2020-11-04T06:34:36.000Z
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ui/ash/stub_user_accounts_delegate.h" #include <cctype> #include "base/logging.h" StubUserAccountsDelegate::StubUserAccountsDe...
29.509434
79
0.748721
Fusion-Rom
2d303bab77750a62a03e74edfd4860b26dc3417a
1,739
cpp
C++
dbms/src/Storages/ColumnDefault.cpp
solotzg/tiflash
66f45c76692e941bc845c01349ea89de0f2cc210
[ "Apache-2.0" ]
85
2022-03-25T09:03:16.000Z
2022-03-25T09:45:03.000Z
dbms/src/Storages/ColumnDefault.cpp
solotzg/tiflash
66f45c76692e941bc845c01349ea89de0f2cc210
[ "Apache-2.0" ]
7
2022-03-25T08:59:10.000Z
2022-03-25T09:40:13.000Z
dbms/src/Storages/ColumnDefault.cpp
solotzg/tiflash
66f45c76692e941bc845c01349ea89de0f2cc210
[ "Apache-2.0" ]
11
2022-03-25T09:15:36.000Z
2022-03-25T09:45:07.000Z
// Copyright 2022 PingCAP, 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 to i...
31.618182
106
0.703853
solotzg
2d30b3d309054efc52f95ba15b4c8f01d5f6c495
8,498
cpp
C++
trikScriptRunner/src/pythonEngineWorker.cpp
DCNick3/trikRuntime
25b14816d3d49c67f0e71a78f278065eca188a69
[ "Apache-2.0" ]
null
null
null
trikScriptRunner/src/pythonEngineWorker.cpp
DCNick3/trikRuntime
25b14816d3d49c67f0e71a78f278065eca188a69
[ "Apache-2.0" ]
null
null
null
trikScriptRunner/src/pythonEngineWorker.cpp
DCNick3/trikRuntime
25b14816d3d49c67f0e71a78f278065eca188a69
[ "Apache-2.0" ]
null
null
null
/* Copyright 2018 Iakov Kirilenko, CyberTech Labs 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 applic...
25.829787
111
0.725465
DCNick3
2d331816394adba21c6cc67f263984cd71d3eda2
4,202
hpp
C++
src/sparse/KokkosSparse_spgemm.hpp
NexGenAnalytics/kokkos-kernels
8381db0486674c1be943de23974821ddfb9e6c29
[ "BSD-3-Clause" ]
null
null
null
src/sparse/KokkosSparse_spgemm.hpp
NexGenAnalytics/kokkos-kernels
8381db0486674c1be943de23974821ddfb9e6c29
[ "BSD-3-Clause" ]
7
2020-05-04T16:43:08.000Z
2022-01-13T16:31:17.000Z
src/sparse/KokkosSparse_spgemm.hpp
NexGenAnalytics/kokkos-kernels
8381db0486674c1be943de23974821ddfb9e6c29
[ "BSD-3-Clause" ]
null
null
null
/* //@HEADER // ************************************************************************ // // Kokkos v. 3.0 // Copyright (2020) National Technology & Engineering // Solutions of Sandia, LLC (NTESS). // // Under the terms of Contract DE-NA0003525 with NTESS, // the U.S. Govern...
42.444444
89
0.700857
NexGenAnalytics
2d3627a8ecae455148a72785237d69dac685b9f4
3,834
cpp
C++
cryptarithmetic-puzzles/main.cpp
enesdemirag/graph-algorithms
7eec0833feaa3b60e2aad098f49f0483435cc841
[ "MIT" ]
2
2021-04-23T23:07:13.000Z
2021-11-08T11:54:18.000Z
cryptarithmetic-puzzles/main.cpp
enesdemirag/graph-algorithms
7eec0833feaa3b60e2aad098f49f0483435cc841
[ "MIT" ]
null
null
null
cryptarithmetic-puzzles/main.cpp
enesdemirag/graph-algorithms
7eec0833feaa3b60e2aad098f49f0483435cc841
[ "MIT" ]
null
null
null
/* @Author Student Name: Enes Demirag Student ID : 504201571 Mail : ensdmrg@gmail.com Date : 06.04.2021 Dear sir/madam, This projects consist of a Node class, two graph traverse algorithms (BFS and DFS) and other utility functions. In order to compile and run this project, first you need to link file...
30.919355
120
0.638498
enesdemirag
2d3777ba79e78170975462232ac50090c9850def
820
cpp
C++
src/Actions/Action_Help.cpp
PoetaKodu/cpp-pkg
3d5cabf4e015f4727328db430a003c189aeed88a
[ "MIT" ]
9
2021-05-07T21:18:26.000Z
2022-02-01T20:44:13.000Z
src/Actions/Action_Help.cpp
PoetaKodu/pacc
3d5cabf4e015f4727328db430a003c189aeed88a
[ "MIT" ]
null
null
null
src/Actions/Action_Help.cpp
PoetaKodu/pacc
3d5cabf4e015f4727328db430a003c189aeed88a
[ "MIT" ]
null
null
null
#include PACC_PCH #include <Pacc/App/App.hpp> #include <Pacc/App/Help.hpp> #include <Pacc/Helpers/Formatting.hpp> /////////////////////////////////////////////////// void PaccApp::displayHelp(bool abbrev_) { auto programName = fs::u8path(args[0]).stem(); auto const& style = fmt_args::s(); // Introduction: fmt:...
20.5
77
0.576829
PoetaKodu
2d379748b834826a6358363cff27d9df11d693af
15,303
cpp
C++
Splendor/Splendor/UIGameSession.cpp
TFphoenix/splendor
0fcf1fef69e8b85dae542636bf0ea3d682f0f142
[ "Apache-2.0" ]
null
null
null
Splendor/Splendor/UIGameSession.cpp
TFphoenix/splendor
0fcf1fef69e8b85dae542636bf0ea3d682f0f142
[ "Apache-2.0" ]
null
null
null
Splendor/Splendor/UIGameSession.cpp
TFphoenix/splendor
0fcf1fef69e8b85dae542636bf0ea3d682f0f142
[ "Apache-2.0" ]
null
null
null
#include "UIGameSession.h" #include "UISelectedCard.h" #include "SoundSystem.h" #include <iostream> UIGameSession::UIGameSession(const sf::Vector2u& windowSize, const PregameSetup& pregameSetup, std::vector<Player>* pPlayers, Board* pBoard, std::reference_wrapper<Player>& rActivePlayer) : // instantiate Logic p_boa...
33.123377
189
0.723453
TFphoenix
2d38326ecddd1ff283a1a92c94cfe031469d6bc7
56
hh
C++
RAVL2/MSVC/include/Ravl/SourceTools/RCSFile.hh
isuhao/ravl2
317e0ae1cb51e320b877c3bad6a362447b5e52ec
[ "BSD-Source-Code" ]
null
null
null
RAVL2/MSVC/include/Ravl/SourceTools/RCSFile.hh
isuhao/ravl2
317e0ae1cb51e320b877c3bad6a362447b5e52ec
[ "BSD-Source-Code" ]
null
null
null
RAVL2/MSVC/include/Ravl/SourceTools/RCSFile.hh
isuhao/ravl2
317e0ae1cb51e320b877c3bad6a362447b5e52ec
[ "BSD-Source-Code" ]
null
null
null
#include "../.././SourceTools/CodeManager/RCSFile.hh"
14
53
0.678571
isuhao
2d3a08f639ed2b9648dd61a154dd07fec0631e68
1,294
cpp
C++
Game!/main.cpp
leonore13/Game-
d984379f5e301700f973a692fc6b92e3ef852764
[ "Apache-2.0" ]
null
null
null
Game!/main.cpp
leonore13/Game-
d984379f5e301700f973a692fc6b92e3ef852764
[ "Apache-2.0" ]
null
null
null
Game!/main.cpp
leonore13/Game-
d984379f5e301700f973a692fc6b92e3ef852764
[ "Apache-2.0" ]
null
null
null
// // main.cpp // Game! // // Created by Sophia Nguyen on 2016-05-05. // Copyright © 2016 Sophia Nguyen. All rights reserved. // // The story! #include <iostream> #include <string> #include <cctype> #include <vector> #include "Character.hpp" using namespace std; int main() { string char_name; int age;...
28.130435
502
0.623648
leonore13
2d3c4a6ec4f2c2c3a8e7522af43e7e1c1601aeee
1,312
hpp
C++
game/include/Components/PieceComponent.hpp
Hvvang/Puzzle
0f798e3d1f4388b255a7a393b8671e4d1930cdb0
[ "MIT" ]
null
null
null
game/include/Components/PieceComponent.hpp
Hvvang/Puzzle
0f798e3d1f4388b255a7a393b8671e4d1930cdb0
[ "MIT" ]
null
null
null
game/include/Components/PieceComponent.hpp
Hvvang/Puzzle
0f798e3d1f4388b255a7a393b8671e4d1930cdb0
[ "MIT" ]
null
null
null
#pragma once #include <EntityManager.hpp> #include <Components/Sprite.hpp> #include <Components/TileComponent.hpp> #include <array> #include <memory> class TileComponent; using ::Engine::ECS::Entity; using ::Engine::ECS::Component; using ::Engine::ECS::Sprite; using ::Engine::Math::Vector2i; using ::Engine::Math::o...
24.296296
77
0.603659
Hvvang
2d3e51c7d7d3345024272f6b973d84b86d115a67
6,126
cpp
C++
src/graphics/deferredrenderer.cpp
Eae02/tank-game
0c526b177ccc15dd49e3228489163f13335040db
[ "Zlib" ]
null
null
null
src/graphics/deferredrenderer.cpp
Eae02/tank-game
0c526b177ccc15dd49e3228489163f13335040db
[ "Zlib" ]
null
null
null
src/graphics/deferredrenderer.cpp
Eae02/tank-game
0c526b177ccc15dd49e3228489163f13335040db
[ "Zlib" ]
null
null
null
#include "deferredrenderer.h" #include "irenderer.h" #include "quadmesh.h" #include "gl/shadermodule.h" #include "../utils/ioutils.h" #include "../settings.h" namespace TankGame { constexpr GLenum DeferredRenderer::COLOR_FORMAT; constexpr GLenum DeferredRenderer::NORMALS_AND_SPECULAR_FORMAT; constexpr GLenum Deferr...
37.353659
127
0.773425
Eae02
2d42214c1315403d801c760de700eb2f2bf6f190
14,820
cpp
C++
SRC/DVD/MountSDK.cpp
ogamespec/dolwin
7aaa864f9070ec14193f39f2e387087ccd5d0a93
[ "CC0-1.0" ]
107
2015-09-07T21:28:32.000Z
2022-02-14T03:13:01.000Z
SRC/DVD/MountSDK.cpp
emu-russia/dolwin
7aaa864f9070ec14193f39f2e387087ccd5d0a93
[ "CC0-1.0" ]
116
2020-03-11T16:42:02.000Z
2021-05-27T17:05:40.000Z
SRC/DVD/MountSDK.cpp
ogamespec/dolwin
7aaa864f9070ec14193f39f2e387087ccd5d0a93
[ "CC0-1.0" ]
8
2017-05-18T21:01:19.000Z
2021-04-30T11:28:14.000Z
/* Code for mounting the Dolphin SDK folder as a virtual disk. All the necessary data (BI2, Appldr, some DOL executable, we take from the SDK). If they are not there, then the disk is simply not mounted. */ #include "pch.h" using namespace Debug; namespace DVD { MountDolphinSdk::MountDolphinSdk(const wchar_t * Dol...
23.449367
194
0.65803
ogamespec
2d43135d6fbc1a59c5f322668622952109189dd4
1,240
cpp
C++
tests/inputreader_tests.cpp
Stellaris-code/PEGLib
e106be64c9b2b5ad91b5a580e5c0a722082ef79b
[ "MIT" ]
1
2017-08-18T11:31:33.000Z
2017-08-18T11:31:33.000Z
tests/inputreader_tests.cpp
Stellaris-code/PEGLib
e106be64c9b2b5ad91b5a580e5c0a722082ef79b
[ "MIT" ]
null
null
null
tests/inputreader_tests.cpp
Stellaris-code/PEGLib
e106be64c9b2b5ad91b5a580e5c0a722082ef79b
[ "MIT" ]
null
null
null
/* inputreader_tests.cpp %{Cpp:License:ClassName} - Yann BOUCHER (yann) 20 ** ** ** DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE ** Version 2, December 2004 ** ** Copyright (C) 2004 Sam Hocevar <sam@hocevar.net> ** ** Everyone is permitted to copy and distribute verbatim or modified ** cop...
26.382979
75
0.679032
Stellaris-code
2d446a4cf725b8535908871c9e316e9f9f518747
604
hpp
C++
android-31/android/app/appsearch/SetSchemaResponse.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-31/android/app/appsearch/SetSchemaResponse.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-31/android/app/appsearch/SetSchemaResponse.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#pragma once #include "../../../JObject.hpp" namespace android::app::appsearch { class SetSchemaResponse : public JObject { public: // Fields // QJniObject forward template<typename ...Ts> explicit SetSchemaResponse(const char *className, const char *sig, Ts...agv) : JObject(className, sig, std::forward<T...
23.230769
158
0.706954
YJBeetle
2d4577a61f63ba366c8fa2aca81a7e3dc355fe10
1,711
cpp
C++
util/qtAbstractSetting.cpp
BetsyMcPhail/qtextensions
b2848e06ebba4c39dc63caa2363abc50db75f9d9
[ "BSD-3-Clause" ]
1
2017-07-31T07:08:05.000Z
2017-07-31T07:08:05.000Z
util/qtAbstractSetting.cpp
BetsyMcPhail/qtextensions
b2848e06ebba4c39dc63caa2363abc50db75f9d9
[ "BSD-3-Clause" ]
null
null
null
util/qtAbstractSetting.cpp
BetsyMcPhail/qtextensions
b2848e06ebba4c39dc63caa2363abc50db75f9d9
[ "BSD-3-Clause" ]
null
null
null
/*ckwg +5 * Copyright 2013 by Kitware, Inc. All Rights Reserved. Please refer to * KITWARE_LICENSE.TXT for licensing information, or contact General Counsel, * Kitware, Inc., 28 Corporate Drive, Clifton Park, NY 12065. */ #include "qtAbstractSetting.h" #include <QSettings> //-------------------------------------...
28.516667
79
0.462887
BetsyMcPhail
2d45bbd5e06e0a437259e7fa31a2cf68738d2740
1,290
cc
C++
auditd/src/audit_interface.cc
BenHuddleston/kv_engine
78123c9aa2c2feb24b7c31eecc862bf2ed6325e4
[ "MIT", "BSD-3-Clause" ]
null
null
null
auditd/src/audit_interface.cc
BenHuddleston/kv_engine
78123c9aa2c2feb24b7c31eecc862bf2ed6325e4
[ "MIT", "BSD-3-Clause" ]
null
null
null
auditd/src/audit_interface.cc
BenHuddleston/kv_engine
78123c9aa2c2feb24b7c31eecc862bf2ed6325e4
[ "MIT", "BSD-3-Clause" ]
null
null
null
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2016-Present Couchbase, Inc. * * Use of this software is governed by the Business Source License included * in the file licenses/BSL-Couchbase.txt. As of the Change Date specified * in that file, in accordance...
31.463415
79
0.646512
BenHuddleston
2d4b67aa7abca789a228727007652cbab13a2a27
1,837
cpp
C++
Data_Structures/C++/Graph/snake_ladder.cpp
ankit1414/DS_with_hacktoberfest
9f005b923f18a0db7d97f93eeb098099ea32d2d2
[ "Apache-2.0" ]
null
null
null
Data_Structures/C++/Graph/snake_ladder.cpp
ankit1414/DS_with_hacktoberfest
9f005b923f18a0db7d97f93eeb098099ea32d2d2
[ "Apache-2.0" ]
null
null
null
Data_Structures/C++/Graph/snake_ladder.cpp
ankit1414/DS_with_hacktoberfest
9f005b923f18a0db7d97f93eeb098099ea32d2d2
[ "Apache-2.0" ]
1
2020-10-03T03:55:52.000Z
2020-10-03T03:55:52.000Z
#include"competitive.h" using namespace std; template<typename T> class Graph{ map<T,list<T>>m; public: void insert(T u,T v){ m[u].push_back(v); } void bfs(T src,T dest){ deque<T>q; map<T,int>dist; map<T,T>parent; q.push_back(src); for(auto &...
22.402439
59
0.392488
ankit1414
2d4c24308bdb7e7553f8c70d8eeff07c8360fdd9
1,025
hh
C++
plugins/gui/abstract-gui.hh
Schroedingers-Cat/clap-examples
9cbf04216316ca5bccb75b884906caa15766440b
[ "MIT" ]
null
null
null
plugins/gui/abstract-gui.hh
Schroedingers-Cat/clap-examples
9cbf04216316ca5bccb75b884906caa15766440b
[ "MIT" ]
null
null
null
plugins/gui/abstract-gui.hh
Schroedingers-Cat/clap-examples
9cbf04216316ca5bccb75b884906caa15766440b
[ "MIT" ]
null
null
null
#pragma once #include <clap/clap.h> namespace clap { class CorePlugin; class AbstractGuiListener; class AbstractGui { public: AbstractGui(AbstractGuiListener &listener); virtual ~AbstractGui(); virtual void defineParameter(const clap_param_info &paramInfo) = 0; virtual void updat...
26.973684
88
0.684878
Schroedingers-Cat
2d4c3ec94e49c50d982126d1b2384bbd8c865ebf
255
cpp
C++
code3.cpp
gaosiqiang/CSCode
cce6f63d74cca5fd843ac6a734809cc481b6d618
[ "MIT" ]
null
null
null
code3.cpp
gaosiqiang/CSCode
cce6f63d74cca5fd843ac6a734809cc481b6d618
[ "MIT" ]
null
null
null
code3.cpp
gaosiqiang/CSCode
cce6f63d74cca5fd843ac6a734809cc481b6d618
[ "MIT" ]
null
null
null
#include <iostream> //循环结构 int main(int argc, char const *argv[]) { //输出小于a的自然数 int a; std::cout << "请输入一个整数"; std::cin >> a; if (a > 0) { for (int i = 0; i < a; ++i) { std::cout << i << std::endl; } } else { std::cout << "不得小于1"; } }
12.75
38
0.494118
gaosiqiang
2d5242fd89a6e0731ca54baf77eceafc0698fa95
8,388
cpp
C++
modules/boost/simd/operator/unit/scalar/access.cpp
pbrunet/nt2
2aeca0f6a315725b335efd5d9dc95d72e10a7fb7
[ "BSL-1.0" ]
2
2016-09-14T00:23:53.000Z
2018-01-14T12:51:18.000Z
modules/boost/simd/operator/unit/scalar/access.cpp
pbrunet/nt2
2aeca0f6a315725b335efd5d9dc95d72e10a7fb7
[ "BSL-1.0" ]
null
null
null
modules/boost/simd/operator/unit/scalar/access.cpp
pbrunet/nt2
2aeca0f6a315725b335efd5d9dc95d72e10a7fb7
[ "BSL-1.0" ]
null
null
null
/******************************************************************************* * Copyright 2003 & onward LASMEA UMR 6602 CNRS/Univ. Clermont II * Copyright 2009 & onward LRI UMR 8623 CNRS/Univ Paris Sud XI * * Distributed under the Boost Software License, Version 0x01.0. * ...
43.46114
86
0.549952
pbrunet
2d53604aceb64d056aea6d2e56e93cbe9e0be93c
26,331
cpp
C++
Code/Tools/SerializeContextTools/Dumper.cpp
cypherdotXd/o3de
bb90c4ddfe2d495e9c00ebf1e2650c6d603a5676
[ "Apache-2.0", "MIT" ]
11
2021-07-08T09:58:26.000Z
2022-03-17T17:59:26.000Z
Code/Tools/SerializeContextTools/Dumper.cpp
RoddieKieley/o3de
e804fd2a4241b039a42d9fa54eaae17dc94a7a92
[ "Apache-2.0", "MIT" ]
29
2021-07-06T19:33:52.000Z
2022-03-22T10:27:49.000Z
Code/Tools/SerializeContextTools/Dumper.cpp
RoddieKieley/o3de
e804fd2a4241b039a42d9fa54eaae17dc94a7a92
[ "Apache-2.0", "MIT" ]
4
2021-07-06T19:24:43.000Z
2022-03-31T12:42:27.000Z
/* * Copyright (c) Contributors to the Open 3D Engine Project. * For complete copyright and license terms please see the LICENSE at the root of this distribution. * * SPDX-License-Identifier: Apache-2.0 OR MIT * */ #include <Dumper.h> // Moved to the top because AssetSerializer requires include for the Serialize...
45.242268
184
0.624967
cypherdotXd
2d54821c3a21a2235f96c05a611dc5675b8d4133
8,859
cpp
C++
sources/enduro2d/utils/strings.cpp
NechukhrinN/enduro2d
774f120395885a6f0f21418c4de024e7668ee436
[ "MIT" ]
92
2018-08-07T14:45:33.000Z
2021-11-14T20:37:23.000Z
sources/enduro2d/utils/strings.cpp
NechukhrinN/enduro2d
774f120395885a6f0f21418c4de024e7668ee436
[ "MIT" ]
43
2018-09-30T20:48:03.000Z
2020-04-20T20:05:26.000Z
sources/enduro2d/utils/strings.cpp
NechukhrinN/enduro2d
774f120395885a6f0f21418c4de024e7668ee436
[ "MIT" ]
13
2018-08-08T13:45:28.000Z
2020-10-02T11:55:58.000Z
/******************************************************************************* * This file is part of the "Enduro2D" * For conditions of distribution and use, see copyright notice in LICENSE.md * Copyright (C) 2018-2020, by Matvey Cherevko (blackmatov@gmail.com) ***************************************************...
25.979472
85
0.531098
NechukhrinN
2d58fdfda68d9263cfd696c601afefbff3d1f671
15,221
cpp
C++
Libs/Db/src/LegacyDataset.cpp
n8vm/OpenVisus
dab633f6ecf13ffcf9ac2ad47d51e48902d4aaef
[ "Unlicense" ]
1
2019-04-30T12:11:24.000Z
2019-04-30T12:11:24.000Z
Libs/Db/src/LegacyDataset.cpp
tjhei/OpenVisus
f0c3bf21cb0c02f303025a8efb68b8c36701a9fd
[ "Unlicense" ]
null
null
null
Libs/Db/src/LegacyDataset.cpp
tjhei/OpenVisus
f0c3bf21cb0c02f303025a8efb68b8c36701a9fd
[ "Unlicense" ]
null
null
null
/*----------------------------------------------------------------------------- Copyright(c) 2010 - 2018 ViSUS L.L.C., Scientific Computing and Imaging Institute of the University of Utah ViSUS L.L.C., 50 W.Broadway, Ste. 300, 84101 - 2044 Salt Lake City, UT University of Utah, 72 S Central Campus Dr, Room 3750, 84112...
31.448347
151
0.663228
n8vm
2d5aadae4d03a88a1372ef72d0e2d1dbe87b0a79
1,793
hpp
C++
hld/usb/hld_usb_driver.hpp
brandonbraun653/Thor_STM32
2aaba95728936b2d5784e99b96c208a94e3cb8df
[ "MIT" ]
null
null
null
hld/usb/hld_usb_driver.hpp
brandonbraun653/Thor_STM32
2aaba95728936b2d5784e99b96c208a94e3cb8df
[ "MIT" ]
36
2019-03-24T14:43:25.000Z
2021-01-11T00:05:30.000Z
hld/usb/hld_usb_driver.hpp
brandonbraun653/Thor
46e022f1791c8644955135c630fdd12a4296e44d
[ "MIT" ]
null
null
null
/******************************************************************************** * File Name: * hld_usb_driver.hpp * * Description: * Thor USB high level driver * * 2020 | Brandon Braun | brandonbraun653@gmail.com ********************************************************************************/ #prag...
27.166667
83
0.452872
brandonbraun653
2d5b922bd699638d8abf206102207bccd7b5f96b
614
cpp
C++
solutions/729.my-calendar-i.254107150.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
78
2020-10-22T11:31:53.000Z
2022-02-22T13:27:49.000Z
solutions/729.my-calendar-i.254107150.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
null
null
null
solutions/729.my-calendar-i.254107150.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
26
2020-10-23T15:10:44.000Z
2021-11-07T16:13:50.000Z
class MyCalendar { map<int, int> mp; public: MyCalendar() {} bool book(int start, int end) { auto it1 = mp.lower_bound(start); if (it1 != mp.end() && it1->first == start) return false; if (it1 != mp.end() && it1->first < end) return false; if (mp.size() && it1 != mp.begin()) { ...
17.055556
66
0.552117
satu0king
2d5c8a2966ce7dade5b76f6074cf52aed4df5f72
31,088
cpp
C++
base/fs/rdr2/rdpdr/drkdx/rdpdrkd.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
base/fs/rdr2/rdpdr/drkdx/rdpdrkd.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
base/fs/rdr2/rdpdr/drkdx/rdpdrkd.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/*++ Copyright (c) 1990 Microsoft Corporation Module Name: rdpdrkd.c Abstract: Redirector Kernel Debugger extension Author: Balan Sethu Raman (SethuR) 11-May-1994 Revision History: 11-Nov-1994 SethuR Created --*/ #define KDEXT_32BIT #include "rx.h" // NT network ...
35.529143
118
0.73144
npocmaka
2d5dfac9f670a063d8e316b690b0d3ed9b9cfdfc
2,248
cpp
C++
class-exercises/acc-07/wbpriarbiter.cpp
cambridgehackers/atomicc-examples
d0280629b94185d806637486b8413dd1a806d82a
[ "MIT" ]
null
null
null
class-exercises/acc-07/wbpriarbiter.cpp
cambridgehackers/atomicc-examples
d0280629b94185d806637486b8413dd1a806d82a
[ "MIT" ]
null
null
null
class-exercises/acc-07/wbpriarbiter.cpp
cambridgehackers/atomicc-examples
d0280629b94185d806637486b8413dd1a806d82a
[ "MIT" ]
null
null
null
/* Copyright (c) 2020 The Connectal Project * * 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, ...
35.68254
96
0.68016
cambridgehackers
2d5e5bdcda379693aa3abbafe188f9511eb1d3a7
2,434
cpp
C++
boost/boost_1_56_0/libs/spirit/test/x3/difference.cpp
cooparation/caffe-android
cd91078d1f298c74fca4c242531989d64a32ba03
[ "BSD-2-Clause-FreeBSD" ]
3
2018-11-02T07:15:32.000Z
2018-12-15T19:56:59.000Z
boost/boost_1_56_0/libs/spirit/test/x3/difference.cpp
cooparation/caffe-android
cd91078d1f298c74fca4c242531989d64a32ba03
[ "BSD-2-Clause-FreeBSD" ]
2
2017-11-18T21:24:03.000Z
2020-03-11T12:39:57.000Z
boost/boost_1_56_0/libs/spirit/test/x3/difference.cpp
cooparation/caffe-android
cd91078d1f298c74fca4c242531989d64a32ba03
[ "BSD-2-Clause-FreeBSD" ]
3
2017-01-02T14:11:37.000Z
2019-12-20T13:42:13.000Z
/*============================================================================= Copyright (c) 2001-2013 Joel de Guzman 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) =========================================...
29.325301
80
0.468776
cooparation
2d5e8ad945853de51aaf8f6bfebe8e45ba7bc36d
23,811
cpp
C++
tst_reamber_base_test.cpp
Eve-ning/reamber_base_test
19d856516073a157f2a2f918491955121fe490b4
[ "MIT" ]
null
null
null
tst_reamber_base_test.cpp
Eve-ning/reamber_base_test
19d856516073a157f2a2f918491955121fe490b4
[ "MIT" ]
null
null
null
tst_reamber_base_test.cpp
Eve-ning/reamber_base_test
19d856516073a157f2a2f918491955121fe490b4
[ "MIT" ]
null
null
null
#include <QtTest> // add necessary includes here #include <iostream> #include <vector> #include <algorithm/algorithm.h> #include <object/singular/hitobject.h> #include <object/singular/timingpoint.h> #include <QDebug> #include <QSharedPointer> class TestObjs { public: TestObjs() { hoNote.loadParameters( ...
31.003906
99
0.60808
Eve-ning
2d5fea0264fcda9067e8fe8718213c0ec2b3b9c4
564
cpp
C++
Kuma Engine/PanelFile.cpp
GerardClotet/Kuma-Engine
16759a8c5e18b69eb6ce50b6feeaf50d5312e957
[ "MIT" ]
2
2019-10-07T07:11:16.000Z
2019-10-31T16:45:56.000Z
Kuma Engine/PanelFile.cpp
GerardClotet/Kuma-Engine
16759a8c5e18b69eb6ce50b6feeaf50d5312e957
[ "MIT" ]
null
null
null
Kuma Engine/PanelFile.cpp
GerardClotet/Kuma-Engine
16759a8c5e18b69eb6ce50b6feeaf50d5312e957
[ "MIT" ]
null
null
null
#include "PanelConfig.h" #include "Globals.h" #include "ModuleRenderer3D.h" #include "ModuleUI.h" #include "PanelFile.h" PanelFile::~PanelFile() { } update_status PanelFile::Draw() { if (App->ui->file_load_model)LoadModel(); if (App->ui->file_save_scene)DisplaySaveScene(); if (App->ui->file_load_scene)DisplayLoad...
15.666667
49
0.714539
GerardClotet
062450d280164d63958326b5826ab5b370311a05
9,832
cpp
C++
src/frameworks/native/libs/nativewindow/ANativeWindow.cpp
dAck2cC2/m3e
475b89b59d5022a94e00b636438b25e27e4eaab2
[ "Apache-2.0" ]
null
null
null
src/frameworks/native/libs/nativewindow/ANativeWindow.cpp
dAck2cC2/m3e
475b89b59d5022a94e00b636438b25e27e4eaab2
[ "Apache-2.0" ]
null
null
null
src/frameworks/native/libs/nativewindow/ANativeWindow.cpp
dAck2cC2/m3e
475b89b59d5022a94e00b636438b25e27e4eaab2
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2010 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 app...
36.686567
112
0.690195
dAck2cC2
0625c8920947fb021877fb14bcd6bf917ea7ec6b
785
cpp
C++
symengine/polys/uintpoly_piranha.cpp
shifan3/symengine
d9539af520c4b121aff780d27ba22cced9983ece
[ "MIT" ]
2
2020-11-06T12:45:03.000Z
2022-03-18T18:00:15.000Z
symengine/polys/uintpoly_piranha.cpp
HQSquantumsimulations/symengine
95d6af92dc6a759d9320d6bdadfa51d038c81218
[ "MIT" ]
null
null
null
symengine/polys/uintpoly_piranha.cpp
HQSquantumsimulations/symengine
95d6af92dc6a759d9320d6bdadfa51d038c81218
[ "MIT" ]
null
null
null
#include <symengine/symbol.h> #include <symengine/expression.h> #include <symengine/polys/uintpoly_piranha.h> namespace SymEngine { UIntPolyPiranha::UIntPolyPiranha(const RCP<const Basic> &var, pintpoly &&dict) : UPiranhaPoly(var, std::move(dict)) { SYMENGINE_ASSIGN_TYPEID() } hash_t UIntPolyPiranha::__hash_...
21.805556
78
0.700637
shifan3
0626fcd489b980fda2a16cecca3851c9755f0972
2,291
cpp
C++
Seagull-Core/src/Platform/DirectX/DirectX12SwapChain.cpp
ILLmew/Seagull-Engine
fb51b66812eca6b70ed0e35ecba091e9874b5bea
[ "MIT" ]
null
null
null
Seagull-Core/src/Platform/DirectX/DirectX12SwapChain.cpp
ILLmew/Seagull-Engine
fb51b66812eca6b70ed0e35ecba091e9874b5bea
[ "MIT" ]
null
null
null
Seagull-Core/src/Platform/DirectX/DirectX12SwapChain.cpp
ILLmew/Seagull-Engine
fb51b66812eca6b70ed0e35ecba091e9874b5bea
[ "MIT" ]
null
null
null
#include "sgpch.h" #include "DirectX12SwapChain.h" #include "DirectXHelper.h" #include "Core/Application.h" #include "DirectX12Context.h" #include "DirectXHelper.h" namespace SG { DirectX12SwapChain::DirectX12SwapChain(IDXGIFactory7* factory, const Ref<DirectX12RenderQueue>& renderQueue) { // Create swap chain ...
38.830508
128
0.787866
ILLmew
06279bcf01a36b0127a46534bbd5fa8bb05d7642
593
cpp
C++
include/hydro/parser/__ast/BinaryOp.cpp
hydraate/hydro
42037a8278dcfdca68fb5cceaf6988da861f0eff
[ "Apache-2.0" ]
null
null
null
include/hydro/parser/__ast/BinaryOp.cpp
hydraate/hydro
42037a8278dcfdca68fb5cceaf6988da861f0eff
[ "Apache-2.0" ]
null
null
null
include/hydro/parser/__ast/BinaryOp.cpp
hydraate/hydro
42037a8278dcfdca68fb5cceaf6988da861f0eff
[ "Apache-2.0" ]
null
null
null
// // __ __ __ // / / / /__ __ ____/ /_____ ____ // / /_/ // / / // __ // ___// __ \ // / __ // /_/ // /_/ // / / /_/ / // /_/ /_/ \__, / \__,_//_/ \____/ // /____/ // // ...
22.807692
99
0.404722
hydraate
062924c8157b83437d009a40fa20e9846bf91aa4
936
cc
C++
chrome/test/data/nacl/simple.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
chrome/test/data/nacl/simple.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
chrome/test/data/nacl/simple.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 (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <string> #include "ppapi/cpp/instance.h" #include "ppapi/cpp/module.h" #include "ppapi/cpp/var.h" class SimpleInstance : public pp::Instanc...
23.4
74
0.695513
zealoussnow
062b9be2fb2ee8a36e9e25d52e2241ccba49f9a4
1,692
cpp
C++
src/ShaderProgramLinker.cpp
Killavus/Phelsuma
734e89efa2c1b3b9c52ca3feb555e4b2acc69c80
[ "MIT" ]
null
null
null
src/ShaderProgramLinker.cpp
Killavus/Phelsuma
734e89efa2c1b3b9c52ca3feb555e4b2acc69c80
[ "MIT" ]
null
null
null
src/ShaderProgramLinker.cpp
Killavus/Phelsuma
734e89efa2c1b3b9c52ca3feb555e4b2acc69c80
[ "MIT" ]
null
null
null
#include <string> #include "ShaderProgramLinker.h" #include "Shader.h" #include "ShaderProgram.h" bool ShaderProgramLinker::attachShader(const Shader& shader) { if (shader.invalid()) { return false; } auto sameTypeElement = findShaderByType(shader.type()); if (sameTypeElement != attachedShaders.end()) { r...
24.171429
82
0.713948
Killavus
062eab6bb833a1105fd1c36fa73dc3f7f6757399
4,956
cpp
C++
projects/2_OOP/oop_lab_3_2/test.cpp
GodBastardNeil/somethings
56a25ab2a3150658356924b00fed7d97ad76a9cb
[ "BSD-3-Clause" ]
null
null
null
projects/2_OOP/oop_lab_3_2/test.cpp
GodBastardNeil/somethings
56a25ab2a3150658356924b00fed7d97ad76a9cb
[ "BSD-3-Clause" ]
null
null
null
projects/2_OOP/oop_lab_3_2/test.cpp
GodBastardNeil/somethings
56a25ab2a3150658356924b00fed7d97ad76a9cb
[ "BSD-3-Clause" ]
null
null
null
#include "catch.hpp" #include "money.h" TEST_CASE("Проверка работы методов класса money", "[money]") { money m; // -- нулевой объект нужен всем -- // - определение чистой виртуальной функции run() класса Test -- // -- тестовые методы -- SECTION("Инициализация переменных класса money") // -- с...
38.418605
115
0.421509
GodBastardNeil
06319cbc06a99182d6b1d3bf32168b266f778fde
3,374
cpp
C++
src/csapex_qt/src/view/param/color_param_adapter.cpp
ICRA-2018/csapex
8ee83b9166d0281a4923184cce67b4a55f273ea2
[ "BSD-3-Clause" ]
null
null
null
src/csapex_qt/src/view/param/color_param_adapter.cpp
ICRA-2018/csapex
8ee83b9166d0281a4923184cce67b4a55f273ea2
[ "BSD-3-Clause" ]
null
null
null
src/csapex_qt/src/view/param/color_param_adapter.cpp
ICRA-2018/csapex
8ee83b9166d0281a4923184cce67b4a55f273ea2
[ "BSD-3-Clause" ]
null
null
null
/// HEADER #include <csapex/view/param/color_param_adapter.h> /// PROJECT #include <csapex/view/utility/qwrapper.h> #include <csapex/view/node/parameter_context_menu.h> #include <csapex/view/utility/qt_helper.hpp> #include <csapex/utility/assert.h> #include <csapex/utility/type.h> #include <csapex/command/update_param...
29.858407
154
0.633076
ICRA-2018
06326a4e7a60fa3cb80ab43c324903882ceac0ab
2,323
cpp
C++
src/tests/system/libroot/posix/seek_and_write_test.cpp
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
1,338
2015-01-03T20:06:56.000Z
2022-03-26T13:49:54.000Z
src/tests/system/libroot/posix/seek_and_write_test.cpp
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
15
2015-01-17T22:19:32.000Z
2021-12-20T12:35:00.000Z
src/tests/system/libroot/posix/seek_and_write_test.cpp
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
350
2015-01-08T14:15:27.000Z
2022-03-21T18:14:35.000Z
/* * Copyright 2010, Axel Dörfler, axeld@pinc-software.de. * This file may be used under the terms of the MIT License. */ #include <fcntl.h> #include <stdio.h> #include <string.h> #include <unistd.h> #include <algorithm> void test_for_content(int fd, off_t start, const char* contents, size_t length) { char buf...
18.733871
74
0.591907
Kirishikesan
0635ef71a5fc5fb78b52757a942077da79a68813
4,412
cpp
C++
src/gui/widgets/algoStarterWidgets/mathwidget.cpp
mhough/braingl
53e2078adc10731ee62feec11dcb767c4c6c0d35
[ "MIT" ]
5
2016-03-17T07:02:11.000Z
2021-12-12T14:43:58.000Z
src/gui/widgets/algoStarterWidgets/mathwidget.cpp
mhough/braingl
53e2078adc10731ee62feec11dcb767c4c6c0d35
[ "MIT" ]
null
null
null
src/gui/widgets/algoStarterWidgets/mathwidget.cpp
mhough/braingl
53e2078adc10731ee62feec11dcb767c4c6c0d35
[ "MIT" ]
3
2015-10-29T15:21:01.000Z
2020-11-25T09:41:21.000Z
/* * mathwidget.cpp * * Created on: Mar 24, 2014 * Author: schurade */ #include "mathwidget.h" #include "../../../data/datasets/datasetscalar.h" #include "../../../data/models.h" #include "../../../data/vptr.h" #include "../../../io/writer.h" #include "../controls/sliderwithedit.h" #include "../controls...
27.924051
133
0.524025
mhough
063b63c9a32c8067804690277d86af68fd109d2a
78,422
cpp
C++
GROMACS/nonbonded_benchmark/gromacs_source_code/src/gromacs/mdlib/vsite.cpp
berkhess/bioexcel-exascale-co-design-benchmarks
c32f811d41a93fb69e49b3e7374f6028e37970d2
[ "MIT" ]
1
2020-04-20T04:33:11.000Z
2020-04-20T04:33:11.000Z
GROMACS/nonbonded_benchmark/gromacs_source_code/src/gromacs/mdlib/vsite.cpp
berkhess/bioexcel-exascale-co-design-benchmarks
c32f811d41a93fb69e49b3e7374f6028e37970d2
[ "MIT" ]
8
2019-07-10T15:18:21.000Z
2019-07-31T13:38:09.000Z
GROMACS/nonbonded_benchmark/gromacs_source_code/src/gromacs/mdlib/vsite.cpp
berkhess/bioexcel-exascale-co-design-benchmarks
c32f811d41a93fb69e49b3e7374f6028e37970d2
[ "MIT" ]
3
2019-07-10T10:50:25.000Z
2020-12-08T13:42:52.000Z
/* * This file is part of the GROMACS molecular simulation package. * * Copyright (c) 1991-2000, University of Groningen, The Netherlands. * Copyright (c) 2001-2004, The GROMACS development team. * Copyright (c) 2013,2014,2015,2016,2017,2018,2019, by the GROMACS development team, led by * Mark Abraham, David van ...
32.621464
240
0.471908
berkhess
063df958db48db62653a3fce4d9098ce1493cc54
1,274
cpp
C++
test/test.cpp
nuclearczy/Terp-tag-test
f1b8db368cbc74c0d9ce4cc96233b5d5ce2465af
[ "BSD-3-Clause" ]
null
null
null
test/test.cpp
nuclearczy/Terp-tag-test
f1b8db368cbc74c0d9ce4cc96233b5d5ce2465af
[ "BSD-3-Clause" ]
null
null
null
test/test.cpp
nuclearczy/Terp-tag-test
f1b8db368cbc74c0d9ce4cc96233b5d5ce2465af
[ "BSD-3-Clause" ]
null
null
null
/** * Copyright (c) 2019 Hao Da (Kevin) Dong * @file test.cpp * @date 2019/11/10 * @brief Unit tests for talker.cpp * @license This project is released under the BSD-3-Clause License. See full details in LICENSE. */ #include <gtest/gtest.h> #include "ros/ros.h" #include "std_msgs/String.h" ...
31.073171
102
0.696232
nuclearczy