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
0b75e7f8ca4db9664b91fd5469ddbe4f0a9d2cb5
1,253
cpp
C++
Netcode/Graphics/DX12/DX12Fence.cpp
tyekx/netcode
c46fef1eeb33ad029d0c262d39309dfa83f76c4d
[ "MIT" ]
null
null
null
Netcode/Graphics/DX12/DX12Fence.cpp
tyekx/netcode
c46fef1eeb33ad029d0c262d39309dfa83f76c4d
[ "MIT" ]
null
null
null
Netcode/Graphics/DX12/DX12Fence.cpp
tyekx/netcode
c46fef1eeb33ad029d0c262d39309dfa83f76c4d
[ "MIT" ]
null
null
null
#include "DX12Fence.h" #include "DX12Includes.h" namespace Netcode::Graphics::DX12 { void FenceImpl::CreateResources(ID3D12Device * device) { DX_API("Failed to create fence") device->CreateFence(fenceValue, D3D12_FENCE_FLAG_NONE, IID_PPV_ARGS(fence.GetAddressOf())); fenceEvent = CreateEvent(NULL, FALSE, FALS...
23.641509
130
0.723863
tyekx
0b7a7d777152df1969704e34936e57a4fd7c41f2
5,020
cpp
C++
Libraries/RobsJuceModules/rosic/_third_party/ExprEval_v3_4/except.cpp
RobinSchmidt/RS-MET-Preliminary
6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe
[ "FTL" ]
34
2017-04-19T18:26:02.000Z
2022-02-15T17:47:26.000Z
Libraries/RobsJuceModules/rosic/_third_party/ExprEval_v3_4/except.cpp
RobinSchmidt/RS-MET-Preliminary
6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe
[ "FTL" ]
307
2017-05-04T21:45:01.000Z
2022-02-03T00:59:01.000Z
Libraries/RobsJuceModules/rosic/_third_party/ExprEval_v3_4/except.cpp
RobinSchmidt/RS-MET-Preliminary
6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe
[ "FTL" ]
4
2017-09-05T17:04:31.000Z
2021-12-15T21:24:28.000Z
// File: except.cpp // Author: Brian Vanderburg II // Purpose: ExprEval exceptions //------------------------------------------------------------------------------ // Includes #include "except.h" using namespace std; using namespace ExprEval; // Default/unknown ExprEval exception //----------------------------...
27.431694
84
0.475498
RobinSchmidt
0b7bf34ebd0a9c37557907b017c8cb38828254da
3,662
cxx
C++
mimetic/message.cxx
koniroman/mimetic
4c3715f35edc91e32265f6e9201dd3f12cd388e9
[ "MIT" ]
35
2015-02-18T16:02:18.000Z
2021-12-27T12:46:42.000Z
mimetic/message.cxx
koniroman/mimetic
4c3715f35edc91e32265f6e9201dd3f12cd388e9
[ "MIT" ]
18
2016-05-13T07:52:56.000Z
2022-03-16T11:52:58.000Z
mimetic/message.cxx
koniroman/mimetic
4c3715f35edc91e32265f6e9201dd3f12cd388e9
[ "MIT" ]
32
2015-10-27T10:59:58.000Z
2022-03-14T16:22:55.000Z
/*************************************************************************** copyright : (C) 2002-2008 by Stefano Barbato email : stefano@codesink.org $Id: message.cxx,v 1.4 2008-10-07 11:06:25 tat Exp $ ***************************************************************************/...
23.625806
77
0.678864
koniroman
0b7c4497acbbd6e74f03ac10f07ede5fa634a418
399
cpp
C++
src/main.cpp
parker-int64/-Panda_Paradise
0481fdb4ad58b0adb50c916594afc7daba559f0b
[ "MIT" ]
2
2020-09-03T02:36:31.000Z
2020-12-29T09:32:44.000Z
src/main.cpp
parker-int64/A-color-detection-demo
0481fdb4ad58b0adb50c916594afc7daba559f0b
[ "MIT" ]
null
null
null
src/main.cpp
parker-int64/A-color-detection-demo
0481fdb4ad58b0adb50c916594afc7daba559f0b
[ "MIT" ]
null
null
null
#include "../include/process_frame.hpp" #include "../include/receive_frame.hpp" int main(int argc,const char**argv){ /* Linux / Windows*/ process_frame pf; std::thread t1 (&process_frame::receive,pf); std::thread t2 (&process_frame::color_detect,pf); t1.join(); t2.join(); /* mac */ //...
19
53
0.581454
parker-int64
0b802f8d39b0af5b6b79117ab60dec0d9a0325f2
2,903
cpp
C++
source/application/ProgressDialog.cpp
sonnayasomnambula/gps-tracker
951f5b343e032c38f322da98bedb028cf8c27465
[ "MIT" ]
1
2021-07-06T10:26:40.000Z
2021-07-06T10:26:40.000Z
source/application/ProgressDialog.cpp
claudio-mattera/gps-tracker
951f5b343e032c38f322da98bedb028cf8c27465
[ "MIT" ]
null
null
null
source/application/ProgressDialog.cpp
claudio-mattera/gps-tracker
951f5b343e032c38f322da98bedb028cf8c27465
[ "MIT" ]
2
2019-09-24T14:07:44.000Z
2021-07-06T10:39:59.000Z
#include <wobjectimpl.h> #include "ProgressDialog.h" #include "ui_ProgressDialog.h" #include <cmath> #include <QDateTime> #include <QBarCategoryAxis> #include <QBarSeries> #include <QLineSeries> #include <QChart> #include <QBarSet> #include <QDateTimeAxis> #include <QValueAxis> namespace { void setupLineChart( ...
25.025862
77
0.64485
sonnayasomnambula
0b8835c6f2f367445bdfc64ef6be1e0a6a2bcccd
3,275
hpp
C++
INCLUDE/CPasswordChangeFilter.hpp
SammyB428/WFC
64aee7c7953e38c8a418ba9530339e8f4faac046
[ "BSD-2-Clause" ]
1
2021-03-29T06:09:19.000Z
2021-03-29T06:09:19.000Z
INCLUDE/CPasswordChangeFilter.hpp
SammyB428/WFC
64aee7c7953e38c8a418ba9530339e8f4faac046
[ "BSD-2-Clause" ]
null
null
null
INCLUDE/CPasswordChangeFilter.hpp
SammyB428/WFC
64aee7c7953e38c8a418ba9530339e8f4faac046
[ "BSD-2-Clause" ]
null
null
null
/* ** Author: Samuel R. Blackburn ** Internet: wfc@pobox.com ** ** Copyright, 1995-2016, Samuel R. Blackburn ** ** "You can get credit for something or get it done, but not both." ** Dr. Richard Garwin ** ** BSD License follows. ** ** Redistribution and use in source and binary forms, with or without ** modification, a...
40.9375
204
0.753588
SammyB428
0b88cc52d8b0be05ca042306fdd8159b0d08743b
1,647
cxx
C++
src/test/algorithms/UccsdAmplitudesFromCoulombIntegrals.cxx
cc4s/cc4s
bff205f8fc98f29d4b9ff8f8b6faffbda50a8555
[ "Apache-2.0" ]
null
null
null
src/test/algorithms/UccsdAmplitudesFromCoulombIntegrals.cxx
cc4s/cc4s
bff205f8fc98f29d4b9ff8f8b6faffbda50a8555
[ "Apache-2.0" ]
null
null
null
src/test/algorithms/UccsdAmplitudesFromCoulombIntegrals.cxx
cc4s/cc4s
bff205f8fc98f29d4b9ff8f8b6faffbda50a8555
[ "Apache-2.0" ]
null
null
null
/* Copyright 2021 cc4s.org * * 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 wri...
32.294118
75
0.686703
cc4s
0b8e3efd66cde1ea6ea15316b255fd3eb66b5cb1
2,537
hxx
C++
OCC/opencascade-7.2.0/x64/debug/inc/DsgPrs_Chamf2dPresentation.hxx
jiaguobing/FastCAE
2348ab87e83fe5c704e4c998cf391229c25ac5d5
[ "BSD-3-Clause" ]
2
2020-02-21T01:04:35.000Z
2020-02-21T03:35:37.000Z
OCC/opencascade-7.2.0/x64/debug/inc/DsgPrs_Chamf2dPresentation.hxx
Sunqia/FastCAE
cbc023fe07b6e306ceefae8b8bd7c12bc1562acb
[ "BSD-3-Clause" ]
1
2020-03-06T04:49:42.000Z
2020-03-06T04:49:42.000Z
OCC/opencascade-7.2.0/x64/debug/inc/DsgPrs_Chamf2dPresentation.hxx
Sunqia/FastCAE
cbc023fe07b6e306ceefae8b8bd7c12bc1562acb
[ "BSD-3-Clause" ]
1
2021-11-21T13:03:26.000Z
2021-11-21T13:03:26.000Z
// Created on: 1996-03-19 // Created by: Flore Lantheaume // Copyright (c) 1996-1999 Matra Datavision // Copyright (c) 1999-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the G...
30.939024
245
0.774143
jiaguobing
0b94fc55d3583f97bc98a566dbd450088a436079
12,525
cpp
C++
optimcoremodule.cpp
fidelechevarria/DeepAero
db3c41e4991a6a345c6461110b8754f8c96c3cbb
[ "MIT" ]
null
null
null
optimcoremodule.cpp
fidelechevarria/DeepAero
db3c41e4991a6a345c6461110b8754f8c96c3cbb
[ "MIT" ]
null
null
null
optimcoremodule.cpp
fidelechevarria/DeepAero
db3c41e4991a6a345c6461110b8754f8c96c3cbb
[ "MIT" ]
1
2020-03-24T15:07:03.000Z
2020-03-24T15:07:03.000Z
#include <Python.h> #include "OptimCore/include/dynamicModel.hpp" #define MODULE_DOC "Evolutionary optimization library for parameter estimation." typedef struct { PyObject_HEAD Model * ptrObj; } PyModel; static int PyModel_init(PyModel *self, PyObject *args, PyObject *kwds) // initialize PyMod...
40.533981
139
0.598084
fidelechevarria
0b97bdde4c8cb137bb26fe6b331e1377b0793c59
805
cxx
C++
libs/cgv_reflect_types/render/view.cxx
MarioHenze/cgv
bacb2d270b1eecbea1e933b8caad8d7e11d807c2
[ "BSD-3-Clause" ]
11
2017-09-30T12:21:55.000Z
2021-04-29T21:31:57.000Z
libs/cgv_reflect_types/render/view.cxx
MarioHenze/cgv
bacb2d270b1eecbea1e933b8caad8d7e11d807c2
[ "BSD-3-Clause" ]
2
2017-07-11T11:20:08.000Z
2018-03-27T12:09:02.000Z
libs/cgv_reflect_types/render/view.cxx
MarioHenze/cgv
bacb2d270b1eecbea1e933b8caad8d7e11d807c2
[ "BSD-3-Clause" ]
24
2018-03-27T11:46:16.000Z
2021-05-01T20:28:34.000Z
#include "view.h" #include <cgv/reflect/set_reflection_handler.h> namespace cgv { namespace reflect { namespace render { bool view::self_reflect(cgv::reflect::reflection_handler& rh) { return rh.reflect_member("focus", focus) && rh.reflect_member("view_up_dir", view_up_dir) && rh.reflect_membe...
24.393939
133
0.719255
MarioHenze
0b98914780aeae6400f1893af88bdba76e0cfb59
489
cpp
C++
Codechef/COOK130B/WAV2.cpp
mrsayan/competitive-programming
9260253700b89f42bbcbd5fc91eac4d607abc46b
[ "MIT" ]
2
2021-07-10T10:38:04.000Z
2021-07-11T17:20:41.000Z
Codechef/COOK130B/WAV2.cpp
mrsayan/competitive-programming
9260253700b89f42bbcbd5fc91eac4d607abc46b
[ "MIT" ]
null
null
null
Codechef/COOK130B/WAV2.cpp
mrsayan/competitive-programming
9260253700b89f42bbcbd5fc91eac4d607abc46b
[ "MIT" ]
null
null
null
//Problem - https://www.codechef.com/COOK130B/problems/WAV2 #include<bits/stdc++.h> using namespace std; #define ll long long void solve(){ ll n,q; cin>>n>>q; ll arr[n]; for(ll i=0;i<n;i++) cin>>arr[i]; sort(arr,arr+n); for(ll i=0;i<q;i++){ ll x; cin>>x; ll pos=lower_bound(arr,arr+n,x)-arr; if(pos<n &...
15.28125
59
0.576687
mrsayan
0b98e9ca7bba60d0046ec1be10dcdcf3b84cd921
15,273
cpp
C++
valeur_ajouter/QRCode_Generator/QRCode/src/drawable/QRBitmapDraw.cpp
SuperBatata/Sportify-QT-C---project
8c0a9630cc6577721cb0f9fe0afd1eb082b4d4ba
[ "MIT" ]
null
null
null
valeur_ajouter/QRCode_Generator/QRCode/src/drawable/QRBitmapDraw.cpp
SuperBatata/Sportify-QT-C---project
8c0a9630cc6577721cb0f9fe0afd1eb082b4d4ba
[ "MIT" ]
null
null
null
valeur_ajouter/QRCode_Generator/QRCode/src/drawable/QRBitmapDraw.cpp
SuperBatata/Sportify-QT-C---project
8c0a9630cc6577721cb0f9fe0afd1eb082b4d4ba
[ "MIT" ]
null
null
null
/* * QR Code Generator * Copyright (C) 2014 Stefano BARILETTI <hackaroth@gmail.com> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option...
25.286424
112
0.474432
SuperBatata
0b9926ec8290ded469b8d1c5fbe681aaec231830
84
cpp
C++
src/units.cpp
tomdodd4598/UCL-PHAS0100-SirrusHavenExample1
60778e3bc253d503b2ecc85d5b2ccb349aa076d2
[ "MIT" ]
null
null
null
src/units.cpp
tomdodd4598/UCL-PHAS0100-SirrusHavenExample1
60778e3bc253d503b2ecc85d5b2ccb349aa076d2
[ "MIT" ]
null
null
null
src/units.cpp
tomdodd4598/UCL-PHAS0100-SirrusHavenExample1
60778e3bc253d503b2ecc85d5b2ccb349aa076d2
[ "MIT" ]
null
null
null
#include "units.hpp" namespace units { void test_func() { } }
10.5
22
0.5
tomdodd4598
0b9ab056d50731b13adadfb9b535261db906c011
677
hpp
C++
agency/experimental/ranges/transformed.hpp
nerikhman/agency
966ac59101f2fc3561a86b11874fbe8de361d0e4
[ "BSD-3-Clause" ]
129
2016-08-18T23:24:15.000Z
2022-03-25T12:06:05.000Z
agency/experimental/ranges/transformed.hpp
nerikhman/agency
966ac59101f2fc3561a86b11874fbe8de361d0e4
[ "BSD-3-Clause" ]
86
2016-08-19T03:43:33.000Z
2020-07-20T14:27:41.000Z
agency/experimental/ranges/transformed.hpp
nerikhman/agency
966ac59101f2fc3561a86b11874fbe8de361d0e4
[ "BSD-3-Clause" ]
23
2016-08-18T23:52:13.000Z
2022-02-28T16:28:20.000Z
#pragma once #include <agency/detail/config.hpp> #include <agency/experimental/ranges/zip_with.hpp> namespace agency { namespace experimental { template<class Function, class... Ranges> using transformed_view = zip_with_view<Function, Ranges...>; // transformed() is a synonym for zip_with() // it's named transfo...
21.83871
82
0.753323
nerikhman
0b9d55ebe7221edafdc50e3b31e7762f191371fb
102
cpp
C++
Game/Event/EventMessage/BoingEvent.cpp
LukasKalinski/Gravity-Game
5c817e3ae7658e5e42a8cff760a57380eb11fe3e
[ "MIT" ]
null
null
null
Game/Event/EventMessage/BoingEvent.cpp
LukasKalinski/Gravity-Game
5c817e3ae7658e5e42a8cff760a57380eb11fe3e
[ "MIT" ]
null
null
null
Game/Event/EventMessage/BoingEvent.cpp
LukasKalinski/Gravity-Game
5c817e3ae7658e5e42a8cff760a57380eb11fe3e
[ "MIT" ]
null
null
null
#include "BoingEvent.h" BoingEvent::BoingEvent(void) { } BoingEvent::~BoingEvent(void) { }
10.2
30
0.647059
LukasKalinski
0b9e3021e02c4c79a5cd7e7a391395166c271a43
1,300
hpp
C++
kernel/fs/TTY.hpp
boulangg/phoenix
d14928ebaf8b2546e00d407c239f28c3e929181e
[ "MIT" ]
3
2016-04-22T13:29:08.000Z
2016-04-25T15:56:23.000Z
kernel/fs/TTY.hpp
boulangg/phoenix
d14928ebaf8b2546e00d407c239f28c3e929181e
[ "MIT" ]
null
null
null
kernel/fs/TTY.hpp
boulangg/phoenix
d14928ebaf8b2546e00d407c239f28c3e929181e
[ "MIT" ]
null
null
null
/* * Copyright (c) 2016 Boulanger Guillaume, Chathura Namalgamuwa * The file is distributed under the MIT license * The license is available in the LICENSE file or at https://github.com/boulangg/phoenix/blob/master/LICENSE */ #ifndef _TTY_HPP_ #define _TTY_HPP_ #include <termios.h> #include <fs/vfs/File.hpp> ...
20
109
0.680769
boulangg
0ba56477d6d056f034c24cb9bf4d6f722305fa00
895
cpp
C++
niuke_HW/ds_zuo/5_10_inorderTraversal.cpp
drt4243566/leetcode_learn
ef51f215079556895eec2252d84965cd1c3a7bf4
[ "MIT" ]
null
null
null
niuke_HW/ds_zuo/5_10_inorderTraversal.cpp
drt4243566/leetcode_learn
ef51f215079556895eec2252d84965cd1c3a7bf4
[ "MIT" ]
null
null
null
niuke_HW/ds_zuo/5_10_inorderTraversal.cpp
drt4243566/leetcode_learn
ef51f215079556895eec2252d84965cd1c3a7bf4
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <stack> using namespace std; struct TreeNode { int val; struct TreeNode *left; struct TreeNode *right; }; class Solution { public: /** * * @param root TreeNode类 * @return int整型vector */ vector<int> inorderTraversal(TreeNode* root) { ...
17.54902
50
0.475978
drt4243566
0ba56a4baf07bd6d84d75b87e27f8615cbcbdedb
8,040
hpp
C++
Project/Engine/Include/Engine/DataStream.hpp
lcomstive/Graphics-Assessment
bc52f41b31646ca5d2bb20669704db83c4f77361
[ "MIT-0" ]
null
null
null
Project/Engine/Include/Engine/DataStream.hpp
lcomstive/Graphics-Assessment
bc52f41b31646ca5d2bb20669704db83c4f77361
[ "MIT-0" ]
null
null
null
Project/Engine/Include/Engine/DataStream.hpp
lcomstive/Graphics-Assessment
bc52f41b31646ca5d2bb20669704db83c4f77361
[ "MIT-0" ]
1
2022-03-23T00:28:52.000Z
2022-03-23T00:28:52.000Z
#pragma once #include <string> #include <vector> #include <stdexcept> #include <glm/glm.hpp> #define _WRITESTREAM(type, streamType) template<> ENGINE_EXPORT DataStream* Write<type>(type t) { \ unsigned char data[sizeof(type)]; \ memcpy(data, &t, sizeof(type)); \ In...
43.459459
175
0.70199
lcomstive
2438e42c40622804f892c4a03e041a8aa3acebe9
4,777
cc
C++
hilti/codegen/instructions/old/call.cc
asilha/hilti
ebfffc7dad31059b43a02eb26abcf7a25f742eb8
[ "BSD-3-Clause" ]
46
2015-01-21T13:31:25.000Z
2020-10-27T10:18:03.000Z
hilti/codegen/instructions/old/call.cc
jjchromik/hilti-104-total
0f9e0cb7114acc157211af24f8254e4b23bd78a5
[ "BSD-3-Clause" ]
29
2015-03-30T08:23:04.000Z
2019-05-03T13:11:35.000Z
hilti/codegen/instructions/old/call.cc
jjchromik/hilti-104-total
0f9e0cb7114acc157211af24f8254e4b23bd78a5
[ "BSD-3-Clause" ]
20
2015-01-27T12:59:38.000Z
2020-10-28T21:40:47.000Z
#include <hilti.h> #include "../stmt-builder.h" using namespace hilti; using namespace codegen; void StatementBuilder::visit(statement::instruction::call::Call* i) { /* auto op1 = cg()->llvmValue(i->op1(), X); auto op2 = cg()->llvmValue(i->op2(), X); auto result = builder()-> ...
26.837079
98
0.535273
asilha
243a7895c80fb9a1ea9bf609973fdd48546db7ec
5,439
hpp
C++
src/cppruntime/include/tests/one2many_test.hpp
a-thoma/processj
fbd6c9bacad7e47eab765c9f10c398a9d03d6455
[ "Apache-2.0" ]
null
null
null
src/cppruntime/include/tests/one2many_test.hpp
a-thoma/processj
fbd6c9bacad7e47eab765c9f10c398a9d03d6455
[ "Apache-2.0" ]
null
null
null
src/cppruntime/include/tests/one2many_test.hpp
a-thoma/processj
fbd6c9bacad7e47eab765c9f10c398a9d03d6455
[ "Apache-2.0" ]
null
null
null
#ifndef ONE2MANY_TEST_HPP #define ONE2MANY_TEST_HPP namespace pj_tests { template <typename T> class one2many_writer : public pj_runtime::pj_process { public: one2many_writer() = delete; one2many_writer(int32_t id, pj_runtime::pj_one2man...
30.903409
83
0.389594
a-thoma
243e34a1928612107b695fbfaf6a9482113b43cc
1,178
cpp
C++
class12/vectors.cpp
CGCC-CS/csc220summer17
369ffb995605b95471a09e80b5b97545eb6ee8ea
[ "MIT" ]
2
2017-07-07T20:29:36.000Z
2018-04-24T22:36:19.000Z
class12/vectors.cpp
CGCC-CS/csc220summer17
369ffb995605b95471a09e80b5b97545eb6ee8ea
[ "MIT" ]
null
null
null
class12/vectors.cpp
CGCC-CS/csc220summer17
369ffb995605b95471a09e80b5b97545eb6ee8ea
[ "MIT" ]
null
null
null
#include<iostream> #include<vector> using namespace std; int main() { vector<int> v(10); // Create vector of size 10 v = {34, 23, 30, 19}; // Display the size of the vector cout << "Vector size: " << v.size() << endl; cout << "Vector capacity: " << v.capacity() << endl; // Print vector with a for l...
20.666667
61
0.5382
CGCC-CS
244cec8613223490e33709f9c847299145b92584
3,743
cpp
C++
nnforge/output_neuron_class_set.cpp
yanshanjing/nnForge
6d2baa1174a90b8e5e8bf2a4b259ce8a37fbddf1
[ "Apache-2.0" ]
1
2015-02-19T15:51:55.000Z
2015-02-19T15:51:55.000Z
nnforge/output_neuron_class_set.cpp
yanshanjing/nnForge
6d2baa1174a90b8e5e8bf2a4b259ce8a37fbddf1
[ "Apache-2.0" ]
null
null
null
nnforge/output_neuron_class_set.cpp
yanshanjing/nnForge
6d2baa1174a90b8e5e8bf2a4b259ce8a37fbddf1
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2011-2013 Maxim Milakov * * 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 applic...
34.657407
167
0.675928
yanshanjing
24512ac4c2b5cc61c8cc689ea869c1e2202c486d
60,918
cpp
C++
src/simulator_class.cpp
fl4shk/snow64_simulator
c7eea0bfbd3048217a816299c2e5d5ee58ae5b31
[ "MIT" ]
null
null
null
src/simulator_class.cpp
fl4shk/snow64_simulator
c7eea0bfbd3048217a816299c2e5d5ee58ae5b31
[ "MIT" ]
null
null
null
src/simulator_class.cpp
fl4shk/snow64_simulator
c7eea0bfbd3048217a816299c2e5d5ee58ae5b31
[ "MIT" ]
null
null
null
#include "simulator_class.hpp" #include <fstream> #include <ctype.h> #include <fenv.h> namespace snow64_simulator { Simulator::Simulator(const std::string& s_data_filename, size_t s_min_mem_amount_in_bytes) : __data_filename(s_data_filename), __mem_amount_in_bytes(s_min_mem_amount_in_bytes) { __mem_amount_in_words...
27.880092
74
0.673758
fl4shk
245324dfd16164d3f0fc5bb6c03cb90b20bff72c
1,143
cpp
C++
5. Miscellaneous Coding Interview Questions/q9-1.cpp
hsmtknj/coding-interview
46a59837609c30281e0ea715cde493dfc107ca7a
[ "MIT" ]
null
null
null
5. Miscellaneous Coding Interview Questions/q9-1.cpp
hsmtknj/coding-interview
46a59837609c30281e0ea715cde493dfc107ca7a
[ "MIT" ]
null
null
null
5. Miscellaneous Coding Interview Questions/q9-1.cpp
hsmtknj/coding-interview
46a59837609c30281e0ea715cde493dfc107ca7a
[ "MIT" ]
null
null
null
/** * [Question] * - 2つ矩形が相互に重なっているかどうかを確認するにはどうすればよいですか? * * [Solution] * - rectangle A と rectangle B は下記の4パターンいずれかを満たせば重ならない * - A が B より左 * - A が B より右 * - A が B より上 * - A が B より下 * - 上記1つも当てはまらなければ重なっている * * [Note] * - Collision Detection Algorithm に使える */ #include <iostream> t...
20.052632
59
0.579178
hsmtknj
2458ccc74b5c767d95f68456eb86c5f9b6186dac
24,557
cpp
C++
src/framework/BinaryDataEngine.cpp
Vitaliy-Grigoriev/Protocol-Analyzer
853aef9cfe355db481f558a2cdee298cc57d0ee4
[ "MIT" ]
14
2018-02-06T20:45:00.000Z
2020-06-23T06:53:51.000Z
src/framework/BinaryDataEngine.cpp
Vitaliy-Grigoriev/http2-analyzer
853aef9cfe355db481f558a2cdee298cc57d0ee4
[ "MIT" ]
null
null
null
src/framework/BinaryDataEngine.cpp
Vitaliy-Grigoriev/http2-analyzer
853aef9cfe355db481f558a2cdee298cc57d0ee4
[ "MIT" ]
6
2018-02-03T11:53:52.000Z
2020-05-07T03:10:29.000Z
// This is an open source non-commercial project. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com // ============================================================================ // Copyright (c) 2017-2019, by Vitaly Grigoriev, <Vit.link420@gmail.com>. // Th...
39.800648
163
0.579346
Vitaliy-Grigoriev
2459a1015f214660efc4267c7e36752e2bd8a0c0
2,893
cc
C++
INET_EC/common/misc/ThruputMeter.cc
LarryNguyen/ECSim-
0d3f848642e49845ed7e4c7b97dd16bd3d65ede5
[ "Apache-2.0" ]
12
2020-11-30T08:04:23.000Z
2022-03-23T11:49:26.000Z
Simulation/OMNeT++/inet/src/inet/common/misc/ThruputMeter.cc
StarStuffSteve/masters-research-project
47c1874913d0961508f033ca9a1144850eb8f8b7
[ "Apache-2.0" ]
4
2020-07-06T15:58:14.000Z
2020-07-15T21:56:36.000Z
Simulation/OMNeT++/inet/src/inet/common/misc/ThruputMeter.cc
StarStuffSteve/masters-research-project
47c1874913d0961508f033ca9a1144850eb8f8b7
[ "Apache-2.0" ]
8
2021-03-15T02:05:51.000Z
2022-03-21T13:14:02.000Z
// // Copyright (C) 2005 Andras Varga // // This program 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 // of the License, or (at your option) any later version. // // This program i...
29.824742
115
0.705496
LarryNguyen
245cf697bac31580a457da53ec126e884d9a45a9
1,240
inl
C++
cflw代码库/cflw图形_d2d.inl
cflw/cflw_cpp
4d623480ae51b78ed8292fe689197f03aba85b75
[ "MIT" ]
9
2018-10-18T18:13:14.000Z
2021-07-21T19:55:56.000Z
cflw代码库/cflw图形_d2d.inl
cflw/cflw_cpp
4d623480ae51b78ed8292fe689197f03aba85b75
[ "MIT" ]
1
2020-08-18T02:07:09.000Z
2020-08-19T12:50:55.000Z
cflw代码库/cflw图形_d2d.inl
cflw/cflw_cpp
4d623480ae51b78ed8292fe689197f03aba85b75
[ "MIT" ]
1
2019-04-22T20:35:04.000Z
2019-04-22T20:35:04.000Z
#pragma once #include "cflw图形_d2d.h" namespace cflw::图形::d2d { template<typename t> ComPtr<IDXGISurface> f取表面(const ComPtr<t> &a) { ComPtr<IDXGISurface> v表面; a.As(&v表面); return v表面; } template<typename t> ComPtr<IDXGISurface> f取表面(t *a) { static_assert(std::is_base_of<IUnknown, t>::value); ComPtr<IDXGISurface> v表...
28.181818
76
0.712903
cflw
245e0fefce3561088fcf4a58362180f3ca4ce52a
2,811
cpp
C++
src/CMAC.cpp
HamzaHajeir/CryptoLib
f3ae3dee08b48e415f5f0fae60d14b894df28322
[ "MIT" ]
null
null
null
src/CMAC.cpp
HamzaHajeir/CryptoLib
f3ae3dee08b48e415f5f0fae60d14b894df28322
[ "MIT" ]
null
null
null
src/CMAC.cpp
HamzaHajeir/CryptoLib
f3ae3dee08b48e415f5f0fae60d14b894df28322
[ "MIT" ]
null
null
null
#include "CMAC.h" #include "tools.h" #include <algorithm> // calculate_cmac(VU_8 &msg,VU_8 &result) /* Calculate cmac return to result vector */ int CryptoLib::calculate_cmac(const VU_8 &msg,VU_8 &result, const AU_8_16 &passedKey) { VU_8 output(16); int input_len = msg.size(); unsigned char key...
27.291262
120
0.650302
HamzaHajeir
24632ba91b40ea623cdaac29b08486606bfa604f
775
cpp
C++
ProjetEquipe2/ProjetEquipe2/ChargeSwordHUD.cpp
dev1ous/Great-Steamrogue
2519632f1af2d49ae68559afb615b8157416672d
[ "Apache-2.0" ]
null
null
null
ProjetEquipe2/ProjetEquipe2/ChargeSwordHUD.cpp
dev1ous/Great-Steamrogue
2519632f1af2d49ae68559afb615b8157416672d
[ "Apache-2.0" ]
null
null
null
ProjetEquipe2/ProjetEquipe2/ChargeSwordHUD.cpp
dev1ous/Great-Steamrogue
2519632f1af2d49ae68559afb615b8157416672d
[ "Apache-2.0" ]
null
null
null
#include "ChargeSwordHUD.h" #include "CacheSystem.h" ChargeSwordHUD::ChargeSwordHUD(const std::string& texture, sf::Vector2f pos, sf::Vector2f origin) : m_rectCharge(0, 0 , 80, 80), m_spriteCharge(gm::CacheSystem::AddAnyRessources<sf::Texture>(texture), m_rectCharge) { m_spriteCharge.setPosition(pos); m_sprite...
25
128
0.650323
dev1ous
2466e8ff81f3dcd96d7ab3fa9dcfe248e6b3a6c4
18,507
cpp
C++
src/backend/graph_compiler/core/src/compiler/ir/graph/outer_loop_generator.cpp
wuxun-zhang/mkl-dnn
00a239ad2c932b967234ffb528069800ffcc0334
[ "Apache-2.0" ]
null
null
null
src/backend/graph_compiler/core/src/compiler/ir/graph/outer_loop_generator.cpp
wuxun-zhang/mkl-dnn
00a239ad2c932b967234ffb528069800ffcc0334
[ "Apache-2.0" ]
null
null
null
src/backend/graph_compiler/core/src/compiler/ir/graph/outer_loop_generator.cpp
wuxun-zhang/mkl-dnn
00a239ad2c932b967234ffb528069800ffcc0334
[ "Apache-2.0" ]
null
null
null
/******************************************************************************* * Copyright 2020-2022 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://...
40.674725
81
0.582861
wuxun-zhang
24670de76a3f9a6ab9e7b956ef71c72cb9bbde92
14,050
hpp
C++
include/kangaru/detail/error.hpp
gracicot/DICL
47c89c18a599382bd39cfb80ad6e2496e4c9ce42
[ "MIT" ]
null
null
null
include/kangaru/detail/error.hpp
gracicot/DICL
47c89c18a599382bd39cfb80ad6e2496e4c9ce42
[ "MIT" ]
null
null
null
include/kangaru/detail/error.hpp
gracicot/DICL
47c89c18a599382bd39cfb80ad6e2496e4c9ce42
[ "MIT" ]
null
null
null
#ifndef KGR_KANGARU_INCLUDE_KANGARU_DETAIL_ERROR_HPP #define KGR_KANGARU_INCLUDE_KANGARU_DETAIL_ERROR_HPP #include "traits.hpp" #include "single.hpp" #include "service_check.hpp" #include "autocall_traits.hpp" #include "validity_check.hpp" namespace kgr { namespace detail { struct error_common { protected: template...
40.724638
147
0.742705
gracicot
246987b8842013d8a44ee0b8149847cc50fe27b1
2,854
cpp
C++
core/test/SceneGraph/LightTest.cpp
hhsaez/crimild
e3efee09489939338df55e8af9a1f9ddc01301f7
[ "BSD-3-Clause" ]
36
2015-03-12T10:42:36.000Z
2022-01-12T04:20:40.000Z
core/test/SceneGraph/LightTest.cpp
hhsaez/crimild
e3efee09489939338df55e8af9a1f9ddc01301f7
[ "BSD-3-Clause" ]
1
2015-12-17T00:25:43.000Z
2016-02-20T12:00:57.000Z
core/test/SceneGraph/LightTest.cpp
hhsaez/crimild
e3efee09489939338df55e8af9a1f9ddc01301f7
[ "BSD-3-Clause" ]
6
2017-06-17T07:57:53.000Z
2019-04-09T21:11:24.000Z
/* * Copyright (c) 2013, Hernan Saez * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright * notice, this list of con...
37.064935
82
0.708129
hhsaez
246bb2b1ae428562f3b7eb3c86795456a90d7de7
14,442
cpp
C++
src/myfun.cpp
coutyou/THU-NA-BIG-HW-1
acbe9899d89bef3b3e916cf27edaf9ca1d8eb40e
[ "MIT" ]
null
null
null
src/myfun.cpp
coutyou/THU-NA-BIG-HW-1
acbe9899d89bef3b3e916cf27edaf9ca1d8eb40e
[ "MIT" ]
null
null
null
src/myfun.cpp
coutyou/THU-NA-BIG-HW-1
acbe9899d89bef3b3e916cf27edaf9ca1d8eb40e
[ "MIT" ]
null
null
null
#include "myfun.h" void LabelDisplayMat(QLabel *label, Mat mat) { Mat Rgb; QImage Img; if (mat.channels() == 3)//RGB Img { cvtColor(mat, Rgb, CV_BGR2RGB);//颜色空间转换 Img = QImage((const uchar*)(Rgb.data), Rgb.cols, Rgb.rows, Rgb.cols * Rgb.channels(), QImage::Format_RGB888); } else...
34.633094
143
0.361584
coutyou
246c449c433033ff1235641890fa4387a7d451d3
2,560
cpp
C++
src/hdlAst/hdlOp.cpp
lionheart117/hdlConvertor
935941471fbb592942776d2c46af2be0b14b9b06
[ "MIT" ]
1
2022-02-17T23:32:46.000Z
2022-02-17T23:32:46.000Z
src/hdlAst/hdlOp.cpp
curiousTauseef/hdlConvertor
5041c2cca2d14f47237dc4e91fd3228a88bd01df
[ "MIT" ]
null
null
null
src/hdlAst/hdlOp.cpp
curiousTauseef/hdlConvertor
5041c2cca2d14f47237dc4e91fd3228a88bd01df
[ "MIT" ]
null
null
null
#include <hdlConvertor/hdlAst/hdlOp.h> #include <hdlConvertor/createObject.h> using namespace std; namespace hdlConvertor { namespace hdlAst { HdlOp::HdlOp() { op = HdlOpType::ARROW; operands.reserve(2); } HdlOp::HdlOp(const HdlOp &o): iHdlExprItem() { operands.reserve(o.operands.size()); for (auto &op : o.oper...
24.380952
91
0.723438
lionheart117
247015ac30226016bb32f794f8d71f99c3b1d5dc
12,790
cpp
C++
src/SegmentIntersection.cpp
anapupa/ReebHanTun
679ba774b75f4f53c502cb79f69bc9061c009eb8
[ "Unlicense" ]
null
null
null
src/SegmentIntersection.cpp
anapupa/ReebHanTun
679ba774b75f4f53c502cb79f69bc9061c009eb8
[ "Unlicense" ]
null
null
null
src/SegmentIntersection.cpp
anapupa/ReebHanTun
679ba774b75f4f53c502cb79f69bc9061c009eb8
[ "Unlicense" ]
null
null
null
/* (c) 2012 Fengtao Fan */ #include <CGAL/intersections.h> #include <CGAL/Exact_predicates_inexact_constructions_kernel.h> #include <CGAL/Exact_predicates_exact_constructions_kernel.h> #include <vector> #include "SegmentIntersection.h" namespace IntersectonComputing { typedef CGAL::Exact_predicates...
52.633745
121
0.377952
anapupa
24706c279362eae36f189b7997cd62307e9e739d
32,371
cpp
C++
Source/GmmLib/Texture/GmmGen7Texture.cpp
edwarddavidbaker/gmmlib
1c975c52634172376b49f2983d4d0fd7049302f9
[ "MIT" ]
126
2017-09-29T20:02:04.000Z
2022-03-25T14:11:42.000Z
Source/GmmLib/Texture/GmmGen7Texture.cpp
edwarddavidbaker/gmmlib
1c975c52634172376b49f2983d4d0fd7049302f9
[ "MIT" ]
84
2017-12-18T23:16:27.000Z
2022-03-24T09:08:30.000Z
Source/GmmLib/Texture/GmmGen7Texture.cpp
edwarddavidbaker/gmmlib
1c975c52634172376b49f2983d4d0fd7049302f9
[ "MIT" ]
85
2017-12-01T00:15:49.000Z
2022-03-20T02:57:38.000Z
/*============================================================================== Copyright(c) 2017 Intel Corporation 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 w...
35.650881
208
0.575361
edwarddavidbaker
2471d7ab4db98aa119e260754fc0c2ea9c967671
646
cpp
C++
Servercpp/ServerCPP/ServerCPP/lib/Communication/ApplicationLayer/Instruction/Instruction.cpp
RobotGuide/RobotGuideProject
ba7fcc4a0fc4eb6b743ddbaeb75e7ae114eefb4e
[ "MIT" ]
2
2021-01-27T20:06:54.000Z
2021-03-02T14:30:37.000Z
Servercpp/ServerCPP/ServerCPP/lib/Communication/ApplicationLayer/Instruction/Instruction.cpp
RobotGuide/RobotGuideProject
ba7fcc4a0fc4eb6b743ddbaeb75e7ae114eefb4e
[ "MIT" ]
null
null
null
Servercpp/ServerCPP/ServerCPP/lib/Communication/ApplicationLayer/Instruction/Instruction.cpp
RobotGuide/RobotGuideProject
ba7fcc4a0fc4eb6b743ddbaeb75e7ae114eefb4e
[ "MIT" ]
null
null
null
#include "robotguide/Communication/ApplicationLayer/Instruction/Instruction.h" #include "robotguide/Communication/ApplicationLayer/Instruction/InstructionPrinter.h" #include <memory> using namespace robotguide; using namespace com; using namespace applicationlayer; Instruction::Instruction(const InstructionType type_...
23.925926
96
0.803406
RobotGuide
24741cda6b9361cc1743700909b25b64ccdf591d
3,014
cpp
C++
src/kits/support/Beep.cpp
stasinek/BHAPI
5d9aa61665ae2cc5c6e34415957d49a769325b2b
[ "BSD-3-Clause", "MIT" ]
3
2018-05-21T15:32:32.000Z
2019-03-21T13:34:55.000Z
src/kits/support/Beep.cpp
stasinek/BHAPI
5d9aa61665ae2cc5c6e34415957d49a769325b2b
[ "BSD-3-Clause", "MIT" ]
null
null
null
src/kits/support/Beep.cpp
stasinek/BHAPI
5d9aa61665ae2cc5c6e34415957d49a769325b2b
[ "BSD-3-Clause", "MIT" ]
null
null
null
/* -------------------------------------------------------------------------- * * BHAPI++ Copyright (C) 2017, Stanislaw Stasiak, based on Haiku source-code, All Rights Reserved * * BHAPI++ library is a freeware; it may be used and distributed according to * the terms of The MIT License. * * Permission is hereby...
36.313253
97
0.693099
stasinek
24790e7b549441fa9d0d65b6589e40c27f63bb6a
400
cpp
C++
Classwork/Important Examples/minRec.cpp
5ko99/FMI-Semester-2
a7e7f2cc1ae7b3198728197c8b70d14156eb0996
[ "MIT" ]
null
null
null
Classwork/Important Examples/minRec.cpp
5ko99/FMI-Semester-2
a7e7f2cc1ae7b3198728197c8b70d14156eb0996
[ "MIT" ]
null
null
null
Classwork/Important Examples/minRec.cpp
5ko99/FMI-Semester-2
a7e7f2cc1ae7b3198728197c8b70d14156eb0996
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; double min(double* arr,int n) { double subArrayMin; if(n == 1) { return arr[0]; } subArrayMin=min(arr,n-1); if(subArrayMin<arr[n-1]){ return subArrayMin; } return arr[n-1]; } int main(){ int n=5; double arr[20]; for(int i=0;...
18.181818
31
0.53
5ko99
2481da25a6e750377e3c98612d25b4f457e670f3
5,479
cpp
C++
src/apps/vectorwar/main.cpp
sixprime/ggpo
824b25f23bd6a01a268ed88074d082f4ba519e41
[ "MIT" ]
null
null
null
src/apps/vectorwar/main.cpp
sixprime/ggpo
824b25f23bd6a01a268ed88074d082f4ba519e41
[ "MIT" ]
null
null
null
src/apps/vectorwar/main.cpp
sixprime/ggpo
824b25f23bd6a01a268ed88074d082f4ba519e41
[ "MIT" ]
null
null
null
#include <windows.h> #include <stdio.h> #if defined(_DEBUG) # include <crtdbg.h> #endif #include "vectorwar.h" #include "ggpo_perfmon.h" LRESULT CALLBACK MainWindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) { switch (uMsg) { case WM_ERASEBKGND: r...
29.456989
133
0.592444
sixprime
24821e2e6ee0e40a6d6a4df247bb0a1b8e488c0d
1,076
hpp
C++
src/dfftpack.hpp
biotrump/nufft
499cecd77eefd2255e3e52cc67413b4688b12916
[ "BSD-2-Clause-FreeBSD" ]
5
2016-03-17T17:44:20.000Z
2021-11-10T12:29:10.000Z
src/dfftpack.hpp
biotrump/nufft
499cecd77eefd2255e3e52cc67413b4688b12916
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
src/dfftpack.hpp
biotrump/nufft
499cecd77eefd2255e3e52cc67413b4688b12916
[ "BSD-2-Clause-FreeBSD" ]
6
2017-07-29T02:22:03.000Z
2021-08-25T07:02:47.000Z
#ifndef DFFTPACK_HPP #define DFFTPACK_HPP #include <complex> extern "C" void dfftb_(int *, double *, double *); extern "C" void dfftf_(int *, double *, double *); extern "C" void dffti_(int *, double *); extern "C" void dzffti_(int *, double *); extern "C" void dzfftf_(int *, double *, double *, double *, double *, ...
32.606061
81
0.639405
biotrump
24846afe7212c6afb803e3cb25592d89a9d3539c
92
tpp
C++
src/utility.tpp
Diapolo10/TAMK-Exercise-library
b249538c8bfa6dd4c6126babcdeeb0f9bb601591
[ "MIT" ]
null
null
null
src/utility.tpp
Diapolo10/TAMK-Exercise-library
b249538c8bfa6dd4c6126babcdeeb0f9bb601591
[ "MIT" ]
null
null
null
src/utility.tpp
Diapolo10/TAMK-Exercise-library
b249538c8bfa6dd4c6126babcdeeb0f9bb601591
[ "MIT" ]
1
2020-02-10T18:35:30.000Z
2020-02-10T18:35:30.000Z
// Template definitions may be moved here in the future, to avoid cluttering the header file
92
92
0.804348
Diapolo10
2484714507e90aad8e75a6532c2efdd0485ebcac
15,065
cc
C++
src/debug/wasm/gdb-server/gdb-server.cc
zingdle/v8
3abe95def30792089427750a4ccbe548addd2518
[ "BSD-3-Clause" ]
1
2022-01-14T10:13:45.000Z
2022-01-14T10:13:45.000Z
src/debug/wasm/gdb-server/gdb-server.cc
zingdle/v8
3abe95def30792089427750a4ccbe548addd2518
[ "BSD-3-Clause" ]
null
null
null
src/debug/wasm/gdb-server/gdb-server.cc
zingdle/v8
3abe95def30792089427750a4ccbe548addd2518
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2020 the V8 project 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 "src/debug/wasm/gdb-server/gdb-server.h" #include <inttypes.h> #include <functional> #include "src/api/api-inl.h" #include "src/api/api.h" #in...
33.329646
80
0.664919
zingdle
248eab783fbdbe41ab5c4421fc37cf718724130c
2,448
hpp
C++
kdl/schema/resource_type/resource_type.hpp
EvocationGames/libKDL
90eb2ce71a1545f6e33164230f0e5d6ece0acaa7
[ "MIT" ]
null
null
null
kdl/schema/resource_type/resource_type.hpp
EvocationGames/libKDL
90eb2ce71a1545f6e33164230f0e5d6ece0acaa7
[ "MIT" ]
null
null
null
kdl/schema/resource_type/resource_type.hpp
EvocationGames/libKDL
90eb2ce71a1545f6e33164230f0e5d6ece0acaa7
[ "MIT" ]
null
null
null
// Copyright (c) 2021 Tom Hancocks // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, ...
40.131148
105
0.715278
EvocationGames
248fa5e994c103db762f88ef8a76ea8a201f5300
6,575
hpp
C++
d2suite/src/common/d2_sa.hpp
bobye/d2suite
b5a76af2be8a35ac2194865d58fe6424394c042d
[ "Apache-2.0" ]
1
2019-08-21T04:47:05.000Z
2019-08-21T04:47:05.000Z
d2suite/src/common/d2_sa.hpp
bobye/d2suite
b5a76af2be8a35ac2194865d58fe6424394c042d
[ "Apache-2.0" ]
null
null
null
d2suite/src/common/d2_sa.hpp
bobye/d2suite
b5a76af2be8a35ac2194865d58fe6424394c042d
[ "Apache-2.0" ]
null
null
null
#ifndef _D2_SA_H_ #define _D2_SA_H_ #include "common.hpp" #include "d2.hpp" #include "cblas.h" #include "blas_like.h" #include <random> namespace d2 { /*! * SA Gibbs sampler with n iterations */ #define eps (1E-16) namespace internal { struct SACache { real_t *_m; real_t *_mtmp; re...
29.617117
118
0.578099
bobye
248fd73ed699e7b744ccb88f0b90534383169eba
1,525
cpp
C++
src/libwalletqt/TransactionInfo.cpp
moneromooo-monero/monero-core
05046a5f21711fc049300b123d2f4b49f185a1d9
[ "BSD-3-Clause" ]
1
2021-05-28T20:11:37.000Z
2021-05-28T20:11:37.000Z
src/libwalletqt/TransactionInfo.cpp
luigi1111/monero-core
05046a5f21711fc049300b123d2f4b49f185a1d9
[ "BSD-3-Clause" ]
null
null
null
src/libwalletqt/TransactionInfo.cpp
luigi1111/monero-core
05046a5f21711fc049300b123d2f4b49f185a1d9
[ "BSD-3-Clause" ]
1
2017-02-04T21:05:56.000Z
2017-02-04T21:05:56.000Z
#include "TransactionInfo.h" #include "WalletManager.h" #include <QDateTime> TransactionInfo::Direction TransactionInfo::direction() const { return static_cast<Direction>(m_pimpl->direction()); } bool TransactionInfo::isPending() const { return m_pimpl->isPending(); } bool TransactionInfo::isFailed() const ...
20.608108
84
0.72918
moneromooo-monero
2491a8526ee7ada6a19e481feab84fbb7fa83d44
6,828
cpp
C++
src/editor.cpp
matadini/TechDemo-SFML-Box2D
fff2d0850c7cfb68926114857abfaf2a8b00e257
[ "Zlib" ]
null
null
null
src/editor.cpp
matadini/TechDemo-SFML-Box2D
fff2d0850c7cfb68926114857abfaf2a8b00e257
[ "Zlib" ]
null
null
null
src/editor.cpp
matadini/TechDemo-SFML-Box2D
fff2d0850c7cfb68926114857abfaf2a8b00e257
[ "Zlib" ]
null
null
null
/* TechDemo SFML/Box2D Copyright (C) 2016 Matadini (matadini@hotmail.com) This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any ...
31.611111
95
0.501611
matadini
249ad10bacd2e1f0f622a23688f489d640a7aa7b
1,524
cpp
C++
ARF/algorithms/4-featureExtraction/ZCR.cpp
avenix/WDK-Runtime
f63eb6c33860edf4dc49404726db9022bced933f
[ "MIT" ]
3
2020-01-18T11:08:08.000Z
2021-04-20T10:55:38.000Z
ARF/algorithms/4-featureExtraction/ZCR.cpp
avenix/WDK-Runtime
f63eb6c33860edf4dc49404726db9022bced933f
[ "MIT" ]
5
2020-01-27T15:12:18.000Z
2020-01-27T15:12:51.000Z
ARF/algorithms/4-featureExtraction/ZCR.cpp
avenix/activity-recognition-framework
f63eb6c33860edf4dc49404726db9022bced933f
[ "MIT" ]
null
null
null
/** ARF MIT License Copyright (c) <2019> <Juan Haladjian> 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, m...
38.1
104
0.746719
avenix
249f411267472e091f8335b17b994d91d6313021
3,153
cpp
C++
14.Tickets/Tickets/Store.cpp
ihristova11/oop-tickets-system
367197f8c2dd4b4125771cda7052c89436c2bc11
[ "MIT" ]
null
null
null
14.Tickets/Tickets/Store.cpp
ihristova11/oop-tickets-system
367197f8c2dd4b4125771cda7052c89436c2bc11
[ "MIT" ]
null
null
null
14.Tickets/Tickets/Store.cpp
ihristova11/oop-tickets-system
367197f8c2dd4b4125771cda7052c89436c2bc11
[ "MIT" ]
null
null
null
#include "Store.h" Store::Store() // todo { this->seed(); } Store::Store(const Store& other) { copyInternals(other); } Store& Store::operator=(const Store& other) { if (this != &other) { copyInternals(other); } return *this; } Hall Store::getHallWithId(const int& hallId) const { Hall hall; //find hall wi...
20.211538
127
0.605455
ihristova11
249f7f1a31a722bc780869efb05b791e4ac6171a
3,812
cpp
C++
C-Plus-Plus/Graph/Astar.cpp
19-1-skku-oss/2019-1-OSS-L2
40cef694a9442b983da080d23913f34641b2fa4d
[ "MIT" ]
null
null
null
C-Plus-Plus/Graph/Astar.cpp
19-1-skku-oss/2019-1-OSS-L2
40cef694a9442b983da080d23913f34641b2fa4d
[ "MIT" ]
25
2019-05-28T09:49:06.000Z
2019-06-07T14:27:53.000Z
C-Plus-Plus/Graph/Astar.cpp
19-1-skku-oss/2019-1-OSS-L2
40cef694a9442b983da080d23913f34641b2fa4d
[ "MIT" ]
1
2019-12-08T11:00:31.000Z
2019-12-08T11:00:31.000Z
//Astar example(8 puzzle ) #include<iostream> #include<algorithm> #include<stdio.h> #include<vector> using namespace std; #define DEG 3 //Number of rows and columns const bool SUCCESS=true; class state { public: int board[DEG][DEG]; int g,f; state *came_from; state() { g=0; f=0; came_from = NULL; } ...
19.548718
90
0.610703
19-1-skku-oss
24ac336c00ddde2151a69cd6164fd4af70d8165c
4,577
cpp
C++
Portal-stein/Portal-steinTest/GeometryTest.cpp
jeysym/portal-stein
33cb29f66f9adb89f545b105ad1cdeaed9460c63
[ "MIT" ]
null
null
null
Portal-stein/Portal-steinTest/GeometryTest.cpp
jeysym/portal-stein
33cb29f66f9adb89f545b105ad1cdeaed9460c63
[ "MIT" ]
null
null
null
Portal-stein/Portal-steinTest/GeometryTest.cpp
jeysym/portal-stein
33cb29f66f9adb89f545b105ad1cdeaed9460c63
[ "MIT" ]
null
null
null
#include "gtest\gtest.h" #include "Common.hpp" #include "..\Portal-stein\Geometry.hpp" #include "..\Portal-stein\Math.hpp" using namespace ps; class GeometryTest : public ::testing::Test { public: GeometryTest() : lsA(sf::Vector2f{ 0.0f, 1.0f }, sf::Vector2f{ 2.0f, 1.0f }), lsB(sf::Vector2f{ 1.0f, 2.0f }, sf::Ve...
37.516393
106
0.699148
jeysym
24ad554c15cecbd016f6d423f478c3e72cc7264b
1,703
cpp
C++
hpi/prograpark-examples/exstrf/src/dllmain.cpp
vain0x/hsp-projects
6b75501b7bb79c6af8b091c4bb347c2579de35fd
[ "Unlicense" ]
1
2017-12-28T13:40:50.000Z
2017-12-28T13:40:50.000Z
hpi/prograpark-examples/exstrf/src/dllmain.cpp
vain0x/hsp-projects
6b75501b7bb79c6af8b091c4bb347c2579de35fd
[ "Unlicense" ]
null
null
null
hpi/prograpark-examples/exstrf/src/dllmain.cpp
vain0x/hsp-projects
6b75501b7bb79c6af8b091c4bb347c2579de35fd
[ "Unlicense" ]
null
null
null
// exstrf.hpi #include "dllmain.h" #include "cmd.h" // 関数宣言 extern int cmdfunc(int cmd); extern void *reffunc(int *type_res, int cmd); extern int ProcFunc(int cmd, void **ppResult); //------------------------------------------------ // 命令コマンド呼び出し関数 //------------------------------------------------ static int...
23.328767
79
0.51145
vain0x
24b4cd5f74ea62fe7208bc3c59146a05c4291d3d
6,739
cpp
C++
ImageFilterInitial/Source/test_FilterImage.cpp
SonicYeager/CppPractice
05b80ac918648ba733ec5fce969eac4b2ae79b58
[ "MIT" ]
null
null
null
ImageFilterInitial/Source/test_FilterImage.cpp
SonicYeager/CppPractice
05b80ac918648ba733ec5fce969eac4b2ae79b58
[ "MIT" ]
9
2020-10-26T10:14:46.000Z
2020-10-27T12:13:51.000Z
ImageFilterInitial/Source/test_FilterImage.cpp
SonicYeager/CppPractice
05b80ac918648ba733ec5fce969eac4b2ae79b58
[ "MIT" ]
null
null
null
#include <gmock/gmock.h> #include "FilterImage.h" #include "LoadSaveImage.h" #pragma region Prepare class TestFilterImage : public testing::Test { public: RGBImage GenerateImageWithVerticalLine() { RGBImage img( { Pixel{10}, Pixel{87}, Pixel{12}, Pixel{2}, // Pixel{17}, Pixel{91}, Pixel{...
30.912844
113
0.657961
SonicYeager
24b68e57b5138d7c8d008ec34ebe4e0bf9c5e6a8
13,500
cpp
C++
Source/10.0.18362.0/ucrt/filesystem/findfile.cpp
825126369/UCRT
8853304fdc2a5c216658d08b6dbbe716aa2a7b1f
[ "MIT" ]
2
2021-01-27T10:19:30.000Z
2021-02-09T06:24:30.000Z
Source/10.0.18362.0/ucrt/filesystem/findfile.cpp
825126369/UCRT
8853304fdc2a5c216658d08b6dbbe716aa2a7b1f
[ "MIT" ]
null
null
null
Source/10.0.18362.0/ucrt/filesystem/findfile.cpp
825126369/UCRT
8853304fdc2a5c216658d08b6dbbe716aa2a7b1f
[ "MIT" ]
1
2021-01-27T10:19:36.000Z
2021-01-27T10:19:36.000Z
/*** *findfile.c - C find file functions * * Copyright (c) Microsoft Corporation. All rights reserved. * *Purpose: * Defines _findfirst(), _findnext(), and _findclose(). * *******************************************************************************/ #include <corecrt_internal.h> #include <errno.h> #incl...
34.090909
149
0.690444
825126369
24b7b567a60eb31dc62b371a30b485aab1ede450
1,187
cpp
C++
src/mesh.cpp
pmkalshetti/parametric_sphere_fitting
1d86a18a997ecbc6ab4234c9550db1cc6c707b42
[ "MIT" ]
3
2020-10-26T07:50:04.000Z
2022-02-13T00:41:14.000Z
src/mesh.cpp
pmkalshetti/parametric_sphere_fitting
1d86a18a997ecbc6ab4234c9550db1cc6c707b42
[ "MIT" ]
null
null
null
src/mesh.cpp
pmkalshetti/parametric_sphere_fitting
1d86a18a997ecbc6ab4234c9550db1cc6c707b42
[ "MIT" ]
null
null
null
#include "mesh.h" void Mesh::update_adjacencies() { // find the adjacent faces to each face face_adj.resize(3, tri_mesh->triangles_.size()); face_adj.fill(-1); for (int f{0}; f < tri_mesh->triangles_.size(); ++f) { for (int k{0}; k < 3; ++k) { // find the kth edge ...
28.261905
112
0.397641
pmkalshetti
24b97a591369f7543bbb061fef5b700b5f165300
7,900
hh
C++
sensactIO_firmware/main/milight2manager.hh
klaus-liebler/sensactIO
a84f45c06dd47dc635b12472e258afdabe82a158
[ "MIT" ]
null
null
null
sensactIO_firmware/main/milight2manager.hh
klaus-liebler/sensactIO
a84f45c06dd47dc635b12472e258afdabe82a158
[ "MIT" ]
null
null
null
sensactIO_firmware/main/milight2manager.hh
klaus-liebler/sensactIO
a84f45c06dd47dc635b12472e258afdabe82a158
[ "MIT" ]
null
null
null
#pragma once #define TAG "MI2MA" enum class eSliderMode { RGB_WWCW, RGB_RGB, LED_CC, }; namespace keycode1 { constexpr uint8_t K1_1 = 1; constexpr uint8_t K1_0 = 10; constexpr uint8_t K2_1 = 2; constexpr uint8_t K2_0 = 11; constexpr uint8_t K3_1 = 3; constexpr uint8_t K3_0 = 12; ...
41.578947
131
0.598101
klaus-liebler
24c15dbd3270a93e00a56e31518a0855e9f1b731
1,380
cpp
C++
codeforces/C - Banh-mi/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
1
2022-02-11T16:55:36.000Z
2022-02-11T16:55:36.000Z
codeforces/C - Banh-mi/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
codeforces/C - Banh-mi/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
/**************************************************************************************** * @author: kzvd4729 created: Nov/14/2018 22:55 * solution_verdict: Accepted language: GNU C++14 * run...
27.6
111
0.415217
kzvd4729
24c46c08482795586b1bae3716ecb49199962b81
874
cpp
C++
src/core/object.cpp
stein2k/jeepney
e9bb626ee31b0404fc68bdbc1667ffaa12de78d9
[ "MIT" ]
null
null
null
src/core/object.cpp
stein2k/jeepney
e9bb626ee31b0404fc68bdbc1667ffaa12de78d9
[ "MIT" ]
null
null
null
src/core/object.cpp
stein2k/jeepney
e9bb626ee31b0404fc68bdbc1667ffaa12de78d9
[ "MIT" ]
null
null
null
#include <kakaako/configuration.h> #include <kakaako/memory.h> #include <kakaako/object.h> void * kakaako::FLAC__Object_Malloc(size_t n) { return __kakaako_preprocessor_Mem_MALLOC(n); } kakaako::FLAC__Object * kakaako::FLAC__TypeObject_GenericAlloc(FLAC__TypeObject *type, ssize_t nitems) { // func...
25.705882
99
0.726545
stein2k
24c6a22b4daa5b36362dd4452b569e585b7f0924
263
cpp
C++
Competitions/Codeforces/Codeforces Round #364 (Div. 2)/Cells Not Under Attack.cpp
cnm06/Competitive-Programming
94242ae458570d503b8218f37624b88cc5020d23
[ "MIT" ]
994
2017-02-28T06:13:47.000Z
2022-03-31T10:49:00.000Z
Competitions/Codeforces/Codeforces Round #364 (Div. 2)/Cells Not Under Attack.cpp
Quadrified/Competitive-Programming
bccb69952cc5260fb3647b3301ddac1023dacac8
[ "MIT" ]
16
2018-01-01T02:59:55.000Z
2021-11-22T12:49:16.000Z
Competitions/Codeforces/Codeforces Round #364 (Div. 2)/Cells Not Under Attack.cpp
Quadrified/Competitive-Programming
bccb69952cc5260fb3647b3301ddac1023dacac8
[ "MIT" ]
325
2017-06-15T03:32:43.000Z
2022-03-28T22:43:42.000Z
#include <bits/stdc++.h> using namespace std; long long int n, m, a, b, i, j; set<int> v, u; int main() { cin>>n>>m; for(i=0;i<m;i++){ cin>>a>>b; v.insert(a); u.insert(b); cout<<(n-v.size())*(n-u.size())<<" "; } return 0; }
16.4375
45
0.463878
cnm06
24c874663189d7726a301fac86a14569010c904b
3,979
cpp
C++
Features/src/Host/Connection.cpp
ProtocolONE/cord.app
0defd4e2cbc25d4f414fa68f8c1dfe65eadc02e7
[ "Apache-2.0" ]
8
2019-01-16T07:09:39.000Z
2020-11-06T23:13:46.000Z
Features/src/Host/Connection.cpp
ProtocolONE/cord.app
0defd4e2cbc25d4f414fa68f8c1dfe65eadc02e7
[ "Apache-2.0" ]
null
null
null
Features/src/Host/Connection.cpp
ProtocolONE/cord.app
0defd4e2cbc25d4f414fa68f8c1dfe65eadc02e7
[ "Apache-2.0" ]
3
2019-09-30T02:45:09.000Z
2019-09-30T23:17:26.000Z
#include <Host/Connection.h> #include <Host/Bridge/ConnectionBridge.h> #include <Host/Dbus/ConnectionBridgeAdaptor.h> #include <QtCore/QDebug> using P1::RestApi::ProtocolOneCredential; namespace P1 { namespace Host { Connection::Connection(const QDBusConnection& connection, QObject *parent /*= ...
27.253425
96
0.627293
ProtocolONE
24cdc037742373d2682a51674e7c83461f4d12d3
347
hpp
C++
Types/Units/Numerics/GpUnitsNumerics_UInt64.hpp
heimusharper/GpCore2
b3b443e8a06ae0121eeb23b93af747f1ce95e15a
[ "MIT" ]
null
null
null
Types/Units/Numerics/GpUnitsNumerics_UInt64.hpp
heimusharper/GpCore2
b3b443e8a06ae0121eeb23b93af747f1ce95e15a
[ "MIT" ]
1
2020-06-19T18:38:40.000Z
2020-06-19T18:38:40.000Z
Types/Units/Numerics/GpUnitsNumerics_UInt64.hpp
heimusharper/GpCore2
b3b443e8a06ae0121eeb23b93af747f1ce95e15a
[ "MIT" ]
6
2020-06-04T07:32:59.000Z
2021-05-17T15:41:30.000Z
#pragma once #include "../GpUnit.hpp" namespace GPlatform { class GpUnitType_NUMERIC_U_INT_64; using UInt64 = GpUnit<u_int_64, GpUnitType_NUMERIC_U_INT_64, std::ratio<1, 1>, decltype("u_int_64"_template_str)>; constexpr UInt64 operator"" _u_int_64 (const unsigned long long aValue) {return UInt64::SMake(...
24.785714
115
0.743516
heimusharper
24d0c8e692a670c81abbc57ffb8e4ea3ff386115
389
hpp
C++
include/MemeEditor/ImGui_Builtin.hpp
Gurman8r/CppSandbox
a0f1cf0ade69ecaba4d167c0611a620914155e53
[ "MIT" ]
null
null
null
include/MemeEditor/ImGui_Builtin.hpp
Gurman8r/CppSandbox
a0f1cf0ade69ecaba4d167c0611a620914155e53
[ "MIT" ]
null
null
null
include/MemeEditor/ImGui_Builtin.hpp
Gurman8r/CppSandbox
a0f1cf0ade69ecaba4d167c0611a620914155e53
[ "MIT" ]
null
null
null
#ifndef _ML_IMGUI_BUILTIN_HPP_ #define _ML_IMGUI_BUILTIN_HPP_ #include <MemeEditor/Export.hpp> namespace ml { // ImGui Demo Windows class ML_EDITOR_API ImGui_Builtin final { public: static void showDemo(bool * p_open); static void showMetrics(bool * p_open); static void showStyle(bool * p_open); static vo...
20.473684
41
0.758355
Gurman8r
24d5b8d6860de335cf25225d353cfcc3e057bff8
463
hpp
C++
cpp_project/utils.hpp
morelli690/trinity-cpp-loader
7c14c900289006875040bb608cacd0d0f70e908f
[ "MIT" ]
null
null
null
cpp_project/utils.hpp
morelli690/trinity-cpp-loader
7c14c900289006875040bb608cacd0d0f70e908f
[ "MIT" ]
null
null
null
cpp_project/utils.hpp
morelli690/trinity-cpp-loader
7c14c900289006875040bb608cacd0d0f70e908f
[ "MIT" ]
1
2020-03-26T09:44:23.000Z
2020-03-26T09:44:23.000Z
#using <deps/Handler.dll> #using <deps/Newtonsoft.Json.dll> #using <deps/TrinitySeal.dll> #include <iostream> #include <string> #include <locale> #include <codecvt> #include <msclr/marshal.h> #include <WinUser.h> #include <fstream> #include <iomanip> class utils { public: static void check_dlls(); static std::s...
19.291667
65
0.736501
morelli690
24d6abee7cf40f677aaa28008b6edb7e7fee01a9
936
cpp
C++
WhoWinsThePrincess.cpp
KatharinaXeniaKufieta/CppExercises
82ba695ec8209b39a26b6f446f3bb64c99e1f9bf
[ "Apache-2.0" ]
1
2021-04-08T18:33:41.000Z
2021-04-08T18:33:41.000Z
WhoWinsThePrincess.cpp
KatharinaXeniaKufieta/CppExercises
82ba695ec8209b39a26b6f446f3bb64c99e1f9bf
[ "Apache-2.0" ]
null
null
null
WhoWinsThePrincess.cpp
KatharinaXeniaKufieta/CppExercises
82ba695ec8209b39a26b6f446f3bb64c99e1f9bf
[ "Apache-2.0" ]
1
2019-10-14T15:01:33.000Z
2019-10-14T15:01:33.000Z
/* n suitors, remove every 3rd suitor until only one is left */ #include <vector> #include <iostream> using namespace std; int getWinner(int suitors); void printVector(const vector<int> &v); int main() { int n; cout << "How many suitors are there? "; cin >> n; int winner = getWinner(n); cout << "The winn...
18
57
0.54594
KatharinaXeniaKufieta
24dcb122b94eb3678bc8b37d6a19246efe7bc51a
6,073
cpp
C++
kcfi/llvm-kcfi/lib/Target/NVPTX/NVPTXLowerKernelArgs.cpp
IntelSTORM/Projects
b983417a5ca22c7679da5a1144b348863bea5698
[ "Intel" ]
1
2022-01-11T11:12:00.000Z
2022-01-11T11:12:00.000Z
kcfi/llvm-kcfi/lib/Target/NVPTX/NVPTXLowerKernelArgs.cpp
IntelSTORMteam/Jurassic-Projects
b983417a5ca22c7679da5a1144b348863bea5698
[ "Intel" ]
null
null
null
kcfi/llvm-kcfi/lib/Target/NVPTX/NVPTXLowerKernelArgs.cpp
IntelSTORMteam/Jurassic-Projects
b983417a5ca22c7679da5a1144b348863bea5698
[ "Intel" ]
null
null
null
//===-- NVPTXLowerKernelArgs.cpp - Lower kernel arguments -----------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
35.51462
80
0.62325
IntelSTORM
24e0029bfa0aea529ed9c865449ec340bda897cb
1,504
cpp
C++
example/test_basic.cpp
lingjf/h2un
7735c2f07f58ea8b92a9e9608c9b45c98c94c670
[ "Apache-2.0" ]
null
null
null
example/test_basic.cpp
lingjf/h2un
7735c2f07f58ea8b92a9e9608c9b45c98c94c670
[ "Apache-2.0" ]
null
null
null
example/test_basic.cpp
lingjf/h2un
7735c2f07f58ea8b92a9e9608c9b45c98c94c670
[ "Apache-2.0" ]
null
null
null
extern "C" { #include "product_c.h" } #include "product_cpp.h" #if defined H2UNIT && H2UNIT == 2 #include "../build/h2unit.hpp" #else #if defined _WIN32 || defined __CYGWIN__ #define H2UNIT_IMPORT_MAIN #endif #include "../h2unit.h" #endif int pv = 0; /* * SUITE is a unit test Suite, which Substr several test case...
14.461538
76
0.537234
lingjf
24e04fcc090a7e291e5c24ac7f6da87937127c2a
915
cpp
C++
Codeforces/1000~1999/1344/C.cpp
tiger0132/code-backup
9cb4ee5e99bf3c274e34f1e59d398ab52e51ecf7
[ "MIT" ]
6
2018-12-30T06:16:54.000Z
2022-03-23T08:03:33.000Z
Codeforces/1000~1999/1344/C.cpp
tiger0132/code-backup
9cb4ee5e99bf3c274e34f1e59d398ab52e51ecf7
[ "MIT" ]
null
null
null
Codeforces/1000~1999/1344/C.cpp
tiger0132/code-backup
9cb4ee5e99bf3c274e34f1e59d398ab52e51ecf7
[ "MIT" ]
null
null
null
#include <algorithm> #include <cstdio> #include <cstdlib> #include <cstring> #include <queue> #include <stack> #include <vector> const int N = 2e5 + 52; std::vector<int> g[N][2]; int col[N][2]; void dfs(int x, int id, int c) { x[col][id] = c; for (int nx : x[g][id]) if (!nx[col][id]) dfs(nx, id, c); } int n, m, ...
19.891304
37
0.48306
tiger0132
24e2481afb547f21e26cb4fca7962ca92ba030fd
1,021
cpp
C++
src/era2/era2_platform_descriptor.cpp
SyDr/sdmm
3c4a86c57943497d6a650a7ae7a7c7bd5ee34bb8
[ "MIT" ]
null
null
null
src/era2/era2_platform_descriptor.cpp
SyDr/sdmm
3c4a86c57943497d6a650a7ae7a7c7bd5ee34bb8
[ "MIT" ]
null
null
null
src/era2/era2_platform_descriptor.cpp
SyDr/sdmm
3c4a86c57943497d6a650a7ae7a7c7bd5ee34bb8
[ "MIT" ]
null
null
null
// SD Mod Manager // Copyright (c) 2020 Aliaksei Karalenka <sydr1991@gmail.com>. // Licensed under the MIT License <http://opensource.org/licenses/MIT>. #include "stdafx.h" #include "era2_platform_descriptor.h" #include "era2/era2_platform.h" #include "interface/iapp_config.h" #include "application.h" #include "ser...
22.195652
71
0.762977
SyDr
24e64a6cb8ec52182106c0d06f582414a8d85d9a
7,911
cpp
C++
src/chars.cpp
leftmike/foment
3838be87bc78027f3cae93219ed34fb1a17f34b9
[ "MIT" ]
63
2016-06-02T13:38:18.000Z
2021-07-22T02:37:52.000Z
src/chars.cpp
leftmike/foment
3838be87bc78027f3cae93219ed34fb1a17f34b9
[ "MIT" ]
30
2016-05-07T23:41:59.000Z
2021-03-01T00:36:41.000Z
src/chars.cpp
leftmike/foment
3838be87bc78027f3cae93219ed34fb1a17f34b9
[ "MIT" ]
8
2016-08-25T18:42:21.000Z
2019-08-20T20:12:55.000Z
/* Foment */ #include "foment.hpp" #include "unicode.hpp" // ---- Characters ---- Define("char?", CharPPrimitive)(long_t argc, FObject argv[]) { OneArgCheck("char?", argc); return(CharacterP(argv[0]) ? TrueObject : FalseObject); } Define("char=?", CharEqualPPrimitive)(long_t argc, FObject argv[]) { A...
26.282392
93
0.653394
leftmike
0088c739e3001011e92180b2ecb0bc0afe11ce92
9,353
hpp
C++
fw/lib/display/display.hpp
cednik/space_transmitter
9adbf001a816787b5c7553e33c961e58c4b5c232
[ "MIT" ]
1
2021-03-22T08:23:05.000Z
2021-03-22T08:23:05.000Z
fw/lib/display/display.hpp
cednik/space_transmitter
9adbf001a816787b5c7553e33c961e58c4b5c232
[ "MIT" ]
null
null
null
fw/lib/display/display.hpp
cednik/space_transmitter
9adbf001a816787b5c7553e33c961e58c4b5c232
[ "MIT" ]
null
null
null
#pragma once #include "PCF8574.hpp" #include "../util/math.hpp" #include <stack> template <int WIDTH, int HEIGHT, int E, int RW, int RS, int DATA, int BL> class Display_t :public Print { public: typedef uint8_t coor_type; struct coords_type { coor_type x; coor_type y; coords_type(coor_type x...
19.566946
80
0.583128
cednik
008c66e3b2ac343d1ab6db10cad8c59a684437c2
9,000
hpp
C++
include/range/v3/action/insert.hpp
CornedBee/range-v3
99a9f5f70e65dfcf6bbc8894bf2a22d8f5d4552a
[ "MIT" ]
null
null
null
include/range/v3/action/insert.hpp
CornedBee/range-v3
99a9f5f70e65dfcf6bbc8894bf2a22d8f5d4552a
[ "MIT" ]
null
null
null
include/range/v3/action/insert.hpp
CornedBee/range-v3
99a9f5f70e65dfcf6bbc8894bf2a22d8f5d4552a
[ "MIT" ]
null
null
null
/// \file // Range v3 library // // Copyright Eric Niebler 2013-2014 // // Use, modification and distribution is subject to 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) // // Project home: https://github.com/ericniebler/ra...
42.857143
109
0.516556
CornedBee
008feee57d595b8519541f85e61bfe41bd3d5d0b
1,199
hpp
C++
src/itanium_abi/demangle.hpp
glebov-andrey/hindsight
c8482adadf333669654f502423a3a1b49a65bbd9
[ "Apache-2.0" ]
null
null
null
src/itanium_abi/demangle.hpp
glebov-andrey/hindsight
c8482adadf333669654f502423a3a1b49a65bbd9
[ "Apache-2.0" ]
null
null
null
src/itanium_abi/demangle.hpp
glebov-andrey/hindsight
c8482adadf333669654f502423a3a1b49a65bbd9
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2021 Andrey Glebov * * 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...
28.547619
75
0.748123
glebov-andrey
0095184d6096cfc2af890d2aa4cd314d065a9523
2,155
cpp
C++
examples/google-code-jam/slowpoke/GCJ2017R1A-C.cpp
rbenic-fer/progauthfp
d0fd96c31ab0aab1a9acdcb7c75f2b430f51c675
[ "MIT" ]
null
null
null
examples/google-code-jam/slowpoke/GCJ2017R1A-C.cpp
rbenic-fer/progauthfp
d0fd96c31ab0aab1a9acdcb7c75f2b430f51c675
[ "MIT" ]
null
null
null
examples/google-code-jam/slowpoke/GCJ2017R1A-C.cpp
rbenic-fer/progauthfp
d0fd96c31ab0aab1a9acdcb7c75f2b430f51c675
[ "MIT" ]
null
null
null
#include <cstdlib> #include <bitset> #include <functional> #include <utility> #include <cstddef> #include <initializer_list> #include <tuple> #include <memory> #include <limits> #include <cctype> #include <cstring> #include <string> #include <array> #include <vector> #include <deque> #include <list> #include <forwa...
18.73913
87
0.405568
rbenic-fer
00967494276ab62504bad1164146ebade4189134
10,325
cpp
C++
2019/17.cpp
wgevaert/AOC
aaa9c06f9817e338cca01bbf37b6ba81256dd5ba
[ "WTFPL" ]
2
2020-08-06T22:14:51.000Z
2020-08-10T19:42:36.000Z
2019/17.cpp
wgevaert/AOC
aaa9c06f9817e338cca01bbf37b6ba81256dd5ba
[ "WTFPL" ]
null
null
null
2019/17.cpp
wgevaert/AOC
aaa9c06f9817e338cca01bbf37b6ba81256dd5ba
[ "WTFPL" ]
null
null
null
#include <iostream> #include <fstream> #include <vector> #include <string> void turn(char a, int& dx,int& dy) { int tmp; switch (a) { case 'R':if(dx)std::swap(dx,dy);else{tmp=-1*dx;dx=-1*dy;dy=tmp;}break; case 'L':if(dy)std::swap(dx,dy);else{tmp=-1*dx;dx=-1*dy;dy=tmp;}break; } } bool in_bo...
41.135458
165
0.492785
wgevaert
0097a3e0b312fa9bad048c49b6dc394a9ee04cbb
850
cpp
C++
cs161/labs/lab3.cpp
franzmk/Oregon-State-Schoolwork
20f8a72e78ec4baa131add2dda8026cd47f36188
[ "MIT" ]
null
null
null
cs161/labs/lab3.cpp
franzmk/Oregon-State-Schoolwork
20f8a72e78ec4baa131add2dda8026cd47f36188
[ "MIT" ]
null
null
null
cs161/labs/lab3.cpp
franzmk/Oregon-State-Schoolwork
20f8a72e78ec4baa131add2dda8026cd47f36188
[ "MIT" ]
null
null
null
#include <iostream> #include <cmath> #include <cstdlib> using namespace std; int main() { int input, i; bool check = true; char stop; while (check == true) { bool prime = true; cout << "Enter a positive whole number: "; cin >> input; if (input < 0) { cout << endl; cout << "Enter a whole posit...
14.655172
58
0.511765
franzmk
0099b5c2e7c7efe1731892c7c7a75764a2c2abfd
3,508
cpp
C++
tests/test_dijkstras_k_10000.cpp
ArseniyKD/hollow_heap
1dce56ce87f51319dc6d22695b0ab79eaa317788
[ "MIT" ]
2
2020-06-27T22:26:51.000Z
2021-05-26T14:29:25.000Z
tests/test_dijkstras_k_10000.cpp
ArseniyKD/hollow_heap
1dce56ce87f51319dc6d22695b0ab79eaa317788
[ "MIT" ]
null
null
null
tests/test_dijkstras_k_10000.cpp
ArseniyKD/hollow_heap
1dce56ce87f51319dc6d22695b0ab79eaa317788
[ "MIT" ]
null
null
null
#include<vector> #include<iostream> #include<queue> #include<cstdlib> #include<chrono> #include<limits> #include<functional> #include"../src/hollow_heap.h" using namespace std; using namespace std::chrono; const int N = 10000; vector<int> dijkstras_pq( vector< vector< int > > adjL ) { auto cmp = [](pair<int, int...
28.754098
92
0.513683
ArseniyKD
009ae4bb3420652da824ca0ec8a701765389cb7e
504
cxx
C++
src/color.cxx
AkihiroTakai/yurigl
4d24fdddb111056c3c8869429b88db9118565c2f
[ "MIT" ]
null
null
null
src/color.cxx
AkihiroTakai/yurigl
4d24fdddb111056c3c8869429b88db9118565c2f
[ "MIT" ]
null
null
null
src/color.cxx
AkihiroTakai/yurigl
4d24fdddb111056c3c8869429b88db9118565c2f
[ "MIT" ]
null
null
null
#include "yurigl.hxx" namespace yuri { RGBA::RGBA(double r, double g, double b, double a){ this->r = r; this->g = g; this->b = b; this->a = a; } double RGBA::getNDRED(){ return this->r / 255; } double RGBA::getNDGREEN(){ ...
22.909091
57
0.440476
AkihiroTakai
009e14e469f9333fbfa011605910984ed9f6b3b2
3,489
cpp
C++
src/game/server/entities/projectile.cpp
noother/ddracemax_old
f383b56de7827b6f1de7cff70dad836768e07d76
[ "Zlib" ]
1
2021-07-20T23:43:06.000Z
2021-07-20T23:43:06.000Z
src/game/server/entities/projectile.cpp
floff/ddracemax_old
f1356177c49a3bc20632df9a84a51bc491c37f7d
[ "Zlib" ]
null
null
null
src/game/server/entities/projectile.cpp
floff/ddracemax_old
f1356177c49a3bc20632df9a84a51bc491c37f7d
[ "Zlib" ]
3
2018-05-12T00:10:43.000Z
2021-07-16T13:25:57.000Z
#include <engine/e_server_interface.h> #include <engine/e_config.h> #include <game/generated/g_protocol.hpp> #include <game/server/gamecontext.hpp> #include "projectile.hpp" #include "pickup.hpp" ////////////////////////////////////////////////// // projectile ///////////////////////////////////////////////...
25.467153
117
0.657208
noother
00a06b73719171396774c4cbe9cea0d10b5f98d7
2,242
cpp
C++
MapEditorSelect.cpp
meowniverse/TetroRythm
eafc18d4ce623438ccd400e276fed0e5b0515bd0
[ "MIT" ]
null
null
null
MapEditorSelect.cpp
meowniverse/TetroRythm
eafc18d4ce623438ccd400e276fed0e5b0515bd0
[ "MIT" ]
null
null
null
MapEditorSelect.cpp
meowniverse/TetroRythm
eafc18d4ce623438ccd400e276fed0e5b0515bd0
[ "MIT" ]
null
null
null
#include "MapEditorSelect.h" MapEditorSelect::MapEditorSelect(BeatMapEditor*& mapEditor) : mapEditor(mapEditor) { font.loadFromFile("Dense-Regular.otf"); text.setFont(font); text.setFillColor(Color::White); cursor = 0; std::string path = "BeatMaps"; for (const auto& entry : fs::directory_iterator(path)) { m...
21.352381
103
0.695807
meowniverse
00a41904b0b9d4da8fc653a81988353b3820de4d
3,530
cc
C++
src/shfiles.cc
smirolo/tero
8db171a22e6723bc1eed0b235f17cc962528b93d
[ "BSD-3-Clause" ]
1
2020-06-27T00:27:10.000Z
2020-06-27T00:27:10.000Z
src/shfiles.cc
smirolo/tero
8db171a22e6723bc1eed0b235f17cc962528b93d
[ "BSD-3-Clause" ]
null
null
null
src/shfiles.cc
smirolo/tero
8db171a22e6723bc1eed0b235f17cc962528b93d
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2009-2013, Fortylines LLC All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of condi...
33.942308
83
0.701983
smirolo
00abbb5a6f794b523c44a1e7c563fef28c1a222d
1,271
hpp
C++
include/universal/blas/solvers/jacobi.hpp
shikharvashistha/universal
5c20504504f067412958fa61ea3839cf86c3d6f7
[ "MIT" ]
254
2017-05-24T16:51:57.000Z
2022-03-22T13:07:29.000Z
include/universal/blas/solvers/jacobi.hpp
jamesquinlan/universal
3b7e6bf37cbb9123425b634d18af18a409c2eccc
[ "MIT" ]
101
2017-11-09T22:57:24.000Z
2022-03-17T12:44:59.000Z
include/universal/blas/solvers/jacobi.hpp
jamesquinlan/universal
3b7e6bf37cbb9123425b634d18af18a409c2eccc
[ "MIT" ]
55
2017-06-09T10:04:38.000Z
2022-02-01T16:54:56.000Z
#pragma once // jacobi.hpp: Jacobi iterative method to solve Ax = b // // Copyright (C) 2017-2021 Stillwater Supercomputing, Inc. // // This file is part of the universal numbers project, which is released under an MIT Open Source license. #include <cmath> #include <universal/number/posit/posit_fwd.hpp> #include <unive...
32.589744
138
0.649882
shikharvashistha
00aca27f2c55a3e0625c0e1f163240558d2d539f
2,092
cpp
C++
tests/stdcxx/host/host.cpp
crisl-ms/openenclave
89689eef3a4409ad1d63d12c0957a8b4455ec776
[ "MIT" ]
null
null
null
tests/stdcxx/host/host.cpp
crisl-ms/openenclave
89689eef3a4409ad1d63d12c0957a8b4455ec776
[ "MIT" ]
null
null
null
tests/stdcxx/host/host.cpp
crisl-ms/openenclave
89689eef3a4409ad1d63d12c0957a8b4455ec776
[ "MIT" ]
null
null
null
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include <openenclave/host.h> #include <openenclave/internal/error.h> #include <openenclave/internal/tests.h> #include <cassert> #include <cstdio> #include <cstdlib> #include <cstring> #include "../args.h" #if 0 #define EC...
24.045977
74
0.582218
crisl-ms
00b0158099300d9c4c620f26996ac8daf4789aaa
2,091
cpp
C++
engine/core/render/base/pipeline/render_queue.cpp
blab-liuliang/Echo
ba75816e449d2f20a375ed44b0f706a6b7bc21a1
[ "MIT" ]
58
2018-05-10T17:06:42.000Z
2019-01-24T13:42:22.000Z
engine/core/render/base/pipeline/render_queue.cpp
blab-liuliang/echo
ba75816e449d2f20a375ed44b0f706a6b7bc21a1
[ "MIT" ]
290
2018-01-24T16:29:42.000Z
2019-01-24T07:11:16.000Z
engine/core/render/base/pipeline/render_queue.cpp
blab-liuliang/Echo
ba75816e449d2f20a375ed44b0f706a6b7bc21a1
[ "MIT" ]
9
2018-08-26T04:06:21.000Z
2019-01-14T03:47:39.000Z
#include "base/proxy/render_proxy.h" #include "engine/core/scene/render_node.h" #include "base/renderer.h" #include "render_queue.h" namespace Echo { RenderQueue::~RenderQueue() { } void RenderQueue::bindMethods() { CLASS_BIND_METHOD(RenderQueue, isSort); CLASS_BIND_METHOD(RenderQueue, setSort)...
27.88
110
0.629842
blab-liuliang
00b69aa2f5312b33589adadd86029ddc0f4005ed
683
cpp
C++
src/mruby_integration/core/input/touch.cpp
HellRok/Taylor
aa9d901b4db77395a0bde896500016353adcd73b
[ "MIT" ]
40
2021-05-25T04:21:49.000Z
2022-02-19T05:05:45.000Z
src/mruby_integration/core/input/touch.cpp
HellRok/Taylor
aa9d901b4db77395a0bde896500016353adcd73b
[ "MIT" ]
4
2021-09-17T06:52:35.000Z
2021-12-29T23:07:18.000Z
src/mruby_integration/core/input/touch.cpp
HellRok/Taylor
aa9d901b4db77395a0bde896500016353adcd73b
[ "MIT" ]
1
2021-12-23T00:59:27.000Z
2021-12-23T00:59:27.000Z
#include "raylib.h" #include "mruby.h" #include "mruby_integration/models/vector2.hpp" #include "mruby_integration/struct_types.hpp" mrb_value mrb_get_touch_position(mrb_state *mrb, mrb_value) { mrb_int index; mrb_get_args(mrb, "i", &index); Vector2 *position = (Vector2 *)malloc(sizeof(Vector2)); *position =...
28.458333
108
0.761347
HellRok
00b8a543a28fa40612fadb448c9208318c591a82
25,500
cpp
C++
tests/cfloat/conversion/double_conversion.cpp
shikharvashistha/universal
5c20504504f067412958fa61ea3839cf86c3d6f7
[ "MIT" ]
null
null
null
tests/cfloat/conversion/double_conversion.cpp
shikharvashistha/universal
5c20504504f067412958fa61ea3839cf86c3d6f7
[ "MIT" ]
null
null
null
tests/cfloat/conversion/double_conversion.cpp
shikharvashistha/universal
5c20504504f067412958fa61ea3839cf86c3d6f7
[ "MIT" ]
null
null
null
// double_conversion.cpp: test suite runner for double conversions to classic cfloats // // Copyright (C) 2017-2021 Stillwater Supercomputing, Inc. // // This file is part of the universal numbers project, which is released under an MIT Open Source license. #include <universal/utility/directives.hpp> #include <iostream...
58.08656
270
0.791176
shikharvashistha
00bbbe7cc0a166f79ca69a28717702127b17f1cc
10,747
cpp
C++
src/SX1276/SX1276.cpp
jspark311/ManuvrDrivers
3352d1394393b891ea50d5b3d36e04dea2949d72
[ "MIT" ]
4
2020-09-19T08:29:20.000Z
2021-12-14T15:21:25.000Z
src/SX1276/SX1276.cpp
jspark311/ManuvrDrivers
3352d1394393b891ea50d5b3d36e04dea2949d72
[ "MIT" ]
1
2021-02-14T09:32:32.000Z
2021-07-24T05:02:28.000Z
src/SX1276/SX1276.cpp
jspark311/ManuvrDrivers
3352d1394393b891ea50d5b3d36e04dea2949d72
[ "MIT" ]
null
null
null
#include "SX1276.h" /******************************************************************************* * _______.___________. ___ .___________. __ ______ _______. * / | | / \ | || | / | / | * | (----`---| |----` / ^ \ `---| |----`| | | ,----...
34.009494
89
0.581558
jspark311
00c1c9019ae5dcdc1258471f827f1fc92abbf0c4
99,679
cpp
C++
Framework/Source/C++11/LWVideo/LWVideoDriver/LWVideoDriver_DirectX11.cpp
slicer4ever/Lightwaver
1f444e42eab9988632f541ab3c8f491d557c7de7
[ "MIT" ]
3
2017-10-24T08:04:49.000Z
2018-08-28T10:08:08.000Z
Framework/Source/C++11/LWVideo/LWVideoDriver/LWVideoDriver_DirectX11.cpp
slicer4ever/Lightwave
1f444e42eab9988632f541ab3c8f491d557c7de7
[ "MIT" ]
null
null
null
Framework/Source/C++11/LWVideo/LWVideoDriver/LWVideoDriver_DirectX11.cpp
slicer4ever/Lightwave
1f444e42eab9988632f541ab3c8f491d557c7de7
[ "MIT" ]
null
null
null
#include "LWVideo/LWVideoDrivers/LWVideoDriver_DirectX11_1.h" #include "LWVideo/LWTypes.h" #include "LWVideo/LWImage.h" #include "LWVideo/LWFrameBuffer.h" #include "LWVideo/LWPipeline.h" #include "LWCore/LWVector.h" #include "LWCore/LWText.h" #include "LWCore/LWMath.h" #include "LWPlatform/LWWindow.h" templa...
73.293382
866
0.739534
slicer4ever
00c205916cf2bb0a4413c3279a739f3698cb8f91
8,117
cpp
C++
mapping/src/mapping_node.cpp
JesseDill/software-training
016bbcd76a923dab5b852ff221293f5e2d0bee49
[ "MIT" ]
null
null
null
mapping/src/mapping_node.cpp
JesseDill/software-training
016bbcd76a923dab5b852ff221293f5e2d0bee49
[ "MIT" ]
null
null
null
mapping/src/mapping_node.cpp
JesseDill/software-training
016bbcd76a923dab5b852ff221293f5e2d0bee49
[ "MIT" ]
null
null
null
// Copyright 2021 RoboJackets // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, distr...
37.753488
112
0.718369
JesseDill
00c54b8b35d63cd75f33990e060d4c119f71474a
39
cpp
C++
plugins/src/utils/thread.cpp
SL-RP/PawnPlus
be9c7bf801d4338516f930817d295f2a51754bdc
[ "MIT" ]
79
2018-03-07T22:49:20.000Z
2022-03-31T04:55:30.000Z
plugins/src/utils/thread.cpp
SL-RP/PawnPlus
be9c7bf801d4338516f930817d295f2a51754bdc
[ "MIT" ]
45
2018-07-13T20:57:40.000Z
2022-02-01T17:55:34.000Z
plugins/src/utils/thread.cpp
SL-RP/PawnPlus
be9c7bf801d4338516f930817d295f2a51754bdc
[ "MIT" ]
29
2018-03-23T08:22:02.000Z
2022-02-13T22:59:50.000Z
#include "thread.h" namespace aux { }
6.5
19
0.666667
SL-RP
00d03cf095a4b27ad99537907c342fa3bcd076c5
625
cpp
C++
Sources/Vulkan/erm/rendering/buffers/HostBuffer.cpp
JALB91/ERM
5d2c56db6330efc7d662c24796fdc49e43d26e40
[ "MIT" ]
5
2019-02-26T18:46:52.000Z
2022-01-27T23:48:26.000Z
Sources/Vulkan/erm/rendering/buffers/HostBuffer.cpp
JALB91/ERM
5d2c56db6330efc7d662c24796fdc49e43d26e40
[ "MIT" ]
1
2020-06-07T23:44:29.000Z
2021-04-03T18:49:54.000Z
Sources/Vulkan/erm/rendering/buffers/HostBuffer.cpp
JALB91/ERM
5d2c56db6330efc7d662c24796fdc49e43d26e40
[ "MIT" ]
null
null
null
#include "erm/rendering/buffers/HostBuffer.h" #include "erm/rendering/Device.h" namespace erm { HostBuffer::HostBuffer( Device& device, size_t size, vk::BufferUsageFlags buf) : IBuffer(device, size, buf, vk::MemoryPropertyFlagBits::eHostVisible | vk::MemoryPropertyFlagBits::eHostCoherent) {} void HostBuffer::Up...
29.761905
115
0.7488
JALB91
00d23f185fe0fe5431f96df9c994f0e22dee9417
169
cpp
C++
BOJ/code/010952_sum_5.cpp
sml0399/implementation_of_algorithms
ea0b4e00f836875baea5946cca186ad80d7f5473
[ "RSA-MD" ]
null
null
null
BOJ/code/010952_sum_5.cpp
sml0399/implementation_of_algorithms
ea0b4e00f836875baea5946cca186ad80d7f5473
[ "RSA-MD" ]
1
2021-01-12T05:42:07.000Z
2021-01-12T05:42:07.000Z
BOJ/code/010952_sum_5.cpp
sml0399/implementation_of_algorithms
ea0b4e00f836875baea5946cca186ad80d7f5473
[ "RSA-MD" ]
null
null
null
#include <iostream> using namespace std; int main(void){ int a=0,b=0; while(1){ cin>>a>>b; if((a==0)&&(b==0)) break; cout<<a+b<<endl; } return 0 ; }
14.083333
29
0.526627
sml0399
00d3d0d67fd9b810b7e7db3773c0492e4759b719
16,429
cpp
C++
src/game/client/gameui/OptionsSubAudio.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
6
2022-01-23T09:40:33.000Z
2022-03-20T20:53:25.000Z
src/game/client/gameui/OptionsSubAudio.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
null
null
null
src/game/client/gameui/OptionsSubAudio.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
1
2022-02-06T21:05:23.000Z
2022-02-06T21:05:23.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // //=============================================================================// #include "OptionsSubAudio.h" #include "cvarslider.h" #include "EngineInterface.h" #include "ModInfo.h" #include "vgui_controls/ComboBox.h" ...
40.366093
147
0.599854
cstom4994
00d545b4e37fb1c413149c05f0db78c0ef0792fd
750
cpp
C++
test/unit/math/prim/scal/fun/logical_gte_test.cpp
jrmie/math
2850ec262181075a5843968e805dc9ad1654e069
[ "BSD-3-Clause" ]
1
2019-09-06T15:53:17.000Z
2019-09-06T15:53:17.000Z
test/unit/math/prim/scal/fun/logical_gte_test.cpp
jrmie/math
2850ec262181075a5843968e805dc9ad1654e069
[ "BSD-3-Clause" ]
8
2019-01-17T18:51:16.000Z
2019-01-17T18:51:39.000Z
test/unit/math/prim/scal/fun/logical_gte_test.cpp
jrmie/math
2850ec262181075a5843968e805dc9ad1654e069
[ "BSD-3-Clause" ]
null
null
null
#include <stan/math/prim/scal.hpp> #include <boost/math/special_functions/fpclassify.hpp> #include <gtest/gtest.h> #include <limits> TEST(MathFunctions, logical_gte) { using stan::math::logical_gte; EXPECT_TRUE(logical_gte(1, 0)); EXPECT_TRUE(logical_gte(2.0, 1.0)); EXPECT_TRUE(logical_gte(2.0, 1)); EXPECT_T...
28.846154
56
0.717333
jrmie
00d87b8f3c714e60ea139a15d17980447fea9955
247
cpp
C++
Daniel2.SimplePlayerGL/SimpleDecodeDN2/stdafx.cpp
lewk2/Cinecoder.Samples
74f614a2a8b6a9fef818d4acedd9565637a68c4f
[ "Apache-2.0" ]
1
2019-03-14T00:56:19.000Z
2019-03-14T00:56:19.000Z
Daniel2.SimplePlayerGL/SimpleDecodeDN2/stdafx.cpp
VitaliiGitHub/Cinecoder.Samples
74f614a2a8b6a9fef818d4acedd9565637a68c4f
[ "Apache-2.0" ]
null
null
null
Daniel2.SimplePlayerGL/SimpleDecodeDN2/stdafx.cpp
VitaliiGitHub/Cinecoder.Samples
74f614a2a8b6a9fef818d4acedd9565637a68c4f
[ "Apache-2.0" ]
1
2019-02-19T16:48:04.000Z
2019-02-19T16:48:04.000Z
// stdafx.cpp : source file that includes just the standard includes // SimpleDecodeDN2.pch will be the pre-compiled header // stdafx.obj will contain the pre-compiled type information #include "stdafx.h" // Cinecoder //#include <Cinecoder_i.c>
27.444444
68
0.765182
lewk2
00ec85586718f5b0767a0617178da64f069cea17
3,831
cpp
C++
Sources/AGEngine/FileUtils/AssetFiles/Folder.cpp
Another-Game-Engine/AGE
d5d9e98235198fe580a43007914f515437635830
[ "MIT" ]
47
2015-03-29T09:44:25.000Z
2020-11-30T10:05:56.000Z
Sources/AGEngine/FileUtils/AssetFiles/Folder.cpp
Another-Game-Engine/AGE
d5d9e98235198fe580a43007914f515437635830
[ "MIT" ]
313
2015-01-01T18:16:30.000Z
2015-11-30T07:54:07.000Z
Sources/AGEngine/FileUtils/AssetFiles/Folder.cpp
Another-Game-Engine/AGE
d5d9e98235198fe580a43007914f515437635830
[ "MIT" ]
9
2015-06-07T13:21:54.000Z
2020-08-25T09:50:07.000Z
#include "Folder.hpp" #include <imgui/imgui.h> #include <regex> #include "FileUtils/FileSystemHelpers.hpp" #include <LowLevelUtils/BitOperations.hpp> #include <iostream> namespace AGE { namespace FileUtils { Folder::Folder() : _active(true) {} Folder::Folder(const std::string &path, Folder *parent) : ...
22.668639
158
0.573741
Another-Game-Engine
00edf2c5146e1d1bec245e3f8657935336ca8198
699
cpp
C++
src/SingleOutRed.cpp
amelk002/test9
9329b173644e4b6afe4b090399b89a690fd4818c
[ "MIT" ]
null
null
null
src/SingleOutRed.cpp
amelk002/test9
9329b173644e4b6afe4b090399b89a690fd4818c
[ "MIT" ]
null
null
null
src/SingleOutRed.cpp
amelk002/test9
9329b173644e4b6afe4b090399b89a690fd4818c
[ "MIT" ]
null
null
null
#ifndef __SINGLEOUTRED_CPP__ #define __SINGLEOUTRED_CPP__ #include "Connector.h" #include "SingleOutRed.h" #include <stdio.h> #include <unistd.h> #include <sys/types.h> #include <sys/stat.h> #include <cstdlib> #include <fcntl.h> using namespace std; SingleOutRed::SingleOutRed(Base* lhs, Base* rhs): Connector(lhs,rh...
23.3
99
0.72103
amelk002
00f568daff37770db3e92f8099bd3f3fd0132751
1,165
cpp
C++
src/math/Spacing.cpp
robin33n/formulae-cxx
4b691e515b30508fb5e29c68426bad51d9629e72
[ "MIT" ]
1
2019-11-25T04:00:03.000Z
2019-11-25T04:00:03.000Z
src/math/Spacing.cpp
robin33n/formulae-cxx
4b691e515b30508fb5e29c68426bad51d9629e72
[ "MIT" ]
1
2019-09-25T11:10:39.000Z
2019-09-26T11:32:00.000Z
src/math/Spacing.cpp
robin33n/formulae-cxx
4b691e515b30508fb5e29c68426bad51d9629e72
[ "MIT" ]
null
null
null
/** * Created: Wed Aug 31 20:56:24 CST 2016 * @author: Lie Yan * @email: robin.lie.yan@outlook.com * */ #include "Spacing.h" #include "MathGlue.h" namespace formulae { namespace math { optional<mathSpace_t> mathSpacing(kind_t left, kind_t right) { if (left == kind_t::None) return noSkip; else if (right ...
23.3
62
0.64206
robin33n
00fb580b03a2fff18878425532282b1ed3295b85
32,991
cpp
C++
ClassicStartMenu/ClassicStartMenuDLL/JumpLists.cpp
sedwards/ClassicShell
c7d4bac036d7da8e053bc12decfcd2e3744e0e76
[ "MIT" ]
11
2015-10-23T03:14:26.000Z
2021-04-19T21:40:28.000Z
ClassicStartMenu/ClassicStartMenuDLL/JumpLists.cpp
vonchenplus/ClassicShell
c7d4bac036d7da8e053bc12decfcd2e3744e0e76
[ "MIT" ]
null
null
null
ClassicStartMenu/ClassicStartMenuDLL/JumpLists.cpp
vonchenplus/ClassicShell
c7d4bac036d7da8e053bc12decfcd2e3744e0e76
[ "MIT" ]
14
2015-11-13T07:09:35.000Z
2020-04-05T13:10:45.000Z
// Classic Shell (c) 2009-2013, Ivo Beltchev // The sources for Classic Shell are distributed under the MIT open source license #include "stdafx.h" #include "JumpLists.h" #include "ResourceHelper.h" #include "Translations.h" #include "FNVHash.h" #include "LogManager.h" #include <propkey.h> #include <StrSafe....
29.937387
249
0.674335
sedwards
00ffafc64237f25e59d0e540dbc9bf25fc695a24
2,908
cpp
C++
Uni/c++/programamzione-1/Esempi/laboratorio/esami svolti/07/soluzione.cpp
VenomBigBozz/Esercizi
44bcf62df162cfb5b924b291f9839fbe1b04dcba
[ "Unlicense" ]
null
null
null
Uni/c++/programamzione-1/Esempi/laboratorio/esami svolti/07/soluzione.cpp
VenomBigBozz/Esercizi
44bcf62df162cfb5b924b291f9839fbe1b04dcba
[ "Unlicense" ]
null
null
null
Uni/c++/programamzione-1/Esempi/laboratorio/esami svolti/07/soluzione.cpp
VenomBigBozz/Esercizi
44bcf62df162cfb5b924b291f9839fbe1b04dcba
[ "Unlicense" ]
null
null
null
#include<iostream> #include<cmath> #include<typeinfo> #include<cstdlib> #include<sstream> using namespace std; class MyDouble { private: double x; public: MyDouble(float _x) : x(_x) {} int trunc() { return x; } MyDouble operator^(MyDouble &op) { return MyDouble(pow(x,op.x)); } bool operator>(M...
18.062112
85
0.556052
VenomBigBozz
2e0225f496b88c3dc0d7453b395b0e31525922d5
5,183
hpp
C++
rcljava/include/rcljava/org_ros2_rcljava_executor_NativeExecutor.hpp
ros2java-alfred/ros2_java
92830d2097353f38dd62835340a4e3f5cb6fb925
[ "Apache-2.0" ]
7
2016-12-08T08:30:15.000Z
2021-08-01T18:58:55.000Z
rcljava/include/rcljava/org_ros2_rcljava_executor_NativeExecutor.hpp
ros2java-alfred/ros2_java
92830d2097353f38dd62835340a4e3f5cb6fb925
[ "Apache-2.0" ]
12
2016-11-13T18:15:17.000Z
2021-02-13T17:13:12.000Z
rcljava/include/rcljava/org_ros2_rcljava_executor_NativeExecutor.hpp
ros2java/ros2_java
92830d2097353f38dd62835340a4e3f5cb6fb925
[ "Apache-2.0" ]
4
2017-11-01T15:38:42.000Z
2019-04-12T15:23:37.000Z
// Copyright 2016-2018 Mickael Gaillard <mick.gaillard@gmail.com> // // 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 require...
29.448864
79
0.780436
ros2java-alfred