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
2bd921b3482f426c39a37f89a95cdebfc207ca72
4,131
cpp
C++
src/planner/index_scan_plan.cpp
xinzhang1234/peloton
9b11d92dd5a2a0b32d5c39a9ba0b1aa45fe0b654
[ "Apache-2.0" ]
7
2017-03-12T01:57:48.000Z
2022-03-16T12:44:07.000Z
src/planner/index_scan_plan.cpp
xinzhang1234/peloton
9b11d92dd5a2a0b32d5c39a9ba0b1aa45fe0b654
[ "Apache-2.0" ]
null
null
null
src/planner/index_scan_plan.cpp
xinzhang1234/peloton
9b11d92dd5a2a0b32d5c39a9ba0b1aa45fe0b654
[ "Apache-2.0" ]
2
2017-03-30T00:43:50.000Z
2021-07-21T06:27:44.000Z
//===----------------------------------------------------------------------===// // // Peloton // // index_scan_plan.cpp // // Identification: src/planner/index_scan_plan.cpp // // Copyright (c) 2015-16, Carnegie Mellon University Database Group // //===------------------------------------------...
34.425
80
0.640039
xinzhang1234
2bda4e2c51c1b2987b2c01b3b10cb82fc13902b5
250
cpp
C++
samples/snippets/cpp/VS_Snippets_CLR_System/system.Char.IsNumber/CPP/isnumber.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
421
2018-04-01T01:57:50.000Z
2022-03-28T15:24:42.000Z
samples/snippets/cpp/VS_Snippets_CLR_System/system.Char.IsNumber/CPP/isnumber.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
5,797
2018-04-02T21:12:23.000Z
2022-03-31T23:54:38.000Z
samples/snippets/cpp/VS_Snippets_CLR_System/system.Char.IsNumber/CPP/isnumber.cpp
hamarb123/dotnet-api-docs
6aeb55784944a2f1f5e773b657791cbd73a92dd4
[ "CC-BY-4.0", "MIT" ]
1,482
2018-03-31T11:26:20.000Z
2022-03-30T22:36:45.000Z
// <snippet8> using namespace System; int main() { String^ str = "non-numeric"; Console::WriteLine( Char::IsNumber( '8' ) ); // Output: "True" Console::WriteLine( Char::IsNumber( str, 3 ) ); // Output: "False" } // </snippet8>
20.833333
70
0.576
hamarb123
2bdbe4e656577f5cf28f3528eb5ca6cef2bce243
6,608
cpp
C++
gui/ForceLayout.cpp
tjhladish/EpiFire
af7b680ae08b7f8d19da882df008927db28f406a
[ "BSD-3-Clause" ]
30
2015-04-29T05:13:02.000Z
2022-03-21T02:07:41.000Z
gui/ForceLayout.cpp
tjhladish/EpiFire
af7b680ae08b7f8d19da882df008927db28f406a
[ "BSD-3-Clause" ]
2
2017-11-07T05:42:56.000Z
2020-07-20T16:32:02.000Z
gui/ForceLayout.cpp
tjhladish/EpiFire
af7b680ae08b7f8d19da882df008927db28f406a
[ "BSD-3-Clause" ]
14
2015-04-29T20:31:00.000Z
2021-06-10T03:09:53.000Z
#include "ForceLayout.h" using namespace std; ForceLayout::ForceLayout(): dragConstant(0.1), // 0.1 chargeConstant(-10), // -40 chargeMinDistance(2), // 2 chargeMaxDistance(50), // 500 chargeTheta(....
35.718919
124
0.441283
tjhladish
2bde7794bb32f95addcaed7f0c62cea60c20a4b8
1,028
hpp
C++
libs/Delphi/src/Parser/DelphiLexerBase.hpp
henrikfroehling/interlinck
d9d947b890d9286c6596c687fcfcf016ef820d6b
[ "MIT" ]
null
null
null
libs/Delphi/src/Parser/DelphiLexerBase.hpp
henrikfroehling/interlinck
d9d947b890d9286c6596c687fcfcf016ef820d6b
[ "MIT" ]
19
2021-12-01T20:37:23.000Z
2022-02-14T21:05:43.000Z
libs/Delphi/src/Parser/DelphiLexerBase.hpp
henrikfroehling/interlinck
d9d947b890d9286c6596c687fcfcf016ef820d6b
[ "MIT" ]
null
null
null
#ifndef ARGOS_DELPHI_PARSER_DELPHILEXERBASE_H #define ARGOS_DELPHI_PARSER_DELPHILEXERBASE_H #include <argos-Core/Parser/Context.hpp> #include <argos-Core/Parser/ErrorKinds.hpp> #include <argos-Core/Parser/Lexer.hpp> namespace argos::Delphi::Parser { class DelphiLexerBase : public Core::Parser::Lexer { public: ex...
29.371429
77
0.688716
henrikfroehling
2be13d8b980f6480a30de93bf52e0db32e3fb7e6
18,978
cpp
C++
heatmap_package/HeatMapLib/HeatMapImage.cpp
dmankins/Vertica-Extension-Packages
cbde495dfa9ba4a5197e89f9b14cb667aef0576f
[ "BSD-2-Clause" ]
null
null
null
heatmap_package/HeatMapLib/HeatMapImage.cpp
dmankins/Vertica-Extension-Packages
cbde495dfa9ba4a5197e89f9b14cb667aef0576f
[ "BSD-2-Clause" ]
null
null
null
heatmap_package/HeatMapLib/HeatMapImage.cpp
dmankins/Vertica-Extension-Packages
cbde495dfa9ba4a5197e89f9b14cb667aef0576f
[ "BSD-2-Clause" ]
1
2020-09-10T07:50:49.000Z
2020-09-10T07:50:49.000Z
/* Copyright (c) 2005 - 2012 Vertica, an HP company -*- C++ -*- */ /* * Description: User Defined Transform Function: HeatMap * * UDx plugin by: Mark Fay, Matt Fay * * Create Date: July 9, 2012 */ #include "Vertica.h" #include "lodepng.h" #include "GaussianBlur.h" #include <vector> #include <sstream> #include <...
37.88024
116
0.526979
dmankins
2be5160430bfb346efed7c079611fbf993800cfe
816
cpp
C++
src/engineModules/StateMachine.cpp
psjuan97/JamEngine
20d98e6f3e962a518cc519fecd90205a52aba249
[ "MIT" ]
3
2019-09-30T08:23:03.000Z
2020-07-18T09:09:56.000Z
src/engineModules/StateMachine.cpp
psjuan97/JamEngine
20d98e6f3e962a518cc519fecd90205a52aba249
[ "MIT" ]
1
2019-09-28T14:17:05.000Z
2019-09-28T14:17:05.000Z
src/engineModules/StateMachine.cpp
psjuan97/JamEngine
20d98e6f3e962a518cc519fecd90205a52aba249
[ "MIT" ]
null
null
null
#include "StateMachine.hpp" StateMachine::StateMachine() :QueriedState(nullptr) { CurrentUpd = &StateMachine::ProcessChanges; } StateMachine::~StateMachine(){ if(CurrentState){ delete CurrentState; } } void StateMachine::setState(State* newState){ if(newState){ QueriedState = newStat...
18.545455
51
0.665441
psjuan97
2be8a40a74247880130aad083b97c3128f504061
2,963
hpp
C++
captal_foundation/src/captal_foundation/version.hpp
cvbn127/captal-engine
93a5f428b4cee810b529b7c9a9b3bf6504c8f32f
[ "MIT" ]
78
2021-11-02T13:55:43.000Z
2022-02-25T09:37:22.000Z
captal_foundation/src/captal_foundation/version.hpp
cvbn127/captal-engine
93a5f428b4cee810b529b7c9a9b3bf6504c8f32f
[ "MIT" ]
null
null
null
captal_foundation/src/captal_foundation/version.hpp
cvbn127/captal-engine
93a5f428b4cee810b529b7c9a9b3bf6504c8f32f
[ "MIT" ]
6
2021-11-03T06:56:22.000Z
2022-01-13T19:11:29.000Z
//MIT License // //Copyright (c) 2021 Alexy Pellegrini // //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, ...
29.63
156
0.724941
cvbn127
2bed80f843b42d27c6fecd35c71392cb61d305ec
677
cpp
C++
C++ Concepts/variables.cpp
NiveditaRashmi/Programming_Basics
da965d2ee722cefd185eee760a27ea395f265742
[ "MIT" ]
null
null
null
C++ Concepts/variables.cpp
NiveditaRashmi/Programming_Basics
da965d2ee722cefd185eee760a27ea395f265742
[ "MIT" ]
null
null
null
C++ Concepts/variables.cpp
NiveditaRashmi/Programming_Basics
da965d2ee722cefd185eee760a27ea395f265742
[ "MIT" ]
null
null
null
//Program to demonstrate different types of variables and variable initialization methods. #include<iostream> using namespace std; int var_one = 8; int var_two; class num { public: static int var_seven ; static int var_eight; int var_nine; // int var_ten = 7; }; int num :: var_seven = 7; int main() { int var...
21.83871
90
0.679468
NiveditaRashmi
2bee88700aff42b1f93c7e6ca29d515dc40ba40c
29,374
cpp
C++
movEffect.cpp
SJ-magic-work-AutoMagic/work___AutoMagic_Vj
1a903435248df00ca4a0e1bfc6419c8be204474e
[ "MIT" ]
null
null
null
movEffect.cpp
SJ-magic-work-AutoMagic/work___AutoMagic_Vj
1a903435248df00ca4a0e1bfc6419c8be204474e
[ "MIT" ]
null
null
null
movEffect.cpp
SJ-magic-work-AutoMagic/work___AutoMagic_Vj
1a903435248df00ca4a0e1bfc6419c8be204474e
[ "MIT" ]
null
null
null
/************************************************************ ************************************************************/ #include "movEffect.h" /************************************************************ ************************************************************/ /******************** ********************/ int ...
29.374
259
0.575747
SJ-magic-work-AutoMagic
2bf24c2188e6c4c355b44d9482eb80ee4351b744
3,197
cpp
C++
softboundcets-llvm-clang34/tools/clang/test/SemaTemplate/instantiate-local-class.cpp
jiwon6833/MTE
38a905cbf877de4d6be8ded327ab3c961289e6ca
[ "BSD-3-Clause" ]
36
2015-01-13T19:34:04.000Z
2022-03-07T22:22:15.000Z
softboundcets-llvm-clang34/tools/clang/test/SemaTemplate/instantiate-local-class.cpp
jiwon6833/MTE
38a905cbf877de4d6be8ded327ab3c961289e6ca
[ "BSD-3-Clause" ]
7
2015-10-20T19:05:01.000Z
2021-11-13T14:55:47.000Z
3.4.2/cfe-3.4.2.src/test/SemaTemplate/instantiate-local-class.cpp
androm3da/clang_sles
2ba6d0711546ad681883c42dfb8661b842806695
[ "MIT" ]
18
2015-04-23T20:59:52.000Z
2021-11-18T20:06:39.000Z
// RUN: %clang_cc1 -verify -std=c++11 %s // expected-no-diagnostics template<typename T> void f0() { struct X; typedef struct Y { T (X::* f1())(int) { return 0; } } Y2; Y2 y = Y(); } template void f0<int>(); // PR5764 namespace PR5764 { struct X { template <typename T> void Bar() { typede...
17.375
92
0.545824
jiwon6833
2bf26571a7433e7a6390e9c8ee8753d4950156ad
7,218
cc
C++
src/node_manifestparser_plist.cc
peters/manifestparser
c2cb54cac1fd38fcb5034957cf03be506c2f5c92
[ "MIT", "Unlicense" ]
20
2015-01-06T05:26:18.000Z
2021-01-18T09:25:34.000Z
src/node_manifestparser_plist.cc
peters/manifestparser
c2cb54cac1fd38fcb5034957cf03be506c2f5c92
[ "MIT", "Unlicense" ]
null
null
null
src/node_manifestparser_plist.cc
peters/manifestparser
c2cb54cac1fd38fcb5034957cf03be506c2f5c92
[ "MIT", "Unlicense" ]
2
2016-04-05T15:51:02.000Z
2021-01-18T09:25:17.000Z
/** * (The MIT License) * * Copyright (c) 2012 Peter Sunde <peter.sunde@gmail.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated * documentation files (the 'Software'), to deal in the Software without restriction, including without limitation * t...
27.340909
129
0.624411
peters
2bf41892a5a35837a6b7d21760350c42c3c64d65
11,040
hpp
C++
src/TNL/Solvers/PDE/TimeDependentPDESolver.hpp
GregTheMadMonk/tnl-noa
d7d57962decf579a89797816e7d564350157cbf2
[ "MIT" ]
null
null
null
src/TNL/Solvers/PDE/TimeDependentPDESolver.hpp
GregTheMadMonk/tnl-noa
d7d57962decf579a89797816e7d564350157cbf2
[ "MIT" ]
null
null
null
src/TNL/Solvers/PDE/TimeDependentPDESolver.hpp
GregTheMadMonk/tnl-noa
d7d57962decf579a89797816e7d564350157cbf2
[ "MIT" ]
null
null
null
// Copyright (c) 2004-2022 Tomáš Oberhuber et al. // // This file is part of TNL - Template Numerical Library (https://tnl-project.org/) // // SPDX-License-Identifier: MIT #pragma once #include "TimeDependentPDESolver.h" #include <noa/3rdparty/tnl-noa/src/TNL/Meshes/TypeResolver/resolveMeshType.h> #include <noa/3rdpa...
36.435644
127
0.680797
GregTheMadMonk
2bf4641388efa659cfe65b3398eed21b4109f966
277
hpp
C++
Diagnosis.hpp
hxmhuang/OpenArray_Dev
863866a6b7accf21fa253567b0e66143c7506cdf
[ "MIT" ]
3
2020-09-08T05:01:56.000Z
2020-11-23T13:11:25.000Z
Diagnosis.hpp
hxmhuang/OpenArray_Dev
863866a6b7accf21fa253567b0e66143c7506cdf
[ "MIT" ]
null
null
null
Diagnosis.hpp
hxmhuang/OpenArray_Dev
863866a6b7accf21fa253567b0e66143c7506cdf
[ "MIT" ]
2
2019-08-16T08:32:30.000Z
2020-02-10T08:44:04.000Z
/* * Diagnosis.hpp: * =======================================================*/ #include "MPI.hpp" #include "ArrayPool.hpp" namespace oa{ // for test, check if array has nan or inf value namespace diag{ bool has_nan_or_inf(ArrayPtr& ap, int skip_sw = 1); } }
18.466667
59
0.512635
hxmhuang
2bf523bef7ea8ebd3ce1ac12421e6c0350beb932
5,540
hpp
C++
src/Tracer.hpp
asmaalrawi/geopm
e93548dfdd693a17c81163787ba467891937356d
[ "BSD-3-Clause" ]
1
2018-11-27T16:53:06.000Z
2018-11-27T16:53:06.000Z
src/Tracer.hpp
asmaalrawi/geopm
e93548dfdd693a17c81163787ba467891937356d
[ "BSD-3-Clause" ]
null
null
null
src/Tracer.hpp
asmaalrawi/geopm
e93548dfdd693a17c81163787ba467891937356d
[ "BSD-3-Clause" ]
1
2018-06-24T17:32:25.000Z
2018-06-24T17:32:25.000Z
/* * Copyright (c) 2015, 2016, 2017, 2018, 2019, 2020, Intel Corporation * * 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,...
41.037037
108
0.617509
asmaalrawi
2bf87722de7100a7a54f9c1dcbba0ad14032a482
6,671
hpp
C++
hpx/lcos/local/channel.hpp
kempj/hpx
ffdbfed5dfa029a0f2e97e7367cb66d12103df67
[ "BSL-1.0" ]
null
null
null
hpx/lcos/local/channel.hpp
kempj/hpx
ffdbfed5dfa029a0f2e97e7367cb66d12103df67
[ "BSL-1.0" ]
null
null
null
hpx/lcos/local/channel.hpp
kempj/hpx
ffdbfed5dfa029a0f2e97e7367cb66d12103df67
[ "BSL-1.0" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2007-2012 Hartmut Kaiser // Copyright (c) 2012 Bryce Adelstein-Lelbach // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_...
22.162791
80
0.565432
kempj
2bfd039804389734876e0ec52b0d5e66856131d2
52,813
hh
C++
src/cpu/minor/ssim/accel.hh
PolyArch/dsa-gem5
4084b1f06c872937e44bf774a219afd0fe5f6ed2
[ "BSD-3-Clause" ]
1
2020-03-25T09:34:31.000Z
2020-03-25T09:34:31.000Z
src/cpu/minor/ssim/accel.hh
PolyArch/dsa-gem5
4084b1f06c872937e44bf774a219afd0fe5f6ed2
[ "BSD-3-Clause" ]
null
null
null
src/cpu/minor/ssim/accel.hh
PolyArch/dsa-gem5
4084b1f06c872937e44bf774a219afd0fe5f6ed2
[ "BSD-3-Clause" ]
null
null
null
#ifndef __ACCEL_H__ #define __ACCEL_H__ #include <vector> #include <deque> #include <map> #include <math.h> #include <unordered_map> #include <stdio.h> #include <iostream> #include <cstdlib> #include <cstdint> #include <cstring> #include <algorithm> #include <fstream> #include <queue> #include <list> #include <sstre...
29.6037
122
0.678962
PolyArch
2bfeec7c667f775a53b24103b2f8f0c4eb4a4796
15,262
cpp
C++
main.cpp
T0T0R/paracetamolTablets
a16c9e869af3ff406491dd75c010cc6f2b568425
[ "MIT" ]
null
null
null
main.cpp
T0T0R/paracetamolTablets
a16c9e869af3ff406491dd75c010cc6f2b568425
[ "MIT" ]
null
null
null
main.cpp
T0T0R/paracetamolTablets
a16c9e869af3ff406491dd75c010cc6f2b568425
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdlib> #include <map> #include <vector> #include <math.h> #include <fstream> #include <string> /*** Calcul de pH par recherche de la racine d'un polynome. Six especes presentes, chacune avec une concentration donnee. Le programme calcule le pH pour chaque goutte de titrant ajoutee. ...
35.742389
199
0.641528
T0T0R
9201f24ab963668e8133c69848f3bfe0fd324843
17,638
cpp
C++
lib/src/Engine.cpp
stackos/viry3d
a57638c4b807faa7cbaa11f2019cab47029ca5ba
[ "Apache-2.0" ]
null
null
null
lib/src/Engine.cpp
stackos/viry3d
a57638c4b807faa7cbaa11f2019cab47029ca5ba
[ "Apache-2.0" ]
null
null
null
lib/src/Engine.cpp
stackos/viry3d
a57638c4b807faa7cbaa11f2019cab47029ca5ba
[ "Apache-2.0" ]
null
null
null
/* * Viry3D * Copyright 2014-2019 by Stack - stackos@qq.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 required by...
24.842254
124
0.560494
stackos
920ddc716d947956c5cb62fb54043ad4b570be76
33,330
cpp
C++
code/object/objcollide.cpp
brihernandez/fs2open.github.com
5b173c6060a884bba83ef965ba32f8ad67709de1
[ "Unlicense" ]
307
2015-04-10T13:27:32.000Z
2022-03-21T03:30:38.000Z
code/object/objcollide.cpp
brihernandez/fs2open.github.com
5b173c6060a884bba83ef965ba32f8ad67709de1
[ "Unlicense" ]
2,231
2015-04-27T10:47:35.000Z
2022-03-31T19:22:37.000Z
code/object/objcollide.cpp
brihernandez/fs2open.github.com
5b173c6060a884bba83ef965ba32f8ad67709de1
[ "Unlicense" ]
282
2015-01-05T12:16:57.000Z
2022-03-28T04:45:11.000Z
/* * Copyright (C) Volition, Inc. 1999. All rights reserved. * * All source code herein is the property of Volition, Inc. You may not sell * or otherwise commercially exploit the source or things you created based on the * source. * */ #include "globalincs/linklist.h" #include "io/timer.h" #include "object/...
31.986564
223
0.631623
brihernandez
92116e10230a295a4a9b2af140164ea61ceb00b5
5,713
cpp
C++
Code/Libraries/3D/src/GL2/gl2vertexshader.cpp
kas1e/Eldritch
032b4ac52f7508c89efa407d6fe60f40c6281fd9
[ "Zlib" ]
null
null
null
Code/Libraries/3D/src/GL2/gl2vertexshader.cpp
kas1e/Eldritch
032b4ac52f7508c89efa407d6fe60f40c6281fd9
[ "Zlib" ]
null
null
null
Code/Libraries/3D/src/GL2/gl2vertexshader.cpp
kas1e/Eldritch
032b4ac52f7508c89efa407d6fe60f40c6281fd9
[ "Zlib" ]
null
null
null
#include "core.h" #include "gl2vertexshader.h" #include "idatastream.h" #include "memorystream.h" #ifdef HAVE_GLES #include <stdio.h> #ifdef PANDORA const char* SimplePixelShader = "#version 100\n\ precision mediump float;\n\ uniform vec4 Gamma; // Used as float\n\ vec2 FixUV( vec2 UV )\n\ {\n\ return vec2( UV.x, 1...
31.738889
214
0.560826
kas1e
9215379dc11de8af1a0c27fa0111c8391821f400
3,110
hpp
C++
source/FArgs.hpp
akuukka/alisp
14bec96be01af8fbd39bcc5e8c70c39c5d258c15
[ "MIT" ]
null
null
null
source/FArgs.hpp
akuukka/alisp
14bec96be01af8fbd39bcc5e8c70c39c5d258c15
[ "MIT" ]
null
null
null
source/FArgs.hpp
akuukka/alisp
14bec96be01af8fbd39bcc5e8c70c39c5d258c15
[ "MIT" ]
null
null
null
#pragma once #include "Error.hpp" #include "Object.hpp" #include "ConsCell.hpp" #include "Template.hpp" #include <type_traits> #include <vector> namespace alisp { class Machine; struct FArgs; struct ConsCellObject; struct Function { Function(Machine& parent) : parent(parent) {} Machine& parent; std::str...
22.214286
87
0.53537
akuukka
921fb56e855b281afa64de0d88536b0599fb1010
4,805
cpp
C++
engine/menu/composite/MenuNode.cpp
zhec9/nemo
b719b89933ce722a14355e7ed825a76dea680501
[ "MIT" ]
null
null
null
engine/menu/composite/MenuNode.cpp
zhec9/nemo
b719b89933ce722a14355e7ed825a76dea680501
[ "MIT" ]
null
null
null
engine/menu/composite/MenuNode.cpp
zhec9/nemo
b719b89933ce722a14355e7ed825a76dea680501
[ "MIT" ]
null
null
null
#include "MenuNode.hpp" #include "utility/wrapper/sfVector2.hpp" namespace nemo { //////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////// MenuNode::MenuNode( const XYPair& pos, const XYPair& di...
29.478528
80
0.501353
zhec9
922366252c8de274009916dce9ccc7db92c23ded
2,366
cpp
C++
Day 13/Next Greater Element 1.cpp
jv640/30-Days-Coding-Challange
7937d319eb3129c52d5870de926c075f7451470a
[ "MIT" ]
null
null
null
Day 13/Next Greater Element 1.cpp
jv640/30-Days-Coding-Challange
7937d319eb3129c52d5870de926c075f7451470a
[ "MIT" ]
null
null
null
Day 13/Next Greater Element 1.cpp
jv640/30-Days-Coding-Challange
7937d319eb3129c52d5870de926c075f7451470a
[ "MIT" ]
null
null
null
/* Description : You are given two arrays (without duplicates) nums1 and nums2 where nums1’s elements are subset of nums2. Find all the next greater numbers for nums1's elements in the corresponding places of nums2. The Next Greater Number of a number x in nums1 is the first greater n...
43.814815
162
0.554522
jv640
922a3d41b67eadba21b5aa46452f482b8d2abc98
42,493
hpp
C++
include/impl/core_algorithms.hpp
UNC-Robotics/lung-segmentation
d5a7bca0ba064a331b1d704bf3b012ad10692c50
[ "BSD-3-Clause" ]
null
null
null
include/impl/core_algorithms.hpp
UNC-Robotics/lung-segmentation
d5a7bca0ba064a331b1d704bf3b012ad10692c50
[ "BSD-3-Clause" ]
null
null
null
include/impl/core_algorithms.hpp
UNC-Robotics/lung-segmentation
d5a7bca0ba064a331b1d704bf3b012ad10692c50
[ "BSD-3-Clause" ]
null
null
null
// BSD 3-Clause License // Copyright (c) 2022, The University of North Carolina at Chapel Hill // All rights reserved. // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // 1. Redistributions of source code must retain ...
35.176325
149
0.597016
UNC-Robotics
922a6bed4297d57802bce2c1798e8b0372eeb054
2,261
hpp
C++
ble-cpp/src/data/LazyDataStore.hpp
harsh-agarwal/blelocpp
eaba46c6239981c7b8e69bef2ab33bb08ecb15b4
[ "MIT" ]
8
2016-06-13T20:47:18.000Z
2021-12-22T17:29:32.000Z
ble-cpp/src/data/LazyDataStore.hpp
harsh-agarwal/blelocpp
eaba46c6239981c7b8e69bef2ab33bb08ecb15b4
[ "MIT" ]
11
2016-03-14T07:00:04.000Z
2019-05-07T18:20:15.000Z
ble-cpp/src/data/LazyDataStore.hpp
harsh-agarwal/blelocpp
eaba46c6239981c7b8e69bef2ab33bb08ecb15b4
[ "MIT" ]
11
2016-02-03T07:41:00.000Z
2019-09-11T10:03:48.000Z
/******************************************************************************* * Copyright (c) 2014, 2015 IBM Corporation and others * * 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 ...
38.982759
91
0.666077
harsh-agarwal
922c3e0e4888c7002fb0f6a2d38ffb61374095fc
3,000
cc
C++
cpp_src/core/ft/ft_fuzzy/dumper/fulltextdumper.cc
SolovyovAlexander/reindexer
2c6fcd957c1743b57a4ce9a7963b52dffc13a519
[ "Apache-2.0" ]
695
2017-07-07T16:54:23.000Z
2022-03-19T09:48:30.000Z
cpp_src/core/ft/ft_fuzzy/dumper/fulltextdumper.cc
SolovyovAlexander/reindexer
2c6fcd957c1743b57a4ce9a7963b52dffc13a519
[ "Apache-2.0" ]
63
2018-01-18T02:57:48.000Z
2022-03-04T10:28:05.000Z
cpp_src/core/ft/ft_fuzzy/dumper/fulltextdumper.cc
SolovyovAlexander/reindexer
2c6fcd957c1743b57a4ce9a7963b52dffc13a519
[ "Apache-2.0" ]
72
2017-07-12T21:12:59.000Z
2021-11-28T14:35:06.000Z
#include "fulltextdumper.h" #include <chrono> #include <fstream> #include <memory> #include <thread> #include "tools/stringstools.h" namespace search_engine { using std::this_thread::sleep_for; using std::chrono::seconds; using std::make_shared; FullTextDumper& FullTextDumper::Init() { static FullTextDumper dumper; ...
23.4375
110
0.651333
SolovyovAlexander
922fc3935f59c6361009da52a8004c818778f5f6
4,129
cpp
C++
Samples/Desktop/D3D12Raytracing/src/D3D12RaytracingRealTimeDenoisedAmbientOcclusion/SampleCore/util/GpuResourceStateTracker.cpp
HanmingZhang/DirectX-Graphics-Samples
5e98d453be61c200fd2ea4736d97ee08c5ed760f
[ "MIT" ]
2,503
2015-07-29T03:00:27.000Z
2019-05-06T07:08:48.000Z
Samples/Desktop/D3D12Raytracing/src/D3D12RaytracingRealTimeDenoisedAmbientOcclusion/SampleCore/util/GpuResourceStateTracker.cpp
HanmingZhang/DirectX-Graphics-Samples
5e98d453be61c200fd2ea4736d97ee08c5ed760f
[ "MIT" ]
329
2015-07-31T10:46:29.000Z
2019-05-04T11:06:34.000Z
Samples/Desktop/D3D12Raytracing/src/D3D12RaytracingRealTimeDenoisedAmbientOcclusion/SampleCore/util/GpuResourceStateTracker.cpp
HanmingZhang/DirectX-Graphics-Samples
5e98d453be61c200fd2ea4736d97ee08c5ed760f
[ "MIT" ]
1,081
2015-07-29T12:20:57.000Z
2019-05-06T05:31:30.000Z
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PA...
36.866071
130
0.696537
HanmingZhang
922fe6bda1850ea140024121229d23306af9b2d9
5,000
cpp
C++
src/server/scripts/EasternKingdoms/AlteracValley/boss_drekthar.cpp
Arkania/ArkCORE
2484554a7b54be0b652f9dc3c5a8beba79df9fbf
[ "OpenSSL" ]
42
2015-01-05T10:00:07.000Z
2022-02-18T14:51:33.000Z
src/server/scripts/EasternKingdoms/AlteracValley/boss_drekthar.cpp
superllout/WOW
3d0eeb940cccf8ab7854259172c6d75a85ee4f7d
[ "OpenSSL" ]
null
null
null
src/server/scripts/EasternKingdoms/AlteracValley/boss_drekthar.cpp
superllout/WOW
3d0eeb940cccf8ab7854259172c6d75a85ee4f7d
[ "OpenSSL" ]
31
2015-01-09T02:04:29.000Z
2021-09-01T13:20:20.000Z
/* * Copyright (C) 2005 - 2013 MaNGOS <http://www.getmangos.com/> * * Copyright (C) 2008 - 2013 Trinity <http://www.trinitycore.org/> * * Copyright (C) 2006 - 2013 ScriptDev2 <http://www.scriptdev2.com/> * * Copyright (C) 2010 - 2013 ProjectSkyfire <http://www.projectskyfire.org/> * * Copyright (C) 2011 - 2013...
31.64557
198
0.5756
Arkania
92348130d4d6afc1173301dcdd5b5171d1f48926
2,513
cpp
C++
source/mode/reset_required_version.cpp
tiliarou/Tinfoil-2
f80d8b2c52e44c273f41547321830917e5f3b572
[ "MIT" ]
null
null
null
source/mode/reset_required_version.cpp
tiliarou/Tinfoil-2
f80d8b2c52e44c273f41547321830917e5f3b572
[ "MIT" ]
null
null
null
source/mode/reset_required_version.cpp
tiliarou/Tinfoil-2
f80d8b2c52e44c273f41547321830917e5f3b572
[ "MIT" ]
null
null
null
#include "mode/reset_required_version.hpp" #include <exception> #include <memory> #include "nx/ipc/tin_ipc.h" #include "ui/framework/console_view.hpp" #include "ui/framework/console_options_view.hpp" #include "ui/framework/view.hpp" #include "error.hpp" #include "translate.h" namespace tin::ui { ResetRequiredVers...
33.959459
193
0.645444
tiliarou
9235230badc87ec8f50d5ae513dd3e0d835d5dc4
1,668
cpp
C++
src/calculator.cpp
findNextStep/calculator
ac0b04598d431b52afc52a5ff0fb42fa4c3900a3
[ "MIT" ]
null
null
null
src/calculator.cpp
findNextStep/calculator
ac0b04598d431b52afc52a5ff0fb42fa4c3900a3
[ "MIT" ]
null
null
null
src/calculator.cpp
findNextStep/calculator
ac0b04598d431b52afc52a5ff0fb42fa4c3900a3
[ "MIT" ]
null
null
null
#include "calculator.h" #include <sstream> #include <math.h> using std::stringstream; calculator::calculator(){ this->num_array.push_back((numT)0); } calculator::~calculator(){} std::string calculator::showOut() { if (num_array.empty()){ return ""; } stringstream ss; auto num = this->num_array.begin(); ss <...
17.557895
93
0.541367
findNextStep
9235907b7c56535af6f47eb3d765bf46405dca3c
3,648
cpp
C++
src/modules/mc_pos_control/Utility/ControlMath.cpp
WeRobotics/Firmware
96443b3cf3e3adaec8b2ebb6c83a19a92d40a13f
[ "BSD-3-Clause" ]
6
2018-10-02T18:44:04.000Z
2020-09-15T04:00:23.000Z
src/modules/mc_pos_control/Utility/ControlMath.cpp
WeRobotics/Firmware
96443b3cf3e3adaec8b2ebb6c83a19a92d40a13f
[ "BSD-3-Clause" ]
1
2018-07-27T21:11:11.000Z
2018-07-27T21:11:11.000Z
src/modules/mc_pos_control/Utility/ControlMath.cpp
WeRobotics/Firmware
96443b3cf3e3adaec8b2ebb6c83a19a92d40a13f
[ "BSD-3-Clause" ]
3
2020-03-13T02:23:38.000Z
2021-06-01T09:07:32.000Z
/**************************************************************************** * * Copyright (C) 2017 PX4 Development Team. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistr...
31.179487
96
0.684759
WeRobotics
923b6484b2e43fbbb4658a8369fa09e3ce158526
5,090
cxx
C++
VFRendering/src/Utilities.cxx
bck2302000/spirit
14ed7782bd23f4828bf23ab8136ae31a21037bb3
[ "MIT" ]
92
2016-10-02T16:17:27.000Z
2022-02-22T11:23:49.000Z
VFRendering/src/Utilities.cxx
bck2302000/spirit
14ed7782bd23f4828bf23ab8136ae31a21037bb3
[ "MIT" ]
590
2016-09-24T12:46:36.000Z
2022-03-24T18:27:18.000Z
VFRendering/src/Utilities.cxx
bck2302000/spirit
14ed7782bd23f4828bf23ab8136ae31a21037bb3
[ "MIT" ]
46
2016-09-26T07:20:17.000Z
2022-02-17T19:55:17.000Z
#include "VFRendering/Utilities.hxx" #include <iostream> #ifndef __EMSCRIPTEN__ #include <glad/glad.h> #else #include <GLES3/gl3.h> #endif #include <glm/gtc/matrix_transform.hpp> #include "VFRendering/View.hxx" #include "shaders/colormap.hsv.glsl.hxx" #include "shaders/colormap.bluered.glsl.hxx" #include "shaders/c...
35.347222
156
0.680157
bck2302000
923c44095e2cd71ade15b2013653a5a7fc3d6d3c
176
cpp
C++
code/break.cpp
danieldavidson/cpp-collection
668c47b8c63be3081c976b673f46d4c775d74cf7
[ "MIT" ]
null
null
null
code/break.cpp
danieldavidson/cpp-collection
668c47b8c63be3081c976b673f46d4c775d74cf7
[ "MIT" ]
null
null
null
code/break.cpp
danieldavidson/cpp-collection
668c47b8c63be3081c976b673f46d4c775d74cf7
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { for (int x = 0; x <= 100; x++) { cout << x << ","; if (x == 10) break; } cin.ignore(); }
13.538462
34
0.431818
danieldavidson
923d5422eb341fdf5d42256cc4285c415eb0751c
2,850
cpp
C++
foedus_code/foedus-core/src/foedus/error_stack.cpp
sam1016yu/cicada-exp-sigmod2017
64e582370076b2923d37b279d1c32730babc15f8
[ "Apache-2.0" ]
null
null
null
foedus_code/foedus-core/src/foedus/error_stack.cpp
sam1016yu/cicada-exp-sigmod2017
64e582370076b2923d37b279d1c32730babc15f8
[ "Apache-2.0" ]
null
null
null
foedus_code/foedus-core/src/foedus/error_stack.cpp
sam1016yu/cicada-exp-sigmod2017
64e582370076b2923d37b279d1c32730babc15f8
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2014-2015, Hewlett-Packard Development Company, LP. * 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) * any later versi...
33.529412
100
0.678596
sam1016yu
923fbacc9f4ab908c9c461010dc013aacf2f997d
3,361
cpp
C++
source/uwp/Renderer/lib/AdaptiveExecuteAction.cpp
mokandre/AdaptiveCards
ec01bf432fa3bdbdb64a57eaa727686aa4dcaf4e
[ "MIT" ]
1
2021-10-18T03:23:54.000Z
2021-10-18T03:23:54.000Z
source/uwp/Renderer/lib/AdaptiveExecuteAction.cpp
mokandre/AdaptiveCards
ec01bf432fa3bdbdb64a57eaa727686aa4dcaf4e
[ "MIT" ]
10
2022-02-15T00:55:57.000Z
2022-02-27T23:10:51.000Z
source/uwp/Renderer/lib/AdaptiveExecuteAction.cpp
AdrianaDJ/AdaptiveCards
2257e48ae9a795ea33760d442f0a6b1523c6c682
[ "MIT" ]
1
2021-04-15T17:14:11.000Z
2021-04-15T17:14:11.000Z
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "pch.h" #include "AdaptiveExecuteAction.h" using namespace Microsoft::WRL; using namespace ABI::AdaptiveNamespace; using namespace ABI::Windows::Data::Json; namespace AdaptiveNamespace { HRESULT AdaptiveExecu...
35.378947
141
0.721511
mokandre
9243ecc022860b3658086da46c44eac20a5d4219
715
hpp
C++
src/cartridge.hpp
kai-heine/nes_emulator
8547421e6e12e4c8dbf01c80a539ea2701f2b8a1
[ "MIT" ]
null
null
null
src/cartridge.hpp
kai-heine/nes_emulator
8547421e6e12e4c8dbf01c80a539ea2701f2b8a1
[ "MIT" ]
null
null
null
src/cartridge.hpp
kai-heine/nes_emulator
8547421e6e12e4c8dbf01c80a539ea2701f2b8a1
[ "MIT" ]
null
null
null
#ifndef NES_CARTRIDGE_HPP #define NES_CARTRIDGE_HPP #include "types.hpp" #include <cassert> namespace nes { enum class mirroring : u8 { horizontal, vertical }; // TODO: should the mapper be part of the cartridge? struct cartridge { vector<u8> prg_rom; vector<u8> prg_ram; vector<u8> chr_rom; mirrorin...
21.666667
65
0.620979
kai-heine
92461e0c854fb87c6d63ce4384cf4154fec61fc7
481
cpp
C++
ChiTech/ChiConsole/chi_console_constrdestr.cpp
zachhardy/chi-tech
18fb6cb691962a90820e2ef4fcb05473f4a6bdd6
[ "MIT" ]
7
2019-09-10T12:16:08.000Z
2021-05-06T16:01:59.000Z
ChiTech/ChiConsole/chi_console_constrdestr.cpp
zachhardy/chi-tech
18fb6cb691962a90820e2ef4fcb05473f4a6bdd6
[ "MIT" ]
72
2019-09-04T15:00:25.000Z
2021-12-02T20:47:29.000Z
ChiTech/ChiConsole/chi_console_constrdestr.cpp
Naktakala/chi-tech
df5f517d5aff1d167db50ccbcf4229ac0cb668c4
[ "MIT" ]
41
2019-09-02T15:33:31.000Z
2022-02-10T13:26:49.000Z
#include "chi_console.h" #include <iostream> //############################################################################# Default constructor /** Default constructor for the console*/ ChiConsole::ChiConsole() noexcept { //========================================== Initializing console this->consoleState = luaL_n...
26.722222
99
0.494802
zachhardy
92490f2acde24f7396c66a3f9ac265295848a093
7,962
cpp
C++
source/DevDriverComponents/src/util/ddJsonWriter.cpp
play704611/dev_driver_tools
312d40afb533b623e441139797410a33ecab3182
[ "MIT" ]
null
null
null
source/DevDriverComponents/src/util/ddJsonWriter.cpp
play704611/dev_driver_tools
312d40afb533b623e441139797410a33ecab3182
[ "MIT" ]
null
null
null
source/DevDriverComponents/src/util/ddJsonWriter.cpp
play704611/dev_driver_tools
312d40afb533b623e441139797410a33ecab3182
[ "MIT" ]
null
null
null
/* ******************************************************************************* * * Copyright (c) 2018 Advanced Micro Devices, Inc. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to de...
33.037344
119
0.427154
play704611
924ab4b9b8c52fc14f15d59d65ea94cc465ff731
866
hpp
C++
sprig/krkr/tjs/hash.hpp
bolero-MURAKAMI/Sprig
51ce4db4f4d093dee659a136f47249e4fe91fc7a
[ "BSL-1.0" ]
2
2017-10-24T13:56:24.000Z
2018-09-28T13:21:22.000Z
sprig/krkr/tjs/hash.hpp
bolero-MURAKAMI/Sprig
51ce4db4f4d093dee659a136f47249e4fe91fc7a
[ "BSL-1.0" ]
null
null
null
sprig/krkr/tjs/hash.hpp
bolero-MURAKAMI/Sprig
51ce4db4f4d093dee659a136f47249e4fe91fc7a
[ "BSL-1.0" ]
2
2016-04-12T03:26:06.000Z
2018-09-28T13:21:22.000Z
/*============================================================================= Copyright (c) 2010-2016 Bolero MURAKAMI https://github.com/bolero-MURAKAMI/Sprig Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) ===...
30.928571
79
0.63164
bolero-MURAKAMI
924f782578bfec5b7819e31062750505e4763b9c
5,019
cpp
C++
src/paterns_debug.cpp
wartonbega/metmice
2dc4c980a8eaf37ad7684d82c70f51fc21fd0670
[ "MIT" ]
1
2022-03-19T19:37:55.000Z
2022-03-19T19:37:55.000Z
src/paterns_debug.cpp
wartonbega/metmice
2dc4c980a8eaf37ad7684d82c70f51fc21fd0670
[ "MIT" ]
null
null
null
src/paterns_debug.cpp
wartonbega/metmice
2dc4c980a8eaf37ad7684d82c70f51fc21fd0670
[ "MIT" ]
null
null
null
#include <string> #include <vector> using namespace std; #include "../include/node.h" #include "../include/variables.hpp" #include "../include/usefull.h" #include "../include/paterns_debug.h" #include "../include/parser.h" bool recognize_if_debug(vector<string> c_values, int index, vector<string> reference) { if (c_v...
21.633621
152
0.584579
wartonbega
9259629a9bafe61444e6d44ad9cdd52732685522
1,898
cpp
C++
external/armadillo-10.1.2/tests2/fn_cumprod.cpp
hb407/libnome
cf11c6e34e6d147e28bfc6f54dd3ca81d2443438
[ "MIT" ]
55
2020-10-07T20:22:22.000Z
2021-08-28T10:58:36.000Z
external/armadillo-10.1.2/tests2/fn_cumprod.cpp
hb407/libnome
cf11c6e34e6d147e28bfc6f54dd3ca81d2443438
[ "MIT" ]
31
2020-05-19T08:01:46.000Z
2020-05-28T07:33:35.000Z
external/armadillo-10.1.2/tests2/fn_cumprod.cpp
hb407/libnome
cf11c6e34e6d147e28bfc6f54dd3ca81d2443438
[ "MIT" ]
11
2019-12-16T16:06:19.000Z
2020-04-15T15:28:31.000Z
// Copyright 2015 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2015 National ICT Australia (NICTA) // // 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.or...
27.507246
75
0.589041
hb407
925be997303bfe8ad0aae121ec56d85d57eb2d73
1,587
hpp
C++
ErrorManagement/Error.hpp
ianran/INCA-Public
9b4bef7c073f4339d66c45232411ba236e69430c
[ "MIT" ]
null
null
null
ErrorManagement/Error.hpp
ianran/INCA-Public
9b4bef7c073f4339d66c45232411ba236e69430c
[ "MIT" ]
null
null
null
ErrorManagement/Error.hpp
ianran/INCA-Public
9b4bef7c073f4339d66c45232411ba236e69430c
[ "MIT" ]
null
null
null
//// Copyright © 2019 New Mexico State Univeristy // // 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...
32.387755
92
0.73913
ianran
925e9fca031868ab9ae95f6dd53f425eb0674eee
6,535
hpp
C++
c++/Ail/RRDispatcher.hpp
aamshukov/miscellaneous
6fc0d2cb98daff70d14f87b2dfc4e58e61d2df60
[ "MIT" ]
null
null
null
c++/Ail/RRDispatcher.hpp
aamshukov/miscellaneous
6fc0d2cb98daff70d14f87b2dfc4e58e61d2df60
[ "MIT" ]
null
null
null
c++/Ail/RRDispatcher.hpp
aamshukov/miscellaneous
6fc0d2cb98daff70d14f87b2dfc4e58e61d2df60
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////////////// //...................................................................................... // This is a part of AI Library [Arthur's Interfaces Library]. . // 1998-2001 Arthur Amshukov ...
39.131737
164
0.490283
aamshukov
177f660035b1d0e00dab80dee832d73a6aed2ea5
1,722
cpp
C++
code/geometry/rotating_calipers.cpp
viswamy/CompetitiveProgramming
497d58adce25cfe4fc327301d977da275ad80201
[ "MIT" ]
null
null
null
code/geometry/rotating_calipers.cpp
viswamy/CompetitiveProgramming
497d58adce25cfe4fc327301d977da275ad80201
[ "MIT" ]
null
null
null
code/geometry/rotating_calipers.cpp
viswamy/CompetitiveProgramming
497d58adce25cfe4fc327301d977da275ad80201
[ "MIT" ]
1
2019-07-28T03:12:29.000Z
2019-07-28T03:12:29.000Z
#include "lines.cpp" struct caliper { ii pt; double angle; caliper(ii _pt, double _angle) : pt(_pt), angle(_angle) { } double angle_to(ii pt2) { double x = angle - atan2(pt2.second - pt.second, pt2.first - pt.first); while (x >= pi) x -= 2*pi; while (x <= -pi) x += 2*pi; ...
29.689655
79
0.41928
viswamy
1780bb2fbe08dbd60e06bf57c52d6cf68d8551d4
2,671
cpp
C++
oss_test/fault/echo_qo_test_server.cpp
csgxy123/SFrame-Ex
b97cbefdaee9f8842735dbe50a1fa07fa2b460cf
[ "BSD-3-Clause" ]
null
null
null
oss_test/fault/echo_qo_test_server.cpp
csgxy123/SFrame-Ex
b97cbefdaee9f8842735dbe50a1fa07fa2b460cf
[ "BSD-3-Clause" ]
null
null
null
oss_test/fault/echo_qo_test_server.cpp
csgxy123/SFrame-Ex
b97cbefdaee9f8842735dbe50a1fa07fa2b460cf
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (C) 2015 Dato, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. * * This program is distribu...
28.414894
74
0.621116
csgxy123
17818dbfc6ead05fd6aeb63f585813e3c93b15d1
264
hpp
C++
include/parallel_annealer-impl.hpp
mvousden/psap
5837ef787b80d1d4fe33286561c0537d1581d578
[ "BSD-3-Clause" ]
null
null
null
include/parallel_annealer-impl.hpp
mvousden/psap
5837ef787b80d1d4fe33286561c0537d1581d578
[ "BSD-3-Clause" ]
null
null
null
include/parallel_annealer-impl.hpp
mvousden/psap
5837ef787b80d1d4fe33286561c0537d1581d578
[ "BSD-3-Clause" ]
null
null
null
/* The docstring of serial_annealer-impl.hpp also applies here. */ template class ParallelAnnealer<AbsoluteZero>; template class ParallelAnnealer<ExpDecayDisorder>; template class ParallelAnnealer<LinearDecayDisorder>; template class ParallelAnnealer<NoDisorder>;
44
66
0.848485
mvousden
1781c575d99d0d16ec6cfc39ba88519c30bd370e
3,015
cpp
C++
Wrappers/MyGUI_Export/ExportInputManager.cpp
lmj0591/mygui
311fb9d07089f64558eb7f77e9b37c4cb91e3559
[ "MIT" ]
590
2015-01-06T09:22:06.000Z
2022-03-21T18:23:02.000Z
Wrappers/MyGUI_Export/ExportInputManager.cpp
lmj0591/mygui
311fb9d07089f64558eb7f77e9b37c4cb91e3559
[ "MIT" ]
159
2015-01-07T03:34:23.000Z
2022-02-21T21:28:51.000Z
Wrappers/MyGUI_Export/ExportInputManager.cpp
lmj0591/mygui
311fb9d07089f64558eb7f77e9b37c4cb91e3559
[ "MIT" ]
212
2015-01-05T07:33:33.000Z
2022-03-28T22:11:51.000Z
#include "ExportDefine.h" #include "ExportMarshaling.h" #include "Generate/MyGUI_Export_MarshalingWidget.h" #include "ExportMarshalingType.h" #include <MyGUI.h> namespace Export { MYGUIEXPORT bool MYGUICALL ExportInputManager_GetKeyFocus( ) { return MyGUI::InputManager::getInstance().isFocusKey(); } MYGUIEXPO...
24.12
97
0.745274
lmj0591
17867bed2ff370efad9591c1f74b96331df4f933
656
cpp
C++
code/eulersnumber.cpp
matthewReff/Kattis-Problems
848628af630c990fb91bde6256a77afad6a3f5f6
[ "MIT" ]
8
2020-02-21T22:21:01.000Z
2022-02-16T05:30:54.000Z
code/eulersnumber.cpp
matthewReff/Kattis-Problems
848628af630c990fb91bde6256a77afad6a3f5f6
[ "MIT" ]
null
null
null
code/eulersnumber.cpp
matthewReff/Kattis-Problems
848628af630c990fb91bde6256a77afad6a3f5f6
[ "MIT" ]
3
2020-08-05T05:42:35.000Z
2021-08-30T05:39:51.000Z
#define _USE_MATH_DEFINES #include <iostream> #include <stdio.h> #include <cmath> #include <iomanip> #include <vector> #include <string> #include <algorithm> #include <unordered_set> #include <ctype.h> #include <queue> #include <map> #include <set> typedef long long ll; using namespace std; int main() { ll i, j, k; ...
14.909091
38
0.582317
matthewReff
178b40baadaf20e3259f857d3b8c5ce23ebabe90
907
hpp
C++
hiro/gtk/widget/source-edit.hpp
13824125580/higan
fbdd3f980b65412c362096579869ae76730e4118
[ "Intel", "ISC" ]
10
2019-12-19T01:19:41.000Z
2021-02-18T16:30:29.000Z
hiro/gtk/widget/source-edit.hpp
13824125580/higan
fbdd3f980b65412c362096579869ae76730e4118
[ "Intel", "ISC" ]
null
null
null
hiro/gtk/widget/source-edit.hpp
13824125580/higan
fbdd3f980b65412c362096579869ae76730e4118
[ "Intel", "ISC" ]
null
null
null
#if defined(Hiro_SourceEdit) namespace hiro { struct pSourceEdit : pWidget { Declare(SourceEdit, Widget) auto setCursor(Cursor cursor) -> void; auto setEditable(bool editable) -> void; auto setFocused() -> void override; auto setText(const string& text) -> void; auto setWordWrap(bool wordWrap) -> void; ...
29.258065
69
0.76957
13824125580
1790a7a370753ce6549e82947321a86e132ab31a
347
hh
C++
src/base64.hh
thejk/stuff
67362896a37742e880025b9c85c4fe49d690ba02
[ "BSD-3-Clause" ]
null
null
null
src/base64.hh
thejk/stuff
67362896a37742e880025b9c85c4fe49d690ba02
[ "BSD-3-Clause" ]
null
null
null
src/base64.hh
thejk/stuff
67362896a37742e880025b9c85c4fe49d690ba02
[ "BSD-3-Clause" ]
null
null
null
#ifndef BASE64_HH #define BASE64_HH #include <string> namespace stuff { class Base64 { public: static bool decode(const std::string& input, std::string* output); private: Base64() = delete; ~Base64() = delete; Base64(Base64&) = delete; Base64& operator=(Base64&) = delete; }; } // namespace stu...
15.772727
70
0.654179
thejk
17916139d015d3906f9b2ef0c8f3610a299ca479
722
hpp
C++
PBC.hpp
toyaku-phys/DCBR
827382b2bbabb1a0dcdc6ba928637c1c7d17ee79
[ "MIT" ]
null
null
null
PBC.hpp
toyaku-phys/DCBR
827382b2bbabb1a0dcdc6ba928637c1c7d17ee79
[ "MIT" ]
2
2018-05-18T01:05:44.000Z
2018-05-22T23:47:13.000Z
PBC.hpp
toyaku-phys/DCBR
827382b2bbabb1a0dcdc6ba928637c1c7d17ee79
[ "MIT" ]
null
null
null
#ifndef PBC_H #define PBC_H #include "Vector3D.hpp" std::vector<Vector3D> shifts_for_pbc; void pbc_setup(const Vector3D& cryst) { shifts_for_pbc.clear(); shifts_for_pbc.reserve(27); for(int x=-1;x<=+1;++x) for(int y=-1;y<=+1;++y) for(int z=-1;z<=+1;++z) { shifts_for_pbc.push_back(Vector3D(x*c...
17.609756
72
0.598338
toyaku-phys
1791d6714742060c612c2c1b06f7f54119b8895f
2,202
cpp
C++
sp/src/game/shared/sdk/weapon_pistol.cpp
joshmartel/source-sdk-2013
524e87f708d6c30360613b1f65ee174deafa20f4
[ "Unlicense" ]
2,268
2015-01-01T19:31:56.000Z
2022-03-31T20:15:31.000Z
sp/src/game/shared/sdk/weapon_pistol.cpp
joshmartel/source-sdk-2013
524e87f708d6c30360613b1f65ee174deafa20f4
[ "Unlicense" ]
241
2015-01-01T15:26:14.000Z
2022-03-31T22:09:59.000Z
sp/src/game/shared/sdk/weapon_pistol.cpp
DimasDSF/SMI
76cc2df8d1f51eb06743d66169524c3493b6d407
[ "Unlicense" ]
2,174
2015-01-01T08:18:05.000Z
2022-03-31T10:43:59.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // //=====================================================================================// #include "cbase.h" #include "weapon_sdkbase.h" #if defined( CLIENT_DLL ) #define CWeaponPistol C_WeaponPistol #include "c_sdk_pla...
27.185185
89
0.719346
joshmartel
179281f73d1209631a43f1f5da372b647d281369
5,073
cpp
C++
src/grapheme_cluster_view.cpp
chinz07/carrot
a56c0fc89190a1b2e026e413052b370584694983
[ "BSL-1.0" ]
null
null
null
src/grapheme_cluster_view.cpp
chinz07/carrot
a56c0fc89190a1b2e026e413052b370584694983
[ "BSL-1.0" ]
3
2018-10-28T13:56:21.000Z
2019-07-28T16:00:37.000Z
src/grapheme_cluster_view.cpp
chinz07/carrot
a56c0fc89190a1b2e026e413052b370584694983
[ "BSL-1.0" ]
null
null
null
#include "grapheme_cluster_view.hpp" #include <carrot/exception.hpp> #include <unicode/brkiter.h> #include <unicode/utext.h> #include <cassert> #include <memory> #ifndef CARROT_WITH_UNICODE_SUPPORT #error "grapheme_cluster_view.cpp should not be compiled if the Unicode support has been disabled." #endif namespace ...
23.816901
100
0.67396
chinz07
1794b94a9f6b4c5237c55d98cbecdf2bf5612cc0
9,763
cpp
C++
extras/unit_tests/ParsingConsoleTest.cpp
jspark311/CppPotpourri
e68acc26161d02835be6efc212b9e74e7795a208
[ "Apache-2.0" ]
3
2020-02-23T01:29:20.000Z
2021-01-27T21:26:34.000Z
extras/unit_tests/ParsingConsoleTest.cpp
jspark311/CppPotpourri
e68acc26161d02835be6efc212b9e74e7795a208
[ "Apache-2.0" ]
null
null
null
extras/unit_tests/ParsingConsoleTest.cpp
jspark311/CppPotpourri
e68acc26161d02835be6efc212b9e74e7795a208
[ "Apache-2.0" ]
1
2020-09-08T01:08:10.000Z
2020-09-08T01:08:10.000Z
/* File: ParsingConsoleTest.cpp Author: J. Ian Lindsay Date: 2021.04.24 TODO: This test does not yet cover: * Line endings for RX/TX * Argument type parsing Copyright 2016 Manuvr, Inc Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the Lice...
33.207483
145
0.61897
jspark311
1798065ea8c5f47f37b1776a1dc08c3e950f03f9
3,077
cpp
C++
msqlquery-demo/main.cpp
Opostol/MSqlQuery
67cdfde4b1d94f1c5aff7fc6017e967d492fc3a2
[ "Unlicense" ]
6
2017-04-22T14:10:54.000Z
2021-11-02T20:24:02.000Z
msqlquery-demo/main.cpp
Opostol/MSqlQuery
67cdfde4b1d94f1c5aff7fc6017e967d492fc3a2
[ "Unlicense" ]
1
2018-07-11T17:52:50.000Z
2018-08-22T18:44:35.000Z
msqlquery-demo/main.cpp
Opostol/MSqlQuery
67cdfde4b1d94f1c5aff7fc6017e967d492fc3a2
[ "Unlicense" ]
1
2018-07-11T11:16:32.000Z
2018-07-11T11:16:32.000Z
#include <QMessageBox> #include <QApplication> #include "msqldatabase.h" #include "msqlquery.h" #include "modeldemowidget.h" #include "querydemowidget.h" #include "loadingdialog.h" #include <QTabWidget> QString getRandomString() //to generate random strings (for dummy data) { const QString possibleCharacters("ABCD...
34.965909
102
0.646084
Opostol
1798a6a96d16257b1154176dfc505fc1dea37c14
42
cpp
C++
src/the_framework/algorithms/crc/base_crc.cpp
schnedann/linebuffer
494745a6d83eef1adebf9a6e30c636a8edd5f0c2
[ "BSD-3-Clause" ]
null
null
null
src/the_framework/algorithms/crc/base_crc.cpp
schnedann/linebuffer
494745a6d83eef1adebf9a6e30c636a8edd5f0c2
[ "BSD-3-Clause" ]
null
null
null
src/the_framework/algorithms/crc/base_crc.cpp
schnedann/linebuffer
494745a6d83eef1adebf9a6e30c636a8edd5f0c2
[ "BSD-3-Clause" ]
null
null
null
#include "base_crc.h" namespace crc { }
6
21
0.666667
schnedann
179c76afd4b2036d8110a28cd98fb6994c678fac
4,846
hpp
C++
heart/src/solver/electrics/bidomain/BidomainNeumannSurfaceTermAssembler.hpp
SoftMatterMechanics/ApicalStressFibers
17d343c09a246a50f9e3a3cbfc399ca6bef353ce
[ "Apache-2.0", "BSD-3-Clause" ]
1
2020-09-10T16:12:13.000Z
2020-09-10T16:12:13.000Z
heart/src/solver/electrics/bidomain/BidomainNeumannSurfaceTermAssembler.hpp
SoftMatterMechanics/ApicalStressFibers
17d343c09a246a50f9e3a3cbfc399ca6bef353ce
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
heart/src/solver/electrics/bidomain/BidomainNeumannSurfaceTermAssembler.hpp
SoftMatterMechanics/ApicalStressFibers
17d343c09a246a50f9e3a3cbfc399ca6bef353ce
[ "Apache-2.0", "BSD-3-Clause" ]
1
2020-09-10T16:12:21.000Z
2020-09-10T16:12:21.000Z
/* Copyright (c) 2005-2020, University of Oxford. All rights reserved. University of Oxford means the Chancellor, Masters and Scholars of the University of Oxford, having an administrative office at Wellington Square, Oxford OX1 2JD, UK. This file is part of Chaste. Redistribution and use in source and binary forms...
44.458716
118
0.759802
SoftMatterMechanics
179dceb9625f28e9e9fd481f2c0c28326818f8ae
529
cpp
C++
VMMap/process_module.cpp
chowette/vmmap
e0299b24b62b3801f757089922ad0f6ad784d585
[ "BSD-3-Clause" ]
33
2016-09-26T06:06:47.000Z
2022-03-31T03:45:23.000Z
VMMap/process_module.cpp
chowette/vmmap
e0299b24b62b3801f757089922ad0f6ad784d585
[ "BSD-3-Clause" ]
1
2016-12-11T22:26:24.000Z
2016-12-11T22:26:24.000Z
VMMap/process_module.cpp
chowette/vmmap
e0299b24b62b3801f757089922ad0f6ad784d585
[ "BSD-3-Clause" ]
16
2016-04-14T13:00:45.000Z
2021-09-01T18:56:15.000Z
//------------------------------------------------------------------------------ // https://james-ross.co.uk/projects/vmmap // License: New BSD License (BSD). //------------------------------------------------------------------------------ #include "StdAfx.h" #include "process_module.h" process_module::proces...
33.0625
177
0.502836
chowette
179f86e18a4ab40dc5dddfd671e1c99edc569645
680
cpp
C++
Framework/Core/Src/TimeUtil.cpp
TheJimmyGod/JimmyGod_Engine
b9752c6fbd9db17dc23f03330b5e4537bdcadf8e
[ "MIT" ]
null
null
null
Framework/Core/Src/TimeUtil.cpp
TheJimmyGod/JimmyGod_Engine
b9752c6fbd9db17dc23f03330b5e4537bdcadf8e
[ "MIT" ]
null
null
null
Framework/Core/Src/TimeUtil.cpp
TheJimmyGod/JimmyGod_Engine
b9752c6fbd9db17dc23f03330b5e4537bdcadf8e
[ "MIT" ]
null
null
null
#include "Precompiled.h" #include "TimeUtil.h" float JimmyGod::Core::TimeUtil::GetTime() { static const auto startTime = std::chrono::high_resolution_clock::now(); auto now = std::chrono::high_resolution_clock::now(); return std::chrono::duration_cast<std::chrono::milliseconds>(now - startTime).count() / 100...
35.789474
115
0.723529
TheJimmyGod
17a032a77c68527e42eb926feb376451136b2ea2
7,159
cc
C++
runtime/flutter_runner/fuchsia_font_manager_unittest.cc
AjayrajSingh/topaz
d7b9927e03fbe6be0a6e97cf866f499f73d6664f
[ "BSD-3-Clause" ]
1
2020-11-06T14:31:34.000Z
2020-11-06T14:31:34.000Z
runtime/flutter_runner/fuchsia_font_manager_unittest.cc
AjayrajSingh/topaz
d7b9927e03fbe6be0a6e97cf866f499f73d6664f
[ "BSD-3-Clause" ]
null
null
null
runtime/flutter_runner/fuchsia_font_manager_unittest.cc
AjayrajSingh/topaz
d7b9927e03fbe6be0a6e97cf866f499f73d6664f
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2018 The Fuchsia 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 "topaz/runtime/flutter_runner/fuchsia_font_manager.h" #include <fcntl.h> #include <fuchsia/fonts/cpp/fidl.h> #include <fuchsia/sys/cpp/fidl.h> #i...
35.26601
79
0.746613
AjayrajSingh
17a330acb400faf8be5498e5714bdfa8a3800384
214
hpp
C++
1-8-CommentWithPrint.hpp
zhang96/LearningCPlusPlus
a60058f620c45db0f23a815c9035097a3e55e98e
[ "WTFPL" ]
1
2018-08-03T15:33:29.000Z
2018-08-03T15:33:29.000Z
1-8-CommentWithPrint.hpp
JerryFZhang/LearningCPlusPlus
a60058f620c45db0f23a815c9035097a3e55e98e
[ "WTFPL" ]
null
null
null
1-8-CommentWithPrint.hpp
JerryFZhang/LearningCPlusPlus
a60058f620c45db0f23a815c9035097a3e55e98e
[ "WTFPL" ]
null
null
null
// // 1-8-CommentWithPrint.hpp // // // Created by Jerry Zhang on 2016-09-29. // // #ifndef __8_CommentWithPrint_hpp #define __8_CommentWithPrint_hpp #include <stdio.h> #endif /* __8_CommentWithPrint_hpp */
14.266667
41
0.71028
zhang96
17a841674f3712038a395f3ea6a23bd1517f22ca
945
cpp
C++
Playing With Strings/Solutions/jorgedftrl/G/main.cpp
em3ly/axon_training
fe4a8cee81034f140650b6c21f723d339ea02c00
[ "MIT" ]
null
null
null
Playing With Strings/Solutions/jorgedftrl/G/main.cpp
em3ly/axon_training
fe4a8cee81034f140650b6c21f723d339ea02c00
[ "MIT" ]
5
2019-04-30T22:31:36.000Z
2019-05-07T00:15:23.000Z
Playing With Strings/Solutions/jorgedftrl/G/main.cpp
em3ly/axon_training
fe4a8cee81034f140650b6c21f723d339ea02c00
[ "MIT" ]
5
2019-05-01T05:08:43.000Z
2019-05-07T18:13:18.000Z
#include <iostream> #include <vector> #include <algorithm> #include <numeric> #include <cmath> #include <set> #include <tuple> #include <functional> #include <map> using namespace std; #define endl n using ull = unsigned long int; using ll = long long; int main() { ios_base::sync_with_stdio(false); cin.tie(null...
18.9
51
0.537566
em3ly
17a8a49cfdec5b0ce620271c86c26c17947c34ca
1,928
cpp
C++
plugins/opengl/src/windows/device_state.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
plugins/opengl/src/windows/device_state.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
plugins/opengl/src/windows/device_state.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
3
2018-05-11T01:11:34.000Z
2021-04-24T19:47:45.000Z
// Copyright Carl Philipp Reh 2006 - 2019. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #include <sge/opengl/platform/device_state.hpp> #include <sge/opengl/windows/change_display_setting...
39.346939
100
0.734959
cpreh
17acd962e92f08a981ee1fe28f38b9f2537d851e
1,731
cpp
C++
kattis_done/minspantree.cpp
heiseish/Competitive-Programming
e4dd4db83c38e8837914562bc84bc8c102e68e34
[ "MIT" ]
5
2019-03-17T01:33:19.000Z
2021-06-25T09:50:45.000Z
kattis_done/minspantree.cpp
heiseish/Competitive-Programming
e4dd4db83c38e8837914562bc84bc8c102e68e34
[ "MIT" ]
null
null
null
kattis_done/minspantree.cpp
heiseish/Competitive-Programming
e4dd4db83c38e8837914562bc84bc8c102e68e34
[ "MIT" ]
null
null
null
/** it is foolish to fear what we have to see and know” */ #include <bits/stdc++.h> #define forn(i, l, r) for(int i=l;i<=r;i++) #define all(v) v.begin(),v.end() #define pb push_back #define nd second #define st first #define debug(x) cout<<#x<<" -> "<<x<< endl using namespace std; typedef long long ll; typedef long d...
20.364706
62
0.572501
heiseish
17acf4df9ba2dfe52bf2f13b24b6efe8ffea5af2
5,042
hpp
C++
include/GlobalNamespace/BoolSettingsController.hpp
marksteward/BeatSaber-Quest-Codegen
a76f063f71cef207a9f048ad7613835f554911a7
[ "Unlicense" ]
null
null
null
include/GlobalNamespace/BoolSettingsController.hpp
marksteward/BeatSaber-Quest-Codegen
a76f063f71cef207a9f048ad7613835f554911a7
[ "Unlicense" ]
null
null
null
include/GlobalNamespace/BoolSettingsController.hpp
marksteward/BeatSaber-Quest-Codegen
a76f063f71cef207a9f048ad7613835f554911a7
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" #include "extern/beatsaber-hook/shared/utils/byref.hpp" // Including type: SwitchSettings...
52.520833
183
0.737207
marksteward
17b0f70f51ffef68e40769c23c10325487650db3
1,886
cpp
C++
library/mod.cpp
zaurus-yusya/atcoder
5fc345b3da50222fa1366d1ce52ae58799488cef
[ "MIT" ]
3
2020-05-27T16:27:12.000Z
2021-01-27T12:47:12.000Z
library/mod.cpp
zaurus-yusya/Competitive-Programming
c72e13a11f76f463510bd4a476b86631d9d1b13a
[ "MIT" ]
null
null
null
library/mod.cpp
zaurus-yusya/Competitive-Programming
c72e13a11f76f463510bd4a476b86631d9d1b13a
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> typedef long long ll; #define rep(i,n) for(ll i=0;i<(n);i++) #define repr(i,n) for(ll i=(n-1);i>=0;i--) #define pb push_back #define mp make_pair #define all(x) x.begin(),x.end() #define br cout << endl; using namespace std; const int INF = 1e9; const int MOD = 1e9+7; using Graph = vector<vecto...
22.452381
95
0.528102
zaurus-yusya
17b0fa10823c8d43be6bbaf69985d88dd89fd7e3
7,364
hh
C++
src/c++/include/reference/ReferencePosition.hh
Illumina/Isaac4
0924fba8b467868da92e1c48323b15d7cbca17dd
[ "BSD-3-Clause" ]
13
2018-02-09T22:59:39.000Z
2021-11-29T06:33:22.000Z
src/c++/include/reference/ReferencePosition.hh
Illumina/Isaac4
0924fba8b467868da92e1c48323b15d7cbca17dd
[ "BSD-3-Clause" ]
17
2018-01-26T11:36:07.000Z
2022-02-03T18:48:43.000Z
src/c++/include/reference/ReferencePosition.hh
Illumina/Isaac4
0924fba8b467868da92e1c48323b15d7cbca17dd
[ "BSD-3-Clause" ]
4
2018-10-19T20:00:00.000Z
2020-10-29T14:44:06.000Z
/** ** Isaac Genome Alignment Software ** Copyright (c) 2010-2017 Illumina, Inc. ** All rights reserved. ** ** This software is provided under the terms and conditions of the ** GNU GENERAL PUBLIC LICENSE Version 3 ** ** You should have received a copy of the GNU GENERAL PUBLIC LICENSE Version 3 ** along with ...
37.571429
130
0.668387
Illumina
17bcb62c87ab980452f9435da5a8c31c2c309182
1,378
cpp
C++
src/cartesian_tree.test.cpp
ecnerwala/cp-book
89ba206e1d65ab48819d956d76073057fb43434e
[ "CC0-1.0" ]
351
2019-11-26T14:56:22.000Z
2022-03-30T10:40:13.000Z
src/cartesian_tree.test.cpp
OmkarAcharekar/cp-book
11f9f7c36097a18a0289c3cbdc158408c874927d
[ "CC0-1.0" ]
8
2019-12-24T21:37:19.000Z
2021-05-17T07:33:55.000Z
src/cartesian_tree.test.cpp
OmkarAcharekar/cp-book
11f9f7c36097a18a0289c3cbdc158408c874927d
[ "CC0-1.0" ]
57
2020-04-28T09:20:17.000Z
2022-02-13T09:35:31.000Z
#include "cartesian_tree.hpp" #include "catch.hpp" #include <bits/stdc++.h> TEST_CASE("Cartesian Tree", "[cartesian_tree]") { std::mt19937 mt(48); for (int sz : {0, 1, 2, 3, 5, 8, 13}) { std::vector<int> v(sz); iota(v.begin(), v.end(), 0); shuffle(v.begin(), v.end(), mt); { CartesianTree t = CartesianTre...
27.56
74
0.493469
ecnerwala
17bce1d74133a5a6306986c126210b84feb86fde
3,885
hpp
C++
src/cpu/simple_layer_normalization_kernels.hpp
amd/ZenDNN
2d8e025a05126b7c378d88a990a20e21a4182b20
[ "Apache-2.0" ]
28
2021-08-12T10:38:06.000Z
2022-03-25T08:37:31.000Z
src/cpu/simple_layer_normalization_kernels.hpp
amd/ZenDNN
2d8e025a05126b7c378d88a990a20e21a4182b20
[ "Apache-2.0" ]
2
2021-08-17T03:20:10.000Z
2021-09-23T04:15:32.000Z
src/cpu/simple_layer_normalization_kernels.hpp
amd/ZenDNN
2d8e025a05126b7c378d88a990a20e21a4182b20
[ "Apache-2.0" ]
5
2021-08-20T05:05:59.000Z
2022-02-25T19:13:07.000Z
/******************************************************************************* * Modifications Copyright (c) 2021 Advanced Micro Devices, Inc. All rights reserved. * Notified per clause 4(b) of the license. *******************************************************************************/ /***************************...
34.380531
84
0.654054
amd
17c0af7ea45d64b38849d743b9bf6c750d66665b
502
cpp
C++
src/game/CGroundColorAdjuster.cpp
JackCarlson/Avara
2d79f6a21855759e427e13ee2d791257bc8c8c71
[ "MIT" ]
77
2016-10-30T18:37:14.000Z
2022-02-13T05:02:55.000Z
src/game/CGroundColorAdjuster.cpp
tra/Avara
5a6b5a4f2cf29e8b2ddf7dd3f422579f37a14dab
[ "MIT" ]
135
2018-09-09T06:46:04.000Z
2022-01-29T19:33:12.000Z
src/game/CGroundColorAdjuster.cpp
tra/Avara
5a6b5a4f2cf29e8b2ddf7dd3f422579f37a14dab
[ "MIT" ]
19
2018-09-09T02:02:46.000Z
2022-03-16T08:21:08.000Z
/* Copyright ©1994-1995, Juri Munkki All rights reserved. File: CGroundColorAdjuster.c Created: Tuesday, November 29, 1994, 08:24 Modified: Saturday, December 30, 1995, 08:39 */ #include "CGroundColorAdjuster.h" #include "CWorldShader.h" CAbstractActor *CGroundColorAdjuster::EndScript() { CW...
20.08
51
0.701195
JackCarlson
17c0b6f98540d6c2c098a18c013987ff1014b028
72,368
cpp
C++
source/language.cpp
twinaphex/multiman-slim
ca165be2924304b2d786a81a9bc7d4901afb35bd
[ "MIT" ]
9
2015-06-24T08:38:26.000Z
2021-06-15T19:54:20.000Z
source/language.cpp
ysei/multiman-slim
ca165be2924304b2d786a81a9bc7d4901afb35bd
[ "MIT" ]
null
null
null
source/language.cpp
ysei/multiman-slim
ca165be2924304b2d786a81a9bc7d4901afb35bd
[ "MIT" ]
123
2017-08-26T19:21:03.000Z
2022-03-31T15:27:13.000Z
/* # Portions of code and idea for localization by: # (c) 2006 Eugene Plotnikov <e-plotnikov@operamail.com> # SMS Media Player for PS2 / PS2DEV Open Source Project # Used: SMS_Locale.h, SMS_Locale.c */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include "language.h" static unsigned char...
51.470839
249
0.665474
twinaphex
17c30ce5d18ad7a1dae4c63b1c93e169406ba1d0
776
hpp
C++
shared/src/usage.hpp
RyogaMasaki/chrgfx
f70d78b9742546d5f38246621e32c2c834cdaf0b
[ "MIT" ]
9
2019-03-25T19:28:24.000Z
2020-06-08T06:28:09.000Z
shared/src/usage.hpp
RyogaMasaki/gfx
f70d78b9742546d5f38246621e32c2c834cdaf0b
[ "MIT" ]
1
2019-11-18T12:35:58.000Z
2019-11-18T12:35:58.000Z
shared/src/usage.hpp
RyogaMasaki/gfx
f70d78b9742546d5f38246621e32c2c834cdaf0b
[ "MIT" ]
2
2019-10-12T08:22:18.000Z
2019-11-17T19:38:09.000Z
/** * @file usage.hpp * @author Motoi Productions (Damian Rogers damian@motoi.pro) * @brief Display program options/usage * * Updates: * 20220415 Initial */ #ifndef __MOTOI__USAGE_HPP #define __MOTOI__USAGE_HPP #include <getopt.h> #include <iostream> #include <ostream> struct option_details { bool const requ...
21.555556
79
0.717784
RyogaMasaki
17c439fcf58cbfdbebe1ab7ba1ce231a6e76a596
928
hpp
C++
husky-sql/relnode/abstract_rel_node.hpp
Alice3150/husky-sql
40dc95b5543c079bb4ab070fca2ac2a287514333
[ "Apache-2.0" ]
null
null
null
husky-sql/relnode/abstract_rel_node.hpp
Alice3150/husky-sql
40dc95b5543c079bb4ab070fca2ac2a287514333
[ "Apache-2.0" ]
null
null
null
husky-sql/relnode/abstract_rel_node.hpp
Alice3150/husky-sql
40dc95b5543c079bb4ab070fca2ac2a287514333
[ "Apache-2.0" ]
null
null
null
#pragma once #include <string> #include <vector> #include <memory> #include "husky-sql/utils/row_kv.hpp" #include "core/engine.hpp" namespace husky { namespace sql { class AbstractRelNode { public: AbstractRelNode() { } ~AbstractRelNode() { } inline void set_column_names(const std::...
28.121212
114
0.695043
Alice3150
17c9896a72d7b1c3bc4cd22d68beaa48b3de6a52
840
cc
C++
src/FractalStruct/equivalence_class.cc
jmikeowen/Spheral
3e1082a7aefd6b328bd3ae24ca1a477108cfc3c4
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
22
2018-07-31T21:38:22.000Z
2020-06-29T08:58:33.000Z
src/FractalStruct/equivalence_class.cc
markguozhiming/spheral
bbb982102e61edb8a1d00cf780bfa571835e1b61
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
41
2020-09-28T23:14:27.000Z
2022-03-28T17:01:33.000Z
src/FractalStruct/equivalence_class.cc
markguozhiming/spheral
bbb982102e61edb8a1d00cf780bfa571835e1b61
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
7
2019-12-01T07:00:06.000Z
2020-09-15T21:12:39.000Z
#include "libs.hh" #include "classes.hh" #include "headers.hh" namespace FractalSpace { void equivalence_class(Group& group) { group.head_number.resize(group.get_number_high_points()); for(int k=0; k < group.get_number_high_points(); ++k) group.head_number[k]=k; for(int i=0; i < group.get_number_h...
28.965517
76
0.675
jmikeowen
17ce16101c6b046f7fd896fd257e9c9af1b6bfc1
646
cpp
C++
C++/tests/problems/0153_divide_array_set_k_consecutive_test.cpp
oxone-999/algorithms
52dc527111e7422923a0e25684d8f4837e81a09b
[ "MIT" ]
6
2019-03-20T22:23:26.000Z
2020-08-28T03:10:27.000Z
C++/tests/problems/0153_divide_array_set_k_consecutive_test.cpp
oxone-999/algorithms
52dc527111e7422923a0e25684d8f4837e81a09b
[ "MIT" ]
15
2019-10-13T20:53:53.000Z
2022-03-31T02:01:35.000Z
C++/tests/problems/0153_divide_array_set_k_consecutive_test.cpp
oxone-999/algorithms
52dc527111e7422923a0e25684d8f4837e81a09b
[ "MIT" ]
3
2019-03-11T10:57:46.000Z
2020-02-26T21:13:21.000Z
#include "../../problems/0153_divide_array_set_k_consecutive.hpp" #include <bits/stdc++.h> #include "../../frameworks/catch.hpp" using namespace std; TEST_CASE( "Divide Array in Sets of K Consecutive Numbers" ) { Solution sol; vector<int> nums1 = {1,2,3,3,4,4,5,6}; REQUIRE( sol.isPossibleDivide(nums1...
30.761905
65
0.622291
oxone-999
17d91856dd67eb97493ed85149ed1c84d032fdb9
1,216
cpp
C++
libs/input/src/input/mouse/event/button.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
libs/input/src/input/mouse/event/button.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
libs/input/src/input/mouse/event/button.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
3
2018-05-11T01:11:34.000Z
2021-04-24T19:47:45.000Z
// Copyright Carl Philipp Reh 2006 - 2019. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #include <sge/input/mouse/button.hpp> #include <sge/input/mouse/button_code.hpp> #include <sge/inpu...
35.764706
98
0.714638
cpreh
17d94e78002f1e0ffcb834cc448f720db4f40c76
483
cpp
C++
maths/brokenCalculator.cpp
Gooner1886/DSA-101
44092e10ad39bebbf7da93e897927106d5a45ae7
[ "MIT" ]
20
2022-01-04T19:36:14.000Z
2022-03-21T15:35:09.000Z
maths/brokenCalculator.cpp
Gooner1886/DSA-101
44092e10ad39bebbf7da93e897927106d5a45ae7
[ "MIT" ]
null
null
null
maths/brokenCalculator.cpp
Gooner1886/DSA-101
44092e10ad39bebbf7da93e897927106d5a45ae7
[ "MIT" ]
null
null
null
// Leetcode - 991 - Broken Calculator int brokenCalc(int startValue, int target) { long long ans = 0; long long tar = target; while (startValue != tar) { if (tar % 2 == 0 and startValue < tar) { tar /= 2; } else if (tar > startValue) { tar ...
20.125
46
0.430642
Gooner1886
17dc6fd45ab9037f15b6842aacfa6df9758fcb15
2,263
cpp
C++
VTK/examples/vti2vec.cpp
chunmingchen/OSUFlow
6a5bbb15a43b7f66b58e51705b946f728e98961b
[ "mpich2" ]
7
2019-03-03T18:27:13.000Z
2021-12-12T07:39:07.000Z
VTK/examples/vti2vec.cpp
chunmingchen/OSUFlow
6a5bbb15a43b7f66b58e51705b946f728e98961b
[ "mpich2" ]
null
null
null
VTK/examples/vti2vec.cpp
chunmingchen/OSUFlow
6a5bbb15a43b7f66b58e51705b946f728e98961b
[ "mpich2" ]
7
2015-01-27T04:26:42.000Z
2020-06-18T21:29:14.000Z
// convert .vec files to vti format #include <stdio.h> #include <stdlib.h> #include <vtkFloatArray.h> #include <vtkPointData.h> #include <vtkVersion.h> #include <vtkCellArray.h> #include <vtkPoints.h> #include <vtkXMLStructuredGridWriter.h> #include <vtkStructuredGrid.h> #include <vtkSmartPointer.h> #include <vtkImage...
24.868132
87
0.657534
chunmingchen
17ed62ec797b1935f3b1786dfc8296f755bc44d6
7,166
cpp
C++
Klausur 1/KlausurAbgabe.cpp
streusselhirni/hfict-aad
a9ddbf306ba36bb9299021f102281cd1e2824f45
[ "MIT" ]
null
null
null
Klausur 1/KlausurAbgabe.cpp
streusselhirni/hfict-aad
a9ddbf306ba36bb9299021f102281cd1e2824f45
[ "MIT" ]
null
null
null
Klausur 1/KlausurAbgabe.cpp
streusselhirni/hfict-aad
a9ddbf306ba36bb9299021f102281cd1e2824f45
[ "MIT" ]
null
null
null
#include<iostream> #include<cmath> #include<vector> #include<algorithm> #include<map> #include<set> #include<deque> #include<list> #include"KlausurUtils.h" using namespace std; static const bool EXECUTE_PERFORMANCE_TEST_AUFGABE1 = true; int getDataAufgabe1(int idx); int getDataAufgabe3(int idx); st...
34.618357
118
0.581217
streusselhirni
17eea41cfeb26379af2ad4e1ac11dfe4e2a1420e
588
hpp
C++
greeks.hpp
PierreDenarie1/pth_pde_solver
c5725f35a9954d0f8f0b53d88fb748f9dabd05ec
[ "BSD-3-Clause" ]
null
null
null
greeks.hpp
PierreDenarie1/pth_pde_solver
c5725f35a9954d0f8f0b53d88fb748f9dabd05ec
[ "BSD-3-Clause" ]
null
null
null
greeks.hpp
PierreDenarie1/pth_pde_solver
c5725f35a9954d0f8f0b53d88fb748f9dabd05ec
[ "BSD-3-Clause" ]
null
null
null
#ifndef greeks_hpp #define greeks_hpp #include <stdio.h> double delta (const std::vector<double>& result,const std::vector<double>& Spots,const double& index) ; double gamma (const std::vector<double>& result,const std::vector<double>& Spots,const double& index) ; double theta (const std::vector<double>& result,con...
42
149
0.746599
PierreDenarie1
17f0b9433ba0dd5c1965bc2baaf9220b7bb663a7
300
cpp
C++
ch05_drill.cpp
rrosinha/cpp
53d675c2077fd0337b21a4d684f28173b98153fb
[ "MIT" ]
null
null
null
ch05_drill.cpp
rrosinha/cpp
53d675c2077fd0337b21a4d684f28173b98153fb
[ "MIT" ]
null
null
null
ch05_drill.cpp
rrosinha/cpp
53d675c2077fd0337b21a4d684f28173b98153fb
[ "MIT" ]
null
null
null
#include "std_lib_facilities.h" int main() { try { /* your code here */ return 0; } catch(exception& e) { cerr << e.what() << '\n'; return 1; } catch(...) { cerr << "Oops: unknown exception!\n"; return 2; } }
13.043478
45
0.413333
rrosinha
17f19ca518798064a8b8ff78898be4d32d7098e6
751
cpp
C++
src/formats/journal/JournalMessage.cpp
neogenie/iqlogger
7a3866046dd30282a35ce954dc4fd301452aa924
[ "Apache-2.0" ]
1
2020-08-17T12:22:36.000Z
2020-08-17T12:22:36.000Z
src/formats/journal/JournalMessage.cpp
neogenie/iqlogger
7a3866046dd30282a35ce954dc4fd301452aa924
[ "Apache-2.0" ]
null
null
null
src/formats/journal/JournalMessage.cpp
neogenie/iqlogger
7a3866046dd30282a35ce954dc4fd301452aa924
[ "Apache-2.0" ]
null
null
null
// // JournalMessage.cpp // ~~~~~~~~~~~~~~~~ // // Copyright (C) 2018 IQOption Software, Inc. // // #define RAPIDJSON_HAS_STDSTRING 1 #include "JournalMessage.h" #include "utils/Json.h" using namespace iqlogger::formats::journal; std::string JournalMessage::exportMessage2Json() const { rapidjson::StringBuffer s; ...
18.775
56
0.673768
neogenie
17fdbafd4b22f20a03b5ee311f9e9d1af90b98c5
3,212
hpp
C++
Code/PROJECT XYZ/Code/include/Engine/Managers/FileManager.hpp
SonarSystems/SGE
bb98feba6192ed34918c4c7bac74c050452d8386
[ "Unlicense" ]
null
null
null
Code/PROJECT XYZ/Code/include/Engine/Managers/FileManager.hpp
SonarSystems/SGE
bb98feba6192ed34918c4c7bac74c050452d8386
[ "Unlicense" ]
null
null
null
Code/PROJECT XYZ/Code/include/Engine/Managers/FileManager.hpp
SonarSystems/SGE
bb98feba6192ed34918c4c7bac74c050452d8386
[ "Unlicense" ]
null
null
null
#pragma once namespace Sonar { class FileManager { public: /** * \brief How should the data be written to the file */ enum WRITE_PROPERTY { ADD_TO_NEW_LINE = 0, ADD_TO_CURRENT_LINE }; /** * \brief Status of the file */ enum FILE_STATUS { OPEN = 0, UNKNOWN_ERROR, IS_FOLDER_NOT_A...
25.09375
238
0.681818
SonarSystems
17fe3e4728c2844d6afeac645e26d7fbfb5b8a2a
3,007
cpp
C++
Comparison/template_matching.cpp
jackros1022/object-detecting
f55e0310f1dccacd5e85cbbd1178523ea2199b89
[ "MIT" ]
null
null
null
Comparison/template_matching.cpp
jackros1022/object-detecting
f55e0310f1dccacd5e85cbbd1178523ea2199b89
[ "MIT" ]
null
null
null
Comparison/template_matching.cpp
jackros1022/object-detecting
f55e0310f1dccacd5e85cbbd1178523ea2199b89
[ "MIT" ]
1
2019-06-22T04:26:02.000Z
2019-06-22T04:26:02.000Z
// // Comparison of object detection methods // TemplateMatching class #include "template_matching.hpp" using namespace cv; TemplateMatching::TemplateMatching(int mode) : match_method(mode) { // from 20% to 100% size begin_ratio = 0.2; end_ratio = 1.0; } TemplateMatching::~TemplateMatching() { correlation.~Mat(...
25.058333
80
0.68008
jackros1022
aa01d5ca9128c3498bf6c832d3270af368bbf36b
689
hpp
C++
include/version.hpp
magicmoremagic/bengine-tools-bltc
fffd0bfd8dc67c50e89c17726a04bfe928d183e0
[ "MIT" ]
null
null
null
include/version.hpp
magicmoremagic/bengine-tools-bltc
fffd0bfd8dc67c50e89c17726a04bfe928d183e0
[ "MIT" ]
null
null
null
include/version.hpp
magicmoremagic/bengine-tools-bltc
fffd0bfd8dc67c50e89c17726a04bfe928d183e0
[ "MIT" ]
null
null
null
#pragma once #ifndef BE_BLTC_VERSION_HPP_ #define BE_BLTC_VERSION_HPP_ #include <be/core/macros.hpp> #define BE_BLTC_VERSION_MAJOR 0 #define BE_BLTC_VERSION_MINOR 1 #define BE_BLTC_VERSION_REV 12 /*!! include('common/version', 'BE_BLTC', 'BLTC') !! 6 */ /* ################# !! GENERATED CODE -- DO NOT MODIFY !! ####...
36.263158
152
0.677794
magicmoremagic
aa05e81d943096697ef43c4c277bff8afd412d84
688
hpp
C++
src/thread.hpp
jakinnaird/simpletsdb
8b0605b07fde34d8459dd923362ce6db9538efd6
[ "MIT" ]
null
null
null
src/thread.hpp
jakinnaird/simpletsdb
8b0605b07fde34d8459dd923362ce6db9538efd6
[ "MIT" ]
2
2020-02-10T19:03:49.000Z
2020-02-11T22:54:03.000Z
src/thread.hpp
jakinnaird/simpletsdb
8b0605b07fde34d8459dd923362ce6db9538efd6
[ "MIT" ]
null
null
null
/* * Simple Time-Series Database * * Thread * */ #pragma once #include <cstdint> class ThreadProc { public: virtual ~ThreadProc(void) {} virtual void Start(void) = 0; virtual void Process(void) = 0; virtual void Stop(void) = 0; void Sleep(uint32_t msec); }; class ThreadHelper; class Thread { friend cl...
12.509091
32
0.699128
jakinnaird
aa12f29d020f42960a1ecb09200269369250fddb
1,207
hpp
C++
include/ct/conflict_subsolver.hpp
fgrsnau/libct
62417c01bd5d476bd1e38d56035b30f1423262ab
[ "MIT" ]
3
2020-04-07T12:31:58.000Z
2020-04-15T15:01:27.000Z
include/ct/conflict_subsolver.hpp
fgrsnau/libct
62417c01bd5d476bd1e38d56035b30f1423262ab
[ "MIT" ]
1
2021-11-04T10:59:19.000Z
2021-11-04T10:59:19.000Z
include/ct/conflict_subsolver.hpp
fgrsnau/libct
62417c01bd5d476bd1e38d56035b30f1423262ab
[ "MIT" ]
null
null
null
#ifndef LIBCT_CONFLICT_SUBSOLVER_HPP #define LIBCT_CONFLICT_SUBSOLVER_HPP namespace ct { template<typename GRAPH_TYPE> class conflict_subsolver { public: using graph_type = GRAPH_TYPE; using detection_node_type = typename graph_type::detection_node_type; using conflict_node_type = typename graph_type::conflict_...
22.773585
94
0.729909
fgrsnau
aa1517bcf33f1acaa9433706c097f72a4696e047
487
cpp
C++
nds/win32s/ndsreg.cpp
webgeek1234/xmil-libretro
6184c824c58e012ba15f4c738d520fd712cbcf57
[ "BSD-3-Clause" ]
3
2020-04-03T02:25:57.000Z
2020-12-24T19:05:29.000Z
nds/win32s/ndsreg.cpp
webgeek1234/xmil-libretro
6184c824c58e012ba15f4c738d520fd712cbcf57
[ "BSD-3-Clause" ]
null
null
null
nds/win32s/ndsreg.cpp
webgeek1234/xmil-libretro
6184c824c58e012ba15f4c738d520fd712cbcf57
[ "BSD-3-Clause" ]
7
2020-04-09T21:23:38.000Z
2021-12-13T13:31:11.000Z
#include "compiler.h" #include "libnds.h" CNdsRegUpdate CNdsRegUpdate::m_self; static bool s_bUpdate[RT_MAX]; void CNdsReg8Base::set(UINT8 cValue, tagRegType nType) { m_cValue = cValue; CNdsRegUpdate::getInstance().set(nType); } void CNdsReg16Base::set(UINT16 wValue, tagRegType nType) { m_wValue = wValue; CNd...
18.037037
57
0.753593
webgeek1234
aa154724fa08dcae8b2556104fc46fcfdb819c7f
5,491
cpp
C++
src/button.cpp
digitalsurgeon/EasyWallpapers
86f62ad6453ed079f9b889d6adc910f0d89092c1
[ "MIT" ]
null
null
null
src/button.cpp
digitalsurgeon/EasyWallpapers
86f62ad6453ed079f9b889d6adc910f0d89092c1
[ "MIT" ]
null
null
null
src/button.cpp
digitalsurgeon/EasyWallpapers
86f62ad6453ed079f9b889d6adc910f0d89092c1
[ "MIT" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: openBossa - INdT (renato.chencarek@openbossa.org) ** ** $QT_BEGIN_LICENSE:LGPL$ ** No Commercial Usage ** This file contains pre-relea...
26.65534
86
0.624294
digitalsurgeon
aa201fc8609aba168d489e8090fb5cb2c6769e0e
1,042
cpp
C++
Engine/Source/Apps/Wolf.WinRT.Windows/MainGame.cpp
PeymanTahghighi/WolfEngine
12bc0dd5171e296f0b51bad74809cb44d47a0bf9
[ "MIT" ]
1
2021-08-17T09:26:17.000Z
2021-08-17T09:26:17.000Z
Engine/Source/Apps/Wolf.WinRT.Windows/MainGame.cpp
PeymanTahghighi/WolfEngine
12bc0dd5171e296f0b51bad74809cb44d47a0bf9
[ "MIT" ]
null
null
null
Engine/Source/Apps/Wolf.WinRT.Windows/MainGame.cpp
PeymanTahghighi/WolfEngine
12bc0dd5171e296f0b51bad74809cb44d47a0bf9
[ "MIT" ]
null
null
null
#include "pch.h" #include "MainGame.h" #include <GraphicsResource/Model/WMesh.h> using namespace std; using namespace Wolf::Graphics; MainGame::MainGame() { } void MainGame::Load() { //Load vertices const float v [] = { 1.0f, 1.0f, 0.0f, -1.0f, -1.0f, 0.0f, -1.0f, 1.0f, 0.0f, 1.0f, -1.0f, 0.0f, }; vecto...
16.030769
57
0.654511
PeymanTahghighi
aa2572817f0004434ef56e97e9bb2d94aef685c0
617
hpp
C++
src/vpg/gl/index_buffer.hpp
RiscadoA/voxel-platformer
4e7aadad978c333a59f452a8ee9f4612ee128614
[ "MIT" ]
3
2021-03-01T16:00:04.000Z
2022-01-07T03:45:32.000Z
src/vpg/gl/index_buffer.hpp
RiscadoA/voxel-platformer
4e7aadad978c333a59f452a8ee9f4612ee128614
[ "MIT" ]
null
null
null
src/vpg/gl/index_buffer.hpp
RiscadoA/voxel-platformer
4e7aadad978c333a59f452a8ee9f4612ee128614
[ "MIT" ]
2
2021-03-27T03:54:24.000Z
2021-06-22T13:53:07.000Z
#pragma once #include <vpg/gl/usage.hpp> #include <cstdint> #include <cstddef> namespace vpg::gl { class IndexBuffer final { public: inline IndexBuffer() : ibo(0) {} IndexBuffer(IndexBuffer&& rhs); IndexBuffer& operator=(IndexBuffer&& rhs); ~IndexBuffer(); static bool...
21.275862
88
0.601297
RiscadoA
aa28d6c1ce3676ff1c5f4e8295075eb72959bd63
1,235
cpp
C++
lintcode/mergeksortedlist.cpp
WIZARD-CXY/pl
22b7f5d81804f4e333d3cff6433364ba1a0ac7ef
[ "Apache-2.0" ]
1
2016-01-20T08:26:34.000Z
2016-01-20T08:26:34.000Z
lintcode/mergeksortedlist.cpp
WIZARD-CXY/pl
22b7f5d81804f4e333d3cff6433364ba1a0ac7ef
[ "Apache-2.0" ]
1
2015-10-21T05:38:17.000Z
2015-11-02T07:42:55.000Z
lintcode/mergeksortedlist.cpp
WIZARD-CXY/pl
22b7f5d81804f4e333d3cff6433364ba1a0ac7ef
[ "Apache-2.0" ]
null
null
null
/** * Definition of ListNode * class ListNode { * public: * int val; * ListNode *next; * ListNode(int val) { * this->val = val; * this->next = NULL; * } * } */ class Solution { public: /** * @param lists: a list of ListNode * @return: The head of one sorted list....
23.301887
62
0.453441
WIZARD-CXY
aa2dce7d73f9e7e31b517180a39ed2ac78468fe3
1,779
hpp
C++
include/termox/widget/widgets/password_edit.hpp
a-n-t-h-o-n-y/MCurses
c9184a0fefbdc4eb9a044f815ee2270e6b8f202c
[ "MIT" ]
284
2017-11-07T10:06:48.000Z
2021-01-12T15:32:51.000Z
include/termox/widget/widgets/password_edit.hpp
a-n-t-h-o-n-y/MCurses
c9184a0fefbdc4eb9a044f815ee2270e6b8f202c
[ "MIT" ]
38
2018-01-14T12:34:54.000Z
2020-09-26T15:32:43.000Z
include/termox/widget/widgets/password_edit.hpp
a-n-t-h-o-n-y/MCurses
c9184a0fefbdc4eb9a044f815ee2270e6b8f202c
[ "MIT" ]
31
2017-11-30T11:22:21.000Z
2020-11-03T05:27:47.000Z
#ifndef TERMOX_WIDGET_WIDGETS_PASSWORD_EDIT_HPP #define TERMOX_WIDGET_WIDGETS_PASSWORD_EDIT_HPP #include <termox/painter/glyph.hpp> #include <termox/painter/painter.hpp> #include <termox/widget/widgets/line_edit.hpp> namespace ox { /// A Line_edit that veils the input characters so the contents are hidden. /** Does n...
30.152542
80
0.710512
a-n-t-h-o-n-y
a8f477b23477f34f632596e42a1b2b14a5c1ff4a
12,679
cpp
C++
src/keyence_driver_node.cpp
TrW236/keyence_experimental
55e13cf47b80c552eb00c203486e61c44facb076
[ "BSD-3-Clause" ]
8
2016-07-05T09:43:01.000Z
2020-10-20T15:03:27.000Z
src/keyence_driver_node.cpp
TrW236/keyence_experimental
55e13cf47b80c552eb00c203486e61c44facb076
[ "BSD-3-Clause" ]
24
2015-05-31T17:38:58.000Z
2020-02-13T13:41:35.000Z
src/keyence_driver_node.cpp
TrW236/keyence_experimental
55e13cf47b80c552eb00c203486e61c44facb076
[ "BSD-3-Clause" ]
13
2015-06-06T20:54:15.000Z
2020-10-30T08:16:54.000Z
#include <ros/ros.h> #include <pcl/point_types.h> #include <pcl_ros/point_cloud.h> #include <limits> #include <keyence/impl/keyence_exception.h> #include <keyence/impl/keyence_tcp_client.h> #include <keyence/impl/messages/high_speed_single_profile.h> #include <keyence/impl/messages/change_program.h> #include <keyenc...
32.42711
106
0.67111
TrW236
a8f918c43512848fdedb11d05511842eff6c1259
10,100
hpp
C++
demo/shape_hierarchy.hpp
elishafer/mpt
e0997259fbd1431bab4b5ffb6f0d2f00fa380660
[ "BSD-3-Clause" ]
54
2018-09-28T17:28:02.000Z
2022-01-25T20:30:32.000Z
demo/shape_hierarchy.hpp
elishafer/mpt
e0997259fbd1431bab4b5ffb6f0d2f00fa380660
[ "BSD-3-Clause" ]
2
2019-11-21T20:16:26.000Z
2020-03-27T12:55:31.000Z
demo/shape_hierarchy.hpp
elishafer/mpt
e0997259fbd1431bab4b5ffb6f0d2f00fa380660
[ "BSD-3-Clause" ]
27
2019-05-15T00:18:46.000Z
2021-07-30T00:41:37.000Z
// Software License Agreement (BSD-3-Clause) // // Copyright 2018 The University of North Carolina at Chapel Hill // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // // 1. Redistributions of source code must retain...
32.686084
150
0.537327
elishafer
a8f9dc6c8a7f717b968f35f083b128f243eaee53
22,366
hpp
C++
include/mi4/Octree.hpp
tmichi/mi4
238278cd6c3e088a08920155f048bc74963986fb
[ "MIT" ]
null
null
null
include/mi4/Octree.hpp
tmichi/mi4
238278cd6c3e088a08920155f048bc74963986fb
[ "MIT" ]
1
2018-05-28T02:28:58.000Z
2018-05-28T03:00:24.000Z
include/mi4/Octree.hpp
tmichi/mi4
238278cd6c3e088a08920155f048bc74963986fb
[ "MIT" ]
null
null
null
/** * @file Octree.hpp * @author Takashi Michikawa */ #ifndef MI4_OCTREE_HPP #define MI4_OCTREE_HPP 1 #include <deque> #include <cmath> #include <iostream> #include <memory> #include <fstream> namespace mi4 { enum class OctreeNodeType : uint8_t { INVALID = 0xFF, ...
46.020576
174
0.271931
tmichi
a8fa1ffa361eb836b93eb83e5e6c9ba260c3d9e0
39,349
cpp
C++
src/vsearchue.cpp
akkuman/vnote
d9a42f74b18cda0179eaf558040dfd6c24c9a859
[ "MIT" ]
null
null
null
src/vsearchue.cpp
akkuman/vnote
d9a42f74b18cda0179eaf558040dfd6c24c9a859
[ "MIT" ]
null
null
null
src/vsearchue.cpp
akkuman/vnote
d9a42f74b18cda0179eaf558040dfd6c24c9a859
[ "MIT" ]
null
null
null
#include "vsearchue.h" #include <QDebug> #include <QVector> #include "vlistwidgetdoublerows.h" #include "vtreewidget.h" #include "vnotebook.h" #include "vnote.h" #include "vsearch.h" #include "utils/viconutils.h" #include "utils/vutils.h" #include "vmainwindow.h" #include "vnotebookselector.h" #include "vnotefile.h" ...
32.845576
107
0.556151
akkuman
a8fb7733b25d766241d1d4cf76f77c04868180ce
3,449
hpp
C++
src/lgfx/v1/panel/Panel_ILI9225.hpp
wakwak-koba/M5GFX
a0632b40590a49c0959209a2878225a51f167597
[ "MIT" ]
null
null
null
src/lgfx/v1/panel/Panel_ILI9225.hpp
wakwak-koba/M5GFX
a0632b40590a49c0959209a2878225a51f167597
[ "MIT" ]
null
null
null
src/lgfx/v1/panel/Panel_ILI9225.hpp
wakwak-koba/M5GFX
a0632b40590a49c0959209a2878225a51f167597
[ "MIT" ]
null
null
null
/*----------------------------------------------------------------------------/ Lovyan GFX - Graphics library for embedded devices. Original Source: https://github.com/lovyan03/LovyanGFX/ Licence: [FreeBSD](https://github.com/lovyan03/LovyanGFX/blob/master/license.txt) Author: [lovyan03](https://twitter.com/lov...
35.927083
178
0.636416
wakwak-koba
a8fd8c4756431487df0a7a0168f497a731aa8023
3,078
cpp
C++
plugins/example.nodes/source/gui/customgui_string.cpp
urender-vt/cinema4d_cpp_sdk_extended
77235d2e382d1536e0e694609929dbb74883072a
[ "Apache-2.0" ]
23
2018-09-05T21:11:07.000Z
2022-01-12T10:43:17.000Z
plugins/example.nodes/source/gui/customgui_string.cpp
urender-vt/cinema4d_cpp_sdk_extended
77235d2e382d1536e0e694609929dbb74883072a
[ "Apache-2.0" ]
null
null
null
plugins/example.nodes/source/gui/customgui_string.cpp
urender-vt/cinema4d_cpp_sdk_extended
77235d2e382d1536e0e694609929dbb74883072a
[ "Apache-2.0" ]
4
2019-07-12T16:57:20.000Z
2021-06-23T15:33:09.000Z
#include "customgui_string.h" #include "c4d_customdatatypeplugin.h" // We use the custom gui provided by the SDK for our string. // It adds a character counter right to the text edit field. #define ID_SDK_EXAMPLE_CUSTOMGUI_STRING 1034655 namespace maxonsdk { maxon::Result<void> UiConversionCustomGuiString::Initializ...
40.5
201
0.797596
urender-vt
a8ff02a6b3ea2a458adfdefbd111be8b954feabe
5,860
cpp
C++
AIEphys/src/TestEntity.cpp
squeenie/ProjectFakeDoctor
914c34217fd538be3d0229c0c88d9a7f41ede63d
[ "MIT" ]
null
null
null
AIEphys/src/TestEntity.cpp
squeenie/ProjectFakeDoctor
914c34217fd538be3d0229c0c88d9a7f41ede63d
[ "MIT" ]
null
null
null
AIEphys/src/TestEntity.cpp
squeenie/ProjectFakeDoctor
914c34217fd538be3d0229c0c88d9a7f41ede63d
[ "MIT" ]
null
null
null
#include "TestEntity.h" #include "Renderer2D.h" #include "Texture.h" #include "Timer.h" #include "Animation.h" #include "TestRifle.h" #include "..\AIEphysApp.h" #include "TextureManager.h" extern AIEphysApp* app; TestEntity::TestEntity() { m_EntityType = ENTITY_TEST_RIFLEMAN; m_TextureID = app->GetTextureManager()-...
22.113208
163
0.693003
squeenie