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
f7469e5417a8f33a50284c86f9afc5f6645c102e
828
cpp
C++
dynamic_programming/lis.cpp
fredbr/algorithm-implementations
19da93dc4632cbba91f6014e821f9b08b4e00248
[ "CC0-1.0" ]
13
2018-08-23T22:11:23.000Z
2021-06-10T04:15:09.000Z
dynamic_programming/lis.cpp
fredbr/algorithm-implementations
19da93dc4632cbba91f6014e821f9b08b4e00248
[ "CC0-1.0" ]
null
null
null
dynamic_programming/lis.cpp
fredbr/algorithm-implementations
19da93dc4632cbba91f6014e821f9b08b4e00248
[ "CC0-1.0" ]
3
2019-09-06T17:44:38.000Z
2019-09-10T12:41:35.000Z
#include <bits/stdc++.h> using namespace std; template <int sz> struct Bit { int b[sz]; void upd(int x, int val) { for (int i = x; i < sz; i += i&-i) b[i] = max(b[i], val); } int get(int x) { int ans = 0; for (int i = x; i; i -= i&-i) ans = max(ans, b[i]); return ans; } }; template <typename T...
13.57377
64
0.487923
fredbr
f749d19fea660e971067395201e90459581e3ebd
81,525
cpp
C++
lib/vdc/DerivedVar.cpp
gaybro8777/VAPOR
13919120a0b6fef39fde18bc49b7a04171e0c6cf
[ "BSD-3-Clause" ]
120
2017-07-31T08:40:34.000Z
2022-03-24T03:57:35.000Z
lib/vdc/DerivedVar.cpp
gaybro8777/VAPOR
13919120a0b6fef39fde18bc49b7a04171e0c6cf
[ "BSD-3-Clause" ]
2,215
2017-06-21T20:47:30.000Z
2022-03-31T22:41:38.000Z
lib/vdc/DerivedVar.cpp
gaybro8777/VAPOR
13919120a0b6fef39fde18bc49b7a04171e0c6cf
[ "BSD-3-Clause" ]
48
2017-08-02T22:56:40.000Z
2022-02-12T13:44:51.000Z
#include "vapor/VAssert.h" #include <sstream> #include <algorithm> #include <set> #include <vapor/UDUnitsClass.h> #include <vapor/NetCDFCollection.h> #include <vapor/utils.h> #include <vapor/WASP.h> #include <vapor/DerivedVar.h> #include <vapor/GeoUtil.h> using namespace VAPoR; using namespace Wasp; namespace { #ifd...
30.568054
199
0.584079
gaybro8777
f749e3d3d41dd78a9d9ab0ab2eab30651c9d0bee
4,522
cpp
C++
Core/JPetParamAndDataFactory/JPetParamAndDataFactory.cpp
Alvarness/j-pet-framework
899ab32bf9a7f4daecaf8ed2dd7c8bc8922e73bd
[ "Apache-2.0" ]
null
null
null
Core/JPetParamAndDataFactory/JPetParamAndDataFactory.cpp
Alvarness/j-pet-framework
899ab32bf9a7f4daecaf8ed2dd7c8bc8922e73bd
[ "Apache-2.0" ]
null
null
null
Core/JPetParamAndDataFactory/JPetParamAndDataFactory.cpp
Alvarness/j-pet-framework
899ab32bf9a7f4daecaf8ed2dd7c8bc8922e73bd
[ "Apache-2.0" ]
null
null
null
/** * @copyright Copyright 2017 The J-PET Framework Authors. All rights reserved. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may find a copy of the License in the LICENCE file. * * Unless required by applicable la...
35.606299
216
0.776648
Alvarness
f74ea99d4c989d55cac6a245af0ad5e75f2ecb0d
3,451
cpp
C++
day3/src/p2.cpp
aeden/aoc2021
ca0e796169d5ca86f899e72d0754914445aacfb0
[ "MIT" ]
1
2021-12-01T13:08:14.000Z
2021-12-01T13:08:14.000Z
day3/src/p2.cpp
aeden/aoc2021
ca0e796169d5ca86f899e72d0754914445aacfb0
[ "MIT" ]
null
null
null
day3/src/p2.cpp
aeden/aoc2021
ca0e796169d5ca86f899e72d0754914445aacfb0
[ "MIT" ]
1
2021-12-07T21:12:57.000Z
2021-12-07T21:12:57.000Z
#include <iostream> #include <fstream> #include <string> #include <vector> #include <bitset> using namespace std; const int SAMPLE_BITS= 5; const int DATA_BITS = 12; const int BIT_LENGTH = DATA_BITS; vector<string> read_data(string filename) { ifstream infile; infile.open(filename); vector<string> data; if...
24.475177
109
0.631991
aeden
f750452af42344d188eeaf8749b027c3a3cb454b
1,503
cpp
C++
src/c/basetypes/CData.cpp
readdle/mailcore2
cf95a1587cebd5b2257e6b6fa0e34149a4d70394
[ "BSD-3-Clause" ]
3
2019-07-16T13:19:50.000Z
2020-01-06T10:42:23.000Z
src/c/basetypes/CData.cpp
readdle/mailcore2
cf95a1587cebd5b2257e6b6fa0e34149a4d70394
[ "BSD-3-Clause" ]
15
2018-12-11T14:00:48.000Z
2021-12-21T17:42:42.000Z
src/c/basetypes/CData.cpp
readdle/mailcore2
cf95a1587cebd5b2257e6b6fa0e34149a4d70394
[ "BSD-3-Clause" ]
2
2015-05-26T18:07:22.000Z
2017-04-04T10:01:17.000Z
#include "CData.h" #include "MailCore/MCCore.h" #include "CBase+Private.h" #include <typeinfo> #define nativeType mailcore::Data #define structName CData C_SYNTHESIZE_CONSTRUCTOR() C_SYNTHESIZE_COBJECT_CAST() CData CData_dataWithBytes(const char* bytes, unsigned int length) { CData result; result.instance =...
27.327273
67
0.754491
readdle
f75289ecfd13cf42799d165a0e9318b229e0ff27
678
cpp
C++
HackerRank Solutions/Algorithms/Arrays And Sorting/The Full Counting Sort.cpp
UtkarshPathrabe/Competitive-Coding
ba322fbb1b88682d56a9b80bdd92a853f1caa84e
[ "MIT" ]
13
2021-09-02T07:30:02.000Z
2022-03-22T19:32:03.000Z
HackerRank Solutions/Algorithms/Arrays And Sorting/The Full Counting Sort.cpp
UtkarshPathrabe/Competitive-Coding
ba322fbb1b88682d56a9b80bdd92a853f1caa84e
[ "MIT" ]
null
null
null
HackerRank Solutions/Algorithms/Arrays And Sorting/The Full Counting Sort.cpp
UtkarshPathrabe/Competitive-Coding
ba322fbb1b88682d56a9b80bdd92a853f1caa84e
[ "MIT" ]
3
2021-08-24T16:06:22.000Z
2021-09-17T15:39:53.000Z
#include <bits/stdc++.h> using namespace std; int main (void) { int n, temp; cin >> n; vector< pair<int, string> > data, output; string str; int Count[100] = {0}; for (int i = 0; i < n; i++) { cin >> temp >> str; Count[temp] += 1; if (i < (n / 2)) { data.push_back(make_pair(temp, "-")); } else { d...
19.941176
45
0.516224
UtkarshPathrabe
f754cb95c833b09b3c816ce4c13d717bb9752ab5
1,923
cpp
C++
src/device/Device.cpp
open-aquarium/open-aquarium-embedded
04470926ae052b862c87340560335032e8c30be4
[ "MIT" ]
null
null
null
src/device/Device.cpp
open-aquarium/open-aquarium-embedded
04470926ae052b862c87340560335032e8c30be4
[ "MIT" ]
1
2021-03-14T23:57:56.000Z
2021-03-14T23:57:56.000Z
src/device/Device.cpp
open-aquarium/open-aquarium-embedded
04470926ae052b862c87340560335032e8c30be4
[ "MIT" ]
null
null
null
#include "Device.h" /*Device::Device() { }*/ uint16_t Device::getFreeSRAM() { return (int) SP - (int) (__brkval == 0 ? (int)&__heap_start : (int)__brkval); } uint16_t Device::getSRAMUsage() { return this->getTotalSRAM() - this->getFreeSRAM(); } uint16_t Device::getTotalSRAM() { // return 8192; // 8 KB ret...
21.852273
152
0.668747
open-aquarium
f7558001903771191e2bf744b722fa48b5f0e02b
46,654
cpp
C++
source/runtime/heap.cpp
edmundmk/kenaf
6a4dcdac581346b6e1e8b2fcc53fa50d7a06d1f9
[ "MIT" ]
8
2020-03-19T22:07:08.000Z
2022-03-28T21:52:35.000Z
source/runtime/heap.cpp
edmundmk/kenaf
6a4dcdac581346b6e1e8b2fcc53fa50d7a06d1f9
[ "MIT" ]
null
null
null
source/runtime/heap.cpp
edmundmk/kenaf
6a4dcdac581346b6e1e8b2fcc53fa50d7a06d1f9
[ "MIT" ]
null
null
null
// // heap.cpp // // Created by Edmund Kapusniak on 02/10/2019. // Copyright © 2019 Edmund Kapusniak. // // Licensed under the MIT License. See LICENSE file in the project root for // full license information. // #include "heap.h" #include <stdint.h> #include <limits.h> #include <assert.h> #include <stdio.h> #inc...
26.538111
214
0.521006
edmundmk
f755ba950f073011290e4045bc51832a4c1a1318
431
cpp
C++
binary_GA/binary_GA_utils.cpp
donRumata03/PowerfulGA
e4e2370287a7b654caf92adac8a64a39e23468c9
[ "MIT" ]
3
2020-04-11T10:48:01.000Z
2021-02-09T11:43:12.000Z
binary_GA/binary_GA_utils.cpp
donRumata03/PowerfulGA
e4e2370287a7b654caf92adac8a64a39e23468c9
[ "MIT" ]
6
2020-12-03T15:37:45.000Z
2020-12-09T11:02:37.000Z
binary_GA/binary_GA_utils.cpp
donRumata03/PowerfulGA
e4e2370287a7b654caf92adac8a64a39e23468c9
[ "MIT" ]
1
2021-04-25T21:50:09.000Z
2021-04-25T21:50:09.000Z
#include "binary_GA_utils.h" namespace binary_GA { population generate_population(const pms& ranges, size_t amount) { } void mutate(genome& target_genome, const vector<double>& sigmas, double target_gene_number) { } vector<vector<double>> select_matting_pool(const population& genomes, const vector<dou...
16.576923
118
0.742459
donRumata03
f755e81d8a9b88e30c1dfa753cc824d6548a9dca
35,989
hxx
C++
main/basic/source/inc/namecont.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/basic/source/inc/namecont.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/basic/source/inc/namecont.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...
45.383354
288
0.681931
Grosskopf
f756340b057918c4f1874c68657acdcd6657e851
14,521
cpp
C++
m2qt/m2qt_callback.cpp
ttuna/m2qt
614cc86765ccb2e096bf2bfbe12d03e311ec657f
[ "MIT" ]
null
null
null
m2qt/m2qt_callback.cpp
ttuna/m2qt
614cc86765ccb2e096bf2bfbe12d03e311ec657f
[ "MIT" ]
null
null
null
m2qt/m2qt_callback.cpp
ttuna/m2qt
614cc86765ccb2e096bf2bfbe12d03e311ec657f
[ "MIT" ]
null
null
null
#include "m2qt_callback.h" #include "m2qt_messageparser.h" #include <QCryptographicHash> #include <QJsonObject> #include <QTextStream> #include <QDebug> using namespace M2QT; namespace { static CallbackHelper* helper = new M2QT::CallbackHelper(); // ----------------------------------------------------------------...
38.930295
162
0.547621
ttuna
f75794bba4ddb699f8883e5ae6ed34ed924e46cb
1,893
cpp
C++
src/YoloNet.cpp
VasuGoel/object-detection-yolov3
949884a2981dc61fc0ebae6b1e851a24e05a326c
[ "MIT" ]
null
null
null
src/YoloNet.cpp
VasuGoel/object-detection-yolov3
949884a2981dc61fc0ebae6b1e851a24e05a326c
[ "MIT" ]
null
null
null
src/YoloNet.cpp
VasuGoel/object-detection-yolov3
949884a2981dc61fc0ebae6b1e851a24e05a326c
[ "MIT" ]
null
null
null
#include <string> #include <fstream> #include <sstream> #include <opencv2/dnn.hpp> #include "YoloNet.h" // Load the network void YoloNet::loadNetwork() { network_ = readNetFromDarknet(modelConfiguration_, modelWeights_); network_.setPreferableBackend(DNN_BACKEND_OPENCV); network_.setPreferableTarget(DNN_T...
28.253731
88
0.696778
VasuGoel
f75962c5a91b1eaa3ded9cb44202c1a04b6fc051
22,725
cpp
C++
SimTKcommon/tests/StateTest.cpp
e-schumann/simbody
4d8842270d5c400ef64cfd5723e0e0399161e51f
[ "Apache-2.0" ]
1,916
2015-01-01T09:35:21.000Z
2022-03-30T11:38:43.000Z
SimTKcommon/tests/StateTest.cpp
e-schumann/simbody
4d8842270d5c400ef64cfd5723e0e0399161e51f
[ "Apache-2.0" ]
389
2015-01-01T01:13:51.000Z
2022-03-16T15:30:58.000Z
SimTKcommon/tests/StateTest.cpp
e-schumann/simbody
4d8842270d5c400ef64cfd5723e0e0399161e51f
[ "Apache-2.0" ]
486
2015-01-02T10:25:49.000Z
2022-03-16T15:31:40.000Z
/* -------------------------------------------------------------------------- * * Simbody(tm): SimTKcommon * * -------------------------------------------------------------------------- * * This is part of the SimTK biosimulation toolkit originating from * ...
41.928044
118
0.647789
e-schumann
f75a88547ff2c8e57b03891097471c7d35f5d6bb
3,074
cpp
C++
ICPC_Mirrors/Nitc_8.0/j.cpp
Shahraaz/CP_P_S5
b068ad02d34338337e549d92a14e3b3d9e8df712
[ "MIT" ]
null
null
null
ICPC_Mirrors/Nitc_8.0/j.cpp
Shahraaz/CP_P_S5
b068ad02d34338337e549d92a14e3b3d9e8df712
[ "MIT" ]
null
null
null
ICPC_Mirrors/Nitc_8.0/j.cpp
Shahraaz/CP_P_S5
b068ad02d34338337e549d92a14e3b3d9e8df712
[ "MIT" ]
null
null
null
// Optimise #include <bits/stdc++.h> using namespace std; #ifdef LOCAL #include "/home/shahraaz/bin/debug.h" #else #define db(...) #endif using ll = long long; #define f first #define s second #define pb push_back #define all(v) v.begin(), v.end() const int NAX = 2e5 + 5, MOD = 1000000007; string s; int sum[NAX], t...
22.437956
131
0.450553
Shahraaz
f75df7015a3e5ca381fb59d593d466148d724304
692
cpp
C++
Leetcode_challenges/Day15/canSquare.cpp
vishwajeet-hogale/LearnSTL
0cbfc12b66ba844de23d7966d18cadc7b2d5a77f
[ "MIT" ]
null
null
null
Leetcode_challenges/Day15/canSquare.cpp
vishwajeet-hogale/LearnSTL
0cbfc12b66ba844de23d7966d18cadc7b2d5a77f
[ "MIT" ]
null
null
null
Leetcode_challenges/Day15/canSquare.cpp
vishwajeet-hogale/LearnSTL
0cbfc12b66ba844de23d7966d18cadc7b2d5a77f
[ "MIT" ]
null
null
null
#include<iostream> #include<bits/stdc++.h> using namespace std; bool getSets(vector<int> &nums,vector<int> &r,int i){ if(i == nums.size()){ return !r[0] && !r[1] && !r[2] && !r[3]; } for(int j=0;j<r.size();j++){ r[j] -= nums[i]; if(getSets(nums,r,i+1)){ return tr...
20.352941
53
0.479769
vishwajeet-hogale
f7644ae3353b6069e283868055d1de2a93e31879
1,795
cpp
C++
src/mame/drivers/digijet.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
26
2015-03-31T06:25:51.000Z
2021-12-14T09:29:04.000Z
src/mame/drivers/digijet.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
null
null
null
src/mame/drivers/digijet.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
10
2015-03-27T05:45:51.000Z
2022-02-04T06:57:36.000Z
// license:BSD-3-Clause // copyright-holders:Ryan Holtz /************************************************************************* drivers/digijet.cpp Skeleton driver for the Volkswagen Digijet series of automotive ECUs The Digijet Engine Control Unit (ECU) was used in Volkswagen vehicles from the ea...
26.791045
157
0.666295
Robbbert
f766180031763498659c8b4c461d6bad09bcfd61
3,079
cpp
C++
bridge/runtime/src/main/native/jni/InputReaderMirrorImpl.cpp
asakusafw/asakusafw-m3bp
ffb811da0055ff75f13e73ee4eedb261a46988e0
[ "Apache-2.0" ]
1
2016-12-13T07:50:36.000Z
2016-12-13T07:50:36.000Z
bridge/runtime/src/main/native/jni/InputReaderMirrorImpl.cpp
asakusafw/asakusafw-m3bp
ffb811da0055ff75f13e73ee4eedb261a46988e0
[ "Apache-2.0" ]
153
2016-04-01T08:20:15.000Z
2022-02-09T22:30:46.000Z
bridge/runtime/src/main/native/jni/InputReaderMirrorImpl.cpp
asakusafw/asakusafw-m3bp
ffb811da0055ff75f13e73ee4eedb261a46988e0
[ "Apache-2.0" ]
6
2016-04-01T07:31:57.000Z
2017-03-17T03:15:47.000Z
/* * Copyright 2011-2021 Asakusa Framework Team. * * 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 ...
36.654762
128
0.713868
asakusafw
f767aab25c1208e18c34c34ac7fe9d0e51834510
10,745
cpp
C++
src/software/test_util/test_util_test.cpp
EvanMorcom/Software
586fb3cf8dc2d93de194d9815af5de63caa7e318
[ "MIT" ]
null
null
null
src/software/test_util/test_util_test.cpp
EvanMorcom/Software
586fb3cf8dc2d93de194d9815af5de63caa7e318
[ "MIT" ]
null
null
null
src/software/test_util/test_util_test.cpp
EvanMorcom/Software
586fb3cf8dc2d93de194d9815af5de63caa7e318
[ "MIT" ]
null
null
null
#include "software/test_util/test_util.h" #include <gtest/gtest.h> #include <algorithm> /* * Unit tests for the unit test utilities */ TEST(TestUtilsTest, create_testing_world) { World world = ::TestUtil::createBlankTestingWorld(); EXPECT_EQ(Field::createSSLDivisionBField(), world.field()); EXPECT_EQ...
40.394737
90
0.694183
EvanMorcom
f768e730e3f441c605bfca00f3f57825f33554f4
2,691
cpp
C++
src/vectorMagnitudeDirection.cpp
D-K-E/udacity-linear-algebra
8494440627a48ca13e1d2ec166cb1939639155e0
[ "MIT" ]
null
null
null
src/vectorMagnitudeDirection.cpp
D-K-E/udacity-linear-algebra
8494440627a48ca13e1d2ec166cb1939639155e0
[ "MIT" ]
null
null
null
src/vectorMagnitudeDirection.cpp
D-K-E/udacity-linear-algebra
8494440627a48ca13e1d2ec166cb1939639155e0
[ "MIT" ]
null
null
null
/* Vector Operations Program Author: Kaan Purpose: Implement addition, subtraction, and scalar multiplication Usage: Run the program, enter the vectors. */ // Declare Packages ------------ #include <vector> #include <iostream> #include <assert.h> #include <math.h> // End of Declare Packages ----- // Functi...
28.935484
83
0.616128
D-K-E
f76ad5a740f87e4d795898f335907769b4d51388
945
cpp
C++
src/standard-release/commits/iconventional.cpp
Symbitic/standard-release
335cc62979be076f50c311336bb954fe0adc71c9
[ "MIT" ]
null
null
null
src/standard-release/commits/iconventional.cpp
Symbitic/standard-release
335cc62979be076f50c311336bb954fe0adc71c9
[ "MIT" ]
null
null
null
src/standard-release/commits/iconventional.cpp
Symbitic/standard-release
335cc62979be076f50c311336bb954fe0adc71c9
[ "MIT" ]
null
null
null
#include "iconventional.h" /* https://www.npmjs.com/package/conventional-changelog-writer */ using namespace StandardRelease; IConventionalCommit::IConventionalCommit() : m_valid(false) , m_error() , m_commits() , m_semver() { } IConventionalCommit::~IConventionalCommit() {} void IConventionalComm...
17.830189
82
0.731217
Symbitic
f76d5ea071c8410b88c1139fca575396b32afdca
2,018
cpp
C++
modules/paint/actions/bucket_action.cpp
Relintai/pandemonium_engine
3de05db75a396b497f145411f71eb363572b38ae
[ "MIT", "Apache-2.0", "CC-BY-4.0", "Unlicense" ]
null
null
null
modules/paint/actions/bucket_action.cpp
Relintai/pandemonium_engine
3de05db75a396b497f145411f71eb363572b38ae
[ "MIT", "Apache-2.0", "CC-BY-4.0", "Unlicense" ]
null
null
null
modules/paint/actions/bucket_action.cpp
Relintai/pandemonium_engine
3de05db75a396b497f145411f71eb363572b38ae
[ "MIT", "Apache-2.0", "CC-BY-4.0", "Unlicense" ]
null
null
null
/* Copyright (c) 2019 Flairieve Copyright (c) 2020-2022 cobrapitz Copyright (c) 2022 Péter Magyar 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 ...
27.27027
78
0.745292
Relintai
f76f7e85e16eba7251f8753db7c87381c118c128
4,395
hpp
C++
src/Cuda/Container/Array2DCudaHost.hpp
devshank3/Open3D
91611eb562680a41be8a52497bb45d278f2c9377
[ "MIT" ]
113
2018-11-12T03:32:52.000Z
2022-03-29T13:58:54.000Z
src/Cuda/Container/Array2DCudaHost.hpp
llp45135/Open3D
ff7003d542c4fcf88a2d9e7fe08508b3e52dc702
[ "MIT" ]
3
2018-10-19T12:09:57.000Z
2020-04-22T11:55:54.000Z
src/Cuda/Container/Array2DCudaHost.hpp
llp45135/Open3D
ff7003d542c4fcf88a2d9e7fe08508b3e52dc702
[ "MIT" ]
27
2018-10-16T20:01:18.000Z
2021-07-26T08:02:20.000Z
// // Created by wei on 1/14/19. // #include "Array2DCuda.h" #include <Cuda/Common/UtilsCuda.h> namespace open3d { namespace cuda { template<typename T> Array2DCuda<T>::Array2DCuda() { max_rows_ = max_cols_ = pitch_ = -1; } template<typename T> Array2DCuda<T>::Array2DCuda(int max_rows, int max_cols) { Crea...
27.993631
80
0.622753
devshank3
f7738133bf9137aae741ad00a0af999d084ecfdb
28,509
cpp
C++
StarEngine/jni/Helpers/Helpers.cpp
madhubandubey9/StarEngine
1d0adcf8cfd50bc223be6f333c4f2a0af5260b27
[ "MIT" ]
455
2015-02-04T01:39:12.000Z
2022-03-18T17:28:34.000Z
StarEngine/jni/Helpers/Helpers.cpp
madhubandubey9/StarEngine
1d0adcf8cfd50bc223be6f333c4f2a0af5260b27
[ "MIT" ]
1
2016-12-25T09:14:12.000Z
2016-12-25T14:48:27.000Z
StarEngine/jni/Helpers/Helpers.cpp
madhubandubey9/StarEngine
1d0adcf8cfd50bc223be6f333c4f2a0af5260b27
[ "MIT" ]
117
2015-01-30T10:13:54.000Z
2022-03-08T03:46:42.000Z
#include "Helpers.h" #include "..\Logger.h" #include "FilePath.h" #include <iostream> #include <fstream> #include <string> #include <locale> #include <clocale> #include <vector> #ifdef _WIN32 #include <windows.h> #endif #ifdef ANDROID #include "HelpersAndroid.h" #include "../StarEngine.h" #endif nam...
24.366667
98
0.627837
madhubandubey9
f773d8954bf9f8e6fb62b9055d5df53a3eaa91ad
10,893
cpp
C++
Source/Urho3D/Scene/CameraViewport.cpp
vinhig/rbfx
884de45c623d591f346a2abd5e52edaa84bcc137
[ "MIT" ]
441
2018-12-26T14:50:23.000Z
2021-11-05T03:13:27.000Z
Source/Urho3D/Scene/CameraViewport.cpp
vinhig/rbfx
884de45c623d591f346a2abd5e52edaa84bcc137
[ "MIT" ]
221
2018-12-29T17:40:23.000Z
2021-11-06T21:41:55.000Z
Source/Urho3D/Scene/CameraViewport.cpp
vinhig/rbfx
884de45c623d591f346a2abd5e52edaa84bcc137
[ "MIT" ]
101
2018-12-29T13:08:10.000Z
2021-11-02T09:58:37.000Z
// // Copyright (c) 2017-2020 the rbfx project. // // 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...
36.069536
129
0.623061
vinhig
f777337c6d45ab6c2c4ba104b4d345eb58a51e70
4,613
cpp
C++
3C1V_Donkey_Kong/DonkeyKong_Solution/Source/ModuleEnemies.cpp
unaidiaz/pryecto1
aa074c32587e8207cb89d6634391bb43aa9a4657
[ "BSD-3-Clause" ]
2
2020-05-20T15:48:29.000Z
2020-08-17T03:35:56.000Z
3C1V_Donkey_Kong/DonkeyKong_Solution/Source/ModuleEnemies.cpp
unaidiaz/proyecto1
aa074c32587e8207cb89d6634391bb43aa9a4657
[ "BSD-3-Clause" ]
null
null
null
3C1V_Donkey_Kong/DonkeyKong_Solution/Source/ModuleEnemies.cpp
unaidiaz/proyecto1
aa074c32587e8207cb89d6634391bb43aa9a4657
[ "BSD-3-Clause" ]
null
null
null
#include "ModuleEnemies.h" #include "Application.h" #include"ModulePlayer.h" #include "ModuleRender.h" #include "ModuleTextures.h" #include "ModuleAudio.h" #include "SceneLevel4.h" #include"Enemy_Barril.h" #include"Enemy_Barrilazul.h" #include "Enemy.h" #include "Enemy_Llama.h" #include "Enemy_Kong.h" #include "muelle...
20.686099
95
0.656406
unaidiaz
f77a0206d669785a0f6b7d2be5174d9d9277d9de
2,728
hpp
C++
app/Snapper.hpp
isonil/survival
ecb59af9fcbb35b9c28fd4fe29a4628f046165c8
[ "MIT" ]
1
2017-05-12T10:12:41.000Z
2017-05-12T10:12:41.000Z
app/Snapper.hpp
isonil/Survival
ecb59af9fcbb35b9c28fd4fe29a4628f046165c8
[ "MIT" ]
null
null
null
app/Snapper.hpp
isonil/Survival
ecb59af9fcbb35b9c28fd4fe29a4628f046165c8
[ "MIT" ]
1
2019-01-09T04:05:36.000Z
2019-01-09T04:05:36.000Z
#ifndef APP_SNAPPER_HPP #define APP_SNAPPER_HPP #include "engine/util/Vec3.hpp" #include <array> namespace app { class Structure; class StructureDef; class Snapper { public: static std::vector <std::pair <engine::FloatVec3, engine::FloatVec3>> trySnap(const Structure &first, const StructureDef &secondDef, cons...
40.117647
266
0.707845
isonil
f77bb556134507b59a45195ee52fbe40e52db717
1,131
cpp
C++
apple-1-replica/emulator/streamin.cpp
paulscottrobson/assorted-archives
87ce21ef1556bed441fffbb5c4c3c11c06324385
[ "MIT" ]
null
null
null
apple-1-replica/emulator/streamin.cpp
paulscottrobson/assorted-archives
87ce21ef1556bed441fffbb5c4c3c11c06324385
[ "MIT" ]
null
null
null
apple-1-replica/emulator/streamin.cpp
paulscottrobson/assorted-archives
87ce21ef1556bed441fffbb5c4c3c11c06324385
[ "MIT" ]
1
2020-01-02T13:54:19.000Z
2020-01-02T13:54:19.000Z
// ******************************************************************************************************************************* // ******************************************************************************************************************************* // // Name: streamin.cpp // Purpose: Input Stream for E...
31.416667
130
0.362511
paulscottrobson
f77ff8aa7082cd461fe2b307bd8f25f60a792a47
6,971
cpp
C++
modules/web/fcgiCHAT.cpp
omnidynmc/openapi
7c28179859125efb8c945d0c44543194e6bcd09f
[ "MIT" ]
null
null
null
modules/web/fcgiCHAT.cpp
omnidynmc/openapi
7c28179859125efb8c945d0c44543194e6bcd09f
[ "MIT" ]
null
null
null
modules/web/fcgiCHAT.cpp
omnidynmc/openapi
7c28179859125efb8c945d0c44543194e6bcd09f
[ "MIT" ]
null
null
null
#include <fcgi_stdio.h> #include <list> #include <fstream> #include <queue> #include <cstdlib> #include <cstdio> #include <cstring> #include <new> #include <iostream> #include <string> #include <exception> #include <stdio.h> #include <unistd.h> #include <time.h> #include <mysql++.h> #include <openframe/openframe.h>...
32.273148
111
0.527901
omnidynmc
f7808a8aed1c5554630a1b3ad6cf8931cd32b74d
101,639
cpp
C++
SAVE/i2cbus.cpp
Kochise/parai2c
998457e85d0252dd6423efff94817445e5d77406
[ "MIT" ]
null
null
null
SAVE/i2cbus.cpp
Kochise/parai2c
998457e85d0252dd6423efff94817445e5d77406
[ "MIT" ]
null
null
null
SAVE/i2cbus.cpp
Kochise/parai2c
998457e85d0252dd6423efff94817445e5d77406
[ "MIT" ]
null
null
null
/******************************************************************************/ /* @F_NAME: i2cbus.cpp */ /* @F_PURPOSE: C++ I2C bus control manager (on parallel port) */ /* @F_CREATED_BY: D. KOCH (david.koch@libertysurf.fr) ...
58.750867
105
0.231201
Kochise
f782d31f58d0659025581dbf9d78ec3776d5b27b
1,404
hpp
C++
src/common/deserializer.hpp
adlerjohn/ech-cpp-dev
60584994266b1c83e997e831238d14f5bd015e5a
[ "Apache-2.0" ]
2
2020-06-01T00:30:12.000Z
2020-06-05T18:41:48.000Z
src/common/deserializer.hpp
adlerjohn/ech-cpp-dev
60584994266b1c83e997e831238d14f5bd015e5a
[ "Apache-2.0" ]
null
null
null
src/common/deserializer.hpp
adlerjohn/ech-cpp-dev
60584994266b1c83e997e831238d14f5bd015e5a
[ "Apache-2.0" ]
1
2020-06-05T18:33:28.000Z
2020-06-05T18:33:28.000Z
#pragma once // System includes #include <cstddef> // Library includes #include "crypto/byteset.hpp" namespace ech { namespace deserializer { /** * Move bytes from the serialized representation directly into a byteset container. * @tparam T Type of byteset. * @param serial Serialized representation (will get mod...
22.645161
95
0.689459
adlerjohn
f7834188171a3a029dfcf4507babef66a70d580c
1,846
cc
C++
chrome/browser/sync/glue/bridged_sync_notifier.cc
Crystalnix/BitPop
1fae4ecfb965e163f6ce154b3988b3181678742a
[ "BSD-3-Clause" ]
7
2015-05-20T22:41:35.000Z
2021-11-18T19:07:59.000Z
chrome/browser/sync/glue/bridged_sync_notifier.cc
Crystalnix/BitPop
1fae4ecfb965e163f6ce154b3988b3181678742a
[ "BSD-3-Clause" ]
1
2015-02-02T06:55:08.000Z
2016-01-20T06:11:59.000Z
chrome/browser/sync/glue/bridged_sync_notifier.cc
Crystalnix/BitPop
1fae4ecfb965e163f6ce154b3988b3181678742a
[ "BSD-3-Clause" ]
2
2015-12-08T00:37:41.000Z
2017-04-06T05:34:05.000Z
// Copyright (c) 2012 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 "chrome/browser/sync/glue/bridged_sync_notifier.h" #include "chrome/browser/sync/glue/chrome_sync_notification_bridge.h" namespace browser_...
27.969697
73
0.756771
Crystalnix
f786d644e7ad3bc178847d7615ea71bb0031e382
1,637
cc
C++
dreal/util/math.cc
soonhokong/dreal4
573e613560f5dce9ad54a2f685e060fe447310c7
[ "Apache-2.0" ]
104
2017-12-07T18:17:35.000Z
2022-03-31T06:58:13.000Z
dreal/util/math.cc
soonhokong/dreal4
573e613560f5dce9ad54a2f685e060fe447310c7
[ "Apache-2.0" ]
250
2017-09-01T01:32:45.000Z
2022-03-29T04:08:00.000Z
dreal/util/math.cc
soonhokong/dreal4
573e613560f5dce9ad54a2f685e060fe447310c7
[ "Apache-2.0" ]
16
2018-01-07T07:40:11.000Z
2022-03-24T05:01:11.000Z
/* Copyright 2017 Toyota Research Institute 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 agre...
27.745763
78
0.672572
soonhokong
f789d012cdd9b34ab369479ed2d5fb485542781a
10,372
cpp
C++
src/tools/kdb/cmdline.cpp
0003088/libelektra-qt-gui-test
f127a7bd4daba1b70e1ea0ce13d8ff650beda5b6
[ "BSD-3-Clause" ]
null
null
null
src/tools/kdb/cmdline.cpp
0003088/libelektra-qt-gui-test
f127a7bd4daba1b70e1ea0ce13d8ff650beda5b6
[ "BSD-3-Clause" ]
null
null
null
src/tools/kdb/cmdline.cpp
0003088/libelektra-qt-gui-test
f127a7bd4daba1b70e1ea0ce13d8ff650beda5b6
[ "BSD-3-Clause" ]
null
null
null
#include <cmdline.hpp> #include <kdb.hpp> #include <keysetio.hpp> #include <kdbconfig.h> #include <iostream> #include <vector> #include <cstdio> #include <set> #include <getopt.h> #include <command.hpp> using namespace std; Cmdline::Cmdline (int argc, char** argv, Command *command ) : helpText(), in...
30.505882
118
0.595546
0003088
f791bac48d9a86b81a4a355f9d91beaa51ed14db
7,146
hpp
C++
tests/performance/opencl/util/cl_tests.hpp
STEllAR-GROUP/hpxcl
1d5fd791016548856d65866f64ca169778402c4f
[ "BSL-1.0" ]
30
2015-10-01T16:15:02.000Z
2022-03-17T12:21:47.000Z
tests/performance/opencl/util/cl_tests.hpp
STEllAR-GROUP/hpxcl
1d5fd791016548856d65866f64ca169778402c4f
[ "BSL-1.0" ]
50
2015-06-21T01:05:34.000Z
2021-08-06T18:20:54.000Z
tests/performance/opencl/util/cl_tests.hpp
STEllAR-GROUP/hpxcl
1d5fd791016548856d65866f64ca169778402c4f
[ "BSL-1.0" ]
23
2015-03-18T11:18:36.000Z
2021-12-27T16:36:32.000Z
// Copyright (c) 2013 Martin Stumpf // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include <hpx/config.hpp> #include <hpx/hpx.hpp> #include <hpx/hpx_init.hpp> #include <hpx/util/lightweight_test.hpp> //#...
37.809524
80
0.565911
STEllAR-GROUP
f7927b77ea3c9b173b3e2f973dff416745f85fa0
11,329
cpp
C++
implementations/ugene/src/plugins/biostruct3d_view/src/deprecated/BioStruct3DColorScheme.cpp
r-barnes/sw_comparison
1ac2c9cc10a32badd6b8fb1e96516c97f7800176
[ "BSD-Source-Code" ]
null
null
null
implementations/ugene/src/plugins/biostruct3d_view/src/deprecated/BioStruct3DColorScheme.cpp
r-barnes/sw_comparison
1ac2c9cc10a32badd6b8fb1e96516c97f7800176
[ "BSD-Source-Code" ]
null
null
null
implementations/ugene/src/plugins/biostruct3d_view/src/deprecated/BioStruct3DColorScheme.cpp
r-barnes/sw_comparison
1ac2c9cc10a32badd6b8fb1e96516c97f7800176
[ "BSD-Source-Code" ]
null
null
null
/** * UGENE - Integrated Bioinformatics Tools. * Copyright (C) 2008-2020 UniPro <ugene@unipro.ru> * http://ugene.net * * 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 * ...
37.763333
159
0.696708
r-barnes
f7942f03328ecfd2ca4febc685efc7f233f1a4ed
964
cpp
C++
Codigos de ejercicios en cpp/Programa 12.cpp
EulisesBrazon/ejercicios-c-
700235bced91bc6f508ca6d203ea7ee7c241006c
[ "Apache-2.0" ]
null
null
null
Codigos de ejercicios en cpp/Programa 12.cpp
EulisesBrazon/ejercicios-c-
700235bced91bc6f508ca6d203ea7ee7c241006c
[ "Apache-2.0" ]
null
null
null
Codigos de ejercicios en cpp/Programa 12.cpp
EulisesBrazon/ejercicios-c-
700235bced91bc6f508ca6d203ea7ee7c241006c
[ "Apache-2.0" ]
null
null
null
#include<iostream> #include<stdio.h> #include<conio.h> using namespace std; int main() { double L1,L2,L3,n=1,Mayor; cout<<"Ingrese el primer lado del triangulo"<<endl; cin>>L1; cout<<"Ingrese el segundo lado del triangulo"<<endl; cin>>L2; cout<<"Ingrese el tercer lado del triangulo"<<endl; cin>>L3; if((L1>L2)&&...
17.851852
53
0.572614
EulisesBrazon
f794806f6daf1d60c7d9ad9bdaf5dc58b2a5450f
393
cpp
C++
NaoTHSoccer/Source/Representations/Modeling/CollisionModel.cpp
tarsoly/NaoTH
dcd2b67ef6bf9953c81d3e1b26e543b5922b7d52
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
NaoTHSoccer/Source/Representations/Modeling/CollisionModel.cpp
tarsoly/NaoTH
dcd2b67ef6bf9953c81d3e1b26e543b5922b7d52
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
NaoTHSoccer/Source/Representations/Modeling/CollisionModel.cpp
tarsoly/NaoTH
dcd2b67ef6bf9953c81d3e1b26e543b5922b7d52
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
#include "CollisionModel.h" CollisionModel::CollisionModel() : isColliding(false) { } CollisionModel::~CollisionModel() { } void CollisionModel::print(std::ostream &stream) const { stream << "isColliding=" << (isColliding ? "true" : "false") << std::endl; if(isColliding) { stream << "collision start "...
16.375
76
0.651399
tarsoly
f79725302d4d94781cfb35fbb28fd721dc9a7216
6,422
hpp
C++
src/framework/utils/worker/worker.hpp
abelov-spirent/openperf
303b6b5534973ea145a8223a55ee7b65e7464e25
[ "Apache-2.0" ]
null
null
null
src/framework/utils/worker/worker.hpp
abelov-spirent/openperf
303b6b5534973ea145a8223a55ee7b65e7464e25
[ "Apache-2.0" ]
null
null
null
src/framework/utils/worker/worker.hpp
abelov-spirent/openperf
303b6b5534973ea145a8223a55ee7b65e7464e25
[ "Apache-2.0" ]
null
null
null
#ifndef _OP_UTILS_WORKER_HPP_ #define _OP_UTILS_WORKER_HPP_ #include <memory> #include <zmq.h> #include <thread> #include <forward_list> #include <atomic> #include <cstring> #include <optional> #include "core/op_core.h" #include "core/op_thread.h" #include "utils/worker/task.hpp" namespace openperf::utils::worker { ...
25.484127
77
0.61554
abelov-spirent
f799755e7e47dcb07d48be5193db428cbaf2a490
18,648
hpp
C++
c++/include/serial/objectiter.hpp
OpenHero/gblastn
a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8
[ "MIT" ]
31
2016-12-09T04:56:59.000Z
2021-12-31T17:19:10.000Z
c++/include/serial/objectiter.hpp
OpenHero/gblastn
a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8
[ "MIT" ]
6
2017-03-10T17:25:13.000Z
2021-09-22T15:49:49.000Z
c++/include/serial/objectiter.hpp
OpenHero/gblastn
a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8
[ "MIT" ]
20
2015-01-04T02:15:17.000Z
2021-12-03T02:31:43.000Z
#ifndef OBJECTITER__HPP #define OBJECTITER__HPP /* $Id: objectiter.hpp 358154 2012-03-29 15:05:12Z gouriano $ * =========================================================================== * * PUBLIC DOMAIN NOTICE * National Center for Biotechnology Information * * This softwa...
30.321951
80
0.673155
OpenHero
f799a8c915ae41e0ff0af44cdfc237bb63a92df1
420
cpp
C++
LeetCode/DP/413. Arithmetic Slices.cpp
Sowmik23/All-Codes
212ef0d940fa84624bb2972a257768a830a709a3
[ "MIT" ]
1
2019-11-12T13:40:44.000Z
2019-11-12T13:40:44.000Z
LeetCode/DP/413. Arithmetic Slices.cpp
Sowmik23/All-Codes
212ef0d940fa84624bb2972a257768a830a709a3
[ "MIT" ]
null
null
null
LeetCode/DP/413. Arithmetic Slices.cpp
Sowmik23/All-Codes
212ef0d940fa84624bb2972a257768a830a709a3
[ "MIT" ]
null
null
null
class Solution { public: int numberOfArithmeticSlices(vector<int>& nums) { if(nums.size()<3) return 0; int res=0; int dp = 0; for(int i=2;i<nums.size();i++){ if(nums[i]-nums[i-1]==nums[i-1]-nums[i-2]) dp++; else { dp =...
19.090909
60
0.371429
Sowmik23
f799d73477a10af37ab1849fb862fe21f7584ba9
34,627
cc
C++
media/filters/video_frame_stream_unittest.cc
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
1
2020-09-15T08:43:34.000Z
2020-09-15T08:43:34.000Z
media/filters/video_frame_stream_unittest.cc
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
null
null
null
media/filters/video_frame_stream_unittest.cc
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2012 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 <utility> #include "base/bind.h" #include "base/callback_helpers.h" #include "base/macros.h" #include "base/message_loop/message_loop.h" #in...
30.454705
80
0.727496
maidiHaitai
f79b3b17326575775c777a0575f8367f879ec7d0
79
cpp
C++
vendor/github.com/bep/golibsass/internal/libsass/stylesheet.cpp
f110/hugo
d99379094f1352ece8751b54ace8964d0811916e
[ "Apache-2.0" ]
17
2020-02-06T22:21:59.000Z
2022-02-17T09:14:36.000Z
vendor/github.com/bep/golibsass/internal/libsass/stylesheet.cpp
f110/hugo
d99379094f1352ece8751b54ace8964d0811916e
[ "Apache-2.0" ]
5
2020-02-12T14:41:49.000Z
2021-11-03T19:45:00.000Z
vendor/github.com/bep/golibsass/internal/libsass/stylesheet.cpp
f110/hugo
d99379094f1352ece8751b54ace8964d0811916e
[ "Apache-2.0" ]
5
2020-02-28T08:01:50.000Z
2021-06-14T14:28:58.000Z
#ifndef USE_LIBSASS_SRC #include "../../libsass_src/src/stylesheet.cpp" #endif
19.75
47
0.759494
f110
f79e4d3d0d08758c029c1a0777b72963507d59c7
480
cpp
C++
abc073/abc073_c.cpp
crazystylus/AtCoderPractice
8e0f56a9b3905e11f83f351af66af5bfed8606b2
[ "MIT" ]
null
null
null
abc073/abc073_c.cpp
crazystylus/AtCoderPractice
8e0f56a9b3905e11f83f351af66af5bfed8606b2
[ "MIT" ]
null
null
null
abc073/abc073_c.cpp
crazystylus/AtCoderPractice
8e0f56a9b3905e11f83f351af66af5bfed8606b2
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define ll long long #define ull unsigned long long #define rep(i, n) for (int i = 0; i < n; i++) const int mod = 1e9 + 7; // 10^9 + 7; const int N = 1e5 + 1; /////////////////// int n; void solve() { int a; unordered_map<int, bool> hm; cin >> n; rep(i, n) { cin...
17.777778
45
0.50625
crazystylus
f7a1768f3a9de02f8d54c2d4d98edc0f542d978a
38,078
cpp
C++
OCVWarp.cpp
hn-88/OCVWarp
8cae8dc544bad18bc91a2c6635b6edb96985b4bc
[ "MIT" ]
2
2020-04-01T02:43:13.000Z
2020-06-28T13:52:03.000Z
OCVWarp.cpp
hn-88/OCVWarp
8cae8dc544bad18bc91a2c6635b6edb96985b4bc
[ "MIT" ]
13
2020-04-01T08:06:50.000Z
2021-01-16T15:47:15.000Z
OCVWarp.cpp
hn-88/OCVWarp
8cae8dc544bad18bc91a2c6635b6edb96985b4bc
[ "MIT" ]
null
null
null
#ifdef _WIN64 #include "windows.h" #endif /* * OCVWarp.cpp * * Warps video files using the OpenCV framework. * Appends F to the filename and saves as default codec (DIVX avi) in the same folder. * * first commit: * Hari Nandakumar * 25 Jan 2020 * * */ //#define _WIN64 //#define __unix__ // references...
31.391591
131
0.582489
hn-88
f7a209035950c773455ca1b6e4c33fcd8dc85ae4
2,860
hxx
C++
engine/src/resources/memory_manager.hxx
Alabuta/VulkanIsland
f33a16fa163527270bc14d03bcfed06dbddbb416
[ "MIT" ]
null
null
null
engine/src/resources/memory_manager.hxx
Alabuta/VulkanIsland
f33a16fa163527270bc14d03bcfed06dbddbb416
[ "MIT" ]
null
null
null
engine/src/resources/memory_manager.hxx
Alabuta/VulkanIsland
f33a16fa163527270bc14d03bcfed06dbddbb416
[ "MIT" ]
1
2018-10-03T17:05:43.000Z
2018-10-03T17:05:43.000Z
#pragma once #include <memory> #include "main.hxx" #include "utility/mpl.hxx" #include "vulkan/device.hxx" namespace resource { class buffer; class image; class memory_manager; struct memory_allocator; } namespace resource { struct memory_requirements final { std::size_t size, alignmen...
29.484536
117
0.694755
Alabuta
f7a226310cc0c85788d78916241493e2048756e6
784
cpp
C++
doc/examples/judgegirl-20009/ISMQ-disjoint.cpp
morris821028/parallel-VGLCS
87fe1c71e14cf7ed6092f728b085b735cf683a4b
[ "Apache-2.0" ]
2
2017-02-11T08:45:21.000Z
2020-12-22T07:30:24.000Z
doc/examples/judgegirl-20009/ISMQ-disjoint.cpp
morris821028/parallel-VGLCS
87fe1c71e14cf7ed6092f728b085b735cf683a4b
[ "Apache-2.0" ]
2
2017-02-21T02:01:16.000Z
2017-02-24T00:13:34.000Z
doc/examples/judgegirl-20009/ISMQ-disjoint.cpp
morris821028/parallel-VGLCS
87fe1c71e14cf7ed6092f728b085b735cf683a4b
[ "Apache-2.0" ]
null
null
null
#include "ISMQ.h" #define MAXN (1<<24) static int32_t lIdx, x; static uint32_t value[MAXN], parent[MAXN]; static uint32_t weight[MAXN], leader[MAXN]; static uint32_t findp(uint32_t x) { return parent[x] == x ? x : (parent[x] = findp(parent[x])); } void init_ISMQ(int N) { x = -1, lIdx = -1; } void append_ISMQ(...
24.5
81
0.552296
morris821028
f7a53650625e9d01c6746db137083a22d3293014
257
cpp
C++
answers/Jeevansh/Day1/question1.cpp
arc03/30-DaysOfCode-March-2021
6d6e11bf70280a578113f163352fa4fa8408baf6
[ "MIT" ]
22
2021-03-16T14:07:47.000Z
2021-08-13T08:52:50.000Z
answers/Jeevansh/Day1/question1.cpp
arc03/30-DaysOfCode-March-2021
6d6e11bf70280a578113f163352fa4fa8408baf6
[ "MIT" ]
174
2021-03-16T21:16:40.000Z
2021-06-12T05:19:51.000Z
answers/Jeevansh/Day1/question1.cpp
arc03/30-DaysOfCode-March-2021
6d6e11bf70280a578113f163352fa4fa8408baf6
[ "MIT" ]
135
2021-03-16T16:47:12.000Z
2021-06-27T14:22:38.000Z
#include<iostream> using namespace std; int main() { int n,i; cout<<"Enter value of n\n"; //number of times the loop needs to be executed cin>>n; for(i=1;i<=n;i++) { cout<<(i*i*i)+(2*i); cout<<" "; } return 0; }
17.133333
80
0.509728
arc03
f7a80c45731ec94d5a40e0d75f2160402e045f44
35,386
hpp
C++
src/include/core/smileComponent.hpp
elinjammal/opensmile
0ae2da44e61744ff1aaa9bae2b95d747febb08de
[ "W3C" ]
245
2020-10-24T16:27:13.000Z
2022-03-31T03:01:11.000Z
src/include/core/smileComponent.hpp
elinjammal/opensmile
0ae2da44e61744ff1aaa9bae2b95d747febb08de
[ "W3C" ]
41
2021-01-13T11:30:42.000Z
2022-01-14T14:36:11.000Z
src/include/core/smileComponent.hpp
elinjammal/opensmile
0ae2da44e61744ff1aaa9bae2b95d747febb08de
[ "W3C" ]
43
2020-12-11T15:28:19.000Z
2022-03-20T11:55:58.000Z
/*F*************************************************************************** * This file is part of openSMILE. * * Copyright (c) audEERING GmbH. All rights reserved. * See the file COPYING for details on license terms. ***************************************************************************E*/ #ifndef __SM...
44.122195
196
0.667072
elinjammal
f7a9ad7ffec282bf4bdb826d448eadc0c3adf4c5
5,960
hh
C++
openjdk11/src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-os2-table.hh
iootclab/openjdk
b01fc962705eadfa96def6ecff46c44d522e0055
[ "Apache-2.0" ]
null
null
null
openjdk11/src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-os2-table.hh
iootclab/openjdk
b01fc962705eadfa96def6ecff46c44d522e0055
[ "Apache-2.0" ]
null
null
null
openjdk11/src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-os2-table.hh
iootclab/openjdk
b01fc962705eadfa96def6ecff46c44d522e0055
[ "Apache-2.0" ]
null
null
null
/* * Copyright © 2011,2012 Google, Inc. * * This is part of HarfBuzz, a text shaping library. * * Permission is hereby granted, without written agreement and without * license or royalty fees, to use, copy, modify, and distribute this * software and its documentation for any purpose, provided that the * above...
32.568306
116
0.666611
iootclab
f7ac1e5c5a31bd4a849b3f88bd138a9e3dcc5a8b
2,065
cpp
C++
Camera.cpp
KarmaiSAYIn/recapp
c1a968214b4cf1b4d8befd1c72bedf64e1fc0813
[ "BSD-3-Clause" ]
null
null
null
Camera.cpp
KarmaiSAYIn/recapp
c1a968214b4cf1b4d8befd1c72bedf64e1fc0813
[ "BSD-3-Clause" ]
null
null
null
Camera.cpp
KarmaiSAYIn/recapp
c1a968214b4cf1b4d8befd1c72bedf64e1fc0813
[ "BSD-3-Clause" ]
null
null
null
#include "Camera.h" #include "Graphics.h" #include "Mouse.h" #include "Keyboard.h" #include "Math.h" Camera::Camera(CoordinateTransformer& transformer) : transformer(transformer) { } Camera::Camera(CoordinateTransformer& transformer, float initScale, float fScaleRate) : scale(initScale), fScaleRat...
24.011628
187
0.658596
KarmaiSAYIn
f7ae0c8fd7880c2d6ad29f9153352aa439f2413f
5,073
cpp
C++
comms/Cluster.cpp
dehilsterlexis/eclide-1
0c1685cc7165191b5033d450c59aec479f01010a
[ "Apache-2.0" ]
8
2016-08-29T13:34:18.000Z
2020-12-04T15:20:36.000Z
comms/Cluster.cpp
dehilsterlexis/eclide-1
0c1685cc7165191b5033d450c59aec479f01010a
[ "Apache-2.0" ]
221
2016-06-20T19:51:48.000Z
2022-03-29T20:46:46.000Z
comms/Cluster.cpp
dehilsterlexis/eclide-1
0c1685cc7165191b5033d450c59aec479f01010a
[ "Apache-2.0" ]
13
2016-06-24T15:59:31.000Z
2022-01-01T11:48:20.000Z
#include "StdAfx.h" #include "cluster.h" #include "dali.h" #include "SoapUtil.h" #include "clib.h" #include "cache.h" #include "logger.h" #if _COMMS_VER < 68200 using namespace WsTopology; #elif _COMMS_VER < 700000 #else using namespace WsEnvironment; #endif namespace Topology { class CCluster : public ICluster, publ...
23.705607
177
0.609698
dehilsterlexis
f7aff1b047ae5b6528120ba97234e36b3b80cd50
1,073
cpp
C++
leetcode/25-reverse-nodes-in-k-group.cpp
01nomagic/Algorithms
b184aa12141f5127baa55502d3ea47ccd1f97ba8
[ "MIT" ]
2
2021-03-27T03:23:20.000Z
2021-08-11T12:54:17.000Z
leetcode/25-reverse-nodes-in-k-group.cpp
01nomagic/Algorithms
b184aa12141f5127baa55502d3ea47ccd1f97ba8
[ "MIT" ]
null
null
null
leetcode/25-reverse-nodes-in-k-group.cpp
01nomagic/Algorithms
b184aa12141f5127baa55502d3ea47ccd1f97ba8
[ "MIT" ]
null
null
null
struct ListNode { int val; ListNode *next; ListNode(int x) : val(x), next(nullptr) {} }; class Solution { public: ListNode* reverseKGroup(ListNode* head, int k) { if (k <= 1) { return head; } int count = 0; ListNode* prev = nullptr; ListNode* curr = head; ListNode* start = nullptr...
20.634615
50
0.444548
01nomagic
f7b191c0ef7adf603aa7fcb49abf09598e10906f
1,407
hpp
C++
libs/ledger/include/ledger/chaincode/factory.hpp
cyenyxe/ledger
6b42c3a3a5c78d257a02634437f9e00d1439690b
[ "Apache-2.0" ]
null
null
null
libs/ledger/include/ledger/chaincode/factory.hpp
cyenyxe/ledger
6b42c3a3a5c78d257a02634437f9e00d1439690b
[ "Apache-2.0" ]
null
null
null
libs/ledger/include/ledger/chaincode/factory.hpp
cyenyxe/ledger
6b42c3a3a5c78d257a02634437f9e00d1439690b
[ "Apache-2.0" ]
null
null
null
#pragma once //------------------------------------------------------------------------------ // // Copyright 2018-2019 Fetch.AI Limited // // 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 Licen...
29.93617
85
0.659559
cyenyxe
fc8d9cbb7ef7e5c5575973d96eb88c5f25affa9e
57,385
cpp
C++
src/Pegasus/ControlProviders/CertificateProvider/CertificateProvider.cpp
ncultra/Pegasus-2.5
4a0b9a1b37e2eae5c8105fdea631582dc2333f9a
[ "MIT" ]
null
null
null
src/Pegasus/ControlProviders/CertificateProvider/CertificateProvider.cpp
ncultra/Pegasus-2.5
4a0b9a1b37e2eae5c8105fdea631582dc2333f9a
[ "MIT" ]
null
null
null
src/Pegasus/ControlProviders/CertificateProvider/CertificateProvider.cpp
ncultra/Pegasus-2.5
4a0b9a1b37e2eae5c8105fdea631582dc2333f9a
[ "MIT" ]
1
2022-03-07T22:54:02.000Z
2022-03-07T22:54:02.000Z
//%2005//////////////////////////////////////////////////////////////////////// // // Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development // Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. // Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.; // IBM Corp.; EMC Cor...
38.513423
153
0.602962
ncultra
fc906a2bfe61ef2f84e65645354923805de7afcd
37,362
hpp
C++
cisco-ios-xe/ydk/models/cisco_ios_xe/CISCO_TC.hpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
17
2016-12-02T05:45:49.000Z
2022-02-10T19:32:54.000Z
cisco-ios-xe/ydk/models/cisco_ios_xe/CISCO_TC.hpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
2
2017-03-27T15:22:38.000Z
2019-11-05T08:30:16.000Z
cisco-ios-xe/ydk/models/cisco_ios_xe/CISCO_TC.hpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
11
2016-12-02T05:45:52.000Z
2019-11-07T08:28:17.000Z
#ifndef _CISCO_TC_ #define _CISCO_TC_ #include <memory> #include <vector> #include <string> #include <ydk/types.hpp> #include <ydk/errors.hpp> namespace cisco_ios_xe { namespace CISCO_TC { class CiscoPortListRange : public ydk::Enum { public: static const ydk::Enum::YLeaf oneto2k; static const yd...
52.254545
71
0.626572
CiscoDevNet
fc92921f2bf8f6aa4b09393a636bf28f83f695f5
3,415
cpp
C++
Sources/Commands/command_gpt.cpp
c3358/ntfstool
08d6efc1298cb223fe9f24c3849e1aad08c5a45f
[ "MIT" ]
1
2021-07-28T12:54:08.000Z
2021-07-28T12:54:08.000Z
Sources/Commands/command_gpt.cpp
c3358/ntfstool
08d6efc1298cb223fe9f24c3849e1aad08c5a45f
[ "MIT" ]
null
null
null
Sources/Commands/command_gpt.cpp
c3358/ntfstool
08d6efc1298cb223fe9f24c3849e1aad08c5a45f
[ "MIT" ]
null
null
null
#include "Utils/buffer.h" #include "Drive/disk.h" #include "Utils/utils.h" #include "Utils/table.h" #include "options.h" #include "Utils/constant_names.h" #include <intrin.h> #include <distorm.h> #include <algorithm> #include <cstdint> #include <string> #include <iostream> #include <iomanip> #include <memory> #includ...
39.252874
156
0.619619
c3358
fc95d88c1e1227417ac11a00c7d9757a09a2e68b
1,390
cpp
C++
chapter 8 exervise 12/chapter 8 exervise 12/DLL.cpp
DanBeckerich/Cpp-Homework
dc215e2e233f1672c9a16b318600cc4fcf3d1162
[ "Apache-2.0" ]
null
null
null
chapter 8 exervise 12/chapter 8 exervise 12/DLL.cpp
DanBeckerich/Cpp-Homework
dc215e2e233f1672c9a16b318600cc4fcf3d1162
[ "Apache-2.0" ]
null
null
null
chapter 8 exervise 12/chapter 8 exervise 12/DLL.cpp
DanBeckerich/Cpp-Homework
dc215e2e233f1672c9a16b318600cc4fcf3d1162
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <assert.h> class DLL { private: //struct that defines our nodes. struct Node { int data; struct Node *prev; struct Node *next; }; //define the head. Node* head; int Count; public: //basic constructor for the doubley linked list DLL() { head = NULL; Count = 0; } voi...
15.274725
69
0.58705
DanBeckerich
fca2d673f1bd6033962931ca4fb614844d32c1cb
1,203
cpp
C++
Advanced/AA1112/AA1112/main.cpp
Eric-Ma-C/PAT-Advanced
ea8b46a780a04b46ab35ebd06c4bf19c3a664380
[ "MIT" ]
null
null
null
Advanced/AA1112/AA1112/main.cpp
Eric-Ma-C/PAT-Advanced
ea8b46a780a04b46ab35ebd06c4bf19c3a664380
[ "MIT" ]
null
null
null
Advanced/AA1112/AA1112/main.cpp
Eric-Ma-C/PAT-Advanced
ea8b46a780a04b46ab35ebd06c4bf19c3a664380
[ "MIT" ]
null
null
null
#include<stdio.h> #include<string.h> #include<vector> #include<map> #include<algorithm> using namespace std; //33min typedef struct item{ int id; char c; }item; map<char,item> m; bool cmp(item i1,item i2){ return i1.id<i2.id; } int main(){ int k; scanf("%d",&k); char c[1100]; scanf("%s",c); int len=strlen(c); ...
16.256757
41
0.545303
Eric-Ma-C
fca5f7db5e1d0888f1f6cb018a432e69d0cbae84
4,161
cpp
C++
pwiz/analysis/peakdetect/FeatureDetectorPeakel.cpp
edyp-lab/pwiz-mzdb
d13ce17f4061596c7e3daf9cf5671167b5996831
[ "Apache-2.0" ]
11
2015-01-08T08:33:44.000Z
2019-07-12T06:14:54.000Z
pwiz/analysis/peakdetect/FeatureDetectorPeakel.cpp
shze/pwizard-deb
4822829196e915525029a808470f02d24b8b8043
[ "Apache-2.0" ]
61
2015-05-27T11:20:11.000Z
2019-12-20T15:06:21.000Z
pwiz/analysis/peakdetect/FeatureDetectorPeakel.cpp
shze/pwizard-deb
4822829196e915525029a808470f02d24b8b8043
[ "Apache-2.0" ]
4
2016-02-03T09:41:16.000Z
2021-08-01T18:42:36.000Z
// // $Id: FeatureDetectorPeakel.cpp 2051 2010-06-15 18:39:13Z chambm $ // // // Original author: Darren Kessner <darren@proteowizard.org> // // Copyright 2009 Center for Applied Molecular Medicine // University of Southern California, Los Angeles, CA // // Licensed under the Apache License, Version 2.0 (the "License...
30.372263
101
0.703677
edyp-lab
fca6eb53e4acc53c16111809cb195aa591b11030
11,164
hpp
C++
ThirdParty-mod/java2cpp/java/io/StringWriter.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
1
2019-04-03T01:53:28.000Z
2019-04-03T01:53:28.000Z
ThirdParty-mod/java2cpp/java/io/StringWriter.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
null
null
null
ThirdParty-mod/java2cpp/java/io/StringWriter.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
null
null
null
/*================================================================================ code generated by: java2cpp author: Zoran Angelov, mailto://baldzar@gmail.com class: java.io.StringWriter ================================================================================*/ #ifndef J2CPP_INCLUDE_IMPLEMENTAT...
33.525526
136
0.705392
kakashidinho
fcaa3a2c93594ac917a81701873ba6034802252b
605
cpp
C++
HurdleRace.cpp
d3cod3monk78/hackerrank
8f3174306754d04d07b42d5c7a95ab32abf17fa1
[ "MIT" ]
null
null
null
HurdleRace.cpp
d3cod3monk78/hackerrank
8f3174306754d04d07b42d5c7a95ab32abf17fa1
[ "MIT" ]
null
null
null
HurdleRace.cpp
d3cod3monk78/hackerrank
8f3174306754d04d07b42d5c7a95ab32abf17fa1
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #include <vector> #include <cstdlib> #include <string> #include <string.h> using namespace std; int getDose(vector<int> arr , int k) { int n = (int)arr.size(); sort(arr.begin() , arr.end()); int dose = 0; if(arr[n-1] < k) { return 0; } for(int i = 0; i < n; i++) { if(arr[i] > k && do...
15.921053
40
0.538843
d3cod3monk78
fcab4e92faabc89cc4c415859b2405ba992271b6
475
cpp
C++
src/customlabel.cpp
cvlabbonn/hand_2d_gt_viewer
457e0929fdeee740b8940a791299ed8541124a83
[ "MIT" ]
1
2018-03-16T22:40:16.000Z
2018-03-16T22:40:16.000Z
src/customlabel.cpp
cvlabbonn/hand_2d_gt_viewer
457e0929fdeee740b8940a791299ed8541124a83
[ "MIT" ]
null
null
null
src/customlabel.cpp
cvlabbonn/hand_2d_gt_viewer
457e0929fdeee740b8940a791299ed8541124a83
[ "MIT" ]
3
2015-10-05T22:48:40.000Z
2018-06-28T11:51:09.000Z
#include "customlabel.h" CustomLabel::CustomLabel( QWidget *parent ) : QLabel( parent ){ } void CustomLabel::mouseMoveEvent( QMouseEvent *ev ){ this->mouse_X = ev->x(); this->mouse_Y = ev->y(); emit mouse_position(); } void CustomLabel::mousePressEvent( QMouseEvent *ev ){ emit mouse_pressed(); ...
16.964286
53
0.671579
cvlabbonn
fcabd41951052a1b7b4bbac628f49aa173b2857c
2,901
cpp
C++
src/tests/merger_tests/handleInputs.cpp
danguenther/spfe-framework
f1f91330e136727edc12b8b0a07723a4059fa039
[ "MIT" ]
null
null
null
src/tests/merger_tests/handleInputs.cpp
danguenther/spfe-framework
f1f91330e136727edc12b8b0a07723a4059fa039
[ "MIT" ]
null
null
null
src/tests/merger_tests/handleInputs.cpp
danguenther/spfe-framework
f1f91330e136727edc12b8b0a07723a4059fa039
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include <merger.h> #include <fstream> #define OUTPUT_FILE_HANDLE_INPUTS "src/tests/merger_tests/test_files/output.txt" using namespace std; /** * tests if the testInputs function writes the correct line in the file on the given parameters * @param current S if it is Server input, C if it ...
29.30303
120
0.653223
danguenther
fcad23e944161f11f6431ff1e042c7a230780bf4
1,576
cc
C++
Boss2D/addon/webrtc-jumpingyang001_for_boss/audio/time_interval_unittest.cc
Yash-Wasalwar-07/Boss2D
37c5ba0f1c83c89810359a207cabfa0905f803d2
[ "MIT" ]
null
null
null
Boss2D/addon/webrtc-jumpingyang001_for_boss/audio/time_interval_unittest.cc
Yash-Wasalwar-07/Boss2D
37c5ba0f1c83c89810359a207cabfa0905f803d2
[ "MIT" ]
null
null
null
Boss2D/addon/webrtc-jumpingyang001_for_boss/audio/time_interval_unittest.cc
Yash-Wasalwar-07/Boss2D
37c5ba0f1c83c89810359a207cabfa0905f803d2
[ "MIT" ]
null
null
null
/* * Copyright 2017 The WebRTC Project Authors. All rights reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing ...
32.163265
88
0.73731
Yash-Wasalwar-07
fcafece3bb6298fe79c3e6612780ec3dd6896c44
6,687
cpp
C++
src/shell/main.cpp
georgebrock/task
00204e01912aeb9e39b94ac7ba16562fdd5b5f2c
[ "MIT" ]
1
2017-10-13T06:00:59.000Z
2017-10-13T06:00:59.000Z
src/shell/main.cpp
georgebrock/task
00204e01912aeb9e39b94ac7ba16562fdd5b5f2c
[ "MIT" ]
null
null
null
src/shell/main.cpp
georgebrock/task
00204e01912aeb9e39b94ac7ba16562fdd5b5f2c
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // taskwarrior - a command line task list manager. // // Copyright 2006-2014, Paul Beckingham, Federico Hernandez. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated docume...
27.072874
86
0.546583
georgebrock
fcb022b5d9b1a46de510e6f14086153f87db9889
10,495
cpp
C++
vcf/VCFBuilder2/NewProjectDlg.cpp
tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective
1b0172cdb78757fd17898503aaf6ce03d940ef28
[ "Apache-1.1" ]
46
2015-12-04T17:12:58.000Z
2022-03-11T04:30:49.000Z
vcf/VCFBuilder2/NewProjectDlg.cpp
tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective
1b0172cdb78757fd17898503aaf6ce03d940ef28
[ "Apache-1.1" ]
null
null
null
vcf/VCFBuilder2/NewProjectDlg.cpp
tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective
1b0172cdb78757fd17898503aaf6ce03d940ef28
[ "Apache-1.1" ]
23
2016-10-24T09:18:14.000Z
2022-02-25T02:11:35.000Z
//NewProjectDlg.h #include "ApplicationKit.h" #include "NewProjectDlg.h" #include "Label.h" #include "TextControl.h" #include "VCFBuilderUI.h" #include "TreeControl.h" #include "ListViewControl.h" #include "Label.h" #include "Light3DBorder.h" #include "DefaultTreeItem.h" #include "XMLParser.h" #include "Defau...
33.212025
116
0.685088
tharindusathis
fcb0c2424abe2a7ef31787022ff38f6ff3883b01
585
cpp
C++
part2/les_2/main.cpp
noelleclement/cplusplusclass
74952e204a702611e2aa82d780cbaa67d4b98b0e
[ "MIT" ]
null
null
null
part2/les_2/main.cpp
noelleclement/cplusplusclass
74952e204a702611e2aa82d780cbaa67d4b98b0e
[ "MIT" ]
null
null
null
part2/les_2/main.cpp
noelleclement/cplusplusclass
74952e204a702611e2aa82d780cbaa67d4b98b0e
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main(){ int const size = 10; int intArray[size]; int *array = intArray; for(int i=0; i<10*size; i+=10){ *(array++) = i; } for(int i=0; i<size; i++){ cout << intArray[i] << endl; } cout << *(intArray+2) << endl; int *array2 = new int[size]; for(int...
14.268293
105
0.574359
noelleclement
fcb2af36e9fbc3010949d35ecbaf2a91c66f9b99
6,668
hpp
C++
Yannq/GroundState/SRMat.hpp
cecri/yannq
b78c1f86a255059f06b34dd5e538449e7261d0ee
[ "BSD-3-Clause" ]
null
null
null
Yannq/GroundState/SRMat.hpp
cecri/yannq
b78c1f86a255059f06b34dd5e538449e7261d0ee
[ "BSD-3-Clause" ]
null
null
null
Yannq/GroundState/SRMat.hpp
cecri/yannq
b78c1f86a255059f06b34dd5e538449e7261d0ee
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include <Eigen/Core> #include <Eigen/Dense> #include <Eigen/IterativeLinearSolvers> #include <tbb/tbb.h> #include "Utilities/Utility.hpp" #include "Observables/Energy.hpp" #include "./utils.hpp" namespace yannq { template<typename Machine, typename Hamiltonian> class SRMat; } //namespace yannq namespa...
25.257576
140
0.704109
cecri
fcb2b695528efaafd63353eb176ce88b6ae988f1
6,497
cpp
C++
VisualGraph/src/VisualGraph.cpp
IKholopov/StudyingStuff
8e5d9b98431fcc439d246d499963c33c729d5474
[ "MIT" ]
null
null
null
VisualGraph/src/VisualGraph.cpp
IKholopov/StudyingStuff
8e5d9b98431fcc439d246d499963c33c729d5474
[ "MIT" ]
null
null
null
VisualGraph/src/VisualGraph.cpp
IKholopov/StudyingStuff
8e5d9b98431fcc439d246d499963c33c729d5474
[ "MIT" ]
null
null
null
#include "VisualGraph.h" #include <QFileDialog> #include <fstream> VisualGraph::VisualGraph(GraphScene* scene, GraphArea* view):scene_(scene), view_(view) { idVertexCounter_ = 0; idEdgeCounter_ = 0; } VisualGraph::VisualGraph(GraphScene* scene, GraphArea* view, const std::vector<std::v...
26.303644
134
0.590426
IKholopov
fcb7afc3dd48dec66ac6bd54cf2bfb8bdf601d19
4,311
hh
C++
FTPD.hh
shuLhan/libvos
831491b197fa8f267fd94966d406596896e6f25c
[ "BSD-3-Clause" ]
1
2017-09-14T13:31:16.000Z
2017-09-14T13:31:16.000Z
FTPD.hh
shuLhan/libvos
831491b197fa8f267fd94966d406596896e6f25c
[ "BSD-3-Clause" ]
null
null
null
FTPD.hh
shuLhan/libvos
831491b197fa8f267fd94966d406596896e6f25c
[ "BSD-3-Clause" ]
5
2015-04-11T02:59:06.000Z
2021-03-03T19:45:39.000Z
// // Copyright 2009-2017 M. Shulhan (ms@kilabit.info). All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // #ifndef _LIBVOS_FTP_DAEMON_HH #define _LIBVOS_FTP_DAEMON_HH 1 #include <signal.h> #include "List.hh" #include "FTPD_client.hh" #includ...
26.127273
73
0.714683
shuLhan
fcb7c71ade8b066b2108e8ae17af9841a8b8c8ad
833
cpp
C++
src/global/UsbId.cpp
Governikus/AusweisApp2-Omapi
0d563e61cb385492cef96c2542d50a467e003259
[ "Apache-2.0" ]
1
2019-06-06T11:58:51.000Z
2019-06-06T11:58:51.000Z
src/global/UsbId.cpp
ckahlo/AusweisApp2-Omapi
5141b82599f9f11ae32ff7221b6de3b885e6e5f9
[ "Apache-2.0" ]
1
2022-01-28T11:08:59.000Z
2022-01-28T12:05:33.000Z
src/global/UsbId.cpp
ckahlo/AusweisApp2-Omapi
5141b82599f9f11ae32ff7221b6de3b885e6e5f9
[ "Apache-2.0" ]
3
2019-06-06T11:58:14.000Z
2021-11-15T23:32:04.000Z
/*! * \copyright Copyright (c) 2017-2019 Governikus GmbH & Co. KG, Germany */ #include "UsbId.h" #include <QDebug> #include <QDebugStateSaver> using namespace governikus; UsbId::UsbId(unsigned int pVendorId, unsigned int pProductId) : mVendorId(pVendorId) , mProductId(pProductId) { } unsigned int UsbId::getVe...
18.511111
87
0.704682
Governikus
fcbd46787c604435feefb34f3e5d2956c2767a25
1,251
hpp
C++
samal_lib/include/samal_lib/Forward.hpp
VayuDev/samal
edb67289b7a1160f917be9bd44cd734f9d865460
[ "MIT" ]
2
2021-02-26T07:39:08.000Z
2021-03-30T21:13:47.000Z
samal_lib/include/samal_lib/Forward.hpp
VayuDev/samal
edb67289b7a1160f917be9bd44cd734f9d865460
[ "MIT" ]
null
null
null
samal_lib/include/samal_lib/Forward.hpp
VayuDev/samal
edb67289b7a1160f917be9bd44cd734f9d865460
[ "MIT" ]
null
null
null
#pragma once #include <vector> #include <map> #include <string> namespace samal { class ASTNode; class DeclarationNode; class ModuleRootNode; class IdentifierNode; class ExpressionNode; class FunctionDeclarationNode; class ScopeNode; class BinaryExpressionNode; class IfExpressionNode; class FunctionCallExpressionNod...
22.339286
110
0.86251
VayuDev
fcbe6c7c24d5dca28252388360e2e6bfd8eccff0
3,013
cpp
C++
src/beanmachine/graph/global/proposer/hmc_proposer.cpp
horizon-blue/beanmachine-1
b13e4e3e28ffb860947eb8046863b0cabb581222
[ "MIT" ]
177
2021-12-12T14:19:05.000Z
2022-03-24T05:48:10.000Z
src/beanmachine/graph/global/proposer/hmc_proposer.cpp
horizon-blue/beanmachine-1
b13e4e3e28ffb860947eb8046863b0cabb581222
[ "MIT" ]
171
2021-12-11T06:12:05.000Z
2022-03-31T20:26:29.000Z
src/beanmachine/graph/global/proposer/hmc_proposer.cpp
horizon-blue/beanmachine-1
b13e4e3e28ffb860947eb8046863b0cabb581222
[ "MIT" ]
31
2021-12-11T06:27:19.000Z
2022-03-25T13:31:56.000Z
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "beanmachine/graph/global/proposer/hmc_proposer.h" namespace beanmachine { namespace graph { HmcProposer::HmcProposer(...
27.898148
77
0.708264
horizon-blue
fcc1c532c62e71f6a7d57621b2ea985d06e10195
503
cpp
C++
contest/yukicoder/117.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
7
2018-04-14T14:55:51.000Z
2022-01-31T10:49:49.000Z
contest/yukicoder/117.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
5
2018-04-14T14:28:49.000Z
2019-05-11T02:22:10.000Z
contest/yukicoder/117.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
null
null
null
#include "math/combination.hpp" #include "math/mint.hpp" int main() { Combination<Mint> comb(2000000); int t(in); for (int i = 0; i < t; ++i) { char c(in); in.ignore(); int n(in); in.ignore(); int k(in); in.ignore(); switch (c) { case 'C': cout << comb.combination(n, k) << e...
18.62963
53
0.506958
not522
fcc874951263609627306df7a973d71e2876548d
1,912
cpp
C++
commXel_app/src/ap/usb_to_dxl/usb_to_dxl.cpp
ghsecuritylab/XelNetwork_CommXel
a695133a0a622edaa8c73a2cfb2592642529e29f
[ "Apache-2.0" ]
2
2018-09-18T08:59:20.000Z
2018-09-28T06:10:40.000Z
commXel_app/src/ap/usb_to_dxl/usb_to_dxl.cpp
ghsecuritylab/XelNetwork_CommXel
a695133a0a622edaa8c73a2cfb2592642529e29f
[ "Apache-2.0" ]
null
null
null
commXel_app/src/ap/usb_to_dxl/usb_to_dxl.cpp
ghsecuritylab/XelNetwork_CommXel
a695133a0a622edaa8c73a2cfb2592642529e29f
[ "Apache-2.0" ]
1
2020-03-08T00:22:00.000Z
2020-03-08T00:22:00.000Z
/* * usb_to_dxl.cpp * * Created on: Sep 3, 2018 * Author: kei */ #include "usb_to_dxl.hpp" static uint8_t dxl_ch = _DEF_DXL1; static uint32_t tx_time_total = 0, rx_time_total = 0, tx_length_total = 0, rx_length_total = 0; void u2dInit(void) { dxlportInit(); dxlportOpen(dxl_ch, 57600);...
19.12
113
0.584728
ghsecuritylab
fcca9422e1650a79a21ea1229a005305f60a50a6
1,112
cpp
C++
volume_I/acm_1010.cpp
raidenluikang/acm.timus.ru
9b7c99eb03959acff9dd96326eec642a2c31ed04
[ "MIT" ]
null
null
null
volume_I/acm_1010.cpp
raidenluikang/acm.timus.ru
9b7c99eb03959acff9dd96326eec642a2c31ed04
[ "MIT" ]
null
null
null
volume_I/acm_1010.cpp
raidenluikang/acm.timus.ru
9b7c99eb03959acff9dd96326eec642a2c31ed04
[ "MIT" ]
null
null
null
// acm.timus.ru 1010. Discrete Function. #include <cstdio> char buffer[ (1 << 21) ]; char const * o ; void initRead() { unsigned n; n = fread(buffer, 1, sizeof(buffer ) - 2, stdin); buffer[n] = '\0'; o = buffer; } unsigned readInt() { unsigned u = 0; while(*o && *o <= 32)++o; while(*o >='0' && *o <= '...
13.39759
62
0.455036
raidenluikang
fccca28a5643b69e643a2666a14bf429f75792dc
408
cpp
C++
src/handler/response.cpp
open-chat-org/upload-service
0652a17528798a6c24f9c0a6a6ccb86bb6609ea7
[ "MIT" ]
null
null
null
src/handler/response.cpp
open-chat-org/upload-service
0652a17528798a6c24f9c0a6a6ccb86bb6609ea7
[ "MIT" ]
null
null
null
src/handler/response.cpp
open-chat-org/upload-service
0652a17528798a6c24f9c0a6a6ccb86bb6609ea7
[ "MIT" ]
null
null
null
#include "response.h" httpserver::string_response *response::failure_response() { return new httpserver::string_response( "{\"code\": 400, \"message\": \"FAILURE\"}", 400, "application/json"); } httpserver::string_response *response::successful_response() { return new httpserver::string_response( ...
31.384615
78
0.651961
open-chat-org
fccea00583839fe6a84127c3388f49196d29f110
55,637
cpp
C++
B2G/gecko/netwerk/protocol/http/nsHttpConnection.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
3
2015-08-31T15:24:31.000Z
2020-04-24T20:31:29.000Z
B2G/gecko/netwerk/protocol/http/nsHttpConnection.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
null
null
null
B2G/gecko/netwerk/protocol/http/nsHttpConnection.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
3
2015-07-29T07:17:15.000Z
2020-11-04T06:55:37.000Z
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* vim:set ts=4 sw=4 sts=4 et cin: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. ...
35.280279
91
0.614933
wilebeast
fccf92f5d8996fcd1c01b9efc064ab47bf951e4c
803
cpp
C++
Day1/codeforce284A.cpp
tsung1271232/NCTU_PCCA
79dc16aa7f83c734b859e93cb06323c382a4d686
[ "MIT" ]
null
null
null
Day1/codeforce284A.cpp
tsung1271232/NCTU_PCCA
79dc16aa7f83c734b859e93cb06323c382a4d686
[ "MIT" ]
null
null
null
Day1/codeforce284A.cpp
tsung1271232/NCTU_PCCA
79dc16aa7f83c734b859e93cb06323c382a4d686
[ "MIT" ]
null
null
null
//Cows and Primitive Roots #include<bits/stdc++.h> using namespace std; int priRoot(int prime, int count) { // 1<= x < p for(int i = 1; i < prime; i++) { //do x-1 ~ x^p-2 can't be divisible by prime int temp = i; bool isAns = true; for(int p = 1; p <= prime - 2; p++) ...
20.589744
52
0.427148
tsung1271232
fcd0bd53e6a31ffdc00f954a632b961c9037ca56
20,689
cpp
C++
src/hkdevice/hikcontroller.cpp
escoffier/newmedia
f15aedae56a5b5c22c6451fa45b58ce108a58b9e
[ "Apache-2.0" ]
null
null
null
src/hkdevice/hikcontroller.cpp
escoffier/newmedia
f15aedae56a5b5c22c6451fa45b58ce108a58b9e
[ "Apache-2.0" ]
null
null
null
src/hkdevice/hikcontroller.cpp
escoffier/newmedia
f15aedae56a5b5c22c6451fa45b58ce108a58b9e
[ "Apache-2.0" ]
null
null
null
#include "hikcontroller.h" #ifdef WINDOWS #include <Windows.h> #include <BaseTsd.h> #include <WinNT.h> #endif #include "HCNetSDK.h" #include "glog/logging.h" #include<string> #include <mutex> //#include "camara.h" extern "C" EXPORT CamaraController* GetController() { LOG(INFO) << "Create HikDeviceProcesser"; NET_DVR...
28.263661
182
0.624776
escoffier
fcdbac754c5429628bd2f72b02c424173a5b478b
819
cc
C++
Laboratorio/Esercitazione 3/310-equazione.cc
alessiamarcolini/Programmazione1UniTN
fd1cbd54b9510e1ec7efb185b727a6fd49dd32f1
[ "MIT" ]
3
2021-11-05T16:25:50.000Z
2022-02-10T14:06:00.000Z
Laboratorio/Esercitazione 3/310-equazione.cc
alessiamarcolini/Programmazione1UniTN
fd1cbd54b9510e1ec7efb185b727a6fd49dd32f1
[ "MIT" ]
null
null
null
Laboratorio/Esercitazione 3/310-equazione.cc
alessiamarcolini/Programmazione1UniTN
fd1cbd54b9510e1ec7efb185b727a6fd49dd32f1
[ "MIT" ]
2
2018-10-31T14:53:40.000Z
2020-01-09T22:34:37.000Z
// // Dati 3 interi a, b, c che corrispondono // ai termini noti di un'equazione di // secondo grado, calcolare le soluzioni // #include <cmath> #include <iostream> using namespace std; int main() { int a, b, c; float x1, x2, delta; cout << "Inserisci un numero: "; cin >> a; cout << "Inserisci un...
22.135135
79
0.478632
alessiamarcolini
fcdddbe53f12e9c893f9c69c6640f84b8ee5bdc3
8,490
cpp
C++
source/deps/illa/filter_bilinear.cpp
poppeman/Pictus
0e58285b89292d0b221ab4d09911ef439711cc59
[ "MIT" ]
73
2015-01-19T17:38:26.000Z
2022-02-15T06:16:08.000Z
source/deps/illa/filter_bilinear.cpp
poppeman/Pictus
0e58285b89292d0b221ab4d09911ef439711cc59
[ "MIT" ]
75
2015-01-01T17:32:24.000Z
2018-10-18T08:19:08.000Z
source/deps/illa/filter_bilinear.cpp
poppeman/Pictus
0e58285b89292d0b221ab4d09911ef439711cc59
[ "MIT" ]
18
2015-01-05T04:57:18.000Z
2022-03-06T01:35:10.000Z
#include "filter_bilinear.h" #include "filter_int.h" #define BSHIFT 11 #define BSHIFTx2 22 #define BMUL 2048 namespace Filter { namespace Scale { using namespace Geom; namespace Internal { void set_contrib(std::vector<Contrib>& contrib, uint32_t i, uint32_t max_i, uint32_t max_coord, uint32_t ofs) { ui...
50.236686
179
0.657362
poppeman
fce29fe5e9f876739d36fa0853a43ddc055a1797
1,686
cpp
C++
Design_patterns_in_modern_cpp/src/020_Chapter_2/Workspace.cpp
NaPiZip/Programming_basics_c-
d84bf4baa25fbcf28b12fb06be7a6270c143effc
[ "MIT" ]
null
null
null
Design_patterns_in_modern_cpp/src/020_Chapter_2/Workspace.cpp
NaPiZip/Programming_basics_c-
d84bf4baa25fbcf28b12fb06be7a6270c143effc
[ "MIT" ]
null
null
null
Design_patterns_in_modern_cpp/src/020_Chapter_2/Workspace.cpp
NaPiZip/Programming_basics_c-
d84bf4baa25fbcf28b12fb06be7a6270c143effc
[ "MIT" ]
null
null
null
// Copyright 2019, Nawin #include "Workspace.h" std::string HtmlElement::str(int indent) const { std::string result; for (auto e : elements_) result += e.name_ + e.text_; return result; } HtmlBuilder::HtmlBuilder(std::string root_name) { root_.name_ = root_name; } HtmlBuilder& HtmlBuilder...
28.1
86
0.607355
NaPiZip
fce2ba2d11295ef16a7744294498e654ed490a72
30,867
cpp
C++
miniapps/shifted/sbm_solver.cpp
xj361685640/mfem
0843a87d7953cf23e556dcfd426d27bd9cfb3e21
[ "BSD-3-Clause" ]
null
null
null
miniapps/shifted/sbm_solver.cpp
xj361685640/mfem
0843a87d7953cf23e556dcfd426d27bd9cfb3e21
[ "BSD-3-Clause" ]
null
null
null
miniapps/shifted/sbm_solver.cpp
xj361685640/mfem
0843a87d7953cf23e556dcfd426d27bd9cfb3e21
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2010-2021, Lawrence Livermore National Security, LLC. Produced // at the Lawrence Livermore National Laboratory. All Rights reserved. See files // LICENSE and NOTICE for details. LLNL-CODE-806117. // // This file is part of the MFEM library. For more information and source code // availability visit ht...
27.883469
83
0.558137
xj361685640
fce371d8f99c59106fb017341ccbaab53401636d
7,529
cc
C++
content/browser/renderer_host/pepper/pepper_file_system_browser_host.cc
kurli/chromium-crosswalk
f4c5d15d49d02b74eb834325e4dff50b16b53243
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
content/browser/renderer_host/pepper/pepper_file_system_browser_host.cc
kurli/chromium-crosswalk
f4c5d15d49d02b74eb834325e4dff50b16b53243
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
content/browser/renderer_host/pepper/pepper_file_system_browser_host.cc
kurli/chromium-crosswalk
f4c5d15d49d02b74eb834325e4dff50b16b53243
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2013 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 "content/browser/renderer_host/pepper/pepper_file_system_browser_host.h" #include "base/bind.h" #include "base/callback.h" #include "content/pub...
35.514151
81
0.704078
kurli
fce515526f796e03db673d3b9aafc044fb77f35e
233
cpp
C++
test/main.cpp
MaLarsson/umlaut
b02222127a9e7362b57403f58a8519cd8b6bf826
[ "BSL-1.0" ]
1
2018-06-24T13:47:42.000Z
2018-06-24T13:47:42.000Z
test/main.cpp
MaLarsson/umlaut
b02222127a9e7362b57403f58a8519cd8b6bf826
[ "BSL-1.0" ]
6
2018-09-25T10:56:38.000Z
2018-11-01T15:30:08.000Z
test/main.cpp
MaLarsson/umlaut
b02222127a9e7362b57403f58a8519cd8b6bf826
[ "BSL-1.0" ]
null
null
null
// Copyright Marcus Larsson 2018 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) #define CATCH_CONFIG_MAIN #include <catch2/catch.hpp>
29.125
81
0.772532
MaLarsson
fce574e659d0b82b5776bc44304c12270e0f1fde
598
cpp
C++
test/srpc/RpcCommandTest.cpp
mark-online/sne
92190c78a1710778acf16dd3a83af064db5c269b
[ "MIT" ]
null
null
null
test/srpc/RpcCommandTest.cpp
mark-online/sne
92190c78a1710778acf16dd3a83af064db5c269b
[ "MIT" ]
null
null
null
test/srpc/RpcCommandTest.cpp
mark-online/sne
92190c78a1710778acf16dd3a83af064db5c269b
[ "MIT" ]
null
null
null
#include "SrpcTestPCH.h" #include "DummyRpcCommand.h" #include <sne/test/StreamFixture.h> using namespace sne; using namespace sne::srpc; /** * @class RpcCommandTest * * RpcCommand test */ class RpcCommandTest : public test::BitStreamFixture { }; TEST_F(RpcCommandTest, testMarshal) { DummyRpcCommand rpcCommand...
18.121212
53
0.683946
mark-online
fce84a743286189e8b4c054c752a7df8d32bb883
1,595
cpp
C++
tests/test_bhtool.cpp
butchhoward/bhtool
9d8099aafacb9aeb619298e63c5858ea1f1a5ea4
[ "MIT" ]
null
null
null
tests/test_bhtool.cpp
butchhoward/bhtool
9d8099aafacb9aeb619298e63c5858ea1f1a5ea4
[ "MIT" ]
null
null
null
tests/test_bhtool.cpp
butchhoward/bhtool
9d8099aafacb9aeb619298e63c5858ea1f1a5ea4
[ "MIT" ]
null
null
null
#include "gtest/gtest.h" #include <bhtool/bhtool.hpp> #include <bhtool/stderrred.hpp> #include <bhtool/repo.hpp> #include "utils_test.hpp" using namespace bhtool; int some_command_fn(int, char *[]) { return 99; }; TEST( utilities, find_cmd_function_from_command ) { Commands cmds = { {std::string("some_...
26.583333
75
0.721003
butchhoward
fce867ac3e96f919d6c81e19bebcaaebaaea5805
3,790
cpp
C++
src/fileinfo/file_presentation/getters/iterative_getter/iterative_subtitle_getter/symbol_tables_json_getter.cpp
lukasdurfina/retdec
7d6b8882690ff73c2bd7f209db10c5c091fa0359
[ "MIT", "Zlib", "BSD-3-Clause" ]
1
2020-03-28T02:38:53.000Z
2020-03-28T02:38:53.000Z
src/fileinfo/file_presentation/getters/iterative_getter/iterative_subtitle_getter/symbol_tables_json_getter.cpp
lukasdurfina/retdec
7d6b8882690ff73c2bd7f209db10c5c091fa0359
[ "MIT", "Zlib", "BSD-3-Clause" ]
null
null
null
src/fileinfo/file_presentation/getters/iterative_getter/iterative_subtitle_getter/symbol_tables_json_getter.cpp
lukasdurfina/retdec
7d6b8882690ff73c2bd7f209db10c5c091fa0359
[ "MIT", "Zlib", "BSD-3-Clause" ]
null
null
null
/** * @file src/fileinfo/file_presentation/getters/iterative_getter/iterative_subtitle_getter/symbol_tables_json_getter.cpp * @brief Methods of SymbolTablesJsonGetter class. * @copyright (c) 2017 Avast Software, licensed under the MIT license */ #include "retdec/utils/string.h" #include "retdec/fileformat/utils/co...
34.144144
147
0.789446
lukasdurfina
fce99c5e9f0386684f89ca864f27f96e4fbd93a2
2,062
cpp
C++
data/test/cpp/fce99c5e9f0386684f89ca864f27f96e4fbd93a2commands.cpp
harshp8l/deep-learning-lang-detection
2a54293181c1c2b1a2b840ddee4d4d80177efb33
[ "MIT" ]
84
2017-10-25T15:49:21.000Z
2021-11-28T21:25:54.000Z
data/test/cpp/fce99c5e9f0386684f89ca864f27f96e4fbd93a2commands.cpp
vassalos/deep-learning-lang-detection
cbb00b3e81bed3a64553f9c6aa6138b2511e544e
[ "MIT" ]
5
2018-03-29T11:50:46.000Z
2021-04-26T13:33:18.000Z
data/test/cpp/fce99c5e9f0386684f89ca864f27f96e4fbd93a2commands.cpp
vassalos/deep-learning-lang-detection
cbb00b3e81bed3a64553f9c6aa6138b2511e544e
[ "MIT" ]
24
2017-11-22T08:31:00.000Z
2022-03-27T01:22:31.000Z
#include "commands.h" AddModelCommand::AddModelCommand(Model *model) { this->modelIndex = ModelManager::getInstance ()->size(); this->model = model; } void AddModelCommand::undo() { ModelManager::getInstance ()->removeAt(this->modelIndex); } void AddModelCommand::redo() { ModelManager::getInstance ()...
21.93617
87
0.662464
harshp8l
fcef673f4dbffb2b5c8405cd483ffefbcadffbeb
1,984
cpp
C++
proton-c/bindings/cpp/src/reactor.cpp
Azure/qpid-proton
fa784b1f3c4f3dbd6b143d5cceda10bf76da23a5
[ "Apache-2.0" ]
2
2020-04-28T13:33:06.000Z
2020-06-01T14:51:05.000Z
proton-c/bindings/cpp/src/reactor.cpp
Azure/qpid-proton
fa784b1f3c4f3dbd6b143d5cceda10bf76da23a5
[ "Apache-2.0" ]
null
null
null
proton-c/bindings/cpp/src/reactor.cpp
Azure/qpid-proton
fa784b1f3c4f3dbd6b143d5cceda10bf76da23a5
[ "Apache-2.0" ]
4
2015-10-17T20:44:45.000Z
2021-06-08T19:00:56.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 ...
34.206897
77
0.733367
Azure
fcf2d2fc5bb54a81ccb16b50204549b899d35625
2,752
hpp
C++
include/alflib/core/common.hpp
Alfret/AlfLibCpp
15bf07d31b0772a23904967f85495cbb2121f391
[ "MIT" ]
null
null
null
include/alflib/core/common.hpp
Alfret/AlfLibCpp
15bf07d31b0772a23904967f85495cbb2121f391
[ "MIT" ]
9
2019-06-19T19:35:34.000Z
2019-07-03T16:10:20.000Z
include/alflib/core/common.hpp
Alfret/AlfLibCpp
15bf07d31b0772a23904967f85495cbb2121f391
[ "MIT" ]
null
null
null
// MIT License // // Copyright (c) 2019 Filip Björklund // // 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, mod...
30.241758
80
0.583576
Alfret
fcf45f872213ed73003eda32c58d01fe6e9e9e6f
36,241
cpp
C++
gb++/src/Sharp/Sharp.cpp
dfrias100/gb-plus-plus
e5c48f18ab24315f1a5c70789cd3c1cae9428baf
[ "MIT" ]
null
null
null
gb++/src/Sharp/Sharp.cpp
dfrias100/gb-plus-plus
e5c48f18ab24315f1a5c70789cd3c1cae9428baf
[ "MIT" ]
null
null
null
gb++/src/Sharp/Sharp.cpp
dfrias100/gb-plus-plus
e5c48f18ab24315f1a5c70789cd3c1cae9428baf
[ "MIT" ]
null
null
null
#include "Sharp.hpp" #include "../Memory/Memory.hpp" #include <iostream> #include <iomanip> Sharp::Sharp(Memory* _MemoryBus) { MemoryBus = _MemoryBus; Suspended = false; HaltBug = false; // These are the register values when the PC is at // $0100 after the boot ROM is unmapped from memory PC = 0x0100; AF = 0x0...
13.145085
99
0.603101
dfrias100
fcf7dd033191d34e26c8ff85621d5edfd177377f
178
hpp
C++
src/parser/sql-stmt/NotImplemented/CreateIndex.hpp
TrueFinch/KappaDBMS
f4f9e91c52ae33f929e6db458a713a98a9958da3
[ "Apache-2.0" ]
2
2018-10-29T05:38:27.000Z
2018-12-05T15:32:16.000Z
src/parser/sql-stmt/NotImplemented/CreateIndex.hpp
TrueFinch/KappaDBMS
f4f9e91c52ae33f929e6db458a713a98a9958da3
[ "Apache-2.0" ]
null
null
null
src/parser/sql-stmt/NotImplemented/CreateIndex.hpp
TrueFinch/KappaDBMS
f4f9e91c52ae33f929e6db458a713a98a9958da3
[ "Apache-2.0" ]
null
null
null
#pragma once #include "Instruction.hpp" namespace cmd { class CreateIndex : public Instruction { public: CreateIndex() : Instruction(CREATE_INDEX) {} }; } // namespace cmd
12.714286
46
0.719101
TrueFinch
fcf9c0989db87b36253c8b95da452444ca04816e
363
cpp
C++
Common/ThreadBase.cpp
Addision/EventServer
2fd13eb5440769da6fb19c6540fb25db09b8cc75
[ "MIT" ]
15
2020-04-22T04:32:12.000Z
2022-01-06T12:40:44.000Z
SeFNet/common/ThreadBase.cpp
Addision/SeNet
7b40cffd7f961b1706e79d9cebd8fee58d1af58e
[ "MIT" ]
1
2020-11-30T07:20:17.000Z
2020-11-30T07:20:17.000Z
Common/ThreadBase.cpp
Addision/EventServer
2fd13eb5440769da6fb19c6540fb25db09b8cc75
[ "MIT" ]
8
2020-04-21T02:15:04.000Z
2021-12-31T17:34:02.000Z
#include "ThreadBase.h" bool ThreadBase::Start() { Init(); //call thread init m_thread = std::thread(std::bind(&ThreadBase::ThreadLoop, this)); m_bActive = true; return true; } bool ThreadBase::Stop() { m_bActive = false; Join(); return true; } void ThreadBase::Join() { if(m_thread.joinable...
13.961538
69
0.606061
Addision
fcfc146114073eed0b5c33f3e1197d85925cfbad
546
cpp
C++
side_projects/meh.cpp
mohsend/Magnificent-University-projects
4b0f9df939a60ace45eeccb331db85af77d83ee9
[ "MIT" ]
null
null
null
side_projects/meh.cpp
mohsend/Magnificent-University-projects
4b0f9df939a60ace45eeccb331db85af77d83ee9
[ "MIT" ]
null
null
null
side_projects/meh.cpp
mohsend/Magnificent-University-projects
4b0f9df939a60ace45eeccb331db85af77d83ee9
[ "MIT" ]
null
null
null
/* * meh */ #include <iostream> #include <cstdint> using namespace std; int main(int argc, char **argv) { uint64_t meh = 0xFFFFFFFFFFFFFFFF; uint64_t age; cout << "meh = " << meh << endl; cout << "How old are you? "; cin >> age; cout << "meh per year = " << meh / age << endl; cout << "meh per month = " << me...
23.73913
70
0.540293
mohsend
fcfcb12990a02ce4a9227554af03bb56abd58491
1,223
cpp
C++
ToDoTick/MainPage.xaml.cpp
HumorLogic/To-Do-Tick
377c651f63b51f64178b42121e71961f9df26e99
[ "Apache-2.0" ]
null
null
null
ToDoTick/MainPage.xaml.cpp
HumorLogic/To-Do-Tick
377c651f63b51f64178b42121e71961f9df26e99
[ "Apache-2.0" ]
null
null
null
ToDoTick/MainPage.xaml.cpp
HumorLogic/To-Do-Tick
377c651f63b51f64178b42121e71961f9df26e99
[ "Apache-2.0" ]
null
null
null
// // MainPage.xaml.cpp // MainPage 类的实现。 // #include "pch.h" #include "MainPage.xaml.h" #include<chrono> #include<thread> using namespace ToDoTick; using namespace Platform; using namespace Windows::Foundation; using namespace Windows::Foundation::Collections; using namespace Windows::UI::Xaml; using namespace Win...
23.519231
109
0.740801
HumorLogic
1e01dd6fa61eee60c906dc22edb364794e675b1a
10,563
hpp
C++
src/eyelib/window/event.hpp
lucas137/eyelib
e88eaea6dd2c2e4b365d178f67869a3cd47751a5
[ "MIT" ]
null
null
null
src/eyelib/window/event.hpp
lucas137/eyelib
e88eaea6dd2c2e4b365d178f67869a3cd47751a5
[ "MIT" ]
null
null
null
src/eyelib/window/event.hpp
lucas137/eyelib
e88eaea6dd2c2e4b365d178f67869a3cd47751a5
[ "MIT" ]
null
null
null
//===========================================================================// /* MIT License Copyright (c) 2019 Nathan Lucas 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 rest...
39.710526
83
0.518981
lucas137
1e02ca9b8056fc8b124314f2c323d84edcdfcaaa
13,537
cc
C++
content/browser/renderer_host/render_view_host_manager_browsertest.cc
meego-tablet-ux/meego-app-browser
0f4ef17bd4b399c9c990a2f6ca939099495c2b9c
[ "BSD-3-Clause" ]
1
2015-10-12T09:14:22.000Z
2015-10-12T09:14:22.000Z
content/browser/renderer_host/render_view_host_manager_browsertest.cc
meego-tablet-ux/meego-app-browser
0f4ef17bd4b399c9c990a2f6ca939099495c2b9c
[ "BSD-3-Clause" ]
null
null
null
content/browser/renderer_host/render_view_host_manager_browsertest.cc
meego-tablet-ux/meego-app-browser
0f4ef17bd4b399c9c990a2f6ca939099495c2b9c
[ "BSD-3-Clause" ]
1
2020-11-04T07:22:28.000Z
2020-11-04T07:22:28.000Z
// Copyright (c) 2011 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 "base/file_util.h" #include "base/memory/ref_counted.h" #include "base/path_service.h" #include "chrome/browser/download/download_manager.h" ...
39.581871
80
0.729039
meego-tablet-ux
1e038e139bc61d954514cfba10c7e37cafe361b8
1,303
cpp
C++
src/reflection/parser/api/core/clang/visitor.cpp
roscopecoltran/siplasplas
9fae7559f87087cf8ef34f04bd1e774b84b2ea9c
[ "MIT" ]
182
2016-07-19T19:31:47.000Z
2022-02-22T13:54:25.000Z
src/reflection/parser/api/core/clang/visitor.cpp
roscopecoltran/siplasplas
9fae7559f87087cf8ef34f04bd1e774b84b2ea9c
[ "MIT" ]
50
2016-07-13T16:49:31.000Z
2018-06-15T13:39:49.000Z
src/reflection/parser/api/core/clang/visitor.cpp
GueimUCM/ceplusplus
9fae7559f87087cf8ef34f04bd1e774b84b2ea9c
[ "MIT" ]
26
2015-12-14T11:35:41.000Z
2022-02-22T19:13:48.000Z
#include "visitor.hpp" using namespace ::cpp::reflection::parser::api::core::clang; bool Visitor::visit(const Cursor& cursor) const { return ::clang_visitChildren( cursor.cxCursor(), +[](::CXCursor current, ::CXCursor parent, CXClientData userData) { const auto* self = const_ca...
29.613636
98
0.624712
roscopecoltran