hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
109
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
⌀
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
⌀
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
⌀
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
48.5k
⌀
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
⌀
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
⌀
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
⌀
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
⌀
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
⌀
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
625cb6940b13f33c738a462b88a854e130df4c99
6,756
cpp
C++
cell_based/src/population/killers/CryptFissionCellKiller.cpp
Mathematics-in-Oncology/ComputationalColonicCrypts
a407ae6c37acc878cd1548590c71bc1f87bc5c06
[ "Unlicense" ]
1
2021-01-25T12:21:40.000Z
2021-01-25T12:21:40.000Z
cell_based/src/population/killers/CryptFissionCellKiller.cpp
Mathematics-in-Oncology/ComputationalColonicCrypts
a407ae6c37acc878cd1548590c71bc1f87bc5c06
[ "Unlicense" ]
null
null
null
cell_based/src/population/killers/CryptFissionCellKiller.cpp
Mathematics-in-Oncology/ComputationalColonicCrypts
a407ae6c37acc878cd1548590c71bc1f87bc5c06
[ "Unlicense" ]
1
2021-01-25T12:21:56.000Z
2021-01-25T12:21:56.000Z
/* Copyright (c) 2005-2019, University of Oxford. All rights reserved. University of Oxford means the Chancellor, Masters and Scholars of the University of Oxford, having an administrative office at Wellington Square, Oxford OX1 2JD, UK. This file is part of Chaste. Redistribution and use in source and binary forms...
40.945455
185
0.760657
Mathematics-in-Oncology
625cd025b26f238f4f095abfb2711709efe2553c
3,472
cpp
C++
system_stat/protocoltypetcp.cpp
manito17711/system_stat
089fed90a42ec83d1126cf837fa95d077b595d0c
[ "MIT" ]
null
null
null
system_stat/protocoltypetcp.cpp
manito17711/system_stat
089fed90a42ec83d1126cf837fa95d077b595d0c
[ "MIT" ]
null
null
null
system_stat/protocoltypetcp.cpp
manito17711/system_stat
089fed90a42ec83d1126cf837fa95d077b595d0c
[ "MIT" ]
null
null
null
#include "protocoltypetcp.hpp" #include <iostream> #include <fcntl.h> ProtocolTypeTCP::ProtocolTypeTCP(int port) : ProtocolType(port) { } void ProtocolTypeTCP::startListen() { static const int MAX_CONNECTION = 5; if (0 == listen(sock_fd, MAX_CONNECTION)) { std::cout << "Server listen on port ...
20.915663
95
0.529378
manito17711
625d3abd0ef728256b1df340fe7997040103060b
809
cpp
C++
Online-Judge-Solution/UVA Solutions/10018(Reverse & Add).cpp
arifparvez14/Basic-and-competetive-programming
4cb9ee7fbed3c70307d0f63499fcede86ed3c732
[ "MIT" ]
null
null
null
Online-Judge-Solution/UVA Solutions/10018(Reverse & Add).cpp
arifparvez14/Basic-and-competetive-programming
4cb9ee7fbed3c70307d0f63499fcede86ed3c732
[ "MIT" ]
null
null
null
Online-Judge-Solution/UVA Solutions/10018(Reverse & Add).cpp
arifparvez14/Basic-and-competetive-programming
4cb9ee7fbed3c70307d0f63499fcede86ed3c732
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; long long int palindrome(long long int z) { long long int y,revi; revi=0; while(z!=0) { y=z%10; revi=revi*10+y; z=z/10; } return revi; } int main() { long long int n,i,k,d,rev,sum,count,l,T,x,j,check; cin>>T; for(x=1; ...
17.212766
54
0.379481
arifparvez14
625e56f965408f90582b0203462addc28a0ae600
670
cc
C++
POJ/3666_Making the Grade/3666.cc
pdszhh/ACM
956b3d03a5d3f070ef24c940b7459f5cccb11d6c
[ "MIT" ]
1
2019-05-05T03:51:20.000Z
2019-05-05T03:51:20.000Z
POJ/3666_Making the Grade/3666.cc
pdszhh/ACM
956b3d03a5d3f070ef24c940b7459f5cccb11d6c
[ "MIT" ]
null
null
null
POJ/3666_Making the Grade/3666.cc
pdszhh/ACM
956b3d03a5d3f070ef24c940b7459f5cccb11d6c
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> #include <cmath> using namespace std; int A[2000] = {0}; int B[2000] = {0}; int dp[2000] = {0}; int main() { cin.tie(0); ios::sync_with_stdio(false); int n; cin >> n; for (int i = 0; i < n; i++) cin >> A[i]; copy(A, A + n, B); sor...
16.75
44
0.408955
pdszhh
626023e72138fa10f729698bc43ae6dbf1185f9b
7,673
cpp
C++
Funcs.cpp
ClaudiuHKS/AddCommas
1229ae36dbe595a0d6544332b0d6c331e40177e3
[ "MIT" ]
1
2022-02-18T21:41:59.000Z
2022-02-18T21:41:59.000Z
Funcs.cpp
ClaudiuHKS/AddCommas
1229ae36dbe595a0d6544332b0d6c331e40177e3
[ "MIT" ]
null
null
null
Funcs.cpp
ClaudiuHKS/AddCommas
1229ae36dbe595a0d6544332b0d6c331e40177e3
[ "MIT" ]
null
null
null
#include "Funcs.h" ::std::string AddCommasA ( bool W ) noexcept { return ::AddCommasA ( ( static_cast < long long > ( W ) ) ); } ::std::string AddCommasA ( char W ) noexcept { return ::AddCommasA ( ( static_cast < long long > ( W ) ) ); } ::std::string AddCommasA ( short W ) noexcept { return ::AddCo...
24.993485
122
0.492767
ClaudiuHKS
62685a19e27e6e65a9ca6f628ad5244d1ff76b90
5,295
cpp
C++
game/src/UI/GameWindow.cpp
BigETI/NoLifeNoCry
70ac2498b5e740b2b348771ef9617dea1eed7f9c
[ "MIT" ]
5
2020-11-07T23:38:48.000Z
2021-12-07T11:03:22.000Z
game/src/UI/GameWindow.cpp
BigETI/NoLifeNoCry
70ac2498b5e740b2b348771ef9617dea1eed7f9c
[ "MIT" ]
null
null
null
game/src/UI/GameWindow.cpp
BigETI/NoLifeNoCry
70ac2498b5e740b2b348771ef9617dea1eed7f9c
[ "MIT" ]
null
null
null
#include <iostream> #include <rttr/registration.h> #include <Serialiser/Asset.hpp> #include <Story.hpp> #include <StoryData.hpp> #include <UI/GameWindow.hpp> /// @brief Constructor /// @param windowWidth Window width /// @param windowHeight Window height /// @param windowName Window name /// @param windowStyle Window ...
44.125
234
0.65118
BigETI
626bcc8211d0da615ecfaf61f5ab5a71c543d4c7
1,343
cpp
C++
Classes/ProductInventory.cpp
TodorKarparov/Projects
41aa12b3eabc16fc408513e0b28051d08f7a1f75
[ "MIT" ]
null
null
null
Classes/ProductInventory.cpp
TodorKarparov/Projects
41aa12b3eabc16fc408513e0b28051d08f7a1f75
[ "MIT" ]
null
null
null
Classes/ProductInventory.cpp
TodorKarparov/Projects
41aa12b3eabc16fc408513e0b28051d08f7a1f75
[ "MIT" ]
null
null
null
/** Product Inventory Project: Create an application which manages an inventory of products. Create a product class which has a price, id, and quantity on hand. Then create an inventory class which keeps track of various products and can sum up the inventory value. */ #include <iostream> #include <string> #include <u...
18.39726
104
0.696947
TodorKarparov
626c3fb888b452a215ff957a5d4c1bd88e17d26a
8,452
cpp
C++
GalvoScannerCorrect/src/correct.cpp
ZhukovWang/GalvoScannerCorrect
41dedc309218f102333ec89572e06db425740d05
[ "MIT" ]
4
2019-08-02T14:05:05.000Z
2022-03-02T14:13:17.000Z
GalvoScannerCorrect/src/correct.cpp
ZhukovWang/GalvoScannerCorrect
41dedc309218f102333ec89572e06db425740d05
[ "MIT" ]
null
null
null
GalvoScannerCorrect/src/correct.cpp
ZhukovWang/GalvoScannerCorrect
41dedc309218f102333ec89572e06db425740d05
[ "MIT" ]
3
2019-07-16T01:16:13.000Z
2021-10-02T16:26:32.000Z
#include "correct.h" /// <summary> /// 二次曲线的x补偿因子 /// </summary> const double conic_factor_x = 0.02; /// <summary> /// 二次曲线的y补偿因子 /// </summary> const double conic_factor_y = 0.02; /// <summary> /// 平行四边形x补偿因子 /// </summary> const double parallelogram_factor_x = 0.5; /// <summary> /// 平行四边形y补偿因子 /// </summary> cons...
35.216667
194
0.70788
ZhukovWang
626dbbad9b3715695b472e261d966a651d977bcd
3,367
cpp
C++
src/iters/list/NormalList/normal_list.cpp
delightedok/TGSToolkits
7570378fde1f3045a545c293fddb275143701114
[ "MIT" ]
null
null
null
src/iters/list/NormalList/normal_list.cpp
delightedok/TGSToolkits
7570378fde1f3045a545c293fddb275143701114
[ "MIT" ]
null
null
null
src/iters/list/NormalList/normal_list.cpp
delightedok/TGSToolkits
7570378fde1f3045a545c293fddb275143701114
[ "MIT" ]
null
null
null
#include "../../../comms/comm_headers.h" #include <iters/list/normal_list.h> #define THIS_FILE "normal_list.cpp" #define LOG_TAG "ITERS-LIST-NORMAL" TGSTK_EXPORT NormalListObject::NormalListObject(ListVTable & mVTable): ListObject(mVTable) { /* A Ring List */ this->mDatas.next = &this->mDatas; t...
24.940741
99
0.511435
delightedok
626dc45335637e840d258b1d4b8ec57627d86b75
3,514
cpp
C++
src/temp_dir.cpp
Nimanita/phpdesktop
ff14a60629ef105031b49fe751207811b1c93332
[ "NASA-1.3", "PHP-3.01", "PHP-3.0", "Zend-2.0" ]
2,342
2015-08-28T12:38:51.000Z
2022-03-31T21:53:23.000Z
src/temp_dir.cpp
Nimanita/phpdesktop
ff14a60629ef105031b49fe751207811b1c93332
[ "NASA-1.3", "PHP-3.01", "PHP-3.0", "Zend-2.0" ]
165
2015-09-10T06:58:22.000Z
2022-02-17T20:44:37.000Z
src/temp_dir.cpp
Nimanita/phpdesktop
ff14a60629ef105031b49fe751207811b1c93332
[ "NASA-1.3", "PHP-3.01", "PHP-3.0", "Zend-2.0" ]
600
2015-09-01T15:12:21.000Z
2022-03-29T20:12:04.000Z
// Copyright (c) 2012-2014 The PHP Desktop authors. All rights reserved. // License: New BSD License. // Website: http://code.google.com/p/phpdesktop/ #include "temp_dir.h" #include <Windows.h> #include "string_utils.h" #include "file_utils.h" #include "log.h" #include <vector> #include "executable.h" std...
39.483146
80
0.551224
Nimanita
627513216813a58e18160816935874c8b895c69b
842
cpp
C++
Competitive Programming/Module 7 Programming Tools/code/stl3.cpp
mayank1101/Coding-Ninja
7d2c3a525e0867edf315b965b139f2288bfe009d
[ "MIT" ]
1
2020-12-15T19:36:01.000Z
2020-12-15T19:36:01.000Z
Competitive Programming/Module 7 Programming Tools/code/stl3.cpp
mayank1101/Coding-Ninja
7d2c3a525e0867edf315b965b139f2288bfe009d
[ "MIT" ]
null
null
null
Competitive Programming/Module 7 Programming Tools/code/stl3.cpp
mayank1101/Coding-Ninja
7d2c3a525e0867edf315b965b139f2288bfe009d
[ "MIT" ]
null
null
null
#include<iostream> #include<algorithm> #include<cmath> #include<utility> using namespace std; struct Interval{ int st; int et; }; bool compare(Interval i1,Interval i2){ return i1.st > i2.st; } int main(){ //Interval arr[] = {{6,4} , {3,4}, {4,6} , {8,13}}; //sort(arr,arr+4,compare); int arr[] = {1,3,2,5,7,6}; ...
16.192308
63
0.571259
mayank1101
627964517042ec8a874b6f87af00bccef6b81940
301
cpp
C++
1101-9999/1509. Minimum Difference Between Largest and Smallest Value in Three Moves.cpp
erichuang1994/leetcode-solution
d5b3bb3ce2a428a3108f7369715a3700e2ba699d
[ "MIT" ]
null
null
null
1101-9999/1509. Minimum Difference Between Largest and Smallest Value in Three Moves.cpp
erichuang1994/leetcode-solution
d5b3bb3ce2a428a3108f7369715a3700e2ba699d
[ "MIT" ]
null
null
null
1101-9999/1509. Minimum Difference Between Largest and Smallest Value in Three Moves.cpp
erichuang1994/leetcode-solution
d5b3bb3ce2a428a3108f7369715a3700e2ba699d
[ "MIT" ]
null
null
null
class Solution { public: int minDifference(vector<int> &nums) { sort(nums.begin(), nums.end()); if (nums.size() <= 4) return 0; int ret = INT_MAX; for (int i = 0; i <= 3; i++) { ret = min(ret, nums[nums.size() - 1 - (3 - i)] - nums[i]); } return ret; } };
18.8125
64
0.491694
erichuang1994
627dc7ba66044aefcc038629d2d2a4e94451cb8b
289
cpp
C++
Additional Problems/Counting Bits.cpp
DecSP/cses-downloader
12a8f37665a33f6f790bd2c355f84dea8a0e332c
[ "MIT" ]
2
2022-02-12T12:30:13.000Z
2022-02-12T13:59:20.000Z
Additional Problems/Counting Bits.cpp
DecSP/cses-downloader
12a8f37665a33f6f790bd2c355f84dea8a0e332c
[ "MIT" ]
2
2022-02-12T11:09:41.000Z
2022-02-12T11:55:49.000Z
Additional Problems/Counting Bits.cpp
DecSP/cses-downloader
12a8f37665a33f6f790bd2c355f84dea8a0e332c
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define ll long long using namespace std; int main(){ ll n; cin>>n; ll cur=1,re=0; while (cur<=n){ ll x=n-(cur-1); re+=x/(cur<<1)*cur+min(x%(cur<<1),cur); cur<<=1; } cout<<re<<'\n'; return 0; } // 000 // 001 // 010 // 011 // 100 // 101 // 110 // 111
11.56
41
0.525952
DecSP
628eac564a36f670cfcb6ca0fc2e9677e540d107
812
cpp
C++
Source/GCE/Game/Widgets/GameOverWidget.cpp
ssapo/GCE
ddb5dfa2472c2f4ba01bf81d4fac9a64ac861e9f
[ "MIT" ]
2
2019-07-28T13:30:14.000Z
2019-11-22T08:14:28.000Z
Source/GCE/Game/Widgets/GameOverWidget.cpp
ssapo/GCE
ddb5dfa2472c2f4ba01bf81d4fac9a64ac861e9f
[ "MIT" ]
null
null
null
Source/GCE/Game/Widgets/GameOverWidget.cpp
ssapo/GCE
ddb5dfa2472c2f4ba01bf81d4fac9a64ac861e9f
[ "MIT" ]
1
2019-07-07T13:39:08.000Z
2019-07-07T13:39:08.000Z
// Fill out your copyright notice in the Description page of Project Settings. #include "GameOverWidget.h" #include <Button.h> #include "Game/ChessGameModeBase.h" void UGameOverWidget::NativeConstruct() { Super::NativeConstruct(); auto FoundGameMode = GetWorld()->GetAuthGameMode<AChessGameMode>(); GCE_CHECK(nullp...
18.883721
78
0.756158
ssapo
629085920bf7d7a5a6f06b5cf28ec3732cdf5681
380
hpp
C++
Questless/Questless/external/vecx/constants.hpp
jonathansharman/questless
bb9ffb2d21cbfde2a71edfecfcbf466479bbbe7d
[ "MIT" ]
2
2020-07-14T12:50:06.000Z
2020-11-04T02:25:09.000Z
Questless/Questless/external/vecx/constants.hpp
jonathansharman/questless
bb9ffb2d21cbfde2a71edfecfcbf466479bbbe7d
[ "MIT" ]
null
null
null
Questless/Questless/external/vecx/constants.hpp
jonathansharman/questless
bb9ffb2d21cbfde2a71edfecfcbf466479bbbe7d
[ "MIT" ]
null
null
null
//! @file //! @copyright See <a href="LICENSE.txt">LICENSE.txt</a>. //! @brief Defines some mathematical constants. #pragma once namespace vecx::constants { //! Number of radians in one turn of a circle. constexpr double tau = 6.283185307179586476925286766559005768394338798750211641949; //! Number of radians in h...
27.142857
84
0.728947
jonathansharman
6290c2f1ed8d21d1ed2b25eeba53ff1be0e658d4
177
cpp
C++
c2017/wd/wd151/main.cpp
wmjtxt/c-exercise
d22336460cab825dd7ae98297bbe46febedfcece
[ "MIT" ]
null
null
null
c2017/wd/wd151/main.cpp
wmjtxt/c-exercise
d22336460cab825dd7ae98297bbe46febedfcece
[ "MIT" ]
null
null
null
c2017/wd/wd151/main.cpp
wmjtxt/c-exercise
d22336460cab825dd7ae98297bbe46febedfcece
[ "MIT" ]
null
null
null
#include "stdio.h" main() { int a,b; a=066; b=a&7; printf("\40: The a & b(decimal) is %d \n",b); b&=0xC; printf("\40: The a & b(decimal) is %d \n",b); }
16.090909
49
0.468927
wmjtxt
629e623873a26e475f54ff93c68770c75158196c
2,386
hpp
C++
minimgio/test/quantile_diff.hpp
SmartEngines/minimg_interfaces
b9276f4d800a7d4563c7e1aaa08ef927bbccb918
[ "BSD-3-Clause" ]
4
2021-07-14T11:27:40.000Z
2021-12-16T12:58:36.000Z
minimgio/test/quantile_diff.hpp
SmartEngines/minimg_interfaces
b9276f4d800a7d4563c7e1aaa08ef927bbccb918
[ "BSD-3-Clause" ]
null
null
null
minimgio/test/quantile_diff.hpp
SmartEngines/minimg_interfaces
b9276f4d800a7d4563c7e1aaa08ef927bbccb918
[ "BSD-3-Clause" ]
1
2021-12-20T10:18:39.000Z
2021-12-20T10:18:39.000Z
/* Copyright 2021 Smart Engines Service LLC 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 the above copyright notice, this list of conditions and the following disclai...
40.440678
109
0.734702
SmartEngines
62a1f644302c885adc9d80989ecc1268e029033d
348
hpp
C++
include/geometry/geometry_define.hpp
hyperpower/Nablla
5a9be9f3b064a235572a1a2c9c5c2c19118697c5
[ "MIT" ]
null
null
null
include/geometry/geometry_define.hpp
hyperpower/Nablla
5a9be9f3b064a235572a1a2c9c5c2c19118697c5
[ "MIT" ]
1
2018-06-18T03:52:56.000Z
2018-06-18T03:52:56.000Z
include/geometry/geometry_define.hpp
hyperpower/CarpioPlus
68cc6c976d6c3ba6adec847a94c344be3f4690aa
[ "MIT" ]
null
null
null
#ifndef GEOMETRY_DEFINE_HPP_ #define GEOMETRY_DEFINE_HPP_ #include "type_define.hpp" #include <math.h> namespace carpio { struct TagGeometry{ TagGeometry(){}; }; enum IntersectionTypeSS { _SS_NO_ = 0, // _SS_CONNECT_ = 1, // _SS_TOUCH_ = 2, // _SS_OVERLAP_ = 3, // _SS_SAME_ = 4, // _SS...
12.888889
28
0.646552
hyperpower
62ac6e54d23059ba4303fead2d807fded79f09a9
3,843
cc
C++
ch16/generic_programing/concepts.cc
leschus/cpp_primer_plus_6th
1d0ca7e22d41e5039dd08befd451c2c339e854f1
[ "MIT" ]
1
2022-03-04T08:34:18.000Z
2022-03-04T08:34:18.000Z
ch16/generic_programing/concepts.cc
leschus/cpp_primer_plus_6th
1d0ca7e22d41e5039dd08befd451c2c339e854f1
[ "MIT" ]
null
null
null
ch16/generic_programing/concepts.cc
leschus/cpp_primer_plus_6th
1d0ca7e22d41e5039dd08befd451c2c339e854f1
[ "MIT" ]
null
null
null
// 容器概念 // 使用set类为例, 对基本的容器特征进行测试 // C++11以前的容器类: // deque, list, queue, priority_queue, stack, vector, map, multimap, set, // multiset, bitset // C++11新增的容器类: // forward_list, unordered_map, unordered_multimap, unordered_set, // unordered_multiset // 另外, C++11不再将bitset视作容器, 而是一个独立的类别 #include <iostream> ...
27.255319
76
0.574811
leschus
62ac6eb54782f0cb92b7a798711b195b7f4f3c3e
3,830
hpp
C++
third_party/boost/simd/arch/common/scalar/function/ffs.hpp
SylvainCorlay/pythran
908ec070d837baf77d828d01c3e35e2f4bfa2bfa
[ "BSD-3-Clause" ]
6
2018-02-25T22:23:33.000Z
2021-01-15T15:13:12.000Z
third_party/boost/simd/arch/common/scalar/function/ffs.hpp
SylvainCorlay/pythran
908ec070d837baf77d828d01c3e35e2f4bfa2bfa
[ "BSD-3-Clause" ]
null
null
null
third_party/boost/simd/arch/common/scalar/function/ffs.hpp
SylvainCorlay/pythran
908ec070d837baf77d828d01c3e35e2f4bfa2bfa
[ "BSD-3-Clause" ]
7
2017-12-12T12:36:31.000Z
2020-02-10T14:27:07.000Z
//================================================================================================== /*! @file @copyright 2016 NumScale SAS Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ //===========================...
29.236641
100
0.527415
SylvainCorlay
62b7f1a3de9841764503afc26e6e98e936a756c6
1,013
cc
C++
basic/string/atoi_test.cc
chanchann/littleMickle
f3a839d8ad55f483bbac4e4224dcd35234c5aa00
[ "MIT" ]
1
2021-03-16T02:13:12.000Z
2021-03-16T02:13:12.000Z
basic/string/atoi_test.cc
chanchann/littleMickle
f3a839d8ad55f483bbac4e4224dcd35234c5aa00
[ "MIT" ]
null
null
null
basic/string/atoi_test.cc
chanchann/littleMickle
f3a839d8ad55f483bbac4e4224dcd35234c5aa00
[ "MIT" ]
null
null
null
#include <iostream> #include <string> int main() { std::string str = "200 OK\r\n" "accept-ranges: bytes\r\n" "cache-control: max-age=86400\r\n" "connection: keep-alive\r\n" "content-length: 81\r\n" ...
42.208333
99
0.411649
chanchann
4985f5c7e987a87eac34ea54b038baa8bbad7c28
749
cpp
C++
src/Kernel/RandomDevice.cpp
Terryhata6/Mengine
dfe36fdc84d7398fbbbd199feffc46c6f157f1d4
[ "MIT" ]
39
2016-04-21T03:25:26.000Z
2022-01-19T14:16:38.000Z
src/Kernel/RandomDevice.cpp
Terryhata6/Mengine
dfe36fdc84d7398fbbbd199feffc46c6f157f1d4
[ "MIT" ]
23
2016-06-28T13:03:17.000Z
2022-02-02T10:11:54.000Z
src/Kernel/RandomDevice.cpp
Terryhata6/Mengine
dfe36fdc84d7398fbbbd199feffc46c6f157f1d4
[ "MIT" ]
14
2016-06-22T20:45:37.000Z
2021-07-05T12:25:19.000Z
#include "RandomDevice.h" #include <chrono> namespace Mengine { namespace Helper { uint32_t generateRandomDeviceSeed() { std::chrono::system_clock::time_point now = std::chrono::system_clock::now(); std::chrono::time_point<std::chrono::system_clock, std::chrono::nanosec...
35.666667
158
0.654206
Terryhata6
4987d28df603c588f010350cde9b3e677c54078f
6,346
cpp
C++
src/utility.cpp
jlangvand/jucipp
0a3102f13e62d78a329d488fb1eb8812181e448e
[ "MIT" ]
null
null
null
src/utility.cpp
jlangvand/jucipp
0a3102f13e62d78a329d488fb1eb8812181e448e
[ "MIT" ]
null
null
null
src/utility.cpp
jlangvand/jucipp
0a3102f13e62d78a329d488fb1eb8812181e448e
[ "MIT" ]
null
null
null
#include "utility.hpp" #include <algorithm> #include <cstring> #include <vector> ScopeGuard::~ScopeGuard() { if(on_exit) on_exit(); } size_t utf8_character_count(const std::string &text, size_t pos, size_t length) noexcept { size_t characters = 0; auto size = length == std::string::npos ? text.size() : std:...
27.004255
106
0.593445
jlangvand
498a2d9b86e90f7f44ba21df87fe994325286b98
497
hpp
C++
include/core/p_render/backend/resources/Resource.hpp
jabronicus/P-Engine
7786c2f97d19bd2913b706f6afe5087a392b1a3c
[ "MIT" ]
null
null
null
include/core/p_render/backend/resources/Resource.hpp
jabronicus/P-Engine
7786c2f97d19bd2913b706f6afe5087a392b1a3c
[ "MIT" ]
null
null
null
include/core/p_render/backend/resources/Resource.hpp
jabronicus/P-Engine
7786c2f97d19bd2913b706f6afe5087a392b1a3c
[ "MIT" ]
1
2021-08-24T05:43:01.000Z
2021-08-24T05:43:01.000Z
#pragma once // this will be the generic graphics-backend resource class namespace backend { class Resource { public: // gonna try using these virtual bool isImage() const { return false; } virtual bool isBuffer() const { return false; } virtual bool isSwapchainImage...
15.060606
61
0.599598
jabronicus
498a310e91c3eef7ce5acff088c231cf8c9db07f
41
hpp
C++
src/gen/client.hpp
kazupon/kt-msgpack
a995eaaf01128b2b5f9d3a9cccc566de27c368cd
[ "Apache-2.0" ]
1
2021-08-16T03:14:21.000Z
2021-08-16T03:14:21.000Z
src/gen/client.hpp
kazupon/kt-msgpack
a995eaaf01128b2b5f9d3a9cccc566de27c368cd
[ "Apache-2.0" ]
null
null
null
src/gen/client.hpp
kazupon/kt-msgpack
a995eaaf01128b2b5f9d3a9cccc566de27c368cd
[ "Apache-2.0" ]
null
null
null
#include "KyotoTycoonService_client.hpp"
20.5
40
0.853659
kazupon
498c873b30d5f7eec1f769346b414c781cb364fd
7,535
cpp
C++
planning/scenario_planning/lane_driving/behavior_planning/behavior_velocity_planner/src/scene_module/occlusion_spot/grid_utils.cpp
loop-perception/AutowareArchitectureProposal.iv
5d8dff0db51634f0c42d2a3e87ca423fbee84348
[ "Apache-2.0" ]
12
2020-09-25T08:52:59.000Z
2020-10-05T02:39:31.000Z
planning/scenario_planning/lane_driving/behavior_planning/behavior_velocity_planner/src/scene_module/occlusion_spot/grid_utils.cpp
loop-perception/AutowareArchitectureProposal.iv
5d8dff0db51634f0c42d2a3e87ca423fbee84348
[ "Apache-2.0" ]
7
2021-12-13T04:28:48.000Z
2022-03-14T13:53:15.000Z
planning/scenario_planning/lane_driving/behavior_planning/behavior_velocity_planner/src/scene_module/occlusion_spot/grid_utils.cpp
taikitanaka3/AutowareArchitectureProposal.iv
0d47ea532118c98458516a8c83fbdab3d27c6231
[ "Apache-2.0" ]
9
2020-09-27T05:27:09.000Z
2020-10-08T03:14:25.000Z
// Copyright 2021 Tier IV, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to i...
37.675
99
0.652422
loop-perception
498ebe57c0a4b24adb5b38e1a0ac5f3d3a9962af
61
hpp
C++
src/boost_geometry_iterators_concatenate_iterator.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_geometry_iterators_concatenate_iterator.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_geometry_iterators_concatenate_iterator.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/geometry/iterators/concatenate_iterator.hpp>
30.5
60
0.852459
miathedev
499173e7eebb7f619f7390520efea01b14d7b662
8,388
cpp
C++
calc_sol/calc_unit_tests/TestCalculator.cpp
marcincinik/plot2d
9fbfa97bb0dc97feb9c8c190a097abba41e7da06
[ "Apache-2.0" ]
2
2019-02-13T15:47:18.000Z
2019-07-12T23:37:22.000Z
calc_sol/calc_unit_tests/TestCalculator.cpp
marcincinik/plot2d
9fbfa97bb0dc97feb9c8c190a097abba41e7da06
[ "Apache-2.0" ]
null
null
null
calc_sol/calc_unit_tests/TestCalculator.cpp
marcincinik/plot2d
9fbfa97bb0dc97feb9c8c190a097abba41e7da06
[ "Apache-2.0" ]
null
null
null
#include "stdafx.h" #include "TestCalculator.h" #include "..\calc_parser\Calculator.h" #include "CAssert.h" #include "CUnit.h" #include <vector> #include <string> using namespace std; using namespace cunit; using namespace parser; using namespace calc; namespace parser_tests { Calculator* calc; ...
28.726027
65
0.641631
marcincinik
4994ec2961840fc471a42418464dd4197e0b43e4
1,242
cpp
C++
aws-cpp-sdk-location/source/model/UpdateRouteCalculatorResult.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-12T08:09:30.000Z
2022-02-12T08:09:30.000Z
aws-cpp-sdk-location/source/model/UpdateRouteCalculatorResult.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2021-10-14T16:57:00.000Z
2021-10-18T10:47:24.000Z
aws-cpp-sdk-location/source/model/UpdateRouteCalculatorResult.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T11:58:03.000Z
2021-11-09T11:58:03.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/location/model/UpdateRouteCalculatorResult.h> #include <aws/core/utils/json/JsonSerializer.h> #include <aws/core/AmazonWebServiceResult.h> #include <aws/core/utils/StringUtils.h> #includ...
23.433962
122
0.761675
perfectrecall
499537ad39bcd5d5ac68d9f657c0261f716b0387
458
cpp
C++
mine/739-daily_temperatures.cpp
Junlin-Yin/myLeetCode
8a33605d3d0de9faa82b5092a8e9f56b342c463f
[ "MIT" ]
null
null
null
mine/739-daily_temperatures.cpp
Junlin-Yin/myLeetCode
8a33605d3d0de9faa82b5092a8e9f56b342c463f
[ "MIT" ]
null
null
null
mine/739-daily_temperatures.cpp
Junlin-Yin/myLeetCode
8a33605d3d0de9faa82b5092a8e9f56b342c463f
[ "MIT" ]
null
null
null
class Solution { public: vector<int> dailyTemperatures(vector<int>& temperatures) { int n = temperatures.size(); stack<int> st; vector<int> ans(n); for(int i = n - 1; i >= 0; --i){ int ti = temperatures[i]; while(!st.empty() && temperatures[st.top()] <...
30.533333
75
0.456332
Junlin-Yin
499730db0c20040887aa7b39c615fe8f97b4e963
56,271
cc
C++
osrm-ch/src/protobuf/query-graph.pb.cc
dingchunda/osrm-backend
8750749b83bd9193ca3481c630eefda689ecb73c
[ "BSD-2-Clause" ]
null
null
null
osrm-ch/src/protobuf/query-graph.pb.cc
dingchunda/osrm-backend
8750749b83bd9193ca3481c630eefda689ecb73c
[ "BSD-2-Clause" ]
1
2019-11-21T09:59:27.000Z
2019-11-21T09:59:27.000Z
osrm-ch/src/protobuf/query-graph.pb.cc
dingchunda/osrm-backend
8750749b83bd9193ca3481c630eefda689ecb73c
[ "BSD-2-Clause" ]
null
null
null
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: query-graph.proto #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION #include "query-graph.pb.h" #include <algorithm> #include <google/protobuf/stubs/common.h> #include <google/protobuf/stubs/port.h> #include <google/protobuf/stubs/once.h> #inc...
30.799672
143
0.690071
dingchunda
499b2eee39f3430bb2cf9d07f0dc5e53ccecef79
3,313
hpp
C++
include/womf/AudioStream.hpp
raster77/womf
20d39cd0c989a63fce365f795a609faff672d27d
[ "MIT" ]
null
null
null
include/womf/AudioStream.hpp
raster77/womf
20d39cd0c989a63fce365f795a609faff672d27d
[ "MIT" ]
null
null
null
include/womf/AudioStream.hpp
raster77/womf
20d39cd0c989a63fce365f795a609faff672d27d
[ "MIT" ]
null
null
null
#ifndef WOMF_AUDIOSTREAM_HPP_ #define WOMF_AUDIOSTREAM_HPP_ #include "AudioResource.hpp" #include "AudioFormat.hpp" #include "AudioStreamState.hpp" #include "miniaudio/miniaudio.h" #include <memory> #include <string> namespace womf { class AudioStream : public AudioResource { public: AudioStream(); ...
21.374194
115
0.549049
raster77
499bcdd759d1d8a0e1cd10111c6dac8cc00541a0
1,444
cpp
C++
Sima/Kukua/Classes/NightrunnerGame_1_4/NR_Counter.cpp
Megapop/Norad-Eduapp4syria
20b887dd9e1fe55a5b15cd6cd36a85265bfd819e
[ "BSD-2-Clause" ]
null
null
null
Sima/Kukua/Classes/NightrunnerGame_1_4/NR_Counter.cpp
Megapop/Norad-Eduapp4syria
20b887dd9e1fe55a5b15cd6cd36a85265bfd819e
[ "BSD-2-Clause" ]
null
null
null
Sima/Kukua/Classes/NightrunnerGame_1_4/NR_Counter.cpp
Megapop/Norad-Eduapp4syria
20b887dd9e1fe55a5b15cd6cd36a85265bfd819e
[ "BSD-2-Clause" ]
1
2018-09-10T08:29:13.000Z
2018-09-10T08:29:13.000Z
#include "NR_Counter.h" #include "../Utils/StringUtility.h" NR_Counter::NR_Counter(Node& parentNode, string nodeName, EventDispatcher* eventDispatcher) : GameObject(parentNode, nodeName, "NightrunnerGame_1_4/csd/Ball.csb") { _eventDispatcher = eventDispatcher; CCLOG("NR_Counter()"); currentPieces...
25.333333
95
0.653047
Megapop
49a41211fe0e36eea80b398b761900a1a155d94b
5,226
hpp
C++
Mesh.hpp
AidenSaltyFish/IN4152_OpenGl_Game
9dbf51f21e1a7c6b3d1e712da97c69cde85808d0
[ "MIT" ]
null
null
null
Mesh.hpp
AidenSaltyFish/IN4152_OpenGl_Game
9dbf51f21e1a7c6b3d1e712da97c69cde85808d0
[ "MIT" ]
null
null
null
Mesh.hpp
AidenSaltyFish/IN4152_OpenGl_Game
9dbf51f21e1a7c6b3d1e712da97c69cde85808d0
[ "MIT" ]
null
null
null
#pragma once #ifndef MESH_H #define MESH_H // #include <glad/glad.h> // holds all OpenGL type declarations #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> #include <glm/gtc/type_ptr.hpp> // #include "shader_m.h" #include "Shader.hpp" #include "FPSCamera.hpp" #include <string> #incl...
31.672727
124
0.690586
AidenSaltyFish
49a49363a2bf22d2c29e3191b67c1f5baccfdac3
3,010
cpp
C++
src/wolmodel.cpp
dashinfantry/Exawake
01e7f534520431150762b769a7b86c221f364446
[ "WTFPL" ]
null
null
null
src/wolmodel.cpp
dashinfantry/Exawake
01e7f534520431150762b769a7b86c221f364446
[ "WTFPL" ]
null
null
null
src/wolmodel.cpp
dashinfantry/Exawake
01e7f534520431150762b769a7b86c221f364446
[ "WTFPL" ]
1
2020-11-14T07:15:17.000Z
2020-11-14T07:15:17.000Z
#include "wolmodel.h" #include "wol.cpp/wol.cpp" WOLModel::WOLModel(QAbstractListModel *parent) : QAbstractListModel(parent) { _settings = new QSettings("verdanditeam", "exawake"); int size = _settings->beginReadArray("servers"); for (int i = 0; i < size; ++i) { _settings->setArrayIndex(i); ...
25.948276
93
0.642193
dashinfantry
49a6918fd2ba98ae457dafc51b6ba843be5a3616
753
cpp
C++
C++/Functions/functions.cpp
IsaacAsante/hackerrank
76c430b341ce1e2ab427eda57508eb309d3b215b
[ "MIT" ]
108
2021-03-29T05:04:16.000Z
2022-03-19T15:11:52.000Z
C++/Functions/functions.cpp
IsaacAsante/hackerrank
76c430b341ce1e2ab427eda57508eb309d3b215b
[ "MIT" ]
null
null
null
C++/Functions/functions.cpp
IsaacAsante/hackerrank
76c430b341ce1e2ab427eda57508eb309d3b215b
[ "MIT" ]
32
2021-03-30T03:56:54.000Z
2022-03-27T14:41:32.000Z
/* Author: Isaac Asante * HackerRank URL for this exercise: https://www.hackerrank.com/challenges/c-tutorial-functions/problem * Original video explanation: https://www.youtube.com/watch?v=lkKSlGJ-2ek * Last verified on: April 17, 2021 */ /* IMPORTANT: * This is the full code for the solution. * Some headers wer...
23.53125
103
0.625498
IsaacAsante
49a8aa370b54bb1b81e8a9bea65e585030fe8aa2
1,552
cpp
C++
src/SceneLoader.cpp
inugami-dev64/deng
96e5bc4c9c9a91aa46cb7c71927853b0a764f7d9
[ "Apache-2.0" ]
null
null
null
src/SceneLoader.cpp
inugami-dev64/deng
96e5bc4c9c9a91aa46cb7c71927853b0a764f7d9
[ "Apache-2.0" ]
null
null
null
src/SceneLoader.cpp
inugami-dev64/deng
96e5bc4c9c9a91aa46cb7c71927853b0a764f7d9
[ "Apache-2.0" ]
null
null
null
// DENG: dynamic engine - small but powerful 3D game engine // licence: Apache, see LICENCE file // file: SceneLoader.cpp - Scene loader class implementation // author: Karl-Mihkel Ott #define SCENE_LOADER_CPP #include <SceneLoader.h> namespace DENG { uint32_t SceneLoader::m_scene_index = 0; SceneLoader::Sc...
36.952381
220
0.686211
inugami-dev64
49a99acb92bd4d331e98346ef83141befe9ad3d7
2,707
cpp
C++
media_server.cpp
runner365/cpp_media_server
045e962e5c7f01d5252be415f2c2a9f183f5c409
[ "MIT" ]
116
2021-09-07T12:16:59.000Z
2022-03-28T12:44:47.000Z
media_server.cpp
runner365/cpp_media_server
045e962e5c7f01d5252be415f2c2a9f183f5c409
[ "MIT" ]
4
2022-03-01T18:54:50.000Z
2022-03-28T14:22:43.000Z
media_server.cpp
runner365/cpp_media_server
045e962e5c7f01d5252be415f2c2a9f183f5c409
[ "MIT" ]
22
2021-09-07T12:53:40.000Z
2022-03-27T11:30:17.000Z
#include "rtmp_server.hpp" #include "ws_server.hpp" #include "httpflv_server.hpp" #include "net/webrtc/webrtc_pub.hpp" #include "net/webrtc/rtc_dtls.hpp" #include "net/webrtc/srtp_session.hpp" #include "net/hls/hls_writer.hpp" #include "utils/byte_crypto.hpp" #include "utils/av/media_stream_manager.hpp" #include "logge...
32.22619
112
0.711119
runner365
49af3882f87ef261b231d4224e98968a56b62e8e
17,605
cpp
C++
Extern/mssdk_dx7/samples/Multimedia/DInput/src/Tutorials/DIEx5/diex5.cpp
Ybalrid/orbiter
7bed82f845ea8347f238011367e07007b0a24099
[ "MIT" ]
1,040
2021-07-27T12:12:06.000Z
2021-08-02T14:24:49.000Z
Extern/mssdk_dx7/samples/Multimedia/DInput/src/Tutorials/DIEx5/diex5.cpp
Ybalrid/orbiter
7bed82f845ea8347f238011367e07007b0a24099
[ "MIT" ]
20
2021-07-27T12:25:22.000Z
2021-08-02T12:22:19.000Z
Extern/mssdk_dx7/samples/Multimedia/DInput/src/Tutorials/DIEx5/diex5.cpp
Ybalrid/orbiter
7bed82f845ea8347f238011367e07007b0a24099
[ "MIT" ]
71
2021-07-27T14:19:49.000Z
2021-08-02T05:51:52.000Z
//----------------------------------------------------------------------------- // Name: DIEx5.cpp // // Desc: DirectInput simple sample 5 // Demonstrates an application which retrieves buffered HID data // in non-exclusive mode via a blocking loop. // // Copyright (C) 1997-1999 Microsoft Corporation. All R...
33.092105
79
0.526214
Ybalrid
49b55d07e5e6e16defe7830090750b8ea5d30a75
6,541
cpp
C++
previewselectdialog.cpp
silverqx/qMedia
33447c3dba32c430f4afac797ee6438b60809dda
[ "MIT" ]
null
null
null
previewselectdialog.cpp
silverqx/qMedia
33447c3dba32c430f4afac797ee6438b60809dda
[ "MIT" ]
null
null
null
previewselectdialog.cpp
silverqx/qMedia
33447c3dba32c430f4afac797ee6438b60809dda
[ "MIT" ]
null
null
null
#include "previewselectdialog.h" #include "ui_previewselectdialog.h" #include <QDir> #include <QMessageBox> #include <QPushButton> #include <QScrollBar> #include <QShowEvent> #include <QStandardItemModel> #include <QtSql/QSqlRecord> #include "common.h" #include "previewlistdelegate.h" // TODO get rid of this include,...
38.02907
112
0.669622
silverqx
49b68274c21653bc8b1a8bbec85d53796f0d5628
3,636
cpp
C++
main.cpp
komrad36/SongOfTheFloppies
97075101bd78f8aea033704605fb98ddcec8d467
[ "MIT" ]
null
null
null
main.cpp
komrad36/SongOfTheFloppies
97075101bd78f8aea033704605fb98ddcec8d467
[ "MIT" ]
null
null
null
main.cpp
komrad36/SongOfTheFloppies
97075101bd78f8aea033704605fb98ddcec8d467
[ "MIT" ]
null
null
null
/******************************************************************* * main.cpp * SongOfTheFloppies * Kareem Omar * * 6/18/2015 * This program is entirely my own work. *******************************************************************/ // SongOfTheFloppies parses any MIDI file into an internal structure // and ...
23.61039
83
0.682068
komrad36
49b976bcfdd358fc7a252fd9907180be1a4aebd3
9,058
cpp
C++
testapp/scenes/physics/dominoday.cpp
ColinGilbert/d-collide
8adb354d52e7ee49705ca2853d50a6a879f3cd49
[ "BSD-3-Clause" ]
6
2015-12-08T05:38:03.000Z
2021-04-09T13:45:59.000Z
testapp/scenes/physics/dominoday.cpp
ColinGilbert/d-collide
8adb354d52e7ee49705ca2853d50a6a879f3cd49
[ "BSD-3-Clause" ]
null
null
null
testapp/scenes/physics/dominoday.cpp
ColinGilbert/d-collide
8adb354d52e7ee49705ca2853d50a6a879f3cd49
[ "BSD-3-Clause" ]
null
null
null
/******************************************************************************* * Copyright (C) 2007 by the members of PG 510, University of Dortmund: * * d-collide-devel@lists.sourceforge.net * * * Andreas Beckermann, Christian Bode, Marcel Ens, Sebastian Ens, ...
36.37751
104
0.554206
ColinGilbert
49bdfaf4ce6aeddfb53b66b5d100948342f8a966
4,169
hpp
C++
libs/boost_1_72_0/boost/beast/http/detail/basic_parser.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
libs/boost_1_72_0/boost/beast/http/detail/basic_parser.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
libs/boost_1_72_0/boost/beast/http/detail/basic_parser.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
// // Copyright (c) 2016-2019 Vinnie Falco (vinnie dot falco at gmail dot com) // // 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) // // Official repository: https://github.com/boostorg/beast // #ifndef BOOST_BEAST_...
29.153846
80
0.623891
henrywarhurst
49c632dc15494dfc9454b40661a13e008a5cccc3
2,026
hpp
C++
timer/GUI/GUISelectorList.hpp
MaticVrtacnik/ProceduralnaAnimacija
bc47ccc721d1bedb31ed5949eb740892f094897a
[ "MIT" ]
null
null
null
timer/GUI/GUISelectorList.hpp
MaticVrtacnik/ProceduralnaAnimacija
bc47ccc721d1bedb31ed5949eb740892f094897a
[ "MIT" ]
null
null
null
timer/GUI/GUISelectorList.hpp
MaticVrtacnik/ProceduralnaAnimacija
bc47ccc721d1bedb31ed5949eb740892f094897a
[ "MIT" ]
null
null
null
/* MIT License Copyright (c) 2019 MaticVrtacnik Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, ...
28.138889
94
0.725074
MaticVrtacnik
49ca74910e6934778da48dbbb86b0bda43bfa1a0
489
hpp
C++
library/ATF/$C2F6557BF5244D9840704C1D21365DBC.hpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
library/ATF/$C2F6557BF5244D9840704C1D21365DBC.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
library/ATF/$C2F6557BF5244D9840704C1D21365DBC.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
44
2017-12-19T08:02:59.000Z
2022-02-24T23:15:01.000Z
// This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually #pragma once #include <common/common.h> #include <$42A3CB4E031CC824EFC3D0F4D1894CCF.hpp> START_ATF_NAMESPACE union $C2F6557BF5244D9840704C1D21365DBC { $42A3CB4E031CC824EFC3D0F4D1894CCF __s0; ...
30.5625
111
0.762781
lemkova
49d268bd3f548624b4d709ab00aa2b00b3501c88
1,021
cpp
C++
desktop_version/new/Window.cpp
curaai00/VVVVVV_new
de1364089659f6da5a1518b606cbd9e34e9c83ce
[ "RSA-MD" ]
3
2020-10-05T01:30:21.000Z
2020-10-06T07:50:46.000Z
desktop_version/new/Window.cpp
curaai00/VVVVVV_new
de1364089659f6da5a1518b606cbd9e34e9c83ce
[ "RSA-MD" ]
null
null
null
desktop_version/new/Window.cpp
curaai00/VVVVVV_new
de1364089659f6da5a1518b606cbd9e34e9c83ce
[ "RSA-MD" ]
null
null
null
#include "Window.h" #include "Resource.h" Window::Window() { SDL_CreateWindowAndRenderer(width, height, SDL_WINDOW_RESIZABLE, &m_window, &m_renderer); m_screen = util::sdl::create({width, height}); m_screenTexture = SDL_CreateTexture(m_renderer, SDL_PIXELFORMAT_ABGR8888, ...
30.029412
84
0.68952
curaai00
49d2d180da43e0031f2cf01d31288c59cea63005
986
cpp
C++
src/alasthope/alasthope/engine/terrain_infos.cpp
jbuechner/alasthope
63a249ea49db0d8ad8462840ee9c1c57a2ea4097
[ "MIT" ]
null
null
null
src/alasthope/alasthope/engine/terrain_infos.cpp
jbuechner/alasthope
63a249ea49db0d8ad8462840ee9c1c57a2ea4097
[ "MIT" ]
null
null
null
src/alasthope/alasthope/engine/terrain_infos.cpp
jbuechner/alasthope
63a249ea49db0d8ad8462840ee9c1c57a2ea4097
[ "MIT" ]
null
null
null
#include "pch.h" #include <unordered_map> #include "terrain_infos.h" namespace { using namespace engine; std::string _none_name{ "n/a" }; std::string _sand_name{ "sands" }; std::string _badland_name { "badlands" }; terrain_info _none { 0, _none_name }; terrain_info _sand { 1, _sand_name }; terrain_info _ba...
17.607143
85
0.701826
jbuechner
49d6be9233bee6a5dc4c13721ccf82700f87bea0
4,637
cpp
C++
submitted_models/bosdyn_spot/src/mono_camera_system.cpp
jfkeller/subt_explorer_canary1_sensor_config_1
1f0419130b79f48c66e83c084e704e521782a95a
[ "ECL-2.0", "Apache-2.0" ]
173
2020-04-09T18:39:39.000Z
2022-03-15T06:15:07.000Z
submitted_models/bosdyn_spot/src/mono_camera_system.cpp
jfkeller/subt_explorer_canary1_sensor_config_1
1f0419130b79f48c66e83c084e704e521782a95a
[ "ECL-2.0", "Apache-2.0" ]
538
2020-04-09T18:34:04.000Z
2022-02-20T09:53:17.000Z
submitted_models/bosdyn_spot/src/mono_camera_system.cpp
jfkeller/subt_explorer_canary1_sensor_config_1
1f0419130b79f48c66e83c084e704e521782a95a
[ "ECL-2.0", "Apache-2.0" ]
89
2020-04-14T20:46:48.000Z
2022-03-14T16:45:30.000Z
#include <memory> #include <ignition/msgs/double.pb.h> #include <ignition/msgs/camera_info.pb.h> #include <ignition/msgs/image.pb.h> #include <ignition/plugin/Register.hh> #include <ignition/transport/Node.hh> #include <ignition/gazebo/Model.hh> #include <ignition/gazebo/System.hh> #include <ignition/gazebo/World.hh...
32.426573
115
0.671555
jfkeller
49dafa05685f2695f7cf073db87c9f689094c16c
13
hpp
C++
test/sunaba/move/waku.hpp
homirun/CLI_GAME
c3f86a75c15394a112be8a0aa80edccf30256ad2
[ "MIT" ]
2
2018-07-10T23:36:51.000Z
2018-07-20T15:43:59.000Z
test/sunaba/move/waku.hpp
homirun/CLI_GAME
c3f86a75c15394a112be8a0aa80edccf30256ad2
[ "MIT" ]
2
2018-07-03T08:01:41.000Z
2018-07-22T06:12:20.000Z
test/sunaba/move/waku.hpp
homirun/Container_Club
c3f86a75c15394a112be8a0aa80edccf30256ad2
[ "MIT" ]
null
null
null
void waku();
6.5
12
0.615385
homirun
49e18dad59c059bff5a19872093de72aa94fb89f
2,454
hpp
C++
src/armnn/backends/ClTensorHandle.hpp
Air000/armnn_s32v
ec3ee60825d6b7642a70987c4911944cef7a3ee6
[ "MIT" ]
1
2019-03-19T08:44:28.000Z
2019-03-19T08:44:28.000Z
src/armnn/backends/ClTensorHandle.hpp
Air000/armnn_s32v
ec3ee60825d6b7642a70987c4911944cef7a3ee6
[ "MIT" ]
null
null
null
src/armnn/backends/ClTensorHandle.hpp
Air000/armnn_s32v
ec3ee60825d6b7642a70987c4911944cef7a3ee6
[ "MIT" ]
1
2019-10-11T05:58:56.000Z
2019-10-11T05:58:56.000Z
// // Copyright © 2017 Arm Ltd. All rights reserved. // See LICENSE file in the project root for full license information. // #pragma once #include "OutputHandler.hpp" #include "ArmComputeTensorUtils.hpp" #include <arm_compute/runtime/CL/CLTensor.h> #include <arm_compute/runtime/CL/CLSubTensor.h> #include <arm_compu...
28.534884
112
0.713936
Air000
49e56a8767e1e078f6fb2af700c8ae45ac0fb7fc
147
cpp
C++
engine/src/ImGui/imguibuild.cpp
mrcoalp/dempsta-engine
5f60094c0f9eb2bc4541dcd96cdab3f0eafb7346
[ "MIT" ]
1
2020-12-08T17:15:46.000Z
2020-12-08T17:15:46.000Z
engine/src/ImGui/imguibuild.cpp
mrcoalp/dempsta-engine
5f60094c0f9eb2bc4541dcd96cdab3f0eafb7346
[ "MIT" ]
null
null
null
engine/src/ImGui/imguibuild.cpp
mrcoalp/dempsta-engine
5f60094c0f9eb2bc4541dcd96cdab3f0eafb7346
[ "MIT" ]
null
null
null
#define IMGUI_IMPL_OPENGL_LOADER_GLAD #include <examples/imgui_impl_opengl3.cpp> // Keep order of includes #include <examples/imgui_impl_glfw.cpp>
29.4
42
0.836735
mrcoalp
49e6d9fda063b8f6183779daa787d0c906059895
1,356
cc
C++
nox/src/lib/flow-stats-in.cc
ayjazz/OESS
deadc504d287febc7cbd7251ddb102bb5c8b1f04
[ "Apache-2.0" ]
28
2015-02-04T13:59:25.000Z
2021-12-29T03:44:47.000Z
nox/src/lib/flow-stats-in.cc
ayjazz/OESS
deadc504d287febc7cbd7251ddb102bb5c8b1f04
[ "Apache-2.0" ]
552
2015-01-05T18:25:54.000Z
2022-03-16T18:51:13.000Z
nox/src/lib/flow-stats-in.cc
ayjazz/OESS
deadc504d287febc7cbd7251ddb102bb5c8b1f04
[ "Apache-2.0" ]
25
2015-02-04T18:48:20.000Z
2020-06-18T15:51:05.000Z
#include "flow-stats-in.hh" #include <vector> namespace vigil { Flow_stats::Flow_stats(const ofp_flow_stats* ofs) : action_data(new uint8_t[ntohs(ofs->length) - sizeof *ofs]) { *(ofp_flow_stats*) this = *ofs; memcpy(action_data.get(), ofs->actions, ntohs(ofs->length) - sizeof *ofs); uint8_t * p = (uin...
30.818182
78
0.585546
ayjazz
49e71997eeba6fb6925db11e22c53a1c21e4ba7a
134
hpp
C++
openstudiocore/src/isomodel/mainpage.hpp
zhouchong90/OpenStudio
f8570cb8297547b5e9cc80fde539240d8f7b9c24
[ "BSL-1.0", "blessing" ]
4
2015-05-02T21:04:15.000Z
2015-10-28T09:47:22.000Z
openstudiocore/src/isomodel/mainpage.hpp
zhouchong90/OpenStudio
f8570cb8297547b5e9cc80fde539240d8f7b9c24
[ "BSL-1.0", "blessing" ]
null
null
null
openstudiocore/src/isomodel/mainpage.hpp
zhouchong90/OpenStudio
f8570cb8297547b5e9cc80fde539240d8f7b9c24
[ "BSL-1.0", "blessing" ]
1
2020-11-12T21:52:36.000Z
2020-11-12T21:52:36.000Z
namespace openstudio { namespace isomodel { /** \mainpage OpenStudio ISOModel Translator * * */ } // isomodel } // openstudio
14.888889
45
0.671642
zhouchong90
49e8e5fd0a7decdb38f0dafe6fcfe2993fb2ea47
2,541
hpp
C++
inc/trie.hpp
yang-le/cpp-algorithms
0c1f422bc1e9fefa1a7d430b4a13ef7795420a2e
[ "MIT" ]
null
null
null
inc/trie.hpp
yang-le/cpp-algorithms
0c1f422bc1e9fefa1a7d430b4a13ef7795420a2e
[ "MIT" ]
null
null
null
inc/trie.hpp
yang-le/cpp-algorithms
0c1f422bc1e9fefa1a7d430b4a13ef7795420a2e
[ "MIT" ]
null
null
null
// MIT License // Copyright (c) 2018 Yang Le // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, ...
33.434211
81
0.690673
yang-le
49ecbaf654f2bb046b9771fb73b6c75925af72a9
1,671
cpp
C++
unit-tests.wsjcpp/src/unit_test_get_env.cpp
wsjcpp/wsjcpp-core
b445f0cf73d6d6abfa2c10a14352f35f2f2d16bd
[ "MIT" ]
1
2019-11-22T19:29:38.000Z
2019-11-22T19:29:38.000Z
unit-tests.wsjcpp/src/unit_test_get_env.cpp
wsjcpp/wsjcpp-core
b445f0cf73d6d6abfa2c10a14352f35f2f2d16bd
[ "MIT" ]
30
2020-01-06T06:59:57.000Z
2021-08-29T05:34:54.000Z
unit-tests.wsjcpp/src/unit_test_get_env.cpp
wsjcpp/wsjcpp-core
b445f0cf73d6d6abfa2c10a14352f35f2f2d16bd
[ "MIT" ]
null
null
null
#include "unit_test_get_env.h" #include <vector> #include <wsjcpp_core.h> REGISTRY_WSJCPP_UNIT_TEST(UnitTestGetEnv) UnitTestGetEnv::UnitTestGetEnv() : WsjcppUnitTestBase("UnitTestGetEnv") { } // --------------------------------------------------------------------- bool UnitTestGetEnv::doBeforeTest() { // no...
31.528302
98
0.559545
wsjcpp
49f4b8cfe6425c908ebe4f93ed83f1f30ddca27d
1,547
cpp
C++
assign7/Iterator.cpp
wbjeon2k/uni06_archive
5c37716d5c011f2aa23675778b0947c064882856
[ "MIT" ]
null
null
null
assign7/Iterator.cpp
wbjeon2k/uni06_archive
5c37716d5c011f2aa23675778b0947c064882856
[ "MIT" ]
null
null
null
assign7/Iterator.cpp
wbjeon2k/uni06_archive
5c37716d5c011f2aa23675778b0947c064882856
[ "MIT" ]
null
null
null
#include "Iterator.h" #include <iostream> using namespace std; Iterator::Iterator(Node *currIn) { curr = currIn; } const string Iterator::operator*() const { string tmp = this->curr->getWord(); delete curr; return tmp; } Iterator& Iterator::operator++() {//prefix this->curr = this->curr->getNext(); return *t...
16.815217
57
0.641888
wbjeon2k
49f85b08dcbec6dc05fff6e2280fb4dd7d34af41
1,551
hpp
C++
Enginelib/src/components/polygoncollider.hpp
kalsipp/vsxpanse
7887d234312283ce1ace03bed610642b0c6f96b1
[ "MIT" ]
null
null
null
Enginelib/src/components/polygoncollider.hpp
kalsipp/vsxpanse
7887d234312283ce1ace03bed610642b0c6f96b1
[ "MIT" ]
null
null
null
Enginelib/src/components/polygoncollider.hpp
kalsipp/vsxpanse
7887d234312283ce1ace03bed610642b0c6f96b1
[ "MIT" ]
null
null
null
#pragma once #include "../collider.hpp" #include <vector> class Projection { public: Projection(double min, double max) :m_min(min), m_max(max) {} const double m_min; const double m_max; bool overlap(const Projection& other); bool contains(const Projection& other); private: }; class CircleCollider; class Polyg...
31.653061
153
0.717602
kalsipp
8e6ba4c7150c041e66b163fb3ec4b2e6ee44ac21
3,486
cpp
C++
main.cpp
bigfatbrowncat/Detect3D
f6538b1c29c5f15fba39bed38a20496c0320023c
[ "MIT" ]
null
null
null
main.cpp
bigfatbrowncat/Detect3D
f6538b1c29c5f15fba39bed38a20496c0320023c
[ "MIT" ]
null
null
null
main.cpp
bigfatbrowncat/Detect3D
f6538b1c29c5f15fba39bed38a20496c0320023c
[ "MIT" ]
1
2018-11-25T13:18:58.000Z
2018-11-25T13:18:58.000Z
#include <opencv2/core/core.hpp> #include <opencv2/imgcodecs/imgcodecs.hpp> #include <opencv2/imgcodecs/imgcodecs_c.h> #include <opencv2/imgproc/imgproc.hpp> #include <assert.h> #include <iostream> #include <vector> using namespace cv; using namespace std; double getPSNR(const Mat& I1, const Mat& I2) { Mat s1; abs...
28.112903
143
0.614458
bigfatbrowncat
8e6ca4f9aa66081aac7137470935be0a4d22d7b8
16,441
cpp
C++
src/Lib/rfc3550/Rtcp.cpp
miseri/rtp_plus_plus
244ddd86f40f15247dd39ae7f9283114c2ef03a2
[ "BSD-3-Clause" ]
1
2021-07-14T08:15:05.000Z
2021-07-14T08:15:05.000Z
src/Lib/rfc3550/Rtcp.cpp
7956968/rtp_plus_plus
244ddd86f40f15247dd39ae7f9283114c2ef03a2
[ "BSD-3-Clause" ]
null
null
null
src/Lib/rfc3550/Rtcp.cpp
7956968/rtp_plus_plus
244ddd86f40f15247dd39ae7f9283114c2ef03a2
[ "BSD-3-Clause" ]
2
2021-07-14T08:15:02.000Z
2021-07-14T08:56:10.000Z
#include "CorePch.h" #include <rtp++/rfc3550/Rtcp.h> #include <boost/make_shared.hpp> #include <cpputil/IBitStream.h> #include <cpputil/OBitStream.h> #include <cpputil/Utility.h> #include <rtp++/RtpTime.h> namespace rtp_plus_plus { namespace rfc3550 { RtcpRrReportBlock::RtcpRrReportBlock() :m_uiReporteeSSRC(0), m_u...
25.609034
190
0.677514
miseri
8e6e46a878037d2cf92101889bcb17206de8194d
1,516
cpp
C++
mandelbrot/input.cpp
matt360/Mandelbrot-AMP
4821844ba30ae33290442f25b65eff983ffa9e0f
[ "MIT" ]
null
null
null
mandelbrot/input.cpp
matt360/Mandelbrot-AMP
4821844ba30ae33290442f25b65eff983ffa9e0f
[ "MIT" ]
null
null
null
mandelbrot/input.cpp
matt360/Mandelbrot-AMP
4821844ba30ae33290442f25b65eff983ffa9e0f
[ "MIT" ]
1
2021-04-11T21:52:04.000Z
2021-04-11T21:52:04.000Z
// Input class // Stores current keyboard and mouse state include, pressed keys, mouse button pressed and mouse position. // @author Paul Robertson #include "Input.h" void Input::SetKeyDown(unsigned char key) { keys[key] = true; } void Input::SetKeyUp(unsigned char key) { keys[key] = false; } bool Input::isKeyDow...
13.415929
106
0.712401
matt360
8e6eee3ebc8556f93fa2d0f808e3e236de4a880a
2,304
cpp
C++
VCMP API Extended/VCMP API Extended/Marker.cpp
NicusorN5/VCMP-API-Extender
42f1fd502cd33d165959eadf79ab3786795bc0f9
[ "Apache-2.0" ]
1
2019-09-15T10:45:37.000Z
2019-09-15T10:45:37.000Z
VCMP API Extended/VCMP API Extended/Marker.cpp
NicusorN5/VCMP-API-Extender
42f1fd502cd33d165959eadf79ab3786795bc0f9
[ "Apache-2.0" ]
null
null
null
VCMP API Extended/VCMP API Extended/Marker.cpp
NicusorN5/VCMP-API-Extender
42f1fd502cd33d165959eadf79ab3786795bc0f9
[ "Apache-2.0" ]
null
null
null
#include "pch.h" #include "Marker.h" bool VCMP::Marker::CreatedMarkers[128] = { false }; VCMP::Marker::Marker(int world, Vector3 position, int scale, VCMP::Color color, int Sprite) { int valid_id = 0; for (int i = 0; i < 128; i++) { if (this->CreatedMarkers[i] == false) { this->CreatedMarkers[i] = true; ...
20.756757
106
0.657552
NicusorN5
8e775a5ab2e0b12a5108ae9b6cc1ff352e5a1fb2
1,210
cpp
C++
device/lib/Firmware/Firmware.cpp
zostay/Mysook
3611ddf0a116d18ebc58a3050f9fe35c2684c906
[ "Artistic-2.0" ]
3
2019-06-30T04:15:18.000Z
2019-12-19T17:32:07.000Z
device/lib/Firmware/Firmware.cpp
zostay/Mysook
3611ddf0a116d18ebc58a3050f9fe35c2684c906
[ "Artistic-2.0" ]
null
null
null
device/lib/Firmware/Firmware.cpp
zostay/Mysook
3611ddf0a116d18ebc58a3050f9fe35c2684c906
[ "Artistic-2.0" ]
null
null
null
#include <Firmware.h> #include <cstdarg> #include <climits> #ifndef ARDUINO #include <sys/time.h> // precision clock #include <errno.h> #include <cstdio> #include <cstring> #endif using namespace mysook; #ifdef ARDUINO unsigned long mysook::get_micros() { return micros(); } #else unsigned long mysook::get_micros() {...
22.407407
83
0.657025
zostay
8e7846f631db48709903f75a750af8d55b832781
1,265
hpp
C++
source/controller/State.hpp
Godlike/Xanthus
f35a5fd8b7aa974f5fcb37bf5bb8df3f2602847d
[ "MIT" ]
null
null
null
source/controller/State.hpp
Godlike/Xanthus
f35a5fd8b7aa974f5fcb37bf5bb8df3f2602847d
[ "MIT" ]
null
null
null
source/controller/State.hpp
Godlike/Xanthus
f35a5fd8b7aa974f5fcb37bf5bb8df3f2602847d
[ "MIT" ]
null
null
null
#ifndef XANTHUS_CONTROLLER_STATE_HPP #define XANTHUS_CONTROLLER_STATE_HPP #include "entity/Entity.hpp" #include "entity/World.hpp" #include "component/PositionComponent.hpp" #include "component/DummyComponent.hpp" #include "system/Skeleton.hpp" #include <unicorn/utility/templates/Singleton.hpp> #include <memory> ...
22.192982
105
0.730435
Godlike
8e791be34046e5c937386e7f7026f35fcd71a39c
3,936
cpp
C++
Unfalse Engine/Source Code/GameObject.cpp
Sauko22/Unfalse-Engine
6fe308c53a05e1bb62eecb35bba6471a29a38404
[ "MIT" ]
1
2020-12-15T11:42:20.000Z
2020-12-15T11:42:20.000Z
Unfalse Engine/Source Code/GameObject.cpp
Sauko22/Unfalse-Engine
6fe308c53a05e1bb62eecb35bba6471a29a38404
[ "MIT" ]
null
null
null
Unfalse Engine/Source Code/GameObject.cpp
Sauko22/Unfalse-Engine
6fe308c53a05e1bb62eecb35bba6471a29a38404
[ "MIT" ]
null
null
null
#include "Globals.h" #include "Application.h" #include "GameObject.h" #include "p2Defs.h" GameObject::GameObject(GameObject* parent) { parentGameObject = parent; if (parentGameObject != nullptr) { parentGameObject->children_list.push_back(this); } name = " "; fbxname = " "; pngname = " "; index_name = 0; ...
19.485149
89
0.67378
Sauko22
8e816ba0b110bfadad08284948fcd98402a28e8b
7,400
cpp
C++
Source/FlightSimulator/Private/Components/RadarComponent.cpp
Lynnvon/FlightSimulator
2dca6f8364b7f4972a248de3dbc3a711740f5ed4
[ "MIT" ]
1
2022-02-03T08:29:35.000Z
2022-02-03T08:29:35.000Z
Source/FlightSimulator/Private/Components/RadarComponent.cpp
Lynnvon/FlightSimulator
2dca6f8364b7f4972a248de3dbc3a711740f5ed4
[ "MIT" ]
null
null
null
Source/FlightSimulator/Private/Components/RadarComponent.cpp
Lynnvon/FlightSimulator
2dca6f8364b7f4972a248de3dbc3a711740f5ed4
[ "MIT" ]
null
null
null
//MIT License // //Copyright(c) 2021 HaiLiang Feng // //QQ : 632865163 //Blog : https ://www.cnblogs.com/LynnVon/ // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this softwareand associated documentation files(the "Software"), to deal // in the Software without restric...
26.909091
198
0.655135
Lynnvon
8e8e2bae17489357ecec61aa0d0cd997db2261e4
3,464
cpp
C++
SensorRecorder/src/record.cpp
SorcererX/SepiaCore
4d7782b04ca6a8f94668bf298e07520d52de873d
[ "BSD-2-Clause" ]
3
2015-01-27T08:52:36.000Z
2018-01-31T07:17:28.000Z
SensorRecorder/src/record.cpp
SorcererX/SepiaCore
4d7782b04ca6a8f94668bf298e07520d52de873d
[ "BSD-2-Clause" ]
4
2015-03-11T06:13:29.000Z
2017-02-12T13:08:28.000Z
SensorRecorder/src/record.cpp
SorcererX/SepiaCore
4d7782b04ca6a8f94668bf298e07520d52de873d
[ "BSD-2-Clause" ]
null
null
null
/* Copyright (c) 2012-2015, Kai Hugo Hustoft Endresen <kai.endresen@gmail.com> 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 the above copyright notice, t...
29.862069
102
0.62933
SorcererX
8e9034f98b0b707e14e2a24921a126893dd780f9
204
cpp
C++
src/beatwave/drumsetexception.cpp
rexim/beatwave
d88db6d9f2f5def37d185e74870c5908beffc753
[ "MIT" ]
20
2015-12-19T16:17:01.000Z
2022-01-19T18:40:10.000Z
src/beatwave/drumsetexception.cpp
rexim/beatwave
d88db6d9f2f5def37d185e74870c5908beffc753
[ "MIT" ]
99
2015-12-19T16:20:40.000Z
2017-03-03T15:47:23.000Z
src/beatwave/drumsetexception.cpp
rexim/beatwave
d88db6d9f2f5def37d185e74870c5908beffc753
[ "MIT" ]
7
2015-12-21T09:41:08.000Z
2016-09-27T15:20:40.000Z
#include <beatwave/drumsetexception.hpp> DrumSetException::DrumSetException(const char *message): m_message(message) {} const char *DrumSetException::what() const noexcept { return m_message; }
18.545455
56
0.759804
rexim
8e90fccc05abcdf44676ba32d6d3d092e0bfde6a
1,073
hpp
C++
source/plc/include/document/NON_FRACTIONAL.hpp
dlin172/Plange
4b36a1225b2263bc8d38a6d1cc9b50c3d4b58e04
[ "BSD-3-Clause" ]
null
null
null
source/plc/include/document/NON_FRACTIONAL.hpp
dlin172/Plange
4b36a1225b2263bc8d38a6d1cc9b50c3d4b58e04
[ "BSD-3-Clause" ]
null
null
null
source/plc/include/document/NON_FRACTIONAL.hpp
dlin172/Plange
4b36a1225b2263bc8d38a6d1cc9b50c3d4b58e04
[ "BSD-3-Clause" ]
null
null
null
// This file was generated using Parlex's cpp_generator #ifndef INCLUDED_NON_FRACTIONAL_HPP #define INCLUDED_NON_FRACTIONAL_HPP #include <optional> #include <variant> #include <vector> #include "erased.hpp" #include "parlex/detail/abstract_syntax_tree.hpp" #include "parlex/detail/builtins.hpp" #include "parlex/det...
23.326087
180
0.7726
dlin172
8e94df95cffb1169b77505a79f33e9e8dd0fc677
1,550
cpp
C++
ImportScanner.cpp
alin1337/simple-anticheat
e4f5e563238d6fa24346b139da8ad59e56aefe0b
[ "WTFPL" ]
8
2020-04-05T18:00:40.000Z
2022-02-09T23:24:45.000Z
ImportScanner.cpp
alin1337/simple-anticheat
e4f5e563238d6fa24346b139da8ad59e56aefe0b
[ "WTFPL" ]
null
null
null
ImportScanner.cpp
alin1337/simple-anticheat
e4f5e563238d6fa24346b139da8ad59e56aefe0b
[ "WTFPL" ]
1
2020-08-03T11:14:36.000Z
2020-08-03T11:14:36.000Z
#include <Windows.h> #include <string> #include <vector> #include "ScannerInterface.h" #include "ImportScanner.h" void ImportScanner::AddItem(std::string name, void* pData, int nDataSize) { tImportData data; memset(&data, 0, sizeof(tImportData)); data.strName = name; data.nSize = nDataSize; #ifdef _WIN32 data.nO...
24.21875
132
0.718065
alin1337
8e953cb7e94eceb91e1e86be5acd169226709992
5,326
cpp
C++
tests/core_tests/random_helper.cpp
Virie/Virie
fc5ad5816678b06b88d08a6842e43d4205915b39
[ "MIT" ]
1
2021-03-07T13:26:43.000Z
2021-03-07T13:26:43.000Z
tests/core_tests/random_helper.cpp
Virie/Virie
fc5ad5816678b06b88d08a6842e43d4205915b39
[ "MIT" ]
null
null
null
tests/core_tests/random_helper.cpp
Virie/Virie
fc5ad5816678b06b88d08a6842e43d4205915b39
[ "MIT" ]
null
null
null
// Copyright (c) 2014-2020 The Virie Project // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "chaingen.h" #include "random_helper.h" std::string get_random_text(size_t len) { static const char text_chars[] ...
38.316547
195
0.673489
Virie
8e9d94ef609de9b30421ed6cc3a1295d2c3390b1
1,356
hpp
C++
include/streamer/streamer_defines.hpp
ida-zrt/thermalvis
36a6ba0d12ab91097435630586e3eb760130582c
[ "BSD-3-Clause" ]
109
2015-02-03T23:30:59.000Z
2022-02-22T03:24:36.000Z
include/streamer/streamer_defines.hpp
adaniy/thermalvis
782f71b5fbde033d226d11b8d0c994fc83d10d98
[ "BSD-3-Clause" ]
9
2015-02-19T05:46:36.000Z
2021-11-02T14:00:49.000Z
include/streamer/streamer_defines.hpp
adaniy/thermalvis
782f71b5fbde033d226d11b8d0c994fc83d10d98
[ "BSD-3-Clause" ]
59
2015-11-05T11:51:55.000Z
2022-03-11T06:36:57.000Z
/*! \file streamer_defines.hpp * \brief Defines for streamer node configuration. */ #ifndef STREAMER_DEFINES_H #define STREAMER_DEFINES_H #define NO_FILTERING 0 #define GAUSSIAN_FILTERING 1 #define BILATERAL_FILTERING 2 #define DETECTOR_MODE_RAW 0 #define DETECTOR_MODE_LUM 1 #define DETECTOR...
28.25
52
0.778761
ida-zrt
8ea68a3171b7de3bd25b1d8e665353d1e2de3003
749
cpp
C++
chef_march_17/xentask.cpp
anjali-sharma/DSA_Drill
d4111d11a493f9a67a7159ced2af165087ff8517
[ "MIT" ]
null
null
null
chef_march_17/xentask.cpp
anjali-sharma/DSA_Drill
d4111d11a493f9a67a7159ced2af165087ff8517
[ "MIT" ]
null
null
null
chef_march_17/xentask.cpp
anjali-sharma/DSA_Drill
d4111d11a493f9a67a7159ced2af165087ff8517
[ "MIT" ]
1
2021-02-20T08:05:17.000Z
2021-02-20T08:05:17.000Z
#include <iostream> using namespace std; int main() { int t, n, x; long int sum1e, sum1o, sum2e, sum2o; cin >> t; while(t--) { cin >> n; sum1e = sum1o = sum2e = sum2o = 0; for(int i = 0; i < n; i ++) { cin >> x; if(i%2==0) { sum1e += x; ...
19.710526
44
0.331108
anjali-sharma
8ea7d373d6741393ed56b61df2109386546444e0
8,740
cpp
C++
commands/set-raster-selection-cmd.cpp
lukas-ke/faint-graphics-editor
33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf
[ "Apache-2.0" ]
10
2016-12-28T22:06:31.000Z
2021-05-24T13:42:30.000Z
commands/set-raster-selection-cmd.cpp
lukas-ke/faint-graphics-editor
33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf
[ "Apache-2.0" ]
4
2015-10-09T23:55:10.000Z
2020-04-04T08:09:22.000Z
commands/set-raster-selection-cmd.cpp
lukas-ke/faint-graphics-editor
33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf
[ "Apache-2.0" ]
null
null
null
// -*- coding: us-ascii-unix -*- // Copyright 2013 Lukas Kemmer // // 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 a...
27.3125
82
0.72746
lukas-ke
8eac15f9f2a1ed7f6d965add8744602cdcb7d43a
4,323
cpp
C++
webkit/WebCore/platform/qt/ScrollbarQt.cpp
s1rcheese/nintendo-3ds-internetbrowser-sourcecode
3dd05f035e0a5fc9723300623e9b9b359be64e11
[ "Unlicense" ]
15
2016-01-05T12:43:41.000Z
2022-03-15T10:34:47.000Z
webkit/WebCore/platform/qt/ScrollbarQt.cpp
s1rcheese/nintendo-3ds-internetbrowser-sourcecode
3dd05f035e0a5fc9723300623e9b9b359be64e11
[ "Unlicense" ]
null
null
null
webkit/WebCore/platform/qt/ScrollbarQt.cpp
s1rcheese/nintendo-3ds-internetbrowser-sourcecode
3dd05f035e0a5fc9723300623e9b9b359be64e11
[ "Unlicense" ]
2
2020-11-30T18:36:01.000Z
2021-02-05T23:20:24.000Z
/* * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. * Copyright (C) 2007 Staikos Computing Services Inc. <info@staikos.net> * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided tha...
43.666667
171
0.729123
s1rcheese
8eaecde4e4129c5ac188a6f1fd086ea5c2e8f1e0
12,937
cpp
C++
artifact/storm/src/storm/utility/Engine.cpp
glatteis/tacas21-artifact
30b4f522bd3bdb4bebccbfae93f19851084a3db5
[ "MIT" ]
null
null
null
artifact/storm/src/storm/utility/Engine.cpp
glatteis/tacas21-artifact
30b4f522bd3bdb4bebccbfae93f19851084a3db5
[ "MIT" ]
null
null
null
artifact/storm/src/storm/utility/Engine.cpp
glatteis/tacas21-artifact
30b4f522bd3bdb4bebccbfae93f19851084a3db5
[ "MIT" ]
1
2022-02-05T12:39:53.000Z
2022-02-05T12:39:53.000Z
#include "storm/utility/Engine.h" #include "storm/models/sparse/StandardRewardModel.h" #include "storm/models/symbolic/StandardRewardModel.h" #include "storm/modelchecker/prctl/SparseDtmcPrctlModelChecker.h" #include "storm/modelchecker/prctl/SparseMdpPrctlModelChecker.h" #include "storm/modelchecker/csl/SparseCtmcCsl...
54.817797
254
0.565742
glatteis
8eaef9f9e1205e8d083fb9959b55dd18720c9d52
1,855
cpp
C++
src/dbobject.cpp
drsm/sqt
9974045b1128ad019bb53736d0421e74e8b3eafa
[ "MIT" ]
35
2018-02-28T09:36:50.000Z
2022-03-13T07:53:34.000Z
src/dbobject.cpp
drsm/sqt
9974045b1128ad019bb53736d0421e74e8b3eafa
[ "MIT" ]
5
2018-10-18T07:33:40.000Z
2020-04-29T19:41:05.000Z
src/dbobject.cpp
drsm/sqt
9974045b1128ad019bb53736d0421e74e8b3eafa
[ "MIT" ]
9
2018-02-28T09:37:27.000Z
2019-12-13T14:54:41.000Z
#include "dbobject.h" #include "dbconnectionfactory.h" #include "odbcconnection.h" DbObject::DbObject(DbObject *parent) { _parent = parent; //setData(true, DbObject::ParentRole); setData(0, DbObject::CurrentSortRole); setData(false, DbObject::MultiselectRole); } DbObject::DbObject(DbObject *parent, QS...
22.349398
94
0.665229
drsm
8eaf60b0dc0f091ad0159edd4ddac7883d363175
48,834
cpp
C++
TRAP/src/Window/Window.cpp
GamesTrap/TRAP
007de9ce70273cb8ae11066cc8488d9db78b1038
[ "MIT", "Zlib", "Apache-2.0", "BSD-3-Clause" ]
3
2018-06-23T18:18:19.000Z
2019-05-27T21:10:07.000Z
TRAP/src/Window/Window.cpp
GamesTrap/TRAP
007de9ce70273cb8ae11066cc8488d9db78b1038
[ "MIT", "Zlib", "Apache-2.0", "BSD-3-Clause" ]
88
2018-08-02T01:08:04.000Z
2019-07-24T19:13:26.000Z
TRAP/src/Window/Window.cpp
GamesTrap/TRAP
007de9ce70273cb8ae11066cc8488d9db78b1038
[ "MIT", "Zlib", "Apache-2.0", "BSD-3-Clause" ]
2
2018-08-02T01:10:40.000Z
2020-08-14T14:05:58.000Z
#include "TRAPPCH.h" #include "Window.h" #include "Utils/Dialogs/MsgBox.h" #include "Events/KeyEvent.h" #include "Events/MouseEvent.h" #include "Events/WindowEvent.h" #include "Events/MonitorEvent.h" #include "Graphics/API/RendererAPI.h" #include "Graphics/Renderer.h" #include "Graphics/Shaders/ShaderManager.h" #inclu...
34.221444
191
0.613384
GamesTrap
8eafd5d12cd87556dd1666e2b899d36b594ecb04
1,080
cpp
C++
tests/multi_aggregator_suite.cpp
mambaru/wrtstat
d97bf5376c14181974d6eb4632053710bb75cca8
[ "MIT" ]
1
2018-03-16T21:21:23.000Z
2018-03-16T21:21:23.000Z
tests/multi_aggregator_suite.cpp
mambaru/wrtstat
d97bf5376c14181974d6eb4632053710bb75cca8
[ "MIT" ]
10
2019-12-04T20:44:19.000Z
2021-04-20T21:51:50.000Z
tests/multi_aggregator_suite.cpp
mambaru/wrtstat
d97bf5376c14181974d6eb4632053710bb75cca8
[ "MIT" ]
null
null
null
#include <fas/testing.hpp> #include <wrtstat/aggregator/aggregator.hpp> #include <wrtstat/multi_aggregator/multi_aggregator.hpp> #include <numeric> namespace { UNIT(multi_aggregator1, "") { using namespace fas::testing; using namespace wrtstat; multi_aggregator_options opt; opt.resolution = resolutions::nanos...
23.478261
69
0.680556
mambaru
8eb1f6f1af6acb0a8da877183b9cdd374b23330d
1,762
hpp
C++
assignment-8 Indexing/Tokenizer.hpp
Arda-Bati/RDBMS-Homeworks
e3b121b5d8587552cc7177228ba5a5bea5c2cf68
[ "Apache-2.0" ]
1
2021-04-01T23:45:48.000Z
2021-04-01T23:45:48.000Z
assignment-8 Indexing/Tokenizer.hpp
Arda-Bati/Relational-Database
e3b121b5d8587552cc7177228ba5a5bea5c2cf68
[ "Apache-2.0" ]
null
null
null
assignment-8 Indexing/Tokenizer.hpp
Arda-Bati/Relational-Database
e3b121b5d8587552cc7177228ba5a5bea5c2cf68
[ "Apache-2.0" ]
null
null
null
// // Tokenizer.hpp // Database3 // // Created by rick gessner on 3/19/19. // Copyright © 2019 rick gessner. All rights reserved. // #ifndef Tokenizer_hpp #define Tokenizer_hpp #include <stdio.h> #include <iostream> #include <string> #include <vector> #include "keywords.hpp" namespace ECE141 { ...
24.472222
91
0.580023
Arda-Bati
8eb9028f45d2c35a1e5a6a704700914a51dc6da6
3,341
cpp
C++
example.cpp
wingeng/ln
beb5c22762cc092b7f1aed977b6f8a57b51c4d4a
[ "BSD-2-Clause" ]
2
2016-07-06T23:07:03.000Z
2016-11-12T09:13:48.000Z
example.cpp
wingeng/ln
beb5c22762cc092b7f1aed977b6f8a57b51c4d4a
[ "BSD-2-Clause" ]
null
null
null
example.cpp
wingeng/ln
beb5c22762cc092b7f1aed977b6f8a57b51c4d4a
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (c) 2015, Wing Eng * All rights reserved. */ #include <functional> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "linenoise.h" #define UNUSED __attribute__((unused)) typedef void (*command_action_t)(const char *line); typedef struct command_s { const char *c_token; con...
23.695035
83
0.649506
wingeng
8ebbcd12401a1a7eb93ae5430f79ad30f3362f0d
2,073
cpp
C++
gingerrun/Font.cpp
TailonR/cs480GameDev
e47da20d76bd137bb2c0f44627e7fa0dcb968658
[ "MIT" ]
null
null
null
gingerrun/Font.cpp
TailonR/cs480GameDev
e47da20d76bd137bb2c0f44627e7fa0dcb968658
[ "MIT" ]
null
null
null
gingerrun/Font.cpp
TailonR/cs480GameDev
e47da20d76bd137bb2c0f44627e7fa0dcb968658
[ "MIT" ]
null
null
null
#include "Font.hpp" namespace GameLib { Font::Font(Context* context) : context_(context) {} Font::~Font() { if (font_) { TTF_CloseFont(font_); font_ = nullptr; } } bool Font::load(const std::string& filename, int ptsize) { std::string path = con...
26.576923
84
0.507477
TailonR
8ebfb36cc6118bbf6515219f3925333c9325503b
313
cpp
C++
doc/examples/02_basic_output.cpp
Expander/slhaea
6795fda55871d066b1d238378a1223321acf9ed1
[ "BSL-1.0" ]
3
2017-12-14T18:39:05.000Z
2019-05-04T16:08:45.000Z
doc/examples/02_basic_output.cpp
Expander/slhaea
6795fda55871d066b1d238378a1223321acf9ed1
[ "BSL-1.0" ]
5
2016-05-20T04:25:02.000Z
2021-10-16T12:17:58.000Z
doc/examples/02_basic_output.cpp
Expander/slhaea
6795fda55871d066b1d238378a1223321acf9ed1
[ "BSL-1.0" ]
null
null
null
#include <fstream> #include <slhaea.h> using namespace std; using namespace SLHAea; int main() { Coll input; ifstream ifs("slha1.txt"); ifs >> input; ifs.close(); input["MINPAR"][4][1] = "-1.0"; input["MINPAR"][3][2] = "# tan(beta)"; ofstream ofs("slha1.txt"); ofs << input; ofs.close(); }
14.227273
40
0.594249
Expander
8ec06b4e38e1f6a672ccc2c8681ea61f4023352d
313
hpp
C++
Framework/Ability/Intersectable.hpp
lishaojiang/GameEngineFromScratch
7769d3916a9ffabcfdaddeba276fdf964d8a86ee
[ "MIT" ]
1,217
2017-08-18T02:41:11.000Z
2022-03-30T01:48:46.000Z
Framework/Ability/Intersectable.hpp
lishaojiang/GameEngineFromScratch
7769d3916a9ffabcfdaddeba276fdf964d8a86ee
[ "MIT" ]
16
2017-09-05T15:04:37.000Z
2021-09-09T13:59:38.000Z
Framework/Ability/Intersectable.hpp
lishaojiang/GameEngineFromScratch
7769d3916a9ffabcfdaddeba276fdf964d8a86ee
[ "MIT" ]
285
2017-08-18T04:53:55.000Z
2022-03-30T00:02:15.000Z
#pragma once #include "Ability.hpp" #include "Ray.hpp" #include "Hit.hpp" namespace My { template <typename T> Ability Intersectable { public: virtual ~Intersectable() = default; using ParamType = const T; virtual bool Intersect(const Ray &r, Hit &h, float tmin) const = 0; }; } // namespace My
20.866667
72
0.680511
lishaojiang
8ec826a3dce0277319c98e5143f77c15023947c7
908
cpp
C++
tools/seec-view/HiddenExecuteAndWait_Generic.cpp
seec-team/seec
4b92456011e86b70f9d88833a95c1f655a21cf1a
[ "MIT" ]
7
2018-06-25T12:06:13.000Z
2022-01-18T09:20:13.000Z
tools/seec-view/HiddenExecuteAndWait_Generic.cpp
seec-team/seec
4b92456011e86b70f9d88833a95c1f655a21cf1a
[ "MIT" ]
20
2016-12-01T23:46:12.000Z
2019-08-11T02:41:04.000Z
tools/seec-view/HiddenExecuteAndWait_Generic.cpp
seec-team/seec
4b92456011e86b70f9d88833a95c1f655a21cf1a
[ "MIT" ]
1
2020-10-19T03:20:05.000Z
2020-10-19T03:20:05.000Z
//===- tools/seec-trace-view/HiddenExecuteAndWait_Generic.cpp -------------===// // // SeeC // // This file is distributed under The MIT License (MIT). See LICENSE.TXT for // details. // //===----------------------------------------------------------------------===// /// /// \file ///...
32.428571
80
0.396476
seec-team
8ed023f9a20e9fbd064a2ec6d78f559268ec8a1c
623
cc
C++
assets/unzipper_provider.cc
alibitek/engine
0f0b144b0320d00d837fb2af80cd542ab1359491
[ "BSD-3-Clause" ]
null
null
null
assets/unzipper_provider.cc
alibitek/engine
0f0b144b0320d00d837fb2af80cd542ab1359491
[ "BSD-3-Clause" ]
null
null
null
assets/unzipper_provider.cc
alibitek/engine
0f0b144b0320d00d837fb2af80cd542ab1359491
[ "BSD-3-Clause" ]
1
2020-03-05T02:44:12.000Z
2020-03-05T02:44:12.000Z
// 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 "flutter/assets/unzipper_provider.h" #include "lib/fxl/logging.h" #include "third_party/zlib/contrib/minizip/unzip.h" namespace blink { Unzipp...
28.318182
73
0.723917
alibitek
8ed0e8a98dc9bce13f6c098d84e0fd263d1e607a
260
cpp
C++
base/part01/module/Vector.cpp
daheige/cpp-programming
fd04a81c9615544bc49efe137eccd806931fd09b
[ "MIT" ]
null
null
null
base/part01/module/Vector.cpp
daheige/cpp-programming
fd04a81c9615544bc49efe137eccd806931fd09b
[ "MIT" ]
null
null
null
base/part01/module/Vector.cpp
daheige/cpp-programming
fd04a81c9615544bc49efe137eccd806931fd09b
[ "MIT" ]
null
null
null
#include "Vector.h" // 引入header头 // 通过列式的方式进行参数初始化操作 // 构造方法实现 Vector::Vector (int s) : elem{ new double[s] // 初始化elem }, sz{s} {} // 重载操作符号[] double &Vector::operator[] (int i) { return elem[i]; } // size方法实现 int Vector::size () { return sz; }
16.25
54
0.596154
daheige
8ed729aabd5c592bcc1e1a45828f730b90f433df
2,907
cpp
C++
Source/StackOBot/Private/BOTDynamicCamera.cpp
ameyghan/StackOBotCPP
9ae9e7924d4ab20382b35c10981a2a4890d525ff
[ "MIT" ]
null
null
null
Source/StackOBot/Private/BOTDynamicCamera.cpp
ameyghan/StackOBotCPP
9ae9e7924d4ab20382b35c10981a2a4890d525ff
[ "MIT" ]
null
null
null
Source/StackOBot/Private/BOTDynamicCamera.cpp
ameyghan/StackOBotCPP
9ae9e7924d4ab20382b35c10981a2a4890d525ff
[ "MIT" ]
null
null
null
#include "BOTDynamicCamera.h" #include "Camera/CameraComponent.h" #include "Components/BoxComponent.h" #include "GameFramework/Character.h" #include "GameFramework/CharacterMovementComponent.h" #include "Kismet/GameplayStatics.h" ABOTDynamicCamera::ABOTDynamicCamera() { CameraRoot = CreateDefaultSubobject<USceneComp...
37.269231
202
0.806674
ameyghan
8ed88886856ba6d33f051fd9087d27ca5d7f2ebe
31,246
cpp
C++
src/game/g_spawn.cpp
jumptohistory/jaymod
92d0a0334ac27da94b12280b0b42b615b8813c23
[ "Apache-2.0" ]
25
2016-05-27T11:53:58.000Z
2021-10-17T00:13:41.000Z
src/game/g_spawn.cpp
jumptohistory/jaymod
92d0a0334ac27da94b12280b0b42b615b8813c23
[ "Apache-2.0" ]
1
2016-07-09T05:25:03.000Z
2016-07-09T05:25:03.000Z
src/game/g_spawn.cpp
jumptohistory/jaymod
92d0a0334ac27da94b12280b0b42b615b8813c23
[ "Apache-2.0" ]
16
2016-05-28T23:06:50.000Z
2022-01-26T13:47:12.000Z
/* * name: g_spawn.c * * desc: * */ #include <bgame/impl.h> qboolean G_SpawnStringExt( const char *key, const char *defaultString, char **out, const char* file, int line ) { int i; if ( !level.spawning ) { *out = (char *)defaultString; // Gordon: 26/11/02: re-enabling // see InitMover G_Error( "G_S...
28.098921
136
0.700314
jumptohistory
8edd3140d4454adc5df29a27a7a5a0e9dd532c3a
1,466
cpp
C++
sketchup_sdk/deprecated/SkpReader/Examples/skptoxml/plugin/xmlplugin.cpp
jhhsia/sketchup_converter
7d8daffd61c8d8f6c214640672e38c7817e37788
[ "MIT" ]
1
2020-09-27T10:55:07.000Z
2020-09-27T10:55:07.000Z
sketchup_sdk/deprecated/SkpReader/Examples/skptoxml/plugin/xmlplugin.cpp
jhhsia/sketchup_converter
7d8daffd61c8d8f6c214640672e38c7817e37788
[ "MIT" ]
null
null
null
sketchup_sdk/deprecated/SkpReader/Examples/skptoxml/plugin/xmlplugin.cpp
jhhsia/sketchup_converter
7d8daffd61c8d8f6c214640672e38c7817e37788
[ "MIT" ]
null
null
null
// Copyright 2013 Trimble Navigation Ltd. All Rights Reserved. #include "./xmlplugin.h" #include <slapi/import_export/pluginprogresscallback.h> CXmlExporterPlugin::CXmlExporterPlugin() { m_pXMLExporter = NULL; } CXmlExporterPlugin::~CXmlExporterPlugin() { delete m_pXMLExporter; } std::string CXmlExporterPlugin...
24.433333
76
0.68895
jhhsia
8ee2a877f749a1f66e08c3a37337743dc466cf74
2,846
hpp
C++
samples/src/hlml/int2.hpp
Rosme/sift
f8d05d19562b4da13271d5c26658d7e8c47866ae
[ "MIT" ]
4
2018-06-15T12:54:10.000Z
2020-09-22T16:01:35.000Z
samples/src/hlml/int2.hpp
Rosme/sift
f8d05d19562b4da13271d5c26658d7e8c47866ae
[ "MIT" ]
null
null
null
samples/src/hlml/int2.hpp
Rosme/sift
f8d05d19562b4da13271d5c26658d7e8c47866ae
[ "MIT" ]
null
null
null
#pragma once #include "common.hpp" #include "bool2.hpp" namespace hlml { struct int2 { VI128 m = { 0 }; HLML_INLINEF int2() {} HLML_INLINEF int2(I32 x, I32 y) : m(funcs::setXYZW(x, y, consts::snZero, consts::snZero)) {} HLML_INLINEF explicit int2(I32 x) : int2(x, x) {} HLML_INLINEF explicit int2(const I32...
46.655738
95
0.642305
Rosme
8ef0831878f003b22b6f659c8a1b920c978bc556
207
cpp
C++
4th semester/lab_9/src/KeepInt.cpp
kmalski/cpp_labs
52b0fc84319d6cc57ff7bfdb787aa5eb09edf592
[ "MIT" ]
1
2020-05-19T17:14:55.000Z
2020-05-19T17:14:55.000Z
4th semester/lab_9/src/KeepInt.cpp
kmalski/CPP_Laboratories
52b0fc84319d6cc57ff7bfdb787aa5eb09edf592
[ "MIT" ]
null
null
null
4th semester/lab_9/src/KeepInt.cpp
kmalski/CPP_Laboratories
52b0fc84319d6cc57ff7bfdb787aa5eb09edf592
[ "MIT" ]
null
null
null
#include "KeepInt.h" KeepInt::KeepInt(int &account) : _account(account), _startValue(account) {} void KeepInt::dodo() {} void KeepInt::undoOk() {} void KeepInt::undoFail() { _account = _startValue; }
18.818182
75
0.68599
kmalski
8ef57fa29abe24470ef7dd95a97f00fb4bcaa735
2,665
cpp
C++
rt/core/float4.cpp
DasNaCl/old-university-projects
af1c82afec4805ea672e0c353369035b394cb69d
[ "Apache-2.0" ]
null
null
null
rt/core/float4.cpp
DasNaCl/old-university-projects
af1c82afec4805ea672e0c353369035b394cb69d
[ "Apache-2.0" ]
null
null
null
rt/core/float4.cpp
DasNaCl/old-university-projects
af1c82afec4805ea672e0c353369035b394cb69d
[ "Apache-2.0" ]
null
null
null
// // Created by Matthias on 20.11.2018. // #include "scalar.h" #include <algorithm> #include <cmath> #include <core/assert.h> #include <core/float4.h> #include <core/point.h> #include <core/vector.h> namespace rt { Float4::Float4(float x, float y, float z, float w) : coords{ x, y, z, w } { } Float4::Float4(const Po...
24.227273
76
0.577486
DasNaCl
8efbfc6552d81214100eede31ffbb26299486891
10,998
cc
C++
cxx/src/time_zone.cc
alexhsamuel/ora
89358d9193d86fbc7752270f1e35ee6ddcdcd206
[ "BSD-3-Clause" ]
10
2018-03-03T02:02:19.000Z
2020-04-02T22:47:55.000Z
cxx/src/time_zone.cc
alexhsamuel/ora
89358d9193d86fbc7752270f1e35ee6ddcdcd206
[ "BSD-3-Clause" ]
13
2018-01-28T15:20:55.000Z
2022-01-27T23:32:41.000Z
cxx/src/time_zone.cc
alexhsamuel/ora
89358d9193d86fbc7752270f1e35ee6ddcdcd206
[ "BSD-3-Clause" ]
null
null
null
#include <algorithm> #include <cassert> #include <cstdlib> #include <cstring> #include <fstream> #include <map> #include <memory> #include "ora/lib/file.hh" #include "ora/lib/filename.hh" #include "ora/time_type.hh" #include "ora/time_zone.hh" #include "ora/tzfile.hh" namespace ora { using namespace ora::lib; using...
26.4375
99
0.61984
alexhsamuel
f102bab87141fa5fa34fe7c513d1b1b28384e2de
3,011
cpp
C++
Cocos2dWindowsPhone/CCCamera.cpp
GhostSoar/Cocos2dWindows
654a018004e358f875bedeb7c9acd6824c0734f8
[ "MIT" ]
1
2017-01-04T07:05:37.000Z
2017-01-04T07:05:37.000Z
Cocos2dWindowsPhone/CCCamera.cpp
GhostSoar/Cocos2dWindows
654a018004e358f875bedeb7c9acd6824c0734f8
[ "MIT" ]
null
null
null
Cocos2dWindowsPhone/CCCamera.cpp
GhostSoar/Cocos2dWindows
654a018004e358f875bedeb7c9acd6824c0734f8
[ "MIT" ]
null
null
null
/* * cocos2d-x http://www.cocos2d-x.org * * Copyright (c) 2010-2011 - cocos2d-x community * Copyright (c) 2010-2011 cocos2d-x.org * Copyright (c) 2008-2010 Ricardo Quesada * * Portions Copyright (c) Microsoft Open Technologies, Inc. * All Rights Reserved * * Licensed under the Apache License, Version 2.0 (the "Lice...
22.303704
131
0.718698
GhostSoar
f10bf3fed5e4e712d34c6f59ceef3c6480ad4825
206
cpp
C++
c.cpp
Zilanlann/cp-code
0500acbf6fb05a66f7bdbdf0e0a8bd6170126a4a
[ "MIT" ]
3
2022-03-30T14:14:57.000Z
2022-03-31T04:30:32.000Z
c.cpp
Zilanlann/cp-code
0500acbf6fb05a66f7bdbdf0e0a8bd6170126a4a
[ "MIT" ]
null
null
null
c.cpp
Zilanlann/cp-code
0500acbf6fb05a66f7bdbdf0e0a8bd6170126a4a
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int f() { static int i = 0; i++; return i; } int main() { cout << f() << endl; cout << f() << endl; cout << f() << endl; return 0; }
11.444444
24
0.466019
Zilanlann
f10ddadd51efabeee6e1234db2a55310379add09
3,512
cpp
C++
External/Quiver/Source/Quiver/Quiver/Graphics/b2DrawSFML.cpp
rachelnertia/Quarrel
69616179fc71305757549c7fcaccc22707a91ba4
[ "MIT" ]
39
2017-10-22T15:47:39.000Z
2020-03-31T22:19:55.000Z
External/Quiver/Source/Quiver/Quiver/Graphics/b2DrawSFML.cpp
rachelnertia/Quarrel
69616179fc71305757549c7fcaccc22707a91ba4
[ "MIT" ]
46
2017-10-26T21:21:51.000Z
2018-10-13T14:46:17.000Z
Source/Quiver/Quiver/Graphics/b2DrawSFML.cpp
rachelnertia/Quiver
c8ef9591117bdfc8d6fa509ae53451e0807f5686
[ "MIT" ]
8
2017-10-22T14:47:57.000Z
2020-03-19T10:08:45.000Z
#include "b2DrawSFML.h" #include "SFML/Graphics/RenderTarget.hpp" #include "SFML/Graphics/ConvexShape.hpp" #include "SFML/Graphics/CircleShape.hpp" inline sf::Color B2ColorToSFColor(const b2Color& color) { return sf::Color(sf::Uint8(color.r * 255), sf::Uint8(color.g * 255), sf::Uint8(color.b * 255), sf::Uint8(colo...
32.82243
114
0.73861
rachelnertia
f10fadc2b616b0e3691d5810353f1b09fbd56253
1,259
hh
C++
inc/Dno.hh
bsierp/ZadanieDronPrzeszkody
1eab1d3a994c5023aec4ae0f6d7d605a9ac3b240
[ "MIT" ]
null
null
null
inc/Dno.hh
bsierp/ZadanieDronPrzeszkody
1eab1d3a994c5023aec4ae0f6d7d605a9ac3b240
[ "MIT" ]
null
null
null
inc/Dno.hh
bsierp/ZadanieDronPrzeszkody
1eab1d3a994c5023aec4ae0f6d7d605a9ac3b240
[ "MIT" ]
null
null
null
#ifndef DNO_HH #define DNO_HH /*! * \file * \brief Definicja klasy Dno * * Plik zawiera definicje klasy Dno, * oraz deklaracje metod tej klasy. */ #include "Plaszczyzna.hh" using std::vector; using drawNS::Point3D; /*! * \brief Model pojęcia Dno * * Klasa modeluje pojęcie dna dziedzicząc * publicznie po klasie Pl...
27.977778
94
0.698173
bsierp
f1127201f4fe21f6b3b4f4e95741d87e1bf89176
515
hpp
C++
_engine/code/include/global/component/logger/provider/console.hpp
Shelim/pixie_engine
bf1d80f3f03bd3d6890f4dfc63440f7dd0ff34a1
[ "MIT" ]
null
null
null
_engine/code/include/global/component/logger/provider/console.hpp
Shelim/pixie_engine
bf1d80f3f03bd3d6890f4dfc63440f7dd0ff34a1
[ "MIT" ]
null
null
null
_engine/code/include/global/component/logger/provider/console.hpp
Shelim/pixie_engine
bf1d80f3f03bd3d6890f4dfc63440f7dd0ff34a1
[ "MIT" ]
null
null
null
#ifndef ENGINE_COMPONENT_LOGGER_PROVIDER_CONSOLE_HPP #define ENGINE_COMPONENT_LOGGER_PROVIDER_CONSOLE_HPP #pragma once #include "global/component/logger/real.hpp" namespace engine { class logger_provider_console_t : public logger_provider_base_t { public: logger_provider_console_t(std::shared_ptr<cons...
19.807692
84
0.780583
Shelim
f11551cac5b576a3fa138845655d64ac77fc9163
18,884
cpp
C++
src/GLMesh.cpp
bpwiselybabu/SceneGraph
1ae7142615bb2c15883ed928a5ed69b0cd281665
[ "Apache-2.0" ]
15
2015-10-18T15:11:34.000Z
2021-06-15T02:22:13.000Z
src/GLMesh.cpp
bpwiselybabu/SceneGraph
1ae7142615bb2c15883ed928a5ed69b0cd281665
[ "Apache-2.0" ]
13
2015-04-24T20:37:44.000Z
2020-01-27T15:26:42.000Z
src/GLMesh.cpp
bpwiselybabu/SceneGraph
1ae7142615bb2c15883ed928a5ed69b0cd281665
[ "Apache-2.0" ]
9
2015-08-21T18:52:27.000Z
2020-04-08T15:15:38.000Z
#include <stdlib.h> #include <limits.h> #include <SceneGraph/GLMesh.h> #include <SceneGraph/GLHelpersLoadTextures.h> #include <assimp/cimport.h> #include <assimp/postprocess.h> namespace SceneGraph { GLMesh::Mesh::Mesh() { m_uVB = 0; m_uIB = 0; m_uNumIndices = 0; m_uMaterialIndex = -1; } GLMesh::Mesh::~Mes...
32.335616
84
0.561322
bpwiselybabu
47db47d8b15100b3ebd8ee0cd94303f6385ff9e6
871
cpp
C++
arrays-and-strings/is_rotation.cpp
kanishkdudeja/cracking-the-coding-interview-solutions
b6b495eb838e3739fd09aaf1ea5a5a5eb15923d0
[ "MIT" ]
1
2019-12-29T17:47:53.000Z
2019-12-29T17:47:53.000Z
arrays-and-strings/is_rotation.cpp
kanishkdudeja/cracking-the-coding-interview-solutions
b6b495eb838e3739fd09aaf1ea5a5a5eb15923d0
[ "MIT" ]
null
null
null
arrays-and-strings/is_rotation.cpp
kanishkdudeja/cracking-the-coding-interview-solutions
b6b495eb838e3739fd09aaf1ea5a5a5eb15923d0
[ "MIT" ]
null
null
null
/* Problem: Given two strings, find out if the second string is a rotation of the first. Approach: Concatenate first string with itself and check if second string is a substring of the concatenated string. If yes, then it's a rotation. Otherwise not. Space Complexity = O(n) since we are saving concatenated length of...
22.921053
103
0.700344
kanishkdudeja