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
43080d177f46fb72ce682e4cbc4d4d59f9ab2773
12,463
cpp
C++
black-scholes-omp/blackScholesAnalyticEngine.cpp
BeauJoh/HeCBench
594b845171d686dc951971ce36ed59cf114dd2b4
[ "BSD-3-Clause" ]
58
2020-08-06T18:53:44.000Z
2021-10-01T07:59:46.000Z
black-scholes-omp/blackScholesAnalyticEngine.cpp
BeauJoh/HeCBench
594b845171d686dc951971ce36ed59cf114dd2b4
[ "BSD-3-Clause" ]
2
2020-12-04T12:35:02.000Z
2021-03-04T22:49:25.000Z
black-scholes-omp/blackScholesAnalyticEngine.cpp
BeauJoh/HeCBench
594b845171d686dc951971ce36ed59cf114dd2b4
[ "BSD-3-Clause" ]
13
2020-08-19T13:44:18.000Z
2021-09-08T04:25:34.000Z
//blackScholesAnalyticEngine.cpp //Functions for running black scholes using the analytic engine (from Quantlib) on the GPU #include <stdio.h> #include <stdlib.h> #include <math.h> #include <sys/time.h> #include <time.h> #define NUM_DIFF_SETTINGS 37 //needed for optionInputStruct #include "blackScholesAnalyticEngine...
36.229651
126
0.584209
BeauJoh
43089c698d09a99f0bacf73df2f963cdc5a0e482
10,865
cpp
C++
third_party/libassimp/code/X3DImporter_Shape.cpp
tpsiaki/filament
772af1e8971e65bbff314cf696a9f32da79e3485
[ "Apache-2.0" ]
140
2016-03-13T03:01:25.000Z
2022-02-06T09:47:04.000Z
third_party/libassimp/code/X3DImporter_Shape.cpp
tpsiaki/filament
772af1e8971e65bbff314cf696a9f32da79e3485
[ "Apache-2.0" ]
469
2016-05-15T07:01:56.000Z
2020-05-29T23:58:59.000Z
third_party/libassimp/code/X3DImporter_Shape.cpp
tpsiaki/filament
772af1e8971e65bbff314cf696a9f32da79e3485
[ "Apache-2.0" ]
72
2016-03-13T10:17:54.000Z
2020-02-24T05:40:02.000Z
/* Open Asset Import Library (assimp) ---------------------------------------------------------------------- Copyright (c) 2006-2018, assimp team All rights reserved. Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following condition...
43.286853
158
0.743488
tpsiaki
43092dcd24e5c1b62b7d45b1342ea31908935e4e
40,625
cpp
C++
ROLE/custom/hls/common/src/common.cpp
cloudFPGA/cFp_Zoo
3aefb12108f99fcfd0d39a8aae97cf87428a6873
[ "Apache-2.0" ]
6
2021-12-29T10:58:28.000Z
2022-02-15T06:07:05.000Z
ROLE/custom/hls/common/src/common.cpp
cloudFPGA/cFp_Zoo
3aefb12108f99fcfd0d39a8aae97cf87428a6873
[ "Apache-2.0" ]
2
2022-01-17T10:35:55.000Z
2022-02-04T09:28:47.000Z
ROLE/custom/hls/common/src/common.cpp
cloudFPGA/cFp_Zoo
3aefb12108f99fcfd0d39a8aae97cf87428a6873
[ "Apache-2.0" ]
null
null
null
/******************************************************************************* * Copyright 2016 -- 2022 IBM 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:/...
37.202381
166
0.552862
cloudFPGA
430e66876b32f5d02868476d2af6e5bb3895cfd5
19,921
cpp
C++
authkeys.cpp
lool/bootgen
6bea30996979f085701542d8905966240545cd8e
[ "Apache-2.0", "CC0-1.0" ]
null
null
null
authkeys.cpp
lool/bootgen
6bea30996979f085701542d8905966240545cd8e
[ "Apache-2.0", "CC0-1.0" ]
null
null
null
authkeys.cpp
lool/bootgen
6bea30996979f085701542d8905966240545cd8e
[ "Apache-2.0", "CC0-1.0" ]
null
null
null
/****************************************************************************** * Copyright 2015-2020 Xilinx, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/li...
29.468935
135
0.460268
lool
430f062bea3510384e4041aa4f67a63e2376f500
31,543
cpp
C++
indra/newview/lldrawpoolterrain.cpp
SaladDais/LLUDP-Encryption
8a426cd0dd154e1a10903e0e6383f4deb2a6098a
[ "ISC" ]
1
2022-01-29T07:10:03.000Z
2022-01-29T07:10:03.000Z
indra/newview/lldrawpoolterrain.cpp
bloomsirenix/Firestorm-manikineko
67e1bb03b2d05ab16ab98097870094a8cc9de2e7
[ "Unlicense" ]
null
null
null
indra/newview/lldrawpoolterrain.cpp
bloomsirenix/Firestorm-manikineko
67e1bb03b2d05ab16ab98097870094a8cc9de2e7
[ "Unlicense" ]
1
2021-10-01T22:22:27.000Z
2021-10-01T22:22:27.000Z
/** * @file lldrawpoolterrain.cpp * @brief LLDrawPoolTerrain class implementation * * $LicenseInfo:firstyear=2002&license=viewerlgpl$ * Second Life Viewer Source Code * Copyright (C) 2010, Linden Research, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of t...
31.861616
143
0.735314
SaladDais
43101b0ae11df976c4f2821f837e019a0c5d5c96
8,242
cpp
C++
apps/log/src/main_log.cpp
ShmFw/shmfw
d386841f8b1425cbeca8c8a3fc6919bf8d83c38e
[ "BSD-3-Clause" ]
1
2016-02-06T14:57:32.000Z
2016-02-06T14:57:32.000Z
apps/log/src/main_log.cpp
ShmFw/shmfw
d386841f8b1425cbeca8c8a3fc6919bf8d83c38e
[ "BSD-3-Clause" ]
null
null
null
apps/log/src/main_log.cpp
ShmFw/shmfw
d386841f8b1425cbeca8c8a3fc6919bf8d83c38e
[ "BSD-3-Clause" ]
1
2018-11-07T02:45:24.000Z
2018-11-07T02:45:24.000Z
/*************************************************************************** * Software License Agreement (BSD License) * * Copyright (C) 2012 by Markus Bader <markus.bader@tuwien.ac.at> * * * * Redistr...
43.378947
180
0.575467
ShmFw
4310b7e363a524d20b0f5c04306fecfce32c5f94
59,237
cc
C++
deps/exokit-bindings/glfw/src/glfw.cc
Palmer-JC/exokit
55ee5a36d97c6bda5d380780632631b13ba0c8d2
[ "MIT" ]
547
2019-04-07T14:34:01.000Z
2022-03-25T08:58:50.000Z
deps/exokit-bindings/glfw/src/glfw.cc
TizenTeam/exokit
7734835a71cf5dff4575aafb2ecd9c9ad339977c
[ "MIT" ]
514
2018-03-22T00:31:38.000Z
2019-04-06T21:16:45.000Z
deps/exokit-bindings/glfw/src/glfw.cc
TizenTeam/exokit
7734835a71cf5dff4575aafb2ecd9c9ad339977c
[ "MIT" ]
120
2019-04-15T18:36:25.000Z
2022-03-03T01:11:34.000Z
#include <glfw/include/glfw.h> #include <windowsystem.h> #include <webgl.h> #include "canvas/src/stb_image.h" #include <exout> #if defined(TARGET_OS_MAC) || defined(__linux__) #define MAIN_THREAD_POLLING 1 #endif namespace glfw { thread_local NATIVEwindow *currentWindow = nullptr; std::mutex windowHandleMutex; NATI...
33.074819
160
0.68258
Palmer-JC
43116fbcfeff073fa6844712bf33c37cbe5fb7b9
955
cpp
C++
codeforces/B - Equalize Prices/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
1
2022-02-11T16:55:36.000Z
2022-02-11T16:55:36.000Z
codeforces/B - Equalize Prices/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
codeforces/B - Equalize Prices/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
/**************************************************************************************** * @author: kzvd4729 created: Jun/28/2019 19:22 * solution_verdict: Accepted language: GNU C++14 * run...
35.37037
111
0.362304
kzvd4729
4311f01e8f60a4175d2a28cac58ba646f99f0974
1,120
cpp
C++
src/tutorial07/Maths.cpp
ksoderbl/thinmatrix-opengl-3d-game-tutorial-cpp-sdl2
c6d8e79c11a09284ee262fb44439e58cc9d7d906
[ "MIT" ]
9
2018-07-15T23:09:10.000Z
2021-05-14T16:45:03.000Z
src/tutorial07/Maths.cpp
ksoderbl/thinmatrix-opengl-3d-game-tutorial-cpp-sdl2
c6d8e79c11a09284ee262fb44439e58cc9d7d906
[ "MIT" ]
null
null
null
src/tutorial07/Maths.cpp
ksoderbl/thinmatrix-opengl-3d-game-tutorial-cpp-sdl2
c6d8e79c11a09284ee262fb44439e58cc9d7d906
[ "MIT" ]
5
2019-11-24T02:44:42.000Z
2022-01-07T14:49:33.000Z
//package toolbox #include "Maths.h" /* static void printMatrix(glm::mat4& m, string name) { for (int i = 0; i < 4; i++) { for (int j = 0; j < 4; j++) { cout << name << "[" << i << "," << j << "] = " << m[j][i] << " "; } cout << endl; } cout << endl; } */ glm::mat4 createTransformationMatrix(glm::vec3& ...
23.333333
95
0.575
ksoderbl
431a5b8000d10f0b0fd856d9f9bb0d8678094693
9,870
cpp
C++
src/mongo/db/s/cleanup_orphaned_cmd.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
src/mongo/db/s/cleanup_orphaned_cmd.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
src/mongo/db/s/cleanup_orphaned_cmd.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
/** * Copyright (C) 2018-present MongoDB, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the Server Side Public License, version 1, * as published by MongoDB, Inc. * * This program is distributed in the hope that it will be useful, * but W...
41.470588
100
0.664134
benety
431aacf087ffb4c503bb5dbc70f411331c928c8b
4,161
cc
C++
third_party/blink/renderer/modules/plugins/dom_mime_type_array.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/blink/renderer/modules/plugins/dom_mime_type_array.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/blink/renderer/modules/plugins/dom_mime_type_array.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2021-01-05T23:43:46.000Z
2021-01-07T23:36:34.000Z
/* * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) * Copyright (C) 2008 Apple Inc. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; eit...
31.522727
78
0.702716
mghgroup
431ab68876afb9cf207bcc50cf1ff1f6742aed31
895
cpp
C++
sycl/test/basic_tests/id_ctad.cpp
mkinsner/llvm
589d48844edb12cd357b3024248b93d64b6760bf
[ "Apache-2.0" ]
653
2018-12-27T15:00:01.000Z
2022-03-30T11:52:23.000Z
sycl/test/basic_tests/id_ctad.cpp
mkinsner/llvm
589d48844edb12cd357b3024248b93d64b6760bf
[ "Apache-2.0" ]
3,740
2019-01-23T15:36:48.000Z
2022-03-31T22:01:13.000Z
sycl/test/basic_tests/id_ctad.cpp
mkinsner/llvm
589d48844edb12cd357b3024248b93d64b6760bf
[ "Apache-2.0" ]
500
2019-01-23T07:49:22.000Z
2022-03-30T02:59:37.000Z
// RUN: %clangxx -fsycl -fsyntax-only -Xclang -verify %s -Xclang -verify-ignore-unexpected=note,warning // expected-no-diagnostics //==--------------- id_ctad.cpp - SYCL id CTAD test ----------------------==// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LI...
42.619048
103
0.613408
mkinsner
431f78c3ee6a0993d2cc8ef0de3a55972afe13a5
5,183
cpp
C++
JCDT/src/internal/ast/CompilationUnitDeclaration_def.cpp
kuafuwang/JCDT
2b009ea887b4816303fed9e6e1dc104a90c67d16
[ "MIT" ]
1
2021-04-17T01:55:27.000Z
2021-04-17T01:55:27.000Z
JCDT/src/internal/ast/CompilationUnitDeclaration_def.cpp
kuafuwang/JCDT
2b009ea887b4816303fed9e6e1dc104a90c67d16
[ "MIT" ]
null
null
null
JCDT/src/internal/ast/CompilationUnitDeclaration_def.cpp
kuafuwang/JCDT
2b009ea887b4816303fed9e6e1dc104a90c67d16
[ "MIT" ]
1
2022-02-18T12:02:00.000Z
2022-02-18T12:02:00.000Z
#include <JCDT_Lib/internal/ast/AstImportDeclaration.h> #include <JCDT_Lib/internal/ast/AstAnnotationDeclaration.h> #include <JCDT_Lib/internal/ast/AstPackageDeclaration.h> #ifndef AstCompilationUnit_def_INCLUDED #define AstCompilationUnit_def_INCLUDED #include "JCDT_Lib/internal/ast/CompilationUnitDeclaration.h" #incl...
31.412121
84
0.692456
kuafuwang
431f84898cb33403f707b0327838b7da410370a8
323
cpp
C++
code/ch_2-TECHNIQUES/01-compile_time_assertions/02-compile_time_assertion.cpp
ordinary-developer/book_modern_cpp_design_a_alexandrescu
7c40a13309d280443668b0c20ae1572e3dff2989
[ "MIT" ]
1
2017-05-04T08:23:46.000Z
2017-05-04T08:23:46.000Z
books/techno/cpp/_upper-intermediate/modern_cpp_design_a_alexandrescu/code/ch_2-TECHNIQUES/01-compile_time_assertions/02-compile_time_assertion.cpp
ordinary-developer/lin_education
13d65b20cdbc3e5467b2383e5c09c73bbcdcb227
[ "MIT" ]
null
null
null
books/techno/cpp/_upper-intermediate/modern_cpp_design_a_alexandrescu/code/ch_2-TECHNIQUES/01-compile_time_assertions/02-compile_time_assertion.cpp
ordinary-developer/lin_education
13d65b20cdbc3e5467b2383e5c09c73bbcdcb227
[ "MIT" ]
null
null
null
#define STATIC_CHECK(expr) { char unamed[(expr) ? 1 : 0]; } template <class To, class From> To safe_reinterpret_cast(From from) { STATIC_CHECK(sizeof(From) <= sizeof(To)); return reinterpret_cast<To>(from); } int main() { int intValue = 5; char c = safe_reinterpret_cast<char>(intValue); return 0;...
20.1875
59
0.665635
ordinary-developer
4323ae1e55c975972ce0e40f3dd94e4413e2ae15
11,278
cpp
C++
FEM_2D_Plane_Stress.cpp
JoshuaSimon/2D-FEM-Solver
9f3c19b760350338a33445e9817e1c077f4718d5
[ "MIT" ]
3
2019-03-27T12:45:51.000Z
2019-08-25T09:41:56.000Z
FEM_2D_Plane_Stress.cpp
JoshuaSimon/2D-FEM-Solver
9f3c19b760350338a33445e9817e1c077f4718d5
[ "MIT" ]
null
null
null
FEM_2D_Plane_Stress.cpp
JoshuaSimon/2D-FEM-Solver
9f3c19b760350338a33445e9817e1c077f4718d5
[ "MIT" ]
null
null
null
// FEM_2D_Plane_Stress.cpp (Main) #include "pch.h" #include "FEM_Input.h" #include "FEM_GNUPlot.h" #include <Eigen/Dense> #include <Eigen/Sparse> #include <string> #include <vector> #include <iostream> #include <fstream> //Element data type struct Element { void CalculateStiffnessMatrix(const Eigen::M...
32.976608
119
0.628835
JoshuaSimon
43260e5436187a85b10d6dd9b66d11ea9be07284
315
cpp
C++
tests/translation/test_extM2_wrap_bind.cpp
mingodad/nullc
e38246dbf41acd199c7d23b928633bf16eddc24f
[ "MIT" ]
143
2015-03-16T20:38:09.000Z
2022-03-10T13:11:13.000Z
tests/translation/test_extM2_wrap_bind.cpp
mingodad/nullc
e38246dbf41acd199c7d23b928633bf16eddc24f
[ "MIT" ]
17
2015-03-14T14:17:23.000Z
2022-01-06T10:55:57.000Z
tests/translation/test_extM2_wrap_bind.cpp
mingodad/nullc
e38246dbf41acd199c7d23b928633bf16eddc24f
[ "MIT" ]
9
2015-03-15T02:00:13.000Z
2022-01-06T10:27:51.000Z
#include "runtime.h" #include <math.h> int Call_int_ref_double_double_double_double_int_(double x1, double x2, double x3, double x4, int y, void* __context) { #define fpart(x) (x - floor(x)) double xgap = fpart(x1 + 0.5); return int(xgap * 10.0) == 1 && y && x2 == 2.0 && x3 == 3.0 && x4 == 4.0; #undef fpart }
26.25
117
0.64127
mingodad
4327c83bf405dcaa1f425f58c87aac4ecda0510b
30
cpp
C++
src/cpp/utils/GPUBasedProperty.cpp
Yukihito/alcube
8aac4e2dd2cb3871b672d92902cf15150c430a56
[ "MIT" ]
null
null
null
src/cpp/utils/GPUBasedProperty.cpp
Yukihito/alcube
8aac4e2dd2cb3871b672d92902cf15150c430a56
[ "MIT" ]
null
null
null
src/cpp/utils/GPUBasedProperty.cpp
Yukihito/alcube
8aac4e2dd2cb3871b672d92902cf15150c430a56
[ "MIT" ]
null
null
null
#include "GPUBasedProperty.h"
15
29
0.8
Yukihito
43284a7fd3c9e1f4ccdf2ccee67e81a16209caba
1,971
cpp
C++
Kernel/src/Arch/x86_64/Keyboard.cpp
adi-g15/LemonOS
47a15ecc0efe47eeebde0b63d668fb70c9e22b57
[ "BSD-2-Clause" ]
null
null
null
Kernel/src/Arch/x86_64/Keyboard.cpp
adi-g15/LemonOS
47a15ecc0efe47eeebde0b63d668fb70c9e22b57
[ "BSD-2-Clause" ]
null
null
null
Kernel/src/Arch/x86_64/Keyboard.cpp
adi-g15/LemonOS
47a15ecc0efe47eeebde0b63d668fb70c9e22b57
[ "BSD-2-Clause" ]
null
null
null
#include <Scheduler.h> #include <System.h> #include <IDT.h> #include <Logging.h> #include <APIC.h> #include <Fs/Filesystem.h> #include <Device.h> #define KEY_QUEUE_SIZE 256 namespace Keyboard{ uint8_t keyQueue[KEY_QUEUE_SIZE]; unsigned short keyQueueEnd = 0; unsigned short keyQueueStart = 0; unsigned short ke...
21.423913
66
0.572806
adi-g15
4328e957fb7479b0a77f7dcadab32172d0f6d6e1
4,136
hpp
C++
include/boost/hana/detail/variadic/foldr1.hpp
rbock/hana
2b76377f91a5ebe037dea444e4eaabba6498d3a8
[ "BSL-1.0" ]
2
2015-05-07T14:29:13.000Z
2015-07-04T10:59:46.000Z
include/boost/hana/detail/variadic/foldr1.hpp
rbock/hana
2b76377f91a5ebe037dea444e4eaabba6498d3a8
[ "BSL-1.0" ]
null
null
null
include/boost/hana/detail/variadic/foldr1.hpp
rbock/hana
2b76377f91a5ebe037dea444e4eaabba6498d3a8
[ "BSL-1.0" ]
null
null
null
/*! @file Defines `boost::hana::detail::variadic::foldr1`. @copyright Louis Dionne 2014 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ #ifndef BOOST_HANA_DETAIL_VARIADIC_FOLDR1_HPP #define BOOST_HANA_DETAIL_VARIADIC_FOLDR1_...
34.181818
105
0.626692
rbock
43292ae2fa0c40ac72238dbd4ef74774a4d4a9e1
2,945
cc
C++
src/atlas/mesh/actions/ExtendNodesGlobal.cc
twsearle/atlas
a1916fd521f9935f846004e6194f80275de4de83
[ "Apache-2.0" ]
67
2018-03-01T06:56:49.000Z
2022-03-08T18:44:47.000Z
src/atlas/mesh/actions/ExtendNodesGlobal.cc
twsearle/atlas
a1916fd521f9935f846004e6194f80275de4de83
[ "Apache-2.0" ]
93
2018-12-07T17:38:04.000Z
2022-03-31T10:04:51.000Z
src/atlas/mesh/actions/ExtendNodesGlobal.cc
twsearle/atlas
a1916fd521f9935f846004e6194f80275de4de83
[ "Apache-2.0" ]
33
2018-02-28T17:06:19.000Z
2022-01-20T12:12:27.000Z
/* * (C) Copyright 2013 ECMWF. * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. * In applying this licence, ECMWF does not waive the privileges and immunities * granted to it by virtue of its status as an intergo...
32.362637
91
0.64618
twsearle
43296c025e2beb4e20236c52797952fbcbe82bcf
7,251
cc
C++
tensorflow/cc/examples/mcts_test.cc
geligeli/tensorflow
9b13fff8c91a1294e8a4d0d1699cb55e0306122e
[ "Apache-2.0" ]
null
null
null
tensorflow/cc/examples/mcts_test.cc
geligeli/tensorflow
9b13fff8c91a1294e8a4d0d1699cb55e0306122e
[ "Apache-2.0" ]
null
null
null
tensorflow/cc/examples/mcts_test.cc
geligeli/tensorflow
9b13fff8c91a1294e8a4d0d1699cb55e0306122e
[ "Apache-2.0" ]
null
null
null
#include "tensorflow/cc/examples/mcts.h" #include <boost/coroutine2/coroutine.hpp> #include <boost/fiber/all.hpp> #include <chrono> #include <list> #include <thread> #include "tensorflow/cc/saved_model/loader.h" #include "tensorflow/cc/saved_model/tag_constants.h" #include "tensorflow/core/platform/test.h" namespace...
27.781609
80
0.57399
geligeli
432ac8a7458ae9d20e6c64a01180ecb8d6d9d719
1,271
cpp
C++
OLD/Orario/orario.cpp
Maxelweb/PaO
7c9cb18366ed6a4730519e4275e4719ec9bf0cd2
[ "MIT" ]
1
2020-02-01T10:15:31.000Z
2020-02-01T10:15:31.000Z
OLD/Orario/orario.cpp
Maxelweb/PaO
7c9cb18366ed6a4730519e4275e4719ec9bf0cd2
[ "MIT" ]
null
null
null
OLD/Orario/orario.cpp
Maxelweb/PaO
7c9cb18366ed6a4730519e4275e4719ec9bf0cd2
[ "MIT" ]
null
null
null
// INTERFACE / DEFINITION #include "orario.h" // ==== Costruttori orario::orario(){ sec = 0; } orario::orario(int o){ if(o<0 || o>23) sec = 0; // Controllo di sanità else sec = o*3600; } orario::orario(int o, int m){ if(o<0 || o>23 || m < 0 || m > 59) sec = 0; // " else sec = o*3600 + m*60; } orario::orari...
17.410959
69
0.573564
Maxelweb
432b1f628ff16b9334a774fc930ae615f341811f
405
cpp
C++
Dataset/Leetcode/test/70/150.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/test/70/150.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/test/70/150.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution { public: int XXX(int n) { if (n == 1) { return 1; } if (n == 2){ return 2; } int m1 = 1, m2 = 2; int i = 3; int sum = 0; while (i <= n) { sum = m1 + m2; m1 =...
15
27
0.259259
kkcookies99
432e5c2df7b0ea0380037b8c7691972f3e4e8c52
2,611
cpp
C++
higan/target-bsnes/settings/hotkeys.cpp
13824125580/higan
fbdd3f980b65412c362096579869ae76730e4118
[ "Intel", "ISC" ]
10
2019-12-19T01:19:41.000Z
2021-02-18T16:30:29.000Z
higan/target-bsnes/settings/hotkeys.cpp
13824125580/higan
fbdd3f980b65412c362096579869ae76730e4118
[ "Intel", "ISC" ]
null
null
null
higan/target-bsnes/settings/hotkeys.cpp
13824125580/higan
fbdd3f980b65412c362096579869ae76730e4118
[ "Intel", "ISC" ]
null
null
null
auto HotkeySettings::create() -> void { setIcon(Icon::Device::Keyboard); setText("Hotkeys"); layout.setPadding(5); mappingList.setBatchable(); mappingList.setHeadered(); mappingList.onActivate([&] { if(assignButton.enabled()) assignButton.doActivate(); }); mappingList.onChange([&] { auto batche...
30.717647
133
0.692838
13824125580
432ebabcf62086404963b5b3d0bcd883448fcd26
5,214
hpp
C++
PathTracer/src/GDIWindow.hpp
Guarneri1743/PathTracer
2eb4297ddbc425771dde5575fc67c054395b240d
[ "MIT" ]
null
null
null
PathTracer/src/GDIWindow.hpp
Guarneri1743/PathTracer
2eb4297ddbc425771dde5575fc67c054395b240d
[ "MIT" ]
null
null
null
PathTracer/src/GDIWindow.hpp
Guarneri1743/PathTracer
2eb4297ddbc425771dde5575fc67c054395b240d
[ "MIT" ]
null
null
null
#ifndef _GDI_WINDOW_ #define _GDI_WINDOW_ namespace Guarneri { static LRESULT event_callback(HWND, UINT, WPARAM, LPARAM); static bool closed; class GDIWindow { public: void* framebuffer; int width; int height; float aspect; LPCSTR title; LPCSTR name; bool initialized; int buffer_size; HWND wind...
25.684729
162
0.71097
Guarneri1743
432f3d25a1dc81fab25c7e663e92e05d21de5d10
1,006
cpp
C++
mIon/Engine.cpp
Svensational/mIon
e72aec811a60592b9e7f5bf456bede83fc8ef509
[ "MIT" ]
null
null
null
mIon/Engine.cpp
Svensational/mIon
e72aec811a60592b9e7f5bf456bede83fc8ef509
[ "MIT" ]
null
null
null
mIon/Engine.cpp
Svensational/mIon
e72aec811a60592b9e7f5bf456bede83fc8ef509
[ "MIT" ]
null
null
null
#include "Engine.h" #include <thread> namespace mion { Engine * Engine::s_pInstance = nullptr; Engine::Engine() : m_bRunning( false ), m_pWindow( nullptr ) { } Engine::~Engine() { } Engine * const Engine::getInstance() { return s_pInstance; } void Engine::renderLoop() { const std::chrono::high_res...
18.981132
113
0.633201
Svensational
4330e4c3e9d1c8ba9459d26ad4bd280fb84c872f
1,688
cpp
C++
src/mugen/mugen_exception.cpp
marstau/shinsango
d9468787ae8e18fa478f936770d88e9bf93c11c0
[ "BSD-3-Clause" ]
1
2021-06-16T15:25:47.000Z
2021-06-16T15:25:47.000Z
src/mugen/mugen_exception.cpp
marstau/shinsango
d9468787ae8e18fa478f936770d88e9bf93c11c0
[ "BSD-3-Clause" ]
null
null
null
src/mugen/mugen_exception.cpp
marstau/shinsango
d9468787ae8e18fa478f936770d88e9bf93c11c0
[ "BSD-3-Clause" ]
null
null
null
#include <string> #include <sstream> #include "exception.h" MugenException::MugenException(): Exception::Base("", -1), reason("unspecified"), where("?"), line(0){ } MugenException::MugenException(const std::string & reason, const std::string & where, int line): Exception::Base(where, line), reason(reason), where(whe...
23.444444
122
0.737559
marstau
43312442df6f0bbff4cb5241d5bf75a40851a09a
5,420
cpp
C++
Examples/Graph.cpp
haskellstudio/belle_old
a5ce86954b61dbacde1d1bf24472d95246be45e5
[ "BSD-2-Clause" ]
null
null
null
Examples/Graph.cpp
haskellstudio/belle_old
a5ce86954b61dbacde1d1bf24472d95246be45e5
[ "BSD-2-Clause" ]
null
null
null
Examples/Graph.cpp
haskellstudio/belle_old
a5ce86954b61dbacde1d1bf24472d95246be45e5
[ "BSD-2-Clause" ]
null
null
null
/* ============================================================================== Copyright 2007-2013 William Andrew Burnson. 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. Redistribut...
40.75188
80
0.670295
haskellstudio
4331717305b8ac1f93dfea037084fb024e9e1bc2
1,794
cpp
C++
cpp/rom_field_F384PM.cpp
zerjioang/core
ae092583a4b333dd975438a720da7cccfcd27707
[ "Apache-2.0" ]
133
2019-09-04T14:42:38.000Z
2022-03-24T12:21:32.000Z
cpp/rom_field_F384PM.cpp
zerjioang/core
ae092583a4b333dd975438a720da7cccfcd27707
[ "Apache-2.0" ]
40
2019-10-02T15:01:38.000Z
2022-03-16T13:35:43.000Z
cpp/rom_field_F384PM.cpp
zerjioang/core
ae092583a4b333dd975438a720da7cccfcd27707
[ "Apache-2.0" ]
53
2019-09-09T18:50:20.000Z
2022-03-22T07:17:08.000Z
/* * Copyright (c) 2012-2020 MIRACL UK Ltd. * * This file is part of MIRACL Core * (see https://github.com/miracl/core). * * 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...
32.035714
169
0.780379
zerjioang
4332a04f349395c20e332b3a784516a73c4a3acf
5,177
cpp
C++
source/System/CPUInfo/CPUInfo_Private.cpp
Praxinos/ULIS3
98eb48293fdd3b45fcfe4b659d471572100d1623
[ "RSA-MD" ]
30
2020-09-16T17:39:36.000Z
2022-02-17T08:32:53.000Z
source/System/CPUInfo/CPUInfo_Private.cpp
Praxinos/ULIS3
98eb48293fdd3b45fcfe4b659d471572100d1623
[ "RSA-MD" ]
7
2020-11-23T14:37:15.000Z
2022-01-17T11:35:32.000Z
source/System/CPUInfo/CPUInfo_Private.cpp
Praxinos/ULIS3
98eb48293fdd3b45fcfe4b659d471572100d1623
[ "RSA-MD" ]
5
2020-09-17T00:39:14.000Z
2021-08-30T16:14:07.000Z
/* * kaze *__________________ * @file CPUInfo_Private.cpp * @author Clement Berthaud * @brief This file provides the definition for the FCPUInfo_Private tools. * @copyright Copyright 2021 Clement Berthaud. * @license Please refer to LICENSE.md */ #include "System/CPUInfo/CPUInfo_Private.h...
53.927083
108
0.565965
Praxinos
43354a170b1c217ee5bb68cebe6fab6e2b7b871c
584
cpp
C++
CC/CF/UniqueNumber.cpp
MrRobo24/Codes
9513f42b61e898577123d5b996e43ba7a067a019
[ "MIT" ]
1
2020-10-12T08:03:20.000Z
2020-10-12T08:03:20.000Z
CC/CF/UniqueNumber.cpp
MrRobo24/Codes
9513f42b61e898577123d5b996e43ba7a067a019
[ "MIT" ]
null
null
null
CC/CF/UniqueNumber.cpp
MrRobo24/Codes
9513f42b61e898577123d5b996e43ba7a067a019
[ "MIT" ]
null
null
null
//AC #include <bits/stdc++.h> #define LLI long long using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); LLI t; cin >> t; while (t--) { LLI x; cin >> x; if (x > 45) { cout << -1 << "\n"; continue; } s...
14.6
40
0.333904
MrRobo24
433616b4fd14a9773fcbc76963fa29ec69c08b56
836
cpp
C++
storm/dp_knapsack_bottom-up.cpp
italo-batista/problems-solving
f83ad34f0abebd52925c4020635556f20743ba06
[ "MIT" ]
null
null
null
storm/dp_knapsack_bottom-up.cpp
italo-batista/problems-solving
f83ad34f0abebd52925c4020635556f20743ba06
[ "MIT" ]
null
null
null
storm/dp_knapsack_bottom-up.cpp
italo-batista/problems-solving
f83ad34f0abebd52925c4020635556f20743ba06
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #include <cstdio> #include <cstring> #include <iostream> #include <cstdlib> #include <algorithm> #define MAX 4000 using namespace std; int n, s, peso[MAX], valor[MAX], dp[MAX][MAX]; int main() { memset(dp, -1, sizeof(dp)); // dp[all i] = -1 cin >> s >> n; for (int i=1; i<=n; i++) { ...
15.481481
60
0.503589
italo-batista
433665e9296f999511098d4171f36eb6d3552a6e
38,083
cpp
C++
src/asdxShader.cpp
ProjectAsura/asdx11
67c3d4129f3e6d32e66c64ee9354d873f99d0eaf
[ "MIT" ]
null
null
null
src/asdxShader.cpp
ProjectAsura/asdx11
67c3d4129f3e6d32e66c64ee9354d873f99d0eaf
[ "MIT" ]
null
null
null
src/asdxShader.cpp
ProjectAsura/asdx11
67c3d4129f3e6d32e66c64ee9354d873f99d0eaf
[ "MIT" ]
null
null
null
//----------------------------------------------------------------------------- // File : asdxShader.h // Desc : Shader Set Module. // Copyright(c) Project Asura. ALl right reserved. //----------------------------------------------------------------------------- //-----------------------------------------------...
30.712097
102
0.401675
ProjectAsura
43369c1a9cdd4d4bdffa3902ad50618e8a5962ee
1,182
cpp
C++
cmps109/asg4/debug.cpp
isaiah-solo/ucsc-classes
a3e834ee26822827f7ea4977707ecf7e42e1b0c9
[ "MIT" ]
1
2018-05-11T19:14:47.000Z
2018-05-11T19:14:47.000Z
cmps109/asg4/debug.cpp
isaiah-solo/ucsc-classes
a3e834ee26822827f7ea4977707ecf7e42e1b0c9
[ "MIT" ]
null
null
null
cmps109/asg4/debug.cpp
isaiah-solo/ucsc-classes
a3e834ee26822827f7ea4977707ecf7e42e1b0c9
[ "MIT" ]
3
2019-04-19T03:38:47.000Z
2019-06-02T20:59:21.000Z
// $Id: debug.cpp,v 1.2 2014-05-08 18:07:04-07 - - $ #include <cassert> #include <climits> #include <iostream> #include <vector> using namespace std; #include "debug.h" #include "util.h" vector<bool> debugflags::flags (UCHAR_MAX + 1, false); void debugflags::setflags (const string& initflags) { for (const char f...
25.695652
67
0.580372
isaiah-solo
4337b08acc7c11d11f0080fecfdd8a9033effeee
50,009
cxx
C++
src/decomposition/path/path.cxx
huttered40/critter
50609be057ff62b8f9f8018355736749bc83cfc9
[ "BSD-2-Clause" ]
1
2021-09-12T01:44:43.000Z
2021-09-12T01:44:43.000Z
src/decomposition/path/path.cxx
huttered40/critter
50609be057ff62b8f9f8018355736749bc83cfc9
[ "BSD-2-Clause" ]
20
2020-02-29T03:12:33.000Z
2020-12-21T17:43:34.000Z
src/decomposition/path/path.cxx
huttered40/critter
50609be057ff62b8f9f8018355736749bc83cfc9
[ "BSD-2-Clause" ]
1
2020-07-21T11:52:54.000Z
2020-07-21T11:52:54.000Z
#include "path.h" #include "../container/symbol_tracker.h" #include "../../discretization/util/util.h" #include "../util/util.h" #include "../../util/util.h" namespace critter{ namespace internal{ namespace decomposition{ void path::exchange_communicators(MPI_Comm oldcomm, MPI_Comm newcomm){ // Accumulate the compu...
51.55567
175
0.707793
huttered40
4337c0bd814d439575b21c2b54f38d573e1d0714
4,649
cpp
C++
Source/Gui/OptionBox.cpp
alvinahmadov/Dixter
6f98f1e84192e1e43eee409bdee6b3dac75d6443
[ "MIT" ]
4
2018-12-06T01:20:50.000Z
2019-08-04T10:19:23.000Z
Source/Gui/OptionBox.cpp
alvinahmadov/Dixter
6f98f1e84192e1e43eee409bdee6b3dac75d6443
[ "MIT" ]
null
null
null
Source/Gui/OptionBox.cpp
alvinahmadov/Dixter
6f98f1e84192e1e43eee409bdee6b3dac75d6443
[ "MIT" ]
null
null
null
/** * Copyright (C) 2015-2019 * Author Alvin Ahmadov <alvin.dev.ahmadov@gmail.com> * * This file is part of Dixter Project * License-Identifier: MIT License * See README.md for more information. */ #include <QDebug> #include "Utilities.hpp" #include "Configuration.hpp" #include "Constants.hpp" #include "Gu...
22.244019
102
0.640783
alvinahmadov
4338947a412da18f04207d6cd91e24b985b681b3
914
cpp
C++
RayTracing/Grid/UI/Float3Slider.cpp
DarriusWrightGD/realtimeraytracing
1b1117858dcd8880ed88b59ce0388cfb39fc1d96
[ "MIT" ]
1
2020-03-27T18:59:57.000Z
2020-03-27T18:59:57.000Z
RayTracing/Grid/UI/Float3Slider.cpp
DarriusWrightGD/RealtimeRaytracing
1b1117858dcd8880ed88b59ce0388cfb39fc1d96
[ "MIT" ]
null
null
null
RayTracing/Grid/UI/Float3Slider.cpp
DarriusWrightGD/RealtimeRaytracing
1b1117858dcd8880ed88b59ce0388cfb39fc1d96
[ "MIT" ]
null
null
null
#include "Float3Slider.h" Float3Slider::Float3Slider(char * name, glm::vec3 min, glm::vec3 max, float * value , glm::vec3 gran) : min(min), max(max), value(value), gran(gran) { sliderLayout = new QHBoxLayout(); vectorLabel = new QLabel(name); sliderVector[0] = new FloatSlider("X", min[0],max[0],&value[0], gran[0]...
23.435897
103
0.68709
DarriusWrightGD
433ae75e9d736f625f831a1620e6e38bc019bf04
557
cpp
C++
apps/src/libvideostitch-gui/videostitcher/globalcontroller.cpp
tlalexander/stitchEm
cdff821ad2c500703e6cb237ec61139fce7bf11c
[ "MIT" ]
182
2019-04-19T12:38:30.000Z
2022-03-20T16:48:20.000Z
apps/src/libvideostitch-gui/videostitcher/globalcontroller.cpp
tlalexander/stitchEm
cdff821ad2c500703e6cb237ec61139fce7bf11c
[ "MIT" ]
107
2019-04-23T10:49:35.000Z
2022-03-02T18:12:28.000Z
apps/src/libvideostitch-gui/videostitcher/globalcontroller.cpp
tlalexander/stitchEm
cdff821ad2c500703e6cb237ec61139fce7bf11c
[ "MIT" ]
59
2019-06-04T11:27:25.000Z
2022-03-17T23:49:49.000Z
// Copyright (c) 2012-2017 VideoStitch SAS // Copyright (c) 2018 stitchEm #include "globalcontroller.hpp" GlobalController::GlobalController() : impl(nullptr) {} GlobalController::~GlobalController() { Q_ASSERT(impl); delete impl; } StitcherController* GlobalController::getController() const { Q_ASSERT(impl);...
20.62963
61
0.745063
tlalexander
433cf735c1a16d5d0c1fbc2d7508beafac849f4c
750
cpp
C++
cpp/minsk/source/analysis/text/span.cpp
Phytolizer/Minsk
5fb59f0d5d8cf1f0046471b91e2f5d0c41fc874c
[ "MIT" ]
null
null
null
cpp/minsk/source/analysis/text/span.cpp
Phytolizer/Minsk
5fb59f0d5d8cf1f0046471b91e2f5d0c41fc874c
[ "MIT" ]
1
2022-03-23T03:34:48.000Z
2022-03-24T06:47:30.000Z
cpp/minsk/source/analysis/text/span.cpp
Phytolizer/Minsk
5fb59f0d5d8cf1f0046471b91e2f5d0c41fc874c
[ "MIT" ]
null
null
null
#include "minsk/analysis/text/span.hpp" minsk::analysis::text::text_span::text_span(int start, int length) : m_start(start), m_length(length) {} minsk::analysis::text::text_span minsk::analysis::text::text_span::from_bounds(int start, int end) { return text_span{start, end - start}; } int minsk::analysis::text...
34.090909
80
0.676
Phytolizer
433d042ebbf37ddf2d23e09e8c5cf0931dedd2cb
5,567
cpp
C++
iotbx/pdb/hierarchy_atoms_bpl.cpp
rimmartin/cctbx_project
644090f9432d9afc22cfb542fc3ab78ca8e15e5d
[ "BSD-3-Clause-LBNL" ]
155
2016-11-23T12:52:16.000Z
2022-03-31T15:35:44.000Z
iotbx/pdb/hierarchy_atoms_bpl.cpp
rimmartin/cctbx_project
644090f9432d9afc22cfb542fc3ab78ca8e15e5d
[ "BSD-3-Clause-LBNL" ]
590
2016-12-10T11:31:18.000Z
2022-03-30T23:10:09.000Z
iotbx/pdb/hierarchy_atoms_bpl.cpp
rimmartin/cctbx_project
644090f9432d9afc22cfb542fc3ab78ca8e15e5d
[ "BSD-3-Clause-LBNL" ]
115
2016-11-15T08:17:28.000Z
2022-02-09T15:30:14.000Z
#include <cctbx/boost_python/flex_fwd.h> #include <cctbx/xray/scatterer.h> #include <cctbx/adptbx.h> #include <cctbx/uctbx.h> #include <boost/python/class.hpp> #include <boost/python/dict.hpp> #include <boost/python/str.hpp> #include <boost/python/args.hpp> #include <boost/python/return_arg.hpp> #include <scitbx/array...
37.870748
78
0.645949
rimmartin
433d04b598e823da49c5fb6e196785cd3745b131
3,505
hpp
C++
src/xalanc/PlatformSupport/Writer.hpp
ulisesten/xalanc
a722de08e61ce66965c4a828242f7d1250950621
[ "Apache-2.0" ]
24
2015-07-29T22:49:17.000Z
2022-03-25T10:14:17.000Z
src/xalanc/PlatformSupport/Writer.hpp
ulisesten/xalanc
a722de08e61ce66965c4a828242f7d1250950621
[ "Apache-2.0" ]
14
2019-05-10T16:25:50.000Z
2021-11-24T18:04:47.000Z
src/xalanc/PlatformSupport/Writer.hpp
ulisesten/xalanc
a722de08e61ce66965c4a828242f7d1250950621
[ "Apache-2.0" ]
28
2015-04-20T15:50:51.000Z
2022-01-26T14:56:55.000Z
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the "License"); * you m...
23.682432
144
0.637946
ulisesten
433d1527559c11feb2d9e258eecd883f91e66a7b
2,174
hh
C++
src/rng/LC_Subrandom_Generator.hh
rspavel/Draco
b279b1afbfbb39f2d521579697172394c5efd81d
[ "BSD-3-Clause-Open-MPI" ]
null
null
null
src/rng/LC_Subrandom_Generator.hh
rspavel/Draco
b279b1afbfbb39f2d521579697172394c5efd81d
[ "BSD-3-Clause-Open-MPI" ]
null
null
null
src/rng/LC_Subrandom_Generator.hh
rspavel/Draco
b279b1afbfbb39f2d521579697172394c5efd81d
[ "BSD-3-Clause-Open-MPI" ]
null
null
null
//----------------------------------*-C++-*----------------------------------// /*! * \file rng/LC_Subrandom_Generator.hh * \author Kent Budge * \brief Definition of class LC_Subrandom_Generator * \note Copyright (C) 2016-2019 Triad National Security, LLC. * All rights reserved. */ //-----------------...
28.233766
79
0.579577
rspavel
433e267645d7db0ec43692267f8e771a01a48d07
511
hpp
C++
plugins/libpng/include/sge/libpng/error_context_ref.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
plugins/libpng/include/sge/libpng/error_context_ref.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
plugins/libpng/include/sge/libpng/error_context_ref.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
3
2018-05-11T01:11:34.000Z
2021-04-24T19:47:45.000Z
// Copyright Carl Philipp Reh 2006 - 2019. // 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 SGE_LIBPNG_ERROR_CONTEXT_REF_HPP_INCLUDED #define SGE_LIBPNG_ERROR_CONTEXT_REF_HPP_INCLUDED...
25.55
71
0.761252
cpreh
433f775a1a2d66621435d3f82f7810ba28529c92
581
cpp
C++
272 TEX Quotes.cpp
zihadboss/UVA-Solutions
020fdcb09da79dc0a0411b04026ce3617c09cd27
[ "Apache-2.0" ]
86
2016-01-20T11:36:50.000Z
2022-03-06T19:43:14.000Z
272 TEX Quotes.cpp
Mehedishihab/UVA-Solutions
474fe3d9d9ba574b97fd40ca5abb22ada95654a1
[ "Apache-2.0" ]
null
null
null
272 TEX Quotes.cpp
Mehedishihab/UVA-Solutions
474fe3d9d9ba574b97fd40ca5abb22ada95654a1
[ "Apache-2.0" ]
113
2015-12-04T06:40:57.000Z
2022-02-11T02:14:28.000Z
#include <iostream> #include <string> using namespace std; int main() { string temp; bool isFirst(true); while (getline(cin, temp)) { for (string::iterator iter = temp.begin(); iter != temp.end(); ++iter) { if (*iter == '"') { if (isFirst) ...
18.15625
78
0.342513
zihadboss
434088dc41dd9cf7b51e868677a756cd0fce5f2d
1,186
cpp
C++
Game_Engine/GameOver.cpp
IndiaWomble/Game-Engine
8b2a47db6e976d272e62c6f9f4f2bc8d6b07b957
[ "Apache-2.0" ]
null
null
null
Game_Engine/GameOver.cpp
IndiaWomble/Game-Engine
8b2a47db6e976d272e62c6f9f4f2bc8d6b07b957
[ "Apache-2.0" ]
null
null
null
Game_Engine/GameOver.cpp
IndiaWomble/Game-Engine
8b2a47db6e976d272e62c6f9f4f2bc8d6b07b957
[ "Apache-2.0" ]
null
null
null
//Game Over State source file #include "GameOver.h" //Instantiating static variable gameOverID const std::string GameOverState::gameOverID = "GAMEOVER"; //GameOver State constructor GameOverState::GameOverState(std::vector<GameObject*> parameter, void (*callbackFunction)()) { for (int i = 0; i < parameter.size(); i...
23.254902
97
0.735245
IndiaWomble
43416145b8f4cbbf25133e338b72525b6d825609
4,188
cpp
C++
src/ledger/FeeFrame.cpp
RomanTkachenkoDistr/SwarmCore
db0544758e7bb3c879778cfdd6946b9a72ba23ab
[ "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0", "BSL-1.0", "BSD-3-Clause" ]
null
null
null
src/ledger/FeeFrame.cpp
RomanTkachenkoDistr/SwarmCore
db0544758e7bb3c879778cfdd6946b9a72ba23ab
[ "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0", "BSL-1.0", "BSD-3-Clause" ]
null
null
null
src/ledger/FeeFrame.cpp
RomanTkachenkoDistr/SwarmCore
db0544758e7bb3c879778cfdd6946b9a72ba23ab
[ "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0", "BSL-1.0", "BSD-3-Clause" ]
null
null
null
#include "ledger/FeeFrame.h" #include "database/Database.h" #include "crypto/SecretKey.h" #include "crypto/SHA.h" #include "LedgerDelta.h" #include "util/types.h" using namespace std; using namespace soci; namespace stellar { FeeFrame::FeeFrame() : EntryFrame(LedgerEntryType::FEE), mFee(mEntry.data.feeState()) ...
27.019355
121
0.608644
RomanTkachenkoDistr
43424a0765c0632fbd13fd85bbdd39f388d36333
4,979
cc
C++
enumerative-search/utils.cc
HiroakiMikami/DeepCoder-Utils
c433d76371cf3f3a62b7b2dbaec9e8121d394a08
[ "MIT" ]
26
2019-05-23T20:12:03.000Z
2022-03-25T06:52:14.000Z
enumerative-search/utils.cc
HiroakiMikami/DeepCoder-Utils
c433d76371cf3f3a62b7b2dbaec9e8121d394a08
[ "MIT" ]
1
2019-08-16T13:05:36.000Z
2019-08-16T13:05:36.000Z
enumerative-search/utils.cc
HiroakiMikami/DeepCoder-Utils
c433d76371cf3f3a62b7b2dbaec9e8121d394a08
[ "MIT" ]
8
2019-05-10T10:58:19.000Z
2020-12-12T17:29:01.000Z
#include "utils.h" #include <stdio.h> #include <stdarg.h> #include <string> #include <math.h> #include <iostream> string StringPrintf(const char *format, ...) { va_list arg; char buffer[512]; // TODO(medium): Should check for overflow va_start(arg, format); vsprintf(buffer, format, arg); va_end (arg); ...
23.822967
91
0.565776
HiroakiMikami
4344759dacfa6557e99d15c35d3f20bf63617418
445,525
cpp
C++
src/mame/drivers/nmk16.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
26
2015-03-31T06:25:51.000Z
2021-12-14T09:29:04.000Z
src/mame/drivers/nmk16.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
null
null
null
src/mame/drivers/nmk16.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
10
2015-03-27T05:45:51.000Z
2022-02-04T06:57:36.000Z
// license:BSD-3-Clause // copyright-holders:Mirko Buffoni,Nicola Salmoria,Bryan McPhail,David Haywood,R. Belmont,Alex Marshall,Angelo Salese,Luca Elia // thanks-to:Richard Bush /******************************************************************** Task Force Harrier 1989 UPL 68000 Z80 YM2203 2...
49.862899
421
0.700354
Robbbert
43463d548094f54c7e5cf389576ae9143e901a70
3,322
cc
C++
content/public/common/content_client.cc
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
1
2020-09-15T08:43:34.000Z
2020-09-15T08:43:34.000Z
content/public/common/content_client.cc
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
null
null
null
content/public/common/content_client.cc
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "content/public/common/content_client.h" #include "base/logging.h" #include "base/strings/string_piece.h" #include "build/build_config.h" #i...
24.248175
78
0.752559
maidiHaitai
43469e8d2db6b4e321b9f51e6b035ac8d2e50f45
13,751
cxx
C++
code/plugins/xray_re/xr_scene.cxx
Rikoshet-234/xray-oxygen
eaac3fa4780639152684f3251b8b4452abb8e439
[ "Apache-2.0" ]
7
2018-03-27T12:36:07.000Z
2020-06-26T11:31:52.000Z
code/plugins/xray_re/xr_scene.cxx
Rikoshet-234/xray-oxygen
eaac3fa4780639152684f3251b8b4452abb8e439
[ "Apache-2.0" ]
2
2018-05-26T23:17:14.000Z
2019-04-14T18:33:27.000Z
code/plugins/xray_re/xr_scene.cxx
Rikoshet-234/xray-oxygen
eaac3fa4780639152684f3251b8b4452abb8e439
[ "Apache-2.0" ]
5
2020-10-18T11:55:26.000Z
2022-03-28T07:21:35.000Z
#include "xr_scene.h" #include "xr_scene_ai_map.h" #include "xr_scene_details.h" #include "xr_scene_glows.h" #include "xr_scene_groups.h" #include "xr_scene_lights.h" #include "xr_scene_particles.h" #include "xr_scene_portals.h" #include "xr_scene_sectors.h" #include "xr_scene_shapes.h" #include "xr_scene_sound_envs.h"...
27.668008
120
0.726056
Rikoshet-234
4348e96186c368e175b686cee615ba2a261d8e69
9,572
cpp
C++
rviz_default_plugins/test/rviz_default_plugins/view_controllers/fps/fps_view_controller_test.cpp
Tobias-Fischer/rviz-1
2d84e191873befa86c1b4060ddf7e25b39d095c1
[ "BSD-3-Clause-Clear" ]
108
2017-08-29T11:01:08.000Z
2022-03-31T06:07:52.000Z
rviz_default_plugins/test/rviz_default_plugins/view_controllers/fps/fps_view_controller_test.cpp
Tobias-Fischer/rviz-1
2d84e191873befa86c1b4060ddf7e25b39d095c1
[ "BSD-3-Clause-Clear" ]
741
2017-08-29T06:30:27.000Z
2022-03-29T14:46:07.000Z
rviz_default_plugins/test/rviz_default_plugins/view_controllers/fps/fps_view_controller_test.cpp
Tobias-Fischer/rviz-1
2d84e191873befa86c1b4060ddf7e25b39d095c1
[ "BSD-3-Clause-Clear" ]
141
2017-08-31T08:31:26.000Z
2022-03-31T14:46:36.000Z
/* * Copyright (c) 2018, Bosch Software Innovations GmbH. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted (subject to the limitations in the disclaimer * below) provided that the following conditions are met: * * * Redistributions o...
42.923767
98
0.752925
Tobias-Fischer
43490df917e86965b41f011d1c725cfd4adec159
1,306
hpp
C++
llarp/dns/question.hpp
da4089/llarp
e223f5d023b1794638b9e9b47a86ed03c8c25306
[ "Zlib" ]
28
2018-01-25T17:39:25.000Z
2022-03-26T15:23:12.000Z
llarp/dns/question.hpp
gjyoung1974/loki-network
6559bb8f9e80095b4a7462ccb8fdf12e8ce19527
[ "Zlib" ]
2
2019-12-19T15:37:07.000Z
2020-01-31T19:42:28.000Z
llarp/dns/question.hpp
gjyoung1974/loki-network
6559bb8f9e80095b4a7462ccb8fdf12e8ce19527
[ "Zlib" ]
7
2018-05-21T12:34:50.000Z
2021-05-05T11:57:50.000Z
#ifndef LLARP_DNS_QUESTION_HPP #define LLARP_DNS_QUESTION_HPP #include <dns/serialize.hpp> #include <dns/name.hpp> #include <net/net_int.hpp> namespace llarp { namespace dns { using QType_t = uint16_t; using QClass_t = uint16_t; struct Question : public Serialize { Question() = default; ...
20.730159
63
0.603369
da4089
43494642380d832641ce016fea4e5180ebfe1caa
8,080
cpp
C++
test/test_conversions.cpp
nuclearsandwich-ros/octomap_ros-release
48838155654ca76d5eb4c421f30e1898408a6086
[ "BSD-3-Clause" ]
null
null
null
test/test_conversions.cpp
nuclearsandwich-ros/octomap_ros-release
48838155654ca76d5eb4c421f30e1898408a6086
[ "BSD-3-Clause" ]
null
null
null
test/test_conversions.cpp
nuclearsandwich-ros/octomap_ros-release
48838155654ca76d5eb4c421f30e1898408a6086
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2021, Daisuke Nishimatsu. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the above copyright // notice, this list of condi...
31.076923
87
0.71151
nuclearsandwich-ros
434a512f05e53fd9827c861245143c832012ecc9
25,850
cxx
C++
GPU/GPUTracking/Base/hip/GPUReconstructionHIP.hip.cxx
aknospe/AliRoot
96d76b2078d6b757a2843ae4a890a85021241e70
[ "BSD-3-Clause" ]
null
null
null
GPU/GPUTracking/Base/hip/GPUReconstructionHIP.hip.cxx
aknospe/AliRoot
96d76b2078d6b757a2843ae4a890a85021241e70
[ "BSD-3-Clause" ]
null
null
null
GPU/GPUTracking/Base/hip/GPUReconstructionHIP.hip.cxx
aknospe/AliRoot
96d76b2078d6b757a2843ae4a890a85021241e70
[ "BSD-3-Clause" ]
null
null
null
//**************************************************************************\ //* This file is property of and copyright by the ALICE Project *\ //* ALICE Experiment at CERN, All rights reserved. *\ //* *\ //* Prim...
42.727273
287
0.670097
aknospe
434cdbfcf15052e3f8bba86220f599a4623b631c
1,203
hpp
C++
Hog_HLS/solution1/csim/build/HOG.hpp
DoubleGithub/HOG_Zedboard
6fc55c37ee210d7fc8bca919213e96bfc5c9d811
[ "MIT" ]
29
2018-07-09T10:12:47.000Z
2022-01-14T18:57:52.000Z
Hog_HLS/solution1/csim/build/HOG.hpp
DoubleGithub/HOG_Zedboard
6fc55c37ee210d7fc8bca919213e96bfc5c9d811
[ "MIT" ]
10
2018-10-30T10:38:12.000Z
2021-04-14T00:43:29.000Z
Hog_HLS/solution1/csim/build/HOG.hpp
DoubleGithub/HOG_Zedboard
6fc55c37ee210d7fc8bca919213e96bfc5c9d811
[ "MIT" ]
10
2019-07-04T07:39:38.000Z
2021-05-11T13:54:07.000Z
#ifndef HOG_HPP_ #define HOG_HPP_ #include "types.h" #include <iostream> #include "consts.h" #include <string.h> #include "math.h" #define VECTOR_SIZE 3780 using namespace std; // void computeHOG(unsigned char *inputImage , unsigned char *output); void hog(int *specs,unsigned char *image0); //void hog(unsigned int...
27.976744
135
0.719867
DoubleGithub
434d9303b5bf4fe27f58b07da1dacda0c7dd54af
7,583
cpp
C++
android-31/android/animation/ValueAnimator.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-28/android/animation/ValueAnimator.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-30/android/animation/ValueAnimator.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#include "../../JFloatArray.hpp" #include "../../JIntArray.hpp" #include "../../JArray.hpp" #include "../../JObjectArray.hpp" #include "./Animator.hpp" #include "../../JObject.hpp" #include "../../JString.hpp" #include "./ValueAnimator.hpp" namespace android::animation { // Fields jint ValueAnimator::INFINITE() { ...
19.645078
93
0.678359
YJBeetle
4350204c4b39af95b64e3d43058cd7f9c46b4bd4
2,425
cpp
C++
EngineTests/Platforms.GAPI/Compute/CApp_UpdateBuffer.cpp
azhirnov/GraphicsGenFramework-modular
348be601f1991f102defa0c99250529f5e44c4d3
[ "BSD-2-Clause" ]
12
2017-12-23T14:24:57.000Z
2020-10-02T19:52:12.000Z
EngineTests/Platforms.GAPI/Compute/CApp_UpdateBuffer.cpp
azhirnov/ModularGraphicsFramework
348be601f1991f102defa0c99250529f5e44c4d3
[ "BSD-2-Clause" ]
null
null
null
EngineTests/Platforms.GAPI/Compute/CApp_UpdateBuffer.cpp
azhirnov/ModularGraphicsFramework
348be601f1991f102defa0c99250529f5e44c4d3
[ "BSD-2-Clause" ]
null
null
null
// Copyright (c) Zhirnov Andrey. For more information see 'LICENSE.txt' #include "CApp.h" bool CApp::_Test_UpdateBuffer () { // generate data BinaryArray data; data.Resize( 512 ); BinaryArray data2; data2.Resize( 256 ); FOR( i, data ) { data[i] = Random::Int<ubyte>(); } FOR( i, data2 ) { data2[i] = Rando...
25.526316
95
0.686598
azhirnov
435145bddef934ff52ae533a1b85648ac45db1d9
4,818
cpp
C++
src/lib/src/sat/dimacs/parser.cpp
black-sat/black
80902240987312fb0e6f00227a06e9f9c9728a67
[ "MIT" ]
4
2020-09-30T15:16:22.000Z
2021-09-20T15:02:39.000Z
src/lib/src/sat/dimacs/parser.cpp
teodorov/black
4de280ded5e99cc515141b4acc35137ba32c2469
[ "MIT" ]
42
2020-07-15T13:46:11.000Z
2022-03-10T09:42:43.000Z
src/lib/src/sat/dimacs/parser.cpp
teodorov/black
4de280ded5e99cc515141b4acc35137ba32c2469
[ "MIT" ]
3
2020-03-30T14:39:17.000Z
2022-03-18T14:05:33.000Z
// // BLACK - Bounded Ltl sAtisfiability ChecKer // // (C) 2021 Nicola Gigante // // 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 righ...
24.835052
80
0.585305
black-sat
43517c785d6fc5a398a8df3ccbe4ec4568611f3a
4,377
cpp
C++
SimpleSocks/cl_TCPServer.cpp
SimpleRepos/SimpleSocks
7c5fe41d8a119d2ad285d0e98087cd4a0ed45859
[ "MIT" ]
null
null
null
SimpleSocks/cl_TCPServer.cpp
SimpleRepos/SimpleSocks
7c5fe41d8a119d2ad285d0e98087cd4a0ed45859
[ "MIT" ]
null
null
null
SimpleSocks/cl_TCPServer.cpp
SimpleRepos/SimpleSocks
7c5fe41d8a119d2ad285d0e98087cd4a0ed45859
[ "MIT" ]
null
null
null
#include "cl_TCPServer.h" #include <WS2tcpip.h> //Set members to default values. //SOCKET_ERROR is used here to indicate that the socket is closed SSocks::TCPServer::TCPServer() : sock(SOCKET_ERROR), blocking(true) { //nothing } //invoke the default constructor and then call start() SSocks::TCPServer::TCPServer(uin...
33.930233
109
0.720356
SimpleRepos
43518db909e026f9a4e402d831480b411057e047
2,120
cpp
C++
core/driver/disk.cpp
JartC0ding/horizon
2b9a75b45ac768a8da0f7a98f164a37690dc583f
[ "MIT" ]
4
2022-01-06T09:19:46.000Z
2022-03-27T18:08:36.000Z
core/driver/disk.cpp
JartC0ding/horizon
2b9a75b45ac768a8da0f7a98f164a37690dc583f
[ "MIT" ]
null
null
null
core/driver/disk.cpp
JartC0ding/horizon
2b9a75b45ac768a8da0f7a98f164a37690dc583f
[ "MIT" ]
1
2022-03-22T19:10:05.000Z
2022-03-22T19:10:05.000Z
#include <driver/disk.h> #include <utils/log.h> using namespace driver; disk_driver_manager* driver::global_disk_manager; disk_device::disk_device() { } disk_device::~disk_device() { } void disk_device::read(uint64_t sector, uint32_t sector_count, void* buffer) { } void disk_device::write(uint64_t sector, ui...
21.85567
108
0.696226
JartC0ding
43527ff00fdf820bd0b4b098fdac7dea51d80805
1,444
cpp
C++
src/BLDCM-control-ino.cpp
Infineon/motor-system-ic-tle956x
8147c362d1bde2a5d10c07fd87b580bc5844e4a8
[ "MIT" ]
5
2021-08-02T08:20:08.000Z
2022-03-17T08:56:24.000Z
src/BLDCM-control-ino.cpp
Infineon/motor-system-ic-tle956x
8147c362d1bde2a5d10c07fd87b580bc5844e4a8
[ "MIT" ]
1
2022-02-28T12:26:57.000Z
2022-02-28T12:26:57.000Z
src/BLDCM-control-ino.cpp
Infineon/motor-system-ic-tle956x
8147c362d1bde2a5d10c07fd87b580bc5844e4a8
[ "MIT" ]
null
null
null
/*! * \file BLDCM-control-ino.cpp * \name BLDCM-control-ino.cpp - basic motor control functions for Arduino * \author Infineon Technologies AG * \copyright 2020-2021 Infineon Technologies AG * \version 1.0.0 * \brief This library includes the basic common functions to control ...
33.581395
118
0.705679
Infineon
435406e012dea6e5c12e53e7d73c44ce9abab01b
14,358
cpp
C++
src/external/open_dynamics_engine-ef/ode/ode_collision_quadtreespace.cpp
Benefit-Zebra/ballistica
eb85df82cff22038e74a2d93abdcbe9cd755d782
[ "MIT" ]
317
2020-04-04T00:33:10.000Z
2022-03-28T01:07:09.000Z
src/external/open_dynamics_engine-ef/ode/ode_collision_quadtreespace.cpp
Alshahriah/ballistica
326f6677a0118667e93ce9034849622ebef706fa
[ "MIT" ]
315
2020-04-04T22:33:10.000Z
2022-03-31T22:50:02.000Z
src/external/open_dynamics_engine-ef/ode/ode_collision_quadtreespace.cpp
Alshahriah/ballistica
326f6677a0118667e93ce9034849622ebef706fa
[ "MIT" ]
97
2020-04-04T01:32:17.000Z
2022-03-16T19:02:59.000Z
/************************************************************************* * * * Open Dynamics Engine, Copyright (C) 2001-2003 Russell L. Smith. * * All rights reserved. Email: russ@q12.org Web: www.q12.org * * ...
24.585616
145
0.625296
Benefit-Zebra
4354429a7f3731314acf1f40f94f8661a6e197e9
8,839
hpp
C++
include/boost/compute/types/tuple.hpp
roshanr95/compute
377e509acd16af466cdb133d70e2dcd525ec1a87
[ "BSL-1.0" ]
null
null
null
include/boost/compute/types/tuple.hpp
roshanr95/compute
377e509acd16af466cdb133d70e2dcd525ec1a87
[ "BSL-1.0" ]
null
null
null
include/boost/compute/types/tuple.hpp
roshanr95/compute
377e509acd16af466cdb133d70e2dcd525ec1a87
[ "BSL-1.0" ]
1
2020-04-09T15:56:37.000Z
2020-04-09T15:56:37.000Z
//---------------------------------------------------------------------------// // Copyright (c) 2013 Kyle Lutz <kyle.r.lutz@gmail.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 // // See http://boostorg.gi...
39.995475
85
0.489874
roshanr95
4354fd8c8bc205aea0c35010ebf1c532539fe372
24,512
cpp
C++
Project/Source/Scene.cpp
TBD-org/RealBugEngine
0131fde0abc2d86137500acd6f63ed8f0fc2835f
[ "MIT" ]
7
2021-04-26T21:32:12.000Z
2022-02-14T13:48:53.000Z
Project/Source/Scene.cpp
TBD-org/RealBugEngine
0131fde0abc2d86137500acd6f63ed8f0fc2835f
[ "MIT" ]
66
2021-04-24T10:08:07.000Z
2021-10-05T16:52:56.000Z
Project/Source/Scene.cpp
TBD-org/Tesseract
0131fde0abc2d86137500acd6f63ed8f0fc2835f
[ "MIT" ]
1
2021-07-13T21:26:13.000Z
2021-07-13T21:26:13.000Z
#include "Scene.h" #include "GameObject.h" #include "Application.h" #include "Modules/ModuleTime.h" #include "Modules/ModuleEditor.h" #include "Modules/ModuleRender.h" #include "Modules/ModulePhysics.h" #include "Modules/ModuleTime.h" #include "Modules/ModuleCamera.h" #include "Modules/ModuleWindow.h" #include "Module...
33.214092
136
0.777945
TBD-org
435552d931ccffb65e45704f1b5909b4cb708ba0
1,606
cpp
C++
modules/argument_game/grid_controller_base.cpp
Niluk93/ArgumentGame
e934399578d3aa0852faed3175b8675439632c9e
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
1
2020-03-08T21:31:15.000Z
2020-03-08T21:31:15.000Z
modules/argument_game/grid_controller_base.cpp
Niluk93/ArgumentGame
e934399578d3aa0852faed3175b8675439632c9e
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
null
null
null
modules/argument_game/grid_controller_base.cpp
Niluk93/ArgumentGame
e934399578d3aa0852faed3175b8675439632c9e
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
null
null
null
#include "grid_controller_base.h" #include "grid_state.h" #include "game_grid.h" #include <stdexcept> GridControllerBase::GridControllerBase() : bAcceptingInput(true) { } void GridControllerBase::_bind_methods() { ClassDB::bind_method(D_METHOD("init", "owner"), &GridControllerBase::init); ClassDB::bind_method(D_ME...
30.301887
125
0.800125
Niluk93
43569ad39815f1f8b9c0661f1e4a85149010644c
1,761
cpp
C++
2019/online/0908/test.cpp
tusikalanse/acm-icpc
20150f42752b85e286d812e716bb32ae1fa3db70
[ "MIT" ]
2
2021-06-09T12:27:07.000Z
2021-06-11T12:02:03.000Z
2019/online/0908/test.cpp
tusikalanse/acm-icpc
20150f42752b85e286d812e716bb32ae1fa3db70
[ "MIT" ]
1
2021-09-08T12:00:05.000Z
2021-09-08T14:52:30.000Z
2019/online/0908/test.cpp
tusikalanse/acm-icpc
20150f42752b85e286d812e716bb32ae1fa3db70
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; typedef long long ll; const int maxn=2e6+10; ll m,n,k; ll f[maxn]; int main() { //freopen("in.txt","r",stdin); int t; cin>>t; int T=0; while(t--) { T++; cin>>n>>m>>k; cout<<"Case #"<<T<<": "; if(m<=k){//直接递推 ...
26.681818
59
0.252697
tusikalanse
4357a69dd104e211a12495be7e01f51c27fcab19
4,512
cpp
C++
orca/gporca/libnaucrates/src/operators/CDXLColDescr.cpp
vitessedata/gpdb.4.3.99.x
9462aad5df1bf120a2a87456b1f9574712227da4
[ "PostgreSQL", "Apache-2.0" ]
3
2017-12-10T16:41:21.000Z
2020-07-08T12:59:12.000Z
orca/gporca/libnaucrates/src/operators/CDXLColDescr.cpp
vitessedata/gpdb.4.3.99.x
9462aad5df1bf120a2a87456b1f9574712227da4
[ "PostgreSQL", "Apache-2.0" ]
null
null
null
orca/gporca/libnaucrates/src/operators/CDXLColDescr.cpp
vitessedata/gpdb.4.3.99.x
9462aad5df1bf120a2a87456b1f9574712227da4
[ "PostgreSQL", "Apache-2.0" ]
4
2017-12-10T16:41:35.000Z
2020-11-28T12:20:30.000Z
//--------------------------------------------------------------------------- // Greenplum Database // Copyright (C) 2010 Greenplum, Inc. // // @filename: // CDXLColDescr.cpp // // @doc: // Implementation of DXL column descriptors // // @owner: // // // @test: // // //----------------------------------------------...
22.903553
91
0.466312
vitessedata
435c03d986c90d3c7ee9bef3f3f8ac3677cc4a46
2,828
cc
C++
chromeos/components/local_search_service/search_utils_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
chromeos/components/local_search_service/search_utils_unittest.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
chromeos/components/local_search_service/search_utils_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 "chromeos/components/local_search_service/search_utils.h" #include <algorithm> #include "base/strings/utf_string_conversions.h" #include "chrom...
35.797468
79
0.626945
zealoussnow
435c090fd8939dd970935de9450fce645ecbb7ce
1,227
cc
C++
lib/common/idioms.cc
clementval/f18
b17ab7f7bda573d33d6ca554ef1e46144148cf57
[ "Apache-2.0" ]
null
null
null
lib/common/idioms.cc
clementval/f18
b17ab7f7bda573d33d6ca554ef1e46144148cf57
[ "Apache-2.0" ]
null
null
null
lib/common/idioms.cc
clementval/f18
b17ab7f7bda573d33d6ca554ef1e46144148cf57
[ "Apache-2.0" ]
null
null
null
//===-- lib/common/idioms.cc ----------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //------------------------------...
27.886364
80
0.546047
clementval
435c0c4257ecd93178b461ba61793dd9386e4bbd
6,031
cc
C++
chromium/chrome/browser/password_manager/save_password_infobar_delegate.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
null
null
null
chromium/chrome/browser/password_manager/save_password_infobar_delegate.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
null
null
null
chromium/chrome/browser/password_manager/save_password_infobar_delegate.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
null
null
null
// 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/password_manager/save_password_infobar_delegate.h" #include <utility> #include "base/metrics/histogram.h" #include "chrome/brow...
41.593103
80
0.765213
wedataintelligence
435df21ddd9ee3e897aae0f2896d3766695c88d1
12,938
cpp
C++
tests/unique_handle.cpp
DNKpp/Simple-Utility
db2d6cb1cc3849704f18272f8ce2d2bc05ad06a7
[ "BSL-1.0" ]
null
null
null
tests/unique_handle.cpp
DNKpp/Simple-Utility
db2d6cb1cc3849704f18272f8ce2d2bc05ad06a7
[ "BSL-1.0" ]
8
2021-12-30T22:07:39.000Z
2022-02-04T21:13:53.000Z
tests/unique_handle.cpp
DNKpp/Simple-Utility
db2d6cb1cc3849704f18272f8ce2d2bc05ad06a7
[ "BSL-1.0" ]
1
2020-08-19T13:02:58.000Z
2020-08-19T13:02:58.000Z
// Copyright Dominic Koepke 2019 - 2022. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) #include <catch2/catch.hpp> #include "helper.hpp" #include "Simple-Utility/unique_handle.hpp" usi...
25.269531
125
0.715257
DNKpp
4361339ed90cacbac792e72fa8a6080377be5d1e
7,840
cpp
C++
libs/extensions/CCArmature/CCBone.cpp
qq2588258/floweers
c7f117f29dee21473821b89ff9b18058f7ebdadf
[ "MIT" ]
17
2015-01-09T07:34:32.000Z
2021-06-25T02:50:03.000Z
libs/extensions/CCArmature/CCBone.cpp
qq2588258/floweers
c7f117f29dee21473821b89ff9b18058f7ebdadf
[ "MIT" ]
null
null
null
libs/extensions/CCArmature/CCBone.cpp
qq2588258/floweers
c7f117f29dee21473821b89ff9b18058f7ebdadf
[ "MIT" ]
4
2015-01-24T02:48:46.000Z
2020-07-02T06:29:06.000Z
/**************************************************************************** Copyright (c) 2013 cocos2d-x.org http://www.cocos2d-x.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without res...
22.65896
159
0.653954
qq2588258
cb196e35fc623b3aa0f1ca9511afa22f3352f8c7
750
cpp
C++
lib/Target/AVR/TargetInfo/AVRTargetInfo.cpp
kkeita/llvm_autofdo
9ecd435b55a3e58e1e3f71d478ff02c57840a900
[ "Apache-2.0" ]
34
2019-05-29T03:15:48.000Z
2022-03-24T03:14:58.000Z
lib/Target/AVR/TargetInfo/AVRTargetInfo.cpp
kkeita/llvm_autofdo
9ecd435b55a3e58e1e3f71d478ff02c57840a900
[ "Apache-2.0" ]
1
2020-05-21T11:44:22.000Z
2020-05-21T11:44:22.000Z
lib/Target/AVR/TargetInfo/AVRTargetInfo.cpp
kkeita/llvm_autofdo
9ecd435b55a3e58e1e3f71d478ff02c57840a900
[ "Apache-2.0" ]
4
2019-12-16T18:49:42.000Z
2021-10-11T18:41:54.000Z
//===-- AVRTargetInfo.cpp - AVR Target Implementation ---------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
32.608696
80
0.586667
kkeita
cb1b4f33bb1124eb17374dc1faa6e4ab516899b5
5,802
cpp
C++
examples/cpp/source/decision_tree/dt_reg_dense_batch.cpp
KalyanovD/daal
b354b68f83a213102bca6e03d7a11f55ab751f92
[ "Apache-2.0" ]
null
null
null
examples/cpp/source/decision_tree/dt_reg_dense_batch.cpp
KalyanovD/daal
b354b68f83a213102bca6e03d7a11f55ab751f92
[ "Apache-2.0" ]
null
null
null
examples/cpp/source/decision_tree/dt_reg_dense_batch.cpp
KalyanovD/daal
b354b68f83a213102bca6e03d7a11f55ab751f92
[ "Apache-2.0" ]
null
null
null
/* file: dt_reg_dense_batch.cpp */ /******************************************************************************* * Copyright 2014-2019 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 th...
43.298507
150
0.729231
KalyanovD
cb1d93a8dcc65301589afdd43ea7004cd3627cd9
22,224
cc
C++
services/network/web_transport.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
services/network/web_transport.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
services/network/web_transport.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "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 2019 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 "services/network/web_transport.h" #include "base/auto_reset.h" #include "base/bind.h" #include "base/memory/raw_ptr.h" #include "base/notreache...
30.319236
80
0.669726
chromium
cb1ecaceb1f1cbd84409850879b41f210ceaf3a1
487
hpp
C++
include/render/Triangle.hpp
nsentout/project-lambda-client
3b6f84e90ebf1319bbbfd6649b1e9e94b96f1469
[ "MIT" ]
null
null
null
include/render/Triangle.hpp
nsentout/project-lambda-client
3b6f84e90ebf1319bbbfd6649b1e9e94b96f1469
[ "MIT" ]
null
null
null
include/render/Triangle.hpp
nsentout/project-lambda-client
3b6f84e90ebf1319bbbfd6649b1e9e94b96f1469
[ "MIT" ]
null
null
null
#ifndef TRIANGLE_HPP #define TRIANGLE_HPP #include <GL/glew.h> #include <GLFW/glfw3.h> #include "GameObject.hpp" #include "Position.h" #include "Color.h" //TODO: manage width and color class Triangle : public GameObject { public: Triangle(); void init() override; void draw() const override; void era...
18.730769
47
0.704312
nsentout
cb1ef2b1565387a58e53630a76e8cbac8b92347c
12,997
cpp
C++
src/openms/source/ANALYSIS/TARGETED/TargetedExperiment.cpp
mrurik/OpenMS
3bf48247423dc28a7df7b12b72fbc7751965c321
[ "Zlib", "Apache-2.0" ]
null
null
null
src/openms/source/ANALYSIS/TARGETED/TargetedExperiment.cpp
mrurik/OpenMS
3bf48247423dc28a7df7b12b72fbc7751965c321
[ "Zlib", "Apache-2.0" ]
null
null
null
src/openms/source/ANALYSIS/TARGETED/TargetedExperiment.cpp
mrurik/OpenMS
3bf48247423dc28a7df7b12b72fbc7751965c321
[ "Zlib", "Apache-2.0" ]
null
null
null
// -------------------------------------------------------------------------- // OpenMS -- Open-Source Mass Spectrometry // -------------------------------------------------------------------------- // Copyright The OpenMS Team -- Eberhard Karls University Tuebingen, // ETH Zurich, and Freie Universit...
30.50939
158
0.689467
mrurik
cb21d43e0e262a3c11d8f08fa85b552829f7afd6
46,255
cpp
C++
libredex/DexClass.cpp
rybalkinsd/redex
950917ff252eb62ad64b9c7ab1f7322b9e0c4bd6
[ "MIT" ]
null
null
null
libredex/DexClass.cpp
rybalkinsd/redex
950917ff252eb62ad64b9c7ab1f7322b9e0c4bd6
[ "MIT" ]
null
null
null
libredex/DexClass.cpp
rybalkinsd/redex
950917ff252eb62ad64b9c7ab1f7322b9e0c4bd6
[ "MIT" ]
null
null
null
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "DexClass.h" #include "Debug.h" #include "DexAccess.h" #include "DexDebugInstruction.h" #include "DexDefs.h" #include "De...
31.966137
80
0.657983
rybalkinsd
cb24210c3b97751caff9776316f1a805f119e4c3
15,911
cc
C++
content/browser/web_contents/web_contents_drag_win.cc
nagineni/chromium-crosswalk
5725642f1c67d0f97e8613ec1c3e8107ab53fdf8
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
content/browser/web_contents/web_contents_drag_win.cc
nagineni/chromium-crosswalk
5725642f1c67d0f97e8613ec1c3e8107ab53fdf8
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
content/browser/web_contents/web_contents_drag_win.cc
nagineni/chromium-crosswalk
5725642f1c67d0f97e8613ec1c3e8107ab53fdf8
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "content/browser/web_contents/web_contents_drag_win.h" #include <windows.h> #include <string> #include "base/bind.h" #include "base/file_u...
35.835586
80
0.696625
nagineni
cb253a9543f4b930da580dd83756499311e85f33
1,931
cpp
C++
strands_movebase/src/subsample_cloud.cpp
nilsbore/strands_movebase
1fd7a289eb2f66f4656f625a88724edaadd4b613
[ "MIT" ]
null
null
null
strands_movebase/src/subsample_cloud.cpp
nilsbore/strands_movebase
1fd7a289eb2f66f4656f625a88724edaadd4b613
[ "MIT" ]
null
null
null
strands_movebase/src/subsample_cloud.cpp
nilsbore/strands_movebase
1fd7a289eb2f66f4656f625a88724edaadd4b613
[ "MIT" ]
null
null
null
#include <ros/ros.h> #include <sensor_msgs/PointCloud2.h> #include <pcl_ros/point_cloud.h> #include <pcl/point_types.h> #include <pcl/filters/voxel_grid.h> #include <pcl/filters/statistical_outlier_removal.h> #include <boost/thread/thread.hpp> #include "strands_movebase/noise_approximate_voxel_grid.h" ros::Publisher p...
28.397059
86
0.684619
nilsbore
cb2704acf1688c0dd55810183741f63121b92191
196,624
cpp
C++
HTML_Lectures/Virtualization_Lecture/vbox/src/VBox/Devices/Audio/DevHDA.cpp
roughk/CSCI-49XX-OpenSource
74268cbca8bcda3023b2350d046e2dca2853a3ef
[ "BSD-2-Clause", "CC-BY-4.0" ]
null
null
null
HTML_Lectures/Virtualization_Lecture/vbox/src/VBox/Devices/Audio/DevHDA.cpp
roughk/CSCI-49XX-OpenSource
74268cbca8bcda3023b2350d046e2dca2853a3ef
[ "BSD-2-Clause", "CC-BY-4.0" ]
null
null
null
HTML_Lectures/Virtualization_Lecture/vbox/src/VBox/Devices/Audio/DevHDA.cpp
roughk/CSCI-49XX-OpenSource
74268cbca8bcda3023b2350d046e2dca2853a3ef
[ "BSD-2-Clause", "CC-BY-4.0" ]
null
null
null
/* $Id: DevHDA.cpp 73466 2018-08-03 09:41:27Z vboxsync $ */ /** @file * DevHDA.cpp - VBox Intel HD Audio Controller. * * Implemented against the specifications found in "High Definition Audio * Specification", Revision 1.0a June 17, 2010, and "Intel I/O Controller * HUB 6 (ICH6) Family, Datasheet", document numbe...
36.351266
210
0.595126
roughk
cb288eb1f968c86b8b67164743a542a058b9c6f1
3,376
hpp
C++
include/boost/application/detail/posix/path_impl.hpp
mlegenovic/Boost.Application
e69d4926027274dadb7d89c45964ddafa1edd7f5
[ "BSL-1.0" ]
null
null
null
include/boost/application/detail/posix/path_impl.hpp
mlegenovic/Boost.Application
e69d4926027274dadb7d89c45964ddafa1edd7f5
[ "BSL-1.0" ]
null
null
null
include/boost/application/detail/posix/path_impl.hpp
mlegenovic/Boost.Application
e69d4926027274dadb7d89c45964ddafa1edd7f5
[ "BSL-1.0" ]
null
null
null
// Copyright 2014 Renato Tegon Forti // // 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 BOOST_APPLICATION_DETAIL_POSIX_PATH_FROM_ME_HPP #define BOOST_APPLICATION_DETAIL_POSIX_PATH_FROM_ME_HPP #include <...
25.575758
71
0.534656
mlegenovic
cb29e7e9b4f4ea40ec91653b818bad6bada86e65
3,316
cpp
C++
M3ScriptHook/src/LuaStateManager.cpp
MartinJK/Mafia3ScriptHook
b27da0dfcc93118aa4eb5c45a82d0ddf70205bfc
[ "MIT" ]
10
2016-10-09T19:23:18.000Z
2019-03-20T21:10:48.000Z
M3ScriptHook/src/LuaStateManager.cpp
MartinJK/Mafia3ScriptHook
b27da0dfcc93118aa4eb5c45a82d0ddf70205bfc
[ "MIT" ]
5
2016-10-12T01:55:32.000Z
2017-05-31T09:50:19.000Z
M3ScriptHook/src/LuaStateManager.cpp
MartinJK/Mafia3ScriptHook
b27da0dfcc93118aa4eb5c45a82d0ddf70205bfc
[ "MIT" ]
5
2016-10-20T21:51:22.000Z
2018-11-25T22:42:58.000Z
// Base Application taken from Klusark (GPLv2) // https://code.google.com/archive/p/mafia2injector/ /* * Copyright (c) 2010 Barzakh (martinjk 'at' outlook 'dot' com) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software...
29.345133
119
0.741255
MartinJK
cb2bed5eeabe3457e28c3869cba316345319d03b
12,316
cpp
C++
sdl_core/src/thirdPartyLibs/apache-log4cxx-win32-0.10.0/apache-log4cxx-0.10.0/src/main/cpp/syslogappender.cpp
APCVSRepo/android_packet
5d4237234656b777cd9b0cae4731afea51986582
[ "BSD-3-Clause" ]
4
2016-09-21T12:36:24.000Z
2020-10-29T01:45:03.000Z
sdl_core/src/thirdPartyLibs/apache-log4cxx-win32-0.10.0/apache-log4cxx-0.10.0/src/main/cpp/syslogappender.cpp
APCVSRepo/android_packet
5d4237234656b777cd9b0cae4731afea51986582
[ "BSD-3-Clause" ]
7
2016-06-01T01:21:44.000Z
2017-11-03T08:18:23.000Z
sdl_core/src/thirdPartyLibs/apache-log4cxx-win32-0.10.0/apache-log4cxx-0.10.0/src/main/cpp/syslogappender.cpp
APCVSRepo/android_packet
5d4237234656b777cd9b0cae4731afea51986582
[ "BSD-3-Clause" ]
8
2017-08-29T10:51:50.000Z
2021-03-24T10:19:11.000Z
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you...
34.306407
107
0.572507
APCVSRepo
cb2c4f1e3c5b0b085e6b46dc11719ad005c3738d
2,039
cpp
C++
libraries/render/src/task/Config.cpp
alphaversiond/hifi
735944c912a29e948a557dbff13e0a1cb71d954e
[ "Apache-2.0" ]
2
2018-05-07T16:12:38.000Z
2019-04-28T17:32:01.000Z
libraries/render/src/task/Config.cpp
alphaversiond/hifi
735944c912a29e948a557dbff13e0a1cb71d954e
[ "Apache-2.0" ]
null
null
null
libraries/render/src/task/Config.cpp
alphaversiond/hifi
735944c912a29e948a557dbff13e0a1cb71d954e
[ "Apache-2.0" ]
null
null
null
// // Config.cpp // render/src/task // // Created by Zach Pomerantz on 1/21/2016. // Copyright 2016 High Fidelity, Inc. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // #include "Config.h" #include "Task.h" #includ...
30.893939
90
0.642472
alphaversiond
cb2cb1a3ac7831ef9ceb690cd3bb8be97e3988a9
271
hpp
C++
ResInt.hpp
afarsitio5/javafar-14.github.io
6378758230c1f3ef524d0f7e4b8f32a5660d59b7
[ "CC0-1.0" ]
null
null
null
ResInt.hpp
afarsitio5/javafar-14.github.io
6378758230c1f3ef524d0f7e4b8f32a5660d59b7
[ "CC0-1.0" ]
null
null
null
ResInt.hpp
afarsitio5/javafar-14.github.io
6378758230c1f3ef524d0f7e4b8f32a5660d59b7
[ "CC0-1.0" ]
1
2021-04-07T23:06:03.000Z
2021-04-07T23:06:03.000Z
#ifndef __RES_INT_H__ #define __RES_INT_H__ #include <Arduino.h> class ResInt { public: const int valor; const String error; ResInt(int _valor, String _error ); ResInt(const ResInt& ref ); const char* valida(); }; #endif
16.9375
32
0.612546
afarsitio5
cb2ce25b2fa2bf92a52b34d5202b20c663829cee
1,417
cpp
C++
src/chat/encryptor.cpp
saeschdivara/SecretWhisperer-Server
45e3c2a706ede3128c84dc5272edfb8d0f76a58c
[ "MIT" ]
null
null
null
src/chat/encryptor.cpp
saeschdivara/SecretWhisperer-Server
45e3c2a706ede3128c84dc5272edfb8d0f76a58c
[ "MIT" ]
null
null
null
src/chat/encryptor.cpp
saeschdivara/SecretWhisperer-Server
45e3c2a706ede3128c84dc5272edfb8d0f76a58c
[ "MIT" ]
null
null
null
#include "encryptor.h" #include <QtCore/QCryptographicHash> #include <botan/botan.h> #include <botan/pubkey.h> #include <botan/pkcs8.h> #include <botan/pk_keys.h> #include <botan/rsa.h> Encryptor::Encryptor(QObject *parent) : QObject(parent) { } QByteArray Encryptor::createRandomString() { QByteArray randomStr...
23.616667
90
0.689485
saeschdivara
cb312d165ce42f9aa367f53077e484d706e1ba2e
1,081
cpp
C++
Stadium_Seating.cpp
MigPug/C-Plus-Plus
53241378ded0adc509c32abb64cbfc780d7165f3
[ "Apache-2.0" ]
1
2020-12-03T05:17:00.000Z
2020-12-03T05:17:00.000Z
Stadium_Seating.cpp
MigPug/Code
53241378ded0adc509c32abb64cbfc780d7165f3
[ "Apache-2.0" ]
null
null
null
Stadium_Seating.cpp
MigPug/Code
53241378ded0adc509c32abb64cbfc780d7165f3
[ "Apache-2.0" ]
1
2022-01-30T06:11:59.000Z
2022-01-30T06:11:59.000Z
/* Stadium Seating There are three seating categories at a stadium . For a softball game, Class A seats cost $15, Class B seats cost $12, and Class C seats cost $9. Write a program that asks how many tickets for each class of seats were sold, then displays the amount of income generated from ticket ...
26.365854
92
0.648474
MigPug
cb31953785045a9484cce4fd9d945ee917216a7d
590
cpp
C++
NamingThreads/NamingThreadsLinux/main.cpp
Watch-Later/Eureka
3065e76d5bf8b37d5de4f9ee75b2714a42dd4c35
[ "MIT" ]
20
2016-05-16T11:09:04.000Z
2021-12-08T09:30:33.000Z
NamingThreads/NamingThreadsLinux/main.cpp
Watch-Later/Eureka
3065e76d5bf8b37d5de4f9ee75b2714a42dd4c35
[ "MIT" ]
1
2018-12-30T09:55:31.000Z
2018-12-30T14:08:30.000Z
NamingThreads/NamingThreadsLinux/main.cpp
Watch-Later/Eureka
3065e76d5bf8b37d5de4f9ee75b2714a42dd4c35
[ "MIT" ]
11
2016-05-02T09:17:12.000Z
2021-12-08T09:30:35.000Z
/* @ 0xCCCCCCCC */ #include <cstdio> #include <thread> #include <errno.h> #include <unistd.h> #include <sys/prctl.h> #include <sys/syscall.h> pid_t GetCurrentThreadID() { return syscall(__NR_gettid); } void SetThreadName(const char* name) { if (GetCurrentThreadID() == getpid()) { return; } ...
13.72093
46
0.576271
Watch-Later
cb358c7b84f92119bced642a19a61bcecffcdaaa
6,884
cpp
C++
pin-2.11/source/tools/SignalTests/mtstress.cpp
swchoi1994/Project
e46fa191afe54d6676016d41534c3531eb51ff79
[ "Intel" ]
3
2020-06-26T09:35:19.000Z
2021-01-03T16:58:11.000Z
pin-2.11/source/tools/SignalTests/mtstress.cpp
swchoi1994/Project
e46fa191afe54d6676016d41534c3531eb51ff79
[ "Intel" ]
null
null
null
pin-2.11/source/tools/SignalTests/mtstress.cpp
swchoi1994/Project
e46fa191afe54d6676016d41534c3531eb51ff79
[ "Intel" ]
2
2020-12-27T03:58:38.000Z
2020-12-27T03:58:38.000Z
/*BEGIN_LEGAL Intel Open Source License Copyright (c) 2002-2012 Intel Corporation. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright noti...
29.293617
96
0.662841
swchoi1994
cb369df49755e93fdbbe09fdaefa7a0a84425f02
10,882
cpp
C++
stocks_exchange/unit-test/stock_exchange_kraken_unit_test.cpp
Rapprise/b2s-trader
ac8a3c2221d15c4df8df63842d20dafd6801e535
[ "BSD-2-Clause" ]
21
2020-06-07T20:34:47.000Z
2021-08-10T20:19:59.000Z
stocks_exchange/unit-test/stock_exchange_kraken_unit_test.cpp
Rapprise/b2s-trader
ac8a3c2221d15c4df8df63842d20dafd6801e535
[ "BSD-2-Clause" ]
null
null
null
stocks_exchange/unit-test/stock_exchange_kraken_unit_test.cpp
Rapprise/b2s-trader
ac8a3c2221d15c4df8df63842d20dafd6801e535
[ "BSD-2-Clause" ]
4
2020-07-13T10:19:44.000Z
2022-03-11T12:15:43.000Z
/* * Copyright (c) 2020, Rapprise. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this * list of condition...
38.725979
99
0.787723
Rapprise
cb3af440a6dfb403d6e91bb51ebc0ce027812870
1,713
cc
C++
tree/cpp-bplustree/util/cli.cc
NewGuonx/DST_algorithm
8c4b2f0fe1f43044a5c37a7f993d339862d9182c
[ "Unlicense" ]
231
2015-01-07T00:59:28.000Z
2022-03-23T04:55:53.000Z
util/cli.cc
gaubert/BPlusTree
82e2dfc3c54a2488e3a96fc356ca1af7c569098f
[ "Unlicense", "MIT" ]
2
2019-10-20T14:24:47.000Z
2021-05-08T07:48:19.000Z
util/cli.cc
gaubert/BPlusTree
82e2dfc3c54a2488e3a96fc356ca1af7c569098f
[ "Unlicense", "MIT" ]
83
2015-01-06T13:42:18.000Z
2022-02-24T10:31:39.000Z
#include "../bpt.h" using namespace bpt; #include <string.h> int main(int argc, char *argv[]) { if (argc < 3) { fprintf(stderr, "Usage: %s database command\n", argv[0]); return 1; } bpt::bplus_tree database(argv[1]); if (!strcmp(argv[2], "search")) { if (argc < 4) { ...
27.190476
65
0.437828
NewGuonx
cb3dbd02009b0b677299e97faebaa34d6ccff415
529,602
cpp
C++
esp32/TinyCPCEMttgovga32/CPCem/Z80.cpp
rpsubc8/ESP32TinyCPC
386a0d1d47fc6f32c0b3dace67a6c2197a846a9d
[ "WTFPL" ]
19
2020-12-04T15:12:45.000Z
2022-02-07T19:46:36.000Z
esp32/TinyCPCEMttgovga32/CPCem/Z80.cpp
rpsubc8/ESP32TinyCPC
386a0d1d47fc6f32c0b3dace67a6c2197a846a9d
[ "WTFPL" ]
3
2021-02-20T08:42:09.000Z
2022-03-11T05:11:26.000Z
esp32/TinyCPCEMttgovga32/CPCem/Z80.cpp
rpsubc8/ESP32TinyCPC
386a0d1d47fc6f32c0b3dace67a6c2197a846a9d
[ "WTFPL" ]
4
2021-02-20T08:07:04.000Z
2022-03-27T21:52:45.000Z
//offset 703 + 45056 = B2BF #include "gbConfig.h" #include <stdlib.h> #include <stdio.h> #include "CPCem.h" #include "DAA.h" #include "Z80.h" #include <string.h> #include "FDC.h" #include "CRTC.h" #include "GA.h" #include "CRTC.h" #include "8255.h" #include "gb_globals.h" #include "dataFlash/gbrom.h" ...
70.925673
261
0.604099
rpsubc8
cb3f44d815159ffece5fd125e2da8271ac3964d2
6,448
cpp
C++
src/API/STGOctree.cpp
squarefk/spheretree-fixed
79ec91538030a271f7aba16e22dc20c9ebb63444
[ "Unlicense" ]
17
2016-08-12T13:15:41.000Z
2021-11-11T10:03:48.000Z
src/API/STGOctree.cpp
squarefk/spheretree-fixed
79ec91538030a271f7aba16e22dc20c9ebb63444
[ "Unlicense" ]
null
null
null
src/API/STGOctree.cpp
squarefk/spheretree-fixed
79ec91538030a271f7aba16e22dc20c9ebb63444
[ "Unlicense" ]
9
2016-04-26T16:15:45.000Z
2020-10-29T00:12:12.000Z
/*************************************************************************\ C O P Y R I G H T Copyright 2003 Image Synthesis Group, Trinity College Dublin, Ireland. All Rights Reserved. Permission to use, copy, modify and distribute this software and its doc...
33.237113
139
0.611663
squarefk
cb40819bb404c9356225d0d51fa01d882f72d349
569
hpp
C++
src/behaviours/include/AvoidNest.hpp
BCLab-UNM/SwarmBaseCode-Modular-Public
2061796570baf65deeb74f29444fcaf3b6464aa1
[ "MIT" ]
null
null
null
src/behaviours/include/AvoidNest.hpp
BCLab-UNM/SwarmBaseCode-Modular-Public
2061796570baf65deeb74f29444fcaf3b6464aa1
[ "MIT" ]
null
null
null
src/behaviours/include/AvoidNest.hpp
BCLab-UNM/SwarmBaseCode-Modular-Public
2061796570baf65deeb74f29444fcaf3b6464aa1
[ "MIT" ]
null
null
null
#ifndef _AVOID_NEST_HPP #define _AVOID_NEST_HPP #include "BehaviorManager.hpp" #include "SwarmieSensors.hpp" #include "Timer.hpp" #include <cmath> class AvoidNest : public Behavior { private: int _tagsLeft; int _tagsRight; bool _persist; bool _tooClose; SwarmieAction _savedAction; Timer*...
18.966667
87
0.72935
BCLab-UNM
cb40820c726939ae3832b6109a59bc038afc0e41
15,691
cpp
C++
SurgSim/Devices/TrackIR/win32/TrackIRScaffold.cpp
dbungert/opensurgsim
bd30629f2fd83f823632293959b7654275552fa9
[ "Apache-2.0" ]
24
2015-01-19T16:18:59.000Z
2022-03-13T03:29:11.000Z
SurgSim/Devices/TrackIR/win32/TrackIRScaffold.cpp
dbungert/opensurgsim
bd30629f2fd83f823632293959b7654275552fa9
[ "Apache-2.0" ]
3
2018-12-21T14:54:08.000Z
2022-03-14T12:38:07.000Z
SurgSim/Devices/TrackIR/win32/TrackIRScaffold.cpp
dbungert/opensurgsim
bd30629f2fd83f823632293959b7654275552fa9
[ "Apache-2.0" ]
8
2015-04-10T19:45:36.000Z
2022-02-02T17:00:59.000Z
// This file is a part of the OpenSurgSim project. // Copyright 2013, SimQuest Solutions Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICE...
34.485714
117
0.736728
dbungert
cb4228247489e8a081d561cea3ee795112a74380
3,843
cpp
C++
src/sudoku/solution_queue.cpp
samwarring/sudoku
0dee535363358e3124c869cd91f2b02a124e4c20
[ "MIT" ]
null
null
null
src/sudoku/solution_queue.cpp
samwarring/sudoku
0dee535363358e3124c869cd91f2b02a124e4c20
[ "MIT" ]
16
2020-04-25T19:53:04.000Z
2020-07-13T00:06:56.000Z
src/sudoku/solution_queue.cpp
samwarring/sudoku
0dee535363358e3124c869cd91f2b02a124e4c20
[ "MIT" ]
null
null
null
#include <sudoku/solution_queue.h> namespace sudoku { SolutionQueue::SolutionQueue(size_t maxSize) : maxSize_(maxSize) { } SolutionQueue::Producer::Producer(SolutionQueue& queue) : queue_(queue) { std::lock_guard<std::mutex> lock(queue_.mutex_); queue_.numProducers_++; } S...
32.567797
97
0.602394
samwarring
cb44ebde7a41bfeec0322340fc7ede0343421d3a
6,634
cc
C++
3rdParty/V8/v7.1.302.28/test/cctest/trace-extension.cc
cclauss/arangodb
089f7a7e60483f0fb73171d159f922dd3de283e9
[ "BSL-1.0", "Apache-2.0" ]
4
2019-04-20T15:56:13.000Z
2019-12-23T07:14:01.000Z
3rdParty/V8/v7.1.302.28/test/cctest/trace-extension.cc
fceller/arangodb
22eec2e35407d868ac36f06b9abdbee3fb3c3ef3
[ "Apache-2.0" ]
1
2019-02-13T09:53:48.000Z
2019-02-13T09:53:48.000Z
3rdParty/V8/v7.1.302.28/test/cctest/trace-extension.cc
fceller/arangodb
22eec2e35407d868ac36f06b9abdbee3fb3c3ef3
[ "Apache-2.0" ]
10
2015-10-15T06:16:55.000Z
2019-06-23T18:52:25.000Z
// Copyright 2014 the V8 project authors. All rights reserved. // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, this list of ...
39.488095
80
0.678927
cclauss
cb45098d43af681ef458b5381157a9694310b2cf
6,040
cpp
C++
src/error.cpp
BlubBlab/micromacro-with-OpenCV
c1a17d5faef38fc8532fb1a52ae1c41e7d2d3a34
[ "BSD-3-Clause" ]
null
null
null
src/error.cpp
BlubBlab/micromacro-with-OpenCV
c1a17d5faef38fc8532fb1a52ae1c41e7d2d3a34
[ "BSD-3-Clause" ]
null
null
null
src/error.cpp
BlubBlab/micromacro-with-OpenCV
c1a17d5faef38fc8532fb1a52ae1c41e7d2d3a34
[ "BSD-3-Clause" ]
null
null
null
/****************************************************************************** Project: MicroMacro Author: SolarStrike Software URL: www.solarstrike.net License: Modified BSD (see license.txt) ******************************************************************************/ #include "error.h" #include "strl.h" #...
23.501946
95
0.665232
BlubBlab
cb4608985ca07706758e1f4c511dc8a060def709
1,699
cpp
C++
stimulus.cpp
dcblack/ModernSystemC
953740c6d796cd3a2f60108c5093f0366d6ee3bd
[ "Apache-2.0" ]
29
2019-06-17T20:46:21.000Z
2022-03-21T13:13:42.000Z
stimulus.cpp
dcblack/ModernSystemC
953740c6d796cd3a2f60108c5093f0366d6ee3bd
[ "Apache-2.0" ]
4
2019-11-07T18:42:32.000Z
2021-09-16T19:03:21.000Z
stimulus.cpp
dcblack/ModernSystemC
953740c6d796cd3a2f60108c5093f0366d6ee3bd
[ "Apache-2.0" ]
7
2020-02-04T17:17:28.000Z
2021-11-05T23:16:23.000Z
/** * @file stimulus.cpp */ #include "stimulus.hpp" #include "objection.hpp" #include "report.hpp" #include <random> using namespace sc_core; namespace { char const * const MSGID{ "/Doulos/Example/Modern/Stimulus_module" }; } //.............................................................................. Stimulus...
32.673077
99
0.560918
dcblack