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
7a195c898295ad1c74cdb666dafbe6a68f74e2f2
3,745
cpp
C++
src/wrappers/win32/BHAPI_wrapper_os.cpp
stasinek/BHAPI
5d9aa61665ae2cc5c6e34415957d49a769325b2b
[ "BSD-3-Clause", "MIT" ]
3
2018-05-21T15:32:32.000Z
2019-03-21T13:34:55.000Z
src/wrappers/win32/BHAPI_wrapper_os.cpp
stasinek/BHAPI
5d9aa61665ae2cc5c6e34415957d49a769325b2b
[ "BSD-3-Clause", "MIT" ]
null
null
null
src/wrappers/win32/BHAPI_wrapper_os.cpp
stasinek/BHAPI
5d9aa61665ae2cc5c6e34415957d49a769325b2b
[ "BSD-3-Clause", "MIT" ]
null
null
null
/* -------------------------------------------------------------------------- * * BHAPI++ Copyright (C) 2017, Stanislaw Stasiak, based on Haiku & ETK++, The Easy Toolkit for C++ programing * Copyright (C) 2004-2006, Anthony Lee, All Rights Reserved * * BHAPI++ library is a freeware; it may be used and distributed ...
29.031008
109
0.683311
stasinek
7a19ab9e1a905b3159798b8bbdf07c38900fe58b
4,128
hpp
C++
src/game/asteroid.hpp
Abergard/PMC_Asteroids
0df023381430a1fd5ec2675a9b1882da63a85bc5
[ "MIT" ]
1
2019-08-29T15:07:50.000Z
2019-08-29T15:07:50.000Z
src/game/asteroid.hpp
Abergard/PMC_Asteroids
0df023381430a1fd5ec2675a9b1882da63a85bc5
[ "MIT" ]
null
null
null
src/game/asteroid.hpp
Abergard/PMC_Asteroids
0df023381430a1fd5ec2675a9b1882da63a85bc5
[ "MIT" ]
1
2017-09-29T14:41:37.000Z
2017-09-29T14:41:37.000Z
#pragma once #include <cassert> #include "game/game_entity.hpp" static bool is_object_inside_screen(const component::transform& transform) { if (transform.position.x > 400 + 50 || transform.position.x < -400 - 50 || transform.position.y > 300 + 50 || transform.position.y < -300 - 50) { return...
30.80597
79
0.507267
Abergard
7a1bb7096617842b43d7158d7ad2ed239ef3146a
2,355
cpp
C++
src/builtin/btrc/builtin/renderer/wavefront/soa_buffer.cpp
AirGuanZ/Btrc
8865eb1506f96fb0230fb394b9fadb1e38f2b9d8
[ "MIT" ]
17
2022-02-03T09:35:14.000Z
2022-03-28T04:27:05.000Z
src/builtin/btrc/builtin/renderer/wavefront/soa_buffer.cpp
AirGuanZ/Btrc
8865eb1506f96fb0230fb394b9fadb1e38f2b9d8
[ "MIT" ]
1
2022-02-09T15:11:55.000Z
2022-02-09T15:11:55.000Z
src/builtin/btrc/builtin/renderer/wavefront/soa_buffer.cpp
AirGuanZ/Btrc
8865eb1506f96fb0230fb394b9fadb1e38f2b9d8
[ "MIT" ]
null
null
null
#include <random> #include <btrc/builtin/renderer/wavefront/soa_buffer.h> BTRC_WFPT_BEGIN RayBuffer::RayBuffer(int state_count) { o_medium_id_.initialize(state_count); d_t1_.initialize(state_count); } RayBuffer::operator RaySOA() { return RaySOA{ .o_med_id_buffer = o_medium_id_, .d_t1_bu...
22.644231
76
0.722718
AirGuanZ
7a22d71bc92698580142f8a3b961c631c8587a82
871
cpp
C++
ACM-ICPC/5014.cpp
KimBoWoon/ACM-ICPC
146c36999488af9234d73f7b4b0c10d78486604f
[ "MIT" ]
null
null
null
ACM-ICPC/5014.cpp
KimBoWoon/ACM-ICPC
146c36999488af9234d73f7b4b0c10d78486604f
[ "MIT" ]
null
null
null
ACM-ICPC/5014.cpp
KimBoWoon/ACM-ICPC
146c36999488af9234d73f7b4b0c10d78486604f
[ "MIT" ]
null
null
null
#include <cstdio> #include <queue> using namespace std; #define MAX 1000001 int f, s, g, u, d; int building[MAX]; queue<int> q; void bfs() { while (!q.empty()) { int here = q.front(); q.pop(); // 올라간다 int next = here + u; if (next <= f && building[next] ...
18.934783
49
0.41217
KimBoWoon
7a28f8aa3d5b9f460887a91155b581d17f9ced68
1,771
cpp
C++
1400/60/1467b.cpp
actium/cf
d7be128c3a9adb014a231a399f1c5f19e1ab2a38
[ "Unlicense" ]
1
2020-07-03T15:55:52.000Z
2020-07-03T15:55:52.000Z
1400/60/1467b.cpp
actium/cf
d7be128c3a9adb014a231a399f1c5f19e1ab2a38
[ "Unlicense" ]
null
null
null
1400/60/1467b.cpp
actium/cf
d7be128c3a9adb014a231a399f1c5f19e1ab2a38
[ "Unlicense" ]
3
2020-10-01T14:55:28.000Z
2021-07-11T11:33:58.000Z
#include <iostream> #include <vector> template <typename T> std::istream& operator >>(std::istream& input, std::vector<T>& v) { for (T& a : v) input >> a; return input; } void answer(unsigned v) { std::cout << v << '\n'; } void solve(const std::vector<unsigned>& a) { const size_t n = a.size(...
19.677778
65
0.36646
actium
7a2b5d78e4e25a66205637bf85cacceef9423f98
10,513
cpp
C++
Source/McRave/Resources.cpp
Cmccrave/CMProtoBot
220cddaf41724004daf5aace5b48a07e28931279
[ "MIT" ]
32
2017-03-04T19:38:13.000Z
2022-03-16T02:03:01.000Z
Source/McRave/Resources.cpp
Cmccrave/CMProtoBot
220cddaf41724004daf5aace5b48a07e28931279
[ "MIT" ]
2
2017-02-25T02:43:01.000Z
2017-02-27T00:14:55.000Z
Source/McRave/Resources.cpp
Cmccrave/CMProtoBot
220cddaf41724004daf5aace5b48a07e28931279
[ "MIT" ]
8
2017-06-28T23:58:10.000Z
2021-04-20T16:56:08.000Z
#include "McRave.h" using namespace BWAPI; using namespace std; using namespace UnitTypes; namespace McRave::Resources { namespace { set<shared_ptr<ResourceInfo>> myMinerals; set<shared_ptr<ResourceInfo>> myGas; set<shared_ptr<ResourceInfo>> myBoulders; bool mineralSat, gasSat, h...
36.503472
219
0.512889
Cmccrave
7a2f74f47f3d04dae04872ee49ced59efeacb96e
1,213
cpp
C++
NFComm/NFNoSqlPlugin/NFNoSqlPlugin.cpp
sosan/NoahGameFrame
38c54014c5c4620b784b2c1d2cab256f42bae186
[ "Apache-2.0" ]
null
null
null
NFComm/NFNoSqlPlugin/NFNoSqlPlugin.cpp
sosan/NoahGameFrame
38c54014c5c4620b784b2c1d2cab256f42bae186
[ "Apache-2.0" ]
null
null
null
NFComm/NFNoSqlPlugin/NFNoSqlPlugin.cpp
sosan/NoahGameFrame
38c54014c5c4620b784b2c1d2cab256f42bae186
[ "Apache-2.0" ]
1
2020-04-23T21:57:32.000Z
2020-04-23T21:57:32.000Z
//------------------------------------------------------------------------ - // @FileName : NFNoSqlPlugin.cpp // @Author : LvSheng.Huang // @Date : 2017-02-08 // @Module : NFNoSqlPlugin // // ----------------------------------------------------------------------...
25.270833
76
0.597692
sosan
7a3905913bc7ab9af7618154cfda716d3ef6b1af
2,883
cpp
C++
Siv3D/src/Siv3D/Script/Bind/Script_WaveSample.cpp
Fuyutsubaki/OpenSiv3D
4370f6ebe28addd39bfdd75915c5a18e3e5e9273
[ "MIT" ]
null
null
null
Siv3D/src/Siv3D/Script/Bind/Script_WaveSample.cpp
Fuyutsubaki/OpenSiv3D
4370f6ebe28addd39bfdd75915c5a18e3e5e9273
[ "MIT" ]
null
null
null
Siv3D/src/Siv3D/Script/Bind/Script_WaveSample.cpp
Fuyutsubaki/OpenSiv3D
4370f6ebe28addd39bfdd75915c5a18e3e5e9273
[ "MIT" ]
null
null
null
//----------------------------------------------- // // This file is part of the Siv3D Engine. // // Copyright (c) 2008-2018 Ryo Suzuki // Copyright (c) 2016-2018 OpenSiv3D Project // // Licensed under the MIT License. // //----------------------------------------------- # include <Siv3D/Script.hpp> # include <Siv3D/...
42.397059
193
0.701006
Fuyutsubaki
7a3a661eb0cb66b1614ba001791e400cabb2acd2
4,120
cpp
C++
raytracer/features/Matrix/Transform.cpp
Max135/Raytracer
4679da74d27cc2b6199f7a177ac9e08fe673c0c9
[ "MIT" ]
3
2021-02-27T02:28:02.000Z
2021-03-02T13:45:11.000Z
raytracer/features/Matrix/Transform.cpp
Max135/Raytracer
4679da74d27cc2b6199f7a177ac9e08fe673c0c9
[ "MIT" ]
1
2021-02-03T20:37:42.000Z
2021-02-04T02:46:06.000Z
raytracer/features/Matrix/Transform.cpp
Max135/Raytracer
4679da74d27cc2b6199f7a177ac9e08fe673c0c9
[ "MIT" ]
null
null
null
// // Created by Max on 2021-01-05. // #include "Transform.h" Transform Transform::viewTransform(const Point& from, const Point& to, const Vector& up) { Tuple forward = (to - from).normalize(); Tuple left = forward.cross(up.normalize()); Tuple trueUp = left.cross(forward); Transform orientation; ...
27.466667
109
0.645388
Max135
7a3b3a1bf901347e386b7bf100bb81fe8bdb0d3a
2,530
cpp
C++
source/assets/font.cpp
xeek-pro/isometric
6f7d05ce597683552d5dc3078a1634fddd41092b
[ "MIT" ]
1
2021-08-02T04:49:44.000Z
2021-08-02T04:49:44.000Z
source/assets/font.cpp
xeek-pro/isometric
6f7d05ce597683552d5dc3078a1634fddd41092b
[ "MIT" ]
null
null
null
source/assets/font.cpp
xeek-pro/isometric
6f7d05ce597683552d5dc3078a1634fddd41092b
[ "MIT" ]
1
2021-09-09T16:49:53.000Z
2021-09-09T16:49:53.000Z
#include <SDL.h> #include <SDL_ttf.h> #include "font.h" #include "../source/application/application.h" #include <algorithm> using namespace isometric::assets; font::font(const std::string& name) : asset(name) { } font::~font() { clear(); } std::unique_ptr<font> font::load(const std::string& name, const std...
24.563107
160
0.630435
xeek-pro
7a3c7167e30b51be47f1e749053a155d80fd741c
1,811
cpp
C++
13- Linked Lists/palindrome_ll.cpp
ShreyashRoyzada/C-plus-plus-Algorithms
9db89faf0a9b9e636aece3e7289f21ab6a1e3748
[ "MIT" ]
21
2020-10-03T03:57:19.000Z
2022-03-25T22:41:05.000Z
13- Linked Lists/palindrome_ll.cpp
ShreyashRoyzada/C-plus-plus-Algorithms
9db89faf0a9b9e636aece3e7289f21ab6a1e3748
[ "MIT" ]
40
2020-10-02T07:02:34.000Z
2021-10-30T16:00:07.000Z
13- Linked Lists/palindrome_ll.cpp
ShreyashRoyzada/C-plus-plus-Algorithms
9db89faf0a9b9e636aece3e7289f21ab6a1e3748
[ "MIT" ]
90
2020-10-02T07:06:22.000Z
2022-03-25T22:41:17.000Z
// in this program we check if the given LL is a palindrome or not and return 1 for Palindrome and 0 for not palindrome #include <iostream> #include <stack> using namespace std; // linked list structure struct Node { int data; struct Node *next; Node(int x) { data = x; next = NULL; } }; // function t...
18.479592
119
0.500276
ShreyashRoyzada
7a459a6aa8578e9217608a55f34eff6e335dfbb4
520
cpp
C++
pgm16_01.cpp
neharkarvishal/Data-Structures-and-Algorithms-with-Object-Oriented-Design-Patterns-in-C-
c9a29d2dd43ad8561e828c25f98de6a8c8f2317a
[ "Unlicense" ]
1
2021-07-13T03:58:36.000Z
2021-07-13T03:58:36.000Z
pgm16_01.cpp
neharkarvishal/Data-Structures-and-Algorithms-with-Object-Oriented-Design-Patterns-in-C-
c9a29d2dd43ad8561e828c25f98de6a8c8f2317a
[ "Unlicense" ]
null
null
null
pgm16_01.cpp
neharkarvishal/Data-Structures-and-Algorithms-with-Object-Oriented-Design-Patterns-in-C-
c9a29d2dd43ad8561e828c25f98de6a8c8f2317a
[ "Unlicense" ]
null
null
null
// // This file contains the C++ code from Program 16.1 of // "Data Structures and Algorithms // with Object-Oriented Design Patterns in C++" // by Bruno R. Preiss. // // Copyright (c) 1998 by Bruno R. Preiss, P.Eng. All rights reserved. // // http://www.pads.uwaterloo.ca/Bruno.Preiss/books/opus4/programs...
23.636364
80
0.663462
neharkarvishal
7a464efdc20b7ed15edd2e2fb26ef66710b8d364
972
cpp
C++
hdu/1000/13/1335.cpp
TheBadZhang/OJ
b5407f2483aa630068343b412ecaf3a9e3303f7e
[ "Apache-2.0" ]
1
2020-07-22T16:54:07.000Z
2020-07-22T16:54:07.000Z
hdu/1000/13/1335.cpp
TheBadZhang/OJ
b5407f2483aa630068343b412ecaf3a9e3303f7e
[ "Apache-2.0" ]
1
2018-05-12T12:53:06.000Z
2018-05-12T12:53:06.000Z
hdu/1000/13/1335.cpp
TheBadZhang/OJ
b5407f2483aa630068343b412ecaf3a9e3303f7e
[ "Apache-2.0" ]
null
null
null
#include <cstdio> #include <cstring> #include <algorithm> using namespace std; #define N 20 char s[N], w[N]; char y[N]; int a, b; int T(int x, int n) { int s = 1; for (int i = 1; i <= n; i++) { s *= x; } return s; } int main() { while (scanf("%s%d%d", s, &a, &b) != EOF) { int i, sum = 0, l; l = strlen(s); ...
17.357143
49
0.371399
TheBadZhang
7a47e89d4b622154aa5985afbedfcf5ac7491df7
1,504
cpp
C++
0463 - Island Perimeter/cpp/main.cpp
xiaoswu/Leetcode
e4ae8b2f72a312ee247084457cf4e6dbcfd20e18
[ "MIT" ]
5
2018-10-18T06:47:19.000Z
2020-06-19T09:30:03.000Z
0463 - Island Perimeter/cpp/main.cpp
xiaoswu/Leetcode
e4ae8b2f72a312ee247084457cf4e6dbcfd20e18
[ "MIT" ]
null
null
null
0463 - Island Perimeter/cpp/main.cpp
xiaoswu/Leetcode
e4ae8b2f72a312ee247084457cf4e6dbcfd20e18
[ "MIT" ]
null
null
null
// // main.cpp // 463 - Island Perimeter // // Created by ynfMac on 2019/11/26. // Copyright © 2019 ynfMac. All rights reserved. // #include <iostream> #include <vector> using namespace std; class Solution { private: int d[4][2] = {{1,0},{-1,0},{0,1},{0, -1}}; int C,R; bool isInArea(int x, ...
20.60274
59
0.40891
xiaoswu
7a4816c8482dc04dc8afed51bbe499600a23b979
457,727
cpp
C++
Unity-Project/App-HL2/Il2CppOutputProject/Source/il2cppOutput/Il2CppCCWs198.cpp
JBrentJ/mslearn-mixed-reality-and-azure-digital-twins-in-unity
6e13b31a0b053443b9c93267d8f174f1554e79dd
[ "CC-BY-4.0", "MIT" ]
1
2021-06-01T19:33:53.000Z
2021-06-01T19:33:53.000Z
Unity-Project/App-HL2/Il2CppOutputProject/Source/il2cppOutput/Il2CppCCWs198.cpp
JBrentJ/mslearn-mixed-reality-and-azure-digital-twins-in-unity
6e13b31a0b053443b9c93267d8f174f1554e79dd
[ "CC-BY-4.0", "MIT" ]
null
null
null
Unity-Project/App-HL2/Il2CppOutputProject/Source/il2cppOutput/Il2CppCCWs198.cpp
JBrentJ/mslearn-mixed-reality-and-azure-digital-twins-in-unity
6e13b31a0b053443b9c93267d8f174f1554e79dd
[ "CC-BY-4.0", "MIT" ]
null
null
null
#include "pch-cpp.hpp" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <stdint.h> #include <limits> #include "vm/CachedCCWBase.h" #include "utils/New.h" template <typename R> struct VirtFuncInvoker0 { typedef R (*Func)(void*, const RuntimeMethod*); static inline R Invoke (Il2Cp...
47.580769
600
0.841349
JBrentJ
7a485db2e1678c0e06a1bbfa4a4f9ba6adadb7a9
589
cpp
C++
DataStructure/c++/heap/loveBabbarDsSheet/BST-to-Maxheap.cpp
subhamengine/DataStructures-and-Algorithm
582f2f724a8dd5b42703c9f02d3934a85679c9b7
[ "MIT" ]
17
2021-09-13T14:50:29.000Z
2022-01-07T10:53:35.000Z
DataStructure/c++/heap/loveBabbarDsSheet/BST-to-Maxheap.cpp
subhamengine/DataStructures-and-Algorithm
582f2f724a8dd5b42703c9f02d3934a85679c9b7
[ "MIT" ]
15
2021-10-01T04:13:32.000Z
2021-11-05T07:49:55.000Z
DataStructure/c++/heap/loveBabbarDsSheet/BST-to-Maxheap.cpp
subhamengine/DataStructures-and-Algorithm
582f2f724a8dd5b42703c9f02d3934a85679c9b7
[ "MIT" ]
11
2021-09-23T14:37:03.000Z
2021-11-04T13:22:17.000Z
class Solution{ queue<int>q; public: void dfs(Node* root){ if(root==NULL) return; dfs(root->right); q.push(root->data); // storing in descending order dfs(root->left); } void solver(Node* root){ if(root==NULL) return; int val=q.fro...
22.653846
83
0.519525
subhamengine
7a53aaf90b9f479f1539dc464d81281928ebccff
240
cpp
C++
delete/main.cpp
mamil/demo
32240d95b80175549e6a1904699363ce672a1591
[ "MIT" ]
null
null
null
delete/main.cpp
mamil/demo
32240d95b80175549e6a1904699363ce672a1591
[ "MIT" ]
null
null
null
delete/main.cpp
mamil/demo
32240d95b80175549e6a1904699363ce672a1591
[ "MIT" ]
null
null
null
#include <memory> #include <iostream> class Man { public: Man() = default; // ~Man() = delete; // error: use of deleted function ‘Man::~Man()’ int age; }; int main() { { auto man = std::make_shared<Man>(); } }
13.333333
71
0.5375
mamil
7a5b9ac7204db2f5a306c83e336d67510bbb8faf
5,711
cc
C++
testdata/fuzzer_binary.cc
DaryaShirokova/lldb-eval
114625c28f5aa8fafda4d49d9dbb0e6fd2b16d20
[ "Apache-2.0" ]
null
null
null
testdata/fuzzer_binary.cc
DaryaShirokova/lldb-eval
114625c28f5aa8fafda4d49d9dbb0e6fd2b16d20
[ "Apache-2.0" ]
null
null
null
testdata/fuzzer_binary.cc
DaryaShirokova/lldb-eval
114625c28f5aa8fafda4d49d9dbb0e6fd2b16d20
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2020 Google LLC * * 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 ...
26.938679
80
0.696726
DaryaShirokova
7a5e493193012d1eddb6252c4ecdc4ca47989b12
824
cpp
C++
841.cpp
zfang399/LeetCode-Problems
4cb25718a3d1361569f5ee6fde7b4a9a4fde2186
[ "MIT" ]
8
2018-10-31T11:00:19.000Z
2020-07-31T05:25:06.000Z
841.cpp
zfang399/LeetCode-Problems
4cb25718a3d1361569f5ee6fde7b4a9a4fde2186
[ "MIT" ]
null
null
null
841.cpp
zfang399/LeetCode-Problems
4cb25718a3d1361569f5ee6fde7b4a9a4fde2186
[ "MIT" ]
2
2018-05-31T11:29:22.000Z
2019-09-11T06:34:40.000Z
class Solution { public: bool canVisitAllRooms(vector<vector<int>>& rooms) { int N = rooms.size(); vector<bool> vis(N, false); queue<int> tovis; // start from room #0, until we cannot visit any new room tovis.push(0); while(tovis.size()){ int cur_room = t...
29.428571
65
0.475728
zfang399
7a623faa989e4f1123ac07e2c079ecb7ae20b16c
81
cpp
C++
src/SystemQ/Tests/TestString.cpp
BclEx/GpuStructs
b93acb1c7196477d1d023453a75b480f75cdd29a
[ "MIT" ]
null
null
null
src/SystemQ/Tests/TestString.cpp
BclEx/GpuStructs
b93acb1c7196477d1d023453a75b480f75cdd29a
[ "MIT" ]
null
null
null
src/SystemQ/Tests/TestString.cpp
BclEx/GpuStructs
b93acb1c7196477d1d023453a75b480f75cdd29a
[ "MIT" ]
null
null
null
#include "..\..\System\System.h" using namespace Sys; void TestString() { }
13.5
33
0.62963
BclEx
7a64a80c254b19d758af298820082f7908506da9
2,927
hpp
C++
include/yymp/tuple_traits.hpp
surrealwaffle/yymp
662def34a298bf2992bf429e26bc35605906897b
[ "BSL-1.0" ]
1
2020-04-02T12:37:58.000Z
2020-04-02T12:37:58.000Z
include/yymp/tuple_traits.hpp
surrealwaffle/yymp
662def34a298bf2992bf429e26bc35605906897b
[ "BSL-1.0" ]
null
null
null
include/yymp/tuple_traits.hpp
surrealwaffle/yymp
662def34a298bf2992bf429e26bc35605906897b
[ "BSL-1.0" ]
1
2018-11-22T10:36:37.000Z
2018-11-22T10:36:37.000Z
// SPDX-License-Identifier: BSL-1.0 #ifndef YYMP_TUPLE_TRAITS_HPP #define YYMP_TUPLE_TRAITS_HPP #include <type_traits> #include <utility> #include <yymp/dtl/piecewise_reinitializable.hpp> namespace yymp { /** * \brief Determines if all the element types of a \a Tuple have a * constructor that...
36.135802
80
0.648446
surrealwaffle
7a64f04ef2624374202d9ca9d502f5ef86067df8
2,533
cpp
C++
firmware/remote_logger/src/envsensor.cpp
oxullo/envlogger
736efd5dfe74fd62bc3ae18a04f73dbf5c4402cf
[ "MIT" ]
null
null
null
firmware/remote_logger/src/envsensor.cpp
oxullo/envlogger
736efd5dfe74fd62bc3ae18a04f73dbf5c4402cf
[ "MIT" ]
null
null
null
firmware/remote_logger/src/envsensor.cpp
oxullo/envlogger
736efd5dfe74fd62bc3ae18a04f73dbf5c4402cf
[ "MIT" ]
null
null
null
// Copyright (c) 2020 OXullo Intersecans <x@brainrapers.org> // // 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...
27.532609
81
0.705488
oxullo
7a6676d207ea7e25a296d3e59a3aa340d66d3755
2,319
cpp
C++
src/c++/test-blackbox/test_grm.cpp
vb-wayne/paragraph
3f6f6f7a2a3ac209c7dbb21487ca4d9eaed5c14c
[ "Apache-2.0" ]
111
2017-11-24T18:22:50.000Z
2022-02-25T07:55:31.000Z
src/c++/test-blackbox/test_grm.cpp
vb-wayne/paragraph
3f6f6f7a2a3ac209c7dbb21487ca4d9eaed5c14c
[ "Apache-2.0" ]
61
2018-01-01T19:58:06.000Z
2022-03-09T12:01:17.000Z
src/c++/test-blackbox/test_grm.cpp
vb-wayne/paragraph
3f6f6f7a2a3ac209c7dbb21487ca4d9eaed5c14c
[ "Apache-2.0" ]
30
2018-03-01T04:41:15.000Z
2022-03-11T14:52:03.000Z
// -*- mode: c++; indent-tabs-mode: nil; -*- // // Paragraph // Copyright (c) 2016-2019 Illumina, 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:...
34.61194
119
0.70332
vb-wayne
7a717471d064720669aca5be2b84a34764adc364
1,725
cpp
C++
Visual Mercutio/zModel/PSS_SymbolObserverMsg.cpp
Jeanmilost/Visual-Mercutio
f079730005b6ce93d5e184bb7c0893ccced3e3ab
[ "MIT" ]
1
2022-01-31T06:24:24.000Z
2022-01-31T06:24:24.000Z
Visual Mercutio/zModel/PSS_SymbolObserverMsg.cpp
Jeanmilost/Visual-Mercutio
f079730005b6ce93d5e184bb7c0893ccced3e3ab
[ "MIT" ]
2
2021-04-11T15:50:42.000Z
2021-06-05T08:23:04.000Z
Visual Mercutio/zModel/PSS_SymbolObserverMsg.cpp
Jeanmilost/Visual-Mercutio
f079730005b6ce93d5e184bb7c0893ccced3e3ab
[ "MIT" ]
2
2021-01-08T00:55:18.000Z
2022-01-31T06:24:18.000Z
/**************************************************************************** * ==> PSS_SymbolObserverMsg -----------------------------------------------* **************************************************************************** * Description : Provides a symbol observer message * * Devel...
42.073171
95
0.364638
Jeanmilost
7a72a854df113bfab1fc07c9d37e2fe616621124
4,648
cp
C++
Win32/Sources/Application/Search/CSearchBase.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
12
2015-04-21T16:10:43.000Z
2021-11-05T13:41:46.000Z
Win32/Sources/Application/Search/CSearchBase.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
2
2015-11-02T13:32:11.000Z
2019-07-10T21:11:21.000Z
Win32/Sources/Application/Search/CSearchBase.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
6
2015-01-12T08:49:12.000Z
2021-03-27T09:11:10.000Z
/* Copyright (c) 2007 Cyrus Daboo. 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 ...
24.335079
125
0.68395
mulberry-mail
7a7b9a40f3d5ad192a99cd40f36478213ba5e945
1,166
cpp
C++
4-Array/06.cpp
chshzhe/CppReference
f67c50696ad0f4874f23659cab72f25ca989f614
[ "Unlicense" ]
4
2021-12-03T06:26:06.000Z
2022-01-15T12:15:23.000Z
4-Array/06.cpp
chshzhe/CppReference
f67c50696ad0f4874f23659cab72f25ca989f614
[ "Unlicense" ]
null
null
null
4-Array/06.cpp
chshzhe/CppReference
f67c50696ad0f4874f23659cab72f25ca989f614
[ "Unlicense" ]
null
null
null
#include <iostream> using namespace std; int main() { int B; cin >> B; for (int i = 1; i <= 200; i++) { int temp = i * i; int top = 0; int a[20]; while (temp) { a[top++] = temp % B; temp /= B; } bool flag = true; fo...
22.423077
50
0.264151
chshzhe
7a7b9e35307bee0c3702690909989691ff8058f8
438
hpp
C++
src/libs/input/bound/keyboard_button_binding.hpp
jdmclark/gorc
a03d6a38ab7684860c418dd3d2e77cbe6a6d9fc8
[ "Apache-2.0" ]
97
2015-02-24T05:09:24.000Z
2022-01-23T12:08:22.000Z
src/libs/input/bound/keyboard_button_binding.hpp
annnoo/gorc
1889b4de6380c30af6c58a8af60ecd9c816db91d
[ "Apache-2.0" ]
8
2015-03-27T23:03:23.000Z
2020-12-21T02:34:33.000Z
src/libs/input/bound/keyboard_button_binding.hpp
annnoo/gorc
1889b4de6380c30af6c58a8af60ecd9c816db91d
[ "Apache-2.0" ]
10
2016-03-24T14:32:50.000Z
2021-11-13T02:38:53.000Z
#pragma once #include "input_binding.hpp" #include "button_bindable_command.hpp" namespace gorc { class keyboard_button_binding : public input_binding { private: keyboard_key bound_key; button_bindable_command &command; public: keyboard_button_binding(button_bindable_command &com...
21.9
90
0.73516
jdmclark
7a8652c4bc66d131a5e3809f07d917a863f956fd
3,675
cpp
C++
src/Source/DxbcContainer.cpp
tgjones/slimshader-cpp
a1833e2eccf32cccfe33aa7613772503eca963ee
[ "MIT" ]
20
2015-03-29T02:14:03.000Z
2021-11-14T12:27:02.000Z
src/Source/DxbcContainer.cpp
tgjones/slimshader-cpp
a1833e2eccf32cccfe33aa7613772503eca963ee
[ "MIT" ]
null
null
null
src/Source/DxbcContainer.cpp
tgjones/slimshader-cpp
a1833e2eccf32cccfe33aa7613772503eca963ee
[ "MIT" ]
12
2015-05-04T06:39:10.000Z
2022-02-23T06:48:04.000Z
#include "PCH.h" #include "DxbcContainer.h" #include "DxbcChunk.h" #include "InputSignatureChunk.h" #include "InterfacesChunk.h" #include "OutputSignatureChunk.h" #include "PatchConstantSignatureChunk.h" #include "ResourceDefinitionChunk.h" #include "ShaderProgramChunk.h" #include "StatisticsChunk.h" using namespace ...
29.166667
130
0.742041
tgjones
185332dd40e3656bccc9b216e5b36d096882b5ad
473
cpp
C++
cpp14faqs/code/c++14/product_vector3.cpp
ancientscience/ancientscience.github.io
2c8e3c6a8017164fd86fabaaa3343257cea54405
[ "MIT" ]
null
null
null
cpp14faqs/code/c++14/product_vector3.cpp
ancientscience/ancientscience.github.io
2c8e3c6a8017164fd86fabaaa3343257cea54405
[ "MIT" ]
null
null
null
cpp14faqs/code/c++14/product_vector3.cpp
ancientscience/ancientscience.github.io
2c8e3c6a8017164fd86fabaaa3343257cea54405
[ "MIT" ]
null
null
null
#include <vector> #include <algorithm> #include <iostream> constexpr struct { template< class X, class Y > auto operator () ( X x, Y y ) -> decltype(x*y) { return x * y; } } multOp{}; int main() { std::vector<int> v{1, 2, 3, 4, 5}; auto prod = std::accumulate(v.begin...
18.192308
51
0.437632
ancientscience
185775db6e36148ae69ca118bcc60ec1aad7f6b7
2,430
cpp
C++
Week02/src/Graph.cpp
exp-3/ArtificialIntelligence
7edb258a00998181426906c9276afe09ce91ad9d
[ "MIT" ]
null
null
null
Week02/src/Graph.cpp
exp-3/ArtificialIntelligence
7edb258a00998181426906c9276afe09ce91ad9d
[ "MIT" ]
null
null
null
Week02/src/Graph.cpp
exp-3/ArtificialIntelligence
7edb258a00998181426906c9276afe09ce91ad9d
[ "MIT" ]
null
null
null
#include "Graph.hpp" #include <random> #include <iostream> Graph::Graph() { ; } void Graph::set(vector<Point> &virtices, vector<vector<int>> &adjacency) { Graph::virtices_num = virtices.size(); Graph::virtices = virtices; Graph::adjacency = adjacency; } void Graph::set_random(int virtices_num) { Graph::vi...
25.851064
79
0.537037
exp-3
1857ad89bf1290ff8d86c8522e191f543c622fcd
4,643
cpp
C++
CanadianExperience/CanadianExperience/CanadianExperience/HeadTop.cpp
NicholsTyler/cse_335
b8a46522c15a9881cb681ae94b4a5f737817b05e
[ "MIT" ]
null
null
null
CanadianExperience/CanadianExperience/CanadianExperience/HeadTop.cpp
NicholsTyler/cse_335
b8a46522c15a9881cb681ae94b4a5f737817b05e
[ "MIT" ]
null
null
null
CanadianExperience/CanadianExperience/CanadianExperience/HeadTop.cpp
NicholsTyler/cse_335
b8a46522c15a9881cb681ae94b4a5f737817b05e
[ "MIT" ]
null
null
null
#include "pch.h" #include "HeadTop.h" #include "Actor.h" #include "Timeline.h" #include <sstream> #include <iomanip> using namespace Gdiplus; using namespace std; /// Constant ratio to convert radians to degrees const double RtoD = 57.295779513; /** Constructor for a top of the head object * \param name The drawab...
25.938547
163
0.673702
NicholsTyler
185ae531b8f50cb0038dac353c219b93ec2a00c1
11,858
cpp
C++
src/ngraph/pattern/matcher.cpp
pqLee/ngraph
ddfa95b26a052215baf9bf5aa1ca5d1f92aa00f7
[ "Apache-2.0" ]
null
null
null
src/ngraph/pattern/matcher.cpp
pqLee/ngraph
ddfa95b26a052215baf9bf5aa1ca5d1f92aa00f7
[ "Apache-2.0" ]
null
null
null
src/ngraph/pattern/matcher.cpp
pqLee/ngraph
ddfa95b26a052215baf9bf5aa1ca5d1f92aa00f7
[ "Apache-2.0" ]
null
null
null
//***************************************************************************** // Copyright 2017-2020 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://w...
29.351485
100
0.642182
pqLee
185eb811b951605f459d79fe797e58d3432aedde
1,120
cpp
C++
source/orzTest/test_streamconv.cpp
poppeman/Pictus
0e58285b89292d0b221ab4d09911ef439711cc59
[ "MIT" ]
73
2015-01-19T17:38:26.000Z
2022-02-15T06:16:08.000Z
source/orzTest/test_streamconv.cpp
poppeman/Pictus
0e58285b89292d0b221ab4d09911ef439711cc59
[ "MIT" ]
75
2015-01-01T17:32:24.000Z
2018-10-18T08:19:08.000Z
source/orzTest/test_streamconv.cpp
poppeman/Pictus
0e58285b89292d0b221ab4d09911ef439711cc59
[ "MIT" ]
18
2015-01-05T04:57:18.000Z
2022-03-06T01:35:10.000Z
#include "orz/streamconv.h" #include "main.h" #include "orz/file_reader.h" #include "orz/types.h" #include <UnitTest++/UnitTest++.h> SUITE(StreamConverter) { TEST(Defaults) { Util::StreamConverter sc; // Should default to empty with wordsize 8 CHECK(sc.CurrentWordSize() == 8); CHECK(sc.IsWordsLeft() == fals...
18.666667
68
0.644643
poppeman
185ef91df49a724eb68581351e21b214ebfd9eb1
4,109
cpp
C++
src/app/input/input_manager.cpp
JacobDomagala/Shady
cdb8b07a83d179f58bd70c42957e987ddd201eb4
[ "MIT" ]
2
2020-10-27T00:16:18.000Z
2021-03-29T12:59:48.000Z
src/app/input/input_manager.cpp
JacobDomagala/DEngine
cdb8b07a83d179f58bd70c42957e987ddd201eb4
[ "MIT" ]
58
2020-08-23T21:38:21.000Z
2021-08-05T16:12:31.000Z
src/app/input/input_manager.cpp
JacobDomagala/Shady
cdb8b07a83d179f58bd70c42957e987ddd201eb4
[ "MIT" ]
null
null
null
#include "input_manager.hpp" #include "event.hpp" #include "trace/logger.hpp" #include <GLFW/glfw3.h> #include <iostream> namespace shady::app::input { void InputManager::InternalKeyCallback(GLFWwindow* /* window */, int32_t key, int32_t scancode, int32_t action, int32_t ...
25.364198
107
0.666099
JacobDomagala
18612f1a957d88caaaabcca573098411fd17e931
2,116
cc
C++
base/parsers/character_set_tests.cc
dimhotepus/whitebox
03902b15b03ae0bfe6db5dc12d91ce49c576ac97
[ "BSD-3-Clause" ]
1
2022-01-16T15:01:42.000Z
2022-01-16T15:01:42.000Z
base/parsers/character_set_tests.cc
dimhotepus/whitebox
03902b15b03ae0bfe6db5dc12d91ce49c576ac97
[ "BSD-3-Clause" ]
5
2021-08-11T22:04:28.000Z
2022-01-10T11:18:56.000Z
base/parsers/character_set_tests.cc
dimhotepus/whitebox
03902b15b03ae0bfe6db5dc12d91ce49c576ac97
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2021 The WhiteBox Authors. All rights reserved. // Use of this source code is governed by a 3-Clause BSD license that can be // found in the LICENSE file. // // Character set for parsers. #include "character_set.h" // #include "base/deps/googletest/gtest/gtest.h" // NOLINTNEXTLINE(cert-err58-cpp,cpp...
32.553846
116
0.648393
dimhotepus
186aba9728bc54e6f2236322cde1aad2ddcb639c
663
cpp
C++
GameEngine/Sources/GLFW_Init.cpp
GPUWorks/OpenGL-Mini-CAD-2D
fedb903302f82a1d1ff0ca6776687a60a237008a
[ "MIT" ]
1
2021-08-10T02:48:57.000Z
2021-08-10T02:48:57.000Z
GameEngine/Sources/GLFW_Init.cpp
GPUWorks/OpenGL-Mini-CAD-2D
fedb903302f82a1d1ff0ca6776687a60a237008a
[ "MIT" ]
null
null
null
GameEngine/Sources/GLFW_Init.cpp
GPUWorks/OpenGL-Mini-CAD-2D
fedb903302f82a1d1ff0ca6776687a60a237008a
[ "MIT" ]
null
null
null
#include "GLFW_Init.h" core::GLFW_Init::GLFW_Init() { } core::GLFW_Init::GLFW_Init(int major_version, int minor_version, int opengl_profile, int msaa_factor) { this->major_context_version = major_version; this->minor_context_version = minor_version; this->opengl_profile = opengl_profile; this...
22.862069
102
0.761689
GPUWorks
186feedf62975ca20b669a846171be662ad04f28
1,227
cpp
C++
src/utils/CursorHelper.cpp
oclero/luna
00bd5736e7bab57daa5d622bcd5379992ca6505c
[ "MIT" ]
5
2021-07-19T19:57:41.000Z
2021-09-25T01:41:13.000Z
src/utils/CursorHelper.cpp
chiefstone/luna
00bd5736e7bab57daa5d622bcd5379992ca6505c
[ "MIT" ]
2
2021-09-25T08:35:49.000Z
2021-09-25T11:14:49.000Z
src/utils/CursorHelper.cpp
chiefstone/luna
00bd5736e7bab57daa5d622bcd5379992ca6505c
[ "MIT" ]
3
2021-08-20T10:19:12.000Z
2021-09-25T10:46:40.000Z
#include <luna/utils/CursorHelper.hpp> #include <QCursor> #include <QGuiApplication> namespace luna::utils { CursorHelper::CursorHelper(QObject* parent) : QObject(parent) {} CursorHelper::~CursorHelper() { QGuiApplication::restoreOverrideCursor(); } Qt::CursorShape CursorHelper::cursor() const { return QGuiAppli...
22.722222
69
0.742461
oclero
18712c56bf3e1f0651dd1d542d78f433ce5660e8
795
hpp
C++
include/mitama/dimensional/systems/si/derived_units/heat.hpp
LoliGothick/mitama-dimensional
46b9ae3764bd472da9ed5372afd82e6b5d542543
[ "MIT" ]
34
2019-01-18T11:51:02.000Z
2021-09-17T02:46:43.000Z
include/mitama/dimensional/systems/si/derived_units/heat.hpp
LoliGothick/mitama-dimensional
46b9ae3764bd472da9ed5372afd82e6b5d542543
[ "MIT" ]
11
2019-02-10T23:12:07.000Z
2019-05-06T21:05:09.000Z
include/mitama/dimensional/systems/si/derived_units/heat.hpp
LoliGothick/mitama-dimensional
46b9ae3764bd472da9ed5372afd82e6b5d542543
[ "MIT" ]
5
2019-02-27T11:53:20.000Z
2021-03-20T21:59:59.000Z
#ifndef MITAMA_DIMENSIONAL_DERIVED_UNITS_HEAT_HPP #define MITAMA_DIMENSIONAL_DERIVED_UNITS_HEAT_HPP #include <mitama/dimensional/systems/si/all.hpp> #include <mitama/dimensional/quantity.hpp> #include <mitama/dimensional/io.hpp> namespace mitama::systems::si { template<class> struct heat_synonym{}; using heat_t = ma...
31.8
112
0.803774
LoliGothick
1874ab136870b4eb334cbde189625fd573772ac5
5,731
cpp
C++
test/test_list.cpp
kophy/TinySTL
366c2f585344a249846f4087904d509fa71e419e
[ "MIT" ]
5
2017-05-04T12:21:09.000Z
2019-03-28T09:29:50.000Z
test/test_list.cpp
kophy/TinySTL
366c2f585344a249846f4087904d509fa71e419e
[ "MIT" ]
null
null
null
test/test_list.cpp
kophy/TinySTL
366c2f585344a249846f4087904d509fa71e419e
[ "MIT" ]
null
null
null
#include <cstdlib> #include "list.hpp" #include "catch.hpp" using TinySTL::List; TEST_CASE("front and back") { SECTION("empty list") { List<int> l; CHECK_THROWS_AS(l.front(), std::out_of_range); CHECK_THROWS_AS(l.back(), std::out_of_range); } } TEST_CASE("push front") { SECTION("...
24.079832
62
0.424184
kophy
18770ff3124b3f7c22f268506d0dfe3d91497cd2
2,774
hpp
C++
citadel_lib/include/citadel/character.hpp
myddrin/citadel
f7f00e81154b1ac5e0442e1cfcef402f9e92887d
[ "MIT" ]
null
null
null
citadel_lib/include/citadel/character.hpp
myddrin/citadel
f7f00e81154b1ac5e0442e1cfcef402f9e92887d
[ "MIT" ]
null
null
null
citadel_lib/include/citadel/character.hpp
myddrin/citadel
f7f00e81154b1ac5e0442e1cfcef402f9e92887d
[ "MIT" ]
null
null
null
/** * Copyright (c) 2016 Thomas Richard * * Following MIT license (see copying.txt) * * The software is provided "as is", without warranty of any kind, express or * implied, including but not limited to the warranties of merchantability, * fitness for a particular purpose and noninfringement. */ #ifndef CITADEL...
30.483516
77
0.603461
myddrin
18771a185896ed2cf4c7b04b0e8bff3abf66617b
944
cpp
C++
src/core/platform/Process.cpp
TheJelmega/engine
39778e153a3214fb54d7c88295289a5128cd248f
[ "0BSD" ]
3
2021-09-04T20:36:23.000Z
2022-01-20T14:16:43.000Z
src/core/platform/Process.cpp
TheJelmega/engine
39778e153a3214fb54d7c88295289a5128cd248f
[ "0BSD" ]
1
2021-11-02T23:26:26.000Z
2021-11-02T23:26:26.000Z
src/core/platform/Process.cpp
TheJelmega/engine
39778e153a3214fb54d7c88295289a5128cd248f
[ "0BSD" ]
null
null
null
#include "Process.h" namespace Core { auto Process::GetPath() const noexcept -> const FileSystem::Path& { return m_path; } auto Process::GetCmdLine() const noexcept -> const String& { return m_cmdLine; } auto Process::GetEnvironment() const noexcept -> const String& { return m_environme...
18.88
77
0.684322
TheJelmega
18797a8a106c2dafd1386df0110f53de65436f6c
1,991
cc
C++
src/itensor/util/args.h.cc
kyungminlee/PiTensor
f206fe5a384b52336e9f406c11dc492ff129791b
[ "MIT" ]
10
2019-01-25T03:21:49.000Z
2020-01-19T04:42:32.000Z
src/itensor/util/args.h.cc
kyungminlee/PiTensor
f206fe5a384b52336e9f406c11dc492ff129791b
[ "MIT" ]
null
null
null
src/itensor/util/args.h.cc
kyungminlee/PiTensor
f206fe5a384b52336e9f406c11dc492ff129791b
[ "MIT" ]
2
2018-04-10T05:11:30.000Z
2018-09-14T08:16:07.000Z
#include "../../pitensor.h" #include "itensor/util/args.h" #include <pybind11/embed.h> namespace py = pybind11; using namespace itensor; // TODO: Implement python version altogether? static inline auto initArgs(pybind11::module& module) { py::class_<Args> type(module, "Args"); using namespace pybind11::literals;...
32.112903
101
0.500753
kyungminlee
1880424f60d56103a862c1621422485c864059af
12,962
cpp
C++
sta-src/Loitering/loiteringTLE.cpp
hoehnp/SpaceDesignTool
9abd34048274b2ce9dbbb685124177b02d6a34ca
[ "IJG" ]
6
2018-09-05T12:41:59.000Z
2021-07-01T05:34:23.000Z
sta-src/Loitering/loiteringTLE.cpp
hoehnp/SpaceDesignTool
9abd34048274b2ce9dbbb685124177b02d6a34ca
[ "IJG" ]
2
2015-02-07T19:09:21.000Z
2015-08-14T03:15:42.000Z
sta-src/Loitering/loiteringTLE.cpp
hoehnp/SpaceDesignTool
9abd34048274b2ce9dbbb685124177b02d6a34ca
[ "IJG" ]
2
2015-03-25T15:50:31.000Z
2017-12-06T12:16:47.000Z
/* This program is free software; you can redistribute it and/or modify it under the terms of the European Union Public Licence - EUPL v.1.1 as published by the European Commission. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCH...
27.935345
145
0.704212
hoehnp
1881eee331797c9274dd9381422225cbcb31e705
1,913
hpp
C++
lib/dmitigr/net/client.hpp
dmitigr/pgfe
c5dd21c0f4949cf6ea2e71368e3c6025c3daf69a
[ "Zlib" ]
121
2018-05-23T19:51:00.000Z
2022-03-12T13:05:34.000Z
lib/dmitigr/net/client.hpp
dmitigr/pgfe
c5dd21c0f4949cf6ea2e71368e3c6025c3daf69a
[ "Zlib" ]
36
2019-11-11T03:25:10.000Z
2022-03-28T21:54:07.000Z
lib/dmitigr/net/client.hpp
dmitigr/pgfe
c5dd21c0f4949cf6ea2e71368e3c6025c3daf69a
[ "Zlib" ]
17
2018-05-24T04:01:28.000Z
2022-01-16T13:22:26.000Z
// -*- C++ -*- // Copyright (C) Dmitry Igrishin // For conditions of distribution and use, see files LICENSE.txt or net.hpp #ifndef DMITIGR_NET_CLIENT_HPP #define DMITIGR_NET_CLIENT_HPP #include "dmitigr/net/descriptor.hpp" #include "dmitigr/net/endpoint.hpp" #include "dmitigr/net/socket.hpp" #include <cassert> #inc...
22.77381
118
0.70413
dmitigr
18832373562193ffa9ddb902e43c611ce75a84dc
6,186
cpp
C++
packages/Adapters/C_API/src/DTK_POD_PointCloudEntityImpl.cpp
chiao45/DataTransferKit
51923eb08ccd4c12c5a5ea5f136f5ccbbbeb6243
[ "BSD-3-Clause" ]
1
2020-07-26T03:50:31.000Z
2020-07-26T03:50:31.000Z
packages/Adapters/C_API/src/DTK_POD_PointCloudEntityImpl.cpp
chiao45/DataTransferKit
51923eb08ccd4c12c5a5ea5f136f5ccbbbeb6243
[ "BSD-3-Clause" ]
null
null
null
packages/Adapters/C_API/src/DTK_POD_PointCloudEntityImpl.cpp
chiao45/DataTransferKit
51923eb08ccd4c12c5a5ea5f136f5ccbbbeb6243
[ "BSD-3-Clause" ]
1
2018-07-09T18:39:38.000Z
2018-07-09T18:39:38.000Z
//---------------------------------------------------------------------------// /* Copyright (c) 2012, Stuart R. Slattery All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: *: Redistributions o...
37.26506
79
0.54882
chiao45
1884a96f39c161d0349b994cbd34a098c2a047f4
21,721
cpp
C++
cvrin.cpp
AlexeyAkhunov/espresso
5c7a57ad6fde2fb3af46171ca1a5c78d250716e9
[ "MIT" ]
null
null
null
cvrin.cpp
AlexeyAkhunov/espresso
5c7a57ad6fde2fb3af46171ca1a5c78d250716e9
[ "MIT" ]
null
null
null
cvrin.cpp
AlexeyAkhunov/espresso
5c7a57ad6fde2fb3af46171ca1a5c78d250716e9
[ "MIT" ]
null
null
null
/* module: cvrin.c purpose: cube and cover input routines */ #include <iostream> #include <cmath> #include "espresso.h" static bool line_length_error; static int lineno; void skip_line(std::istream& fpin, std::ostream& fpout, bool echo) { int ch; while ((ch=fpin.get()) != EOF && ch != '\n') if (echo...
27.494937
157
0.560471
AlexeyAkhunov
188c09ac36619ddff05d88bd1808e911fc078ed1
7,356
cpp
C++
Plugins/org.mitk.gui.qt.radiomics/src/internal/QmitkRadiomicsMaskProcessingView.cpp
zhaomengxiao/MITK
a09fd849a4328276806008bfa92487f83a9e2437
[ "BSD-3-Clause" ]
1
2022-03-03T12:03:32.000Z
2022-03-03T12:03:32.000Z
Plugins/org.mitk.gui.qt.radiomics/src/internal/QmitkRadiomicsMaskProcessingView.cpp
zhaomengxiao/MITK
a09fd849a4328276806008bfa92487f83a9e2437
[ "BSD-3-Clause" ]
1
2021-12-22T10:19:02.000Z
2021-12-22T10:19:02.000Z
Plugins/org.mitk.gui.qt.radiomics/src/internal/QmitkRadiomicsMaskProcessingView.cpp
zhaomengxiao/MITK_lancet
a09fd849a4328276806008bfa92487f83a9e2437
[ "BSD-3-Clause" ]
1
2020-11-27T09:41:18.000Z
2020-11-27T09:41:18.000Z
/*============================================================================ The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center (DKFZ) All rights reserved. Use of this source code is governed by a 3-clause BSD license that can be found in the LICENSE file. =================...
36.415842
157
0.73192
zhaomengxiao
188c682e13e2b48640c0e8ed6c3b41088570741e
985
cpp
C++
src/crypto/RsaKey.cpp
toolbrew/libtoolchain
fd98be60d1c5ca62871c16c88b8e59be05d7f0ac
[ "MIT" ]
4
2019-01-30T21:04:33.000Z
2022-03-20T04:24:34.000Z
src/crypto/RsaKey.cpp
toolbrew/libtoolchain
fd98be60d1c5ca62871c16c88b8e59be05d7f0ac
[ "MIT" ]
2
2021-11-18T09:07:53.000Z
2021-11-19T13:25:20.000Z
src/crypto/RsaKey.cpp
toolbrew/libtoolchain
fd98be60d1c5ca62871c16c88b8e59be05d7f0ac
[ "MIT" ]
1
2021-11-18T09:11:04.000Z
2021-11-18T09:11:04.000Z
#include <tc/crypto/RsaKey.h> tc::crypto::RsaPublicKey::RsaPublicKey(const byte_t* modulus, size_t modulus_size) { static const byte_t kPublicExponent[3] = { 0x01, 0x00, 0x01 }; if (modulus != nullptr && modulus_size != 0) { this->n = tc::ByteData(modulus, modulus_size); this->e = tc::ByteData(kPublicExponent,...
33.965517
146
0.722843
toolbrew
188f7f8ac0582f03242f27ce5a33f429eb32532a
9,520
hpp
C++
src/core/math_func.hpp
trademarks/OpenTTD
fd7fca73cf61a2960e8df8fa221b179d23ae3ef0
[ "Unlicense" ]
8
2016-10-21T09:01:43.000Z
2021-05-31T06:32:14.000Z
src/core/math_func.hpp
blackberry/OpenTTD
fd7fca73cf61a2960e8df8fa221b179d23ae3ef0
[ "Unlicense" ]
null
null
null
src/core/math_func.hpp
blackberry/OpenTTD
fd7fca73cf61a2960e8df8fa221b179d23ae3ef0
[ "Unlicense" ]
4
2017-05-16T00:15:58.000Z
2020-08-06T01:46:31.000Z
/* $Id$ */ /* * This file is part of OpenTTD. * OpenTTD 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, version 2. * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without...
27.2
185
0.689496
trademarks
188fd34689a01e00169a8c77c4b3d3f2ddb114d1
8,771
cpp
C++
EScript/Utils/StringUtils.cpp
antifermion/EScript
eca6765c28e319eb77b4da81125bdbb2510c9add
[ "MIT" ]
3
2017-06-01T15:58:43.000Z
2019-08-07T05:36:44.000Z
EScript/Utils/StringUtils.cpp
antifermion/EScript
eca6765c28e319eb77b4da81125bdbb2510c9add
[ "MIT" ]
4
2015-01-23T18:17:50.000Z
2019-02-10T11:48:55.000Z
EScript/Utils/StringUtils.cpp
antifermion/EScript
eca6765c28e319eb77b4da81125bdbb2510c9add
[ "MIT" ]
12
2015-01-04T16:07:45.000Z
2020-10-06T15:42:46.000Z
// StringUtils.cpp // This file is part of the EScript programming language (https://github.com/EScript) // // Copyright (C) 2011-2013 Claudius Jähn <ClaudiusJ@live.de> // Copyright (C) 2011-2012 Benjamin Eikel <benjamin@eikel.org> // // Licensed under the MIT License. See LICENSE file for details. // -----------------...
27.070988
140
0.598221
antifermion
1895814a43f7931419ca6f3e711413691498f88c
5,883
cpp
C++
IntegrationPlatform/Adapters/Subversion/Interop.Subversion/SubversionClient.cpp
adamdriscoll/TfsIntegrationPlatform
28e0f51e804423bbde61083422711113662f2710
[ "MIT" ]
6
2016-09-06T19:41:51.000Z
2021-06-08T19:50:15.000Z
IntegrationPlatform/Adapters/Subversion/Interop.Subversion/SubversionClient.cpp
adamdriscoll/TfsIntegrationPlatform
28e0f51e804423bbde61083422711113662f2710
[ "MIT" ]
null
null
null
IntegrationPlatform/Adapters/Subversion/Interop.Subversion/SubversionClient.cpp
adamdriscoll/TfsIntegrationPlatform
28e0f51e804423bbde61083422711113662f2710
[ "MIT" ]
6
2016-05-24T13:57:54.000Z
2020-01-27T12:11:57.000Z
#include "stdafx.h" #include "AprPool.h" #include "LibraryLoader.h" #include "SvnError.h" #include "SubversionClient.h" #include "SubversionContext.h" #include "Utils.h" #include "ChangeSet.h" #include "Item.h" #include "DiffSummaryCommand.h" #include "DownloadCommand.h" #include "ItemInfoCommand.h" #include "LatestR...
23.438247
117
0.767126
adamdriscoll
189ab1746731ed04a998dfa4cd3d82c3d019fbc2
3,420
cpp
C++
tests/math/TestDegMinSec.cpp
marek-cel/libmcutils
671a20f37378d32ade4decefdbfba70448d12504
[ "MIT" ]
null
null
null
tests/math/TestDegMinSec.cpp
marek-cel/libmcutils
671a20f37378d32ade4decefdbfba70448d12504
[ "MIT" ]
null
null
null
tests/math/TestDegMinSec.cpp
marek-cel/libmcutils
671a20f37378d32ade4decefdbfba70448d12504
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include <mcutils/math/DegMinSec.h> #include <mcutils/misc/Units.h> //////////////////////////////////////////////////////////////////////////////// class TestDegMinSec : public ::testing::Test { protected: TestDegMinSec() {} virtual ~TestDegMinSec() {} void SetUp() override {} ...
25.333333
80
0.442105
marek-cel
189dd762c3f93eed453312720521f283395b5022
3,367
cpp
C++
base64.cpp
MichaelWallace30/fileTransfer
d2950a7f24d82ee03ce42fa77fe173614bd21239
[ "MIT" ]
null
null
null
base64.cpp
MichaelWallace30/fileTransfer
d2950a7f24d82ee03ce42fa77fe173614bd21239
[ "MIT" ]
null
null
null
base64.cpp
MichaelWallace30/fileTransfer
d2950a7f24d82ee03ce42fa77fe173614bd21239
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; /* encode: 6bit to 8bit decode: 8bit to 6bit needs padding if: convert 3 bytes of 8 bit data into 4 chunks of 6 bits each don't add new value of 0 to buffer use = sign value char 0 A 16 Q 32 g 48 w 1 B 17 R 33 h 49 x 2 C 18 S 34 i 50 y 3 D 19 T 35 j 51 z 4 E 20 U 36 k 52 0 5 F ...
27.373984
189
0.608851
MichaelWallace30
18a0c0bf52b589eba12fa14176cd6b60ca0b54a9
165
cpp
C++
test/llvm_test_code/inst_interaction/call_03.cpp
janniclas/phasar
324302ae96795e6f0a065c14d4f7756b1addc2a4
[ "MIT" ]
1
2022-02-15T07:56:29.000Z
2022-02-15T07:56:29.000Z
test/llvm_test_code/inst_interaction/call_03.cpp
fabianbs96/phasar
5b8acd046d8676f72ce0eb85ca20fdb0724de444
[ "MIT" ]
null
null
null
test/llvm_test_code/inst_interaction/call_03.cpp
fabianbs96/phasar
5b8acd046d8676f72ce0eb85ca20fdb0724de444
[ "MIT" ]
null
null
null
unsigned factorial(unsigned n) { if (n <= 1) { return 1; } return n * factorial(n - 1); } int main() { int i = 7; int j = factorial(i); return j; }
12.692308
32
0.533333
janniclas
18a3f669a79f7fb1497e93cd6e1c65e4aabc2da0
3,600
cpp
C++
include/ibeosdk/database/datamodel/BsonT_Processing.cpp
chouer19/enjoyDriving
e4a29e6cad7d3b0061d59f584cce7cdea2a55351
[ "MIT" ]
1
2020-07-04T15:23:05.000Z
2020-07-04T15:23:05.000Z
include/ibeosdk/database/datamodel/BsonT_Processing.cpp
chouer19/enjoyDriving
e4a29e6cad7d3b0061d59f584cce7cdea2a55351
[ "MIT" ]
null
null
null
include/ibeosdk/database/datamodel/BsonT_Processing.cpp
chouer19/enjoyDriving
e4a29e6cad7d3b0061d59f584cce7cdea2a55351
[ "MIT" ]
null
null
null
//====================================================================== /*! \file BsonT_Processing.cpp * * \copydoc Copyright * \author Kristian Bischoff (kb) * \date Feb 8, 2016 *///------------------------------------------------------------------- //=============================================================...
39.130435
92
0.525
chouer19
18a508afc7992496e3e529e792d1d966a2e88bf8
443
cpp
C++
UVa/10394 - Twin Primes.cpp
geniustanley/problem-solving
2b83c5c8197fa8fe2277367027b392a2911d4a28
[ "Apache-2.0" ]
1
2018-11-21T07:36:16.000Z
2018-11-21T07:36:16.000Z
UVa/10394 - Twin Primes.cpp
geniustanley/problem-solving
2b83c5c8197fa8fe2277367027b392a2911d4a28
[ "Apache-2.0" ]
null
null
null
UVa/10394 - Twin Primes.cpp
geniustanley/problem-solving
2b83c5c8197fa8fe2277367027b392a2911d4a28
[ "Apache-2.0" ]
null
null
null
#include <stdio.h> int prime[20000005] = {1, 1, 0}; int answer[100005] = {0}; int main(void) { int cnt = 1; long long i, j; for(i = 3; i < 20000000 && cnt <= 100000; i += 2) { if(!prime[i]) { for(j = i * i; j < 20000000; j+=i) prime[j] = 1; if(!prime[i] && !prime[i-2]) answer[cnt++] = i-2...
20.136364
53
0.471783
geniustanley
18a7a3e7ab2055ea602c5b62e535d56ce665e2bd
2,004
hpp
C++
irohad/ametsuchi/index/index.hpp
tkyonezu/iroha-hakodate
4545c22bfb0db10d441182540d3caa7fd8375c48
[ "Apache-2.0" ]
null
null
null
irohad/ametsuchi/index/index.hpp
tkyonezu/iroha-hakodate
4545c22bfb0db10d441182540d3caa7fd8375c48
[ "Apache-2.0" ]
null
null
null
irohad/ametsuchi/index/index.hpp
tkyonezu/iroha-hakodate
4545c22bfb0db10d441182540d3caa7fd8375c48
[ "Apache-2.0" ]
null
null
null
/** * Copyright Soramitsu Co., Ltd. 2017 All Rights Reserved. * http://soramitsu.co.jp * * 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/LICENS...
34.551724
76
0.6502
tkyonezu
18abbff99ad0364b6fc3227ddbbbb323f47a9965
637
cpp
C++
LongestSubstring/LongestSubstring_2.cpp
yergen/leetcode
7b6dac49ac44e0bf43a4ecb4795ea8cfe6afa4ab
[ "MIT" ]
null
null
null
LongestSubstring/LongestSubstring_2.cpp
yergen/leetcode
7b6dac49ac44e0bf43a4ecb4795ea8cfe6afa4ab
[ "MIT" ]
null
null
null
LongestSubstring/LongestSubstring_2.cpp
yergen/leetcode
7b6dac49ac44e0bf43a4ecb4795ea8cfe6afa4ab
[ "MIT" ]
null
null
null
#include<string> #include<unordered_set> #include<algorithm> #include<iostream> using namespace std; class Solution { public: int lengthOfLongestSubstring(string s) { int n = s.size(); unordered_set<char> set; int length = 0,temp = 0; for (int i = 0; i < n; ++i) for (int j = temp; j < n; ++j) { if (se...
15.536585
54
0.590267
yergen
18ac184b8cb8bf0a521f736b9de9e4be069708c5
563
cpp
C++
src/coherence/lang/ClassNotFoundException.cpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
6
2020-07-01T21:38:30.000Z
2021-11-03T01:35:11.000Z
src/coherence/lang/ClassNotFoundException.cpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
1
2020-07-24T17:29:22.000Z
2020-07-24T18:29:04.000Z
src/coherence/lang/ClassNotFoundException.cpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
6
2020-07-10T18:40:58.000Z
2022-02-18T01:23:40.000Z
/* * Copyright (c) 2000, 2020, Oracle and/or its affiliates. * * Licensed under the Universal Permissive License v 1.0 as shown at * http://oss.oracle.com/licenses/upl. */ #include "coherence/lang/ClassNotFoundException.hpp" #include <sstream> COH_OPEN_NAMESPACE2(coherence,lang) // ----- constructors ----------...
26.809524
91
0.653641
chpatel3
18b41a401f9746f8705d127528ceec05563fa286
1,337
hpp
C++
include/ear/warnings.hpp
rsjtaylor/libear
40a4000296190c3f91eba79e5b92141e368bd72a
[ "Apache-2.0" ]
14
2019-07-30T17:58:00.000Z
2022-02-15T15:33:36.000Z
include/ear/warnings.hpp
rsjtaylor/libear
40a4000296190c3f91eba79e5b92141e368bd72a
[ "Apache-2.0" ]
27
2019-07-30T18:01:58.000Z
2021-12-14T10:24:52.000Z
include/ear/warnings.hpp
rsjtaylor/libear
40a4000296190c3f91eba79e5b92141e368bd72a
[ "Apache-2.0" ]
5
2019-07-30T15:12:02.000Z
2020-09-14T16:22:43.000Z
#pragma once #include <functional> #include <string> #include "export.hpp" namespace ear { /// A warning message, containing a code and a corresponding message. The code /// does not need to be shown when displaying warnings; the message should /// contain all the information required, the code is just to allow ...
34.282051
80
0.715782
rsjtaylor
18b5fe778684da01ff1fbc9f616ea01d7b890b2d
15,233
hpp
C++
include/vif/core/bits/vectorize.hpp
lmorabit/vif
459715c60e0ef6c83c7ebfb8741355d597dbc7aa
[ "Apache-2.0" ]
6
2018-09-04T10:57:00.000Z
2021-10-05T07:41:50.000Z
include/vif/core/bits/vectorize.hpp
lmorabit/vif
459715c60e0ef6c83c7ebfb8741355d597dbc7aa
[ "Apache-2.0" ]
2
2019-05-22T02:59:46.000Z
2019-12-02T19:15:43.000Z
include/vif/core/bits/vectorize.hpp
lmorabit/vif
459715c60e0ef6c83c7ebfb8741355d597dbc7aa
[ "Apache-2.0" ]
3
2019-05-01T10:20:47.000Z
2021-09-20T16:35:34.000Z
#ifndef VIF_INCLUDING_CORE_VEC_BITS #error this file is not meant to be included separately, include "vif/core/vec.hpp" instead #endif namespace vif { //////////////////////////////////////////// // Vectorization helpers // //////////////////////////////////////////// #define VIF_VECT...
45.607784
122
0.495044
lmorabit
18bc0819b939ceaab3a7cf55215971d56aee9f96
1,299
cpp
C++
154.cpp
felikjunvianto/kfile-uvaoj-submissions
5bd8b3b413ca8523abe412b0a0545f766f70ce63
[ "MIT" ]
null
null
null
154.cpp
felikjunvianto/kfile-uvaoj-submissions
5bd8b3b413ca8523abe412b0a0545f766f70ce63
[ "MIT" ]
null
null
null
154.cpp
felikjunvianto/kfile-uvaoj-submissions
5bd8b3b413ca8523abe412b0a0545f766f70ce63
[ "MIT" ]
null
null
null
#include <cstdio> #include <cmath> #include <iostream> #include <string> #include <cstring> #include <algorithm> #include <vector> #include <utility> #include <stack> #include <queue> #define fi first #define se second #define pb push_back #define mp make_pair #define pi 2*acos(0.0) #define eps 1e-9 #...
19.102941
63
0.553503
felikjunvianto
18c52ebff1afd6ce6e3c5d65fe9e42a50051e9fe
738
cxx
C++
POSN Camp2/ban_word-113028.cxx
ParamaaS/ParamaaS-Cpp-code-
a6c78151defe38d1460cde2b005a67be5a1d092d
[ "MIT" ]
null
null
null
POSN Camp2/ban_word-113028.cxx
ParamaaS/ParamaaS-Cpp-code-
a6c78151defe38d1460cde2b005a67be5a1d092d
[ "MIT" ]
null
null
null
POSN Camp2/ban_word-113028.cxx
ParamaaS/ParamaaS-Cpp-code-
a6c78151defe38d1460cde2b005a67be5a1d092d
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; #define X first #define Y second #define pb push_back #define mp make_pair long long n; long long ar[60][10]; long long dp(long long idx,long long ch) { if(ar[idx][ch]!=-1) return ar[idx][ch]; if(idx==1) return ar[idx][ch]=1; if(ch!=1)///...
19.945946
64
0.47561
ParamaaS
18c6f5b0ca802e3a3cff23d58e9e22b53e304993
1,609
cpp
C++
cpp/851. Loud and Rich.cpp
longwangjhu/LeetCode
a5c33e8d67e67aedcd439953d96ac7f443e2817b
[ "MIT" ]
3
2021-08-07T07:01:34.000Z
2021-08-07T07:03:02.000Z
cpp/851. Loud and Rich.cpp
longwangjhu/LeetCode
a5c33e8d67e67aedcd439953d96ac7f443e2817b
[ "MIT" ]
null
null
null
cpp/851. Loud and Rich.cpp
longwangjhu/LeetCode
a5c33e8d67e67aedcd439953d96ac7f443e2817b
[ "MIT" ]
null
null
null
// https://leetcode.com/problems/loud-and-rich/ // In a group of N people (labelled 0, 1, 2, ..., N-1), each person has different // amounts of money, and different levels of quietness. // For convenience, we'll call the person with label x, simply "person x". // We'll say that richer[i] = [x, y] if person x definit...
37.418605
83
0.585457
longwangjhu
18c7f597236d07a90fb6e7e71d1fe22ccd75fb25
1,916
hpp
C++
src/types.hpp
PranayAnchuri/approx-graph-mining-with-label-costs
4bb1d78b52175add3955de47281c3ee0073c7943
[ "MIT" ]
null
null
null
src/types.hpp
PranayAnchuri/approx-graph-mining-with-label-costs
4bb1d78b52175add3955de47281c3ee0073c7943
[ "MIT" ]
null
null
null
src/types.hpp
PranayAnchuri/approx-graph-mining-with-label-costs
4bb1d78b52175add3955de47281c3ee0073c7943
[ "MIT" ]
1
2020-05-08T11:17:33.000Z
2020-05-08T11:17:33.000Z
#pragma once #include <string> #include <vector> #include <map> #include <set> #include <unordered_set> #include <unordered_map> namespace types { typedef int integer_t; typedef integer_t int_t; typedef unsigned int unsigned_integer_t; typedef unsigned_integer_t uint_t; typedef uint_t symbol_t; typedef ...
31.409836
102
0.756785
PranayAnchuri
18cc94708e24ffa0a3ae9e1c38744ed4c06cea31
4,198
hpp
C++
include/atma/shared_memory.hpp
omnigoat/atma
73833f41373fac2af695587786c00a307046de64
[ "MIT" ]
7
2016-04-08T03:53:42.000Z
2020-07-06T05:52:35.000Z
include/atma/shared_memory.hpp
omnigoat/atma
73833f41373fac2af695587786c00a307046de64
[ "MIT" ]
1
2018-04-14T13:56:06.000Z
2018-04-14T13:56:06.000Z
include/atma/shared_memory.hpp
omnigoat/atma
73833f41373fac2af695587786c00a307046de64
[ "MIT" ]
null
null
null
#pragma once #include <atma/platform/allocation.hpp> import atma.types; namespace atma { namespace detail { constexpr size_t header_size = sizeof(size_t) + sizeof(std::atomic_uint32_t) + 4u; constexpr inline size_t allocation_size(size_t alignment, size_t size) { return header_size + (heade...
24.694118
105
0.670796
omnigoat
18ce0bb394738ee31bcb67b641dd069384026962
1,662
cpp
C++
Source/OverlordProject/Components/Other/ColorFlickerComponent.cpp
TomvanWaas/OvercookedImitation
895b98ff23b026bafc24267c8707d68870a2ac58
[ "MIT" ]
null
null
null
Source/OverlordProject/Components/Other/ColorFlickerComponent.cpp
TomvanWaas/OvercookedImitation
895b98ff23b026bafc24267c8707d68870a2ac58
[ "MIT" ]
null
null
null
Source/OverlordProject/Components/Other/ColorFlickerComponent.cpp
TomvanWaas/OvercookedImitation
895b98ff23b026bafc24267c8707d68870a2ac58
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "ColorFlickerComponent.h" #include "GameObject.h" #include "SpriteComponent.h" #include "GameScene.h" #include "Destroyer.h" ColorFlickerComponent::ColorFlickerComponent(const DirectX::XMFLOAT4& colorA, const DirectX::XMFLOAT4& colorB, float speed, std::vector<SpriteComponent*> pS...
22.767123
124
0.633574
TomvanWaas
18cffc0b71b7cebce9c043dc76d90fa6f86755c4
1,669
hpp
C++
rm_task/include/rm_task/task_image_proc.hpp
Hqz971016/rmoss_core
e9e37096ceb883945a838774e20ef58f2de0b10b
[ "MIT" ]
1
2020-12-06T13:12:31.000Z
2020-12-06T13:12:31.000Z
rm_task/include/rm_task/task_image_proc.hpp
Hqz971016/rmoss_core
e9e37096ceb883945a838774e20ef58f2de0b10b
[ "MIT" ]
null
null
null
rm_task/include/rm_task/task_image_proc.hpp
Hqz971016/rmoss_core
e9e37096ceb883945a838774e20ef58f2de0b10b
[ "MIT" ]
null
null
null
/******************************************************************************* * Copyright (c) 2020 robomaster-oss, All rights reserved. * * This program is free software: you can redistribute it and/or modify it * under the terms of the MIT License, See the MIT License for more details. * * You should hav...
29.280702
80
0.603355
Hqz971016
18d9603349604dad388e3eb31dde6bb4f83c195a
2,285
cpp
C++
project-euler/src/pe34.cpp
ammarhusain/challenges
efdb907833d04e9e37fc800d1b2b32507cfcd2e4
[ "MIT" ]
null
null
null
project-euler/src/pe34.cpp
ammarhusain/challenges
efdb907833d04e9e37fc800d1b2b32507cfcd2e4
[ "MIT" ]
null
null
null
project-euler/src/pe34.cpp
ammarhusain/challenges
efdb907833d04e9e37fc800d1b2b32507cfcd2e4
[ "MIT" ]
null
null
null
/** ---------------------------------------------------------------------- * Copyright 2014 < Ammar Husain (Carnegie Mellon University) > * * @file pe1.cpp * @author Ammar Husain <ahusain@nrec.ri.cmu.edu> * @date Thu Jul 31 17:18:28 2014 * * @brief Boiler Plate * * ---------------------------------...
21.971154
78
0.476586
ammarhusain
18ddb8a5ebb3a4f000f095759205d7866f95384b
8,193
cc
C++
xt_base/www/www/keyform.cc
wrcad/xictools
f46ba6d42801426739cc8b2940a809b74f1641e2
[ "Apache-2.0" ]
73
2017-10-26T12:40:24.000Z
2022-03-02T16:59:43.000Z
xt_base/www/www/keyform.cc
chris-ayala/xictools
4ea72c118679caed700dab3d49a8d36445acaec3
[ "Apache-2.0" ]
12
2017-11-01T10:18:22.000Z
2022-03-20T19:35:36.000Z
xt_base/www/www/keyform.cc
chris-ayala/xictools
4ea72c118679caed700dab3d49a8d36445acaec3
[ "Apache-2.0" ]
34
2017-10-06T17:04:21.000Z
2022-02-18T16:22:03.000Z
/*========================================================================* * * * Copyright (c) 2016 Whiteley Research Inc, all rights reserved. * * * * WHITELEY RE...
31.511538
93
0.415965
wrcad
18e03d1d708bdb656177db3811bb6d1089d1e45b
10,018
cpp
C++
ZooidEngine/SceneRenderer/RenderPass/DepthRenderPass.cpp
azon04/Z0-Engine
1a44781fb5308c11c3b63b954ad683a51e9ba271
[ "MIT" ]
4
2019-05-31T22:55:49.000Z
2020-11-26T11:55:34.000Z
ZooidEngine/SceneRenderer/RenderPass/DepthRenderPass.cpp
azon04/Z0-Engine
1a44781fb5308c11c3b63b954ad683a51e9ba271
[ "MIT" ]
null
null
null
ZooidEngine/SceneRenderer/RenderPass/DepthRenderPass.cpp
azon04/Z0-Engine
1a44781fb5308c11c3b63b954ad683a51e9ba271
[ "MIT" ]
1
2018-04-11T02:50:47.000Z
2018-04-11T02:50:47.000Z
#include "DepthRenderPass.h" #include "ResourceManagers/ShaderManager.h" #include "ResourceManagers/BufferManager.h" #include "Resources/Texture.h" #include "Renderer/IRenderer.h" #include "Renderer/RenderZooid.h" #include "Renderer/IGPURenderBuffer.h" #include "Renderer/IGPUFrameBuffer.h" #include "Renderer/IGPUTextu...
34.191126
188
0.759034
azon04
18f0ea5527cb789b6c4aa7af6bffee73d562164a
16,636
cpp
C++
linear_solvers/Solver.cpp
acse-qq219/Linear_Solvers_app
faf5c2272a542a21a3da0c4689adc7eaad30b8e5
[ "MIT" ]
null
null
null
linear_solvers/Solver.cpp
acse-qq219/Linear_Solvers_app
faf5c2272a542a21a3da0c4689adc7eaad30b8e5
[ "MIT" ]
null
null
null
linear_solvers/Solver.cpp
acse-qq219/Linear_Solvers_app
faf5c2272a542a21a3da0c4689adc7eaad30b8e5
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <vector> #include "Solver.h" #define COUNT_TIME_MAX 10001 using namespace std; template <class T> Solver<T>::Solver() {} template <class T> Solver<T>::~Solver() {} template <class T> bool Solver<T>::solverJacobi(int iterations, double allowed_convergence, T init_guess...
25.476263
154
0.594975
acse-qq219
18f7d8b99ab0329b98f5b67678bf3508ce0fae11
2,153
cpp
C++
DawnBreakers/Source/Basic/Private/TestAttrModifyActor.cpp
954818696/FPSGame
bc82ceb1b56460a8e0e0c0e9a0da20fb5898e158
[ "MIT" ]
1
2017-01-21T14:08:06.000Z
2017-01-21T14:08:06.000Z
DawnBreakers/Source/Basic/Private/TestAttrModifyActor.cpp
954818696/FPSGame
bc82ceb1b56460a8e0e0c0e9a0da20fb5898e158
[ "MIT" ]
null
null
null
DawnBreakers/Source/Basic/Private/TestAttrModifyActor.cpp
954818696/FPSGame
bc82ceb1b56460a8e0e0c0e9a0da20fb5898e158
[ "MIT" ]
2
2017-11-14T10:36:01.000Z
2020-07-13T08:52:08.000Z
// Fill out your copyright notice in the Description page of Project Settings. #include "TestAttrModifyActor.h" //#if WITH_DEV_AUTOMATION_TESTS // Sets default values ATestAttrModifyActor::ATestAttrModifyActor() { // Set this actor to call Tick() every frame. You can turn this off to improve performance if you d...
24.465909
115
0.775662
954818696
18fd5e51b9ace076e762342b477cefb7d7ac7c90
773
hpp
C++
src/data/Contour.hpp
haruneko/uzume_vocoder
63343118fd8d0dd8b7ebb92d98f023bfa6b9855e
[ "MIT" ]
1
2020-04-28T06:29:25.000Z
2020-04-28T06:29:25.000Z
src/data/Contour.hpp
haruneko/uzume
63343118fd8d0dd8b7ebb92d98f023bfa6b9855e
[ "MIT" ]
null
null
null
src/data/Contour.hpp
haruneko/uzume
63343118fd8d0dd8b7ebb92d98f023bfa6b9855e
[ "MIT" ]
null
null
null
// Copyright 2020 Hal@shurabaP. All rights reserved. // Use of this source code is governed by a MIT style // license that can be found in the LICENSE file. #ifndef UZUME_VOCODER_CONTOUR_HPP #define UZUME_VOCODER_CONTOUR_HPP namespace uzume { namespace vocoder { /** * Contour represents array values in time axis. ...
20.891892
53
0.673997
haruneko
bb4402880342b48323057c0d00c0b5329f3a1af3
605
cpp
C++
tests/BinaryTreeRightSideViewTest.cpp
yanzhe-chen/LeetCode
d82f0b9721ea613ab216c78e7286671d0e9e4187
[ "MIT" ]
43
2015-10-10T12:59:52.000Z
2018-07-11T18:07:00.000Z
tests/BinaryTreeRightSideViewTest.cpp
yanzhe-chen/LeetCode
d82f0b9721ea613ab216c78e7286671d0e9e4187
[ "MIT" ]
null
null
null
tests/BinaryTreeRightSideViewTest.cpp
yanzhe-chen/LeetCode
d82f0b9721ea613ab216c78e7286671d0e9e4187
[ "MIT" ]
11
2015-10-10T14:41:11.000Z
2018-07-28T06:03:16.000Z
#include "catch.hpp" #include "BinaryTreeRightSideView.hpp" TEST_CASE("Binary Tree Right Side View") { BinaryTreeRightSideView s; TreeNode *root = nullptr; SECTION("Sample test") { TreeNode *_5 = new TreeNode(5); TreeNode *_4 = new TreeNode(4); TreeNode *_2 = new TreeNode(2, nullpt...
28.809524
52
0.603306
yanzhe-chen
bb4455886d8dbff0625ae111afb488763a801462
2,012
cpp
C++
TouchGFX/generated/fonts/src/Table_trebucbd_80_4bpp.cpp
timagr615/ILI9488_touchGFX
5d3695f09a440edefe3d0ddf727e08c7fd5e5bd2
[ "MIT" ]
null
null
null
TouchGFX/generated/fonts/src/Table_trebucbd_80_4bpp.cpp
timagr615/ILI9488_touchGFX
5d3695f09a440edefe3d0ddf727e08c7fd5e5bd2
[ "MIT" ]
null
null
null
TouchGFX/generated/fonts/src/Table_trebucbd_80_4bpp.cpp
timagr615/ILI9488_touchGFX
5d3695f09a440edefe3d0ddf727e08c7fd5e5bd2
[ "MIT" ]
null
null
null
// Autogenerated, do not edit #include <fonts/GeneratedFont.hpp> FONT_TABLE_LOCATION_FLASH_PRAGMA KEEP extern const touchgfx::GlyphNode glyphs_trebucbd_80_4bpp[] FONT_TABLE_LOCATION_FLASH_ATTRIBUTE = { { 0, 0x0020, 0, 0, 0, 0, 24, 0, 1, 0x00 }, { 0, 0x003F, 29, 60, 59, 4, 35, 0, ...
49.073171
167
0.644135
timagr615
bb454db385d80d86cacdcbb9cae15acb8695970e
5,907
hpp
C++
src/module/sps_module.hpp
byrcoder/sps
20c910f6f3a2784f7bbab316d8a4049076650286
[ "MIT" ]
8
2021-06-13T18:15:27.000Z
2022-02-05T07:39:58.000Z
src/module/sps_module.hpp
byrcoder/sps
20c910f6f3a2784f7bbab316d8a4049076650286
[ "MIT" ]
4
2021-06-12T20:06:44.000Z
2022-02-05T08:22:08.000Z
src/module/sps_module.hpp
byrcoder/sps
20c910f6f3a2784f7bbab316d8a4049076650286
[ "MIT" ]
1
2022-02-21T00:58:31.000Z
2022-02-21T00:58:31.000Z
/***************************************************************************** MIT License Copyright (c) 2021 byrcoder 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, includin...
32.103261
96
0.555104
byrcoder
bb4925305a58ee6e569b836d42b887e5429ec2f2
16,621
cpp
C++
ExeExplorer/CodeCommon.cpp
Fiskmans/FiskDisassembler
0ede8f0ebf307bf45730e36258f6718312d40490
[ "MIT" ]
null
null
null
ExeExplorer/CodeCommon.cpp
Fiskmans/FiskDisassembler
0ede8f0ebf307bf45730e36258f6718312d40490
[ "MIT" ]
null
null
null
ExeExplorer/CodeCommon.cpp
Fiskmans/FiskDisassembler
0ede8f0ebf307bf45730e36258f6718312d40490
[ "MIT" ]
null
null
null
#include "CodeCommon.h" #include "ConsoleHelp.h" #include <algorithm> #include <map> namespace globals { std::vector<BranchType> globalFunctions; std::vector<BranchType> globalBranches; const size_t globalLocationColumn = 50; size_t globalImageBase = 0; } // globals std::string GenerateName( std::stri...
21.336329
126
0.621082
Fiskmans
bb4da8a8a526dee82519216963ea175634ed8763
5,800
cpp
C++
high_level_controller/examples/cpp/eight_zero/src/main.cpp
Durrrr95/cpm_lab
e2e6f4ace4ebc01e8ddd87e2f4acf13e6ffdcc67
[ "MIT" ]
9
2020-06-24T11:22:15.000Z
2022-01-13T14:14:13.000Z
high_level_controller/examples/cpp/eight_zero/src/main.cpp
Durrrr95/cpm_lab
e2e6f4ace4ebc01e8ddd87e2f4acf13e6ffdcc67
[ "MIT" ]
1
2021-05-10T13:48:04.000Z
2021-05-10T13:48:04.000Z
high_level_controller/examples/cpp/eight_zero/src/main.cpp
Durrrr95/cpm_lab
e2e6f4ace4ebc01e8ddd87e2f4acf13e6ffdcc67
[ "MIT" ]
2
2021-11-08T11:59:29.000Z
2022-03-15T13:50:54.000Z
#include "cpm/Logging.hpp" #include "cpm/CommandLineReader.hpp" #include "cpm/init.hpp" #include "cpm/HLCCommunicator.hpp" #include "cpm/Writer.hpp" #include "VehicleCommandTrajectory.hpp" #include "Eight.hpp" #include <iostream> #include <memory> #include <stdlib.h> using std::vector; //Description for bash files...
37.908497
123
0.704483
Durrrr95
bb54bd95cfa5a715d0c1492c203c807a40b15239
12,642
cpp
C++
libs/object/tests/TCntPtrTest.cpp
ZachHenkel/Mso
ee250782dfc67e309a1c66c67e97f774727b56af
[ "MIT" ]
null
null
null
libs/object/tests/TCntPtrTest.cpp
ZachHenkel/Mso
ee250782dfc67e309a1c66c67e97f774727b56af
[ "MIT" ]
null
null
null
libs/object/tests/TCntPtrTest.cpp
ZachHenkel/Mso
ee250782dfc67e309a1c66c67e97f774727b56af
[ "MIT" ]
null
null
null
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. /**************************************************************************** Unit tests for the TCntPtr smart pointer ****************************************************************************/ #include "precomp.h" #include <atomic> #includ...
28.408989
111
0.742525
ZachHenkel
bb5a0334002f1517f6a080b793f0ced044a4c5c1
230,241
cc
C++
tensorflow/core/profiler/tfprof_log.pb.cc
1250281649/tensorflow
fc6f4ec813c3514fc4a4c6a078f3f492b3ff325c
[ "Apache-2.0" ]
null
null
null
tensorflow/core/profiler/tfprof_log.pb.cc
1250281649/tensorflow
fc6f4ec813c3514fc4a4c6a078f3f492b3ff325c
[ "Apache-2.0" ]
2
2021-08-25T15:57:35.000Z
2022-02-10T01:09:32.000Z
tensorflow/core/profiler/tfprof_log.pb.cc
1250281649/tensorflow
fc6f4ec813c3514fc4a4c6a078f3f492b3ff325c
[ "Apache-2.0" ]
null
null
null
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: tensorflow/core/profiler/tfprof_log.proto #include "tensorflow/core/profiler/tfprof_log.pb.h" #include <algorithm> #include <google/protobuf/io/coded_stream.h> #include <google/protobuf/extension_set.h> #include <google/protobuf/wire_format_lite....
44.611703
243
0.736398
1250281649
bb5e18cb03423ed0c63210d105648ad672af010c
1,933
cpp
C++
luogu/codes/P3367_test.cpp
Tony031218/OI
562f5f45d0448f4eab77643b99b825405a123d92
[ "MIT" ]
1
2021-02-22T03:39:24.000Z
2021-02-22T03:39:24.000Z
luogu/codes/P3367_test.cpp
Tony031218/OI
562f5f45d0448f4eab77643b99b825405a123d92
[ "MIT" ]
null
null
null
luogu/codes/P3367_test.cpp
Tony031218/OI
562f5f45d0448f4eab77643b99b825405a123d92
[ "MIT" ]
null
null
null
/************************************************************* * > File Name : P3367_test.cpp * > Author : Tony * > Created Time : 2019/09/21 17:57:40 * > Algorithm : ufs **************************************************************/ #include <bits/stdc++.h> using namespace std; i...
22.476744
65
0.366787
Tony031218
bb62529e61fbb71d6159ef513dec02bdd9fb7f1d
1,155
hpp
C++
src/core/simulate/src/duneini.hpp
henryiii/spatial-model-editor
2138d03ae4c7cc353b40324dfd1a3e763d7085d9
[ "MIT" ]
4
2019-07-18T15:05:09.000Z
2020-03-14T09:50:07.000Z
src/core/simulate/src/duneini.hpp
henryiii/spatial-model-editor
2138d03ae4c7cc353b40324dfd1a3e763d7085d9
[ "MIT" ]
418
2020-10-08T07:42:27.000Z
2022-03-08T12:10:52.000Z
src/core/simulate/src/duneini.hpp
henryiii/spatial-model-editor
2138d03ae4c7cc353b40324dfd1a3e763d7085d9
[ "MIT" ]
2
2021-09-02T11:20:38.000Z
2021-10-13T14:05:32.000Z
// DUNE-copasi ini file generation // - iniFile class: simple ini file generation one line at a time #pragma once #include <QString> namespace sme { namespace simulate { class IniFile { private: QString text; public: [[nodiscard]] const QString &getText() const; void addSection(const QString &str); void ...
30.394737
80
0.678788
henryiii
bb69dbd249724d064cb803ab3e6389c54b515455
1,692
hpp
C++
src/SingleLayerOptics/src/BaseCell.hpp
bakonyidani/Windows-CalcEngine
afa4c4a9f88199c6206af8bc994a073931fc8b91
[ "BSD-3-Clause-LBNL" ]
null
null
null
src/SingleLayerOptics/src/BaseCell.hpp
bakonyidani/Windows-CalcEngine
afa4c4a9f88199c6206af8bc994a073931fc8b91
[ "BSD-3-Clause-LBNL" ]
null
null
null
src/SingleLayerOptics/src/BaseCell.hpp
bakonyidani/Windows-CalcEngine
afa4c4a9f88199c6206af8bc994a073931fc8b91
[ "BSD-3-Clause-LBNL" ]
null
null
null
#ifndef BASECELL_H #define BASECELL_H #include <memory> #include <vector> namespace FenestrationCommon { enum class Side; class CSeries; } namespace SingleLayerOptics { class CMaterial; class ICellDescription; class CBeamDirection; // Handles optical layer "cell". Base behavior is to calculate specular (di...
30.214286
109
0.72104
bakonyidani
bb6e6836a82cfab2293892d87697c52e711d0956
561
hpp
C++
src/xmesh.d/cramer3.hpp
naruto2/CodeFEM
eb689aa7573d4ac9fc83d057f99c79a5d8f3bd90
[ "MIT" ]
1
2020-09-27T07:28:04.000Z
2020-09-27T07:28:04.000Z
src/xmesh.d/cramer3.hpp
naruto2/CodeFEM
eb689aa7573d4ac9fc83d057f99c79a5d8f3bd90
[ "MIT" ]
null
null
null
src/xmesh.d/cramer3.hpp
naruto2/CodeFEM
eb689aa7573d4ac9fc83d057f99c79a5d8f3bd90
[ "MIT" ]
null
null
null
#ifndef CRAMER3_HPP_ #define CRAMER3_HPP_ #include "sarrus.hpp" template<class Real> void cramer3(Real *px,Real *py,Real *pz, Real a11,Real a12,Real a13, Real a21,Real a22,Real a23, Real a31,Real a32,Real a33, Real b1,Real b2, Real b3 ) { Real det; *px = sarrus(b1 ,a12,a13, b2 ,a22...
28.05
54
0.614973
naruto2
bb80df157fd5d29ec9fecf367f679530b3722441
3,649
cpp
C++
02-functions-and-libs/readerEx.02.09/main.cpp
heavy3/programming-abstractions
e10eab5fe7d9ca7d7d4cc96551524707214e43a8
[ "MIT" ]
81
2018-11-15T21:23:19.000Z
2022-03-06T09:46:36.000Z
02-functions-and-libs/readerEx.02.09/main.cpp
heavy3/programming-abstractions
e10eab5fe7d9ca7d7d4cc96551524707214e43a8
[ "MIT" ]
null
null
null
02-functions-and-libs/readerEx.02.09/main.cpp
heavy3/programming-abstractions
e10eab5fe7d9ca7d7d4cc96551524707214e43a8
[ "MIT" ]
41
2018-11-15T21:23:24.000Z
2022-02-24T03:02:26.000Z
// // main.cpp // // This program implements the classic permutation function from // statistics: // // P(n, k) = n! / (n - k)! // // in such a way as to avoid overflow for potentially large factorials. // // -------------------------------------------------------------------------- // Attribution: "Programming Abst...
29.192
91
0.560702
heavy3
bb82786b464cb26a5ff7bbbce7c227c9daf1cccc
444
hpp
C++
xctest/xctest_process.hpp
daher-alfawares/xctest
70a38a54e8d8229bd51182cf518a4a5ea3d4257f
[ "Apache-2.0" ]
1
2017-12-08T22:35:28.000Z
2017-12-08T22:35:28.000Z
xctest/xctest_process.hpp
daher-alfawares/xctest
70a38a54e8d8229bd51182cf518a4a5ea3d4257f
[ "Apache-2.0" ]
null
null
null
xctest/xctest_process.hpp
daher-alfawares/xctest
70a38a54e8d8229bd51182cf518a4a5ea3d4257f
[ "Apache-2.0" ]
null
null
null
// // xctest_process.hpp // xctest // // Created by Daher Alfawares on 8/29/17. // Copyright © 2017 Daher Alfawares. All rights reserved. // #ifndef xctest_process_hpp #define xctest_process_hpp #include <string> #include <sstream> namespace xctest { class process { public: process(std::string pr...
17.076923
58
0.655405
daher-alfawares
bb844b3252df0c53e5516622c90cd5c446e4edd0
5,759
cpp
C++
jni/src/java-m3g-common.cpp
bryan10328/java-m3g
571baeae7be590b78a0f73a5d5e58506b5525446
[ "MIT" ]
2
2017-03-19T09:00:45.000Z
2021-01-17T13:25:56.000Z
jni/src/java-m3g-common.cpp
bryan10328/java-m3g
571baeae7be590b78a0f73a5d5e58506b5525446
[ "MIT" ]
null
null
null
jni/src/java-m3g-common.cpp
bryan10328/java-m3g
571baeae7be590b78a0f73a5d5e58506b5525446
[ "MIT" ]
3
2017-01-31T17:25:06.000Z
2017-07-12T10:11:03.000Z
#include <jni.h> #include <iostream> #include <typeinfo> #include "m3g/m3g.hpp" #include "java-Loader.hpp" #include "java-m3g-common.hpp" using namespace m3g; using namespace std; void* getNativePointer (JNIEnv* env, jobject obj) { if (obj == 0) { return NULL; } jclass clazz = env->GetObjectC...
28.369458
78
0.624761
bryan10328
bb9445bddc9e50bb7b8b0b482dd231dd0ce8bed0
611
cpp
C++
engine/calculators/source/unit_tests/SpellboundCalculator_test.cpp
sidav/shadow-of-the-wyrm
747afdeebed885b1a4f7ab42f04f9f756afd3e52
[ "MIT" ]
60
2019-08-21T04:08:41.000Z
2022-03-10T13:48:04.000Z
engine/calculators/source/unit_tests/SpellboundCalculator_test.cpp
cleancoindev/shadow-of-the-wyrm
51b23e98285ecb8336324bfd41ebf00f67b30389
[ "MIT" ]
3
2021-03-18T15:11:14.000Z
2021-10-20T12:13:07.000Z
engine/calculators/source/unit_tests/SpellboundCalculator_test.cpp
cleancoindev/shadow-of-the-wyrm
51b23e98285ecb8336324bfd41ebf00f67b30389
[ "MIT" ]
8
2019-11-16T06:29:05.000Z
2022-01-23T17:33:43.000Z
#include "gtest/gtest.h" TEST(SW_World_Calculator_SpellboundCalculator, calc_pct_chance_spellbound) { CreaturePtr creature = std::make_shared<Creature>(); creature->set_willpower(3); creature->get_resistances().set_resistance_value(DamageType::DAMAGE_TYPE_ARCANE, 1.0); SpellboundCalculator sc; EXPECT_EQ...
26.565217
88
0.792144
sidav
bb95d7ec8196807f1ca1519a45c555327be12565
1,605
hpp
C++
include/ecs/RigidBodyObjectComponent.hpp
icebreakersentertainment/ice_engine
52a8313bc266c053366bdf554b5dc27a54ddcb25
[ "MIT" ]
null
null
null
include/ecs/RigidBodyObjectComponent.hpp
icebreakersentertainment/ice_engine
52a8313bc266c053366bdf554b5dc27a54ddcb25
[ "MIT" ]
null
null
null
include/ecs/RigidBodyObjectComponent.hpp
icebreakersentertainment/ice_engine
52a8313bc266c053366bdf554b5dc27a54ddcb25
[ "MIT" ]
1
2019-06-11T03:41:48.000Z
2019-06-11T03:41:48.000Z
#ifndef RIGIDBODYOBJECTCOMPONENT_H_ #define RIGIDBODYOBJECTCOMPONENT_H_ #include "physics/CollisionShapeHandle.hpp" #include "physics/RigidBodyObjectHandle.hpp" #include "serialization/Serialization.hpp" namespace ice_engine { namespace ecs { struct RigidBodyObjectComponent { RigidBodyObjectComponent() = default; ...
23.602941
184
0.8
icebreakersentertainment
bbb469bcc1e2ca6aa4d70e262070ee4eb862c92d
23,128
cpp
C++
library/Java/Util/Vector/VectorTest.cpp
foodtiny/native
9025d337c50951b2d31eb243d0b5414496171ea5
[ "Zlib" ]
19
2017-06-10T11:32:06.000Z
2018-07-07T13:38:50.000Z
library/Java/Util/Vector/VectorTest.cpp
tinylife-io/native
9025d337c50951b2d31eb243d0b5414496171ea5
[ "Zlib" ]
188
2017-06-10T19:45:18.000Z
2018-07-27T16:52:21.000Z
library/Java/Util/Vector/VectorTest.cpp
foodtiny/native
9025d337c50951b2d31eb243d0b5414496171ea5
[ "Zlib" ]
8
2017-06-23T06:59:16.000Z
2018-07-19T11:38:24.000Z
/** * Copyright (c) 2016 Tiny Express Project. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright * notice, this list of condit...
27.698204
101
0.642987
foodtiny
bbb58ffceb8ecdb195da3b9189229bcc639e5b98
865
hpp
C++
src/lib/storage/proxy_chunk.hpp
nilsthamm/hyrise
75a701f281bb7dc1636832012c43005ec3c66384
[ "MIT" ]
2
2019-01-22T19:44:32.000Z
2019-01-22T19:52:33.000Z
src/lib/storage/proxy_chunk.hpp
nilsthamm/hyrise
75a701f281bb7dc1636832012c43005ec3c66384
[ "MIT" ]
33
2019-02-02T09:52:50.000Z
2019-03-07T13:14:40.000Z
src/lib/storage/proxy_chunk.hpp
nilsthamm/hyrise
75a701f281bb7dc1636832012c43005ec3c66384
[ "MIT" ]
1
2020-11-30T13:11:04.000Z
2020-11-30T13:11:04.000Z
#pragma once #include <algorithm> #include <atomic> #include <memory> #include "chunk.hpp" namespace opossum { // The ProxyChunk class wraps chunk objects and implements the RAII pattern // to track the time a particular chunk has been in scope. These times are // measured using the RDTSC instructions and are store...
25.441176
79
0.730636
nilsthamm
c7e2b142c61337ac424a2697289efb0f88c05745
700
cpp
C++
Patterns/In-placeTraversalOfLinkedList/61_rotate_list.cpp
xtstc131/mall0x_Leetcode
db528f2a78808d4123785c35218cce00906166dd
[ "MIT" ]
1
2019-12-25T16:19:21.000Z
2019-12-25T16:19:21.000Z
Patterns/In-placeTraversalOfLinkedList/61_rotate_list.cpp
xtstc131/mall0x_Leetcode
db528f2a78808d4123785c35218cce00906166dd
[ "MIT" ]
null
null
null
Patterns/In-placeTraversalOfLinkedList/61_rotate_list.cpp
xtstc131/mall0x_Leetcode
db528f2a78808d4123785c35218cce00906166dd
[ "MIT" ]
null
null
null
#include "header.hpp" // Definition for singly-linked list. struct ListNode { int val; ListNode *next; ListNode(int x) : val(x), next(nullptr) {} }; class Solution { public: ListNode* rotateRight(ListNode* head, int k) { if (!head || !head->next || k == 0) return head; int len = 1; ...
21.875
58
0.46
xtstc131
c7e997c0a28d55fdded483a918e29e51687e3406
4,202
cc
C++
permut/permut.cc
alex4747-pub/scratchpad
507c16adf50e0abe7abbbbc6cc093736b939b8d5
[ "MIT" ]
null
null
null
permut/permut.cc
alex4747-pub/scratchpad
507c16adf50e0abe7abbbbc6cc093736b939b8d5
[ "MIT" ]
null
null
null
permut/permut.cc
alex4747-pub/scratchpad
507c16adf50e0abe7abbbbc6cc093736b939b8d5
[ "MIT" ]
null
null
null
#include <algorithm> #include <cassert> #include <functional> #include <iostream> #include <vector> static void PrintVec(std::vector<int> const& vec) { if (vec.empty()) { return; } auto cit = vec.cbegin(); std::cout << (*cit++); while(cit != vec.cend()) { std::cout <<...
24.289017
83
0.52237
alex4747-pub
c7e9d675a3c91d828b88549fb83a06912575a227
2,095
cpp
C++
example/rpc/rpc_client.cpp
gatsbyd/HPNL
8e95eef4cb076292b9cf4d88bbb59b37d7beb4eb
[ "MIT" ]
38
2019-12-07T04:51:36.000Z
2022-03-04T03:17:46.000Z
example/rpc/rpc_client.cpp
gatsbyd/HPNL
8e95eef4cb076292b9cf4d88bbb59b37d7beb4eb
[ "MIT" ]
1
2020-07-02T03:55:53.000Z
2020-07-02T03:55:53.000Z
example/rpc/rpc_client.cpp
gatsbyd/HPNL
8e95eef4cb076292b9cf4d88bbb59b37d7beb4eb
[ "MIT" ]
10
2019-12-21T08:44:36.000Z
2022-02-14T14:09:14.000Z
#include "echo.pb.h" #include "args.pb.h" #include "Log.h" #include "rpc/RpcClient.h" #include <assert.h> #include <stdio.h> #include <memory> using namespace melon; using namespace melon::rpc; using namespace cherry; std::shared_ptr<RequestAppendArgs> constructAppendArgs() { std::shared_ptr<RequestAppendArgs> appe...
27.565789
110
0.715513
gatsbyd
c7eaf987990ab215dffe455ff117a0ae72b4b4e4
583
cpp
C++
Online-Judge-Solution/Codeforces Solutions/91(A.Lucky Division).cpp
arifparvez14/Basic-and-competetive-programming
4cb9ee7fbed3c70307d0f63499fcede86ed3c732
[ "MIT" ]
null
null
null
Online-Judge-Solution/Codeforces Solutions/91(A.Lucky Division).cpp
arifparvez14/Basic-and-competetive-programming
4cb9ee7fbed3c70307d0f63499fcede86ed3c732
[ "MIT" ]
null
null
null
Online-Judge-Solution/Codeforces Solutions/91(A.Lucky Division).cpp
arifparvez14/Basic-and-competetive-programming
4cb9ee7fbed3c70307d0f63499fcede86ed3c732
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int main() { int n,r,k,i,count; while(cin>>n) { k=count=0; if(n%4==0 || n%7==0 || n%44==0 || n%47==0 || n%444==0 || n%447==0 || n%474==0) cout<<"YES"<<endl; else { while(n!=0) { r...
20.821429
86
0.324185
arifparvez14
c7ecaae102772a23104ab10cdbb4091186a1391e
4,212
cpp
C++
src/DefaultPropertyControl.cpp
TimoKunze/ExplorerListView
8bc0299b7d58def5393527f518fd857f5122b42d
[ "MIT" ]
2
2019-12-12T08:12:28.000Z
2020-10-02T09:56:48.000Z
src/DefaultPropertyControl.cpp
TimoKunze/ExplorerListView
8bc0299b7d58def5393527f518fd857f5122b42d
[ "MIT" ]
null
null
null
src/DefaultPropertyControl.cpp
TimoKunze/ExplorerListView
8bc0299b7d58def5393527f518fd857f5122b42d
[ "MIT" ]
1
2021-12-09T18:20:14.000Z
2021-12-09T18:20:14.000Z
// DefaultPropertyControl.cpp: Default implementation of the IPropertyControl interface #include "stdafx.h" #include "DefaultPropertyControl.h" #ifdef INCLUDESUBITEMCALLBACKCODE DefaultPropertyControl::Properties::~Properties() { if(pOwnerExLvw) { pOwnerExLvw->Release(); } } ////////////////////////////...
25.527273
162
0.695157
TimoKunze
c7ee8d62dd43437da0809c73ce16a9384628a35e
1,502
cpp
C++
1 sem/10 week/1 problem/1 problem/test.cpp
resueman/HW_Sem1
f096c7b026ce13ec4b7df5c9bea980a33697e60a
[ "Apache-2.0" ]
null
null
null
1 sem/10 week/1 problem/1 problem/test.cpp
resueman/HW_Sem1
f096c7b026ce13ec4b7df5c9bea980a33697e60a
[ "Apache-2.0" ]
1
2018-11-22T14:14:55.000Z
2018-11-22T14:14:55.000Z
1 sem/10 week/1 problem/1 problem/test.cpp
resueman/HW_Sem1
f096c7b026ce13ec4b7df5c9bea980a33697e60a
[ "Apache-2.0" ]
null
null
null
#include "test.h" #include "readFromFile.h" #include <iostream> using namespace std; bool test() { set<int> noStateVertecies; vector<int> states; //Test1 Graph* graph1 = createGraph(); readFromFile("test1.txt", graph1, states, noStateVertecies); distributeCities(graph1, states, noStateVertecies); vector<int>...
23.46875
64
0.693076
resueman
c7f1f5cfbfd989f07df8a6028962e794a27e539c
1,237
hpp
C++
src/include/framework/accessmode.hpp
achreto/fm-translation-framework
a46afcc43f94c8a224f32fcad988a830689a9256
[ "MIT" ]
null
null
null
src/include/framework/accessmode.hpp
achreto/fm-translation-framework
a46afcc43f94c8a224f32fcad988a830689a9256
[ "MIT" ]
null
null
null
src/include/framework/accessmode.hpp
achreto/fm-translation-framework
a46afcc43f94c8a224f32fcad988a830689a9256
[ "MIT" ]
null
null
null
/** * The Access Modes and Permissions * * SPDX-License-Identifier: MIT * * Copyright (C) 2022, Reto Achermann (The University of British Columbia) */ #ifndef _ACCESS_MODE_H_ #define _ACCESS_MODE_H_ 1 // access permissions #define ACCESS_PERMISSION_USER_READ (1 << 0) #define ACCESS_PERMISSION_USER_WRITE (1 ...
30.925
74
0.765562
achreto
c7f31c7004107a2509705e742e916f694f0ecde1
977
cpp
C++
suanfake/HanoiTower.cpp
Leon-Francis/AlgorithmPractice
bfff066da64ebbb00ecd33d94ebbe5bcc382867c
[ "MIT" ]
1
2020-10-07T12:03:12.000Z
2020-10-07T12:03:12.000Z
suanfake/HanoiTower.cpp
Leon-Francis/AlgorithmPractice
bfff066da64ebbb00ecd33d94ebbe5bcc382867c
[ "MIT" ]
null
null
null
suanfake/HanoiTower.cpp
Leon-Francis/AlgorithmPractice
bfff066da64ebbb00ecd33d94ebbe5bcc382867c
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; void MoveTowers(int n, int tower1[52], int tower2[52], int tower3[52]) { if (n == 1) { int temp = tower1[--tower1[1]]; tower3[tower3[1]++] = temp; cout << "move disk " << temp << " from tower " << tower1[0] << " to tower " << tower3[0] << endl; ...
25.710526
105
0.502559
Leon-Francis