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
1ea4eca4bbea7dde709a6654b0b84cd9f1c98982
2,837
cpp
C++
Experiences/Programming/C++/OOP/AlienInvasion/Item.cpp
FJinn/fjinn.github.io
470a803a6fb05cf7ee91cf7864724ae429842247
[ "Unlicense" ]
2
2021-05-03T18:25:02.000Z
2021-07-14T14:06:19.000Z
Experiences/Programming/C++/OOP/AlienInvasion/Item.cpp
FJinn/fjinn.github.io
470a803a6fb05cf7ee91cf7864724ae429842247
[ "Unlicense" ]
null
null
null
Experiences/Programming/C++/OOP/AlienInvasion/Item.cpp
FJinn/fjinn.github.io
470a803a6fb05cf7ee91cf7864724ae429842247
[ "Unlicense" ]
null
null
null
#include "AllHeaderFiles.h" Item::Item(ITEM_TYPE type) { if(type == HEALTH_PACK) { row = 1; column = 1; char tempCharArray [1][1] = { {'H'} }; CharArray = new char*[row]; for(int i=0; i<row; i++) { CharArray[i] = new char[column]; for(int j=0; j<column; j++) { CharArray[i][j] = tem...
14.328283
42
0.517096
FJinn
1eaa57ddded092e2506ed9dddea9e906f419d2e4
12,830
cpp
C++
src/engine/core/Math/lunar_math.cpp
LunarGameTeam/Lunar-GameEngine
b387d7008525681fe06db8811f4f7ee95aa7aaf1
[ "MIT" ]
4
2020-08-07T02:18:13.000Z
2021-07-08T09:46:11.000Z
src/engine/core/Math/lunar_math.cpp
LunarGameTeam/Lunar-GameEngine
b387d7008525681fe06db8811f4f7ee95aa7aaf1
[ "MIT" ]
null
null
null
src/engine/core/Math/lunar_math.cpp
LunarGameTeam/Lunar-GameEngine
b387d7008525681fe06db8811f4f7ee95aa7aaf1
[ "MIT" ]
null
null
null
#include "lunar_math.h" //3*3矩阵 luna::LunarMatrix3x3::LunarMatrix3x3() { DirectX::XMMATRIX now_mat_value = DirectX::XMLoadFloat3x3(&matrix_value); DirectX::XMMATRIX now_identity_value = DirectX::XMMatrixIdentity(); DirectX::XMStoreFloat3x3(&matrix_value, now_identity_value); } luna::LunarMatrix3x3 luna::LunarMatrix3...
40.990415
194
0.795791
LunarGameTeam
1eac3502d0191789531ce181e95758ed2ee6c4f2
24,592
cpp
C++
cfw/src/v20190904/model/SecurityGroupListData.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
43
2019-08-14T08:14:12.000Z
2022-03-30T12:35:09.000Z
cfw/src/v20190904/model/SecurityGroupListData.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
12
2019-07-15T10:44:59.000Z
2021-11-02T12:35:00.000Z
cfw/src/v20190904/model/SecurityGroupListData.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
28
2019-07-12T09:06:22.000Z
2022-03-30T08:04:18.000Z
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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 ...
28.462963
157
0.677741
suluner
1eadea9e69eb6eed70a4c85a7e5ce14ae8ae60a4
3,703
hpp
C++
include/Tlpp/TypeTraits/basic_traits.hpp
ButylLee/Tlpp
65d7bec3e83b3be4cebf9e0ad472e7551ba30e16
[ "Apache-2.0" ]
null
null
null
include/Tlpp/TypeTraits/basic_traits.hpp
ButylLee/Tlpp
65d7bec3e83b3be4cebf9e0ad472e7551ba30e16
[ "Apache-2.0" ]
null
null
null
include/Tlpp/TypeTraits/basic_traits.hpp
ButylLee/Tlpp
65d7bec3e83b3be4cebf9e0ad472e7551ba30e16
[ "Apache-2.0" ]
null
null
null
#ifndef TLPP_TYPE_TRAITS_BASIC_TRAITS_HPP #define TLPP_TYPE_TRAITS_BASIC_TRAITS_HPP #include <Tlpp/Config.h> #include <Tlpp/TypeTraits/array_traits.hpp> #include <Tlpp/TypeTraits/cv_traits.hpp> #include <Tlpp/TypeTraits/integral_constant.hpp> #include <Tlpp/TypeTraits/pointer_traits.hpp> #include <Tlpp/TypeTraits/ref...
28.929688
69
0.656765
ButylLee
1eafa4256e4bc33e0dc541a4e37461e5a9f4d217
10,981
cpp
C++
plight/source/graphics/shader_manager.cpp
kruesemann/plight
85cd0895ec60d5e82f494b0ae3472012eec335c5
[ "MIT" ]
null
null
null
plight/source/graphics/shader_manager.cpp
kruesemann/plight
85cd0895ec60d5e82f494b0ae3472012eec335c5
[ "MIT" ]
11
2020-02-16T18:42:46.000Z
2020-06-23T18:59:44.000Z
plight/source/graphics/shader_manager.cpp
kruesemann/plight
85cd0895ec60d5e82f494b0ae3472012eec335c5
[ "MIT" ]
null
null
null
#include "plight/include/graphics/shader_manager.h" #include "plight/include/component/uniform_buffer_data.h" #include "plight/include/component/uniform_texture_data.h" #include "plight/include/graphics/uniform_buffer_info.h" #include "plight/include/graphics/uniform_texture_info.h" #include "glew/include/glew.h" #...
34.423197
142
0.597304
kruesemann
1ebb75dad28893b6d79968a228187d7271ad2a05
1,391
cpp
C++
test/test_basic.cpp
sanko-shoko/simplesp
6a71022dbb9a304e5a68d60885a04906dc78913a
[ "MIT" ]
24
2017-09-07T16:08:33.000Z
2022-02-26T16:32:48.000Z
test/test_basic.cpp
sanko-shoko/simplesp
6a71022dbb9a304e5a68d60885a04906dc78913a
[ "MIT" ]
null
null
null
test/test_basic.cpp
sanko-shoko/simplesp
6a71022dbb9a304e5a68d60885a04906dc78913a
[ "MIT" ]
8
2018-11-30T02:53:24.000Z
2021-05-18T06:30:42.000Z
#include "simplesp.h" using namespace sp; #include <locale.h> int main() { // strget { const char *src = "aaa, bbb ccc\nddd"; char dst[256]; for (int i = 0; ; i++) { if(strget(dst, src, i) == false) break; printf("[%s]\n", dst); } { ...
23.982759
69
0.4867
sanko-shoko
1ebc1d019038a8c5d2955e1af387e736722cdd35
954
cpp
C++
common-src/qt_widgets_subclasses/generic_tab_widget.cpp
AkarinVS/vapoursynth-editor-2
9ddd9d63f31cb76326a3f8eace177da35a96fc4e
[ "MIT" ]
1
2021-03-17T23:39:59.000Z
2021-03-17T23:39:59.000Z
common-src/qt_widgets_subclasses/generic_tab_widget.cpp
AkarinVS/vapoursynth-editor-2
9ddd9d63f31cb76326a3f8eace177da35a96fc4e
[ "MIT" ]
null
null
null
common-src/qt_widgets_subclasses/generic_tab_widget.cpp
AkarinVS/vapoursynth-editor-2
9ddd9d63f31cb76326a3f8eace177da35a96fc4e
[ "MIT" ]
null
null
null
#include "generic_tab_widget.h" #include <QDebug> #include <QMouseEvent> #include <QTabBar> GenericTabWidget::GenericTabWidget(QWidget *parent) { m_currentSelectedIndex = 0; connect(this, &GenericTabWidget::currentChanged, this, &GenericTabWidget::aboutToChangeTab); } void GenericTabWidget::mousePressEvent(QM...
28.909091
96
0.68239
AkarinVS
36305fae0af31eed5c880838da8a5033db724a94
2,531
cpp
C++
src/Npfs/NpStrBuffer.cpp
joluxer/NpfsCpp
f19d422b9ab4fa67e35c1e0c29dfa2abc8b0d78f
[ "Zlib" ]
null
null
null
src/Npfs/NpStrBuffer.cpp
joluxer/NpfsCpp
f19d422b9ab4fa67e35c1e0c29dfa2abc8b0d78f
[ "Zlib" ]
null
null
null
src/Npfs/NpStrBuffer.cpp
joluxer/NpfsCpp
f19d422b9ab4fa67e35c1e0c29dfa2abc8b0d78f
[ "Zlib" ]
null
null
null
/* * NpStrBuffer.cpp * * Created on: 03.02.2020 * Author: lode */ #include "NpStrBuffer.h" #include <utility> #include <cassert> namespace Npfs { NpStrBufferPtr::NpStrBufferPtr(char* s) : NpStrBufferPtr() { str = s; len = strlen(s); // bufferspace is left zero intentionally } NpStrBufferPtr::NpStr...
17.101351
97
0.647965
joluxer
3630e995e526c2a4d3f4b438638f2f5d63825c92
2,223
cpp
C++
src/nbla/exception.cpp
tasugi/nnabla
cf54d64cc0448c8ea63b2a8e9a7999963f3c169e
[ "Apache-2.0" ]
1
2020-07-18T20:08:36.000Z
2020-07-18T20:08:36.000Z
src/nbla/exception.cpp
tasugi/nnabla
cf54d64cc0448c8ea63b2a8e9a7999963f3c169e
[ "Apache-2.0" ]
null
null
null
src/nbla/exception.cpp
tasugi/nnabla
cf54d64cc0448c8ea63b2a8e9a7999963f3c169e
[ "Apache-2.0" ]
1
2020-08-19T08:32:51.000Z
2020-08-19T08:32:51.000Z
// Copyright (c) 2017 Sony Corporation. 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 ...
36.442623
80
0.580747
tasugi
363a9d93c142d078d5afb67224369689cfaade44
7,537
cpp
C++
TextureLoader/src/SGILoader.cpp
daktronics/DiligentTools
2adbd5ef44fb6f90c8bcb75457acb148b8bde6a2
[ "Apache-2.0" ]
null
null
null
TextureLoader/src/SGILoader.cpp
daktronics/DiligentTools
2adbd5ef44fb6f90c8bcb75457acb148b8bde6a2
[ "Apache-2.0" ]
null
null
null
TextureLoader/src/SGILoader.cpp
daktronics/DiligentTools
2adbd5ef44fb6f90c8bcb75457acb148b8bde6a2
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2019-2021 Diligent Graphics 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 appl...
38.258883
135
0.634603
daktronics
363fb5cbdc96f99ca567e19dacbb3528d8916eb2
255
cpp
C++
clickableswatch.cpp
UrsaMaximus/ClusterColor
29dfd3faba6516e26f7ddc2290211ebefb195d54
[ "MIT" ]
1
2022-01-12T10:17:57.000Z
2022-01-12T10:17:57.000Z
clickableswatch.cpp
UrsaMaximus/ClusterColor
29dfd3faba6516e26f7ddc2290211ebefb195d54
[ "MIT" ]
null
null
null
clickableswatch.cpp
UrsaMaximus/ClusterColor
29dfd3faba6516e26f7ddc2290211ebefb195d54
[ "MIT" ]
null
null
null
#include "clickableswatch.h" ClickableSwatch::ClickableSwatch(QWidget *parent) : QFrame(parent) { } void ClickableSwatch::mousePressEvent(QMouseEvent *event) { } void ClickableSwatch::mouseReleaseEvent(QMouseEvent *event) { swatchClicked(this); }
15.9375
66
0.772549
UrsaMaximus
364396fda34c383be7a22f1410e2be5174af1194
340
cpp
C++
tests/array/array/testArray1fViewIters.cpp
JieyangChen7/zfp
1d6fbe597b1d86e78b51ffd8c13e2068a0c74b0f
[ "BSD-3-Clause" ]
528
2016-10-21T07:50:43.000Z
2022-03-27T13:52:12.000Z
tests/array/array/testArray1fViewIters.cpp
JieyangChen7/zfp
1d6fbe597b1d86e78b51ffd8c13e2068a0c74b0f
[ "BSD-3-Clause" ]
150
2016-09-21T18:09:42.000Z
2022-03-21T17:09:20.000Z
tests/array/array/testArray1fViewIters.cpp
JieyangChen7/zfp
1d6fbe597b1d86e78b51ffd8c13e2068a0c74b0f
[ "BSD-3-Clause" ]
113
2016-09-22T07:27:14.000Z
2022-03-13T04:14:30.000Z
#include "array/zfparray1.h" using namespace zfp; extern "C" { #include "utils/rand64.h" } #define ARRAY_DIMS_SCALAR_TEST Array1fTest #define ARRAY_DIMS_SCALAR_TEST_VIEW_ITERS Array1fTestViewIters #include "utils/gtest1fTest.h" #define ZFP_ARRAY_TYPE array1f #define SCALAR float #define DIMS 1 #include "testArra...
18.888889
62
0.805882
JieyangChen7
3645d3b2200f8d48d15613aef68fc88f5ab1e315
4,550
cpp
C++
Source/Services/TitleStorage/WinRT/TitleStorageBlobMetadata_WinRT.cpp
blgrossMS/xbox-live-api
17c586336e11f0fa3a2a3f3acd665b18c5487b24
[ "MIT" ]
2
2021-07-17T13:34:20.000Z
2022-01-09T00:55:51.000Z
Source/Services/TitleStorage/WinRT/TitleStorageBlobMetadata_WinRT.cpp
blgrossMS/xbox-live-api
17c586336e11f0fa3a2a3f3acd665b18c5487b24
[ "MIT" ]
null
null
null
Source/Services/TitleStorage/WinRT/TitleStorageBlobMetadata_WinRT.cpp
blgrossMS/xbox-live-api
17c586336e11f0fa3a2a3f3acd665b18c5487b24
[ "MIT" ]
1
2018-11-18T08:32:40.000Z
2018-11-18T08:32:40.000Z
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. /...
36.4
101
0.721099
blgrossMS
3649a4ae6036218479347c8b380501b654ce912c
1,684
cpp
C++
cpp/equation-solver/src/Coefficient.cpp
sigalor/lookwhaticando
46dae592ad1664e9439c71dee285340a3e55ed5f
[ "Apache-2.0" ]
3
2018-04-11T17:54:07.000Z
2018-10-23T04:33:00.000Z
cpp/equation-solver/src/Coefficient.cpp
sigalor/lookwhaticando
46dae592ad1664e9439c71dee285340a3e55ed5f
[ "Apache-2.0" ]
null
null
null
cpp/equation-solver/src/Coefficient.cpp
sigalor/lookwhaticando
46dae592ad1664e9439c71dee285340a3e55ed5f
[ "Apache-2.0" ]
3
2018-04-11T02:44:23.000Z
2019-12-21T22:47:53.000Z
#include "Coefficient.hpp" Coefficient::Coefficient(double newXExp, std::initializer_list<Variable> newFactors) : xExp(newXExp) { factors.insert(factors.begin(), newFactors.begin(), newFactors.end()); } void Coefficient::derive() { factors.push_back(Variable(xExp)); xExp -= 1.0; } void Coefficien...
19.136364
140
0.580166
sigalor
364bdb6ff16d2f4576202e8681016cffda7f5485
1,325
cpp
C++
src/test/scaled_integer/overflow/elastic/integer.cpp
NotifAi/cnl
17e8c241b99d5c808b5de6b919ad82f4d0502074
[ "BSL-1.0" ]
null
null
null
src/test/scaled_integer/overflow/elastic/integer.cpp
NotifAi/cnl
17e8c241b99d5c808b5de6b919ad82f4d0502074
[ "BSL-1.0" ]
null
null
null
src/test/scaled_integer/overflow/elastic/integer.cpp
NotifAi/cnl
17e8c241b99d5c808b5de6b919ad82f4d0502074
[ "BSL-1.0" ]
null
null
null
// Copyright John McFarlane 2018. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file ../../LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #include <cnl/elastic_integer.h> #include <cnl/scaled_integer.h> #include <cnl/num_traits.h> #include <...
32.317073
93
0.634717
NotifAi
36505e9164c39019a3467b5cf178a73012dc54c5
1,025
cpp
C++
gueepo2D/sandbox/Main.cpp
brianbatista93/gueepo2D
0212340ef7b3535d3361a330fa10b9c32555059c
[ "MIT" ]
1
2021-10-01T03:08:27.000Z
2021-10-01T03:08:27.000Z
gueepo2D/sandbox/Main.cpp
brianbatista93/gueepo2D
0212340ef7b3535d3361a330fa10b9c32555059c
[ "MIT" ]
null
null
null
gueepo2D/sandbox/Main.cpp
brianbatista93/gueepo2D
0212340ef7b3535d3361a330fa10b9c32555059c
[ "MIT" ]
null
null
null
#include <gueepo2d.h> /* #include <SDL.h> #ifdef main #undef main #endif #define SCREEN_WIDTH 640 #define SCREEN_HEIGHT 480 */ class DummyApp : public gueepo::Application { public: DummyApp() {} ~DummyApp() { LOG_INFO("deleting dummy app"); } }; gueepo::Application* gueepo::CreateApplication() { return new Dummy...
20.098039
88
0.718049
brianbatista93
365237dc4b1137387f8c8cd00478c84bb0539029
647
cc
C++
Dynamic Programming/Two_SetsII.cc
dhruvie/CSES
8dfa091191aa2d90f63b2bdef79b3a93b8096df9
[ "MIT" ]
null
null
null
Dynamic Programming/Two_SetsII.cc
dhruvie/CSES
8dfa091191aa2d90f63b2bdef79b3a93b8096df9
[ "MIT" ]
null
null
null
Dynamic Programming/Two_SetsII.cc
dhruvie/CSES
8dfa091191aa2d90f63b2bdef79b3a93b8096df9
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; #define int long long #define Mod 1000000007 int Combination(vector<int>&arr, int n, int target) { int DP[n+1][target+1]; for(int i=0; i<=n; ++i) { for(int j=0; j<=target; ++j) { if(j==0) DP[i][j]=1; else if(i==0) DP[i][j]=0; else if(j<arr[i-1]) D...
16.175
56
0.542504
dhruvie
3652eb41725a02da568870858aad9a1f28bec812
3,073
cpp
C++
chapter-9/9.51.cpp
zero4drift/Cpp-Primer-5th-Exercises
d3d0f0d228e8c2c5a3b3fe1fd03ce34e0894e93f
[ "MIT" ]
null
null
null
chapter-9/9.51.cpp
zero4drift/Cpp-Primer-5th-Exercises
d3d0f0d228e8c2c5a3b3fe1fd03ce34e0894e93f
[ "MIT" ]
null
null
null
chapter-9/9.51.cpp
zero4drift/Cpp-Primer-5th-Exercises
d3d0f0d228e8c2c5a3b3fe1fd03ce34e0894e93f
[ "MIT" ]
null
null
null
#include <string> #include <stdexcept> #include <iostream> using std::string; using std::stoi; using std::runtime_error; using std::cout; using std::endl; unsigned month_transform(const string&); struct date { date(const string &s); void print() {cout << year << " " << month << " " << day << endl;} private: un...
32.691489
93
0.641393
zero4drift
365d035107ee401c90d18de05d81e635eebd1432
2,787
cpp
C++
SPOJ/Random/KGSS/kgss.cpp
VastoLorde95/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
170
2017-07-25T14:47:29.000Z
2022-01-26T19:16:31.000Z
SPOJ/Random/KGSS/kgss.cpp
navodit15/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
null
null
null
SPOJ/Random/KGSS/kgss.cpp
navodit15/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
55
2017-07-28T06:17:33.000Z
2021-10-31T03:06:22.000Z
#include<stdio.h> #include<iostream> #include<cmath> #include<algorithm> #include<cstring> #include<map> #include<set> #include<vector> #include<utility> #include<math.h> #define sd(x) scanf("%d",&x); #define sd2(x,y) scanf("%d %d",&x,&y); #define sd3(x,y,z) scanf("%d %d %d",&x,&y,&z); #define sull(x) scanf("%ull",&x)...
24.883929
124
0.61141
VastoLorde95
365d50011e60ee2e2baaa031fd277fd705cce162
631
cpp
C++
external/libdex/field_item.cpp
xiaobaiyey/DexRewrite
b4b87327a9d9090367918c975019b86ef72aa7f7
[ "Apache-2.0" ]
31
2019-07-15T02:52:40.000Z
2022-03-17T20:28:54.000Z
external/libdex/field_item.cpp
xiaobaiyey/DexRewrite
b4b87327a9d9090367918c975019b86ef72aa7f7
[ "Apache-2.0" ]
null
null
null
external/libdex/field_item.cpp
xiaobaiyey/DexRewrite
b4b87327a9d9090367918c975019b86ef72aa7f7
[ "Apache-2.0" ]
14
2019-07-15T07:55:42.000Z
2022-01-12T08:31:44.000Z
// // Created by xiaob on 2020/1/1. // #include "field_item.h" namespace dex_ir { FieldItem::FieldItem(uint32_t access_flags, const FieldId *field_id) : access_flags_(access_flags), field_id_(field_id) {} FieldItem::~FieldItem() { } uint32_t FieldItem::GetAccessFlags() const { r...
20.354839
72
0.638669
xiaobaiyey
3661102150519aa466434515657a17e40b549ff9
202
cpp
C++
tests/src/test_common.cpp
ggraham/bax2bam
96138c46de7c7d56591c7015a86393d00ffd8284
[ "BSD-3-Clause-Clear" ]
5
2017-07-02T14:25:07.000Z
2019-10-24T19:54:48.000Z
tests/src/test_common.cpp
ggraham/bax2bam
96138c46de7c7d56591c7015a86393d00ffd8284
[ "BSD-3-Clause-Clear" ]
4
2017-03-01T10:56:48.000Z
2018-08-07T13:44:35.000Z
tests/src/test_common.cpp
ggraham/bax2bam
96138c46de7c7d56591c7015a86393d00ffd8284
[ "BSD-3-Clause-Clear" ]
4
2020-12-28T10:17:33.000Z
2021-04-23T15:34:17.000Z
// Author: Derek Barnett #include "TestData.h" #include <gtest/gtest.h> TEST(CommonTest, EmptyCommandLine) { EXPECT_TRUE(true); } TEST(CommonTest, NormalCommandLine) { EXPECT_TRUE(true); }
11.882353
35
0.707921
ggraham
366697c77cf6e5f14b1634156775d3238cc18b86
859
hpp
C++
include/sprout/rational/conversion.hpp
thinkoid/Sprout
a5a5944bb1779d3bb685087c58c20a4e18df2f39
[ "BSL-1.0" ]
4
2021-12-29T22:17:40.000Z
2022-03-23T11:53:44.000Z
dsp/lib/sprout/sprout/rational/conversion.hpp
TheSlowGrowth/TapeLooper
ee8d8dccc27e39a6f6f6f435847e4d5e1b97c264
[ "MIT" ]
16
2021-10-31T21:41:09.000Z
2022-01-22T10:51:34.000Z
include/sprout/rational/conversion.hpp
thinkoid/Sprout
a5a5944bb1779d3bb685087c58c20a4e18df2f39
[ "BSL-1.0" ]
null
null
null
/*============================================================================= Copyright (c) 2011-2019 Bolero MURAKAMI https://github.com/bolero-MURAKAMI/Sprout 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) ==...
33.038462
79
0.629802
thinkoid
3666c84abe58ea6165197cd1a15d8e17d51e3286
1,859
cpp
C++
ICPC/TerceraFecha2021/C.cpp
CaDe27/Co-digos
9eea1dbf6ed06fd115391328c0a2481029c83fc0
[ "MIT" ]
null
null
null
ICPC/TerceraFecha2021/C.cpp
CaDe27/Co-digos
9eea1dbf6ed06fd115391328c0a2481029c83fc0
[ "MIT" ]
null
null
null
ICPC/TerceraFecha2021/C.cpp
CaDe27/Co-digos
9eea1dbf6ed06fd115391328c0a2481029c83fc0
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> #include <stdio.h> #include <string> #include <vector> #include <map> #include <math.h> #include <numeric> #include <queue> #include <stack> #include <utility> #include <queue> #include <set> #include <iomanip> using namespace std; typedef int64_t ll; typedef pair<int,ll> pil...
20.428571
63
0.512641
CaDe27
3668926172b58a33104432c03fe5df2afcec63b2
1,652
cpp
C++
tests/set.cpp
asit-dhal/stringify
cf376404de7270b8a8c4d2474f7f08abce21a8e7
[ "MIT" ]
32
2017-09-20T03:31:10.000Z
2021-06-22T06:08:09.000Z
tests/set.cpp
asit-dhal/stringify
cf376404de7270b8a8c4d2474f7f08abce21a8e7
[ "MIT" ]
6
2017-09-20T14:23:43.000Z
2017-10-14T19:15:42.000Z
tests/set.cpp
asit-dhal/stringify
cf376404de7270b8a8c4d2474f7f08abce21a8e7
[ "MIT" ]
6
2017-09-20T04:28:35.000Z
2017-10-04T05:03:45.000Z
#include <set> #include "common.hpp" auto const SET_BEGIN = "("; auto const SET_END = ")"; auto const SET_NAME = "set"; TEST_CASE("set_numbers", "[set_numbers]") { using namespace stringify; std::set<int> s_int{ 1, 2, 3, 4, 5 }; std::set<float> s_float{ 1.1f, 2.2f, 3.3f, 4.4f, 5.5f }; std::set<int> s_...
28.982456
103
0.550847
asit-dhal
366a31221b6451a4228c3e0623b4c1de4c8c03ea
5,045
inl
C++
include/ntw/ob/impl/job.inl
deadash/nt_wrapper
34405005ecd949fd75cb586ee0976aa7e3a7ef65
[ "Apache-2.0" ]
353
2018-07-20T18:45:19.000Z
2022-03-28T21:04:47.000Z
include/ntw/ob/impl/job.inl
deadash/nt_wrapper
34405005ecd949fd75cb586ee0976aa7e3a7ef65
[ "Apache-2.0" ]
26
2018-08-06T11:10:48.000Z
2021-06-04T04:52:45.000Z
include/ntw/ob/impl/job.inl
deadash/nt_wrapper
34405005ecd949fd75cb586ee0976aa7e3a7ef65
[ "Apache-2.0" ]
73
2018-07-20T21:30:14.000Z
2022-02-22T02:20:23.000Z
/* * Copyright 2020 Justas Masiulis * * 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...
32.339744
90
0.601784
deadash
3670c3040817d1b3d709deebf1d6f77ef809ce56
1,429
cpp
C++
code/src/pins/pins.cpp
fedefiorini/Battery-Management-System
0992b2a372b294aab4af2f3241fd20cd9bc000f1
[ "MIT" ]
8
2020-05-05T15:09:39.000Z
2020-12-01T16:14:45.000Z
code/src/pins/pins.cpp
fedefiorini/Battery-Management-System
0992b2a372b294aab4af2f3241fd20cd9bc000f1
[ "MIT" ]
null
null
null
code/src/pins/pins.cpp
fedefiorini/Battery-Management-System
0992b2a372b294aab4af2f3241fd20cd9bc000f1
[ "MIT" ]
null
null
null
/* * pins.cpp * * Created on: Nov 29, 2018 * Author: @fedefiorini */ #include "pins.hpp" namespace pin { gpio::pin OK_LED; gpio::pin ERROR_LED; gpio::pin OV_ERROR; gpio::pin UV_ERROR; gpio::pin OC_ERROR; gpio::pin OT_ERROR; gpio::pin UT_ERROR; gpio::pin CAN_EN; gpio::pin UART_EN; gpio::pin tem...
23.42623
58
0.695591
fedefiorini
3674b4ad4a02676767d35f06e2cf8124b4bd54c8
548
cpp
C++
src/execution/operator/helper/physical_set.cpp
wesm/duckdb
f2fa094abc59d70a8c981d6e9f9c9c3911f08362
[ "MIT" ]
3
2021-05-13T04:15:45.000Z
2022-03-03T16:57:16.000Z
src/execution/operator/helper/physical_set.cpp
wesm/duckdb
f2fa094abc59d70a8c981d6e9f9c9c3911f08362
[ "MIT" ]
2
2021-10-02T02:52:39.000Z
2022-01-04T20:08:06.000Z
src/execution/operator/helper/physical_set.cpp
wesm/duckdb
f2fa094abc59d70a8c981d6e9f9c9c3911f08362
[ "MIT" ]
1
2021-09-02T00:22:42.000Z
2021-09-02T00:22:42.000Z
#include "duckdb/execution/operator/helper/physical_set.hpp" #include "duckdb/main/database.hpp" #include "duckdb/main/client_context.hpp" namespace duckdb { void PhysicalSet::GetChunkInternal(ExecutionContext &context, DataChunk &chunk, PhysicalOperatorState *state) const { D_ASSERT(scope == SetScope::GLOBAL || sco...
27.4
117
0.74635
wesm
367d8666072a07ad4bced428d92b5b415379db30
7,297
cpp
C++
cpp/4BI/Classes/Class3/class3.cpp
islaDevs/Coding-Homeworks
51436a1197f08e5f07db21258a9841c216c7bbd3
[ "MIT" ]
null
null
null
cpp/4BI/Classes/Class3/class3.cpp
islaDevs/Coding-Homeworks
51436a1197f08e5f07db21258a9841c216c7bbd3
[ "MIT" ]
null
null
null
cpp/4BI/Classes/Class3/class3.cpp
islaDevs/Coding-Homeworks
51436a1197f08e5f07db21258a9841c216c7bbd3
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <string> #include <vector> using namespace std; //Note struct. struct vote { string subject; float note; }; class Student { //Student attributes. string surname, name, address, grade; float notes_sum = 0; //Notes vector. vector<vote> notes; ...
30.919492
87
0.469234
islaDevs
367e6c24808861ad8349dca1cc6ee2957a3db966
6,621
hpp
C++
include/core/context/context.hpp
jetd1/kuafu
819d338682f3e889710731cf7ca16f790b54568f
[ "MIT" ]
17
2021-09-03T03:06:48.000Z
2022-03-27T04:02:14.000Z
include/core/context/context.hpp
jetd1/kuafu
819d338682f3e889710731cf7ca16f790b54568f
[ "MIT" ]
null
null
null
include/core/context/context.hpp
jetd1/kuafu
819d338682f3e889710731cf7ca16f790b54568f
[ "MIT" ]
null
null
null
// // Modified by Jet <i@jetd.me> based on Rayex source code. // Original copyright notice: // // Copyright (c) 2021 Christian Hilpert // // This software is provided 'as-is', without any express or implied // warranty. In no event will the author be held liable for any damages // arising from the use of this software....
41.38125
156
0.65262
jetd1
3685dd26138330f49c25b874b6b87ab4fb9884ca
6,437
cpp
C++
tests/TDL_tests/tdl_action_decompile_tests.cpp
Wild-Spy/OSTBoardFirmware
7a355ce61da31b5ddad09b33319652100b31fd2c
[ "Apache-2.0" ]
1
2017-11-19T11:29:02.000Z
2017-11-19T11:29:02.000Z
tests/TDL_tests/tdl_action_decompile_tests.cpp
Wild-Spy/OSTBoardFirmware
7a355ce61da31b5ddad09b33319652100b31fd2c
[ "Apache-2.0" ]
null
null
null
tests/TDL_tests/tdl_action_decompile_tests.cpp
Wild-Spy/OSTBoardFirmware
7a355ce61da31b5ddad09b33319652100b31fd2c
[ "Apache-2.0" ]
null
null
null
// // Created by mcochrane on 20/05/17. // #include <gtest/gtest.h> #include <gmock/gmock.h> #include <SimplePinMock.h> #include <TimerDescriptionLanguage/TdlAction.h> #include <TimerDescriptionLanguage/TdlChannels.h> #include <TimerDescriptionLanguage/TdlRules.h> using ::testing::Return; using ::testing::Sequence; ...
34.058201
88
0.650924
Wild-Spy
368e6cc7c96d2610c023e36f76ba964e501e3f02
2,903
cpp
C++
ClipboardShortcut/RegistryHelpers.cpp
kiewic/clipboard-keyboard-shortcut
35b79d0adf5a41f653d8377eb3bc2394e7b1930a
[ "MIT" ]
null
null
null
ClipboardShortcut/RegistryHelpers.cpp
kiewic/clipboard-keyboard-shortcut
35b79d0adf5a41f653d8377eb3bc2394e7b1930a
[ "MIT" ]
null
null
null
ClipboardShortcut/RegistryHelpers.cpp
kiewic/clipboard-keyboard-shortcut
35b79d0adf5a41f653d8377eb3bc2394e7b1930a
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "RegistryHelpers.h" void PrintErrorDescription(DWORD error) { LPWSTR pBuffer = NULL; FormatMessage( FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM, NULL, error, 0, (LPWSTR)&pBuffer, 0, NULL); wprintf(p...
23.991736
120
0.624182
kiewic
3692d568c73c7d6202f73291810fd99133091236
95,392
cpp
C++
Gosha/QmlNavigationDrawer/qrc_qml.cpp
Goshabur/RestaurantBES
219f674db079c489155ac72df565a31e01768d57
[ "MIT" ]
null
null
null
Gosha/QmlNavigationDrawer/qrc_qml.cpp
Goshabur/RestaurantBES
219f674db079c489155ac72df565a31e01768d57
[ "MIT" ]
null
null
null
Gosha/QmlNavigationDrawer/qrc_qml.cpp
Goshabur/RestaurantBES
219f674db079c489155ac72df565a31e01768d57
[ "MIT" ]
1
2022-03-22T23:07:19.000Z
2022-03-22T23:07:19.000Z
/**************************************************************************** ** Resource object code ** ** Created by: The Resource Compiler for Qt version 5.12.8 ** ** WARNING! All changes made in this file will be lost! *****************************************************************************/ static const unsi...
74.758621
146
0.765211
Goshabur
369646a8e3e455fb3bae38073413a1032788de9e
6,578
cpp
C++
src/Moves/Move.cpp
MarkZH/Genetic_Chess
1e07cf0b3bbe87936820844edb322a3fd85f8155
[ "MIT" ]
9
2019-08-01T14:42:38.000Z
2021-09-03T17:49:37.000Z
src/Moves/Move.cpp
MarkZH/Genetic_Chess
1e07cf0b3bbe87936820844edb322a3fd85f8155
[ "MIT" ]
107
2016-05-22T14:28:08.000Z
2022-03-31T08:27:27.000Z
src/Moves/Move.cpp
MarkZH/Genetic_Chess
1e07cf0b3bbe87936820844edb322a3fd85f8155
[ "MIT" ]
3
2017-12-13T04:15:42.000Z
2021-07-17T20:59:00.000Z
#include "Moves/Move.h" #include <cassert> #include <cctype> #include <string> #include "Game/Board.h" #include "Game/Square.h" #include "Game/Game_Result.h" #include "Game/Piece.h" #include "Utility/String.h" Move::Move(const Square start, const Square end) noexcept : origin(start), destination(end) { assert(...
29.106195
120
0.514442
MarkZH
3696b26c49e02518857daf66bc9af5e1988cde25
4,189
cpp
C++
The Knapsack Problem/The Knapsack Problem/Function definition .cpp
duardo56/khjb-0
4db371d9059b96e1e1e42757a8e349ca4529f79c
[ "Apache-2.0" ]
null
null
null
The Knapsack Problem/The Knapsack Problem/Function definition .cpp
duardo56/khjb-0
4db371d9059b96e1e1e42757a8e349ca4529f79c
[ "Apache-2.0" ]
null
null
null
The Knapsack Problem/The Knapsack Problem/Function definition .cpp
duardo56/khjb-0
4db371d9059b96e1e1e42757a8e349ca4529f79c
[ "Apache-2.0" ]
null
null
null
#ifdef __cplusplus__ #include <cstdlib> #else #include <stdlib.h> #endif #include <iostream> #include <vector> #include "Info.h" using namespace std; int Knapsack::fill_pick_array() // fill the other array { for (int i = 0 ; i <= 100 ; i ++) { for (int j = 0 ; j <=100 ; j++) { item_picked [i][j] = 0...
19.304147
115
0.570781
duardo56
36a16c354cc6e4f2bfa3768d7f8691c791808f77
19,278
hpp
C++
src/backend/opencl/kernel/orb.hpp
JuliaComputing/arrayfire
93427f09ff928f97df29c0e358c3fcf6b478bec6
[ "BSD-3-Clause" ]
1
2018-06-14T23:49:18.000Z
2018-06-14T23:49:18.000Z
src/backend/opencl/kernel/orb.hpp
JuliaComputing/arrayfire
93427f09ff928f97df29c0e358c3fcf6b478bec6
[ "BSD-3-Clause" ]
1
2015-07-02T15:53:02.000Z
2015-07-02T15:53:02.000Z
src/backend/opencl/kernel/orb.hpp
JuliaComputing/arrayfire
93427f09ff928f97df29c0e358c3fcf6b478bec6
[ "BSD-3-Clause" ]
1
2018-02-26T17:11:03.000Z
2018-02-26T17:11:03.000Z
/******************************************************* * Copyright (c) 2014, ArrayFire * All rights reserved. * * This file is distributed under 3-clause BSD license. * The complete license agreement can be obtained at: * http://arrayfire.com/licenses/BSD-3-Clause **********************************************...
38.098814
139
0.549746
JuliaComputing
36a35d419f9d471336542272fe85f752a50a8bc2
178
hpp
C++
Structural-patterns/1_Adapter/src/items/aitem.hpp
PP189B/Design-patterns-practice
3fd7f9a3fa85dcf1e48680662d9bc3ac41796b69
[ "MIT" ]
null
null
null
Structural-patterns/1_Adapter/src/items/aitem.hpp
PP189B/Design-patterns-practice
3fd7f9a3fa85dcf1e48680662d9bc3ac41796b69
[ "MIT" ]
null
null
null
Structural-patterns/1_Adapter/src/items/aitem.hpp
PP189B/Design-patterns-practice
3fd7f9a3fa85dcf1e48680662d9bc3ac41796b69
[ "MIT" ]
null
null
null
#pragma once #include <cstdint> namespace Items { struct AItem { protected: AItem() {} public: virtual ~AItem() {} }; //!struct AItem } //!namespace Items
9.888889
23
0.595506
PP189B
36a7a10260653b7b8dd6ce2b6e5ad66ee872ad9d
367
cpp
C++
Under difficulty 1000/118A_Theatre_Square.cpp
zerospook/Codeforces_PROBLEMSET
c9475318a12d65d5c7b93cadb673e6725ef1d1c3
[ "MIT" ]
null
null
null
Under difficulty 1000/118A_Theatre_Square.cpp
zerospook/Codeforces_PROBLEMSET
c9475318a12d65d5c7b93cadb673e6725ef1d1c3
[ "MIT" ]
null
null
null
Under difficulty 1000/118A_Theatre_Square.cpp
zerospook/Codeforces_PROBLEMSET
c9475318a12d65d5c7b93cadb673e6725ef1d1c3
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; #define endl "\n" #define int long long #define IOS ios_base::sync_with_stdio(0), cin.tie(0), cout.tie(0); #define mod 1e9 + 7 int32_t main() { IOS int n, m, a, p, q; cin>>n>>m>>a; (n%a == 0) ? p = n/a : p = n/a+1; (m%a == 0) ? q = m/a :...
18.35
67
0.498638
zerospook
36a9d7c60f90e31dbac0116e28c2c496981aaa9b
431
hpp
C++
include/callisto/framework/type_traits.hpp
Anton-Vasyaev/callisto.framework
4013fcfdae4adbee4c3b368fd3a43468dc287918
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
include/callisto/framework/type_traits.hpp
Anton-Vasyaev/callisto.framework
4013fcfdae4adbee4c3b368fd3a43468dc287918
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
include/callisto/framework/type_traits.hpp
Anton-Vasyaev/callisto.framework
4013fcfdae4adbee4c3b368fd3a43468dc287918
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
#pragma once #include <type_traits> namespace terramagnia::framework { template<typename T, typename... Rest> struct is_any : std::false_type {}; template<typename T, typename First> struct is_any<T, First> : std::is_same<T, First> {}; template<typename T, typename First, typename... Rest> struct is_any<T, First, ...
21.55
94
0.696056
Anton-Vasyaev
36ae8f701c8e68fe745e33941e70e5648c75ba32
19,293
cpp
C++
src/functionbar.cpp
SelfSellTeam/Wallet
15a047a308fb0145c6d5df4e54c53a58b59fbf07
[ "MIT" ]
1
2018-05-17T18:52:36.000Z
2018-05-17T18:52:36.000Z
src/functionbar.cpp
SelfSellTeam/Wallet
15a047a308fb0145c6d5df4e54c53a58b59fbf07
[ "MIT" ]
null
null
null
src/functionbar.cpp
SelfSellTeam/Wallet
15a047a308fb0145c6d5df4e54c53a58b59fbf07
[ "MIT" ]
null
null
null
#include "functionbar.h" #include "ui_functionbar.h" #include "goopal.h" #include "commondialog.h" #include "debug_log.h" #include "datamgr.h" #include "extra/dynamicmove.h" #include <QPainter> #include <QDebug> //#include <qmessagebox.h> FunctionBar::FunctionBar(QWidget *parent) : QWidget(parent), u...
42.778271
240
0.655886
SelfSellTeam
36aff18fbc2e2cd6ab342f27e0589a04d57a2744
4,714
cpp
C++
test/expression/expression_test.cpp
xinzhang1234/peloton
9b11d92dd5a2a0b32d5c39a9ba0b1aa45fe0b654
[ "Apache-2.0" ]
2
2017-07-24T12:25:58.000Z
2022-03-17T11:43:42.000Z
test/expression/expression_test.cpp
xinzhang1234/peloton
9b11d92dd5a2a0b32d5c39a9ba0b1aa45fe0b654
[ "Apache-2.0" ]
null
null
null
test/expression/expression_test.cpp
xinzhang1234/peloton
9b11d92dd5a2a0b32d5c39a9ba0b1aa45fe0b654
[ "Apache-2.0" ]
1
2021-11-23T13:48:01.000Z
2021-11-23T13:48:01.000Z
//===----------------------------------------------------------------------===// // // Peloton // // expression_test.cpp // // Identification: test/expression/expression_test.cpp // // Copyright (c) 2015-16, Carnegie Mellon University Database Group // //===--------------------------------------...
38.958678
80
0.644675
xinzhang1234
a5e053fa9979d5684858536449549f13188a2514
1,036
cpp
C++
dsa-learning-series/LRNDSA01/LADDU.cpp
patwadeepak/codechef
735c5236cf574968b2396a829717f750d642233f
[ "Apache-2.0" ]
null
null
null
dsa-learning-series/LRNDSA01/LADDU.cpp
patwadeepak/codechef
735c5236cf574968b2396a829717f750d642233f
[ "Apache-2.0" ]
null
null
null
dsa-learning-series/LRNDSA01/LADDU.cpp
patwadeepak/codechef
735c5236cf574968b2396a829717f750d642233f
[ "Apache-2.0" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define FastIO ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0); #define ll long long int int main(){ FastIO // solution start here int t; cin >> t; while(t--){ int laddu = 0; int activities; string origin; ...
25.9
68
0.42471
patwadeepak
a5e831a311e388a3e460a077d4a98331c066d916
22,383
cc
C++
wrappers/8.1.1/vtkCompositePolyDataMapper2Wrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
6
2016-02-03T12:48:36.000Z
2020-09-16T15:07:51.000Z
wrappers/8.1.1/vtkCompositePolyDataMapper2Wrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
4
2016-02-13T01:30:43.000Z
2020-03-30T16:59:32.000Z
wrappers/8.1.1/vtkCompositePolyDataMapper2Wrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
null
null
null
/* this file has been autogenerated by vtkNodeJsWrap */ /* editing this might proof futile */ #define VTK_WRAPPING_CXX #define VTK_STREAMS_FWD_ONLY #include <nan.h> #include "vtkOpenGLPolyDataMapperWrap.h" #include "vtkCompositePolyDataMapper2Wrap.h" #include "vtkObjectBaseWrap.h" #include "vtkCompositeDataDisplayAtt...
34.810264
126
0.746906
axkibe
a5e8bd3f6300f9f3be70dc462591fe326b74e49a
3,679
hpp
C++
Kernel/Arch/i686/regs.hpp
the-grue/Panix
7f926f8ba2bb551648037dc4e26bb8699c161536
[ "MIT" ]
80
2021-08-14T09:37:52.000Z
2022-03-30T14:09:37.000Z
Kernel/Arch/i686/regs.hpp
panix-os-dev-team/Panix
a65c0d86c72399ee1eec641a32a1868eedb0cc3e
[ "MIT" ]
130
2019-05-07T16:56:50.000Z
2020-09-29T00:16:17.000Z
Kernel/Arch/i686/regs.hpp
panix-os-dev-team/Panix
a65c0d86c72399ee1eec641a32a1868eedb0cc3e
[ "MIT" ]
1
2021-07-27T01:21:39.000Z
2021-07-27T01:21:39.000Z
/** * @file regs.hpp * @author Keeton Feavel (keetonfeavel@cedarville.edu) * @brief i686 control register definitions. C & C++ compatible header. * @version 0.3 * @date 2019-12-10 * * @copyright Copyright the Xyris Contributors (c) 2019 * */ #pragma once #include <stdint.h> #include <stddef.h> /** * @brief A...
30.915966
110
0.63713
the-grue
a5e9284bc188156590f95431bfd8ee2b6919c223
1,259
cpp
C++
samples/EarthTrackball/src/Quake.cpp
matchingponies/Cinder-Pivot
ca2c2dae43e8fb49f04833ab8be2a92d1d24781f
[ "BSD-2-Clause" ]
null
null
null
samples/EarthTrackball/src/Quake.cpp
matchingponies/Cinder-Pivot
ca2c2dae43e8fb49f04833ab8be2a92d1d24781f
[ "BSD-2-Clause" ]
null
null
null
samples/EarthTrackball/src/Quake.cpp
matchingponies/Cinder-Pivot
ca2c2dae43e8fb49f04833ab8be2a92d1d24781f
[ "BSD-2-Clause" ]
null
null
null
/* * Quake.cpp * * Created by Robert Hodgin on 7/1/09. * Copyright 2009 The Barbarian Group. All rights reserved. * */ #include "Quake.h" #include "cinder/CinderMath.h" #include <sstream> using std::ostringstream; using namespace ci; using std::string; Quake::Quake() { } Quake::Quake( float aLat, float aLo...
18.514706
75
0.614774
matchingponies
a5f7f02b9ebe146abac38c384b15659f2ea102df
326
cpp
C++
C++_Primer_4th_Edition/ch15/Bulk_item.cpp
EyLinGer/practices
66b3388461c5f455111bd6e4b81b0eae7f58f75e
[ "MIT" ]
null
null
null
C++_Primer_4th_Edition/ch15/Bulk_item.cpp
EyLinGer/practices
66b3388461c5f455111bd6e4b81b0eae7f58f75e
[ "MIT" ]
null
null
null
C++_Primer_4th_Edition/ch15/Bulk_item.cpp
EyLinGer/practices
66b3388461c5f455111bd6e4b81b0eae7f58f75e
[ "MIT" ]
null
null
null
#include "Bulk_item.h" inline Bulk_item::Bulk_item(std::size_t mq, double dsc) : min_qty(mq), discount(dsc) { } Bulk_item::~Bulk_item() {} double Bulk_item::net_price(std::size_t cnt) const { if(cnt >= min_qty) { return cnt * (1 - discount) * price; } else { return cnt * price; ...
15.52381
84
0.592025
EyLinGer
570904d992c29246f8993261bd457444e59a2bfa
1,719
hpp
C++
libs/core/include/fcppt/either/map.hpp
freundlich/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
13
2015-02-21T18:35:14.000Z
2019-12-29T14:08:29.000Z
libs/core/include/fcppt/either/map.hpp
cpreh/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
5
2016-08-27T07:35:47.000Z
2019-04-21T10:55:34.000Z
libs/core/include/fcppt/either/map.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_EITHER_MAP_HPP_INCLUDED #define FCPPT_EITHER_MAP_HPP_INCLUDED #include <fcppt/move_i...
34.38
98
0.742874
freundlich
570994d372556a7a79ba547d65505156b6c2f291
5,140
cpp
C++
src/DSys_Main.cpp
daher-alfawares/xr.desktop
218a7cff7a9be5865cf786d7cad31da6072f7348
[ "Apache-2.0" ]
1
2018-09-20T10:01:30.000Z
2018-09-20T10:01:30.000Z
src/DSys_Main.cpp
daher-alfawares/xr.desktop
218a7cff7a9be5865cf786d7cad31da6072f7348
[ "Apache-2.0" ]
null
null
null
src/DSys_Main.cpp
daher-alfawares/xr.desktop
218a7cff7a9be5865cf786d7cad31da6072f7348
[ "Apache-2.0" ]
null
null
null
//C++ /* ---------------------------------------------------- The Desktop Project ------------------ Copyright 2004 Daher Alfawares 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.apac...
23.796296
89
0.657004
daher-alfawares
570a7bd5b352484dc13be6fdcfaf47d372f48349
33,169
cpp
C++
src/validator.cpp
Eleven-Z/LigeroRSA
17d8b3d00604da1e0272035e871fac3add8d7551
[ "Apache-2.0" ]
null
null
null
src/validator.cpp
Eleven-Z/LigeroRSA
17d8b3d00604da1e0272035e871fac3add8d7551
[ "Apache-2.0" ]
1
2021-08-09T05:48:09.000Z
2021-08-09T05:48:09.000Z
src/validator.cpp
Eleven-Z/LigeroRSA
17d8b3d00604da1e0272035e871fac3add8d7551
[ "Apache-2.0" ]
null
null
null
#include <sstream> #include "Ligero.hpp" #include "Math.hpp" #include <boost/multiprecision/miller_rabin.hpp> #include "LatticeEncryption.hpp" #include "Factoring.hpp" #include "Common.hpp" #include <boost/filesystem.hpp> #include <boost/filesystem/fstream.hpp> #include <boost/archive/binary_iarchive.hpp> using nam...
37.907429
159
0.457083
Eleven-Z
570ca201775127e169c0ebc909bb01290944e6d0
843
cxx
C++
Kernel/Tasking/Syscalls/x86/Syscalls.cxx
Plunkerusr/podsOS
b68e2ebdaa4eb99366dea6cc5509ba0c92c3601a
[ "MIT" ]
null
null
null
Kernel/Tasking/Syscalls/x86/Syscalls.cxx
Plunkerusr/podsOS
b68e2ebdaa4eb99366dea6cc5509ba0c92c3601a
[ "MIT" ]
null
null
null
Kernel/Tasking/Syscalls/x86/Syscalls.cxx
Plunkerusr/podsOS
b68e2ebdaa4eb99366dea6cc5509ba0c92c3601a
[ "MIT" ]
null
null
null
#include "../Syscalls.hpp" #include <Tasking/Scheduler/Scheduler.hpp> namespace Kernel::Syscalls { using namespace Tasking; void SyscallsManager::handle_interrupt(Trapframe* regs) { if (static_cast<Syscall>(regs->eax) == Syscall::SchedYield) { regs->eax = 0; Scheduler::the().reschedule(); } ...
21.615385
118
0.489917
Plunkerusr
570e1c65bfa5bf7ed1709ea586a9449b423ec04f
50
inl
C++
glm/glm/detail/type_vec.inl
gregsimon/shaderharness
22e7229c490bbca1a9cce4426f64a784edf6e8cf
[ "BSD-3-Clause" ]
1,851
2017-03-24T00:08:21.000Z
2022-03-29T21:14:30.000Z
glm/glm/detail/type_vec.inl
gregsimon/shaderharness
22e7229c490bbca1a9cce4426f64a784edf6e8cf
[ "BSD-3-Clause" ]
964
2017-03-24T01:20:31.000Z
2022-03-28T14:18:30.000Z
glm/glm/detail/type_vec.inl
gregsimon/shaderharness
22e7229c490bbca1a9cce4426f64a784edf6e8cf
[ "BSD-3-Clause" ]
458
2017-05-17T09:04:01.000Z
2022-03-31T11:52:07.000Z
/// @ref core /// @file glm/detail/type_vec.inl
16.666667
34
0.62
gregsimon
570e342d5d16f72a30e420e9692cd723280f760a
8,276
cpp
C++
ModelViewer/ViewerFoundation/Utilities/NuoPackage.cpp
erpapa/NuoModelViewer
0dcb8bf99cb49c6e2c9535ed178e01674fa26824
[ "MIT" ]
265
2017-03-15T17:11:27.000Z
2022-03-30T07:50:00.000Z
ModelViewer/ViewerFoundation/Utilities/NuoPackage.cpp
erpapa/NuoModelViewer
0dcb8bf99cb49c6e2c9535ed178e01674fa26824
[ "MIT" ]
6
2017-07-03T01:57:49.000Z
2020-01-24T19:28:22.000Z
ModelViewer/ViewerFoundation/Utilities/NuoPackage.cpp
erpapa/NuoModelViewer
0dcb8bf99cb49c6e2c9535ed178e01674fa26824
[ "MIT" ]
39
2016-09-30T03:26:44.000Z
2022-01-24T07:37:20.000Z
// // NuoPackage.cpp // ZipTest // // Created by Dong on 11/28/17. // Copyright © 2017 Dong. All rights reserved. // #include "NuoPackage.h" #include "assert.h" #include "zlib.h" struct __attribute__ ((__packed__)) PackageEndRecord { unsigned int signature; // 0x06054b50 unsigned sh...
28.054237
129
0.590986
erpapa
5710530d0593dea97bf8bd2fc7542c792e847344
5,780
cpp
C++
aws-cpp-sdk-mediaconvert/source/model/Hdr10Metadata.cpp
curiousjgeorge/aws-sdk-cpp
09b65deba03cfbef9a1e5d5986aa4de71bc03cd8
[ "Apache-2.0" ]
2
2019-03-11T15:50:55.000Z
2020-02-27T11:40:27.000Z
aws-cpp-sdk-mediaconvert/source/model/Hdr10Metadata.cpp
curiousjgeorge/aws-sdk-cpp
09b65deba03cfbef9a1e5d5986aa4de71bc03cd8
[ "Apache-2.0" ]
null
null
null
aws-cpp-sdk-mediaconvert/source/model/Hdr10Metadata.cpp
curiousjgeorge/aws-sdk-cpp
09b65deba03cfbef9a1e5d5986aa4de71bc03cd8
[ "Apache-2.0" ]
1
2019-01-18T13:03:55.000Z
2019-01-18T13:03:55.000Z
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
22.316602
84
0.736851
curiousjgeorge
571144b52eb75f4ba66e84129c3e6dd8c95fc1b0
428
cpp
C++
Hazel/src/Platform/Vulkan/VulkanVertexArray.cpp
1111mp/Hazel
64d35f858f67f67917ae16c7f898346976911d14
[ "MIT" ]
null
null
null
Hazel/src/Platform/Vulkan/VulkanVertexArray.cpp
1111mp/Hazel
64d35f858f67f67917ae16c7f898346976911d14
[ "MIT" ]
null
null
null
Hazel/src/Platform/Vulkan/VulkanVertexArray.cpp
1111mp/Hazel
64d35f858f67f67917ae16c7f898346976911d14
[ "MIT" ]
null
null
null
#include "VulkanVertexArray.h" namespace Hazel { VulkanVertexArray::VulkanVertexArray() { } VulkanVertexArray::~VulkanVertexArray() { } void VulkanVertexArray::Bind() const { } void VulkanVertexArray::UnBind() const { } void VulkanVertexArray::AddVertexBuffer(const Ref<VertexBuffer>& ver...
14.758621
80
0.705607
1111mp
5711c210c36ffdf23681db857c50d600762995a4
1,213
cpp
C++
others/sort/heap_sort.cpp
qingdujun/mdsa
bc3527b40d573edfd94ee51334152e207278ca97
[ "Apache-2.0" ]
null
null
null
others/sort/heap_sort.cpp
qingdujun/mdsa
bc3527b40d573edfd94ee51334152e207278ca97
[ "Apache-2.0" ]
null
null
null
others/sort/heap_sort.cpp
qingdujun/mdsa
bc3527b40d573edfd94ee51334152e207278ca97
[ "Apache-2.0" ]
4
2019-08-17T06:06:46.000Z
2021-03-23T17:36:27.000Z
#include <iostream> using namespace std; template<typename T, typename F> void adjust_heap(T* begin, int parent, int length, F cmp) { T tmp = *(begin + parent); for (int child = 2 * parent + 1; child < length; child = 2 * parent + 1) { if (child+1 < length && cmp(*(begin+child+1), *(begin+child))) ...
25.270833
78
0.530091
qingdujun
5714c502ed8daf08971d0b4bdccaf04cbfb97415
10,392
hpp
C++
Base/include/Framework/Scalar.hpp
BlockProject3D/Framework
1c27ef19d9a12d158a2b53f6bd28dd2d8e678912
[ "BSD-3-Clause" ]
2
2019-02-02T20:48:17.000Z
2019-02-22T09:59:40.000Z
Base/include/Framework/Scalar.hpp
BlockProject3D/Framework
1c27ef19d9a12d158a2b53f6bd28dd2d8e678912
[ "BSD-3-Clause" ]
125
2020-01-14T18:26:38.000Z
2021-02-23T15:33:55.000Z
Base/include/Framework/Scalar.hpp
BlockProject3D/Framework
1c27ef19d9a12d158a2b53f6bd28dd2d8e678912
[ "BSD-3-Clause" ]
1
2020-05-26T08:55:10.000Z
2020-05-26T08:55:10.000Z
// Copyright (c) 2020, BlockProject 3D // // 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...
29.948127
91
0.58343
BlockProject3D
5715d0191981129920cc5d23a786d8820b474f98
53,227
cpp
C++
src/video_capture/swmix.cpp
tmenari/UltraGrid
1b3b27eb7c729f4886859bd7edccf4bbeaebf7ce
[ "BSD-3-Clause" ]
2
2019-03-02T06:28:38.000Z
2021-03-16T08:04:35.000Z
src/video_capture/swmix.cpp
mpiatka/UltraGrid
70a768b9990b9cae5a16e151e0f18ef534fecc9d
[ "BSD-3-Clause" ]
null
null
null
src/video_capture/swmix.cpp
mpiatka/UltraGrid
70a768b9990b9cae5a16e151e0f18ef534fecc9d
[ "BSD-3-Clause" ]
2
2019-04-14T20:55:20.000Z
2019-04-24T14:27:45.000Z
/* * Copyright (c) 2012-2021 CESNET z.s.p.o. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, is permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, this list ...
38.994139
130
0.484453
tmenari
57177e7fd9f9bd3c449a6c844bacda63e630e904
1,267
cpp
C++
lib/poplin/codelets.cpp
giantchen2012/poplibs
2bc6b6f3d40863c928b935b5da88f40ddd77078e
[ "MIT" ]
1
2021-02-23T05:58:24.000Z
2021-02-23T05:58:24.000Z
lib/poplin/codelets.cpp
giantchen2012/poplibs
2bc6b6f3d40863c928b935b5da88f40ddd77078e
[ "MIT" ]
null
null
null
lib/poplin/codelets.cpp
giantchen2012/poplibs
2bc6b6f3d40863c928b935b5da88f40ddd77078e
[ "MIT" ]
null
null
null
// Copyright (c) 2017 Graphcore Ltd. All rights reserved. #include "poplinCycleEstimators.hpp" #include <poplibs_support/codelets.hpp> #include <poplin/codelets.hpp> namespace poplin { const std::vector<std::string> winogradCodelets = { {"poplin::WgdKernelTransform<float,4,4,3,3>", "poplin::WgdKernelTransfor...
37.264706
78
0.704815
giantchen2012
5718594f3ed311516c2daf585ea0b1fcc8bbe5c5
824
cpp
C++
Plugins/IKPluginSandbox/Source/IKPluginSandbox/Private/AnimGraphNode_JacobianIK.cpp
monguri/IKSandbox
fc7df643acc1f6d6955b53c30f310e5f3906244c
[ "MIT" ]
1
2021-05-11T07:17:23.000Z
2021-05-11T07:17:23.000Z
Plugins/IKPluginSandbox/Source/IKPluginSandbox/Private/AnimGraphNode_JacobianIK.cpp
monguri/IKSandbox
fc7df643acc1f6d6955b53c30f310e5f3906244c
[ "MIT" ]
null
null
null
Plugins/IKPluginSandbox/Source/IKPluginSandbox/Private/AnimGraphNode_JacobianIK.cpp
monguri/IKSandbox
fc7df643acc1f6d6955b53c30f310e5f3906244c
[ "MIT" ]
1
2022-01-05T10:24:40.000Z
2022-01-05T10:24:40.000Z
// Fill out your copyright notice in the Description page of Project Settings. #include "AnimGraphNode_JacobianIK.h" ///////////////////////////////////////////////////// // UAnimGraphNode_LookAt #define LOCTEXT_NAMESPACE "AnimGraph_JacobianIK" UAnimGraphNode_JacobianIK::UAnimGraphNode_JacobianIK(const FObjectInit...
25.75
110
0.765777
monguri
571ec35a2998c07a41ad1f3fb14e5af9a6cc2713
1,437
hpp
C++
inc/hw/DataCopyWeightZPs.hpp
TeCSAR-UNCC/DeepDive
9af1bd90a89846ffb4802077c21a1be8e9ca9e8e
[ "BSD-4-Clause-UC" ]
14
2020-07-21T12:56:01.000Z
2022-01-10T04:06:50.000Z
inc/hw/DataCopyWeightZPs.hpp
TeCSAR-UNCC/DeepDive
9af1bd90a89846ffb4802077c21a1be8e9ca9e8e
[ "BSD-4-Clause-UC" ]
null
null
null
inc/hw/DataCopyWeightZPs.hpp
TeCSAR-UNCC/DeepDive
9af1bd90a89846ffb4802077c21a1be8e9ca9e8e
[ "BSD-4-Clause-UC" ]
1
2022-01-10T02:50:39.000Z
2022-01-10T02:50:39.000Z
#ifndef __COPY_WEIGHT_ZP_HEADER__ #define __COPY_WEIGHT_ZP_HEADER__ #include <global/net_headers.hpp> template < unsigned t_LAYER_i_LENGTH, unsigned t_LAYER_i_OFFSET, unsigned t_LAYER_i_1_LENGTH, unsigned t_LAYER_i_1_OFFSET, unsigned t_LAYER_i_2_LENGTH, unsigned t_LAYER_i_2_OFFSET> void copy_w...
24.775862
190
0.689631
TeCSAR-UNCC
571fa842d281bf48c000c91e8f6e23aa0d630252
1,238
cpp
C++
esp8266/arduino-libraries/firebase-arduino/test/dummies/FirebaseHttpClient_dummy.cpp
IngMultimediaUAO/esp8266-m2m-firebase
432ee1b25deeedfc738d5408d30394368bb2df0f
[ "MIT" ]
10
2017-08-18T20:02:40.000Z
2021-07-17T09:04:47.000Z
esp8266/arduino-libraries/firebase-arduino/test/dummies/FirebaseHttpClient_dummy.cpp
IngMultimediaUAO/esp8266-m2m-firebase
432ee1b25deeedfc738d5408d30394368bb2df0f
[ "MIT" ]
null
null
null
esp8266/arduino-libraries/firebase-arduino/test/dummies/FirebaseHttpClient_dummy.cpp
IngMultimediaUAO/esp8266-m2m-firebase
432ee1b25deeedfc738d5408d30394368bb2df0f
[ "MIT" ]
7
2018-02-07T08:51:34.000Z
2020-11-30T08:52:05.000Z
#ifdef __GNUC__ # define UNUSED_ARG(x) UNUSED_ ## x __attribute__((__unused__)) #else # define UNUSED_ARG(x) UNUSED_ ## x #endif #include "FirebaseHttpClient.h" class FirebaseHttpClientDummy : public FirebaseHttpClient { public: void setReuseConnection(bool UNUSED_ARG(reuse)) override { } void begin(const s...
22.925926
104
0.705977
IngMultimediaUAO
5729395f080f7162d6f35f90a0f46f8c79cc1699
5,832
cpp
C++
Luogu/P4314/segment_tree_lazy.cpp
codgician/ACM
391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4
[ "MIT" ]
2
2018-02-14T01:59:31.000Z
2018-03-28T03:30:45.000Z
Luogu/P4314/segment_tree_lazy.cpp
codgician/ACM
391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4
[ "MIT" ]
null
null
null
Luogu/P4314/segment_tree_lazy.cpp
codgician/ACM
391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4
[ "MIT" ]
2
2017-12-30T02:46:35.000Z
2018-03-28T03:30:49.000Z
#include <iostream> #include <cstdio> #include <algorithm> #include <cmath> #include <string> #include <cstring> #include <iomanip> #include <climits> #include <stack> #include <queue> #include <vector> #include <set> #include <map> #include <functional> #include <iterator> using namespace std; #define SIZE 100010 #de...
26.38914
103
0.619513
codgician
572dad42afe7383221e1ea0b72e771b4e0e2ddc8
1,072
cpp
C++
tools/java_dump2c_dump.cpp
STEMHA/FlashGraph
a16ec7a31b2e0f167a2af76ce494d3dbb25ca256
[ "Apache-2.0" ]
3
2018-03-30T08:39:40.000Z
2022-01-23T15:25:16.000Z
tools/java_dump2c_dump.cpp
Smerity/FlashGraph
9c3509ad8e97236eab273b4db27f03c55a7887d8
[ "Apache-2.0" ]
null
null
null
tools/java_dump2c_dump.cpp
Smerity/FlashGraph
9c3509ad8e97236eab273b4db27f03c55a7887d8
[ "Apache-2.0" ]
2
2021-06-10T07:27:11.000Z
2021-06-28T06:05:20.000Z
#include <stdio.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <vector> #include "workload.h" int main(int argc, char *argv[]) { char *workload_file = argv[1]; char *output_file = argv[2]; long length = 0; off_t *workloads = NULL; workloads = load_java_dump(workload_file, length); ...
21.44
80
0.647388
STEMHA
5733d815adac0d8ef0291214a6050f81438196b4
306
cpp
C++
solutions/1787/20101104T105317Z-3287805.cpp
Mistereo/timus-solutions
062540304c33312b75e0e8713c4b36c80fb220ab
[ "MIT" ]
11
2019-10-29T15:34:53.000Z
2022-03-14T14:45:09.000Z
solutions/1787/20101104T105317Z-3287805.cpp
Mistereo/timus-solutions
062540304c33312b75e0e8713c4b36c80fb220ab
[ "MIT" ]
null
null
null
solutions/1787/20101104T105317Z-3287805.cpp
Mistereo/timus-solutions
062540304c33312b75e0e8713c4b36c80fb220ab
[ "MIT" ]
6
2018-06-30T12:06:55.000Z
2021-03-20T08:46:33.000Z
#include <iostream> #include <cmath> #include <vector> #include <algorithm> using namespace std; void main () { int k,n; cin >> k >> n; int asd = 0; int x; for(int i=0; i<n; i++) { cin >> x; asd+=x; if(asd<=k) asd=0; else asd-=k; } cout << asd; system("pause"); }
14.571429
26
0.513072
Mistereo
573cdb118ba8bb1b4a6750250dca9b79411e1f9e
19,499
cpp
C++
source/tensor/test/TReduceSum.cpp
mfxss/NiuTensor
3739e29b789801e82cc904c78740accdfc16b889
[ "Apache-2.0" ]
1
2020-05-19T13:59:29.000Z
2020-05-19T13:59:29.000Z
source/tensor/test/TReduceSum.cpp
Daimengli/NiuTensor
3739e29b789801e82cc904c78740accdfc16b889
[ "Apache-2.0" ]
null
null
null
source/tensor/test/TReduceSum.cpp
Daimengli/NiuTensor
3739e29b789801e82cc904c78740accdfc16b889
[ "Apache-2.0" ]
null
null
null
/* NiuTrans.Tensor - an open-source tensor library * Copyright (C) 2017, Natural Language Processing Lab, Northestern University. * 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 o...
24.343321
91
0.585774
mfxss
574310fbbb5f47e9e27efb872828f58ccaef0701
10,563
hpp
C++
Game/FutureScene.hpp
Epitech-Tek2/superBonobros2
525ab414215f5b67829bf200797c2055141cb7b9
[ "MIT" ]
null
null
null
Game/FutureScene.hpp
Epitech-Tek2/superBonobros2
525ab414215f5b67829bf200797c2055141cb7b9
[ "MIT" ]
null
null
null
Game/FutureScene.hpp
Epitech-Tek2/superBonobros2
525ab414215f5b67829bf200797c2055141cb7b9
[ "MIT" ]
null
null
null
/* ** EPITECH PROJECT, 2021 ** G-JAM-001-STG-0-1-jam-louis.kleiver ** File description: ** FutureScene */ #ifndef FUTURESCENE_HPP_ #define FUTURESCENE_HPP_ #include "AScene.hpp" #include "WinScene.hpp" #include "GameOverScene.hpp" #include "AutomaticResizeSystem.hpp" #include "DrawSystem.hpp" ...
54.169231
184
0.606362
Epitech-Tek2
57441b640958602cfc2c808c20f1a9d9502e7737
8,271
inl
C++
Engine/Src/Vulkan/GfRender/GraphicResources/GfGraphicResourcesShared_Platform.inl
alapontgr/Engine
6be363d79b9fdaee813b196db12ae296a6ca8089
[ "MIT" ]
null
null
null
Engine/Src/Vulkan/GfRender/GraphicResources/GfGraphicResourcesShared_Platform.inl
alapontgr/Engine
6be363d79b9fdaee813b196db12ae296a6ca8089
[ "MIT" ]
null
null
null
Engine/Src/Vulkan/GfRender/GraphicResources/GfGraphicResourcesShared_Platform.inl
alapontgr/Engine
6be363d79b9fdaee813b196db12ae296a6ca8089
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // // Author: Sergio Alapont Granero (seralgrainf@gmail.com) // Date: 2019/02/24 // File: GfGraphicResourcesShared_Platform.inl // // Copyright (c) 2018 (See README.md) // /////////////////////////////////////////////////////////////////...
27.662207
103
0.73534
alapontgr
5744cf99ed899761de47a11b059dcbb89a043025
216
cpp
C++
Exercise 002 - Variables/variable4.cpp
tbrown57/Tutorials
0316e1101d658d0b144fb5fe8ba5d25b7f27769c
[ "MIT" ]
null
null
null
Exercise 002 - Variables/variable4.cpp
tbrown57/Tutorials
0316e1101d658d0b144fb5fe8ba5d25b7f27769c
[ "MIT" ]
null
null
null
Exercise 002 - Variables/variable4.cpp
tbrown57/Tutorials
0316e1101d658d0b144fb5fe8ba5d25b7f27769c
[ "MIT" ]
null
null
null
// Create 3 variables of the same type, using a comma-separated list and display the result. #include <iostream> using namespace std; int main (){ int x = 5, y = 10, z = 15; cout << x + y + z; return 0; }
19.636364
93
0.62963
tbrown57
5747e4daadf3be0ac5fb88f4218461cc14325dbf
2,346
cpp
C++
CentipedeGame/UnmutedAudioSource.cpp
jmscshipp/GAM-372-Centipede
7b76a7683909d6f891a4587dec5e5fdfb90335d4
[ "MIT" ]
null
null
null
CentipedeGame/UnmutedAudioSource.cpp
jmscshipp/GAM-372-Centipede
7b76a7683909d6f891a4587dec5e5fdfb90335d4
[ "MIT" ]
null
null
null
CentipedeGame/UnmutedAudioSource.cpp
jmscshipp/GAM-372-Centipede
7b76a7683909d6f891a4587dec5e5fdfb90335d4
[ "MIT" ]
null
null
null
#include "UnmutedAudioSource.h" UnmutedAudioSource::UnmutedAudioSource() { centiFootstep.setBuffer(ResourceManager::GetSound("CentiFootStep")); mushBonus.setBuffer(ResourceManager::GetSound("MushBonus")); playerDeath.setBuffer(ResourceManager::GetSound("PlayerDeath")); bulletFired.setBuffer(ResourceManager:...
19.55
70
0.707161
jmscshipp
574a460a647bdc6935914d5d4bdb7fc0c56eda6f
5,801
cpp
C++
uwsim_resources/uwsim_osgworks/src/osgwTools/Capabilities.cpp
epsilonorion/usv_lsa_sim_copy
d189f172dc1d265b7688c7dc8375a65ac4a9c048
[ "Apache-2.0" ]
1
2020-11-30T09:55:33.000Z
2020-11-30T09:55:33.000Z
uwsim_resources/uwsim_osgworks/src/osgwTools/Capabilities.cpp
epsilonorion/usv_lsa_sim_copy
d189f172dc1d265b7688c7dc8375a65ac4a9c048
[ "Apache-2.0" ]
null
null
null
uwsim_resources/uwsim_osgworks/src/osgwTools/Capabilities.cpp
epsilonorion/usv_lsa_sim_copy
d189f172dc1d265b7688c7dc8375a65ac4a9c048
[ "Apache-2.0" ]
2
2020-11-21T19:50:54.000Z
2020-12-27T09:35:29.000Z
/*************** <auto-copyright.pl BEGIN do not edit this line> ************** * * osgWorks is (C) Copyright 2009-2012 by Kenneth Mark Bryden * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License version 2.1 as published by the Fr...
32.960227
125
0.615411
epsilonorion
574ebcc89d55adc1924b921b2be44d36eb25bf93
7,558
cpp
C++
src/vedo/iris-gm/Iris-GM.cpp
IAries/VEDO
8268005d381268cafcf7024ff38fef91c6318ef4
[ "BSD-3-Clause" ]
null
null
null
src/vedo/iris-gm/Iris-GM.cpp
IAries/VEDO
8268005d381268cafcf7024ff38fef91c6318ef4
[ "BSD-3-Clause" ]
null
null
null
src/vedo/iris-gm/Iris-GM.cpp
IAries/VEDO
8268005d381268cafcf7024ff38fef91c6318ef4
[ "BSD-3-Clause" ]
null
null
null
#include <mpi.h> #include <vedo/framework/Assembler.h> #include <vedo/framework/Consultant.h> #include <vedo/framework/DOModel.h> #include <vedo/framework/DOWorld.h> #include <vedo/framework/GeometricShape.h> #include <vedo/framework/SimMediator.h> #include <vedo/iris-gm/NBSParallelConsultant.h> #include <vedo/ModuleLi...
38.758974
113
0.498942
IAries
57507b0795cbb2d0a4b249bd66d3eff15b024604
917
hpp
C++
jogo/src/utils/classes/obstacle.hpp
Hyodar/jogo-tecprog
3a8cdf2cae583ad88a9377d0fbf796ba45d9d408
[ "MIT" ]
null
null
null
jogo/src/utils/classes/obstacle.hpp
Hyodar/jogo-tecprog
3a8cdf2cae583ad88a9377d0fbf796ba45d9d408
[ "MIT" ]
null
null
null
jogo/src/utils/classes/obstacle.hpp
Hyodar/jogo-tecprog
3a8cdf2cae583ad88a9377d0fbf796ba45d9d408
[ "MIT" ]
null
null
null
#ifndef OBSTACLE_HPP_ #define OBSTACLE_HPP_ #include "entity.hpp" namespace bardadv::characters { class Enemy; class Bardo; class FielEscudeiro; } namespace bardadv::obstacles { using bardadv::characters::Enemy; using bardadv::characters::Bardo; using bardadv::characters::FielEscudeiro; class Obstacle : public ba...
20.377778
75
0.72301
Hyodar
5757cb8a148cf012946a881eb6aae78b0e45aa3a
2,307
cpp
C++
LeetCode/ThousandOne/0218-skyline.cpp
Ginkgo-Biloba/Cpp-Repo1-VS
231c68a055e6bf69a3f7c224e7c0182b67ce5b67
[ "Apache-2.0" ]
null
null
null
LeetCode/ThousandOne/0218-skyline.cpp
Ginkgo-Biloba/Cpp-Repo1-VS
231c68a055e6bf69a3f7c224e7c0182b67ce5b67
[ "Apache-2.0" ]
null
null
null
LeetCode/ThousandOne/0218-skyline.cpp
Ginkgo-Biloba/Cpp-Repo1-VS
231c68a055e6bf69a3f7c224e7c0182b67ce5b67
[ "Apache-2.0" ]
null
null
null
#include "leetcode.hpp" /* 218. 天际线问题 城市的天际线是从远处观看该城市中所有建筑物形成的轮廓的外部轮廓。现在,假设您获得了城市风光照片(图A)上显示的所有建筑物的位置和高度,请编写一个程序以输出由这些建筑物形成的天际线(图B)。 https://leetcode-cn.com/static/images/problemset/skyline1.jpg https://leetcode-cn.com/static/images/problemset/skyline2.jpg https://leetcode.com/static/images/problemset/skyline1.jpg...
30.76
162
0.646727
Ginkgo-Biloba
575c380395ff011a876fa5c2110121563dd2f5d6
2,157
cpp
C++
src/asset/texture_loader.cpp
krait-games/hyperion-engine
5c52085658630fbf0992f794ecfcb25325b80b1c
[ "MIT" ]
21
2022-01-23T15:20:59.000Z
2022-03-31T22:10:14.000Z
src/asset/texture_loader.cpp
krait-games/hyperion-engine
5c52085658630fbf0992f794ecfcb25325b80b1c
[ "MIT" ]
2
2022-01-30T22:24:58.000Z
2022-03-28T02:37:07.000Z
src/asset/texture_loader.cpp
krait-games/hyperion-engine
5c52085658630fbf0992f794ecfcb25325b80b1c
[ "MIT" ]
2
2022-02-10T13:55:26.000Z
2022-03-31T22:10:16.000Z
#include "texture_loader.h" #define STB_IMAGE_IMPLEMENTATION #include "../util/img/stb_image.h" #include "../math/math_util.h" #include "../rendering/texture_2D.h" #include "../opengl.h" #include <iostream> namespace hyperion { std::shared_ptr<Loadable> TextureLoader::LoadFromFile(const std::string &path) { int...
31.720588
98
0.632823
krait-games
575da6029382569ced87e4a67bf0c92adf4b6c8e
157
cpp
C++
Matematica/2297-Volta_faculdade_fisica.cpp
oDallas/URI
2f32e224e86e934dc7742ee3e32dd7a48d47921d
[ "MIT" ]
null
null
null
Matematica/2297-Volta_faculdade_fisica.cpp
oDallas/URI
2f32e224e86e934dc7742ee3e32dd7a48d47921d
[ "MIT" ]
null
null
null
Matematica/2297-Volta_faculdade_fisica.cpp
oDallas/URI
2f32e224e86e934dc7742ee3e32dd7a48d47921d
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { int v; unsigned int t; while (scanf("%d %u", &v, &t) != EOF) { cout << 2*v*t << endl; } }
14.272727
41
0.528662
oDallas
575ec3c0b479b2d29f82dc6f5bae8f73748bc43a
1,052
cpp
C++
strange_list.cpp
De-Fau-Lt/Solutions
2539f815ab5c77769b3e3cc00fe0e7a7ec940ad5
[ "MIT" ]
null
null
null
strange_list.cpp
De-Fau-Lt/Solutions
2539f815ab5c77769b3e3cc00fe0e7a7ec940ad5
[ "MIT" ]
null
null
null
strange_list.cpp
De-Fau-Lt/Solutions
2539f815ab5c77769b3e3cc00fe0e7a7ec940ad5
[ "MIT" ]
null
null
null
/* ID: prayagr1 TASK: LANG: C++ */ #include<bits/stdc++.h> using namespace std; void solve() { int n,x; cin >> n >> x; long long sum=0; vector<pair<long long,long long>> arr; for(int i=0;i<n;i++) { int a; cin >> a; arr.push_back(make_pair(1,a)); } int f=0; for(int i=0;i<arr...
18.137931
71
0.530418
De-Fau-Lt
57601a113197e2c756464375f041effa8b3a2fd3
6,544
hpp
C++
utils/yrp2warts/yarrpfile.hpp
alexmarder/yarrp
90cebbc93986ea3af245a71b6a57c68e7d849753
[ "BSD-3-Clause" ]
17
2018-12-05T20:03:58.000Z
2021-10-31T06:40:37.000Z
utils/yrp2warts/yarrpfile.hpp
alexmarder/yarrp
90cebbc93986ea3af245a71b6a57c68e7d849753
[ "BSD-3-Clause" ]
7
2019-01-23T18:16:07.000Z
2022-01-16T10:13:51.000Z
utils/yrp2warts/yarrpfile.hpp
alexmarder/yarrp
90cebbc93986ea3af245a71b6a57c68e7d849753
[ "BSD-3-Clause" ]
4
2020-05-13T05:39:44.000Z
2022-03-21T17:25:08.000Z
/**************************************************************************** * Copyright (c) 2016-2019 Justin P. Rohrer <jprohrer@tancad.org> * All rights reserved. * * Program: $Id: yarrpfile.hpp $ * Description: Process Yarrp output * * Attribution: R. Beverly, "Yarrp'ing the Internet: Randomized High-...
23.042254
308
0.590312
alexmarder
576358fff6ce4cce038700eb7fa46346297e37a1
604
cpp
C++
lib/sai_redis_acl.cpp
vmittal-msft/sonic-sairedis
6baff35880005aee2854fdcde105c4322c28d04f
[ "Apache-2.0" ]
50
2016-03-23T08:04:44.000Z
2022-03-25T05:06:16.000Z
lib/sai_redis_acl.cpp
vmittal-msft/sonic-sairedis
6baff35880005aee2854fdcde105c4322c28d04f
[ "Apache-2.0" ]
589
2016-04-01T04:09:09.000Z
2022-03-31T00:38:10.000Z
lib/sai_redis_acl.cpp
vmittal-msft/sonic-sairedis
6baff35880005aee2854fdcde105c4322c28d04f
[ "Apache-2.0" ]
234
2016-03-28T20:59:21.000Z
2022-03-23T09:26:22.000Z
#include "sai_redis.h" REDIS_GENERIC_QUAD(ACL_TABLE,acl_table); REDIS_GENERIC_QUAD(ACL_ENTRY,acl_entry); REDIS_GENERIC_QUAD(ACL_COUNTER,acl_counter); REDIS_GENERIC_QUAD(ACL_RANGE,acl_range); REDIS_GENERIC_QUAD(ACL_TABLE_GROUP,acl_table_group); REDIS_GENERIC_QUAD(ACL_TABLE_GROUP_MEMBER,acl_table_group_member); const s...
31.789474
66
0.849338
vmittal-msft
5764bf0730ae8d9278f7f61b33ff046bb0252c3f
631
cpp
C++
LeetCode/Array/CorporateFlightBookings.cpp
a4org/Angorithm4
d2227d36608491bed270375bcea67fbde134209a
[ "MIT" ]
null
null
null
LeetCode/Array/CorporateFlightBookings.cpp
a4org/Angorithm4
d2227d36608491bed270375bcea67fbde134209a
[ "MIT" ]
null
null
null
LeetCode/Array/CorporateFlightBookings.cpp
a4org/Angorithm4
d2227d36608491bed270375bcea67fbde134209a
[ "MIT" ]
null
null
null
/* * LeetCode 1109 Corporate Flight Bookings * Medium * Jiawei Wang * 2022.5.15 */ #include <vector> using namespace::std; class Solution { public: vector<int> corpFlightBookings(vector<vector<int>>& bookings, int n) { vector<int> reserved(n+2, 0); for (auto booking : bookings) { reserved[book...
18.028571
72
0.587956
a4org
576600cdb62606b64393ba191197a91ae9dc9943
3,011
cpp
C++
Lord of the dark Tavern/sfSpriteGen.cpp
audijan123/jnr_dev_game_cpp
ee30e3d99b53439cbbf51ccfa2744eb35eb4cd78
[ "Apache-2.0" ]
null
null
null
Lord of the dark Tavern/sfSpriteGen.cpp
audijan123/jnr_dev_game_cpp
ee30e3d99b53439cbbf51ccfa2744eb35eb4cd78
[ "Apache-2.0" ]
null
null
null
Lord of the dark Tavern/sfSpriteGen.cpp
audijan123/jnr_dev_game_cpp
ee30e3d99b53439cbbf51ccfa2744eb35eb4cd78
[ "Apache-2.0" ]
null
null
null
#include "sfSpriteGen.hpp" namespace JGE { SpriteGen::SpriteGen(main_base *r) : pResourcenManager(r) { } SpriteGen::~SpriteGen() { } sf::Sprite* SpriteGen::erstelle_sprite(const std::string& texture, const bool& origin, const sf::Vector2f& position, const sf::Vecto...
24.479675
125
0.685154
audijan123
57671e50e4dee3d5779b94e4bf3041a4492b178d
1,583
cpp
C++
test/test_finger_joints_service.cpp
CentroEPiaggio/finger_fk
57097fac2938af5667e31cbec6e9c9ba2d6406da
[ "BSD-3-Clause" ]
null
null
null
test/test_finger_joints_service.cpp
CentroEPiaggio/finger_fk
57097fac2938af5667e31cbec6e9c9ba2d6406da
[ "BSD-3-Clause" ]
1
2019-02-07T15:37:34.000Z
2019-02-07T15:37:34.000Z
test/test_finger_joints_service.cpp
CentroEPiaggio/finger_fk
57097fac2938af5667e31cbec6e9c9ba2d6406da
[ "BSD-3-Clause" ]
null
null
null
/** test_finger_joints_service.cpp Purpose: a ROS node to test the service "finger_joints_service" @authors Pollayil George Jose, Pollayil Mathew Jose */ //BASIC INCLUDES #include <sstream> #include <string> #include <exception> #include <math.h> // ROS INCLUDES #include <ros/ros.h> // MSG INCLUDES #...
22.295775
104
0.684144
CentroEPiaggio
5768e1cb40d71a3cb622c347ef08802e8ae33211
12,173
cpp
C++
src/qt/qtbase/src/plugins/platforms/haiku/qhaikuwindow.cpp
zwollerob/PhantomJS_AMR6VL
71c126e98a8c32950158d04d0bd75823cd008b99
[ "BSD-3-Clause" ]
null
null
null
src/qt/qtbase/src/plugins/platforms/haiku/qhaikuwindow.cpp
zwollerob/PhantomJS_AMR6VL
71c126e98a8c32950158d04d0bd75823cd008b99
[ "BSD-3-Clause" ]
null
null
null
src/qt/qtbase/src/plugins/platforms/haiku/qhaikuwindow.cpp
zwollerob/PhantomJS_AMR6VL
71c126e98a8c32950158d04d0bd75823cd008b99
[ "BSD-3-Clause" ]
null
null
null
/*************************************************************************** ** ** Copyright (C) 2015 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com, author Tobias Koenig <tobias.koenig@kdab.com> ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the plugins of the Qt Toolkit. ** ** $...
31.293059
181
0.696952
zwollerob
57714ca35dbc53519ffb41ae937d4cbc242b56f5
632
cpp
C++
src/DynamicProgramming/BagDP/CompleteBag.cpp
S1xe/Way-to-Algorithm
e666edfb000b3eaef8cc1413f71b035ec4141718
[ "MIT" ]
101
2015-11-19T02:40:01.000Z
2017-12-01T13:43:06.000Z
src/DynamicProgramming/BagDP/CompleteBag.cpp
S1xe/Way-to-Algorithm
e666edfb000b3eaef8cc1413f71b035ec4141718
[ "MIT" ]
3
2019-05-31T14:27:56.000Z
2021-07-28T04:24:55.000Z
src/DynamicProgramming/BagDP/CompleteBag.cpp
S1xe/Way-to-Algorithm
e666edfb000b3eaef8cc1413f71b035ec4141718
[ "MIT" ]
72
2016-01-28T15:20:01.000Z
2017-12-01T13:43:07.000Z
#include "CompleteBag.h" #include "../Util.h" #include <algorithm> #include <vector> int CompleteBag(const int *v, const int *w, int n, int weight) { // 初始化 int **f = Array2DNew(n + 1, weight + 1); for (int i = 0; i <= n; i++) for (int j = 0; j <= weight; j++) f[i][j] = 0; for (int i = 1; i <= n; ...
19.151515
75
0.466772
S1xe
57727e4c6b5162d942e68180f4bd1795414934fb
1,796
cpp
C++
medium/00-punteros.cpp
Patataman/BasicCmasmas
35c95be76305e01b54a3a63c546564a95296af51
[ "MIT" ]
null
null
null
medium/00-punteros.cpp
Patataman/BasicCmasmas
35c95be76305e01b54a3a63c546564a95296af51
[ "MIT" ]
null
null
null
medium/00-punteros.cpp
Patataman/BasicCmasmas
35c95be76305e01b54a3a63c546564a95296af51
[ "MIT" ]
null
null
null
#include <iostream> /* Los punteros normalmente son algo esencial en C y C++ Pero dado que pueden tener su intringulis, y por eso prefiero ponerlo en medio y como el primer archivo. Junto con los punteros se van a ver algunos aspectos como acceso y modificación de posiciones de memoria. Un puntero sirve para...
29.442623
88
0.687082
Patataman
577b2ef301062c4b63b54a3e8b34082bca46d443
5,081
cpp
C++
cli/main.cpp
Jiboo/sophia
44a8851314ff06c0c1a5a66dbe10ec4656df1a5d
[ "MIT" ]
null
null
null
cli/main.cpp
Jiboo/sophia
44a8851314ff06c0c1a5a66dbe10ec4656df1a5d
[ "MIT" ]
null
null
null
cli/main.cpp
Jiboo/sophia
44a8851314ff06c0c1a5a66dbe10ec4656df1a5d
[ "MIT" ]
null
null
null
#include <iostream> #include <miniupnpc/miniupnpc.h> #include <miniupnpc/upnpcommands.h> #include "Node.hpp" using namespace sophia; sensitive_t<std::string> getPassphrase() { // https://www.gnu.org/savannah-checkouts/gnu/libc/manual/html_node/getpass.html sensitive_t<std::string> lResult; /* disabling echo ...
32.993506
118
0.634718
Jiboo
577c7b52afcf40eaa7048f3d597d42d329980e86
3,195
cc
C++
cpp/platform/public/pending_job_registry.cc
eric100lin/nearby
8bdc61a10f14ea47acc9a2c2943d29593b371f72
[ "Apache-2.0" ]
106
2020-06-02T03:38:57.000Z
2021-10-07T09:07:09.000Z
cpp/platform/public/pending_job_registry.cc
eric100lin/nearby
8bdc61a10f14ea47acc9a2c2943d29593b371f72
[ "Apache-2.0" ]
51
2020-09-24T22:20:10.000Z
2021-10-11T22:29:59.000Z
cpp/platform/public/pending_job_registry.cc
eric100lin/nearby
8bdc61a10f14ea47acc9a2c2943d29593b371f72
[ "Apache-2.0" ]
36
2020-07-17T10:17:40.000Z
2021-10-04T00:49:38.000Z
// 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
34.728261
75
0.670423
eric100lin
577d83f4e51b4e6da11f2d6f4177c2878339655b
7,585
cpp
C++
fallen/PSXENG/SOURCE/mdec.cpp
jordandavidson/MuckyFoot-UrbanChaos
00f7bda3f061bff9ecbb611d430f8f71bd557d14
[ "MIT" ]
188
2017-05-20T03:26:33.000Z
2022-03-10T16:58:39.000Z
fallen/PSXENG/SOURCE/mdec.cpp
jordandavidson/MuckyFoot-UrbanChaos
00f7bda3f061bff9ecbb611d430f8f71bd557d14
[ "MIT" ]
7
2017-05-28T14:28:13.000Z
2022-01-09T01:47:38.000Z
fallen/PSXENG/SOURCE/mdec.cpp
inco1/MuckyFoot-UrbanChaos
81aa5cfe18ef7fe2d1b1f9911bd33a47c22d5390
[ "MIT" ]
43
2017-05-20T07:31:32.000Z
2022-03-09T18:39:35.000Z
/* ** MDEC.CPP ** ** Full motion video playback for PSX. */ #include "game.h" #include "psxeng.h" #include <libpress.h> #include <libcd.h> #include <ctrller.h> #if 0 typedef struct { SWORD frame; UBYTE fast; UBYTE slow; } MDEC_vibra; #define VIBRA_NONE(f) {f,0,0} #define VIBRA_GUNSHOT(f) {f,1,64} #define...
21.671429
107
0.736058
jordandavidson
578049827ec525dd0c757592192d1b0987af8dfb
4,487
cpp
C++
src/tortoise/vvDialog/vvLockDialog.cpp
samboy/veracity
01935bf71cb04aec0ae6982ee163030710d60be8
[ "Apache-2.0" ]
null
null
null
src/tortoise/vvDialog/vvLockDialog.cpp
samboy/veracity
01935bf71cb04aec0ae6982ee163030710d60be8
[ "Apache-2.0" ]
3
2015-05-15T18:56:54.000Z
2015-05-15T20:58:57.000Z
src/tortoise/vvDialog/vvLockDialog.cpp
samboy/veracity
01935bf71cb04aec0ae6982ee163030710d60be8
[ "Apache-2.0" ]
null
null
null
/* Copyright 2010-2013 SourceGear, 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 in writing...
31.159722
155
0.724983
samboy
578935188b5352fc3d54f9486d8bc1707ad70363
549
cpp
C++
source/Hu3DMomentInvariants/CalculateHu3DMomentInvariants.cpp
utrad-ical/LibVoxelwiseFeatures
41f4025a2f4726afcc48e86036ee2033020ce9e7
[ "BSD-2-Clause" ]
null
null
null
source/Hu3DMomentInvariants/CalculateHu3DMomentInvariants.cpp
utrad-ical/LibVoxelwiseFeatures
41f4025a2f4726afcc48e86036ee2033020ce9e7
[ "BSD-2-Clause" ]
null
null
null
source/Hu3DMomentInvariants/CalculateHu3DMomentInvariants.cpp
utrad-ical/LibVoxelwiseFeatures
41f4025a2f4726afcc48e86036ee2033020ce9e7
[ "BSD-2-Clause" ]
1
2020-06-23T13:03:08.000Z
2020-06-23T13:03:08.000Z
#include "Hu3DMomentInvariants.h" #include "Hu3DMomentInvariants.private.h" HU3DMOMENTINVARIANTS CalculateHu3DMomentInvariants(VOL_RAWVOLUMEDATA* volume, int channel, VOL_INTVECTOR3D* coord, VOL_KERNEL* roi) { HU3DMOMENTS hu3d = CalculateHu3DMoments(volume, channel, coord, roi); float* invariants = CalculateInva...
20.333333
131
0.761384
utrad-ical
c2324b7e6c21fd4491adbc87e8c07f507c565a52
3,387
cpp
C++
aws-cpp-sdk-customer-profiles/source/model/StandardIdentifier.cpp
blinemedical/aws-sdk-cpp
c7c814b2d6862b4cb48f3fb3ac083a9e419674e8
[ "Apache-2.0" ]
1
2021-12-06T20:36:35.000Z
2021-12-06T20:36:35.000Z
aws-cpp-sdk-customer-profiles/source/model/StandardIdentifier.cpp
blinemedical/aws-sdk-cpp
c7c814b2d6862b4cb48f3fb3ac083a9e419674e8
[ "Apache-2.0" ]
null
null
null
aws-cpp-sdk-customer-profiles/source/model/StandardIdentifier.cpp
blinemedical/aws-sdk-cpp
c7c814b2d6862b4cb48f3fb3ac083a9e419674e8
[ "Apache-2.0" ]
null
null
null
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/customer-profiles/model/StandardIdentifier.h> #include <aws/core/utils/HashingUtils.h> #include <aws/core/Globals.h> #include <aws/core/utils/EnumParseOverflowContainer.h> using namespa...
31.95283
92
0.607027
blinemedical
c23320bf71294949dcf47567c585a8fdae423b4b
3,912
cpp
C++
OpenSimRoot/src/engine/DataDefinitions/StateRate.cpp
nb-e/OpenRootSim
aaa1cd18e94ebf613c28737842401daba3b8d5ef
[ "BSD-3-Clause" ]
1
2021-08-03T00:52:58.000Z
2021-08-03T00:52:58.000Z
OpenSimRoot/src/engine/DataDefinitions/StateRate.cpp
nb-e/OpenRootSim
aaa1cd18e94ebf613c28737842401daba3b8d5ef
[ "BSD-3-Clause" ]
null
null
null
OpenSimRoot/src/engine/DataDefinitions/StateRate.cpp
nb-e/OpenRootSim
aaa1cd18e94ebf613c28737842401daba3b8d5ef
[ "BSD-3-Clause" ]
1
2021-08-03T00:52:59.000Z
2021-08-03T00:52:59.000Z
/* Copyright © 2016, The Pennsylvania State University All rights reserved. Copyright © 2016 Forschungszentrum Jülich GmbH All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted under the GNU General Public License v3 and provided that the following conditi...
35.889908
755
0.739775
nb-e
c23b7007623a014e0af4c156b0a7ed911ea9a92e
33,599
cpp
C++
apps/vaporgui/FlowSubtabs.cpp
StasJ/vapor-formatted
9fad47d88714ef835b78f6c1dd855d66b6aa90da
[ "BSD-3-Clause" ]
null
null
null
apps/vaporgui/FlowSubtabs.cpp
StasJ/vapor-formatted
9fad47d88714ef835b78f6c1dd855d66b6aa90da
[ "BSD-3-Clause" ]
null
null
null
apps/vaporgui/FlowSubtabs.cpp
StasJ/vapor-formatted
9fad47d88714ef835b78f6c1dd855d66b6aa90da
[ "BSD-3-Clause" ]
null
null
null
#include "FlowSubtabs.h" #include "ErrorReporter.h" #include "vapor/Box.h" #include "vapor/DataMgrUtils.h" #include <cfloat> #include "VCheckBox.h" #include "VComboBox.h" #include "VFileSelector.h" #include "VFrame.h" #include "VGeometry2.h" #include "VIntSpinBox.h" #include "VLineEdit_Deprecated.h" #include "VLineIte...
38.797921
100
0.685139
StasJ
c23e0198f8a9c8100b401569d1d58ffd13ac96b7
2,044
cpp
C++
tests/instr/xori.cpp
QuarticCat/toy-mips-simulator-in-800-lines
a3fe2cdb93789ef6971d89ca05d54d05bdd1d3dd
[ "MIT" ]
null
null
null
tests/instr/xori.cpp
QuarticCat/toy-mips-simulator-in-800-lines
a3fe2cdb93789ef6971d89ca05d54d05bdd1d3dd
[ "MIT" ]
null
null
null
tests/instr/xori.cpp
QuarticCat/toy-mips-simulator-in-800-lines
a3fe2cdb93789ef6971d89ca05d54d05bdd1d3dd
[ "MIT" ]
null
null
null
#include "test_util.hpp" // clang-format off SIM_TEST(Instr, xori_1, R"( .text ori $t0, $zero, 5 # $t0 = 5 xori $a0, $t0, 6 ori $v0, $zero, 1 syscall )", "", "3" ); SIM_TEST(Instr, xori_2, R"( .text lui $t0, 21845 ori $t0, $t0, 21845 #...
18.752294
47
0.452055
QuarticCat
c241f00d76fc87d4e5132295ef94f2c4996cb5e5
2,205
cpp
C++
source/basewidget.cpp
AmuUncle/CarCompass
021fb1d65c07da2f913de6c5305627ee8ecd78dc
[ "Apache-2.0" ]
null
null
null
source/basewidget.cpp
AmuUncle/CarCompass
021fb1d65c07da2f913de6c5305627ee8ecd78dc
[ "Apache-2.0" ]
null
null
null
source/basewidget.cpp
AmuUncle/CarCompass
021fb1d65c07da2f913de6c5305627ee8ecd78dc
[ "Apache-2.0" ]
1
2021-12-17T13:17:08.000Z
2021-12-17T13:17:08.000Z
#include "basewidget.h" BaseWidget::BaseWidget(QWidget *parent) : QWidget(parent) { } void BaseWidget::paintEvent(QPaintEvent *event) { QPainter painter(this); painter.setRenderHints(QPainter::Antialiasing | QPainter::SmoothPixmapTransform | QPainter::TextAntialiasing, true); // 抗锯齿和使用平滑转换算法 QColor col...
30.625
136
0.602268
AmuUncle
c248bceea24d68264837fdf95139e5c7510d8471
24,281
cpp
C++
CtrlLib/Terminal/Page.cpp
ismail-yilmaz/upp-components
20f81651480dfc7acfa95817513331094a76ba9e
[ "BSD-3-Clause" ]
38
2018-01-28T15:17:51.000Z
2022-02-08T23:09:51.000Z
CtrlLib/Terminal/Page.cpp
ismail-yilmaz/upp-components
20f81651480dfc7acfa95817513331094a76ba9e
[ "BSD-3-Clause" ]
14
2019-11-04T17:17:13.000Z
2022-01-01T22:07:41.000Z
CtrlLib/Terminal/Page.cpp
ismail-yilmaz/upp-components
20f81651480dfc7acfa95817513331094a76ba9e
[ "BSD-3-Clause" ]
2
2020-06-21T07:33:04.000Z
2020-09-08T02:47:15.000Z
#include "Page.h" #define LLOG(x) // RLOG("VTPage [#" << this << "]: " << x) #define LTIMING(x) // RTIMING(x) namespace Upp { VTLine::VTLine() : invalid(true) , wrapped(false) { } void VTLine::Adjust(int cx, const VTCell& filler) { if(cx < GetCount()) wrapped = false; SetCount(cx, filler); invalid = true; } ...
18.42261
106
0.609736
ismail-yilmaz
c24b342b28e08ddc8c85e5c45528e854ea7a2dfb
1,128
hpp
C++
test/unit/module/real/core/bit_ceil/regular/bit_ceil.hpp
orao/eve
a8bdc6a9cab06d905e8749354cde63776ab76846
[ "MIT" ]
null
null
null
test/unit/module/real/core/bit_ceil/regular/bit_ceil.hpp
orao/eve
a8bdc6a9cab06d905e8749354cde63776ab76846
[ "MIT" ]
null
null
null
test/unit/module/real/core/bit_ceil/regular/bit_ceil.hpp
orao/eve
a8bdc6a9cab06d905e8749354cde63776ab76846
[ "MIT" ]
null
null
null
//================================================================================================== /** EVE - Expressive Vector Engine Copyright : EVE Contributors & Maintainers SPDX-License-Identifier: MIT **/ //================================================================================================== #...
29.684211
100
0.498227
orao
c24df45d6cd33ea94811174c12dcf4cb1e8d6e67
3,263
cpp
C++
libs/ip_tools/ip_tools.cpp
laSinteZ/iroha
78f152a85ee2b3b86db7b705831938e96a186c36
[ "Apache-2.0" ]
1
2017-01-15T08:47:16.000Z
2017-01-15T08:47:16.000Z
libs/ip_tools/ip_tools.cpp
laSinteZ/iroha
78f152a85ee2b3b86db7b705831938e96a186c36
[ "Apache-2.0" ]
1
2017-11-08T02:34:24.000Z
2017-11-08T02:34:24.000Z
libs/ip_tools/ip_tools.cpp
laSinteZ/iroha
78f152a85ee2b3b86db7b705831938e96a186c36
[ "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...
28.876106
83
0.585044
laSinteZ
c24ec71303ac5baa2b27a099a9af85820df303ed
842
cc
C++
src/tool/filereader.cc
Super-long/RabbitServer
fed39bfc99be84442c444cb73a43fe55d3e5a149
[ "Apache-2.0" ]
10
2020-10-23T12:47:12.000Z
2021-08-31T13:31:00.000Z
src/tool/filereader.cc
Super-long/RabbitServer
fed39bfc99be84442c444cb73a43fe55d3e5a149
[ "Apache-2.0" ]
null
null
null
src/tool/filereader.cc
Super-long/RabbitServer
fed39bfc99be84442c444cb73a43fe55d3e5a149
[ "Apache-2.0" ]
null
null
null
/** * Copyright lizhaolong(https://github.com/Super-long) * 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 applic...
33.68
75
0.72209
Super-long
c2527074eae4a42dc6d2b2f71ecda9f243924df0
10,493
hpp
C++
src/rideables/NVTraverse/new_pmem_utils.hpp
urcs-sync/Montage
6dc330da21ec20735a58579b23183a1bd8eeee66
[ "MIT" ]
9
2020-10-04T22:03:31.000Z
2021-10-08T01:52:57.000Z
src/rideables/NVTraverse/new_pmem_utils.hpp
urcs-sync/Montage
6dc330da21ec20735a58579b23183a1bd8eeee66
[ "MIT" ]
18
2020-10-20T02:39:12.000Z
2021-08-30T00:23:32.000Z
src/rideables/NVTraverse/new_pmem_utils.hpp
urcs-sync/Montage
6dc330da21ec20735a58579b23183a1bd8eeee66
[ "MIT" ]
9
2020-10-04T22:06:11.000Z
2021-02-19T17:23:17.000Z
#ifndef NVTRAVERSE_NEW_PMEM_UTILS_HPP #define NVTRAVERSE_NEW_PMEM_UTILS_HPP #include "pmem_utils.hpp" #include <iostream> #include <assert.h> /* TODOS - Finish implementing all the flush marking methods - Apply them to Queue with IZ transformation - Transform balanced BST - Find optimal number of flush counters ...
34.976667
191
0.729439
urcs-sync
c25285725688ab99d0e316232f969342c9f962f0
1,793
cpp
C++
Modules/Meshing/VolumeFromSTL/src/centerlinesmanageriodata.cpp
vivabrain/angiotk
56187d726691576bc90ac727f28ed08bb0633830
[ "Apache-2.0" ]
4
2016-06-26T18:47:22.000Z
2020-06-20T20:54:38.000Z
Modules/Meshing/VolumeFromSTL/src/centerlinesmanageriodata.cpp
feelpp/angiotk
3faac75cc6eeeb49e9c85dc20ad44038f185e5f6
[ "Apache-2.0" ]
7
2018-05-10T18:31:22.000Z
2018-07-20T09:19:31.000Z
Modules/Meshing/VolumeFromSTL/src/centerlinesmanageriodata.cpp
feelpp/angiotk
3faac75cc6eeeb49e9c85dc20ad44038f185e5f6
[ "Apache-2.0" ]
3
2015-07-06T08:07:46.000Z
2021-02-01T16:01:25.000Z
/* -*- mode: c++; coding: utf-8; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; show-trailing-whitespace: t -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4*/ #include <centerlinesmanageriodata.hpp> namespace AngioTk { // vector of ( coord,radius,type ) pointset_data_type loadFromPointSetFile( std::string const...
27.166667
163
0.595092
vivabrain
c256aa18ccd10d1cddfb0a722ecdcd59578ffb81
851
cpp
C++
usaco/friday/friday.cpp
rockoanna/nirvana
81fadbe66b0a24244feec312c6f7fe5c8effccaa
[ "MIT" ]
null
null
null
usaco/friday/friday.cpp
rockoanna/nirvana
81fadbe66b0a24244feec312c6f7fe5c8effccaa
[ "MIT" ]
12
2019-09-04T10:38:24.000Z
2019-12-08T18:09:41.000Z
usaco/friday/friday.cpp
rockoanna/nirvana
81fadbe66b0a24244feec312c6f7fe5c8effccaa
[ "MIT" ]
null
null
null
/* ID: oanna.p1 TASK: friday LANG: C++ */ #include <iostream> #include <fstream> #include <vector> using namespace std; int main() { ifstream cin("friday.in"); ofstream cout("friday.out"); int n; cin >> n; int months[12]= {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}; vector<int> w(7); ...
15.759259
69
0.358402
rockoanna