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
aa281b038db5a44e51678dc3b1f33da634a19335
7,017
cpp
C++
Source/Game/Application.cpp
ace13/LD31
4f328b3389f629eeab48288f82c04499da3cd5f4
[ "MIT" ]
3
2015-03-12T10:42:56.000Z
2016-04-17T23:38:47.000Z
Source/Game/Application.cpp
ace13/LD31
4f328b3389f629eeab48288f82c04499da3cd5f4
[ "MIT" ]
null
null
null
Source/Game/Application.cpp
ace13/LD31
4f328b3389f629eeab48288f82c04499da3cd5f4
[ "MIT" ]
null
null
null
#include "Application.hpp" #include "Resources.hpp" #include <Input/InputManager.hpp> #include <Script/ScriptExtensions.hpp> #include <Script/ScriptHooks.hpp> #include <Script/ScriptManager.hpp> #include <Script/ScriptObject.hpp> #include <Util/FileSystem.hpp> #include <SFML/Network/IpAddress.hpp> #include <SFML/Netw...
29.483193
145
0.636312
ace13
aa284d27c3db7035a2fb2f6cda3a1e77f30adcc2
7,541
hpp
C++
src/Entities/Actor/_TalkingState.hpp
Mac1512/engge
50c203c09b57c0fbbcdf6284c60886c8db471e07
[ "MIT" ]
null
null
null
src/Entities/Actor/_TalkingState.hpp
Mac1512/engge
50c203c09b57c0fbbcdf6284c60886c8db471e07
[ "MIT" ]
null
null
null
src/Entities/Actor/_TalkingState.hpp
Mac1512/engge
50c203c09b57c0fbbcdf6284c60886c8db471e07
[ "MIT" ]
null
null
null
#pragma once #include "SFML/Graphics.hpp" #include "Engine/Engine.hpp" #include "Font/GGFont.hpp" #include "Graphics/Screen.hpp" #include "Graphics/Text.hpp" #include "Scripting/ScriptEngine.hpp" #include "_LipAnimation.hpp" #include "../../System/_Util.hpp" #include "Audio/SoundId.hpp" #include "Engine/Preferences.hpp...
31.95339
118
0.607744
Mac1512
aa2a5d034edb2f863f832dd54bf716440be83698
1,353
cpp
C++
Data Structures/Tree/tree.cpp
ya-nsh/Data-Structures-and-Algorithms
3c709b6d0fcd0705d6d96b9ef7fcadf4ad9e320a
[ "MIT" ]
1
2020-08-19T13:55:32.000Z
2020-08-19T13:55:32.000Z
Data Structures/Tree/tree.cpp
ya-nsh/Data-Structures-and-Algorithms
3c709b6d0fcd0705d6d96b9ef7fcadf4ad9e320a
[ "MIT" ]
null
null
null
Data Structures/Tree/tree.cpp
ya-nsh/Data-Structures-and-Algorithms
3c709b6d0fcd0705d6d96b9ef7fcadf4ad9e320a
[ "MIT" ]
null
null
null
#include<iostream> using namespace std ; class node { node *left ; int data ; node *right; public: node(int n) { data = n ; left = right =NULL; } friend class tree ; }; class tree { node *root; //private member function void preorder (node *currentnode); void inorder (node *currentnode); void posto...
12.527778
49
0.561715
ya-nsh
aa2a66e62dbe56bcbe31167890e32da50acfe348
4,031
cpp
C++
src/QP/osqp_utils.cpp
BenChung/nasoq
dcd38830f839941eec2688bdc8a35967d177c627
[ "MIT" ]
52
2020-07-01T19:45:31.000Z
2022-03-24T22:22:50.000Z
src/QP/osqp_utils.cpp
BenChung/nasoq
dcd38830f839941eec2688bdc8a35967d177c627
[ "MIT" ]
11
2020-08-17T23:32:03.000Z
2022-03-18T16:34:02.000Z
src/QP/osqp_utils.cpp
BenChung/nasoq
dcd38830f839941eec2688bdc8a35967d177c627
[ "MIT" ]
12
2020-07-02T08:33:25.000Z
2022-01-03T14:12:30.000Z
// // Created by Shujian Qian on 2020-10-29. // #include "QP/osqp_utils.h" #include <algorithm> #include <cmath> namespace nasoq { void vec_mult_scalar(double *a, double sc, int n) { int i; for (i = 0; i < n; i++) { a[i] *= sc; } } double vec_mean(const double *a, int n) { double mean = 0.0; int i...
19.955446
122
0.507566
BenChung
aa2c663bd8ec42f6f32661cc3548fee18c346347
1,226
hpp
C++
include/tardisdb/queryCompiler/queryCompiler.hpp
josefschmeisser/TardisDB
0d805c4730533fa37c3668acd592404027b9b0d6
[ "Apache-2.0" ]
5
2021-01-15T16:59:59.000Z
2022-02-28T15:41:00.000Z
include/tardisdb/queryCompiler/queryCompiler.hpp
josefschmeisser/TardisDB
0d805c4730533fa37c3668acd592404027b9b0d6
[ "Apache-2.0" ]
null
null
null
include/tardisdb/queryCompiler/queryCompiler.hpp
josefschmeisser/TardisDB
0d805c4730533fa37c3668acd592404027b9b0d6
[ "Apache-2.0" ]
1
2021-06-22T04:53:38.000Z
2021-06-22T04:53:38.000Z
// // Created by Blum Thomas on 2020-06-18. // #ifndef PROTODB_QUERYCOMPILER_HPP #define PROTODB_QUERYCOMPILER_HPP #include <string> #include "foundations/Database.hpp" #include "foundations/InformationUnit.hpp" namespace QueryCompiler { struct BenchmarkResult { double parsingTime; double anal...
27.863636
126
0.690049
josefschmeisser
a8f578a66794a832ccd11aa908cc54142b2b4d2e
1,445
hpp
C++
PolyEngine/Editor/Src/Managers/CommandsImpl.hpp
PiotrMoscicki/PolyEngine
573c453e9d1ae0a351ad14410595ff844e3b4620
[ "MIT" ]
65
2017-04-04T20:33:44.000Z
2019-12-02T23:06:58.000Z
PolyEngine/Editor/Src/Managers/CommandsImpl.hpp
PiotrMoscicki/PolyEngine
573c453e9d1ae0a351ad14410595ff844e3b4620
[ "MIT" ]
46
2017-04-21T12:26:38.000Z
2019-12-15T05:31:47.000Z
PolyEngine/Editor/Src/Managers/CommandsImpl.hpp
PiotrMoscicki/PolyEngine
573c453e9d1ae0a351ad14410595ff844e3b4620
[ "MIT" ]
51
2017-04-12T10:53:32.000Z
2019-11-20T13:05:54.000Z
#pragma once #include <Defines.hpp> #include <ECS/Entity.hpp> #include "Managers/Project/InspectorManager.hpp" using namespace Poly; template <typename T> class ControlBase; //------------------------------------------------------------------------------ class Command { public: virtual ~Command() = default; virt...
19.013158
80
0.555709
PiotrMoscicki
a8f8bd78ce89d4c58b3998960cd6683935455caf
6,187
cpp
C++
CocosBase/CCSceneExtension.cpp
fuhongxue/CocosBase
4e6a9f03a95afda84708042e5208fc81125f1718
[ "MIT" ]
1
2015-11-05T15:58:23.000Z
2015-11-05T15:58:23.000Z
CocosBase/CCSceneExtension.cpp
fuhongxue/CocosBase
4e6a9f03a95afda84708042e5208fc81125f1718
[ "MIT" ]
null
null
null
CocosBase/CCSceneExtension.cpp
fuhongxue/CocosBase
4e6a9f03a95afda84708042e5208fc81125f1718
[ "MIT" ]
null
null
null
/**************************************************************************** Copyright (c) 2014 Lijunlin - Jason lee Created by Lijunlin - Jason lee on 2014 jason.lee.c@foxmail.com http://www.cocos2d-x.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated ...
25.566116
100
0.754162
fuhongxue
a8f9c5cbf467241971373490b32889b4989660ec
37
hpp
C++
Test/Oak/Platform/Thread/ThreadTest.hpp
n-suudai/OakPlanet
fd13328ad97b87151bf3fafb00fc01440832393a
[ "MIT" ]
null
null
null
Test/Oak/Platform/Thread/ThreadTest.hpp
n-suudai/OakPlanet
fd13328ad97b87151bf3fafb00fc01440832393a
[ "MIT" ]
null
null
null
Test/Oak/Platform/Thread/ThreadTest.hpp
n-suudai/OakPlanet
fd13328ad97b87151bf3fafb00fc01440832393a
[ "MIT" ]
null
null
null
#pragma once int ThreadTestMain();
9.25
21
0.72973
n-suudai
d1011c32979fa6c054772ac45bca832c09e28bf1
6,607
cpp
C++
CK3toEU4/Source/EU4World/Province/EU4Province.cpp
ParadoxGameConverters/CK3toEU4
927ddd86d11950ca10cbc724feee2a33fb4fd427
[ "MIT" ]
21
2020-08-13T02:52:43.000Z
2021-11-26T05:25:24.000Z
CK3toEU4/Source/EU4World/Province/EU4Province.cpp
Rondrio/CK3toEU4
791990d5b664c079d5c27e1de69deb4867e44d6f
[ "MIT" ]
50
2020-09-02T16:55:06.000Z
2022-03-13T07:13:15.000Z
CK3toEU4/Source/EU4World/Province/EU4Province.cpp
gawquon/CK3toEU4
5a84c720e4241adcfd4980691fd4c0a868473a93
[ "MIT" ]
24
2020-08-08T23:48:02.000Z
2022-02-28T11:36:59.000Z
#include "EU4Province.h" #include "../../CK3World/Characters/Character.h" #include "../../CK3World/Cultures/Culture.h" #include "../../CK3World/Geography/CountyDetail.h" #include "../../CK3World/Religions/Faith.h" #include "../../CK3World/Titles/LandedTitles.h" #include "../../CK3World/Titles/Title.h" #include "../../M...
36.705556
148
0.710459
ParadoxGameConverters
d1071fceb6d0091097bb93e7778f19586b83a921
1,690
cpp
C++
samples/disabled/write.cpp
alskondr/xlnt
7f00e91760886204c847fc659bed47234f46f3e6
[ "Unlicense" ]
8
2019-02-28T14:49:56.000Z
2022-03-29T06:32:09.000Z
samples/disabled/write.cpp
alskondr/xlnt
7f00e91760886204c847fc659bed47234f46f3e6
[ "Unlicense" ]
2
2021-04-09T15:36:05.000Z
2021-11-17T22:38:10.000Z
samples/disabled/write.cpp
alskondr/xlnt
7f00e91760886204c847fc659bed47234f46f3e6
[ "Unlicense" ]
3
2019-12-31T14:04:17.000Z
2022-03-18T11:44:49.000Z
#include <iostream> #include <xlnt/xlnt.hpp> // Make 3 sheets containing 10,000 cells with unique numeric values. int main() { // create the workbook xlnt::workbook workbook; // workbooks have a single sheet called "Sheet" initially so let's get rid of it auto to_remove = workbook.get_sheet_by_nam...
37.555556
84
0.578698
alskondr
d10741730475ba8b5002a65485846950582ede8e
3,822
cpp
C++
src/scene/drawcomponents.cpp
Sangeun44/Half-Edge-Mesh
0ab055fd5aee275c64167ac2b5ae75278e9dc488
[ "MIT" ]
null
null
null
src/scene/drawcomponents.cpp
Sangeun44/Half-Edge-Mesh
0ab055fd5aee275c64167ac2b5ae75278e9dc488
[ "MIT" ]
null
null
null
src/scene/drawcomponents.cpp
Sangeun44/Half-Edge-Mesh
0ab055fd5aee275c64167ac2b5ae75278e9dc488
[ "MIT" ]
null
null
null
#include "drawcomponents.h" #include "components.h" #include <QTextStream> DrawVert::DrawVert(GLWidget277 *context): Drawable(context), V() {} void DrawVert::setVert(Vertex* v) { V = v; } GLenum DrawVert::drawMode() { return GL_POINTS; } void DrawVert::create() { glm::vec3 color = glm::vec3(1,1,1); ...
27.106383
121
0.669021
Sangeun44
d10f580b87f58f951e4edba298448a77b7fccf8a
399
cpp
C++
API/GameEngineContents/BubbleBobble.cpp
Bellcow4/Portfolio
4f04cbf6d5a3af77eed885de25d51c8a3083dfc7
[ "MIT" ]
null
null
null
API/GameEngineContents/BubbleBobble.cpp
Bellcow4/Portfolio
4f04cbf6d5a3af77eed885de25d51c8a3083dfc7
[ "MIT" ]
null
null
null
API/GameEngineContents/BubbleBobble.cpp
Bellcow4/Portfolio
4f04cbf6d5a3af77eed885de25d51c8a3083dfc7
[ "MIT" ]
null
null
null
#include "BubbleBobble.h" #include "PlayLevel.h" #include "EndingLevel.h" #include "TitleLevel.h" BubbleBobble::BubbleBobble() { } BubbleBobble::~BubbleBobble() { } void BubbleBobble::GameInit() { CreateLevel<TitleLevel>("Title"); CreateLevel<PlayLevel>("Play"); CreateLevel<EndingLevel>("Ending"); ChangeLevel("T...
13.758621
36
0.719298
Bellcow4
d11cbf1edf8820d502edabe0f468c5ea4685f54b
643
cpp
C++
SRC/CodeForces/Educational_Codeforces_Round_52(rated,Div.2)/C.cpp
YouDad/ACM
ac26e0b360267943af32692629d6c34e739ee70d
[ "MIT" ]
2
2018-07-27T08:09:48.000Z
2018-09-26T16:36:37.000Z
SRC/CodeForces/Educational_Codeforces_Round_52(rated,Div.2)/C.cpp
YouDad/ACM
ac26e0b360267943af32692629d6c34e739ee70d
[ "MIT" ]
null
null
null
SRC/CodeForces/Educational_Codeforces_Round_52(rated,Div.2)/C.cpp
YouDad/ACM
ac26e0b360267943af32692629d6c34e739ee70d
[ "MIT" ]
null
null
null
#include<stdio.h> long long c[200005]; int main(){ #ifdef LOCAL_DEBUG freopen("E:/ACM/SRC/1.txt","r",stdin); #endif int n,k,max=0;scanf("%d%d",&n,&k); for(int i=0,t;i<n;i++){ scanf("%d",&t),c[t]++; if(t>max)max=t; } for(int i=max;i;i--) c[i-1]+=c[i]; for(int i=1;i<=max;i+...
23.814815
42
0.440124
YouDad
d11df28516cf9535a57faee4c5d918c7404e5aa6
8,310
cpp
C++
plugin_III/game_III/CFont.cpp
gta-chaos-mod/plugin-sdk
e3bf176337774a2afc797a47825f81adde78e899
[ "Zlib" ]
368
2015-01-01T21:42:00.000Z
2022-03-29T06:22:22.000Z
plugin_III/game_III/CFont.cpp
gta-chaos-mod/plugin-sdk
e3bf176337774a2afc797a47825f81adde78e899
[ "Zlib" ]
89
2016-05-08T06:42:36.000Z
2022-03-29T06:49:09.000Z
plugin_III/game_III/CFont.cpp
gta-chaos-mod/plugin-sdk
e3bf176337774a2afc797a47825f81adde78e899
[ "Zlib" ]
179
2015-02-03T23:41:17.000Z
2022-03-26T08:27:16.000Z
/* Plugin-SDK (Grand Theft Auto 3) source file Authors: GTA Community. See more here https://github.com/DK22Pac/plugin-sdk Do not delete this comment block. Respect others' work! */ #include "CFont.h" #include <string> #include <string.h> CFontDetails &CFont::Details = *(CFontDetails *)0x8F317C; CSprit...
32.97619
111
0.725752
gta-chaos-mod
d120e0aa183af5c6ac232e9ad37522392e6bd0c7
1,312
hpp
C++
code/DSACode/LEFClass13.hpp
lefex/DSA
4403c36b599b6d11f358204e76d4a0b172d18796
[ "MIT" ]
78
2019-03-10T14:32:28.000Z
2021-11-16T10:54:50.000Z
code/DSACode/LEFClass13.hpp
lefex/DSA
4403c36b599b6d11f358204e76d4a0b172d18796
[ "MIT" ]
54
2019-03-09T05:55:09.000Z
2019-11-16T03:43:22.000Z
code/DSACode/LEFClass13.hpp
lefex/DSA
4403c36b599b6d11f358204e76d4a0b172d18796
[ "MIT" ]
11
2019-05-23T02:57:02.000Z
2021-07-24T04:03:36.000Z
// // LEFClass13.hpp // DSACode // // Created by wsy on 2019/2/23. // Copyright © 2019 Wang,Suyan. All rights reserved. // /** is-a 关系的继承 如何以公有方式从一个类派生出另一个类 保护访问 构造函数成员初始化列表 向上向下强制转换 虚成员函数 早期(静态)联编与晚期(动态)联编 抽象基类 纯虚函数 何时及如何使用公有继承 */ #ifndef LEFClass13_hpp #define LEFClass13_hpp #include <stdio.h> #incl...
16.197531
108
0.65625
lefex
d121fee4051f6bbc0391438745393be2ba1068eb
13,711
cpp
C++
src/RcppExports.cpp
gvegayon/phylogenetic
6cf77f34e7313060327176069e3ad08e6866b827
[ "MIT" ]
null
null
null
src/RcppExports.cpp
gvegayon/phylogenetic
6cf77f34e7313060327176069e3ad08e6866b827
[ "MIT" ]
5
2017-01-19T19:52:09.000Z
2017-03-29T23:34:21.000Z
src/RcppExports.cpp
USCbiostats/phylogenetic
6cf77f34e7313060327176069e3ad08e6866b827
[ "MIT" ]
null
null
null
// Generated by using Rcpp::compileAttributes() -> do not edit by hand // Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393 #include <Rcpp.h> using namespace Rcpp; #ifdef RCPP_USE_GLOBAL_ROSTREAM Rcpp::Rostream<true>& Rcpp::Rcout = Rcpp::Rcpp_cout_get(); Rcpp::Rostream<false>& Rcpp::Rcerr = Rcpp::Rcpp_cerr_get(...
46.477966
246
0.751368
gvegayon
d127b66a39bf3024314718d861ea9ff5ee01ce8c
4,458
cpp
C++
src/BCHCodes.cpp
VerlorenMind/bchcodes
b5164b5d44002967d8f81ff3cfb152565a7a82fe
[ "MIT" ]
null
null
null
src/BCHCodes.cpp
VerlorenMind/bchcodes
b5164b5d44002967d8f81ff3cfb152565a7a82fe
[ "MIT" ]
null
null
null
src/BCHCodes.cpp
VerlorenMind/bchcodes
b5164b5d44002967d8f81ff3cfb152565a7a82fe
[ "MIT" ]
null
null
null
#include <iostream> #include <cstring> #include <GaussianElimination.h> #include "GF.h" #include "../include/BCHCodes.h" void build_bch_matrices(uint64_t n, uint64_t d, std::ostream& output) { if(__builtin_popcount(n+1) > 1) { std::cerr << "Length is not a 2^m-1"<<std::endl; } uint64_t pow = 0;...
23.839572
79
0.451548
VerlorenMind
d1298f034e226468901c2873bcfaaa9aedfe50c4
3,536
cpp
C++
external/CUTE/cute_tests/test_cute_expect.cpp
TonHai1111/STARE
65980e1a3b9eaf004cb5ca727557b7028485b467
[ "MIT" ]
2
2020-03-25T13:46:17.000Z
2020-11-27T13:56:06.000Z
external/CUTE/cute_tests/test_cute_expect.cpp
TonHai1111/STARE
65980e1a3b9eaf004cb5ca727557b7028485b467
[ "MIT" ]
46
2020-04-15T19:02:35.000Z
2021-11-18T18:57:07.000Z
external/CUTE/cute_tests/test_cute_expect.cpp
TonHai1111/STARE
65980e1a3b9eaf004cb5ca727557b7028485b467
[ "MIT" ]
1
2021-05-23T01:20:41.000Z
2021-05-23T01:20:41.000Z
/********************************************************************************* * This file is part of CUTE. * * Copyright (c) 2008-2018 Peter Sommerlad, IFS * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), ...
36.833333
125
0.749152
TonHai1111
d133d8703a85e67cc225ae7885b0668917e60352
3,726
cpp
C++
testing/cpp/basics.cpp
l2tor/underworlds
2937b6f858a1725d4581a792e34e5c08587301d0
[ "BSD-3-Clause" ]
3
2019-05-26T16:48:38.000Z
2021-07-29T01:34:26.000Z
testing/cpp/basics.cpp
l2tor/underworlds
2937b6f858a1725d4581a792e34e5c08587301d0
[ "BSD-3-Clause" ]
15
2016-11-25T16:04:04.000Z
2018-02-22T20:46:50.000Z
testing/cpp/basics.cpp
l2tor/underworlds
2937b6f858a1725d4581a792e34e5c08587301d0
[ "BSD-3-Clause" ]
4
2017-03-28T13:00:11.000Z
2018-01-31T14:09:23.000Z
#include <chrono> #include <thread> #include "gtest/gtest.h" #include "uwds.hpp" using namespace std; using namespace uwds; #define WAIT_FOR_PROPAGATION std::this_thread::sleep_for(std::chrono::milliseconds(200)) template<typename T> bool isIn(const T& container, const Node& value) { for (const auto v : conta...
20.140541
88
0.641975
l2tor
d138ffd0c146d9e2554b2c05d32ffbf8f5dfac7e
1,141
cpp
C++
QHTML_Static/qhtm/RegisterWindow.cpp
karolbe/DSS
5a834561fbe7345d0be36f41ed8620ebbdb2f222
[ "BSD-3-Clause" ]
null
null
null
QHTML_Static/qhtm/RegisterWindow.cpp
karolbe/DSS
5a834561fbe7345d0be36f41ed8620ebbdb2f222
[ "BSD-3-Clause" ]
null
null
null
QHTML_Static/qhtm/RegisterWindow.cpp
karolbe/DSS
5a834561fbe7345d0be36f41ed8620ebbdb2f222
[ "BSD-3-Clause" ]
1
2020-06-28T19:21:22.000Z
2020-06-28T19:21:22.000Z
/*---------------------------------------------------------------------- Copyright (c) 1998,1999 Gipsysoft. All Rights Reserved. Please see the file "licence.txt" for licencing details. File: RegisterWindow.cpp Owner: russf@gipsysoft.com Purpose: <Description of module>. ------------------------------------------------...
27.829268
72
0.62752
karolbe
d1417fe7e697e55653bfbb876896fe9fe23b2a01
1,547
cc
C++
onnxruntime/test/platform/path_lib_test.cc
lizy14/onnxruntime
8f00147c14c64715ffd4b1512df5356ddeb75462
[ "MIT" ]
1
2020-07-12T16:33:35.000Z
2020-07-12T16:33:35.000Z
onnxruntime/test/platform/path_lib_test.cc
Montaer/onnxruntime
6dc25a60f8b058a556964801d99d5508641dcf69
[ "MIT" ]
null
null
null
onnxruntime/test/platform/path_lib_test.cc
Montaer/onnxruntime
6dc25a60f8b058a556964801d99d5508641dcf69
[ "MIT" ]
2
2020-05-21T20:08:25.000Z
2021-04-19T10:39:13.000Z
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "core/platform/path_lib.h" #include "gtest/gtest.h" #include <string> #define PATH_EXPECT(X, Y) \ { \ ...
23.439394
70
0.532644
lizy14
d148b3affcb1684a555fe0ddc00e9d9e9b8e456e
4,039
cpp
C++
interface/MyPalette.cpp
Essir/UnnamedRoguelike
e2fc4d3b187e3fb704df58bdda26f1f12c6b0a4b
[ "MIT" ]
1
2018-03-21T23:08:55.000Z
2018-03-21T23:08:55.000Z
interface/MyPalette.cpp
Essir/UnnamedRoguelike
e2fc4d3b187e3fb704df58bdda26f1f12c6b0a4b
[ "MIT" ]
null
null
null
interface/MyPalette.cpp
Essir/UnnamedRoguelike
e2fc4d3b187e3fb704df58bdda26f1f12c6b0a4b
[ "MIT" ]
1
2017-11-28T10:36:39.000Z
2017-11-28T10:36:39.000Z
#include"MyPalette.h" #include"MyPair.h" #include"MyColor.h" #include<ncurses.h> mypalette::mypalette(){ struct vec3i{ short r,g,b; }samples[8]; samples[0].r=1000; samples[0].g=1000; samples[0].b=1000; samples[1].r=1000; samples[1].g=0; samples[1].b=0; samples[2].r=1000; samples[2].g=1000; samples[2].b=0; s...
22.192308
99
0.59594
Essir
d148c4e2406d9a927827cd247028103f8866071c
3,171
cpp
C++
src/Framework/Entities/Components/GridComponent.cpp
xcasadio/casaengine
19e34c0457265435c28667df7f2e5c137d954b98
[ "MIT" ]
null
null
null
src/Framework/Entities/Components/GridComponent.cpp
xcasadio/casaengine
19e34c0457265435c28667df7f2e5c137d954b98
[ "MIT" ]
null
null
null
src/Framework/Entities/Components/GridComponent.cpp
xcasadio/casaengine
19e34c0457265435c28667df7f2e5c137d954b98
[ "MIT" ]
null
null
null
#include "Base.h" #include "Entities/BaseEntity.h" #include "GridComponent.h" #include "Game/Line3DRendererComponent.h" #include "Game/Game.h" #include "Entities/ComponentTypeEnum.h" namespace CasaEngine { /** * */ GridComponent::GridComponent(BaseEntity* pEntity_) : Component(pEntity_, GRID), m_iSize(5...
19.218182
107
0.638915
xcasadio
d14a5ddb6df8acc6df27f080eae44c4170da420e
336
cpp
C++
src/main.cpp
martin-tornqvist/sfrl
802c218fbc468d4155681316834cba15b65b2723
[ "MIT" ]
null
null
null
src/main.cpp
martin-tornqvist/sfrl
802c218fbc468d4155681316834cba15b65b2723
[ "MIT" ]
null
null
null
src/main.cpp
martin-tornqvist/sfrl
802c218fbc468d4155681316834cba15b65b2723
[ "MIT" ]
null
null
null
#include "io.hpp" #include "game.hpp" #if defined(_WIN32) && defined(SDL_MODE) #undef main #endif int main(int argc, char* argv[]) { (void)argc; (void)argv; // Init IO io::init(); io::clear_scr(); // Run game session until done game::run_session(); // Cleanup IO io::cleanup(); ...
13.44
40
0.577381
martin-tornqvist
d14fbc900f5792746b2a941682ef452692de6f1d
3,437
cpp
C++
Graph/ACMContestAndBlackout.cpp
Guerreiro51/Competitive-Programming
54ce0b40b01bce3b53b595ef36f431389a340a64
[ "MIT" ]
1
2021-11-18T22:09:58.000Z
2021-11-18T22:09:58.000Z
Graph/ACMContestAndBlackout.cpp
Guerreiro51/Competitive-Programming
54ce0b40b01bce3b53b595ef36f431389a340a64
[ "MIT" ]
null
null
null
Graph/ACMContestAndBlackout.cpp
Guerreiro51/Competitive-Programming
54ce0b40b01bce3b53b595ef36f431389a340a64
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define MAXIMUM_NUMBER_OF_SCHOOL 100 using namespace std; using adj = pair<size_t, size_t>; // destination, weight using AdjList = vector<adj>; using Graph = vector<AdjList>; struct Edge { size_t from, to, weight; bool used = false, removed = false; }; bool cmp(const Edge& a, cons...
29.62931
108
0.553099
Guerreiro51
d150369bc3ecde06c8438bd1cb37202bf497d116
1,792
cpp
C++
codeforces/950C.cpp
Victoralin10/ACMSolutions
6d6e50da87b2bc455e953629737215b74b10269c
[ "MIT" ]
null
null
null
codeforces/950C.cpp
Victoralin10/ACMSolutions
6d6e50da87b2bc455e953629737215b74b10269c
[ "MIT" ]
null
null
null
codeforces/950C.cpp
Victoralin10/ACMSolutions
6d6e50da87b2bc455e953629737215b74b10269c
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define REP(i, n) for(int i = 0; i < n; i++) #define FOR(i, a, b) for (int i = a; i < b; i++) #define CLR(t, value) memset(t, value, sizeof(t)) #define ALL(v) v.begin(), v.end() #define SZ(v) ((int)(v).size()) #define TEST(x) cerr << "test " << #x << " " << x << endl; #define sc(x) scanf("%d",...
21.590361
58
0.376116
Victoralin10
d151005c006160fb101bafa323340d4a6c2974a6
928
inl
C++
src/ace/ACE_wrappers/ace/OS_NS_devctl.inl
wfnex/OpenBRAS
b8c2cd836ae85d5307f7f5ca87573b964342bb49
[ "BSD-3-Clause" ]
8
2017-06-05T08:56:27.000Z
2020-04-08T16:50:11.000Z
src/ace/ACE_wrappers/ace/OS_NS_devctl.inl
wfnex/OpenBRAS
b8c2cd836ae85d5307f7f5ca87573b964342bb49
[ "BSD-3-Clause" ]
null
null
null
src/ace/ACE_wrappers/ace/OS_NS_devctl.inl
wfnex/OpenBRAS
b8c2cd836ae85d5307f7f5ca87573b964342bb49
[ "BSD-3-Clause" ]
17
2017-06-05T08:54:27.000Z
2021-08-29T14:19:12.000Z
#if defined ACE_LACKS_POSIX_DEVCTL && defined ACE_EMULATE_POSIX_DEVCTL #include "ace/os_include/os_stropts.h" #endif #include "ace/os_include/os_errno.h" ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE int ACE_OS::posix_devctl (int filedes, int dcmd, void *dev_data_ptr, size_t nbyte, ...
28.121212
72
0.716595
wfnex
d15992544131b9c7502b73ce873d96cc86987a44
330
hpp
C++
Sharp/Expressions/LiteralExpression.hpp
gth747m/Sharp
5c3d88779f4ba3f596bf0250a1397d4bcf84b3a7
[ "MIT" ]
null
null
null
Sharp/Expressions/LiteralExpression.hpp
gth747m/Sharp
5c3d88779f4ba3f596bf0250a1397d4bcf84b3a7
[ "MIT" ]
null
null
null
Sharp/Expressions/LiteralExpression.hpp
gth747m/Sharp
5c3d88779f4ba3f596bf0250a1397d4bcf84b3a7
[ "MIT" ]
null
null
null
#pragma once #include <ostream> #include "Expression.hpp" #include "../Literal.hpp" #include "../Token.hpp" class LiteralExpression : public Expression { public: LiteralExpression(Literal&& literal); virtual ~LiteralExpression(); protected: virtual void Print(std::ostream& os) = 0; private: Literal l...
18.333333
45
0.709091
gth747m
d15b768d2554b9004bf29e3be4e670dd9cb3bc3f
3,524
cpp
C++
src/Morrigu/Renderer/EditorCamera.cpp
Ithyx/Morrigu
dc98809467fef2c7f74b81886563abc9e38e157f
[ "MIT" ]
6
2020-08-23T22:53:33.000Z
2021-04-03T20:53:44.000Z
src/Morrigu/Renderer/EditorCamera.cpp
Ithyx/Morrigu
dc98809467fef2c7f74b81886563abc9e38e157f
[ "MIT" ]
null
null
null
src/Morrigu/Renderer/EditorCamera.cpp
Ithyx/Morrigu
dc98809467fef2c7f74b81886563abc9e38e157f
[ "MIT" ]
2
2020-09-15T21:01:55.000Z
2021-04-05T13:19:36.000Z
#include "EditorCamera.h" #include "Core/Input.h" namespace MRG { EditorCamera::EditorCamera(float fov, float aspectRatio, float nearClip, float farClip) : Camera(glm::perspective(glm::radians(fov), aspectRatio, nearClip, farClip)), m_FOV(fov), m_nearClip(nearClip), m_farClip(farClip) { updateView(); } vo...
31.185841
136
0.688138
Ithyx
d15cf8d51170e0a3b0f8be1b8a21ed5dba74b613
1,024
cpp
C++
events/hf_learns_secret.cpp
BenLubar/weblegends
0eea0239c57ffc2540adc4d312f446cafafeb2c5
[ "Zlib" ]
16
2018-02-05T17:44:12.000Z
2022-03-03T13:37:06.000Z
events/hf_learns_secret.cpp
BenLubar/weblegends
0eea0239c57ffc2540adc4d312f446cafafeb2c5
[ "Zlib" ]
12
2017-10-25T13:25:22.000Z
2022-03-12T19:27:54.000Z
events/hf_learns_secret.cpp
BenLubar/weblegends
0eea0239c57ffc2540adc4d312f446cafafeb2c5
[ "Zlib" ]
5
2017-10-25T13:30:45.000Z
2018-08-03T12:51:40.000Z
#include "../helpers_event.h" #include "df/history_event_hf_learns_secretst.h" #include "df/interaction.h" #include "df/interaction_source.h" void do_event(std::ostream & s, const event_context & context, df::history_event_hf_learns_secretst *event) { auto student = df::historical_figure::find(event->student); ...
29.257143
117
0.62207
BenLubar
d15e9ab491e217043f258f6d5506258046f4dddd
970
hpp
C++
include/RED4ext/Types/generated/game/ui/CharacterCustomizationBrokenNoseController.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
1
2021-02-01T23:07:50.000Z
2021-02-01T23:07:50.000Z
include/RED4ext/Types/generated/game/ui/CharacterCustomizationBrokenNoseController.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
null
null
null
include/RED4ext/Types/generated/game/ui/CharacterCustomizationBrokenNoseController.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
null
null
null
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> #include <RED4ext/Common.hpp> #include <RED4ext/REDhash.hpp> #include <RED4ext/Types/generated/game/ui/CharacterCustomizationBrokenNoseControllerBrokenNoseAppearance.hpp> #include <RED4ext/Types/generated/game/ui/ICharacterCusto...
37.307692
109
0.810309
Cyberpunk-Extended-Development-Team
d160e51d9b41059d2a01620a5de84a50a9620127
6,894
cpp
C++
kernel/source/devices/pc/apic/ioapic.cpp
zhiayang/nx
0d9da881f67ec351244abd72e1f3884816b48f5b
[ "Apache-2.0" ]
16
2019-03-14T19:45:02.000Z
2022-02-06T19:18:08.000Z
kernel/source/devices/pc/apic/ioapic.cpp
zhiayang/nx
0d9da881f67ec351244abd72e1f3884816b48f5b
[ "Apache-2.0" ]
1
2020-05-08T08:40:02.000Z
2020-05-08T13:27:59.000Z
kernel/source/devices/pc/apic/ioapic.cpp
zhiayang/nx
0d9da881f67ec351244abd72e1f3884816b48f5b
[ "Apache-2.0" ]
2
2021-01-16T20:42:05.000Z
2021-12-01T23:37:18.000Z
// apic.cpp // Copyright (c) 2019, zhiayang // Licensed under the Apache License Version 2.0. #include "nx.h" #include "devices/acpi.h" #include "devices/pc/apic.h" #include "devices/pc/pic8259.h" namespace nx { namespace device { namespace ioapic { constexpr uint32_t IOAPIC_REG_ID = 0; constexpr uint3...
22.23871
115
0.645489
zhiayang
d1613321103f15cc9224ae9a99ee67edd5860fb4
747
cpp
C++
Leetcode/902_numbers_at_most.cpp
prameetu/CP_codes
41f8cfc188d2e08a8091bc5134247d05ba8a78f5
[ "MIT" ]
null
null
null
Leetcode/902_numbers_at_most.cpp
prameetu/CP_codes
41f8cfc188d2e08a8091bc5134247d05ba8a78f5
[ "MIT" ]
null
null
null
Leetcode/902_numbers_at_most.cpp
prameetu/CP_codes
41f8cfc188d2e08a8091bc5134247d05ba8a78f5
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; class Solution { public: int atMostNGivenDigitSet(vector<string> &digits, int n) { string num_str = to_string(n); int num_str_size(num_str.size()); int k(digits.size()); int ans(0); for (int i = 1; i < num_str_size; ...
20.75
59
0.433735
prameetu
d1649d374896e7a8dd87c4c3053362b5b266307a
12,476
cpp
C++
Mac_Libraries/FreeImage_3_18/Source/LibRawLite/src/metadata/ciff.cpp
aws4y/OpenNebulosity
406162ea39de7e8fb90147ee43f6ee95dd56dfde
[ "BSD-3-Clause" ]
null
null
null
Mac_Libraries/FreeImage_3_18/Source/LibRawLite/src/metadata/ciff.cpp
aws4y/OpenNebulosity
406162ea39de7e8fb90147ee43f6ee95dd56dfde
[ "BSD-3-Clause" ]
null
null
null
Mac_Libraries/FreeImage_3_18/Source/LibRawLite/src/metadata/ciff.cpp
aws4y/OpenNebulosity
406162ea39de7e8fb90147ee43f6ee95dd56dfde
[ "BSD-3-Clause" ]
null
null
null
/* -*- C++ -*- * Copyright 2019-2020 LibRaw LLC (info@libraw.org) * LibRaw uses code from dcraw.c -- Dave Coffin's raw photo decoder, dcraw.c is copyright 1997-2018 by Dave Coffin, dcoffin a cybercom o net. LibRaw do not use RESTRICTED code from dcraw.c LibRaw is free software; you can redistribute it and/or mod...
29.918465
104
0.55226
aws4y
d16640ff9fb0f9dfb4e6d05325c0b598d8cd3fa1
759
cpp
C++
LeetCode/1260.cpp
jnvshubham7/CPP_Programming
a17c4a42209556495302ca305b7c3026df064041
[ "Apache-2.0" ]
1
2021-12-22T12:37:36.000Z
2021-12-22T12:37:36.000Z
LeetCode/1260.cpp
jnvshubham7/CPP_Programming
a17c4a42209556495302ca305b7c3026df064041
[ "Apache-2.0" ]
null
null
null
LeetCode/1260.cpp
jnvshubham7/CPP_Programming
a17c4a42209556495302ca305b7c3026df064041
[ "Apache-2.0" ]
null
null
null
class Solution { public: vector<vector<int>> shiftGrid(vector<vector<int>>& grid, int k) { vector<vector<int>> ans; int n = grid.size(); if (n == 0) return ans; int m = grid[0].size(); if (m == 0) return ans; int x = n - 1; int y = m - 1; ...
19.973684
69
0.304348
jnvshubham7
d167a3d2a15f79c629224170dcd2d9e041d515d8
4,036
hxx
C++
src/mod/pub/tst/test-ffmpeg/ffmpeg/venc-ffmpeg.hxx
indigoabstract/appplex
83c3b903db6c6ea83690ccffbd533ff6ab01d246
[ "MIT" ]
1
2017-12-26T14:29:37.000Z
2017-12-26T14:29:37.000Z
src/mod/pub/tst/test-ffmpeg/ffmpeg/venc-ffmpeg.hxx
indigoabstract/appplex
83c3b903db6c6ea83690ccffbd533ff6ab01d246
[ "MIT" ]
null
null
null
src/mod/pub/tst/test-ffmpeg/ffmpeg/venc-ffmpeg.hxx
indigoabstract/appplex
83c3b903db6c6ea83690ccffbd533ff6ab01d246
[ "MIT" ]
null
null
null
#pragma once #include "appplex-conf.hxx" #ifdef MOD_FFMPEG #include "vid/video-enc.hxx" #include "pfm.hxx" mws_push_disable_all_warnings extern "C" { #define __STDC_CONSTANT_MACROS #ifdef _STDINT_H #undef _STDINT_H #endif #include <stdint.h> #include <ffmpeg/libavcodec/avcodec.h> #include <ffmpeg/libavdevice/avdevi...
28.027778
112
0.764618
indigoabstract
d168320fa4f3f286e67125e0b2f52f77009ee5e5
710
cpp
C++
Strings - Interview Problems/FirstNonRepeatingCharacter.cpp
gulatigaurav/Essential-Coding-Problems
6cba54cb4e20ddc44a49f9e7d07eb293c39aa128
[ "MIT" ]
1
2020-07-05T06:30:32.000Z
2020-07-05T06:30:32.000Z
Strings - Interview Problems/FirstNonRepeatingCharacter.cpp
gulatigaurav/Essential-Coding-Problems
6cba54cb4e20ddc44a49f9e7d07eb293c39aa128
[ "MIT" ]
null
null
null
Strings - Interview Problems/FirstNonRepeatingCharacter.cpp
gulatigaurav/Essential-Coding-Problems
6cba54cb4e20ddc44a49f9e7d07eb293c39aa128
[ "MIT" ]
null
null
null
#include <iostream> #include <string> using namespace std; void firstNonRepeatingCharacter(string s) { int arr[26] = {}; for (int i = 0; i < s.length(); i++) { arr[(s[i] - 'a')] += 1; } // for (auto i : arr) // { // cout << i << " "; // } int ans = -1; for (int i =...
17.317073
47
0.394366
gulatigaurav
d16c995cc181022e9bc12aebc0cf87db87a78bef
3,696
cpp
C++
dnn/train/main.cpp
wellflat/opencv-samples
7cec4e8d69215026072a3b315e485e2f3e2c2ba8
[ "BSD-3-Clause" ]
26
2015-06-27T08:16:46.000Z
2022-01-16T15:14:02.000Z
dnn/train/main.cpp
wellflat/opencv-samples
7cec4e8d69215026072a3b315e485e2f3e2c2ba8
[ "BSD-3-Clause" ]
1
2017-02-12T14:14:14.000Z
2017-02-12T14:14:14.000Z
dnn/train/main.cpp
wellflat/opencv-samples
7cec4e8d69215026072a3b315e485e2f3e2c2ba8
[ "BSD-3-Clause" ]
13
2015-07-14T18:24:41.000Z
2021-06-02T13:39:55.000Z
#include "fileio.hpp" #include "train_test.hpp" using namespace std; int main(int argc, char** argv) { string dataBaseDir = "../data/"; string protoFile = dataBaseDir + "bvlc_reference_caffenet/deploy.prototxt"; string modelFile = dataBaseDir + "bvlc_reference_caffenet/bvlc_reference_caffenet.caffemodel"; str...
36.96
96
0.593344
wellflat
d16f9c319ab6a2b7293c6eba5a1acd997a25a1fa
2,083
cpp
C++
modules/task_2/kirichenko_n_contrast/main.cpp
stasyurin/pp_2021_spring_informatics
dd9136c28cca4c538c5ecc82512fd78ad1fa7bd3
[ "BSD-3-Clause" ]
null
null
null
modules/task_2/kirichenko_n_contrast/main.cpp
stasyurin/pp_2021_spring_informatics
dd9136c28cca4c538c5ecc82512fd78ad1fa7bd3
[ "BSD-3-Clause" ]
null
null
null
modules/task_2/kirichenko_n_contrast/main.cpp
stasyurin/pp_2021_spring_informatics
dd9136c28cca4c538c5ecc82512fd78ad1fa7bd3
[ "BSD-3-Clause" ]
1
2021-12-02T22:38:53.000Z
2021-12-02T22:38:53.000Z
// Copyright 2021 Kirichenko Nikita #include <gtest/gtest.h> #include "./contrast.h" TEST(Image_contrast, Test1) { int l = 2; int k = 2; Result image = { 0, 3, 3, 0 }; Result count = { 0, 255, 255, 0 }; Result result = Contrastomp(image); for (int i = 0; i < l * k; i++) { ASSERT_EQ(resu...
31.089552
75
0.538166
stasyurin
d170b6bf00db7697682cae48f3a5cb0d167a46fb
2,212
cc
C++
code/render/physics/bullet/bulletuniversaljoint.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
67
2015-03-30T19:56:16.000Z
2022-03-11T13:52:17.000Z
code/render/physics/bullet/bulletuniversaljoint.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
5
2015-04-15T17:17:33.000Z
2016-02-11T00:40:17.000Z
code/render/physics/bullet/bulletuniversaljoint.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
34
2015-03-30T15:08:00.000Z
2021-09-23T05:55:10.000Z
//------------------------------------------------------------------------------ // bulletuniversaljoint.cc // (C) 2012-2016 Individual contributors, see AUTHORS file //------------------------------------------------------------------------------ #include "stdneb.h" #include "btBulletCollisionCommon.h" #include "btB...
28.727273
172
0.525769
gscept
d170e2306de66749c93f564aa8d54721f922d235
179
cpp
C++
examples/autotools/src/example2/main.cpp
Forty-Bot/libfxcg
a245671b7e6d339d475610ee526b278686e2271a
[ "BSD-3-Clause" ]
1
2021-12-06T19:44:43.000Z
2021-12-06T19:44:43.000Z
examples/autotools/src/example2/main.cpp
Forty-Bot/libfxcg
a245671b7e6d339d475610ee526b278686e2271a
[ "BSD-3-Clause" ]
null
null
null
examples/autotools/src/example2/main.cpp
Forty-Bot/libfxcg
a245671b7e6d339d475610ee526b278686e2271a
[ "BSD-3-Clause" ]
1
2021-12-06T19:44:46.000Z
2021-12-06T19:44:46.000Z
#include <fxcg/display.h> #include <fxcg/keyboard.h> int main() { int key; PrintXY(1,1," Hello World!", TEXT_MODE_NORMAL, TEXT_COLOR_RED); while(1) GetKey(&key); }
13.769231
66
0.648045
Forty-Bot
ab70c950fda6100b378955cc4b9fda5dec96eef2
3,316
cc
C++
math/angle_test.cc
ebruneton/dimensional_types
1bf62b699f91d380ae9cfe6516891a89af77186d
[ "BSD-3-Clause" ]
4
2018-03-05T13:36:25.000Z
2021-04-08T06:10:59.000Z
math/angle_test.cc
ebruneton/dimensional_types
1bf62b699f91d380ae9cfe6516891a89af77186d
[ "BSD-3-Clause" ]
1
2017-02-22T20:06:43.000Z
2017-02-27T15:18:11.000Z
math/angle_test.cc
ebruneton/dimensional_types
1bf62b699f91d380ae9cfe6516891a89af77186d
[ "BSD-3-Clause" ]
1
2019-12-31T15:27:53.000Z
2019-12-31T15:27:53.000Z
/** * Copyright (c) 2016 Eric Bruneton * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of condi...
35.276596
80
0.677925
ebruneton
ab723d205b52872e183ec45aaeb9585a5b6526ad
3,905
cc
C++
backend/action.cc
zyw199515/hive-cpp
b4b9f8d9446476f94ffb3ee0fbaec19f232c2879
[ "MIT" ]
null
null
null
backend/action.cc
zyw199515/hive-cpp
b4b9f8d9446476f94ffb3ee0fbaec19f232c2879
[ "MIT" ]
null
null
null
backend/action.cc
zyw199515/hive-cpp
b4b9f8d9446476f94ffb3ee0fbaec19f232c2879
[ "MIT" ]
null
null
null
#include "backend/action.h" #include "glog/logging.h" namespace hive { namespace { // This should be called in the end void SwitchActivePlayer(HiveState* state) { CHECK(state->active_player != Side::kUndefined); if (state->active_player == Side::kBlack) { state->active_player = Side::kWhite; } else { ...
27.5
94
0.68041
zyw199515
ab770d728e99c78621b39b4d66d85d0c7f74462e
2,592
cc
C++
table/format.cc
ruihong123/NovaLSM
8a661197ce5b993f2baeef608f34192d1ef0adf5
[ "BSD-3-Clause" ]
14
2020-09-25T00:12:46.000Z
2022-03-24T12:11:03.000Z
table/format.cc
ruihong123/NovaLSM
8a661197ce5b993f2baeef608f34192d1ef0adf5
[ "BSD-3-Clause" ]
null
null
null
table/format.cc
ruihong123/NovaLSM
8a661197ce5b993f2baeef608f34192d1ef0adf5
[ "BSD-3-Clause" ]
6
2020-12-01T23:21:47.000Z
2022-03-03T07:47:53.000Z
// Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. #include <fmt/core.h> #include "table/format.h" #include "leveldb/env.h" #include "port/port.h" #inclu...
38.117647
80
0.605324
ruihong123
ab7c8194688a5549cf2039b0d2168474e4da3200
2,876
cpp
C++
src/game/client/components/scoredif.cpp
AssassinTee/Assa-Client
0ed205d52e0a7b05eea7b0ab651f0c79c361ed74
[ "Zlib" ]
null
null
null
src/game/client/components/scoredif.cpp
AssassinTee/Assa-Client
0ed205d52e0a7b05eea7b0ab651f0c79c361ed74
[ "Zlib" ]
null
null
null
src/game/client/components/scoredif.cpp
AssassinTee/Assa-Client
0ed205d52e0a7b05eea7b0ab651f0c79c361ed74
[ "Zlib" ]
null
null
null
/* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */ /* If you are missing that file, acquire a complete release at teeworlds.com. */ #include <engine/graphics.h> #include <engine/textrender.h> #include <game/generated/protocol.h> #include <game/generated/client...
28.76
156
0.640473
AssassinTee
ab93e39e563b8464e998ec24594fdb23f0c121e9
30,559
cpp
C++
Source/PeleLM_setup.cpp
sundials-codes/PeleLM
8fe097671839b88e10128c8eb11740be625115df
[ "BSD-3-Clause-LBNL" ]
70
2018-11-21T01:49:23.000Z
2022-03-28T08:54:24.000Z
Source/PeleLM_setup.cpp
sundials-codes/PeleLM
8fe097671839b88e10128c8eb11740be625115df
[ "BSD-3-Clause-LBNL" ]
82
2018-11-29T02:21:08.000Z
2022-03-03T20:04:27.000Z
Source/PeleLM_setup.cpp
sundials-codes/PeleLM
8fe097671839b88e10128c8eb11740be625115df
[ "BSD-3-Clause-LBNL" ]
40
2018-11-05T11:54:03.000Z
2022-03-19T13:33:40.000Z
// // Note: define TEMPERATURE if you want variables T and rho*h, h = c_p*T,in the // State_Type part of the state // whose component indices are Temp and RhoH // whose evoution equations are // \pd (rho h)/\pd t + diver (\rho U h) = div k grad T // rho DT/dt = div k/c_p grad T // ...
29.989205
120
0.669165
sundials-codes
ab957a225b7db8f4b04084292606a855f30f1648
1,478
hpp
C++
tests/generator_classaccess.hpp
Je06jm/Matrin-Language
2aa440873f926c7fcd70e331b3619bbef5bdf5d9
[ "MIT" ]
null
null
null
tests/generator_classaccess.hpp
Je06jm/Matrin-Language
2aa440873f926c7fcd70e331b3619bbef5bdf5d9
[ "MIT" ]
null
null
null
tests/generator_classaccess.hpp
Je06jm/Matrin-Language
2aa440873f926c7fcd70e331b3619bbef5bdf5d9
[ "MIT" ]
null
null
null
#ifndef MARTIN_TEST_GENERATOR_CLASSACCESS #define MARTIN_TEST_GENERATOR_CLASSACCESS #include "testing.hpp" #include <generators/classaccess.hpp> #include "helpers/validatetree.hpp" #include "helpers/tokennode.hpp" #include "helpers/parseerror.hpp" #include "helpers/subtests.hpp" namespace Martin { class Test_ge...
41.055556
120
0.695535
Je06jm
ab9fb37676988f3f652e27b2c7ea8f485e623324
2,643
cpp
C++
kernel/types/dmzTypesMatrix.cpp
dmzgroup/dmz
fc2d9ddcb04ed71f4106b8d33539529807b3dea6
[ "MIT" ]
2
2015-11-05T03:03:43.000Z
2017-05-15T12:55:39.000Z
kernel/types/dmzTypesMatrix.cpp
dmzgroup/dmz
fc2d9ddcb04ed71f4106b8d33539529807b3dea6
[ "MIT" ]
null
null
null
kernel/types/dmzTypesMatrix.cpp
dmzgroup/dmz
fc2d9ddcb04ed71f4106b8d33539529807b3dea6
[ "MIT" ]
null
null
null
#include <dmzTypesMatrix.h> #include <dmzTypesMath.h> namespace { static const dmz::Vector Forward (0.0, 0.0, -1.0); static const dmz::Vector Right (1.0, 0.0, 0.0); static const dmz::Vector Up (0.0, 1.0, 0.0); }; /*! \class dmz::Matrix \brief 3x3 Matrix. \ingroup Types \details This is a row-major 3x3 Matrix. Each...
22.025
90
0.66364
dmzgroup
aba4573df616ca7dc8e18fc4c5e20e63e23c9691
3,848
hpp
C++
src/struc/cell.hpp
markdellostritto/AtomNN
763aa2ca12916638fcca14d5bddafe1112d603cd
[ "MIT" ]
null
null
null
src/struc/cell.hpp
markdellostritto/AtomNN
763aa2ca12916638fcca14d5bddafe1112d603cd
[ "MIT" ]
null
null
null
src/struc/cell.hpp
markdellostritto/AtomNN
763aa2ca12916638fcca14d5bddafe1112d603cd
[ "MIT" ]
null
null
null
#pragma once #ifndef CELL_HPP #define CELL_HPP // c++ libraries #include <iosfwd> // eigen libraries #include <Eigen/Dense> // ann - serialization #include "src/mem/serialize.hpp" //**************************************************************** //Cell class //*******************************************...
41.376344
163
0.614865
markdellostritto
abac3140c889113ab1aa24dd4a5e18f9c4760523
582
hpp
C++
src/doubleclickablelabel.hpp
minijackson/slideo
95aa16b8e45494e6364de57c7a4b18ea99097013
[ "MIT" ]
null
null
null
src/doubleclickablelabel.hpp
minijackson/slideo
95aa16b8e45494e6364de57c7a4b18ea99097013
[ "MIT" ]
null
null
null
src/doubleclickablelabel.hpp
minijackson/slideo
95aa16b8e45494e6364de57c7a4b18ea99097013
[ "MIT" ]
null
null
null
#pragma once #include <QLabel> /*! \brief A QLabel that you can double-click. */ class DoubleClickableLabel : public QLabel { Q_OBJECT public: /*! \brief DoubleClickableLabel constructor. * * \param text the text of the label. */ explicit DoubleClickableLabel(QString const& text); signals: /*! \brief Si...
20.785714
77
0.733677
minijackson
abacef0fb06f4cf13baba8e6d06a5da21d79455c
3,750
cpp
C++
Libs/DICOM/Widgets/Testing/Cpp/ctkDICOMBrowserTest1.cpp
kraehlit/CTK
6557c5779d20b78f501f1fd6ce1063d0f219cca6
[ "Apache-2.0" ]
515
2015-01-13T05:42:10.000Z
2022-03-29T03:10:01.000Z
Libs/DICOM/Widgets/Testing/Cpp/ctkDICOMBrowserTest1.cpp
kraehlit/CTK
6557c5779d20b78f501f1fd6ce1063d0f219cca6
[ "Apache-2.0" ]
425
2015-01-06T05:28:38.000Z
2022-03-08T19:42:18.000Z
Libs/DICOM/Widgets/Testing/Cpp/ctkDICOMBrowserTest1.cpp
kraehlit/CTK
6557c5779d20b78f501f1fd6ce1063d0f219cca6
[ "Apache-2.0" ]
341
2015-01-08T06:18:17.000Z
2022-03-29T21:47:49.000Z
/*========================================================================= Library: CTK Copyright (c) Kitware Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.ap...
29.761905
99
0.669333
kraehlit
abb131d8eadaaf34ba16b2c1eebbadabe64d5985
89
hpp
C++
include/Euclid/Mat3.hpp
Sor1yzz/Eucild
915266dab12694d7bb798eb6cc5626c32cbc9254
[ "MIT" ]
null
null
null
include/Euclid/Mat3.hpp
Sor1yzz/Eucild
915266dab12694d7bb798eb6cc5626c32cbc9254
[ "MIT" ]
null
null
null
include/Euclid/Mat3.hpp
Sor1yzz/Eucild
915266dab12694d7bb798eb6cc5626c32cbc9254
[ "MIT" ]
null
null
null
#pragma once #include "Vec3.hpp" namespace euclid { struct Mat3 { Vec3 m[3]; }; }
8.090909
19
0.617978
Sor1yzz
abb20130ef828db56d688ff465acf08163372e38
22,434
cpp
C++
Blizzlike/Trinity/Scripts/Other/boss_emerald_dragons.cpp
499453466/Lua-Other
43fd2b72405faf3f2074fd2a2706ef115d16faa6
[ "Unlicense" ]
2
2015-06-23T16:26:32.000Z
2019-06-27T07:45:59.000Z
Blizzlike/Trinity/Scripts/Other/boss_emerald_dragons.cpp
Eduardo-Silla/Lua-Other
db610f946dbcaf81b3de9801f758e11a7bf2753f
[ "Unlicense" ]
null
null
null
Blizzlike/Trinity/Scripts/Other/boss_emerald_dragons.cpp
Eduardo-Silla/Lua-Other
db610f946dbcaf81b3de9801f758e11a7bf2753f
[ "Unlicense" ]
3
2015-01-10T18:22:59.000Z
2021-04-27T21:28:28.000Z
/* * Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/> * Copyright (C) 2006-2009 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Founda...
30.153226
163
0.536373
499453466
abb42e834b7ea77050573b811a010414d3f87646
375
cpp
C++
core/simulate/src/duneconverter_bench.cpp
lkeegan/spatial-model-editor
5dcb06550607b0a734acddd8b719035b68e35307
[ "MIT" ]
4
2019-07-18T15:05:09.000Z
2020-03-14T09:50:07.000Z
core/simulate/src/duneconverter_bench.cpp
lkeegan/spatial-model-editor
5dcb06550607b0a734acddd8b719035b68e35307
[ "MIT" ]
328
2019-06-30T12:03:01.000Z
2020-10-05T15:56:35.000Z
core/simulate/src/duneconverter_bench.cpp
lkeegan/spatial-model-editor
5dcb06550607b0a734acddd8b719035b68e35307
[ "MIT" ]
1
2019-06-08T22:47:14.000Z
2019-06-08T22:47:14.000Z
#include "bench.hpp" #include "sme/duneconverter.hpp" using namespace sme; template <typename T> static void simulate_DuneConverter(benchmark::State &state) { T data; std::unique_ptr<simulate::DuneConverter> duneConverter; for (auto _ : state) { duneConverter = std::make_unique<simulate::DuneConverter>(data...
23.4375
74
0.754667
lkeegan
abba321e6a5563f20f262259b5512525bbccbd77
6,347
cpp
C++
src/utilities.cpp
fstrati/lotto_lib
2ef6d86963fd3808d4af5927c623e1287a48383c
[ "Apache-2.0" ]
null
null
null
src/utilities.cpp
fstrati/lotto_lib
2ef6d86963fd3808d4af5927c623e1287a48383c
[ "Apache-2.0" ]
null
null
null
src/utilities.cpp
fstrati/lotto_lib
2ef6d86963fd3808d4af5927c623e1287a48383c
[ "Apache-2.0" ]
null
null
null
/* * utilities.cpp * * Created on: Jan 18, 2020 * Author: fstrati */ #include <algorithm> #include <string> #include <stdio.h> #include <iostream> #include <fstream> #include <string> #include <vector> #include <errno.h> #include <cstdlib> #include "basic_types.h" #include "utilities.h" namespace lotto_ba...
16.316195
76
0.590988
fstrati
abbc2bd8a77c9085795184fbde50f786f8f71008
663
cpp
C++
Geometria/Physics/Colliders/BoxCollider.cpp
HastagGuigui/GeometriaEngine
e9e45227091182acfb523d3833c4cf47d3f00355
[ "MIT", "BSD-3-Clause" ]
null
null
null
Geometria/Physics/Colliders/BoxCollider.cpp
HastagGuigui/GeometriaEngine
e9e45227091182acfb523d3833c4cf47d3f00355
[ "MIT", "BSD-3-Clause" ]
null
null
null
Geometria/Physics/Colliders/BoxCollider.cpp
HastagGuigui/GeometriaEngine
e9e45227091182acfb523d3833c4cf47d3f00355
[ "MIT", "BSD-3-Clause" ]
null
null
null
#include "BoxCollider.h" #include "../Rigidbody/Rigidbody.h" #include "../../Editor/Editor.h" VisualAccess(BoxCollider); void BoxCollider::OnStart() { RequireStaticScript(PhysicsManager); if (GetScript<Rigidbody>() == nullptr) { if(boxStatic == nullptr) boxStatic = PhysicsManager::CreateStaticBox(GetTransfor...
18.942857
96
0.705882
HastagGuigui
abc929fe60886797a0a39ea978ad3894b114791f
9,352
hpp
C++
include/GlobalNamespace/ovrAvatarPBSMaterialState.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
include/GlobalNamespace/ovrAvatarPBSMaterialState.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
include/GlobalNamespace/ovrAvatarPBSMaterialState.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: System.ValueType #include "System/V...
49.481481
1,037
0.738772
RedBrumbler
abcf856bae7a5823261e098cd2cb30c71fdedeb4
5,060
cpp
C++
GLES3Renderer/GLES3Renderer/GfxTexture2DArray.cpp
LiangYue1981816/CrossEngine-GLES3Renderer
8d092307c22164895c4f92395ef291c87f2811e6
[ "Apache-2.0" ]
null
null
null
GLES3Renderer/GLES3Renderer/GfxTexture2DArray.cpp
LiangYue1981816/CrossEngine-GLES3Renderer
8d092307c22164895c4f92395ef291c87f2811e6
[ "Apache-2.0" ]
null
null
null
GLES3Renderer/GLES3Renderer/GfxTexture2DArray.cpp
LiangYue1981816/CrossEngine-GLES3Renderer
8d092307c22164895c4f92395ef291c87f2811e6
[ "Apache-2.0" ]
1
2020-09-17T12:24:42.000Z
2020-09-17T12:24:42.000Z
#include "stdio.h" #include "stdlib.h" #include "GfxRenderer.h" CGfxTexture2DArray::CGfxTexture2DArray(GLuint name) : CGfxTextureBase(name) { } CGfxTexture2DArray::~CGfxTexture2DArray(void) { } bool CGfxTexture2DArray::Load(const char *szFileName) { try { Free(); char szFullPath[260]; CGfxRenderer::GetIn...
23.534884
194
0.704941
LiangYue1981816
abd1a724e0cfd3cdbcfb3d419e3de968de0f4cfb
6,153
cpp
C++
src/jitcat/CatArgumentList.cpp
mvhooren/JitCat
8e05b51c5feda8fa9258ba443854b23c4ad8bf7c
[ "MIT" ]
14
2019-03-16T07:00:44.000Z
2021-10-20T23:36:51.000Z
src/jitcat/CatArgumentList.cpp
mvhooren/JitCat
8e05b51c5feda8fa9258ba443854b23c4ad8bf7c
[ "MIT" ]
13
2019-11-22T12:43:55.000Z
2020-05-25T13:09:08.000Z
src/jitcat/CatArgumentList.cpp
mvhooren/JitCat
8e05b51c5feda8fa9258ba443854b23c4ad8bf7c
[ "MIT" ]
1
2019-11-23T17:59:58.000Z
2019-11-23T17:59:58.000Z
/* This file is part of the JitCat library. Copyright (C) Machiel van Hooren 2018 Distributed under the MIT License (license terms are at http://opensource.org/licenses/MIT). */ #include "jitcat/CatArgumentList.h" #include "jitcat/ASTHelper.h" #include "jitcat/CatLog.h" #include "jitcat/CatRuntimeContext.h" #i...
25.53112
229
0.741752
mvhooren
abd89eff2e1516c949595eb4e8ecd308d4c5e2f6
3,537
cpp
C++
12/passage_pathing.cpp
ComicSansMS/AdventOfCode2021
60902d14c356c3375266703e85aca991241afc84
[ "Unlicense" ]
null
null
null
12/passage_pathing.cpp
ComicSansMS/AdventOfCode2021
60902d14c356c3375266703e85aca991241afc84
[ "Unlicense" ]
null
null
null
12/passage_pathing.cpp
ComicSansMS/AdventOfCode2021
60902d14c356c3375266703e85aca991241afc84
[ "Unlicense" ]
null
null
null
#include <passage_pathing.hpp> #include <range/v3/algorithm/find.hpp> #include <range/v3/algorithm/find_if.hpp> #include <range/v3/range/conversion.hpp> #include <range/v3/range/primitives.hpp> #include <range/v3/view/cartesian_product.hpp> #include <range/v3/view/iota.hpp> #include <range/v3/view/split.hpp> #include ...
36.463918
131
0.625389
ComicSansMS
abda041d4b262de77e9cb5a52366f6a54e998958
4,355
cpp
C++
engine/source/system/graphics/texture/array/graphics_texture_array.cpp
skarab/coffee-master
6c3ff71b7f15735e41c9859b6db981b94414c783
[ "MIT" ]
null
null
null
engine/source/system/graphics/texture/array/graphics_texture_array.cpp
skarab/coffee-master
6c3ff71b7f15735e41c9859b6db981b94414c783
[ "MIT" ]
null
null
null
engine/source/system/graphics/texture/array/graphics_texture_array.cpp
skarab/coffee-master
6c3ff71b7f15735e41c9859b6db981b94414c783
[ "MIT" ]
null
null
null
#include "system/graphics/texture/array/graphics_texture_array.h" namespace coffee { //-META---------------------------------------------------------------------------------------// COFFEE_BeginResource(graphics, TextureArray, "Texture Array", "texture", 0); COFFEE_Ancestor(graphics::Texture); ...
35.406504
162
0.492308
skarab
abdb79755d3955eb8786d544f596a15a8a7526d7
147
cpp
C++
ds/dictionaries/dictionary.cpp
theGandiva/StudioCode
aa0e20d6db455bf7577195871ca77d9774cc00d0
[ "Apache-2.0" ]
null
null
null
ds/dictionaries/dictionary.cpp
theGandiva/StudioCode
aa0e20d6db455bf7577195871ca77d9774cc00d0
[ "Apache-2.0" ]
null
null
null
ds/dictionaries/dictionary.cpp
theGandiva/StudioCode
aa0e20d6db455bf7577195871ca77d9774cc00d0
[ "Apache-2.0" ]
null
null
null
#include <iostream> using namespace std; struct dictionary { int key; string value; }; int main() { dictionary maps; return 0; }
9.8
20
0.632653
theGandiva
abddc89b3cabe29155f2d496dd0f3dcdfd58a3ed
3,514
cpp
C++
scratch/accelerated_pi_cam/video_system.cpp
2535Rover/RoverSystem
300dd4d754bac2e4caff25ed1da244c109d289be
[ "Apache-2.0" ]
1
2018-10-16T02:32:49.000Z
2018-10-16T02:32:49.000Z
scratch/accelerated_pi_cam/video_system.cpp
2535Rover/RoverSystem
300dd4d754bac2e4caff25ed1da244c109d289be
[ "Apache-2.0" ]
13
2018-10-23T20:35:10.000Z
2018-11-23T22:44:32.000Z
scratch/accelerated_pi_cam/video_system.cpp
2535Rover/RoverSystem
300dd4d754bac2e4caff25ed1da244c109d289be
[ "Apache-2.0" ]
1
2018-10-16T03:11:39.000Z
2018-10-16T03:11:39.000Z
#include "video_system.hpp" #include <bcm_host.h> #include <IL/OMX_Broadcom.h> #include <iostream> #include "component_event.hpp" #include "video_system_exception.hpp" VideoSystem::VideoSystem() { camera.name = (char*) "OMX.broadcom.camera"; encoder.name = (char*) "OMX.broadcom.video_encode"; null_sink.name = (ch...
31.097345
143
0.799943
2535Rover
abde7eceab8b105d63a87d652a81adb1b83f7bd8
4,075
cpp
C++
src/components/src/ui/CheckBox.cpp
walter-strazak/chimarrao
b4c9f9d726eb5e46d61b33e10b7579cc5512cd09
[ "MIT" ]
6
2021-04-20T10:32:29.000Z
2021-06-05T11:48:56.000Z
src/components/src/ui/CheckBox.cpp
walter-strazak/chimarrao
b4c9f9d726eb5e46d61b33e10b7579cc5512cd09
[ "MIT" ]
1
2021-05-18T21:00:12.000Z
2021-06-02T07:59:03.000Z
src/components/src/ui/CheckBox.cpp
walter-strazak/chimarrao
b4c9f9d726eb5e46d61b33e10b7579cc5512cd09
[ "MIT" ]
3
2020-09-12T08:54:04.000Z
2021-04-17T11:16:36.000Z
#include "CheckBox.h" #include "BoxColliderComponent.h" #include "ClickableComponent.h" #include "GraphicsComponent.h" #include "MouseOverComponent.h" #include "TextComponent.h" #include "exceptions/UIComponentConfigNotFound.h" namespace components::ui { CheckBox::CheckBox(const std::shared_ptr<core::SharedContext>&...
31.835938
109
0.705521
walter-strazak
abe32c5d312b1a0bf4c84908fd34ec2310c6a971
4,292
cpp
C++
src/prod/src/data/txnreplicator/statemanager/TestStateManagerChangeHandler.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
2,542
2018-03-14T21:56:12.000Z
2019-05-06T01:18:20.000Z
src/prod/src/data/txnreplicator/statemanager/TestStateManagerChangeHandler.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
994
2019-05-07T02:39:30.000Z
2022-03-31T13:23:04.000Z
src/prod/src/data/txnreplicator/statemanager/TestStateManagerChangeHandler.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...
33.271318
124
0.706664
vishnuk007
abe4a2308ebd648743afc2da520112164d18cc1e
217
cpp
C++
src/test/unit/unit_string.cpp
johnzupin/robin-hood-hashing
f7aa87e65e6e3bac0dd92df14f192ca882b54d74
[ "MIT" ]
1,142
2016-10-01T07:09:37.000Z
2022-03-29T18:33:22.000Z
src/test/unit/unit_string.cpp
johnzupin/robin-hood-hashing
f7aa87e65e6e3bac0dd92df14f192ca882b54d74
[ "MIT" ]
135
2019-01-10T07:17:32.000Z
2022-03-31T19:05:54.000Z
src/test/unit/unit_string.cpp
johnzupin/robin-hood-hashing
f7aa87e65e6e3bac0dd92df14f192ca882b54d74
[ "MIT" ]
128
2017-04-28T07:28:36.000Z
2022-03-25T08:15:19.000Z
#include <robin_hood.h> #include <app/doctest.h> #include <string> TEST_CASE("string_simple") { robin_hood::unordered_flat_map<uint64_t, std::string> map; map[1] = "bug?"; REQUIRE(map[1] == "bug?"); }
16.692308
62
0.645161
johnzupin
abed41df5093de64af52acba6c36210547da9e27
10,602
cpp
C++
src/wiztk/gui/title-bar.cpp
wiztk/framework
179baf8a24406b19d3f4ea28e8405358b21f8446
[ "Apache-2.0" ]
37
2017-11-22T14:15:33.000Z
2021-11-25T20:39:39.000Z
src/wiztk/gui/title-bar.cpp
wiztk/framework
179baf8a24406b19d3f4ea28e8405358b21f8446
[ "Apache-2.0" ]
3
2018-03-01T12:44:22.000Z
2021-01-04T23:14:41.000Z
src/wiztk/gui/title-bar.cpp
wiztk/framework
179baf8a24406b19d3f4ea28e8405358b21f8446
[ "Apache-2.0" ]
10
2017-11-25T19:09:11.000Z
2020-12-02T02:05:47.000Z
/* * Copyright 2017 - 2018 The WizTK Authors. * * 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 ...
26.307692
96
0.6794
wiztk
743857b5a4f11afd9c5cd2151b0c14c546e42e65
951
hpp
C++
modules/world/collision/collision_checker_driving_corridor.hpp
grzPat/bark
807092815c81eeb23defff473449a535a9c42f8b
[ "MIT" ]
null
null
null
modules/world/collision/collision_checker_driving_corridor.hpp
grzPat/bark
807092815c81eeb23defff473449a535a9c42f8b
[ "MIT" ]
null
null
null
modules/world/collision/collision_checker_driving_corridor.hpp
grzPat/bark
807092815c81eeb23defff473449a535a9c42f8b
[ "MIT" ]
null
null
null
// Copyright (c) 2019 fortiss GmbH, Julian Bernhard, Klemens Esterle, Patrick Hart, Tobias Kessler // // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #ifndef MODULES_WORLD_COLLISION_COLLISION_CHECK_DRIVING_CORRIDOR_HPP_ #define MODULES_WORLD_COLLIS...
27.171429
103
0.803365
grzPat
7439c7d7226f3d16c37c8ad70269a5c661e98818
886
cpp
C++
Uebungsaufgaben/Beispielklausuren/labor2/02-baeume.cpp
TEL21D/Informatik2
d0a6b6b5a0fe5dd404dadfd50d25543d5c6d5075
[ "MIT" ]
null
null
null
Uebungsaufgaben/Beispielklausuren/labor2/02-baeume.cpp
TEL21D/Informatik2
d0a6b6b5a0fe5dd404dadfd50d25543d5c6d5075
[ "MIT" ]
null
null
null
Uebungsaufgaben/Beispielklausuren/labor2/02-baeume.cpp
TEL21D/Informatik2
d0a6b6b5a0fe5dd404dadfd50d25543d5c6d5075
[ "MIT" ]
null
null
null
/*** INCLUDES: ***/ #include "baum.hpp" #include <iostream> using namespace std; /*** AUFGABE: Bäume, 4 Punkte ***/ /*** AUFGABENSTELLUNG: * In der Headerdatei "baum.hpp" ist ein binärer Suchbaum definiert. * Schreiben Sie für diesen Baum die Funktion `enthaelt(int x)`, die `true` * liefert, falls `x` ein Element ...
25.314286
75
0.604966
TEL21D
743b6ed46e36544fb584c68842fbaf133ec3f594
2,915
cpp
C++
Source Code/ArbitraryOrder/ArbitraryTimeOrder.cpp
DavidGeUSA/TSS
e364e324948c68efc6362a0db3aa51696227fa60
[ "MIT" ]
11
2020-09-27T07:35:22.000Z
2022-03-09T11:01:31.000Z
Source Code/ArbitraryOrder/ArbitraryTimeOrder.cpp
DavidGeUSA/TSS
e364e324948c68efc6362a0db3aa51696227fa60
[ "MIT" ]
1
2020-10-28T13:14:58.000Z
2020-10-28T21:04:44.000Z
Source Code/ArbitraryOrder/ArbitraryTimeOrder.cpp
DavidGeUSA/TSS
e364e324948c68efc6362a0db3aa51696227fa60
[ "MIT" ]
7
2020-09-27T07:35:24.000Z
2022-01-02T13:53:21.000Z
/******************************************************************* Author: David Ge (dge893@gmail.com, aka Wei Ge) Last modified: 03/31/2018 Allrights reserved by David Ge ********************************************************************/ #include "ArbitraryTimeOrder.h" #include "..\MathTools\MathTools.h"...
23.134921
170
0.558491
DavidGeUSA
743eb7ca875a93013dda2025ffd59601c04f9226
1,622
cpp
C++
2021/roundA/C_Rabbit_House.cpp
mingweihe/kickstart
1dc0d1882677ad6c2aa824580d2290155d4b5c8d
[ "MIT" ]
null
null
null
2021/roundA/C_Rabbit_House.cpp
mingweihe/kickstart
1dc0d1882677ad6c2aa824580d2290155d4b5c8d
[ "MIT" ]
null
null
null
2021/roundA/C_Rabbit_House.cpp
mingweihe/kickstart
1dc0d1882677ad6c2aa824580d2290155d4b5c8d
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define ll long long int m, n, a[305][305]; int dirs[] = {-1, 0, 1, 0, -1}; bool valid(int i, int j){ int ni, nj; for(int k = 0; k < 4; ++k){ ni = i+dirs[k]; nj = j+dirs[k+1]; if(ni < 1 || ni > m) continue; if(nj < 1 || nj > n) con...
23.171429
65
0.390875
mingweihe
743edcad4066bd53e00b844f2dfad1aa2bc5b308
4,476
cpp
C++
example/pass_tests.cpp
atilaneves/unit-thread
9bd130fe518da4b4d3e357f067875952ddbbcdd7
[ "BSD-3-Clause" ]
1
2020-05-20T13:22:50.000Z
2020-05-20T13:22:50.000Z
example/pass_tests.cpp
atilaneves/unit-thread
9bd130fe518da4b4d3e357f067875952ddbbcdd7
[ "BSD-3-Clause" ]
null
null
null
example/pass_tests.cpp
atilaneves/unit-thread
9bd130fe518da4b4d3e357f067875952ddbbcdd7
[ "BSD-3-Clause" ]
null
null
null
#include "unit_thread.hpp" #include <string> #include <list> #include <thread> #include <cassert> struct Boolean: public TestCase { virtual void test() override { checkTrue(true); checkFalse(false); checkTrue(2 > 1); checkTrue(1 >= 1); checkTrue(2 < 3); checkFalse(2...
25.431818
103
0.599196
atilaneves
7440d5d41e50adf989bef0f5e03986789b20abd1
5,213
cpp
C++
dict/choices.cpp
jan-ruzicka/tesseract-ocr-sf
816c4e959e6f4d4afc5797ad09cfd9c2192b899f
[ "Apache-2.0" ]
null
null
null
dict/choices.cpp
jan-ruzicka/tesseract-ocr-sf
816c4e959e6f4d4afc5797ad09cfd9c2192b899f
[ "Apache-2.0" ]
null
null
null
dict/choices.cpp
jan-ruzicka/tesseract-ocr-sf
816c4e959e6f4d4afc5797ad09cfd9c2192b899f
[ "Apache-2.0" ]
null
null
null
/* -*-C-*- ******************************************************************************** * * File: choices.c (Formerly choices.c) * Description: Handle the new ratings choices for Wise Owl * Author: Mark Seaman, OCR Technology * Created: Fri Sep 22 14:05:51 1989 * Modified: Wed May 22 ...
32.179012
83
0.488203
jan-ruzicka
74437b35e70f51f17d177ce26d4a78358f495ef6
5,984
cpp
C++
test/JumphostTest.cpp
coderkd10/EternalTerminal
d15bb726d987bd147480125d694de44a2ea6ce83
[ "Apache-2.0" ]
1
2020-09-18T10:32:23.000Z
2020-09-18T10:32:23.000Z
test/JumphostTest.cpp
coderkd10/EternalTerminal
d15bb726d987bd147480125d694de44a2ea6ce83
[ "Apache-2.0" ]
null
null
null
test/JumphostTest.cpp
coderkd10/EternalTerminal
d15bb726d987bd147480125d694de44a2ea6ce83
[ "Apache-2.0" ]
null
null
null
#include "TestHeaders.hpp" #include "FakeConsole.hpp" #include "TerminalClient.hpp" #include "TerminalServer.hpp" #include "UserJumphostHandler.hpp" namespace et { const string CRYPTO_KEY = "12345678901234567890123456789012"; void readWriteTest(const string& clientId, shared_ptr<PipeSocketHandler...
35.2
79
0.715909
coderkd10
7447f80635908f29ec3442fb2009a8dbba8bb503
3,005
hpp
C++
mdk/include/mdk/files/param/Parameters.hpp
if-pan-zpp/mdk
a66575ae2160b3d8408fe4dceb971706f650bd05
[ "MIT" ]
null
null
null
mdk/include/mdk/files/param/Parameters.hpp
if-pan-zpp/mdk
a66575ae2160b3d8408fe4dceb971706f650bd05
[ "MIT" ]
null
null
null
mdk/include/mdk/files/param/Parameters.hpp
if-pan-zpp/mdk
a66575ae2160b3d8408fe4dceb971706f650bd05
[ "MIT" ]
1
2021-06-19T09:24:34.000Z
2021-06-19T09:24:34.000Z
#pragma once #include <vector> #include <unordered_map> #include <optional> #include "../../utils/AminoAcid.hpp" #include "../../utils/TupleHash.hpp" #include "../../utils/PairType.hpp" namespace mdk::param { /** * Polarization values, as derived from CPC14.pdf and from reading * cg.f. */ enum c...
30.663265
80
0.583361
if-pan-zpp
744f5fdde990554e640358a1ecbd4ef1ee6de88c
1,348
hpp
C++
src/color/rgb/trait/component/uint.hpp
3l0w/color
e42d0933b6b88564807bcd5f49e9c7f66e24990a
[ "Apache-2.0" ]
null
null
null
src/color/rgb/trait/component/uint.hpp
3l0w/color
e42d0933b6b88564807bcd5f49e9c7f66e24990a
[ "Apache-2.0" ]
null
null
null
src/color/rgb/trait/component/uint.hpp
3l0w/color
e42d0933b6b88564807bcd5f49e9c7f66e24990a
[ "Apache-2.0" ]
1
2022-03-03T07:55:24.000Z
2022-03-03T07:55:24.000Z
#ifndef color_rgb_trait_component_uint #define color_rgb_trait_component_uint #include "../../category.hpp" #include "../../../_internal/utility/component/array.hpp" #include "../../../generic/trait/component.hpp" #include "../index/index.hpp" namespace color { namespace trait { ...
28.083333
158
0.622404
3l0w
7454299526a537e4750b408b2155d8c568329660
1,571
cpp
C++
Wind_API/Wind_pms.cpp
WindQuant/q_Wind
481e306a3db6a9db639142c081aa7ad20bcd3814
[ "Apache-2.0" ]
null
null
null
Wind_API/Wind_pms.cpp
WindQuant/q_Wind
481e306a3db6a9db639142c081aa7ad20bcd3814
[ "Apache-2.0" ]
null
null
null
Wind_API/Wind_pms.cpp
WindQuant/q_Wind
481e306a3db6a9db639142c081aa7ad20bcd3814
[ "Apache-2.0" ]
2
2019-11-20T10:10:47.000Z
2020-04-18T06:10:22.000Z
#include "stdafx.h" #include "Wind_API.h" #include "util.h" #include "Wind_strike.h" #include "win32.util/StringUtil.h" #include "kdb+.util/util.h" #include "kdb+.util/type_convert.h" WIND_API K K_DECL Wind_wpf(K portfolioName, K viewName, K params) { std::wstring portf, view, paras; try { portf = q::q2WString(p...
32.729167
115
0.682368
WindQuant
74545cf94f549c00e9706fef94dd2cd043881dcd
24,127
hpp
C++
include/Microsoft/Win32/KeyHandler.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
include/Microsoft/Win32/KeyHandler.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
include/Microsoft/Win32/KeyHandler.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" #include "beatsaber-hook/shared/utils/il2cpp-utils-met...
54.585973
235
0.732084
RedBrumbler
7455b97f70e443ba70fb791a23b2fae060dbe664
7,559
cpp
C++
src/test/test_ext_hash.cpp
ududsha/hiphop-php
806ee0691c4db9d486216c014517282cadc4f094
[ "PHP-3.01", "Zend-2.0" ]
1
2016-07-21T07:37:10.000Z
2016-07-21T07:37:10.000Z
src/test/test_ext_hash.cpp
ududsha/hiphop-php
806ee0691c4db9d486216c014517282cadc4f094
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
src/test/test_ext_hash.cpp
ududsha/hiphop-php
806ee0691c4db9d486216c014517282cadc4f094
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010- Facebook, Inc. (http://www.facebook.com) | +---------...
39.784211
135
0.66993
ududsha
745655e70dcde480901a2ebeaa3cbd47b041a88d
5,003
cpp
C++
sources/Engine/Modules/Graphics/GUI/GUIConsole.cpp
n-paukov/swengine
ca7441f238e8834efff5d2b61b079627824bf3e4
[ "MIT" ]
22
2017-07-26T17:42:56.000Z
2022-03-21T22:12:52.000Z
sources/Engine/Modules/Graphics/GUI/GUIConsole.cpp
n-paukov/swengine
ca7441f238e8834efff5d2b61b079627824bf3e4
[ "MIT" ]
50
2017-08-02T19:37:48.000Z
2020-07-24T21:10:38.000Z
sources/Engine/Modules/Graphics/GUI/GUIConsole.cpp
n-paukov/swengine
ca7441f238e8834efff5d2b61b079627824bf3e4
[ "MIT" ]
4
2018-08-20T08:12:48.000Z
2020-07-19T14:10:05.000Z
#include "precompiled.h" #pragma hdrstop #include "GUIConsole.h" #include <utility> GUIConsole::GUIConsole(std::shared_ptr<GUIConsoleCommandsExecutor> commandsExecutor, int historySize, ResourceHandle<BitmapFont> font) : GUILayout("console"), m_commandsExecutor(std::move(commandsExecutor)), m_historySiz...
27.043243
117
0.717769
n-paukov
7458b9b0821d61d555dd2500454911f3cd92ca16
1,694
cpp
C++
Game/SceneInGame/BombBehaviour.cpp
mipelius/spacegame
7cbc62d6b47afdea11a7775d25f9e91c900cc627
[ "MIT" ]
null
null
null
Game/SceneInGame/BombBehaviour.cpp
mipelius/spacegame
7cbc62d6b47afdea11a7775d25f9e91c900cc627
[ "MIT" ]
null
null
null
Game/SceneInGame/BombBehaviour.cpp
mipelius/spacegame
7cbc62d6b47afdea11a7775d25f9e91c900cc627
[ "MIT" ]
null
null
null
// MIT License // // This file is part of SpaceGame. // Copyright (c) 2014-2018 Miika Pelkonen // // 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 lim...
33.88
81
0.748524
mipelius
745c07005708f763c8a02326968abc99b9c0d589
15,665
cpp
C++
Retired_Proj/1_LSQ/lsq_MSimlr.cpp
billkarsh/Alignment_Projects
f2ce48477da866b09a13fd33f1a53a8af644b35b
[ "BSD-3-Clause" ]
11
2015-07-24T14:41:25.000Z
2022-03-19T13:27:51.000Z
Retired_Proj/1_LSQ/lsq_MSimlr.cpp
billkarsh/Alignment_Projects
f2ce48477da866b09a13fd33f1a53a8af644b35b
[ "BSD-3-Clause" ]
1
2016-05-14T22:26:25.000Z
2016-05-14T22:26:25.000Z
Retired_Proj/1_LSQ/lsq_MSimlr.cpp
billkarsh/Alignment_Projects
f2ce48477da866b09a13fd33f1a53a8af644b35b
[ "BSD-3-Clause" ]
18
2015-03-10T18:45:58.000Z
2021-08-16T13:56:48.000Z
#include "lsq_MSimlr.h" #include "TrakEM2_UTL.h" #include "File.h" #include <math.h> /* --------------------------------------------------------------- */ /* SetPointPairs ------------------------------------------------- */ /* --------------------------------------------------------------- */ void MSimlr::SetPo...
25.430195
70
0.374912
billkarsh
745e28f18d05aa9c0955cc74872a889aeb509b5c
21,313
cpp
C++
mrimaccount.cpp
negram/kopete_mrim
c75c28a451e17b14edbe4dcd1ff8b261273473a5
[ "BSD-2-Clause" ]
null
null
null
mrimaccount.cpp
negram/kopete_mrim
c75c28a451e17b14edbe4dcd1ff8b261273473a5
[ "BSD-2-Clause" ]
1
2017-01-16T05:37:28.000Z
2018-10-22T06:30:29.000Z
mrimaccount.cpp
negram/kopete_mrim
c75c28a451e17b14edbe4dcd1ff8b261273473a5
[ "BSD-2-Clause" ]
null
null
null
#include <QMessageBox> #include <QInputDialog> #include <kdebug.h> #include <kinputdialog.h> #include <klocalizedstring.h> #include <kactionmenu.h> #include <kopete/kopetecontactlist.h> #include <kopete/kopetemetacontact.h> #include <kopete/kopetemessage.h> #include <kopete/kopeteaccount.h> #include <kopete/kopeteuti...
29.808392
123
0.647211
negram
745e83f05007d956cbcb7cb249c7456f4d06df72
874
cpp
C++
Arrays/Best Time to Buy and Sell Stock.cpp
ayushjindal23/450-DSA
8d6fb867c87d534520f51d685477afc446d59b6f
[ "MIT" ]
null
null
null
Arrays/Best Time to Buy and Sell Stock.cpp
ayushjindal23/450-DSA
8d6fb867c87d534520f51d685477afc446d59b6f
[ "MIT" ]
null
null
null
Arrays/Best Time to Buy and Sell Stock.cpp
ayushjindal23/450-DSA
8d6fb867c87d534520f51d685477afc446d59b6f
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { int i,n; cin>>n; int prices[n]; for(i=0;i<n;i++){ cin>>prices[i]; } int cost = 0; int maxCost = 0; if (n == 0) { return 0; } // Store the first element of array /...
20.325581
55
0.489703
ayushjindal23
7460c74ed4991b77fa8a5961a6b943553e757f22
10,682
cpp
C++
test/unit/csalign_unittest.cpp
loveyjwholelife/webvtt
d4cac99ff177c609b4cd9ad82d3225f58bba510d
[ "BSD-2-Clause" ]
9
2019-02-25T18:31:04.000Z
2021-10-30T14:45:40.000Z
test/unit/csalign_unittest.cpp
loveyjwholelife/webvtt
d4cac99ff177c609b4cd9ad82d3225f58bba510d
[ "BSD-2-Clause" ]
2
2020-01-07T14:55:33.000Z
2020-06-22T16:56:36.000Z
test/unit/csalign_unittest.cpp
loveyjwholelife/webvtt
d4cac99ff177c609b4cd9ad82d3225f58bba510d
[ "BSD-2-Clause" ]
10
2019-03-14T13:26:19.000Z
2022-02-08T17:28:22.000Z
#include "cue_testfixture" class CueSettingAlign : public CueTest { }; /** * Test properly formatted align start cue setting * * http://dev.w3.org/html5/webvtt/#parse-the-webvtt-settings (11/27/2012): * If name is a case-sensitive match for "align" * If value is a case-sensitive match for the string "start", then...
35.845638
211
0.690227
loveyjwholelife
746aed06a14b9fa8516e22eea90a388b4050158f
8,754
cpp
C++
src/sensors/bms.cpp
Hyp-ed/hyped-2022
9cac4632b660f569629cf0ad4048787f6017905d
[ "Apache-2.0" ]
9
2021-07-31T16:22:24.000Z
2022-01-19T18:14:31.000Z
src/sensors/bms.cpp
Hyp-ed/hyped-2022
9cac4632b660f569629cf0ad4048787f6017905d
[ "Apache-2.0" ]
91
2021-07-29T18:21:30.000Z
2022-03-31T20:44:55.000Z
src/sensors/bms.cpp
Hyp-ed/hyped-2022
9cac4632b660f569629cf0ad4048787f6017905d
[ "Apache-2.0" ]
null
null
null
#include "bms.hpp" #include <utils/logger.hpp> #include <utils/timer.hpp> namespace hyped { namespace sensors { std::vector<uint8_t> BMS::existing_ids_; // NOLINT [build/include_what_you_use] int16_t BMS::current_ = 0; BMS::BMS(uint8_t id, Logger &log) : Thread(log), data_({}), id_(id), id_ba...
31.602888
100
0.616632
Hyp-ed
746d2c6d4986acfbfae649cc1ad9240c3c690131
9,804
cpp
C++
src/wdifstrm/ml_hyperlink.cpp
gvollant/smartversion
b9d351beaf91d1d48fd4f0283fd5825623548346
[ "MIT" ]
5
2021-12-30T18:27:18.000Z
2022-03-03T08:27:51.000Z
src/wdifstrm/ml_hyperlink.cpp
gvollant/smartversion
b9d351beaf91d1d48fd4f0283fd5825623548346
[ "MIT" ]
null
null
null
src/wdifstrm/ml_hyperlink.cpp
gvollant/smartversion
b9d351beaf91d1d48fd4f0283fd5825623548346
[ "MIT" ]
null
null
null
/* Smartversion Copyright (c) Gilles Vollant, 2002-2022 https://github.com/gvollant/smartversion https://www.smartversion.com/ https://www.winimage.com/ This source code is licensed under MIT licence. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and as...
25.53125
96
0.572317
gvollant
746f4d3d8088e75655cbf31414fd5f2873c04106
185
cpp
C++
Sandbox/src/SandboxApp.cpp
Kamalc/Duck-Engine
bf3a454aef0fbdd97d6b557c05aca94aa6e35a2a
[ "Apache-2.0" ]
1
2022-01-04T23:55:22.000Z
2022-01-04T23:55:22.000Z
Sandbox/src/SandboxApp.cpp
Kamalc/Duck-Engine
bf3a454aef0fbdd97d6b557c05aca94aa6e35a2a
[ "Apache-2.0" ]
null
null
null
Sandbox/src/SandboxApp.cpp
Kamalc/Duck-Engine
bf3a454aef0fbdd97d6b557c05aca94aa6e35a2a
[ "Apache-2.0" ]
null
null
null
#include <Duck.h> class Sandbox : public Duck::Application { public: Sandbox() { } ~Sandbox() { } }; Duck::Application* Duck::CreateApplication() { return new Sandbox(); }
8.809524
44
0.632432
Kamalc
7471737184323ce2535dfc0e180d8c452c37a770
5,529
cpp
C++
tests/Matrix/TestMatrixBase.cpp
aschiffer186/Limno
60b85619c11d9d4a37f5ff7e8ba6657d5863479a
[ "MIT" ]
null
null
null
tests/Matrix/TestMatrixBase.cpp
aschiffer186/Limno
60b85619c11d9d4a37f5ff7e8ba6657d5863479a
[ "MIT" ]
null
null
null
tests/Matrix/TestMatrixBase.cpp
aschiffer186/Limno
60b85619c11d9d4a37f5ff7e8ba6657d5863479a
[ "MIT" ]
null
null
null
#include <iterator> #include <sstream> #include <gtest/gtest.h> #include "Core/matrix_base.hh" #include "config.hh" using namespace Limno::_detail; TEST(MatrixBase, Constructors) { //Create empty matrix LimnoMatrixBase<double, 2, 2> m1; EXPECT_EQ(m1.numRows(), 2); EXPECT_EQ(m1.numCols(), 2); EX...
24.793722
98
0.576054
aschiffer186
747327be419199d0de280be61f7bed277a564544
31,113
cpp
C++
src/cpp/Magmav2Binding/mbmagma.cpp
bhrnjica/MagmaSharp
60d3ae4baa03a9db7cc9683f4a44ce864d742f26
[ "MIT" ]
2
2020-08-02T02:11:27.000Z
2020-08-30T16:15:50.000Z
src/cpp/Magmav2Binding/mbmagma.cpp
bhrnjica/MagmaSharp
60d3ae4baa03a9db7cc9683f4a44ce864d742f26
[ "MIT" ]
null
null
null
src/cpp/Magmav2Binding/mbmagma.cpp
bhrnjica/MagmaSharp
60d3ae4baa03a9db7cc9683f4a44ce864d742f26
[ "MIT" ]
null
null
null
 #include "pch.h" #include "mbmagma.h" #include <stdio.h> #include <cuda.h> #include "magma_v2.h" #include "magma_lapack.h" #include "mkl_lapacke.h" namespace MagmaBinding { //Helper extern magma_vec_t convertToVec(mbv2vector vec); extern void transpose(float* src, float* dst, const int N, const int M); extern v...
26.821552
180
0.637901
bhrnjica
7473a2b871c1df80b887b9c0b90675c05f5a3403
574
cpp
C++
cf-contest/560-div2/b2.cpp
OmShivamR24/CompetitiveProgrammingQuestionBank
fbb5d15d926d26e5529665e85adb1eeaeba1d137
[ "MIT" ]
null
null
null
cf-contest/560-div2/b2.cpp
OmShivamR24/CompetitiveProgrammingQuestionBank
fbb5d15d926d26e5529665e85adb1eeaeba1d137
[ "MIT" ]
null
null
null
cf-contest/560-div2/b2.cpp
OmShivamR24/CompetitiveProgrammingQuestionBank
fbb5d15d926d26e5529665e85adb1eeaeba1d137
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int main() { int n; cin >> n; vector<int> a(n ,0); for( int i = 0; i < n ; ++i){ cin >> a[i]; } sort(a.rbegin(), a.rend()); int k = 1; for( int k = 1; ; ++k){ while(...
21.259259
46
0.304878
OmShivamR24
7476b6aac3189cf3e78cc634b288ab0f8a30ee58
130
cpp
C++
Tut 9 Control Structures/If-else Statement.cpp
anuragpathak0/C-Plus-Plus
5e79e3c354b3544f385c77dfbc3fb0a9cef04f64
[ "MIT" ]
null
null
null
Tut 9 Control Structures/If-else Statement.cpp
anuragpathak0/C-Plus-Plus
5e79e3c354b3544f385c77dfbc3fb0a9cef04f64
[ "MIT" ]
null
null
null
Tut 9 Control Structures/If-else Statement.cpp
anuragpathak0/C-Plus-Plus
5e79e3c354b3544f385c77dfbc3fb0a9cef04f64
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { int i; if(i<3) { cout<<i++<<endl; } return 0; }
10
23
0.484615
anuragpathak0
747a138d311e7bf3e58cd379ba68cc89ca77bb79
2,627
hpp
C++
RetroSnake/RetroSnake/GameBuff.hpp
VoidYTMain/RetroSnake
f3080ad424dddbda5440d5205597081cf5b9e93b
[ "MIT" ]
2
2019-01-18T07:37:54.000Z
2019-01-19T10:57:16.000Z
RetroSnake/RetroSnake/GameBuff.hpp
Vyterm/RetroSnake
f3080ad424dddbda5440d5205597081cf5b9e93b
[ "MIT" ]
null
null
null
RetroSnake/RetroSnake/GameBuff.hpp
Vyterm/RetroSnake
f3080ad424dddbda5440d5205597081cf5b9e93b
[ "MIT" ]
null
null
null
#ifndef GAME_BUFF_HPP_INCLUDED #define GAME_BUFF_HPP_INCLUDED #include "GameColor.hpp" #include "vytTimer.hpp" class PlayerCtrl; enum class E_BuffType { Unstoppable, Incontrollable, Slippage, }; static constexpr auto BuffCount = 3; class PlayerBuff : public vyt::timer::handler { int m_clockSecond; int m_tickC...
25.504854
73
0.757137
VoidYTMain
747aa8bf7960cfcd9993db98e930e68fb3eef4aa
31,185
cpp
C++
unittests/comprehensive/test_ParallelOps.cpp
jyf588/nimblephysics
6c09228f0abcf7aa3526a8dd65cd2541aff32c4a
[ "BSD-2-Clause" ]
2
2021-09-30T06:23:29.000Z
2022-03-09T09:59:09.000Z
unittests/comprehensive/test_ParallelOps.cpp
jyf588/nimblephysics
6c09228f0abcf7aa3526a8dd65cd2541aff32c4a
[ "BSD-2-Clause" ]
null
null
null
unittests/comprehensive/test_ParallelOps.cpp
jyf588/nimblephysics
6c09228f0abcf7aa3526a8dd65cd2541aff32c4a
[ "BSD-2-Clause" ]
1
2021-08-20T13:56:14.000Z
2021-08-20T13:56:14.000Z
/* * Copyright (c) 2011-2019, The DART development contributors * All rights reserved. * * The list of contributors can be found at: * https://github.com/dartsim/dart/blob/master/LICENSE * * This file is provided under the following "BSD-style" License: * Redistribution and use in source and binary forms, w...
37.891859
80
0.594645
jyf588
747e837c67af4b1742ae3b143ea2912bc5789f23
7,689
cpp
C++
src/gravity/potential_PFFT_3D.cpp
bvillasen/cholla_cosmology
28e6c7d0fc09a25d58829c67a0ecf1e0939f83d4
[ "MIT" ]
3
2019-03-15T18:12:59.000Z
2019-05-11T02:41:47.000Z
src/gravity/potential_PFFT_3D.cpp
bvillasen/cholla_cosmology
28e6c7d0fc09a25d58829c67a0ecf1e0939f83d4
[ "MIT" ]
null
null
null
src/gravity/potential_PFFT_3D.cpp
bvillasen/cholla_cosmology
28e6c7d0fc09a25d58829c67a0ecf1e0939f83d4
[ "MIT" ]
null
null
null
#ifdef GRAVITY #ifdef PFFT #include "potential_PFFT_3D.h" #include<iostream> #include "../io.h" Potential_PFFT_3D::Potential_PFFT_3D( void ){} void Potential_PFFT_3D::Initialize( Real Lx, Real Ly, Real Lz, Real x_min, Real y_min, Real z_min, int nx, int ny, int nz, int nx_real, int ny_real, int nz_real, Real dx_real...
29.015094
204
0.607751
bvillasen
747f1049afdf1fbbdb308e53974c715264e7bee3
877
hpp
C++
NWNXLib/API/Linux/API/CResNDB.hpp
acaos/nwnxee-unified
0e4c318ede64028c1825319f39c012e168e0482c
[ "MIT" ]
1
2019-06-04T04:30:24.000Z
2019-06-04T04:30:24.000Z
NWNXLib/API/Linux/API/CResNDB.hpp
presscad/nwnee
0f36b281524e0b7e9796bcf30f924792bf9b8a38
[ "MIT" ]
null
null
null
NWNXLib/API/Linux/API/CResNDB.hpp
presscad/nwnee
0f36b281524e0b7e9796bcf30f924792bf9b8a38
[ "MIT" ]
1
2019-10-20T07:54:45.000Z
2019-10-20T07:54:45.000Z
#pragma once #include <cstdint> #include "CRes.hpp" namespace NWNXLib { namespace API { struct CResNDB : CRes { int32_t m_bLoaded; uint32_t m_nNDBNormalSize; uint8_t* m_pNDBData; // The below are auto generated stubs. CResNDB(const CResNDB&) = default; CResNDB& operator=(const CResNDB&...
20.880952
56
0.737742
acaos
74814b36ed301f432f1fbb50c437a43a715c171b
2,358
cc
C++
src/core/rt_task.cc
fon/flexran-rtc
27a955a0494597c6fd175f6b4d31b9eaac2b8dfd
[ "MIT" ]
1
2019-11-05T16:22:11.000Z
2019-11-05T16:22:11.000Z
src/core/rt_task.cc
fon/flexran-rtc
27a955a0494597c6fd175f6b4d31b9eaac2b8dfd
[ "MIT" ]
null
null
null
src/core/rt_task.cc
fon/flexran-rtc
27a955a0494597c6fd175f6b4d31b9eaac2b8dfd
[ "MIT" ]
3
2019-05-02T05:14:36.000Z
2021-06-15T12:40:52.000Z
/* The MIT License (MIT) Copyright (c) 2016 Xenofon Foukas Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy...
31.864865
128
0.733249
fon
7483b3fe640d7ce02e6b0ee1e1646cfc33714a5f
644
cpp
C++
CSES/Sorting and Searching/Maximum Subarray Sum.cpp
s166harth/CC
b6c0fe58f03633fe2787a567a16909f1b2966e7b
[ "MIT" ]
406
2020-05-28T13:35:08.000Z
2022-03-31T17:23:26.000Z
CSES/Sorting and Searching/Maximum Subarray Sum.cpp
shakeeb-droids/CC
2f49fcb52d748804aee9fc7f26abb3150bec69e5
[ "MIT" ]
3
2021-01-01T17:50:34.000Z
2021-10-02T10:02:27.000Z
CSES/Sorting and Searching/Maximum Subarray Sum.cpp
shakeeb-droids/CC
2f49fcb52d748804aee9fc7f26abb3150bec69e5
[ "MIT" ]
108
2020-07-21T13:02:33.000Z
2022-03-28T22:46:49.000Z
/** 🍪 thew6rst 🍪 10.02.2021 11:41:10 **/ #ifdef W #include "k_II.h" #else #include <bits/stdc++.h> using namespace std; #endif #define pb emplace_back #define all(x) x.begin(), x.end() #define sz(x) static_cast<int32_t>(x.size()) const int64_t DESPACITO = 2e18; const int INF = 2e9, MOD ...
22.206897
49
0.520186
s166harth
7484cacac84560b3e9ee08957333d26d511b3e21
526
hpp
C++
ext/src/java/util/zip/Checksum.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
ext/src/java/util/zip/Checksum.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
ext/src/java/util/zip/Checksum.hpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
// Generated from /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/rt.jar #pragma once #include <fwd-POI.hpp> #include <java/util/zip/fwd-POI.hpp> #include <java/lang/Object.hpp> struct java::util::zip::Checksum : public virtual ::java::lang::Object { virtual int64_t getValue() = 0; ...
25.047619
97
0.680608
pebble2015
7486bf313f254c7b6df5949c63582c4a2b2c4f43
18,656
cpp
C++
src/gui/DatabaseRegistrationDialog.cpp
blumf/flamerobin
3b442c6786d916383f885d81f0303171fd8ce7c2
[ "MIT" ]
2
2019-05-29T08:32:18.000Z
2021-02-17T08:19:00.000Z
src/gui/DatabaseRegistrationDialog.cpp
blumf/flamerobin
3b442c6786d916383f885d81f0303171fd8ce7c2
[ "MIT" ]
null
null
null
src/gui/DatabaseRegistrationDialog.cpp
blumf/flamerobin
3b442c6786d916383f885d81f0303171fd8ce7c2
[ "MIT" ]
1
2020-06-15T06:49:18.000Z
2020-06-15T06:49:18.000Z
/* Copyright (c) 2004-2016 The FlameRobin Development 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 without limitation the rights to use, copy, modi...
37.386774
120
0.70074
blumf