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
108
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
67k
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
06de7b15e43ae69bb8a7e09d89b5ad3bd211abda
3,379
cpp
C++
modules/parsers/nasm/NasmPreproc.cpp
rpavlik/assembler
08480a71611c1b077630897a93407b7e371f8074
[ "BSD-2-Clause" ]
1
2019-12-17T01:47:08.000Z
2019-12-17T01:47:08.000Z
modules/parsers/nasm/NasmPreproc.cpp
rpavlik/assembler
08480a71611c1b077630897a93407b7e371f8074
[ "BSD-2-Clause" ]
null
null
null
modules/parsers/nasm/NasmPreproc.cpp
rpavlik/assembler
08480a71611c1b077630897a93407b7e371f8074
[ "BSD-2-Clause" ]
null
null
null
// // NASM-compatible preprocessor implementation // // Copyright (C) 2009 Peter Johnson // // Based on the LLVM Compiler Infrastructure // (distributed under the University of Illinois Open Source License. // See Copying/LLVM.txt for details). // // Redistribution and use in source and binary forms, with or without ...
30.718182
78
0.73069
rpavlik
06dfc0582f793f5f27279eb9d1d563a42e50c592
8,670
hpp
C++
Code/Tenshi/Compiler/Project.hpp
NotKyon/Tenshi
9bd298c6ef4e6ae446a866c2918e15b4ab22f9e7
[ "Zlib" ]
null
null
null
Code/Tenshi/Compiler/Project.hpp
NotKyon/Tenshi
9bd298c6ef4e6ae446a866c2918e15b4ab22f9e7
[ "Zlib" ]
8
2016-11-17T00:39:03.000Z
2016-11-29T14:46:27.000Z
Code/Tenshi/Compiler/Project.hpp
NotKyon/Tenshi
9bd298c6ef4e6ae446a866c2918e15b4ab22f9e7
[ "Zlib" ]
null
null
null
#pragma once #include <Collections/List.hpp> #include <Core/String.hpp> #include <Core/Manager.hpp> #include "Platform.hpp" #include "Module.hpp" namespace Tenshi { namespace Compiler { class MCodeGen; // Linking target type (executable, dynamic library, static library) enum class ELinkTarget { // No linking...
24.700855
228
0.677393
NotKyon
06e48436d3955f2cdcaadfc0b35ea6898116a8e8
2,995
cc
C++
chainerx_cc/chainerx/native/native_device/binary.cc
tkerola/chainer
572f6eef2c3f1470911ac08332c2b5c3440edf44
[ "MIT" ]
1
2021-02-26T10:27:25.000Z
2021-02-26T10:27:25.000Z
chainerx_cc/chainerx/native/native_device/binary.cc
tkerola/chainer
572f6eef2c3f1470911ac08332c2b5c3440edf44
[ "MIT" ]
null
null
null
chainerx_cc/chainerx/native/native_device/binary.cc
tkerola/chainer
572f6eef2c3f1470911ac08332c2b5c3440edf44
[ "MIT" ]
2
2019-07-16T00:24:47.000Z
2021-02-26T10:27:27.000Z
#include "chainerx/native/native_device.h" #include "chainerx/array.h" #include "chainerx/device.h" #include "chainerx/dtype.h" #include "chainerx/kernels/binary.h" #include "chainerx/native/elementwise.h" #include "chainerx/native/kernel_regist.h" #include "chainerx/routines/binary.h" #include "chainerx/scalar.h" na...
36.52439
111
0.639399
tkerola
06ea19d888bd64669712ffba8122371d2f6b91e6
357
cpp
C++
acmicpc/1919.cpp
juseongkr/BOJ
8f10a2bf9a7d695455493fbe7423347a8b648416
[ "Apache-2.0" ]
7
2020-02-03T10:00:19.000Z
2021-11-16T11:03:57.000Z
acmicpc/1919.cpp
juseongkr/Algorithm-training
8f10a2bf9a7d695455493fbe7423347a8b648416
[ "Apache-2.0" ]
1
2021-01-03T06:58:24.000Z
2021-01-03T06:58:24.000Z
acmicpc/1919.cpp
juseongkr/Algorithm-training
8f10a2bf9a7d695455493fbe7423347a8b648416
[ "Apache-2.0" ]
1
2020-01-22T14:34:03.000Z
2020-01-22T14:34:03.000Z
#include <iostream> using namespace std; int dict1[26], dict2[26], ans; int main() { string a, b; cin >> a >> b; for (int i=0; i<a.length(); ++i) dict1[a[i]-'a']++; for (int i=0; i<b.length(); ++i) dict2[b[i]-'a']++; for (int i=0; i<26; ++i) if (dict1[i] != dict2[i]) ans += abs(dict1[i] - dict2[i]); ...
14.28
35
0.507003
juseongkr
06ebf7ec5f14bcaef99d055302d23ecd80862c2d
643
hpp
C++
include/RED4ext/Scripting/Natives/Generated/game/ui/TutorialArea.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
1
2022-03-18T17:22:09.000Z
2022-03-18T17:22:09.000Z
include/RED4ext/Scripting/Natives/Generated/game/ui/TutorialArea.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
null
null
null
include/RED4ext/Scripting/Natives/Generated/game/ui/TutorialArea.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
1
2022-02-13T01:44:55.000Z
2022-02-13T01:44:55.000Z
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> #include <RED4ext/Common.hpp> #include <RED4ext/CName.hpp> #include <RED4ext/Scripting/Natives/Generated/ink/WidgetLogicController.hpp> namespace RED4ext { namespace game::ui { struct TutorialArea : ink::WidgetLogicController ...
25.72
76
0.744946
jackhumbert
06ec114313a6aa630fbfd8bba17b4652f84bf784
623
cpp
C++
BAC/exercises/ch10/UVa11121.cpp
Anyrainel/aoapc-code
e787a01380698fb9236d933462052f97b20e6132
[ "Apache-2.0" ]
3
2017-08-15T06:00:01.000Z
2018-12-10T09:05:53.000Z
BAC/exercises/ch10/UVa11121.cpp
Anyrainel/aoapc-related-code
e787a01380698fb9236d933462052f97b20e6132
[ "Apache-2.0" ]
null
null
null
BAC/exercises/ch10/UVa11121.cpp
Anyrainel/aoapc-related-code
e787a01380698fb9236d933462052f97b20e6132
[ "Apache-2.0" ]
2
2017-09-16T18:46:27.000Z
2018-05-22T05:42:03.000Z
// UVa11121 Base -2 // Rujia Liu // 题意:已知正整数和负整数都有惟一的-2进制表示,而且不带符号位。输入整数n,输出它的-2进制表示 // 算法:按照b0, b1, ... 这样的顺序求解,每次对-2取余,然后把余数调整成0和1。 #include<cstdio> void div_negative(int n, int m, int& q, int& r) { q = n / m; r = n - q * m; while(r < 0) { r -= m; q++; } } int b[10]; void solve(int n) { int k = 0, q, r; d...
17.8
51
0.489567
Anyrainel
06f2f84d8bf40c097c7a64c438db1e020f4aa5a3
8,357
cpp
C++
Modules/PhotoacousticsLib/src/IO/mitkPAIOUtil.cpp
wyyrepo/MITK
d0837f3d0d44f477b888ec498e9a2ed407e79f20
[ "BSD-3-Clause" ]
1
2021-11-20T08:19:27.000Z
2021-11-20T08:19:27.000Z
Modules/PhotoacousticsLib/src/IO/mitkPAIOUtil.cpp
wyyrepo/MITK
d0837f3d0d44f477b888ec498e9a2ed407e79f20
[ "BSD-3-Clause" ]
null
null
null
Modules/PhotoacousticsLib/src/IO/mitkPAIOUtil.cpp
wyyrepo/MITK
d0837f3d0d44f477b888ec498e9a2ed407e79f20
[ "BSD-3-Clause" ]
null
null
null
#include "mitkPAIOUtil.h" #include "mitkIOUtil.h" #include "mitkImageReadAccessor.h" #include <string> #include <sstream> #include <vector> #include "mitkPAComposedVolume.h" #include "mitkPASlicedVolumeGenerator.h" #include "mitkPANoiseGenerator.h" #include "mitkPAVolumeManipulator.h" #include <mitkProperties.h> #in...
34.676349
120
0.703123
wyyrepo
06f2fdf42fc342f4fabfa0933e662c8482f1adfb
4,425
cpp
C++
src/IME/common/Preference.cpp
KwenaMashamaite/IME
c31a5cdacdc6cb30d3a4e1f4b317e0addd2e6107
[ "MIT" ]
9
2021-01-11T10:43:58.000Z
2022-02-17T10:09:10.000Z
src/IME/common/Preference.cpp
KwenaMashamaite/IME
c31a5cdacdc6cb30d3a4e1f4b317e0addd2e6107
[ "MIT" ]
null
null
null
src/IME/common/Preference.cpp
KwenaMashamaite/IME
c31a5cdacdc6cb30d3a4e1f4b317e0addd2e6107
[ "MIT" ]
5
2021-03-07T00:32:08.000Z
2022-02-17T10:15:16.000Z
//////////////////////////////////////////////////////////////////////////////// // IME - Infinite Motion Engine // // Copyright (c) 2020-2021 Kwena Mashamaite (kwena.mashamaite1@gmail.com) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentatio...
43.382353
119
0.602938
KwenaMashamaite
06f304c1aee397cbff5bbe9e1d0e961873b9eae0
443
cpp
C++
September LeetCode Challenge/Day_24.cpp
mishrraG/100DaysOfCode
3358af290d4f05889917808d68b95f37bd76e698
[ "MIT" ]
13
2020-08-10T14:06:37.000Z
2020-09-24T14:21:33.000Z
September LeetCode Challenge/Day_24.cpp
mishrraG/DaysOfCP
3358af290d4f05889917808d68b95f37bd76e698
[ "MIT" ]
null
null
null
September LeetCode Challenge/Day_24.cpp
mishrraG/DaysOfCP
3358af290d4f05889917808d68b95f37bd76e698
[ "MIT" ]
1
2020-05-31T21:09:14.000Z
2020-05-31T21:09:14.000Z
class Solution { public: char findTheDifference(string s, string t) { unordered_map<char, int>mp; for (int i = 0; i < s.length(); i++) { mp[s[i]]++; } char x; for (int i = 0; i < t.length(); i++) { if (!mp[t[i]]) { x = t...
21.095238
48
0.334086
mishrraG
06f36dcb18f781b9264b1e5d2a730ba728f28ac4
453
hpp
C++
src/block.hpp
marchelzo/motherload
6e16797d198171c1039105f3af9a4df54bd6c218
[ "MIT" ]
1
2016-12-09T08:00:01.000Z
2016-12-09T08:00:01.000Z
src/block.hpp
marchelzo/motherload
6e16797d198171c1039105f3af9a4df54bd6c218
[ "MIT" ]
1
2016-12-09T08:03:43.000Z
2018-11-15T15:04:35.000Z
src/block.hpp
marchelzo/motherload
6e16797d198171c1039105f3af9a4df54bd6c218
[ "MIT" ]
null
null
null
#include <cstdlib> #pragma once enum class Ore { COPPER, TIN, IRON, SILVER, GOLD, RUBY, DIAMOND, ROCK, NUM_ORE_TYPES, NONE }; class Block { Ore ore; bool _drilled; bool _drillable; public: Block(bool); size_t texture(); bool drillable(); bool drille...
12.243243
23
0.565121
marchelzo
06f52b78d0d958cbf5abc481772fc1658500a3a5
194
cpp
C++
2019Homeworks/20191209_2017EndTerm/6.MaxProduct.cpp
Guyutongxue/Introduction_to_Computation
062f688fe3ffb8e29cfaf139223e4994edbf64d6
[ "WTFPL" ]
8
2019-10-09T14:33:42.000Z
2020-12-03T00:49:29.000Z
2019Homeworks/20191209_2017EndTerm/6.MaxProduct.cpp
Guyutongxue/Introduction_to_Computation
062f688fe3ffb8e29cfaf139223e4994edbf64d6
[ "WTFPL" ]
null
null
null
2019Homeworks/20191209_2017EndTerm/6.MaxProduct.cpp
Guyutongxue/Introduction_to_Computation
062f688fe3ffb8e29cfaf139223e4994edbf64d6
[ "WTFPL" ]
null
null
null
#include<iostream> // Same as P4-1/9 using namespace std; int main(){ int s=0,n,i=2,q,j=2; for(cin>>n;s+i<=n;s+=i++); for(i--;j++<=i;cout<<j+((q=i-n+s)?-(j<=-~q):j>i)<<" \n"[j>i]); }
27.714286
66
0.484536
Guyutongxue
06f877892408d012f4926c6eb73b5e69a9b85c60
3,147
cpp
C++
src/RotateDialog.cpp
Helios-vmg/Borderless
8473a667cedadd08dc5d11967aff60b66773b801
[ "BSD-2-Clause" ]
2
2016-04-28T10:01:02.000Z
2016-06-13T20:27:16.000Z
src/RotateDialog.cpp
Helios-vmg/Borderless
8473a667cedadd08dc5d11967aff60b66773b801
[ "BSD-2-Clause" ]
1
2016-06-13T20:52:23.000Z
2016-06-14T00:09:19.000Z
src/RotateDialog.cpp
Helios-vmg/Borderless
8473a667cedadd08dc5d11967aff60b66773b801
[ "BSD-2-Clause" ]
2
2017-07-26T13:13:48.000Z
2017-10-18T13:04:41.000Z
/* Copyright (c), Helios All rights reserved. Distributed under a permissive license. See COPYING.txt for details. */ #include "RotateDialog.h" #include "Misc.h" #include <cmath> #include <QMessageBox> const double log_125 = log(1.25); RotateDialog::RotateDialog(MainWindow &parent) : QDialog(parent...
31.158416
106
0.698443
Helios-vmg
06fb25a25110444df4a5f2b1ec74b8e9ac82351f
799
cpp
C++
Flongo/src/Platform/OpenGL/OpenGLContext.cpp
Hans-Jeiger/Flongo
2dc99e64cd24ab4190e220f27d1ad4ba45ffd9af
[ "Apache-2.0" ]
null
null
null
Flongo/src/Platform/OpenGL/OpenGLContext.cpp
Hans-Jeiger/Flongo
2dc99e64cd24ab4190e220f27d1ad4ba45ffd9af
[ "Apache-2.0" ]
null
null
null
Flongo/src/Platform/OpenGL/OpenGLContext.cpp
Hans-Jeiger/Flongo
2dc99e64cd24ab4190e220f27d1ad4ba45ffd9af
[ "Apache-2.0" ]
null
null
null
#include "flopch.h" #include "OpenGLContext.h" #include "Flongo/Core.h" #include "Flongo/Log.h" #include <GLFW/glfw3.h> #include <glad/glad.h> namespace Flongo { OpenGLContext::OpenGLContext(GLFWwindow* windowHandle) : windowHandle(windowHandle) { FLO_CORE_ASSERT(windowHandle, "windowHandle is null!"); } voi...
23.5
66
0.740926
Hans-Jeiger
06fc1dfda4198d9101269691cbdca967bf8ebbf1
734
hpp
C++
templates/Group.hpp
emiliev/IS-OOP-2018
f280baff30e84b04b3aeec64af2f8eb0e785cb16
[ "MIT" ]
null
null
null
templates/Group.hpp
emiliev/IS-OOP-2018
f280baff30e84b04b3aeec64af2f8eb0e785cb16
[ "MIT" ]
null
null
null
templates/Group.hpp
emiliev/IS-OOP-2018
f280baff30e84b04b3aeec64af2f8eb0e785cb16
[ "MIT" ]
null
null
null
// // Group.hpp // templates // // Created by Emil Iliev on 4/13/18. // Copyright © 2018 Emil Iliev. All rights reserved. // #ifndef Group_hpp #define Group_hpp #include <stdio.h> #include <iostream> #include <fstream> #include <cstring> #include "DynamicArray.hpp" #include "Student.hpp" using namespace std; #de...
18.35
75
0.685286
emiliev
06fc94d0f452cd8af8f9ab9fdfea9384bc463e90
9,264
hh
C++
vm/vm/main/cached/DictionaryLike-interf.hh
Ahzed11/mozart2
4806504b103e11be723e7813be8f69e4d85875cf
[ "BSD-2-Clause" ]
379
2015-01-02T20:27:33.000Z
2022-03-26T23:18:17.000Z
vm/vm/main/cached/DictionaryLike-interf.hh
Ahzed11/mozart2
4806504b103e11be723e7813be8f69e4d85875cf
[ "BSD-2-Clause" ]
81
2015-01-08T13:18:52.000Z
2021-12-21T14:02:21.000Z
vm/vm/main/cached/DictionaryLike-interf.hh
Ahzed11/mozart2
4806504b103e11be723e7813be8f69e4d85875cf
[ "BSD-2-Clause" ]
75
2015-01-06T09:08:20.000Z
2021-12-17T09:40:18.000Z
class DictionaryLike { public: DictionaryLike(RichNode self) : _self(self) {} DictionaryLike(UnstableNode& self) : _self(self) {} DictionaryLike(StableNode& self) : _self(self) {} bool isDictionary(VM vm) { if (_self.is<Dictionary>()) { return _self.as<Dictionary>().isDictionary(vm); } else if (_...
40.103896
201
0.635255
Ahzed11
06fe339a1f9eac884c9ca0977b03760bc7013dda
1,638
cpp
C++
windz/net/test/tcpclient_test1.cpp
Crystalwindz/windz
f13ea10187eb1706d1c7b31b34ce1bf458d721bd
[ "MIT" ]
null
null
null
windz/net/test/tcpclient_test1.cpp
Crystalwindz/windz
f13ea10187eb1706d1c7b31b34ce1bf458d721bd
[ "MIT" ]
null
null
null
windz/net/test/tcpclient_test1.cpp
Crystalwindz/windz
f13ea10187eb1706d1c7b31b34ce1bf458d721bd
[ "MIT" ]
null
null
null
#include "windz/base/Thread.h" #include "windz/base/Util.h" #include "windz/net/Channel.h" #include "windz/net/EventLoop.h" #include "windz/net/TcpClient.h" #include <iostream> #include <memory> #include <vector> using namespace windz; int main(int argc, char **argv) { EventLoop loop; InetAddr addr("127.0.0....
32.76
100
0.551893
Crystalwindz
06fe9b2301f34ae2c75be2b2b4cc8705da75a3ca
2,832
cpp
C++
copasi/bindings/cpp_examples/changeValues/changeValues.cpp
MedAnisse/COPASI
561f591f8231b1c4880ce554d0197ff21ef4734c
[ "Artistic-2.0" ]
64
2015-03-14T14:06:18.000Z
2022-02-04T23:19:08.000Z
copasi/bindings/cpp_examples/changeValues/changeValues.cpp
MedAnisse/COPASI
561f591f8231b1c4880ce554d0197ff21ef4734c
[ "Artistic-2.0" ]
4
2017-08-16T10:26:46.000Z
2020-01-08T12:05:54.000Z
copasi/bindings/cpp_examples/changeValues/changeValues.cpp
MedAnisse/COPASI
561f591f8231b1c4880ce554d0197ff21ef4734c
[ "Artistic-2.0" ]
28
2015-04-16T14:14:59.000Z
2022-03-28T12:04:14.000Z
// Copyright (C) 2019 - 2021 by Pedro Mendes, Rector and Visitors of the // University of Virginia, University of Heidelberg, and University // of Connecticut School of Medicine. // All rights reserved. /** * This reads a copasi file and a parameter file, assigns those parameters * and writes them into a new COPASI ...
24.842105
105
0.641596
MedAnisse
06ff64fed4b79226cbc69a7c9129b5ce117d3a04
4,492
cpp
C++
src/implementation/engine/components/RigidDynamicComponent.cpp
LarsHagemann/OrbitEngine
33e01efaac617c53a701f01729581932fc81e8bf
[ "MIT" ]
null
null
null
src/implementation/engine/components/RigidDynamicComponent.cpp
LarsHagemann/OrbitEngine
33e01efaac617c53a701f01729581932fc81e8bf
[ "MIT" ]
2
2022-01-18T21:31:01.000Z
2022-01-20T21:02:09.000Z
src/implementation/engine/components/RigidDynamicComponent.cpp
LarsHagemann/OrbitEngine
33e01efaac617c53a701f01729581932fc81e8bf
[ "MIT" ]
null
null
null
#include "implementation/engine/components/RigidDynamicComponent.hpp" #include "implementation/misc/Logger.hpp" #include <extensions/PxDefaultStreams.h> #include <extensions/PxRigidActorExt.h> #include <PxMaterial.h> #define PX_RELEASE(x) if(x) { x->release(); x = nullptr; } namespace orbit { RigidDynamicCo...
37.433333
120
0.633793
LarsHagemann
6600c25fe9b97c39731e2b1d07ad13cdc66e18de
490
cpp
C++
LeetCode/784.cpp
LauZyHou/-
66c047fe68409c73a077eae561cf82b081cf8e45
[ "MIT" ]
7
2019-02-25T13:15:00.000Z
2021-12-21T22:08:39.000Z
LeetCode/784.cpp
LauZyHou/-
66c047fe68409c73a077eae561cf82b081cf8e45
[ "MIT" ]
null
null
null
LeetCode/784.cpp
LauZyHou/-
66c047fe68409c73a077eae561cf82b081cf8e45
[ "MIT" ]
1
2019-04-03T06:12:46.000Z
2019-04-03T06:12:46.000Z
class Solution { private: int t; vector<string> ans; public: void backtrack(string s,int i){ if(i==t) ans.push_back(s); else{ if(s[i]<='z' && s[i]>='a'){ backtrack(s,i+1); s[i] = s[i]-'a'+'A'; backtrack(s,i+1); }else if(s[i]<='Z' && s[i]>='A'){ backtrack(s,i+1); s[i] = s[i]-'A'+'a'; ...
17.5
52
0.514286
LauZyHou
6602e314d374652be6b1e721f6135f0c129265e2
3,126
cc
C++
Fireworks/ParticleFlow/plugins/FWPFClusterLegoProxyBuilder.cc
bisnupriyasahu/cmssw
6cf37ca459246525be0e8a6f5172c6123637d259
[ "Apache-2.0" ]
3
2018-08-24T19:10:26.000Z
2019-02-19T11:45:32.000Z
Fireworks/ParticleFlow/plugins/FWPFClusterLegoProxyBuilder.cc
bisnupriyasahu/cmssw
6cf37ca459246525be0e8a6f5172c6123637d259
[ "Apache-2.0" ]
3
2018-08-23T13:40:24.000Z
2019-12-05T21:16:03.000Z
Fireworks/ParticleFlow/plugins/FWPFClusterLegoProxyBuilder.cc
bisnupriyasahu/cmssw
6cf37ca459246525be0e8a6f5172c6123637d259
[ "Apache-2.0" ]
5
2018-08-21T16:37:52.000Z
2020-01-09T13:33:17.000Z
#include "FWPFClusterLegoProxyBuilder.h" #include "Fireworks/Candidates/interface/FWLegoCandidate.h" //______________________________________________________________________________ void FWPFClusterLegoProxyBuilder::localModelChanges( const FWModelId &iId, TEveElement *parent, FWViewType::EType viewType, const FWViewC...
42.243243
144
0.740883
bisnupriyasahu
6609650e7ec6d5aeeeeb2b420cbeed07e3e68d60
739
cpp
C++
StaticBody.cpp
elix22/Urho3DPhysX
4f0a21e76ab4aa1779e273cfe64122699e08f5bc
[ "MIT" ]
8
2019-08-21T09:23:36.000Z
2021-12-23T07:07:57.000Z
StaticBody.cpp
elix22/Urho3DPhysX
4f0a21e76ab4aa1779e273cfe64122699e08f5bc
[ "MIT" ]
2
2019-08-21T13:58:08.000Z
2019-08-25T11:57:29.000Z
StaticBody.cpp
elix22/Urho3DPhysX
4f0a21e76ab4aa1779e273cfe64122699e08f5bc
[ "MIT" ]
6
2019-08-18T20:54:15.000Z
2020-08-11T02:35:37.000Z
#include "StaticBody.h" #include "Physics.h" #include <Urho3D/IO/Log.h> #include <Urho3D/Core/Context.h> Urho3DPhysX::StaticBody::StaticBody(Context * context) : RigidActor(context) { auto* physics = GetSubsystem<Physics>(); if (physics) { auto* px = physics->GetPhysics(); if (px) {...
23.09375
94
0.637348
elix22
660acd622b4db8af5a7e6b68eb959bc6070d760e
266
cpp
C++
src/gameworld/gameworld/global/activity/impl/activityxingzuoyiji.cpp
mage-game/metagame-xm-server
193b67389262803fe0eae742800b1e878b5b3087
[ "MIT" ]
3
2021-12-16T13:57:28.000Z
2022-03-26T07:50:08.000Z
src/gameworld/gameworld/global/activity/impl/activityxingzuoyiji.cpp
mage-game/metagame-xm-server
193b67389262803fe0eae742800b1e878b5b3087
[ "MIT" ]
null
null
null
src/gameworld/gameworld/global/activity/impl/activityxingzuoyiji.cpp
mage-game/metagame-xm-server
193b67389262803fe0eae742800b1e878b5b3087
[ "MIT" ]
1
2022-03-26T07:50:11.000Z
2022-03-26T07:50:11.000Z
#include "activityxingzuoyiji.hpp" #include "config/logicconfigmanager.hpp" ActivityXingzuoYiji::ActivityXingzuoYiji(ActivityManager *activity_manager) : Activity(activity_manager, ACTIVITY_TYPE_XINGZUOYIJI) { } ActivityXingzuoYiji::~ActivityXingzuoYiji() { }
16.625
75
0.823308
mage-game
660cd55dc07f60003792f554033b93e4caa76776
3,228
cpp
C++
TAO/examples/RTCORBA/Activity/Periodic_Task.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
36
2015-01-10T07:27:33.000Z
2022-03-07T03:32:08.000Z
TAO/examples/RTCORBA/Activity/Periodic_Task.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
2
2018-08-13T07:30:51.000Z
2019-02-25T03:04:31.000Z
TAO/examples/RTCORBA/Activity/Periodic_Task.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
38
2015-01-08T14:12:06.000Z
2022-01-19T08:33:00.000Z
//$Id: Periodic_Task.cpp 83023 2008-10-09 18:34:53Z johnnyw $ #include "Periodic_Task.h" #include "ace/High_Res_Timer.h" #include "tao/debug.h" #include "Task_Stats.h" Periodic_Task::Periodic_Task (void) :barrier_ (0), task_priority_ (0), period_ (0), exec_time_ (0), phase_ (0), iter_ (0), load_...
27.827586
120
0.590149
cflowe
6615746073f17a2f1e720c04a6e30c0dd63d1e22
239
cpp
C++
Atomic/AtUtf8Lit.cpp
denisbider/Atomic
8e8e979a6ef24d217a77f17fa81a4129f3506952
[ "MIT" ]
4
2019-11-10T21:56:40.000Z
2021-12-11T20:10:55.000Z
Atomic/AtUtf8Lit.cpp
denisbider/Atomic
8e8e979a6ef24d217a77f17fa81a4129f3506952
[ "MIT" ]
null
null
null
Atomic/AtUtf8Lit.cpp
denisbider/Atomic
8e8e979a6ef24d217a77f17fa81a4129f3506952
[ "MIT" ]
1
2019-11-11T08:38:59.000Z
2019-11-11T08:38:59.000Z
#include "AtIncludes.h" #include "AtUtf8Lit.h" namespace At { namespace Utf8 { namespace Lit { Seq const BOM { "\xEF\xBB\xBF", 3 }; // U+FEFF Seq const Ellipsis { "\xE2\x80\xA6", 3 }; // U+2026 } } }
14.058824
55
0.535565
denisbider
66166a6b354ad4503185ffc58c129fa07cc8a896
219
cpp
C++
March Cook-Off 2022/Janmansh and Games.cpp
tarunbisht-24/Codechef-Contests
8e7dcf69b839d586f4e73bc8183b8963a8cf1d50
[ "Apache-2.0" ]
1
2022-03-06T18:27:58.000Z
2022-03-06T18:27:58.000Z
March Cook-Off 2022/Janmansh and Games.cpp
tarunbisht-24/Codechef-Contests
8e7dcf69b839d586f4e73bc8183b8963a8cf1d50
[ "Apache-2.0" ]
null
null
null
March Cook-Off 2022/Janmansh and Games.cpp
tarunbisht-24/Codechef-Contests
8e7dcf69b839d586f4e73bc8183b8963a8cf1d50
[ "Apache-2.0" ]
null
null
null
#include <iostream> using namespace std; int main() { int t; cin>>t; while(t--) { int x,y; cin>>x>>y; if((x+y)&1) cout<<"Jay"<<endl; else cout<<"Janmansh"<<endl; } return 0; }
11.526316
28
0.484018
tarunbisht-24
66193bd7bea2e37f3120b4ae867a51dc34c0a7d5
1,047
cpp
C++
cpp/autodiff/src/Variable.cpp
andreaswitsch/cnlcsplib
5350cd094c4867e7d6b33d2dda22b21425729dd2
[ "Apache-2.0" ]
null
null
null
cpp/autodiff/src/Variable.cpp
andreaswitsch/cnlcsplib
5350cd094c4867e7d6b33d2dda22b21425729dd2
[ "Apache-2.0" ]
null
null
null
cpp/autodiff/src/Variable.cpp
andreaswitsch/cnlcsplib
5350cd094c4867e7d6b33d2dda22b21425729dd2
[ "Apache-2.0" ]
null
null
null
/* * Variable.cpp * * Created on: Jun 5, 2014 * Author: psp */ #include "Variable.h" #include "TermBuilder.h" #include <limits> namespace autodiff { int Variable::var_id = 0; Variable::Variable() { globalMin = -numeric_limits<double>::infinity(); globalMax = numeric_limits<double>::infinity(); ...
17.163934
87
0.663801
andreaswitsch
661b3510e9315a377658178ea8054a7ba0aac6c2
4,320
cc
C++
lib/sk/util/test/collection/HolderTest.cc
stemkit-collection/stemkit-cpp
dfa77d831f49916ba6d134f407a4dcd0983328f6
[ "MIT" ]
4
2019-02-19T16:48:41.000Z
2022-01-31T07:57:54.000Z
lib/sk/util/test/collection/HolderTest.cc
stemkit-collection/stemkit-cpp
dfa77d831f49916ba6d134f407a4dcd0983328f6
[ "MIT" ]
1
2019-01-30T04:48:35.000Z
2019-01-30T04:48:35.000Z
lib/sk/util/test/collection/HolderTest.cc
stemkit-collection/stemkit-cpp
dfa77d831f49916ba6d134f407a4dcd0983328f6
[ "MIT" ]
null
null
null
/* vi: sw=2: * Copyright (c) 2006, Gennady Bystritsky <bystr@mac.com> * * Distributed under the MIT Licence. * This is free software. See 'LICENSE' for details. * You must read and accept the license prior to use. */ #include "HolderTest.h" #include <sk/util/Holder.cxx> #include <sk/util/MissingResourceExcep...
26.666667
77
0.71412
stemkit-collection
66200635a948bc973c086e585dfc52faaba9fa4f
333
cpp
C++
Luogu/P3811.cpp
XenonWZH/involution
189f6ce2bbfe3a7c5d536bbd769f353e4c06e7c6
[ "MIT" ]
null
null
null
Luogu/P3811.cpp
XenonWZH/involution
189f6ce2bbfe3a7c5d536bbd769f353e4c06e7c6
[ "MIT" ]
null
null
null
Luogu/P3811.cpp
XenonWZH/involution
189f6ce2bbfe3a7c5d536bbd769f353e4c06e7c6
[ "MIT" ]
null
null
null
#include <cstdio> #include <iostream> const int MAXN = 3000000; int main() { int n, p; std::cin >> n >> p; static long long inv[MAXN + 1]; inv[1] = 1; puts("1"); for(int i = 2; i <= n; i++) { inv[i] = ((long long)p - p / i) * inv[p % i] % p; printf("%lld\n", inv[i]); } ...
17.526316
57
0.456456
XenonWZH
66214b60e0a23807b04b06fb548a9118d68dda53
6,086
cpp
C++
Source/D3D12/DescriptorPoolD3D12.cpp
jayrulez/NRIOOP
375dd2e4e5a33863a84e6c8166488f1139fb2f74
[ "MIT" ]
null
null
null
Source/D3D12/DescriptorPoolD3D12.cpp
jayrulez/NRIOOP
375dd2e4e5a33863a84e6c8166488f1139fb2f74
[ "MIT" ]
null
null
null
Source/D3D12/DescriptorPoolD3D12.cpp
jayrulez/NRIOOP
375dd2e4e5a33863a84e6c8166488f1139fb2f74
[ "MIT" ]
null
null
null
/* Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. NVIDIA CORPORATION and its licensors retain all intellectual property and proprietary rights in and to this software, related documentation and any modifications thereto. Any use, reproduction, disclosure or distribution of this software and related docum...
43.784173
235
0.781794
jayrulez
662382512402483c434b97928f9c85ad59240c61
5,374
cpp
C++
src/common/utils/LegacySupport.cpp
MaximMilashchenko/ComputeLibrary
91ee4d0a9ef128b16936921470a0e3ffef347536
[ "MIT" ]
2,313
2017-03-24T16:25:28.000Z
2022-03-31T03:00:30.000Z
src/common/utils/LegacySupport.cpp
MaximMilashchenko/ComputeLibrary
91ee4d0a9ef128b16936921470a0e3ffef347536
[ "MIT" ]
952
2017-03-28T07:05:58.000Z
2022-03-30T09:54:02.000Z
src/common/utils/LegacySupport.cpp
MaximMilashchenko/ComputeLibrary
91ee4d0a9ef128b16936921470a0e3ffef347536
[ "MIT" ]
714
2017-03-24T22:21:51.000Z
2022-03-18T19:49:57.000Z
/* * Copyright (c) 2021 Arm Limited. * * SPDX-License-Identifier: MIT * * 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 ...
32.373494
121
0.673986
MaximMilashchenko
662a91f276e5295f180a0acfe97af4f2be967f18
413
hpp
C++
Svc/PassiveL2PrmDb/PassiveL2PrmDbImplCfg.hpp
genemerewether/fprime
fcdd071b5ddffe54ade098ca5d451903daba9eed
[ "Apache-2.0" ]
5
2019-10-22T03:41:02.000Z
2022-01-16T12:48:31.000Z
Svc/PassiveL2PrmDb/PassiveL2PrmDbImplCfg.hpp
genemerewether/fprime
fcdd071b5ddffe54ade098ca5d451903daba9eed
[ "Apache-2.0" ]
27
2019-02-07T17:58:58.000Z
2019-08-13T00:46:24.000Z
Svc/PassiveL2PrmDb/PassiveL2PrmDbImplCfg.hpp
genemerewether/fprime
fcdd071b5ddffe54ade098ca5d451903daba9eed
[ "Apache-2.0" ]
3
2019-01-01T18:44:37.000Z
2019-08-01T01:19:39.000Z
/* * PassiveL2PrmDblImplCfg.hpp * * Created on: Jun 19, 2019 * Author: kubiak */ #ifndef PASSIVE_L2_PRMDB_PRMDBLIMPLCFG_HPP_ #define PASSIVE_L2_PRMDB_PRMDBLIMPLCFG_HPP_ // Anonymous namespace for configuration parameters namespace { enum { PASSIVE_L2_PRMDB_SEND_BUFFER_ENTRIES = 64, // !< Numbe...
16.52
93
0.726392
genemerewether
662c49c56d4c908d0daabaae80c328f22ebe1bc6
1,399
cpp
C++
solutions/different-ways-to-add-parentheses/solution.cpp
locker/leetcode
bf34a697de47aaf32823224d054f9a45613ce180
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
solutions/different-ways-to-add-parentheses/solution.cpp
locker/leetcode
bf34a697de47aaf32823224d054f9a45613ce180
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
solutions/different-ways-to-add-parentheses/solution.cpp
locker/leetcode
bf34a697de47aaf32823224d054f9a45613ce180
[ "BSD-2-Clause-FreeBSD" ]
1
2019-08-30T06:53:23.000Z
2019-08-30T06:53:23.000Z
#include <iostream> #include <string> #include <vector> using namespace std; template<typename T> ostream& operator<<(ostream& out, const vector<T>& v) { out << '['; for (auto it = v.begin(); it != v.end(); ++it) { if (it != v.begin()) out << ','; out << *it; } out << ']'; return out; } class Solution { ...
18.653333
62
0.531094
locker
662e664e38befd8ae3bd7f798b1092712bb7c15e
2,035
hpp
C++
data_structure.hpp
Pumpkrin/surfer_girl
98af7692fd81b8fc4e11c85af43adc5d0b951874
[ "MIT" ]
null
null
null
data_structure.hpp
Pumpkrin/surfer_girl
98af7692fd81b8fc4e11c85af43adc5d0b951874
[ "MIT" ]
null
null
null
data_structure.hpp
Pumpkrin/surfer_girl
98af7692fd81b8fc4e11c85af43adc5d0b951874
[ "MIT" ]
null
null
null
#ifndef DATA_STRUCTURE_HPP #define DATA_STRUCTURE_HPP #include <array> #include <iostream> #include "TH1.h" namespace sf_g { template<class ... Ts> struct composite : Ts... { void value() { int expander[] = {0, ( static_cast<Ts&>(*this).value(), void(), 0)...}; } }; // -----------------------------...
25.123457
99
0.56855
Pumpkrin
662ff6c224fc697a3d838e19865d2a3c9ca65c36
4,921
cpp
C++
Backend/Networking/service.cpp
Gattic/ShmeaDB
ed698dfebde465c9e63a54ab11aac2d6ef311eed
[ "MIT" ]
3
2021-07-31T15:16:39.000Z
2022-02-07T21:12:36.000Z
Backend/Networking/service.cpp
MeeseeksLookAtMe/ShmeaDB
ed698dfebde465c9e63a54ab11aac2d6ef311eed
[ "MIT" ]
null
null
null
Backend/Networking/service.cpp
MeeseeksLookAtMe/ShmeaDB
ed698dfebde465c9e63a54ab11aac2d6ef311eed
[ "MIT" ]
1
2020-05-28T02:46:43.000Z
2020-05-28T02:46:43.000Z
// Copyright 2020 Robert Carneiro, Derek Meer, Matthew Tabak, Eric Lujan // // 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 ...
28.947059
119
0.704328
Gattic
6630145e284f5646da7ad33363a6dc353ad52b2c
584
cpp
C++
test/opengl/inline_reduction.cpp
rafaelravedutti/Halide
9417210e7eca49b224028834dbed09cb2d62b1cd
[ "Apache-2.0" ]
107
2018-08-16T05:32:52.000Z
2022-02-11T19:44:25.000Z
test/opengl/inline_reduction.cpp
rafaelravedutti/Halide
9417210e7eca49b224028834dbed09cb2d62b1cd
[ "Apache-2.0" ]
79
2019-02-22T03:27:45.000Z
2022-02-24T23:03:28.000Z
test/opengl/inline_reduction.cpp
rafaelravedutti/Halide
9417210e7eca49b224028834dbed09cb2d62b1cd
[ "Apache-2.0" ]
22
2017-04-16T11:44:34.000Z
2022-03-26T13:27:10.000Z
#include "Halide.h" #include <stdio.h> #include "testing.h" using namespace Halide; int main() { // This test must be run with an OpenGL target. const Target target = get_jit_target_from_environment().with_feature(Target::OpenGL); Func f; Var x, y, c; RDom r(0, 10); f(x, y, c) = sum(cast<flo...
20.857143
89
0.592466
rafaelravedutti
663225b9fb2dff4edf74c89bb3e1d5eaefac2d99
1,740
cc
C++
gui/goods_stats_t.cc
soukouki/simutrans
758283664349afb5527db470780767abb4db8114
[ "Artistic-1.0" ]
null
null
null
gui/goods_stats_t.cc
soukouki/simutrans
758283664349afb5527db470780767abb4db8114
[ "Artistic-1.0" ]
1
2017-12-05T18:00:56.000Z
2017-12-05T18:00:56.000Z
gui/goods_stats_t.cc
soukouki/simutrans
758283664349afb5527db470780767abb4db8114
[ "Artistic-1.0" ]
null
null
null
/* * This file is part of the Simutrans project under the Artistic License. * (see LICENSE.txt) */ #include "goods_stats_t.h" #include "../simcolor.h" #include "../simworld.h" #include "../bauer/goods_manager.h" #include "../descriptor/goods_desc.h" #include "../dataobj/translator.h" #include "components/gui_bu...
32.222222
146
0.737931
soukouki
66341ff1311714c78d412efe93749a26ce9f5d89
17,134
cpp
C++
src/sdk/hl2_csgo/game/missionchooser/layout_system/tilegen_layout_system.cpp
newcommerdontblame/ionlib
47ca829009e1529f62b2134aa6c0df8673864cf3
[ "MIT" ]
51
2016-03-18T01:48:07.000Z
2022-03-21T20:02:02.000Z
src/game/missionchooser/layout_system/tilegen_layout_system.cpp
senny970/AlienSwarm
c5a2d3fa853c726d040032ff2c7b90c8ed8d5d84
[ "Unlicense" ]
null
null
null
src/game/missionchooser/layout_system/tilegen_layout_system.cpp
senny970/AlienSwarm
c5a2d3fa853c726d040032ff2c7b90c8ed8d5d84
[ "Unlicense" ]
26
2016-03-17T21:20:37.000Z
2022-03-24T10:21:30.000Z
//============ Copyright (c) Valve Corporation, All rights reserved. ============ // // Definitions for the rule- and state-based level generation system. // //=============================================================================== #include "MapLayout.h" #include "Room.h" #include "tilegen_class_factories.h" #...
29.288889
195
0.701938
newcommerdontblame
6639e244a80c32b0acb4bfa129f5492b23bb4118
101,632
cc
C++
lullaby/systems/render/next/render_system_next.cc
dd181818/lullaby
71e696c3798068a350e820433c9d3185fa28c0ce
[ "Apache-2.0" ]
1
2018-11-09T03:45:25.000Z
2018-11-09T03:45:25.000Z
lullaby/systems/render/next/render_system_next.cc
dd181818/lullaby
71e696c3798068a350e820433c9d3185fa28c0ce
[ "Apache-2.0" ]
null
null
null
lullaby/systems/render/next/render_system_next.cc
dd181818/lullaby
71e696c3798068a350e820433c9d3185fa28c0ce
[ "Apache-2.0" ]
null
null
null
/* Copyright 2017 Google Inc. 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 required by applicable law or agreed to in ...
35.009301
80
0.691436
dd181818
663d734fe72edfd509c99a8869846b79f2103a59
737
hxx
C++
Packages/java/nio/file/Watchable.hxx
Brandon-T/Aries
4e8c4f5454e8c7c5cd0611b1b38b5be8186f86ca
[ "MIT" ]
null
null
null
Packages/java/nio/file/Watchable.hxx
Brandon-T/Aries
4e8c4f5454e8c7c5cd0611b1b38b5be8186f86ca
[ "MIT" ]
null
null
null
Packages/java/nio/file/Watchable.hxx
Brandon-T/Aries
4e8c4f5454e8c7c5cd0611b1b38b5be8186f86ca
[ "MIT" ]
null
null
null
// // Watchable.hxx // Aries // // Created by Brandon on 2018-02-25. // Copyright © 2018 Brandon. All rights reserved. // #ifndef Watchable_hxx #define Watchable_hxx #include "Array.hxx" #include "Object.hxx" namespace java::nio::file { using java::lang::Object; using java::nio::file::WatchEvent; us...
21.057143
111
0.654003
Brandon-T
663ec8c79d479b0973d36908c7f196590b3f19d6
574
cpp
C++
src/Program.cpp
bgorzsony/Kalk
6d86027cef7d61d589e806d3017c4c4bac0701cd
[ "MIT" ]
null
null
null
src/Program.cpp
bgorzsony/Kalk
6d86027cef7d61d589e806d3017c4c4bac0701cd
[ "MIT" ]
null
null
null
src/Program.cpp
bgorzsony/Kalk
6d86027cef7d61d589e806d3017c4c4bac0701cd
[ "MIT" ]
null
null
null
#include "Program.h" #include "memtrace.h" size_t Program::cmdPtr = 0; void Program::addNewCommand(Command * cmd) { this->commands.push_back(cmd); } void Program::setCmdPtr(int v) { v = v - 2; if (v < -1) { throw std::out_of_range("Wrong tag at Goto"); } cmdPtr = v; } void Program::Run() {...
13.666667
49
0.559233
bgorzsony
66438d6561c06e5ee14906bfc7e51754649f150a
244
hpp
C++
pythran/pythonic/utils/fwd.hpp
davidbrochart/pythran
24b6c8650fe99791a4091cbdc2c24686e86aa67c
[ "BSD-3-Clause" ]
1,647
2015-01-13T01:45:38.000Z
2022-03-28T01:23:41.000Z
pythran/pythonic/utils/fwd.hpp
davidbrochart/pythran
24b6c8650fe99791a4091cbdc2c24686e86aa67c
[ "BSD-3-Clause" ]
1,116
2015-01-01T09:52:05.000Z
2022-03-18T21:06:40.000Z
pythran/pythonic/utils/fwd.hpp
davidbrochart/pythran
24b6c8650fe99791a4091cbdc2c24686e86aa67c
[ "BSD-3-Clause" ]
180
2015-02-12T02:47:28.000Z
2022-03-14T10:28:18.000Z
#ifndef PYTHONIC_UTILS_FWD_HPP #define PYTHONIC_UTILS_FWD_HPP #include "pythonic/include/utils/fwd.hpp" PYTHONIC_NS_BEGIN namespace utils { template <typename... Types> void fwd(Types const &... types) { } } PYTHONIC_NS_END #endif
12.842105
41
0.75
davidbrochart
66475d3b68ca2c22cbb0824b4ffece85ce5542ff
189
hpp
C++
GameBird.hpp
Xnork/Flappy-Bird---Cpp
f64eada7bd27a6302abf16162795c95afb9c4323
[ "MIT" ]
3
2020-11-10T16:54:58.000Z
2021-06-05T13:14:15.000Z
GameBird.hpp
Xnork/Flappy-Bird---Cpp
f64eada7bd27a6302abf16162795c95afb9c4323
[ "MIT" ]
null
null
null
GameBird.hpp
Xnork/Flappy-Bird---Cpp
f64eada7bd27a6302abf16162795c95afb9c4323
[ "MIT" ]
null
null
null
#ifndef GAMEBIRD #define GAMEBIRD #include <iostream> #include <SFML/Graphics.hpp> class GameBird { public: sf::Vector2f acc = sf::Vector2f(0.f,0.f); float angle = 0.f; }; #endif
13.5
45
0.677249
Xnork
66478fc0a7ff8787021f5f64ea1bb45407bb6154
182
hh
C++
include/device/stm32l1xx/hal/spi_d.hh
no111u3/stm32cclib
172087dab568f1452755df6e9f8624930fc10396
[ "Apache-2.0" ]
24
2018-04-26T20:06:31.000Z
2022-03-19T18:45:57.000Z
include/device/stm32l1xx/hal/spi_d.hh
no111u3/stm32cclib
172087dab568f1452755df6e9f8624930fc10396
[ "Apache-2.0" ]
null
null
null
include/device/stm32l1xx/hal/spi_d.hh
no111u3/stm32cclib
172087dab568f1452755df6e9f8624930fc10396
[ "Apache-2.0" ]
9
2018-01-22T11:40:53.000Z
2022-03-23T20:03:19.000Z
#ifndef SPI_D_HH #define SPI_D_HH namespace hal { using spi1 = spi_d<0x40013000>; using spi2 = spi_d<0x40003800>; using spi3 = spi_d<0x40003c00>; } #endif // SPI_D_HH
15.166667
35
0.686813
no111u3
6647f2fdbb48bbef51f577d6cb103c99fc765917
225
cpp
C++
src/pycropml/transpiler/antlr_py/csharp/examples/testfib.cpp
brichet/PyCrop2ML
7177996f72a8d95fdbabb772a16f1fd87b1d033e
[ "MIT" ]
5
2020-06-21T18:58:04.000Z
2022-01-29T21:32:28.000Z
src/pycropml/transpiler/antlr_py/csharp/examples/testfib.cpp
brichet/PyCrop2ML
7177996f72a8d95fdbabb772a16f1fd87b1d033e
[ "MIT" ]
27
2018-12-04T15:35:44.000Z
2022-03-11T08:25:03.000Z
src/pycropml/transpiler/antlr_py/csharp/examples/testfib.cpp
brichet/PyCrop2ML
7177996f72a8d95fdbabb772a16f1fd87b1d033e
[ "MIT" ]
7
2019-04-20T02:25:22.000Z
2021-11-04T07:52:35.000Z
#include<iostream> #include<vector> using namespace std; int testfib(int a) { vector<int> h = {15}; int j; for (j=10 ; j!=6 ; j+=-2) { a = j; } std::cout<< testfib(10)<<endl; return a; }
13.235294
34
0.506667
brichet
6648a203f9f473a246049bcdee9a861e93bf0f74
129
cpp
C++
platforms/posix/src/px4/generic/generic/tone_alarm/ToneAlarmInterface.cpp
Diksha-agg/Firmware_val
1efc1ba06997d19df3ed9bd927cfb24401b0fe03
[ "BSD-3-Clause" ]
null
null
null
platforms/posix/src/px4/generic/generic/tone_alarm/ToneAlarmInterface.cpp
Diksha-agg/Firmware_val
1efc1ba06997d19df3ed9bd927cfb24401b0fe03
[ "BSD-3-Clause" ]
null
null
null
platforms/posix/src/px4/generic/generic/tone_alarm/ToneAlarmInterface.cpp
Diksha-agg/Firmware_val
1efc1ba06997d19df3ed9bd927cfb24401b0fe03
[ "BSD-3-Clause" ]
null
null
null
version https://git-lfs.github.com/spec/v1 oid sha256:8b3f8015d6166788ea5c3ad03dfb8f09b860a264c927e806ea111d551fe3ed21 size 2121
32.25
75
0.883721
Diksha-agg
6649166c1893e84b987cf7b243fae796f84bec6f
12,675
cpp
C++
torch/csrc/jit/operator.cpp
DavidKo3/mctorch
53ffe61763059677978b4592c8b2153b0c15428f
[ "BSD-3-Clause" ]
1
2019-07-21T02:13:22.000Z
2019-07-21T02:13:22.000Z
torch/csrc/jit/operator.cpp
DavidKo3/mctorch
53ffe61763059677978b4592c8b2153b0c15428f
[ "BSD-3-Clause" ]
null
null
null
torch/csrc/jit/operator.cpp
DavidKo3/mctorch
53ffe61763059677978b4592c8b2153b0c15428f
[ "BSD-3-Clause" ]
null
null
null
#include "ATen/ATen.h" #include "torch/csrc/jit/script/lexer.h" #include "torch/csrc/jit/script/tree.h" #include "torch/csrc/jit/operator.h" #include "torch/csrc/jit/script/error_report.h" namespace torch { namespace jit { namespace script { struct SchemaParser { SchemaParser(const std::string& str) : L(str) {} ...
30.035545
117
0.610335
DavidKo3
664990c2959f6a9675929a52bb9ad8993eee0361
586
hpp
C++
libs/core/include/fcppt/range/end.hpp
freundlich/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
13
2015-02-21T18:35:14.000Z
2019-12-29T14:08:29.000Z
libs/core/include/fcppt/range/end.hpp
cpreh/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
5
2016-08-27T07:35:47.000Z
2019-04-21T10:55:34.000Z
libs/core/include/fcppt/range/end.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_RANGE_END_HPP_INCLUDED #define FCPPT_RANGE_END_HPP_INCLUDED #include <fcppt/config/e...
18.903226
61
0.725256
freundlich
664a1e03a1b03027acf3babf1890b394a827fb91
175
cpp
C++
build/tests/progs/prog9/main.cpp
pg83/zm
ef9027bd9ee260118fdf80e8b53361da1b7892f3
[ "MIT" ]
null
null
null
build/tests/progs/prog9/main.cpp
pg83/zm
ef9027bd9ee260118fdf80e8b53361da1b7892f3
[ "MIT" ]
null
null
null
build/tests/progs/prog9/main.cpp
pg83/zm
ef9027bd9ee260118fdf80e8b53361da1b7892f3
[ "MIT" ]
null
null
null
#include <libs/io/file.h> #include <iostream> using namespace io; using namespace std; int main(int, char** argv) { cout << file_input_t(argv[1]).read_all() << endl; }
15.909091
53
0.668571
pg83
664c7e1f325db23e84fb2456f456563f2b62094e
3,169
cxx
C++
SRep/MRML/vtkSRepExportPolyDataProperties.cxx
Connor-Bowley/SlicerSkeletalRepresentation
025eaba50173781c48040e01ccc9a10d8fdb2d56
[ "Apache-2.0" ]
2
2018-06-29T18:11:22.000Z
2018-08-14T15:45:05.000Z
SRep/MRML/vtkSRepExportPolyDataProperties.cxx
Connor-Bowley/SlicerSkeletalRepresentation
025eaba50173781c48040e01ccc9a10d8fdb2d56
[ "Apache-2.0" ]
8
2018-07-04T00:22:53.000Z
2018-09-07T03:31:14.000Z
SRep/MRML/vtkSRepExportPolyDataProperties.cxx
Connor-Bowley/SlicerSkeletalRepresentation
025eaba50173781c48040e01ccc9a10d8fdb2d56
[ "Apache-2.0" ]
3
2018-06-29T18:11:37.000Z
2018-09-05T22:57:27.000Z
#include "vtkSRepExportPolyDataProperties.h" #include <vtkObjectFactory.h> //---------------------------------------------------------------------- vtkStandardNewMacro(vtkSRepExportPolyDataProperties); //---------------------------------------------------------------------- void vtkSRepExportPolyDataProperties::Print...
40.628205
105
0.592616
Connor-Bowley
664e0dc1e65be67a2076ac4bc7b5ed508d3dcacb
5,593
cpp
C++
compiler/llvm/c_src/raw_win32_handle_ostream.cpp
mlwilkerson/lumen
048df6c0840c11496e2d15aa9af2e4a8d07a6e0f
[ "Apache-2.0" ]
2,939
2019-08-29T16:52:20.000Z
2022-03-31T05:42:30.000Z
compiler/llvm/c_src/raw_win32_handle_ostream.cpp
mlwilkerson/lumen
048df6c0840c11496e2d15aa9af2e4a8d07a6e0f
[ "Apache-2.0" ]
235
2019-08-29T23:44:13.000Z
2022-03-17T11:43:25.000Z
compiler/llvm/c_src/raw_win32_handle_ostream.cpp
mlwilkerson/lumen
048df6c0840c11496e2d15aa9af2e4a8d07a6e0f
[ "Apache-2.0" ]
95
2019-08-29T19:11:28.000Z
2022-01-03T05:14:16.000Z
#if defined(_WIN32) #include "lumen/llvm/raw_win32_handle_ostream.h" #include "Windows/WindowsSupport.h" #include "llvm/ADT/SmallVector.h" #include "llvm/Support/ConvertUTF.h" #include "llvm/Support/ErrorHandling.h" #include "llvm/Support/Process.h" raw_win32_handle_ostream::raw_win32_handle_ostream(HANDLE h, bool i...
27.825871
78
0.640086
mlwilkerson
593eb42e14fd501046309fb833d95580660df15f
6,375
cxx
C++
admin/netui/common/src/blt/blt/bltlbsel.cxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
admin/netui/common/src/blt/blt/bltlbsel.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
admin/netui/common/src/blt/blt/bltlbsel.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/**********************************************************************/ /** Microsoft Windows/NT **/ /** Copyright(c) Microsoft Corp., 1991 **/ /**********************************************************************/ /* bltlbsel.cxx BLT listbox selection control classes: implementa...
17.857143
73
0.405804
npocmaka
593f7dc01e3074c63c5c7980e45c8f97755e5664
1,088
cpp
C++
COCI/coci07c3p5.cpp
crackersamdjam/DMOJ-Solutions
97992566595e2c7bf41b5da9217d8ef61bdd1d71
[ "MIT" ]
null
null
null
COCI/coci07c3p5.cpp
crackersamdjam/DMOJ-Solutions
97992566595e2c7bf41b5da9217d8ef61bdd1d71
[ "MIT" ]
null
null
null
COCI/coci07c3p5.cpp
crackersamdjam/DMOJ-Solutions
97992566595e2c7bf41b5da9217d8ef61bdd1d71
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define MM 17 #define sc(x) do{while((x=getchar())<'0'); for(x-='0'; '0'<=(_=getchar()); x=(x<<3)+(x<<1)+_-'0');}while(0) char _; using namespace std; typedef long long ll; ll ans = LLONG_MAX, dp[MM][140][2][2]; int S, a[MM], b[MM], n; char as[MM], bs[MM]; ll go(int pos, int sum, int l...
28.631579
108
0.435662
crackersamdjam
594042536411504d4d0fe5baff4539954238728f
4,211
cpp
C++
tools/rcbscape-c++/rcbscapeView.cpp
codetorex/reAction
6fa95a6666f00a17ba557384a3c67808f6548fe1
[ "MIT" ]
null
null
null
tools/rcbscape-c++/rcbscapeView.cpp
codetorex/reAction
6fa95a6666f00a17ba557384a3c67808f6548fe1
[ "MIT" ]
null
null
null
tools/rcbscape-c++/rcbscapeView.cpp
codetorex/reAction
6fa95a6666f00a17ba557384a3c67808f6548fe1
[ "MIT" ]
null
null
null
// rcbscapeView.cpp : implementation of the CRcbscapeView class // #include "stdafx.h" #include "rcbscape.h" #include "rcbscapeDoc.h" #include "rcbscapeView.h" #include "Array.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif /////////////////////////////////////////...
24.625731
94
0.668487
codetorex
59420c676a687e1b61b340ed81552567359bd49f
712
cpp
C++
Algorithms/Backtracking/allPermutations.cpp
dipta1010/Algorithm-and-DataStructure
74bd2041525572109d5058aa03828d9a920aee67
[ "MIT" ]
2
2018-06-26T07:19:42.000Z
2019-04-05T19:59:22.000Z
Algorithms/Backtracking/allPermutations.cpp
dipta1010/Algorithm-and-DataStructure
74bd2041525572109d5058aa03828d9a920aee67
[ "MIT" ]
null
null
null
Algorithms/Backtracking/allPermutations.cpp
dipta1010/Algorithm-and-DataStructure
74bd2041525572109d5058aa03828d9a920aee67
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; void permutations(string str, int i, int n) { if (i == n - 1) { cout << str << endl; return; } // process each character of the remaining string for (int j = i; j < n; j++) { // swap character at index i with current character ...
22.25
64
0.526685
dipta1010
59438814c22f8f8d7d5566c8df865978069e5cab
2,768
hpp
C++
src/net/MultiplayerPeerNative.hpp
Faless/GDNativeNet
b4760d01ceef09a2ab15d7cab46489323f9d7239
[ "MIT" ]
3
2019-03-07T21:31:32.000Z
2020-03-10T21:14:50.000Z
src/net/MultiplayerPeerNative.hpp
Faless/GDNativeNet
b4760d01ceef09a2ab15d7cab46489323f9d7239
[ "MIT" ]
null
null
null
src/net/MultiplayerPeerNative.hpp
Faless/GDNativeNet
b4760d01ceef09a2ab15d7cab46489323f9d7239
[ "MIT" ]
1
2020-03-10T21:14:56.000Z
2020-03-10T21:14:56.000Z
#ifndef MULTIPLAYER_PEER_NATIVE #define MULTIPLAYER_PEER_NATIVE #include <Godot.hpp> #include <Reference.hpp> #include <MultiplayerPeerGDNative.hpp> #include <net/godot_net.h> namespace godot { namespace net { /* Forward declare interface functions (PacketPeer) */ godot_error get_packet_bind_mp(void *, const uint8_...
33.349398
102
0.781792
Faless
5944cc57bfbfefadd520283552374f2359965d52
15,030
cpp
C++
src/UiCrt_Keyboard.cpp
jtbattle/wangemu
12c760fa04456304282b966e757e2595d8f29576
[ "MIT" ]
6
2018-08-28T06:17:03.000Z
2021-11-26T14:00:37.000Z
src/UiCrt_Keyboard.cpp
BOBBYWY/wangemu
12c760fa04456304282b966e757e2595d8f29576
[ "MIT" ]
null
null
null
src/UiCrt_Keyboard.cpp
BOBBYWY/wangemu
12c760fa04456304282b966e757e2595d8f29576
[ "MIT" ]
1
2021-11-26T04:15:09.000Z
2021-11-26T04:15:09.000Z
// This is not its own class -- it just implements the keyboard part of // the Crt class. It catches keyboard events and then maps that into the // emulated function. // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------...
40.953678
116
0.435928
jtbattle
5946fdc94e10dbfd0a5c58d24cd4f04eea0be14f
3,190
cpp
C++
sci/libsci/filterproc.cpp
hongsenliu/cloudland
81a9394f6e74658141ee66557731985f80a9f6ab
[ "Apache-2.0" ]
69
2019-04-17T04:03:31.000Z
2021-11-08T10:29:54.000Z
sci/libsci/filterproc.cpp
hongsenliu/cloudland
81a9394f6e74658141ee66557731985f80a9f6ab
[ "Apache-2.0" ]
113
2019-04-13T06:46:32.000Z
2021-11-02T01:45:06.000Z
sci/libsci/filterproc.cpp
hongsenliu/cloudland
81a9394f6e74658141ee66557731985f80a9f6ab
[ "Apache-2.0" ]
46
2019-04-17T04:03:36.000Z
2021-09-26T13:11:37.000Z
#ifndef _PRAGMA_COPYRIGHT_ #define _PRAGMA_COPYRIGHT_ #pragma comment(copyright, "%Z% %I% %W% %D% %T%\0") #endif /* _PRAGMA_COPYRIGHT_ */ /**************************************************************************** * Copyright (c) 2008, 2010 IBM Corporation. * All rights reserved. This program and the accompanying ma...
19.813665
87
0.619749
hongsenliu
594b18824959e5ef5ba9bc20d987098e72a21400
1,768
cpp
C++
Projects/AsteroidGame/Engine.cpp
TywyllSoftware/TywRenderer
2da2ea2076d4311488b8ddb39c2fec896c98378a
[ "Unlicense" ]
11
2016-11-15T20:06:19.000Z
2021-03-31T01:04:01.000Z
Projects/AsteroidGame/Engine.cpp
TywyllSoftware/TywRenderer
2da2ea2076d4311488b8ddb39c2fec896c98378a
[ "Unlicense" ]
1
2016-11-06T23:53:05.000Z
2016-11-07T08:06:07.000Z
Projects/AsteroidGame/Engine.cpp
TywyllSoftware/TywRenderer
2da2ea2076d4311488b8ddb39c2fec896c98378a
[ "Unlicense" ]
2
2017-09-03T11:18:46.000Z
2019-03-10T06:27:49.000Z
#include "Engine.h" //Renderer Includes #include "Renderer.h" //Event Manager #include "EventManager.h" //SceneManager #include "SceneManager.h" //Other includes #include <string> Engine::Engine() :m_bInitialized(false) { m_strApplicationName = "Set name for application"; } Engine::~Engine() { Shutdown(); } ...
18.040816
139
0.738688
TywyllSoftware
594d4f6bd893ab1ea917409e8cbd38436ce469c7
8,381
hpp
C++
DGLib/implementations/DGBarControlFunc.hpp
graphisoft-python/DGLib
66d8717eb4422b968444614ff1c0c6c1bf50d080
[ "Apache-2.0" ]
3
2019-07-15T10:54:54.000Z
2020-01-25T08:24:51.000Z
DGLib/implementations/DGBarControlFunc.hpp
graphisoft-python/DGLib
66d8717eb4422b968444614ff1c0c6c1bf50d080
[ "Apache-2.0" ]
null
null
null
DGLib/implementations/DGBarControlFunc.hpp
graphisoft-python/DGLib
66d8717eb4422b968444614ff1c0c6c1bf50d080
[ "Apache-2.0" ]
null
null
null
#pragma once #include "../stdafx.h" #include "DGItem.hpp" #include "DGBarControl.hpp" using namespace DG; // --- PyBarControlObserver -------------------------------------------------------------------- class PyBarControlObserver : BarControlObserver { public: PyBarControlObserver(BarControl &item) :m_parent(i...
36.43913
110
0.618303
graphisoft-python
594f65a9fb216909fc79575012dc292393ab79c9
1,784
hxx
C++
com/oleutest/cachetst/genforc.hxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
com/oleutest/cachetst/genforc.hxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
com/oleutest/cachetst/genforc.hxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//+------------------------------------------------------------------------- // // Microsoft Windows // Copyright (C) Microsoft Corporation, 1992 - 1993. // // File: genforc.hxx // // Contents: C exposure for the generice enumerator object // // Classes: CEnumeratorTestForC // // Functions: ...
23.786667
77
0.472534
npocmaka
59511cd65b3f9e5c8f5c180ae9ea2048f7cc073c
33,675
cxx
C++
src/DataLoaderDTU.cxx
Eruvae/data_loaders
a3a74f313be6b6fcf0c142c104ee19fd88b37e38
[ "MIT" ]
7
2020-03-17T13:18:49.000Z
2022-03-03T17:34:16.000Z
src/DataLoaderDTU.cxx
Eruvae/data_loaders
a3a74f313be6b6fcf0c142c104ee19fd88b37e38
[ "MIT" ]
null
null
null
src/DataLoaderDTU.cxx
Eruvae/data_loaders
a3a74f313be6b6fcf0c142c104ee19fd88b37e38
[ "MIT" ]
1
2021-09-22T12:10:06.000Z
2021-09-22T12:10:06.000Z
#include "data_loaders/DataLoaderDTU.h" //loguru #define LOGURU_REPLACE_GLOG 1 #include <loguru.hpp> //configuru #define CONFIGURU_WITH_EIGEN 1 #define CONFIGURU_IMPLICIT_CONVERSIONS 1 #include <configuru.hpp> using namespace configuru; //cnpy #include "cnpy.h" #include <opencv2/core/eigen.hpp> //my stuff #includ...
35.559662
190
0.586607
Eruvae
595388775ccc89d35b4d11c0e38fa5a17a088c38
314
cpp
C++
esphome/components/copy/button/copy_button.cpp
OttoWinter/esphomeyaml
6a85259e4d6d1b0a0f819688b8e555efcb99ecb0
[ "MIT" ]
249
2018-04-07T12:04:11.000Z
2019-01-25T01:11:34.000Z
esphome/components/copy/button/copy_button.cpp
OttoWinter/esphomeyaml
6a85259e4d6d1b0a0f819688b8e555efcb99ecb0
[ "MIT" ]
243
2018-04-11T16:37:11.000Z
2019-01-25T16:50:37.000Z
esphome/components/copy/button/copy_button.cpp
OttoWinter/esphomeyaml
6a85259e4d6d1b0a0f819688b8e555efcb99ecb0
[ "MIT" ]
40
2018-04-10T05:50:14.000Z
2019-01-25T15:20:36.000Z
#include "copy_button.h" #include "esphome/core/log.h" namespace esphome { namespace copy { static const char *const TAG = "copy.button"; void CopyButton::dump_config() { LOG_BUTTON("", "Copy Button", this); } void CopyButton::press_action() { source_->press(); } } // namespace copy } // namespace esphome
20.933333
71
0.697452
OttoWinter
595508697faace165fb9f47e9acd6df3f26d71c5
13,262
cpp
C++
src/types.cpp
AmkG/hl
8695e75389254fe881a6067ecebc70219d7dc7ff
[ "MIT" ]
2
2015-11-05T01:16:28.000Z
2021-12-20T04:30:08.000Z
src/types.cpp
AmkG/hl
8695e75389254fe881a6067ecebc70219d7dc7ff
[ "MIT" ]
null
null
null
src/types.cpp
AmkG/hl
8695e75389254fe881a6067ecebc70219d7dc7ff
[ "MIT" ]
null
null
null
#include "all_defines.hpp" #include "types.hpp" #include "processes.hpp" #include "executors.hpp" #include "history.hpp" #include <iostream> /*----------------------------------------------------------------------------- Cons -----------------------------------------------------------------------------*/ Object::ref...
25.552987
95
0.583622
AmkG
5956bdc5c76cb1fc482645443a7209f133144427
693
cpp
C++
EngineAlpha/EngineAlpha/EngineAlpha/Core/Scene.cpp
JFrap/Engine-Alpha
9aac8ed609881ee62f0ec22f72331e8d23b632e7
[ "MIT" ]
1
2018-10-06T15:33:06.000Z
2018-10-06T15:33:06.000Z
EngineAlpha/EngineAlpha/EngineAlpha/Core/Scene.cpp
JFrap/Engine-Alpha
9aac8ed609881ee62f0ec22f72331e8d23b632e7
[ "MIT" ]
7
2019-02-24T08:50:30.000Z
2019-03-02T15:41:01.000Z
EngineAlpha/EngineAlpha/EngineAlpha/Core/Scene.cpp
JFrap/Engine-Alpha
9aac8ed609881ee62f0ec22f72331e8d23b632e7
[ "MIT" ]
2
2019-02-22T21:10:00.000Z
2019-02-24T08:01:33.000Z
#include "Scene.h" namespace alpha { Scene::Scene() { } void Scene::AddGameObject(GameObject &object) { m_gameObjects.push_back(&object); } void Scene::UpdateGameObjects(float dt) { for (size_t i = 0; i < m_gameObjects.size(); i++) { if (m_gameObjects[i]) m_gameObjects[i]->Update(dt); else m_...
21
107
0.689755
JFrap
59575fd2a8635745d27714e9aba89c172ddba767
3,901
cpp
C++
demo/dictdump/emtdictdump/dictdump.cpp
anyex-net/openctp
d2eae215ce63e546874247f8cc011161b888594a
[ "BSD-3-Clause" ]
1
2022-03-30T09:17:33.000Z
2022-03-30T09:17:33.000Z
demo/dictdump/emtdictdump/dictdump.cpp
Ivan087/openctp
d849c92b953ad0ecfe0527419e9c56f6405c8b64
[ "BSD-3-Clause" ]
null
null
null
demo/dictdump/emtdictdump/dictdump.cpp
Ivan087/openctp
d849c92b953ad0ecfe0527419e9c56f6405c8b64
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> #include <fstream> #include <string> #include <map> #include <vector> #include <locale> #include <codecvt> #include "EMT/emt_quote_api.h" #pragma comment(lib,"EMT/emt_quote_api.lib") #define EMT_CLIENT_ID 82 using namespace EMT::API; class CApplication : public QuoteSpi { public: CApplication(s...
21.434066
216
0.671879
anyex-net
595ce0f6c6177fc8b59a94d3ba0e41b843daf44a
3,227
cpp
C++
src/tests/legacystore/jrnl/_ut_txn_map.cpp
irinabov/debian-qpid-cpp-1.35.0
98b0597071c0a5f0cc407a35d5a4690d9189065e
[ "Apache-2.0" ]
1
2017-11-29T09:19:02.000Z
2017-11-29T09:19:02.000Z
src/tests/legacystore/jrnl/_ut_txn_map.cpp
irinabov/debian-qpid-cpp-1.35.0
98b0597071c0a5f0cc407a35d5a4690d9189065e
[ "Apache-2.0" ]
null
null
null
src/tests/legacystore/jrnl/_ut_txn_map.cpp
irinabov/debian-qpid-cpp-1.35.0
98b0597071c0a5f0cc407a35d5a4690d9189065e
[ "Apache-2.0" ]
null
null
null
/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); y...
30.158879
84
0.694143
irinabov
595cf7d38f17f13f0e30759c17d647a73bb7128d
14,473
cpp
C++
ISA/ldap.cpp
thanhdolong/VUT-FIT-BIT-Projects
077164a2b1493f9223b25e7fc51bc0e3e90020b2
[ "MIT" ]
null
null
null
ISA/ldap.cpp
thanhdolong/VUT-FIT-BIT-Projects
077164a2b1493f9223b25e7fc51bc0e3e90020b2
[ "MIT" ]
null
null
null
ISA/ldap.cpp
thanhdolong/VUT-FIT-BIT-Projects
077164a2b1493f9223b25e7fc51bc0e3e90020b2
[ "MIT" ]
null
null
null
// ISA Project // Variant: LDAP server // // Author: Do Long Thanh // <xdolon00@stud.fit.vutbr.cz> #include <unistd.h> #include <algorithm> #include <regex> #include "ldap.hpp" #include "tools.hpp" std::set<std::shared_ptr<person>> universe; size_t position = 0; /** * Parse messages incoming from LDAP client. * ...
32.818594
137
0.506046
thanhdolong
595d479b2f1283b411a456e96221798b53843669
3,239
cc
C++
bin/db/dbresample/dbresample.cc
jreyes1108/antelope_contrib
be2354605d8463d6067029eb16464a0bf432a41b
[ "BSD-2-Clause", "MIT" ]
30
2015-02-20T21:44:29.000Z
2021-09-27T02:53:14.000Z
bin/db/dbresample/dbresample.cc
jreyes1108/antelope_contrib
be2354605d8463d6067029eb16464a0bf432a41b
[ "BSD-2-Clause", "MIT" ]
14
2015-07-07T19:17:24.000Z
2020-12-19T19:18:53.000Z
bin/db/dbresample/dbresample.cc
jreyes1108/antelope_contrib
be2354605d8463d6067029eb16464a0bf432a41b
[ "BSD-2-Clause", "MIT" ]
46
2015-02-06T16:22:41.000Z
2022-03-30T11:46:37.000Z
#include<string> #include "stock.h" #include "elog.h" #include "db.h" #include "pf.h" #include "glputil.h" #include "resample.h" #include "SeisppError.h" #include "seispp.h" using namespace SEISPP; #include "resample.h" void usage() { cerr<<"dbresample dbin dbout [-pf pffile -notrim -V]"<<endl; exit(-1); } bool SEISP...
25.503937
73
0.673356
jreyes1108
595f49945b7c47530cfa7d8dd3069ca79db217e6
988
cpp
C++
leetcodes/RotateImage.cpp
DaechurJeong/Private_Proj
66eec4d22372166af7f7643a9b1307ca7e5ce21a
[ "MIT" ]
null
null
null
leetcodes/RotateImage.cpp
DaechurJeong/Private_Proj
66eec4d22372166af7f7643a9b1307ca7e5ce21a
[ "MIT" ]
null
null
null
leetcodes/RotateImage.cpp
DaechurJeong/Private_Proj
66eec4d22372166af7f7643a9b1307ca7e5ce21a
[ "MIT" ]
2
2020-04-21T23:52:31.000Z
2020-04-24T13:37:28.000Z
#include <iostream> #include <vector> void rotate(std::vector<std::vector<int>>& matrix) { int size = (int)matrix.size(); for (int i = 0; i < size / 2; ++i) { for (int j = i; j < size - 1 - i; ++j) { int tmp = matrix[i][j]; matrix[i][j] = matrix[size - 1 - j][i]; matrix[size - 1 - j][i] = matrix[size...
20.583333
64
0.538462
DaechurJeong
596015903c5251c55df77f7afc45c0558db954e5
7,019
cpp
C++
test/test_pc_merger.cpp
Jenifen/pointcloud_merger
f3d3aecf3844d8dc9fcf23231108850e1c147db0
[ "BSD-3-Clause" ]
6
2021-03-07T04:43:46.000Z
2022-03-26T08:11:03.000Z
test/test_pc_merger.cpp
Jenifen/pointcloud_merger
f3d3aecf3844d8dc9fcf23231108850e1c147db0
[ "BSD-3-Clause" ]
1
2021-05-18T06:56:17.000Z
2021-05-18T06:56:17.000Z
test/test_pc_merger.cpp
Jenifen/pointcloud_merger
f3d3aecf3844d8dc9fcf23231108850e1c147db0
[ "BSD-3-Clause" ]
6
2021-05-16T20:34:46.000Z
2022-03-26T08:11:04.000Z
#include <gtest/gtest.h> #include <iostream> #include <string> // ROS #include <pcl_conversions/pcl_conversions.h> #include <pcl_ros/point_cloud.h> #include <ros/ros.h> // PCL #include <pcl/filters/filter.h> #include <pcl/io/pcd_io.h> #include <pcl/point_types.h> #include <pcl/registration/icp.h> #include "test_pc_m...
30.124464
79
0.671606
Jenifen
596221e05ebadf598879c2268a826139fb3ed001
942
hpp
C++
engine/include/components/component.hpp
Eduardolimr/JogoIndividual
8671dcf2622e31df91802b7390ed0e2be84ca574
[ "MIT" ]
2
2017-03-31T17:18:45.000Z
2017-05-15T19:19:12.000Z
engine/include/components/component.hpp
Eduardolimr/JogoIndividual
8671dcf2622e31df91802b7390ed0e2be84ca574
[ "MIT" ]
4
2018-06-24T00:39:05.000Z
2018-07-03T21:55:02.000Z
engine/include/components/component.hpp
Eduardolimr/JogoIndividual
8671dcf2622e31df91802b7390ed0e2be84ca574
[ "MIT" ]
6
2017-04-03T00:12:32.000Z
2019-01-05T14:36:22.000Z
#ifndef __ENGINE_COMPONENTS_COMPONENT__ #define __ENGINE_COMPONENTS_COMPONENT__ #include "gameobject.hpp" namespace engine { class Component { friend bool GameObject::add_component(Component & component); public: enum class State { enabled, disabled, invalid }; Component() :...
22.428571
69
0.63482
Eduardolimr
5965a4d927773765a1a0b7bd5b6a726665ed4914
815
cpp
C++
Top 20 DP gfg/egg-dropping.cpp
Pradyuman7/AwesomeDataStructuresAndAlgorithms
6d995c7a3ce2a227733b12b1749de647c5172e8e
[ "MIT" ]
7
2018-11-15T07:51:21.000Z
2020-03-20T04:31:33.000Z
Top 20 DP gfg/egg-dropping.cpp
Pradyuman7/AwesomeDataStructuresAndAlgorithms
6d995c7a3ce2a227733b12b1749de647c5172e8e
[ "MIT" ]
null
null
null
Top 20 DP gfg/egg-dropping.cpp
Pradyuman7/AwesomeDataStructuresAndAlgorithms
6d995c7a3ce2a227733b12b1749de647c5172e8e
[ "MIT" ]
3
2018-11-15T06:39:53.000Z
2021-07-20T02:09:18.000Z
#include<bits/stdc++.h> #include<unistd.h> using namespace std; int e[100][100]; int E(int o,int n,int k) { //usleep(500000); // cout<<"Checking for : n = "<<n<<" and k = "<<k<<endl; int min=INT_MAX; if(e[n][k]!=-1) return e[n][k]; if(n==0||k==0) { return 0; } // if(n==1) // return 1; if(k==1) retur...
10.584416
102
0.442945
Pradyuman7
5967719b26b96d2f5cc7597d51f2cf79090a0a1f
7,221
cc
C++
AM/src/RIU.cc
abhineet123/MTF
6cb45c88d924fb2659696c3375bd25c683802621
[ "BSD-3-Clause" ]
100
2016-12-11T00:34:06.000Z
2022-01-27T23:03:40.000Z
AM/src/RIU.cc
abhineet123/MTF
6cb45c88d924fb2659696c3375bd25c683802621
[ "BSD-3-Clause" ]
21
2017-09-04T06:27:13.000Z
2021-07-14T19:07:23.000Z
AM/src/RIU.cc
abhineet123/MTF
6cb45c88d924fb2659696c3375bd25c683802621
[ "BSD-3-Clause" ]
21
2017-02-19T02:12:11.000Z
2020-09-23T03:47:55.000Z
#include "mtf/AM/RIU.h" #include "mtf/Utilities/miscUtils.h" #define RIU_DEBUG false _MTF_BEGIN_NAMESPACE //! value constructor RIUParams::RIUParams(const AMParams *am_params, bool _debug_mode) : AMParams(am_params), debug_mode(_debug_mode){} //! default/copy constructor RIUParams::RIUParams(const RIUP...
28.654762
106
0.669298
abhineet123
596ac4018597865c6d6e8b2cbd87f16bc348d44d
270
cpp
C++
Engine/Source/Developer/AssetTools/Private/AssetTypeActions/AssetTypeActions_FlexFluidSurface.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
1
2022-01-29T18:36:12.000Z
2022-01-29T18:36:12.000Z
Engine/Source/Developer/AssetTools/Private/AssetTypeActions/AssetTypeActions_FlexFluidSurface.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
Engine/Source/Developer/AssetTools/Private/AssetTypeActions/AssetTypeActions_FlexFluidSurface.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
// Copyright 1998-2013 Epic Games, Inc. All Rights Reserved. #include "AssetTypeActions_FlexFluidSurface.h" #include "PhysicsEngine/FlexFluidSurface.h" UClass* FAssetTypeActions_FlexFluidSurface::GetSupportedClass() const { return UFlexFluidSurface::StaticClass(); }
27
69
0.814815
windystrife
596bfcad01e09452c583978a1d27a05ccbbf5426
6,098
cpp
C++
src/cge/cge/ws_server.cpp
UMU618/liuguang
3a5e9db8dad759c30b307223c85e0a01f09a88bd
[ "Apache-2.0" ]
2
2021-08-07T10:49:17.000Z
2022-03-30T06:40:12.000Z
src/cge/cge/ws_server.cpp
sdgdsffdsfff/liuguang
3ec7d3c9f9fd75fa614009a99c4ecdd08ff321bc
[ "Apache-2.0" ]
null
null
null
src/cge/cge/ws_server.cpp
sdgdsffdsfff/liuguang
3ec7d3c9f9fd75fa614009a99c4ecdd08ff321bc
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2020-present Ksyun * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
26.171674
80
0.631519
UMU618
596fd110d5a9c88cd5826fa13c024440585ffc5c
4,050
cc
C++
vowpalwabbit/config/options.cc
hex-plex/AutoMLScreenExercise
93a58e496f584bcc4cb35b8d6280d11605a695d6
[ "BSD-3-Clause" ]
1
2015-11-12T06:11:44.000Z
2015-11-12T06:11:44.000Z
vowpalwabbit/config/options.cc
chrinide/vowpal_wabbit
40e1fef676ca6a461d71cf0631ab5c63d1af5d8a
[ "BSD-3-Clause" ]
null
null
null
vowpalwabbit/config/options.cc
chrinide/vowpal_wabbit
40e1fef676ca6a461d71cf0631ab5c63d1af5d8a
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) by respective owners including Yahoo!, Microsoft, and // individual contributors. All rights reserved. Released under a BSD (revised) // license as described in the file LICENSE. #include "config/options.h" #include "config/option_group_definition.h" #include "config/option.h" #include <algorithm> #...
34.913793
119
0.747407
hex-plex
5972d8993df633d4bca13453a18a81bfe662bc06
2,569
hpp
C++
C++/include/MNRLUpCounter.hpp
tjt7a/mnrl
0e0bcefe67b51a6084c072501a2f4495c0cedb32
[ "BSD-3-Clause" ]
8
2017-06-06T19:55:20.000Z
2021-11-14T16:55:43.000Z
C++/include/MNRLUpCounter.hpp
tjt7a/mnrl
0e0bcefe67b51a6084c072501a2f4495c0cedb32
[ "BSD-3-Clause" ]
null
null
null
C++/include/MNRLUpCounter.hpp
tjt7a/mnrl
0e0bcefe67b51a6084c072501a2f4495c0cedb32
[ "BSD-3-Clause" ]
4
2017-08-03T18:06:18.000Z
2021-06-23T18:22:23.000Z
// Kevin Angstadt // angstadt {at} umich.edu // // MNRLUpCounter Object #ifndef MNRLUPCOUNTER_HPP #define MNRLUPCOUNTER_HPP #include <string> #include <utility> #include <vector> #include <map> #include "MNRLDefs.hpp" #include "MNRLNode.hpp" #include "MNRLReportId.hpp" namespace MNRL { class MNRLUpCounter : public...
20.070313
84
0.668743
tjt7a
597309c27f9b3bfb03eb3e308f90e84dbc6841cb
5,704
cpp
C++
oshgui/Drawing/OpenGL/OpenGLTextureTarget.cpp
sdkabuser/DEADCELL-CSGO
dfcd31394c5348529b3c098640466db136b89e0c
[ "MIT" ]
506
2019-03-16T08:34:47.000Z
2022-03-29T14:08:59.000Z
OSHGui/Drawing/OpenGL/OpenGLTextureTarget.cpp
EternityX/oshgui-deadcell
7c565ba7e941ec00cf9f4a2d7639eb8a363a3e9e
[ "MIT" ]
124
2019-03-17T02:54:57.000Z
2021-03-29T01:51:05.000Z
OSHGui/Drawing/OpenGL/OpenGLTextureTarget.cpp
EternityX/oshgui-deadcell
7c565ba7e941ec00cf9f4a2d7639eb8a363a3e9e
[ "MIT" ]
219
2019-03-16T21:39:01.000Z
2022-03-30T08:59:24.000Z
#include <GL/glew.h> #include "OpenGLTextureTarget.hpp" #include "OpenGLRenderer.hpp" #include "OpenGLTexture.hpp" namespace OSHGui { namespace Drawing { const float OpenGLTextureTarget::DefaultSize = 128.0f; //--------------------------------------------------------------------------- //Constructor //------...
31.340659
147
0.545757
sdkabuser
5974fed636c0a02c58a934726bf158382caf7559
217
cc
C++
test/abc054/c.cc
nryotaro/at_c
8d7d3aecb4e3c768aefdf0ceaeefb269ca9ab34c
[ "MIT" ]
null
null
null
test/abc054/c.cc
nryotaro/at_c
8d7d3aecb4e3c768aefdf0ceaeefb269ca9ab34c
[ "MIT" ]
null
null
null
test/abc054/c.cc
nryotaro/at_c
8d7d3aecb4e3c768aefdf0ceaeefb269ca9ab34c
[ "MIT" ]
null
null
null
#include "abc054/c.cc" #include <gtest/gtest.h> TEST(abc054c, 1) { EXPECT_EQ(2, solve(3, 3, {1, 1, 2}, {2, 3, 3})); } TEST(abc054c, 2) { EXPECT_EQ(1, solve(7, 7, {1, 2, 3, 4, 4, 5, 6}, {3, 7, 4, 5, 6, 6, 7})); }
27.125
76
0.516129
nryotaro
59750edab218c7f631701ce0951495019527e4b2
515
cpp
C++
RCBigCar/catkin_ws/src/rcbigcar/src/robot/robot.cpp
HisenZhang/RM2019SummerCamp
4754f6831b93a338853a5b8096fb8816dc728cee
[ "MIT" ]
17
2019-07-30T01:49:40.000Z
2021-05-13T09:17:23.000Z
RCBigCar/catkin_ws/src/rcbigcar/src/robot/robot.cpp
HisenZhang/RM2019SummerCamp
4754f6831b93a338853a5b8096fb8816dc728cee
[ "MIT" ]
1
2019-08-01T10:07:12.000Z
2019-08-02T05:39:17.000Z
RCBigCar/catkin_ws/src/rcbigcar/src/robot/robot.cpp
QiayuanLiao/RM2019SummerCamp
4754f6831b93a338853a5b8096fb8816dc728cee
[ "MIT" ]
5
2019-07-27T05:46:36.000Z
2021-03-15T13:00:17.000Z
#include "chassis.h" #include "motion.h" #include "hardware.h" int main(int argc, char **argv) { ros::init(argc, argv, "robot"); ros::NodeHandle nh; //Create Nodes Chassis chassis; Motion motion; ros::Rate loop_rate(ROBOT_SAMPLING_RATE); //Process Jobs while (ros::ok()) { //Update Subnodes chassis.upd...
13.918919
42
0.660194
HisenZhang
5977d1a87bc57855ebb41ce8f61020187a7eaf3e
2,064
hpp
C++
modules/core/euler/include/nt2/toolbox/euler/functions/simd/common/beta.hpp
timblechmann/nt2
6c71f7063ca4e5975c9c019877e6b2fe07c9e4ce
[ "BSL-1.0" ]
2
2016-09-14T00:23:53.000Z
2018-01-14T12:51:18.000Z
modules/core/euler/include/nt2/toolbox/euler/functions/simd/common/beta.hpp
timblechmann/nt2
6c71f7063ca4e5975c9c019877e6b2fe07c9e4ce
[ "BSL-1.0" ]
null
null
null
modules/core/euler/include/nt2/toolbox/euler/functions/simd/common/beta.hpp
timblechmann/nt2
6c71f7063ca4e5975c9c019877e6b2fe07c9e4ce
[ "BSL-1.0" ]
null
null
null
//============================================================================== // Copyright 2003 - 2011 LASMEA UMR 6602 CNRS/Univ. Clermont II // Copyright 2009 - 2011 LRI UMR 8623 CNRS/Univ Paris Sud XI // // Distributed under the Boost Software License, Version 1.0. // Se...
30.352941
86
0.57655
timblechmann
597813da472a1863f0d0b6aec8459c7d41afd534
635
hpp
C++
SOLVER/src/preloop/nr_field/LocalizedNrFieldPointwise.hpp
chaindl/AxiSEM-3D
0251f301c79c676fb37792209d6e24f107773b3d
[ "MIT" ]
null
null
null
SOLVER/src/preloop/nr_field/LocalizedNrFieldPointwise.hpp
chaindl/AxiSEM-3D
0251f301c79c676fb37792209d6e24f107773b3d
[ "MIT" ]
null
null
null
SOLVER/src/preloop/nr_field/LocalizedNrFieldPointwise.hpp
chaindl/AxiSEM-3D
0251f301c79c676fb37792209d6e24f107773b3d
[ "MIT" ]
null
null
null
// // LocalizedNrField.hpp // AxiSEM3D // // Created by Kuangdai Leng on 3/14/20. // Copyright © 2020 Kuangdai Leng. All rights reserved. // // base class of Nr(s,z) #ifndef LocalizedNrFieldPointwise_hpp #define LocalizedNrFieldPointwise_hpp #include "LocalizedNrField.hpp" class LocalizedNr; class LocalizedNr...
21.166667
72
0.724409
chaindl
597c6b9aef5891ec0d6aa64ea1d757e469d937b7
471
cxx
C++
src/scenes/scene.cxx
taworn/tankman
c2662fcbc966c5897733ade524c3a3ee8f8100bf
[ "MIT" ]
null
null
null
src/scenes/scene.cxx
taworn/tankman
c2662fcbc966c5897733ade524c3a3ee8f8100bf
[ "MIT" ]
null
null
null
src/scenes/scene.cxx
taworn/tankman
c2662fcbc966c5897733ade524c3a3ee8f8100bf
[ "MIT" ]
null
null
null
/** * @file scene.cxx * @desc Base game scene module. */ #include <SDL.h> #include <SDL_image.h> #include <SDL_ttf.h> #include <SDL_mixer.h> #include "../game.hxx" #include "scene.hxx" Scene::~Scene() { SDL_Log("Scene::~Scene()"); } Scene::Scene() { SDL_Log("Scene::Scene()"); } bool Scene::...
14.71875
50
0.609342
taworn
597e456dd8a740b5558ada162f9383e1901c4f31
506
hpp
C++
module-services/service-bluetooth/service-bluetooth/ServiceBluetoothCommon.hpp
bitigchi/MuditaOS
425d23e454e09fd6ae274b00f8d19c57a577aa94
[ "BSL-1.0" ]
1
2021-11-11T22:56:43.000Z
2021-11-11T22:56:43.000Z
module-services/service-bluetooth/service-bluetooth/ServiceBluetoothCommon.hpp
bitigchi/MuditaOS
425d23e454e09fd6ae274b00f8d19c57a577aa94
[ "BSL-1.0" ]
null
null
null
module-services/service-bluetooth/service-bluetooth/ServiceBluetoothCommon.hpp
bitigchi/MuditaOS
425d23e454e09fd6ae274b00f8d19c57a577aa94
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved. // For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md #pragma once #include <Bluetooth/Device.hpp> #include <FreeRTOS.h> #include <queue.h> class BluetoothStreamData { public: QueueHandle_t in = nullptr; QueueHandle_t out =...
24.095238
87
0.713439
bitigchi
59884bc98e70f934e01505b0567b684f1bd99435
1,027
cpp
C++
src/fifo.cpp
mdclyburn/rfm69hcw
e8f268a07666567037c9f30309c0a9a0d392b61e
[ "BSD-3-Clause" ]
null
null
null
src/fifo.cpp
mdclyburn/rfm69hcw
e8f268a07666567037c9f30309c0a9a0d392b61e
[ "BSD-3-Clause" ]
null
null
null
src/fifo.cpp
mdclyburn/rfm69hcw
e8f268a07666567037c9f30309c0a9a0d392b61e
[ "BSD-3-Clause" ]
null
null
null
#include "fifo.h" namespace mardev::rfm69 { void read_fifo(uint8_t* const buffer) { uint8_t i = 0; while(!fifo_is_empty()) { buffer[i++] = read(registers::FIFO); } return; } uint8_t read_fifo(uint8_t* const buffer, const uint8_...
21.851064
67
0.493671
mdclyburn
598a89796869177762430ea15e462818ece7f367
2,315
cc
C++
src/ui/SDL2/movies/fm2/record.cc
MrKOSMOS/ANESE
8ae814d615479b1496c98033a1f5bc4da5921c6f
[ "MIT" ]
349
2017-11-15T22:51:00.000Z
2022-03-21T13:43:57.000Z
src/ui/SDL2/movies/fm2/record.cc
MrKOSMOS/ANESE
8ae814d615479b1496c98033a1f5bc4da5921c6f
[ "MIT" ]
12
2018-08-28T21:38:29.000Z
2021-12-11T16:24:36.000Z
src/ui/SDL2/movies/fm2/record.cc
MrKOSMOS/ANESE
8ae814d615479b1496c98033a1f5bc4da5921c6f
[ "MIT" ]
28
2018-06-10T07:31:13.000Z
2022-03-21T10:54:26.000Z
#include "record.h" #include "nes/joy/controllers/standard.h" #include <cassert> #include <cstdio> #include <cstring> FM2_Record::~FM2_Record() { if (this->own_file) fclose(this->file); } FM2_Record::FM2_Record() { memset(&this->joy, 0, sizeof this->joy); this->own_file = false; this->file = nullptr; th...
21.635514
77
0.587473
MrKOSMOS
598cb943f49e7820c093702f53cadd5b459ca336
20
cpp
C++
dev/cmake-3.5.1/Tests/CompileFeatures/cxx_final.cpp
hlzz/dotfiles
0591f71230c919c827ba569099eb3b75897e163e
[ "BSD-3-Clause" ]
4
2016-03-30T14:31:52.000Z
2019-02-02T05:01:32.000Z
dev/cmake-3.5.1/Tests/CompileFeatures/cxx_final.cpp
hlzz/dotfiles
0591f71230c919c827ba569099eb3b75897e163e
[ "BSD-3-Clause" ]
null
null
null
dev/cmake-3.5.1/Tests/CompileFeatures/cxx_final.cpp
hlzz/dotfiles
0591f71230c919c827ba569099eb3b75897e163e
[ "BSD-3-Clause" ]
1
2020-11-04T04:56:50.000Z
2020-11-04T04:56:50.000Z
struct A final {};
6.666667
18
0.6
hlzz
5991715fffaf08c76cdd149c62840668c4833544
415
cpp
C++
oadrtest/oadrtest/tests/scheduler/JobSlow.cpp
beroset/OpenADR-VEN-Library
16546464fe1dc714a126474aaadf75483ec9cbc6
[ "Apache-2.0" ]
12
2016-09-21T19:07:13.000Z
2021-12-13T06:17:36.000Z
oadrtest/oadrtest/tests/scheduler/JobSlow.cpp
beroset/OpenADR-VEN-Library
16546464fe1dc714a126474aaadf75483ec9cbc6
[ "Apache-2.0" ]
3
2020-11-09T08:25:40.000Z
2021-04-12T10:49:39.000Z
oadrtest/oadrtest/tests/scheduler/JobSlow.cpp
beroset/OpenADR-VEN-Library
16546464fe1dc714a126474aaadf75483ec9cbc6
[ "Apache-2.0" ]
12
2018-06-10T10:52:56.000Z
2020-12-08T15:47:13.000Z
// // Created by dupes on 12/9/15. // #include "JobSlow.h" JobSlow::JobSlow(MockGlobalTime *globalTime) : m_globalTime(globalTime) { } /********************************************************************************/ JobSlow::~JobSlow() { } /***************************************************************...
16.6
82
0.387952
beroset
5994bed3e95118faac90f3ec2805a4bcfa1333d4
10,237
cc
C++
android/art/runtime/dexopt_test.cc
Solotov/deoptfuscator
8a54119e81517bcef73d2d6dfefba910ae2446e7
[ "MIT" ]
206
2020-04-13T03:19:33.000Z
2022-03-27T13:52:25.000Z
android/art/runtime/dexopt_test.cc
Solotov/deoptfuscator
8a54119e81517bcef73d2d6dfefba910ae2446e7
[ "MIT" ]
9
2020-06-07T12:51:09.000Z
2022-03-28T23:55:09.000Z
android/art/runtime/dexopt_test.cc
Solotov/deoptfuscator
8a54119e81517bcef73d2d6dfefba910ae2446e7
[ "MIT" ]
42
2020-04-13T03:37:58.000Z
2022-03-23T15:08:12.000Z
/* * Copyright (C) 2017 The Android Open Source Project * * 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 app...
38.197761
94
0.628602
Solotov
599d7e77ca79c5ac86e19294bb7d38d370ac092c
135
cpp
C++
Problems/AtCoder/Contests/Beginner_Contests/Contest_180/A.Box.cpp
metehkaya/Algo-Archive
03b5fdcf06f84a03125c57762c36a4e03ca6e756
[ "MIT" ]
2
2020-07-20T06:40:22.000Z
2021-11-20T01:23:26.000Z
Problems/AtCoder/Contests/Beginner_Contests/Contest_180/A.Box.cpp
metehkaya/Algo-Archive
03b5fdcf06f84a03125c57762c36a4e03ca6e756
[ "MIT" ]
null
null
null
Problems/AtCoder/Contests/Beginner_Contests/Contest_180/A.Box.cpp
metehkaya/Algo-Archive
03b5fdcf06f84a03125c57762c36a4e03ca6e756
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int n,a,b; int main() { scanf("%d%d%d",&n,&a,&b); printf("%d\n",n-a+b); return 0; }
12.272727
26
0.555556
metehkaya
599f874a59e2936cc96c2b27582498ddff6eaaa0
2,713
hpp
C++
src/sglib/mappers/PairedReadMapper.hpp
BenJWard/sg
397924c8346981a6d4726c9cac7bc9c1b623c6fb
[ "MIT" ]
null
null
null
src/sglib/mappers/PairedReadMapper.hpp
BenJWard/sg
397924c8346981a6d4726c9cac7bc9c1b623c6fb
[ "MIT" ]
null
null
null
src/sglib/mappers/PairedReadMapper.hpp
BenJWard/sg
397924c8346981a6d4726c9cac7bc9c1b623c6fb
[ "MIT" ]
null
null
null
// // Created by Bernardo Clavijo (EI) on 12/05/2018. // #ifndef BSG_PAIREDREADMAPPER_HPP #define BSG_PAIREDREADMAPPER_HPP #include <map> #include <fstream> #include "sglib/types/MappingTypes.hpp" #include "sglib/factories/KMerIDXFactory.h" #include "sglib/readers/SequenceGraphReader.h" #include "sglib/SMR.h" #inclu...
35.697368
201
0.736454
BenJWard
59a3ed513c38ffda9a70045f8f21852ffc1c77b1
2,494
cpp
C++
libraries/cor_cocos2dx_mruby_interface/sources/mruby_script_engine.cpp
rmake/cor-engine
d8920325db490d19dc8c116ab8e9620fe55e9975
[ "MIT" ]
4
2015-01-13T09:55:02.000Z
2016-09-10T03:42:23.000Z
libraries/cor_cocos2dx_mruby_interface/sources/mruby_script_engine.cpp
rmake/cor-engine
d8920325db490d19dc8c116ab8e9620fe55e9975
[ "MIT" ]
null
null
null
libraries/cor_cocos2dx_mruby_interface/sources/mruby_script_engine.cpp
rmake/cor-engine
d8920325db490d19dc8c116ab8e9620fe55e9975
[ "MIT" ]
2
2015-01-22T02:30:29.000Z
2021-05-10T06:56:49.000Z
#include "mruby_script_engine.h" namespace cor { namespace cocos2dx_mruby_interface { struct MrubyScriptEngineItnl { CocosRefTable object_table; mruby_interface::MrubyState mrb; }; MrubyScriptEngine::MrubyScriptEngine() : itnl(new MrubyScriptEng...
23.528302
84
0.526063
rmake
59a615de4ac81e6f0bd3c62c23e17755753754cd
3,119
cpp
C++
src/system.cpp
yunik1004/vcpmp
6a17e44d2d140334215faa692db6655adacce2c8
[ "MIT" ]
null
null
null
src/system.cpp
yunik1004/vcpmp
6a17e44d2d140334215faa692db6655adacce2c8
[ "MIT" ]
null
null
null
src/system.cpp
yunik1004/vcpmp
6a17e44d2d140334215faa692db6655adacce2c8
[ "MIT" ]
null
null
null
#include "system.hpp" #include <iostream> #define ARCH_X86 "x86" #define ARCH_X64 "x64" #define ARCH_ARM "arm" #define ARCH_ARM64 "arm64" #define ARCH_CURRENT "current" #define OS_WINDOWS "windows" #define OS_LINUX "linux" #define OS_DARWIN "osx" #define OS_UWP "uwp" #define LINK_DYNAMIC "dynamic" #define LINK_STATI...
27.121739
127
0.612376
yunik1004
59b031457ba8dcbacb65a4611d193ff41677c658
168
hpp
C++
libvmod/include/vmod/sf/fs/fs_FileSystem.hpp
MarioPossamato/vax
c40f0f9740643003e02fa9da6e0e986695b87ff2
[ "MIT" ]
6
2022-03-23T23:26:04.000Z
2022-03-27T06:33:22.000Z
libvmod/include/vmod/sf/fs/fs_FileSystem.hpp
MarioPossamato/vax
c40f0f9740643003e02fa9da6e0e986695b87ff2
[ "MIT" ]
null
null
null
libvmod/include/vmod/sf/fs/fs_FileSystem.hpp
MarioPossamato/vax
c40f0f9740643003e02fa9da6e0e986695b87ff2
[ "MIT" ]
6
2022-03-25T22:56:04.000Z
2022-03-26T09:32:08.000Z
#pragma once #include <switch.h> namespace vmod::sf::fs { Result Initialize(); void Finalize(); Result OpenSdCardFileSystem(FsFileSystem &out_sd_fs); }
14
57
0.690476
MarioPossamato
59b2aab7a78d3de791666f1d83c8d4c71ac7a0c5
1,649
cpp
C++
Konsole/source/Graphics/ColoredString.cpp
mooviies/TetrisConsole
4468df779c74cb30d4543eb50d89c491839998bb
[ "MIT" ]
null
null
null
Konsole/source/Graphics/ColoredString.cpp
mooviies/TetrisConsole
4468df779c74cb30d4543eb50d89c491839998bb
[ "MIT" ]
null
null
null
Konsole/source/Graphics/ColoredString.cpp
mooviies/TetrisConsole
4468df779c74cb30d4543eb50d89c491839998bb
[ "MIT" ]
null
null
null
#include "ColoredString.h" #include <exception> using namespace konsole; using namespace std; ColoredChar konsole::toColoredChar(char c, Color textColor, Color backgroundColor) { return ColoredChar(c, textColor, backgroundColor); } ColoredString::ColoredString() { } ColoredString::ColoredString(char c) { assign...
17.731183
87
0.681019
mooviies
59b35cce3591b0205fdb697b2884f67b3ee9daf7
1,663
cxx
C++
Testing/igstkDefaultWidget.cxx
ipa/IGSTK
d31f77b04aa72469e18e8a989ed8316bad39ed7a
[ "BSD-3-Clause" ]
5
2016-02-12T18:55:20.000Z
2022-02-05T09:23:07.000Z
Testing/igstkDefaultWidget.cxx
ipa/IGSTK
d31f77b04aa72469e18e8a989ed8316bad39ed7a
[ "BSD-3-Clause" ]
1
2018-01-26T10:39:31.000Z
2018-01-26T10:39:31.000Z
Testing/igstkDefaultWidget.cxx
ipa/IGSTK
d31f77b04aa72469e18e8a989ed8316bad39ed7a
[ "BSD-3-Clause" ]
4
2017-09-24T01:19:32.000Z
2021-06-20T18:02:42.000Z
/*========================================================================= Program: Image Guided Surgery Software Toolkit Module: igstkDefaultWidget.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) ISC Insight Software Consortium. All rights reserved. See IGSTKCopyright.t...
23.757143
75
0.651834
ipa
59b41ae634a2eb99918ab949787ece5a09f0c54b
1,152
cpp
C++
NaoTHSoccer/Source/Representations/Motion/CollisionPercept.cpp
tarsoly/NaoTH
dcd2b67ef6bf9953c81d3e1b26e543b5922b7d52
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
NaoTHSoccer/Source/Representations/Motion/CollisionPercept.cpp
tarsoly/NaoTH
dcd2b67ef6bf9953c81d3e1b26e543b5922b7d52
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
NaoTHSoccer/Source/Representations/Motion/CollisionPercept.cpp
tarsoly/NaoTH
dcd2b67ef6bf9953c81d3e1b26e543b5922b7d52
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/** * @file CollisionPercept.h * * @author <a href="mailto:xu@informatik.hu-berlin.de">Xu, Yuan</a> * */ #include "CollisionPercept.h" #include <Messages/Representations.pb.h> #include <google/protobuf/io/zero_copy_stream_impl.h> using namespace naoth; void Serializer<CollisionPercept>::serialize(const CollisionPer...
29.538462
106
0.782986
tarsoly
59b5d4b10475f88192c9af0f22839a1ee74a5ad9
10,102
cpp
C++
blades/xbmc/xbmc/music/dialogs/GUIDialogSongInfo.cpp
krattai/AEBL
a7b12c97479e1236d5370166b15ca9f29d7d4265
[ "BSD-2-Clause" ]
4
2016-04-26T03:43:54.000Z
2016-11-17T08:09:04.000Z
blades/xbmc/xbmc/music/dialogs/GUIDialogSongInfo.cpp
krattai/AEBL
a7b12c97479e1236d5370166b15ca9f29d7d4265
[ "BSD-2-Clause" ]
17
2015-01-05T21:06:22.000Z
2015-12-07T20:45:44.000Z
blades/xbmc/xbmc/music/dialogs/GUIDialogSongInfo.cpp
krattai/AEBL
a7b12c97479e1236d5370166b15ca9f29d7d4265
[ "BSD-2-Clause" ]
3
2016-04-26T03:43:55.000Z
2020-11-06T11:02:08.000Z
/* * Copyright (C) 2005-2013 Team XBMC * http://xbmc.org * * This Program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. * * ...
28.945559
122
0.682934
krattai
59b66be34aab0f121932cbbda90ac1eaf71bccdc
12,011
cpp
C++
libnd4j/include/ops/declarable/generic/convo/ismax.cpp
nutonchain/Deeplearning
20f222c1eff95205c6c9c9b666b04402405e4442
[ "Apache-2.0" ]
2
2018-11-26T15:30:37.000Z
2018-11-26T15:30:39.000Z
libnd4j/include/ops/declarable/generic/convo/ismax.cpp
nutonchain/Deeplearning
20f222c1eff95205c6c9c9b666b04402405e4442
[ "Apache-2.0" ]
16
2018-12-03T11:37:19.000Z
2018-12-03T19:47:25.000Z
libnd4j/include/ops/declarable/generic/convo/ismax.cpp
nutonchain/Deeplearning
20f222c1eff95205c6c9c9b666b04402405e4442
[ "Apache-2.0" ]
2
2021-03-01T07:46:24.000Z
2021-09-26T17:08:40.000Z
/******************************************************************************* * Copyright (c) 2015-2018 Skymind, Inc. * * This program and the accompanying materials are made available under the * terms of the Apache License, Version 2.0 which is available at * https://www.apache.org/licenses/LICENSE-2.0. * *...
47.662698
105
0.360253
nutonchain
59ba956272b192f553ab85e8f4e4cf12bf2b9714
2,732
cpp
C++
B2G/gecko/widget/os2/nsScreenOS2.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
3
2015-08-31T15:24:31.000Z
2020-04-24T20:31:29.000Z
B2G/gecko/widget/os2/nsScreenOS2.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
null
null
null
B2G/gecko/widget/os2/nsScreenOS2.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
3
2015-07-29T07:17:15.000Z
2020-11-04T06:55:37.000Z
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "nsScreenOS2.h" nsScreen...
23.152542
112
0.660688
wilebeast