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
6c782b8510844bec43bfbdbef92f39910506f105
858
cpp
C++
src/HostViewBHO/Factory.cpp
inria-muse/hostview-win
db890b83956081d98e64005873eb2e7e4c6891e6
[ "MIT" ]
1
2018-07-22T16:39:08.000Z
2018-07-22T16:39:08.000Z
src/HostViewBHO/Factory.cpp
inria-muse/hostview-win
db890b83956081d98e64005873eb2e7e4c6891e6
[ "MIT" ]
null
null
null
src/HostViewBHO/Factory.cpp
inria-muse/hostview-win
db890b83956081d98e64005873eb2e7e4c6891e6
[ "MIT" ]
1
2021-03-08T06:59:28.000Z
2021-03-08T06:59:28.000Z
#include "common.h" #include "Factory.h" #include "Plugin.h" const IID CFactory::SupportedIIDs[] = {IID_IUnknown, IID_IClassFactory}; CFactory::CFactory() : CUnknown<IClassFactory>(SupportedIIDs, 2) { } CFactory::~CFactory() { } STDMETHODIMP CFactory::CreateInstance(IUnknown *pUnkOuter, REFIID riid, void **ppvObje...
15.321429
89
0.706294
inria-muse
6c78d1de7d65ea97d301f5e18a99150380fe92d1
5,624
cpp
C++
cmdriver/src/CmXmlStringTokenizer.cpp
kit-transue/software-emancipation-discover
bec6f4ef404d72f361d91de954eae9a3bd669ce3
[ "BSD-2-Clause" ]
2
2015-11-24T03:31:12.000Z
2015-11-24T16:01:57.000Z
cmdriver/src/CmXmlStringTokenizer.cpp
radtek/software-emancipation-discover
bec6f4ef404d72f361d91de954eae9a3bd669ce3
[ "BSD-2-Clause" ]
null
null
null
cmdriver/src/CmXmlStringTokenizer.cpp
radtek/software-emancipation-discover
bec6f4ef404d72f361d91de954eae9a3bd669ce3
[ "BSD-2-Clause" ]
1
2019-05-19T02:26:08.000Z
2019-05-19T02:26:08.000Z
/************************************************************************* * Copyright (c) 2015, Synopsys, Inc. * * All rights reserved. * * * * Redistribution and...
28.548223
90
0.585526
kit-transue
6c7e3a240169920f0aa7c99a2331f254a65f01bc
421
cpp
C++
src/Y/Y403.cpp
wlhcode/lscct
7fd112a9d1851ddcf41886d3084381a52e84a3ce
[ "MIT" ]
null
null
null
src/Y/Y403.cpp
wlhcode/lscct
7fd112a9d1851ddcf41886d3084381a52e84a3ce
[ "MIT" ]
null
null
null
src/Y/Y403.cpp
wlhcode/lscct
7fd112a9d1851ddcf41886d3084381a52e84a3ce
[ "MIT" ]
null
null
null
#include<iostream> #include<algorithm> using namespace std; double arr[101]; int main(){ double a,ave=0; cin>>a; for(int i=0;i<a-1;i++) cin>>arr[i]; int tmp=a-1; sort(arr,arr+tmp); for(int i=a-2;i>0;i--) ave+=arr[i]; ave/=a-2; if(ave>=50) cout<<"0"<<endl; else{ ave-=arr[1]/(a-2); for(int i=0;i<=100;i++){ ...
16.84
36
0.553444
wlhcode
6c7ead9f8211077b6a7af65c1e3b7750297ba267
318
cpp
C++
Solutions-to-Books/C++Primer/Chapter03/3.02.cpp
Horizon-Blue/playground
4bd42bfcec60b8e89e127f4784c99f6ba669d359
[ "MIT" ]
2
2016-08-31T19:13:24.000Z
2017-02-18T18:48:31.000Z
Solutions-to-Books/C++Primer/Chapter03/3.02.cpp
Horizon-Blue/playground
4bd42bfcec60b8e89e127f4784c99f6ba669d359
[ "MIT" ]
1
2018-12-10T16:32:26.000Z
2018-12-27T19:50:48.000Z
Solutions-to-Books/C++Primer/Chapter03/3.02.cpp
Horizon-Blue/playground
4bd42bfcec60b8e89e127f4784c99f6ba669d359
[ "MIT" ]
null
null
null
/* Exercise 3.2: Write a program to read the standard input * a line at a time. Modify your program to read a word at * a time */ // Xiaoyan Wang 10/26/2015 #include <iostream> #include <string> using namespace std; int main() { string line; while (getline(cin, line)) cout << line << endl; return 0; }
18.705882
59
0.663522
Horizon-Blue
6c8ce34734194fcd195d7131f5bf7e060a2a4107
947
cpp
C++
apps/2d/euler/test_exact1/AfterQinit.cpp
dcseal/finess
766e583ae9e84480640c7c3b3c157bf40ab87fe4
[ "BSD-3-Clause" ]
null
null
null
apps/2d/euler/test_exact1/AfterQinit.cpp
dcseal/finess
766e583ae9e84480640c7c3b3c157bf40ab87fe4
[ "BSD-3-Clause" ]
null
null
null
apps/2d/euler/test_exact1/AfterQinit.cpp
dcseal/finess
766e583ae9e84480640c7c3b3c157bf40ab87fe4
[ "BSD-3-Clause" ]
null
null
null
/* #include <iostream> #include <iomanip> #include "dogdefs.h" #include "IniParams.h" */ #include "DogSolverCart2.h" #include <string.h> // For strcpy and strcat (some compilers don't need this) #include "IniParams.h" // Function that is called after initial condition void AfterQinit(DogSolverCart2& solver) ...
27.852941
86
0.669483
dcseal
6c8dbddac1c11a71d1f0bf12b64a9e7b95a05d59
691
hpp
C++
Public/Ava/Private/Platform/Arch.hpp
vasama/Ava
c1e6fb87a493dc46ce870220c632069f00875d2c
[ "MIT" ]
null
null
null
Public/Ava/Private/Platform/Arch.hpp
vasama/Ava
c1e6fb87a493dc46ce870220c632069f00875d2c
[ "MIT" ]
null
null
null
Public/Ava/Private/Platform/Arch.hpp
vasama/Ava
c1e6fb87a493dc46ce870220c632069f00875d2c
[ "MIT" ]
null
null
null
#pragma once #if defined(Ava_X86) \ || defined(__i386__) \ || defined(__i486__) \ || defined(__i586__) \ || defined(__i686__) \ || defined(_M_IX86) # ifndef Ava_X86 # define Ava_X86 1 # endif # define Ava_32 1 # define Ava_ARCH x86 #elif defined(Ava_X64) \ || defined(__x86_64) \ || defined(__x86_64__) \ ||...
15.704545
32
0.691751
vasama
6c8e13b5d49c84522cb7a74452c7f089529ce49c
841
cpp
C++
OJ/LeetCode/leetcode/problems/offer39.cpp
ONGOING-Z/DataStructure
9099393d1c7dfabc3e2939586ea6d1d254631eb2
[ "MIT" ]
null
null
null
OJ/LeetCode/leetcode/problems/offer39.cpp
ONGOING-Z/DataStructure
9099393d1c7dfabc3e2939586ea6d1d254631eb2
[ "MIT" ]
2
2021-10-31T10:05:45.000Z
2022-02-12T15:17:53.000Z
OJ/LeetCode/leetcode/offer39.cpp
ONGOING-Z/Learn-Algorithm-and-DataStructure
3a512bd83cc6ed5035ac4550da2f511298b947c0
[ "MIT" ]
null
null
null
#include <iostream> #include <stdio.h> #include <cstdio> #include <vector> #include <algorithm> using namespace std; /* Offer */ /* Type: */ /* 题目信息 */ /* *剑指 Offer 39. 数组中出现次数超过一半的数字 数组中有一个数字出现的次数超过数组长度的一半,请找出这个数字。   你可以假设数组是非空的,并且给定的数组总是存在多数元素。   示例 1: 输入: [1, 2, 3, 2, 2, 2, 5, 4, 2] 输出: 2   限制: 1 <= 数组长度 <=...
13.786885
44
0.530321
ONGOING-Z
6c915f68204c33100c70f4ef5405fb1b844abbf3
1,205
cpp
C++
src/engine/test/maptest.cpp
eXl-Nic/eXl
a5a0f77f47db3179365c107a184bb38b80280279
[ "MIT" ]
null
null
null
src/engine/test/maptest.cpp
eXl-Nic/eXl
a5a0f77f47db3179365c107a184bb38b80280279
[ "MIT" ]
null
null
null
src/engine/test/maptest.cpp
eXl-Nic/eXl
a5a0f77f47db3179365c107a184bb38b80280279
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include <gen/floodfill.hpp> using namespace eXl; TEST(DunAtk, FloodFillTest) { AABB2Di box(Vector2i::ZERO, Vector2i::ONE * 8); { Vector<char> testVec = { -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 0, -1, -1, 0, 0, -1, -1, 0, 0, 0, -1, -1, 0, 0, -1, -1, -...
23.627451
86
0.483817
eXl-Nic
6c95b467682542463fdbce08ee620d070e45c08d
6,096
cc
C++
RecoLocalCalo/HGCalRecAlgos/src/ClusterTools.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
RecoLocalCalo/HGCalRecAlgos/src/ClusterTools.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
RecoLocalCalo/HGCalRecAlgos/src/ClusterTools.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
#include "RecoLocalCalo/HGCalRecAlgos/interface/ClusterTools.h" #include "DataFormats/DetId/interface/DetId.h" #include "DataFormats/ForwardDetId/interface/ForwardSubdetector.h" #include "DataFormats/HcalDetId/interface/HcalSubdetector.h" #include "Geometry/HGCalGeometry/interface/HGCalGeometry.h" #include "FWCore/Fr...
34.055866
119
0.636975
ckamtsikis
6c966b5fa941144b13f247c752bb089933b97764
18,592
cpp
C++
src/gpu/vk/GrVkGpuCommandBuffer.cpp
juanpca12/Google-Skia
42e6798696ac3a93a2b7ba7a9d6a84b77eba0116
[ "Apache-2.0" ]
null
null
null
src/gpu/vk/GrVkGpuCommandBuffer.cpp
juanpca12/Google-Skia
42e6798696ac3a93a2b7ba7a9d6a84b77eba0116
[ "Apache-2.0" ]
null
null
null
src/gpu/vk/GrVkGpuCommandBuffer.cpp
juanpca12/Google-Skia
42e6798696ac3a93a2b7ba7a9d6a84b77eba0116
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2016 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "GrVkGpuCommandBuffer.h" #include "GrMesh.h" #include "GrPipeline.h" #include "GrRenderTargetPriv.h" #include "GrTextureAccess.h" #include "GrTexturePriv.h" #include "GrV...
42.447489
100
0.554862
juanpca12
6c972bda8864d4c341abda36d045af3774fc6f79
3,151
cpp
C++
main.cpp
fogwizard/fillsize
54928fbd50989beb92676e4d6703b3b18ab93eed
[ "Apache-2.0" ]
null
null
null
main.cpp
fogwizard/fillsize
54928fbd50989beb92676e4d6703b3b18ab93eed
[ "Apache-2.0" ]
null
null
null
main.cpp
fogwizard/fillsize
54928fbd50989beb92676e4d6703b3b18ab93eed
[ "Apache-2.0" ]
null
null
null
#include <unistd.h> #include <string.h> #include "iostream" #include "stdio.h" #include "stdint.h" #include "fillsize.h" #include "mergebin.h" #include "alignbin.h" #include "ddbin.h" using namespace std; int usage(void) { cout << "Usage: fillsize <filename> [address]" << endl; return 0; } int usage_merge(vo...
23.514925
81
0.449064
fogwizard
6c97f885ad15183170d14e65e2a69c1f73357736
3,632
cpp
C++
src/kgw.cpp
Warants/whosa
ff46f1e5158c29601f8a83f9de77be1eca95f9f2
[ "MIT" ]
13
2017-09-17T16:54:25.000Z
2021-03-19T11:58:16.000Z
src/kgw.cpp
Warants/whosa
ff46f1e5158c29601f8a83f9de77be1eca95f9f2
[ "MIT" ]
7
2015-01-20T07:44:53.000Z
2021-11-26T18:58:38.000Z
src/kgw.cpp
Warants/whosa
ff46f1e5158c29601f8a83f9de77be1eca95f9f2
[ "MIT" ]
2
2018-01-02T16:49:00.000Z
2018-05-17T10:58:28.000Z
// Copyright (c) 2015-2015 The e-Gulden developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <math.h> #include "chain.h" #include "chainparams.h" #include "primitives/block.h" #include "uint256.h" #include "...
39.912088
178
0.683645
Warants
6c9c7eeaeeae6c6002e13a0d123fb399a645e383
414
hpp
C++
addons/handhelds/rf7800/CfgVehicles.hpp
MrDj200/task-force-arma-3-radio
21bb54d5d0e0b31b0522dc67e6923edb9ad85247
[ "RSA-MD" ]
300
2015-01-14T11:19:48.000Z
2022-01-18T19:46:55.000Z
addons/handhelds/rf7800/CfgVehicles.hpp
MrDj200/task-force-arma-3-radio
21bb54d5d0e0b31b0522dc67e6923edb9ad85247
[ "RSA-MD" ]
742
2015-01-07T05:25:39.000Z
2022-03-15T17:06:34.000Z
addons/handhelds/rf7800/CfgVehicles.hpp
MrDj200/task-force-arma-3-radio
21bb54d5d0e0b31b0522dc67e6923edb9ad85247
[ "RSA-MD" ]
280
2015-01-01T08:58:00.000Z
2022-03-23T12:37:38.000Z
class Item_TFAR_rf7800str: Item_Base_F { scope = PUBLIC; scopeCurator = PUBLIC; displayName = "RF-7800S-TR"; author = "Nkey"; vehicleClass = "Items"; class TransportItems { MACRO_ADDITEM(TFAR_rf7800str,1); }; #include "\z\tfar\addons\static_radios\edenAttributes.hpp" }; HIDDEN_C...
31.846154
101
0.705314
MrDj200
6c9c9307cbb8f2accc00f4d6c2b95e578f656b53
499
cpp
C++
acmicpc/2216.cpp
juseongkr/BOJ
8f10a2bf9a7d695455493fbe7423347a8b648416
[ "Apache-2.0" ]
7
2020-02-03T10:00:19.000Z
2021-11-16T11:03:57.000Z
acmicpc/2216.cpp
juseongkr/Algorithm-training
8f10a2bf9a7d695455493fbe7423347a8b648416
[ "Apache-2.0" ]
1
2021-01-03T06:58:24.000Z
2021-01-03T06:58:24.000Z
acmicpc/2216.cpp
juseongkr/Algorithm-training
8f10a2bf9a7d695455493fbe7423347a8b648416
[ "Apache-2.0" ]
1
2020-01-22T14:34:03.000Z
2020-01-22T14:34:03.000Z
#include <iostream> using namespace std; #define MAX 3001 int dp[MAX][MAX]; int main() { string s, r; int a, b, c; cin >> a >> b >> c >> s >> r; for (int i=1; i<MAX; ++i) dp[i][0] = dp[0][i] = i*b; for (int i=1; i<=s.length(); ++i) { for (int j=1; j<=r.length(); ++j) { if (s[i-1] == r[j-1]) dp[i][j]...
17.206897
82
0.452906
juseongkr
6c9e0c8de1a52f1b2c3ede08a3d2cecc3760e90f
2,052
hpp
C++
include/example.hpp
m1nuz/modern-cpp-opengl-examples
6e79d772b12201f5be791d5c00622b0e4ccfe2ea
[ "MIT" ]
null
null
null
include/example.hpp
m1nuz/modern-cpp-opengl-examples
6e79d772b12201f5be791d5c00622b0e4ccfe2ea
[ "MIT" ]
null
null
null
include/example.hpp
m1nuz/modern-cpp-opengl-examples
6e79d772b12201f5be791d5c00622b0e4ccfe2ea
[ "MIT" ]
null
null
null
#pragma once #include <application.hpp> #include <graphics.hpp> struct RunExampleAppInfo { std::string_view title; std::function<void( )> on_init = []( ) {}; std::function<void( )> on_update = []( ) {}; std::function<void( int, int )> on_present; std::function<void( )> on_cleanup = []( ) {}; }; c...
31.090909
119
0.60575
m1nuz
6ca08faebb0efa76551de501597b813846bbab56
10,679
cpp
C++
3rdparty/openmm/serialization/src/TabulatedFunctionProxies.cpp
merkys/MMB
0531385b8367405e1188e31c3eef7aa4cc50170b
[ "MIT" ]
5
2020-07-31T17:33:03.000Z
2022-01-01T19:24:37.000Z
3rdparty/openmm/serialization/src/TabulatedFunctionProxies.cpp
merkys/MMB
0531385b8367405e1188e31c3eef7aa4cc50170b
[ "MIT" ]
11
2020-06-16T05:05:42.000Z
2022-03-30T09:59:14.000Z
3rdparty/openmm/serialization/src/TabulatedFunctionProxies.cpp
merkys/MMB
0531385b8367405e1188e31c3eef7aa4cc50170b
[ "MIT" ]
9
2020-01-24T12:02:37.000Z
2020-10-16T06:23:56.000Z
/* -------------------------------------------------------------------------- * * OpenMM * * -------------------------------------------------------------------------- * * This is part of the OpenMM molecular simulation toolkit originating from * ...
51.095694
140
0.679183
merkys
6cab74507e15993510bc4f9bf6f18d5cd7894d44
1,227
cpp
C++
spicetrade/playaction.cpp
mvaganov/spicetrade
123b009365deb5b8dcdfc4a2f2dd7b28fa2f024e
[ "Unlicense" ]
null
null
null
spicetrade/playaction.cpp
mvaganov/spicetrade
123b009365deb5b8dcdfc4a2f2dd7b28fa2f024e
[ "Unlicense" ]
null
null
null
spicetrade/playaction.cpp
mvaganov/spicetrade
123b009365deb5b8dcdfc4a2f2dd7b28fa2f024e
[ "Unlicense" ]
null
null
null
#include "playaction.h" #include "game.h" #include "playerstate.h" void PlayAction::PrintAction (Game& g, const PlayAction* a, int bg) { int ofcolor = CLI::getFcolor (), obcolor = CLI::getBcolor (); CLI::setColor (CLI::COLOR::LIGHT_GRAY, bg); const int width = 5; std::string str = a?a->input:""; int leadSpace = ...
30.675
86
0.613692
mvaganov
6cab7fa05d581a570217933c054ae37ae60cda3c
2,236
cpp
C++
ege/ege3d/tests/Primitives.cpp
sppmacd/ege
a82ff6fccc8ac1bce5a50ed5a8f101b63f58b020
[ "MIT" ]
1
2020-12-30T17:21:11.000Z
2020-12-30T17:21:11.000Z
ege/ege3d/tests/Primitives.cpp
sppmacd/ege
a82ff6fccc8ac1bce5a50ed5a8f101b63f58b020
[ "MIT" ]
20
2020-09-02T08:37:13.000Z
2021-09-02T06:47:08.000Z
ege/ege3d/tests/Primitives.cpp
sppmacd/ege
a82ff6fccc8ac1bce5a50ed5a8f101b63f58b020
[ "MIT" ]
null
null
null
#include "ege3d/window/GLError.h" #include <ege3d/window/RenderingState.h> #include <ege3d/window/SystemEvent.h> #include <ege3d/window/Renderable.h> #include <ege3d/window/Renderer.h> #include <ege/debug/Logger.h> #include <GL/gl.h> class MyRenderable : public EGE3d::Renderable { public: virtual void render(EGE3...
27.604938
91
0.568426
sppmacd
6cac158add29e0233fccedc7182d74b1daa8631f
696
cpp
C++
src/acpi/apic/apic.cpp
AlexandreArduino/mykernel
488a947c87457b11471a06f3fd0544d6145806d7
[ "BSD-3-Clause" ]
9
2022-01-30T12:54:58.000Z
2022-01-30T16:51:45.000Z
src/acpi/apic/apic.cpp
AlexandreArduino/mykernel
488a947c87457b11471a06f3fd0544d6145806d7
[ "BSD-3-Clause" ]
null
null
null
src/acpi/apic/apic.cpp
AlexandreArduino/mykernel
488a947c87457b11471a06f3fd0544d6145806d7
[ "BSD-3-Clause" ]
null
null
null
#include "apic.h" APIC apic; void APIC::init(uint64_t *apic_address) { if(apic_address == NULL) Exceptions::panic("No APIC table found!"); else this->apic = (struct MADTDescriptor*)apic_address; log.log("APIC::init", "MADT table located at 0x"); log.logln(String((uint64_t)this->apic, HEXADECIMAL)); ...
31.636364
76
0.672414
AlexandreArduino
6cadf170e2336281579a3af94cc8bfd4947efb1f
2,380
hpp
C++
modules/core/base/include/nt2/predicates/functions/arecatcompatible.hpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
null
null
null
modules/core/base/include/nt2/predicates/functions/arecatcompatible.hpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
null
null
null
modules/core/base/include/nt2/predicates/functions/arecatcompatible.hpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
null
null
null
//============================================================================== // Copyright 2003 - 2012 LASMEA UMR 6602 CNRS/Univ. Clermont II // Copyright 2009 - 2014 LRI UMR 8623 CNRS/Univ Paris Sud XI // Copyright 2012 - 2014 MetaScale SAS // // Distributed under the Boost...
37.1875
191
0.657563
psiha
6cb6ea097e8db7ecef00a4aa0fe85d64aeb3890c
2,569
cpp
C++
qfontdialog_c.cpp
mariuszmaximus/qt5pas-aarch64-linux-gnu
c60bbcfa5b0d7c4fe18bb21e5f2f424a5b658c1b
[ "Apache-2.0" ]
null
null
null
qfontdialog_c.cpp
mariuszmaximus/qt5pas-aarch64-linux-gnu
c60bbcfa5b0d7c4fe18bb21e5f2f424a5b658c1b
[ "Apache-2.0" ]
null
null
null
qfontdialog_c.cpp
mariuszmaximus/qt5pas-aarch64-linux-gnu
c60bbcfa5b0d7c4fe18bb21e5f2f424a5b658c1b
[ "Apache-2.0" ]
null
null
null
//****************************************************************************** // Copyright (c) 2005-2013 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the i...
29.872093
137
0.718178
mariuszmaximus
6cb73fda4716b5a9fa5f0a3c719dce99a1759de1
21,058
cpp
C++
apiwznm/PnlWznmNavJob.cpp
mpsitech/wznm-WhizniumSBE
4911d561b28392d485c46e98fb915168d82b3824
[ "MIT" ]
3
2020-09-20T16:24:48.000Z
2021-12-01T19:44:51.000Z
apiwznm/PnlWznmNavJob.cpp
mpsitech/wznm-WhizniumSBE
4911d561b28392d485c46e98fb915168d82b3824
[ "MIT" ]
null
null
null
apiwznm/PnlWznmNavJob.cpp
mpsitech/wznm-WhizniumSBE
4911d561b28392d485c46e98fb915168d82b3824
[ "MIT" ]
null
null
null
/** * \file PnlWznmNavJob.cpp * API code for job PnlWznmNavJob (implementation) * \copyright (C) 2016-2020 MPSI Technologies GmbH * \author Alexander Wirthmueller (auto-generation) * \date created: 5 Dec 2020 */ // IP header --- ABOVE #include "PnlWznmNavJob.h" using namespace std; using namespace Sbecore; usin...
36.495667
269
0.693181
mpsitech
6cb79f7e758a5d04fe5e52a64dce35a1d3889185
5,718
cpp
C++
PCoreLib/PSpriteManager.cpp
bear1704/WindowsProgramming_Portfolio
83f1d763c73d08b82291aa894ef246558fdf0198
[ "Apache-2.0" ]
null
null
null
PCoreLib/PSpriteManager.cpp
bear1704/WindowsProgramming_Portfolio
83f1d763c73d08b82291aa894ef246558fdf0198
[ "Apache-2.0" ]
null
null
null
PCoreLib/PSpriteManager.cpp
bear1704/WindowsProgramming_Portfolio
83f1d763c73d08b82291aa894ef246558fdf0198
[ "Apache-2.0" ]
null
null
null
#include "PSpriteManager.h" PSpriteManager::~PSpriteManager() { } PSpriteManager::PSpriteManager() : kDamageFontLifetime(1.2f), kDamageFontGap(35.0f) { dmg_font_index_ = 0; } bool PSpriteManager::Init() { need_load_character_sprite_data_ = true; need_load_UI_sprite_data_ = true; need_load_map_sprite_data_ = tru...
24.331915
93
0.670689
bear1704
6cbc9c2dd04de352a7b0435adf9d09dc022d85f5
16,072
cpp
C++
C++/BitwiseAutomation/src/BitwiseDevice.cpp
jimwaschura/Automation
f655feeea74ff22ebe44d8b68374ba6983748f60
[ "BSL-1.0" ]
null
null
null
C++/BitwiseAutomation/src/BitwiseDevice.cpp
jimwaschura/Automation
f655feeea74ff22ebe44d8b68374ba6983748f60
[ "BSL-1.0" ]
null
null
null
C++/BitwiseAutomation/src/BitwiseDevice.cpp
jimwaschura/Automation
f655feeea74ff22ebe44d8b68374ba6983748f60
[ "BSL-1.0" ]
null
null
null
/* BitwiseDevice.cpp */ //================================================================================ // BOOST SOFTWARE LICENSE // // Copyright 2020 BitWise Laboratories Inc. // Author.......Jim Waschura // Contact......info@bitwiselabs.com // //Permission is hereby granted, free of charge, to any person or organi...
26.048622
100
0.609072
jimwaschura
6cc06d6376bfecabe157288efb31d8bac3dbc359
4,483
cpp
C++
Game_exe/release_mode/windows/obj/src/LuaSprite.cpp
hisatsuga/Salty-Psyche-Engine-Port-Main
0c6afc6ef57f6f6a8b83ff23bb6a26bb05117ab7
[ "Apache-2.0" ]
null
null
null
Game_exe/release_mode/windows/obj/src/LuaSprite.cpp
hisatsuga/Salty-Psyche-Engine-Port-Main
0c6afc6ef57f6f6a8b83ff23bb6a26bb05117ab7
[ "Apache-2.0" ]
null
null
null
Game_exe/release_mode/windows/obj/src/LuaSprite.cpp
hisatsuga/Salty-Psyche-Engine-Port-Main
0c6afc6ef57f6f6a8b83ff23bb6a26bb05117ab7
[ "Apache-2.0" ]
null
null
null
#include <hxcpp.h> #ifndef INCLUDED_LuaSprite #include <LuaSprite.h> #endif #ifndef INCLUDED_flixel_FlxBasic #include <flixel/FlxBasic.h> #endif #ifndef INCLUDED_flixel_FlxObject #include <flixel/FlxObject.h> #endif #ifndef INCLUDED_flixel_FlxSprite #include <flixel/FlxSprite.h> #endif #ifndef INCLUDED_flixel_util_IFl...
32.251799
130
0.73366
hisatsuga
6cc1a112d67ec12acaf30219bc76756efd1f1df8
2,037
cpp
C++
Harbour.Space Scholarship Contest 2021-2022 (open for everyone, rated, Div. 1 + Div. 2)/Penalty.cpp
Yashdew/DSA
d211d3b53acd28879233e55b77745b60ff44410f
[ "MIT" ]
4
2021-04-13T11:04:45.000Z
2021-12-06T16:32:28.000Z
Harbour.Space Scholarship Contest 2021-2022 (open for everyone, rated, Div. 1 + Div. 2)/Penalty.cpp
Yashdew/DSA
d211d3b53acd28879233e55b77745b60ff44410f
[ "MIT" ]
null
null
null
Harbour.Space Scholarship Contest 2021-2022 (open for everyone, rated, Div. 1 + Div. 2)/Penalty.cpp
Yashdew/DSA
d211d3b53acd28879233e55b77745b60ff44410f
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; void solve() { string str; cin>>str; int countKick = 0; int TeamACount = 0; int TeamAMiss = 0; int TeamBCount = 0; int TeamBMiss = 0; for(int i=0;i<str.length();i++) { if(str[i]!='?') countKick++; ...
18.1875
55
0.355916
Yashdew
6cc7ebfc38ae550ad4e9b661c81ed1d1928a2211
1,676
cc
C++
mindspore/core/ops/sgd.cc
Vincent34/mindspore
a39a60878a46e7e9cb02db788c0bca478f2fa6e5
[ "Apache-2.0" ]
2
2021-07-08T13:10:42.000Z
2021-11-08T02:48:57.000Z
mindspore/core/ops/sgd.cc
peixinhou/mindspore
fcb2ec2779b753e95c762cf292b23bd81d1f561b
[ "Apache-2.0" ]
null
null
null
mindspore/core/ops/sgd.cc
peixinhou/mindspore
fcb2ec2779b753e95c762cf292b23bd81d1f561b
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2020 Huawei Technologies Co., Ltd * * 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...
31.622642
106
0.75
Vincent34
6ccf736ce8c79a386b7fb782aeab63d50894f61e
17,669
cpp
C++
Samples/Audio/InGameChat/GameChatManager.cpp
acidburn0zzz/Xbox-GDK-Samples
0a998ca467f923aa04bd124a5e5ca40fe16c386c
[ "MIT" ]
1
2021-12-30T09:49:18.000Z
2021-12-30T09:49:18.000Z
Samples/Audio/InGameChat/GameChatManager.cpp
acidburn0zzz/Xbox-GDK-Samples
0a998ca467f923aa04bd124a5e5ca40fe16c386c
[ "MIT" ]
null
null
null
Samples/Audio/InGameChat/GameChatManager.cpp
acidburn0zzz/Xbox-GDK-Samples
0a998ca467f923aa04bd124a5e5ca40fe16c386c
[ "MIT" ]
null
null
null
//-------------------------------------------------------------------------------------- // GameChatManager.cpp // // Advanced Technology Group (ATG) // Copyright (C) Microsoft Corporation. All rights reserved. //-------------------------------------------------------------------------------------- #include "pc...
30.04932
147
0.585715
acidburn0zzz
6cd8aa98628db3499b9e97bfc17f12997b10f1cd
5,353
cpp
C++
tests/test_rocketmodel.cpp
julienlopez/QRocketLaunchSimulator
132e979489b3b84a82c162df0209085d0a30fd8e
[ "MIT" ]
null
null
null
tests/test_rocketmodel.cpp
julienlopez/QRocketLaunchSimulator
132e979489b3b84a82c162df0209085d0a30fd8e
[ "MIT" ]
5
2015-02-19T09:25:15.000Z
2015-02-19T14:43:20.000Z
tests/test_rocketmodel.cpp
julienlopez/QRocketLaunchSimulator
132e979489b3b84a82c162df0209085d0a30fd8e
[ "MIT" ]
null
null
null
#include "rocketmodel.hpp" #include "external/json.h" #include <stdexcept> #include <gtest/gtest.h> using nlohmann::json; using boost::units::si::meters; using boost::units::si::kilograms; using boost::units::si::kilograms; using boost::units::si::newtons; using boost::units::si::seconds; TEST(TestRocketModel, Te...
31.674556
93
0.545302
julienlopez
6cdbfdcc116bfd837cf2f2c7c3e4ea3c6133e282
2,863
cxx
C++
Testing/Code/Review/itkQuadEdgeMeshDeletePointAndReorderIDsTest.cxx
kiranhs/ITKv4FEM-Kiran
0e4ab3b61b5fc4c736f04a73dd19e41390f20152
[ "BSD-3-Clause" ]
1
2018-04-15T13:32:43.000Z
2018-04-15T13:32:43.000Z
Testing/Code/Review/itkQuadEdgeMeshDeletePointAndReorderIDsTest.cxx
kiranhs/ITKv4FEM-Kiran
0e4ab3b61b5fc4c736f04a73dd19e41390f20152
[ "BSD-3-Clause" ]
null
null
null
Testing/Code/Review/itkQuadEdgeMeshDeletePointAndReorderIDsTest.cxx
kiranhs/ITKv4FEM-Kiran
0e4ab3b61b5fc4c736f04a73dd19e41390f20152
[ "BSD-3-Clause" ]
null
null
null
/*========================================================================= Program: Insight Segmentation & Registration Toolkit Module: itkQuadEdgeMeshDeletePointAndReorderIDsTest.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) Insight Software Consortium. All rights reserve...
32.534091
76
0.592735
kiranhs
6ce00f14afefbfb0a2ae3437400170ca6b5116b9
1,983
cpp
C++
bionic/tests/getauxval_test.cpp
lihuibng/marshmallow
950cf8de3b4d63af9fc9699374e4ec45ad09b3a7
[ "Apache-2.0" ]
null
null
null
bionic/tests/getauxval_test.cpp
lihuibng/marshmallow
950cf8de3b4d63af9fc9699374e4ec45ad09b3a7
[ "Apache-2.0" ]
null
null
null
bionic/tests/getauxval_test.cpp
lihuibng/marshmallow
950cf8de3b4d63af9fc9699374e4ec45ad09b3a7
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2013 The Android Open Source Project * * 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 app...
30.984375
75
0.734241
lihuibng
6ce29b8024f9b9ce202b983bc21c6a2e703c7274
1,674
cpp
C++
src/Parsers/Kusto/ParserKQLStatement.cpp
DevTeamBK/ClickHouse
f65b5d21594a07afb017a7cdaa718c5d1caa257d
[ "Apache-2.0" ]
null
null
null
src/Parsers/Kusto/ParserKQLStatement.cpp
DevTeamBK/ClickHouse
f65b5d21594a07afb017a7cdaa718c5d1caa257d
[ "Apache-2.0" ]
1
2021-12-22T12:08:09.000Z
2021-12-22T12:08:09.000Z
src/Parsers/Kusto/ParserKQLStatement.cpp
DevTeamBK/ClickHouse
f65b5d21594a07afb017a7cdaa718c5d1caa257d
[ "Apache-2.0" ]
null
null
null
#include <Parsers/IParserBase.h> #include <Parsers/ParserSetQuery.h> #include <Parsers/ASTExpressionList.h> #include <Parsers/ASTSelectWithUnionQuery.h> #include <Parsers/Kusto/ParserKQLQuery.h> #include <Parsers/Kusto/ParserKQLStatement.h> #include <Parsers/Kusto/KustoFunctions/KQLFunctionFactory.h> namespace DB { bo...
27
90
0.725806
DevTeamBK
6ce2f0bd1655dd8a190e542fbb5626c3d2c83037
4,051
cpp
C++
src/wanderers/WildwoodRangers.cpp
rweyrauch/AoSSimulator
d2bfbbe0fab904cc543f1a01e62e0b82cf67c27b
[ "MIT" ]
5
2019-02-01T01:41:19.000Z
2021-06-17T02:16:13.000Z
src/wanderers/WildwoodRangers.cpp
rweyrauch/AoSSimulator
d2bfbbe0fab904cc543f1a01e62e0b82cf67c27b
[ "MIT" ]
2
2020-01-14T16:57:42.000Z
2021-04-01T00:53:18.000Z
src/wanderers/WildwoodRangers.cpp
rweyrauch/AoSSimulator
d2bfbbe0fab904cc543f1a01e62e0b82cf67c27b
[ "MIT" ]
1
2019-03-02T20:03:51.000Z
2019-03-02T20:03:51.000Z
/* * Warhammer Age of Sigmar battle simulator. * * Copyright (C) 2019 by Rick Weyrauch - rpweyrauch@gmail.com * * This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT) */ #include <wanderers/WildwoodRangers.h> #include <UnitFactory.h> namespace Wanderers { static const int g...
37.509259
147
0.602074
rweyrauch
6ce582473817154716db84277cca72db93910d4f
6,679
cpp
C++
logview/emap.cpp
Hayesie88/emstudio
0ae4353e5dcaa76b6306ff0aabd5a89999c4dc1b
[ "MIT" ]
8
2015-11-16T19:15:55.000Z
2021-02-17T23:58:33.000Z
logview/emap.cpp
Hayesie88/emstudio
0ae4353e5dcaa76b6306ff0aabd5a89999c4dc1b
[ "MIT" ]
5
2015-11-12T00:19:59.000Z
2020-03-23T10:18:19.000Z
logview/emap.cpp
Hayesie88/emstudio
0ae4353e5dcaa76b6306ff0aabd5a89999c4dc1b
[ "MIT" ]
11
2015-03-15T23:02:48.000Z
2021-09-05T14:17:13.000Z
/************************************************************************************ * EMStudio - Open Source ECU tuning software * * Copyright (C) 2020 Michael Carpenter (malcom2073@gmail.com) * * ...
22.488215
110
0.558167
Hayesie88
6ce6f867d811db392a875497c7fc888e43bb14c8
1,637
cpp
C++
font.cpp
dbralir/ludum-dare-26
4fabf578ae73839cdf2d10c733138d4d6f8c6606
[ "Unlicense", "MIT" ]
null
null
null
font.cpp
dbralir/ludum-dare-26
4fabf578ae73839cdf2d10c733138d4d6f8c6606
[ "Unlicense", "MIT" ]
null
null
null
font.cpp
dbralir/ludum-dare-26
4fabf578ae73839cdf2d10c733138d4d6f8c6606
[ "Unlicense", "MIT" ]
null
null
null
#include "font.hpp" #include "game.hpp" #include "meta.hpp" #include "inugami/texture.hpp" using namespace Inugami; Font::Font(const Texture& img, int tw, int th, float cx, float cy) : Spritesheet(img, tw, th, cx, cy) , tileW(tw/8) , tileH(th/8) , centerX(1.f-cx) , centerY(1.f-cy) {} Font::Font...
20.721519
84
0.516188
dbralir
6ce937255dfb16470a99f4e23daa5ed0d3f136b6
1,864
cpp
C++
examples/LIDAR_GTAV/lib/utils.cpp
edward0im/A-virtual-LiDAR-for-DeepGTAV
0d43000d0b23b33f378af839825455234d824f5c
[ "MIT" ]
1
2020-08-27T03:21:25.000Z
2020-08-27T03:21:25.000Z
examples/LIDAR_GTAV/lib/utils.cpp
edward0im/A-virtual-LiDAR-for-DeepGTAV
0d43000d0b23b33f378af839825455234d824f5c
[ "MIT" ]
null
null
null
examples/LIDAR_GTAV/lib/utils.cpp
edward0im/A-virtual-LiDAR-for-DeepGTAV
0d43000d0b23b33f378af839825455234d824f5c
[ "MIT" ]
null
null
null
/* THIS FILE IS A PART OF GTA V SCRIPT HOOK SDK http://dev-c.com (C) Alexander Blade 2015 */ #include "utils.h" #include "script.h" #include <windows.h> extern "C" IMAGE_DOS_HEADER __ImageBase; // MSVC specific, with other compilers use HMODULE from DllMain std::string cachedModulePath; std::string GetCurren...
23.012346
104
0.696888
edward0im
6cea6e5eee8d183f0ff1edaf91022bace48f3730
406
hpp
C++
include/CountingMutex.hpp
kamilturek/factory
6d74d3de53d6174e6e82e537be6dabd3ab5b3d9c
[ "MIT" ]
null
null
null
include/CountingMutex.hpp
kamilturek/factory
6d74d3de53d6174e6e82e537be6dabd3ab5b3d9c
[ "MIT" ]
2
2020-04-19T08:14:08.000Z
2020-04-19T11:05:10.000Z
include/CountingMutex.hpp
kamilturek/factory
6d74d3de53d6174e6e82e537be6dabd3ab5b3d9c
[ "MIT" ]
null
null
null
#pragma once #include <condition_variable> #include <mutex> // Inspired by C++20's std::counting_semaphore // Not available in any compiler on 15.05.2020 // Meets C++ BasicLockable requirements class CountingMutex { public: explicit CountingMutex(int max); void lock(); void unlock(); private: int c...
17.652174
46
0.699507
kamilturek
6cea7a6f7f044c2dffb0ce01d450072af9b3382b
426
hpp
C++
vendor/cucumber-cpp/include/cucumber-cpp/deprecated-defs.hpp
AndreasAugustin/Gherkin-Demos-cpp
79a4be81ee1fffce56ac503760a48a2b77d6d03f
[ "MIT" ]
1
2016-07-21T10:10:33.000Z
2016-07-21T10:10:33.000Z
vendor/cucumber-cpp/include/cucumber-cpp/deprecated-defs.hpp
AndreasAugustin/Gherkin-Demos-cpp
79a4be81ee1fffce56ac503760a48a2b77d6d03f
[ "MIT" ]
null
null
null
vendor/cucumber-cpp/include/cucumber-cpp/deprecated-defs.hpp
AndreasAugustin/Gherkin-Demos-cpp
79a4be81ee1fffce56ac503760a48a2b77d6d03f
[ "MIT" ]
null
null
null
#ifndef CUKE_DEPRECATED_DEFS_HPP_ #define CUKE_DEPRECATED_DEFS_HPP_ // ************************************************************************** // // ************** USING_CONTEXT ************** // // ************************************************************************** // #defin...
32.769231
80
0.377934
AndreasAugustin
6cec06062eb24cc327758d2dbb829c50c046fd6a
71,997
cpp
C++
lib/FixpointSSI.cpp
ucsb-seclab/sasi
a406bd69728f5502bc618fc01782a48db6c3d3ea
[ "MIT" ]
30
2019-07-04T02:26:13.000Z
2021-09-02T18:22:24.000Z
lib/FixpointSSI.cpp
ucsb-seclab/sasi
a406bd69728f5502bc618fc01782a48db6c3d3ea
[ "MIT" ]
null
null
null
lib/FixpointSSI.cpp
ucsb-seclab/sasi
a406bd69728f5502bc618fc01782a48db6c3d3ea
[ "MIT" ]
10
2019-08-05T21:15:47.000Z
2020-03-31T02:57:11.000Z
// Authors: Jorge. A Navas, Peter Schachte, Harald Sondergaard, and // Peter J. Stuckey. // The University of Melbourne 2012. ////////////////////////////////////////////////////////////////////////////// /// \file FixpointSSI.cpp /// Iterative Forward Abstract Interpreter /////////////////////////////...
35.309956
99
0.618095
ucsb-seclab
6ced20f0600803efff41094c392434fd0bb6d9b4
749
hpp
C++
fuji/inc/m4c0/fuji/main_loop_thread.hpp
m4c0/m4c0-stl
5e47439528faee466270706534143c87b4af8cbb
[ "MIT" ]
null
null
null
fuji/inc/m4c0/fuji/main_loop_thread.hpp
m4c0/m4c0-stl
5e47439528faee466270706534143c87b4af8cbb
[ "MIT" ]
null
null
null
fuji/inc/m4c0/fuji/main_loop_thread.hpp
m4c0/m4c0-stl
5e47439528faee466270706534143c87b4af8cbb
[ "MIT" ]
null
null
null
#pragma once #include "m4c0/fuji/main_loop.hpp" #include "m4c0/log.hpp" #include "m4c0/vulkan/surface.hpp" #include <thread> namespace m4c0::fuji { /// \brief Convenience for running a main_loop in a different thread template<class MainLoopTp> class main_loop_thread { MainLoopTp m_loop; std::thread m_t...
22.69697
95
0.631509
m4c0
6ceeacdb54036d96fb8d83ffd01f48958a18a5f3
5,652
hpp
C++
private/inc/avb_streamhandler/IasLocalVideoBuffer.hpp
tnishiok/AVBStreamHandler
7621daf8c9238361e030fe35188b921ee8ea2466
[ "BSL-1.0", "BSD-3-Clause" ]
13
2018-09-26T13:32:35.000Z
2021-05-20T10:01:12.000Z
private/inc/avb_streamhandler/IasLocalVideoBuffer.hpp
keerockl/AVBStreamHandler
c0c9aa92656ae0acd0f57492d4f325eee2f7d13b
[ "BSD-3-Clause" ]
23
2018-10-03T22:45:21.000Z
2020-03-05T23:40:12.000Z
private/inc/avb_streamhandler/IasLocalVideoBuffer.hpp
keerockl/AVBStreamHandler
c0c9aa92656ae0acd0f57492d4f325eee2f7d13b
[ "BSD-3-Clause" ]
22
2018-09-14T03:55:34.000Z
2021-12-07T01:13:27.000Z
/* * Copyright (C) 2018 Intel Corporation. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ /** * @file IasLocalVideoBuffer.hpp * @brief This class contains all methods to access the ring buffers * @details Each local Video stream handles its data via a * separate ring buffer. * ...
21.992218
114
0.633404
tnishiok
6cf02ece223febeaa7f366cf4feb5c65d3df9889
2,963
cpp
C++
flexcore/extended/base_node.cpp
vacing/flexcore
08c08e98556f92d1993e2738cbcb975b3764fa2d
[ "Apache-2.0" ]
47
2016-09-23T10:27:17.000Z
2021-12-14T07:31:40.000Z
flexcore/extended/base_node.cpp
vacing/flexcore
08c08e98556f92d1993e2738cbcb975b3764fa2d
[ "Apache-2.0" ]
10
2016-12-04T16:40:29.000Z
2020-04-28T08:46:50.000Z
flexcore/extended/base_node.cpp
vacing/flexcore
08c08e98556f92d1993e2738cbcb975b3764fa2d
[ "Apache-2.0" ]
20
2016-09-23T17:14:41.000Z
2021-10-09T18:24:47.000Z
#include <boost/algorithm/string/join.hpp> #include <boost/format.hpp> #include <flexcore/extended/base_node.hpp> #include <flexcore/extended/visualization/visualization.hpp> #include <stack> namespace fc { static forest_t::iterator find_self(forest_t& forest, const tree_node& node) { auto node_id = node.graph_info...
25.324786
91
0.724603
vacing
6cf0ccc637228ad480b380bce5cd15bc2eef2864
1,944
cpp
C++
CodeForces-Contest/1404/E.cpp
Tech-Intellegent/CodeForces-Solution
2f291a38b80b8ff2a2595b2e526716468ff26bf8
[ "MIT" ]
1
2022-01-23T07:18:07.000Z
2022-01-23T07:18:07.000Z
CodeForces-Contest/1404/E.cpp
Tech-Intellegent/CodeForces-Solution
2f291a38b80b8ff2a2595b2e526716468ff26bf8
[ "MIT" ]
null
null
null
CodeForces-Contest/1404/E.cpp
Tech-Intellegent/CodeForces-Solution
2f291a38b80b8ff2a2595b2e526716468ff26bf8
[ "MIT" ]
1
2022-02-05T11:53:04.000Z
2022-02-05T11:53:04.000Z
#include<bits/stdc++.h> using namespace std; mt19937 rnd(chrono::steady_clock::now().time_since_epoch().count()); struct Kuhn { int n; vector<vector<int>> g; vector<int> l, r; vector<bool> vis; Kuhn(int _n, int _m) { n = _n; g.resize(n + 1); vis.resize(n + 1, false); l.resize(n + 1, -1); r.resize(_m + 1, -1);...
22.604651
70
0.437757
Tech-Intellegent
6cf20e6a0c6bfa2a1cc03258925e629a65d2741f
343
cpp
C++
lib/libc/tests/string/strstr.cpp
otaviopace/ananas
849925915b0888543712a8ca625318cd7bca8dd9
[ "Zlib" ]
52
2015-11-27T13:56:00.000Z
2021-12-01T16:33:58.000Z
lib/libc/tests/string/strstr.cpp
otaviopace/ananas
849925915b0888543712a8ca625318cd7bca8dd9
[ "Zlib" ]
4
2017-06-26T17:59:51.000Z
2021-09-26T17:30:32.000Z
lib/libc/tests/string/strstr.cpp
otaviopace/ananas
849925915b0888543712a8ca625318cd7bca8dd9
[ "Zlib" ]
8
2016-08-26T09:42:27.000Z
2021-12-04T00:21:05.000Z
#include <gtest/gtest.h> #include <string.h> TEST(string, strstr) { char s[] = "abcabcabcdabcde"; EXPECT_EQ(NULL, strstr(s, "x")); EXPECT_EQ(NULL, strstr(s, "xyz")); EXPECT_EQ(&s[0], strstr(s, "a")); EXPECT_EQ(&s[0], strstr(s, "abc")); EXPECT_EQ(&s[6], strstr(s, "abcd")); EXPECT_EQ(&s[10], ...
24.5
42
0.577259
otaviopace
6cfc5b92610a663f5c95a611c96c5a7fdf5253b6
2,385
cpp
C++
modules/skottie/src/effects/DirectionalBlur.cpp
fourgrad/skia
b9b550e9bb1b73001088ba89483e2f9bbe46c3db
[ "BSD-3-Clause" ]
6,304
2015-01-05T23:45:12.000Z
2022-03-31T09:48:13.000Z
modules/skottie/src/effects/DirectionalBlur.cpp
Wal1e/skia
eda97288bdc8e87afea817b25d561724c2b6a2f8
[ "BSD-3-Clause" ]
67
2016-04-18T13:30:02.000Z
2022-03-31T23:06:55.000Z
modules/skottie/src/effects/DirectionalBlur.cpp
Wal1e/skia
eda97288bdc8e87afea817b25d561724c2b6a2f8
[ "BSD-3-Clause" ]
1,231
2015-01-05T03:17:39.000Z
2022-03-31T22:54:58.000Z
/* * Copyright 2021 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "modules/skottie/src/effects/Effects.h" #include "modules/skottie/src/Adapter.h" #include "modules/skottie/src/SkottieValue.h" #include "modules/sksg/include/SkSGPai...
36.692308
100
0.605451
fourgrad
6cfd7c07617b5395d93ef91c3bdd05c50a445289
8,712
cpp
C++
src/phreeqcpp/smalldense.cpp
AbelHeinsbroek/VIPhreeqc
30d6e10ed9c7f375a5d8f9cdeccfc1c2353d3604
[ "Apache-2.0" ]
5
2017-08-07T19:35:30.000Z
2021-01-27T04:30:49.000Z
src/phreeqcpp/smalldense.cpp
AbelHeinsbroek/VIPhreeqc
30d6e10ed9c7f375a5d8f9cdeccfc1c2353d3604
[ "Apache-2.0" ]
2
2020-04-28T15:59:17.000Z
2021-06-24T21:10:32.000Z
src/phreeqcpp/smalldense.cpp
AbelHeinsbroek/VIPhreeqc
30d6e10ed9c7f375a5d8f9cdeccfc1c2353d3604
[ "Apache-2.0" ]
3
2018-11-26T12:08:07.000Z
2020-09-03T20:00:49.000Z
/************************************************************************** * * * File : smalldense.c * * Programmers : Scott D. Cohen and Alan C. Hindmarsh @ LLNL * * Version of ...
27.56962
76
0.451102
AbelHeinsbroek
6cff754810119c9cfaa074251913a35b52ca0014
2,187
cpp
C++
src/helpers/getLocation.cpp
HerrEurobeat/nodemcu-clock
1afda078d522ad676aaf5a0717ae9a30a1b24438
[ "MIT" ]
null
null
null
src/helpers/getLocation.cpp
HerrEurobeat/nodemcu-clock
1afda078d522ad676aaf5a0717ae9a30a1b24438
[ "MIT" ]
null
null
null
src/helpers/getLocation.cpp
HerrEurobeat/nodemcu-clock
1afda078d522ad676aaf5a0717ae9a30a1b24438
[ "MIT" ]
null
null
null
/* * File: getLocation.cpp * Project: nodemcu-clock * Created Date: 05.09.2021 14:16:00 * Author: 3urobeat * * Last Modified: 30.12.2021 22:24:01 * Modified By: 3urobeat * * Copyright (c) 2021 3urobeat <https://github.com/HerrEurobeat> * * Licensed under the MIT license: https://opensource.org/licenses/MI...
31.695652
142
0.633745
HerrEurobeat
6cff97a54bf00789f0a3adb0720012d0d3fee4b6
794
hpp
C++
include/gba/display/background_control.hpp
felixjones/gba-plusplus
79dce6c3095b52de72f96a17871b4d6c8b9aaf2f
[ "Zlib" ]
33
2020-11-02T22:03:27.000Z
2022-03-25T04:40:29.000Z
include/gba/display/background_control.hpp
felixjones/gbaplusplus
79dce6c3095b52de72f96a17871b4d6c8b9aaf2f
[ "Zlib" ]
21
2019-09-05T15:10:52.000Z
2020-06-21T15:08:54.000Z
include/gba/display/background_control.hpp
felixjones/gba-plusplus
79dce6c3095b52de72f96a17871b4d6c8b9aaf2f
[ "Zlib" ]
3
2020-11-02T21:44:46.000Z
2022-02-23T17:37:00.000Z
#ifndef GBAXX_DISPLAY_BACKGROUND_CONTROL_HPP #define GBAXX_DISPLAY_BACKGROUND_CONTROL_HPP #include <gba/types/color.hpp> #include <gba/types/int_type.hpp> #include <gba/types/screen_size.hpp> namespace gba { enum class affine_background_wrap : bool { transparent = false, wrap = true, clamp = false, r...
24.060606
96
0.722922
felixjones
9f02574ed31b8ce06e711ad832160f351f0901ea
1,294
cpp
C++
lang/C++/man-or-boy-test-1.cpp
ethansaxenian/RosettaDecode
8ea1a42a5f792280b50193ad47545d14ee371fb7
[ "MIT" ]
5
2021-01-29T20:08:05.000Z
2022-03-22T06:16:05.000Z
lang/C++/man-or-boy-test-1.cpp
ethansaxenian/RosettaDecode
8ea1a42a5f792280b50193ad47545d14ee371fb7
[ "MIT" ]
null
null
null
lang/C++/man-or-boy-test-1.cpp
ethansaxenian/RosettaDecode
8ea1a42a5f792280b50193ad47545d14ee371fb7
[ "MIT" ]
1
2018-11-09T22:08:40.000Z
2018-11-09T22:08:40.000Z
#include <iostream> #include <tr1/memory> using std::tr1::shared_ptr; using std::tr1::enable_shared_from_this; struct Arg { virtual int run() = 0; virtual ~Arg() { }; }; int A(int, shared_ptr<Arg>, shared_ptr<Arg>, shared_ptr<Arg>, shared_ptr<Arg>, shared_ptr<Arg>); class B : public Arg, public enable_shar...
23.962963
74
0.588872
ethansaxenian
9f0502de3c1f7649968da6bd920fce2ccec5cad6
7,608
cpp
C++
query_execution/PolicyEnforcer.cpp
craig-chasseur/incubator-quickstep
00ca1e4b3a9c9838dcb9509058b8a40b0f573617
[ "Apache-2.0" ]
null
null
null
query_execution/PolicyEnforcer.cpp
craig-chasseur/incubator-quickstep
00ca1e4b3a9c9838dcb9509058b8a40b0f573617
[ "Apache-2.0" ]
null
null
null
query_execution/PolicyEnforcer.cpp
craig-chasseur/incubator-quickstep
00ca1e4b3a9c9838dcb9509058b8a40b0f573617
[ "Apache-2.0" ]
1
2021-12-04T18:48:44.000Z
2021-12-04T18:48:44.000Z
/** * Copyright 2016, Quickstep Research Group, Computer Sciences Department, * University of Wisconsin—Madison. * * 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 * * ...
37.850746
91
0.694664
craig-chasseur
9f056c274055ac5533d8fff55f5979150c2b13b3
964
cpp
C++
2017-09-17/D-2.cpp
tangjz/Three-Investigators
46dc9b2f0fbb4fe89b075a81feaacc33feeb1b52
[ "MIT" ]
3
2018-04-02T06:00:51.000Z
2018-05-29T04:46:29.000Z
2017-09-17/D-2.cpp
tangjz/Three-Investigators
46dc9b2f0fbb4fe89b075a81feaacc33feeb1b52
[ "MIT" ]
2
2018-03-31T17:54:30.000Z
2018-05-02T11:31:06.000Z
2017-09-17/D-2.cpp
tangjz/Three-Investigators
46dc9b2f0fbb4fe89b075a81feaacc33feeb1b52
[ "MIT" ]
2
2018-10-07T00:08:06.000Z
2021-06-28T11:02:59.000Z
#include <cstdio> #include <cstdlib> #include <cstring> #include <cmath> #include <algorithm> using namespace std; int T, K; struct Fraction { long long x; long long y; Fraction(long long __x = 0, long long __y = 1) { x = __x; y = __y; } }; int main() { int t; long long d; Fraction l, r, mid, ans; scan...
17.851852
80
0.524896
tangjz
9f083dee33d20b80dd0731e3157afa9da2fe7a69
4,011
cxx
C++
repro/SiloStore.cxx
dulton/reSipServer
ac4241df81c1e3eef2e678271ffef4dda1fc6747
[ "Apache-2.0" ]
1
2019-04-15T14:10:58.000Z
2019-04-15T14:10:58.000Z
repro/SiloStore.cxx
dulton/reSipServer
ac4241df81c1e3eef2e678271ffef4dda1fc6747
[ "Apache-2.0" ]
null
null
null
repro/SiloStore.cxx
dulton/reSipServer
ac4241df81c1e3eef2e678271ffef4dda1fc6747
[ "Apache-2.0" ]
2
2019-10-31T09:11:09.000Z
2021-09-17T01:00:49.000Z
#include "rutil/Logger.hxx" #include "rutil/ParseBuffer.hxx" #include "rutil/Lock.hxx" #include "resip/stack/SipMessage.hxx" #include "repro/SiloStore.hxx" #include "rutil/WinLeakCheck.hxx" using namespace resip; using namespace repro; using namespace std; #define RESIPROCATE_SUBSYSTEM Subsystem::REPRO SiloStore...
33.425
86
0.697332
dulton
9f0bbb1f514b772b02dc52b0f80f48a23c247cc1
2,251
hpp
C++
stan/math/prim/prob/discrete_range_rng.hpp
LaudateCorpus1/math
990a66b3cccd27a5fd48626360bb91093a48278b
[ "BSD-3-Clause" ]
null
null
null
stan/math/prim/prob/discrete_range_rng.hpp
LaudateCorpus1/math
990a66b3cccd27a5fd48626360bb91093a48278b
[ "BSD-3-Clause" ]
null
null
null
stan/math/prim/prob/discrete_range_rng.hpp
LaudateCorpus1/math
990a66b3cccd27a5fd48626360bb91093a48278b
[ "BSD-3-Clause" ]
null
null
null
#ifndef STAN_MATH_PRIM_PROB_DISCRETE_RANGE_RNG_HPP #define STAN_MATH_PRIM_PROB_DISCRETE_RANGE_RNG_HPP #include <stan/math/prim/meta.hpp> #include <stan/math/prim/err.hpp> #include <stan/math/prim/fun/max_size.hpp> #include <stan/math/prim/fun/scalar_seq_view.hpp> #include <boost/random/uniform_int_distribution.hpp> #i...
36.306452
76
0.742781
LaudateCorpus1
9f0f72787fa59a95a1a6c61bb5720d1c74cddc27
17,993
cpp
C++
c++/tools/zenbutools.cpp
jessica-severin/ZENBU_2.11.1
694dd8fb178f3cbde2e058b8ee6a57e5a4c09cc7
[ "Unlicense" ]
null
null
null
c++/tools/zenbutools.cpp
jessica-severin/ZENBU_2.11.1
694dd8fb178f3cbde2e058b8ee6a57e5a4c09cc7
[ "Unlicense" ]
null
null
null
c++/tools/zenbutools.cpp
jessica-severin/ZENBU_2.11.1
694dd8fb178f3cbde2e058b8ee6a57e5a4c09cc7
[ "Unlicense" ]
null
null
null
/* $Id: zenbutools.cpp,v 1.20 2015/11/13 09:03:34 severin Exp $ */ /**** NAME zdxtools - DESCRIPTION of Object DESCRIPTION zdxtools is a ZENBU system command line tool to access and process data both remotely on ZENBU federation servers and locally with ZDX file databases. The API is designed to both ena...
34.142315
162
0.626355
jessica-severin
9f10e30ec2a1f9806dc52f5ce9250a407db25fb0
5,841
cpp
C++
Source/VectorShapeEditor/Private/SplineVisualizer/VectorMeshComponentVisualizer.cpp
mhousse1247/UE4-VectorShapeWidgetPlugin
12c4d5507e32551d8e54c405de7f6d64ba6745ba
[ "MIT" ]
7
2020-12-05T21:07:41.000Z
2021-09-08T21:43:24.000Z
Source/VectorShapeEditor/Private/SplineVisualizer/VectorMeshComponentVisualizer.cpp
mhousse1247/UE4-VectorShapeWidgetPlugin
12c4d5507e32551d8e54c405de7f6d64ba6745ba
[ "MIT" ]
null
null
null
Source/VectorShapeEditor/Private/SplineVisualizer/VectorMeshComponentVisualizer.cpp
mhousse1247/UE4-VectorShapeWidgetPlugin
12c4d5507e32551d8e54c405de7f6d64ba6745ba
[ "MIT" ]
2
2021-08-18T16:05:27.000Z
2021-09-11T00:15:02.000Z
//==========================================================================// // Copyright Elhoussine Mehnik (ue4resources@gmail.com). All Rights Reserved. //================== http://unrealengineresources.com/ =====================// #include "VectorMeshComponentVisualizer.h" #include "VectorMeshComponent.h" #includ...
36.50625
195
0.77093
mhousse1247
9f12738041481119b2f0e69bd9383e9c13e10fb3
307
hpp
C++
PP/view/destroy.hpp
Petkr/PP
646cc156603a6a9461e74d8f54786c0d5a9c32d2
[ "MIT" ]
3
2019-07-12T23:12:24.000Z
2019-09-05T07:57:45.000Z
PP/view/destroy.hpp
Petkr/PP
646cc156603a6a9461e74d8f54786c0d5a9c32d2
[ "MIT" ]
null
null
null
PP/view/destroy.hpp
Petkr/PP
646cc156603a6a9461e74d8f54786c0d5a9c32d2
[ "MIT" ]
null
null
null
#pragma once #include <PP/get_type.hpp> #include <PP/partial_.hpp> #include <PP/view/for_each.hpp> namespace PP::detail::functors { PP_CIA destroy_helper = [](auto&& x) { using T = PP_GT(~PP_DT(x)); x.~T(); }; } namespace PP::view { PP_CIA destroy = for_each * detail::functors::destroy_helper; }
16.157895
61
0.674267
Petkr
9f12e5aed7c73cc52bbd723374683f5422411fca
2,393
cpp
C++
src/Shader.cpp
cjuniet/simpleGL
719c1152d9085f1612c3e0b8ce2ee25fe3ad22dd
[ "MIT" ]
null
null
null
src/Shader.cpp
cjuniet/simpleGL
719c1152d9085f1612c3e0b8ce2ee25fe3ad22dd
[ "MIT" ]
null
null
null
src/Shader.cpp
cjuniet/simpleGL
719c1152d9085f1612c3e0b8ce2ee25fe3ad22dd
[ "MIT" ]
null
null
null
#include "Shader.hpp" #include <glm/gtc/type_ptr.hpp> #include <fstream> #include <sstream> #include <stdexcept> namespace { void compile_glsl(const std::string& filename, GLuint shader) { std::ifstream ifs(filename); if (!ifs) { throw std::runtime_error("compile_glsl(): unable to open " + filename); } ...
24.171717
95
0.717509
cjuniet
2f58ddcaef4c917882ccfd0aacf47bcf7c72072a
1,395
cpp
C++
Codeforces/C++/Dima-Sereja_problem.cpp
abdzitter/Daily-Coding-DS-ALGO-Practice
26ddbf7a3673608039a07d26d812fce31b69871a
[ "MIT" ]
289
2021-05-15T22:56:03.000Z
2022-03-28T23:13:25.000Z
Codeforces/C++/Dima-Sereja_problem.cpp
abdzitter/Daily-Coding-DS-ALGO-Practice
26ddbf7a3673608039a07d26d812fce31b69871a
[ "MIT" ]
1,812
2021-05-09T13:49:58.000Z
2022-01-15T19:27:17.000Z
Codeforces/C++/Dima-Sereja_problem.cpp
abdzitter/Daily-Coding-DS-ALGO-Practice
26ddbf7a3673608039a07d26d812fce31b69871a
[ "MIT" ]
663
2021-05-09T16:57:58.000Z
2022-03-27T14:15:07.000Z
/* Sereja and Dima play a game. The rules of the game are very simple. The players have n cards in a row. Each card contains a number, all numbers on the cards are distinct. The players take turns, Sereja moves first. During his turn a player can take one card: either the leftmost card in a row, or the rightmost one. ...
25.363636
171
0.580645
abdzitter
2f5ce7acde58c43615729d6d9e4bf6ccdfd6b8b4
316
hpp
C++
include/TypeHelpers.hpp
ChoppinBlockParty/perq
2442e33b230c81c9f6e971ffcb35499b2f248cbd
[ "BSD-3-Clause" ]
3
2018-06-30T09:09:38.000Z
2020-06-05T22:46:23.000Z
include/TypeHelpers.hpp
ChoppinBlockParty/perq
2442e33b230c81c9f6e971ffcb35499b2f248cbd
[ "BSD-3-Clause" ]
null
null
null
include/TypeHelpers.hpp
ChoppinBlockParty/perq
2442e33b230c81c9f6e971ffcb35499b2f248cbd
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include <cinttypes> #include <cstddef> namespace perq { struct NoPrefix { using Type = uint8_t; }; namespace internal { template <typename T> struct PrefixSize { static constexpr size_t size = sizeof(T); }; template <> struct PrefixSize<NoPrefix> { static constexpr size_t size = 0; }; } }
12.64
43
0.705696
ChoppinBlockParty
2f5d08138fe49f3963a0ab10237b4bd888778970
7,550
cpp
C++
module-apps/application-settings/windows/network/SimContactsImportWindow.cpp
bitigchi/MuditaOS
425d23e454e09fd6ae274b00f8d19c57a577aa94
[ "BSL-1.0" ]
369
2021-11-10T09:20:29.000Z
2022-03-30T06:36:58.000Z
module-apps/application-settings/windows/network/SimContactsImportWindow.cpp
bitigchi/MuditaOS
425d23e454e09fd6ae274b00f8d19c57a577aa94
[ "BSL-1.0" ]
149
2021-11-10T08:38:35.000Z
2022-03-31T23:01:52.000Z
module-apps/application-settings/windows/network/SimContactsImportWindow.cpp
bitigchi/MuditaOS
425d23e454e09fd6ae274b00f8d19c57a577aa94
[ "BSL-1.0" ]
41
2021-11-10T08:30:37.000Z
2022-03-29T08:12:46.000Z
// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved. // For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md #include "SimContactsImportWindow.hpp" #include <application-settings/windows/WindowNames.hpp> #include <InputEvent.hpp> #include <service-appmgr/Controller.hpp> namespace gui { ...
40.591398
118
0.627285
bitigchi
2f63d060dc3774088e6c783814004b1f1a3aa58b
1,925
hpp
C++
include/zax/stringcat.hpp
fcharlie/zax
041ad510635df85e5842036cd0319ea92f7f56ba
[ "MIT" ]
null
null
null
include/zax/stringcat.hpp
fcharlie/zax
041ad510635df85e5842036cd0319ea92f7f56ba
[ "MIT" ]
null
null
null
include/zax/stringcat.hpp
fcharlie/zax
041ad510635df85e5842036cd0319ea92f7f56ba
[ "MIT" ]
null
null
null
#ifndef ZAX_STRINGCAT_HPP #define ZAX_STRINGCAT_HPP #include <string> #include <string_view> #include <charconv> #include "unicode.hpp" namespace zax { // class AlphaNum { static constexpr const int suggest_size = 32; public: AlphaNum(bool x) { piece_ = x ? "true" : "false"; // true or false } AlphaNum(in...
29.615385
81
0.66961
fcharlie
2f66883e0e5b390bdac4311a8bd1b23c41be1dcd
46,972
cpp
C++
applis/OLD-MICMAC-OLD/cModeleAnalytiqueComp.cpp
kikislater/micmac
3009dbdad62b3ad906ec882b74b85a3db86ca755
[ "CECILL-B" ]
451
2016-11-25T09:40:28.000Z
2022-03-30T04:20:42.000Z
applis/OLD-MICMAC-OLD/cModeleAnalytiqueComp.cpp
kikislater/micmac
3009dbdad62b3ad906ec882b74b85a3db86ca755
[ "CECILL-B" ]
143
2016-11-25T20:35:57.000Z
2022-03-01T11:58:02.000Z
applis/OLD-MICMAC-OLD/cModeleAnalytiqueComp.cpp
kikislater/micmac
3009dbdad62b3ad906ec882b74b85a3db86ca755
[ "CECILL-B" ]
139
2016-12-02T10:26:21.000Z
2022-03-10T19:40:29.000Z
/*Header-MicMac-eLiSe-25/06/2007 MicMac : Multi Image Correspondances par Methodes Automatiques de Correlation eLiSe : ELements of an Image Software Environnement www.micmac.ign.fr Copyright : Institut Geographique National Author : Marc Pierrot Deseilligny Contributors : Gregoire Maille...
29.52357
106
0.529102
kikislater
2f6690a81d5df2120c51d4a1ebb6a5acf2372a48
67
cpp
C++
cnd/cnd.modelimpl/test/unit/data/org/netbeans/modules/cnd/modelimpl/trace/FileModel2Test/bug256281.cpp
leginee/netbeans
814ad30e2d0a094f4aa3813bcbb5323a95a0b1d6
[ "Apache-2.0" ]
null
null
null
cnd/cnd.modelimpl/test/unit/data/org/netbeans/modules/cnd/modelimpl/trace/FileModel2Test/bug256281.cpp
leginee/netbeans
814ad30e2d0a094f4aa3813bcbb5323a95a0b1d6
[ "Apache-2.0" ]
null
null
null
cnd/cnd.modelimpl/test/unit/data/org/netbeans/modules/cnd/modelimpl/trace/FileModel2Test/bug256281.cpp
leginee/netbeans
814ad30e2d0a094f4aa3813bcbb5323a95a0b1d6
[ "Apache-2.0" ]
null
null
null
namespace bug256281 { typedef __sun_va_list __builtin_va_list; }
16.75
42
0.820896
leginee
2f6cdb5e6273277a1c0c07cd305f0dded94c81bc
340
cpp
C++
Competitive Programing Problem Solutions/Other/Sust Intra Contest/a.cpp
BIJOY-SUST/ACM---ICPC
b382d80d327ddcab15ab15c0e763ccf8a22e0d43
[ "Apache-2.0" ]
1
2022-02-27T12:07:59.000Z
2022-02-27T12:07:59.000Z
Competitive Programing Problem Solutions/Other/Sust Intra Contest/a.cpp
BIJOY-SUST/Competitive-Programming
b382d80d327ddcab15ab15c0e763ccf8a22e0d43
[ "Apache-2.0" ]
null
null
null
Competitive Programing Problem Solutions/Other/Sust Intra Contest/a.cpp
BIJOY-SUST/Competitive-Programming
b382d80d327ddcab15ab15c0e763ccf8a22e0d43
[ "Apache-2.0" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int main(){ ios_base::sync_with_stdio(false); cin.tie(NULL); set<int>s; int n; cin>>n; for(int i=0;i<n;i++){ int k; cin>>k; s.insert(k); } int a=n-s.size()+1; int b=n-a+1; cout<<a<<" "<<b<<"\n";...
17
38
0.447059
BIJOY-SUST
2f6faf12900ebdb89f6dbcc3d6388523428b9eaa
6,097
cpp
C++
ivmpServer/networkManager.cpp
WuskieFTW1113/IV-MP-T4
ec4f193c90d23e07e6200dcb061ec8773be6bedc
[ "MIT" ]
2
2021-07-18T17:37:32.000Z
2021-08-04T12:33:51.000Z
ivmpServer/networkManager.cpp
VittorioC97/IV-MP-T4
ec4f193c90d23e07e6200dcb061ec8773be6bedc
[ "MIT" ]
1
2022-02-22T03:26:50.000Z
2022-02-22T03:26:50.000Z
ivmpServer/networkManager.cpp
WuskieFTW1113/IV-MP-T4
ec4f193c90d23e07e6200dcb061ec8773be6bedc
[ "MIT" ]
5
2021-06-17T06:41:00.000Z
2022-02-17T09:37:40.000Z
#include "networkManager.h" #include "RakPeer.h" #include <map> #include "../SharedDefines/easylogging++.h" #include "../SharedDefines/packetsIds.h" #include "playerConnectionState.h" #include "receiveFootSync.h" #include "receiveClientCredentials.h" #include "sendClientRequestedData.h" #include "vehicleSyncDeclaratio...
38.345912
136
0.788257
WuskieFTW1113
2f75bbb51c6aed4aeb49d91246c363a2ec02c30d
1,266
cpp
C++
Apps/Examples/e08_OrbitManipulator/main.cpp
dormon/FitGL
de24984067f5307d01aebbc16ea366ce50e3c224
[ "CC0-1.0" ]
4
2016-09-19T13:32:58.000Z
2022-03-03T09:00:44.000Z
Apps/Examples/e08_OrbitManipulator/main.cpp
dormon/FitGL
de24984067f5307d01aebbc16ea366ce50e3c224
[ "CC0-1.0" ]
null
null
null
Apps/Examples/e08_OrbitManipulator/main.cpp
dormon/FitGL
de24984067f5307d01aebbc16ea366ce50e3c224
[ "CC0-1.0" ]
5
2016-10-21T12:33:52.000Z
2021-01-03T14:36:01.000Z
#include <BaseApp.h> int main(int /*argc*/, char ** /*argv*/) { BaseApp app; ProgramObject program; auto mainWindow = app.getMainWindow(); std::string prefix = app.getResourceDir() + "Shaders/Examples/e06_ModelLoader/"; PerspectiveCamera cam; OrbitManipulator manipulator(&cam); manipulator.setupCallbacks(ap...
27.521739
138
0.690363
dormon
2f7859a389e4bcd6ad85854a663f5110d69c6448
459
cpp
C++
SourceCode/C++/Misc/LargestTest.cpp
dwgillies/OpenDSA
e012925896070a86bd7c3a4cbb75fa5682d9b9e2
[ "MIT" ]
200
2015-02-08T05:27:52.000Z
2022-03-23T02:44:38.000Z
SourceCode/C++/Misc/LargestTest.cpp
dwgillies/OpenDSA
e012925896070a86bd7c3a4cbb75fa5682d9b9e2
[ "MIT" ]
119
2015-03-22T22:38:21.000Z
2022-03-15T04:38:52.000Z
SourceCode/C++/Misc/LargestTest.cpp
dwgillies/OpenDSA
e012925896070a86bd7c3a4cbb75fa5682d9b9e2
[ "MIT" ]
105
2015-01-03T08:55:00.000Z
2022-03-19T00:51:45.000Z
/* *** ODSATag: Largest *** */ /** Return position of largest value in integer array A */ int largest(int A[], int size) { int currlarge = 0; // Position of largest element seen for (int i=1; i<size; i++) // For each element if (A[currlarge] < A[i]) // if A[i] is larger currlarge = ...
41.727273
68
0.555556
dwgillies
2f78bd027784244532019c8987c91101af0bbfe6
3,081
cpp
C++
http/alias.cpp
linbc/appweb2-win
ed9b55079cd427751e21ebdf122d5e3a1228f65c
[ "BSD-3-Clause" ]
null
null
null
http/alias.cpp
linbc/appweb2-win
ed9b55079cd427751e21ebdf122d5e3a1228f65c
[ "BSD-3-Clause" ]
null
null
null
http/alias.cpp
linbc/appweb2-win
ed9b55079cd427751e21ebdf122d5e3a1228f65c
[ "BSD-3-Clause" ]
1
2019-12-11T02:29:49.000Z
2019-12-11T02:29:49.000Z
/// /// @file alias.cpp /// @brief Alias service for aliasing URLs to file storage. /// @overview This module supports the alias directives and mapping /// URLs to physical locations. It also performs redirections. // ////////////////////////////////// Copyright /////////////////////////////////// // // @copy defau...
33.129032
80
0.580656
linbc
2f7e35c9080f2d52951a9c6d953e85d8844f565f
3,356
cpp
C++
old/src/resources/Material.cpp
fuchstraumer/Caelestis
9c4b76288220681bb245d84e5d7bf8c7f69b2716
[ "MIT" ]
5
2018-08-16T00:55:33.000Z
2020-06-19T14:30:17.000Z
old/src/resources/Material.cpp
fuchstraumer/Caelestis
9c4b76288220681bb245d84e5d7bf8c7f69b2716
[ "MIT" ]
null
null
null
old/src/resources/Material.cpp
fuchstraumer/Caelestis
9c4b76288220681bb245d84e5d7bf8c7f69b2716
[ "MIT" ]
null
null
null
#include "resources/Material.hpp" #include "core/LogicalDevice.hpp" #include "command/TransferPool.hpp" #include "resource/DescriptorSetLayout.hpp" #include "resource/DescriptorSet.hpp" #include "resource/Buffer.hpp" using namespace vpr; namespace vpsk { Material::Material(Material&& other) noexcept : ambient(st...
36.879121
321
0.661502
fuchstraumer
2f7ec922c705b640039c32fba114291b86f5e990
1,359
cpp
C++
aws-cpp-sdk-ssm/source/model/SessionFilter.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2022-02-10T08:06:54.000Z
2022-02-10T08:06:54.000Z
aws-cpp-sdk-ssm/source/model/SessionFilter.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-ssm/source/model/SessionFilter.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2022-03-23T15:17:18.000Z
2022-03-23T15:17:18.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/ssm/model/SessionFilter.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { namespace S...
17.881579
91
0.71376
Neusoft-Technology-Solutions
2f8404b0da8d5dadac8a40e90321f91cb4f6f568
5,987
cpp
C++
src/common/MspImage.cpp
radiantbluetechnologies/ossim-msp-plugin
dd258ae54fd10cb5f3812b4e55e27ab1756b36ab
[ "MIT" ]
null
null
null
src/common/MspImage.cpp
radiantbluetechnologies/ossim-msp-plugin
dd258ae54fd10cb5f3812b4e55e27ab1756b36ab
[ "MIT" ]
null
null
null
src/common/MspImage.cpp
radiantbluetechnologies/ossim-msp-plugin
dd258ae54fd10cb5f3812b4e55e27ab1756b36ab
[ "MIT" ]
null
null
null
//************************************************************************************************** // // OSSIM Open Source Geospatial Data Processing Library // See top level LICENSE.txt file for license information // //*****************************************************************************************...
29.063107
101
0.632036
radiantbluetechnologies
2f89410f228523d1b2026468cb1b52dfb84de315
2,082
cc
C++
Common/View/Frustum.cc
mnrn/ReGL
922b36716ff29fa5ed8f18c078d2369ef9fba6a9
[ "MIT" ]
null
null
null
Common/View/Frustum.cc
mnrn/ReGL
922b36716ff29fa5ed8f18c078d2369ef9fba6a9
[ "MIT" ]
null
null
null
Common/View/Frustum.cc
mnrn/ReGL
922b36716ff29fa5ed8f18c078d2369ef9fba6a9
[ "MIT" ]
null
null
null
/** * @brief 視錐台クラス */ #include "View/Frustum.h" #include <boost/assert.hpp> #include <glm/gtc/constants.hpp> #include <glm/gtc/matrix_transform.hpp> #include <iostream> #include <vector> void Frustum::SetupPerspective(float fovy, float aspectRatio, float near, float far) { fovy_ =...
26.025
77
0.596542
mnrn
2f900b25c6bce0c15327dda6fb0de9251ad3ea7a
22,028
cpp
C++
src/GUI/ServerBrowser.cpp
Olddies710/The-Forgotten-Client
8b7979619ea76bc29581122440d09f241afc175d
[ "Zlib" ]
1
2022-01-15T00:00:27.000Z
2022-01-15T00:00:27.000Z
src/GUI/ServerBrowser.cpp
Olddies710/The-Forgotten-Client
8b7979619ea76bc29581122440d09f241afc175d
[ "Zlib" ]
null
null
null
src/GUI/ServerBrowser.cpp
Olddies710/The-Forgotten-Client
8b7979619ea76bc29581122440d09f241afc175d
[ "Zlib" ]
3
2021-10-14T02:36:56.000Z
2022-03-22T21:03:31.000Z
/* The Forgotten Client Copyright (C) 2020 Saiyans King This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, in...
41.878327
229
0.744235
Olddies710
2f907a44951bc887589ca3ebb4f13802f1233e85
1,088
cpp
C++
hardwork/sicily_datastructure/ans.cpp
jskyzero/Cplusplus.Playground
b4a82bb32af04efcffb6e251ac8956a3cc316174
[ "MIT" ]
null
null
null
hardwork/sicily_datastructure/ans.cpp
jskyzero/Cplusplus.Playground
b4a82bb32af04efcffb6e251ac8956a3cc316174
[ "MIT" ]
null
null
null
hardwork/sicily_datastructure/ans.cpp
jskyzero/Cplusplus.Playground
b4a82bb32af04efcffb6e251ac8956a3cc316174
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> #include <string> #include <cstdio> using namespace std; struct data { int a; int b; int c; int all; int num; }; int cmp1(data a, data b) { return a.all < b.all; } void _swap(data *a, data *b) { data tmp; tmp = *a; *a = *b; *b = tmp; } void com(data *a, data *b...
19.087719
55
0.441176
jskyzero
2f9585256e855b315ad798992ec97f3dc1d8a063
754
hpp
C++
src/LibKyra/Typing/TypeContext.hpp
LukasPietzschmann/Slanguage
c00cc4712e24a201ab5ce55659d1ce38a3d8df41
[ "MIT" ]
7
2021-08-16T07:18:47.000Z
2021-09-28T08:03:00.000Z
src/LibKyra/Typing/TypeContext.hpp
LukasPietzschmann/Slanguage
c00cc4712e24a201ab5ce55659d1ce38a3d8df41
[ "MIT" ]
null
null
null
src/LibKyra/Typing/TypeContext.hpp
LukasPietzschmann/Slanguage
c00cc4712e24a201ab5ce55659d1ce38a3d8df41
[ "MIT" ]
null
null
null
#pragma once #include <iosfwd> #include <memory> #include <string> #include <unordered_map> #include <vector> #include "../Context.hpp" #include "../HasPtrAlias.hpp" #include "../Values/Value.hpp" #include "../Variable.hpp" #include "Type.hpp" #include "TypeProvider.hpp" namespace Kyra { class TypeContext : public Co...
27.925926
85
0.724138
LukasPietzschmann
2f96afcd1571e2be24b84580bc7e71730b27405c
10,320
cpp
C++
src/prob_quadratico_cp.cpp
salvatore-punzo/dogbot_tesi
8bf521df5e16b517dce6746361e35c0b437b7e3e
[ "MIT" ]
null
null
null
src/prob_quadratico_cp.cpp
salvatore-punzo/dogbot_tesi
8bf521df5e16b517dce6746361e35c0b437b7e3e
[ "MIT" ]
null
null
null
src/prob_quadratico_cp.cpp
salvatore-punzo/dogbot_tesi
8bf521df5e16b517dce6746361e35c0b437b7e3e
[ "MIT" ]
null
null
null
#include "prob_quadratico_cp.h" //#include "traj_planner.h" using namespace std; PROB_QUAD_CP::PROB_QUAD_CP(){ }; void PROB_QUAD_CP::CalcoloProbOttimoCP(VectorXd &b, Matrix<double,18,18> &M, Matrix<double,24,18> &Jc, Matrix<double,24,1> &Jcdqd, Matrix<double,18,18> &T, Matrix<double,18,18> &T_dot,Matrix<double, 1...
32.351097
261
0.627035
salvatore-punzo
2f97b95359ab74dfa04b9b3abed2f0d8ebab456e
220
cpp
C++
Source/KiruroboMocapPlugin/KiruroboMocapPlugin.cpp
kirurobo/KiruroboMocapPlugin
c23ece40b3630bcc1acfa41e01ae136e3872d5df
[ "MIT" ]
15
2015-09-15T03:11:55.000Z
2020-08-27T15:27:45.000Z
Source/KiruroboMocapPlugin/KiruroboMocapPlugin.cpp
kirurobo/KiruroboMocapPlugin
c23ece40b3630bcc1acfa41e01ae136e3872d5df
[ "MIT" ]
1
2015-09-16T13:07:14.000Z
2015-10-18T10:11:50.000Z
Source/KiruroboMocapPlugin/KiruroboMocapPlugin.cpp
kirurobo/KiruroboMocapPlugin
c23ece40b3630bcc1acfa41e01ae136e3872d5df
[ "MIT" ]
5
2015-11-10T14:38:37.000Z
2021-05-26T08:00:53.000Z
// Fill out your copyright notice in the Description page of Project Settings. #include "KiruroboMocapPlugin.h" IMPLEMENT_PRIMARY_GAME_MODULE( FDefaultGameModuleImpl, KiruroboMocapPlugin, "KiruroboMocapPlugin" );
36.666667
101
0.813636
kirurobo
2fa5d266af49fb51ae70a69e4cf1f66239db1a77
24,208
cpp
C++
src/Microsoft.DotNet.Wpf/src/WpfGfx/core/hw/hwsurfrtdata.cpp
nsivov/wpf
d36941860f05dd7a09008e99d1bcd635b0a69fdb
[ "MIT" ]
2
2020-05-18T17:00:43.000Z
2021-12-01T10:00:29.000Z
src/Microsoft.DotNet.Wpf/src/WpfGfx/core/hw/hwsurfrtdata.cpp
nsivov/wpf
d36941860f05dd7a09008e99d1bcd635b0a69fdb
[ "MIT" ]
5
2020-05-05T08:05:01.000Z
2021-12-11T21:35:37.000Z
src/Microsoft.DotNet.Wpf/src/WpfGfx/core/hw/hwsurfrtdata.cpp
nsivov/wpf
d36941860f05dd7a09008e99d1bcd635b0a69fdb
[ "MIT" ]
4
2020-05-04T06:43:25.000Z
2022-02-20T12:02:50.000Z
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. //+----------------------------------------------------------------------------- // // // $TAG ENGR // $Mod...
26.808416
104
0.57543
nsivov
2fa687b64af682cf357d4778b6c4f72ad128e329
1,051
cpp
C++
AAD/Aufgabe3.2/myClass.cpp
Solaflex/hf-ict
2ebed689087407019b540df07612525e8b8d6821
[ "MIT" ]
null
null
null
AAD/Aufgabe3.2/myClass.cpp
Solaflex/hf-ict
2ebed689087407019b540df07612525e8b8d6821
[ "MIT" ]
null
null
null
AAD/Aufgabe3.2/myClass.cpp
Solaflex/hf-ict
2ebed689087407019b540df07612525e8b8d6821
[ "MIT" ]
null
null
null
#include <C:\git\RunProject\RunProject\myHeader.h> #include <string> #include <algorithm> // std::transform using namespace std; bool StringUtil::isPalindrome(string input){ // Make the string lowercase to compare it std::transform(input.begin(), input.end(), input.begin(), ::tolower); // Store the length of th...
30.028571
111
0.686013
Solaflex
2fa8c77ac4a5780c2e737dde2a5c1c08f6f61e8f
1,007
hpp
C++
plugins/TaiwanSE/TaiwanSE.hpp
Vladimir-Lin/QtFIXAPI
d62f582828267d02b9f4e5d5ddc96d966c3848e1
[ "MIT" ]
null
null
null
plugins/TaiwanSE/TaiwanSE.hpp
Vladimir-Lin/QtFIXAPI
d62f582828267d02b9f4e5d5ddc96d966c3848e1
[ "MIT" ]
null
null
null
plugins/TaiwanSE/TaiwanSE.hpp
Vladimir-Lin/QtFIXAPI
d62f582828267d02b9f4e5d5ddc96d966c3848e1
[ "MIT" ]
null
null
null
#ifndef TAIWANSE_HPP #define TAIWANSE_HPP #ifdef QT_CORE_LIB #include <QtCore> #endif #ifdef QT_GUI_LIB #include <QtGui> #endif #ifdef QT_NETWORK_LIB #include <QtNetwork> #endif #ifdef QT_SQL_LIB #include <QtSql> #endif #include "nFixEngine.hpp" class TaiwanApplication : public FixApplication { public: exp...
12.910256
57
0.662363
Vladimir-Lin
2fa8cb9872514ddfbd2b0ac7637cad6debe4a828
330
cpp
C++
cpp/Environment/PytorchEnvironment.cpp
zigui-ps/PPO-PyTorchCpp-API
b1a8b1b3aade3ca79d4e903f3473bab3cbcac755
[ "MIT" ]
3
2020-03-29T04:50:42.000Z
2021-12-02T14:57:59.000Z
cpp/Environment/PytorchEnvironment.cpp
zigui-ps/PPO-PyTorchCpp-API
b1a8b1b3aade3ca79d4e903f3473bab3cbcac755
[ "MIT" ]
null
null
null
cpp/Environment/PytorchEnvironment.cpp
zigui-ps/PPO-PyTorchCpp-API
b1a8b1b3aade3ca79d4e903f3473bab3cbcac755
[ "MIT" ]
2
2020-03-29T05:21:17.000Z
2020-04-12T08:00:01.000Z
#include "Environment/PytorchEnvironment.h" PytorchEnvironment::PytorchEnvironment(torch::Device device):device(device){ } void PytorchEnvironment::to(torch::Device dev){ device = dev; } int PytorchEnvironment::getObservationSize(){ return observationSize; } int PytorchEnvironment::getActionSize(){ return actio...
19.411765
76
0.784848
zigui-ps
2faeccf55d6271538e24bb823b2f9e6c2d24e0d2
387
hpp
C++
Headers/Recorder.hpp
adivekk94/UDT
645538937722f8a6ad3fc3dfb032a0e5add7adc3
[ "MIT" ]
null
null
null
Headers/Recorder.hpp
adivekk94/UDT
645538937722f8a6ad3fc3dfb032a0e5add7adc3
[ "MIT" ]
null
null
null
Headers/Recorder.hpp
adivekk94/UDT
645538937722f8a6ad3fc3dfb032a0e5add7adc3
[ "MIT" ]
null
null
null
/* * Recorder.hpp * * Created on: 14.04.2017 * Author: adivek */ #ifndef HEADERS_RECORDER_HPP_ #define HEADERS_RECORDER_HPP_ #include "../Definitions/glo_def.hpp" #include "../Definitions/glo_inc.hpp" #include <SFML/Config.hpp> class Recorder : public sf::SoundBufferRecorder { public: Recorder(); void r...
16.826087
47
0.715762
adivekk94
2faeea6f5e6e6a7c1c6cdf98958df822e15992f1
17,097
cpp
C++
src/prosecoPlanner.cpp
ProSeCo-Planning/ros_proseco_planning
484beedb01e5faafa7e03e95bc88b1e4f969285e
[ "BSD-3-Clause" ]
null
null
null
src/prosecoPlanner.cpp
ProSeCo-Planning/ros_proseco_planning
484beedb01e5faafa7e03e95bc88b1e4f969285e
[ "BSD-3-Clause" ]
null
null
null
src/prosecoPlanner.cpp
ProSeCo-Planning/ros_proseco_planning
484beedb01e5faafa7e03e95bc88b1e4f969285e
[ "BSD-3-Clause" ]
null
null
null
#include <ros/console.h> #include <ros/time.h> #include <cassert> #include <fstream> #include <map> #include <memory> #include <numeric> #include <stdexcept> #include <string> #include <utility> #include <vector> #include "nlohmann/json.hpp" #include "proseco_planning/action/action.h" #include "proseco_planning/actio...
38.94533
100
0.721589
ProSeCo-Planning
2faf59608878f589a52e6e891638075fb986683f
842
cpp
C++
Engine/Source/Runtime/MessagingRpc/Private/MessagingRpcModule.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
1
2022-01-29T18:36:12.000Z
2022-01-29T18:36:12.000Z
Engine/Source/Runtime/MessagingRpc/Private/MessagingRpcModule.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
Engine/Source/Runtime/MessagingRpc/Private/MessagingRpcModule.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #include "IMessagingRpcModule.h" #include "Modules/ModuleManager.h" #include "MessageRpcClient.h" #include "MessageRpcServer.h" /** * Implements the MessagingRpc module. */ class FMessagingRpcModule : public IMessagingRpcModule { public: //~ IMessagin...
19.136364
65
0.774347
windystrife
2fb24df85c60674a3615a877855f55ff355146d9
551
cpp
C++
this/first_example/Hannah.cpp
Rudy02/CPP-Fundementals
dc3882f6c6e900043dc50b7c638b79fa6688ebc0
[ "MIT" ]
null
null
null
this/first_example/Hannah.cpp
Rudy02/CPP-Fundementals
dc3882f6c6e900043dc50b7c638b79fa6688ebc0
[ "MIT" ]
null
null
null
this/first_example/Hannah.cpp
Rudy02/CPP-Fundementals
dc3882f6c6e900043dc50b7c638b79fa6688ebc0
[ "MIT" ]
null
null
null
#include <iostream> #include "Hannah.h" using namespace std; Hannah::Hannah(int num) : h(num) { } void Hannah::printStuff() { //Method #1 //Private Variable: Implided cout << "h = " << h << endl; //Method #2 //Explicit: access the member variable of the current object //being pointe...
20.407407
64
0.584392
Rudy02
2fb3805a1621c7e928bcbffb644918e11464a1d7
2,264
cc
C++
third_party/GsTL/include/GsTL/kriging/SK_constraints.cc
hiteshbedre/movetk
8d261f19538e28ff36cac98a89ef067f8c26f978
[ "Apache-2.0" ]
70
2015-01-21T12:24:50.000Z
2022-03-16T02:10:45.000Z
third_party/GsTL/include/GsTL/kriging/SK_constraints.cc
bacusters/movetk
acbc9c5acb69dd3eb23aa7d2156ede02ed468eae
[ "Apache-2.0" ]
44
2020-09-11T17:40:30.000Z
2021-04-08T23:56:19.000Z
third_party/GsTL/include/GsTL/kriging/SK_constraints.cc
aniketmitra001/movetk
cdf0c98121da6df4cadbd715fba02b05be724218
[ "Apache-2.0" ]
18
2015-02-15T18:04:31.000Z
2021-01-16T08:54:32.000Z
/* GsTL: the Geostatistics Template Library * * Author: Nicolas Remy * Copyright (c) 2000 The Board of Trustees of the Leland Stanford Junior University * * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following c...
34.30303
88
0.720848
hiteshbedre
2fb3ba1048457f65086c738b93518098d8d65e77
1,903
cpp
C++
leoStockSdk/source/strDecode.cpp
leonard73/LeoJQuantSdk
d4ec0ba402ec6e4832b484fe94a79799e2e57ea5
[ "Apache-2.0" ]
null
null
null
leoStockSdk/source/strDecode.cpp
leonard73/LeoJQuantSdk
d4ec0ba402ec6e4832b484fe94a79799e2e57ea5
[ "Apache-2.0" ]
null
null
null
leoStockSdk/source/strDecode.cpp
leonard73/LeoJQuantSdk
d4ec0ba402ec6e4832b484fe94a79799e2e57ea5
[ "Apache-2.0" ]
null
null
null
#include <strDecode.h> #define LOG_TAG " [STR_DECODE] " #define LOGLINE_STR_INT(s,i) std::cout<<LOG_TAG<<s<<" "<<i<<std::endl #define LOGLINE_STR_INT_STR_STR(s1,i1,s2,s3) std::cout<<LOG_TAG<<s1<<" "<<i1<<s2<<" "<<s3<<std::endl void decode_str_by_lines(std::vector <std::string> & lines_str,std::string string_raw) { ...
34.6
100
0.566474
leonard73
2fb596f95db409cfbe5ad74c7561c06746ea7abf
305
cpp
C++
src/SGLibExceptions.cpp
yhhshb/yalff
6789a7bef08e633e2044ea597eeb4308a456c06a
[ "MIT" ]
2
2020-01-17T12:34:11.000Z
2020-04-16T15:47:01.000Z
src/SGLibExceptions.cpp
yhhshb/yalff
6789a7bef08e633e2044ea597eeb4308a456c06a
[ "MIT" ]
null
null
null
src/SGLibExceptions.cpp
yhhshb/yalff
6789a7bef08e633e2044ea597eeb4308a456c06a
[ "MIT" ]
1
2021-01-15T15:58:54.000Z
2021-01-15T15:58:54.000Z
#include "SGLibExceptions.hpp" namespace SGLib{ const char* invalid_fastx::what() const noexcept { return "The given input stream does not follow the supposed convention!"; } const char* fastx_end::what() const noexcept { return "The fast* file is finished, no more records in it"; } }//SGLib
19.0625
77
0.72459
yhhshb
2fb653fe9ae332412a59307f3958028f692ea22c
1,166
hpp
C++
driver/support_library/src/cascading/ConcatPart.hpp
ARM-software/npu-driver-stack
1e6b00b21ed4cf39b2df625fa242c6f67c05b19f
[ "Apache-2.0" ]
4
2019-05-31T18:48:24.000Z
2019-06-04T07:59:39.000Z
driver/support_library/src/cascading/ConcatPart.hpp
ARM-software/npu-driver-stack
1e6b00b21ed4cf39b2df625fa242c6f67c05b19f
[ "Apache-2.0" ]
null
null
null
driver/support_library/src/cascading/ConcatPart.hpp
ARM-software/npu-driver-stack
1e6b00b21ed4cf39b2df625fa242c6f67c05b19f
[ "Apache-2.0" ]
null
null
null
// // Copyright © 2021 Arm Limited. // SPDX-License-Identifier: Apache-2.0 // #pragma once #include "Part.hpp" namespace ethosn { namespace support_library { class ConcatPart : public BasePart { public: ConcatPart(PartId id, const std::vector<TensorInfo>& inputTensorsInfo, const Co...
27.761905
70
0.674957
ARM-software
2fb9bb7040b7525234d63aa8472a46fc5416cb87
1,454
hpp
C++
src/Screens/Gameplay/PreciseMusic.hpp
Subject38/jujube
664b995cc65fa6045433b4837d765c62fe6490b4
[ "MIT" ]
19
2020-02-28T20:34:12.000Z
2022-01-28T20:18:25.000Z
src/Screens/Gameplay/PreciseMusic.hpp
Subject38/jujube
664b995cc65fa6045433b4837d765c62fe6490b4
[ "MIT" ]
7
2019-10-22T09:43:16.000Z
2022-03-12T00:15:13.000Z
src/Screens/Gameplay/PreciseMusic.hpp
Subject38/jujube
664b995cc65fa6045433b4837d765c62fe6490b4
[ "MIT" ]
5
2019-10-22T08:14:57.000Z
2021-03-13T06:32:04.000Z
#pragma once #include <thread> #include <atomic> #include <SFML/Audio/Music.hpp> #include <SFML/System/Clock.hpp> #include <SFML/System/Time.hpp> #include "AbstractMusic.hpp" namespace Gameplay { struct _PreciseMusic : sf::Music { explicit _PreciseMusic(const std::string& path); ~_PreciseMusic()...
33.045455
103
0.672627
Subject38
2fbcc6050d3aa07942a0291c020b66c5facb3b52
418
cpp
C++
week9/scene/src/circleScene.cpp
evejweinberg/algo2012
7e13c20bab94e1769f6751c4e124964ae05b7087
[ "MIT" ]
94
2015-01-12T16:07:57.000Z
2021-12-24T06:48:04.000Z
week9/scene/src/circleScene.cpp
theomission/algo2012
7e13c20bab94e1769f6751c4e124964ae05b7087
[ "MIT" ]
null
null
null
week9/scene/src/circleScene.cpp
theomission/algo2012
7e13c20bab94e1769f6751c4e124964ae05b7087
[ "MIT" ]
18
2015-03-12T23:11:08.000Z
2022-02-05T05:43:51.000Z
/* * squareScene.cpp * sceneExample * * Created by zachary lieberman on 11/30/10. * Copyright 2010 __MyCompanyName__. All rights reserved. * */ #include "circleScene.h" void circleScene::setup(){ } void circleScene::update(){ } void circleScene::draw(){ ofSetColor(0,0,0); for (int i = 0; i < 100...
14.413793
83
0.648325
evejweinberg
2fbfb4a82ea69a9fce04e19ae0e9fb1f91262da9
699
hpp
C++
src/brook/runtime/gpu/gpuruntime.hpp
darwin/inferno
e87017763abae0cfe09d47987f5f6ac37c4f073d
[ "Zlib" ]
2
2016-05-09T11:57:28.000Z
2021-07-28T16:46:08.000Z
src/brook/runtime/gpu/gpuruntime.hpp
darwin/inferno
e87017763abae0cfe09d47987f5f6ac37c4f073d
[ "Zlib" ]
null
null
null
src/brook/runtime/gpu/gpuruntime.hpp
darwin/inferno
e87017763abae0cfe09d47987f5f6ac37c4f073d
[ "Zlib" ]
null
null
null
// gpuruntime.hpp #ifndef GPU_RUNTIME_HPP #define GPU_RUNTIME_HPP #include "gpucontext.hpp" namespace brook { class GPURuntime : public RunTime { public: virtual Kernel* CreateKernel(const void*[]); virtual Stream* CreateStream( int fieldCount, const __BRTStreamType fieldTypes[], ...
19.416667
58
0.639485
darwin
2fc218389ad2c87208d8275b8dbd79530dc73bbf
1,029
cpp
C++
Hero's Quest/Item.cpp
uaineteine/Hero-s-Quest
509504db82748911218541212f73a3f5ded13351
[ "MIT" ]
null
null
null
Hero's Quest/Item.cpp
uaineteine/Hero-s-Quest
509504db82748911218541212f73a3f5ded13351
[ "MIT" ]
null
null
null
Hero's Quest/Item.cpp
uaineteine/Hero-s-Quest
509504db82748911218541212f73a3f5ded13351
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "Item.h" Item::Item() { } Item::~Item() { } void Item::SetType(int type) { Type = type; Description = ""; if (Type == 1) { Name = "Shield"; SetStats(0, 0, 0, 1, 0); Description = "Adds 1 defence"; Cost = 4; } if (Type == 2) { Name = "Breastplate"; SetStats(0, 0, 0, 3, 0...
15.590909
43
0.542274
uaineteine
2fc35f98171349d072f9e6587d5d1b7609255223
1,092
cc
C++
贪心/POJ-3190.cc
OFShare/Algorithm-challenger
43336871a5e48f8804d6e737c813d9d4c0dc2731
[ "MIT" ]
67
2019-07-14T05:38:41.000Z
2021-12-23T11:52:51.000Z
贪心/POJ-3190.cc
OFShare/Algorithm-challenger
43336871a5e48f8804d6e737c813d9d4c0dc2731
[ "MIT" ]
null
null
null
贪心/POJ-3190.cc
OFShare/Algorithm-challenger
43336871a5e48f8804d6e737c813d9d4c0dc2731
[ "MIT" ]
12
2020-01-16T10:48:01.000Z
2021-06-11T16:49:04.000Z
/* * Created by OFShare on 2019-12-10 * */ #include <cstdio> #include <algorithm> #include <queue> #include <cmath> #include <cstring> const int maxn = 5e5 + 5; int n; struct node { int start, end, id; bool operator<(node &rhs) const { return start < rhs.start; } }A[maxn]; int ans[maxn]; // <右端点, stall的...
19.5
117
0.505495
OFShare
2fc36abf89eee12c6b38e689365ef8faa7ce177d
4,692
cpp
C++
src/mino.cpp
KingAlone0/Tetris-Clone
0f6d4b81e51a290f03b5bbe74c5464fe1d41f2d7
[ "MIT" ]
null
null
null
src/mino.cpp
KingAlone0/Tetris-Clone
0f6d4b81e51a290f03b5bbe74c5464fe1d41f2d7
[ "MIT" ]
null
null
null
src/mino.cpp
KingAlone0/Tetris-Clone
0f6d4b81e51a290f03b5bbe74c5464fe1d41f2d7
[ "MIT" ]
null
null
null
#include "mino.hpp" #include <iostream> Mino::Mino() { sprPlace.left = 0; sprPlace.top = 0; sprPlace.width = 16; sprPlace.height = 16; texture = Defaults::Get().MinoTexture(); spr.setTexture(texture); spr.setPosition(sf::Vector2f(0.f, 0.f)); updateCollision(); Collision.addAreaPlayab...
19.15102
171
0.607204
KingAlone0
2fc36edc3d77df88bedde116f5c7ee042d2b723b
4,345
cxx
C++
vtkImageDualSigmoid.cxx
aWilson41/vtkImageDualSigmoid
dd7bd47449fb462fc0ef67c188d44e05ac2ed733
[ "MIT" ]
null
null
null
vtkImageDualSigmoid.cxx
aWilson41/vtkImageDualSigmoid
dd7bd47449fb462fc0ef67c188d44e05ac2ed733
[ "MIT" ]
null
null
null
vtkImageDualSigmoid.cxx
aWilson41/vtkImageDualSigmoid
dd7bd47449fb462fc0ef67c188d44e05ac2ed733
[ "MIT" ]
null
null
null
#include "vtkImageDualSigmoid.h" #include <vtkImageData.h> #include <vtkImageProgressIterator.h> #include <vtkObjectFactory.h> vtkStandardNewMacro(vtkImageDualSigmoid); vtkImageDualSigmoid::vtkImageDualSigmoid() { this->SetNumberOfInputPorts(1); this->SetNumberOfOutputPorts(1); Alpha = 1.0; LowerBeta = 0.0; Upp...
27.327044
139
0.693211
aWilson41
2fcaf243298cdf355270b98af852486dd90ab150
3,446
cc
C++
code/render/instancing/base/instancerendererbase.cc
Nechrito/nebula
6c7ef27ab1374d3f751d866500729524f72a0c87
[ "BSD-2-Clause" ]
null
null
null
code/render/instancing/base/instancerendererbase.cc
Nechrito/nebula
6c7ef27ab1374d3f751d866500729524f72a0c87
[ "BSD-2-Clause" ]
null
null
null
code/render/instancing/base/instancerendererbase.cc
Nechrito/nebula
6c7ef27ab1374d3f751d866500729524f72a0c87
[ "BSD-2-Clause" ]
null
null
null
//------------------------------------------------------------------------------ // instancerendererbase.cc // (C) 2012 Gustav Sterbrant // (C) 2013-2018 Individual contributors, see AUTHORS file //------------------------------------------------------------------------------ #include "stdneb.h" #include "instancere...
25.153285
82
0.543529
Nechrito
2fcbde70552692282e12fced2607777709b6f9b2
10,616
cpp
C++
ctrl/stdga.cpp
lmcv-ufc/BIOS
1e4d7ad67fd3b6744ae03ffb6ef650c442164ee3
[ "BSD-2-Clause" ]
null
null
null
ctrl/stdga.cpp
lmcv-ufc/BIOS
1e4d7ad67fd3b6744ae03ffb6ef650c442164ee3
[ "BSD-2-Clause" ]
null
null
null
ctrl/stdga.cpp
lmcv-ufc/BIOS
1e4d7ad67fd3b6744ae03ffb6ef650c442164ee3
[ "BSD-2-Clause" ]
null
null
null
// ------------------------------------------------------------------------- // stdga.cpp - implementation of cStandardGA class. // ------------------------------------------------------------------------- // Copyright (c) 2021 LMCV/UFC // All rights reserved. // // Redistribution and use in source and binary forms, wi...
26.606516
114
0.553881
lmcv-ufc
2fccd780483ab7faf6af89ea9c7fbcc844c5e096
541
cxx
C++
cxx/test/utils/file.cxx
mcptr/pjxxs
b95de3d13e05cd9a68e16015a39c29edf8e5bd59
[ "MIT" ]
null
null
null
cxx/test/utils/file.cxx
mcptr/pjxxs
b95de3d13e05cd9a68e16015a39c29edf8e5bd59
[ "MIT" ]
null
null
null
cxx/test/utils/file.cxx
mcptr/pjxxs
b95de3d13e05cd9a68e16015a39c29edf8e5bd59
[ "MIT" ]
null
null
null
#include "file.hxx" #include <fstream> #include <stdexcept> namespace test { namespace utils { void read_file_contents(const std::string& filename, std::string& dest) { std::ifstream in(filename, std::ios::in | std::ios::binary); if(in) { in.seekg(0, std::ios::end); dest.resize(in.tellg()); in.seekg...
18.033333
71
0.628466
mcptr
2fd154830cc9e42a0104f87b723053a13f90c1f8
49,912
hpp
C++
include/System/String.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/System/String.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/System/String.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" #include <initializer_list> // Including type: System.IComparable #include "System/IComp...
61.925558
317
0.722211
darknight1050