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
float64
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
float64
1
77k
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
float64
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
653k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
1
c7d743869bf6717e7052798f344c50ccf064d45c
890
cpp
C++
leetcode/contest-219/5245.cpp
upupming/algorithm
44edcffe886eaf4ce8c7b27a8db50d7ed5d29ef1
[ "MIT" ]
107
2019-10-25T07:46:59.000Z
2022-03-29T11:10:56.000Z
leetcode/contest-219/5245.cpp
upupming/algorithm
44edcffe886eaf4ce8c7b27a8db50d7ed5d29ef1
[ "MIT" ]
1
2021-08-13T05:42:27.000Z
2021-08-13T05:42:27.000Z
leetcode/contest-219/5245.cpp
upupming/algorithm
44edcffe886eaf4ce8c7b27a8db50d7ed5d29ef1
[ "MIT" ]
18
2020-12-09T14:24:22.000Z
2022-03-30T06:56:01.000Z
#include <bits/stdc++.h> using namespace std; /* 最优解一定满足两个性质: 1. 长宽高排序之后答案不变 2. 答案就是排序之后每个长方体最大值之和(可以构成单调子序列的那些长方体) */ class Solution { public: int maxHeight(vector<vector<int>>& cuboids) { int n = cuboids.size(); // 一定要用引用 for (auto& c : cuboids) { sort(c.begin(), c.end());...
25.428571
69
0.437079
93a87647d6418306fc902f4418cb4125cef44ff0
1,683
hpp
C++
System.Windows.Forms/include/Switch/System/Windows/Forms/FormBorderStyle.hpp
kkptm/CppLikeCSharp
b2d8d9da9973c733205aa945c9ba734de0c734bc
[ "MIT" ]
4
2021-10-14T01:43:00.000Z
2022-03-13T02:16:08.000Z
System.Windows.Forms/include/Switch/System/Windows/Forms/FormBorderStyle.hpp
kkptm/CppLikeCSharp
b2d8d9da9973c733205aa945c9ba734de0c734bc
[ "MIT" ]
null
null
null
System.Windows.Forms/include/Switch/System/Windows/Forms/FormBorderStyle.hpp
kkptm/CppLikeCSharp
b2d8d9da9973c733205aa945c9ba734de0c734bc
[ "MIT" ]
2
2022-03-13T02:16:06.000Z
2022-03-14T14:32:57.000Z
/// @file /// @brief Contains Switch::System::Windows::Forms::BorderStyle enum. #pragma once #include <Switch/System/Enum.hpp> namespace Switch { namespace System { namespace Windows { namespace Forms { /// @brief Specifies the border styles for a form. enum class FormBorderStyle { ...
33.66
132
0.639929
93ab36c964bc04cac5d0c0e2e3db84a9370d46a0
474
cpp
C++
jni/WiEngine_binding/gridactions/com_wiyun_engine_actions_grid_Waves3D.cpp
zchajax/WiEngine
ea2fa297f00aa5367bb5b819d6714ac84a8a8e25
[ "MIT" ]
39
2015-01-23T10:01:31.000Z
2021-06-10T03:01:18.000Z
jni/WiEngine_binding/gridactions/com_wiyun_engine_actions_grid_Waves3D.cpp
luckypen/WiEngine
7e80641fe15a77a2fc43db90f15dad6aa2c2860a
[ "MIT" ]
1
2015-04-15T08:07:47.000Z
2015-04-15T08:07:47.000Z
jni/WiEngine_binding/gridactions/com_wiyun_engine_actions_grid_Waves3D.cpp
luckypen/WiEngine
7e80641fe15a77a2fc43db90f15dad6aa2c2860a
[ "MIT" ]
20
2015-01-20T07:36:10.000Z
2019-09-15T01:02:19.000Z
#include "com_wiyun_engine_actions_grid_Waves3D.h" #include "wyWaves3D.h" extern jfieldID g_fid_BaseObject_mPointer; JNIEXPORT void JNICALL Java_com_wiyun_engine_actions_grid_Waves3D_nativeInit (JNIEnv * env, jobject thiz, jfloat duration, jint gridX, jint gridY, jfloat amplitude, jint waves) { wyWaves3D* g...
39.5
104
0.78903
93aed6408e1594864ceb8cde169762462cd38966
5,248
cpp
C++
SDK/PUBG_ReplayEditorStepperWidget_functions.cpp
realrespecter/PUBG-FULL-SDK
5e2b0f103c74c95d2329c4c9dfbfab48aa0da737
[ "MIT" ]
7
2019-03-06T11:04:52.000Z
2019-07-10T20:00:51.000Z
SDK/PUBG_ReplayEditorStepperWidget_functions.cpp
realrespecter/PUBG-FULL-SDK
5e2b0f103c74c95d2329c4c9dfbfab48aa0da737
[ "MIT" ]
null
null
null
SDK/PUBG_ReplayEditorStepperWidget_functions.cpp
realrespecter/PUBG-FULL-SDK
5e2b0f103c74c95d2329c4c9dfbfab48aa0da737
[ "MIT" ]
10
2019-03-06T11:53:46.000Z
2021-02-18T14:01:11.000Z
// PUBG FULL SDK - Generated By Respecter (5.3.4.11 [06/03/2019]) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "PUBG_ReplayEditorStepperWidget_parameters.hpp" namespace SDK { //--------------------------------------------------------------------------- //Functions //----------------------------------...
30.870588
206
0.780869
93b19508039e9c7acd3fd32dae05e5fd7cf2933f
35
cpp
C++
src/gui/gui.cpp
lchsk/knight-libs
14cb06e4092bf78abd7a5d0d5313b10236ee8926
[ "MIT" ]
null
null
null
src/gui/gui.cpp
lchsk/knight-libs
14cb06e4092bf78abd7a5d0d5313b10236ee8926
[ "MIT" ]
null
null
null
src/gui/gui.cpp
lchsk/knight-libs
14cb06e4092bf78abd7a5d0d5313b10236ee8926
[ "MIT" ]
null
null
null
#include "gui.hpp" namespace K {}
8.75
18
0.657143
93b3f63512c632be8d567f4856a32d979c0f1eeb
368
cpp
C++
web/httpd/kernel/chunks.cpp
jjzhang166/balancer
84addf52873d8814b8fd30289f2fcfcec570c151
[ "Unlicense" ]
39
2015-03-12T19:49:24.000Z
2020-11-11T09:58:15.000Z
web/httpd/kernel/chunks.cpp
jjzhang166/balancer
84addf52873d8814b8fd30289f2fcfcec570c151
[ "Unlicense" ]
null
null
null
web/httpd/kernel/chunks.cpp
jjzhang166/balancer
84addf52873d8814b8fd30289f2fcfcec570c151
[ "Unlicense" ]
11
2016-01-14T16:42:00.000Z
2022-01-17T11:47:33.000Z
#include "chunks.h" #include <util/stream/output.h> using namespace NSrvKernel; template <> void Out<TChunk>(TOutputStream& o, const TChunk& p) { o.Write(p.Data(), p.Length()); } template <> void Out<TChunkList>(TOutputStream& o, const TChunkList& lst) { for (TChunkList::TConstIterator it = lst.Begin(); it ...
20.444444
78
0.63587
93b6cd6f6932802b8424570691e10e609b4f97ed
10,715
hpp
C++
include/memoria/prototypes/bt/container/bt_c_leaf_variable.hpp
victor-smirnov/memoria
c36a957c63532176b042b411b1646c536e71a658
[ "BSL-1.0", "Apache-2.0", "OLDAP-2.8", "BSD-3-Clause" ]
2
2021-07-30T16:54:24.000Z
2021-09-08T15:48:17.000Z
include/memoria/prototypes/bt/container/bt_c_leaf_variable.hpp
victor-smirnov/memoria
c36a957c63532176b042b411b1646c536e71a658
[ "BSL-1.0", "Apache-2.0", "OLDAP-2.8", "BSD-3-Clause" ]
null
null
null
include/memoria/prototypes/bt/container/bt_c_leaf_variable.hpp
victor-smirnov/memoria
c36a957c63532176b042b411b1646c536e71a658
[ "BSL-1.0", "Apache-2.0", "OLDAP-2.8", "BSD-3-Clause" ]
2
2020-03-14T15:15:25.000Z
2020-06-15T11:26:56.000Z
// Copyright 2015 Victor Smirnov // // 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...
26.522277
122
0.602706
93b71ff0ab19f31f1908b34b7fd5e4b06e22c715
2,899
cpp
C++
tool/gcm.cpp
nonce-disrespect/nonce-disrespect
425524519779c27dd74c2b51d436f5d3de8d364d
[ "CC0-1.0" ]
119
2016-05-19T15:39:49.000Z
2021-11-15T23:01:02.000Z
tool/gcm.cpp
nonce-disrespect/nonce-disrespect
425524519779c27dd74c2b51d436f5d3de8d364d
[ "CC0-1.0" ]
null
null
null
tool/gcm.cpp
nonce-disrespect/nonce-disrespect
425524519779c27dd74c2b51d436f5d3de8d364d
[ "CC0-1.0" ]
10
2016-05-20T09:26:56.000Z
2019-12-30T08:49:31.000Z
#include <assert.h> #include <stdio.h> #include <stdint.h> #include <stdlib.h> #include <string.h> #include <algorithm> #include <NTL/GF2X.h> #include <NTL/GF2XFactoring.h> #include <NTL/GF2E.h> #include <NTL/GF2EX.h> #include <NTL/GF2EXFactoring.h> #include "gcm.h" using namespace std; using namespace NTL; #defin...
19.072368
60
0.479476
93b8ae2ccb30914bf41e94c39d0ab0d2910f05d0
818
cpp
C++
codeforces/D - Minimum Triangulation/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
1
2022-02-11T16:55:36.000Z
2022-02-11T16:55:36.000Z
codeforces/D - Minimum Triangulation/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
codeforces/D - Minimum Triangulation/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
/**************************************************************************************** * @author: kzvd4729 created: Mar/22/2019 21:42 * solution_verdict: Accepted language: GNU C++14 * run...
43.052632
111
0.360636
93b9f51c946aa792d1050b0463bb5d673cc7ac2a
6,155
cpp
C++
src/dio.cpp
johnsonjason/RVDbg
63790440d3089bf74985171947483f5bfbcbe06b
[ "MIT" ]
16
2019-09-05T01:12:21.000Z
2022-01-10T12:33:31.000Z
src/dio.cpp
longmode/RVDbg
63790440d3089bf74985171947483f5bfbcbe06b
[ "MIT" ]
null
null
null
src/dio.cpp
longmode/RVDbg
63790440d3089bf74985171947483f5bfbcbe06b
[ "MIT" ]
3
2018-09-07T08:51:26.000Z
2019-01-06T07:39:13.000Z
#include "stdafx.h" #include "dio.h" /*++ Routine Description: Initializes WSA data / Winsock Parameters: None Return Value: None --*/ void dio::InitializeNetwork() { WSAData WsaData; WSAStartup(MAKEWORD(2, 2), &WsaData); } /*++ Routine Description: Starts the Debug Server, which interfaces with the D...
23.314394
120
0.740374
93bf148cd21c563abccc25de1deed48e7822c07d
1,142
cpp
C++
gui/shapes/Line.cpp
TrapGameStudio/MouseTraps
1160f8b6ef865b180f418bd6d83f40d59d938130
[ "MIT" ]
null
null
null
gui/shapes/Line.cpp
TrapGameStudio/MouseTraps
1160f8b6ef865b180f418bd6d83f40d59d938130
[ "MIT" ]
null
null
null
gui/shapes/Line.cpp
TrapGameStudio/MouseTraps
1160f8b6ef865b180f418bd6d83f40d59d938130
[ "MIT" ]
1
2020-04-19T23:20:25.000Z
2020-04-19T23:20:25.000Z
#include "Line.h" /// <summary> /// Construct a line from 2 Points. /// </summary> /// <param name="p1">point 1</param> /// <param name="p2">point 2</param> Line::Line(Point* p1, Point* p2) { this->p1 = p1; this->p2 = p2; } /// <summary> /// Construct a line from the coordinate of 2 points. /// </summary> //...
22.84
93
0.595447
93bf946d7e2beedad2beb2e86aceadfcfc7eaa1d
1,385
cpp
C++
tutorial/more_basics/Expressions.cpp
luanics/cpp-illustrated
6049de2119a53d656a63b65d9441e680355ef196
[ "MIT" ]
null
null
null
tutorial/more_basics/Expressions.cpp
luanics/cpp-illustrated
6049de2119a53d656a63b65d9441e680355ef196
[ "MIT" ]
null
null
null
tutorial/more_basics/Expressions.cpp
luanics/cpp-illustrated
6049de2119a53d656a63b65d9441e680355ef196
[ "MIT" ]
null
null
null
#include "luanics/testing/Tutorial.hpp" #include <type_traits> BEGIN_CHAPTER(Expressions) // As a reminder... // Decltype // // X (input) -> decltype(X) (output) // ================================================= // identifier of type T -> T // ----------------------------------------...
31.477273
71
0.587004
93c1749c635261908f933ed879fa893a9326b5b1
1,539
cpp
C++
apps/opencs/model/world/idtableproxymodel.cpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
apps/opencs/model/world/idtableproxymodel.cpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
apps/opencs/model/world/idtableproxymodel.cpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
#include "idtableproxymodel.hpp" #include <vector> #include "idtablebase.hpp" void CSMWorld::IdTableProxyModel::updateColumnMap() { mColumnMap.clear(); if (mFilter) { std::vector<int> columns = mFilter->getReferencedColumns(); const IdTableBase& table = dynamic_cast<const IdTableBase&>...
27.482143
99
0.708902
93c3aaaf2f479fd8e17c86dc5e96d16e699a4d43
1,197
cpp
C++
Source/Windows/GithubIssuesWindow.cpp
humdingerb/Issues
115ac2c3bc04e2f967fc884fa3fd7eb46aea6bbf
[ "MIT" ]
null
null
null
Source/Windows/GithubIssuesWindow.cpp
humdingerb/Issues
115ac2c3bc04e2f967fc884fa3fd7eb46aea6bbf
[ "MIT" ]
null
null
null
Source/Windows/GithubIssuesWindow.cpp
humdingerb/Issues
115ac2c3bc04e2f967fc884fa3fd7eb46aea6bbf
[ "MIT" ]
null
null
null
/* * Copyright 2015 Your Name <your@email.address> * All rights reserved. Distributed under the terms of the MIT license. */ #include "GithubIssuesWindow.h" #include "GithubRepository.h" #include "Constants.h" #include "IssuesContainerView.h" #include <interface/MenuBar.h> #include <interface/MenuItem.h> #include...
25.468085
96
0.785297
93c3ea338ec81545bc85c39ee99a047e03304c99
4,013
cpp
C++
test/separator_test.cpp
thm-mni-ii/sea
3d3f63c3d17ab91f0aaada3c4315ba98367a3460
[ "MIT" ]
17
2019-01-03T11:17:31.000Z
2021-10-31T19:19:41.000Z
test/separator_test.cpp
thm-mni-ii/sea
3d3f63c3d17ab91f0aaada3c4315ba98367a3460
[ "MIT" ]
106
2018-03-03T16:37:17.000Z
2020-08-31T09:24:52.000Z
test/separator_test.cpp
thm-mni-ii/sea
3d3f63c3d17ab91f0aaada3c4315ba98367a3460
[ "MIT" ]
4
2018-05-21T13:30:01.000Z
2019-06-12T07:43:43.000Z
#include <sealib/flow/separator.h> #include <gtest/gtest.h> #include <sealib/iterator/dfs.h> #include <cstdio> #include <cstdlib> #include <random> #include <sealib/collection/bitset.h> #include <sealib/graph/graphcreator.h> namespace Sealib { static uint64_t n = 50; static uint64_t deg = 4; TEST(SeparatorTest, VSep...
31.108527
80
0.468727
93c68bb20cff1fd86d67754871a90d0445784680
1,826
cpp
C++
Common/MapGuideCommon/Services/RenderingService.cpp
achilex/MgDev
f7baf680a88d37659af32ee72b9a2046910b00d8
[ "PHP-3.0" ]
2
2017-04-19T01:38:30.000Z
2020-07-31T03:05:32.000Z
Common/MapGuideCommon/Services/RenderingService.cpp
achilex/MgDev
f7baf680a88d37659af32ee72b9a2046910b00d8
[ "PHP-3.0" ]
null
null
null
Common/MapGuideCommon/Services/RenderingService.cpp
achilex/MgDev
f7baf680a88d37659af32ee72b9a2046910b00d8
[ "PHP-3.0" ]
1
2021-12-29T10:46:12.000Z
2021-12-29T10:46:12.000Z
// // Copyright (C) 2004-2011 by Autodesk, Inc. // // This library is free software; you can redistribute it and/or // modify it under the terms of version 2.1 of the GNU Lesser // General Public License as published by the Free Software Foundation. // // This library is distributed in the hope that it will be use...
28.984127
124
0.640745
93cbf0c0d0f9d7ce039184dff6cd44601027bdcf
2,818
cpp
C++
dependencies-include/nxogre/src/NxOgreSimpleShape.cpp
bach74/Lisa
6f79b909f734883cd05a0ccf8679199ae2e301cf
[ "MIT", "Unlicense" ]
2
2016-06-23T21:20:19.000Z
2020-03-25T15:01:07.000Z
dependencies-include/nxogre/src/NxOgreSimpleShape.cpp
bach74/Lisa
6f79b909f734883cd05a0ccf8679199ae2e301cf
[ "MIT", "Unlicense" ]
null
null
null
dependencies-include/nxogre/src/NxOgreSimpleShape.cpp
bach74/Lisa
6f79b909f734883cd05a0ccf8679199ae2e301cf
[ "MIT", "Unlicense" ]
null
null
null
/** \file NxOgreSimpleShape.cpp * \see NxOgreSimpleShape.h * \version 1.0-21 * * \licence NxOgre a wrapper for the PhysX physics library. * Copyright (C) 2005-8 Robin Southern of NxOgre.org http://www.nxogre.org * This library is free software; you can redistribute it and/or * ...
32.767442
87
0.529808
93cdb4f7ff40cd1e4970dd692635256ee9f4bd86
2,225
hpp
C++
external/mapnik/include/mapnik/pixel_position.hpp
baiyicanggou/mapnik_mvt
9bde52fa9958d81361c015c816858534ec0931bb
[ "Apache-2.0" ]
null
null
null
external/mapnik/include/mapnik/pixel_position.hpp
baiyicanggou/mapnik_mvt
9bde52fa9958d81361c015c816858534ec0931bb
[ "Apache-2.0" ]
null
null
null
external/mapnik/include/mapnik/pixel_position.hpp
baiyicanggou/mapnik_mvt
9bde52fa9958d81361c015c816858534ec0931bb
[ "Apache-2.0" ]
null
null
null
/***************************************************************************** * * This file is part of Mapnik (c++ mapping toolkit) * * Copyright (C) 2015 Artem Pavlenko * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as p...
24.722222
79
0.606292
93d0c017e4c6a664c47d05878b8e336acba64bb3
762
cpp
C++
chtho/logging/tests/LogFile_test.cpp
WineChord/chtho
f43c56a1c2faf83e5f48361ca1b06366ce061aab
[ "MIT" ]
null
null
null
chtho/logging/tests/LogFile_test.cpp
WineChord/chtho
f43c56a1c2faf83e5f48361ca1b06366ce061aab
[ "MIT" ]
null
null
null
chtho/logging/tests/LogFile_test.cpp
WineChord/chtho
f43c56a1c2faf83e5f48361ca1b06366ce061aab
[ "MIT" ]
null
null
null
// Copyright (c) 2021 Qizhou Guo // // This software is released under the MIT License. // https://opensource.org/licenses/MIT #include "chtho/logging/Logger.h" #include "chtho/logging/LogFile.h" #include <memory> #include <unistd.h> std::unique_ptr<chtho::LogFile> logfile; void outputFunc(const char* msg, int le...
27.214286
72
0.678478
93d1b81ebc92102f028d8f5802c28e26e108f395
325
cpp
C++
Codes/1.PalindromosI.cpp
JoaoGOFernandes/Gempro
cdbf6193d3d49a50ded2274b39321b8b8308cb05
[ "MIT" ]
null
null
null
Codes/1.PalindromosI.cpp
JoaoGOFernandes/Gempro
cdbf6193d3d49a50ded2274b39321b8b8308cb05
[ "MIT" ]
null
null
null
Codes/1.PalindromosI.cpp
JoaoGOFernandes/Gempro
cdbf6193d3d49a50ded2274b39321b8b8308cb05
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; //Identifica se é um palindromo int main () { string s; cin >> s; int n = s.size(); //checo se é palindromo bool ans = true; for(int i = 0, j = n-1; i < j; i++, j--){ if(s[i] != s[j]){ ans = false; } } if(ans) cout << "Palindromo\n"; else cout << "Nao eh\...
17.105263
42
0.544615
93d6a97b2033a24daea2f1994741410bf62ec338
27,263
cpp
C++
DesktopSharing/xop/RtmpConnection.cpp
JungleZy/DesktopSharing
b8d551a50a3abad8f54db9e5a74d778725422f22
[ "MIT" ]
502
2018-06-12T14:48:54.000Z
2022-03-31T07:33:00.000Z
DesktopSharing/xop/RtmpConnection.cpp
JungleZy/DesktopSharing
b8d551a50a3abad8f54db9e5a74d778725422f22
[ "MIT" ]
37
2018-11-23T20:43:27.000Z
2021-12-24T07:39:17.000Z
DesktopSharing/xop/RtmpConnection.cpp
JungleZy/DesktopSharing
b8d551a50a3abad8f54db9e5a74d778725422f22
[ "MIT" ]
198
2018-06-13T13:19:05.000Z
2022-03-30T07:32:20.000Z
#include "RtmpConnection.h" #include "RtmpServer.h" #include "RtmpPublisher.h" #include "RtmpClient.h" #include "net/Logger.h" #include <random> using namespace xop; RtmpConnection::RtmpConnection(std::shared_ptr<RtmpServer> rtmp_server, TaskScheduler *task_scheduler, SOCKET sockfd) : RtmpConnection(task_s...
28.788807
138
0.658732
93d76a4d4cbe0476bba5e2b6fafa268ed4a68046
573
hpp
C++
508 - A4-spbspu-labs-2020-904-3/spbspu-labs-2020-904-3-master-yakovlev.alexey/3/A1/base-types.hpp
NekoSilverFox/CPP
c6797264fceda4a65ac3452acca496e468d1365a
[ "Apache-2.0" ]
5
2020-02-08T20:57:21.000Z
2021-12-23T06:24:41.000Z
508 - A4-spbspu-labs-2020-904-3/spbspu-labs-2020-904-3-master-yakovlev.alexey/3/A1/base-types.hpp
NekoSilverFox/CPP
c6797264fceda4a65ac3452acca496e468d1365a
[ "Apache-2.0" ]
2
2020-03-02T14:44:55.000Z
2020-11-11T16:25:33.000Z
508 - A4-spbspu-labs-2020-904-3/spbspu-labs-2020-904-3-master-yakovlev.alexey/3/A1/base-types.hpp
NekoSilverFox/CPP
c6797264fceda4a65ac3452acca496e468d1365a
[ "Apache-2.0" ]
4
2020-09-27T17:30:03.000Z
2022-02-16T09:48:23.000Z
#ifndef YAKOVLEV_BASE #define YAKOVLEV_BASE #include <ios> struct point_t { double x; double y; }; bool operator==(const point_t &lhs, const point_t &rhs); bool operator!=(const point_t &lhs, const point_t &rhs); std::ostream& operator<<(std::ostream &os, const point_t &point); double getDistanceBetweenPoints...
17.90625
70
0.731239
93d7cb0b25270dc678d7f1828d4f934df0f26f62
4,497
hpp
C++
src/graphlab/serialization/vector.hpp
iivek/graphlab-cmu-mirror
028321757ea979e6a0859687e37933be375153eb
[ "ECL-2.0", "Apache-2.0" ]
1
2018-08-01T06:32:58.000Z
2018-08-01T06:32:58.000Z
src/graphlab/serialization/vector.hpp
iivek/graphlab-cmu-mirror
028321757ea979e6a0859687e37933be375153eb
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/graphlab/serialization/vector.hpp
iivek/graphlab-cmu-mirror
028321757ea979e6a0859687e37933be375153eb
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/** * Copyright (c) 2009 Carnegie Mellon University. * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2...
36.266129
95
0.66978
93de5aefe281faec3eed55cdfbdb5467c4f7dc05
5,294
cpp
C++
src/phyx-1.01/src/main_rlt.cpp
jlanga/smsk_selection
08070c6d4a6fbd9320265e1e698c95ba80f81123
[ "MIT" ]
4
2021-07-18T05:20:20.000Z
2022-01-03T10:22:33.000Z
src/phyx-1.01/src/main_rlt.cpp
jlanga/smsk_selection
08070c6d4a6fbd9320265e1e698c95ba80f81123
[ "MIT" ]
1
2017-08-21T07:26:13.000Z
2018-11-08T13:59:48.000Z
src/phyx-1.01/src/main_rlt.cpp
jlanga/smsk_orthofinder
08070c6d4a6fbd9320265e1e698c95ba80f81123
[ "MIT" ]
2
2021-07-18T05:20:26.000Z
2022-03-31T18:23:31.000Z
#include <iostream> #include <fstream> #include <vector> #include <string> #include <cstring> #include <getopt.h> using namespace std; #include "utils.h" #include "tree_reader.h" #include "relabel.h" #include "tree_utils.h" #include "log.h" void print_help() { cout << "Taxon relabelling for trees." << endl; ...
30.079545
135
0.513411
93de959e2074203e27e6365e684acc22f4415261
1,320
cc
C++
test/lazy_string_unittest.cc
Mercy1101/my_log
593dddc9cc4d7b6f2fa51176c7f83429fe43c266
[ "MIT" ]
null
null
null
test/lazy_string_unittest.cc
Mercy1101/my_log
593dddc9cc4d7b6f2fa51176c7f83429fe43c266
[ "MIT" ]
null
null
null
test/lazy_string_unittest.cc
Mercy1101/my_log
593dddc9cc4d7b6f2fa51176c7f83429fe43c266
[ "MIT" ]
null
null
null
/// Copyright (c) 2019,2020 Lijiancong. All rights reserved. /// /// Use of this source code is governed by a MIT license /// that can be found in the License file. #include "my_log/lazy_string.hpp" #include <catch2/catch.hpp> #include "profiler.hpp" TEST_CASE("lazy_string", "[my_log][lazy_string]") { { PROFI...
32.195122
80
0.567424
93ded1ddca3b29d61cdea4317793aac8c7ebece8
4,247
cpp
C++
src/Solver/g2oEdgeSE3Self.cpp
zjcs/PKVIO
7e26df3f3ee5bf0f44624c2ce94e15d33bb5544b
[ "Unlicense" ]
null
null
null
src/Solver/g2oEdgeSE3Self.cpp
zjcs/PKVIO
7e26df3f3ee5bf0f44624c2ce94e15d33bb5544b
[ "Unlicense" ]
null
null
null
src/Solver/g2oEdgeSE3Self.cpp
zjcs/PKVIO
7e26df3f3ee5bf0f44624c2ce94e15d33bb5544b
[ "Unlicense" ]
null
null
null
#include "g2oEdgeSE3Self.h" #include "g2o/core/factory.h" #include "g2o/stuff/macros.h" namespace g2o { using namespace std; using namespace Eigen; //G2O_REGISTER_TYPE_GROUP(expmap2); //G2O_REGISTER_TYPE(EDGE_SE3:EXPMAP2, EdgeSE3ProjectXYZRight2); //G2O_REGISTER_TYPE(EDGE_SE3:EXPMAP2, EdgeSE3ProjectXYZRight); //Edg...
26.879747
87
0.579703
93e0c4ff2741f421254fd37d5e6b3a1d59563211
17,835
cpp
C++
src/interpreter/library/fn_d3d.cpp
Grossley/opengml
bc3494aae64092f1c32a16361fd781249e2ea630
[ "MIT" ]
26
2019-07-18T04:45:08.000Z
2022-03-13T09:52:04.000Z
src/interpreter/library/fn_d3d.cpp
Grossley/opengml
bc3494aae64092f1c32a16361fd781249e2ea630
[ "MIT" ]
6
2021-09-10T00:48:00.000Z
2021-11-27T22:00:48.000Z
src/interpreter/library/fn_d3d.cpp
Grossley/opengml
bc3494aae64092f1c32a16361fd781249e2ea630
[ "MIT" ]
9
2019-07-26T06:32:53.000Z
2022-01-12T14:38:59.000Z
#include "libpre.h" #include "fn_d3d.h" #include "libpost.h" #include "ogm/interpreter/Variable.hpp" #include "ogm/common/error.hpp" #include "ogm/common/util.hpp" #include "ogm/interpreter/Executor.hpp" #include "ogm/interpreter/execute.hpp" #include "ogm/interpreter/display/Display.hpp" #include "ogm/geometry/Ve...
28.309524
165
0.579591
93e29e69d75f79963091765e46bd1442850b7342
9,026
cpp
C++
TerrainApps/mfcSimple/mfcSimpleView.cpp
nakijun/vtp
7bd2b2abd3a3f778a32ba30be099cfba9b892922
[ "MIT" ]
4
2019-02-08T13:51:26.000Z
2021-12-07T13:11:06.000Z
TerrainApps/mfcSimple/mfcSimpleView.cpp
nakijun/vtp
7bd2b2abd3a3f778a32ba30be099cfba9b892922
[ "MIT" ]
null
null
null
TerrainApps/mfcSimple/mfcSimpleView.cpp
nakijun/vtp
7bd2b2abd3a3f778a32ba30be099cfba9b892922
[ "MIT" ]
7
2017-12-03T10:13:17.000Z
2022-03-29T09:51:18.000Z
// mfcSimpleView.cpp : implementation of the CSimpleView class // // Copyright (c) 2001-2011 Virtual Terrain Project // Free for all uses, see license.txt for details. // #include "stdafx.h" #include "mfcSimple.h" #include "mfcSimpleDoc.h" #include "mfcSimpleView.h" bool CreateScene(); void CleanupScene(); // Heade...
22.341584
95
0.697762
93e41e4c8ed8de172b7afef1dc5f178b4cb946b7
61
cpp
C++
source/UI/ui_test.cpp
JakobEliasWagner/pomodoro-timer
a5ebda06645d135af4258e9b814ef364f5685541
[ "Unlicense" ]
null
null
null
source/UI/ui_test.cpp
JakobEliasWagner/pomodoro-timer
a5ebda06645d135af4258e9b814ef364f5685541
[ "Unlicense" ]
null
null
null
source/UI/ui_test.cpp
JakobEliasWagner/pomodoro-timer
a5ebda06645d135af4258e9b814ef364f5685541
[ "Unlicense" ]
null
null
null
// // Created by jakob on 09.03.22. // #include "ui_test.h"
10.166667
32
0.606557
93e722d784bf8d4a071c9c0c48d2bcae46812d1a
1,580
cc
C++
chrome/browser/page_load_metrics/observers/javascript_frameworks_ukm_observer.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2020-10-18T02:33:40.000Z
2020-10-18T02:33:40.000Z
chrome/browser/page_load_metrics/observers/javascript_frameworks_ukm_observer.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
3
2021-05-17T16:28:52.000Z
2021-05-21T22:42:22.000Z
chrome/browser/page_load_metrics/observers/javascript_frameworks_ukm_observer.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/page_load_metrics/observers/javascript_frameworks_ukm_observer.h" #include "services/metrics/public/cpp/ukm_builders.h" #include...
33.617021
90
0.803165
93e8b9f2d181c32a751b0fcce22b3cb86ba92f38
11,393
cpp
C++
Cores/ProSystem/core/Region.cpp
werminghoff/Provenance
de61b4a64a3eb8e2774e0a8ed53488c6c7aa6cb2
[ "BSD-3-Clause" ]
3,459
2015-01-07T14:07:09.000Z
2022-03-25T03:51:10.000Z
Cores/ProSystem/core/Region.cpp
werminghoff/Provenance
de61b4a64a3eb8e2774e0a8ed53488c6c7aa6cb2
[ "BSD-3-Clause" ]
1,046
2018-03-24T17:56:16.000Z
2022-03-23T08:13:09.000Z
Cores/ProSystem/core/Region.cpp
werminghoff/Provenance
de61b4a64a3eb8e2774e0a8ed53488c6c7aa6cb2
[ "BSD-3-Clause" ]
549
2015-01-07T14:07:15.000Z
2022-01-07T16:13:05.000Z
// ---------------------------------------------------------------------------- // ___ ___ ___ ___ ___ ____ ___ _ _ // /__/ /__/ / / /__ /__/ /__ / /_ / |/ / // / / \ /__/ ___/ ___/ ___/ / /__ / / emulator // // -----------------------------------------------------------------...
55.57561
100
0.693233
93eb1997c43299a24d5b14b96b602d6819dd660a
394
cpp
C++
src/route/router.cpp
dosisod/zz
5e747c5559c6d383e905781aabfc8d1f9ace4681
[ "MIT" ]
1
2020-03-24T23:25:55.000Z
2020-03-24T23:25:55.000Z
src/route/router.cpp
dosisod/zz
5e747c5559c6d383e905781aabfc8d1f9ace4681
[ "MIT" ]
null
null
null
src/route/router.cpp
dosisod/zz
5e747c5559c6d383e905781aabfc8d1f9ace4681
[ "MIT" ]
null
null
null
#include "router.hpp" #include "route.hpp" void Router::route(const std::string address, const std::function<std::string(void)> func) { routes.emplace_back(address, func); } std::string Router::execute(const std::string address) const { for (const auto& route : routes) if (route.matches(address)) return route....
26.266667
92
0.685279
93ee5c32a90cbbca01bd8e10ead090cb35bca096
2,547
cpp
C++
source/lib/src/mohansella/serial/Writer.cpp
mohansella/simple-kvstore
af9948f0a0e4247526ae03f4d639c548c9474837
[ "MIT" ]
null
null
null
source/lib/src/mohansella/serial/Writer.cpp
mohansella/simple-kvstore
af9948f0a0e4247526ae03f4d639c548c9474837
[ "MIT" ]
null
null
null
source/lib/src/mohansella/serial/Writer.cpp
mohansella/simple-kvstore
af9948f0a0e4247526ae03f4d639c548c9474837
[ "MIT" ]
null
null
null
#include <mohansella/serial/Writer.hpp> #include <mohansella/serial/ByteSerialType.hpp> namespace mohansella::serial { Writer::Writer() { } Writer::~Writer() { } Writer & Writer::putNull() { std::uint8_t nullEnVal = ByteSerialType::BSTYPE_NULL; return this->putRaw(&nullEnVal, sizeof(nullEnVal)); } ...
22.147826
96
0.699647
93eed7db58415e5995a906d5fa1b83ccc7deae2c
9,998
cpp
C++
MartrixGoC++/src/Game.cpp
MartrixG/GraduationProject
3f82a48ba27159ae0a1c67b3c441d4d1378543e5
[ "MIT" ]
null
null
null
MartrixGoC++/src/Game.cpp
MartrixG/GraduationProject
3f82a48ba27159ae0a1c67b3c441d4d1378543e5
[ "MIT" ]
null
null
null
MartrixGoC++/src/Game.cpp
MartrixG/GraduationProject
3f82a48ba27159ae0a1c67b3c441d4d1378543e5
[ "MIT" ]
null
null
null
// // Created by 11409 on 2021/4/17. // #include <iostream> #include <cstring> #include "Game.hpp" Game::Game(PointPtr* points, PArVecPtr* around, PDiVecPtr* diagonal) { this->allBoardPoints = points; this->allAround = around; this->allDiagonal = diagonal; this->targetBlock = new GoBlock(); this->...
28.48433
118
0.513303
93f0a00d280de0074d3e8edaa240092233cb0dce
329
cpp
C++
VimOnlyProject/VimOnlyProject2/main.cpp
EmerraldTheBearCat/How-I-learnt-c-
afc8d00202be870300a4b24182b2c6ee629c5f69
[ "Apache-2.0" ]
null
null
null
VimOnlyProject/VimOnlyProject2/main.cpp
EmerraldTheBearCat/How-I-learnt-c-
afc8d00202be870300a4b24182b2c6ee629c5f69
[ "Apache-2.0" ]
null
null
null
VimOnlyProject/VimOnlyProject2/main.cpp
EmerraldTheBearCat/How-I-learnt-c-
afc8d00202be870300a4b24182b2c6ee629c5f69
[ "Apache-2.0" ]
null
null
null
#include <iostream> int core(void) { std::cout << "This is a called function in vim" << std::endl; std::cout << "This means I can just write code once and run it multiple times without hassle" << std::endl; return 0; } int main() { core(); core(); bool condition; condition = true; if (condition = true) { core...
18.277778
108
0.641337
93f28202826738337e21f8cf69e953d34b285511
1,902
cpp
C++
004_double_link_list_str/cppmain.cpp
aben20807/SI-TONG-CHENG-SYU-YUAN-CHENG-CHANG-JI-HUA
a2817b7c742c02ef557c0aadaec4753be102a802
[ "MIT" ]
null
null
null
004_double_link_list_str/cppmain.cpp
aben20807/SI-TONG-CHENG-SYU-YUAN-CHENG-CHANG-JI-HUA
a2817b7c742c02ef557c0aadaec4753be102a802
[ "MIT" ]
2
2018-09-15T04:13:12.000Z
2018-09-16T02:02:12.000Z
004_double_link_list_str/cppmain.cpp
aben20807/SI-TONG-CHENG-SYU-YUAN-CHENG-CHANG-JI-HUA
a2817b7c742c02ef557c0aadaec4753be102a802
[ "MIT" ]
null
null
null
#include <cstdio> #include "dlist.h" using namespace std; DListRet print_int(void *ctx, void *data, bool is_first) { if (is_first) { printf("%d", *(int *)data); } else { printf(" - %d", *(int *)data); } return OK; } void print(DList *thiz) { printf("size: %d, list: ", dlist_size(th...
17.943396
66
0.544164
93f6a856a4cd08d788b71cebd0fec7e480c96801
5,651
cpp
C++
LeetCode/C++/188. Best Time to Buy and Sell Stock IV.cpp
shreejitverma/GeeksforGeeks
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
3
2020-12-30T00:29:59.000Z
2021-01-24T22:43:04.000Z
LeetCode/C++/188. Best Time to Buy and Sell Stock IV.cpp
shivaniverma1/Competitive-Programming-1
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
6
2022-01-13T04:31:04.000Z
2022-03-12T01:06:16.000Z
LeetCode/C++/188. Best Time to Buy and Sell Stock IV.cpp
shivaniverma1/Competitive-Programming-1
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
2
2022-02-14T19:53:53.000Z
2022-02-18T05:14:30.000Z
//Runtime error(MLE) //209 / 211 test cases passed. //time: O(N*k), space: O(k) class Solution { public: int maxProfit(int k, vector<int>& prices) { int n = prices.size(); //0th element for padding vector<int> holds(k+1, INT_MIN); vector<int> cashs(k+1, 0); int ans = 0; ...
35.765823
116
0.469828
93fbd1cd77defbec19e6d6eca525cbf1fd17a207
1,142
cpp
C++
Source/Parser/CursorType.cpp
JoinCAD/CPP-Reflection
61163369b6b3b370c4ce726dbf8e60e441723821
[ "MIT" ]
540
2015-09-18T09:44:57.000Z
2022-03-25T07:23:09.000Z
Source/Parser/CursorType.cpp
yangzhengxing/CPP-Reflection
43ec755b7a5c62e3252c174815c2e44727e11e72
[ "MIT" ]
16
2015-09-23T06:37:43.000Z
2020-04-10T15:40:08.000Z
Source/Parser/CursorType.cpp
yangzhengxing/CPP-Reflection
43ec755b7a5c62e3252c174815c2e44727e11e72
[ "MIT" ]
88
2015-09-21T15:12:32.000Z
2021-11-30T14:07:34.000Z
/* ---------------------------------------------------------------------------- ** Copyright (c) 2016 Austin Brunkhorst, All Rights Reserved. ** ** CursorType.cpp ** --------------------------------------------------------------------------*/ #include "Precompiled.h" #include "CursorType.h" CursorType::CursorType(co...
21.148148
79
0.636602
93fd62c86da1ff1f472c95f051e3b1cad67644f3
6,760
cpp
C++
hookflash-core/core/hookflash/stack/message/cpp/stack_message_PeerToFinderSessionCreateRequest.cpp
ilin-in/OP
bf3e87d90008e2a4106ee70360fbe15b0d694e77
[ "Unlicense" ]
1
2020-02-19T09:55:55.000Z
2020-02-19T09:55:55.000Z
hookflash-core/core/hookflash/stack/message/cpp/stack_message_PeerToFinderSessionCreateRequest.cpp
ilin-in/OP
bf3e87d90008e2a4106ee70360fbe15b0d694e77
[ "Unlicense" ]
null
null
null
hookflash-core/core/hookflash/stack/message/cpp/stack_message_PeerToFinderSessionCreateRequest.cpp
ilin-in/OP
bf3e87d90008e2a4106ee70360fbe15b0d694e77
[ "Unlicense" ]
null
null
null
/* Copyright (c) 2012, SMB Phone Inc. 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, this list of conditions and the ...
35.025907
108
0.648669
93fe47ce8471d35d96cef8d98a26a89b7ffeee5d
6,890
hpp
C++
Tools/RegistersGenerator/Msp432P401Y/fpbregisters.hpp
snorkysnark/CortexLib
0db035332ebdfbebf21ca36e5e04b78a5a908a49
[ "MIT" ]
22
2019-09-07T22:38:01.000Z
2022-01-31T21:35:55.000Z
Tools/RegistersGenerator/Msp432P401Y/fpbregisters.hpp
snorkysnark/CortexLib
0db035332ebdfbebf21ca36e5e04b78a5a908a49
[ "MIT" ]
null
null
null
Tools/RegistersGenerator/Msp432P401Y/fpbregisters.hpp
snorkysnark/CortexLib
0db035332ebdfbebf21ca36e5e04b78a5a908a49
[ "MIT" ]
9
2019-09-22T11:26:24.000Z
2022-03-21T10:53:15.000Z
/******************************************************************************* * Filename : fpbregisters.hpp * * Details : FPB. This header file is auto-generated for MSP432P401Y * device. * * *******************************************************************************/ #if !defined(FPB...
45.03268
103
0.720755
9e0309e7691fa4ba3ab01037fcc3bab477210650
2,110
cpp
C++
Tests/UnitTests/MathTests/QuantizedOperationsTests.cpp
shyamalschandra/CNTK
0e7a6cd4cc174eab28eaf2ffc660c6380b9e4e2d
[ "MIT" ]
17,702
2016-01-25T14:03:01.000Z
2019-05-06T09:23:41.000Z
Tests/UnitTests/MathTests/QuantizedOperationsTests.cpp
shyamalschandra/CNTK
0e7a6cd4cc174eab28eaf2ffc660c6380b9e4e2d
[ "MIT" ]
3,489
2016-01-25T13:32:09.000Z
2019-05-03T11:29:15.000Z
Tests/UnitTests/MathTests/QuantizedOperationsTests.cpp
shyamalschandra/CNTK
0e7a6cd4cc174eab28eaf2ffc660c6380b9e4e2d
[ "MIT" ]
5,180
2016-01-25T14:02:12.000Z
2019-05-06T04:24:28.000Z
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE.md file in the project root for full license information. // #include "stdafx.h" #include "../../../Source/Math/QuantizedOperations.h" #include "../../../Source/Math/Helpers.h" using namespace Microsoft::MSR::CNTK; names...
37.678571
162
0.633649
9e04e6a1bc1c0c4ccca074bc22c05654112324e0
1,286
cpp
C++
SDK/ARKSurvivalEvolved_ProjPoop_functions.cpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_ProjPoop_functions.cpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_ProjPoop_functions.cpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
3
2020-07-22T17:42:07.000Z
2021-06-19T17:16:13.000Z
// ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_ProjPoop_parameters.hpp" namespace sdk { //--------------------------------------------------------------------------- //Functions //-------------------------------------------------------------------------...
22.561404
107
0.657076
9e0524f984f1483e6b3d372a6d1c3482909abd7d
6,103
cpp
C++
test/AdminTest.cpp
avilcheslopez/geopm
35ad0af3f17f42baa009c97ed45eca24333daf33
[ "MIT", "BSD-3-Clause" ]
null
null
null
test/AdminTest.cpp
avilcheslopez/geopm
35ad0af3f17f42baa009c97ed45eca24333daf33
[ "MIT", "BSD-3-Clause" ]
null
null
null
test/AdminTest.cpp
avilcheslopez/geopm
35ad0af3f17f42baa009c97ed45eca24333daf33
[ "MIT", "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2015 - 2022, Intel Corporation * SPDX-License-Identifier: BSD-3-Clause */ #include "config.h" #include <memory> #include <fstream> #include "gtest/gtest.h" #include "gmock/gmock.h" #include "geopm_sched.h" #include "geopm_test.hpp" #include "Admin.hpp" #include "geopm/Helper.hpp" using geopm::A...
31.458763
95
0.628216
9e059be9da183e39b04f834641680fe3aadb2c67
1,672
cc
C++
application/go_server.cc
ZenLiuCN/zcef
dfa128963c05ec9e222c6da1119f96440b462a6c
[ "MIT" ]
1
2019-01-23T11:16:49.000Z
2019-01-23T11:16:49.000Z
application/go_server.cc
ZenLiuCN/zcef
dfa128963c05ec9e222c6da1119f96440b462a6c
[ "MIT" ]
null
null
null
application/go_server.cc
ZenLiuCN/zcef
dfa128963c05ec9e222c6da1119f96440b462a6c
[ "MIT" ]
2
2018-10-29T16:56:56.000Z
2020-01-08T14:54:24.000Z
// // Created by Zen Liu on 2018-10-6. // #include "go_server.h" #include "goserver.h" bool GoServer::start(std::string port) { return static_cast<bool>(goStartServer(const_cast<char *>(port.c_str()))); } int GoServer::enableHttpServer(std::string dir) { return int(goUseHttpServer(const_cast<char *>(dir.c_s...
23.885714
100
0.686005
9e064bbe7f7728b619f5926e2de209756a2bf12f
7,356
cpp
C++
src/borgwin.cpp
mibcoder/borgwin
8c10448f3dd6b38487302d6158e8277368da6a52
[ "MIT" ]
null
null
null
src/borgwin.cpp
mibcoder/borgwin
8c10448f3dd6b38487302d6158e8277368da6a52
[ "MIT" ]
null
null
null
src/borgwin.cpp
mibcoder/borgwin
8c10448f3dd6b38487302d6158e8277368da6a52
[ "MIT" ]
null
null
null
// borgwin2.cpp : This file contains the 'main' function. Program execution begins and ends there. // #include "pch.h" #include <iostream> #include <sstream> namespace po = boost::program_options; namespace bp = boost::process; std::string cygwinDir = R"(c:\cygwin64\bin)"; std::string workingDir = ""; std::string pa...
34.213953
196
0.642197
9e065de0207a060e30327b0b626810089886fc23
6,406
hpp
C++
third/include/atlas/transaction/detail/transaction_manager.hpp
galaxyeye/pioneer
cfc3aa3c4917b19000753ea3144bded79380d289
[ "Apache-2.0" ]
4
2017-05-12T07:37:17.000Z
2019-11-14T10:52:28.000Z
third/include/atlas/transaction/detail/transaction_manager.hpp
galaxyeye/pioneer
cfc3aa3c4917b19000753ea3144bded79380d289
[ "Apache-2.0" ]
null
null
null
third/include/atlas/transaction/detail/transaction_manager.hpp
galaxyeye/pioneer
cfc3aa3c4917b19000753ea3144bded79380d289
[ "Apache-2.0" ]
7
2017-06-21T03:35:51.000Z
2020-10-14T04:58:26.000Z
// Copyright Stefan Strasser 2010. // Copyright Vicente J. Botet Escriba 2010. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef BOOST_TRANSACT_DETAIL_TAG_RESOURCE_PAIR_HPP #defin...
31.870647
120
0.598814
9e09b29f06fee7f78f005e007b429dc3c34de9a2
7,146
cpp
C++
hfsfolder-cpp/ProcessFolders.cpp
riquefsouza/hfsfolder
45a42c2599f48d3d784ee8d91e5323da7a4fea83
[ "MIT" ]
null
null
null
hfsfolder-cpp/ProcessFolders.cpp
riquefsouza/hfsfolder
45a42c2599f48d3d784ee8d91e5323da7a4fea83
[ "MIT" ]
null
null
null
hfsfolder-cpp/ProcessFolders.cpp
riquefsouza/hfsfolder
45a42c2599f48d3d784ee8d91e5323da7a4fea83
[ "MIT" ]
null
null
null
#include "ProcessFolders.h" #include <cstdlib> #include <io.h> #include <sys/types.h> #include <sys/stat.h> #include <set> #include <fstream> #include <boost/algorithm/string.hpp> #if !defined (S_IWUSR) #define S_IWUSR 00200 /* write permission: owner. */ #endif /* !S_IWUSR */ using namespace s...
25.430605
126
0.630842
9e0b524886f94ebbe8d7a7279ac25eab9f5f4ce3
535
cpp
C++
src/bench/bench_arc_param.cpp
prateekma/FalconLibraryC-
11b45e96f0735fa5c668386ef0da6ebf80011998
[ "MIT" ]
2
2019-06-28T08:00:15.000Z
2019-06-29T02:42:51.000Z
src/bench/bench_arc_param.cpp
prateekma/FalconLibraryC-
11b45e96f0735fa5c668386ef0da6ebf80011998
[ "MIT" ]
null
null
null
src/bench/bench_arc_param.cpp
prateekma/FalconLibraryC-
11b45e96f0735fa5c668386ef0da6ebf80011998
[ "MIT" ]
1
2019-08-04T14:02:33.000Z
2019-08-04T14:02:33.000Z
#include <FalconLibrary.h> #include <benchmark/benchmark.h> static void BM_ArcParam(benchmark::State& state) { const fl::Pose2d initial{0.0, 0.0, fl::Rotation2d::FromDegrees(0.0)}; const fl::Pose2d final{10.0, 10.0, fl::Rotation2d::FromDegrees(45.0)}; const auto spline = std::make_shared<fl::ParametricQuin...
38.214286
97
0.71215
9e19d40f52f3c9036579b96e536cb9f6b674affe
6,670
cc
C++
src/circuit/circuit_data.cc
hyraxZK/libpws
cc1b7dfdafb3d01b025cdb72ed83379d205a0147
[ "Apache-2.0" ]
null
null
null
src/circuit/circuit_data.cc
hyraxZK/libpws
cc1b7dfdafb3d01b025cdb72ed83379d205a0147
[ "Apache-2.0" ]
null
null
null
src/circuit/circuit_data.cc
hyraxZK/libpws
cc1b7dfdafb3d01b025cdb72ed83379d205a0147
[ "Apache-2.0" ]
1
2020-01-16T07:49:03.000Z
2020-01-16T07:49:03.000Z
#include <cassert> #include <sstream> #include <stdint.h> #include <iostream> #include <cerrno> #include <stdexcept> #include "circuit_data.hh" #include "debug_utils.hh" #include "mpnops.hh" #include "prng.hh" #include "utility.hh" using namespace std; static Prng &prng = Prng::global; #define RETURN_IF_FALSE(file,...
20.778816
101
0.651724
9e1a6c046f4714f9791f3fe5c29602670e14269b
2,596
cpp
C++
engine/graphics/graphics_bootstrapper.cpp
JellevanCampen/pugvania
1f964f70b05565adea6c5c55c2c2bae5cac52d53
[ "MIT" ]
null
null
null
engine/graphics/graphics_bootstrapper.cpp
JellevanCampen/pugvania
1f964f70b05565adea6c5c55c2c2bae5cac52d53
[ "MIT" ]
24
2016-09-26T14:54:31.000Z
2017-02-16T14:01:58.000Z
engine/graphics/graphics_bootstrapper.cpp
JellevanCampen/pugvania
1f964f70b05565adea6c5c55c2c2bae5cac52d53
[ "MIT" ]
null
null
null
#include "graphics_bootstrapper.h" #include "engine.h" #include "graphics_glfw.h" namespace engine { void GraphicsBootstrapper::CameraMove(Point2Df position) { g_log("Calling bootstrapper function (graphics subsystem call before the graphics subsystem was bootstrapped): " __FUNCTION__, log::kError); } void Graphi...
39.938462
194
0.780046
9e1b8894754b1029452c597246b59617e6adb8fa
71
cpp
C++
src/streams/SentenceStringOutputStream.cpp
alesapin/rutok
808a88dd80f1cf03bbf459bec71b8655825b5391
[ "MIT" ]
null
null
null
src/streams/SentenceStringOutputStream.cpp
alesapin/rutok
808a88dd80f1cf03bbf459bec71b8655825b5391
[ "MIT" ]
8
2019-08-17T11:50:37.000Z
2019-08-17T20:28:31.000Z
src/streams/SentenceStringOutputStream.cpp
alesapin/rutok
808a88dd80f1cf03bbf459bec71b8655825b5391
[ "MIT" ]
null
null
null
#include <streams/SentenceStringOutputStream.h> namespace tokenize { }
14.2
47
0.816901
9e23bf60256db25ca0e0d7bcff0e5d946ea581d3
2,262
cpp
C++
using-cpp-standard-template-libraries-master/Chapter 10/Ex10_02.cpp
ai-chen2050/book-code
74676efa50ef9e8a4a40b97978d9d42f18070102
[ "MIT" ]
null
null
null
using-cpp-standard-template-libraries-master/Chapter 10/Ex10_02.cpp
ai-chen2050/book-code
74676efa50ef9e8a4a40b97978d9d42f18070102
[ "MIT" ]
null
null
null
using-cpp-standard-template-libraries-master/Chapter 10/Ex10_02.cpp
ai-chen2050/book-code
74676efa50ef9e8a4a40b97978d9d42f18070102
[ "MIT" ]
null
null
null
// Ex10_02.cpp // Dropping bricks safely from a tall building using valarray objects #include <numeric> // For iota() #include <iostream> // For standard streams #include <iomanip> // For stream manipulators...
46.163265
98
0.549514
9e264e9ef33fb9bdd550611dcf4d365ca941ebe3
447
cpp
C++
Courses/Sams_Teach_Yourself_C++_in_One_Hour_a_Day/Chap_10/Lesson 10.8 A class CarRelated to class Motorvia private Inheritance.cpp
mccrudd3n/practise
26a65c0515c9bea7583bcb8f4c0022659b48dcf5
[ "Unlicense" ]
null
null
null
Courses/Sams_Teach_Yourself_C++_in_One_Hour_a_Day/Chap_10/Lesson 10.8 A class CarRelated to class Motorvia private Inheritance.cpp
mccrudd3n/practise
26a65c0515c9bea7583bcb8f4c0022659b48dcf5
[ "Unlicense" ]
null
null
null
Courses/Sams_Teach_Yourself_C++_in_One_Hour_a_Day/Chap_10/Lesson 10.8 A class CarRelated to class Motorvia private Inheritance.cpp
mccrudd3n/practise
26a65c0515c9bea7583bcb8f4c0022659b48dcf5
[ "Unlicense" ]
null
null
null
#include <iostream> using namespace std; class Motor { public: void SwitchIgnition() { cout << "Ignition On" << endl; } void PumpFuel() { cout << "Fuel in Cylinders" << endl; } void FireCylinders() { cout << "Boom" << endl; } }; class Car: private Motor { public: void Move() { Sw...
11.763158
40
0.577181
9e278f92c4dfe47b1b62a04badfa953a67cb3cb1
8,336
cpp
C++
SFMLTemplate/Model.cpp
Altelus/Monkey-Racers
421529bf4084f53485750041ccde6f6b96f6a861
[ "Xnet", "X11" ]
2
2015-10-27T08:36:36.000Z
2020-03-28T12:59:24.000Z
SFMLTemplate/Model.cpp
Altelus/Monkey-Racers
421529bf4084f53485750041ccde6f6b96f6a861
[ "Xnet", "X11" ]
null
null
null
SFMLTemplate/Model.cpp
Altelus/Monkey-Racers
421529bf4084f53485750041ccde6f6b96f6a861
[ "Xnet", "X11" ]
null
null
null
#include "Engine.h" #include <exception> Model::Model() { isLoaded = false; scale = Vec3 (1,1,1); originOffsetPos = Vec3 (0,0,0); forward = Vec3 (0,0,-1); strafe = Vec3 (1,0,0); up = Vec3 (0,1,0); azemuth = elevation = 0; vbo = new cbmini::cbfw::VertexBuffer; SetModelType(MODEL_TYPE_VTN); } Model::Model...
22.408602
118
0.65547
9e27eff4653398d4b0f1275a816157112be950ae
2,540
hpp
C++
sm_value_store/include/sm/value_store/VerboseValueStore.hpp
christian-rauch/schweizer_messer
9b8f99f4387e7a8f4105e54b27f22ecee5ea0cd0
[ "BSD-3-Clause" ]
35
2017-12-07T15:13:02.000Z
2021-11-07T19:51:05.000Z
sm_value_store/include/sm/value_store/VerboseValueStore.hpp
christian-rauch/schweizer_messer
9b8f99f4387e7a8f4105e54b27f22ecee5ea0cd0
[ "BSD-3-Clause" ]
48
2015-01-01T21:18:18.000Z
2017-07-30T08:43:05.000Z
sm_value_store/include/sm/value_store/VerboseValueStore.hpp
christian-rauch/schweizer_messer
9b8f99f4387e7a8f4105e54b27f22ecee5ea0cd0
[ "BSD-3-Clause" ]
13
2015-02-03T15:54:40.000Z
2017-10-08T17:10:43.000Z
#ifndef VALUE_STORE_VERBOSEVALUESTORE_HPP_ #define VALUE_STORE_VERBOSEVALUESTORE_HPP_ #include <memory> #include <functional> #include "ValueStore.hpp" namespace sm { namespace value_store { namespace internal { template <typename Base> class VerboseValueStoreT : public Base { public: VerboseValueStoreT(std::shar...
39.076923
145
0.761811
9e282e044ec6d27e32aa5dcb3ae7b62b9206c2cd
518
cpp
C++
Invocacion.cpp
mikeandino/Lab5-P3-MichaelAndino
142823d50127e926f06cf9bdfa8e0d02c35611b8
[ "MIT" ]
null
null
null
Invocacion.cpp
mikeandino/Lab5-P3-MichaelAndino
142823d50127e926f06cf9bdfa8e0d02c35611b8
[ "MIT" ]
null
null
null
Invocacion.cpp
mikeandino/Lab5-P3-MichaelAndino
142823d50127e926f06cf9bdfa8e0d02c35611b8
[ "MIT" ]
null
null
null
#include "Invocacion.h" Invocacion :: Invocacion(string pNombre,string pNivel,string pNombrem,string pEspecie,string pHabilidad, string pTipo) : Poder(pNombre,pNivel){ nombrem=pNombrem; especie=pEspecie; } string Invocacion::getNombrem(){ return nombrem; } string Invocacion::getEspecie(){ return especie...
16.1875
143
0.722008
9e28b647d6be0108ec5cf3b748952e7cba7ccf33
1,184
cpp
C++
src/PeerPluginStatus.cpp
JoystreamClassic/joystream-node
2450382bb937abdd959b460791c25f2d8f127168
[ "MIT" ]
null
null
null
src/PeerPluginStatus.cpp
JoystreamClassic/joystream-node
2450382bb937abdd959b460791c25f2d8f127168
[ "MIT" ]
9
2017-11-14T06:05:50.000Z
2018-07-08T18:21:17.000Z
src/PeerPluginStatus.cpp
JoystreamClassic/joystream-node
2450382bb937abdd959b460791c25f2d8f127168
[ "MIT" ]
4
2017-11-14T06:04:17.000Z
2018-08-24T07:39:00.000Z
/** * Copyright (C) JoyStream - All Rights Reserved * Unauthorized copying of this file, via any medium is strictly prohibited * Proprietary and confidential * Written by Bedeho Mender <bedeho.mender@gmail.com>, February 3 2017 */ #include "PeerPluginStatus.hpp" #include "libtorrent-node/utils.hpp" #include "libt...
28.190476
105
0.743243
9e2a2ebc48b598f7e024e3c514d81206030298da
1,046
cpp
C++
Rozi/UchitelskiSustav/main.cpp
slaviborisov/shu.bg
1ed9a65fff1512d18a3e4cde90030abb450f0d9f
[ "Apache-2.0" ]
null
null
null
Rozi/UchitelskiSustav/main.cpp
slaviborisov/shu.bg
1ed9a65fff1512d18a3e4cde90030abb450f0d9f
[ "Apache-2.0" ]
null
null
null
Rozi/UchitelskiSustav/main.cpp
slaviborisov/shu.bg
1ed9a65fff1512d18a3e4cde90030abb450f0d9f
[ "Apache-2.0" ]
null
null
null
#include "uchitelski-sustav.h" #include <iostream> using namespace std; int main() { system("chcp 1251"); CUSustav uchSustav; int c; do { cout <<endl; cout << "0. Изход от програмата"<<endl; cout << "1. Добавяне на нов учител"<<endl; cout << "2. Покажи учител"<<endl; cout << "...
28.27027
85
0.607075
9e2b0740604cd956f5aeffc304c43e1b9103fe20
18,125
cpp
C++
core/host_api/impl/host_api_impl.cpp
soramitsu/kagome
d66755924477f2818fcae30ba2e65681fce34264
[ "Apache-2.0" ]
110
2019-04-03T13:39:39.000Z
2022-03-09T11:54:42.000Z
core/host_api/impl/host_api_impl.cpp
soramitsu/kagome
d66755924477f2818fcae30ba2e65681fce34264
[ "Apache-2.0" ]
890
2019-03-22T21:33:30.000Z
2022-03-31T14:31:22.000Z
core/host_api/impl/host_api_impl.cpp
soramitsu/kagome
d66755924477f2818fcae30ba2e65681fce34264
[ "Apache-2.0" ]
27
2019-06-25T06:21:47.000Z
2021-11-01T14:12:10.000Z
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #include "host_api/impl/host_api_impl.hpp" #include "crypto/bip39/impl/bip39_provider_impl.hpp" #include "crypto/ed25519/ed25519_provider_impl.hpp" #include "crypto/hasher/hasher_impl.hpp" #include "crypto/pbkdf2/impl...
37.603734
80
0.749297
9e2f7022a5c361fccb22e9da1eef03fc9bd9f980
570,872
cpp
C++
src/server/game/Entities/Unit/Unit.cpp
Zone-Emu/ZoneEmuCataclysm
6277efff6cb5adfe8b7a718bf376e81609fa9a6c
[ "OpenSSL" ]
1
2019-03-23T19:32:57.000Z
2019-03-23T19:32:57.000Z
src/server/game/Entities/Unit/Unit.cpp
Zone-Emu/ZoneEmuCataclysm
6277efff6cb5adfe8b7a718bf376e81609fa9a6c
[ "OpenSSL" ]
null
null
null
src/server/game/Entities/Unit/Unit.cpp
Zone-Emu/ZoneEmuCataclysm
6277efff6cb5adfe8b7a718bf376e81609fa9a6c
[ "OpenSSL" ]
null
null
null
/* * Copyright (C) 2005 - 2012 MaNGOS <http://www.getmangos.com/> * * Copyright (C) 2008 - 2012 Trinity <http://www.trinitycore.org/> * * Copyright (C) 2010 - 2012 ArkCORE <http://www.arkania.net/> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General P...
29.441568
236
0.67334
9e34d01349b16f9e2820ca49771f3456afea1baa
4,632
cpp
C++
shirabeengine/shirabeengine/modules/core/code/source/serialization/jsonobjectserializer.cpp
BoneCrasher/ShirabeEngine
39b3aa2c5173084d59b96b7f60c15207bff0ad04
[ "MIT" ]
5
2019-12-02T12:28:57.000Z
2021-04-07T21:21:13.000Z
shirabeengine/shirabeengine/modules/core/code/source/serialization/jsonobjectserializer.cpp
BoneCrasher/ShirabeEngine
39b3aa2c5173084d59b96b7f60c15207bff0ad04
[ "MIT" ]
null
null
null
shirabeengine/shirabeengine/modules/core/code/source/serialization/jsonobjectserializer.cpp
BoneCrasher/ShirabeEngine
39b3aa2c5173084d59b96b7f60c15207bff0ad04
[ "MIT" ]
1
2020-01-09T14:25:42.000Z
2020-01-09T14:25:42.000Z
#include <iostream> #include "SEPUtil/Documents/JSON.h" #include "SEPCore/ObjectModel/SR_SEPCore_Object.h" #include "SEPCore/ObjectModel/SR_SEPCore_Property.h" #include "SEPCore/ObjectModel/Serialization/SR_SEPCore_JSONObjectSerializer.h" namespace sr { namespace serialization { using namespace sr::documents; ...
37.658537
169
0.470207
9e371bc0d64da0306dd467deaeadf69b31eff9fa
8,200
cc
C++
extensions/gen/mojo/public/interfaces/bindings/tests/new_endpoint_types.test-mojom-shared.cc
blockspacer/chromium_base_conan
b4749433cf34f54d2edff52e2f0465fec8cb9bad
[ "Apache-2.0", "BSD-3-Clause" ]
6
2020-12-22T05:48:31.000Z
2022-02-08T19:49:49.000Z
extensions/gen/mojo/public/interfaces/bindings/tests/new_endpoint_types.test-mojom-shared.cc
blockspacer/chromium_base_conan
b4749433cf34f54d2edff52e2f0465fec8cb9bad
[ "Apache-2.0", "BSD-3-Clause" ]
4
2020-05-22T18:36:43.000Z
2021-05-19T10:20:23.000Z
extensions/gen/mojo/public/interfaces/bindings/tests/new_endpoint_types.test-mojom-shared.cc
blockspacer/chromium_base_conan
b4749433cf34f54d2edff52e2f0465fec8cb9bad
[ "Apache-2.0", "BSD-3-Clause" ]
2
2019-12-06T11:48:16.000Z
2021-09-16T04:44:47.000Z
// mojo/public/interfaces/bindings/tests/new_endpoint_types.test-mojom-shared.cc is auto generated by mojom_bindings_generator.py, do not edit // 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 "...
31.417625
142
0.721585
9e3dee3c83418b383fa2f716ac4e8937f64ca1ca
720
cpp
C++
Rotor.cpp
FreddieLindsey/ic_year_2_cpp_enigma
d7efebed5a135e46c09e18873f2ba2630c2e1701
[ "MIT" ]
null
null
null
Rotor.cpp
FreddieLindsey/ic_year_2_cpp_enigma
d7efebed5a135e46c09e18873f2ba2630c2e1701
[ "MIT" ]
null
null
null
Rotor.cpp
FreddieLindsey/ic_year_2_cpp_enigma
d7efebed5a135e46c09e18873f2ba2630c2e1701
[ "MIT" ]
null
null
null
#include "Rotor.hpp" Rotor::Rotor(string file_content) : map_encode(ALPHABET_SIZE), map_decode(ALPHABET_SIZE), offset(0) { // Initialise istringstream content(file_content); string num; // Set map to input file given for (int i = 0; i < ALPHABET_SIZE; i++) { getline(content, num, INPUT_DELIM); i...
26.666667
78
0.665278
9e408d4df0fd4111a458ded0a89c558489b9122e
334
cpp
C++
Orbitersdk/stackEditor/OrbiterDockingPort.cpp
meson800/orbiter-stackEditor
01955f87ad6116ed07279e2bfab9636514a418f1
[ "MIT" ]
null
null
null
Orbitersdk/stackEditor/OrbiterDockingPort.cpp
meson800/orbiter-stackEditor
01955f87ad6116ed07279e2bfab9636514a418f1
[ "MIT" ]
2
2015-05-28T14:46:19.000Z
2015-07-20T23:15:04.000Z
Orbitersdk/stackEditor/OrbiterDockingPort.cpp
meson800/orbiter-stackEditor
01955f87ad6116ed07279e2bfab9636514a418f1
[ "MIT" ]
null
null
null
//Copyright (c) 2015 Christopher Johnstone(meson800) and Benedict Haefeli(jedidia) //The MIT License - See ../../LICENSE for more info #include "OrbiterDockingPort.h" DockingPortStatus OrbiterDockingPort::returnStatus() { DockingPortStatus output; output.docked = docked; output.dockedTo = dockedTo; ret...
27.833333
82
0.745509
9e42884e0698160bbc26ccae14a3370f02f46f7c
10,188
cpp
C++
src/Boring32/src/WinHttp/AsyncWebSocket.StatusCallback.cpp
yottaawesome/boring32
ecf843c200b133a4fad711dcf52419c0c88af49c
[ "MIT" ]
3
2021-11-25T13:44:57.000Z
2022-02-22T05:50:34.000Z
src/Boring32/src/WinHttp/AsyncWebSocket.StatusCallback.cpp
yottaawesome/boring32
ecf843c200b133a4fad711dcf52419c0c88af49c
[ "MIT" ]
3
2021-10-13T10:58:30.000Z
2021-12-21T05:46:41.000Z
src/Boring32/src/WinHttp/AsyncWebSocket.StatusCallback.cpp
yottaawesome/boring32
ecf843c200b133a4fad711dcf52419c0c88af49c
[ "MIT" ]
null
null
null
#include "pch.hpp" #include <future> #include <algorithm> #include "include/Strings/Strings.hpp" #include "include/Error/Error.hpp" #include "include/WinHttp/WebSockets/AsyncWebSocket.hpp" namespace Boring32::WinHttp::WebSockets { void AsyncWebSocket::StatusCallback( HINTERNET hInternet, DWORD_PTR dwCo...
26.881266
114
0.647723
9e47ccaf7a7e2f41444b1879b89d0d60f96a3852
2,037
cpp
C++
Pinball_Project/ModuleWindow.cpp
rastabrandy02/Pinball_Project_Physics_2
60de6903882e29f7fb919ebc4eb0f92130a15afb
[ "MIT" ]
null
null
null
Pinball_Project/ModuleWindow.cpp
rastabrandy02/Pinball_Project_Physics_2
60de6903882e29f7fb919ebc4eb0f92130a15afb
[ "MIT" ]
null
null
null
Pinball_Project/ModuleWindow.cpp
rastabrandy02/Pinball_Project_Physics_2
60de6903882e29f7fb919ebc4eb0f92130a15afb
[ "MIT" ]
1
2022-02-09T19:46:39.000Z
2022-02-09T19:46:39.000Z
#include "Globals.h" #include "Application.h" #include "ModuleWindow.h" ModuleWindow::ModuleWindow(Application* app, bool start_enabled) : Module(app, start_enabled) { window = NULL; screen_surface = NULL; } // Destructor ModuleWindow::~ModuleWindow() { } // Called before render is available bool ModuleWindow::In...
19.037383
107
0.693667
eafc3169eba604acdb2d92cceed49073fc30be40
6,958
cpp
C++
packages/+GT/GenericTargetCode/source/GenericTarget/SignalObjectDoubles.cpp
RobertDamerius/GenericTarget
6b26793c2d580797ac8104ca5368987cbb570ef8
[ "MIT" ]
1
2021-02-02T09:01:24.000Z
2021-02-02T09:01:24.000Z
packages/+GT/GenericTargetCode/source/GenericTarget/SignalObjectDoubles.cpp
RobertDamerius/GenericTarget
6b26793c2d580797ac8104ca5368987cbb570ef8
[ "MIT" ]
null
null
null
packages/+GT/GenericTargetCode/source/GenericTarget/SignalObjectDoubles.cpp
RobertDamerius/GenericTarget
6b26793c2d580797ac8104ca5368987cbb570ef8
[ "MIT" ]
2
2021-02-02T09:01:45.000Z
2021-10-02T13:08:16.000Z
#include <SignalObjectDoubles.hpp> #include <Console.hpp> #include <SimulinkInterface.hpp> #include <SignalManager.hpp> #include <Common.hpp> SignalObjectDoubles::SignalObjectDoubles(){ this->numSamplesPerFile = 0; this->numSignals = 0; this->labels = ""; this->started = false; this->filename = ""...
34.445545
217
0.617275
eafd77087c1c81b106f4c7fcc8b6ced67bfdbc1d
16,496
cpp
C++
src/zimg/depth/dither_avx2.cpp
dubhater/zimg
59ca0556789656a439f32b4cdfc8e26db32b8252
[ "WTFPL" ]
null
null
null
src/zimg/depth/dither_avx2.cpp
dubhater/zimg
59ca0556789656a439f32b4cdfc8e26db32b8252
[ "WTFPL" ]
null
null
null
src/zimg/depth/dither_avx2.cpp
dubhater/zimg
59ca0556789656a439f32b4cdfc8e26db32b8252
[ "WTFPL" ]
null
null
null
#ifdef ZIMG_X86 #include <cstdint> #include <immintrin.h> #ifdef __clang__ #include <x86intrin.h> #endif #include "common/align.h" #include "common/ccdep.h" #define HAVE_CPU_SSE2 #define HAVE_CPU_AVX2 #include "common/x86util.h" #undef HAVE_CPU_SSE2 #undef HAVE_CPU_AVX2 namespace zimg { namespace depth { namesp...
32.093385
137
0.701443
eafe2510b498e25c1d76448ee34dc2b1e217e409
601
cpp
C++
place_recognition/generate_signatures/src/GIST/src/main.cpp
IRVLab/so_dso_place_recognition
c330ee459bf3140fe2c117f0a3ad3535f8cad2ce
[ "Unlicense" ]
38
2020-07-23T04:33:41.000Z
2022-03-07T03:41:38.000Z
place_recognition/generate_signatures/src/GIST/src/main.cpp
IRVLab/so_dso_place_recognition
c330ee459bf3140fe2c117f0a3ad3535f8cad2ce
[ "Unlicense" ]
null
null
null
place_recognition/generate_signatures/src/GIST/src/main.cpp
IRVLab/so_dso_place_recognition
c330ee459bf3140fe2c117f0a3ad3535f8cad2ce
[ "Unlicense" ]
10
2020-10-19T01:00:43.000Z
2022-02-21T03:57:57.000Z
#include <iomanip> #include <iostream> #include <opencv2/opencv.hpp> #include "gist.h" #include "standalone_image.h" using namespace std; using namespace cv; using namespace cls; const GISTParams DEFAULT_PARAMS{true, 32, 32, 4, 3, {8, 8, 4}}; int main(int argc, char *argv[]) { Mat src = imread(argv[1]); if (src...
19.387097
63
0.635607
d80066e417bd53da3def109bc4936bb747115a6c
60
cpp
C++
LoveLiveWallpaper/src/IPointerUp.cpp
Juvwxyz/LoveLiveWallpaper
a0eeac941b5ccd53af538192cb92b7df049839c4
[ "MIT" ]
2
2020-05-09T00:13:06.000Z
2020-05-25T05:49:40.000Z
LoveLiveWallpaper/src/IPointerUp.cpp
Juvwxyz/LoveLiveWallpaper
a0eeac941b5ccd53af538192cb92b7df049839c4
[ "MIT" ]
null
null
null
LoveLiveWallpaper/src/IPointerUp.cpp
Juvwxyz/LoveLiveWallpaper
a0eeac941b5ccd53af538192cb92b7df049839c4
[ "MIT" ]
1
2020-05-25T05:49:44.000Z
2020-05-25T05:49:44.000Z
#include "IPointerUp.h" LLWP::IPointerUp::IPointerUp() { }
10
30
0.7
d800e268757cf43faee658356e2ab81a77a362db
7,726
cxx
C++
CORRFW/AliCFPair.cxx
maroozm/AliPhysics
22ec256928cfdf8f800e05bfc1a6e124d90b6eaf
[ "BSD-3-Clause" ]
114
2017-03-03T09:12:23.000Z
2022-03-03T20:29:42.000Z
CORRFW/AliCFPair.cxx
maroozm/AliPhysics
22ec256928cfdf8f800e05bfc1a6e124d90b6eaf
[ "BSD-3-Clause" ]
19,637
2017-01-16T12:34:41.000Z
2022-03-31T22:02:40.000Z
CORRFW/AliCFPair.cxx
maroozm/AliPhysics
22ec256928cfdf8f800e05bfc1a6e124d90b6eaf
[ "BSD-3-Clause" ]
1,021
2016-07-14T22:41:16.000Z
2022-03-31T05:15:51.000Z
/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Contributors ...
25.166124
89
0.582708
d8010d8b2e5a912437b2d9292b01bfc1732a2f0f
3,502
hpp
C++
include/RED4ext/Scripting/Natives/Generated/AtmosphereAreaSettings.hpp
flibX0r/RED4ext.SDK
18d075ef7559e35d8b02dc2e00a03ccc7ff4d77b
[ "MIT" ]
42
2020-12-25T08:33:00.000Z
2022-03-22T14:47:07.000Z
include/RED4ext/Scripting/Natives/Generated/AtmosphereAreaSettings.hpp
flibX0r/RED4ext.SDK
18d075ef7559e35d8b02dc2e00a03ccc7ff4d77b
[ "MIT" ]
38
2020-12-28T22:36:06.000Z
2022-02-16T11:25:47.000Z
include/RED4ext/Scripting/Natives/Generated/AtmosphereAreaSettings.hpp
flibX0r/RED4ext.SDK
18d075ef7559e35d8b02dc2e00a03ccc7ff4d77b
[ "MIT" ]
20
2020-12-28T22:17:38.000Z
2022-03-22T17:19:01.000Z
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> #include <RED4ext/Common.hpp> #include <RED4ext/NativeTypes.hpp> #include <RED4ext/Scripting/Natives/Generated/HDRColor.hpp> #include <RED4ext/Scripting/Natives/Generated/IAreaSettings.hpp> namespace RED4ext { struct CBitmapTex...
39.348315
65
0.729298
d807cd0ff6bf9012a57b42dc97e65526bd31f6f3
1,053
cpp
C++
232ImplementQueueUsingStacks.cpp
yuyangh/LeetCode
5d81cbd975c0c1f2bbca0cb25cefe361a169e460
[ "MIT" ]
1
2020-10-11T08:10:53.000Z
2020-10-11T08:10:53.000Z
232ImplementQueueUsingStacks.cpp
yuyangh/LeetCode
5d81cbd975c0c1f2bbca0cb25cefe361a169e460
[ "MIT" ]
null
null
null
232ImplementQueueUsingStacks.cpp
yuyangh/LeetCode
5d81cbd975c0c1f2bbca0cb25cefe361a169e460
[ "MIT" ]
null
null
null
#include "LeetCodeLib.h" class MyQueue { public: /** Initialize your data structure here. */ stack<int> reverse, order; MyQueue() { } /** Push element x to the back of queue. */ void push(int x) { restoreReverseElements(); reverse.push(x); } /** Removes the element from in front of queue and return...
18.803571
76
0.617284
d807d13dac6afc0d3daf1edd4ea8b1ded5b83f7b
790
cpp
C++
17-database-xml/17-13/myxmlstream/main.cpp
Franklin-Qi/qtcreator-example
5d573f961c3255fbf740991996f935092cc62018
[ "MIT" ]
null
null
null
17-database-xml/17-13/myxmlstream/main.cpp
Franklin-Qi/qtcreator-example
5d573f961c3255fbf740991996f935092cc62018
[ "MIT" ]
null
null
null
17-database-xml/17-13/myxmlstream/main.cpp
Franklin-Qi/qtcreator-example
5d573f961c3255fbf740991996f935092cc62018
[ "MIT" ]
null
null
null
#include <QCoreApplication> #include <QFile> #include <QXmlStreamReader> #include <QXmlStreamWriter> #include <QDebug> int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); QFile file("../myxmlstream/my2.xml"); if (!file.open(QFile::WriteOnly | QFile::Text)) { qDebug(...
23.235294
56
0.620253
d809305893b9a98d5d664f8379a5c24bb29c0a46
2,323
cc
C++
src/proto/core/entity-system/interface.cc
kcpikkt/proto
2d7458c2ce2f571303de040f660137dc0a1d33de
[ "MIT" ]
null
null
null
src/proto/core/entity-system/interface.cc
kcpikkt/proto
2d7458c2ce2f571303de040f660137dc0a1d33de
[ "MIT" ]
null
null
null
src/proto/core/entity-system/interface.cc
kcpikkt/proto
2d7458c2ce2f571303de040f660137dc0a1d33de
[ "MIT" ]
null
null
null
#include "proto/core/entity-system/interface.hh" namespace proto { // for doing things, that are usually done compile time, runtime // i.e. type erasure at its best struct _Runtime { template<size_t I> using CompAt = typename CompTList::template at_t<I>; // get template<t...
32.71831
89
0.530779
d80da73ddb700e879f1359d3387ef87b329bd11e
1,275
cc
C++
TrkFitter/TrkDeadMaker.cc
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
TrkFitter/TrkDeadMaker.cc
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
TrkFitter/TrkDeadMaker.cc
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
//-------------------------------------------------------------------------- // File and Version Information: // $Id: TrkDeadMaker.cc 104 2010-01-15 12:13:14Z stroili $ // // Description: // // Environment: // Software developed for the BaBar Detector at the SLAC B-Factory. // // Authors: Steve Schaffner // /...
32.692308
76
0.370196
d810e3d06ba7e8c537f455c21dbe790b83752c4a
33
hh
C++
build/ARM/arch/registers.hh
magnuram/edelsten5
63de812a22142f07fa48c253636e5c96156d4da9
[ "BSD-3-Clause" ]
null
null
null
build/ARM/arch/registers.hh
magnuram/edelsten5
63de812a22142f07fa48c253636e5c96156d4da9
[ "BSD-3-Clause" ]
null
null
null
build/ARM/arch/registers.hh
magnuram/edelsten5
63de812a22142f07fa48c253636e5c96156d4da9
[ "BSD-3-Clause" ]
null
null
null
#include "arch/arm/registers.hh"
16.5
32
0.757576
d811e05fd7042c828b95a833e7567ea334f31190
29,688
cpp
C++
Libraries/RobsJuceModules/rosic/legacy/AggressorOscSection.cpp
RobinSchmidt/RS-MET-Preliminary
6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe
[ "FTL" ]
34
2017-04-19T18:26:02.000Z
2022-02-15T17:47:26.000Z
Libraries/RobsJuceModules/rosic/legacy/AggressorOscSection.cpp
RobinSchmidt/RS-MET-Preliminary
6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe
[ "FTL" ]
307
2017-05-04T21:45:01.000Z
2022-02-03T00:59:01.000Z
Libraries/RobsJuceModules/rosic/legacy/AggressorOscSection.cpp
RobinSchmidt/RS-MET-Preliminary
6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe
[ "FTL" ]
4
2017-09-05T17:04:31.000Z
2021-12-15T21:24:28.000Z
#include "AggressorOscSection.h" //construction/destruction AggressorOscSection::AggressorOscSection() { //init member variables: slideTime = 0.5; //init slieTime to 0.5 seconds sampleRate = 44100; slideSamples = slideTime*sampleRate; slideSampCount = 0; syncMode = 0; modulationMode = 0; cur...
27.849906
110
0.737301
d81322e0d678c8f93fe9cd39d6121143c4e8b8ba
2,209
cpp
C++
code/RJObject/ConditionalPriors/BasicCircular.cpp
tripathi/DNestD3SB
400eb9ce73e789cdb3c6f791ef147c575ed3b2ea
[ "MIT" ]
null
null
null
code/RJObject/ConditionalPriors/BasicCircular.cpp
tripathi/DNestD3SB
400eb9ce73e789cdb3c6f791ef147c575ed3b2ea
[ "MIT" ]
null
null
null
code/RJObject/ConditionalPriors/BasicCircular.cpp
tripathi/DNestD3SB
400eb9ce73e789cdb3c6f791ef147c575ed3b2ea
[ "MIT" ]
null
null
null
#include "BasicCircular.h" #include "../../Utils.h" #include <cmath> using namespace DNest4; BasicCircular::BasicCircular(double x_min, double x_max, double y_min, double y_max, double mu_min, double mu_max) :x_min(x_min) ,x_max(x_max) ,y_min(y_min) ,y_max(y_max) ,size(sqrt((x_max - x_min)*(y_max - y_min)))...
21.656863
73
0.601177
d8161240d9a11919311d33cf5afd9081d4138df2
3,710
hpp
C++
modules/core/gallery/include/nt2/gallery/functions/gallery_impl/invhilb.hpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
34
2017-05-19T18:10:17.000Z
2022-01-04T02:18:13.000Z
modules/core/gallery/include/nt2/gallery/functions/gallery_impl/invhilb.hpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
null
null
null
modules/core/gallery/include/nt2/gallery/functions/gallery_impl/invhilb.hpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
7
2017-12-02T12:59:17.000Z
2021-07-31T12:46:14.000Z
//============================================================================== // Copyright 2003 - 2012 LASMEA UMR 6602 CNRS/Univ. Clermont II // Copyright 2009 - 2012 LRI UMR 8623 CNRS/Univ Paris Sud XI // // Distributed under the Boost Software License, Version 1.0. // ...
33.423423
87
0.437197
d818a6ffebd259f742368d71d6cb3f641a9de551
43
cpp
C++
src/main.cpp
seb-peneau/humiditySensor
16d5bff3a22e854f7b5394242e938157cf48e89a
[ "Apache-2.0" ]
null
null
null
src/main.cpp
seb-peneau/humiditySensor
16d5bff3a22e854f7b5394242e938157cf48e89a
[ "Apache-2.0" ]
null
null
null
src/main.cpp
seb-peneau/humiditySensor
16d5bff3a22e854f7b5394242e938157cf48e89a
[ "Apache-2.0" ]
null
null
null
#include "programs/humsensor/humsensor.cpp"
43
43
0.837209
d81b16346a72dceed10f671c098d126f6f86c10c
221
hpp
C++
include/jln/mp.hpp
jonathanpoelen/jln.mp
e5f05fc4467f14ac0047e3bdc75a04076e689985
[ "MIT" ]
9
2020-07-04T16:46:13.000Z
2022-01-09T21:59:31.000Z
include/jln/mp.hpp
jonathanpoelen/jln.mp
e5f05fc4467f14ac0047e3bdc75a04076e689985
[ "MIT" ]
null
null
null
include/jln/mp.hpp
jonathanpoelen/jln.mp
e5f05fc4467f14ac0047e3bdc75a04076e689985
[ "MIT" ]
1
2021-05-23T13:37:40.000Z
2021-05-23T13:37:40.000Z
#pragma once #include <jln/mp/algorithm.hpp> #include <jln/mp/error.hpp> #include <jln/mp/functional.hpp> #include <jln/mp/list.hpp> #include <jln/mp/number.hpp> #include <jln/mp/utility.hpp> #include <jln/mp/value.hpp>
22.1
32
0.728507
d81bef6500dc6aedb5992dca6635cb3536756727
3,113
cpp
C++
Assets/Plugins/Windows/RefreshRateHelper~/RefreshRateHelper/Source.cpp
Unity-Technologies/FrameSmoothnessTest
20dc8e469ec31fde7fe3a3aefe001ae2c5676a2d
[ "MIT" ]
5
2020-08-25T01:55:20.000Z
2022-02-20T21:44:55.000Z
Assets/Plugins/Windows/RefreshRateHelper~/RefreshRateHelper/Source.cpp
Unity-Technologies/FramerateSmoothnessTest
20dc8e469ec31fde7fe3a3aefe001ae2c5676a2d
[ "MIT" ]
null
null
null
Assets/Plugins/Windows/RefreshRateHelper~/RefreshRateHelper/Source.cpp
Unity-Technologies/FramerateSmoothnessTest
20dc8e469ec31fde7fe3a3aefe001ae2c5676a2d
[ "MIT" ]
null
null
null
#include <utility> #define WIN32_LEAN_AND_MEAN #define NOMINMAX #include <windows.h> #include <d3d11.h> #include <dxgi.h> #include <wrl.h> using Microsoft::WRL::ComPtr; static ComPtr<IDXGIFactory> s_DXGIFactory; static ComPtr<ID3D11Device> s_D3D11Device; static ComPtr<IDXGIOutput> s_CachedOutput; extern "C" __dec...
30.223301
179
0.594925
d81e696d806073560d7545b44687dfc400d1ce63
1,874
cpp
C++
src/ping_pong.cpp
duclos-cavalcanti/OpenMPI-Tutorial
5a1adeac3e0aaf9eae3e478b8479e5ddcdf08055
[ "MIT" ]
null
null
null
src/ping_pong.cpp
duclos-cavalcanti/OpenMPI-Tutorial
5a1adeac3e0aaf9eae3e478b8479e5ddcdf08055
[ "MIT" ]
null
null
null
src/ping_pong.cpp
duclos-cavalcanti/OpenMPI-Tutorial
5a1adeac3e0aaf9eae3e478b8479e5ddcdf08055
[ "MIT" ]
null
null
null
// Author: Wes Kendall // Copyright 2011 www.mpitutorial.com // This code is provided freely with the tutorials on mpitutorial.com. Feel // free to modify it for your own use. Any distribution of the code must // either provide a link to www.mpitutorial.com or keep this header intact. // // Ping pong example with MPI_S...
27.970149
78
0.65635
d820d5cb1a2fd4de7e367b5ff1c59aee6347e408
3,835
hh
C++
source/include/Algorithm/Calorimetry/HoughTransformAlgorithm.hh
rete/Baboon
e5b2cfe6b9e5b5a41c2c68feda84b8df109eb086
[ "FSFAP" ]
null
null
null
source/include/Algorithm/Calorimetry/HoughTransformAlgorithm.hh
rete/Baboon
e5b2cfe6b9e5b5a41c2c68feda84b8df109eb086
[ "FSFAP" ]
null
null
null
source/include/Algorithm/Calorimetry/HoughTransformAlgorithm.hh
rete/Baboon
e5b2cfe6b9e5b5a41c2c68feda84b8df109eb086
[ "FSFAP" ]
null
null
null
/* * * HoughTransformAlgorithm.hh header template generated by fclass * Creation date : Thu Mar 14 21:55:13 2013 * Copyright (c) CNRS / IPNL * All Right Reserved. * * Use and copying of these libraries and preparation of derivative works * based upon these libraries are permitted. Any copy of these libraries *...
17.75463
104
0.669622
d822717cd1dc1d8c6e13574b3a595fe5d256dca6
1,082
cpp
C++
platforms/gfg/0273_split_n_maximum_composite_number.cpp
idfumg/algorithms
06f85c5a1d07a965df44219b5a6bf0d43a129256
[ "MIT" ]
2
2020-09-17T09:04:00.000Z
2020-11-20T19:43:18.000Z
platforms/gfg/0273_split_n_maximum_composite_number.cpp
idfumg/algorithms
06f85c5a1d07a965df44219b5a6bf0d43a129256
[ "MIT" ]
null
null
null
platforms/gfg/0273_split_n_maximum_composite_number.cpp
idfumg/algorithms
06f85c5a1d07a965df44219b5a6bf0d43a129256
[ "MIT" ]
null
null
null
#include "../../template.hpp" bool IsPrime(int n) { if (n <= 1) return false; if (n <= 3) return true; if (n % 2 == 0 or n % 3 == 0) return false; for (int i = 5; i * i <= n; i += 6) { if (n % i == 0 or n % (i + 2) == 0) { return false; } } return true; } bool IsCom...
23.021277
60
0.470425
d8232c818385b3a7c287abfd564ba11632a27a98
1,536
cpp
C++
src/Native/LibTorchSharp/THSTorch.cpp
sethjuarez/TorchSharp
1cb4bfc21ad8c5c03b35f062d370c0715f56b578
[ "MIT" ]
null
null
null
src/Native/LibTorchSharp/THSTorch.cpp
sethjuarez/TorchSharp
1cb4bfc21ad8c5c03b35f062d370c0715f56b578
[ "MIT" ]
null
null
null
src/Native/LibTorchSharp/THSTorch.cpp
sethjuarez/TorchSharp
1cb4bfc21ad8c5c03b35f062d370c0715f56b578
[ "MIT" ]
null
null
null
// Copyright (c) Microsoft Corporation and contributors. All Rights Reserved. See License.txt in the project root for license information. #include "THSTorch.h" #include "torch/torch.h" #include "torch/cuda.h" void THSTorch_seed(const int64_t seed) { torch::manual_seed(seed); } int THSTorchCuda_is_available() ...
18.506024
140
0.740234
d829a305b5cf67d1a528e2212a9ee3910ce0443b
1,485
cpp
C++
src/World/World.cpp
cristianglezm/AntFarm
df7551621ad6eda6dae43a2ede56222500be1ae1
[ "Apache-2.0" ]
null
null
null
src/World/World.cpp
cristianglezm/AntFarm
df7551621ad6eda6dae43a2ede56222500be1ae1
[ "Apache-2.0" ]
1
2016-03-13T10:55:21.000Z
2016-03-13T10:55:21.000Z
src/World/World.cpp
cristianglezm/AntFarm
df7551621ad6eda6dae43a2ede56222500be1ae1
[ "Apache-2.0" ]
null
null
null
#include <World/World.hpp> namespace ant{ World::World() : id(0) , eventQueue(std::make_shared<EventQueue>()) , entityManager(std::make_shared<EntityManager>()) , systemManager(std::make_unique<SystemManager>()){} World::World(int id) : id(id) , eventQueue(std::make_shared<EventQueue>()...
33.75
123
0.660606
d82de41caf327f07caee8da2b0c2aba1f73b1fd8
2,256
cpp
C++
src/test/unit/services/sample/standalone_gqs_2390_test.cpp
sthagen/stan-dev-stan
38ab6922649f1cf35e66fa812fc28ce693cde345
[ "CC-BY-3.0", "BSD-3-Clause" ]
2,171
2015-01-09T01:41:18.000Z
2022-03-30T12:00:36.000Z
src/test/unit/services/sample/standalone_gqs_2390_test.cpp
sthagen/stan-dev-stan
38ab6922649f1cf35e66fa812fc28ce693cde345
[ "CC-BY-3.0", "BSD-3-Clause" ]
1,885
2015-01-02T13:33:12.000Z
2022-03-31T23:00:39.000Z
src/test/unit/services/sample/standalone_gqs_2390_test.cpp
sthagen/stan-dev-stan
38ab6922649f1cf35e66fa812fc28ce693cde345
[ "CC-BY-3.0", "BSD-3-Clause" ]
393
2015-01-16T22:42:33.000Z
2022-03-29T23:21:16.000Z
#include <stan/services/error_codes.hpp> #include <stan/services/sample/standalone_gqs.hpp> #include <stan/callbacks/stream_writer.hpp> #include <stan/callbacks/stream_logger.hpp> #include <stan/io/empty_var_context.hpp> #include <stan/io/stan_csv_reader.hpp> #include <test/test-models/good/services/bug_2390_gq.hpp> #i...
33.671642
78
0.73227
d82fb1ca4994fdfb13d600c1456309668abfb87b
103
cpp
C++
src/examples/06_module/01_bank/customer.cpp
acc-cosc-1337-fall-2020/acc-cosc-1337-fall-2020-Grecia1813
f356c1ed8f6e75b9e9d6164747a5c199bead8c95
[ "MIT" ]
null
null
null
src/examples/06_module/01_bank/customer.cpp
acc-cosc-1337-fall-2020/acc-cosc-1337-fall-2020-Grecia1813
f356c1ed8f6e75b9e9d6164747a5c199bead8c95
[ "MIT" ]
null
null
null
src/examples/06_module/01_bank/customer.cpp
acc-cosc-1337-fall-2020/acc-cosc-1337-fall-2020-Grecia1813
f356c1ed8f6e75b9e9d6164747a5c199bead8c95
[ "MIT" ]
null
null
null
//customer.cpp #include "customer.h" Demo::Demo() { cout << "2. Now the constructor is running\n"; }
14.714286
48
0.650485
d8320c7f5cf41634ca06cd96ca2c66a1a18d8df4
24,939
cpp
C++
pljit/parser/Parser.cpp
cakebytheoceanLuo/pl0-jit-compiler
033c6033a8b1274531e92d43141a8c43b7100a7f
[ "MIT" ]
null
null
null
pljit/parser/Parser.cpp
cakebytheoceanLuo/pl0-jit-compiler
033c6033a8b1274531e92d43141a8c43b7100a7f
[ "MIT" ]
null
null
null
pljit/parser/Parser.cpp
cakebytheoceanLuo/pl0-jit-compiler
033c6033a8b1274531e92d43141a8c43b7100a7f
[ "MIT" ]
null
null
null
//--------------------------------------------------------------------------- #include "parser/Parser.hpp" #include <cassert> #include <vector> #include <memory> //--------------------------------------------------------------------------- namespace pljit { //------------------------------------------------------------...
69.662011
233
0.687758
d834f7a7a0796bddd9d752b80cca8a55eb26e282
3,440
cpp
C++
Graph/310. Minimum Height Trees/main.cpp
Minecodecraft/LeetCode-Minecode
185fd6efe88d8ffcad94e581915c41502a0361a0
[ "MIT" ]
1
2021-11-19T19:58:33.000Z
2021-11-19T19:58:33.000Z
Graph/310. Minimum Height Trees/main.cpp
Minecodecraft/LeetCode-Minecode
185fd6efe88d8ffcad94e581915c41502a0361a0
[ "MIT" ]
null
null
null
Graph/310. Minimum Height Trees/main.cpp
Minecodecraft/LeetCode-Minecode
185fd6efe88d8ffcad94e581915c41502a0361a0
[ "MIT" ]
2
2021-11-26T12:47:27.000Z
2022-01-13T16:14:46.000Z
// // main.cpp // 310. Minimum Height Trees // // Created by 边俊林 on 2019/11/13. // Copyright © 2019 边俊林. All rights reserved. // #include <map> #include <set> #include <queue> #include <string> #include <stack> #include <vector> #include <cstdio> #include <numeric> #include <cstdlib> #include <utility> #include <i...
24.571429
73
0.451163
d8352c55a668b2a9e176f2bd98cdb41746e4a0d7
3,938
cxx
C++
test/test_utility.cxx
cmbrandt/stl-algorithms
9eb0bc664e8423fb066c29aa501a72f4e672be1d
[ "MIT" ]
null
null
null
test/test_utility.cxx
cmbrandt/stl-algorithms
9eb0bc664e8423fb066c29aa501a72f4e672be1d
[ "MIT" ]
null
null
null
test/test_utility.cxx
cmbrandt/stl-algorithms
9eb0bc664e8423fb066c29aa501a72f4e672be1d
[ "MIT" ]
null
null
null
#include <array> #include <iostream> #include <utility.hxx> #include <test_helpers.hxx> #include <test_utility.hxx> void test_utility() { int fail = 0; fail = test_swap(fail); fail = test_exchange(fail); fail = test_forward(fail); fail = test_move(fail); fail = test_move_if_noexcept(fail); if (fail ==...
20.298969
79
0.466988
d8396904e5f66985816aaacb88aa88e90458ed18
25,494
cxx
C++
main/desktop/source/deployment/registry/dp_backenddb.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/desktop/source/deployment/registry/dp_backenddb.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/desktop/source/deployment/registry/dp_backenddb.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
35.45758
117
0.593198
d83a1e36cb59e58725c9d29e38d2b894d0e82387
1,134
cpp
C++
source/core.cpp
henrygouk/nnet
dd33ce43852d2deb33e6495c0c1b1ba2227d2aa5
[ "BSD-3-Clause" ]
1
2018-10-12T01:33:23.000Z
2018-10-12T01:33:23.000Z
source/core.cpp
henrygouk/nnet
dd33ce43852d2deb33e6495c0c1b1ba2227d2aa5
[ "BSD-3-Clause" ]
4
2015-07-21T02:24:13.000Z
2016-07-06T10:06:31.000Z
source/core.cpp
henrygouk/nnet
dd33ce43852d2deb33e6495c0c1b1ba2227d2aa5
[ "BSD-3-Clause" ]
2
2016-07-06T08:56:01.000Z
2018-03-04T02:55:29.000Z
#include <cstring> #include <mm_malloc.h> #include <nnet/types.hpp> nnet_float *nnet_malloc(size_t length) { return (nnet_float *)_mm_malloc(sizeof(nnet_float) * length, 32); } void nnet_free(nnet_float *ptr) { _mm_free(ptr); } void nnet_shuffle_instances(nnet_float *features, nnet_float *labels, size_t length, s...
30.648649
124
0.737213
d83b223c6b3268602c1be98587d5769b27e9b1c1
634
cc
C++
test/lib/nut_Test_Particle.cc
losalamos/NuT
5c6e03c45a380ae24ea9ee8bc2e68c3748ddd4e0
[ "BSD-3-Clause" ]
4
2015-01-01T13:47:53.000Z
2016-03-31T01:56:43.000Z
test/lib/nut_Test_Particle.cc
losalamos/NuT
5c6e03c45a380ae24ea9ee8bc2e68c3748ddd4e0
[ "BSD-3-Clause" ]
1
2019-05-08T16:21:43.000Z
2019-05-14T17:20:19.000Z
test/lib/nut_Test_Particle.cc
lanl/NuT
5c6e03c45a380ae24ea9ee8bc2e68c3748ddd4e0
[ "BSD-3-Clause" ]
4
2017-06-21T20:26:30.000Z
2020-03-19T07:05:00.000Z
// T. M. Kelley (c) 2011 LANS LLC #include "Particle.hh" #include "RNG.hh" #include "gtest/gtest.h" #include "meshes/mesh_common/Vector.h" TEST(nut_Particle, instantiation) { // for a very simple test, we can use a totally bogus RNG typedef uint32_t rng_t; typedef double fp_t; using Vector = nut_mesh::Vector...
18.647059
59
0.652997
d83c80cd46a0f68e4e9d5774401f5ddc453b84d9
2,859
cpp
C++
net/socket/SocketAddress.cpp
w20089527/Net
ca40f0d4a5aa94c64abb8ccc7306bc66bdf12584
[ "MIT" ]
1
2019-08-10T20:29:13.000Z
2019-08-10T20:29:13.000Z
net/socket/SocketAddress.cpp
whrool/Net
ca40f0d4a5aa94c64abb8ccc7306bc66bdf12584
[ "MIT" ]
null
null
null
net/socket/SocketAddress.cpp
whrool/Net
ca40f0d4a5aa94c64abb8ccc7306bc66bdf12584
[ "MIT" ]
null
null
null
// The MIT License (MIT) // // Copyright(c) 2015 huan.wang // // 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, ...
28.59
130
0.693949
d844f0cf73b3ac22ab589bfd4bca3af1cfb12a9e
335
cpp
C++
source/dynamic_static/vulkan/framebuffer-utilities.cpp
dynamic-static/Dynamic_Static.Graphics
b4fcf3c53519d3a63448aa7d9a90e07ec68d69d4
[ "MIT" ]
3
2017-11-20T15:42:41.000Z
2020-05-02T22:05:39.000Z
source/dynamic_static/vulkan/framebuffer-utilities.cpp
DynamicStatic/Dynamic_Static.Graphics
b4fcf3c53519d3a63448aa7d9a90e07ec68d69d4
[ "MIT" ]
null
null
null
source/dynamic_static/vulkan/framebuffer-utilities.cpp
DynamicStatic/Dynamic_Static.Graphics
b4fcf3c53519d3a63448aa7d9a90e07ec68d69d4
[ "MIT" ]
null
null
null
/* ========================================== Copyright (c) 2021 dynamic_static Licensed under the MIT license http://opensource.org/licenses/MIT ========================================== */ #include "dynamic_static/vulkan/framebuffer-utilities.hpp" namespace dst { namespace vk { } // namespace vk } //...
19.705882
58
0.531343
d8466183e691dba7d2b2345b07a478a3e7372dcf
12,130
cpp
C++
src/ossim/util/ossimSlopeUtil.cpp
rkanavath/ossim18
d2e8204d11559a6a868755a490f2ec155407fa96
[ "MIT" ]
null
null
null
src/ossim/util/ossimSlopeUtil.cpp
rkanavath/ossim18
d2e8204d11559a6a868755a490f2ec155407fa96
[ "MIT" ]
null
null
null
src/ossim/util/ossimSlopeUtil.cpp
rkanavath/ossim18
d2e8204d11559a6a868755a490f2ec155407fa96
[ "MIT" ]
1
2019-09-25T00:43:35.000Z
2019-09-25T00:43:35.000Z
//******************************************************************* // Copyright (C) 2000 ImageLinks Inc. // // License: MIT // // See LICENSE.txt file in the top level directory for more details. // // Author: Oscar Kramer // //******************************************************************* // $Id: ossimSlopeU...
32.346667
100
0.662737
d849e0dd94deb2ee024e2f9a8dd896a0b0502a2c
968
cpp
C++
text.cpp
hehichens/Mini-PhotoShop
b3d0bd89da7a8cf369ad98a9bc7b4cb0d0145a51
[ "Apache-2.0" ]
3
2021-06-09T03:19:25.000Z
2021-12-27T04:23:28.000Z
text.cpp
hehichens/Mini-PhotoShop
b3d0bd89da7a8cf369ad98a9bc7b4cb0d0145a51
[ "Apache-2.0" ]
null
null
null
text.cpp
hehichens/Mini-PhotoShop
b3d0bd89da7a8cf369ad98a9bc7b4cb0d0145a51
[ "Apache-2.0" ]
null
null
null
#include "graph_scene.h" #include <opencv2/imgproc/imgproc.hpp> #include <QGraphicsSceneMouseEvent> #include <QtCore> #include <opencv2/highgui.hpp> #include <iostream> #include <unistd.h> using std::string; using namespace cv; void GraphScreen::add_text(int mx,int my, int size,QString text_content){ std::cout<<"...
25.473684
73
0.719008