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
2a2676124533b55eb30268fcb875cb637d7015f1
886
cpp
C++
03/program.cpp
wtrsltnk/adventofcode17
13ba6bd3a64413973971134ae17465029a884933
[ "MIT" ]
1
2017-12-06T08:00:35.000Z
2017-12-06T08:00:35.000Z
03/program.cpp
wtrsltnk/adventofcode17
13ba6bd3a64413973971134ae17465029a884933
[ "MIT" ]
null
null
null
03/program.cpp
wtrsltnk/adventofcode17
13ba6bd3a64413973971134ae17465029a884933
[ "MIT" ]
null
null
null
#include <iostream> #include <functional> #include <numeric> #include "library.h" int main(int argc, char* argv[]) { std::cout << "Advent of Code - 2017\n"; std::cout << "--- Day 3: Spiral Memory ---\n"; if (argc < 2) { std::cout << "*** ERROR *** No input value given, please provide an integ...
23.945946
102
0.588036
wtrsltnk
2a27473128fb2fb6e83925d8b6b0d2c6f40f98f1
2,389
cpp
C++
android-31/java/io/ObjectStreamClass.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-31/java/io/ObjectStreamClass.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-29/java/io/ObjectStreamClass.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#include "../../JByteArray.hpp" #include "../../JArray.hpp" #include "../../JArray.hpp" #include "../../JArray.hpp" #include "../../JObjectArray.hpp" #include "../../JArray.hpp" #include "./ObjectInputStream.hpp" #include "./ObjectOutputStream.hpp" #include "./ObjectStreamField.hpp" #include "../../JClass.hpp" #include...
22.971154
76
0.690247
YJBeetle
2a2bd246011b018516de3b9fd3d93cf1b371a93e
3,421
cc
C++
src/Experimental/rotateContig.cc
sagrudd/amos
47643a1d238bff83421892cb74daaf6fff8d9548
[ "Artistic-1.0" ]
10
2015-03-20T18:25:56.000Z
2020-06-02T22:00:08.000Z
src/Experimental/rotateContig.cc
sagrudd/amos
47643a1d238bff83421892cb74daaf6fff8d9548
[ "Artistic-1.0" ]
5
2015-05-14T17:51:20.000Z
2020-07-19T04:17:47.000Z
src/Experimental/rotateContig.cc
sagrudd/amos
47643a1d238bff83421892cb74daaf6fff8d9548
[ "Artistic-1.0" ]
10
2015-05-17T16:01:23.000Z
2020-05-20T08:13:43.000Z
#include "foundation_AMOS.hh" #include "amp.hh" #include "fasta.hh" // Rotate a contig to a new offset using namespace AMOS; using namespace std; string bank_name; string contigeid; ID_t contigiid = 0; Pos_t gindex = 0; Pos_t uindex = 0; void PrintUsage(const char * name) { cerr << "Usage: " << name << " ...
22.506579
93
0.572347
sagrudd
2a328979c3e08b5caf8d22a9f7591e6d669a66df
10,583
cpp
C++
code/DadBot-007/src/alphabot.cpp
David-Mawer/Alphabot-2-Raspberry-Pi-Code
e29ebadebd31a403fd6fe3f0cfe083261bf879c4
[ "MIT" ]
null
null
null
code/DadBot-007/src/alphabot.cpp
David-Mawer/Alphabot-2-Raspberry-Pi-Code
e29ebadebd31a403fd6fe3f0cfe083261bf879c4
[ "MIT" ]
null
null
null
code/DadBot-007/src/alphabot.cpp
David-Mawer/Alphabot-2-Raspberry-Pi-Code
e29ebadebd31a403fd6fe3f0cfe083261bf879c4
[ "MIT" ]
null
null
null
#include <cmath> #include <iostream> // for standard I/O in C++ #include <pigpio.h> // for handling the GPIO #include <unistd.h> // this one is to make usleep() work #include <string> #include <alphabot.h> /* * This class drives the bot - all actions applied to the bot, and events received from the bot are mana...
35.276667
122
0.576302
David-Mawer
2a34d9f06e06a293ab34c292c95631e9054625dd
1,461
cpp
C++
graph/shortest_path/sol/wrong_dijkstra_2.cpp
jellc/library-checker-problems
d8570610d79cdbb70ef8af5a669b57c70556ea01
[ "Apache-2.0" ]
290
2019-06-06T22:20:36.000Z
2022-03-27T12:45:04.000Z
graph/shortest_path/sol/wrong_dijkstra_2.cpp
jellc/library-checker-problems
d8570610d79cdbb70ef8af5a669b57c70556ea01
[ "Apache-2.0" ]
536
2019-06-06T18:25:36.000Z
2022-03-29T11:46:36.000Z
graph/shortest_path/sol/wrong_dijkstra_2.cpp
jellc/library-checker-problems
d8570610d79cdbb70ef8af5a669b57c70556ea01
[ "Apache-2.0" ]
82
2019-06-06T18:17:55.000Z
2022-03-21T07:40:31.000Z
#include <stdio.h> #include <vector> #include <queue> #include <utility> #include <stdint.h> #include <inttypes.h> #include <algorithm> int ri() { int n; scanf("%d", &n); return n; } template<typename T> using pqueue_inv = std::priority_queue<T, std::vector<T>, std::greater<T> >; int main() { int n = ri(); int ...
22.476923
97
0.542779
jellc
2a3552f27515c1ae1f70cee690d27f996d263823
5,809
cc
C++
arcane/samples_build/samples/geometry/GeometryModule.cc
JeromeDuboisPro/framework
d88925495e3787fdaf640c29728dcac385160188
[ "Apache-2.0" ]
null
null
null
arcane/samples_build/samples/geometry/GeometryModule.cc
JeromeDuboisPro/framework
d88925495e3787fdaf640c29728dcac385160188
[ "Apache-2.0" ]
null
null
null
arcane/samples_build/samples/geometry/GeometryModule.cc
JeromeDuboisPro/framework
d88925495e3787fdaf640c29728dcac385160188
[ "Apache-2.0" ]
null
null
null
// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*- //----------------------------------------------------------------------------- // Copyright 2000-2021 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com) // See the top-level COPYRIGHT file for details. // SPDX-License-Identifier: Apache-2...
29.48731
101
0.454295
JeromeDuboisPro
2a359fa3ebdfa2603941e1da9357601d1ecf5a2c
3,375
cpp
C++
src/benchmark/gridder_benchmark.cpp
SKA-ScienceDataProcessor/FastImaging
8103fb4d20434ffdc45dee7471dafc6be66354bb
[ "Apache-2.0" ]
7
2017-02-13T11:21:21.000Z
2020-07-20T16:07:39.000Z
src/benchmark/gridder_benchmark.cpp
SKA-ScienceDataProcessor/FastImaging
8103fb4d20434ffdc45dee7471dafc6be66354bb
[ "Apache-2.0" ]
15
2016-09-11T11:14:35.000Z
2017-08-29T14:21:46.000Z
src/benchmark/gridder_benchmark.cpp
SKA-ScienceDataProcessor/FastImaging
8103fb4d20434ffdc45dee7471dafc6be66354bb
[ "Apache-2.0" ]
4
2016-10-28T16:17:08.000Z
2021-12-22T12:11:12.000Z
/** @file gridder_benchmark.cpp * @brief Test Gridder module performance */ #include <armadillo> #include <benchmark/benchmark.h> #include <load_data.h> #include <load_json_config.h> #include <stp.h> std::string data_path(_PIPELINE_DATAPATH); std::string input_npz("simdata_nstep10.npz"); void load_data(arma::mat&...
35.526316
156
0.690963
SKA-ScienceDataProcessor
2a38efa9c15239d155abe80adc91997ff68a765b
1,204
cpp
C++
src/homework/tic_tac_toe/tic_tac_toe_data.cpp
acc-cosc-1337-spring-2020-hl/acc-cosc-1337-spring-2020-ThomasGreenway115
3e9ccb09ee62cf1d7649cded3086ec76d9136175
[ "MIT" ]
null
null
null
src/homework/tic_tac_toe/tic_tac_toe_data.cpp
acc-cosc-1337-spring-2020-hl/acc-cosc-1337-spring-2020-ThomasGreenway115
3e9ccb09ee62cf1d7649cded3086ec76d9136175
[ "MIT" ]
null
null
null
src/homework/tic_tac_toe/tic_tac_toe_data.cpp
acc-cosc-1337-spring-2020-hl/acc-cosc-1337-spring-2020-ThomasGreenway115
3e9ccb09ee62cf1d7649cded3086ec76d9136175
[ "MIT" ]
1
2020-04-10T02:20:49.000Z
2020-04-10T02:20:49.000Z
#include "tic_tac_toe_data.h" //cpp void TicTacToeData::save_pegs(const std::vector<std::unique_ptr<TicTacToe>> & games) { std::ofstream file_out(file_name, std::ios_base::trunc); for (auto &game : games) { for (auto peg : game->get_pegs()) { file_out << peg ; } file_out << game->get_winner(); f...
18.523077
84
0.608804
acc-cosc-1337-spring-2020-hl
2a39292c2438bbd01e219419f6aef98a6c73c94c
425
cpp
C++
hackerrank/algorithms/implementation/Jumping on the clouds/solution.cpp
pablotrinidad/competitive-programming
de16d007ca276330cd0a92bd5b75ce4e9e75fb59
[ "MIT" ]
null
null
null
hackerrank/algorithms/implementation/Jumping on the clouds/solution.cpp
pablotrinidad/competitive-programming
de16d007ca276330cd0a92bd5b75ce4e9e75fb59
[ "MIT" ]
null
null
null
hackerrank/algorithms/implementation/Jumping on the clouds/solution.cpp
pablotrinidad/competitive-programming
de16d007ca276330cd0a92bd5b75ce4e9e75fb59
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int getMinJumps(int n, int clouds[]) { int jumps = 0; n -= 1; while (n > 0) { clouds[n - 2] == 1 ? n -= 1 : n -= 2; jumps += 1; } return jumps; } int main() { int n; cin >> n; int clouds[n]; for (int i = 0; i < n; ++i) ...
16.346154
44
0.470588
pablotrinidad
2a3b6136813cee61b40036863f8625a041787838
10,671
cpp
C++
source/option/h2_option.cpp
lingjf/h2un
7735c2f07f58ea8b92a9e9608c9b45c98c94c670
[ "Apache-2.0" ]
null
null
null
source/option/h2_option.cpp
lingjf/h2un
7735c2f07f58ea8b92a9e9608c9b45c98c94c670
[ "Apache-2.0" ]
null
null
null
source/option/h2_option.cpp
lingjf/h2un
7735c2f07f58ea8b92a9e9608c9b45c98c94c670
[ "Apache-2.0" ]
null
null
null
/* clang-format off */ static inline void usage() { ::printf(" \033[90mhttps://github.com/lingjf/\033[0m\033[32mh2unit\033[0m \033[90mv\033[0m%s \033[90m%s\033[0m\n", H2PP_STR(H2UNIT_VERSION), H2PP_STR(H2UNIT_REVISION)); #define H2_USAGE_BR "\033[90m├─────┼───────────┼────────────────────────────────────────────────...
67.537975
310
0.427608
lingjf
2a3bfe978e50ab0e4945569e99cdd293c412a1da
1,585
cpp
C++
src/main.cpp
jhorisberger/ESP8266RGB_Server
9c4c1ad47234c1d14aa460888c7b4a04c7cb5422
[ "Unlicense" ]
null
null
null
src/main.cpp
jhorisberger/ESP8266RGB_Server
9c4c1ad47234c1d14aa460888c7b4a04c7cb5422
[ "Unlicense" ]
null
null
null
src/main.cpp
jhorisberger/ESP8266RGB_Server
9c4c1ad47234c1d14aa460888c7b4a04c7cb5422
[ "Unlicense" ]
null
null
null
#include <Arduino.h> #include "radio.h" #include "tft.h" EspNow32 radio; CustomTFT tft; struct_payload txdata; const byte numChars = 16; char receivedChars[numChars]; // an array to store the received data int testdata = 0; boolean newData = false; void setup() { // start serial port Serial.begin(115200);...
17.808989
99
0.596845
jhorisberger
2a3de33f980c986b26957204f7e6d3980dc0f709
6,194
cpp
C++
module/mpc-be/SRC/src/apps/mplayerc/controls/FloatEdit.cpp
1aq/PBox
67ced599ee36ceaff097c6584f8100cf96006dfe
[ "MIT" ]
null
null
null
module/mpc-be/SRC/src/apps/mplayerc/controls/FloatEdit.cpp
1aq/PBox
67ced599ee36ceaff097c6584f8100cf96006dfe
[ "MIT" ]
null
null
null
module/mpc-be/SRC/src/apps/mplayerc/controls/FloatEdit.cpp
1aq/PBox
67ced599ee36ceaff097c6584f8100cf96006dfe
[ "MIT" ]
null
null
null
/* * (C) 2003-2006 Gabest * (C) 2006-2018 see Authors.txt * * This file is part of MPC-BE. * * MPC-BE is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your opt...
19.601266
110
0.644172
1aq
2a3de877f88051b9707fc4527d0892e6cf659ea0
1,163
cpp
C++
Source/Entities/Sphere.cpp
Avalix/LittleRaytracer
e70c8629d7dc3d1e273c33ed88b75fc60d9ff65b
[ "MIT" ]
null
null
null
Source/Entities/Sphere.cpp
Avalix/LittleRaytracer
e70c8629d7dc3d1e273c33ed88b75fc60d9ff65b
[ "MIT" ]
null
null
null
Source/Entities/Sphere.cpp
Avalix/LittleRaytracer
e70c8629d7dc3d1e273c33ed88b75fc60d9ff65b
[ "MIT" ]
null
null
null
#include "Base.h" #include "Entities/Sphere.h" #include "Maths/HitResult.h" using namespace LittleRaytracer; bool Sphere::TryHitWithRay(const Ray& ray, float tIntervalMin, float tIntervalMax, HitResult& hitResultOut) const { assert(FMath::Equals(Vector3::Length(ray.Direction), 1.0f)); Vector3 RayOrigToCenter = ...
21.537037
87
0.688736
Avalix
2a3fde90a362a6dbda3f067130a247138e9c87cd
311
cc
C++
urionlinejudge.com.br/iniciante/1014_consumo.cc
andrewcpacifico/programming
bbbd16d41d34ea7316e207b8a82ae76377d80420
[ "Apache-2.0" ]
null
null
null
urionlinejudge.com.br/iniciante/1014_consumo.cc
andrewcpacifico/programming
bbbd16d41d34ea7316e207b8a82ae76377d80420
[ "Apache-2.0" ]
null
null
null
urionlinejudge.com.br/iniciante/1014_consumo.cc
andrewcpacifico/programming
bbbd16d41d34ea7316e207b8a82ae76377d80420
[ "Apache-2.0" ]
null
null
null
/** * Copyright (c) 2015 - Andrew C. Pacifico - All Rights Reserved. * @author Andrew C. Pacifico <andrewcpacifico@gmail.com> */ #include <stdio.h> #include <stdlib.h> int main(int argc, char *argv[]) { double c; int d; scanf("%d%lf", &d, &c); printf("%.3lf km/l\n", d/c); return 0; }
17.277778
65
0.585209
andrewcpacifico
2a42b23d9f3ef388041d2dd4d080d5136aac7420
2,244
cc
C++
src/crypto/passwords.cc
Kledsky/s3fuse
2f2670f16a926ed128ca7bd326e27f43da673d61
[ "Apache-2.0" ]
2
2016-05-26T14:58:48.000Z
2016-10-05T18:46:23.000Z
src/crypto/passwords.cc
Kledsky/s3fuse
2f2670f16a926ed128ca7bd326e27f43da673d61
[ "Apache-2.0" ]
5
2016-03-08T05:06:12.000Z
2017-11-13T07:30:55.000Z
src/crypto/passwords.cc
Kledsky/s3fuse
2f2670f16a926ed128ca7bd326e27f43da673d61
[ "Apache-2.0" ]
2
2018-04-02T09:09:20.000Z
2022-01-20T11:55:29.000Z
/* * crypto/passwords.cc * ------------------------------------------------------------------------- * Password management (implementation). * ------------------------------------------------------------------------- * * Copyright (c) 2012, Tarick Bedeir. * * Licensed under the Apache License, Version 2.0 (the...
24.659341
76
0.673797
Kledsky
2a473439f681b64758fb4b46457b74b57739dca4
3,172
cpp
C++
cachelib/common/tests/BytesEqualTest.cpp
GerHobbelt/CacheLib
580bf6950aad89cf86dbc153f12dada79b71eaf7
[ "Apache-2.0" ]
578
2021-09-01T14:19:55.000Z
2022-03-29T12:22:46.000Z
cachelib/common/tests/BytesEqualTest.cpp
igchor/Cachelib
7db2c643d49fd0a4ec6c492d94a400cbe0515a70
[ "Apache-2.0" ]
61
2021-09-02T18:48:06.000Z
2022-03-31T01:56:00.000Z
cachelib/common/tests/BytesEqualTest.cpp
igchor/Cachelib
7db2c643d49fd0a4ec6c492d94a400cbe0515a70
[ "Apache-2.0" ]
88
2021-09-02T21:22:19.000Z
2022-03-27T07:40:27.000Z
/* * Copyright (c) Facebook, Inc. and its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
29.924528
77
0.648487
GerHobbelt
2a491a08ad6479d3c87c1c13c422957f66619f8a
1,011
cxx
C++
irfInterface/src/test/Edisp.cxx
fermi-lat/irfs
cebe27fc6a974ac4448f15d7944b21e419c585e9
[ "BSD-3-Clause" ]
null
null
null
irfInterface/src/test/Edisp.cxx
fermi-lat/irfs
cebe27fc6a974ac4448f15d7944b21e419c585e9
[ "BSD-3-Clause" ]
4
2020-02-21T20:16:38.000Z
2022-03-22T17:39:03.000Z
irfInterface/src/test/Edisp.cxx
fermi-lat/irfs
cebe27fc6a974ac4448f15d7944b21e419c585e9
[ "BSD-3-Clause" ]
1
2020-07-07T18:30:05.000Z
2020-07-07T18:30:05.000Z
/** * @file Edisp.cxx * @brief Gaussian energy dispersion function. * @author J. Chiang * * $Header$ */ #include <cmath> #include "astro/SkyDir.h" #include "Edisp.h" Edisp::Edisp(double resolution) : irfInterface::IEdisp(), m_resolution(resolution) {} double Edisp::value(double appEnergy, ...
23.511628
67
0.601385
fermi-lat
2a4ae5ba5dc501a750fff134fb7b2507953d9b29
732
hpp
C++
src/wstrip/W4AirContainBox.hpp
goroyabu/sim4py
44ae2a6a4adfe347a7ae899c849936ae6fe7caf3
[ "MIT" ]
null
null
null
src/wstrip/W4AirContainBox.hpp
goroyabu/sim4py
44ae2a6a4adfe347a7ae899c849936ae6fe7caf3
[ "MIT" ]
null
null
null
src/wstrip/W4AirContainBox.hpp
goroyabu/sim4py
44ae2a6a4adfe347a7ae899c849936ae6fe7caf3
[ "MIT" ]
null
null
null
/** @file W4AirContainBox.hpp @author Goro Yabu @date 2020/09/15 **/ #ifndef W4AirContainBox_hpp #define W4AirContainBox_hpp #include <P4PVConstruct.hpp> #include <vector> #include <G4VUserDetectorConstruction.hh> #include <G4ThreeVector.hh> #include <globals.hh> class W4AirContainBox : public ...
15.913043
54
0.659836
goroyabu
2a4bce9a9dddfd999f19e37a1a4e02d7638b318c
6,665
cpp
C++
src/RenderFarmUI/RF_SpreadsheetWizard.cpp
rromanchuk/xptools
deff017fecd406e24f60dfa6aae296a0b30bff56
[ "X11", "MIT" ]
71
2015-12-15T19:32:27.000Z
2022-02-25T04:46:01.000Z
src/RenderFarmUI/RF_SpreadsheetWizard.cpp
rromanchuk/xptools
deff017fecd406e24f60dfa6aae296a0b30bff56
[ "X11", "MIT" ]
19
2016-07-09T19:08:15.000Z
2021-07-29T10:30:20.000Z
src/RenderFarmUI/RF_SpreadsheetWizard.cpp
rromanchuk/xptools
deff017fecd406e24f60dfa6aae296a0b30bff56
[ "X11", "MIT" ]
42
2015-12-14T19:13:02.000Z
2022-03-01T15:15:03.000Z
/* * Copyright (c) 2007, Laminar Research. * * 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, ...
40.150602
161
0.727532
rromanchuk
2a4c32c29ef97e3fe10ce59e9189db2b32de8d7f
8,428
hh
C++
tests/Titon/Http/Server/DownloadResponseTest.hh
ciklon-z/framework
cbf44729173d3a83b91a2b0a217c6b3827512e44
[ "BSD-2-Clause" ]
206
2015-01-02T20:01:12.000Z
2021-04-15T09:49:56.000Z
tests/Titon/Http/Server/DownloadResponseTest.hh
ciklon-z/framework
cbf44729173d3a83b91a2b0a217c6b3827512e44
[ "BSD-2-Clause" ]
44
2015-01-02T06:03:43.000Z
2017-11-20T18:29:06.000Z
tests/Titon/Http/Server/DownloadResponseTest.hh
titon/framework
cbf44729173d3a83b91a2b0a217c6b3827512e44
[ "BSD-2-Clause" ]
27
2015-01-03T05:51:29.000Z
2022-02-21T13:50:40.000Z
<?hh namespace Titon\Http\Server; use Titon\Http\Http; use Titon\Test\TestCase; use Titon\Utility\State\Server; class DownloadResponseTest extends TestCase { protected function setUp(): void { parent::setUp(); $this->vfs()->createDirectory('/http/'); $this->vfs()->createFile('/http/downl...
37.963964
153
0.592667
ciklon-z
2a4fbcb198d254dfe4a9e5a96c8a2cf3d04c60e5
5,688
hpp
C++
include/json/number.hpp
tymonx/json-cxx-dev
9ff8570ab97df4b9cc9e6357d8c8e5762003de83
[ "Apache-2.0" ]
null
null
null
include/json/number.hpp
tymonx/json-cxx-dev
9ff8570ab97df4b9cc9e6357d8c8e5762003de83
[ "Apache-2.0" ]
null
null
null
include/json/number.hpp
tymonx/json-cxx-dev
9ff8570ab97df4b9cc9e6357d8c8e5762003de83
[ "Apache-2.0" ]
null
null
null
/*! * @copyright * Copyright 2017 Tymoteusz Blazejczyk * * @copyright * 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 * * @copyright * http://www.apache.org/licenses/LICENSE-2.0 ...
21.383459
75
0.66192
tymonx
2a51766917c16ca8f17c68ede9ad5756f51cc37d
410
cpp
C++
DenseAlgebra/GEMM_Test_0_0/MatMatMultiply.cpp
hvenugopalan/CS639S20_Demos
52f0d40bedbb212c4287b7ed55b4ca5cb75d0f8b
[ "BSD-2-Clause" ]
17
2020-01-28T20:49:31.000Z
2021-06-17T03:10:53.000Z
DenseAlgebra/GEMM_Test_0_0/MatMatMultiply.cpp
hvenugopalan/CS639S20_Demos
52f0d40bedbb212c4287b7ed55b4ca5cb75d0f8b
[ "BSD-2-Clause" ]
1
2020-02-11T21:13:35.000Z
2020-02-11T21:13:35.000Z
DenseAlgebra/GEMM_Test_0_0/MatMatMultiply.cpp
hvenugopalan/CS639S20_Demos
52f0d40bedbb212c4287b7ed55b4ca5cb75d0f8b
[ "BSD-2-Clause" ]
11
2020-01-28T20:55:52.000Z
2021-04-29T02:15:06.000Z
#include "MatMatMultiply.h" void MatMatMultiply(const float (&A)[MATRIX_SIZE][MATRIX_SIZE], const float (&B)[MATRIX_SIZE][MATRIX_SIZE], float (&C)[MATRIX_SIZE][MATRIX_SIZE]) { #pragma omp parallel for for (int i = 0; i < MATRIX_SIZE; i++) for (int j = 0; j < MATRIX_SIZE; j++) { C[i][j] = 0.; ...
29.285714
85
0.560976
hvenugopalan
2a5490f594d3e8acb7d350b3557b0dc704872aa1
838
cpp
C++
timus/1982v1.cpp
cosmicray001/Online_judge_Solutions-
5dc6f90d3848eb192e6edea8e8c731f41a1761dd
[ "MIT" ]
3
2018-01-08T02:52:51.000Z
2021-03-03T01:08:44.000Z
timus/1982v1.cpp
cosmicray001/Online_judge_Solutions-
5dc6f90d3848eb192e6edea8e8c731f41a1761dd
[ "MIT" ]
null
null
null
timus/1982v1.cpp
cosmicray001/Online_judge_Solutions-
5dc6f90d3848eb192e6edea8e8c731f41a1761dd
[ "MIT" ]
1
2020-08-13T18:07:35.000Z
2020-08-13T18:07:35.000Z
#include <bits/stdc++.h> #define le 103 #define ll long long int using namespace std; ll n[le][le]; int ve[le]; int main(){ //freopen("input.txt", "r", stdin); int e, len; scanf("%d %d", &e, &len); for(int i = 0; i < len; scanf("%d", &ve[i]), i++); for(int i = 0; i < e; i++){ for(int j = 0; j < e; j++) sc...
22.648649
65
0.420048
cosmicray001
2a58188d83430c99020dc8dbe5015fb6531d3285
22,833
cpp
C++
src/activemasternode.cpp
nexalt-project/nexalt-core
e0c2f3f8ee0eb3ab298dfbbdb1e9d5426c65670f
[ "MIT" ]
7
2021-01-30T11:20:46.000Z
2021-12-04T02:21:19.000Z
src/activemasternode.cpp
nexalt-project/nexalt-core
e0c2f3f8ee0eb3ab298dfbbdb1e9d5426c65670f
[ "MIT" ]
null
null
null
src/activemasternode.cpp
nexalt-project/nexalt-core
e0c2f3f8ee0eb3ab298dfbbdb1e9d5426c65670f
[ "MIT" ]
7
2021-01-17T11:48:40.000Z
2021-05-10T12:15:00.000Z
// Copyright (c) 2012-2014 The Bitcoin developers // Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2015-2018 The Luxcore developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "protocol.h" #include "a...
41.214801
218
0.680068
nexalt-project
3986bf0985dbdec61b5553ea12f2d3ee96b501ca
27,674
cpp
C++
namespace.cpp
JonathanGuthrie/wodin
bef3d5f0fa65f2148e7d8fb52606191689023bb0
[ "Apache-2.0" ]
3
2015-05-06T16:56:14.000Z
2017-03-22T05:25:21.000Z
namespace.cpp
JonathanGuthrie/wodin
bef3d5f0fa65f2148e7d8fb52606191689023bb0
[ "Apache-2.0" ]
null
null
null
namespace.cpp
JonathanGuthrie/wodin
bef3d5f0fa65f2148e7d8fb52606191689023bb0
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2013 Jonathan R. Guthrie * * 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...
36.033854
181
0.71616
JonathanGuthrie
398c8cb9dd1a525947665d657ac0bd0da3edde66
4,461
cpp
C++
lib/regi/sim_metrics_2d/xregImgSimMetric2DBoundaryEdgesCPU.cpp
rg2/xreg
c06440d7995f8a441420e311bb7b6524452843d3
[ "MIT" ]
30
2020-09-29T18:36:13.000Z
2022-03-28T09:25:13.000Z
lib/regi/sim_metrics_2d/xregImgSimMetric2DBoundaryEdgesCPU.cpp
gaocong13/Orthopedic-Robot-Navigation
bf36f7de116c1c99b86c9ba50f111c3796336af0
[ "MIT" ]
3
2020-10-09T01:21:27.000Z
2020-12-10T15:39:44.000Z
lib/regi/sim_metrics_2d/xregImgSimMetric2DBoundaryEdgesCPU.cpp
rg2/xreg
c06440d7995f8a441420e311bb7b6524452843d3
[ "MIT" ]
8
2021-05-25T05:14:48.000Z
2022-02-26T12:29:50.000Z
/* * MIT License * * Copyright (c) 2020 Robert Grupp * * 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, mod...
30.554795
103
0.654562
rg2
3994a19afa6a3b44787d87d571b673144d9c4b6f
427
cpp
C++
HW1and2/src/IArmyFactory.cpp
2ToThe10th/metaprogramming
34fc080185f5ed17c25651f150030e617d466e64
[ "MIT" ]
null
null
null
HW1and2/src/IArmyFactory.cpp
2ToThe10th/metaprogramming
34fc080185f5ed17c25651f150030e617d466e64
[ "MIT" ]
null
null
null
HW1and2/src/IArmyFactory.cpp
2ToThe10th/metaprogramming
34fc080185f5ed17c25651f150030e617d466e64
[ "MIT" ]
null
null
null
// // Created by 2ToThe10th on 25.04.2021. // #include "IArmyFactory.hpp" #include <utility> Soldier::Soldier(std::string type) : type_(std::move(type)) {} void Soldier::setColor(std::string color) { color_ = std::move(color); } const std::string &Soldier::getColor() { return color_; } Infantry::Infantry() : S...
18.565217
62
0.665105
2ToThe10th
3994a6c6385595ba686f41a443aee9801933e87a
7,355
hh
C++
include/benchmark/all_libraries/flann_test.hh
mlawsonca/benchmarking_suite_range_searching_libraries
85f2e6be47633836e56684636851eeb393c46d7d
[ "MIT" ]
1
2021-10-07T18:46:56.000Z
2021-10-07T18:46:56.000Z
include/benchmark/all_libraries/flann_test.hh
mlawsonca/benchmarking_suite_range_searching_libraries
85f2e6be47633836e56684636851eeb393c46d7d
[ "MIT" ]
null
null
null
include/benchmark/all_libraries/flann_test.hh
mlawsonca/benchmarking_suite_range_searching_libraries
85f2e6be47633836e56684636851eeb393c46d7d
[ "MIT" ]
null
null
null
#ifndef FLANN_TEST_HH #define FLANN_TEST_HH #include <flann/flann.h> using namespace std; namespace TestFLANN { class KDTree : public BboxIntersectionTest { private: flann::KDTreeSingleIndex<flann::L2_Simple<double>> *tree; //produces an error if the data is not kept accessible ...
44.041916
193
0.559211
mlawsonca
399869a8104e74d72feaaeeeea2ca843eeeedb14
5,380
cpp
C++
Engine/SQ/Renderer/RenderContext.cpp
chry003/SqEngine
bb98881a29da48c8c92b33c3534da1fcdd46b92a
[ "MIT" ]
null
null
null
Engine/SQ/Renderer/RenderContext.cpp
chry003/SqEngine
bb98881a29da48c8c92b33c3534da1fcdd46b92a
[ "MIT" ]
null
null
null
Engine/SQ/Renderer/RenderContext.cpp
chry003/SqEngine
bb98881a29da48c8c92b33c3534da1fcdd46b92a
[ "MIT" ]
null
null
null
#include "pch.hpp" #include "RenderContext.hpp" #include "Core/Log.hpp" #include "Event/ApplicationEvent.hpp" #include "Event/KeyEvent.hpp" #include "Event/MouseEvent.hpp" namespace Sq { static bool isGLFWWindowCreated = false; GLFWwindow *RenderContext::m_Window = nullptr; RenderContext::WindowData RenderContex...
27.309645
127
0.610223
chry003
3999905000dcb06b7bd5286edaac38a82a185b4a
3,675
cc
C++
dyn_prog/dyn_partition_set.cc
prashrock/C-
3ed46815d40b3e42cd9f36d23c8ee2a9de742323
[ "MIT" ]
1
2016-12-05T10:42:46.000Z
2016-12-05T10:42:46.000Z
dyn_prog/dyn_partition_set.cc
prashrock/CPP
3ed46815d40b3e42cd9f36d23c8ee2a9de742323
[ "MIT" ]
null
null
null
dyn_prog/dyn_partition_set.cc
prashrock/CPP
3ed46815d40b3e42cd9f36d23c8ee2a9de742323
[ "MIT" ]
null
null
null
#include <iostream> /* std::cout */ #include <iomanip> /* std::setw */ #include <cmath> /* pow */ #include <cassert> /* assert */ #include <algorithm> /* std::max */ #include <vector> /* std:vector */ #include...
36.029412
72
0.530612
prashrock
39a260c70a8e3d48d584021d0ba27e517a0698d5
5,538
cxx
C++
PWGJE/FlavourJetTasks/AliPicoV0RD.cxx
maroozm/AliPhysics
22ec256928cfdf8f800e05bfc1a6e124d90b6eaf
[ "BSD-3-Clause" ]
114
2017-03-03T09:12:23.000Z
2022-03-03T20:29:42.000Z
PWGJE/FlavourJetTasks/AliPicoV0RD.cxx
maroozm/AliPhysics
22ec256928cfdf8f800e05bfc1a6e124d90b6eaf
[ "BSD-3-Clause" ]
19,637
2017-01-16T12:34:41.000Z
2022-03-31T22:02:40.000Z
PWGJE/FlavourJetTasks/AliPicoV0RD.cxx
maroozm/AliPhysics
22ec256928cfdf8f800e05bfc1a6e124d90b6eaf
[ "BSD-3-Clause" ]
1,021
2016-07-14T22:41:16.000Z
2022-03-31T05:15:51.000Z
#include <TMath.h> #include <TLorentzVector.h> #include "AliPicoV0RD.h" ClassImp(AliPicoV0RD) //_____________________________________________________________________________ AliPicoV0RD::AliPicoV0RD() : AliPicoV0(), fPosPionSigmaTPC(0.), fNegPionSigmaTPC(0.), fPosProtonSigmaTPC(0.), fNegProtonSigmaTPC(0.) { // // A...
28.994764
109
0.656374
maroozm
39a2f5aeb5b47849a63a81e64a5f41f58b406451
18,789
cc
C++
src/wasm/encoder.cc
TwistedCore/external_v8
c6725dab9be251fbfc6fd7d53c3513a23e78c36c
[ "BSD-3-Clause" ]
1
2020-09-15T08:43:34.000Z
2020-09-15T08:43:34.000Z
src/wasm/encoder.cc
TwistedCore/external_v8
c6725dab9be251fbfc6fd7d53c3513a23e78c36c
[ "BSD-3-Clause" ]
null
null
null
src/wasm/encoder.cc
TwistedCore/external_v8
c6725dab9be251fbfc6fd7d53c3513a23e78c36c
[ "BSD-3-Clause" ]
4
2016-09-01T22:40:40.000Z
2017-06-03T21:49:47.000Z
// Copyright 2015 the V8 project 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 "src/signature.h" #include "src/handles.h" #include "src/v8.h" #include "src/zone-containers.h" #include "src/wasm/ast-decoder.h" #include "s...
31.89983
80
0.638246
TwistedCore
39a35b55534cdf1a9f269a0d848b40e2bb59a5df
5,928
cpp
C++
Tools/ParticleEditorNative/video_mf.cpp
edoipi/TemplePlus
f0e552289822fea908f16daa379fa568b1bd286d
[ "MIT" ]
69
2015-05-05T14:09:25.000Z
2022-02-15T06:13:04.000Z
Tools/ParticleEditorNative/video_mf.cpp
edoipi/TemplePlus
f0e552289822fea908f16daa379fa568b1bd286d
[ "MIT" ]
457
2015-05-01T22:07:45.000Z
2022-03-31T02:19:10.000Z
Tools/ParticleEditorNative/video_mf.cpp
edoipi/TemplePlus
f0e552289822fea908f16daa379fa568b1bd286d
[ "MIT" ]
25
2016-02-04T21:19:53.000Z
2021-11-15T23:14:51.000Z
#include <string> #include <mfapi.h> #include <mfidl.h> #include <Mfreadwrite.h> #include <mferror.h> #include <Codecapi.h> #include <Strmif.h> #include <exception.h> #include <atlcomcli.h> #pragma comment(lib, "mfreadwrite") #pragma comment(lib, "mfplat") #pragma comment(lib, "mfuuid") #include "video.h" // Forma...
24.7
85
0.699899
edoipi
39a50575ce53464c73c7ba4c42f63f9602b7512d
4,747
hpp
C++
SDX_Display.hpp
ffhighwind/DeferredShading
c8b765c5d1126ef8f337047db50e2eb63308baf9
[ "Apache-2.0" ]
1
2019-10-18T13:45:05.000Z
2019-10-18T13:45:05.000Z
SDX_Display.hpp
ffhighwind/DeferredShading
c8b765c5d1126ef8f337047db50e2eb63308baf9
[ "Apache-2.0" ]
1
2019-10-18T13:44:49.000Z
2019-11-29T23:26:27.000Z
SDX_Display.hpp
ffhighwind/DeferredShading
c8b765c5d1126ef8f337047db50e2eb63308baf9
[ "Apache-2.0" ]
null
null
null
/* * SDX Display classes * * Copyright (c) 2013 Wesley Hamilton * * 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, ...
36.236641
116
0.7668
ffhighwind
39a97a87d8b2d46e3c222a246311d3c79a0092e9
1,176
cpp
C++
engine/Engine.UI/src/ui/widget/button/CheckBox.cpp
Kartikeyapan598/Ghurund
bcdc5e1805bf82b3f9a0543a3bbe22681c5605ea
[ "MIT" ]
null
null
null
engine/Engine.UI/src/ui/widget/button/CheckBox.cpp
Kartikeyapan598/Ghurund
bcdc5e1805bf82b3f9a0543a3bbe22681c5605ea
[ "MIT" ]
10
2018-03-20T21:32:16.000Z
2018-04-23T19:42:59.000Z
engine/Engine.UI/src/ui/widget/button/CheckBox.cpp
Kartikeyapan598/Ghurund
bcdc5e1805bf82b3f9a0543a3bbe22681c5605ea
[ "MIT" ]
null
null
null
#include "ghuipch.h" #include "CheckBox.h" #include "ui/control/ImageView.h" #include "ui/style/Theme.h" namespace Ghurund::UI { const Ghurund::Core::Type& CheckBox::GET_TYPE() { static const auto CONSTRUCTOR = Constructor<CheckBox>(); static const Ghurund::Core::Type TYPE = TypeBuilder<CheckBox>(...
37.935484
125
0.630102
Kartikeyapan598
39a9add9ae261014115b0acbb2e30c457e705782
4,733
cpp
C++
Control Work - 04.04.2022/Project1/Fraction.cpp
ElitProffi/HW2021-2022
375abed060ad5a79e6486af0af367725294730d8
[ "Apache-2.0" ]
null
null
null
Control Work - 04.04.2022/Project1/Fraction.cpp
ElitProffi/HW2021-2022
375abed060ad5a79e6486af0af367725294730d8
[ "Apache-2.0" ]
null
null
null
Control Work - 04.04.2022/Project1/Fraction.cpp
ElitProffi/HW2021-2022
375abed060ad5a79e6486af0af367725294730d8
[ "Apache-2.0" ]
null
null
null
#include "Fraction.h" using namespace std; Fraction::Fraction() { a = 1; b = 1; } Fraction::Fraction(long long a, long long b) : a(a), b(b) {} Fraction::Fraction(const Fraction& fraction) : a(fraction.a), b(fraction.b) {} Fraction::~Fraction() { this->a = 0; this->b = 0; } long long Fraction::getA() { return...
18.781746
84
0.64251
ElitProffi
39ad649248a7e7b4c5cc74402d0e666f1d887eb2
288
cpp
C++
Src/Graph/RotateTransformStrategy.cpp
patrickuhlmann/OpenGL-Scenegraph
92c8a6fcadc48b185cf27db00474693916bc4802
[ "MIT" ]
1
2018-12-19T04:34:05.000Z
2018-12-19T04:34:05.000Z
Src/Graph/RotateTransformStrategy.cpp
patrickuhlmann/OpenGL-Scenegraph
92c8a6fcadc48b185cf27db00474693916bc4802
[ "MIT" ]
null
null
null
Src/Graph/RotateTransformStrategy.cpp
patrickuhlmann/OpenGL-Scenegraph
92c8a6fcadc48b185cf27db00474693916bc4802
[ "MIT" ]
null
null
null
#include "RotateTransformStrategy.hpp" RotateTransformStrategy::RotateTransformStrategy( float angle, float x, float y, float z ) : _angle(angle), _x(x), _y(y), _z(z) {} void RotateTransformStrategy::transformation() { m3dRotationMatrix44( _transMatrix, _angle, _x, _y, _z ); }
26.181818
92
0.732639
patrickuhlmann
39b0c9924e07aa9a4e7aad419cfe7b578f421348
1,195
cpp
C++
AOJ/ALDS1/5/b/main.cpp
eduidl/procon
a95d33074771281ff135bf199ded8b57788c151d
[ "MIT" ]
null
null
null
AOJ/ALDS1/5/b/main.cpp
eduidl/procon
a95d33074771281ff135bf199ded8b57788c151d
[ "MIT" ]
null
null
null
AOJ/ALDS1/5/b/main.cpp
eduidl/procon
a95d33074771281ff135bf199ded8b57788c151d
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define FOR(i, a, b) for (int i = (a), i##_max = (b); i < i##_max; ++i) #define REP(i, n) for (int i = 0, i##_len = (n); i < i##_len; ++i) #define ALL(obj) (obj).begin(), (obj).end() using namespace std; using vi = vector<int>; using i64 = int64_t; constexpr int INF = 1 << 30; constexpr int M...
20.964912
71
0.516318
eduidl
39b3c33544c2311e3319c6273cf6fff2df26ef10
5,811
hpp
C++
src/ropufu/sequential/cusum.hpp
ropufu/aftermath
ab9364c41672a188879d84ebebb5a23f2d6641ec
[ "MIT" ]
null
null
null
src/ropufu/sequential/cusum.hpp
ropufu/aftermath
ab9364c41672a188879d84ebebb5a23f2d6641ec
[ "MIT" ]
null
null
null
src/ropufu/sequential/cusum.hpp
ropufu/aftermath
ab9364c41672a188879d84ebebb5a23f2d6641ec
[ "MIT" ]
null
null
null
#ifndef ROPUFU_AFTERMATH_SEQUENTIAL_CUSUM_HPP_INCLUDED #define ROPUFU_AFTERMATH_SEQUENTIAL_CUSUM_HPP_INCLUDED #ifndef ROPUFU_NO_JSON #include <nlohmann/json.hpp> #include "../noexcept_json.hpp" #endif #include "../simple_vector.hpp" #include "statistic.hpp" #include <concepts> // std::same_as, std::totally_order...
33.589595
102
0.641714
ropufu
39b3d201c4182d3721dc5b2e71c73c0f2c7e5641
374
cpp
C++
CPP/ex4.4.7virt.cpp
w1ld/StepikExercies
3efe07819a0456aa3846587b2a23bad9dd9710db
[ "MIT" ]
4
2019-05-11T17:26:24.000Z
2022-01-30T17:48:25.000Z
CPP/ex4.4.7virt.cpp
w1ld/StepikExercises
3efe07819a0456aa3846587b2a23bad9dd9710db
[ "MIT" ]
null
null
null
CPP/ex4.4.7virt.cpp
w1ld/StepikExercises
3efe07819a0456aa3846587b2a23bad9dd9710db
[ "MIT" ]
4
2019-01-24T22:15:21.000Z
2020-12-21T10:23:52.000Z
#include "ex4.3.8virt_methods.cpp" #include <iostream> bool check_equals(Expression const *left, Expression const *right) { return *((int**)left) ==*((int**)right); } int main() { Expression * sube = new BinaryOperation(new Number(4.5), '*', new Number(5)); Expression * another = new Number(4.5); st...
24.933333
79
0.641711
w1ld
39b45753ad0befad2e75a1bddde980d432dc82d9
1,865
cpp
C++
main.cpp
SzalonyJohny/STM32_CAN_abstraction
4465c4c9bd8367429db6eed78cce001d294370ff
[ "MIT" ]
null
null
null
main.cpp
SzalonyJohny/STM32_CAN_abstraction
4465c4c9bd8367429db6eed78cce001d294370ff
[ "MIT" ]
null
null
null
main.cpp
SzalonyJohny/STM32_CAN_abstraction
4465c4c9bd8367429db6eed78cce001d294370ff
[ "MIT" ]
null
null
null
#include <cstdint> #include <iostream> #include "can_interface.hpp" using namespace new_can; // global HAL CUBE_MX initialized data CAN_HandleTypeDef hcan1; // global can interface handle Can_interface can; // uint32_t TxMailbox = 3; void interrupt_handler() { Can_rx_message rx{hcan1, 1}; ...
21.686047
85
0.662198
SzalonyJohny
39b65f31eb34d053ae3030b968ec27bc0da5f9cc
601
hpp
C++
main.hpp
GGLinnk/Direct3D-9-Helpers
ac44882a6ebaf8abde2cc8d485dd0c821934aadd
[ "MIT" ]
null
null
null
main.hpp
GGLinnk/Direct3D-9-Helpers
ac44882a6ebaf8abde2cc8d485dd0c821934aadd
[ "MIT" ]
null
null
null
main.hpp
GGLinnk/Direct3D-9-Helpers
ac44882a6ebaf8abde2cc8d485dd0c821934aadd
[ "MIT" ]
null
null
null
#pragma once /// <summary> /// This function compares two D3DDISPLAYMODE allow qsort to sorts them by their width, then by their height and finally by their refresh rate. /// </summary> /// <param name="firstD3dDisplayMode">The first D3DDISPLAYMODE to be compared</param> /// <param name="secondD3dDisplayMode">The se...
46.230769
145
0.727121
GGLinnk
39b83a877401fa00ee3b9959e734085e4f5fa6f4
10,085
cpp
C++
src/lex/pre_parse_lexer.cpp
lavovaLampa/vhdl-parser
f7fcde359680a70321725682a9bacb1e910cd8d1
[ "MIT" ]
1
2022-03-31T15:36:59.000Z
2022-03-31T15:36:59.000Z
src/lex/pre_parse_lexer.cpp
lavovaLampa/vhdl-parser
f7fcde359680a70321725682a9bacb1e910cd8d1
[ "MIT" ]
null
null
null
src/lex/pre_parse_lexer.cpp
lavovaLampa/vhdl-parser
f7fcde359680a70321725682a9bacb1e910cd8d1
[ "MIT" ]
null
null
null
#include "pre_parse_lexer.hpp" #include "token.hpp" #include "common.hpp" #include <cassert> #include <gsl/assert> namespace lexer { tl::optional<TokenVariant> lex_pre_parse(std::string_view src, const char* cursor) { Expects((src.size() == 0) || *(src.end() - 1) == '\0'); const char* const base { src.begi...
43.469828
89
0.494298
lavovaLampa
39beed4cb8c150a691cda7fe4d6c0cc31c906e0f
4,841
cpp
C++
Classes/common/SneakyInput/SneakyJoystick.cpp
cpinan/Turbo-Race
c9394c308a8d25ece63a90326bad7283d5005d46
[ "Apache-2.0" ]
null
null
null
Classes/common/SneakyInput/SneakyJoystick.cpp
cpinan/Turbo-Race
c9394c308a8d25ece63a90326bad7283d5005d46
[ "Apache-2.0" ]
null
null
null
Classes/common/SneakyInput/SneakyJoystick.cpp
cpinan/Turbo-Race
c9394c308a8d25ece63a90326bad7283d5005d46
[ "Apache-2.0" ]
null
null
null
// // SneakyJoystick.cpp // TurboRace-mobile // // Created by Carlos Eduardo Pinan Indacochea on 9/1/19. // #include "SneakyJoystick.hpp" #define SJ_PI 3.14159265359f #define SJ_PI_X_2 6.28318530718f #define SJ_RAD2DEG 180.0f/SJ_PI #define SJ_DEG2RAD SJ_PI/180.0f #define DEFAULT_SNEAKY_JOYSTICK_THUMB_RADIUS 32.0f...
29.518293
106
0.67672
cpinan
39c22e2c5c798ca313a7c20a2cc54bc809d4352c
3,296
cpp
C++
sdl1/Bejeweled/Engine.cpp
pdpdds/sdldualsystem
d74ea84cbea705fef62868ba8c693bf7d2555636
[ "BSD-2-Clause" ]
null
null
null
sdl1/Bejeweled/Engine.cpp
pdpdds/sdldualsystem
d74ea84cbea705fef62868ba8c693bf7d2555636
[ "BSD-2-Clause" ]
null
null
null
sdl1/Bejeweled/Engine.cpp
pdpdds/sdldualsystem
d74ea84cbea705fef62868ba8c693bf7d2555636
[ "BSD-2-Clause" ]
null
null
null
#include <SDL.h> #include <SDL_image.h> #include <SDL_ttf.h> #include <SDL_mixer.h> #include "Engine.h" #include "GameObject.h" #include "SurfaceProxy.h" #include "GameException.h" #include "GameScene.h" #include "Point.h" namespace bejeweled { const int Engine::GAME_FPS = 10; const string Engine::WINDOW_TITLE = "Bej...
30.238532
125
0.62409
pdpdds
39c2a161a3a1ce5386c5380d92b76d9801c02b61
3,789
cpp
C++
native/common/jp_reference_queue.cpp
theHamsta/jpype
2ea0c56751598f0ce47d1c3be9ac48b4966d3e4a
[ "Apache-2.0" ]
1
2020-01-03T06:03:14.000Z
2020-01-03T06:03:14.000Z
native/common/jp_reference_queue.cpp
theHamsta/jpype
2ea0c56751598f0ce47d1c3be9ac48b4966d3e4a
[ "Apache-2.0" ]
null
null
null
native/common/jp_reference_queue.cpp
theHamsta/jpype
2ea0c56751598f0ce47d1c3be9ac48b4966d3e4a
[ "Apache-2.0" ]
null
null
null
/***************************************************************************** Copyright 2004-2008 Steve Ménard 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...
30.312
112
0.74162
theHamsta
39c54404ab258a0d25b4ef3c13ae2fbdd938a1cb
5,692
cpp
C++
Asap-3.8.4/Brenner/sili_germ.cpp
auag92/n2dm
03403ef8da303b79478580ae76466e374ec9da60
[ "MIT" ]
1
2021-10-19T11:35:34.000Z
2021-10-19T11:35:34.000Z
Asap-3.8.4/Brenner/sili_germ.cpp
auag92/n2dm
03403ef8da303b79478580ae76466e374ec9da60
[ "MIT" ]
null
null
null
Asap-3.8.4/Brenner/sili_germ.cpp
auag92/n2dm
03403ef8da303b79478580ae76466e374ec9da60
[ "MIT" ]
3
2016-07-18T19:22:48.000Z
2021-07-06T03:06:42.000Z
/* This code was released into the public domain by Peter McCluskey on 6/2/2000. It is adapted from code released into the public domain by Donald Brenner on 2/29/2000. */ #include "BrennerPotential.h" #include "AtomPairInfoState.h" #include "asapbrenner.h" #include <math.h> #include <stdlib.h> #include <stdio.h> ...
30.438503
79
0.550597
auag92
39c719d701944bf86436be941fb232a93de990aa
1,316
cpp
C++
144_edit_distance.cpp
swapmali/Must-Do-Coding-Questions-For-Companies-GFG
b68340c150f572c0fad7311af87f79b684060fb9
[ "MIT" ]
1
2021-02-07T19:50:36.000Z
2021-02-07T19:50:36.000Z
144_edit_distance.cpp
swapmali/Must-Do-Coding-Questions-For-Companies-GFG
b68340c150f572c0fad7311af87f79b684060fb9
[ "MIT" ]
null
null
null
144_edit_distance.cpp
swapmali/Must-Do-Coding-Questions-For-Companies-GFG
b68340c150f572c0fad7311af87f79b684060fb9
[ "MIT" ]
1
2021-05-06T15:30:47.000Z
2021-05-06T15:30:47.000Z
// https://practice.geeksforgeeks.org/problems/edit-distance/0 #include <bits/stdc++.h> using namespace std; void print_2d(vector<vector<int> > v) { for (int i = 0; i < v.size(); ++i) { for (int j = 0; j < v[0].size(); ++j) { cout << v[i][j] << " "; } cout << endl; } } int min(int x, int y, int z) { re...
17.783784
66
0.505319
swapmali
39c725e90a50bed408c4162034ec6b8061bb7c97
3,137
hpp
C++
lib/scipoptsuite-5.0.1/scip/examples/Queens/src/queens.hpp
npwebste/UPS_Controller
a90ce2229108197fd48f956310ae2929e0fa5d9a
[ "AFL-1.1" ]
null
null
null
lib/scipoptsuite-5.0.1/scip/examples/Queens/src/queens.hpp
npwebste/UPS_Controller
a90ce2229108197fd48f956310ae2929e0fa5d9a
[ "AFL-1.1" ]
null
null
null
lib/scipoptsuite-5.0.1/scip/examples/Queens/src/queens.hpp
npwebste/UPS_Controller
a90ce2229108197fd48f956310ae2929e0fa5d9a
[ "AFL-1.1" ]
1
2022-01-19T01:15:11.000Z
2022-01-19T01:15:11.000Z
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /* */ /* This file is part of the examples to */ /* An introduction to SCIP */ ...
34.855556
111
0.484221
npwebste
39c998267ec453b18a31fe542875d8c858f26a1d
119
hpp
C++
pythran/pythonic/types/int32.hpp
davidbrochart/pythran
24b6c8650fe99791a4091cbdc2c24686e86aa67c
[ "BSD-3-Clause" ]
1,647
2015-01-13T01:45:38.000Z
2022-03-28T01:23:41.000Z
pythran/pythonic/types/int32.hpp
davidbrochart/pythran
24b6c8650fe99791a4091cbdc2c24686e86aa67c
[ "BSD-3-Clause" ]
1,116
2015-01-01T09:52:05.000Z
2022-03-18T21:06:40.000Z
pythran/pythonic/types/int32.hpp
davidbrochart/pythran
24b6c8650fe99791a4091cbdc2c24686e86aa67c
[ "BSD-3-Clause" ]
180
2015-02-12T02:47:28.000Z
2022-03-14T10:28:18.000Z
#ifndef PYTHONIC_TYPES_INT32_HPP #define PYTHONIC_TYPES_INT32_HPP #include "pythonic/include/types/int32.hpp" #endif
17
43
0.840336
davidbrochart
39ca0caf927ec3d7e5548cc3e4fd05462eebfc91
779
cpp
C++
tggdhj2/Game.Avatar.Log.cpp
playdeezgames/tggdhj2
41c76ce27087bb4e53a6adc69c5b3fe7dcfbb7f7
[ "MIT" ]
null
null
null
tggdhj2/Game.Avatar.Log.cpp
playdeezgames/tggdhj2
41c76ce27087bb4e53a6adc69c5b3fe7dcfbb7f7
[ "MIT" ]
null
null
null
tggdhj2/Game.Avatar.Log.cpp
playdeezgames/tggdhj2
41c76ce27087bb4e53a6adc69c5b3fe7dcfbb7f7
[ "MIT" ]
null
null
null
#include "Data.Game.Avatar.Log.h" #include "Game.Avatar.Log.h" #include "Visuals.Data.Colors.h" namespace game::avatar::Log { const std::string WELCOME_TEXT = "Adventure awaits! HUZZAH!!"; const size_t ENTRY_COUNT = 12;//TODO: maybe this could be configurable somewhere? void Reset(const Difficulty&) { data::game...
22.257143
82
0.664955
playdeezgames
39ca1ef4c96558e71b36f9d1fc17b518a75c0a6f
32,561
cpp
C++
demogl/cpp/DemoGL/dgl_dllstartsystem.cpp
tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective
1b0172cdb78757fd17898503aaf6ce03d940ef28
[ "Apache-1.1" ]
46
2015-12-04T17:12:58.000Z
2022-03-11T04:30:49.000Z
demogl/cpp/DemoGL/dgl_dllstartsystem.cpp
tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective
1b0172cdb78757fd17898503aaf6ce03d940ef28
[ "Apache-1.1" ]
null
null
null
demogl/cpp/DemoGL/dgl_dllstartsystem.cpp
tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective
1b0172cdb78757fd17898503aaf6ce03d940ef28
[ "Apache-1.1" ]
23
2016-10-24T09:18:14.000Z
2022-02-25T02:11:35.000Z
////////////////////////////////////////////////////////////////////// // FILE: dgl_dllstartsystem.cpp // PURPOSE: in here are all the startup functions that are needed to get the system up and running. ////////////////////////////////////////////////////////////////////// // SHORT DESCRIPTION: // this is the file...
35.899669
181
0.696508
tharindusathis
39cc969b2e6bc3ccdfb3c1282e3264bc8e9e5412
10,256
cc
C++
internal/xmpmeta/xmp_parser_test.cc
isabella232/xmpmeta
73671eccaef4879bb89fa98ee3e50514760f6c97
[ "Apache-2.0" ]
18
2016-12-06T09:57:01.000Z
2021-10-07T07:16:43.000Z
internal/xmpmeta/xmp_parser_test.cc
google/xmpmeta
73671eccaef4879bb89fa98ee3e50514760f6c97
[ "Apache-2.0" ]
1
2021-07-19T12:33:12.000Z
2021-07-19T12:33:12.000Z
internal/xmpmeta/xmp_parser_test.cc
isabella232/xmpmeta
73671eccaef4879bb89fa98ee3e50514760f6c97
[ "Apache-2.0" ]
13
2017-02-01T18:14:50.000Z
2021-07-19T12:32:01.000Z
// Copyright 2016 The XMPMeta 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 ...
37.985185
79
0.69959
isabella232
39ccd04c3616205c774c2aec3134a8d391f7977d
3,995
cpp
C++
codebook/geometry/point-in-polygon.cpp
nella17/NYCU_gAwr_gurA
e168cafc9e728a2cab2d1cafa90a1cfd433b9f59
[ "CC0-1.0" ]
1
2022-01-23T11:18:52.000Z
2022-01-23T11:18:52.000Z
codebook/geometry/point-in-polygon.cpp
nella17/NYCU_gAwr_gurA
e168cafc9e728a2cab2d1cafa90a1cfd433b9f59
[ "CC0-1.0" ]
null
null
null
codebook/geometry/point-in-polygon.cpp
nella17/NYCU_gAwr_gurA
e168cafc9e728a2cab2d1cafa90a1cfd433b9f59
[ "CC0-1.0" ]
1
2022-02-02T15:24:39.000Z
2022-02-02T15:24:39.000Z
#include <bits/stdc++.h> #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/tree_policy.hpp> using namespace std; using namespace __gnu_pbds; template <typename T> using rbt = tree<T, null_type, less<T>, rb_tree_tag, tree_order_statistics_node_update>; using Double = __float128; using Point = pair<D...
25.125786
80
0.442053
nella17
39cd5b5f3434757796e0e0b317a69253ea2abc12
1,359
cpp
C++
Engine/src/Managers/Sound.cpp
Proyecto03/Motor
9e7f379f1f64bc911293434fdfb8aa18bb8f99ab
[ "MIT" ]
1
2021-07-24T03:10:38.000Z
2021-07-24T03:10:38.000Z
Engine/src/Managers/Sound.cpp
Proyecto03/Motor
9e7f379f1f64bc911293434fdfb8aa18bb8f99ab
[ "MIT" ]
null
null
null
Engine/src/Managers/Sound.cpp
Proyecto03/Motor
9e7f379f1f64bc911293434fdfb8aa18bb8f99ab
[ "MIT" ]
2
2021-05-11T10:47:37.000Z
2021-07-24T03:10:39.000Z
#include "windows.h" #include "fmod.h" #include "fmod_errors.h" #include ".\sound.h" class Sound { public: Sound(char *fname); ~Sound(void); void createScene(float pos[]); void Sound::play(); void Sound::stop() ; }; FSOUND_SAMPLE *sample; char *filename; int m_channel; Sound::Sound(char *fname) { ...
19.140845
90
0.649007
Proyecto03
39cdacb331070ffa5d245795242cb23aa905b58f
10,165
cpp
C++
VS/Graphics/VS_ShaderValues.cpp
vectorstorm/vectorstorm
7306214108b23fa97d4a1a598197bbaa52c17d3a
[ "Zlib" ]
19
2017-04-03T09:06:21.000Z
2022-03-05T19:06:07.000Z
VS/Graphics/VS_ShaderValues.cpp
vectorstorm/vectorstorm
7306214108b23fa97d4a1a598197bbaa52c17d3a
[ "Zlib" ]
2
2019-05-24T14:40:07.000Z
2020-04-15T01:10:23.000Z
VS/Graphics/VS_ShaderValues.cpp
vectorstorm/vectorstorm
7306214108b23fa97d4a1a598197bbaa52c17d3a
[ "Zlib" ]
2
2020-03-08T07:14:49.000Z
2020-03-09T10:39:52.000Z
/* * VS_ShaderValues.cpp * VectorStorm * * Created by Trevor Powell on 28/08/2015 * Copyright 2015 Trevor Powell. All rights reserved. * */ #include "VS_ShaderValues.h" #include "VS_Shader.h" #include "VS_ShaderUniformRegistry.h" #include "VS_OpenGL.h" #include "VS_Matrix.h" vsShaderValues::vsShaderValues...
20.535354
81
0.64545
vectorstorm
39d31304a259f436a2d731216f4bd68cc3e988e2
2,365
cpp
C++
Gemastik/PenulisSoal/PenulisSoal-dewnan98.cpp
ajisubarkah/Programming-Event
6cb645ec24cb5c826b41c11334270fd3d0ece474
[ "MIT" ]
1
2018-09-18T06:28:45.000Z
2018-09-18T06:28:45.000Z
Gemastik/PenulisSoal/PenulisSoal-dewnan98.cpp
ajisubarkah/Programming-Event
6cb645ec24cb5c826b41c11334270fd3d0ece474
[ "MIT" ]
null
null
null
Gemastik/PenulisSoal/PenulisSoal-dewnan98.cpp
ajisubarkah/Programming-Event
6cb645ec24cb5c826b41c11334270fd3d0ece474
[ "MIT" ]
1
2018-09-05T06:34:04.000Z
2018-09-05T06:34:04.000Z
#include <iostream> #include <vector> using namespace std; void printVector(vector <int> vec) { cout<<"VECTOR : "; for (int a = 0 ; a<vec.size();a++) { cout<<vec[a]<<" | "; } cout<<endl; } bool vectorContain (vector<int>vec , int angka) { for (int a = 0 ; a<vec.size();a++) {...
17.518519
88
0.454545
ajisubarkah
39d6157241f35c17822f56fa27f143ab05a5bd25
2,750
cpp
C++
src/modes/streakers.cpp
ninezerozeronine/led-suit
0a22610ec4b0166669ea05217346115c7b947c1c
[ "MIT" ]
null
null
null
src/modes/streakers.cpp
ninezerozeronine/led-suit
0a22610ec4b0166669ea05217346115c7b947c1c
[ "MIT" ]
null
null
null
src/modes/streakers.cpp
ninezerozeronine/led-suit
0a22610ec4b0166669ea05217346115c7b947c1c
[ "MIT" ]
null
null
null
#include "streakers.h" Streakers::Streakers() : Mode() { constructor_defaults(); } Streakers::Streakers(CRGB* leds_) : Mode(leds_) { constructor_defaults(); } void Streakers::constructor_defaults() { last_update = 0; fade_amount = 4; fade_interval = 10; for (int index = 0; index < NUM_STREAKE...
22.727273
66
0.668727
ninezerozeronine
39da444a1227d0f0c2d210e015c45b7f14078fe9
2,740
cpp
C++
C++/Data_Structures/DS_Assignments/Project3_James_Williams/Project3_James_Williams/main.cpp
JRW2252/OldProjects
58fb6788b7b08e45e1c29a62987f7af0dd2b8e13
[ "Unlicense" ]
null
null
null
C++/Data_Structures/DS_Assignments/Project3_James_Williams/Project3_James_Williams/main.cpp
JRW2252/OldProjects
58fb6788b7b08e45e1c29a62987f7af0dd2b8e13
[ "Unlicense" ]
null
null
null
C++/Data_Structures/DS_Assignments/Project3_James_Williams/Project3_James_Williams/main.cpp
JRW2252/OldProjects
58fb6788b7b08e45e1c29a62987f7af0dd2b8e13
[ "Unlicense" ]
null
null
null
////////////////////////// /* Name: James Williams */ ////////////////////////// #include <algorithm> #include <iostream> #include <sstream> #include <fstream> #include <string> #include "morse_tree.h" using namespace std; ////////////////////////// /* main functioins */ ////////////////////////// voi...
27.128713
62
0.49927
JRW2252
39da4520af0e097fb4ddc30feaca4c5ed80eca22
6,209
cxx
C++
Filters/Modeling/Testing/Cxx/TestQuadRotationalExtrusionMultiBlock.cxx
txwhhny/vtk
854d9aa87b944bc9079510515996406b98b86f7c
[ "BSD-3-Clause" ]
1,755
2015-01-03T06:55:00.000Z
2022-03-29T05:23:26.000Z
Filters/Modeling/Testing/Cxx/TestQuadRotationalExtrusionMultiBlock.cxx
txwhhny/vtk
854d9aa87b944bc9079510515996406b98b86f7c
[ "BSD-3-Clause" ]
29
2015-04-23T20:58:30.000Z
2022-03-02T16:16:42.000Z
Filters/Modeling/Testing/Cxx/TestQuadRotationalExtrusionMultiBlock.cxx
txwhhny/vtk
854d9aa87b944bc9079510515996406b98b86f7c
[ "BSD-3-Clause" ]
1,044
2015-01-05T22:48:27.000Z
2022-03-31T02:38:26.000Z
/*========================================================================= Program: Visualization Toolkit Module: TestQuadRotationalExtrusionMultiBlock.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details...
37.859756
98
0.736834
txwhhny
39dad1b350fba14cff492bed3a51bb7123779e42
2,198
cpp
C++
UVa 11412 - Dig the Holes/sample/11412 - Dig the Holes.cpp
tadvi/uva
0ac0cbdf593879b4fb02a3efc09adbb031cb47d5
[ "MIT" ]
1
2020-11-24T03:17:21.000Z
2020-11-24T03:17:21.000Z
UVa 11412 - Dig the Holes/sample/11412 - Dig the Holes.cpp
tadvi/uva
0ac0cbdf593879b4fb02a3efc09adbb031cb47d5
[ "MIT" ]
null
null
null
UVa 11412 - Dig the Holes/sample/11412 - Dig the Holes.cpp
tadvi/uva
0ac0cbdf593879b4fb02a3efc09adbb031cb47d5
[ "MIT" ]
1
2021-04-11T16:22:31.000Z
2021-04-11T16:22:31.000Z
#include <stdio.h> int main() { int testcase; int mapped[128] = {}; mapped['R'] = 0, mapped['G'] = 1; mapped['B'] = 2, mapped['Y'] = 3; mapped['O'] = 4, mapped['V'] = 5; scanf("%d", &testcase); while(testcase--) { int na, nb, ma, mb; char M[50], N[50]; int i, j, k; ...
29.306667
55
0.250682
tadvi
39db23b2a097a8136d98305dcc25df7d06506428
5,693
cpp
C++
src/ray.cpp
Chongyao/Monte-Carlo-Ray-Tracing
d175300f089a4ed61c9548e5a2587e63cd843403
[ "MIT" ]
null
null
null
src/ray.cpp
Chongyao/Monte-Carlo-Ray-Tracing
d175300f089a4ed61c9548e5a2587e63cd843403
[ "MIT" ]
null
null
null
src/ray.cpp
Chongyao/Monte-Carlo-Ray-Tracing
d175300f089a4ed61c9548e5a2587e63cd843403
[ "MIT" ]
null
null
null
#include "ray.h" #include <limits> #include <iostream> using namespace std; using namespace Eigen; const double MAX_DOUBLE = std::numeric_limits<double>::max(); Ray::Ray(const vec& origin, const vec& dire): origin_(origin), dire_(dire),final_offset_(MAX_DOUBLE){} enum axis{x, y, z}; bool project_dim(const Eigen::Vect...
28.465
113
0.553311
Chongyao
39db87dbebd70cdc4705d1b588dcadb3462eb85a
11,723
cpp
C++
src/LLVMBackend/CtModule.cpp
CristianDragu/sparrow
49844c2329ac001c3a0779baae7a2f02743c4494
[ "MIT" ]
80
2015-05-05T12:21:50.000Z
2022-03-30T18:38:48.000Z
src/LLVMBackend/CtModule.cpp
CristianDragu/sparrow
49844c2329ac001c3a0779baae7a2f02743c4494
[ "MIT" ]
51
2016-09-09T13:44:50.000Z
2021-11-28T07:03:02.000Z
src/LLVMBackend/CtModule.cpp
CristianDragu/sparrow
49844c2329ac001c3a0779baae7a2f02743c4494
[ "MIT" ]
8
2015-07-28T11:34:15.000Z
2020-02-01T21:54:06.000Z
#include <StdInc.h> #include "CtModule.h" #include "Generator.h" #include <Tr/TrTopLevel.h> #include <Tr/TrFunction.h> #include <Tr/TrType.h> #include <Tr/GlobalContext.h> #include <Tr/PrepareTranslate.h> #include "Feather/Utils/FeatherUtils.hpp" #include "Feather/Utils/cppif/FeatherTypes.hpp" #include "Nest/Api/Node...
34.581121
100
0.65026
CristianDragu
39dbbae00ab1559d100daffd161095531451746f
1,061
hpp
C++
include/mizuiro/color/detail/dynamic/channel_to_pos.hpp
cpreh/mizuiro
5ab15bde4e72e3a4978c034b8ff5700352932485
[ "BSL-1.0" ]
1
2015-08-22T04:19:39.000Z
2015-08-22T04:19:39.000Z
include/mizuiro/color/detail/dynamic/channel_to_pos.hpp
freundlich/mizuiro
5ab15bde4e72e3a4978c034b8ff5700352932485
[ "BSL-1.0" ]
null
null
null
include/mizuiro/color/detail/dynamic/channel_to_pos.hpp
freundlich/mizuiro
5ab15bde4e72e3a4978c034b8ff5700352932485
[ "BSL-1.0" ]
null
null
null
// Copyright Carl Philipp Reh 2009 - 2016. // 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 MIZUIRO_COLOR_DETAIL_DYNAMIC_CHANNEL_TO_POS_HPP_INCLUDED #define MIZUIRO_COLOR_DETAIL_DYNAM...
31.205882
87
0.777568
cpreh
39dc1a6b5a235adc745bfa5157e0dc185beceaf4
8,103
hxx
C++
main/svl/inc/svl/svstdarr.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/svl/inc/svl/svstdarr.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/svl/inc/svl/svstdarr.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.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 y...
33.483471
99
0.765149
Grosskopf
39dc49ddf10f43c1efeb0dde26a9915210416aff
2,544
cpp
C++
storage/src/vespa/storage/visiting/visitorlibraries.cpp
amahussein/vespa
29d266ae1e5c95e25002b97822953fdd02b1451e
[ "Apache-2.0" ]
1
2018-12-30T05:42:18.000Z
2018-12-30T05:42:18.000Z
storage/src/vespa/storage/visiting/visitorlibraries.cpp
amahussein/vespa
29d266ae1e5c95e25002b97822953fdd02b1451e
[ "Apache-2.0" ]
1
2021-03-31T22:27:25.000Z
2021-03-31T22:27:25.000Z
storage/src/vespa/storage/visiting/visitorlibraries.cpp
amahussein/vespa
29d266ae1e5c95e25002b97822953fdd02b1451e
[ "Apache-2.0" ]
1
2020-02-01T07:21:28.000Z
2020-02-01T07:21:28.000Z
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "visitorlibraries.h" #include <vespa/defaults.h> #include <vespa/log/log.h> LOG_SETUP(".visiting.libraryloader"); namespace storage { VisitorLibraries::LibMap VisitorLibraries::_libs; vesp...
35.830986
127
0.668239
amahussein
39dd0d07076841827175ddf16e04aaafb85166c0
1,215
cpp
C++
UESTC-Programming-Course/Grade 2/binaryTreeTest.cpp
HeRaNO/ChickenRibs
9aa8dd8f915aa39a7168940b5ff99a1d665f5212
[ "MIT" ]
14
2020-03-02T09:55:44.000Z
2021-09-17T09:39:40.000Z
UESTC-Programming-Course/Grade 2/binaryTreeTest.cpp
HeRaNO/ChickenRibs
9aa8dd8f915aa39a7168940b5ff99a1d665f5212
[ "MIT" ]
null
null
null
UESTC-Programming-Course/Grade 2/binaryTreeTest.cpp
HeRaNO/ChickenRibs
9aa8dd8f915aa39a7168940b5ff99a1d665f5212
[ "MIT" ]
8
2020-06-08T12:38:56.000Z
2021-06-27T14:23:30.000Z
#include <cstdio> #include <algorithm> using namespace std; #define TEST2 struct BTNode { int x; BTNode *lchild, *rchild; }; #include "binaryTree.cpp" void print(BTNode *b) { if (b == NULL) return ; if (b->lchild)printf("%d->%d\n",b->x,(b->lchild)->x); else printf("%d->NULL\n",b->x); if (b->rchild)printf("%d-...
17.867647
66
0.553086
HeRaNO
39e18ce4e00f29614d9b35f8612c0c1eea12bbf8
54,767
cpp
C++
qflexprop.cpp
totalspectrum/qflexprop
ab3ca23b4f61b2c100acf7e917bacab18ee9614e
[ "BSD-3-Clause" ]
2
2022-02-09T02:25:29.000Z
2022-03-30T01:06:45.000Z
qflexprop.cpp
totalspectrum/qflexprop
ab3ca23b4f61b2c100acf7e917bacab18ee9614e
[ "BSD-3-Clause" ]
2
2021-03-09T17:39:15.000Z
2021-03-09T17:39:39.000Z
qflexprop.cpp
totalspectrum/qflexprop
ab3ca23b4f61b2c100acf7e917bacab18ee9614e
[ "BSD-3-Clause" ]
2
2021-03-07T18:40:11.000Z
2021-04-14T23:44:32.000Z
/***************************************************************************** * * Qt5 Propeller 2 main window for editor, compiler, terminal * * Copyright © 2021 Jürgen Buchmüller <pullmoll@t-online.de> * * See the file LICENSE for the details of the BSD-3-Clause terms. * **************************************...
28.215868
110
0.676904
totalspectrum
39e44c4e2872eab51305e37d5d0283df332ddcb2
768
cpp
C++
Algorithms/123.Best-Time-to-Buy-and-Sell-Stock-III/solution.cpp
moranzcw/LeetCode_Solutions
49a7e33b83d8d9ce449c758717f74a69e72f808e
[ "MIT" ]
178
2017-07-09T23:13:11.000Z
2022-02-26T13:35:06.000Z
Algorithms/123.Best-Time-to-Buy-and-Sell-Stock-III/solution.cpp
cfhyxxj/LeetCode-NOTES
455d33aae54d065635d28ebf37f815dc4ace7e63
[ "MIT" ]
1
2020-10-10T16:38:03.000Z
2020-10-10T16:38:03.000Z
Algorithms/123.Best-Time-to-Buy-and-Sell-Stock-III/solution.cpp
cfhyxxj/LeetCode-NOTES
455d33aae54d065635d28ebf37f815dc4ace7e63
[ "MIT" ]
82
2017-08-19T07:14:39.000Z
2022-02-17T14:07:55.000Z
class Solution { public: int maxProfit(vector<int> &prices) { int size = prices.size(); if (size == 0) return 0; vector<int> f1(size); vector<int> f2(size); int minV = prices[0]; for (int i = 1; i < size; i++) { minV = std::min(...
22.588235
56
0.408854
moranzcw
39e7819d4d441b831187d72d793aa13fcc428837
1,112
cpp
C++
03_generic_programming/04_selection_sort.cpp
cpptt-book/2nd
d710af6df9ed2561bc7432be7b0b0b93dafecb0a
[ "CC0-1.0" ]
17
2015-01-07T08:10:09.000Z
2021-06-21T13:07:25.000Z
03_generic_programming/04_selection_sort.cpp
cpptt-book/2nd
d710af6df9ed2561bc7432be7b0b0b93dafecb0a
[ "CC0-1.0" ]
null
null
null
03_generic_programming/04_selection_sort.cpp
cpptt-book/2nd
d710af6df9ed2561bc7432be7b0b0b93dafecb0a
[ "CC0-1.0" ]
5
2015-05-02T19:07:43.000Z
2021-11-14T21:21:32.000Z
// Copyright (c) 2014 // Akira Takahashi, Fumiki Fukuda. // Released under the CC0 1.0 Universal license. template <class Iterator> void selection_sort(Iterator first, Iterator last) { for (Iterator p = first; p != last; ++p) { Iterator min_position = p; for (Iterator q = p; q != last; ++q) { if (*min_...
21.803922
72
0.57464
cpptt-book
39e992056afed351c59751163b7e23bba8fbe410
1,527
hpp
C++
src/verbatim_bone_state.hpp
faemiyah/faemiyah-demoscene_2016-08_80k-intro_ghosts_of_mars
69a79a8cb68591c834989e89be530a1a94fb02c2
[ "BSD-3-Clause" ]
null
null
null
src/verbatim_bone_state.hpp
faemiyah/faemiyah-demoscene_2016-08_80k-intro_ghosts_of_mars
69a79a8cb68591c834989e89be530a1a94fb02c2
[ "BSD-3-Clause" ]
null
null
null
src/verbatim_bone_state.hpp
faemiyah/faemiyah-demoscene_2016-08_80k-intro_ghosts_of_mars
69a79a8cb68591c834989e89be530a1a94fb02c2
[ "BSD-3-Clause" ]
null
null
null
#ifndef VERBATIM_BONE_STATE_HPP #define VERBATIM_BONE_STATE_HPP #include "verbatim_mat4.hpp" /// One position of bone. /// /// Can be neutral position. class BoneState { private: /// Position data (neutral). vec3 m_pos; /// Quaternion data (neutral). quat m_rot; public: /// Empty constructor...
17.551724
72
0.568435
faemiyah
39ea4672ae9e2c62d0da4204d77d0aa61eefe93d
3,558
cpp
C++
Programs/ResourceEditor/TestProjects/Dropper/ColorPicker/ColorPicker.cpp
stinvi/dava.engine
2b396ca49cdf10cdc98ad8a9ffcf7768a05e285e
[ "BSD-3-Clause" ]
26
2018-09-03T08:48:22.000Z
2022-02-14T05:14:50.000Z
Programs/ResourceEditor/TestProjects/Dropper/ColorPicker/ColorPicker.cpp
ANHELL-blitz/dava.engine
ed83624326f000866e29166c7f4cccfed1bb41d4
[ "BSD-3-Clause" ]
null
null
null
Programs/ResourceEditor/TestProjects/Dropper/ColorPicker/ColorPicker.cpp
ANHELL-blitz/dava.engine
ed83624326f000866e29166c7f4cccfed1bb41d4
[ "BSD-3-Clause" ]
45
2018-05-11T06:47:17.000Z
2022-02-03T11:30:55.000Z
#include "ColorPicker.h" #include "ui_ColorPicker.h" #include "AbstractColorPicker.h" #include "ColorPickerHSV.h" #include "ColorPickerRGBAM.h" #include "ColorPreview.h" #include "EyeDropper.h" ColorPicker::ColorPicker(QWidget* parent) : AbstractColorPicker(parent) , ui(new Ui::ColorPicker()) { ui->setupU...
24.881119
98
0.670039
stinvi
39eaafd2f5a38ebd835824908cd7cfedca3fe3a8
5,796
cpp
C++
camera.cpp
fvcaputo/openglframework
4b57547325297169c0412e06d7f2320731570d00
[ "MIT" ]
1
2016-01-26T02:44:28.000Z
2016-01-26T02:44:28.000Z
camera.cpp
fvcaputo/openglframework
4b57547325297169c0412e06d7f2320731570d00
[ "MIT" ]
null
null
null
camera.cpp
fvcaputo/openglframework
4b57547325297169c0412e06d7f2320731570d00
[ "MIT" ]
1
2021-11-08T15:02:38.000Z
2021-11-08T15:02:38.000Z
/* * camera.cpp * * Set up the camera. * * Authors: Felipe Victorino Caputo * */ #include "camera.h" /* * Camera * * INPUT: * type - the type of the projection. * * DESCRIPTION: * This is this class constructor. It creates a camera * with some default values (centered at the ori...
20.848921
85
0.613527
fvcaputo
39eb749edadd33e99099d326d463887048d607ce
390
hpp
C++
sources/_headers_std_cv_ogl.hpp
unvrtool/unvrtool
1f9601f1b3f7db16244cec6064e648a3df45d2f6
[ "BSD-3-Clause" ]
null
null
null
sources/_headers_std_cv_ogl.hpp
unvrtool/unvrtool
1f9601f1b3f7db16244cec6064e648a3df45d2f6
[ "BSD-3-Clause" ]
null
null
null
sources/_headers_std_cv_ogl.hpp
unvrtool/unvrtool
1f9601f1b3f7db16244cec6064e648a3df45d2f6
[ "BSD-3-Clause" ]
null
null
null
// // Copyright (c) 2020, Jan Ove Haaland, all rights reserved. // // This source code is licensed under the BSD-style license found in the // LICENSE file in the root directory of this source tree. #pragma once #include "_headers_std_cv.hpp" #include <glad/glad.h> #include <GLFW/glfw3.h> #include <glm/glm.hpp> #inc...
21.666667
72
0.733333
unvrtool
39f35f565f9c51c01fe191002eefe2a5aa9e61f5
9,887
cpp
C++
audio/common/Reasoning/jhcAssocMem.cpp
jconnell11/ALIA
f7a6c9dfd775fbd41239051aeed7775adb878b0a
[ "Apache-2.0" ]
null
null
null
audio/common/Reasoning/jhcAssocMem.cpp
jconnell11/ALIA
f7a6c9dfd775fbd41239051aeed7775adb878b0a
[ "Apache-2.0" ]
null
null
null
audio/common/Reasoning/jhcAssocMem.cpp
jconnell11/ALIA
f7a6c9dfd775fbd41239051aeed7775adb878b0a
[ "Apache-2.0" ]
null
null
null
// jhcAssocMem.cpp : deductive rules for use in halo of ALIA system // // Written by Jonathan H. Connell, jconnell@alum.mit.edu // /////////////////////////////////////////////////////////////////////////// // // Copyright 2017-2019 IBM Corporation // Copyright 2020-2021 Etaoin Systems // // Licensed under the Apache L...
26.506702
101
0.533731
jconnell11
39f4a5dcaf76715672611918a45297aad035e84c
6,677
cpp
C++
gemfirexd/client/test-odbc/unit/testSQLNativeSql.cpp
gemxd/gemfirexd-oss
d89cad2b075df92fc3acce09b9f8dc7b30be2445
[ "Apache-2.0" ]
13
2016-01-07T06:40:33.000Z
2018-12-17T07:01:01.000Z
gemfirexd/client/test-odbc/unit/testSQLNativeSql.cpp
vmware-archive/gemfirexd-oss
d89cad2b075df92fc3acce09b9f8dc7b30be2445
[ "Apache-2.0" ]
7
2016-01-04T08:02:06.000Z
2018-10-12T07:42:34.000Z
gemfirexd/client/test-odbc/unit/testSQLNativeSql.cpp
gemxd/gemfirexd-oss
d89cad2b075df92fc3acce09b9f8dc7b30be2445
[ "Apache-2.0" ]
9
2015-12-30T12:44:56.000Z
2020-07-16T06:20:15.000Z
/* * Copyright (c) 2010-2015 Pivotal Software, Inc. 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 req...
40.713415
114
0.555189
gemxd
39f711193ec635d02d99c505ed9ce89ff864ab32
1,334
cpp
C++
lge/2014/oct/1-2/jang1-2.cpp
seirion/code
3b8bf79764107255185061cec33decbc2235d03a
[ "Apache-2.0" ]
13
2015-06-07T09:26:26.000Z
2019-05-01T13:23:38.000Z
lge/2014/oct/1-2/jang1-2.cpp
seirion/code
3b8bf79764107255185061cec33decbc2235d03a
[ "Apache-2.0" ]
null
null
null
lge/2014/oct/1-2/jang1-2.cpp
seirion/code
3b8bf79764107255185061cec33decbc2235d03a
[ "Apache-2.0" ]
4
2016-03-05T06:21:05.000Z
2017-02-17T15:34:18.000Z
// hyungyu.jang@lge.com // 1-2 #include <iostream> #include <cstdio> #include <cstring> #include <vector> using namespace std; const int MAXNUM = 1000 * 1000 * 1000; enum { NOW = 0, PRE, SAME, }; enum { LEFT = 0, RIGHT, }; int size; void solve() { int from(1), to, pre, now, check; scanf("%d %d", &to, &size)...
22.610169
58
0.447526
seirion
39f9fe1e1a8bf964be71b0f351308d2c7503dd93
5,089
cpp
C++
Tests/TEST_Innovation.cpp
Georg-S/Neuro-Evolution
64e7b3c2bf3c1654d595f03d55fd6b24153ed171
[ "BSD-3-Clause" ]
null
null
null
Tests/TEST_Innovation.cpp
Georg-S/Neuro-Evolution
64e7b3c2bf3c1654d595f03d55fd6b24153ed171
[ "BSD-3-Clause" ]
null
null
null
Tests/TEST_Innovation.cpp
Georg-S/Neuro-Evolution
64e7b3c2bf3c1654d595f03d55fd6b24153ed171
[ "BSD-3-Clause" ]
null
null
null
#include <gtest/gtest.h> #include <Innovation.h> #include <Genotype.h> TEST(TEST_Innovation, 0by0GenotypeCreates0Innovations) { nev::Innovation inno = nev::Innovation(); nev::Genotype geno = nev::Genotype(inno, 0, 0, 1); EXPECT_EQ(inno.getTotalInnovationsCount(), 0); } TEST(TEST_Innovation, 1by1GenotypeCreates2I...
33.701987
92
0.744351
Georg-S
39fd635e07d6bf7535b86fc8b34275e6fac8441c
5,317
hpp
C++
src/database/api/IWord.hpp
nileshpatra/plast-library
7c962282fdb68ac1f48a587e03fbb1a1b70a7a32
[ "Intel", "DOC" ]
9
2016-09-30T05:44:35.000Z
2020-09-03T19:40:06.000Z
src/database/api/IWord.hpp
nileshpatra/plast-library
7c962282fdb68ac1f48a587e03fbb1a1b70a7a32
[ "Intel", "DOC" ]
10
2017-05-05T14:55:16.000Z
2022-01-24T18:21:51.000Z
src/database/api/IWord.hpp
nileshpatra/plast-library
7c962282fdb68ac1f48a587e03fbb1a1b70a7a32
[ "Intel", "DOC" ]
1
2020-12-05T21:33:27.000Z
2020-12-05T21:33:27.000Z
/***************************************************************************** * * * PLAST : Parallel Local Alignment Search Tool * * Version 2.3, released November 2015 * * ...
35.925676
106
0.494076
nileshpatra
39fd66b55a77d61a7389d96f935862a5e2ffc0e3
3,366
cpp
C++
orca_driver/src/test_node.cpp
clydemcqueen/orca3
283a5c193948021cd4f6d75f97be9032e0703ad7
[ "MIT" ]
31
2020-11-23T17:26:36.000Z
2022-03-07T09:46:20.000Z
orca_driver/src/test_node.cpp
clydemcqueen/orca3
283a5c193948021cd4f6d75f97be9032e0703ad7
[ "MIT" ]
6
2021-04-29T17:47:31.000Z
2022-02-24T17:10:00.000Z
orca_driver/src/test_node.cpp
clydemcqueen/orca3
283a5c193948021cd4f6d75f97be9032e0703ad7
[ "MIT" ]
11
2021-02-12T12:16:05.000Z
2022-02-10T11:18:47.000Z
// MIT License // // Copyright (c) 2021 Clyde McQueen // // 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, modif...
32.679612
92
0.596554
clydemcqueen
39fd82a8faf3c1338584adf0d2ea4d05e9ee19ff
280
cc
C++
06/25/25.cc
williamgherman/cpp-solutions
cf947b3b8f49fa3071fbee96f522a4228e4207b8
[ "BSD-Source-Code" ]
5
2019-08-01T07:52:27.000Z
2022-03-27T08:09:35.000Z
06/25/25.cc
williamgherman/cpp-solutions
cf947b3b8f49fa3071fbee96f522a4228e4207b8
[ "BSD-Source-Code" ]
1
2020-10-03T17:29:59.000Z
2020-11-17T10:03:10.000Z
06/25/25.cc
williamgherman/cpp-solutions
cf947b3b8f49fa3071fbee96f522a4228e4207b8
[ "BSD-Source-Code" ]
6
2019-08-24T08:55:56.000Z
2022-02-09T08:41:44.000Z
#include <cstdlib> #include <iostream> int main(int argc, char **argv) { if (argc != 3) { std::cout << "Usage: " << argv[0] << " STR1 STR2" << std::endl; return EXIT_FAILURE; } std::cout << argv[1] << argv[2] << std::endl; return EXIT_SUCCESS; }
20
71
0.535714
williamgherman
260640db0c41959f956b8cdd1eef6ad62d63e702
1,955
cpp
C++
Client/src/common/FileManifest.cpp
kluete/ddt3
b8bf3b6daf275ec025b0c4a6401576560b671a3d
[ "Apache-2.0" ]
6
2020-04-20T04:54:44.000Z
2022-02-13T01:24:10.000Z
Client/src/common/FileManifest.cpp
kluete/ddt3
b8bf3b6daf275ec025b0c4a6401576560b671a3d
[ "Apache-2.0" ]
null
null
null
Client/src/common/FileManifest.cpp
kluete/ddt3
b8bf3b6daf275ec025b0c4a6401576560b671a3d
[ "Apache-2.0" ]
1
2022-02-13T01:24:35.000Z
2022-02-13T01:24:35.000Z
// ddt common File Manifest class (wx-free for daemon) #include <cassert> #include <algorithm> #include <iomanip> // stream formatting flags (for MD5) #include <sstream> #include <fstream> #include "ddt/FileSystem.h" #include "ddt/FileManifest.h" using namespace std; using namespace LX; //---- vanilla CTOR ------...
25.064103
87
0.595908
kluete
26088a8bbbaf0148ed9c99d8f20cad8794c45934
5,166
cc
C++
mysql-server/plugin/x/tests/driver/processor/commands/macro.cc
silenc3502/MYSQL-Arch-Doc-Summary
fcc6bb65f72a385b9f56debc9b2c00cee5914bae
[ "MIT" ]
null
null
null
mysql-server/plugin/x/tests/driver/processor/commands/macro.cc
silenc3502/MYSQL-Arch-Doc-Summary
fcc6bb65f72a385b9f56debc9b2c00cee5914bae
[ "MIT" ]
null
null
null
mysql-server/plugin/x/tests/driver/processor/commands/macro.cc
silenc3502/MYSQL-Arch-Doc-Summary
fcc6bb65f72a385b9f56debc9b2c00cee5914bae
[ "MIT" ]
null
null
null
/* * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License, version 2.0, * as published by the Free Software Foundation. * * This program is also distributed with certa...
33.329032
80
0.627758
silenc3502
260a3b1d9acb9403aaebe09c78128752132790c6
6,505
cpp
C++
Operations/albaOpReparentTo.cpp
IOR-BIC/ALBA
b574968b05d9a3a2756dd2ac61d015a0d20232a4
[ "Apache-2.0", "BSD-3-Clause" ]
9
2018-11-19T10:15:29.000Z
2021-08-30T11:52:07.000Z
Operations/albaOpReparentTo.cpp
IOR-BIC/ALBA
b574968b05d9a3a2756dd2ac61d015a0d20232a4
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
Operations/albaOpReparentTo.cpp
IOR-BIC/ALBA
b574968b05d9a3a2756dd2ac61d015a0d20232a4
[ "Apache-2.0", "BSD-3-Clause" ]
3
2018-06-10T22:56:29.000Z
2019-12-12T06:22:56.000Z
/*========================================================================= Program: ALBA (Agile Library for Biomedical Applications) Module: albaOpReparentTo Authors: Paolo Quadrani Copyright (c) BIC All rights reserved. See Copyright.txt or This software is distributed WITHOUT ANY WARRANTY; without even t...
30.829384
133
0.517294
IOR-BIC
260abcb4b2833b6184df0480368fe78d3b3cf5d6
41,222
cpp
C++
Code/Engine/Render/Renderers/WorldRenderer.cpp
JuanluMorales/KRG
f3a11de469586a4ef0db835af4bc4589e6b70779
[ "MIT" ]
419
2022-01-27T19:37:43.000Z
2022-03-31T06:14:22.000Z
Code/Engine/Render/Renderers/WorldRenderer.cpp
jagt/KRG
ba20cd8798997b0450491b0cc04dc817c4a4bc76
[ "MIT" ]
2
2022-01-28T20:35:33.000Z
2022-03-13T17:42:52.000Z
Code/Engine/Render/Renderers/WorldRenderer.cpp
jagt/KRG
ba20cd8798997b0450491b0cc04dc817c4a4bc76
[ "MIT" ]
20
2022-01-27T20:41:02.000Z
2022-03-26T16:16:57.000Z
#include "WorldRenderer.h" #include "Engine/Render/Components/Component_EnvironmentMaps.h" #include "Engine/Render/Components/Component_Lights.h" #include "Engine/Render/Components/Component_StaticMesh.h" #include "Engine/Render/Components/Component_SkeletalMesh.h" #include "Engine/Render/Shaders/EngineShaders.h" #incl...
46.949886
206
0.631265
JuanluMorales
260cab96b4ac4c4611732dd55651a505ed14ef0a
1,299
hpp
C++
src/include/database.hpp
mjgerdes/cg
be378b140df7d7e9bd16512a1d9a54d3439b03f7
[ "MIT" ]
null
null
null
src/include/database.hpp
mjgerdes/cg
be378b140df7d7e9bd16512a1d9a54d3439b03f7
[ "MIT" ]
null
null
null
src/include/database.hpp
mjgerdes/cg
be378b140df7d7e9bd16512a1d9a54d3439b03f7
[ "MIT" ]
null
null
null
#ifndef __DB_DATABASE_HPP__ #define __DB_DATABASE_HPP__ #include <string> #include <memory> // std::auto_ptr #include <cstdlib> // std::exit #include <iostream> #include <odb/connection.hxx> #include <odb/transaction.hxx> #include <odb/schema-catalog.hxx> #include <odb/database.hxx> #if defined(DATABASE_MYSQL) ...
21.295082
72
0.745958
mjgerdes
260ed24f355cee7e54648f6edbede6ee93ac0649
13,923
hpp
C++
include/vk_value_serialization.hpp
StableCoder/vk-enum-stringifier
9c713a998422b8465fa8c556b92a1d50b5c14d4e
[ "Apache-2.0" ]
null
null
null
include/vk_value_serialization.hpp
StableCoder/vk-enum-stringifier
9c713a998422b8465fa8c556b92a1d50b5c14d4e
[ "Apache-2.0" ]
null
null
null
include/vk_value_serialization.hpp
StableCoder/vk-enum-stringifier
9c713a998422b8465fa8c556b92a1d50b5c14d4e
[ "Apache-2.0" ]
null
null
null
/* Copyright (C) 2020 George Cave - gcave@stablecoder.ca 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 ap...
36.35248
101
0.811319
StableCoder
2610fd7c51ddeb5bee360a3bff2075b8c642f833
2,520
hpp
C++
sprig/reference_holder.hpp
bolero-MURAKAMI/Sprig
51ce4db4f4d093dee659a136f47249e4fe91fc7a
[ "BSL-1.0" ]
2
2017-10-24T13:56:24.000Z
2018-09-28T13:21:22.000Z
sprig/reference_holder.hpp
bolero-MURAKAMI/Sprig
51ce4db4f4d093dee659a136f47249e4fe91fc7a
[ "BSL-1.0" ]
null
null
null
sprig/reference_holder.hpp
bolero-MURAKAMI/Sprig
51ce4db4f4d093dee659a136f47249e4fe91fc7a
[ "BSL-1.0" ]
2
2016-04-12T03:26:06.000Z
2018-09-28T13:21:22.000Z
/*============================================================================= Copyright (c) 2010-2016 Bolero MURAKAMI https://github.com/bolero-MURAKAMI/Sprig 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) ===...
22.909091
84
0.671429
bolero-MURAKAMI
26150332f445e811b38dea683b9f5007c4adb465
2,991
cpp
C++
ManagedScripts/MConversationMgrClass.cpp
mpforums/RenSharp
5b3fb8bff2a1772a82a4148bcf3e1265a11aa097
[ "Apache-2.0" ]
1
2021-10-04T02:34:33.000Z
2021-10-04T02:34:33.000Z
ManagedScripts/MConversationMgrClass.cpp
TheUnstoppable/RenSharp
2a123c6018c18f3fc73501737d600e291ac3afa7
[ "Apache-2.0" ]
9
2019-07-03T19:19:59.000Z
2020-03-02T22:00:21.000Z
ManagedScripts/MConversationMgrClass.cpp
TheUnstoppable/RenSharp
2a123c6018c18f3fc73501737d600e291ac3afa7
[ "Apache-2.0" ]
2
2019-08-14T08:37:36.000Z
2020-09-29T06:44:26.000Z
/* Copyright 2020 Neijwiert Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distribu...
25.347458
111
0.774657
mpforums
261755edb23d44a8eafffd27aa079fcfbf08eeb2
1,353
cpp
C++
Data Structure/Trees/Binary Trees/Diameter_of_Tree.cpp
Rupali409/CPP-Questions-and-Solutions
a42664302f18b7d99aac2501bcf956950e3cc61a
[ "MIT" ]
42
2021-09-26T18:02:52.000Z
2022-03-15T01:52:15.000Z
Data Structure/Trees/Binary Trees/Diameter_of_Tree.cpp
Rupali409/CPP-Questions-and-Solutions
a42664302f18b7d99aac2501bcf956950e3cc61a
[ "MIT" ]
404
2021-09-24T19:55:10.000Z
2021-11-03T05:47:47.000Z
Data Structure/Trees/Binary Trees/Diameter_of_Tree.cpp
Rupali409/CPP-Questions-and-Solutions
a42664302f18b7d99aac2501bcf956950e3cc61a
[ "MIT" ]
140
2021-09-22T20:50:04.000Z
2022-01-22T16:59:09.000Z
// 4. Calculate Diamter of a Binary Tree #include <bits/stdc++.h> using namespace std; struct Node { int data; Node* left; Node* right; Node(int d) { data = d; left = NULL; right = NULL; } }; // Function to calculate height of the tree int HeightOfTree(Node* root) { if (!root) ...
19.608696
68
0.613452
Rupali409
261c5a92e4189690b8fac14ecbaa719d096eda73
3,601
hpp
C++
Graphics/DearImGUI/TreeNode.hpp
jlandess/LandessDevCore
3319c36c3232415d6bdba7da8b4896c0638badf2
[ "BSD-3-Clause" ]
2
2021-06-09T00:38:46.000Z
2021-09-04T21:55:33.000Z
Graphics/DearImGUI/TreeNode.hpp
jlandess/LandessDevCore
3319c36c3232415d6bdba7da8b4896c0638badf2
[ "BSD-3-Clause" ]
null
null
null
Graphics/DearImGUI/TreeNode.hpp
jlandess/LandessDevCore
3319c36c3232415d6bdba7da8b4896c0638badf2
[ "BSD-3-Clause" ]
1
2021-08-30T00:46:12.000Z
2021-08-30T00:46:12.000Z
#ifndef LANDESSDEVCORE_GRAPHICS_IMGUI_TREE_NODE_HPP #define LANDESSDEVCORE_GRAPHICS_IMGUI_TREE_NODE_HPP #include "Graphics/DearImGUI/imgui.h" #include "TypeTraits/Detection.hpp" //#include "Definitions/Common.hpp" #include "Memory/ElementReference.h" #include "Graphics/DearImGUI/imgui.h" #include "Primitives/General/Co...
43.385542
218
0.49764
jlandess
261e607662e74d1f121e01dafee0d42b5eeeaa02
2,469
hpp
C++
src/gl_utils/FrameBufferObject.hpp
gchatelet/gl_utils
8691b8c4719efc6ec0a8ee4c0d4e1f1c8c141eac
[ "MIT" ]
2
2018-08-05T13:57:57.000Z
2020-01-08T16:11:37.000Z
src/gl_utils/FrameBufferObject.hpp
gchatelet/gl_utils
8691b8c4719efc6ec0a8ee4c0d4e1f1c8c141eac
[ "MIT" ]
null
null
null
src/gl_utils/FrameBufferObject.hpp
gchatelet/gl_utils
8691b8c4719efc6ec0a8ee4c0d4e1f1c8c141eac
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // /// Class to perform the management of an opengl FBO /// Typical use : Render to Texture /// Typical usage : /// GlFrameBufferObject fbo; /// fbo.bind(); /// fbo.attachTexture(GL_COLOR_ATTACHMENT0_EXT,... texId0); /// fb...
37.409091
116
0.601458
gchatelet
261ee0107040e37094dbdc4bcca389c25ed9af9e
2,365
cpp
C++
Stack/Stack_20_Minimum_of_Stack_Constant_Space.cpp
compl3xX/ROAD-TO-DSA
2261c112135a51d9d88c4b57e6f062f6b32550a7
[ "MIT" ]
null
null
null
Stack/Stack_20_Minimum_of_Stack_Constant_Space.cpp
compl3xX/ROAD-TO-DSA
2261c112135a51d9d88c4b57e6f062f6b32550a7
[ "MIT" ]
null
null
null
Stack/Stack_20_Minimum_of_Stack_Constant_Space.cpp
compl3xX/ROAD-TO-DSA
2261c112135a51d9d88c4b57e6f062f6b32550a7
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <stack> using namespace std; class MinStack { stack<int> data; int minVal; public: int size() { return data.size(); } public: void push(int val) { if (data.size() == 0) { data.push(val); minVa...
16.77305
46
0.329387
compl3xX
26247eb1a6c5b91d96860ef82f409a5a74b42667
4,283
cpp
C++
src/smart_meter/src/ParkingDatabase/src/ParkingDatabase.cpp
DriverCity/SPARK
1b582f63b3f181cfbd317652a78cca77dc3f5430
[ "MIT" ]
2
2018-12-06T17:56:27.000Z
2019-03-13T02:44:46.000Z
src/smart_meter/src/ParkingDatabase/src/ParkingDatabase.cpp
DriverCity/SPARK
1b582f63b3f181cfbd317652a78cca77dc3f5430
[ "MIT" ]
13
2017-01-12T12:19:05.000Z
2017-05-30T10:43:17.000Z
src/smart_meter/src/ParkingDatabase/src/ParkingDatabase.cpp
DriverCity/SPARK
1b582f63b3f181cfbd317652a78cca77dc3f5430
[ "MIT" ]
5
2016-09-22T18:22:34.000Z
2020-05-06T00:05:14.000Z
#include "ParkingDatabase.h" #include "Logger/Logger.h" #include <sstream> #include <cassert> #include <sqlite3.h> namespace { const char* CREATE_TABLE_QUERY = "CREATE TABLE IF NOT EXISTS EVENTS( " "REGISTER_NUMBER TEXT NOT NULL, " "STARTING_TIME TEXT NOT NULL, " "DURATIO...
23.794444
110
0.597712
DriverCity
2626924aa395369a68b7fdbf66e294e4afbc8bf0
431
hpp
C++
app/src/main/cpp/linux/LinuxFilesManager.hpp
simonppg/break_it_all
95e8f2df935e35a3aa851bc981f81e06623c49f6
[ "MIT" ]
null
null
null
app/src/main/cpp/linux/LinuxFilesManager.hpp
simonppg/break_it_all
95e8f2df935e35a3aa851bc981f81e06623c49f6
[ "MIT" ]
15
2021-09-23T23:46:54.000Z
2022-03-02T06:04:51.000Z
app/src/main/cpp/linux/LinuxFilesManager.hpp
simonppg/break_it_all
95e8f2df935e35a3aa851bc981f81e06623c49f6
[ "MIT" ]
2
2019-05-23T23:03:06.000Z
2020-06-14T15:33:59.000Z
// Copyright (c) 2021 Simon Puente #ifndef APP_SRC_MAIN_CPP_LINUX_LINUXFILESMANAGER_HPP_ #define APP_SRC_MAIN_CPP_LINUX_LINUXFILESMANAGER_HPP_ #include "../shared/FilesManager.hpp" class LinuxFilesManager : public FilesManager { private: const char *projectPath; public: explicit LinuxFilesManager(const char *proj...
25.352941
55
0.816705
simonppg
262a7a8d15925fdb781b302671f8684aa1c65168
567
cpp
C++
0441_Arranging Coins.cpp
RickTseng/Cpp_LeetCode
6a710b8abc268eba767bc17d91d046b90a7e34a9
[ "MIT" ]
1
2021-09-13T00:58:59.000Z
2021-09-13T00:58:59.000Z
0441_Arranging Coins.cpp
RickTseng/Cpp_LeetCode
6a710b8abc268eba767bc17d91d046b90a7e34a9
[ "MIT" ]
null
null
null
0441_Arranging Coins.cpp
RickTseng/Cpp_LeetCode
6a710b8abc268eba767bc17d91d046b90a7e34a9
[ "MIT" ]
null
null
null
#include <vector> #include <stdio.h> #include <stdlib.h> #include <string> #include <map> #include <algorithm> #include <stack> #include <queue> #include <iostream> using namespace std; class Solution { public: int arrangeCoins(int n) { long long b = 1; int count = 0; while (n>=0) ...
14.175
43
0.488536
RickTseng
1c7b69efd635431047df4beb5774ef6d48f577c8
4,566
cc
C++
test/rtc_call_test.cc
lichao2014/rtc_call
3084df96c4986d0fa37f476f72e4c2cdc05857ca
[ "Apache-2.0" ]
3
2018-07-24T08:16:38.000Z
2018-08-03T02:16:11.000Z
test/rtc_call_test.cc
lichao2014/rtc_call
3084df96c4986d0fa37f476f72e4c2cdc05857ca
[ "Apache-2.0" ]
null
null
null
test/rtc_call_test.cc
lichao2014/rtc_call
3084df96c4986d0fa37f476f72e4c2cdc05857ca
[ "Apache-2.0" ]
1
2018-07-24T08:16:44.000Z
2018-07-24T08:16:44.000Z
#include <iostream> #include <thread> #include <chrono> #include <atomic> #include "rtc_base/flags.h" #include "rtc_base/logging.h" #include "rtc_base/logsinks.h" #include "rtc_base/fileutils.h" #include "rtc_call_interface.h" #include "render/interface.h" #include "render/sdl_util.h" DEFINE_bool(help,...
29.458065
122
0.627464
lichao2014
1c7f4e86667ac807cb4c5f74a7eaeec045733185
2,812
cpp
C++
tcpip/tcpip_tx.cpp
UndefeatedSunny/sc-platform
5897c460bf7a4b9694324f09d2492f5e157a3955
[ "Apache-2.0" ]
8
2021-06-03T15:22:26.000Z
2022-03-18T19:09:10.000Z
tcpip/tcpip_tx.cpp
UndefeatedSunny/sc-platform
5897c460bf7a4b9694324f09d2492f5e157a3955
[ "Apache-2.0" ]
null
null
null
tcpip/tcpip_tx.cpp
UndefeatedSunny/sc-platform
5897c460bf7a4b9694324f09d2492f5e157a3955
[ "Apache-2.0" ]
1
2021-11-17T15:01:44.000Z
2021-11-17T15:01:44.000Z
#include "tcpip/tcpip_tx.hpp" // Nothing here except syntax check and self-test/example #ifdef TCPIP_EXAMPLE using namespace std; using namespace sc_core; #include "tcpip/tcpip_tx.hpp" #include "report/report.hpp" #include "report/summary.hpp" #include <iostream> SC_MODULE( Top_module ) { char const * const MSGID...
29.6
89
0.46266
UndefeatedSunny
1c82aabc0d002270385ca99dbfd43f78cab9c264
1,364
cpp
C++
Source/MultiverseLegends/Private/Ability Core/Ability Types/MLGameplayAbility.cpp
yasinallahdev/multiverse-legends
62b1562078b5c4882b581088b51ec153ec81dd2d
[ "MIT" ]
1
2020-05-26T14:09:09.000Z
2020-05-26T14:09:09.000Z
Source/MultiverseLegends/Private/Ability Core/Ability Types/MLGameplayAbility.cpp
yasinallahdev/multiverse-legends
62b1562078b5c4882b581088b51ec153ec81dd2d
[ "MIT" ]
null
null
null
Source/MultiverseLegends/Private/Ability Core/Ability Types/MLGameplayAbility.cpp
yasinallahdev/multiverse-legends
62b1562078b5c4882b581088b51ec153ec81dd2d
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "MLGameplayAbility.h" #include "Ability Core/Cooldown Effects/CooldownGameplayEffect.h" #include "Ability Core/Cost Effects/CostGameplayEffect.h" UMLGameplayAbility::UMLGameplayAbility() { CooldownGameplayEffectClass = UCoold...
37.888889
185
0.821114
yasinallahdev
1c84ebace2d4909d2da93c09981367b4ad73af5b
12,986
cpp
C++
src/engine/core.cpp
beyerleinf/3d-raycasting-game
03ffbe9efd5034f4cfcb22bcf87a6d38ea4f572e
[ "MIT" ]
null
null
null
src/engine/core.cpp
beyerleinf/3d-raycasting-game
03ffbe9efd5034f4cfcb22bcf87a6d38ea4f572e
[ "MIT" ]
null
null
null
src/engine/core.cpp
beyerleinf/3d-raycasting-game
03ffbe9efd5034f4cfcb22bcf87a6d38ea4f572e
[ "MIT" ]
null
null
null
#include "engine/core.hpp" #include <stdio.h> namespace ray3d { Core::Core(SDL_Renderer *r, int screenW, int screenH) { player = new Player(22, 12, -1, 0); world = new World(); world->load(); screenWidth = screenW; screenHeight = screenH; renderer = r; } Core::~Core() { SDL_DestroyTextur...
30.627358
116
0.530263
beyerleinf