hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
108
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
67k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
b3836fd9bba957a496ea400bae54631ac88acc6a
1,017
cpp
C++
simpleMaxCounter/main.cpp
zlum/simple
b5eaf45ad814ec6a2236828ce2ae78b16193bfc1
[ "MIT" ]
null
null
null
simpleMaxCounter/main.cpp
zlum/simple
b5eaf45ad814ec6a2236828ce2ae78b16193bfc1
[ "MIT" ]
null
null
null
simpleMaxCounter/main.cpp
zlum/simple
b5eaf45ad814ec6a2236828ce2ae78b16193bfc1
[ "MIT" ]
null
null
null
#include <cstdint> #include <iostream> #include <string> using namespace std; struct Res { explicit Res(int size): arr(new int[size]), n(size) {} ~Res() { delete[] arr; } int* arr = nullptr; int n = 0; }; Res* findMax(int a[], int n) { if(n == 0) return nullptr; int max = a[0]; int coun...
14.955882
58
0.410029
zlum
b385c5e95c2af92bd65606f96a4d039f08a891e9
118
cpp
C++
examples/qml-keypad/imports/tests/keypad/tst_keypad.cpp
bstubert/tdd-training-add-ons
c6ee54069ad056f6bb468c23c99b090d034b42a3
[ "BSD-3-Clause" ]
1
2021-11-25T20:27:19.000Z
2021-11-25T20:27:19.000Z
examples/qml-keypad/imports/tests/keypad/tst_keypad.cpp
bstubert/tdd-training-add-ons
c6ee54069ad056f6bb468c23c99b090d034b42a3
[ "BSD-3-Clause" ]
null
null
null
examples/qml-keypad/imports/tests/keypad/tst_keypad.cpp
bstubert/tdd-training-add-ons
c6ee54069ad056f6bb468c23c99b090d034b42a3
[ "BSD-3-Clause" ]
null
null
null
// Copyright, Burkhard Stubert (burkhard.stubert@embeddeduse.com) #include <QtQuickTest> QUICK_TEST_MAIN(QmlKeypad)
19.666667
65
0.805085
bstubert
b3873f0356795ff40801a4737dad683a84e5637c
10,439
cpp
C++
test/test_mock_mock.cpp
lingjf/h2unit
5a55c718bc22ba52bd4500997b2df18939996efa
[ "Apache-2.0" ]
5
2015-03-02T22:29:00.000Z
2020-06-28T08:52:00.000Z
test/test_mock_mock.cpp
lingjf/h2unit
5a55c718bc22ba52bd4500997b2df18939996efa
[ "Apache-2.0" ]
5
2019-05-10T02:28:00.000Z
2021-07-17T00:53:18.000Z
test/test_mock_mock.cpp
lingjf/h2unit
5a55c718bc22ba52bd4500997b2df18939996efa
[ "Apache-2.0" ]
5
2016-05-25T07:31:16.000Z
2021-08-29T04:25:18.000Z
#include "../source/h2_unit.cpp" #include "test_types.hpp" SUITE(mock function) { Case(once) { MOCK(foobar2, int(int, const char*)).Once(1, "A").Return(11); OK(11, foobar2(1, "A")); } Case(twice) { MOCK(foobar2, int(int, const char*)).Twice(Eq(1), _).Return(11); OK(11, foobar2(1...
25.775309
157
0.552831
lingjf
b3894a0c5b152946c1d4783e2ae2e059de07e951
615
cpp
C++
tests/ThreadTest1/source/main.cpp
markfinal/bam-boost
655d1aa84f2aa2dad37385e8e8408574475bd962
[ "BSD-3-Clause" ]
null
null
null
tests/ThreadTest1/source/main.cpp
markfinal/bam-boost
655d1aa84f2aa2dad37385e8e8408574475bd962
[ "BSD-3-Clause" ]
null
null
null
tests/ThreadTest1/source/main.cpp
markfinal/bam-boost
655d1aa84f2aa2dad37385e8e8408574475bd962
[ "BSD-3-Clause" ]
null
null
null
#include "boost/thread.hpp" #include <iostream> struct ThreadFunction { void operator()() { std::cout << "Worker thread id is " << boost::this_thread::get_id() << std::endl; boost::this_thread::sleep_for(boost::chrono::seconds(10)); } }; int main() { std::cout << "Main thread id is " ...
24.6
89
0.621138
markfinal
b38c5d40162417d29e9c1f4c40ed5f73abb180c9
4,544
cpp
C++
os/fs/iso9660/iso9660Stream.cpp
rvedam/es-operating-system
32d3e4791c28a5623744800f108d029c40c745fc
[ "Apache-2.0" ]
2
2020-11-30T18:38:20.000Z
2021-06-07T07:44:03.000Z
os/fs/iso9660/iso9660Stream.cpp
LambdaLord/es-operating-system
32d3e4791c28a5623744800f108d029c40c745fc
[ "Apache-2.0" ]
1
2019-01-14T03:09:45.000Z
2019-01-14T03:09:45.000Z
os/fs/iso9660/iso9660Stream.cpp
LambdaLord/es-operating-system
32d3e4791c28a5623744800f108d029c40c745fc
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2008, 2009 Google Inc. * Copyright 2006 Nintendo Co., Ltd. * * 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 * * Unle...
20.106195
113
0.589349
rvedam
b38c6dfebbbd580df954935430776e4395b2235c
4,106
cpp
C++
cplusplus/level2_simple_inference/n_performance/1_multi_process_thread/YOLOV3_coco_detection_4_thread/src/object_detect.cpp
Ascend/samples
5e060ddf8c502cf0e248ecbe1c8986e95351cbbd
[ "Apache-2.0" ]
25
2020-11-20T09:01:35.000Z
2022-03-29T10:35:38.000Z
cplusplus/level2_simple_inference/n_performance/1_multi_process_thread/YOLOV3_coco_detection_4_thread/src/object_detect.cpp
Ascend/samples
5e060ddf8c502cf0e248ecbe1c8986e95351cbbd
[ "Apache-2.0" ]
5
2021-02-28T20:49:37.000Z
2022-03-04T21:50:27.000Z
cplusplus/level2_simple_inference/n_performance/1_multi_process_thread/YOLOV3_coco_detection_4_thread/src/object_detect.cpp
Ascend/samples
5e060ddf8c502cf0e248ecbe1c8986e95351cbbd
[ "Apache-2.0" ]
16
2020-12-06T07:26:13.000Z
2022-03-01T07:51:55.000Z
/** * Copyright 2020 Huawei Technologies Co., Ltd * * 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 ...
30.87218
105
0.686313
Ascend
b3921df1684fff63cf85db5625a04d78f66bb6e0
1,508
cpp
C++
CCC/Stage2/02/ccc02s2p1.cpp
zzh8829/CompetitiveProgramming
36f36b10269b4648ca8be0b08c2c49e96abede25
[ "MIT" ]
1
2017-10-01T00:51:39.000Z
2017-10-01T00:51:39.000Z
CCC/Stage2/02/ccc02s2p1.cpp
zzh8829/CompetitiveProgramming
36f36b10269b4648ca8be0b08c2c49e96abede25
[ "MIT" ]
null
null
null
CCC/Stage2/02/ccc02s2p1.cpp
zzh8829/CompetitiveProgramming
36f36b10269b4648ca8be0b08c2c49e96abede25
[ "MIT" ]
null
null
null
#include <cstdio> #include <cstdlib> #include <cstring> #include <cmath> #include <ctime> #include <iostream> #include <fstream> #include <algorithm> #include <string> #include <vector> #include <queue> #include <stack> #include <map> #include <set> #include <bitset> using namespace std; map<string,...
23.5625
70
0.572944
zzh8829
b399de1cd6ee0e66d9a14f91f8c09d8387d0d36e
587
cpp
C++
牛客/小白月赛/11-C.cpp
LauZyHou/-
66c047fe68409c73a077eae561cf82b081cf8e45
[ "MIT" ]
7
2019-02-25T13:15:00.000Z
2021-12-21T22:08:39.000Z
牛客/小白月赛/11-C.cpp
LauZyHou/-
66c047fe68409c73a077eae561cf82b081cf8e45
[ "MIT" ]
null
null
null
牛客/小白月赛/11-C.cpp
LauZyHou/-
66c047fe68409c73a077eae561cf82b081cf8e45
[ "MIT" ]
1
2019-04-03T06:12:46.000Z
2019-04-03T06:12:46.000Z
#include<bits/stdc++.h> using namespace std; int n,m,T; int a[100010]; int b[100010]; int k; int main() { scanf("%d%d%d",&n,&m,&T); for(k=1; k<=T; k++) { scanf("%d%d",a+k,b+k); } for(int i=1; i<=n; i++) { for(int j=1; j<m; j++) { //find for(k=T; k>=1; k--) { if(a[k]==1 && b[k]==i || a[k]==2 && b[k]=...
15.051282
50
0.398637
LauZyHou
b399fd285905f88ac99223bdc65fbf66a5fa3c2f
869
hpp
C++
engine.hpp
ichristen/pGDS
c6959ea7db0cc01549eb170b7fdc273801735dbc
[ "MIT" ]
null
null
null
engine.hpp
ichristen/pGDS
c6959ea7db0cc01549eb170b7fdc273801735dbc
[ "MIT" ]
null
null
null
engine.hpp
ichristen/pGDS
c6959ea7db0cc01549eb170b7fdc273801735dbc
[ "MIT" ]
null
null
null
#ifndef ENGINE_HPP #define ENGINE_HPP #include <stdio.h> #include <string> #include <array> #include <vector> #include <map> #ifdef __APPLE__ // #include <OpenGL/OpenGL.h> // #include <Cocoa/Cocoa.h> #endif #ifdef __MINGW32__ #endif #ifdef __linux__ #endif #include "window.hpp" #include "vector.hpp" #include...
18.891304
111
0.638665
ichristen
b39a35483919cfbd0466862cd87d1f943ef337a6
1,839
cpp
C++
test/test_simple_enc.cpp
cwxcode/HDR_EXR2MKV
3b5403cb5789cc7e098c5393bcebf673b1cb123b
[ "BSD-3-Clause" ]
46
2016-07-05T14:55:24.000Z
2021-12-24T05:10:00.000Z
test/test_simple_enc.cpp
cwxcode/HDR_EXR2MKV
3b5403cb5789cc7e098c5393bcebf673b1cb123b
[ "BSD-3-Clause" ]
8
2018-05-25T07:36:41.000Z
2021-04-08T14:27:54.000Z
test/test_simple_enc.cpp
cwxcode/HDR_EXR2MKV
3b5403cb5789cc7e098c5393bcebf673b1cb123b
[ "BSD-3-Clause" ]
16
2016-05-29T13:39:23.000Z
2022-02-22T13:53:05.000Z
#include <luma_encoder.h> #include "exr_interface.h" #include <string.h> int main(int argc, char* argv[]) { if (argc > 1 && !(strcmp(argv[1], "-h") && strcmp(argv[1], "--help")) ) { printf("Usage: ./test_simple_enc <hdr_frames> <start_frame> <end_frame> <output>\n"); return 1; } c...
24.851351
106
0.553562
cwxcode
b39fe748855d4d54a9ee69a535a5b35f9b54fe66
7,702
hpp
C++
sdk/packages/dynamixel/gems/registers.hpp
ddr95070/RMIsaac
ee3918f685f0a88563248ddea11d089581077973
[ "FSFAP" ]
1
2020-04-14T13:55:16.000Z
2020-04-14T13:55:16.000Z
sdk/packages/dynamixel/gems/registers.hpp
ddr95070/RMIsaac
ee3918f685f0a88563248ddea11d089581077973
[ "FSFAP" ]
4
2020-09-25T22:34:29.000Z
2022-02-09T23:45:12.000Z
sdk/packages/dynamixel/gems/registers.hpp
ddr95070/RMIsaac
ee3918f685f0a88563248ddea11d089581077973
[ "FSFAP" ]
1
2020-07-02T11:51:17.000Z
2020-07-02T11:51:17.000Z
/* Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. NVIDIA CORPORATION and its licensors retain all intellectual property and proprietary rights in and to this software, related documentation and any modifications thereto. Any use, reproduction, disclosure or distribution of this software and related docum...
29.737452
98
0.664762
ddr95070
b3a42bde03db67b2845476db5e55ba0ba41e6ad2
230
hpp
C++
engine/include/engine/Serializable.hpp
kkitsune/GoblinEngine
f69a82b13b418391554f1aeb8957f445352184b6
[ "MIT" ]
9
2016-02-04T16:42:31.000Z
2016-12-05T04:34:03.000Z
engine/include/engine/Serializable.hpp
kkitsune/GoblinEngine
f69a82b13b418391554f1aeb8957f445352184b6
[ "MIT" ]
null
null
null
engine/include/engine/Serializable.hpp
kkitsune/GoblinEngine
f69a82b13b418391554f1aeb8957f445352184b6
[ "MIT" ]
null
null
null
#pragma once #include <json.hpp> #include <ABI.h> using Json = nlohmann::basic_json<>; class E_ABI(engine) Serializable { public: virtual ~Serializable() {} virtual Json save() = 0; virtual void load(Json const&) = 0; };
12.777778
36
0.678261
kkitsune
b3a7acbb2b12389223b884089ce1ec21b6a26c6b
978
cpp
C++
naive_simulation_works/systemc_for_dummies/four_bit_adder/main.cpp
VSPhaneendraPaluri/pvsdrudgeworks
5827f45567eecbcf0bb606de6adb1fb94fe2d8c6
[ "MIT" ]
null
null
null
naive_simulation_works/systemc_for_dummies/four_bit_adder/main.cpp
VSPhaneendraPaluri/pvsdrudgeworks
5827f45567eecbcf0bb606de6adb1fb94fe2d8c6
[ "MIT" ]
null
null
null
naive_simulation_works/systemc_for_dummies/four_bit_adder/main.cpp
VSPhaneendraPaluri/pvsdrudgeworks
5827f45567eecbcf0bb606de6adb1fb94fe2d8c6
[ "MIT" ]
null
null
null
#include <systemc.h> #include "Four_Bit_Adder.h" #include "MyTestBenchDriver.h" #include "MyTestBenchMonitor.h" int sc_main(int sc_argc, char* sc_argv[]) { sc_signal<sc_lv<1> > pb_a[4], pb_b[4], pb_z[5]; int i = 0; Four_Bit_Adder MyAdder("MyAdder"); for(i=0; i < 4; i++) { MyAdder.a[i](pb_a[i]); MyAdder.b[i]...
21.26087
60
0.639059
VSPhaneendraPaluri
b3aecb9d7320b9ae30e0550e265e2bff6d69fe20
6,653
cpp
C++
connectors/dds4ccm/tests/LateBinding/ReadGet/Receiver/RG_LateBinding_Receiver_exec.cpp
qinwang13/CIAO
e69add1b5da8e9602bcc85d581ecbf1bd41c49a3
[ "DOC" ]
10
2016-07-20T00:55:50.000Z
2020-10-04T19:07:10.000Z
connectors/dds4ccm/tests/LateBinding/ReadGet/Receiver/RG_LateBinding_Receiver_exec.cpp
qinwang13/CIAO
e69add1b5da8e9602bcc85d581ecbf1bd41c49a3
[ "DOC" ]
13
2016-09-27T14:08:27.000Z
2020-11-11T10:45:56.000Z
connectors/dds4ccm/tests/LateBinding/ReadGet/Receiver/RG_LateBinding_Receiver_exec.cpp
qinwang13/CIAO
e69add1b5da8e9602bcc85d581ecbf1bd41c49a3
[ "DOC" ]
12
2016-04-20T09:57:02.000Z
2021-12-24T17:23:45.000Z
// -*- C++ -*- /** * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.2 * TAO and the TAO IDL Compiler have been developed by: * Center for Distributed Object Computing * Washington University * St. Louis, MO * USA * http://www.cs.wustl.edu/~schmidt/doc-center.html * and ...
23.34386
96
0.63881
qinwang13
a2a5e51de7fd35e2aebcddd5162c3c5f867bf381
1,348
cpp
C++
src_sycl/gen.cpp
frengels/cuda-to-sycl-nbody
989f01cabb7fa0eceb70b18610e1b8b1e03eb8af
[ "MIT" ]
null
null
null
src_sycl/gen.cpp
frengels/cuda-to-sycl-nbody
989f01cabb7fa0eceb70b18610e1b8b1e03eb8af
[ "MIT" ]
3
2022-02-02T09:25:33.000Z
2022-02-17T15:43:48.000Z
src_sycl/gen.cpp
frengels/cuda-to-sycl-nbody
989f01cabb7fa0eceb70b18610e1b8b1e03eb8af
[ "MIT" ]
1
2022-02-16T17:45:43.000Z
2022-02-16T17:45:43.000Z
#include "gen.hpp" #include <random> const float PI = 3.14159265358979323846; // Copyright (C) 2016 - 2018 Sarah Le Luron // Copyright (C) 2022 Codeplay Software Limited using namespace std; mt19937 rng; uniform_real_distribution<> dis(0, 1); glm::vec4 randomParticlePos() { // Random position on a 'thick disk'...
26.431373
77
0.588279
frengels
a2a8a9372654535bc6a4d7a017816f70de1f23f0
334
cpp
C++
Bit Manipulation/Clear_all_bits_from_LSB_to_i.cpp
pranav918/DSA-Implementations-Under-Construction
4127d18b084652ae19959fc4f0da9cfad360df8d
[ "MIT" ]
1
2021-06-18T13:59:38.000Z
2021-06-18T13:59:38.000Z
Bit Manipulation/Clear_all_bits_from_LSB_to_i.cpp
pranav918/DSA-Implementations-Under-Construction
4127d18b084652ae19959fc4f0da9cfad360df8d
[ "MIT" ]
null
null
null
Bit Manipulation/Clear_all_bits_from_LSB_to_i.cpp
pranav918/DSA-Implementations-Under-Construction
4127d18b084652ae19959fc4f0da9cfad360df8d
[ "MIT" ]
null
null
null
/* Author : Pranav Deshmukh PICT,Pune Stay Focused! */ #include <bits/stdc++.h> using namespace std; int main() { int n, i; cout << "Enter number followed by ith(from 0) bit place:" << endl; cin >> n >> i; int m = ~((1 << (i + 1)) - 1); n = n & m; cout << "Answer is " << n << endl; ...
19.647059
68
0.505988
pranav918
a2a9174a976f58acebc1a7dcbeda149d508fe888
2,777
hpp
C++
Week2-Data-Structure-I/ZhengQianYi/src/ft/cuckoo_filter.hpp
zhengqianyi/training-plan
456cce5d124de171fe73f8e108a7c61c08e7a326
[ "MIT" ]
1
2021-09-29T04:35:36.000Z
2021-09-29T04:35:36.000Z
Week2-Data-Structure-I/ZhengQianYi/src/ft/cuckoo_filter.hpp
zqyi/training-plan
456cce5d124de171fe73f8e108a7c61c08e7a326
[ "MIT" ]
null
null
null
Week2-Data-Structure-I/ZhengQianYi/src/ft/cuckoo_filter.hpp
zqyi/training-plan
456cce5d124de171fe73f8e108a7c61c08e7a326
[ "MIT" ]
null
null
null
#ifndef FT_CUCKOO_FILTER_HPP #define FT_CUCKOO_FILTER_HPP #include "filter.hpp" #include "cuckoo_vector.hpp" #include "hasher.hpp" #include "Rand_int.hpp" #include <cmath> namespace ft { class cuckoo_filter : public filter { private: size_t cells_; size_t fingerprint_size_; size_...
23.141667
197
0.548073
zhengqianyi
a2a927ab4042167ac93bb2ad9b59393818192880
131
cpp
C++
200-300/235.cpp
Thomaw/Project-Euler
bcad5d8a1fd3ebaa06fa52d92d286607e9372a8d
[ "MIT" ]
null
null
null
200-300/235.cpp
Thomaw/Project-Euler
bcad5d8a1fd3ebaa06fa52d92d286607e9372a8d
[ "MIT" ]
null
null
null
200-300/235.cpp
Thomaw/Project-Euler
bcad5d8a1fd3ebaa06fa52d92d286607e9372a8d
[ "MIT" ]
null
null
null
double s(double r, int n) { double r2 = Pow(r, n); double r1 = r - 1; return 1/r1 * (900 * (r2-1) - 3*n*r2 + 3*(r2-1)/r1); }
26.2
54
0.503817
Thomaw
a2a9e9d5d07674bc99b1587d8fa18fa1ab596fc9
11,747
cpp
C++
cameraPreviewRecorder/jni/video_encoder/libvideo_encoder/soft_encoder/host_gpu_copier.cpp
belieflong/media-dev-android
6103cdce4725bc9ab1a8d5d085abbdab26a164dc
[ "Apache-2.0" ]
3
2020-11-11T04:08:19.000Z
2021-04-27T01:07:42.000Z
shortvideolib/src/main/cpp/VideoEngine/video_encoder/soft_encoder/host_gpu_copier.cpp
daimaren/ShortVideo
06b88ed6667b89b28853e0a791bab63eeea05e27
[ "Apache-2.0" ]
2
2020-09-22T20:42:16.000Z
2020-11-11T04:08:57.000Z
shortvideolib/src/main/cpp/VideoEngine/video_encoder/soft_encoder/host_gpu_copier.cpp
daimaren/ShortVideo
06b88ed6667b89b28853e0a791bab63eeea05e27
[ "Apache-2.0" ]
11
2020-07-04T03:03:18.000Z
2022-03-17T10:19:19.000Z
#include "./host_gpu_copier.h" #define LOG_TAG "HostGPUCopier" HostGPUCopier::HostGPUCopier() { mGLProgId = 0; downloadTex = 0; this->isRecording = false; } HostGPUCopier::~HostGPUCopier() { } void HostGPUCopier::copyYUY2Image(GLuint ipTex, byte* yuy2ImageBuffer, int width, int height) { //将纹理渲染到YUY2格式的数据 // LO...
38.514754
140
0.752362
belieflong
a2ac58994f69c2901dd523177a165ed8737edc8d
667
cc
C++
iridium/files/patch-chrome_browser_profiles_chrome__browser__main__extra__parts__profiles.cc
behemoth3663/ports_local
ad57042ae62c907f9340ee696f468fdfeb562a8b
[ "BSD-3-Clause" ]
1
2022-02-08T02:24:08.000Z
2022-02-08T02:24:08.000Z
iridium/files/patch-chrome_browser_profiles_chrome__browser__main__extra__parts__profiles.cc
behemoth3663/ports_local
ad57042ae62c907f9340ee696f468fdfeb562a8b
[ "BSD-3-Clause" ]
null
null
null
iridium/files/patch-chrome_browser_profiles_chrome__browser__main__extra__parts__profiles.cc
behemoth3663/ports_local
ad57042ae62c907f9340ee696f468fdfeb562a8b
[ "BSD-3-Clause" ]
null
null
null
--- chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc.orig 2020-03-16 18:40:29 UTC +++ chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc @@ -295,7 +295,7 @@ void ChromeBrowserMainExtraPartsProfiles:: if (base::FeatureList::IsEnabled(media::kUseMediaHistoryStore)) media_histor...
55.583333
100
0.775112
behemoth3663
a2ad0de602bed30a14fbe3b1da51a6820b913644
1,788
cpp
C++
Source/FishEngine/ECS.cpp
yushroom/FishEngine-ECS
99e96f96d30a1cc624a7ffb410a34e418449dd81
[ "MIT" ]
10
2018-08-28T17:07:06.000Z
2021-06-19T09:51:27.000Z
Source/FishEngine/ECS.cpp
yushroom/FishEngine-ECS
99e96f96d30a1cc624a7ffb410a34e418449dd81
[ "MIT" ]
1
2018-10-25T19:42:10.000Z
2018-10-30T09:34:05.000Z
Source/FishEngine/ECS.cpp
yushroom/FishEngine-ECS
99e96f96d30a1cc624a7ffb410a34e418449dd81
[ "MIT" ]
5
2018-10-25T19:39:26.000Z
2020-08-09T05:47:57.000Z
#include <FishEngine/ECS/Component.hpp> #include <FishEngine/ECS/GameObject.hpp> #include <FishEngine/ECS/Scene.hpp> #include <FishEngine/ECS/System.hpp> #include <FishEngine/Components/Transform.hpp> #include <FishEngine/Serialization/Archive.hpp> using namespace FishEngine; GameObject::GameObject(EntityID entityID,...
20.089888
75
0.706935
yushroom
a2adb990212cd924d9398e7fbe452c0d0d30865c
6,878
hxx
C++
include/knapsack_object.hxx
LPMP/equality-knapsack
2a44a156aa8cd2bee1757a8b23facdc2be3246e0
[ "BSD-2-Clause" ]
null
null
null
include/knapsack_object.hxx
LPMP/equality-knapsack
2a44a156aa8cd2bee1757a8b23facdc2be3246e0
[ "BSD-2-Clause" ]
null
null
null
include/knapsack_object.hxx
LPMP/equality-knapsack
2a44a156aa8cd2bee1757a8b23facdc2be3246e0
[ "BSD-2-Clause" ]
null
null
null
#ifndef EKP_KNAPSACK_OBJECT_HXX #define EKP_KNAPSACK_OBJECT_HXX #include <config.hxx> #include <algorithm> #include <vector> #include <numeric> #include <memory> #include <stack> #include <tuple> namespace ekp { class ekp_instance { public: using node = std::tuple<REAL,REAL,REAL,REAL>; ...
26.867188
82
0.508287
LPMP
a2b079c7c95647c2bc8228fbb9a17fbaec414162
33,132
hpp
C++
src/frame_graph/frame_graph.hpp
LaisoEmilio/WispRenderer
8186856a7b3e1f0a19f6f6c8a9b99d8ccff38572
[ "Apache-2.0" ]
203
2019-04-26T10:52:22.000Z
2022-03-15T17:42:44.000Z
src/frame_graph/frame_graph.hpp
LaisoEmilio/WispRenderer
8186856a7b3e1f0a19f6f6c8a9b99d8ccff38572
[ "Apache-2.0" ]
90
2018-11-23T09:07:05.000Z
2019-04-13T10:44:03.000Z
src/frame_graph/frame_graph.hpp
LaisoEmilio/WispRenderer
8186856a7b3e1f0a19f6f6c8a9b99d8ccff38572
[ "Apache-2.0" ]
14
2019-06-19T00:52:00.000Z
2021-02-19T13:44:01.000Z
/*! * Copyright 2019 Breda University of Applied Sciences and Team Wisp (Viktor Zoutman, Emilio Laiso, Jens Hagen, Meine Zeinstra, Tahar Meijs, Koen Buitenhuis, Niels Brunekreef, Darius Bouma, Florian Schut) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in co...
31.464387
204
0.696125
LaisoEmilio
a2b0ec13c962e69c833e00d65520b8fd008cab14
1,204
cpp
C++
semaphore/semA.cpp
chengwenwu/IPC
2e01f397d15b2d2911f3494fc98c9ca5e8d274a9
[ "MIT" ]
null
null
null
semaphore/semA.cpp
chengwenwu/IPC
2e01f397d15b2d2911f3494fc98c9ca5e8d274a9
[ "MIT" ]
null
null
null
semaphore/semA.cpp
chengwenwu/IPC
2e01f397d15b2d2911f3494fc98c9ca5e8d274a9
[ "MIT" ]
null
null
null
#include <iostream> #include "sem.hpp" using namespace std; int main() { // 获取共享内存 int shmId = shmget(ftok(SHM_FILE, PROJ_ID), SHM_SIZE, IPC_CREAT | IPC_EXCL | 0666); if (shmId == -1) { perror("shmget:"); return 0; } // 绑定共享内存地址 char *shmMemory = (char *)shmat(shmId, NULL, 0);...
19.737705
87
0.516611
chengwenwu
a2b4e7193801736e204ef14cc464d9dae226c518
21,840
cpp
C++
src/TextWriter.cpp
arielscarpinelli/pianogame
abca8a622afa4bb1b63aa1c457a0d36488033b4f
[ "MIT" ]
null
null
null
src/TextWriter.cpp
arielscarpinelli/pianogame
abca8a622afa4bb1b63aa1c457a0d36488033b4f
[ "MIT" ]
null
null
null
src/TextWriter.cpp
arielscarpinelli/pianogame
abca8a622afa4bb1b63aa1c457a0d36488033b4f
[ "MIT" ]
null
null
null
// Copyright (c)2007 Nicholas Piegdon // See license.txt for license information #include <map> #include "TextWriter.h" #include "Renderer.h" #include "PianoGameError.h" #include "os_graphics.h" #ifdef WIN32 // TODO: This should be deleted at shutdown static std::map<int, HFONT> font_handle_lookup; st...
37.142857
155
0.479533
arielscarpinelli
a2b5a6f648c038c0d60e10b5ab74baeed2bd153d
1,844
cpp
C++
CPSC 2 Lectures/Copy Constructors/overload2_2.cpp
pwoodru/Academics
d2d10d26a4802e2ba8eb5a03057ff91e1644e93c
[ "MIT" ]
null
null
null
CPSC 2 Lectures/Copy Constructors/overload2_2.cpp
pwoodru/Academics
d2d10d26a4802e2ba8eb5a03057ff91e1644e93c
[ "MIT" ]
null
null
null
CPSC 2 Lectures/Copy Constructors/overload2_2.cpp
pwoodru/Academics
d2d10d26a4802e2ba8eb5a03057ff91e1644e93c
[ "MIT" ]
null
null
null
#include "overload2_2.h" //*************************************************** //The overloaded operator function for assignment * //*************************************************** NumberArray& NumberArray::operator=(const NumberArray &right) { //cout<< "In operator =" << endl; if (arraySize > 0) de...
31.254237
62
0.444685
pwoodru
a2ba91162019f55ab5b9a0e888c613abf75fdb30
509
cpp
C++
Vector-Erase.cpp
arnav-tandon/HackerRankChallenges
4dddbe42044ba1673ceaed6ccfd026df89cdb8dc
[ "MIT" ]
null
null
null
Vector-Erase.cpp
arnav-tandon/HackerRankChallenges
4dddbe42044ba1673ceaed6ccfd026df89cdb8dc
[ "MIT" ]
null
null
null
Vector-Erase.cpp
arnav-tandon/HackerRankChallenges
4dddbe42044ba1673ceaed6ccfd026df89cdb8dc
[ "MIT" ]
null
null
null
#include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> using namespace std; int main() { int n, x, p, q, r; cin >> n; vector<int> a; for(int i = 0; i < n; ++i){ cin >> x; a.push_back(x); } cin >> p; a.erase(a.begin() + (p - 1)); ...
18.851852
53
0.440079
arnav-tandon
a2baf8fd519740ff9d83bda7facdefaad64f1177
2,629
cpp
C++
src/setshowinfo.cpp
mahuifa/DesktopTime
067bd36a42d7349d8905c2bf81a74b6a1f895f05
[ "Apache-2.0" ]
1
2022-03-20T15:29:15.000Z
2022-03-20T15:29:15.000Z
src/setshowinfo.cpp
mahuifa/DesktopTime
067bd36a42d7349d8905c2bf81a74b6a1f895f05
[ "Apache-2.0" ]
null
null
null
src/setshowinfo.cpp
mahuifa/DesktopTime
067bd36a42d7349d8905c2bf81a74b6a1f895f05
[ "Apache-2.0" ]
null
null
null
#include "setshowinfo.h" #include "ui_setshowinfo.h" #include <QFileDialog> #include <qdebug.h> #include "head.h" SetShowInfo::SetShowInfo(QWidget *parent) : QWidget(parent), ui(new Ui::SetShowInfo) { ui->setupUi(this); this->setWindowTitle("显示设置"); for(int i = 1; i < 100; i++) { ui-...
20.700787
75
0.617725
mahuifa
a2bd2cc7f04e5d37e3d0958fb038281b963f26a1
7,738
cpp
C++
IOSServer/Decomp.cpp
satadriver/GoogleServiceServer
7d6e55d2f9a189301dd68821c920d0a0e300322a
[ "Apache-2.0" ]
null
null
null
IOSServer/Decomp.cpp
satadriver/GoogleServiceServer
7d6e55d2f9a189301dd68821c920d0a0e300322a
[ "Apache-2.0" ]
null
null
null
IOSServer/Decomp.cpp
satadriver/GoogleServiceServer
7d6e55d2f9a189301dd68821c920d0a0e300322a
[ "Apache-2.0" ]
null
null
null
#include <windows.h> #include "iosServer.h" #include "PublicFunction.h" #include "CryptoUtils.h" #include "Coder.h" #include "FileOperator.h" int DisposePrefixZip(char * filename,char * dstfilename) { lstrcpyA(dstfilename, filename); int fnlen = lstrlenA(dstfilename); for (int i = 0; i < fnlen - 4 + 1; i ++) { ...
25.123377
156
0.676402
satadriver
a2bdb1e951c5b6a99024734de3fa57d343ca12e4
1,780
hpp
C++
include/view/view.hpp
modern-cpp-examples/match3
bb1f4de11db9e92b6ebdf80f1afe9245e6f86b7e
[ "BSL-1.0" ]
166
2016-04-27T19:01:00.000Z
2022-03-27T02:16:55.000Z
include/view/view.hpp
Fuyutsubaki/match3
bb1f4de11db9e92b6ebdf80f1afe9245e6f86b7e
[ "BSL-1.0" ]
4
2016-05-19T07:47:38.000Z
2018-03-22T04:33:00.000Z
include/view/view.hpp
Fuyutsubaki/match3
bb1f4de11db9e92b6ebdf80f1afe9245e6f86b7e
[ "BSL-1.0" ]
17
2016-05-18T21:17:39.000Z
2022-03-20T22:37:14.000Z
// // Copyright (c) 2016 Krzysztof Jusiak (krzysztof at jusiak dot net) // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // #pragma once #include "config.hpp" #include "view/icanvas.hpp" namespace match3 { c...
28.253968
80
0.651685
modern-cpp-examples
a2c32fc6625ba36bb03e06e3593f37ddfa7bb63e
6,190
hpp
C++
redemption/src/utils/sugar/bounded_bytes_view.hpp
DianaAssistant/DIANA
6a4c51c1861f6a936941b21c2c905fc291c229d7
[ "MIT" ]
null
null
null
redemption/src/utils/sugar/bounded_bytes_view.hpp
DianaAssistant/DIANA
6a4c51c1861f6a936941b21c2c905fc291c229d7
[ "MIT" ]
null
null
null
redemption/src/utils/sugar/bounded_bytes_view.hpp
DianaAssistant/DIANA
6a4c51c1861f6a936941b21c2c905fc291c229d7
[ "MIT" ]
null
null
null
/* This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ...
36.19883
97
0.73021
DianaAssistant
a2c5c26adb1d42ddc624f3d00c7333a20e7b2e03
673
cpp
C++
1128/main.cpp
Heliovic/PAT_Solutions
7c5dd554654045308f2341713c3e52cc790beb59
[ "MIT" ]
2
2019-03-18T12:55:38.000Z
2019-09-07T10:11:26.000Z
1128/main.cpp
Heliovic/My_PAT_Answer
7c5dd554654045308f2341713c3e52cc790beb59
[ "MIT" ]
null
null
null
1128/main.cpp
Heliovic/My_PAT_Answer
7c5dd554654045308f2341713c3e52cc790beb59
[ "MIT" ]
null
null
null
#include <cstdio> #include <algorithm> #define MAX_N 1024 using namespace std; int pos[MAX_N]; int K, N; int main() { scanf("%d", &K); L1: while (K--) { scanf("%d", &N); for (int i = 0; i < N; i++) scanf("%d", &pos[i]); for (int i = 0; i < N; i++) { ...
16.825
75
0.325409
Heliovic
a2c8029c8c782c30b83c0d09ab05553b9cc210a8
213
cpp
C++
Recursion/NestedRecursion/main.cpp
rsghotra/AbdulBari
2d2845608840ddda6e5153ec91966110ca7e25f5
[ "Apache-2.0" ]
1
2020-12-02T09:21:52.000Z
2020-12-02T09:21:52.000Z
Recursion/NestedRecursion/main.cpp
rsghotra/AbdulBari
2d2845608840ddda6e5153ec91966110ca7e25f5
[ "Apache-2.0" ]
null
null
null
Recursion/NestedRecursion/main.cpp
rsghotra/AbdulBari
2d2845608840ddda6e5153ec91966110ca7e25f5
[ "Apache-2.0" ]
null
null
null
#include <iostream> using namespace std; int fun(int n) { if(n>100) { return n - 10; } return fun(fun(n+11)); } int main() { int r; r = fun(1); cout << r << endl; return 0; }
12.529412
26
0.488263
rsghotra
a2c8da167c6bc0830793b05dd9599c82aab490a8
4,847
hpp
C++
pooling.hpp
CP-Panizza/Num
f1e21c1ebba7519e3b70e9259a8ee2bd99d4942f
[ "MIT" ]
3
2020-06-22T14:46:42.000Z
2020-07-04T07:58:53.000Z
pooling.hpp
CP-Panizza/CNN
f1e21c1ebba7519e3b70e9259a8ee2bd99d4942f
[ "MIT" ]
null
null
null
pooling.hpp
CP-Panizza/CNN
f1e21c1ebba7519e3b70e9259a8ee2bd99d4942f
[ "MIT" ]
null
null
null
#ifndef _POOLING_HPP_ #define _POOLING_HPP_ #include "matrix.hpp" #include "utils.h" #include <vector> class Pooling { public: int pool_size; int stride; std::vector<std::vector<Matrix<double> *>> *mask = nullptr; std::vector<int> out_shape; //输出的维度信息 N,C,H,W std::vector<i...
38.165354
136
0.438828
CP-Panizza
a2ca4c13f1112c460ba577ab92c6e14ce5fc2bc8
3,982
cpp
C++
src/system/libroot/add-ons/icu/ICUCategoryData.cpp
axeld/haiku
e3becd53eef5c093ee8c8f32bab51d40b0f2b8d4
[ "MIT" ]
4
2016-03-29T21:45:21.000Z
2016-12-20T00:50:38.000Z
src/system/libroot/add-ons/icu/ICUCategoryData.cpp
axeld/haiku
e3becd53eef5c093ee8c8f32bab51d40b0f2b8d4
[ "MIT" ]
null
null
null
src/system/libroot/add-ons/icu/ICUCategoryData.cpp
axeld/haiku
e3becd53eef5c093ee8c8f32bab51d40b0f2b8d4
[ "MIT" ]
3
2018-12-17T13:07:38.000Z
2021-09-08T13:07:31.000Z
/* * Copyright 2010-2011, Oliver Tappe, zooey@hirschkaefer.de. * Distributed under the terms of the MIT License. */ #include "ICUCategoryData.h" #include <string.h> #include <unicode/uchar.h> namespace BPrivate { namespace Libroot { ICUCategoryData::ICUCategoryData(pthread_key_t tlsKey) : fThreadLocalStora...
23.151163
77
0.741336
axeld
a2cf8e32027366a348ac340ac7a8fb437954ad21
709
cpp
C++
src/tests/test_uuids.cpp
ondra-novak/couchit
10af4464327dcc2aeb470fe2db7fbd1594ff1b0d
[ "MIT" ]
4
2017-03-20T22:14:10.000Z
2018-03-21T09:24:32.000Z
src/tests/test_uuids.cpp
ondra-novak/couchit
10af4464327dcc2aeb470fe2db7fbd1594ff1b0d
[ "MIT" ]
null
null
null
src/tests/test_uuids.cpp
ondra-novak/couchit
10af4464327dcc2aeb470fe2db7fbd1594ff1b0d
[ "MIT" ]
null
null
null
/* * test_uuids.cpp * * Created on: 10. 3. 2016 * Author: ondra */ #include <iostream> #include <set> #include <chrono> #include <thread> #include "../couchit/couchDB.h" #include "test_common.h" #include "testClass.h" namespace couchit { using namespace json; static void genFastUUIDS(std::ostream &pr...
16.488372
62
0.651622
ondra-novak
a2cfb318bdb4cf5e13a620e544f649b8661f2adc
966
cpp
C++
source/vmalloc.cpp
EthanArmbrust/snes9xgx
4e11dc00b3672fe4f0979317cca35ce97d1c2d09
[ "Xnet", "X11" ]
294
2016-07-09T01:13:19.000Z
2022-03-28T02:59:29.000Z
source/vmalloc.cpp
EthanArmbrust/snes9xgx
4e11dc00b3672fe4f0979317cca35ce97d1c2d09
[ "Xnet", "X11" ]
173
2016-07-30T16:20:25.000Z
2022-02-20T10:46:45.000Z
source/vmalloc.cpp
EthanArmbrust/snes9xgx
4e11dc00b3672fe4f0979317cca35ce97d1c2d09
[ "Xnet", "X11" ]
167
2016-07-19T20:33:43.000Z
2022-03-15T18:09:15.000Z
/**************************************************************************** * Snes9x Nintendo Wii/Gamecube Port * * emu_kidid 2015-2018 * * vmalloc.cpp * * GC VM memory allocator ***************************************************************************/ #ifdef USE_VM #include <ogc/machine/asm.h> #include ...
19.32
77
0.610766
EthanArmbrust
a2d3043363fd73b00732cc491b0aed535701fbdd
5,792
cc
C++
chrome/browser/ui/views/extensions/bookmark_app_confirmation_view.cc
google-ar/chromium
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
777
2017-08-29T15:15:32.000Z
2022-03-21T05:29:41.000Z
chrome/browser/ui/views/extensions/bookmark_app_confirmation_view.cc
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
66
2017-08-30T18:31:18.000Z
2021-08-02T10:59:35.000Z
chrome/browser/ui/views/extensions/bookmark_app_confirmation_view.cc
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
123
2017-08-30T01:19:34.000Z
2022-03-17T22:55:31.000Z
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ui/views/extensions/bookmark_app_confirmation_view.h" #include "base/callback_helpers.h" #include "base/strings/string16.h" #inc...
33.479769
80
0.762258
google-ar
a2d36653fd6175ddc06d4d8b07e6f0e828a579e7
1,018
hpp
C++
src/sort_test.hpp
loryruta/gpu-radix-sort
39a973e46834dd7f06a8855e95aa3b3cc7e1709e
[ "MIT" ]
6
2021-11-11T09:12:10.000Z
2022-03-05T15:56:16.000Z
src/sort_test.hpp
rutay/parallel-radix-sort
39a973e46834dd7f06a8855e95aa3b3cc7e1709e
[ "MIT" ]
null
null
null
src/sort_test.hpp
rutay/parallel-radix-sort
39a973e46834dd7f06a8855e95aa3b3cc7e1709e
[ "MIT" ]
1
2021-11-09T06:51:18.000Z
2021-11-09T06:51:18.000Z
#pragma once #include "generated/radix_sort.hpp" namespace rgc::radix_sort { class array_compare { private: program m_program; GLuint m_errors_counter; GLuint m_error_marks_buf; public: array_compare(size_t max_arr_len); ~array_compare(); GLuint compare(GLuint arr_1, GLuint arr_2, size_t arr_len); ...
17.551724
69
0.753438
loryruta
a2d42874d1c5b9c1d5f9474430caee9552b111fc
3,683
cpp
C++
Algorithm/src/algorithm/leetcode/two_sum.cpp
elloop/algorithm
5485be0aedbc18968f775cff9533a2d444dbdcb5
[ "MIT" ]
15
2015-11-04T12:53:23.000Z
2021-08-10T09:53:12.000Z
Algorithm/src/algorithm/leetcode/two_sum.cpp
elloop/algorithm
5485be0aedbc18968f775cff9533a2d444dbdcb5
[ "MIT" ]
null
null
null
Algorithm/src/algorithm/leetcode/two_sum.cpp
elloop/algorithm
5485be0aedbc18968f775cff9533a2d444dbdcb5
[ "MIT" ]
6
2015-11-13T10:17:01.000Z
2020-05-14T07:25:48.000Z
#include <map> #include <string> #include <cstring> #include <iostream> #include <vector> #include "inc.h" #include "valid_parentheses.h" #include "rotate_array.h" #include "title_to_number.h" #include "trailing_zeroes.h" #include "column_to_title.h" #include "compare_version.h" #include "intersection_of_linklist.h" #i...
22.053892
96
0.555797
elloop
a2d544b2a2cdefa656d835063c5de87b0fc3b3af
520
hpp
C++
Engine/Include/FishEngine/BoxCollider.hpp
ValtoGameEngines/Fish-Engine
a4b9fb9b0a6dc202f7990e75f4b7d8d5163209d9
[ "MIT" ]
240
2017-02-17T10:08:19.000Z
2022-03-25T14:45:29.000Z
Engine/Include/FishEngine/BoxCollider.hpp
ValtoGameEngines/Fish-Engine
a4b9fb9b0a6dc202f7990e75f4b7d8d5163209d9
[ "MIT" ]
2
2016-10-12T07:08:38.000Z
2017-04-05T01:56:30.000Z
Engine/Include/FishEngine/BoxCollider.hpp
yushroom/FishEngine
a4b9fb9b0a6dc202f7990e75f4b7d8d5163209d9
[ "MIT" ]
39
2017-03-02T09:40:07.000Z
2021-12-04T07:28:53.000Z
#ifndef BoxCollider_hpp #define BoxCollider_hpp #include "Collider.hpp" namespace FishEngine { class FE_EXPORT BoxCollider : public Collider { public: DefineComponent(BoxCollider); BoxCollider() = default; BoxCollider(const Vector3& center, const Vector3& size); virtual void OnDrawGizmosSelected()...
17.931034
47
0.730769
ValtoGameEngines
a2d8479782400383e3d78a74f87c83433c137a8a
5,500
cpp
C++
src/bls12_381/curve.cpp
gtfierro/jedi-pairing
07791509e7702094118eba34337868a646363dc2
[ "BSD-3-Clause" ]
4
2020-10-27T09:38:17.000Z
2021-11-01T07:05:34.000Z
src/bls12_381/curve.cpp
gtfierro/jedi-pairing
07791509e7702094118eba34337868a646363dc2
[ "BSD-3-Clause" ]
null
null
null
src/bls12_381/curve.cpp
gtfierro/jedi-pairing
07791509e7702094118eba34337868a646363dc2
[ "BSD-3-Clause" ]
2
2021-08-09T06:27:46.000Z
2021-08-09T19:55:07.000Z
/* * Copyright (c) 2018, Sam Kumar <samkumar@cs.berkeley.edu> * Copyright (c) 2018, University of California, Berkeley * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistribution...
37.671233
100
0.613818
gtfierro
a2d84d1679838c077a221790b77f4531e41ae4a5
5,695
cpp
C++
modules/task_3/kudriavtsev_a_radix_sort/main.cpp
Vodeneev/pp_2020_autumn_math
9b7e5ec56e09474c9880810a6124e3e416bb7e16
[ "BSD-3-Clause" ]
null
null
null
modules/task_3/kudriavtsev_a_radix_sort/main.cpp
Vodeneev/pp_2020_autumn_math
9b7e5ec56e09474c9880810a6124e3e416bb7e16
[ "BSD-3-Clause" ]
null
null
null
modules/task_3/kudriavtsev_a_radix_sort/main.cpp
Vodeneev/pp_2020_autumn_math
9b7e5ec56e09474c9880810a6124e3e416bb7e16
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2020 Kudriavtsev Alexander #include <gtest-mpi-listener.hpp> #include <gtest/gtest.h> #include <vector> #include <algorithm> #include "./ops_mpi.h" TEST(Parallel_Operations_MPI, Test_Seq_20) { int rank; MPI_Comm_rank(MPI_COMM_WORLD, &rank); std::vector<int> vec1; const int n = 20; if (...
29.35567
78
0.565233
Vodeneev
a2d8901d8495d3a8e2b7fb8f3d03765370e198f1
647
cpp
C++
heavenLi_pyopengl/hliGLutils/metaUtils/doesDrawCallExist.cpp
iyr/heavenli
90f2786b0a8934302910f2214e71ee851e678baa
[ "BSD-3-Clause" ]
null
null
null
heavenLi_pyopengl/hliGLutils/metaUtils/doesDrawCallExist.cpp
iyr/heavenli
90f2786b0a8934302910f2214e71ee851e678baa
[ "BSD-3-Clause" ]
null
null
null
heavenLi_pyopengl/hliGLutils/metaUtils/doesDrawCallExist.cpp
iyr/heavenli
90f2786b0a8934302910f2214e71ee851e678baa
[ "BSD-3-Clause" ]
null
null
null
using namespace std; extern map<string, drawCall> drawCalls; PyObject* doesDrawCallExist_hliGLutils(PyObject* self, PyObject* args) { PyObject* drawcallPyString; // Parse Inputs if ( !PyArg_ParseTuple(args, "O", &drawcallPyString ) ) { Py_RETURN_NONE; } //...
20.21875
72
0.669243
iyr
a2d900c3523fdbbf7d57d2733c2c8c653159e676
33,925
cpp
C++
SimpleSvmHook/Logging.cpp
zanzo420/SimpleSvmHook
7cef39ffad9c15a31615a9b032b910011b3bdb1b
[ "MIT" ]
194
2018-07-02T11:43:47.000Z
2022-03-24T01:50:07.000Z
SimpleSvmHook/Logging.cpp
zanzo420/SimpleSvmHook
7cef39ffad9c15a31615a9b032b910011b3bdb1b
[ "MIT" ]
7
2018-09-18T17:33:25.000Z
2022-03-19T04:13:22.000Z
SimpleSvmHook/Logging.cpp
zanzo420/SimpleSvmHook
7cef39ffad9c15a31615a9b032b910011b3bdb1b
[ "MIT" ]
55
2018-07-29T19:12:47.000Z
2022-01-20T13:09:20.000Z
/*! @file Logging.cpp @brief Implements interfaces to logging functions. @details This file is migrated from an old codebase and does not always align with a coding style used in the rest of files. @author Satoshi Tanda @copyright Copyright (c) 2018-2019, Satoshi Tanda. All rights reserv...
25.373972
100
0.608018
zanzo420
a2d9fb0c35da66d6d5f3f1caf14a1e5def905d43
3,820
cpp
C++
core/src/UI/UIFrameConstraint.cpp
hhsaez/crimild
e3efee09489939338df55e8af9a1f9ddc01301f7
[ "BSD-3-Clause" ]
36
2015-03-12T10:42:36.000Z
2022-01-12T04:20:40.000Z
core/src/UI/UIFrameConstraint.cpp
hhsaez/crimild
e3efee09489939338df55e8af9a1f9ddc01301f7
[ "BSD-3-Clause" ]
1
2015-12-17T00:25:43.000Z
2016-02-20T12:00:57.000Z
core/src/UI/UIFrameConstraint.cpp
hhsaez/crimild
e3efee09489939338df55e8af9a1f9ddc01301f7
[ "BSD-3-Clause" ]
6
2017-06-17T07:57:53.000Z
2019-04-09T21:11:24.000Z
/* * Copyright (c) 2002-present, H. Hernán Saez * 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 ...
24.33121
105
0.66466
hhsaez
a2da62d6cf8d8a0430ec9314853678048dca5350
8,973
cpp
C++
src/ofApp.cpp
clovistessier/kinect-hand-tracker-osc
4dfcfe3e0ed0c625644bb158d83033d5b8dab724
[ "MIT" ]
null
null
null
src/ofApp.cpp
clovistessier/kinect-hand-tracker-osc
4dfcfe3e0ed0c625644bb158d83033d5b8dab724
[ "MIT" ]
null
null
null
src/ofApp.cpp
clovistessier/kinect-hand-tracker-osc
4dfcfe3e0ed0c625644bb158d83033d5b8dab724
[ "MIT" ]
null
null
null
#include "ofApp.h" //-------------------------------------------------------------- void ofApp::setup() { ofSetLogLevel(OF_LOG_VERBOSE); // enable depth->video image calibration kinect.setRegistration(true); kinect.init(); //kinect.init(true); // shows infrared instead of RGB video...
30.416949
119
0.513875
clovistessier
a2db57facee46af451f72ab1794bef186594978b
2,509
cpp
C++
net/tcpip/services/telnet/server/tlntsess/main.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
net/tcpip/services/telnet/server/tlntsess/main.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
net/tcpip/services/telnet/server/tlntsess/main.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
// scraper.cpp : This file contains the // Created: Dec '97 // History: // Copyright (C) 1997 Microsoft Corporation // All rights reserved. // Microsoft Confidential #include <CmnHdr.h> #include <TChar.h> #include <New.h> #include <Debug.h> #include <MsgFile.h> #include <TelnetD.h> #include <TlntUtil...
22.008772
95
0.597449
npocmaka
a2db62dba8023f3b19b00e83d89ff9b7b944cd74
11,392
cpp
C++
willow/src/op/concat.cpp
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
61
2020-07-06T17:11:46.000Z
2022-03-12T14:42:51.000Z
willow/src/op/concat.cpp
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
1
2021-02-25T01:30:29.000Z
2021-11-09T11:13:14.000Z
willow/src/op/concat.cpp
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
6
2020-07-15T12:33:13.000Z
2021-11-07T06:55:00.000Z
// Copyright (c) 2019 Graphcore Ltd. All rights reserved. #include <algorithm> #include <memory> #include <popart/alias/aliasmodel.hpp> #include <popart/graph.hpp> #include <popart/op/concat.hpp> #include <popart/opmanager.hpp> #include <popart/opserialiser.hpp> #include <popart/region.hpp> #include <popart/tensor.hpp...
32.641834
80
0.629828
gglin001
a2dd9ceaf0f037a2a325fdce8675ad0d1eff1c25
5,023
cpp
C++
cat/src/v20180409/model/UpdateProbeTaskConfigurationListRequest.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
null
null
null
cat/src/v20180409/model/UpdateProbeTaskConfigurationListRequest.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
null
null
null
cat/src/v20180409/model/UpdateProbeTaskConfigurationListRequest.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
null
null
null
/* * 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 ...
27.905556
104
0.720884
suluner
a2de25e49dd08d862a35f24b08b0afdbafd6589b
377
cpp
C++
NaPomocMatiemu/NaPomocMatiemu/KlientC.cpp
MiszelHub/PobiMatiego
96def41a0927e54f3c2310d98cb88f586e0e4d46
[ "MIT" ]
null
null
null
NaPomocMatiemu/NaPomocMatiemu/KlientC.cpp
MiszelHub/PobiMatiego
96def41a0927e54f3c2310d98cb88f586e0e4d46
[ "MIT" ]
null
null
null
NaPomocMatiemu/NaPomocMatiemu/KlientC.cpp
MiszelHub/PobiMatiego
96def41a0927e54f3c2310d98cb88f586e0e4d46
[ "MIT" ]
null
null
null
#include "KlientC.h" KlientC::KlientC(std::string nazwaTypu) :Typ(nazwaTypu) { //ctor } KlientC::~KlientC() { //dtor } double KlientC::obliczRabat(double bilans) { double rabat = 0; if (bilans <= 50) { rabat = bilans*0.05; } else if ((bilans > 50) && (bilans <= 100)) { rabat = bilans*0.07; } else if (b...
13
55
0.607427
MiszelHub
a2dfc3848ad3959227f3f7816adb85e133e79bf5
31,103
cpp
C++
aten/src/TH/generic/THTensorEvenMoreMath.cpp
DavidKo3/mctorch
53ffe61763059677978b4592c8b2153b0c15428f
[ "BSD-3-Clause" ]
1
2019-07-21T02:13:22.000Z
2019-07-21T02:13:22.000Z
aten/src/TH/generic/THTensorEvenMoreMath.cpp
DavidKo3/mctorch
53ffe61763059677978b4592c8b2153b0c15428f
[ "BSD-3-Clause" ]
null
null
null
aten/src/TH/generic/THTensorEvenMoreMath.cpp
DavidKo3/mctorch
53ffe61763059677978b4592c8b2153b0c15428f
[ "BSD-3-Clause" ]
null
null
null
#ifndef TH_GENERIC_FILE #define TH_GENERIC_FILE "generic/THTensorEvenMoreMath.cpp" #else #include <TH/generic/THTensorApply.hpp> void THTensor_(fill)(THTensor *r_, real value) { if (THTensor_(isContiguous)(r_) || THTensor_(isTransposed)(r_)) { TH_TENSOR_APPLY_CONTIG(real, r_, THVector_(fill)(r__data, value, r__...
32.809072
184
0.626756
DavidKo3
a2e35f06d334d1d7fe91d45a1dfdcf3251d4e969
1,840
cpp
C++
lib/Backends/CevaSPF2/libjit_spf2/libjit_spf2.cpp
YaronBenAtar/glow
a13706a4239fa7eaf059c670dc573e3eb0768f86
[ "Apache-2.0" ]
null
null
null
lib/Backends/CevaSPF2/libjit_spf2/libjit_spf2.cpp
YaronBenAtar/glow
a13706a4239fa7eaf059c670dc573e3eb0768f86
[ "Apache-2.0" ]
null
null
null
lib/Backends/CevaSPF2/libjit_spf2/libjit_spf2.cpp
YaronBenAtar/glow
a13706a4239fa7eaf059c670dc573e3eb0768f86
[ "Apache-2.0" ]
null
null
null
/** * Copyright (c) Glow Contributors. See CONTRIBUTORS file. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless r...
36.078431
81
0.656522
YaronBenAtar
a2e3dfa6d740f7f8e49746e83d1d67d011e6d7a9
2,977
cpp
C++
src/ecckd/read_spectrum.cpp
ecmwf-ifs/ecckd
6115f9b8e29a55cb0f48916857bdc77fec41badd
[ "Apache-2.0" ]
null
null
null
src/ecckd/read_spectrum.cpp
ecmwf-ifs/ecckd
6115f9b8e29a55cb0f48916857bdc77fec41badd
[ "Apache-2.0" ]
null
null
null
src/ecckd/read_spectrum.cpp
ecmwf-ifs/ecckd
6115f9b8e29a55cb0f48916857bdc77fec41badd
[ "Apache-2.0" ]
null
null
null
// read_spectrum.cpp - Read a profile of spectral optical depth // // Copyright (C) 2019- ECMWF. // // This software is licensed under the terms of the Apache Licence Version 2.0 // which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. // // In applying this licence, ECMWF does not waive the privileges a...
33.829545
84
0.660396
ecmwf-ifs
a2e5c3e9fe23c448048b9172336d81df9c1b2f02
6,313
cc
C++
src/operators/test/operator_advdiff_surface.cc
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
37
2017-04-26T16:27:07.000Z
2022-03-01T07:38:57.000Z
src/operators/test/operator_advdiff_surface.cc
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
494
2016-09-14T02:31:13.000Z
2022-03-13T18:57:05.000Z
src/operators/test/operator_advdiff_surface.cc
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
43
2016-09-26T17:58:40.000Z
2022-03-25T02:29:59.000Z
/* Operators Copyright 2010-201x held jointly by LANS/LANL, LBNL, and PNNL. Amanzi is released under the three-clause BSD License. The terms of use and "as is" disclaimer for this license are provided in the top-level COPYRIGHT file. Author: Konstantin Lipnikov (lipnikov@lanl.gov) */ #include <cstdlib...
34.124324
123
0.685728
fmyuan
a2e7a249e78fa4d3b3edc478f44e4b482371cc90
399
cpp
C++
hw4-jasonsie88-master/src/lib/AST/return.cpp
jasonsie88/Intro._to_Compiler_Design
228205241fcba7eb3407ec72936a52b0266671bb
[ "MIT" ]
null
null
null
hw4-jasonsie88-master/src/lib/AST/return.cpp
jasonsie88/Intro._to_Compiler_Design
228205241fcba7eb3407ec72936a52b0266671bb
[ "MIT" ]
null
null
null
hw4-jasonsie88-master/src/lib/AST/return.cpp
jasonsie88/Intro._to_Compiler_Design
228205241fcba7eb3407ec72936a52b0266671bb
[ "MIT" ]
null
null
null
#include "AST/return.hpp" #include "visitor/AstNodeVisitor.hpp" ReturnNode::ReturnNode(const uint32_t line, const uint32_t col,ExpressionNode *new_p_ret_val) :AstNode{line, col}, m_ret_val(new_p_ret_val){} void ReturnNode::accept(AstNodeVisitor &p_visitor){ p_visitor.visit(*this); } void ReturnNode::vi...
28.5
93
0.759398
jasonsie88
a2e88e8615feecfdb9e6d8eb80bb94ad08dafea7
585
cpp
C++
structural/proxy/SecureProxy.cpp
masiboo/design-patterns-in-cpp
c690b1deecd0e70a132ad8768c519f1559b10246
[ "Apache-2.0" ]
null
null
null
structural/proxy/SecureProxy.cpp
masiboo/design-patterns-in-cpp
c690b1deecd0e70a132ad8768c519f1559b10246
[ "Apache-2.0" ]
null
null
null
structural/proxy/SecureProxy.cpp
masiboo/design-patterns-in-cpp
c690b1deecd0e70a132ad8768c519f1559b10246
[ "Apache-2.0" ]
null
null
null
#include "SecureProxy.h" #include "RealClient.h" #include <iostream> using std::cin; using std::cout; using proxy::SecureProxy; SecureProxy::SecureProxy(const char* pPasswd) { m_Passwd = new string( pPasswd ); m_Client = new RealClient(); } SecureProxy::~SecureProxy() { delete m_Passwd; m_Passwd = NULL; delete...
15.810811
45
0.702564
masiboo
a2ea29ecfc093b2473ab2ac741db4a544160338f
4,931
cpp
C++
src/rl/hal/HilscherCifx.cpp
Roboy/rl
7686cbd5f9c3630daa6d972f2244ed31f4dc5142
[ "BSD-2-Clause" ]
568
2015-01-23T03:38:45.000Z
2022-03-30T16:12:56.000Z
src/rl/hal/HilscherCifx.cpp
jencureboy/rl
658cdd8387397261ebf0f52d3bde74aae0379e24
[ "BSD-2-Clause" ]
53
2016-03-23T13:16:47.000Z
2022-03-17T05:58:06.000Z
src/rl/hal/HilscherCifx.cpp
jencureboy/rl
658cdd8387397261ebf0f52d3bde74aae0379e24
[ "BSD-2-Clause" ]
169
2015-01-26T12:59:41.000Z
2022-03-29T13:44:54.000Z
// // Copyright (c) 2009, Markus Rickert // 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...
23.821256
105
0.664571
Roboy
a2eb54cbc0b6596420a502a2c5229c5752bce2d5
5,355
cxx
C++
admin/netui/common/src/misc/fsenum/fsenmos2.cxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
admin/netui/common/src/misc/fsenum/fsenmos2.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
admin/netui/common/src/misc/fsenum/fsenmos2.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/**********************************************************************/ /** Microsoft Windows/NT **/ /** Copyright(c) Microsoft Corp., 1991 **/ /**********************************************************************/ /* FSEnmOS2.cxx This file contains the implementation of OS2_FS...
22.690678
76
0.50887
npocmaka
a2ecd9f3ff23a5e466fc34cb47c96b795bb37149
28,270
cpp
C++
printscan/ui/wiadefui/ppscan.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
printscan/ui/wiadefui/ppscan.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
printscan/ui/wiadefui/ppscan.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/******************************************************************************* * * (C) COPYRIGHT MICROSOFT CORPORATION, 1998 * * TITLE: PPSCAN.CPP * * VERSION: 1.0 * * AUTHOR: ShaunIv * * DATE: 5/17/1999 * * DESCRIPTION: * ***************************************...
32.948718
172
0.621224
npocmaka
a2ee18462b6b3ca688687e7953cb349c73c33be8
1,658
cpp
C++
src/services/cpuinfo/CpuInfo.cpp
slabasan/Caliper
85601f48e7f883fb87dec85e92c849eec2bb61f7
[ "BSD-3-Clause" ]
220
2016-01-19T19:00:10.000Z
2022-03-29T02:09:39.000Z
src/services/cpuinfo/CpuInfo.cpp
slabasan/Caliper
85601f48e7f883fb87dec85e92c849eec2bb61f7
[ "BSD-3-Clause" ]
328
2016-05-12T15:47:30.000Z
2022-03-30T19:42:02.000Z
src/services/cpuinfo/CpuInfo.cpp
slabasan/Caliper
85601f48e7f883fb87dec85e92c849eec2bb61f7
[ "BSD-3-Clause" ]
48
2016-03-04T22:04:39.000Z
2021-12-18T12:11:43.000Z
// Copyright (c) 2019, Lawrence Livermore National Security, LLC. // See top-level LICENSE file for details. #include "caliper/CaliperService.h" #include "caliper/Caliper.h" #include "caliper/SnapshotRecord.h" #include "caliper/common/Attribute.h" #include "caliper/common/Log.h" #include <unistd.h> #include <sys/sy...
25.121212
92
0.606755
slabasan
a2ee3f17801ab1032dc63d99d54c03bcd005f0d0
11,991
cpp
C++
Sources/Elastos/Frameworks/Droid/Base/Services/Server/src/elastos/droid/server/dreams/DreamController.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
7
2017-07-13T10:34:54.000Z
2021-04-16T05:40:35.000Z
Sources/Elastos/Frameworks/Droid/Base/Services/Server/src/elastos/droid/server/dreams/DreamController.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
null
null
null
Sources/Elastos/Frameworks/Droid/Base/Services/Server/src/elastos/droid/server/dreams/DreamController.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
9
2017-07-13T12:33:20.000Z
2021-06-19T02:46:48.000Z
//========================================================================= // Copyright (C) 2012 The Elastos Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // ...
33.777465
114
0.66208
jingcao80
a2f8fca6aefc8ba5862a9455ca40796998630a7a
7,183
cpp
C++
tools/Vitis-AI-Runtime/VART/target_factory/src/target_factory.cpp
Carles-Figuerola/Vitis-AI
fc043ea4aca1f9fe4e18962e6a6ae397812bb34b
[ "Apache-2.0" ]
1
2020-12-18T14:49:19.000Z
2020-12-18T14:49:19.000Z
tools/Vitis-AI-Runtime/VART/target_factory/src/target_factory.cpp
cy333/Vitis-AI
611b82cfc32ea2fe04491432bf8feed1f378c9de
[ "Apache-2.0" ]
null
null
null
tools/Vitis-AI-Runtime/VART/target_factory/src/target_factory.cpp
cy333/Vitis-AI
611b82cfc32ea2fe04491432bf8feed1f378c9de
[ "Apache-2.0" ]
null
null
null
/* Copyright 2019 Xilinx Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software dis...
31.783186
80
0.668941
Carles-Figuerola
0c029c40830e8334546c12956a738db707fc4389
604
cpp
C++
testsuite/foreach.cpp
mr-j0nes/RaftLib
19b2b5401365ba13788044bfbcca0820f48b650a
[ "Apache-2.0" ]
759
2016-05-23T22:40:00.000Z
2022-03-25T09:05:41.000Z
testsuite/foreach.cpp
Myicefrog/RaftLib
5ff105293bc851ed73bdfd8966b15d0cadb45eb0
[ "Apache-2.0" ]
111
2016-05-24T02:30:14.000Z
2021-08-16T15:11:53.000Z
testsuite/foreach.cpp
Myicefrog/RaftLib
5ff105293bc851ed73bdfd8966b15d0cadb45eb0
[ "Apache-2.0" ]
116
2016-05-31T08:03:05.000Z
2022-03-01T00:54:31.000Z
#include <cassert> #include <iostream> #include <cstdint> #include <cstdlib> #include <vector> #include <iterator> #include <raft> #include <raftio> int main() { const auto arr_size( 1000 ); using type_t = std::int32_t; type_t *arr = (type_t*) malloc( sizeof( type_t ) * arr_size ); for( type_t i( 0 ); i < ...
19.483871
65
0.577815
mr-j0nes
0c0be1417faa6d5fce8942a0e43d9fa420df59f7
198
cpp
C++
chap01_flow_control/practice03/02.cpp
kdzlvaids/problem_solving-pknu-2016
6a9e64f31f0d17c949e2b640fbd0a7628d1e5ece
[ "MIT" ]
null
null
null
chap01_flow_control/practice03/02.cpp
kdzlvaids/problem_solving-pknu-2016
6a9e64f31f0d17c949e2b640fbd0a7628d1e5ece
[ "MIT" ]
null
null
null
chap01_flow_control/practice03/02.cpp
kdzlvaids/problem_solving-pknu-2016
6a9e64f31f0d17c949e2b640fbd0a7628d1e5ece
[ "MIT" ]
null
null
null
#include <stdio.h> #include <math.h> int main(void) { int num; printf("Enter num= "); scanf("%d", &num); printf("Result: %d\n", (int)sqrt(num) * (int)sqrt(num)); return 0; }
13.2
60
0.535354
kdzlvaids
0c0e468c4416d7fc046da64ef1c17fdf5c687d58
349
cpp
C++
src/CCommandDest.cpp
colinw7/CCommand
36745e2eea76e6569f8f810046c5c8e2f5030947
[ "MIT" ]
1
2021-12-23T02:21:06.000Z
2021-12-23T02:21:06.000Z
src/CCommandDest.cpp
colinw7/CCommand
36745e2eea76e6569f8f810046c5c8e2f5030947
[ "MIT" ]
null
null
null
src/CCommandDest.cpp
colinw7/CCommand
36745e2eea76e6569f8f810046c5c8e2f5030947
[ "MIT" ]
null
null
null
#include <CCommandDest.h> #include <CCommand.h> CCommandDest:: CCommandDest(CCommand *command) : command_(command) { } CCommandDest:: CCommandDest(CCommand *command, FILE *fp) : command_(command) { fd_ = fileno(fp); } CCommandDest:: ~CCommandDest() { } void CCommandDest:: throwError(const std::string &msg) { ...
12.464286
43
0.713467
colinw7
0c0f57ed3a90897a3ab1010f4959333b6233ef25
9,766
cpp
C++
source/housys/test/hou/sys/test_file.cpp
DavideCorradiDev/houzi-game-engine
d704aa9c5b024300578aafe410b7299c4af4fcec
[ "MIT" ]
2
2018-04-12T20:59:20.000Z
2018-07-26T16:04:07.000Z
source/housys/test/hou/sys/test_file.cpp
DavideCorradiDev/houzi-game-engine
d704aa9c5b024300578aafe410b7299c4af4fcec
[ "MIT" ]
null
null
null
source/housys/test/hou/sys/test_file.cpp
DavideCorradiDev/houzi-game-engine
d704aa9c5b024300578aafe410b7299c4af4fcec
[ "MIT" ]
null
null
null
// Houzi Game Engine // Copyright (c) 2018 Davide Corradi // Licensed under the MIT license. #include "hou/test.hpp" #include "hou/sys/test_data.hpp" #include "hou/sys/file.hpp" #include "hou/sys/sys_exceptions.hpp" using namespace hou; using namespace testing; namespace { class test_file : public Test { public:...
21.654102
78
0.693017
DavideCorradiDev
0c137e475906bda531b9c20539a798caea1e9b61
8,503
cpp
C++
src/cui-1.0.4/FORIS/FORIS.cpp
MaiReo/crass
11579527090faecab27f98b1e221172822928f57
[ "BSD-3-Clause" ]
1
2021-07-21T00:58:45.000Z
2021-07-21T00:58:45.000Z
src/cui-1.0.4/FORIS/FORIS.cpp
MaiReo/crass
11579527090faecab27f98b1e221172822928f57
[ "BSD-3-Clause" ]
null
null
null
src/cui-1.0.4/FORIS/FORIS.cpp
MaiReo/crass
11579527090faecab27f98b1e221172822928f57
[ "BSD-3-Clause" ]
null
null
null
#include <windows.h> #include <tchar.h> #include <crass_types.h> #include <acui.h> #include <cui.h> #include <package.h> #include <resource.h> #include <cui_error.h> #include <stdio.h> #include <zlib.h> #include <utility.h> /* 接口数据结构: 表示cui插件的一般信息 */ struct acui_information FORIS_cui_information = { _T("STACK"), /...
24.363897
100
0.66553
MaiReo
0c15f885683439fab16e2e7e6b720d6384581cee
680
cpp
C++
W1D3/I.cpp
MartrixG/2019-summer-OI
4765533f4a373f6f277c1309c534050e52d631d8
[ "MIT" ]
null
null
null
W1D3/I.cpp
MartrixG/2019-summer-OI
4765533f4a373f6f277c1309c534050e52d631d8
[ "MIT" ]
null
null
null
W1D3/I.cpp
MartrixG/2019-summer-OI
4765533f4a373f6f277c1309c534050e52d631d8
[ "MIT" ]
null
null
null
#include"pch.h" #define _CRT_SECURE_NO_WARNINGS #include<cstdio> #include<iostream> #include<vector> using namespace std; int a[500010]; int loc[500010]; int num[500010]; vector<int>to[500010]; int tot; int main() { int n, m; scanf("%d%d", &n, &m); for (int i = 1; i <= n; i++) { scanf("%d", &a[i]); loc[a[i]] ...
15.813953
51
0.498529
MartrixG
0c181b0d37f7d825612d06ef59f38431e0889fac
77
cxx
C++
Modules/ThirdParty/VNL/src/vxl/core/vnl/Templates/vnl_vector_fixed+double.9-.cxx
eile/ITK
2f09e6e2f9e0a4a7269ac83c597f97b04f915dc1
[ "Apache-2.0" ]
4
2015-05-22T03:47:43.000Z
2016-06-16T20:57:21.000Z
Modules/ThirdParty/VNL/src/vxl/core/vnl/Templates/vnl_vector_fixed+double.9-.cxx
GEHC-Surgery/ITK
f5df62749e56c9036e5888cfed904032ba5fdfb7
[ "Apache-2.0" ]
null
null
null
Modules/ThirdParty/VNL/src/vxl/core/vnl/Templates/vnl_vector_fixed+double.9-.cxx
GEHC-Surgery/ITK
f5df62749e56c9036e5888cfed904032ba5fdfb7
[ "Apache-2.0" ]
9
2016-06-23T16:03:12.000Z
2022-03-31T09:25:08.000Z
#include <vnl/vnl_vector_fixed.txx> VNL_VECTOR_FIXED_INSTANTIATE(double,9);
19.25
39
0.831169
eile
0c1a12519fa813eaadd222f93c3a8b005d870d26
821
cc
C++
gui/components/gui_colorbox.cc
BradenButler/simutrans
86f29844625119182896e0e08d7b775bc847758d
[ "Artistic-1.0" ]
292
2015-01-04T20:33:57.000Z
2022-03-21T21:36:25.000Z
gui/components/gui_colorbox.cc
BradenButler/simutrans
86f29844625119182896e0e08d7b775bc847758d
[ "Artistic-1.0" ]
32
2018-01-31T11:11:16.000Z
2022-03-03T14:37:58.000Z
gui/components/gui_colorbox.cc
BradenButler/simutrans
86f29844625119182896e0e08d7b775bc847758d
[ "Artistic-1.0" ]
126
2015-01-05T10:27:14.000Z
2022-03-05T14:08:50.000Z
/* * This file is part of the Simutrans project under the Artistic License. * (see LICENSE.txt) */ #include "gui_colorbox.h" #include "../gui_theme.h" #include "../../display/simgraph.h" gui_colorbox_t::gui_colorbox_t(PIXVAL c) { color = c; max_size = scr_size(scr_size::inf.w, D_INDICATOR_HEIGHT); } scr_size g...
23.457143
130
0.752741
BradenButler
0c30ba7788d872e1aa541f6a0b167b4fb51ea633
7,272
cpp
C++
Overlay/src/Loader.cpp
narindertamber66/https-github.com-acidicoala-ScreamAPI
4f7e0dfae3be99526dc21b3eed91ae2231f1a209
[ "0BSD" ]
null
null
null
Overlay/src/Loader.cpp
narindertamber66/https-github.com-acidicoala-ScreamAPI
4f7e0dfae3be99526dc21b3eed91ae2231f1a209
[ "0BSD" ]
null
null
null
Overlay/src/Loader.cpp
narindertamber66/https-github.com-acidicoala-ScreamAPI
4f7e0dfae3be99526dc21b3eed91ae2231f1a209
[ "0BSD" ]
null
null
null
#include "pch.h" #include "Loader.h" #include "Overlay.h" #include <fstream> #include <future> #include <Config.h> // Instructions on how to build libcurl on Windows can be found here: // https://www.youtube.com/watch?reload=9&v=q_mXVZ6VJs4 #pragma comment(lib,"Ws2_32.lib") #pragma comment(lib,"Wldap32.lib") #pragma c...
32.609865
106
0.738036
narindertamber66
0c35d1e8e44f5d8b9e7bd8c00e97fe10fc7c2e6a
1,325
cpp
C++
test/result.cpp
elpescado/core-jsonrpc
12f85727168086a0a964aa9b934cd62f360c4cc3
[ "MIT" ]
null
null
null
test/result.cpp
elpescado/core-jsonrpc
12f85727168086a0a964aa9b934cd62f360c4cc3
[ "MIT" ]
null
null
null
test/result.cpp
elpescado/core-jsonrpc
12f85727168086a0a964aa9b934cd62f360c4cc3
[ "MIT" ]
null
null
null
#include "gtest/gtest.h" #include "result.h" #include <json/value.h> using namespace core::jsonrpc; TEST(ResultTest, TestConstructor) { Json::Value id(5); Result res(id); ASSERT_EQ(id, res.id()); ASSERT_EQ(ResultState::None, res.state()); ASSERT_THROW(res.result(), std::invalid_argument); } TEST(ResultTest, ...
18.150685
61
0.693585
elpescado
0c38056fb841e231d209450010e13fbe78092b17
764
cpp
C++
Projects/CoX/Servers/MapServer/MapTemplate.cpp
teronis84/Segs
71ac841a079fd769c3a45836ac60f34e4fff32b9
[ "BSD-3-Clause" ]
null
null
null
Projects/CoX/Servers/MapServer/MapTemplate.cpp
teronis84/Segs
71ac841a079fd769c3a45836ac60f34e4fff32b9
[ "BSD-3-Clause" ]
null
null
null
Projects/CoX/Servers/MapServer/MapTemplate.cpp
teronis84/Segs
71ac841a079fd769c3a45836ac60f34e4fff32b9
[ "BSD-3-Clause" ]
null
null
null
/* * Super Entity Game Server Project * http://segs.sf.net/ * Copyright (c) 2006 - 2016 Super Entity Game Server Team (see Authors.txt) * This software is licensed! (See License.txt for details) * */ #include "MapTemplate.h" #include "MapInstance.h" MapTemplate::MapTemplate(const std::string &/*template_filena...
25.466667
120
0.697644
teronis84
0c3b4d5e2326499867cf563347d0eeb19a0658e8
558
cpp
C++
src/cricketer.cpp
tomdodd4598/UCL-PHAS0100-CandamirTilesExample1
8a324462d93db49a6a2c88fb382bca110c7ec611
[ "MIT" ]
null
null
null
src/cricketer.cpp
tomdodd4598/UCL-PHAS0100-CandamirTilesExample1
8a324462d93db49a6a2c88fb382bca110c7ec611
[ "MIT" ]
null
null
null
src/cricketer.cpp
tomdodd4598/UCL-PHAS0100-CandamirTilesExample1
8a324462d93db49a6a2c88fb382bca110c7ec611
[ "MIT" ]
null
null
null
#include "cricketer.hpp" #include "equipment.hpp" #include <string> namespace cricket { std::string Cricketer::equipment_string() const { std::string str = "["; bool begin = true; for (auto& e : equipment_list) { if (begin) { begin = false; } ...
19.241379
53
0.399642
tomdodd4598
0c3f6c3f42c0b0eabfcef4f8b2fd02369c26b922
135
cpp
C++
Schweizer-Messer/sm_logging/src/LoggingEvent.cpp
PushyamiKaveti/kalibr
d8bdfc59ee666ef854012becc93571f96fe5d80c
[ "BSD-4-Clause" ]
2,690
2015-01-07T03:50:23.000Z
2022-03-31T20:27:01.000Z
Schweizer-Messer/sm_logging/src/LoggingEvent.cpp
PushyamiKaveti/kalibr
d8bdfc59ee666ef854012becc93571f96fe5d80c
[ "BSD-4-Clause" ]
481
2015-01-27T10:21:00.000Z
2022-03-31T14:02:41.000Z
Schweizer-Messer/sm_logging/src/LoggingEvent.cpp
PushyamiKaveti/kalibr
d8bdfc59ee666ef854012becc93571f96fe5d80c
[ "BSD-4-Clause" ]
1,091
2015-01-26T21:21:13.000Z
2022-03-30T01:55:33.000Z
#include <sm/logging/LoggingEvent.hpp> namespace sm { namespace logging { } // namespace logging } // namespace sm
13.5
38
0.62963
PushyamiKaveti
0c41a2e57c2817dfdfec15bff79f24721e569092
171,616
cpp
C++
AIPDebug/Display-Interface/w_conf.cpp
Bluce-Song/Master-AIP
1757ab392504d839de89460da17630d268ff3eed
[ "Apache-2.0" ]
null
null
null
AIPDebug/Display-Interface/w_conf.cpp
Bluce-Song/Master-AIP
1757ab392504d839de89460da17630d268ff3eed
[ "Apache-2.0" ]
null
null
null
AIPDebug/Display-Interface/w_conf.cpp
Bluce-Song/Master-AIP
1757ab392504d839de89460da17630d268ff3eed
[ "Apache-2.0" ]
null
null
null
#include "w_conf.h" #include "ui_w_conf.h" static bool Clicked = true; /****************************************************************************** * version: 1.0 * author: link * date: 2015.12.30 * brief: 设置界面初始化 *****************************************************************************...
36.772231
110
0.486184
Bluce-Song
0c429aff8c66779da4ad1f05c1768aa976621b05
12,024
hpp
C++
include/ShaderWriter/VecTypes/Swizzle.hpp
jarrodmky/ShaderWriter
ee9ce00a003bf544f8c8f23b5c07739e21cb3754
[ "MIT" ]
148
2018-10-11T16:51:37.000Z
2022-03-26T13:55:08.000Z
include/ShaderWriter/VecTypes/Swizzle.hpp
jarrodmky/ShaderWriter
ee9ce00a003bf544f8c8f23b5c07739e21cb3754
[ "MIT" ]
30
2019-11-30T11:43:07.000Z
2022-01-25T21:09:47.000Z
include/ShaderWriter/VecTypes/Swizzle.hpp
jarrodmky/ShaderWriter
ee9ce00a003bf544f8c8f23b5c07739e21cb3754
[ "MIT" ]
8
2020-04-17T13:18:30.000Z
2021-11-20T06:24:44.000Z
/* See LICENSE file in root folder */ #ifndef ___SDW_Swizzle_H___ #define ___SDW_Swizzle_H___ #include "ShaderWriter/BaseTypes/Bool.hpp" #define Writer_UseSwizzle 0 #if defined( RGB ) # undef RGB #endif namespace sdw { #if Writer_UseSwizzle template< typename Input, typename Output > struct Swizzle : public Ou...
33.586592
167
0.747006
jarrodmky
0c448186d41aae4579dfff8af273c54520cbe52d
8,063
cc
C++
mindspore/lite/tools/converter/import/mindspore_importer.cc
Vincent34/mindspore
a39a60878a46e7e9cb02db788c0bca478f2fa6e5
[ "Apache-2.0" ]
1
2021-07-16T12:05:53.000Z
2021-07-16T12:05:53.000Z
mindspore/lite/tools/converter/import/mindspore_importer.cc
Vincent34/mindspore
a39a60878a46e7e9cb02db788c0bca478f2fa6e5
[ "Apache-2.0" ]
null
null
null
mindspore/lite/tools/converter/import/mindspore_importer.cc
Vincent34/mindspore
a39a60878a46e7e9cb02db788c0bca478f2fa6e5
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2021 Huawei Technologies Co., Ltd * * 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...
38.578947
119
0.676919
Vincent34
0c48d3843cc045a691df4fb5fa11b824127a990c
2,155
cpp
C++
ares/gba/system/system.cpp
CasualPokePlayer/ares
58690cd5fc7bb6566c22935c5b80504a158cca29
[ "BSD-3-Clause" ]
153
2020-07-25T17:55:29.000Z
2021-10-01T23:45:01.000Z
ares/gba/system/system.cpp
CasualPokePlayer/ares
58690cd5fc7bb6566c22935c5b80504a158cca29
[ "BSD-3-Clause" ]
245
2021-10-08T09:14:46.000Z
2022-03-31T08:53:13.000Z
ares/gba/system/system.cpp
CasualPokePlayer/ares
58690cd5fc7bb6566c22935c5b80504a158cca29
[ "BSD-3-Clause" ]
44
2020-07-25T08:51:55.000Z
2021-09-25T16:09:01.000Z
#include <gba/gba.hpp> namespace ares::GameBoyAdvance { auto enumerate() -> vector<string> { return { "[Nintendo] Game Boy Advance", "[Nintendo] Game Boy Player", }; } auto load(Node::System& node, string name) -> bool { if(!enumerate().find(name)) return false; return system.load(node, name); } Sch...
21.336634
80
0.64826
CasualPokePlayer
0c4989d25a814a669fb015108e6a2955c27aac80
1,759
cc
C++
squid/squid3-3.3.8.spaceify/src/tests/testStore.cc
spaceify/spaceify
4296d6c93cad32bb735cefc9b8157570f18ffee4
[ "MIT" ]
4
2015-01-20T15:25:34.000Z
2017-12-20T06:47:42.000Z
squid/squid3-3.3.8.spaceify/src/tests/testStore.cc
spaceify/spaceify
4296d6c93cad32bb735cefc9b8157570f18ffee4
[ "MIT" ]
4
2015-05-15T09:32:55.000Z
2016-02-18T13:43:31.000Z
squid/squid3-3.3.8.spaceify/src/tests/testStore.cc
spaceify/spaceify
4296d6c93cad32bb735cefc9b8157570f18ffee4
[ "MIT" ]
null
null
null
#define SQUID_UNIT_TEST 1 #include "squid.h" #include "testStore.h" #include "Store.h" CPPUNIT_TEST_SUITE_REGISTRATION( testStore ); int TestStore::callback() { return 1; } StoreEntry* TestStore::get(const cache_key*) { return NULL; } void TestStore::get(String, void (*)(StoreEntry*, void*), void*) {} voi...
15.163793
59
0.682206
spaceify
0c4ba09acd9004f5019125826d45f4490b9acaba
4,657
cpp
C++
sslpod/src/v20190605/model/CreateDomainRequest.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
43
2019-08-14T08:14:12.000Z
2022-03-30T12:35:09.000Z
sslpod/src/v20190605/model/CreateDomainRequest.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
12
2019-07-15T10:44:59.000Z
2021-11-02T12:35:00.000Z
sslpod/src/v20190605/model/CreateDomainRequest.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 ...
23.882051
91
0.703028
suluner
0c4e705ba82a61bd92b2df479ae3e571b063c3ac
1,079
cpp
C++
client/Classes/Model/Effects/DefenceEffect.cpp
plankes-projects/BaseWar
693f7d02fa324b917b28be58d33bb77a18d77f26
[ "Apache-2.0" ]
60
2015-01-03T07:31:14.000Z
2021-12-17T02:39:17.000Z
client/Classes/Model/Effects/DefenceEffect.cpp
plankes-projects/BaseWar
693f7d02fa324b917b28be58d33bb77a18d77f26
[ "Apache-2.0" ]
1
2018-08-17T09:59:30.000Z
2018-08-17T09:59:30.000Z
client/Classes/Model/Effects/DefenceEffect.cpp
plankes-projects/BaseWar
693f7d02fa324b917b28be58d33bb77a18d77f26
[ "Apache-2.0" ]
27
2015-01-22T06:55:10.000Z
2021-12-17T02:39:23.000Z
/* * Attack.cpp * * Created on: May 18, 2013 * Author: planke */ #include "DefenceEffect.h" #include "../Units/Unit.h" DefenceEffect::~DefenceEffect() { } DefenceEffect::DefenceEffect(float timeInMilliseconds, float increasedHPInPercent, float increasedDefenseInPercent) : Effect(timeInMilliseconds, NOT...
26.317073
117
0.762743
plankes-projects
31b1283cb103db9834c630868c49bcf8acde0ec2
2,109
cc
C++
src/logtrace.cc
Gear2D/gear2d
7a9c9c479cbd8f15e5ce9050a43b041d60e8ab63
[ "MIT" ]
4
2015-05-15T06:30:23.000Z
2018-06-17T22:34:07.000Z
src/logtrace.cc
Gear2D/gear2d
7a9c9c479cbd8f15e5ce9050a43b041d60e8ab63
[ "MIT" ]
null
null
null
src/logtrace.cc
Gear2D/gear2d
7a9c9c479cbd8f15e5ce9050a43b041d60e8ab63
[ "MIT" ]
null
null
null
#include "logtrace.h" #ifdef ANDROID void logtrace::initandroidlog() { static bool initialized = false; if (!initialized) { std::cout.rdbuf(new androidbuf); initialized = true; } } #endif /* logtrace static calls */ std::ostream *& logtrace::logstream() { static std::ostream * stream = ...
26.037037
108
0.62826
Gear2D
31b97800bb28f7b7344e321958e8f2bc7105d464
1,224
hpp
C++
dev/Basic/long/database/dao/MacroEconomicsDao.hpp
gusugusu1018/simmobility-prod
d30a5ba353673f8fd35f4868c26994a0206a40b6
[ "MIT" ]
50
2018-12-21T08:21:38.000Z
2022-01-24T09:47:59.000Z
dev/Basic/long/database/dao/MacroEconomicsDao.hpp
gusugusu1018/simmobility-prod
d30a5ba353673f8fd35f4868c26994a0206a40b6
[ "MIT" ]
2
2018-12-19T13:42:47.000Z
2019-05-13T04:11:45.000Z
dev/Basic/long/database/dao/MacroEconomicsDao.hpp
gusugusu1018/simmobility-prod
d30a5ba353673f8fd35f4868c26994a0206a40b6
[ "MIT" ]
27
2018-11-28T07:30:34.000Z
2022-02-05T02:22:26.000Z
/* * MacroEconomicsDao.hpp * * Created on: Jan 14, 2015 * Author: gishara */ #pragma once #include "database/dao/SqlAbstractDao.hpp" #include "database/entity/MacroEconomics.hpp" namespace sim_mob { namespace long_term { /** * Data Access Object to MacroEconomics table on datasource...
27.818182
85
0.58415
gusugusu1018
31ba65ca6de30d6a73cecd3fdff53c6884fb7e3e
29,128
cpp
C++
src/terminal/ScreenBuffer.cpp
kyawmyomin/Contour
2e10035e3316cf5e90ad9f3295cfff9df7824801
[ "Apache-2.0" ]
null
null
null
src/terminal/ScreenBuffer.cpp
kyawmyomin/Contour
2e10035e3316cf5e90ad9f3295cfff9df7824801
[ "Apache-2.0" ]
null
null
null
src/terminal/ScreenBuffer.cpp
kyawmyomin/Contour
2e10035e3316cf5e90ad9f3295cfff9df7824801
[ "Apache-2.0" ]
null
null
null
/** * This file is part of the "libterminal" project * Copyright (c) 2019-2020 Christian Parpart <christian@parpart.family> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * * Unless required by applicable law or agreed to i...
30.596639
126
0.571787
kyawmyomin
31bc1a58d99ba272d9042fc85b1bff354fd28044
1,119
cpp
C++
EZOJ/1721.cpp
sshockwave/Online-Judge-Solutions
9d0bc7fd68c3d1f661622929c1cb3752601881d3
[ "MIT" ]
6
2019-09-30T16:11:00.000Z
2021-11-01T11:42:33.000Z
EZOJ/1721.cpp
sshockwave/Online-Judge-Solutions
9d0bc7fd68c3d1f661622929c1cb3752601881d3
[ "MIT" ]
4
2017-11-21T08:17:42.000Z
2020-07-28T12:09:52.000Z
EZOJ/1721.cpp
sshockwave/Online-Judge-Solutions
9d0bc7fd68c3d1f661622929c1cb3752601881d3
[ "MIT" ]
4
2017-07-26T05:54:06.000Z
2020-09-30T13:35:38.000Z
#include <iostream> #include <cstdio> #include <cstring> #include <cassert> using namespace std; inline bool is_num(char c){ return c>='0'&&c<='9'; } inline int ni(){ int i=0;char c; while(!is_num(c=getchar())); while(i=i*10-'0'+c,is_num(c=getchar())); return i; } const int N=10000010; int prime[N],ptop=0,mu[N],la...
20.345455
57
0.549598
sshockwave
31c12556760721ada46b711e037f588302bcdac7
2,432
hpp
C++
Gnc/Utils/AckermannConverter/AckermannConverterComponentImpl.hpp
genemerewether/fprime
fcdd071b5ddffe54ade098ca5d451903daba9eed
[ "Apache-2.0" ]
5
2019-10-22T03:41:02.000Z
2022-01-16T12:48:31.000Z
Gnc/Utils/AckermannConverter/AckermannConverterComponentImpl.hpp
genemerewether/fprime
fcdd071b5ddffe54ade098ca5d451903daba9eed
[ "Apache-2.0" ]
27
2019-02-07T17:58:58.000Z
2019-08-13T00:46:24.000Z
Gnc/Utils/AckermannConverter/AckermannConverterComponentImpl.hpp
genemerewether/fprime
fcdd071b5ddffe54ade098ca5d451903daba9eed
[ "Apache-2.0" ]
3
2019-01-01T18:44:37.000Z
2019-08-01T01:19:39.000Z
// ====================================================================== // \title AckermannConverterImpl.hpp // \author mereweth // \brief hpp file for AckermannConverter component implementation class // // \copyright // Copyright 2009-2015, by the California Institute of Technology. // ALL RIGHTS RESERVED. Unit...
32
79
0.575658
genemerewether
31c2c5f20495c3b6a74d21eb34910702277df60c
4,518
hpp
C++
src/centurion/math/vector3.hpp
twantonie/centurion
198b80f9e8a29da2ae7d3c15e48ffa1a046165c3
[ "MIT" ]
126
2020-12-05T00:05:56.000Z
2022-03-30T15:15:03.000Z
src/centurion/math/vector3.hpp
twantonie/centurion
198b80f9e8a29da2ae7d3c15e48ffa1a046165c3
[ "MIT" ]
46
2020-12-27T14:25:22.000Z
2022-01-26T13:58:11.000Z
src/centurion/math/vector3.hpp
twantonie/centurion
198b80f9e8a29da2ae7d3c15e48ffa1a046165c3
[ "MIT" ]
13
2021-01-20T20:50:18.000Z
2022-03-25T06:59:03.000Z
#ifndef CENTURION_VECTOR3_HEADER #define CENTURION_VECTOR3_HEADER #include <ostream> // ostream #include <string> // string, to_string #include "../compiler/features.hpp" #if CENTURION_HAS_FEATURE_FORMAT #include <format> // format #endif // CENTURION_HAS_FEATURE_FORMAT namespace cen { /// \addtogroup math ...
24.160428
94
0.671536
twantonie
31c2d177152f49f463f5fdbc04f4f5cb8ea0e6d4
2,641
cpp
C++
source/engine/geometry/Ray.cpp
compix/Mesh-Decimator
0c1da7ad4601c5eec1642742068a48933e6fa846
[ "MIT" ]
7
2017-03-07T14:15:32.000Z
2020-06-28T21:10:35.000Z
source/engine/geometry/Ray.cpp
compix/Mesh-Decimator
0c1da7ad4601c5eec1642742068a48933e6fa846
[ "MIT" ]
null
null
null
source/engine/geometry/Ray.cpp
compix/Mesh-Decimator
0c1da7ad4601c5eec1642742068a48933e6fa846
[ "MIT" ]
null
null
null
#include "Ray.h" #include <engine/rendering/geometry/Mesh.h> #include "Transform.h" /** * Adaptation of the "Slabs Method" from Real-Time Rendering 3rd Edition */ bool Ray::intersects(const OBBox& obb, float& t) const { float tMin = -FLT_MAX; float tMax = FLT_MAX; glm::vec3 obbCenter(obb.model[3]); gl...
24.229358
129
0.517986
compix
31c395f56ebf021b843d39a805f7d24ab94733b0
4,328
cpp
C++
src/FalconEngine/Graphics/Renderer/Resource/Texture.cpp
Lywx/FalconEngine
c4d1fed789218d1994908b8dbbcd6c01961f9ef2
[ "MIT" ]
6
2017-04-17T12:34:57.000Z
2019-10-19T23:29:59.000Z
src/FalconEngine/Graphics/Renderer/Resource/Texture.cpp
Lywx/FalconEngine
c4d1fed789218d1994908b8dbbcd6c01961f9ef2
[ "MIT" ]
null
null
null
src/FalconEngine/Graphics/Renderer/Resource/Texture.cpp
Lywx/FalconEngine
c4d1fed789218d1994908b8dbbcd6c01961f9ef2
[ "MIT" ]
2
2019-12-30T08:28:04.000Z
2020-08-05T09:58:53.000Z
#include <FalconEngine/Graphics/Renderer/Resource/Texture.h> #include <FalconEngine/Core/Exception.h> #include <FalconEngine/Graphics/Renderer/Renderer.h> #include <FalconEngine/Content/StbLibGuardBegin.h> #define STB_IMAGE_IMPLEMENTATION #include <stb/stb_image.h> #include <FalconEngine/Content/StbLibGuardEnd.h> na...
22.081633
85
0.628466
Lywx
31c3b7be2ea5407b781e7b2d190574c9957ef388
2,258
cc
C++
src/ui/lib/escher/test/gtest_escher.cc
winksaville/Fuchsia
a0ec86f1d51ae8d2538ff3404dad46eb302f9b4f
[ "BSD-3-Clause" ]
3
2020-08-02T04:46:18.000Z
2020-08-07T10:10:53.000Z
src/ui/lib/escher/test/gtest_escher.cc
winksaville/Fuchsia
a0ec86f1d51ae8d2538ff3404dad46eb302f9b4f
[ "BSD-3-Clause" ]
null
null
null
src/ui/lib/escher/test/gtest_escher.cc
winksaville/Fuchsia
a0ec86f1d51ae8d2538ff3404dad46eb302f9b4f
[ "BSD-3-Clause" ]
1
2020-08-07T10:11:49.000Z
2020-08-07T10:11:49.000Z
// Copyright 2018 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/ui/lib/escher/test/gtest_escher.h" #include "src/ui/lib/escher/escher_process_init.h" #include <vulkan/vulkan.hpp> namespace escher { name...
32.257143
100
0.760407
winksaville
31c8f60900a92de6d519e7caa3f4a3546b425799
1,877
cpp
C++
Week 8/Assignment 8_2.cpp
BenM-OC/CS10A
65823fae5c5fa45942cb942450126aca9294e22e
[ "MIT" ]
null
null
null
Week 8/Assignment 8_2.cpp
BenM-OC/CS10A
65823fae5c5fa45942cb942450126aca9294e22e
[ "MIT" ]
null
null
null
Week 8/Assignment 8_2.cpp
BenM-OC/CS10A
65823fae5c5fa45942cb942450126aca9294e22e
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; // The purpose of this program is to prompt the user for a number, and then provide the user with the sum of all squares between zero and the number they've entered int main() { int sumOfSquares = 0; int calcLoopCounter = 0; int userTopNumber; //User inputs the max number...
37.54
263
0.732019
BenM-OC
31cb1ee9c2f7fa49713fd79cfebf07be2cbe60dc
12,950
cpp
C++
src/plugins/lmp/plugins/ppl/tracksselectordialog.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
120
2015-01-22T14:10:39.000Z
2021-11-25T12:57:16.000Z
src/plugins/lmp/plugins/ppl/tracksselectordialog.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
8
2015-02-07T19:38:19.000Z
2017-11-30T20:18:28.000Z
src/plugins/lmp/plugins/ppl/tracksselectordialog.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
33
2015-02-07T16:59:55.000Z
2021-10-12T00:36:40.000Z
/********************************************************************** * LeechCraft - modular cross-platform feature rich internet client. * Copyright (C) 2006-2014 Georg Rudoy * * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE...
28.152174
114
0.643012
Maledictus
31d0fc80c060adc580dce5079b4d3c763204f615
36,874
cpp
C++
gui/tf_editor.cpp
shamanDevel/DiffDVR
99fbe9f114d0097daf402bde2ae35f18dade335d
[ "BSD-3-Clause" ]
12
2021-08-02T04:51:48.000Z
2022-01-14T18:02:27.000Z
gui/tf_editor.cpp
shamanDevel/DiffDVR
99fbe9f114d0097daf402bde2ae35f18dade335d
[ "BSD-3-Clause" ]
2
2021-11-04T14:23:30.000Z
2022-02-28T10:30:13.000Z
gui/tf_editor.cpp
shamanDevel/DiffDVR
99fbe9f114d0097daf402bde2ae35f18dade335d
[ "BSD-3-Clause" ]
4
2021-07-16T10:23:45.000Z
2022-01-04T02:51:43.000Z
#include "tf_editor.h" #include "visualizer_kernels.h" #include <algorithm> #include <cuda_gl_interop.h> #include <cuMat/src/Context.h> #include <fstream> #include <tinyxml2.h> #include "pytorch_utils.h" #include "renderer_utils.cuh" #include "utils.h" static std::vector<float> linspace(float a, float b, std::size_...
30.37397
144
0.712643
shamanDevel
31d1b04973eb9629f3086e6b27571297e83c5f89
13,925
cpp
C++
Ivan Krivyakov/WinstaDacl.cpp
arlm/EnumWinstaGui-Sharp
a9bd8a83a3d61f9229172020e12c482219fe537e
[ "MIT" ]
null
null
null
Ivan Krivyakov/WinstaDacl.cpp
arlm/EnumWinstaGui-Sharp
a9bd8a83a3d61f9229172020e12c482219fe537e
[ "MIT" ]
null
null
null
Ivan Krivyakov/WinstaDacl.cpp
arlm/EnumWinstaGui-Sharp
a9bd8a83a3d61f9229172020e12c482219fe537e
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "aclui.h" // platform SDK #include "aclapi.h" // platform SDK #include <afxpriv.h> #pragma comment( lib, "aclui.lib" ) #pragma comment( lib, "comctl32.lib" ) #pragma comment( lib, "advapi32.lib" ) #pragma comment( lib, "user32.lib" ) // here's the access permission masks for window statio...
38.255495
162
0.747864
arlm
31d2b445465a692fd314c9af51918c773d81c991
559
cpp
C++
purenessscopeserver/FrameCore/CppUnit/Unit_BaseConnectClient.cpp
freeeyes/PSS
cb6dac549f2fa36c9838b5cb183ba010d56978e3
[ "Apache-2.0" ]
213
2015-01-08T05:58:52.000Z
2022-03-22T01:23:37.000Z
purenessscopeserver/FrameCore/CppUnit/Unit_BaseConnectClient.cpp
volute24/PSS
cb6dac549f2fa36c9838b5cb183ba010d56978e3
[ "Apache-2.0" ]
33
2015-09-11T02:52:03.000Z
2021-04-12T01:23:48.000Z
purenessscopeserver/FrameCore/CppUnit/Unit_BaseConnectClient.cpp
volute24/PSS
cb6dac549f2fa36c9838b5cb183ba010d56978e3
[ "Apache-2.0" ]
126
2015-01-08T06:21:05.000Z
2021-11-19T08:19:12.000Z
#include "Unit_BaseConnectClient.h" #ifdef _CPPUNIT_TEST void CUnit_BaseConnectClient::setUp(void) { m_u2CommandID = 0x1003; } void CUnit_BaseConnectClient::tearDown(void) { m_u2CommandID = 0; } void CUnit_BaseConnectClient::Test_Common_Send_ConnectError(void) { ACE_INET_Addr objAddrServer; CPostSer...
19.964286
100
0.774597
freeeyes
31d48a73c081bb3bb53f5f890ef654e987285e4c
2,940
cpp
C++
TAO/docs/tutorials/Quoter/Simple/Impl-Repo/server.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
36
2015-01-10T07:27:33.000Z
2022-03-07T03:32:08.000Z
TAO/docs/tutorials/Quoter/Simple/Impl-Repo/server.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
2
2018-08-13T07:30:51.000Z
2019-02-25T03:04:31.000Z
TAO/docs/tutorials/Quoter/Simple/Impl-Repo/server.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
38
2015-01-08T14:12:06.000Z
2022-01-19T08:33:00.000Z
//============================================================================= /** * @file server.cpp * * $Id: server.cpp 93650 2011-03-28 08:44:53Z johnnyw $ * * In this example, * - Example showing the working of implementation repository. * * * @author Priyanka Gontla */ //================...
27.222222
79
0.592517
cflowe
31d7740a1cc8ecda041ab5376d9f5d20eebe6147
799
cpp
C++
lib/mutexp.cpp
williamledda/CPPosix
235e990731c7cade43a1105dce6705329c56adbe
[ "MIT" ]
null
null
null
lib/mutexp.cpp
williamledda/CPPosix
235e990731c7cade43a1105dce6705329c56adbe
[ "MIT" ]
null
null
null
lib/mutexp.cpp
williamledda/CPPosix
235e990731c7cade43a1105dce6705329c56adbe
[ "MIT" ]
null
null
null
/* * mutexp.cpp * * Created on: 11 gen 2018 * Author: william */ #include "mutexp.h" #include <iostream> namespace cpposix { MutexP::MutexP() { /*Both returns always zero. No error check is needed*/ pthread_mutexattr_init(&this->mtx_attr); pthread_mutex_init(&this->mtx, &this->mtx_attr); } MutexP::~M...
18.581395
63
0.674593
williamledda
31dbc824948a7a31ecce7e3b96ba48db77e33a51
880
cpp
C++
source/toy/gadget/HexCharToInt.cpp
ToyAuthor/ToyBox
f517a64d00e00ccaedd76e33ed5897edc6fde55e
[ "Unlicense" ]
4
2017-07-06T22:18:41.000Z
2021-05-24T21:28:37.000Z
source/toy/gadget/HexCharToInt.cpp
ToyAuthor/ToyBox
f517a64d00e00ccaedd76e33ed5897edc6fde55e
[ "Unlicense" ]
null
null
null
source/toy/gadget/HexCharToInt.cpp
ToyAuthor/ToyBox
f517a64d00e00ccaedd76e33ed5897edc6fde55e
[ "Unlicense" ]
1
2020-08-02T13:00:38.000Z
2020-08-02T13:00:38.000Z
#include "toy/gadget/HexCharToInt.hpp" #if TOY_OPTION_RELEASE #include "toy/Oops.hpp" #else #include "toy/Exception.hpp" #endif namespace toy{ namespace gadget{ int HexCharToInt(const char code) { if ( code<'0' ) { #if TOY_OPTION_RELEASE toy::Oops(TOY_MARK); return 0; #else throw toy::Exception(TOY_...
14.915254
38
0.589773
ToyAuthor