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
98f25c466f946a899cdeb38ce9c74974bff1d3e0
1,921
cpp
C++
Engine/Platforms/Vulkan/Android/VkAndSurface.cpp
azhirnov/GraphicsGenFramework-modular
348be601f1991f102defa0c99250529f5e44c4d3
[ "BSD-2-Clause" ]
12
2017-12-23T14:24:57.000Z
2020-10-02T19:52:12.000Z
Engine/Platforms/Vulkan/Android/VkAndSurface.cpp
azhirnov/ModularGraphicsFramework
348be601f1991f102defa0c99250529f5e44c4d3
[ "BSD-2-Clause" ]
null
null
null
Engine/Platforms/Vulkan/Android/VkAndSurface.cpp
azhirnov/ModularGraphicsFramework
348be601f1991f102defa0c99250529f5e44c4d3
[ "BSD-2-Clause" ]
null
null
null
// Copyright (c) Zhirnov Andrey. For more information see 'LICENSE.txt' #include "Engine/Platforms/Vulkan/Android/VkAndSurface.h" #if defined( GRAPHICS_API_VULKAN ) and defined( PLATFORM_ANDROID ) #include <android/native_window.h> #include "Engine/Platforms/Vulkan/110/vulkan1_platform.h" namespace Engine { namesp...
23.426829
129
0.540864
azhirnov
98f30155f06ee63e8da1498f3f01f46ba034e295
1,608
cc
C++
tests/api/mpi/coll/allred6.cc
jpkenny/sst-macro
bcc1f43034281885104962586d8b104df84b58bd
[ "BSD-Source-Code" ]
20
2017-01-26T09:28:23.000Z
2022-01-17T11:31:55.000Z
tests/api/mpi/coll/allred6.cc
jpkenny/sst-macro
bcc1f43034281885104962586d8b104df84b58bd
[ "BSD-Source-Code" ]
542
2016-03-29T22:50:58.000Z
2022-03-22T20:14:08.000Z
tests/api/mpi/coll/allred6.cc
jpkenny/sst-macro
bcc1f43034281885104962586d8b104df84b58bd
[ "BSD-Source-Code" ]
36
2016-03-10T21:33:54.000Z
2021-12-01T07:44:12.000Z
/* * * (C) 2003 by Argonne National Laboratory. * See COPYRIGHT in top-level directory. */ #include <sstmac/replacements/mpi/mpi.h> #include <stdio.h> #include <stdlib.h> #include "mpitest.h" namespace allred6 { void mysum( void *cinPtr, void *coutPtr, int *count, MPI_Datatype *dtype ); void mysum( void ...
22.647887
79
0.554104
jpkenny
98f551aa444b5cfbc06f550644f89562e5217aef
2,460
cpp
C++
Level_2/I.7/CPP_1.7/CPP_1.7/main.cpp
ZhehaoLi9705/QuantNet_CPP
a889f4656e757842f4163b0cda7e098cc6ad1193
[ "MIT" ]
null
null
null
Level_2/I.7/CPP_1.7/CPP_1.7/main.cpp
ZhehaoLi9705/QuantNet_CPP
a889f4656e757842f4163b0cda7e098cc6ad1193
[ "MIT" ]
null
null
null
Level_2/I.7/CPP_1.7/CPP_1.7/main.cpp
ZhehaoLi9705/QuantNet_CPP
a889f4656e757842f4163b0cda7e098cc6ad1193
[ "MIT" ]
null
null
null
// // main.cpp // CPP_1.7 // // Created by Zhehao Li on 2020/2/17. // Copyright © 2020 Zhehao Li. All rights reserved. // // TestArrays.cpp // Some mathematical operations on fixed-sixed arrays and matrices. // #include <iostream> #include <math.h> #include "TestFunctionPointers.hpp" using namespace std; // Pr...
24.356436
104
0.531707
ZhehaoLi9705
98ffabe02913f1ae13dec86217c2fb5169886da1
1,268
cpp
C++
codeforces/D - Tree Construction/Time limit exceeded on test 6.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
1
2022-02-11T16:55:36.000Z
2022-02-11T16:55:36.000Z
codeforces/D - Tree Construction/Time limit exceeded on test 6.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
codeforces/D - Tree Construction/Time limit exceeded on test 6.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
/**************************************************************************************** * @author: kzvd4729 created: Mar/31/2018 18:59 * solution_verdict: Time limit exceeded on test 6 language: GNU C++14 * run...
25.877551
111
0.432965
kzvd4729
c7001ef7d3237f10f12547a27e9a85ad1318197b
4,438
cpp
C++
src/Plugins/RenX/RenX.IRCJoin/RenX_IRCJoin.cpp
Constructive-Tyranny/Jupiter-Bot
2f1261b55b0b420ad2a2cc7aa30118296e0a87d1
[ "0BSD" ]
9
2016-02-04T09:54:24.000Z
2021-11-25T18:56:44.000Z
src/Plugins/RenX/RenX.IRCJoin/RenX_IRCJoin.cpp
Constructive-Tyranny/Jupiter-Bot
2f1261b55b0b420ad2a2cc7aa30118296e0a87d1
[ "0BSD" ]
8
2015-08-04T15:19:53.000Z
2021-11-18T19:39:05.000Z
src/Plugins/RenX/RenX.IRCJoin/RenX_IRCJoin.cpp
JustinAJ/Jupiter-Bot
2f1261b55b0b420ad2a2cc7aa30118296e0a87d1
[ "0BSD" ]
15
2016-08-22T13:04:25.000Z
2022-02-18T16:19:00.000Z
/** * Copyright (C) 2014-2021 Jessica James. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHO...
38.591304
165
0.719468
Constructive-Tyranny
c7007a3a7d20590964c8160f10920420d47f7996
1,412
cpp
C++
one_enclave/enclave_b/ecalls.cpp
VictorDebray/azure-tee-attestation-samples
38964c6023586dcc5014bd088daba0fa336c5a46
[ "MIT" ]
6
2020-03-28T16:46:47.000Z
2021-11-23T16:27:47.000Z
one_enclave/enclave_b/ecalls.cpp
VictorDebray/azure-tee-attestation-samples
38964c6023586dcc5014bd088daba0fa336c5a46
[ "MIT" ]
1
2021-02-10T13:48:52.000Z
2021-02-10T13:49:32.000Z
one_enclave/enclave_b/ecalls.cpp
VictorDebray/azure-tee-attestation-samples
38964c6023586dcc5014bd088daba0fa336c5a46
[ "MIT" ]
5
2020-07-31T10:38:44.000Z
2021-11-10T08:24:20.000Z
// Copyright (c) Open Enclave SDK contributors. // Licensed under the MIT License. #include <common/dispatcher.h> #include <common/secretsharing_t.h> #include <openenclave/enclave.h> // Declare a static dispatcher object for enabling // for better organizing enclave-wise global variables static ecall_dispatcher dispat...
28.816327
84
0.749292
VictorDebray
c700abea48dae2e40ea0e7b7d7884cd25025c2b8
27,020
cpp
C++
KugleFirmware/Libraries/Modules/Controllers/ModelMatrices/mass.cpp
VBorjaDD/Kugle-Embedded
8cea8503b1aa6a9fa70c4ec9b4dedfacb99499ba
[ "MIT" ]
17
2019-05-08T14:37:45.000Z
2022-01-03T19:29:34.000Z
KugleFirmware/Libraries/Modules/Controllers/ModelMatrices/mass.cpp
VBorjaDD/Kugle-Embedded
8cea8503b1aa6a9fa70c4ec9b4dedfacb99499ba
[ "MIT" ]
4
2019-04-06T11:38:58.000Z
2020-12-21T15:30:23.000Z
KugleFirmware/Libraries/Modules/Controllers/ModelMatrices/mass.cpp
VBorjaDD/Kugle-Embedded
8cea8503b1aa6a9fa70c4ec9b4dedfacb99499ba
[ "MIT" ]
18
2019-01-31T09:04:59.000Z
2021-11-15T10:13:32.000Z
// // Academic License - for use in teaching, academic research, and meeting // course requirements at degree granting institutions only. Not for // government, commercial, or other organizational use. // File: mass.cpp // // MATLAB Coder version : 4.0 // C/C++ source code generated on : 20-Nov-2018 22:55:...
36.074766
2,921
0.470984
VBorjaDD
c7078a8b279f79c1adad5e9cdcb670731cf8e906
637
hpp
C++
ReactNativeFrontend/ios/Pods/boost/boost/hof/detail/noexcept.hpp
Harshitha91/Tmdb-react-native-node
e06e3f25a7ee6946ef07a1f524fdf62e48424293
[ "Apache-2.0" ]
12,278
2015-01-29T17:11:33.000Z
2022-03-31T21:12:00.000Z
ReactNativeFrontend/ios/Pods/boost/boost/hof/detail/noexcept.hpp
Harshitha91/Tmdb-react-native-node
e06e3f25a7ee6946ef07a1f524fdf62e48424293
[ "Apache-2.0" ]
9,469
2015-01-30T05:33:07.000Z
2022-03-31T16:17:21.000Z
ReactNativeFrontend/ios/Pods/boost/boost/hof/detail/noexcept.hpp
Harshitha91/Tmdb-react-native-node
e06e3f25a7ee6946ef07a1f524fdf62e48424293
[ "Apache-2.0" ]
1,343
2017-12-08T19:47:19.000Z
2022-03-26T11:31:36.000Z
/*============================================================================= Copyright (c) 2016 Paul Fultz II noexcept.hpp 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) ===============================...
31.85
80
0.588697
Harshitha91
c707e4cedd5ff6fd203d49981a8fcf9b1d2d30d0
187
cpp
C++
tests/testcases/rc4.cpp
kuma42/Kripto
86c3eb1b765e14b52d00b98890e13091658258f6
[ "MIT" ]
113
2015-04-26T16:48:54.000Z
2022-03-25T23:15:21.000Z
thirdparty/Encryptions/tests/rc4.cpp
Muller-Castro/Minesweeper
e4c3fb48e7181aff9637dc77cb829d16d293afdb
[ "Zlib", "MIT" ]
5
2019-01-24T02:46:15.000Z
2021-05-09T14:06:25.000Z
thirdparty/Encryptions/tests/rc4.cpp
Muller-Castro/Minesweeper
e4c3fb48e7181aff9637dc77cb829d16d293afdb
[ "Zlib", "MIT" ]
44
2015-12-17T02:29:19.000Z
2022-03-31T21:39:13.000Z
#include <gtest/gtest.h> #include "common/includes.h" #include "Encryptions/RC4.h" #include "testvectors/rc/rc4scicrypt.h" TEST(RC4, sci_crypt) { sym_test <RC4> (RC4_SCI_CRYPT); }
17
39
0.716578
kuma42
c7096d09657b1914f6899c318ee1c748c5d91389
4,745
cpp
C++
src/test.cpp
sam-roth/autobind
df230f43335f2636fe32b370c359650391ed1ee1
[ "BSD-3-Clause" ]
1
2017-05-20T19:38:28.000Z
2017-05-20T19:38:28.000Z
src/test.cpp
sam-roth/autobind
df230f43335f2636fe32b370c359650391ed1ee1
[ "BSD-3-Clause" ]
null
null
null
src/test.cpp
sam-roth/autobind
df230f43335f2636fe32b370c359650391ed1ee1
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> #include <clang/AST/ASTContext.h> #include "clang/AST/ASTConsumer.h" #include "clang/AST/RecursiveASTVisitor.h" #include "clang/Frontend/CompilerInstance.h" #include "clang/Frontend/FrontendAction.h" #include "clang/Tooling/Tooling.h" #include "clang/AST/Attr.h" #include "util.hpp" #include "String...
26.21547
92
0.658588
sam-roth
c70e8a39a3ce7383636a849a1d216ee8b11bf574
40,958
cpp
C++
ext/include/osgEarthFeatures/ExtrudeGeometryFilter.cpp
energonQuest/dtEarth
47b04bb272ec8781702dea46f5ee9a03d4a22196
[ "MIT" ]
6
2015-09-26T15:33:41.000Z
2021-06-13T13:21:50.000Z
ext/include/osgEarthFeatures/ExtrudeGeometryFilter.cpp
energonQuest/dtEarth
47b04bb272ec8781702dea46f5ee9a03d4a22196
[ "MIT" ]
null
null
null
ext/include/osgEarthFeatures/ExtrudeGeometryFilter.cpp
energonQuest/dtEarth
47b04bb272ec8781702dea46f5ee9a03d4a22196
[ "MIT" ]
5
2015-05-04T09:02:23.000Z
2019-06-17T11:34:12.000Z
/* -*-c++-*- */ /* osgEarth - Dynamic map generation toolkit for OpenSceneGraph * Copyright 2008-2013 Pelican Mapping * http://osgearth.org * * osgEarth is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundat...
36.635063
152
0.532033
energonQuest
c71250fa52123f7318e142afaa4d514a844ffb60
3,390
hpp
C++
include/reveal/serialize/simple_binary_reader.hpp
cdglove/reveal-cpp
d05a4dfcce2ded3d630d742bb084ab52bdf3f062
[ "BSL-1.0" ]
null
null
null
include/reveal/serialize/simple_binary_reader.hpp
cdglove/reveal-cpp
d05a4dfcce2ded3d630d742bb084ab52bdf3f062
[ "BSL-1.0" ]
null
null
null
include/reveal/serialize/simple_binary_reader.hpp
cdglove/reveal-cpp
d05a4dfcce2ded3d630d742bb084ab52bdf3f062
[ "BSL-1.0" ]
null
null
null
// ***************************************************************************** // // reveal/serialize/simple_binary_reader.hpp // // Converts an flat binary stream into an instance // // Copyright Chris Glover 2016 // // Distributed under the Boost Software License, Version 1.0. // See accompanying file LICENSE_1_0....
28.25
88
0.633333
cdglove
c712e3787f8d0efd689ccaa1e8ec56613ff4d3e1
2,330
cpp
C++
lib/Dialect/RVV/IR/RVVDialect.cpp
taiqzheng/buddy-mlir
dde20faa02bc0c8a7195747b1c13f564732bbe7a
[ "Apache-2.0" ]
null
null
null
lib/Dialect/RVV/IR/RVVDialect.cpp
taiqzheng/buddy-mlir
dde20faa02bc0c8a7195747b1c13f564732bbe7a
[ "Apache-2.0" ]
null
null
null
lib/Dialect/RVV/IR/RVVDialect.cpp
taiqzheng/buddy-mlir
dde20faa02bc0c8a7195747b1c13f564732bbe7a
[ "Apache-2.0" ]
null
null
null
//===- RVVDialect.cpp - MLIR RVV dialect implementation -------------------===// // // 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 // //...
32.361111
80
0.619742
taiqzheng
c71340273b80b1554b6eba744f90a719158c28c9
4,886
hpp
C++
include/Mahi/Gui/Tween.hpp
1over/mahi-gui
a460f831d06746eb0e83555305a3eab174ee85b9
[ "MIT" ]
358
2020-03-22T05:30:25.000Z
2022-03-29T13:20:18.000Z
include/Mahi/Gui/Tween.hpp
1over/mahi-gui
a460f831d06746eb0e83555305a3eab174ee85b9
[ "MIT" ]
32
2020-03-25T13:16:28.000Z
2022-02-07T21:58:41.000Z
include/Mahi/Gui/Tween.hpp
1over/mahi-gui
a460f831d06746eb0e83555305a3eab174ee85b9
[ "MIT" ]
64
2020-03-22T16:56:59.000Z
2022-03-19T13:50:18.000Z
// MIT License // // Copyright (c) 2020 Mechatronics and Haptic Interfaces Lab - Rice University // // 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 l...
32.573333
80
0.715923
1over
c71a9e65d5a0071314188390a31b686d3cdbf551
1,897
cpp
C++
src/feata/geom/geom_ent_type.cpp
master-clown/ofeata
306cbc3a402551fb62b3925d23a2d4f63f60d525
[ "MIT" ]
1
2021-08-30T13:51:42.000Z
2021-08-30T13:51:42.000Z
src/feata/geom/geom_ent_type.cpp
master-clown/ofeata
306cbc3a402551fb62b3925d23a2d4f63f60d525
[ "MIT" ]
null
null
null
src/feata/geom/geom_ent_type.cpp
master-clown/ofeata
306cbc3a402551fb62b3925d23a2d4f63f60d525
[ "MIT" ]
1
2021-08-30T13:51:35.000Z
2021-08-30T13:51:35.000Z
#include "geom/geom_ent_type.hpp" namespace geom { GeomEntityType GeomEntityTypeFromString(const String& str) { const auto tmp = str.toLower(); if(tmp == "vertex") return GEOM_ENT_TYPE_VERTEX; if(tmp == "edge") return GEOM_ENT_TYPE_EDGE; if(tmp == "face") return GEOM_...
32.706897
78
0.668951
master-clown
c71ab536fedce256d323e567faa41e8f9e8f923b
1,621
cpp
C++
ModeChoice/Data/Mode_Group.cpp
kravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
2
2018-04-27T11:07:02.000Z
2020-04-24T06:53:21.000Z
ModeChoice/Data/Mode_Group.cpp
idkravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
null
null
null
ModeChoice/Data/Mode_Group.cpp
idkravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
null
null
null
//********************************************************* // Mode_Group.cpp - mode database parameters //********************************************************* #include "Mode_Group.hpp" //--------------------------------------------------------- // Mode_Group constructor //---------------------------------------...
23.838235
88
0.524368
kravitz
c7231fb279b181c96b237b60579b2745f1179bd4
7,023
cpp
C++
delegate/src/test/DelegateOptionsTest.cpp
tkdhmin/armnn
af2dac50e2581262492af05010a4bf7bb26b690d
[ "MIT" ]
856
2018-03-09T17:26:23.000Z
2022-03-24T21:31:33.000Z
delegate/src/test/DelegateOptionsTest.cpp
tkdhmin/armnn
af2dac50e2581262492af05010a4bf7bb26b690d
[ "MIT" ]
623
2018-03-13T04:40:42.000Z
2022-03-31T09:45:17.000Z
delegate/src/test/DelegateOptionsTest.cpp
tkdhmin/armnn
af2dac50e2581262492af05010a4bf7bb26b690d
[ "MIT" ]
284
2018-03-09T23:05:28.000Z
2022-03-29T14:42:28.000Z
// // Copyright © 2021 Arm Ltd and Contributors. All rights reserved. // SPDX-License-Identifier: MIT // #include "DelegateOptionsTestHelper.hpp" #include <common/include/ProfilingGuid.hpp> namespace armnnDelegate { TEST_SUITE("DelegateOptions") { TEST_CASE ("ArmnnDelegateOptimizerOptionsReduceFp32ToFp16") { st...
36.769634
119
0.54706
tkdhmin
c72344edb88aefbc0dccdc1a11f662d36fb7dd90
698
cpp
C++
cpu/main.cpp
DasudaRunner/CUDA-CV
4dca7e80e403b978b3b9ef4dc4d8bc962b4380e3
[ "MIT" ]
146
2018-11-15T13:20:23.000Z
2022-03-30T01:47:37.000Z
cpu/main.cpp
layyyang/DeltaCV
4dca7e80e403b978b3b9ef4dc4d8bc962b4380e3
[ "MIT" ]
1
2018-12-05T04:44:39.000Z
2020-07-07T01:20:22.000Z
cpu/main.cpp
layyyang/DeltaCV
4dca7e80e403b978b3b9ef4dc4d8bc962b4380e3
[ "MIT" ]
8
2019-07-19T07:23:38.000Z
2021-09-26T15:36:27.000Z
#include <iostream> #include "deltaCV/SIMD/core.hpp" #include <opencv2/opencv.hpp> #include <opencv2/imgproc/imgproc.hpp> #include <opencv2/core/core.hpp> #include <time.h> using namespace std; int main() { cv::Mat img = cv::imread("***.bmp"); cv::Mat out(img.rows,img.cols,CV_8UC1,cv::Scalar(0)); cv::Mat ...
24.068966
116
0.618911
DasudaRunner
c725a8de72002bf3f15296aa667203f1a9f5ed4d
1,396
cpp
C++
src/imaging/ossimGridRemapEngineFactory.cpp
vladislav-horbatiuk/ossim
82417ad868fac022672335e1684bdd91d662c18c
[ "MIT" ]
251
2015-10-20T09:08:11.000Z
2022-03-22T18:16:38.000Z
src/imaging/ossimGridRemapEngineFactory.cpp
IvanLJF/ossim
2e0143f682b9884a09ff2598ef8737f29e44fbdf
[ "MIT" ]
73
2015-11-02T17:12:36.000Z
2021-11-15T17:41:47.000Z
src/imaging/ossimGridRemapEngineFactory.cpp
IvanLJF/ossim
2e0143f682b9884a09ff2598ef8737f29e44fbdf
[ "MIT" ]
146
2015-10-15T16:00:15.000Z
2022-03-22T12:37:14.000Z
//***************************************************************************** // FILE: ossimGridRemapEngineFactory.cc // // Copyright (C) 2001 ImageLinks, Inc. // // License: LGPL // // See LICENSE.txt file in the top level directory for more details. // // AUTHOR: Oscar Kramer // // DESCRIPTION: Contains implement...
31.022222
79
0.56447
vladislav-horbatiuk
c726153c63e5ba1da19cc65d73720168d9077815
360
inl
C++
include/lug/Graphics/Vulkan/Render/DescriptorSetPool/DescriptorSet.inl
Lugdunum3D/Lugdunum3D
b6d6907d034fdba1ffc278b96598eba1d860f0d4
[ "MIT" ]
275
2016-10-08T15:33:17.000Z
2022-03-30T06:11:56.000Z
include/lug/Graphics/Vulkan/Render/DescriptorSetPool/DescriptorSet.inl
Lugdunum3D/Lugdunum3D
b6d6907d034fdba1ffc278b96598eba1d860f0d4
[ "MIT" ]
24
2016-09-29T20:51:20.000Z
2018-05-09T21:41:36.000Z
include/lug/Graphics/Vulkan/Render/DescriptorSetPool/DescriptorSet.inl
Lugdunum3D/Lugdunum3D
b6d6907d034fdba1ffc278b96598eba1d860f0d4
[ "MIT" ]
37
2017-02-25T05:03:48.000Z
2021-05-10T19:06:29.000Z
inline DescriptorSet::DescriptorSet(API::DescriptorSet descriptorSet) : _descriptorSet(std::move(descriptorSet)) {} inline const API::DescriptorSet& DescriptorSet::getDescriptorSet() const { return _descriptorSet; } inline size_t DescriptorSet::getHash() const { return _hash; } inline void DescriptorSet::set...
25.714286
115
0.758333
Lugdunum3D
c7278327bcc31515ec0bf2a8b77290a3fe1c0c43
29,262
cpp
C++
source/compression/brgost.cpp
Olde-Skuul/burgerlib
80848a4dfa17c5c05095ecea14a9bd87f86dfb9d
[ "Zlib" ]
115
2015-01-18T17:29:30.000Z
2022-01-30T04:31:48.000Z
source/compression/brgost.cpp
Olde-Skuul/burgerlib
80848a4dfa17c5c05095ecea14a9bd87f86dfb9d
[ "Zlib" ]
9
2015-01-22T04:53:38.000Z
2015-01-31T13:52:40.000Z
source/compression/brgost.cpp
Olde-Skuul/burgerlib
80848a4dfa17c5c05095ecea14a9bd87f86dfb9d
[ "Zlib" ]
9
2015-01-23T20:06:46.000Z
2020-05-20T16:06:00.000Z
/*************************************** GOST hash manager Implemented following the documentation found in https://en.wikipedia.org/wiki/GOST_(hash_function) and http://tools.ietf.org/html/rfc5831 Copyright (c) 1995-2017 by Rebecca Ann Heineman <becky@burgerbecky.com> It is released under a...
40.983193
146
0.746873
Olde-Skuul
d175b8f82c866f8302106737e8046d78eac56b9a
7,399
cpp
C++
wallet/api/base/api_base.cpp
unwaz/beam
a9aa45dce5dd759f3eb67d7d07ecdc9154aa8db0
[ "Apache-2.0" ]
null
null
null
wallet/api/base/api_base.cpp
unwaz/beam
a9aa45dce5dd759f3eb67d7d07ecdc9154aa8db0
[ "Apache-2.0" ]
null
null
null
wallet/api/base/api_base.cpp
unwaz/beam
a9aa45dce5dd759f3eb67d7d07ecdc9154aa8db0
[ "Apache-2.0" ]
null
null
null
// Copyright 2018 The Beam 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 in...
31.892241
129
0.53737
unwaz
d176b13387aaed755f10c5148752224a911f5599
3,567
cc
C++
ImageProcessing/acquisition.cc
SanczoPL/rpi4-motor-app
76313f877798d7f8bf6e973daee0d4949dcd6cdd
[ "MIT" ]
null
null
null
ImageProcessing/acquisition.cc
SanczoPL/rpi4-motor-app
76313f877798d7f8bf6e973daee0d4949dcd6cdd
[ "MIT" ]
null
null
null
ImageProcessing/acquisition.cc
SanczoPL/rpi4-motor-app
76313f877798d7f8bf6e973daee0d4949dcd6cdd
[ "MIT" ]
null
null
null
#include "acquisition.h" constexpr auto WIDTH{ "Width" }; constexpr auto HEIGHT{ "Height" }; constexpr auto COLOR_CODE{ "ColorCode" }; constexpr auto OPENCV_PREVIEW{ "OpenCV_Preview" }; class QJsonObject; #define DEBUG false ImageAcquisition::ImageAcquisition(QJsonObject const& a_config) : m_width{ a_config[WIDTH]...
26.036496
114
0.714606
SanczoPL
d17796eb76ab512385674fda3cc06e1241e3dc75
900
cc
C++
enju2ptb/src/markNpb2.cc
mynlp/enju
d984a630b30b95de16f3b715277e95dc6fbe15b4
[ "Apache-2.0" ]
48
2016-10-11T06:07:02.000Z
2022-03-02T16:26:25.000Z
enju2ptb/src/markNpb2.cc
mynlp/enju
d984a630b30b95de16f3b715277e95dc6fbe15b4
[ "Apache-2.0" ]
7
2017-02-13T09:14:34.000Z
2019-01-18T06:06:29.000Z
enju2ptb/src/markNpb2.cc
mynlp/enju
d984a630b30b95de16f3b715277e95dc6fbe15b4
[ "Apache-2.0" ]
18
2016-11-13T23:14:28.000Z
2022-01-12T15:21:44.000Z
#include "PennTree.h" struct NodeType { bool _isNp; bool _isPos; /// whether this node directly dominates a POS (possesive) NodeType(bool isNp, bool isPos) : _isNp(isNp), _isPos(isPos) {} }; NodeType markBaseNp(PennTree *t) { assert(t->getString()[0] != '*'); if (t->isPreTerminal()) { return NodeType(false, ...
16.666667
72
0.596667
mynlp
d17a48b1cbf532c354ed180bae9e76c1cc358bbe
1,590
cpp
C++
source/MaterialXRuntime/RtType.cpp
muenstc/MaterialX
b8365086a738fddae683065d78f65410aacd0dc4
[ "BSD-3-Clause" ]
101
2017-08-08T12:08:01.000Z
2022-03-17T06:37:58.000Z
source/MaterialXRuntime/RtType.cpp
testpassword/MaterialX
7c69782196b11fa43c67aee0707801983bb81e6c
[ "BSD-3-Clause" ]
1,002
2018-01-09T10:33:07.000Z
2022-03-31T18:35:04.000Z
source/MaterialXRuntime/RtType.cpp
testpassword/MaterialX
7c69782196b11fa43c67aee0707801983bb81e6c
[ "BSD-3-Clause" ]
24
2018-01-05T20:16:36.000Z
2022-02-03T15:40:14.000Z
// // TM & (c) 2021 Lucasfilm Entertainment Company Ltd. and Lucasfilm Ltd. // All rights reserved. See LICENSE.txt for license. // #include <MaterialXRuntime/RtType.h> namespace MaterialX { const RtString RtType::BOOLEAN("boolean"); const RtString RtType::INTEGER("integer"); const RtString RtType::FLOAT("float"); ...
36.976744
72
0.776101
muenstc
d17bc16abd58447d008270ff953d991bbc0cfb95
5,888
cpp
C++
source/mechcmd2/logisticscomponent.cpp
mechasource/mechcommander2
b2c7cecf001cec1f535aa8d29c31bdc30d9aa983
[ "BSD-2-Clause" ]
38
2015-04-10T13:31:03.000Z
2021-09-03T22:34:05.000Z
source/mechcmd2/logisticscomponent.cpp
mechasource/mechcommander2
b2c7cecf001cec1f535aa8d29c31bdc30d9aa983
[ "BSD-2-Clause" ]
1
2020-07-09T09:48:44.000Z
2020-07-12T12:41:43.000Z
source/mechcmd2/logisticscomponent.cpp
mechasource/mechcommander2
b2c7cecf001cec1f535aa8d29c31bdc30d9aa983
[ "BSD-2-Clause" ]
12
2015-06-29T08:06:57.000Z
2021-10-13T13:11:41.000Z
#define LOGISTICSCOMPONENT_CPP /*************************************************************************************************\ LogisticsComponent.cpp : Implementation of the LogisticsComponent component. //---------------------------------------------------------------------------// // Copyright (C) Microsoft Cor...
24.635983
162
0.643512
mechasource
d18008bdf0cfb468c2311df902cc52811bfb72f9
1,396
cc
C++
dune/xt/common/test/memory.cc
ftschindler-work/dune-xt-common
1748530e13dbf683b5bf14289bf3e134485755a8
[ "BSD-2-Clause" ]
2
2016-01-05T14:54:52.000Z
2020-02-08T04:09:13.000Z
dune/xt/common/test/memory.cc
ftschindler-work/dune-xt-common
1748530e13dbf683b5bf14289bf3e134485755a8
[ "BSD-2-Clause" ]
119
2016-01-06T16:32:14.000Z
2020-03-25T08:28:53.000Z
dune/xt/common/test/memory.cc
ftschindler-work/dune-xt-common
1748530e13dbf683b5bf14289bf3e134485755a8
[ "BSD-2-Clause" ]
5
2016-04-13T08:03:45.000Z
2020-03-13T10:59:17.000Z
// This file is part of the dune-xt-common project: // https://github.com/dune-community/dune-xt-common // Copyright 2009-2018 dune-xt-common developers and contributors. All rights reserved. // License: Dual licensed as BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) // or GPL-2.0+ (http://o...
24.928571
95
0.684097
ftschindler-work
d180bcad6b90242bf74214e72acdc3a99f270615
12,636
cc
C++
servlib/conv_layers/FileConvergenceLayer.cc
delay-tolerant-networking/DTN2
1c12a9dea32c5cbae8c46db105012a2031f4161e
[ "Apache-2.0" ]
14
2016-06-27T19:28:23.000Z
2021-06-28T20:41:17.000Z
servlib/conv_layers/FileConvergenceLayer.cc
delay-tolerant-networking/DTN2
1c12a9dea32c5cbae8c46db105012a2031f4161e
[ "Apache-2.0" ]
3
2020-09-18T13:48:53.000Z
2021-05-27T18:28:14.000Z
servlib/conv_layers/FileConvergenceLayer.cc
lauramazzuca21/DTNME
c97b598b09a8c8e97c2e4136879d9f0e157c8df7
[ "Apache-2.0" ]
10
2020-09-26T05:08:40.000Z
2022-01-25T12:57:55.000Z
/* * Copyright 2004-2006 Intel Corporation * * 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...
28.331839
84
0.559513
delay-tolerant-networking
d18808e05e61e3b14f603025bbc5f9651dbe9c67
880
cpp
C++
TicTacToe/Window.cpp
djanko1337/TicTacToe
6adcdf7b3a7ed947f36d473c965853edea4ddc8e
[ "MIT" ]
1
2018-02-14T18:00:52.000Z
2018-02-14T18:00:52.000Z
TicTacToe/Window.cpp
djanko1337/TicTacToe
6adcdf7b3a7ed947f36d473c965853edea4ddc8e
[ "MIT" ]
null
null
null
TicTacToe/Window.cpp
djanko1337/TicTacToe
6adcdf7b3a7ed947f36d473c965853edea4ddc8e
[ "MIT" ]
null
null
null
#include "Window.hpp" #include "Assert.hpp" #include "Display.hpp" #include "RectangleFunctions.hpp" #include "Size.hpp" namespace TicTacToe { auto Window::instance() noexcept -> Window& { static Window window; return window; } auto Window::getRawPointer() const noexcept -> SDL_Window* { return mWindow....
21.463415
72
0.720455
djanko1337
d1882646225d624c42f81a5c2b42e62d5ae33ea6
1,000
hxx
C++
skia/recorder/include/util.hxx
hermet/rive-cpp
d69378d97e7d987930c3764655153bf8ddc65966
[ "MIT" ]
null
null
null
skia/recorder/include/util.hxx
hermet/rive-cpp
d69378d97e7d987930c3764655153bf8ddc65966
[ "MIT" ]
null
null
null
skia/recorder/include/util.hxx
hermet/rive-cpp
d69378d97e7d987930c3764655153bf8ddc65966
[ "MIT" ]
null
null
null
#ifndef UTIL_HXX #define UTIL_HXX #include <iostream> #include <memory> #include <stdexcept> #include <string> #include <sys/stat.h> #include <unistd.h> template <typename... Args> std::string string_format(const std::string& format, Args... args) { int size = snprintf(nullptr, 0, format.c_str(), args...) + ...
28.571429
108
0.671
hermet
d18dd780e1f6b20d62a9479852640cce5fde51d1
3,457
hpp
C++
tsl/include/tsl/attrmaps/attr_maps.hpp
jeffrey-cochran/tsl
a9ae6fb2755fcbd1311c16e9faff87445419f7f0
[ "Apache-2.0", "MIT" ]
4
2020-03-05T04:34:28.000Z
2022-02-17T04:39:51.000Z
tsl/include/tsl/attrmaps/attr_maps.hpp
jeffrey-cochran/tsl
a9ae6fb2755fcbd1311c16e9faff87445419f7f0
[ "Apache-2.0", "MIT" ]
47
2019-02-21T11:16:20.000Z
2019-07-10T20:30:13.000Z
tsl/include/tsl/attrmaps/attr_maps.hpp
jovobe/tsl
6c024a2325d1c6cb3019b4169a6f3f214a224587
[ "Apache-2.0", "MIT" ]
4
2020-06-20T15:36:11.000Z
2022-01-04T03:22:45.000Z
#ifndef TSL_ATTR_MAPS_HPP #define TSL_ATTR_MAPS_HPP #include "attribute_map.hpp" #include "hash_map.hpp" #include "vector_map.hpp" #include "tsl/geometry/tmesh/handles.hpp" namespace tsl { /* * This file defines many useful type aliases for implementations of the * `attribute_map` interface. * * Choosing the cor...
48.013889
105
0.71536
jeffrey-cochran
d191c680078dfad7eb9cbb35196e605d4d9156b7
5,333
cpp
C++
HDSM_Server/Data/HDLinkedListNode.cpp
PerferctCheng/HDSM
cb14ee3e951e15b04217457ecbeb015bea295586
[ "Apache-2.0" ]
4
2019-01-23T10:22:03.000Z
2019-08-18T13:46:41.000Z
HDSM_Server/Data/HDLinkedListNode.cpp
PerferctCheng/HDSM
cb14ee3e951e15b04217457ecbeb015bea295586
[ "Apache-2.0" ]
null
null
null
HDSM_Server/Data/HDLinkedListNode.cpp
PerferctCheng/HDSM
cb14ee3e951e15b04217457ecbeb015bea295586
[ "Apache-2.0" ]
1
2019-01-23T12:11:58.000Z
2019-01-23T12:11:58.000Z
#include "HDLinkedListNode.h" #include "Utils.h" #include "../Global.h" #include "../Logger.h" #include <string.h> HDLinkedListNode::HDLinkedListNode() { m_bValid = false; } HDLinkedListNode::HDLinkedListNode(const HDLinkedListNode &node) { m_ucFlag = node.m_ucFlag; m_llNextPtr = node.m_llNextPtr; m_llPrePtr = no...
20.913725
103
0.720608
PerferctCheng
d194f5f12d7a0ce0b5fef89121669d25ef510fdb
1,606
cxx
C++
sources/etx/gpu-off/gpu-off.cxx
sergeyreznik/etx-tracer
e9941102daa5693af2a975e561022920a85826ef
[ "MIT" ]
180
2022-01-18T18:55:06.000Z
2022-03-21T14:24:39.000Z
sources/etx/gpu-off/gpu-off.cxx
sergeyreznik/etx-tracer
e9941102daa5693af2a975e561022920a85826ef
[ "MIT" ]
1
2022-02-25T14:05:49.000Z
2022-02-25T14:05:49.000Z
sources/etx/gpu-off/gpu-off.cxx
sergeyreznik/etx-tracer
e9941102daa5693af2a975e561022920a85826ef
[ "MIT" ]
7
2022-02-02T00:57:57.000Z
2022-02-22T15:53:15.000Z
#include <etx/gpu/gpu.hxx> namespace etx { struct GPUDummyDevice : public GPUDevice { bool rendering_enabled() override { return false; } GPUBuffer create_buffer(const GPUBuffer::Descriptor&) override { return {}; } device_pointer_t get_buffer_device_pointer(GPUBuffer) const override { return {}...
29.2
116
0.752179
sergeyreznik
d1956cb056ce6b5fcb54d204342b94689a013866
2,343
hpp
C++
rmvmath/vector/vector2x/func/TVector2_func.hpp
vitali-kurlovich/RMMath
a982b89e5db08e9cd16cb08e92839a315b6198dc
[ "MIT" ]
null
null
null
rmvmath/vector/vector2x/func/TVector2_func.hpp
vitali-kurlovich/RMMath
a982b89e5db08e9cd16cb08e92839a315b6198dc
[ "MIT" ]
null
null
null
rmvmath/vector/vector2x/func/TVector2_func.hpp
vitali-kurlovich/RMMath
a982b89e5db08e9cd16cb08e92839a315b6198dc
[ "MIT" ]
null
null
null
// // Created by Vitali Kurlovich on 12/11/15. // #ifndef RMVECTORMATH_TVECTOR2_FUNC_HPP_H #define RMVECTORMATH_TVECTOR2_FUNC_HPP_H #ifdef RM_MATH_STAT #include <profiler/profiler.hpp> #endif #include "../TVector2_def.hpp" #include <math.h> namespace rmmath { namespace vector { template<typename T> ...
20.373913
76
0.528809
vitali-kurlovich
d195881c7b75be3a2933bd721429449aa1b75041
2,466
cpp
C++
src/tortoise/vvDialog/vvRevisionChoiceDialog.cpp
samboy/veracity
01935bf71cb04aec0ae6982ee163030710d60be8
[ "Apache-2.0" ]
null
null
null
src/tortoise/vvDialog/vvRevisionChoiceDialog.cpp
samboy/veracity
01935bf71cb04aec0ae6982ee163030710d60be8
[ "Apache-2.0" ]
3
2015-05-15T18:56:54.000Z
2015-05-15T20:58:57.000Z
src/tortoise/vvDialog/vvRevisionChoiceDialog.cpp
samboy/veracity
01935bf71cb04aec0ae6982ee163030710d60be8
[ "Apache-2.0" ]
null
null
null
/* Copyright 2010-2013 SourceGear, LLC 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 in writing...
27.4
98
0.739254
samboy
d1982fa949ca7c135d9e64ad324e6cdadec6491f
3,184
cpp
C++
test/geometry/ut_cubic_spline_interp_3D.cpp
bigginlab/chap
17de36442e2e80cb01432e84050c4dfce31fc3a2
[ "MIT" ]
10
2018-06-28T00:21:46.000Z
2022-03-30T03:31:32.000Z
test/geometry/ut_cubic_spline_interp_3D.cpp
bigginlab/chap
17de36442e2e80cb01432e84050c4dfce31fc3a2
[ "MIT" ]
35
2019-03-19T21:54:46.000Z
2022-03-17T02:20:42.000Z
test/geometry/ut_cubic_spline_interp_3D.cpp
bigginlab/chap
17de36442e2e80cb01432e84050c4dfce31fc3a2
[ "MIT" ]
8
2018-10-27T19:35:13.000Z
2022-01-06T01:10:39.000Z
// CHAP - The Channel Annotation Package // // Copyright (c) 2016 - 2018 Gianni Klesse, Shanlin Rao, Mark S. P. Sansom, and // Stephen J. Tucker // // 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 th...
37.023256
80
0.651068
bigginlab
d19a35c0b9bbd350c6a09d9967eb9032495ceb98
3,069
cpp
C++
Source/SystemQOR/MSWindows/WinQAPI/src/MMC.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
9
2016-05-27T01:00:39.000Z
2021-04-01T08:54:46.000Z
Source/SystemQOR/MSWindows/WinQAPI/src/MMC.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
1
2016-03-03T22:54:08.000Z
2016-03-03T22:54:08.000Z
Source/SystemQOR/MSWindows/WinQAPI/src/MMC.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
4
2016-05-27T01:00:43.000Z
2018-08-19T08:47:49.000Z
//MMC.cpp // Copyright Querysoft Limited 2013 // // Permission is hereby granted, free of charge, to any person or organization // obtaining a copy of the software and accompanying documentation covered by // this license (the "Software") to use, reproduce, display, distribute, // execute, and transmit the Software, a...
38.848101
85
0.649723
mfaithfull
d1a1debdb8d90038cbd6a7a6de59c7113944e770
9,619
cpp
C++
src/Engine/Renderer/Apis/OpenGL/Material/OpenGLUniform.cpp
harlexkhal/GameProject-1
8890f67a62fa6e0660d65e623bd5f7501a4c2091
[ "MIT" ]
null
null
null
src/Engine/Renderer/Apis/OpenGL/Material/OpenGLUniform.cpp
harlexkhal/GameProject-1
8890f67a62fa6e0660d65e623bd5f7501a4c2091
[ "MIT" ]
null
null
null
src/Engine/Renderer/Apis/OpenGL/Material/OpenGLUniform.cpp
harlexkhal/GameProject-1
8890f67a62fa6e0660d65e623bd5f7501a4c2091
[ "MIT" ]
null
null
null
// // Created by MarcasRealAccount on 18. May. 2021. // #include "Engine/Utility/Core.h" #ifdef RENDERER_OPENGL #include "Engine/Renderer/Apis/OpenGL/Material/OpenGLUniform.h" #include "Engine/Renderer/Apis/OpenGL/Texture/OpenGLTexture2D.h" #include "Engine/Renderer/Apis/OpenGL/Texture/OpenGLTexture2DArray.h" #inclu...
24.351899
101
0.721489
harlexkhal
d1a4ed16bda22e2194234d788c90db50ce753463
958
cpp
C++
ts/include/clunk/stream.cpp
MrDj200/task-force-arma-3-radio
21bb54d5d0e0b31b0522dc67e6923edb9ad85247
[ "RSA-MD" ]
300
2015-01-14T11:19:48.000Z
2022-01-18T19:46:55.000Z
ts/include/clunk/stream.cpp
MrDj200/task-force-arma-3-radio
21bb54d5d0e0b31b0522dc67e6923edb9ad85247
[ "RSA-MD" ]
742
2015-01-07T05:25:39.000Z
2022-03-15T17:06:34.000Z
ts/include/clunk/stream.cpp
MrDj200/task-force-arma-3-radio
21bb54d5d0e0b31b0522dc67e6923edb9ad85247
[ "RSA-MD" ]
280
2015-01-01T08:58:00.000Z
2022-03-23T12:37:38.000Z
/* clunk - cross-platform 3D audio API built on top SDL library * Copyright (C) 2007-2014 Netive Media Group * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 o...
36.846154
79
0.742171
MrDj200
d1b196841a706202303e7f4b8475e2c74f680fc4
1,789
cpp
C++
src/scripting/ScriptObjectStorage.cpp
Szmyk/REGoth-bs
f953739f96a6441457287417d23812853675fb6e
[ "MIT" ]
4
2021-04-05T18:54:14.000Z
2021-04-30T15:49:50.000Z
src/scripting/ScriptObjectStorage.cpp
Szmyk/REGoth-bs
f953739f96a6441457287417d23812853675fb6e
[ "MIT" ]
null
null
null
src/scripting/ScriptObjectStorage.cpp
Szmyk/REGoth-bs
f953739f96a6441457287417d23812853675fb6e
[ "MIT" ]
null
null
null
#include "ScriptObjectStorage.hpp" #include <RTTI/RTTI_ScriptObjectStorage.hpp> namespace REGoth { namespace Scripting { ScriptObjectStorage::~ScriptObjectStorage() { } bool ScriptObjectStorage::isDestroyed(ScriptObjectHandle handle) const { if (handle == SCRIPT_OBJECT_HANDLE_INVALID) re...
24.175676
99
0.666294
Szmyk
d1b6642d3c75fbdbb4b23f64e96f978143d0508d
4,094
cpp
C++
app/src/generalwindow.cpp
dmushynska/uamp
0a6ab7716d26ee67864f96c26db8372498a8e502
[ "MIT" ]
1
2020-11-18T17:06:47.000Z
2020-11-18T17:06:47.000Z
app/src/generalwindow.cpp
dmushynska/uamp
0a6ab7716d26ee67864f96c26db8372498a8e502
[ "MIT" ]
null
null
null
app/src/generalwindow.cpp
dmushynska/uamp
0a6ab7716d26ee67864f96c26db8372498a8e502
[ "MIT" ]
null
null
null
#include "generalwindow.h" #include <ctime> #include "dtagmusic.h" #include "musiclist.h" #include "playmusic.h" #include "database.h" #include "ui_generalwindow.h" #include "windowsetting.h" #include "radio.h" QString generalWindow::GetFileName(const QString& path) { TagLib::FileRef f(path.toUtf8().constData())...
25.5875
93
0.693454
dmushynska
d1ba51569b30b418c3e0ab3af1c7b7570176fd37
3,373
hpp
C++
src/framework/uima/pragmas.hpp
RoboSherlock/uima-uimacpp
6eb3ce9f9a766dd28ff727feb9463636ef29288d
[ "Apache-2.0" ]
null
null
null
src/framework/uima/pragmas.hpp
RoboSherlock/uima-uimacpp
6eb3ce9f9a766dd28ff727feb9463636ef29288d
[ "Apache-2.0" ]
null
null
null
src/framework/uima/pragmas.hpp
RoboSherlock/uima-uimacpp
6eb3ce9f9a766dd28ff727feb9463636ef29288d
[ "Apache-2.0" ]
1
2018-05-05T04:13:59.000Z
2018-05-05T04:13:59.000Z
/** \file pragmas.hpp . ----------------------------------------------------------------------------- * 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...
39.682353
99
0.612511
RoboSherlock
d1bd10848ddb998f734dab96811ce3a78e2a5dc1
1,005
cpp
C++
benignware/1504.cpp
CodmingOut/SecretProjectAI
addc43117eab30a25453c18fa042739c33cc6cfb
[ "MIT" ]
8
2018-04-12T15:54:09.000Z
2020-06-05T07:41:15.000Z
src/1000/1504.cpp14.cpp
upple/BOJ
e6dbf9fd17fa2b458c6a781d803123b14c18e6f1
[ "MIT" ]
null
null
null
src/1000/1504.cpp14.cpp
upple/BOJ
e6dbf9fd17fa2b458c6a781d803123b14c18e6f1
[ "MIT" ]
null
null
null
#include<cstdio> #include<vector> using namespace std; const long long INF = 999999999; const int MAX_NODE = 801; int main() { int no_node, no_edge, start, end, p1, p2; long long adj[MAX_NODE][MAX_NODE]; long long edge; scanf("%d %d", &no_node, &no_edge); for (int i = 1; i <= no_node; i++) { for (int j = 1; j...
21.382979
114
0.530348
CodmingOut
d1c01bb1ede3ab478c19e0d9136c40adc6cb7118
1,525
cpp
C++
examples/ch17/Fig17_17_19/Date.cpp
gbwx-net/how_to_program_c_6th
5bcc662993d1577878cbf3ce84ef2d52e7c690a3
[ "MIT" ]
null
null
null
examples/ch17/Fig17_17_19/Date.cpp
gbwx-net/how_to_program_c_6th
5bcc662993d1577878cbf3ce84ef2d52e7c690a3
[ "MIT" ]
null
null
null
examples/ch17/Fig17_17_19/Date.cpp
gbwx-net/how_to_program_c_6th
5bcc662993d1577878cbf3ce84ef2d52e7c690a3
[ "MIT" ]
null
null
null
// Fig. 17.18: Date.cpp // Date class member-function definitions. #include <iostream> #include "Date.h" // include definition of class Date from Date.h using namespace std; // Date constructor (should do range checking) Date::Date( int m, int d, int y ) { month = m; day = d; year = y; } // end constructor Da...
42.361111
76
0.552787
gbwx-net
d1c6e6b935a1fb43945be3726b44a59ccdc714ef
3,234
hpp
C++
src/tests/SimpleTest/SimpleTest.hpp
neotericpiguy/QDmrconfig
5fd0b5fbacd414f5963bcfef153db95e9447bade
[ "MIT" ]
1
2021-01-03T17:49:59.000Z
2021-01-03T17:49:59.000Z
src/tests/SimpleTest/SimpleTest.hpp
neotericpiguy/QDmrconfig
5fd0b5fbacd414f5963bcfef153db95e9447bade
[ "MIT" ]
39
2020-12-19T18:19:06.000Z
2021-12-29T01:25:39.000Z
src/tests/SimpleTest/SimpleTest.hpp
neotericpiguy/QDmrconfig
5fd0b5fbacd414f5963bcfef153db95e9447bade
[ "MIT" ]
null
null
null
#ifndef SIMPLETEST_HPP #define SIMPLETEST_HPP #include <functional> #include <iostream> #include <sstream> #include <string> #include <vector> #define TEST(lparam, op, rparam) \ if (lparam op rparam) \ { ...
39.925926
93
0.337044
neotericpiguy
d1ca93723e054ba2340cf799260ef0b388c1fe82
2,034
cpp
C++
test/openexr/bind/imf_deepimageio.cpp
luke-titley/cppmm
3c0dbc5539ab33706e63d4a518f85cb6a9a54ed7
[ "OLDAP-2.5", "OLDAP-2.3" ]
37
2020-11-03T19:51:36.000Z
2022-02-08T06:09:51.000Z
test/openexr/bind/imf_deepimageio.cpp
luke-titley/cppmm
3c0dbc5539ab33706e63d4a518f85cb6a9a54ed7
[ "OLDAP-2.5", "OLDAP-2.3" ]
61
2020-11-06T16:59:25.000Z
2021-09-08T20:48:47.000Z
test/openexr/bind/imf_deepimageio.cpp
luke-titley/cppmm
3c0dbc5539ab33706e63d4a518f85cb6a9a54ed7
[ "OLDAP-2.5", "OLDAP-2.3" ]
7
2020-11-05T04:53:22.000Z
2021-09-03T23:32:21.000Z
#include <OpenEXR/ImfDeepImageIO.h> #include <cppmm_bind.hpp> namespace cppmm_bind { namespace OPENEXR_IMF_INTERNAL_NAMESPACE { namespace Imf = ::OPENEXR_IMF_INTERNAL_NAMESPACE; IMFUTIL_EXPORT void saveDeepImage(const std::string& fileName, const Imf::Header& hdr, const Imf::DeepImage& img, Imf:...
33.9
80
0.740413
luke-titley
d1d041eabb3920b2b07232b18a2beb4bec4e9724
4,866
cpp
C++
script/np/Any.cpp
quyse/inanity
a39225c5a41f879abe5aa492bb22b500dbe77433
[ "MIT" ]
26
2015-04-22T05:25:25.000Z
2020-11-15T11:07:56.000Z
script/np/Any.cpp
quyse/inanity
a39225c5a41f879abe5aa492bb22b500dbe77433
[ "MIT" ]
2
2015-01-05T10:41:27.000Z
2015-01-06T20:46:11.000Z
script/np/Any.cpp
quyse/inanity
a39225c5a41f879abe5aa492bb22b500dbe77433
[ "MIT" ]
5
2016-08-02T11:13:57.000Z
2018-10-26T11:19:27.000Z
#include "Any.hpp" #include "State.hpp" #include "values.ipp" #include "wrappers.hpp" #include "../../platform/NpapiPlugin.hpp" #include "../../platform/NpapiPluginInstance.hpp" #include "../../Exception.hpp" BEGIN_INANITY_NP Any::Any(ptr<State> state, NPVariant variant) : state(state), variant(variant) {} Any::~Any...
22.423963
100
0.730374
quyse
d1d19baa73b94a982b6d1c9a3926e7973c9970f2
7,234
cpp
C++
tools/CameraRGBD/main.cpp
redater/PAM-BATR
3fc8f95972ec13963a53c5448921b59df80a8c8b
[ "BSD-3-Clause" ]
1
2017-05-25T20:41:33.000Z
2017-05-25T20:41:33.000Z
tools/CameraRGBD/main.cpp
redater/PAM-BATR
3fc8f95972ec13963a53c5448921b59df80a8c8b
[ "BSD-3-Clause" ]
null
null
null
tools/CameraRGBD/main.cpp
redater/PAM-BATR
3fc8f95972ec13963a53c5448921b59df80a8c8b
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2010-2014, Mathieu Labbe - IntRoLab - Universite de Sherbrooke 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 ...
30.782979
119
0.619574
redater
d1d7e9150b295a9c1f09f0aabac78fd6af4d1588
4,632
hpp
C++
source/include/coffee/app/Runnable.hpp
ciscoruiz/wepa
e6d922157543c91b6804f11073424a0a9c6e8f51
[ "MIT" ]
2
2018-02-03T06:56:29.000Z
2021-04-20T10:28:32.000Z
source/include/coffee/app/Runnable.hpp
ciscoruiz/wepa
e6d922157543c91b6804f11073424a0a9c6e8f51
[ "MIT" ]
8
2018-02-18T21:00:07.000Z
2018-02-20T15:31:24.000Z
source/include/coffee/app/Runnable.hpp
ciscoruiz/wepa
e6d922157543c91b6804f11073424a0a9c6e8f51
[ "MIT" ]
1
2018-02-09T07:09:26.000Z
2018-02-09T07:09:26.000Z
// MIT License // // Copyright (c) 2018 Francisco Ruiz (francisco.ruiz.rayo@gmail.com) // // 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 limitatio...
31.297297
134
0.699266
ciscoruiz
d1dbfd018bdfbbbd198669a837e95ff5168c92c5
752
cpp
C++
RPPS-base/lib/src/Utils.cpp
Bored66/RPPS
aff7df489572fdd2e99ae2b523fb0ea5c879971b
[ "0BSD" ]
1
2019-12-27T13:49:42.000Z
2019-12-27T13:49:42.000Z
RPPS-base/lib/src/Utils.cpp
Bored66/RPPS
aff7df489572fdd2e99ae2b523fb0ea5c879971b
[ "0BSD" ]
null
null
null
RPPS-base/lib/src/Utils.cpp
Bored66/RPPS
aff7df489572fdd2e99ae2b523fb0ea5c879971b
[ "0BSD" ]
null
null
null
// Description: Утилиты преобразований байт #include "Utils.h" #include <QStringList> int GetInt( const QString & value ) { if( value.contains( "x" ) ) { return value.toInt( 0, 16 ); } else { return value.toInt(); } } ...
21.485714
78
0.43484
Bored66
d1dc81ce44bfc7f19f94fe18f6474b26b5f60e71
4,972
cpp
C++
src/limitless/pipeline/blur.cpp
hotstreams/graphicsengine
47736452f1f4d977f60354900ee4a81dca47ca0d
[ "MIT" ]
null
null
null
src/limitless/pipeline/blur.cpp
hotstreams/graphicsengine
47736452f1f4d977f60354900ee4a81dca47ca0d
[ "MIT" ]
null
null
null
src/limitless/pipeline/blur.cpp
hotstreams/graphicsengine
47736452f1f4d977f60354900ee4a81dca47ca0d
[ "MIT" ]
null
null
null
#include <limitless/pipeline/blur.hpp> #include <limitless/core/texture_builder.hpp> #include <limitless/core/shader_program.hpp> #include <limitless/core/uniform.hpp> #include <limitless/assets.hpp> using namespace Limitless; void Blur::build(glm::uvec2 frame_size) { const uint8_t max_levels = glm::floor(glm::l...
30.881988
115
0.613837
hotstreams
d1dd21d315a533c2c9b56d7dc543042bd2bda5f7
1,060
cpp
C++
Chapter2/Section2.4/fracdec/fracdec_2.cpp
suzyz/USACO
c7f58850f20693fedfc30ef462f898d20d002396
[ "MIT" ]
null
null
null
Chapter2/Section2.4/fracdec/fracdec_2.cpp
suzyz/USACO
c7f58850f20693fedfc30ef462f898d20d002396
[ "MIT" ]
null
null
null
Chapter2/Section2.4/fracdec/fracdec_2.cpp
suzyz/USACO
c7f58850f20693fedfc30ef462f898d20d002396
[ "MIT" ]
null
null
null
/* ID: suzyzha1 PROG: fracdec LANG: C++ */ #include <iostream> #include <fstream> #include <cstring> #include <cmath> using namespace std; int bit_count=0; fstream fout("fracdec.out",ios::out); int num_before_repeat(int n,int d) { int c2=0,c5=0; while(d%2==0){ d/=2; c2++; } while(d%5==0){ d/=5; c5++; } while(n...
12.045455
37
0.540566
suzyz
d1e209989f38f91aae24c564ba2b50aa6cda3725
6,296
hpp
C++
include/mbgl/style/expression/parsing_context.hpp
wenchangshou2/mapbox-gl-native
9df8315f4e4cc8cf4bc95da7bb8f9bac77a3c46f
[ "BSD-2-Clause", "BSD-3-Clause" ]
null
null
null
include/mbgl/style/expression/parsing_context.hpp
wenchangshou2/mapbox-gl-native
9df8315f4e4cc8cf4bc95da7bb8f9bac77a3c46f
[ "BSD-2-Clause", "BSD-3-Clause" ]
null
null
null
include/mbgl/style/expression/parsing_context.hpp
wenchangshou2/mapbox-gl-native
9df8315f4e4cc8cf4bc95da7bb8f9bac77a3c46f
[ "BSD-2-Clause", "BSD-3-Clause" ]
null
null
null
#pragma once #include <mbgl/util/optional.hpp> #include <mbgl/util/string.hpp> #include <mbgl/style/expression/type.hpp> #include <mbgl/style/conversion.hpp> #include <iterator> #include <map> #include <unordered_map> #include <string> #include <vector> #include <memory> namespace mbgl { namespace style { namespace ...
34.217391
122
0.640883
wenchangshou2
d1e212c824849c4eedfeffb2abf0c92a36a7101f
3,114
hpp
C++
Firmware/communication/can/can_helpers.hpp
deafloo/ODrive
bae459bb71b39c0169f4b8a322b7371eada58112
[ "MIT" ]
1,068
2016-05-31T22:39:08.000Z
2020-12-20T22:13:01.000Z
Firmware/communication/can/can_helpers.hpp
deafloo/ODrive
bae459bb71b39c0169f4b8a322b7371eada58112
[ "MIT" ]
389
2017-10-16T09:44:20.000Z
2020-12-21T14:19:38.000Z
Firmware/communication/can/can_helpers.hpp
deafloo/ODrive
bae459bb71b39c0169f4b8a322b7371eada58112
[ "MIT" ]
681
2016-06-12T01:41:00.000Z
2020-12-21T12:49:32.000Z
#pragma once #include <stdint.h> #include <algorithm> #include <cstring> #include <iterator> struct can_Message_t { uint32_t id = 0x000; // 11-bit max is 0x7ff, 29-bit max is 0x1FFFFFFF bool isExt = false; bool rtr = false; uint8_t len = 8; uint8_t buf[8] = {0, 0, 0, 0, 0, 0, 0, 0}; } ; struct c...
32.103093
160
0.656712
deafloo
d1e2fd4e1a1e56f02a8c4977e2589fdcc5105359
228
cpp
C++
rapi_core/src/environment.cpp
csitarichie/someip_cyclone_dds_bridge
2ccaaa6e2484a938b08562497431df61ab23769f
[ "MIT" ]
null
null
null
rapi_core/src/environment.cpp
csitarichie/someip_cyclone_dds_bridge
2ccaaa6e2484a938b08562497431df61ab23769f
[ "MIT" ]
null
null
null
rapi_core/src/environment.cpp
csitarichie/someip_cyclone_dds_bridge
2ccaaa6e2484a938b08562497431df61ab23769f
[ "MIT" ]
null
null
null
#include "core/environment.hpp" using adst::common::ConfigAndLogger; using adst::ep::test_engine::core::Environment; Environment::Environment(const ConfigAndLogger& configAndLogger) : configAndLogger_(configAndLogger) { }
22.8
64
0.789474
csitarichie
d1eca1ac424da097aba2cae395583f368a521d64
5,359
cpp
C++
src/gtpV2Codec/msgClasses/srvccPsToCsCompleteNotificationMsg.cpp
aggarwalanubhav/Nucleus
107113cd9a1b68b1a28b35091ed17785ed32d319
[ "Apache-2.0" ]
null
null
null
src/gtpV2Codec/msgClasses/srvccPsToCsCompleteNotificationMsg.cpp
aggarwalanubhav/Nucleus
107113cd9a1b68b1a28b35091ed17785ed32d319
[ "Apache-2.0" ]
null
null
null
src/gtpV2Codec/msgClasses/srvccPsToCsCompleteNotificationMsg.cpp
aggarwalanubhav/Nucleus
107113cd9a1b68b1a28b35091ed17785ed32d319
[ "Apache-2.0" ]
1
2021-05-18T07:21:24.000Z
2021-05-18T07:21:24.000Z
/* * Copyright 2019-present Infosys Limited * * SPDX-License-Identifier: Apache-2.0 */ /****************************************************************************** * * This is an auto generated file. * Please do not edit this file. * All edits to be made through template source file * <TOP-DIR/scripts/GtpV...
31.89881
114
0.59582
aggarwalanubhav
d1f2bdd311dfbdcb51cfd955bd73779aa7c3a739
2,358
hpp
C++
bandit/simulator.hpp
jkomiyama/multiplaybanditlib
a97ffaa8917eb5d7f325a54fce0aeb492265f0ce
[ "MIT" ]
17
2016-07-28T12:39:28.000Z
2021-07-13T14:23:29.000Z
bandit/simulator.hpp
jkomiyama/multiplaybanditlib
a97ffaa8917eb5d7f325a54fce0aeb492265f0ce
[ "MIT" ]
null
null
null
bandit/simulator.hpp
jkomiyama/multiplaybanditlib
a97ffaa8917eb5d7f325a54fce0aeb492265f0ce
[ "MIT" ]
4
2016-08-01T02:24:13.000Z
2020-09-28T02:40:26.000Z
#pragma once #include "util.hpp" #include "../arm/arm.hpp" #include "../policy/policy.hpp" #include "../bandit/roundwiselog.hpp" namespace bandit{ typedef std::shared_ptr<Arm> ArmPtr; typedef std::shared_ptr<Policy> PolicyPtr; template<class Log = RoundwiseLog> class Simulator{ std::vector<ArmPtr> arms; std:...
29.475
92
0.617048
jkomiyama
d1f3a1b9801f1133a77018c1ddd3530288baccea
3,959
cpp
C++
tests/test_lookback.cpp
yarro-s/StratoTester
efc688261e31b8da8ba902a7df94d8e5f8f1623e
[ "MIT" ]
2
2020-08-08T06:28:27.000Z
2020-10-24T17:11:00.000Z
tests/test_lookback.cpp
yarro-s/StratoTester
efc688261e31b8da8ba902a7df94d8e5f8f1623e
[ "MIT" ]
null
null
null
tests/test_lookback.cpp
yarro-s/StratoTester
efc688261e31b8da8ba902a7df94d8e5f8f1623e
[ "MIT" ]
null
null
null
/* * Copyright (c) Yaroslav Shkurat. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <iostream> #include <numeric> #include <strategy.hpp> #include <allocators/lambda_alloc.hpp> #include <utils.hpp> #include <catch2/catch....
33.550847
70
0.517808
yarro-s
d1f4c01ad2a6197dfd55269957115715e8b9a065
29,453
hpp
C++
roost/preprocessor/list/detail/limits/fold_right_256.hpp
reder2000/cpp_rutils
6af3c9ab8280c155d560904acc7938dc5b848ca6
[ "BSL-1.0" ]
null
null
null
roost/preprocessor/list/detail/limits/fold_right_256.hpp
reder2000/cpp_rutils
6af3c9ab8280c155d560904acc7938dc5b848ca6
[ "BSL-1.0" ]
1
2020-12-10T16:58:45.000Z
2020-12-11T11:53:19.000Z
roost/preprocessor/list/detail/limits/fold_right_256.hpp
reder2000/cpp_rutils
6af3c9ab8280c155d560904acc7938dc5b848ca6
[ "BSL-1.0" ]
null
null
null
# /* Copyright (C) 2001 # * Housemarque Oy # * http://www.housemarque.com # * # * Distributed under the Roost Software License, Version 1.0. (See # * accompanying file LICENSE_1_0.txt or copy at # * http://www.roost.org/LICENSE_1_0.txt) # */ # # /* Revised by Paul Mensonides (2002) */ # # /* See http://www.roost...
106.713768
113
0.81204
reder2000
d1f69d63bcecd8417b3c5c815fdc9f40e70f9722
5,921
cc
C++
wrspice/devlib/util/parmcvt.cc
wrcad/xictools
f46ba6d42801426739cc8b2940a809b74f1641e2
[ "Apache-2.0" ]
73
2017-10-26T12:40:24.000Z
2022-03-02T16:59:43.000Z
wrspice/devlib/util/parmcvt.cc
chris-ayala/xictools
4ea72c118679caed700dab3d49a8d36445acaec3
[ "Apache-2.0" ]
12
2017-11-01T10:18:22.000Z
2022-03-20T19:35:36.000Z
wrspice/devlib/util/parmcvt.cc
chris-ayala/xictools
4ea72c118679caed700dab3d49a8d36445acaec3
[ "Apache-2.0" ]
34
2017-10-06T17:04:21.000Z
2022-02-18T16:22:03.000Z
/*========================================================================* * * * Distributed by Whiteley Research Inc., Sunnyvale, California, USA * * http://wrcad.com * * Copyright (...
35.035503
76
0.410066
wrcad
d1f72075ce7f5d954b0c27b0639670a51783de55
1,047
cpp
C++
programs/chapter_11/example_11_1/modules/light_level_control/light_level_control.cpp
epernia/arm_book
ffdd17618c2c7372cef338fc743f517bf6f0f42b
[ "BSD-3-Clause" ]
2
2021-05-03T17:21:37.000Z
2021-06-08T08:32:07.000Z
programs/chapter_11/example_11_1/modules/light_level_control/light_level_control.cpp
epernia/arm_book
ffdd17618c2c7372cef338fc743f517bf6f0f42b
[ "BSD-3-Clause" ]
null
null
null
programs/chapter_11/example_11_1/modules/light_level_control/light_level_control.cpp
epernia/arm_book
ffdd17618c2c7372cef338fc743f517bf6f0f42b
[ "BSD-3-Clause" ]
2
2020-10-14T19:06:24.000Z
2021-06-08T08:32:09.000Z
//=====[Libraries]============================================================= #include "arm_book_lib.h" #include "smart_home_system.h" #include "light_level_control.h" //=====[Declaration of private defines]====================================== //=====[Declaration of private data types]==========================...
29.914286
79
0.51767
epernia
d1f85d80aa3b650362412c75521b91756a5939b8
389
hpp
C++
include/Exceptions/LinkErrorException.hpp
Ethan13310/NanoTekSpice
d69550213a7607662653c52d8f34e5b565714a30
[ "MIT" ]
2
2018-06-29T10:17:51.000Z
2018-07-04T13:01:53.000Z
include/Exceptions/LinkErrorException.hpp
Ethan13310/NanoTekSpice
d69550213a7607662653c52d8f34e5b565714a30
[ "MIT" ]
null
null
null
include/Exceptions/LinkErrorException.hpp
Ethan13310/NanoTekSpice
d69550213a7607662653c52d8f34e5b565714a30
[ "MIT" ]
3
2021-03-03T15:29:13.000Z
2022-02-22T15:44:44.000Z
/* ** EPITECH PROJECT, 2018 ** NanoTekSpice ** File description: ** LinkErrorException.hpp */ #pragma once #include <string> #include "Exceptions/BaseException.hpp" namespace nts { class LinkErrorException : public BaseException { public: LinkErrorException(char const *message); LinkErrorException(st...
15.56
49
0.719794
Ethan13310
d1f9ecaf8817e678dae40f703de87c9663c39583
918
cpp
C++
Contests/2015 ICPC EC-Final/F - Hungry Game of Ants.cpp
QAQrz/ACM-Code
7f7b6fd315e7d84ed606dd48d666da07fc4d0ae7
[ "Unlicense" ]
2
2018-02-24T06:45:56.000Z
2018-05-29T04:47:39.000Z
Contests/2015 ICPC EC-Final/F - Hungry Game of Ants.cpp
QAQrz/ACM-Code
7f7b6fd315e7d84ed606dd48d666da07fc4d0ae7
[ "Unlicense" ]
null
null
null
Contests/2015 ICPC EC-Final/F - Hungry Game of Ants.cpp
QAQrz/ACM-Code
7f7b6fd315e7d84ed606dd48d666da07fc4d0ae7
[ "Unlicense" ]
2
2018-06-28T09:53:27.000Z
2022-03-23T13:29:57.000Z
#include <bits/stdc++.h> using namespace std; typedef long long LL; const LL mod = 1e9+7; const int MAX = 1e6+10; LL t, k, n, ans, ans2, j; LL pre2[MAX], dp[MAX]; LL get_sum(LL l, LL r){ return (r-l+1)*(l+r)/2; } int main(){ pre2[0] = 1; for(LL i = 1; i<=1000000; ++i){ pre2[i] = (pre2[i-1]*2)%mod; } scanf("%lld"...
20.863636
52
0.486928
QAQrz
d1fa61c1ef8fc22e43d93c370e2622f0bbeb153d
9,832
cc
C++
build/X86_MESI_Two_Level/python/m5/internal/param_Root.py.cc
hoho20000000/gem5-fy
b59f6feed22896d6752331652c4d8a41a4ca4435
[ "BSD-3-Clause" ]
null
null
null
build/X86_MESI_Two_Level/python/m5/internal/param_Root.py.cc
hoho20000000/gem5-fy
b59f6feed22896d6752331652c4d8a41a4ca4435
[ "BSD-3-Clause" ]
1
2020-08-20T05:53:30.000Z
2020-08-20T05:53:30.000Z
build/X86_MESI_Two_Level/python/m5/internal/param_Root.py.cc
hoho20000000/gem5-fy
b59f6feed22896d6752331652c4d8a41a4ca4435
[ "BSD-3-Clause" ]
null
null
null
#include "sim/init.hh" namespace { const uint8_t data_m5_internal_param_Root[] = { 120,156,189,88,109,111,219,200,17,158,165,222,44,219,178,229, 248,53,78,174,102,209,164,81,95,98,183,61,164,189,246,210, 224,94,144,43,14,104,125,1,125,64,18,181,0,65,139,43, 153,142,68,170,226,58,137,174,246,151,115,20...
58.177515
85
0.666192
hoho20000000
0602f50b56aa6e329267472bf3a0fdfa43753a0c
1,579
hpp
C++
utilities/msmonitor/gui/QMSMFormPower.hpp
akiml/ampehre
383a863442574ea2e6a6ac853a9b99e153daeccf
[ "BSD-2-Clause" ]
3
2016-01-20T13:41:52.000Z
2018-04-10T17:50:49.000Z
utilities/msmonitor/gui/QMSMFormPower.hpp
akiml/ampehre
383a863442574ea2e6a6ac853a9b99e153daeccf
[ "BSD-2-Clause" ]
null
null
null
utilities/msmonitor/gui/QMSMFormPower.hpp
akiml/ampehre
383a863442574ea2e6a6ac853a9b99e153daeccf
[ "BSD-2-Clause" ]
null
null
null
/* * QMSMFormPower.hpp * * Copyright (C) 2015, Achim Lösch <achim.loesch@upb.de>, Christoph Knorr <cknorr@mail.uni-paderborn.de> * All rights reserved. * * This software may be modified and distributed under the terms * of the BSD license. See the LICENSE file for details. * * encoding: UTF-8 * tab size: 4...
26.762712
114
0.724509
akiml
060fdfc21e65f05a62458b5e2c8f56a577f51f4c
259
cpp
C++
programa15.cpp
sclip/sis110-02-2020
a4ef1ece3e9ed08058c829e421a54d38e210cdba
[ "MIT" ]
null
null
null
programa15.cpp
sclip/sis110-02-2020
a4ef1ece3e9ed08058c829e421a54d38e210cdba
[ "MIT" ]
null
null
null
programa15.cpp
sclip/sis110-02-2020
a4ef1ece3e9ed08058c829e421a54d38e210cdba
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; //mostrar los numeros desde 1 hasta 5 int main() { int i=1; /*while(i%6!=0) { cout<<(i%6)<<endl; i++; }*/ while(i<=5) { cout<<i<<endl; i++; } return 0; }
13.631579
37
0.447876
sclip
0611fd246a352aa1096f7b731c48123694a37d87
15,110
cpp
C++
AfxHookSource/AfxHookSourceInput.cpp
hobokenn/advancedfx
4c695f94b9b1bbf1e326ebaf5434467ba087a97a
[ "MIT" ]
339
2018-01-09T13:12:38.000Z
2022-03-22T21:25:59.000Z
AfxHookSource/AfxHookSourceInput.cpp
hobokenn/advancedfx
4c695f94b9b1bbf1e326ebaf5434467ba087a97a
[ "MIT" ]
474
2018-01-01T18:58:41.000Z
2022-03-27T11:09:44.000Z
AfxHookSource/AfxHookSourceInput.cpp
hobokenn/advancedfx
4c695f94b9b1bbf1e326ebaf5434467ba087a97a
[ "MIT" ]
77
2018-01-24T11:47:04.000Z
2022-03-30T12:25:59.000Z
#include "stdafx.h" #include "AfxHookSourceInput.h" #include "WrpVEngineClient.h" extern WrpVEngineClient * g_VEngineClient; AfxHookSourceInput g_AfxHookSourceInput; AfxHookSourceInput::AfxHookSourceInput() : m_CameraControlMode(false) , m_CamResetView(false) , m_CamForward(0.0) , m_CamForwardI(0.0...
21.162465
118
0.699073
hobokenn
061582ee79f22a845aaadf7058b335c0e4c94aa7
21,429
cpp
C++
src/MutexUtils.cpp
omi-lab/tp_utils
cb4fa24f418b7a9cc95f7f574ed724d9ed378528
[ "MIT" ]
null
null
null
src/MutexUtils.cpp
omi-lab/tp_utils
cb4fa24f418b7a9cc95f7f574ed724d9ed378528
[ "MIT" ]
null
null
null
src/MutexUtils.cpp
omi-lab/tp_utils
cb4fa24f418b7a9cc95f7f574ed724d9ed378528
[ "MIT" ]
5
2018-08-30T09:59:42.000Z
2020-10-07T10:57:32.000Z
#include "tp_utils/MutexUtils.h" #include "tp_utils/DebugUtils.h" #include "tp_utils/TimeUtils.h" #include "tp_utils/FileUtils.h" #include "tp_utils/RefCount.h" #include "tp_utils/StackTrace.h" #include "lib_platform/Polyfill.h" #include <condition_variable> #include <functional> #include <vector> #include <unordered...
31.888393
135
0.574642
omi-lab
0615de05744a1776b377ed2aad93c7aedc807da1
1,772
cpp
C++
src/ui/adminView/adminView.cpp
biromiro/feup-cal-proj
2f70d0bb866254897271ce9bb339c866cd8cf6b3
[ "MIT" ]
null
null
null
src/ui/adminView/adminView.cpp
biromiro/feup-cal-proj
2f70d0bb866254897271ce9bb339c866cd8cf6b3
[ "MIT" ]
null
null
null
src/ui/adminView/adminView.cpp
biromiro/feup-cal-proj
2f70d0bb866254897271ce9bb339c866cd8cf6b3
[ "MIT" ]
1
2021-05-29T18:03:47.000Z
2021-05-29T18:03:47.000Z
#include <algorithm/Connectivity.tpp> #include "adminView.h" AdminView::AdminView(UIManager &uiManager) : uiManager(uiManager){} void AdminView::run() { char answer ; do{ pageOutput(); std::cout << "\n1 - Check graph's connectivity" << std::endl; std::cout << "\n2 - Remove park" << std...
29.04918
136
0.541761
biromiro
1645dfe3ec42cf7d8a6a261c7f6da125592787b1
3,647
cpp
C++
src/NetProtocol/Protocols/nCiosNeighbors.cpp
Vladimir-Lin/QtNetProtocol
907cc8b5acf96a04d89eb8e68faede77c4a2df1b
[ "MIT" ]
null
null
null
src/NetProtocol/Protocols/nCiosNeighbors.cpp
Vladimir-Lin/QtNetProtocol
907cc8b5acf96a04d89eb8e68faede77c4a2df1b
[ "MIT" ]
null
null
null
src/NetProtocol/Protocols/nCiosNeighbors.cpp
Vladimir-Lin/QtNetProtocol
907cc8b5acf96a04d89eb8e68faede77c4a2df1b
[ "MIT" ]
null
null
null
#include <netprotocol.h> N::CiosNeighbors:: CiosNeighbors (QObject * parent) : QObject ( parent) { TimeOut = 5000 ; Used = 0 ; QObject::connect ( this , SIGNAL ( PrivateChanged ( ) ) , ...
30.90678
71
0.38991
Vladimir-Lin
16461444681fb3d8c68d1ccd459f61e3f991cd15
5,026
cpp
C++
src/net/socket.cpp
nadult/FreeFT
f0f63951632d06dd4f6d24ca76b03f38b995cd78
[ "Unlicense" ]
118
2015-01-26T12:49:58.000Z
2022-03-19T00:02:01.000Z
src/net/socket.cpp
nadult/FreeFT
f0f63951632d06dd4f6d24ca76b03f38b995cd78
[ "Unlicense" ]
6
2015-03-29T14:59:40.000Z
2020-08-14T22:04:48.000Z
src/net/socket.cpp
nadult/FreeFT
f0f63951632d06dd4f6d24ca76b03f38b995cd78
[ "Unlicense" ]
14
2015-01-18T13:55:13.000Z
2021-11-30T06:56:58.000Z
// Copyright (C) Krzysztof Jakubowski <nadult@fastmail.fm> // This file is part of FreeFT. See license.txt for details. #ifdef _WIN32 typedef int socklen_t; #include <winsock2.h> #else #include <fcntl.h> #include <netdb.h> #include <netinet/in.h> #include <sys/socket.h> #include <sys/types.h> #endif #include <uni...
23.376744
104
0.675885
nadult
1647b6410c522e90c7cf06a7f3764a3712a71bd9
4,085
cpp
C++
src/Utility_LinearAbsorption.cpp
AlbertoLeonardi/Open_SXD_Absorption
3d0353676dada2e6826de583355c5e35a93fa791
[ "BSD-3-Clause" ]
null
null
null
src/Utility_LinearAbsorption.cpp
AlbertoLeonardi/Open_SXD_Absorption
3d0353676dada2e6826de583355c5e35a93fa791
[ "BSD-3-Clause" ]
null
null
null
src/Utility_LinearAbsorption.cpp
AlbertoLeonardi/Open_SXD_Absorption
3d0353676dada2e6826de583355c5e35a93fa791
[ "BSD-3-Clause" ]
null
null
null
// Utility Functions :: Test // #include "Utility_LinearAbsorption.h" int LinearAbsorption_GetElementCoefficients(long Elements_Count, struct LinearAbsorption_Element* Element, char DataBase_Path[]) { long i, j; long id, length; bool Test; char buffer[_Nch500]; char name[_Nch20]; char *s_to...
34.327731
204
0.623256
AlbertoLeonardi
1647e9c2dd384316ebf49bb856dbfe8e4ad01eec
7,569
cpp
C++
HoloIntervention/Source/Algorithms/PointToPlaneRegistration.cpp
adamrankin/HoloIntervention
0f2a4dc702729a0a04af5c210884ef4e08e49267
[ "Apache-2.0" ]
2
2020-06-17T09:55:59.000Z
2021-04-03T16:18:29.000Z
HoloIntervention/Source/Algorithms/PointToPlaneRegistration.cpp
adamrankin/HoloIntervention
0f2a4dc702729a0a04af5c210884ef4e08e49267
[ "Apache-2.0" ]
1
2018-09-02T02:39:21.000Z
2018-09-02T02:39:21.000Z
HoloIntervention/Source/Algorithms/PointToPlaneRegistration.cpp
adamrankin/HoloIntervention
0f2a4dc702729a0a04af5c210884ef4e08e49267
[ "Apache-2.0" ]
null
null
null
/*==================================================================== Copyright(c) 2018 Adam Rankin 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 limitati...
35.535211
171
0.508654
adamrankin
164b98c26485ae27189db36fe90f3f5d11b30afa
10,030
cpp
C++
window_tests/worker.cpp
longhorndude08/dhorn
d5a4c26ad1ee5f461fffe6db625d652cd94472cd
[ "MIT" ]
null
null
null
window_tests/worker.cpp
longhorndude08/dhorn
d5a4c26ad1ee5f461fffe6db625d652cd94472cd
[ "MIT" ]
null
null
null
window_tests/worker.cpp
longhorndude08/dhorn
d5a4c26ad1ee5f461fffe6db625d652cd94472cd
[ "MIT" ]
1
2019-06-22T02:39:23.000Z
2019-06-22T02:39:23.000Z
/* * Duncan Horn * * worker.cpp */ #include "precomp.h" #include "globals.h" using namespace dhorn::experimental::win32; worker::worker(void) : _topLeft(-2, 1), _bottomRight(1, -1), _nextRow(0), _iterations(0), _iterationsPerUpdate(1), _threadCount(0), _threadsExecuting(0), _size...
32.250804
132
0.598205
longhorndude08
165242b0cc2228f377c4c02d50b690157c845185
334
cc
C++
c++/args.cc
erikbryant/samples
29a24352af7e9a9c3b7b630bcdf2302ca19423fd
[ "MIT" ]
null
null
null
c++/args.cc
erikbryant/samples
29a24352af7e9a9c3b7b630bcdf2302ca19423fd
[ "MIT" ]
null
null
null
c++/args.cc
erikbryant/samples
29a24352af7e9a9c3b7b630bcdf2302ca19423fd
[ "MIT" ]
null
null
null
// // Copyright Erik Bryant (erikbryantology@gmail.com) // GPLv2 http://www.gnu.org/licenses/gpl-2.0.html // #include <iostream> using std::cout; using std::endl; int main( int argc, char **argv ) { cout << "Hello, world!" << endl; for ( int i = 0; i < argc; i++ ) { cout << "argv[" << i << "]: " << argv[i] <...
19.647059
53
0.562874
erikbryant
1654d1738c6879f9a24cc0f9a4fd94384a9e3695
1,171
hpp
C++
src/Circuito/Modelo_Ramificado.hpp
mateuskahler/MARA
e76e0b4eca729cd621f4918c0116b490756f4116
[ "Unlicense" ]
3
2019-03-14T04:26:32.000Z
2021-04-01T13:06:42.000Z
src/Circuito/Modelo_Ramificado.hpp
mateuskahler/MARA
e76e0b4eca729cd621f4918c0116b490756f4116
[ "Unlicense" ]
11
2018-12-12T23:31:04.000Z
2019-03-14T23:50:06.000Z
src/Circuito/Modelo_Ramificado.hpp
mateuskahler/MARA
e76e0b4eca729cd621f4918c0116b490756f4116
[ "Unlicense" ]
null
null
null
/** UFRGS - Engenharia Elétrica * * Definição de interface de modelo genérico de componente * Cada Modelo Ramificado contém o Circuito Ramificado equivalente e regiões de validade. * Mateus Kahler */ #ifndef SIMULADOR_CIRCUITO_MODELO_RAMIFICADO_INCLUIDO #define SIMULADOR_CIRCUITO_MODELO_RAMIFICA...
29.275
99
0.788215
mateuskahler
16594f6c602c01d51db3edbfe4c805020ca71b2a
139
cpp
C++
core/graph_core.cpp
olyad/livehd
8bd6bf5236276e75e8d5369c8bf6f1853011c731
[ "BSD-3-Clause" ]
1
2021-01-07T00:15:00.000Z
2021-01-07T00:15:00.000Z
core/graph_core.cpp
olyad/livehd
8bd6bf5236276e75e8d5369c8bf6f1853011c731
[ "BSD-3-Clause" ]
null
null
null
core/graph_core.cpp
olyad/livehd
8bd6bf5236276e75e8d5369c8bf6f1853011c731
[ "BSD-3-Clause" ]
null
null
null
#include "graph_core.hpp" Graph_core::Graph_core(std::string_view path, std::string_view name) { (void)path; (void)name; // TODO }
15.444444
70
0.690647
olyad
165d935e7b452a9ccd3ddcf81b847c997ad7e190
39
hpp
C++
include/svgpp/svgpp.hpp
RichardCory/svgpp
801e0142c61c88cf2898da157fb96dc04af1b8b0
[ "BSL-1.0" ]
428
2015-01-05T17:13:54.000Z
2022-03-31T08:25:47.000Z
include/svgpp/svgpp.hpp
andrew2015/svgpp
1d2f15ab5e1ae89e74604da08f65723f06c28b3b
[ "BSL-1.0" ]
61
2015-01-08T14:32:27.000Z
2021-12-06T16:55:11.000Z
include/svgpp/svgpp.hpp
andrew2015/svgpp
1d2f15ab5e1ae89e74604da08f65723f06c28b3b
[ "BSL-1.0" ]
90
2015-05-19T04:56:46.000Z
2022-03-26T16:42:50.000Z
#include <svgpp/document_traversal.hpp>
39
39
0.846154
RichardCory
1663bcd55407fd4ddccc325e6961693657a89531
16,649
cpp
C++
src/modules/cl/cl_fused_functions.cpp
sampath1117/rpp
68bad77155b9e5e11456ab2ce558ddaea497b388
[ "MIT" ]
null
null
null
src/modules/cl/cl_fused_functions.cpp
sampath1117/rpp
68bad77155b9e5e11456ab2ce558ddaea497b388
[ "MIT" ]
null
null
null
src/modules/cl/cl_fused_functions.cpp
sampath1117/rpp
68bad77155b9e5e11456ab2ce558ddaea497b388
[ "MIT" ]
null
null
null
/* Copyright (c) 2019 - 2022 Advanced Micro Devices, Inc. All rights reserved. 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, ...
68.233607
271
0.440867
sampath1117
166449c754d7688f232b394c004ba64d67e5ba7f
3,635
cpp
C++
openstudiocore/src/utilities/document/HeadersAndFooters.cpp
bobzabcik/OpenStudio
858321dc0ad8d572de15858d2ae487b029a8d847
[ "blessing" ]
null
null
null
openstudiocore/src/utilities/document/HeadersAndFooters.cpp
bobzabcik/OpenStudio
858321dc0ad8d572de15858d2ae487b029a8d847
[ "blessing" ]
null
null
null
openstudiocore/src/utilities/document/HeadersAndFooters.cpp
bobzabcik/OpenStudio
858321dc0ad8d572de15858d2ae487b029a8d847
[ "blessing" ]
null
null
null
/********************************************************************** * Copyright (c) 2008-2013, Alliance for Sustainable Energy. * All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published ...
34.951923
96
0.552682
bobzabcik
16651512a1e96f7a81115a96cfc75e16eab62337
1,205
cpp
C++
sources/Dwarf/Utils.cpp
KonstantinTomashevich/dwarf-scripting-language
1cb7e2719ee66c77172d647f33052358dfe36be3
[ "MIT" ]
null
null
null
sources/Dwarf/Utils.cpp
KonstantinTomashevich/dwarf-scripting-language
1cb7e2719ee66c77172d647f33052358dfe36be3
[ "MIT" ]
null
null
null
sources/Dwarf/Utils.cpp
KonstantinTomashevich/dwarf-scripting-language
1cb7e2719ee66c77172d647f33052358dfe36be3
[ "MIT" ]
null
null
null
#include "Utils.hpp" #include <sstream> namespace Dwarf { unsigned long StringToHash (std::string str) { unsigned long hash = 37; for (int index = 0; index < str.length (); index++) hash = (hash * 54059) ^ (str.at (index) * 76943); return hash % 24783471; } RefCounted::RefCounted () { ignore_ ...
14.876543
60
0.627386
KonstantinTomashevich
166948ba9daba0b6d54cbbccaec27e9a4eb075ba
268
cpp
C++
src/app/PureLatticeGaugeModel/main.cpp
k-ishiyama/toymodels
dba66c4438ba1b73bca2b209fe2b1727f3b1c294
[ "MIT" ]
13
2018-03-17T15:41:06.000Z
2018-12-11T17:02:34.000Z
src/app/PureLatticeGaugeModel/main.cpp
k-ishiyama/toymodels
dba66c4438ba1b73bca2b209fe2b1727f3b1c294
[ "MIT" ]
1
2018-04-09T08:48:45.000Z
2018-04-14T11:00:15.000Z
src/app/PureLatticeGaugeModel/main.cpp
k-ishiyama/toymodels
dba66c4438ba1b73bca2b209fe2b1727f3b1c294
[ "MIT" ]
2
2018-06-12T09:14:04.000Z
2020-08-26T02:00:10.000Z
//-------------------------------------------------------------------------------------- // //-------------------------------------------------------------------------------------- #include <iostream> int main() { int exit_code = 0; return exit_code; }
22.333333
89
0.186567
k-ishiyama
16734a2676daa767fa7d54ac311471dfea138731
681
hpp
C++
include/on.hpp
neuroid/zwave-switch
4e3913eba044413b1003bfd574e04f1700afdf96
[ "MIT" ]
null
null
null
include/on.hpp
neuroid/zwave-switch
4e3913eba044413b1003bfd574e04f1700afdf96
[ "MIT" ]
null
null
null
include/on.hpp
neuroid/zwave-switch
4e3913eba044413b1003bfd574e04f1700afdf96
[ "MIT" ]
null
null
null
#ifndef ZWAVE_SWITCH_ON_H #define ZWAVE_SWITCH_ON_H #include <atomic> #include "handler.hpp" namespace zwave_switch { class on : public handler { public: on(uint8_t node_id, bool value, const handler::callback& done); on(uint8_t node_id, const handler::callback& done); v...
20.029412
71
0.631424
neuroid
1674d52f8afccd3cb6fb1cb38a842b17ab83a80d
270
hpp
C++
sprout/operation/pop_front_n.hpp
osyo-manga/Sprout
8885b115f739ef255530f772067475d3bc0dcef7
[ "BSL-1.0" ]
1
2020-02-04T05:16:01.000Z
2020-02-04T05:16:01.000Z
sprout/operation/pop_front_n.hpp
jwakely/Sprout
a64938fad0a64608f22d39485bc55a1e0dc07246
[ "BSL-1.0" ]
null
null
null
sprout/operation/pop_front_n.hpp
jwakely/Sprout
a64938fad0a64608f22d39485bc55a1e0dc07246
[ "BSL-1.0" ]
null
null
null
#ifndef SPROUT_OPERATION_POP_FRONT_N_HPP #define SPROUT_OPERATION_POP_FRONT_N_HPP #include <sprout/config.hpp> #include <sprout/operation/fixed/pop_front_n.hpp> #include <sprout/operation/fit/pop_front_n.hpp> #endif // #ifndef SPROUT_OPERATION_POP_FRONT_N_HPP
30
51
0.818519
osyo-manga
167d9438ad6083656b37ef8fd569bf06f667a5a1
1,007
cpp
C++
src/profile/ui/tipsmenu.cpp
CommitteeOfZero/impacto
87e0aa27d59d8f350849dfb20048679b2a3db1e3
[ "0BSD" ]
45
2020-02-01T19:10:13.000Z
2022-03-11T01:45:52.000Z
src/profile/ui/tipsmenu.cpp
Enorovan/impacto
807c5247dca2720e3e1205fca4724ad1fafb1ab4
[ "0BSD" ]
7
2020-01-26T17:30:00.000Z
2021-09-26T10:00:46.000Z
src/profile/ui/tipsmenu.cpp
Enorovan/impacto
807c5247dca2720e3e1205fca4724ad1fafb1ab4
[ "0BSD" ]
11
2020-02-01T23:01:50.000Z
2021-12-15T14:39:27.000Z
#include "tipsmenu.h" #include "../profile_internal.h" #include "../games/mo6tw/tipsmenu.h" #include "../../ui/ui.h" #include "../../log.h" #include "../../window.h" namespace Impacto { namespace Profile { namespace TipsMenu { using namespace Impacto::UI; TipsMenuType Type = TipsMenuType::None; Sprite BackgroundSpr...
21.891304
78
0.680238
CommitteeOfZero
1680932e2618bf02cba8e691f4f1f8c59000179c
873
cpp
C++
base-usage/log4cpp-example/test1.cpp
sczzq/symmetrical-spoon
aa0c27bb40a482789c7c6a7088307320a007b49b
[ "Unlicense" ]
null
null
null
base-usage/log4cpp-example/test1.cpp
sczzq/symmetrical-spoon
aa0c27bb40a482789c7c6a7088307320a007b49b
[ "Unlicense" ]
null
null
null
base-usage/log4cpp-example/test1.cpp
sczzq/symmetrical-spoon
aa0c27bb40a482789c7c6a7088307320a007b49b
[ "Unlicense" ]
null
null
null
/************************************************************************* > File Name: test1.cpp > Author: ziqiang > Mail: ziqiang_free@163.com > Created Time: Sun 13 Aug 2017 06:22:00 PM CST ************************************************************************/ #include <iostream> #include <log4cpp/Category...
30.103448
90
0.612829
sczzq
168c8bb627cada3391c11b5be59bded52966ef7d
2,272
cpp
C++
source/engine/systems/resource_system/resources/cubemap.cpp
DatBeQuiet/GLRenderer
1a2d272e7f7d4e9b5283354fd2fb209621f384ab
[ "MIT" ]
7
2020-07-12T09:38:26.000Z
2020-11-22T14:04:26.000Z
source/engine/systems/resource_system/resources/cubemap.cpp
DatBeQuiet/GLRenderer
1a2d272e7f7d4e9b5283354fd2fb209621f384ab
[ "MIT" ]
null
null
null
source/engine/systems/resource_system/resources/cubemap.cpp
DatBeQuiet/GLRenderer
1a2d272e7f7d4e9b5283354fd2fb209621f384ab
[ "MIT" ]
null
null
null
// Copyright (c) 2019 Guillem Costa Miquel, kayter72@gmail.com // // 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, cop...
26.729412
122
0.735035
DatBeQuiet
16914111baeb168879016aa6ef3b5de11a19f2ae
506
hpp
C++
nd-coursework/books/cpp/C++Templates/inherit/listnode.hpp
crdrisko/nd-grad
f1765e4f24d7a4b1b3a76c64eb8d88bcca0eaa44
[ "MIT" ]
1
2020-09-26T12:38:55.000Z
2020-09-26T12:38:55.000Z
nd-coursework/books/cpp/C++Templates/inherit/listnode.hpp
crdrisko/nd-research
f1765e4f24d7a4b1b3a76c64eb8d88bcca0eaa44
[ "MIT" ]
null
null
null
nd-coursework/books/cpp/C++Templates/inherit/listnode.hpp
crdrisko/nd-research
f1765e4f24d7a4b1b3a76c64eb8d88bcca0eaa44
[ "MIT" ]
null
null
null
// Copyright (c) 2017 by Addison-Wesley, David Vandevoorde, Nicolai M. Josuttis, and Douglas Gregor. All rights reserved. // See the LICENSE file in the project root for more information. // // Name: listnode.hpp // Author: cdrisko // Date: 07/29/2020-09:25:56 // Description: A simple definition for a node in a linked ...
22
121
0.713439
crdrisko
169183d90d8ba7b99a65b1a601cc09be7e34d8e7
459
cpp
C++
Source/UtilityAI/Private/Tests/AITestStatics.cpp
heilhead/UE4-UtilityAI
dc19d0d26c7debcfadca6f2d8abfbbfc515ef80e
[ "MIT" ]
null
null
null
Source/UtilityAI/Private/Tests/AITestStatics.cpp
heilhead/UE4-UtilityAI
dc19d0d26c7debcfadca6f2d8abfbbfc515ef80e
[ "MIT" ]
null
null
null
Source/UtilityAI/Private/Tests/AITestStatics.cpp
heilhead/UE4-UtilityAI
dc19d0d26c7debcfadca6f2d8abfbbfc515ef80e
[ "MIT" ]
null
null
null
#include "Tests/AITestStatics.h" #include "UtilityAITypes.h" #include "Perception/AIPerceptionComponent.h" const FActorPerceptionInfo* UAITestStatics::GetAITargetPerceptionInfo(const UAIPerceptionComponent* Perception, const FAITarget& Target) { const auto* TargetActor = Target.GetActor(); if (!TargetActor) {...
24.157895
108
0.723312
heilhead
16924c4010ec2d99e0dbc1acce7a330d7e5118d3
1,239
hpp
C++
impl/jamtemplate/common/timer.hpp
runvs/Gemga
91cd5d6d60ae8369a5a5674efebc6eb84c510a10
[ "CC0-1.0" ]
null
null
null
impl/jamtemplate/common/timer.hpp
runvs/Gemga
91cd5d6d60ae8369a5a5674efebc6eb84c510a10
[ "CC0-1.0" ]
null
null
null
impl/jamtemplate/common/timer.hpp
runvs/Gemga
91cd5d6d60ae8369a5a5674efebc6eb84c510a10
[ "CC0-1.0" ]
null
null
null
#ifndef GUARD_JAMTEMPLATE_TIMER_HPP_INCLUDEGUARD #define GUARD_JAMTEMPLATE_TIMER_HPP_INCLUDEGUARD #include "game_object.hpp" #include <functional> namespace jt { /// Timer class class Timer : public GameObject { public: using CallbackType = std::function<void(void)>; /// Constructor /// \param timeInSec...
26.361702
80
0.675545
runvs
1692ce15f0f70a677307c0a2d9a13f269a1bb23b
2,309
cpp
C++
src/traits3d/function.cpp
traits/Traits3D
09eb850ad4e1054a5574346a6b479dc2d60b1f09
[ "Apache-2.0" ]
null
null
null
src/traits3d/function.cpp
traits/Traits3D
09eb850ad4e1054a5574346a6b479dc2d60b1f09
[ "Apache-2.0" ]
null
null
null
src/traits3d/function.cpp
traits/Traits3D
09eb850ad4e1054a5574346a6b479dc2d60b1f09
[ "Apache-2.0" ]
null
null
null
#include "traits3d/helper.h" #include "traits3d/function.h" namespace traits3d { Function::Function() : GridMapping() { } /** \return false for pathological cases (min >= max), true else */ bool Function::setDomain(double min_x, double max_x, double min_y, double max_y) { if (min_x >= max_x || min_y >= max_y...
21.183486
80
0.550022
traits
16995795de9260c552c1635cf7a08ec2c5a59ff7
2,520
cpp
C++
Folly/folly/logging/example/main.cpp
hasridha/react-native
dbf44ed0ba802ed80d9df9a913228b7aa19b17a1
[ "CC-BY-4.0", "MIT" ]
2,114
2020-05-06T10:05:45.000Z
2022-03-31T23:19:28.000Z
Folly/folly/logging/example/main.cpp
hasridha/react-native
dbf44ed0ba802ed80d9df9a913228b7aa19b17a1
[ "CC-BY-4.0", "MIT" ]
623
2020-05-05T21:24:26.000Z
2022-03-30T21:00:31.000Z
Folly/folly/logging/example/main.cpp
hasridha/react-native
dbf44ed0ba802ed80d9df9a913228b7aa19b17a1
[ "CC-BY-4.0", "MIT" ]
214
2019-04-11T09:36:41.000Z
2022-02-19T08:10:31.000Z
/* * Copyright 2017-present Facebook, 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 a...
40
79
0.716667
hasridha
169b147eeccbe806e9bd09ad648b3f79c094592c
2,101
hh
C++
notification/inc/com/centreon/broker/notification/builders/timeperiod_linker.hh
sdelafond/centreon-broker
21178d98ed8a061ca71317d23c2026dbc4edaca2
[ "Apache-2.0" ]
null
null
null
notification/inc/com/centreon/broker/notification/builders/timeperiod_linker.hh
sdelafond/centreon-broker
21178d98ed8a061ca71317d23c2026dbc4edaca2
[ "Apache-2.0" ]
null
null
null
notification/inc/com/centreon/broker/notification/builders/timeperiod_linker.hh
sdelafond/centreon-broker
21178d98ed8a061ca71317d23c2026dbc4edaca2
[ "Apache-2.0" ]
null
null
null
/* ** Copyright 2011-2014 Centreon ** ** 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 t...
31.833333
116
0.677297
sdelafond
16a0233ff1edc6dcde5ae255209a8f4c55cf4274
1,579
cpp
C++
strand/strand.cpp
paranlee/boost_asio_network_examples
579af66040f402bcf96a103f7225e231d50dbc55
[ "BSL-1.0" ]
1
2019-08-15T10:11:07.000Z
2019-08-15T10:11:07.000Z
strand/strand.cpp
paranblues/boost_asio_network_examples
579af66040f402bcf96a103f7225e231d50dbc55
[ "BSL-1.0" ]
null
null
null
strand/strand.cpp
paranblues/boost_asio_network_examples
579af66040f402bcf96a103f7225e231d50dbc55
[ "BSL-1.0" ]
null
null
null
#include <iostream> #include <string> #include <boost/asio.hpp> #include <boost/thread.hpp> #include <boost/bind.hpp> class BackGroundJobManager { boost::asio::io_service& m_io_service; boost::shared_ptr<boost::asio::io_service::work> m_Work; boost::thread_group m_Group; public: Back...
24.292308
96
0.575681
paranlee
16a0bc0406ef8a3cf6ddc585213185c9583bf8a2
291
cpp
C++
test/ttc_selectIdleBeep.cpp
ern0/tabletenniscounter
1157b6882978e3af8e6769d3a1cefc2db1fe446d
[ "MIT" ]
null
null
null
test/ttc_selectIdleBeep.cpp
ern0/tabletenniscounter
1157b6882978e3af8e6769d3a1cefc2db1fe446d
[ "MIT" ]
null
null
null
test/ttc_selectIdleBeep.cpp
ern0/tabletenniscounter
1157b6882978e3af8e6769d3a1cefc2db1fe446d
[ "MIT" ]
null
null
null
char selectIdleBeep() { int sc = score[0] + score[1]; int swap; if (sc <= ( gameMode == 21 ? 40 : 20 )) { swap = sc / ( gameMode == 21 ? 5 : 3 ); } else { swap = sc; } if (swap % 2 == 0) { return B_IDLE1; } else { return B_IDLE2; } } // selectIdleBeep()
15.315789
43
0.4811
ern0
16a0ff27d8996ed1cddf9babf22e4e9ee62922ef
55
hpp
C++
src/boost_mpl_aux__preprocessed_plain_apply.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_mpl_aux__preprocessed_plain_apply.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_mpl_aux__preprocessed_plain_apply.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/mpl/aux_/preprocessed/plain/apply.hpp>
27.5
54
0.8
miathedev
16a1c68878fff27806a29f6ca459eb03970fb6b8
3,537
cpp
C++
GUI/src/TextInputField.cpp
guusw/unnamed-sdvx-clone
76e85fe219c9e87c8d9d06d6db32d40701e0a47f
[ "MIT" ]
65
2016-06-04T18:04:46.000Z
2022-03-06T21:53:12.000Z
GUI/src/TextInputField.cpp
HEY-WhoTookMyUsername/hello-world
76e85fe219c9e87c8d9d06d6db32d40701e0a47f
[ "MIT" ]
24
2016-06-17T09:23:11.000Z
2021-10-13T10:27:16.000Z
GUI/src/TextInputField.cpp
HEY-WhoTookMyUsername/unnamed-sdvx-clone
76e85fe219c9e87c8d9d06d6db32d40701e0a47f
[ "MIT" ]
16
2016-07-22T09:10:41.000Z
2022-02-13T02:30:19.000Z
#include "stdafx.h" #include "TextInputField.hpp" #include "Label.hpp" #include "GUIRenderer.hpp" TextInputField::TextInputField(Ref<CommonGUIStyle> style) { m_style = style; layoutDirection = LayoutBox::Horizontal; text = new Label(); Slot* slot = Add(text->MakeShared()); text->SetText(L""); text->SetFontSize(...
28.524194
120
0.736217
guusw
16a2073d3b44cfc4cd66a9430f44bf04b7ae8e34
469
hpp
C++
src/Enki/Signals/Slot.hpp
Zephilinox/Enki
5f405fec9ae0f3c3344a99fbee590d76ed4dbe55
[ "MIT" ]
2
2021-01-20T11:31:44.000Z
2022-01-11T01:38:01.000Z
src/Enki/Signals/Slot.hpp
Zephilinox/Enki
5f405fec9ae0f3c3344a99fbee590d76ed4dbe55
[ "MIT" ]
null
null
null
src/Enki/Signals/Slot.hpp
Zephilinox/Enki
5f405fec9ae0f3c3344a99fbee590d76ed4dbe55
[ "MIT" ]
null
null
null
#pragma once //STD #include <functional> namespace enki { template <typename... Args> class Signal; class Connection; /* The Slot struct is just a replacement for std::pair. I prefer to refer to named variables rather than first and second. */ template <typename... Args> struct Slot { Slot(Connection c, std::funct...
16.172414
66
0.701493
Zephilinox
16ab494f7eec459563d326ef5ce48a7d414bd582
2,248
cxx
C++
src/nodes/sensor/timesensor.cxx
tjayrush/vraniml
62d78d5ea5eb34ffacc08c22e92fa86a02096ccb
[ "MIT" ]
1
2021-03-05T17:35:20.000Z
2021-03-05T17:35:20.000Z
src/nodes/sensor/timesensor.cxx
tjayrush/vraniml
62d78d5ea5eb34ffacc08c22e92fa86a02096ccb
[ "MIT" ]
null
null
null
src/nodes/sensor/timesensor.cxx
tjayrush/vraniml
62d78d5ea5eb34ffacc08c22e92fa86a02096ccb
[ "MIT" ]
1
2021-03-05T17:35:35.000Z
2021-03-05T17:35:35.000Z
void vrTimeSensor::Deactivate(void) { SendEvents(vrNow()); vrSensor::Deactivate(); } //----------------------------------------------------------------------------- void vrTimeSensor::ReceiveEventIn(vrEvent *ev) { if (ev->m_FieldID == VRML_CYCLEINTERVAL_STR) { // An active TimeSensor ignores SetCycl...
25.258427
85
0.592527
tjayrush
16b523b9ac4470ec8091a13d201b1c07c7fb4e34
174
cpp
C++
ZLauncher/ZLauncher_2nd/CNewApp/ZNHNModule.cpp
WhyWolfie/Repack-Aren
4839db138a502ca4cfac8c2a8c950f1b59064955
[ "FSFAP" ]
null
null
null
ZLauncher/ZLauncher_2nd/CNewApp/ZNHNModule.cpp
WhyWolfie/Repack-Aren
4839db138a502ca4cfac8c2a8c950f1b59064955
[ "FSFAP" ]
null
null
null
ZLauncher/ZLauncher_2nd/CNewApp/ZNHNModule.cpp
WhyWolfie/Repack-Aren
4839db138a502ca4cfac8c2a8c950f1b59064955
[ "FSFAP" ]
null
null
null
#include "stdafx.h" #include "ZNHNModule.h" ZNHNModule::ZNHNModule() { } ZNHNModule::~ZNHNModule() { } ZNHNModule& GetNHNModule() { return ZNHNModule::GetInstance(); }
9.666667
34
0.695402
WhyWolfie