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
5e29d403dd4e045e6d4f42e7975db395edba089c
4,002
cpp
C++
MuckyBasic/console.cpp
jordandavidson/MuckyFoot-UrbanChaos
00f7bda3f061bff9ecbb611d430f8f71bd557d14
[ "MIT" ]
188
2017-05-20T03:26:33.000Z
2022-03-10T16:58:39.000Z
MuckyBasic/console.cpp
jordandavidson/MuckyFoot-UrbanChaos
00f7bda3f061bff9ecbb611d430f8f71bd557d14
[ "MIT" ]
7
2017-05-28T14:28:13.000Z
2022-01-09T01:47:38.000Z
MuckyBasic/console.cpp
inco1/MuckyFoot-UrbanChaos
81aa5cfe18ef7fe2d1b1f9911bd33a47c22d5390
[ "MIT" ]
43
2017-05-20T07:31:32.000Z
2022-03-09T18:39:35.000Z
// // Provides a PRINT and INPUT for our graphical display. // Uses the FONT module and takes control of the display. // #include "always.h" #include "console.h" #include "font.h" #include "key.h" #include "os.h" // // Each line of text. // #define CONSOLE_MAX_TEXT_PER_LINE 512 typedef struct { CBYTE text[CONSOL...
13.295681
82
0.57971
jordandavidson
5e2ace80ba08e765542b617df9d041177bf7438d
1,225
cpp
C++
OpenGL/Circle/BresenhamsCircle.cpp
amrii1/Computer-Graphics
597b4ab061b57d222e54c01a7adf2799cb889f3a
[ "MIT" ]
27
2020-01-18T02:30:40.000Z
2022-03-13T17:15:38.000Z
OpenGL/Circle/BresenhamsCircle.cpp
KINGRANDOLPH/Computer-Graphics
509d2b06a34d9988e6c866eb6f900a56167f78ac
[ "MIT" ]
5
2019-12-13T14:08:05.000Z
2020-08-11T15:31:54.000Z
OpenGL/Circle/BresenhamsCircle.cpp
KINGRANDOLPH/Computer-Graphics
509d2b06a34d9988e6c866eb6f900a56167f78ac
[ "MIT" ]
16
2019-12-17T08:28:42.000Z
2021-10-31T03:47:54.000Z
#include<GL/glut.h> #include<GL/gl.h> #include<iostream> #include<math.h> using namespace std; int r; void init() { glClearColor(0.0,0.0,1.0,1.0); //Blue background glMatrixMode(GL_PROJECTION); gluOrtho2D(0,700,0,700); } void display() { glClear(GL_COLOR_BUFFER_BIT); int x,y,p,c=0,x1,y1; x=350; //x = xc y=350+r; /...
15.909091
48
0.654694
amrii1
5e2c65f8a021fba9f1bf30f8a41fa0181e02b30a
3,735
cpp
C++
Practice/2019.2.19/CF750F.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
4
2017-10-31T14:25:18.000Z
2018-06-10T16:10:17.000Z
Practice/2019.2.19/CF750F.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
null
null
null
Practice/2019.2.19/CF750F.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
null
null
null
#include<cstdio> #include<cstring> #include<algorithm> #include<vector> #include<iostream> using namespace std; #define mem(Arr,x) memset(Arr,x,sizeof(Arr)) const int maxN=510; int n,H,St[maxN]; vector<int> T[maxN]; int vis[maxN]; void Ask(int id); int main() { int Case; scanf("%d",&Case); while (Case--) { scan...
21.221591
95
0.460509
SYCstudio
5e34d08a6ae6866db4fd9c5a39dd167d2cacf88b
909
cpp
C++
platformIO/lib/Utils/Utils.cpp
Orekaria/digital_thermostat
f431a7dd2ccbf8def73e5f1e252bfcfe705b486b
[ "MIT" ]
null
null
null
platformIO/lib/Utils/Utils.cpp
Orekaria/digital_thermostat
f431a7dd2ccbf8def73e5f1e252bfcfe705b486b
[ "MIT" ]
null
null
null
platformIO/lib/Utils/Utils.cpp
Orekaria/digital_thermostat
f431a7dd2ccbf8def73e5f1e252bfcfe705b486b
[ "MIT" ]
null
null
null
#include <utils.h> Utils::Utils(/* args */) { } Utils::~Utils() { } float Utils::roundToDot5(float f) { const static signed char ROUND_5_DELTA[5] = { 0, -1, -2, 2, 1 }; // difference to the "rounded to nearest 5" value int a = (int)truncf(f * 10.0); // a = a + (ROUND_5_DELTA[abs(a) % 5] * (a >= 0 ? 1 : -1)); ...
25.25
121
0.550055
Orekaria
5e38f1a205a631e7950f5de3dded58cd1bd24e1f
1,822
cpp
C++
dynamic programming/1196D2.cpp
JiangWeibeta/Answers-to-Codeforces-Problems
f258ed0d441f587551ae0fc55215dca189a9dcef
[ "Apache-2.0" ]
1
2021-10-30T02:17:29.000Z
2021-10-30T02:17:29.000Z
dynamic programming/1196D2.cpp
JiangWeibeta/Answers-to-codeforces-problemset
f258ed0d441f587551ae0fc55215dca189a9dcef
[ "Apache-2.0" ]
null
null
null
dynamic programming/1196D2.cpp
JiangWeibeta/Answers-to-codeforces-problemset
f258ed0d441f587551ae0fc55215dca189a9dcef
[ "Apache-2.0" ]
null
null
null
#include <algorithm> #include <iostream> #include <string> #include <vector> using namespace std; int main() { int t = 0; cin >> t; while (t--) { int n = 0, k = 0; cin >> n >> k; string str; cin >> str; string rgb = "RGB"; string gbr = "GBR";...
25.305556
64
0.304061
JiangWeibeta
5e39b498e4bf96fbcf6eb6d272f761ed2cb1a3e4
271
cpp
C++
AtCoder/ABC 162/A.cpp
igortakeo/Solutions-CF
d945f0ae21c691120b69db78ff3d240b7dedc0a7
[ "MIT" ]
1
2020-05-25T15:32:23.000Z
2020-05-25T15:32:23.000Z
AtCoder/ABC 162/A.cpp
igortakeo/Solutions-CF
d945f0ae21c691120b69db78ff3d240b7dedc0a7
[ "MIT" ]
null
null
null
AtCoder/ABC 162/A.cpp
igortakeo/Solutions-CF
d945f0ae21c691120b69db78ff3d240b7dedc0a7
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main(){ string n; cin >> n; bool flag = false; for(int i=0; i<n.size(); i++){ if(n[i] == '7'){ flag = true; break; } } if(flag) cout << "Yes" << endl; else cout << "No" << endl; return 0; }
11.291667
32
0.498155
igortakeo
5e3e07903ecb2fe18d78e9ec468cd6dc0ebd42cb
670
hpp
C++
app/entities/components/ElectricityComponent.hpp
isonil/survival
ecb59af9fcbb35b9c28fd4fe29a4628f046165c8
[ "MIT" ]
1
2017-05-12T10:12:41.000Z
2017-05-12T10:12:41.000Z
app/entities/components/ElectricityComponent.hpp
isonil/Survival
ecb59af9fcbb35b9c28fd4fe29a4628f046165c8
[ "MIT" ]
null
null
null
app/entities/components/ElectricityComponent.hpp
isonil/Survival
ecb59af9fcbb35b9c28fd4fe29a4628f046165c8
[ "MIT" ]
1
2019-01-09T04:05:36.000Z
2019-01-09T04:05:36.000Z
#ifndef APP_ELECTRICITY_COMPONENT_HPP #define APP_ELECTRICITY_COMPONENT_HPP #include <memory> namespace app { class Structure; class ElectricitySystem; class ElectricityComponent { public: ElectricityComponent(Structure &structure); bool isWorking() const; bool isInAnyElectricitySystem() const; El...
19.705882
96
0.786567
isonil
1e0fd4614f1e767a69772528b4331a73bd4a6bd8
5,859
cpp
C++
main.cpp
hardest1/ScreenshotMatcher
79c21901ce575c3424f1ee99d7341ad654d8a351
[ "BSD-3-Clause" ]
1
2020-03-26T12:16:08.000Z
2020-03-26T12:16:08.000Z
main.cpp
hardest1/ScreenshotMatcher
79c21901ce575c3424f1ee99d7341ad654d8a351
[ "BSD-3-Clause" ]
null
null
null
main.cpp
hardest1/ScreenshotMatcher
79c21901ce575c3424f1ee99d7341ad654d8a351
[ "BSD-3-Clause" ]
null
null
null
// source: https://docs.opencv.org/3.4/d7/dff/tutorial_feature_homography.html // or: https://github.com/opencv/opencv/blob/3.4/samples/cpp/tutorial_code/features2D/feature_homography/SURF_FLANN_matching_homography_Demo.cpp // sources: // getIPAddress: https://gist.github.com/quietcricket/2521037 // getExePath: http:/...
26.876147
144
0.653524
hardest1
1e1102ff331f43af30306acd73f203b80caa24fa
1,428
cpp
C++
fileDissect/fileDissectFmts.cpp
jduck/file-dissect
4debec52697f0c10b8c8f024954eb41a5b20a51a
[ "BSD-3-Clause" ]
4
2015-02-04T20:53:08.000Z
2019-08-03T19:08:11.000Z
fileDissect/fileDissectFmts.cpp
jduck/file-dissect
4debec52697f0c10b8c8f024954eb41a5b20a51a
[ "BSD-3-Clause" ]
null
null
null
fileDissect/fileDissectFmts.cpp
jduck/file-dissect
4debec52697f0c10b8c8f024954eb41a5b20a51a
[ "BSD-3-Clause" ]
null
null
null
/* * fileDissect - a cross platform file dissection tool * Joshua J. Drake <jdrake idefense.com> * * fileDissectFmts.cpp: * the list of found/loaded plugins supporting file formats */ #include "fileDissectFmts.h" #include <wx/filename.h> #include <wx/listimpl.cpp> WX_DEFINE_PLUGINLIST(fileDissectPlugin); // de...
21
77
0.718487
jduck
1e115e50f3f3bac0fd874001b7b1415744868854
3,955
hpp
C++
pxart/pxart/simd128/xoroshiro128plus.hpp
lyrahgames/random-number-generators
c78931c1a5c0a85a1ad36d7d8979567b0853be52
[ "MIT" ]
4
2020-03-28T15:12:07.000Z
2021-04-20T00:07:23.000Z
pxart/pxart/simd128/xoroshiro128plus.hpp
lyrahgames/random-number-generators
c78931c1a5c0a85a1ad36d7d8979567b0853be52
[ "MIT" ]
null
null
null
pxart/pxart/simd128/xoroshiro128plus.hpp
lyrahgames/random-number-generators
c78931c1a5c0a85a1ad36d7d8979567b0853be52
[ "MIT" ]
null
null
null
#pragma once #ifndef __SSE4_1__ #else #define PXART_SUPPORT_SIMD128_XOROSHIRO128PLUS #include <smmintrin.h> #include <cstdint> #include <iostream> #include <type_traits> namespace pxart::simd128 { struct xoroshiro128plus { using uint_type = uint64_t; using simd_type = __m128i; using result_type = simd_type; ...
34.391304
80
0.666751
lyrahgames
1e1497545f3ee1b9a002f155721f7fdca73a3124
5,212
hpp
C++
include/crocoddyl/multibody/residuals/state.hpp
longhathuc/crocoddyl
07a35d9c2d97f443c3e3665d33e80dae0720af9b
[ "BSD-3-Clause" ]
1
2020-07-31T06:46:18.000Z
2020-07-31T06:46:18.000Z
include/crocoddyl/multibody/residuals/state.hpp
longhathuc/crocoddyl
07a35d9c2d97f443c3e3665d33e80dae0720af9b
[ "BSD-3-Clause" ]
2
2020-05-12T11:29:02.000Z
2020-05-28T14:25:19.000Z
include/crocoddyl/multibody/residuals/state.hpp
longhathuc/crocoddyl
07a35d9c2d97f443c3e3665d33e80dae0720af9b
[ "BSD-3-Clause" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////// // BSD 3-Clause License // // Copyright (C) 2021, University of Edinburgh // Copyright note valid unless otherwise stated in individual files. // All rights reserved. /////////////////////////////////////////////////////////////////////////...
35.69863
119
0.6533
longhathuc
1e14e88f7dd6b90a10e1d86b696d4c1a9774b788
156
cpp
C++
Codeforces/Educational/VolBITFormulasBlitz/J.cpp
Superdanby/YEE
49a6349dc5644579246623b480777afbf8031fcd
[ "MIT" ]
1
2019-09-07T15:56:05.000Z
2019-09-07T15:56:05.000Z
Codeforces/Educational/VolBITFormulasBlitz/J.cpp
Superdanby/YEE
49a6349dc5644579246623b480777afbf8031fcd
[ "MIT" ]
null
null
null
Codeforces/Educational/VolBITFormulasBlitz/J.cpp
Superdanby/YEE
49a6349dc5644579246623b480777afbf8031fcd
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { long long input; cin>>input; int test=8*9*5*7; cout<<input/test; return 0; }
14.181818
24
0.589744
Superdanby
1e1604c6ddb91eb7d63095ee09832a2a83d5cc86
3,232
cpp
C++
Mir3EIServerDev/Mir3server/LoginSvr/AddSvrListFunc.cpp
etorth/legendOfMir3_src
e7c47bb2375ddcc74e9f480e613aad79e66a7c08
[ "MIT" ]
7
2020-07-06T06:12:01.000Z
2021-07-26T14:01:40.000Z
Mir3EIServerDev/Mir3server/LoginSvr/AddSvrListFunc.cpp
etorth/legendOfMir3_src
e7c47bb2375ddcc74e9f480e613aad79e66a7c08
[ "MIT" ]
null
null
null
Mir3EIServerDev/Mir3server/LoginSvr/AddSvrListFunc.cpp
etorth/legendOfMir3_src
e7c47bb2375ddcc74e9f480e613aad79e66a7c08
[ "MIT" ]
14
2019-04-08T10:52:05.000Z
2021-07-25T15:27:01.000Z
#include "stdafx.h" BOOL jRegSetKey(LPCTSTR pSubKeyName, LPCTSTR pValueName, DWORD dwFlags, LPBYTE pValue, DWORD nValueSize); BOOL jRegGetKey(LPCTSTR pSubKeyName, LPCTSTR pValueName, LPBYTE pValue); extern HWND g_hMainWnd; BOOL CALLBACK AddSvrListProc(HWND hWndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam) { switch...
31.378641
113
0.671101
etorth
1e195ff6606524fa4a182fd5c5fb0b5686436fab
18,004
cc
C++
core/c/external/harfbuzz/src/hb-subset-plan.cc
emoon/flowi
d159b45284c63babaaaa03a706a79696e0041fe7
[ "MIT" ]
3
2021-11-04T19:08:39.000Z
2022-03-16T14:47:35.000Z
core/c/external/harfbuzz/src/hb-subset-plan.cc
emoon/flowi
d159b45284c63babaaaa03a706a79696e0041fe7
[ "MIT" ]
null
null
null
core/c/external/harfbuzz/src/hb-subset-plan.cc
emoon/flowi
d159b45284c63babaaaa03a706a79696e0041fe7
[ "MIT" ]
1
2022-03-16T14:47:42.000Z
2022-03-16T14:47:42.000Z
/* * Copyright © 2018 Google, Inc. * * This is part of HarfBuzz, a text shaping library. * * Permission is hereby granted, without written agreement and without * license or royalty fees, to use, copy, modify, and distribute this * software and its documentation for any purpose, provided that the * above copy...
29.956739
190
0.679904
emoon
1e19cc2b18c7d252ba3c50d885b51f161360fdfc
3,807
cpp
C++
src/plugins/dist_err.cpp
standmit/dist_err
3510992553257d929fa5ae11ca6546b5155be336
[ "MIT" ]
null
null
null
src/plugins/dist_err.cpp
standmit/dist_err
3510992553257d929fa5ae11ca6546b5155be336
[ "MIT" ]
null
null
null
src/plugins/dist_err.cpp
standmit/dist_err
3510992553257d929fa5ae11ca6546b5155be336
[ "MIT" ]
null
null
null
/** * \file * \brief Plugin for MAVROS to demonstrate error in distance_sensor plugin * \author Andrey Stepanov * \version 0.0.1 * \copyright * MIT License \n * Copyright (c) 2020 Andrey Stepanov \n * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associa...
36.961165
178
0.728395
standmit
1e1fe314867a8af0ecc68554b3732925a3c848f2
26,219
cc
C++
src/cpu/o3/AliasCache.cc
danteisalive/gem5-cap
18b1f13db7181ccc19743eb779bda6096d7bff32
[ "BSD-3-Clause" ]
1
2021-05-28T04:07:03.000Z
2021-05-28T04:07:03.000Z
src/cpu/o3/AliasCache.cc
danteisalive/gem5-cap
18b1f13db7181ccc19743eb779bda6096d7bff32
[ "BSD-3-Clause" ]
null
null
null
src/cpu/o3/AliasCache.cc
danteisalive/gem5-cap
18b1f13db7181ccc19743eb779bda6096d7bff32
[ "BSD-3-Clause" ]
1
2021-05-28T04:07:10.000Z
2021-05-28T04:07:10.000Z
/* * Copyright (c) 2004-2005 The Regents of The University of Michigan * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: redistributions of source code must retain the above copyright * not...
36.721289
79
0.514551
danteisalive
1e20e6a7d88c6b54fab33d122964cc91db014c50
3,270
cpp
C++
SDL2/SDL2Engine/SDL2Engine/Config.cpp
functard/INK.-A-SDL-2-GAME
2b65706c65ba38fa909c8b7726863f3c4e835748
[ "MIT" ]
1
2022-02-22T13:42:44.000Z
2022-02-22T13:42:44.000Z
SDL2/SDL2Engine/SDL2Engine/Config.cpp
functard/INK.-A-SDL-2-GAME
2b65706c65ba38fa909c8b7726863f3c4e835748
[ "MIT" ]
null
null
null
SDL2/SDL2Engine/SDL2Engine/Config.cpp
functard/INK.-A-SDL-2-GAME
2b65706c65ba38fa909c8b7726863f3c4e835748
[ "MIT" ]
null
null
null
#pragma region project include #include "Config.h" #include "Helper.h" #pragma endregion // Made by Iman, Ege #pragma region variables int GConfig::s_BlockWidth = 64; int GConfig::s_BlockHeight = 64; int GConfig::s_BlockAtlasWidth = 26; int GConfig::s_BlockAtlasHeight = 26; float GConfig::s_Gravity = 9.81f; float GCo...
25.952381
55
0.693578
functard
1e2489b6edb3a82e10a031963f2c4eb87736f5cc
315
cpp
C++
examples/texture.cpp
RedBull4/AceEngine
21bf7048ed04c4b0374960da089df3ab2b484b99
[ "MIT" ]
6
2020-10-30T19:08:24.000Z
2022-01-21T12:54:54.000Z
examples/texture.cpp
RedBull4/AceEngine
21bf7048ed04c4b0374960da089df3ab2b484b99
[ "MIT" ]
null
null
null
examples/texture.cpp
RedBull4/AceEngine
21bf7048ed04c4b0374960da089df3ab2b484b99
[ "MIT" ]
1
2021-12-04T23:03:37.000Z
2021-12-04T23:03:37.000Z
#include <AceEngine/AceEngine.hpp> #include <iostream> using namespace std; ACE::texture texture; int main() { texture.load("texture.png"); cout << "Format: " << texture.get_format() << endl; cout << "Width: " << texture.get_size().x << endl; cout << "Height: " << texture.get_size().y << endl; }
24.230769
55
0.619048
RedBull4
1e29a1c28e2e2766ca264751e70a6a5cb140edb7
2,933
cpp
C++
automated-tests/src/dali-toolkit/dali-toolkit-test-utils/toolkit-lifecycle-controller.cpp
dalihub/dali-toolk
980728a7e35b8ddd28f70c090243e8076e21536e
[ "Apache-2.0", "BSD-3-Clause" ]
7
2016-11-18T10:26:51.000Z
2021-01-28T13:51:59.000Z
automated-tests/src/dali-toolkit/dali-toolkit-test-utils/toolkit-lifecycle-controller.cpp
dalihub/dali-toolk
980728a7e35b8ddd28f70c090243e8076e21536e
[ "Apache-2.0", "BSD-3-Clause" ]
13
2020-07-15T11:33:03.000Z
2021-04-09T21:29:23.000Z
automated-tests/src/dali-toolkit/dali-toolkit-test-utils/toolkit-lifecycle-controller.cpp
dalihub/dali-toolk
980728a7e35b8ddd28f70c090243e8076e21536e
[ "Apache-2.0", "BSD-3-Clause" ]
10
2019-05-17T07:15:09.000Z
2021-05-24T07:28:08.000Z
/* * Copyright (c) 2018 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
27.669811
120
0.684623
dalihub
1e2b31dfd19054fa590c4022117e42129ca44447
23,969
cpp
C++
src/InputBox.cpp
RSKYS/sboui
e136d334f1fc5a60d1e3e98961c489086f753455
[ "MIT" ]
23
2017-03-26T06:28:20.000Z
2022-03-15T20:34:28.000Z
src/InputBox.cpp
RSKYS/sboui
e136d334f1fc5a60d1e3e98961c489086f753455
[ "MIT" ]
4
2017-05-25T19:16:51.000Z
2022-03-16T20:38:37.000Z
src/InputBox.cpp
RSKYS/sboui
e136d334f1fc5a60d1e3e98961c489086f753455
[ "MIT" ]
3
2018-09-05T23:08:23.000Z
2021-04-05T06:15:23.000Z
#include <string> #include <curses.h> #include <cmath> // floor, ceil #include <algorithm> // min, max #include <chrono> // sleep_for #include <thread> // this_thread #include "Color.h" #include "settings.h" #include "signals.h" #include "InputItem.h" #include "InputBox.h" #include "MouseEvent.h" /******...
25.283755
80
0.548834
RSKYS
1e2f1e1cdefcfe7bfb7e8bea707a6a342d798cae
4,763
cpp
C++
tc/equal.t.cpp
think-cell/range
caf13413f2c5bb8f4dbe0ccf8161c0eb3b1edcc9
[ "BSL-1.0" ]
210
2015-01-14T21:24:38.000Z
2022-03-24T13:14:11.000Z
tc/equal.t.cpp
think-cell/range
caf13413f2c5bb8f4dbe0ccf8161c0eb3b1edcc9
[ "BSL-1.0" ]
13
2015-12-14T11:31:48.000Z
2021-04-30T10:08:32.000Z
tc/equal.t.cpp
think-cell/range
caf13413f2c5bb8f4dbe0ccf8161c0eb3b1edcc9
[ "BSL-1.0" ]
52
2015-12-01T10:13:05.000Z
2022-03-04T18:45:42.000Z
// think-cell public library // // Copyright (C) 2016-2021 think-cell Software GmbH // // 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 "range.h" #include "range.t.h" namespace { //---- Equal with vector<i...
34.766423
203
0.687382
think-cell
1e32d02c4a1ae95c303bec89f8089c44a0cd2fca
36,398
cc
C++
be/src/util/min-max-filter-test.cc
ColdZoo/impala
300398e90ace6aa2ca64adff529a859d67ee8588
[ "Apache-2.0" ]
null
null
null
be/src/util/min-max-filter-test.cc
ColdZoo/impala
300398e90ace6aa2ca64adff529a859d67ee8588
[ "Apache-2.0" ]
null
null
null
be/src/util/min-max-filter-test.cc
ColdZoo/impala
300398e90ace6aa2ca64adff529a859d67ee8588
[ "Apache-2.0" ]
null
null
null
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
46.784062
90
0.623825
ColdZoo
1e34e18f8640339c5dc5a459f2f8bdbb54a2a331
4,809
cpp
C++
src/Library/Components/API/Skeleton/Lidar1d/Dx1000/Dx1000_1_8_8_0R/private/Dx1000_CoLa_Extension.cpp
SickScan/ssbl
b7338253ac653853f8f785e9275270a808d557ed
[ "Apache-2.0" ]
1
2021-04-03T03:36:00.000Z
2021-04-03T03:36:00.000Z
src/Library/Components/API/Skeleton/Lidar1d/Dx1000/Dx1000_1_8_8_0R/private/Dx1000_CoLa_Extension.cpp
SickScan/ssbl
b7338253ac653853f8f785e9275270a808d557ed
[ "Apache-2.0" ]
1
2020-06-23T11:14:29.000Z
2020-06-23T11:14:29.000Z
src/Library/Components/API/Skeleton/Lidar1d/Dx1000/Dx1000_1_8_8_0R/private/Dx1000_CoLa_Extension.cpp
SickScan/sick_scan_base
b7338253ac653853f8f785e9275270a808d557ed
[ "Apache-2.0" ]
null
null
null
//=========================================== // Generated file - do not modify //=========================================== #include "API/Skeleton/Lidar1d/Dx1000/Dx1000_1_8_8_0R/include/Dx1000_CoLa_Extension.h" namespace ssbl { namespace Dx1000_1_8_8_0R_Skeleton { void Dx1000_CoLaBSerializer::Serialize(uint8_t* p...
26.13587
110
0.778332
SickScan
1e3a1aab767a1f8e4e621e296ed8ebaa8a807964
1,889
cpp
C++
EngineUPC/MainApp/TB3D_PlayerControl.cpp
UPC-DESARROLLO-JUEGOS-1/DJ1-2017-II-TileEngine3D
748b570545aef735bb0e94e5d30ca421dca177bf
[ "MIT" ]
null
null
null
EngineUPC/MainApp/TB3D_PlayerControl.cpp
UPC-DESARROLLO-JUEGOS-1/DJ1-2017-II-TileEngine3D
748b570545aef735bb0e94e5d30ca421dca177bf
[ "MIT" ]
null
null
null
EngineUPC/MainApp/TB3D_PlayerControl.cpp
UPC-DESARROLLO-JUEGOS-1/DJ1-2017-II-TileEngine3D
748b570545aef735bb0e94e5d30ca421dca177bf
[ "MIT" ]
null
null
null
#include "TB3D_PlayerControl.h" #include "TB3D_Player.h" #include <FrameworkUPC\GameFramework.h> TB3D_PlayerControl::TB3D_PlayerControl(TB3D_Player* player) { mPlayer = player; } TB3D_PlayerControl::~TB3D_PlayerControl() { } void TB3D_PlayerControl::Initialize() { mCanGoLeft = false; mCanGoRight = false; mCanGoF...
20.532609
93
0.716252
UPC-DESARROLLO-JUEGOS-1
1e3be7b58ae8c07e767376a0596159e50cdff9a5
17,976
cpp
C++
CrystalCavern/Plugins/VRM4U/Intermediate/Build/Win64/UE4Editor/Inc/VRM4U/VrmEditorEventComponent.gen.cpp
NikkoBertoa/test
6e27eb89ae8fddb41535a73617704cb1c8f6e125
[ "Apache-2.0" ]
null
null
null
CrystalCavern/Plugins/VRM4U/Intermediate/Build/Win64/UE4Editor/Inc/VRM4U/VrmEditorEventComponent.gen.cpp
NikkoBertoa/test
6e27eb89ae8fddb41535a73617704cb1c8f6e125
[ "Apache-2.0" ]
null
null
null
CrystalCavern/Plugins/VRM4U/Intermediate/Build/Win64/UE4Editor/Inc/VRM4U/VrmEditorEventComponent.gen.cpp
NikkoBertoa/test
6e27eb89ae8fddb41535a73617704cb1c8f6e125
[ "Apache-2.0" ]
null
null
null
// Copyright Epic Games, Inc. All Rights Reserved. /*=========================================================================== Generated code exported from UnrealHeaderTool. DO NOT modify this manually! Edit the corresponding .h files instead! ========================================================================...
73.073171
1,059
0.865877
NikkoBertoa
1e3ef306c349e54683ca4fdffb85d3d12b9478c6
6,813
hpp
C++
Code/PROJECT XYZ/Code/include/Engine/Graphics/Parallax.hpp
SonarSystems/Project-XYZ
428e270c49d76b4a029a6691e426f321da1c5d21
[ "Unlicense" ]
12
2020-11-23T08:00:49.000Z
2021-07-10T23:48:52.000Z
Code/PROJECT XYZ/Code/include/Engine/Graphics/Parallax.hpp
SonarSystems/Project-XYZ
428e270c49d76b4a029a6691e426f321da1c5d21
[ "Unlicense" ]
null
null
null
Code/PROJECT XYZ/Code/include/Engine/Graphics/Parallax.hpp
SonarSystems/Project-XYZ
428e270c49d76b4a029a6691e426f321da1c5d21
[ "Unlicense" ]
4
2020-12-01T16:42:34.000Z
2021-06-10T16:33:29.000Z
#pragma once namespace Sonar { class Parallax { public: /** * \brief Default class constructor */ Parallax( GameDataRef data ); /** * \brief Class destructor */ ~Parallax( ); /** * \brief Update the Parallax * ...
30.146018
126
0.583003
SonarSystems
1e46f71af6b8a6757e5c8416d48989a62550c41a
5,395
hpp
C++
source/zisc/core/zisc/random/xoshiro_engine-inl.hpp
byzin/Zisc
c74f50c51f82c847f39a603607d73179004436bb
[ "MIT" ]
2
2017-10-18T13:24:11.000Z
2018-05-15T00:40:52.000Z
source/zisc/core/zisc/random/xoshiro_engine-inl.hpp
byzin/Zisc
c74f50c51f82c847f39a603607d73179004436bb
[ "MIT" ]
9
2016-09-05T11:07:03.000Z
2019-07-05T15:31:04.000Z
source/zisc/core/zisc/random/xoshiro_engine-inl.hpp
byzin/Zisc
c74f50c51f82c847f39a603607d73179004436bb
[ "MIT" ]
null
null
null
/*! \file xoshiro_engine-inl.hpp \author Sho Ikeda \brief No brief description \details No detailed description. \copyright Copyright (c) 2015-2021 Sho Ikeda This software is released under the MIT License. http://opensource.org/licenses/mit-license.php */ #ifndef ZISC_XOSHIRO_ENGINE_INL_HPP #def...
24.976852
81
0.720111
byzin
1e5114a2222be960f8a8d820d2d9bc2a1153c81a
555
cpp
C++
codeforces/round-308/div-2/vanya_and_table.cpp
Rkhoiwal/Competitive-prog-Archive
18a95a8b2b9ca1a28d6fe939c1db5450d541ddc9
[ "MIT" ]
1
2020-07-16T01:46:38.000Z
2020-07-16T01:46:38.000Z
codeforces/round-308/div-2/vanya_and_table.cpp
Rkhoiwal/Competitive-prog-Archive
18a95a8b2b9ca1a28d6fe939c1db5450d541ddc9
[ "MIT" ]
null
null
null
codeforces/round-308/div-2/vanya_and_table.cpp
Rkhoiwal/Competitive-prog-Archive
18a95a8b2b9ca1a28d6fe939c1db5450d541ddc9
[ "MIT" ]
1
2020-05-27T14:30:43.000Z
2020-05-27T14:30:43.000Z
#include <iostream> using namespace std; inline void use_io_optimizations() { ios_base::sync_with_stdio(false); cin.tie(nullptr); } int main() { use_io_optimizations(); unsigned int rectangles; cin >> rectangles; unsigned int sum {0}; for (unsigned int i {0}; i < rectangles; ++i) {...
15
49
0.536937
Rkhoiwal
1e52f83e102102e9369b9eb86346a9bbb1176e3c
497
cc
C++
cpp/leetcode/58.length-of-last-word.cc
liubang/laboratory
747f239a123cd0c2e5eeba893b9a4d1536555b1e
[ "MIT" ]
3
2021-03-03T13:18:23.000Z
2022-02-09T07:49:24.000Z
cpp/leetcode/58.length-of-last-word.cc
liubang/laboratory
747f239a123cd0c2e5eeba893b9a4d1536555b1e
[ "MIT" ]
null
null
null
cpp/leetcode/58.length-of-last-word.cc
liubang/laboratory
747f239a123cd0c2e5eeba893b9a4d1536555b1e
[ "MIT" ]
1
2021-03-29T15:21:42.000Z
2021-03-29T15:21:42.000Z
#include <gtest/gtest.h> #include <string> namespace { class Solution { public: int lengthOfLastWord(const std::string& s) { int i = s.length() - 1; int ret = 0; // 去末尾空格 while (i >= 0 && s[i] == ' ') { i--; } while (i >= 0 && s[i] != ' ') { ret++; i--; } return re...
17.137931
54
0.527163
liubang
1e59140b6ff60305c969b2a39e4ece684d2b2c0b
10,890
hpp
C++
include/ans_sint.hpp
mpetri/ans-large-alphabet
416c7e794a3f6ffa4db4d327b4ac2f3c229e99ff
[ "Apache-2.0" ]
null
null
null
include/ans_sint.hpp
mpetri/ans-large-alphabet
416c7e794a3f6ffa4db4d327b4ac2f3c229e99ff
[ "Apache-2.0" ]
null
null
null
include/ans_sint.hpp
mpetri/ans-large-alphabet
416c7e794a3f6ffa4db4d327b4ac2f3c229e99ff
[ "Apache-2.0" ]
null
null
null
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
35.472313
80
0.608907
mpetri
1e5ea457dfd18c5e4f05891881745ebf1a09f774
3,173
hpp
C++
3rdparty/lzasm/unittest/arm/arm32/assembler_test_utilities.hpp
tom42/shrinkler-gba
011bfa092e079cbdfd1304400f7b88cf956c110b
[ "MIT" ]
null
null
null
3rdparty/lzasm/unittest/arm/arm32/assembler_test_utilities.hpp
tom42/shrinkler-gba
011bfa092e079cbdfd1304400f7b88cf956c110b
[ "MIT" ]
null
null
null
3rdparty/lzasm/unittest/arm/arm32/assembler_test_utilities.hpp
tom42/shrinkler-gba
011bfa092e079cbdfd1304400f7b88cf956c110b
[ "MIT" ]
null
null
null
// MIT License // // lzasm: a runtime assembler // Copyright 2021 Thomas Mathys // // 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 rig...
45.985507
97
0.605736
tom42
1e6008c7f4ca40a4e3787b53ff2ed26485601abb
2,033
cpp
C++
GladiatorGame/Source/GladiatorGame/DwarfEnemyCharacter.cpp
litelawliet/UnrealGames
f11d769f09fa31ded2e14a9dd0a7cb9ade6ec89f
[ "MIT" ]
null
null
null
GladiatorGame/Source/GladiatorGame/DwarfEnemyCharacter.cpp
litelawliet/UnrealGames
f11d769f09fa31ded2e14a9dd0a7cb9ade6ec89f
[ "MIT" ]
null
null
null
GladiatorGame/Source/GladiatorGame/DwarfEnemyCharacter.cpp
litelawliet/UnrealGames
f11d769f09fa31ded2e14a9dd0a7cb9ade6ec89f
[ "MIT" ]
1
2021-11-28T11:15:03.000Z
2021-11-28T11:15:03.000Z
// Fill out your copyright notice in the Description page of Project Settings. #include "DwarfEnemyCharacter.h" #include "engine/World.h" #include "Kismet/KismetMathLibrary.h" #include "TimerManager.h" #include "Components/CapsuleComponent.h" #include "MyAIController.h" void ADwarfEnemyCharacter::BeginPlay() { Su...
27.849315
105
0.758977
litelawliet
1e67288c4c7efb6cf86b6c66263cae98006d9c20
8,170
cpp
C++
Source/Utils/PCOMP/PCOMP.cpp
Shhoya/KDU
a900341c5fb2efa5967ba0fd60db7597778aaf5e
[ "MIT" ]
null
null
null
Source/Utils/PCOMP/PCOMP.cpp
Shhoya/KDU
a900341c5fb2efa5967ba0fd60db7597778aaf5e
[ "MIT" ]
null
null
null
Source/Utils/PCOMP/PCOMP.cpp
Shhoya/KDU
a900341c5fb2efa5967ba0fd60db7597778aaf5e
[ "MIT" ]
null
null
null
/******************************************************************************* * * (C) COPYRIGHT AUTHORS, 2020 - 2022 * * TITLE: MAIN.CPP * * VERSION: 1.01 * * DATE: 25 Jan 2022 * * PCOMP - KDU's Provider Compressor. * * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF * ANY KIN...
22.322404
117
0.520318
Shhoya
1e6cbd2d33a36ee7ef6fc04de269ae483b80dc39
2,348
cpp
C++
src/iotoro_linux.cpp
victorhook/iotoro
2fcc03e462945e69bd51f21348a460d919ef9eac
[ "MIT" ]
null
null
null
src/iotoro_linux.cpp
victorhook/iotoro
2fcc03e462945e69bd51f21348a460d919ef9eac
[ "MIT" ]
null
null
null
src/iotoro_linux.cpp
victorhook/iotoro
2fcc03e462945e69bd51f21348a460d919ef9eac
[ "MIT" ]
null
null
null
#include "iotoro_linux.h" /* Creds to http://libraryofcprograms.blogspot.com/2014/10/url-to-ip-address.html */ static int hostname_to_ip(char * hostname , char* ip) { struct hostent *he; struct in_addr **addr_list; int i; if ((he = gethostbyname( hostname )) == NULL) { // get the host info ...
24.206186
84
0.636712
victorhook
1e71f0cb512f8678894216560d85c88f680d5724
427
cpp
C++
determine_if_input_is_valid.cpp
mrnettek/CPP
25127ae2dea8c4841787ae94669c56a716ee2bea
[ "MIT" ]
null
null
null
determine_if_input_is_valid.cpp
mrnettek/CPP
25127ae2dea8c4841787ae94669c56a716ee2bea
[ "MIT" ]
null
null
null
determine_if_input_is_valid.cpp
mrnettek/CPP
25127ae2dea8c4841787ae94669c56a716ee2bea
[ "MIT" ]
null
null
null
// MrNetTek // eddiejackson.net/blog // 10/14/2019 // free for public use // free to claim as your own // decides whether input is valid #include <iostream> using namespace std; int main(){ int age, minutes; cout << "What is your age: "; cin >> age; if (age > 99) cout << "Very funny." << endl; m...
18.565217
60
0.587822
mrnettek
1e7ee2686d2c753876cd83cc480ece78e28a7135
3,878
cpp
C++
rosbag2_storage_evaluation/src/benchmark/small_messages_benchmark.cpp
agutenkunst/rosbag2
0c1ea6a57ef14dfaebbb78d91e63e0a10c9622b9
[ "Apache-2.0" ]
118
2018-04-27T10:48:44.000Z
2022-03-30T14:45:13.000Z
rosbag2_storage_evaluation/src/benchmark/small_messages_benchmark.cpp
agutenkunst/rosbag2
0c1ea6a57ef14dfaebbb78d91e63e0a10c9622b9
[ "Apache-2.0" ]
851
2018-05-16T19:11:49.000Z
2022-03-31T23:02:50.000Z
rosbag2_storage_evaluation/src/benchmark/small_messages_benchmark.cpp
agutenkunst/rosbag2
0c1ea6a57ef14dfaebbb78d91e63e0a10c9622b9
[ "Apache-2.0" ]
147
2018-04-03T17:05:06.000Z
2022-03-24T06:05:42.000Z
/* * Copyright (c) 2018, Bosch Software Innovations GmbH. * * 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 require...
30.535433
96
0.686178
agutenkunst
1e8032df498a3bd779f5ead25529a5960465ef4f
2,068
cc
C++
src/Generator.cc
tomjerry213/ComplierProject
c573f031c8f8f5a281e483c56d4e8909b5e60fa2
[ "MIT" ]
null
null
null
src/Generator.cc
tomjerry213/ComplierProject
c573f031c8f8f5a281e483c56d4e8909b5e60fa2
[ "MIT" ]
null
null
null
src/Generator.cc
tomjerry213/ComplierProject
c573f031c8f8f5a281e483c56d4e8909b5e60fa2
[ "MIT" ]
null
null
null
#include "JsonVisitor.h" #include "IR.h" #include "IRPrinter.h" #include "IRMutator.h" #include "JsonAbsiVisitor.h" #include "JsonParser.h" #include "Generator.h" std::string generate(char* argv) { JsonParser x; x.loadJson(argv); x.parseKernel(); Type type; if (x.data_type == 0) { type = Type::i...
29.542857
115
0.531431
tomjerry213
1e819cbbb2f88d02780ac5dcf757fdedbf0729a9
493
cpp
C++
BattleTank/Source/BattleTank/Private/TankTurret.cpp
PushingGG-Games/BattleTank_UECourse
e58a3f8913bafbe56c2e613aba0b0a5013bf0ef7
[ "MIT" ]
null
null
null
BattleTank/Source/BattleTank/Private/TankTurret.cpp
PushingGG-Games/BattleTank_UECourse
e58a3f8913bafbe56c2e613aba0b0a5013bf0ef7
[ "MIT" ]
null
null
null
BattleTank/Source/BattleTank/Private/TankTurret.cpp
PushingGG-Games/BattleTank_UECourse
e58a3f8913bafbe56c2e613aba0b0a5013bf0ef7
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "Public/TankTurret.h" #include "BattleTank/BattleTank.h" #include "Engine/World.h" void UTankTurret::RotateTurret(float DirectionToTurn) { DirectionToTurn = FMath::Clamp<float>(DirectionToTurn, -1, +1); auto RotationChange = Dir...
32.866667
91
0.782961
PushingGG-Games
1e82410de64eb5cbe6c6bcaee081b4bd066e7ab6
1,273
cpp
C++
source/N2CompShape.cpp
xzrunner/nserializer
44c252703a53c5970b8d9f2b608d56830601055e
[ "MIT" ]
null
null
null
source/N2CompShape.cpp
xzrunner/nserializer
44c252703a53c5970b8d9f2b608d56830601055e
[ "MIT" ]
null
null
null
source/N2CompShape.cpp
xzrunner/nserializer
44c252703a53c5970b8d9f2b608d56830601055e
[ "MIT" ]
null
null
null
#include "ns/N2CompShape.h" #include "ns/CompType.h" #include <node2/CompShape.h> #include <geoshape/Shape2D.h> #include <boost/filesystem.hpp> #include <rttr/type> namespace ns { size_t N2CompShape::GetBinSize(const std::string& dir) const { // tood return 0; } void N2CompShape::StoreToBin(const std::string& di...
22.732143
134
0.711705
xzrunner
1e83c3650a6f0b6bb9e223b0cd9f776c11ba144e
794
cpp
C++
solved/c-e/expanding-rods/uva/expanding.cpp
abuasifkhan/pc-code
77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90
[ "Unlicense" ]
13
2015-09-30T19:18:04.000Z
2021-06-26T21:11:30.000Z
solved/c-e/expanding-rods/uva/expanding.cpp
sbmaruf/pc-code
77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90
[ "Unlicense" ]
null
null
null
solved/c-e/expanding-rods/uva/expanding.cpp
sbmaruf/pc-code
77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90
[ "Unlicense" ]
13
2015-01-04T09:49:54.000Z
2021-06-03T13:18:44.000Z
#include <cmath> #include <cstdio> #define EPS (10e-8) double L, n, C; int main() { while (true) { scanf("%lf%lf%lf", &L, &n, &C); if (L < 0 && n < 0 && C < 0) break; double a; // angle double s; // arc double c; // chord double r; // radius double h; ...
17.644444
44
0.357683
abuasifkhan
1e848ffc5807b118dfd1a7582dca99ea85d15e3b
63,191
cpp
C++
tket/tests/test_LexiRoute.cpp
CQCL/tket
3f3d7c24d9a6c9cfd85966c13dcccc8a13f92adb
[ "Apache-2.0" ]
104
2021-09-15T08:16:25.000Z
2022-03-28T21:19:00.000Z
tket/tests/test_LexiRoute.cpp
CQCL/tket
3f3d7c24d9a6c9cfd85966c13dcccc8a13f92adb
[ "Apache-2.0" ]
109
2021-09-16T17:14:22.000Z
2022-03-29T06:48:40.000Z
tket/tests/test_LexiRoute.cpp
CQCL/tket
3f3d7c24d9a6c9cfd85966c13dcccc8a13f92adb
[ "Apache-2.0" ]
8
2021-10-02T13:47:34.000Z
2022-03-17T15:36:56.000Z
// Copyright 2019-2022 Cambridge Quantum Computing // // 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...
39.00679
80
0.612065
CQCL
1e84af1942147efa7aad9e09ea0d925e1cc55a90
2,488
cpp
C++
tests/system_test/test_framework/gltf_loader_test.cpp
ohmaya/vulkan_best_practice_for_mobile_developers
356cf5229687346adcde2ca08875aa77a8bf530a
[ "MIT" ]
null
null
null
tests/system_test/test_framework/gltf_loader_test.cpp
ohmaya/vulkan_best_practice_for_mobile_developers
356cf5229687346adcde2ca08875aa77a8bf530a
[ "MIT" ]
null
null
null
tests/system_test/test_framework/gltf_loader_test.cpp
ohmaya/vulkan_best_practice_for_mobile_developers
356cf5229687346adcde2ca08875aa77a8bf530a
[ "MIT" ]
null
null
null
/* Copyright (c) 2019, Arm Limited and Contributors * * SPDX-License-Identifier: MIT * * 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 ...
33.621622
139
0.756431
ohmaya
1e88311fce7bd40f6b6cde8257a6f8bdb42a3c79
9,833
hpp
C++
modules/core/euler/include/nt2/euler/functions/simd/common/gammaln.hpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
34
2017-05-19T18:10:17.000Z
2022-01-04T02:18:13.000Z
modules/core/euler/include/nt2/euler/functions/simd/common/gammaln.hpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
null
null
null
modules/core/euler/include/nt2/euler/functions/simd/common/gammaln.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 - 2011 LRI UMR 8623 CNRS/Univ Paris Sud XI // // Distributed under the Boost Software License, Version 1.0. // Se...
34.623239
80
0.552324
psiha
1e8ca86f5cea74eb7c07e6aa3a6ac2f4e1e37e1b
7,170
cpp
C++
src/communityserver/s2s/CommunityServerSideProxyManager.cpp
mark-online/server
ca24898e2e5a9ccbaa11ef1ade57bb25260b717f
[ "MIT" ]
null
null
null
src/communityserver/s2s/CommunityServerSideProxyManager.cpp
mark-online/server
ca24898e2e5a9ccbaa11ef1ade57bb25260b717f
[ "MIT" ]
null
null
null
src/communityserver/s2s/CommunityServerSideProxyManager.cpp
mark-online/server
ca24898e2e5a9ccbaa11ef1ade57bb25260b717f
[ "MIT" ]
null
null
null
#include "CommunityServerPCH.h" #include "CommunityServerSideProxyManager.h" #include "CommunityServerSideProxy.h" #include <sne/base/utility/Assert.h> #include <sne/base/utility/Logger.h> namespace gideon { namespace communityserver { namespace { inline CommunityServerSideProxy* toProxy(sne::server::ServerSideProxy...
30
133
0.711437
mark-online
1e8ee5fe61cae840c596767d926db1f65ba1a13f
2,557
cpp
C++
src/ui/Cursor.cpp
alecnunn/mud
9e204e2dc65f4a8ab52da3d11e6a261ff279d353
[ "Zlib" ]
1
2019-03-28T20:45:32.000Z
2019-03-28T20:45:32.000Z
src/ui/Cursor.cpp
alecnunn/mud
9e204e2dc65f4a8ab52da3d11e6a261ff279d353
[ "Zlib" ]
null
null
null
src/ui/Cursor.cpp
alecnunn/mud
9e204e2dc65f4a8ab52da3d11e6a261ff279d353
[ "Zlib" ]
null
null
null
// Copyright (c) 2019 Hugo Amiard hugo.amiard@laposte.net // This software is provided 'as-is' under the zlib License, see the LICENSE.txt file. // This notice and the license may not be removed or altered from any source distribution. #include <infra/Cpp20.h> #ifdef MUD_MODULES module mud.ui; #else #include <ui/C...
28.098901
139
0.713727
alecnunn
1e8f8416b9868ae9c6c70f0f098f44ff0b4f75ba
3,429
cpp
C++
src/main/strategy_sinh_val.cpp
Matasx/mmbot
4065c029dd17c97307bc3626f5f6afdbe79e7d8f
[ "MIT" ]
106
2019-06-09T21:05:09.000Z
2022-03-29T00:26:12.000Z
src/main/strategy_sinh_val.cpp
Matasx/mmbot
4065c029dd17c97307bc3626f5f6afdbe79e7d8f
[ "MIT" ]
28
2019-06-11T13:16:25.000Z
2022-02-08T11:36:06.000Z
src/main/strategy_sinh_val.cpp
Matasx/mmbot
4065c029dd17c97307bc3626f5f6afdbe79e7d8f
[ "MIT" ]
40
2019-06-11T06:36:16.000Z
2022-03-11T04:22:33.000Z
/* * strategy_sinh.cpp * * Created on: 16. 6. 2020 * Author: ondra */ #include "strategy_sinh_val.h" #include "strategy_leveraged_base.tcc" #include <cmath> // https://www.desmos.com/calculator/r2qiezykq8 std::string_view SinhVal_Calculus::id = "sinh_val"; static const unsigned int int_steps = 20; #inc...
27.214286
115
0.699621
Matasx
1e94848fbead0e6d74736c756082d5d6ff9ce2db
300
hpp
C++
include/lol/def/LolLeaguesQueue.hpp
Maufeat/LeagueAPI
be7cb5093aab3f27d95b3c0e1d5700aa50126c47
[ "BSD-3-Clause" ]
1
2020-07-22T11:14:55.000Z
2020-07-22T11:14:55.000Z
include/lol/def/LolLeaguesQueue.hpp
Maufeat/LeagueAPI
be7cb5093aab3f27d95b3c0e1d5700aa50126c47
[ "BSD-3-Clause" ]
null
null
null
include/lol/def/LolLeaguesQueue.hpp
Maufeat/LeagueAPI
be7cb5093aab3f27d95b3c0e1d5700aa50126c47
[ "BSD-3-Clause" ]
4
2018-12-01T22:48:21.000Z
2020-07-22T11:14:56.000Z
#pragma once #include "../base_def.hpp" namespace lol { struct LolLeaguesQueue { json type; }; inline void to_json(json& j, const LolLeaguesQueue& v) { j["type"] = v.type; } inline void from_json(const json& j, LolLeaguesQueue& v) { v.type = j.at("type").get<json>(); } }
23.076923
60
0.62
Maufeat
1e9913244c2632d5b598e1837f6836a935a978c7
764
cpp
C++
src/xray/physics/sources/temp_storage_holder.cpp
ixray-team/ixray-2.0
85c3a544175842323fc82f42efd96c66f0fc5abb
[ "Linux-OpenIB" ]
3
2021-10-30T09:36:14.000Z
2022-03-26T17:00:06.000Z
src/xray/physics/sources/temp_storage_holder.cpp
acidicMercury8/ixray-2.0
85c3a544175842323fc82f42efd96c66f0fc5abb
[ "Linux-OpenIB" ]
null
null
null
src/xray/physics/sources/temp_storage_holder.cpp
acidicMercury8/ixray-2.0
85c3a544175842323fc82f42efd96c66f0fc5abb
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:08.000Z
2022-03-26T17:00:08.000Z
//////////////////////////////////////////////////////////////////////////// // Created : 29.01.2008 // Author : Konstantin Slipchenko // Copyright (C) GSC Game World - 2009 // all vectors that clear after every island step //////////////////////////////////////////////////////////////////////////// #include "p...
33.217391
93
0.566754
ixray-team
1e9b166255da7477b97917b16a21ca31f33faac0
22,815
cpp
C++
source/vision/algorithms/utils/operators.cpp
derpicated/articated_embedded
fb58452f904c84e7d65f74110c38d9849d4f5679
[ "MIT" ]
9
2017-01-31T22:30:28.000Z
2020-01-09T00:02:28.000Z
source/vision/algorithms/utils/operators.cpp
derpicated/articated_embedded
fb58452f904c84e7d65f74110c38d9849d4f5679
[ "MIT" ]
32
2016-10-04T11:25:48.000Z
2021-02-09T01:10:23.000Z
source/vision/algorithms/utils/operators.cpp
derpicated/articated_embedded
fb58452f904c84e7d65f74110c38d9849d4f5679
[ "MIT" ]
5
2017-09-28T21:48:51.000Z
2019-07-26T00:31:30.000Z
#include "operators.hpp" #include <cmath> #include <cstring> #include <iostream> #include <map> #include <numeric> #include <sstream> #include <stdint.h> #include <string> #include "shared/movement3d/movement3d.hpp" bool operator< (const keypoint_t& point, const keypoint_t& other_point) { bool ans = false; i...
34.515885
112
0.516853
derpicated
1e9c20c9979284f94531bb756bbc4cc90c637854
13,550
cpp
C++
openstudiocore/src/litesql/generator/objectmodel.cpp
bobzabcik/OpenStudio
858321dc0ad8d572de15858d2ae487b029a8d847
[ "blessing" ]
4
2015-05-02T21:04:15.000Z
2015-10-28T09:47:22.000Z
openstudiocore/src/litesql/generator/objectmodel.cpp
bobzabcik/OpenStudio
858321dc0ad8d572de15858d2ae487b029a8d847
[ "blessing" ]
11
2015-05-05T16:16:33.000Z
2017-08-10T08:15:50.000Z
openstudiocore/src/litesql/generator/objectmodel.cpp
bobzabcik/OpenStudio
858321dc0ad8d572de15858d2ae487b029a8d847
[ "blessing" ]
1
2017-09-23T12:51:13.000Z
2017-09-23T12:51:13.000Z
// include LiteSQL's header file and generated header file #include "xmlparser.hpp" #include "objectmodel.hpp" #include <string.h> #include "logger.hpp" using namespace std; using namespace xml; #define xmlStrcasecmp(s1,s2) ((s1==NULL) ? (s2!=NULL) : strcmp(s1,s2)) #define xmlStrEqual(s1,s2) (!strcmp(s1,s2)) stat...
21.138846
134
0.602509
bobzabcik
1e9e5347fccb3c780f1ac8fdda378a26407a1fd7
610
hpp
C++
libs/fnd/config/include/bksge/fnd/config/suffix/alignof.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
4
2018-06-10T13:35:32.000Z
2021-06-03T14:27:41.000Z
libs/fnd/config/include/bksge/fnd/config/suffix/alignof.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
566
2017-01-31T05:36:09.000Z
2022-02-09T05:04:37.000Z
libs/fnd/config/include/bksge/fnd/config/suffix/alignof.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
1
2018-07-05T04:40:53.000Z
2018-07-05T04:40:53.000Z
/** * @file alignof.hpp * * @brief BKSGE_ALIGNOF の定義 * * @author myoukaku */ #ifndef BKSGE_FND_CONFIG_SUFFIX_ALIGNOF_HPP #define BKSGE_FND_CONFIG_SUFFIX_ALIGNOF_HPP // // alignof workaround // #if !defined(BKSGE_ALIGNOF) # if defined(BKSGE_HAS_CXX11_ALIGNOF) # define BKSGE_ALIGNOF(type) aligno...
21.034483
48
0.732787
myoukaku
1e9ea8a185a45fee8ac75659c6df2cf4b0e46b26
2,547
hpp
C++
ige/include/ige/asset/Mesh.hpp
NoOverflow/ige
4859a97e5d3f75f45d8db578e476ef55bc1df95c
[ "MIT" ]
null
null
null
ige/include/ige/asset/Mesh.hpp
NoOverflow/ige
4859a97e5d3f75f45d8db578e476ef55bc1df95c
[ "MIT" ]
null
null
null
ige/include/ige/asset/Mesh.hpp
NoOverflow/ige
4859a97e5d3f75f45d8db578e476ef55bc1df95c
[ "MIT" ]
null
null
null
#ifndef AC864DC3_F356_4B1D_9667_F631D9DB3AEB #define AC864DC3_F356_4B1D_9667_F631D9DB3AEB #include <cstddef> #include <cstdint> #include <memory> #include <optional> #include <ranges> #include <span> #include <vector> namespace ige::asset { class Mesh { public: using Buffer = std::vector<std::byte>; enum cl...
24.728155
68
0.673734
NoOverflow
1ea3afd081f807cb701353890634b1f20ba20b14
1,507
hpp
C++
unit_tests/parser_tests.hpp
Sdc97/Rshell
37c0dd264799d199e6c0dc1f13ae1e25f9368620
[ "MIT" ]
1
2020-06-28T20:40:57.000Z
2020-06-28T20:40:57.000Z
unit_tests/parser_tests.hpp
Sdc97/Rshell
37c0dd264799d199e6c0dc1f13ae1e25f9368620
[ "MIT" ]
null
null
null
unit_tests/parser_tests.hpp
Sdc97/Rshell
37c0dd264799d199e6c0dc1f13ae1e25f9368620
[ "MIT" ]
1
2021-04-02T21:47:58.000Z
2021-04-02T21:47:58.000Z
#ifndef PARSER_TEST #define PARSER_TEST #include "gtest/gtest.h" #include "../header/Parser.hpp" TEST(ParserTestSet, singleCommand) { Parser p("echo \"hello\";"); EXPECT_EQ(p.showCmnd(0),"echo hello"); } TEST(parserTestSet, commandWithConnector) { Parser a("echo hello && echo bye;"); EXPECT_EQ(a.showCmnd(0), "ec...
28.980769
90
0.684804
Sdc97
1ea3e2203b9d76d4264b7dd8a0ed9e2df7522ac9
5,860
cc
C++
clickos.cc
sysml/clickos-ctl
b254e55e3894e72723b410a7912c28f5bbeac52f
[ "BSD-3-Clause" ]
3
2017-09-24T03:03:48.000Z
2021-04-26T20:57:09.000Z
clickos.cc
sysml/clickos-ctl
b254e55e3894e72723b410a7912c28f5bbeac52f
[ "BSD-3-Clause" ]
1
2021-04-20T11:44:59.000Z
2021-04-20T11:44:59.000Z
clickos.cc
sysml/clickos-ctl
b254e55e3894e72723b410a7912c28f5bbeac52f
[ "BSD-3-Clause" ]
4
2017-09-13T12:24:47.000Z
2020-11-29T14:59:43.000Z
/* * ClickOS Control * * file: clickos.cc * * NEC Europe Ltd. PROPRIETARY INFORMATION * * This software is supplied under the terms of a license agreement * or nondisclosure agreement with NEC Europe Ltd. and may not be * copied or disclosed except in accordance with the terms of that * ag...
27.641509
100
0.561092
sysml
1eaa29b299784d0be32d9f8bd87ab56d36da0358
1,936
cpp
C++
binary-search/easy/374.GuessNumberHigherOrLower.cpp
XiaotaoGuo/Leetcode-Solution-In-Cpp
8e01e35c742a7afb0c8cdd228a6a5e564375434e
[ "Apache-2.0" ]
null
null
null
binary-search/easy/374.GuessNumberHigherOrLower.cpp
XiaotaoGuo/Leetcode-Solution-In-Cpp
8e01e35c742a7afb0c8cdd228a6a5e564375434e
[ "Apache-2.0" ]
null
null
null
binary-search/easy/374.GuessNumberHigherOrLower.cpp
XiaotaoGuo/Leetcode-Solution-In-Cpp
8e01e35c742a7afb0c8cdd228a6a5e564375434e
[ "Apache-2.0" ]
null
null
null
/* * @lc app=leetcode id=374 lang=cpp * * [374] Guess Number Higher or Lower * * https://leetcode.com/problems/guess-number-higher-or-lower/description/ * * algorithms * Easy (44.61%) * Likes: 566 * Dislikes: 2035 * Total Accepted: 190.3K * Total Submissions: 425K * Testcase Example: '10\n6' * * W...
21.511111
77
0.555269
XiaotaoGuo
1eb076cf70a4bfd63e493ace6868a29b8da0e219
1,279
cpp
C++
6Shots-V2/CParticleEmitter.cpp
chrisdepas/6Shots
2b339b1a367e3421d502e7815548d0b13ea3e32c
[ "CC0-1.0" ]
1
2022-01-06T22:49:28.000Z
2022-01-06T22:49:28.000Z
6Shots-V2/CParticleEmitter.cpp
chrisdepas/6Shots-Game
2b339b1a367e3421d502e7815548d0b13ea3e32c
[ "CC0-1.0" ]
null
null
null
6Shots-V2/CParticleEmitter.cpp
chrisdepas/6Shots-Game
2b339b1a367e3421d502e7815548d0b13ea3e32c
[ "CC0-1.0" ]
null
null
null
#include "stdafx.h" #include "CParticleEmitter.h" CParticleEmitter::CParticleEmitter(sf::Vector2f position, int rate, float speed, float angle, float angleDeviation, float startSize, float endSize, float curTime, sf::Color startColor, sf::Color endColor, float lifespan, CBaseEntity* pAttachEnt) { m_bTemporary ...
31.975
149
0.706802
chrisdepas
1eb3a752be70046e3fa4d548f3cbb18f7f46fb89
9,935
cpp
C++
src/SQLC/src/SQLConnection.cpp
AntonioCoder/DB_Project
4c609cf1db435f0eb0a7117146c477ba048b5a6f
[ "Apache-2.0" ]
null
null
null
src/SQLC/src/SQLConnection.cpp
AntonioCoder/DB_Project
4c609cf1db435f0eb0a7117146c477ba048b5a6f
[ "Apache-2.0" ]
null
null
null
src/SQLC/src/SQLConnection.cpp
AntonioCoder/DB_Project
4c609cf1db435f0eb0a7117146c477ba048b5a6f
[ "Apache-2.0" ]
null
null
null
#include "SQLpch.h" #include "SQLConnection.h" _SQLC_START SQLConnection::SQLConnection(SQLWCHAR* pwszConnStr) : m_pwszConnStr(pwszConnStr), m_hEnv(NULL), m_hDbc(NULL), m_hStmt(NULL) { } SQLConnection::~SQLConnection() { if (m_hStmt) { SQLFreeHandle(SQL_HANDLE_STMT, m_hStmt); } if (m_hDbc) { SQLDisconn...
20.828092
87
0.660695
AntonioCoder
1eb548d593ac6a8f78ddd248815b72f1cf726d0b
2,070
cpp
C++
libs/Delphi/src/Syntax/Statements/DelphiTryStatementSyntax.cpp
henrikfroehling/interlinck
d9d947b890d9286c6596c687fcfcf016ef820d6b
[ "MIT" ]
null
null
null
libs/Delphi/src/Syntax/Statements/DelphiTryStatementSyntax.cpp
henrikfroehling/interlinck
d9d947b890d9286c6596c687fcfcf016ef820d6b
[ "MIT" ]
19
2021-12-01T20:37:23.000Z
2022-02-14T21:05:43.000Z
libs/Delphi/src/Syntax/Statements/DelphiTryStatementSyntax.cpp
henrikfroehling/interlinck
d9d947b890d9286c6596c687fcfcf016ef820d6b
[ "MIT" ]
null
null
null
#include "Syntax/Statements/DelphiTryStatementSyntax.hpp" #include <argos-Core/Basic/Macros.hpp> #include <argos-Core/Syntax/SyntaxKinds.hpp> namespace argos::Delphi::Syntax { using Core::Syntax::ISyntaxToken; using Core::Syntax::SyntaxKind; using Core::Syntax::SyntaxVariant; DelphiTryStatementSyntax::DelphiTryStat...
25.555556
95
0.714976
henrikfroehling
1ebb358a4b4ae21af2d8b65c03ecda92e5f52be3
486
hpp
C++
Kernel/include/backtrace.hpp
foxostro/FlapjackOS
34bd2cc9b0983b917a089efe2055ca8f78d56d9a
[ "BSD-2-Clause" ]
null
null
null
Kernel/include/backtrace.hpp
foxostro/FlapjackOS
34bd2cc9b0983b917a089efe2055ca8f78d56d9a
[ "BSD-2-Clause" ]
null
null
null
Kernel/include/backtrace.hpp
foxostro/FlapjackOS
34bd2cc9b0983b917a089efe2055ca8f78d56d9a
[ "BSD-2-Clause" ]
null
null
null
#ifndef FLAPJACKOS_KERNEL_INCLUDE_BACKTRACE_HPP #define FLAPJACKOS_KERNEL_INCLUDE_BACKTRACE_HPP #include <unwind.h> // for _Unwind_* symbols class StackWalker { public: struct StackFrame { const void* instruction_pointer = nullptr; const char* symbol_name = nullptr; }; virtual ~StackWalke...
24.3
52
0.748971
foxostro
1ebba24385f149e7d2e9d311f7daffb8c8b741a1
3,420
cpp
C++
rv-externals/Eigen_pod/eigen-eigen-ca142d0540d3/test/cholmod_support.cpp
hchengwang/rv-lcm-demo
fb03a5aa616ac89d6e6a6367f91a7cb3b133c8b7
[ "MIT" ]
11
2015-02-04T16:41:47.000Z
2021-12-10T07:02:44.000Z
rv-externals/Eigen_pod/eigen-eigen-ca142d0540d3/test/cholmod_support.cpp
hchengwang/rv-lcm-demo
fb03a5aa616ac89d6e6a6367f91a7cb3b133c8b7
[ "MIT" ]
null
null
null
rv-externals/Eigen_pod/eigen-eigen-ca142d0540d3/test/cholmod_support.cpp
hchengwang/rv-lcm-demo
fb03a5aa616ac89d6e6a6367f91a7cb3b133c8b7
[ "MIT" ]
6
2015-09-10T12:06:08.000Z
2021-12-10T07:02:48.000Z
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2011 Gael Guennebaud <g.gael@free.fr> // // Eigen is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Found...
47.5
122
0.814035
hchengwang
1ebbc5f5bddde2541ae315f566fec9dfdec52037
13,011
cpp
C++
test/v13/table_feature_property/action_id_test.cpp
amedama41/bulb
2e9fd8a8c35cfc2be2ecf5f747f83cf36ffbbdbb
[ "BSL-1.0" ]
null
null
null
test/v13/table_feature_property/action_id_test.cpp
amedama41/bulb
2e9fd8a8c35cfc2be2ecf5f747f83cf36ffbbdbb
[ "BSL-1.0" ]
8
2016-07-21T11:29:13.000Z
2016-12-03T05:16:42.000Z
test/v13/table_feature_property/action_id_test.cpp
amedama41/bulb
2e9fd8a8c35cfc2be2ecf5f747f83cf36ffbbdbb
[ "BSL-1.0" ]
null
null
null
#define BOOST_TEST_DYN_LINK #include <canard/net/ofp/v13/table_feature_property/id/action_id.hpp> #include <boost/test/unit_test.hpp> #include <boost/range/algorithm_ext/push_back.hpp> #include <canard/net/ofp/v13/io/openflow.hpp> #include "../../test_utility.hpp" namespace ofp = canard::net::ofp; namespace v13 = ofp...
32.125926
85
0.653985
amedama41
36322f73b618db22d0fda0ac8d538669a0ee2b50
3,633
hpp
C++
Test/Dimacs/DimacsGraphFunctor.hpp
rareylab/RIMACS
938790acc58191b3a6ece2feb82b5bb873224841
[ "BSD-3-Clause" ]
2
2021-10-18T08:51:13.000Z
2022-02-08T12:56:12.000Z
Test/Dimacs/DimacsGraphFunctor.hpp
rareylab/RIMACS
938790acc58191b3a6ece2feb82b5bb873224841
[ "BSD-3-Clause" ]
null
null
null
Test/Dimacs/DimacsGraphFunctor.hpp
rareylab/RIMACS
938790acc58191b3a6ece2feb82b5bb873224841
[ "BSD-3-Clause" ]
1
2021-05-29T13:07:11.000Z
2021-05-29T13:07:11.000Z
#pragma once #include <RIMACS/Functors/Functors.hpp> #include <RIMACS/Functors/GraphCachingFunctor.hpp> #include "DimacsGraph.hpp" namespace Dimacs { class BasicDimacsAdjacencyFunctor : public RIMACS::CachingRequiredMinimalAdjacencyFunctor { public: ~BasicDimacsAdjacencyFunctor() override; BasicDimacsAdjacen...
24.059603
105
0.743463
rareylab
363369d6d25f4c5be0717791e55934fb3541beef
2,137
hpp
C++
src/world/BlockPack.hpp
desktopgame/ofxPlanet
fe364e83f4c0ec0f169df63ce989a88ae6328c07
[ "BSD-2-Clause", "MIT" ]
3
2020-02-24T14:19:20.000Z
2021-05-17T11:25:07.000Z
src/world/BlockPack.hpp
desktopgame/ofxPlanet
fe364e83f4c0ec0f169df63ce989a88ae6328c07
[ "BSD-2-Clause", "MIT" ]
1
2020-02-25T09:20:34.000Z
2020-02-25T09:38:49.000Z
src/world/BlockPack.hpp
desktopgame/ofxPlanet
fe364e83f4c0ec0f169df63ce989a88ae6328c07
[ "BSD-2-Clause", "MIT" ]
1
2021-08-14T07:12:42.000Z
2021-08-14T07:12:42.000Z
#pragma once #ifndef WORLD_BLOCKPACK_HPP #define WORLD_BLOCKPACK_HPP #include <memory> #include <vector> #include "BlockInfoCollection.hpp" namespace ofxPlanet { class Block; /** * BlockPack is list a block collection. */ class BlockPack { public: /** * add BlockPack by specific block collec...
23.744444
72
0.532054
desktopgame
3633cf3a04019588e98fe2e9a30d11b9714604b0
16,625
cc
C++
proxy/mgmt2/AutoConf.cc
ibrezac/trafficserver
640c4f738b7858f93069f987ea141e0cafae72da
[ "Apache-2.0" ]
1
2017-10-26T12:04:44.000Z
2017-10-26T12:04:44.000Z
proxy/mgmt2/AutoConf.cc
pquerna/trafficserver
43b94d9926bf11573b178f46c01db6e235f1345e
[ "Apache-2.0" ]
null
null
null
proxy/mgmt2/AutoConf.cc
pquerna/trafficserver
43b94d9926bf11573b178f46c01db6e235f1345e
[ "Apache-2.0" ]
null
null
null
/** @file A brief file description @section license License Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you und...
32.032755
672
0.642466
ibrezac
363504c69ffab01200c50db1cbb2ebe50181d201
8,116
cpp
C++
tests/test_vision_bow.cpp
Paul-Hi/saiga
1b843bf7800f7113e7bd4d709fc965088078702d
[ "MIT" ]
null
null
null
tests/test_vision_bow.cpp
Paul-Hi/saiga
1b843bf7800f7113e7bd4d709fc965088078702d
[ "MIT" ]
null
null
null
tests/test_vision_bow.cpp
Paul-Hi/saiga
1b843bf7800f7113e7bd4d709fc965088078702d
[ "MIT" ]
null
null
null
/** * Copyright (c) 2017 Darius Rückert * Licensed under the MIT License. * See LICENSE file for more information. */ #include "saiga/core/time/all.h" #include "saiga/vision/VisionTypes.h" #include "saiga/vision/slam/MiniBow.h" #include "saiga/vision/slam/MiniBow2.h" #include "saiga/vision/util/Random.h" #incl...
27.511864
116
0.543001
Paul-Hi
363803269d8c3132a4a60e93500bd09eb21c2a77
1,048
hpp
C++
code/include/texturing/BillBoardPlaneRenderable.hpp
Shutter-Island-Team/Shutter-island
c5e7c0b2c60c34055e64104dcbc396b9e1635f33
[ "MIT" ]
4
2016-06-24T09:22:18.000Z
2019-06-13T13:50:53.000Z
code/include/texturing/BillBoardPlaneRenderable.hpp
Shutter-Island-Team/Shutter-island
c5e7c0b2c60c34055e64104dcbc396b9e1635f33
[ "MIT" ]
null
null
null
code/include/texturing/BillBoardPlaneRenderable.hpp
Shutter-Island-Team/Shutter-island
c5e7c0b2c60c34055e64104dcbc396b9e1635f33
[ "MIT" ]
2
2016-06-10T12:46:17.000Z
2018-10-14T06:37:21.000Z
#ifndef BILLBOARD_PLANE_RENDERABLE_HPP #define BILLBOARD_PLANE_RENDERABLE_HPP #include "./../Renderable.hpp" #include "./../lighting/Material.hpp" #include <vector> #include <glm/glm.hpp> class BillBoardPlaneRenderable : public Renderable { public : ~BillBoardPlaneRenderable(); BillBoardPlaneRenderable( ...
25.560976
91
0.736641
Shutter-Island-Team
36382b51af53dbe1f74372cdac8f6aa62f3fea67
1,113
hpp
C++
Hurrican/src/bosses/Boss_Rollmops.hpp
s1eve-mcdichae1/Hurrican
3ed6ff9ee94d2ea2b79e451466d28f06d58acf19
[ "MIT" ]
21
2018-04-13T10:45:45.000Z
2022-03-29T14:53:43.000Z
Hurrican/src/bosses/Boss_Rollmops.hpp
s1eve-mcdichae1/Hurrican
3ed6ff9ee94d2ea2b79e451466d28f06d58acf19
[ "MIT" ]
10
2018-07-03T02:08:44.000Z
2021-05-17T16:13:21.000Z
Hurrican/src/bosses/Boss_Rollmops.hpp
s1eve-mcdichae1/Hurrican
3ed6ff9ee94d2ea2b79e451466d28f06d58acf19
[ "MIT" ]
3
2021-10-08T12:35:05.000Z
2022-03-03T06:03:49.000Z
#ifndef _BOSS_ROLLMOPS_HPP_ #define _BOSS_ROLLMOPS_HPP_ #include "GegnerClass.hpp" #include "enemies/Gegner_Kettenglied.hpp" #include "enemies/Gegner_Stuff.hpp" #define NUM_KETTENGLIEDER 20 class GegnerRollmops : public GegnerClass { private: DirectGraphicsSprite Rollen; DirectGraphicsSprite Aufklappen; ...
25.883721
95
0.696316
s1eve-mcdichae1
3642ffab38381e3bf0e712dcfdb8b498d0d1a38e
4,458
cpp
C++
src/eventmanager/eventmanager.cpp
bille18/SuperBitcoin
f0145d53ec99decbcb571165b926f283c17e32bd
[ "MIT" ]
156
2017-11-17T06:14:29.000Z
2022-03-09T15:33:56.000Z
src/eventmanager/eventmanager.cpp
bille18/SuperBitcoin
f0145d53ec99decbcb571165b926f283c17e32bd
[ "MIT" ]
67
2017-11-16T12:10:27.000Z
2020-11-26T10:19:19.000Z
src/eventmanager/eventmanager.cpp
bille18/SuperBitcoin
f0145d53ec99decbcb571165b926f283c17e32bd
[ "MIT" ]
51
2017-11-17T06:21:13.000Z
2022-03-09T21:08:03.000Z
#include "eventmanager.h" //CEventManager& CEventManager::Instance() //{ // static CEventManager eventMgr; // return eventMgr; //} CEventManager::CEventManager() { #ifdef ENABLE_EVENT_SIGNATURE_VERIFY //mapEventSignature.emplace(EID_BLOCK, EventSignature<int, std::string, bool>()); //mapEventSignature....
25.474286
120
0.5821
bille18
3649a6c0d0ec6629e355ab1e10fb3c4c3696e1a4
1,875
hpp
C++
modules/core/euler/include/nt2/euler/constants/pi2o_6.hpp
feelpp/nt2
4d121e2c7450f24b735d6cff03720f07b4b2146c
[ "BSL-1.0" ]
34
2017-05-19T18:10:17.000Z
2022-01-04T02:18:13.000Z
modules/core/euler/include/nt2/euler/constants/pi2o_6.hpp
feelpp/nt2
4d121e2c7450f24b735d6cff03720f07b4b2146c
[ "BSL-1.0" ]
null
null
null
modules/core/euler/include/nt2/euler/constants/pi2o_6.hpp
feelpp/nt2
4d121e2c7450f24b735d6cff03720f07b4b2146c
[ "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 - 2011 LRI UMR 8623 CNRS/Univ Paris Sud XI // // Distributed under the Boost Software License, Version 1.0. // Se...
25.337838
133
0.5824
feelpp
364cfb8c592df4a0cff86d6b4d3ccb16f6623dc0
2,692
cpp
C++
UnitTests/AnyTests.cpp
jodavis42/SimpleMeta
1d42ef6b9a1138789c48f988c22eaaec3519f381
[ "MIT" ]
null
null
null
UnitTests/AnyTests.cpp
jodavis42/SimpleMeta
1d42ef6b9a1138789c48f988c22eaaec3519f381
[ "MIT" ]
37
2020-02-06T16:10:59.000Z
2020-03-11T00:29:26.000Z
UnitTests/AnyTests.cpp
jodavis42/SimpleMeta
1d42ef6b9a1138789c48f988c22eaaec3519f381
[ "MIT" ]
1
2020-02-13T17:05:25.000Z
2020-02-13T17:05:25.000Z
#include "AnyTests.hpp" #include "Bindings.hpp" #include "MetaSerialization.hpp" #include "Any.hpp" #include "UnitTesting.hpp" #include "TestTypes/Math.hpp" using SimpleReflection::ReflectionLibrary; using SimpleReflection::ReflectionProject; using SimpleReflection::BoundType; using SimpleReflection::Any; struct La...
19.507246
96
0.655646
jodavis42
364ea8ac7b2b8a76ce70e67eec459347c952b463
44,522
hpp
C++
IPQC/src/IPhreeqc.hpp
APeche/OGS-HYSTEM-EXTRAN
467feebe8dd8cc584c1c49e45b8008495efe8fc5
[ "Apache-2.0" ]
30
2015-09-26T00:26:28.000Z
2022-01-20T10:13:13.000Z
IPQC/src/IPhreeqc.hpp
APeche/OGS-HYSTEM-EXTRAN
467feebe8dd8cc584c1c49e45b8008495efe8fc5
[ "Apache-2.0" ]
129
2016-01-25T12:54:40.000Z
2021-04-10T18:57:37.000Z
IPQC/src/IPhreeqc.hpp
APeche/OGS-HYSTEM-EXTRAN
467feebe8dd8cc584c1c49e45b8008495efe8fc5
[ "Apache-2.0" ]
100
2015-08-01T12:04:34.000Z
2022-03-16T16:22:39.000Z
/*! @file IPhreeqc.hpp @brief C++ Documentation */ #ifndef INC_IPHREEQC_HPP #define INC_IPHREEQC_HPP #include <exception> #include <list> #include <vector> #include <map> #include <cstdarg> #include "IPhreeqcCallbacks.h" /* PFN_PRERUN_CALLBACK, PFN_POSTRUN_CALLBACK, PFN_CATCH_CALLBACK */ #include "Var.h" ...
45.154158
318
0.659359
APeche
3654625cba303a64b266dfd91b58a97324f4b8a9
15,265
cpp
C++
lib/vulkan/device.cpp
talvos/talvos
f2f134eb74402f87eeff8f93027a2a7c988177ff
[ "BSD-3-Clause" ]
66
2018-03-12T18:25:34.000Z
2021-08-10T02:14:56.000Z
lib/vulkan/device.cpp
talvos/talvos
f2f134eb74402f87eeff8f93027a2a7c988177ff
[ "BSD-3-Clause" ]
10
2018-04-14T09:42:56.000Z
2019-03-29T11:44:12.000Z
lib/vulkan/device.cpp
talvos/talvos
f2f134eb74402f87eeff8f93027a2a7c988177ff
[ "BSD-3-Clause" ]
5
2018-03-29T09:30:22.000Z
2020-12-22T23:59:28.000Z
// Copyright (c) 2018 the Talvos developers. All rights reserved. // // This file is distributed under a three-clause BSD license. For full license // terms please see the LICENSE file distributed with this source code. #include "runtime.h" #include <cstring> #include "talvos/Device.h" #include "talvos/PipelineConte...
39.342784
79
0.766263
talvos
365525007b0f5557d290ae06e74c65fdfed47fc0
3,854
cpp
C++
test/test_execution_payload.cpp
famastefano/Taskete
0166b72783320476222e3e1e7737f04cb395e595
[ "MIT" ]
null
null
null
test/test_execution_payload.cpp
famastefano/Taskete
0166b72783320476222e3e1e7737f04cb395e595
[ "MIT" ]
7
2020-09-20T19:18:46.000Z
2020-10-06T08:24:39.000Z
test/test_execution_payload.cpp
famastefano/Taskete
0166b72783320476222e3e1e7737f04cb395e595
[ "MIT" ]
null
null
null
#include <doctest.h> #include "../source/taskete/execution_payload.hpp" #include <memory> // Callables used for this test namespace { // Just a helper to construct an execution_payload template<typename... Ts> std::unique_ptr<taskete::detail::execution_payload> create_payload(Ts&&... ts) { re...
23.5
101
0.604826
famastefano
365a0e460817a8a34a295a30c6cf3f4392406a67
7,047
cpp
C++
SparseMatrixFileAddition.cpp
CaiGwatkin/CPP_SparseMatrixFileAddition
3d37e7ee4778b5162835a6d05583da5aeaefd6e5
[ "MIT" ]
null
null
null
SparseMatrixFileAddition.cpp
CaiGwatkin/CPP_SparseMatrixFileAddition
3d37e7ee4778b5162835a6d05583da5aeaefd6e5
[ "MIT" ]
null
null
null
SparseMatrixFileAddition.cpp
CaiGwatkin/CPP_SparseMatrixFileAddition
3d37e7ee4778b5162835a6d05583da5aeaefd6e5
[ "MIT" ]
null
null
null
////////////////////////////////////////////// // Cai Gwatkin // ////////////////////////////////////////////// // This application adds two sparse // // matrices (from text files) together // // and outputs each matrix // ////////////////////////////////////////////// #include "SparseMatrixFileAddition.h...
31.459821
248
0.702427
CaiGwatkin
365dc4caaf08eb9cf835b98e6cecd7e9735144f6
1,126
cpp
C++
src/dvm/validation/BlockChainImporter.cpp
IOCoin/DIONS
a0b34425f2a0a3055e619c8b4225debb68f27bc6
[ "MIT" ]
49
2017-06-06T21:50:27.000Z
2022-01-03T23:11:44.000Z
src/dvm/validation/BlockChainImporter.cpp
IOCoin/DIONS
a0b34425f2a0a3055e619c8b4225debb68f27bc6
[ "MIT" ]
6
2017-11-27T19:29:34.000Z
2018-04-22T15:13:52.000Z
src/dvm/validation/BlockChainImporter.cpp
IOCoin/DIONS
a0b34425f2a0a3055e619c8b4225debb68f27bc6
[ "MIT" ]
31
2017-06-26T19:04:46.000Z
2022-03-01T03:07:39.000Z
// Licensed under the GNU General Public License, Version 3. #include "BlockChainImporter.h" #include "BlockChain.h" #include <libdevcore/RLP.h> #include <libdvmcore/BlockHeader.h> namespace dev { namespace dvm { namespace { class BlockChainImporter: public BlockChainImporterFace { public: explicit BlockChainImpo...
21.653846
131
0.784192
IOCoin
365eb4e9e9cd2b4f9af23ed823e151ce43832bf4
1,791
cpp
C++
EU4toV2/Source/Mappers/TechSchools/TechSchool.cpp
GregB76/EU4toVic2
0a8822101a36a16036fdc315e706d113d9231101
[ "MIT" ]
3
2018-12-23T17:04:15.000Z
2021-05-06T14:12:28.000Z
EU4toV2/Source/Mappers/TechSchools/TechSchool.cpp
IhateTrains/EU4toVic2
061f5e1a0bc1a1f3b54bdfe471b501260149b56b
[ "MIT" ]
null
null
null
EU4toV2/Source/Mappers/TechSchools/TechSchool.cpp
IhateTrains/EU4toVic2
061f5e1a0bc1a1f3b54bdfe471b501260149b56b
[ "MIT" ]
null
null
null
#include "TechSchool.h" #include "ParserHelpers.h" #include <cmath> mappers::TechSchool::TechSchool(std::istream& theStream) { registerKeyword("army_tech_research_bonus", [this](const std::string& unused, std::istream& theStream) { const commonItems::singleDouble bonusDbl(theStream); armyBonus = bonusDbl.getD...
35.117647
107
0.747627
GregB76
365eee4c50618f8f6d75098e385f13a6eb450405
858
cpp
C++
Array/303. Range Sum Query - Immutable.cpp
sumiya-NJU/LeetCode-
8e6065e160da3db423a51aaf3ae53b2023068d05
[ "MIT" ]
2
2019-10-28T06:40:09.000Z
2022-03-09T10:50:06.000Z
Array/303. Range Sum Query - Immutable.cpp
sumiya-NJU/LeetCode
8e6065e160da3db423a51aaf3ae53b2023068d05
[ "MIT" ]
null
null
null
Array/303. Range Sum Query - Immutable.cpp
sumiya-NJU/LeetCode
8e6065e160da3db423a51aaf3ae53b2023068d05
[ "MIT" ]
1
2018-12-09T13:46:06.000Z
2018-12-09T13:46:06.000Z
/** * Your NumArray object will be instantiated and called as such: * NumArray* obj = new NumArray(nums); * int param_1 = obj->sumRange(i,j); */ /* 方法一:暴力 author:ypz */ class NumArray { private: vector<int> data; public: NumArray(vector<int>& nums) { for(int i = 0; i < nums.size(); i++) ...
17.16
64
0.494172
sumiya-NJU
36665188c45119c028f6b631a96f22ee5d4ba415
3,274
cpp
C++
src/textures.cpp
vlj/YAGF
139ddc9c7d3552f383e235715713c30684b7067f
[ "MIT" ]
15
2015-04-16T19:41:41.000Z
2019-10-23T23:30:18.000Z
src/textures.cpp
vlj/YAGF
139ddc9c7d3552f383e235715713c30684b7067f
[ "MIT" ]
6
2015-04-16T19:46:53.000Z
2017-11-16T03:06:58.000Z
src/textures.cpp
vlj/YAGF
139ddc9c7d3552f383e235715713c30684b7067f
[ "MIT" ]
6
2015-11-18T16:23:33.000Z
2021-10-31T04:40:05.000Z
// Copyright (C) 2015 Vincent Lejeune // For conditions of distribution and use, see copyright notice in License.txt #include <Scene/textures.h> #include <gli/gli.hpp> std::tuple<std::unique_ptr<image_t>, std::unique_ptr<buffer_t>> load_texture(device_t &dev, std::string &&texture_name, command_list_t &up...
41.974359
80
0.681429
vlj
3669252a872859210c7476625917f620585a3daf
8,477
cpp
C++
coast/modules/LDAP/Test/LDAPConnectionManagerTest.cpp
zer0infinity/CuteForCoast
37d933c5fe2e0ce9a801f51b2aa27c7a18098511
[ "BSD-3-Clause" ]
null
null
null
coast/modules/LDAP/Test/LDAPConnectionManagerTest.cpp
zer0infinity/CuteForCoast
37d933c5fe2e0ce9a801f51b2aa27c7a18098511
[ "BSD-3-Clause" ]
null
null
null
coast/modules/LDAP/Test/LDAPConnectionManagerTest.cpp
zer0infinity/CuteForCoast
37d933c5fe2e0ce9a801f51b2aa27c7a18098511
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2005, Peter Sommerlad and IFS Institute for Software at HSR Rapperswil, Switzerland * All rights reserved. * * This library/application is free software; you can redistribute and/or modify it under the terms of * the license that is included with this library/application in the file license.txt....
42.174129
133
0.739413
zer0infinity
3672afb82bfd60860e694480468040815ee39b27
2,849
cpp
C++
Utils/scramble/scramble.cpp
Ybalrid/orbiter
7bed82f845ea8347f238011367e07007b0a24099
[ "MIT" ]
1,040
2021-07-27T12:12:06.000Z
2021-08-02T14:24:49.000Z
Utils/scramble/scramble.cpp
Ybalrid/orbiter
7bed82f845ea8347f238011367e07007b0a24099
[ "MIT" ]
20
2021-07-27T12:25:22.000Z
2021-08-02T12:22:19.000Z
Utils/scramble/scramble.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 // Simple scrambling of text strings #define _CRT_SECURE_NO_WARNINGS #include <stdio.h> #include <string.h> #include <stdlib.h> #include <time.h> #include <fstream> #include <iostream> using namespace std; char datestr[64]; char versionstr[64]; v...
24.991228
105
0.51562
Ybalrid
36745ee98540e864cf476f1a71eec463fa3b98bb
4,688
cpp
C++
src/blender.cpp
mpiatka/gpustitch
be5520b440d44aa45df3e2bdb66969561a091462
[ "BSD-3-Clause" ]
null
null
null
src/blender.cpp
mpiatka/gpustitch
be5520b440d44aa45df3e2bdb66969561a091462
[ "BSD-3-Clause" ]
null
null
null
src/blender.cpp
mpiatka/gpustitch
be5520b440d44aa45df3e2bdb66969561a091462
[ "BSD-3-Clause" ]
null
null
null
#include <cmath> #include "blender.hpp" #include "profile_timer.hpp" #include "blend.h" namespace gpustitch{ Blender::Blender(const Stitcher_params& params, const std::vector<Overlap>& overlaps) : params(params), overlaps(overlaps) { } Feather_blender::Feather_blender(const Stitcher_params& params, const std::...
24.164948
110
0.651451
mpiatka
367756f3d2a9e7239389876965c1f52d9fab4037
1,800
hpp
C++
Include/Injector/Network/TcpServerSocket.hpp
InjectorGames/Inject
09e74a83c287b81fd8272c10d6bae2b1aa785c0e
[ "BSD-3-Clause" ]
2
2019-12-10T16:26:58.000Z
2020-04-17T11:47:42.000Z
Include/Injector/Network/TcpServerSocket.hpp
InjectorGames/Inject
09e74a83c287b81fd8272c10d6bae2b1aa785c0e
[ "BSD-3-Clause" ]
28
2020-08-17T12:39:50.000Z
2020-11-16T20:42:50.000Z
Include/Injector/Network/TcpServerSocket.hpp
InjectorGames/InjectorEngine
09e74a83c287b81fd8272c10d6bae2b1aa785c0e
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include "TcpSessionSocket.hpp" #include <memory> namespace Injector { // Transfer Control Protocol server socket class class TcpServerSocket { protected: // Server TCP socket Socket socket; // Maximal session count size_t maxSessionCount; // Client accept thread std::thread acceptThread;...
28.125
63
0.742222
InjectorGames
367949893ad8c215049b2d8f40d5d2eaf2cb7016
3,932
cpp
C++
src/main.cpp
Fa2019-3460-635/net-flow-and-circ
cb9de5d1a69193854231e4d01379e4d40b22ae86
[ "MIT" ]
1
2019-10-26T18:07:53.000Z
2019-10-26T18:07:53.000Z
src/main.cpp
Fa2019-3460-635/net-flow-and-circ
cb9de5d1a69193854231e4d01379e4d40b22ae86
[ "MIT" ]
25
2019-08-29T22:06:50.000Z
2019-10-04T13:44:17.000Z
src/main.cpp
Fa2019-3460-635/net-flow-and-circ
cb9de5d1a69193854231e4d01379e4d40b22ae86
[ "MIT" ]
null
null
null
#include <fstream> #include <getopt.h> #include <iostream> #include <string> #include <unistd.h> #include "program_options.hpp" #include "flow_network.hpp" #include "bfs.hpp" #include "fordfulkerson.hpp" #include "circulationgraph.hpp" #include "circulation.hpp" int main(int argc, char **argv) { try { ProgramOp...
38.54902
147
0.57706
Fa2019-3460-635
367b27b6002488bc4d6e3968db7d5229d3ef9e2b
3,491
cpp
C++
CLRS/BinaryTree/LowestCommonAncestorofaBinaryTree.cpp
ComputerProgrammerStorager/DataStructureAlgorithm
508f7e37898c907ea7ea6ec40749621a2349e93f
[ "MIT" ]
null
null
null
CLRS/BinaryTree/LowestCommonAncestorofaBinaryTree.cpp
ComputerProgrammerStorager/DataStructureAlgorithm
508f7e37898c907ea7ea6ec40749621a2349e93f
[ "MIT" ]
null
null
null
CLRS/BinaryTree/LowestCommonAncestorofaBinaryTree.cpp
ComputerProgrammerStorager/DataStructureAlgorithm
508f7e37898c907ea7ea6ec40749621a2349e93f
[ "MIT" ]
null
null
null
/* Given a binary tree, find the lowest common ancestor (LCA) of two given nodes in the tree. According to the definition of LCA on Wikipedia: “The lowest common ancestor is defined between two nodes p and q as the lowest node in T that has both p and q as descendants (where we allow a node to be a descendant of itsel...
27.706349
229
0.532799
ComputerProgrammerStorager
367d3e009ade3f613318774de21b1cbd63c874a4
1,226
cpp
C++
GeeksForGeeks/C Plus Plus/Replace_Element_with_Greatest_Element_on_its_Right.cpp
ankit-sr/Competitive-Programming
3397b313b80a32a47cfe224426a6e9c7cf05dec2
[ "MIT" ]
4
2021-06-19T14:15:34.000Z
2021-06-21T13:53:53.000Z
GeeksForGeeks/C Plus Plus/Replace_Element_with_Greatest_Element_on_its_Right.cpp
ankit-sr/Competitive-Programming
3397b313b80a32a47cfe224426a6e9c7cf05dec2
[ "MIT" ]
2
2021-07-02T12:41:06.000Z
2021-07-12T09:37:50.000Z
GeeksForGeeks/C Plus Plus/Replace_Element_with_Greatest_Element_on_its_Right.cpp
ankit-sr/Competitive-Programming
3397b313b80a32a47cfe224426a6e9c7cf05dec2
[ "MIT" ]
3
2021-06-19T15:19:20.000Z
2021-07-02T17:24:51.000Z
/* Problem Statement: ------------------ Given an array of integers, replace every element with the least greater element on its right side in the array. If there are no greater elements on the right side, replace it with -1. Examples: --------- Input: [8, 58, 71, 18, 31, 32, 63, 92, 43, 3, 91, 93, 25, 80, 28] Outpu...
22.703704
113
0.530995
ankit-sr
367f0a292e01cb595c91ec07548f029e5091b449
2,741
cpp
C++
MCW10Backned/MCW10Backend/MinecraftAppLauncher.cpp
jocopa3/MCW10-Stats-Viewer
097c35e2bf0df47c2d71c7cb5b1449ba15a5fc7b
[ "MIT" ]
8
2016-10-06T05:35:47.000Z
2021-05-20T02:22:14.000Z
MCW10Backned/MCW10Backend/MinecraftAppLauncher.cpp
jocopa3/MCW10-Stats-Viewer
097c35e2bf0df47c2d71c7cb5b1449ba15a5fc7b
[ "MIT" ]
null
null
null
MCW10Backned/MCW10Backend/MinecraftAppLauncher.cpp
jocopa3/MCW10-Stats-Viewer
097c35e2bf0df47c2d71c7cb5b1449ba15a5fc7b
[ "MIT" ]
1
2021-05-20T02:22:19.000Z
2021-05-20T02:22:19.000Z
#include <Windows.h> #include <Tlhelp32.h> #include <ShObjIdl.h> #include <atlbase.h> #include "ThreadWorker.h" #include "ProcessUtils.h" #include "MinecraftAppLauncher.h" HRESULT MinecraftAppLauncher::showMessageBox(AppUtils::AppDebugger* app) { HRESULT hresult; switch (MessageBox(NULL, L"Minecraft is already ru...
25.616822
104
0.759942
jocopa3
368646084d06386b3b79a4cef8eec1123aba3a37
22,490
cxx
C++
media/papers/OpenPatternMatching/artifact/code/syntax.cxx
akrzemi1/Mach7
eef288eb9fe59712ff153dd70791365391b7b118
[ "BSD-3-Clause" ]
1,310
2015-01-04T03:44:04.000Z
2022-03-18T04:44:01.000Z
media/papers/OpenPatternMatching/artifact/code/syntax.cxx
akrzemi1/Mach7
eef288eb9fe59712ff153dd70791365391b7b118
[ "BSD-3-Clause" ]
62
2015-01-12T07:59:17.000Z
2021-11-14T22:02:14.000Z
media/papers/OpenPatternMatching/artifact/code/syntax.cxx
akrzemi1/Mach7
eef288eb9fe59712ff153dd70791365391b7b118
[ "BSD-3-Clause" ]
108
2015-02-13T17:39:07.000Z
2021-11-18T11:06:59.000Z
/// /// \file /// /// This file is a part of pattern matching testing suite. /// /// \author Yuriy Solodkyy <yuriy.solodkyy@gmail.com> /// /// This file is a part of Mach7 library (http://parasol.tamu.edu/mach7/). /// Copyright (C) 2011-2012 Texas A&M University. /// All rights reserved. /// #include "matc...
39.875887
195
0.458737
akrzemi1
36865ec946afefae86843a4d6d4a3671747d11b3
1,075
cpp
C++
moai/src/zlcore/zl_util.cpp
jjimenezg93/ai-pathfinding
e32ae8be30d3df21c7e64be987134049b585f1e6
[ "MIT" ]
null
null
null
moai/src/zlcore/zl_util.cpp
jjimenezg93/ai-pathfinding
e32ae8be30d3df21c7e64be987134049b585f1e6
[ "MIT" ]
null
null
null
moai/src/zlcore/zl_util.cpp
jjimenezg93/ai-pathfinding
e32ae8be30d3df21c7e64be987134049b585f1e6
[ "MIT" ]
null
null
null
// Copyright (c) 2010-2011 Zipline Games, Inc. All Rights Reserved. // http://getmoai.com #include "pch.h" #include <zlcore/zl_util.h> //================================================================// // util //================================================================// //----------------------------------...
25.595238
77
0.394419
jjimenezg93
3689ba23a6743159ee3524d7359482dba0df00e8
1,884
cc
C++
inet/src/inet/networklayer/common/EchoProtocolPrinter.cc
ntanetani/quisp
003f85746266d2eb62c66883e5b965b654672c70
[ "BSD-3-Clause" ]
null
null
null
inet/src/inet/networklayer/common/EchoProtocolPrinter.cc
ntanetani/quisp
003f85746266d2eb62c66883e5b965b654672c70
[ "BSD-3-Clause" ]
null
null
null
inet/src/inet/networklayer/common/EchoProtocolPrinter.cc
ntanetani/quisp
003f85746266d2eb62c66883e5b965b654672c70
[ "BSD-3-Clause" ]
1
2021-07-02T13:32:40.000Z
2021-07-02T13:32:40.000Z
// // Copyright (C) 2018 OpenSim Ltd. // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public License // as published by the Free Software Foundation; either version 2 // of the License, or (at your option) any later version. // // This program i...
36.230769
153
0.672505
ntanetani
368b25be0cea7dcafa7fde958c75b09e88b6de2a
561
cpp
C++
Applications/Game/src/Systems/MovingObstacleSystem.cpp
lcomstive/Code-Design-Data-Structures
a85884f00d1bdf83bf2e41443b725ce0ec2168db
[ "MIT" ]
1
2021-09-24T02:29:49.000Z
2021-09-24T02:29:49.000Z
Applications/Game/src/Systems/MovingObstacleSystem.cpp
lcomstive/Code-Design-Data-Structures
a85884f00d1bdf83bf2e41443b725ce0ec2168db
[ "MIT" ]
null
null
null
Applications/Game/src/Systems/MovingObstacleSystem.cpp
lcomstive/Code-Design-Data-Structures
a85884f00d1bdf83bf2e41443b725ce0ec2168db
[ "MIT" ]
1
2021-09-24T02:29:51.000Z
2021-09-24T02:29:51.000Z
#include <Systems/MovingObstacleSystem.hpp> #include <Components/ObstacleComponent.hpp> #include <ECS/components/transform-component.hpp> using namespace ECS; using namespace Utilities; void MovingObstacleSystem::Update(float deltaTime) { auto pairs = GetWorld()->GetComponents<ObstacleComponent, TransformComponent>(...
29.526316
81
0.761141
lcomstive
369404749622ab3c58c0694e4fafe645aec5ea32
27,396
cpp
C++
test/fixtures/nif_ref_generated/nif/example.cpp
vanillahsu/unifex
a501479b611a94c8a1477d969e170a7280673b7c
[ "Apache-2.0" ]
42
2018-09-11T02:27:00.000Z
2022-03-23T18:30:56.000Z
test/fixtures/nif_ref_generated/nif/example.cpp
vanillahsu/unifex
a501479b611a94c8a1477d969e170a7280673b7c
[ "Apache-2.0" ]
30
2018-10-18T10:56:22.000Z
2022-03-09T13:04:51.000Z
test/fixtures/nif_ref_generated/nif/example.cpp
vanillahsu/unifex
a501479b611a94c8a1477d969e170a7280673b7c
[ "Apache-2.0" ]
7
2018-10-24T09:21:40.000Z
2022-03-29T12:39:08.000Z
#include "example.h" UNIFEX_TERM init_result_ok(UnifexEnv *env, int was_handle_load_called, UnifexState *state) { return ({ const ERL_NIF_TERM terms[] = {enif_make_atom(env, "ok"), enif_make_int(env, was_handle_load_called), ...
33.207273
80
0.592386
vanillahsu
3694bb90e1e5f02b3988162aef2a1e1a6bb9fce5
129
cpp
C++
src/main.cpp
pedro-bento/solitude
c3904bb5598523fd708d362762dac521f4cb8166
[ "MIT" ]
1
2020-08-06T16:51:48.000Z
2020-08-06T16:51:48.000Z
src/main.cpp
pedro-bento/solitude
c3904bb5598523fd708d362762dac521f4cb8166
[ "MIT" ]
null
null
null
src/main.cpp
pedro-bento/solitude
c3904bb5598523fd708d362762dac521f4cb8166
[ "MIT" ]
null
null
null
#include "application.h" #include "config.h" int main(void) { //readConfig(); Application app; app.run(); return 0; }
9.923077
24
0.627907
pedro-bento
3694d033306c61f8fb1924491b41ee41d79d82a6
1,490
hpp
C++
include/RavEngine/PhysicsLinkSystem.hpp
Ravbug/RavEngine
73249827cb2cd3c938bb59447e9edbf7b6f0defc
[ "Apache-2.0" ]
48
2020-11-18T23:14:25.000Z
2022-03-11T09:13:42.000Z
include/RavEngine/PhysicsLinkSystem.hpp
Ravbug/RavEngine
73249827cb2cd3c938bb59447e9edbf7b6f0defc
[ "Apache-2.0" ]
1
2020-11-17T20:53:10.000Z
2020-12-01T20:27:36.000Z
include/RavEngine/PhysicsLinkSystem.hpp
Ravbug/RavEngine
73249827cb2cd3c938bb59447e9edbf7b6f0defc
[ "Apache-2.0" ]
3
2020-12-22T02:40:39.000Z
2021-10-08T02:54:22.000Z
#pragma once // // PhysicsLinkSystem.hpp // RavEngine_Static // // Copyright © 2020 Ravbug. // #include "System.hpp" #include "PhysXDefines.h" #include <PxPhysicsAPI.h> #include "PhysicsBodyComponent.hpp" #include "ScriptSystem.hpp" #include "CTTI.hpp" namespace RavEngine { /** This System copies the Entity's t...
29.215686
108
0.746309
Ravbug
369a5056a7a7ebe07596bd3dff921042a042d32d
399
cc
C++
examples/0009.floating point/double_fixed.cc
zyddnys/fast_io
8162dfae01a7460da5f73d2867cadcf298f74349
[ "MIT" ]
null
null
null
examples/0009.floating point/double_fixed.cc
zyddnys/fast_io
8162dfae01a7460da5f73d2867cadcf298f74349
[ "MIT" ]
null
null
null
examples/0009.floating point/double_fixed.cc
zyddnys/fast_io
8162dfae01a7460da5f73d2867cadcf298f74349
[ "MIT" ]
null
null
null
#include<iostream> #include"../../include/fast_io.h" #include"ryu.h" int main() { // auto v(1621.68796996734999993350); auto v(123.93542857386751165905); println(fast_io::out,"my implementation ",fast_io::fixed<20>(v)); print(fast_io::out,"ryu implementation "); std::array<char,1024> arr; auto p(arr.data()+d2fixe...
26.6
66
0.689223
zyddnys
369b5d057c6a2b94f88883b9fd7347f714fa7800
804
cpp
C++
File Handlers/CHK/Sections/CHKSectionTYPE.cpp
poiuyqwert/SCMS
8aa5f90a8f4caf1db489614fdbd5fb2decf783d7
[ "MIT" ]
null
null
null
File Handlers/CHK/Sections/CHKSectionTYPE.cpp
poiuyqwert/SCMS
8aa5f90a8f4caf1db489614fdbd5fb2decf783d7
[ "MIT" ]
null
null
null
File Handlers/CHK/Sections/CHKSectionTYPE.cpp
poiuyqwert/SCMS
8aa5f90a8f4caf1db489614fdbd5fb2decf783d7
[ "MIT" ]
null
null
null
// // CHKSectionTYPE.cpp // SCMS // // Created by Zach Zahos on 2016-01-04. // // #include "CHKSectionTYPE.h" #include "CHK.h" #include "CHKSectionVER.h" const CHKRequirements CHKSectionTYPE::Requirements = {CHKVer::None, CHKGameMode::None}; CHKSectionTYPE::CHKSectionTYPE(CHK *chk) : CHKSection(chk) { this->typ...
22.971429
87
0.690299
poiuyqwert
369c401ad430925d6d83a5ec49c2e0476970f5ce
353
cpp
C++
tests/utility/misc/test_ReferenceArray.cpp
AI448/ACCBOOST
08715a478997b6b192a95f45d0610ed3c8a40ff5
[ "BSD-2-Clause" ]
1
2020-02-03T10:11:02.000Z
2020-02-03T10:11:02.000Z
tests/utility/misc/test_ReferenceArray.cpp
AI448/ACCBOOST
08715a478997b6b192a95f45d0610ed3c8a40ff5
[ "BSD-2-Clause" ]
null
null
null
tests/utility/misc/test_ReferenceArray.cpp
AI448/ACCBOOST
08715a478997b6b192a95f45d0610ed3c8a40ff5
[ "BSD-2-Clause" ]
null
null
null
#include "StaticArray.hpp" #include "get.hpp" #include "TEST_UTILS.hpp" using namespace ACCBOOST; int main() { int x = 1; int y = 2; int z = 3; StaticArray<int&, 3> a = {x, y, z}; TEST_UTILS::dump(a); a[0] = 5; ACCBOOST::get<1>(a) = 4; TEST_UTILS::dump(a); // std::array<int, 3> b = a; // TES...
11.766667
37
0.566572
AI448
369c8d91fe356300fb7adfc44c7418bccaab6411
524
cpp
C++
src/rendering/color.cpp
samsannchez/3D-Gravity-Simulator
fed82c1d6e0e5f94782de177c248ab719fbe3eaa
[ "Apache-2.0" ]
14
2020-12-22T16:44:35.000Z
2022-03-28T10:49:22.000Z
src/rendering/color.cpp
samsannchez/3D-Gravity-Simulator
fed82c1d6e0e5f94782de177c248ab719fbe3eaa
[ "Apache-2.0" ]
2
2020-12-26T16:54:57.000Z
2021-07-18T07:57:59.000Z
src/rendering/color.cpp
samsannchez/3D-Gravity-Simulator
fed82c1d6e0e5f94782de177c248ab719fbe3eaa
[ "Apache-2.0" ]
7
2021-02-22T10:15:28.000Z
2022-03-28T02:22:45.000Z
#include "color.h" Color::Color(float red, float green, float blue) { this->red = red; this->green = green; this->blue = blue; } Color::Color(unsigned int hex) { int red, green, blue; red = hex >> 16; green = (hex & 0x00ff00) >> 8; blue = (hex & 0x0000ff); this->red = red / 255.0f; this->green = green / ...
16.903226
79
0.570611
samsannchez
36a50b949c3d4e876415ff9f3611b7b0c5d05f8d
788
cpp
C++
src/Windows/FileDialog.cpp
KondeU/CommonSerial
d615a563e04eb0c6e914758012ed18cc4a421bf7
[ "BSD-2-Clause" ]
1
2022-03-30T09:33:22.000Z
2022-03-30T09:33:22.000Z
src/Windows/FileDialog.cpp
KondeU/CommonSerial
d615a563e04eb0c6e914758012ed18cc4a421bf7
[ "BSD-2-Clause" ]
null
null
null
src/Windows/FileDialog.cpp
KondeU/CommonSerial
d615a563e04eb0c6e914758012ed18cc4a421bf7
[ "BSD-2-Clause" ]
null
null
null
#include "stdafx.h" namespace Common{ c_file_dlg::c_file_dlg() { ::memset(&_ofn, 0, sizeof(_ofn)); _ofn.lStructSize = sizeof(_ofn); _ofn.hInstance = theApp.instance(); _ofn.nMaxFile = sizeof(_buffer); _ofn.lpstrFile = _buffer; *_buffer = '\0'; } c_file_open_dlg::c_file_open_dlg() { _ofn.Flags = ...
18.761905
131
0.71066
KondeU
36aa26128a2e8616ea42ec6ec84aa7f8d6f6cced
8,307
cpp
C++
src/expander/rcp.cpp
Flasew/opera-sim
1f64017883689c115b8442acab7ef52846ab2c18
[ "BSD-3-Clause" ]
null
null
null
src/expander/rcp.cpp
Flasew/opera-sim
1f64017883689c115b8442acab7ef52846ab2c18
[ "BSD-3-Clause" ]
null
null
null
src/expander/rcp.cpp
Flasew/opera-sim
1f64017883689c115b8442acab7ef52846ab2c18
[ "BSD-3-Clause" ]
null
null
null
#include "rcp.h" //////////////////////////////////////////////////////////////// // RCP SOURCE //////////////////////////////////////////////////////////////// RcpSrc::RcpSrc(RcpLogger* logger, TrafficLogger* pktlogger, EventList &eventlist) : EventSource(eventlist,"rcp"), _logger(logger), _flow(p...
29.881295
110
0.629228
Flasew
a5df1c6aaff0f7bdbc203baa57ab1e222381c12f
21,930
cpp
C++
editor/widgets/controls/NumControlItem.cpp
remaininlight/axiom
abd3d9232ffe89dff84b0ef56ab4a1ba9e58d7ce
[ "MIT" ]
null
null
null
editor/widgets/controls/NumControlItem.cpp
remaininlight/axiom
abd3d9232ffe89dff84b0ef56ab4a1ba9e58d7ce
[ "MIT" ]
null
null
null
editor/widgets/controls/NumControlItem.cpp
remaininlight/axiom
abd3d9232ffe89dff84b0ef56ab4a1ba9e58d7ce
[ "MIT" ]
null
null
null
#include "NumControlItem.h" #include <QtCore/QRegularExpression> #include <QtCore/QStringBuilder> #include <QtGui/QClipboard> #include <QtGui/QGuiApplication> #include <QtWidgets/QGraphicsScene> #include <QtWidgets/QGraphicsSceneMouseEvent> #include <QtWidgets/QLineEdit> #include <QtWidgets/QMenu> #include <...
41.377358
121
0.646147
remaininlight