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
dd9a19698deae1729c3f357c3c054c787efda000
2,605
hpp
C++
Source/ReplicantHook/ReplicantHook.hpp
Asiern/ReplicantHook
63cbfd361d738dc37177c8fcf6e2657dc20bd9aa
[ "MIT" ]
11
2021-04-25T15:29:29.000Z
2022-02-27T09:49:54.000Z
Source/ReplicantHook/ReplicantHook.hpp
Asiern/ReplicantHook
63cbfd361d738dc37177c8fcf6e2657dc20bd9aa
[ "MIT" ]
6
2021-04-26T07:39:52.000Z
2021-10-06T14:12:09.000Z
Source/ReplicantHook/ReplicantHook.hpp
Asiern/ReplicantHook
63cbfd361d738dc37177c8fcf6e2657dc20bd9aa
[ "MIT" ]
1
2021-08-28T22:13:50.000Z
2021-08-28T22:13:50.000Z
#pragma once #include <Windows.h> #include <TlHelp32.h> #include <string> #include "Offsets.hpp" #include <map> class ReplicantHook { private: DWORD _pID; uintptr_t _baseAddress; uintptr_t actorPlayable; bool _hooked; offsets _offsets; int _version; std::map<std::string, uintptr_t> _inventory; int gold; std::...
23.053097
77
0.74357
Asiern
dd9df012e1a640f25433cf2e364c3ebc8b1c7482
4,275
hpp
C++
src/stm32/registers/cpu_registers.hpp
Rexagon/stm32-emulator
4b4bc449a787c3f79c4e7e9dd563dcb4abc9abeb
[ "Apache-2.0" ]
null
null
null
src/stm32/registers/cpu_registers.hpp
Rexagon/stm32-emulator
4b4bc449a787c3f79c4e7e9dd563dcb4abc9abeb
[ "Apache-2.0" ]
2
2021-04-01T21:31:55.000Z
2021-04-06T07:35:04.000Z
src/stm32/registers/cpu_registers.hpp
Rexagon/stm32-emulator
4b4bc449a787c3f79c4e7e9dd563dcb4abc9abeb
[ "Apache-2.0" ]
null
null
null
#pragma once #include <cstdint> #include "../utils/general.hpp" namespace stm32::rg { /** * The special-purpose program status registers, xPSR */ DEFINE_REG(ApplicationProgramStatusRegister, { RESERVE(27); ///< bits[26:0] bool Q : 1; ///< bit[27] ///< Set to 1 if a SSAT or USAT instruct...
38.863636
121
0.56
Rexagon
dd9ee85db0caffeef07daeaec74107f9f0614fd0
23,906
cpp
C++
saber/funcs/impl/arm/neon/saber_softmax.cpp
baajur/Anakin
5fd68a6cc4c4620cd1a30794c1bf06eebd3f4730
[ "Apache-2.0" ]
533
2018-05-18T06:14:04.000Z
2022-03-23T11:46:30.000Z
saber/funcs/impl/arm/neon/saber_softmax.cpp
baajur/Anakin
5fd68a6cc4c4620cd1a30794c1bf06eebd3f4730
[ "Apache-2.0" ]
100
2018-05-26T08:32:48.000Z
2022-03-17T03:26:25.000Z
saber/funcs/impl/arm/neon/saber_softmax.cpp
baajur/Anakin
5fd68a6cc4c4620cd1a30794c1bf06eebd3f4730
[ "Apache-2.0" ]
167
2018-05-18T06:14:35.000Z
2022-02-14T01:44:20.000Z
#include "saber/funcs/impl/arm/saber_softmax.h" #include "saber/funcs/impl/arm/neon/impl/neon_mathfun.h" namespace anakin{ namespace saber{ void softmax_basic(const float* din, float* dout, \ const int axis_size, const int inner_num, \ const int outer_num, const int compute_size) { #pragma omp parallel for ...
36.609495
102
0.582364
baajur
dda1d5424118961cb5c53d2751a15a6381c31ee2
1,259
cpp
C++
UCF HSPT Documents/2007/Solutions/zero.cpp
p473lr/i-urge-mafia-gear
ae19efb1af2e85ed8bcbbcc3d12ae0f024f3565e
[ "Apache-2.0" ]
null
null
null
UCF HSPT Documents/2007/Solutions/zero.cpp
p473lr/i-urge-mafia-gear
ae19efb1af2e85ed8bcbbcc3d12ae0f024f3565e
[ "Apache-2.0" ]
null
null
null
UCF HSPT Documents/2007/Solutions/zero.cpp
p473lr/i-urge-mafia-gear
ae19efb1af2e85ed8bcbbcc3d12ae0f024f3565e
[ "Apache-2.0" ]
null
null
null
// Guitar Zero solution // Written in C++ by Jobby Johns // UCF 2007 High School Programming Contest /* The solution is very simple. Get the number of score changes. Start the * score at 0. Then, get each score change one at a time and adjust the score * accordingly. Once all the score changes are done, ou...
19.984127
79
0.560763
p473lr
dda483d94ce9cfa55a437bb7b8b995b0db566d45
358
hpp
C++
src/engineModules/eFont.hpp
psjuan97/JamEngine
20d98e6f3e962a518cc519fecd90205a52aba249
[ "MIT" ]
3
2019-09-30T08:23:03.000Z
2020-07-18T09:09:56.000Z
src/engineModules/eFont.hpp
psjuan97/JamEngine
20d98e6f3e962a518cc519fecd90205a52aba249
[ "MIT" ]
1
2019-09-28T14:17:05.000Z
2019-09-28T14:17:05.000Z
src/engineModules/eFont.hpp
psjuan97/JamEngine
20d98e6f3e962a518cc519fecd90205a52aba249
[ "MIT" ]
null
null
null
#pragma once #include <string> #include <SDL2/SDL_ttf.h> ///////// /// TODO /// liberar la fuente en el destructor class eFont{ public: eFont(const char* str, int size); ~eFont(); inline TTF_Font* getSDLFont() const { return sdl_font; }; private: ...
16.272727
45
0.539106
psjuan97
dda5c67804d14f06cabfc9360bcb4c7d47d84892
286
hpp
C++
astronomy/solar_system_fingerprints.hpp
madman2003/Principia
c757f840f5278ca3480799cee297238697868283
[ "MIT" ]
null
null
null
astronomy/solar_system_fingerprints.hpp
madman2003/Principia
c757f840f5278ca3480799cee297238697868283
[ "MIT" ]
null
null
null
astronomy/solar_system_fingerprints.hpp
madman2003/Principia
c757f840f5278ca3480799cee297238697868283
[ "MIT" ]
null
null
null
#pragma once #include <cstdint> namespace principia { namespace astronomy { constexpr std::uint64_t KSPStockSystemFingerprint = 0x54B6323B3376D6F3; constexpr std::uint64_t KSPStabilizedSystemFingerprint = 0xB57B58F9CF757C62; } // namespace astronomy } // namespace principia
22
76
0.793706
madman2003
dda802b3b39ca7770bd99d0241c745b1a170b539
21,721
cpp
C++
ExternalSource/myOptimizer/ConicSolver/src/solver/optimizer/IPSolver.cpp
shbang91/PnC
880cbbcf96a48a93a0ab646634781e4f112a71f6
[ "MIT" ]
1
2020-05-04T22:36:54.000Z
2020-05-04T22:36:54.000Z
ExternalSource/myOptimizer/ConicSolver/src/solver/optimizer/IPSolver.cpp
shbang91/PnC
880cbbcf96a48a93a0ab646634781e4f112a71f6
[ "MIT" ]
null
null
null
ExternalSource/myOptimizer/ConicSolver/src/solver/optimizer/IPSolver.cpp
shbang91/PnC
880cbbcf96a48a93a0ab646634781e4f112a71f6
[ "MIT" ]
null
null
null
/* * * ECOS - Embedded Conic Solver * Copyright (C) [2012-2015] A. Domahidi [domahidi@embotech.com], * Automatic Control Lab, ETH Zurich & embotech GmbH, Zurich, Switzerland. * * Copyright [2017] Max Planck Society. All rights reserved. * * This program is free software: you can redistribute it and/or modify *...
51.716667
404
0.676718
shbang91
ddad148892cd9abc74175c5f961396e5081ce719
14,159
cpp
C++
sources/tests/clone_generation_tests.cpp
greati/logicantsy
11d1f33f57df6fc77c3c18b506fc98f9b9a88794
[ "MIT" ]
2
2022-01-22T13:18:35.000Z
2022-02-12T22:56:34.000Z
sources/tests/clone_generation_tests.cpp
greati/logicantsy
11d1f33f57df6fc77c3c18b506fc98f9b9a88794
[ "MIT" ]
27
2020-06-06T18:32:02.000Z
2021-05-02T22:16:49.000Z
sources/tests/clone_generation_tests.cpp
greati/logicantsy
11d1f33f57df6fc77c3c18b506fc98f9b9a88794
[ "MIT" ]
null
null
null
#include "gtest/gtest.h" #include "core/common.h" #include "core/utils.h" #include "core/parser/fmla/fmla_parser.h" #include "apps/clones/clone_generation.h" namespace { TEST(CloneGen, GenerateCloneGodel) { ltsy::BisonFmlaParser parser; auto p = parser.parse("p"); auto q = parser.parse("q"...
32.106576
104
0.322127
greati
ddb127e79811d14f6a32686dfbc2d5d990d73fbc
15,108
cpp
C++
frontends/common/resolveReferences/resolveReferences.cpp
pierce-m/p4c
afe96cf5a658f7bf5e1b95a044c241d9afb13dc6
[ "Apache-2.0" ]
null
null
null
frontends/common/resolveReferences/resolveReferences.cpp
pierce-m/p4c
afe96cf5a658f7bf5e1b95a044c241d9afb13dc6
[ "Apache-2.0" ]
null
null
null
frontends/common/resolveReferences/resolveReferences.cpp
pierce-m/p4c
afe96cf5a658f7bf5e1b95a044c241d9afb13dc6
[ "Apache-2.0" ]
null
null
null
/* Copyright 2013-present Barefoot Networks, Inc. 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 agreed to in w...
32.560345
97
0.60458
pierce-m
ddb19031941d6712f7139733b6aaeda26c2f1e09
1,552
cpp
C++
Depth_Estimation_Pipeline/app/driver.cpp
jasonpilbrough/Mesh-Based-Depth-Estimation
fe82eab3b064c3fa6a543fa83f626e7d948d2335
[ "MIT" ]
null
null
null
Depth_Estimation_Pipeline/app/driver.cpp
jasonpilbrough/Mesh-Based-Depth-Estimation
fe82eab3b064c3fa6a543fa83f626e7d948d2335
[ "MIT" ]
null
null
null
Depth_Estimation_Pipeline/app/driver.cpp
jasonpilbrough/Mesh-Based-Depth-Estimation
fe82eab3b064c3fa6a543fa83f626e7d948d2335
[ "MIT" ]
null
null
null
#include "pipeline.h" //#include "colourmap.h" //#include <opencv2/viz.hpp> int main(int argc, char* argv[]) { // ######### EuRoC ######### //std::string dataset_path_left = "data/EuRoC/MH1/cam0/data/%10d.png"; //std::string dataset_path_right = "data/EuRoC/MH1/cam1/data/%10d.png"; // ######### E...
36.093023
98
0.691366
jasonpilbrough
ddb1bc6b58aa8666fe1bd5ef983591fbeb7c216d
1,181
cpp
C++
test/ext/std/integral_constant/bug_datatype_inheritance.cpp
rbock/hana
2b76377f91a5ebe037dea444e4eaabba6498d3a8
[ "BSL-1.0" ]
2
2015-05-07T14:29:13.000Z
2015-07-04T10:59:46.000Z
test/ext/std/integral_constant/bug_datatype_inheritance.cpp
rbock/hana
2b76377f91a5ebe037dea444e4eaabba6498d3a8
[ "BSL-1.0" ]
null
null
null
test/ext/std/integral_constant/bug_datatype_inheritance.cpp
rbock/hana
2b76377f91a5ebe037dea444e4eaabba6498d3a8
[ "BSL-1.0" ]
null
null
null
/* @copyright Louis Dionne 2014 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ #include <boost/hana/ext/std/integral_constant.hpp> #include <boost/hana/core/datatype.hpp> #include <type_traits> using namespace boost::hana;...
34.735294
94
0.730737
rbock
ddb25dd6ff068f1ee904f061f903794d46277de1
878
cpp
C++
examples/test.cpp
EBoespflug/multi_array
61ce2540bf5e4c3c9b7266ae5958eaad433481a4
[ "CC0-1.0" ]
null
null
null
examples/test.cpp
EBoespflug/multi_array
61ce2540bf5e4c3c9b7266ae5958eaad433481a4
[ "CC0-1.0" ]
null
null
null
examples/test.cpp
EBoespflug/multi_array
61ce2540bf5e4c3c9b7266ae5958eaad433481a4
[ "CC0-1.0" ]
null
null
null
#include "../multi_array.hpp" #include <iostream> #include <numeric> template<typename Container> void print(Container c) { std::cout << c.size() << '\n'; for(auto&& v : c) std::cout << v << ' '; std::cout << '\n'; } int main() { eb::multi_array<int, 3, 2, 2> arr1{0}; eb::multi_array<int,...
17.918367
43
0.458998
EBoespflug
ddb41032afaac83ba298fd4710593472b69f5ec3
27,241
cpp
C++
deform_control/external_libs/OpenSceneGraph-2.8.5/examples/osgscreencapture/osgscreencapture.cpp
UM-ARM-Lab/mab_ms
f199f05b88060182cfbb47706bd1ff3479032c43
[ "BSD-2-Clause" ]
3
2018-08-20T12:12:43.000Z
2021-06-06T09:43:27.000Z
deform_control/external_libs/OpenSceneGraph-2.8.5/examples/osgscreencapture/osgscreencapture.cpp
UM-ARM-Lab/mab_ms
f199f05b88060182cfbb47706bd1ff3479032c43
[ "BSD-2-Clause" ]
null
null
null
deform_control/external_libs/OpenSceneGraph-2.8.5/examples/osgscreencapture/osgscreencapture.cpp
UM-ARM-Lab/mab_ms
f199f05b88060182cfbb47706bd1ff3479032c43
[ "BSD-2-Clause" ]
1
2022-03-31T03:12:23.000Z
2022-03-31T03:12:23.000Z
/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield * * This application is open source and may be redistributed and/or modified * freely and without restriction, both in commericial and non commericial applications, * as long as this copyright notice is maintained. * * This application is d...
34.395202
222
0.562645
UM-ARM-Lab
ddb4b869c05f3c26a91225833baa2ebffa91a990
2,823
cc
C++
cc/whocc-scan-titers.cc
acorg/acmacs-whocc
af508bd4651ffb565cd4cf771200540918b1b2bd
[ "MIT" ]
null
null
null
cc/whocc-scan-titers.cc
acorg/acmacs-whocc
af508bd4651ffb565cd4cf771200540918b1b2bd
[ "MIT" ]
null
null
null
cc/whocc-scan-titers.cc
acorg/acmacs-whocc
af508bd4651ffb565cd4cf771200540918b1b2bd
[ "MIT" ]
null
null
null
#include <string> #include "acmacs-base/argv.hh" #include "acmacs-base/filesystem.hh" #include "acmacs-chart-2/chart.hh" #include "acmacs-chart-2/factory-import.hh" // ---------------------------------------------------------------------- void find_ace_files(const fs::path& source_dir, std::vector<fs::path>& ace_fil...
36.662338
129
0.569607
acorg
ddb8c1a668ae4b09afe226003e27e8d7b3fb0006
34,652
cpp
C++
Gunz/xpsupport/xpcrt.cpp
WhyWolfie/Repack-Aren
4839db138a502ca4cfac8c2a8c950f1b59064955
[ "FSFAP" ]
null
null
null
Gunz/xpsupport/xpcrt.cpp
WhyWolfie/Repack-Aren
4839db138a502ca4cfac8c2a8c950f1b59064955
[ "FSFAP" ]
null
null
null
Gunz/xpsupport/xpcrt.cpp
WhyWolfie/Repack-Aren
4839db138a502ca4cfac8c2a8c950f1b59064955
[ "FSFAP" ]
null
null
null
/* Copyright (c) 2012 Mike Ryan 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, merge, publish, distribute, subli...
34.791165
157
0.75303
WhyWolfie
ddb931107eeba6b3642942bac5d454e2310eb50f
2,248
cpp
C++
src/Context.cpp
santa01/frank-luna-dx11
57172ca245f7933116ad8ab1974a1ff95c6a4f4c
[ "MIT" ]
null
null
null
src/Context.cpp
santa01/frank-luna-dx11
57172ca245f7933116ad8ab1974a1ff95c6a4f4c
[ "MIT" ]
null
null
null
src/Context.cpp
santa01/frank-luna-dx11
57172ca245f7933116ad8ab1974a1ff95c6a4f4c
[ "MIT" ]
null
null
null
/* * Copyright (c) 2020 Pavlo Lavrenenko * * 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, merge, pu...
27.084337
81
0.711744
santa01
ddba5cf6d9aad6ae6bad3b4345ffd496eb24dd05
1,259
cpp
C++
11497/11497.cpp
retroinspect/my-first-ps
89c583cd7207b32465c9616b032dd1c3f1f54438
[ "Apache-2.0" ]
null
null
null
11497/11497.cpp
retroinspect/my-first-ps
89c583cd7207b32465c9616b032dd1c3f1f54438
[ "Apache-2.0" ]
null
null
null
11497/11497.cpp
retroinspect/my-first-ps
89c583cd7207b32465c9616b032dd1c3f1f54438
[ "Apache-2.0" ]
null
null
null
// 통나무 건너뛰기 #include <iostream> #include <string> #include <vector> #include <cassert> #include <cmath> #include <algorithm> #include <list> using namespace std; vector<int> input; int N; int logJumping() { sort(input.begin(), input.end()); list<int> reorder; for (int i=0; i<N; i++) { int e = input[i]; ...
17.985714
81
0.58062
retroinspect
ddbebac1a83fa5be9674f895330b132b682461fb
6,612
cpp
C++
src/lpython/tests/test_parse.cpp
akshanshbhatt/lpython
70fef49dbbb6cbb0447f7013231171e5c8b8e5df
[ "BSD-3-Clause" ]
31
2022-01-07T23:56:33.000Z
2022-03-29T16:09:02.000Z
src/lpython/tests/test_parse.cpp
akshanshbhatt/lpython
70fef49dbbb6cbb0447f7013231171e5c8b8e5df
[ "BSD-3-Clause" ]
197
2021-12-29T19:01:41.000Z
2022-03-31T15:58:25.000Z
src/lpython/tests/test_parse.cpp
akshanshbhatt/lpython
70fef49dbbb6cbb0447f7013231171e5c8b8e5df
[ "BSD-3-Clause" ]
17
2022-01-06T15:34:36.000Z
2022-03-31T13:55:33.000Z
#include <tests/doctest.h> #include <iostream> #include <sstream> #include <chrono> #include <string> #include <lpython/bigint.h> using LFortran::TRY; using LFortran::Result; using LFortran::BigInt::is_int_ptr; using LFortran::BigInt::ptr_to_int; using LFortran::BigInt::int_to_ptr; using LFortran::BigInt::string_to...
22.187919
77
0.535088
akshanshbhatt
ddc43cf6da150fb602bef9745593a4c071d4c933
30,276
cpp
C++
Javelin/Assembler/arm64/Assembler.cpp
jthlim/JavelinPattern
8add264f88ac620de109ddf797f7431779bbd9ea
[ "BSD-3-Clause" ]
10
2016-04-06T01:24:00.000Z
2021-11-16T10:16:51.000Z
Javelin/Assembler/arm64/Assembler.cpp
jthlim/JavelinPattern
8add264f88ac620de109ddf797f7431779bbd9ea
[ "BSD-3-Clause" ]
1
2016-05-06T05:38:58.000Z
2016-05-09T16:42:43.000Z
Javelin/Assembler/arm64/Assembler.cpp
jthlim/JavelinPattern
8add264f88ac620de109ddf797f7431779bbd9ea
[ "BSD-3-Clause" ]
null
null
null
//============================================================================ #if defined(__arm64__) //============================================================================ #include "Javelin/Assembler/arm64/Assembler.h" #include "Javelin/Assembler/JitMemoryManager.h" #include <algorithm> #include <stdint.h>...
30.862385
148
0.647113
jthlim
ddc72e086394b9020cfa8da295a9b09421540bdb
1,203
cpp
C++
Lab1_String_Class_Concepts/program2/functions.cpp
sanatRR/Data-Structures-ICT
c87f52987b3449ad902ffb1b37c198a0a50d480a
[ "MIT" ]
1
2021-07-07T14:38:08.000Z
2021-07-07T14:38:08.000Z
Lab1_String_Class_Concepts/program2/functions.cpp
sanatRR/Data-Structures-ICT
c87f52987b3449ad902ffb1b37c198a0a50d480a
[ "MIT" ]
null
null
null
Lab1_String_Class_Concepts/program2/functions.cpp
sanatRR/Data-Structures-ICT
c87f52987b3449ad902ffb1b37c198a0a50d480a
[ "MIT" ]
null
null
null
//Copyright (c) 2021 Sanat Raorane #include<iostream> #include"student.h" using namespace std; void student::read(student arrayA[],int num){ for(int i=0;i<num;i++){ cout<<"\n\n"; //Lines for spacing cout<<"Enter details for student "<<(i+1)<<endl; cout<<"Enter Name:"<<endl; cin.syn...
26.152174
73
0.512884
sanatRR
ddc7df328a0a0fc63c0eb711853554763af5474b
26,301
cpp
C++
keymaster/authorization_set_test.cpp
Keneral/asystem
df12381b72ef3d629c8efc61100cc8c714195320
[ "Unlicense" ]
9
2017-11-10T15:54:02.000Z
2021-04-15T20:57:29.000Z
keymaster/authorization_set_test.cpp
Keneral/asystem
df12381b72ef3d629c8efc61100cc8c714195320
[ "Unlicense" ]
null
null
null
keymaster/authorization_set_test.cpp
Keneral/asystem
df12381b72ef3d629c8efc61100cc8c714195320
[ "Unlicense" ]
7
2018-01-08T02:53:32.000Z
2020-10-15T13:01:46.000Z
/* * Copyright (C) 2014 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...
41.681458
99
0.63393
Keneral
ddcb34f1d4f4a1b84dff19e87cc67b491ab0c5af
264
cc
C++
source/skyline/solution_unittest.cc
Yang-33/SpatialSkylineQueries-on-TIN
82b828ccc5fe1e772fbfa04627cf6a8d8d69aaa1
[ "MIT" ]
null
null
null
source/skyline/solution_unittest.cc
Yang-33/SpatialSkylineQueries-on-TIN
82b828ccc5fe1e772fbfa04627cf6a8d8d69aaa1
[ "MIT" ]
null
null
null
source/skyline/solution_unittest.cc
Yang-33/SpatialSkylineQueries-on-TIN
82b828ccc5fe1e772fbfa04627cf6a8d8d69aaa1
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include <vector> // See main.cc TEST(SolutionTest, NaiveAndFast) { std::vector<int> a{1, 2, 3}; std::vector<int> b{1, 2, 3}; ASSERT_EQ(a.size(), b.size()); for (size_t i = 0; i < a.size(); ++i) { EXPECT_EQ(a[i], b[i]); } }
20.307692
41
0.568182
Yang-33
ddcca0f40ab90bb6e024256380939f74eaa3a966
2,393
cpp
C++
scisim/ConstrainedMaps/FrictionMaps/FrictionOperator.cpp
Lyestria/scisim
e2c2abc8d38ea9b07717841782c5c723fce37ce5
[ "Apache-2.0" ]
null
null
null
scisim/ConstrainedMaps/FrictionMaps/FrictionOperator.cpp
Lyestria/scisim
e2c2abc8d38ea9b07717841782c5c723fce37ce5
[ "Apache-2.0" ]
null
null
null
scisim/ConstrainedMaps/FrictionMaps/FrictionOperator.cpp
Lyestria/scisim
e2c2abc8d38ea9b07717841782c5c723fce37ce5
[ "Apache-2.0" ]
null
null
null
// FrictionOperator.cpp // // Breannan Smith // Last updated: 09/22/2015 #include "FrictionOperator.h" #include "scisim/Constraints/Constraint.h" FrictionOperator::~FrictionOperator() {} // TODO: Despecialize from smooth void FrictionOperator::formGeneralizedSmoothFrictionBasis( const unsigned ndofs, const unsigned...
36.815385
217
0.689929
Lyestria
ddce127677fce6623d4d0bced04fc24d66d7e2a1
242
hpp
C++
src/main/Input/Input.hpp
ramp-eu/AGILPLAS
b2ae7a234859d758dbc6c8a876329a4060c53bd1
[ "Apache-2.0" ]
null
null
null
src/main/Input/Input.hpp
ramp-eu/AGILPLAS
b2ae7a234859d758dbc6c8a876329a4060c53bd1
[ "Apache-2.0" ]
5
2021-05-28T15:17:38.000Z
2021-06-15T10:04:29.000Z
src/main/Input/Input.hpp
ramp-eu/AGILPLAS
b2ae7a234859d758dbc6c8a876329a4060c53bd1
[ "Apache-2.0" ]
1
2021-05-31T14:39:14.000Z
2021-05-31T14:39:14.000Z
#ifndef INPUT_H_INCLUDED #define INPUT_H_INCLUDED class Input { private: int reference; String alias; public: Input(int reference, String alias); int getReference(); String getAlias(); void serialPrint(); }; #endif
13.444444
39
0.690083
ramp-eu
ddd09e71ba385f83682379de1e163d780b5bbfbb
515
cpp
C++
solved/o-q/odd-sum/odd.cpp
abuasifkhan/pc-code
77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90
[ "Unlicense" ]
13
2015-09-30T19:18:04.000Z
2021-06-26T21:11:30.000Z
solved/o-q/odd-sum/odd.cpp
sbmaruf/pc-code
77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90
[ "Unlicense" ]
null
null
null
solved/o-q/odd-sum/odd.cpp
sbmaruf/pc-code
77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90
[ "Unlicense" ]
13
2015-01-04T09:49:54.000Z
2021-06-03T13:18:44.000Z
#include <cstdio> int a, b; int sum(int lo, int hi) { if (lo < 1) lo = 1; if (lo > hi) return 0; if (lo == hi) return lo; return (hi*(hi+1) - (lo-1)*lo)/2; } int solve() { int x = a % 2 == 0 ? a / 2 : (a - 1) / 2; int y = b % 2 == 0 ? b / 2 - 1 : (b - 1) / 2; return sum(x, y)*2 + y - x +...
15.147059
50
0.4
abuasifkhan
ddd1d520109b5d536a00417fab5cb54c369f7a74
4,524
cpp
C++
src/main/c++/TestAPI/testMemIO.cpp
yildiz-online/component-native-freeimage
cb329c74ebe0aa16d8349a213e1e4b95204fce58
[ "MIT" ]
null
null
null
src/main/c++/TestAPI/testMemIO.cpp
yildiz-online/component-native-freeimage
cb329c74ebe0aa16d8349a213e1e4b95204fce58
[ "MIT" ]
1
2018-11-19T19:12:58.000Z
2018-11-19T19:12:58.000Z
src/main/c++/TestAPI/testMemIO.cpp
yildiz-online/component-native-freeimage
cb329c74ebe0aa16d8349a213e1e4b95204fce58
[ "MIT" ]
null
null
null
// ========================================================== // FreeImage 3 Test Script // // Design and implementation by // - Herv� Drolon (drolon@infonie.fr) // // This file is part of FreeImage 3 // // COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTY // OF ANY KIND, EITHER EXPRESSE...
30.362416
89
0.715075
yildiz-online
ddd40ffa25cb716b4e26db8746e71abad6f85a73
3,167
cpp
C++
sniper/pico/Response.cpp
rtbtech/libsniper
0828df9da74f8ed11a1273c61c15dfb5816c3c1e
[ "Apache-2.0" ]
9
2020-05-08T21:17:12.000Z
2021-06-04T18:38:35.000Z
sniper/pico/Response.cpp
rtbtech/libsniper
0828df9da74f8ed11a1273c61c15dfb5816c3c1e
[ "Apache-2.0" ]
null
null
null
sniper/pico/Response.cpp
rtbtech/libsniper
0828df9da74f8ed11a1273c61c15dfb5816c3c1e
[ "Apache-2.0" ]
null
null
null
// This is an open source non-commercial project. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++, C#, and Java: http://www.viva64.com /* * Copyright (c) 2018 - 2019, MetaHash, Oleg Romanenko (oleg@romanenko.ro) * * Licensed under the Apache License, Version 2.0 (the "License"); * y...
30.747573
116
0.616672
rtbtech
ddd4d5ab025307843be0b62229c0d85036cf370d
582
cpp
C++
Notes_Week2/multipleInput.cpp
WeiChienHsu/CS165
65e95efc90415c8acc707e2d544eb384d3982e18
[ "MIT" ]
1
2019-01-06T22:36:01.000Z
2019-01-06T22:36:01.000Z
Notes_Week2/multipleInput.cpp
WeiChienHsu/CS165
65e95efc90415c8acc707e2d544eb384d3982e18
[ "MIT" ]
null
null
null
Notes_Week2/multipleInput.cpp
WeiChienHsu/CS165
65e95efc90415c8acc707e2d544eb384d3982e18
[ "MIT" ]
null
null
null
/********************************************************************* ** Author: Wei-Chien Hsu ** Date: 04/09/18 ** Description: Asks the user enters width and height, and output the Area. *********************************************************************/ #include <iostream> using ...
27.714286
70
0.450172
WeiChienHsu
dddafcbbe3971a518cafdb18249ca33a8ffe9536
1,668
cc
C++
src/sockio.cc
SanczoPL/QtServer
c8350e920cadc215ad306592460cc16031eefff9
[ "MIT" ]
null
null
null
src/sockio.cc
SanczoPL/QtServer
c8350e920cadc215ad306592460cc16031eefff9
[ "MIT" ]
null
null
null
src/sockio.cc
SanczoPL/QtServer
c8350e920cadc215ad306592460cc16031eefff9
[ "MIT" ]
null
null
null
#include "../include/sockio.h" SockIO::SockIO(QTcpSocket* a_socket, QObject* parent) : QObject(parent) , m_socket{ a_socket } { connect(m_socket, &QTcpSocket::readyRead, this, &SockIO::onReadyRead); } bool SockIO::hasMessages() { return !m_messageQueue.isEmpty(); } Message SockIO::nextMessage() { if (!hasMessag...
26.903226
120
0.676259
SanczoPL
50af57283f0874a8f209829a0822eb507912716d
536
hpp
C++
YYSloth/include/drivers/pic/pic8259.hpp
notYuriy/yayaos
4df7b015cb6e572797dd40a5d2891cf24abcb4d1
[ "MIT" ]
12
2020-04-13T12:38:54.000Z
2021-08-31T07:03:14.000Z
YYSloth/include/drivers/pic/pic8259.hpp
YayOrg/YayOS
4df7b015cb6e572797dd40a5d2891cf24abcb4d1
[ "MIT" ]
null
null
null
YYSloth/include/drivers/pic/pic8259.hpp
YayOrg/YayOS
4df7b015cb6e572797dd40a5d2891cf24abcb4d1
[ "MIT" ]
1
2020-07-18T12:11:37.000Z
2020-07-18T12:11:37.000Z
#ifndef __PIC_8259_HPP_INCLUDED__ #define __PIC_8259_HPP_INCLUDED__ #include <drivers/pic/pic.hpp> #include <utils.hpp> namespace drivers { class PIC8259 : public IPIC { uint8_t m_picMasterMask; uint8_t m_picSlaveMask; public: void init(); bool registerLegacyIrq(uint8_t irq, ...
23.304348
67
0.695896
notYuriy
50af8f89a9594ef35a72183c8ffc3c849c577598
6,043
hpp
C++
src/accelerator/Component.hpp
chrpilat/mnemosyne
bde60abf5e2be614dadf599e9e7b6a44afa83907
[ "BSD-2-Clause" ]
6
2017-03-02T16:02:00.000Z
2022-02-15T13:25:50.000Z
src/accelerator/Component.hpp
chrpilat/mnemosyne
bde60abf5e2be614dadf599e9e7b6a44afa83907
[ "BSD-2-Clause" ]
null
null
null
src/accelerator/Component.hpp
chrpilat/mnemosyne
bde60abf5e2be614dadf599e9e7b6a44afa83907
[ "BSD-2-Clause" ]
2
2019-04-25T15:53:20.000Z
2020-02-10T02:45:32.000Z
/** * @copyright * Copyright (c) 2017 - SLD Group @ Columbia University. All Rights Reserved. * * This file is part of Mnemosyne. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of sourc...
33.949438
154
0.707761
chrpilat
50b20c1135034b5cd83271592d6a03f873ae1c5f
1,326
cc
C++
modules/planning/tasks/traffic_decider/front_vehicle.cc
delding/apollo
22d67d6c2e28550105e04defdf61ce82f2f7e50f
[ "Apache-2.0" ]
null
null
null
modules/planning/tasks/traffic_decider/front_vehicle.cc
delding/apollo
22d67d6c2e28550105e04defdf61ce82f2f7e50f
[ "Apache-2.0" ]
null
null
null
modules/planning/tasks/traffic_decider/front_vehicle.cc
delding/apollo
22d67d6c2e28550105e04defdf61ce82f2f7e50f
[ "Apache-2.0" ]
null
null
null
/****************************************************************************** * Copyright 2018 The Apollo 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 obtain a copy of the License at ...
30.136364
79
0.662142
delding
50b3329138cbe81855eaf86cf22bec99ae8d8dcc
935
hpp
C++
libs/libSocketHandler/src/SocketHandler.hpp
maxDcb/ExplorationC2
f7366118eaa43ca5172b5e9d4a03156d724748b1
[ "MIT" ]
null
null
null
libs/libSocketHandler/src/SocketHandler.hpp
maxDcb/ExplorationC2
f7366118eaa43ca5172b5e9d4a03156d724748b1
[ "MIT" ]
null
null
null
libs/libSocketHandler/src/SocketHandler.hpp
maxDcb/ExplorationC2
f7366118eaa43ca5172b5e9d4a03156d724748b1
[ "MIT" ]
null
null
null
#pragma once #include <fstream> #include <memory> #include <chrono> #include <random> #include <vector> #include <thread> #include <boost/asio.hpp> #include <boost/bind.hpp> #include <boost/shared_ptr.hpp> class Server { public: Server(int port); ~Server(); bool send(std::string& data); bool receive(std::strin...
15.327869
48
0.708021
maxDcb
50b528ab4d6ecd9b379fd23b296cae56f26bb391
2,047
cc
C++
src/image/b3TxSaveInfo.cc
stmork/blz3
275e24681cb1493319cd0a50e691feb86182f6f0
[ "BSD-3-Clause" ]
null
null
null
src/image/b3TxSaveInfo.cc
stmork/blz3
275e24681cb1493319cd0a50e691feb86182f6f0
[ "BSD-3-Clause" ]
null
null
null
src/image/b3TxSaveInfo.cc
stmork/blz3
275e24681cb1493319cd0a50e691feb86182f6f0
[ "BSD-3-Clause" ]
1
2022-01-07T15:58:38.000Z
2022-01-07T15:58:38.000Z
/* ** ** $Filename: b3TxSaveInfo.cc $ ** $Release: Dortmund 2001, 2016 $ ** $Revision$ ** $Date$ ** $Author$ ** $Developer: Steffen A. Mork $ ** ** Blizzard III - File format encoder ** ** (C) Copyright 2001 - 2021 Steffen A. Mork ** All Rights Reserved ** ** */ /*************************************************...
25.5875
85
0.429897
stmork
50b69ba7a31c994d4e138ca87f9a08b483c9e6de
2,811
hpp
C++
include/codegen/include/Oculus/Platform/RoomType.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/Oculus/Platform/RoomType.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/Oculus/Platform/RoomType.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator on 7/27/2020 3:10:08 PM // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes // Including type: System.Enum #include "System/Enum.hpp" #include "utils/il2cpp-utils.hpp" // Completed in...
49.315789
83
0.728211
Futuremappermydud
50bb67be19b9e4f3024490551da250d377d80309
1,743
cpp
C++
UVa 11496 musical loop/sample/sol.cpp
tadvi/uva
0ac0cbdf593879b4fb02a3efc09adbb031cb47d5
[ "MIT" ]
1
2020-11-24T03:17:21.000Z
2020-11-24T03:17:21.000Z
UVa 11496 musical loop/sample/sol.cpp
tadvi/uva
0ac0cbdf593879b4fb02a3efc09adbb031cb47d5
[ "MIT" ]
null
null
null
UVa 11496 musical loop/sample/sol.cpp
tadvi/uva
0ac0cbdf593879b4fb02a3efc09adbb031cb47d5
[ "MIT" ]
1
2021-04-11T16:22:31.000Z
2021-04-11T16:22:31.000Z
#include <iostream> #include <vector> using namespace std; int main(void) { int n, first, last, current, sz; bool increasing; while (cin >> n) { if (n == 0) break; increasing = true; vector<int> points; for (int i = 0; i < n; i++) { cin >> ...
30.051724
62
0.430866
tadvi
50be740fd5091b26478e43a76633c15e31d3e26c
1,586
cpp
C++
2017/February/Silver/Why Did the Cow Cross the Road III.cpp
Sumitkk10/USACO-submissions
543dafe041356e83a18e7a57e5d93d24bc266682
[ "MIT" ]
2
2020-12-09T05:43:19.000Z
2020-12-09T06:24:45.000Z
2017/February/Silver/Why Did the Cow Cross the Road III.cpp
Sumitkk10/USACO-submissions
543dafe041356e83a18e7a57e5d93d24bc266682
[ "MIT" ]
null
null
null
2017/February/Silver/Why Did the Cow Cross the Road III.cpp
Sumitkk10/USACO-submissions
543dafe041356e83a18e7a57e5d93d24bc266682
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define fast ios_base::sync_with_stdio(0);cin.tie(NULL);cout.tie(NULL) using namespace std; const int N = 100 + 5; const int MOD = 1e9 + 7; int n, k, m, sol; set<pair<int, pair<int, pair<int, int> > > > s; bool ok, vis[N][N]; map<pair<int, int>, int> mp; void check(int i, int j){ if(i <= 0...
26.433333
70
0.406053
Sumitkk10
50c0dcfccd74614378c4bf6189216683d5a33079
551
cpp
C++
acmicpc/14789.cpp
juseongkr/BOJ
8f10a2bf9a7d695455493fbe7423347a8b648416
[ "Apache-2.0" ]
7
2020-02-03T10:00:19.000Z
2021-11-16T11:03:57.000Z
acmicpc/14789.cpp
juseongkr/Algorithm-training
8f10a2bf9a7d695455493fbe7423347a8b648416
[ "Apache-2.0" ]
1
2021-01-03T06:58:24.000Z
2021-01-03T06:58:24.000Z
acmicpc/14789.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; int t, k; string s; int main() { cin >> t; for (int T=1; T<=t; ++T) { cin >> s >> k; int cnt = 0; int n = s.length(); for (int i=0; i<=n-k; ++i) { if (s[i] == '-') { cnt++; for (int j=i; j<i+k; ++j) s[j] = s[j] == '+' ? '-' : '+'; } } bool fl...
14.128205
48
0.3902
juseongkr
50c316fdf459561e0def613aad0f9139b8a64c68
71,364
cpp
C++
PythonExtrasC/PythonExtrasC/PythonExtrasC.cpp
rbnbr/S4
61534933e305e76d00cbefb75fc5c713c5b90c74
[ "MIT" ]
1
2021-09-27T11:29:48.000Z
2021-09-27T11:29:48.000Z
PythonExtrasC/PythonExtrasC/PythonExtrasC.cpp
rbnbr/S4
61534933e305e76d00cbefb75fc5c713c5b90c74
[ "MIT" ]
null
null
null
PythonExtrasC/PythonExtrasC/PythonExtrasC.cpp
rbnbr/S4
61534933e305e76d00cbefb75fc5c713c5b90c74
[ "MIT" ]
1
2022-02-10T16:07:27.000Z
2022-02-10T16:07:27.000Z
#pragma GCC diagnostic ignored "-Wdeprecated-declarations" #include <vector> #include <numeric> #include <cmath> #include <cstring> #include <algorithm> #include <functional> #include <random> #include <thread> #include <atomic> #include <chrono> #include <ctime> #include <iostream> #include "macros.h" #include "Buff...
46.011605
149
0.606749
rbnbr
50c650e0f191878630bdfa2f07e11db89750fae1
4,011
cpp
C++
flakor/math/GLMatrix.cpp
sainthsu/Flakor
c414502f85d637b82a47754f20d1175e747b0a7d
[ "Libpng", "Apache-2.0", "MIT" ]
4
2015-01-26T08:42:51.000Z
2015-04-14T09:22:12.000Z
flakor/math/GLMatrix.cpp
sainthsu/Flakor
c414502f85d637b82a47754f20d1175e747b0a7d
[ "Libpng", "Apache-2.0", "MIT" ]
null
null
null
flakor/math/GLMatrix.cpp
sainthsu/Flakor
c414502f85d637b82a47754f20d1175e747b0a7d
[ "Libpng", "Apache-2.0", "MIT" ]
null
null
null
#include "macros.h" #include <assert.h> #include "math/GLMatrix.h" FLAKOR_NS_BEGIN MatrixStack* modelviewStack; MatrixStack* projectionStack; MatrixStack* textureStack; MatrixStack* currentStack = NULL; static unsigned char initialized = 0; #ifdef __cplusplus extern "C" { #endif void lazyInitialize() { if (!...
23.051724
87
0.640987
sainthsu
50c673c4e99d14630c64df5ad4f9829184d85221
9,577
cpp
C++
src/gfx/graphics/vulkan/swapchain_vulkan.cpp
johannes-braun/graphics_utilities
191772a3ff1c14eea74b9b5614b6226cf1f8abb7
[ "MIT" ]
null
null
null
src/gfx/graphics/vulkan/swapchain_vulkan.cpp
johannes-braun/graphics_utilities
191772a3ff1c14eea74b9b5614b6226cf1f8abb7
[ "MIT" ]
null
null
null
src/gfx/graphics/vulkan/swapchain_vulkan.cpp
johannes-braun/graphics_utilities
191772a3ff1c14eea74b9b5614b6226cf1f8abb7
[ "MIT" ]
null
null
null
#include "init_struct.hpp" #include "swapchain_vulkan.hpp" #include "image_view_vulkan.hpp" #include "result.hpp" namespace gfx { inline namespace v1 { namespace vulkan { uint32_t swapchain_implementation::current_image() const noexcept { return _current_image; } void swapchain_implementation::present() { if...
49.365979
161
0.732066
johannes-braun
50c7ba74baa9d0d989196197f1e0fc6c28ef57e1
1,044
cc
C++
shuffle-an-array.cc
ArCan314/leetcode
8e22790dc2f34f5cf2892741ff4e5d492bb6d0dd
[ "MIT" ]
null
null
null
shuffle-an-array.cc
ArCan314/leetcode
8e22790dc2f34f5cf2892741ff4e5d492bb6d0dd
[ "MIT" ]
null
null
null
shuffle-an-array.cc
ArCan314/leetcode
8e22790dc2f34f5cf2892741ff4e5d492bb6d0dd
[ "MIT" ]
null
null
null
#include <vector> #include <random> class Solution { public: std::vector<int> arr_; std::random_device dev_; std::mt19937 rng_; std::vector<std::uniform_int_distribution<int>> dists_; std::vector<int> res_; Solution(std::vector<int>& nums) : arr_(nums), dev_(), rng_(dev_()), res_(nums) { ...
26.1
83
0.564176
ArCan314
50ccf6e8002517cfa041552b8f5ac2102158a917
83
cpp
C++
ksn-2021-pertahanan/solution-1.cpp
ia-toki/ksn-2021
e925029fa9ce6198aae489c5f8505c47078da28e
[ "CC-BY-4.0" ]
null
null
null
ksn-2021-pertahanan/solution-1.cpp
ia-toki/ksn-2021
e925029fa9ce6198aae489c5f8505c47078da28e
[ "CC-BY-4.0" ]
null
null
null
ksn-2021-pertahanan/solution-1.cpp
ia-toki/ksn-2021
e925029fa9ce6198aae489c5f8505c47078da28e
[ "CC-BY-4.0" ]
1
2021-12-05T04:17:41.000Z
2021-12-05T04:17:41.000Z
#include <bits/stdc++.h> using namespace std; int main() { cout << 9 << '\n'; }
11.857143
24
0.554217
ia-toki
50cd5b9f93c313756548633084e08427f4b688bd
8,537
cpp
C++
src/SamplesLibElise/CPP_CilliaImg.cpp
kikislater/micmac
3009dbdad62b3ad906ec882b74b85a3db86ca755
[ "CECILL-B" ]
451
2016-11-25T09:40:28.000Z
2022-03-30T04:20:42.000Z
src/SamplesLibElise/CPP_CilliaImg.cpp
kikislater/micmac
3009dbdad62b3ad906ec882b74b85a3db86ca755
[ "CECILL-B" ]
143
2016-11-25T20:35:57.000Z
2022-03-01T11:58:02.000Z
src/SamplesLibElise/CPP_CilliaImg.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 MiccMac : 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 Maillet, Did...
26.512422
121
0.538597
kikislater
50cd7e3c47b62a36e926996848352808662522a0
831
hh
C++
src/websocket_server/Packets/Out/WeatherStatusPacket.hh
3n16m4/websocket-server
5b6575bbd459feeef459b20a093ada3fd9d035e5
[ "MIT" ]
2
2020-11-16T15:53:39.000Z
2021-03-20T09:08:36.000Z
src/websocket_server/Packets/Out/WeatherStatusPacket.hh
3n16m4/websocket-server
5b6575bbd459feeef459b20a093ada3fd9d035e5
[ "MIT" ]
2
2020-12-09T23:54:55.000Z
2020-12-11T20:14:52.000Z
src/websocket_server/Packets/Out/WeatherStatusPacket.hh
3n16m4/websocket-server
5b6575bbd459feeef459b20a093ada3fd9d035e5
[ "MIT" ]
1
2021-03-20T09:08:41.000Z
2021-03-20T09:08:41.000Z
#ifndef WEBSOCKET_SERVER_OUT_WEATHER_STATUS_PACKET_HH #define WEBSOCKET_SERVER_OUT_WEATHER_STATUS_PACKET_HH #include <array> namespace amadeus { enum class WebSocketSessionFlag : std::uint8_t; #pragma pack(push, 1) namespace out { /// \brief Defines the WeatherStatusPacket which is sent by the server if a /// WebSock...
29.678571
78
0.758123
3n16m4
50d35331a0380b1acbd4127c8f8c2c6966f4b433
831
hpp
C++
cpp2c/test_data/mmalloc.hpp
mendlin/SIMD-libgen
0f386bb639c829275a00f46c4b31d59c5ed84a28
[ "AFL-1.1" ]
1
2021-01-07T03:18:27.000Z
2021-01-07T03:18:27.000Z
cpp2c/test_data/mmalloc.hpp
Logicalmars/SIMD-libgen
0f386bb639c829275a00f46c4b31d59c5ed84a28
[ "AFL-1.1" ]
null
null
null
cpp2c/test_data/mmalloc.hpp
Logicalmars/SIMD-libgen
0f386bb639c829275a00f46c4b31d59c5ed84a28
[ "AFL-1.1" ]
1
2021-11-29T07:28:13.000Z
2021-11-29T07:28:13.000Z
#ifndef ALIGNED_MMALLOC_HPP #define ALIGNED_MMALLOC_HPP /*============================================================================= allocator.hpp - Platform independent aligned memory allocation. Created on: 06-December-2011 Author: Ken Herdy Description: TODO - Wrap routines inside a class scope and/or...
22.459459
79
0.565584
mendlin
50dae8608e9b682934ff5632912f808772132924
4,010
cpp
C++
test/test_array_derivatives.cpp
yairchu/Adept-2
3b4f898c74139618464ccd8e8df0934aed9ed6a2
[ "Apache-2.0" ]
131
2016-07-06T04:06:49.000Z
2022-03-19T22:34:47.000Z
test/test_array_derivatives.cpp
yairchu/Adept-2
3b4f898c74139618464ccd8e8df0934aed9ed6a2
[ "Apache-2.0" ]
19
2016-06-20T20:20:23.000Z
2022-02-15T14:55:01.000Z
test/test_array_derivatives.cpp
yairchu/Adept-2
3b4f898c74139618464ccd8e8df0934aed9ed6a2
[ "Apache-2.0" ]
31
2017-10-07T00:07:49.000Z
2022-03-05T17:51:17.000Z
/* test_array_derivatives.cpp - Test derivatives of array expressions Copyright (C) 2017 European Centre for Medium-Range Weather Forecasts Author: Robin Hogan <r.j.hogan@ecmwf.int> Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided t...
23.727811
101
0.610474
yairchu
50db783e21b99550fa09f93b00936396feab61e9
9,908
hpp
C++
ze_common/include/ze/common/ringbuffer.hpp
rockenbf/ze_oss
ee04158e2d51acb07a267196f618e9afbc3ffd83
[ "BSD-3-Clause" ]
30
2016-09-27T07:41:28.000Z
2021-12-03T20:44:28.000Z
ze_common/include/ze/common/ringbuffer.hpp
rockenbf/ze_oss
ee04158e2d51acb07a267196f618e9afbc3ffd83
[ "BSD-3-Clause" ]
1
2018-12-18T15:53:06.000Z
2018-12-21T03:10:06.000Z
ze_common/include/ze/common/ringbuffer.hpp
rockenbf/ze_oss
ee04158e2d51acb07a267196f618e9afbc3ffd83
[ "BSD-3-Clause" ]
12
2016-11-05T07:51:29.000Z
2020-07-13T02:26:08.000Z
// Copyright (c) 2015-2016, ETH Zurich, Wyss Zurich, Zurich Eye // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // * Redistributions of source code must retain the above copyright // ...
31.858521
87
0.709931
rockenbf
50db7ca281441c15525ea23e0f2a09d9258fc9dd
3,198
cpp
C++
src/libraries/core/primitives/strings/lists/hashedWordList.cpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
src/libraries/core/primitives/strings/lists/hashedWordList.cpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
src/libraries/core/primitives/strings/lists/hashedWordList.cpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
/*---------------------------------------------------------------------------*\ Copyright (C) 2011 OpenFOAM Foundation ------------------------------------------------------------------------------- License This file is part of CAELUS. CAELUS is free software: you can redistribute it and/or modify it under...
20.5
79
0.530019
MrAwesomeRocks
50e125deb4b320ce3f86b69e55896749b3dd1652
70
cpp
C++
gui/applicationdata.cpp
UnnamedCompany/UnnamedSoftware
3251dc9844f35622f616fd3d5a40cb8c89ac0b28
[ "MIT" ]
4
2016-02-18T00:48:10.000Z
2016-03-02T23:41:54.000Z
gui/applicationdata.cpp
UnnamedCompany/UnnamedSoftware
3251dc9844f35622f616fd3d5a40cb8c89ac0b28
[ "MIT" ]
null
null
null
gui/applicationdata.cpp
UnnamedCompany/UnnamedSoftware
3251dc9844f35622f616fd3d5a40cb8c89ac0b28
[ "MIT" ]
1
2016-02-29T18:13:34.000Z
2016-02-29T18:13:34.000Z
#include "applicationdata.h" ApplicationData::ApplicationData() { }
14
38
0.757143
UnnamedCompany
50e27a852f0b1d876c84eba4259fca8df2a4e44b
11,149
cc
C++
store/benchmark/retwisClient.cc
yc1111/tapir
2ce0f57725611076cd76ad7374b44f887d8618d8
[ "MIT" ]
437
2016-01-13T23:06:06.000Z
2022-03-07T07:41:55.000Z
store/benchmark/retwisClient.cc
yc1111/tapir
2ce0f57725611076cd76ad7374b44f887d8618d8
[ "MIT" ]
13
2016-01-14T06:12:21.000Z
2021-09-15T07:45:17.000Z
store/benchmark/retwisClient.cc
yc1111/tapir
2ce0f57725611076cd76ad7374b44f887d8618d8
[ "MIT" ]
58
2016-01-14T05:54:13.000Z
2022-03-08T02:56:33.000Z
// -*- mode: c++; c-file-style: "k&r"; c-basic-offset: 4 -*- /*********************************************************************** * * store/benchmark/retwisClient.cc: * Retwis benchmarking client for a distributed transactional store. * **********************************************************************/ ...
30.545205
90
0.44865
yc1111
50e2b45736a4cb23039bc11d8b549132c96b556b
94
cpp
C++
src/cli/InvalidCommandSyntaxException.cpp
mbassale/ownpass
a84e0cd3933ec8c3febf0e09647990baf3c2d506
[ "MIT" ]
null
null
null
src/cli/InvalidCommandSyntaxException.cpp
mbassale/ownpass
a84e0cd3933ec8c3febf0e09647990baf3c2d506
[ "MIT" ]
null
null
null
src/cli/InvalidCommandSyntaxException.cpp
mbassale/ownpass
a84e0cd3933ec8c3febf0e09647990baf3c2d506
[ "MIT" ]
null
null
null
// // Created by Marco Bassaletti on 18-03-21. // #include "InvalidCommandSyntaxException.h"
15.666667
43
0.734043
mbassale
50e75f1d819c1c35e5f770807a9f53e427904d2f
1,144
hpp
C++
DOS_Boat_Source/RequireSpace.hpp
michaelslewis/DOS_Boat
1c25f352d75555fa81bbd0f99c89aaed43739646
[ "MIT" ]
null
null
null
DOS_Boat_Source/RequireSpace.hpp
michaelslewis/DOS_Boat
1c25f352d75555fa81bbd0f99c89aaed43739646
[ "MIT" ]
null
null
null
DOS_Boat_Source/RequireSpace.hpp
michaelslewis/DOS_Boat
1c25f352d75555fa81bbd0f99c89aaed43739646
[ "MIT" ]
null
null
null
/**************************************************************************** * Author: Michael S. Lewis * * Date: 6/3/2016 * * Description: RequireSpace.hpp is the RequireSpace class declaration * * (interface) file (for Final Project "DOS Boat"). * * A Require S...
35.75
79
0.566434
michaelslewis
50e780b7bab76861f125a4c3ff88c3d8acf4c755
360
cpp
C++
books/C++_advanced_course/Chapter6/template_parameter_4.cpp
liangjisheng/C-Cpp
8b33ba1f43580a7bdded8bb4ce3d92983ccedb81
[ "MIT" ]
5
2019-09-17T09:12:15.000Z
2021-05-29T10:54:39.000Z
books/C++_advanced_course/Chapter6/template_parameter_4.cpp
liangjisheng/C-Cpp
8b33ba1f43580a7bdded8bb4ce3d92983ccedb81
[ "MIT" ]
null
null
null
books/C++_advanced_course/Chapter6/template_parameter_4.cpp
liangjisheng/C-Cpp
8b33ba1f43580a7bdded8bb4ce3d92983ccedb81
[ "MIT" ]
2
2021-07-26T06:36:12.000Z
2022-01-23T15:20:30.000Z
#include <iostream> using std::cout; using std::endl; template<class T, int a> class X { public: T valX[a]; }; template<class T, int a> class Y { X<T, a> valY; public: void Set(T t) { valY.valX[0] = t; } void ShowFirst() { cout << valY.valX[0] << endl; } }; int main() { Y<double, 3> y; y.Set(0.8); y.ShowFi...
10.588235
51
0.586111
liangjisheng
50e8fb9c008d57e9f0091fbfd6c1d3c827741bbc
1,836
cpp
C++
tests/rect_follow_mouse.cpp
AlexandruIca/SoftRender
9466251ad919d6896a1e3d1455a156186106cbaa
[ "Unlicense" ]
null
null
null
tests/rect_follow_mouse.cpp
AlexandruIca/SoftRender
9466251ad919d6896a1e3d1455a156186106cbaa
[ "Unlicense" ]
null
null
null
tests/rect_follow_mouse.cpp
AlexandruIca/SoftRender
9466251ad919d6896a1e3d1455a156186106cbaa
[ "Unlicense" ]
null
null
null
#include <chrono> #include <cmath> #include "softrender.hpp" struct rect_t { softrender::point_t pos{ 0, 0 }; int w{ 0 }; int h{ 0 }; }; using microsecond_t = decltype(std::chrono::duration_cast<std::chrono::microseconds>( std::chrono::seconds(1)) .count()); auto fo...
26.228571
78
0.594227
AlexandruIca
50e90c212b6c069bf716bd2de7e2fd50dc270404
4,508
cpp
C++
Code/GraphMol/catch_tests.cpp
Mike575/rdkit
373a89021e478f878c6011a201e3fb8f4a122093
[ "PostgreSQL" ]
1
2019-01-23T06:02:24.000Z
2019-01-23T06:02:24.000Z
Code/GraphMol/catch_tests.cpp
Mike575/rdkit
373a89021e478f878c6011a201e3fb8f4a122093
[ "PostgreSQL" ]
null
null
null
Code/GraphMol/catch_tests.cpp
Mike575/rdkit
373a89021e478f878c6011a201e3fb8f4a122093
[ "PostgreSQL" ]
null
null
null
#define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do // this in one cpp file #include "catch.hpp" #include <GraphMol/RDKitBase.h> #include <GraphMol/RDKitQueries.h> #include <GraphMol/Chirality.h> #include <GraphMol/FileParsers/FileParsers.h> #include <GraphMol/Smiles...
32.2
134
0.648625
Mike575
50eb9c8a790c3cdc7a4a284c23365dca8452f292
973
cpp
C++
Problems/IEEEXtreme/IEEEXtreme_11.0/Codes/Full.Pyramid.cpp
metehkaya/Algo-Archive
03b5fdcf06f84a03125c57762c36a4e03ca6e756
[ "MIT" ]
2
2020-07-20T06:40:22.000Z
2021-11-20T01:23:26.000Z
Problems/IEEEXtreme/IEEEXtreme_11.0/Codes/Full.Pyramid.cpp
metehkaya/Algo-Archive
03b5fdcf06f84a03125c57762c36a4e03ca6e756
[ "MIT" ]
null
null
null
Problems/IEEEXtreme/IEEEXtreme_11.0/Codes/Full.Pyramid.cpp
metehkaya/Algo-Archive
03b5fdcf06f84a03125c57762c36a4e03ca6e756
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define fi first #define se second #define maxk 17 #define maxn 100003 #define mod 1000000007 using namespace std; typedef pair<int,int> pi; int s; int comb[maxk][maxk]; pi dp[maxn][maxk]; int f( int ind , int step , int rem ) { if( ind == step ) return 1; if( dp[rem][ind].se == step + 1...
20.702128
88
0.50668
metehkaya
50f527b18788b52c38ea6e11fa240c91a476f68d
2,346
cpp
C++
iOS/Game/GameWindows.cpp
Amazong/Nebula
8b5b0d3dea53b4a9558b6149c84d10564b86cf6d
[ "MIT" ]
null
null
null
iOS/Game/GameWindows.cpp
Amazong/Nebula
8b5b0d3dea53b4a9558b6149c84d10564b86cf6d
[ "MIT" ]
11
2016-07-14T11:55:17.000Z
2016-07-14T12:14:01.000Z
iOS/Game/GameWindows.cpp
Amazong/iOS---Instrument-Outlet-Simulator
8b5b0d3dea53b4a9558b6149c84d10564b86cf6d
[ "MIT" ]
null
null
null
#include "headers\GameWindows.h" #include "headers\Errors.h" int render_splash() { sf::RenderWindow *splash_screen = new sf::RenderWindow(sf::VideoMode(887, 407), "", sf::Style::None); sf::Clock splash_clk; sf::Texture splash_png; if (!(splash_png.loadFromFile("res/png/Splash.png"))) { splash_screen->setVisibl...
18.046154
113
0.617221
Amazong
50f5eac597a7a48fdf25f1af7c48233c64a486e6
260
cpp
C++
Version0.2/Kernel/Discretization/preprocessing.cpp
glwagner/Exasim
ee4540443435f958fa2ca78d59cbf9cff0fe69de
[ "MIT" ]
37
2020-12-09T20:24:36.000Z
2022-02-18T17:19:23.000Z
Version0.2/Kernel/Discretization/preprocessing.cpp
glwagner/Exasim
ee4540443435f958fa2ca78d59cbf9cff0fe69de
[ "MIT" ]
25
2020-11-25T20:37:33.000Z
2022-02-25T15:53:11.000Z
Version0.2/Kernel/Discretization/preprocessing.cpp
glwagner/Exasim
ee4540443435f958fa2ca78d59cbf9cff0fe69de
[ "MIT" ]
8
2020-11-30T15:34:06.000Z
2022-01-09T21:06:00.000Z
#ifndef __PREPROCESSING #define __PREPROCESSING #include "../preprocessing/errormsg.cpp" #include "../preprocessing/ioutilities.cpp" #include "../preprocessing/readbinaryfiles.cpp" #ifdef HAVE_CUDA #include "../preprocessing/gpuDeviceInfo.cpp" #endif #endif
21.666667
47
0.788462
glwagner
50f7589a35ef392e993cef7dfd97e16115d1e4be
508
cpp
C++
cpp/utility_make_from_tuple.cpp
rpuntaie/c-examples
385b3c792e5b39f81a187870100ed6401520a404
[ "MIT" ]
null
null
null
cpp/utility_make_from_tuple.cpp
rpuntaie/c-examples
385b3c792e5b39f81a187870100ed6401520a404
[ "MIT" ]
null
null
null
cpp/utility_make_from_tuple.cpp
rpuntaie/c-examples
385b3c792e5b39f81a187870100ed6401520a404
[ "MIT" ]
null
null
null
/* g++ --std=c++20 -pthread -o ../_build/cpp/utility_make_from_tuple.exe ./cpp/utility_make_from_tuple.cpp && (cd ../_build/cpp/;./utility_make_from_tuple.exe) https://en.cppreference.com/w/cpp/utility/make_from_tuple */ #include <iostream> #include <tuple> struct Foo { Foo(int first, float second, int third) { ...
28.222222
156
0.635827
rpuntaie
50f96c187b9ce94499cc1b4e6b8e24405bfdfa12
4,365
cxx
C++
STEER/STEERBase/AliDetectorTagCuts.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
52
2016-12-11T13:04:01.000Z
2022-03-11T11:49:35.000Z
STEER/STEERBase/AliDetectorTagCuts.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
1,388
2016-11-01T10:27:36.000Z
2022-03-30T15:26:09.000Z
STEER/STEERBase/AliDetectorTagCuts.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
275
2016-06-21T20:24:05.000Z
2022-03-31T13:06:19.000Z
/************************************************************************** * Author: Panos Christakoglou. * * Contributors are mentioned in the code where appropriate. * * * * Permission to...
36.680672
85
0.6252
AllaMaevskaya
50ff1bc5ed5b30251e2a0c6b4e0289112d84e0e2
6,165
hpp
C++
src/morda/widgets/group/list.hpp
igagis/morda
dd7b58f7cb2689d56b7796cc9b6b9302aad1a529
[ "MIT" ]
69
2016-12-07T05:56:53.000Z
2020-11-27T20:59:05.000Z
src/morda/widgets/group/list.hpp
igagis/morda
dd7b58f7cb2689d56b7796cc9b6b9302aad1a529
[ "MIT" ]
103
2015-07-10T14:42:21.000Z
2020-09-09T16:16:21.000Z
src/morda/widgets/group/list.hpp
igagis/morda
dd7b58f7cb2689d56b7796cc9b6b9302aad1a529
[ "MIT" ]
18
2016-11-22T14:41:37.000Z
2020-04-22T18:16:10.000Z
/* morda - GUI framework Copyright (C) 2012-2021 Ivan Gagis <igagis@gmail.com> 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 3 of the License, or (at your option) any later version...
28.022727
144
0.710949
igagis
dd00c037105c4c257d0293e8d5c4d7cc9b5180d3
1,415
cpp
C++
libs/settings/src/help.cpp
robertdickson/ledger
fd9ba1a3fb2ccbb212561695ebb745747a5402b4
[ "Apache-2.0" ]
96
2018-08-23T16:49:05.000Z
2021-11-25T00:47:16.000Z
libs/settings/src/help.cpp
robertdickson/ledger
fd9ba1a3fb2ccbb212561695ebb745747a5402b4
[ "Apache-2.0" ]
1,011
2018-08-17T12:25:21.000Z
2021-11-18T09:30:19.000Z
libs/settings/src/help.cpp
robertdickson/ledger
fd9ba1a3fb2ccbb212561695ebb745747a5402b4
[ "Apache-2.0" ]
65
2018-08-20T20:05:40.000Z
2022-02-26T23:54:35.000Z
//------------------------------------------------------------------------------ // // Copyright 2018-2020 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 License at // // ...
25.267857
80
0.619081
robertdickson
dd033758b6c3f0807ce81c62ef206680f2338422
1,930
hpp
C++
experimental/Pomdog.Experimental/Gameplay2D/Transform.hpp
ValtoForks/pomdog
73798ae5f4a4c3b9b1e1e96239187c4b842c93b2
[ "MIT" ]
null
null
null
experimental/Pomdog.Experimental/Gameplay2D/Transform.hpp
ValtoForks/pomdog
73798ae5f4a4c3b9b1e1e96239187c4b842c93b2
[ "MIT" ]
null
null
null
experimental/Pomdog.Experimental/Gameplay2D/Transform.hpp
ValtoForks/pomdog
73798ae5f4a4c3b9b1e1e96239187c4b842c93b2
[ "MIT" ]
null
null
null
// Copyright (c) 2013-2018 mogemimi. Distributed under the MIT license. #pragma once #include "Pomdog.Experimental/Gameplay/detail/ComponentTypeIndex.hpp" #include "Pomdog.Experimental/Gameplay/Component.hpp" #include "Pomdog/Basic/Export.hpp" #include "Pomdog/Math/Quaternion.hpp" #include "Pomdog/Math/Radian.hpp" #i...
24.43038
71
0.74715
ValtoForks
dd03afbf58d3d03eb05365cd7623fa1cef1ac089
1,766
cpp
C++
bachelor/computer-graphics/Les1/CG1_EdgeTableRow.cpp
Brent-rb/University
caae9c7d8e44bf7589865517f786529b1f171059
[ "MIT" ]
null
null
null
bachelor/computer-graphics/Les1/CG1_EdgeTableRow.cpp
Brent-rb/University
caae9c7d8e44bf7589865517f786529b1f171059
[ "MIT" ]
null
null
null
bachelor/computer-graphics/Les1/CG1_EdgeTableRow.cpp
Brent-rb/University
caae9c7d8e44bf7589865517f786529b1f171059
[ "MIT" ]
null
null
null
// CG1_EdgeTableRow.cpp: implementation of the CG1_EdgeTableRow class. // ////////////////////////////////////////////////////////////////////// #include "CG1_EdgeTableRow.h" #include <stdio.h> ////////////////////////////////////////////////////////////////////// // Construction/Destruction ////////////////...
24.527778
93
0.460362
Brent-rb
dd04525b5224e62126bbb901f63b44d59724b3a2
12,579
cpp
C++
tests/Replication2/ReplicatedState/MaintenanceTest.cpp
LLcat1217/arangodb
67c51272915699e0a489e1f8d9da786f4226221a
[ "Apache-2.0" ]
null
null
null
tests/Replication2/ReplicatedState/MaintenanceTest.cpp
LLcat1217/arangodb
67c51272915699e0a489e1f8d9da786f4226221a
[ "Apache-2.0" ]
null
null
null
tests/Replication2/ReplicatedState/MaintenanceTest.cpp
LLcat1217/arangodb
67c51272915699e0a489e1f8d9da786f4226221a
[ "Apache-2.0" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2021-2021 ArangoDB GmbH, Cologne, Germany /// /// 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 co...
40.317308
80
0.581922
LLcat1217
dd04eeadcb3d3eec69af42fe91c490728494de2b
3,977
cpp
C++
ch08/8.exercise.05.cpp
0p3r4t4/PPPUCPP2nd
cf1bd23bb22ee00a77172e43678b7eaa91f592e0
[ "MIT" ]
51
2017-03-24T06:08:11.000Z
2022-03-18T00:28:14.000Z
ch08/8.exercise.05.cpp
0p3r4t4/PPPUCPP2nd
cf1bd23bb22ee00a77172e43678b7eaa91f592e0
[ "MIT" ]
1
2019-06-23T07:33:42.000Z
2019-12-12T13:14:04.000Z
ch08/8.exercise.05.cpp
0p3r4t4/PPPUCPP2nd
cf1bd23bb22ee00a77172e43678b7eaa91f592e0
[ "MIT" ]
25
2017-04-07T13:22:45.000Z
2022-03-18T00:28:15.000Z
// 8.exercise.05.cpp // // Write two functions that reverse the order of element in a vector<int>. // For example, 1, 3, 5, 6, 9 becomes 9, 7, 5, 3, 1. The first reverse // function should produce a new vector with the reverse sequence, leaving the // original vector unchanged. The other reverse function should rev...
31.816
81
0.608499
0p3r4t4
dd050b40b3689ecaa72f8691d1d6f53df4276d02
274
cpp
C++
source/shared_traits.cpp
phikaczu/logging
c926d9ac72208ae10364adb368e9b39f0c43cbdc
[ "MIT" ]
null
null
null
source/shared_traits.cpp
phikaczu/logging
c926d9ac72208ae10364adb368e9b39f0c43cbdc
[ "MIT" ]
null
null
null
source/shared_traits.cpp
phikaczu/logging
c926d9ac72208ae10364adb368e9b39f0c43cbdc
[ "MIT" ]
null
null
null
#include "shared_traits.h" #include<cassert> using namespace logs2::SharedTraits; AssertCheck::AssertCheck() : _threadId{ std::this_thread::get_id() } { } void AssertCheck::isSameThread() const { assert(std::this_thread::get_id() == _threadId); }
17.125
53
0.671533
phikaczu
dd08360f1d9633daaf49c3bce9979d7835eca5e8
6,324
cpp
C++
core/src/zxing/qrcode/decoder/BitMatrixParser.cpp
camposm/tinyzxing
ab156e0c7e0602f0b091a1e0a24afdf670c6373e
[ "Apache-2.0" ]
null
null
null
core/src/zxing/qrcode/decoder/BitMatrixParser.cpp
camposm/tinyzxing
ab156e0c7e0602f0b091a1e0a24afdf670c6373e
[ "Apache-2.0" ]
1
2021-09-27T13:16:08.000Z
2021-09-27T13:16:08.000Z
core/src/zxing/qrcode/decoder/BitMatrixParser.cpp
camposm/tinyzxing
ab156e0c7e0602f0b091a1e0a24afdf670c6373e
[ "Apache-2.0" ]
null
null
null
/* * BitMatrixParser.cpp * zxing * * Created by Christian Brunschen on 20/05/2008. * Copyright 2008 ZXing 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 obtain a copy of the Licens...
28.232143
92
0.576534
camposm
dd085a10754d853dfa6fc05db45c3c43bdb39bf4
155
hpp
C++
src/utils/assert.hpp
JacobDomagala/Shady
cdb8b07a83d179f58bd70c42957e987ddd201eb4
[ "MIT" ]
2
2020-10-27T00:16:18.000Z
2021-03-29T12:59:48.000Z
src/utils/assert.hpp
JacobDomagala/DEngine
cdb8b07a83d179f58bd70c42957e987ddd201eb4
[ "MIT" ]
58
2020-08-23T21:38:21.000Z
2021-08-05T16:12:31.000Z
src/utils/assert.hpp
JacobDomagala/Shady
cdb8b07a83d179f58bd70c42957e987ddd201eb4
[ "MIT" ]
null
null
null
#pragma once #include <string_view> namespace shady::utils { void Assert(bool assertion, std::string_view logMsg); } // namespace shady::utils
15.5
49
0.703226
JacobDomagala
dd085d6124666640274f9c20f98790de6a10b19f
2,554
cpp
C++
examples/tumor/tumor_main.cpp
Pan-Maciek/iga-ads
4744829c98cba4e9505c5c996070119e73ba18fa
[ "MIT" ]
7
2018-01-19T00:19:19.000Z
2021-06-22T00:53:00.000Z
examples/tumor/tumor_main.cpp
Pan-Maciek/iga-ads
4744829c98cba4e9505c5c996070119e73ba18fa
[ "MIT" ]
66
2021-06-22T22:44:21.000Z
2022-03-16T15:18:00.000Z
examples/tumor/tumor_main.cpp
Pan-Maciek/iga-ads
4744829c98cba4e9505c5c996070119e73ba18fa
[ "MIT" ]
6
2017-04-13T19:42:27.000Z
2022-03-26T18:46:24.000Z
// SPDX-FileCopyrightText: 2015 - 2021 Marcin Łoś <marcin.los.91@gmail.com> // SPDX-License-Identifier: MIT #include "ads/simulation.hpp" #include "tumor.hpp" #include "vasculature.hpp" // clang-tidy 12 complains about deleted default constructor not // initializing some members // // NOLINTNEXTLINE(cppcoreguidelines...
26.884211
76
0.632733
Pan-Maciek
dd0b9b7c456ca5ce3c9b526dde6e385123c9401a
1,012
cpp
C++
src/hdfs_common.cpp
ZEMUSHKA/pydoop
e3d3378ae9921561f6c600c79364c2ad42ec206d
[ "Apache-2.0" ]
1
2017-11-16T02:13:15.000Z
2017-11-16T02:13:15.000Z
src/hdfs_common.cpp
ZEMUSHKA/pydoop
e3d3378ae9921561f6c600c79364c2ad42ec206d
[ "Apache-2.0" ]
null
null
null
src/hdfs_common.cpp
ZEMUSHKA/pydoop
e3d3378ae9921561f6c600c79364c2ad42ec206d
[ "Apache-2.0" ]
null
null
null
// BEGIN_COPYRIGHT // // Copyright 2009-2014 CRS4. // // 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 applicab...
28.111111
78
0.699605
ZEMUSHKA
dd0eb99be4447e58a8bfd4d6efe3a0f03c41d8ff
26,469
cpp
C++
libraries/graphic/context.cpp
Max1412/vgraphics
852141a63b24c975f0ab59d1d4517ea4dc64e3a5
[ "CC-BY-4.0" ]
1
2021-12-09T14:24:04.000Z
2021-12-09T14:24:04.000Z
libraries/graphic/context.cpp
Max1412/vgraphics
852141a63b24c975f0ab59d1d4517ea4dc64e3a5
[ "CC-BY-4.0" ]
null
null
null
libraries/graphic/context.cpp
Max1412/vgraphics
852141a63b24c975f0ab59d1d4517ea4dc64e3a5
[ "CC-BY-4.0" ]
null
null
null
#include <set> #define GLFW_INCLUDE_VULKAN #include "Context.h" #include "imgui/imgui_impl_vulkan.h" #include "imgui/imgui_impl_glfw.h" #include "spdlog/sinks/stdout_color_sinks.h" namespace help { VkResult CreateDebugUtilsMessengerEXT(VkInstance instance, const VkDebugUtilsMessengerCreateInfoEXT* pCreateInfo, con...
41.55259
231
0.689297
Max1412
dd1068e1623204396bc4ae2d3b64b14cb7c2f6e8
1,381
cpp
C++
025_reverseNodesInKGroup/main.cpp
IdLeoO/LC
445d8f1521d02c8481d590e5af914b6599bf8d7d
[ "MIT" ]
null
null
null
025_reverseNodesInKGroup/main.cpp
IdLeoO/LC
445d8f1521d02c8481d590e5af914b6599bf8d7d
[ "MIT" ]
null
null
null
025_reverseNodesInKGroup/main.cpp
IdLeoO/LC
445d8f1521d02c8481d590e5af914b6599bf8d7d
[ "MIT" ]
null
null
null
#include "main.hpp" #include <iostream> #include <stack> using namespace std; ListNode* Solution::reverseKGroup(ListNode* head, int k){ stack<ListNode*> storage; ListNode* curPtr = head; if (k == 1){ return head; } for (int i = 0; i < k; i++){ if (curPtr == nullptr){ re...
23.40678
57
0.539464
IdLeoO
dd113b5535d1ff6a1a61ff598beeb5c329880ad4
871
cpp
C++
leddriver/src/ledimage.cpp
freesurfer-rge/picolife
db54c3398baf3fdfab5c72c75a5207b73847f443
[ "MIT" ]
null
null
null
leddriver/src/ledimage.cpp
freesurfer-rge/picolife
db54c3398baf3fdfab5c72c75a5207b73847f443
[ "MIT" ]
7
2021-12-25T11:54:10.000Z
2021-12-27T17:24:30.000Z
leddriver/src/ledimage.cpp
freesurfer-rge/picolife
db54c3398baf3fdfab5c72c75a5207b73847f443
[ "MIT" ]
null
null
null
#include "leddriver/ledimage.hpp" namespace LEDDriver { LEDImage::LEDImage() : red(std::make_unique<Channel>()), green(std::make_unique<Channel>()), blue(std::make_unique<Channel>()) { this->Clear(); } void LEDImage::Clear() { t...
27.21875
78
0.523536
freesurfer-rge
dd13f8ef1f5dc809a9358cb3a5be8178d5e380e8
726
cpp
C++
CD12/Maximum Number of Events That Can Be Attended.cpp
shtanriverdi/CS487-Introduction-to-Competitive-Programming-Progress
0d7a4fa4346ee08d9b2b2f628c3ffab7f3f81166
[ "MIT" ]
4
2019-12-12T19:59:50.000Z
2020-01-20T15:44:44.000Z
CD12/Maximum Number of Events That Can Be Attended.cpp
shtanriverdi/CS487-Introduction-to-Competitive-Programming-Progress
0d7a4fa4346ee08d9b2b2f628c3ffab7f3f81166
[ "MIT" ]
null
null
null
CD12/Maximum Number of Events That Can Be Attended.cpp
shtanriverdi/CS487-Introduction-to-Competitive-Programming-Progress
0d7a4fa4346ee08d9b2b2f628c3ffab7f3f81166
[ "MIT" ]
null
null
null
// Question Link ---> https://leetcode.com/problems/maximum-number-of-events-that-can-be-attended/ class Solution { public: static bool cmp(vector<int> &a, vector<int> &b) { if (a[1] == b[1]) { return a[0] < b[0]; } return a[1] < b[1]; } int maxEvents(vector<v...
30.25
100
0.453168
shtanriverdi
dd166f8404be9351b29d0b3ec652e9c95cd2dce7
6,584
cpp
C++
source/PEST++/src/libs/pestpp_common/TerminationController.cpp
usgs/neversink_workflow
acd61435b8553e38d4a903c8cd7a3afc612446f9
[ "CC0-1.0" ]
1
2021-02-23T20:47:29.000Z
2021-02-23T20:47:29.000Z
source/PEST++/src/libs/pestpp_common/TerminationController.cpp
usgs/neversink_workflow
acd61435b8553e38d4a903c8cd7a3afc612446f9
[ "CC0-1.0" ]
null
null
null
source/PEST++/src/libs/pestpp_common/TerminationController.cpp
usgs/neversink_workflow
acd61435b8553e38d4a903c8cd7a3afc612446f9
[ "CC0-1.0" ]
2
2020-01-03T17:14:39.000Z
2020-03-04T14:21:27.000Z
/* This file is part of PEST++. PEST++ 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 3 of the License, or (at your option) any later version. PEST++ is distributed in the hope that it wi...
25.71875
128
0.68226
usgs
dd1d6b6636cd1bd56bda65e303c3c37afcb999cc
9,568
cpp
C++
Codes/SysMonDlg.cpp
liyuan-rey/SysMon
38052326d97fd732d36f9313f3415ae9f33fb3c3
[ "MIT" ]
null
null
null
Codes/SysMonDlg.cpp
liyuan-rey/SysMon
38052326d97fd732d36f9313f3415ae9f33fb3c3
[ "MIT" ]
null
null
null
Codes/SysMonDlg.cpp
liyuan-rey/SysMon
38052326d97fd732d36f9313f3415ae9f33fb3c3
[ "MIT" ]
null
null
null
// SysMonDlg.cpp : implementation file // #include "stdafx.h" #include "SysMon.h" #include "SysMonDlg.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif #define VK_ESCAPE 0x1B /////////////////////////////////////////////////////////////////////////////...
23.055422
80
0.676526
liyuan-rey
dd1d9c969864541580624569ad00c7b04983d2c8
2,471
cpp
C++
component-tester/src/component-tester.cpp
shawnmharris/tachyon-examples
0e634b969063ef87186b4863bf71c93b9c512df6
[ "MIT" ]
null
null
null
component-tester/src/component-tester.cpp
shawnmharris/tachyon-examples
0e634b969063ef87186b4863bf71c93b9c512df6
[ "MIT" ]
null
null
null
component-tester/src/component-tester.cpp
shawnmharris/tachyon-examples
0e634b969063ef87186b4863bf71c93b9c512df6
[ "MIT" ]
null
null
null
#include <iostream> #include <tachyon/component.hpp> #include <itestcontract.hpp> using namespace tachyon; int main() { MasterFactory &mf = MasterFactory::Instance(); mf.Manage("component1"); mf.Manage("component2"); // test 1 is implemented in a shared dll sp<ITestContract> sp1 = mf.Create<ITestContract>("...
27.455556
88
0.630109
shawnmharris
dd1ebe2c18a8823b5181e05b83c5dbcf972340c5
14,728
cpp
C++
torob/src/moinag.cpp
CARMinesDouai/MutiRobotExplorationPackages
725f36eaa22adb33be7f5961db1a0f8e50fdadbd
[ "MIT" ]
7
2016-12-10T15:44:00.000Z
2020-08-27T17:40:11.000Z
torob/src/moinag.cpp
CARMinesDouai/MutiRobotExplorationPackages
725f36eaa22adb33be7f5961db1a0f8e50fdadbd
[ "MIT" ]
2
2020-04-14T15:19:53.000Z
2021-01-26T21:26:47.000Z
torob/src/moinag.cpp
CARMinesDouai/MutiRobotExplorationPackages
725f36eaa22adb33be7f5961db1a0f8e50fdadbd
[ "MIT" ]
2
2017-01-29T03:01:06.000Z
2021-12-15T14:59:10.000Z
/* * <one line to give the library's name and an idea of what it does.> * Copyright (C) 2015 Guillaume L. <guillaume.lozenguez@mines-douai.fr> * * 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 Founda...
32.227571
174
0.502444
CARMinesDouai
dd1f67c1ddda587b369e6747e25dc400b32df9f1
2,336
hh
C++
src/ui/win32/bindings/MultiLineGridBinding.hh
Jamiras/RAIntegration
ccf3dea24d81aefdcf51535f073889d03272b259
[ "MIT" ]
71
2018-04-15T13:02:43.000Z
2022-03-26T11:19:18.000Z
src/ui/win32/bindings/MultiLineGridBinding.hh
Jamiras/RAIntegration
ccf3dea24d81aefdcf51535f073889d03272b259
[ "MIT" ]
309
2018-04-15T12:10:59.000Z
2022-01-22T20:13:04.000Z
src/ui/win32/bindings/MultiLineGridBinding.hh
Jamiras/RAIntegration
ccf3dea24d81aefdcf51535f073889d03272b259
[ "MIT" ]
17
2018-04-17T16:09:31.000Z
2022-03-04T08:49:03.000Z
#ifndef RA_UI_WIN32_MULTILINEGRIDBINDING_H #define RA_UI_WIN32_MULTILINEGRIDBINDING_H #pragma once #include "GridBinding.hh" namespace ra { namespace ui { namespace win32 { namespace bindings { class MultiLineGridBinding : public GridBinding { public: explicit MultiLineGridBinding(ViewModelBase& vmViewModel) noe...
36.5
139
0.769692
Jamiras
dd200071bfce5c6e220d3a598d1c6775aad5419a
1,070
cpp
C++
Ch 3 Paradigms/Dynamic Programming/Top Down/uva-10616-01Knapsack.cpp
sladewinter/UVa-Online-Judge
3e8003e8ae5452eed1468be44ae5d7bbcc763dd1
[ "MIT" ]
null
null
null
Ch 3 Paradigms/Dynamic Programming/Top Down/uva-10616-01Knapsack.cpp
sladewinter/UVa-Online-Judge
3e8003e8ae5452eed1468be44ae5d7bbcc763dd1
[ "MIT" ]
null
null
null
Ch 3 Paradigms/Dynamic Programming/Top Down/uva-10616-01Knapsack.cpp
sladewinter/UVa-Online-Judge
3e8003e8ae5452eed1468be44ae5d7bbcc763dd1
[ "MIT" ]
null
null
null
//Uva- 10616 - Divisible Group Sums #include <iostream> #include <cstring> using namespace std; using ll = long long; int N, Q, D, M; int arr[200]; ll memo[200][20][10]; //Index,Sum % 20,#Items picked ll knapsack( int idx, int sum, int m ) { if( idx + M - m > N ) //Impossible to collect M items return 0...
18.448276
59
0.530841
sladewinter
dd237c93e24ce9fe0246c6a0e207899a455714f3
2,610
cpp
C++
CApp.cpp
abishek-sampath/SDL-GameFramework
0194540851eeaff6b4563feefb8edae7ca868700
[ "MIT" ]
null
null
null
CApp.cpp
abishek-sampath/SDL-GameFramework
0194540851eeaff6b4563feefb8edae7ca868700
[ "MIT" ]
null
null
null
CApp.cpp
abishek-sampath/SDL-GameFramework
0194540851eeaff6b4563feefb8edae7ca868700
[ "MIT" ]
null
null
null
#include "CApp.h" #undef main CApp::CApp() { // SDL resources window = NULL; renderer = NULL; // User Resources resourceManager = NULL; running = true; score = 0; beginTime = 0; numb_lives_to_gen = PLAYER_MAX_HEALTH - 2; generateLives = true; } CApp::CApp(SDL_Renderer* ren...
21.570248
122
0.586207
abishek-sampath
dd248d32555237459b88abf3d9a3703abb16eac6
174
hpp
C++
src/nSkinz.hpp
Massimoni/skinchanger
f2638f9cea2fe72340a62cc05d2d3c42cacc59ab
[ "MIT" ]
null
null
null
src/nSkinz.hpp
Massimoni/skinchanger
f2638f9cea2fe72340a62cc05d2d3c42cacc59ab
[ "MIT" ]
null
null
null
src/nSkinz.hpp
Massimoni/skinchanger
f2638f9cea2fe72340a62cc05d2d3c42cacc59ab
[ "MIT" ]
1
2019-05-23T11:09:42.000Z
2019-05-23T11:09:42.000Z
#pragma once #include "SDK.hpp" #include "RecvProxyHook.hpp" extern VMTHook* g_client_hook; extern VMTHook* g_game_event_manager_hook; extern RecvPropHook* g_sequence_hook;
21.75
42
0.821839
Massimoni
dd25f6c5d6c0376cd11b5e8d0bba88ddfba6a7d8
421
cpp
C++
src/math/agg_final.cpp
tarkmeper/numpgsql
a5098af9b7c4d88564092c0a4809029aab9f614f
[ "MIT" ]
5
2019-04-08T15:25:32.000Z
2019-12-07T16:31:55.000Z
src/math/agg_final.cpp
tarkmeper/numpgsql
a5098af9b7c4d88564092c0a4809029aab9f614f
[ "MIT" ]
null
null
null
src/math/agg_final.cpp
tarkmeper/numpgsql
a5098af9b7c4d88564092c0a4809029aab9f614f
[ "MIT" ]
null
null
null
#include "agg.hpp" extern "C" { PG_FUNCTION_INFO_V1(internal_to_array); Datum internal_to_array(PG_FUNCTION_ARGS); } Datum internal_to_array(PG_FUNCTION_ARGS) { //TODO trigger destructor Assert(AggCheckCallContext(fcinfo, NULL)); if (PG_ARGISNULL(0)) { PG_RETURN_NULL(); } else { AggInternal* st...
21.05
63
0.712589
tarkmeper
dd269092067c738ec28eaa4435a0ab0069323c62
77,457
cpp
C++
IGC/Compiler/CISACodeGen/LinkTessControlShaderMCFPass.cpp
dkurt/intel-graphics-compiler
247cfb9ca64bc187ee9cf3b437ad184fb2d5c471
[ "MIT" ]
null
null
null
IGC/Compiler/CISACodeGen/LinkTessControlShaderMCFPass.cpp
dkurt/intel-graphics-compiler
247cfb9ca64bc187ee9cf3b437ad184fb2d5c471
[ "MIT" ]
null
null
null
IGC/Compiler/CISACodeGen/LinkTessControlShaderMCFPass.cpp
dkurt/intel-graphics-compiler
247cfb9ca64bc187ee9cf3b437ad184fb2d5c471
[ "MIT" ]
null
null
null
/*===================== begin_copyright_notice ================================== Copyright (c) 2017 Intel Corporation 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, includi...
41.069459
151
0.56279
dkurt
dd27326be8d22edbd4a9ba089e777615d84611af
4,217
tpp
C++
uppdev/TopicTest/topic++/src/Ntlvsstl.en-us.tpp
dreamsxin/ultimatepp
41d295d999f9ff1339b34b43c99ce279b9b3991c
[ "BSD-2-Clause" ]
2
2016-04-07T07:54:26.000Z
2020-04-14T12:37:34.000Z
uppdev/TopicTest/topic++/src/Ntlvsstl.en-us.tpp
dreamsxin/ultimatepp
41d295d999f9ff1339b34b43c99ce279b9b3991c
[ "BSD-2-Clause" ]
null
null
null
uppdev/TopicTest/topic++/src/Ntlvsstl.en-us.tpp
dreamsxin/ultimatepp
41d295d999f9ff1339b34b43c99ce279b9b3991c
[ "BSD-2-Clause" ]
null
null
null
TITLE("NTLvsSTL") TOPIC_TEXT( "[ $$0,0#00000000000000000000000000000000:Default][l288;i704;a17;O9;~~~.992; $$1," "0#10431211400427159095818037425705:param][a83;*R6 $$2,5#3131016247420302412518841" "7583966:caption][b83;* $$3,5#07864147445237544204411237157677:title][b167;a42;C $" "$4,6#4002741442464382318226934940...
78.092593
84
0.751008
dreamsxin
dd2c81e44b3caf19cc2cbec4b4667358fca2c594
3,917
cpp
C++
Source/WebCore/html/RadioNodeList.cpp
jacadcaps/webkitty
9aebd2081349f9a7b5d168673c6f676a1450a66d
[ "BSD-2-Clause" ]
6
2021-07-05T16:09:39.000Z
2022-03-06T22:44:42.000Z
Source/WebCore/html/RadioNodeList.cpp
jacadcaps/webkitty
9aebd2081349f9a7b5d168673c6f676a1450a66d
[ "BSD-2-Clause" ]
7
2022-03-15T13:25:39.000Z
2022-03-15T13:25:44.000Z
Source/WebCore/html/RadioNodeList.cpp
jacadcaps/webkitty
9aebd2081349f9a7b5d168673c6f676a1450a66d
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (c) 2012 Motorola Mobility, Inc. All rights reserved. * Copyright (C) 2014-2020 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code...
33.478632
93
0.697728
jacadcaps
dd2f39398626d6035f8b8ec8dcb0379927b7c5cc
1,555
cpp
C++
src/utils.cpp
atlochowski/harbour-powietrze
e47bf1f397d81a9f69363a44e785ca9248ecef17
[ "BSD-3-Clause" ]
2
2019-10-24T12:43:18.000Z
2019-12-22T20:59:18.000Z
src/utils.cpp
atlochowski/harbour-powietrze
e47bf1f397d81a9f69363a44e785ca9248ecef17
[ "BSD-3-Clause" ]
9
2019-07-18T19:39:14.000Z
2021-06-13T18:29:55.000Z
src/utils.cpp
atlochowski/harbour-powietrze
e47bf1f397d81a9f69363a44e785ca9248ecef17
[ "BSD-3-Clause" ]
5
2019-10-24T12:49:15.000Z
2021-05-17T10:47:42.000Z
#include "utils.h" #include <notification.h> #include <iostream> void Utils::simpleNotification(QString header, QString body, QString function, QVariantList parameters) { Notification notification; notification.setCategory("powietrze.update"); notification.setSummary(header); notification.setBody(body)...
31.1
103
0.48746
atlochowski
dd33a90e8cc809ea9c75c6242e9d70d25c283785
3,655
cxx
C++
private/inet/mshtml/src/other/scrtoid/misc.cxx
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
11
2017-09-02T11:27:08.000Z
2022-01-02T15:25:24.000Z
private/inet/mshtml/src/other/scrtoid/misc.cxx
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
null
null
null
private/inet/mshtml/src/other/scrtoid/misc.cxx
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
14
2019-01-16T01:01:23.000Z
2022-02-20T15:54:27.000Z
//+--------------------------------------------------------------------------- // // Microsoft Trident // Copyright (C) Microsoft Corporation, 1997 - 1998. // // File: misc.cxx // // Contents: misc helpers for scriptoid handlers // //-----------------------------------------------------------------...
24.046053
86
0.468947
King0987654
dd35531bf699f1b942f91eee1b38b6f15f2bdb4b
69
hpp
C++
include/components/battle/Fainted.hpp
Ghabriel/PokemonCpp
dcdbbde0ea99afc98edecd764b02ff92d8ca6a6e
[ "Apache-2.0" ]
6
2018-08-05T21:45:23.000Z
2021-10-30T19:48:34.000Z
include/components/battle/Fainted.hpp
Ghabriel/PokemonCpp
dcdbbde0ea99afc98edecd764b02ff92d8ca6a6e
[ "Apache-2.0" ]
null
null
null
include/components/battle/Fainted.hpp
Ghabriel/PokemonCpp
dcdbbde0ea99afc98edecd764b02ff92d8ca6a6e
[ "Apache-2.0" ]
1
2021-11-01T20:15:38.000Z
2021-11-01T20:15:38.000Z
#ifndef FAINTED_HPP #define FAINTED_HPP struct Fainted { }; #endif
9.857143
19
0.753623
Ghabriel
dd37a9ec1f567d6efebbf27b6a8daabc460e3d5a
4,472
cpp
C++
601-700/636-Exclusive_Time_of_Functions-m.cpp
ysmiles/leetcode-cpp
e7e6ef11224c7383071ed8efbe2feac313824a71
[ "BSD-3-Clause" ]
1
2018-10-02T22:44:52.000Z
2018-10-02T22:44:52.000Z
601-700/636-Exclusive_Time_of_Functions-m.cpp
ysmiles/leetcode-cpp
e7e6ef11224c7383071ed8efbe2feac313824a71
[ "BSD-3-Clause" ]
null
null
null
601-700/636-Exclusive_Time_of_Functions-m.cpp
ysmiles/leetcode-cpp
e7e6ef11224c7383071ed8efbe2feac313824a71
[ "BSD-3-Clause" ]
null
null
null
// Given the running logs of n functions that are executed in a nonpreemptive // single threaded CPU, find the exclusive time of these functions. // Each function has a unique id, start from 0 to n-1. A function may be called // recursively or by another function. // A log is a string has this format : function_id:st...
30.421769
80
0.503801
ysmiles
dd38657946b816e7b1dfe0382561956675f3d3bd
376
cpp
C++
DP/DP_Basic_in_Class/Maximum_Subarray_Sum.cpp
Sowmik23/All-Codes
212ef0d940fa84624bb2972a257768a830a709a3
[ "MIT" ]
5
2021-02-14T17:48:21.000Z
2022-01-24T14:29:44.000Z
DP/DP_Basic_in_Class/Maximum_Subarray_Sum.cpp
Sowmik23/All-Codes
212ef0d940fa84624bb2972a257768a830a709a3
[ "MIT" ]
null
null
null
DP/DP_Basic_in_Class/Maximum_Subarray_Sum.cpp
Sowmik23/All-Codes
212ef0d940fa84624bb2972a257768a830a709a3
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int dp(int arr[],int n) { int res=0,ans=0; for(int i=0;i<n;i++) { res = max(arr[i],res+arr[i]); ans = max(ans,res); } return ans; } int main() { int n,arr[1000]; scanf("%d",&n); for(int i=0;i<n;i++) { scanf("%d",&arr[i]); } printf("%d\n",dp(arr,n)); re...
10.444444
31
0.518617
Sowmik23
dd3b3c9771b3885e6a182e1137e291c6d2a4d353
541
hpp
C++
src/color/gray/akin/lab.hpp
ehtec/color
aa6d8c796303d1f3cfd7361978bfa58eac808b6e
[ "Apache-2.0" ]
120
2015-12-31T22:30:14.000Z
2022-03-29T15:08:01.000Z
src/color/gray/akin/lab.hpp
ehtec/color
aa6d8c796303d1f3cfd7361978bfa58eac808b6e
[ "Apache-2.0" ]
6
2016-08-22T02:14:56.000Z
2021-11-06T22:39:52.000Z
src/color/gray/akin/lab.hpp
ehtec/color
aa6d8c796303d1f3cfd7361978bfa58eac808b6e
[ "Apache-2.0" ]
23
2016-02-03T01:56:26.000Z
2021-09-28T16:36:27.000Z
#ifndef color_gray_akin_lab #define color_gray_akin_lab #include "../../generic/akin/gray.hpp" #include "../category.hpp" #include "../../lab/category.hpp" namespace color { namespace akin { template < typename tag_name ,::color::constant::lab::reference_enum lab_refer...
19.321429
77
0.593346
ehtec
dd3dfe96c626cba5ef08dd7a1d50a578b5654795
1,383
cpp
C++
source/requests/EdgarRequests.cpp
Jde-cpp/TwsWebSocket
099ef66e2481bd12019d634ba8125b17d9c2d67e
[ "MIT" ]
null
null
null
source/requests/EdgarRequests.cpp
Jde-cpp/TwsWebSocket
099ef66e2481bd12019d634ba8125b17d9c2d67e
[ "MIT" ]
null
null
null
source/requests/EdgarRequests.cpp
Jde-cpp/TwsWebSocket
099ef66e2481bd12019d634ba8125b17d9c2d67e
[ "MIT" ]
null
null
null
#include "EdgarRequests.h" #include "../../../Private/source/markets/edgar/Edgar.h" #include "../../../Private/source/markets/edgar/Form13F.h" namespace Jde::Markets::TwsWebSocket { void EdgarRequests::Filings( Cik cik, ProcessArg&& inputArg )noexcept { std::thread( [cik, arg=move(inputArg)]() { try { ...
27.66
92
0.647144
Jde-cpp
dd3f5a22d08de4ccd846d871c43757f0f2945b2c
8,007
cpp
C++
Game/Game/Game/Export/Export_Lua_Scene.cpp
CBE7F1F65/fb43b70cb3d36ad8b8ee3a9aed9c6493
da25260dc8128ed66b48d391c738eb15134d7d4f
[ "Zlib", "MIT-0", "MIT" ]
null
null
null
Game/Game/Game/Export/Export_Lua_Scene.cpp
CBE7F1F65/fb43b70cb3d36ad8b8ee3a9aed9c6493
da25260dc8128ed66b48d391c738eb15134d7d4f
[ "Zlib", "MIT-0", "MIT" ]
null
null
null
Game/Game/Game/Export/Export_Lua_Scene.cpp
CBE7F1F65/fb43b70cb3d36ad8b8ee3a9aed9c6493
da25260dc8128ed66b48d391c738eb15134d7d4f
[ "Zlib", "MIT-0", "MIT" ]
null
null
null
#include "Export_Lua_Scene.h" #include "Export_Lua_Const.h" #include "../Header/SceneConst.h" #include "../Classes/LoadingScene.h" #include "../Classes/TitleScene.h" #include "../Classes/HelpScene.h" #include "../Classes/StageSelectScene.h" #include "../Classes/MissionSelectScene.h" #include "../Classes/Sto...
28.393617
145
0.690396
CBE7F1F65
dd436f744aa5f2ac3f40b87939557997b4564269
605
cpp
C++
Tree/(LEETCODE)BST_from_preorderTraversal.cpp
kothariji/Competitive-Programming
c49f8b0135c8e9dd284ce8ab583e85ba3d809b8c
[ "MIT" ]
1
2020-08-27T06:59:52.000Z
2020-08-27T06:59:52.000Z
Tree/(LEETCODE)BST_from_preorderTraversal.cpp
kothariji/Competitive-Programming
c49f8b0135c8e9dd284ce8ab583e85ba3d809b8c
[ "MIT" ]
null
null
null
Tree/(LEETCODE)BST_from_preorderTraversal.cpp
kothariji/Competitive-Programming
c49f8b0135c8e9dd284ce8ab583e85ba3d809b8c
[ "MIT" ]
null
null
null
class Solution { public: TreeNode* constructBST(vector<int> preorder,int low,int high){ if(low>=preorder.size() || low>high) return NULL; TreeNode* root=new TreeNode(preorder[low]); if(high==low) return root; int i; for(i=low;i<=high;i++) if(preorder[...
25.208333
66
0.585124
kothariji
dd50ebbb858c8453eb9a4bd8aabf945f87c3bd67
1,716
hpp
C++
HugeCTR/include/pybind/data_source_wrapper.hpp
mikemckiernan/HugeCTR
1a0a618f9848eb908e9d1265c555fba9924d2861
[ "Apache-2.0" ]
130
2021-10-11T11:55:28.000Z
2022-03-31T21:53:07.000Z
HugeCTR/include/pybind/data_source_wrapper.hpp
Teora/HugeCTR
c55a63401ad350669ccfcd374aefd7a5fc879ca2
[ "Apache-2.0" ]
72
2021-10-09T04:59:09.000Z
2022-03-31T11:27:54.000Z
HugeCTR/include/pybind/data_source_wrapper.hpp
Teora/HugeCTR
c55a63401ad350669ccfcd374aefd7a5fc879ca2
[ "Apache-2.0" ]
29
2021-11-03T22:35:01.000Z
2022-03-30T13:11:59.000Z
/* * Copyright (c) 2021, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
41.853659
97
0.7162
mikemckiernan
dd53adb8829fe1a6c7df45a709fbe0d46c630245
2,221
cc
C++
base/base_paths_android.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
base/base_paths_android.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
base/base_paths_android.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright (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. // Defines base::PathProviderAndroid which replaces base::PathProviderPosix for // Android in base/path_service.cc. #include <limits.h> #include <uni...
33.651515
80
0.697434
zealoussnow
dd542d215fe0fe0fb9d485c8e756b68b4c9ebd9e
2,151
cpp
C++
problems/week03-first_hit/src/algorithm.cpp
haeggee/algolab
176a7d4efbbfb2842f46e93250be00d3b59e0ec3
[ "MIT" ]
null
null
null
problems/week03-first_hit/src/algorithm.cpp
haeggee/algolab
176a7d4efbbfb2842f46e93250be00d3b59e0ec3
[ "MIT" ]
null
null
null
problems/week03-first_hit/src/algorithm.cpp
haeggee/algolab
176a7d4efbbfb2842f46e93250be00d3b59e0ec3
[ "MIT" ]
null
null
null
//1 #include <CGAL/Exact_predicates_exact_constructions_kernel.h> typedef CGAL::Exact_predicates_exact_constructions_kernel K; typedef K::Point_2 P; typedef K::Segment_2 S; typedef K::Ray_2 R; using namespace std; double floor_to_double(const K::FT& x) { double a = std::floor(CGAL::to_double(x)); while (a > x) a -= ...
29.875
111
0.55881
haeggee