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
89860072375b7ceb0805c08295930cbbea3aee7d
391
cpp
C++
question_solution/first_time/1036.cpp
xiaoland/CaiojSolution
a12c505235d70b414071ea894fa72cddbcfabc6d
[ "Apache-2.0" ]
1
2020-09-24T13:35:45.000Z
2020-09-24T13:35:45.000Z
question_solution/first_time/1036.cpp
xiaoland/CaiojSolution
a12c505235d70b414071ea894fa72cddbcfabc6d
[ "Apache-2.0" ]
null
null
null
question_solution/first_time/1036.cpp
xiaoland/CaiojSolution
a12c505235d70b414071ea894fa72cddbcfabc6d
[ "Apache-2.0" ]
null
null
null
#include <cstdio> int n, s; void dg(int a, int b, int c) { if(c >= n) { s++; return ; } // ATTENTION: use if! not else if! if (a > 0 && b < n) { dg(a-1, b+1, c); } if (b > 0 && c < n) { dg(a, b-1, c+1); } } int main() { scanf("%d", ...
13.482759
61
0.337596
xiaoland
8987f02989bfc680906bae88c91b2db98f36af6f
60
cpp
C++
Source/FSD/Private/PricingTier.cpp
trumank/DRG-Mods
2febc879f2ffe83498ac913c114d0e933427e93e
[ "MIT" ]
8
2021-07-10T20:06:05.000Z
2022-03-04T19:03:50.000Z
Source/FSD/Private/PricingTier.cpp
trumank/DRG-Mods
2febc879f2ffe83498ac913c114d0e933427e93e
[ "MIT" ]
9
2022-01-13T20:49:44.000Z
2022-03-27T22:56:48.000Z
Source/FSD/Private/PricingTier.cpp
trumank/DRG-Mods
2febc879f2ffe83498ac913c114d0e933427e93e
[ "MIT" ]
2
2021-07-10T20:05:42.000Z
2022-03-14T17:05:35.000Z
#include "PricingTier.h" UPricingTier::UPricingTier() { }
10
30
0.716667
trumank
898d1f2365821689c0ec9c60d958e3e96d98c21c
392
cpp
C++
cse419/LightOJ/1045/22419752_AC_0ms_0kB.cpp
cosmicray001/academic
6aa142baeba4bb1ad73b8669e37305ca0b5102a7
[ "MIT" ]
2
2020-09-02T12:07:47.000Z
2020-11-17T11:17:16.000Z
cse419/LightOJ/1045/22419752_AC_0ms_0kB.cpp
cosmicray001/academic
6aa142baeba4bb1ad73b8669e37305ca0b5102a7
[ "MIT" ]
null
null
null
cse419/LightOJ/1045/22419752_AC_0ms_0kB.cpp
cosmicray001/academic
6aa142baeba4bb1ad73b8669e37305ca0b5102a7
[ "MIT" ]
4
2020-08-11T14:23:34.000Z
2020-11-17T10:52:31.000Z
#include <bits/stdc++.h> #define le 1000006 using namespace std; double n[le]; void fnc(){ n[0] = 0.0; for(int i = 1; i < le; i++){ n[i] = n[i - 1] + log10(i * 1.0); } } int main(){ fnc(); int t, co = 0, a, b; for(scanf("%d", &t); t--; ){ scanf("%d %d", &a, &b); double ans = n[a] / log10(b * 1.0...
18.666667
50
0.464286
cosmicray001
89907c78d897e9941164f7d276c05d0f491e3d65
8,205
cpp
C++
ewsclient/ewsid.cpp
KrissN/akonadi-ews
05ce7e24547fbdb559de55dabda86d337716cfba
[ "RSA-MD" ]
122
2016-03-01T12:53:43.000Z
2021-11-06T21:14:21.000Z
ewsclient/ewsid.cpp
KrissN/akonadi-ews
05ce7e24547fbdb559de55dabda86d337716cfba
[ "RSA-MD" ]
54
2016-05-02T10:05:47.000Z
2022-02-01T18:10:38.000Z
ewsclient/ewsid.cpp
KrissN/akonadi-ews
05ce7e24547fbdb559de55dabda86d337716cfba
[ "RSA-MD" ]
17
2016-05-18T21:02:08.000Z
2022-01-27T20:33:26.000Z
/* This file is part of Akonadi EWS Resource Copyright (C) 2015-2017 Krzysztof Nowicki <krissn@op.pl> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of ...
29.945255
96
0.66362
KrissN
8990d6e45644bf48b8217099b86f8e58795e99d2
395
cpp
C++
C++/20-kth-root.cpp
ni30kp/sorting-algorithms
5d7a87bb377aad387980b71f97c2c80035a37152
[ "MIT" ]
null
null
null
C++/20-kth-root.cpp
ni30kp/sorting-algorithms
5d7a87bb377aad387980b71f97c2c80035a37152
[ "MIT" ]
null
null
null
C++/20-kth-root.cpp
ni30kp/sorting-algorithms
5d7a87bb377aad387980b71f97c2c80035a37152
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; #define ll long long int void binary_search_root(ll n, ll k){ // mid^k = n ll s = 0, e = n, mid, ans; while(s<=e){ mid = (s+e)/2; if(pow(mid,k)<=n){ ans = mid; s = mid + 1; }else e = mid - 1; } cout<<ans<<endl; } int main(){ ll t, a, b; cin>>t; whi...
11.285714
36
0.518987
ni30kp
89986f984914a511d9c52b6a5a3592f6c4ffd3cb
16,981
cpp
C++
MAME4all/trunk/src/drivers/vaportra.cpp
lofunz/mieme
4226c2960b46121ec44fa8eab9717d2d644bff04
[ "Unlicense" ]
51
2015-11-22T14:53:28.000Z
2021-12-14T07:17:42.000Z
MAME4all/trunk/src/drivers/vaportra.cpp
lofunz/mieme
4226c2960b46121ec44fa8eab9717d2d644bff04
[ "Unlicense" ]
8
2018-01-14T07:19:06.000Z
2021-08-22T15:29:59.000Z
src/drivers/vaportra.cpp
raytlin/iMameAtariArcadeDuo
24adc56d1a6080822a6c9d1770ddbc607814373a
[ "Unlicense" ]
35
2017-02-15T09:39:00.000Z
2021-12-14T07:17:43.000Z
#include "../vidhrdw/vaportra.cpp" /*************************************************************************** Vapor Trail (World version) (c) 1989 Data East Corporation Vapor Trail (USA version) (c) 1989 Data East USA Kuhga (Japanese version) (c) 1989 Data East Corporation Emulation by Brya...
33.361493
156
0.636358
lofunz
89a3ff6cc4407c6d27a5f041c30f407aa319adb9
1,719
cpp
C++
CppPrimer/CppPrimer-Exercises/CppPrimer-Ch10/Exercise10.32.cpp
alaxion/Learning
4b12b1603419252103cd933fdbfc4b2faffb6d00
[ "MIT" ]
null
null
null
CppPrimer/CppPrimer-Exercises/CppPrimer-Ch10/Exercise10.32.cpp
alaxion/Learning
4b12b1603419252103cd933fdbfc4b2faffb6d00
[ "MIT" ]
null
null
null
CppPrimer/CppPrimer-Exercises/CppPrimer-Ch10/Exercise10.32.cpp
alaxion/Learning
4b12b1603419252103cd933fdbfc4b2faffb6d00
[ "MIT" ]
null
null
null
// Exercise10.32.cpp // Ad // Rewrite the bookstore program from p.24 using a vector to hold the transactions and various algorithms to do the processing. // Use sort with your compareIsbn function to arrange the transactions in order, and then use find and accumulate to do the sum. #include <iostream> #include <vecto...
28.65
128
0.542176
alaxion
89a4db47365eebe3db864a7b8c50ce47208a8f33
870
hpp
C++
src/include/Snake.hpp
iluvpy/Minigames
f04dc78a24368f9a6021f02584c1989204ba10b6
[ "MIT" ]
null
null
null
src/include/Snake.hpp
iluvpy/Minigames
f04dc78a24368f9a6021f02584c1989204ba10b6
[ "MIT" ]
null
null
null
src/include/Snake.hpp
iluvpy/Minigames
f04dc78a24368f9a6021f02584c1989204ba10b6
[ "MIT" ]
null
null
null
#pragma once #include <vector> #include <utility> #include "Renderer.hpp" #include "Types.hpp" #include "Structs.hpp" #include "InputHandler.hpp" #define SNAKE_COLOR Color(0, 180, 40) #define SNAKE_MOVEMENT_INTERVAL 0.25f // snake moves 1 tile each INTERVAL seconds #define SNAKE_HEAD_COLOR Color(0, 250, 40) // forw...
23.513514
96
0.709195
iluvpy
89a577ecd96a78fb12c4b6f09ac0857f51be8676
701
cpp
C++
class_and_object/static_member_function.cpp
MIXALER/cpp
155ecf5113d49ddf2390765e314cceaababdabee
[ "MIT" ]
1
2021-04-02T10:11:16.000Z
2021-04-02T10:11:16.000Z
class_and_object/static_member_function.cpp
MIXALER/learn_cpp
155ecf5113d49ddf2390765e314cceaababdabee
[ "MIT" ]
null
null
null
class_and_object/static_member_function.cpp
MIXALER/learn_cpp
155ecf5113d49ddf2390765e314cceaababdabee
[ "MIT" ]
null
null
null
// // Created by yuanh on 2021/4/2. // #include <iostream> #include <string> using namespace std; //静态成员函数 //所有对象都共享同一个函数 //静态成员函数只能访问静态成员变量 class Person { public: static void function() { age = 100; //静态成员函数可以访问静态成员变量 // height = 200; //静态成员函数不可以访问非静态成员变量,无法区分到底是哪个对象的 height cout<< "...
13.745098
64
0.592011
MIXALER
89a9935546d6c9cd461f857fbe40460d8f3b16dd
1,720
cpp
C++
aws-cpp-sdk-iotevents-data/source/model/DeleteDetectorRequest.cpp
Nexuscompute/aws-sdk-cpp
e7ef485e46e6962c9e084b8c9b104c1bfcceaf26
[ "Apache-2.0" ]
1
2022-01-05T18:20:03.000Z
2022-01-05T18:20:03.000Z
aws-cpp-sdk-iotevents-data/source/model/DeleteDetectorRequest.cpp
Nexuscompute/aws-sdk-cpp
e7ef485e46e6962c9e084b8c9b104c1bfcceaf26
[ "Apache-2.0" ]
null
null
null
aws-cpp-sdk-iotevents-data/source/model/DeleteDetectorRequest.cpp
Nexuscompute/aws-sdk-cpp
e7ef485e46e6962c9e084b8c9b104c1bfcceaf26
[ "Apache-2.0" ]
1
2021-11-09T12:02:58.000Z
2021-11-09T12:02:58.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/iotevents-data/model/DeleteDetectorRequest.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespac...
19.111111
76
0.738953
Nexuscompute
89ab41851e981d2ba6d7cacd209da44f9e6e201d
548
cpp
C++
pythagoriantriplet.cpp
yami0307/cpp-practice
1945a6eaad22de487ac9926b2fbe67d50df9c05a
[ "MIT" ]
null
null
null
pythagoriantriplet.cpp
yami0307/cpp-practice
1945a6eaad22de487ac9926b2fbe67d50df9c05a
[ "MIT" ]
null
null
null
pythagoriantriplet.cpp
yami0307/cpp-practice
1945a6eaad22de487ac9926b2fbe67d50df9c05a
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; bool pt(int a, int b, int c){ int x = max(a,max(b,c)); int y,z; if(x==a){ y=b; z=c; } else if(x==b){ y=a; z=c; } else{ y=a; z=b; } if((x^2)==((y^2)+(z^2))){ return true; } els...
15.657143
49
0.406934
yami0307
89ab985627cbc2e8704043850313f705eaca8731
520
hpp
C++
kharma/prob/bondi.hpp
vedantdhruv96/kharma
1159aa53d060087e1723166ceb922bd634c14a97
[ "BSD-3-Clause" ]
7
2021-07-16T02:14:32.000Z
2021-12-25T22:51:45.000Z
kharma/prob/bondi.hpp
vedantdhruv96/kharma
1159aa53d060087e1723166ceb922bd634c14a97
[ "BSD-3-Clause" ]
17
2020-05-04T15:49:40.000Z
2022-03-29T22:42:39.000Z
kharma/prob/bondi.hpp
vedantdhruv96/kharma
1159aa53d060087e1723166ceb922bd634c14a97
[ "BSD-3-Clause" ]
6
2021-12-01T23:25:13.000Z
2022-03-31T06:03:48.000Z
/* * Bondi flow functions */ #include "decs.hpp" #include "gr_coordinates.hpp" #include <parthenon/parthenon.hpp> /** * Initialization of a Bondi problem with specified sonic point, BH mdot, and horizon radius * TODO this can/should be just mdot (and the grid ofc), if this problem is to be used as anything mor...
23.636364
115
0.736538
vedantdhruv96
89abdc24be80eeaca63169b24912f9cf3bce8325
230
cpp
C++
ares/sfc/coprocessor/dip/dip.cpp
moon-chilled/Ares
909fb098c292f8336d0502dc677050312d8b5c81
[ "0BSD" ]
7
2020-07-25T11:44:39.000Z
2021-01-29T13:21:31.000Z
ares/sfc/coprocessor/dip/dip.cpp
jchw-forks/ares
d78298a1e95fd0ce65feabfd4f13b60e31210a7a
[ "0BSD" ]
null
null
null
ares/sfc/coprocessor/dip/dip.cpp
jchw-forks/ares
d78298a1e95fd0ce65feabfd4f13b60e31210a7a
[ "0BSD" ]
1
2021-03-22T16:15:30.000Z
2021-03-22T16:15:30.000Z
//DIP switch //used for Nintendo Super System emulation DIP dip; #include "serialization.cpp" auto DIP::power() -> void { } auto DIP::read(uint24, uint8) -> uint8 { return value; } auto DIP::write(uint24, uint8) -> void { }
14.375
42
0.669565
moon-chilled
89b24335a16ebc58f011abb418389508f322c614
8,116
cc
C++
tensorflow/lite/kernels/gradient/bcast_grad_args_test.cc
massimobernava/tensorflow
0a68ff9a205e14dd80fa0c51a0f6954d965f825e
[ "Apache-2.0" ]
1
2022-03-29T11:36:50.000Z
2022-03-29T11:36:50.000Z
tensorflow/lite/kernels/gradient/bcast_grad_args_test.cc
massimobernava/tensorflow
0a68ff9a205e14dd80fa0c51a0f6954d965f825e
[ "Apache-2.0" ]
1
2020-08-01T05:40:12.000Z
2020-08-01T05:40:12.000Z
tensorflow/lite/kernels/gradient/bcast_grad_args_test.cc
massimobernava/tensorflow
0a68ff9a205e14dd80fa0c51a0f6954d965f825e
[ "Apache-2.0" ]
null
null
null
/* Copyright 2021 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
33.676349
80
0.679276
massimobernava
89b24a1bbc3e38d0edbf9f39423e9c61bbecdfb1
5,661
cpp
C++
src/Core/Bindings/obe/System/Exceptions/Exceptions.cpp
BestEggplant/ObEngine
4543ff027cc05de0eddede8f55b28f0cf1138189
[ "MIT" ]
1
2020-07-23T14:23:59.000Z
2020-07-23T14:23:59.000Z
src/Core/Bindings/obe/System/Exceptions/Exceptions.cpp
BestEggplant/ObEngine
4543ff027cc05de0eddede8f55b28f0cf1138189
[ "MIT" ]
null
null
null
src/Core/Bindings/obe/System/Exceptions/Exceptions.cpp
BestEggplant/ObEngine
4543ff027cc05de0eddede8f55b28f0cf1138189
[ "MIT" ]
null
null
null
#include <Bindings/obe/System/Exceptions/Exceptions.hpp> #include <System/Exceptions.hpp> #include <Bindings/Config.hpp> namespace obe::System::Exceptions::Bindings { void LoadClassInvalidMouseButtonEnumValue(sol::state_view state) { sol::table ExceptionsNamespace = state["obe"...
54.432692
91
0.615262
BestEggplant
89b43f11f561dfcbd669008fdd556a9a850a25b4
1,552
cpp
C++
src/chapter_06_algorithms_and_data_structures/problem_053_average_rating_of_movies.cpp
rturrado/TheModernCppChallenge
648284fb417b6aaa43c21ea2b12a5a21c8cb9269
[ "MIT" ]
null
null
null
src/chapter_06_algorithms_and_data_structures/problem_053_average_rating_of_movies.cpp
rturrado/TheModernCppChallenge
648284fb417b6aaa43c21ea2b12a5a21c8cb9269
[ "MIT" ]
null
null
null
src/chapter_06_algorithms_and_data_structures/problem_053_average_rating_of_movies.cpp
rturrado/TheModernCppChallenge
648284fb417b6aaa43c21ea2b12a5a21c8cb9269
[ "MIT" ]
null
null
null
#include "chapter_06_algorithms_and_data_structures/problem_053_average_rating_of_movies.h" #include <algorithm> // sort #include <fmt/ostream.h> #include <iostream> // cout #include <numeric> // accumulate double average_rating(ratings rs) { if (rs.empty()) { return double{ 0.0 }; } std::sor...
32.333333
119
0.632732
rturrado
89b71d41119dd061bc200f3655c7d22d8acee956
3,928
cpp
C++
lib/malloy/controller.cpp
madmongo1/malloy
69e383d319d4d090888cab21b0c33e3c1499d8ab
[ "MIT" ]
null
null
null
lib/malloy/controller.cpp
madmongo1/malloy
69e383d319d4d090888cab21b0c33e3c1499d8ab
[ "MIT" ]
null
null
null
lib/malloy/controller.cpp
madmongo1/malloy
69e383d319d4d090888cab21b0c33e3c1499d8ab
[ "MIT" ]
null
null
null
#include "controller.hpp" #include "listener.hpp" #include "http/routing/router.hpp" #if MALLOY_FEATURE_TLS #include "tls/manager.hpp" #endif #include <boost/asio/io_context.hpp> #include <spdlog/logger.h> #include <spdlog/sinks/stdout_color_sinks.h> #include <memory> using namespace malloy::server; controller:...
25.506494
122
0.611507
madmongo1
89b949d78083f7185cdef1d6a567145a6e243bc8
1,364
cpp
C++
CodeForces/Complete/100-199/138A-LiteratureLesson.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
36
2019-12-27T08:23:08.000Z
2022-01-24T20:35:47.000Z
CodeForces/Complete/100-199/138A-LiteratureLesson.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
10
2019-11-13T02:55:18.000Z
2021-10-13T23:28:09.000Z
CodeForces/Complete/100-199/138A-LiteratureLesson.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
53
2020-08-15T11:08:40.000Z
2021-10-09T15:51:38.000Z
#include <cstdio> #include <iostream> #include <string> #include <vector> int main(){ const int N = 4; long n, k; scanf("%ld %ld\n", &n, &k); std::string output = "aaaa"; for(int p = 0; p < n; p++){ std::vector<std::string> scheme(N, ""); for(int q = 0; q < N; q++){ std::s...
37.888889
127
0.461877
Ashwanigupta9125
89be7d99a1486533f4628c724031120f882506b4
759
cpp
C++
2020S/NCUTOJ/2020Sumer/STL/3.cpp
Magic-Xin/Luogu
d8f1b4461f33f946c0a9ce4d36f1e5369518b7a6
[ "MIT" ]
15
2020-10-08T06:59:38.000Z
2021-11-30T11:20:22.000Z
2020S/NCUTOJ/2020Sumer/STL/3.cpp
Magic-Xin/Luogu
d8f1b4461f33f946c0a9ce4d36f1e5369518b7a6
[ "MIT" ]
1
2022-03-12T01:00:59.000Z
2022-03-12T01:00:59.000Z
2020S/NCUTOJ/2020Sumer/STL/3.cpp
Magic-Xin/Luogu
d8f1b4461f33f946c0a9ce4d36f1e5369518b7a6
[ "MIT" ]
2
2021-02-08T11:30:20.000Z
2021-05-31T06:47:34.000Z
#include <bits/stdc++.h> #define read(n) scanf("%d", &n) #define readd(n, m) scanf("%d%d", &n, &m) #define show(n) printf("%d ", n) #define mst(n, m) memset(n, m, sizeof n) using namespace std; int main() { int n, m, k; readd(n, m), read(k); int a[n+1][m+1], b[n+1][m+1]; mst(a, 0); mst(b, 0); f...
23.71875
55
0.374177
Magic-Xin
89ccbfcfc3d462d21484bcab609fefa3b248ef9e
5,786
cpp
C++
pxr/base/lib/tf/testenv/testTfPyFunction.cpp
marsupial/USD
98d49911893d59be5a9904a29e15959affd530ec
[ "BSD-3-Clause" ]
9
2021-03-31T21:23:48.000Z
2022-03-05T09:29:27.000Z
pxr/base/lib/tf/testenv/testTfPyFunction.cpp
marsupial/USD
98d49911893d59be5a9904a29e15959affd530ec
[ "BSD-3-Clause" ]
null
null
null
pxr/base/lib/tf/testenv/testTfPyFunction.cpp
marsupial/USD
98d49911893d59be5a9904a29e15959affd530ec
[ "BSD-3-Clause" ]
1
2021-04-15T16:18:55.000Z
2021-04-15T16:18:55.000Z
// // Copyright 2016 Pixar // // Licensed under the Apache License, Version 2.0 (the "Apache License") // with the following modification; you may not use this file except in // compliance with the Apache License and the following modification to it: // Section 6. Trademarks. is deleted and replaced with: // // 6. Trad...
38.065789
79
0.723816
marsupial
89d01d3a6aa8427dc534557bfa3afd70cb9a15a6
9,004
cpp
C++
src/student/archimedes/simulation.cpp
Tagglink/archimedes-principle
93a2ce101bc8f3ac2653da667887c8d36a6e86a7
[ "MIT" ]
null
null
null
src/student/archimedes/simulation.cpp
Tagglink/archimedes-principle
93a2ce101bc8f3ac2653da667887c8d36a6e86a7
[ "MIT" ]
null
null
null
src/student/archimedes/simulation.cpp
Tagglink/archimedes-principle
93a2ce101bc8f3ac2653da667887c8d36a6e86a7
[ "MIT" ]
null
null
null
#include "simulation.h" #include <iostream> #include <memory> #include <string> #include "SF_src/DemoHandler.h" #include "student/archimedes/pointmass.h" #include "student/archimedes/slicer.h" #include "student/geometry.h" #include "student/plane.h" #include "student/vector.h" namespace { template <typename T> auto...
30.418919
78
0.618725
Tagglink
89d6e545ff9e427356cd0662d6158c3fda9ee8f5
30,122
cpp
C++
admin/snapin/certentp/templatev2requestpropertypage.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
admin/snapin/certentp/templatev2requestpropertypage.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
admin/snapin/certentp/templatev2requestpropertypage.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, 2000-2002. // // File: TemplateV2RequestPropertyPage.cpp // // Contents: Implementation of CTemplateV2RequestPropertyPage // //--------------------------...
35.689573
109
0.599163
npocmaka
89da23d68c86eb8b7585cf1c1c2948a0552388b9
380
cpp
C++
DeckBuildCardGame/Model/Cards/Card/Duchy.cpp
eagle-shop/DeckBuildCardGame
77cc0b9a4feae34b2f2e36053449a2e2ec66b877
[ "MIT" ]
1
2017-11-19T09:22:10.000Z
2017-11-19T09:22:10.000Z
DeckBuildCardGame/Model/Cards/Card/Duchy.cpp
eagle-shop/DeckBuildCardGame
77cc0b9a4feae34b2f2e36053449a2e2ec66b877
[ "MIT" ]
null
null
null
DeckBuildCardGame/Model/Cards/Card/Duchy.cpp
eagle-shop/DeckBuildCardGame
77cc0b9a4feae34b2f2e36053449a2e2ec66b877
[ "MIT" ]
null
null
null
#include <iostream> #include "General.hpp" #include "Duchy.hpp" using namespace std; Duchy::Duchy(){ cout << "create " << DUCHY << endl; } Duchy::~Duchy(){ cout << "delete " << DUCHY << endl; } ActionDone Duchy::action(PLAYERCARD_CONCRETECARD_IO *p){ cout << "action " << DUCHY << endl; return ACTION...
16.521739
56
0.623684
eagle-shop
89dbdefbced03df0e353c7fb85f738d0c106f30b
17
cpp
C++
Code/Map1.cpp
isaaccalvis/NinjaCockatoo_Engine
3c82e0b85e89041eb91bf49ff25ebc5c02aad1a1
[ "MIT" ]
null
null
null
Code/Map1.cpp
isaaccalvis/NinjaCockatoo_Engine
3c82e0b85e89041eb91bf49ff25ebc5c02aad1a1
[ "MIT" ]
null
null
null
Code/Map1.cpp
isaaccalvis/NinjaCockatoo_Engine
3c82e0b85e89041eb91bf49ff25ebc5c02aad1a1
[ "MIT" ]
1
2019-09-11T01:53:58.000Z
2019-09-11T01:53:58.000Z
#include "Map1.h"
17
17
0.705882
isaaccalvis
89df030912c113b3161e4f76e9d4c744279355a5
3,095
cpp
C++
src/algorithm/grin/AlgoCuckatoo31Cl.cpp
oldas1/Riner
492804079eb223e6d4ffd5f5f44283162eaf421b
[ "MIT" ]
null
null
null
src/algorithm/grin/AlgoCuckatoo31Cl.cpp
oldas1/Riner
492804079eb223e6d4ffd5f5f44283162eaf421b
[ "MIT" ]
null
null
null
src/algorithm/grin/AlgoCuckatoo31Cl.cpp
oldas1/Riner
492804079eb223e6d4ffd5f5f44283162eaf421b
[ "MIT" ]
null
null
null
#include "AlgoCuckatoo31Cl.h" #include <src/common/Endian.h> #include <src/common/OpenCL.h> #include <src/crypto/blake2.h> #include <src/pool/WorkCuckoo.h> namespace miner { AlgoCuckatoo31Cl::AlgoCuckatoo31Cl(AlgoConstructionArgs args) : terminate_(false), args_(std::move(args)) { for (auto &assignedDev...
34.775281
89
0.575121
oldas1
89e22dc4f41d5328002b5b1c645e6bdef784430e
3,981
cpp
C++
spine-cocos2dx/MBSpineFramework/cocos2d-x-3.17.2/cocos/scripting/js-bindings/manual/localstorage/js_bindings_system_functions.cpp
BowenCoder/spine-cocos2dx
cfac5100b78782b2d4ce84b472a435f46aff4da9
[ "MIT" ]
1
2022-02-14T01:34:02.000Z
2022-02-14T01:34:02.000Z
spine-cocos2dx/MBSpineFramework/cocos2d-x-3.17.2/cocos/scripting/js-bindings/manual/localstorage/js_bindings_system_functions.cpp
BowenCoder/spine-cocos2dx
cfac5100b78782b2d4ce84b472a435f46aff4da9
[ "MIT" ]
null
null
null
spine-cocos2dx/MBSpineFramework/cocos2d-x-3.17.2/cocos/scripting/js-bindings/manual/localstorage/js_bindings_system_functions.cpp
BowenCoder/spine-cocos2dx
cfac5100b78782b2d4ce84b472a435f46aff4da9
[ "MIT" ]
2
2019-07-02T05:35:25.000Z
2021-02-08T06:19:33.000Z
/**************************************************************************** Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. http://www.cocos2d-x.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal...
35.544643
83
0.682994
BowenCoder
89e7e1516a88ba308ff941138cefae6fc8efaca0
12,330
hpp
C++
include/GlobalNamespace/BeatmapObjectCallbackController.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/GlobalNamespace/BeatmapObjectCallbackController.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/GlobalNamespace/BeatmapObjectCallbackController.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: UnityEngine.MonoBehaviour #include "UnityEngine/MonoBehaviour.hpp" //...
57.083333
1,505
0.760341
darknight1050
89ec26f902c440f9e734c1e01b9daedad008941c
365
cpp
C++
C++/uva11799.cpp
MrinmoiHossain/Uva-Solution
85602085b7c8e1d4711e679b8f5636678459b2c5
[ "MIT" ]
1
2017-04-17T21:51:54.000Z
2017-04-17T21:51:54.000Z
C++/uva11799.cpp
MrinmoiHossain/Uva-Solution
85602085b7c8e1d4711e679b8f5636678459b2c5
[ "MIT" ]
1
2020-06-24T23:43:11.000Z
2020-06-24T23:43:11.000Z
C++/uva11799.cpp
MrinmoiHossain/Uva-Solution
85602085b7c8e1d4711e679b8f5636678459b2c5
[ "MIT" ]
2
2018-12-14T12:57:51.000Z
2020-01-03T09:00:07.000Z
//Accepted #include <iostream> #include <algorithm> using namespace std; int main(void) { int T, N; cin >> T; for(int i = 1; i <= T; i++){ cin >> N; int arr[N]; for(int j = 0; j < N; j++) cin >> arr[j]; sort(arr, arr + N); cout << "Case " << i << ": " <...
15.869565
59
0.416438
MrinmoiHossain
8853bab33221a99e8dfdf30f9b4c10c64719ab2b
2,828
hpp
C++
Viewer/libViewer/src/LogModel.hpp
ecmwf/ecflow
2498d0401d3d1133613d600d5c0e0a8a30b7b8eb
[ "Apache-2.0" ]
11
2020-08-07T14:42:45.000Z
2021-10-21T01:59:59.000Z
Viewer/libViewer/src/LogModel.hpp
CoollRock/ecflow
db61dddc84d3d2c7dd6af95fd799d717c6bc2a6d
[ "Apache-2.0" ]
10
2020-08-07T14:36:27.000Z
2022-02-22T06:51:24.000Z
Viewer/libViewer/src/LogModel.hpp
CoollRock/ecflow
db61dddc84d3d2c7dd6af95fd799d717c6bc2a6d
[ "Apache-2.0" ]
6
2020-08-07T14:34:38.000Z
2022-01-10T12:06:27.000Z
//============================================================================ // Copyright 2009-2020 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 privil...
31.076923
99
0.690948
ecmwf
88557623c208f2e0eff7e081b1323f6c4229ab72
6,385
cc
C++
chatbot/src/model/QueryIntentsResult.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
chatbot/src/model/QueryIntentsResult.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
chatbot/src/model/QueryIntentsResult.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
69
2018-01-22T09:45:52.000Z
2022-03-28T07:58:38.000Z
/* * Copyright 2009-2017 Alibaba Cloud All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required...
39.90625
97
0.750039
iamzken
8857e23c99edad4d1300b38f7ecf7c0a7d24c45e
31
cpp
C++
RenderSystemDX12/RenderDeviceDX12.cpp
dmhud/asteroids_d3d12
3ecbb78d40408ac9e60a38ed59fc53f30fe86640
[ "Apache-2.0" ]
null
null
null
RenderSystemDX12/RenderDeviceDX12.cpp
dmhud/asteroids_d3d12
3ecbb78d40408ac9e60a38ed59fc53f30fe86640
[ "Apache-2.0" ]
null
null
null
RenderSystemDX12/RenderDeviceDX12.cpp
dmhud/asteroids_d3d12
3ecbb78d40408ac9e60a38ed59fc53f30fe86640
[ "Apache-2.0" ]
null
null
null
#include "RenderDeviceDX12.h"
15.5
30
0.774194
dmhud
8859996be0134cd0138ae0a69d4713bd0fb147f8
2,054
cc
C++
code/render/coregraphics/d3d9/d3d9memorytextureloader.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
67
2015-03-30T19:56:16.000Z
2022-03-11T13:52:17.000Z
code/render/coregraphics/d3d9/d3d9memorytextureloader.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
5
2015-04-15T17:17:33.000Z
2016-02-11T00:40:17.000Z
code/render/coregraphics/d3d9/d3d9memorytextureloader.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
34
2015-03-30T15:08:00.000Z
2021-09-23T05:55:10.000Z
#include "stdneb.h" #include "coregraphics/pixelformat.h" #include "coregraphics/streamtextureloader.h" #include "coregraphics/texture.h" #include "coregraphics/renderdevice.h" #include "MemoryTextureLoader.h" #include "win360/d3d9types.h" using namespace Win360; using namespace Resources; namespace Direct3D9 { __Imp...
28.929577
157
0.703505
gscept
885f839d8c306b52a4b4704a0374234a9b1fed1b
1,365
cpp
C++
modules/cuda/src/MetaObject/cuda/MemoryBlock.cpp
dtmoodie/MetaObject
8238d143d578ff9c0c6506e7e627eca15e42369e
[ "MIT" ]
2
2017-10-26T04:41:49.000Z
2018-02-09T05:12:19.000Z
modules/cuda/src/MetaObject/cuda/MemoryBlock.cpp
dtmoodie/MetaObject
8238d143d578ff9c0c6506e7e627eca15e42369e
[ "MIT" ]
null
null
null
modules/cuda/src/MetaObject/cuda/MemoryBlock.cpp
dtmoodie/MetaObject
8238d143d578ff9c0c6506e7e627eca15e42369e
[ "MIT" ]
3
2017-01-08T21:09:48.000Z
2018-02-10T04:27:32.000Z
#include "MemoryBlock.hpp" #include "common.hpp" #include <MetaObject/logging/logging.hpp> #include <cuda_runtime_api.h> namespace mo { namespace cuda { uint8_t* CUDA::allocate(const uint64_t size, const int32_t) { void* ptr = nullptr; cudaError_t err = cudaMalloc(&ptr...
31.022727
102
0.594139
dtmoodie
8860b1c250edf88cf44c6643121aa48a555eb1bc
216
cpp
C++
C++/varConsDemo.cpp
bhupendpatil/Practice
9663b3f41e359787cbbd04aedb3db3c605c6ec8e
[ "MIT" ]
1
2020-12-23T06:22:29.000Z
2020-12-23T06:22:29.000Z
C++/varConsDemo.cpp
bhupendpatil/Practice
9663b3f41e359787cbbd04aedb3db3c605c6ec8e
[ "MIT" ]
8
2020-06-18T19:32:39.000Z
2022-03-11T11:37:07.000Z
C++/varConsDemo.cpp
bhupendpatil/Practice
9663b3f41e359787cbbd04aedb3db3c605c6ec8e
[ "MIT" ]
1
2021-01-19T00:16:34.000Z
2021-01-19T00:16:34.000Z
#include <iostream> using namespace std; int main(){ int var1 = 2; int var2{3}; const int var3 = 4; const int var4{5}; cout << var1 << endl << var2 << endl << var3 << endl << var4 << endl; return 0; }
15.428571
71
0.574074
bhupendpatil
8864e9c87b6fef03e5eb2da97637472364ac2133
992
cpp
C++
game/friend/friend.cpp
ooeyusea/game
2ebac104e0e0c4281b025b4ad32f8c3b06bc54bd
[ "MIT" ]
null
null
null
game/friend/friend.cpp
ooeyusea/game
2ebac104e0e0c4281b025b4ad32f8c3b06bc54bd
[ "MIT" ]
null
null
null
game/friend/friend.cpp
ooeyusea/game
2ebac104e0e0c4281b025b4ad32f8c3b06bc54bd
[ "MIT" ]
1
2019-07-04T03:24:22.000Z
2019-07-04T03:24:22.000Z
#include "friend.h" #include "initializor.h" #include "XmlReader.h" #include "servernode.h" #include <thread> #include "mysqlmgr.h" #include "object_holder.h" #include "dbdefine.h" #define DEFAULT_POOL_SIZE (1024 * 1024) #define DEFAULT_BATCH (8 * 1024) Friend g_friend; Friend::Friend() { InitializorMgr::Instance()...
19.45098
89
0.663306
ooeyusea
886c5dd11b91eb8d074c86089613864ccded8b40
5,495
hpp
C++
compiler/int128.hpp
jb55/clay
db0bd2702ab0b6e48965cd85f8859bbd5f60e48e
[ "BSD-2-Clause" ]
185
2015-01-04T09:33:17.000Z
2022-03-18T04:53:38.000Z
compiler/int128.hpp
Lencof/clay
14939b88388eff73c8881dfd7f5a5dff5a7e8f91
[ "BSD-2-Clause" ]
7
2015-03-22T06:13:42.000Z
2015-12-28T19:07:24.000Z
compiler/int128.hpp
Lencof/clay
14939b88388eff73c8881dfd7f5a5dff5a7e8f91
[ "BSD-2-Clause" ]
20
2015-01-09T22:24:46.000Z
2022-03-18T04:54:59.000Z
#pragma once #include "clay.hpp" // // int128 type // #if defined(__GNUC__) && defined(_INT128_DEFINED) namespace clay { typedef __int128 clay_int128; typedef unsigned __int128 clay_uint128; } //#elif (defined(__clang__)) //typedef __int128_t clay_int128; //typedef __uint128_t clay_uint128; #else namespace cl...
35.681818
110
0.711192
jb55
88741b18c04ba9fc6944452527db1ca0f14dc15c
2,521
cpp
C++
napi/algorithms/onedirection.cpp
graeme-hill/snakebot
21059e4b5e3153ada5e74ba2e1331c10b5142b2f
[ "MIT", "Unlicense" ]
8
2018-06-26T05:42:17.000Z
2021-10-20T23:19:20.000Z
napi/algorithms/onedirection.cpp
graeme-hill/snakebot
21059e4b5e3153ada5e74ba2e1331c10b5142b2f
[ "MIT", "Unlicense" ]
null
null
null
napi/algorithms/onedirection.cpp
graeme-hill/snakebot
21059e4b5e3153ada5e74ba2e1331c10b5142b2f
[ "MIT", "Unlicense" ]
5
2019-06-01T15:34:07.000Z
2022-02-12T06:10:16.000Z
#include "onedirection.hpp" #include "cautious.hpp" #include "../movement.hpp" #include "../astar.hpp" #include <functional> #include <unordered_map> #include <sstream> std::unordered_map<std::string, bool> OneDirection::_finishMap; OneDirection::OneDirection(Direction direction) : _direction(direction) { } Metadat...
28.977011
125
0.666799
graeme-hill
8877c34c48793ae498f98af42734b6c2828c2c36
899
cc
C++
src/application/transport/tcp_receiver.cc
ZiruiOu/miniTCP
9d89fd6bf462cb9dbbe406f9bae61f2c1f05481a
[ "MIT" ]
2
2021-12-10T03:34:15.000Z
2022-03-22T12:03:47.000Z
src/application/transport/tcp_receiver.cc
ZiruiOu/miniTCP
9d89fd6bf462cb9dbbe406f9bae61f2c1f05481a
[ "MIT" ]
null
null
null
src/application/transport/tcp_receiver.cc
ZiruiOu/miniTCP
9d89fd6bf462cb9dbbe406f9bae61f2c1f05481a
[ "MIT" ]
null
null
null
#include <arpa/inet.h> #include <fcntl.h> #include <net/ethernet.h> #include <stdio.h> #include <string.h> #include <sys/stat.h> #include <sys/types.h> #include <unistd.h> int main(int argc, char *argv[]) { char server_ip[] = "10.102.1.2"; struct sockaddr_in server_addr, client_addr; socklen_t client_addrlen; ...
24.972222
73
0.700779
ZiruiOu
887c5da5873c1fd70248f9eab83fb32d18e17203
1,572
cpp
C++
src/cfile.cpp
joeferner/node-shark
88309cad7369781096b552eb36e1cdca2471bb42
[ "MIT" ]
44
2015-03-19T14:19:12.000Z
2022-02-19T17:34:08.000Z
src/cfile.cpp
joeferner/node-shark
88309cad7369781096b552eb36e1cdca2471bb42
[ "MIT" ]
null
null
null
src/cfile.cpp
joeferner/node-shark
88309cad7369781096b552eb36e1cdca2471bb42
[ "MIT" ]
9
2015-07-19T20:40:40.000Z
2021-02-06T18:21:49.000Z
/* cfile.c * capture_file GUI-independent manipulation * Vassilii Khachaturov <vassilii@tarunz.org> * * $Id: cfile.c 36881 2011-04-27 02:54:44Z guy $ * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 1998 Gerald Combs * * This program is free software; you can redis...
28.581818
78
0.679389
joeferner
887e7dc339c4fed9e2120b142ab3d28ad05d879b
6,981
cpp
C++
src/gfx/opengl/mg_buffer_texture.cpp
Magnutic/mg-engine
09862497bf99198281acc8227b135777491c58d3
[ "BSD-3-Clause" ]
null
null
null
src/gfx/opengl/mg_buffer_texture.cpp
Magnutic/mg-engine
09862497bf99198281acc8227b135777491c58d3
[ "BSD-3-Clause" ]
null
null
null
src/gfx/opengl/mg_buffer_texture.cpp
Magnutic/mg-engine
09862497bf99198281acc8227b135777491c58d3
[ "BSD-3-Clause" ]
null
null
null
//************************************************************************************************** // This file is part of Mg Engine. Copyright (c) 2020, Magnus Bergsten. // Mg Engine is made available under the terms of the 3-Clause BSD License. // See LICENSE.txt in the project's root directory. //*****************...
30.220779
100
0.529724
Magnutic
8880abbc556ddb6f7baa500a24ea40ae938650d3
426,038
cpp
C++
src/ints/bios.cpp
mediaexplorer74/dosbox-x
be9f94b740234f7813bf5a063a558cef9dc7f9a6
[ "MIT" ]
3
2022-02-20T11:06:29.000Z
2022-03-11T08:16:55.000Z
src/ints/bios.cpp
mediaexplorer74/dosbox-x
be9f94b740234f7813bf5a063a558cef9dc7f9a6
[ "MIT" ]
null
null
null
src/ints/bios.cpp
mediaexplorer74/dosbox-x
be9f94b740234f7813bf5a063a558cef9dc7f9a6
[ "MIT" ]
null
null
null
/* * Copyright (C) 2002-2021 The DOSBox Team * * 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 p...
41.079742
448
0.532506
mediaexplorer74
8885496f45395f9f445d05ab7a5c9ece4c225142
869
cpp
C++
3-1_aritmatika_nilai.cpp
ahfa92/cpp
bddd80ea5c6aca23c91bd6693bb32da06e67cbd2
[ "MIT" ]
null
null
null
3-1_aritmatika_nilai.cpp
ahfa92/cpp
bddd80ea5c6aca23c91bd6693bb32da06e67cbd2
[ "MIT" ]
null
null
null
3-1_aritmatika_nilai.cpp
ahfa92/cpp
bddd80ea5c6aca23c91bd6693bb32da06e67cbd2
[ "MIT" ]
null
null
null
#include <stdio.h> #include <conio.h> #include <iostream.h> main() { int a,b,c,d; float hsl1,hsl2,hsl3,hsl4,total; cout <<" Masukkan Nilai Absen :";cin>>a; cout <<" Masukkan Nilai Tugas :";cin>>b; cout <<" Masukkan Nilai UTS :";cin>>c; cout <<" Masukkan Nilai UAS :";cin>>d; hsl1 = a * 20 / 100; hsl2 =...
28.966667
55
0.469505
ahfa92
888f6a839a74c4b69d629f4f916936896b1a90bf
659
cpp
C++
src/compete/hackerrank/sherlock-and-array.cpp
kinshuk4/algorithm-cpp
4cd81539399d1e745c55625a68b399248d25af66
[ "MIT" ]
null
null
null
src/compete/hackerrank/sherlock-and-array.cpp
kinshuk4/algorithm-cpp
4cd81539399d1e745c55625a68b399248d25af66
[ "MIT" ]
null
null
null
src/compete/hackerrank/sherlock-and-array.cpp
kinshuk4/algorithm-cpp
4cd81539399d1e745c55625a68b399248d25af66
[ "MIT" ]
null
null
null
//sherlock-and-array.cpp //Sherlock and Array #include<iostream> #include<cstring> using namespace std; int a[100000], sum[100000]; int main() { int t; cin >> t; while (t--) { int n; cin >> n; memset(sum, 0, sizeof(sum)); for (int i = 0; i < n; i++) { cin >> a[i]; if (i == 0) sum[i] = a[i]; el...
14.977273
42
0.459788
kinshuk4
888fb1d76408eae26b970cbbbc21976252d06c8a
6,908
cc
C++
src/web_server/old/jobs.cc
varqox/sim
b115a4e858dda1288917243e511751b835c28482
[ "MIT" ]
12
2017-11-05T21:02:58.000Z
2022-03-28T23:11:51.000Z
src/web_server/old/jobs.cc
varqox/sim
b115a4e858dda1288917243e511751b835c28482
[ "MIT" ]
11
2017-01-05T18:11:41.000Z
2019-11-01T12:40:55.000Z
src/web_server/old/jobs.cc
krzyk240/sim
b115a4e858dda1288917243e511751b835c28482
[ "MIT" ]
6
2016-12-25T11:22:34.000Z
2020-10-20T16:03:51.000Z
#include "sim/contests/contest.hh" #include "sim/jobs/utils.hh" #include "sim/problems/permissions.hh" #include "src/web_server/old/sim.hh" using sim::jobs::Job; using sim::problems::Problem; using sim::submissions::Submission; using sim::users::User; using std::optional; using std::string; namespace web_server::old ...
33.697561
95
0.624204
varqox
889006ef3f26eaf8d41bc9814206a2a2cc9e7338
3,394
cc
C++
src/repl/executionengine.cc
k3v/dfx-and-more
df435f624e78ad3b9c86f8b689b76b726f7883b2
[ "MIT" ]
2
2017-06-08T18:20:03.000Z
2017-06-10T19:21:36.000Z
src/repl/executionengine.cc
furryfaust/dfx-and-more
df435f624e78ad3b9c86f8b689b76b726f7883b2
[ "MIT" ]
null
null
null
src/repl/executionengine.cc
furryfaust/dfx-and-more
df435f624e78ad3b9c86f8b689b76b726f7883b2
[ "MIT" ]
null
null
null
#include "dfxam.h" using namespace dfxam; repl::Function::Function(std::string name, ast::Expression* expr) : name(name), expr(expr) {} repl::Function::Function(ast::Assignment* a) { ast::Expression* ident = a->getDeclaration()->getExpression(); if (ast::Function* func = dynamic_cast<ast::Function*>(ide...
24.594203
82
0.605775
k3v
88905f97d492bf7cb196386d653ddc102879940a
14,166
cpp
C++
third_party/virtualbox/src/libs/xpcom18a4/xpcom/io/nsLinebreakConverter.cpp
Fimbure/icebox-1
0b81992a53e1b410955ca89bdb6f8169d6f2da86
[ "MIT" ]
521
2019-03-29T15:44:08.000Z
2022-03-22T09:46:19.000Z
third_party/virtualbox/src/libs/xpcom18a4/xpcom/io/nsLinebreakConverter.cpp
Fimbure/icebox-1
0b81992a53e1b410955ca89bdb6f8169d6f2da86
[ "MIT" ]
30
2019-06-04T17:00:49.000Z
2021-09-08T20:44:19.000Z
third_party/virtualbox/src/libs/xpcom18a4/xpcom/io/nsLinebreakConverter.cpp
Fimbure/icebox-1
0b81992a53e1b410955ca89bdb6f8169d6f2da86
[ "MIT" ]
99
2019-03-29T16:04:13.000Z
2022-03-28T16:59:34.000Z
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the Lic...
28.560484
132
0.567627
Fimbure
889ae23c9eaf7124a0cbc221bcbcc785a915a651
723
cpp
C++
cl_dll/in_camera.cpp
edgarbarney/halflife-planckepoch
630e7066d8bf260783eaea7341f3c84fb87d69dd
[ "Unlicense" ]
3
2021-08-08T14:22:11.000Z
2022-02-02T03:08:17.000Z
cl_dll/in_camera.cpp
edgarbarney/halflife-planckepoch
630e7066d8bf260783eaea7341f3c84fb87d69dd
[ "Unlicense" ]
7
2021-02-27T01:55:27.000Z
2021-09-06T17:32:43.000Z
cl_dll/in_camera.cpp
edgarbarney/halflife-planckepoch
630e7066d8bf260783eaea7341f3c84fb87d69dd
[ "Unlicense" ]
6
2021-03-14T15:35:17.000Z
2022-01-10T22:53:15.000Z
//========= Copyright (c) 1996-2002, Valve LLC, All rights reserved. ============ // New clipping style camera - original idea by Xwider // Purpose: // // $NoKeywords: $ //============================================================================= #include "hud.h" #include "cl_util.h" #include "camera.h" #include "...
18.075
81
0.591978
edgarbarney
88a40c400b2d355b4ae772bddf4e84eb78c8c259
1,201
hpp
C++
include/sgpl/algorithm/execute_cpu.hpp
amlalejini/signalgp-lite
f4ebe7580dc3610fca0a51d1ad743b0dbc21b6e9
[ "MIT" ]
1
2021-07-21T23:34:45.000Z
2021-07-21T23:34:45.000Z
include/sgpl/algorithm/execute_cpu.hpp
amlalejini/signalgp-lite
f4ebe7580dc3610fca0a51d1ad743b0dbc21b6e9
[ "MIT" ]
9
2020-10-07T05:17:48.000Z
2021-11-16T21:08:14.000Z
include/sgpl/algorithm/execute_cpu.hpp
amlalejini/signalgp-lite
f4ebe7580dc3610fca0a51d1ad743b0dbc21b6e9
[ "MIT" ]
2
2020-10-10T19:36:31.000Z
2020-12-10T00:10:48.000Z
#pragma once #ifndef SGPL_ALGORITHM_EXECUTE_CPU_HPP_INCLUDE #define SGPL_ALGORITHM_EXECUTE_CPU_HPP_INCLUDE #include <tuple> #include "../hardware/Cpu.hpp" #include "../program/Program.hpp" #include "../spec/Spec.hpp" #include "../utility/EmptyType.hpp" #include "execute_core.hpp" namespace sgpl { template<typename...
21.836364
76
0.723564
amlalejini
88a468221244b97b14a732ac7772f388952e285a
182
cpp
C++
Codeforces/A_AB_Balance.cpp
anubhab-code/Competitive-Programming
de28cb7d44044b9e7d8bdb475da61e37c018ac35
[ "MIT" ]
null
null
null
Codeforces/A_AB_Balance.cpp
anubhab-code/Competitive-Programming
de28cb7d44044b9e7d8bdb475da61e37c018ac35
[ "MIT" ]
null
null
null
Codeforces/A_AB_Balance.cpp
anubhab-code/Competitive-Programming
de28cb7d44044b9e7d8bdb475da61e37c018ac35
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { int t; cin>>t; for(int i=0;i<t;i++) { string a; cin>>a; a[a.length() - 1] = a[0]; cout<<a<<endl; } return 0; }
12.133333
27
0.527473
anubhab-code
88a4f8b615dd73340f6297847658fe7a5ff75781
1,893
cc
C++
remoting/host/differ_block.cc
meego-tablet-ux/meego-app-browser
0f4ef17bd4b399c9c990a2f6ca939099495c2b9c
[ "BSD-3-Clause" ]
1
2015-10-12T09:14:22.000Z
2015-10-12T09:14:22.000Z
remoting/host/differ_block.cc
meego-tablet-ux/meego-app-browser
0f4ef17bd4b399c9c990a2f6ca939099495c2b9c
[ "BSD-3-Clause" ]
null
null
null
remoting/host/differ_block.cc
meego-tablet-ux/meego-app-browser
0f4ef17bd4b399c9c990a2f6ca939099495c2b9c
[ "BSD-3-Clause" ]
1
2020-11-04T07:22:28.000Z
2020-11-04T07:22:28.000Z
// Copyright (c) 2010 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 "remoting/host/differ_block.h" #include "build/build_config.h" #include "media/base/cpu_features.h" #include "remoting/host/differ_block_int...
31.55
77
0.681458
meego-tablet-ux
88a765367d9f6123c8a4a6f28abc47623683b10a
2,145
cpp
C++
src/caffe/layers/moving_normalize_layer.cpp
Rashomon5487/caffe-windows
a136724edbd0f86bd66a5b0eb7043af33dbf1c8b
[ "BSD-2-Clause" ]
1,617
2015-04-25T14:02:45.000Z
2022-03-20T09:54:40.000Z
src/caffe/layers/moving_normalize_layer.cpp
he2016012996/caffe-windows
967eedf25009e334b7f6f933bb5e17aaaff5bef6
[ "BSD-2-Clause" ]
319
2015-02-25T08:40:47.000Z
2022-03-21T04:36:06.000Z
src/caffe/layers/moving_normalize_layer.cpp
he2016012996/caffe-windows
967eedf25009e334b7f6f933bb5e17aaaff5bef6
[ "BSD-2-Clause" ]
834
2015-04-25T14:02:23.000Z
2022-03-16T17:56:55.000Z
#include <algorithm> #include <vector> #include <cmath> #include "caffe/layer.hpp" #include "caffe/util/math_functions.hpp" #include "caffe/layers/moving_normalize_layer.hpp" namespace caffe { #define sign(x) (Dtype(0) < (x)) - ((x) < Dtype(0)) template <typename Dtype> void MovingNormalizeLayer<Dtype>::LayerSetUp(...
30.642857
83
0.654545
Rashomon5487
88a85427d3aa1b26cb4b83be6141092807cb7d4a
375
cpp
C++
ITP1/q34.cpp
felixny/AizuOnline
8ff399d60077e08961845502d4a99244da580cd2
[ "MIT" ]
null
null
null
ITP1/q34.cpp
felixny/AizuOnline
8ff399d60077e08961845502d4a99244da580cd2
[ "MIT" ]
null
null
null
ITP1/q34.cpp
felixny/AizuOnline
8ff399d60077e08961845502d4a99244da580cd2
[ "MIT" ]
null
null
null
// ITP1_10_B #include <iostream> #include <cmath> #include <iomanip> using namespace std; int main(){ double a,b,th; double PI=3.1415926535; cin >> a >> b >> th; th *= PI/180; cout << fixed << setprecision(10); cout << 0.5*a*b*sin(th) << endl; cout << a +b +sqrt(a*a +b*b -2*a*b*cos(th)) ...
18.75
56
0.544
felixny
88a8a1811d83bba97c635fc492dfc91a167ecc92
13,736
cpp
C++
src/mia_tests/Maths/Matrix.tests.cpp
alexlukeneumann/mia
d6288eede3cded6913600ac8c6451b2345835028
[ "MIT" ]
null
null
null
src/mia_tests/Maths/Matrix.tests.cpp
alexlukeneumann/mia
d6288eede3cded6913600ac8c6451b2345835028
[ "MIT" ]
null
null
null
src/mia_tests/Maths/Matrix.tests.cpp
alexlukeneumann/mia
d6288eede3cded6913600ac8c6451b2345835028
[ "MIT" ]
null
null
null
#include <CppUnitTest.h> #include <Maths/Matrix.h> using namespace Microsoft::VisualStudio::CppUnitTestFramework; namespace mia { namespace tests { TEST_CLASS(MatrixTests) { static f32 constexpr c_Precision = 1e-3f; public: TEST_METHOD(CanConstruct_AZeroFilled...
31.218182
127
0.386357
alexlukeneumann
88aa8f8162f404c5188ab4c4539da22493499105
2,286
cpp
C++
PropertiesModule/propertypromise.cpp
HowCanidothis-zz/DevLib
d3d7f4ef7b2b3f1c9559ca6bd56743e5aeff06ee
[ "MIT" ]
null
null
null
PropertiesModule/propertypromise.cpp
HowCanidothis-zz/DevLib
d3d7f4ef7b2b3f1c9559ca6bd56743e5aeff06ee
[ "MIT" ]
null
null
null
PropertiesModule/propertypromise.cpp
HowCanidothis-zz/DevLib
d3d7f4ef7b2b3f1c9559ca6bd56743e5aeff06ee
[ "MIT" ]
1
2020-07-27T02:23:38.000Z
2020-07-27T02:23:38.000Z
#include "propertypromise.h" #include "propertiesscope.h" PropertyPromiseBase::PropertyPromiseBase() : m_isValid([]{ return false; }) { } PropertyPromiseBase::PropertyPromiseBase(const Name& name, const Name& scopeName) { Assign(name, scopeName); } PropertyPromiseBase::PropertyPromiseBase(Prope...
33.617647
127
0.629921
HowCanidothis-zz
88ac3d0c985c0048cd501bd6ff89bf72f1f6a6e0
2,184
cpp
C++
UNIX/UNIXDllLoader.cpp
ddag/mylib
f2275a5a32c6255b41b27036dc792192e85e392c
[ "MIT" ]
1
2019-03-13T14:28:05.000Z
2019-03-13T14:28:05.000Z
UNIX/UNIXDllLoader.cpp
ddag/mylib
f2275a5a32c6255b41b27036dc792192e85e392c
[ "MIT" ]
null
null
null
UNIX/UNIXDllLoader.cpp
ddag/mylib
f2275a5a32c6255b41b27036dc792192e85e392c
[ "MIT" ]
null
null
null
/************************************************************************** Copyright (c) 2003 Donald Gobin 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. Redistributions of source code must retain t...
42
115
0.71337
ddag
88ac6082b17ec78b8782f27c08a5fde37c9422fe
680
cpp
C++
doric-Qt/example/doric/DoricPanel.cpp
Xcoder1011/Doric
ad1a409ef5edb9de8f3e1544748a9fa8015760c8
[ "Apache-2.0" ]
116
2019-12-30T11:34:47.000Z
2022-03-31T05:32:58.000Z
doric-Qt/example/doric/DoricPanel.cpp
Xcoder1011/Doric
ad1a409ef5edb9de8f3e1544748a9fa8015760c8
[ "Apache-2.0" ]
9
2020-04-26T02:04:27.000Z
2022-01-26T07:31:01.000Z
doric-Qt/example/doric/DoricPanel.cpp
Xcoder1011/Doric
ad1a409ef5edb9de8f3e1544748a9fa8015760c8
[ "Apache-2.0" ]
18
2020-01-24T15:42:03.000Z
2021-12-28T08:17:36.000Z
#include "DoricPanel.h" #include "shader/DoricRootNode.h" DoricPanel::DoricPanel(QQmlApplicationEngine *qmlEngine, QQuickItem *quickItem) { mQmlEngine = qmlEngine; mQuickItem = quickItem; } DoricPanel::~DoricPanel() { delete mContext; } void DoricPanel::config(QString script, QString alias...
29.565217
71
0.725
Xcoder1011
88ad784fb7b8b10b813e7c0d3f3632958e7c28a0
861
cpp
C++
src/XImage.cpp
DashW/Cinder-XUI
c25a396349878b918e8842dfaebb52d6bd5fbc50
[ "MIT" ]
null
null
null
src/XImage.cpp
DashW/Cinder-XUI
c25a396349878b918e8842dfaebb52d6bd5fbc50
[ "MIT" ]
null
null
null
src/XImage.cpp
DashW/Cinder-XUI
c25a396349878b918e8842dfaebb52d6bd5fbc50
[ "MIT" ]
null
null
null
#include "cinder/app/App.h" #include "cinder/ImageIO.h" #include "XImage.h" using namespace ci; using namespace xui; XImageRef XImage::create() { XImageRef ref = XImageRef( new XImage() ); return ref; } XImageRef XImage::create( ci::XmlTree &xml ) { XImageRef ref = XImage::create(); ref->loadXml( xml ); r...
22.076923
115
0.667828
DashW
88b182521bc717f41872ea155cebb86332895115
841
hpp
C++
core/include/bind/emu/edi_yank.hpp
pit-ray/win-vind
7386f6f7528d015ce7f1a5ae230d6e63f9492df9
[ "MIT" ]
731
2020-05-07T06:22:59.000Z
2022-03-31T16:36:03.000Z
core/include/bind/emu/edi_yank.hpp
pit-ray/win-vind
7386f6f7528d015ce7f1a5ae230d6e63f9492df9
[ "MIT" ]
67
2020-07-20T19:46:42.000Z
2022-03-31T15:34:47.000Z
core/include/bind/emu/edi_yank.hpp
pit-ray/win-vind
7386f6f7528d015ce7f1a5ae230d6e63f9492df9
[ "MIT" ]
15
2021-01-29T04:49:11.000Z
2022-03-04T22:16:31.000Z
#ifndef _EDI_YANK_HPP #define _EDI_YANK_HPP #include "bind/binded_func_creator.hpp" namespace vind { namespace textanalyze { struct SelRes ; } //Copy struct YankHighlightText : public BindedFuncCreator<YankHighlightText> { explicit YankHighlightText() ; static vo...
27.129032
77
0.636147
pit-ray
88b6d5d42d5d976656c5104f16a125c44678b7f3
1,171
cpp
C++
src/runtime/PolicyRoundRobin.cpp
ixiDev/iris
23514bc1b724597afa880c67355d86efd3e37631
[ "BSD-3-Clause" ]
14
2020-10-15T16:02:24.000Z
2022-02-18T03:50:35.000Z
src/runtime/PolicyRoundRobin.cpp
ixiDev/iris
23514bc1b724597afa880c67355d86efd3e37631
[ "BSD-3-Clause" ]
7
2021-11-05T22:31:58.000Z
2022-03-25T19:56:53.000Z
src/runtime/PolicyRoundRobin.cpp
ixiDev/iris
23514bc1b724597afa880c67355d86efd3e37631
[ "BSD-3-Clause" ]
5
2020-12-13T02:42:22.000Z
2022-03-24T17:46:19.000Z
#include "PolicyRoundRobin.h" #include "Debug.h" #include "Device.h" #include "Scheduler.h" #include "Task.h" #include <stdlib.h> #include <time.h> #include <unistd.h> #include <limits.h> namespace brisbane { namespace rt { PolicyRoundRobin::PolicyRoundRobin(Scheduler* scheduler) { SetScheduler(scheduler); index_...
22.960784
77
0.649872
ixiDev
88b8dc1f5808560321c54ec6ea95566daafef330
9,685
cpp
C++
src/Game.cpp
hellopuza/Minecraft-plus-plus
a5acf2d43775c1bdbe9bf5123de4cf0a7ca17eb4
[ "MIT" ]
1
2021-11-06T17:30:34.000Z
2021-11-06T17:30:34.000Z
src/Game.cpp
hellopuza/Minecraft-plus-plus
a5acf2d43775c1bdbe9bf5123de4cf0a7ca17eb4
[ "MIT" ]
null
null
null
src/Game.cpp
hellopuza/Minecraft-plus-plus
a5acf2d43775c1bdbe9bf5123de4cf0a7ca17eb4
[ "MIT" ]
null
null
null
#include "Game.h" namespace puza { Game::Game() : winsizes_ ({ DEFAULT_WIDTH, DEFAULT_HEIGHT }), window_ (sf::VideoMode(winsizes_.x, winsizes_.y), TITLE_STRING), person_ (DEFAULT_CAMERA_FOV, static_cast<float>(winsizes_.x) / static_cast<float>(winsizes_.y), world...
39.210526
133
0.567579
hellopuza
88ba87e332ef0d567bfe63aa8b3f5c174e020607
313
cpp
C++
exampleStandalone/src/main.cpp
Ant1r/POF
b80210527454484f64003b7a09c8e7f9f8a09ac3
[ "BSD-2-Clause" ]
64
2015-03-26T00:03:34.000Z
2021-12-30T12:27:49.000Z
exampleStandalone/src/main.cpp
Ant1r/POF
b80210527454484f64003b7a09c8e7f9f8a09ac3
[ "BSD-2-Clause" ]
7
2015-03-27T09:26:29.000Z
2021-05-08T22:59:52.000Z
exampleStandalone/src/main.cpp
Ant1r/POF
b80210527454484f64003b7a09c8e7f9f8a09ac3
[ "BSD-2-Clause" ]
7
2015-07-02T11:00:36.000Z
2020-04-05T18:48:38.000Z
#include "ofMain.h" #include "testApp.h" //======================================================================== int main(int argc, char *argv[]){ ofSetupOpenGL(400, 400, OF_WINDOW); ofSetFrameRate(50); testApp *app = new testApp(); app->arguments = vector<string>(argv, argv + argc); ofRunApp(app); }
24.076923
74
0.517572
Ant1r
88bdaf18e502f03eb441f27df478c85350580762
463
hpp
C++
GD4GameWorld/Include/Book/Node/ShapeNode.hpp
Alex-Jay/2d_sfml_game
3872c92d1e17b68c2bf2c78f13e32b2bf80a605a
[ "MIT" ]
1
2018-12-18T12:00:57.000Z
2018-12-18T12:00:57.000Z
GD4GameWorld/Include/Book/Node/ShapeNode.hpp
Alex-Jay/k-arnage_2d_sfml_game
3872c92d1e17b68c2bf2c78f13e32b2bf80a605a
[ "MIT" ]
null
null
null
GD4GameWorld/Include/Book/Node/ShapeNode.hpp
Alex-Jay/k-arnage_2d_sfml_game
3872c92d1e17b68c2bf2c78f13e32b2bf80a605a
[ "MIT" ]
null
null
null
#pragma once #include "Structural/ResourceHolder.hpp" #include "Structural/ResourceIdentifiers.hpp" #include "Node/SceneNode.hpp" #include "SFML/Graphics/RectangleShape.hpp" class ShapeNode : public SceneNode { public: explicit ShapeNode(sf::Color fillColor); void setFillColor(sf::Color color); void setSize(int x,...
23.15
83
0.777538
Alex-Jay
88be75e9bec36d2e05d3b3fb040115a405250b19
310
hpp
C++
src/Qt5Gui/QTextObjectInterface.hpp
dafrito/luacxx
278bf8a7c6664536ea7f1dd1f59d35b6fb8d2dad
[ "MIT" ]
128
2015-01-07T19:47:09.000Z
2022-01-22T19:42:14.000Z
src/Qt5Gui/QTextObjectInterface.hpp
dafrito/luacxx
278bf8a7c6664536ea7f1dd1f59d35b6fb8d2dad
[ "MIT" ]
null
null
null
src/Qt5Gui/QTextObjectInterface.hpp
dafrito/luacxx
278bf8a7c6664536ea7f1dd1f59d35b6fb8d2dad
[ "MIT" ]
24
2015-01-07T19:47:10.000Z
2022-01-25T17:42:37.000Z
#ifndef luacxx_QTextObjectInterface_INCLUDED #define luacxx_QTextObjectInterface_INCLUDED #include "../stack.hpp" #include <QTextObjectInterface> LUA_METATABLE_BUILT(QTextObjectInterface) extern "C" int luaopen_Qt5Gui_QTextObjectInterface(lua_State* const); #endif // luacxx_QTextObjectInterface_INCLUDED
23.846154
69
0.854839
dafrito
88bfa9e8d2bbcdf1933cdda854f2a40c46256465
1,196
cpp
C++
leetcode/648. Replace Words/s1.cpp
zhuohuwu0603/leetcode_cpp_lzl124631x
6a579328810ef4651de00fde0505934d3028d9c7
[ "Fair" ]
787
2017-05-12T05:19:57.000Z
2022-03-30T12:19:52.000Z
leetcode/648. Replace Words/s1.cpp
aerlokesh494/LeetCode
0f2cbb28d5a9825b51a8d3b3a0ae0c30d7ff155f
[ "Fair" ]
8
2020-03-16T05:55:38.000Z
2022-03-09T17:19:17.000Z
leetcode/648. Replace Words/s1.cpp
aerlokesh494/LeetCode
0f2cbb28d5a9825b51a8d3b3a0ae0c30d7ff155f
[ "Fair" ]
247
2017-04-30T15:07:50.000Z
2022-03-30T09:58:57.000Z
// OJ: https://leetcode.com/problems/replace-words/ // Author: github.com/lzl124631x // Time: O(D + S) where D is size of all contents in dictionary, S is size of all contents in sentence // Space: O(D) class TrieNode { public: TrieNode *next[26] = {}; bool isWord = false; }; class Trie { private: TrieNode ...
27.813953
102
0.522575
zhuohuwu0603
88bfedee72477d207646b1385250a0285624a13a
852
cpp
C++
acm-template/4 Math/Euler.cpp
joshua-xia/noip
0603a75c7be6e9b21fcabbba4260153cf776c32f
[ "Apache-2.0" ]
null
null
null
acm-template/4 Math/Euler.cpp
joshua-xia/noip
0603a75c7be6e9b21fcabbba4260153cf776c32f
[ "Apache-2.0" ]
null
null
null
acm-template/4 Math/Euler.cpp
joshua-xia/noip
0603a75c7be6e9b21fcabbba4260153cf776c32f
[ "Apache-2.0" ]
null
null
null
#### 欧拉函数打表 O(nlog(n)) ``` const int maxn = 1e6+100; int phi[maxn],Prime[maxn]; void init2(int n){ for(int i = 1;i <= n; ++i) phi[i] = i; for(int i = 2;i <= n; ++i){ if(i == phi[i]){ for(int j = i; j <= n; j += i) phi[j] = phi[j]/i*(i-1); } } } ``` 线性筛 O(n) ``` const int maxn = 1e6+100; b...
18.12766
63
0.440141
joshua-xia
88c237aaea62b47ce4e479ae2af61142a203e5b7
6,200
cpp
C++
src/absolute_pose/NoncentralAbsoluteMultiAdapter.cpp
skn123/opengv
91f4b19c73450833a40e463ad3648aae80b3a7f3
[ "BSD-3-Clause" ]
794
2015-01-16T22:25:41.000Z
2022-03-27T23:59:20.000Z
src/absolute_pose/NoncentralAbsoluteMultiAdapter.cpp
skn123/opengv
91f4b19c73450833a40e463ad3648aae80b3a7f3
[ "BSD-3-Clause" ]
77
2015-01-14T11:09:25.000Z
2022-01-19T13:31:39.000Z
src/absolute_pose/NoncentralAbsoluteMultiAdapter.cpp
skn123/opengv
91f4b19c73450833a40e463ad3648aae80b3a7f3
[ "BSD-3-Clause" ]
276
2015-01-15T04:18:56.000Z
2022-03-15T09:05:06.000Z
/****************************************************************************** * Author: Laurent Kneip * * Contact: kneip.laurent@gmail.com * * License: Copyright (c) 2013 Laurent Kneip, ANU. All rights reserved. * ...
37.349398
88
0.677097
skn123
88c5c9e3ec6a081a6a21053bb29d0ba0d7c88526
12,274
hpp
C++
H01indexedCSVdatabase/H01indexedCSVdatabaseQuery.hpp
baxterai/H01localConnectome
52118d10edc4d6d5534ee39c43a4db3b588481de
[ "MIT" ]
null
null
null
H01indexedCSVdatabase/H01indexedCSVdatabaseQuery.hpp
baxterai/H01localConnectome
52118d10edc4d6d5534ee39c43a4db3b588481de
[ "MIT" ]
null
null
null
H01indexedCSVdatabase/H01indexedCSVdatabaseQuery.hpp
baxterai/H01localConnectome
52118d10edc4d6d5534ee39c43a4db3b588481de
[ "MIT" ]
null
null
null
/******************************************************************************* * * File Name: H01indexedCSVdatabaseQuery.hpp * Author: Richard Bruce Baxter - Copyright (c) 2021 Baxter AI (baxterai.com) * License: MIT License * Project: H01LocalConnectome * Requirements: requires H01 indexed CSV database to have...
105.810345
819
0.854326
baxterai
88c78ea7ee36d13932a82afa16117718d0baea1d
2,885
cpp
C++
docs/tema4/sesion30.10.20/sable-laser-alumnos.cpp
GabJL/FI2020
2541622ecc2ce4f4db66ae2006006827dac90217
[ "MIT" ]
null
null
null
docs/tema4/sesion30.10.20/sable-laser-alumnos.cpp
GabJL/FI2020
2541622ecc2ce4f4db66ae2006006827dac90217
[ "MIT" ]
null
null
null
docs/tema4/sesion30.10.20/sable-laser-alumnos.cpp
GabJL/FI2020
2541622ecc2ce4f4db66ae2006006827dac90217
[ "MIT" ]
null
null
null
#include <iostream> #include "utils.hpp" using namespace std; int main(){ int color, alto, tipo; limpiarPantalla(); cout << "Crea tu propia sable laser (v1.0)" << endl << endl; // Lectura de la longitud del sable láser // Es un valor entre 4-8 o 0 para indicar que está apagada /// TODO: Usando un do-while repit...
33.941176
93
0.610052
GabJL
88c86b1fcd02b37f6756015b5e74f22fbdd69f98
998
cpp
C++
Kernel/Arch/aarch64/Panic.cpp
Anon1428/serenity
0daf5cc434e7a998da15330bd8b4d46ae1759485
[ "BSD-2-Clause" ]
2
2022-02-16T02:12:38.000Z
2022-02-20T18:40:41.000Z
Kernel/Arch/aarch64/Panic.cpp
Anon1428/serenity
0daf5cc434e7a998da15330bd8b4d46ae1759485
[ "BSD-2-Clause" ]
null
null
null
Kernel/Arch/aarch64/Panic.cpp
Anon1428/serenity
0daf5cc434e7a998da15330bd8b4d46ae1759485
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (c) 2022, Timon Kruiper <timonkruiper@gmail.com> * * SPDX-License-Identifier: BSD-2-Clause */ #include <Kernel/Arch/Processor.h> #include <Kernel/KSyms.h> #include <Kernel/Panic.h> // FIXME: Merge the code in this file with Kernel/Panic.cpp once the proper abstractions are in place. // Note: This ...
30.242424
104
0.703407
Anon1428
88c987fe8b5fd8e7cc66446b29cf9cac356b8f87
13,678
cpp
C++
Synergy Editor TGC/Synergy Editor/Utilities.cpp
domydev/Dark-Basic-Pro
237fd8d859782cb27b9d5994f3c34bc5372b6c04
[ "MIT" ]
231
2018-01-28T00:06:56.000Z
2022-03-31T21:39:56.000Z
Synergy Editor TGC/Synergy Editor/Utilities.cpp
domydev/Dark-Basic-Pro
237fd8d859782cb27b9d5994f3c34bc5372b6c04
[ "MIT" ]
9
2016-02-10T10:46:16.000Z
2017-12-06T17:27:51.000Z
Synergy Editor TGC/Synergy Editor/Utilities.cpp
domydev/Dark-Basic-Pro
237fd8d859782cb27b9d5994f3c34bc5372b6c04
[ "MIT" ]
66
2018-01-28T21:54:52.000Z
2022-02-16T22:50:57.000Z
#include "StdAfx.h" #include "Utilities.h" #include "Variables.h" #include "Settings.h" // For GoToLine #include "View.h" #include "Doc.h" #include "Synergy Editor.h" WORD Utilities::r; WORD Utilities::c1; WORD Utilities::c2; DWORD Utilities::sum; // Extracts the filename from the fully qualified path CString Utilit...
21.075501
139
0.663036
domydev
88c99948f613446a465273d51fab13dbcb66ac31
3,092
hpp
C++
16th Study/src/expression/SArray.hpp
jongchae/CppTemplateStudy
976b9b8ef0bc899ccc5b7840d2e2f6bc2a9a3757
[ "MIT" ]
84
2017-12-11T04:33:29.000Z
2022-03-27T07:27:06.000Z
16th Study/src/expression/SArray.hpp
jongchae/CppTemplateStudy
976b9b8ef0bc899ccc5b7840d2e2f6bc2a9a3757
[ "MIT" ]
2
2018-04-05T14:26:56.000Z
2018-05-18T13:59:59.000Z
16th Study/src/expression/SArray.hpp
jongchae/CppTemplateStudy
976b9b8ef0bc899ccc5b7840d2e2f6bc2a9a3757
[ "MIT" ]
25
2018-01-13T01:50:32.000Z
2021-05-01T11:05:13.000Z
#pragma once #include <cassert> #include <cstddef> template <typename T> class SArray { private: T *data_; size_t size_; public: /* ---------------------------------------------------------- CONSTRUCTORS ---------------------------------------------------------- */ // CAPACITY CONSTRUCTOR ...
21.929078
69
0.435964
jongchae
88d2473be06db9d59e558dc403d742be6fc61cd6
2,938
cpp
C++
tests/opencl/BlackScholes/oclBlackScholes_gold.cpp
siliconarts/vortex
93232f0e9416779e8a85b08f0a3a8182af30099e
[ "BSD-3-Clause" ]
546
2020-08-17T12:01:13.000Z
2022-03-31T05:59:05.000Z
tests/opencl/BlackScholes/oclBlackScholes_gold.cpp
siliconarts/vortex
93232f0e9416779e8a85b08f0a3a8182af30099e
[ "BSD-3-Clause" ]
34
2020-10-07T15:58:19.000Z
2022-03-29T07:40:50.000Z
tests/opencl/BlackScholes/oclBlackScholes_gold.cpp
siliconarts/vortex
93232f0e9416779e8a85b08f0a3a8182af30099e
[ "BSD-3-Clause" ]
90
2020-09-30T23:02:21.000Z
2022-03-22T09:42:45.000Z
/* * Copyright 1993-2010 NVIDIA Corporation. All rights reserved. * * Please refer to the NVIDIA end user license agreement (EULA) associated * with this source code for terms and conditions that govern your use of * this software. Any use, reproduction, disclosure, or distribution of * this software and related...
31.591398
80
0.487406
siliconarts
88d582ba82ca8fca92ed409d78c66eb510ac2bf7
374
cpp
C++
src/compression.cpp
BertrandKevin/Save-IMU-s-Data-Reach-RTK
5c58081c44e14fb864df39da43879e271baf3a16
[ "MIT" ]
null
null
null
src/compression.cpp
BertrandKevin/Save-IMU-s-Data-Reach-RTK
5c58081c44e14fb864df39da43879e271baf3a16
[ "MIT" ]
null
null
null
src/compression.cpp
BertrandKevin/Save-IMU-s-Data-Reach-RTK
5c58081c44e14fb864df39da43879e271baf3a16
[ "MIT" ]
1
2019-02-28T02:22:52.000Z
2019-02-28T02:22:52.000Z
// // compression.cpp // Wifi-Client // // Created by Kevin Bertrand on 17/07/18. // Copyright © 2018 KevinBertrand. All rights reserved. // #include <stdlib.h> #include <string.h> #include "../includes/getData.h" #include "../includes/MPU9250.h" using namespace std; void compression(string path) { string a...
17
56
0.668449
BertrandKevin
88d878c87839f70b6e026ab2db50355d42362a57
16,623
hpp
C++
src/packet_writer.hpp
epic-astronomy/bifrost
9bc7000ce1b42a55b70dff56a2e03253358ba8eb
[ "BSD-3-Clause" ]
1
2021-05-05T16:20:57.000Z
2021-05-05T16:20:57.000Z
src/packet_writer.hpp
epic-astronomy/bifrost
9bc7000ce1b42a55b70dff56a2e03253358ba8eb
[ "BSD-3-Clause" ]
6
2020-03-18T05:36:54.000Z
2021-12-16T17:34:09.000Z
src/packet_writer.hpp
epic-astronomy/bifrost
9bc7000ce1b42a55b70dff56a2e03253358ba8eb
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2019-2020, The Bifrost Authors. 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 o...
40.152174
130
0.565843
epic-astronomy
88d8be7a8d21adfc7953708ea7de033d527cabde
1,728
cpp
C++
src/rosrtls/publishers/node_ranging.cpp
valentinbarral/rosrtls
0da845db11381fb6e8b1b4c7da0bc2fe60aa0afa
[ "MIT" ]
null
null
null
src/rosrtls/publishers/node_ranging.cpp
valentinbarral/rosrtls
0da845db11381fb6e8b1b4c7da0bc2fe60aa0afa
[ "MIT" ]
null
null
null
src/rosrtls/publishers/node_ranging.cpp
valentinbarral/rosrtls
0da845db11381fb6e8b1b4c7da0bc2fe60aa0afa
[ "MIT" ]
null
null
null
/* MIT License Copyright (c) 2020 Group of Electronic Technology and Communications. University of A Coruna. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including ...
33.882353
125
0.724537
valentinbarral
88d91ed1476faeb9b080af2064caeb5acfcf9f5f
4,346
cpp
C++
src/ElgForward/rendering/drawable.cpp
BartSiwek/ElgForward
cd776d4f138f82ac881bd0508215274073a65aad
[ "MIT" ]
1
2016-06-07T07:37:31.000Z
2016-06-07T07:37:31.000Z
src/ElgForward/rendering/drawable.cpp
BartSiwek/ElgForward
cd776d4f138f82ac881bd0508215274073a65aad
[ "MIT" ]
null
null
null
src/ElgForward/rendering/drawable.cpp
BartSiwek/ElgForward
cd776d4f138f82ac881bd0508215274073a65aad
[ "MIT" ]
1
2021-03-08T07:20:25.000Z
2021-03-08T07:20:25.000Z
#include "rendering/drawable.h" #include "core/hash.h" #include "rendering/dxgi_format_helper.h" namespace Rendering { int32_t GetVertexBufferIndex(VertexDataChannel channel, const Mesh::Mesh& mesh) { auto it = std::find(std::begin(mesh.VertexDataChannels), std::end(mesh.VertexDataChannels), channel); if (it != ...
36.521008
174
0.755637
BartSiwek
88d9e696c05a0f2681ca7ef21d6de9a5bad0d8e2
5,016
cc
C++
inet-4.2.0u/inet4.2.0Untouched/src/inet/common/geometry/common/RotationMatrix.cc
hamzaas/OMNeT-INET-SpineLeafResearch
555c8692405347a061c0a808187cbb326b4333fb
[ "OLDAP-2.6", "OLDAP-2.7", "OLDAP-2.5", "OLDAP-2.3" ]
null
null
null
inet-4.2.0u/inet4.2.0Untouched/src/inet/common/geometry/common/RotationMatrix.cc
hamzaas/OMNeT-INET-SpineLeafResearch
555c8692405347a061c0a808187cbb326b4333fb
[ "OLDAP-2.6", "OLDAP-2.7", "OLDAP-2.5", "OLDAP-2.3" ]
null
null
null
inet-4.2.0u/inet4.2.0Untouched/src/inet/common/geometry/common/RotationMatrix.cc
hamzaas/OMNeT-INET-SpineLeafResearch
555c8692405347a061c0a808187cbb326b4333fb
[ "OLDAP-2.6", "OLDAP-2.7", "OLDAP-2.5", "OLDAP-2.3" ]
1
2021-05-10T21:42:30.000Z
2021-05-10T21:42:30.000Z
// // Copyright (C) 2014 OpenSim Ltd. // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser 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 i...
38.290076
242
0.561802
hamzaas
88dbe01ae5e44619dc66952d334d9b42802521b7
10,668
cpp
C++
source/Components/LogicComponent.cpp
dom380/IMAT3606-Coursework-2
36f50b25823cd3170a403a2e2ef50e3019fcd73b
[ "FTL", "Zlib", "Apache-2.0", "MIT" ]
null
null
null
source/Components/LogicComponent.cpp
dom380/IMAT3606-Coursework-2
36f50b25823cd3170a403a2e2ef50e3019fcd73b
[ "FTL", "Zlib", "Apache-2.0", "MIT" ]
null
null
null
source/Components/LogicComponent.cpp
dom380/IMAT3606-Coursework-2
36f50b25823cd3170a403a2e2ef50e3019fcd73b
[ "FTL", "Zlib", "Apache-2.0", "MIT" ]
null
null
null
#include "Components\LogicComponent.h" #include <Scripting\ScriptEngine.h> #include <utils/Utilities.h> LogicComponent::LogicComponent() : Component(ComponentType::LOGIC), updateFunc(luaState), recieveMsgFunc(luaState), params(luaState) { } LogicComponent::LogicComponent(std::weak_ptr<GameObject> owner, std::weak_ptr...
30.135593
247
0.729565
dom380
88e0d00077ed9bea403773f2105b6424c60ac46f
78
cxx
C++
Modules/ThirdParty/VNL/src/vxl/core/vnl/Templates/vnl_matrix_fixed+double.3.6-.cxx
rdsouza10/ITK
07cb23f9866768b5f4ee48ebec8766b6e19efc69
[ "Apache-2.0" ]
3
2019-11-19T09:47:25.000Z
2022-02-24T00:32:31.000Z
Modules/ThirdParty/VNL/src/vxl/core/vnl/Templates/vnl_matrix_fixed+double.3.6-.cxx
rdsouza10/ITK
07cb23f9866768b5f4ee48ebec8766b6e19efc69
[ "Apache-2.0" ]
1
2019-03-18T14:19:49.000Z
2020-01-11T13:54:33.000Z
Modules/ThirdParty/VNL/src/vxl/core/vnl/Templates/vnl_matrix_fixed+double.3.6-.cxx
rdsouza10/ITK
07cb23f9866768b5f4ee48ebec8766b6e19efc69
[ "Apache-2.0" ]
1
2022-02-24T00:32:36.000Z
2022-02-24T00:32:36.000Z
#include <vnl/vnl_matrix_fixed.hxx> VNL_MATRIX_FIXED_INSTANTIATE(double,3,6);
26
41
0.833333
rdsouza10
88e5cc61591e7f785b36d6e6adc0f3bf9be2d790
1,303
cpp
C++
test/realsense/open_cam.cpp
ashikari/MarbleFlow
10d054f1b84ba06c373cde2e759cc4917e765f4e
[ "Unlicense" ]
null
null
null
test/realsense/open_cam.cpp
ashikari/MarbleFlow
10d054f1b84ba06c373cde2e759cc4917e765f4e
[ "Unlicense" ]
null
null
null
test/realsense/open_cam.cpp
ashikari/MarbleFlow
10d054f1b84ba06c373cde2e759cc4917e765f4e
[ "Unlicense" ]
null
null
null
#include <opencv2/opencv.hpp> #include <iostream> #include <librealsense2/rs.hpp> using namespace cv; using namespace rs2; int main() { //Contruct a pipeline which abstracts the device rs2::pipeline pipe; //Create a configuration for configuring the pipeline with a non default profile rs2::config cf...
23.690909
99
0.665388
ashikari
88e87287ce9a4221d55ea4e0f1bf49fd4181ca33
14,146
cpp
C++
uppsrc/Web/SSL/util.cpp
dreamsxin/ultimatepp
41d295d999f9ff1339b34b43c99ce279b9b3991c
[ "BSD-2-Clause" ]
2
2016-04-07T07:54:26.000Z
2020-04-14T12:37:34.000Z
uppsrc/Web/SSL/util.cpp
dreamsxin/ultimatepp
41d295d999f9ff1339b34b43c99ce279b9b3991c
[ "BSD-2-Clause" ]
null
null
null
uppsrc/Web/SSL/util.cpp
dreamsxin/ultimatepp
41d295d999f9ff1339b34b43c99ce279b9b3991c
[ "BSD-2-Clause" ]
null
null
null
#include "WebSSL.h" #pragma hdrstop #ifndef flagNOSSL #include <openssl/engine.h> NAMESPACE_UPP #define LOG_UPP_SSL_MALLOC 0 #if LOG_UPP_SSL_MALLOC static size_t UPP_SSL_alloc = 0; #endif struct SSLInitCls { SSLInitCls(); ~SSLInitCls(); void AddThread(); Index<dword> threadlist; }; GLOBAL_VAR(SSLInitCls,...
23.498339
127
0.673618
dreamsxin
88e898d0ec6be7ac75b2014a9eff750b65f47b49
7,987
cpp
C++
i3bar/src/workspaces.cpp
andreatulimiero/i3pp
3e1268ec690bce1821d47df11a985145c289573c
[ "BSD-3-Clause" ]
null
null
null
i3bar/src/workspaces.cpp
andreatulimiero/i3pp
3e1268ec690bce1821d47df11a985145c289573c
[ "BSD-3-Clause" ]
null
null
null
i3bar/src/workspaces.cpp
andreatulimiero/i3pp
3e1268ec690bce1821d47df11a985145c289573c
[ "BSD-3-Clause" ]
null
null
null
/* * vim:ts=4:sw=4:expandtab * * i3bar - an xcb-based status- and ws-bar for i3 * © 2010 Axel Wagner and contributors (see also: LICENSE) * * workspaces.c: Maintaining the workspace lists * */ #include "common.hpp" #include <stdlib.h> #include <string.h> #include <yajl/yajl_parse.h> /* A datatype to pass thr...
28.525
119
0.607988
andreatulimiero
88ecba31e44f574ea496201d286b600a9686f8ee
1,022
hpp
C++
keystealDaemon/keystealDaemon/securityd.hpp
security-geeks/Keysteal
30e7185248070a2adc7072396d4c7acc65779cdd
[ "MIT" ]
237
2019-06-02T09:00:33.000Z
2022-02-21T11:09:57.000Z
keystealDaemon/keystealDaemon/securityd.hpp
security-geeks/Keysteal
30e7185248070a2adc7072396d4c7acc65779cdd
[ "MIT" ]
2
2019-06-03T20:43:36.000Z
2019-06-03T21:20:26.000Z
keystealDaemon/keystealDaemon/securityd.hpp
security-geeks/Keysteal
30e7185248070a2adc7072396d4c7acc65779cdd
[ "MIT" ]
45
2019-06-02T12:34:41.000Z
2021-12-27T18:01:21.000Z
// // securityd.hpp // keystealDaemon // // Created by Linus Henze on 21.01.19. // Copyright © 2019 Linus Henze. All rights reserved. // #ifndef securityd_hpp #define securityd_hpp #include <stdio.h> #include "ucsp.hpp" #include <mach/mach.h> extern "C" kern_return_t bootstrap_look_up(mach_port_t bootstrap_port...
28.388889
82
0.774951
security-geeks
88ed06620104a9082863c8df4263baa4a2810b7f
14,954
cc
C++
math/test/quaternion_test.cc
RobotLocomotion/drake-python3.7
ae397a4c6985262d23e9675b9bf3927c08d027f5
[ "BSD-3-Clause" ]
2
2021-02-25T02:01:02.000Z
2021-03-17T04:52:04.000Z
math/test/quaternion_test.cc
RobotLocomotion/drake-python3.7
ae397a4c6985262d23e9675b9bf3927c08d027f5
[ "BSD-3-Clause" ]
null
null
null
math/test/quaternion_test.cc
RobotLocomotion/drake-python3.7
ae397a4c6985262d23e9675b9bf3927c08d027f5
[ "BSD-3-Clause" ]
1
2021-06-13T12:05:39.000Z
2021-06-13T12:05:39.000Z
// Purpose: Tests various quaternion functions and methods. //----------------------------------------------------------------------------- #include "drake/math/quaternion.h" #include <cmath> #include <gtest/gtest.h> #include "drake/common/drake_assert.h" #include "drake/common/test_utilities/eigen_matrix_compare.h"...
48.23871
80
0.703023
RobotLocomotion
88ef553bea2e7e40094c8b58a1c7078585e51bf2
687
cpp
C++
.LHP/.Lop11/.HSG/.T.Hung/Week 1/11136/11136/11136.cpp
sxweetlollipop2912/MaCode
661d77a2096e4d772fda2b6a7f80c84113b2cde9
[ "MIT" ]
null
null
null
.LHP/.Lop11/.HSG/.T.Hung/Week 1/11136/11136/11136.cpp
sxweetlollipop2912/MaCode
661d77a2096e4d772fda2b6a7f80c84113b2cde9
[ "MIT" ]
null
null
null
.LHP/.Lop11/.HSG/.T.Hung/Week 1/11136/11136/11136.cpp
sxweetlollipop2912/MaCode
661d77a2096e4d772fda2b6a7f80c84113b2cde9
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> #include <cstdio> #include <set> #define maxN 1000001 typedef long maxn; typedef long long maxa; typedef std::multiset <maxa> mset_t; maxn day; maxa res; mset_t set; void Process() { res = 0; set.clear(); while (day--) { maxn n; std::cin >> n; maxa a; while (n--) ...
15.976744
58
0.596798
sxweetlollipop2912
88ef70f2e6d9697c9556f5025e9ed811d15e281e
14,814
cpp
C++
examples/clientserver1/client3WAny.cpp
JohanVanslembrouck/corolib
0ebbabfe368c29901bf96ae1d3b6e989e3ff82c9
[ "MIT" ]
1
2021-08-19T13:49:01.000Z
2021-08-19T13:49:01.000Z
examples/clientserver1/client3WAny.cpp
JohanVanslembrouck/corolib
0ebbabfe368c29901bf96ae1d3b6e989e3ff82c9
[ "MIT" ]
null
null
null
examples/clientserver1/client3WAny.cpp
JohanVanslembrouck/corolib
0ebbabfe368c29901bf96ae1d3b6e989e3ff82c9
[ "MIT" ]
null
null
null
/** * @file client3WAny.cpp * @brief * This example illustrates the use of coroutines * in combination with Boost ASIO to implement CommClient. * This example uses 3 CommClient1 objects. * It also uses a wait_any_awaitable type that allows awaiting the completion of 1 of N asychronous operations. * * @author J...
33.591837
111
0.64331
JohanVanslembrouck
88f13baa6426fe695708884f021510015e59e2c2
1,907
hpp
C++
include/vk/descriptor_set.hpp
K1llByte/kazan
8023d23b305ee8d3ef47c3bbfa0baae1a2685689
[ "Apache-2.0" ]
null
null
null
include/vk/descriptor_set.hpp
K1llByte/kazan
8023d23b305ee8d3ef47c3bbfa0baae1a2685689
[ "Apache-2.0" ]
1
2021-12-28T23:50:46.000Z
2021-12-28T23:50:46.000Z
include/vk/descriptor_set.hpp
K1llByte/kazan
8023d23b305ee8d3ef47c3bbfa0baae1a2685689
[ "Apache-2.0" ]
null
null
null
#ifndef KZN_VK_DESCRIPTOR_SET_HPP #define KZN_VK_DESCRIPTOR_SET_HPP #include "vk/device.hpp" namespace kzn::vk { class DescriptorSetLayout { friend class DescriptorSetLayoutBuilder; public: ~DescriptorSetLayout(); VkDescriptorSetLayout vk_descriptor_set_layout() { return vkset_lay...
25.092105
84
0.648663
K1llByte
88f1c26bdf504a987de6f445e4320215d3bd90b4
2,190
cpp
C++
sample/HAIROWorld/controller/TiltCameraJoystickController.cpp
k38-suzuki/hairo-world-plugin
031375812b278d88116f92320d8c5ce74eba7a0a
[ "MIT" ]
5
2020-12-16T22:18:46.000Z
2022-03-26T08:39:51.000Z
sample/HAIROWorld/controller/TiltCameraJoystickController.cpp
k38-suzuki/hairo-world-plugin
031375812b278d88116f92320d8c5ce74eba7a0a
[ "MIT" ]
2
2021-06-29T04:03:15.000Z
2021-06-29T05:46:15.000Z
sample/HAIROWorld/controller/TiltCameraJoystickController.cpp
k38-suzuki/hairo-world-plugin
031375812b278d88116f92320d8c5ce74eba7a0a
[ "MIT" ]
2
2021-06-19T17:11:12.000Z
2021-07-09T06:58:47.000Z
/** TiltCamera Controller @author Kenta Suzuki */ #include <cnoid/Camera> #include <cnoid/EigenUtil> #include <cnoid/Joystick> #include <cnoid/SimpleController> using namespace cnoid; class TiltCameraJoystickController : public SimpleController { SimpleControllerIO* io; Link* turret; double qref; ...
23.548387
78
0.528767
k38-suzuki
88f245f9a4422c14eb52eca2e8c8bf2008aa3e02
1,283
cpp
C++
Problem Solving Paradigms/Dynamic Programming/Non classical/Wedding Shopping.cpp
satvik007/uva
72a763f7ed46a34abfcf23891300d68581adeb44
[ "MIT" ]
3
2017-08-12T06:09:39.000Z
2018-09-16T02:31:27.000Z
Problem Solving Paradigms/Dynamic Programming/Non classical/Wedding Shopping.cpp
satvik007/uva
72a763f7ed46a34abfcf23891300d68581adeb44
[ "MIT" ]
null
null
null
Problem Solving Paradigms/Dynamic Programming/Non classical/Wedding Shopping.cpp
satvik007/uva
72a763f7ed46a34abfcf23891300d68581adeb44
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef vector <int> vi; typedef long long ll; int main() { ios_base::sync_with_stdio(false); cin.tie(nullptr); //freopen("in.txt", "r", stdin); //freopen("out.txt", "w", stdout); int g, money, k, TC, M, C; int price[25][25]; bool reachable[25]...
35.638889
79
0.50039
satvik007
88f7cd551b4cdf303bd6566da003e44bdd90a6d9
13,004
cpp
C++
core/impl/render/gl/gl_helper.cpp
auyunli/enhance
ca99530c80b42842e713ed4b62e40d12e56ee24a
[ "BSD-2-Clause" ]
null
null
null
core/impl/render/gl/gl_helper.cpp
auyunli/enhance
ca99530c80b42842e713ed4b62e40d12e56ee24a
[ "BSD-2-Clause" ]
null
null
null
core/impl/render/gl/gl_helper.cpp
auyunli/enhance
ca99530c80b42842e713ed4b62e40d12e56ee24a
[ "BSD-2-Clause" ]
null
null
null
#include <cassert> #include <iostream> #include <cstdio> #include "gl_includes.hpp" #include "gl_helper.hpp" #include "text_read_write.hpp" namespace e2 { namespace render { namespace gl { bool gl_helper::compile_shader_from_string( GLuint * shader, char const * source, GLSLShaderType type ){ bool ret; if( n...
29.091723
139
0.644033
auyunli
88f8c939e7c7848c3d14f6e4803e2948e7e9090c
3,192
cpp
C++
avx512_swar.cpp
WojciechMula/base64simd
6bde46e13d42f962620c0c496f0e5b288043ff5d
[ "BSD-2-Clause" ]
133
2016-09-15T18:38:00.000Z
2022-02-01T14:09:10.000Z
avx512_swar.cpp
pkpioneer/base64simd
6bde46e13d42f962620c0c496f0e5b288043ff5d
[ "BSD-2-Clause" ]
8
2016-11-26T07:21:50.000Z
2021-07-12T14:49:22.000Z
avx512_swar.cpp
pkpioneer/base64simd
6bde46e13d42f962620c0c496f0e5b288043ff5d
[ "BSD-2-Clause" ]
12
2016-11-25T20:31:06.000Z
2021-03-22T12:01:48.000Z
#if defined(HAVE_AVX2_INSTRUCTIONS) #define packed_dword(x) _mm512_set1_epi32(x) #define packed_byte(x) packed_dword((x) | ((x) << 8) | ((x) << 16) | ((x) << 24)) namespace avx512f_swar { // returns packed (a[i] >= val) ? 0x7f : 0x00; // assertion a[i] < 0x80 __m512i _mm512_cmpge_mask7bit(const __m512i a...
32.907216
90
0.577381
WojciechMula
88fb5a2514afb24be9e76bef3cc0141b0c002801
3,220
cpp
C++
Blake2/Test/TestUtils.cpp
Steppenwolfe65/Blake2
9444e194323f98bb797816bc774d202276d17243
[ "Intel", "MIT" ]
1
2016-11-09T05:34:58.000Z
2016-11-09T05:34:58.000Z
Blake2/Test/TestUtils.cpp
Steppenwolfe65/Blake2
9444e194323f98bb797816bc774d202276d17243
[ "Intel", "MIT" ]
null
null
null
Blake2/Test/TestUtils.cpp
Steppenwolfe65/Blake2
9444e194323f98bb797816bc774d202276d17243
[ "Intel", "MIT" ]
null
null
null
#include "TestUtils.h" #include "TestException.h" #include "../Blake2/CexDomain.h" #include "../Blake2/CSP.h" #if defined(_WIN32) # include <Windows.h> #else # include <sys/types.h> # include <sys/time.h> #endif #include <algorithm> #include <fstream> #include <iostream> namespace Test { using CEX::Provider::CSP; v...
21.756757
138
0.646273
Steppenwolfe65
88fc192fb39fb2a1b8d8c6bb70ed35df34bdec02
177
hpp
C++
NWNXLib/API/Mac/API/CExoArrayListTemplatedchar.hpp
acaos/nwnxee-unified
0e4c318ede64028c1825319f39c012e168e0482c
[ "MIT" ]
1
2019-06-04T04:30:24.000Z
2019-06-04T04:30:24.000Z
NWNXLib/API/Mac/API/CExoArrayListTemplatedchar.hpp
presscad/nwnee
0f36b281524e0b7e9796bcf30f924792bf9b8a38
[ "MIT" ]
null
null
null
NWNXLib/API/Mac/API/CExoArrayListTemplatedchar.hpp
presscad/nwnee
0f36b281524e0b7e9796bcf30f924792bf9b8a38
[ "MIT" ]
1
2019-10-20T07:54:45.000Z
2019-10-20T07:54:45.000Z
#pragma once #include <cstdint> namespace NWNXLib { namespace API { struct CExoArrayListTemplatedchar { char* element; int32_t num; int32_t array_size; }; } }
9.315789
33
0.689266
acaos
88fe489ffc4c5bbd21dabd7344e5e7ae729eb8c1
319
cpp
C++
Scripts/217.cpp
zzz0906/LeetCode
cd0b4a4fd03d0dff585c9ef349984eba1922ece0
[ "MIT" ]
17
2018-08-23T08:53:56.000Z
2021-04-17T00:06:13.000Z
Scripts/217.cpp
zzz0906/LeetCode
cd0b4a4fd03d0dff585c9ef349984eba1922ece0
[ "MIT" ]
null
null
null
Scripts/217.cpp
zzz0906/LeetCode
cd0b4a4fd03d0dff585c9ef349984eba1922ece0
[ "MIT" ]
null
null
null
class Solution { public: bool containsDuplicate(vector<int>& nums) { unordered_map<int,int> count_n; for (int i = 0; i < nums.size(); i++){ if (count_n.count(nums[i]) == 0) count_n[nums[i]] = 1; else return true; } return false; } };
26.583333
47
0.485893
zzz0906
0000aca1794a79cf75dd578d24948d8694943b37
4,340
cpp
C++
3rdParty/Aria/src/ArFileDeviceConnection.cpp
bellonemauro/myARIAtestApp
8223b5833ccf37cf9f503337858a46544d36a19c
[ "Linux-OpenIB" ]
null
null
null
3rdParty/Aria/src/ArFileDeviceConnection.cpp
bellonemauro/myARIAtestApp
8223b5833ccf37cf9f503337858a46544d36a19c
[ "Linux-OpenIB" ]
null
null
null
3rdParty/Aria/src/ArFileDeviceConnection.cpp
bellonemauro/myARIAtestApp
8223b5833ccf37cf9f503337858a46544d36a19c
[ "Linux-OpenIB" ]
null
null
null
/* Adept MobileRobots Robotics Interface for Applications (ARIA) Copyright (C) 2004-2005 ActivMedia Robotics LLC Copyright (C) 2006-2010 MobileRobots Inc. Copyright (C) 2011-2015 Adept Technology, Inc. Copyright (C) 2016 Omron Adept Technologies, Inc. This program is free software; you can redistribute it and/or ...
26.956522
125
0.721198
bellonemauro
322f9221f866b0212d0bf8a09f4133578521cc2d
6,276
cxx
C++
Modules/Loadable/Cameras/qSlicerCamerasModuleWidget.cxx
forfullstack/slicersources-src
91bcecf037a27f3fad4c0ab57e8286fc258bb0f5
[ "Apache-2.0" ]
null
null
null
Modules/Loadable/Cameras/qSlicerCamerasModuleWidget.cxx
forfullstack/slicersources-src
91bcecf037a27f3fad4c0ab57e8286fc258bb0f5
[ "Apache-2.0" ]
null
null
null
Modules/Loadable/Cameras/qSlicerCamerasModuleWidget.cxx
forfullstack/slicersources-src
91bcecf037a27f3fad4c0ab57e8286fc258bb0f5
[ "Apache-2.0" ]
null
null
null
/*============================================================================== Program: 3D Slicer Copyright (c) Kitware Inc. See COPYRIGHT.txt or http://www.slicer.org/copyright/copyright.txt for details. Unless required by applicable law or agreed to in writing, software distributed under the License...
34.483516
122
0.613767
forfullstack
3231c4dcd936dc29d2cebeafad8f7c3498c80284
1,374
cpp
C++
src/common/mesh_utils.cpp
jandrej/serac
6a19ae5c0cb6ca127d8e897640f7e0c1d5d91ee3
[ "BSD-3-Clause" ]
null
null
null
src/common/mesh_utils.cpp
jandrej/serac
6a19ae5c0cb6ca127d8e897640f7e0c1d5d91ee3
[ "BSD-3-Clause" ]
null
null
null
src/common/mesh_utils.cpp
jandrej/serac
6a19ae5c0cb6ca127d8e897640f7e0c1d5d91ee3
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2019-2020, Lawrence Livermore National Security, LLC and // other Serac Project Developers. See the top-level LICENSE file for // details. // // SPDX-License-Identifier: (BSD-3-Clause) #include "mesh_utils.hpp" #include "common/logger.hpp" #include "fmt/fmt.hpp" namespace serac { std::shared_ptr<mf...
26.941176
103
0.658661
jandrej
323e6030d0e782de29fb2a47e360147c01146f82
2,074
cpp
C++
oeip-win-dx11/ImageProcessDx11.cpp
xxxzhou/oeip
ef7e3ba8bca533d16f8a5e57bf62888cd4831d3a
[ "MIT" ]
32
2020-03-07T09:20:07.000Z
2022-02-24T04:08:02.000Z
oeip-win-dx11/ImageProcessDx11.cpp
xxxzhou/oeip
ef7e3ba8bca533d16f8a5e57bf62888cd4831d3a
[ "MIT" ]
3
2020-02-21T06:31:17.000Z
2020-08-24T01:34:36.000Z
oeip-win-dx11/ImageProcessDx11.cpp
xxxzhou/oeip
ef7e3ba8bca533d16f8a5e57bf62888cd4831d3a
[ "MIT" ]
11
2020-04-07T08:26:57.000Z
2021-03-02T02:49:17.000Z
#include "../oeip/ImageProcess.h" #include "ImageProcessDx11.h" #include "InputLayerDx11.h" #include "OutputLayerDx11.h" #include "YUV2RGBALayerDX11.h" #include "MapChannelLayerDx11.h" #include "ResizeLayerDx11.h" #include "RGBA2YUVLayerDX11.h" #include "BlendLayerDx11.h" #include "OperateLayerDx11.h" ImageProcessDx11...
23.568182
111
0.744937
xxxzhou
323ea29cafae6eb164f9d570611f735e39b6d333
4,376
hpp
C++
RobWorkStudio/src/rwslibs/sensors/SensorView.hpp
ZLW07/RobWork
e713881f809d866b9a0749eeb15f6763e64044b3
[ "Apache-2.0" ]
1
2021-12-29T14:16:27.000Z
2021-12-29T14:16:27.000Z
RobWorkStudio/src/rwslibs/sensors/SensorView.hpp
ZLW07/RobWork
e713881f809d866b9a0749eeb15f6763e64044b3
[ "Apache-2.0" ]
null
null
null
RobWorkStudio/src/rwslibs/sensors/SensorView.hpp
ZLW07/RobWork
e713881f809d866b9a0749eeb15f6763e64044b3
[ "Apache-2.0" ]
null
null
null
/******************************************************************************** * Copyright 2009 The Robotics Group, The Maersk Mc-Kinney Moller Institute, * Faculty of Engineering, University of Southern Denmark * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file exce...
27.180124
95
0.639625
ZLW07
323fedbf41575e057b9fb083123e5a62bc031cde
23,977
cpp
C++
Tools/RemoteProtocolBridge/Source/ProtocolProcessor/OSCProtocolProcessor/SenderAwareOSCReceiver.cpp
dbaudio-soundscape/Support-Generic-OSC-DiGiCo
54943f3d797844665644215da70bf7ee3a5bee64
[ "Xnet", "RSA-MD", "X11" ]
null
null
null
Tools/RemoteProtocolBridge/Source/ProtocolProcessor/OSCProtocolProcessor/SenderAwareOSCReceiver.cpp
dbaudio-soundscape/Support-Generic-OSC-DiGiCo
54943f3d797844665644215da70bf7ee3a5bee64
[ "Xnet", "RSA-MD", "X11" ]
null
null
null
Tools/RemoteProtocolBridge/Source/ProtocolProcessor/OSCProtocolProcessor/SenderAwareOSCReceiver.cpp
dbaudio-soundscape/Support-Generic-OSC-DiGiCo
54943f3d797844665644215da70bf7ee3a5bee64
[ "Xnet", "RSA-MD", "X11" ]
null
null
null
/* =============================================================================== Copyright (C) 2019 d&b audiotechnik GmbH & Co. KG. All Rights Reserved. This file is part of RemoteProtocolBridge. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the follo...
31.548684
146
0.643408
dbaudio-soundscape