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
36f6f960413fd520167a2834a398d3f7fc80fb31
2,451
cpp
C++
testrunner/main.cpp
ducaddepar/ProgrammingContest
4c47cada50ed23bd841cfea06a377a4129d4d88f
[ "MIT" ]
39
2018-08-26T05:53:19.000Z
2021-12-11T07:47:24.000Z
testrunner/main.cpp
ducaddepar/ProgrammingContest
4c47cada50ed23bd841cfea06a377a4129d4d88f
[ "MIT" ]
1
2018-06-21T00:40:41.000Z
2018-06-21T00:40:46.000Z
testrunner/main.cpp
ducaddepar/ProgrammingContest
4c47cada50ed23bd841cfea06a377a4129d4d88f
[ "MIT" ]
8
2018-08-27T00:34:23.000Z
2020-09-27T12:51:22.000Z
#include "/Users/duc/github/ContestNeko/CodeForces/TaskD.cpp" #include <iostream> #include <fstream> #include <sstream> #include <string> #include <vector> #include <cctype> #include <ctime> namespace jhelper { struct Test { std::string input; std::string output; bool active; bool has_output; }; bool check(...
31.025316
189
0.518972
ducaddepar
36f82dba5adb44908ab284b453ade94d0325c5af
25,405
cpp
C++
tmc3/TMC3.cpp
jokerld/TMC13v5-Cluster
aa8d8d8be31f1723f8909abe73673fc160d2f837
[ "BSD-3-Clause" ]
null
null
null
tmc3/TMC3.cpp
jokerld/TMC13v5-Cluster
aa8d8d8be31f1723f8909abe73673fc160d2f837
[ "BSD-3-Clause" ]
null
null
null
tmc3/TMC3.cpp
jokerld/TMC13v5-Cluster
aa8d8d8be31f1723f8909abe73673fc160d2f837
[ "BSD-3-Clause" ]
null
null
null
/* The copyright in this software is being made available under the BSD * Licence, included below. This software may be subject to other third * party and contributor rights, including patent rights, and no such * rights are granted under this licence. * * Copyright (c) 2017-2018, ISO/IEC * All rights reserved. ...
31.83584
80
0.678331
jokerld
36fc1c809ad5a96ab02b25419f5d245897616720
241
cpp
C++
c02/2_8.cpp
brynhayder/accelerated-cpp
e26796486ba410db566c0f8acc392f32f20330a9
[ "MIT" ]
null
null
null
c02/2_8.cpp
brynhayder/accelerated-cpp
e26796486ba410db566c0f8acc392f32f20330a9
[ "MIT" ]
null
null
null
c02/2_8.cpp
brynhayder/accelerated-cpp
e26796486ba410db566c0f8acc392f32f20330a9
[ "MIT" ]
null
null
null
// Compute product of numbers in [1, 10) #include <iostream> int main(){ int sup = 10; int start = 1; int j = start; for (int i = 1; i != sup; i++){ j *= i; } std::cout << j << std::endl; return 0; }
17.214286
40
0.46888
brynhayder
36fcb56badb878b9545909bde5a5f58231e658df
1,004
cpp
C++
prime.cpp
Ki-Seki/codes-algorithm
8bb2204a700e489927276cec3506cd748cf8867f
[ "MIT" ]
null
null
null
prime.cpp
Ki-Seki/codes-algorithm
8bb2204a700e489927276cec3506cd748cf8867f
[ "MIT" ]
null
null
null
prime.cpp
Ki-Seki/codes-algorithm
8bb2204a700e489927276cec3506cd748cf8867f
[ "MIT" ]
null
null
null
/* * hint: * 素数相关的算法,包括: * 使用 sqrt 来优化的素数判断函数 * 使用平方技巧来优化的素数判断函数 * 求素数表:埃氏筛法,Eratosthenes 筛法 */ #include <iostream> #include <cmath> // 使用 sqrt 来优化的素数判断函数 // 需要 <cmath> bool is_prime(int n) { for (int i = 2; i <= (int) sqrt(n * 1.0); i++) if (n % i == 0) return false; return true; } /...
18.943396
50
0.506972
Ki-Seki
3c05633c545f47b9d3e23b1d3bc6f5a6bc1702e6
1,318
cpp
C++
src/cpp/DP/dp_minimus_path_sum.cpp
spurscoder/forTest
2ab069d6740f9d7636c6988a5a0bd3825518335d
[ "MIT" ]
null
null
null
src/cpp/DP/dp_minimus_path_sum.cpp
spurscoder/forTest
2ab069d6740f9d7636c6988a5a0bd3825518335d
[ "MIT" ]
1
2018-10-24T05:48:27.000Z
2018-10-24T05:52:14.000Z
src/cpp/DP/dp_minimus_path_sum.cpp
spurscoder/forTest
2ab069d6740f9d7636c6988a5a0bd3825518335d
[ "MIT" ]
null
null
null
/* Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its path. Note: You can only move either down or right at any point in time. Example: Input: [ [1,3,1], [1,5,1], [4,2,1] ] Output: 7 Explanation: Because the path 1→3→1...
23.535714
149
0.492413
spurscoder
3c077ea42a66e002809b23be1a8b2645f6657c2b
2,980
cpp
C++
SierraChart2/Time.cpp
AndrewAMD/SierraChartZorroPlugin
43d3645e17a8349fb6d3dffa541c91d0a51222d7
[ "MIT" ]
26
2018-11-09T07:43:49.000Z
2021-09-10T06:15:47.000Z
SierraChart2/Time.cpp
AndrewAMD/SierraChartZorroPlugin
43d3645e17a8349fb6d3dffa541c91d0a51222d7
[ "MIT" ]
1
2021-02-02T11:50:42.000Z
2021-02-02T13:58:08.000Z
SierraChart2/Time.cpp
AndrewAMD/SierraChartZorroPlugin
43d3645e17a8349fb6d3dffa541c91d0a51222d7
[ "MIT" ]
10
2019-01-03T08:38:30.000Z
2022-03-30T02:26:57.000Z
#include "pch.h" #include "framework.h" #include <Windows.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include "Time.h" #include "StrBufs.h" #include "client.h" #include "banned.h" //must include last int g_RequestRateLimit_ms = 100; namespace cro = std::chrono; ...
25.042017
119
0.632215
AndrewAMD
3c0b3cd97beaebbf482b79a10e1560101192cf5f
423
cpp
C++
src/libs/router_db/Constants.cpp
burntjam/keto
dbe32916a3bbc92fa0bbcb97d9de493d7ed63fd8
[ "MIT" ]
1
2020-03-04T10:38:00.000Z
2020-03-04T10:38:00.000Z
src/libs/router_db/Constants.cpp
burntjam/keto
dbe32916a3bbc92fa0bbcb97d9de493d7ed63fd8
[ "MIT" ]
null
null
null
src/libs/router_db/Constants.cpp
burntjam/keto
dbe32916a3bbc92fa0bbcb97d9de493d7ed63fd8
[ "MIT" ]
1
2020-03-04T10:38:01.000Z
2020-03-04T10:38:01.000Z
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ #include "keto/router_db/Constants.hpp" namespace keto { namespace router_db { const char* Constants::ROUTER_INDEX = "routes"...
16.92
79
0.699764
burntjam
3c0cd3ea765a310ea68a85662f4612d06c3e8a03
117
cpp
C++
tests/Issue182.cpp
galorojo/cppinsights
52ecab4ddd8e36fb99893551cf0fb8b5d58589f2
[ "MIT" ]
1,853
2018-05-13T21:49:17.000Z
2022-03-30T10:34:45.000Z
tests/Issue182.cpp
galorojo/cppinsights
52ecab4ddd8e36fb99893551cf0fb8b5d58589f2
[ "MIT" ]
398
2018-05-15T14:48:51.000Z
2022-03-24T12:14:33.000Z
tests/Issue182.cpp
galorojo/cppinsights
52ecab4ddd8e36fb99893551cf0fb8b5d58589f2
[ "MIT" ]
104
2018-05-15T04:00:59.000Z
2022-03-17T02:04:15.000Z
typedef int my_cb(int dst, int len, int dat); int f(my_cb cb, void *dat); int f(my_cb cb, void *dat) { return 0; }
14.625
45
0.649573
galorojo
3c0d3bbd4140c391ef55f48e7426fd4b2ea3e05c
6,289
cpp
C++
lib/CIndexStoreDB/CIndexStoreDB.cpp
gmittert/indexstore-db
31ff487bd8d10531a9af761e4ecc1c929ccee2ff
[ "Apache-2.0" ]
1
2021-07-07T15:38:50.000Z
2021-07-07T15:38:50.000Z
lib/CIndexStoreDB/CIndexStoreDB.cpp
DalavanCloud/indexstore-db
b1258a6827e988a4d9988e5fddf4d4e95cbd59bb
[ "Apache-2.0" ]
null
null
null
lib/CIndexStoreDB/CIndexStoreDB.cpp
DalavanCloud/indexstore-db
b1258a6827e988a4d9988e5fddf4d4e95cbd59bb
[ "Apache-2.0" ]
null
null
null
//===--- CIndexStoreDB.cpp ------------------------------------------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2018 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
29.805687
86
0.732231
gmittert
3c0f3a82dccea0a7b94e19dc5d8f525af56dc64c
5,882
hpp
C++
src/lib/nas/storage.hpp
aligungr/ue-ran-sim
564f9d228723f03adfa2b02df2ea019bdf305085
[ "MIT" ]
16
2020-04-16T02:07:37.000Z
2020-07-23T10:48:27.000Z
src/lib/nas/storage.hpp
aligungr/ue-ran-sim
564f9d228723f03adfa2b02df2ea019bdf305085
[ "MIT" ]
8
2020-07-13T17:11:35.000Z
2020-08-03T16:46:31.000Z
src/lib/nas/storage.hpp
aligungr/ue-ran-sim
564f9d228723f03adfa2b02df2ea019bdf305085
[ "MIT" ]
9
2020-03-04T15:05:08.000Z
2020-07-30T06:18:18.000Z
// // This file is a part of UERANSIM open source project. // Copyright (c) 2021 ALİ GÜNGÖR. // // The software and all associated files are licensed under GPL-3.0 // and subject to the terms and conditions defined in LICENSE file. // #include <array> #include <functional> #include <optional> #include <type_traits> #i...
20.858156
118
0.579735
aligungr
3c11133c5185b8e7beeab83e5b639d2086a62ca1
154
cpp
C++
lib/AsciiArtParsers/LinesParser/LinesParser.cpp
dodikk/AsciiBresenheim
e107d1e8773826868edb83e0f56a8052ce73a264
[ "BSD-4-Clause" ]
1
2022-03-13T00:42:02.000Z
2022-03-13T00:42:02.000Z
lib/AsciiArtParsers/LinesParser/LinesParser.cpp
dodikk/AsciiBresenheim
e107d1e8773826868edb83e0f56a8052ce73a264
[ "BSD-4-Clause" ]
null
null
null
lib/AsciiArtParsers/LinesParser/LinesParser.cpp
dodikk/AsciiBresenheim
e107d1e8773826868edb83e0f56a8052ce73a264
[ "BSD-4-Clause" ]
null
null
null
#include "StdAfx.h" #include "LinesParser.h" using namespace AsciiArt::Parser; LinesParser::LinesParser(void) { } LinesParser::~LinesParser(void) { }
11
33
0.733766
dodikk
3c12e06c7798ed0b2fa2dd80f7b1ff2bbf2c6118
4,037
cpp
C++
05-Map/src/Sokoban.cpp
eXpl0it3r/SFML-Workshop
0a42acc8a4aa48d44f3191b7472ea1f666381dee
[ "Unlicense" ]
9
2019-06-11T16:55:25.000Z
2020-05-06T14:59:28.000Z
05-Map/src/Sokoban.cpp
eXpl0it3r/SFML-Workshop
0a42acc8a4aa48d44f3191b7472ea1f666381dee
[ "Unlicense" ]
null
null
null
05-Map/src/Sokoban.cpp
eXpl0it3r/SFML-Workshop
0a42acc8a4aa48d44f3191b7472ea1f666381dee
[ "Unlicense" ]
null
null
null
#include "Sokoban.hpp" Sokoban::Sokoban() : m_window_size{ 640u, 640u }, m_distance{ 64.f }, m_tile_size{ m_distance, m_distance }, m_window{ sf::VideoMode{ m_window_size.x, m_window_size.y }, "05 - Map - SFML Workshop" } { m_window.setFramerateLimit(60); m_texture_holder.load("tilesheet", "as...
28.230769
99
0.55462
eXpl0it3r
3c1a841992e6b972b684dae30d628b652f4f73b6
3,101
cpp
C++
src/org/apache/poi/ss/formula/function/FunctionMetadata.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
src/org/apache/poi/ss/formula/function/FunctionMetadata.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
src/org/apache/poi/ss/formula/function/FunctionMetadata.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
// Generated from /POI/java/org/apache/poi/ss/formula/function/FunctionMetadata.java #include <org/apache/poi/ss/formula/function/FunctionMetadata.hpp> #include <java/lang/Class.hpp> #include <java/lang/NullPointerException.hpp> #include <java/lang/String.hpp> #include <java/lang/StringBuffer.hpp> #include <Array.hpp>...
29.817308
204
0.722348
pebble2015
3c212a879e77cb386fd32337d492e15ca6ab8a88
5,170
cpp
C++
include/shacl/optional/Type/test/value_or.test.cpp
shacl/optional
02dc7ed2b923e3afb223817c47c239e2fab45c8f
[ "BSD-3-Clause" ]
null
null
null
include/shacl/optional/Type/test/value_or.test.cpp
shacl/optional
02dc7ed2b923e3afb223817c47c239e2fab45c8f
[ "BSD-3-Clause" ]
null
null
null
include/shacl/optional/Type/test/value_or.test.cpp
shacl/optional
02dc7ed2b923e3afb223817c47c239e2fab45c8f
[ "BSD-3-Clause" ]
null
null
null
#include "shacl/optional.hpp" #include "catch2/catch.hpp" SCENARIO("value_or"){ struct U { mutable bool copiedFrom = false; mutable bool movedFrom = false; }; struct T { mutable bool copiedFrom = false; mutable bool movedFrom = false; T() = default; T(T&& that) { that.movedFrom = true; ...
27.945946
70
0.543327
shacl
3c240845a9bb3630bf9d4c90d20c950b8293124f
2,283
cpp
C++
lib/duden/LdFile.cpp
nonwill/lsd2dsl
00e2a9832666dff03667b07815d73fab3fa8378e
[ "MIT" ]
66
2015-01-17T16:57:38.000Z
2022-02-06T15:29:54.000Z
lib/duden/LdFile.cpp
nonwill/lsd2dsl
00e2a9832666dff03667b07815d73fab3fa8378e
[ "MIT" ]
19
2015-02-08T15:35:12.000Z
2022-01-26T10:46:11.000Z
lib/duden/LdFile.cpp
nongeneric/lsd2dsl
4bf92b42b1ae47eee8e0b71bc04224dc037bd549
[ "MIT" ]
18
2015-03-23T07:06:07.000Z
2022-01-15T21:03:04.000Z
#include "LdFile.h" #include "Duden.h" #include <boost/regex.hpp> #include <boost/algorithm/string.hpp> namespace duden { LdFile parseLdFile(dictlsd::IRandomAccessStream* stream) { LdFile ld; ld.references.push_back({"WEB", "Web", "W"}); std::string line; while (readLine(stream, line)) { boo...
30.851351
87
0.536575
nonwill
3c2597efb9131b6c7f0c3995ad59971d945792c9
12,202
cpp
C++
Sources/Tools/EPI/Document/Properties/PtySky.cpp
benkaraban/anima-games-engine
8aa7a5368933f1b82c90f24814f1447119346c3b
[ "BSD-3-Clause" ]
2
2015-04-16T01:05:53.000Z
2019-08-26T07:38:43.000Z
Sources/Tools/EPI/Document/Properties/PtySky.cpp
benkaraban/anima-games-engine
8aa7a5368933f1b82c90f24814f1447119346c3b
[ "BSD-3-Clause" ]
null
null
null
Sources/Tools/EPI/Document/Properties/PtySky.cpp
benkaraban/anima-games-engine
8aa7a5368933f1b82c90f24814f1447119346c3b
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2010, Anima Games, Benjamin Karaban, Laurent Schneider, * Jérémie Comarmond, Didier Colin. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * - Redistributions of ...
46.572519
128
0.612523
benkaraban
3c27f69dfe490a67babef9a7a7bac0cf785a8b47
7,263
cpp
C++
GameItself/game.cpp
hcim38/PROJECT
7e4b4e2d8d2783b0c452463ccae00ff35d3594d5
[ "MIT" ]
null
null
null
GameItself/game.cpp
hcim38/PROJECT
7e4b4e2d8d2783b0c452463ccae00ff35d3594d5
[ "MIT" ]
null
null
null
GameItself/game.cpp
hcim38/PROJECT
7e4b4e2d8d2783b0c452463ccae00ff35d3594d5
[ "MIT" ]
null
null
null
#include "game.h" Game::Game() { qrTexturePtr = new QResource(":/Textures/Resources/hex-tex.png"); qrFontPtr = new QResource(":/Fonts/Resources/Lato-Regular.ttf"); texture.loadFromMemory(qrTexturePtr->data(), qrTexturePtr->size()); //lading resources font.loadFromMemory(qrFontPtr->data(), qrFontPtr->s...
31.578261
100
0.480793
hcim38
3c293f244f4de113c85546bfd196752d3c6e8249
533
cpp
C++
Chapter 3. Strings, Vectors, and Arrays/Codes/3.35.cpp
Yunxiang-Li/Cpp_Primer
b5c857e3f6be993b2ff8fc03f634141ae24925fc
[ "MIT" ]
null
null
null
Chapter 3. Strings, Vectors, and Arrays/Codes/3.35.cpp
Yunxiang-Li/Cpp_Primer
b5c857e3f6be993b2ff8fc03f634141ae24925fc
[ "MIT" ]
null
null
null
Chapter 3. Strings, Vectors, and Arrays/Codes/3.35.cpp
Yunxiang-Li/Cpp_Primer
b5c857e3f6be993b2ff8fc03f634141ae24925fc
[ "MIT" ]
1
2021-09-30T14:08:03.000Z
2021-09-30T14:08:03.000Z
#include <iostream> using std::cin; using std::cout; using std::iterator; using std::begin; using std::end; /** * Using pointers, write a program to set the elements in an array to zero. */ int main() { //Initialize a 10-length array. int arr[10]; //Use pointer to assign each value to zero. for (au...
13.666667
75
0.577861
Yunxiang-Li
3c2b5e9d1e60c07c19c55545055d7daa9f6fd4dd
9,042
cpp
C++
NOLF/ClientShellDLL/LightningFX.cpp
haekb/nolf1-modernizer
25bac3d43c40a83b8e90201a70a14ef63b4240e7
[ "Unlicense" ]
38
2019-09-16T14:46:42.000Z
2022-03-10T20:28:10.000Z
NOLF/ClientShellDLL/LightningFX.cpp
haekb/nolf1-modernizer
25bac3d43c40a83b8e90201a70a14ef63b4240e7
[ "Unlicense" ]
39
2019-08-12T01:35:33.000Z
2022-02-28T16:48:16.000Z
NOLF/ClientShellDLL/LightningFX.cpp
haekb/nolf1-modernizer
25bac3d43c40a83b8e90201a70a14ef63b4240e7
[ "Unlicense" ]
6
2019-09-17T12:49:18.000Z
2022-03-10T20:28:12.000Z
// ----------------------------------------------------------------------- // // // MODULE : LightningFX.cpp // // PURPOSE : Lightning special FX - Implementation // // CREATED : 4/15/99 // // (c) 1999 Monolith Productions, Inc. All Rights Reserved // // ---------------------------------------------------------------...
25.908309
90
0.603185
haekb
3c33bdec27a201db0f4d26fab96d506c6bb9ea87
1,254
hpp
C++
libTupl/src/tupl/LargeKeyError.hpp
cojen/TuplNative
4a8fa2b90825fdfe8f563e910fa188f1ed851404
[ "Apache-2.0" ]
1
2016-07-15T14:50:58.000Z
2016-07-15T14:50:58.000Z
libTupl/src/tupl/LargeKeyError.hpp
cojen/TuplNative
4a8fa2b90825fdfe8f563e910fa188f1ed851404
[ "Apache-2.0" ]
null
null
null
libTupl/src/tupl/LargeKeyError.hpp
cojen/TuplNative
4a8fa2b90825fdfe8f563e910fa188f1ed851404
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2012-2014 Brian S O'Neill * Copyright (C) 2014 Vishal Parakh * * 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...
28.5
78
0.699362
cojen
3c344f5483b92d3d53a547e37442984aaa53c74f
611
cpp
C++
UUT/Video/Image.cpp
kolyden/uut-engine
aa8e5a42c350aceecee668941e06ac626aac6c52
[ "MIT" ]
null
null
null
UUT/Video/Image.cpp
kolyden/uut-engine
aa8e5a42c350aceecee668941e06ac626aac6c52
[ "MIT" ]
null
null
null
UUT/Video/Image.cpp
kolyden/uut-engine
aa8e5a42c350aceecee668941e06ac626aac6c52
[ "MIT" ]
null
null
null
#include "Image.h" namespace uut { UUT_OBJECT_IMPLEMENT(Image) {} Image::Image() : _data(nullptr) { } Image::~Image() { Destroy(); } bool Image::Create(const Vector2i& size) { if (_size == size) return true; Destroy(); _data = SDL_CreateRGBSurface(0, _size.x, _size.y, 32, 0, 0, 0, 0); r...
13
44
0.631751
kolyden
3c35a958121c6917278c070b6a48f025cdc27e77
1,559
cpp
C++
kernel/drivers/pic8042contr.cpp
CarboSauce/Gloxor
fc9f5c56866f8c3e85f844d37a1faa9e9ef4c856
[ "MIT" ]
4
2021-07-14T20:24:24.000Z
2021-07-16T06:49:48.000Z
kernel/drivers/pic8042contr.cpp
CarboSauce/Gloxor
fc9f5c56866f8c3e85f844d37a1faa9e9ef4c856
[ "MIT" ]
null
null
null
kernel/drivers/pic8042contr.cpp
CarboSauce/Gloxor
fc9f5c56866f8c3e85f844d37a1faa9e9ef4c856
[ "MIT" ]
null
null
null
#include "pic8042contr.hpp" #include "asm/asmstubs.hpp" #include "gloxor/modules.hpp" #include "system/logging.hpp" // everything is masked on startup static glox::picContext picCtx{0xFF, 0xFF}; namespace glox::pic { void sendEoiSlave() { outb(PIC2_COMMAND, PIC_EOI); } void sendEoiMaster() { outb(PIC1_COMMAND...
22.926471
100
0.6966
CarboSauce
3c3693c493f420216094c6039949a40685fac446
7,418
cpp
C++
src/effect/explosion.cpp
FreeAllegiance/AllegianceDX7
3955756dffea8e7e31d3a55fcf6184232b792195
[ "MIT" ]
76
2015-08-18T19:18:40.000Z
2022-01-08T12:47:22.000Z
src/effect/explosion.cpp
StudentAlleg/Allegiance
e91660a471eb4e57e9cea4c743ad43a82f8c7b18
[ "MIT" ]
37
2015-08-14T22:44:12.000Z
2020-01-21T01:03:06.000Z
src/effect/explosion.cpp
StudentAlleg/Allegiance
e91660a471eb4e57e9cea4c743ad43a82f8c7b18
[ "MIT" ]
42
2015-08-13T23:31:35.000Z
2022-03-17T02:20:26.000Z
#include "explosion.h" ////////////////////////////////////////////////////////////////////////////// // // ExplosionGeo // ////////////////////////////////////////////////////////////////////////////// class ExplosionGeoImpl : public ExplosionGeo { private: ///////////////////////////////////////////////////...
29.553785
90
0.384201
FreeAllegiance
3c391e37b3ccae6920d4150b7551e4a237718801
1,664
hpp
C++
typed_python/PyPythonSubclassInstance.hpp
braxtonmckee/nativepython
5c64e91eb959fcd1c2c42655b40c7cceb3436f1d
[ "Apache-2.0" ]
7
2018-08-07T15:41:54.000Z
2019-02-19T12:47:57.000Z
typed_python/PyPythonSubclassInstance.hpp
braxtonmckee/nativepython
5c64e91eb959fcd1c2c42655b40c7cceb3436f1d
[ "Apache-2.0" ]
38
2018-10-17T13:37:46.000Z
2019-04-11T20:50:14.000Z
typed_python/PyPythonSubclassInstance.hpp
braxtonmckee/nativepython
5c64e91eb959fcd1c2c42655b40c7cceb3436f1d
[ "Apache-2.0" ]
4
2019-02-11T17:44:55.000Z
2019-03-20T07:38:18.000Z
#pragma once #include "PyInstance.hpp" class PyPythonSubclassInstance : public PyInstance { public: typedef PythonSubclass modeled_type; static void copyConstructFromPythonInstanceConcrete(PythonSubclass* eltType, instance_ptr tgt, PyObject* pyRepresentation, bool isExplicit) { Type* argType = extrac...
34.666667
145
0.680889
braxtonmckee
3c392fead2c793a0203aaeda00408eef499e15ab
1,623
cpp
C++
decoders/cpp/usage_inherited_types.cpp
lpsandaruwan/schema
1ee5cca5fa2733b216ed3fbd6ad5a59e8820565c
[ "MIT" ]
79
2019-02-19T10:16:04.000Z
2022-03-29T00:37:13.000Z
decoders/cpp/usage_inherited_types.cpp
lpsandaruwan/schema
1ee5cca5fa2733b216ed3fbd6ad5a59e8820565c
[ "MIT" ]
104
2019-03-31T20:01:02.000Z
2022-03-18T06:28:05.000Z
decoders/cpp/usage_inherited_types.cpp
lpsandaruwan/schema
1ee5cca5fa2733b216ed3fbd6ad5a59e8820565c
[ "MIT" ]
39
2019-04-01T02:24:59.000Z
2022-03-23T02:40:06.000Z
#include <iostream> #include "schema.h" #include "InheritedTypes.hpp" int main() { // const unsigned char encodedState[] = { 0, 0, 205, 244, 1, 1, 205, 32, 3, 193, 1, 0, 204, 200, 1, 205, 44, 1, 2, 166, 80, 108, 97, 121, 101, 114, 193, 2, 0, 100, 1, 204, 150, 2, 163, 66, 111, 116, 3, 204, 200, 193, 3, 213, 2, 3, 1...
46.371429
246
0.510783
lpsandaruwan
3c3973b1261e81f56c154ba2a5ce46a351f7103b
8,561
cpp
C++
exa_test/test/buffered_stream_test.cpp
chronos38/exa
96092b34eebecf55d3fe8280a86fbe63bf546af3
[ "MIT" ]
null
null
null
exa_test/test/buffered_stream_test.cpp
chronos38/exa
96092b34eebecf55d3fe8280a86fbe63bf546af3
[ "MIT" ]
null
null
null
exa_test/test/buffered_stream_test.cpp
chronos38/exa
96092b34eebecf55d3fe8280a86fbe63bf546af3
[ "MIT" ]
null
null
null
#include <pch.h> #include <exa/buffered_stream.hpp> #include <exa/memory_stream.hpp> #include <exa/concepts.hpp> using namespace exa; using namespace testing; using namespace std::chrono_literals; namespace { auto create_stream(std::shared_ptr<stream> s = std::make_shared<memory_stream>(), std::streamsize bs = 40...
25.479167
112
0.546665
chronos38
3c3f48f5f69d21fe79384a6f66533aee53ece3f7
1,725
inl
C++
AllGames/base/share_data/default_init_zip/shader/tech_textchannel-3.inl
DexianZhao/PhantomGameEngine
cf8e341d21e3973856d9f23ad0b1af9db831bac7
[ "MIT" ]
4
2019-11-08T00:15:13.000Z
2021-03-26T13:34:50.000Z
AllGames/base/share_data/default_init_zip/shader/tech_textchannel-3.inl
DexianZhao/PhantomGameEngine
cf8e341d21e3973856d9f23ad0b1af9db831bac7
[ "MIT" ]
4
2021-03-13T10:26:09.000Z
2021-03-13T10:45:35.000Z
AllGames/base/share_data/default_init_zip/shader/tech_textchannel-3.inl
DexianZhao/PhantomGameEngine
cf8e341d21e3973856d9f23ad0b1af9db831bac7
[ "MIT" ]
3
2020-06-01T01:53:05.000Z
2021-03-21T03:51:33.000Z
/*[DirectX9]*/ matrix MVP; int filterMin = 2; int filterMag = 2; int filterMip = 2; texture texture1; float4 textChannel; sampler sampler1 = sampler_state { Texture = <texture1>; MinFilter = POINT; MagFilter = POINT; MipFilter = POINT; }; struct VInput{ float4 Pos : POSITION; float3 Normal : Normal; float4...
19.827586
66
0.70087
DexianZhao
3c40b4a1cf4875babafc9fe982bfa08186acd959
806
cpp
C++
q10082v2.cpp
abraxaslee/ACM-ICPC
d8db31a4a2a36258bfba42a806b02bbf3eceaf2b
[ "MIT" ]
1
2018-03-19T05:18:49.000Z
2018-03-19T05:18:49.000Z
q10082v2.cpp
abraxaslee/ACM-ICPC
d8db31a4a2a36258bfba42a806b02bbf3eceaf2b
[ "MIT" ]
null
null
null
q10082v2.cpp
abraxaslee/ACM-ICPC
d8db31a4a2a36258bfba42a806b02bbf3eceaf2b
[ "MIT" ]
null
null
null
//q10082v2.cpp - 2011/09/09 //10082 - WERTYU //accepted at //run time = 0.012 #include <stdio.h> #include <string.h> using namespace std; int main(){ char ch[]={'`','1','2','3','4','5','6','7','8','9','0','-','=', 'Q','W','E','R','T','Y','U','I','O','P','[',']','\\', 'A','S...
23.028571
70
0.398263
abraxaslee
3c4215beae3902cf23ca9156ad3823a7fb9aec69
12,800
cpp
C++
src/goto-symex/build_goto_trace.cpp
dan-blank/yogar-cbmc
05b4f056b585b65828acf39546c866379dca6549
[ "MIT" ]
1
2017-07-25T02:44:56.000Z
2017-07-25T02:44:56.000Z
src/goto-symex/build_goto_trace.cpp
dan-blank/yogar-cbmc
05b4f056b585b65828acf39546c866379dca6549
[ "MIT" ]
1
2017-02-22T14:35:19.000Z
2017-02-27T08:49:58.000Z
src/goto-symex/build_goto_trace.cpp
dan-blank/yogar-cbmc
05b4f056b585b65828acf39546c866379dca6549
[ "MIT" ]
4
2019-01-19T03:32:21.000Z
2021-12-20T14:25:19.000Z
/*******************************************************************\ Module: Traces of GOTO Programs Author: Daniel Kroening Date: July 2005 \*******************************************************************/ #include <cassert> #include <util/threeval.h> #include <util/simplify_expr.h> #include <util/arith_t...
27.408994
86
0.634375
dan-blank
3c4a455f6d75898195fe66e4ad6918840f131cb6
2,356
cpp
C++
src/register/SegmentRegister.cpp
openx86/emulator
829454a2dbc99ffa3ccdf81f7473e69f8b8ce896
[ "Apache-2.0" ]
1
2022-01-16T18:24:32.000Z
2022-01-16T18:24:32.000Z
src/register/SegmentRegister.cpp
openx86/emulator
829454a2dbc99ffa3ccdf81f7473e69f8b8ce896
[ "Apache-2.0" ]
null
null
null
src/register/SegmentRegister.cpp
openx86/emulator
829454a2dbc99ffa3ccdf81f7473e69f8b8ce896
[ "Apache-2.0" ]
null
null
null
// // Created by 86759 on 2022-01-14. // #include "SegmentRegister.h" #include "SystemAddressRegister.h" segment_descriptor_t load_descriptor(uint32_t value) { uint32_t descriptor_index = value >> 3; uint32_t offset = descriptor_index * 64/8; const auto address = SystemAddressRegister::GDT + off...
44.45283
99
0.712224
openx86
3c4cef2edac1f22cb082cf3001941ea236bb1a3c
796
cpp
C++
Sources/Folders/ExtraCodes/FishCodes.cpp
MirayXS/Vapecord-ACNL-Plugin
247eb270dfe849eda325cc0c6adc5498d51de3ef
[ "MIT" ]
52
2020-01-17T08:12:04.000Z
2022-03-19T20:02:57.000Z
Sources/Folders/ExtraCodes/FishCodes.cpp
MirayXS/Vapecord-ACNL-Plugin
247eb270dfe849eda325cc0c6adc5498d51de3ef
[ "MIT" ]
67
2020-05-06T04:47:27.000Z
2022-03-31T16:25:19.000Z
Sources/Folders/ExtraCodes/FishCodes.cpp
MirayXS/Vapecord-ACNL-Plugin
247eb270dfe849eda325cc0c6adc5498d51de3ef
[ "MIT" ]
7
2021-01-20T17:42:25.000Z
2022-03-08T09:29:42.000Z
#include "cheats.hpp" #include "Helpers/Address.hpp" namespace CTRPluginFramework { //Fish Byte Always void FishAlwaysBiteRightAway(MenuEntry *entry) { static const Address fishbite(0x1EA844, 0x1EA288, 0x1EA864, 0x1EA864, 0x1EA7A0, 0x1EA7A0, 0x1EA76C, 0x1EA76C); if(entry->WasJustActivated()) Process::...
36.181818
114
0.729899
MirayXS
3c4d485b8d037c6db1a13c41aead2be4e41f4172
1,300
cc
C++
below2.1/okviri.cc
danzel-py/Kattis-Problem-Archive
bce1929d654b1bceb104f96d68c74349273dd1ff
[ "Apache-2.0" ]
null
null
null
below2.1/okviri.cc
danzel-py/Kattis-Problem-Archive
bce1929d654b1bceb104f96d68c74349273dd1ff
[ "Apache-2.0" ]
null
null
null
below2.1/okviri.cc
danzel-py/Kattis-Problem-Archive
bce1929d654b1bceb104f96d68c74349273dd1ff
[ "Apache-2.0" ]
null
null
null
#include <iostream> using namespace std; int main(){ string str; cin>>str; for (int i = 0; i < str.length(); i++) { if(i % 3 == 2){ cout<<"..*."; }else{ cout<<"..#."; } } cout<<".\n"; for (int i = 0; i < str.length(); i++) { if(i %...
18.309859
42
0.264615
danzel-py
3c4f3bc1c91e31be87122fea0d5e67ba119b3d43
2,983
cpp
C++
Chapter03/LibraryBasic/Book.cpp
linuxemb/datastructure
efc9e2ef897bf1f626b67d08c3892c8f41a008f9
[ "MIT" ]
25
2018-04-04T15:36:26.000Z
2021-11-08T13:12:21.000Z
Chapter03/LibraryBasic/Book.cpp
linuxemb/datastructure
efc9e2ef897bf1f626b67d08c3892c8f41a008f9
[ "MIT" ]
1
2021-06-29T04:14:07.000Z
2021-07-05T19:48:36.000Z
Chapter03/LibraryBasic/Book.cpp
linuxemb/datastructure
efc9e2ef897bf1f626b67d08c3892c8f41a008f9
[ "MIT" ]
16
2018-04-04T15:36:42.000Z
2022-02-07T08:31:16.000Z
#include <Set> #include <Map> #include <List> #include <String> #include <FStream> using namespace std; #include "Book.h" #include "Customer.h" #include "Library.h" int Book::MaxBookId = 0; Book::Book(void) { // Empty. } Book::Book(const string& author, const string& title) :m_bookId(++MaxBookId), m_author(aut...
23.304688
65
0.663091
linuxemb
3c50d0e01474815b4c2160695d4db8a48f26b07a
1,107
hpp
C++
Server/Server.hpp
Stun3R/Epitech-R-Type
3d6ef3bd5a937f50de996de2395c43c5115f0776
[ "MIT" ]
null
null
null
Server/Server.hpp
Stun3R/Epitech-R-Type
3d6ef3bd5a937f50de996de2395c43c5115f0776
[ "MIT" ]
null
null
null
Server/Server.hpp
Stun3R/Epitech-R-Type
3d6ef3bd5a937f50de996de2395c43c5115f0776
[ "MIT" ]
null
null
null
/* ** EPITECH PROJECT, 2021 ** R-TYPE ** File description: ** Created by stun3r, */ #ifndef SERVER_HPP #define SERVER_HPP #include "Room/Room.hpp" class Server { public: Server(); ~Server(); void run(); void startReceive(); void refresh(); private: void handleReceive(const boost::system::error_code &, ...
20.5
95
0.709124
Stun3R
3c594b0eb36a7306dbd96c581c3e8e92eb371ce0
3,421
cpp
C++
src/core/tree/double_property.cpp
lii-enac/djnn-cpp
f27c5ba3186186ee22c93ae91c16063556e929b6
[ "BSD-2-Clause" ]
4
2018-09-11T14:27:57.000Z
2019-12-16T21:06:26.000Z
src/core/tree/double_property.cpp
lii-enac/djnn-cpp
f27c5ba3186186ee22c93ae91c16063556e929b6
[ "BSD-2-Clause" ]
null
null
null
src/core/tree/double_property.cpp
lii-enac/djnn-cpp
f27c5ba3186186ee22c93ae91c16063556e929b6
[ "BSD-2-Clause" ]
2
2018-06-11T14:15:30.000Z
2019-01-09T12:23:35.000Z
/* * djnn v2 * * The copyright holders for the contents of this file are: * Ecole Nationale de l'Aviation Civile, France (2018-2019) * See file "license.terms" for the rights and conditions * defined by copyright holders. * * * Contributors: * Mathieu Magnaudet <mathieu.magnaudet@enac.fr> * ...
25.529851
124
0.665303
lii-enac
3c596be6e3144042d1bed3be644e4c3d00aa4b60
1,224
cpp
C++
exploringBB/chp10/cgicc/LED.cpp
chaicko/ExploringBeagleBone
56528557e7d9a328602c65f1b2d837906cb08952
[ "Apache-2.0" ]
1
2019-05-28T18:38:29.000Z
2019-05-28T18:38:29.000Z
exploringBB/chp10/cgicc/LED.cpp
chaicko/ExploringBeagleBone
56528557e7d9a328602c65f1b2d837906cb08952
[ "Apache-2.0" ]
null
null
null
exploringBB/chp10/cgicc/LED.cpp
chaicko/ExploringBeagleBone
56528557e7d9a328602c65f1b2d837906cb08952
[ "Apache-2.0" ]
null
null
null
#include "LED.h" LED::LED(int number){ this->number = number; // much easier with C++11 using to_string(number) ostringstream s; // using a stream to contruct the path s << LED_PATH << number; //append LED number to LED_PATH path = string(s.str()); //convert back from stream to string } void LE...
23.538462
66
0.601307
chaicko
3c5f504f277e4122e1395f9e39f9dd30f9e43831
1,587
cc
C++
test/h265_sps_scc_extension_parser_unittest.cc
sivapatibandla/h265nal
d128722c717e0656ae64a9fc386c9725bcd26da3
[ "BSD-3-Clause" ]
6
2020-10-05T21:55:52.000Z
2022-03-20T13:28:21.000Z
test/h265_sps_scc_extension_parser_unittest.cc
sivapatibandla/h265nal
d128722c717e0656ae64a9fc386c9725bcd26da3
[ "BSD-3-Clause" ]
5
2020-10-26T13:48:11.000Z
2022-01-28T01:47:19.000Z
test/h265_sps_scc_extension_parser_unittest.cc
sivapatibandla/h265nal
d128722c717e0656ae64a9fc386c9725bcd26da3
[ "BSD-3-Clause" ]
4
2020-10-06T21:08:59.000Z
2022-03-21T06:05:55.000Z
/* * Copyright (c) Facebook, Inc. and its affiliates. */ #include "h265_sps_scc_extension_parser.h" #include <gmock/gmock.h> #include <gtest/gtest.h> #include "h265_common.h" #include "rtc_base/arraysize.h" #include "rtc_base/bit_buffer.h" namespace h265nal { class H265SpsSccExtensionParserTest : public ::testi...
33.0625
80
0.768746
sivapatibandla
3c6523550f9e948f6130c60fbdaeed277dbce5a3
1,353
hpp
C++
sdk/structs.hpp
Nixer1337/gmod-sdk
482c66989e0f55bd7b52bb0bee48b0b0b2bb893f
[ "MIT" ]
6
2020-03-30T05:11:50.000Z
2021-02-08T02:26:29.000Z
sdk/structs.hpp
Nixer1337/gmod-sdk
482c66989e0f55bd7b52bb0bee48b0b0b2bb893f
[ "MIT" ]
1
2020-12-05T11:18:51.000Z
2020-12-27T18:34:22.000Z
sdk/structs.hpp
Nixer1337/gmod-sdk
482c66989e0f55bd7b52bb0bee48b0b0b2bb893f
[ "MIT" ]
2
2020-03-24T15:27:38.000Z
2022-03-03T17:32:31.000Z
#pragma once #include "vfunc.hpp" #include "../utilities/utilities.hpp" #include "../utilities/math.hpp" #include "../utilities/netvars.hpp" #define NETVAR(type, name, table, netvar) \ type& name##() const { \ static const auto _##name = Netvars::GetOffset(hash::fnv1a_32(table), hash::fnv1a_32(netvar)); \ return...
23.327586
98
0.716925
Nixer1337
3c664286581b4bceda140fe32248da790b15559b
269
cpp
C++
12-coding-practice-problems/12.40-functions-number-to-words/main.cpp
trangnart/cis22a
498a7b37d12a13efa7749849dc95d9892d1786be
[ "MIT" ]
2
2020-09-04T22:06:06.000Z
2020-09-09T04:00:25.000Z
12-coding-practice-problems/12.40-functions-number-to-words/main.cpp
trangnart/cis22a
498a7b37d12a13efa7749849dc95d9892d1786be
[ "MIT" ]
14
2020-08-24T01:44:36.000Z
2021-01-01T08:44:17.000Z
12-coding-practice-problems/12.40-functions-number-to-words/main.cpp
trangnart/cis22a
498a7b37d12a13efa7749849dc95d9892d1786be
[ "MIT" ]
1
2020-09-04T22:13:13.000Z
2020-09-04T22:13:13.000Z
#include <iostream> #include <string> using namespace std; string DigitToWord(int digitIn) { // FINISH } string TensDigitToWord(int digitIn) { // FINISH } string TwoDigitNumToWords(int numIn) { // FINISH } int main() { // FINISH return 0; }
8.966667
38
0.643123
trangnart
3c69914c1a2306008d9e2f042155d8a0ddae948a
6,599
hpp
C++
ql/models/shortrate/twofactormodels/g2.hpp
SoftwareIngenieur/QuantLib
7a59dd749869f7a679536df322482bf9c6531d38
[ "BSD-3-Clause" ]
null
null
null
ql/models/shortrate/twofactormodels/g2.hpp
SoftwareIngenieur/QuantLib
7a59dd749869f7a679536df322482bf9c6531d38
[ "BSD-3-Clause" ]
null
null
null
ql/models/shortrate/twofactormodels/g2.hpp
SoftwareIngenieur/QuantLib
7a59dd749869f7a679536df322482bf9c6531d38
[ "BSD-3-Clause" ]
null
null
null
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Copyright (C) 2001, 2002, 2003 Sadruddin Rejeb Copyright (C) 2004 Mike Parker This file is part of QuantLib, a free-software/open-source library for financial quantitative analysts and developers - http://quantlib.org/ QuantLib i...
34.19171
95
0.537203
SoftwareIngenieur
3c6c6344c979d9380ecd68baee34ced672ac3cf7
957
hpp
C++
include/blackhole/config/json.hpp
JakariaBlaine/blackhole
e340329c6e2e3166858d8466656ad12300b686bd
[ "MIT" ]
193
2015-01-05T08:48:05.000Z
2022-01-31T22:04:01.000Z
include/blackhole/config/json.hpp
JakariaBlaine/blackhole
e340329c6e2e3166858d8466656ad12300b686bd
[ "MIT" ]
135
2015-01-13T13:02:49.000Z
2022-01-12T15:06:48.000Z
include/blackhole/config/json.hpp
JakariaBlaine/blackhole
e340329c6e2e3166858d8466656ad12300b686bd
[ "MIT" ]
40
2015-01-21T16:37:30.000Z
2022-01-25T15:54:04.000Z
#pragma once #include <memory> #include "factory.hpp" namespace blackhole { inline namespace v1 { namespace config { class json_t; template<> class factory_traits<json_t> { public: /// Constructs and initializes the JSON config factory by reading the given stream reference /// until EOF and parsing its con...
25.864865
97
0.684431
JakariaBlaine
3c6c86b19599f0796b26798ce8f6030d24436cc9
1,725
cpp
C++
Day_18/03_Diameter.cpp
premnaaath/SDE-180
6d7cc2404d310600a81adaa652049172f2e10ed8
[ "MIT" ]
null
null
null
Day_18/03_Diameter.cpp
premnaaath/SDE-180
6d7cc2404d310600a81adaa652049172f2e10ed8
[ "MIT" ]
null
null
null
Day_18/03_Diameter.cpp
premnaaath/SDE-180
6d7cc2404d310600a81adaa652049172f2e10ed8
[ "MIT" ]
null
null
null
// Problem Link: // https://leetcode.com/problems/diameter-of-binary-tree/ // Approach 1 // TC: O(n^2) // SC: O(n) // Approach 2 // TC: O(n) // SC: O(n) #include <bits/stdc++.h> using namespace std; #define ll long long #define deb(x) cout << #x << ": " << x << "\n" class TreeNode { public: TreeNode *left; ...
19.166667
70
0.602899
premnaaath
3c71ba99bd1635633681209b7552b93ae1c90c87
18,068
cpp
C++
ksp_plugin_test/plugin_compatibility_test.cpp
net-lisias-ksp/Principia
9292ea1fc2e4b4f0ce7a717e2f507168519f5f8a
[ "MIT" ]
2
2016-02-14T21:18:48.000Z
2017-02-11T23:23:20.000Z
ksp_plugin_test/plugin_compatibility_test.cpp
net-lisias-ksp/Principia
9292ea1fc2e4b4f0ce7a717e2f507168519f5f8a
[ "MIT" ]
1
2015-07-27T21:27:46.000Z
2015-07-27T21:27:46.000Z
ksp_plugin_test/plugin_compatibility_test.cpp
pleroy/Principia
64c4c6c124f4744381b6489e39e6b53e2a440ce9
[ "MIT" ]
null
null
null
 #include <memory> #include <string> #include <utility> #include <vector> #include "astronomy/time_scales.hpp" #include "astronomy/mercury_orbiter.hpp" #include "base/array.hpp" #include "base/file.hpp" #include "base/not_null.hpp" #include "base/pull_serializer.hpp" #include "base/push_deserializer.hpp" #include "ba...
42.713948
80
0.615176
net-lisias-ksp
3c72d81813c24325c2bfd0bd6d81a1d1889a6ef8
1,661
cpp
C++
ql/time/calendars/bespokecalendar.cpp
haozhangphd/QuantLib-noBoost
ddded069868161099843c04840454f00816113ad
[ "BSD-3-Clause" ]
76
2017-06-28T21:24:38.000Z
2021-12-19T18:07:37.000Z
ql/time/calendars/bespokecalendar.cpp
haozhangphd/QuantLib-noBoost
ddded069868161099843c04840454f00816113ad
[ "BSD-3-Clause" ]
2
2017-07-05T09:20:13.000Z
2019-10-31T12:06:51.000Z
ql/time/calendars/bespokecalendar.cpp
haozhangphd/QuantLib-noBoost
ddded069868161099843c04840454f00816113ad
[ "BSD-3-Clause" ]
34
2017-07-02T14:49:21.000Z
2021-11-26T15:32:04.000Z
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Copyright (C) 2008 StatPro Italia srl This file is part of QuantLib, a free-software/open-source library for financial quantitative analysts and developers - http://quantlib.org/ QuantLib is free software: you can redistribute it ...
29.660714
79
0.698374
haozhangphd
3c79c64fef31c1470dd78139d88b29c7c6498fd7
1,344
cpp
C++
artifact/storm/src/storm/builder/jit/JitModelBuilderInterface.cpp
glatteis/tacas21-artifact
30b4f522bd3bdb4bebccbfae93f19851084a3db5
[ "MIT" ]
null
null
null
artifact/storm/src/storm/builder/jit/JitModelBuilderInterface.cpp
glatteis/tacas21-artifact
30b4f522bd3bdb4bebccbfae93f19851084a3db5
[ "MIT" ]
null
null
null
artifact/storm/src/storm/builder/jit/JitModelBuilderInterface.cpp
glatteis/tacas21-artifact
30b4f522bd3bdb4bebccbfae93f19851084a3db5
[ "MIT" ]
1
2022-02-05T12:39:53.000Z
2022-02-05T12:39:53.000Z
#include "storm/builder/jit/JitModelBuilderInterface.h" #include "storm/adapters/RationalFunctionAdapter.h" namespace storm { namespace builder { namespace jit { template <typename IndexType, typename ValueType> JitModelBuilderInterface<IndexType, ValueType>::JitModelB...
43.354839
205
0.671131
glatteis
3c7bbe87cadb94597644da05b31063719b764295
5,965
cpp
C++
tests/simple/test_model_cereal.cpp
GasparQ/Cerealization
42ed8e78fc42f7e032633eb5c06635cb92980c59
[ "MIT" ]
1
2018-03-16T08:51:35.000Z
2018-03-16T08:51:35.000Z
tests/simple/test_model_cereal.cpp
GasparQ/Cerealization
42ed8e78fc42f7e032633eb5c06635cb92980c59
[ "MIT" ]
null
null
null
tests/simple/test_model_cereal.cpp
GasparQ/Cerealization
42ed8e78fc42f7e032633eb5c06635cb92980c59
[ "MIT" ]
null
null
null
// // Created by GasparQ on 03/04/2018. // #include <cassert> #include <iostream> #include <typeinfo> #include "Cerealizable/Scalar.hpp" #include "Cerealizable/List.hpp" #include "Cerealizable/Tuple.hpp" #include "Cerealizable/Object.hpp" #include "Cerealizer/Binary/Binary.hpp" #include "Cerealizer/JSON/JSON.hpp" u...
40.578231
192
0.652473
GasparQ
3c815e863e22a09ba29c0a09896d2983aaa9a55e
153
cpp
C++
lib/src/public.cpp
nontan-rh/cpp-template
b0b618307b54a432c3a18af308f887a21a57dccd
[ "Unlicense" ]
1
2020-11-18T08:43:11.000Z
2020-11-18T08:43:11.000Z
lib/src/public.cpp
nontan-rh/cpp-template
b0b618307b54a432c3a18af308f887a21a57dccd
[ "Unlicense" ]
null
null
null
lib/src/public.cpp
nontan-rh/cpp-template
b0b618307b54a432c3a18af308f887a21a57dccd
[ "Unlicense" ]
null
null
null
#include <sample/public.hpp> #include "internal.hpp" namespace sample { int add(int a, int b) { return internal::sub(a, -b); } } // namespace sample
15.3
54
0.673203
nontan-rh
3c8416e8d972c5e20dd3215b9755f9271cb4f4e4
618
hpp
C++
sdl1/TicTacToe/BoardInputComponent.hpp
pdpdds/sdldualsystem
d74ea84cbea705fef62868ba8c693bf7d2555636
[ "BSD-2-Clause" ]
null
null
null
sdl1/TicTacToe/BoardInputComponent.hpp
pdpdds/sdldualsystem
d74ea84cbea705fef62868ba8c693bf7d2555636
[ "BSD-2-Clause" ]
null
null
null
sdl1/TicTacToe/BoardInputComponent.hpp
pdpdds/sdldualsystem
d74ea84cbea705fef62868ba8c693bf7d2555636
[ "BSD-2-Clause" ]
null
null
null
#ifndef __BOARDINPUTCOMPONENT_H #define __BOARDINPUTCOMPONENT_H #include "InputComponent.hpp" #include "SDL.h" class BoardInputComponent : public InputComponent { public: virtual void update( GameState *obj, GameEngine *engine ); BoardInputComponent( GameBoard *board, SDL_Event *event ); ~BoardInputComponent...
20.6
60
0.749191
pdpdds
3c898ce133d81b6a3813845c6ebac9b33717451f
9,472
cpp
C++
GazeboFluidSimulator/FluidSimulator.cpp
ManosAgelidis/SPlisHSPlasH
c206ce867c15104a70e05e4e8792072ca9b364a3
[ "MIT" ]
null
null
null
GazeboFluidSimulator/FluidSimulator.cpp
ManosAgelidis/SPlisHSPlasH
c206ce867c15104a70e05e4e8792072ca9b364a3
[ "MIT" ]
null
null
null
GazeboFluidSimulator/FluidSimulator.cpp
ManosAgelidis/SPlisHSPlasH
c206ce867c15104a70e05e4e8792072ca9b364a3
[ "MIT" ]
null
null
null
#include "SPlisHSPlasH/Common.h" #include "SPlisHSPlasH/TimeManager.h" #include "Utilities/OBJLoader.h" #include "SPlisHSPlasH/Utilities/SurfaceSampling.h" #include "SPlisHSPlasH/Viscosity/ViscosityBase.h" #include <fstream> #include "SPlisHSPlasH/Simulation.h" #include "FluidSimulator.h" #include "Utilities/Timing.h" ...
34.823529
194
0.694785
ManosAgelidis
3c8aa450c85ee35f33e7ec707c374146b4c4a929
792
cpp
C++
Leetcode/construct_binary_search_tree.cpp
amrfahmyy/Problem-Solving
4c7540a1df3c4be206fc6dc6c77d754b513b314f
[ "Apache-2.0" ]
null
null
null
Leetcode/construct_binary_search_tree.cpp
amrfahmyy/Problem-Solving
4c7540a1df3c4be206fc6dc6c77d754b513b314f
[ "Apache-2.0" ]
null
null
null
Leetcode/construct_binary_search_tree.cpp
amrfahmyy/Problem-Solving
4c7540a1df3c4be206fc6dc6c77d754b513b314f
[ "Apache-2.0" ]
1
2021-04-02T14:20:11.000Z
2021-04-02T14:20:11.000Z
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ class Solution { public: int id; TreeNode* solve(vector<int>& preorder , int limit ){ if(id >= preorder.size(...
20.842105
59
0.525253
amrfahmyy
3c937dfd6c6cbc326643346943b5242e24a5697f
3,170
cpp
C++
RedneckEngine/TestCube.cpp
TheHolyBell/RedneckEngine
3534b24de3ef5336bec9f7b04c31cbb4a5b8cc6e
[ "MIT" ]
null
null
null
RedneckEngine/TestCube.cpp
TheHolyBell/RedneckEngine
3534b24de3ef5336bec9f7b04c31cbb4a5b8cc6e
[ "MIT" ]
null
null
null
RedneckEngine/TestCube.cpp
TheHolyBell/RedneckEngine
3534b24de3ef5336bec9f7b04c31cbb4a5b8cc6e
[ "MIT" ]
null
null
null
#include "TestCube.h" #include "Cube.h" #include "BindableCodex.h" #include "ImGui\imgui.h" #include "BindableCommon.h" #include "Texture.h" #include "Sampler.h" #include "TransformCbufDoubleBoi.h" #include "DepthStencil.h" using namespace DirectX; TestCube::TestCube(Graphics& gfx, float size) { using namespace Bind...
27.327586
87
0.714196
TheHolyBell
3c9440e837a8092f0aa831c54ba9f3b65900d62e
2,969
cpp
C++
Behaviour/Source/Behaviour/BehaviourModifier.cpp
DeLaMercedRichard/AIbs_Demo
e5a1d2e870c1d0919d456df31f34fe0520b6975d
[ "MIT" ]
1
2020-04-05T22:10:34.000Z
2020-04-05T22:10:34.000Z
Behaviour/Source/Behaviour/BehaviourModifier.cpp
DeLaMercedRichard/AIbs_Demo
e5a1d2e870c1d0919d456df31f34fe0520b6975d
[ "MIT" ]
null
null
null
Behaviour/Source/Behaviour/BehaviourModifier.cpp
DeLaMercedRichard/AIbs_Demo
e5a1d2e870c1d0919d456df31f34fe0520b6975d
[ "MIT" ]
1
2020-02-04T11:36:54.000Z
2020-02-04T11:36:54.000Z
#include "BehaviourModifier.h" BehaviourModifier::BehaviourModifier() { } BehaviourModifier::~BehaviourModifier() { //Do I still Delete ID? //Or just set it to nullptr delete ID; ID = nullptr; } void BehaviourModifier::AttachID(std::string &ID_) { *ID = ID_; } void BehaviourModifier::GenerateGenderTrait(boo...
17.993939
114
0.748063
DeLaMercedRichard
3c961b08ca4de85f011a68851f48edffdc14be40
4,332
cpp
C++
utils/Utils.cpp
turol/smaaDemo
d6e02955b1b5396162d2ba67b78798e43cebfc57
[ "MIT" ]
64
2015-10-30T10:06:24.000Z
2022-03-10T01:47:25.000Z
utils/Utils.cpp
turol/smaaDemo
d6e02955b1b5396162d2ba67b78798e43cebfc57
[ "MIT" ]
7
2015-11-29T09:52:37.000Z
2020-12-14T11:00:33.000Z
utils/Utils.cpp
turol/smaaDemo
d6e02955b1b5396162d2ba67b78798e43cebfc57
[ "MIT" ]
5
2015-12-28T21:07:20.000Z
2021-01-28T09:25:36.000Z
/* Copyright (c) 2015-2021 Alternative Games Ltd / Turo Lamminen Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, ...
23.416216
80
0.695522
turol
3c9675a5b03d019456953620329634d31e6c657b
5,188
hpp
C++
domain/include/cstone/util/util.hpp
j-piccinali/SPH-EXA_mini-app
c3ba4d37f2edf433710d5c0bc2362ec35e75df32
[ "MIT" ]
14
2019-03-18T12:51:43.000Z
2021-11-09T14:40:36.000Z
domain/include/cstone/util/util.hpp
j-piccinali/SPH-EXA_mini-app
c3ba4d37f2edf433710d5c0bc2362ec35e75df32
[ "MIT" ]
41
2019-10-08T19:53:55.000Z
2021-11-23T06:56:03.000Z
domain/include/cstone/util/util.hpp
j-piccinali/SPH-EXA_mini-app
c3ba4d37f2edf433710d5c0bc2362ec35e75df32
[ "MIT" ]
8
2019-06-20T07:11:52.000Z
2021-10-05T13:44:07.000Z
/* * MIT License * * Copyright (c) 2021 CSCS, ETH Zurich * 2021 University of Basel * * 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 with...
32.223602
102
0.707016
j-piccinali
3c977fa0b4aff05ed2221cfc9967e8e5ed81746e
5,583
hpp
C++
core/KVMESC.hpp
Domaman202/DmNKVM
e867f5369426954ad7836aba47cc86f9b657d5b2
[ "MIT" ]
1
2021-07-24T14:33:54.000Z
2021-07-24T14:33:54.000Z
core/KVMESC.hpp
Domaman202/DmNKVM
e867f5369426954ad7836aba47cc86f9b657d5b2
[ "MIT" ]
null
null
null
core/KVMESC.hpp
Domaman202/DmNKVM
e867f5369426954ad7836aba47cc86f9b657d5b2
[ "MIT" ]
null
null
null
#ifndef DMN_KVM_NO_USE_PRAGMA #pragma once #endif /* DMN_KVM_NO_USE_PRAGMA */ #ifndef DMN_KVM_ESC_HPP #define DMN_KVM_ESC_HPP #include "KVMTypes.hpp" #include <cstdint> namespace DmN::KVM { /// Объект (нет) который может быть инстансирован struct Instanceble_t { virtual Object_t *newInstance(Value_t *...
36.253247
113
0.475551
Domaman202
3c9a649771c9a9087e5c623efd774c7e68b059bc
6,747
cpp
C++
firmware/examples/4_temp_logger.cpp
monkbroc/makerkit
e6924eee209da662a47df9a5da1bf97d07ee599d
[ "BSD-3-Clause" ]
3
2019-03-20T01:23:22.000Z
2020-09-17T20:04:48.000Z
firmware/examples/4_temp_logger.cpp
monkbroc/makerkit
e6924eee209da662a47df9a5da1bf97d07ee599d
[ "BSD-3-Clause" ]
null
null
null
firmware/examples/4_temp_logger.cpp
monkbroc/makerkit
e6924eee209da662a47df9a5da1bf97d07ee599d
[ "BSD-3-Clause" ]
null
null
null
/************************************************************************ This sketch reads the temperature from a OneWire device and then publishes to the Particle cloud. From there, IFTTT can be used to log the date, time, and temperature to a Google Spreadsheet. Read more in our tutorial here: http://docs.particle.i...
31.528037
98
0.625019
monkbroc
3c9a7c548c0ee4a27e8807207146ef45e767a93b
2,030
cpp
C++
src/126.word_ladder_ii/code.cpp
cloudzfy/leetcode
9d32090429ef297e1f62877382bff582d247266a
[ "MIT" ]
1
2016-07-02T17:44:10.000Z
2016-07-02T17:44:10.000Z
src/126.word_ladder_ii/code.cpp
cloudzfy/leetcode
9d32090429ef297e1f62877382bff582d247266a
[ "MIT" ]
null
null
null
src/126.word_ladder_ii/code.cpp
cloudzfy/leetcode
9d32090429ef297e1f62877382bff582d247266a
[ "MIT" ]
1
2019-12-21T04:57:15.000Z
2019-12-21T04:57:15.000Z
class Solution { private: unordered_map<string, int> pathLevel; unordered_map<string, vector<string>> nextNode; vector<vector<string>> ans; public: vector<vector<string>> findLadders(string beginWord, string endWord, unordered_set<string> &wordList) { bfs(wordList, beginWord, endWord); v...
35.614035
107
0.519704
cloudzfy
3c9df28370629a72fd052162faba89972dee0c8d
17,105
cxx
C++
logger/dnk_biphasic_offset_cli.cxx
trotill/11parts_CPP
53a69d516fdcb5c92b591b5dadc49dfdd2a3b26b
[ "MIT" ]
null
null
null
logger/dnk_biphasic_offset_cli.cxx
trotill/11parts_CPP
53a69d516fdcb5c92b591b5dadc49dfdd2a3b26b
[ "MIT" ]
null
null
null
logger/dnk_biphasic_offset_cli.cxx
trotill/11parts_CPP
53a69d516fdcb5c92b591b5dadc49dfdd2a3b26b
[ "MIT" ]
null
null
null
/* * dnk_biphasic_offset_cli.cxx * * Created on: 30 сент. 2019 г. * Author: root */ #include "dnk_biphasic_offset_cli.h" #ifdef _HIREDIS eErrorTp dnk_biphasic_offset_cli::make_selection_by_interval(u64 ts_start_ms,u64 ts_stop_ms,u32 limit,rapidjson::Document & result_root){ if (fault==ERROR){ GPRINT...
33.27821
203
0.676878
trotill
3c9e8d9a4280c66a313fd5fa0ffdc6e0ce66bd2b
8,008
cpp
C++
3rdparty/optee/optee_os/external/RIoT/Sample/Barnacle/Shared/Tool/BarT/helper.cpp
mrragava/ragava_openenclave_6
78ffbd4ce16ec698576c432ca1fa8340663ca229
[ "MIT" ]
null
null
null
3rdparty/optee/optee_os/external/RIoT/Sample/Barnacle/Shared/Tool/BarT/helper.cpp
mrragava/ragava_openenclave_6
78ffbd4ce16ec698576c432ca1fa8340663ca229
[ "MIT" ]
null
null
null
3rdparty/optee/optee_os/external/RIoT/Sample/Barnacle/Shared/Tool/BarT/helper.cpp
mrragava/ragava_openenclave_6
78ffbd4ce16ec698576c432ca1fa8340663ca229
[ "MIT" ]
null
null
null
#include "stdafx.h" std::vector<BYTE> ReadHex(std::wstring strIn) { std::vector<BYTE> dataOut(strIn.size() / 2); for (uint32_t cursor = 0; cursor < dataOut.size(); cursor++) { dataOut[cursor] = (BYTE)std::stoul(strIn.substr(cursor * 2, 2), NULL, 16); //if (swscanf_s(strIn.substr(cursor * 2...
37.074074
211
0.657717
mrragava
3ca0e624176ab8a4a10b23fa0108f3877cfd1cf1
1,966
cpp
C++
tests/ttl_cache/ttl_cache.cpp
alessandrolenzi/cpp-cachetools
d978d43e61f36cb1a9b5ed6e76b16203e9982cbe
[ "MIT" ]
null
null
null
tests/ttl_cache/ttl_cache.cpp
alessandrolenzi/cpp-cachetools
d978d43e61f36cb1a9b5ed6e76b16203e9982cbe
[ "MIT" ]
null
null
null
tests/ttl_cache/ttl_cache.cpp
alessandrolenzi/cpp-cachetools
d978d43e61f36cb1a9b5ed6e76b16203e9982cbe
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include "cpp_cachetools/policies.hpp" #include "cpp_cachetools/indexes.hpp" #include "cpp_cachetools/cache.hpp" #include "../fake_clock/fake_clock.hh" struct TTLTestCache: Cache<policies::Builder<policies::TTL<testing::fake_clock>::Class>::with_index<indexes::HashedIndex>::Class> {}; using na...
37.09434
133
0.696338
alessandrolenzi
3ca325f5fe2483cd02853e038b800d780fda921b
508
cpp
C++
src/SvgLib/OpenCommand.cpp
steneva/svg-lib
47a754f71be923bd75bfef35ab529c61702b93ae
[ "MIT" ]
2
2020-08-11T20:46:31.000Z
2020-08-14T09:51:02.000Z
src/SvgLib/OpenCommand.cpp
steneva/svg-lib
47a754f71be923bd75bfef35ab529c61702b93ae
[ "MIT" ]
null
null
null
src/SvgLib/OpenCommand.cpp
steneva/svg-lib
47a754f71be923bd75bfef35ab529c61702b93ae
[ "MIT" ]
null
null
null
#include "OpenCommand.h" bool OpenCommand::can_execute(const CommandContext& context) const { return !context.is_file_open(); } void OpenCommand::execute(const CommandContext& context) const { if (context.args_count() != 2) { throw CommandParamsException(); } const std::string path = context.arg(PATH_INDEX);...
22.086957
89
0.724409
steneva
3ca6a6dc39c20d86b71366e5026047f8e8783a7b
4,831
hpp
C++
source/cppx-core-language/syntax/collection-util/Sequence_.hpp
alf-p-steinbach/cppx-core-language
930351fe0df65e231e8e91998f1c94d345938107
[ "MIT" ]
3
2020-05-24T16:29:42.000Z
2021-09-10T13:33:15.000Z
source/cppx-core-language/syntax/collection-util/Sequence_.hpp
alf-p-steinbach/cppx-core-language
930351fe0df65e231e8e91998f1c94d345938107
[ "MIT" ]
null
null
null
source/cppx-core-language/syntax/collection-util/Sequence_.hpp
alf-p-steinbach/cppx-core-language
930351fe0df65e231e8e91998f1c94d345938107
[ "MIT" ]
null
null
null
#pragma once // Source encoding: UTF-8 with BOM (π is a firstcase Greek "pi"). #include <cppx-core-language/assert-cpp/is-c++17-or-later.hpp> #include <cppx-core-language/mix-in/Adapt_as_forward_iterator_.hpp> // cppx::mix_in::Adapt_as_forward_iterator_ #include <cppx-core-language/types/Truth.hpp> ...
32.863946
111
0.551025
alf-p-steinbach
3caa10eda52c9973047845c4ed92e2970aa3ef3b
1,724
cpp
C++
framework/Source/GPUImageLookupFilter.cpp
autolotto/GPUImage
35f499ce2f59bba92a1c82e2baa2ee4e54e88736
[ "BSD-3-Clause" ]
17
2015-02-28T13:16:21.000Z
2020-01-07T06:10:48.000Z
framework/Source/GPUImageLookupFilter.cpp
JonathanKranz/GPUImage
fcd9576822e4015dc4b1ac514c372d71cfb57b8a
[ "BSD-3-Clause" ]
2
2016-05-29T01:53:18.000Z
2016-09-02T01:15:39.000Z
framework/Source/GPUImageLookupFilter.cpp
JonathanKranz/GPUImage
fcd9576822e4015dc4b1ac514c372d71cfb57b8a
[ "BSD-3-Clause" ]
12
2015-06-19T07:26:39.000Z
2020-01-07T09:31:15.000Z
/** * Author: Alessio Placitelli * Contact: a.placitelli _@_ a2p.it * */ #include "GPUImageLookupFilter.h" const std::string GPUImageLookupFilter::kGPUImageLookupFragmentShaderString("\ varying highp vec2 textureCoordinate;\ varying highp vec2 textureCoordinate2;\ \ uniform sampler2D inputImageTexture;\ unif...
31.345455
98
0.656032
autolotto
3cb2e04465d34e08dcdedb41ff4160c31eadc078
2,660
cpp
C++
franka_low_level_simulation_driver/src/LowLevelDriver/DegreeOfFreedom.cpp
User-TGK/franka_robot_control
48d62b2056aca2226cbe5ac3914f01bef3659f49
[ "MIT" ]
3
2019-12-12T13:09:49.000Z
2021-09-07T09:08:56.000Z
franka_low_level_simulation_driver/src/LowLevelDriver/DegreeOfFreedom.cpp
User-TGK/franka_robot_control
48d62b2056aca2226cbe5ac3914f01bef3659f49
[ "MIT" ]
null
null
null
franka_low_level_simulation_driver/src/LowLevelDriver/DegreeOfFreedom.cpp
User-TGK/franka_robot_control
48d62b2056aca2226cbe5ac3914f01bef3659f49
[ "MIT" ]
null
null
null
#include <ros/ros.h> #include <DegreeOfFreedom.hpp> namespace RobotControl { namespace FrankaLowLevelDriver { DegreeOfFreedom::DegreeOfFreedom(unsigned short aChannel, unsigned long aMinPulseWidth, unsigned long aMaxPulseWidth, ...
26.078431
120
0.652256
User-TGK
3cb3a1595c943ad6f1312bb4eafc020e575f5649
255
cpp
C++
source/Main.cpp
Dovgalyuk/QemuGUI
12ac1522bc02e5635fcd7b873a465f38a562b641
[ "Apache-2.0" ]
null
null
null
source/Main.cpp
Dovgalyuk/QemuGUI
12ac1522bc02e5635fcd7b873a465f38a562b641
[ "Apache-2.0" ]
null
null
null
source/Main.cpp
Dovgalyuk/QemuGUI
12ac1522bc02e5635fcd7b873a465f38a562b641
[ "Apache-2.0" ]
null
null
null
#include "QEMU-GUI.h" #include <QApplication> int main(int argc, char *argv[]) { QApplication a(argc, argv); QEMUGUI w; //QObject::connect(&a, SIGNAL(aboutToQuit()), &w, SLOT(saveSettingsBeforeQuit())); w.show(); return a.exec(); }
18.214286
86
0.627451
Dovgalyuk
3cb6f0fca73939c5590d4a394b2aaae2f47a8cc5
7,545
cpp
C++
Milestone 5/Product.cpp
ariaav/OOP244
bcfc52bfff86b68e4f464e85b8555eef541741a0
[ "MIT" ]
null
null
null
Milestone 5/Product.cpp
ariaav/OOP244
bcfc52bfff86b68e4f464e85b8555eef541741a0
[ "MIT" ]
null
null
null
Milestone 5/Product.cpp
ariaav/OOP244
bcfc52bfff86b68e4f464e85b8555eef541741a0
[ "MIT" ]
null
null
null
// Aria Avazkhani //2018-07-31 //updated: 2018-08-08 #include "Product.h" namespace AMA { Product::Product(char type) { v_type = type; v_sku[0] = '\0'; v_unit[0] = '\0'; v_name = nullptr; v_qty = 0; v_need = 0; v_price = 0.0; v_status = false; } Product::Product(const char* sk...
21.618911
116
0.544599
ariaav
3cb73ff5d7cec0899102c859270959d80be1a58e
15,073
cpp
C++
40_cpnLearnTesting.cpp
KathrynLaing/CPNLearning
b5123f7f1fe5adda8a63a73ed117c67e282cea69
[ "MIT" ]
null
null
null
40_cpnLearnTesting.cpp
KathrynLaing/CPNLearning
b5123f7f1fe5adda8a63a73ed117c67e282cea69
[ "MIT" ]
null
null
null
40_cpnLearnTesting.cpp
KathrynLaing/CPNLearning
b5123f7f1fe5adda8a63a73ed117c67e282cea69
[ "MIT" ]
null
null
null
#include "40_cpnlTest.h" double dataAgreementWithFlips(string filename, int D, cpn cpnet){ //Calculates DFA between data and cpnet //filename tells us the location of the data - Assumed to be written on 1 comma separated line, each entry is an observed outcome //D tells us the number of data points //...
44.594675
207
0.569362
KathrynLaing
3cba5846488d51a78aa69fea139728e4b5c8400e
622
cpp
C++
SomeOpenMPFirst/order.cpp
Roomanidzee/cpp_projects
0474ca1bb9ce33c5a58d87ab4bd5c618e74328f8
[ "MIT" ]
null
null
null
SomeOpenMPFirst/order.cpp
Roomanidzee/cpp_projects
0474ca1bb9ce33c5a58d87ab4bd5c618e74328f8
[ "MIT" ]
null
null
null
SomeOpenMPFirst/order.cpp
Roomanidzee/cpp_projects
0474ca1bb9ce33c5a58d87ab4bd5c618e74328f8
[ "MIT" ]
null
null
null
// // Created by andrey on 19.09.18. // #include <iostream> #include <omp.h> #define N1 3 #define N2 1 int main(){ omp_set_num_threads(N1); #pragma omp parallel if(omp_get_max_threads() > 2) { if(omp_in_parallel()){ printf("Количество нитей: %d; Номер нити : %d\n", omp_get_num_threads(),...
18.848485
107
0.602894
Roomanidzee
3cbc021ff111d38ed567faa35393a52e3890d2be
767
cpp
C++
solved/r-t/tex-quotes/tex.cpp
abuasifkhan/pc-code
77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90
[ "Unlicense" ]
13
2015-09-30T19:18:04.000Z
2021-06-26T21:11:30.000Z
solved/r-t/tex-quotes/tex.cpp
sbmaruf/pc-code
77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90
[ "Unlicense" ]
null
null
null
solved/r-t/tex-quotes/tex.cpp
sbmaruf/pc-code
77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90
[ "Unlicense" ]
13
2015-01-04T09:49:54.000Z
2021-06-03T13:18:44.000Z
#include <cstdio> // I/O #define BUF 65536 struct Reader { char buf[BUF]; char b; int bi, bz; Reader() { bi=bz=0; read(); } void read() { if (bi==bz) { bi=0; bz = fread(buf, 1, BUF, stdin); } b = bz ? buf[bi++] : 0; } void process() { bool open = true; while (b != 0) {...
18.261905
61
0.324641
abuasifkhan
3cbe802b4fa7aa4df9f6916e8fcca2aa907a1a43
13,925
cpp
C++
software/test/testLogTable/main.cpp
greenenergyprojects/electro-vehicle-charger-met16
cf8c274da60ee8c340915f377c3b352e3ed3e552
[ "MIT" ]
1
2022-03-18T18:49:50.000Z
2022-03-18T18:49:50.000Z
software/test/testLogTable/main.cpp
greenenergyprojects/electro-vehicle-charger-met16
cf8c274da60ee8c340915f377c3b352e3ed3e552
[ "MIT" ]
null
null
null
software/test/testLogTable/main.cpp
greenenergyprojects/electro-vehicle-charger-met16
cf8c274da60ee8c340915f377c3b352e3ed3e552
[ "MIT" ]
null
null
null
#include <string> #include <stdint.h> #include <string.h> #include "mon.hpp" namespace std { uint8_t eep [E2END + 1]; void cli() {} void sei() {} void popSREG () {} void pushSREGAndCli () {} void eeprom_init () { for (int i = 0; i < sizeof(eep); i++) { eep[i] = 0xff; ...
32.611241
170
0.488977
greenenergyprojects
3cbea37cb4afc94db99bf6fa442ce481d8828b2a
3,410
inl
C++
clove/components/core/graphics/include/Clove/Graphics/Validation/ValidationQueue.inl
mondoo/Clove
3989dc3fea0d886a69005c1e0bb4396501f336f2
[ "MIT" ]
33
2020-01-09T04:57:29.000Z
2021-08-14T08:02:43.000Z
clove/components/core/graphics/include/Clove/Graphics/Validation/ValidationQueue.inl
mondoo/Clove
3989dc3fea0d886a69005c1e0bb4396501f336f2
[ "MIT" ]
234
2019-10-25T06:04:35.000Z
2021-08-18T05:47:41.000Z
clove/components/core/graphics/include/Clove/Graphics/Validation/ValidationQueue.inl
mondoo/Clove
3989dc3fea0d886a69005c1e0bb4396501f336f2
[ "MIT" ]
4
2020-02-11T15:28:42.000Z
2020-09-07T16:22:58.000Z
#include "Clove/Graphics/Validation/ValidationCommandBuffer.hpp" namespace clove { namespace detail { template<typename QueueType, typename BufferType> void initialiseBuffer(QueueType *queue, BufferType *buffer) { bool const allowBufferReuse{ (queue->getDescriptor().flags & QueueFlags::...
39.195402
252
0.707038
mondoo
3cc017bbd63a7a87c775f8cc3af8be787175083c
1,854
hpp
C++
tket/src/Utils/EigenConfig.hpp
NewGitter2017/tket
6ff81af26280770bf2ca80bfb2140e8fa98182aa
[ "Apache-2.0" ]
null
null
null
tket/src/Utils/EigenConfig.hpp
NewGitter2017/tket
6ff81af26280770bf2ca80bfb2140e8fa98182aa
[ "Apache-2.0" ]
null
null
null
tket/src/Utils/EigenConfig.hpp
NewGitter2017/tket
6ff81af26280770bf2ca80bfb2140e8fa98182aa
[ "Apache-2.0" ]
null
null
null
// Copyright 2019-2021 Cambridge Quantum Computing // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
27.671642
80
0.692017
NewGitter2017
3cc0b245fafc9db219b108d495c5a2fd1d701163
1,690
cpp
C++
mouselistener.cpp
YoungMetroid/Perceptron
25c9914b59af8bde2e53bdfa6b3301b1f4899623
[ "MIT" ]
null
null
null
mouselistener.cpp
YoungMetroid/Perceptron
25c9914b59af8bde2e53bdfa6b3301b1f4899623
[ "MIT" ]
null
null
null
mouselistener.cpp
YoungMetroid/Perceptron
25c9914b59af8bde2e53bdfa6b3301b1f4899623
[ "MIT" ]
null
null
null
#include "mouselistener.h" mouseListener::mouseListener():colorAzul(0),colorRojo(0) { } //type_class is the color RED or BLUE //The temps are the weight for each coordiante and the Bias //which are generated randomly void mouseListener::addObject(int &Xcoordinate, int &Ycoordinate, int type_class) { if(!checkIfEx...
23.802817
81
0.573964
YoungMetroid
3cc2bf3fce850f480abecf39f67d7e473583e934
11,673
cpp
C++
Photosynthesis(notManaged).cpp
ARS-CSGCL-DT/PhotoSynthesisModule
6493ea851e8c65e43ce0780b0f258a5a87ffb082
[ "Unlicense" ]
7
2016-01-10T07:05:28.000Z
2021-03-09T02:41:06.000Z
Photosynthesis(notManaged).cpp
ARS-CSGCL-DT/PhotoSynthesisModule
6493ea851e8c65e43ce0780b0f258a5a87ffb082
[ "Unlicense" ]
1
2018-02-28T12:46:36.000Z
2018-03-07T06:31:12.000Z
Photosynthesis(notManaged).cpp
ARS-CSGCL-DT/PhotoSynthesisModule
6493ea851e8c65e43ce0780b0f258a5a87ffb082
[ "Unlicense" ]
1
2016-06-16T19:37:35.000Z
2016-06-16T19:37:35.000Z
/*! @file * Defines the entry point for the console application. @author $Author \n */ #include "stdafx.h" #include "gas_exchange.h" #include <iostream> #include <fstream> #include <algorithm> #include <sstream> using namespace std; // uses std::string, a more generic method than CString /*! \namespace photomo...
41.83871
147
0.69014
ARS-CSGCL-DT
3ccab0df60fb79547d7b11c8b82c917295c6821a
3,025
cpp
C++
src/detail/helper_detail.cpp
Chrizzly/libunicomm
3aefc02445a5b1e047cc40daaddb7cf9b5082404
[ "BSL-1.0" ]
null
null
null
src/detail/helper_detail.cpp
Chrizzly/libunicomm
3aefc02445a5b1e047cc40daaddb7cf9b5082404
[ "BSL-1.0" ]
null
null
null
src/detail/helper_detail.cpp
Chrizzly/libunicomm
3aefc02445a5b1e047cc40daaddb7cf9b5082404
[ "BSL-1.0" ]
2
2019-03-16T07:07:16.000Z
2020-01-05T11:14:58.000Z
/////////////////////////////////////////////////////////////////////////////// // helper_detail.cpp // // unicomm - Unified Communication protocol C++ library. // // Unified Communication protocol different helper entities. // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICE...
22.574627
79
0.556364
Chrizzly
3cd0967970a5c88f259566148fb7865aba403e52
8,663
hpp
C++
inst/include/barry/counters-meat.hpp
USCbiostats/geese
0af2ade66a7da42737be613f6b8129347dcae4b2
[ "MIT" ]
8
2020-07-21T01:30:35.000Z
2022-03-09T15:51:14.000Z
inst/include/barry/counters-meat.hpp
USCbiostats/geese
0af2ade66a7da42737be613f6b8129347dcae4b2
[ "MIT" ]
2
2022-01-24T20:51:46.000Z
2022-03-16T23:08:40.000Z
include/barry/counters-meat.hpp
USCbiostats/barry
79c363b9f31d9ee03b3ae199e98c688ffc2abdd0
[ "MIT" ]
null
null
null
#include "counters-bones.hpp" #ifndef BARRY_COUNTERS_MEAT_HPP #define BARRY_COUNTERS_MEAT_HPP 1 #define COUNTER_TYPE() Counter<Array_Type,Data_Type> #define COUNTER_TEMPLATE_ARGS() <typename Array_Type, typename Data_Type> #define COUNTER_TEMPLATE(a,b) \ template COUNTER_TEMPLATE_ARGS() inline a COUNTER_TYPE():...
23.669399
102
0.606603
USCbiostats
3cd1cf2b435b86de97331c58e96ce1f6333d7a67
749
cpp
C++
_small_src_bucket/copy-move_functional.cpp
NesterovMaxim/all_mini_tests
d6837c28e3b6dfc3cfa12794168356dfd4810a0b
[ "MIT" ]
1
2018-02-27T14:29:50.000Z
2018-02-27T14:29:50.000Z
_small_src_bucket/copy-move_functional.cpp
NesterovMaxim/all_mini_tests
d6837c28e3b6dfc3cfa12794168356dfd4810a0b
[ "MIT" ]
null
null
null
_small_src_bucket/copy-move_functional.cpp
NesterovMaxim/all_mini_tests
d6837c28e3b6dfc3cfa12794168356dfd4810a0b
[ "MIT" ]
null
null
null
//clang 3.8.0 #include <iostream> #include <functional> using ft = std::function<void(int)>; void p(const char* m, int i){ std::cout << m << ":" << i << std::endl; } int i; class test{ int j; public: test(){j = ++i; p("ctor", j);} ~test(){p("dtor", j);} test(const test& t)...
15.285714
56
0.452603
NesterovMaxim
3cd729cf62a781dcee151b67ca80518d7e8f42e9
453
hpp
C++
addons/slingload/script_component.hpp
pterolatypus/sling-load-rigging
06f6b414b30127e60cc2a9440a693c77cbe9d9c3
[ "MIT" ]
1
2020-07-17T01:03:07.000Z
2020-07-17T01:03:07.000Z
addons/slingload/script_component.hpp
pterolatypus/sling-load-rigging
06f6b414b30127e60cc2a9440a693c77cbe9d9c3
[ "MIT" ]
3
2021-03-06T13:07:07.000Z
2021-10-20T19:27:49.000Z
addons/slingload/script_component.hpp
pterolatypus/sling-load-rigging
06f6b414b30127e60cc2a9440a693c77cbe9d9c3
[ "MIT" ]
1
2020-06-24T08:34:59.000Z
2020-06-24T08:34:59.000Z
#define COMPONENT slingload #define COMPONENT_BEAUTIFIED SlingLoad #include "\z\slr\addons\main\script_mod.hpp" // #define DEBUG_MODE_FULL // #define DISABLE_COMPILE_CACHE // #define CBA_DEBUG_SYNCHRONOUS // #define ENABLE_PERFORMANCE_COUNTERS #ifdef DEBUG_ENABLED_SLINGLOAD #define DEBUG_MODE_FULL #endif #ifdef ...
23.842105
51
0.816777
pterolatypus
3cd7ea9bdea035b78f83a2f9e1ad1163d4005848
1,167
cpp
C++
GameDownloaderTest/src/SimpleContinueHook.cpp
ProtocolONE/cord.game-downloader
90950019937cd2974801ca2f53ed3b4ecd1d219b
[ "Apache-2.0" ]
1
2019-08-07T06:13:15.000Z
2019-08-07T06:13:15.000Z
GameDownloaderTest/src/SimpleContinueHook.cpp
ProtocolONE/cord.game-downloader
90950019937cd2974801ca2f53ed3b4ecd1d219b
[ "Apache-2.0" ]
null
null
null
GameDownloaderTest/src/SimpleContinueHook.cpp
ProtocolONE/cord.game-downloader
90950019937cd2974801ca2f53ed3b4ecd1d219b
[ "Apache-2.0" ]
null
null
null
#include "SimpleContinueHook.h" #include <GameDownloader/GameDownloadService.h> #include <Core/Service.h> #include <QtCore/QDebug> SimpleContinueHook::SimpleContinueHook(int hookId, QList<int> *preList, QList<int> *postList) : HookBase(QString("hookId_%1").arg(hookId)) , _hookId(hookId) , _preList(preL...
29.175
100
0.696658
ProtocolONE
3cdc6867c40b40c46dc4aec91b5cea9e9d4048dd
340
cpp
C++
Project/src/Device/Device.cpp
svez-net/GFW
b9b455e0576c441cc53f0e8d7d295887afaf4c49
[ "MIT" ]
1
2016-05-11T01:23:20.000Z
2016-05-11T01:23:20.000Z
Project/src/Device/Device.cpp
svez-net/GFW
b9b455e0576c441cc53f0e8d7d295887afaf4c49
[ "MIT" ]
2
2016-05-19T08:37:00.000Z
2016-05-19T08:40:08.000Z
Project/src/Device/Device.cpp
khs2-net/GFW
b9b455e0576c441cc53f0e8d7d295887afaf4c49
[ "MIT" ]
null
null
null
/* using namespace GFW; Device::Device() { } Device::~Device() { } void Device::Begin(String str) { assert(this->device.find(str) == this->device.end()); this->stack.push_back(&this->device[str]); } void Device::End() { assert(this->stack_count,TEXT("Error:DeviceStackCount")); this->stack.pop_back(); if(this->...
17
58
0.655882
svez-net
3cdd89c091169a2aa6413844ea2b99ac09abc9dd
528
cpp
C++
4. Recursion/1_count_digit.cpp
manishhedau/Data-Structure-Algorithm
d45de87aa44d3af18d58fd59491993cf98dbe6fc
[ "MIT" ]
3
2021-02-01T07:56:21.000Z
2021-02-01T11:56:50.000Z
4. Recursion/1_count_digit.cpp
manishhedau/Data-Structure-Algorithm
d45de87aa44d3af18d58fd59491993cf98dbe6fc
[ "MIT" ]
null
null
null
4. Recursion/1_count_digit.cpp
manishhedau/Data-Structure-Algorithm
d45de87aa44d3af18d58fd59491993cf98dbe6fc
[ "MIT" ]
null
null
null
// Given an number N count How many digit present in that number /* Example :- Input :- N = 2000 Output :- 4 Input :- N = 12345678 Output :- 8 */ #include <iostream> using namespace std; int countDigit(int n) { if(n==0) return 0 ; int count = 1; n = n/10; return count+countDigit(n); } ...
14.27027
65
0.592803
manishhedau
3cdd9dfce99d7c2bda4e805c6e6b4ca1728e66d2
5,011
hpp
C++
inc/lak/window.hpp
LAK132/lak
cb7fbc8925d526bbd4f9318ccf572b395cdd01e3
[ "MIT", "Unlicense" ]
3
2021-07-12T02:32:50.000Z
2022-01-30T03:39:53.000Z
inc/lak/window.hpp
LAK132/lak
cb7fbc8925d526bbd4f9318ccf572b395cdd01e3
[ "MIT", "Unlicense" ]
1
2020-11-03T08:57:04.000Z
2020-11-03T09:04:41.000Z
inc/lak/window.hpp
LAK132/lak
cb7fbc8925d526bbd4f9318ccf572b395cdd01e3
[ "MIT", "Unlicense" ]
null
null
null
/* Typical usage for an OpenGL program: int main() { lak::core_init(); lak::window window(...); window.init_opengl(...); uint32_t framerate = 60; auto last_counter = lak::performance_counter(); // main loop while(...) { // event handlers // update code // draw code window.swap()...
23.199074
76
0.694073
LAK132
3cdf61068e32d08c7e615fb4ff00c6b9f144e8c6
3,596
cpp
C++
Practicafinal/conecta4_v2.1/src/arboltablero_test.cpp
guillegalor/PracticasED
5e4fbc830c79741997734003add6eae1ee736d61
[ "MIT" ]
null
null
null
Practicafinal/conecta4_v2.1/src/arboltablero_test.cpp
guillegalor/PracticasED
5e4fbc830c79741997734003add6eae1ee736d61
[ "MIT" ]
null
null
null
Practicafinal/conecta4_v2.1/src/arboltablero_test.cpp
guillegalor/PracticasED
5e4fbc830c79741997734003add6eae1ee736d61
[ "MIT" ]
null
null
null
#include <iostream> #include "ArbolGeneral.hpp" #include "tablero.hpp" #include <string> using namespace std; int main(int argc, char *argv[]){ //Tablero vacío 6x7 Tablero tablero(6, 7); //Manualmente se insertan algunos movimientos: tablero.colocarFicha(3); //Jugador 1 inserta ficha en columna 3 ...
39.086957
116
0.708287
guillegalor
3ce0829d8f8f47766099d258659642dea1740943
386
cpp
C++
pointimposters/NdfImposters/NdfImposterLibraryTests/selectionV.cpp
reinago/sndfs
0d152e6bf4f63d1468c8e91915a4ff970c978882
[ "MIT" ]
null
null
null
pointimposters/NdfImposters/NdfImposterLibraryTests/selectionV.cpp
reinago/sndfs
0d152e6bf4f63d1468c8e91915a4ff970c978882
[ "MIT" ]
null
null
null
pointimposters/NdfImposters/NdfImposterLibraryTests/selectionV.cpp
reinago/sndfs
0d152e6bf4f63d1468c8e91915a4ff970c978882
[ "MIT" ]
1
2021-11-19T15:30:43.000Z
2021-11-19T15:30:43.000Z
#version 420 in vec2 Position; out vec2 texCoords; void main() { gl_Position = vec4(Position.xy, 0.0f ,1.0f); gl_Position.x /=(.5f* 1280.0f); //gl_Position.x = gl_Position.x; gl_Position.y /= (.5f*720.0f); gl_Position.x -= 1f; gl_Position.y -= 1f; gl_Position.y *= -1.0f; texCoords = vec2(1.0f-Position...
18.380952
95
0.645078
reinago
c9e6865f455005a01f2ea3f3a1da44b9e4b15931
1,451
cpp
C++
FootSoldier.cpp
rotemish7/wargame-a
6c5d0cd5c5afe4a0187c38478b408e0ea7cd0661
[ "MIT" ]
null
null
null
FootSoldier.cpp
rotemish7/wargame-a
6c5d0cd5c5afe4a0187c38478b408e0ea7cd0661
[ "MIT" ]
null
null
null
FootSoldier.cpp
rotemish7/wargame-a
6c5d0cd5c5afe4a0187c38478b408e0ea7cd0661
[ "MIT" ]
null
null
null
// // Created by rotem levy on 27/05/2020. // #include "FootSoldier.hpp" FootSoldier::FootSoldier(uint player_number) { player_num = player_number; hp = MAX_HP; damage = -10; type = Type::FootSoldierType; } uint FootSoldier::getMaxHP() { return MAX_HP; } void FootSoldier::atta...
24.59322
93
0.465196
rotemish7
c9eb48dfea9c04d460ffd21cb5f3b927dd82e812
3,984
cpp
C++
engine/source/PADO/PADO_Object.cpp
Goldenbough44/PADO
a0fac1bb1cb61bafd27e11ac7046ef6ec49160d6
[ "MIT" ]
1
2021-08-13T04:39:53.000Z
2021-08-13T04:39:53.000Z
engine/source/PADO/PADO_Object.cpp
Goldenbough44/PADO
a0fac1bb1cb61bafd27e11ac7046ef6ec49160d6
[ "MIT" ]
2
2021-08-13T04:49:02.000Z
2022-03-25T19:20:56.000Z
engine/source/PADO/PADO_Object.cpp
Goldenbough44/PADO
a0fac1bb1cb61bafd27e11ac7046ef6ec49160d6
[ "MIT" ]
null
null
null
// // (c) 2019 Highwater Games Co. All Rights Reserved. // #include "PADO_Object.h" PADO_Object::PADO_Object() : position(0, 0) { } PADO_Object::~PADO_Object() { } void PADO_Object::Initialize() { } void PADO_Object::BeginPlay() { } void PADO_Object::Update() { } void PADO_Object::EndPlay() { } void...
24.145455
109
0.682229
Goldenbough44
c9ed10547ad050426ff7fa6c90f63326213c4b22
881
cpp
C++
WildMagic4/LibFoundation/Mathematics/Wm4Vector2.cpp
rms80/libgeometry
e60ec7d34968573a9cda3f3bf56d2d4717385dc9
[ "BSL-1.0" ]
23
2015-08-13T07:36:00.000Z
2022-01-24T19:00:04.000Z
WildMagic4/LibFoundation/Mathematics/Wm4Vector2.cpp
rms80/libgeometry
e60ec7d34968573a9cda3f3bf56d2d4717385dc9
[ "BSL-1.0" ]
null
null
null
WildMagic4/LibFoundation/Mathematics/Wm4Vector2.cpp
rms80/libgeometry
e60ec7d34968573a9cda3f3bf56d2d4717385dc9
[ "BSL-1.0" ]
6
2015-07-06T21:37:31.000Z
2020-07-01T04:07:50.000Z
// Geometric Tools, LLC // Copyright (c) 1998-2010 // Distributed under the Boost Software License, Version 1.0. // http://www.boost.org/LICENSE_1_0.txt // http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt // // File Version: 4.10.0 (2009/11/18) #include "Wm4FoundationPCH.h" #include "Wm4Vector2.h" ...
40.045455
67
0.710556
rms80
c9ee6afef62776cfed6f043a24baffe689015a98
16,405
cc
C++
wrappers/8.1.1/vtkBrushWrap.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/vtkBrushWrap.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/vtkBrushWrap.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 "vtkObjectWrap.h" #include "vtkBrushWrap.h" #include "vtkObjectBaseWrap.h" #include "vtkImageDataWrap.h" #include "../../plus/plus.h" using nam...
25.713166
106
0.654617
axkibe
c9ef9054639d5f33b2bcf68dd02a4e080b8813c9
550
cpp
C++
CppTranslate/sample_be.cpp
PooiaFerdowsi/Cpp-Translate
e41d32d9feb3ebb07e3b756a836ee215998f74fe
[ "MIT" ]
48
2020-03-25T16:52:10.000Z
2022-03-28T17:11:13.000Z
CppTranslate/sample_be.cpp
PooiaFerdowsi/Cpp-Translate
e41d32d9feb3ebb07e3b756a836ee215998f74fe
[ "MIT" ]
22
2021-04-22T14:48:17.000Z
2021-11-02T06:45:51.000Z
CppTranslate/sample_be.cpp
PooiaFerdowsi/Cpp-Translate
e41d32d9feb3ebb07e3b756a836ee215998f74fe
[ "MIT" ]
19
2020-06-09T22:29:05.000Z
2022-03-21T20:44:41.000Z
#include "be_belarusian.h" узор<кляса t> кляса прыклад { }; цэлы_лік зачатак() { статычны булеев элемент прыраўнай праўда; калі(элемент ілжывы) { вярні 1; } указка_на_поле_сыбалаў_які_закончаны_нулявым_сымбалем p = новы сымбаль[10]; p індэкс(0) прыраўнай 'c'; p індэкс(1) прыраўнай 0; выпіш(p); вярні 0; ...
12.222222
76
0.656364
PooiaFerdowsi
c9f0dfb3c7fb00695aa70c191a5177f22c3a2b10
1,806
cc
C++
sources/tests/stresstests.test.cc
arcanis/text-layout
bfa95293ed06c9b355e803968fceb00b421352ba
[ "Unlicense", "MIT" ]
22
2017-05-13T07:03:02.000Z
2021-11-08T08:34:42.000Z
sources/tests/stresstests.test.cc
arcanis/text-layout
bfa95293ed06c9b355e803968fceb00b421352ba
[ "Unlicense", "MIT" ]
null
null
null
sources/tests/stresstests.test.cc
arcanis/text-layout
bfa95293ed06c9b355e803968fceb00b421352ba
[ "Unlicense", "MIT" ]
5
2017-05-13T07:03:05.000Z
2020-05-25T06:19:03.000Z
#include "./framework.hh" TEST_CASE("stress test #1") { SETUP(""); for (auto t = 0u; t < 30; ++t) APPEND("Foo\n"); ASSERT_EQ(LINE_COUNT(), 31); ASSERT_EQ(TEXT(), "Foo\nFoo\nFoo\nFoo\nFoo\nFoo\nFoo\nFoo\nFoo\nFoo\nFoo\nFoo\nFoo\nFoo\nFoo\nFoo\nFoo\nFoo\nFoo\nFoo\nFoo\nFoo\nFoo\nFoo\nFoo\nFoo\n...
26.558824
176
0.582503
arcanis
c9f1d68067156e6683e47e5eef3b5cbfaedebc76
2,688
cpp
C++
workspace/src/render_world.cpp
nadnbuds/cs130
982dac98005dcf0675eacaf7b56a9ec6c53a8877
[ "MIT" ]
null
null
null
workspace/src/render_world.cpp
nadnbuds/cs130
982dac98005dcf0675eacaf7b56a9ec6c53a8877
[ "MIT" ]
null
null
null
workspace/src/render_world.cpp
nadnbuds/cs130
982dac98005dcf0675eacaf7b56a9ec6c53a8877
[ "MIT" ]
null
null
null
#include <vector> #include <limits> #include "render_world.h" #include "flat_shader.h" #include "object.h" #include "light.h" #include "ray.h" Render_World::Render_World() :background_shader(0),ambient_intensity(0),enable_shadows(true), recursion_depth_limit(3),disable_fresnel_reflection(false),disable_fresne...
27.151515
96
0.697545
nadnbuds
c9f6ee8d75a66e04607361715b3130bfa133d12d
1,706
hpp
C++
libs/core/include/fcppt/variant/object_impl.hpp
freundlich/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
13
2015-02-21T18:35:14.000Z
2019-12-29T14:08:29.000Z
libs/core/include/fcppt/variant/object_impl.hpp
cpreh/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
5
2016-08-27T07:35:47.000Z
2019-04-21T10:55:34.000Z
libs/core/include/fcppt/variant/object_impl.hpp
freundlich/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
8
2015-01-10T09:22:37.000Z
2019-12-01T08:31:12.000Z
// Copyright Carl Philipp Reh 2009 - 2021. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef FCPPT_VARIANT_OBJECT_IMPL_HPP_INCLUDED #define FCPPT_VARIANT_OBJECT_IMPL_HPP_INCLUDED #inc...
27.079365
93
0.721571
freundlich
c9f72b2e01bc87e5839ec3566dab21cfdfb8e6f7
1,433
cpp
C++
ARPREC/arprec-2.2.13/tests/pslq3_main.cpp
paveloom-p/P3
57df3b6263db81685f137a7ed9428dbd3c1b4a5b
[ "Unlicense" ]
null
null
null
ARPREC/arprec-2.2.13/tests/pslq3_main.cpp
paveloom-p/P3
57df3b6263db81685f137a7ed9428dbd3c1b4a5b
[ "Unlicense" ]
null
null
null
ARPREC/arprec-2.2.13/tests/pslq3_main.cpp
paveloom-p/P3
57df3b6263db81685f137a7ed9428dbd3c1b4a5b
[ "Unlicense" ]
null
null
null
#include <iostream> #include <iomanip> #include <cfloat> #include <cmath> #include <arprec/mp_real.h> #include <arprec/mp_int.h> #include "pslq3.h" #include "pslq_main.h" using std::cout; using std::endl; int main(int argc, char **argv) { int mode = 0; int n; int r = 7, s = 8; int nr_digits = 780; int n_...
21.712121
61
0.556874
paveloom-p
c9ffc6fba005eaeffb1a50e23e874db2db42d124
1,287
cpp
C++
graph-source-code/233-C/2345881.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/233-C/2345881.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/233-C/2345881.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
//Language: MS C++ #include <set> #include <cmath> #include <vector> #include <string> #include <cstdio> #include <iostream> #include <algorithm> using namespace std; int k, n; char m[110][110]; int main(){ #ifdef _DEBUG freopen("input.txt", "r", stdin); freopen("output.txt", "w", stdout); ...
21.098361
47
0.337995
AmrARaouf
a00568d228b315f5b91afcaa5af5c285916d3ff1
4,306
hpp
C++
Common/include/common/expected.hpp
foxostro/FlapjackOS
34bd2cc9b0983b917a089efe2055ca8f78d56d9a
[ "BSD-2-Clause" ]
null
null
null
Common/include/common/expected.hpp
foxostro/FlapjackOS
34bd2cc9b0983b917a089efe2055ca8f78d56d9a
[ "BSD-2-Clause" ]
null
null
null
Common/include/common/expected.hpp
foxostro/FlapjackOS
34bd2cc9b0983b917a089efe2055ca8f78d56d9a
[ "BSD-2-Clause" ]
null
null
null
#ifndef FLAPJACKOS_COMMON_INCLUDE_COMMON_EXPECTED_HPP #define FLAPJACKOS_COMMON_INCLUDE_COMMON_EXPECTED_HPP #include <cassert> #include "either.hpp" #include "error.hpp" template<typename T> class Expected { public: using Value = T; template<typename U> using Next = Expected<U>; Expected(const Value& val...
32.621212
79
0.640269
foxostro
a007ce907249b0cfa3b9d4e362fb7247fe6fc8b8
709
cpp
C++
src/serialize19.lib/serialize19/serialize.std_vector.test.cpp
Fettpet/co-cpp19
928a835c4f66032aa88ce01df7899da86d37df22
[ "MIT" ]
null
null
null
src/serialize19.lib/serialize19/serialize.std_vector.test.cpp
Fettpet/co-cpp19
928a835c4f66032aa88ce01df7899da86d37df22
[ "MIT" ]
null
null
null
src/serialize19.lib/serialize19/serialize.std_vector.test.cpp
Fettpet/co-cpp19
928a835c4f66032aa88ce01df7899da86d37df22
[ "MIT" ]
null
null
null
#include "ReadArchive.h" #include "dynamicWrite.h" #include "serialize.std_vector.h" #include <gtest/gtest.h> using namespace serialize19; TEST(serialize, std_vector) { using T = std::vector<int>; auto input = T{7, 13, 23}; auto buffer = dynamicWrite(input); auto reader = ReadArchive{...
20.852941
47
0.626234
Fettpet
a00e03ef5e335ba68f5a721360f741c90cbf7c77
4,055
hpp
C++
include/lbann/objective_functions/weight_regularization/l2.hpp
oyamay/lbann
57116ecc030c0d17bc941f81131c1a335bc2c4ad
[ "Apache-2.0" ]
null
null
null
include/lbann/objective_functions/weight_regularization/l2.hpp
oyamay/lbann
57116ecc030c0d17bc941f81131c1a335bc2c4ad
[ "Apache-2.0" ]
null
null
null
include/lbann/objective_functions/weight_regularization/l2.hpp
oyamay/lbann
57116ecc030c0d17bc941f81131c1a335bc2c4ad
[ "Apache-2.0" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2014-2019, Lawrence Livermore National Security, LLC. // Produced at the Lawrence Livermore National Laboratory. // Written by the LBANN Research Team (B. Van Essen, et al.) listed in // the CONTRIBUTORS file. <lbann-dev@l...
34.956897
97
0.687546
oyamay
a00f9f1f620bea25cab77ae6a5c084de702031d3
443
cpp
C++
codechef/FEB20/SNUG_FIT.cpp
udayan14/Competitive_Coding
79e23fdeb909b4161a193d88697a4fe5f4fbbdce
[ "MIT" ]
null
null
null
codechef/FEB20/SNUG_FIT.cpp
udayan14/Competitive_Coding
79e23fdeb909b4161a193d88697a4fe5f4fbbdce
[ "MIT" ]
null
null
null
codechef/FEB20/SNUG_FIT.cpp
udayan14/Competitive_Coding
79e23fdeb909b4161a193d88697a4fe5f4fbbdce
[ "MIT" ]
null
null
null
#include<iostream> #include<algorithm> using namespace std; int main(){ ios_base::sync_with_stdio(false); cin.tie(NULL); int t; cin >> t; while(t--){ int n; cin >> n; unsigned a[n]; unsigned b[n]; for(int i=0 ; i<n ; i++) cin >> a[i]; for(int i=0 ; i<n ; i++) cin >> b[i]; sort(a,a+n); sort(...
15.821429
34
0.525959
udayan14
a0115c88d2d2f11ac8d1c76a32b7b5421b478576
493
cpp
C++
OpenGL3D Game/Floor.cpp
TheSandstorm/Tank-Busters
06aec0b25a92e8c9c8959c5173cbef605bb6543d
[ "MIT" ]
null
null
null
OpenGL3D Game/Floor.cpp
TheSandstorm/Tank-Busters
06aec0b25a92e8c9c8959c5173cbef605bb6543d
[ "MIT" ]
null
null
null
OpenGL3D Game/Floor.cpp
TheSandstorm/Tank-Busters
06aec0b25a92e8c9c8959c5173cbef605bb6543d
[ "MIT" ]
null
null
null
#include "Floor.h" CFloor::CFloor(glm::vec3 _Pos) { Scale = glm::vec3(8.0f, 8.0f, 0.2f); Rotation = glm::vec3(0.0f, 0.0f, 0.0f); Pos = _Pos; VAO = CObjectManager::GetMesh(FLOOR_ENTITY)->VAO; IndicesCount = CObjectManager::GetMesh(FLOOR_ENTITY)->IndicesCount; Texture = CObjectManager::GetMesh(FLOOR_ENTITY)->Textu...
24.65
68
0.716024
TheSandstorm
a0159e63ea13c1863ef3f2bda895cc10b32aea32
3,340
cpp
C++
dataAQ.cpp
kevinyxlu/cs32lab03
582c42181d8e7891a6f34a3ef5f524c915e963a1
[ "MIT" ]
null
null
null
dataAQ.cpp
kevinyxlu/cs32lab03
582c42181d8e7891a6f34a3ef5f524c915e963a1
[ "MIT" ]
null
null
null
dataAQ.cpp
kevinyxlu/cs32lab03
582c42181d8e7891a6f34a3ef5f524c915e963a1
[ "MIT" ]
null
null
null
/* aggregate data */ #include "dataAQ.h" #include "demogData.h" #include <iostream> #include <algorithm> dataAQ::dataAQ() {} /* necessary function to aggregate the data - this CAN and SHOULD vary per student - depends on how they map, etc. */ void dataAQ::createStateData(std::vector<shared_ptr<demogData>> theData)...
29.557522
112
0.648802
kevinyxlu