hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
108
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
float64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
float64
1
77k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
float64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
653k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
1
bbc512ed68463d935ede3a4f15d7ad35183f3eec
310
hxx
C++
src/common.hxx
scuisdc/iojxd
6ced0d5983a8075c313869791f7295b98ce3f174
[ "BSD-2-Clause" ]
1
2015-05-18T00:02:13.000Z
2015-05-18T00:02:13.000Z
src/common.hxx
scuisdc/iojxd
6ced0d5983a8075c313869791f7295b98ce3f174
[ "BSD-2-Clause" ]
null
null
null
src/common.hxx
scuisdc/iojxd
6ced0d5983a8075c313869791f7295b98ce3f174
[ "BSD-2-Clause" ]
null
null
null
// // Created by secondwtq <lovejay-lovemusic@outlook.com> 2015/05/18. // Copyright (c) 2015 SCU ISDC All rights reserved. // // This file is part of ISDCNext. // // We have always treaded the borderland. // #ifndef IOJXD_COMMON_HXX #define IOJXD_COMMON_HXX #include "context.hxx" #endif //IOJXD_COMMON_HXX
19.375
67
0.735484
bbc5e81a9964600eb7019aeadcbff4cb0a8329ec
1,961
cpp
C++
OpenCV/gray_image.cpp
vladiant/color2gray
372283ae67b0dfb41745108f67cc714efc7b3d7a
[ "MIT" ]
null
null
null
OpenCV/gray_image.cpp
vladiant/color2gray
372283ae67b0dfb41745108f67cc714efc7b3d7a
[ "MIT" ]
null
null
null
OpenCV/gray_image.cpp
vladiant/color2gray
372283ae67b0dfb41745108f67cc714efc7b3d7a
[ "MIT" ]
null
null
null
#include "gray_image.hpp" #include <opencv2/imgcodecs.hpp> GrayImage::GrayImage(ColorImage &s) : data(s.N), w(s.w), h(s.h), N(s.N) { for (int i = 0; i < N; i++) data[i] = (s.data)[i].l; } void GrayImage::r_solve(const float *d, int r) { const int iters = 30; int k, x, y; for (k = 0; k < iters; k++) { //...
25.802632
78
0.494646
bbc685778822168fdfc95254155507c30e9efd6e
6,505
cpp
C++
DrunkEngine/ComponentTransform.cpp
MarcFly/Fly3D-Engine
e8da09a63c7c3d991b8f25c346798ee230593e78
[ "Unlicense" ]
null
null
null
DrunkEngine/ComponentTransform.cpp
MarcFly/Fly3D-Engine
e8da09a63c7c3d991b8f25c346798ee230593e78
[ "Unlicense" ]
3
2018-09-27T17:00:14.000Z
2018-12-19T13:30:25.000Z
DrunkEngine/ComponentTransform.cpp
MarcFly/Fly3D-Engine
e8da09a63c7c3d991b8f25c346798ee230593e78
[ "Unlicense" ]
null
null
null
#include "ComponentTransform.h" #include "GameObject.h" #include "Assimp/include/scene.h" #include "GameObject.h" #include "Application.h" ComponentTransform::ComponentTransform(const aiMatrix4x4 * t, GameObject* par) { SetBaseVals(); SetFromMatrix(t); parent = par; SetLocalTransform(); } void ComponentTransform...
28.656388
119
0.719139
bbc92a9fb0faf00781a7425569972ea028a65eb4
447
cpp
C++
Day 5/CoreTeam/Prateek.cpp
insigne10/MarchCode
7cca5cfe7175ee4fcdad58016227a623f6c860cd
[ "MIT" ]
null
null
null
Day 5/CoreTeam/Prateek.cpp
insigne10/MarchCode
7cca5cfe7175ee4fcdad58016227a623f6c860cd
[ "MIT" ]
null
null
null
Day 5/CoreTeam/Prateek.cpp
insigne10/MarchCode
7cca5cfe7175ee4fcdad58016227a623f6c860cd
[ "MIT" ]
null
null
null
/*-------------To print all the natural numbers between n and m------------*/ #include <stdio.h> int main() { int n=0, m=0; int i=0; printf("Enter n: "); scanf("%d", &n); printf("Enter m: "); scanf("%d", &m); if(m<0 || n<0) printf("Input positive values only.\n"); ...
17.88
78
0.404922
bbccc72caa4293248053db27c43b3e2d27cf3e40
16,419
cpp
C++
WaveEngine.Vuforia/Projects/Libs/VuforiaAdapter/VuforiaAdapter.Shared/VuforiaAdapter.cpp
WaveEngine/Extensions-2.5
6ad1271d444d08ad3ac07bdb1b3e50eddbf89ef5
[ "MIT" ]
14
2015-01-22T19:52:36.000Z
2020-06-21T22:31:27.000Z
WaveEngine.Vuforia/Projects/Libs/VuforiaAdapter/VuforiaAdapter.Shared/VuforiaAdapter.cpp
WaveEngine/Extensions-2.5
6ad1271d444d08ad3ac07bdb1b3e50eddbf89ef5
[ "MIT" ]
1
2016-09-05T23:01:20.000Z
2016-09-05T23:01:20.000Z
WaveEngine.Vuforia/Projects/Libs/VuforiaAdapter/VuforiaAdapter.Shared/VuforiaAdapter.cpp
WaveEngine/Extensions
6ad1271d444d08ad3ac07bdb1b3e50eddbf89ef5
[ "MIT" ]
6
2015-04-05T14:49:31.000Z
2016-09-05T21:12:52.000Z
//----------------------------------------------------------------------------- // VuforiaAdapter.cpp // // Copyright © 2010 - 2013 Wave Coorporation. All rights reserved. // Use is subject to license terms. //----------------------------------------------------------------------------- #include "VuforiaAdapter.h" in...
27.781726
157
0.736464
bbd3514f31648310f957b4b1fcb9c0c7b60f944c
3,199
hpp
C++
src/Base/TaskProcessors/ThreadedTaskProcessor/ThreadedTaskProcessor.hpp
PhilipVinc/PincoSimulator
562192cf3b09d0e67be7e6fee67ff9b59fbc3fd3
[ "MIT" ]
1
2017-10-23T13:22:01.000Z
2017-10-23T13:22:01.000Z
src/Base/TaskProcessors/ThreadedTaskProcessor/ThreadedTaskProcessor.hpp
PhilipVinc/PincoSimulator
562192cf3b09d0e67be7e6fee67ff9b59fbc3fd3
[ "MIT" ]
null
null
null
src/Base/TaskProcessors/ThreadedTaskProcessor/ThreadedTaskProcessor.hpp
PhilipVinc/PincoSimulator
562192cf3b09d0e67be7e6fee67ff9b59fbc3fd3
[ "MIT" ]
null
null
null
// // Created by Filippo Vicentini on 20/12/2017. // #ifndef SIMULATOR_THREADEDTASKPROCESSOR_HPP #define SIMULATOR_THREADEDTASKPROCESSOR_HPP #include "Base/TaskProcessor.hpp" #include "Libraries/concurrentqueue.h" #include <chrono> #include <stdio.h> #include <queue> #include <vector> #include <thread> class Settin...
27.577586
93
0.732416
bbd738324e4aa104eacdeb3a196245928d193a91
624
cpp
C++
HackerRank Solutions/C++/STL/Sets-STL.cpp
UtkarshPathrabe/Competitive-Coding
ba322fbb1b88682d56a9b80bdd92a853f1caa84e
[ "MIT" ]
13
2021-09-02T07:30:02.000Z
2022-03-22T19:32:03.000Z
HackerRank Solutions/C++/STL/Sets-STL.cpp
UtkarshPathrabe/Competitive-Coding
ba322fbb1b88682d56a9b80bdd92a853f1caa84e
[ "MIT" ]
null
null
null
HackerRank Solutions/C++/STL/Sets-STL.cpp
UtkarshPathrabe/Competitive-Coding
ba322fbb1b88682d56a9b80bdd92a853f1caa84e
[ "MIT" ]
3
2021-08-24T16:06:22.000Z
2021-09-17T15:39:53.000Z
#include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <set> #include <algorithm> using namespace std; int main() { set<int> Set; set<int>::iterator it; int Q, y, x; scanf("%d", &Q); for (int i = 0; i < Q; i++) { scanf("%d %d", &y, &x); if (y == 1) { ...
19.5
34
0.400641
bbda486237cfc47243b3368e168b444f0844ff77
441
cpp
C++
Src/common/utils/AppWriter.cpp
JerryYan97/PD_PN_DataGenerators
14ccc5abd183576305c5f6a05c793fba9a510cc6
[ "MIT" ]
null
null
null
Src/common/utils/AppWriter.cpp
JerryYan97/PD_PN_DataGenerators
14ccc5abd183576305c5f6a05c793fba9a510cc6
[ "MIT" ]
null
null
null
Src/common/utils/AppWriter.cpp
JerryYan97/PD_PN_DataGenerators
14ccc5abd183576305c5f6a05c793fba9a510cc6
[ "MIT" ]
null
null
null
// // Created by jiaruiyan on 1/19/21. // #include "AppWriter.h" #include <igl/writeOBJ.h> void AppWriter::write_anim_seq(int frame_id, std::string& filename, Eigen::MatrixXd& X, Eigen::MatrixXi& BTri){ // Fill the boundary structure -- it should also have a wiser way to output used X and BTri...
29.4
96
0.653061
bbdd1c2c1435f0fe5ac925a4c85998505813e3aa
53
cpp
C++
HttpFramework/HttpCookieStorage.cpp
a1q123456/HttpFramework
debefffbb1283ae0f0277cc1b597237933bb47f7
[ "MIT" ]
null
null
null
HttpFramework/HttpCookieStorage.cpp
a1q123456/HttpFramework
debefffbb1283ae0f0277cc1b597237933bb47f7
[ "MIT" ]
null
null
null
HttpFramework/HttpCookieStorage.cpp
a1q123456/HttpFramework
debefffbb1283ae0f0277cc1b597237933bb47f7
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "HttpCookieStorage.h"
10.6
30
0.735849
bbde255d3ee786dd9769151baaf8467fd96095d5
8,793
cpp
C++
src/main.cpp
JimothyJohn/uServer
11e4db58f9a957f4603eb6c8454ba1f8214de2be
[ "MIT" ]
1
2021-01-24T01:20:00.000Z
2021-01-24T01:20:00.000Z
src/main.cpp
JimothyJohn/uServer
11e4db58f9a957f4603eb6c8454ba1f8214de2be
[ "MIT" ]
null
null
null
src/main.cpp
JimothyJohn/uServer
11e4db58f9a957f4603eb6c8454ba1f8214de2be
[ "MIT" ]
null
null
null
// Load relevant libraries #include <Arduino.h> //Base framework #include <ESP_WiFiManager.h> // AP login and maintenance #include <AsyncTCP.h> // Generic async library #include <ESPAsyncWebServer.h> // ESP32 async library #include <ArduinoOTA.h> // Enable OTA updates #include <ESPmDNS.h> // Connect by hostname #inclu...
32.932584
96
0.657227
bbe130758cf8f984e00194113eb3eb9b908ba256
7,001
hpp
C++
include/CPreProcessor.hpp
icebreakersentertainment/ice_engine
52a8313bc266c053366bdf554b5dc27a54ddcb25
[ "MIT" ]
null
null
null
include/CPreProcessor.hpp
icebreakersentertainment/ice_engine
52a8313bc266c053366bdf554b5dc27a54ddcb25
[ "MIT" ]
null
null
null
include/CPreProcessor.hpp
icebreakersentertainment/ice_engine
52a8313bc266c053366bdf554b5dc27a54ddcb25
[ "MIT" ]
1
2019-06-11T03:41:48.000Z
2019-06-11T03:41:48.000Z
#ifndef CPREPROCESSOR_H #define CPREPROCESSOR_H #if !defined(BOOST_WAVE_CUSTOM_DIRECTIVES_HOOKS_INCLUDED) #define BOOST_WAVE_CUSTOM_DIRECTIVES_HOOKS_INCLUDED #include <cstdio> #include <iostream> #include <ostream> #include <string> #include <algorithm> #include <utility> #include <unordered_map> #include <boost/alg...
35.180905
207
0.682474
bbe2cb86a39c0e9f769e98353c3d5a8c69a8506b
920
cpp
C++
SE/Source/Maths/Vector4D.cpp
NahuCF/SE
6b17be4bc05b114a9090da35756a587693cc00e5
[ "WTFPL" ]
1
2021-04-23T14:53:42.000Z
2021-04-23T14:53:42.000Z
SE/Source/Maths/Vector4D.cpp
NahuCF/SE
6b17be4bc05b114a9090da35756a587693cc00e5
[ "WTFPL" ]
null
null
null
SE/Source/Maths/Vector4D.cpp
NahuCF/SE
6b17be4bc05b114a9090da35756a587693cc00e5
[ "WTFPL" ]
null
null
null
#include "pch.h" #include "Vector4D.h" namespace lptm { Vector4D::Vector4D() { x = 0.0f; y = 0.0f; z = 0.0f; w = 0.0f; }; Vector4D::Vector4D(float x, float y, float z, float w) { this->x = x; this->y = y; this->z = z; this->w = w; } Vector4D& Vector4D::Add(const Vector4D& other) { x += oth...
14.83871
70
0.596739
bbe35a73de57f0577e102744972e21562c62f203
6,586
cpp
C++
cpp/src/msg_server/FileServConn.cpp
KevinHM/TTServer
c3a8dcb7e0d2dd0d3fc88ff919019ca5f0a81306
[ "Apache-2.0" ]
22
2015-05-02T11:21:32.000Z
2022-03-04T09:58:19.000Z
cpp/src/msg_server/FileServConn.cpp
luyongfugx/TTServer
c3a8dcb7e0d2dd0d3fc88ff919019ca5f0a81306
[ "Apache-2.0" ]
null
null
null
cpp/src/msg_server/FileServConn.cpp
luyongfugx/TTServer
c3a8dcb7e0d2dd0d3fc88ff919019ca5f0a81306
[ "Apache-2.0" ]
21
2015-01-02T01:21:04.000Z
2021-05-12T09:52:54.000Z
// // FileServConn.cpp // public_TTServer // // Created by luoning on 14-8-19. // Copyright (c) 2014年 luoning. All rights reserved. // #include "FileServConn.h" #include "FileHandler.h" #include "util.h" #include "ImUser.h" #include "AttachData.h" #include "RouteServConn.h" #include "MsgConn.h" static ConnMap_t g_...
28.387931
103
0.669602
bbeb3552b80935887cbfb333214abf80ac19950b
21,059
hpp
C++
polympc/src/solvers/admm.hpp
alexandreguerradeoliveira/rocket_gnc
164e96daca01d9edbc45bfaac0f6b55fe7324f24
[ "MIT" ]
null
null
null
polympc/src/solvers/admm.hpp
alexandreguerradeoliveira/rocket_gnc
164e96daca01d9edbc45bfaac0f6b55fe7324f24
[ "MIT" ]
null
null
null
polympc/src/solvers/admm.hpp
alexandreguerradeoliveira/rocket_gnc
164e96daca01d9edbc45bfaac0f6b55fe7324f24
[ "MIT" ]
null
null
null
// This file is part of PolyMPC, a lightweight C++ template library // for real-time nonlinear optimization and optimal control. // // Copyright (C) 2020 Listov Petr <petr.listov@epfl.ch> // // This Source Code Form is subject to the terms of the Mozilla // Public License v. 2.0. If a copy of the MPL was not distribute...
41.373281
151
0.605632
bbeee5ce3406395fe23c446204cec8e2508686a3
2,495
cc
C++
chrome/renderer/plugins/pdf_plugin_placeholder.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
chrome/renderer/plugins/pdf_plugin_placeholder.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
chrome/renderer/plugins/pdf_plugin_placeholder.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/renderer/plugins/pdf_plugin_placeholder.h" #include "chrome/common/pdf_uma.h" #include "chrome/common/render_messages.h" #include "chrom...
42.288136
80
0.739479
bbeee88e430aeae5c0b205f0569d88271a17eb23
5,730
cpp
C++
Remixed/CompositorBase.cpp
LukeRoss00/Revive
09b1c59dfbff8abc06194809ec680b990b2cf21c
[ "MIT" ]
1
2021-10-18T19:43:06.000Z
2021-10-18T19:43:06.000Z
Remixed/CompositorBase.cpp
LukeRoss00/Revive
09b1c59dfbff8abc06194809ec680b990b2cf21c
[ "MIT" ]
null
null
null
Remixed/CompositorBase.cpp
LukeRoss00/Revive
09b1c59dfbff8abc06194809ec680b990b2cf21c
[ "MIT" ]
1
2020-02-03T22:45:41.000Z
2020-02-03T22:45:41.000Z
#include "CompositorBase.h" #include "Session.h" #include "FrameList.h" #include "OVR_CAPI.h" #include "microprofile.h" #include <vector> #include <algorithm> #include <winrt/Windows.Graphics.Holographic.h> using namespace winrt::Windows::Graphics::Holographic; MICROPROFILE_DEFINE(WaitToBeginFrame, "Compositor", "W...
30.478723
146
0.766492
bbf56d131e20fcbaf358a4c5a8f8f0ff091d0bc7
1,522
hpp
C++
SCLT/Color/CIEColorSpaces/CIEUCS.hpp
chicio/Multispectral-Ray-tracing
ea5b399770eddd1927aae8a8ae4640dead42c48c
[ "MIT" ]
95
2016-05-05T10:46:49.000Z
2021-12-20T12:51:41.000Z
SCLT/Color/CIEColorSpaces/CIEUCS.hpp
chicio/Multispectral-Ray-tracing
ea5b399770eddd1927aae8a8ae4640dead42c48c
[ "MIT" ]
1
2021-12-06T03:21:32.000Z
2021-12-06T03:21:32.000Z
SCLT/Color/CIEColorSpaces/CIEUCS.hpp
chicio/Multispectral-Ray-tracing
ea5b399770eddd1927aae8a8ae4640dead42c48c
[ "MIT" ]
8
2017-03-12T03:04:08.000Z
2022-03-17T01:27:41.000Z
// // CIE1960UCS.hpp // Spectral Clara Lux tracer // // Created by Fabrizio Duroni on 24/12/15. // Copyright © 2015 Fabrizio Duroni. All rights reserved. // #ifndef CIE1960UCS_hpp #define CIE1960UCS_hpp #include "Vector3D.hpp" struct CIEUCSChromaticities { /// u coordinate. float u; /// v coordi...
24.15873
95
0.685283
bbfc733ec98b5bbb144bd301d8aee1e9761dbbfa
689
cpp
C++
ITP2/ITP2_5_D.cpp
felixny/AizuOnline
8ff399d60077e08961845502d4a99244da580cd2
[ "MIT" ]
null
null
null
ITP2/ITP2_5_D.cpp
felixny/AizuOnline
8ff399d60077e08961845502d4a99244da580cd2
[ "MIT" ]
null
null
null
ITP2/ITP2_5_D.cpp
felixny/AizuOnline
8ff399d60077e08961845502d4a99244da580cd2
[ "MIT" ]
null
null
null
// ITP2_5_D #include <algorithm> #include <iostream> #include <numeric> #include <tuple> #include <utility> #include <vector> using namespace std; int main() { int n; cin >> n; vector<int> v(n); iota(v.begin(), v.end(), 1); do { for (int i = 0; i < n; i++) { // cout<<(i?" ":"")<<v[i]; if (i) { /...
22.225806
78
0.489115
bbfc9a10011ebe085ef224beb130ea6fdfc7f0f2
3,204
hpp
C++
src/core/RegionHash.hpp
gyzhangqm/overkit-1
490aa77a79bd9708d7f2af0f3069b86545a2cebc
[ "MIT" ]
null
null
null
src/core/RegionHash.hpp
gyzhangqm/overkit-1
490aa77a79bd9708d7f2af0f3069b86545a2cebc
[ "MIT" ]
null
null
null
src/core/RegionHash.hpp
gyzhangqm/overkit-1
490aa77a79bd9708d7f2af0f3069b86545a2cebc
[ "MIT" ]
1
2021-07-21T06:48:19.000Z
2021-07-21T06:48:19.000Z
// Copyright (c) 2020 Matthew J. Smith and Overkit contributors // License: MIT (http://opensource.org/licenses/MIT) #ifndef OVK_CORE_REGION_HASH_HPP_INCLUDED #define OVK_CORE_REGION_HASH_HPP_INCLUDED #include <ovk/core/Array.hpp> #include <ovk/core/ArrayView.hpp> #include <ovk/core/Box.hpp> #include <ovk/core/Field....
32.693878
98
0.762172
bbfce24d15d965501e8ff85e1b32fe028b4ebc16
7,517
cpp
C++
bocom/Wiodb.cpp
tomasbrod/tbboinc
c125cc355b2dc9a1e536b5e5ded028d4e7f4613a
[ "MIT" ]
null
null
null
bocom/Wiodb.cpp
tomasbrod/tbboinc
c125cc355b2dc9a1e536b5e5ded028d4e7f4613a
[ "MIT" ]
4
2020-09-07T15:54:45.000Z
2020-09-27T16:47:16.000Z
bocom/Wiodb.cpp
tomasbrod/tbboinc
c125cc355b2dc9a1e536b5e5ded028d4e7f4613a
[ "MIT" ]
null
null
null
int create_work4( DB_WORKUNIT& wu, const char* result_template_filename, SCHED_CONFIG& config_loc ) { int retval; wu.create_time = time(0); // check for presence of result template. // we don't need to actually look at it. // const char* p = config_loc.project_path(result_template...
31.190871
102
0.65731
bbfd1811564296095ed432bef91b5052577a8328
52,456
cpp
C++
src/llreplace.cpp
landenlabs2/llfile
83d071412467742fcf9611ee0b10e41b6ea19728
[ "MIT" ]
1
2017-01-26T13:48:35.000Z
2017-01-26T13:48:35.000Z
src/llreplace.cpp
landenlabs2/llfile
83d071412467742fcf9611ee0b10e41b6ea19728
[ "MIT" ]
null
null
null
src/llreplace.cpp
landenlabs2/llfile
83d071412467742fcf9611ee0b10e41b6ea19728
[ "MIT" ]
null
null
null
//----------------------------------------------------------------------------- // llreplace - Replace file data or Grep. // // Author: Dennis Lang - 2015 // http://landenlabs.com/ // // This file is part of LLFile project. // // ----- License ---- // // Copyright (c) 2015 Dennis Lang // // Permission is hereby granted...
34.624422
145
0.487285
bbfee8b354473cc0810a75cd95d35b2a0f88ad3c
169
hpp
C++
src/uproar/config/version.hpp
tiger-chan/lib-gradient-noise
66eb8186b10f7507b437a81a4c6be16fcad5ccaf
[ "MIT" ]
null
null
null
src/uproar/config/version.hpp
tiger-chan/lib-gradient-noise
66eb8186b10f7507b437a81a4c6be16fcad5ccaf
[ "MIT" ]
null
null
null
src/uproar/config/version.hpp
tiger-chan/lib-gradient-noise
66eb8186b10f7507b437a81a4c6be16fcad5ccaf
[ "MIT" ]
null
null
null
#ifndef UPROAR_CONFIG_VERSION_HPP #define UPROAR_CONFIG_VERSION_HPP #define UPROAR_VERSION_MAJOR 0 #define UPROAR_VERSION_MINOR 1 #define UPROAR_VERSION_PATCH 0 #endif
21.125
33
0.87574
bbffb946d5ad4823637f463fcf7240bff13b2bc7
1,736
cpp
C++
src/MapEditor/Controls/ResourcePreview.cpp
vitek-karas/WarPlusPlus
3abb26ff30dc0e93de906ab6141b89c2fa301ae4
[ "MIT" ]
4
2019-06-17T13:44:49.000Z
2021-01-19T10:39:48.000Z
src/MapEditor/Controls/ResourcePreview.cpp
vitek-karas/WarPlusPlus
3abb26ff30dc0e93de906ab6141b89c2fa301ae4
[ "MIT" ]
null
null
null
src/MapEditor/Controls/ResourcePreview.cpp
vitek-karas/WarPlusPlus
3abb26ff30dc0e93de906ab6141b89c2fa301ae4
[ "MIT" ]
4
2019-06-17T16:03:20.000Z
2020-02-15T09:14:30.000Z
// ResourcePreview.cpp : implementation file // #include "stdafx.h" #include "..\MapEditor.h" #include "ResourcePreview.h" #include "Common\Map\Map.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif //////////////////////////////////////////////////////////////////////...
21.170732
85
0.667051
0101c7cc5a35666aa58f8b361d345d6940eb6749
562
cpp
C++
dlls/wined3d/dxvk/dxvk.cpp
berarma/wine
213905a322620eb326b655ab89fbca07316e6357
[ "MIT" ]
1
2020-03-02T14:44:56.000Z
2020-03-02T14:44:56.000Z
dlls/wined3d/dxvk/dxvk.cpp
berarma/wine
213905a322620eb326b655ab89fbca07316e6357
[ "MIT" ]
null
null
null
dlls/wined3d/dxvk/dxvk.cpp
berarma/wine
213905a322620eb326b655ab89fbca07316e6357
[ "MIT" ]
null
null
null
/* C-lang interface to DXVK's C++ implementation */ #include "config.h" extern "C" { #include "dxvk.h" void dxvk_get_options(struct DXVKOptions *opts) { dxvk::Config config(dxvk::Config::getUserConfig()); config.merge(dxvk::Config::getAppConfig(dxvk::getExePath())); opts->nvapiHack = config.getOption<...
26.761905
98
0.702847
0101e91b7672bcb40bcd0c23fffae67aab0ac75b
1,013
cpp
C++
Examples/HttpRequest/HttpRequest.cpp
Rprop/RLib
bb94d51d69a2207b073a779a871336288ca733d1
[ "Unlicense" ]
23
2018-04-23T15:46:24.000Z
2022-01-10T14:03:57.000Z
Examples/HttpRequest/HttpRequest.cpp
boyliang/RLib
bb94d51d69a2207b073a779a871336288ca733d1
[ "Unlicense" ]
1
2017-07-24T05:13:03.000Z
2017-07-24T08:59:48.000Z
Examples/HttpRequest/HttpRequest.cpp
boyliang/RLib
bb94d51d69a2207b073a779a871336288ca733d1
[ "Unlicense" ]
13
2018-05-11T15:53:12.000Z
2021-09-29T11:57:16.000Z
/******************************************************************** Created: 2016/07/18 19:15 Filename: HttpRequest.cpp Author: rrrfff Url: http://blog.csdn.net/rrrfff *********************************************************************/ #include <RLib_Import.h> //----------------------------------------...
37.518519
89
0.564659
0103f8b329e5a819235bf2666b085c39756a107b
411
cpp
C++
enduser/zone_internetgames/src/client/shell/zonecli/debug.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
enduser/zone_internetgames/src/client/shell/zonecli/debug.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
enduser/zone_internetgames/src/client/shell/zonecli/debug.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
#include "zui.h" #ifdef _DEBUG #undef CreatePen #undef CreateSolidBrush HPEN MyCreatePen(int fnPenStyle, int nWidth, COLORREF crColor) { HPEN hPen = CreatePen(fnPenStyle, nWidth, crColor); if (!hPen) { _asm {int 3}; } return hPen; } HBRUSH MyCreateSolidBrush(COLORREF crColor) { HBRUSH hBr = C...
15.222222
63
0.659367
010667525fb6e5965c1a1815abb558c4e033d42a
574
hpp
C++
src/menu.hpp
matyalatte/2dPolyTo3d
be5ed4e871bd65c704ff12664f44e1aae5c89b24
[ "MIT" ]
null
null
null
src/menu.hpp
matyalatte/2dPolyTo3d
be5ed4e871bd65c704ff12664f44e1aae5c89b24
[ "MIT" ]
null
null
null
src/menu.hpp
matyalatte/2dPolyTo3d
be5ed4e871bd65c704ff12664f44e1aae5c89b24
[ "MIT" ]
null
null
null
/* * File: menu.hpp * -------------------- * @author Matyalatte * @version 2021/09/14 * - initial commit */ #pragma once #include <GL/glut.h> #include "2dpoly_to_3d/2dpoly_to_3d.hpp" #include "2dpoly_to_3d/utils.hpp" namespace openglHandler { //functions for popup menu in glut void menu(int item); void menu...
19.133333
53
0.698606
01069effde8f24ee53ea22b955062e516f748cc6
551
hpp
C++
libadb/include/libadb/api/rate/data/rate-limit-scope.hpp
faserg1/adb
65507dc17589ac6ec00caf2ecd80f6dbc4026ad4
[ "MIT" ]
1
2022-03-10T15:14:13.000Z
2022-03-10T15:14:13.000Z
libadb/include/libadb/api/rate/data/rate-limit-scope.hpp
faserg1/adb
65507dc17589ac6ec00caf2ecd80f6dbc4026ad4
[ "MIT" ]
9
2022-03-07T21:00:08.000Z
2022-03-15T23:14:52.000Z
libadb/include/libadb/api/rate/data/rate-limit-scope.hpp
faserg1/adb
65507dc17589ac6ec00caf2ecd80f6dbc4026ad4
[ "MIT" ]
null
null
null
#pragma once #include <libadb/libadb.hpp> #include <string> namespace adb::api { /** * @brief Rate Limit Scope * @details https://discord.com/developers/docs/topics/rate-limits#header-format */ enum class RateLimitScope { /// per bot or user limit User, /// per bot o...
22.958333
84
0.627949
010bb5f3e0d991ec046b566798542dabef4e5cdf
5,071
cpp
C++
dev/velocities_sidecar/VelocitySideCar.cpp
nyue/SegmentedInterpolativeMotionBlurAlembic
1f02ff5516b6e114410b5977885133bb4b5bb490
[ "Apache-2.0" ]
1
2020-12-28T23:33:00.000Z
2020-12-28T23:33:00.000Z
dev/velocities_sidecar/VelocitySideCar.cpp
nyue/SegmentedInterpolativeMotionBlurAlembic
1f02ff5516b6e114410b5977885133bb4b5bb490
[ "Apache-2.0" ]
null
null
null
dev/velocities_sidecar/VelocitySideCar.cpp
nyue/SegmentedInterpolativeMotionBlurAlembic
1f02ff5516b6e114410b5977885133bb4b5bb490
[ "Apache-2.0" ]
1
2018-10-10T11:49:02.000Z
2018-10-10T11:49:02.000Z
#include "VelocitySideCar.h" #include <boost/tokenizer.hpp> #include <cryptopp/sha.h> #include <cryptopp/hex.h> #include <cryptopp/files.h> VelocitySideCar::VelocitySideCar() { } VelocitySideCar::~VelocitySideCar() { } const std::string& VelocitySideCar::get_sha() const { return _source_sha; }; bool VelocitySideCa...
30.733333
108
0.622165
010f361df1b18f8efcd37aec4d5169dcb9350ed1
5,117
cpp
C++
src/Snake.cpp
robifr/snake
611c6cc0460a92cca7e033108be13510aeba6b69
[ "MIT" ]
null
null
null
src/Snake.cpp
robifr/snake
611c6cc0460a92cca7e033108be13510aeba6b69
[ "MIT" ]
null
null
null
src/Snake.cpp
robifr/snake
611c6cc0460a92cca7e033108be13510aeba6b69
[ "MIT" ]
null
null
null
#include <cmath> //floor #include "Snake.hpp" #include "Game.hpp" #include "View.hpp" Snake::Snake(Game& game) : game_(game) { } void Snake::changeDirection(int keyCode) { int deltaX = 0, deltaY = 0; switch (keyCode) { case SDLK_UP: case SDLK_w: deltaX = 0; deltaY...
31.392638
100
0.555599
0113774bc56dbc38bad5b3751e4987a5c42fbff2
1,534
hpp
C++
src/messaging/MessageHandler.hpp
Fabi2607/MazeNet-Client
1fcb0b3cbeeab123cb69cd18070e0bbf4907130c
[ "MIT" ]
null
null
null
src/messaging/MessageHandler.hpp
Fabi2607/MazeNet-Client
1fcb0b3cbeeab123cb69cd18070e0bbf4907130c
[ "MIT" ]
null
null
null
src/messaging/MessageHandler.hpp
Fabi2607/MazeNet-Client
1fcb0b3cbeeab123cb69cd18070e0bbf4907130c
[ "MIT" ]
null
null
null
#ifndef MAZENET_CLIENT_MESSAGEHANDLER_HPP #define MAZENET_CLIENT_MESSAGEHANDLER_HPP #include <string> #include <player/IPlayerStrategy.hpp> #include "../messaging/mazeCom.hxx" #include "../player/GameSituation.hpp" #include "../util/logging/Log.hpp" #include "MessageDispatcher.hpp" #pragma GCC diagnostic push #pra...
27.392857
91
0.789439
011567e9d19e6b5d02b15b496bc71cf9d07e8bf7
7,215
hpp
C++
scicpp/core/meta.hpp
tvanderbruggen/SciCpp
09408506c8d0b49ca5dadb8cd1f3cb4db41c8c46
[ "MIT" ]
2
2021-08-02T09:03:30.000Z
2022-02-17T11:58:05.000Z
scicpp/core/meta.hpp
tvanderbruggen/SciCpp
09408506c8d0b49ca5dadb8cd1f3cb4db41c8c46
[ "MIT" ]
null
null
null
scicpp/core/meta.hpp
tvanderbruggen/SciCpp
09408506c8d0b49ca5dadb8cd1f3cb4db41c8c46
[ "MIT" ]
null
null
null
// SPDX-License-Identifier: MIT // Copyright (c) 2019-2021 Thomas Vanderbruggen <th.vanderbruggen@gmail.com> #ifndef SCICPP_CORE_META #define SCICPP_CORE_META #include <Eigen/Dense> #include <array> #include <complex> #include <ratio> #include <string> #include <tuple> #include <type_traits> #include <utility> #inclu...
30.315126
103
0.527235
01164e1a7b0fb27f09b533c80c93d554c7f8dd74
2,332
cpp
C++
mini/io/path.cpp
stevefan1999/mini-tor
fbf82a5a394f15b68fc356c5a71af47a3e3863d3
[ "MIT" ]
2
2018-03-30T22:29:23.000Z
2019-04-22T11:46:29.000Z
mini/io/path.cpp
FingerLeakers/mini-tor
fbf82a5a394f15b68fc356c5a71af47a3e3863d3
[ "MIT" ]
null
null
null
mini/io/path.cpp
FingerLeakers/mini-tor
fbf82a5a394f15b68fc356c5a71af47a3e3863d3
[ "MIT" ]
1
2019-12-29T17:53:05.000Z
2019-12-29T17:53:05.000Z
#include "path.h" namespace mini::io { string path::combine( const string_ref p1, const string_ref p2 ) { string result = p1; if (!p1.ends_with(directory_separator) && !p1.ends_with(alternative_directory_separator)) { result += directory_separator; } result += p2; return result; } string_col...
18.656
91
0.701115
011928a30f96a3f6ebfb64f374f0d4bf5bebeaba
11,070
cpp
C++
src/caffe/test/test_serialization_blob_codec.cpp
shayanshams66/caffe
3b031d59cd6a419b433e9fe05c9fe4bfc3060f4e
[ "Intel", "BSD-2-Clause" ]
1
2017-01-04T03:35:46.000Z
2017-01-04T03:35:46.000Z
src/caffe/test/test_serialization_blob_codec.cpp
shayanshams66/caffe
3b031d59cd6a419b433e9fe05c9fe4bfc3060f4e
[ "Intel", "BSD-2-Clause" ]
null
null
null
src/caffe/test/test_serialization_blob_codec.cpp
shayanshams66/caffe
3b031d59cd6a419b433e9fe05c9fe4bfc3060f4e
[ "Intel", "BSD-2-Clause" ]
null
null
null
#include <boost/assign.hpp> #include <glog/logging.h> #include <gmock/gmock.h> #include <gtest/gtest.h> #include <vector> #include "caffe/internode/configuration.hpp" #include "caffe/serialization/BlobCodec.hpp" #include "caffe/test/test_caffe_main.hpp" #include "caffe/util/math_functions.hpp" namespace caffe { namesp...
35.594855
78
0.629901
011b4ba53fe34216618e95c8053a379494fc392c
935
cpp
C++
rnn++/utils/math.cpp
uphere-co/nlp-prototype
c4623927e5c5c5f9c3e702eb36497ea1d9fd1ff3
[ "BSD-3-Clause" ]
null
null
null
rnn++/utils/math.cpp
uphere-co/nlp-prototype
c4623927e5c5c5f9c3e702eb36497ea1d9fd1ff3
[ "BSD-3-Clause" ]
null
null
null
rnn++/utils/math.cpp
uphere-co/nlp-prototype
c4623927e5c5c5f9c3e702eb36497ea1d9fd1ff3
[ "BSD-3-Clause" ]
null
null
null
#include "utils/math.h" namespace util{ namespace math{ template<> float_t Fun<FunName::alog>(float_t x){auto one=decltype(x){1}; return std::log(std::abs(x)+one);} template<> float_t Fun<FunName::d_alog>(float_t x){auto one=decltype(x){1}; return one/(std::abs(x)+one);} template<> float_t Fun<FunName::tanh>(float_t ...
33.392857
105
0.702674
011c439dc7e8a25e5bc7e16891e280f726793e53
24,133
hpp
C++
ddbtoaster/experiments/src/tpch/codegen_initial_submission_r3391/Tpch13VCpp.hpp
szarnyasg/dbtoaster-backend
24d43034fa3a5a4f6ab4f1de3e2d83a7ca80be73
[ "Apache-2.0" ]
38
2017-09-29T08:12:31.000Z
2022-03-31T03:56:20.000Z
ddbtoaster/experiments/src/tpch/codegen_initial_submission_r3391/Tpch13VCpp.hpp
szarnyasg/dbtoaster-backend
24d43034fa3a5a4f6ab4f1de3e2d83a7ca80be73
[ "Apache-2.0" ]
33
2018-04-05T02:42:39.000Z
2022-02-18T02:13:57.000Z
ddbtoaster/experiments/src/tpch/codegen_initial_submission_r3391/Tpch13VCpp.hpp
szarnyasg/dbtoaster-backend
24d43034fa3a5a4f6ab4f1de3e2d83a7ca80be73
[ "Apache-2.0" ]
17
2017-09-29T08:16:00.000Z
2022-02-18T04:22:29.000Z
#include <sys/time.h> #include "macro.hpp" #include "types.hpp" #include "functions.hpp" #include "hash.hpp" #include "hashmap.hpp" #include "serialization.hpp" #define ELEM_SEPARATOR "\n\t\t\t" namespace dbtoaster { /* Definitions of auxiliary maps for storing materialized views. */ struct CUSTDIST_entry { ...
52.463043
328
0.695852
0120cb3c518dc7e577506ec76c317ca23a2c125f
412
cpp
C++
a/a216.cpp
mirkat1206/zerojudge_cpp
263cd51f4eee4acec8396f6c069bba540ac15e96
[ "BSD-2-Clause" ]
1
2019-12-27T03:03:50.000Z
2019-12-27T03:03:50.000Z
a/a216.cpp
mirkat1206/zerojudge_cpp
263cd51f4eee4acec8396f6c069bba540ac15e96
[ "BSD-2-Clause" ]
null
null
null
a/a216.cpp
mirkat1206/zerojudge_cpp
263cd51f4eee4acec8396f6c069bba540ac15e96
[ "BSD-2-Clause" ]
null
null
null
// a216 : 數數愛明明 #include <cstdio> #define N 30010 int main() { // f[n] = n + f[n-1], g[n] = f[n] + g[n-1], f[1] = g[1] = 1 // f[i], g[i] is on day i !!! long long int f[N] = { 0 , 1 , 3 }, g[N] = { 0 , 1 } ; for( int i=3 ; i<N ; i++ ) { f[i] = i + f[i-1] ; g[i-1] = f[i-1] + g[i-2] ; } int n;...
19.619048
61
0.393204
01215b320c80daaf94dc18a75469ceeffbd1cd72
7,317
cc
C++
ARM/NXP/Flash/FCB.cc
JohnAdriaan/RTX2C3
833cfa45ece56a1516cb743c6bafa7c916451e55
[ "BSD-3-Clause" ]
null
null
null
ARM/NXP/Flash/FCB.cc
JohnAdriaan/RTX2C3
833cfa45ece56a1516cb743c6bafa7c916451e55
[ "BSD-3-Clause" ]
null
null
null
ARM/NXP/Flash/FCB.cc
JohnAdriaan/RTX2C3
833cfa45ece56a1516cb743c6bafa7c916451e55
[ "BSD-3-Clause" ]
null
null
null
// © 2019 John Adriaan. Licensed under the "3-clause BSD License" /// /// \file ARM/NXP/Flash/FCB.cc /// /// This file defines and instantiates the Flash Control Block at a known address. /// The FCB is used by the i.MX RT10xx to best configure the Flash for use. /// Note that this is completely self-contained - no ext...
36.402985
129
0.531502
0125409ff226d969876cee1c1b41b80f3bdcfc9e
8,747
hh
C++
aku/FeatureModules.hh
lingsoft/AaltoASR
40343e215a6cf1b7d5ed41a53095495567b0ab01
[ "BSD-3-Clause" ]
78
2015-01-07T14:33:47.000Z
2022-03-15T09:01:30.000Z
aku/FeatureModules.hh
ufukhurriyetoglu/AaltoASR
02b23d374ab9be9b0fd5d8159570b509ede066f3
[ "BSD-3-Clause" ]
4
2015-05-19T13:00:34.000Z
2016-07-26T12:29:32.000Z
aku/FeatureModules.hh
ufukhurriyetoglu/AaltoASR
02b23d374ab9be9b0fd5d8159570b509ede066f3
[ "BSD-3-Clause" ]
32
2015-01-16T08:16:24.000Z
2021-04-02T21:26:22.000Z
#ifndef FEATUREMODULES_HH #define FEATUREMODULES_HH #include <vector> #include "ModuleConfig.hh" #include "FeatureModule.hh" #include "BaseFeaModule.hh" #include "AudioFileModule.hh" #include "FFTModule.hh" namespace aku { class FeatureGenerator; ////////////////////////////////////////////////////////////////// ...
28.584967
84
0.745627
01255311cfc3027c017846c9e92e7b40af6bc7e5
7,212
cpp
C++
Plugin_Kade/Kade_Thread.cpp
ChaseBro/MMDAgent
779cd3035954c27016333a2186896e1870e9ee54
[ "Libpng", "Zlib", "Unlicense" ]
9
2017-08-17T01:01:55.000Z
2022-02-02T09:50:09.000Z
Plugin_Kade/Kade_Thread.cpp
ChaseBro/MMDAgent
779cd3035954c27016333a2186896e1870e9ee54
[ "Libpng", "Zlib", "Unlicense" ]
null
null
null
Plugin_Kade/Kade_Thread.cpp
ChaseBro/MMDAgent
779cd3035954c27016333a2186896e1870e9ee54
[ "Libpng", "Zlib", "Unlicense" ]
4
2017-08-17T01:01:57.000Z
2021-06-28T08:30:17.000Z
/* ----------------------------------------------------------------- */ /* The Toolkit for Building Voice Interaction Systems */ /* "MMDAgent" developed by MMDAgent Project Team */ /* http://www.mmdagent.jp/ */ /* -------------------------...
31.631579
120
0.555047
012aaddbb70b4812f6398f41c04ebaeef57ce201
5,777
cpp
C++
ConvertTrips/Table_Process.cpp
kravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
2
2018-04-27T11:07:02.000Z
2020-04-24T06:53:21.000Z
ConvertTrips/Table_Process.cpp
idkravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
null
null
null
ConvertTrips/Table_Process.cpp
idkravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
null
null
null
//********************************************************* // Table_Process.cpp - Trip Table Processing //********************************************************* #include "ConvertTrips.hpp" //--------------------------------------------------------- // Table_Processing //-------------------------------------------...
24.070833
94
0.535053
012e73be64c4a50c323ab8bb2937c8b0acb608a8
3,009
cpp
C++
GPUImage-x/proj.iOS/GPUImage-x/GPUImage-x/filter/RGBFilter.cpp
antowang/GPUImage-x
8c9237fd0bde008a69ccab5dc267871c4959f97d
[ "Apache-2.0" ]
197
2017-04-04T16:49:42.000Z
2022-02-15T10:47:24.000Z
GPUImage-x/proj.iOS/GPUImage-x/GPUImage-x/filter/RGBFilter.cpp
antowang/GPUImage-x
8c9237fd0bde008a69ccab5dc267871c4959f97d
[ "Apache-2.0" ]
6
2017-10-04T13:23:11.000Z
2018-09-26T06:18:11.000Z
GPUImage-x/proj.iOS/GPUImage-x/GPUImage-x/filter/RGBFilter.cpp
antowang/GPUImage-x
8c9237fd0bde008a69ccab5dc267871c4959f97d
[ "Apache-2.0" ]
53
2017-08-07T14:55:30.000Z
2022-02-25T09:55:25.000Z
/* * GPUImage-x * * Copyright (C) 2017 Yijin Wang, Yiqian Wang * * 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...
32.354839
177
0.715188
0130e07bf1f5706e74cab68b1c3d28619e46a356
4,250
cpp
C++
src/aimp_dotnet/SDK/MusicLibrary/InternalAimpDataFilterGroup.cpp
Smartoteka/aimp_dotnet
544502b8d080c9280ba11917ef0cc3e8dec44234
[ "Apache-2.0" ]
52
2015-04-14T14:39:30.000Z
2022-02-07T07:16:05.000Z
src/aimp_dotnet/SDK/MusicLibrary/InternalAimpDataFilterGroup.cpp
Smartoteka/aimp_dotnet
544502b8d080c9280ba11917ef0cc3e8dec44234
[ "Apache-2.0" ]
11
2015-04-02T10:45:55.000Z
2022-02-03T07:21:53.000Z
src/aimp_dotnet/SDK/MusicLibrary/InternalAimpDataFilterGroup.cpp
Smartoteka/aimp_dotnet
544502b8d080c9280ba11917ef0cc3e8dec44234
[ "Apache-2.0" ]
9
2015-04-05T18:25:57.000Z
2022-02-07T07:20:23.000Z
// ---------------------------------------------------- // AIMP DotNet SDK // Copyright (c) 2014 - 2020 Evgeniy Bogdan // https://github.com/martin211/aimp_dotnet // Mail: mail4evgeniy@gmail.com // ---------------------------------------------------- #include "Stdafx.h" #include "InternalAimpDataFilterGroup.h"...
33.203125
114
0.652235
01319c06316ba1f9a9dcbb46f8fab72f5bed7355
540
hpp
C++
cocos2d/cocos/scripting/lua-bindings/manual/cocos2d/lua_cocos2dx_physics_manual.hpp
weiDDD/particleSystem
32652b09da35e025956999227f08be83b5d79cb1
[ "Apache-2.0" ]
34
2017-08-16T13:58:24.000Z
2022-03-31T11:50:25.000Z
cocos2d/cocos/scripting/lua-bindings/manual/cocos2d/lua_cocos2dx_physics_manual.hpp
weiDDD/particleSystem
32652b09da35e025956999227f08be83b5d79cb1
[ "Apache-2.0" ]
null
null
null
cocos2d/cocos/scripting/lua-bindings/manual/cocos2d/lua_cocos2dx_physics_manual.hpp
weiDDD/particleSystem
32652b09da35e025956999227f08be83b5d79cb1
[ "Apache-2.0" ]
17
2017-08-18T07:42:44.000Z
2022-01-02T02:43:06.000Z
#ifndef COCOS2DX_SCRIPT_LUA_COCOS2DX_SUPPORT_GENERATED_LUA_COCOS2DX_PHYSICS_MANUAL_H #define COCOS2DX_SCRIPT_LUA_COCOS2DX_SUPPORT_GENERATED_LUA_COCOS2DX_PHYSICS_MANUAL_H #if CC_USE_PHYSICS #ifdef __cplusplus extern "C" { #endif #include "tolua++.h" #ifdef __cplusplus } #endif #include "cocos2d.h" #incl...
24.545455
95
0.824074
0136f6b477e8ff4a69284a42a0c410dca1029e15
549
cpp
C++
SourceCode/Chapter 15/Pr15-8.cpp
aceiro/poo2019
0f93d22296f43a8b024a346f510c00314817d2cf
[ "MIT" ]
1
2019-04-09T18:29:38.000Z
2019-04-09T18:29:38.000Z
SourceCode/Chapter 15/Pr15-8.cpp
aceiro/poo2019
0f93d22296f43a8b024a346f510c00314817d2cf
[ "MIT" ]
null
null
null
SourceCode/Chapter 15/Pr15-8.cpp
aceiro/poo2019
0f93d22296f43a8b024a346f510c00314817d2cf
[ "MIT" ]
null
null
null
// This program demonstrates that when a derived class function // overrides a base class function, objects of the base class // still call the base class version of the function. #include <iostream> using namespace std; class BaseClass { public: void showMessage() { cout << "This is the Base class.\n"; } }; ...
18.3
63
0.675774
01375227a381f8c4055b105b8570ed5ad7ee6c35
105,100
cpp
C++
Contrib/at67/functions.cpp
veekooFIN/gigatron-rom
08c9918cc111d7d2856cecae6da4137ee4641fb2
[ "BSD-2-Clause" ]
172
2018-02-26T19:56:11.000Z
2022-03-31T17:10:16.000Z
Contrib/at67/functions.cpp
veekooFIN/gigatron-rom
08c9918cc111d7d2856cecae6da4137ee4641fb2
[ "BSD-2-Clause" ]
140
2018-01-13T09:57:11.000Z
2022-02-15T13:22:05.000Z
Contrib/at67/functions.cpp
veekooFIN/gigatron-rom
08c9918cc111d7d2856cecae6da4137ee4641fb2
[ "BSD-2-Clause" ]
78
2018-01-13T01:07:37.000Z
2022-03-09T07:59:18.000Z
#include <ctime> #include <random> #include <numeric> #include <algorithm> #include "memory.h" #include "cpu.h" #include "functions.h" #include "operators.h" namespace Functions { int _nestedCount = -1; double _umin = 0.0; double _umax = 0.0; double _ulen = 0.0; double _ustp = 1.0; uint16_t ...
43.82819
252
0.557916
0137689f5d1a19f6f7f3b962df0f9d939eac85fd
1,983
cc
C++
stapl_release/docs/reference/view/multi.cc
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
stapl_release/docs/reference/view/multi.cc
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
stapl_release/docs/reference/view/multi.cc
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
// cont/multi.cc #include <stapl/containers/multiarray/multiarray.hpp> #include <stapl/views/multiarray_view.hpp> #include <stapl/containers/type_traits/default_traversal.hpp> #include <stapl/algorithms/algorithm.hpp> #include <stapl/algorithms/functional.hpp> #include "viewhelp.hpp" using namespace std; typedef int...
30.984375
70
0.704488
01376e57347f54f4d6ca3209bcd2429d52c0bcdc
17,513
hpp
C++
include/Avocado/backend/backend_descriptors.hpp
AvocadoML/Avocado
9595cc5994d916f0ecb24873a5afa98437977fb5
[ "Apache-2.0" ]
null
null
null
include/Avocado/backend/backend_descriptors.hpp
AvocadoML/Avocado
9595cc5994d916f0ecb24873a5afa98437977fb5
[ "Apache-2.0" ]
null
null
null
include/Avocado/backend/backend_descriptors.hpp
AvocadoML/Avocado
9595cc5994d916f0ecb24873a5afa98437977fb5
[ "Apache-2.0" ]
null
null
null
/* * backend_descriptors.hpp * * Created on: Dec 5, 2021 * Author: Maciej Kozarzewski */ #ifndef AVOCADO_BACKEND_BACKEND_DESCRIPTORS_HPP_ #define AVOCADO_BACKEND_BACKEND_DESCRIPTORS_HPP_ #include "backend_defs.h" #include <type_traits> #include <array> #include <vector> #include <stack> #include <algorithm...
30.510453
141
0.661394
013931e763162277ef1f3cc213d891500ae16cbe
1,925
cc
C++
firestore/src/jni/object.cc
oliwilkinsonio/firebase-cpp-sdk
1a2790030e92f77ad2aaa87000a1222d12dcabfc
[ "Apache-2.0" ]
193
2019-03-18T16:30:43.000Z
2022-03-30T17:39:32.000Z
firestore/src/jni/object.cc
oliwilkinsonio/firebase-cpp-sdk
1a2790030e92f77ad2aaa87000a1222d12dcabfc
[ "Apache-2.0" ]
647
2019-03-18T20:50:41.000Z
2022-03-31T18:32:33.000Z
firestore/src/jni/object.cc
oliwilkinsonio/firebase-cpp-sdk
1a2790030e92f77ad2aaa87000a1222d12dcabfc
[ "Apache-2.0" ]
86
2019-04-21T09:40:38.000Z
2022-03-26T20:48:37.000Z
/* * Copyright 2020 Google 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 ...
29.615385
78
0.707532
01397d31fe431d899f2d2b93ba2b8846afc3137d
175
hpp
C++
FootCommander.hpp
amit1021/wargame-b
3b10fd404f7af5acfe1cfcc2c791f18afa36ab66
[ "MIT" ]
null
null
null
FootCommander.hpp
amit1021/wargame-b
3b10fd404f7af5acfe1cfcc2c791f18afa36ab66
[ "MIT" ]
null
null
null
FootCommander.hpp
amit1021/wargame-b
3b10fd404f7af5acfe1cfcc2c791f18afa36ab66
[ "MIT" ]
null
null
null
#include <iostream> #include "Soldier.hpp" class FootCommander : public Soldier { public: FootCommander(int player) : Soldier(150,20,player){} ~FootCommander(); };
15.909091
57
0.697143
01413df5169b1339147ff85e257547c93c4f486f
1,975
cpp
C++
Demo/MdiDemo/MdiDemoView.cpp
yanlinlin82/libffc
6e067b0840f29958b97daea38bcd61099c2a473f
[ "MIT" ]
9
2017-10-31T10:15:31.000Z
2021-08-02T20:40:45.000Z
Demo/MdiDemo/MdiDemoView.cpp
yanlinlin82/libffc
6e067b0840f29958b97daea38bcd61099c2a473f
[ "MIT" ]
1
2019-07-21T12:13:37.000Z
2019-07-22T14:56:18.000Z
Demo/MdiDemo/MdiDemoView.cpp
yanlinlin82/libffc
6e067b0840f29958b97daea38bcd61099c2a473f
[ "MIT" ]
5
2016-07-31T09:08:18.000Z
2022-03-22T14:28:16.000Z
// MdiDemoView.cpp : implementation of the CMdiDemoView class // #include "stdafx.h" #include "MdiDemo.h" #include "MdiDemoDoc.h" #include "MdiDemoView.h" #ifdef _DEBUG #define new DEBUG_NEW #endif // CMdiDemoView IMPLEMENT_DYNCREATE(CMdiDemoView, CView) BEGIN_MESSAGE_MAP(CMdiDemoView, CView) ...
19.554455
78
0.711899
01417b6a4ebc01846c383ea9eb0e7fa8fbb47e23
396
cpp
C++
N0647-Palindromic-Substrings/solution1.cpp
loypt/leetcode
4463aa17b0fb01ec6f865ea9766ccce1ab7a690a
[ "CC0-1.0" ]
null
null
null
N0647-Palindromic-Substrings/solution1.cpp
loypt/leetcode
4463aa17b0fb01ec6f865ea9766ccce1ab7a690a
[ "CC0-1.0" ]
null
null
null
N0647-Palindromic-Substrings/solution1.cpp
loypt/leetcode
4463aa17b0fb01ec6f865ea9766ccce1ab7a690a
[ "CC0-1.0" ]
2
2022-01-25T05:31:31.000Z
2022-02-26T07:22:23.000Z
class Solution { public: int countSubstrings(string s) { int num = 0; int n = s.size(); for(int i=0;i<n;i++)//遍历回文中心点 { for(int j=0;j<=1;j++)//j=0,中心是一个点,j=1,中心是两个点 { int l = i; int r = i+j; while(l>=0 && r<n &&...
22
58
0.356061
0149210ca73d9a9f64c0b3f739d097f86b5e5d1d
706
cpp
C++
Fibonacci/Fibonacci.cpp
sounishnath003/CPP-for-beginner
d4755ab4ae098d63c9a0666d8eb4d152106d4a20
[ "MIT" ]
4
2020-05-14T04:41:04.000Z
2021-06-13T06:42:03.000Z
Fibonacci/Fibonacci.cpp
sounishnath003/CPP-for-beginner
d4755ab4ae098d63c9a0666d8eb4d152106d4a20
[ "MIT" ]
null
null
null
Fibonacci/Fibonacci.cpp
sounishnath003/CPP-for-beginner
d4755ab4ae098d63c9a0666d8eb4d152106d4a20
[ "MIT" ]
null
null
null
#include<iostream> #include<vector> using namespace std ; template<typename T> void printVector(vector<T> n) { for (auto &&i : n) { cout << i << " "; } cout << endl ; } class Fibonacci { private: double series = 0; vector<double> store; public: void getThe...
17.219512
40
0.474504
0149e15d47dac4538dd3bdd786fc568e49e3f384
1,214
cpp
C++
2018-2019_Term2/CSC3002-Programming_Paradigms/Course_Material/Week 04/05 Programs/CCType/TestCCType.cpp
Vito-Swift/CourseMaterials
f2799f004f4353b5f35226158c8fd9f71818810e
[ "MIT" ]
null
null
null
2018-2019_Term2/CSC3002-Programming_Paradigms/Course_Material/Week 04/05 Programs/CCType/TestCCType.cpp
Vito-Swift/CourseMaterials
f2799f004f4353b5f35226158c8fd9f71818810e
[ "MIT" ]
null
null
null
2018-2019_Term2/CSC3002-Programming_Paradigms/Course_Material/Week 04/05 Programs/CCType/TestCCType.cpp
Vito-Swift/CourseMaterials
f2799f004f4353b5f35226158c8fd9f71818810e
[ "MIT" ]
2
2019-09-25T02:36:37.000Z
2020-06-05T08:47:01.000Z
/* * File: TestCCType.cpp * -------------------- * This program tests the set-based implementation of the <cctype> * interface. */ #include <iostream> #include <string> #include "cctype.h" #include "simpio.h" #include "console.h" using namespace std; int main() { while (true) { string st...
33.722222
74
0.432455
014c9bc06539884aed89195baa0fc6e530aafb94
1,943
cpp
C++
Graphs/KruskalMST.cpp
paras2411/Algorithms
dcb280d382fc3ee3dbaaf5f1ec2896aae2b05825
[ "MIT" ]
8
2020-09-15T17:54:12.000Z
2022-01-20T04:04:27.000Z
Graphs/KruskalMST.cpp
paras2411/Algorithms
dcb280d382fc3ee3dbaaf5f1ec2896aae2b05825
[ "MIT" ]
null
null
null
Graphs/KruskalMST.cpp
paras2411/Algorithms
dcb280d382fc3ee3dbaaf5f1ec2896aae2b05825
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; // considering maximum no. of vertices to be 100000. const int N = 1e5; int parent[N]; // find the root(ancestor) of the vertex u and returns the no. of vertices in that path int findpar(int *u){ int rank = 0; while(*u != parent[*u]){ *u = parent[*u]; ...
26.256757
87
0.568194
014dc4cf9bbe003883e6a2bc834ec2fcc6548c06
1,712
cpp
C++
src/lcpeaks/integrator_lineTools.cpp
DanIverson/OpenVnmrJ
0db324603dbd8f618a6a9526b9477a999c5a4cc3
[ "Apache-2.0" ]
32
2016-06-17T05:04:26.000Z
2022-03-28T17:54:44.000Z
src/lcpeaks/integrator_lineTools.cpp
DanIverson/OpenVnmrJ
0db324603dbd8f618a6a9526b9477a999c5a4cc3
[ "Apache-2.0" ]
128
2016-07-13T17:09:02.000Z
2022-03-28T17:53:52.000Z
src/lcpeaks/integrator_lineTools.cpp
DanIverson/OpenVnmrJ
0db324603dbd8f618a6a9526b9477a999c5a4cc3
[ "Apache-2.0" ]
102
2016-01-23T15:27:16.000Z
2022-03-20T05:41:54.000Z
/* * Varian,Inc. All Rights Reserved. * This software contains proprietary and confidential * information of Varian, Inc. and its contributors. * Use, disclosure and reproduction is prohibited without * prior consent. */ /* DISCLAIMER : * ------------ * * This is a beta version of the GALAXIE integrat...
21.670886
76
0.674065
014e64b24cf4d1fe7cbcd9dd010345bd7347c848
1,219
cpp
C++
ir/src/brio/BrioMessage.cpp
wmarkow/arduino-sandbox
2c5301aeee8811ff5f15f1edb61e313ecbcb0d5e
[ "MIT" ]
null
null
null
ir/src/brio/BrioMessage.cpp
wmarkow/arduino-sandbox
2c5301aeee8811ff5f15f1edb61e313ecbcb0d5e
[ "MIT" ]
null
null
null
ir/src/brio/BrioMessage.cpp
wmarkow/arduino-sandbox
2c5301aeee8811ff5f15f1edb61e313ecbcb0d5e
[ "MIT" ]
null
null
null
/* * BrioMessage.cpp * * Created on: 09.05.2018 * Author: wmarkowski */ #include <Arduino.h> #include "BrioMessage.h" void brio_message_dump(BrioMessage* brioMessage) { switch (brioMessage->channel) { case BRIO_CHANNEL_A: Serial.print(F("channel A, ")); break; case BRIO_...
23.442308
48
0.5726
0151893c4ebd09de9dbcfadd024231e2e327b3a1
3,643
cpp
C++
src/prod/src/api/wrappers/ComProxyStorePostBackupHandler.cpp
gridgentoo/ServiceFabricAzure
c3e7a07617e852322d73e6cc9819d266146866a4
[ "MIT" ]
2,542
2018-03-14T21:56:12.000Z
2019-05-06T01:18:20.000Z
src/prod/src/api/wrappers/ComProxyStorePostBackupHandler.cpp
gridgentoo/ServiceFabricAzure
c3e7a07617e852322d73e6cc9819d266146866a4
[ "MIT" ]
994
2019-05-07T02:39:30.000Z
2022-03-31T13:23:04.000Z
src/prod/src/api/wrappers/ComProxyStorePostBackupHandler.cpp
gridgentoo/ServiceFabricAzure
c3e7a07617e852322d73e6cc9819d266146866a4
[ "MIT" ]
300
2018-03-14T21:57:17.000Z
2019-05-06T20:07:00.000Z
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ #include "stdafx.h" namespace...
33.118182
134
0.620093
0152528c23cbebd0292482028545ec0aec888717
1,346
cpp
C++
liblineside/test/signalflashtests.cpp
freesurfer-rge/linesidecabinet
8944c67fa7d340aa792e3a6e681113a4676bfbad
[ "MIT" ]
null
null
null
liblineside/test/signalflashtests.cpp
freesurfer-rge/linesidecabinet
8944c67fa7d340aa792e3a6e681113a4676bfbad
[ "MIT" ]
14
2019-11-17T14:46:25.000Z
2021-03-10T02:48:40.000Z
liblineside/test/signalflashtests.cpp
freesurfer-rge/linesidecabinet
8944c67fa7d340aa792e3a6e681113a4676bfbad
[ "MIT" ]
null
null
null
#include <boost/test/unit_test.hpp> #include <boost/test/data/test_case.hpp> #include <boost/test/data/monomorphic.hpp> #include <sstream> #include "lineside/signalflash.hpp" char const* flashNames[] = { "Steady", "Flashing" }; Lineside::SignalFlash flashes[] = { Lineside::SignalFlash::Steady, Lineside::Sign...
27.469388
83
0.730312
01542c10efe6ed2d057b98d9df5f63d29a5d3781
1,366
cpp
C++
luogu/3371_2.cpp
shorn1/OI-ICPC-Problems
0c18b3297190a0e108c311c74d28351ebc70c3d1
[ "MIT" ]
1
2020-05-07T09:26:05.000Z
2020-05-07T09:26:05.000Z
luogu/3371_2.cpp
shorn1/OI-ICPC-Problems
0c18b3297190a0e108c311c74d28351ebc70c3d1
[ "MIT" ]
null
null
null
luogu/3371_2.cpp
shorn1/OI-ICPC-Problems
0c18b3297190a0e108c311c74d28351ebc70c3d1
[ "MIT" ]
null
null
null
#include<cstdio> #include<cmath> #include<algorithm> #include<cstring> #include<iostream> #include<queue> using namespace std; const int M = 1111111; struct Edge { int tow,nxt,dat; }; Edge e[2 * M]; int n,m,s,sume = 0,dis[2 * M],vis[2 * M],hea[2 * M]; queue <int>q; void add(int u, int v, int w) { sume++; e...
16.658537
52
0.400439
01568fe4e820b402aff4f45d2fd5d36b0ffd1d9b
1,849
hh
C++
include/introvirt/windows/libraries/ws2_32/types/WSABUF.hh
IntroVirt/IntroVirt
917f735f3430d0855d8b59c814bea7669251901c
[ "Apache-2.0" ]
23
2021-02-17T16:58:52.000Z
2022-02-12T17:01:06.000Z
include/introvirt/windows/libraries/ws2_32/types/WSABUF.hh
IntroVirt/IntroVirt
917f735f3430d0855d8b59c814bea7669251901c
[ "Apache-2.0" ]
1
2021-04-01T22:41:32.000Z
2021-09-24T14:14:17.000Z
include/introvirt/windows/libraries/ws2_32/types/WSABUF.hh
IntroVirt/IntroVirt
917f735f3430d0855d8b59c814bea7669251901c
[ "Apache-2.0" ]
4
2021-02-17T16:53:18.000Z
2021-04-13T16:51:10.000Z
/* * Copyright 2021 Assured Information Security, 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 a...
25.328767
85
0.657112
0156b739a3e01a71a774048ffe0717ba2aa7ffef
1,417
cpp
C++
others/fb/quixo4.cpp
st34-satoshi/quixo-cpp
9d71c506bea91d8a12253d527958ac0c04d0327e
[ "MIT" ]
null
null
null
others/fb/quixo4.cpp
st34-satoshi/quixo-cpp
9d71c506bea91d8a12253d527958ac0c04d0327e
[ "MIT" ]
null
null
null
others/fb/quixo4.cpp
st34-satoshi/quixo-cpp
9d71c506bea91d8a12253d527958ac0c04d0327e
[ "MIT" ]
null
null
null
/* Next player to play: X Previous player: O A board is a 16-tuple/list of 0,1,2 e.g.: (0,0,0,1, 1,2,0,0, 0,1,2,0, 2,1,2,1) means that the board is ...X XO.. .XO. OXOX 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 */ #include <iostream> #include "global4.h" #include "state4.h" #include <uno...
20.838235
86
0.573042
01594279291cd64d232ef617f493cb70ac094f93
7,036
cpp
C++
src/ZigBeeCommandLineProcessor.cpp
Suicyc1e/Sequoia
7a31bde385673e5522373eb7a2ee33c4042c3b8d
[ "MIT" ]
null
null
null
src/ZigBeeCommandLineProcessor.cpp
Suicyc1e/Sequoia
7a31bde385673e5522373eb7a2ee33c4042c3b8d
[ "MIT" ]
null
null
null
src/ZigBeeCommandLineProcessor.cpp
Suicyc1e/Sequoia
7a31bde385673e5522373eb7a2ee33c4042c3b8d
[ "MIT" ]
null
null
null
#include <ZigBeeCommandLineProcessor.h> #include <GlobalPresets.h> int StringSplit(String sInput, char cDelim, String sParams[], int iMaxParams) { int iParamCount = 0; int iPosDelim, iPosStart = 0; do { // Searching the delimiter using indexOf() iPosDelim = sInput.indexOf(cDelim,iPosStart...
38.032432
124
0.622513
015b2fc1bb7a3b4abc8ca03c4369020f5e67bf05
1,428
cc
C++
src/auth.cc
thejk/stuff
67362896a37742e880025b9c85c4fe49d690ba02
[ "BSD-3-Clause" ]
null
null
null
src/auth.cc
thejk/stuff
67362896a37742e880025b9c85c4fe49d690ba02
[ "BSD-3-Clause" ]
null
null
null
src/auth.cc
thejk/stuff
67362896a37742e880025b9c85c4fe49d690ba02
[ "BSD-3-Clause" ]
null
null
null
#include "common.hh" #include "auth.hh" #include "base64.hh" #include "cgi.hh" #include "http.hh" #include "strutils.hh" namespace stuff { bool Auth::auth(CGI* cgi, const std::string& realm, const std::string& passwd, std::string* user) { auto auth = cgi->http_auth(); auto pos = auth.find(' '...
30.382979
78
0.429272
015d23c359ee83b5f55b673013ed6cbdceae9f3f
3,042
hpp
C++
IO/src/jpg/include/jpg.hpp
tlalexander/stitchEm
cdff821ad2c500703e6cb237ec61139fce7bf11c
[ "MIT" ]
182
2019-04-19T12:38:30.000Z
2022-03-20T16:48:20.000Z
IO/src/jpg/include/jpg.hpp
tlalexander/stitchEm
cdff821ad2c500703e6cb237ec61139fce7bf11c
[ "MIT" ]
107
2019-04-23T10:49:35.000Z
2022-03-02T18:12:28.000Z
IO/src/jpg/include/jpg.hpp
tlalexander/stitchEm
cdff821ad2c500703e6cb237ec61139fce7bf11c
[ "MIT" ]
59
2019-06-04T11:27:25.000Z
2022-03-17T23:49:49.000Z
// Copyright (c) 2012-2017 VideoStitch SAS // Copyright (c) 2018 stitchEm #pragma once #include "io.hpp" #include "libvideostitch/logging.hpp" #include <fstream> #include <ostream> #include <vector> #include <setjmp.h> #include <jpeglib.h> namespace VideoStitch { namespace Input { void my_output_message(j_common...
25.35
111
0.657462
015de0eea16ec62ebb203ca7b900d77686faa7cf
2,037
cc
C++
patchpanel/mcastd/main.cc
strassek/chromiumos-platform2
12c953f41f48b8a6b0bd1c181d09bdb1de38325c
[ "BSD-3-Clause" ]
4
2020-07-24T06:54:16.000Z
2021-06-16T17:13:53.000Z
patchpanel/mcastd/main.cc
strassek/chromiumos-platform2
12c953f41f48b8a6b0bd1c181d09bdb1de38325c
[ "BSD-3-Clause" ]
1
2021-04-02T17:35:07.000Z
2021-04-02T17:35:07.000Z
patchpanel/mcastd/main.cc
strassek/chromiumos-platform2
12c953f41f48b8a6b0bd1c181d09bdb1de38325c
[ "BSD-3-Clause" ]
1
2020-11-04T22:31:45.000Z
2020-11-04T22:31:45.000Z
// Copyright 2020 The Chromium OS Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <base/bind.h> #include <base/command_line.h> #include <base/files/scoped_file.h> #include <base/macros.h> #include <brillo/daemons/daemon.h> ...
36.375
77
0.67403
015ea70b359981eae5d6213f851d444c511c4bf3
2,546
hpp
C++
cmdstan/stan/src/stan/lang/ast/fun/var_decl_dims_vis_def.hpp
yizhang-cae/torsten
dc82080ca032325040844cbabe81c9a2b5e046f9
[ "BSD-3-Clause" ]
1
2019-07-05T01:40:40.000Z
2019-07-05T01:40:40.000Z
cmdstan/stan/src/stan/lang/ast/fun/var_decl_dims_vis_def.hpp
yizhang-cae/torsten
dc82080ca032325040844cbabe81c9a2b5e046f9
[ "BSD-3-Clause" ]
null
null
null
cmdstan/stan/src/stan/lang/ast/fun/var_decl_dims_vis_def.hpp
yizhang-cae/torsten
dc82080ca032325040844cbabe81c9a2b5e046f9
[ "BSD-3-Clause" ]
1
2018-08-28T12:09:08.000Z
2018-08-28T12:09:08.000Z
#ifndef STAN_LANG_AST_FUN_VAR_DECL_DIMS_VIS_DEF_HPP #define STAN_LANG_AST_FUN_VAR_DECL_DIMS_VIS_DEF_HPP #include <stan/lang/ast.hpp> #include <vector> namespace stan { namespace lang { var_decl_dims_vis::var_decl_dims_vis() { } std::vector<expression> var_decl_dims_vis::operator()(const nil& /* x */) ...
28.931818
80
0.552239
015f284d8abe647c16ca54578d7e48d01427cd6e
3,698
cpp
C++
src/chartwork/ColorPalette.cpp
nazhor/chartwork
20cb8df257bec39153ea408305640274c9e09d4c
[ "MIT" ]
20
2018-08-29T07:33:21.000Z
2022-03-12T05:05:54.000Z
src/chartwork/ColorPalette.cpp
nazhor/chartwork
20cb8df257bec39153ea408305640274c9e09d4c
[ "MIT" ]
1
2020-10-27T15:04:46.000Z
2020-10-27T15:04:46.000Z
src/chartwork/ColorPalette.cpp
nazhor/chartwork
20cb8df257bec39153ea408305640274c9e09d4c
[ "MIT" ]
7
2015-07-09T20:38:28.000Z
2021-09-27T06:38:11.000Z
#include <chartwork/ColorPalette.h> #include <chartwork/Design.h> namespace chartwork { //////////////////////////////////////////////////////////////////////////////////////////////////// // // ColorPalette // //////////////////////////////////////////////////////////////////////////////////////////////////// Colo...
24.328947
100
0.330719
015f8fbd13144338c56420d36b5dfb1cc578986c
1,827
hpp
C++
header/deps/filehelp.hpp
jonathanmarp/tfsound
18942c35f1d3f4d335670b7d381f8a75b6a7e465
[ "MIT" ]
2
2021-06-05T10:15:53.000Z
2021-06-06T09:51:19.000Z
header/deps/filehelp.hpp
jonathanmarp/tfsound
18942c35f1d3f4d335670b7d381f8a75b6a7e465
[ "MIT" ]
null
null
null
header/deps/filehelp.hpp
jonathanmarp/tfsound
18942c35f1d3f4d335670b7d381f8a75b6a7e465
[ "MIT" ]
1
2021-06-08T05:56:35.000Z
2021-06-08T05:56:35.000Z
// MIT License // Copyright (c) 2021 laferenorg // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merg...
33.218182
81
0.746579
01635e6161a725aca5e9748a3bdc8945400a2a2f
6,958
cxx
C++
3rd/fltk/src/win32/list_fonts.cxx
MarioHenze/cgv
bacb2d270b1eecbea1e933b8caad8d7e11d807c2
[ "BSD-3-Clause" ]
11
2017-09-30T12:21:55.000Z
2021-04-29T21:31:57.000Z
3rd/fltk/src/win32/list_fonts.cxx
MarioHenze/cgv
bacb2d270b1eecbea1e933b8caad8d7e11d807c2
[ "BSD-3-Clause" ]
2
2017-07-11T11:20:08.000Z
2018-03-27T12:09:02.000Z
3rd/fltk/src/win32/list_fonts.cxx
MarioHenze/cgv
bacb2d270b1eecbea1e933b8caad8d7e11d807c2
[ "BSD-3-Clause" ]
24
2018-03-27T11:46:16.000Z
2021-05-01T20:28:34.000Z
// // "$Id: list_fonts.cxx 5958 2007-10-17 20:21:38Z spitzak $" // // _WIN32 font utilities for the Fast Light Tool Kit (FLTK). // // Copyright 1998-2006 by Bill Spitzak and others. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Library General Public // Lice...
29.991379
79
0.632078
016871b7df9e584799df839cda630bd6279531cd
636
hpp
C++
Plutonium/Include/pu/overlay/Toast.hpp
Falki14/Plutonium
e39894f87b57695d4288052979e23d4115932697
[ "MIT" ]
null
null
null
Plutonium/Include/pu/overlay/Toast.hpp
Falki14/Plutonium
e39894f87b57695d4288052979e23d4115932697
[ "MIT" ]
null
null
null
Plutonium/Include/pu/overlay/Toast.hpp
Falki14/Plutonium
e39894f87b57695d4288052979e23d4115932697
[ "MIT" ]
null
null
null
/* Plutonium library @file Overlay.hpp @brief TODO... @author XorTroll @copyright Plutonium project - an easy-to-use UI framework for Nintendo Switch homebrew */ #pragma once #include <pu/overlay/Overlay.hpp> namespace pu::overlay { class Toast : public Overlay { public: ...
21.931034
96
0.624214
6c666547fa894847a7ed3292dc3eaf8afea127da
3,324
cpp
C++
kast.cpp
martinjvickers/alfsc_rewrite
a4f265fa7d30d8b98d8e5df3f0a223b0cc5a31f0
[ "MIT" ]
null
null
null
kast.cpp
martinjvickers/alfsc_rewrite
a4f265fa7d30d8b98d8e5df3f0a223b0cc5a31f0
[ "MIT" ]
13
2017-03-08T10:05:48.000Z
2017-03-09T12:32:31.000Z
kast.cpp
martinjvickers/alfsc_rewrite
a4f265fa7d30d8b98d8e5df3f0a223b0cc5a31f0
[ "MIT" ]
null
null
null
/* KAST - Kmer Alignment-free Search Tool Version 0.0.34 Written by Dr. Martin Vickers (martin.vickers@jic.ac.uk) */ #include <iostream> #include <seqan/sequence.h> #include <seqan/stream.h> #include <seqan/file.h> #include <seqan/arg_parse.h> #include <seqan/seq_io.h> #include <math.h> #include <string> #include <th...
25.767442
89
0.588748
6c6a6a72bd1bbca0811508f4aae583f599f4fbec
3,057
cpp
C++
demo/demo.cpp
dadocolussi/gdc-nanomap
30ceeed508679a24d3133081a321d40ffec30cb2
[ "MIT" ]
2
2017-05-31T03:19:25.000Z
2019-12-27T14:52:05.000Z
demo/demo.cpp
dadocolussi/gdc-nanomap
30ceeed508679a24d3133081a321d40ffec30cb2
[ "MIT" ]
null
null
null
demo/demo.cpp
dadocolussi/gdc-nanomap
30ceeed508679a24d3133081a321d40ffec30cb2
[ "MIT" ]
null
null
null
// // Copyright (c) 2016 Dado Colussi // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publis...
28.570093
86
0.69349
6c75aa25ebca362bf52e57a3e7660b4f89500ead
5,062
cpp
C++
src-plugins/reformat/resampleProcess.cpp
nebatmusic/medInria-public
09000bd2f129692e42314a8eb1313d238603252e
[ "BSD-1-Clause" ]
1
2020-11-16T13:55:45.000Z
2020-11-16T13:55:45.000Z
src-plugins/reformat/resampleProcess.cpp
nebatmusic/medInria-public
09000bd2f129692e42314a8eb1313d238603252e
[ "BSD-1-Clause" ]
null
null
null
src-plugins/reformat/resampleProcess.cpp
nebatmusic/medInria-public
09000bd2f129692e42314a8eb1313d238603252e
[ "BSD-1-Clause" ]
null
null
null
#include "resampleProcess.h" #include <dtkCore/dtkAbstractProcessFactory.h> #include <medAbstractDataFactory.h> #include <medAbstractProcess.h> #include <medMetaDataKeys.h> #include <medUtilitiesITK.h> #include <itkResampleImageFilter.h> #include <itkBSplineInterpolateImageFunction.h> // /////////////////////////////...
28.925714
112
0.614184
6c767fd7fe905d57aad21b55162e1077581ede1f
6,219
hpp
C++
libraries/chain/include/deip/chain/services/dbs_expertise_allocation_proposal.hpp
DEIPworld/deip-chain
d3fdcfdde179f700156156ea87522a807ec52532
[ "MIT" ]
1
2021-08-16T12:44:43.000Z
2021-08-16T12:44:43.000Z
libraries/chain/include/deip/chain/services/dbs_expertise_allocation_proposal.hpp
DEIPworld/deip-chain
d3fdcfdde179f700156156ea87522a807ec52532
[ "MIT" ]
null
null
null
libraries/chain/include/deip/chain/services/dbs_expertise_allocation_proposal.hpp
DEIPworld/deip-chain
d3fdcfdde179f700156156ea87522a807ec52532
[ "MIT" ]
2
2021-08-16T12:44:46.000Z
2021-12-31T17:09:45.000Z
#pragma once #include "dbs_base_impl.hpp" #include <vector> #include <set> #include <functional> #include <deip/chain/schema/expertise_allocation_proposal_object.hpp> #include <deip/chain/schema/expertise_allocation_proposal_vote_object.hpp> #include <deip/chain/schema/expert_token_object.hpp> namespace deip { names...
56.027027
243
0.705419
6c7737a2a29d9a93b0374dec4932899a19dd8a36
265
cpp
C++
tests/src/test.cpp
pqrs-org/cpp-environment_variable
2b1d547603f5ce4a4455a254a4dbe514f14cd75e
[ "BSL-1.0" ]
null
null
null
tests/src/test.cpp
pqrs-org/cpp-environment_variable
2b1d547603f5ce4a4455a254a4dbe514f14cd75e
[ "BSL-1.0" ]
null
null
null
tests/src/test.cpp
pqrs-org/cpp-environment_variable
2b1d547603f5ce4a4455a254a4dbe514f14cd75e
[ "BSL-1.0" ]
null
null
null
#define CATCH_CONFIG_MAIN #include <catch2/catch.hpp> #include <pqrs/environment_variable.hpp> TEST_CASE("find") { REQUIRE(pqrs::environment_variable::find("PATH")); REQUIRE(pqrs::environment_variable::find("UNKNOWN_ENVIRONMENT_VARIABLE") == std::nullopt); }
26.5
92
0.766038
6c782b8510844bec43bfbdbef92f39910506f105
858
cpp
C++
src/HostViewBHO/Factory.cpp
inria-muse/hostview-win
db890b83956081d98e64005873eb2e7e4c6891e6
[ "MIT" ]
1
2018-07-22T16:39:08.000Z
2018-07-22T16:39:08.000Z
src/HostViewBHO/Factory.cpp
inria-muse/hostview-win
db890b83956081d98e64005873eb2e7e4c6891e6
[ "MIT" ]
null
null
null
src/HostViewBHO/Factory.cpp
inria-muse/hostview-win
db890b83956081d98e64005873eb2e7e4c6891e6
[ "MIT" ]
1
2021-03-08T06:59:28.000Z
2021-03-08T06:59:28.000Z
#include "common.h" #include "Factory.h" #include "Plugin.h" const IID CFactory::SupportedIIDs[] = {IID_IUnknown, IID_IClassFactory}; CFactory::CFactory() : CUnknown<IClassFactory>(SupportedIIDs, 2) { } CFactory::~CFactory() { } STDMETHODIMP CFactory::CreateInstance(IUnknown *pUnkOuter, REFIID riid, void **ppvObje...
15.321429
89
0.706294
6c78d1de7d65ea97d301f5e18a99150380fe92d1
5,624
cpp
C++
cmdriver/src/CmXmlStringTokenizer.cpp
kit-transue/software-emancipation-discover
bec6f4ef404d72f361d91de954eae9a3bd669ce3
[ "BSD-2-Clause" ]
2
2015-11-24T03:31:12.000Z
2015-11-24T16:01:57.000Z
cmdriver/src/CmXmlStringTokenizer.cpp
radtek/software-emancipation-discover
bec6f4ef404d72f361d91de954eae9a3bd669ce3
[ "BSD-2-Clause" ]
null
null
null
cmdriver/src/CmXmlStringTokenizer.cpp
radtek/software-emancipation-discover
bec6f4ef404d72f361d91de954eae9a3bd669ce3
[ "BSD-2-Clause" ]
1
2019-05-19T02:26:08.000Z
2019-05-19T02:26:08.000Z
/************************************************************************* * Copyright (c) 2015, Synopsys, Inc. * * All rights reserved. * * * * Redistribution and...
28.548223
90
0.585526
6c7e3a240169920f0aa7c99a2331f254a65f01bc
421
cpp
C++
src/Y/Y403.cpp
wlhcode/lscct
7fd112a9d1851ddcf41886d3084381a52e84a3ce
[ "MIT" ]
null
null
null
src/Y/Y403.cpp
wlhcode/lscct
7fd112a9d1851ddcf41886d3084381a52e84a3ce
[ "MIT" ]
null
null
null
src/Y/Y403.cpp
wlhcode/lscct
7fd112a9d1851ddcf41886d3084381a52e84a3ce
[ "MIT" ]
null
null
null
#include<iostream> #include<algorithm> using namespace std; double arr[101]; int main(){ double a,ave=0; cin>>a; for(int i=0;i<a-1;i++) cin>>arr[i]; int tmp=a-1; sort(arr,arr+tmp); for(int i=a-2;i>0;i--) ave+=arr[i]; ave/=a-2; if(ave>=50) cout<<"0"<<endl; else{ ave-=arr[1]/(a-2); for(int i=0;i<=100;i++){ ...
16.84
36
0.553444
6c7ead9f8211077b6a7af65c1e3b7750297ba267
318
cpp
C++
Solutions-to-Books/C++Primer/Chapter03/3.02.cpp
Horizon-Blue/playground
4bd42bfcec60b8e89e127f4784c99f6ba669d359
[ "MIT" ]
2
2016-08-31T19:13:24.000Z
2017-02-18T18:48:31.000Z
Solutions-to-Books/C++Primer/Chapter03/3.02.cpp
Horizon-Blue/playground
4bd42bfcec60b8e89e127f4784c99f6ba669d359
[ "MIT" ]
1
2018-12-10T16:32:26.000Z
2018-12-27T19:50:48.000Z
Solutions-to-Books/C++Primer/Chapter03/3.02.cpp
Horizon-Blue/playground
4bd42bfcec60b8e89e127f4784c99f6ba669d359
[ "MIT" ]
null
null
null
/* Exercise 3.2: Write a program to read the standard input * a line at a time. Modify your program to read a word at * a time */ // Xiaoyan Wang 10/26/2015 #include <iostream> #include <string> using namespace std; int main() { string line; while (getline(cin, line)) cout << line << endl; return 0; }
18.705882
59
0.663522
6c85542f4b5405225ab1319c5da783e4c9f3123f
281
cpp
C++
register_types.cpp
kamilors/Godytics
e8f079a35bf67bc6bcff36061ec173517d2433ee
[ "MIT" ]
9
2017-08-08T22:18:59.000Z
2021-11-05T03:57:43.000Z
register_types.cpp
henriquelalves/Godytics
b0ac613ff877561dc29144f04694a8bd60153042
[ "MIT" ]
1
2018-03-15T10:27:26.000Z
2018-03-17T15:00:24.000Z
register_types.cpp
kamilors/Godytics
e8f079a35bf67bc6bcff36061ec173517d2433ee
[ "MIT" ]
1
2018-07-30T21:09:33.000Z
2018-07-30T21:09:33.000Z
#include "register_types.h" #include "object_type_db.h" #include "core/globals.h" #include "ios/src/godytics.h" void register_godytics_types() { Globals::get_singleton()->add_singleton(Globals::Singleton("Godytics", memnew(Godytics))); } void unregister_godytics_types() { }
23.416667
94
0.754448
6c8b318abf88c5b8ecc826173cb801f4a4992eec
5,943
hpp
C++
src/NormalCore.hpp
munhouiani/MIDAS
c9e8c0b4d4944285b7deb43ac0447ffebc06adad
[ "Apache-2.0" ]
2
2021-03-28T02:35:24.000Z
2021-08-31T16:35:00.000Z
src/NormalCore.hpp
munhouiani/MIDAS
c9e8c0b4d4944285b7deb43ac0447ffebc06adad
[ "Apache-2.0" ]
null
null
null
src/NormalCore.hpp
munhouiani/MIDAS
c9e8c0b4d4944285b7deb43ac0447ffebc06adad
[ "Apache-2.0" ]
null
null
null
// ----------------------------------------------------------------------------- // Copyright 2020 Rui Liu (liurui39660) and Siddharth Bhatia (bhatiasiddharth) // // 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 co...
34.552326
132
0.50917
6c8ce34734194fcd195d7131f5bf7e060a2a4107
947
cpp
C++
apps/2d/euler/test_exact1/AfterQinit.cpp
dcseal/finess
766e583ae9e84480640c7c3b3c157bf40ab87fe4
[ "BSD-3-Clause" ]
null
null
null
apps/2d/euler/test_exact1/AfterQinit.cpp
dcseal/finess
766e583ae9e84480640c7c3b3c157bf40ab87fe4
[ "BSD-3-Clause" ]
null
null
null
apps/2d/euler/test_exact1/AfterQinit.cpp
dcseal/finess
766e583ae9e84480640c7c3b3c157bf40ab87fe4
[ "BSD-3-Clause" ]
null
null
null
/* #include <iostream> #include <iomanip> #include "dogdefs.h" #include "IniParams.h" */ #include "DogSolverCart2.h" #include <string.h> // For strcpy and strcat (some compilers don't need this) #include "IniParams.h" // Function that is called after initial condition void AfterQinit(DogSolverCart2& solver) ...
27.852941
86
0.669483
6c8dbddac1c11a71d1f0bf12b64a9e7b95a05d59
691
hpp
C++
Public/Ava/Private/Platform/Arch.hpp
vasama/Ava
c1e6fb87a493dc46ce870220c632069f00875d2c
[ "MIT" ]
null
null
null
Public/Ava/Private/Platform/Arch.hpp
vasama/Ava
c1e6fb87a493dc46ce870220c632069f00875d2c
[ "MIT" ]
null
null
null
Public/Ava/Private/Platform/Arch.hpp
vasama/Ava
c1e6fb87a493dc46ce870220c632069f00875d2c
[ "MIT" ]
null
null
null
#pragma once #if defined(Ava_X86) \ || defined(__i386__) \ || defined(__i486__) \ || defined(__i586__) \ || defined(__i686__) \ || defined(_M_IX86) # ifndef Ava_X86 # define Ava_X86 1 # endif # define Ava_32 1 # define Ava_ARCH x86 #elif defined(Ava_X64) \ || defined(__x86_64) \ || defined(__x86_64__) \ ||...
15.704545
32
0.691751
6c8e13b5d49c84522cb7a74452c7f089529ce49c
841
cpp
C++
OJ/LeetCode/leetcode/problems/offer39.cpp
ONGOING-Z/DataStructure
9099393d1c7dfabc3e2939586ea6d1d254631eb2
[ "MIT" ]
null
null
null
OJ/LeetCode/leetcode/problems/offer39.cpp
ONGOING-Z/DataStructure
9099393d1c7dfabc3e2939586ea6d1d254631eb2
[ "MIT" ]
2
2021-10-31T10:05:45.000Z
2022-02-12T15:17:53.000Z
OJ/LeetCode/leetcode/offer39.cpp
ONGOING-Z/Learn-Algorithm-and-DataStructure
3a512bd83cc6ed5035ac4550da2f511298b947c0
[ "MIT" ]
null
null
null
#include <iostream> #include <stdio.h> #include <cstdio> #include <vector> #include <algorithm> using namespace std; /* Offer */ /* Type: */ /* 题目信息 */ /* *剑指 Offer 39. 数组中出现次数超过一半的数字 数组中有一个数字出现的次数超过数组长度的一半,请找出这个数字。   你可以假设数组是非空的,并且给定的数组总是存在多数元素。   示例 1: 输入: [1, 2, 3, 2, 2, 2, 5, 4, 2] 输出: 2   限制: 1 <= 数组长度 <=...
13.786885
44
0.530321
6c915f68204c33100c70f4ef5405fb1b844abbf3
1,205
cpp
C++
src/engine/test/maptest.cpp
eXl-Nic/eXl
a5a0f77f47db3179365c107a184bb38b80280279
[ "MIT" ]
null
null
null
src/engine/test/maptest.cpp
eXl-Nic/eXl
a5a0f77f47db3179365c107a184bb38b80280279
[ "MIT" ]
null
null
null
src/engine/test/maptest.cpp
eXl-Nic/eXl
a5a0f77f47db3179365c107a184bb38b80280279
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include <gen/floodfill.hpp> using namespace eXl; TEST(DunAtk, FloodFillTest) { AABB2Di box(Vector2i::ZERO, Vector2i::ONE * 8); { Vector<char> testVec = { -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 0, -1, -1, 0, 0, -1, -1, 0, 0, 0, -1, -1, 0, 0, -1, -1, -...
23.627451
86
0.483817
6c95b467682542463fdbce08ee620d070e45c08d
6,096
cc
C++
RecoLocalCalo/HGCalRecAlgos/src/ClusterTools.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
RecoLocalCalo/HGCalRecAlgos/src/ClusterTools.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
RecoLocalCalo/HGCalRecAlgos/src/ClusterTools.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
#include "RecoLocalCalo/HGCalRecAlgos/interface/ClusterTools.h" #include "DataFormats/DetId/interface/DetId.h" #include "DataFormats/ForwardDetId/interface/ForwardSubdetector.h" #include "DataFormats/HcalDetId/interface/HcalSubdetector.h" #include "Geometry/HGCalGeometry/interface/HGCalGeometry.h" #include "FWCore/Fr...
34.055866
119
0.636975
6c966b5fa941144b13f247c752bb089933b97764
18,592
cpp
C++
src/gpu/vk/GrVkGpuCommandBuffer.cpp
juanpca12/Google-Skia
42e6798696ac3a93a2b7ba7a9d6a84b77eba0116
[ "Apache-2.0" ]
null
null
null
src/gpu/vk/GrVkGpuCommandBuffer.cpp
juanpca12/Google-Skia
42e6798696ac3a93a2b7ba7a9d6a84b77eba0116
[ "Apache-2.0" ]
null
null
null
src/gpu/vk/GrVkGpuCommandBuffer.cpp
juanpca12/Google-Skia
42e6798696ac3a93a2b7ba7a9d6a84b77eba0116
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2016 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "GrVkGpuCommandBuffer.h" #include "GrMesh.h" #include "GrPipeline.h" #include "GrRenderTargetPriv.h" #include "GrTextureAccess.h" #include "GrTexturePriv.h" #include "GrV...
42.447489
100
0.554862
6c972bda8864d4c341abda36d045af3774fc6f79
3,151
cpp
C++
main.cpp
fogwizard/fillsize
54928fbd50989beb92676e4d6703b3b18ab93eed
[ "Apache-2.0" ]
null
null
null
main.cpp
fogwizard/fillsize
54928fbd50989beb92676e4d6703b3b18ab93eed
[ "Apache-2.0" ]
null
null
null
main.cpp
fogwizard/fillsize
54928fbd50989beb92676e4d6703b3b18ab93eed
[ "Apache-2.0" ]
null
null
null
#include <unistd.h> #include <string.h> #include "iostream" #include "stdio.h" #include "stdint.h" #include "fillsize.h" #include "mergebin.h" #include "alignbin.h" #include "ddbin.h" using namespace std; int usage(void) { cout << "Usage: fillsize <filename> [address]" << endl; return 0; } int usage_merge(vo...
23.514925
81
0.449064
6c97f885ad15183170d14e65e2a69c1f73357736
3,632
cpp
C++
src/kgw.cpp
Warants/whosa
ff46f1e5158c29601f8a83f9de77be1eca95f9f2
[ "MIT" ]
13
2017-09-17T16:54:25.000Z
2021-03-19T11:58:16.000Z
src/kgw.cpp
Warants/whosa
ff46f1e5158c29601f8a83f9de77be1eca95f9f2
[ "MIT" ]
7
2015-01-20T07:44:53.000Z
2021-11-26T18:58:38.000Z
src/kgw.cpp
Warants/whosa
ff46f1e5158c29601f8a83f9de77be1eca95f9f2
[ "MIT" ]
2
2018-01-02T16:49:00.000Z
2018-05-17T10:58:28.000Z
// Copyright (c) 2015-2015 The e-Gulden developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <math.h> #include "chain.h" #include "chainparams.h" #include "primitives/block.h" #include "uint256.h" #include "...
39.912088
178
0.683645
6c9c7eeaeeae6c6002e13a0d123fb399a645e383
414
hpp
C++
addons/handhelds/rf7800/CfgVehicles.hpp
MrDj200/task-force-arma-3-radio
21bb54d5d0e0b31b0522dc67e6923edb9ad85247
[ "RSA-MD" ]
300
2015-01-14T11:19:48.000Z
2022-01-18T19:46:55.000Z
addons/handhelds/rf7800/CfgVehicles.hpp
MrDj200/task-force-arma-3-radio
21bb54d5d0e0b31b0522dc67e6923edb9ad85247
[ "RSA-MD" ]
742
2015-01-07T05:25:39.000Z
2022-03-15T17:06:34.000Z
addons/handhelds/rf7800/CfgVehicles.hpp
MrDj200/task-force-arma-3-radio
21bb54d5d0e0b31b0522dc67e6923edb9ad85247
[ "RSA-MD" ]
280
2015-01-01T08:58:00.000Z
2022-03-23T12:37:38.000Z
class Item_TFAR_rf7800str: Item_Base_F { scope = PUBLIC; scopeCurator = PUBLIC; displayName = "RF-7800S-TR"; author = "Nkey"; vehicleClass = "Items"; class TransportItems { MACRO_ADDITEM(TFAR_rf7800str,1); }; #include "\z\tfar\addons\static_radios\edenAttributes.hpp" }; HIDDEN_C...
31.846154
101
0.705314
6c9c9307cbb8f2accc00f4d6c2b95e578f656b53
499
cpp
C++
acmicpc/2216.cpp
juseongkr/BOJ
8f10a2bf9a7d695455493fbe7423347a8b648416
[ "Apache-2.0" ]
7
2020-02-03T10:00:19.000Z
2021-11-16T11:03:57.000Z
acmicpc/2216.cpp
juseongkr/Algorithm-training
8f10a2bf9a7d695455493fbe7423347a8b648416
[ "Apache-2.0" ]
1
2021-01-03T06:58:24.000Z
2021-01-03T06:58:24.000Z
acmicpc/2216.cpp
juseongkr/Algorithm-training
8f10a2bf9a7d695455493fbe7423347a8b648416
[ "Apache-2.0" ]
1
2020-01-22T14:34:03.000Z
2020-01-22T14:34:03.000Z
#include <iostream> using namespace std; #define MAX 3001 int dp[MAX][MAX]; int main() { string s, r; int a, b, c; cin >> a >> b >> c >> s >> r; for (int i=1; i<MAX; ++i) dp[i][0] = dp[0][i] = i*b; for (int i=1; i<=s.length(); ++i) { for (int j=1; j<=r.length(); ++j) { if (s[i-1] == r[j-1]) dp[i][j]...
17.206897
82
0.452906
6c9e0c8de1a52f1b2c3ede08a3d2cecc3760e90f
2,052
hpp
C++
include/example.hpp
m1nuz/modern-cpp-opengl-examples
6e79d772b12201f5be791d5c00622b0e4ccfe2ea
[ "MIT" ]
null
null
null
include/example.hpp
m1nuz/modern-cpp-opengl-examples
6e79d772b12201f5be791d5c00622b0e4ccfe2ea
[ "MIT" ]
null
null
null
include/example.hpp
m1nuz/modern-cpp-opengl-examples
6e79d772b12201f5be791d5c00622b0e4ccfe2ea
[ "MIT" ]
null
null
null
#pragma once #include <application.hpp> #include <graphics.hpp> struct RunExampleAppInfo { std::string_view title; std::function<void( )> on_init = []( ) {}; std::function<void( )> on_update = []( ) {}; std::function<void( int, int )> on_present; std::function<void( )> on_cleanup = []( ) {}; }; c...
31.090909
119
0.60575
6ca08faebb0efa76551de501597b813846bbab56
10,679
cpp
C++
3rdparty/openmm/serialization/src/TabulatedFunctionProxies.cpp
merkys/MMB
0531385b8367405e1188e31c3eef7aa4cc50170b
[ "MIT" ]
5
2020-07-31T17:33:03.000Z
2022-01-01T19:24:37.000Z
3rdparty/openmm/serialization/src/TabulatedFunctionProxies.cpp
merkys/MMB
0531385b8367405e1188e31c3eef7aa4cc50170b
[ "MIT" ]
11
2020-06-16T05:05:42.000Z
2022-03-30T09:59:14.000Z
3rdparty/openmm/serialization/src/TabulatedFunctionProxies.cpp
merkys/MMB
0531385b8367405e1188e31c3eef7aa4cc50170b
[ "MIT" ]
9
2020-01-24T12:02:37.000Z
2020-10-16T06:23:56.000Z
/* -------------------------------------------------------------------------- * * OpenMM * * -------------------------------------------------------------------------- * * This is part of the OpenMM molecular simulation toolkit originating from * ...
51.095694
140
0.679183
6cab74507e15993510bc4f9bf6f18d5cd7894d44
1,227
cpp
C++
spicetrade/playaction.cpp
mvaganov/spicetrade
123b009365deb5b8dcdfc4a2f2dd7b28fa2f024e
[ "Unlicense" ]
null
null
null
spicetrade/playaction.cpp
mvaganov/spicetrade
123b009365deb5b8dcdfc4a2f2dd7b28fa2f024e
[ "Unlicense" ]
null
null
null
spicetrade/playaction.cpp
mvaganov/spicetrade
123b009365deb5b8dcdfc4a2f2dd7b28fa2f024e
[ "Unlicense" ]
null
null
null
#include "playaction.h" #include "game.h" #include "playerstate.h" void PlayAction::PrintAction (Game& g, const PlayAction* a, int bg) { int ofcolor = CLI::getFcolor (), obcolor = CLI::getBcolor (); CLI::setColor (CLI::COLOR::LIGHT_GRAY, bg); const int width = 5; std::string str = a?a->input:""; int leadSpace = ...
30.675
86
0.613692
6cab7fa05d581a570217933c054ae37ae60cda3c
2,236
cpp
C++
ege/ege3d/tests/Primitives.cpp
sppmacd/ege
a82ff6fccc8ac1bce5a50ed5a8f101b63f58b020
[ "MIT" ]
1
2020-12-30T17:21:11.000Z
2020-12-30T17:21:11.000Z
ege/ege3d/tests/Primitives.cpp
sppmacd/ege
a82ff6fccc8ac1bce5a50ed5a8f101b63f58b020
[ "MIT" ]
20
2020-09-02T08:37:13.000Z
2021-09-02T06:47:08.000Z
ege/ege3d/tests/Primitives.cpp
sppmacd/ege
a82ff6fccc8ac1bce5a50ed5a8f101b63f58b020
[ "MIT" ]
null
null
null
#include "ege3d/window/GLError.h" #include <ege3d/window/RenderingState.h> #include <ege3d/window/SystemEvent.h> #include <ege3d/window/Renderable.h> #include <ege3d/window/Renderer.h> #include <ege/debug/Logger.h> #include <GL/gl.h> class MyRenderable : public EGE3d::Renderable { public: virtual void render(EGE3...
27.604938
91
0.568426
6cac158add29e0233fccedc7182d74b1daa8631f
696
cpp
C++
src/acpi/apic/apic.cpp
AlexandreArduino/mykernel
488a947c87457b11471a06f3fd0544d6145806d7
[ "BSD-3-Clause" ]
9
2022-01-30T12:54:58.000Z
2022-01-30T16:51:45.000Z
src/acpi/apic/apic.cpp
AlexandreArduino/mykernel
488a947c87457b11471a06f3fd0544d6145806d7
[ "BSD-3-Clause" ]
null
null
null
src/acpi/apic/apic.cpp
AlexandreArduino/mykernel
488a947c87457b11471a06f3fd0544d6145806d7
[ "BSD-3-Clause" ]
null
null
null
#include "apic.h" APIC apic; void APIC::init(uint64_t *apic_address) { if(apic_address == NULL) Exceptions::panic("No APIC table found!"); else this->apic = (struct MADTDescriptor*)apic_address; log.log("APIC::init", "MADT table located at 0x"); log.logln(String((uint64_t)this->apic, HEXADECIMAL)); ...
31.636364
76
0.672414
6cadf170e2336281579a3af94cc8bfd4947efb1f
2,380
hpp
C++
modules/core/base/include/nt2/predicates/functions/arecatcompatible.hpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
null
null
null
modules/core/base/include/nt2/predicates/functions/arecatcompatible.hpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
null
null
null
modules/core/base/include/nt2/predicates/functions/arecatcompatible.hpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
null
null
null
//============================================================================== // Copyright 2003 - 2012 LASMEA UMR 6602 CNRS/Univ. Clermont II // Copyright 2009 - 2014 LRI UMR 8623 CNRS/Univ Paris Sud XI // Copyright 2012 - 2014 MetaScale SAS // // Distributed under the Boost...
37.1875
191
0.657563
6cb6ea097e8db7ecef00a4aa0fe85d64aeb3890c
2,569
cpp
C++
qfontdialog_c.cpp
mariuszmaximus/qt5pas-aarch64-linux-gnu
c60bbcfa5b0d7c4fe18bb21e5f2f424a5b658c1b
[ "Apache-2.0" ]
null
null
null
qfontdialog_c.cpp
mariuszmaximus/qt5pas-aarch64-linux-gnu
c60bbcfa5b0d7c4fe18bb21e5f2f424a5b658c1b
[ "Apache-2.0" ]
null
null
null
qfontdialog_c.cpp
mariuszmaximus/qt5pas-aarch64-linux-gnu
c60bbcfa5b0d7c4fe18bb21e5f2f424a5b658c1b
[ "Apache-2.0" ]
null
null
null
//****************************************************************************** // Copyright (c) 2005-2013 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the i...
29.872093
137
0.718178
6cb73fda4716b5a9fa5f0a3c719dce99a1759de1
21,058
cpp
C++
apiwznm/PnlWznmNavJob.cpp
mpsitech/wznm-WhizniumSBE
4911d561b28392d485c46e98fb915168d82b3824
[ "MIT" ]
3
2020-09-20T16:24:48.000Z
2021-12-01T19:44:51.000Z
apiwznm/PnlWznmNavJob.cpp
mpsitech/wznm-WhizniumSBE
4911d561b28392d485c46e98fb915168d82b3824
[ "MIT" ]
null
null
null
apiwznm/PnlWznmNavJob.cpp
mpsitech/wznm-WhizniumSBE
4911d561b28392d485c46e98fb915168d82b3824
[ "MIT" ]
null
null
null
/** * \file PnlWznmNavJob.cpp * API code for job PnlWznmNavJob (implementation) * \copyright (C) 2016-2020 MPSI Technologies GmbH * \author Alexander Wirthmueller (auto-generation) * \date created: 5 Dec 2020 */ // IP header --- ABOVE #include "PnlWznmNavJob.h" using namespace std; using namespace Sbecore; usin...
36.495667
269
0.693181