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
8e7954158da411790676266ca929404d39018dc9
293
cpp
C++
Contest 1007/A.cpp
PC-DOS/SEUCPP-OJ-KEYS
073f97fb29a659abd25554330382f0a7149c2511
[ "MIT" ]
null
null
null
Contest 1007/A.cpp
PC-DOS/SEUCPP-OJ-KEYS
073f97fb29a659abd25554330382f0a7149c2511
[ "MIT" ]
null
null
null
Contest 1007/A.cpp
PC-DOS/SEUCPP-OJ-KEYS
073f97fb29a659abd25554330382f0a7149c2511
[ "MIT" ]
null
null
null
#include <iostream> #include <iomanip> #include <cmath> #include <string> #include <cstring> using namespace std; double squaresum(double a,double b){ return a*a+b*b; } int main(){ double a, b; cin >> a >> b; cout << squaresum(a,b); //system("pause > nul"); return 0; }
18.3125
36
0.614334
PC-DOS
8e7db9402c2b8958cd30d426a4d8167e7003406d
2,143
cpp
C++
Source/Samples/62_FlappyUrho/barrier.cpp
elix22/Urho3D
99902ae2a867be0d6dbe4c575f9c8c318805ec64
[ "MIT" ]
20
2019-04-18T07:37:34.000Z
2022-02-02T21:43:47.000Z
Source/Samples/74_Admob/barrier.cpp
elix22/Urho3D
99902ae2a867be0d6dbe4c575f9c8c318805ec64
[ "MIT" ]
11
2019-10-21T13:39:41.000Z
2021-11-05T08:11:54.000Z
Source/Samples/74_Admob/barrier.cpp
elix22/Urho3D
99902ae2a867be0d6dbe4c575f9c8c318805ec64
[ "MIT" ]
1
2021-12-03T18:11:36.000Z
2021-12-03T18:11:36.000Z
#include "barrier.h" #include "crown.h" StaticModelGroup* Barrier::netGroup_{}; Barrier::Barrier(Context* context) : LogicComponent(context) { SetUpdateEventMask(USE_UPDATE); } void Barrier::RegisterObject(Context* context) { context->RegisterFactory<Barrier>(); } void Barrier::OnNodeSet(Node *node) { ...
31.514706
111
0.588427
elix22
8e7f38aa75184e3dda5ed678021fd12077976f11
521
cpp
C++
tests/fusion/materials.cpp
technobaboo/libstardust
743acc7c300a4ff5c60934c226b98c0b60ad28fe
[ "MIT" ]
null
null
null
tests/fusion/materials.cpp
technobaboo/libstardust
743acc7c300a4ff5c60934c226b98c0b60ad28fe
[ "MIT" ]
null
null
null
tests/fusion/materials.cpp
technobaboo/libstardust
743acc7c300a4ff5c60934c226b98c0b60ad28fe
[ "MIT" ]
null
null
null
#include <cmath> #include "fusion/fusion.hpp" #include "fusion/types/drawable/model.hpp" using namespace StardustXRFusion; double elapsed = 0.0f; int main(int, char *[]) { StardustXRFusion::Setup(); Model model(nullptr, "../../res/gyro_gem.glb"); OnLogicStep([&](double delta, double) { elapsed += delta; Colo...
20.84
50
0.669866
technobaboo
8e7ff2e3a0b4fd3aecea12e25be5246b3d913a25
2,290
cc
C++
CPP/2017-07/task1.cc
valkirilov/fmi-di
a3062e6b2b293a6e9c480a7fc5023d71ce41f543
[ "MIT" ]
null
null
null
CPP/2017-07/task1.cc
valkirilov/fmi-di
a3062e6b2b293a6e9c480a7fc5023d71ce41f543
[ "MIT" ]
null
null
null
CPP/2017-07/task1.cc
valkirilov/fmi-di
a3062e6b2b293a6e9c480a7fc5023d71ce41f543
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; const int MAX_SIZE = 100; const char RIVER = 'R'; const char ROCK = 'S'; const char FOREST_1 = '1'; const char FOREST_2 = '2'; const char FOREST_3 = '3'; const char FOREST_4 = '4'; void print_map(char** map, int m, int n) { for (int i=0; i<m; ++i) { for (int j=0;...
21.809524
62
0.398253
valkirilov
8e80f0a960fd22dfb349dc698c6d305b9c9ed955
27,062
cxx
C++
inetsrv/query/bigtable/conpt.cxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
inetsrv/query/bigtable/conpt.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
inetsrv/query/bigtable/conpt.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//+------------------------------------------------------------------------- // // Microsoft Windows // Copyright (C) Microsoft Corporation, 1994 - 1998. // // File: conpt.cxx // // Contents: connection point / notification code for cursors // // Classes: CConnectionPointBase, CConnectionPointC...
28.072614
95
0.482891
npocmaka
8e83a03ca069f2e1934d5464346eb101163cd3b8
56,637
cpp
C++
src/Gull.cpp
kazu-nanoha/NanohaM
412f95fdcbc1eb1e8aeb5a75872eba0e544a1675
[ "MIT" ]
null
null
null
src/Gull.cpp
kazu-nanoha/NanohaM
412f95fdcbc1eb1e8aeb5a75872eba0e544a1675
[ "MIT" ]
null
null
null
src/Gull.cpp
kazu-nanoha/NanohaM
412f95fdcbc1eb1e8aeb5a75872eba0e544a1675
[ "MIT" ]
null
null
null
///#define W32_BUILD ///#undef W32_BUILD #ifdef W32_BUILD #define NTDDI_VERSION 0x05010200 #define _WIN32_WINNT 0x0501 #endif ///#ifndef W32_BUILD ///#define HNI ///#undef HNI ///#endif #include <iostream> #include <cmath> #include <cinttypes> #include <thread> #include <mutex> #include <intrin.h> #include "setjm...
33.592527
215
0.610114
kazu-nanoha
8e83bcfaabbf612acfdb038749b5043345b70b7a
2,346
cpp
C++
src/prod/src/ServiceModel/ContainerIsolationMode.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
2,542
2018-03-14T21:56:12.000Z
2019-05-06T01:18:20.000Z
src/prod/src/ServiceModel/ContainerIsolationMode.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
994
2019-05-07T02:39:30.000Z
2022-03-31T13:23:04.000Z
src/prod/src/ServiceModel/ContainerIsolationMode.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
300
2018-03-14T21:57:17.000Z
2019-05-06T20:07:00.000Z
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ #include "stdafx.h" using nam...
29.696203
98
0.507246
vishnuk007
8e850a3a4cabb663a2f50ff67c9db7f68c1dd64c
413
cpp
C++
Number Theory/(CODEFORCES)122A.cpp
kothariji/Competitive-Programming
c49f8b0135c8e9dd284ce8ab583e85ba3d809b8c
[ "MIT" ]
1
2020-08-27T06:59:52.000Z
2020-08-27T06:59:52.000Z
Number Theory/(CODEFORCES)122A.cpp
kothariji/Competitive-Programming
c49f8b0135c8e9dd284ce8ab583e85ba3d809b8c
[ "MIT" ]
null
null
null
Number Theory/(CODEFORCES)122A.cpp
kothariji/Competitive-Programming
c49f8b0135c8e9dd284ce8ab583e85ba3d809b8c
[ "MIT" ]
null
null
null
//solution for 122A - https://codeforces.com/problemset/problem/122/A #include<bits/stdc++.h> using namespace std ; int main() { int a[]={4, 7, 44, 47, 74, 77, 444, 447, 474, 477, 744, 747, 774, 777}; int n;cin>>n; int i=0; while(a[i]<=777) { if(n%a[i]==0) { cout<<"...
17.956522
75
0.457627
kothariji
8e87d1ea8ddc6b31f98de81d6a9e252e1e4a26f9
580
cpp
C++
etc/FastIO.cpp
jinhan814/algorithms-implementation
b5185f98c5d5d34c0f98de645e5b755fcf75c120
[ "MIT" ]
null
null
null
etc/FastIO.cpp
jinhan814/algorithms-implementation
b5185f98c5d5d34c0f98de645e5b755fcf75c120
[ "MIT" ]
null
null
null
etc/FastIO.cpp
jinhan814/algorithms-implementation
b5185f98c5d5d34c0f98de645e5b755fcf75c120
[ "MIT" ]
null
null
null
/* * https://blog.naver.com/jinhan814/222400578937 */ #include <bits/stdc++.h> #include <sys/stat.h> #include <sys/mman.h> using namespace std; int main() { struct stat st; fstat(0, &st); char* p = (char*)mmap(0, st.st_size, PROT_READ, MAP_SHARED, 0, 0); auto ReadInt = [&]() { int ret = 0; for (char c = *p++...
24.166667
67
0.524138
jinhan814
8e88ffdb44fa10c13a4a05e29143abca1544cfb5
426
hpp
C++
src/rstd/core.hpp
agerasev/cpp-rstd
cb4dcb510c4b3d562f7fed0d9eaa3eca94c9db36
[ "MIT" ]
null
null
null
src/rstd/core.hpp
agerasev/cpp-rstd
cb4dcb510c4b3d562f7fed0d9eaa3eca94c9db36
[ "MIT" ]
null
null
null
src/rstd/core.hpp
agerasev/cpp-rstd
cb4dcb510c4b3d562f7fed0d9eaa3eca94c9db36
[ "MIT" ]
null
null
null
#pragma once #include <rcore/prelude.hpp> namespace rstd { inline std::istream &stdin_() { return rcore::stdin_(); } inline std::ostream &stdout_() { return rcore::stdout_(); } inline std::ostream &stderr_() { return rcore::stderr_(); } typedef rcore::Once Once; typedef rcore::Thread Thread; namespace thread { ...
18.521739
61
0.694836
agerasev
8e8b2b55ebd85f56968f92046be4946bd7d01de8
27,439
cpp
C++
cpp/visual studio/CalculatorServer/reader/reader_statistics_screen.cpp
NiHoel/Anno1800UXEnhancer
b430fdb428696b5218ca65a5e9b977d659cfca01
[ "Apache-2.0" ]
27
2020-03-29T16:02:09.000Z
2021-12-18T20:08:51.000Z
cpp/visual studio/CalculatorServer/reader/reader_statistics_screen.cpp
NiHoel/Anno1800UXEnhancer
b430fdb428696b5218ca65a5e9b977d659cfca01
[ "Apache-2.0" ]
22
2020-04-03T03:40:59.000Z
2022-03-29T15:55:28.000Z
cpp/visual studio/CalculatorServer/reader/reader_statistics_screen.cpp
NiHoel/Anno1800UXEnhancer
b430fdb428696b5218ca65a5e9b977d659cfca01
[ "Apache-2.0" ]
2
2021-10-17T16:15:46.000Z
2022-01-10T18:56:49.000Z
#include "reader_statistics_screen.hpp" #include <iostream> #include <numeric> #include <regex> #include <boost/algorithm/string.hpp> #include <opencv2/highgui.hpp> #include <opencv2/imgproc.hpp> namespace reader { //////////////////////////////////////// // // Class: statistics_screen_params // ///////////////////...
28.974657
204
0.688691
NiHoel
8e8bb26d3bd1b0a3b9ee833d10e5fb28224a1933
1,491
cpp
C++
src/mailews/src/base/MsgKeyArray.cpp
stonewell/exchange-ews-thunderbird
7b8cc41621ff29deb4145ad905344fecd60ccb0c
[ "MIT" ]
17
2016-02-24T15:13:04.000Z
2022-03-31T22:07:20.000Z
src/mailews/src/base/MsgKeyArray.cpp
stonewell/exchange-ews-thunderbird
7b8cc41621ff29deb4145ad905344fecd60ccb0c
[ "MIT" ]
3
2016-02-24T20:05:09.000Z
2017-04-18T04:23:56.000Z
src/mailews/src/base/MsgKeyArray.cpp
stonewell/exchange-ews-thunderbird
7b8cc41621ff29deb4145ad905344fecd60ccb0c
[ "MIT" ]
8
2018-06-01T08:32:35.000Z
2021-07-01T01:22:20.000Z
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "MsgKeyArray.h" #include "ns...
21.926471
76
0.716298
stonewell
8e8c428082f3f640b1a82eaa4eea3a014391e900
1,796
cpp
C++
SDK/ARKSurvivalEvolved_Xenomorph_Character_BP_Male_Tamed_Gen2_functions.cpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_Xenomorph_Character_BP_Male_Tamed_Gen2_functions.cpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_Xenomorph_Character_BP_Male_Tamed_Gen2_functions.cpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
3
2020-07-22T17:42:07.000Z
2021-06-19T17:16:13.000Z
// ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_Xenomorph_Character_BP_Male_Tamed_Gen2_parameters.hpp" namespace sdk { //--------------------------------------------------------------------------- //Functions //-------------------------------------------...
31.508772
197
0.754454
2bite
8e907c11dd1da0d4fb7850fd02019af2a6e95d0b
2,948
cpp
C++
test/source/local_shared_ptr_test.cpp
anders-wind/shared_ptr
ec5db7bf9a9516149b41dbf7e131c24536a393ae
[ "MIT" ]
null
null
null
test/source/local_shared_ptr_test.cpp
anders-wind/shared_ptr
ec5db7bf9a9516149b41dbf7e131c24536a393ae
[ "MIT" ]
1
2022-01-04T23:55:10.000Z
2022-01-04T23:55:10.000Z
test/source/local_shared_ptr_test.cpp
anders-wind/shared_ptr
ec5db7bf9a9516149b41dbf7e131c24536a393ae
[ "MIT" ]
null
null
null
#include <functional> #include <doctest/doctest.h> #include <shared_ptr/local_shared_ptr.hpp> TEST_SUITE("local::shared_ptr") // NOLINT { TEST_CASE("local::shared_ptr: make_shared works") // NOLINT { auto my_shared = wind::local::make_shared<int>(42); CHECK(*my_shared == 42); CHECK(m...
29.48
116
0.549864
anders-wind
8e90ad8a313ebb808860eb60c64b8a9db67a56c0
3,180
cpp
C++
src/scenes/SFPC/cantusFirmusRiley/cantusFirmusRiley.cpp
roymacdonald/ReCoded
3bcb3d579cdd17381e54a508a1e4ef9e3d5bc4f1
[ "MIT" ]
64
2017-06-12T19:24:08.000Z
2022-01-27T19:14:48.000Z
src/scenes/cantusFirmusRiley/cantusFirmusRiley.cpp
colaplate/recoded
934e1184c7502d192435c406e56b8a2106e9b6b4
[ "MIT" ]
10
2017-06-13T10:38:39.000Z
2017-11-15T11:21:05.000Z
src/scenes/cantusFirmusRiley/cantusFirmusRiley.cpp
colaplate/recoded
934e1184c7502d192435c406e56b8a2106e9b6b4
[ "MIT" ]
24
2017-06-11T08:14:46.000Z
2020-04-16T20:28:46.000Z
#include "cantusFirmusRiley.h" void cantusFirmusRiley::setup(){ ofBackground(255); size = 5000; y.c.setHex(0xA79C26); y.width = 9; p.c.setHex(0xC781A8); p.width = 9; b.c.setHex(0x64A2C9); b.width = 11; k.c.setHex(0x222B32); k.width = 39; w.c.setHex(0...
28.909091
85
0.56195
roymacdonald
8e92c72f104e18fe40c206ad6f39606eded00187
1,904
cpp
C++
src/plugins/shell/shell.cpp
Siddharth1698/MAVSDK
57ed6203c49b1fc39ad56e391b0b5d851a787d32
[ "BSD-3-Clause" ]
null
null
null
src/plugins/shell/shell.cpp
Siddharth1698/MAVSDK
57ed6203c49b1fc39ad56e391b0b5d851a787d32
[ "BSD-3-Clause" ]
null
null
null
src/plugins/shell/shell.cpp
Siddharth1698/MAVSDK
57ed6203c49b1fc39ad56e391b0b5d851a787d32
[ "BSD-3-Clause" ]
null
null
null
// WARNING: THIS FILE IS AUTOGENERATED! As such, it should not be edited. // Edits need to be made to the proto files // (see https://github.com/mavlink/MAVSDK-Proto/blob/master/protos/shell/shell.proto) #include <iomanip> #include "shell_impl.h" #include "plugins/shell/shell.h" namespace mavsdk { Shell::Shell(Syst...
28.848485
85
0.616597
Siddharth1698
8e92f360d0ac705f5227a0d178b6606a86c4d74d
7,195
cxx
C++
Libraries/QtVgCommon/vgColor.cxx
Acidburn0zzz/vivia
03326eca49c1d4fc8d3478b6750aef888df82a28
[ "BSD-3-Clause" ]
1
2017-07-31T07:08:05.000Z
2017-07-31T07:08:05.000Z
Libraries/QtVgCommon/vgColor.cxx
Acidburn0zzz/vivia
03326eca49c1d4fc8d3478b6750aef888df82a28
[ "BSD-3-Clause" ]
null
null
null
Libraries/QtVgCommon/vgColor.cxx
Acidburn0zzz/vivia
03326eca49c1d4fc8d3478b6750aef888df82a28
[ "BSD-3-Clause" ]
null
null
null
/*ckwg +5 * Copyright 2013 by Kitware, Inc. All Rights Reserved. Please refer to * KITWARE_LICENSE.TXT for licensing information, or contact General Counsel, * Kitware, Inc., 28 Corporate Drive, Clifton Park, NY 12065. */ #include "vgColor.h" #include <qtMath.h> #include <QColor> #include <QSettings> #include <Q...
29.012097
79
0.43975
Acidburn0zzz
8e96a905341164dea3c171b14db932528377fc12
20,491
cpp
C++
math/src/matrix.cpp
blobrobots/libs
cc11f56bc4e1112033e8b7352e5653f98f1bfc13
[ "MIT" ]
1
2015-10-21T14:36:43.000Z
2015-10-21T14:36:43.000Z
math/src/matrix.cpp
blobrobots/libs
cc11f56bc4e1112033e8b7352e5653f98f1bfc13
[ "MIT" ]
null
null
null
math/src/matrix.cpp
blobrobots/libs
cc11f56bc4e1112033e8b7352e5653f98f1bfc13
[ "MIT" ]
null
null
null
/****************************************************************************** * The MIT License (MIT) * * Copyright (c) 2015 Blob Robotics * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the S...
24.078731
118
0.48636
blobrobots
8e99a5f9e14b0ebccbdb42dfaa97a698b4de9384
15,637
hpp
C++
runtime/cpp/src/collections/BulkFlatCollection.hpp
DaMSL/K3
51749157844e76ae79dba619116fc5ad9d685643
[ "Apache-2.0" ]
17
2015-05-27T17:36:33.000Z
2020-06-07T07:21:29.000Z
runtime/cpp/src/collections/BulkFlatCollection.hpp
DaMSL/K3
51749157844e76ae79dba619116fc5ad9d685643
[ "Apache-2.0" ]
3
2015-10-02T19:37:58.000Z
2016-01-05T18:26:48.000Z
runtime/cpp/src/collections/BulkFlatCollection.hpp
DaMSL/K3
51749157844e76ae79dba619116fc5ad9d685643
[ "Apache-2.0" ]
6
2015-03-18T20:05:24.000Z
2020-02-06T21:35:09.000Z
#ifndef K3_BULK_FLAT_COLLECTION #define K3_BULK_FLAT_COLLECTION #include <limits> #include <tuple> #if HAS_LIBDYNAMIC #include <boost/serialization/array.hpp> #include <boost/serialization/string.hpp> #include <boost/functional/hash.hpp> #include <yaml-cpp/yaml.h> #include <rapidjson/document.h> #include <csvpp/csv...
30.129094
138
0.643218
DaMSL
8e9cf2b8fe01f2f6133f5fce8890fdde0816cda9
1,578
hpp
C++
src/core/testing/plg_multi_edit_test/multi_edit_test_data.hpp
wgsyd/wgtf
d8cacb43e2c5d40080d33c18a8c2f5bd27d21bed
[ "BSD-3-Clause" ]
28
2016-06-03T05:28:25.000Z
2019-02-14T12:04:31.000Z
src/core/testing/plg_multi_edit_test/multi_edit_test_data.hpp
karajensen/wgtf
740397bcfdbc02bc574231579d57d7c9cd5cc26d
[ "BSD-3-Clause" ]
null
null
null
src/core/testing/plg_multi_edit_test/multi_edit_test_data.hpp
karajensen/wgtf
740397bcfdbc02bc574231579d57d7c9cd5cc26d
[ "BSD-3-Clause" ]
14
2016-06-03T05:52:27.000Z
2019-03-21T09:56:03.000Z
#pragma once #include "core_reflection/object_handle.hpp" #include "core_reflection/reflected_object.hpp" #include "core_object/managed_object.hpp" #include "wg_types/vector2.hpp" #include "wg_types/vector3.hpp" #include "wg_types/vector4.hpp" #include <string> #include <vector> namespace wgt { class AbstractTreeMode...
20.230769
56
0.798479
wgsyd
8e9f59138b09dc898434bf521f18eabdf8421c4a
2,200
hpp
C++
third_party/omr/gc/stats/CollectionStatistics.hpp
xiacijie/omr-wala-linkage
a1aff7aef9ed131a45555451abde4615a04412c1
[ "Apache-2.0" ]
null
null
null
third_party/omr/gc/stats/CollectionStatistics.hpp
xiacijie/omr-wala-linkage
a1aff7aef9ed131a45555451abde4615a04412c1
[ "Apache-2.0" ]
null
null
null
third_party/omr/gc/stats/CollectionStatistics.hpp
xiacijie/omr-wala-linkage
a1aff7aef9ed131a45555451abde4615a04412c1
[ "Apache-2.0" ]
null
null
null
/******************************************************************************* * Copyright (c) 1991, 2016 IBM Corp. and others * * This program and the accompanying materials are made available under * the terms of the Eclipse Public License 2.0 which accompanies this * distribution and is available at https://w...
32.835821
135
0.684545
xiacijie
8e9f66219c4e1c4667395a40fee16530b4ec4d5e
1,639
cpp
C++
src/Generic/patterns/multilingual/LanguageVariant.cpp
BBN-E/serif
1e2662d82fb1c377ec3c79355a5a9b0644606cb4
[ "Apache-2.0" ]
1
2022-03-24T19:57:00.000Z
2022-03-24T19:57:00.000Z
src/Generic/patterns/multilingual/LanguageVariant.cpp
BBN-E/serif
1e2662d82fb1c377ec3c79355a5a9b0644606cb4
[ "Apache-2.0" ]
null
null
null
src/Generic/patterns/multilingual/LanguageVariant.cpp
BBN-E/serif
1e2662d82fb1c377ec3c79355a5a9b0644606cb4
[ "Apache-2.0" ]
null
null
null
// Copyright 2013 by BBN Technologies Corp. // All Rights Reserved. #include "Generic/common/leak_detection.h" #include "LanguageVariant.h" const Symbol LanguageVariant::languageVariantAnySym(L"ANY"); std::map<Symbol,std::map<Symbol,LanguageVariant_ptr> > LanguageVariant::_instances; LanguageVariant_ptr Langu...
39.02381
111
0.748627
BBN-E
8e9f91171e99d38aa2395dc468fc8b576f472760
698
cpp
C++
Olympiad Solutions/URI/1179.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
36
2019-12-27T08:23:08.000Z
2022-01-24T20:35:47.000Z
Olympiad Solutions/URI/1179.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
10
2019-11-13T02:55:18.000Z
2021-10-13T23:28:09.000Z
Olympiad Solutions/URI/1179.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
53
2020-08-15T11:08:40.000Z
2021-10-09T15:51:38.000Z
// Ivan Carvalho // Solution to https://www.urionlinejudge.com.br/judge/problems/view/1179 #include <cstdio> int main(){ int par[5],impar[5]; int pares=0,impares=0,i,j; for(i=0;i<15;i++){ int davez; scanf("%d",&davez); if (davez%2==0){ par[pares] = davez; pares += 1; } else { impar[impares] = dave...
17.897436
73
0.52149
Ashwanigupta9125
8ea6f00b0c9b4d1bc74066af4f9886f8c2aff88b
777
cpp
C++
Language_Coder/문자열2/형성평가/FormativeString209.cpp
NadanKim/CodingTest_JUNGOL
f1f448eb5a107b59bfa196c2682ba89e89431358
[ "MIT" ]
null
null
null
Language_Coder/문자열2/형성평가/FormativeString209.cpp
NadanKim/CodingTest_JUNGOL
f1f448eb5a107b59bfa196c2682ba89e89431358
[ "MIT" ]
null
null
null
Language_Coder/문자열2/형성평가/FormativeString209.cpp
NadanKim/CodingTest_JUNGOL
f1f448eb5a107b59bfa196c2682ba89e89431358
[ "MIT" ]
null
null
null
#include "FormativeString209.h" /// <summary> /// 문제 /// 정수, 실수, 문자열을 차례로 입력받아서 새로운 문자열에 출력한 후 전체의 길이를 2등분하여 출력하는 프로그램을 작성하시오. /// 실수는 반올림하여 소수 셋째자리까지 출력하는 것으로 하고, 새로운 문자열의 길이가 홀수일 때는 첫 번째 줄에 한 개를 더 출력한다. /// 각 문자열의 길이는 30자 이내이다. /// /// 입력 예 /// 12345 5.0123 fighting /// /// 출력 예 /// 123455.01 /// 2fighting /// //...
22.2
77
0.594595
NadanKim
8eadbd122506a76c97abc89ea53a27bb84c106c3
2,229
cpp
C++
Plugins/MixedReality-OpenXR-Unreal/MsftOpenXRGame/Plugins/MicrosoftOpenXR/Source/MicrosoftOpenXR/Private/TrackedGeometryCollision.cpp
peted70/hl2-ue-worldanchor-sample
e64515ff5821d1d11274fa9b78289445d6883e71
[ "MIT" ]
105
2020-11-24T17:24:36.000Z
2022-03-31T05:33:24.000Z
MsftOpenXRGame/Plugins/MicrosoftOpenXR/Source/MicrosoftOpenXR/Private/TrackedGeometryCollision.cpp
Qianlixun/Microsoft-OpenXR-Unreal
977e4b16a016d29897f8bf2ee793ba034eddfbc8
[ "MIT" ]
20
2021-02-06T16:08:34.000Z
2022-03-10T15:07:30.000Z
MsftOpenXRGame/Plugins/MicrosoftOpenXR/Source/MicrosoftOpenXR/Private/TrackedGeometryCollision.cpp
Qianlixun/Microsoft-OpenXR-Unreal
977e4b16a016d29897f8bf2ee793ba034eddfbc8
[ "MIT" ]
36
2020-11-26T15:14:50.000Z
2022-03-30T21:34:42.000Z
// Copyright (c) 2020 Microsoft Corporation. // Licensed under the MIT License. #include "TrackedGeometryCollision.h" namespace MicrosoftOpenXR { TrackedGeometryCollision::TrackedGeometryCollision(const TArray<FVector> InVertices, const TArray<MRMESH_INDEX_TYPE> InIndices) { if (InVertices.Num() == 0) { retu...
32.304348
178
0.717811
peted70
8eae656c140630fcb82003e67a13410f602d9a22
4,851
cpp
C++
cpp/MinQuintet.cpp
Tmyiri/QS-Net
d121ba9cea8105caed4bd0836ec23f8347935646
[ "MIT" ]
3
2019-04-21T00:58:44.000Z
2019-12-18T06:36:48.000Z
cpp/MinQuintet.cpp
Tmyiri/QS-Net
d121ba9cea8105caed4bd0836ec23f8347935646
[ "MIT" ]
2
2020-08-08T17:54:23.000Z
2021-04-29T05:23:13.000Z
cpp/MinQuintet.cpp
Tmyiri/QS-Net
d121ba9cea8105caed4bd0836ec23f8347935646
[ "MIT" ]
1
2019-04-21T01:20:20.000Z
2019-04-21T01:20:20.000Z
#include <iostream> #include "CSplitSys.h" using namespace std; // calculate w(21|543) // Method 1 w(21|543)= min{ // w(43|21)-w(51|43)+w(51|32)-w(54|32)+w(54|21), // w(53|21)-w(53|41)+w(41|32)-w(54|32)+w(54|21), // w(43|21)-w(51|43)+w(51|42)-w(53|4...
22.354839
80
0.531025
Tmyiri
8eaedf4e36b6b3aacf8dbe5cab481d6cece203d4
8,753
hpp
C++
src/mlpack/methods/range_search/rs_model_impl.hpp
florian-rosenthal/mlpack
4287a89886e39703571165ef1d40693eb51d22c6
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
4,216
2015-01-01T02:06:12.000Z
2022-03-31T19:12:06.000Z
src/mlpack/methods/range_search/rs_model_impl.hpp
florian-rosenthal/mlpack
4287a89886e39703571165ef1d40693eb51d22c6
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2,621
2015-01-01T01:41:47.000Z
2022-03-31T19:01:26.000Z
src/mlpack/methods/range_search/rs_model_impl.hpp
florian-rosenthal/mlpack
4287a89886e39703571165ef1d40693eb51d22c6
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1,972
2015-01-01T23:37:13.000Z
2022-03-28T06:03:41.000Z
/** * @file methods/range_search/rs_model_impl.hpp * @author Ryan Curtin * * Implementation of serialize() and inline functions for RSModel. * * mlpack is free software; you may redistribute it and/or modify it under the * terms of the 3-clause BSD license. You should have received a copy of the * 3-clause BSD...
30.929329
80
0.607677
florian-rosenthal
8eb22800d61e3b40e628fa1436bf42cdd446fa87
1,461
cpp
C++
algorithms/cpp/Problems 1201-1300/_1254_NumberOfClosedIslands.cpp
shivamacs/LeetCode
f8f8b4e9872c47fbaaf9196c422f7e04986e6c3a
[ "MIT" ]
null
null
null
algorithms/cpp/Problems 1201-1300/_1254_NumberOfClosedIslands.cpp
shivamacs/LeetCode
f8f8b4e9872c47fbaaf9196c422f7e04986e6c3a
[ "MIT" ]
null
null
null
algorithms/cpp/Problems 1201-1300/_1254_NumberOfClosedIslands.cpp
shivamacs/LeetCode
f8f8b4e9872c47fbaaf9196c422f7e04986e6c3a
[ "MIT" ]
null
null
null
/* Source - https://leetcode.com/problems/number-of-closed-islands/ Author - Shivam Arora */ #include <bits/stdc++.h> using namespace std; int x[4] = {-1, 0, 1, 0}; int y[4] = {0, -1, 0, 1}; bool dfs(int sr, int sc, vector< vector<int> >& grid) { grid[sr][sc] = 1; if(sr == 0 || sc == 0 || sr == grid.s...
22.476923
80
0.464066
shivamacs
8eb849f2a90f0aaac2f0f3de98d0a393fffc5fbb
15,981
cpp
C++
sp/src/game/client/gstring/vgui/vgui_gstringoptions.cpp
ChampionCynthia/g-string_2013
cae02cf5128be8a2469f242cff079a5f98e45427
[ "Unlicense" ]
28
2015-08-16T16:43:27.000Z
2022-02-19T23:37:08.000Z
sp/src/game/client/gstring/vgui/vgui_gstringoptions.cpp
ChampionCynthia/g-string_2013
cae02cf5128be8a2469f242cff079a5f98e45427
[ "Unlicense" ]
null
null
null
sp/src/game/client/gstring/vgui/vgui_gstringoptions.cpp
ChampionCynthia/g-string_2013
cae02cf5128be8a2469f242cff079a5f98e45427
[ "Unlicense" ]
6
2015-10-02T21:34:38.000Z
2019-09-20T11:09:41.000Z
#include "cbase.h" #include "tier1/KeyValues.h" #include "gstring/gstring_cvars.h" #include "gstring/vgui/vgui_gstringoptions.h" #include "ienginevgui.h" #include "vgui_controls/Panel.h" #include "vgui_controls/CheckButton.h" #include "vgui_controls/ComboBox.h" #include "vgui_controls/Slider.h" #include "vgui_contro...
34.074627
115
0.73093
ChampionCynthia
8ebc620eee4b12815926d4c6596310b0d5f981ff
519
hpp
C++
coreneuron/permute/data_layout.hpp
alexsavulescu/CoreNeuron
af7e95d98819c052b07656961d20de6a71b70740
[ "BSD-3-Clause" ]
109
2016-04-08T09:27:54.000Z
2022-03-15T02:10:47.000Z
coreneuron/permute/data_layout.hpp
alexsavulescu/CoreNeuron
af7e95d98819c052b07656961d20de6a71b70740
[ "BSD-3-Clause" ]
595
2016-04-01T09:12:47.000Z
2022-03-31T23:44:58.000Z
coreneuron/permute/data_layout.hpp
alexsavulescu/CoreNeuron
af7e95d98819c052b07656961d20de6a71b70740
[ "BSD-3-Clause" ]
52
2016-03-29T08:11:35.000Z
2022-03-11T07:37:38.000Z
/* # ============================================================================= # Copyright (c) 2016 - 2021 Blue Brain Project/EPFL # # See top-level LICENSE file for details. # ============================================================================= */ #ifndef NRN_DATA_LAYOUT_HPP #define NRN_DATA_LAYOUT_HPP ...
27.315789
81
0.535645
alexsavulescu
8ebc679c6e7131ac3b876970c2499840dc8323da
6,406
cpp
C++
src/testApp.cpp
zebradog/shaderTextureBlending
939cf34ccf0e7b490eb483c0ecfc6e118801b1df
[ "MIT" ]
null
null
null
src/testApp.cpp
zebradog/shaderTextureBlending
939cf34ccf0e7b490eb483c0ecfc6e118801b1df
[ "MIT" ]
null
null
null
src/testApp.cpp
zebradog/shaderTextureBlending
939cf34ccf0e7b490eb483c0ecfc6e118801b1df
[ "MIT" ]
null
null
null
#include "testApp.h" //-------------------------------------------------------------- void testApp::setup(){ cout << "WARNING: this program may take a while to load" << endl; ofBackground(127,127,127); ofSetWindowTitle( "Shader Texture Blending by Ruud Bijnen" ); ofSetFrameRate ( 30 ); ofSet...
32.353535
98
0.607868
zebradog
8ec0d2798d81b381a0ee7da0d5a2cbd30bcd577c
22,778
cpp
C++
rmw_ecal_proto_cpp/src/rmw/rmw.cpp
ZhenshengLee/rmw_ecal
1dbd50c458c288ecd14238b02f4ec1050d21b378
[ "Apache-2.0" ]
30
2020-09-05T23:40:06.000Z
2022-03-09T09:30:21.000Z
rmw_ecal_proto_cpp/src/rmw/rmw.cpp
ZhenshengLee/rmw_ecal
1dbd50c458c288ecd14238b02f4ec1050d21b378
[ "Apache-2.0" ]
21
2020-09-08T09:58:23.000Z
2022-03-24T08:49:12.000Z
rmw_ecal_proto_cpp/src/rmw/rmw.cpp
ZhenshengLee/rmw_ecal
1dbd50c458c288ecd14238b02f4ec1050d21b378
[ "Apache-2.0" ]
7
2020-09-08T09:36:13.000Z
2021-11-09T09:31:46.000Z
// Copyright 2020 Continental AG // // 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 ...
44.750491
194
0.672271
ZhenshengLee
8ec17823b724f8047599e4bf863425aaf8d744e2
1,883
cpp
C++
readFile.cpp
sidvishnoi/filesystem-simulation
d1534795736c5938eba07a288e9996236211025b
[ "MIT" ]
4
2018-01-24T22:21:29.000Z
2021-03-21T18:14:57.000Z
readFile.cpp
sidvishnoi/filesystem-simulation
d1534795736c5938eba07a288e9996236211025b
[ "MIT" ]
null
null
null
readFile.cpp
sidvishnoi/filesystem-simulation
d1534795736c5938eba07a288e9996236211025b
[ "MIT" ]
1
2017-04-18T10:24:51.000Z
2017-04-18T10:24:51.000Z
#include "filesystem.h" int FileSystem::readFile(const char *title) { /* objective: to read a single file from multiple non-continuous sectors input: title: title of file return: 0: success 1: error effect: contents of file are printed, if success */ TypeCastEntry en...
30.370968
77
0.491768
sidvishnoi
8ec21fbffb9a28de422becf918f06a2869bc32f4
4,498
cpp
C++
lib/Analysis/Intrinsics.cpp
yukatan1701/tsar
a6f95cdaeb117ccd5fcb775b471b1aa17c45f4e8
[ "Apache-2.0" ]
14
2019-11-04T15:03:40.000Z
2021-09-07T17:29:40.000Z
lib/Analysis/Intrinsics.cpp
yukatan1701/tsar
a6f95cdaeb117ccd5fcb775b471b1aa17c45f4e8
[ "Apache-2.0" ]
11
2019-11-29T21:18:12.000Z
2021-12-22T21:36:40.000Z
lib/Analysis/Intrinsics.cpp
yukatan1701/tsar
a6f95cdaeb117ccd5fcb775b471b1aa17c45f4e8
[ "Apache-2.0" ]
17
2019-10-15T13:56:35.000Z
2021-10-20T17:21:14.000Z
//===-- Instrinsics.cpp - TSAR Intrinsic Function Handling ------*- C++ -*-===// // // Traits Static Analyzer (SAPFOR) // // Copyright 2018 DVM System Group // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // Yo...
34.868217
80
0.715874
yukatan1701
8ec60b892dfde400957339b54081d17ad3f108e7
7,644
hxx
C++
windows/core/ntgdi/gre/icmobj.hxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
windows/core/ntgdi/gre/icmobj.hxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
windows/core/ntgdi/gre/icmobj.hxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/******************************Module*Header******************************* * Module Name: icmobj.hxx * * This file contains the class prototypes for Color Space and ICM * objects * * Created: 23-Mar-1994 * Author: Mark Enstrom (marke) * * Copyright (c) 1994-1999 Microsoft Corporation * \********************...
23.024096
100
0.522109
npocmaka
8ecccc22e118a6bff9fc0589ec5024f050aa2f82
3,988
cpp
C++
Sail/src/Sail/entities/systems/network/receivers/NetworkReceiverSystemHost.cpp
BTH-StoraSpel-DXR/SPLASH
1bf4c9b96cbcce570ed3a97f30a556a992e1ad08
[ "MIT" ]
12
2019-09-11T15:52:31.000Z
2021-11-14T20:33:35.000Z
Sail/src/Sail/entities/systems/network/receivers/NetworkReceiverSystemHost.cpp
BTH-StoraSpel-DXR/Game
1bf4c9b96cbcce570ed3a97f30a556a992e1ad08
[ "MIT" ]
227
2019-09-11T08:40:24.000Z
2020-06-26T14:12:07.000Z
Sail/src/Sail/entities/systems/network/receivers/NetworkReceiverSystemHost.cpp
BTH-StoraSpel-DXR/Game
1bf4c9b96cbcce570ed3a97f30a556a992e1ad08
[ "MIT" ]
2
2020-10-26T02:35:18.000Z
2020-10-26T02:36:01.000Z
#include "pch.h" #include "NetworkReceiverSystemHost.h" #include "../NetworkSenderSystem.h" #include "Network/NWrapperSingleton.h" #include "Sail/utils/Utils.h" #include "Sail/utils/GameDataTracker.h" #include "Sail/events/types/StartKillCamEvent.h" #include "Sail/events/types/StopKillCamEvent.h" #include "../SPLASH/s...
29.323529
109
0.758275
BTH-StoraSpel-DXR
8ecd011beb2490a5a17b4c47e446719c0d6880e4
1,733
cpp
C++
javacompiler/pokitto/femto/mode/HiRes16Color/drawHLine.cpp
bl-ackrain/FemtoIDE
df642c39abb1a45b71ce1d7ce5abc1388879345a
[ "MIT" ]
18
2019-04-28T12:25:47.000Z
2022-01-24T22:36:45.000Z
javacompiler/pokitto/femto/mode/HiRes16Color/drawHLine.cpp
bl-ackrain/FemtoIDE
df642c39abb1a45b71ce1d7ce5abc1388879345a
[ "MIT" ]
97
2019-05-11T14:40:27.000Z
2021-09-15T12:20:30.000Z
javacompiler/pokitto/femto/mode/HiRes16Color/drawHLine.cpp
bl-ackrain/FemtoIDE
df642c39abb1a45b71ce1d7ce5abc1388879345a
[ "MIT" ]
12
2019-05-04T21:26:44.000Z
2020-12-12T07:24:02.000Z
if( w<0 ){ x += w; w = -w; } if( x < 0 ){ w += x; x = 0; } const std::uint32_t screenWidth = 220; const std::uint32_t screenHeight = 176; if( (x + w) >= (int32_t) screenWidth ) w = screenWidth - x; if( std::uint32_t(x)>=screenWidth || std::uint32_t(y)>=screenHeight || w<1 ) return; ...
18.836957
76
0.366994
bl-ackrain
8ecd289f93aedd0c2cc88098ac3d8885840171ab
3,185
cpp
C++
sp/src/game/server/czeror/weapon_fiveseven.cpp
ZombieRoxtar/cZeroR
8c67b9e2e2da2479581d5a3863b8598d44ee69bb
[ "Unlicense" ]
2
2016-11-22T04:25:54.000Z
2020-02-02T12:24:42.000Z
sp/src/game/server/czeror/weapon_fiveseven.cpp
ZombieRoxtar/cZeroR
8c67b9e2e2da2479581d5a3863b8598d44ee69bb
[ "Unlicense" ]
null
null
null
sp/src/game/server/czeror/weapon_fiveseven.cpp
ZombieRoxtar/cZeroR
8c67b9e2e2da2479581d5a3863b8598d44ee69bb
[ "Unlicense" ]
null
null
null
//===== Copyright Bit Mage's Stuff, All rights probably reserved. ===== // // Purpose: Five-SeveN weapon, FN Five-seven, ES Five-seven // //============================================================================= #include "cbase.h" #include "baseadvancedweapon.h" // memdbgon must be the last include file in a .cpp...
38.841463
79
0.686342
ZombieRoxtar
8ece732793da8be7ab07619ee3af03073f8e1d3c
1,001
hpp
C++
core/logging.hpp
sdulloor/cyclone
a4606bfb50fb8ce01e21f245624d2f4a98961039
[ "Apache-2.0" ]
7
2017-11-21T03:08:15.000Z
2019-02-13T08:05:37.000Z
core/logging.hpp
IntelLabs/LogReplicationRocksDB
74f33e9a54f3ae820060230e28c42274696bf2f7
[ "Apache-2.0" ]
null
null
null
core/logging.hpp
IntelLabs/LogReplicationRocksDB
74f33e9a54f3ae820060230e28c42274696bf2f7
[ "Apache-2.0" ]
4
2020-03-27T18:06:33.000Z
2021-03-24T09:56:17.000Z
#ifndef _LOGGING_ #define _LOGGING_ #include<iostream> #include<string> #include<sstream> #include<boost/thread.hpp> #include<boost/date_time/posix_time/posix_time.hpp> enum log_state { fatal = 0, error = 1, warning = 2, info = 3, debug=4, total = 5 }; static const char *log_headers[total] = {"FATAL", ...
19.627451
105
0.636364
sdulloor
8ed1fa2a918006b038fde4fa7a9d94ec0b4ec003
1,635
cpp
C++
targets/apps/argobots_1/main.cpp
range3/spack-playground
3220494a7ee3266c1bd1dc55b98fb08a1c7840ba
[ "Apache-2.0" ]
null
null
null
targets/apps/argobots_1/main.cpp
range3/spack-playground
3220494a7ee3266c1bd1dc55b98fb08a1c7840ba
[ "Apache-2.0" ]
null
null
null
targets/apps/argobots_1/main.cpp
range3/spack-playground
3220494a7ee3266c1bd1dc55b98fb08a1c7840ba
[ "Apache-2.0" ]
null
null
null
#include <abt.h> #include <fmt/core.h> #include <algorithm> #include <iostream> #include <memory> #include <range/v3/view.hpp> #include <unused.hpp> #include <vector> using thread_arg_t = struct { size_t tid; }; void helloWorld(void* arg) { size_t tid = reinterpret_cast<thread_arg_t*>(arg)->tid; int rank; ABT_...
22.708333
69
0.654434
range3
8ed4682c74d4d5c39226e7bcaa727f5608a305af
3,225
hpp
C++
signal_logger_std/include/signal_logger_std/LogElementStd.hpp
mcx/signal_logger
7d209bb42ae563fe78175f4b52a8f5c648984a39
[ "BSD-3-Clause" ]
null
null
null
signal_logger_std/include/signal_logger_std/LogElementStd.hpp
mcx/signal_logger
7d209bb42ae563fe78175f4b52a8f5c648984a39
[ "BSD-3-Clause" ]
4
2019-07-09T08:49:38.000Z
2021-09-13T11:26:02.000Z
signal_logger_std/include/signal_logger_std/LogElementStd.hpp
mcx/signal_logger
7d209bb42ae563fe78175f4b52a8f5c648984a39
[ "BSD-3-Clause" ]
3
2020-05-28T08:50:03.000Z
2022-03-27T12:54:55.000Z
/*! * @file LogElementStd.hpp * @author Gabriel Hottiger * @date Sep 22, 2016 * @brief Implementation of a Log element for std logging. Save data to binary file. */ #pragma once // Signal logger #include "signal_logger_core/LogElementBase.hpp" #include "signal_logger_std/signal_logger_std_traits.hpp...
34.677419
152
0.656434
mcx
8ed662912286c535204cac69650dd1c405d9c916
532
cpp
C++
src/cuda-kernels/identities.cpp
nikoladze/awkward-1.0
7e1001b6ee59f1cba96cf57d144e7f2719f07e69
[ "BSD-3-Clause" ]
null
null
null
src/cuda-kernels/identities.cpp
nikoladze/awkward-1.0
7e1001b6ee59f1cba96cf57d144e7f2719f07e69
[ "BSD-3-Clause" ]
null
null
null
src/cuda-kernels/identities.cpp
nikoladze/awkward-1.0
7e1001b6ee59f1cba96cf57d144e7f2719f07e69
[ "BSD-3-Clause" ]
null
null
null
#include "awkward/cuda-kernels/identities.h" template <typename T> ERROR awkward_cuda_new_identities( T *toptr, int64_t length) { for (T i = 0; i < length; i++) { toptr[i] = i; } return success(); } ERROR awkward_cuda_new_identities32( int32_t *toptr, int64_t length) { return awkward_cuda...
17.733333
46
0.672932
nikoladze
8ed6787cacf0aa586551ffd376e38b8c12137bc9
2,899
hxx
C++
include/itkSegmentationVolumeEstimator.hxx
mseng10/LesionSizingToolkit
407b7eb14dfa8f824383d1a93f3b2177d6466e18
[ "Apache-2.0" ]
null
null
null
include/itkSegmentationVolumeEstimator.hxx
mseng10/LesionSizingToolkit
407b7eb14dfa8f824383d1a93f3b2177d6466e18
[ "Apache-2.0" ]
null
null
null
include/itkSegmentationVolumeEstimator.hxx
mseng10/LesionSizingToolkit
407b7eb14dfa8f824383d1a93f3b2177d6466e18
[ "Apache-2.0" ]
null
null
null
/*========================================================================= * * Copyright NumFOCUS * * 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.or...
26.59633
95
0.726457
mseng10
8ed742b2a725aaeabaca5df0f7478ca02b000376
539
cpp
C++
bzoj/5104.cpp
swwind/code
25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0
[ "WTFPL" ]
3
2017-09-17T09:12:50.000Z
2018-04-06T01:18:17.000Z
bzoj/5104.cpp
swwind/code
25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0
[ "WTFPL" ]
null
null
null
bzoj/5104.cpp
swwind/code
25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0
[ "WTFPL" ]
null
null
null
#include <bits/stdc++.h> #define N 100020 #define ll long long using namespace std; inline int read(){ int x=0,f=1;char ch=getchar(); while(ch>'9'||ch<'0')ch=='-'&&(f=0)||(ch=getchar()); while(ch<='9'&&ch>='0')x=(x<<3)+(x<<1)+ch-'0',ch=getchar(); return f?x:-x; } int main(int argc, char const *argv[]) { int a = 1,...
23.434783
60
0.528757
swwind
8eded0dc91a769c24e5a7ed1dcde2e36e19577ad
1,974
hpp
C++
examples/mechanics/RockingBlock/src/RockingR.hpp
vacary/siconos-tutorials
93c0158321077a313692ed52fed69ff3c256ae32
[ "Apache-2.0" ]
6
2017-01-12T23:09:28.000Z
2021-03-20T17:03:58.000Z
examples/mechanics/RockingBlock/src/RockingR.hpp
vacary/siconos-tutorials
93c0158321077a313692ed52fed69ff3c256ae32
[ "Apache-2.0" ]
3
2019-01-14T13:44:51.000Z
2021-05-17T13:57:27.000Z
examples/mechanics/RockingBlock/src/RockingR.hpp
vacary/siconos-tutorials
93c0158321077a313692ed52fed69ff3c256ae32
[ "Apache-2.0" ]
2
2019-10-22T13:30:39.000Z
2020-10-06T10:19:57.000Z
#ifndef ROCKING_R_HPP #define ROCKING_R_HPP #include "LagrangianScleronomousR.hpp" class RockingBlockR : public LagrangianScleronomousR { public: double LengthBlock = 0.2; double HeightBlock = 0.1; void computeh(const BlockVector& q, BlockVector& z, SiconosVector& y) { double q1 = q.getValue(1); dou...
25.973684
100
0.639818
vacary
8ee459f7963a2eef725bd4b1b9102b9fbb011d33
984
hpp
C++
include/geometry/serialization/point_set_serialization.hpp
qaskai/MLCMST
0fa0529347eb6a44f45cf52dff477291c6fad433
[ "MIT" ]
null
null
null
include/geometry/serialization/point_set_serialization.hpp
qaskai/MLCMST
0fa0529347eb6a44f45cf52dff477291c6fad433
[ "MIT" ]
null
null
null
include/geometry/serialization/point_set_serialization.hpp
qaskai/MLCMST
0fa0529347eb6a44f45cf52dff477291c6fad433
[ "MIT" ]
null
null
null
#pragma once #include <vector> #include <memory> #include <geometry/serialization/point_serialization.hpp> #include <serializer.hpp> #include <deserializer.hpp> namespace MLCMST::geometry::serialization { class PointSetSerializer final : public Serializer< std::vector<Point> > { public: PointSetSerializer(); ...
22.363636
84
0.748984
qaskai
8ee56b3553ff5b363d713e64adfb0ec99cf1a37d
10,991
cpp
C++
Flight_controller/HEAR_nodelet/trajectory_node.cpp
AhmedHumais/HEAR_FC
2e9abd990757f8b14711aa4f02f5ad85698da6fe
[ "Unlicense" ]
null
null
null
Flight_controller/HEAR_nodelet/trajectory_node.cpp
AhmedHumais/HEAR_FC
2e9abd990757f8b14711aa4f02f5ad85698da6fe
[ "Unlicense" ]
null
null
null
Flight_controller/HEAR_nodelet/trajectory_node.cpp
AhmedHumais/HEAR_FC
2e9abd990757f8b14711aa4f02f5ad85698da6fe
[ "Unlicense" ]
null
null
null
#include <ros/ros.h> #include <std_srvs/SetBool.h> #include <hear_msgs/set_float.h> #include <hear_msgs/set_bool.h> #include <std_msgs/Float32.h> #include <geometry_msgs/Point.h> #include <std_srvs/Empty.h> #include <tf2/LinearMath/Matrix3x3.h> #include <fstream> #include <sstream> #include <string> #include <vector> ...
36.036066
114
0.61514
AhmedHumais
8ee8651d0747e061eb611630311ed8e0ead513f9
718
hpp
C++
src/analyzer/SatStaticAnalyzer.hpp
aristk/static-analyser
6e3973b79c1e9bd6c9e7281ba9a9c75b348e42c6
[ "MIT" ]
1
2018-08-25T07:11:59.000Z
2018-08-25T07:11:59.000Z
src/analyzer/SatStaticAnalyzer.hpp
aristk/static-analyser
6e3973b79c1e9bd6c9e7281ba9a9c75b348e42c6
[ "MIT" ]
null
null
null
src/analyzer/SatStaticAnalyzer.hpp
aristk/static-analyser
6e3973b79c1e9bd6c9e7281ba9a9c75b348e42c6
[ "MIT" ]
null
null
null
// // Created by arist on 19/11/2016. // #include "incSatAnalyzer.hpp" #ifndef STATICANALYZERROOT_SATSTATICANALYZER_HPP #define STATICANALYZERROOT_SATSTATICANALYZER_HPP // TODO(arist): inheritance should be reverse class SatStaticAnalyzer : public IncrementalSatStaticAnalyzer { // key + operator name + position ...
32.636364
104
0.78273
aristk
8eeaa453dfee7eb78ccbc6267bd696e73e1e496b
1,542
cpp
C++
src/QGCQmlWidgetHolder.cpp
DonLakeFlyer/PDCDogDatabase
23700d16f21005b84738887d98c6c9c368b9eb6f
[ "Apache-2.0" ]
null
null
null
src/QGCQmlWidgetHolder.cpp
DonLakeFlyer/PDCDogDatabase
23700d16f21005b84738887d98c6c9c368b9eb6f
[ "Apache-2.0" ]
null
null
null
src/QGCQmlWidgetHolder.cpp
DonLakeFlyer/PDCDogDatabase
23700d16f21005b84738887d98c6c9c368b9eb6f
[ "Apache-2.0" ]
null
null
null
/**************************************************************************** * * (c) 2009-2016 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org> * * QGroundControl is licensed according to the terms in the file * COPYING.md in the root of the source code directory. * *************************************...
24.870968
96
0.659533
DonLakeFlyer
8eee3f2db028e9df12a5ffe16c14f15f4cf61b72
2,250
cpp
C++
XGF/Src/Core/Asyn.cpp
kadds/XGF
610c98a93c0f287546f97efc654b95dc846721ad
[ "MIT" ]
5
2017-11-09T05:02:52.000Z
2020-06-23T09:50:25.000Z
XGF/Src/Core/Asyn.cpp
kadds/XGF
610c98a93c0f287546f97efc654b95dc846721ad
[ "MIT" ]
null
null
null
XGF/Src/Core/Asyn.cpp
kadds/XGF
610c98a93c0f287546f97efc654b95dc846721ad
[ "MIT" ]
null
null
null
#include "../../Include/Asyn.hpp" #include <chrono> #include "../../Include/Timer.hpp" #include "../../Include/Logger.hpp" namespace XGF { Asyn::Asyn() { } Asyn::~Asyn() { } void Asyn::PostEvent(EventIdType id, EventGroupType evGroup, std::initializer_list< EventDataType> init) { if (mIsExit) return; mMe...
21.028037
105
0.662667
kadds
8eef2a200c768a99ab2f01a79ee34ea8cc9e36a4
938
cpp
C++
src/allocateMem.cpp
neilenns/MobiFlight-FirmwareSource
af4d771ab26e8633f338298805e6fe56a855aa85
[ "MIT" ]
2
2022-03-07T08:10:51.000Z
2022-03-08T20:59:45.000Z
src/allocateMem.cpp
Jak-Kav/MobiFlight-FirmwareSource
fb14a2e134d12bbd26b18e15dd1e5fa16063c97a
[ "MIT" ]
13
2021-10-03T07:14:38.000Z
2021-10-14T14:11:42.000Z
src/allocateMem.cpp
Jak-Kav/MobiFlight-FirmwareSource
fb14a2e134d12bbd26b18e15dd1e5fa16063c97a
[ "MIT" ]
1
2021-10-16T15:57:18.000Z
2021-10-16T15:57:18.000Z
#include <Arduino.h> #include "MFBoards.h" #include "mobiflight.h" #include "allocateMem.h" #include "commandmessenger.h" char deviceBuffer[MF_MAX_DEVICEMEM] = {0}; uint16_t nextPointer = 0; char * allocateMemory(uint8_t size) { uint16_t actualPointer = nextPointer; nextPointer = actualPointer + size; if ...
22.878049
66
0.712154
neilenns
8ef60df2a1095a38a703f3b4dca398e357701095
240
hpp
C++
levels/rocketball/rocketball.hpp
piotrplaza/MouseSpaceShooter
9aed0c16889b6ce70e725c165bf28307201e81d1
[ "MIT" ]
null
null
null
levels/rocketball/rocketball.hpp
piotrplaza/MouseSpaceShooter
9aed0c16889b6ce70e725c165bf28307201e81d1
[ "MIT" ]
null
null
null
levels/rocketball/rocketball.hpp
piotrplaza/MouseSpaceShooter
9aed0c16889b6ce70e725c165bf28307201e81d1
[ "MIT" ]
1
2020-06-16T10:32:06.000Z
2020-06-16T10:32:06.000Z
#pragma once #include <memory> #include "../level.hpp" namespace Levels { class Rocketball: public Level { public: Rocketball(); ~Rocketball(); void step() override; private: class Impl; std::unique_ptr<Impl> impl; }; }
10.909091
31
0.658333
piotrplaza
8ef969a50a44272e85057ccb0650e7a97df7182d
12,017
cpp
C++
libs/numeric/ublasx/test/trace.cpp
sguazt/boost-ublasx
21c9b393d33a6ec2a8071ba8d48680073d766409
[ "BSL-1.0" ]
7
2016-05-14T11:08:44.000Z
2021-08-05T14:22:20.000Z
libs/numeric/ublasx/test/trace.cpp
sguazt/boost-ublasx
21c9b393d33a6ec2a8071ba8d48680073d766409
[ "BSL-1.0" ]
1
2020-12-28T18:36:04.000Z
2021-01-06T11:28:51.000Z
libs/numeric/ublasx/test/trace.cpp
sguazt/boost-ublasx
21c9b393d33a6ec2a8071ba8d48680073d766409
[ "BSL-1.0" ]
1
2019-12-23T02:53:27.000Z
2019-12-23T02:53:27.000Z
/* vim: set tabstop=4 expandtab shiftwidth=4 softtabstop=4: */ /** * \file libs/numeric/ublasx/test/trace.cpp * * \brief Test suite for the \c trace operation. * * \author Marco Guazzone (marco.guazzone@gmail.com) * * <hr/> * * Copyright (c) 2010, Marco Guazzone * * Distributed under the Boost Software Lice...
35.034985
149
0.627112
sguazt
8efd92da6912e7d5cc64bf4eaf1be08f91c912d5
11,383
cpp
C++
DerivedSources/WebCore/JSWMLElementWrapperFactory.cpp
VincentWei/mdolphin-core
48ffdcf587a48a7bb4345ae469a45c5b64ffad0e
[ "Apache-2.0" ]
6
2017-05-31T01:46:45.000Z
2018-06-12T10:53:30.000Z
DerivedSources/WebCore/JSWMLElementWrapperFactory.cpp
FMSoftCN/mdolphin-core
48ffdcf587a48a7bb4345ae469a45c5b64ffad0e
[ "Apache-2.0" ]
null
null
null
DerivedSources/WebCore/JSWMLElementWrapperFactory.cpp
FMSoftCN/mdolphin-core
48ffdcf587a48a7bb4345ae469a45c5b64ffad0e
[ "Apache-2.0" ]
2
2017-07-17T06:02:42.000Z
2018-09-19T10:08:38.000Z
/* * THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. * * This file was generated by the dom/make_names.pl script. * * Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that...
42.315985
134
0.789599
VincentWei
8efdf2d451fbf9fa2d5f5a722b548439c4daa461
3,302
cpp
C++
src/wiggleDetector.cpp
malachi-iot/washer-monitor
af7786bbb204bf6dc31c30b759a82910feb6e946
[ "MIT" ]
null
null
null
src/wiggleDetector.cpp
malachi-iot/washer-monitor
af7786bbb204bf6dc31c30b759a82910feb6e946
[ "MIT" ]
null
null
null
src/wiggleDetector.cpp
malachi-iot/washer-monitor
af7786bbb204bf6dc31c30b759a82910feb6e946
[ "MIT" ]
null
null
null
// // Created by malachi on 2/22/17. // #include <Arduino.h> #include <fact/CircularBuffer.h> #include <SimpleTimer.h> #include "state.h" namespace util = FactUtilEmbedded; const int SENSOR_PIN = 13; volatile uint16_t wigglesDetected = 0; util::layer1::CircularBuffer<uint16_t, 60> wigglesPerSecond; util::layer1::...
24.279412
93
0.698365
malachi-iot
8eff81ca36a0040952bc1a80c5f14d334c5d881d
9,695
cpp
C++
admin/snapin/corecopy/guidhelp.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
admin/snapin/corecopy/guidhelp.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
admin/snapin/corecopy/guidhelp.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//____________________________________________________________________________ // // Microsoft Windows // Copyright (C) Microsoft Corporation, 1995 - 1996. // // File: guidhelp.cpp // // Contents: // // Classes: // // Functions: // // History: 9/18/1996 JonN Created // //____________...
29.739264
107
0.635895
npocmaka
f106aff47a1ae4cd247c4fed7146af25c047dd6f
2,966
cpp
C++
02-functions-and-libs/readerEx.02.07/main.cpp
heavy3/programming-abstractions
e10eab5fe7d9ca7d7d4cc96551524707214e43a8
[ "MIT" ]
81
2018-11-15T21:23:19.000Z
2022-03-06T09:46:36.000Z
02-functions-and-libs/readerEx.02.07/main.cpp
heavy3/programming-abstractions
e10eab5fe7d9ca7d7d4cc96551524707214e43a8
[ "MIT" ]
null
null
null
02-functions-and-libs/readerEx.02.07/main.cpp
heavy3/programming-abstractions
e10eab5fe7d9ca7d7d4cc96551524707214e43a8
[ "MIT" ]
41
2018-11-15T21:23:24.000Z
2022-02-24T03:02:26.000Z
// // main.cpp // // This program implements the sqrt() function for taking the square root // of a number using the following successive approximation technique: // // 1. Begin by guessing that the square root is x / 2. Call that guess g. // // 2. The actual square root must lie between g and x / g. // At each step...
26.963636
91
0.58294
heavy3
f10b116eee8ffd2d0bf1142c06cb1c9e980da5e8
3,075
cpp
C++
9.29.7.cpp
luckylove/extra
8d27ec0e62bdc2ab6a261d197b455fea07120a55
[ "CC-BY-4.0", "MIT" ]
null
null
null
9.29.7.cpp
luckylove/extra
8d27ec0e62bdc2ab6a261d197b455fea07120a55
[ "CC-BY-4.0", "MIT" ]
null
null
null
9.29.7.cpp
luckylove/extra
8d27ec0e62bdc2ab6a261d197b455fea07120a55
[ "CC-BY-4.0", "MIT" ]
null
null
null
// merge two shorted linked list // by using the dummy node #include<stdio.h> #include<stdlib.h> // for malloc function stdlib .h will support it accordingly struct node { int data; struct node* next; }; void push(struct node **head,int data1) // here i am passing the address of the pointer to the struct ...
26.508621
157
0.625366
luckylove
f10c6dd590deb8c07b296a3e9b9a6c77a397d68a
1,079
cpp
C++
codes/HDU/hdu4649.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/HDU/hdu4649.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/HDU/hdu4649.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
#include <cstdio> #include <cstring> #include <cmath> #include <algorithm> using namespace std; const int maxn = 205; double P[maxn], dp[maxn][2]; int N, A[maxn]; char sig[maxn][2]; double solve (int bit, double s) { dp[0][0] = 1 - s, dp[0][1] = s; for (int i = 1; i <= N; i++) { for (int j = 0; j < 2; j++) dp...
21.58
51
0.437442
JeraKrs
f10cec96038fa56d2dc5f19e933b1745930dca38
1,273
cpp
C++
tests/test050.cpp
mjj29/rapidcsv
d717299b59d19c421b3bb023e890b33000016a9c
[ "BSD-3-Clause" ]
1
2020-01-13T17:39:20.000Z
2020-01-13T17:39:20.000Z
tests/test050.cpp
mjj29/rapidcsv
d717299b59d19c421b3bb023e890b33000016a9c
[ "BSD-3-Clause" ]
null
null
null
tests/test050.cpp
mjj29/rapidcsv
d717299b59d19c421b3bb023e890b33000016a9c
[ "BSD-3-Clause" ]
1
2019-12-14T12:07:48.000Z
2019-12-14T12:07:48.000Z
// test050.cpp - read column header / label by index #include <rapidcsv.h> #include "unittest.h" int main() { int rv = 0; std::string csv = "-,A,B,C\n" "1,3,9,81\n" "2,4,16,256\n" ; std::string path = unittest::TempPath(); unittest::WriteFile(path, csv); try { rapidcsv::Document doc...
26.520833
67
0.649647
mjj29
f10d654211dcb5c0b5131f29e7d40ff19dd249a3
5,659
cpp
C++
STL & Sorting Algorithm/Vector.cpp
FattyMieo/Semester-3
29498bfca2aaca84e4595510bbc21a6043b16d77
[ "MIT" ]
1
2017-05-12T19:46:57.000Z
2017-05-12T19:46:57.000Z
STL & Sorting Algorithm/Vector.cpp
FattyMieo/Semester-3
29498bfca2aaca84e4595510bbc21a6043b16d77
[ "MIT" ]
null
null
null
STL & Sorting Algorithm/Vector.cpp
FattyMieo/Semester-3
29498bfca2aaca84e4595510bbc21a6043b16d77
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdlib> // same as stdlib.h (old) #include <ctime> // same as time.h (old) #include <vector> #include <limits> using namespace std; vector<char> charVector; void DisplayVector() { for(int i = 0; i < charVector.size(); i++) { cout << "[" << (i < 10 ? "0" : "") << i << "] " << charVe...
17.148485
75
0.545856
FattyMieo
f10ddf0f79d7e4cd24e51978d40b0ce6be9cea81
751
hpp
C++
example/Timer.hpp
BetaJester/nopengl
6220eab842db531d275e7c0f9276992d22170e3a
[ "MIT" ]
null
null
null
example/Timer.hpp
BetaJester/nopengl
6220eab842db531d275e7c0f9276992d22170e3a
[ "MIT" ]
null
null
null
example/Timer.hpp
BetaJester/nopengl
6220eab842db531d275e7c0f9276992d22170e3a
[ "MIT" ]
null
null
null
// Copyright (C) 2021 Glenn Duncan <betajester@betajester.com> // See README.md, LICENSE, or go to https://github.com/BetaJester/nopengl // for details. #pragma once #include <chrono> #include <concepts> template<std::floating_point T> class [[nodiscard]] Timer final { std::chrono::high_resolution_c...
25.896552
108
0.661784
BetaJester
f10e4f51bce8cc153d79154dfe45f610abe162b5
728
cpp
C++
A2OnlineJudge/Ladder_1400_1499/Median.cpp
seeva92/Competitive-Programming
69061c5409bb806148616fe7d86543e94bf76edd
[ "Apache-2.0" ]
null
null
null
A2OnlineJudge/Ladder_1400_1499/Median.cpp
seeva92/Competitive-Programming
69061c5409bb806148616fe7d86543e94bf76edd
[ "Apache-2.0" ]
null
null
null
A2OnlineJudge/Ladder_1400_1499/Median.cpp
seeva92/Competitive-Programming
69061c5409bb806148616fe7d86543e94bf76edd
[ "Apache-2.0" ]
null
null
null
#include <bits/stdc++.h> typedef long long ll; const int mod = 1e9 + 7; const int MAX = 1e5 + 7; using namespace std; typedef vector<int> vi; class Median { public: int n, x; vector<int> arr; void solve() { cin >> n >> x; int val; for (int i = 0; i < n; i++) { cin >> val; arr.push_back(val); } sort(arr....
19.157895
65
0.596154
seeva92
f111e135a21497ed46ed960a65d78879f8af88e9
3,253
cpp
C++
src/CommandHandlers.cpp
Helios-vmg/BorderlessAnimator
6d73e1806d84e35711a4dd030f367e533e549d8b
[ "BSD-2-Clause" ]
null
null
null
src/CommandHandlers.cpp
Helios-vmg/BorderlessAnimator
6d73e1806d84e35711a4dd030f367e533e549d8b
[ "BSD-2-Clause" ]
null
null
null
src/CommandHandlers.cpp
Helios-vmg/BorderlessAnimator
6d73e1806d84e35711a4dd030f367e533e549d8b
[ "BSD-2-Clause" ]
null
null
null
/* Copyright (c), Helios All rights reserved. Distributed under a permissive license. See COPYING.txt for details. */ #include "ImageViewerApplication.h" #include "MainWindow.h" #include "Script.h" #include <sstream> void ImageViewerApplication::handle_load(const QStringList &args){ if (args.size() < 4...
25.414063
73
0.682754
Helios-vmg
f1122b0f1c354a887a6ab28ffc007360f2f3673c
1,213
hpp
C++
include/codegen/include/System/UriParser_BuiltInUriParser.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/System/UriParser_BuiltInUriParser.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/System/UriParser_BuiltInUriParser.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: System.UriParser #include "System/UriParser.hpp" // Com...
40.433333
133
0.732069
Futuremappermydud
f1123c19542dad9ead9e42f61fd7ec62d88ddcec
1,634
cpp
C++
src/add-ons/kernel/file_systems/exfat/DataStream.cpp
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
1,338
2015-01-03T20:06:56.000Z
2022-03-26T13:49:54.000Z
src/add-ons/kernel/file_systems/exfat/DataStream.cpp
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
15
2015-01-17T22:19:32.000Z
2021-12-20T12:35:00.000Z
src/add-ons/kernel/file_systems/exfat/DataStream.cpp
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
350
2015-01-08T14:15:27.000Z
2022-03-21T18:14:35.000Z
/* * Copyright 2011, Haiku Inc. All rights reserved. * This file may be used under the terms of the MIT License. * * Authors: * Jérôme Duval */ #include "DataStream.h" #include "Volume.h" //#define TRACE_EXFAT #ifdef TRACE_EXFAT # define TRACE(x...) dprintf("\33[34mexfat:\33[0m " x) #else # define TRACE(x.....
23.014085
75
0.674419
Kirishikesan
f1139c8813c05e9c131a8782cc62d19d010e4c2d
786
cpp
C++
EJERCICIOS/EJERCICIO4-Imprimir valores de todas las variables/todas-las-variabes.cpp
AntonioVillatoro/cpp
dbbfcbf7d31c3c0e64399a487d05398e53d9428d
[ "MIT" ]
null
null
null
EJERCICIOS/EJERCICIO4-Imprimir valores de todas las variables/todas-las-variabes.cpp
AntonioVillatoro/cpp
dbbfcbf7d31c3c0e64399a487d05398e53d9428d
[ "MIT" ]
null
null
null
EJERCICIOS/EJERCICIO4-Imprimir valores de todas las variables/todas-las-variabes.cpp
AntonioVillatoro/cpp
dbbfcbf7d31c3c0e64399a487d05398e53d9428d
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main(int argc, char const *argv[]) { // DECLARACIONES DE VARIABLES // int para declarar varibales enteras // double para declarar variables numeros reales // string para delcarar cadena de caracteres // char para declara un caracter // bool para delc...
25.354839
56
0.620865
AntonioVillatoro
47dc6fa9fdfaa424ff307ef9283a962d5ee88048
38,047
cpp
C++
python/pythonalgoadapters.cpp
VITObelgium/geodynamix
6d3323bc4cae1b85e26afdceab2ecf3686b11369
[ "MIT" ]
null
null
null
python/pythonalgoadapters.cpp
VITObelgium/geodynamix
6d3323bc4cae1b85e26afdceab2ecf3686b11369
[ "MIT" ]
null
null
null
python/pythonalgoadapters.cpp
VITObelgium/geodynamix
6d3323bc4cae1b85e26afdceab2ecf3686b11369
[ "MIT" ]
1
2021-06-16T11:55:27.000Z
2021-06-16T11:55:27.000Z
#include "pythonalgoadapters.h" #include "infra/cast.h" #include "maskedrasteralgo.h" #include "pythonutils.h" #include "rasterargument.h" #include "gdx/algo/accuflux.h" #include "gdx/algo/blurfilter.h" #include "gdx/algo/cast.h" #include "gdx/algo/category.h" #include "gdx/algo/clusterid.h" #include "gdx/algo/cluster...
34.556767
201
0.671117
VITObelgium
47dd6b1a6ea7124288472a0a0d0021ee76da3162
98
cpp
C++
Chroma/src/Chroma/Core/Time.cpp
ttalexander2/chroma
0e9946e66158938ebd6497d5bf3acfba8fbe9fee
[ "MIT" ]
1
2022-03-07T01:54:59.000Z
2022-03-07T01:54:59.000Z
Chroma/src/Chroma/Core/Time.cpp
ttalexander2/chroma
0e9946e66158938ebd6497d5bf3acfba8fbe9fee
[ "MIT" ]
20
2021-08-16T16:52:43.000Z
2022-03-26T02:47:09.000Z
Chroma/src/Chroma/Core/Time.cpp
ttalexander2/chroma
0e9946e66158938ebd6497d5bf3acfba8fbe9fee
[ "MIT" ]
null
null
null
#include "chromapch.h" #include "Time.h" namespace Chroma { Time* Time::m_Instance = nullptr; }
12.25
34
0.704082
ttalexander2
47df4e7e7ac69a26794d53e8fbb72b7b2611ffc9
2,239
cpp
C++
Source/WebCore/bindings/js/JSAnimationTimelineCustom.cpp
ijsf/DeniseEmbeddableWebKit
57dfc6783d60f8f59b7129874e60f84d8c8556c9
[ "BSD-3-Clause" ]
null
null
null
Source/WebCore/bindings/js/JSAnimationTimelineCustom.cpp
ijsf/DeniseEmbeddableWebKit
57dfc6783d60f8f59b7129874e60f84d8c8556c9
[ "BSD-3-Clause" ]
9
2020-04-18T18:47:18.000Z
2020-04-18T18:52:41.000Z
Source/WebCore/bindings/js/JSAnimationTimelineCustom.cpp
ijsf/DeniseEmbeddableWebKit
57dfc6783d60f8f59b7129874e60f84d8c8556c9
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (C) Canon Inc. 2016 * * Redistribution and use in source and binary forms, with or without * modification, are permitted, provided that the following conditions * are required to be met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and th...
39.280702
101
0.770433
ijsf
47e1cdc967d6d730212be9ed68faf2379bd503fd
2,152
cpp
C++
ENgine/Root/Assets/AssetScene.cpp
ENgineE777/OakEngine
6890fc89a0e9d151e7a0bcc1c276c13594616e9a
[ "Zlib" ]
13
2020-12-02T02:13:29.000Z
2022-03-11T06:14:54.000Z
ENgine/Root/Assets/AssetScene.cpp
ENgineE777/OakEngine
6890fc89a0e9d151e7a0bcc1c276c13594616e9a
[ "Zlib" ]
null
null
null
ENgine/Root/Assets/AssetScene.cpp
ENgineE777/OakEngine
6890fc89a0e9d151e7a0bcc1c276c13594616e9a
[ "Zlib" ]
null
null
null
#include "Root/Root.h" #ifdef OAK_EDITOR #include "Editor/Editor.h" #endif namespace Oak { CLASSREG(Asset, AssetScene, "AssetScene") META_DATA_DESC(AssetScene) META_DATA_DESC_END() void AssetScene::EnableTasks(bool set) { GetScene()->EnableTasks(set); } Scene* AssetScene::GetScene() { if (!scene) { ...
19.743119
83
0.71329
ENgineE777
47e5c0da8f9310c17607f0b4d123db2fb0d999f8
510
hpp
C++
include/tao/pegtl/internal/eol_pair.hpp
TheBB/PEGTL
9370da4e99e6836555321ac60fd988b5d1bcbaed
[ "BSL-1.0" ]
null
null
null
include/tao/pegtl/internal/eol_pair.hpp
TheBB/PEGTL
9370da4e99e6836555321ac60fd988b5d1bcbaed
[ "BSL-1.0" ]
null
null
null
include/tao/pegtl/internal/eol_pair.hpp
TheBB/PEGTL
9370da4e99e6836555321ac60fd988b5d1bcbaed
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2017-2021 Dr. Colin Hirsch and Daniel Frey // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt) #ifndef TAO_PEGTL_INTERNAL_EOL_PAIR_HPP #define TAO_PEGTL_INTERNAL_EOL_PAIR_HPP #include <cstddef> #incl...
25.5
91
0.766667
TheBB
47e7711fb408021c72e492e4e604f3609a06de80
245
cpp
C++
sources/SkyboxShader.cpp
HamilcarR/Echeyde
c7b177834fcabe6ac31c563edc6d4627ebb24b98
[ "MIT" ]
2
2021-08-25T08:03:07.000Z
2021-11-20T17:00:03.000Z
sources/SkyboxShader.cpp
HamilcarR/Echeyde
c7b177834fcabe6ac31c563edc6d4627ebb24b98
[ "MIT" ]
2
2017-03-11T02:30:13.000Z
2017-04-07T09:00:02.000Z
sources/SkyboxShader.cpp
HamilcarR/Echeyde
c7b177834fcabe6ac31c563edc6d4627ebb24b98
[ "MIT" ]
1
2018-11-16T17:08:47.000Z
2018-11-16T17:08:47.000Z
#include "../headers/SkyboxShader.h" SkyboxShader::SkyboxShader() :Shader() { } SkyboxShader::SkyboxShader(const char* vertex, const char* fragment) : Shader(std::string(vertex), std::string(fragment)){ } SkyboxShader::~SkyboxShader() { }
15.3125
122
0.714286
HamilcarR
47f6b6f0c8282717583e13aa4389050ab25e646c
2,044
cpp
C++
LeetCode/0019/0019_1.cpp
samsonwang/ToyCpp
a6a757aacf1a0e6d9ba3c943c5744fde611a2f7c
[ "MIT" ]
null
null
null
LeetCode/0019/0019_1.cpp
samsonwang/ToyCpp
a6a757aacf1a0e6d9ba3c943c5744fde611a2f7c
[ "MIT" ]
null
null
null
LeetCode/0019/0019_1.cpp
samsonwang/ToyCpp
a6a757aacf1a0e6d9ba3c943c5744fde611a2f7c
[ "MIT" ]
null
null
null
#include <iostream> #include <string> using namespace std; struct ListNode { int val; ListNode* next; ListNode(int x) : val(x), next(NULL) {} }; void printList(ListNode* head, const string& info) { cout << info; ListNode* roll = head; while (roll) { cout << roll->val << " "; ...
17.773913
54
0.521526
samsonwang
47fa055422237635afb65e95b064a9c958d3d95d
1,570
hpp
C++
remodet_repository_wdh_part/include/caffe/tracker/halfmerge_layer.hpp
UrwLee/Remo_experience
a59d5b9d6d009524672e415c77d056bc9dd88c72
[ "MIT" ]
null
null
null
remodet_repository_wdh_part/include/caffe/tracker/halfmerge_layer.hpp
UrwLee/Remo_experience
a59d5b9d6d009524672e415c77d056bc9dd88c72
[ "MIT" ]
null
null
null
remodet_repository_wdh_part/include/caffe/tracker/halfmerge_layer.hpp
UrwLee/Remo_experience
a59d5b9d6d009524672e415c77d056bc9dd88c72
[ "MIT" ]
null
null
null
#ifndef CAFFE_TRACKER_HALFMERGE_LAYER_HPP_ #define CAFFE_TRACKER_HALFMERGE_LAYER_HPP_ #include "caffe/blob.hpp" #include "caffe/layer.hpp" #include "caffe/proto/caffe.pb.h" namespace caffe { /** * 该层用于对双通道样本进行合并。 * 计算方法: * Input(x): [2N,C,H,W] -> Output(y): [N,2C,H,W] * y(n,C+l,i,j) = x(N+n,l,i,j) * 该层在Tracker中...
31.4
78
0.703185
UrwLee
47fea34b9e1de67436a5ffda9629ad86a9810779
2,043
hpp
C++
include/irc/ctcp_parser.hpp
libircpp/libircpp
b7df7f3b20881c11c842b81224bc520bc742cdb1
[ "BSL-1.0" ]
3
2016-02-01T19:57:44.000Z
2020-11-12T22:59:29.000Z
include/irc/ctcp_parser.hpp
libircpp/libircpp
b7df7f3b20881c11c842b81224bc520bc742cdb1
[ "BSL-1.0" ]
null
null
null
include/irc/ctcp_parser.hpp
libircpp/libircpp
b7df7f3b20881c11c842b81224bc520bc742cdb1
[ "BSL-1.0" ]
null
null
null
// Copyright Joseph Dobson, Andrea Zanellato 2014 // 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 IRC_CTCP_PARSER_HPP #define IRC_CTCP_PARSER_HPP //SPEEDS UP SPIRIT COMPILE TIMES #d...
31.430769
83
0.605972
libircpp
9a00f9184b5d906a9a36bbcebec68a8c2b83c024
7,041
cpp
C++
Src/Editor/FrEdToolBar.cpp
VladGordienko28/FluorineEngine-I
31114c41884d41ec60d04dba7965bc83be47d229
[ "MIT" ]
null
null
null
Src/Editor/FrEdToolBar.cpp
VladGordienko28/FluorineEngine-I
31114c41884d41ec60d04dba7965bc83be47d229
[ "MIT" ]
null
null
null
Src/Editor/FrEdToolBar.cpp
VladGordienko28/FluorineEngine-I
31114c41884d41ec60d04dba7965bc83be47d229
[ "MIT" ]
null
null
null
/*============================================================================= FrEdToolBar.cpp: An editor main toolbar. Copyright Aug.2016 Vlad Gordienko. =============================================================================*/ #include "Editor.h" /*----------------------------------------------------...
32.901869
111
0.635989
VladGordienko28
9a0136876639975c58b343745082aad130f868bc
250
hpp
C++
src/parser/Expression.hpp
rlucca/aslan
1f283c22fb72f717c590cf11482ac97c171f8518
[ "Unlicense" ]
null
null
null
src/parser/Expression.hpp
rlucca/aslan
1f283c22fb72f717c590cf11482ac97c171f8518
[ "Unlicense" ]
null
null
null
src/parser/Expression.hpp
rlucca/aslan
1f283c22fb72f717c590cf11482ac97c171f8518
[ "Unlicense" ]
null
null
null
#pragma once class Expression : public Symbol { public: Expression(Symbol *left); virtual ~Expression(); void setOp(int operation); int op(); virtual void add(Symbol *); protected: Symbol *m_left; Symbol *m_right; int m_op; };
12.5
32
0.668
rlucca
9a047c7f52d0b8ef23a63c442c700759dc8f7b82
9,712
cpp
C++
src/glCompact/MemoryBarrier.cpp
PixelOfDeath/glCompact
68334cc9c3aa20255e8986ad1ee5fa8e23df354d
[ "MIT" ]
null
null
null
src/glCompact/MemoryBarrier.cpp
PixelOfDeath/glCompact
68334cc9c3aa20255e8986ad1ee5fa8e23df354d
[ "MIT" ]
null
null
null
src/glCompact/MemoryBarrier.cpp
PixelOfDeath/glCompact
68334cc9c3aa20255e8986ad1ee5fa8e23df354d
[ "MIT" ]
null
null
null
#include "glCompact/MemoryBarrier.hpp" #include "glCompact/Context_.hpp" #include "glCompact/threadContext_.hpp" #include "glCompact/gl/Constants.hpp" /** MEMORY BARRIER COMMANDS Memory barriers got introduced with image load/store operations. To be lightwight and performant there is no automatic ordering...
48.56
234
0.727759
PixelOfDeath
9a04bd03ec8aaed321813bc2040d7831823579b4
1,851
cpp
C++
3rdParty/occa/src/lang/expr/leftUnaryOpNode.cpp
krowe-alcf/nekBench
d314ca6b942076620dd7dab8f11df97be977c5db
[ "BSD-3-Clause" ]
4
2020-02-26T19:33:16.000Z
2020-12-06T07:50:11.000Z
3rdParty/occa/src/lang/expr/leftUnaryOpNode.cpp
krowe-alcf/nekBench
d314ca6b942076620dd7dab8f11df97be977c5db
[ "BSD-3-Clause" ]
12
2020-05-13T03:50:11.000Z
2021-09-16T16:26:06.000Z
3rdParty/occa/src/lang/expr/leftUnaryOpNode.cpp
krowe-alcf/nekBench
d314ca6b942076620dd7dab8f11df97be977c5db
[ "BSD-3-Clause" ]
10
2020-03-02T15:55:02.000Z
2021-12-03T02:44:10.000Z
#include <occa/lang/expr/leftUnaryOpNode.hpp> namespace occa { namespace lang { leftUnaryOpNode::leftUnaryOpNode(token_t *token_, const unaryOperator_t &op_, const exprNode &value_) : exprOpNode(token_, op_), value(value_.clone...
27.220588
71
0.572663
krowe-alcf
9a081e4dc68491ed31f03c11bdf8d26f976b979c
521
hpp
C++
include/mi/NonCopyable.hpp
tmichi/mibase
0ab614901cfedeba523f48170c717da8b445d851
[ "MIT" ]
4
2017-11-24T13:28:52.000Z
2019-12-09T19:52:51.000Z
include/mi/NonCopyable.hpp
tmichi/mibase
0ab614901cfedeba523f48170c717da8b445d851
[ "MIT" ]
2
2015-07-09T09:53:04.000Z
2016-05-06T05:09:04.000Z
include/mi/NonCopyable.hpp
tmichi/mibase
0ab614901cfedeba523f48170c717da8b445d851
[ "MIT" ]
null
null
null
#ifndef MI_NON_COPYABLE_HPP #define MI_NON_COPYABLE_HPP 1 namespace mi { class NonCopyable { private: NonCopyable ( const NonCopyable& that ); void operator = ( const NonCopyable& that ); public: NonCopyable ( void ) { ...
23.681818
60
0.435701
tmichi
9a0ae489e808d4793bd16c35aaea7a3131034617
553
cc
C++
llvm-gcc-4.2-2.9/libjava/java/security/natVMAccessController.cc
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
1
2016-04-09T02:58:13.000Z
2016-04-09T02:58:13.000Z
llvm-gcc-4.2-2.9/libjava/java/security/natVMAccessController.cc
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
null
null
null
llvm-gcc-4.2-2.9/libjava/java/security/natVMAccessController.cc
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
null
null
null
// natVMAccessController.cc -- Native part of the VMAccessController class. /* Copyright (C) 2006 Free Software Foundation, Inc. This file is part of libgcj. This software is copyrighted work licensed under the terms of the Libgcj License. Please consult the file "LIBGCJ_LICENSE" for details. */ #include <conf...
23.041667
75
0.757685
vidkidz
9a0c25d34bf5a7b24684a5d245e5ca979b973bcb
5,116
hpp
C++
src/thirdparty/stlsoft/STLSoft/include/stlsoft/shims/logical/is_null.hpp
nneesshh/servercore
8aceb7c9d5b26976469645a708b4ab804864c03f
[ "MIT" ]
null
null
null
src/thirdparty/stlsoft/STLSoft/include/stlsoft/shims/logical/is_null.hpp
nneesshh/servercore
8aceb7c9d5b26976469645a708b4ab804864c03f
[ "MIT" ]
null
null
null
src/thirdparty/stlsoft/STLSoft/include/stlsoft/shims/logical/is_null.hpp
nneesshh/servercore
8aceb7c9d5b26976469645a708b4ab804864c03f
[ "MIT" ]
2
2020-11-04T03:07:09.000Z
2020-11-05T08:14:45.000Z
/* ///////////////////////////////////////////////////////////////////////// * File: stlsoft/shims/logical/is_null.hpp * * Purpose: Contains the is_null attribute shim. * * Created: 31st March 2007 * Updated: 19th February 2017 * * Home: http://stlsoft.org/ * * Copyright (c) 2007-201...
39.96875
99
0.727326
nneesshh
9a0d9e1029a01184b64aa688766e80a2bc904903
393
cpp
C++
hedron-ui/src/hdrui/SandboxUIApp.cpp
Gabriel-Baril/hedron
5d4cad10c51e7c5e9c4919b089367560a8b3b1f3
[ "Apache-2.0" ]
null
null
null
hedron-ui/src/hdrui/SandboxUIApp.cpp
Gabriel-Baril/hedron
5d4cad10c51e7c5e9c4919b089367560a8b3b1f3
[ "Apache-2.0" ]
null
null
null
hedron-ui/src/hdrui/SandboxUIApp.cpp
Gabriel-Baril/hedron
5d4cad10c51e7c5e9c4919b089367560a8b3b1f3
[ "Apache-2.0" ]
null
null
null
#include <hedron.h> #include <Hedron/Core/entry_point.h> #include "SandboxUI.h" namespace hedron { class Sandbox : public Application { public: Sandbox(ApplicationCommandLineArgs args) : Application("Sandbox", args) { push_layer(new SandboxUI()); } ~Sandbox() { } }; Application* create_applica...
15.72
65
0.704835
Gabriel-Baril
9a12f9e2dacf00922a37a060eb6e641f28ba8564
2,003
cpp
C++
RealVariable.cpp
Sarah-han/solver-a-b
5ac1f434dc7e3e0b1780d95bd2d6674366178045
[ "MIT" ]
null
null
null
RealVariable.cpp
Sarah-han/solver-a-b
5ac1f434dc7e3e0b1780d95bd2d6674366178045
[ "MIT" ]
null
null
null
RealVariable.cpp
Sarah-han/solver-a-b
5ac1f434dc7e3e0b1780d95bd2d6674366178045
[ "MIT" ]
null
null
null
#include "RealVariable.hpp" #include <math.h> solver::RealVariable solver::operator==(const solver::RealVariable &ls, const solver::RealVariable &rs) { return ls - rs; } // support only form (x)^2 solver::RealVariable solver::operator^(const solver::RealVariable &ls, const solver::RealVariable &rs) { if (ls._deg...
28.614286
103
0.61358
Sarah-han
9a137fcea951ae14652ec074252709c2f52eb4c2
21,636
cpp
C++
IPStreamingCPP/IPStreamingCPP/MainPage.xaml.cpp
srw2ho/IPStreaming
2a3345351f99c11fb69b2caedb3fd18ca7e5da73
[ "Apache-2.0" ]
2
2020-01-20T11:08:13.000Z
2020-09-01T17:35:56.000Z
IPStreamingCPP/IPStreamingCPP/MainPage.xaml.cpp
srw2ho/IPStreaming
2a3345351f99c11fb69b2caedb3fd18ca7e5da73
[ "Apache-2.0" ]
1
2020-08-20T01:24:57.000Z
2020-08-20T01:24:57.000Z
IPStreamingCPP/IPStreamingCPP/MainPage.xaml.cpp
srw2ho/IPStreaming
2a3345351f99c11fb69b2caedb3fd18ca7e5da73
[ "Apache-2.0" ]
1
2022-01-25T08:30:15.000Z
2022-01-25T08:30:15.000Z
// // MainPage.xaml.cpp // Implementation of the MainPage class. // #include "pch.h" #include "MainPage.xaml.h" #include "StreamingPageParam.h" #include "StreamingPage.xaml.h" using namespace IPStreamingCPP; using namespace AmcrestMotionDetection; using namespace FFmpegInteropExtRT; using namespace OnVifServicesRu...
30.008322
253
0.742235
srw2ho
9a147a08302fe45eddfb77567e7489f88065ce5c
644
hpp
C++
smart_tales_ii/game/ui/informationcard.hpp
TijmenUU/smarttalesii
c3a9c90bc2385e21e6fe4aa1cfda550edf6e20ba
[ "CC-BY-3.0", "CC-BY-4.0" ]
null
null
null
smart_tales_ii/game/ui/informationcard.hpp
TijmenUU/smarttalesii
c3a9c90bc2385e21e6fe4aa1cfda550edf6e20ba
[ "CC-BY-3.0", "CC-BY-4.0" ]
11
2018-02-08T14:50:16.000Z
2022-01-21T19:54:24.000Z
smart_tales_ii/game/ui/informationcard.hpp
TijmenUU/smarttalesii
c3a9c90bc2385e21e6fe4aa1cfda550edf6e20ba
[ "CC-BY-3.0", "CC-BY-4.0" ]
null
null
null
/* informationcard.hpp Simple helper class used in winoverlay.hpp / .cpp. Counts down its timeout and after that it starts fading in the subtitle and image. */ #pragma once #include <SFML/Graphics.hpp> class InformationCard : public sf::Drawable { private: float fadeTimeOut; int colorValue; sf::Sprite image;...
21.466667
109
0.75
TijmenUU
9a14e84c937df5ce584001d2231706c81e90f695
1,211
cpp
C++
basic/inherit/singleInherit.cpp
Marveliu/learn-cpp
e1f121fb1d5d7decc5712817a3f4751f43fea1b8
[ "Apache-2.0" ]
null
null
null
basic/inherit/singleInherit.cpp
Marveliu/learn-cpp
e1f121fb1d5d7decc5712817a3f4751f43fea1b8
[ "Apache-2.0" ]
null
null
null
basic/inherit/singleInherit.cpp
Marveliu/learn-cpp
e1f121fb1d5d7decc5712817a3f4751f43fea1b8
[ "Apache-2.0" ]
null
null
null
#include <iostream> using namespace std; class Animal //定义基类 { public: Animal(int con_weight, int con_age); //声明带参构造函数 ~Animal() { cout << "Animal destructor!" << endl; } int get_age() { return m_nAge; } //获取m_nAge属性值 void speak() { cout << "animal language!" << endl; } private: ...
22.849057
84
0.601156
Marveliu
9a177211feed7e22ba2a45509653d9bd2010a525
2,248
hpp
C++
src/libbsn/include/libbsn/configuration/SensorConfiguration.hpp
gabrielevi10/bsn
2d42aa006933caf75365bb327fd7d79ae30c88b7
[ "MIT" ]
8
2020-01-26T15:26:27.000Z
2022-01-05T15:38:07.000Z
src/libbsn/include/libbsn/configuration/SensorConfiguration.hpp
gabrielevi10/bsn
2d42aa006933caf75365bb327fd7d79ae30c88b7
[ "MIT" ]
50
2019-08-29T23:52:43.000Z
2021-01-24T19:09:54.000Z
src/libbsn/include/libbsn/configuration/SensorConfiguration.hpp
gabrielevi10/bsn
2d42aa006933caf75365bb327fd7d79ae30c88b7
[ "MIT" ]
4
2019-06-15T17:23:57.000Z
2020-10-16T20:09:41.000Z
#ifndef SENSORCONFIGURATION_HPP #define SENSORCONFIGURATION_HPP #include <string> #include <math.h> #include <iostream> #include <array> #include <sstream> #include "libbsn/range/Range.hpp" namespace bsn { namespace configuration { class SensorConfiguration { public: SensorConfiguration(); SensorConf...
27.084337
73
0.683274
gabrielevi10
9a17d0c7f6a0cf1624878b9d909425202934b4f2
380
cpp
C++
turtlebot2/kobuki_base/kobuki_ros/kobuki_node/src/kobuki_ros_node.cpp
RoboticsLabURJC/2021-tfg-carlos-caminero
e23991616cb971b9a0bd95b653789c54f571a930
[ "Apache-2.0" ]
null
null
null
turtlebot2/kobuki_base/kobuki_ros/kobuki_node/src/kobuki_ros_node.cpp
RoboticsLabURJC/2021-tfg-carlos-caminero
e23991616cb971b9a0bd95b653789c54f571a930
[ "Apache-2.0" ]
null
null
null
turtlebot2/kobuki_base/kobuki_ros/kobuki_node/src/kobuki_ros_node.cpp
RoboticsLabURJC/2021-tfg-carlos-caminero
e23991616cb971b9a0bd95b653789c54f571a930
[ "Apache-2.0" ]
null
null
null
#include <cstdio> #include <memory> #include <rclcpp/rclcpp.hpp> #include "kobuki_node/kobuki_ros.hpp" int main(int argc, char** argv) { // Configures stdout stream for no buffering setvbuf(stdout, nullptr, _IONBF, BUFSIZ); rclcpp::init(argc, argv); rclcpp::spin(std::make_shared<kobuki_node::KobukiRos>(rcl...
18.095238
80
0.707895
RoboticsLabURJC
9a17d0d1b9b617d436b632b8c6f300204c4853ae
1,798
cpp
C++
src/Game/CPlayer.cpp
kenluck2001/2DGameFrameWork
4064b0397240f66250099995157e65f2ee3ecff9
[ "MIT" ]
1
2016-07-22T17:32:38.000Z
2016-07-22T17:32:38.000Z
src/Game/CPlayer.cpp
kenluck2001/2DGameFrameWork
4064b0397240f66250099995157e65f2ee3ecff9
[ "MIT" ]
null
null
null
src/Game/CPlayer.cpp
kenluck2001/2DGameFrameWork
4064b0397240f66250099995157e65f2ee3ecff9
[ "MIT" ]
null
null
null
// ============================= // SDL Programming // Name: ODOH KENNETH EMEKA // Student id: 0902024 // Task 18 // ============================= #include "CPlayer.h" #include <CImageAlpha.h> #include "CSpaceAttacker.h" //////////////////////////////////////////////////////////////////////////////// CPlayer::CPlayer(...
29
156
0.477753
kenluck2001
9a20107c36410583cd9701568f1da690d1b6aa45
4,072
cpp
C++
Socket.cpp
marcaddeo/MAMClient
c3d91a55e25a70347401071fd9d5a26afacfe361
[ "MIT" ]
null
null
null
Socket.cpp
marcaddeo/MAMClient
c3d91a55e25a70347401071fd9d5a26afacfe361
[ "MIT" ]
null
null
null
Socket.cpp
marcaddeo/MAMClient
c3d91a55e25a70347401071fd9d5a26afacfe361
[ "MIT" ]
null
null
null
/* * Socket.cpp * MAMClient * * Created by Marc Addeo on 10/7/08. * Copyright 2008 __MyCompanyName__. All rights reserved. * */ #include "Socket.h" Socket::Socket( CryptoStuff *crypt ) : m_sock( -1 ) { memset( &this->m_addr, 0, sizeof( this->m_addr ) ); this->crypto = crypt; } Socket::~Socket( voi...
21.775401
104
0.5528
marcaddeo
9a2278aac1d423e8c0a5a693d8435a1c88f9a1da
2,871
cc
C++
services/service_manager/public/cpp/service_executable/service_executable_environment.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
services/service_manager/public/cpp/service_executable/service_executable_environment.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
services/service_manager/public/cpp/service_executable/service_executable_environment.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2016 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 "services/service_manager/public/cpp/service_executable/service_executable_environment.h" #include "base/command_line.h" #include "base/logging....
36.807692
98
0.768373
sarang-apps
9a28121384bcfd15bf5c3fe13b8b406e6bc1fa18
8,072
cpp
C++
lammps-master/src/nbin_standard.cpp
rajkubp020/helloword
4bd22691de24b30a0f5b73821c35a7ac0666b034
[ "MIT" ]
null
null
null
lammps-master/src/nbin_standard.cpp
rajkubp020/helloword
4bd22691de24b30a0f5b73821c35a7ac0666b034
[ "MIT" ]
null
null
null
lammps-master/src/nbin_standard.cpp
rajkubp020/helloword
4bd22691de24b30a0f5b73821c35a7ac0666b034
[ "MIT" ]
null
null
null
/* ---------------------------------------------------------------------- LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator http://lammps.sandia.gov, Sandia National Laboratories Steve Plimpton, sjplimp@sandia.gov Copyright (2003) Sandia Corporation. Under the terms of Contract DE-AC04...
34.643777
77
0.612983
rajkubp020
9a3086bfcbea92e16f880f88b1a15e046b21ce41
11,633
cpp
C++
TicTacToeVsCPU.cpp
anubhawbhalotia/TicTacToe-Vs-CPU
2bb37dbfbd20075196ad859c5309e77c61d1e8f7
[ "MIT" ]
null
null
null
TicTacToeVsCPU.cpp
anubhawbhalotia/TicTacToe-Vs-CPU
2bb37dbfbd20075196ad859c5309e77c61d1e8f7
[ "MIT" ]
null
null
null
TicTacToeVsCPU.cpp
anubhawbhalotia/TicTacToe-Vs-CPU
2bb37dbfbd20075196ad859c5309e77c61d1e8f7
[ "MIT" ]
null
null
null
#include<stdio.h> #include<windows.h> #include<stdlib.h> #include<time.h> void ar(int*); void tictctoe(int,int*,char,char); int checkwin(int*,int); void cpuplay(int*,char); int checkcpunextmove(int*); int checkplayernextmove(int*); int checknextmove(int*); int checkcpunextmoveadv(int*); int checknextmoveadv...
18.494436
101
0.376945
anubhawbhalotia
9a34a83de7464a3f9e10ed962cec0cf28f8fcd2c
381
cpp
C++
src/stkdata/ColumnDefInt.cpp
s-takeuchi/YaizuComLib
de1c881a4b743bafec22f7ea2d263572c474cbfe
[ "MIT" ]
4
2017-02-21T23:25:23.000Z
2022-01-30T20:17:22.000Z
src/stkdata/ColumnDefInt.cpp
Aekras1a/YaizuComLib
470d33376add0d448002221b75f7efd40eec506f
[ "MIT" ]
161
2015-05-16T14:26:36.000Z
2021-11-25T05:07:56.000Z
src/stkdata/ColumnDefInt.cpp
Aekras1a/YaizuComLib
470d33376add0d448002221b75f7efd40eec506f
[ "MIT" ]
1
2019-12-06T10:24:45.000Z
2019-12-06T10:24:45.000Z
#include "stkdata.h" #include "../stkpl/StkPl.h" // Constructor ColumnDefInt::ColumnDefInt() { } // Constructor ColumnDefInt::ColumnDefInt(const wchar_t* ColumnName) { StkPlWcsNCpy(m_ColumnName, COLUMN_NAME_SIZE, ColumnName, COLUMN_NAME_SIZE - 1); m_ColumnName[COLUMN_NAME_SIZE - 1] = L'\0'; m_ColumnType = COLUMN_...
18.142857
80
0.745407
s-takeuchi
9a39d79751778014da3e9ac19d7e7ca4a3feed88
8,704
cpp
C++
tool-dfxcli/src/ConfigCommand.cpp
nuralogix/dfx-api-client-cpp
6b45307ddf4b0036c107eebd7e8915f6c501c3b0
[ "MIT" ]
null
null
null
tool-dfxcli/src/ConfigCommand.cpp
nuralogix/dfx-api-client-cpp
6b45307ddf4b0036c107eebd7e8915f6c501c3b0
[ "MIT" ]
null
null
null
tool-dfxcli/src/ConfigCommand.cpp
nuralogix/dfx-api-client-cpp
6b45307ddf4b0036c107eebd7e8915f6c501c3b0
[ "MIT" ]
null
null
null
// Copyright (c) Nuralogix. All rights reserved. Licensed under the MIT license. // See LICENSE.txt in the project root for license information. #include "dfx/api/cli/ConfigCommand.hpp" #include "nlohmann/json.hpp" using nlohmann::json; ConfigViewCommand::ConfigViewCommand(CLI::App* config, std::shared_ptr<Options> ...
46.05291
120
0.534352
nuralogix
9a429a6662ec32856578f6b9347a6c613aa54248
5,250
cc
C++
src/remote_adapter/remote_adapter_client/hmi_adapter/lua_lib/hmi_adapter_client_lua_wrapper.cc
LuxoftSDL/sdl_atf
454487dafdc422db724cceb02827a6738e93203b
[ "BSD-3-Clause" ]
6
2016-03-04T20:27:37.000Z
2021-11-06T08:05:00.000Z
src/remote_adapter/remote_adapter_client/hmi_adapter/lua_lib/hmi_adapter_client_lua_wrapper.cc
smartdevicelink/sdl_atf
08354ae6633169513639a3d9257acd1229a5caa2
[ "BSD-3-Clause" ]
122
2016-03-09T20:03:50.000Z
2022-01-31T14:26:36.000Z
src/remote_adapter/remote_adapter_client/hmi_adapter/lua_lib/hmi_adapter_client_lua_wrapper.cc
smartdevicelink/sdl_atf
08354ae6633169513639a3d9257acd1229a5caa2
[ "BSD-3-Clause" ]
41
2016-03-10T09:34:00.000Z
2020-12-01T09:08:24.000Z
#include "hmi_adapter/lua_lib/hmi_adapter_client_lua_wrapper.h" #include <iostream> #include "common/constants.h" #include "hmi_adapter/hmi_adapter_client.h" #include "rpc/detail/log.h" namespace lua_lib { RPCLIB_CREATE_LOG_CHANNEL(HmiAdapterClientLuaWrapper) int HmiAdapterClientLuaWrapper::create_SDLRemoteTestAda...
29.829545
80
0.689714
LuxoftSDL
9a42ac97df0ae6638139917df1c1e016a5242ca4
10,106
cpp
C++
hi_scripting/scripting/scriptnode/api/DspHelpers.cpp
romsom/HISE
73e0e299493ce9236e6fafa7938d3477fcc36a4a
[ "Intel" ]
null
null
null
hi_scripting/scripting/scriptnode/api/DspHelpers.cpp
romsom/HISE
73e0e299493ce9236e6fafa7938d3477fcc36a4a
[ "Intel" ]
null
null
null
hi_scripting/scripting/scriptnode/api/DspHelpers.cpp
romsom/HISE
73e0e299493ce9236e6fafa7938d3477fcc36a4a
[ "Intel" ]
null
null
null
/* =========================================================================== * * This file is part of HISE. * Copyright 2016 Christoph Hart * * HISE 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 Foun...
25.979434
200
0.717396
romsom
9a439480d07ff2ce1005fdfe3f100cd885ec6c87
94
cpp
C++
unittests/data/ctypes/templates/templates.cpp
electronicvisions/pyplusplus
4d88bb8754d22654a61202ae8adc222807953e38
[ "BSL-1.0" ]
9
2016-06-07T19:14:53.000Z
2020-02-28T09:06:19.000Z
unittests/data/ctypes/templates/templates.cpp
electronicvisions/pyplusplus
4d88bb8754d22654a61202ae8adc222807953e38
[ "BSL-1.0" ]
1
2018-08-15T11:33:40.000Z
2018-08-15T11:33:40.000Z
unittests/data/ctypes/templates/templates.cpp
electronicvisions/pyplusplus
4d88bb8754d22654a61202ae8adc222807953e38
[ "BSL-1.0" ]
5
2016-06-23T09:37:00.000Z
2019-12-18T13:51:29.000Z
#include "templates.h" void EXPORT_SYMBOL init( value_t<int>& x){ x.value = 2009; }
15.666667
43
0.62766
electronicvisions