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
152a2f6f5098907a377a999bbe11ec8076d0c120
7,381
cpp
C++
bindings/python/algorithm/expose-frames.cpp
andreadelprete/pinocchio
6fa1c7d5502629ee126f84f1a05471815fba30f4
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
bindings/python/algorithm/expose-frames.cpp
andreadelprete/pinocchio
6fa1c7d5502629ee126f84f1a05471815fba30f4
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
bindings/python/algorithm/expose-frames.cpp
andreadelprete/pinocchio
6fa1c7d5502629ee126f84f1a05471815fba30f4
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
// // Copyright (c) 2015-2019 CNRS INRIA // #include "pinocchio/bindings/python/algorithm/algorithms.hpp" #include "pinocchio/algorithm/frames.hpp" namespace pinocchio { namespace python { static Data::Matrix6x get_frame_jacobian_proxy(const Model & model, ...
51.978873
206
0.568216
andreadelprete
152e47ae503ee7a4db2b74ea2ca8f9b9841c1e68
1,385
cpp
C++
quiz8/quiz8/quiz8.cpp
keithwj1/FoothillCS2C
88da66fb5f3ab65a62a1fcd29c10816c7134766a
[ "MIT" ]
null
null
null
quiz8/quiz8/quiz8.cpp
keithwj1/FoothillCS2C
88da66fb5f3ab65a62a1fcd29c10816c7134766a
[ "MIT" ]
null
null
null
quiz8/quiz8/quiz8.cpp
keithwj1/FoothillCS2C
88da66fb5f3ab65a62a1fcd29c10816c7134766a
[ "MIT" ]
null
null
null
// quiz8.cpp : This file contains the 'main' function. Program execution begins and ends there. // #include <iostream> #include <vector> #include <string> #include <algorithm> template<typename T> void insert_sort(std::vector<T> &input) { T key; for (size_t i = 1; i < input.size(); ++i) { key = inpu...
20.671642
95
0.509025
keithwj1
153000080fece1679922225f16fd384deec78e6a
517
cpp
C++
cpp/create-vector-cpp.cpp
dereckdemezquita/cs-Rcpp
1f991adb52a56cc4ca672bffe150b00391b27a13
[ "MIT" ]
null
null
null
cpp/create-vector-cpp.cpp
dereckdemezquita/cs-Rcpp
1f991adb52a56cc4ca672bffe150b00391b27a13
[ "MIT" ]
null
null
null
cpp/create-vector-cpp.cpp
dereckdemezquita/cs-Rcpp
1f991adb52a56cc4ca672bffe150b00391b27a13
[ "MIT" ]
null
null
null
#include <Rcpp.h> using namespace Rcpp; // Set the return type to IntegerVector // [[Rcpp::export]] IntegerVector seq_cpp(int lo, int hi) { int n = hi - lo + 1; // Create a new integer vector, sequence, of size n IntegerVector sequence(n); for(int i = 0; i < n; i++) { // Set the ith element of sequence to ...
19.148148
53
0.628627
dereckdemezquita
1537c063394968c81630ec46431e7e291cc24945
1,812
cpp
C++
ValleyThief/ValleyThiefGameModeBase.cpp
ShanuPatel/Project_ValleyThief
b101148cb926cbbcc1ca74f84f1dd4e35b9e7352
[ "MIT" ]
null
null
null
ValleyThief/ValleyThiefGameModeBase.cpp
ShanuPatel/Project_ValleyThief
b101148cb926cbbcc1ca74f84f1dd4e35b9e7352
[ "MIT" ]
null
null
null
ValleyThief/ValleyThiefGameModeBase.cpp
ShanuPatel/Project_ValleyThief
b101148cb926cbbcc1ca74f84f1dd4e35b9e7352
[ "MIT" ]
1
2021-03-13T07:42:16.000Z
2021-03-13T07:42:16.000Z
// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved. #include "ValleyThiefGameModeBase.h" #include "ValleyThief/ValleyThief.h" #include "ValleyThief/Public/BaseHUD.h" #include "ValleyThief/Private/MyCharacter.h" #include "UObject/ConstructorHelpers.h" #include "Kismet/GameplayStatics.h" #include "Engine.h" voi...
28.761905
121
0.747792
ShanuPatel
15397c6f2497c134d69d67c14f95e99afcb2224a
630
cpp
C++
Codeforces/1230A - Dawid and Bags of Candies.cpp
naimulcsx/online-judge-solutions
0b80f81bcfb05a7cfe7fc925304c70b19eff1d6f
[ "MIT" ]
null
null
null
Codeforces/1230A - Dawid and Bags of Candies.cpp
naimulcsx/online-judge-solutions
0b80f81bcfb05a7cfe7fc925304c70b19eff1d6f
[ "MIT" ]
null
null
null
Codeforces/1230A - Dawid and Bags of Candies.cpp
naimulcsx/online-judge-solutions
0b80f81bcfb05a7cfe7fc925304c70b19eff1d6f
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define ll long long using namespace std; vector<int> coins(4); int func( int pos, int left ) { if ( left == 0 ) return 1; if ( pos > 3 ) return 0; int p = 0, q = 0; if ( left - coins[pos] >= 0 ) p = func( pos + 1, left - coins[pos] ) ; q = func( pos + 1, left ) ;...
19.090909
52
0.434921
naimulcsx
153a0b8bf8f6d926b2b29f10b8c26db63dd07fa4
1,544
hxx
C++
include/opengm/inference/cgc/visitors.hxx
jasjuang/opengm
3c098e91244c98dbd3aafdc5e3a54dad67b7dfd9
[ "MIT" ]
318
2015-01-07T15:22:02.000Z
2022-01-22T10:10:29.000Z
include/opengm/inference/cgc/visitors.hxx
jasjuang/opengm
3c098e91244c98dbd3aafdc5e3a54dad67b7dfd9
[ "MIT" ]
89
2015-03-24T14:33:01.000Z
2020-07-10T13:59:13.000Z
include/opengm/inference/cgc/visitors.hxx
jasjuang/opengm
3c098e91244c98dbd3aafdc5e3a54dad67b7dfd9
[ "MIT" ]
119
2015-01-13T08:35:03.000Z
2022-03-01T01:49:08.000Z
#ifndef OPENGM_CGC_VISITORS #define OPENGM_CGC_VISITORS #include <opengm/opengm.hxx> template<class CGC> class CgcStateVisitor{ public: typedef CGC InfType; typedef typename InfType::AccumulationType AccumulationType; typedef typename InfType::GraphicalModelType GraphicalModelType; OPENGM_GM_TYPE_TYPEDEFS...
24.903226
92
0.656736
jasjuang
153b57bd965a1b0b01e30e6674588b71d64d7eaf
687
hpp
C++
Kuplung/kuplung/ui/components/materialeditor/MENode_Color.hpp
supudo/Kuplung
f0e11934fde0675fa531e6dc263bedcc20a5ea1a
[ "Unlicense" ]
14
2017-02-17T17:12:40.000Z
2021-12-22T01:55:06.000Z
Kuplung/kuplung/ui/components/materialeditor/MENode_Color.hpp
supudo/Kuplung
f0e11934fde0675fa531e6dc263bedcc20a5ea1a
[ "Unlicense" ]
null
null
null
Kuplung/kuplung/ui/components/materialeditor/MENode_Color.hpp
supudo/Kuplung
f0e11934fde0675fa531e6dc263bedcc20a5ea1a
[ "Unlicense" ]
1
2019-10-15T08:10:10.000Z
2019-10-15T08:10:10.000Z
// // MENode_Color.hpp // Kuplung // // Created by Sergey Petrov on 11/17/15. // Copyright © 2015 supudo.net. All rights reserved. // #ifndef MENode_Color_hpp #define MENode_Color_hpp #include "kuplung/utilities/imgui/imgui.h" #include "kuplung/ui/components/materialeditor/MENode.hpp" class MENode_Color: public ...
31.227273
213
0.754003
supudo
153cf2cf8794c16def9446b257a390ddc32d6e3e
666
cpp
C++
src/euler_dot_cpp/problems/50_59/problem_51.cpp
GediminasMasaitis/euler-dot-cpp
d127f5443e339eb57e1ac568df050c983b83d6df
[ "MIT" ]
1
2018-05-04T22:03:16.000Z
2018-05-04T22:03:16.000Z
src/euler_dot_cpp/problems/50_59/problem_51.cpp
GediminasMasaitis/euler-dot-cpp
d127f5443e339eb57e1ac568df050c983b83d6df
[ "MIT" ]
null
null
null
src/euler_dot_cpp/problems/50_59/problem_51.cpp
GediminasMasaitis/euler-dot-cpp
d127f5443e339eb57e1ac568df050c983b83d6df
[ "MIT" ]
null
null
null
#include "stdafx.hpp" #include "problem_51.hpp" using namespace std; int64_t impl_51_1::solve() { for(auto total_dig_cnt = 2; total_dig_cnt <= 5; ++total_dig_cnt) { const auto repl_dig_cnt = total_dig_cnt - 1; const auto mask_lim = 1 << repl_dig_cnt; for(auto mask = 1; mask < mask_lim;...
24.666667
68
0.474474
GediminasMasaitis
15411a7145de56f30fe63858374792ed6c8063b2
1,439
cpp
C++
src/QormDatabaseSettings.cpp
marcobusemann/QMetaOrm
3d133f0e7f9a42cf9abb5dcb9ff79d85f83729b4
[ "MIT" ]
null
null
null
src/QormDatabaseSettings.cpp
marcobusemann/QMetaOrm
3d133f0e7f9a42cf9abb5dcb9ff79d85f83729b4
[ "MIT" ]
1
2017-07-29T21:22:10.000Z
2017-07-29T21:22:10.000Z
src/QormDatabaseSettings.cpp
marcobusemann/QMetaOrm
3d133f0e7f9a42cf9abb5dcb9ff79d85f83729b4
[ "MIT" ]
null
null
null
#include <QMetaOrm/QormDatabaseSettings.h> #include <QSqlDatabase> const QString& QormDatabaseSettings::getDatabaseName() const { return databaseName; } void QormDatabaseSettings::setDatabaseName(const QString& databaseName) { this->databaseName = databaseName; } const QString& QormDatabaseSettings::getHost...
18.934211
71
0.720639
marcobusemann
15430a36080b9ffff19a3dafb1f44d6a8de7d65b
1,002
cpp
C++
src/PopUpMenu.cpp
geovens/TransWinove
a6bd77e9b7f8aae55f19b5dfda5e88e9119751c3
[ "MIT" ]
null
null
null
src/PopUpMenu.cpp
geovens/TransWinove
a6bd77e9b7f8aae55f19b5dfda5e88e9119751c3
[ "MIT" ]
1
2017-06-26T04:11:43.000Z
2018-03-09T11:39:56.000Z
src/PopUpMenu.cpp
geovens/TransWinove
a6bd77e9b7f8aae55f19b5dfda5e88e9119751c3
[ "MIT" ]
null
null
null
#include "TransApp.h" #include "PopUpMenu.h" BEGIN_EVENT_TABLE(PopUpMenu, wxMenu) EVT_MENU(1, PopUpMenu::OnMenu) EVT_MENU(2, PopUpMenu::OnMenu) EVT_MENU(3, PopUpMenu::OnMenu) END_EVENT_TABLE() PopUpMenu::PopUpMenu(TransApp *owner) : wxMenu() { Owner = owner; ItemGhost = AppendCheckItem(2, L"Ghost M...
20.875
96
0.645709
geovens
154649841934c6afb3b2153244a2ed524324b9ec
2,699
cpp
C++
ut/source/framework.cpp
dicroce/pri_q
b76db4a67a7fbebcc73a5a76663e1d44ff9d911e
[ "BSD-2-Clause" ]
12
2015-03-27T21:29:02.000Z
2016-11-26T23:43:52.000Z
ut/source/framework.cpp
dicroce/pri_q
b76db4a67a7fbebcc73a5a76663e1d44ff9d911e
[ "BSD-2-Clause" ]
1
2017-01-18T00:32:12.000Z
2017-01-18T00:32:12.000Z
ut/source/framework.cpp
dicroce/pri_q
b76db4a67a7fbebcc73a5a76663e1d44ff9d911e
[ "BSD-2-Clause" ]
6
2015-02-08T13:10:27.000Z
2017-01-18T00:24:47.000Z
#include "framework.h" #include <algorithm> #include <time.h> #include <stdarg.h> #include <stdlib.h> #include <sys/time.h> #include <unistd.h> using namespace std; vector<shared_ptr<test_fixture>> _test_fixtures; void rtf_usleep(unsigned int usec) { usleep(usec); } string rtf_format(const char* fmt, ...) { ...
20.603053
102
0.589107
dicroce
154bc2a36f75662e690811dad9eadcf050f9f657
568
cpp
C++
API/GameEngineContents/FadeIn.cpp
jooseeun/APIportforlio
da9253f2b8dd6392c1c59511985102e8f42dc041
[ "MIT" ]
null
null
null
API/GameEngineContents/FadeIn.cpp
jooseeun/APIportforlio
da9253f2b8dd6392c1c59511985102e8f42dc041
[ "MIT" ]
null
null
null
API/GameEngineContents/FadeIn.cpp
jooseeun/APIportforlio
da9253f2b8dd6392c1c59511985102e8f42dc041
[ "MIT" ]
null
null
null
#include "FadeIn.h" #include "ContentsEnums.h" #include <GameEngine/GameEngineRenderer.h> #include <GameEngineBase/GameEngineTime.h> FadeIn::FadeIn() :IsFadeIn(false), Alpha_(255) { } FadeIn::~FadeIn() { } void FadeIn::Start() { SetPosition({ 640,360 }); Renderer_ = CreateRenderer("FadeIn.bmp"); Renderer_->Set...
14.564103
53
0.665493
jooseeun
154d5fa6080b15e9f093a58b9bba13c400e9a95e
7,039
cpp
C++
examples/Graphics/image/main.cpp
Zethes/CGUL
863d15303227cb31e970374ada219ed7b561e243
[ "BSD-2-Clause" ]
8
2015-05-06T17:48:12.000Z
2021-05-26T15:52:05.000Z
examples/Graphics/image/main.cpp
Zethes/CGUL
863d15303227cb31e970374ada219ed7b561e243
[ "BSD-2-Clause" ]
null
null
null
examples/Graphics/image/main.cpp
Zethes/CGUL
863d15303227cb31e970374ada219ed7b561e243
[ "BSD-2-Clause" ]
3
2016-04-03T09:17:25.000Z
2019-04-02T01:41:13.000Z
#include <CGUL.hpp> using namespace CGUL; #include <GL/glew.h> #include <iostream> UIntN LoadShader(const String& vertexFile, const String& fragmentFile) { // Create the shaders UIntN vertexShader, fragmentShader; vertexShader = GL::CreateShader(GL_VERTEX_SHADER); fragmentShader = GL::CreateShader(GL...
35.550505
159
0.627504
Zethes
15572f1adab7415badb5b3a2e6b67bba39809521
466
cc
C++
examples/example_adaptor.cc
alibenD/design_pattern
1e40d3890145e7fa9385b72da9c1d50203db3346
[ "MIT" ]
null
null
null
examples/example_adaptor.cc
alibenD/design_pattern
1e40d3890145e7fa9385b72da9c1d50203db3346
[ "MIT" ]
null
null
null
examples/example_adaptor.cc
alibenD/design_pattern
1e40d3890145e7fa9385b72da9c1d50203db3346
[ "MIT" ]
null
null
null
/** * @Copyright (C) 2019 All rights reserved. * @date: 2019 * @file: example_adaptor.cc * @version: v0.0.1 * @author: aliben.develop@gmail.com * @create_date: 2019-08-06 18:50:49 * @last_modified_date: 2019-08-06 18:52:43 * @brief: TODO * @details: TODO */ //INCLUDE #include <design_pattern/adapto...
20.26087
49
0.660944
alibenD
15592141d401bdde725d0b09e6b8a3a39e424ef1
9,129
cpp
C++
src/Tasks/OverwatchTaskService.cpp
cmcghan/OpenUxAS_old
7982e32432b36e7877fe27bd4024e61fe316a5ea
[ "NASA-1.3" ]
1
2018-03-18T13:41:59.000Z
2018-03-18T13:41:59.000Z
src/Tasks/OverwatchTaskService.cpp
cmcghan/OpenUxAS_old
7982e32432b36e7877fe27bd4024e61fe316a5ea
[ "NASA-1.3" ]
null
null
null
src/Tasks/OverwatchTaskService.cpp
cmcghan/OpenUxAS_old
7982e32432b36e7877fe27bd4024e61fe316a5ea
[ "NASA-1.3" ]
null
null
null
// =============================================================================== // Authors: AFRL/RQQA // Organization: Air Force Research Laboratory, Aerospace Systems Directorate, Power and Control Division // // Copyright (c) 2017 Government of the United State of America, as represented by // the Secretary of th...
37.879668
164
0.655274
cmcghan
155b5001e12bf05a8245838b05853c663441929b
5,307
cpp
C++
src/OpenSpaceToolkit/Physics/Units/Mass.cpp
robinpdm/open-space-toolkit-physics
b53e5d4287fa6568d700cb8942c9a56d57b8d7cf
[ "Apache-2.0" ]
7
2020-03-30T11:51:11.000Z
2022-02-02T15:20:44.000Z
src/OpenSpaceToolkit/Physics/Units/Mass.cpp
robinpdm/open-space-toolkit-physics
b53e5d4287fa6568d700cb8942c9a56d57b8d7cf
[ "Apache-2.0" ]
24
2018-06-25T08:06:39.000Z
2020-01-05T20:34:02.000Z
src/OpenSpaceToolkit/Physics/Units/Mass.cpp
robinpdm/open-space-toolkit-physics
b53e5d4287fa6568d700cb8942c9a56d57b8d7cf
[ "Apache-2.0" ]
3
2020-03-05T18:18:38.000Z
2020-07-02T05:06:53.000Z
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// /// @project Open Space Toolkit ▸ Physics /// @file OpenSpaceToolkit/Physics/Units/Mass.cpp /// @author Lucas Brémond <lucas@loftorbi...
29.814607
167
0.299416
robinpdm
155c3b80d614d7baaf179efded369bfcef5e8cef
543
cpp
C++
source/aufgabe10.cpp
Vani4ka/programmiersprachen_aufgabenblatt3
b592dcf3da84c2a6e3ae060fa7beb1b11f94345e
[ "MIT" ]
null
null
null
source/aufgabe10.cpp
Vani4ka/programmiersprachen_aufgabenblatt3
b592dcf3da84c2a6e3ae060fa7beb1b11f94345e
[ "MIT" ]
null
null
null
source/aufgabe10.cpp
Vani4ka/programmiersprachen_aufgabenblatt3
b592dcf3da84c2a6e3ae060fa7beb1b11f94345e
[ "MIT" ]
null
null
null
#define CATCH_CONFIG_RUNNER #include "catch.hpp" #include <cmath> #include <algorithm> #include <vector> TEST_CASE ("describe_vector_add", "[aufgabe10]") { std::vector<int> v1{1,2,3,4,5,6,7,8,9}; std::vector<int> v2{9,8,7,6,5,4,3,2,1}; // v(5) verändert: v3(9) std::vector<int> v3(9); std::transform(v1.begin(), ...
23.608696
97
0.631676
Vani4ka
15637828c4bb50eb818dfe020df2f2ae702fedd6
1,733
cpp
C++
codeforcespractice.cpp
harsh6768-svg/competitive-practice
14e0d2e4563676756c0ee31acf339f6933428412
[ "MIT" ]
null
null
null
codeforcespractice.cpp
harsh6768-svg/competitive-practice
14e0d2e4563676756c0ee31acf339f6933428412
[ "MIT" ]
null
null
null
codeforcespractice.cpp
harsh6768-svg/competitive-practice
14e0d2e4563676756c0ee31acf339f6933428412
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define ff first #define ss second #define int long long #define pb push_back #define mp make_pair #define pii pair<int,int> #define vi vector<int> #define mii map<int,int> #define pqb ...
18.052083
71
0.530294
harsh6768-svg
d07f0e03c713905e231268b4084e2a32b7f47a37
162
cpp
C++
src/cpp/kcon/console.cpp
tibru/tibru
d262f0842213728715d282c65b718482e0a95a7e
[ "Apache-2.0" ]
97
2015-09-25T20:08:56.000Z
2022-01-03T20:01:10.000Z
src/cpp/kcon/console.cpp
tibru/tibru
d262f0842213728715d282c65b718482e0a95a7e
[ "Apache-2.0" ]
null
null
null
src/cpp/kcon/console.cpp
tibru/tibru
d262f0842213728715d282c65b718482e0a95a7e
[ "Apache-2.0" ]
6
2015-09-28T16:34:15.000Z
2021-02-02T04:24:07.000Z
#include "../elpa/console.tpp" #include "interpreter.h" #include "shell.h" using namespace kcon; using namespace elpa; template class Console<KConInterpreter>;
18
40
0.765432
tibru
d080f348b557b1380e70360fc6b3d934dc62da1a
2,666
hpp
C++
deadcell/pe/types.hpp
sdkabuser/DEADCELL-CSGO
dfcd31394c5348529b3c098640466db136b89e0c
[ "MIT" ]
506
2019-03-16T08:34:47.000Z
2022-03-29T14:08:59.000Z
deadcell/pe/types.hpp
sdkabuser/DEADCELL-CSGO
dfcd31394c5348529b3c098640466db136b89e0c
[ "MIT" ]
124
2019-03-17T02:54:57.000Z
2021-03-29T01:51:05.000Z
deadcell/pe/types.hpp
sdkabuser/DEADCELL-CSGO
dfcd31394c5348529b3c098640466db136b89e0c
[ "MIT" ]
219
2019-03-16T21:39:01.000Z
2022-03-30T08:59:24.000Z
#pragma once // note - dex; these are not complete structs, they only contain needed things for this project. // all of these structs are taken from x86-64 Windows 7 Home Premium ( Service Pack 1 ). namespace pe { namespace types { enum EXCEPTION_DISPOSITION : size_t { ExceptionContinueExecution =...
22.982759
101
0.725431
sdkabuser
d0835288e263da468d9e15d951ec79d9c7f26c6c
1,443
hh
C++
src/api/assets/audio.hh
izzyaxel/Loft
809b4e3df2c2b08092c6b3a94073f4509240b4f2
[ "BSD-3-Clause" ]
null
null
null
src/api/assets/audio.hh
izzyaxel/Loft
809b4e3df2c2b08092c6b3a94073f4509240b4f2
[ "BSD-3-Clause" ]
null
null
null
src/api/assets/audio.hh
izzyaxel/Loft
809b4e3df2c2b08092c6b3a94073f4509240b4f2
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include <string> #include <vector> /// Decibels to volume % [[nodiscard]] float dBToVolume(float dB); /// Volume % to decibels [[nodiscard]] float volumeTodB(float vol); enum struct AudioFormat { NONE = 0, OGG = 1, WAVE = 2, }; struct AudioInfo { AudioInfo() = default; AudioInfo(std::vector<int1...
35.195122
133
0.739432
izzyaxel
d08653745f67118fdda232eac2d60b2314b86a86
2,038
cpp
C++
TRayTracer/gShader.cpp
gabriellanzer/TRayTracer
1baabaf1a9b7accc8992a18bdfc83fe6e06aa30f
[ "MIT" ]
1
2018-03-11T23:46:21.000Z
2018-03-11T23:46:21.000Z
TRayTracer/gShader.cpp
TwinRavens/TRayTracer
1baabaf1a9b7accc8992a18bdfc83fe6e06aa30f
[ "MIT" ]
11
2018-05-17T12:16:45.000Z
2018-07-05T13:37:11.000Z
TRayTracer/gShader.cpp
TwinRavens/TRayTracer
1baabaf1a9b7accc8992a18bdfc83fe6e06aa30f
[ "MIT" ]
1
2018-08-08T12:28:15.000Z
2018-08-08T12:28:15.000Z
#include "gShader.h" rav::Shader::Shader(const string & shader_data, GLuint shader_type, const string & shader_name) : data(shader_data), type(shader_type), name(shader_name), compiled(false) { //Ask for OpenGL to create a shader ID of that Shader Type ID = glCreateShader(shader_type); //Assert if no name or data ...
20.585859
170
0.707556
gabriellanzer
d08931422115a0987c8fc2af707ffd6f3583c881
467
cpp
C++
geeksforgeeks/Hashing/Kth smallest element - medium/Answer.cpp
theCodeTeen/CP_Collection
78a0a564e8da47038232b0cca6f26153725af029
[ "MIT" ]
null
null
null
geeksforgeeks/Hashing/Kth smallest element - medium/Answer.cpp
theCodeTeen/CP_Collection
78a0a564e8da47038232b0cca6f26153725af029
[ "MIT" ]
null
null
null
geeksforgeeks/Hashing/Kth smallest element - medium/Answer.cpp
theCodeTeen/CP_Collection
78a0a564e8da47038232b0cca6f26153725af029
[ "MIT" ]
null
null
null
int kthSmallest(int arr[], int l, int r, int k) { int max=-1; for(int i=0;i<=r;i++) if(arr[i]>max) max=arr[i]; vector<bool> hash(max+1,false); for(int i=0;i<=r;i++) hash[arr[i]]=true; for(int i=0;i<=max;i++) { ...
22.238095
48
0.316916
theCodeTeen
d089e62aec48519e6816a03d06e7b79154c4c628
2,197
cpp
C++
src/Syntax/parse asgn.cpp
Kerndog73/STELA
11449b4bb440494f3ec4b1172b2688b5ec1bcd0a
[ "MIT" ]
10
2018-06-20T05:12:59.000Z
2021-11-23T02:56:04.000Z
src/Syntax/parse asgn.cpp
Kerndog73/STELA
11449b4bb440494f3ec4b1172b2688b5ec1bcd0a
[ "MIT" ]
null
null
null
src/Syntax/parse asgn.cpp
Kerndog73/STELA
11449b4bb440494f3ec4b1172b2688b5ec1bcd0a
[ "MIT" ]
null
null
null
// // parse asgn.cpp // STELA // // Created by Indi Kernick on 5/9/18. // Copyright © 2018 Indi Kernick. All rights reserved. // #include "parse asgn.hpp" #include "parse expr.hpp" using namespace stela; namespace { ast::AsgnPtr makeAssign(ParseTokens &tok, const ast::AssignOp op, ast::ExprPtr dst) { auto as...
25.546512
97
0.575785
Kerndog73
d08b1482a446aa62a81140cc8134f69a95a265b8
5,181
cpp
C++
source/ray/interaction.cpp
triplu-zero/monte-carlo-ray-tracer
8b36d5154204fc67e13376ad15b8bac33065c2d1
[ "MIT" ]
149
2020-03-06T00:39:43.000Z
2022-03-31T07:28:36.000Z
source/ray/interaction.cpp
triplu-zero/monte-carlo-ray-tracer
8b36d5154204fc67e13376ad15b8bac33065c2d1
[ "MIT" ]
4
2020-07-27T15:33:09.000Z
2022-02-24T11:34:40.000Z
source/ray/interaction.cpp
triplu-zero/monte-carlo-ray-tracer
8b36d5154204fc67e13376ad15b8bac33065c2d1
[ "MIT" ]
17
2020-03-23T16:05:36.000Z
2022-02-21T02:38:31.000Z
#include "interaction.hpp" #include "../material/fresnel.hpp" #include "../material/material.hpp" #include "../random/random.hpp" #include "../common/constants.hpp" #include "../common/coordinate-system.hpp" #include "../surface/surface.hpp" #include "../common/constexpr-math.hpp" Interaction::Interaction(const Inter...
27.412698
123
0.580583
triplu-zero
d08f19ff9d7043241e073cc6f15267bcf2b2d190
3,509
cpp
C++
src/Band/add_nl_h_o_pw.cpp
cocteautwins/SIRIUS-develop
8ab09ca7cc69e9a7dc76475b7b562b20d56deea3
[ "BSD-2-Clause" ]
null
null
null
src/Band/add_nl_h_o_pw.cpp
cocteautwins/SIRIUS-develop
8ab09ca7cc69e9a7dc76475b7b562b20d56deea3
[ "BSD-2-Clause" ]
null
null
null
src/Band/add_nl_h_o_pw.cpp
cocteautwins/SIRIUS-develop
8ab09ca7cc69e9a7dc76475b7b562b20d56deea3
[ "BSD-2-Clause" ]
null
null
null
#include "band.h" namespace sirius { void Band::add_nl_h_o_pw(K_point* kp__, int n__, matrix<double_complex>& phi__, matrix<double_complex>& hphi__, matrix<double_complex>& ophi__, matrix<doubl...
42.792683
136
0.553434
cocteautwins
d090e6c53bce152e9dff63a682636db4f99b229a
1,204
cpp
C++
YorozuyaGSLib/source/_UNIT_DB_BASE.cpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
YorozuyaGSLib/source/_UNIT_DB_BASE.cpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
YorozuyaGSLib/source/_UNIT_DB_BASE.cpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
44
2017-12-19T08:02:59.000Z
2022-02-24T23:15:01.000Z
#include <_UNIT_DB_BASE.hpp> START_ATF_NAMESPACE void _UNIT_DB_BASE::Init() { using org_ptr = void (WINAPIV*)(struct _UNIT_DB_BASE*); (org_ptr(0x1400765c0L))(this); }; _UNIT_DB_BASE::_UNIT_DB_BASE() { using org_ptr = void (WINAPIV*)(struct _UNIT_DB_BASE*); (org_ptr(...
29.365854
76
0.621262
lemkova
d0a1e9e5b265343cae602a6fd50f48c43076e2ae
339
cpp
C++
Drzewa binarne/zad1.cpp
Gieted/AiSD
23d7ecdfb8e4b25bd02a6f1d60ee35347eb74b38
[ "MIT" ]
null
null
null
Drzewa binarne/zad1.cpp
Gieted/AiSD
23d7ecdfb8e4b25bd02a6f1d60ee35347eb74b38
[ "MIT" ]
null
null
null
Drzewa binarne/zad1.cpp
Gieted/AiSD
23d7ecdfb8e4b25bd02a6f1d60ee35347eb74b38
[ "MIT" ]
null
null
null
#include <iostream> struct node { int data; node *left; node *right; }; node *search(node *tree, int x) { while (tree != NULL && tree->data != x) { if (x < tree->data) { tree = tree->left; } else { tree = tree->right; } } ...
13.56
43
0.421829
Gieted
d0a4e00be53e5b6b2ad62dfd54fb6f06c5c0962d
6,636
cpp
C++
dense_tiles/dense_tiles.cpp
alex85k/osmium-contrib
2a2ba087968e837589faf91909e6c086b5406f16
[ "Naumen", "Condor-1.1", "MS-PL" ]
16
2015-01-16T12:25:07.000Z
2019-06-27T07:53:45.000Z
dense_tiles/dense_tiles.cpp
alex85k/osmium-contrib
2a2ba087968e837589faf91909e6c086b5406f16
[ "Naumen", "Condor-1.1", "MS-PL" ]
8
2015-03-16T20:05:07.000Z
2020-08-21T00:57:25.000Z
dense_tiles/dense_tiles.cpp
alex85k/osmium-contrib
2a2ba087968e837589faf91909e6c086b5406f16
[ "Naumen", "Condor-1.1", "MS-PL" ]
9
2015-03-16T23:41:27.000Z
2020-05-03T04:52:42.000Z
/** * dense_tiles * * Computes densest data tiles from OSM file. * * Frederik Ramm <frederik@remote.org> */ #include <algorithm> #include <cstdlib> #include <getopt.h> #include <iostream> #include <limits> #include <utility> #include <vector> #include <osmium/geom/tile.hpp> #include <osmium/io/any_input.hpp> #i...
34.926316
151
0.534961
alex85k
d0a79109a62172f6b7d3a9c546c26d736421cd48
2,017
hpp
C++
g.hpp
userElaina/computer-graphics
0f27b8366f96182d8c9d66d38d8b0b35e4acff35
[ "MIT" ]
2
2021-09-17T05:28:37.000Z
2021-09-19T13:36:15.000Z
g.hpp
userElaina/computer-graphics
0f27b8366f96182d8c9d66d38d8b0b35e4acff35
[ "MIT" ]
null
null
null
g.hpp
userElaina/computer-graphics
0f27b8366f96182d8c9d66d38d8b0b35e4acff35
[ "MIT" ]
null
null
null
// code by userElaina // pop version that you can start quickly #pragma once #include "bmp24bits.hpp" BMP24bits*nft; int ox,oy; int col=0x000000; double xa=1,xb=0,ya=1,yb=0; inline int NewImage(int x,int y){ ox=((x>>2)+1)<<2; oy=((y>>2)+1)<<2; nft=new BMP24bits(ox<<1,oy<<1); printf("NewI...
22.411111
72
0.593951
userElaina
d0a8306780ff3cfc1c3d34c3e91803e42e68c4b6
1,292
cpp
C++
normal/SimpleSort.cpp
thewangcj/CodingInterview
f5ee3074e527295f6911a5439bb8ac5fc0ed56ea
[ "MIT" ]
1
2018-01-13T06:01:49.000Z
2018-01-13T06:01:49.000Z
normal/SimpleSort.cpp
thewangcj/CodingInterview
f5ee3074e527295f6911a5439bb8ac5fc0ed56ea
[ "MIT" ]
null
null
null
normal/SimpleSort.cpp
thewangcj/CodingInterview
f5ee3074e527295f6911a5439bb8ac5fc0ed56ea
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; void Swap(int *a, int *b) { int temp = *a; *a = *b; *b = temp; } // 冒泡排序 void bubble_sort(int data[], int length) { for (int i = 0; i < length - 1; i++) { for (int j = 0; j < length - 1 - i; j++) { if (data[j] > data[j + 1]) ...
18.197183
48
0.396285
thewangcj
d0aa38dd7353f1649bd4cc7ec972c5d2251e9eb7
2,992
hpp
C++
include/TypeMap.hpp
gusc/BinarySerializer
39a9c9f17205eafcd5b932dfc7107cd0da6b2c8c
[ "MIT" ]
1
2021-01-15T16:18:50.000Z
2021-01-15T16:18:50.000Z
include/TypeMap.hpp
gusc/BinarySerializer
39a9c9f17205eafcd5b932dfc7107cd0da6b2c8c
[ "MIT" ]
null
null
null
include/TypeMap.hpp
gusc/BinarySerializer
39a9c9f17205eafcd5b932dfc7107cd0da6b2c8c
[ "MIT" ]
null
null
null
// // TypeMap.hpp // Serializer // // Created by Gusts Kaksis on 01/09/2020. // Copyright © 2020 Gusts Kaksis. All rights reserved. // #ifndef TypeMap_h #define TypeMap_h #include <vector> #include <map> namespace gusc::Serializer { template<typename TType> struct TypeTlvMap; enum class SerializableType : ...
18.936709
72
0.729278
gusc
d0b054c0622dee70df8137f780322d4348a128e2
4,736
hpp
C++
hpx/traits/acquire_shared_state.hpp
McKillroy/hpx
f1bcb93f90a0b3c96e5fb3423028f0347f17f943
[ "BSL-1.0" ]
null
null
null
hpx/traits/acquire_shared_state.hpp
McKillroy/hpx
f1bcb93f90a0b3c96e5fb3423028f0347f17f943
[ "BSL-1.0" ]
null
null
null
hpx/traits/acquire_shared_state.hpp
McKillroy/hpx
f1bcb93f90a0b3c96e5fb3423028f0347f17f943
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2007-2016 Hartmut Kaiser // Copyright (c) 2016 Agustin Berge // // SPDX-License-Identifier: BSL-1.0 // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #ifndef HPX_TRAITS_ACQUIRE_SHARED_STATE_HPP ...
30.554839
84
0.548775
McKillroy
d0bf7696da0db8465ba553471401dd281a25a760
791
cpp
C++
AtCoder/abc143/d/main.cpp
H-Tatsuhiro/Com_Pro-Cpp
fd79f7821a76b11f4a6f83bbb26a034db577a877
[ "MIT" ]
null
null
null
AtCoder/abc143/d/main.cpp
H-Tatsuhiro/Com_Pro-Cpp
fd79f7821a76b11f4a6f83bbb26a034db577a877
[ "MIT" ]
1
2021-10-19T08:47:23.000Z
2022-03-07T05:23:56.000Z
AtCoder/abc143/d/main.cpp
H-Tatsuhiro/Com_Pro-Cpp
fd79f7821a76b11f4a6f83bbb26a034db577a877
[ "MIT" ]
null
null
null
#include <iostream> #include <cmath> #include <algorithm> #include <vector> using namespace std; int main() { int n; cin >> n; vector<int> a(n, 0); for (int i = 0; i < n; i++) cin >> a[i]; long long int ans = 0; vector<int> cnt(2000, 0); for (int i = 0; i < n; i++) cnt[a[i]]++; for (int i = ...
27.275862
67
0.378003
H-Tatsuhiro
d0c261788f5bb35ff97e66a51d03bd5380f0569e
887
cc
C++
src/openvslam/optimize/g2o/landmark_vertex_container.cc
htwang1996/openvslam_marker
e798e6e242f3a2c001a32dfd393fe9815026ad84
[ "Apache-2.0", "BSD-2-Clause", "MIT" ]
17
2021-04-17T07:16:13.000Z
2022-03-29T01:56:40.000Z
src/openvslam/optimize/g2o/landmark_vertex_container.cc
htwang1996/openvslam_marker
e798e6e242f3a2c001a32dfd393fe9815026ad84
[ "Apache-2.0", "BSD-2-Clause", "MIT" ]
4
2020-03-18T12:52:38.000Z
2020-03-31T16:59:59.000Z
src/openvslam/optimize/g2o/landmark_vertex_container.cc
htwang1996/openvslam_marker
e798e6e242f3a2c001a32dfd393fe9815026ad84
[ "Apache-2.0", "BSD-2-Clause", "MIT" ]
20
2021-02-28T09:41:34.000Z
2022-03-15T19:45:26.000Z
#include "openvslam/optimize/g2o/landmark_vertex_container.h" namespace openvslam { namespace optimize { namespace g2o { landmark_vertex_container::landmark_vertex_container(const unsigned int offset, const unsigned int num_reserve) : offset_(offset) { vtx_container_.reserve(num_reserve); } landmark_vertex* ...
26.878788
127
0.713641
htwang1996
d0c66736a3389cfc165d0fe83b0e0eb527dd8346
2,829
cpp
C++
src/sw/so/preparation/posts_parser.cpp
sewenew/so
a7220b70fe0a0697393d263c838a9a3bc19f3c2e
[ "Apache-2.0" ]
1
2019-07-08T06:26:46.000Z
2019-07-08T06:26:46.000Z
src/sw/so/preparation/posts_parser.cpp
sewenew/so
a7220b70fe0a0697393d263c838a9a3bc19f3c2e
[ "Apache-2.0" ]
null
null
null
src/sw/so/preparation/posts_parser.cpp
sewenew/so
a7220b70fe0a0697393d263c838a9a3bc19f3c2e
[ "Apache-2.0" ]
null
null
null
/************************************************************************** Copyright (c) 2018 sewenew 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/licen...
31.087912
84
0.468363
sewenew
d0c6d430d8e088174c216e6a56e42a04e2274435
979
cpp
C++
count-sub-islands.cpp
cleamoon/Leetcode_solutions
e7f4a700d7130abd7257435779a4ae193c08080a
[ "MIT" ]
null
null
null
count-sub-islands.cpp
cleamoon/Leetcode_solutions
e7f4a700d7130abd7257435779a4ae193c08080a
[ "MIT" ]
null
null
null
count-sub-islands.cpp
cleamoon/Leetcode_solutions
e7f4a700d7130abd7257435779a4ae193c08080a
[ "MIT" ]
null
null
null
class Solution { public: bool isSub = true; void dfs(vector<vector<int>>& grid, int x, int y, vector<vector<int>>& base) { if (x < 0 || x >= grid.size() || y < 0 || y >= grid[0].size() || grid[x][y] == 0) { return; } if (base[x][y] == 0) isSub = false; ...
27.194444
91
0.369765
cleamoon
d0c6fe3072ce55c0f037b472fd84687e559b090e
810
cpp
C++
src/syntax/AST/ReadFloat.cpp
pougetat/decacompiler
3181c87fce7c28d742f372300daabeb9f9f8d3c6
[ "MIT" ]
null
null
null
src/syntax/AST/ReadFloat.cpp
pougetat/decacompiler
3181c87fce7c28d742f372300daabeb9f9f8d3c6
[ "MIT" ]
null
null
null
src/syntax/AST/ReadFloat.cpp
pougetat/decacompiler
3181c87fce7c28d742f372300daabeb9f9f8d3c6
[ "MIT" ]
null
null
null
#include "ReadFloat.h" AbstractExpr * ReadFloat::Clone() { return new ReadFloat(); } void ReadFloat::Display(string tab) { cout << tab << ">[READFLOAT]" << endl; } AbstractType * ReadFloat::VerifyExpr( EnvironmentType * env_types, EnvironmentExp * env_exp, string * class_name) { m_expr_type =...
22.5
74
0.654321
pougetat
d0cbca173a141fa00869f1f4ebd41de798d88e1e
41,540
cpp
C++
Engine/Engine.cpp
Higami69/Leviathan
90f68f9f6e5506d6133bcefcf35c8e84f158483b
[ "BSL-1.0" ]
null
null
null
Engine/Engine.cpp
Higami69/Leviathan
90f68f9f6e5506d6133bcefcf35c8e84f158483b
[ "BSL-1.0" ]
null
null
null
Engine/Engine.cpp
Higami69/Leviathan
90f68f9f6e5506d6133bcefcf35c8e84f158483b
[ "BSL-1.0" ]
null
null
null
// ------------------------------------ // #include "Engine.h" #include "Application/AppDefine.h" #include "Application/Application.h" #include "Application/ConsoleInput.h" #include "Common/DataStoring/DataStore.h" #include "Common/StringOperations.h" #include "Common/Types.h" #include "Entities/GameWorld.h" #include ...
26.851972
95
0.569403
Higami69
d0cd6570644307ee6ca3b39bee2ad5b4b1188256
737
cpp
C++
backends/mysql/row-id.cpp
staticlibs/lookaside_soci
b3326cff7d4cf2dc122179eb8b988f2521944550
[ "BSL-1.0" ]
null
null
null
backends/mysql/row-id.cpp
staticlibs/lookaside_soci
b3326cff7d4cf2dc122179eb8b988f2521944550
[ "BSL-1.0" ]
null
null
null
backends/mysql/row-id.cpp
staticlibs/lookaside_soci
b3326cff7d4cf2dc122179eb8b988f2521944550
[ "BSL-1.0" ]
null
null
null
// // Copyright (C) 2004-2006 Maciej Sobczak, Stephen Hutton // MySQL backend copyright (C) 2006 Pawel Aleksander Fedorynski // 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) // #define SOCI_MYSQL_SOURCE ...
22.333333
64
0.723202
staticlibs
d0d06ffe811817925db4472422f345a36206e6dd
992
cpp
C++
CppStudio/Easy/01.cpp
vvhappyguy/Access-to-IT
1452c64f8c03addf6836a846af63123f65a9f620
[ "Apache-2.0" ]
null
null
null
CppStudio/Easy/01.cpp
vvhappyguy/Access-to-IT
1452c64f8c03addf6836a846af63123f65a9f620
[ "Apache-2.0" ]
null
null
null
CppStudio/Easy/01.cpp
vvhappyguy/Access-to-IT
1452c64f8c03addf6836a846af63123f65a9f620
[ "Apache-2.0" ]
null
null
null
// Compile with g++ (gcc ver. 8.2.0) // 1. Алгебраическая сумма // Найти Y, если Y = X1 + X2 + … + Xn, X = Z^3 - B + A^2 / tg^2?. // Количество X вводятся пользователем программы. // Для каждого X значения Z, B, А, ? разные (вводятся пользователем программы). // Input: count, count * (z, b, a, ?) // Output: (float)...
22.545455
79
0.530242
vvhappyguy
d0d80c2dd9e2f9dc31a403e16cb4b240da60ae72
8,862
cpp
C++
src/bkGL/renderable/background/GradientBackground.cpp
BenKoehler/bk
53d9ce99cf54fe01dbb3b22ff2418cd102e20ee3
[ "MIT" ]
4
2018-12-08T15:35:38.000Z
2021-08-06T03:23:06.000Z
src/bkGL/renderable/background/GradientBackground.cpp
BenKoehler/bk
53d9ce99cf54fe01dbb3b22ff2418cd102e20ee3
[ "MIT" ]
null
null
null
src/bkGL/renderable/background/GradientBackground.cpp
BenKoehler/bk
53d9ce99cf54fe01dbb3b22ff2418cd102e20ee3
[ "MIT" ]
null
null
null
/* * MIT License * * Copyright (c) 2018-2019 Benjamin Köhler * * 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, c...
35.733871
146
0.50756
BenKoehler
d0daef4196825b138b51f73826452e2c82535665
339
cpp
C++
Tests/UnitTests/V2LibraryTests/Main.cpp
alexboukhvalova/CNTK
8835d4f61b393f068a4f019424bbc80c0b4e761a
[ "RSA-MD" ]
null
null
null
Tests/UnitTests/V2LibraryTests/Main.cpp
alexboukhvalova/CNTK
8835d4f61b393f068a4f019424bbc80c0b4e761a
[ "RSA-MD" ]
null
null
null
Tests/UnitTests/V2LibraryTests/Main.cpp
alexboukhvalova/CNTK
8835d4f61b393f068a4f019424bbc80c0b4e761a
[ "RSA-MD" ]
null
null
null
#include "CNTKLibrary.h" #include <functional> void NDArrayViewTests(); void TensorTests(); void FeedForwardTests(); void RecurrentFunctionTests(); int main() { NDArrayViewTests(); TensorTests(); FeedForwardTests(); RecurrentFunctionTests(); fprintf(stderr, "\nCNTKv2Library tests: Passed\n"); ...
17.842105
55
0.707965
alexboukhvalova
d0db0219b4d358ebc924ef1e693d5c2ba21093fe
1,059
cpp
C++
N2195-Append-K-Integers-With-Minimal-Sum/solution1.cpp
loyio/leetcode
366393c29a434a621592ef6674a45795a3086184
[ "CC0-1.0" ]
null
null
null
N2195-Append-K-Integers-With-Minimal-Sum/solution1.cpp
loyio/leetcode
366393c29a434a621592ef6674a45795a3086184
[ "CC0-1.0" ]
null
null
null
N2195-Append-K-Integers-With-Minimal-Sum/solution1.cpp
loyio/leetcode
366393c29a434a621592ef6674a45795a3086184
[ "CC0-1.0" ]
2
2022-01-25T05:31:31.000Z
2022-02-26T07:22:23.000Z
// // main.cpp // LeetCode-Solution // // Created by Loyio Hex on 3/6/22. // #include <iostream> #include <chrono> #include <vector> #include <algorithm> using namespace std; using namespace std::chrono; class Solution { public: long long minimalKSum(vector<int>& nums, int k) { sort(nums.begin(), num...
21.18
74
0.543909
loyio
d0dba1faf3369258b378450c55f337b2ca2cd4f4
1,182
cpp
C++
source/Ch18/ch18.cpp
AttilaAV/UDProg-Introduction
791fe2120cfa3c47346e28cc588d06420842cf5f
[ "CC0-1.0" ]
null
null
null
source/Ch18/ch18.cpp
AttilaAV/UDProg-Introduction
791fe2120cfa3c47346e28cc588d06420842cf5f
[ "CC0-1.0" ]
null
null
null
source/Ch18/ch18.cpp
AttilaAV/UDProg-Introduction
791fe2120cfa3c47346e28cc588d06420842cf5f
[ "CC0-1.0" ]
null
null
null
#include "std_lib_facilities.h" class My_vector { private: long unsigned int sz; //meret double* elem; // memoria ter a free storeban public: My_vector(int s): sz(s), elem{new double[s]}//konstruktor, s = elem { for (int i = 0; i < s; ++i) elem[i] = 0; } My_vector(initializer_list<double> lst): sz{lst.size()...
20.033898
78
0.592217
AttilaAV
d0df595d79ff863b8d2ea1c27da613a0c3f178af
470
hpp
C++
src/console/ConsoleView.hpp
zer0main/bin_game_mvc
ddaddd598f417188e5b3d95c600b5775afbe2911
[ "MIT" ]
1
2015-03-13T15:46:42.000Z
2015-03-13T15:46:42.000Z
src/console/ConsoleView.hpp
zer0main/bin_game_mvc
ddaddd598f417188e5b3d95c600b5775afbe2911
[ "MIT" ]
4
2015-08-30T15:53:03.000Z
2016-02-27T20:03:22.000Z
src/console/ConsoleView.hpp
zer0main/bin_game_mvc
ddaddd598f417188e5b3d95c600b5775afbe2911
[ "MIT" ]
null
null
null
/* * Copyright (C) 2014-2016 Pavel Dolgov * * See the LICENSE file for terms of use. */ #ifndef IOBASE_HPP_ #define IOBASE_HPP_ #include "ConsoleBotView.hpp" class ConsoleView: public ConsoleBotView { protected: int getWinNumber_impl() const; int getDeskSize_impl() const; int getTimeNumber_impl() c...
15.666667
55
0.719149
zer0main
d0e22edc4f0be0882b37f5f96300b40e7b2344a2
9,310
hpp
C++
sampling/include/var_opt_union.hpp
FluorineDog/datasketches-cpp
8635abe98710f99cbcf0b64b85f5d0e416999f9b
[ "Apache-2.0" ]
64
2021-01-10T19:13:34.000Z
2022-03-29T00:31:02.000Z
sampling/include/var_opt_union.hpp
FluorineDog/datasketches-cpp
8635abe98710f99cbcf0b64b85f5d0e416999f9b
[ "Apache-2.0" ]
74
2021-01-04T18:43:50.000Z
2022-03-17T22:11:02.000Z
sampling/include/var_opt_union.hpp
FluorineDog/datasketches-cpp
8635abe98710f99cbcf0b64b85f5d0e416999f9b
[ "Apache-2.0" ]
26
2021-01-03T08:39:48.000Z
2022-03-29T00:31:07.000Z
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
38.791667
103
0.741568
FluorineDog
d0e67e7e7610f19a824ea0280334139757ae2098
3,083
cpp
C++
UltraDV/Source/Editors/Source/TAudioPlayButton.cpp
ModeenF/UltraDV
30474c60880de541b33687c96293766fe0dc4aef
[ "Unlicense" ]
null
null
null
UltraDV/Source/Editors/Source/TAudioPlayButton.cpp
ModeenF/UltraDV
30474c60880de541b33687c96293766fe0dc4aef
[ "Unlicense" ]
null
null
null
UltraDV/Source/Editors/Source/TAudioPlayButton.cpp
ModeenF/UltraDV
30474c60880de541b33687c96293766fe0dc4aef
[ "Unlicense" ]
null
null
null
//--------------------------------------------------------------------- // // File: TAudioPlayButton.cpp // // Author: Gene Z. Ragan // // Date: 02.19.98 // /// Desc: Audio Editor Play button. Clicking cause adio file to be played // // Copyright ©1998 mediapede Software // //-------------------------------------------...
22.837037
218
0.507298
ModeenF
d0ea741e493e7c3f9ffb767068d03a266257d9b6
4,233
cpp
C++
src/components/Body.cpp
TheoVerhelst/Aphelion
357df0ba5542ce22dcff10c434aa4a20da0c1b17
[ "Beerware" ]
8
2022-01-18T09:58:21.000Z
2022-02-21T00:08:58.000Z
src/components/Body.cpp
TheoVerhelst/Aphelion
357df0ba5542ce22dcff10c434aa4a20da0c1b17
[ "Beerware" ]
null
null
null
src/components/Body.cpp
TheoVerhelst/Aphelion
357df0ba5542ce22dcff10c434aa4a20da0c1b17
[ "Beerware" ]
null
null
null
#include <algorithm> #include <components/Body.hpp> #include <Scene.hpp> Vector2f Body::localToWorld(const Vector2f& point) const { return rotate(point, rotation) + position; } Vector2f Body::worldToLocal(const Vector2f& point) const { return rotate(point - position, -rotation); } std::vector<Vector2f> Body:...
44.09375
116
0.692653
TheoVerhelst
d0f0a74641c2239c848319e4bef8d5b5795e416b
454
cpp
C++
src/single-number-ii.cpp
Liuchang0812/leetcode
d71f87b0035e661d0009f4382b39c4787c355f89
[ "MIT" ]
9
2015-09-09T20:28:31.000Z
2019-05-15T09:13:07.000Z
src/single-number-ii.cpp
liuchang0812/leetcode
d71f87b0035e661d0009f4382b39c4787c355f89
[ "MIT" ]
1
2015-02-25T13:10:09.000Z
2015-02-25T13:10:09.000Z
src/single-number-ii.cpp
liuchang0812/leetcode
d71f87b0035e661d0009f4382b39c4787c355f89
[ "MIT" ]
1
2016-08-31T19:14:52.000Z
2016-08-31T19:14:52.000Z
class Solution { public: int singleNumber(int A[], int n) { int Cnt[32]; memset(Cnt, 0, sizeof Cnt); for (int i=0; i<n; ++i) { for (int j=0; j<32; ++j) { if ((A[i] >> j)&1)Cnt[j]++; } } int ans = 0, base = 1; ...
20.636364
43
0.334802
Liuchang0812
d0f2bc6b7e4ddddb2e12a2b2ec8955b9b07e238c
472
hpp
C++
components/net/cpp/include/ftl/net/common_fwd.hpp
knicos/voltu
70b39da7069f8ffd7e33aeb5bdacc84fe4a78f01
[ "MIT" ]
4
2020-12-28T15:29:15.000Z
2021-06-27T12:37:15.000Z
components/net/cpp/include/ftl/net/common_fwd.hpp
knicos/voltu
70b39da7069f8ffd7e33aeb5bdacc84fe4a78f01
[ "MIT" ]
null
null
null
components/net/cpp/include/ftl/net/common_fwd.hpp
knicos/voltu
70b39da7069f8ffd7e33aeb5bdacc84fe4a78f01
[ "MIT" ]
2
2021-01-13T05:28:39.000Z
2021-05-04T03:37:11.000Z
/** * @file common_fwd.hpp * @copyright Copyright (c) 2020 University of Turku, MIT License * @author Nicolas Pope */ #ifndef _FTL_NET_COMMON_FORWARD_HPP_ #define _FTL_NET_COMMON_FORWARD_HPP_ #ifndef WIN32 #define INVALID_SOCKET -1 #define SOCKET int #else // WIN32 #if defined(_WIN64) typedef unsigned __in...
16.857143
65
0.752119
knicos
d0f5417068a640c5d517c3f3d3d6422c3c4a3a91
384
cpp
C++
day.4-1.cpp
duasong111/c_lang_learn
4a939204a9d12a1fd0a6ca4ff36ed3bfdfb97482
[ "BSD-2-Clause" ]
null
null
null
day.4-1.cpp
duasong111/c_lang_learn
4a939204a9d12a1fd0a6ca4ff36ed3bfdfb97482
[ "BSD-2-Clause" ]
null
null
null
day.4-1.cpp
duasong111/c_lang_learn
4a939204a9d12a1fd0a6ca4ff36ed3bfdfb97482
[ "BSD-2-Clause" ]
null
null
null
/* 显示逆向的值 */ #include <stdio.h> int main(void) { int num; do { printf("请输入一个正整数:"); scanf_s("%d", &num); if (num <= 0) puts("请不要输入非正整数:\a"); } while (num <= 0); printf("该正整数的逆向显示值是"); while (num > 10) { /*只要num大于10则重新再来一遍*/ printf("%d", num % 10); /* 是不是存在一个定理叫做余数优先输...
14.222222
61
0.494792
duasong111
d0fa089289f358a5f42f38645950e6dc092cef13
1,462
cpp
C++
phxrpc/network/uthread_context_base.cpp
bombshen/phxrpc
465db10bd4c4bf6d95f6e8b431cc7abcda731ffb
[ "BSD-3-Clause" ]
1,117
2017-08-02T06:03:59.000Z
2022-03-31T18:36:53.000Z
phxrpc/network/uthread_context_base.cpp
bombshen/phxrpc
465db10bd4c4bf6d95f6e8b431cc7abcda731ffb
[ "BSD-3-Clause" ]
31
2017-08-16T08:43:35.000Z
2021-02-13T22:49:25.000Z
phxrpc/network/uthread_context_base.cpp
bombshen/phxrpc
465db10bd4c4bf6d95f6e8b431cc7abcda731ffb
[ "BSD-3-Clause" ]
359
2017-08-04T07:32:41.000Z
2022-03-31T10:19:45.000Z
/* Tencent is pleased to support the open source community by making PhxRPC available. Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved. Licensed under the BSD 3-Clause License (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the L...
31.782609
90
0.777702
bombshen
cb9c16aaa260edc09765e6eade4bc609033f805a
2,010
cpp
C++
Source/EngineStd/GameAssetManager/Factory/Components/EngineObject/GameAssetEngineObject.cpp
vivienneanthony/MyForkEditor
273e15ca3610b3d3b68fdf2efbac2ba1b3659e7f
[ "Apache-2.0" ]
2
2015-12-30T00:32:09.000Z
2016-02-27T14:50:06.000Z
Source/EngineStd/GameAssetManager/Factory/Components/EngineObject/GameAssetEngineObject.cpp
vivienneanthony/MyForkEditor
273e15ca3610b3d3b68fdf2efbac2ba1b3659e7f
[ "Apache-2.0" ]
null
null
null
Source/EngineStd/GameAssetManager/Factory/Components/EngineObject/GameAssetEngineObject.cpp
vivienneanthony/MyForkEditor
273e15ca3610b3d3b68fdf2efbac2ba1b3659e7f
[ "Apache-2.0" ]
null
null
null
// include engine headers #include "EngineStd.h" #include "GameAssetEngineObject.h" // constant const GameAssetType GameAssetEngineObject::g_Type = GAType_EngineObject; GameAssetEngineObject::GameAssetEngineObject(Context* context) : BaseComponent(context) { m_pNodeStaticModel = NULL; // Null static...
24.814815
117
0.679104
vivienneanthony
cb9ed6eb6c491e024101733dc7485af57dd96468
260
cpp
C++
src/depricated_code/kmer_freq.cpp
LaoZZZZZ/bartender-1.1
ddfb2e52bdf92258dd837ab8ee34306e9fb45b81
[ "MIT" ]
22
2016-08-11T06:16:25.000Z
2022-02-22T00:06:59.000Z
src/depricated_code/kmer_freq.cpp
LaoZZZZZ/bartender-1.1
ddfb2e52bdf92258dd837ab8ee34306e9fb45b81
[ "MIT" ]
9
2016-12-08T12:42:38.000Z
2021-12-28T20:12:15.000Z
src/depricated_code/kmer_freq.cpp
LaoZZZZZ/bartender-1.1
ddfb2e52bdf92258dd837ab8ee34306e9fb45b81
[ "MIT" ]
8
2017-06-26T13:15:06.000Z
2021-11-12T18:39:54.000Z
#include "kmer_freq.h" #include "typdefine.h" namespace barcodeSpace{ kmers_freq::kmers_freq(kmer k, freq f):_key(k),_freq(f){} kmers_freq::kmers_freq(const kmers_freq& e){ this->_key = e._key; this->_freq = e._freq; } } // namespace barcodeSpace
21.666667
57
0.696154
LaoZZZZZ
cba3df8a91f2c24fac4a13346de48b1233f2063e
22,520
cc
C++
wrappers/8.1.1/vtkPointGaussianMapperWrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
6
2016-02-03T12:48:36.000Z
2020-09-16T15:07:51.000Z
wrappers/8.1.1/vtkPointGaussianMapperWrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
4
2016-02-13T01:30:43.000Z
2020-03-30T16:59:32.000Z
wrappers/8.1.1/vtkPointGaussianMapperWrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
null
null
null
/* this file has been autogenerated by vtkNodeJsWrap */ /* editing this might proof futile */ #define VTK_WRAPPING_CXX #define VTK_STREAMS_FWD_ONLY #include <nan.h> #include "vtkPolyDataMapperWrap.h" #include "vtkPointGaussianMapperWrap.h" #include "vtkObjectBaseWrap.h" #include "vtkPiecewiseFunctionWrap.h" #include ...
33.915663
113
0.750533
axkibe
cba6c59ae0600f12106c1c68e82caa993e793c4d
718
hpp
C++
mod/money/old.hpp
WangYneos/bdlauncher
e5644cf732f0602fd4147d77c3be24f3daf8cf69
[ "MIT" ]
1
2020-01-29T15:59:25.000Z
2020-01-29T15:59:25.000Z
mod/money/old.hpp
WangYneos/bdlauncher
e5644cf732f0602fd4147d77c3be24f3daf8cf69
[ "MIT" ]
null
null
null
mod/money/old.hpp
WangYneos/bdlauncher
e5644cf732f0602fd4147d77c3be24f3daf8cf69
[ "MIT" ]
null
null
null
#include "seral.hpp" static void DO_DATA_CONVERT(const char *buf, int sz) { do_log("size %d", sz); DataStream ds; ds.dat = string(buf, sz); int length; ds >> length; for (int i = 0; i < length; ++i) { string key, val; ds >> key >> val; do_log("key %s val %d", key.c_str(), access(val.data(), int,...
27.615385
69
0.591922
WangYneos
cba965ff27aa6b873ff02190914b85e337a31444
9,876
cxx
C++
sources/raytracer/app.cxx
sergeyreznik/etx-tracer
e9941102daa5693af2a975e561022920a85826ef
[ "MIT" ]
180
2022-01-18T18:55:06.000Z
2022-03-21T14:24:39.000Z
sources/raytracer/app.cxx
sergeyreznik/etx-tracer
e9941102daa5693af2a975e561022920a85826ef
[ "MIT" ]
1
2022-02-25T14:05:49.000Z
2022-02-25T14:05:49.000Z
sources/raytracer/app.cxx
sergeyreznik/etx-tracer
e9941102daa5693af2a975e561022920a85826ef
[ "MIT" ]
7
2022-02-02T00:57:57.000Z
2022-02-22T15:53:15.000Z
#include <etx/core/environment.hxx> #include <etx/log/log.hxx> #include <etx/render/host/image_pool.hxx> #include <etx/render/shared/scene.hxx> #include "app.hxx" #include <tinyexr.hxx> #include <stb_image.hxx> #include <stb_image_write.hxx> namespace etx { RTApplication::RTApplication() : render(raytracing.sche...
35.397849
149
0.7097
sergeyreznik
cbaab2c8157f0d39c3cd14474868a3b51b26ab03
24,849
cpp
C++
Views/albaViewSlice.cpp
IOR-BIC/ALBA
b574968b05d9a3a2756dd2ac61d015a0d20232a4
[ "Apache-2.0", "BSD-3-Clause" ]
9
2018-11-19T10:15:29.000Z
2021-08-30T11:52:07.000Z
Views/albaViewSlice.cpp
IOR-BIC/ALBA
b574968b05d9a3a2756dd2ac61d015a0d20232a4
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
Views/albaViewSlice.cpp
IOR-BIC/ALBA
b574968b05d9a3a2756dd2ac61d015a0d20232a4
[ "Apache-2.0", "BSD-3-Clause" ]
3
2018-06-10T22:56:29.000Z
2019-12-12T06:22:56.000Z
/*========================================================================= Program: ALBA (Agile Library for Biomedical Applications) Module: albaViewSlice Authors: Gianluigi Crimi, Paolo Quadrani , Stefano Perticoni , Josef Kohout Copyright (c) BIC All rights reserved. See Copyright.txt or This software is d...
29.866587
237
0.612137
IOR-BIC
cbad50fee5543f1384dc04f2af0d42dff82d4a3d
2,329
hh
C++
tests/Titon/Debug/GlobalFunctionTest.hh
ciklon-z/framework
cbf44729173d3a83b91a2b0a217c6b3827512e44
[ "BSD-2-Clause" ]
206
2015-01-02T20:01:12.000Z
2021-04-15T09:49:56.000Z
tests/Titon/Debug/GlobalFunctionTest.hh
ciklon-z/framework
cbf44729173d3a83b91a2b0a217c6b3827512e44
[ "BSD-2-Clause" ]
44
2015-01-02T06:03:43.000Z
2017-11-20T18:29:06.000Z
tests/Titon/Debug/GlobalFunctionTest.hh
titon/framework
cbf44729173d3a83b91a2b0a217c6b3827512e44
[ "BSD-2-Clause" ]
27
2015-01-03T05:51:29.000Z
2022-02-21T13:50:40.000Z
<?hh namespace Titon\Debug; use Titon\Debug\Exception\FatalErrorException; use Titon\Test\TestCase; class GlobalFunctionTest extends TestCase { public function testBacktrace(): void { ob_start(); \backtrace(); $actual = ob_get_clean(); $this->assertRegExp('/^#01/', $actual); ...
21.172727
94
0.548304
ciklon-z
cbae2186214d45ea9fecfd02224649243793213b
686
cpp
C++
int_utils.cpp
vaidyakhil/cpp-utils
4d89f5abd88a06e4169a18fccd4a738eb6518c3f
[ "MIT" ]
1
2022-03-06T11:12:32.000Z
2022-03-06T11:12:32.000Z
int_utils.cpp
vaidyakhil/cpp-utils
4d89f5abd88a06e4169a18fccd4a738eb6518c3f
[ "MIT" ]
null
null
null
int_utils.cpp
vaidyakhil/cpp-utils
4d89f5abd88a06e4169a18fccd4a738eb6518c3f
[ "MIT" ]
null
null
null
class IntUtils { public: int minm(int a, int b) { return a < b ? a : b; } int maxm(int a, int b) { return a < b ? b : a; } /* ** GCD(a, b, c) -> GCD (GCD(a, b), c); ** ** LCM (a, b) -> (a * b) / gcd(a, b); ** ** LCM (a, b, c) -> (LCM(a,b) * c)/ (GCD(a,b) * c) */ int gcd(int a, int b) ...
16.731707
52
0.360058
vaidyakhil
cbb18905645cd009effc20de57401bb14e7a73ac
435
cpp
C++
6. Polymorphism/1. Function Overloading/1.NormalFunction.cpp
Imran4424/C-Plus-Plus-Object-Oriented
a9c16ce6506b4cc0f3ec82fdf2e750bec50aab79
[ "MIT" ]
3
2019-11-06T15:43:06.000Z
2020-06-05T10:47:28.000Z
6. Polymorphism/1. Function Overloading/1.NormalFunction.cpp
Imran4424/C-Plus-Plus-Object-Oriented
a9c16ce6506b4cc0f3ec82fdf2e750bec50aab79
[ "MIT" ]
null
null
null
6. Polymorphism/1. Function Overloading/1.NormalFunction.cpp
Imran4424/C-Plus-Plus-Object-Oriented
a9c16ce6506b4cc0f3ec82fdf2e750bec50aab79
[ "MIT" ]
1
2019-09-06T03:37:08.000Z
2019-09-06T03:37:08.000Z
/* This code demonstrate the normal function calling */ #include <iostream> using namespace std; int Add(int a, int b) { return a + b; } int main(int argc, char const *argv[]) { cout << Add(3, 7) << endl; cout << Add(10, 7) << endl; cout << Add(10, 15) << endl; return 0; } /* This is a normal function ...
14.032258
64
0.650575
Imran4424
cbb267f0fd7e1073d5aa59e8d0fd788dab4dcd76
1,565
cxx
C++
fluid/MainGui.cxx
Accessory/RocksDbViewer
9d3f45a826914a3cb4566087dd6c0f55c02213d5
[ "Apache-2.0" ]
null
null
null
fluid/MainGui.cxx
Accessory/RocksDbViewer
9d3f45a826914a3cb4566087dd6c0f55c02213d5
[ "Apache-2.0" ]
null
null
null
fluid/MainGui.cxx
Accessory/RocksDbViewer
9d3f45a826914a3cb4566087dd6c0f55c02213d5
[ "Apache-2.0" ]
null
null
null
// generated by Fast Light User Interface Designer (fluid) version 1.0308 #include "MainGui.h" Fl_Double_Window* MainGui::make_window() { { mainWindow = new Fl_Double_Window(995, 690, "RocksDbViewer"); mainWindow->user_data((void*)(this)); { Fl_Menu_Bar* o = new Fl_Menu_Bar(10, 0, 666, 26); o->box(FL_...
42.297297
84
0.683706
Accessory
cbb38a4fb738734bc644bff79e44a6edebab0839
2,560
hpp
C++
libEPLViz/src/pluginEditor/PluginEditorBase.hpp
epl-viz/EPL-Viz
80d790110113f83da6845ce124997d13bfd45270
[ "BSD-3-Clause" ]
3
2017-01-23T13:29:21.000Z
2021-03-08T17:40:42.000Z
libEPLViz/src/pluginEditor/PluginEditorBase.hpp
epl-viz/EPL-Viz
80d790110113f83da6845ce124997d13bfd45270
[ "BSD-3-Clause" ]
4
2017-03-26T12:56:08.000Z
2017-08-18T20:32:37.000Z
libEPLViz/src/pluginEditor/PluginEditorBase.hpp
epl-viz/EPL-Viz
80d790110113f83da6845ce124997d13bfd45270
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2017, EPL-Vizards * * 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 conditions and the followi...
39.384615
83
0.710156
epl-viz
cbb5b6c382fb3c55e6bab6893e40d2dc4124df0a
5,883
cpp
C++
opt/qneptunea/harmattan/notification.cpp
qt-users-jp/qneptunea
5c45475590375df32c9c8dde5e677b66753a2eea
[ "BSD-3-Clause" ]
null
null
null
opt/qneptunea/harmattan/notification.cpp
qt-users-jp/qneptunea
5c45475590375df32c9c8dde5e677b66753a2eea
[ "BSD-3-Clause" ]
null
null
null
opt/qneptunea/harmattan/notification.cpp
qt-users-jp/qneptunea
5c45475590375df32c9c8dde5e677b66753a2eea
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2012-2013 QNeptunea Project. * 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 lis...
26.381166
102
0.688594
qt-users-jp
cbbf6690e6432f0c3cc7568eb61cad1363761b23
27,456
hpp
C++
src/ArrayView.hpp
GEOSX/LvArray
3ad0795f10023bd9a2fd8a41f0de0caa376845c0
[ "BSD-3-Clause" ]
16
2020-07-10T00:04:08.000Z
2022-03-28T03:59:51.000Z
src/ArrayView.hpp
GEOSX/LvArray
3ad0795f10023bd9a2fd8a41f0de0caa376845c0
[ "BSD-3-Clause" ]
55
2020-06-30T06:26:49.000Z
2022-03-29T18:21:47.000Z
src/ArrayView.hpp
GEOSX/LvArray
3ad0795f10023bd9a2fd8a41f0de0caa376845c0
[ "BSD-3-Clause" ]
5
2021-02-03T02:00:20.000Z
2022-03-21T20:37:51.000Z
/* * Copyright (c) 2021, Lawrence Livermore National Security, LLC and LvArray contributors. * All rights reserved. * See the LICENSE file for details. * SPDX-License-Identifier: (BSD-3-Clause) */ /** * @file ArrayView.hpp * @brief Contains the implementation of LvArray::ArrayView. */ #pragma once // Source ...
35.065134
141
0.667832
GEOSX
cbc1daabd6b6e673f451c2294183fe88accfe460
1,155
hpp
C++
Include/Rover/Generator.hpp
kranar/rover
a4a824321859e34478fec0924c0b76144b3fc20e
[ "Apache-2.0" ]
null
null
null
Include/Rover/Generator.hpp
kranar/rover
a4a824321859e34478fec0924c0b76144b3fc20e
[ "Apache-2.0" ]
30
2019-02-05T23:18:13.000Z
2019-07-05T14:19:04.000Z
Include/Rover/Generator.hpp
kranar/rover
a4a824321859e34478fec0924c0b76144b3fc20e
[ "Apache-2.0" ]
1
2020-06-01T06:32:05.000Z
2020-06-01T06:32:05.000Z
#ifndef ROVER_GENERATOR_HPP #define ROVER_GENERATOR_HPP #include <type_traits> #include "Rover/Evaluator.hpp" namespace Rover { /** Interface for generating arguments. */ template<typename T> class Generator { public: /** The type of generated values. */ using Type = T; //! Generates a v...
24.574468
79
0.678788
kranar
cbc2e41cf96d3417718c4e1da3964331ff148b34
1,371
cc
C++
plugins/test_config_json/main.cc
mariuslundblad/disir-c
ae831250cfbf033a755c91e62e8af7d82135d0d8
[ "Apache-2.0" ]
4
2017-06-19T09:59:50.000Z
2019-03-20T18:49:11.000Z
plugins/test_config_json/main.cc
mariuslundblad/disir-c
ae831250cfbf033a755c91e62e8af7d82135d0d8
[ "Apache-2.0" ]
18
2017-06-25T22:19:00.000Z
2019-11-28T13:16:26.000Z
plugins/test_config_json/main.cc
mariuslundblad/disir-c
ae831250cfbf033a755c91e62e8af7d82135d0d8
[ "Apache-2.0" ]
2
2017-10-31T11:19:55.000Z
2019-11-28T12:13:13.000Z
#include <disir/plugin.h> #include <disir/fslib/json.h> #include <disir/test.h> #define RM_CONST(t, exp) (t*)((char*)NULL + ((const char*)(exp) - (char*)NULL)) extern "C" enum disir_status dio_register_plugin (struct disir_instance *instance, struct disir_register_plugin *plugin); enum disir_status dio_register_plug...
35.153846
92
0.744712
mariuslundblad
cbc37a989af84a640e9af34c267f7d2475348d2a
7,156
hpp
C++
include/universal/number/integer/primes.hpp
FloEdelmann/universal
c5b83f251ad91229399b7f97e4eeefcf718819d4
[ "MIT" ]
null
null
null
include/universal/number/integer/primes.hpp
FloEdelmann/universal
c5b83f251ad91229399b7f97e4eeefcf718819d4
[ "MIT" ]
null
null
null
include/universal/number/integer/primes.hpp
FloEdelmann/universal
c5b83f251ad91229399b7f97e4eeefcf718819d4
[ "MIT" ]
null
null
null
#pragma once // primes.hpp: algorithms to create, categorize, classify, and identify prime factors // // 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 <vector> #include <universal/number/inte...
30.978355
109
0.686138
FloEdelmann
cbc3801759b7649b7b608cf454171da109ca86af
9,084
cxx
C++
Testing/Code/Numerics/Statistics/itkGaussianDistributionTest.cxx
dtglidden/ITK
ef0c16fee4fac904d6ab706b8f7d438d4062cd96
[ "BSD-3-Clause" ]
1
2017-07-31T18:41:02.000Z
2017-07-31T18:41:02.000Z
Testing/Code/Numerics/Statistics/itkGaussianDistributionTest.cxx
dtglidden/ITK
ef0c16fee4fac904d6ab706b8f7d438d4062cd96
[ "BSD-3-Clause" ]
null
null
null
Testing/Code/Numerics/Statistics/itkGaussianDistributionTest.cxx
dtglidden/ITK
ef0c16fee4fac904d6ab706b8f7d438d4062cd96
[ "BSD-3-Clause" ]
null
null
null
/*========================================================================= Program: Insight Segmentation & Registration Toolkit Module: itkGaussianDistributionTest.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) Insight Software Consortium. All rights reserved. See ITKCopy...
28.476489
76
0.503192
dtglidden
cbc43e9f400cf5ef427d5ab87bcbbf3b48bd404f
602
cpp
C++
WonderMake/Graphics/Shader.cpp
nicolasgustafsson/WonderMake
9661d5dab17cf98e06daf6ea77c5927db54d62f9
[ "MIT" ]
3
2020-03-27T15:25:19.000Z
2022-01-18T14:12:25.000Z
WonderMake/Graphics/Shader.cpp
nicolasgustafsson/WonderMake
9661d5dab17cf98e06daf6ea77c5927db54d62f9
[ "MIT" ]
null
null
null
WonderMake/Graphics/Shader.cpp
nicolasgustafsson/WonderMake
9661d5dab17cf98e06daf6ea77c5927db54d62f9
[ "MIT" ]
null
null
null
#include "pch.h" #include "Shader.h" #include "Resources/AssetDatabase.h" _REGISTER_SYSTEM_IMPL(ResourceSystem<Shader<EShaderType::Fragment>>, Shader_Fragment); _REGISTER_SYSTEM_IMPL(ResourceSystem<Shader<EShaderType::Geometry>>, Shader_Geometry); _REGISTER_SYSTEM_IMPL(ResourceSystem<Shader<EShaderType::Vertex>>, Shad...
50.166667
90
0.845515
nicolasgustafsson
cbca1443612e8fc621aeb7b903fda5f75ac68adf
2,160
cpp
C++
src/editorLib/Render/EnvironmentModelRenderObserver.cpp
AluminiumRat/mtt
3052f8ad0ffabead05a1033e1d714a61e77d0aa8
[ "MIT" ]
null
null
null
src/editorLib/Render/EnvironmentModelRenderObserver.cpp
AluminiumRat/mtt
3052f8ad0ffabead05a1033e1d714a61e77d0aa8
[ "MIT" ]
null
null
null
src/editorLib/Render/EnvironmentModelRenderObserver.cpp
AluminiumRat/mtt
3052f8ad0ffabead05a1033e1d714a61e77d0aa8
[ "MIT" ]
null
null
null
#include <stdexcept> #include <mtt/editorLib/AsyncTasks/LoadEnvironmentModelTask.h> #include <mtt/editorLib/Objects/EnvironmentModel.h> #include <mtt/editorLib/Render/EnvironmentModelRenderObserver.h> #include <mtt/editorLib/EditorApplication.h> #include <mtt/utilities/Log.h> using namespace mtt; EnvironmentModelRen...
29.189189
80
0.623611
AluminiumRat
cbca53aa4a9bc04509a0051f70289e2d86aa1bae
4,011
cpp
C++
utl/tests/testinc_queue.cpp
mathiasrw/ptarmigan
69b26470310daa24f95cb83eefde8e539eff6d96
[ "Apache-2.0" ]
143
2017-07-22T12:12:00.000Z
2022-02-09T09:46:26.000Z
utl/tests/testinc_queue.cpp
mathiasrw/ptarmigan
69b26470310daa24f95cb83eefde8e539eff6d96
[ "Apache-2.0" ]
534
2017-09-02T13:45:32.000Z
2020-06-15T09:26:33.000Z
utl/tests/testinc_queue.cpp
mathiasrw/ptarmigan
69b26470310daa24f95cb83eefde8e539eff6d96
[ "Apache-2.0" ]
31
2017-09-29T00:11:33.000Z
2021-06-17T08:24:37.000Z
//////////////////////////////////////////////////////////////////////// //FAKE関数 //FAKE_VALUE_FUNC(int, external_function, int); //////////////////////////////////////////////////////////////////////// class queue: public testing::Test { protected: virtual void SetUp() { //RESET_FAKE(external_function) ...
26.562914
72
0.638993
mathiasrw
cbca8d65465fa1ac6996b7568e261f1919444d31
2,759
cpp
C++
test_deprecated/testUtil/example_tc_file.cpp
SuckShit/TarsCpp
3f42f4e7a7bf43026a782c5d4b033155c27ed0c4
[ "BSD-3-Clause" ]
1
2019-09-05T07:25:51.000Z
2019-09-05T07:25:51.000Z
test_deprecated/testUtil/example_tc_file.cpp
SuckShit/TarsCpp
3f42f4e7a7bf43026a782c5d4b033155c27ed0c4
[ "BSD-3-Clause" ]
null
null
null
test_deprecated/testUtil/example_tc_file.cpp
SuckShit/TarsCpp
3f42f4e7a7bf43026a782c5d4b033155c27ed0c4
[ "BSD-3-Clause" ]
1
2021-05-21T09:59:06.000Z
2021-05-21T09:59:06.000Z
/** * Tencent is pleased to support the open source community by making Tars available. * * Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved. * * Licensed under the BSD 3-Clause License (the "License"); you may not use this file except * in compliance with the License. You may obtain a ...
24.633929
92
0.536064
SuckShit
cbcdb2ab26b8909fe19cd4642aebfcecd4daf6d1
130
cpp
C++
boilerplate/MainScreen.cpp
ManoShu/SGB
4590910743ad1e8bbcf9209325393059587592cd
[ "BSD-2-Clause" ]
5
2017-05-21T08:46:08.000Z
2020-04-22T13:21:39.000Z
boilerplate/MainScreen.cpp
ManoShu/SGB
4590910743ad1e8bbcf9209325393059587592cd
[ "BSD-2-Clause" ]
null
null
null
boilerplate/MainScreen.cpp
ManoShu/SGB
4590910743ad1e8bbcf9209325393059587592cd
[ "BSD-2-Clause" ]
null
null
null
#include "MainScreen.h" void MainScreen::LoadScreen() { } void MainScreen::ScreenShow() { } void MainScreen::Update() { }
6.842105
29
0.661538
ManoShu
cbce526d0fb1e7572492c86a1fc3ea25bda7d4e0
637
cpp
C++
Codeforces/469A_I wanna be the guy.cpp
lieahau/Online-Judge-Solution
26d81d1783cbdd9294455f00b77fb3dbaedd0c01
[ "MIT" ]
1
2020-04-13T11:12:19.000Z
2020-04-13T11:12:19.000Z
Codeforces/469A_I wanna be the guy.cpp
lieahau/Online-Judge-Solution
26d81d1783cbdd9294455f00b77fb3dbaedd0c01
[ "MIT" ]
null
null
null
Codeforces/469A_I wanna be the guy.cpp
lieahau/Online-Judge-Solution
26d81d1783cbdd9294455f00b77fb3dbaedd0c01
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; bool arr[200]; int main() { int n, x, y, temp, ans = 0; scanf("%d", &n); scanf("%d", &x); for(int i = 0; i < x; i++) { scanf("%d", &temp); if(!arr[temp]){ arr[temp] = true; ans++; } ...
17.216216
39
0.359498
lieahau
cbd0080c5d1a84d97fe411b045330ac57a204606
10,573
cpp
C++
source/owlcore/view.cpp
pierrebestwork/owl-next
94ba85e8b4dcb978f095b479f85fe4ba3af2fe4e
[ "Zlib" ]
null
null
null
source/owlcore/view.cpp
pierrebestwork/owl-next
94ba85e8b4dcb978f095b479f85fe4ba3af2fe4e
[ "Zlib" ]
null
null
null
source/owlcore/view.cpp
pierrebestwork/owl-next
94ba85e8b4dcb978f095b479f85fe4ba3af2fe4e
[ "Zlib" ]
null
null
null
//---------------------------------------------------------------------------- // ObjectWindows // Copyright (c) 1993, 1996 by Borland International, All Rights Reserved // /// \file /// Implementation of classes TView & TWindowView //---------------------------------------------------------------------------- #...
26.366584
100
0.626501
pierrebestwork
cbd2410a82d11ff7bc559271f3506a759f241e03
290
cpp
C++
src/Mementos/Memento.cpp
edusidsan/GameProg-OO
c74bedb6c592386a40eefbd61770184994a75aa6
[ "MIT" ]
null
null
null
src/Mementos/Memento.cpp
edusidsan/GameProg-OO
c74bedb6c592386a40eefbd61770184994a75aa6
[ "MIT" ]
null
null
null
src/Mementos/Memento.cpp
edusidsan/GameProg-OO
c74bedb6c592386a40eefbd61770184994a75aa6
[ "MIT" ]
null
null
null
#include "Memento.hpp" namespace OgrO // Namespace com o nome do jogo. { namespace Mementos { Memento::Memento() { } Memento::~Memento() { } nlohmann::json Memento::toJSON() { return ""; } } }
15.263158
47
0.444828
edusidsan
cbd9f4d23df19555182da1d6d25c2848becf0668
863
cpp
C++
Tankerfield/Tankerfield/Obj_Building.cpp
gamificalostudio/Tankerfield
f3801c5286ae836c0fd62392cc14be081b5c74e8
[ "MIT" ]
7
2019-03-11T11:31:36.000Z
2019-05-18T08:03:35.000Z
Tankerfield/Tankerfield/Obj_Building.cpp
gamificalostudio/Tankerfield
f3801c5286ae836c0fd62392cc14be081b5c74e8
[ "MIT" ]
86
2019-03-27T14:36:16.000Z
2019-06-10T18:43:52.000Z
Tankerfield/Tankerfield/Obj_Building.cpp
gamificalostudio/Tankerfield
f3801c5286ae836c0fd62392cc14be081b5c74e8
[ "MIT" ]
1
2019-09-10T17:37:44.000Z
2019-09-10T17:37:44.000Z
#include "PugiXml/src/pugiconfig.hpp" #include "PugiXml/src/pugixml.hpp" #include "app.h" #include "Obj_Building.h" #include "M_Textures.h" #include "M_Render.h" #include "M_Collision.h" #include "M_Input.h" #include "Log.h" #include "M_Map.h" #include "M_ObjManager.h" SDL_Texture * Obj_Building::texture = nullptr; ...
20.069767
130
0.7219
gamificalostudio
cbdfd291270d68e0cc3fedcecb1210f83562805a
827
hpp
C++
src/LEDEffect/Effects/BaseEffect.hpp
Diaoul/LEDEffect
1524325597a5195f7a4d96bd6a9df712bcb8196c
[ "MIT" ]
7
2018-02-14T06:10:33.000Z
2022-01-01T09:56:27.000Z
src/LEDEffect/Effects/BaseEffect.hpp
Diaoul/LEDEffect
1524325597a5195f7a4d96bd6a9df712bcb8196c
[ "MIT" ]
1
2018-11-06T12:51:29.000Z
2019-07-21T04:58:08.000Z
src/LEDEffect/Effects/BaseEffect.hpp
Diaoul/LEDEffect
1524325597a5195f7a4d96bd6a9df712bcb8196c
[ "MIT" ]
1
2019-05-05T16:32:51.000Z
2019-05-05T16:32:51.000Z
#pragma once #include <ArduinoJson.h> #include <FastLED.h> #include "../Configuration.hpp" #ifndef LEDEFFECT_EFFECT_NAME_MAX_LENGTH #define LEDEFFECT_EFFECT_NAME_MAX_LENGTH 20 #endif class BaseEffect { public: char name[LEDEFFECT_EFFECT_NAME_MAX_LENGTH]; const size_t jsonBufferSize = 0; BaseEffect(const char*...
24.323529
98
0.758162
Diaoul
cbe0f1ebebbb45a7844417707eebb67260279d3f
12,583
cpp
C++
libcaf_core/src/blocking_actor.cpp
samanbarghi/actor-framework
9fb82f556760e1004e27fb4d303499b603a3fc19
[ "BSL-1.0", "BSD-3-Clause" ]
2
2020-08-25T15:22:08.000Z
2021-03-05T16:29:24.000Z
libcaf_core/src/blocking_actor.cpp
wujsy/actor-framework
9fb82f556760e1004e27fb4d303499b603a3fc19
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
libcaf_core/src/blocking_actor.cpp
wujsy/actor-framework
9fb82f556760e1004e27fb4d303499b603a3fc19
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
/****************************************************************************** * ____ _ _____ * * / ___| / \ | ___| C++ * * | | / _ \ | |_ Actor * ...
27.354348
80
0.591751
samanbarghi
cbe45efaba1f21c3417aefbc6c14b73b112d21f3
9,248
cpp
C++
cpp/openScenarioLib/src/parser/ParserHelper.cpp
RA-Consulting-GmbH/openscenario.api.test
4b8aa781fc51862cac382b312855d520ea61aaa7
[ "Apache-2.0" ]
27
2020-08-13T11:39:24.000Z
2022-02-13T06:21:16.000Z
cpp/openScenarioLib/src/parser/ParserHelper.cpp
RA-Consulting-GmbH/openscenario.api.test
4b8aa781fc51862cac382b312855d520ea61aaa7
[ "Apache-2.0" ]
62
2020-08-12T14:53:29.000Z
2022-02-21T14:39:23.000Z
cpp/openScenarioLib/src/parser/ParserHelper.cpp
ahege/openscenario.api.test
94cc39a6caad0418c71aadc6567fa200ded0ac65
[ "Apache-2.0" ]
4
2021-07-08T03:04:14.000Z
2022-01-11T11:16:43.000Z
/* * Copyright 2020 RA Consulting * * RA Consulting GmbH licenses this file 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...
33.028571
179
0.566609
RA-Consulting-GmbH
cbe7337258c637ed4b28bb56247d1cc6035aac59
443
cpp
C++
solutions/572.cpp
tdakhran/leetcode
ed680059661faae32857eaa791ca29c1d9c16120
[ "MIT" ]
null
null
null
solutions/572.cpp
tdakhran/leetcode
ed680059661faae32857eaa791ca29c1d9c16120
[ "MIT" ]
null
null
null
solutions/572.cpp
tdakhran/leetcode
ed680059661faae32857eaa791ca29c1d9c16120
[ "MIT" ]
null
null
null
class Solution { bool isSame(TreeNode* s, TreeNode* t) { if ((s and not t) or (t and not s)) { return false; } if (not s and not t) { return true; } return s->val == t->val and isSame(s->left, t->left) and isSame(s->right, t->right); } public: bool isSubtree(TreeNode*...
22.15
69
0.539503
tdakhran
cbeb31de7370fe009de6013e233972bf1e167f60
1,329
cc
C++
leetcode/234_panlindrome_linked_list.cc
norlanliu/algorithm
1684db2631f259b4de567164b3ee866351e5b1b6
[ "MIT" ]
null
null
null
leetcode/234_panlindrome_linked_list.cc
norlanliu/algorithm
1684db2631f259b4de567164b3ee866351e5b1b6
[ "MIT" ]
null
null
null
leetcode/234_panlindrome_linked_list.cc
norlanliu/algorithm
1684db2631f259b4de567164b3ee866351e5b1b6
[ "MIT" ]
null
null
null
/* * ===================================================================================== * * Filename: 234_panlindrome_linked_list.cc * * Description: * * Version: 1.0 * Created: 09/02/2015 09:32:09 AM * Revision: none * Compiler: gcc * * Author: (Qi Liu...
20.446154
88
0.483822
norlanliu
cbeb6cd455d5c3953a1434129c7024d386911ab9
2,179
cpp
C++
Vishv_GE/Framework/Physics/Src/Simulation.cpp
InFaNsO/Vishv_GameEngine
e721afa899fb8715e52cdd67c2656ba6cce7ffed
[ "MIT" ]
1
2021-12-19T02:06:12.000Z
2021-12-19T02:06:12.000Z
Vishv_GE/Framework/Physics/Src/Simulation.cpp
InFaNsO/Vishv_GameEngine
e721afa899fb8715e52cdd67c2656ba6cce7ffed
[ "MIT" ]
null
null
null
Vishv_GE/Framework/Physics/Src/Simulation.cpp
InFaNsO/Vishv_GameEngine
e721afa899fb8715e52cdd67c2656ba6cce7ffed
[ "MIT" ]
null
null
null
#include "Precompiled.h" #include "Simulation.h" //using namespace physx; /* namespace { std::unique_ptr<Vishv::Physics::Simulation> sInstance = nullptr; } void Vishv::Physics::Simulation::StaticInitialize() { VISHVASSERT(sInstance == nullptr, "[SamplerManager] already Initialized"); sInstance = std::make_unique<V...
30.690141
114
0.744837
InFaNsO
cbee31800a2529e86e15c8612b7bded1108d537c
8,640
hpp
C++
src/xalanc/XMLSupport/XalanFormatterWriter.hpp
rherardi/xml-xalan-c-src_1_10_0
24e6653a617a244e4def60d67b57e70a192a5d4d
[ "Apache-2.0" ]
null
null
null
src/xalanc/XMLSupport/XalanFormatterWriter.hpp
rherardi/xml-xalan-c-src_1_10_0
24e6653a617a244e4def60d67b57e70a192a5d4d
[ "Apache-2.0" ]
null
null
null
src/xalanc/XMLSupport/XalanFormatterWriter.hpp
rherardi/xml-xalan-c-src_1_10_0
24e6653a617a244e4def60d67b57e70a192a5d4d
[ "Apache-2.0" ]
null
null
null
/* * Copyright 1999-2004 The Apache Software Foundation. * * 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 requir...
24.40678
96
0.59537
rherardi
cbf1a5980840a20f46f686bceca55f9fd75d9794
176
cpp
C++
allMatuCommit/1_输出n的1-5次方_2021010915012_20210920100509.cpp
BachWV/matu
d4e3a89385f0a205431dd34c2c7214af40bb8ddb
[ "MIT" ]
null
null
null
allMatuCommit/1_输出n的1-5次方_2021010915012_20210920100509.cpp
BachWV/matu
d4e3a89385f0a205431dd34c2c7214af40bb8ddb
[ "MIT" ]
null
null
null
allMatuCommit/1_输出n的1-5次方_2021010915012_20210920100509.cpp
BachWV/matu
d4e3a89385f0a205431dd34c2c7214af40bb8ddb
[ "MIT" ]
null
null
null
#include<stdio.h> int main() { int n,m=1; scanf_s("%d",&n); for(int i=0 ; i<4 ; i++) { m *= n; printf("%d ",m); } printf("%d\n",m*n); return 0; }
11.733333
30
0.414773
BachWV
cbf238f9e0dc5bc6fba564525d792d90fa60867b
18,554
cpp
C++
vision/route_plan/route_plan.cpp
Eithwa/kym2019
192ba41a304f8c92cab5997e48b357718a84c08e
[ "Apache-2.0" ]
2
2019-06-24T13:33:14.000Z
2019-06-30T07:42:51.000Z
vision/route_plan/route_plan.cpp
eithwa/kym2019
192ba41a304f8c92cab5997e48b357718a84c08e
[ "Apache-2.0" ]
null
null
null
vision/route_plan/route_plan.cpp
eithwa/kym2019
192ba41a304f8c92cab5997e48b357718a84c08e
[ "Apache-2.0" ]
3
2020-05-26T14:10:07.000Z
2020-08-13T02:56:06.000Z
#include "route_plan.h" #define TEST ros::package::getPath("vision")+"/route_plan/image.png" #define TO_RAD M_PI/180.0 #define TO_DEG 180.0/M_PI Vision::Vision() { //image_sub = nh.subscribe(VISION_TOPIC, 1,static_cast<void (Vision::*)(const sensor_msgs::ImageConstPtr&)>(&Vision::imageCb),this); image_sub = nh....
37.108
193
0.54468
Eithwa
cbf55906feec3a8b2f95816ca1501bdd488c606a
3,438
cpp
C++
openstudiocore/src/utilities/core/CommandLine.cpp
hongyuanjia/OpenStudio
6cc52f1b66c069cf13f2b6ca2a0cc3c137c37cf0
[ "MIT" ]
1
2019-04-21T15:38:54.000Z
2019-04-21T15:38:54.000Z
openstudiocore/src/utilities/core/CommandLine.cpp
hongyuanjia/OpenStudio
6cc52f1b66c069cf13f2b6ca2a0cc3c137c37cf0
[ "MIT" ]
null
null
null
openstudiocore/src/utilities/core/CommandLine.cpp
hongyuanjia/OpenStudio
6cc52f1b66c069cf13f2b6ca2a0cc3c137c37cf0
[ "MIT" ]
1
2019-07-18T06:52:29.000Z
2019-07-18T06:52:29.000Z
/*********************************************************************************************************************** * OpenStudio(R), Copyright (c) 2008-2018, Alliance for Sustainable Energy, LLC. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are perm...
44.649351
120
0.689354
hongyuanjia
cbf71ea3ae36b3169d4875526bbaf2c5844ee2f2
42,911
cc
C++
arcane/src/arcane/std/CartesianMeshGenerator.cc
grospelliergilles/framework
9cb9bc9ad723e2af626267e59dd531cdb7a4df44
[ "Apache-2.0" ]
null
null
null
arcane/src/arcane/std/CartesianMeshGenerator.cc
grospelliergilles/framework
9cb9bc9ad723e2af626267e59dd531cdb7a4df44
[ "Apache-2.0" ]
null
null
null
arcane/src/arcane/std/CartesianMeshGenerator.cc
grospelliergilles/framework
9cb9bc9ad723e2af626267e59dd531cdb7a4df44
[ "Apache-2.0" ]
null
null
null
// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*- //----------------------------------------------------------------------------- // Copyright 2000-2022 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com) // See the top-level COPYRIGHT file for details. // SPDX-License-Identifier: Apache-2...
38.589029
133
0.599846
grospelliergilles
cbf8db15338b21a99b138ab68bf6f1de9237116a
2,445
cpp
C++
src/drawing/shadowed.cpp
aliefhooghe/View
95996a673815deca12a52928e76cf557d4063daa
[ "BSD-3-Clause" ]
null
null
null
src/drawing/shadowed.cpp
aliefhooghe/View
95996a673815deca12a52928e76cf557d4063daa
[ "BSD-3-Clause" ]
null
null
null
src/drawing/shadowed.cpp
aliefhooghe/View
95996a673815deca12a52928e76cf557d4063daa
[ "BSD-3-Clause" ]
1
2020-03-25T01:09:42.000Z
2020-03-25T01:09:42.000Z
#include "shadowed.h" namespace View { void shadowed_down_rounded_rect( NVGcontext *vg, float x, float y, float width, float height, float radius, NVGcolor surface) { const auto shadow = nvgRGB(0, 0, 0); const auto gradient = nvgBoxGradient(vg, x + 1.5f, y + 1...
30.5625
111
0.561145
aliefhooghe
cbfbf2d393e72e338925886ece42cbfcace0decb
3,530
cpp
C++
sdk/src/layers/SignalKLayer.cpp
Fpepe943/fairwindplusplus
8b9f5e13c751bb331f9f1b9979bf3049cc3a94d5
[ "Apache-2.0" ]
4
2021-07-07T10:42:53.000Z
2022-01-11T12:53:25.000Z
sdk/src/layers/SignalKLayer.cpp
Fpepe943/fairwindplusplus
8b9f5e13c751bb331f9f1b9979bf3049cc3a94d5
[ "Apache-2.0" ]
2
2022-02-13T19:59:25.000Z
2022-03-25T01:02:17.000Z
sdk/src/layers/SignalKLayer.cpp
Fpepe943/fairwindplusplus
8b9f5e13c751bb331f9f1b9979bf3049cc3a94d5
[ "Apache-2.0" ]
7
2021-06-07T07:12:55.000Z
2022-01-12T16:09:55.000Z
// // Created by Raffaele Montella on 05/05/21. // #include <FairWindSdk/FairWind.hpp> #include <FairWindSdk/layers/ItemSignalK.hpp> #include <FairWindSdk/layers/ItemAton.hpp> #include <FairWindSdk/layers/ItemVessel.hpp> #include <FairWindSdk/layers/ItemShoreBasestations.hpp> #include <FairWindSdk/layers/ItemDefault.h...
35.3
88
0.633428
Fpepe943
02000471835b079c0789c5385a2c65db43f2dc68
576
cpp
C++
src/shows/solidColour.cpp
reubn/symfonisk
559ae842a159734ab5f1dc33b80a394577b3b576
[ "MIT" ]
1
2020-05-14T20:52:56.000Z
2020-05-14T20:52:56.000Z
src/shows/solidColour.cpp
reubn/symfonisk
559ae842a159734ab5f1dc33b80a394577b3b576
[ "MIT" ]
null
null
null
src/shows/solidColour.cpp
reubn/symfonisk
559ae842a159734ab5f1dc33b80a394577b3b576
[ "MIT" ]
null
null
null
#include <vector> #include "../main.hpp" #include "../ringLEDs/main.hpp" #include "solidColour.hpp" void loopSolidColour(ConfigurableSettings& settings, bool first) { static float msBetweenFrames = 1000 / 60; // 60FPS static unsigned long lastExecution = millis(); static RgbColor lastColour = RgbColor(0, 0, 0...
26.181818
86
0.725694
reubn
020d1b199e5acee493685ee3ecaca2842bbaac55
8,395
cpp
C++
cpp-projects/exvr-export/main.cpp
FlorianLance/exvr
4d210780737479e9576c90e9c80391c958787f44
[ "MIT" ]
null
null
null
cpp-projects/exvr-export/main.cpp
FlorianLance/exvr
4d210780737479e9576c90e9c80391c958787f44
[ "MIT" ]
null
null
null
cpp-projects/exvr-export/main.cpp
FlorianLance/exvr
4d210780737479e9576c90e9c80391c958787f44
[ "MIT" ]
null
null
null
/*********************************************************************************** ** exvr-export ** ** MIT License ** ** Copyright (c) [2018] [Florian Lance][EPFL-LNCO] ...
46.899441
254
0.562716
FlorianLance
020ef38e27ef5d971b32cfb9f2f3f9cf42149ebe
22,993
cpp
C++
Engine3D/Core/ModuleEditor.cpp
MaxLlovera/ManyoEngineCp2.0
5027439063153dfb55d9eef621d2eeb7136c9603
[ "MIT" ]
null
null
null
Engine3D/Core/ModuleEditor.cpp
MaxLlovera/ManyoEngineCp2.0
5027439063153dfb55d9eef621d2eeb7136c9603
[ "MIT" ]
null
null
null
Engine3D/Core/ModuleEditor.cpp
MaxLlovera/ManyoEngineCp2.0
5027439063153dfb55d9eef621d2eeb7136c9603
[ "MIT" ]
null
null
null
#include "Globals.h" //Modules #include "Application.h" #include "ModuleEditor.h" #include "ModuleWindow.h" #include "ModuleFileSystem.h" #include "ModuleRenderer3D.h" #include "ModuleInput.h" #include "ModuleImport.h" #include "ModuleScene.h" #include "ModuleViewportFrameBuffer.h" #include "ModuleCamera3D.h" #include...
31.540466
179
0.578089
MaxLlovera
0211fa687bd49a6ebd17ff11581e32c053a2a372
3,161
cpp
C++
Chapter6/Util01_FilterEnvmap/src/main.cpp
adoug/3D-Graphics-Rendering-Cookbook
dabffed670b8be5a619f0f62b10e0cc8ccdd5a36
[ "MIT" ]
399
2021-06-03T02:42:20.000Z
2022-03-27T23:23:15.000Z
Chapter6/Util01_FilterEnvmap/src/main.cpp
adoug/3D-Graphics-Rendering-Cookbook
dabffed670b8be5a619f0f62b10e0cc8ccdd5a36
[ "MIT" ]
7
2021-07-13T02:36:01.000Z
2022-03-26T03:46:37.000Z
Chapter6/Util01_FilterEnvmap/src/main.cpp
adoug/3D-Graphics-Rendering-Cookbook
dabffed670b8be5a619f0f62b10e0cc8ccdd5a36
[ "MIT" ]
53
2021-06-02T20:02:24.000Z
2022-03-29T15:36:30.000Z
#include <imgui/imgui.h> #include "shared/vkFramework/VulkanApp.h" #include "stb_image.h" #define STB_IMAGE_WRITE_IMPLEMENTATION #include "stb_image_write.h" // Image_Resize's implementation is included in UtilsVulkan.cpp #include "stb_image_resize.h" int numPoints = 1024; /// From Henry J. Warren's "Hacker's Delig...
29
118
0.649478
adoug
0212268ff1b50f209a304b1f270601fe53f73b7d
181
cpp
C++
lib/Experimental/Cmdline/GetOptIncW.cpp
fstudio/Phoenix
28a7c6a3932fd7d6fea12770d0aa1e20bc70db7d
[ "MIT" ]
8
2015-01-23T05:41:46.000Z
2019-11-20T05:10:27.000Z
lib/Experimental/Cmdline/GetOptIncW.cpp
fstudio/Phoenix
28a7c6a3932fd7d6fea12770d0aa1e20bc70db7d
[ "MIT" ]
null
null
null
lib/Experimental/Cmdline/GetOptIncW.cpp
fstudio/Phoenix
28a7c6a3932fd7d6fea12770d0aa1e20bc70db7d
[ "MIT" ]
4
2015-05-05T05:15:43.000Z
2020-03-07T11:10:56.000Z
//getopt unicode #ifndef UNICODE #define UNICODE #endif #ifndef _UNICODE #define _UNICODE #endif #ifdef _MBCS #undef _MBCS #endif #include "GetOptInc.h" #include "GetOptInc.inc"
12.066667
24
0.762431
fstudio
0215bdfe6153c72511b61d5994c9319daeb1eea0
6,428
hpp
C++
include/System/Linq/Expressions/InvocationExpression0.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
include/System/Linq/Expressions/InvocationExpression0.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
include/System/Linq/Expressions/InvocationExpression0.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
1
2022-03-30T21:07:35.000Z
2022-03-30T21:07:35.000Z
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: System.Linq.Expressions.InvocationE...
63.019608
331
0.765557
v0idp
021774de25eaf6eed0b8b73024ee66825bc8903d
2,883
cc
C++
viewer/colors/solarized.cc
jpanikulam/experiments
be36319a89f8baee54d7fa7618b885edb7025478
[ "MIT" ]
1
2019-04-14T11:40:28.000Z
2019-04-14T11:40:28.000Z
viewer/colors/solarized.cc
jpanikulam/experiments
be36319a89f8baee54d7fa7618b885edb7025478
[ "MIT" ]
5
2018-04-18T13:54:29.000Z
2019-08-22T20:04:17.000Z
viewer/colors/solarized.cc
jpanikulam/experiments
be36319a89f8baee54d7fa7618b885edb7025478
[ "MIT" ]
1
2018-12-24T03:45:47.000Z
2018-12-24T03:45:47.000Z
#include "viewer/colors/solarized.hh" #include <map> namespace viewer { // I've got a case of the jeepy-jeekies void solarized_string_from_enum(const SolarizedColor color) { const std::vector<std::string> string_from_enum = { "Base03", // "Base02", // "Base01", // "Base00", // ...
31.681319
77
0.554284
jpanikulam
021a8c7ce8fb1855366b06ad121cca5381f6fb65
7,416
cpp
C++
src/ExtLib/Bento4/Core/Ap4Movie.cpp
chinajeffery/MPC-BE--1.2.3
2229fde5535f565ba4a496a7f73267bd2c1ad338
[ "MIT" ]
null
null
null
src/ExtLib/Bento4/Core/Ap4Movie.cpp
chinajeffery/MPC-BE--1.2.3
2229fde5535f565ba4a496a7f73267bd2c1ad338
[ "MIT" ]
1
2019-11-14T04:18:32.000Z
2019-11-14T04:18:32.000Z
src/ExtLib/Bento4/Core/Ap4Movie.cpp
chinajeffery/MPC-BE--1.2.3
2229fde5535f565ba4a496a7f73267bd2c1ad338
[ "MIT" ]
null
null
null
/***************************************************************** | | AP4 - Movie | | Copyright 2002-2005 Gilles Boccon-Gibod | | | This file is part of Bento4/AP4 (MP4 Atom Processing Library). | | Unless you have obtained Bento4 under a difference license, | this version of Bento4 is Bento4|GPL. | ...
31.423729
88
0.459547
chinajeffery