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
1d9a3bf76307b2b683cd7bfa51518af752ce649d
3,354
cpp
C++
components/button/xitembutton.cpp
pavelvasev/Xclu
6cdbb7040c057b3c1107f7a039acf0a72046ed83
[ "MIT" ]
null
null
null
components/button/xitembutton.cpp
pavelvasev/Xclu
6cdbb7040c057b3c1107f7a039acf0a72046ed83
[ "MIT" ]
null
null
null
components/button/xitembutton.cpp
pavelvasev/Xclu
6cdbb7040c057b3c1107f7a039acf0a72046ed83
[ "MIT" ]
null
null
null
#include "xitembutton.h" #include "xguibutton.h" #include "incl_cpp.h" #include "moduleinterface.h" #include "registrarxitem.h" #include "module.h" REGISTER_XITEM(XItemButton, button) //--------------------------------------------------------------------- //in button Execute execute XItemButton::XItemButton(ModuleInt...
33.207921
128
0.514311
pavelvasev
1d9b2651d10954b39298ed68ee204fdbfeef52cd
283
hpp
C++
include/GraFX/api/basic_observers/basic/AutosubscribableObserver.hpp
VladimirSuvorov1996/GraFX
60f543c5283976a624f8dd460dbf515f2d06df5e
[ "MIT" ]
null
null
null
include/GraFX/api/basic_observers/basic/AutosubscribableObserver.hpp
VladimirSuvorov1996/GraFX
60f543c5283976a624f8dd460dbf515f2d06df5e
[ "MIT" ]
null
null
null
include/GraFX/api/basic_observers/basic/AutosubscribableObserver.hpp
VladimirSuvorov1996/GraFX
60f543c5283976a624f8dd460dbf515f2d06df5e
[ "MIT" ]
null
null
null
#pragma once #include "EventObserver.hpp" namespace graFX::input { template<typename R, typename...As> class AutosubscribableObserver : public EventObserver<R, As...>{ public: AutosubscribableObserver() { EventObserver<R, As...>::base_t::enabled(true); } }; }
23.583333
51
0.681979
VladimirSuvorov1996
1d9ce0d0d99350c923c6778271c5a0622021d9bb
316
cpp
C++
Camp_1-2562/Proble 60/35_MaxSub.cpp
MasterIceZ/POSN_BUU
56e176fb843d7ddcee0cf4acf2bb141576c260cf
[ "MIT" ]
null
null
null
Camp_1-2562/Proble 60/35_MaxSub.cpp
MasterIceZ/POSN_BUU
56e176fb843d7ddcee0cf4acf2bb141576c260cf
[ "MIT" ]
null
null
null
Camp_1-2562/Proble 60/35_MaxSub.cpp
MasterIceZ/POSN_BUU
56e176fb843d7ddcee0cf4acf2bb141576c260cf
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int main () { int n,i,st=1,ansst=1,ansen,Max = -1e9,num,sum=0; scanf("%d",&n); for(i=1;i<=n;i++){ scanf("%d",&num); sum+=num; if(sum> Max) Max = sum,ansst = st,ansen=i; if(sum<0) sum = 0,st = i+1; } printf("%d %d\n%d\n",ansst,ansen,Max); return 0; }
17.555556
49
0.550633
MasterIceZ
1d9ffce04a5c8cd36a1db332d58abdbc415a35c2
3,340
hpp
C++
src/base/parameter/RealVar.hpp
saichikine/GMAT
80bde040e12946a61dae90d9fc3538f16df34190
[ "Apache-2.0" ]
null
null
null
src/base/parameter/RealVar.hpp
saichikine/GMAT
80bde040e12946a61dae90d9fc3538f16df34190
[ "Apache-2.0" ]
null
null
null
src/base/parameter/RealVar.hpp
saichikine/GMAT
80bde040e12946a61dae90d9fc3538f16df34190
[ "Apache-2.0" ]
1
2021-12-05T05:40:15.000Z
2021-12-05T05:40:15.000Z
//$Id$ //------------------------------------------------------------------------------ // RealVar //------------------------------------------------------------------------------ // GMAT: General Mission Analysis Tool // // Copyright (c) 2002 - 2018 United States Government as represen...
34.43299
80
0.637126
saichikine
1da274dff69789834dc0d773bd2b2bf74920fbd2
5,868
cc
C++
src/grin/CommonGrin.cc
jheleniak/btcpool
28ad61f60d529c203db2b58379d851ba20697eae
[ "MIT" ]
null
null
null
src/grin/CommonGrin.cc
jheleniak/btcpool
28ad61f60d529c203db2b58379d851ba20697eae
[ "MIT" ]
null
null
null
src/grin/CommonGrin.cc
jheleniak/btcpool
28ad61f60d529c203db2b58379d851ba20697eae
[ "MIT" ]
1
2020-03-25T13:53:33.000Z
2020-03-25T13:53:33.000Z
/* The MIT License (MIT) Copyright (c) [2016] [BTC.COM] 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, me...
33.724138
80
0.712849
jheleniak
1da505713dbef44cd67d486a606fb3c7f5efc994
1,651
cpp
C++
tcp_client.cpp
devmentality/bachelors_thesis
11fcd78b2be9b6d50474950cac497a5b2c7ee3dd
[ "MIT" ]
null
null
null
tcp_client.cpp
devmentality/bachelors_thesis
11fcd78b2be9b6d50474950cac497a5b2c7ee3dd
[ "MIT" ]
null
null
null
tcp_client.cpp
devmentality/bachelors_thesis
11fcd78b2be9b6d50474950cac497a5b2c7ee3dd
[ "MIT" ]
null
null
null
#include "tcp_client.h" #include <iostream> #include <string> #include <map> #include <vector> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <unistd.h> #include <cstring> #include <netdb.h> #include "version_vector.h" #include "ron/op.hpp" #include "ron/ron-streams.hpp" #include "sock...
23.253521
93
0.684434
devmentality
1da5484cabf0e878b96f6ab521247f08f4227fbe
567,866
cpp
C++
src/main_10300.cpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
src/main_10300.cpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
src/main_10300.cpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
// Autogenerated from CppSourceCreator // Created by Sc2ad // ========================================================================= // Begin includes // Including type: UnityEngine.ProBuilder.Poly2Tri.TriangulationUtil #include "UnityEngine/ProBuilder/Poly2Tri/TriangulationUtil.hpp" // Including type: UnityEngine.P...
96.428256
578
0.805653
RedBrumbler
1da54baee266483de8763dbbe42ff1a4d2ec766a
1,538
hpp
C++
src/connection_types/socket_connection.hpp
Felix-Rm/iac
59bfc7e859d4cc0b923c75dd34316ae2fafd9097
[ "BSD-2-Clause" ]
null
null
null
src/connection_types/socket_connection.hpp
Felix-Rm/iac
59bfc7e859d4cc0b923c75dd34316ae2fafd9097
[ "BSD-2-Clause" ]
null
null
null
src/connection_types/socket_connection.hpp
Felix-Rm/iac
59bfc7e859d4cc0b923c75dd34316ae2fafd9097
[ "BSD-2-Clause" ]
null
null
null
#pragma once #ifndef ARDUINO # include <arpa/inet.h> # include <netinet/in.h> # include <sys/fcntl.h> # include <sys/ioctl.h> # include <sys/socket.h> # include <unistd.h> # include <csignal> # include <cstdio> # include <cstdlib> # include "../std_provider/string.hpp" # include "co...
19.468354
59
0.662549
Felix-Rm
1da8c18fa83b6061ebfdfe6059e2f5e0590af07a
7,456
cpp
C++
compiler/luci/service/src/GraphBlock.test.cpp
wateret/ONE_private
9789c52633e665d2e10273d88d6f7970faa8aee9
[ "Apache-2.0" ]
null
null
null
compiler/luci/service/src/GraphBlock.test.cpp
wateret/ONE_private
9789c52633e665d2e10273d88d6f7970faa8aee9
[ "Apache-2.0" ]
null
null
null
compiler/luci/service/src/GraphBlock.test.cpp
wateret/ONE_private
9789c52633e665d2e10273d88d6f7970faa8aee9
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2020 Samsung Electronics Co., Ltd. All Rights Reserved * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
30.186235
98
0.725992
wateret
1db186488106b897f8da6df052c0a78a226a6b32
282
cpp
C++
bootloader/Disk/IDE/ATADevice.cpp
supercomputer7/nahmanboot2
6b4ed2db89394ef2e8d878df98a988e205a63ee6
[ "MIT" ]
3
2019-10-15T22:22:51.000Z
2019-11-29T10:39:28.000Z
bootloader/Disk/IDE/ATADevice.cpp
supercomputer7/nahmanboot2
6b4ed2db89394ef2e8d878df98a988e205a63ee6
[ "MIT" ]
null
null
null
bootloader/Disk/IDE/ATADevice.cpp
supercomputer7/nahmanboot2
6b4ed2db89394ef2e8d878df98a988e205a63ee6
[ "MIT" ]
null
null
null
#include <Disk/IDE/ATADevice.h> ATADevice::ATADevice(IDEController* controller,uint8_t port) : StorageDevice(controller,port) { this->transfer_mode = DefaultTransferMode; this->command_set = ATACommandSet; } uint16_t ATADevice::get_hardware_protocol() { return IDEATA; }
28.2
93
0.769504
supercomputer7
1db64e09e3c30a39480db9c8bbe73721e490e358
35
hpp
C++
src/boost_range_pointer.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_range_pointer.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_range_pointer.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/range/pointer.hpp>
17.5
34
0.771429
miathedev
1db98fdb3d8fba7fe7ffd6ce5db5f83ae1f7fe20
8,151
cpp
C++
src/lexical/lexical.cpp
MisakaCenter/SimpleCompiler
aafb13c6c6b2f20c19757ec8b04231746a298f55
[ "MIT" ]
24
2020-09-26T13:20:23.000Z
2022-03-09T18:56:58.000Z
src/lexical/lexical.cpp
MRNIU/Compiler
746106625ea6fba34f36bd04ac7f6394d82166a8
[ "MIT" ]
2
2020-07-19T23:35:02.000Z
2021-09-27T16:43:40.000Z
src/lexical/lexical.cpp
MRNIU/Compiler
746106625ea6fba34f36bd04ac7f6394d82166a8
[ "MIT" ]
11
2020-06-07T04:57:57.000Z
2021-08-03T08:00:48.000Z
// This file is a part of Simple-XX/SimpleCompiler // (https://github.com/Simple-XX/SimpleCompiler). // // lexical.cpp for Simple-XX/SimpleCompiler. #include "iostream" #include "string" #include "lexical.h" using namespace std; Keywords Lexer::keywords; Lexer::Lexer(Scanner &sc) : scanner(sc) { ...
23.090652
63
0.330266
MisakaCenter
1dbaf0f021069a31137ec35db0a3d12bf546b1fe
7,538
cpp
C++
far/tracer.cpp
andrastantos/FarManager
1df1cd0f964c1e2fcde5ff108c2756b5ad5f71b7
[ "BSD-3-Clause" ]
null
null
null
far/tracer.cpp
andrastantos/FarManager
1df1cd0f964c1e2fcde5ff108c2756b5ad5f71b7
[ "BSD-3-Clause" ]
null
null
null
far/tracer.cpp
andrastantos/FarManager
1df1cd0f964c1e2fcde5ff108c2756b5ad5f71b7
[ "BSD-3-Clause" ]
null
null
null
/* tracer.cpp */ /* Copyright © 2016 Far Group 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 conditions and th...
29.794466
166
0.756699
andrastantos
1dbb5b8f8b57ce06e2ba2cc701913588f7d58790
2,510
cpp
C++
src/Main.cpp
Joco223/LogicGateSimulator
78bdb72886a5b2908a073a168a141471aed636d8
[ "MIT" ]
null
null
null
src/Main.cpp
Joco223/LogicGateSimulator
78bdb72886a5b2908a073a168a141471aed636d8
[ "MIT" ]
null
null
null
src/Main.cpp
Joco223/LogicGateSimulator
78bdb72886a5b2908a073a168a141471aed636d8
[ "MIT" ]
null
null
null
#define SDL_MAIN_HANDLED #include "Simple2D.h" #include "Simple2D_Sprite.h" #include "Simple2D_Text.h" #include "Sandbox.h" #include "Camera.h" #include "GUI_Controller.h" #include "Chip.h" #include "Asset_loader.h" #include <iostream> #include <string> #include <optional> #include <functional> constexpr int width ...
26.702128
112
0.741036
Joco223
1dbcf0e090976b6dd2c43c7613c9529903d8e7d2
4,827
cpp
C++
external/globjects-0.5.0/source/globjects/source/Buffer.cpp
steppobeck/rgbd-recon
171a8336c8e3ba52a1b187b73544338fdd3c9285
[ "MIT" ]
18
2016-09-03T05:12:25.000Z
2022-02-23T15:52:33.000Z
external/globjects-0.5.0/source/globjects/source/Buffer.cpp
3d-scan/rgbd-recon
c4a5614eaa55dd93c74da70d6fb3d813d74f2903
[ "MIT" ]
1
2016-05-04T09:06:29.000Z
2016-05-04T09:06:29.000Z
external/globjects-0.5.0/source/globjects/source/Buffer.cpp
3d-scan/rgbd-recon
c4a5614eaa55dd93c74da70d6fb3d813d74f2903
[ "MIT" ]
7
2016-04-20T13:58:50.000Z
2018-07-09T15:47:26.000Z
#include <globjects/Buffer.h> #include <cassert> #include <glbinding/gl/functions.h> #include <glbinding/gl/enum.h> #include <globjects/globjects.h> #include <globjects/ObjectVisitor.h> #include "registry/ImplementationRegistry.h" #include "Resource.h" #include "implementations/BufferImplementation_Legacy.h" us...
22.556075
159
0.743526
steppobeck
1dc0243aad3e3515f84aed1f4ddcfd73663abba7
848
cpp
C++
libraries/RelaisSwitch/RelaisSwitch.cpp
naice/arduino
c63763bc532df3ab446e9b6ce48aa127962c8b42
[ "MIT" ]
null
null
null
libraries/RelaisSwitch/RelaisSwitch.cpp
naice/arduino
c63763bc532df3ab446e9b6ce48aa127962c8b42
[ "MIT" ]
null
null
null
libraries/RelaisSwitch/RelaisSwitch.cpp
naice/arduino
c63763bc532df3ab446e9b6ce48aa127962c8b42
[ "MIT" ]
null
null
null
/* Name: RelaisSwitch.cpp Created: 10/6/2019 12:16:27 PM Author: Jens Marchewka */ #include "RelaisSwitch.h" RelaisSwitch::RelaisSwitch(unsigned int pin, bool defaultState, bool isDigital) { _currentState = defaultState; _isDigital = isDigital; _pin = pin; pinMode(_pin, OUTPUT); if (_currentS...
14.62069
80
0.643868
naice
1b8efa7675d18b6880c0accafd7002abd79f228a
1,304
cxx
C++
test/epoch_allocator.cxx
cychan-lbnl/devastator
a23bb21f9da5841fa2036edc68f3a89a2241831b
[ "BSD-3-Clause-LBNL" ]
1
2022-03-16T08:11:02.000Z
2022-03-16T08:11:02.000Z
test/epoch_allocator.cxx
cychan-lbnl/devastator
a23bb21f9da5841fa2036edc68f3a89a2241831b
[ "BSD-3-Clause-LBNL" ]
null
null
null
test/epoch_allocator.cxx
cychan-lbnl/devastator
a23bb21f9da5841fa2036edc68f3a89a2241831b
[ "BSD-3-Clause-LBNL" ]
null
null
null
#include <devastator/diagnostic.hxx> #include <devastator/threads/epoch_allocator.hxx> #include <random> #include <map> #include <deque> #include <vector> using namespace std; template<int epochs> void test() { deva::threads::epoch_allocator<epochs> ma; ma.init(nullptr, 1<<20); map<uintptr_t, uintptr_t> liv...
22.877193
128
0.585123
cychan-lbnl
1b8ff835b8d5dd033dc69a3c0fffc3c20fd65f39
1,631
cpp
C++
getMathML/Modules/XML/XMLNodeList.cpp
TanWei/getMathML
b6fbef24aaa5e80229cce42823f7595f1fe78ddf
[ "MIT" ]
null
null
null
getMathML/Modules/XML/XMLNodeList.cpp
TanWei/getMathML
b6fbef24aaa5e80229cce42823f7595f1fe78ddf
[ "MIT" ]
null
null
null
getMathML/Modules/XML/XMLNodeList.cpp
TanWei/getMathML
b6fbef24aaa5e80229cce42823f7595f1fe78ddf
[ "MIT" ]
null
null
null
// XMLNodeList.cpp: implementation of the CXMLNodeList class. //CXMLNodeList: Node List read-only collection ////////////////////////////////////////////////////////////////////// #include "XML.h" #include "TFuncCalls.h" ////////////////////////////////////////////////////////////////////// // Construction/Destruction...
21.181818
74
0.659718
TanWei
1b90e91ef9a796654807084a0577c3ab2330c503
351
cpp
C++
CodeChef/SQUIDRULE/solution.cpp
afifabroory/CompetitiveProgramming
231883eeab5abbd84005e80c5065dd02fd8430ef
[ "Unlicense" ]
null
null
null
CodeChef/SQUIDRULE/solution.cpp
afifabroory/CompetitiveProgramming
231883eeab5abbd84005e80c5065dd02fd8430ef
[ "Unlicense" ]
null
null
null
CodeChef/SQUIDRULE/solution.cpp
afifabroory/CompetitiveProgramming
231883eeab5abbd84005e80c5065dd02fd8430ef
[ "Unlicense" ]
null
null
null
#include <bits/stdc++.h> #define FOR(a, b) for (int i = a; i < b; i++) using namespace std; int main() { unsigned short t; cin >> t; unsigned int n, a, ans, small; while (t--) { cin >> n; ans = 0; small = INT_MAX; FOR(0, n) { cin >> a; ans += a; if (a < small) small = a; } cout << ans-s...
12.535714
45
0.495726
afifabroory
1b94c0655e8ad85184622e31dc69fea7482847f5
41,848
cpp
C++
src/editor/EditorWindow.cpp
FuRuYa7/Koder
73171109f5ed93ea45351019ff3c03c99dd9de5c
[ "MIT" ]
31
2015-03-12T23:23:48.000Z
2021-12-05T17:23:14.000Z
src/editor/EditorWindow.cpp
FuRuYa7/Koder
73171109f5ed93ea45351019ff3c03c99dd9de5c
[ "MIT" ]
137
2017-01-03T02:40:00.000Z
2022-01-19T12:36:57.000Z
src/editor/EditorWindow.cpp
FuRuYa7/Koder
73171109f5ed93ea45351019ff3c03c99dd9de5c
[ "MIT" ]
21
2017-01-03T02:20:00.000Z
2022-03-11T06:19:59.000Z
/* * Copyright 2014-2019 Kacper Kasper <kacperkasper@gmail.com> * All rights reserved. Distributed under the terms of the MIT license. */ #include "EditorWindow.h" #include <string> #include <Alert.h> #include <Application.h> #include <Bitmap.h> #include <Button.h> #include <Catalog.h> #include <Entry.h> #include...
30.590643
102
0.723619
FuRuYa7
1b99e0fa5b0be12ef6ba12727c6cc2652f9b9e06
28,188
cpp
C++
src/postgres/backend/executor/execUtils.cpp
jessesleeping/my_peloton
a19426cfe34a04692a11008eaffc9c3c9b49abc4
[ "Apache-2.0" ]
6
2017-04-28T00:38:52.000Z
2018-11-06T07:06:49.000Z
src/postgres/backend/executor/execUtils.cpp
jessesleeping/my_peloton
a19426cfe34a04692a11008eaffc9c3c9b49abc4
[ "Apache-2.0" ]
57
2016-03-19T22:27:55.000Z
2017-07-08T00:41:51.000Z
src/postgres/backend/executor/execUtils.cpp
eric-haibin-lin/pelotondb
904d6bbd041a0498ee0e034d4f9f9f27086c3cab
[ "Apache-2.0" ]
4
2016-07-17T20:44:56.000Z
2018-06-27T01:01:36.000Z
/*------------------------------------------------------------------------- * * execUtils.c * miscellaneous executor utility routines * * Portions Copyright (c) 1996-2015, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * * IDENTIFICATION * src/...
28.822086
101
0.68632
jessesleeping
1b9e4e4bac7a166866d730a520a8f98dc3b84767
2,439
cpp
C++
timus/1008.cpp
y-wan/OJ
5dea140dbaaec98e440ad4b1c10fa5072f1ceea7
[ "MIT" ]
null
null
null
timus/1008.cpp
y-wan/OJ
5dea140dbaaec98e440ad4b1c10fa5072f1ceea7
[ "MIT" ]
null
null
null
timus/1008.cpp
y-wan/OJ
5dea140dbaaec98e440ad4b1c10fa5072f1ceea7
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <sstream> #include <queue> using namespace std; bool a[11][11], v[11][11]; queue<pair<int, int> > q; int cnt, n; void print_rtlb(int x, int y) { if (x < 10 && a[x + 1][y] && !v[x + 1][y]) { cout << 'R'; v[x + 1][y] = true; q.push(make_pair(x +...
26.802198
86
0.369824
y-wan
1ba2d80232f33fd9ab0f5f4c3bee4e401a3fa164
8,540
cpp
C++
src/Tools/ImagePolygonize/ImagePolygonize.cpp
irov/Mengine
b76e9f8037325dd826d4f2f17893ac2b236edad8
[ "MIT" ]
39
2016-04-21T03:25:26.000Z
2022-01-19T14:16:38.000Z
src/Tools/ImagePolygonize/ImagePolygonize.cpp
irov/Mengine
b76e9f8037325dd826d4f2f17893ac2b236edad8
[ "MIT" ]
23
2016-06-28T13:03:17.000Z
2022-02-02T10:11:54.000Z
src/Tools/ImagePolygonize/ImagePolygonize.cpp
irov/Mengine
b76e9f8037325dd826d4f2f17893ac2b236edad8
[ "MIT" ]
14
2016-06-22T20:45:37.000Z
2021-07-05T12:25:19.000Z
#include "ToolUtils/ToolUtils.h" #include "Config/Config.h" #include "pugixml.hpp" #include <vector> #include <string> #include <sstream> ////////////////////////////////////////////////////////////////////////// int APIENTRY wWinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, PWSTR lpCmdLine, int nShowCmd ) { ...
26.276923
100
0.600468
irov
1ba5b0848e1117fc5a6059de0d1752ace8e2f181
8,204
cpp
C++
Plugins/PLVolumeRenderer/src/ClipPosition/ShaderFunctionClipPositionVolumeTexture.cpp
ktotheoz/pixellight
43a661e762034054b47766d7e38d94baf22d2038
[ "MIT" ]
83
2015-01-08T15:06:14.000Z
2021-07-20T17:07:00.000Z
Plugins/PLVolumeRenderer/src/ClipPosition/ShaderFunctionClipPositionVolumeTexture.cpp
PixelLightFoundation/pixellight
43a661e762034054b47766d7e38d94baf22d2038
[ "MIT" ]
19
2018-08-24T08:10:13.000Z
2018-11-29T06:39:08.000Z
Plugins/PLVolumeRenderer/src/ClipPosition/ShaderFunctionClipPositionVolumeTexture.cpp
ktotheoz/pixellight
43a661e762034054b47766d7e38d94baf22d2038
[ "MIT" ]
40
2015-02-25T18:24:34.000Z
2021-03-06T09:01:48.000Z
/*********************************************************\ * File: ShaderFunctionClipPositionVolumeTexture.cpp * * * Copyright (C) 2002-2013 The PixelLight Team (http://www.pixellight.org/) * * This file is part of PixelLight. * * Permission is hereby granted, free of charge, to any person obtaining a co...
41.02
194
0.661141
ktotheoz
1ba5d57d5b0151da2290bb7370698ca12d15ec09
14,827
hpp
C++
src/cpu/jit_avx512_common_conv_kernel.hpp
scale-snu/mkldnn-bn-restructuring
97fdb4f17119008baf452f1cbee5b91b6a366d79
[ "Apache-2.0" ]
1
2021-09-14T08:09:29.000Z
2021-09-14T08:09:29.000Z
src/cpu/jit_avx512_common_conv_kernel.hpp
scale-snu/mkldnn-bn-restructuring
97fdb4f17119008baf452f1cbee5b91b6a366d79
[ "Apache-2.0" ]
null
null
null
src/cpu/jit_avx512_common_conv_kernel.hpp
scale-snu/mkldnn-bn-restructuring
97fdb4f17119008baf452f1cbee5b91b6a366d79
[ "Apache-2.0" ]
null
null
null
/******************************************************************************* * Copyright 2016-2017 Intel Corporation * * 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.apa...
30.697723
80
0.636811
scale-snu
1ba78291d259f1cc831ed6a2cabdb63975f30d21
1,329
cpp
C++
Source/XsollaWebBrowser/Private/XsollaWebBrowserModule.cpp
xsolla/store-ue4-sdk
e25440e9d0b82663929ee7f49807e9b6bb09606b
[ "Apache-2.0" ]
14
2019-08-28T19:49:07.000Z
2021-12-04T14:34:18.000Z
Source/XsollaWebBrowser/Private/XsollaWebBrowserModule.cpp
xsolla/inventory-ue4-sdk
bbe8fbc7384c0c34992145329a4dbd61aa3ae362
[ "Apache-2.0" ]
34
2019-08-17T08:23:18.000Z
2021-12-08T08:25:14.000Z
Source/XsollaWebBrowser/Private/XsollaWebBrowserModule.cpp
xsolla/store-ue4-sdk
e25440e9d0b82663929ee7f49807e9b6bb09606b
[ "Apache-2.0" ]
12
2019-09-25T15:14:58.000Z
2022-03-21T09:27:58.000Z
// Copyright 2021 Xsolla Inc. All Rights Reserved. #include "XsollaWebBrowserModule.h" #include "XsollaWebBrowserAssetManager.h" #include "IWebBrowserSingleton.h" #include "Materials/Material.h" #include "Modules/ModuleManager.h" #include "WebBrowserModule.h" const FName FXsollaWebBrowserModule::ModuleName = "Xsoll...
34.076923
169
0.808126
xsolla
1ba82d595eb3f402ab79c250719d172cc84101b0
3,696
cpp
C++
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests.Capi/InferenceTestCapi.cpp
wintersteiger/onnxruntime
071a0c2522dd2af2b1936d608ef7182be6cfa883
[ "MIT" ]
2
2019-11-18T14:04:42.000Z
2019-12-04T12:49:01.000Z
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests.Capi/InferenceTestCapi.cpp
wintersteiger/onnxruntime
071a0c2522dd2af2b1936d608ef7182be6cfa883
[ "MIT" ]
null
null
null
csharp/test/Microsoft.ML.OnnxRuntime.EndToEndTests.Capi/InferenceTestCapi.cpp
wintersteiger/onnxruntime
071a0c2522dd2af2b1936d608ef7182be6cfa883
[ "MIT" ]
null
null
null
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // #include "CppUnitTest.h" #include <assert.h> #include <onnxruntime_c_api.h> wchar_t* GetWideString(const char* c) { const size_t cSize = strlen(c) + 1; wchar_t* wc = new wchar_t[cSize]; mbstowcs(wc, c, cSize); r...
38.905263
194
0.578193
wintersteiger
1bb70a7e6bccea9f5e2e401a1ecc9c9d92f17777
831
cp
C++
examples/trivial.cp
wxzh/CP
6ae36c7929cecc40a9ae15eed991ea1ddf7e8fe1
[ "BSD-3-Clause" ]
11
2021-07-02T10:58:45.000Z
2022-02-10T02:36:17.000Z
examples/trivial.cp
wxzh/CP
6ae36c7929cecc40a9ae15eed991ea1ddf7e8fe1
[ "BSD-3-Clause" ]
null
null
null
examples/trivial.cp
wxzh/CP
6ae36c7929cecc40a9ae15eed991ea1ddf7e8fe1
[ "BSD-3-Clause" ]
null
null
null
--> "((4 + 3) - 3) = 4" -- Examples in "The Expression Problem, Trivially!" type IEval = {eval : Int}; lit (x : Int) = trait [self : IEval] => { eval = x }; add (e1 : IEval) (e2 : IEval) = trait => { eval = e1.eval + e2.eval }; sub (e1 : IEval) (e2 : IEval) = trait => { eval = e1.eval - e2.eval }; type IP...
20.775
80
0.527076
wxzh
1bb94a4cbd40142becfef75ba634c24b9daa8d6f
11,244
hpp
C++
include/termox/widget/size_policy.hpp
a-n-t-h-o-n-y/MCurses
c9184a0fefbdc4eb9a044f815ee2270e6b8f202c
[ "MIT" ]
284
2017-11-07T10:06:48.000Z
2021-01-12T15:32:51.000Z
include/termox/widget/size_policy.hpp
a-n-t-h-o-n-y/MCurses
c9184a0fefbdc4eb9a044f815ee2270e6b8f202c
[ "MIT" ]
38
2018-01-14T12:34:54.000Z
2020-09-26T15:32:43.000Z
include/termox/widget/size_policy.hpp
a-n-t-h-o-n-y/MCurses
c9184a0fefbdc4eb9a044f815ee2270e6b8f202c
[ "MIT" ]
31
2017-11-30T11:22:21.000Z
2020-11-03T05:27:47.000Z
#ifndef TERMOX_WIDGET_SIZE_POLICY_HPP #define TERMOX_WIDGET_SIZE_POLICY_HPP #include <limits> #include <utility> #include <signals_light/signal.hpp> namespace ox { /// Defines how a Layout should resize a Widget in one length Dimension. class Size_policy { private: struct Data { int hint = ...
32.217765
80
0.661864
a-n-t-h-o-n-y
1bb99b1e04b0d005b50d84b310cc0de09776e3ba
744
hpp
C++
meta/include/mgs/meta/concepts/semiregular.hpp
theodelrieu/mgs
965a95e3d539447cc482e915f9c44b3439168a4e
[ "BSL-1.0" ]
24
2020-07-01T13:45:50.000Z
2021-11-04T19:54:47.000Z
meta/include/mgs/meta/concepts/semiregular.hpp
theodelrieu/mgs
965a95e3d539447cc482e915f9c44b3439168a4e
[ "BSL-1.0" ]
null
null
null
meta/include/mgs/meta/concepts/semiregular.hpp
theodelrieu/mgs
965a95e3d539447cc482e915f9c44b3439168a4e
[ "BSL-1.0" ]
null
null
null
#pragma once #include <tuple> #include <type_traits> #include <mgs/meta/concepts/copyable.hpp> #include <mgs/meta/concepts/default_constructible.hpp> namespace mgs { namespace meta { template <typename T> struct is_semiregular { using requirements = std::tuple<is_copyable<T>, is_default_constructible<T>>; stati...
21.257143
79
0.744624
theodelrieu
1bbd809ee611e01edbe1295f0f4754ea82585d00
22,392
cpp
C++
util/noise/fast_noise_2.cpp
Gamerfiend/godot_voxel
89762f43764f45d7a1e703ef9e4e750ecc0b0e88
[ "MIT" ]
null
null
null
util/noise/fast_noise_2.cpp
Gamerfiend/godot_voxel
89762f43764f45d7a1e703ef9e4e750ecc0b0e88
[ "MIT" ]
null
null
null
util/noise/fast_noise_2.cpp
Gamerfiend/godot_voxel
89762f43764f45d7a1e703ef9e4e750ecc0b0e88
[ "MIT" ]
1
2021-11-09T14:18:03.000Z
2021-11-09T14:18:03.000Z
#include "fast_noise_2.h" #include "../math/funcs.h" #include <core/io/image.h> using namespace zylann; FastNoise2::FastNoise2() { // Setup default update_generator(); } void FastNoise2::set_encoded_node_tree(String data) { if (data != _last_set_encoded_node_tree) { _last_set_encoded_node_tree = data; emit_ch...
33.222552
117
0.764871
Gamerfiend
1bc2169b0fae36fcbf038021ccf31bd8e0caad24
1,338
cpp
C++
k-concatenation.cpp
sagar-sam/codechef-solutions
ea414d17435f0cfbc84b0c6b172ead0b22f32a23
[ "MIT" ]
null
null
null
k-concatenation.cpp
sagar-sam/codechef-solutions
ea414d17435f0cfbc84b0c6b172ead0b22f32a23
[ "MIT" ]
null
null
null
k-concatenation.cpp
sagar-sam/codechef-solutions
ea414d17435f0cfbc84b0c6b172ead0b22f32a23
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <limits.h> using namespace std; long long int maxSubArraySum(vector<long long int> a, int size) { long long int max_so = INT_MIN, max_here = 0; for (int i = 0; i < size; i++) { max_here = max_here + a[i]; if (max_so < max_here) ma...
16.936709
63
0.508221
sagar-sam
1bc44872ad4dbb28db93baf55b78b9654d0d8727
1,502
cpp
C++
core/src/special/StubModule.cpp
azuki-monster/megamol
f5d75ae5630f9a71a7fbf81624bfd4f6b253c655
[ "BSD-3-Clause" ]
2
2020-10-16T10:15:37.000Z
2021-01-21T13:06:00.000Z
core/src/special/StubModule.cpp
azuki-monster/megamol
f5d75ae5630f9a71a7fbf81624bfd4f6b253c655
[ "BSD-3-Clause" ]
null
null
null
core/src/special/StubModule.cpp
azuki-monster/megamol
f5d75ae5630f9a71a7fbf81624bfd4f6b253c655
[ "BSD-3-Clause" ]
1
2021-01-28T01:19:54.000Z
2021-01-28T01:19:54.000Z
/* * StubModule.cpp * Copyright (C) 2017 by MegaMol Team * All rights reserved. Alle Rechte vorbehalten. */ #include "stdafx.h" #include "mmcore/special/StubModule.h" #include "mmcore/CoreInstance.h" #include "mmcore/factories/CallAutoDescription.h" using namespace megamol; using namespace megamol::core; speci...
23.107692
97
0.607856
azuki-monster
1bc56930af11b6dbcfa066e65d385182c33ea84a
8,253
cpp
C++
examples/main.cpp
mgienger/ESLib
aee404104c99b95e2070b632ff2d8210f5cc6941
[ "BSD-3-Clause" ]
6
2018-12-18T19:30:58.000Z
2021-03-11T15:52:14.000Z
examples/main.cpp
mgienger/ESLib
aee404104c99b95e2070b632ff2d8210f5cc6941
[ "BSD-3-Clause" ]
3
2019-03-29T21:11:28.000Z
2019-08-15T19:45:27.000Z
examples/main.cpp
mgienger/ESLib
aee404104c99b95e2070b632ff2d8210f5cc6941
[ "BSD-3-Clause" ]
2
2019-01-24T16:07:12.000Z
2020-07-15T18:39:33.000Z
/******************************************************************************* Copyright (c) 2017, Honda Research Institute Europe GmbH. 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. R...
28.167235
95
0.662305
mgienger
1bc7f1a5e3bf3a4caff23f962427d01b0817adf6
458
hh
C++
src/common/geometry/hyperbolic/plane.hh
danieldeankon/hypertrace
d58a6ea28af45b875c477df4065667e9b4b88a49
[ "MIT" ]
null
null
null
src/common/geometry/hyperbolic/plane.hh
danieldeankon/hypertrace
d58a6ea28af45b875c477df4065667e9b4b88a49
[ "MIT" ]
null
null
null
src/common/geometry/hyperbolic/plane.hh
danieldeankon/hypertrace
d58a6ea28af45b875c477df4065667e9b4b88a49
[ "MIT" ]
null
null
null
#pragma once #include <algebra/quaternion.hh> #include <object.hh> #include <material.hh> #include "ray.hh" #define HYPLANE_TILING_NONE 0 #define HYPLANE_TILING_PENTAGONAL 1 #define HYPLANE_TILING_PENTASTAR 2 bool hyplane_hit( const Object *plane, ObjectHit *cache, PathInfo *path, HyRay ray ); voi...
18.32
48
0.733624
danieldeankon
1bd265e68b13112210d9ff7960e5d4dd56674dd0
1,623
cpp
C++
codeforces/175b.plane-of-tanks-pro/175b.cpp
KayvanMazaheri/acm
aeb05074bc9b9c92f35b6a741183da09a08af85d
[ "MIT" ]
3
2018-01-19T14:09:23.000Z
2018-02-01T00:40:55.000Z
codeforces/175b.plane-of-tanks-pro/175b.cpp
KayvanMazaheri/acm
aeb05074bc9b9c92f35b6a741183da09a08af85d
[ "MIT" ]
null
null
null
codeforces/175b.plane-of-tanks-pro/175b.cpp
KayvanMazaheri/acm
aeb05074bc9b9c92f35b6a741183da09a08af85d
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> #include <vector> #define X first #define Y second #define EPS ((double)1e-8) using namespace std; struct player { string name; int point; int better, not_worse; }; vector <player> vec; vector <pair <string, string> > result; int is_in_vec(string name) { for(int i=0; i...
20.544304
78
0.566852
KayvanMazaheri
1bd3e07889fae7cc84ce637319a07484723a3b68
1,017
hh
C++
src/server.hh
fusion32/kaplar
c85fc3cfd020b4c7892f9987239cb48eaf1a04a5
[ "MIT" ]
null
null
null
src/server.hh
fusion32/kaplar
c85fc3cfd020b4c7892f9987239cb48eaf1a04a5
[ "MIT" ]
null
null
null
src/server.hh
fusion32/kaplar
c85fc3cfd020b4c7892f9987239cb48eaf1a04a5
[ "MIT" ]
2
2018-08-20T00:59:07.000Z
2018-08-20T00:59:18.000Z
#ifndef KAPLAR_SERVER_HH_ #define KAPLAR_SERVER_HH_ 1 #include "common.hh" // ---------------------------------------------------------------- // Server // ---------------------------------------------------------------- enum ConnectionStatus : u32 { CONNECTION_STATUS_ALIVE = 0, CONNECTION_STATUS_CLOSING, }; typede...
29.057143
87
0.668633
fusion32
1bd94d73ac682aa309d74778f64f754b9b2f7e96
1,875
cpp
C++
DinoLasers/UIButton.cpp
QRayarch/DinoLasers
500f4144fad2a813cd140d6067b41a41f4573e8c
[ "MIT" ]
null
null
null
DinoLasers/UIButton.cpp
QRayarch/DinoLasers
500f4144fad2a813cd140d6067b41a41f4573e8c
[ "MIT" ]
null
null
null
DinoLasers/UIButton.cpp
QRayarch/DinoLasers
500f4144fad2a813cd140d6067b41a41f4573e8c
[ "MIT" ]
null
null
null
#include "UIButton.h" UIButton::UIButton(String name, vector3 c1, vector3 c2) : UI(name) { color1 = c1; color2 = c2; paddX = 0; paddY = 0; invisiblePadY = 0; isInside = false; } UIButton::~UIButton() { } void UIButton::Update(float dt) { //&& x < (paddX + UI::GetName().length()) * TEXT_SIZE && y < (paddY + ...
32.327586
212
0.609067
QRayarch
1be347460691edb89bcfb1828ef9927d59a3cd21
4,052
cpp
C++
src/main.cpp
Bolukan/AOC2019
d91f8ba22cb5f4a08528e6087b15d87170f9f267
[ "MIT" ]
null
null
null
src/main.cpp
Bolukan/AOC2019
d91f8ba22cb5f4a08528e6087b15d87170f9f267
[ "MIT" ]
null
null
null
src/main.cpp
Bolukan/AOC2019
d91f8ba22cb5f4a08528e6087b15d87170f9f267
[ "MIT" ]
null
null
null
#include <Arduino.h> // WiFi #include <ESP8266WiFi.h> #include "secrets.h" #include <ESP8266mDNS.h> #include <WiFiUdp.h> #include <ArduinoOTA.h> #include <FS.h> #include <dayAOC201901.h> #define APP_NAME "Advent of Code 2019" #define FILENAME "/input201901" // wifi #ifndef SECRETS_H #define SECRETS...
27.753425
120
0.606367
Bolukan
1be4982b0eadd62cf3383db7ab05562de1ffb1a1
857
hpp
C++
tsplp/src/SeparationAlgorithms.hpp
sebrockm/mtsp-vrp
28955855d253f51fcb9397a0b22c6774f66f8d55
[ "MIT" ]
null
null
null
tsplp/src/SeparationAlgorithms.hpp
sebrockm/mtsp-vrp
28955855d253f51fcb9397a0b22c6774f66f8d55
[ "MIT" ]
null
null
null
tsplp/src/SeparationAlgorithms.hpp
sebrockm/mtsp-vrp
28955855d253f51fcb9397a0b22c6774f66f8d55
[ "MIT" ]
null
null
null
#pragma once #include <optional> #include <xtensor/xtensor.hpp> namespace tsplp { class LinearConstraint; class Model; class Variable; class WeightManager; } namespace tsplp::graph { class PiSigmaSupportGraph; class Separator { private: const xt::xtensor<Variable, 3>& m_vari...
22.552632
117
0.673279
sebrockm
1be9fb8cdf4ef9e9008a81d432a2df01e0cc1b24
1,909
hpp
C++
test/common/mocks_provider.hpp
modern-cpp-examples/match3
bb1f4de11db9e92b6ebdf80f1afe9245e6f86b7e
[ "BSL-1.0" ]
166
2016-04-27T19:01:00.000Z
2022-03-27T02:16:55.000Z
test/common/mocks_provider.hpp
Fuyutsubaki/match3
bb1f4de11db9e92b6ebdf80f1afe9245e6f86b7e
[ "BSL-1.0" ]
4
2016-05-19T07:47:38.000Z
2018-03-22T04:33:00.000Z
test/common/mocks_provider.hpp
Fuyutsubaki/match3
bb1f4de11db9e92b6ebdf80f1afe9245e6f86b7e
[ "BSL-1.0" ]
17
2016-05-18T21:17:39.000Z
2022-03-20T22:37:14.000Z
// // Copyright (c) 2016 Krzysztof Jusiak (krzysztof at jusiak dot net) // // 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) // #pragma once #include <boost/di.hpp> #include <type_traits> #include "fakeit.hpp" na...
27.666667
76
0.618125
modern-cpp-examples
1bebc60678a7df62e258a4a942cda60163b19e37
344
hpp
C++
src/AI/AiCommand.hpp
LazyFalcon/TechDemo-v4
7b865e20beb7f04fde6e7df66be30f555e0aef5a
[ "MIT" ]
null
null
null
src/AI/AiCommand.hpp
LazyFalcon/TechDemo-v4
7b865e20beb7f04fde6e7df66be30f555e0aef5a
[ "MIT" ]
null
null
null
src/AI/AiCommand.hpp
LazyFalcon/TechDemo-v4
7b865e20beb7f04fde6e7df66be30f555e0aef5a
[ "MIT" ]
null
null
null
#pragma once enum CommandType { MoveTo, Attack }; struct AiCommand { CommandType type; bool suspendOther; bool queue; void* payload; template<typename T> T& get() { return *reinterpret_cast<T*>(payload); } }; struct MoveCommand { glm::vec4 position; std::optional<g...
13.230769
46
0.619186
LazyFalcon
1bed0766c3c232027c11a0df8ffd1e1746b92b59
6,647
cpp
C++
examples/2-show-carriers/2-show-carriers.cpp
particle-iot/CellularHelper
c395735a7d47ab4750adc6b58ca40fec6dfc9e64
[ "MIT" ]
2
2020-04-28T13:24:03.000Z
2020-05-22T14:40:46.000Z
examples/2-show-carriers/2-show-carriers.cpp
particle-iot/CellularHelper
c395735a7d47ab4750adc6b58ca40fec6dfc9e64
[ "MIT" ]
null
null
null
examples/2-show-carriers/2-show-carriers.cpp
particle-iot/CellularHelper
c395735a7d47ab4750adc6b58ca40fec6dfc9e64
[ "MIT" ]
1
2022-01-05T16:48:29.000Z
2022-01-05T16:48:29.000Z
#include "Particle.h" #include "CellularHelper.h" // STARTUP(cellular_credentials_set("epc.tmobile.com", "", "", NULL)); SYSTEM_MODE(MANUAL); SYSTEM_THREAD(ENABLED); SerialLogHandler logHandler; const unsigned long STARTUP_WAIT_TIME_MS = 4000; const unsigned long MODEM_ON_WAIT_TIME_MS = 4000; // Forward declaratio...
23.824373
140
0.680307
particle-iot
1beee6b9375aa78b60825afe6ce08e2b9e610a0c
8,716
cpp
C++
src/tool/cppwinrt/test/out_params.cpp
stephenatwork/xlang
0747c3b362c02a9736b3a4ca1bd3e005b4f52279
[ "MIT" ]
1
2020-01-20T07:56:28.000Z
2020-01-20T07:56:28.000Z
test/test/out_params.cpp
shinsetsu/cppwinrt
ae0378373d2318d91448b8697a91d5b65a1fb2e5
[ "MIT" ]
null
null
null
test/test/out_params.cpp
shinsetsu/cppwinrt
ae0378373d2318d91448b8697a91d5b65a1fb2e5
[ "MIT" ]
null
null
null
#include "pch.h" #include "winrt/test_component.h" using namespace winrt; using namespace Windows::Foundation; using namespace test_component; namespace { struct Stringable : implements<Stringable, IStringable> { hstring ToString() { return L"Stringable"; } }; } TEST_C...
32.401487
124
0.564938
stephenatwork
1bf120fc2ff9cfcfe93e00048eb1e5579619dfbe
46,365
cpp
C++
packages/nextclade_cli/src/cli.cpp
bigshr/nextclade
ddffb03e851a68a8d5a7260250a54cc0657da79b
[ "MIT" ]
108
2020-09-29T14:06:08.000Z
2022-03-19T03:07:35.000Z
packages/nextclade_cli/src/cli.cpp
bigshr/nextclade
ddffb03e851a68a8d5a7260250a54cc0657da79b
[ "MIT" ]
500
2020-09-15T09:45:10.000Z
2022-03-30T04:28:38.000Z
packages/nextclade_cli/src/cli.cpp
bigshr/nextclade
ddffb03e851a68a8d5a7260250a54cc0657da79b
[ "MIT" ]
55
2020-10-13T11:40:47.000Z
2022-02-27T04:35:12.000Z
#include <fmt/format.h> #include <nextalign/nextalign.h> #include <nextclade/nextclade.h> #include <tbb/concurrent_vector.h> #include <tbb/global_control.h> #include <tbb/parallel_pipeline.h> #include <boost/algorithm/string.hpp> #include <boost/algorithm/string/join.hpp> #include <boost/algorithm/string/split.hpp> #i...
41.286732
972
0.684503
bigshr
1bf297ab1e3d6b7600df40296ff54278fe627dad
168
cpp
C++
code/Instructions/ZeroRegInstr/ZeroRegInstr.cpp
LLDevLab/LLDevCompiler
f73f13d38069ab5b571fb136e068eb06387caf4c
[ "BSD-3-Clause" ]
5
2019-10-22T18:37:43.000Z
2020-12-09T14:00:03.000Z
code/Instructions/ZeroRegInstr/ZeroRegInstr.cpp
LLDevLab/LLDevCompiler
f73f13d38069ab5b571fb136e068eb06387caf4c
[ "BSD-3-Clause" ]
1
2020-03-29T15:30:45.000Z
2020-03-29T15:30:45.000Z
code/Instructions/ZeroRegInstr/ZeroRegInstr.cpp
LLDevLab/LLDevCompiler
f73f13d38069ab5b571fb136e068eb06387caf4c
[ "BSD-3-Clause" ]
1
2019-12-23T06:51:45.000Z
2019-12-23T06:51:45.000Z
#include "ZeroRegInstr.h" ZeroRegInstr::ZeroRegInstr(token_pos pos) : Instruction(pos) { } NONTERMINALS ZeroRegInstr::GetInstructionType() { return ZERO_REG_INSTR; }
16.8
60
0.785714
LLDevLab
1bfe12517e51e14adf9670811267d0c6da4d2bf8
16,774
cpp
C++
src/context.cpp
ShaderKitty/geodesuka
1578f2fe3e5a7102d2e314406c89a48132a71675
[ "MIT" ]
3
2021-08-07T15:11:35.000Z
2021-11-17T18:59:45.000Z
src/context.cpp
ShaderKitty/geodesuka
1578f2fe3e5a7102d2e314406c89a48132a71675
[ "MIT" ]
null
null
null
src/context.cpp
ShaderKitty/geodesuka
1578f2fe3e5a7102d2e314406c89a48132a71675
[ "MIT" ]
null
null
null
#include <geodesuka/engine.h> #include <geodesuka/core/gcl/context.h> #include <cstdlib> #include <climits> #include <GLFW/glfw3.h> namespace geodesuka::core::gcl { context::context(engine* aEngine, device* aDevice, uint32_t aExtensionCount, const char** aExtensionList) { // List of operations. // Check for s...
31.768939
182
0.670442
ShaderKitty
4001eb3c7bd2196ab1f7e6840bcae7bf762de7e6
587
cpp
C++
VGP242/02_HelloDirectX/TestState.cpp
TheJimmyGod/JimmyGod_Engine
b9752c6fbd9db17dc23f03330b5e4537bdcadf8e
[ "MIT" ]
null
null
null
VGP242/02_HelloDirectX/TestState.cpp
TheJimmyGod/JimmyGod_Engine
b9752c6fbd9db17dc23f03330b5e4537bdcadf8e
[ "MIT" ]
null
null
null
VGP242/02_HelloDirectX/TestState.cpp
TheJimmyGod/JimmyGod_Engine
b9752c6fbd9db17dc23f03330b5e4537bdcadf8e
[ "MIT" ]
null
null
null
#include "TestState.h" using namespace JimmyGod::Input; using namespace JimmyGod::Graphics; void RedState::Initialize() { GraphicsSystem::Get()->SetClearColor(Colors::Red); } void RedState::Update(float deltaTime) { if (InputSystem::Get()->IsKeyPressed(KeyCode::SPACE)) JimmyGod::MainApp().ChangeSt...
20.964286
55
0.701874
TheJimmyGod
40097bbe2ad5f27fcbf7571e80c39d1b31db7630
3,628
cpp
C++
src/DetectorConstruction.cpp
tgblackburn/dreamt
71adf27ad276dc1c949831c28a510c256b18e86c
[ "MIT" ]
1
2021-02-08T12:37:59.000Z
2021-02-08T12:37:59.000Z
src/DetectorConstruction.cpp
tgblackburn/dreamt
71adf27ad276dc1c949831c28a510c256b18e86c
[ "MIT" ]
null
null
null
src/DetectorConstruction.cpp
tgblackburn/dreamt
71adf27ad276dc1c949831c28a510c256b18e86c
[ "MIT" ]
null
null
null
#include <DetectorConstruction.hpp> #include <G4NistManager.hh> #include <G4Material.hh> #include <G4Box.hh> #include <G4LogicalVolume.hh> #include <G4VPhysicalVolume.hh> #include <G4PVPlacement.hh> using namespace CLHEP; static G4Material *PPMI (void); DetectorConstruction::DetectorConstruction (const G4String &ma...
27.694656
116
0.615215
tgblackburn
400f599213347756100576bd82cf44058f69d32c
2,567
cpp
C++
src/math/perlin.cpp
minalear/Kingdom
b4f7f235d37764ffa0ba6d1a42a7d7b9b1f83d5a
[ "MIT" ]
null
null
null
src/math/perlin.cpp
minalear/Kingdom
b4f7f235d37764ffa0ba6d1a42a7d7b9b1f83d5a
[ "MIT" ]
null
null
null
src/math/perlin.cpp
minalear/Kingdom
b4f7f235d37764ffa0ba6d1a42a7d7b9b1f83d5a
[ "MIT" ]
null
null
null
#include "perlin.h" #include <cmath> #include <random> #include <algorithm> #include <numeric> #include "func.h" Perlin::Perlin() { // initalize permutation vector p = { 151,160,137,91,90,15,131,13,201,95,96,53,194,233,7,225,140,36,103,30,69,142, 8,99,37,240,21,10,23,190, 6,148,247,120,234,75,0,26,197,...
34.226667
284
0.574211
minalear
401171c9a255897b243d6e2816efd5b19a918089
3,500
cpp
C++
tests/class/methods.test.cpp
pshoben/reflang
bf3532bbd8e18d43ac538d44d13c37ee6fbc6a35
[ "MIT" ]
263
2016-12-31T22:17:16.000Z
2022-03-25T06:28:27.000Z
tests/class/methods.test.cpp
pshoben/reflang
bf3532bbd8e18d43ac538d44d13c37ee6fbc6a35
[ "MIT" ]
2
2018-04-06T15:09:38.000Z
2022-03-21T07:23:51.000Z
tests/class/methods.test.cpp
pshoben/reflang
bf3532bbd8e18d43ac538d44d13c37ee6fbc6a35
[ "MIT" ]
27
2017-01-01T00:06:43.000Z
2022-01-10T14:32:33.000Z
#include "methods.src.hpp" #include "methods.gen.hpp" #define CATCH_CONFIG_MAIN #include "tests/catch.hpp" using namespace reflang; using namespace std; // MyClass method implementations int global_int = 0; void MyClass::Method0() { ++global_int; } void MyClass::Method1(bool b, int i) { if (b) { global_int = i; ...
24.137931
102
0.705143
pshoben
40155b03f24c2a388f9880b5d5b236795592c817
3,508
hpp
C++
src/Elliptic/BoundaryConditions/Tags/BoundaryFields.hpp
nilsvu/spectre
1455b9a8d7e92db8ad600c66f54795c29c3052ee
[ "MIT" ]
117
2017-04-08T22:52:48.000Z
2022-03-25T07:23:36.000Z
src/Elliptic/BoundaryConditions/Tags/BoundaryFields.hpp
GitHimanshuc/spectre
4de4033ba36547113293fe4dbdd77591485a4aee
[ "MIT" ]
3,177
2017-04-07T21:10:18.000Z
2022-03-31T23:55:59.000Z
src/Elliptic/BoundaryConditions/Tags/BoundaryFields.hpp
geoffrey4444/spectre
9350d61830b360e2d5b273fdd176dcc841dbefb0
[ "MIT" ]
85
2017-04-07T19:36:13.000Z
2022-03-01T10:21:00.000Z
// Distributed under the MIT License. // See LICENSE.txt for details. #pragma once #include <cstddef> #include "DataStructures/DataBox/PrefixHelpers.hpp" #include "DataStructures/DataBox/Prefixes.hpp" #include "DataStructures/DataBox/Tag.hpp" #include "DataStructures/DataVector.hpp" #include "DataStructures/SliceVar...
42.26506
80
0.673318
nilsvu
40199d1578252878431d6e1524ed70d951155d49
4,359
cpp
C++
yellow/w2_02_01_func_test.cpp
avptin/coursera-c-plus-plus
18146f023998a073ee8e34315789d049b7fa0d7c
[ "MIT" ]
null
null
null
yellow/w2_02_01_func_test.cpp
avptin/coursera-c-plus-plus
18146f023998a073ee8e34315789d049b7fa0d7c
[ "MIT" ]
null
null
null
yellow/w2_02_01_func_test.cpp
avptin/coursera-c-plus-plus
18146f023998a073ee8e34315789d049b7fa0d7c
[ "MIT" ]
null
null
null
#include <iostream> #include <map> #include <set> #include <sstream> #include <stdexcept> #include <string> #include <vector> using namespace std; template <class T> ostream& operator<<(ostream& os, const vector<T>& s) { os << "{"; bool first = true; for (const auto& x : s) { if (!first) { os << ", ";...
25.196532
75
0.523056
avptin
401c69831c8bcc90efbd102bd8ad4130c6dc0e6f
751
cpp
C++
Source/CurlFunctions.cpp
Mizugola/MeltingSagaUpdater
b9ebd8b4db39574526fff2703077ee4f76e9a65d
[ "MIT" ]
null
null
null
Source/CurlFunctions.cpp
Mizugola/MeltingSagaUpdater
b9ebd8b4db39574526fff2703077ee4f76e9a65d
[ "MIT" ]
null
null
null
Source/CurlFunctions.cpp
Mizugola/MeltingSagaUpdater
b9ebd8b4db39574526fff2703077ee4f76e9a65d
[ "MIT" ]
null
null
null
#include "CurlFunctions.hpp" namespace fn { namespace Curl { size_t write_data(void * ptr, size_t size, size_t nmemb, FILE * stream) { size_t written = fwrite(ptr, size, nmemb, stream); return written; } void downloadFile(const std::string& link, const std::string& file) { CURL *curl; FILE *fp...
22.757576
73
0.667111
Mizugola
401cbd8ebf8b328b95d6358951d0f90c6c27305d
310
cpp
C++
2-Structural/08.Composite/src/Composite/Add.cpp
gfa99/gof_design_patterns
a33ee7f344f8e382bb9fc676b77b22a5a123bca0
[ "Apache-2.0" ]
21
2017-11-08T11:32:48.000Z
2021-03-29T08:58:04.000Z
2-Structural/08.Composite/src/Composite/Add.cpp
gfa99/gof_design_patterns
a33ee7f344f8e382bb9fc676b77b22a5a123bca0
[ "Apache-2.0" ]
null
null
null
2-Structural/08.Composite/src/Composite/Add.cpp
gfa99/gof_design_patterns
a33ee7f344f8e382bb9fc676b77b22a5a123bca0
[ "Apache-2.0" ]
8
2017-11-26T13:57:50.000Z
2021-08-23T06:52:57.000Z
#include "Composite/Add.h" namespace GoF { namespace Composite { Add::Add(IOperand * left, IOperand * right) : Expression(left, right) { } double Add::calculate() { return leftOperand->calculate() + rightOperand->calculate(); } } }
16.315789
72
0.532258
gfa99
401e7eb777810b37ec4e0b40ce29181b149c08eb
9,504
cpp
C++
GTE/Samples/Graphics/BlendedTerrain/BlendedTerrainWindow3.cpp
lakinwecker/GeometricTools
cff3e3fcb52d714afe0b6789839c460437c10b27
[ "BSL-1.0" ]
null
null
null
GTE/Samples/Graphics/BlendedTerrain/BlendedTerrainWindow3.cpp
lakinwecker/GeometricTools
cff3e3fcb52d714afe0b6789839c460437c10b27
[ "BSL-1.0" ]
1
2022-03-18T00:34:13.000Z
2022-03-18T00:34:13.000Z
GTE/Samples/Graphics/BlendedTerrain/BlendedTerrainWindow3.cpp
lakinwecker/GeometricTools
cff3e3fcb52d714afe0b6789839c460437c10b27
[ "BSL-1.0" ]
1
2022-03-17T21:54:55.000Z
2022-03-17T21:54:55.000Z
// David Eberly, Geometric Tools, Redmond WA 98052 // Copyright (c) 1998-2022 // Distributed under the Boost Software License, Version 1.0. // https://www.boost.org/LICENSE_1_0.txt // https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt // Version: 6.0.2022.01.06 #include "BlendedTerrainWindow3.h" #include <Ap...
30.658065
101
0.622475
lakinwecker
40218141af0f7035e669f3a22d1ab9faa558bfa3
821
hpp
C++
third-party/include/tao/json/jaxn/is_identifier.hpp
ludchieng/IMAC-Lihowar
e5f551ab9958fa7d8fa4cbe07d0aa3555842b4fb
[ "BSL-1.0", "Apache-2.0", "MIT-0", "MIT" ]
2
2020-03-09T06:24:46.000Z
2022-02-04T23:09:23.000Z
third-party/include/tao/json/jaxn/is_identifier.hpp
ludchieng/IMAC-Lihowar
e5f551ab9958fa7d8fa4cbe07d0aa3555842b4fb
[ "BSL-1.0", "Apache-2.0", "MIT-0", "MIT" ]
null
null
null
third-party/include/tao/json/jaxn/is_identifier.hpp
ludchieng/IMAC-Lihowar
e5f551ab9958fa7d8fa4cbe07d0aa3555842b4fb
[ "BSL-1.0", "Apache-2.0", "MIT-0", "MIT" ]
2
2020-09-07T03:04:36.000Z
2022-02-04T23:09:24.000Z
// Copyright (c) 2017-2018 Dr. Colin Hirsch and Daniel Frey // Please see LICENSE for license or visit https://github.com/taocpp/json/ #ifndef TAO_JSON_JAXN_IS_IDENTIFIER_HPP #define TAO_JSON_JAXN_IS_IDENTIFIER_HPP #include <cctype> #include "../external/string_view.hpp" namespace tao { namespace json { ...
22.189189
74
0.538368
ludchieng
4023760fa55783ed4c72fceb095545d788e03167
1,774
cpp
C++
CMDResponse/TestMain.cpp
ahidaka/CMDResponse
939c28717f277aff1fb8894c9713e9ec9b8035b4
[ "MIT" ]
null
null
null
CMDResponse/TestMain.cpp
ahidaka/CMDResponse
939c28717f277aff1fb8894c9713e9ec9b8035b4
[ "MIT" ]
null
null
null
CMDResponse/TestMain.cpp
ahidaka/CMDResponse
939c28717f277aff1fb8894c9713e9ec9b8035b4
[ "MIT" ]
null
null
null
#include <stdio.h> #include <tchar.h> #include <windows.h> // // Defines // #define BUFFER_SIZE (4 * 1024 * 1024) // 4MB #define COMMAND_TIMEOUT (100) //dwMilliseconds DWORD CMDResponse(PCTSTR* cmdline, PSTR buf, DWORD size, DWORD timeout); // // Test Main // INT _tmain ( INT argc, _TCHAR* argv[] ) { HANDLE ...
18.479167
74
0.543405
ahidaka
402729069d1c25e64a45384682bf48eb1bfb83bf
4,076
hpp
C++
src/main/include/control/ElevatorController.hpp
MattSa952073/PubSubLub
a20bd82d72f3d5a1599234d638afd578259f3553
[ "BSD-2-Clause" ]
null
null
null
src/main/include/control/ElevatorController.hpp
MattSa952073/PubSubLub
a20bd82d72f3d5a1599234d638afd578259f3553
[ "BSD-2-Clause" ]
null
null
null
src/main/include/control/ElevatorController.hpp
MattSa952073/PubSubLub
a20bd82d72f3d5a1599234d638afd578259f3553
[ "BSD-2-Clause" ]
null
null
null
// Copyright (c) 2018-2019 FRC Team 3512. All Rights Reserved. #pragma once #include <Eigen/Core> #include <frc/controller/StateSpaceController.h> #include <frc/controller/StateSpaceObserver.h> #include <frc/controller/StateSpacePlant.h> #include "Constants.hpp" #include "control/ElevatorClimbCoeffs.hpp" #include "c...
27.355705
79
0.660206
MattSa952073
402c90a52d070ea28b238e903f82e1a2d75acb51
4,900
cpp
C++
qtparallelogram.cpp
tilast/courseWork
e6e76a46c0525f9c8425fda59b30107b709d8e92
[ "MIT" ]
4
2018-03-09T10:18:14.000Z
2020-11-14T08:07:39.000Z
qtparallelogram.cpp
tilast/courseWork
e6e76a46c0525f9c8425fda59b30107b709d8e92
[ "MIT" ]
1
2016-12-06T06:54:27.000Z
2016-12-06T06:54:27.000Z
qtparallelogram.cpp
tilast/courseWork
e6e76a46c0525f9c8425fda59b30107b709d8e92
[ "MIT" ]
2
2016-11-23T10:41:25.000Z
2021-12-09T16:28:55.000Z
#include "qtparallelogram.h" #include <QDebug> QtParallelogram::QtParallelogram(const Point2D& p1, const Point2D& p2, const float& cp) : Parallelogram(p1, p2, cp) { } QtParallelogram::QtParallelogram(const Point2D& p1, const Point2D& p2) : Parallelogram(p1, p2) { setControlPoint(25.); } void QtParallelogram::dr...
30.06135
130
0.650612
tilast
403247304ccdf8d64e3b9eab32551817bba28c6b
356
cpp
C++
CodeForces-Contest/155/A.cpp
Tech-Intellegent/CodeForces-Solution
2f291a38b80b8ff2a2595b2e526716468ff26bf8
[ "MIT" ]
1
2022-01-23T07:18:07.000Z
2022-01-23T07:18:07.000Z
CodeForces-Contest/155/A.cpp
Tech-Intellegent/CodeForces-Solution
2f291a38b80b8ff2a2595b2e526716468ff26bf8
[ "MIT" ]
null
null
null
CodeForces-Contest/155/A.cpp
Tech-Intellegent/CodeForces-Solution
2f291a38b80b8ff2a2595b2e526716468ff26bf8
[ "MIT" ]
1
2022-02-05T11:53:04.000Z
2022-02-05T11:53:04.000Z
#include <iostream> using namespace std; int main() { int n,a; cin>>n>>a; int min = a, max = a, ans = 0; for(int i = 1; i<n; i++){ int num; cin>>num; if(num>max){ ans++; max = num; } if(num<min){ ans++; min = num; ...
17.8
34
0.370787
Tech-Intellegent
40332982e39299e23497c74992500aea4d87277e
1,185
cpp
C++
leetcode/Algorithms/valid-parentheses.cpp
Doarakko/competitive-programming
5ae78c501664af08a3f16c81dbd54c68310adec8
[ "MIT" ]
1
2017-07-11T16:47:29.000Z
2017-07-11T16:47:29.000Z
leetcode/Algorithms/valid-parentheses.cpp
Doarakko/Competitive-Programming
10642a4bd7266c828dd2fc6e311284e86bdf2968
[ "MIT" ]
1
2021-02-07T09:10:26.000Z
2021-02-07T09:10:26.000Z
leetcode/Algorithms/valid-parentheses.cpp
Doarakko/Competitive-Programming
10642a4bd7266c828dd2fc6e311284e86bdf2968
[ "MIT" ]
null
null
null
class Solution { public: bool isValid(string s) { stack<char> v; for (int i = 0; i < s.length(); i++) { switch (s[i]) { case '(': case '[': case '{': v.push(s[i]); break; case ']': ...
21.944444
52
0.206751
Doarakko
403551d98ffbfdc5f494910a4346be0ff61501c8
418
hpp
C++
src/SivComponent/Utils.hpp
mak1a/SivComponent
1043cde67a5dc14f2d4e0128aecfee7f54ed7002
[ "MIT" ]
1
2021-01-24T08:55:59.000Z
2021-01-24T08:55:59.000Z
src/SivComponent/Utils.hpp
mak1a/SivComponent
1043cde67a5dc14f2d4e0128aecfee7f54ed7002
[ "MIT" ]
2
2021-01-24T06:12:12.000Z
2021-01-24T14:37:10.000Z
src/SivComponent/Utils.hpp
mak1a/SivComponent
1043cde67a5dc14f2d4e0128aecfee7f54ed7002
[ "MIT" ]
null
null
null
#pragma once #define NO_USING_S3D #include <Siv3D.hpp> #include "../ComponentEngine/ComponentEngine.hpp" namespace ComponentEngine::Siv { class MouseChase : public ComponentEngine::AttachableComponent { void Start() override {} void Update() override { this->gameobject.lo...
22
74
0.65311
mak1a
40387aae864c8cca2621ee11224839ee155a0ffa
93,724
cpp
C++
selfdrive/locationd/models/generated/live.cpp
lth1436/nirotest
390b8d92493ff50827eaa1987bac07101d257dd9
[ "MIT" ]
null
null
null
selfdrive/locationd/models/generated/live.cpp
lth1436/nirotest
390b8d92493ff50827eaa1987bac07101d257dd9
[ "MIT" ]
null
null
null
selfdrive/locationd/models/generated/live.cpp
lth1436/nirotest
390b8d92493ff50827eaa1987bac07101d257dd9
[ "MIT" ]
null
null
null
extern "C" { #include <math.h> /****************************************************************************** * Code generated with sympy 1.4 * * * * See http://www.sympy.org/ for mor...
46.582505
673
0.686761
lth1436
4039979957516c4bc1245e7b61baf93ccd66128f
964
cpp
C++
Interviewbit/TwoPointers/intersection_of_sorted_arrays.cpp
nullpointxr/HackerRankSolutions
052c9ab66bfd66268b81d8e7888c3d7504ab988f
[ "Apache-2.0" ]
1
2020-10-25T16:12:09.000Z
2020-10-25T16:12:09.000Z
Interviewbit/TwoPointers/intersection_of_sorted_arrays.cpp
abhishek-sankar/Competitive-Coding-Solutions
052c9ab66bfd66268b81d8e7888c3d7504ab988f
[ "Apache-2.0" ]
3
2020-11-12T05:44:24.000Z
2021-04-05T08:09:01.000Z
Interviewbit/TwoPointers/intersection_of_sorted_arrays.cpp
nullpointxr/HackerRankSolutions
052c9ab66bfd66268b81d8e7888c3d7504ab988f
[ "Apache-2.0" ]
null
null
null
/* https://www.interviewbit.com/problems/intersection-of-sorted-arrays/ Intersection Of Sorted Arrays Asked in: Facebook, Google Find the intersection of two sorted arrays. OR in other words, Given 2 sorted arrays, find all the elements which occur in both the arrays. Example : Input : A : [1 2 3 3 4 5 6] B ...
26.054054
199
0.5861
nullpointxr
403ff2e3015c718a5d5239b0c203464b263dea44
1,550
cpp
C++
vkconfig_core/layer_state.cpp
dorian-apanel-intel/VulkanTools
ff6d769f160def2176d6325d8bbee78215ea3c09
[ "Apache-2.0" ]
579
2016-02-16T14:24:33.000Z
2022-03-30T01:15:29.000Z
vkconfig_core/layer_state.cpp
dorian-apanel-intel/VulkanTools
ff6d769f160def2176d6325d8bbee78215ea3c09
[ "Apache-2.0" ]
1,064
2016-02-18T00:27:10.000Z
2022-03-31T18:17:08.000Z
vkconfig_core/layer_state.cpp
dorian-apanel-intel/VulkanTools
ff6d769f160def2176d6325d8bbee78215ea3c09
[ "Apache-2.0" ]
200
2016-02-16T19:57:40.000Z
2022-03-10T22:30:59.000Z
/* * Copyright (c) 2020-2021 Valve Corporation * Copyright (c) 2020-2021 LunarG, 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.apache.org/licenses/LICENSE-2.0...
32.291667
126
0.689032
dorian-apanel-intel
4043aa0a05715467a56bc3de351a54e62952f628
3,855
cpp
C++
WaveletTree/WaveletTree/WaveletNode.cpp
Vaan5/Bioinformatics---Construction-of-a-binary-wavelet-tree-using-RRR-structure
12b8c0a293d521204c97580a6b0ab2654bffac8b
[ "MIT" ]
null
null
null
WaveletTree/WaveletTree/WaveletNode.cpp
Vaan5/Bioinformatics---Construction-of-a-binary-wavelet-tree-using-RRR-structure
12b8c0a293d521204c97580a6b0ab2654bffac8b
[ "MIT" ]
null
null
null
WaveletTree/WaveletTree/WaveletNode.cpp
Vaan5/Bioinformatics---Construction-of-a-binary-wavelet-tree-using-RRR-structure
12b8c0a293d521204c97580a6b0ab2654bffac8b
[ "MIT" ]
4
2016-07-24T18:23:06.000Z
2019-04-11T12:37:22.000Z
#include "WaveletNode.h" // Returns left child node WaveletNode* WaveletNode::getLeftChild() const { return this->leftChild; } // Returns right child node WaveletNode* WaveletNode::getRightChild() const { return this->rightChild; } // Returns parent node WaveletNode* WaveletNode::getParent() const { return this->...
31.341463
233
0.71284
Vaan5
4048c247364a45f2e4e348bdb1c93cac1b919d6b
12,497
cpp
C++
src/tdme/tools/shared/controller/EntityBaseSubScreenController.cpp
mahula/tdme2
0f74d35ae5d2cd33b1a410c09f0d45f250ca7a64
[ "BSD-3-Clause" ]
null
null
null
src/tdme/tools/shared/controller/EntityBaseSubScreenController.cpp
mahula/tdme2
0f74d35ae5d2cd33b1a410c09f0d45f250ca7a64
[ "BSD-3-Clause" ]
null
null
null
src/tdme/tools/shared/controller/EntityBaseSubScreenController.cpp
mahula/tdme2
0f74d35ae5d2cd33b1a410c09f0d45f250ca7a64
[ "BSD-3-Clause" ]
null
null
null
#include <tdme/tools/shared/controller/EntityBaseSubScreenController.h> #include <map> #include <string> #include <vector> #include <tdme/gui/GUIParser.h> #include <tdme/gui/events/Action.h> #include <tdme/gui/events/GUIActionListener_Type.h> #include <tdme/gui/nodes/GUIElementNode.h> #include <tdme/gui/nodes/GUINode...
43.242215
174
0.780427
mahula
404edbd4d2e23e6b8928d59b59bff36c9954a535
39,012
cpp
C++
base/Windows/mkasm/mkasm.cpp
sphinxlogic/Singularity-RDK-2.0
2968c3b920a5383f7360e3e489aa772f964a7c42
[ "MIT" ]
null
null
null
base/Windows/mkasm/mkasm.cpp
sphinxlogic/Singularity-RDK-2.0
2968c3b920a5383f7360e3e489aa772f964a7c42
[ "MIT" ]
null
null
null
base/Windows/mkasm/mkasm.cpp
sphinxlogic/Singularity-RDK-2.0
2968c3b920a5383f7360e3e489aa772f964a7c42
[ "MIT" ]
null
null
null
////////////////////////////////////////////////////////////////////////////// // // Microsoft Research // Copyright (C) Microsoft Corporation // // File: mkasm.cpp // // Contents: Converts binary files into .asm or .cs files. // #include <stdlib.h> #include <stdio.h> #include <stddef.h> #includ...
30.839526
108
0.442069
sphinxlogic
405396e66314ec1ed90f2cb15bc897c67975492d
149
cpp
C++
src/rigidbody_contact.cpp
robdan7/Impact
75dfce522b569bbd2f4dfb549aa78d2196c8e793
[ "MIT" ]
null
null
null
src/rigidbody_contact.cpp
robdan7/Impact
75dfce522b569bbd2f4dfb549aa78d2196c8e793
[ "MIT" ]
null
null
null
src/rigidbody_contact.cpp
robdan7/Impact
75dfce522b569bbd2f4dfb549aa78d2196c8e793
[ "MIT" ]
null
null
null
// // Created by Robin on 2021-05-31. // #include "rigidbody_contact.h" namespace Impact { void Rigidbody_contact::resolve_impulse() { } }
13.545455
47
0.671141
robdan7
4053dab3cc966705393d1a380ea57d96ef730e04
10,505
cpp
C++
Core/Src/usb/usb.cpp
shima-529/BareMetalUSB_STM32F042
887b2bc9d377bf17ce7585efd0c954f5d285fbef
[ "MIT" ]
1
2021-05-21T02:53:37.000Z
2021-05-21T02:53:37.000Z
Core/Src/usb/usb.cpp
shima-529/BareMetalUSB_STM32F042
887b2bc9d377bf17ce7585efd0c954f5d285fbef
[ "MIT" ]
null
null
null
Core/Src/usb/usb.cpp
shima-529/BareMetalUSB_STM32F042
887b2bc9d377bf17ce7585efd0c954f5d285fbef
[ "MIT" ]
1
2021-09-20T02:43:15.000Z
2021-09-20T02:43:15.000Z
#include <usb/usb.hpp> #include "stm32f0xx.h" #include <algorithm> #include <cstdio> #include <usb/utils.hpp> #include <usb_desc/usb_desc_struct.h> #include <usb_desc/usb_desc.h> #include <usb/usb_struct.h> #define printf(...) /* Pointer Notation * - type = uintptr_t : This is an pointer for PMA. * ...
29.928775
137
0.698239
shima-529
405494e075dbe462812254669e3c19340ed25e4e
8,368
cpp
C++
main/source/textrep/TRFactory.cpp
fmoraw/NS
6c3ae93ca7f929f24da4b8f2d14ea0602184cf08
[ "Unlicense" ]
27
2015-01-05T19:25:14.000Z
2022-03-20T00:34:34.000Z
main/source/textrep/TRFactory.cpp
fmoraw/NS
6c3ae93ca7f929f24da4b8f2d14ea0602184cf08
[ "Unlicense" ]
9
2015-01-14T06:51:46.000Z
2021-03-19T12:07:18.000Z
main/source/textrep/TRFactory.cpp
fmoraw/NS
6c3ae93ca7f929f24da4b8f2d14ea0602184cf08
[ "Unlicense" ]
5
2015-01-11T10:31:24.000Z
2021-01-06T01:32:58.000Z
//======== (C) Copyright 2002 Charles G. Cleveland All rights reserved. ========= // // The copyright to the contents herein is the property of Charles G. Cleveland. // The contents may be used and/or copied only with the written permission of // Charles G. Cleveland, or in accordance with the terms and conditions ...
28.462585
140
0.593212
fmoraw
405f147bc84b989e1287d8938de4ba8c380de392
10,954
cc
C++
src/CBLDatabase.cc
stcleezy/couchbase-lite-C
6e04658b023b48908ff1e0d89197e830df22c178
[ "Apache-2.0" ]
null
null
null
src/CBLDatabase.cc
stcleezy/couchbase-lite-C
6e04658b023b48908ff1e0d89197e830df22c178
[ "Apache-2.0" ]
null
null
null
src/CBLDatabase.cc
stcleezy/couchbase-lite-C
6e04658b023b48908ff1e0d89197e830df22c178
[ "Apache-2.0" ]
null
null
null
// // CBLDatabase.cc // // Copyright © 2018 Couchbase. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless r...
31.750725
108
0.619682
stcleezy
406130ac2ca4d5508ff7001c1e25b488fdaae54c
387
cpp
C++
snippets/control_flow/sequential.cpp
raakasf/moderncpp
2f8495c90e717e73303191e6f6aef37212448a46
[ "MIT" ]
334
2020-08-29T16:41:02.000Z
2022-03-28T06:26:28.000Z
snippets/control_flow/sequential.cpp
raakasf/moderncpp
2f8495c90e717e73303191e6f6aef37212448a46
[ "MIT" ]
4
2021-02-06T21:18:20.000Z
2022-03-16T17:10:44.000Z
snippets/control_flow/sequential.cpp
raakasf/moderncpp
2f8495c90e717e73303191e6f6aef37212448a46
[ "MIT" ]
33
2020-08-31T11:36:44.000Z
2022-03-31T07:07:20.000Z
#include <iostream> int main() { using namespace std; double l = 4; double area = l * l; cout << "Area: " << area << endl; double height = 1.90; double weight = 90; cout << "BMI: " << weight / (height * height) << endl; int a = 4; int b = 7; int fx = (b * b * b + a * b) - 2 ...
17.590909
58
0.45478
raakasf
406132820a828ab682116a0cdf4caa22570a6602
23,688
cc
C++
selfdrive/can/dbc_out/toyota_prius_2010_pt.cc
ziggysnorkel/openpilot
695859fb49976c2ef0a6a4a73d30d5cef2ad1945
[ "MIT" ]
1
2021-03-05T18:09:52.000Z
2021-03-05T18:09:52.000Z
selfdrive/can/dbc_out/toyota_prius_2010_pt.cc
ziggysnorkel/openpilot
695859fb49976c2ef0a6a4a73d30d5cef2ad1945
[ "MIT" ]
null
null
null
selfdrive/can/dbc_out/toyota_prius_2010_pt.cc
ziggysnorkel/openpilot
695859fb49976c2ef0a6a4a73d30d5cef2ad1945
[ "MIT" ]
null
null
null
#include <cstdint> #include "common.h" namespace { const Signal sigs_36[] = { { .name = "YAW_RATE", .b1 = 6, .b2 = 10, .bo = 48, .is_signed = false, .factor = 1, .offset = -512.0, .is_little_endian = false, .type = SignalType::DEFAULT, }, { .nam...
19.889169
83
0.461964
ziggysnorkel
4065f9f510ff5bbb5952a42f437f1e1cb3ed9ada
1,938
cpp
C++
src/dropbox/sharing/SharingAclUpdatePolicy.cpp
slashdotted/dropboxQt
63d43fa882cec8fb980a2aab2464a2d7260b8089
[ "MIT" ]
17
2016-12-03T09:12:29.000Z
2020-06-20T22:08:44.000Z
src/dropbox/sharing/SharingAclUpdatePolicy.cpp
slashdotted/dropboxQt
63d43fa882cec8fb980a2aab2464a2d7260b8089
[ "MIT" ]
8
2017-01-05T17:50:16.000Z
2021-08-06T18:56:29.000Z
src/dropbox/sharing/SharingAclUpdatePolicy.cpp
slashdotted/dropboxQt
63d43fa882cec8fb980a2aab2464a2d7260b8089
[ "MIT" ]
8
2017-09-13T17:28:40.000Z
2020-07-27T00:41:44.000Z
/********************************************************** DO NOT EDIT This file was generated from stone specification "sharing" Part of "Ardi - the organizer" project. osoft4ardi@gmail.com www.prokarpaty.net ***********************************************************/ #include "dropbox/sharing/SharingAclUpdate...
24.846154
96
0.605779
slashdotted
406bab3d3a7444fed20e33b4f4cb0bb410f999ae
923
cpp
C++
test/unit/math/prim/scal/meta/scalar_seq_view_test.cpp
PhilClemson/math
fffe604a7ead4525be2551eb81578c5f351e5c87
[ "BSD-3-Clause" ]
1
2019-09-06T15:53:17.000Z
2019-09-06T15:53:17.000Z
test/unit/math/prim/scal/meta/scalar_seq_view_test.cpp
PhilClemson/math
fffe604a7ead4525be2551eb81578c5f351e5c87
[ "BSD-3-Clause" ]
8
2019-01-17T18:51:16.000Z
2019-01-17T18:51:39.000Z
archive/math/test/unit/math/prim/scal/meta/scalar_seq_view_test.cpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
null
null
null
#include <stan/math/prim/scal.hpp> #include <gtest/gtest.h> #include <vector> TEST(MetaTraits, ScalarSeqViewDouble) { using stan::scalar_seq_view; double d = 10; scalar_seq_view<double> sv(d); EXPECT_FLOAT_EQ(d, sv[0]); EXPECT_FLOAT_EQ(d, sv[12]); const double d_const = 10; scalar_seq_view<const double...
26.371429
61
0.722644
PhilClemson
406cd461b7e7b316544d849aa2ae1d3a30cc688d
580
cpp
C++
Core/src/latest/entry/main.cpp
CJBuchel/CJ-Vision
60fad66b807c6082fdcf01df9972b42dfc5c5ecc
[ "MIT" ]
1
2020-09-07T09:15:15.000Z
2020-09-07T09:15:15.000Z
Core/src/latest/entry/main.cpp
CJBuchel/CJ-Vision
60fad66b807c6082fdcf01df9972b42dfc5c5ecc
[ "MIT" ]
null
null
null
Core/src/latest/entry/main.cpp
CJBuchel/CJ-Vision
60fad66b807c6082fdcf01df9972b42dfc5c5ecc
[ "MIT" ]
1
2020-09-02T02:02:11.000Z
2020-09-02T02:02:11.000Z
#include "CJ_Vision.h" extern CJ::Application *CJ::createApplication(); int main(int argc, char **argv) { std::cout << "Test" << std::endl; /** * @TODO: * Create startup procedures + loggers and handlers */ CJ::Log::init("[CJ-Vision Client Startup]"); /** * Create Application, supports only one */ au...
18.125
63
0.596552
CJBuchel
406dd3dafc850c3200b3fae6450422b7a48b9522
3,987
cc
C++
src/Modules/Legacy/Converters/ConvertBundleToField.cc
Haydelj/SCIRun
f7ee04d85349b946224dbff183438663e54b9413
[ "MIT" ]
92
2015-02-09T22:42:11.000Z
2022-03-25T09:14:50.000Z
src/Modules/Legacy/Converters/ConvertBundleToField.cc
Haydelj/SCIRun
f7ee04d85349b946224dbff183438663e54b9413
[ "MIT" ]
1,618
2015-01-05T19:39:13.000Z
2022-03-27T20:28:45.000Z
src/Modules/Legacy/Converters/ConvertBundleToField.cc
Haydelj/SCIRun
f7ee04d85349b946224dbff183438663e54b9413
[ "MIT" ]
64
2015-02-20T17:51:23.000Z
2021-11-19T07:08:08.000Z
/* For more information, please see: http://software.sci.utah.edu The MIT License Copyright (c) 2020 Scientific Computing and Imaging Institute, University of Utah. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ...
30.906977
79
0.722097
Haydelj
40725f5f3de94a17cf68ecfde61e0b369377a5b7
3,807
cpp
C++
Reflection/Utilities/DefaultRegistration.cpp
dnv-opensource/Reflection
27effb850e9f0cc6acc2d48630ee6aa5d75fa000
[ "BSL-1.0" ]
null
null
null
Reflection/Utilities/DefaultRegistration.cpp
dnv-opensource/Reflection
27effb850e9f0cc6acc2d48630ee6aa5d75fa000
[ "BSL-1.0" ]
null
null
null
Reflection/Utilities/DefaultRegistration.cpp
dnv-opensource/Reflection
27effb850e9f0cc6acc2d48630ee6aa5d75fa000
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2021 DNV AS // // Distributed under the Boost Software License, Version 1.0. // See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt #include "DefaultRegistration.h" #include "Reflection/Classes/Class.h" #include <sstream> #include <float.h> #include "Reflection/...
35.25
119
0.653533
dnv-opensource
4072b0d7454a535a65f813f01c31f2bc1c6a4ffa
3,734
cpp
C++
src/conv/step/g-step/Shape_Representation.cpp
behollis/brlcad-svn-rev65072-gsoc2015
c2e49d80e0776ea6da4358a345a04f56e0088b90
[ "BSD-4-Clause", "BSD-3-Clause" ]
35
2015-03-11T11:51:48.000Z
2021-07-25T16:04:49.000Z
src/conv/step/g-step/Shape_Representation.cpp
CloudComputer/brlcad
05952aafa27ee9df17cd900f5d8f8217ed2194af
[ "BSD-4-Clause", "BSD-3-Clause" ]
null
null
null
src/conv/step/g-step/Shape_Representation.cpp
CloudComputer/brlcad
05952aafa27ee9df17cd900f5d8f8217ed2194af
[ "BSD-4-Clause", "BSD-3-Clause" ]
19
2016-05-04T08:39:37.000Z
2021-12-07T12:45:54.000Z
/* S H A P E _ R E P R E S E N T A T I O N . C P P * BRL-CAD * * Copyright (c) 2013-2014 United States Government as represented by * the U.S. Army Research Laboratory. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License ...
33.945455
118
0.696036
behollis
40745804ff968472e9dfd25ce7167fe36acc6855
52
hpp
C++
src/boost_function_types_parameter_types.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_function_types_parameter_types.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_function_types_parameter_types.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/function_types/parameter_types.hpp>
26
51
0.846154
miathedev
40796cedda6f3533ccca96115cfe18a10f5d1b02
153
cpp
C++
lib/src/block.cpp
caseymcc/client
0db6e9b6a66828d2c6faf8ce9db173f541221f70
[ "MIT" ]
1
2021-06-08T14:56:47.000Z
2021-06-08T14:56:47.000Z
lib/src/block.cpp
caseymcc/client
0db6e9b6a66828d2c6faf8ce9db173f541221f70
[ "MIT" ]
null
null
null
lib/src/block.cpp
caseymcc/client
0db6e9b6a66828d2c6faf8ce9db173f541221f70
[ "MIT" ]
null
null
null
#include "block.h" namespace konstructs { Block::Block(const Vector3i position, const BlockData data): position(position), data(data) {} };
21.857143
64
0.686275
caseymcc
40798ac56ef00f3eea109ba54670750e4318300a
127
hpp
C++
NWNXLib/API/Mac/API/unknown_std__vectorTemplatedvoidPtrstd__allocatorTemplatedvoidPtr.hpp
Qowyn/unified
149d0b7670a9d156e64555fe0bd7715423db4c2a
[ "MIT" ]
null
null
null
NWNXLib/API/Mac/API/unknown_std__vectorTemplatedvoidPtrstd__allocatorTemplatedvoidPtr.hpp
Qowyn/unified
149d0b7670a9d156e64555fe0bd7715423db4c2a
[ "MIT" ]
null
null
null
NWNXLib/API/Mac/API/unknown_std__vectorTemplatedvoidPtrstd__allocatorTemplatedvoidPtr.hpp
Qowyn/unified
149d0b7670a9d156e64555fe0bd7715423db4c2a
[ "MIT" ]
null
null
null
#pragma once namespace NWNXLib { namespace API { class std__vectorTemplatedvoidPtrstd__allocatorTemplatedvoidPtr { }; } }
10.583333
68
0.787402
Qowyn
407b3d4bdc100f16c790cc3ac0e301cc9b728f0e
2,484
cpp
C++
tianhe/schedule_restricts_test.cpp
VastRock-Huang/GraphPi
a780bd73743c8535b1e36da210558b0dc81ff0d4
[ "MIT" ]
22
2020-10-07T06:53:49.000Z
2022-03-18T14:00:55.000Z
tianhe/schedule_restricts_test.cpp
VastRock-Huang/GraphPi
a780bd73743c8535b1e36da210558b0dc81ff0d4
[ "MIT" ]
null
null
null
tianhe/schedule_restricts_test.cpp
VastRock-Huang/GraphPi
a780bd73743c8535b1e36da210558b0dc81ff0d4
[ "MIT" ]
5
2020-11-19T20:53:28.000Z
2021-11-28T17:42:29.000Z
#include <../include/graph.h> #include <../include/dataloader.h> #include "../include/pattern.h" #include "../include/schedule.h" #include "../include/common.h" #include "../include/motif_generator.h" #include <assert.h> #include <iostream> #include <string> #include <algorithm> void test_pattern(Graph* g, const Patt...
26.709677
148
0.596216
VastRock-Huang
408238d04fe8683e3500c9fc1001102d086fec87
1,966
cpp
C++
Tests/UnitTests/DFNs/FeaturesDescription2D/OrbDescriptor.cpp
H2020-InFuse/cdff
e55fd48f9a909d0c274c3dfa4fe2704bc5071542
[ "BSD-2-Clause" ]
7
2019-02-26T15:09:50.000Z
2021-09-30T07:39:01.000Z
Tests/UnitTests/DFNs/FeaturesDescription2D/OrbDescriptor.cpp
H2020-InFuse/cdff
e55fd48f9a909d0c274c3dfa4fe2704bc5071542
[ "BSD-2-Clause" ]
null
null
null
Tests/UnitTests/DFNs/FeaturesDescription2D/OrbDescriptor.cpp
H2020-InFuse/cdff
e55fd48f9a909d0c274c3dfa4fe2704bc5071542
[ "BSD-2-Clause" ]
1
2020-12-06T12:09:05.000Z
2020-12-06T12:09:05.000Z
/* -------------------------------------------------------------------------- * * (C) Copyright … * * --------------------------------------------------------------------------- */ /*! * @file OrbDescriptor.cpp * @date 21/02/2018 * @author Alessandro Bianco */ /*! * @addtogroup DFNsTest * * Testing applicatio...
23.686747
110
0.54883
H2020-InFuse
4085eccdaf120d1a66b2af366ba4b999347f78c8
124
hxx
C++
src/Providers/UNIXProviders/CompositeExtent/UNIX_CompositeExtent_ZOS.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
1
2020-10-12T09:00:09.000Z
2020-10-12T09:00:09.000Z
src/Providers/UNIXProviders/CompositeExtent/UNIX_CompositeExtent_ZOS.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
null
null
null
src/Providers/UNIXProviders/CompositeExtent/UNIX_CompositeExtent_ZOS.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
null
null
null
#ifdef PEGASUS_OS_ZOS #ifndef __UNIX_COMPOSITEEXTENT_PRIVATE_H #define __UNIX_COMPOSITEEXTENT_PRIVATE_H #endif #endif
10.333333
40
0.846774
brunolauze
408878463094c8bea9d4f8db70ba10373a2e7de6
12,839
cxx
C++
STEER/ESD/AliESDVZERO.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
52
2016-12-11T13:04:01.000Z
2022-03-11T11:49:35.000Z
STEER/ESD/AliESDVZERO.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
1,388
2016-11-01T10:27:36.000Z
2022-03-30T15:26:09.000Z
STEER/ESD/AliESDVZERO.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
275
2016-06-21T20:24:05.000Z
2022-03-31T13:06:19.000Z
/************************************************************************** * Copyright(c) 1998-2007, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Contributors ...
30.352246
80
0.684789
AllaMaevskaya
40898156dac49bb300c78244296291376d978c1e
4,093
cpp
C++
raytracer/catch/arealights.cpp
tobiasmarciszko/qt_raytracer_challenge
188bf38211e30cb0655577a101c82f6ee8ae2ab8
[ "MIT" ]
24
2019-06-29T07:44:24.000Z
2021-05-27T11:11:49.000Z
raytracer/catch/arealights.cpp
tobiasmarciszko/qt_raytracer_challenge
188bf38211e30cb0655577a101c82f6ee8ae2ab8
[ "MIT" ]
1
2020-12-02T22:54:02.000Z
2021-01-29T08:47:32.000Z
raytracer/catch/arealights.cpp
tobiasmarciszko/qt_raytracer_challenge
188bf38211e30cb0655577a101c82f6ee8ae2ab8
[ "MIT" ]
7
2020-01-29T15:01:19.000Z
2021-05-28T02:34:34.000Z
#include "catch.hpp" #include "worlds.h" #include "point.h" #include "engine.h" #include "equal.h" using namespace Raytracer::Engine; TEST_CASE("is_shadow tests for occlusion between two points") { const World w = Worlds::default_world(); const Point light_position{-10, -10, -10}; const std::vector<std::...
30.544776
125
0.569753
tobiasmarciszko
408aa3a9ff4085098c60438365f02f64ef55bd27
657
cpp
C++
November/Homeworks/Homework 3/4/4/4.cpp
MrMirhan/Algorithm-Class-221-HomeWorks
3198fce11a0fd4ea10b576b418cec3a35ffcff2e
[ "MIT" ]
1
2020-11-19T09:15:09.000Z
2020-11-19T09:15:09.000Z
November/Homeworks/Homework 3/4/4/4.cpp
MrMirhan/Algorithm-Class-221-HomeWorks
3198fce11a0fd4ea10b576b418cec3a35ffcff2e
[ "MIT" ]
null
null
null
November/Homeworks/Homework 3/4/4/4.cpp
MrMirhan/Algorithm-Class-221-HomeWorks
3198fce11a0fd4ea10b576b418cec3a35ffcff2e
[ "MIT" ]
2
2020-11-12T17:37:28.000Z
2020-11-21T14:48:49.000Z
#include <iostream> using namespace std; int main() { int arr[12] = { 4, 11, 16, -2, 65, -5, 12, 1, 123, 54, 10, 0 }; int size = sizeof(arr) / sizeof(arr[0]); for (int i = 0; i < size; i++) { int min = arr[i]; int minAll = i; for (int n = i; n < size; n++) { ...
19.323529
67
0.360731
MrMirhan
408c1df277703a403d5ee121e71f990090a2642b
812
cc
C++
dictionary.cc
jkotlinski/htdk
e1a626fce61112c151e9a63cc176bc67a5a92a91
[ "MIT" ]
2
2016-07-23T18:32:29.000Z
2017-10-24T06:33:37.000Z
dictionary.cc
jkotlinski/htdk
e1a626fce61112c151e9a63cc176bc67a5a92a91
[ "MIT" ]
null
null
null
dictionary.cc
jkotlinski/htdk
e1a626fce61112c151e9a63cc176bc67a5a92a91
[ "MIT" ]
null
null
null
#include "dictionary.h" #include <cassert> void Dictionary::addWord(const std::string& word) { if (addedWords.find(word) != addedWords.end()) { fprintf(stderr, "Redefining word '%s' is not allowed\n", word.c_str()); exit(1); } addedWords.insert(word); auto missingIt = missingWords.fin...
23.882353
79
0.641626
jkotlinski
408c893a4b5af700c9aa9386a9101d51db7bc1eb
8,019
cpp
C++
drowaudio-Utility/plugins/Gate/src/DRowAudioEditorComponent.cpp
34Audiovisual/Progetti_JUCE
d22d91d342939a8463823d7a7ec528bd2228e5f7
[ "MIT" ]
92
2015-02-25T12:28:58.000Z
2022-02-15T17:24:24.000Z
drowaudio-Utility/plugins/Gate/src/DRowAudioEditorComponent.cpp
34Audiovisual/Progetti_JUCE
d22d91d342939a8463823d7a7ec528bd2228e5f7
[ "MIT" ]
8
2015-05-03T18:36:49.000Z
2018-02-06T15:50:32.000Z
drowaudio-Utility/plugins/Gate/src/DRowAudioEditorComponent.cpp
34Audiovisual/Progetti_JUCE
d22d91d342939a8463823d7a7ec528bd2228e5f7
[ "MIT" ]
34
2015-01-02T13:34:49.000Z
2021-05-23T20:37:49.000Z
/* ============================================================================== This file is part of the JUCE library - "Jules' Utility Class Extensions" Copyright 2004-7 by Raw Material Software ltd. ------------------------------------------------------------------------------ JUCE can be redistribu...
35.959641
134
0.658187
34Audiovisual
408f510d8b8c8139501a7bedd41c3947572ee85c
2,338
cpp
C++
fbmeshd/tests/SocketTest.cpp
yuyanduan/fbmeshd
56650c4bab7d4ab15d3f1a853d17fa12f83f43f2
[ "MIT" ]
36
2019-10-03T22:33:51.000Z
2020-11-04T15:04:29.000Z
fbmeshd/tests/SocketTest.cpp
yuyanduan/fbmeshd
56650c4bab7d4ab15d3f1a853d17fa12f83f43f2
[ "MIT" ]
3
2019-10-31T01:27:26.000Z
2020-10-06T17:35:50.000Z
fbmeshd/tests/SocketTest.cpp
yuyanduan/fbmeshd
56650c4bab7d4ab15d3f1a853d17fa12f83f43f2
[ "MIT" ]
15
2019-10-30T15:57:09.000Z
2020-11-11T06:34:59.000Z
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <fbmeshd/gateway-connectivity-monitor/Socket.h> #include <folly/Subprocess.h> #include <gflags/gflags.h> #include <gtest...
28.168675
79
0.662104
yuyanduan
40949e5ca30bd9b376b54abeb3aaf939bafb2add
1,023
cpp
C++
Source/JavascriptEditor/JavascriptCommandlet.cpp
ninemcom/Unreal.js-core
9b7bf774c570be95f4d9f687557164c872bb2307
[ "BSD-3-Clause" ]
1
2019-07-24T13:20:45.000Z
2019-07-24T13:20:45.000Z
Source/JavascriptEditor/JavascriptCommandlet.cpp
ninemcom/Unreal.js-core
9b7bf774c570be95f4d9f687557164c872bb2307
[ "BSD-3-Clause" ]
null
null
null
Source/JavascriptEditor/JavascriptCommandlet.cpp
ninemcom/Unreal.js-core
9b7bf774c570be95f4d9f687557164c872bb2307
[ "BSD-3-Clause" ]
null
null
null
#include "JavascriptCommandlet.h" #include "JavascriptIsolate.h" #include "JavascriptContext.h" UJavascriptCommandlet::UJavascriptCommandlet(const FObjectInitializer& ObjectInitializer) : Super(ObjectInitializer) {} int32 UJavascriptCommandlet::Main(const FString& Params) { bool bSuccess = true; #if !UE_BUILD_SHIP...
22.23913
89
0.753666
ninemcom
40951a20330f7180bc20457151a94c4f6c9b460c
289
cpp
C++
examples/polar_plots/polarplot/polarplot_6.cpp
solosuper/matplotplusplus
87ff5728b14ad904bc6acaa2bf010c1a03c6cb4a
[ "MIT" ]
2,709
2020-08-29T01:25:40.000Z
2022-03-31T18:35:25.000Z
examples/polar_plots/polarplot/polarplot_6.cpp
p-ranav/matplotplusplus
b45015e2be88e3340b400f82637b603d733d45ce
[ "MIT" ]
124
2020-08-29T04:48:17.000Z
2022-03-25T15:45:59.000Z
examples/polar_plots/polarplot/polarplot_6.cpp
p-ranav/matplotplusplus
b45015e2be88e3340b400f82637b603d733d45ce
[ "MIT" ]
203
2020-08-29T04:16:22.000Z
2022-03-30T02:08:36.000Z
#include <cmath> #include <matplot/matplot.h> int main() { using namespace matplot; std::vector<double> theta = linspace(0, 2 * pi, 25); std::vector<double> rho = transform(theta, [](double t) { return 2 * t; }); polarplot(theta, rho, "r-o"); show(); return 0; }
22.230769
79
0.598616
solosuper
409774ca7d7a8642ff69436f7a1ee94894892d47
3,978
cpp
C++
src/vk_helpers.cpp
AdlanSADOU/Vulkan_Renderer
f57fcfbd7d97c42690188724d3b82d02c902072b
[ "Unlicense" ]
1
2020-06-10T07:38:05.000Z
2020-06-10T07:38:05.000Z
src/vk_helpers.cpp
AdlanSADOU/Vulkan_Renderer
f57fcfbd7d97c42690188724d3b82d02c902072b
[ "Unlicense" ]
3
2021-03-17T14:31:12.000Z
2021-03-17T14:31:45.000Z
src/vk_helpers.cpp
AdlanSADOU/Vulkan_Renderer
f57fcfbd7d97c42690188724d3b82d02c902072b
[ "Unlicense" ]
null
null
null
#include <vulkan/vulkan.h> #include "vk_types.h" uint32_t FindProperties( const VkPhysicalDeviceMemoryProperties *pMemoryProperties, uint32_t memoryTypeBitsRequirement, VkMemoryPropertyFlags requiredProperties) { const uint32_t memoryCount = pMemory...
32.876033
118
0.682755
AdlanSADOU
4097767cb9f5f40b3d26a9c45b6ca2987265e33c
2,271
hpp
C++
stan/math/prim/scal/prob/student_t_log.hpp
peterwicksstringfield/math
5ce0718ea64f2cca8b2f1e4eeac27a2dc2bd246e
[ "BSD-3-Clause" ]
null
null
null
stan/math/prim/scal/prob/student_t_log.hpp
peterwicksstringfield/math
5ce0718ea64f2cca8b2f1e4eeac27a2dc2bd246e
[ "BSD-3-Clause" ]
null
null
null
stan/math/prim/scal/prob/student_t_log.hpp
peterwicksstringfield/math
5ce0718ea64f2cca8b2f1e4eeac27a2dc2bd246e
[ "BSD-3-Clause" ]
null
null
null
#ifndef STAN_MATH_PRIM_SCAL_PROB_STUDENT_T_LOG_HPP #define STAN_MATH_PRIM_SCAL_PROB_STUDENT_T_LOG_HPP #include <stan/math/prim/meta.hpp> #include <stan/math/prim/scal/prob/student_t_lpdf.hpp> namespace stan { namespace math { /** \ingroup prob_dists * The log of the Student-t density for the given y, nu, mean, and ...
37.229508
79
0.621312
peterwicksstringfield
409b96050ff311b99e2a59dd6532ddc4768b927e
3,937
cpp
C++
tests/simple_worker.cpp
SiddiqSoft/basic-worker
30ece197c9f5605d2e81f921e466ad8ccfcdcf25
[ "BSD-3-Clause" ]
null
null
null
tests/simple_worker.cpp
SiddiqSoft/basic-worker
30ece197c9f5605d2e81f921e466ad8ccfcdcf25
[ "BSD-3-Clause" ]
3
2021-09-18T15:29:01.000Z
2021-10-06T05:25:13.000Z
tests/simple_worker.cpp
SiddiqSoft/basic-worker
30ece197c9f5605d2e81f921e466ad8ccfcdcf25
[ "BSD-3-Clause" ]
1
2021-10-05T22:30:34.000Z
2021-10-05T22:30:34.000Z
/* asynchrony-lib Add asynchrony to your apps BSD 3-Clause License Copyright (c) 2021, Siddiq Software LLC 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. Redistribu...
34.234783
114
0.679705
SiddiqSoft
409c6fc47b25f7f8d9ea799cc925d017f66ca751
4,360
cpp
C++
src/AST/StmtNode.cpp
linvs/test
9d9390e94ecebd1e3098167c553c86a2cddca289
[ "MIT" ]
428
2020-06-12T06:48:38.000Z
2022-02-15T00:43:19.000Z
src/AST/StmtNode.cpp
linvs/test
9d9390e94ecebd1e3098167c553c86a2cddca289
[ "MIT" ]
null
null
null
src/AST/StmtNode.cpp
linvs/test
9d9390e94ecebd1e3098167c553c86a2cddca289
[ "MIT" ]
18
2020-06-15T02:49:30.000Z
2021-09-08T04:39:13.000Z
#include "AST/StmtNode.h" #include "AST/DeclNode.h" #include "Sema/ASTVisitor.h" ExprStmtNode::ExprStmtNode(const SharedPtr<ExprNode> &expr) : expr(expr) {} void ExprStmtNode::accept(const SharedPtr<ASTVisitor> &visitor) { visitor->visit(staticPtrCast<ExprStmtNode>(shared_from_this())); } void ExprStmtNode::bind...
30.704225
107
0.726606
linvs
40a05189a81660446ad282b9ee0261b8a2c6dd69
456
cpp
C++
Entrenamiento/A/268.cpp
snat-s/competitiva
a743f323e1bedec4709416ef684a0c6a15e42e00
[ "MIT" ]
null
null
null
Entrenamiento/A/268.cpp
snat-s/competitiva
a743f323e1bedec4709416ef684a0c6a15e42e00
[ "MIT" ]
null
null
null
Entrenamiento/A/268.cpp
snat-s/competitiva
a743f323e1bedec4709416ef684a0c6a15e42e00
[ "MIT" ]
null
null
null
#include <iostream> #include <utility> int main(void) { int n = 0, answer = 0; std::cin >> n; std::pair<int, int> teams[n]; for (int i = 0; i < n; ++i) { std::cin >> teams[i].first >> teams[i].second; } for (int i = 0; i < n; i++) { for (int j = 0; j < n; j++) { if(teams[i].first == teams...
19
92
0.475877
snat-s