hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
109
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
48.5k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
e536aafb809ed6ff9811f384a52dcc866e9d4eb2
649
cpp
C++
Solutions/LASTDIG.cpp
sjnonweb/spoj
72cf2afcf4466f1356a8646b5e4f925144cb9172
[ "MIT" ]
1
2016-10-05T20:07:03.000Z
2016-10-05T20:07:03.000Z
Solutions/LASTDIG.cpp
sjnonweb/spoj
72cf2afcf4466f1356a8646b5e4f925144cb9172
[ "MIT" ]
null
null
null
Solutions/LASTDIG.cpp
sjnonweb/spoj
72cf2afcf4466f1356a8646b5e4f925144cb9172
[ "MIT" ]
null
null
null
#include <iostream> #include <cmath> using namespace std; int main() { long int test,a,b,i,j,unit,rem,cycle[4]; cin>>test; while(test--) { cin>>a>>b; a=a%10; if(a==0) { cout<<"0"<<endl; continue; } cycle[0]=0; i=0; j=1; do...
17.540541
44
0.371341
sjnonweb
e5379e9ffc988fe521e8faee0d6cbd3b2244856c
2,730
cpp
C++
code/src/tutos/2-map/main.cpp
guillaume-haerinck/imac-soutien-tower-defense
bfa7843803421189f2d9fa47c55d27d2851da454
[ "MIT" ]
null
null
null
code/src/tutos/2-map/main.cpp
guillaume-haerinck/imac-soutien-tower-defense
bfa7843803421189f2d9fa47c55d27d2851da454
[ "MIT" ]
null
null
null
code/src/tutos/2-map/main.cpp
guillaume-haerinck/imac-soutien-tower-defense
bfa7843803421189f2d9fa47c55d27d2851da454
[ "MIT" ]
null
null
null
#ifdef _WIN32 #include <windows.h> #endif #define _USE_MATH_DEFINES #include <cmath> #include <spdlog/spdlog.h> #include <SDL2/SDL.h> #include <glad/glad.h> #include <stdlib.h> #include <stdio.h> #include "core/gl-log-handler.hpp" #include "core/init.hpp" #include "entity.hpp" #include "map.hpp" static const Uint...
28.14433
104
0.503663
guillaume-haerinck
e53a6173782ff0b52a492f8f00f1f3d1d8b9605b
1,234
cpp
C++
Views/createrankview.cpp
MehmetHY/MilitaryOutpostManagement-Qt5
fec112b5496d64e7b4826f05a84647848e49d78d
[ "MIT" ]
null
null
null
Views/createrankview.cpp
MehmetHY/MilitaryOutpostManagement-Qt5
fec112b5496d64e7b4826f05a84647848e49d78d
[ "MIT" ]
null
null
null
Views/createrankview.cpp
MehmetHY/MilitaryOutpostManagement-Qt5
fec112b5496d64e7b4826f05a84647848e49d78d
[ "MIT" ]
null
null
null
#include "createrankview.h" #include "ui_createrankview.h" #include "../mainwindow.h" #include "manageranksview.h" #include "QMessageBox" #include "../Models/rank.h" CreateRankView::CreateRankView(MainWindow *parent) : QWidget(parent), mainWindow(parent), ui(new Ui::CreateRankView) { ui->setupUi(this);...
27.422222
103
0.691248
MehmetHY
e53a87307196e71bdaa29b0b31d6427838139570
16,901
cpp
C++
IMS_ModuleFunction_Comm.cpp
TheNewBob/IMS2
572dcfd4c3621458f01278713437c2aca526d2e6
[ "MIT" ]
2
2018-01-28T20:07:52.000Z
2018-03-01T22:41:39.000Z
IMS_ModuleFunction_Comm.cpp
TheNewBob/IMS2
572dcfd4c3621458f01278713437c2aca526d2e6
[ "MIT" ]
6
2017-08-26T10:24:48.000Z
2018-01-28T13:45:34.000Z
IMS_ModuleFunction_Comm.cpp
TheNewBob/IMS2
572dcfd4c3621458f01278713437c2aca526d2e6
[ "MIT" ]
null
null
null
#include "GuiIncludes.h" #include "Common.h" #include "ModuleFunctionIncludes.h" #include "StateMachineIncludes.h" #include "IMS_ModuleFunctionData_Comm.h" #include "GUI_ModuleFunction_Base.h" #include "GUI_ModuleFunction_Comm.h" #include "IMS_ModuleFunction_Comm.h" IMS_ModuleFunction_Comm::IMS_ModuleFunction_Comm(IM...
30.50722
242
0.725993
TheNewBob
e53c3c786211debde0fdca51c2ed14a8c86bd230
2,253
cpp
C++
Object3D.cpp
moelatt/A-Simple-Ray-Tracing
c4625f5d9d55add47d10824eebae4c6c12af81f1
[ "MIT" ]
null
null
null
Object3D.cpp
moelatt/A-Simple-Ray-Tracing
c4625f5d9d55add47d10824eebae4c6c12af81f1
[ "MIT" ]
null
null
null
Object3D.cpp
moelatt/A-Simple-Ray-Tracing
c4625f5d9d55add47d10824eebae4c6c12af81f1
[ "MIT" ]
null
null
null
#include "main.h" using namespace std; void phongLight(scene& objectScene, vecRay pos, int number, float r){ for (int i = 0; i < number; i++) { float t = 2 * M_PI / number * i; light* lig = new light(pos + vecRay(r * cos(t), r * sin(t), 0), RGB(1, 1, 1) , 1.0 / number); objectScene.LightAdd(lig); } } void Sphe...
33.626866
101
0.634265
moelatt
e53ff1e5f9a3e954c7fbcef3156f38af3b6f12ce
7,249
cpp
C++
src/demos/boxesDemo.cpp
VladimirV99/GLSandbox
25987e630ace304ab756153cd31b5dcb2a7a67cf
[ "Unlicense" ]
null
null
null
src/demos/boxesDemo.cpp
VladimirV99/GLSandbox
25987e630ace304ab756153cd31b5dcb2a7a67cf
[ "Unlicense" ]
null
null
null
src/demos/boxesDemo.cpp
VladimirV99/GLSandbox
25987e630ace304ab756153cd31b5dcb2a7a67cf
[ "Unlicense" ]
null
null
null
#include "boxesDemo.hpp" BoxesDemo::BoxesDemo() : shader("../assets/boxes.vert.glsl", "../assets/boxes.frag.glsl") { } void BoxesDemo::Init(GLFWwindow* window) { // Load texture texture = loadTexture("../assets/wall.jpg"); // set up vertex data (and buffer(s)) and configure vertex attributes // -----...
41.422857
128
0.554559
VladimirV99
e542215953900b60bfb3b84aaf60daaa1586c807
8,209
cpp
C++
src/mongo/dbtests/query_stage_sort.cpp
fjonath1/mongodb-ros-osx
31a58cab426b68ce85ef231200ff45d4bd691d32
[ "Apache-2.0" ]
null
null
null
src/mongo/dbtests/query_stage_sort.cpp
fjonath1/mongodb-ros-osx
31a58cab426b68ce85ef231200ff45d4bd691d32
[ "Apache-2.0" ]
null
null
null
src/mongo/dbtests/query_stage_sort.cpp
fjonath1/mongodb-ros-osx
31a58cab426b68ce85ef231200ff45d4bd691d32
[ "Apache-2.0" ]
null
null
null
/** * Copyright (C) 2013 10gen Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful...
31.817829
100
0.543306
fjonath1
e5448c5f8e635a35aa5e27820e321d3e5ce484e0
1,844
cc
C++
Archive/Stroika_FINAL_for_STERL_1992/Tools/Portable/Endian.cc
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
28
2015-09-22T21:43:32.000Z
2022-02-28T01:35:01.000Z
Archive/Stroika_FINAL_for_STERL_1992/Tools/Portable/Endian.cc
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
98
2015-01-22T03:21:27.000Z
2022-03-02T01:47:00.000Z
Archive/Stroika_FINAL_for_STERL_1992/Tools/Portable/Endian.cc
SophistSolutions/Stroika
f4e5d84767903a054fba0a6b9c7c4bd1aaefd105
[ "MIT" ]
4
2019-02-21T16:45:25.000Z
2022-02-18T13:40:04.000Z
/* Copyright(c) Sophist Solutions Inc. 1990-1992. All rights reserved */ /* * $Header: /fuji/lewis/RCS/Endian.cc,v 1.1 1992/06/20 17:40:19 lewis Exp $ * * TODO: * * Changes: * $Log: Endian.cc,v $ * Revision 1.1 1992/06/20 17:40:19 lewis * Initial revision * Revision 1.2 1992/04/29 23:45:43 lewis *** ...
21.44186
103
0.598156
SophistSolutions
e54a93658c8b55d6f45b9a668a312f5a2a56fa00
2,924
cpp
C++
2019/Day03/Day03.cpp
luddet/AdventOfCode
ad6b3dacabfb29e044d8e37bc305e2a8c83e943e
[ "MIT" ]
null
null
null
2019/Day03/Day03.cpp
luddet/AdventOfCode
ad6b3dacabfb29e044d8e37bc305e2a8c83e943e
[ "MIT" ]
null
null
null
2019/Day03/Day03.cpp
luddet/AdventOfCode
ad6b3dacabfb29e044d8e37bc305e2a8c83e943e
[ "MIT" ]
null
null
null
// https://adventofcode.com/2019/day/3 #include <iostream> #include <string> #include <fstream> #include <sstream> #include <vector> #include <algorithm> struct Coord { int x; int y; }; struct Line { Coord start; Coord end; }; // Manhattan length int length(const Coord& coord) { return std::abs(coord.x) + std:...
22.84375
109
0.647743
luddet
e54fc090eccf003218a089668bfc96725925c1a9
942
hpp
C++
include/modules/sway/bar.hpp
Psykar/Waybar
a1129c4c87dd14beef771295aca911f3f9e799bc
[ "MIT" ]
null
null
null
include/modules/sway/bar.hpp
Psykar/Waybar
a1129c4c87dd14beef771295aca911f3f9e799bc
[ "MIT" ]
null
null
null
include/modules/sway/bar.hpp
Psykar/Waybar
a1129c4c87dd14beef771295aca911f3f9e799bc
[ "MIT" ]
null
null
null
#pragma once #include <string> #include "modules/sway/ipc/client.hpp" #include "util/SafeSignal.hpp" #include "util/json.hpp" namespace waybar { class Bar; namespace modules::sway { /* * Supported subset of i3/sway IPC barconfig object */ struct swaybar_config { std::string id; std::string mode; std::strin...
18.84
60
0.733546
Psykar
e5568754493f67bb68185336cecf41822a020365
2,116
cpp
C++
src/color_management.cpp
hydrocarborane/polyscope
bee34c22cd7ac1b1e01686b55b7b8ceeee20d2fe
[ "MIT" ]
930
2018-02-19T16:38:29.000Z
2022-03-30T22:16:01.000Z
src/color_management.cpp
hydrocarborane/polyscope
bee34c22cd7ac1b1e01686b55b7b8ceeee20d2fe
[ "MIT" ]
142
2018-02-19T16:14:28.000Z
2022-03-25T13:51:08.000Z
src/color_management.cpp
hydrocarborane/polyscope
bee34c22cd7ac1b1e01686b55b7b8ceeee20d2fe
[ "MIT" ]
92
2018-05-13T01:41:04.000Z
2022-03-28T03:26:44.000Z
// Copyright 2017-2019, Nicholas Sharp and the Polyscope contributors. http://polyscope.run. #include "polyscope/color_management.h" // Use for color conversion scripts #include "imgui.h" #include <algorithm> #include <cmath> #include <iostream> using std::cout; using std::endl; namespace polyscope { namespace { ...
25.804878
96
0.651229
hydrocarborane
e557a824faa6e221484d57c294b9c763b7490482
8,099
cpp
C++
src/loramodem.cpp
2ni/lorawan_modem
a0722eb937b3d687c2a20c6123873ad93e18cb16
[ "MIT" ]
5
2020-10-27T21:28:03.000Z
2020-12-15T15:56:19.000Z
src/loramodem.cpp
2ni/lorawan_modem
a0722eb937b3d687c2a20c6123873ad93e18cb16
[ "MIT" ]
2
2020-10-28T17:47:17.000Z
2020-11-03T01:20:16.000Z
src/loramodem.cpp
2ni/lorawan_modem
a0722eb937b3d687c2a20c6123873ad93e18cb16
[ "MIT" ]
null
null
null
#include <Arduino.h> #include "loramodem.h" LoRaWANModem::LoRaWANModem(uint8_t pin_cts, uint8_t pin_rts) : uart(LORA_TX, LORA_RX, NC, NC) { _pin_cts = pin_cts; _pin_rts = pin_rts; } void LoRaWANModem::begin() { pinMode(_pin_rts, OUTPUT); digitalWrite(_pin_rts, HIGH); pinMode(_pin_cts, INPUT); uart.begin(...
24.248503
131
0.639462
2ni
e557c19ba2a44a798c976cd41aada8e056a046c6
1,020
cpp
C++
libcxx/test/std/containers/sequences/array/array.tuple/get_rv.pass.cpp
nawrinsu/llvm
e9153f0e50d45fb4a760463ae711aa45ce2bd450
[ "Apache-2.0" ]
null
null
null
libcxx/test/std/containers/sequences/array/array.tuple/get_rv.pass.cpp
nawrinsu/llvm
e9153f0e50d45fb4a760463ae711aa45ce2bd450
[ "Apache-2.0" ]
null
null
null
libcxx/test/std/containers/sequences/array/array.tuple/get_rv.pass.cpp
nawrinsu/llvm
e9153f0e50d45fb4a760463ae711aa45ce2bd450
[ "Apache-2.0" ]
null
null
null
//===----------------------------------------------------------------------===// // // 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 // //===---------------------------...
26.842105
80
0.538235
nawrinsu
e55ea52956dab30f6882d126a1960c9d4f07d3e2
23,289
cpp
C++
taco-oopsla2017/src/lower/lower.cpp
peterahrens/FillEstimationIPDPS2017
857b6ee8866a2950aa5721d575d2d7d0797c4302
[ "BSD-3-Clause" ]
null
null
null
taco-oopsla2017/src/lower/lower.cpp
peterahrens/FillEstimationIPDPS2017
857b6ee8866a2950aa5721d575d2d7d0797c4302
[ "BSD-3-Clause" ]
null
null
null
taco-oopsla2017/src/lower/lower.cpp
peterahrens/FillEstimationIPDPS2017
857b6ee8866a2950aa5721d575d2d7d0797c4302
[ "BSD-3-Clause" ]
null
null
null
#include "taco/lower/lower.h" #include <vector> #include <stack> #include <set> #include "taco/tensor.h" #include "taco/expr.h" #include "taco/ir/ir.h" #include "taco/ir/ir_visitor.h" #include "ir/ir_codegen.h" #include "lower_codegen.h" #include "iterators.h" #include "tensor_path.h" #include "merge_lattice.h" #in...
35.339909
81
0.630083
peterahrens
e562585a55cfabb469ca1ed2c84c423dae48f8de
99
cpp
C++
Src/Vessel/Quadcopter/QuadcopterSubsys.cpp
Ybalrid/orbiter
7bed82f845ea8347f238011367e07007b0a24099
[ "MIT" ]
1,040
2021-07-27T12:12:06.000Z
2021-08-02T14:24:49.000Z
Src/Vessel/Quadcopter/QuadcopterSubsys.cpp
Ybalrid/orbiter
7bed82f845ea8347f238011367e07007b0a24099
[ "MIT" ]
20
2021-07-27T12:25:22.000Z
2021-08-02T12:22:19.000Z
Src/Vessel/Quadcopter/QuadcopterSubsys.cpp
Ybalrid/orbiter
7bed82f845ea8347f238011367e07007b0a24099
[ "MIT" ]
71
2021-07-27T14:19:49.000Z
2021-08-02T05:51:52.000Z
// Copyright (c) Martin Schweiger // Licensed under the MIT License #include "QuadcopterSubsys.h"
19.8
33
0.757576
Ybalrid
e5648cea6421a775246cc1d2cc71e8dbedd13695
575
cpp
C++
Sisyphe/interpreter/plugins/libdebugPlg/interpreter/src/Interpreter.cpp
tedi21/SisypheReview
f7c05bad1ccc036f45870535149d9685e1120c2c
[ "Unlicense" ]
null
null
null
Sisyphe/interpreter/plugins/libdebugPlg/interpreter/src/Interpreter.cpp
tedi21/SisypheReview
f7c05bad1ccc036f45870535149d9685e1120c2c
[ "Unlicense" ]
null
null
null
Sisyphe/interpreter/plugins/libdebugPlg/interpreter/src/Interpreter.cpp
tedi21/SisypheReview
f7c05bad1ccc036f45870535149d9685e1120c2c
[ "Unlicense" ]
null
null
null
#include <windows.h> #include "ProgramInterpreter.hpp" #include "DebugEngineInterpreter.hpp" #include "IDebugClientPtrInterpreter.hpp" #include "IDebugControlPtrInterpreter.hpp" #include "DEBUG_VALUEInterpreter.hpp" using namespace enc; using namespace fctr; using namespace interp; ////////////////////////...
33.823529
55
0.690435
tedi21
e5681f877ad7f83f4618f2fc44e500c843976446
1,984
hh
C++
src/opbox/core/OpTimer.hh
faodel/faodel
ef2bd8ff335433e695eb561d7ecd44f233e58bf0
[ "MIT" ]
2
2019-01-25T21:21:07.000Z
2021-04-29T17:24:00.000Z
src/opbox/core/OpTimer.hh
faodel/faodel
ef2bd8ff335433e695eb561d7ecd44f233e58bf0
[ "MIT" ]
8
2018-10-09T14:35:30.000Z
2020-09-30T20:09:42.000Z
src/opbox/core/OpTimer.hh
faodel/faodel
ef2bd8ff335433e695eb561d7ecd44f233e58bf0
[ "MIT" ]
2
2019-04-23T19:01:36.000Z
2021-05-11T07:44:55.000Z
// Copyright 2021 National Technology & Engineering Solutions of Sandia, LLC // (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. // Government retains certain rights in this software. #ifndef OPBOX_OPBOX_OPTIMER_HH #define OPBOX_OPBOX_OPTIMER_HH #include <vector> #include "opbox/ops/Op.hh" name...
24.8
81
0.705645
faodel
e571e48132178154c38b7965efe5a0948d4a8c28
3,083
cpp
C++
LibFoundation/Intersection/Wm4IntrRay3Capsule3.cpp
wjezxujian/WildMagic4
249a17f8c447cf57c6283408e01009039810206a
[ "BSL-1.0" ]
3
2021-08-02T04:03:03.000Z
2022-01-04T07:31:20.000Z
LibFoundation/Intersection/Wm4IntrRay3Capsule3.cpp
wjezxujian/WildMagic4
249a17f8c447cf57c6283408e01009039810206a
[ "BSL-1.0" ]
null
null
null
LibFoundation/Intersection/Wm4IntrRay3Capsule3.cpp
wjezxujian/WildMagic4
249a17f8c447cf57c6283408e01009039810206a
[ "BSL-1.0" ]
5
2019-10-13T02:44:19.000Z
2021-08-02T04:03:10.000Z
// Geometric Tools, Inc. // http://www.geometrictools.com // Copyright (c) 1998-2006. All Rights Reserved // // The Wild Magic Version 4 Foundation Library source code is supplied // under the terms of the license agreement // http://www.geometrictools.com/License/Wm4FoundationLicense.pdf // and may not be copied ...
29.644231
78
0.492702
wjezxujian
e5737e84d7801be09dc45c044267c7bb91c9edbf
410
cpp
C++
src/CPP/7zip/Compress/CopyRegister.cpp
playback-sports/PLzmaSDK
f1f4807e2f797a14cfdb6ad81833385a06c8338d
[ "MIT" ]
33
2020-09-01T20:11:50.000Z
2022-03-29T01:20:43.000Z
src/CPP/7zip/Compress/CopyRegister.cpp
playback-sports/PLzmaSDK
f1f4807e2f797a14cfdb6ad81833385a06c8338d
[ "MIT" ]
13
2021-01-20T14:00:18.000Z
2022-03-24T08:31:47.000Z
src/CPP/7zip/Compress/CopyRegister.cpp
playback-sports/PLzmaSDK
f1f4807e2f797a14cfdb6ad81833385a06c8338d
[ "MIT" ]
9
2021-01-29T14:51:41.000Z
2022-02-21T13:38:31.000Z
// CopyRegister.cpp #include "StdAfx.h" #include "../Common/RegisterCodec.h" #include "CopyCoder.h" namespace NCompress { REGISTER_CODEC_CREATE(CreateCodec, CCopyCoder()) REGISTER_CODEC_2(Copy, CreateCodec, CreateCodec, 0, "Copy") } #if defined(LIBPLZMA_USING_REGISTRATORS) uint64_t plzma_regist...
18.636364
61
0.729268
playback-sports
e57578e36cfc567cfe4c3b042ab10c0d043ec0f1
15,553
cpp
C++
test/reduce/merge_blocks_test.cpp
danginsburg/SPIRV-Tools
37861ac106027220fa327bd088d1635c352fb5f0
[ "Apache-2.0" ]
9
2016-05-25T12:25:50.000Z
2020-11-30T13:40:13.000Z
test/reduce/merge_blocks_test.cpp
danginsburg/SPIRV-Tools
37861ac106027220fa327bd088d1635c352fb5f0
[ "Apache-2.0" ]
null
null
null
test/reduce/merge_blocks_test.cpp
danginsburg/SPIRV-Tools
37861ac106027220fa327bd088d1635c352fb5f0
[ "Apache-2.0" ]
3
2018-02-25T06:10:31.000Z
2019-09-28T15:55:36.000Z
// Copyright (c) 2019 Google LLC // // 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 ...
30.258755
75
0.48923
danginsburg
e575b5ffc966abe5bdd67d94c90113033a1f860b
1,710
cpp
C++
Code/Engine/Animation/AnimationFrameTime.cpp
JuanluMorales/KRG
f3a11de469586a4ef0db835af4bc4589e6b70779
[ "MIT" ]
419
2022-01-27T19:37:43.000Z
2022-03-31T06:14:22.000Z
Code/Engine/Animation/AnimationFrameTime.cpp
jagt/KRG
ba20cd8798997b0450491b0cc04dc817c4a4bc76
[ "MIT" ]
2
2022-01-28T20:35:33.000Z
2022-03-13T17:42:52.000Z
Code/Engine/Animation/AnimationFrameTime.cpp
jagt/KRG
ba20cd8798997b0450491b0cc04dc817c4a4bc76
[ "MIT" ]
20
2022-01-27T20:41:02.000Z
2022-03-26T16:16:57.000Z
#include "AnimationFrameTime.h" //------------------------------------------------------------------------- namespace KRG::Animation { FrameTime FrameTime::operator+( Percentage const& RHS ) const { FrameTime newTime = *this; int32 loopCount; Percentage newPercent = m_percent...
30
92
0.587135
JuanluMorales
ec7ac649a2c32d3c679a5de985cccde3fdd44fab
3,730
hpp
C++
include/ReverseAssignment.hpp
AristiPap/kNN-and-Clustering-on-Time-Series-and-Curves
4f510e69c65c4c2e6a994eb267c08289acd80727
[ "MIT" ]
16
2022-02-06T15:29:36.000Z
2022-02-18T09:11:35.000Z
include/ReverseAssignment.hpp
AristiPap/kNN-and-Clustering-on-Time-Series-and-Curves
4f510e69c65c4c2e6a994eb267c08289acd80727
[ "MIT" ]
null
null
null
include/ReverseAssignment.hpp
AristiPap/kNN-and-Clustering-on-Time-Series-and-Curves
4f510e69c65c4c2e6a994eb267c08289acd80727
[ "MIT" ]
1
2022-02-06T15:28:49.000Z
2022-02-06T15:28:49.000Z
#pragma once #include <set> #include <list> #include "GenericClusterSolver.hpp" // init radius is min(dist between centroids)/2 template<class CentroidT> double init_R(vector<CentroidT> &centroids) { double min_dist = numeric_limits<double>::max(); for (uint32_t i = 0; i < centroids.size(); i++) for ...
39.680851
147
0.652547
AristiPap
ec7d3b0ba9ee3d08fe0df60cba1017060940634f
7,028
cpp
C++
plugins/archvis/src/ScaleModel.cpp
azuki-monster/megamol
f5d75ae5630f9a71a7fbf81624bfd4f6b253c655
[ "BSD-3-Clause" ]
2
2020-10-16T10:15:37.000Z
2021-01-21T13:06:00.000Z
plugins/archvis/src/ScaleModel.cpp
azuki-monster/megamol
f5d75ae5630f9a71a7fbf81624bfd4f6b253c655
[ "BSD-3-Clause" ]
null
null
null
plugins/archvis/src/ScaleModel.cpp
azuki-monster/megamol
f5d75ae5630f9a71a7fbf81624bfd4f6b253c655
[ "BSD-3-Clause" ]
1
2021-01-28T01:19:54.000Z
2021-01-28T01:19:54.000Z
/* * ScaleModel.cpp * * Copyright (C) 2018 by Universitaet Stuttgart (VISUS). * All rights reserved. */ #include "ScaleModel.h" using namespace megamol::archvis; ScaleModel::ScaleModel( std::vector<Vec3> node_positions, std::vector<std::tuple<int, int, int, int, int>> elements, std::vector<int> input_elements...
31.657658
124
0.749858
azuki-monster
ec8dbf21301fd11a54a4ec8946a7ecf45c18a269
2,507
hpp
C++
src/ast.hpp
camila314/Broma
ceb3aeb853271bf0c1766d17c32c592f8c7c8c21
[ "MIT" ]
1
2022-01-11T18:53:23.000Z
2022-01-11T18:53:23.000Z
src/ast.hpp
camila314/Broma
ceb3aeb853271bf0c1766d17c32c592f8c7c8c21
[ "MIT" ]
1
2022-01-11T20:50:13.000Z
2022-01-11T20:50:13.000Z
src/ast.hpp
CacaoSDK/Broma
ceb3aeb853271bf0c1766d17c32c592f8c7c8c21
[ "MIT" ]
2
2022-01-11T20:32:21.000Z
2022-01-14T17:42:25.000Z
#pragma once #include <string> #include <vector> #include <unordered_map> #include <algorithm> #include <iostream> using std::vector, std::unordered_map, std::string, std::is_same_v, std::cout, std::cin, std::endl; struct ClassDefinition; enum FieldType { kFunction=0, kMember=1, kInline=2 }; struct ClassField {...
23.212963
147
0.708018
camila314
ec8fddd0f498c738de2bfc064e886c2cb5235326
2,304
cc
C++
src/Error.cc
walecome/seal
204b2dbad9f0bf3ac77f5e32173de39ef1fb81c1
[ "MIT" ]
1
2020-01-06T09:43:56.000Z
2020-01-06T09:43:56.000Z
src/Error.cc
walecome/seal
204b2dbad9f0bf3ac77f5e32173de39ef1fb81c1
[ "MIT" ]
null
null
null
src/Error.cc
walecome/seal
204b2dbad9f0bf3ac77f5e32173de39ef1fb81c1
[ "MIT" ]
null
null
null
#include <utility> #include "Error.hh" #include "ast/Type.hh" void error::syntax_error(const std::string_view err) { report_error(err); } void error::syntax(TokenType expected, Token got) { std::ostringstream oss {}; oss << "Invalid syntax, expected " << token_names[expected]; oss << " got " << token_nam...
28.8
90
0.61849
walecome
ec9e2db9686565bd9f58b3a43512b0a2c281a845
1,559
cc
C++
source/common/formatter/substitution_format_string.cc
tgalkovskyi/envoy
9d702c125acde33933fc5d63818b1defe36b5cf3
[ "Apache-2.0" ]
3
2020-06-04T03:26:32.000Z
2020-06-04T03:26:45.000Z
source/common/formatter/substitution_format_string.cc
tgalkovskyi/envoy
9d702c125acde33933fc5d63818b1defe36b5cf3
[ "Apache-2.0" ]
8
2020-08-07T00:52:28.000Z
2020-09-24T22:11:43.000Z
source/common/formatter/substitution_format_string.cc
tgalkovskyi/envoy
9d702c125acde33933fc5d63818b1defe36b5cf3
[ "Apache-2.0" ]
3
2020-03-29T08:27:26.000Z
2022-02-17T14:12:22.000Z
#include "common/formatter/substitution_format_string.h" #include "common/formatter/substitution_formatter.h" namespace Envoy { namespace Formatter { namespace { absl::flat_hash_map<std::string, std::string> convertJsonFormatToMap(const ProtobufWkt::Struct& json_format) { absl::flat_hash_map<std::string, std::stri...
33.891304
94
0.74086
tgalkovskyi
ec9f2d36b59bbdfe5dd574b82b6aad36c372d195
38,633
cpp
C++
src/connection.cpp
spolitov/cassandra-cpp-driver
697c783f83e03cec8cd1881169d334dab42d311b
[ "Apache-2.0" ]
4
2020-02-21T00:15:30.000Z
2022-01-20T22:56:42.000Z
src/connection.cpp
spolitov/cassandra-cpp-driver
697c783f83e03cec8cd1881169d334dab42d311b
[ "Apache-2.0" ]
5
2020-10-22T16:53:03.000Z
2021-05-19T17:29:33.000Z
src/connection.cpp
spolitov/cassandra-cpp-driver
697c783f83e03cec8cd1881169d334dab42d311b
[ "Apache-2.0" ]
5
2019-11-12T07:40:24.000Z
2021-01-15T11:29:41.000Z
/* Copyright (c) DataStax, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, so...
33.53559
106
0.666529
spolitov
eca05a55acf935e9d42224eff0b73ef73fe19066
41,398
cpp
C++
dev/TreeView/ViewModel.cpp
riverar/microsoft-ui-xaml
ef3a0fcd85d200c98514e765eea94323b943cf1e
[ "MIT" ]
3,788
2019-05-07T02:41:36.000Z
2022-03-30T12:34:15.000Z
dev/TreeView/ViewModel.cpp
riverar/microsoft-ui-xaml
ef3a0fcd85d200c98514e765eea94323b943cf1e
[ "MIT" ]
6,170
2019-05-06T21:32:43.000Z
2022-03-31T23:46:55.000Z
dev/TreeView/ViewModel.cpp
riverar/microsoft-ui-xaml
ef3a0fcd85d200c98514e765eea94323b943cf1e
[ "MIT" ]
532
2019-05-07T12:15:58.000Z
2022-03-31T11:36:26.000Z
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. #include "pch.h" #include "common.h" #include "ViewModel.h" #include "TreeView.h" #include "TreeViewItem.h" #include "VectorChangedEventArgs.h" #include "Tr...
33.932787
184
0.638751
riverar
eca81fbb773cabc99faaf2b9b23db83ceb9112a7
9,122
hpp
C++
VS/Spike-Izhikevich-LIB/v1/updateState_serial.hpp
HJLebbink/Spike-Izhi
b8ff31a436f55c0db6132362e8572bf999d699b5
[ "MIT" ]
null
null
null
VS/Spike-Izhikevich-LIB/v1/updateState_serial.hpp
HJLebbink/Spike-Izhi
b8ff31a436f55c0db6132362e8572bf999d699b5
[ "MIT" ]
null
null
null
VS/Spike-Izhikevich-LIB/v1/updateState_serial.hpp
HJLebbink/Spike-Izhi
b8ff31a436f55c0db6132362e8572bf999d699b5
[ "MIT" ]
null
null
null
// The MIT License (MIT) // // Copyright (c) 2017 Henk-Jan Lebbink // // 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 us...
36.931174
128
0.580355
HJLebbink
ecb2f1f7e91ba6250416afd08b898fecd446b16d
976
hpp
C++
modules/boost/simd/sdk/include/boost/simd/forward/allocator.hpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
34
2017-05-19T18:10:17.000Z
2022-01-04T02:18:13.000Z
modules/boost/simd/sdk/include/boost/simd/forward/allocator.hpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
null
null
null
modules/boost/simd/sdk/include/boost/simd/forward/allocator.hpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
7
2017-12-02T12:59:17.000Z
2021-07-31T12:46:14.000Z
//============================================================================== // Copyright 2003 - 2011 LASMEA UMR 6602 CNRS/Univ. Clermont II // Copyright 2009 - 2013 LRI UMR 8623 CNRS/Univ Paris Sud XI // Copyright 2011 - 2013 MetaScale SAS // // Distributed under the Boost...
34.857143
80
0.589139
psiha
ecb5e50f93c23a2ac398624e7e4981e9b03cd969
870
cpp
C++
0035 - Search Insert Position/cpp/main.cpp
xiaoswu/Leetcode
e4ae8b2f72a312ee247084457cf4e6dbcfd20e18
[ "MIT" ]
5
2018-10-18T06:47:19.000Z
2020-06-19T09:30:03.000Z
0035 - Search Insert Position/cpp/main.cpp
xiaoswu/Leetcode
e4ae8b2f72a312ee247084457cf4e6dbcfd20e18
[ "MIT" ]
null
null
null
0035 - Search Insert Position/cpp/main.cpp
xiaoswu/Leetcode
e4ae8b2f72a312ee247084457cf4e6dbcfd20e18
[ "MIT" ]
null
null
null
// // main.cpp // 35 - Search Insert Position // // Created by ynfMac on 2019/6/26. // Copyright © 2019 ynfMac. All rights reserved. // 直接一趟循环根据值的大小进行比较 时间复杂度0(n),空间复杂度0(1) #include <iostream> #include <vector> using namespace std; class Solution { public: int searchInsert(vector<int> &nums, int target){ ...
22.307692
82
0.527586
xiaoswu
ecb9f8b871cb80450f3b630bc3e2a179131d0ab7
1,358
cpp
C++
core_cs/oops/this_pointer.cpp
saurabhraj042/dsaPrep
0973a03bc565a2850003c7e48d99b97ff83b1d01
[ "MIT" ]
23
2021-10-30T04:11:52.000Z
2021-11-27T09:16:18.000Z
core_cs/oops/this_pointer.cpp
Pawanupadhyay10/placement-prep
0449fa7cbc56e7933e6b090936ab7c15ca5f290f
[ "MIT" ]
null
null
null
core_cs/oops/this_pointer.cpp
Pawanupadhyay10/placement-prep
0449fa7cbc56e7933e6b090936ab7c15ca5f290f
[ "MIT" ]
4
2021-10-30T03:26:05.000Z
2021-11-14T12:15:04.000Z
/** * # 'This' keyword is a OBJECT POINTER present inside the INSTANCE_MEMBER FUNCTION * block of a CLASS and it stores the ADDRESS of CALLER OBJECT. * * # It's value cannot be modified. * * # USES : * -> used to refer current class instance variable / When local variable’s...
25.622642
114
0.550074
saurabhraj042
ecbc4541f6813bc33e67ac719e11c9c07ffaf3d1
26,548
hpp
C++
include/cppdevtk/base/generic_locking_algorithms.hpp
CoSoSys/cppdevtk
99d6c3d328c05a55dae54e82fcbedad93d0cfaa0
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
include/cppdevtk/base/generic_locking_algorithms.hpp
CoSoSys/cppdevtk
99d6c3d328c05a55dae54e82fcbedad93d0cfaa0
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
include/cppdevtk/base/generic_locking_algorithms.hpp
CoSoSys/cppdevtk
99d6c3d328c05a55dae54e82fcbedad93d0cfaa0
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// /// \file /// /// \copyright Copyright (C) 2015 - 2020 CoSoSys Ltd <info@cososys.com>\n /// Licensed under the Apache License, Version 2.0 (the "License");\n /// you may not use this file e...
30.065685
126
0.587314
CoSoSys
ecbf9a007dae66655d2b6fc0fd6d6a53cca02466
1,700
hpp
C++
src/Domain/Mouse.hpp
LBBassani/cg-trabalho-2d
8ada0b1a222a423d4dd28428b96653acbbaa2d5a
[ "MIT" ]
null
null
null
src/Domain/Mouse.hpp
LBBassani/cg-trabalho-2d
8ada0b1a222a423d4dd28428b96653acbbaa2d5a
[ "MIT" ]
null
null
null
src/Domain/Mouse.hpp
LBBassani/cg-trabalho-2d
8ada0b1a222a423d4dd28428b96653acbbaa2d5a
[ "MIT" ]
null
null
null
#if !defined MOUSE #define MOUSE #include "Entity.hpp" #include "Utils.hpp" #include "Text.hpp" #include "Shape.hpp" struct Mouse : public Entity{ bool must_draw = true; int must_draw_cooldown = 500; glm::vec3 color_on_left_click = {0.2f, 1.0f, 0.2f}; glm::vec3 color_on_right_click = {1.0f, 0.0f, 0.5f...
32.692308
110
0.620588
LBBassani
ecc46f7bed0c0c55b147b2729576b1f90a14a828
3,920
cpp
C++
src/naive_kinematics.cpp
HiroIshida/tinyfk
d7987521b5e824c1d83c9485e50c2915223bbd6e
[ "MIT" ]
8
2020-11-22T15:37:30.000Z
2021-11-15T17:10:17.000Z
src/naive_kinematics.cpp
HiroIshida/tinyfk
d7987521b5e824c1d83c9485e50c2915223bbd6e
[ "MIT" ]
14
2020-11-22T16:24:04.000Z
2022-02-08T03:07:20.000Z
src/naive_kinematics.cpp
HiroIshida/tinyfk
d7987521b5e824c1d83c9485e50c2915223bbd6e
[ "MIT" ]
1
2021-05-28T14:25:30.000Z
2021-05-28T14:25:30.000Z
/* Copyright (c) 2020 Hirokazu Ishida This software is released under the MIT License, see LICENSE. tinyfk: https://github.com/HiroIshida/tinyfk */ // inefficient methods which will be used only in test #include "tinyfk.hpp" namespace tinyfk { void RobotModel::get_link_point( unsigned int link_id, urdf::Pos...
34.086957
102
0.625
HiroIshida
ecc48c623a40429df44e238a6e077e7bdb028112
1,488
cpp
C++
src/ConfigManager.cpp
razerx100/Sol
c9d7da09207aada805be277a9cc2ab2d0f9d4e02
[ "MIT" ]
null
null
null
src/ConfigManager.cpp
razerx100/Sol
c9d7da09207aada805be277a9cc2ab2d0f9d4e02
[ "MIT" ]
null
null
null
src/ConfigManager.cpp
razerx100/Sol
c9d7da09207aada805be277a9cc2ab2d0f9d4e02
[ "MIT" ]
null
null
null
#include <ConfigManager.hpp> void ConfigManager::ReplaceInString( const std::string& replacement, std::string& textStr, std::int64_t start, std::int64_t end ) noexcept { textStr.replace(start, end - start, replacement); } std::string ConfigManager::GetLineFromString( const std::string& textS...
28.075472
83
0.625
razerx100
ecc4b1a6ad94cb9b786721e829c217728a5e6fea
73,612
hpp
C++
high_level_controller/examples/cpp/central_routing/include/lane_graph_one_lane/lane_graph.hpp
Durrrr95/cpm_lab
e2e6f4ace4ebc01e8ddd87e2f4acf13e6ffdcc67
[ "MIT" ]
9
2020-06-24T11:22:15.000Z
2022-01-13T14:14:13.000Z
high_level_controller/examples/cpp/central_routing/include/lane_graph_one_lane/lane_graph.hpp
Durrrr95/cpm_lab
e2e6f4ace4ebc01e8ddd87e2f4acf13e6ffdcc67
[ "MIT" ]
1
2021-05-10T13:48:04.000Z
2021-05-10T13:48:04.000Z
high_level_controller/examples/cpp/central_routing/include/lane_graph_one_lane/lane_graph.hpp
Durrrr95/cpm_lab
e2e6f4ace4ebc01e8ddd87e2f4acf13e6ffdcc67
[ "MIT" ]
2
2021-11-08T11:59:29.000Z
2022-03-15T13:50:54.000Z
#pragma once // Generated by map_print/map_print2/lane_graph_to_cpp.m // Do not edit #include <vector> /** * \defgroup lane_graph_one_lane Lane Graph With One Lane * \ingroup central_routing * TODO */ /** * \struct LaneGraph * \brief TODO * \ingroup lane_graph_one_lane */ struct LaneGraph { //! TODO c...
261.035461
568
0.687714
Durrrr95
ecce2b591bb3292aa6526327f58ae6d28fef08dd
5,627
cpp
C++
Utilities/vecmath/test-9.cpp
nocnokneo/MITK
2902dcaed2ebf83b08c29d73608e8c70ead9e602
[ "BSD-3-Clause" ]
null
null
null
Utilities/vecmath/test-9.cpp
nocnokneo/MITK
2902dcaed2ebf83b08c29d73608e8c70ead9e602
[ "BSD-3-Clause" ]
null
null
null
Utilities/vecmath/test-9.cpp
nocnokneo/MITK
2902dcaed2ebf83b08c29d73608e8c70ead9e602
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (C) 1997,1998,1999 Kenji Hiranabe, Eiwa System Management, Inc. This program is free software. Implemented by Kenji Hiranabe(hiranabe@esm.co.jp), conforming to the Java(TM) 3D API specification by Sun Microsystems. Permission to use, copy, modify, distribute and sell this software an...
25.811927
78
0.514484
nocnokneo
eccf98c4b906f30bd6d8b9fffa09bea0746e3411
796
cpp
C++
367-valid-perfect-square.cpp
nave7693/leetcode
8ff388cb17e87aa9053eaed3b84e7dc2be3e2e49
[ "MIT" ]
null
null
null
367-valid-perfect-square.cpp
nave7693/leetcode
8ff388cb17e87aa9053eaed3b84e7dc2be3e2e49
[ "MIT" ]
null
null
null
367-valid-perfect-square.cpp
nave7693/leetcode
8ff388cb17e87aa9053eaed3b84e7dc2be3e2e49
[ "MIT" ]
null
null
null
// https://leetcode.com/problems/valid-perfect-square class Solution { public: bool isPerfectSquare(int num) { if (num <= 1) return true; int lo = 0, hi = num, mid; while (lo <= hi) { mid = lo + (hi - lo) / 2; if (mid == num / mid) { return nu...
25.677419
80
0.400754
nave7693
ecd167dd1a10e156556670a46752492f5cad1834
2,199
cpp
C++
test/ut/core/dependency.cpp
szigetics/di
48eccb76aee03f0eceafe9bf47a713a8c0e7d810
[ "BSL-1.0" ]
531
2016-01-28T21:51:28.000Z
2020-06-23T10:59:52.000Z
test/ut/core/dependency.cpp
szigetics/di
48eccb76aee03f0eceafe9bf47a713a8c0e7d810
[ "BSL-1.0" ]
243
2016-02-11T14:28:01.000Z
2020-06-22T08:53:13.000Z
test/ut/core/dependency.cpp
szigetics/di
48eccb76aee03f0eceafe9bf47a713a8c0e7d810
[ "BSL-1.0" ]
86
2016-02-01T21:49:15.000Z
2020-06-17T14:38:53.000Z
// // Copyright (c) 2012-2020 Kris Jusiak (kris at jusiak dot net) // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // #include "boost/di/core/dependency.hpp" #include <type_traits> #include "boost/di/concepts/bou...
31.414286
94
0.694407
szigetics
ecd81106d621631ba3761125eef1e673f913c0b6
1,710
cpp
C++
ecs/components/retro_collider_component.cpp
SirJonthe/retro3d
41e45ce4757c1ae900e6355bce6f3c2066dc2c6f
[ "MIT" ]
7
2020-09-26T11:18:25.000Z
2021-07-02T15:22:46.000Z
ecs/components/retro_collider_component.cpp
SirJonthe/retro3d
41e45ce4757c1ae900e6355bce6f3c2066dc2c6f
[ "MIT" ]
null
null
null
ecs/components/retro_collider_component.cpp
SirJonthe/retro3d
41e45ce4757c1ae900e6355bce6f3c2066dc2c6f
[ "MIT" ]
null
null
null
#include "retro_collider_component.h" #include "retro_transform_component.h" #include "../retro_entity.h" namespace retro3d { retro_register_component(ColliderComponent) } void retro3d::ColliderComponent::OnSpawn( void ) { m_collider->AttachTransform(GetObject()->AddComponent<retro3d::TransformComponent>()->GetTrans...
23.424658
141
0.759064
SirJonthe
ecd991b42bd8b5ad0933d785b68f171d16ca7c8a
48
cpp
C++
3/TCP Server/TCPServerThread.cpp
ulyanyunakh/operating-systems
edb195c5ff72138f9d3f7b940d7acce507cb69d3
[ "MIT" ]
null
null
null
3/TCP Server/TCPServerThread.cpp
ulyanyunakh/operating-systems
edb195c5ff72138f9d3f7b940d7acce507cb69d3
[ "MIT" ]
null
null
null
3/TCP Server/TCPServerThread.cpp
ulyanyunakh/operating-systems
edb195c5ff72138f9d3f7b940d7acce507cb69d3
[ "MIT" ]
null
null
null
#include <iostream> class TCPServerThread { };
9.6
23
0.729167
ulyanyunakh
ece7f4a7e5cb99752e68904425f0082d058e531e
11,565
hpp
C++
viennashe/simulator_quantity.hpp
viennashe/viennashe-dev
e3b9ba1bd8e5b0e3fa9065b433c7915e073c849a
[ "MIT" ]
3
2020-05-07T14:38:52.000Z
2021-05-30T09:43:18.000Z
viennashe/simulator_quantity.hpp
viennashe/viennashe-dev
e3b9ba1bd8e5b0e3fa9065b433c7915e073c849a
[ "MIT" ]
1
2021-05-02T13:50:52.000Z
2021-05-03T03:49:51.000Z
viennashe/simulator_quantity.hpp
viennashe/viennashe-dev
e3b9ba1bd8e5b0e3fa9065b433c7915e073c849a
[ "MIT" ]
3
2020-05-07T14:39:07.000Z
2021-05-08T12:15:26.000Z
#ifndef VIENNASHE_SIMULATOR_QUANTITY_HPP #define VIENNASHE_SIMULATOR_QUANTITY_HPP /* ============================================================================ Copyright (c) 2011-2014, Institute for Microelectronics, Institute for Analysis and Scientific Computing, ...
43.477444
187
0.613921
viennashe
ece85c79584b94746d009ef9a4923fa34c7d9fdc
359
hpp
C++
src/ChipInfo.hpp
mvadu/CetusBedHeater
330d440260e72e585856c6f3f96e36664344240a
[ "MIT" ]
null
null
null
src/ChipInfo.hpp
mvadu/CetusBedHeater
330d440260e72e585856c6f3f96e36664344240a
[ "MIT" ]
null
null
null
src/ChipInfo.hpp
mvadu/CetusBedHeater
330d440260e72e585856c6f3f96e36664344240a
[ "MIT" ]
null
null
null
#include <Arduino.h> #include "soc/efuse_reg.h" #include <esp_spi_flash.h> #include <esp_system.h> #include <rom/rtc.h> class ChipInfo { public: ChipInfo(); uint8_t reason; const char *sdkVersion; uint8_t chipVersion; uint8_t coreCount; uint8_t featureBT; uint8_t featureBLE; uint8_t featureWiFi; bool...
17.95
26
0.738162
mvadu
ecec6e1d1f04529ee1678ea0313eb189403b76e8
86,956
cc
C++
neb/src/callbacks.cc
sdelafond/centreon-broker
21178d98ed8a061ca71317d23c2026dbc4edaca2
[ "Apache-2.0" ]
null
null
null
neb/src/callbacks.cc
sdelafond/centreon-broker
21178d98ed8a061ca71317d23c2026dbc4edaca2
[ "Apache-2.0" ]
null
null
null
neb/src/callbacks.cc
sdelafond/centreon-broker
21178d98ed8a061ca71317d23c2026dbc4edaca2
[ "Apache-2.0" ]
null
null
null
/* ** Copyright 2009-2017 Centreon ** ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed t...
39.651619
98
0.640508
sdelafond
eceed4c584f8276a15e8ef0f6967172637b12367
2,126
cpp
C++
engine/src/tools/logger.cpp
dorosch/engine
0cd277675264f848ac141f7e5663242bd7b43438
[ "MIT" ]
null
null
null
engine/src/tools/logger.cpp
dorosch/engine
0cd277675264f848ac141f7e5663242bd7b43438
[ "MIT" ]
null
null
null
engine/src/tools/logger.cpp
dorosch/engine
0cd277675264f848ac141f7e5663242bd7b43438
[ "MIT" ]
null
null
null
#include "tools/logger.hpp" namespace Tool { namespace Logger { Logger::Logger(const char *name) { this->_level = Level::info; this->_logger = spdlog::stdout_color_mt(name); } Level Logger::GetLevel() { return this->_level; } void Log...
27.61039
70
0.465193
dorosch
ecf36f656d433f8a208c4ffdfb419da1db128921
1,895
cpp
C++
Source/Core/TornadoEngine/Features/Graphic/DialogBuilderSystem.cpp
RamilGauss/MMO-Framework
c7c97b019adad940db86d6533861deceafb2ba04
[ "MIT" ]
27
2015-01-08T08:26:29.000Z
2019-02-10T03:18:05.000Z
Source/Core/TornadoEngine/Features/Graphic/DialogBuilderSystem.cpp
RamilGauss/MMO-Framework
c7c97b019adad940db86d6533861deceafb2ba04
[ "MIT" ]
1
2017-04-05T02:02:14.000Z
2017-04-05T02:02:14.000Z
Source/Core/TornadoEngine/Features/Graphic/DialogBuilderSystem.cpp
RamilGauss/MMO-Framework
c7c97b019adad940db86d6533861deceafb2ba04
[ "MIT" ]
17
2015-01-18T02:50:01.000Z
2019-02-08T21:00:53.000Z
/* Author: Gudakov Ramil Sergeevich a.k.a. Gauss Гудаков Рамиль Сергеевич Contacts: [ramil2085@mail.ru, ramil2085@gmail.com] See for more information LICENSE.md. */ #include "DialogBuilderSystem.h" #include <ImGuiWidgets/include/Dialog.h> #include "Modules.h" #include "GraphicEngineModule.h" #include ...
31.065574
124
0.709763
RamilGauss
ecf7e1032869cf40ecba51fdd0efa142b9ceded0
801
cpp
C++
TensorShaderAvxBackend/Quaternion/Cast/quaternion_purek.cpp
tk-yoshimura/TensorShaderAVX
de47428efbeaa4df694e4a3584b0397162e711d9
[ "MIT" ]
null
null
null
TensorShaderAvxBackend/Quaternion/Cast/quaternion_purek.cpp
tk-yoshimura/TensorShaderAVX
de47428efbeaa4df694e4a3584b0397162e711d9
[ "MIT" ]
null
null
null
TensorShaderAvxBackend/Quaternion/Cast/quaternion_purek.cpp
tk-yoshimura/TensorShaderAVX
de47428efbeaa4df694e4a3584b0397162e711d9
[ "MIT" ]
null
null
null
#include "../../TensorShaderAvxBackend.h" using namespace System; void quaternion_purek(unsigned int length, float* srck_ptr, float* dst_ptr) { for (unsigned int i = 0, j = 0; i < length; i += 4, j++) { dst_ptr[i + 3] = srck_ptr[j]; dst_ptr[i + 0] = dst_ptr[i + 1] = dst_ptr[i + 2] = 0; } } vo...
29.666667
115
0.632959
tk-yoshimura
ecfb696972169ea210b985a5d6e8c01a0241b62e
22,278
hpp
C++
libcaf_core/caf/flow/observable.hpp
seewpx/actor-framework
65ecf35317b81d7a211848d59e734f43483fe410
[ "BSD-3-Clause" ]
null
null
null
libcaf_core/caf/flow/observable.hpp
seewpx/actor-framework
65ecf35317b81d7a211848d59e734f43483fe410
[ "BSD-3-Clause" ]
null
null
null
libcaf_core/caf/flow/observable.hpp
seewpx/actor-framework
65ecf35317b81d7a211848d59e734f43483fe410
[ "BSD-3-Clause" ]
null
null
null
// This file is part of CAF, the C++ Actor Framework. See the file LICENSE in // the main distribution directory for license terms and copyright or visit // https://github.com/actor-framework/actor-framework/blob/master/LICENSE. #pragma once #include "caf/async/consumer.hpp" #include "caf/async/producer.hpp" #include...
31.027855
80
0.665589
seewpx
a6043bb22bd8a9000356a8292538a3e938df606c
2,230
cpp
C++
daemon/src/win/win_main.cpp
realrasengan/desktop
41213ed9efd70955bdd5872c68425868040afae2
[ "Apache-2.0" ]
1
2020-09-08T00:41:27.000Z
2020-09-08T00:41:27.000Z
daemon/src/win/win_main.cpp
realrasengan/desktop
41213ed9efd70955bdd5872c68425868040afae2
[ "Apache-2.0" ]
null
null
null
daemon/src/win/win_main.cpp
realrasengan/desktop
41213ed9efd70955bdd5872c68425868040afae2
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2019 London Trust Media Incorporated // // This file is part of the Private Internet Access Desktop Client. // // The Private Internet Access Desktop Client 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 Softwa...
30.135135
144
0.687444
realrasengan
a60656126010290ba54d6e86f35a8bb5a4879b24
1,232
cpp
C++
Math.cpp
Trofimm/SimpleFunctionRender
d1f81f4ce41c7c19f2caaabf602f96cc113774d5
[ "MIT" ]
null
null
null
Math.cpp
Trofimm/SimpleFunctionRender
d1f81f4ce41c7c19f2caaabf602f96cc113774d5
[ "MIT" ]
null
null
null
Math.cpp
Trofimm/SimpleFunctionRender
d1f81f4ce41c7c19f2caaabf602f96cc113774d5
[ "MIT" ]
null
null
null
#include "Math.h" ////////////////////////////////////////////////// float Distance(point2 a, point2 b) { const float x = b.x - a.x; const float y = b.y - a.y; const float result = sqrtf(x * x + y * y); return result; } void SimpleCompress(float3 &outColor) { outColor.x /= (1.0f + outColor.x); outColor....
21.241379
94
0.54789
Trofimm
a619762b9d75c219320ef47e604702d07c1bab2f
1,584
cpp
C++
examples/io.cpp
fdimushka/async_runtime
964e6904c18739c67beab9a241a792467af7988b
[ "MIT" ]
3
2022-03-28T07:40:37.000Z
2022-03-30T06:48:35.000Z
examples/io.cpp
fdimushka/async_runtime
964e6904c18739c67beab9a241a792467af7988b
[ "MIT" ]
2
2022-03-28T10:37:30.000Z
2022-03-31T10:47:40.000Z
examples/io.cpp
fdimushka/async_runtime
964e6904c18739c67beab9a241a792467af7988b
[ "MIT" ]
null
null
null
#include "ar/ar.hpp" using namespace AsyncRuntime; void async_io(CoroutineHandler* handler, YieldVoid & yield) { //make input stream auto in_stream = MakeStream(); int res = 0; int fd = 0; yield(); //async open file if( (res = Await(AsyncFsOpen("../../examples/io.cpp"), handler)) < 0 )...
23.294118
104
0.572601
fdimushka
a61c497aa31071e7d4a31b89ffa845dfc93555f6
1,222
cpp
C++
3. Insertion in Singly Linked List/main.cpp
PriyanshuSaxena2612/Linked-List-Cpp
759d97c6240fe70dbd8dd7b6e520bb7c86a231e5
[ "MIT" ]
5
2021-12-09T07:41:41.000Z
2021-12-09T20:39:38.000Z
3. Insertion in Singly Linked List/main.cpp
PriyanshuSaxena2612/Linked-List-Cpp
759d97c6240fe70dbd8dd7b6e520bb7c86a231e5
[ "MIT" ]
null
null
null
3. Insertion in Singly Linked List/main.cpp
PriyanshuSaxena2612/Linked-List-Cpp
759d97c6240fe70dbd8dd7b6e520bb7c86a231e5
[ "MIT" ]
null
null
null
#include "../node.cpp" void insertAtHead(Node **head, int data) { Node *newNode = new Node(data); if (*head == NULL) { *head = newNode; return; } newNode->next = *head; *head = newNode; } void insertNode(Node **head, int data) { Node *newNode = new Node(data); if (*head...
18.238806
53
0.531097
PriyanshuSaxena2612
a61f7faa633d56942d20c3584a6699c32407f8b2
5,042
cpp
C++
Server/dep/g3dlite/G3D/Image1.cpp
ZON3DEV/wow-vanilla
7b6f03c3e1e7d8dd29a92ba77ed021e5913e5e9f
[ "OpenSSL" ]
42
2015-01-05T10:00:07.000Z
2022-02-18T14:51:33.000Z
Server/dep/g3dlite/G3D/Image1.cpp
ZON3DEV/wow-vanilla
7b6f03c3e1e7d8dd29a92ba77ed021e5913e5e9f
[ "OpenSSL" ]
20
2017-04-10T18:41:58.000Z
2017-04-10T19:01:12.000Z
Server/dep/g3dlite/G3D/Image1.cpp
ZON3DEV/wow-vanilla
7b6f03c3e1e7d8dd29a92ba77ed021e5913e5e9f
[ "OpenSSL" ]
31
2015-01-09T02:04:29.000Z
2021-09-01T13:20:20.000Z
/** @file Image1.cpp @maintainer Morgan McGuire, http://graphics.cs.williams.edu @created 2007-01-31 @edited 2007-01-31 */ #include "G3D/Image1.h" #include "G3D/Image1uint8.h" #include "G3D/GImage.h" #include "G3D/Color4.h" #include "G3D/Color4uint8.h" #include "G3D/Color1.h" #include "G3D/Color1uint8.h" #...
22.408889
94
0.598374
ZON3DEV
a621261f1c66ceafc64c96a4684ba870eae74337
46,870
hpp
C++
core/algorithms/techmapping/techmapping.hpp
LNIS-Projects/IDEA
431ec3f30210bb901950f64c74efe480beca9f58
[ "MIT" ]
37
2018-08-12T11:25:57.000Z
2020-11-30T16:09:41.000Z
core/algorithms/techmapping/techmapping.hpp
LNIS-Projects/IDEA
431ec3f30210bb901950f64c74efe480beca9f58
[ "MIT" ]
9
2019-05-31T19:59:00.000Z
2020-10-25T01:49:42.000Z
core/algorithms/techmapping/techmapping.hpp
LNIS-Projects/IDEA
431ec3f30210bb901950f64c74efe480beca9f58
[ "MIT" ]
5
2019-01-10T19:38:54.000Z
2020-06-09T11:38:08.000Z
/* LSOracle: A learning based Oracle for Logic Synthesis * Copyright 2021 Laboratory for Nano Integrated Systems (LNIS) * * 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 * restr...
34.847584
174
0.564199
LNIS-Projects
a625a8582b06e40e65e7d416fab4d823d349b2a6
830
hpp
C++
includes/metrisca/profilers/profiler.hpp
mirjanastojilovic/MetriSCA
a0a13a17d66324088114a1d4ab96afc0da487bf7
[ "BSD-3-Clause" ]
2
2022-02-18T12:11:28.000Z
2022-03-01T19:23:26.000Z
includes/metrisca/profilers/profiler.hpp
mirjanastojilovic/MetriSCA
a0a13a17d66324088114a1d4ab96afc0da487bf7
[ "BSD-3-Clause" ]
1
2022-03-06T13:32:58.000Z
2022-03-06T15:38:16.000Z
includes/metrisca/profilers/profiler.hpp
mirjanastojilovic/MetriSCA
a0a13a17d66324088114a1d4ab96afc0da487bf7
[ "BSD-3-Clause" ]
1
2022-03-18T11:55:36.000Z
2022-03-18T11:55:36.000Z
/** * MetriSCA - A side-channel analysis library * Copyright 2021, School of Computer and Communication Sciences, EPFL. * * All rights reserved. Use of this source code is governed by a * BSD-style license that can be found in the LICENSE.md file. */ #pragma once #include "metrisca/forward.hpp" #include "metris...
24.411765
76
0.662651
mirjanastojilovic
98b54c286fdc116585c460370cfcd126e9256d6a
1,396
cpp
C++
libs/optional/test/optional_test_tie.cpp
zyiacas/boost-doc-zh
689e5a3a0a4dbead1a960f7b039e3decda54aa2c
[ "BSL-1.0" ]
198
2015-01-13T05:47:18.000Z
2022-03-09T04:46:46.000Z
libs/optional/test/optional_test_tie.cpp
sdfict/boost-doc-zh
689e5a3a0a4dbead1a960f7b039e3decda54aa2c
[ "BSL-1.0" ]
9
2015-01-28T16:33:19.000Z
2020-04-12T23:03:28.000Z
libs/optional/test/optional_test_tie.cpp
sdfict/boost-doc-zh
689e5a3a0a4dbead1a960f7b039e3decda54aa2c
[ "BSL-1.0" ]
139
2015-01-15T20:09:31.000Z
2022-01-31T15:21:16.000Z
// Copyright (C) 2003, Fernando Luis Cacciola Carballal. // // Use, modification, and distribution is subject to 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://www.boost.org/lib/optional for documentation. //...
21.476923
75
0.627507
zyiacas
98b9bee187d895e3efca00fe3cef3ec1b520b195
7,901
hpp
C++
include/LIV/SDK/Unity/SDKControllerState.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
include/LIV/SDK/Unity/SDKControllerState.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
include/LIV/SDK/Unity/SDKControllerState.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: System.ValueType #include "System/ValueType.hpp" // Including type: LIV.SDK.Unity.SDK...
53.026846
940
0.717124
RedBrumbler
98bd94332c950a4fd85be76b84addd3b2b18e6f3
4,935
cpp
C++
hooks/hooks/hooked_overrideview.cpp
PhoenixAceVFX/Illenium
61408a9d26c7f2ee8f852a73e037d8bb4761575d
[ "Unlicense" ]
3
2021-04-27T18:45:45.000Z
2022-01-04T07:44:28.000Z
hooks/hooks/hooked_overrideview.cpp
PhoenixAceVFX/Illenium
61408a9d26c7f2ee8f852a73e037d8bb4761575d
[ "Unlicense" ]
1
2021-05-03T20:39:28.000Z
2021-05-03T20:39:28.000Z
hooks/hooks/hooked_overrideview.cpp
PhoenixAceVFX/Illenium
61408a9d26c7f2ee8f852a73e037d8bb4761575d
[ "Unlicense" ]
4
2021-03-25T21:32:51.000Z
2021-12-14T04:30:05.000Z
// This is an independent project of an individual developer. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++, C#, and Java: http://www.viva64.com #include "..\hooks.hpp" #include "..\..\cheats\visuals\GrenadePrediction.h" #include "..\..\cheats\misc\fakelag.h" #include "..\..\cheats\la...
29.909091
182
0.707194
PhoenixAceVFX
98c77cd91f764222e7ebbdca46cc3b8a3daf2741
3,225
cpp
C++
Plugins/org.commontk.eventbus/Testing/Cpp/ctkNetworkConnectorZeroMQTest.cpp
kraehlit/CTK
6557c5779d20b78f501f1fd6ce1063d0f219cca6
[ "Apache-2.0" ]
515
2015-01-13T05:42:10.000Z
2022-03-29T03:10:01.000Z
Plugins/org.commontk.eventbus/Testing/Cpp/ctkNetworkConnectorZeroMQTest.cpp
kraehlit/CTK
6557c5779d20b78f501f1fd6ce1063d0f219cca6
[ "Apache-2.0" ]
425
2015-01-06T05:28:38.000Z
2022-03-08T19:42:18.000Z
Plugins/org.commontk.eventbus/Testing/Cpp/ctkNetworkConnectorZeroMQTest.cpp
kraehlit/CTK
6557c5779d20b78f501f1fd6ce1063d0f219cca6
[ "Apache-2.0" ]
341
2015-01-08T06:18:17.000Z
2022-03-29T21:47:49.000Z
/* * ctkNetworkConnectorZeroMQTest.cpp * ctkNetworkConnectorZeroMQTest * * Created by Daniele Giunchi on 27/03/09. * Copyright 2009 B3C. All rights reserved. * * See Licence at: http://tiny.cc/QXJ4D * */ #include "ctkTestSuite.h" #include <ctkNetworkConnectorZeroMQ.h> #include <ctkEventBusManager.h> #in...
26.652893
99
0.724031
kraehlit
98c8fb9b3509b30fa60bbda6d5a094502ce89d79
2,814
cpp
C++
src/models/bookquotesmodel.cpp
Maledictus/harbour-sailreads
2c58aa266ef2dacb790b857c3b6aced937da5c0e
[ "MIT" ]
3
2019-01-05T09:54:19.000Z
2019-02-26T09:20:23.000Z
src/models/bookquotesmodel.cpp
Maledictus/harbour-sailreads
2c58aa266ef2dacb790b857c3b6aced937da5c0e
[ "MIT" ]
1
2019-01-03T10:02:01.000Z
2019-01-03T14:08:16.000Z
src/models/bookquotesmodel.cpp
Maledictus/harbour-sailreads
2c58aa266ef2dacb790b857c3b6aced937da5c0e
[ "MIT" ]
null
null
null
/* Copyright (c) 2018-2019 Oleg Linkin <maledictusdemagog@gmail.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modi...
26.055556
96
0.708955
Maledictus
98c90718ad31be5421555a16fedface158e6d1dd
1,616
cpp
C++
test/chapter_08_design_patterns/problem_071_observable_vector_container.cpp
rturrado/TheModernCppChallenge
648284fb417b6aaa43c21ea2b12a5a21c8cb9269
[ "MIT" ]
null
null
null
test/chapter_08_design_patterns/problem_071_observable_vector_container.cpp
rturrado/TheModernCppChallenge
648284fb417b6aaa43c21ea2b12a5a21c8cb9269
[ "MIT" ]
null
null
null
test/chapter_08_design_patterns/problem_071_observable_vector_container.cpp
rturrado/TheModernCppChallenge
648284fb417b6aaa43c21ea2b12a5a21c8cb9269
[ "MIT" ]
null
null
null
#include "chapter_08_design_patterns/problem_071_observable_vector_container.h" #include <gmock/gmock.h> #include <gtest/gtest.h> #include <sstream> // ostringstream TEST(problem_71_main, DISABLED_output) { std::ostringstream oss{}; problem_71_main(oss); EXPECT_THAT(oss.str(), ::testing::HasSubstr( ...
36.727273
104
0.5625
rturrado
98caafef16943f7eaff318b0253bdb2f739eac59
11,357
cpp
C++
tagwire/thailand_client.cpp
pshoben/devutils
c655d0f88a359c8e3db7f5dd3a69ff2fc9bd7db2
[ "MIT" ]
null
null
null
tagwire/thailand_client.cpp
pshoben/devutils
c655d0f88a359c8e3db7f5dd3a69ff2fc9bd7db2
[ "MIT" ]
null
null
null
tagwire/thailand_client.cpp
pshoben/devutils
c655d0f88a359c8e3db7f5dd3a69ff2fc9bd7db2
[ "MIT" ]
null
null
null
/* * ref: https://github.com/onestraw/epoll-example */ #include <sys/types.h> #include <sys/socket.h> #include <netdb.h> #include <string.h> #include <unistd.h> #include <fcntl.h> //#include <sys/epoll.h> #include <errno.h> #include <stdio.h> #include <stdlib.h> #include <limits.h> #include <stdbool.h> #include <tim...
28.679293
168
0.633442
pshoben
98ccb274c19c2cf7090cbb07aad453c94b549b7c
2,417
cpp
C++
src/sqlite/savepoint.cpp
cornerstone-solutions/vsqlite--
29abd3b221e0f09a3115079d91fca230ec85523c
[ "BSD-3-Clause" ]
21
2015-02-28T08:42:03.000Z
2021-12-29T02:04:37.000Z
src/sqlite/savepoint.cpp
cornerstone-solutions/vsqlite--
29abd3b221e0f09a3115079d91fca230ec85523c
[ "BSD-3-Clause" ]
14
2015-02-07T10:41:13.000Z
2022-02-04T12:56:12.000Z
src/sqlite/savepoint.cpp
cornerstone-solutions/vsqlite--
29abd3b221e0f09a3115079d91fca230ec85523c
[ "BSD-3-Clause" ]
18
2015-02-09T11:15:50.000Z
2020-11-11T10:08:21.000Z
/*############################################################################## VSQLite++ - virtuosic bytes SQLite3 C++ wrapper Copyright (c) 2014 mickey mickey.mouse-1985@libero.it All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that ...
39.622951
81
0.686388
cornerstone-solutions
98cf2e0b13eee452176baff98a53eed0272cd6cb
22,148
cpp
C++
src/cpp/src/batch.cpp
AnzeXie/marius
db2cf14fdfcae469889fb3c8b2e92c4289463ea3
[ "Apache-2.0" ]
81
2021-03-25T08:34:54.000Z
2022-03-04T15:56:05.000Z
src/cpp/src/batch.cpp
AnzeXie/marius
db2cf14fdfcae469889fb3c8b2e92c4289463ea3
[ "Apache-2.0" ]
45
2021-03-25T18:04:43.000Z
2021-12-14T18:41:47.000Z
src/cpp/src/batch.cpp
rachit173/marius
c981482af29e6038e2477e634d46fd7cc4de4961
[ "Apache-2.0" ]
20
2021-03-31T04:37:31.000Z
2022-02-25T21:36:05.000Z
// // Created by Jason Mohoney on 7/9/20. // #include "batch.h" #include "config.h" using std::get; Batch::Batch(bool train) : device_transfer_(0), host_transfer_(0), timer_(false) { status_ = BatchStatus::Waiting; train_ = train; device_id_ = -1; } void Batch::localSample() { int num_deg; if (...
48.570175
169
0.696858
AnzeXie
98dddbe2db5c4a9eb71634f1d3ba3e1e28b72bbe
2,668
cpp
C++
ssdb/src/util/io_cache.cpp
taihedeveloper/SSDB-Cluster
b8279dc42af24f8a244842f4d5191b3d1894ce88
[ "Apache-2.0" ]
6
2017-06-14T03:57:52.000Z
2017-06-14T06:54:01.000Z
ssdb/src/util/io_cache.cpp
taihedeveloper/SSDB-Cluster
b8279dc42af24f8a244842f4d5191b3d1894ce88
[ "Apache-2.0" ]
null
null
null
ssdb/src/util/io_cache.cpp
taihedeveloper/SSDB-Cluster
b8279dc42af24f8a244842f4d5191b3d1894ce88
[ "Apache-2.0" ]
null
null
null
/* Copyright (c) 2012-2014 The SSDB 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 <sys/types.h> #include <unistd.h> #include <errno.h> #include "io_cache.h" int WriteCache::append(const char *data, int size) { // flush cac...
16.886076
70
0.566342
taihedeveloper
98df469bb052f9bf20c3cac05f4cc987a6cea995
9,467
cpp
C++
drivers/CoreLED/tests/CoreLED_test_setColor.cpp
MMyster/LekaOS
4d7fbfe83fd222eb0fb33f1f4a3fbbdc50b25ddb
[ "Apache-2.0" ]
null
null
null
drivers/CoreLED/tests/CoreLED_test_setColor.cpp
MMyster/LekaOS
4d7fbfe83fd222eb0fb33f1f4a3fbbdc50b25ddb
[ "Apache-2.0" ]
null
null
null
drivers/CoreLED/tests/CoreLED_test_setColor.cpp
MMyster/LekaOS
4d7fbfe83fd222eb0fb33f1f4a3fbbdc50b25ddb
[ "Apache-2.0" ]
null
null
null
// Leka - LekaOS // Copyright 2022 APF France handicap // SPDX-License-Identifier: Apache-2.0 #include "CoreLED.h" #include "CoreSPI.h" #include "gtest/gtest.h" #include "mocks/leka/SPI.h" using namespace leka; class CoreLedSetColorTest : public ::testing::Test { protected: CoreLedSetColorTest() = default; // v...
28.601208
111
0.745115
MMyster
98e1a3140d600d971c7c2fd6881eb4a479c25273
52
cpp
C++
src/mos/io/keyboard.cpp
morganbengtsson/mo
c719ff6b35478b068988901d0bf7253cb672e87a
[ "MIT" ]
230
2016-02-15T20:46:01.000Z
2022-03-07T11:56:12.000Z
src/mos/io/keyboard.cpp
morganbengtsson/mo
c719ff6b35478b068988901d0bf7253cb672e87a
[ "MIT" ]
79
2016-02-07T11:37:04.000Z
2021-09-29T09:14:27.000Z
src/mos/io/keyboard.cpp
morganbengtsson/mo
c719ff6b35478b068988901d0bf7253cb672e87a
[ "MIT" ]
14
2018-05-16T13:10:22.000Z
2021-09-28T10:23:31.000Z
#include <mos/io/keyboard.hpp> namespace mos::io{ }
13
30
0.711538
morganbengtsson
98e4d0f16b7d118ebb317dd7d354e1fd103ead5f
851
cpp
C++
cppPrime/function_c07/test_08.cpp
ilvcr/cpplgproject
d3dc492b37c3754e35669eee2dd96d83de63ead4
[ "Apache-2.0" ]
null
null
null
cppPrime/function_c07/test_08.cpp
ilvcr/cpplgproject
d3dc492b37c3754e35669eee2dd96d83de63ead4
[ "Apache-2.0" ]
null
null
null
cppPrime/function_c07/test_08.cpp
ilvcr/cpplgproject
d3dc492b37c3754e35669eee2dd96d83de63ead4
[ "Apache-2.0" ]
null
null
null
/************************************************************************* > File Name: test_08.cpp > Author: @Yoghourt->ilvcr, Cn,Sx,Ty > Mail: ilvcr@outlook.com || liyaoliu@foxmail.com > Created Time: 2018年06月27日 星期三 21时25分24秒 > Description: *******************************************************************...
21.275
74
0.434783
ilvcr
98e71f3c82ba79d2a67cc38a31c241fe80ef5b2a
620
hpp
C++
lib/include/tinytmxWangTile.hpp
KaseyJenkins/tinytmx
b7ab2927dfe2e70459c55af991b3c1013d335fd5
[ "BSD-2-Clause" ]
2
2022-01-10T07:53:48.000Z
2022-03-22T11:25:50.000Z
lib/include/tinytmxWangTile.hpp
KaseyJenkins/tinytmx
b7ab2927dfe2e70459c55af991b3c1013d335fd5
[ "BSD-2-Clause" ]
null
null
null
lib/include/tinytmxWangTile.hpp
KaseyJenkins/tinytmx
b7ab2927dfe2e70459c55af991b3c1013d335fd5
[ "BSD-2-Clause" ]
null
null
null
#ifndef TINYTMX_TINYTMXWANGTILE_HPP #define TINYTMX_TINYTMXWANGTILE_HPP #include <vector> namespace tinyxml2 { class XMLElement; } namespace tinytmx { class WangTile { public: WangTile(); void Parse(tinyxml2::XMLElement const *wangTileElement); /// Get the tile ID. [[no...
18.787879
87
0.646774
KaseyJenkins
98ee51c1b20c72bc9cf591da5dd99957cc9359ae
5,688
cpp
C++
src/fft/fft_driver.cpp
lucyundead/athena--fork
04a4027299145f61bdc08528548e0b1b398ba0a6
[ "BSD-3-Clause" ]
174
2016-11-30T01:20:14.000Z
2022-02-22T16:23:55.000Z
src/fft/fft_driver.cpp
lucyundead/athena--fork
04a4027299145f61bdc08528548e0b1b398ba0a6
[ "BSD-3-Clause" ]
74
2017-01-30T22:37:33.000Z
2021-05-10T17:20:33.000Z
src/fft/fft_driver.cpp
lucyundead/athena--fork
04a4027299145f61bdc08528548e0b1b398ba0a6
[ "BSD-3-Clause" ]
126
2016-12-08T14:03:22.000Z
2022-03-31T06:01:59.000Z
//======================================================================================== // Athena++ astrophysical MHD code // Copyright(C) 2014 James M. Stone <jmstone@princeton.edu> and other code contributors // Licensed under the 3-clause BSD License, see LICENSE file for details //===============================...
32.878613
90
0.640647
lucyundead
98f97725c5341d694b3a924a2113c4ded7ad2dbb
1,054
hpp
C++
loggingDaemon/main/LoggingClientInterface/DomainSocket/ClientConnector/ClientConnectorThread.hpp
grobbles/linux-logging-daemon
da082225fcd037a5c91849702cf96de5805c816a
[ "MIT" ]
null
null
null
loggingDaemon/main/LoggingClientInterface/DomainSocket/ClientConnector/ClientConnectorThread.hpp
grobbles/linux-logging-daemon
da082225fcd037a5c91849702cf96de5805c816a
[ "MIT" ]
null
null
null
loggingDaemon/main/LoggingClientInterface/DomainSocket/ClientConnector/ClientConnectorThread.hpp
grobbles/linux-logging-daemon
da082225fcd037a5c91849702cf96de5805c816a
[ "MIT" ]
null
null
null
#ifndef CLIENT_CONNECTOR_HPP #define CLIENT_CONNECTOR_HPP #include <arpa/inet.h> #include <chrono> #include <cstdint> #include <cstring> #include <iostream> #include <mutex> #include <netinet/in.h> #include <pthread.h> #include <sstream> #include <stack> #include <stdio.h> #include <stdlib.h> #include <string> #includ...
20.269231
58
0.736243
grobbles
98fa520108bf134cd77f90aa0148f92a56ffe35e
3,719
hpp
C++
projects/thing/include/ecosnail/thing/entity_manager.hpp
ecosnail/ecosnail
10b03f5924da41bca01031341a6cb10de624198e
[ "MIT" ]
null
null
null
projects/thing/include/ecosnail/thing/entity_manager.hpp
ecosnail/ecosnail
10b03f5924da41bca01031341a6cb10de624198e
[ "MIT" ]
null
null
null
projects/thing/include/ecosnail/thing/entity_manager.hpp
ecosnail/ecosnail
10b03f5924da41bca01031341a6cb10de624198e
[ "MIT" ]
null
null
null
#pragma once #include <ecosnail/thing/entity.hpp> #include <ecosnail/thing/entity_pool.hpp> #include <ecosnail/tail.hpp> #include <any> #include <cassert> #include <map> #include <memory> #include <optional> #include <type_traits> #include <typeindex> #include <vector> namespace ecosnail::thing { class EntityManag...
27.345588
74
0.632428
ecosnail
98fbc41a5bd8bfd58a94e19c4622ea662c42b56b
978
cpp
C++
test/utility/move_if_noexcept_test.cpp
nekko1119/nek
be43faf5c541fa067ab1e1bcb7a43ebcfefe34e7
[ "BSD-3-Clause" ]
null
null
null
test/utility/move_if_noexcept_test.cpp
nekko1119/nek
be43faf5c541fa067ab1e1bcb7a43ebcfefe34e7
[ "BSD-3-Clause" ]
null
null
null
test/utility/move_if_noexcept_test.cpp
nekko1119/nek
be43faf5c541fa067ab1e1bcb7a43ebcfefe34e7
[ "BSD-3-Clause" ]
null
null
null
#include <nek/utility/move_if_noexcept.hpp> #include <gtest/gtest.h> #include <string> namespace { struct noexceptable { std::string log = ""; noexceptable() = default; noexceptable(noexceptable const&) noexcept { log += "copy ctor"; } noexcep...
17.781818
50
0.539877
nekko1119
c7018a0b45be17c46358868adc0a6772d938fbd7
1,419
hpp
C++
BB10-Cordova/MessageRetrieve/plugin/src/blackberry10/native/src/message_ndk.hpp
stefanschielke/WebWorks-Community-APIs
fbf4d6708f1e783788b7bfe9dfb3d276c44bd6ce
[ "Apache-2.0" ]
37
2015-01-10T00:32:35.000Z
2020-07-17T14:10:41.000Z
BB10-Cordova/MessageRetrieve/plugin/src/blackberry10/native/src/message_ndk.hpp
stefanschielke/WebWorks-Community-APIs
fbf4d6708f1e783788b7bfe9dfb3d276c44bd6ce
[ "Apache-2.0" ]
52
2015-01-02T11:20:59.000Z
2018-09-04T09:08:09.000Z
BB10-Cordova/MessageRetrieve/plugin/src/blackberry10/native/src/message_ndk.hpp
stefanschielke/WebWorks-Community-APIs
fbf4d6708f1e783788b7bfe9dfb3d276c44bd6ce
[ "Apache-2.0" ]
46
2015-01-16T18:52:13.000Z
2020-07-01T09:03:14.000Z
/* * Copyright (c) 2013 BlackBerry Limited * * 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...
24.465517
89
0.764623
stefanschielke
c703586500f37657304b4b8df2ef3147424bc2e9
4,791
cpp
C++
[FW]my_heat/src/main.cpp
sunduoze/my_heat
af62f1cabc5640f2c63332fcfc74915bb551a83e
[ "MIT" ]
null
null
null
[FW]my_heat/src/main.cpp
sunduoze/my_heat
af62f1cabc5640f2c63332fcfc74915bb551a83e
[ "MIT" ]
2
2022-03-27T14:58:55.000Z
2022-03-31T04:59:36.000Z
[FW]my_heat/src/main.cpp
sunduoze/my_heat
af62f1cabc5640f2c63332fcfc74915bb551a83e
[ "MIT" ]
null
null
null
#include <Arduino.h> #include "OpenT12.h" BluetoothSerial SerialBT; #if !defined(CONFIG_BT_ENABLED) || !defined(CONFIG_BLUEDROID_ENABLED) #error Bluetooth is not enabled! Please run `make menuconfig` to and enable it #endif OneButton RButton(BUTTON_PIN, true); U8G2_SSD1306_128X64_NONAME_F_HW_I2C Disp(U8G2_R0, /* rese...
28.349112
129
0.631392
sunduoze
c70551b2c09dd1d37d08a68ce62ca5c7082a104e
5,993
cpp
C++
console/main.cpp
thijsjanzen/OVRT
30cbbd9994f1463f806faa92a3cd9b967d37dbae
[ "MIT" ]
null
null
null
console/main.cpp
thijsjanzen/OVRT
30cbbd9994f1463f806faa92a3cd9b967d37dbae
[ "MIT" ]
null
null
null
console/main.cpp
thijsjanzen/OVRT
30cbbd9994f1463f806faa92a3cd9b967d37dbae
[ "MIT" ]
null
null
null
#include <cstring> #include <chrono> #include "../Simulation/simulation.hpp" #include "../Simulation/analysis.hpp" #include "config_parser.h" // forward declaration bool file_exists (const std::string& name); void read_parameters_from_ini(Param& p, const std::string file_name); void obtain_equilibrium(simulation& Sim...
35.672619
104
0.680961
thijsjanzen
c7055cf0351ecaeb3c64e476aa7de332ca1ecb81
24,900
cxx
C++
HLT/rec/AliHLTReconstructor.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
null
null
null
HLT/rec/AliHLTReconstructor.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
2
2016-11-25T08:40:56.000Z
2019-10-11T12:29:29.000Z
HLT/rec/AliHLTReconstructor.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
null
null
null
// $Id$ //************************************************************************** //* This file is property of and copyright by the * //* ALICE Experiment at CERN, All rights reserved. * //* * //...
33.28877
153
0.665382
AllaMaevskaya
c708e2b93a53b622e19300cfca92e27d809255e6
444
cpp
C++
Binary Search/One Edit Distance/main.cpp
Code-With-Aagam/competitive-programming
610520cc396fb13a03c606b5fb6739cfd68cc444
[ "MIT" ]
2
2022-02-08T12:37:41.000Z
2022-03-09T03:48:56.000Z
BinarySearch/One Edit Distance/main.cpp
ShubhamJagtap2000/competitive-programming-1
3a9a2e3dd08f8fa8ab823f295cd020d08d3bff84
[ "MIT" ]
null
null
null
BinarySearch/One Edit Distance/main.cpp
ShubhamJagtap2000/competitive-programming-1
3a9a2e3dd08f8fa8ab823f295cd020d08d3bff84
[ "MIT" ]
null
null
null
bool solve(string s, string t) { int n = s.size(), m = t.size(), i = 0, j = 0, cnt = 0; if (s == t) { return true; } if (abs(n - m) > 1) { return false; } while (i < n && j < m) { if (s[i] != t[j]) { if (cnt == 1) { return false; } if (n > m) { i++; } else if (n < m) { j++; } else...
13.875
55
0.358108
Code-With-Aagam
c70a9df84f1952447eed3793fae3fd481fded60d
25,913
cpp
C++
sbg/src/rmsd/rmsd.cpp
chaconlab/korpm
5a73b5ab385150b580b2fd3f1b2ad26fa3d55cf3
[ "MIT" ]
1
2022-01-02T01:48:05.000Z
2022-01-02T01:48:05.000Z
sbg/src/rmsd/rmsd.cpp
chaconlab/korpm
5a73b5ab385150b580b2fd3f1b2ad26fa3d55cf3
[ "MIT" ]
1
2021-11-10T10:50:08.000Z
2021-11-10T10:50:08.000Z
sbg/src/rmsd/rmsd.cpp
chaconlab/korpm
5a73b5ab385150b580b2fd3f1b2ad26fa3d55cf3
[ "MIT" ]
1
2021-12-03T03:29:39.000Z
2021-12-03T03:29:39.000Z
#include <iostream> #include <stdio.h> #include <stdlib.h> #include <list> #include <libpdb/include/Macromolecule.h> #include <libpdb/include/pdbIter.h> #include <libtools/include/timer.h> #include <libtools/include/Io.h> #include <libpdb/include/SS_DISICL.h> #include <cmdl/CmdLine.h> using namespace TCLAP; // Co...
32.801266
188
0.632231
chaconlab
c70afa5c968204fb92f551e7a66a1b8713e1b0df
2,789
cpp
C++
Projects/Library/Source/Exception.cpp
kalineh/KAI
43ab555bcbad1886715cd00b2cdac89e12d5cfe5
[ "MIT" ]
1
2018-06-16T17:53:43.000Z
2018-06-16T17:53:43.000Z
Projects/Library/Source/Exception.cpp
kalineh/KAI
43ab555bcbad1886715cd00b2cdac89e12d5cfe5
[ "MIT" ]
null
null
null
Projects/Library/Source/Exception.cpp
kalineh/KAI
43ab555bcbad1886715cd00b2cdac89e12d5cfe5
[ "MIT" ]
null
null
null
#include "KAI/KAI.h" #include "KAI/BuiltinTypes/Signed32.h" KAI_BEGIN namespace Exception { nstd::string Base::ToString() const { StringStream S; std::string loc = location.ToString().c_str(); loc = loc.substr(loc.find_last_of('/') + 1); S << loc.c_str() << text << ": "; WriteExtendedInformation(S); ...
22.134921
100
0.669416
kalineh
c70bb8e0a1fa398648d66bdc673df158b58f6ade
10,580
cpp
C++
src/PropGenerator.cpp
ajmalk/RIGOR-cpp
19300c2bd7d7a963d16ebd6b2544eb6e09967520
[ "MIT" ]
null
null
null
src/PropGenerator.cpp
ajmalk/RIGOR-cpp
19300c2bd7d7a963d16ebd6b2544eb6e09967520
[ "MIT" ]
null
null
null
src/PropGenerator.cpp
ajmalk/RIGOR-cpp
19300c2bd7d7a963d16ebd6b2544eb6e09967520
[ "MIT" ]
null
null
null
// // PropGenerator.cpp // Rigor // // Created by Ajmal Kunnummal on 2/20/15. // Copyright (c) 2015 ajmal. All rights reserved. // #include <opencv2/core/core.hpp> #include <opencv2/contrib/contrib.hpp> #include <opencv2/highgui/highgui.hpp> #include "bk_dynamicgraphs.h" #include "SLICSegment.h" #include "PropGe...
31.58209
121
0.571267
ajmalk
c71593765c3930e695c248de4da51db1ea5354ae
858
cpp
C++
557-reverse-words-in-a-string-iii/reverse-words-in-a-string-iii_[AC1_22ms].cpp
i-square/LeetCode
9b15114b7a3de8638d44b3030edb72f41d9a274e
[ "MIT" ]
1
2019-10-09T11:25:10.000Z
2019-10-09T11:25:10.000Z
557-reverse-words-in-a-string-iii/reverse-words-in-a-string-iii_[AC1_22ms].cpp
i-square/LeetCode
9b15114b7a3de8638d44b3030edb72f41d9a274e
[ "MIT" ]
null
null
null
557-reverse-words-in-a-string-iii/reverse-words-in-a-string-iii_[AC1_22ms].cpp
i-square/LeetCode
9b15114b7a3de8638d44b3030edb72f41d9a274e
[ "MIT" ]
1
2021-03-31T08:45:51.000Z
2021-03-31T08:45:51.000Z
// Given a string, you need to reverse the order of characters in each word within a sentence while still preserving whitespace and initial word order. // // Example 1: // // Input: "Let's take LeetCode contest" // Output: "s'teL ekat edoCteeL tsetnoc" // // // // Note: // In the string, each word is separated by singl...
23.833333
151
0.484848
i-square
c716f6f316a208d71eeeff6b0fb0b84bb82eaaae
443
hpp
C++
Game.hpp
JTuthill01/Nightmare
e4b712e28c228c66a33664418cc176cf527c28c9
[ "MIT" ]
null
null
null
Game.hpp
JTuthill01/Nightmare
e4b712e28c228c66a33664418cc176cf527c28c9
[ "MIT" ]
null
null
null
Game.hpp
JTuthill01/Nightmare
e4b712e28c228c66a33664418cc176cf527c28c9
[ "MIT" ]
null
null
null
#pragma once #include <States/States.hpp> #include <States/MainMenuState.hpp> class Game { public: Game(); ~Game(); void run(); private: void initWindow(); void render(); void update(const float& deltaTime); void updateDeltaTime(); void initStates(); void events(); bool isClosed; f...
13.84375
38
0.641084
JTuthill01
c718f61968dd07a288759f568967812dd56075ea
2,065
cpp
C++
GTEngine/Source/Graphics/GL4/GteGL4RasterizerState.cpp
pmjoniak/GeometricTools
ae6e933f9ab3a5474d830700ea8d9445cc78ef4b
[ "BSL-1.0" ]
4
2019-03-03T18:13:30.000Z
2020-08-25T18:15:30.000Z
GTEngine/Source/Graphics/GL4/GteGL4RasterizerState.cpp
pmjoniak/GeometricTools
ae6e933f9ab3a5474d830700ea8d9445cc78ef4b
[ "BSL-1.0" ]
null
null
null
GTEngine/Source/Graphics/GL4/GteGL4RasterizerState.cpp
pmjoniak/GeometricTools
ae6e933f9ab3a5474d830700ea8d9445cc78ef4b
[ "BSL-1.0" ]
6
2016-07-15T11:04:52.000Z
2021-12-07T03:11:42.000Z
// David Eberly, Geometric Tools, Redmond WA 98052 // Copyright (c) 1998-2018 // Distributed under the Boost Software License, Version 1.0. // http://www.boost.org/LICENSE_1_0.txt // http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt // File Version: 3.0.0 (2016/06/19) #include <GTEnginePCH.h> #include <LowLe...
25.8125
89
0.6954
pmjoniak
c719344b3a34a9cd42a6bcc89c762dffc9340924
5,551
cc
C++
build/X86/mem/XBar.py.cc
zhoushuxin/impl_of_HPCA2018
594d807fb0c0712bb7766122c4efe3321d012687
[ "BSD-3-Clause" ]
5
2019-12-12T16:26:09.000Z
2022-03-17T03:23:33.000Z
build/X86/mem/XBar.py.cc
zhoushuxin/impl_of_HPCA2018
594d807fb0c0712bb7766122c4efe3321d012687
[ "BSD-3-Clause" ]
null
null
null
build/X86/mem/XBar.py.cc
zhoushuxin/impl_of_HPCA2018
594d807fb0c0712bb7766122c4efe3321d012687
[ "BSD-3-Clause" ]
null
null
null
#include "sim/init.hh" namespace { const uint8_t data_m5_objects_XBar[] = { 120,156,165,86,225,110,27,69,16,222,59,251,236,196,118,98, 199,73,220,34,40,92,11,8,83,104,140,144,34,33,129,16, 4,20,9,41,73,171,115,139,138,133,100,109,238,214,241,133, 187,219,211,237,154,218,253,73,249,201,19,240,34,188,15...
53.893204
66
0.660061
zhoushuxin
c71977f03a3da3cb0599c971b9a81ac72c6479ef
2,898
hpp
C++
lib/sfml/src/Window.hpp
benjyup/cpp_arcade
4b755990b64156148e529da1c39efe8a8c0c5d1f
[ "MIT" ]
null
null
null
lib/sfml/src/Window.hpp
benjyup/cpp_arcade
4b755990b64156148e529da1c39efe8a8c0c5d1f
[ "MIT" ]
null
null
null
lib/sfml/src/Window.hpp
benjyup/cpp_arcade
4b755990b64156148e529da1c39efe8a8c0c5d1f
[ "MIT" ]
null
null
null
/* ** Window.h for Project-Master in /home/peixot_b/Epitech/Tek2/CPP/Arcade/cpp_arcade/lib/sfml/src ** ** Made by peixot_b ** Login <benjamin.peixoto@epitech.eu> ** ** Started on Thu Mar 23 13:35:43 2017 peixot_b ** Last update Thu Mar 23 13:35:45 2017 peixot_b */ #ifndef WINDOW_HPP_ # define WINDOW_HPP_ #includ...
38.64
121
0.484127
benjyup
c71a0aa154320c6927d2607d92b198f61fcd1213
1,366
hpp
C++
Ruken/Source/Include/Containers/LinkedChunkListNode.hpp
Renondedju/Daemon
8cdfcbc62d7e9dc6c6121ec1484555a23a20b8b6
[ "MIT" ]
4
2020-06-11T00:35:03.000Z
2020-06-23T11:57:52.000Z
Ruken/Source/Include/Containers/LinkedChunkListNode.hpp
Renondedju/Daemon
8cdfcbc62d7e9dc6c6121ec1484555a23a20b8b6
[ "MIT" ]
1
2020-03-17T13:34:16.000Z
2020-03-17T13:34:16.000Z
Ruken/Source/Include/Containers/LinkedChunkListNode.hpp
Renondedju/Daemon
8cdfcbc62d7e9dc6c6121ec1484555a23a20b8b6
[ "MIT" ]
2
2020-03-19T12:20:17.000Z
2020-09-03T07:49:06.000Z
#pragma once #include <array> #include "Build/Namespace.hpp" #include "Types/FundamentalTypes.hpp" BEGIN_RUKEN_NAMESPACE /** * \brief Represents a node in a LinkedChunkList * \tparam TType Elements type of the node * \tparam TChunkSize Size in octets of the chunk (node) (default is 16Kb or 2046 octets) */ temp...
28.458333
89
0.662518
Renondedju
c721fdcc2303702580d1ab10c781f783c5e57df0
3,069
cpp
C++
test/TextDestroy.cpp
Shoegzer/SPIRV-Tools
27a2bbb865ef638afe4260bf214110425a2b904b
[ "Unlicense" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
test/TextDestroy.cpp
Shoegzer/SPIRV-Tools
27a2bbb865ef638afe4260bf214110425a2b904b
[ "Unlicense" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
test/TextDestroy.cpp
Shoegzer/SPIRV-Tools
27a2bbb865ef638afe4260bf214110425a2b904b
[ "Unlicense" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// Copyright (c) 2015-2016 The Khronos Group Inc. // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and/or associated documentation files (the // "Materials"), to deal in the Materials without restriction, including // without limitation the rights to use, copy, modi...
35.686047
75
0.701531
Shoegzer
d178c61c4e9ba53f25a034559952c4317d482ead
838
cpp
C++
AquilaEngine/src/SimpleProfiler.cpp
vblanco20-1/AquilaEngine
7cd972f96f1c5f4ae3ccf7980eed7e223daf8d1b
[ "Unlicense" ]
6
2020-04-23T00:53:05.000Z
2021-11-11T08:51:14.000Z
AquilaEngine/src/SimpleProfiler.cpp
vblanco20-1/AquilaEngine
7cd972f96f1c5f4ae3ccf7980eed7e223daf8d1b
[ "Unlicense" ]
null
null
null
AquilaEngine/src/SimpleProfiler.cpp
vblanco20-1/AquilaEngine
7cd972f96f1c5f4ae3ccf7980eed7e223daf8d1b
[ "Unlicense" ]
2
2020-11-11T13:30:24.000Z
2020-12-11T05:39:38.000Z
#include <PrecompiledHeader.h> #include "SimpleProfiler.h" SimpleProfiler * g_SimpleProfiler = nullptr; void DrawSystemPerformanceUnits(std::vector<SystemPerformanceUnit>& units) { ImGui::Begin("Performance Info"); std::sort(units.begin(), units.end(), [](SystemPerformanceUnit&a, SystemPerformanceUnit&b) { re...
27.032258
93
0.661098
vblanco20-1
d178db30d927111c285ec01596affdf6f742b947
6,005
cpp
C++
src/utils/DataExtractor.cpp
tryboy/polarphp
f6608c4dc26add94e61684ed0edd3d5c7e86e768
[ "PHP-3.01" ]
null
null
null
src/utils/DataExtractor.cpp
tryboy/polarphp
f6608c4dc26add94e61684ed0edd3d5c7e86e768
[ "PHP-3.01" ]
null
null
null
src/utils/DataExtractor.cpp
tryboy/polarphp
f6608c4dc26add94e61684ed0edd3d5c7e86e768
[ "PHP-3.01" ]
null
null
null
// This source file is part of the polarphp.org open source project // // Copyright (c) 2017 - 2019 polarphp software foundation // Copyright (c) 2017 - 2019 zzu_softboy <zzu_softboy@163.com> // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://polarphp.org/LICENSE.txt for license info...
28.060748
88
0.654621
tryboy
d17becb7a7c285721fcb2478501b527750f33067
3,059
cpp
C++
Draw.cpp
sheirys/tankai-praktika
42f77ee3c30560179c2015d7400d18a7d4de5ec0
[ "MIT" ]
null
null
null
Draw.cpp
sheirys/tankai-praktika
42f77ee3c30560179c2015d7400d18a7d4de5ec0
[ "MIT" ]
null
null
null
Draw.cpp
sheirys/tankai-praktika
42f77ee3c30560179c2015d7400d18a7d4de5ec0
[ "MIT" ]
null
null
null
#include "Game.h" #include "CLoad_image.h" void Game::Draw(Engine* game) { SDL_FillRect( game->screen, &game->screen->clip_rect, SDL_MapRGB( game->screen->format, 0, 0, 0 ) ); data.apply(game->screen); //int X = T.getX(); //int Y = T.getY(); //int kk=0; /* kk=0; while(kk<Le...
28.858491
113
0.436417
sheirys
d17ea87cdd324bd1c305427f0989e04d76736ab9
24,509
inl
C++
mediaLib/include/Rendering/mSpriteBatch.inl
rainerzufalldererste/mediaLib
ed36ca9dc7e6737fd6918ce3995b28bb06a6de26
[ "MIT" ]
1
2018-08-19T15:56:13.000Z
2018-08-19T15:56:13.000Z
mediaLib/include/Rendering/mSpriteBatch.inl
rainerzufalldererste/mediaLib
ed36ca9dc7e6737fd6918ce3995b28bb06a6de26
[ "MIT" ]
null
null
null
mediaLib/include/Rendering/mSpriteBatch.inl
rainerzufalldererste/mediaLib
ed36ca9dc7e6737fd6918ce3995b28bb06a6de26
[ "MIT" ]
null
null
null
// Copyright 2018 Christoph Stiller // // 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, publish, distribu...
35.468886
462
0.746991
rainerzufalldererste
d1801e6e18ea9acf89550577865c582946405fda
1,465
cpp
C++
vcl/shape/mesh/mesh_drawable/mesh_drawable_gpu_data/mesh_skinned_drawable_gpu_data.cpp
asilvaigor/opengl_winter
0081c6ee39d493eb4f9e0ac92222937062866776
[ "MIT" ]
1
2020-04-24T22:55:51.000Z
2020-04-24T22:55:51.000Z
vcl/shape/mesh/mesh_drawable/mesh_drawable_gpu_data/mesh_skinned_drawable_gpu_data.cpp
asilvaigor/opengl_winter
0081c6ee39d493eb4f9e0ac92222937062866776
[ "MIT" ]
null
null
null
vcl/shape/mesh/mesh_drawable/mesh_drawable_gpu_data/mesh_skinned_drawable_gpu_data.cpp
asilvaigor/opengl_winter
0081c6ee39d493eb4f9e0ac92222937062866776
[ "MIT" ]
null
null
null
// // Created by igor on 14/05/2020. // #include "opengl/debug/opengl_debug.hpp" #include "mesh_skinned_drawable_gpu_data.hpp" namespace vcl { mesh_skinned_drawable_gpu_data::mesh_skinned_drawable_gpu_data() : mesh_drawable_gpu_data(), vbo_skeleton(0) {} mesh_skinned_drawable_gpu_data::mesh_skinned_drawable_gpu_dat...
33.295455
111
0.733788
asilvaigor
d1814e87fd208b7a408d02149b61cdf8870840ca
1,267
hpp
C++
events/gamepads_handler.hpp
MrTAB/aabGameEngine
dc51c6e443bf087ca10e14e6884e4dfa6caef4a8
[ "MIT" ]
null
null
null
events/gamepads_handler.hpp
MrTAB/aabGameEngine
dc51c6e443bf087ca10e14e6884e4dfa6caef4a8
[ "MIT" ]
null
null
null
events/gamepads_handler.hpp
MrTAB/aabGameEngine
dc51c6e443bf087ca10e14e6884e4dfa6caef4a8
[ "MIT" ]
null
null
null
/** * * gamepads_handler.hpp * * Phased out in favour of port handler and auto handler implementations **/ #if !defined(AAB_EVENTS_GAMEPADS_HANDLER_CLASS) #define AAB_EVENTS_GAMEPADS_HANDLER_CLASS #include"gamepad_handler.hpp" #include"gamepad_port_handler.hpp" #include"imports.hpp" #include<map> na...
22.22807
74
0.700868
MrTAB
d1848fc6a0544ad7d0f1dcaa883452f99d5cd3f2
8,585
cpp
C++
src/b_bot.cpp
raa-eruanna/ProjectPanther
7d703c162b4ede25faa3e99cacacb4fc79fb77da
[ "RSA-MD" ]
2
2018-01-18T21:30:20.000Z
2018-01-19T02:24:46.000Z
src/b_bot.cpp
raa-eruanna/ProjectPanther
7d703c162b4ede25faa3e99cacacb4fc79fb77da
[ "RSA-MD" ]
null
null
null
src/b_bot.cpp
raa-eruanna/ProjectPanther
7d703c162b4ede25faa3e99cacacb4fc79fb77da
[ "RSA-MD" ]
null
null
null
/* ** ** **--------------------------------------------------------------------------- ** Copyright 1999 Martin Colberg ** Copyright 1999-2016 Randy Heit ** Copyright 2005-2016 Christoph Oelckers ** All rights reserved. ** ** Redistribution and use in source and binary forms, with or without ** modification, are permit...
26.578947
111
0.672103
raa-eruanna
d18877b4a5906058307b3f59197c735faea752b0
2,724
hpp
C++
examples/suffix_sorting/construct_bwt.hpp
stevenybw/thrill
a2dc05035f4e24f64af0a22b60155e80843a5ba9
[ "BSD-2-Clause" ]
609
2015-08-27T11:09:24.000Z
2022-03-28T21:34:05.000Z
examples/suffix_sorting/construct_bwt.hpp
tim3z/thrill
f0e5aa2326a55af3c9a92fc418f8eb8e3cf8c5fa
[ "BSD-2-Clause" ]
109
2015-09-10T21:34:42.000Z
2022-02-15T14:46:26.000Z
examples/suffix_sorting/construct_bwt.hpp
tim3z/thrill
f0e5aa2326a55af3c9a92fc418f8eb8e3cf8c5fa
[ "BSD-2-Clause" ]
114
2015-08-27T14:54:13.000Z
2021-12-08T07:28:35.000Z
/******************************************************************************* * examples/suffix_sorting/construct_bwt.hpp * * Part of Project Thrill - http://project-thrill.org * * Copyright (C) 2016 Florian Kurpicz <florian.kurpicz@tu-dortmund.de> * * All rights reserved. Published under the BSD-2 license in...
33.62963
80
0.532305
stevenybw
d1935945395c81611d54a5935c2822f403fe555a
545
cc
C++
src/ObjectInfo.cc
CS126SP20/3D-Hotdog
072f1cd3f522a0448f7a2ba4a70912e4fcc924bb
[ "MIT" ]
null
null
null
src/ObjectInfo.cc
CS126SP20/3D-Hotdog
072f1cd3f522a0448f7a2ba4a70912e4fcc924bb
[ "MIT" ]
null
null
null
src/ObjectInfo.cc
CS126SP20/3D-Hotdog
072f1cd3f522a0448f7a2ba4a70912e4fcc924bb
[ "MIT" ]
null
null
null
// Copyright (c) 2020 [Your Name]. All rights reserved. #include <cinder/app/App.h> #include <mylibrary/ObjectInfo.h> #include <string> namespace mylibrary { ObjectInfo::ObjectInfo(std::string name, cinder::Color color, cinder::vec3 position, int type) { mName = name; mColor = color; mP...
22.708333
61
0.645872
CS126SP20
d1967ca07239d426d07f5bad59f6a32e325ad75b
3,120
cc
C++
src/net/http/HttpContext.cc
plantree/Slack
469fff18792a6d4d20c409f0331e3c93117c5ddf
[ "MIT" ]
2
2019-07-15T08:34:38.000Z
2019-08-07T12:27:23.000Z
src/net/http/HttpContext.cc
plantree/Slack
469fff18792a6d4d20c409f0331e3c93117c5ddf
[ "MIT" ]
null
null
null
src/net/http/HttpContext.cc
plantree/Slack
469fff18792a6d4d20c409f0331e3c93117c5ddf
[ "MIT" ]
null
null
null
/* * @Author: py.wang * @Date: 2019-07-21 08:21:33 * @Last Modified by: py.wang * @Last Modified time: 2019-07-22 08:42:22 */ #include "src/net/Buffer.h" #include "src/net/http/HttpContext.h" using namespace slack; using namespace slack::net; // 解析请求行 bool HttpContext::processRequestLine(const char *begin, con...
26.440678
80
0.403526
plantree
d19d6d8b431259cfd6d59b75185b11f379b835c0
845
cpp
C++
ChessTree.cpp
pradeepdsmk/chess-tree
759d4f984aad97cd5429d9e075cf7c6b7d656345
[ "MIT" ]
1
2022-03-01T21:06:30.000Z
2022-03-01T21:06:30.000Z
ChessTree.cpp
pradeepdsmk/chess-tree
759d4f984aad97cd5429d9e075cf7c6b7d656345
[ "MIT" ]
null
null
null
ChessTree.cpp
pradeepdsmk/chess-tree
759d4f984aad97cd5429d9e075cf7c6b7d656345
[ "MIT" ]
null
null
null
// ChessTree.cpp : This file contains the 'main' function. Program execution begins and ends there. // #include <iostream> #include <chrono> #include <Windows.h> #include "Log.h" #include "Engine.h" #include "XboardCommand.h" #ifdef _WIN32 #define CMD_CLEAR_SCREEN "cls" #elif #define CMD_CLEAR_SCREEN "clear" #endif ...
15.648148
99
0.657988
pradeepdsmk