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
53cffcce8f6c207095d511f4629668bd41857bb6
10,689
cpp
C++
iOS/G3MApp/G3MApp/G3MHUDDemoScene.cpp
AeroGlass/g3m
a21a9e70a6205f1f37046ae85dafc6e3bfaeb917
[ "BSD-2-Clause" ]
null
null
null
iOS/G3MApp/G3MApp/G3MHUDDemoScene.cpp
AeroGlass/g3m
a21a9e70a6205f1f37046ae85dafc6e3bfaeb917
[ "BSD-2-Clause" ]
null
null
null
iOS/G3MApp/G3MApp/G3MHUDDemoScene.cpp
AeroGlass/g3m
a21a9e70a6205f1f37046ae85dafc6e3bfaeb917
[ "BSD-2-Clause" ]
null
null
null
// // G3MHUDDemoScene.cpp // G3MApp // // Created by Diego Gomez Deck on 12/2/14. // Copyright (c) 2014 Igo Software SL. All rights reserved. // #include "G3MHUDDemoScene.hpp" //#include <G3MiOSSDK/G3MWidget.hpp> #include <G3MiOSSDK/MapBoxLayer.hpp> #include <G3MiOSSDK/LayerSet.hpp> #include <G3MiOSSDK/CanvasImag...
41.27027
116
0.477874
AeroGlass
53d1654bd095104482205740dbd1d2022d6be557
1,346
hpp
C++
Hardware/src/hard/rpi_gpio.hpp
torunxxx001/BookCollectionSystem
cce2942e30c460949ba729db432f0efdd66f8465
[ "MIT" ]
null
null
null
Hardware/src/hard/rpi_gpio.hpp
torunxxx001/BookCollectionSystem
cce2942e30c460949ba729db432f0efdd66f8465
[ "MIT" ]
null
null
null
Hardware/src/hard/rpi_gpio.hpp
torunxxx001/BookCollectionSystem
cce2942e30c460949ba729db432f0efdd66f8465
[ "MIT" ]
null
null
null
/* 参考PDF[BCM2835-ARM-Peripherals.pdf] */ /* RaspberryPI用GPIO操作プログラム */ /* 対応表 PIN NAME 0 GPIO 2(SDA) 1 GPIO 3(SCL) 2 GPIO 4(GPCLK0) 3 GPIO 7(CE1) 4 GPIO 8(CE0) 5 GPIO 9(MISO) 6 GPIO 10(MOSI) 7 GPIO 11(SCLK) 8 GPIO 14(TXD) 9 GPIO 15(RXD) 10 GPIO 17 11 GPIO 18(PCM_CLK) 12 GPIO 22 13 GPIO 23 14 GPIO 24 15 GPIO 25 16 GP...
16.02381
54
0.732541
torunxxx001
53d19d2e5ac46e190dc814d6c6e9592c5831fbe9
1,137
cpp
C++
src/query_tatami.cpp
LTLA/diet.scran
c274bf058e10c174a06a409af50fcad225d40f0d
[ "MIT" ]
null
null
null
src/query_tatami.cpp
LTLA/diet.scran
c274bf058e10c174a06a409af50fcad225d40f0d
[ "MIT" ]
null
null
null
src/query_tatami.cpp
LTLA/diet.scran
c274bf058e10c174a06a409af50fcad225d40f0d
[ "MIT" ]
null
null
null
#include "tatami/tatami.h" #include "Rcpp.h" #include "tatamize.h" //[[Rcpp::export(rng=false)]] Rcpp::IntegerVector tatami_dim(SEXP x) { auto ptr = extract_NumericMatrix(x); return Rcpp::IntegerVector::create(ptr->nrow(), ptr->ncol()); } //[[Rcpp::export(rng=false)]] Rcpp::NumericMatrix tatami_rows(SEXP x, R...
27.071429
94
0.648197
LTLA
53d3d8fbf496c15a7e0b017d0d78183d4f70afc5
1,256
cpp
C++
Bit Manipulation/1835. Find XOR Sum of All Pairs Bitwise AND.cpp
beckswu/Leetcode
480e8dc276b1f65961166d66efa5497d7ff0bdfd
[ "MIT" ]
138
2020-02-08T05:25:26.000Z
2021-11-04T11:59:28.000Z
Bit Manipulation/1835. Find XOR Sum of All Pairs Bitwise AND.cpp
beckswu/Leetcode
480e8dc276b1f65961166d66efa5497d7ff0bdfd
[ "MIT" ]
null
null
null
Bit Manipulation/1835. Find XOR Sum of All Pairs Bitwise AND.cpp
beckswu/Leetcode
480e8dc276b1f65961166d66efa5497d7ff0bdfd
[ "MIT" ]
24
2021-01-02T07:18:43.000Z
2022-03-20T08:17:54.000Z
/* We all know the distributive property that (a1+a2)*(b1+b2) = a1*b1 + a1*b2 + a2*b1 + a2*b2 Explanation Distributive property is similar for AND and XOR here. (a1^a2) & (b1^b2) = (a1&b1) ^ (a1&b2) ^ (a2&b1) ^ (a2&b2) (I wasn't aware of this at first either) 另一种思路, 如果所有arr2 中的数 第一个bit 是奇数个(求所有数第一位bit的xor),if ar...
26.723404
104
0.514331
beckswu
53d43ebb01cd7590624edbe6e9033bcf44f6d4ad
291
cpp
C++
Graph/DSU.cpp
scortier/DSA-Complete-Sheet
925a5cb148d9addcb32192fe676be76bfb2915c7
[ "MIT" ]
1
2021-07-20T06:08:26.000Z
2021-07-20T06:08:26.000Z
Graph/DSU.cpp
scortier/DSA-Complete-Sheet
925a5cb148d9addcb32192fe676be76bfb2915c7
[ "MIT" ]
null
null
null
Graph/DSU.cpp
scortier/DSA-Complete-Sheet
925a5cb148d9addcb32192fe676be76bfb2915c7
[ "MIT" ]
null
null
null
#define MAX 20001 int par[MAX], sz[MAX]; void init(int v) { par[v] = v; sz[v] = 1; } int find(int v) { return v == par[v] ? v : par[v] = find(par[v]); } void join(int u, int v) { u = find(u), v = find(v); if(u != v) { if(sz[u] < sz[v]) swap(u, v); par[v] = u; sz[u] += sz[v]; } }
17.117647
48
0.484536
scortier
53d6db547db42be009f19c81dd2f8ad1d67d5f6a
1,070
cpp
C++
Pm2Service/Pm2Helper.cpp
thebecwar/PM2Service
594fdc39f734a425ccd61fd6132755f32882afb6
[ "MIT" ]
null
null
null
Pm2Service/Pm2Helper.cpp
thebecwar/PM2Service
594fdc39f734a425ccd61fd6132755f32882afb6
[ "MIT" ]
null
null
null
Pm2Service/Pm2Helper.cpp
thebecwar/PM2Service
594fdc39f734a425ccd61fd6132755f32882afb6
[ "MIT" ]
null
null
null
#include "Pm2Helper.h" #include "Process.h" #define WIN32_LEAN_AND_MEAN #include <Windows.h> #include <PathCch.h> #include <locale> #include <codecvt> #include <string> #include <sstream> void ConvertNarrowToWide(std::string& narrow, std::wstring& wide) { std::wstring_convert<std::codecvt_utf8_utf16<wchar_t>> c...
23.777778
94
0.692523
thebecwar
53d7aa80fd1ff968638b54548a45f3b42086a965
517
cpp
C++
unittest/tests/JsonTest/source/Application.cpp
Hurleyworks/Ketone
97c0c730a6e3155154a0ccb87a535e109dfa3c7d
[ "Apache-2.0" ]
1
2021-04-01T01:16:33.000Z
2021-04-01T01:16:33.000Z
unittest/tests/JsonTest/source/Application.cpp
Hurleyworks/Ketone
97c0c730a6e3155154a0ccb87a535e109dfa3c7d
[ "Apache-2.0" ]
null
null
null
unittest/tests/JsonTest/source/Application.cpp
Hurleyworks/Ketone
97c0c730a6e3155154a0ccb87a535e109dfa3c7d
[ "Apache-2.0" ]
null
null
null
#include "Jahley.h" #include <json.hpp> const std::string APP_NAME = "JsonTest"; #ifdef CHECK #undef CHECK #endif #define DOCTEST_CONFIG_IMPLEMENT #include "doctest.h" using json = nlohmann::json; class Application : public Jahley::App { public: Application(DesktopWindowSettings settings = DesktopWindowSe...
14.771429
98
0.709865
Hurleyworks
53d82a58d6860797fcbbc6ec091433cc8d8e9769
1,402
cpp
C++
FERMIONS/WILSON/LoopMacros.cpp
markmace/OVERLAP
2d26366aa862cbd36182db8ee3165d9fe4d3e704
[ "MIT" ]
1
2020-12-13T03:11:03.000Z
2020-12-13T03:11:03.000Z
FERMIONS/WILSON/LoopMacros.cpp
markmace/OVERLAP
2d26366aa862cbd36182db8ee3165d9fe4d3e704
[ "MIT" ]
null
null
null
FERMIONS/WILSON/LoopMacros.cpp
markmace/OVERLAP
2d26366aa862cbd36182db8ee3165d9fe4d3e704
[ "MIT" ]
null
null
null
#ifndef __LOOP_MACROS_CPP__ #define __LOOP_MACROS_CPP__ #define START_FERMION_LOOP(gMatrixCoupling) \ \ for(INT i=0;i<Nc;i++){ \ for(INT j=0;j<Nc;j++){ \ \ for(INT alpha=0;alpha<DiracAlgebra::SpinorComponents;alpha++){\ for(INT beta=0;beta<DiracAlgebra::SpinorComponents;beta++){ \ \ if(gMatrixCoupling[alpha][beta]!=0....
18.207792
78
0.702568
markmace
53dbd15883fca8e4fb9012fbe7b16ae78429f8df
1,255
cpp
C++
ansi-c/fix_symbol.cpp
holao09/esbmc
659c006a45e9aaf8539b12484e2ec2b093cc6f02
[ "BSD-3-Clause" ]
null
null
null
ansi-c/fix_symbol.cpp
holao09/esbmc
659c006a45e9aaf8539b12484e2ec2b093cc6f02
[ "BSD-3-Clause" ]
null
null
null
ansi-c/fix_symbol.cpp
holao09/esbmc
659c006a45e9aaf8539b12484e2ec2b093cc6f02
[ "BSD-3-Clause" ]
null
null
null
/*******************************************************************\ Module: ANSI-C Linking Author: Daniel Kroening, kroening@kroening.com \*******************************************************************/ #include "fix_symbol.h" /*******************************************************************\ Function: ...
19.920635
69
0.449402
holao09
53de116229cda7fec51a86c23c78b472d07a9197
1,214
cc
C++
src/leaderboard.cc
CS126SP20/final-project-teresa622
38b1e943383fe9e71cfffb42460f855444754820
[ "MIT" ]
null
null
null
src/leaderboard.cc
CS126SP20/final-project-teresa622
38b1e943383fe9e71cfffb42460f855444754820
[ "MIT" ]
null
null
null
src/leaderboard.cc
CS126SP20/final-project-teresa622
38b1e943383fe9e71cfffb42460f855444754820
[ "MIT" ]
null
null
null
// // Created by Teresa Dong on 4/17/20. // #include <string> #include "mylibrary/leaderboard.h" #include "mylibrary/player.h" namespace tetris { LeaderBoard::LeaderBoard(const std::string& db_path) : db_{db_path} { db_ << "CREATE TABLE if not exists leaderboard (\n" " name TEXT NOT NULL,\n" "...
23.346154
73
0.623558
CS126SP20
53de483523e0636452f358b5f0779fb78869303d
628
cpp
C++
LuoguOJ/Luogu 2661.cpp
tico88612/Solution-Note
31a9d220fd633c6920760707a07c9a153c2f76cc
[ "MIT" ]
1
2018-02-11T09:41:54.000Z
2018-02-11T09:41:54.000Z
LuoguOJ/Luogu 2661.cpp
tico88612/Solution-Note
31a9d220fd633c6920760707a07c9a153c2f76cc
[ "MIT" ]
null
null
null
LuoguOJ/Luogu 2661.cpp
tico88612/Solution-Note
31a9d220fd633c6920760707a07c9a153c2f76cc
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define _ ios::sync_with_stdio(0);cin.tie(0);cout.tie(0); using namespace std; const int MAXN=2e6+10; int disjoint[MAXN],dis[MAXN]={0},ans=2e6+10; int getjoint(int s){ if(disjoint[s]!=s){ int last=disjoint[s]; disjoint[s]=getjoint(disjoint[s]); dis[s]+=dis[last]; } return disjoint[s]; ...
17.942857
57
0.600318
tico88612
53debfd17bffc22006b3728f7979ccc1a195d383
2,701
cpp
C++
graph-source-code/118-E/745508.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/118-E/745508.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/118-E/745508.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
//Language: GNU C++ #include <map> #include <set> #include <list> #include <stack> #include <cmath> #include <queue> #include <ctime> #include <cfloat> #include <vector> #include <string> #include <cstdio> #include <climits> #include <cstdlib> #include <cstring> #include <cassert> #include <iomanip> #includ...
20.007407
93
0.546835
AmrARaouf
53e19c7e9a43f973ed26aea01b09b554f826fbff
2,162
hpp
C++
src/camera.hpp
mvorbrodt/engine
0b9c5c1f6d293e98ea8bea3db3bfb67fee84b73c
[ "0BSD" ]
3
2019-04-25T11:39:13.000Z
2022-01-30T22:24:08.000Z
src/camera.hpp
mvorbrodt/engine
0b9c5c1f6d293e98ea8bea3db3bfb67fee84b73c
[ "0BSD" ]
null
null
null
src/camera.hpp
mvorbrodt/engine
0b9c5c1f6d293e98ea8bea3db3bfb67fee84b73c
[ "0BSD" ]
1
2019-11-20T07:58:38.000Z
2019-11-20T07:58:38.000Z
#pragma once #include <cassert> #include "types.hpp" #include "vector.hpp" #include "point.hpp" #include "matrix.hpp" #include "transforms.hpp" #define MIN_FOV 10.0f #define MAX_FOV 90.0f namespace engine { class camera { public: camera(real aspect, real fov = 60.0f, real _near = 1.0f, real _far = 100.0f, const...
21.405941
170
0.630897
mvorbrodt
53e8532ad79bf9a0704c56fe0263f884d7dc31cc
446
cpp
C++
643-maximum-average-subarray-i/643-maximum-average-subarray-i.cpp
SouvikChan/-Leetcode_Souvik
cc4b72cb4a14a1c6b8be8bd8390de047443fe008
[ "MIT" ]
null
null
null
643-maximum-average-subarray-i/643-maximum-average-subarray-i.cpp
SouvikChan/-Leetcode_Souvik
cc4b72cb4a14a1c6b8be8bd8390de047443fe008
[ "MIT" ]
null
null
null
643-maximum-average-subarray-i/643-maximum-average-subarray-i.cpp
SouvikChan/-Leetcode_Souvik
cc4b72cb4a14a1c6b8be8bd8390de047443fe008
[ "MIT" ]
null
null
null
class Solution { public: double findMaxAverage(vector<int>& nums, int k) { int sum=0; for(int i=0;i<k;i++){ sum+=nums[i]; } double avg=(double)sum/k; int i=0, j=k; while(j<nums.size()){ sum -= nums[i]; sum += nums[j]; do...
22.3
53
0.394619
SouvikChan
53f20407d36b640aa7b0d498a7d180d06e7ac743
1,477
cpp
C++
linked-list/merge-sort-doublyLL.cpp
Strider-7/code
e096c0d0633b53a07bf3f295cb3bd685b694d4ce
[ "MIT" ]
null
null
null
linked-list/merge-sort-doublyLL.cpp
Strider-7/code
e096c0d0633b53a07bf3f295cb3bd685b694d4ce
[ "MIT" ]
null
null
null
linked-list/merge-sort-doublyLL.cpp
Strider-7/code
e096c0d0633b53a07bf3f295cb3bd685b694d4ce
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; struct Node { int data; struct Node *next, *prev; }; Node *merge(Node *a, Node *b) { // Base cases if (!a) return b; if (!b) return a; if (a->data <= b->data) { a->next = merge(a->next, b); ...
19.181818
54
0.475288
Strider-7
53fa031c22b8eed150594efa271ddde6a8d2a68e
9,895
cpp
C++
src/c++/lib/alignment/matchSelector/BinningFragmentStorage.cpp
Illumina/Isaac4
0924fba8b467868da92e1c48323b15d7cbca17dd
[ "BSD-3-Clause" ]
13
2018-02-09T22:59:39.000Z
2021-11-29T06:33:22.000Z
src/c++/lib/alignment/matchSelector/BinningFragmentStorage.cpp
Illumina/Isaac4
0924fba8b467868da92e1c48323b15d7cbca17dd
[ "BSD-3-Clause" ]
17
2018-01-26T11:36:07.000Z
2022-02-03T18:48:43.000Z
src/c++/lib/alignment/matchSelector/BinningFragmentStorage.cpp
Illumina/Isaac4
0924fba8b467868da92e1c48323b15d7cbca17dd
[ "BSD-3-Clause" ]
4
2018-10-19T20:00:00.000Z
2020-10-29T14:44:06.000Z
/** ** Isaac Genome Alignment Software ** Copyright (c) 2010-2017 Illumina, Inc. ** All rights reserved. ** ** This software is provided under the terms and conditions of the ** GNU GENERAL PUBLIC LICENSE Version 3 ** ** You should have received a copy of the GNU GENERAL PUBLIC LICENSE Version 3 ** along with ...
41.57563
145
0.703183
Illumina
53fc218fdcd65dc427360ddb202a4d1c73c959e3
3,611
cpp
C++
geometry/src/capsule.cpp
Ludophonic/JigLib
541ec63b345ccf01e58cce49eb2f73c21eaf6aa6
[ "Zlib" ]
10
2016-06-01T12:54:45.000Z
2021-09-07T17:34:37.000Z
geometry/src/capsule.cpp
Ludophonic/JigLib
541ec63b345ccf01e58cce49eb2f73c21eaf6aa6
[ "Zlib" ]
null
null
null
geometry/src/capsule.cpp
Ludophonic/JigLib
541ec63b345ccf01e58cce49eb2f73c21eaf6aa6
[ "Zlib" ]
4
2017-05-03T14:03:03.000Z
2021-01-04T04:31:15.000Z
//============================================================== // Copyright (C) 2004 Danny Chapman // danny@rowlhouse.freeserve.co.uk //-------------------------------------------------------------- // /// @file capsule.cpp // //=====================================...
39.681319
112
0.546109
Ludophonic
d87cc8d47fa687a1a4fa586a5d626144557df6fb
850
hpp
C++
poet/detail/utility.hpp
fmhess/libpoet
ca6a168a772a1452ac39745a851ba390e86fad30
[ "BSL-1.0" ]
1
2017-04-03T11:53:20.000Z
2017-04-03T11:53:20.000Z
poet/detail/utility.hpp
fmhess/libpoet
ca6a168a772a1452ac39745a851ba390e86fad30
[ "BSL-1.0" ]
null
null
null
poet/detail/utility.hpp
fmhess/libpoet
ca6a168a772a1452ac39745a851ba390e86fad30
[ "BSL-1.0" ]
null
null
null
// copyright (c) Frank Mori Hess <fmhess@users.sourceforge.net> 2008-04-13 // Distributed under the Boost Software License, Version 1.0. (See // accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef _POET_DETAIL_UTILITY_HPP #define _POET_DETAIL_UTILITY_HPP #include <boost/...
21.25
75
0.685882
fmhess
d886b626bba54bf7c1acdaf6800e7e362c9ca320
1,378
hpp
C++
GLSL-Pipeline/Toolkits/include/System/Func.hpp
GilFerraz/GLSL-Pipeline
d2fd965a4324e85b6144682f8104c306034057d6
[ "Apache-2.0" ]
null
null
null
GLSL-Pipeline/Toolkits/include/System/Func.hpp
GilFerraz/GLSL-Pipeline
d2fd965a4324e85b6144682f8104c306034057d6
[ "Apache-2.0" ]
null
null
null
GLSL-Pipeline/Toolkits/include/System/Func.hpp
GilFerraz/GLSL-Pipeline
d2fd965a4324e85b6144682f8104c306034057d6
[ "Apache-2.0" ]
null
null
null
#pragma once #include "DLL.hpp" #include <functional> namespace System { /** * \brief Encapsulates a method that has specified parameters and returns a value of the type specified by the TResult * parameter. Unlike in other .NET languages, the first paramenter correspondes to TResult. * \tpa...
23.758621
122
0.624819
GilFerraz
d88756cddfe30e47e7f80e2cfebaaa7174008521
493
cc
C++
endo/module_wrap.cc
Qard/endo
6e3241b12e58344524711d4db4ed44d115fa8175
[ "MIT" ]
null
null
null
endo/module_wrap.cc
Qard/endo
6e3241b12e58344524711d4db4ed44d115fa8175
[ "MIT" ]
null
null
null
endo/module_wrap.cc
Qard/endo
6e3241b12e58344524711d4db4ed44d115fa8175
[ "MIT" ]
null
null
null
#include "module_wrap.h" namespace endo { ModuleWrap::ModuleWrap(Isolate* isolate, Local<Module> module, Local<String> url) : module_(isolate, module), url_(isolate, url) {}; bool ModuleWrap::operator==(Local<Module>& mod) { return module_.Get(Isolate::GetCurrent())->GetIdentityHash() == mod->GetIdentityHash...
22.409091
89
0.703854
Qard
d88790b0562948b7fa957ebf6c42c2c0eea6b303
2,542
cp
C++
Sources_Common/Application/Preferences/CSearchStyle.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
12
2015-04-21T16:10:43.000Z
2021-11-05T13:41:46.000Z
Sources_Common/Application/Preferences/CSearchStyle.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
2
2015-11-02T13:32:11.000Z
2019-07-10T21:11:21.000Z
Sources_Common/Application/Preferences/CSearchStyle.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
6
2015-01-12T08:49:12.000Z
2021-03-27T09:11:10.000Z
/* Copyright (c) 2007 Cyrus Daboo. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless re...
20.336
86
0.709284
mulberry-mail
d88b09f7941ed97b33f164ff59b9cd7a0be36365
606
hpp
C++
Helios/src/Game.hpp
rgracari/helio_test
2d516d16da4252c8f92f5c265b6151c6e87bc907
[ "Apache-2.0" ]
null
null
null
Helios/src/Game.hpp
rgracari/helio_test
2d516d16da4252c8f92f5c265b6151c6e87bc907
[ "Apache-2.0" ]
null
null
null
Helios/src/Game.hpp
rgracari/helio_test
2d516d16da4252c8f92f5c265b6151c6e87bc907
[ "Apache-2.0" ]
null
null
null
#pragma once #include <SDL.h> #include <memory> #include "Texture.hpp" #include "Sprite.hpp" #include "Clock.hpp" #include "Input.hpp" #include "Event.hpp" #include "SceneStateMachine.hpp" #include "scenes/SceneSplashScreen.hpp" #include "scenes/SceneGame.hpp" namespace Helio { class Game { private: Event even...
15.947368
39
0.70132
rgracari
d88f5accbe4168ea1013c8b0dca216ac0573e7fd
29,740
hpp
C++
include/CameraModels/CameraModelUtils.hpp
lukier/camera_models
90196141fa4749148b6a7b0adc7af19cb1971039
[ "BSD-3-Clause" ]
34
2016-11-13T22:17:50.000Z
2021-01-20T19:59:25.000Z
include/CameraModels/CameraModelUtils.hpp
lukier/camera_models
90196141fa4749148b6a7b0adc7af19cb1971039
[ "BSD-3-Clause" ]
null
null
null
include/CameraModels/CameraModelUtils.hpp
lukier/camera_models
90196141fa4749148b6a7b0adc7af19cb1971039
[ "BSD-3-Clause" ]
6
2016-11-14T00:45:56.000Z
2019-04-02T11:56:50.000Z
/** * **************************************************************************** * Copyright (c) 2015, Robert Lukierski. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributi...
46.323988
263
0.648857
lukier
d894353cd687d3ce761962c40144ad58c01ad041
1,234
cpp
C++
EngineAttempt0/project/src/engine/general/Transform.cpp
MEEMEEMAN/EngineAttempt0
2d470af8d19b8f90c03b1bcdee9ae64f3cddd7b6
[ "MIT" ]
null
null
null
EngineAttempt0/project/src/engine/general/Transform.cpp
MEEMEEMAN/EngineAttempt0
2d470af8d19b8f90c03b1bcdee9ae64f3cddd7b6
[ "MIT" ]
null
null
null
EngineAttempt0/project/src/engine/general/Transform.cpp
MEEMEEMAN/EngineAttempt0
2d470af8d19b8f90c03b1bcdee9ae64f3cddd7b6
[ "MIT" ]
null
null
null
#include "Transform.h" void Transform::UpdateTRS() { mat4 modelMatrix = mat4(1); modelMatrix = glm::translate(modelMatrix, position); modelMatrix = glm::rotate(modelMatrix, glm::radians(rotaiton.x), vec3(1, 0, 0)); modelMatrix = glm::rotate(modelMatrix, glm::radians(rotaiton.y), vec3(0, 1, 0)); modelMatrix = gl...
26.826087
81
0.703404
MEEMEEMAN
d89886f2c4165e5ace2f8f6e9b07abdfd2d5d458
233
cpp
C++
library/src/ButtonMatrix.cpp
StratifyLabs/LvglAPI
c869d5b38ad3aa148fa0801d12271f2d9a6043c5
[ "MIT" ]
1
2022-01-03T19:16:58.000Z
2022-01-03T19:16:58.000Z
library/src/ButtonMatrix.cpp
StratifyLabs/LvglAPI
c869d5b38ad3aa148fa0801d12271f2d9a6043c5
[ "MIT" ]
null
null
null
library/src/ButtonMatrix.cpp
StratifyLabs/LvglAPI
c869d5b38ad3aa148fa0801d12271f2d9a6043c5
[ "MIT" ]
null
null
null
#include "lvgl/ButtonMatrix.hpp" using namespace lvgl; LVGL_OBJECT_ASSERT_SIZE(ButtonMatrix); ButtonMatrix::ButtonMatrix(const char * name){ m_object = api()->btnmatrix_create(screen_object()); set_user_data(m_object,name); }
21.181818
54
0.776824
StratifyLabs
d8a4014bf20f395ce43b7168392b63d604bc2586
346
cpp
C++
C++/sum-of-digits-in-the-minimum-number.cpp
jaiskid/LeetCode-Solutions
a8075fd69087c5463f02d74e6cea2488fdd4efd1
[ "MIT" ]
3,269
2018-10-12T01:29:40.000Z
2022-03-31T17:58:41.000Z
C++/sum-of-digits-in-the-minimum-number.cpp
jaiskid/LeetCode-Solutions
a8075fd69087c5463f02d74e6cea2488fdd4efd1
[ "MIT" ]
53
2018-12-16T22:54:20.000Z
2022-02-25T08:31:20.000Z
C++/sum-of-digits-in-the-minimum-number.cpp
jaiskid/LeetCode-Solutions
a8075fd69087c5463f02d74e6cea2488fdd4efd1
[ "MIT" ]
1,236
2018-10-12T02:51:40.000Z
2022-03-30T13:30:37.000Z
// Time: O(n * l), l is the max length of numbers // Space: O(l) class Solution { public: int sumOfDigits(vector<int>& A) { int min_num = *min_element(A.begin(),A.end()); int total = 0; while (min_num) { total += min_num % 10; min_num /= 10; } return...
21.625
54
0.488439
jaiskid
d8ad75d32fe936031a6c65bbb6bc7d6318b204cc
4,244
cpp
C++
src/platform/lpc17xx/power.cpp
wangyanjunmsn/vi-firmware
a5940ab6c773457d4c41e80273ae0ce327164d60
[ "BSD-3-Clause" ]
148
2015-01-01T18:32:25.000Z
2022-03-05T12:02:24.000Z
src/platform/lpc17xx/power.cpp
wangyanjunmsn/vi-firmware
a5940ab6c773457d4c41e80273ae0ce327164d60
[ "BSD-3-Clause" ]
109
2015-02-11T16:33:49.000Z
2021-01-04T16:14:00.000Z
src/platform/lpc17xx/power.cpp
wangyanjunmsn/vi-firmware
a5940ab6c773457d4c41e80273ae0ce327164d60
[ "BSD-3-Clause" ]
89
2015-02-04T00:39:29.000Z
2021-10-03T00:01:17.000Z
#include "power.h" #include "util/log.h" #include "gpio.h" #include "lpc17xx_pinsel.h" #include "lpc17xx_clkpwr.h" #include "lpc17xx_wdt.h" #define POWER_CONTROL_PORT 2 #define POWER_CONTROL_PIN 13 #define PROGRAM_BUTTON_PORT 2 #define PROGRAM_BUTTON_PIN 12 namespace gpio = openxc::gpio; using openxc::gpio::GPIO_VA...
31.671642
85
0.723139
wangyanjunmsn
d8ad9b57ba96684e2d202bffd040cf4b8cd25d22
2,228
cpp
C++
src/time.cpp
kushaldalsania/haystack-cpp
95997ae2bca9ea096dc7e61c000291f3ac08d9d7
[ "AFL-3.0" ]
null
null
null
src/time.cpp
kushaldalsania/haystack-cpp
95997ae2bca9ea096dc7e61c000291f3ac08d9d7
[ "AFL-3.0" ]
null
null
null
src/time.cpp
kushaldalsania/haystack-cpp
95997ae2bca9ea096dc7e61c000291f3ac08d9d7
[ "AFL-3.0" ]
null
null
null
// // Copyright (c) 2015, J2 Innovations // Copyright (c) 2012 Brian Frank // Licensed under the Academic Free License version 3.0 // History: // 06 Jun 2011 Brian Frank Creation // 19 Aug 2014 Radu Racariu<radur@2inn.com> Ported to C++ // #include "time.hpp" #include <sstream> #include <ctime> ///////////////...
26.211765
98
0.480251
kushaldalsania
d8b48ddfbda489b7b393ff79497c2ac72d382948
2,095
cpp
C++
simulation/Rendering/Window.cpp
Terae/3D_Langton_Ant
017dadbe2962018db043bf50e8a6dcd49ade0eac
[ "MIT" ]
null
null
null
simulation/Rendering/Window.cpp
Terae/3D_Langton_Ant
017dadbe2962018db043bf50e8a6dcd49ade0eac
[ "MIT" ]
null
null
null
simulation/Rendering/Window.cpp
Terae/3D_Langton_Ant
017dadbe2962018db043bf50e8a6dcd49ade0eac
[ "MIT" ]
null
null
null
// // Created by benji on 10/11/16. // #include "Window.h" #include "Context.h" void glfwErrorCallback(int error, const char* description) { std::cerr << _RED("There was a glfw error : ") << description << _RED(" (" + std::to_string(error) + ")") << std::endl; } Window::Window(std::string title) { std::cou...
24.08046
123
0.681623
Terae
d8bab90ef5648fdbaf3215e78ab86b647e808d74
88
cpp
C++
src/core/Distributor.cpp
jozhalaj/gateway
49168dcbcf833da690048880bb33542ffbc90ce3
[ "BSD-3-Clause" ]
7
2018-06-09T05:55:59.000Z
2021-01-05T05:19:02.000Z
src/core/Distributor.cpp
jozhalaj/gateway
49168dcbcf833da690048880bb33542ffbc90ce3
[ "BSD-3-Clause" ]
1
2019-12-25T10:39:06.000Z
2020-01-03T08:35:29.000Z
src/core/Distributor.cpp
jozhalaj/gateway
49168dcbcf833da690048880bb33542ffbc90ce3
[ "BSD-3-Clause" ]
11
2018-05-10T08:29:05.000Z
2020-01-22T20:49:32.000Z
#include "core/Distributor.h" using namespace BeeeOn; Distributor::~Distributor() { }
11
29
0.738636
jozhalaj
d8befa451c1a63907b4b8ddd0f23ce49f4c051be
862
cpp
C++
atcoder/B - Palindrome-philia/AC.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
1
2022-02-11T16:55:36.000Z
2022-02-11T16:55:36.000Z
atcoder/B - Palindrome-philia/AC.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
atcoder/B - Palindrome-philia/AC.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
/**************************************************************************************** * @author: kzvd4729 created: 2019-12-08 18:03:30 * solution_verdict: AC language: C++14 (GCC 5.4.1) * run...
43.1
111
0.37123
kzvd4729
d8bf6f2fc9a378f878a916d6e37e9a41f08a12af
1,313
cpp
C++
libdocscript/src/runtime/procedure/lambda_procedure.cpp
sotvokun/docscript
0718c8943e895672b9570524cd9eb7ff019d079f
[ "MIT" ]
1
2021-12-11T11:04:21.000Z
2021-12-11T11:04:21.000Z
libdocscript/src/runtime/procedure/lambda_procedure.cpp
sotvokun/docscript
0718c8943e895672b9570524cd9eb7ff019d079f
[ "MIT" ]
null
null
null
libdocscript/src/runtime/procedure/lambda_procedure.cpp
sotvokun/docscript
0718c8943e895672b9570524cd9eb7ff019d079f
[ "MIT" ]
null
null
null
#include "libdocscript/runtime/datatype.h" #include "libdocscript/runtime/procedure.h" #include "libdocscript/runtime/value.h" #include "libdocscript/runtime/environment.h" #include "libdocscript/interpreter.h" namespace libdocscript::runtime { // +--------------------+ // Constructor // +--------------------+ ...
25.745098
77
0.600914
sotvokun
d8cd55713bb6d0e47bcf9a195ec14a4b22825b20
765
cpp
C++
lib/Dialect/XTen/IR/XTenDialect.cpp
jcamacho1234/mlir-xten
721f97fc01dd39a2f54ef3b409ceb5a9528c61f4
[ "Apache-2.0" ]
10
2021-11-05T00:08:47.000Z
2022-02-09T20:12:56.000Z
lib/Dialect/XTen/IR/XTenDialect.cpp
jcamacho1234/mlir-xten
721f97fc01dd39a2f54ef3b409ceb5a9528c61f4
[ "Apache-2.0" ]
1
2022-01-27T17:21:14.000Z
2022-01-27T17:22:41.000Z
lib/Dialect/XTen/IR/XTenDialect.cpp
jcamacho1234/mlir-xten
721f97fc01dd39a2f54ef3b409ceb5a9528c61f4
[ "Apache-2.0" ]
6
2021-11-10T06:49:47.000Z
2021-12-22T19:02:48.000Z
//===- XTenDialect.cpp ------------------------------------------*- C++ -*-===// // // This file is licensed 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 // // (c) Copyright 2021 Xilinx Inc. //...
27.321429
80
0.605229
jcamacho1234
d8d41db745f162d061bcb56fdf849608ac910537
1,179
cpp
C++
Shoot/src/Color.cpp
franticsoftware/vlad-heavy-strike
a4da4df617e9ccd6ebd9819ad166d892924638ce
[ "MIT" ]
3
2019-10-04T19:44:44.000Z
2021-07-27T15:59:39.000Z
Shoot/src/Color.cpp
franticsoftware/vlad-heavy-strike
a4da4df617e9ccd6ebd9819ad166d892924638ce
[ "MIT" ]
1
2019-07-20T05:36:31.000Z
2019-07-20T22:22:49.000Z
Shoot/src/Color.cpp
aminere/vlad-heavy-strike
a4da4df617e9ccd6ebd9819ad166d892924638ce
[ "MIT" ]
null
null
null
/* Amine Rehioui Created: May 1st 2010 */ #include "Shoot.h" #include "Color.h" namespace shoot { // static variables initialization Color Color::Red = Color(1.0f, 0.0f, 0.0f, 1.0f); Color Color::Green = Color(0.0f, 1.0f, 0.0f, 1.0f); Color Color::Blue = Color(0.0f, 0.0f, 1.0f, 1.0f); Color Color::White = C...
21.436364
59
0.617472
franticsoftware
d8df3c1daffa3d064eeca194082eebff5b91e34e
311
cpp
C++
legion/engine/llri-dx/llri.cpp
Rythe-Interactive/Legion-LLRI
e0cc449cc8c2ba0701a73b8c07b80ccfd8f20477
[ "MIT" ]
16
2021-09-10T18:11:37.000Z
2022-01-26T06:28:51.000Z
legion/engine/llri-dx/llri.cpp
Rythe-Interactive/Legion-LLRI
e0cc449cc8c2ba0701a73b8c07b80ccfd8f20477
[ "MIT" ]
13
2021-09-12T16:28:47.000Z
2022-02-07T19:34:01.000Z
legion/engine/llri-dx/llri.cpp
Rythe-Interactive/Legion-LLRI
e0cc449cc8c2ba0701a73b8c07b80ccfd8f20477
[ "MIT" ]
1
2021-08-15T23:35:32.000Z
2021-08-15T23:35:32.000Z
/** * @file llri.cpp * @copyright 2021-2021 Leon Brands. All rights served. * @license: https://github.com/Legion-Engine/Legion-LLRI/blob/main/LICENSE */ #include <llri/llri.hpp> namespace llri { [[nodiscard]] implementation getImplementation() { return implementation::DirectX12; } }
19.4375
75
0.678457
Rythe-Interactive
d8e4153c4406f004e7438070813d1b8ed7ad35ac
958
cpp
C++
dev/test/simple_start_stop/main.cpp
Stiffstream/mosquitto_transport
b7bd85746b7b5ba9f96a9128a12292ebb0604454
[ "BSD-3-Clause" ]
3
2020-01-25T12:49:55.000Z
2021-11-08T10:42:09.000Z
dev/test/simple_start_stop/main.cpp
Stiffstream/mosquitto_transport
b7bd85746b7b5ba9f96a9128a12292ebb0604454
[ "BSD-3-Clause" ]
null
null
null
dev/test/simple_start_stop/main.cpp
Stiffstream/mosquitto_transport
b7bd85746b7b5ba9f96a9128a12292ebb0604454
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> #include <mosquitto_transport/a_transport_manager.hpp> #include <so_5/all.hpp> using namespace std::chrono_literals; void do_test() { mosquitto_transport::lib_initializer_t mosq_lib; so_5::launch( [&mosq_lib]( auto & env ) { env.introduce_coop( [&mosq_lib]( so_5::coop_t & coop ) { using ...
19.16
58
0.627349
Stiffstream
d8e694d86bf0df4afeb16f257b966127ed42f3fd
867
cpp
C++
projects/abuild/cache/abi.cpp
agnesoft/adev-alt
3df0329939e3048bbf5db252efb5f74de9c0f061
[ "Apache-2.0" ]
null
null
null
projects/abuild/cache/abi.cpp
agnesoft/adev-alt
3df0329939e3048bbf5db252efb5f74de9c0f061
[ "Apache-2.0" ]
null
null
null
projects/abuild/cache/abi.cpp
agnesoft/adev-alt
3df0329939e3048bbf5db252efb5f74de9c0f061
[ "Apache-2.0" ]
null
null
null
#ifndef __clang__ export module abuild.cache:abi; export import astl; #endif namespace abuild { //! The `ABI` represent the compiler toolchain //! application binary interface. export struct ABI { //! Processor architecture. enum class Architecture { //! ARM ARM, //! Intel x86 ...
15.763636
50
0.558247
agnesoft
d8e8d67e6a22e721c27a4f9ef527f81eb4c477a2
1,201
cpp
C++
9999/1197.cpp
rmagur1203/acmicpc
83c4018548e42fc758b3858e8290990701e69e73
[ "MIT" ]
null
null
null
9999/1197.cpp
rmagur1203/acmicpc
83c4018548e42fc758b3858e8290990701e69e73
[ "MIT" ]
null
null
null
9999/1197.cpp
rmagur1203/acmicpc
83c4018548e42fc758b3858e8290990701e69e73
[ "MIT" ]
1
2022-01-11T05:03:52.000Z
2022-01-11T05:03:52.000Z
#include <iostream> #include <tuple> #include <vector> #include <queue> using namespace std; vector<pair<int, int>> graph[10001]; int visited[10001]; int main() { cin.tie(NULL)->sync_with_stdio(false); int V, E; cin >> V >> E; for (int i = 0; i < E; i++) { int s, e, w; cin >> s >>...
24.510204
75
0.512073
rmagur1203
d8e99a8f9376036a394248698698d57d76039d1d
12,337
cpp
C++
GraphicsSandbox/Engine.cpp
UberCelloCzar/GraphicsSandbox
3a96f99ca3693a67fdff69fdf7d338e8e5d21086
[ "MIT" ]
null
null
null
GraphicsSandbox/Engine.cpp
UberCelloCzar/GraphicsSandbox
3a96f99ca3693a67fdff69fdf7d338e8e5d21086
[ "MIT" ]
null
null
null
GraphicsSandbox/Engine.cpp
UberCelloCzar/GraphicsSandbox
3a96f99ca3693a67fdff69fdf7d338e8e5d21086
[ "MIT" ]
null
null
null
#include "Engine.h" #include "D11Graphics.h" Engine::Engine() { } Engine::~Engine() { } void Engine::Initialize() { assetManager = new AssetManager(); graphics = new D11Graphics(); // Create whichever graphics system we're using and initialize it graphics->Initialize(); GameSetup(); __int64 perfFreq; Que...
39.415335
258
0.739078
UberCelloCzar
d8f3c20502910b642f3ca733a9c5e5b8a24ad94c
607
cpp
C++
C++/Dynamic_Programming/1003.cpp
SkydevilK/BOJ
4b79a258c52aca24683531d64736b91cbdfca3f2
[ "MIT" ]
null
null
null
C++/Dynamic_Programming/1003.cpp
SkydevilK/BOJ
4b79a258c52aca24683531d64736b91cbdfca3f2
[ "MIT" ]
null
null
null
C++/Dynamic_Programming/1003.cpp
SkydevilK/BOJ
4b79a258c52aca24683531d64736b91cbdfca3f2
[ "MIT" ]
null
null
null
#include<iostream> #include<cstring> using namespace std; int note_zero[41]; int note_one[41]; void dp() { for (int i = 2; i < 41; ++i) { note_zero[i] = note_zero[i - 2] + note_zero[i - 1]; note_one[i] = note_one[i - 2] + note_one[i - 1]; } } int main(void) { ios::sync_with_stdio(false); memset(note_zero, -1, ...
18.393939
53
0.578254
SkydevilK
d8f5827ed2e61a8b336526ab372312d3a21186ff
666
hpp
C++
Canteen.hpp
dianabacon/stalag-escape
445085f1d95bec4190f29d72843bf4878d8f45ac
[ "MIT" ]
null
null
null
Canteen.hpp
dianabacon/stalag-escape
445085f1d95bec4190f29d72843bf4878d8f45ac
[ "MIT" ]
null
null
null
Canteen.hpp
dianabacon/stalag-escape
445085f1d95bec4190f29d72843bf4878d8f45ac
[ "MIT" ]
null
null
null
/********************************************************************* ** Program Filename: Canteen.cpp ** Author: Diana Bacon ** Date: 2015-12-05 ** Description: Definition of the Canteen class. Functions and data ** related to the derived class for Canteen spaces. ********************************************...
25.615385
71
0.510511
dianabacon
d8f5f664fe03cf939591e9af0b3f1e7f625f0439
2,430
cc
C++
tests/libtests/bc/obsolete/TestBoundaryConditionPoints.cc
Grant-Block/pylith
f6338261b17551eba879da998a5aaf2d91f5f658
[ "MIT" ]
93
2015-01-08T16:41:22.000Z
2022-02-25T13:40:02.000Z
tests/libtests/bc/obsolete/TestBoundaryConditionPoints.cc
Grant-Block/pylith
f6338261b17551eba879da998a5aaf2d91f5f658
[ "MIT" ]
277
2015-02-20T16:27:35.000Z
2022-03-30T21:13:09.000Z
tests/libtests/bc/obsolete/TestBoundaryConditionPoints.cc
Grant-Block/pylith
f6338261b17551eba879da998a5aaf2d91f5f658
[ "MIT" ]
71
2015-03-24T12:11:08.000Z
2022-03-03T04:26:02.000Z
// -*- C++ -*- // // ---------------------------------------------------------------------- // // Brad T. Aagaard, U.S. Geological Survey // Charles A. Williams, GNS Science // Matthew G. Knepley, University of Chicago // // This code was developed as part of the Computational Infrastructure // for Geodynamics (http://...
30.759494
76
0.654321
Grant-Block
d8f72b9194e0af9370f4ece7e39abd1393eef4a3
567
hpp
C++
src/palm/batch.hpp
leezhenghui/Mushroom
8aed2bdd80453d856145925d067bef5ed9d10ee0
[ "BSD-3-Clause" ]
351
2016-10-12T14:06:09.000Z
2022-03-24T14:53:54.000Z
src/palm/batch.hpp
leezhenghui/Mushroom
8aed2bdd80453d856145925d067bef5ed9d10ee0
[ "BSD-3-Clause" ]
7
2017-03-07T01:49:16.000Z
2018-07-27T08:51:54.000Z
src/palm/batch.hpp
UncP/Mushroom
8aed2bdd80453d856145925d067bef5ed9d10ee0
[ "BSD-3-Clause" ]
62
2016-10-31T12:46:45.000Z
2021-12-28T11:25:26.000Z
/** * > Author: UncP * > Github: www.github.com/UncP/Mushroom * > License: BSD-3 * > Time: 2018-7-28 15:33:00 **/ #ifndef _BATCH_HPP_ #define _BATCH_HPP_ #include "../include/utility.hpp" namespace Mushroom { class KeySlice; class Batch : private NoCopy { public: static uint32_t Si...
14.921053
50
0.643739
leezhenghui
d8febc737fe1416c65cd87a7bace3dc194b673ca
3,369
cpp
C++
source_code/system_sys/source_code/gui/Sys_Output_Flag_Dia.cpp
dabachma/ProMaIDes_src
3fa6263c46f89abbdb407f2e1643843d54eb6ccc
[ "BSD-3-Clause" ]
null
null
null
source_code/system_sys/source_code/gui/Sys_Output_Flag_Dia.cpp
dabachma/ProMaIDes_src
3fa6263c46f89abbdb407f2e1643843d54eb6ccc
[ "BSD-3-Clause" ]
null
null
null
source_code/system_sys/source_code/gui/Sys_Output_Flag_Dia.cpp
dabachma/ProMaIDes_src
3fa6263c46f89abbdb407f2e1643843d54eb6ccc
[ "BSD-3-Clause" ]
null
null
null
#include "Sys_Headers_Precompiled.h" //#include "Sys_Output_Flag_Dia.h" // Constructor Sys_Output_Flag_Dia::Sys_Output_Flag_Dia(QWidget *parent) : QDialog(parent){ this->old_flag=false; this->new_flag=false; ui.setupUi(this); ui.checkBox->setChecked(this->old_flag); QObject::connect(ui.okButton, SIGNAL(clicked...
30.908257
96
0.724844
dabachma
2b045b93305594bb73add275c035977d2754913a
322
cpp
C++
compendium/test_bundles/TestBundleDSDependentOptional/src/ServiceImpl.cpp
fmilano/CppMicroServices
b7e79edb558a63e45f6788e4a8b4e787cf956689
[ "Apache-2.0" ]
588
2015-10-07T15:55:08.000Z
2022-03-29T00:35:44.000Z
compendium/test_bundles/TestBundleDSDependentOptional/src/ServiceImpl.cpp
fmilano/CppMicroServices
b7e79edb558a63e45f6788e4a8b4e787cf956689
[ "Apache-2.0" ]
459
2015-10-05T23:29:59.000Z
2022-03-29T14:13:37.000Z
compendium/test_bundles/TestBundleDSDependentOptional/src/ServiceImpl.cpp
fmilano/CppMicroServices
b7e79edb558a63e45f6788e4a8b4e787cf956689
[ "Apache-2.0" ]
218
2015-11-04T08:19:48.000Z
2022-03-24T02:17:08.000Z
#include "ServiceImpl.hpp" namespace dependent { TestBundleDSDependentOptionalImpl::TestBundleDSDependentOptionalImpl( const std::shared_ptr<test::TestBundleDSUpstreamDependency>& c) : test::TestBundleDSDependent() , ref(c) {} TestBundleDSDependentOptionalImpl::~TestBundleDSDependentOptionalImpl() = default; ...
24.769231
73
0.807453
fmilano
2b0b1a3c8acf26e971ecac158c0b31e96a01c8c3
3,581
cpp
C++
src/orocos_kinematics_dynamics/orocos_kdl/src/treeiksolverpos_nr_jl.cpp
matchRos/simulation_multirobots
286c5add84d521ad371b2c8961dea872c34e7da2
[ "BSD-2-Clause" ]
742
2017-07-05T02:49:36.000Z
2022-03-30T12:55:43.000Z
src/orocos_kinematics_dynamics/orocos_kdl/src/treeiksolverpos_nr_jl.cpp
matchRos/simulation_multirobots
286c5add84d521ad371b2c8961dea872c34e7da2
[ "BSD-2-Clause" ]
73
2017-07-06T12:50:51.000Z
2022-03-07T08:07:07.000Z
src/orocos_kinematics_dynamics/orocos_kdl/src/treeiksolverpos_nr_jl.cpp
matchRos/simulation_multirobots
286c5add84d521ad371b2c8961dea872c34e7da2
[ "BSD-2-Clause" ]
425
2017-07-04T22:03:29.000Z
2022-03-29T06:59:06.000Z
// Copyright (C) 2007-2008 Ruben Smits <ruben dot smits at mech dot kuleuven dot be> // Copyright (C) 2008 Mikael Mayer // Copyright (C) 2008 Julia Jesse // Version: 1.0 // Author: Ruben Smits <ruben dot smits at mech dot kuleuven dot be> // Maintainer: Ruben Smits <ruben dot smits at mech dot kuleuven dot be...
42.129412
106
0.586987
matchRos
2b0c787652070af035f365871a15e179c7f10756
505
cpp
C++
src/test/config/schema.cpp
mpoeter/config
9a20b1dde685d42190310fa51ecd271e66d90ea0
[ "MIT" ]
1
2020-03-17T20:47:52.000Z
2020-03-17T20:47:52.000Z
src/test/config/schema.cpp
mpoeter/config
9a20b1dde685d42190310fa51ecd271e66d90ea0
[ "MIT" ]
null
null
null
src/test/config/schema.cpp
mpoeter/config
9a20b1dde685d42190310fa51ecd271e66d90ea0
[ "MIT" ]
null
null
null
// Copyright (c) 2019-2020 Dr. Colin Hirsch and Daniel Frey // Please see LICENSE for license or visit https://github.com/taocpp/config/ #include <tao/config.hpp> #include <tao/config/schema.hpp> int main() { const auto tcs = tao::config::schema::from_file( "tests/schema.tcs" ); const auto data = tao::config::f...
28.055556
76
0.645545
mpoeter
2b0f49c1638c7ea6bf8f3d63268c53943d885bd0
21,707
hpp
C++
src/character/character.hpp
Galfurian/RadMud
1362cb0ee1b7a17386e57a98e29dd8baeea75af3
[ "MIT" ]
18
2016-05-26T18:11:31.000Z
2022-02-10T20:00:52.000Z
src/character/character.hpp
Galfurian/RadMud
1362cb0ee1b7a17386e57a98e29dd8baeea75af3
[ "MIT" ]
null
null
null
src/character/character.hpp
Galfurian/RadMud
1362cb0ee1b7a17386e57a98e29dd8baeea75af3
[ "MIT" ]
2
2016-06-30T15:20:01.000Z
2020-08-27T18:28:33.000Z
/// @file character.hpp /// @brief Define all the methods need to manipulate a character. /// @details It's the master class for both Player and Mobile, here are defined /// all the common methods needed to manipulate every dynamic living /// beeing that are playing. /// @author Enrico Fraccar...
39.111712
89
0.642466
Galfurian
2b108cb66775235bc0ce8abd982dc031aad83e6d
760
hpp
C++
TurbulentArena/DebugWindow.hpp
doodlemeat/Turbulent-Arena
9030f291693e670f7751e23538e649cc24dc929f
[ "MIT" ]
2
2017-02-03T04:30:29.000Z
2017-03-27T19:33:38.000Z
TurbulentArena/DebugWindow.hpp
doodlemeat/Turbulent-Arena
9030f291693e670f7751e23538e649cc24dc929f
[ "MIT" ]
null
null
null
TurbulentArena/DebugWindow.hpp
doodlemeat/Turbulent-Arena
9030f291693e670f7751e23538e649cc24dc929f
[ "MIT" ]
null
null
null
//DebugWindow.hpp #pragma once #include <sstream> namespace bjoernligan { class DebugWindow : public sf::Drawable { private: DebugWindow(const bool &p_bActive); DebugWindow(const DebugWindow&); DebugWindow& operator=(const DebugWindow&); public: typedef std::unique_ptr<DebugWindow> Ptr; static Ptr Crea...
22.352941
69
0.734211
doodlemeat
2b154804a41ee453695ad335d17a303a816c4e21
402
hpp
C++
raptor/gallery/par_matrix_market.hpp
lukeolson/raptor
526c88d0801634e6fb41375ae077f2d4aa3241a4
[ "BSD-2-Clause" ]
25
2017-11-20T21:45:43.000Z
2019-01-27T15:03:25.000Z
raptor/gallery/par_matrix_market.hpp
haoxiangmiao/raptor
866977b8166e39675a6a1fb883c57b7b9395d32f
[ "BSD-2-Clause" ]
3
2017-11-21T01:20:20.000Z
2018-11-16T17:33:06.000Z
raptor/gallery/par_matrix_market.hpp
haoxiangmiao/raptor
866977b8166e39675a6a1fb883c57b7b9395d32f
[ "BSD-2-Clause" ]
5
2017-11-20T22:03:57.000Z
2018-12-05T10:30:22.000Z
/* * Matrix Market I/O library for ANSI C * * See http://math.nist.gov/MatrixMarket for details. * * */ #ifndef PAR_MM_IO_H #define PAR_MM_IO_H #include "matrix_market.hpp" #include "core/types.hpp" #include "core/par_matrix.hpp" using namespace raptor; /* high level routines */ ParCSRMatrix* read_par_mm(cons...
15.461538
54
0.723881
lukeolson
2b15ae0c66fac4c2c4afbc7a6ce2c233d8fe5be9
867
hpp
C++
include/basic3d/zbuffer.hpp
MasterQ32/Basic3D
1da1ad64116018afe2b97372d9632d0b72b1ff95
[ "MIT" ]
1
2018-11-15T22:29:55.000Z
2018-11-15T22:29:55.000Z
include/basic3d/zbuffer.hpp
MasterQ32/Basic3D
1da1ad64116018afe2b97372d9632d0b72b1ff95
[ "MIT" ]
null
null
null
include/basic3d/zbuffer.hpp
MasterQ32/Basic3D
1da1ad64116018afe2b97372d9632d0b72b1ff95
[ "MIT" ]
null
null
null
#pragma once #include <cstdint> #include <array> #include <limits> namespace Basic3D { //! Provides a basic z-buffer template<int WIDTH, int HEIGHT, typename Depth = std::uint16_t> class ZBuffer { public: typedef Depth depth_t; private: std::array<depth_t, WIDTH ...
23.432432
74
0.509804
MasterQ32
2b24d50623f5ba9c0ed59fd55b0cb00c616c6aa3
2,353
tpp
C++
src/algorithms/rem_factorial_EltZZ.tpp
adienes/remainder-tree
0aa76214ab6f2a4389ec45a239ea660749989a90
[ "MIT" ]
null
null
null
src/algorithms/rem_factorial_EltZZ.tpp
adienes/remainder-tree
0aa76214ab6f2a4389ec45a239ea660749989a90
[ "MIT" ]
null
null
null
src/algorithms/rem_factorial_EltZZ.tpp
adienes/remainder-tree
0aa76214ab6f2a4389ec45a239ea660749989a90
[ "MIT" ]
null
null
null
// included by rem_factorial_custom.tpp (in case we want to change the file location) #include <cassert> #include <NTL/ZZ_pX.h> #include <NTL/matrix.h> #include "../elements/element.hpp" #include "factorial_engine.hpp" using NTL::ZZ; using NTL::ZZ_p; using NTL::ZZ_pX; using NTL::Mat; Elt<ZZ> calculate_factorial(l...
30.166667
139
0.576711
adienes
2b27eac05c8402f32f1dbad10a6b1ff5dc8f5ac5
2,363
cpp
C++
codeforces/round-278/div-2/candy_boxes.cpp
Rkhoiwal/Competitive-prog-Archive
18a95a8b2b9ca1a28d6fe939c1db5450d541ddc9
[ "MIT" ]
1
2020-07-16T01:46:38.000Z
2020-07-16T01:46:38.000Z
codeforces/round-278/div-2/candy_boxes.cpp
Rkhoiwal/Competitive-prog-Archive
18a95a8b2b9ca1a28d6fe939c1db5450d541ddc9
[ "MIT" ]
null
null
null
codeforces/round-278/div-2/candy_boxes.cpp
Rkhoiwal/Competitive-prog-Archive
18a95a8b2b9ca1a28d6fe939c1db5450d541ddc9
[ "MIT" ]
1
2020-05-27T14:30:43.000Z
2020-05-27T14:30:43.000Z
#include <algorithm> #include <iostream> #include <vector> using namespace std; inline void use_io_optimizations() { ios_base::sync_with_stdio(false); cin.tie(nullptr); } inline void solve_with_four_left_boxes(const vector<unsigned int>& boxes) { if ((3 * boxes[0] == boxes[3]) && (boxes[1] + boxes[2] == ...
19.211382
76
0.493017
Rkhoiwal
1a7098538ce52920df14b974fe6a6a1f795fb3b6
396
cpp
C++
src/ClosestBinarySearchTreeValue.cpp
yanzhe-chen/LeetCode
d82f0b9721ea613ab216c78e7286671d0e9e4187
[ "MIT" ]
43
2015-10-10T12:59:52.000Z
2018-07-11T18:07:00.000Z
src/ClosestBinarySearchTreeValue.cpp
yanzhe-chen/LeetCode
d82f0b9721ea613ab216c78e7286671d0e9e4187
[ "MIT" ]
null
null
null
src/ClosestBinarySearchTreeValue.cpp
yanzhe-chen/LeetCode
d82f0b9721ea613ab216c78e7286671d0e9e4187
[ "MIT" ]
11
2015-10-10T14:41:11.000Z
2018-07-28T06:03:16.000Z
#include "ClosestBinarySearchTreeValue.hpp" #include <cmath> using namespace std; int ClosestBinarySearchTreeValue::closestValue(TreeNode *root, double target) { int closest = root->val; while (root) { if (abs(root->val - target) < abs(closest - target)) closest = root->val; root ...
26.4
79
0.643939
yanzhe-chen
1a751dfcaf4dbf84cbd4870d1bb0d7be2d22a8ed
11,084
cpp
C++
src/lib/serialport/qserialportinfo_mac.cpp
Hayesie88/emstudio
0ae4353e5dcaa76b6306ff0aabd5a89999c4dc1b
[ "MIT" ]
8
2015-11-16T19:15:55.000Z
2021-02-17T23:58:33.000Z
src/lib/serialport/qserialportinfo_mac.cpp
Hayesie88/emstudio
0ae4353e5dcaa76b6306ff0aabd5a89999c4dc1b
[ "MIT" ]
5
2015-11-12T00:19:59.000Z
2020-03-23T10:18:19.000Z
src/lib/serialport/qserialportinfo_mac.cpp
Hayesie88/emstudio
0ae4353e5dcaa76b6306ff0aabd5a89999c4dc1b
[ "MIT" ]
11
2015-03-15T23:02:48.000Z
2021-09-05T14:17:13.000Z
/**************************************************************************** ** ** Copyright (C) 2011-2012 Denis Shienkov <denis.shienkov@gmail.com> ** Copyright (C) 2011 Sergey Belyashov <Sergey.Belyashov@gmail.com> ** Copyright (C) 2012 Laszlo Papp <lpapp@kde.org> ** Contact: http://www.qt-project.org/legal ** ** Th...
40.600733
138
0.480603
Hayesie88
1a775015d67a723319faa41188ea368f93b840f6
764
cpp
C++
greedy_problems/maximum_frequency_of_element.cpp
sanathvernekar/Routine_codes
a898ca7e79cf39c289cb2fefaf764c9f8e0eb331
[ "MIT" ]
null
null
null
greedy_problems/maximum_frequency_of_element.cpp
sanathvernekar/Routine_codes
a898ca7e79cf39c289cb2fefaf764c9f8e0eb331
[ "MIT" ]
null
null
null
greedy_problems/maximum_frequency_of_element.cpp
sanathvernekar/Routine_codes
a898ca7e79cf39c289cb2fefaf764c9f8e0eb331
[ "MIT" ]
null
null
null
#include <vector> #include <map> #include<bits/stdc++.h> using namespace std; long long int max_frequency(vector<long long int> const& v) { map<long long int, long long int> frequencyMap; long long int maxFrequency = 0; long long int mostFrequentElement = 0; for (long long int x : v) { lo...
21.222222
59
0.537958
sanathvernekar
1a7d0a4b1f6fbfbd04070f3df6da1bcfbd53a229
1,077
cpp
C++
STRINGS/Upper case conversion.cpp
snanacha/Coding-questions
18c4b5a23fc3da5c419d2ec69fbf13b7b4ecee0d
[ "MIT" ]
null
null
null
STRINGS/Upper case conversion.cpp
snanacha/Coding-questions
18c4b5a23fc3da5c419d2ec69fbf13b7b4ecee0d
[ "MIT" ]
1
2021-03-30T14:00:56.000Z
2021-03-30T14:00:56.000Z
STRINGS/Upper case conversion.cpp
snanacha/Coding-questions
18c4b5a23fc3da5c419d2ec69fbf13b7b4ecee0d
[ "MIT" ]
null
null
null
/* Upper case conversion School Accuracy: 72.51% Submissions: 1152 Points: 0 Given a string str, convert the first letter of each word in the string to uppercase. Example 1: Input: str = "i love programming" Output: "I Love Programming" Explanation: 'I', 'L', 'P' are the first letters of the three word...
22.914894
150
0.622098
snanacha
1a7d59aa8da04b3bc9b6a7c6c73cdfb020f12695
2,133
cpp
C++
examples/sample2.cpp
SoultatosStefanos/preconditions
7c306219153e32afe6a915178f1e1c9fa1bdac8b
[ "MIT" ]
1
2021-09-07T21:10:05.000Z
2021-09-07T21:10:05.000Z
examples/sample2.cpp
SoultatosStefanos/preconditions
7c306219153e32afe6a915178f1e1c9fa1bdac8b
[ "MIT" ]
null
null
null
examples/sample2.cpp
SoultatosStefanos/preconditions
7c306219153e32afe6a915178f1e1c9fa1bdac8b
[ "MIT" ]
null
null
null
/** * @file sample2.cpp * @author Soultatos Stefanos (stefanoss1498@gmail.com) * @brief Contains sample code for the filters * @version 2.0 * @date 2021-10-29 * * @copyright Copyright (c) 2021 * */ #include "preconditions/filters.hpp" #include <array> #include <string> namespace { // Instead of: // // if (b....
20.708738
76
0.586498
SoultatosStefanos
1a8046f70fc3a8f51fa385ecdcfba6767d5f840f
313
cpp
C++
Codeforces Round 323/Asphalting Roads/main.cpp
sqc1999-oi/Codeforces
5551e0e4b9dc66bb77c697568f0584aac3dbefae
[ "MIT" ]
1
2016-07-18T12:05:56.000Z
2016-07-18T12:05:56.000Z
Codeforces Round 323/Asphalting Roads/main.cpp
sqc1999/Codeforces
5551e0e4b9dc66bb77c697568f0584aac3dbefae
[ "MIT" ]
null
null
null
Codeforces Round 323/Asphalting Roads/main.cpp
sqc1999/Codeforces
5551e0e4b9dc66bb77c697568f0584aac3dbefae
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> using namespace std; bool vh[51], vv[51]; int main() { ios::sync_with_stdio(false); int n; cin >> n; for (int i = 1; i <= n*n; i++) { int h, v; cin >> h >> v; if (!vh[h] && !vv[v]) { vh[h] = vv[v] = true; cout << i << ' '; } } }
14.904762
32
0.456869
sqc1999-oi
1a8b5129949c5c0ff7268512f53daab7dcbdecd0
433
cpp
C++
binary_search.cpp
ankitelectronicsenemy/CppCodes
e2f274330c12e59a6c401c162e8d899690db0e14
[ "Apache-2.0" ]
null
null
null
binary_search.cpp
ankitelectronicsenemy/CppCodes
e2f274330c12e59a6c401c162e8d899690db0e14
[ "Apache-2.0" ]
null
null
null
binary_search.cpp
ankitelectronicsenemy/CppCodes
e2f274330c12e59a6c401c162e8d899690db0e14
[ "Apache-2.0" ]
null
null
null
#include<iostream> using namespace std; int binary_search(int arr[],int n,int key) { int s=0; int e=n-1; while(s<=e) { int mid=(s+e)/2; if(arr[mid]==key) { return mid; } if(arr[mid]>key) { e=mid-1; } else if(arr[mid]<key) { s=mid+1; } else return -1 ; } return -1; } int main() { int n; cin>>n...
8.836735
42
0.556582
ankitelectronicsenemy
1a8c74b4b5e597e0cc6288bffb2bbdcec3b8371b
2,585
cpp
C++
VC2010Samples/ATL/Advanced/mfcatl/objone.cpp
alonmm/VCSamples
6aff0b4902f5027164d593540fcaa6601a0407c3
[ "MIT" ]
300
2019-05-09T05:32:33.000Z
2022-03-31T20:23:24.000Z
VC2010Samples/ATL/Advanced/mfcatl/objone.cpp
JaydenChou/VCSamples
9e1d4475555b76a17a3568369867f1d7b6cc6126
[ "MIT" ]
9
2016-09-19T18:44:26.000Z
2018-10-26T10:20:05.000Z
VC2010Samples/ATL/Advanced/mfcatl/objone.cpp
JaydenChou/VCSamples
9e1d4475555b76a17a3568369867f1d7b6cc6126
[ "MIT" ]
633
2019-05-08T07:34:12.000Z
2022-03-30T04:38:28.000Z
// ObjOne.cpp : implementation file // // This is a part of the Active Template Library. // Copyright (c) Microsoft Corporation. All rights reserved. // // This source code is only intended as a supplement to the // Active Template Library Reference and related // electronic documentation provided with the library. //...
28.406593
125
0.716441
alonmm
1a8e101fc9fd68633703ee9420f4a7abe1788773
954
cpp
C++
src/Gui/ExportToDotDialog.cpp
loganek/gstcreator
619f1a6f1ee39c7c5b883c0a676cd490f59ac81b
[ "BSD-3-Clause" ]
1
2015-10-10T23:21:00.000Z
2015-10-10T23:21:00.000Z
src/Gui/ExportToDotDialog.cpp
loganek/gstcreator
619f1a6f1ee39c7c5b883c0a676cd490f59ac81b
[ "BSD-3-Clause" ]
null
null
null
src/Gui/ExportToDotDialog.cpp
loganek/gstcreator
619f1a6f1ee39c7c5b883c0a676cd490f59ac81b
[ "BSD-3-Clause" ]
null
null
null
/* * gstcreator * ExportToDotDialog.cpp * * Created on: 24 sty 2014 * Author: Marcin Kolny <marcin.kolny@gmail.com> */ #include "ExportToDotDialog.h" #include "ui_ExportToDotDialog.h" #include <QCheckBox> #include <QFileDialog> #include <cstdlib> ExportToDotDialog::ExportToDotDialog(QWidget *parent) : ...
20.73913
61
0.715933
loganek
1a98d628ebe2402e2871ca4d09c060ce8f3c353c
726
cpp
C++
homomorphic_evaluation/src/main.cpp
dklee0501/PLDI_20_242_artifact_publication
f2b73df9165c76e8b521d8ebd639d68321e3862b
[ "MIT" ]
1
2022-02-14T02:37:58.000Z
2022-02-14T02:37:58.000Z
homomorphic_evaluation/src/main.cpp
dklee0501/Lobster
f2b73df9165c76e8b521d8ebd639d68321e3862b
[ "MIT" ]
null
null
null
homomorphic_evaluation/src/main.cpp
dklee0501/Lobster
f2b73df9165c76e8b521d8ebd639d68321e3862b
[ "MIT" ]
null
null
null
#include "FHE.h" #include <timing.h> #include <EncryptedArray.h> #include <NTL/lzz_pXFactoring.h> #include <vector> #include <cassert> #include <cstdio> #include <iostream> #include <string> #include <string.h> #include <fstream> #include <vector> #include "NTL/ZZ_p.h" #include <NTL/ZZ_pX.h> #include <NTL/vec_ZZ_p.h> #...
20.742857
58
0.633609
dklee0501
1aa1ca3764f44acc65714469fd96138ceacc60c5
1,534
cpp
C++
MPAGSCipher/CaesarCipher.cpp
MPAGS-CPP-2019/mpags-day-3-rrStein
e4ff5e2023dbb8e4a7981b25c7d11811ead13c0c
[ "MIT" ]
null
null
null
MPAGSCipher/CaesarCipher.cpp
MPAGS-CPP-2019/mpags-day-3-rrStein
e4ff5e2023dbb8e4a7981b25c7d11811ead13c0c
[ "MIT" ]
null
null
null
MPAGSCipher/CaesarCipher.cpp
MPAGS-CPP-2019/mpags-day-3-rrStein
e4ff5e2023dbb8e4a7981b25c7d11811ead13c0c
[ "MIT" ]
null
null
null
#include "CaesarCipher.hpp" #include <fstream> #include <iostream> #include <string> #include <vector> // #include "RunCaesarCipher.hpp" // #include "RunCaesarCipher.cpp" CaesarCipher::CaesarCipher(const std::string &caesar_key) : caesar_key_{std::stoul(caesar_key)} {} CaesarCipher::CaesarCipher(const size_t &caes...
30.68
79
0.656454
MPAGS-CPP-2019
1aaa3c3ebc0ac201b16987d8482409b46de800bb
2,512
hpp
C++
include/graphplan/Action.hpp
aldukeman/graphplan
33b575a75aa25243e0a3bc658a7932e75a1ef2ef
[ "MIT" ]
null
null
null
include/graphplan/Action.hpp
aldukeman/graphplan
33b575a75aa25243e0a3bc658a7932e75a1ef2ef
[ "MIT" ]
1
2016-01-13T20:42:26.000Z
2022-03-10T02:14:49.000Z
include/graphplan/Action.hpp
aldukeman/graphplan
33b575a75aa25243e0a3bc658a7932e75a1ef2ef
[ "MIT" ]
1
2019-08-24T10:25:44.000Z
2019-08-24T10:25:44.000Z
/** * The MIT License (MIT) * * Copyright (c) 2014 Anton Dukeman * * 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 ...
27.604396
80
0.705414
aldukeman
1aad3a3ec328941ebf17269947721d86450d3671
1,836
cpp
C++
test/stc/test-vcs.cpp
antonvw/wxExtension
d5523346cf0b1dbd45fd20dc33bf8d679299676c
[ "MIT" ]
9
2016-01-10T20:59:02.000Z
2019-01-09T14:18:13.000Z
test/stc/test-vcs.cpp
antonvw/wxExtension
d5523346cf0b1dbd45fd20dc33bf8d679299676c
[ "MIT" ]
31
2015-01-30T17:46:17.000Z
2017-03-04T17:33:50.000Z
test/stc/test-vcs.cpp
antonvw/wxExtension
d5523346cf0b1dbd45fd20dc33bf8d679299676c
[ "MIT" ]
2
2015-04-05T08:45:22.000Z
2018-08-24T06:43:24.000Z
//////////////////////////////////////////////////////////////////////////////// // Name: test-vcs.cpp // Purpose: Implementation for wex unit testing // Author: Anton van Wezenbeek // Copyright: (c) 2021 Anton van Wezenbeek //////////////////////////////////////////////////////////////////////////////// #in...
27
80
0.582244
antonvw
1ab07d703b2db70916abe6b16f78f7bd63606c4b
2,219
cpp
C++
contract/lite-client/tddb/td/db/utils/FileSyncState.cpp
TONCommunity/ton-sync-payments-channel
2e5cd4902406923fdba32b8309ab8c40db3ae5bc
[ "MIT" ]
5
2019-10-15T18:26:06.000Z
2020-05-09T14:09:49.000Z
contract/lite-client/tddb/td/db/utils/FileSyncState.cpp
TONCommunity/ton-sync-payments-channel
2e5cd4902406923fdba32b8309ab8c40db3ae5bc
[ "MIT" ]
null
null
null
contract/lite-client/tddb/td/db/utils/FileSyncState.cpp
TONCommunity/ton-sync-payments-channel
2e5cd4902406923fdba32b8309ab8c40db3ae5bc
[ "MIT" ]
2
2020-07-24T16:09:02.000Z
2021-08-18T17:08:28.000Z
/* This file is part of TON Blockchain Library. TON Blockchain Library is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later ver...
32.632353
83
0.741325
TONCommunity
1ab2a2b907d33254514ee46febe49a69ed08a539
3,229
cpp
C++
Source/Core/BuildCommon/BakeModel.cpp
schuttejoe/ShootyEngine
56a7fab5a479ec93d7f641bb64b8170f3b0d3095
[ "MIT" ]
81
2018-07-31T17:13:47.000Z
2022-03-03T09:24:22.000Z
Source/Core/BuildCommon/BakeModel.cpp
schuttejoe/ShootyEngine
56a7fab5a479ec93d7f641bb64b8170f3b0d3095
[ "MIT" ]
2
2018-10-15T04:39:43.000Z
2019-12-05T03:46:50.000Z
Source/Core/BuildCommon/BakeModel.cpp
schuttejoe/ShootyEngine
56a7fab5a479ec93d7f641bb64b8170f3b0d3095
[ "MIT" ]
9
2018-10-11T06:32:12.000Z
2020-10-01T03:46:37.000Z
//================================================================================================================================= // Joe Schutte //================================================================================================================================= #include "BuildCommon/BakeModel.h" #incl...
52.934426
131
0.557138
schuttejoe
1ab3c6a1df288059f40f05ae58d6ee12e894cd73
1,037
cpp
C++
tests/fixture/test_assert.cpp
sugawaray/filemanager
3dcb908d4c1e0c36de0c60e1b2e1291eec986cb1
[ "MIT" ]
null
null
null
tests/fixture/test_assert.cpp
sugawaray/filemanager
3dcb908d4c1e0c36de0c60e1b2e1291eec986cb1
[ "MIT" ]
null
null
null
tests/fixture/test_assert.cpp
sugawaray/filemanager
3dcb908d4c1e0c36de0c60e1b2e1291eec986cb1
[ "MIT" ]
null
null
null
#include <sstream> #include "assert.h" #include "test_assert.h" using std::cerr; using std::endl; using std::ostringstream; using test::fixture::Assert; START_TEST(should_not_output_when_true) { ostringstream os; Assert(true, 1, 2, os); if (os.str() != "") cerr << "should_not_output_when_true" << endl; } END_TES...
19.942308
63
0.724204
sugawaray
1ab88a18dd8f74b863bbd45e262d092e29d0acfa
432
cpp
C++
WindowsServiceCppTemplate/ServiceControlManager.cpp
AinoMegumi/WindowsServiceCppTemplate
fd123fe43c13356308b3d27a7a5692078979426d
[ "MIT" ]
1
2021-07-06T14:31:15.000Z
2021-07-06T14:31:15.000Z
WindowsServiceCppTemplate/ServiceControlManager.cpp
AinoMegumi/WindowsServiceCppTemplate
fd123fe43c13356308b3d27a7a5692078979426d
[ "MIT" ]
null
null
null
WindowsServiceCppTemplate/ServiceControlManager.cpp
AinoMegumi/WindowsServiceCppTemplate
fd123fe43c13356308b3d27a7a5692078979426d
[ "MIT" ]
null
null
null
#include "ServiceControlManager.h" #include "GetErrorMessage.h" #include <stdexcept> ServiceControlManager::ServiceControlManager() : SCM(OpenSCManager(NULL, NULL, SC_MANAGER_ALL_ACCESS)) { if (this->SCM == nullptr) { throw std::runtime_error( "Failed In OpenSCManager Function\n" + GetErrorMessage...
25.411765
89
0.710648
AinoMegumi
1ab92d52afb6aff23e6b6df1dcee0273b674a834
4,415
cpp
C++
src/args/Arg.cpp
GAStudyGroup/VRP
54ec7ff3f0a4247d3effe609cf916fc235a08664
[ "MIT" ]
8
2018-11-28T15:13:26.000Z
2021-10-08T18:34:28.000Z
sources/Arg.cpp
Arch23/Cpp-Argument-Parser
03787751e725db8820b02b702e65b31537dc73d2
[ "MIT" ]
4
2018-03-28T19:26:27.000Z
2018-04-07T03:02:15.000Z
sources/Arg.cpp
Arch23/Cpp-Argument-Parser
03787751e725db8820b02b702e65b31537dc73d2
[ "MIT" ]
2
2019-12-12T09:36:48.000Z
2020-04-23T08:26:22.000Z
#include "Arg.hpp" #include <sstream> using std::istringstream; #include <set> using std::set; #include <algorithm> using std::any_of; #include <iostream> using std::cout; using std::endl; Arg::Arg(int argc, char **argv):argc(argc),argv(argv){ programName = "Default Name"; helpSetted = false; } void Arg::...
22.757732
72
0.512797
GAStudyGroup
1aba131b0dfdbc8f2f780904bd7fd8947f4e4925
5,240
cpp
C++
StatsAPI/statsapi.cpp
freem/SMOnline-v1
b7202ebf1b2d291952000d8c1673ea6175eb4bdd
[ "MIT" ]
1
2021-05-24T09:23:49.000Z
2021-05-24T09:23:49.000Z
StatsAPI/statsapi.cpp
freem/SMOnline-v1
b7202ebf1b2d291952000d8c1673ea6175eb4bdd
[ "MIT" ]
null
null
null
StatsAPI/statsapi.cpp
freem/SMOnline-v1
b7202ebf1b2d291952000d8c1673ea6175eb4bdd
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include "statsapi.h" using namespace std; void main(int argc, char* argv[]) { statsAPI* api = NULL; vector<CString> args; if ((argc < 2) || (argc > 21)) return; args.resize(argc - 1); for(unsigned int i = 1; i < argc; i++) args[i - 1] = argv[i]; api = new statsAPI...
24.036697
121
0.676718
freem
1abdfc77cd9a9c7b46e8dc87f3257e84faa19fcb
2,921
cpp
C++
qubus/src/isl/flow.cpp
qubusproject/Qubus
0feb8d6df00459c5af402545dbe7c82ee3ec4b7c
[ "BSL-1.0" ]
null
null
null
qubus/src/isl/flow.cpp
qubusproject/Qubus
0feb8d6df00459c5af402545dbe7c82ee3ec4b7c
[ "BSL-1.0" ]
null
null
null
qubus/src/isl/flow.cpp
qubusproject/Qubus
0feb8d6df00459c5af402545dbe7c82ee3ec4b7c
[ "BSL-1.0" ]
null
null
null
#include <qubus/isl/flow.hpp> namespace qubus { namespace isl { union_access_info::union_access_info(isl_union_access_info* handle_) : handle_(handle_) { } union_access_info::union_access_info(const union_access_info& other) : handle_(isl_union_access_info_copy(other.native_handle())) { } union_access_info::~union_...
23.556452
97
0.741869
qubusproject
1ac16c952417ad528f3a24ca9c19effbbebb83a6
3,876
cpp
C++
GUIproject/CourseWorkHypermarket/productlist.cpp
ashnaider/CourseWorkHypermarket
9dd52dadf987020c2490f2a9a9cdcaa5b52fb12a
[ "MIT" ]
3
2020-05-27T18:37:43.000Z
2020-06-21T05:40:57.000Z
GUIproject/CourseWorkHypermarket/productlist.cpp
ashnaider/CourseWorkHypermarket
9dd52dadf987020c2490f2a9a9cdcaa5b52fb12a
[ "MIT" ]
null
null
null
GUIproject/CourseWorkHypermarket/productlist.cpp
ashnaider/CourseWorkHypermarket
9dd52dadf987020c2490f2a9a9cdcaa5b52fb12a
[ "MIT" ]
null
null
null
#include "productlist.h" #include "product.h" #include <sstream> #include <string> #include <vector> ProductList::ProductList(QString productClass) { utilities = new Utilities; QString filePath = utilities->generateFilePathForProduct(productClass); productsInfo = utilities->readFileByWord(filePath, true)...
32.033058
81
0.54257
ashnaider
1ac39ca5b2ddb057e71738c30bbe6b4536a54da3
378
hpp
C++
simsync/include/simsync/synchronization/thread_start.hpp
mariobadr/simsync-pmam
c541d2bf3a52eec8579e254a0300442bc3d6f1d4
[ "Apache-2.0" ]
null
null
null
simsync/include/simsync/synchronization/thread_start.hpp
mariobadr/simsync-pmam
c541d2bf3a52eec8579e254a0300442bc3d6f1d4
[ "Apache-2.0" ]
null
null
null
simsync/include/simsync/synchronization/thread_start.hpp
mariobadr/simsync-pmam
c541d2bf3a52eec8579e254a0300442bc3d6f1d4
[ "Apache-2.0" ]
null
null
null
#ifndef SIMSYNC_THREAD_START_HPP #define SIMSYNC_THREAD_START_HPP #include <simsync/synchronization/event.hpp> namespace simsync { class thread_start : public event { public: explicit thread_start(int32_t thread_id, thread_model &tm); transition synchronize() override; private: void print(std::ostream &stream...
19.894737
61
0.793651
mariobadr
1ac5f29f8be19da29a2f75af508c1f322ef4907d
296
cpp
C++
src/misc/memswap.cpp
Damdoshi/LibLapin
800e0f17ed8f3c47797c48feea4c280bb0e4bdc9
[ "BSD-3-Clause" ]
38
2016-07-30T09:35:19.000Z
2022-03-04T10:13:48.000Z
src/misc/memswap.cpp
Elania-Marvers/LibLapin
800e0f17ed8f3c47797c48feea4c280bb0e4bdc9
[ "BSD-3-Clause" ]
15
2017-02-12T19:20:52.000Z
2021-06-09T09:30:52.000Z
src/misc/memswap.cpp
Elania-Marvers/LibLapin
800e0f17ed8f3c47797c48feea4c280bb0e4bdc9
[ "BSD-3-Clause" ]
12
2016-10-06T09:06:59.000Z
2022-03-04T10:14:00.000Z
// Jason Brillante "Damdoshi" // Hanged Bunny Studio 2014-2018 // // Lapin library #include "lapin_private.h" void bunny_memswap(void *a, void *b, size_t s) { void *c = bunny_alloca(s); memcpy(c, a, s); memcpy(a, b, s); memcpy(b, c, s); bunny_freea(c); }
15.578947
32
0.577703
Damdoshi
1ad0e382a2b2a74cf034d6474b5ff0b8f8b86f5a
1,669
hpp
C++
src/neuron/SwcNode.hpp
yzx9/NeuronSdfViewer
454164dfccf80b806aac3cd7cca09e2cb8bd3c2a
[ "MIT" ]
1
2021-12-31T10:29:56.000Z
2021-12-31T10:29:56.000Z
src/neuron/SwcNode.hpp
yzx9/NeuronSdfViewer
454164dfccf80b806aac3cd7cca09e2cb8bd3c2a
[ "MIT" ]
null
null
null
src/neuron/SwcNode.hpp
yzx9/NeuronSdfViewer
454164dfccf80b806aac3cd7cca09e2cb8bd3c2a
[ "MIT" ]
null
null
null
#pragma once #include <string> #include <regex> #include <memory> class SwcNode { public: int id; int type; float x; float y; float z; float raidus; int parent; std::unique_ptr<SwcNode> child; std::unique_ptr<SwcNode> next; static bool try_parse(const std::string &s, std::uniq...
24.910448
78
0.461354
yzx9
1adff208083bea1d0805b338aabccdebbc09a1d9
315
inl
C++
src/readers/F3DExodusIIReader.inl
Meakk/f3d
40db15ab2a6500ea67bfee5d35714b5c5e2d993c
[ "BSD-3-Clause" ]
318
2021-11-14T02:22:32.000Z
2022-03-31T02:32:52.000Z
src/readers/F3DExodusIIReader.inl
Meakk/f3d
40db15ab2a6500ea67bfee5d35714b5c5e2d993c
[ "BSD-3-Clause" ]
223
2021-11-12T20:52:41.000Z
2022-03-29T21:35:18.000Z
src/readers/F3DExodusIIReader.inl
Meakk/f3d
40db15ab2a6500ea67bfee5d35714b5c5e2d993c
[ "BSD-3-Clause" ]
24
2021-11-12T22:12:24.000Z
2022-03-28T12:42:17.000Z
void ApplyCustomReader(vtkAlgorithm* reader, const std::string&) const override { vtkExodusIIReader* exReader = vtkExodusIIReader::SafeDownCast(reader); exReader->UpdateInformation(); exReader->SetAllArrayStatus(vtkExodusIIReader::NODAL, 1); exReader->SetAllArrayStatus(vtkExodusIIReader::ELEM_BLOCK, 1); }
39.375
79
0.8
Meakk
1ae6ee53a1b5bd07a80998f710a02123d3fe9285
5,254
hpp
C++
Altis_Life.Altis/config/Config_Process.hpp
TomLorenzi/AltasiaV2-Public
324e20c4730587de8f7e3eab8acbe9cb02912a1a
[ "MIT" ]
null
null
null
Altis_Life.Altis/config/Config_Process.hpp
TomLorenzi/AltasiaV2-Public
324e20c4730587de8f7e3eab8acbe9cb02912a1a
[ "MIT" ]
null
null
null
Altis_Life.Altis/config/Config_Process.hpp
TomLorenzi/AltasiaV2-Public
324e20c4730587de8f7e3eab8acbe9cb02912a1a
[ "MIT" ]
null
null
null
/* * class: * MaterialsReq (Needed to process) = Array - Format -> {{"ITEM CLASS",HOWMANY}} * MaterialsGive (Returned items) = Array - Format -> {{"ITEM CLASS",HOWMANY}} * Text (Progess Bar Text) = Localised String * NoLicenseCost (Cost to process w/o license) = Scalar * * Example for multip...
27.507853
85
0.533879
TomLorenzi
1aeb56dbe4e30c69fbc1793cc1cc979b07f51758
3,955
cpp
C++
base/pbr/VulkanObjModel.cpp
wessles/vkmerc
cb087f425cdbc0b204298833474cf62874505388
[ "Unlicense" ]
6
2020-10-09T02:48:54.000Z
2021-07-30T06:31:20.000Z
base/pbr/VulkanObjModel.cpp
wessles/vkmerc
cb087f425cdbc0b204298833474cf62874505388
[ "Unlicense" ]
null
null
null
base/pbr/VulkanObjModel.cpp
wessles/vkmerc
cb087f425cdbc0b204298833474cf62874505388
[ "Unlicense" ]
null
null
null
#include "VulkanObjModel.h" #include <unordered_map> #include <filesystem> #include <iostream> #include <glm/glm.hpp> #include <glm/gtx/string_cast.hpp> #define TINYOBJLOADER_IMPLEMENTATION #include <tiny_obj_loader.h> #include "../VulkanMesh.h" #include "../scene/Scene.h" #include "PbrMaterial.h" static std::stri...
29.736842
159
0.668015
wessles
8c1d6f83dd2669c716d71f751abe3b49418da6ad
3,375
cpp
C++
vector.cpp
csiro-robotics/Morphogenesis
4d390609f941a58f09529371d185a344573de35f
[ "BSD-3-Clause" ]
null
null
null
vector.cpp
csiro-robotics/Morphogenesis
4d390609f941a58f09529371d185a344573de35f
[ "BSD-3-Clause" ]
null
null
null
vector.cpp
csiro-robotics/Morphogenesis
4d390609f941a58f09529371d185a344573de35f
[ "BSD-3-Clause" ]
null
null
null
#include "vector.h" #include "matrix.h" #define VTYPE float Vector3DF &Vector3DF::operator*= (const MatrixF &op) { double *m = op.GetDataF (); float xa, ya, za; xa = x * float(*m++); ya = x * float(*m++); za = x * float(*m++); m++; xa += y * float(*m++); ya += y * float(*m++); za += y * float(*m++); m++; xa += ...
28.601695
92
0.47437
csiro-robotics
8c1dde0196518bd1550bee9b3f84249cf7060d1c
198
cpp
C++
test_index_reference.cpp
insertinterestingnamehere/cython_overload_except
00d76ad8020fcb21948545de8161da65f7f4acd8
[ "BSD-2-Clause" ]
null
null
null
test_index_reference.cpp
insertinterestingnamehere/cython_overload_except
00d76ad8020fcb21948545de8161da65f7f4acd8
[ "BSD-2-Clause" ]
null
null
null
test_index_reference.cpp
insertinterestingnamehere/cython_overload_except
00d76ad8020fcb21948545de8161da65f7f4acd8
[ "BSD-2-Clause" ]
null
null
null
#include "add.cpp" #include <iostream> int main(){ wrapped_int a = 3; long long b = 2; std::cout << a[b].val << std::endl; wrapped_int &temp = a[b]; std::cout << temp.val << std::endl; }
18
37
0.580808
insertinterestingnamehere
8c1e21fcc1bfc1f79fd2dad6a5aa8ff6dc21c3ff
2,280
cpp
C++
app/main.cpp
shivamakhauri04/midterm_project
4d062d90cb459d035fa9453aa837463b1e72f5a5
[ "MIT" ]
null
null
null
app/main.cpp
shivamakhauri04/midterm_project
4d062d90cb459d035fa9453aa837463b1e72f5a5
[ "MIT" ]
9
2019-10-19T06:55:30.000Z
2019-10-21T15:08:33.000Z
app/main.cpp
shivamakhauri04/midterm_project
4d062d90cb459d035fa9453aa837463b1e72f5a5
[ "MIT" ]
1
2019-10-19T02:12:38.000Z
2019-10-19T02:12:38.000Z
/** * @file main.cpp * @author Shivam Akhauri (Driver),Toyas Dhake (Navigator), * @date 20 October 2019 * @copyright 2019 Toyas Dhake, Shivam Akhauri * @brief Main file for implementation of the Depth Perception project. */ #include <dlib/opencv.h> #include <dlib/gui_widgets.h> #include <dlib/image_processing/frontal_...
38.644068
80
0.601316
shivamakhauri04
8c28ff85a56ee2abce629feee801ca4185d9fd4e
355
cpp
C++
tests/mixed/mixed_invalid_unwrap_test.cpp
pacmancoder/exl
ffd66d30e76d60aa7e4efe75274e4a8a35427961
[ "BSL-1.0" ]
1
2019-05-02T12:00:50.000Z
2019-05-02T12:00:50.000Z
tests/mixed/mixed_invalid_unwrap_test.cpp
pacmancoder/exl
ffd66d30e76d60aa7e4efe75274e4a8a35427961
[ "BSL-1.0" ]
14
2019-02-13T17:21:07.000Z
2019-03-08T21:40:38.000Z
tests/mixed/mixed_invalid_unwrap_test.cpp
pacmancoder/exl
ffd66d30e76d60aa7e4efe75274e4a8a35427961
[ "BSL-1.0" ]
null
null
null
// Copyright (C) 2019 Vladislav Nikonov <mail@pacmancoder.xyz> // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE_1_0.txt) #include <exl/mixed.hpp> #include <termination_test.hpp> void termination_test() { exl::mixed<char, i...
25.357143
83
0.715493
pacmancoder
8c2a7228c91fe29e32f4bdf0d3796f4e551b287c
5,812
hpp
C++
src/libv/diff/diff.hpp
cpplibv/libv
293e382f459f0acbc540de8ef6283782b38d2e63
[ "Zlib" ]
2
2018-04-11T03:07:03.000Z
2019-03-29T15:24:12.000Z
src/libv/diff/diff.hpp
cpplibv/libv
293e382f459f0acbc540de8ef6283782b38d2e63
[ "Zlib" ]
null
null
null
src/libv/diff/diff.hpp
cpplibv/libv
293e382f459f0acbc540de8ef6283782b38d2e63
[ "Zlib" ]
1
2021-06-13T06:39:06.000Z
2021-06-13T06:39:06.000Z
// Project: libv.diff, File: src/libv/diff/diff.hpp, Author: Császár Mátyás [Vader] #pragma once // libv #include <libv/utility/bytes/input_bytes.hpp> #include <libv/utility/bytes/output_bytes.hpp> // std #include <optional> #include <string> #include <vector> namespace libv { namespace diff { // -----------------...
39.808219
136
0.668789
cpplibv
8c2b0f8c42e3757625f710420e30b7d152444f96
14,696
cpp
C++
LSL/GLUtils.cpp
AntonBogomolov/LightSpeedLimit
215d573f46eef63801cbd8df654f104401bae581
[ "MIT" ]
null
null
null
LSL/GLUtils.cpp
AntonBogomolov/LightSpeedLimit
215d573f46eef63801cbd8df654f104401bae581
[ "MIT" ]
null
null
null
LSL/GLUtils.cpp
AntonBogomolov/LightSpeedLimit
215d573f46eef63801cbd8df654f104401bae581
[ "MIT" ]
null
null
null
#include "global.h" #include "GLUtils.h" #include "GLShaderObject.h" #include "TextureManager.h" #include "Texture.h" #include "TextureAtlas.h" #include "VertexArray.h" #include "VertexBuffer.h" #include "SceneGraphNode.h" #include "ScreenObj.h" #include "VideoManeger.h" #include "DrawablePrimitive.h" CGLUtils* CGLUti...
37.394402
163
0.62187
AntonBogomolov
8c32011a805538118756eb62bf63bb51db53a544
377
cc
C++
below2.1/speeding.cc
danzel-py/Kattis-Problem-Archive
bce1929d654b1bceb104f96d68c74349273dd1ff
[ "Apache-2.0" ]
null
null
null
below2.1/speeding.cc
danzel-py/Kattis-Problem-Archive
bce1929d654b1bceb104f96d68c74349273dd1ff
[ "Apache-2.0" ]
null
null
null
below2.1/speeding.cc
danzel-py/Kattis-Problem-Archive
bce1929d654b1bceb104f96d68c74349273dd1ff
[ "Apache-2.0" ]
null
null
null
#include <iostream> using namespace std; int main(){ int nu; cin>>nu; int t,p; cin>>t>>p; int mem, memp; int max = 0; for (int i = 0; i < nu-1; i++) { mem = t; memp = p; cin>>t>>p; if((p - memp)/(t-mem)>max){ max = (p - memp)/(t-mem); ...
15.08
37
0.37931
danzel-py
8c38b1f3f05a74824dc7ef74d8f65ded63d62a3a
263
hpp
C++
tools/mem_usage/mem_usage.hpp
LioQing/personal-utils
e24d1ea1510087797c6b85bae89a3801a2e77f3d
[ "Unlicense" ]
null
null
null
tools/mem_usage/mem_usage.hpp
LioQing/personal-utils
e24d1ea1510087797c6b85bae89a3801a2e77f3d
[ "Unlicense" ]
null
null
null
tools/mem_usage/mem_usage.hpp
LioQing/personal-utils
e24d1ea1510087797c6b85bae89a3801a2e77f3d
[ "Unlicense" ]
null
null
null
#pragma once #include <cstdint> namespace lio { enum MemArgs : uint8_t { USAGE = 0b001, COUNT = 0b010, PEAK = 0b100 }; extern size_t memory_count; extern size_t memory_used; extern size_t memory_peak; void print_mem_isage(uint8_t args = USAGE); }
13.842105
44
0.714829
LioQing
8c4025d9dbd5731fa3083db7d2c4fd5895e88a69
4,798
cpp
C++
Framework/Math/Scissor.cpp
dengwenyi88/Deferred_Lighting
b45b6590150a3119b0c2365f4795d93b3b4f0748
[ "MIT" ]
110
2017-06-23T17:12:28.000Z
2022-02-22T19:11:38.000Z
RunTest/Framework3/Math/Scissor.cpp
dtrebilco/ECSAtto
86a04f0bdc521c79f758df94250c1898c39213c8
[ "MIT" ]
null
null
null
RunTest/Framework3/Math/Scissor.cpp
dtrebilco/ECSAtto
86a04f0bdc521c79f758df94250c1898c39213c8
[ "MIT" ]
3
2018-02-12T00:16:18.000Z
2018-02-18T11:12:35.000Z
/* * * * * * * * * * * * * Author's note * * * * * * * * * * * *\ * _ _ _ _ _ _ _ _ _ _ _ _ * * |_| |_| |_| |_| |_|_ _|_| |_| |_| _|_|_|_|_| * * |_|_ _ _|_| |_| |_| |_|_|_|_|_| |_| |_| |_|_ _ _ * * |_|_|_|_|_| |_| |_| |_| |_| |_| |_| |_| |_...
32.418919
201
0.516048
dengwenyi88
8c402ea7a19d66f47675ff19cdb33761cb9c5fe1
10,767
cpp
C++
app/src/main/jni/comitton/PdfCrypt.cpp
mryp/ComittoNxA
9b46c267bff22c2090d75ac70b589f9a12d61457
[ "Unlicense" ]
14
2020-08-05T09:36:01.000Z
2022-02-23T01:48:18.000Z
app/src/main/jni/comitton/PdfCrypt.cpp
yuma2a/ComittoNxA-Continued
9d85c4f5753e534c3ff0cf83fe53df588872c8ff
[ "Unlicense" ]
1
2021-11-13T14:23:07.000Z
2021-11-13T14:23:07.000Z
app/src/main/jni/comitton/PdfCrypt.cpp
mryp/ComittoNxA
9b46c267bff22c2090d75ac70b589f9a12d61457
[ "Unlicense" ]
4
2021-04-21T02:56:50.000Z
2021-11-08T12:02:32.000Z
/* MD5C.C - RSA Data Security, Inc., MD5 message-digest algorithm Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All rights reserved. License to copy and use this software is granted provided that it is identified as the "RSA Data Security, Inc. MD5 Message-Digest Algorithm" in all material mentioning or...
24.414966
151
0.665181
mryp
8c4362e959450f80b6bf82e2f1ed5afb88ab06c5
13,332
cpp
C++
src/ui/inspectMode.cpp
averrin/lss
c2aa0486641fba15daceab3241122e387720c898
[ "MIT" ]
4
2018-07-09T20:53:06.000Z
2018-07-12T07:10:19.000Z
src/ui/inspectMode.cpp
averrin/lss
c2aa0486641fba15daceab3241122e387720c898
[ "MIT" ]
null
null
null
src/ui/inspectMode.cpp
averrin/lss
c2aa0486641fba15daceab3241122e387720c898
[ "MIT" ]
null
null
null
#include "ui/inspectMode.hpp" #include "ui/LSSApp.hpp" #include "ui/fragment.hpp" #include "lss/generator/room.hpp" #include "lss/utils.hpp" #include "ui/utils.hpp" auto F = [](std::string c) { return std::make_shared<Fragment>(c); }; bool InspectMode::processKey(KeyEvent event) { switch (event.getCode()) { case ...
41.6625
91
0.578533
averrin
8c4761fc6234aa0a84b2b3511d7fb746f566f793
9,649
cpp
C++
experiments/src/globimap_test_polygons_mask.cpp
mlaass/globimap
6bbcbf33cc39ed343662e6b98871dc6dfbc4648f
[ "MIT" ]
null
null
null
experiments/src/globimap_test_polygons_mask.cpp
mlaass/globimap
6bbcbf33cc39ed343662e6b98871dc6dfbc4648f
[ "MIT" ]
null
null
null
experiments/src/globimap_test_polygons_mask.cpp
mlaass/globimap
6bbcbf33cc39ed343662e6b98871dc6dfbc4648f
[ "MIT" ]
null
null
null
#include "globimap/counting_globimap.hpp" #include "globimap_test_config.hpp" #include <algorithm> #include <chrono> #include <filesystem> #include <fstream> #include <iostream> #include <limits> #include <math.h> #include <string> #include <highfive/H5File.hpp> #include <tqdm.hpp> #include <boost/geometry.hpp> #incl...
33.272414
79
0.5755
mlaass
8c4ae2f09ee13bd0829af2f0432da5c2187d79cf
267
hpp
C++
include/boomhs/game_config.hpp
bjadamson/BoomHS
60b5d8ddc2490ec57e8f530ba7ce3135221e2ec4
[ "MIT" ]
2
2016-07-22T10:09:21.000Z
2017-09-16T06:50:01.000Z
include/boomhs/game_config.hpp
bjadamson/BoomHS
60b5d8ddc2490ec57e8f530ba7ce3135221e2ec4
[ "MIT" ]
14
2016-08-13T22:45:56.000Z
2018-12-16T03:56:36.000Z
include/boomhs/game_config.hpp
bjadamson/BoomHS
60b5d8ddc2490ec57e8f530ba7ce3135221e2ec4
[ "MIT" ]
null
null
null
#pragma once namespace boomhs { enum class GameGraphicsMode { Basic = 0, Medium, Advanced }; struct GameGraphicsSettings { GameGraphicsMode mode = GameGraphicsMode::Basic; bool disable_sunshafts = true; }; } // namespace boomhs
13.35
63
0.662921
bjadamson
8c5328e5fdeb3c8b024ba1539ad80c1d7ae43227
1,256
cpp
C++
day16/part1.cpp
Moremar/advent_of_code_2016
dea264671fc2c31baa42b1282751dfd1ae071a7d
[ "Apache-2.0" ]
null
null
null
day16/part1.cpp
Moremar/advent_of_code_2016
dea264671fc2c31baa42b1282751dfd1ae071a7d
[ "Apache-2.0" ]
null
null
null
day16/part1.cpp
Moremar/advent_of_code_2016
dea264671fc2c31baa42b1282751dfd1ae071a7d
[ "Apache-2.0" ]
null
null
null
#include "part1.hpp" using namespace std; vector<char> Part1::parse(const string &fileName) { const string line = getFileLines(fileName)[0]; return { line.begin(), line.end() }; } vector<char> checksum(const vector<char> &input, size_t targetSize) { vector<char> res; res.reserve(targetSize / 2); ...
28.545455
86
0.602707
Moremar
8c57260b688499deeb446882123cfda02314f283
2,941
cpp
C++
source/app/gui.cpp
emiyl/dumpling
48d76f5a4c035585683e1b414df2b66d5bb12e15
[ "MIT" ]
53
2020-04-11T15:49:21.000Z
2022-03-20T03:47:33.000Z
source/app/gui.cpp
emiyl/dumpling
48d76f5a4c035585683e1b414df2b66d5bb12e15
[ "MIT" ]
22
2020-08-14T19:45:13.000Z
2022-03-30T00:49:27.000Z
source/app/gui.cpp
emiyl/dumpling
48d76f5a4c035585683e1b414df2b66d5bb12e15
[ "MIT" ]
11
2020-04-19T09:19:08.000Z
2022-03-21T20:16:54.000Z
#include "gui.h" #define NUM_LINES (16) #define LINE_LENGTH (128) #define MEMORY_HEAP_TAG (0x0002B2B2) static char textBuffer[NUM_LINES][LINE_LENGTH]; static uint32_t currLineNumber = 0; static uint8_t* frameBufferTVFrontPtr = nullptr; static uint8_t* frameBufferTVBackPtr = nullptr; static uint32_t frameBufferTVSize...
32.318681
103
0.743285
emiyl
8c57cdf94eb7b2e42d37e44f18e63a7b93c55d6b
146
cpp
C++
C03_ClassStructure/Main.cpp
Nolukdi/IGME309-2201
988d8bcae34613e5d88cb2cc92dafe0c1e8ff05a
[ "MIT" ]
2
2020-08-20T14:54:45.000Z
2020-09-13T17:37:34.000Z
C03_ClassStructure/Main.cpp
Nolukdi/IGME309-2201
988d8bcae34613e5d88cb2cc92dafe0c1e8ff05a
[ "MIT" ]
null
null
null
C03_ClassStructure/Main.cpp
Nolukdi/IGME309-2201
988d8bcae34613e5d88cb2cc92dafe0c1e8ff05a
[ "MIT" ]
26
2020-08-20T17:39:34.000Z
2021-02-27T16:27:06.000Z
#include "Main.h" int main(void) { AppClass* pApp = new AppClass(); pApp->Run(); if (pApp) { delete pApp; pApp = nullptr; } return 0; }
11.230769
33
0.59589
Nolukdi
8c58bcb88b8c8533858b93b5b5226d86efd5d4b7
11,114
cpp
C++
Lecture9/visualizer/theCamera.cpp
Zenologos/IDS6938-SimulationTechniques
b3630852b2edb3ec4e176b26f0de56b77b460a2a
[ "Apache-2.0" ]
null
null
null
Lecture9/visualizer/theCamera.cpp
Zenologos/IDS6938-SimulationTechniques
b3630852b2edb3ec4e176b26f0de56b77b460a2a
[ "Apache-2.0" ]
null
null
null
Lecture9/visualizer/theCamera.cpp
Zenologos/IDS6938-SimulationTechniques
b3630852b2edb3ec4e176b26f0de56b77b460a2a
[ "Apache-2.0" ]
null
null
null
#include "theCamera.h" /** @brief Constructs a camera * * Constructs a camera object by setting the position, look at position, up vector. * Puts together a model matrix, and projection matrix. * * @param width - float - width of window * @param height - float - height of window * @return void. */ Visualizer::th...
26.089202
166
0.699028
Zenologos
8c5946d276ae225928ba41370ad04228e7d08352
2,506
cc
C++
src/structured-interface/detail/debug.cc
project-arcana/structured-interface
56054310e08a3ae98f8065a90b454e23a36d60d9
[ "MIT" ]
1
2020-12-09T13:55:07.000Z
2020-12-09T13:55:07.000Z
src/structured-interface/detail/debug.cc
project-arcana/structured-interface
56054310e08a3ae98f8065a90b454e23a36d60d9
[ "MIT" ]
1
2019-09-29T09:02:03.000Z
2019-09-29T09:02:03.000Z
src/structured-interface/detail/debug.cc
project-arcana/structured-interface
56054310e08a3ae98f8065a90b454e23a36d60d9
[ "MIT" ]
null
null
null
#include "debug.hh" #include <iomanip> #include <iostream> #include <clean-core/string.hh> #include <structured-interface/element_tree.hh> #include <structured-interface/properties.hh> #include <structured-interface/recorded_ui.hh> namespace { void print_property(cc::string_view prefix, size_t prop_id, cc::span<std...
31.325
142
0.570231
project-arcana
8c5f17b009c88df2381cc99e3110295474d7802e
1,699
cpp
C++
src/graph/src/FlowEdge.cpp
karz0n/algorithms
b2a08ba990c7e4f078eb7bf3c90d050eb38de9d8
[ "MIT" ]
1
2020-04-18T14:34:16.000Z
2020-04-18T14:34:16.000Z
src/graph/src/FlowEdge.cpp
karz0n/algorithms
b2a08ba990c7e4f078eb7bf3c90d050eb38de9d8
[ "MIT" ]
null
null
null
src/graph/src/FlowEdge.cpp
karz0n/algorithms
b2a08ba990c7e4f078eb7bf3c90d050eb38de9d8
[ "MIT" ]
null
null
null
/** * This program is free software: you can redistribute it and/or modify * it under the terms of the License. * * This program is distributed in the hope that it will be useful, * but WITHOUT WARRANTY OF ANY KIND; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See th...
17.515464
73
0.626839
karz0n
8c5fb83452c076d7e7240ae989fb6e1cc6e3ee1c
6,783
cpp
C++
NoFTL_v1.0/shoreMT-KIT/src/workload/ssb/qpipe/qpipe_qsupplier.cpp
DBlabRT/NoFTL
cba8b5a6d9c422bdd39b01575244e557cbd12e43
[ "Unlicense" ]
4
2019-01-24T02:00:23.000Z
2021-03-17T11:56:59.000Z
NoFTL_v1.0/shoreMT-KIT/src/workload/ssb/qpipe/qpipe_qsupplier.cpp
DBlabRT/NoFTL
cba8b5a6d9c422bdd39b01575244e557cbd12e43
[ "Unlicense" ]
null
null
null
NoFTL_v1.0/shoreMT-KIT/src/workload/ssb/qpipe/qpipe_qsupplier.cpp
DBlabRT/NoFTL
cba8b5a6d9c422bdd39b01575244e557cbd12e43
[ "Unlicense" ]
4
2019-01-22T10:35:55.000Z
2021-03-17T11:57:23.000Z
/* -*- mode:C++; c-basic-offset:4 -*- Shore-kits -- Benchmark implementations for Shore-MT Copyright (c) 2007-2009 Data Intensive Applications and Systems Labaratory (DIAS) Ecole Polytechnique Federale de Lausanne All Rights Reserved. ...
28.2625
78
0.579685
DBlabRT