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
f336cd668c360703a31441278f823d39040f9b57
3,268
cpp
C++
graph/dfs.cpp
huweihuang/data-structure-code
dacb3a036d0a4df391ce5fca9ce65f7dc2ab1b69
[ "Apache-2.0" ]
3
2019-05-17T09:09:16.000Z
2020-11-18T08:13:00.000Z
graph/dfs.cpp
huweihuang/data-structure-code
dacb3a036d0a4df391ce5fca9ce65f7dc2ab1b69
[ "Apache-2.0" ]
null
null
null
graph/dfs.cpp
huweihuang/data-structure-code
dacb3a036d0a4df391ce5fca9ce65f7dc2ab1b69
[ "Apache-2.0" ]
null
null
null
#include <stdio.h> #include <malloc.h> #include <string.h> #define MAXVEX 100 typedef char VertexType[3]; /*定义VertexType为char数组类型*/ typedef struct vertex { int adjvex; /*顶点编号*/ VertexType data; /*顶点的信息*/ } VType; /*顶点类型*/ typedef struct graph { int n,e; /*n为实际顶点数,e为实际边数*/ VType vexs[MAXVE...
22.383562
75
0.55814
huweihuang
f343dcd00e8e27c96139cfb997fc6d38aa5ae371
267
hpp
C++
src/game/components/ballcomponent.hpp
kalsipp/xpanse
540c4de6aabfad857ad5187875f5a223b54f8c3c
[ "MIT" ]
null
null
null
src/game/components/ballcomponent.hpp
kalsipp/xpanse
540c4de6aabfad857ad5187875f5a223b54f8c3c
[ "MIT" ]
null
null
null
src/game/components/ballcomponent.hpp
kalsipp/xpanse
540c4de6aabfad857ad5187875f5a223b54f8c3c
[ "MIT" ]
null
null
null
#pragma once #include "../../engine/component.hpp" #include "../../engine/components/spritecomponent.hpp" class BallComponent:public Component{ public: void setup(std::weak_ptr<GameObject>) final override; void update(GameObject & user) final override; private: };
26.7
54
0.756554
kalsipp
f3495d67d501f749e9d74ec0bb3150c3190dbcf0
1,779
cc
C++
docxbox/docx/xml/visitor/docx_xml_to_plaintext.cc
gyselroth/docxbox
ce7c4db5ef0d99f697b07cd086967c2bdb649f33
[ "MIT" ]
5
2020-04-07T08:32:17.000Z
2020-07-01T18:24:59.000Z
docxbox/docx/xml/visitor/docx_xml_to_plaintext.cc
gyselroth/docxbox
ce7c4db5ef0d99f697b07cd086967c2bdb649f33
[ "MIT" ]
56
2020-04-07T20:27:39.000Z
2020-07-09T15:38:30.000Z
docxbox/docx/xml/visitor/docx_xml_to_plaintext.cc
gyselroth/docxbox
ce7c4db5ef0d99f697b07cd086967c2bdb649f33
[ "MIT" ]
2
2020-04-08T11:17:18.000Z
2020-07-01T18:25:04.000Z
// Copyright (c) 2020 gyselroth GmbH // Licensed under the MIT License - https://opensource.org/licenses/MIT #include <docxbox/docx/xml/visitor/docx_xml_to_plaintext.h> docx_xml_to_plaintext::docx_xml_to_plaintext( int argc, const std::vector<std::string>& argv) : docx_xml( argc, argv) { } std::string docx_x...
26.161765
73
0.627319
gyselroth
f34eb32c75dd7474a2af213fa3fea8fb8dc6f0ad
2,898
cpp
C++
CreateGuid/CreateGuid/CreateGuid.cpp
jramos-br/PlayGround
13a6294892b242a0eb92258f256ac4b183e4c313
[ "MIT" ]
null
null
null
CreateGuid/CreateGuid/CreateGuid.cpp
jramos-br/PlayGround
13a6294892b242a0eb92258f256ac4b183e4c313
[ "MIT" ]
null
null
null
CreateGuid/CreateGuid/CreateGuid.cpp
jramos-br/PlayGround
13a6294892b242a0eb92258f256ac4b183e4c313
[ "MIT" ]
null
null
null
// The CreateGuid program. // // Copyright (c) 2019 Jorge Ramos (mailto jramos at pobox dot com) // // This is free software. Redistribution and use in source and binary forms, // with or without modification, for any purpose and with or without fee are // hereby permitted. Altered source versions must be plainly marke...
25.2
91
0.598689
jramos-br
f35484b296db7e8c8ecb49e0a904d0b30381b766
7,477
cc
C++
examples/scene_example/ObjectGrid.cc
jamiehathaway/gap
729533dd5c9ee3ef2a42dd20c1a6ab68fe6ab083
[ "Apache-2.0" ]
69
2018-03-13T15:41:04.000Z
2022-03-12T13:49:22.000Z
examples/scene_example/ObjectGrid.cc
jamiehathaway/gap
729533dd5c9ee3ef2a42dd20c1a6ab68fe6ab083
[ "Apache-2.0" ]
8
2018-05-02T08:29:36.000Z
2021-05-22T19:16:16.000Z
examples/scene_example/ObjectGrid.cc
jamiehathaway/gap
729533dd5c9ee3ef2a42dd20c1a6ab68fe6ab083
[ "Apache-2.0" ]
13
2018-06-25T12:28:20.000Z
2021-07-06T10:38:32.000Z
/* * Copyright (C) 2018 João Borrego * * 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 applicabl...
28.215094
90
0.525879
jamiehathaway
f3565fd0a691fe5a04154dcd1bce9cc6b00b70e5
5,942
cpp
C++
libvast/src/system/make_transforms.cpp
lava/vast
0bc9e3c12eb31ec50dd0270626d55e84b2255899
[ "BSD-3-Clause" ]
1
2021-05-14T02:03:17.000Z
2021-05-14T02:03:17.000Z
libvast/src/system/make_transforms.cpp
lava/vast
0bc9e3c12eb31ec50dd0270626d55e84b2255899
[ "BSD-3-Clause" ]
8
2021-10-15T09:12:56.000Z
2022-03-04T09:16:06.000Z
libvast/src/system/make_transforms.cpp
satta/vast
6c7587effd4265c4a5de23252bc7c7af3ef78bee
[ "BSD-3-Clause" ]
null
null
null
// _ _____ __________ // | | / / _ | / __/_ __/ Visibility // | |/ / __ |_\ \ / / Across // |___/_/ |_/___/ /_/ Space and Time // // SPDX-FileCopyrightText: (c) 2021 The VAST Contributors // SPDX-License-Identifier: BSD-3-Clause #include "vast/system/make_transforms.hpp" #include "va...
38.584416
80
0.623527
lava
f364abf80bb52ce238d21cb5dd72353821174b94
15,502
cpp
C++
source/TheGodfather.WidescreenFix/dllmain.cpp
Sergeanur/WidescreenFixesPack
7e159be860a870476a97c322a0c4dd244e50cee7
[ "MIT" ]
null
null
null
source/TheGodfather.WidescreenFix/dllmain.cpp
Sergeanur/WidescreenFixesPack
7e159be860a870476a97c322a0c4dd244e50cee7
[ "MIT" ]
null
null
null
source/TheGodfather.WidescreenFix/dllmain.cpp
Sergeanur/WidescreenFixesPack
7e159be860a870476a97c322a0c4dd244e50cee7
[ "MIT" ]
null
null
null
#include "stdafx.h" struct Screen { int32_t nWidth; int32_t nHeight; float fWidth; float fHeight; float fAspectRatio; int32_t nWidth43; float fWidth43; float fHudScale; float fHudOffset; float fHudOffsetReal; float fMainMenuPlayerFOV; float fCutOffArea; bool bHudFlas...
42.125
259
0.534705
Sergeanur
f3704e7cdb735acb3a36803e4a8cbe002e940593
2,865
cpp
C++
Source/HsCommon/ModResMem.cpp
Skight/wndspy
b89cc2df88ca3e58b26be491814008aaf6f11122
[ "Apache-2.0" ]
24
2017-03-16T05:32:44.000Z
2021-12-11T13:49:07.000Z
Source/HsCommon/ModResMem.cpp
zhen-e-liu/wndspy
b89cc2df88ca3e58b26be491814008aaf6f11122
[ "Apache-2.0" ]
null
null
null
Source/HsCommon/ModResMem.cpp
zhen-e-liu/wndspy
b89cc2df88ca3e58b26be491814008aaf6f11122
[ "Apache-2.0" ]
13
2017-03-16T05:26:12.000Z
2021-07-04T16:24:42.000Z
#include "ModResMem.h" ////////////////////////////////////////////////////////////////////////// LPVOID WINAPI LockLoadResource(HINSTANCE hInstance, LPCTSTR lpszResName, LPCTSTR lpszResType) { HRSRC hrsrc = FindResource(hInstance, lpszResName, lpszResType); HGLOBAL hglb = LoadResource(hInstance, hrsrc); ...
23.677686
100
0.609773
Skight
f3718bf67efdf029de4fe32b691b6e9762b28440
2,147
cpp
C++
src/graphics/3dlib/filemem.cpp
Terebinth/freefalcon-central
c28d807183ab447ef6a801068aa3769527d55deb
[ "BSD-2-Clause" ]
117
2015-01-13T14:48:49.000Z
2022-03-16T01:38:19.000Z
src/graphics/3dlib/filemem.cpp
darongE/freefalcon-central
c28d807183ab447ef6a801068aa3769527d55deb
[ "BSD-2-Clause" ]
4
2015-05-01T13:09:53.000Z
2017-07-22T09:11:06.000Z
src/graphics/3dlib/filemem.cpp
darongE/freefalcon-central
c28d807183ab447ef6a801068aa3769527d55deb
[ "BSD-2-Clause" ]
78
2015-01-13T09:27:47.000Z
2022-03-18T14:39:09.000Z
#include "define.h" #include "grinline.h" #include "filemem.h" CImageFileMemory::CImageFileMemory(): CFileMemory() { image.image = NULL; image.palette = NULL; } GLint CFileMemory::glOpenFileMem(const char *filename) { ShiAssert(buffer == NULL); // Open the file and get its size if ( not CurrentF...
20.065421
65
0.626921
Terebinth
f37387431df77b87d65d4a08d7d29e00d69f67fe
1,753
cpp
C++
tst/OpcUaStackCore/BuildInTypes/OpcUaQualifiedName_t.cpp
gianricardo/OpcUaStack
ccdef574175ffe8b7e82b886abc5e5403968b280
[ "Apache-2.0" ]
108
2018-10-08T17:03:32.000Z
2022-03-21T00:52:26.000Z
tst/OpcUaStackCore/BuildInTypes/OpcUaQualifiedName_t.cpp
gianricardo/OpcUaStack
ccdef574175ffe8b7e82b886abc5e5403968b280
[ "Apache-2.0" ]
287
2018-09-18T14:59:12.000Z
2022-01-13T12:28:23.000Z
tst/OpcUaStackCore/BuildInTypes/OpcUaQualifiedName_t.cpp
gianricardo/OpcUaStack
ccdef574175ffe8b7e82b886abc5e5403968b280
[ "Apache-2.0" ]
32
2018-10-19T14:35:03.000Z
2021-11-12T09:36:46.000Z
#include "unittest.h" #include "OpcUaStackCore/BuildInTypes/OpcUaQualifiedName.h" #include "OpcUaStackCore/Base/Utility.h" #include <boost/iostreams/stream.hpp> #include <boost/property_tree/ptree.hpp> using namespace OpcUaStackCore; BOOST_AUTO_TEST_SUITE(OpcUaQualifiedName_) BOOST_AUTO_TEST_CASE(OpcUaQual...
24.690141
61
0.707359
gianricardo
f3753398b4bf4d31b5bc3ade89eed0e00683e55e
24,096
cpp
C++
src/armnn/test/GraphTests.cpp
sahilbandar/armnn
249950645b7bc0593582182097c7e2f1d6d97442
[ "MIT" ]
1
2022-02-10T11:06:30.000Z
2022-02-10T11:06:30.000Z
src/armnn/test/GraphTests.cpp
sahilbandar/armnn
249950645b7bc0593582182097c7e2f1d6d97442
[ "MIT" ]
null
null
null
src/armnn/test/GraphTests.cpp
sahilbandar/armnn
249950645b7bc0593582182097c7e2f1d6d97442
[ "MIT" ]
null
null
null
// // Copyright © 2017 Arm Ltd. All rights reserved. // SPDX-License-Identifier: MIT // #include "GraphUtils.hpp" #include <Graph.hpp> #include <Layer.hpp> #include <armnn/TypesUtils.hpp> #include <armnn/Exceptions.hpp> #include <armnn/utility/NumericCast.hpp> #include <armnn/utility/PolymorphicDowncast.hpp> #includ...
38.990291
120
0.616285
sahilbandar
f375ebc9c614fd252484a15e90482ccd1f53d9da
789
cpp
C++
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter3Exercise3.cpp
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
6fd64801863e883508f15d16398744405f4f9e34
[ "Unlicense" ]
9
2018-10-24T15:16:47.000Z
2021-12-14T13:53:50.000Z
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter3Exercise3.cpp
ChrisBKirov/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
6fd64801863e883508f15d16398744405f4f9e34
[ "Unlicense" ]
null
null
null
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter3Exercise3.cpp
ChrisBKirov/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
6fd64801863e883508f15d16398744405f4f9e34
[ "Unlicense" ]
7
2018-10-29T15:30:37.000Z
2021-01-18T15:15:09.000Z
/* TITLE Invalid name declaration Chapter3Exercise3.cpp Bjarne Stroustrup "Programming: Principles and Practice Using C++" COMMENT Objective: To test the compiler responce to invalid name declaration. Input: - Output: Compile-time errors. Author: Chris B. Kirov ...
31.56
141
0.641318
Ziezi
f379b5aeb75e9ec51b8ffc48cf239f8c755d4c1e
9,893
cpp
C++
trtc/src/v20190722/model/EncodeParams.cpp
X-Crack/tencentcloud-sdk-cpp
57ada84c1651b223bd6540a3e894cd1041c52e14
[ "Apache-2.0" ]
null
null
null
trtc/src/v20190722/model/EncodeParams.cpp
X-Crack/tencentcloud-sdk-cpp
57ada84c1651b223bd6540a3e894cd1041c52e14
[ "Apache-2.0" ]
null
null
null
trtc/src/v20190722/model/EncodeParams.cpp
X-Crack/tencentcloud-sdk-cpp
57ada84c1651b223bd6540a3e894cd1041c52e14
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
27.634078
140
0.694633
X-Crack
f37a599e25da9205645b247977b5555697d789ec
2,309
cc
C++
psdaq/epicsArch/epicsArchVerify.cc
ZhenghengLi/lcls2
94e75c6536954a58c8937595dcac295163aa1cdf
[ "BSD-3-Clause-LBNL" ]
16
2017-11-09T17:10:56.000Z
2022-03-09T23:03:10.000Z
psdaq/epicsArch/epicsArchVerify.cc
ZhenghengLi/lcls2
94e75c6536954a58c8937595dcac295163aa1cdf
[ "BSD-3-Clause-LBNL" ]
6
2017-12-12T19:30:05.000Z
2020-07-09T00:28:33.000Z
psdaq/epicsArch/epicsArchVerify.cc
ZhenghengLi/lcls2
94e75c6536954a58c8937595dcac295163aa1cdf
[ "BSD-3-Clause-LBNL" ]
25
2017-09-18T20:02:43.000Z
2022-03-27T22:27:42.000Z
#include <getopt.h> #include <string> #include "PvConfigFile.hh" #include "psalg/utils/SysLog.hh" using logging = psalg::SysLog; static const int iMaxNumPv = 10000; namespace Drp { int verify(const std::string& sFnConfig, int iDebugLevel, std::string& sConfigFileWarning) ...
25.94382
90
0.588133
ZhenghengLi
f37bae1d1e4684199f916dd25f1cf50c5038dc6f
3,806
cc
C++
db/slt3/query.cc
dbeck/codesloop
874f68593cf2939ee232f1ccc5b65cacb928f0af
[ "BSD-2-Clause" ]
2
2016-05-09T15:29:34.000Z
2016-07-19T11:40:37.000Z
db/slt3/query.cc
dbeck/codesloop
874f68593cf2939ee232f1ccc5b65cacb928f0af
[ "BSD-2-Clause" ]
null
null
null
db/slt3/query.cc
dbeck/codesloop
874f68593cf2939ee232f1ccc5b65cacb928f0af
[ "BSD-2-Clause" ]
null
null
null
/* Copyright (c) 2008,2009,2010, CodeSLoop Team 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 disclaim...
43.747126
112
0.672359
dbeck
f37c4dee11a93f1bc619e9c2dbf663467bc8c293
22,933
cpp
C++
source/SCRenderScene.cpp
noxytrux/SagaCross
e6f2f880344f53354d3c27cf547c61e405b222f4
[ "MIT" ]
2
2019-10-04T16:34:29.000Z
2019-10-31T01:20:52.000Z
source/SCRenderScene.cpp
noxytrux/SagaCross
e6f2f880344f53354d3c27cf547c61e405b222f4
[ "MIT" ]
null
null
null
source/SCRenderScene.cpp
noxytrux/SagaCross
e6f2f880344f53354d3c27cf547c61e405b222f4
[ "MIT" ]
1
2019-07-24T11:12:32.000Z
2019-07-24T11:12:32.000Z
#include "SCRenderScene.hpp" #include "glTextureLoader.hpp" #include "SCBulletManager.h" #include "SCParticleLayer.h" #include "SCMeshInstanceManager.h" #include "SCVegetation.h" #include "SCCamera.h" #include "SCGround.h" #include "glMatrix4x4.hpp" using namespace sc; SCObjectRenderer RenderManager; SCObjectRendere...
29.102792
166
0.609994
noxytrux
f37c9ffe47f063531cba5849dd5ed8fb3952260b
8,705
cc
C++
solver/TT-Open-WBO-Inc/ParserPB.cc
ADDALemos/train-reschedule
b445e235b9e25e9cb08baede4cf1e5d925fb704b
[ "MIT" ]
89
2019-03-30T03:59:25.000Z
2021-08-25T05:16:51.000Z
solver/TT-Open-WBO-Inc/ParserPB.cc
ADDALemos/train-reschedule
b445e235b9e25e9cb08baede4cf1e5d925fb704b
[ "MIT" ]
9
2017-10-31T21:07:19.000Z
2020-07-24T14:24:02.000Z
solver/TT-Open-WBO-Inc/ParserPB.cc
ADDALemos/train-reschedule
b445e235b9e25e9cb08baede4cf1e5d925fb704b
[ "MIT" ]
14
2017-10-17T14:49:57.000Z
2021-09-14T05:34:01.000Z
/*! * \author Vasco Manquinho - vmm@sat.inesc-id.pt * * @section LICENSE * * Open-WBO, Copyright (c) 2013-2017, Ruben Martins, Vasco Manquinho, Ines Lynce * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to d...
27.374214
80
0.597817
ADDALemos
3ce2044c94dcca8c35f8b248712ebbb76de8ee27
3,280
hpp
C++
hdf/HDFScanDataReader.hpp
ggraham/blasr_libcpp
4abef36585bbb677ebc4acb9d4e44e82331d59f7
[ "RSA-MD" ]
4
2015-07-03T11:59:54.000Z
2018-05-17T00:03:22.000Z
hdf/HDFScanDataReader.hpp
ggraham/blasr_libcpp
4abef36585bbb677ebc4acb9d4e44e82331d59f7
[ "RSA-MD" ]
79
2015-06-29T18:07:21.000Z
2018-09-19T13:38:39.000Z
hdf/HDFScanDataReader.hpp
ggraham/blasr_libcpp
4abef36585bbb677ebc4acb9d4e44e82331d59f7
[ "RSA-MD" ]
19
2015-06-23T08:43:29.000Z
2021-04-28T18:37:47.000Z
#ifndef _BLASR_HDF_SCAN_DATA_READER_HPP_ #define _BLASR_HDF_SCAN_DATA_READER_HPP_ #include <map> #include <string> #include <pbdata/Enumerations.h> #include <hdf/HDFAtom.hpp> #include <hdf/HDFFile.hpp> #include <hdf/HDFGroup.hpp> #include <pbdata/reads/ScanData.hpp> // // The SanDataReader cannot live outside class...
31.238095
90
0.708537
ggraham
3ce48a76926191abf98e9d1e39984e396cd85a08
9,137
cpp
C++
examples/SqueezeNet/SqueezeNet.cpp
Rjasuja/webnn-native
d3da88c8a00fee1b8db20410a7e0dac4b8fc9caf
[ "Apache-2.0" ]
26
2021-01-21T16:06:57.000Z
2022-03-21T12:30:48.000Z
examples/SqueezeNet/SqueezeNet.cpp
Rjasuja/webnn-native
d3da88c8a00fee1b8db20410a7e0dac4b8fc9caf
[ "Apache-2.0" ]
182
2021-03-08T02:53:46.000Z
2022-03-29T06:44:54.000Z
examples/SqueezeNet/SqueezeNet.cpp
Rjasuja/webnn-native
d3da88c8a00fee1b8db20410a7e0dac4b8fc9caf
[ "Apache-2.0" ]
15
2021-03-02T00:46:34.000Z
2022-01-04T06:42:00.000Z
// Copyright 2021 The WebNN-native Authors // // 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 ...
51.331461
97
0.669257
Rjasuja
3ce50987935d2fa49bf496aac5a728950abb10cc
779
cpp
C++
gen/src/model/SwarmUnlockRequest.cpp
cpp-openapi/dockerctl
44da21c32509fb7e44c93551a41ceb14c42c18b1
[ "Apache-2.0" ]
null
null
null
gen/src/model/SwarmUnlockRequest.cpp
cpp-openapi/dockerctl
44da21c32509fb7e44c93551a41ceb14c42c18b1
[ "Apache-2.0" ]
null
null
null
gen/src/model/SwarmUnlockRequest.cpp
cpp-openapi/dockerctl
44da21c32509fb7e44c93551a41ceb14c42c18b1
[ "Apache-2.0" ]
null
null
null
/* * SwarmUnlockRequest.cpp * * */ #include "SwarmUnlockRequest.h" using namespace openapi; // macro should do the same job. Not really // OPENAP_JSON_CONVERT_FUNCS(SwarmUnlockRequest, UnlockKey) void SwarmUnlockRequest::ToJSON(Json & j) const { // OPENAPI_FOR_EACH(OPENAPI_TO_JSON_MEMBER, __VA_ARGS__) ...
25.966667
108
0.732991
cpp-openapi
3ce5b597e4d4c11a8ff05da09a0b6be89999177b
4,191
cpp
C++
optionOutPut.cpp
easyeagel/ezsh
5fb627978cf38ec1c375eb51b60954b0dfa86031
[ "MIT" ]
null
null
null
optionOutPut.cpp
easyeagel/ezsh
5fb627978cf38ec1c375eb51b60954b0dfa86031
[ "MIT" ]
null
null
null
optionOutPut.cpp
easyeagel/ezsh
5fb627978cf38ec1c375eb51b60954b0dfa86031
[ "MIT" ]
1
2019-06-07T10:03:20.000Z
2019-06-07T10:03:20.000Z
// Copyright [2015] <lgb (LiuGuangBao)> //===================================================================================== // // Filename: output.cpp // // Description: 输出控制 // // Version: 1.0 // Created: 2015年01月08日 15时17分38秒 // Revision: none // Compiler: gcc // // Aut...
24.086207
99
0.531138
easyeagel
3ce6ec528f632e04a71b0b5271ff3762cde15bbe
4,137
cpp
C++
src/module/TypeIndexModule.cpp
sbu-fsl/DataSeries
8436462519eb22fc653387885b5f0339fb419061
[ "BSD-2-Clause" ]
6
2015-02-27T19:15:11.000Z
2018-10-25T14:22:31.000Z
src/module/TypeIndexModule.cpp
yoursunny/DataSeries
b5b9db8e40a79a3e546a59cd72a80be89412d7b2
[ "BSD-2-Clause" ]
7
2015-08-17T15:18:50.000Z
2017-08-16T00:16:19.000Z
src/module/TypeIndexModule.cpp
sbu-fsl/DataSeries
8436462519eb22fc653387885b5f0339fb419061
[ "BSD-2-Clause" ]
8
2015-07-13T23:02:28.000Z
2020-09-28T19:06:26.000Z
// -*-C++-*- /* (c) Copyright 2004-2005, Hewlett-Packard Development Company, LP See the file named COPYING for license details */ #include <DataSeries/TypeIndexModule.hpp> using namespace std; TypeIndexModule::TypeIndexModule(const string &_type_match) : IndexSourceModule(), type_match(_type...
37.954128
158
0.594876
sbu-fsl
3ce93cdb6519f1e06f55ac7a9bce2db04d1e8326
761
cpp
C++
Crowny/Source/Crowny/Window/Window.cpp
bojosos/Crowny
5aef056d2c95e04870d2372a87257ad9dccf168a
[ "MIT" ]
2
2021-05-13T17:57:04.000Z
2021-10-04T07:07:01.000Z
Crowny/Source/Crowny/Window/Window.cpp
bojosos/Crowny
5aef056d2c95e04870d2372a87257ad9dccf168a
[ "MIT" ]
null
null
null
Crowny/Source/Crowny/Window/Window.cpp
bojosos/Crowny
5aef056d2c95e04870d2372a87257ad9dccf168a
[ "MIT" ]
null
null
null
#include "cwpch.h" #include "Crowny/Events/ApplicationEvent.h" #include "Crowny/Events/KeyEvent.h" #include "Crowny/Events/MouseEvent.h" #include "Crowny/Input/Input.h" #include "Crowny/Window/Window.h" #ifdef CW_PLATFORM_WINDOWS #include "Platform/Windows/WindowsWindow.h" #endif #ifdef CW_PLATFORM_LINUX #include "P...
23.060606
58
0.73456
bojosos
3ceaa61c2958891812e6acb6b7959f0cc290b414
14,152
cpp
C++
animConverter/Animation.cpp
SDraw/roc_engine
f38b38fc1ff8e48d5e0800941a2cf0d3818b4fcf
[ "MIT" ]
7
2020-11-24T16:10:11.000Z
2022-02-17T22:39:36.000Z
animConverter/Animation.cpp
SDraw/roc_engine
f38b38fc1ff8e48d5e0800941a2cf0d3818b4fcf
[ "MIT" ]
null
null
null
animConverter/Animation.cpp
SDraw/roc_engine
f38b38fc1ff8e48d5e0800941a2cf0d3818b4fcf
[ "MIT" ]
2
2020-11-24T16:10:12.000Z
2021-10-02T06:44:43.000Z
#include "stdafx.h" #include "Animation.h" Animation::Animation() { m_duration = 0U; m_fps = 0U; m_bonesCount = 0U; m_loaded = false; } Animation::~Animation() { m_bones.clear(); } void Animation::Clean() { std::cout << "Cleaning ..." << std::endl; m_bones.clear(); m_duration = 0U; ...
54.852713
215
0.568188
SDraw
3ceb5ab482c2ef243046807ab4926d2f8548fec1
5,917
cpp
C++
source/fen_coeff.cpp
yves-marieRaiffaud/school-marks-logger
817f03d7c13673ed161b4f4804b4e4f64204507f
[ "MIT" ]
null
null
null
source/fen_coeff.cpp
yves-marieRaiffaud/school-marks-logger
817f03d7c13673ed161b4f4804b4e4f64204507f
[ "MIT" ]
null
null
null
source/fen_coeff.cpp
yves-marieRaiffaud/school-marks-logger
817f03d7c13673ed161b4f4804b4e4f64204507f
[ "MIT" ]
null
null
null
#include "fen_coeff.h" #include "fen_acceuil.h" fen_coeff :: fen_coeff() { setting = new QSettings("Mamouth Corporation", "Gestionnaire de Scolarité"); m_loc_annee_compare = new QString(setting->value("Location Fichiers/Annee.txt").toString()); QString root_folder = *m_loc_annee_compare; QStr...
36.300613
157
0.621599
yves-marieRaiffaud
3ceda2e13f210192bc6f9216e1fd9ac098c40e2a
1,972
hpp
C++
src/world/camera.hpp
fiddleplum/ve
1e45de0488d593069032714ebe67725f468054f8
[ "MIT" ]
null
null
null
src/world/camera.hpp
fiddleplum/ve
1e45de0488d593069032714ebe67725f468054f8
[ "MIT" ]
16
2016-12-27T16:57:09.000Z
2017-04-30T23:34:58.000Z
src/world/camera.hpp
fiddleplum/ve
1e45de0488d593069032714ebe67725f468054f8
[ "MIT" ]
null
null
null
#pragma once #include "world/entity.hpp" #include "render/scene.hpp" #include "util/ray.hpp" namespace ve { namespace world { class Camera : public Entity { public: // Constructs a camera in perspective mode, with an aspect ratio of 1, a near of .1, a far of 1000, an an fovY of 90 degrees. Camera(); ...
25.282051
128
0.714503
fiddleplum
3cee847bf2f5e75d1de2f86dbf23945c1e8837b5
707
cpp
C++
src/htm/IpcPairClient.cpp
albuic/EternalTerminal
2d76f53c546460da7abf93830c0b256521acf86f
[ "Apache-2.0" ]
null
null
null
src/htm/IpcPairClient.cpp
albuic/EternalTerminal
2d76f53c546460da7abf93830c0b256521acf86f
[ "Apache-2.0" ]
null
null
null
src/htm/IpcPairClient.cpp
albuic/EternalTerminal
2d76f53c546460da7abf93830c0b256521acf86f
[ "Apache-2.0" ]
null
null
null
#include "IpcPairClient.hpp" namespace et { IpcPairClient::IpcPairClient(const string &pipeName) : IpcPairEndpoint(-1) { sockaddr_un remote; for (int retry = 0; retry < 5; retry++) { endpointFd = ::socket(AF_UNIX, SOCK_STREAM, 0); FATAL_FAIL(endpointFd); remote.sun_family = AF_UNIX; strcpy(remote....
28.28
80
0.612447
albuic
3cf23fb0f325660b1a701d3cdb5bf0a56c1cd724
5,308
cpp
C++
Client/Classes/Loader.cpp
CollapsedTeam/Collapsed-Engine-Cocos
530e5b47c3a683addf47c8dd6c600702b845037b
[ "Apache-2.0" ]
1
2015-09-29T19:50:36.000Z
2015-09-29T19:50:36.000Z
Client/Classes/Loader.cpp
CollapsedTeam/CollapsedEngine
530e5b47c3a683addf47c8dd6c600702b845037b
[ "Apache-2.0" ]
null
null
null
Client/Classes/Loader.cpp
CollapsedTeam/CollapsedEngine
530e5b47c3a683addf47c8dd6c600702b845037b
[ "Apache-2.0" ]
2
2017-12-25T14:04:19.000Z
2020-12-11T03:23:18.000Z
/* * Copyright 2016 Collapsed Team * * 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...
26.019608
83
0.766767
CollapsedTeam
3cf7e1464111db19d23b7b471aed956cb90c1df9
956
cpp
C++
luacppinterface/tests/testpassingfunction.cpp
lambage/Lambgine
e59836015469db797ef4706e42f65bebecfd86df
[ "MIT" ]
null
null
null
luacppinterface/tests/testpassingfunction.cpp
lambage/Lambgine
e59836015469db797ef4706e42f65bebecfd86df
[ "MIT" ]
null
null
null
luacppinterface/tests/testpassingfunction.cpp
lambage/Lambgine
e59836015469db797ef4706e42f65bebecfd86df
[ "MIT" ]
null
null
null
// Simple example of passing functions around #include <iostream> #include <memory> #include <luacppinterface.h> int main() { Lua lua; auto global = lua.GetGlobalEnvironment(); auto add = lua.CreateFunction<int(int,int)>([&](int a, int b) -> int { return a + b; }); auto multiply = lua.CreateFunction<int(int,int...
23.317073
94
0.653766
lambage
3cfb59af7101f44783a8aa8f5a5c739a37330ffd
1,152
inl
C++
include/hfsm2/detail/shared/iterator.inl
alexandrosk0/HFSM2
54828eb8ba54af9f96e388548c5c987ab5095853
[ "MIT" ]
1
2021-01-28T14:54:34.000Z
2021-01-28T14:54:34.000Z
include/hfsm2/detail/shared/iterator.inl
alexandrosk0/HFSM2
54828eb8ba54af9f96e388548c5c987ab5095853
[ "MIT" ]
null
null
null
include/hfsm2/detail/shared/iterator.inl
alexandrosk0/HFSM2
54828eb8ba54af9f96e388548c5c987ab5095853
[ "MIT" ]
null
null
null
namespace hfsm2 { namespace detail { //////////////////////////////////////////////////////////////////////////////// template <typename T> bool IteratorT<T>::operator != (const IteratorT<T>& HFSM2_IF_ASSERT(other)) const noexcept { HFSM2_ASSERT(&_container == &other._container); return _cursor != _container.limit...
24
99
0.46441
alexandrosk0
3cfbb0f643cd1f66971e2ac539bfcabfae15735e
5,401
cpp
C++
test/src/viewport/viewport_cursor_test.cpp
KazDragon/munin
ca5ae77cf5f75f6604fddd1a39393fa6acb88769
[ "MIT" ]
6
2017-07-15T10:16:20.000Z
2021-06-14T10:02:37.000Z
test/src/viewport/viewport_cursor_test.cpp
KazDragon/munin
ca5ae77cf5f75f6604fddd1a39393fa6acb88769
[ "MIT" ]
243
2017-05-01T19:27:07.000Z
2021-09-01T09:32:49.000Z
test/src/viewport/viewport_cursor_test.cpp
KazDragon/munin
ca5ae77cf5f75f6604fddd1a39393fa6acb88769
[ "MIT" ]
2
2019-07-16T00:29:43.000Z
2020-09-19T09:49:00.000Z
#include "viewport_test.hpp" #include <munin/render_surface.hpp> #include <munin/viewport.hpp> #include <terminalpp/canvas.hpp> #include <gtest/gtest.h> #include <gmock/gmock.h> using testing::Return; using testing::ValuesIn; using testing::_; namespace { using viewport_cursor_test_data = std::tuple< terminalpp:...
35.532895
95
0.578226
KazDragon
a70038da27e8364d86a31f8f597e4c91dbe98961
3,325
cpp
C++
examples/geometry_hierarchy2.cpp
bnolan/three.cpp
dbec2745348d4eea99b2dfb4ee3c81530b709be4
[ "MIT" ]
3
2017-03-14T22:47:25.000Z
2022-01-25T02:06:33.000Z
examples/geometry_hierarchy2.cpp
bnolan/three.cpp
dbec2745348d4eea99b2dfb4ee3c81530b709be4
[ "MIT" ]
1
2017-03-25T08:41:05.000Z
2017-03-25T08:41:05.000Z
examples/geometry_hierarchy2.cpp
bnolan/three.cpp
dbec2745348d4eea99b2dfb4ee3c81530b709be4
[ "MIT" ]
null
null
null
#include "common.h" #include "three/cameras/perspective_camera.h" #include "three/core/geometry.h" #include "three/lights/directional_light.h" #include "three/materials/mesh_normal_material.h" #include "three/objects/mesh.h" #include "three/renderers/renderer_parameters.h" #include "three/renderers/gl_renderer.h" #inc...
28.913043
80
0.587368
bnolan
a70204cde5da69b6ac06680a53a4c1a39bc5698a
391
cpp
C++
201-300/213. House Robber II.cpp
erichuang1994/leetcode-solution
d5b3bb3ce2a428a3108f7369715a3700e2ba699d
[ "MIT" ]
null
null
null
201-300/213. House Robber II.cpp
erichuang1994/leetcode-solution
d5b3bb3ce2a428a3108f7369715a3700e2ba699d
[ "MIT" ]
null
null
null
201-300/213. House Robber II.cpp
erichuang1994/leetcode-solution
d5b3bb3ce2a428a3108f7369715a3700e2ba699d
[ "MIT" ]
null
null
null
class Solution { public: int rob(vector<int> &nums) { return max(nums[0] + f(nums, 2, nums.size() - 1), f(nums, 1, nums.size())); } int f(vector<int> &nums, int begin, int end) { int t, n; t = n = 0; for (int i = begin; i < end; i++) { int nt = max(t, n + nums[i]); int nn = max...
17.772727
79
0.457801
erichuang1994
a7021dd262b0433cfc4432792dc9a0f0991a7de0
2,228
hh
C++
include/fabrique/StringMap.hh
fabriquer/fabrique
d141ef698ddbeddb5b800f7f906d93751a06f809
[ "BSD-2-Clause" ]
2
2018-11-12T22:51:37.000Z
2019-03-13T12:46:03.000Z
include/fabrique/StringMap.hh
fabriquer/fabrique
d141ef698ddbeddb5b800f7f906d93751a06f809
[ "BSD-2-Clause" ]
23
2015-03-06T16:14:49.000Z
2019-04-04T18:08:52.000Z
include/fabrique/StringMap.hh
fabriquer/fabrique
d141ef698ddbeddb5b800f7f906d93751a06f809
[ "BSD-2-Clause" ]
null
null
null
//! @file StringMap.h Declaration of @ref fabrique::StringMap /* * Copyright (c) 2013 Jonathan Anderson * All rights reserved. * * This software was developed by SRI International and the University of * Cambridge Computer Laboratory under DARPA/AFRL contract (FA8750-10-C-0237) * ("CTSRD"), as part of the DARP...
39.785714
77
0.75
fabriquer
a70a364b755e40da22f84062a6dca131845f4448
9,297
cpp
C++
source/modus_core/runtime/GuiApplication.cpp
Gurman8r/modus
5c97a89f77c1c5733793dddc20c5ce4afe1fd134
[ "MIT" ]
null
null
null
source/modus_core/runtime/GuiApplication.cpp
Gurman8r/modus
5c97a89f77c1c5733793dddc20c5ce4afe1fd134
[ "MIT" ]
null
null
null
source/modus_core/runtime/GuiApplication.cpp
Gurman8r/modus
5c97a89f77c1c5733793dddc20c5ce4afe1fd134
[ "MIT" ]
null
null
null
#include <modus_core/runtime/GuiApplication.hpp> #include <modus_core/events/InputEvents.hpp> #include <modus_core/events/WindowEvents.hpp> #include <modus_core/events/RuntimeEvents.hpp> #include <modus_core/events/EditorEvents.hpp> namespace ml { /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *...
32.85159
127
0.667312
Gurman8r
a70c33caa49695f91e74d47d6bf081fad54712b7
337
cpp
C++
RTIDPRR/Source/Components/Camera/CameraSystem.cpp
brunosegiu/RTIDPRR
d7daef7611899db4e23ba6a2b5a91135c57e0871
[ "MIT" ]
3
2020-12-06T02:22:48.000Z
2021-06-24T13:52:10.000Z
RTIDPRR/Source/Components/Camera/CameraSystem.cpp
brunosegiu/RTIDPRR
d7daef7611899db4e23ba6a2b5a91135c57e0871
[ "MIT" ]
null
null
null
RTIDPRR/Source/Components/Camera/CameraSystem.cpp
brunosegiu/RTIDPRR
d7daef7611899db4e23ba6a2b5a91135c57e0871
[ "MIT" ]
1
2021-10-13T10:36:36.000Z
2021-10-13T10:36:36.000Z
#include "CameraSystem.h" using namespace RTIDPRR::Component; CameraSystem::CameraSystem() : RTIDPRR::Core::System<Camera>() {} void CameraSystem::update(const float deltaTime) { // Collect parents std::vector<Transform*> roots; for (Camera& camera : mComponents) { camera.update(); } } CameraSystem::~C...
21.0625
65
0.703264
brunosegiu
a70cf5de45dcbbf2b82d7f2238174ecbc9bc2337
17,163
cpp
C++
zeus_boxes/contracts/eos/phoenix/main.cpp
DouglasHorn/phoenixcreator
6f82bbcfb4f48643460a8bb9a93b69dc05772b47
[ "MIT" ]
null
null
null
zeus_boxes/contracts/eos/phoenix/main.cpp
DouglasHorn/phoenixcreator
6f82bbcfb4f48643460a8bb9a93b69dc05772b47
[ "MIT" ]
null
null
null
zeus_boxes/contracts/eos/phoenix/main.cpp
DouglasHorn/phoenixcreator
6f82bbcfb4f48643460a8bb9a93b69dc05772b47
[ "MIT" ]
3
2021-02-03T06:43:58.000Z
2021-02-10T07:10:30.000Z
#include "constants.hpp" auto phoenix::check_user(const name &name) { const auto user = _users.find(name.value); check(user != _users.end(), "user does not exist: " + name.to_string()); return user; } void phoenix::check_running() { globals g = get_globals(); check(!g.paused, "contract is currently under mai...
36.056723
80
0.651926
DouglasHorn
a70cf6667d8079585639d24e1c4ba1343a2a47b9
4,573
hpp
C++
include/codegen/include/Zenject/FactoryFromBinder0Extensions_--c__3_1.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/Zenject/FactoryFromBinder0Extensions_--c__3_1.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/Zenject/FactoryFromBinder0Extensions_--c__3_1.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator on 7/27/2020 3:10:42 PM // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "utils/typedefs.h" // Including type: System.Object #include "System/Object.hpp" // Including type...
53.8
260
0.753553
Futuremappermydud
a70d8f827ea581f97f4d6e9c6fb2150565e470c1
11,912
cpp
C++
src/planner/traj_opt/src/compare_traj.cpp
smoggy-P/RO47005-PDM-Final
1de0e3881e45259eec06f59941ca23651a6cb557
[ "MIT" ]
9
2022-01-11T11:59:58.000Z
2022-02-14T21:08:47.000Z
src/planner/traj_opt/src/compare_traj.cpp
smoggy-P/RO47005-PDM-Final
1de0e3881e45259eec06f59941ca23651a6cb557
[ "MIT" ]
null
null
null
src/planner/traj_opt/src/compare_traj.cpp
smoggy-P/RO47005-PDM-Final
1de0e3881e45259eec06f59941ca23651a6cb557
[ "MIT" ]
2
2022-01-11T12:38:29.000Z
2022-01-11T15:00:16.000Z
/** * @file test_traj_opt_node.cpp * @author Siyuan Wu (siyuanwu99@gmail.com) * @brief * @version 1.0 * @date 2021-12-07 * * @copyright Copyright (c) 2021 * */ #include <geometry_msgs/Point.h> #include <geometry_msgs/PoseArray.h> #include <nav_msgs/Path.h> #include <quadrotor_msgs/PositionCommand.h> #include ...
32.725275
87
0.649849
smoggy-P
a70e4ed79cbed794f857ec193d4b2e97467ba83d
9,127
cc
C++
src/post_filter/super_res.cc
Richard-li/libgav1
338d966effe8c641c79bb964b3eb464a20096a0e
[ "Apache-2.0" ]
null
null
null
src/post_filter/super_res.cc
Richard-li/libgav1
338d966effe8c641c79bb964b3eb464a20096a0e
[ "Apache-2.0" ]
null
null
null
src/post_filter/super_res.cc
Richard-li/libgav1
338d966effe8c641c79bb964b3eb464a20096a0e
[ "Apache-2.0" ]
1
2021-01-29T08:01:08.000Z
2021-01-29T08:01:08.000Z
// Copyright 2020 The libgav1 Authors // // 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 agre...
45.635
80
0.641832
Richard-li
a712b730c60848eb83e53cda687390f5d5f62867
659
hpp
C++
flare/include/flare/animation/interpolators/cubic_ease.hpp
taehyub/flare_cpp
7731bc0bcf2ce721f103586a48f74aa5c12504e8
[ "MIT" ]
14
2019-04-29T15:17:24.000Z
2020-12-30T12:51:05.000Z
flare/include/flare/animation/interpolators/cubic_ease.hpp
taehyub/flare_cpp
7731bc0bcf2ce721f103586a48f74aa5c12504e8
[ "MIT" ]
null
null
null
flare/include/flare/animation/interpolators/cubic_ease.hpp
taehyub/flare_cpp
7731bc0bcf2ce721f103586a48f74aa5c12504e8
[ "MIT" ]
6
2019-04-29T15:17:25.000Z
2021-11-16T03:20:59.000Z
#ifndef _FLARE_CUBIC_EASE_HPP_ #define _FLARE_CUBIC_EASE_HPP_ namespace flare { // Implements https://github.com/gre/bezier-easing/blob/master/src/index.js class CubicEase { private: static constexpr int SplineTableSize = 11; static constexpr float SampleStepSize = 1.0f / (SplineTableSize-1.0f);...
25.346154
79
0.681335
taehyub
a716cbe01e928841ac49617a87199baa0f4f9d0e
3,148
cpp
C++
Libraries/WelderLauncher/LauncherCrashCallbacks.cpp
playmer/WelderEngineRevamp
7b6c3a9648b7d2b65dbb1f475af0a54ab6a40aac
[ "MIT" ]
1
2019-07-13T03:36:11.000Z
2019-07-13T03:36:11.000Z
Libraries/WelderLauncher/LauncherCrashCallbacks.cpp
playmer/WelderEngineRevamp
7b6c3a9648b7d2b65dbb1f475af0a54ab6a40aac
[ "MIT" ]
null
null
null
Libraries/WelderLauncher/LauncherCrashCallbacks.cpp
playmer/WelderEngineRevamp
7b6c3a9648b7d2b65dbb1f475af0a54ab6a40aac
[ "MIT" ]
null
null
null
// MIT Licensed (see LICENSE.md). #include "Precompiled.hpp" namespace Zero { // We want to avoid allocations, so store how many memory ranges we want to add // to the crash dumper MemoryRange gMemoryRanges[64] = {0}; size_t gMemoryRangeCount = 0; // How many ranges we've written to the dump (re-entrant callback fro...
30.862745
98
0.746506
playmer
a7184c47af603ae0a9a35a2fb49ddda18089b955
714
cpp
C++
app/src/main/cpp/run.cpp
nebular/PixEngine_Android_demos
4ed946cbefba4397f3562781d75d2529cbf1f0f7
[ "CC-BY-4.0" ]
null
null
null
app/src/main/cpp/run.cpp
nebular/PixEngine_Android_demos
4ed946cbefba4397f3562781d75d2529cbf1f0f7
[ "CC-BY-4.0" ]
null
null
null
app/src/main/cpp/run.cpp
nebular/PixEngine_Android_demos
4ed946cbefba4397f3562781d75d2529cbf1f0f7
[ "CC-BY-4.0" ]
null
null
null
// #include "olcPixelGameEngine.h" #include "demo/Demo.h" #include "lonekart/inc/Main.hpp" #include "videos/OneLoneCoder_PGE_Balls2.h" #include "arch/android/platform_android.hpp" // trick to execute this as Android loads the library, before anything // else ("static library init") struct PixFuDemo { PixFuDemo() {...
22.3125
70
0.682073
nebular
a71b4b25858153d533a057aee2dbc0381c0248b7
4,259
cpp
C++
source/str_arithmetic_algorithm.cpp
sid8573/bignum
ad19724d54aeae7b73dc52cf78e42b1720debe30
[ "MIT" ]
null
null
null
source/str_arithmetic_algorithm.cpp
sid8573/bignum
ad19724d54aeae7b73dc52cf78e42b1720debe30
[ "MIT" ]
null
null
null
source/str_arithmetic_algorithm.cpp
sid8573/bignum
ad19724d54aeae7b73dc52cf78e42b1720debe30
[ "MIT" ]
1
2021-01-13T16:49:11.000Z
2021-01-13T16:49:11.000Z
#include "bignum.h" string bignum::internal_addition(string a, string b) const{ vector<long long int> upper_adden = str_part_by(18,a); vector<long long int> lower_adden = str_part_by(18,b); size_t adden_size = upper_adden.size(); size_t n = adden_size+1ll; long long int *index_sums = new long long int[n]; ind...
27.836601
151
0.712139
sid8573
a71b6671e1afe5ea182087c43f0d36d04bcaee87
15,042
hpp
C++
code/AssetLib/AMF/AMFImporter.hpp
sir-sparrow/assimp
8c3e983bc31f69eea0b5d690ad19b63062fbdd1c
[ "BSD-3-Clause" ]
7,604
2015-01-01T01:58:57.000Z
2022-03-31T09:51:25.000Z
code/AssetLib/AMF/AMFImporter.hpp
sir-sparrow/assimp
8c3e983bc31f69eea0b5d690ad19b63062fbdd1c
[ "BSD-3-Clause" ]
3,677
2015-01-02T08:06:57.000Z
2022-03-31T19:24:26.000Z
code/AssetLib/AMF/AMFImporter.hpp
sir-sparrow/assimp
8c3e983bc31f69eea0b5d690ad19b63062fbdd1c
[ "BSD-3-Clause" ]
2,728
2015-01-01T19:28:19.000Z
2022-03-31T16:07:18.000Z
/* --------------------------------------------------------------------------- Open Asset Import Library (assimp) --------------------------------------------------------------------------- Copyright (c) 2006-2021, assimp team All rights reserved. Redistribution and use of this software in source and binary forms, w...
48.366559
158
0.699043
sir-sparrow
a71d64ca4053fb47fcc13fca45ee466e92d1bb1a
21,348
cpp
C++
src/vgui2/vgui_controls/MenuItem.cpp
vxsd/refraction
bb6def1feb6c2e5c94b2604ad55607ed380a2d7e
[ "MIT" ]
14
2021-02-16T14:13:50.000Z
2022-03-17T18:29:19.000Z
src/vgui2/vgui_controls/MenuItem.cpp
undbsd/refraction
bb6def1feb6c2e5c94b2604ad55607ed380a2d7e
[ "MIT" ]
7
2021-08-06T18:40:37.000Z
2022-03-09T18:05:08.000Z
src/vgui2/vgui_controls/MenuItem.cpp
undbsd/refraction
bb6def1feb6c2e5c94b2604ad55607ed380a2d7e
[ "MIT" ]
2
2021-08-05T16:03:03.000Z
2021-11-26T00:11:27.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // // $NoKeywords: $ //=============================================================================// #include <vgui/IScheme.h> #include <vgui/IVGui.h> #include "vgui/ISurface.h" #include <KeyValues.h> #include <vgui_controls...
32.944444
151
0.48309
vxsd
a71d6a80d40b4bb49cdda9a64754da376433e0db
1,947
hpp
C++
location/src/Crispr.hpp
lucyhancock3533/CRISPR-search
4ed4544589ae941af787d09880817b77a413a3b1
[ "Unlicense" ]
null
null
null
location/src/Crispr.hpp
lucyhancock3533/CRISPR-search
4ed4544589ae941af787d09880817b77a413a3b1
[ "Unlicense" ]
null
null
null
location/src/Crispr.hpp
lucyhancock3533/CRISPR-search
4ed4544589ae941af787d09880817b77a413a3b1
[ "Unlicense" ]
null
null
null
#ifndef CRISPR_SEARCH_LOCATION_CRISPR_HPP #define CRISPR_SEARCH_LOCATION_CRISPR_HPP #include "cslocation.hpp" #include "Region.hpp" namespace crisprsearch::location { /** * Crispr storage class */ class Crispr { private: string id; string sourceAssembly; int drLength; ...
26.310811
93
0.581921
lucyhancock3533
a71eb17a86af251354fd24fbad3908e705c66ac9
5,308
cpp
C++
MSP2007/TaskOutlineCode.cpp
jluzardo1971/ActiveGanttVC
4748cb4d942551dc64c9017f279c90969cdcc634
[ "MIT" ]
null
null
null
MSP2007/TaskOutlineCode.cpp
jluzardo1971/ActiveGanttVC
4748cb4d942551dc64c9017f279c90969cdcc634
[ "MIT" ]
null
null
null
MSP2007/TaskOutlineCode.cpp
jluzardo1971/ActiveGanttVC
4748cb4d942551dc64c9017f279c90969cdcc634
[ "MIT" ]
null
null
null
// ---------------------------------------------------------------------------------------- // COPYRIGHT NOTICE // ---------------------------------------------------------------------------------------- // // The Source Code Store LLC // ACTIVEGANTT SCHEDULER COMPONENT FOR C++ - ActiveGan...
24.0181
171
0.726074
jluzardo1971
a71f1510885d07ed16f01168a5f0fb0efefb3b3f
7,868
cpp
C++
unittests/basic/adt/StringSwitchTest.cpp
normal-coder/polarphp
a06e1f8781b4b75a2ca8cf2c22e0aa62631866fe
[ "PHP-3.01" ]
1
2019-01-28T01:33:49.000Z
2019-01-28T01:33:49.000Z
unittests/basic/adt/StringSwitchTest.cpp
normal-coder/polarphp
a06e1f8781b4b75a2ca8cf2c22e0aa62631866fe
[ "PHP-3.01" ]
null
null
null
unittests/basic/adt/StringSwitchTest.cpp
normal-coder/polarphp
a06e1f8781b4b75a2ca8cf2c22e0aa62631866fe
[ "PHP-3.01" ]
null
null
null
// This source file is part of the polarphp.org open source project // // Copyright (c) 2017 - 2018 polarPHP software foundation // Copyright (c) 2017 - 2018 zzu_softboy <zzu_softboy@163.com> // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://polarphp.org/LICENSE.txt for license info...
35.926941
114
0.566345
normal-coder
a71fe7f71551833e961169e6d29fc2fef1a8d8f6
1,413
cpp
C++
test/src/algorithm/count.cpp
jonathanpoelen/jln.mp
e5f05fc4467f14ac0047e3bdc75a04076e689985
[ "MIT" ]
9
2020-07-04T16:46:13.000Z
2022-01-09T21:59:31.000Z
test/src/algorithm/count.cpp
jonathanpoelen/jln.mp
e5f05fc4467f14ac0047e3bdc75a04076e689985
[ "MIT" ]
null
null
null
test/src/algorithm/count.cpp
jonathanpoelen/jln.mp
e5f05fc4467f14ac0047e3bdc75a04076e689985
[ "MIT" ]
1
2021-05-23T13:37:40.000Z
2021-05-23T13:37:40.000Z
#include "test.hpp" #include "test/numbers.hpp" #include "jln/mp/smp/algorithm/count.hpp" #include "jln/mp/smp/utility/always.hpp" #include "jln/mp/smp/list/push_back.hpp" #include "jln/mp/smp/number/operators.hpp" TEST_SUITE_BEGIN() TEST() { using namespace jln::mp; using namespace ut::ints; test_pack2<count...
26.660377
77
0.631989
jonathanpoelen
a7200e9b6ce8b747ccf4ed1e4ce1678f44b477df
360
cpp
C++
AtCoder/abc/186/a.cpp
GouravKhunger/Competetive-Programming
0c50807242233c267c1a170150a88bd8b16ceb05
[ "MIT" ]
1
2020-11-23T11:47:01.000Z
2020-11-23T11:47:01.000Z
AtCoder/abc/186/a.cpp
GouravKhunger/Competetive-Programming
0c50807242233c267c1a170150a88bd8b16ceb05
[ "MIT" ]
null
null
null
AtCoder/abc/186/a.cpp
GouravKhunger/Competetive-Programming
0c50807242233c267c1a170150a88bd8b16ceb05
[ "MIT" ]
null
null
null
// https://atcoder.jp/contests/abc186/tasks/abc186_a // Brick // File Creation Date: 28-Dec-2020 // Author: Gourav(https://github.com/GouravKhunger) #include <bits/stdc++.h> using namespace std; #define FIO ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0); int main() { FIO; int n, w; cin>...
21.176471
65
0.622222
GouravKhunger
a7218cb7e403c505d063df74420c1235b02f1e67
1,583
cpp
C++
ModeChoice/Write_Share.cpp
kravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
2
2018-04-27T11:07:02.000Z
2020-04-24T06:53:21.000Z
ModeChoice/Write_Share.cpp
idkravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
null
null
null
ModeChoice/Write_Share.cpp
idkravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
null
null
null
//********************************************************* // Write_Share.cpp - process the share file //********************************************************* #include "ModeChoice.hpp" //--------------------------------------------------------- // Write_Share_File //----------------------------------------------...
30.442308
81
0.581175
kravitz
a722317fd2c409f2027b9d914928e034d1afa279
11,950
cpp
C++
src/lab_m1/lab9/lab9.cpp
iDanyel/Disco-party
13bf5685f4ec6a8397e0f57cc448d84fead3e92a
[ "MIT", "BSD-3-Clause" ]
null
null
null
src/lab_m1/lab9/lab9.cpp
iDanyel/Disco-party
13bf5685f4ec6a8397e0f57cc448d84fead3e92a
[ "MIT", "BSD-3-Clause" ]
null
null
null
src/lab_m1/lab9/lab9.cpp
iDanyel/Disco-party
13bf5685f4ec6a8397e0f57cc448d84fead3e92a
[ "MIT", "BSD-3-Clause" ]
null
null
null
#include "lab_m1/lab9/lab9.h" #include <vector> #include <string> #include <iostream> using namespace std; using namespace m1; /* * To find out more about `FrameStart`, `Update`, `FrameEnd` * and the order in which they are called, see `world.cpp`. */ Lab9::Lab9() { } Lab9::~Lab9() { } void Lab9::Init() ...
32.82967
160
0.649707
iDanyel
a723d0002c7a19552c3a195d8642ee2ec2b508ae
6,987
cc
C++
interfaces/blas/C/hemm.cc
sneha0401/ulmBLAS
2b7665c6abc1784fe4041febd9d12de519ef4f08
[ "BSD-3-Clause" ]
95
2015-05-14T15:21:44.000Z
2022-03-17T08:02:08.000Z
interfaces/blas/C/hemm.cc
sneha0401/ulmBLAS
2b7665c6abc1784fe4041febd9d12de519ef4f08
[ "BSD-3-Clause" ]
4
2020-06-25T14:59:49.000Z
2022-02-16T12:45:00.000Z
interfaces/blas/C/hemm.cc
sneha0401/ulmBLAS
2b7665c6abc1784fe4041febd9d12de519ef4f08
[ "BSD-3-Clause" ]
40
2015-09-14T02:43:43.000Z
2021-12-26T11:43:36.000Z
#include BLAS_HEADER #include <algorithm> #include <cctype> #include <complex> #include <cmath> #include <interfaces/blas/C/xerbla.h> #include <ulmblas/ulmblas.h> extern "C" { void ULMBLAS(chemm)(enum CBLAS_SIDE side, enum CBLAS_UPLO upLo, int m, int ...
28.402439
79
0.418635
sneha0401
a7249d131fbe950711a80bda86dbc216f50581c8
7,505
cpp
C++
src/utf8.cpp
eval-apply/digamma
fbab05bdcb7019ff005ee84ed8f737ff3d44b38e
[ "BSD-2-Clause" ]
null
null
null
src/utf8.cpp
eval-apply/digamma
fbab05bdcb7019ff005ee84ed8f737ff3d44b38e
[ "BSD-2-Clause" ]
null
null
null
src/utf8.cpp
eval-apply/digamma
fbab05bdcb7019ff005ee84ed8f737ff3d44b38e
[ "BSD-2-Clause" ]
null
null
null
// Copyright (c) 2004-2022 Yoshikatsu Fujita / LittleWing Company Limited. // See LICENSE file for terms and conditions of use. #include "core.h" #include "utf8.h" #include "heap.h" int ascii_cstring_pred(const char* s) { uint8_t c; while ((c = *s++) != 0) { if (c > 0x7f) return 0; } return 1; } int cnvt...
30.140562
106
0.586809
eval-apply
a72502e42dee98177f5d14454823fbfa268cd70c
5,376
cpp
C++
resource/mybox/rsa2.cpp
sauber92/khu-iotivity
280c528ac3625403650458e592c5af7dc85c6cae
[ "Apache-2.0" ]
null
null
null
resource/mybox/rsa2.cpp
sauber92/khu-iotivity
280c528ac3625403650458e592c5af7dc85c6cae
[ "Apache-2.0" ]
null
null
null
resource/mybox/rsa2.cpp
sauber92/khu-iotivity
280c528ac3625403650458e592c5af7dc85c6cae
[ "Apache-2.0" ]
null
null
null
#include <openssl/pem.h> #include <openssl/ssl.h> #include <openssl/rsa.h> #include <openssl/evp.h> #include <openssl/bio.h> #include <openssl/err.h> #include <stdio.h>   int padding = RSA_PKCS1_PADDING;   RSA * createRSA(unsigned char * key,int public) {     RSA *rsa= NULL;     BIO *keybio ;     keybio = BIO_new_mem_b...
33.6
104
0.769159
sauber92
a725d1e0e692aa27402694c832868c0da15f9e9e
1,678
hpp
C++
src/lib/net.hpp
kaiyuhou/neo
e75e42d7654afcd4606ceb7f60d122cc9aec44af
[ "NCSA" ]
null
null
null
src/lib/net.hpp
kaiyuhou/neo
e75e42d7654afcd4606ceb7f60d122cc9aec44af
[ "NCSA" ]
null
null
null
src/lib/net.hpp
kaiyuhou/neo
e75e42d7654afcd4606ceb7f60d122cc9aec44af
[ "NCSA" ]
null
null
null
#pragma once #include <cstdint> #include <string> struct libnet_context; typedef struct libnet_context libnet_t; class Packet; class PktBuffer; class Net { private: libnet_t *l; Net(); void build_tcp(const Packet& pkt, const uint8_t *src_mac, const uint8_t *dst_mac) const; void bu...
29.438596
79
0.650775
kaiyuhou
a72860327b712b2e6cb377770ae67ae33cfb9951
12,373
cxx
C++
Applications/DicomSeriesReadImageWrite/niftkDicomSeriesReadImageWrite.cxx
NifTK/NifTK
2358b333c89ff1bba1c232eecbbcdc8003305dfe
[ "BSD-3-Clause" ]
13
2018-07-28T13:36:38.000Z
2021-11-01T19:17:39.000Z
Applications/DicomSeriesReadImageWrite/niftkDicomSeriesReadImageWrite.cxx
NifTK/NifTK
2358b333c89ff1bba1c232eecbbcdc8003305dfe
[ "BSD-3-Clause" ]
null
null
null
Applications/DicomSeriesReadImageWrite/niftkDicomSeriesReadImageWrite.cxx
NifTK/NifTK
2358b333c89ff1bba1c232eecbbcdc8003305dfe
[ "BSD-3-Clause" ]
10
2018-08-20T07:06:00.000Z
2021-07-07T07:55:27.000Z
/*============================================================================= NifTK: A software platform for medical image computing. Copyright (c) University College London (UCL). All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY o...
32.137662
132
0.669765
NifTK
a72ddf09fa3530f4f205bba63d6d3663d46e4fae
2,576
cpp
C++
demos/msp432p401r/system_controller/source/main.cpp
SarahS16/SJSU-Dev2
47f9ddb7d3c3743f839b57f381bf979dd61d49ab
[ "Apache-2.0" ]
6
2020-06-20T23:56:42.000Z
2021-12-18T08:13:54.000Z
demos/msp432p401r/system_controller/source/main.cpp
SarahS16/SJSU-Dev2
47f9ddb7d3c3743f839b57f381bf979dd61d49ab
[ "Apache-2.0" ]
153
2020-06-09T14:49:29.000Z
2022-01-31T16:39:39.000Z
demos/msp432p401r/system_controller/source/main.cpp
SarahS16/SJSU-Dev2
47f9ddb7d3c3743f839b57f381bf979dd61d49ab
[ "Apache-2.0" ]
10
2020-08-02T00:55:38.000Z
2022-01-24T23:06:51.000Z
#include <cstdio> #include "platforms/targets/msp432p401r/msp432p401r.h" #include "platforms/utility/startup.hpp" #include "peripherals/cortex/system_timer.hpp" #include "peripherals/msp432p401r/gpio.hpp" #include "peripherals/msp432p401r/pin.hpp" #include "peripherals/msp432p401r/system_controller.hpp" #include "util...
32.2
79
0.735637
SarahS16
a72fcfadaad5841dc033f6801d3f59a436c43e58
781
cpp
C++
usaco_practice/gold/treeDP/treematching.cpp
juneharold/USACO
a96b54f68e7247c61044f3c0d9e7260952c508e2
[ "MIT" ]
null
null
null
usaco_practice/gold/treeDP/treematching.cpp
juneharold/USACO
a96b54f68e7247c61044f3c0d9e7260952c508e2
[ "MIT" ]
null
null
null
usaco_practice/gold/treeDP/treematching.cpp
juneharold/USACO
a96b54f68e7247c61044f3c0d9e7260952c508e2
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; const int MAX_N=2e5+5; int dp[MAX_N][2]={}, N; vector<int> graph[MAX_N]={}; void solve (int cur, int parent) { for (int i=0; i<graph[cur].size(); i++) { int nx=graph[cur][i]; if (nx==parent) continue; solve(nx, cur); dp[cur...
22.314286
85
0.487836
juneharold
a7358628701fc688399f0e9bb14a37febce32d0a
903
hpp
C++
include/percy/input.hpp
jansvoboda11/percy
c6278f8f64cff55f1099f5be8e8888d864550ef9
[ "MIT" ]
4
2020-02-05T22:13:34.000Z
2020-04-21T08:47:32.000Z
include/percy/input.hpp
jansvoboda11/percy
c6278f8f64cff55f1099f5be8e8888d864550ef9
[ "MIT" ]
null
null
null
include/percy/input.hpp
jansvoboda11/percy
c6278f8f64cff55f1099f5be8e8888d864550ef9
[ "MIT" ]
null
null
null
#ifndef PERCY_INPUT #define PERCY_INPUT #include "percy/input_span.hpp" #include <string_view> namespace percy { class input { std::string_view content_; std::size_t cursor_; public: constexpr explicit input(const char *content, std::size_t position = 0) : content_(content), cursor_(position) {} cons...
25.083333
78
0.72093
jansvoboda11
a7368934ab1cbb099044c387ca01e4ad2e71f02e
823
cpp
C++
src/proxy/openvr.cpp
Jabbah/vrperfkit
6a1e067aac8f88185ce8572d296dca5f13ac399a
[ "MIT" ]
304
2022-01-04T19:46:56.000Z
2022-03-31T23:34:52.000Z
src/proxy/openvr.cpp
Jabbah/vrperfkit
6a1e067aac8f88185ce8572d296dca5f13ac399a
[ "MIT" ]
72
2022-01-13T14:12:05.000Z
2022-03-30T19:36:10.000Z
src/proxy/openvr.cpp
Jabbah/vrperfkit
6a1e067aac8f88185ce8572d296dca5f13ac399a
[ "MIT" ]
33
2022-01-19T02:21:13.000Z
2022-03-21T23:26:19.000Z
#include "logging.h" #include "proxy_helpers.h" #include "openvr/openvr_hooks.h" #include <dxgi.h> namespace { HMODULE g_realDll = nullptr; template<typename T> T LoadRealFunction(T, const std::string &name) { #ifdef WIN64 std::string dllName = "vrclient_x64.dll"; #else std::string dllName = "vrclient.dll"; #...
24.939394
83
0.755772
Jabbah
a73f66691cfe8e2f4918bb90a153cf1cfcb3d568
4,335
cpp
C++
indset.cpp
ibaned/omega_h_v1
9ab9efca33d66e4411f87206a7bd1534cec116e4
[ "MIT" ]
null
null
null
indset.cpp
ibaned/omega_h_v1
9ab9efca33d66e4411f87206a7bd1534cec116e4
[ "MIT" ]
null
null
null
indset.cpp
ibaned/omega_h_v1
9ab9efca33d66e4411f87206a7bd1534cec116e4
[ "MIT" ]
null
null
null
#include "indset.hpp" #include <cstdlib> #include "arrays.hpp" #include "comm.hpp" #include "ints.hpp" #include "loop.hpp" #include "mesh.hpp" #include "parallel_mesh.hpp" namespace omega_h { /* given an undirected graph (usually obtained from get_star), * an initial filtered subset of the vertices, * and a scala...
28.519737
73
0.697578
ibaned
a741421bfa5304978cc170744e03de078b5148e8
903
hpp
C++
libs/core/include/fcppt/output_pair.hpp
freundlich/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
13
2015-02-21T18:35:14.000Z
2019-12-29T14:08:29.000Z
libs/core/include/fcppt/output_pair.hpp
cpreh/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
5
2016-08-27T07:35:47.000Z
2019-04-21T10:55:34.000Z
libs/core/include/fcppt/output_pair.hpp
freundlich/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
8
2015-01-10T09:22:37.000Z
2019-12-01T08:31:12.000Z
// Copyright Carl Philipp Reh 2009 - 2021. // 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 FCPPT_OUTPUT_PAIR_HPP_INCLUDED #define FCPPT_OUTPUT_PAIR_HPP_INCLUDED #include <fcppt/outp...
28.21875
86
0.705426
freundlich
a7419f1ac523589ee36428add929ee9c5e75c190
2,435
cpp
C++
xsec/transformers/TXFMOutputFile.cpp
wferi/santuario-cpp
ebccfd5dab543e244882c512f1726309f52b59b8
[ "Apache-2.0" ]
5
2016-06-22T08:10:32.000Z
2021-11-07T11:10:45.000Z
xsec/transformers/TXFMOutputFile.cpp
wferi/santuario-cpp
ebccfd5dab543e244882c512f1726309f52b59b8
[ "Apache-2.0" ]
5
2017-09-04T18:42:24.000Z
2022-01-12T14:49:44.000Z
xsec/transformers/TXFMOutputFile.cpp
wferi/santuario-cpp
ebccfd5dab543e244882c512f1726309f52b59b8
[ "Apache-2.0" ]
16
2015-12-11T00:22:43.000Z
2022-01-12T11:05:22.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 you under the Apache License, Version 2.0 (the * "License"); you m...
20.991379
114
0.708008
wferi
a74242e04ef90891a0b8c7b369ca5b8061326e58
248
hpp
C++
src/agl/common/interval/midpoint.hpp
the-last-willy/abstractgl
d685bef25ac18773d3eea48ca52806c3a3485ddb
[ "MIT" ]
null
null
null
src/agl/common/interval/midpoint.hpp
the-last-willy/abstractgl
d685bef25ac18773d3eea48ca52806c3a3485ddb
[ "MIT" ]
null
null
null
src/agl/common/interval/midpoint.hpp
the-last-willy/abstractgl
d685bef25ac18773d3eea48ca52806c3a3485ddb
[ "MIT" ]
null
null
null
#pragma once #include "interval.hpp" #include "lower_bound.hpp" #include "upper_bound.hpp" namespace agl::common { template<typename... I> constexpr auto midpoint(const Interval<I...>& i) { return (upper_bound(i) + lower_bound(i)) / 2; } }
16.533333
49
0.693548
the-last-willy
a742f24d3dcb513f25eb2f50f0744ab99ade5826
19,779
hpp
C++
src/Optimization/hiopHessianLowRank.hpp
pelesh/hiop
26bf95fc380dfee6d251d6c870cf1b4c76841828
[ "BSD-3-Clause" ]
null
null
null
src/Optimization/hiopHessianLowRank.hpp
pelesh/hiop
26bf95fc380dfee6d251d6c870cf1b4c76841828
[ "BSD-3-Clause" ]
null
null
null
src/Optimization/hiopHessianLowRank.hpp
pelesh/hiop
26bf95fc380dfee6d251d6c870cf1b4c76841828
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2017, Lawrence Livermore National Security, LLC. // Produced at the Lawrence Livermore National Laboratory (LLNL). // Written by Cosmin G. Petra, petra1@llnl.gov. // LLNL-CODE-742473. All rights reserved. // // This file is part of HiOp. For details, see https://github.com/LLNL/hiop. HiOp // is releas...
42.627155
142
0.71222
pelesh
a7446eec005b15fe68fc8b875efe0906cd50b6e3
2,743
cpp
C++
engine/Engine.Core/src/core/window/SystemWindow.cpp
Kartikeyapan598/Ghurund
bcdc5e1805bf82b3f9a0543a3bbe22681c5605ea
[ "MIT" ]
null
null
null
engine/Engine.Core/src/core/window/SystemWindow.cpp
Kartikeyapan598/Ghurund
bcdc5e1805bf82b3f9a0543a3bbe22681c5605ea
[ "MIT" ]
10
2018-03-20T21:32:16.000Z
2018-04-23T19:42:59.000Z
engine/Engine.Core/src/core/window/SystemWindow.cpp
Kartikeyapan598/Ghurund
bcdc5e1805bf82b3f9a0543a3bbe22681c5605ea
[ "MIT" ]
null
null
null
#include "ghcpch.h" #include "SystemWindow.h" #include "WindowClass.h" #include "core/Timer.h" #include "core/input/Input.h" #include "core/reflection/TypeBuilder.h" #include <time.h> #include <shellapi.h> #include <windowsx.h> namespace Ghurund::Core { const Ghurund::Core::Type& SystemWindow::GET_TYPE() { ...
33.45122
170
0.610645
Kartikeyapan598
a749f4d4ec9b1d50667da0dcc42ae81713988980
552
cpp
C++
Library/Bee/artifacts/WebGL/il2cpp/master_WebGL_wasm/h06f_Posix0.lump.cpp
PULSAR2105/Boids_Bug
b963a579055cd7bc539874e105a2ebde49f976df
[ "MIT" ]
null
null
null
Library/Bee/artifacts/WebGL/il2cpp/master_WebGL_wasm/h06f_Posix0.lump.cpp
PULSAR2105/Boids_Bug
b963a579055cd7bc539874e105a2ebde49f976df
[ "MIT" ]
null
null
null
Library/Bee/artifacts/WebGL/il2cpp/master_WebGL_wasm/h06f_Posix0.lump.cpp
PULSAR2105/Boids_Bug
b963a579055cd7bc539874e105a2ebde49f976df
[ "MIT" ]
null
null
null
//Generated lump file. generated by Bee.NativeProgramSupport.Lumping #include "C:/Program Files/Unity/2021.2.4f1/Editor/Data/il2cpp/libil2cpp/os/Posix/CrashHelpers.cpp" #include "C:/Program Files/Unity/2021.2.4f1/Editor/Data/il2cpp/libil2cpp/os/Posix/Error.cpp" #include "C:/Program Files/Unity/2021.2.4f1/Editor/Data/il...
78.857143
100
0.798913
PULSAR2105
a74ba15ec4a6437f9d5fe6fa363a479e96ba1b74
4,085
cpp
C++
lab6/150101033_1.cpp
mayank-myk/Basic-Datastructure-implementations
4bf5f79c2c5ad636fe9d61c0be36a0a3e1238356
[ "MIT" ]
null
null
null
lab6/150101033_1.cpp
mayank-myk/Basic-Datastructure-implementations
4bf5f79c2c5ad636fe9d61c0be36a0a3e1238356
[ "MIT" ]
null
null
null
lab6/150101033_1.cpp
mayank-myk/Basic-Datastructure-implementations
4bf5f79c2c5ad636fe9d61c0be36a0a3e1238356
[ "MIT" ]
null
null
null
//mayank agrawal //150101033 #include <iostream> #include <stack> #include <cstdlib> using namespace std; int n; struct node { int id; char colour; struct node* next ; }; struct node* createnode(){ struct node *temp=(struct node *)malloc(sizeof(struct node)); return temp; } /...
24.461078
81
0.467809
mayank-myk
a7530e7207be9a708004c79f2c91fa2fda45220e
890
cc
C++
helmsman/wind_sensor.cc
denidoank/avalonsailing
8bc6d511e243ebd4fd90e7fb678ac7560226b5ca
[ "Apache-2.0" ]
null
null
null
helmsman/wind_sensor.cc
denidoank/avalonsailing
8bc6d511e243ebd4fd90e7fb678ac7560226b5ca
[ "Apache-2.0" ]
null
null
null
helmsman/wind_sensor.cc
denidoank/avalonsailing
8bc6d511e243ebd4fd90e7fb678ac7560226b5ca
[ "Apache-2.0" ]
null
null
null
// Copyright 2011 The Avalon Project Authors. All rights reserved. // Use of this source code is governed by the Apache License 2.0 // that can be found in the LICENSE file. // Steffen Grundmann, May 2011 #include "helmsman/wind_sensor.h" #include <stdio.h> #include <string> #include "proto/wind.h" // Original un...
22.25
73
0.7
denidoank
a7544330d0bdab4ed6ba7dc2922f7d354946cb4d
28,625
cpp
C++
modules/js/js.cpp
braindigitalis/botnix-discord-cpp
f5526ef6e5cdc84ece4014d68ccbd7d6dbdf26fe
[ "Apache-2.0" ]
9
2019-10-25T18:08:41.000Z
2020-01-13T15:02:10.000Z
modules/js/js.cpp
braindigitalis/botnix-discord-cpp
f5526ef6e5cdc84ece4014d68ccbd7d6dbdf26fe
[ "Apache-2.0" ]
null
null
null
modules/js/js.cpp
braindigitalis/botnix-discord-cpp
f5526ef6e5cdc84ece4014d68ccbd7d6dbdf26fe
[ "Apache-2.0" ]
2
2019-12-11T09:47:52.000Z
2019-12-14T17:54:00.000Z
/************************************************************************************ * * Sporks, the learning, scriptable Discord bot! * * Copyright 2019 Craig Edwards <support@sporks.gg> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with t...
31.805556
171
0.670358
braindigitalis
a756ae7a76cbd7e24f2e63d418e7c8ea8b45b829
29,305
cpp
C++
server/event-driven/hook-function.cpp
A-F-Kazakov/gaminganywhere
e9a74d3c7cd01f494b6d5c19619071dfeadd343b
[ "BSD-3-Clause" ]
4
2021-04-28T19:08:34.000Z
2022-02-08T08:56:28.000Z
server/event-driven/hook-function.cpp
GamingAnywhere/gaminganywhere
e9a74d3c7cd01f494b6d5c19619071dfeadd343b
[ "BSD-3-Clause" ]
null
null
null
server/event-driven/hook-function.cpp
GamingAnywhere/gaminganywhere
e9a74d3c7cd01f494b6d5c19619071dfeadd343b
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2012-2015 Chun-Ying Huang * * This file is part of GamingAnywhere (GA). * * GA is free software; you can redistribute it and/or modify it * under the terms of the 3-clause BSD License as published by the * Free Software Foundation: http://directory.fsf.org/wiki/License:BSD_3Clause * * GA is ...
27.672332
126
0.688483
A-F-Kazakov
a7582e42820aa2ae27cb1412307a1789f05eff6f
3,034
cpp
C++
samples/cpp/tutorial_code/Histograms_Matching/calcHist_Demo.cpp
xipingyan/opencv
39c3334147ec02761b117f180c9c4518be18d1fa
[ "Apache-2.0" ]
56,632
2016-07-04T16:36:08.000Z
2022-03-31T18:38:14.000Z
samples/cpp/tutorial_code/Histograms_Matching/calcHist_Demo.cpp
yusufm423/opencv
6a2077cbd8a8a0d8cbd3e0e8c3ca239f17e6c067
[ "Apache-2.0" ]
13,593
2016-07-04T13:59:03.000Z
2022-03-31T21:04:51.000Z
samples/cpp/tutorial_code/Histograms_Matching/calcHist_Demo.cpp
yusufm423/opencv
6a2077cbd8a8a0d8cbd3e0e8c3ca239f17e6c067
[ "Apache-2.0" ]
54,986
2016-07-04T14:24:38.000Z
2022-03-31T22:51:18.000Z
/** * @function calcHist_Demo.cpp * @brief Demo code to use the function calcHist * @author */ #include "opencv2/highgui.hpp" #include "opencv2/imgcodecs.hpp" #include "opencv2/imgproc.hpp" #include <iostream> using namespace std; using namespace cv; /** * @function main */ int main(int argc, char** argv) { ...
33.711111
98
0.588003
xipingyan
a759e8880a4d6fe18cdf003c5bb791e35634d17e
508
cpp
C++
source/D3DXMatrix.cpp
riverar/SilentPatchME
02b6f879f251a0c9bdd61085d2f16da5c06f221b
[ "MIT" ]
null
null
null
source/D3DXMatrix.cpp
riverar/SilentPatchME
02b6f879f251a0c9bdd61085d2f16da5c06f221b
[ "MIT" ]
null
null
null
source/D3DXMatrix.cpp
riverar/SilentPatchME
02b6f879f251a0c9bdd61085d2f16da5c06f221b
[ "MIT" ]
null
null
null
#include <d3dx9.h> #include <DirectXMath.h> // D3DX Matrix functions implemented in the means of DirectXMath using namespace DirectX; D3DXMATRIX* WINAPI D3DXMatrixInverse_XM(D3DXMATRIX *pOut, FLOAT *pDeterminant, CONST D3DXMATRIX *pM) { XMVECTOR determinant; const XMMATRIX out = XMMatrixInverse(&determinant, XMMAT...
26.736842
100
0.759843
riverar
a75a02b2cc255b7e18dd8cac901a82d13052346d
383
hpp
C++
Windy/include/program/commands/anchor_command.hpp
Greentwip/windy
4eb8174f952c5b600ff004827a5c85dbfb013091
[ "MIT" ]
1
2017-07-13T21:11:55.000Z
2017-07-13T21:11:55.000Z
Windy/include/program/commands/anchor_command.hpp
Greentwip/Windy
4eb8174f952c5b600ff004827a5c85dbfb013091
[ "MIT" ]
null
null
null
Windy/include/program/commands/anchor_command.hpp
Greentwip/Windy
4eb8174f952c5b600ff004827a5c85dbfb013091
[ "MIT" ]
null
null
null
#ifndef windy_anchor_command #define windy_anchor_command #include <string> #include "nana/basic_types.hpp" #include "program/commands/movement_command.hpp" namespace windy { class anchor_command : public movement_command { public: anchor_command(const std::string& name); void update(const nana::point& new_lo...
18.238095
49
0.770235
Greentwip
a75bd1f4442a3b61964b5f6e628bc203b6ce4b45
390
cpp
C++
C++Code/decrescente e crescente.cpp
CrystianPrintes20/ProjetoUri
92a88ae2671a556f4d418c3605e9a2c6933dc9d8
[ "MIT" ]
null
null
null
C++Code/decrescente e crescente.cpp
CrystianPrintes20/ProjetoUri
92a88ae2671a556f4d418c3605e9a2c6933dc9d8
[ "MIT" ]
null
null
null
C++Code/decrescente e crescente.cpp
CrystianPrintes20/ProjetoUri
92a88ae2671a556f4d418c3605e9a2c6933dc9d8
[ "MIT" ]
null
null
null
//Questão: Tipos de triangulos #include <iostream> #include <vector> #include <algorithm> using namespace std; int main(){ int a; vector<int> v; for (int i = 0; i < 3; ++i){ cin >> a; v.push_back(a); } sort(v.begin(), v.end()); //, greater<int>() serve para deixar em ordem decresce...
19.5
87
0.538462
CrystianPrintes20
a75ee3bfd4732374c07fd9b67770442a78813bca
1,097
hpp
C++
smacc2_sm_reference_library/sm_dance_bot/include/sm_dance_bot/clients/cl_string_publisher/cl_string_publisher.hpp
reelrbtx/SMACC2
ac61cb1599f215fd9f0927247596796fc53f82bf
[ "Apache-2.0" ]
null
null
null
smacc2_sm_reference_library/sm_dance_bot/include/sm_dance_bot/clients/cl_string_publisher/cl_string_publisher.hpp
reelrbtx/SMACC2
ac61cb1599f215fd9f0927247596796fc53f82bf
[ "Apache-2.0" ]
null
null
null
smacc2_sm_reference_library/sm_dance_bot/include/sm_dance_bot/clients/cl_string_publisher/cl_string_publisher.hpp
reelrbtx/SMACC2
ac61cb1599f215fd9f0927247596796fc53f82bf
[ "Apache-2.0" ]
null
null
null
// Copyright 2021 RobosoftAI 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...
31.342857
86
0.762078
reelrbtx
a7604fe0cf0b4fa89dfe0b359e0ec1158eba47f3
6,738
cpp
C++
FoxtrotLogReader.cpp
Kedyn/Foxtrot-Log-Reader
3fbf0115ae2b20047eb84d1a80cf1499ff73a7a3
[ "MIT" ]
null
null
null
FoxtrotLogReader.cpp
Kedyn/Foxtrot-Log-Reader
3fbf0115ae2b20047eb84d1a80cf1499ff73a7a3
[ "MIT" ]
null
null
null
FoxtrotLogReader.cpp
Kedyn/Foxtrot-Log-Reader
3fbf0115ae2b20047eb84d1a80cf1499ff73a7a3
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <vector> #include "definitions.h" #include "Tools.h" #include "FoxtrotLogReader.h" #include "DataRate.h" void FoxtrotLogReader::setLogFile(const std::string& file) { log_file = file; } std::string FoxtrotLogReader::getLogFile() { return log_file; } void FoxtrotLogReade...
33.522388
136
0.644256
Kedyn
a7618a42a2ebf3d8dd0d667e9826c6c4a9197d66
855
cpp
C++
src/UIState/UIState.cpp
eucalvo/TankControllerLib
e9d36181dd08962a53897eb86e36f6d7f31fbaa1
[ "MIT" ]
1
2021-02-19T04:27:47.000Z
2021-02-19T04:27:47.000Z
src/UIState/UIState.cpp
eucalvo/TankControllerLib
e9d36181dd08962a53897eb86e36f6d7f31fbaa1
[ "MIT" ]
46
2020-11-01T05:39:29.000Z
2021-03-23T04:50:06.000Z
src/UIState/UIState.cpp
eucalvo/TankControllerLib
e9d36181dd08962a53897eb86e36f6d7f31fbaa1
[ "MIT" ]
10
2020-10-30T04:01:14.000Z
2020-11-26T07:38:35.000Z
#include "UIState.h" #include "../TankControllerLib.h" #include "Devices/LiquidCrystal_TC.h" #include "UIState/MainMenu.h" #include "UIState/Wait.h" // instance methods void UIState::handleKey(char key) { // default is to just return to main menu // this is useful for display-only actions this->returnToMainMen...
25.147059
76
0.691228
eucalvo
a7624af76da58eb8802bd0b2ac4318a308d602e7
5,158
cpp
C++
src/disasm/analysis/PLTProcedureMap.cpp
morimolymoly/spedi
ea8a6b6c870876f4136506649ab0c557bcc9dfe8
[ "BSD-3-Clause" ]
92
2016-03-01T02:48:23.000Z
2021-12-09T15:49:37.000Z
src/disasm/analysis/PLTProcedureMap.cpp
morimolymoly/spedi
ea8a6b6c870876f4136506649ab0c557bcc9dfe8
[ "BSD-3-Clause" ]
3
2017-04-24T14:30:55.000Z
2018-07-10T20:24:11.000Z
src/disasm/analysis/PLTProcedureMap.cpp
morimolymoly/spedi
ea8a6b6c870876f4136506649ab0c557bcc9dfe8
[ "BSD-3-Clause" ]
17
2016-07-05T13:37:14.000Z
2021-04-26T07:21:58.000Z
//===------------------------------------------------------------*- C++ -*-===// // // This file is distributed under BSD License. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// // // Copyright (c) 2016 University of Kaiserslautern. #include "PLTProced...
36.842857
83
0.624467
morimolymoly
a7660564f761f15cb16c87a75c88973695e4c1a5
5,526
hpp
C++
ndn-cxx/impl/pending-interest.hpp
gtorresz/ndn-cxx-PEC
0b97a060a5eb67ee82c639f7120bc8147c8e1f52
[ "OpenSSL" ]
null
null
null
ndn-cxx/impl/pending-interest.hpp
gtorresz/ndn-cxx-PEC
0b97a060a5eb67ee82c639f7120bc8147c8e1f52
[ "OpenSSL" ]
null
null
null
ndn-cxx/impl/pending-interest.hpp
gtorresz/ndn-cxx-PEC
0b97a060a5eb67ee82c639f7120bc8147c8e1f52
[ "OpenSSL" ]
1
2021-07-08T09:29:39.000Z
2021-07-08T09:29:39.000Z
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013-2019 Regents of the University of California. * * This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions). * * ndn-cxx library is free software: you can redistribute it and/or modify it under the ...
27.768844
99
0.704307
gtorresz
a76885ee781a0178b35d3e9aeee9bb3b7155a0a3
815
cpp
C++
src/nbl/system/CStdoutLoggerAndroid.cpp
devshgraphicsprogramming/Nabla
5588c69ac714734ca50b5d3c1409fed88b258bff
[ "Apache-2.0" ]
null
null
null
src/nbl/system/CStdoutLoggerAndroid.cpp
devshgraphicsprogramming/Nabla
5588c69ac714734ca50b5d3c1409fed88b258bff
[ "Apache-2.0" ]
null
null
null
src/nbl/system/CStdoutLoggerAndroid.cpp
devshgraphicsprogramming/Nabla
5588c69ac714734ca50b5d3c1409fed88b258bff
[ "Apache-2.0" ]
null
null
null
#include "nbl/system/CStdoutLoggerAndroid.h" using namespace nbl::system; #ifdef _NBL_PLATFORM_ANDROID_ #include <android/log.h> void CStdoutLoggerAndroid::threadsafeLog_impl(const std::string_view& fmt, E_LOG_LEVEL logLevel, va_list args) { auto nativeLogLevel = ANDROID_LOG_UNKNOWN; switch (logLevel) { case EL...
23.970588
114
0.753374
devshgraphicsprogramming
a76af71cb64a5b47b4050bdd493bace47bb89dd5
1,926
cpp
C++
dbms/src/Interpreters/TraceLog.cpp
victorcojocaru/ClickHouse
6691302e4fcb96bbf6ae794c0fdae63154b0f4f3
[ "Apache-2.0" ]
1
2020-02-28T04:08:55.000Z
2020-02-28T04:08:55.000Z
dbms/src/Interpreters/TraceLog.cpp
victorcojocaru/ClickHouse
6691302e4fcb96bbf6ae794c0fdae63154b0f4f3
[ "Apache-2.0" ]
null
null
null
dbms/src/Interpreters/TraceLog.cpp
victorcojocaru/ClickHouse
6691302e4fcb96bbf6ae794c0fdae63154b0f4f3
[ "Apache-2.0" ]
null
null
null
#include <Interpreters/TraceLog.h> #include <DataTypes/DataTypeArray.h> #include <DataTypes/DataTypeString.h> #include <DataTypes/DataTypesNumber.h> #include <DataTypes/DataTypeDate.h> #include <DataTypes/DataTypeDateTime.h> #include <Common/ClickHouseRevision.h> using namespace DB; using TraceDataType = TraceLogEle...
37.038462
92
0.609034
victorcojocaru
a76cd385edc9b9ee5e03fb322b4acabefb76c9be
57,581
cc
C++
src/s2/s2polygon.cc
goedderz/s2geometry
1a24ec420a47e6563ba765544841263c61fe97ff
[ "Apache-2.0" ]
null
null
null
src/s2/s2polygon.cc
goedderz/s2geometry
1a24ec420a47e6563ba765544841263c61fe97ff
[ "Apache-2.0" ]
null
null
null
src/s2/s2polygon.cc
goedderz/s2geometry
1a24ec420a47e6563ba765544841263c61fe97ff
[ "Apache-2.0" ]
2
2021-08-30T02:45:09.000Z
2022-01-10T11:19:01.000Z
// Copyright 2005 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
37.365996
80
0.68342
goedderz
a76d173ee628121b1d7444733bcbdf37de842e16
2,545
cpp
C++
src/FileAccess.cpp
Mvwivs/file-server-client
9cd02e6e6a91945556afc3d7b725ee39bca0a51d
[ "Apache-2.0" ]
null
null
null
src/FileAccess.cpp
Mvwivs/file-server-client
9cd02e6e6a91945556afc3d7b725ee39bca0a51d
[ "Apache-2.0" ]
null
null
null
src/FileAccess.cpp
Mvwivs/file-server-client
9cd02e6e6a91945556afc3d7b725ee39bca0a51d
[ "Apache-2.0" ]
null
null
null
#include "FileAccess.hpp" FileWriter::FileWriter() { } FileWriter::~FileWriter() { if (file.is_open()) { file.close(); } } FileWriter::FileWriter(const std::string& fileName, std::size_t count, std::size_t fileSize) { file.open(fileName, std::fstream::out | std::fstream::binary); if (!file.is_open()) { thro...
29.593023
94
0.691159
Mvwivs
a7767b47c01c5f87279a1545da1b49ec8ae34f88
1,758
cpp
C++
fwui/source/widgets/VirtualFSSearch.cpp
sienkiewiczkm/framework
9940403404aa5c67186fe09b0910de3a6c8e9762
[ "MIT" ]
null
null
null
fwui/source/widgets/VirtualFSSearch.cpp
sienkiewiczkm/framework
9940403404aa5c67186fe09b0910de3a6c8e9762
[ "MIT" ]
9
2016-12-09T13:02:18.000Z
2019-09-13T09:29:18.000Z
fwui/source/widgets/VirtualFSSearch.cpp
sienkiewiczkm/framework
9940403404aa5c67186fe09b0910de3a6c8e9762
[ "MIT" ]
null
null
null
#include "fwui/widgets/VirtualFSSearch.hpp" #include "fwui/ImGuiExtensions.hpp" #include "boost/algorithm/string.hpp" namespace fwui { void VirtualFSSearch::setExtensions(std::vector<std::string> extensions) { _extensions.clear(); for (auto& ext: extensions) { _extensions.push_back(boost::to_lower...
21.180723
76
0.605802
sienkiewiczkm
a7786027cc9637c2110501f151a6c62dfe1676fb
24,298
cpp
C++
Core/GXExtra/OMX/BitstreamConverter.cpp
manu88/Celesta
1b6350aac5040b54a1ddabed745586508bc63264
[ "Apache-2.0" ]
null
null
null
Core/GXExtra/OMX/BitstreamConverter.cpp
manu88/Celesta
1b6350aac5040b54a1ddabed745586508bc63264
[ "Apache-2.0" ]
null
null
null
Core/GXExtra/OMX/BitstreamConverter.cpp
manu88/Celesta
1b6350aac5040b54a1ddabed745586508bc63264
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2010 Team XBMC * http://www.xbmc.org * * This Program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. * * T...
28.187935
115
0.609227
manu88
a77f5ae2053092cb944b5de936ea6aca063f0ac9
12,700
cpp
C++
src/Render.cpp
artamonovoleg/Vox
ae7e434408c3eea08a6d896db21c84cb4132e213
[ "Apache-2.0" ]
null
null
null
src/Render.cpp
artamonovoleg/Vox
ae7e434408c3eea08a6d896db21c84cb4132e213
[ "Apache-2.0" ]
null
null
null
src/Render.cpp
artamonovoleg/Vox
ae7e434408c3eea08a6d896db21c84cb4132e213
[ "Apache-2.0" ]
null
null
null
#include "Render.h" #include "glad.h" #include <string> #include <iostream> #include "glm/glm.hpp" #include "engine.h" #include "World.h" void Render::init() { projection = glm::perspective(60.0 * M_PI / 180.0, 1280.0 / 720.0, 0.1, 100.0); } void Render::draw_child(Entity* ent, Animator *animator, Scene *scene, Ca...
45.357143
218
0.643465
artamonovoleg
a7810670e668bdd3adbc22521b0b77d1639dd9a1
3,037
hpp
C++
includecpp/devices/device.hpp
willst/libcaer
ff0e741fcfc0b59a41f87679d59620e3cc3b3a7e
[ "BSD-2-Clause" ]
1
2018-12-05T16:42:26.000Z
2018-12-05T16:42:26.000Z
includecpp/devices/device.hpp
willst/libcaer
ff0e741fcfc0b59a41f87679d59620e3cc3b3a7e
[ "BSD-2-Clause" ]
null
null
null
includecpp/devices/device.hpp
willst/libcaer
ff0e741fcfc0b59a41f87679d59620e3cc3b3a7e
[ "BSD-2-Clause" ]
null
null
null
#ifndef LIBCAER_DEVICES_DEVICE_HPP_ #define LIBCAER_DEVICES_DEVICE_HPP_ #include "../libcaer.hpp" #include "../events/packetContainer.hpp" #include "../events/utils.hpp" #include <libcaer/devices/device.h> #include <memory> #include <string> namespace libcaer { namespace devices { class device { protected: std::sha...
31.309278
111
0.712216
willst
a786f817d116cbfa00e2f677559df57ae26c9aa5
4,201
hxx
C++
src/freertos_drivers/arduino/Can.hxx
TrainzLuvr/openmrn
b3bb9d4995e49aa39856740d292d38cf4a99845b
[ "BSD-2-Clause" ]
null
null
null
src/freertos_drivers/arduino/Can.hxx
TrainzLuvr/openmrn
b3bb9d4995e49aa39856740d292d38cf4a99845b
[ "BSD-2-Clause" ]
null
null
null
src/freertos_drivers/arduino/Can.hxx
TrainzLuvr/openmrn
b3bb9d4995e49aa39856740d292d38cf4a99845b
[ "BSD-2-Clause" ]
null
null
null
/** \copyright * Copyright (c) 2018, Balazs Racz * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * - Redistributions of source code must retain the above copyright notice, * this li...
32.565891
79
0.670079
TrainzLuvr
a788a593e064d47dce7345045c0c85860a8d1bbf
7,300
cpp
C++
proxygen/lib/utils/test/TraceEventTest.cpp
waseembasheer/proxygen
38ef4eba6153a9446d6af3f308ffa80d3fc280a6
[ "BSD-3-Clause" ]
null
null
null
proxygen/lib/utils/test/TraceEventTest.cpp
waseembasheer/proxygen
38ef4eba6153a9446d6af3f308ffa80d3fc280a6
[ "BSD-3-Clause" ]
null
null
null
proxygen/lib/utils/test/TraceEventTest.cpp
waseembasheer/proxygen
38ef4eba6153a9446d6af3f308ffa80d3fc280a6
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include <proxygen/lib/utils/TraceEvent.h> #include <proxygen/lib/utils/Exception.h> #include <proxyg...
29.435484
79
0.713288
waseembasheer
a789b10730b670f06bbe654e4cd8422a18d2354e
2,040
hpp
C++
libcaf_core/caf/detail/cas_weak.hpp
novaquark/actor-framework
08185596403b843a5fa50b56c22d2b2f2771b787
[ "BSL-1.0", "BSD-3-Clause" ]
1
2020-07-16T19:01:39.000Z
2020-07-16T19:01:39.000Z
libcaf_core/caf/detail/cas_weak.hpp
novaquark/actor-framework
08185596403b843a5fa50b56c22d2b2f2771b787
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
libcaf_core/caf/detail/cas_weak.hpp
novaquark/actor-framework
08185596403b843a5fa50b56c22d2b2f2771b787
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
/****************************************************************************** * ____ _ _____ * * / ___| / \ | ___| C++ * * | | / _ \ | |_ Actor * ...
46.363636
80
0.406373
novaquark
a78c4c94245cc0b8bf61d782be93691f3521db27
1,221
hpp
C++
teal/include/init/tealinit.hpp
S6066/Teal
d2b4c4474be5caead2db956b3e11894472c8d465
[ "X11" ]
22
2016-07-12T14:17:21.000Z
2019-02-16T19:05:32.000Z
teal/include/init/tealinit.hpp
S6066/Teal
d2b4c4474be5caead2db956b3e11894472c8d465
[ "X11" ]
null
null
null
teal/include/init/tealinit.hpp
S6066/Teal
d2b4c4474be5caead2db956b3e11894472c8d465
[ "X11" ]
3
2016-12-02T06:38:04.000Z
2018-11-25T05:59:46.000Z
// Copyright (C) 2019 Samy Bensaid // This file is part of the Teal project. // For conditions of distribution and use, see copyright notice in LICENSE #pragma once #ifndef TEALINIT_HPP #define TEALINIT_HPP #include <NDK/World.hpp> #include <Nazara/Renderer/RenderWindow.hpp> #include "data/gamedata.hpp" void initia...
29.780488
89
0.791155
S6066
a79159b08723b056ac48af8f1462ec4d4757354f
2,332
cpp
C++
dali/devel-api/update/update-proxy.cpp
smohantty/dali-core
b01725e68bf496872010ec0e148eaa848a582165
[ "Apache-2.0", "BSD-3-Clause" ]
21
2016-11-18T10:26:40.000Z
2021-11-02T09:46:15.000Z
dali/devel-api/update/update-proxy.cpp
smohantty/dali-core
b01725e68bf496872010ec0e148eaa848a582165
[ "Apache-2.0", "BSD-3-Clause" ]
7
2016-10-18T17:39:12.000Z
2020-12-01T11:45:36.000Z
dali/devel-api/update/update-proxy.cpp
smohantty/dali-core
b01725e68bf496872010ec0e148eaa848a582165
[ "Apache-2.0", "BSD-3-Clause" ]
16
2017-03-08T15:50:32.000Z
2021-05-24T06:58:10.000Z
/* * Copyright (c) 2020 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
23.555556
89
0.743997
smohantty
042b832f6c4448d05cbbae8c2330e15a7ef26f23
621
hpp
C++
LoaderPkg/kernel/MouseCursor.hpp
hogehogei/HogepOS
27ab0927c3efa6d766b9ff1732cea8c147a604cd
[ "Apache-2.0" ]
null
null
null
LoaderPkg/kernel/MouseCursor.hpp
hogehogei/HogepOS
27ab0927c3efa6d766b9ff1732cea8c147a604cd
[ "Apache-2.0" ]
null
null
null
LoaderPkg/kernel/MouseCursor.hpp
hogehogei/HogepOS
27ab0927c3efa6d766b9ff1732cea8c147a604cd
[ "Apache-2.0" ]
null
null
null
#pragma once #include "Graphic.hpp" #include "PixelWriter.hpp" class MouseCursor { public: MouseCursor( IPixelWriter* writer, PixelColor back_color, Vector2<int> initial_position ); void MoveRelative( Vector2<int> displacement ); private: IPixelWriter* m_PixelWriter; PixelColor m_BackColor; ...
24.84
94
0.761675
hogehogei
04332443ade7e607aee7288fbae58d205b27252d
364
hpp
C++
pythran/pythonic/include/numpy/base_repr.hpp
SylvainCorlay/pythran
908ec070d837baf77d828d01c3e35e2f4bfa2bfa
[ "BSD-3-Clause" ]
1
2018-03-24T00:33:03.000Z
2018-03-24T00:33:03.000Z
pythran/pythonic/include/numpy/base_repr.hpp
SylvainCorlay/pythran
908ec070d837baf77d828d01c3e35e2f4bfa2bfa
[ "BSD-3-Clause" ]
null
null
null
pythran/pythonic/include/numpy/base_repr.hpp
SylvainCorlay/pythran
908ec070d837baf77d828d01c3e35e2f4bfa2bfa
[ "BSD-3-Clause" ]
null
null
null
#ifndef PYTHONIC_INCLUDE_NUMPY_BASEREPR_HPP #define PYTHONIC_INCLUDE_NUMPY_BASEREPR_HPP #include "pythonic/include/utils/functor.hpp" #include "pythonic/include/types/ndarray.hpp" PYTHONIC_NS_BEGIN namespace numpy { types::str base_repr(long number, long base = 2, long padding = 0); DECLARE_FUNCTOR(pythonic::n...
19.157895
69
0.802198
SylvainCorlay
04334f15b3b73ffda0a51e57a11c1dd4fada72cb
1,431
cxx
C++
tests/core/moneta/traits/pk_member_names_test.cxx
madera/Moneta
4c0da911bceb511d7d1133699b0d85216bb63d74
[ "BSL-1.0" ]
2
2015-10-09T12:11:54.000Z
2016-01-20T15:34:33.000Z
tests/core/moneta/traits/pk_member_names_test.cxx
madera/Moneta
4c0da911bceb511d7d1133699b0d85216bb63d74
[ "BSL-1.0" ]
5
2015-07-04T20:31:32.000Z
2015-07-04T20:44:58.000Z
tests/core/moneta/traits/pk_member_names_test.cxx
madera/Moneta
4c0da911bceb511d7d1133699b0d85216bb63d74
[ "BSL-1.0" ]
null
null
null
// [===========================================================================] // [ M o n e t a ] // [---------------------------------------------------------------------------] // [ ...
44.71875
81
0.37666
madera
04355149b907143f350e4cebdad419daaa0f2248
1,527
cpp
C++
vox.render/shadow/wgsl_shadow.cpp
ArcheGraphics/Arche-cpp
da6770edd4556a920b3f7298f38176107caf7e3a
[ "MIT" ]
8
2022-02-15T12:54:57.000Z
2022-03-30T16:35:58.000Z
vox.render/shadow/wgsl_shadow.cpp
yangfengzzz/DigitalArche
da6770edd4556a920b3f7298f38176107caf7e3a
[ "MIT" ]
null
null
null
vox.render/shadow/wgsl_shadow.cpp
yangfengzzz/DigitalArche
da6770edd4556a920b3f7298f38176107caf7e3a
[ "MIT" ]
null
null
null
// Copyright (c) 2022 Feng Yang // // I am making my contributions/submissions to this project solely in my // personal capacity and am not conveying any rights to any intellectual // property of any third parties. #include "wgsl_shadow.h" namespace vox { WGSLShadowVertex::WGSLShadowVertex(): _commonVert("VertexI...
33.933333
99
0.680419
ArcheGraphics
043607bf579749603a7e5a9633c0014c06014ff8
3,650
cpp
C++
tests/libs/util/netsh_helper.cpp
saxena-anurag/ebpf-for-windows-1
6fb17c819e561f705f9d136c111070dd02991375
[ "MIT" ]
1,122
2021-05-10T17:08:44.000Z
2022-03-31T06:19:35.000Z
tests/libs/util/netsh_helper.cpp
saxena-anurag/ebpf-for-windows-1
6fb17c819e561f705f9d136c111070dd02991375
[ "MIT" ]
404
2021-05-10T19:34:27.000Z
2022-03-31T23:56:34.000Z
tests/libs/util/netsh_helper.cpp
saxena-anurag/ebpf-for-windows-1
6fb17c819e561f705f9d136c111070dd02991375
[ "MIT" ]
92
2021-05-10T16:23:26.000Z
2022-03-29T06:17:00.000Z
// Copyright (c) Microsoft Corporation // SPDX-License-Identifier: MIT #include <windows.h> #include <netsh.h> // Must be included after windows.h #include <string.h> #include "bpf/bpf.h" #include "capture_helper.hpp" #include "catch_wrapper.hpp" #include "elf.h" #pragma region // Mock Netsh.exe APIs. DWORD WINAPI P...
27.443609
110
0.597534
saxena-anurag