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
a8ff3b95c9a86e80d103a45dff48116d2fe2cb2c
3,123
cpp
C++
MapKit/Plugins/AscMapKit/Source/AscMapKit/Private/Area/AscMapKitEnvironmentAreaBillboardComponent.cpp
Ascentroid/Ascentroid-Map-Kit-Plugin
722384c597f08df08850fb49387c0b661240303b
[ "MIT" ]
11
2020-09-29T15:01:08.000Z
2022-03-28T12:33:31.000Z
MapKit/Plugins/AscMapKit/Source/AscMapKit/Private/Area/AscMapKitEnvironmentAreaBillboardComponent.cpp
Ascentroid/Ascentroid-Map-Kit-Plugin
722384c597f08df08850fb49387c0b661240303b
[ "MIT" ]
151
2020-10-12T00:05:52.000Z
2022-01-01T04:01:38.000Z
MapKit/Plugins/AscMapKit/Source/AscMapKit/Private/Area/AscMapKitEnvironmentAreaBillboardComponent.cpp
Ascentroid/Ascentroid-Map-Kit-Plugin
722384c597f08df08850fb49387c0b661240303b
[ "MIT" ]
1
2021-01-06T21:21:57.000Z
2021-01-06T21:21:57.000Z
#include "AscMapKit/Public/Area/AscMapKitEnvironmentAreaBillboardComponent.h" #include "Runtime/CoreUObject/Public/UObject/ConstructorHelpers.h" UAscMapKitEnvironmentAreaBillboardComponent::UAscMapKitEnvironmentAreaBillboardComponent() { const ConstructorHelpers::FObjectFinder<UTexture2D> UnknownTextureRef(TE...
52.05
233
0.770733
Ascentroid
a8fff6a7fd20bf4d3b6e84eb0b66123bd3783a4b
514
cc
C++
leetcode/leetcode_204.cc
math715/arts
ff73ccb7d67f7f7c87150204e15aeb46047f0e02
[ "MIT" ]
null
null
null
leetcode/leetcode_204.cc
math715/arts
ff73ccb7d67f7f7c87150204e15aeb46047f0e02
[ "MIT" ]
null
null
null
leetcode/leetcode_204.cc
math715/arts
ff73ccb7d67f7f7c87150204e15aeb46047f0e02
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> #include <string> #include <vector> using namespace std; int countPrimes(int n) { vector<bool> pt; pt.resize(n + 1, false); int result = 0; for (int i = 2; i < n; ++i ){ if (pt[i] == false) { pt[i] = true; result ++; for (int j = i + i; j < n; j +...
17.133333
41
0.51751
math715
d107023551b4b0fff75e5f0bd07d850c315364ef
601
cpp
C++
offer/problem016/Solution.cpp
MyYaYa/leetcode
d779c215516ede594267b15abdfba5a47dc879dd
[ "Apache-2.0" ]
1
2016-09-29T14:23:59.000Z
2016-09-29T14:23:59.000Z
offer/problem016/Solution.cpp
MyYaYa/leetcode
d779c215516ede594267b15abdfba5a47dc879dd
[ "Apache-2.0" ]
null
null
null
offer/problem016/Solution.cpp
MyYaYa/leetcode
d779c215516ede594267b15abdfba5a47dc879dd
[ "Apache-2.0" ]
null
null
null
/* struct ListNode { int val; struct ListNode *next; ListNode(int x) : val(x), next(NULL) { } };*/ class Solution { public: ListNode* FindKthToTail(ListNode* pListHead, unsigned int k) { if (!pListHead || k == 0) return NULL; ListNode* ahead = pListHead; ListNode* behind =...
21.464286
66
0.487521
MyYaYa
d110a410183fd752db2c7aa41c4b47f4ba11d3b5
298
cpp
C++
QLeonApplication/main.cpp
xmlhh/QMGUILIB
55efc9bd51d45410aea8264e2be5eed99e991753
[ "Apache-2.0" ]
2
2018-06-27T15:43:30.000Z
2020-02-29T05:15:55.000Z
QLeonApplication/main.cpp
oLHHo/QMGUILIB
55efc9bd51d45410aea8264e2be5eed99e991753
[ "Apache-2.0" ]
null
null
null
QLeonApplication/main.cpp
oLHHo/QMGUILIB
55efc9bd51d45410aea8264e2be5eed99e991753
[ "Apache-2.0" ]
2
2018-03-15T06:18:25.000Z
2018-08-10T14:40:48.000Z
#include "LeonWgt.h" #include "../QMGUILIB/LCommon.h" #include <QApplication> int main(int argc, char *argv[]) { QApplication a(argc, argv); LeonWgt w; // 初始界面样式 LCommon::SetStyle("blue_1"); // 中文翻译 LCommon::SetChinese("qt_zh_CN"); w.show(); return a.exec(); }
14.9
36
0.604027
xmlhh
d11275207fd79b257663893364446863ca743944
465
cc
C++
src/utils/utils.cc
gress2/AST
fdd5262f6c4aea91c6917a732ef4fa1406999ccd
[ "MIT" ]
null
null
null
src/utils/utils.cc
gress2/AST
fdd5262f6c4aea91c6917a732ef4fa1406999ccd
[ "MIT" ]
null
null
null
src/utils/utils.cc
gress2/AST
fdd5262f6c4aea91c6917a732ef4fa1406999ccd
[ "MIT" ]
null
null
null
#include "utils/utils.hpp" namespace brick { namespace utils { std::string random_string(size_t length) { auto randchar = []() -> char { const char charset[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" "abcdefghijklmnopqrstuvwxyz"; const size_t max_index = (sizeof(charset) - 1); return...
22.142857
55
0.621505
gress2
d119881d4516972ed6d090afd52db6bac9fe0dd9
2,330
cpp
C++
06 - slime_simulation/graphics/Shader.cpp
Chokearth/OpenGL_training
2baf712222da121722342cbac78c74ff9a685a0e
[ "MIT" ]
null
null
null
06 - slime_simulation/graphics/Shader.cpp
Chokearth/OpenGL_training
2baf712222da121722342cbac78c74ff9a685a0e
[ "MIT" ]
null
null
null
06 - slime_simulation/graphics/Shader.cpp
Chokearth/OpenGL_training
2baf712222da121722342cbac78c74ff9a685a0e
[ "MIT" ]
null
null
null
// // Created by chokearth on 7/30/21. // #include "Shader.h" // Load a shader file to a char array void load_shader(char ** shaderBuffer, const char *path) { // Open file std::ifstream file(path); if (!file.is_open()) { std::cerr << "Could not open shader file \"" << path << "\"" << std::endl; ...
29.125
108
0.690987
Chokearth
d121107b149db0fffd32cb4d14aceafb9d0369c1
589
hpp
C++
Sources/Entry/Gameplay/NameGen.hpp
ace13/LD32
17bcaf4940ad3e3133764df0353d4f3b4afc8c0f
[ "MIT" ]
null
null
null
Sources/Entry/Gameplay/NameGen.hpp
ace13/LD32
17bcaf4940ad3e3133764df0353d4f3b4afc8c0f
[ "MIT" ]
2
2015-04-18T10:56:46.000Z
2015-04-18T13:22:56.000Z
Sources/Entry/Gameplay/NameGen.hpp
ace13/LD32
17bcaf4940ad3e3133764df0353d4f3b4afc8c0f
[ "MIT" ]
null
null
null
#pragma once #include <string> namespace Gameplay { class Namegen { public: // Typical tumblr-idiot-esque name // Examples: // // stuckwithharrypottertilltheend // polished-trophy-pretty-whore // seeminglydeepstatement // unconventionalmoose // theyellowbrickroad // feathersmcstrange // chicke...
15.5
47
0.660441
ace13
d122dc6caaabaa2d5ea44efe36ed709f9ffa2e63
4,658
hpp
C++
PlotUtils/interface/StandardPlotFormat.hpp
yimuchen/UserUtils
1a5c55d286f325424f4cfd23f22da63cfa6fb6a9
[ "MIT" ]
null
null
null
PlotUtils/interface/StandardPlotFormat.hpp
yimuchen/UserUtils
1a5c55d286f325424f4cfd23f22da63cfa6fb6a9
[ "MIT" ]
1
2021-12-10T15:04:04.000Z
2022-01-10T18:56:53.000Z
PlotUtils/interface/StandardPlotFormat.hpp
yimuchen/UserUtils
1a5c55d286f325424f4cfd23f22da63cfa6fb6a9
[ "MIT" ]
1
2018-06-05T14:08:08.000Z
2018-06-05T14:08:08.000Z
/** * @file StandardPlotFormat.hpp * @author Yi-Mu "Enoch Chen" * @brief Definition of all standardized plotting related classes. */ #ifndef USERUTILS_PLOTUTILS_SDPFORMAT_HPP #define USERUTILS_PLOTUTILS_SDPFORMAT_HPP #ifdef CMSSW_GIT_HASH #include "UserUtils/Common/interface/RapidJson.hpp" #include "UserUtils/Math...
20.981982
77
0.724131
yimuchen
d128b8749629bf5effa7fd3d81839b8fca556b7a
9,903
cc
C++
src/button.cc
ComputerNerd/moonfltk
6da77cacb0b158907c5cf9320b9d06ca44dd43c0
[ "MIT" ]
38
2016-06-22T18:39:45.000Z
2021-09-14T00:15:18.000Z
src/button.cc
ComputerNerd/moonfltk
6da77cacb0b158907c5cf9320b9d06ca44dd43c0
[ "MIT" ]
23
2018-03-21T13:19:32.000Z
2022-02-15T12:09:23.000Z
src/button.cc
ComputerNerd/moonfltk
6da77cacb0b158907c5cf9320b9d06ca44dd43c0
[ "MIT" ]
9
2016-06-23T11:44:29.000Z
2022-02-05T09:08:49.000Z
/* The MIT License (MIT) * * Copyright (c) 2016 Stefano Trettel * * Software repository: MoonFLTK, https://github.com/stetre/moonfltk * * 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...
37.089888
98
0.532667
ComputerNerd
d12efbfbccf8a61e4e428bf6af4bda8693430f9a
34,938
cpp
C++
wz4/wz4frlib/wz4_mtrl2.cpp
kebby/Werkkzeug4
f2ff557020d62c348b54d88e137999175b5c18a3
[ "BSD-2-Clause" ]
10
2020-11-26T09:45:15.000Z
2022-03-18T00:18:27.000Z
wz4/wz4frlib/wz4_mtrl2.cpp
kebby/Werkkzeug4
f2ff557020d62c348b54d88e137999175b5c18a3
[ "BSD-2-Clause" ]
null
null
null
wz4/wz4frlib/wz4_mtrl2.cpp
kebby/Werkkzeug4
f2ff557020d62c348b54d88e137999175b5c18a3
[ "BSD-2-Clause" ]
3
2020-01-02T19:11:44.000Z
2022-03-18T00:21:45.000Z
/*+**************************************************************************/ /*** ***/ /*** This file is distributed under a BSD license. ***/ /*** See LICENSE.txt for details. ***/ /***...
29.285834
172
0.621043
kebby
d12f1ed4d02b8a44ce4eda05e23734b729c9ae03
12,318
cpp
C++
src/uti_phgrm/TiepTri/LsqCorrel.cpp
peppsac/micmac
6c7810716d45a200495bfffa3da42aa1a23258fa
[ "CECILL-B" ]
1
2021-05-19T20:04:00.000Z
2021-05-19T20:04:00.000Z
src/uti_phgrm/TiepTri/LsqCorrel.cpp
peppsac/micmac
6c7810716d45a200495bfffa3da42aa1a23258fa
[ "CECILL-B" ]
null
null
null
src/uti_phgrm/TiepTri/LsqCorrel.cpp
peppsac/micmac
6c7810716d45a200495bfffa3da42aa1a23258fa
[ "CECILL-B" ]
1
2021-04-20T10:29:33.000Z
2021-04-20T10:29:33.000Z
/*Header-MicMac-eLiSe-25/06/2007 MicMac : Multi Image Correspondances par Methodes Automatiques de Correlation eLiSe : ELements of an Image Software Environnement www.micmac.ign.fr Copyright : Institut Geographique National Author : Marc Pierrot Deseilligny Contributors : Gregoire Maille...
29.539568
149
0.574769
peppsac
d13acfac50ec7efd70b9ea920edcad6628ae4566
1,059
cpp
C++
Zapis_na_SD_kartico/src/main.cpp
logocar3/ESP32_LEGO
5818d67d75b65e53b082976b5f9db19ada944261
[ "MIT" ]
null
null
null
Zapis_na_SD_kartico/src/main.cpp
logocar3/ESP32_LEGO
5818d67d75b65e53b082976b5f9db19ada944261
[ "MIT" ]
null
null
null
Zapis_na_SD_kartico/src/main.cpp
logocar3/ESP32_LEGO
5818d67d75b65e53b082976b5f9db19ada944261
[ "MIT" ]
null
null
null
#include <Arduino.h> // knjiznice SD #include <FS.h> #include <SD.h> #include <SPI.h> // SD card pin #define SD_CS 5 File tekst; void setup() { // put your setup code here, to run once: Serial.begin(9600); //pinMode(19,INPUT_PULLUP); //pinMode(SD_CS,INPUT_PULLUP); //pinMode(23,INPUT_PUL...
20.764706
50
0.600567
logocar3
d13b6d139f39f03ea8e331a60944f94ab377358a
17,180
cc
C++
gazebo/gui/plot/TopicCurveHandler.cc
yinnglu/gazebo
3a5618a2a18873141e3cac734a692b778cec4fc0
[ "ECL-2.0", "Apache-2.0" ]
1
2019-03-04T14:12:55.000Z
2019-03-04T14:12:55.000Z
gazebo/gui/plot/TopicCurveHandler.cc
yinnglu/gazebo
3a5618a2a18873141e3cac734a692b778cec4fc0
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
gazebo/gui/plot/TopicCurveHandler.cc
yinnglu/gazebo
3a5618a2a18873141e3cac734a692b778cec4fc0
[ "ECL-2.0", "Apache-2.0" ]
2
2016-04-25T22:05:09.000Z
2020-03-08T08:45:12.000Z
/* * Copyright (C) 2016 Open Source Robotics Foundation * * 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 appl...
27.754443
80
0.573749
yinnglu
d13bb58dabafb3247edf88a294146d80ee32ea2c
3,027
cpp
C++
Zerojudge/a017.cpp
w181496/OJ
67d1d32770376865eba8a9dd1767e97dae68989a
[ "MIT" ]
9
2017-10-08T16:22:03.000Z
2021-08-20T09:32:17.000Z
Zerojudge/a017.cpp
w181496/OJ
67d1d32770376865eba8a9dd1767e97dae68989a
[ "MIT" ]
null
null
null
Zerojudge/a017.cpp
w181496/OJ
67d1d32770376865eba8a9dd1767e97dae68989a
[ "MIT" ]
2
2018-01-15T16:35:44.000Z
2019-03-21T18:30:04.000Z
#include <iostream> #include <string> #include <sstream> #include <stack> using namespace std; int isp(const char); int icp(const char); int StringToInt(string&); int Check(const int,const int,string&); int main() { stack<char>stk; string str,s; int l=0; stk.push('#'); while(getline(c...
22.589552
51
0.320119
w181496
d13e24c846e07ec0b3e9db01e28a1cfee382fcde
1,347
cpp
C++
crave/src/lib/VariableSolver.cpp
hoangmle/crave-bundle-2015-07-22
ffe89f3752887ca2fe12a327ba6c5b25bf23d98a
[ "MIT" ]
null
null
null
crave/src/lib/VariableSolver.cpp
hoangmle/crave-bundle-2015-07-22
ffe89f3752887ca2fe12a327ba6c5b25bf23d98a
[ "MIT" ]
null
null
null
crave/src/lib/VariableSolver.cpp
hoangmle/crave-bundle-2015-07-22
ffe89f3752887ca2fe12a327ba6c5b25bf23d98a
[ "MIT" ]
null
null
null
#include "../crave/backend/VariableSolver.hpp" namespace crave { VariableSolver::VariableSolver(const VariableContainer& vcon, const ConstraintPartition& cp) : var_ctn_(), constr_pttn_(cp), solver_(FactoryMetaSMT::getNewInstance()) { BOOST_FOREACH(VariableContainer::ReadRefPair const & pair, vcon.read_references...
46.448276
108
0.757238
hoangmle
d1404edf51312e916c0f2ec9d47be2abf4f5b71f
575
cpp
C++
test/t_file_reader.cpp
WiSaGaN/diffusion
36f652b2823acd7a6b2c7c47dc0d7d4e5e069f27
[ "Unlicense" ]
3
2016-12-21T14:45:36.000Z
2021-07-16T05:46:58.000Z
test/t_file_reader.cpp
WiSaGaN/diffusion
36f652b2823acd7a6b2c7c47dc0d7d4e5e069f27
[ "Unlicense" ]
null
null
null
test/t_file_reader.cpp
WiSaGaN/diffusion
36f652b2823acd7a6b2c7c47dc0d7d4e5e069f27
[ "Unlicense" ]
1
2016-06-18T04:04:44.000Z
2016-06-18T04:04:44.000Z
// Created on April 16, 2014 by Lu, Wangshan. #include <iostream> #include <memory> #include <thread> #include <diffusion/factory.hpp> int main(int argc, char * argv[]) { if (argc < 2) { std::cerr << "Usage: " << argv[0] << " diffusion_file" << std::endl; return 0; } auto file_reader = std::...
30.263158
98
0.598261
WiSaGaN
d14215b0180ec13beff3a1f634a6afa7490aa06e
3,502
cpp
C++
src/modules/fovoverride.cpp
mrxen/slinfirehud
e3a2cd46cefd22cdd5aba1d13385c0a97194c6da
[ "BSD-2-Clause" ]
null
null
null
src/modules/fovoverride.cpp
mrxen/slinfirehud
e3a2cd46cefd22cdd5aba1d13385c0a97194c6da
[ "BSD-2-Clause" ]
null
null
null
src/modules/fovoverride.cpp
mrxen/slinfirehud
e3a2cd46cefd22cdd5aba1d13385c0a97194c6da
[ "BSD-2-Clause" ]
null
null
null
/* * fovoverride.cpp * StatusSpec project * * Copyright (c) 2014-2015 Forward Command Post * BSD 2-Clause License * http://opensource.org/licenses/BSD-2-Clause * */ #include "fovoverride.h" #include "cbase.h" #include "c_baseplayer.h" #include "convar.h" #include "icliententity.h" #include "shareddefs.h"...
29.183333
245
0.731868
mrxen
d144a9d70103add51d2f98262c1240c97ee8dfb9
3,077
cpp
C++
src/Bear.cpp
Natman64/BearAttack
77292fd38b45f3f21fdf4833ae653818f9e1cf00
[ "CC0-1.0" ]
null
null
null
src/Bear.cpp
Natman64/BearAttack
77292fd38b45f3f21fdf4833ae653818f9e1cf00
[ "CC0-1.0" ]
null
null
null
src/Bear.cpp
Natman64/BearAttack
77292fd38b45f3f21fdf4833ae653818f9e1cf00
[ "CC0-1.0" ]
null
null
null
#include "Bear.h" namespace { const int DISTANCE = 100; const int Y_OFFS = 50; const int SPEED = 650; const float TARGET_DIST = 25.0f; } namespace bears { Bear::Bear(bool side) : side(side), attacking(false), targetX(0), targetY(0), attached(true) { int x = 1280/2...
19.851613
61
0.423139
Natman64
d14537aecec2603f9c9cb2dcf0038fc41be2618a
1,296
cpp
C++
test/fmm_test.cpp
jczaplew/fmm
e325196f355b6c7674d1846401fb14b0d9203301
[ "Apache-2.0" ]
545
2017-11-13T11:45:24.000Z
2022-03-31T12:31:54.000Z
test/fmm_test.cpp
jczaplew/fmm
e325196f355b6c7674d1846401fb14b0d9203301
[ "Apache-2.0" ]
198
2017-12-28T14:54:27.000Z
2022-03-31T10:54:31.000Z
test/fmm_test.cpp
jczaplew/fmm
e325196f355b6c7674d1846401fb14b0d9203301
[ "Apache-2.0" ]
145
2018-01-17T14:29:42.000Z
2022-03-16T03:06:47.000Z
#define CATCH_CONFIG_MAIN #include "catch2/catch.hpp" #include "util/debug.hpp" #include "network/network.hpp" #include "mm/fmm/fmm_algorithm.hpp" #include "mm/transition_graph.hpp" #include "core/gps.hpp" #include "io/gps_reader.hpp" using namespace FMM; using namespace FMM::IO; using namespace FMM::CORE; using name...
35.027027
72
0.718364
jczaplew
d146ce7c71ba5bef772a650a2c36657efd46804e
516
cpp
C++
pratise/7_9/7_9.cpp
wjingzhe/Jingz_C_lab
4bcf77655621ea1f96f64af47d2d8a7614df8aae
[ "MIT" ]
2
2016-11-11T07:31:18.000Z
2021-11-11T01:33:44.000Z
pratise/7_9/7_9.cpp
wjingzhe/C_lab
4bcf77655621ea1f96f64af47d2d8a7614df8aae
[ "MIT" ]
null
null
null
pratise/7_9/7_9.cpp
wjingzhe/C_lab
4bcf77655621ea1f96f64af47d2d8a7614df8aae
[ "MIT" ]
null
null
null
#include<stdio.h> #define n 4 #define m 5 void main() { int i,j,k,max,maxj,flag; int a[n][m]; printf("please input matrix:\n"); for(i=0;i<n;i++) for(j=0;j<m;j++) scanf("%d",&a[i][j]); for(i=0;i<n;i++) { max=a[i][0],maxj=0; for(j=0;j<m;j++) { if(a[i][j]>max) {max=a[i][j],maxj=j;} } flag=1; f...
13.945946
39
0.476744
wjingzhe
d149df453396c8d1b0740e854c4a1fce031a5977
3,462
hpp
C++
contracts/core/fixedprops.hpp
EOSPowerNetwork/system-epn
dfa836101f6b148916b08b3c2988b591ed92ce9e
[ "MIT" ]
null
null
null
contracts/core/fixedprops.hpp
EOSPowerNetwork/system-epn
dfa836101f6b148916b08b3c2988b591ed92ce9e
[ "MIT" ]
null
null
null
contracts/core/fixedprops.hpp
EOSPowerNetwork/system-epn
dfa836101f6b148916b08b3c2988b591ed92ce9e
[ "MIT" ]
null
null
null
#pragma once #include <array> #include <eosio/asset.hpp> #include <eosio/name.hpp> #include <string_view> // Do not modify once contract is live namespace fixedProps { constexpr auto contract_account = "system.epn"_n; constexpr auto revenue_account = "revenue.epn"_n; constexpr auto exec_account = "exec.ep...
36.829787
134
0.597631
EOSPowerNetwork
d149ea53fdb61e8b970a3fd048ea464fc294af37
3,045
hpp
C++
world/tiles/include/TileProperties.hpp
sidav/shadow-of-the-wyrm
747afdeebed885b1a4f7ab42f04f9f756afd3e52
[ "MIT" ]
1
2020-05-24T22:44:03.000Z
2020-05-24T22:44:03.000Z
world/tiles/include/TileProperties.hpp
cleancoindev/shadow-of-the-wyrm
51b23e98285ecb8336324bfd41ebf00f67b30389
[ "MIT" ]
null
null
null
world/tiles/include/TileProperties.hpp
cleancoindev/shadow-of-the-wyrm
51b23e98285ecb8336324bfd41ebf00f67b30389
[ "MIT" ]
null
null
null
#pragma once #include <map> class TileProperties { public: static const std::string TILE_PROPERTY_EXTRA_DESCRIPTION_SID; // The next map's map ID - used for linking to the next map when it // already exists in the map registry. static const std::string TILE_PROPERTY_CUSTOM_MAP_ID; // The locati...
35.406977
75
0.727422
sidav
d14dd6e3b0c24547550d25ec3e81718e10f09fb0
2,426
cpp
C++
test/ais/Test_ais_message_12.cpp
ShadowTeolog/marnav
094dd06a2b9e52591bc9c3879ea4b5cf34a92192
[ "BSD-4-Clause" ]
null
null
null
test/ais/Test_ais_message_12.cpp
ShadowTeolog/marnav
094dd06a2b9e52591bc9c3879ea4b5cf34a92192
[ "BSD-4-Clause" ]
1
2021-11-10T14:40:21.000Z
2021-11-10T14:40:21.000Z
test/ais/Test_ais_message_12.cpp
ShadowTeolog/marnav
094dd06a2b9e52591bc9c3879ea4b5cf34a92192
[ "BSD-4-Clause" ]
1
2020-12-21T16:38:02.000Z
2020-12-21T16:38:02.000Z
#include <gtest/gtest.h> #include <marnav/ais/message_12.hpp> #include <marnav/ais/ais.hpp> namespace { using namespace marnav; class Test_ais_message_12 : public ::testing::Test { }; TEST_F(Test_ais_message_12, parse) { std::vector<std::pair<std::string, uint32_t>> v; v.push_back(std::make_pair("<02:oP0kKcv0@<51C...
25.808511
92
0.703627
ShadowTeolog
d14f6a2853048672acf480b485afae65015eba32
14,599
cpp
C++
src/ADBSCEditDLL/src/MDIEngine/MDIWinTitleBar.cpp
ClnViewer/ADB-Android-Viewer
c619fe626ab390b656893974700a0b6379159c03
[ "MIT" ]
9
2019-05-20T12:06:36.000Z
2022-03-24T19:11:06.000Z
src/ADBSCEditDLL/src/MDIEngine/MDIWinTitleBar.cpp
ClnViewer/ADB-Android-Viewer
c619fe626ab390b656893974700a0b6379159c03
[ "MIT" ]
null
null
null
src/ADBSCEditDLL/src/MDIEngine/MDIWinTitleBar.cpp
ClnViewer/ADB-Android-Viewer
c619fe626ab390b656893974700a0b6379159c03
[ "MIT" ]
3
2020-07-06T04:51:33.000Z
2021-07-26T20:08:02.000Z
/* MIT License Android remote Viewer, GUI ADB tools Android Viewer developed to view and control your android device from a PC. ADB exchange Android Viewer, support scale view, input tap from mouse, input swipe from keyboard, save/copy screenshot, etc.. Copyright (c) 2016-2019 PS GitHub: ...
34.842482
112
0.46558
ClnViewer
d1515197d014f36c2b15955938a9b390eedf3826
2,053
hpp
C++
third_party/libsmart-1.01e/include/smart/std_priority_queue_adapter.hpp
Chrizzly/libunicomm
3aefc02445a5b1e047cc40daaddb7cf9b5082404
[ "BSL-1.0" ]
null
null
null
third_party/libsmart-1.01e/include/smart/std_priority_queue_adapter.hpp
Chrizzly/libunicomm
3aefc02445a5b1e047cc40daaddb7cf9b5082404
[ "BSL-1.0" ]
null
null
null
third_party/libsmart-1.01e/include/smart/std_priority_queue_adapter.hpp
Chrizzly/libunicomm
3aefc02445a5b1e047cc40daaddb7cf9b5082404
[ "BSL-1.0" ]
2
2019-03-16T07:07:16.000Z
2020-01-05T11:14:58.000Z
/////////////////////////////////////////////////////////////////////////////// // std_priority_queue_adapter.hpp // // Copyright (c) 2009 Igor Zimenkov, Dmitry Timoshenko. // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICE...
30.191176
79
0.703848
Chrizzly
d1537c61a73838f89cd5aea2dbcf042fbc912a60
3,969
cpp
C++
src/util/json/tokenize_test.cpp
ssameerr/pytubes
6b4a839b7503780930b667cf12053089bc66c027
[ "MIT" ]
166
2018-03-05T14:43:26.000Z
2022-01-01T17:59:37.000Z
src/util/json/tokenize_test.cpp
ssameerr/pytubes
6b4a839b7503780930b667cf12053089bc66c027
[ "MIT" ]
14
2018-02-27T10:23:33.000Z
2020-02-04T14:36:16.000Z
src/util/json/tokenize_test.cpp
ssameerr/pytubes
6b4a839b7503780930b667cf12053089bc66c027
[ "MIT" ]
15
2018-03-06T05:00:30.000Z
2021-12-04T19:43:12.000Z
#include <catch2.hpp> #include "json.hpp" using namespace ss; using namespace ss::json; inline std::string to_str(Slice<uint8_t> src) { return std::string((char *)src.start, src.len); } inline ByteSlice from_cstr(const char *str) { return ByteSlice((uint8_t*)str, strlen(str)); } TEST_CASE( "test tokenize n...
29.4
75
0.576216
ssameerr
d15e452eb0d03efabdde5e891cb6aa8640941aec
1,666
cpp
C++
Drawing.UWP/DrawingUWP/D2DMultiPolygon.cpp
msrao83/Telerik
e0000ddacf48d4f9997562b34442f2617e86842c
[ "Apache-2.0" ]
1
2017-02-10T20:17:32.000Z
2017-02-10T20:17:32.000Z
Drawing.UWP/DrawingUWP/D2DMultiPolygon.cpp
msrao83/Telerik
e0000ddacf48d4f9997562b34442f2617e86842c
[ "Apache-2.0" ]
null
null
null
Drawing.UWP/DrawingUWP/D2DMultiPolygon.cpp
msrao83/Telerik
e0000ddacf48d4f9997562b34442f2617e86842c
[ "Apache-2.0" ]
1
2021-09-11T00:47:23.000Z
2021-09-11T00:47:23.000Z
#include "pch.h" #include "D2DMultiPolygon.h" #include "D2DShapeStyle.h" namespace Telerik { namespace UI { namespace Drawing { D2DMultiPolygon::D2DMultiPolygon(void) { } void D2DMultiPolygon::SetPoints(IIterable<IIterable<Point>^>^ points) { //// TODO: Memory clean-up? //for(auto i = thi...
23.138889
120
0.615846
msrao83
d160db480b584b963152832627aaaade7a3938c9
4,107
cpp
C++
src/engine/fileController/MaterialFileController.cpp
Armanimani/Game-Engine
8087cd999f7264488d24a5dc5571b659347a49dd
[ "MIT" ]
null
null
null
src/engine/fileController/MaterialFileController.cpp
Armanimani/Game-Engine
8087cd999f7264488d24a5dc5571b659347a49dd
[ "MIT" ]
1
2017-04-05T01:40:02.000Z
2017-04-05T07:36:55.000Z
src/engine/fileController/MaterialFileController.cpp
Armanimani/Game-Engine
8087cd999f7264488d24a5dc5571b659347a49dd
[ "MIT" ]
null
null
null
#include "MaterialFileController.h" #include "FileController.h" #include <sstream> #include <algorithm> #include "../database/TypeDatabase.h" #include "../fileController/FileReaderHelper.h" std::shared_ptr<Material> MaterialFileController::readFile(const std::string & path, const std::shared_ptr<SceneManager> manager)...
22.690608
129
0.644022
Armanimani
d1614f7d39d91bbec9abe6d83f49251a1e160d70
7,160
cpp
C++
Yarra/FreeTypeGL/libtess/libtess_priorityq.cpp
ahwayakchih/Medo
acc34c189676544c092fbc6800c27a25d05de6dd
[ "MIT" ]
95
2020-12-23T02:35:35.000Z
2022-02-20T19:30:13.000Z
Yarra/FreeTypeGL/libtess/libtess_priorityq.cpp
ahwayakchih/Medo
acc34c189676544c092fbc6800c27a25d05de6dd
[ "MIT" ]
21
2020-12-23T05:01:36.000Z
2022-01-11T08:38:26.000Z
Yarra/FreeTypeGL/libtess/libtess_priorityq.cpp
ahwayakchih/Medo
acc34c189676544c092fbc6800c27a25d05de6dd
[ "MIT" ]
8
2020-12-23T04:47:34.000Z
2021-08-29T17:18:56.000Z
/* * SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008) * Copyright (C) 1991-2000 Silicon Graphics, Inc. All Rights Reserved. * * 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 wi...
27.43295
78
0.593156
ahwayakchih
d16582272d8fc8ae08ce98eac18eab265a25b414
1,528
cpp
C++
Vorlesungsbeispiele/MRT2_VL-6_Ampel_ohne_IoT/main.cpp
zmanjiyani/PLT_MRT_ARM-RPi2
da77ab8ddf652a12ae6a6647c993daa2f94b39fb
[ "MIT" ]
4
2015-11-11T14:02:17.000Z
2021-11-29T16:07:38.000Z
Vorlesungsbeispiele/MRT2_VL-6_Ampel_ohne_IoT/main.cpp
zmanjiyani/PLT_MRT_ARM-RPi2
da77ab8ddf652a12ae6a6647c993daa2f94b39fb
[ "MIT" ]
6
2019-04-20T14:48:58.000Z
2020-08-26T15:13:02.000Z
Vorlesungsbeispiele/MRT2_VL-6_Ampel_ohne_IoT/main.cpp
zmanjiyani/PLT_MRT_ARM-RPi2
da77ab8ddf652a12ae6a6647c993daa2f94b39fb
[ "MIT" ]
9
2016-01-10T15:14:28.000Z
2021-10-13T22:45:19.000Z
#include <iostream> #include <unistd.h> #include <csignal> #include "Ampel.h" #include "ampel_peripheral_x86.h" #include "ampel_peripheral_rPi.h" /* Grouped conveniently on LK-Linker-Kit Board #define RPI_GPIO_GREEN 5 // LK D5 #define RPI_GPIO_YELLOW 4 // LK D4 #define RPI_GPIO_RED 2 // LK D2 #define RPI_GP...
22.144928
110
0.679319
zmanjiyani
d16b02f164c044e606b45dc43e0541a6457d0abe
2,348
cpp
C++
tests/audio_block_format_common_tests.cpp
IRT-Open-Source/libadm
442f51229e760db1caca4b962bfaad58a9c7d9b8
[ "Apache-2.0" ]
14
2018-07-24T12:18:05.000Z
2020-05-11T19:14:49.000Z
tests/audio_block_format_common_tests.cpp
IRT-Open-Source/libadm
442f51229e760db1caca4b962bfaad58a9c7d9b8
[ "Apache-2.0" ]
19
2018-07-30T15:02:54.000Z
2020-05-21T10:13:19.000Z
tests/audio_block_format_common_tests.cpp
IRT-Open-Source/libadm
442f51229e760db1caca4b962bfaad58a9c7d9b8
[ "Apache-2.0" ]
7
2018-07-24T12:18:12.000Z
2020-02-14T11:18:12.000Z
#include "helper/parameter_checks.hpp" #include <adm/elements.hpp> using namespace adm_test; using namespace adm; template <typename T> struct BlockInitialiser { static T create() { return T{}; } }; template <> struct BlockInitialiser<adm::AudioBlockFormatHoa> { static adm::AudioBlockFormatHoa create() { retu...
38.491803
80
0.676746
IRT-Open-Source
d16b614c3a0367f069f911a3ffd40ca988f1b0be
8,116
cpp
C++
TPDPHook/tpdp/custom_skills.cpp
php42/TPDPHook
f80b71069f468e38f12157c6ea73eeaf1ab13c48
[ "MIT" ]
1
2021-08-14T13:49:58.000Z
2021-08-14T13:49:58.000Z
TPDPHook/tpdp/custom_skills.cpp
php42/TPDPHook
f80b71069f468e38f12157c6ea73eeaf1ab13c48
[ "MIT" ]
null
null
null
TPDPHook/tpdp/custom_skills.cpp
php42/TPDPHook
f80b71069f468e38f12157c6ea73eeaf1ab13c48
[ "MIT" ]
null
null
null
#include "hook_tpdp.h" #include "custom_skills.h" #include "tpdp_data.h" #include "../hook.h" #include"../log.h" #include "../ini_parser.h" // Implementations for custom skills go here. // Register skill functions to their effect ids in init_custom_skills() // at the bottom of this file. static int frame_count = 0;...
26.012821
144
0.698497
php42
d172e5bf5a1be9fd77f9ed1e97d721d1a1a370bd
648
hpp
C++
apps/tsp/worker/assfire/tsp/worker/impl/RedisSavedStateManager.hpp
Eaglegor/assfire-suite
6c8140e848932b6ce22b6addd07a93abba652c01
[ "MIT" ]
null
null
null
apps/tsp/worker/assfire/tsp/worker/impl/RedisSavedStateManager.hpp
Eaglegor/assfire-suite
6c8140e848932b6ce22b6addd07a93abba652c01
[ "MIT" ]
null
null
null
apps/tsp/worker/assfire/tsp/worker/impl/RedisSavedStateManager.hpp
Eaglegor/assfire-suite
6c8140e848932b6ce22b6addd07a93abba652c01
[ "MIT" ]
null
null
null
#pragma once #include <memory> #include "assfire/tsp/worker/SavedStateManager.hpp" namespace cpp_redis { class client; } namespace assfire::tsp { class RedisSavedStateManager : public SavedStateManager { public: RedisSavedStateManager(std::unique_ptr<cpp_redis::client> redis_client); vir...
24.923077
80
0.703704
Eaglegor
ab749c97a35106660c027b8d53d61af9983cd3c6
1,437
cpp
C++
Code/exec/AdvectionTest.cpp
amihashemi/cs294project
7d0f67a40f72cd58a86fb7d7fcb3ed40f5ddc1ec
[ "MIT" ]
null
null
null
Code/exec/AdvectionTest.cpp
amihashemi/cs294project
7d0f67a40f72cd58a86fb7d7fcb3ed40f5ddc1ec
[ "MIT" ]
null
null
null
Code/exec/AdvectionTest.cpp
amihashemi/cs294project
7d0f67a40f72cd58a86fb7d7fcb3ed40f5ddc1ec
[ "MIT" ]
null
null
null
// Final project for CS 294-73 at Berkeley // Amirreza Hashemi and Júlio Caineta // 2017 #include "RectMDArray.H" #include "FFT1DW.H" #include "PoissonSolver.H" #include "FieldData.H" #include "DeltaVelocity.H" #include "WriteRectMDArray.H" #include "AdvectionSolver.H" #include "PowerItoI.H" int main(int argc, char* ...
26.611111
74
0.549756
amihashemi
ab7df70f2e9f0159e804393943da734cd0dd717a
6,080
cpp
C++
src/prod/src/ServiceModel/FolderSourceDestinationsDescription.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
2,542
2018-03-14T21:56:12.000Z
2019-05-06T01:18:20.000Z
src/prod/src/ServiceModel/FolderSourceDestinationsDescription.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
994
2019-05-07T02:39:30.000Z
2022-03-31T13:23:04.000Z
src/prod/src/ServiceModel/FolderSourceDestinationsDescription.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
300
2018-03-14T21:57:17.000Z
2019-05-06T20:07:00.000Z
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ #include "stdafx.h" using nam...
25.228216
143
0.624836
vishnuk007
ab8633fd44d36eff80dff945a2eb37e42dd53801
2,337
hpp
C++
code/aoce/Layer/PipeNode.hpp
msqljj/aoce
b15320acbb9454fb461501c8cf0c598d1b15c495
[ "MIT" ]
71
2020-10-15T03:13:50.000Z
2022-03-30T02:04:28.000Z
code/aoce/Layer/PipeNode.hpp
msqljj/aoce
b15320acbb9454fb461501c8cf0c598d1b15c495
[ "MIT" ]
9
2021-02-20T10:30:10.000Z
2022-03-04T07:59:58.000Z
code/aoce/Layer/PipeNode.hpp
msqljj/aoce
b15320acbb9454fb461501c8cf0c598d1b15c495
[ "MIT" ]
19
2021-01-01T12:03:02.000Z
2022-03-21T07:59:59.000Z
#pragma once #include <memory> #include <vector> #include "../Aoce.hpp" #include "BaseLayer.hpp" namespace aoce { typedef std::shared_ptr<class PipeNode> PipeNodePtr; struct StartNode { int32_t nodeIndex = 0; int32_t inIndex = 0; }; // 对应layer,管理layer的连接 // PipeNode修改为对外模块不可见,所有接口全由BaseLayer转,减少复杂度 class ...
24.092784
67
0.63757
msqljj
ab88b91e02310da4ab343fe4d3fe78be277b26f5
4,945
cpp
C++
t/12-basic-types.cpp
HungMingWu/cpp-bredis
5665bf36d0400eab8d773ae95fa71e5c84a81dd7
[ "MIT" ]
null
null
null
t/12-basic-types.cpp
HungMingWu/cpp-bredis
5665bf36d0400eab8d773ae95fa71e5c84a81dd7
[ "MIT" ]
null
null
null
t/12-basic-types.cpp
HungMingWu/cpp-bredis
5665bf36d0400eab8d773ae95fa71e5c84a81dd7
[ "MIT" ]
null
null
null
#include <boost/asio.hpp> #include <boost/lexical_cast.hpp> #include <future> #include "EmptyPort.hpp" #include "TestServer.hpp" #include "catch.hpp" #include "bredis/Connection.hpp" #include "bredis/Extract.hpp" #include "SocketWithLogging.hpp" namespace r = bredis; namespace asio = boost::asio; namespace ep = emp...
38.333333
78
0.599191
HungMingWu
ab8971ad364313cf7591cacadb7e7d40baee9c2c
1,775
hpp
C++
src/renderer/font_provider_gdi.hpp
xqq/libaribcaption
710eec1674d25586e2484c332834468d4b812feb
[ "MIT" ]
67
2022-02-02T13:40:23.000Z
2022-03-25T09:35:00.000Z
src/renderer/font_provider_gdi.hpp
xqq/libaribcaption
710eec1674d25586e2484c332834468d4b812feb
[ "MIT" ]
2
2022-02-09T14:01:39.000Z
2022-02-12T08:25:32.000Z
src/renderer/font_provider_gdi.hpp
xqq/libaribcaption
710eec1674d25586e2484c332834468d4b812feb
[ "MIT" ]
null
null
null
/* * Copyright (C) 2021 magicxqq <xqq@xqq.im>. All rights reserved. * * This file is part of libaribcaption. * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in a...
34.803922
95
0.744789
xqq
ab8cd432cf91c7ff156a867b89392e3fedafa9a8
8,492
cpp
C++
src/guigfx/cButtonGfx.cpp
aaaasmile/invidocpp
a7b30d0ab212ac048afbbff99c49d6fed0835dc6
[ "MIT" ]
null
null
null
src/guigfx/cButtonGfx.cpp
aaaasmile/invidocpp
a7b30d0ab212ac048afbbff99c49d6fed0835dc6
[ "MIT" ]
null
null
null
src/guigfx/cButtonGfx.cpp
aaaasmile/invidocpp
a7b30d0ab212ac048afbbff99c49d6fed0835dc6
[ "MIT" ]
null
null
null
// cButtonGfx.cpp: implementation of the cButtonGfx class. // ////////////////////////////////////////////////////////////////////// #include "StdAfx.h" #include "cButtonGfx.h" #include "gfx_util.h" ////////////////////////////////////////////////////////////////////// // Construction/Destruction ////////////////////...
29.692308
129
0.550636
aaaasmile
ab902f06e5b5f09add9e16075d85cff29d5e5286
1,194
cpp
C++
jd/gfx/glutil.cpp
deweeeese/libjd
99a258781e85d99c461a9917d148b57385149fa9
[ "Apache-2.0" ]
null
null
null
jd/gfx/glutil.cpp
deweeeese/libjd
99a258781e85d99c461a9917d148b57385149fa9
[ "Apache-2.0" ]
null
null
null
jd/gfx/glutil.cpp
deweeeese/libjd
99a258781e85d99c461a9917d148b57385149fa9
[ "Apache-2.0" ]
null
null
null
#include <qopengl.h> #include <jd/gfx/glutil.h> const char * GetGLErrorString(GLenum err) { switch (err) { case GL_NO_ERROR: return "No Error"; break; case GL_INVALID_ENUM: return "Invalid Enum"; break; case GL_INVALID_VALUE: return "Invalid Value"; break; case GL_INV...
38.516129
120
0.721943
deweeeese
ab9141f2ff10abfb70aa17b4ec1d03bb960c66ae
100
cpp
C++
GDRscenes/gdrscenebase.cpp
Rational-pi/GraphDataRecoverer
ae4468178e1f14a54649d7b5e77d119f7aa5166e
[ "MIT" ]
null
null
null
GDRscenes/gdrscenebase.cpp
Rational-pi/GraphDataRecoverer
ae4468178e1f14a54649d7b5e77d119f7aa5166e
[ "MIT" ]
null
null
null
GDRscenes/gdrscenebase.cpp
Rational-pi/GraphDataRecoverer
ae4468178e1f14a54649d7b5e77d119f7aa5166e
[ "MIT" ]
null
null
null
#include "gdrscenebase.h" GDRsceneBase::GDRsceneBase(QObject *parent):QGraphicsScene(parent) { }
12.5
66
0.77
Rational-pi
ab9464c154e18f2f3efa69b925643641901fec6c
1,663
cpp
C++
gym/102264/A.cpp
albexl/codeforces-gym-submissions
2a51905c50fcf5d7f417af81c4c49ca5217d0753
[ "MIT" ]
1
2021-07-16T19:59:39.000Z
2021-07-16T19:59:39.000Z
gym/102264/A.cpp
albexl/codeforces-gym-submissions
2a51905c50fcf5d7f417af81c4c49ca5217d0753
[ "MIT" ]
null
null
null
gym/102264/A.cpp
albexl/codeforces-gym-submissions
2a51905c50fcf5d7f417af81c4c49ca5217d0753
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/tree_policy.hpp> #include <random> #include <chrono> using namespace std; using namespace __gnu_pbds; #define endl '\n' typedef long long ll; typedef pair<ll, ll> pii; typedef tree<int, null_type,less<int>, rb_tree_tag, tree_ord...
19.564706
99
0.546603
albexl
ab9ae34e37ca511b12933048c2a08ef72d502001
1,492
cpp
C++
CodeForces/codeforces805B.cpp
bilibiliShen/CodeBank
49a69b2b2c3603bf105140a9d924946ed3193457
[ "MIT" ]
1
2017-08-19T16:02:15.000Z
2017-08-19T16:02:15.000Z
CodeForces/codeforces805B.cpp
bilibiliShen/CodeBank
49a69b2b2c3603bf105140a9d924946ed3193457
[ "MIT" ]
null
null
null
CodeForces/codeforces805B.cpp
bilibiliShen/CodeBank
49a69b2b2c3603bf105140a9d924946ed3193457
[ "MIT" ]
1
2018-01-05T23:37:23.000Z
2018-01-05T23:37:23.000Z
// <!--encoding UTF-8 UTF-8编码--!> /***************************************************************************** * ----Stay Hungry Stay Foolish---- * * @author : Shen * * @name : Codeforces Round #411 (Div. 2...
31.744681
80
0.473861
bilibiliShen
ab9ede17cc681c8d3082703864c5ac658a54d12f
73
hpp
C++
game.hpp
kennymalac/game
3faf1f1186af65d389c866bd224431d1dc87a77b
[ "Apache-2.0" ]
2
2017-05-16T22:21:34.000Z
2018-12-27T18:51:07.000Z
game.hpp
kennymalac/game
3faf1f1186af65d389c866bd224431d1dc87a77b
[ "Apache-2.0" ]
1
2017-04-04T23:54:29.000Z
2017-04-04T23:54:29.000Z
game.hpp
kennymalac/game
3faf1f1186af65d389c866bd224431d1dc87a77b
[ "Apache-2.0" ]
null
null
null
class Game { public: void loop(); protected: Scene defaultScene; };
9.125
21
0.671233
kennymalac
aba6c121de8efc4f9b84d24fcaf8381a72011d55
12,451
cpp
C++
src/VSimpleStereoReconstructor.cpp
GernotMaier/Eventdisplay
b244d65856ddc26ea8ef88af53d2b247e8d5936c
[ "BSD-3-Clause" ]
null
null
null
src/VSimpleStereoReconstructor.cpp
GernotMaier/Eventdisplay
b244d65856ddc26ea8ef88af53d2b247e8d5936c
[ "BSD-3-Clause" ]
5
2019-11-15T10:13:08.000Z
2019-11-19T12:31:42.000Z
src/VSimpleStereoReconstructor.cpp
GernotMaier/Eventdisplay
b244d65856ddc26ea8ef88af53d2b247e8d5936c
[ "BSD-3-Clause" ]
null
null
null
/* \file VSimpleStereoReconstructor.cpp * \brief a simple core and direction reconstruction * * should not be used for any VERITAS data analysis */ #include "VSimpleStereoReconstructor.h" VSimpleStereoReconstructor::VSimpleStereoReconstructor() { initialize(); fTelElevation = 0.; fTelAzimuth = 0.; ...
29.091121
122
0.50012
GernotMaier
aba8366d05072ac0eff1d295451a1e9ac5912aaa
1,373
cpp
C++
tests/ConverterTest.cpp
serge-14/smartserial
4037a0c2c8aa3102b7ce18167038abe1d6fd8259
[ "MIT" ]
null
null
null
tests/ConverterTest.cpp
serge-14/smartserial
4037a0c2c8aa3102b7ce18167038abe1d6fd8259
[ "MIT" ]
null
null
null
tests/ConverterTest.cpp
serge-14/smartserial
4037a0c2c8aa3102b7ce18167038abe1d6fd8259
[ "MIT" ]
null
null
null
#include "gtest/gtest.h" #include "Converter.h" namespace tests { TEST( ConverterTest, ToInteger ) { ASSERT_EQ( convert_string<int>( "15" ), 15 ); ASSERT_EQ( convert_string<int>( "-10" ), -10 ); ASSERT_EQ( convert_string<int>( "0" ), 0 ); ASSERT_EQ( convert_string<int>( "177tex...
31.204545
82
0.582666
serge-14
ababb0d25ad459adf7fdb88abda7a14ff1616ab2
2,952
cpp
C++
ui/text_editor_side_area.cpp
kuumies/jpad
e54c69cd7d5f65ae81c600887bc77badf4fae9bf
[ "MIT" ]
null
null
null
ui/text_editor_side_area.cpp
kuumies/jpad
e54c69cd7d5f65ae81c600887bc77badf4fae9bf
[ "MIT" ]
null
null
null
ui/text_editor_side_area.cpp
kuumies/jpad
e54c69cd7d5f65ae81c600887bc77badf4fae9bf
[ "MIT" ]
null
null
null
/* ---------------------------------------------------------------- * Copyright (c) 2018 Kuu Antti Jumpponen <kuumies@gmail.com> The implementation of kuu::jpad::TextEditorSideArea class. * ---------------------------------------------------------------- */ #include "text_editor_side_area.h" #include <QtGui...
30.43299
79
0.476287
kuumies
abadd38de543de32501ba46a056e0fcb18ba988d
4,410
hpp
C++
components/nifogre/ogrenifloader.hpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
components/nifogre/ogrenifloader.hpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
components/nifogre/ogrenifloader.hpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
/* OpenMW - The completely unofficial reimplementation of Morrowind Copyright (C) 2008-2010 Nicolay Korslund Email: < korslund@gmail.com > WWW: http://openmw.sourceforge.net/ This file (ogre_nif_loader.h) is part of the OpenMW package. OpenMW is distributed as free software: you can redistribute it and...
31.726619
139
0.68254
Bodillium
abb1a65ddb88f0d7c1893f60474822773df208ed
7,662
cpp
C++
MFCApplication1/Spot Infomation Manager/UnOrderedGraph.cpp
WUST-mengqinyu/Spot-Information-Manager
72f10102911306065e25ed735d349b51cd7e58d7
[ "MIT" ]
null
null
null
MFCApplication1/Spot Infomation Manager/UnOrderedGraph.cpp
WUST-mengqinyu/Spot-Information-Manager
72f10102911306065e25ed735d349b51cd7e58d7
[ "MIT" ]
null
null
null
MFCApplication1/Spot Infomation Manager/UnOrderedGraph.cpp
WUST-mengqinyu/Spot-Information-Manager
72f10102911306065e25ed735d349b51cd7e58d7
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "UnOrderedGraph.h" // // Created by badcw on 2019/1/25. // #include "UnOrderedGraph.h" UnOrderedGraph::UnOrderedGraph(int n, int m, std::vector<std::pair<int, int>> edges[MAXN], MessageNode node[MAXN]) :N(n), M(m) { clear(); for (int i = 0; i < n; ++i) { Node[i] = node[i]; Edges[i]...
22.338192
132
0.525711
WUST-mengqinyu
abb3abab9cb9025458298faf55d12ced3e155797
4,388
cpp
C++
src/System/SystemUser.cpp
dmalysiak/Lazarus
925d92843e311d2cd5afd437766563d0d5ab9052
[ "Apache-2.0" ]
1
2019-04-29T05:31:32.000Z
2019-04-29T05:31:32.000Z
src/System/SystemUser.cpp
dmalysiak/Lazarus
925d92843e311d2cd5afd437766563d0d5ab9052
[ "Apache-2.0" ]
null
null
null
src/System/SystemUser.cpp
dmalysiak/Lazarus
925d92843e311d2cd5afd437766563d0d5ab9052
[ "Apache-2.0" ]
null
null
null
/* * SystemUser.cpp * * Created on: 30.04.2015 * Author: Darius Malysiak */ #include "SystemUser.h" #include <grp.h> #include <errno.h> //#define _GNU_SOURCE #include <crypt.h> namespace Lazarus { SystemUser::SystemUser(const std::string& username, bool openUpdate) { m_username = username; m_user_id ...
20.12844
114
0.692115
dmalysiak
abb664e69e5c5a3ab3c91d9d36b5715d0e78ac02
13,135
cc
C++
src/elle/reactor/network/rdv-socket.cc
infinitio/elle
d9bec976a1217137436db53db39cda99e7024ce4
[ "Apache-2.0" ]
null
null
null
src/elle/reactor/network/rdv-socket.cc
infinitio/elle
d9bec976a1217137436db53db39cda99e7024ce4
[ "Apache-2.0" ]
null
null
null
src/elle/reactor/network/rdv-socket.cc
infinitio/elle
d9bec976a1217137436db53db39cda99e7024ce4
[ "Apache-2.0" ]
null
null
null
#include <boost/uuid/random_generator.hpp> #include <boost/uuid/uuid_io.hpp> #include <elle/reactor/network/rdv-socket.hh> #include <elle/reactor/network/resolve.hh> #include <elle/reactor/network/rdv.hh> #include <elle/reactor/network/Error.hh> #include <elle/reactor/scheduler.hh> ELLE_LOG_COMPONENT("rdv.socket"); ...
33.169192
81
0.487019
infinitio
abba8771967fe529d0f19e1c5b52a8ae3e5a62db
18,405
cc
C++
wrspice/src/plot/hardcopy.cc
wrcad/xictools
f46ba6d42801426739cc8b2940a809b74f1641e2
[ "Apache-2.0" ]
73
2017-10-26T12:40:24.000Z
2022-03-02T16:59:43.000Z
wrspice/src/plot/hardcopy.cc
chris-ayala/xictools
4ea72c118679caed700dab3d49a8d36445acaec3
[ "Apache-2.0" ]
12
2017-11-01T10:18:22.000Z
2022-03-20T19:35:36.000Z
wrspice/src/plot/hardcopy.cc
chris-ayala/xictools
4ea72c118679caed700dab3d49a8d36445acaec3
[ "Apache-2.0" ]
34
2017-10-06T17:04:21.000Z
2022-02-18T16:22:03.000Z
/*========================================================================* * * * Distributed by Whiteley Research Inc., Sunnyvale, California, USA * * http://wrcad.com * * Copyright (...
31.842561
77
0.457865
wrcad
abc27e49bd4cb6f7e1ad1a245c68fd8828944029
1,605
cpp
C++
Data_Structures/Binary_Tree/max_path_sum.cpp
abhishekjha786/ds_algo
38355ca12e8ac20c4baa8baccf8ad189effaa6ae
[ "MIT" ]
11
2020-03-20T17:24:28.000Z
2022-01-08T02:43:24.000Z
Data_Structures/Binary_Tree/max_path_sum.cpp
abhishekjha786/ds_algo
38355ca12e8ac20c4baa8baccf8ad189effaa6ae
[ "MIT" ]
1
2021-07-25T11:24:46.000Z
2021-07-25T12:09:25.000Z
Data_Structures/Binary_Tree/max_path_sum.cpp
abhishekjha786/ds_algo
38355ca12e8ac20c4baa8baccf8ad189effaa6ae
[ "MIT" ]
4
2020-03-20T17:24:36.000Z
2021-12-07T19:22:59.000Z
// Given a non-empty binary tree, find the maximum path sum. // For this problem, a path is defined as any sequence of nodes // from some starting node to any node in the tree along // the parent-child connections. // The path must contain at least one node and does not need to go through the root. // Example 1: // ...
18.662791
84
0.581308
abhishekjha786
abc491a04e0f8ba623677c82d46a456c8054cb12
9,356
hpp
C++
interpolation_class.hpp
jendralhxr/correlation
268a50a9a790816a38ecebd0a9175a3a468192b9
[ "MIT" ]
null
null
null
interpolation_class.hpp
jendralhxr/correlation
268a50a9a790816a38ecebd0a9175a3a468192b9
[ "MIT" ]
null
null
null
interpolation_class.hpp
jendralhxr/correlation
268a50a9a790816a38ecebd0a9175a3a468192b9
[ "MIT" ]
null
null
null
#ifndef INTERPOLATION_CLASS_H #define INTERPOLATION_CLASS_H //local includes #include "parameters.hpp" //opencv includes #include "opencv2/core/core.hpp" //eigen includes #include <Dense> //timing #include <chrono> #include <iostream> float modelU_distort_x (float x, float y, float cx, float cy, float ro, ...
41.955157
154
0.658829
jendralhxr
abc79f3180f7025e51fba6f834377907688bc9c6
499
cpp
C++
492.cpp
zfang399/LeetCode-Problems
4cb25718a3d1361569f5ee6fde7b4a9a4fde2186
[ "MIT" ]
8
2018-10-31T11:00:19.000Z
2020-07-31T05:25:06.000Z
492.cpp
zfang399/LeetCode-Problems
4cb25718a3d1361569f5ee6fde7b4a9a4fde2186
[ "MIT" ]
null
null
null
492.cpp
zfang399/LeetCode-Problems
4cb25718a3d1361569f5ee6fde7b4a9a4fde2186
[ "MIT" ]
2
2018-05-31T11:29:22.000Z
2019-09-11T06:34:40.000Z
class Solution { public: vector<int> constructRectangle(int area) { int mid = sqrt(area); vector<int> ans; for(int i = mid; i >= 1; i--){ if(area % i == 0){ if(i > area / i){ ans.push_back(i); ans.push_back(area / i); ...
24.95
46
0.362725
zfang399
abc9b68016c654efa2b3cb38da96f28ad2249acb
763
cpp
C++
HackerEarth/DynamicPrograming/two-letter-string.cpp
Gmaurya/data-structure-and-algorithms
9f9790140719d24d15ee401e0d11a99dedde4235
[ "MIT" ]
3
2017-12-27T04:58:16.000Z
2018-02-05T14:11:06.000Z
HackerEarth/DynamicPrograming/two-letter-string.cpp
Gmaurya/data-structure-and-algorithms
9f9790140719d24d15ee401e0d11a99dedde4235
[ "MIT" ]
4
2018-10-04T07:45:07.000Z
2018-11-23T17:36:20.000Z
HackerEarth/DynamicPrograming/two-letter-string.cpp
Gmaurya/data-structure-and-algorithms
9f9790140719d24d15ee401e0d11a99dedde4235
[ "MIT" ]
8
2018-10-02T20:34:58.000Z
2018-10-07T14:27:53.000Z
#include <bits/stdc++.h> using namespace std; typedef long long ll; const int m=1e4+5; const int mod=1e9+7; ll dp[m][12]; //Here dp[a][b] is the array that represent the number of string of length a-1 that do not have b-1 consecutive x void two_string(){ for (int i = 0; i < m; ++i) dp[i][0]=0; for (int i = 0; i ...
16.955556
127
0.520315
Gmaurya
abcb0d8e04ab9234879ae2ec4f309ff88c9fffae
47
cc
C++
grammar-example/bad/bad036.cc
monadplus/CPP-lang
ffffb4fb97d606d09ab0a7906a2fdf6d8a9786e3
[ "MIT" ]
null
null
null
grammar-example/bad/bad036.cc
monadplus/CPP-lang
ffffb4fb97d606d09ab0a7906a2fdf6d8a9786e3
[ "MIT" ]
null
null
null
grammar-example/bad/bad036.cc
monadplus/CPP-lang
ffffb4fb97d606d09ab0a7906a2fdf6d8a9786e3
[ "MIT" ]
null
null
null
int foo() { for (56; 1; i++) { } return x; }
9.4
21
0.425532
monadplus
abcd4a0cb872e61ed6ba04fb36de09495e5e6c3c
4,147
cc
C++
src/cron.cc
fishery86/kvrocks
37c19d0fd7387acba74b2e6f6fc2bcce99e161f5
[ "BSD-3-Clause" ]
204
2019-08-19T02:35:55.000Z
2020-04-06T02:00:03.000Z
src/cron.cc
fishery86/kvrocks
37c19d0fd7387acba74b2e6f6fc2bcce99e161f5
[ "BSD-3-Clause" ]
26
2019-08-20T16:52:25.000Z
2020-04-09T04:38:23.000Z
src/cron.cc
fishery86/kvrocks
37c19d0fd7387acba74b2e6f6fc2bcce99e161f5
[ "BSD-3-Clause" ]
20
2019-08-19T06:50:56.000Z
2020-03-25T08:14:54.000Z
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
31.9
99
0.596335
fishery86
abcd8184f88bf9f069dd74fa1798c267c2db420b
7,955
cc
C++
wrappers/8.1.1/vtkProStarReaderWrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
6
2016-02-03T12:48:36.000Z
2020-09-16T15:07:51.000Z
wrappers/8.1.1/vtkProStarReaderWrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
4
2016-02-13T01:30:43.000Z
2020-03-30T16:59:32.000Z
wrappers/8.1.1/vtkProStarReaderWrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
null
null
null
/* this file has been autogenerated by vtkNodeJsWrap */ /* editing this might proof futile */ #define VTK_WRAPPING_CXX #define VTK_STREAMS_FWD_ONLY #include <nan.h> #include "vtkUnstructuredGridAlgorithmWrap.h" #include "vtkProStarReaderWrap.h" #include "vtkObjectBaseWrap.h" #include "../../plus/plus.h" using namesp...
31.196078
106
0.738278
axkibe
abcd858eb1346a645a8128839603c713eadc70c6
1,676
hpp
C++
metaforce-gui/Common.hpp
jackalstomper/metaforce
9d07727251596960ce8156fda9bc903a10667926
[ "MIT" ]
null
null
null
metaforce-gui/Common.hpp
jackalstomper/metaforce
9d07727251596960ce8156fda9bc903a10667926
[ "MIT" ]
null
null
null
metaforce-gui/Common.hpp
jackalstomper/metaforce
9d07727251596960ce8156fda9bc903a10667926
[ "MIT" ]
null
null
null
#pragma once #include <QString> #include <QMetaType> #include "zeus/Math.hpp" enum class Platform { Invalid, MacOS, Win32, Linux, MAXPlatform }; QString PlatformToString(Platform plat); Platform StringToPlatform(const QString& str); #if __APPLE__ constexpr Platform CurPlatform = Platform::MacOS; #elif _WIN32 constex...
31.037037
95
0.781026
jackalstomper
abd021c0d23a366b254a473f33bd90cc7dc0c611
599
cpp
C++
cpp_01core_portion/CN_07const.cpp
qianranow/cplusplus
bc17581a78c38f1735ad8108c6880b00cf2b0080
[ "Apache-2.0" ]
null
null
null
cpp_01core_portion/CN_07const.cpp
qianranow/cplusplus
bc17581a78c38f1735ad8108c6880b00cf2b0080
[ "Apache-2.0" ]
null
null
null
cpp_01core_portion/CN_07const.cpp
qianranow/cplusplus
bc17581a78c38f1735ad8108c6880b00cf2b0080
[ "Apache-2.0" ]
null
null
null
// // Created by qianranow on 2022/1/26. // #include <iostream> using namespace std; const int aa = 10; //没有内存 void test01() { // 常量折叠 cout << "aa=" << aa << endl; // 在编译阶段,编译器:cout << "aa=" << 10 << endl; // 禁止优化 volatile const int bb = 20; int *p = (int *)&bb; *p = 200; cout << "bb=" <<...
18.71875
74
0.487479
qianranow
abd489bc1b623d3aed33bb39ac1cbfcf3e12aebf
793
cpp
C++
src/services/pcn-synflood/src/base/StatsBase.cpp
francescomessina/polycube
38f2fb4ffa13cf51313b3cab9994be738ba367be
[ "ECL-2.0", "Apache-2.0" ]
337
2018-12-12T11:50:15.000Z
2022-03-15T00:24:35.000Z
src/services/pcn-synflood/src/base/StatsBase.cpp
l1b0k/polycube
7af919245c131fa9fe24c5d39d10039cbb81e825
[ "ECL-2.0", "Apache-2.0" ]
253
2018-12-17T21:36:15.000Z
2022-01-17T09:30:42.000Z
src/services/pcn-synflood/src/base/StatsBase.cpp
l1b0k/polycube
7af919245c131fa9fe24c5d39d10039cbb81e825
[ "ECL-2.0", "Apache-2.0" ]
90
2018-12-19T15:49:38.000Z
2022-03-27T03:56:07.000Z
/** * synflood API generated from synflood.yang * * NOTE: This file is auto generated by polycube-codegen * https://github.com/polycube-network/polycube-codegen */ /* Do not edit this file manually */ #include "StatsBase.h" #include "../Synflood.h" StatsBase::StatsBase(Synflood &parent) : parent_(parent) {} ...
19.341463
55
0.733922
francescomessina
abd661e39c91ef1f78611b274623a9a21ea474be
3,733
hpp
C++
3rdparty/stout/include/stout/foreach.hpp
zagrev/mesos
eefec152dffc4977183089b46fbfe37dbd19e9d7
[ "Apache-2.0" ]
4,537
2015-01-01T03:26:40.000Z
2022-03-31T03:07:00.000Z
3rdparty/stout/include/stout/foreach.hpp
zagrev/mesos
eefec152dffc4977183089b46fbfe37dbd19e9d7
[ "Apache-2.0" ]
227
2015-01-29T02:21:39.000Z
2022-03-29T13:35:50.000Z
3rdparty/stout/include/stout/foreach.hpp
zagrev/mesos
eefec152dffc4977183089b46fbfe37dbd19e9d7
[ "Apache-2.0" ]
1,992
2015-01-05T12:29:19.000Z
2022-03-31T03:07:07.000Z
// Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed und...
46.6625
80
0.587999
zagrev
abdafadcd780df6b0a7ae650a5aacca117d38782
297
hpp
C++
jrex/h/Characters/Bat.hpp
ronanlv/gba-sprite-engine
863547eedd11439d57d2320d872788b865dd5a8e
[ "MIT" ]
null
null
null
jrex/h/Characters/Bat.hpp
ronanlv/gba-sprite-engine
863547eedd11439d57d2320d872788b865dd5a8e
[ "MIT" ]
null
null
null
jrex/h/Characters/Bat.hpp
ronanlv/gba-sprite-engine
863547eedd11439d57d2320d872788b865dd5a8e
[ "MIT" ]
null
null
null
#pragma once #include "Character.hpp" #include "../assets/bat_finished.c" class Bat : virtual public Character { public: void Up(); void Down(); void Left(); void Right(); void Croach(); void CroachLeft(); void CroachRight(); void Jump(); void Idle(); Bat(SpriteBuilder<Sprite> b); };
15.631579
38
0.673401
ronanlv
abdbec6a5e9130d70264b92c2d471fa5ec1a812f
8,882
cpp
C++
src/cpp/rtps/transport/TCPv6Transport.cpp
timmylinux/Fast-DDS
e6e7eac5a642f606fdaa40a0a2a16617ae9384da
[ "Apache-2.0" ]
575
2015-01-22T20:05:04.000Z
2020-06-01T10:06:12.000Z
src/cpp/rtps/transport/TCPv6Transport.cpp
timmylinux/Fast-DDS
e6e7eac5a642f606fdaa40a0a2a16617ae9384da
[ "Apache-2.0" ]
1,110
2015-04-20T19:30:34.000Z
2020-06-01T08:13:52.000Z
src/cpp/rtps/transport/TCPv6Transport.cpp
timmylinux/Fast-DDS
e6e7eac5a642f606fdaa40a0a2a16617ae9384da
[ "Apache-2.0" ]
273
2015-08-10T23:34:42.000Z
2020-05-28T13:03:32.000Z
// Copyright 2018 Proyectos y Sistemas de Mantenimiento SL (eProsima). // // 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...
25.019718
108
0.677888
timmylinux
abe04acf692d8e99e2acef529077569725518f46
3,475
cpp
C++
src/Qir/Runtime/lib/QIR/context.cpp
Patil2099/qsharp-runtime
12e52e6d410508e1b6a9cc2846b139d1f6e87f89
[ "MIT" ]
null
null
null
src/Qir/Runtime/lib/QIR/context.cpp
Patil2099/qsharp-runtime
12e52e6d410508e1b6a9cc2846b139d1f6e87f89
[ "MIT" ]
null
null
null
src/Qir/Runtime/lib/QIR/context.cpp
Patil2099/qsharp-runtime
12e52e6d410508e1b6a9cc2846b139d1f6e87f89
[ "MIT" ]
null
null
null
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #include <cassert> #include "QirContext.hpp" #include "CoreTypes.hpp" #include "QirRuntimeApi_I.hpp" #include "allocationsTracker.hpp" namespace Microsoft { namespace Quantum { std::unique_ptr<QirExecutionContext> g_contex...
28.483607
104
0.636547
Patil2099
abe27f0a8c5d985ca9faccd6e5737fa660b952d4
311
cpp
C++
JulyLeetCodingChallenge/July 29th 2020/Best Time to Buy and Sell Stock with Cooldown.cpp
SAITARUN55/100DaysofCodeinC-
d52e683f52abc9bc633af7e15bb970882efc3788
[ "MIT" ]
4
2020-05-18T05:12:36.000Z
2020-08-28T07:16:41.000Z
JulyLeetCodingChallenge/July 29th 2020/Best Time to Buy and Sell Stock with Cooldown.cpp
SAITARUN55/100DaysofCodeinC-
d52e683f52abc9bc633af7e15bb970882efc3788
[ "MIT" ]
null
null
null
JulyLeetCodingChallenge/July 29th 2020/Best Time to Buy and Sell Stock with Cooldown.cpp
SAITARUN55/100DaysofCodeinC-
d52e683f52abc9bc633af7e15bb970882efc3788
[ "MIT" ]
5
2020-05-01T04:56:26.000Z
2022-02-02T15:37:53.000Z
class Solution { public: int maxProfit(vector<int>& prices) { int b = INT_MIN,s = 0,p_sell = 0,p_buy; for(int stock : prices){ p_buy = b; b = max(b, p_sell - stock); p_sell = s; s = max(s, p_buy + stock); } return s; } };
22.214286
46
0.446945
SAITARUN55
74388b27e94a5b56718e8eb4aac616302de93e7d
6,167
cpp
C++
CGSandbox/example/08_shadowmap/Sandbox.cpp
chen1180/CG-SandBox
59473fe44fb515f4e79479070c924de7e0e2c760
[ "MIT" ]
null
null
null
CGSandbox/example/08_shadowmap/Sandbox.cpp
chen1180/CG-SandBox
59473fe44fb515f4e79479070c924de7e0e2c760
[ "MIT" ]
null
null
null
CGSandbox/example/08_shadowmap/Sandbox.cpp
chen1180/CG-SandBox
59473fe44fb515f4e79479070c924de7e0e2c760
[ "MIT" ]
null
null
null
#include "Sandbox.h" #include"glad/glad.h" #include"glm/glm.hpp" #include"glm/gtc/matrix_transform.hpp" namespace CGCore { void SandBox::OnAttach() { CG_CLIENT_INFO("App layer attached"); m_Shader = Shader::Create(std::string("assets/shader/Debug_cube.vert.glsl"), std::string("assets/shader/Debug_cube.frag.glsl"...
33.884615
139
0.669207
chen1180
743a3707401928a06c25de0cf678a2e814e70fb7
3,697
cpp
C++
src/network.cpp
abcdabcd987/naughttpd
cdfbb804853d94885a6a070c476857462f4377da
[ "MIT" ]
16
2016-12-12T12:45:14.000Z
2020-10-29T02:33:30.000Z
src/network.cpp
abcdabcd987/naughttpd
cdfbb804853d94885a6a070c476857462f4377da
[ "MIT" ]
null
null
null
src/network.cpp
abcdabcd987/naughttpd
cdfbb804853d94885a6a070c476857462f4377da
[ "MIT" ]
6
2016-12-16T08:04:10.000Z
2020-09-15T08:30:51.000Z
#include "network.hpp" #include <cstdio> #include <cstdlib> #include <cstring> #include <errno.h> #include <fcntl.h> #include <netdb.h> #include <unistd.h> #include <sys/socket.h> #include <sys/epoll.h> #include <netinet/tcp.h> int create_and_bind(int port, bool reuseport) { struct addrinfo hints; struct addr...
24.006494
107
0.530971
abcdabcd987
744631227e421f10ba45c4ecf91c0e32e23e2cdc
7,529
cpp
C++
Hazel/Src/Hazel/Scene/SceneSerializer.cpp
monaboiste/Hazel
3b91f7941de6d123c988c2f962aaa5589ab64161
[ "Apache-2.0" ]
1
2021-06-25T08:11:32.000Z
2021-06-25T08:11:32.000Z
Hazel/Src/Hazel/Scene/SceneSerializer.cpp
monaboiste/Hazel
3b91f7941de6d123c988c2f962aaa5589ab64161
[ "Apache-2.0" ]
2
2021-02-17T13:20:11.000Z
2021-02-17T13:31:13.000Z
Hazel/Src/Hazel/Scene/SceneSerializer.cpp
monaboiste/hazel-private-branch
3b91f7941de6d123c988c2f962aaa5589ab64161
[ "Apache-2.0" ]
null
null
null
#include "hzpch.h" #include "SceneSerializer.h" #include "Entity.h" #include "Component.h" #include <yaml-cpp/yaml.h> namespace YAML { // YAML expect those for deserialization template <> struct convert<glm::vec3> { static Node encode(const glm::vec3& rhs) { Node node; node.push_back(rhs.x); node.p...
28.736641
119
0.641121
monaboiste
7448402766b47d6176e254213bec9444b6ee763c
420
cpp
C++
ch8/8.9.cpp
FWangTrading/Cpp-Primer-5th-Exercises
bce33ed38306485d503ff5117900ada9623bfbf4
[ "Apache-2.0" ]
545
2016-08-24T00:55:03.000Z
2022-03-29T22:59:24.000Z
ch8/8.9.cpp
FWangTrading/Cpp-Primer-5th-Exercises
bce33ed38306485d503ff5117900ada9623bfbf4
[ "Apache-2.0" ]
25
2017-06-05T18:45:56.000Z
2022-02-18T14:19:05.000Z
ch8/8.9.cpp
FWangTrading/Cpp-Primer-5th-Exercises
bce33ed38306485d503ff5117900ada9623bfbf4
[ "Apache-2.0" ]
260
2016-02-23T01:17:41.000Z
2022-03-26T08:35:54.000Z
#include <iostream> #include <string> #include <sstream> std::istream &read(std::istream &is) { //auto old_state = is.rdstate(); is.clear(); std::string str; while (is >> str) std::cout << str << " "; std::cout << std::endl; is.clear(); //is.setstate(old_state); return is; } int main() { std::st...
16.8
38
0.597619
FWangTrading
74492583619c8e1dffbddb6727281deeeb360a29
20,659
cpp
C++
pictconv/sources/image.cpp
nekoniaow/OSDK
ba6692caba3da0afde67e5709de21aacab8b03b7
[ "WTFPL", "Zlib" ]
5
2018-10-31T10:33:44.000Z
2022-02-28T14:33:52.000Z
pictconv/sources/image.cpp
nekoniaow/OSDK
ba6692caba3da0afde67e5709de21aacab8b03b7
[ "WTFPL", "Zlib" ]
2
2018-05-15T06:06:14.000Z
2018-05-17T05:52:59.000Z
pictconv/sources/image.cpp
nekoniaow/OSDK
ba6692caba3da0afde67e5709de21aacab8b03b7
[ "WTFPL", "Zlib" ]
1
2018-10-31T10:35:20.000Z
2018-10-31T10:35:20.000Z
#include <assert.h> #include <stdio.h> #include <set> #include <sstream> #include "common.h" #include "FreeImage.h" #include "defines.h" #include "getpixel.h" #include "hires.h" #include "image.h" #include "svg_format.h" #include "atari_converter.h" // For 'AtariClut', but I need a good abstra...
30.247438
447
0.643545
nekoniaow
744bfce93471c82f54fa4fea973c3f03652c8581
958
cpp
C++
inference-engine/tests/functional/plugin/cpu/shared_tests_instances/single_layer_tests/add.cpp
evgenytalanin-intel/openvino
c3aa866a3318fe9fa8c7ebd3bd333b075bb1cc36
[ "Apache-2.0" ]
null
null
null
inference-engine/tests/functional/plugin/cpu/shared_tests_instances/single_layer_tests/add.cpp
evgenytalanin-intel/openvino
c3aa866a3318fe9fa8c7ebd3bd333b075bb1cc36
[ "Apache-2.0" ]
4
2021-04-01T08:29:48.000Z
2021-08-30T16:12:52.000Z
inference-engine/tests/functional/plugin/cpu/shared_tests_instances/single_layer_tests/add.cpp
evgenytalanin-intel/openvino
c3aa866a3318fe9fa8c7ebd3bd333b075bb1cc36
[ "Apache-2.0" ]
3
2021-03-09T08:27:29.000Z
2021-04-07T04:58:54.000Z
// Copyright (C) 2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <cstddef> #include <vector> #include <map> #include "single_layer_tests/add.hpp" #include "common_test_utils/test_constants.hpp" using namespace LayerTestsDefinitions; namespace { const std::vector<InferenceEngine::Precision...
28.176471
78
0.658664
evgenytalanin-intel
744dcf8e4ac97709bcb84da38bc1711c817351a9
8,169
cpp
C++
subt_cave_costar_husky/launch/husky_explore.cpp
MXHsj/darpa-subt-challenge
7d3b353a6e90d80de16b97f978418ae668224924
[ "MIT" ]
4
2020-08-28T01:29:30.000Z
2021-12-09T15:23:03.000Z
subt_cave_costar_husky/launch/husky_explore.cpp
MXHsj/darpa-subt-challenge
7d3b353a6e90d80de16b97f978418ae668224924
[ "MIT" ]
null
null
null
subt_cave_costar_husky/launch/husky_explore.cpp
MXHsj/darpa-subt-challenge
7d3b353a6e90d80de16b97f978418ae668224924
[ "MIT" ]
3
2020-07-04T16:12:23.000Z
2021-03-28T02:35:38.000Z
#include <iostream> #include <ros/ros.h> #include <sensor_msgs/LaserScan.h> #include <nav_msgs/Odometry.h> #include <geometry_msgs/Twist.h> #include <vector> #include <math.h> geometry_msgs::Twist vel_command; float cliff_range = 0.5; float prev_x = 0.0; float prev_y = 0.0; int static_counter = 0; std::vector<float> ...
27.597973
118
0.517444
MXHsj
74526e3c4c570ec72a72fd8d286707911f53b2ca
47,819
cpp
C++
src/caffe/util/Auxiliary.cpp
gaoyongwyl/VmmrAuxLinux
8d53099cb86cc6be25beef81e013286801e491c2
[ "BSD-2-Clause" ]
2
2015-08-07T02:14:24.000Z
2021-04-08T18:03:28.000Z
src/caffe/util/Auxiliary.cpp
gaoyongwyl/VmmrAuxLinux
8d53099cb86cc6be25beef81e013286801e491c2
[ "BSD-2-Clause" ]
null
null
null
src/caffe/util/Auxiliary.cpp
gaoyongwyl/VmmrAuxLinux
8d53099cb86cc6be25beef81e013286801e491c2
[ "BSD-2-Clause" ]
null
null
null
/*""" TopFolder | <Make1_Model1_Model2> | <Make1_Model3> | ... ... | For make and model of a file, truct it folder name not its name !!! Two level folder structure. The make and model is decided by subfolder !!! not the filenames. because we may adjust file's make or model only by moving it t...
29.775218
143
0.625295
gaoyongwyl
745452a21dd2429e502f8cb4fd4fa9035bfbf7b0
6,185
hpp
C++
src/internal/lapack/monolish_lapack_float.hpp
ricosjp/monolish-debian-package
4e8087804e8ab03484d44106599233ed5080ba54
[ "Apache-2.0" ]
172
2021-04-05T10:04:40.000Z
2022-03-28T14:30:38.000Z
src/internal/lapack/monolish_lapack_float.hpp
ricosjp/monolish
12757f93883830a89820507d44e2eea20b5026e1
[ "Apache-2.0" ]
96
2021-04-06T01:53:44.000Z
2022-03-09T07:27:09.000Z
src/internal/lapack/monolish_lapack_float.hpp
termoshtt/monolish
1cba60864002b55bc666da9baa0f8c2273578e01
[ "Apache-2.0" ]
8
2021-04-05T13:21:07.000Z
2022-03-09T23:24:06.000Z
#pragma once #include "../../../include/common/monolish_common.hpp" #include <stdio.h> #include <vector> #if defined USE_MPI #include <mpi.h> #endif /** * @brief * Linear Algebra Package for Dense Matrix */ namespace monolish::internal::lapack { ////////////////////////////////////////////////////// // Eigenvalu...
37.259036
80
0.671625
ricosjp
745f6fde3811e5a2c5bb40875f2790b375c2b6ef
615
cpp
C++
stl_3.cpp
githubfk/c-stl
34d22027c6ade23cab5506492414ee68787e8534
[ "MIT" ]
null
null
null
stl_3.cpp
githubfk/c-stl
34d22027c6ade23cab5506492414ee68787e8534
[ "MIT" ]
null
null
null
stl_3.cpp
githubfk/c-stl
34d22027c6ade23cab5506492414ee68787e8534
[ "MIT" ]
null
null
null
#include <iostream> #include <list> //#include <algorithm> using namespace std; void Printinfo(const list<int>& listInput); int main() { list<int> a; a.push_back(1); a.push_back(2); a.push_back(3); list<int>::iterator aiter; aiter = a.insert(a.end(), 999); a.push_back(5); a.push_back(6);...
15.769231
65
0.60813
githubfk
746b6c884d1a10b981a74b59e81d07ee849dd191
1,203
cpp
C++
boj/_boj14888.cpp
Oxymoron957/Algorithm_Stduy_Cpp
1c7219bd42ac337426120bf29359ca0bae104590
[ "MIT" ]
null
null
null
boj/_boj14888.cpp
Oxymoron957/Algorithm_Stduy_Cpp
1c7219bd42ac337426120bf29359ca0bae104590
[ "MIT" ]
null
null
null
boj/_boj14888.cpp
Oxymoron957/Algorithm_Stduy_Cpp
1c7219bd42ac337426120bf29359ca0bae104590
[ "MIT" ]
null
null
null
/* 연산자 끼워넣기 https://www.acmicpc.net/problem/14888 N개의 수 N-1개의 연산자 --> 수 사이사이에 연산자를 넣어서 수식 만들수 있다. --> 만들 수 있는 수식의 최댓값을 계산하라 --> 어떻게 수열과 연산자의 모든 경우의 수를 찾아낼 수 있을까 */ #include <iostream> using namespace std; int n; int num_arr[11]; int ops_arr[4]; // + - * / int minout = 1000000001; int maxout = -1000000001; void get...
18.796875
79
0.575229
Oxymoron957
746d7dc0d50e53be42ec39c509deccafca0d8d22
12,821
cpp
C++
render/control.cpp
vasukas/rodent
91224465eaa89467916971a8c5ed1357fa487bdf
[ "FTL", "CC0-1.0", "CC-BY-4.0", "MIT" ]
null
null
null
render/control.cpp
vasukas/rodent
91224465eaa89467916971a8c5ed1357fa487bdf
[ "FTL", "CC0-1.0", "CC-BY-4.0", "MIT" ]
null
null
null
render/control.cpp
vasukas/rodent
91224465eaa89467916971a8c5ed1357fa487bdf
[ "FTL", "CC0-1.0", "CC-BY-4.0", "MIT" ]
null
null
null
#include <condition_variable> #include <mutex> #include <thread> #include <SDL2/SDL.h> #include "core/settings.hpp" #include "utils/res_image.hpp" #include "vaslib/vas_log.hpp" #include "camera.hpp" #include "control.hpp" #include "gl_utils.hpp" #include "postproc.hpp" #include "ren_text.hpp" #include "shader.hpp" cla...
24.798839
126
0.671554
vasukas
7470ca03c27c438a277867b0ddeb5c4ebe16d520
107
inl
C++
Kirides.Union/ZenGin/Gothic_UserAPI/zTRnd_TexFormatInfo.inl
Kirides/union-plugin
7a86a4bee07ba6fc12ac8080a81c1e372e96ea01
[ "MIT" ]
2
2021-12-02T18:36:01.000Z
2022-01-01T12:18:13.000Z
Kirides.Union/ZenGin/Gothic_UserAPI/zTRnd_TexFormatInfo.inl
kirides/union-plugin
7a86a4bee07ba6fc12ac8080a81c1e372e96ea01
[ "MIT" ]
null
null
null
Kirides.Union/ZenGin/Gothic_UserAPI/zTRnd_TexFormatInfo.inl
kirides/union-plugin
7a86a4bee07ba6fc12ac8080a81c1e372e96ea01
[ "MIT" ]
1
2020-12-17T12:02:54.000Z
2020-12-17T12:02:54.000Z
// Supported with union (c) 2020 Union team // User API for zTRnd_TexFormatInfo // Add your methods here
17.833333
43
0.738318
Kirides
7471feed323a81f854c07adc4ae02f8a49028bc3
12,319
cpp
C++
Source/Renderer/Public/Resource/MaterialBlueprint/BufferManager/PassBufferManager.cpp
cofenberg/unrimp
90310657f106eb83f3a9688329b78619255a1042
[ "MIT" ]
187
2015-11-02T21:27:57.000Z
2022-02-17T21:39:17.000Z
Source/Renderer/Public/Resource/MaterialBlueprint/BufferManager/PassBufferManager.cpp
cofenberg/unrimp
90310657f106eb83f3a9688329b78619255a1042
[ "MIT" ]
null
null
null
Source/Renderer/Public/Resource/MaterialBlueprint/BufferManager/PassBufferManager.cpp
cofenberg/unrimp
90310657f106eb83f3a9688329b78619255a1042
[ "MIT" ]
20
2015-11-04T19:17:01.000Z
2021-11-18T11:23:25.000Z
/*********************************************************\ * Copyright (c) 2012-2021 The Unrimp Team * * 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 wi...
52.199153
261
0.719945
cofenberg
7473edc08904536513abe987057c898564a6350b
3,016
hpp
C++
Osd.hpp
safePerformIO/MCLite-archive
cd164f6d89ca435bb5e2f365fbdd810b634c241d
[ "MIT" ]
null
null
null
Osd.hpp
safePerformIO/MCLite-archive
cd164f6d89ca435bb5e2f365fbdd810b634c241d
[ "MIT" ]
null
null
null
Osd.hpp
safePerformIO/MCLite-archive
cd164f6d89ca435bb5e2f365fbdd810b634c241d
[ "MIT" ]
1
2022-03-24T04:58:03.000Z
2022-03-24T04:58:03.000Z
/** * @file Osd.hpp * @author H14 * @brief OSD (On Screen Display) shows the status of the player and the game, containing HPbar, weapon, player current holding item, and current game FPS * @version 0.1 * @date 2021-11-30 * * @copyright Copyright (c) 2021 * */ #pragma once #include <QPainter> #include <QGrap...
28.45283
154
0.634615
safePerformIO
7479bdff479ca046a51bbbb4c3bd5026b707d92b
9,343
cpp
C++
vivi/vivi64/TypeStgDlg.cpp
vivisuke/openViVi
d3e57727393bfc48625945f09ca743e81bf14817
[ "MIT" ]
54
2020-02-15T23:17:25.000Z
2021-11-14T17:13:22.000Z
vivi/vivi64/TypeStgDlg.cpp
vivisuke/openViVi
d3e57727393bfc48625945f09ca743e81bf14817
[ "MIT" ]
11
2020-06-01T08:04:40.000Z
2020-11-22T02:18:41.000Z
vivi/vivi64/TypeStgDlg.cpp
vivisuke/openViVi
d3e57727393bfc48625945f09ca743e81bf14817
[ "MIT" ]
1
2020-06-01T07:51:47.000Z
2020-06-01T07:51:47.000Z
#include <QtGui> #include <qfiledialog.h> #include <qcolordialog.h> #include <qmenu.h> #include <QDebug> #include "TypeStgDlg.h" #include "typeSettings.h" #include "EditView.h" #include "NamedColorDlg.h" TypeStgDlg::TypeStgDlg(EditView *view, TypeSettings *typeStg, QWidget *parent) : QDialog(parent) , m_view(view) ...
34.732342
103
0.729744
vivisuke
747c38445ee5d38311482ba41fb233d207447d9a
21,524
cpp
C++
Plugins/Tileset/Tileset.cpp
Lord-Nightmare/unified
4b6c7351f1389b741667abe03f950313dcde8e1c
[ "MIT" ]
1
2019-10-01T13:14:56.000Z
2019-10-01T13:14:56.000Z
Plugins/Tileset/Tileset.cpp
GoLoT/unified
be2f9bdf39a6667242c83e01ce416b5b0fa9d6f2
[ "MIT" ]
null
null
null
Plugins/Tileset/Tileset.cpp
GoLoT/unified
be2f9bdf39a6667242c83e01ce416b5b0fa9d6f2
[ "MIT" ]
null
null
null
#include "nwnx.hpp" #include "API/CResStruct.hpp" #include "API/CNWSArea.hpp" #include "API/CNWTileSetManager.hpp" #include "API/CNWTileSet.hpp" #include "API/CNWSTile.hpp" #include "API/CNWTileData.hpp" #include "API/CAppManager.hpp" using namespace NWNXLib; using namespace NWNXLib::API; struct TileData { int32...
36.053601
164
0.611875
Lord-Nightmare
747fd7276be21d105599f3f641d42bdd72d59266
9,940
cxx
C++
src/SSD1305.cxx
MG-5/ssd-display-driver
95f315a0764640e542031c3307565e5b11f902ff
[ "MIT" ]
null
null
null
src/SSD1305.cxx
MG-5/ssd-display-driver
95f315a0764640e542031c3307565e5b11f902ff
[ "MIT" ]
null
null
null
src/SSD1305.cxx
MG-5/ssd-display-driver
95f315a0764640e542031c3307565e5b11f902ff
[ "MIT" ]
null
null
null
#include "oled-driver/SSD1305.hpp" namespace command { // clang-format off constexpr auto SetLowerColumnStartAddress = 0x00; constexpr auto SetUpperColumnStartAddress = 0x10; constexpr auto SetMemoryAddressingMode = 0x20; constexpr auto SetColumnAddress = 0x21; constexpr auto SetPageAddress ...
32.168285
100
0.476056
MG-5
748068b5ae6444598f35df3eb07e70c5fd284335
2,017
hpp
C++
include/codegen/include/GlobalNamespace/Rotate.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/GlobalNamespace/Rotate.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/GlobalNamespace/Rotate.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: UnityEngine.MonoBehaviour #include "UnityEngine/MonoBeh...
33.065574
76
0.681706
Futuremappermydud
7482701f9bb67518ceca2868fbf63ccdcbfedea3
74,034
cc
C++
suif/lib/s2c/main.cc
paulhjkelly/taskgraph-metaprogramming
54c4e2806a97bec555a90784ab4cf0880660bf89
[ "BSD-3-Clause" ]
5
2020-04-11T21:30:19.000Z
2021-12-04T16:16:09.000Z
suif/lib/s2c/main.cc
paulhjkelly/taskgraph-metaprogramming
54c4e2806a97bec555a90784ab4cf0880660bf89
[ "BSD-3-Clause" ]
null
null
null
suif/lib/s2c/main.cc
paulhjkelly/taskgraph-metaprogramming
54c4e2806a97bec555a90784ab4cf0880660bf89
[ "BSD-3-Clause" ]
null
null
null
/* file "main.cc" */ /* Copyright (c) 1994 Stanford University All rights reserved. This software is provided under the terms described in the "suif_copyright.h" include file. */ #include <suif_copyright.h> /* * SUIF to C converter * * R. French * T. Smith * C. Wilson */ #include "s2c.h" #include <ctime> #...
32.657256
82
0.53185
paulhjkelly
74873265b4232462644ff21a5afaaf563b0164bc
37,684
cpp
C++
LitetSpel/LitetSpel/game.cpp
Xemrion/LitetSpelProjektGrupp6
8a54a43f5e2af488f981e0cdf75b68080583aadf
[ "MIT" ]
1
2022-03-03T17:43:38.000Z
2022-03-03T17:43:38.000Z
LitetSpel/LitetSpel/game.cpp
Xemrion/LitetSpelProjektGrupp6
8a54a43f5e2af488f981e0cdf75b68080583aadf
[ "MIT" ]
null
null
null
LitetSpel/LitetSpel/game.cpp
Xemrion/LitetSpelProjektGrupp6
8a54a43f5e2af488f981e0cdf75b68080583aadf
[ "MIT" ]
null
null
null
#include "game.h" void Game::init() noexcept { editor.initialize("0.png"); // Platforms for (int i = 0; i < editor.platforms.size(); i++) { level.staticBoxes.push_back(editor.platforms.at(i).hitbox); level.colManager.registerEntry(editor.platforms.at(i), ColliderType::platform, editor.platforms.at(i).hitbox, t...
29.695823
152
0.65431
Xemrion
7492c5c1502eab692ec105717a47cb5776851c40
4,702
cc
C++
psdaq/psdaq/tpr/Client.cc
ZhenghengLi/lcls2
94e75c6536954a58c8937595dcac295163aa1cdf
[ "BSD-3-Clause-LBNL" ]
16
2017-11-09T17:10:56.000Z
2022-03-09T23:03:10.000Z
psdaq/psdaq/tpr/Client.cc
ZhenghengLi/lcls2
94e75c6536954a58c8937595dcac295163aa1cdf
[ "BSD-3-Clause-LBNL" ]
6
2017-12-12T19:30:05.000Z
2020-07-09T00:28:33.000Z
psdaq/psdaq/tpr/Client.cc
ZhenghengLi/lcls2
94e75c6536954a58c8937595dcac295163aa1cdf
[ "BSD-3-Clause-LBNL" ]
25
2017-09-18T20:02:43.000Z
2022-03-27T22:27:42.000Z
#include "Client.hh" #include "Frame.hh" #include "Module.hh" #include "Queues.hh" #include <sys/mman.h> #include <fcntl.h> using namespace Pds::Tpr; Client::Client(const char* devname, unsigned channel, bool clksel, ModeSel modsel) : _channel(channel) { ...
23.747475
127
0.608464
ZhenghengLi
7492dcf341cf8c5f0827867bae7d0d51962e1efe
3,449
cpp
C++
SenseHat-og-I2C-materiale/SenseHat_/Projects/SparkelContainer/IsolatedContainer.cpp
ATS-SKP-DataIT/RaspberryPi-SenseHat
99cd55bbd17d45be4cc3b57fa25da842a1febf1d
[ "MIT" ]
null
null
null
SenseHat-og-I2C-materiale/SenseHat_/Projects/SparkelContainer/IsolatedContainer.cpp
ATS-SKP-DataIT/RaspberryPi-SenseHat
99cd55bbd17d45be4cc3b57fa25da842a1febf1d
[ "MIT" ]
1
2022-02-02T09:58:34.000Z
2022-02-02T09:58:34.000Z
SenseHat-og-I2C-materiale/SenseHat_/Projects/SparkelContainer/IsolatedContainer.cpp
ATS-SKP-DataIT/RaspberryPi-SenseHat
99cd55bbd17d45be4cc3b57fa25da842a1febf1d
[ "MIT" ]
1
2022-02-02T09:57:48.000Z
2022-02-02T09:57:48.000Z
/* * IsolatedContainer.cpp * * Created on: May 3, 2019 * Author: jdellaria */ #include "IsolatedContainer.h" IsolatedContainer::IsolatedContainer() { // TODO Auto-generated constructor stub programID = 0; } IsolatedContainer::~IsolatedContainer() { // TODO Auto-generated destructor stub } //int MP3St...
30.522124
142
0.679037
ATS-SKP-DataIT
74989109c75a8bdecc211c51658a76672b3677e3
488
hh
C++
octo/parsing/MatchSequence.hh
KevinTheBarbarian/octo
98047dbe7fd7ba5bf6a5f6c1b1a5a8d03fdf8f5f
[ "MIT" ]
null
null
null
octo/parsing/MatchSequence.hh
KevinTheBarbarian/octo
98047dbe7fd7ba5bf6a5f6c1b1a5a8d03fdf8f5f
[ "MIT" ]
null
null
null
octo/parsing/MatchSequence.hh
KevinTheBarbarian/octo
98047dbe7fd7ba5bf6a5f6c1b1a5a8d03fdf8f5f
[ "MIT" ]
null
null
null
#ifndef __MATCH_SEQUENCE_HH__ #define __MATCH_SEQUENCE_HH__ #include "Matcher.hh" namespace parsing { class MatchSequence : public Matcher { public: MatchSequence(const std::string& tag, const std::vector<RuleRef>& rules); virtual ParseResult parse(const Context& context); virtual v...
19.52
81
0.67623
KevinTheBarbarian
749a83e7b9ef6503c819dae76d655007ed702c71
1,217
cpp
C++
Source/PostProcess/GodRays.cpp
UglySwedishFish/MineCraft-One-Week-Challenge
2d8859a977224c1f3d184ab8f2d50f17e43ce6ba
[ "Apache-2.0" ]
1
2020-04-21T18:47:09.000Z
2020-04-21T18:47:09.000Z
Source/PostProcess/GodRays.cpp
UglySwedishFish/MineCraft-One-Week-Challenge
2d8859a977224c1f3d184ab8f2d50f17e43ce6ba
[ "Apache-2.0" ]
null
null
null
Source/PostProcess/GodRays.cpp
UglySwedishFish/MineCraft-One-Week-Challenge
2d8859a977224c1f3d184ab8f2d50f17e43ce6ba
[ "Apache-2.0" ]
null
null
null
#include "GodRays.h" #include "../RenderSettings.h" #include "../GlobalInfo.h" GodRays::GodRays() : renderer(g_renderSettings.resolutionX, g_renderSettings.resolutionY) { } void GodRays::render(GLuint texture) { m_shader.useProgram(); m_shader.loadProjectionViewMatrix(glm::ortho(0, 1, 0, 1, 0, 1)); ...
25.893617
76
0.709942
UglySwedishFish
749f4ff1741f23adfa1c1c611515de41896bc8f2
1,260
hpp
C++
Frameworks/include/Helmet/Core/Thread/MutexFactory.hpp
hatboysoftware/helmet
97f26d134742fdb732abc6177bb2adaeb67b3187
[ "Zlib" ]
2
2018-02-07T01:19:37.000Z
2018-02-09T14:27:48.000Z
Frameworks/include/Helmet/Core/Thread/MutexFactory.hpp
hatboysoftware/helmet
97f26d134742fdb732abc6177bb2adaeb67b3187
[ "Zlib" ]
null
null
null
Frameworks/include/Helmet/Core/Thread/MutexFactory.hpp
hatboysoftware/helmet
97f26d134742fdb732abc6177bb2adaeb67b3187
[ "Zlib" ]
null
null
null
//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ // Helmet Software Framework // // Copyright (C) 2018 Hat Boy Software, Inc. // // @author Matthew Alan Gray - <mgray@hatboysoftware.com> // @author Tony Richards - <trichards@indiezen.com> //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-...
28.636364
80
0.396825
hatboysoftware
74a25fdc731cf13e8613eb1ee346fa981cb37a56
16,123
cpp
C++
src/Frostwave/Graphics/VulkanImage.cpp
KyaZero/DeferredVulkan
8e5ca8c6909e739b537fe195f3737b7070aac6e8
[ "MIT" ]
null
null
null
src/Frostwave/Graphics/VulkanImage.cpp
KyaZero/DeferredVulkan
8e5ca8c6909e739b537fe195f3737b7070aac6e8
[ "MIT" ]
null
null
null
src/Frostwave/Graphics/VulkanImage.cpp
KyaZero/DeferredVulkan
8e5ca8c6909e739b537fe195f3737b7070aac6e8
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "VulkanImage.h" #include "VulkanUtils.h" #include "VkFramework.h" #include <Frostwave/Debug/Logger.h> #define STB_IMAGE_IMPLEMENTATION #include <stb/stb_image.h> frostwave::VulkanImage::VulkanImage() : myImage(VK_NULL_HANDLE), myImageView(VK_NULL_HANDLE), myImageMemory(VK_NULL_HANDLE),...
32.770325
173
0.78664
KyaZero
74a3d9e3310f6d2d682d09b06a944793e9f1d180
9,216
cc
C++
src/WLGDBiasChangeCrossSection.cc
morellam/warwick-legend
5cd6882cc31bea64f158ff1d533009fff4273ec4
[ "MIT" ]
null
null
null
src/WLGDBiasChangeCrossSection.cc
morellam/warwick-legend
5cd6882cc31bea64f158ff1d533009fff4273ec4
[ "MIT" ]
null
null
null
src/WLGDBiasChangeCrossSection.cc
morellam/warwick-legend
5cd6882cc31bea64f158ff1d533009fff4273ec4
[ "MIT" ]
4
2021-12-15T10:22:15.000Z
2022-03-01T13:29:21.000Z
#include "WLGDBiasChangeCrossSection.hh" WLGDBiasChangeCrossSection::WLGDBiasChangeCrossSection(G4String particleToBias, G4String name) : G4VBiasingOperator(std::move(name)) , fSetup(true) , fpname(std::move(particleToBias)){ fParticleToBias = G4ParticleTable:...
49.283422
258
0.615126
morellam
74a637833277a1174a57b5f16e166eb0e392e75b
3,801
hpp
C++
include/VROSC/ThereminOctaveControlUI.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
include/VROSC/ThereminOctaveControlUI.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
include/VROSC/ThereminOctaveControlUI.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: VROSC.OctaveControlUI #include "VRO...
48.730769
172
0.741384
RedBrumbler
74a80d6f8c8e4f8f8e0ba7fd232112a01b5445c8
2,178
cpp
C++
examples/warehouse/main.cpp
skylarkwireless/json-rpc-cxx
0b4bd5c8aa5d850df12e869b2f3ad4de832558d6
[ "MIT" ]
125
2019-05-25T09:57:50.000Z
2022-03-30T00:14:38.000Z
examples/warehouse/main.cpp
skylarkwireless/json-rpc-cxx
0b4bd5c8aa5d850df12e869b2f3ad4de832558d6
[ "MIT" ]
25
2019-05-12T15:26:48.000Z
2022-01-10T10:40:59.000Z
examples/warehouse/main.cpp
skylarkwireless/json-rpc-cxx
0b4bd5c8aa5d850df12e869b2f3ad4de832558d6
[ "MIT" ]
35
2019-05-13T18:44:14.000Z
2021-12-30T19:59:29.000Z
#include "inmemoryconnector.hpp" #include "cpphttplibconnector.hpp" #include "warehouseapp.hpp" #include <iostream> #include <vector> #include <jsonrpccxx/client.hpp> #include <jsonrpccxx/server.hpp> using namespace jsonrpccxx; using namespace std; class WareHouseClient { public: explicit WareHouseClient(JsonRpcCl...
31.114286
105
0.698806
skylarkwireless
74aa3d40c5fc4b5f10cd1b109bf19246deffeb8f
6,205
cpp
C++
Modules/Classification/CLUtilities/test/mitkGIFImageDescriptionFeaturesTest.cpp
hgoetzTHU/NAMI_MITK_20201127
c670e289d6e7961c54021d83933dcbdc5baa290d
[ "BSD-3-Clause" ]
1
2022-03-03T12:03:32.000Z
2022-03-03T12:03:32.000Z
Modules/Classification/CLUtilities/test/mitkGIFImageDescriptionFeaturesTest.cpp
phuang0915/MITK
f0e722f6a65d3aba98d674120683260564ce8db0
[ "BSD-3-Clause" ]
null
null
null
Modules/Classification/CLUtilities/test/mitkGIFImageDescriptionFeaturesTest.cpp
phuang0915/MITK
f0e722f6a65d3aba98d674120683260564ce8db0
[ "BSD-3-Clause" ]
1
2020-11-27T09:41:18.000Z
2020-11-27T09:41:18.000Z
/*============================================================================ The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center (DKFZ) All rights reserved. Use of this source code is governed by a 3-clause BSD license that can be found in the LICENSE file. =================...
67.445652
187
0.760999
hgoetzTHU
74b4f8c42b2d34e8e1586996fcb3308124505636
2,068
cpp
C++
Source/Sqlite/Client/Runtime/ClientGameInstanceDelegate.cpp
FLYINGSNOWGO/TestUE
f04087702736ce689ee2030595d4ce1256ca1c52
[ "MIT" ]
null
null
null
Source/Sqlite/Client/Runtime/ClientGameInstanceDelegate.cpp
FLYINGSNOWGO/TestUE
f04087702736ce689ee2030595d4ce1256ca1c52
[ "MIT" ]
null
null
null
Source/Sqlite/Client/Runtime/ClientGameInstanceDelegate.cpp
FLYINGSNOWGO/TestUE
f04087702736ce689ee2030595d4ce1256ca1c52
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "ClientGameInstanceDelegate.h" #include "HAL/PlatformFilemanager.h" #include "IPlatformFilePak.h" #include "Common/Runtime/SqliteGameInstance.h" #include "Log.h" FClientGameInstanceDelegator::FClientGameInstanceDelegator() { FSc...
43.083333
189
0.808027
FLYINGSNOWGO
74b64b7c7ffc719f31ea2370693b817965b79b34
185
cpp
C++
src/GradientControllerUpdate.cpp
BobbyShmurner/Technicolour
3e71b2bb1b19b2ca3225933111a87582fb436494
[ "MIT" ]
2
2021-12-26T19:09:09.000Z
2021-12-27T20:36:51.000Z
src/GradientControllerUpdate.cpp
BobbyShmurner/Technicolour
3e71b2bb1b19b2ca3225933111a87582fb436494
[ "MIT" ]
4
2021-12-27T17:58:38.000Z
2022-03-05T19:39:38.000Z
src/GradientControllerUpdate.cpp
BobbyShmurner/Technicolour
3e71b2bb1b19b2ca3225933111a87582fb436494
[ "MIT" ]
4
2021-12-26T18:03:06.000Z
2021-12-28T12:33:13.000Z
#include "GradientControllerUpdate.hpp" DEFINE_TYPE(Technicolour, GradientControllerUpdate); void Technicolour::GradientControllerUpdate::Update() { gradientController.update(); }
26.428571
55
0.816216
BobbyShmurner