hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
108
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
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
67k
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
e3b88ecd795aecca9420e84d7bd0e9558d9f160b
16,020
cpp
C++
ParticlePlay/Core/Game.cpp
spywhere/Legacy-ParticlePlay
0c1ec6e4706f72b64e0408cc79cdeffce535b484
[ "BSD-3-Clause" ]
null
null
null
ParticlePlay/Core/Game.cpp
spywhere/Legacy-ParticlePlay
0c1ec6e4706f72b64e0408cc79cdeffce535b484
[ "BSD-3-Clause" ]
null
null
null
ParticlePlay/Core/Game.cpp
spywhere/Legacy-ParticlePlay
0c1ec6e4706f72b64e0408cc79cdeffce535b484
[ "BSD-3-Clause" ]
null
null
null
#include "Game.hpp" #ifdef PPDEBUG #include <iostream> #endif ppGame::ppGame(){ this->mainWindow = NULL; this->renderer = NULL; this->graphics = NULL; this->backgroundColor = new ppColor(); this->gameInput = new ppInput(this); this->gameIO = new ppIO(); this->randomizer = new ppRandomizer(); this->ims = NULL...
25.228346
172
0.664732
spywhere
e3bab02a5fe86cbb53b03c6e9fe3606ab00dce22
53,245
cc
C++
webkit/glue/webview_impl.cc
bluebellzhy/chromium
008c4fef2676506869a0404239da31e83fd6ccc7
[ "BSD-3-Clause" ]
1
2016-05-08T15:35:17.000Z
2016-05-08T15:35:17.000Z
webkit/glue/webview_impl.cc
bluebellzhy/chromium
008c4fef2676506869a0404239da31e83fd6ccc7
[ "BSD-3-Clause" ]
null
null
null
webkit/glue/webview_impl.cc
bluebellzhy/chromium
008c4fef2676506869a0404239da31e83fd6ccc7
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright 2007 Google Inc. All Rights Reserved. * * Portions Copyright (C) 2006 Apple Computer, Inc. All rights reserved. * * ***** BEGIN LICENSE BLOCK ***** * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. ...
34.846204
85
0.700648
bluebellzhy
e3bc79b0f9040490764ff23d0f70014fcb2cadeb
3,510
cpp
C++
scisim/ConstrainedMaps/ImpactMaps/LCPOperatorQL.cpp
Lyestria/scisim
e2c2abc8d38ea9b07717841782c5c723fce37ce5
[ "Apache-2.0" ]
null
null
null
scisim/ConstrainedMaps/ImpactMaps/LCPOperatorQL.cpp
Lyestria/scisim
e2c2abc8d38ea9b07717841782c5c723fce37ce5
[ "Apache-2.0" ]
null
null
null
scisim/ConstrainedMaps/ImpactMaps/LCPOperatorQL.cpp
Lyestria/scisim
e2c2abc8d38ea9b07717841782c5c723fce37ce5
[ "Apache-2.0" ]
null
null
null
// LCPOperatorQL.cpp // // Breannan Smith // Last updated: 09/03/2015 #include "LCPOperatorQL.h" #include "ImpactOperatorUtilities.h" #include "scisim/Utilities.h" #include "scisim/Math/QL/QLUtilities.h" #include <iostream> #ifndef NDEBUG #include <typeinfo> #endif LCPOperatorQL::LCPOperatorQL( const scalar& eps )...
24.893617
304
0.626781
Lyestria
e3bf11e48c2d07b1e38485a161fe12d0eafed05c
13,909
cpp
C++
EvolvedVirtualCreatures/genoype/GenotypeParser.cpp
jjuiddong/KarlSims
e05108eb7d2e68bfe0a90a7550eba727424081b6
[ "MIT" ]
5
2016-10-12T12:54:58.000Z
2022-01-07T17:34:33.000Z
EvolvedVirtualCreatures/genoype/GenotypeParser.cpp
jjuiddong/KarlSims
e05108eb7d2e68bfe0a90a7550eba727424081b6
[ "MIT" ]
null
null
null
EvolvedVirtualCreatures/genoype/GenotypeParser.cpp
jjuiddong/KarlSims
e05108eb7d2e68bfe0a90a7550eba727424081b6
[ "MIT" ]
2
2016-02-02T18:01:20.000Z
2018-04-16T17:15:59.000Z
#include "stdafx.h" #include "GenotypeParser.h" #include <iostream> using namespace evc; using namespace evc::genotype_parser; using namespace std; genotype_parser::CGenotypeParser::CGenotypeParser() { m_pScan = new CGenotypeScanner(); m_IsTrace = false; m_IsErrorOccur = false; } genotype_parser::CGenotypePars...
17.108241
135
0.622834
jjuiddong
e3c5563ad5e846dbbfcf0aa2c002aa0cab240eb3
1,813
cpp
C++
src/nWrappedVariantMap.cpp
lucaspcamargo/neiatree
0da0ff4f06fb650885eda10830f59cd48e23e12f
[ "BSD-2-Clause" ]
1
2017-11-13T06:55:27.000Z
2017-11-13T06:55:27.000Z
src/nWrappedVariantMap.cpp
lucaspcamargo/neiatree
0da0ff4f06fb650885eda10830f59cd48e23e12f
[ "BSD-2-Clause" ]
null
null
null
src/nWrappedVariantMap.cpp
lucaspcamargo/neiatree
0da0ff4f06fb650885eda10830f59cd48e23e12f
[ "BSD-2-Clause" ]
null
null
null
#include "nWrappedVariantMap.h" #include "../util/nIODefines.h" #define nWRAPPED_VARIANT_MAP_VERSION 1 nWrappedVariantMap::nWrappedVariantMap(QObject *parent) : QObject(parent) { } nWrappedVariantMap::nWrappedVariantMap(QIODevice * device, QObject *parent) : QObject(parent) { load(device); } void nWra...
21.583333
110
0.623828
lucaspcamargo
e3cb5b87104a4b9b4de93e8bc6a87325f9879f7b
4,370
cpp
C++
src/matrix.cpp
pradeep0295/MINI-DATABASE
34e9e568b40dd82dab0c1963073c9a5d627937c2
[ "MIT" ]
null
null
null
src/matrix.cpp
pradeep0295/MINI-DATABASE
34e9e568b40dd82dab0c1963073c9a5d627937c2
[ "MIT" ]
null
null
null
src/matrix.cpp
pradeep0295/MINI-DATABASE
34e9e568b40dd82dab0c1963073c9a5d627937c2
[ "MIT" ]
null
null
null
#include "matrix.h" using namespace std; Matrix::Matrix(string matrixName) { // logger.log("Matrix::Matrix"); this->sourceFileName = "../data/" + matrixName + ".csv"; this->matrixName = matrixName; } bool Matrix::load(){ // logger.log("Matrix::load"); fstream fin(this->sourceFileName, ios::in); ...
26.646341
131
0.59405
pradeep0295
e3cd8e50ad33d6a2b481363f1eda813086603b0a
2,706
cpp
C++
Tests/unit/core/test_parser.cpp
mrcomcast123/Thunder
21d827ad7da0f3bf805d0eaf4b0759d1846c1e3b
[ "Apache-2.0" ]
null
null
null
Tests/unit/core/test_parser.cpp
mrcomcast123/Thunder
21d827ad7da0f3bf805d0eaf4b0759d1846c1e3b
[ "Apache-2.0" ]
null
null
null
Tests/unit/core/test_parser.cpp
mrcomcast123/Thunder
21d827ad7da0f3bf805d0eaf4b0759d1846c1e3b
[ "Apache-2.0" ]
null
null
null
/* * If not stated otherwise in this file or this component's LICENSE file the * following copyright and licenses apply: * * Copyright 2020 RDK Management * * 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 cop...
30.404494
121
0.712121
mrcomcast123
e3d064a029d3dcd4f0eccffdff63a1ae8d446981
434
cc
C++
algorithm/modifying/remove.cc
HelloCodeMing/ToySTL
8221688f8674ab214e3e57abe262b02f952c8036
[ "MIT" ]
1
2015-09-11T00:33:43.000Z
2015-09-11T00:33:43.000Z
algorithm/modifying/remove.cc
HelloCodeMing/ToySTL
8221688f8674ab214e3e57abe262b02f952c8036
[ "MIT" ]
null
null
null
algorithm/modifying/remove.cc
HelloCodeMing/ToySTL
8221688f8674ab214e3e57abe262b02f952c8036
[ "MIT" ]
null
null
null
#include <predef.hpp> template <class Iter, class T> Iter remove(Iter first, Iter last, const T& value) { for (auto iter = first; iter != last; ++iter) { if (*iter != value) *first++ = *iter; } return first; } int main() { std::string str = "hey, *****."; assert(std::stri...
20.666667
67
0.486175
HelloCodeMing
e3d0ad501d0f03b2972c296f03686a83f25b9f19
8,713
hxx
C++
BTech Project/Code/OpacityFunctionGeneration.hxx
aishwaryamallampati/BTech-IIITDM
4cfc25a4e6e066b848361cb92770cad3260c7d48
[ "MIT" ]
null
null
null
BTech Project/Code/OpacityFunctionGeneration.hxx
aishwaryamallampati/BTech-IIITDM
4cfc25a4e6e066b848361cb92770cad3260c7d48
[ "MIT" ]
null
null
null
BTech Project/Code/OpacityFunctionGeneration.hxx
aishwaryamallampati/BTech-IIITDM
4cfc25a4e6e066b848361cb92770cad3260c7d48
[ "MIT" ]
null
null
null
#pragma once #ifndef OpacityFunctionGeneration_hxx #define OpacityFunctionGeneration_hxx template <typename TInputImage> OpacityFunctionGeneration<TInputImage>::OpacityFunctionGeneration(HistogramType::Pointer histogram, float *binWidth, float *binMinimum) { this->max_g = -100000; this->min_g = 100000; this->max_h ...
31.568841
155
0.603466
aishwaryamallampati
e3d381446a1d28212896b54238cbc24eb9a6d4a9
2,156
cpp
C++
core/sources/formations/Column.cpp
rharel/cpp-efficient-reformation
3e3658f5a17ca3186145dd00458a5da667788121
[ "MIT" ]
null
null
null
core/sources/formations/Column.cpp
rharel/cpp-efficient-reformation
3e3658f5a17ca3186145dd00458a5da667788121
[ "MIT" ]
null
null
null
core/sources/formations/Column.cpp
rharel/cpp-efficient-reformation
3e3658f5a17ca3186145dd00458a5da667788121
[ "MIT" ]
null
null
null
#include <algorithm> #include <glm/common.hpp> #include "core/formations/Column.h" using namespace rharel::efficient_reformation::core; Column::Column(const unsigned int row_size, const glm::vec2& spacing) : row_size(std::max(row_size, 1u)), spacing(glm::max(spacing, glm::vec2(1, 1))) ...
35.933333
79
0.553803
rharel
e3d9064c20b16741bd8e92ce4f083dca98c96cc2
2,143
cpp
C++
src/051-prime-digit-replacements/cpp/src/solve.cpp
xfbs/ProjectEulerRust
e26768c56ff87b029cb2a02f56dc5cd32e1f7c87
[ "MIT" ]
1
2018-01-26T21:18:12.000Z
2018-01-26T21:18:12.000Z
src/051-prime-digit-replacements/cpp/src/solve.cpp
xfbs/ProjectEulerRust
e26768c56ff87b029cb2a02f56dc5cd32e1f7c87
[ "MIT" ]
3
2017-12-09T14:49:30.000Z
2017-12-09T14:59:39.000Z
src/051-prime-digit-replacements/cpp/src/solve.cpp
xfbs/ProjectEulerRust
e26768c56ff87b029cb2a02f56dc5cd32e1f7c87
[ "MIT" ]
null
null
null
#include "solve.hpp" #include <euler/digits.hpp> #include <range/v3/algorithm.hpp> #include <range/v3/view.hpp> using namespace ranges; using namespace euler; uint8_t family_size(Prime &primes, uint64_t prime, uint64_t digit) { auto is_prime = [&primes](uint64_t num) { return primes.check(num); }; // replace all ...
34.564516
80
0.681755
xfbs
e3dfdd4c38908527ebb55616520b6168cc8287f4
3,595
cpp
C++
datasets/github_cpp_10/5/34.cpp
yijunyu/demo-fast
11c0c84081a3181494b9c469bda42a313c457ad2
[ "BSD-2-Clause" ]
1
2019-05-03T19:27:45.000Z
2019-05-03T19:27:45.000Z
datasets/github_cpp_10/5/34.cpp
yijunyu/demo-vscode-fast
11c0c84081a3181494b9c469bda42a313c457ad2
[ "BSD-2-Clause" ]
null
null
null
datasets/github_cpp_10/5/34.cpp
yijunyu/demo-vscode-fast
11c0c84081a3181494b9c469bda42a313c457ad2
[ "BSD-2-Clause" ]
null
null
null
#include "HanoiTower.hpp" using namespace std; using namespace clever; HanoiTower::HanoiTower(HanoiTowerData const &data): d_(data), interrupt_(false) { pauselock_ = unique_lock<mutex>(pausemutex_, defer_lock); return; } HanoiTower::~HanoiTower() { free_(); return; } HanoiTower &HanoiTower::run(int ...
13.314815
69
0.618637
yijunyu
e3e1189fa074b1869cc096537af4b6d6686642b5
4,132
cpp
C++
test/utility/future.cpp
wak-google/sdeventplus
3064849c13981864c4d85667659d502f0c3b5d9f
[ "Apache-2.0" ]
null
null
null
test/utility/future.cpp
wak-google/sdeventplus
3064849c13981864c4d85667659d502f0c3b5d9f
[ "Apache-2.0" ]
null
null
null
test/utility/future.cpp
wak-google/sdeventplus
3064849c13981864c4d85667659d502f0c3b5d9f
[ "Apache-2.0" ]
null
null
null
#include <chrono> #include <gtest/gtest.h> #include <sdeventplus/event.hpp> #include <sdeventplus/source/event.hpp> #include <sdeventplus/utility/future.hpp> #include <stdplus/util/future.hpp> #include <utility> namespace sdeventplus { namespace utility { namespace { using namespace std::chrono_literals; class CallW...
25.506173
79
0.602856
wak-google
e3e278cccac2eb35046bbb61377c9ba179ce4fb1
5,447
cpp
C++
Super Smash TV/Super Smash TV/Source/ModulePlayer_Legs.cpp
YunqianAo/Filosaurios
23f191c48629a5b6ee7b4d3e69a541dd0e1bb381
[ "MIT" ]
2
2021-03-07T10:32:01.000Z
2021-03-07T10:32:04.000Z
Super Smash TV/Super Smash TV/Source/ModulePlayer_Legs.cpp
YunqianAo/Filosaurios
23f191c48629a5b6ee7b4d3e69a541dd0e1bb381
[ "MIT" ]
null
null
null
Super Smash TV/Super Smash TV/Source/ModulePlayer_Legs.cpp
YunqianAo/Filosaurios
23f191c48629a5b6ee7b4d3e69a541dd0e1bb381
[ "MIT" ]
8
2021-02-23T18:06:22.000Z
2021-02-24T19:12:48.000Z
//#include "ModulePlayer_Legs.h" // //#include "Application.h" //#include "ModuleTextures.h" //#include "ModuleInput.h" //#include "ModuleRender.h" //#include "ModuleParticles.h" //#include "ModuleCollisions.h" //#include "ModuleAudio.h" //#include "ModuleFadeToBlack.h" // //#include "SDL/include/SDL_scancode.h" // // ...
25.938095
109
0.596842
YunqianAo
e3e4c33c1e4a1f8bfc439cfcf0b7bde39b09ce4b
4,133
cpp
C++
v1/CUCT.cpp
lanyj/mcts
8394acaf3e83020b0bdfaa6117553d1ad64be291
[ "MIT" ]
null
null
null
v1/CUCT.cpp
lanyj/mcts
8394acaf3e83020b0bdfaa6117553d1ad64be291
[ "MIT" ]
null
null
null
v1/CUCT.cpp
lanyj/mcts
8394acaf3e83020b0bdfaa6117553d1ad64be291
[ "MIT" ]
null
null
null
#pragma once #include <time.h> #include "stdafx.h" #include "CUCT.h" #include "OthelloCBoard.h" #include "OXOCBoard.h" #include "GobangCBoard.h" void* CUCT::getCNode(const void *list, int index) { return ((CList<CNode*>*) list)->get(index); } void CUCT::exchangeCNode(const void *list, int i, int j) { CNode* m = (C...
24.311765
127
0.616017
lanyj
e3e5ce311956c5949defb8b4ef5f3eb86aae4eac
1,670
cpp
C++
luogu/codes/P1637.cpp
Tony031218/OI
562f5f45d0448f4eab77643b99b825405a123d92
[ "MIT" ]
1
2018-12-22T06:43:59.000Z
2018-12-22T06:43:59.000Z
luogu/codes/P1637.cpp
Tony031218/OI
562f5f45d0448f4eab77643b99b825405a123d92
[ "MIT" ]
null
null
null
luogu/codes/P1637.cpp
Tony031218/OI
562f5f45d0448f4eab77643b99b825405a123d92
[ "MIT" ]
null
null
null
/************************************************************* * > File Name : P1637.cpp * > Author : Tony * > Created Time : 2019/08/26 16:20:04 * > Algorithm : [DataStructure]BIT **************************************************************/ #include <bits/stdc++.h> using namespa...
25.692308
78
0.40479
Tony031218
e3e5ee35e3c3a21613416ee85906f187f1d7f575
4,266
cpp
C++
UnrealEngine-4.11.2-release/Engine/Source/Editor/AddContentDialog/Private/ContentSourceProviders/FeaturePack/FeaturePackContentSourceProvider.cpp
armroyce/Unreal
ea1cdebe70407d59af4e8366d7111c52ce4606df
[ "MIT" ]
1
2016-10-01T21:35:52.000Z
2016-10-01T21:35:52.000Z
UnrealEngine-4.11.2-release/Engine/Source/Editor/AddContentDialog/Private/ContentSourceProviders/FeaturePack/FeaturePackContentSourceProvider.cpp
armroyce/Unreal
ea1cdebe70407d59af4e8366d7111c52ce4606df
[ "MIT" ]
null
null
null
UnrealEngine-4.11.2-release/Engine/Source/Editor/AddContentDialog/Private/ContentSourceProviders/FeaturePack/FeaturePackContentSourceProvider.cpp
armroyce/Unreal
ea1cdebe70407d59af4e8366d7111c52ce4606df
[ "MIT" ]
1
2021-04-27T08:48:33.000Z
2021-04-27T08:48:33.000Z
// Copyright 1998-2016 Epic Games, Inc. All Rights Reserved. #include "AddContentDialogPCH.h" #include "FeaturePackContentSourceProvider.h" #include "FeaturePackContentSource.h" #include "ModuleManager.h" class FFillArrayDirectoryVisitor : public IPlatformFile::FDirectoryVisitor { public: virtual bool Visit(const ...
33.069767
155
0.800516
armroyce
e3e86f09cecd130e1dae59ea842f994ee802df60
1,362
cpp
C++
sdk/packages/engine_gems/state/test/io.cpp
ddr95070/RMIsaac
ee3918f685f0a88563248ddea11d089581077973
[ "FSFAP" ]
null
null
null
sdk/packages/engine_gems/state/test/io.cpp
ddr95070/RMIsaac
ee3918f685f0a88563248ddea11d089581077973
[ "FSFAP" ]
null
null
null
sdk/packages/engine_gems/state/test/io.cpp
ddr95070/RMIsaac
ee3918f685f0a88563248ddea11d089581077973
[ "FSFAP" ]
1
2022-01-28T16:37:51.000Z
2022-01-28T16:37:51.000Z
/* Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. NVIDIA CORPORATION and its licensors retain all intellectual property and proprietary rights in and to this software, related documentation and any modifications thereto. Any use, reproduction, disclosure or distribution of this software and related docum...
28.978723
74
0.755507
ddr95070
e3f76fcfeafe8efdacf0a9ac02d57b35a5e8604d
1,422
hxx
C++
base/fs/utils/diskedit/fileio.hxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
base/fs/utils/diskedit/fileio.hxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
base/fs/utils/diskedit/fileio.hxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
#if !defined( _FILE_IO_ ) #define _FILE_IO_ #include "io.hxx" #include "hmem.hxx" #include "secrun.hxx" DECLARE_CLASS( FILE_IO ); class FILE_IO : public IO_OBJECT { public: NONVIRTUAL FILE_IO( ) { _file_handle = INVALID_HANDLE_VALUE; _buffer_size = 0; }; ...
19.75
74
0.422644
npocmaka
e3f97601d1618d140eef14b54a9e1772f1888f27
766
cpp
C++
docs/mfc/codesnippet/CPP/cmap-class_7.cpp
jmittert/cpp-docs
cea5a8ee2b4764b2bac4afe5d386362ffd64e55a
[ "CC-BY-4.0", "MIT" ]
14
2018-01-28T18:10:55.000Z
2021-11-16T13:21:18.000Z
docs/mfc/codesnippet/CPP/cmap-class_7.cpp
jmittert/cpp-docs
cea5a8ee2b4764b2bac4afe5d386362ffd64e55a
[ "CC-BY-4.0", "MIT" ]
null
null
null
docs/mfc/codesnippet/CPP/cmap-class_7.cpp
jmittert/cpp-docs
cea5a8ee2b4764b2bac4afe5d386362ffd64e55a
[ "CC-BY-4.0", "MIT" ]
2
2018-10-10T07:37:30.000Z
2019-06-21T15:18:07.000Z
CMap<int, int, CPoint, CPoint> myMap; // Add 10 elements to the map. for (int i = 0; i < 10; i++) myMap.SetAt(i, CPoint(i, i)); // Remove the elements with even key values. POSITION pos = myMap.GetStartPosition(); int nKey; CPoint pt; ...
29.461538
63
0.456919
jmittert
5400027446cdf509e429e4d3ccc5f028497d1ddb
478
cpp
C++
Squareandcube.cpp
aaryan0348/E-Lab-Object-Oriented-Programming
29f3ca80dbf2268441b5b9e426415650a607195a
[ "MIT" ]
null
null
null
Squareandcube.cpp
aaryan0348/E-Lab-Object-Oriented-Programming
29f3ca80dbf2268441b5b9e426415650a607195a
[ "MIT" ]
null
null
null
Squareandcube.cpp
aaryan0348/E-Lab-Object-Oriented-Programming
29f3ca80dbf2268441b5b9e426415650a607195a
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; class Number { public: int n; void getNumber() { cin>>n; } }; class Square:public Number { public: void getSquare() { cout<<(n*n)<<endl; } }; class Cube:public Number { public: void getCube() { cout<<((n*n)*n)<<endl; ...
14.9375
31
0.529289
aaryan0348
540320795eb258402122b38c3d1370a5f5a411ba
126
hpp
C++
src/order_type.hpp
Twon/cpp_crypto_algos
e785f6c25ef50dc3c2f593b08b6857dffcd32eca
[ "MIT" ]
null
null
null
src/order_type.hpp
Twon/cpp_crypto_algos
e785f6c25ef50dc3c2f593b08b6857dffcd32eca
[ "MIT" ]
null
null
null
src/order_type.hpp
Twon/cpp_crypto_algos
e785f6c25ef50dc3c2f593b08b6857dffcd32eca
[ "MIT" ]
null
null
null
#pragma once #include <boost/describe/enum.hpp> namespace profitview { BOOST_DEFINE_ENUM_CLASS(OrderType, Limit, Market) }
12.6
49
0.785714
Twon
54034083f157980cf15348c7a892b4d443125820
560
hpp
C++
include/CompositeSceneElement.hpp
renato-cefet-rj/openglbase
9218fc3e53bc08f799f10ac4111cb579bc2dd6b3
[ "MIT" ]
3
2018-06-11T16:20:02.000Z
2019-11-14T19:44:11.000Z
include/CompositeSceneElement.hpp
renato-cefet-rj/openglbase
9218fc3e53bc08f799f10ac4111cb579bc2dd6b3
[ "MIT" ]
1
2018-06-11T02:41:11.000Z
2018-06-14T13:38:16.000Z
include/CompositeSceneElement.hpp
renato-cefet-rj/openglbase
9218fc3e53bc08f799f10ac4111cb579bc2dd6b3
[ "MIT" ]
1
2018-07-18T15:12:33.000Z
2018-07-18T15:12:33.000Z
#ifndef __COMPOSITE_SCENE_ELEMENT__ #define __COMPOSITE_SCENE_ELEMENT__ #define CompositeSceneElementNull (CompositeSceneElement*)0 #include <SceneElement.hpp> #include <list> typedef std::list<SceneElement*>::iterator ElementsIterator; class CompositeSceneElement: public SceneElement { public: Composit...
24.347826
64
0.748214
renato-cefet-rj
5408b77717bb800fadb85a9972a8b1f37af731b2
394
hh
C++
Cassie_Example/opt_two_step/periodic/c_code/include/frost/gen/J_swing_toe_linear_velocity_z_RightStance.hh
prem-chand/Cassie_CFROST
da4bd51442f86e852cbb630cc91c9a380a10b66d
[ "BSD-3-Clause" ]
null
null
null
Cassie_Example/opt_two_step/periodic/c_code/include/frost/gen/J_swing_toe_linear_velocity_z_RightStance.hh
prem-chand/Cassie_CFROST
da4bd51442f86e852cbb630cc91c9a380a10b66d
[ "BSD-3-Clause" ]
null
null
null
Cassie_Example/opt_two_step/periodic/c_code/include/frost/gen/J_swing_toe_linear_velocity_z_RightStance.hh
prem-chand/Cassie_CFROST
da4bd51442f86e852cbb630cc91c9a380a10b66d
[ "BSD-3-Clause" ]
null
null
null
/* * Automatically Generated from Mathematica. * Fri 5 Nov 2021 09:01:51 GMT-04:00 */ #ifndef J_SWING_TOE_LINEAR_VELOCITY_Z_RIGHTSTANCE_HH #define J_SWING_TOE_LINEAR_VELOCITY_Z_RIGHTSTANCE_HH namespace frost { namespace gen { void J_swing_toe_linear_velocity_z_RightStance(double *p_output1, const doubl...
24.625
94
0.78934
prem-chand
541187d8378dd38a244573e0264406ec44df5e78
15,898
cxx
C++
com/mobile/syncmgr/dll/editschd.cxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
com/mobile/syncmgr/dll/editschd.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
com/mobile/syncmgr/dll/editschd.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//+-------------------------------------------------------------------------- // // Microsoft Windows // Copyright (C) Microsoft Corporation, 1994 - 1996. // // File: editschd.cxx // // Contents: Task schedule page for hidden schedules // // Classes: CEditSchedPage // // History: 15-Mar...
30.514395
111
0.491634
npocmaka
5415d1124c1fd493d6ec1787b2e2835f96e6cede
1,220
cpp
C++
aoj/itp2/itp2_8_d.cpp
yu3mars/proconVSCodeGcc
fcf36165bb14fb6f555664355e05dd08d12e426b
[ "MIT" ]
null
null
null
aoj/itp2/itp2_8_d.cpp
yu3mars/proconVSCodeGcc
fcf36165bb14fb6f555664355e05dd08d12e426b
[ "MIT" ]
null
null
null
aoj/itp2/itp2_8_d.cpp
yu3mars/proconVSCodeGcc
fcf36165bb14fb6f555664355e05dd08d12e426b
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; using ll = long long; using ld = long double; using pii = pair<int, int>; #define REP(i,n) for(int i=0, i##_len=(n); i<i##_len; ++i) #define all(x) (x).begin(),(x).end() #define m0(x) memset(x,0,sizeof(x)) int dx4[4] = {1,0,-1,0}, dy4[4] = {0,1,0,-1}; int main(){ mu...
21.034483
61
0.402459
yu3mars
541bfaffb4ce6c05ac29375db2c5ba4705b308b8
810
cpp
C++
src/tracelog/private/tracelog.cpp
aeon-engine/libaeon
e42b39e621dcd0a0fba05e1c166fc688288fb69b
[ "BSD-2-Clause" ]
7
2017-02-19T16:22:16.000Z
2021-03-02T05:47:39.000Z
src/tracelog/private/tracelog.cpp
aeon-engine/libaeon
e42b39e621dcd0a0fba05e1c166fc688288fb69b
[ "BSD-2-Clause" ]
61
2017-05-29T06:11:17.000Z
2021-03-28T21:51:44.000Z
src/tracelog/private/tracelog.cpp
aeon-engine/libaeon
e42b39e621dcd0a0fba05e1c166fc688288fb69b
[ "BSD-2-Clause" ]
2
2017-05-28T17:17:40.000Z
2017-07-14T21:45:16.000Z
// Distributed under the BSD 2-Clause License - Copyright 2012-2021 Robin Degen #include <aeon/tracelog/tracelog.h> #include "context.h" namespace aeon::tracelog { namespace detail { [[nodiscard]] auto add_entry(const char *func) -> trace_log_entry * { return detail::trace_log_context::get_singleton().add_scope...
20.25
81
0.741975
aeon-engine
541d301d93725eeb130a79ba3a58db1dacb76ad6
9,141
cc
C++
pcraster/pcraster-4.2.0/pcraster-4.2.0/source/modflow/src/rch.cc
quanpands/wflow
b454a55e4a63556eaac3fbabd97f8a0b80901e5a
[ "MIT" ]
null
null
null
pcraster/pcraster-4.2.0/pcraster-4.2.0/source/modflow/src/rch.cc
quanpands/wflow
b454a55e4a63556eaac3fbabd97f8a0b80901e5a
[ "MIT" ]
null
null
null
pcraster/pcraster-4.2.0/pcraster-4.2.0/source/modflow/src/rch.cc
quanpands/wflow
b454a55e4a63556eaac3fbabd97f8a0b80901e5a
[ "MIT" ]
null
null
null
#ifndef INCLUDED_RCH #include "rch.h" #define INCLUDED_RCH #endif // Library headers. #ifndef INCLUDED_SSTREAM #include <sstream> #define INCLUDED_SSTREAM #endif #ifndef INCLUDED_IOSTREAM #include <iostream> #define INCLUDED_IOSTREAM #endif #ifndef INCLUDED_IOMANIP #include <iomanip> #define INCLUDED_IOMANIP #endif...
26.650146
121
0.654524
quanpands
541e01fdbff03a08805c8f222193e8d6f48263c0
4,426
cc
C++
net/quic/quic_write_blocked_list_test.cc
iplo/Chain
8bc8943d66285d5258fffc41bed7c840516c4422
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
231
2015-01-08T09:04:44.000Z
2021-12-30T03:03:10.000Z
net/quic/quic_write_blocked_list_test.cc
JasonEric/chromium
c7361d39be8abd1574e6ce8957c8dbddd4c6ccf7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2017-02-14T21:55:58.000Z
2017-02-14T21:55:58.000Z
net/quic/quic_write_blocked_list_test.cc
JasonEric/chromium
c7361d39be8abd1574e6ce8957c8dbddd4c6ccf7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
268
2015-01-21T05:53:28.000Z
2022-03-25T22:09:01.000Z
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // #include "net/quic/quic_write_blocked_list.h" #include "testing/gtest/include/gtest/gtest.h" namespace net { namespace test { namespace { TEST(QuicWr...
41.364486
75
0.694306
iplo
541f87f1f149ffa7574bb4c0d7df1b7f875c3b4e
9,609
cpp
C++
f9_os/src/f9/ktimer.cpp
ghsecuritylab/arm-cortex-v7-unix
cd499fa94d6ee6cd78a31387f3512d997335df52
[ "Apache-2.0" ]
null
null
null
f9_os/src/f9/ktimer.cpp
ghsecuritylab/arm-cortex-v7-unix
cd499fa94d6ee6cd78a31387f3512d997335df52
[ "Apache-2.0" ]
null
null
null
f9_os/src/f9/ktimer.cpp
ghsecuritylab/arm-cortex-v7-unix
cd499fa94d6ee6cd78a31387f3512d997335df52
[ "Apache-2.0" ]
1
2020-03-08T01:08:38.000Z
2020-03-08T01:08:38.000Z
/* * ktimer.cpp * * Created on: May 19, 2017 * Author: Paul */ #include "ktimer.hpp" #include "irq.hpp" #include "schd.hpp" #if defined(CONFIG_KTIMER_TICKLESS) && defined(CONFIG_KTIMER_TICKLESS_VERIFY) #include "tickless-verify.h" #endif namespace f9 { DECLARE_KTABLE(ktimer_event_t, ktimer_event_table, CO...
24.575448
100
0.649807
ghsecuritylab
54234cd4491f1b6685e1a9969dcb9076854633ce
2,922
cpp
C++
CPlusPlus/Console App Projects/Cashier App/Src/Main.cpp
BillyFrcs/CPPPrograming
3904d30413aaea6c9109b8c5250c44c67aa0fc20
[ "MIT" ]
3
2021-12-17T02:45:51.000Z
2022-03-31T23:55:38.000Z
CPlusPlus/Console App Projects/Cashier App/Src/Main.cpp
BillyFrcs/Programming
32dc67ce4c12189b56921de63446d79c25799457
[ "MIT" ]
1
2021-06-12T08:28:38.000Z
2021-06-12T08:28:38.000Z
CPlusPlus/Console App Projects/Cashier App/Src/Main.cpp
BillyFrcs/Programming
32dc67ce4c12189b56921de63446d79c25799457
[ "MIT" ]
2
2021-04-28T20:08:55.000Z
2021-05-25T08:45:54.000Z
#include <iostream> #include <string> #include <vector> constexpr int INDEX = 30; constexpr int MONEY = 1000; namespace Program { struct Cashier { char nameCashier[INDEX], item[INDEX]; long double price, total, subTotalPrice, inputPrice; int input; }; class Cashier...
27.308411
127
0.449008
BillyFrcs
54241cf24a2498962ebfbf4679ac5c865480b286
1,844
cpp
C++
codes/codechef/COVID19B.cpp
smmehrab/problem-solving
4aeab1673f18d3270ee5fc9b64ed6805eacf4af5
[ "MIT" ]
null
null
null
codes/codechef/COVID19B.cpp
smmehrab/problem-solving
4aeab1673f18d3270ee5fc9b64ed6805eacf4af5
[ "MIT" ]
null
null
null
codes/codechef/COVID19B.cpp
smmehrab/problem-solving
4aeab1673f18d3270ee5fc9b64ed6805eacf4af5
[ "MIT" ]
null
null
null
/* ************************************************ username : smmehrab fullname : s.m.mehrabul islam email : mehrab.24csedu.001@gmail.com institute : university of dhaka, bangladesh session : 2017-2018 ************************************************ */ #include<bits/stdc++.h> using namespa...
30.229508
78
0.457158
smmehrab
5425887d7dc38fe98b25608a3311e5a1f22a96aa
299
cpp
C++
ALGS200x/Week2/Challenge2-6/CPP/reuse_main.cpp
davidlowryduda/udacity
fd55ab3f40a77baa49e47a8c08ce42cd823decd9
[ "MIT" ]
null
null
null
ALGS200x/Week2/Challenge2-6/CPP/reuse_main.cpp
davidlowryduda/udacity
fd55ab3f40a77baa49e47a8c08ce42cd823decd9
[ "MIT" ]
null
null
null
ALGS200x/Week2/Challenge2-6/CPP/reuse_main.cpp
davidlowryduda/udacity
fd55ab3f40a77baa49e47a8c08ce42cd823decd9
[ "MIT" ]
null
null
null
/* * Compute fib(0) + ... + fib(n) % 10. * * The key is that fib(0) + ... + fib(n) = fib(n+2) - 1. */ #include <iostream> #include "reuse_util.h" int main() { long num, ans; while (std::cin >> num) { ans = (fast_fib_mod(num+2, 10) + 9) % 10; std::cout << ans << std::endl; } }
15.736842
56
0.494983
davidlowryduda
5426701ad304f3608aea38914f89f5f597c48345
8,402
cpp
C++
lib/src/backend/cl/image/sampling.cpp
tlalexander/stitchEm
cdff821ad2c500703e6cb237ec61139fce7bf11c
[ "MIT" ]
182
2019-04-19T12:38:30.000Z
2022-03-20T16:48:20.000Z
lib/src/backend/cl/image/sampling.cpp
tlalexander/stitchEm
cdff821ad2c500703e6cb237ec61139fce7bf11c
[ "MIT" ]
107
2019-04-23T10:49:35.000Z
2022-03-02T18:12:28.000Z
lib/src/backend/cl/image/sampling.cpp
tlalexander/stitchEm
cdff821ad2c500703e6cb237ec61139fce7bf11c
[ "MIT" ]
59
2019-06-04T11:27:25.000Z
2022-03-17T23:49:49.000Z
// Copyright (c) 2012-2017 VideoStitch SAS // Copyright (c) 2018 stitchEm #include "../../../gpu/image/sampling.hpp" #include "../kernel.hpp" namespace { #include "sampling.xxd" } INDIRECT_REGISTER_OPENCL_PROGRAM(sampling, true); #define BLOCK_SIZE 16 namespace VideoStitch { namespace Image { /** * Subsample a ...
47.202247
119
0.665199
tlalexander
542941f130e87debf917c04e1a8ba28f233f17c6
600
cpp
C++
URI/Beginner/Little Ducks.cpp
Mhmd-Hisham/Problem-Solving
7ce0955b697e735c5ccb37347d9bec83e57339b5
[ "MIT" ]
null
null
null
URI/Beginner/Little Ducks.cpp
Mhmd-Hisham/Problem-Solving
7ce0955b697e735c5ccb37347d9bec83e57339b5
[ "MIT" ]
null
null
null
URI/Beginner/Little Ducks.cpp
Mhmd-Hisham/Problem-Solving
7ce0955b697e735c5ccb37347d9bec83e57339b5
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; unsigned long long N; int main () { while ( cin >> N && N != -1 ){ cout << ((N>0)? N-1 : 0) << '\n'; } return 0; } /* unsigned long long you dump bitch! input:- ----------- inline string ToString( int n ){ stringstream s; s << n; return s.str(); } int ToInt( ...
7.142857
35
0.486667
Mhmd-Hisham
542a3b3353400afc9648553f6802ff70e4dd2870
2,451
cpp
C++
src/voiceinfo.cpp
moutend/AudioAgent
dbdc6eff00986892ba1d334a91826a249ddac93d
[ "MIT" ]
1
2019-10-22T08:20:46.000Z
2019-10-22T08:20:46.000Z
src/voiceinfo.cpp
moutend/AudioAgent
dbdc6eff00986892ba1d334a91826a249ddac93d
[ "MIT" ]
null
null
null
src/voiceinfo.cpp
moutend/AudioAgent
dbdc6eff00986892ba1d334a91826a249ddac93d
[ "MIT" ]
null
null
null
#include <cpplogger/cpplogger.h> #include <cstring> #include <ppltasks.h> #include <roapi.h> #include <robuffer.h> #include <wrl.h> #include "context.h" #include "util.h" #include "voiceinfo.h" using namespace Microsoft::WRL; using namespace Windows::Media::SpeechSynthesis; using namespace concurrency; using namespac...
31.025316
80
0.69849
moutend
542aa8ec2fe88175ae719b0e81f98e267fc88114
5,680
cxx
C++
Modules/Loadable/InteractiveTubesToTree/qSlicerInteractiveTubesToTreeModule.cxx
KitwareMedical/Deprecated-VesselView
c8d0f3f7cbfe4a5642ce8fb60c603a2021292b28
[ "Apache-2.0" ]
6
2018-10-02T23:52:49.000Z
2019-11-14T08:24:55.000Z
Modules/Loadable/InteractiveTubesToTree/qSlicerInteractiveTubesToTreeModule.cxx
KitwareMedical/Deprecated-VesselView
c8d0f3f7cbfe4a5642ce8fb60c603a2021292b28
[ "Apache-2.0" ]
null
null
null
Modules/Loadable/InteractiveTubesToTree/qSlicerInteractiveTubesToTreeModule.cxx
KitwareMedical/Deprecated-VesselView
c8d0f3f7cbfe4a5642ce8fb60c603a2021292b28
[ "Apache-2.0" ]
null
null
null
/*========================================================================= Library: VesselView Copyright 2010 Kitware Inc. 28 Corporate Drive, Clifton Park, NY, 12065, USA. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the...
34.846626
88
0.601056
KitwareMedical
542af8de6323bca1b994754e62fe67893df61f91
6,349
cpp
C++
Demo05-Application/DemoApplication.cpp
iondune/ionEngine
7ce3394dafbabf0e0bb9f5d07dbfae31161800d4
[ "MIT" ]
36
2015-06-28T14:53:06.000Z
2021-10-31T04:26:53.000Z
Demo05-Application/DemoApplication.cpp
iondune/ionEngine
7ce3394dafbabf0e0bb9f5d07dbfae31161800d4
[ "MIT" ]
90
2015-05-01T07:21:43.000Z
2017-08-30T01:16:41.000Z
Demo05-Application/DemoApplication.cpp
iondune/ionEngine
7ce3394dafbabf0e0bb9f5d07dbfae31161800d4
[ "MIT" ]
9
2016-04-08T07:48:02.000Z
2019-07-22T15:13:53.000Z
#include <ionWindow.h> #include <ionGraphics.h> #include <ionGraphicsGL.h> #include <ionScene.h> #include <ionApplication.h> using namespace ion; using namespace ion::Scene; using namespace ion::Graphics; int main() { //////////////////// // ionEngine Init // //////////////////// Log::AddDefa...
33.951872
129
0.724366
iondune
542eeff09254058ee9e1b670f0190260c0c1cb0a
5,092
cpp
C++
RemoteExplorerServer/ListenSocket.cpp
tdm1223/CustomExplorer
e790cd2fbd401f2ff05e825e709fefc42e50d64e
[ "MIT" ]
2
2020-03-27T05:36:33.000Z
2021-10-30T07:47:33.000Z
RemoteExplorerServer/ListenSocket.cpp
tdm1223/CustomExplorer
e790cd2fbd401f2ff05e825e709fefc42e50d64e
[ "MIT" ]
null
null
null
RemoteExplorerServer/ListenSocket.cpp
tdm1223/CustomExplorer
e790cd2fbd401f2ff05e825e709fefc42e50d64e
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "RemoteExplorerServer.h" #include "ListenSocket.h" #include "ClientSocket.h" CListenSocket::CListenSocket() { } CListenSocket::~CListenSocket() { } void CListenSocket::OnAccept(int nErrorCode) { CClientSocket* clientSocket = new CClientSocket; if (Accept(*clientSocket)) { ...
29.097143
144
0.650236
tdm1223
5431f006ed69fb8529af772f6e3323a08d70b0b8
9,159
cpp
C++
src/qwt-6/examples/polardemo/Plot.cpp
copasi/copasi-dependencies
c01dd455c843522375c32c2989aa8675f59bb810
[ "Unlicense" ]
5
2015-04-16T14:27:38.000Z
2021-11-30T14:54:39.000Z
src/qwt-6/examples/polardemo/Plot.cpp
copasi/copasi-dependencies
c01dd455c843522375c32c2989aa8675f59bb810
[ "Unlicense" ]
8
2017-05-30T16:58:39.000Z
2022-02-22T16:51:34.000Z
src/qwt-6/examples/polardemo/Plot.cpp
copasi/copasi-dependencies
c01dd455c843522375c32c2989aa8675f59bb810
[ "Unlicense" ]
7
2016-05-29T08:12:59.000Z
2019-05-02T13:39:25.000Z
/***************************************************************************** * Qwt Polar Examples - Copyright (C) 2008 Uwe Rathmann * This file may be used under the terms of the 3-clause BSD License *****************************************************************************/ #include "Plot.h" #include <QwtS...
30.428571
83
0.595807
copasi
5432f046bf6cf00712950ba32f3906c1e6110f9a
3,058
hpp
C++
include/uMon/z80.hpp
trevor-makes/uMon
484dc46be45d6eb5ed37f9235ab28d5d3bb40344
[ "MIT" ]
null
null
null
include/uMon/z80.hpp
trevor-makes/uMon
484dc46be45d6eb5ed37f9235ab28d5d3bb40344
[ "MIT" ]
null
null
null
include/uMon/z80.hpp
trevor-makes/uMon
484dc46be45d6eb5ed37f9235ab28d5d3bb40344
[ "MIT" ]
null
null
null
// https://github.com/trevor-makes/uMon.git // Copyright (c) 2022 Trevor Makes #pragma once #include "z80/asm.hpp" #include "z80/dasm.hpp" #include "uCLI.hpp" namespace uMon { namespace z80 { template <typename API> bool parse_operand(Operand& op, uCLI::Tokens tokens) { // Handle indirect operand surronded by par...
27.8
82
0.66416
trevor-makes
f9a9ae5c9bd7a969163f86e9eb07bcb9329a5050
9,919
cpp
C++
src/main.cpp
lupyuen/wisblock-lorawan
88cdc1d86a5578a77895fb18706d80daf2c07785
[ "Apache-2.0" ]
3
2021-06-11T14:03:47.000Z
2022-01-04T04:06:30.000Z
src/main.cpp
lupyuen/wisblock-lorawan
88cdc1d86a5578a77895fb18706d80daf2c07785
[ "Apache-2.0" ]
null
null
null
src/main.cpp
lupyuen/wisblock-lorawan
88cdc1d86a5578a77895fb18706d80daf2c07785
[ "Apache-2.0" ]
1
2021-07-26T05:13:10.000Z
2021-07-26T05:13:10.000Z
// Based on https://github.com/RAKWireless/WisBlock/blob/master/examples/RAK4630/communications/LoRa/LoRaWAN/LoRaWAN_OTAA_ABP/LoRaWAN_OTAA_ABP.ino // Note: This program needs SX126x-Arduino Library version 2.0.0 or later. In platformio.ini, set... // lib_deps = beegee-tokyo/SX126x-Arduino@^2.0.0 /** * @file LoRaW...
31.094044
153
0.690493
lupyuen
f9ab206b58a1253d0da876422963da3d8d50cae4
738
hpp
C++
libs/fnd/units/include/bksge/fnd/units/bit.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
4
2018-06-10T13:35:32.000Z
2021-06-03T14:27:41.000Z
libs/fnd/units/include/bksge/fnd/units/bit.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
566
2017-01-31T05:36:09.000Z
2022-02-09T05:04:37.000Z
libs/fnd/units/include/bksge/fnd/units/bit.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
1
2018-07-05T04:40:53.000Z
2018-07-05T04:40:53.000Z
/** * @file bit.hpp * * @brief bit の定義 * * @author myoukaku */ #ifndef BKSGE_FND_UNITS_BIT_HPP #define BKSGE_FND_UNITS_BIT_HPP #include <bksge/fnd/units/base_dimensions/information.hpp> #include <bksge/fnd/units/detail/quantity.hpp> #include <bksge/fnd/units/detail/si_prefix.hpp> #include <bksge/...
20.5
71
0.727642
myoukaku
f9acf7e4d8e01c2cdcfb804def20d7d651ed68a7
56,134
cpp
C++
examples/pxScene2d/external/WinSparkle/3rdparty/wxWidgets/src/osx/carbon/nonownedwnd.cpp
madanagopaltcomcast/pxCore
c4a3a40a190521c8b6383d126c87612eca5b3c42
[ "Apache-2.0" ]
471
2019-06-26T09:59:09.000Z
2022-03-30T04:59:42.000Z
examples/pxScene2d/external/WinSparkle/3rdparty/wxWidgets/src/osx/carbon/nonownedwnd.cpp
madanagopaltcomcast/pxCore
c4a3a40a190521c8b6383d126c87612eca5b3c42
[ "Apache-2.0" ]
1,432
2017-06-21T04:08:48.000Z
2020-08-25T16:21:15.000Z
examples/pxScene2d/external/WinSparkle/3rdparty/wxWidgets/src/osx/carbon/nonownedwnd.cpp
madanagopaltcomcast/pxCore
c4a3a40a190521c8b6383d126c87612eca5b3c42
[ "Apache-2.0" ]
317
2017-06-20T19:57:17.000Z
2020-09-16T10:28:30.000Z
///////////////////////////////////////////////////////////////////////////// // Name: src/osx/carbon/nonownedwnd.cpp // Purpose: implementation of wxNonOwnedWindow // Author: Stefan Csomor // Created: 2008-03-24 // Copyright: (c) Stefan Csomor 2008 // Licence: wxWindows licence //////////////...
33.156527
149
0.61485
madanagopaltcomcast
f9ad4312de5c1a791a43fc1f5c8245b363d36f9a
4,636
hh
C++
include/utrig_matrix.hh
sylvainouel/metl
94fa40b9aabdf869cab8e6b92305a9fe5252f989
[ "MIT" ]
null
null
null
include/utrig_matrix.hh
sylvainouel/metl
94fa40b9aabdf869cab8e6b92305a9fe5252f989
[ "MIT" ]
null
null
null
include/utrig_matrix.hh
sylvainouel/metl
94fa40b9aabdf869cab8e6b92305a9fe5252f989
[ "MIT" ]
null
null
null
#ifndef UTRIG_MATRIX_HH #define UTRIG_MATRIX_HH /* Copyright (c) 2005-2015, Sylvain Ouellet 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 r...
21.663551
107
0.646894
sylvainouel
f9b2d5bdc7028669a74eee6f1765882ce5cf49d7
8,467
cc
C++
framework/render/vk/vk_image_barrier.cc
ans-hub/gdm_framework
4218bb658d542df2c0568c4d3aac813cd1f18e1b
[ "MIT" ]
1
2020-12-30T23:50:01.000Z
2020-12-30T23:50:01.000Z
framework/render/vk/vk_image_barrier.cc
ans-hub/gdm_framework
4218bb658d542df2c0568c4d3aac813cd1f18e1b
[ "MIT" ]
null
null
null
framework/render/vk/vk_image_barrier.cc
ans-hub/gdm_framework
4218bb658d542df2c0568c4d3aac813cd1f18e1b
[ "MIT" ]
null
null
null
// ************************************************************* // File: vk_image_barrier.cc // Author: Novoselov Anton @ 2020 // URL: https://github.com/ans-hub/gdm_framework // ************************************************************* #include "vk_image_barrier.h" #include "render/vk/vk_image.h" #inclu...
45.767568
134
0.77867
ans-hub
f9b78cda5b9efe33a1367fbf98be44327b177636
1,399
cpp
C++
priminitial.cpp
jei3di/DigraphMaker
40758f19057df663ac95f5f8a2e1cff8614a7c49
[ "MIT" ]
null
null
null
priminitial.cpp
jei3di/DigraphMaker
40758f19057df663ac95f5f8a2e1cff8614a7c49
[ "MIT" ]
null
null
null
priminitial.cpp
jei3di/DigraphMaker
40758f19057df663ac95f5f8a2e1cff8614a7c49
[ "MIT" ]
null
null
null
#include "priminitial.h" #include "ui_priminitial.h" #include "testfilegraph.h" #include "manualgraphscreen.h" #include "prim.h" int initialPrim = 0; int getInitialPrim(){ return initialPrim; } PrimInitial::PrimInitial(QWidget *parent) : QDialog(parent), ui(new Ui::PrimInitial) { ui->setupUi(this); ...
20.275362
67
0.631165
jei3di
f9b882f4a86ced95a63cb4d4ee4670b8874d3417
2,203
cpp
C++
sources/details/http_service.cpp
RKulagin/keyboard-suggest
5dcb5ca524448cc6bd8a390a6eea5861e70a3598
[ "MIT" ]
null
null
null
sources/details/http_service.cpp
RKulagin/keyboard-suggest
5dcb5ca524448cc6bd8a390a6eea5861e70a3598
[ "MIT" ]
null
null
null
sources/details/http_service.cpp
RKulagin/keyboard-suggest
5dcb5ca524448cc6bd8a390a6eea5861e70a3598
[ "MIT" ]
null
null
null
#include "details/http_service.h" #include <sstream> namespace { std::string GetLastWord(const std::string &input) { std::stringstream s(input); std::string last_word; while (!s.eof()) { std::string t; s >> t; if (!t.empty()) { last_word = std::move(t); } } return last_word; } } // na...
32.880597
117
0.670903
RKulagin
f9bd95a4d3fc3367f1f789c7f5b4b65e2352c481
1,637
hxx
C++
private/inet/xml/xml/om/ie4nodefactory.hxx
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
11
2017-09-02T11:27:08.000Z
2022-01-02T15:25:24.000Z
private/inet/xml/xml/om/ie4nodefactory.hxx
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
null
null
null
private/inet/xml/xml/om/ie4nodefactory.hxx
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
14
2019-01-16T01:01:23.000Z
2022-02-20T15:54:27.000Z
/* * Copyright (C) 1998,1999 Microsoft Corporation. All rights reserved. * */ #ifndef _IE4NODEFACTORY_HXX #define _IE4NODEFACTORY_HXX #ifndef _XML_OM_NODEDATANODEFACTORY #include "nodedatanodefactory.hxx" #endif class IE4NodeFactory : public _NDNodeFactory { public: // (De)Constructors IE4NodeFa...
31.480769
89
0.656078
King0987654
f9bf74c6d7846e335efe0b4a9bbe840ecc741d63
1,040
hpp
C++
fsc/include/win/event.hpp
gbucknell/fsc-sdk
11b7cda4eea35ec53effbe37382f4b28020cd59d
[ "MIT" ]
null
null
null
fsc/include/win/event.hpp
gbucknell/fsc-sdk
11b7cda4eea35ec53effbe37382f4b28020cd59d
[ "MIT" ]
null
null
null
fsc/include/win/event.hpp
gbucknell/fsc-sdk
11b7cda4eea35ec53effbe37382f4b28020cd59d
[ "MIT" ]
null
null
null
// (c) Copyright 2008 Samuel Debionne. // // Distributed under the MIT Software License. (See accompanying file // license.txt) or copy at http://www.opensource.org/licenses/mit-license.php) // // See http://code.google.com/p/fsc-sdk/ for the library home page. // // $Revision: $ // $History: $ /// \fi...
18.245614
80
0.651923
gbucknell
f9c13584f53883ed1e2dee30914e17d2bdc172b2
451
cpp
C++
dispenso/detail/per_thread_info.cpp
jeffamstutz/dispenso
0fb1db63a386c1ba59cd761677af6e9f0052c61c
[ "MIT" ]
1
2022-01-26T01:12:01.000Z
2022-01-26T01:12:01.000Z
dispenso/detail/per_thread_info.cpp
jeffamstutz/dispenso
0fb1db63a386c1ba59cd761677af6e9f0052c61c
[ "MIT" ]
null
null
null
dispenso/detail/per_thread_info.cpp
jeffamstutz/dispenso
0fb1db63a386c1ba59cd761677af6e9f0052c61c
[ "MIT" ]
null
null
null
// Copyright (c) Facebook, Inc. and its affiliates. // // This source code is licensed under the MIT license found in the // LICENSE.md file in the root directory of this source tree. #include <dispenso/detail/per_thread_info.h> namespace dispenso { namespace detail { PerThreadInfo& PerPoolPerThreadInfo::info() { ...
25.055556
66
0.767184
jeffamstutz
f9c2d9051da33322513478c8801323bd6ad62d57
69
cpp
C++
lib/cmake/Qt5Qml/Qt5Qml_QQmlNativeDebugConnectorFactory_Import.cpp
samlior/Qt5.15.0-rc2-static-macosx10.15
b9a1698a9a44baefbf3aa258af2ef487f12beff0
[ "blessing" ]
null
null
null
lib/cmake/Qt5Qml/Qt5Qml_QQmlNativeDebugConnectorFactory_Import.cpp
samlior/Qt5.15.0-rc2-static-macosx10.15
b9a1698a9a44baefbf3aa258af2ef487f12beff0
[ "blessing" ]
null
null
null
lib/cmake/Qt5Qml/Qt5Qml_QQmlNativeDebugConnectorFactory_Import.cpp
samlior/Qt5.15.0-rc2-static-macosx10.15
b9a1698a9a44baefbf3aa258af2ef487f12beff0
[ "blessing" ]
null
null
null
#include <QtPlugin> Q_IMPORT_PLUGIN(QQmlNativeDebugConnectorFactory)
23
48
0.884058
samlior
f9c4007b6b9ce98129216fc8e3dad7db8d32b9a4
6,915
cpp
C++
src/geo/test/latlng_codec_test.cpp
empiredan/pegasus
a095172ad1559cc0e65c7807a2baedc607cde50c
[ "Apache-2.0" ]
1,352
2017-10-16T03:24:54.000Z
2020-08-18T04:44:23.000Z
src/geo/test/latlng_codec_test.cpp
empiredan/pegasus
a095172ad1559cc0e65c7807a2baedc607cde50c
[ "Apache-2.0" ]
299
2017-10-19T05:33:32.000Z
2020-08-17T09:03:39.000Z
src/geo/test/latlng_codec_test.cpp
empiredan/pegasus
a095172ad1559cc0e65c7807a2baedc607cde50c
[ "Apache-2.0" ]
240
2017-10-16T05:57:04.000Z
2020-08-18T10:02:36.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 ...
41.909091
100
0.701518
empiredan
f9c440dadba1c1355f84f73cb718dd9ee0efebeb
1,320
cpp
C++
CLI/files/PostTagCribFile.cpp
maxitg/PostTagSystem
7d7c506ed32ab105b2ad064ababf2299fc9e9cfd
[ "MIT" ]
6
2021-05-19T15:48:41.000Z
2022-02-06T05:38:20.000Z
CLI/files/PostTagCribFile.cpp
maxitg/PostTagSystem
7d7c506ed32ab105b2ad064ababf2299fc9e9cfd
[ "MIT" ]
6
2021-02-26T22:14:42.000Z
2021-03-15T19:16:55.000Z
CLI/files/PostTagCribFile.cpp
maxitg/PostTagSystem
7d7c506ed32ab105b2ad064ababf2299fc9e9cfd
[ "MIT" ]
null
null
null
#include "PostTagCribFile.hpp" #include "boost/format.hpp" using PostTagSystem::TagState; PostTagCribFile PostTagCribFileReader::read_file() { uint8_t file_magic = read_u8(); PostTagFileMagic format_magic = CribFileMagic; if (file_magic != format_magic) { throw std::runtime_error((boost::format("File magi...
28.695652
110
0.689394
maxitg
f9c45a730d3db5a964e21252cbf049c8ea4be75a
225
cpp
C++
sensor_fsm_coro_sched/Sources/fut_cpp.cpp
bbelson2/k22f_coro
f4388f39110dd60553d9b579a65ceadd518b1396
[ "MIT" ]
null
null
null
sensor_fsm_coro_sched/Sources/fut_cpp.cpp
bbelson2/k22f_coro
f4388f39110dd60553d9b579a65ceadd518b1396
[ "MIT" ]
null
null
null
sensor_fsm_coro_sched/Sources/fut_cpp.cpp
bbelson2/k22f_coro
f4388f39110dd60553d9b579a65ceadd518b1396
[ "MIT" ]
null
null
null
/* * fut_cpp.cpp * * Created on: 23 Nov 2018 * Author: Bruce Belson */ using namespace scheduling; upromise ufuture<int32_t> delayed_light(int32_t delay) { return } extern "C" int fut_test() { return 0; }
9.782609
47
0.653333
bbelson2
f9c92ba4b8a8bd6b518dc3b775ec0a5af0250f9f
1,162
cpp
C++
CoCoJoystick2PC/Blinker.cpp
ranaur/CoCoJoystick2PC
a49308201fbc04e20083eabd111b62b18d1b1211
[ "MIT" ]
null
null
null
CoCoJoystick2PC/Blinker.cpp
ranaur/CoCoJoystick2PC
a49308201fbc04e20083eabd111b62b18d1b1211
[ "MIT" ]
null
null
null
CoCoJoystick2PC/Blinker.cpp
ranaur/CoCoJoystick2PC
a49308201fbc04e20083eabd111b62b18d1b1211
[ "MIT" ]
null
null
null
#include "Blinker.h" void Blinker::play(const uint16_t *playTimes, int repeat = -1) { /*debug("Blinker::play() "); debugvar("repeat = ", repeat); debugvar("playTimes = ", (int)playTimes); debugln("");*/ _playTimes = playTimes; _repeat = repeat; on(); } void Blinker::loop(uint32_t now =...
21.518519
79
0.539587
ranaur
f9ca9b21084ff8d228bec45735894875b758585b
434
cpp
C++
ntuj/0342.cpp
dk00/old-stuff
e1184684c85fe9bbd1ceba58b94d4da84c67784e
[ "Unlicense" ]
null
null
null
ntuj/0342.cpp
dk00/old-stuff
e1184684c85fe9bbd1ceba58b94d4da84c67784e
[ "Unlicense" ]
null
null
null
ntuj/0342.cpp
dk00/old-stuff
e1184684c85fe9bbd1ceba58b94d4da84c67784e
[ "Unlicense" ]
null
null
null
#include<cstdio> long long go(long long x) { if(x<3)return x; if(x<5)return x-1; for(long long i=3;i*i<=x;i++) if(x%i==0)return x-x/i; if(x%2==0)return x-2; return x-1; } main() { long long i,j,k,T; scanf("%lld",&T); while(T--) { scanf("%lld %lld",&i,&k); whil...
16.692308
33
0.414747
dk00
f9caa1df7fb789af7b22ecafbb4c1b70cef620c0
3,230
cpp
C++
equalization_CPU.cpp
Programacion-multinucleo-2018/assignment-4-histogram-equalization-leeseu95
8cff72e9bb2f8e6427d88407af6f1d221bc921f4
[ "MIT" ]
null
null
null
equalization_CPU.cpp
Programacion-multinucleo-2018/assignment-4-histogram-equalization-leeseu95
8cff72e9bb2f8e6427d88407af6f1d221bc921f4
[ "MIT" ]
null
null
null
equalization_CPU.cpp
Programacion-multinucleo-2018/assignment-4-histogram-equalization-leeseu95
8cff72e9bb2f8e6427d88407af6f1d221bc921f4
[ "MIT" ]
null
null
null
//Seung Hoon Lee - A01021720 //Tarea 4 - Equalization CPU version //g++ -o equalization_CPU equalization_CPU.cpp -lopencv_core -lopencv_highgui -lopencv_imgproc -std=c++11 #include <iostream> #include <cstdio> #include <cmath> #include <chrono> #include <cstdlib> #include <opencv2/core/core.hpp> #include <opencv2/high...
26.47541
110
0.635604
Programacion-multinucleo-2018
f9d124788ff81a2d9ca43f51be668ee6169d3593
865
cpp
C++
chapter1/02/RandomColorGenerator.cpp
ps-group/modern-gl-samples
53e075ec21418597b37c71c895111c0c77cab72b
[ "MIT" ]
1
2017-06-20T06:56:57.000Z
2017-06-20T06:56:57.000Z
chapter1/02/RandomColorGenerator.cpp
ps-group/modern-gl-samples
53e075ec21418597b37c71c895111c0c77cab72b
[ "MIT" ]
null
null
null
chapter1/02/RandomColorGenerator.cpp
ps-group/modern-gl-samples
53e075ec21418597b37c71c895111c0c77cab72b
[ "MIT" ]
null
null
null
#include "RandomColorGenerator.h" namespace { std::vector<glm::vec4> MakePalette() { // Превращает rgb(255, 0, 128) в vec4{ 1, 0, 0.5, 1 } auto rgb = [](unsigned red, unsigned green, unsigned blue) { return glm::vec4(float(red) / 255.f, float(green) / 255.f, float(blue) / 255.f, 1); }; // Цвета подобраны на сай...
21.625
85
0.652023
ps-group
f9d24688e17ea3ca0b9bb25f2c2c9f1003b8cbb4
4,113
hpp
C++
include/Model.hpp
nasa/swSim
348ba39ea149711a2285916a2dcddc2c71da4859
[ "Apache-2.0" ]
5
2021-02-21T09:49:11.000Z
2022-02-01T09:54:54.000Z
include/Model.hpp
ElsevierSoftwareX/SOFTX-D-21-00042
348ba39ea149711a2285916a2dcddc2c71da4859
[ "Apache-2.0" ]
null
null
null
include/Model.hpp
ElsevierSoftwareX/SOFTX-D-21-00042
348ba39ea149711a2285916a2dcddc2c71da4859
[ "Apache-2.0" ]
4
2021-04-27T09:52:17.000Z
2022-03-29T07:22:16.000Z
/*! \headerfile Model.hpp "include/Model.hpp" * "Model.hpp" contains the class definition encapsulating the * data structure interface for a Model in swSim. */ // Copyright 2020 United States Government as represented by the Administrator of the National // Aeronautics and Space Administration. No copyright is claim...
34.855932
124
0.625821
nasa
f9da5c9167ab9dd80ceae603d3c1c26bc81fa148
846
cpp
C++
Pacientes.cpp
victorortiz98/ManchesterTriage-Stack-and-List-
df2a37b79c6491bd616eab1adccc2cec83952784
[ "Apache-2.0" ]
null
null
null
Pacientes.cpp
victorortiz98/ManchesterTriage-Stack-and-List-
df2a37b79c6491bd616eab1adccc2cec83952784
[ "Apache-2.0" ]
null
null
null
Pacientes.cpp
victorortiz98/ManchesterTriage-Stack-and-List-
df2a37b79c6491bd616eab1adccc2cec83952784
[ "Apache-2.0" ]
null
null
null
// // Created by Víctor Ortiz on 14/06/2021. // #include "Pacientes.hpp" #include <iostream> #include <string> Pacientes::Pacientes(int id, std::string dni, std::string nombre, std::string apellido1, std::string apellido2, int edad, char sexo) { IdPaciente = id; Dni = dni; Nombre = nombre; ...
20.634146
133
0.638298
victorortiz98
f9dabd5788ed7e46f1f77167cd6f9a8b25e4335c
359
cpp
C++
Dataset/Leetcode/train/118/347.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/118/347.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/118/347.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution { public: vector<vector<int>> XXX(int numRows) { vector<vector<int>>f; for(int i=0;i<numRows;i++){ vector<int>res(i+1); res[i]=res[0]=1; for(int j=1;j<i;j++){ res[j]=f[i-1][j-1]+f[i-1][j]; } f.push_back(res);...
21.117647
45
0.409471
kkcookies99
f9dffec4f28b1bd8f685364919cc9b1dafb2d657
5,483
cpp
C++
src/common/cpp/mayarendernodes/standinLocatorNode.cpp
haggi/OpenMaya
746e0740f480d9ef8d2173f31b3c99b9b0ea0d24
[ "MIT" ]
42
2015-01-03T15:07:25.000Z
2021-12-09T03:56:59.000Z
src/common/cpp/mayarendernodes/standinLocatorNode.cpp
haggi/OpenMaya
746e0740f480d9ef8d2173f31b3c99b9b0ea0d24
[ "MIT" ]
66
2015-01-02T13:28:44.000Z
2022-03-16T14:00:57.000Z
src/common/cpp/mayarendernodes/standinLocatorNode.cpp
haggi/OpenMaya
746e0740f480d9ef8d2173f31b3c99b9b0ea0d24
[ "MIT" ]
12
2015-02-07T05:02:17.000Z
2020-07-10T17:21:44.000Z
#include "standinLocatorNode.h" //#include <maya/MFnStringData.h> //#include <maya/MFnDependencyNode.h> //#include <maya/MGlobal.h> //#include <maya/MDoubleArray.h> //#include <maya/MSelectionList.h> //#include "utilities/pystring.h" MObject StandinLocatorNode::bboxMin; MObject StandinLocatorNode::bboxMax; MObject ...
33.638037
98
0.707824
haggi
f9e0c35c957f936951c83aef0311f3c8d7d00e27
761
cpp
C++
cpp_tries/ch05/ex7.cpp
frankji/CPP-Primer-Plus-6
20ddba26faec93a347c96b866db853c2d154b639
[ "MIT" ]
null
null
null
cpp_tries/ch05/ex7.cpp
frankji/CPP-Primer-Plus-6
20ddba26faec93a347c96b866db853c2d154b639
[ "MIT" ]
null
null
null
cpp_tries/ch05/ex7.cpp
frankji/CPP-Primer-Plus-6
20ddba26faec93a347c96b866db853c2d154b639
[ "MIT" ]
null
null
null
#include <iostream> #include <string> struct car { std::string make; //use std::string if you do not want to claim the name space here. int year; }; //';' after struct. int main() { using namespace std; int ncars; cout << "How many cars do you wish to catalog? "; cin >> ncars; cin.get(); car * info = new car[n...
22.382353
85
0.576873
frankji
f9e70bda305fe442cbcb125f244b6e75c0564104
821
cpp
C++
Two Pointer/numberOfGoodPairs.cpp
anishmo99/Diversified-Programming
2bc955682414ac5afc9e39fbf2e01c411b0b86de
[ "MIT" ]
2
2020-08-09T02:09:50.000Z
2020-08-09T07:07:47.000Z
Two Pointer/numberOfGoodPairs.cpp
anishmo99/Diversified-Programming
2bc955682414ac5afc9e39fbf2e01c411b0b86de
[ "MIT" ]
null
null
null
Two Pointer/numberOfGoodPairs.cpp
anishmo99/Diversified-Programming
2bc955682414ac5afc9e39fbf2e01c411b0b86de
[ "MIT" ]
5
2020-09-21T12:49:07.000Z
2020-09-29T16:13:09.000Z
class Solution { public: int numIdenticalPairs(vector<int> &nums) { int count = 0; vector<pair<int, int>> vec; int i = 0, j = 1; while (i < nums.size() - 1) { if (nums[i] == nums[j]) { count++; } j++; ...
16.755102
53
0.327649
anishmo99
f9eb5b23b2d9fee70295240f48027d6e593919fc
1,574
hpp
C++
ss/relocation_table.hpp
leduftw/ss
eb9ec70b8adbf6cd991f009c89f1667682150701
[ "MIT" ]
1
2021-09-01T09:00:06.000Z
2021-09-01T09:00:06.000Z
ss/relocation_table.hpp
leduftw/ss
eb9ec70b8adbf6cd991f009c89f1667682150701
[ "MIT" ]
null
null
null
ss/relocation_table.hpp
leduftw/ss
eb9ec70b8adbf6cd991f009c89f1667682150701
[ "MIT" ]
null
null
null
#ifndef RELOCATION_TABLE #define RELOCATION_TABLE #include <iostream> #include <string> #include <vector> #include <iomanip> #include <sstream> #include <memory> #include <unordered_map> #include "section.hpp" using namespace std; class RelocationTable { public: enum class RelocationType { UNDEFINED, ...
22.169014
107
0.651842
leduftw
f9ecad1cf3fa60d89e0fbc0394cff2c50a1a5d13
12,085
cpp
C++
source/interface/font.cpp
timothyvolpe/2DProject
5473bfe7590deb5c9fd03ec2ce9e3709c78c03c9
[ "MIT" ]
null
null
null
source/interface/font.cpp
timothyvolpe/2DProject
5473bfe7590deb5c9fd03ec2ce9e3709c78c03c9
[ "MIT" ]
null
null
null
source/interface/font.cpp
timothyvolpe/2DProject
5473bfe7590deb5c9fd03ec2ce9e3709c78c03c9
[ "MIT" ]
null
null
null
#include "base.h" #include "interface\font.h" #include "interface\distance-field.h" #include "game.h" #include "texture.h" #include <ftbitmap.h> bool CachedGlyph::operator<( const CachedGlyph &rhs ) const { return width*rows > rhs.width*rhs.rows; } CFont::CFont() { m_cacheFace = 0; m_cachedArea = 0; m_fontFileN...
31.38961
167
0.698552
timothyvolpe
f9eeabce49ab9c1200e923c75d74452c7d24fdff
562
cpp
C++
src/py/wrapper/wrapper_78fa594811935c2ea4b4905d733f141f.cpp
StatisKit/Core
79d8ec07c203eb7973a6cf482852ddb2e8e1e93e
[ "Apache-2.0" ]
null
null
null
src/py/wrapper/wrapper_78fa594811935c2ea4b4905d733f141f.cpp
StatisKit/Core
79d8ec07c203eb7973a6cf482852ddb2e8e1e93e
[ "Apache-2.0" ]
7
2018-03-20T14:23:16.000Z
2019-04-09T11:57:57.000Z
src/py/wrapper/wrapper_78fa594811935c2ea4b4905d733f141f.cpp
StatisKit/Core
79d8ec07c203eb7973a6cf482852ddb2e8e1e93e
[ "Apache-2.0" ]
7
2017-04-28T07:41:01.000Z
2021-03-15T18:17:20.000Z
#include "_core.h" void wrapper_78fa594811935c2ea4b4905d733f141f(pybind11::module& module) { pybind11::enum_< enum ::statiskit::size_error::size_type > enum_78fa594811935c2ea4b4905d733f141f(module, "size_type"); enum_78fa594811935c2ea4b4905d733f141f.value("INFERIOR", ::statiskit::size_error::inferior); e...
43.230769
122
0.798932
StatisKit
f9f1c65e9f04a5566b5cf6c7aeb49613bea6509d
55,896
cpp
C++
tests/test.cpp
OpenJij/cimod
14728142d5fca3f1dac4d63a9c6fcd17e82bce9f
[ "Apache-2.0" ]
8
2020-03-24T09:29:21.000Z
2022-01-12T17:06:20.000Z
tests/test.cpp
OpenJij/cimod
14728142d5fca3f1dac4d63a9c6fcd17e82bce9f
[ "Apache-2.0" ]
18
2020-04-16T01:31:25.000Z
2022-03-08T03:00:01.000Z
tests/test.cpp
OpenJij/cimod
14728142d5fca3f1dac4d63a9c6fcd17e82bce9f
[ "Apache-2.0" ]
3
2020-05-23T16:53:08.000Z
2021-07-01T08:51:28.000Z
#include "gtest/gtest.h" #include "../src/binary_quadratic_model.hpp" #include "../src/binary_polynomial_model.hpp" #include "../src/binary_quadratic_model_dict.hpp" #include "test_bqm.hpp" #include <nlohmann/json.hpp> #include <unordered_map> #include <utility> #include <vector> #include <cstdint> #include <string...
36.390625
140
0.641799
OpenJij
f9f20c34c1708bb2980692eb5359f19248a79516
2,867
hxx
C++
main/extensions/source/propctrlr/propertycontrolextender.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/extensions/source/propctrlr/propertycontrolextender.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/extensions/source/propctrlr/propertycontrolextender.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.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 y...
39.819444
141
0.565051
Grosskopf
f9f2f857daf295346a86229adeba54d074dc3b0c
1,095
cpp
C++
examples/simple_download/main.cpp
SammyEnigma/QEasyDownloader
b405159db2a7d3ca6b46d4222e8c68e9dfec99ea
[ "BSD-3-Clause" ]
2
2020-04-15T15:32:03.000Z
2020-04-15T15:32:21.000Z
examples/simple_download/main.cpp
SammyEnigma/QEasyDownloader
b405159db2a7d3ca6b46d4222e8c68e9dfec99ea
[ "BSD-3-Clause" ]
null
null
null
examples/simple_download/main.cpp
SammyEnigma/QEasyDownloader
b405159db2a7d3ca6b46d4222e8c68e9dfec99ea
[ "BSD-3-Clause" ]
2
2020-04-14T17:13:36.000Z
2021-01-10T10:04:49.000Z
#include <QCoreApplication> #include <QEasyDownloader> int main(int argc, char **argv) { QCoreApplication app(argc, argv); /* * Construct */ QEasyDownloader Downloader; /* * By Default Debug is false , make it true to print the download progress and * other stuff! */ Downlo...
23.804348
94
0.596347
SammyEnigma
f9f353042a4420e0583fe7220f685aa28073b632
303
hpp
C++
opencv/build/modules/core/test/test_intrin512.simd_declarations.hpp
soyyuz/opencv-contrib-ARM64
25386df773f88a071532ec69ff541c31e62ec8f2
[ "Apache-2.0" ]
null
null
null
opencv/build/modules/core/test/test_intrin512.simd_declarations.hpp
soyyuz/opencv-contrib-ARM64
25386df773f88a071532ec69ff541c31e62ec8f2
[ "Apache-2.0" ]
null
null
null
opencv/build/modules/core/test/test_intrin512.simd_declarations.hpp
soyyuz/opencv-contrib-ARM64
25386df773f88a071532ec69ff541c31e62ec8f2
[ "Apache-2.0" ]
1
2022-03-27T03:35:07.000Z
2022-03-27T03:35:07.000Z
#define CV_CPU_SIMD_FILENAME "/home/epasholl/opencv/opencv-master/modules/core/test/test_intrin512.simd.hpp" #define CV_CPU_DISPATCH_MODE AVX512_SKX #include "opencv2/core/private/cv_cpu_include_simd_declarations.hpp" #define CV_CPU_DISPATCH_MODES_ALL AVX512_SKX, BASELINE #undef CV_CPU_SIMD_FILENAME
37.875
108
0.864686
soyyuz
f9f66adc04cca9dbd2103b56d3dcc874ff35bcec
2,787
hpp
C++
lexer/token.hpp
CobaltXII/cxcc
2e8f34e851b3cbe6699e443fd3950d630ff170b7
[ "MIT" ]
3
2019-05-27T04:50:51.000Z
2019-06-18T16:27:58.000Z
lexer/token.hpp
CobaltXII/cxcc
2e8f34e851b3cbe6699e443fd3950d630ff170b7
[ "MIT" ]
null
null
null
lexer/token.hpp
CobaltXII/cxcc
2e8f34e851b3cbe6699e443fd3950d630ff170b7
[ "MIT" ]
null
null
null
#pragma once #include <string> #include <vector> // All token types. enum token_type_t { // Special tokens. tk_identifier, tk_lit_integer, tk_lit_string, tk_lit_character, tk_eof, // Reserved words. tk_if, tk_int, tk_else, tk_while, tk_return, tk_break, tk_continue, // Punctuation. tk_left_parenthesis,...
18.335526
79
0.666308
CobaltXII
f9f84c5062a5075b73119aad4133f93568f6d0ac
1,207
cpp
C++
trainings/2015-10-06-Multi-University-2015-10/B.cpp
HcPlu/acm-icpc
ab1f1d58bf2b4bf6677a2e4282fd3dadb3effbf8
[ "MIT" ]
9
2017-10-07T13:35:45.000Z
2021-06-07T17:36:55.000Z
trainings/2015-10-06-Multi-University-2015-10/B.cpp
zhijian-liu/acm-icpc
ab1f1d58bf2b4bf6677a2e4282fd3dadb3effbf8
[ "MIT" ]
null
null
null
trainings/2015-10-06-Multi-University-2015-10/B.cpp
zhijian-liu/acm-icpc
ab1f1d58bf2b4bf6677a2e4282fd3dadb3effbf8
[ "MIT" ]
3
2018-04-24T05:27:21.000Z
2019-04-25T06:06:00.000Z
#include <iostream> using namespace std; const int mod = 1e9 + 7; const int N = 1e6 + 11; int prime[N + 10]; long long f[N + 10], ok[N + 10]; void init() { for (int i = 2; i <= N; i++) { prime[i] = 1; ok[i] = 0; } for (int i = 2; i <= N; i++) { if (prime[i]) { for (i...
18.569231
59
0.375311
HcPlu
f9f9f45c4c3754f82bbf5773c36ab80f5f3d0fd6
4,395
cc
C++
components/signin/internal/identity_manager/account_info_util.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
components/signin/internal/identity_manager/account_info_util.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
components/signin/internal/identity_manager/account_info_util.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/signin/internal/identity_manager/account_info_util.h" #include <map> #include <string> #include "base/values.h" #include "component...
36.625
87
0.746985
zealoussnow
f9fb7a437bb590c8c3292ea5db857bd1d4c7cc61
1,408
cpp
C++
src/cpp-leetcode/first/Code_154_MinNumInRotatedSortedArr2.cpp
17hao/algorithm
0e96883a4638b33182bd590fffd12fd6ba0783c8
[ "Apache-2.0" ]
null
null
null
src/cpp-leetcode/first/Code_154_MinNumInRotatedSortedArr2.cpp
17hao/algorithm
0e96883a4638b33182bd590fffd12fd6ba0783c8
[ "Apache-2.0" ]
1
2019-03-25T15:17:54.000Z
2019-03-25T15:20:30.000Z
src/cpp-leetcode/first/Code_154_MinNumInRotatedSortedArr2.cpp
17hao/algorithm
0e96883a4638b33182bd590fffd12fd6ba0783c8
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <vector> using std::vector; /** * find minimum number in rotated array * * @since 2020-10-21 Wednesday 10:27 - 11:10 */ class Solution { int findPivot(vector<int> v) { int size = v.size(); int l = 0, r = size - 1; while (l <= r) { int mid = l + ...
22.349206
44
0.417614
17hao
f9ff453cf96c18c174b85eb5647804b7b1eeee79
1,340
cpp
C++
DDrawCompat/DDraw/DirectDrawPalette.cpp
fengjixuchui/DDrawCompat
0017d4cca75a0e8b90c412b69da928a33b9dc0d1
[ "0BSD" ]
1
2021-02-10T17:49:17.000Z
2021-02-10T17:49:17.000Z
DDrawCompat/DDraw/DirectDrawPalette.cpp
c3358/DDrawCompat
27ae9affb8f78d56c1cd09cf888be9ac94c051e9
[ "0BSD" ]
null
null
null
DDrawCompat/DDraw/DirectDrawPalette.cpp
c3358/DDrawCompat
27ae9affb8f78d56c1cd09cf888be9ac94c051e9
[ "0BSD" ]
null
null
null
#include <cstring> #include <deque> #include "Common/Time.h" #include "Config/Config.h" #include "DDraw/DirectDrawPalette.h" #include "DDraw/Surfaces/PrimarySurface.h" #include "Gdi/AccessGuard.h" namespace DDraw { void DirectDrawPalette::setCompatVtable(IDirectDrawPaletteVtbl& vtable) { vtable.SetEntries = &SetE...
23.508772
95
0.736567
fengjixuchui
e600f394d0516ef29fef83a6ff839fc159589f0e
1,441
hpp
C++
hot/commons/include/hot/commons/PartialKeyMappingBase.hpp
freesummer/SIMD-Matcher
3b1889d2924d243daff4939e7328bef431d9859a
[ "0BSD" ]
null
null
null
hot/commons/include/hot/commons/PartialKeyMappingBase.hpp
freesummer/SIMD-Matcher
3b1889d2924d243daff4939e7328bef431d9859a
[ "0BSD" ]
null
null
null
hot/commons/include/hot/commons/PartialKeyMappingBase.hpp
freesummer/SIMD-Matcher
3b1889d2924d243daff4939e7328bef431d9859a
[ "0BSD" ]
null
null
null
#ifndef __HOT__COMMONS__PARTIAL_KEY_MAPPING_BASE_HPP___ #define __HOT__COMMONS__PARTIAL_KEY_MAPPING_BASE_HPP___ #include "hot/commons/include/hot/commons/DiscriminativeBit.hpp" namespace hot { namespace commons { /** * A Base class for all partial key mapping informations * A Partial key mapping must be able to ex...
36.025
226
0.834837
freesummer
e601409f0ab4f79c59b7e57a7c626886caede9b3
39,335
cpp
C++
src/Main/Gui/CoreWindow.cpp
voxie-viewer/voxie
d2b5e6760519782e9ef2e51f5322a3baa0cb1198
[ "MIT" ]
4
2016-06-03T18:41:43.000Z
2020-04-17T20:28:58.000Z
src/Main/Gui/CoreWindow.cpp
voxie-viewer/voxie
d2b5e6760519782e9ef2e51f5322a3baa0cb1198
[ "MIT" ]
null
null
null
src/Main/Gui/CoreWindow.cpp
voxie-viewer/voxie
d2b5e6760519782e9ef2e51f5322a3baa0cb1198
[ "MIT" ]
null
null
null
/* * Copyright (c) 2014-2022 The Voxie Authors * * 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, mer...
37.785783
101
0.620542
voxie-viewer
e60342c0bd5023e82732e77bbba501b134e714f8
338
cpp
C++
ace/tao/orbsvcs/tests/EC_Throughput/ECT_Driver.cpp
tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective
1b0172cdb78757fd17898503aaf6ce03d940ef28
[ "Apache-1.1" ]
46
2015-12-04T17:12:58.000Z
2022-03-11T04:30:49.000Z
ace/tao/orbsvcs/tests/EC_Throughput/ECT_Driver.cpp
tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective
1b0172cdb78757fd17898503aaf6ce03d940ef28
[ "Apache-1.1" ]
null
null
null
ace/tao/orbsvcs/tests/EC_Throughput/ECT_Driver.cpp
tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective
1b0172cdb78757fd17898503aaf6ce03d940ef28
[ "Apache-1.1" ]
23
2016-10-24T09:18:14.000Z
2022-02-25T02:11:35.000Z
// ECT_Driver.cpp,v 1.8 1999/07/21 03:41:16 coryan Exp #include "ECT_Driver.h" #include "ace/High_Res_Timer.h" #if !defined (__ACE_INLINE__) #include "ECT_Driver.i" #endif /* __ACE_INLINE__ */ ACE_RCSID(EC_Throughput, ECT_Driver, "ECT_Driver.cpp,v 1.8 1999/07/21 03:41:16 coryan Exp") ECT_Driver::~ECT_Dri...
22.533333
92
0.701183
tharindusathis
e606d8c4f285ec6b7003f20ac139c639eb31ab64
723
cpp
C++
problems/lc1492/solution1.cpp
caohongjian/leetcode
bba854b407b1caa6a237ceb726592ff0458b3a29
[ "MIT" ]
1
2020-07-01T10:42:09.000Z
2020-07-01T10:42:09.000Z
problems/lc1492/solution1.cpp
murmur-wheel/leetcode
bba854b407b1caa6a237ceb726592ff0458b3a29
[ "MIT" ]
null
null
null
problems/lc1492/solution1.cpp
murmur-wheel/leetcode
bba854b407b1caa6a237ceb726592ff0458b3a29
[ "MIT" ]
null
null
null
// // Created by chj on 2020/7/3. // // https://leetcode-cn.com/problems/the-kth-factor-of-n/ #include <algorithm> #include <cmath> #include <iostream> #include <vector> // 先计算 n 的所有因子,然后排序 class Solution { public: int kthFactor(int n, int k) { std::vector<int> v; const int K = std::sqrt(n); for (int ...
20.083333
72
0.518672
caohongjian
e607a84e0da2e6ead2c9ef694996341c13242b3a
376
cpp
C++
C++_Stroustrup/3-Objects,Types,Values/repeatWord.cpp
Cristo12345/CS_Review
7a0c60074a8a6d23f973e4e5e570e3ef22eec252
[ "MIT" ]
1
2020-07-17T01:54:43.000Z
2020-07-17T01:54:43.000Z
C++_Stroustrup/3-Objects,Types,Values/repeatWord.cpp
Cristo12345/CS_Review
7a0c60074a8a6d23f973e4e5e570e3ef22eec252
[ "MIT" ]
null
null
null
C++_Stroustrup/3-Objects,Types,Values/repeatWord.cpp
Cristo12345/CS_Review
7a0c60074a8a6d23f973e4e5e570e3ef22eec252
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { string prev = " "; string curr; int numOfWords = 0; while (cin >> curr) { numOfWords++; if (prev == curr) { cout << "word number " << numOfWords << '\n'; cout << "repeated word: " << curr << '\n...
15.666667
57
0.441489
Cristo12345
e60ce1a683fd10624ac4867548ce8a7124228753
352
hpp
C++
src/Graphics/Rect.hpp
ryu-raptor/amf
33a42cf1025ea512f23c4769a5be27d6a0c335bc
[ "MIT" ]
1
2020-05-31T02:25:39.000Z
2020-05-31T02:25:39.000Z
src/Graphics/Rect.hpp
ryu-raptor/amf
33a42cf1025ea512f23c4769a5be27d6a0c335bc
[ "MIT" ]
null
null
null
src/Graphics/Rect.hpp
ryu-raptor/amf
33a42cf1025ea512f23c4769a5be27d6a0c335bc
[ "MIT" ]
null
null
null
#include "Graphics/glHeaders.hpp" namespace Graphics { struct Rect { GLfloat width; GLfloat height; GLfloat x; GLfloat y; Rect(GLfloat x, GLfloat y, GLfloat width, GLfloat height) { this->width = width; this->height = height; this->x = x; this->y = y; ...
17.6
61
0.565341
ryu-raptor
e610989d946185f78f5fca7972a237425365bf05
1,933
cpp
C++
Test/PKTest/Native/Src/UART/UART.cpp
PervasiveDigital/netmf-interpreter
03d84fe76e0b666ebec62d17d69c55c45940bc40
[ "Apache-2.0" ]
529
2015-03-10T00:17:45.000Z
2022-03-17T02:21:19.000Z
Test/PKTest/Native/Src/UART/UART.cpp
PervasiveDigital/netmf-interpreter
03d84fe76e0b666ebec62d17d69c55c45940bc40
[ "Apache-2.0" ]
495
2015-03-10T22:02:46.000Z
2019-05-16T13:05:00.000Z
Test/PKTest/Native/Src/UART/UART.cpp
PervasiveDigital/netmf-interpreter
03d84fe76e0b666ebec62d17d69c55c45940bc40
[ "Apache-2.0" ]
332
2015-03-10T08:04:36.000Z
2022-03-29T04:18:36.000Z
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Copyright (c) Microsoft Corporation. All rights reserved. ///////////////////////////////////////////////////////...
27.225352
201
0.375582
PervasiveDigital
e610f8c0a4ba877de1909e9d7f7231f6d42adcdc
612
hpp
C++
MemLeak/src/RenderTarget/RenderTarget.hpp
pk8868/MemLeak
72f937110c2b67547f67bdea60d2e80b0f5581a1
[ "MIT" ]
null
null
null
MemLeak/src/RenderTarget/RenderTarget.hpp
pk8868/MemLeak
72f937110c2b67547f67bdea60d2e80b0f5581a1
[ "MIT" ]
null
null
null
MemLeak/src/RenderTarget/RenderTarget.hpp
pk8868/MemLeak
72f937110c2b67547f67bdea60d2e80b0f5581a1
[ "MIT" ]
null
null
null
#pragma once // --------- Graphics -------- // #include "Texture/Texture.hpp" #include "Image/Image.hpp" #include "Sprite/Sprite.hpp" #include "Shape/Rect/Rectangle.hpp" #include "Shape/Line/Line.hpp" #include "Text/Text.hpp" namespace ml { class Image; class Sprite; class Rectangle; class Line; class Text; st...
18.545455
48
0.678105
pk8868
e6130dcbaecdbfc71c41191cb6355739dbac954e
5,216
cpp
C++
Core/src/GFX/2D/Sprite.cpp
IridescentRose/Stardust-Engine
ee6a6b5841c16dddf367564a92eb263827631200
[ "MIT" ]
55
2020-10-07T01:54:49.000Z
2022-03-26T11:39:11.000Z
Core/src/GFX/2D/Sprite.cpp
IridescentRose/Ionia
ee6a6b5841c16dddf367564a92eb263827631200
[ "MIT" ]
15
2020-05-30T18:22:50.000Z
2020-08-08T11:01:36.000Z
Core/src/GFX/2D/Sprite.cpp
IridescentRose/Ionia
ee6a6b5841c16dddf367564a92eb263827631200
[ "MIT" ]
6
2020-10-22T11:09:47.000Z
2022-01-07T13:10:09.000Z
#include <GFX/2D/Sprite.h> namespace Stardust::GFX::Render2D{ Sprite::Sprite() { tex = -1; offset = { 0, 0 }; scaleFactor = { 1.0, 1.0 }; rotation = {0, 0}; } Sprite::~Sprite() { model.deleteData(); } Sprite::Sprite(unsigned int t) { rotation = {0, 0}; tex = t; Texture* tex2 = g_TextureManag...
19.247232
129
0.555982
IridescentRose
e6137e1213075a4ffa5b550c166c09083c776d65
2,326
cpp
C++
source/engine/resource/serialization.cpp
compix/Monte-Carlo-Raytracer
f27842c40dd380aee78f1579873341ad6cfe0834
[ "MIT" ]
3
2018-09-23T03:12:36.000Z
2021-12-01T08:30:43.000Z
source/engine/resource/serialization.cpp
compix/Monte-Carlo-Raytracer
f27842c40dd380aee78f1579873341ad6cfe0834
[ "MIT" ]
null
null
null
source/engine/resource/serialization.cpp
compix/Monte-Carlo-Raytracer
f27842c40dd380aee78f1579873341ad6cfe0834
[ "MIT" ]
1
2018-09-19T01:49:24.000Z
2018-09-19T01:49:24.000Z
#include "serialization.h" #include "Model.h" // ****************************** Model ****************************** void Serializer::write(std::ofstream& os, const Model& model) { write(os, model.name); write(os, model.position); write(os, model.scale); write(os, model.rotation); // Number of SubMes...
24.744681
72
0.607911
compix
e614e624c91cc738d46b06f29fe147800cbed3b6
4,991
cpp
C++
lammps-master/src/KOKKOS/npair_skip_kokkos.cpp
rajkubp020/helloword
4bd22691de24b30a0f5b73821c35a7ac0666b034
[ "MIT" ]
null
null
null
lammps-master/src/KOKKOS/npair_skip_kokkos.cpp
rajkubp020/helloword
4bd22691de24b30a0f5b73821c35a7ac0666b034
[ "MIT" ]
null
null
null
lammps-master/src/KOKKOS/npair_skip_kokkos.cpp
rajkubp020/helloword
4bd22691de24b30a0f5b73821c35a7ac0666b034
[ "MIT" ]
null
null
null
/* ---------------------------------------------------------------------- LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator http://lammps.sandia.gov, Sandia National Laboratories Steve Plimpton, sjplimp@sandia.gov Copyright (2003) Sandia Corporation. Under the terms of Contract DE-AC04...
31.588608
118
0.646764
rajkubp020
e6161a37befbd06765140d51a77698fabb16a6e3
735
cpp
C++
Pat/pat1002.cpp
yuanyangwangTJ/algorithm
ab7a959a00f290a0adc9af278f9a5de60be22af1
[ "MIT" ]
null
null
null
Pat/pat1002.cpp
yuanyangwangTJ/algorithm
ab7a959a00f290a0adc9af278f9a5de60be22af1
[ "MIT" ]
null
null
null
Pat/pat1002.cpp
yuanyangwangTJ/algorithm
ab7a959a00f290a0adc9af278f9a5de60be22af1
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; void read( int n,char num[10][5]); int main() { char num[10][5] = {"ling","yi","er","san","si","wu","liu","qi","ba","jiu"}; cout<<"please input a num:"<<endl; int count = 0,n; int t = getchar(); while( t !='\n' ) { n = t - '0'; ...
18.846154
80
0.391837
yuanyangwangTJ
e617089bd6c9eb600762cff365e64a2b28d381ad
35,615
cc
C++
mysql-server/storage/perfschema/table_events_statements.cc
silenc3502/MYSQL-Arch-Doc-Summary
fcc6bb65f72a385b9f56debc9b2c00cee5914bae
[ "MIT" ]
null
null
null
mysql-server/storage/perfschema/table_events_statements.cc
silenc3502/MYSQL-Arch-Doc-Summary
fcc6bb65f72a385b9f56debc9b2c00cee5914bae
[ "MIT" ]
null
null
null
mysql-server/storage/perfschema/table_events_statements.cc
silenc3502/MYSQL-Arch-Doc-Summary
fcc6bb65f72a385b9f56debc9b2c00cee5914bae
[ "MIT" ]
null
null
null
/* Copyright (c) 2010, 2020, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by the Free Software Foundation. This program is also distributed with certain so...
33.662571
80
0.668567
silenc3502
e61f0b8fa40fda776d213a2fe4870cbafa49572d
65,710
cc
C++
sdk/sdk/share/linphone/coreapi/linphonecore_jni.cc
doyaGu/C0501Q_HWJL01
07a71328bd9038453cbb1cf9c276a3dd1e416d63
[ "MIT" ]
1
2021-10-09T08:05:50.000Z
2021-10-09T08:05:50.000Z
sdk/sdk/share/linphone/coreapi/linphonecore_jni.cc
doyaGu/C0501Q_HWJL01
07a71328bd9038453cbb1cf9c276a3dd1e416d63
[ "MIT" ]
null
null
null
sdk/sdk/share/linphone/coreapi/linphonecore_jni.cc
doyaGu/C0501Q_HWJL01
07a71328bd9038453cbb1cf9c276a3dd1e416d63
[ "MIT" ]
null
null
null
/* linphonecore_jni.cc Copyright (C) 2010 Belledonne Communications, Grenoble, France 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 v...
39.441777
221
0.749779
doyaGu
e61fb7b2d1a457280a1a01460af170753b30afe6
323
hpp
C++
src/Time/StepControllers/Factory.hpp
macedo22/spectre
97b2b7ae356cf86830258cb5f689f1191fdb6ddd
[ "MIT" ]
117
2017-04-08T22:52:48.000Z
2022-03-25T07:23:36.000Z
src/Time/StepControllers/Factory.hpp
GitHimanshuc/spectre
4de4033ba36547113293fe4dbdd77591485a4aee
[ "MIT" ]
3,177
2017-04-07T21:10:18.000Z
2022-03-31T23:55:59.000Z
src/Time/StepControllers/Factory.hpp
geoffrey4444/spectre
9350d61830b360e2d5b273fdd176dcc841dbefb0
[ "MIT" ]
85
2017-04-07T19:36:13.000Z
2022-03-01T10:21:00.000Z
// Distributed under the MIT License. // See LICENSE.txt for details. #pragma once #include "Time/StepControllers/BinaryFraction.hpp" #include "Utilities/TMPL.hpp" namespace StepControllers { /// Typelist of standard StepControllers using standard_step_controllers = tmpl::list<BinaryFraction>; } // namespace Trigge...
24.846154
61
0.786378
macedo22
e6279c8736443f7a57545a58a85e0ea38cb142db
2,756
cpp
C++
procedures/p9/start_host.cpp
devenrao/openpower-proc-control
1dc3acd254df36670e978ad2fc4af13d7ce84bcb
[ "Apache-2.0" ]
1
2020-04-22T17:21:10.000Z
2020-04-22T17:21:10.000Z
procedures/p9/start_host.cpp
devenrao/openpower-proc-control
1dc3acd254df36670e978ad2fc4af13d7ce84bcb
[ "Apache-2.0" ]
5
2017-06-30T10:14:12.000Z
2021-11-28T19:42:41.000Z
procedures/p9/start_host.cpp
devenrao/openpower-proc-control
1dc3acd254df36670e978ad2fc4af13d7ce84bcb
[ "Apache-2.0" ]
7
2017-03-24T22:33:51.000Z
2022-01-20T05:31:29.000Z
/** * Copyright (C) 2017 IBM Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
28.412371
75
0.678882
devenrao
e62e24ff2c8aa962e2d1d0a9b8ad0ad284d9d26d
23,246
hh
C++
src/buffer.hh
everard/libecstk-buffer
bfc24012f6ece148a3bdb6f21765c7b3fd6e938f
[ "BSL-1.0" ]
null
null
null
src/buffer.hh
everard/libecstk-buffer
bfc24012f6ece148a3bdb6f21765c7b3fd6e938f
[ "BSL-1.0" ]
null
null
null
src/buffer.hh
everard/libecstk-buffer
bfc24012f6ece148a3bdb6f21765c7b3fd6e938f
[ "BSL-1.0" ]
null
null
null
// Copyright Nezametdinov E. Ildus 2021. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // #ifndef H_639425CCA60E448B9BEB43186E06CA57 #define H_639425CCA60E448B9BEB43186E06CA57 #include <type_traits> #include ...
32.557423
80
0.5992
everard
e62e7fd69a905d2162eb8868c3d6e25ec6f95601
2,100
cpp
C++
game/sources/Application.cpp
funZX/game-sdk
6d6cee60a1a63b5b6b3f1e9c4664ed9ed791a767
[ "MIT" ]
5
2018-11-05T12:40:53.000Z
2020-09-05T11:37:14.000Z
game/sources/Application.cpp
funZX/game-sdk
6d6cee60a1a63b5b6b3f1e9c4664ed9ed791a767
[ "MIT" ]
null
null
null
game/sources/Application.cpp
funZX/game-sdk
6d6cee60a1a63b5b6b3f1e9c4664ed9ed791a767
[ "MIT" ]
null
null
null
#include <core/sys/sim_thread.h> #include <render/sim_canvas.h> #include <render/sim_driver.h> #include "Application.h" #include "Game.h" CApplication::CApplication() { m_simarian = SIM_NEW CSimarian("simarian"); O.simarian = m_simarian; O.driver = m_simarian->GetDriver(); O.effect = m_simaria...
18.75
72
0.637619
funZX
e62ee9e181a93fb397260670761fcfae4f0e9098
1,001
hh
C++
extern/typed-geometry/src/typed-geometry/functions/matrix/translation.hh
rovedit/Fort-Candle
445fb94852df56c279c71b95c820500e7fb33cf7
[ "MIT" ]
null
null
null
extern/typed-geometry/src/typed-geometry/functions/matrix/translation.hh
rovedit/Fort-Candle
445fb94852df56c279c71b95c820500e7fb33cf7
[ "MIT" ]
null
null
null
extern/typed-geometry/src/typed-geometry/functions/matrix/translation.hh
rovedit/Fort-Candle
445fb94852df56c279c71b95c820500e7fb33cf7
[ "MIT" ]
null
null
null
#pragma once #include <typed-geometry/types/mat.hh> #include <typed-geometry/types/vec.hh> #include <typed-geometry/detail/scalar_traits.hh> namespace tg { template <int D, class T> [[nodiscard]] constexpr mat<D + 1, D + 1, T> translation(vec<D, T> const& v) { auto m = mat<D + 1, D + 1, T>::identity; m[D] = ...
23.833333
76
0.578422
rovedit
e63329ccd1f30baef7ea98be8491d4472eacbfaa
460
cpp
C++
code/ch09/9.1.2.2.container_with_most_water.cpp
leetcode-pp/leetcode-pp1
a1f9e46fdd2f480d2fcb94e76370e040e0f0a4f5
[ "MIT" ]
22
2021-02-23T13:42:28.000Z
2022-03-02T11:19:28.000Z
code/ch09/9.1.2.2.container_with_most_water.cpp
leetcode-pp/leetcode-pp1
a1f9e46fdd2f480d2fcb94e76370e040e0f0a4f5
[ "MIT" ]
9
2021-06-16T10:42:01.000Z
2021-08-24T09:06:29.000Z
code/ch09/9.1.2.2.container_with_most_water.cpp
leetcode-pp/leetcode-pp1
a1f9e46fdd2f480d2fcb94e76370e040e0f0a4f5
[ "MIT" ]
9
2021-02-20T08:29:00.000Z
2021-09-18T08:52:25.000Z
class Solution { public: int maxArea(vector<int>& height) { int res = 0; int area = 0; int left = 0, right = height.size() - 1; while(left < right) { area = (right - left) * min(height[right], height[left]); res = max(res, area); if (heig...
23
69
0.417391
leetcode-pp
e635aca950b1081dfe827536399f5dbbd1340138
4,691
cpp
C++
src/lib_cpp/AvTrajectoryPlanner.cpp
joshuajbennett/av-trajectory-planner
522e5193c6aeeeba1ebaca3d43e26bdd21c56340
[ "MIT" ]
6
2019-10-13T23:32:59.000Z
2022-03-13T17:36:42.000Z
src/lib_cpp/AvTrajectoryPlanner.cpp
joshuajbennett/av-trajectory-planner
522e5193c6aeeeba1ebaca3d43e26bdd21c56340
[ "MIT" ]
null
null
null
src/lib_cpp/AvTrajectoryPlanner.cpp
joshuajbennett/av-trajectory-planner
522e5193c6aeeeba1ebaca3d43e26bdd21c56340
[ "MIT" ]
6
2019-04-07T02:29:47.000Z
2021-12-09T02:14:28.000Z
#include <fstream> #include <iostream> #include "AvTrajectoryPlanner.hpp" #include "IterativeLQR.hpp" using namespace av_structs; using namespace iterative_lqr; namespace av_trajectory_planner { Planner::Planner() {} Planner::Planner( AvState init, AvState goal, AvParams config, Boundary av_outline, SolverParams s...
22.882927
96
0.762737
joshuajbennett
e6365011e3ce622a682ff7efc302f227313e5f11
312
cpp
C++
aql/benchmark/lib_59/class_8.cpp
menify/sandbox
32166c71044f0d5b414335b2b6559adc571f568c
[ "MIT" ]
null
null
null
aql/benchmark/lib_59/class_8.cpp
menify/sandbox
32166c71044f0d5b414335b2b6559adc571f568c
[ "MIT" ]
null
null
null
aql/benchmark/lib_59/class_8.cpp
menify/sandbox
32166c71044f0d5b414335b2b6559adc571f568c
[ "MIT" ]
null
null
null
#include "class_8.h" #include "class_6.h" #include "class_8.h" #include "class_4.h" #include "class_0.h" #include "class_5.h" #include <lib_27/class_9.h> #include <lib_47/class_1.h> #include <lib_46/class_3.h> #include <lib_30/class_4.h> #include <lib_40/class_2.h> class_8::class_8() {} class_8::~class_8() {}
20.8
27
0.714744
menify
e6391b1a286eb523de13c1b703c037103c51ed4d
3,711
cpp
C++
src/r_interface.cpp
dpmerrell/blockRARopt
10a52784ce75df92744112f6bc2d350f941cbdac
[ "MIT" ]
null
null
null
src/r_interface.cpp
dpmerrell/blockRARopt
10a52784ce75df92744112f6bc2d350f941cbdac
[ "MIT" ]
null
null
null
src/r_interface.cpp
dpmerrell/blockRARopt
10a52784ce75df92744112f6bc2d350f941cbdac
[ "MIT" ]
null
null
null
// r_interface.cpp // (c) 2020 David Merrell // #include "trial_mdp.h" #include <string> #include <iostream> #include <Rcpp.h> using namespace Rcpp; // [[Rcpp::depends(BH)]] // [[Rcpp::plugins("cpp11")]] //' Use TrialMDP to compute an optimal trial design //' //' Given the number of patients, failure cost, and sta...
43.658824
130
0.637295
dpmerrell