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
efb2eb3e96f6020c3d91536886f463811a9693f3
36
cpp
C++
Chapter-3-Tree/Homework/Chapter-3-Tree-Homework-1/main.cpp
jubgjf/DataStructuresAndAlgorithms
48c7fa62e618ddbefa760229ce677cdfc822b53f
[ "MIT" ]
2
2020-10-18T07:36:25.000Z
2021-07-31T23:34:49.000Z
Chapter-3-Tree/Homework/Chapter-3-Tree-Homework-1/main.cpp
jubgjf/DataStructuresAndAlgorithms
48c7fa62e618ddbefa760229ce677cdfc822b53f
[ "MIT" ]
null
null
null
Chapter-3-Tree/Homework/Chapter-3-Tree-Homework-1/main.cpp
jubgjf/DataStructuresAndAlgorithms
48c7fa62e618ddbefa760229ce677cdfc822b53f
[ "MIT" ]
null
null
null
#include "header.h" int main() { }
6
19
0.583333
jubgjf
efb31ec19a89d05b2cd8ef548b6d6278a3862f1c
3,163
cpp
C++
day05/ex05/CentralBureaucracy.cpp
psprawka/Cpp_Piscine
73fdb50d654c49587d7d3a2d475b1c57033c8dd4
[ "MIT" ]
1
2019-09-15T08:29:00.000Z
2019-09-15T08:29:00.000Z
day05/ex05/CentralBureaucracy.cpp
psprawka/Cpp_Piscine
73fdb50d654c49587d7d3a2d475b1c57033c8dd4
[ "MIT" ]
1
2019-09-15T08:28:48.000Z
2019-09-15T08:28:48.000Z
day05/ex05/CentralBureaucracy.cpp
psprawka/Cpp_Piscine
73fdb50d654c49587d7d3a2d475b1c57033c8dd4
[ "MIT" ]
1
2020-03-04T16:14:40.000Z
2020-03-04T16:14:40.000Z
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* CentralBureaucracy.cpp :+: :+: :+: ...
30.12381
95
0.523554
psprawka
efb9f6507df42e6e4b450ae84d187d9bfc4a6c6c
818
cpp
C++
Problem Solving/Algorithms/Strings/Making Anagrams/making anagrams.cpp
IsaacAsante/hackerrank
76c430b341ce1e2ab427eda57508eb309d3b215b
[ "MIT" ]
108
2021-03-29T05:04:16.000Z
2022-03-19T15:11:52.000Z
Problem Solving/Algorithms/Strings/Making Anagrams/making anagrams.cpp
IsaacAsante/hackerrank
76c430b341ce1e2ab427eda57508eb309d3b215b
[ "MIT" ]
null
null
null
Problem Solving/Algorithms/Strings/Making Anagrams/making anagrams.cpp
IsaacAsante/hackerrank
76c430b341ce1e2ab427eda57508eb309d3b215b
[ "MIT" ]
32
2021-03-30T03:56:54.000Z
2022-03-27T14:41:32.000Z
/* Author: Isaac Asante * HackerRank URL for this exercise: https://www.hackerrank.com/challenges/making-anagrams/problem * Original video explanation: https://www.youtube.com/watch?v=05mznZNMjvY * Last verified on: May 19, 2021 */ /* IMPORTANT: * This code is meant to be used as a solution on HackerRank (link ...
31.461538
98
0.617359
IsaacAsante
efbb5ba8d03dba10a5d87893ddf82b2ff52cb452
1,396
hpp
C++
include/jules/array/math.hpp
verri/jules
5370c533a68bb670ae937967e024428c705215f8
[ "Zlib" ]
8
2016-12-07T21:47:48.000Z
2019-11-25T14:26:27.000Z
include/jules/array/math.hpp
verri/jules
5370c533a68bb670ae937967e024428c705215f8
[ "Zlib" ]
23
2016-12-07T21:22:24.000Z
2019-09-02T13:58:42.000Z
include/jules/array/math.hpp
verri/jules
5370c533a68bb670ae937967e024428c705215f8
[ "Zlib" ]
3
2017-01-18T02:11:32.000Z
2018-04-16T01:40:36.000Z
// Copyright (c) 2017-2019 Filipe Verri <filipeverri@gmail.com> #ifndef JULES_ARRAY_MATH_H #define JULES_ARRAY_MATH_H #include <jules/array/functional.hpp> #include <jules/base/math.hpp> #include <cmath> namespace jules { template <typename Array> auto normal_pdf(const common_array_base<Array>& array, typename Arr...
26.339623
122
0.709169
verri
efc2ce4052624ade50273969756c0e36c8e72291
7,686
cpp
C++
src/kiwi/vesKiwiImagePlaneDataRepresentation.cpp
aashish24/ves
7a73d0d5f76fecc776950ba8ae45458df406c591
[ "Apache-2.0" ]
10
2015-11-16T02:38:48.000Z
2021-11-17T11:19:25.000Z
src/kiwi/vesKiwiImagePlaneDataRepresentation.cpp
aashish24/ves
7a73d0d5f76fecc776950ba8ae45458df406c591
[ "Apache-2.0" ]
1
2015-10-28T01:22:51.000Z
2016-09-26T09:41:34.000Z
src/kiwi/vesKiwiImagePlaneDataRepresentation.cpp
aashish24/ves
7a73d0d5f76fecc776950ba8ae45458df406c591
[ "Apache-2.0" ]
3
2016-03-18T06:06:42.000Z
2017-05-10T09:29:54.000Z
/*======================================================================== VES --- VTK OpenGL ES Rendering Toolkit http://www.kitware.com/ves Copyright 2011 Kitware, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. Y...
31.5
121
0.611371
aashish24
efc35cabfe9d8082842d0bb0d67189eec5730142
33,561
cpp
C++
src/lib/safe_storage.cpp
imaginatho/safestorage
a2581a1ec4e2e52b39f1f8f7f08afa9c566ee127
[ "MIT" ]
8
2015-07-04T04:06:15.000Z
2015-07-10T07:43:41.000Z
src/lib/safe_storage.cpp
imaginatho/safestorage
a2581a1ec4e2e52b39f1f8f7f08afa9c566ee127
[ "MIT" ]
null
null
null
src/lib/safe_storage.cpp
imaginatho/safestorage
a2581a1ec4e2e52b39f1f8f7f08afa9c566ee127
[ "MIT" ]
null
null
null
#include <stdio.h> #include <unistd.h> #include <stdint.h> #include <errno.h> #include <fcntl.h> #include <sys/stat.h> #include <stdlib.h> #include <syslog.h> #include <iostream> #include <sstream> #include <string> #include <exception> using namespace std; #include <log.h> #include <safe_storage_imp.h> #include <saf...
29.491213
201
0.678615
imaginatho
efc3a216bf2f72dbbbc86f4644ef0f02ab9552b3
2,540
cpp
C++
src/components/UIElement.cpp
KirmesBude/REGoth-bs
2e13dc3b9005744fccd7cea9c7e7cc1f94809e4a
[ "MIT" ]
399
2019-01-06T17:55:18.000Z
2022-03-21T17:41:18.000Z
src/components/UIElement.cpp
KirmesBude/REGoth-bs
2e13dc3b9005744fccd7cea9c7e7cc1f94809e4a
[ "MIT" ]
101
2019-04-18T21:03:53.000Z
2022-01-08T13:27:01.000Z
src/components/UIElement.cpp
KirmesBude/REGoth-bs
2e13dc3b9005744fccd7cea9c7e7cc1f94809e4a
[ "MIT" ]
56
2019-04-10T10:18:27.000Z
2022-02-08T01:23:31.000Z
#include "UIElement.hpp" #include <GUI/BsCGUIWidget.h> #include <GUI/BsGUIPanel.h> #include <Image/BsSpriteTexture.h> #include <RTTI/RTTI_UIElement.hpp> #include <exception/Throw.hpp> #include <gui/skin_gothic.hpp> #include <log/logging.hpp> #include <original-content/OriginalGameResources.hpp> namespace REGoth { UI...
21.896552
97
0.658268
KirmesBude
efc5a1c2c7fcaafaa0c019bac69c79e662831cad
354
cc
C++
poj/1/1401.cc
eagletmt/procon
adbe503eb3c1bbcc1538b2ee8988aa353937e8d4
[ "MIT" ]
1
2015-04-17T09:54:23.000Z
2015-04-17T09:54:23.000Z
poj/1/1401.cc
eagletmt/procon
adbe503eb3c1bbcc1538b2ee8988aa353937e8d4
[ "MIT" ]
null
null
null
poj/1/1401.cc
eagletmt/procon
adbe503eb3c1bbcc1538b2ee8988aa353937e8d4
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main(void) { int T; cin >> T; while (T-- > 0) { int N; cin >> N; int n2 = 0; for (int base = 2; base <= N; base *= 2) { n2 += N/base; } int n5 = 0; for (int base = 5; base <= N; base *= 5) { n5 += N/base; } cout << min(n...
15.391304
46
0.440678
eagletmt
efc6f35430fffde57adff0d36b3155817d6d4ba5
379
hpp
C++
src/lib/common/Utility.hpp
genome/diagnose_dups
17f63ed3d07c63f9b55dc7431f6528707d30709f
[ "MIT" ]
8
2015-05-13T12:40:44.000Z
2018-03-09T15:10:21.000Z
src/lib/common/Utility.hpp
genome/diagnose_dups
17f63ed3d07c63f9b55dc7431f6528707d30709f
[ "MIT" ]
5
2015-03-22T00:58:44.000Z
2017-12-08T18:21:49.000Z
src/lib/common/Utility.hpp
genome/diagnose_dups
17f63ed3d07c63f9b55dc7431f6528707d30709f
[ "MIT" ]
4
2015-08-04T01:11:54.000Z
2017-04-11T10:27:42.000Z
#pragma once #include <sam.h> #include <stdint.h> #include <vector> namespace cigar { std::vector<uint32_t> parse_string_to_cigar_vector(char const* cigar_string); int32_t calculate_right_offset(bam1_t const* record); int32_t calculate_right_offset(char const* cigar); int32_t calculate_left_offset(bam1_t const* rec...
22.294118
77
0.802111
genome
efcb3c623f09b27de5e5af4d73f99e82b6b7561c
2,181
cpp
C++
src/kernel/io/KPrintf.cpp
jameskingstonclarke/arctic
6fec04809d6175689477abfe21416f33e63cb177
[ "MIT" ]
1
2021-02-01T19:28:02.000Z
2021-02-01T19:28:02.000Z
src/kernel/io/KPrintf.cpp
jameskingstonclarke/arctic
6fec04809d6175689477abfe21416f33e63cb177
[ "MIT" ]
9
2021-02-07T15:46:11.000Z
2021-02-18T08:25:42.000Z
src/kernel/io/KPrintf.cpp
jameskingstonclarke/arctic
6fec04809d6175689477abfe21416f33e63cb177
[ "MIT" ]
null
null
null
#include "KPrintf.h" #include "../utils/Math.h" #include "../Types.h" #include "../driver/VGAGraphics.h" #include "Serial.h" namespace IO{ void kinfo(const char * info){ Driver::VGAGraphics::vga_driver.colour(Driver::VGAGraphics::vga_green); kprintf("[INFO] "); kprintf(info); } void kwarn(cons...
19.300885
74
0.538285
jameskingstonclarke
efd1f73832af8201c5c3a93fc34f1c6446bfe8ce
752
hpp
C++
include/RED4ext/Types/generated/community/CommunityEntryPhaseTimePeriodData.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
1
2021-02-01T23:07:50.000Z
2021-02-01T23:07:50.000Z
include/RED4ext/Types/generated/community/CommunityEntryPhaseTimePeriodData.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
null
null
null
include/RED4ext/Types/generated/community/CommunityEntryPhaseTimePeriodData.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
null
null
null
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> #include <RED4ext/Common.hpp> #include <RED4ext/REDhash.hpp> #include <RED4ext/CName.hpp> #include <RED4ext/DynArray.hpp> #include <RED4ext/Types/generated/world/GlobalNodeID.hpp> namespace RED4ext { namespace community { stru...
26.857143
85
0.757979
Cyberpunk-Extended-Development-Team
efd27baa76ce20bbacdcda74479534b6e862c749
2,587
cpp
C++
source/mdb/mdbclt/mdbclt_example/src/mdbclt_example.m.cpp
jan-kelemen/melinda
308e6262bc0cab7f6253062e8abda11452490bb4
[ "BSD-3-Clause" ]
3
2021-03-25T08:44:38.000Z
2022-01-06T11:05:42.000Z
source/mdb/mdbclt/mdbclt_example/src/mdbclt_example.m.cpp
jan-kelemen/melinda
308e6262bc0cab7f6253062e8abda11452490bb4
[ "BSD-3-Clause" ]
6
2019-07-13T17:11:50.000Z
2022-03-07T19:22:09.000Z
source/mdb/mdbclt/mdbclt_example/src/mdbclt_example.m.cpp
jan-kelemen/melinda
308e6262bc0cab7f6253062e8abda11452490bb4
[ "BSD-3-Clause" ]
null
null
null
#include <array> #include <chrono> #include <iostream> #include <thread> #include <unistd.h> #include <vector> #include <mblcxx_scope_exit.h> #include <mbltrc_trace.h> #include <mdbnet_client.h> #include <mdbnet_serialization.h> int main() { melinda::mbltrc::trace_options trace_config(std::filesystem::path("../...
31.54878
80
0.591032
jan-kelemen
efd409501cd105af4876885427bae9752ac9f537
2,329
cpp
C++
src/Crane.cpp
ithamsteri/towerblocks
584c37e43dea91ffb789883e873884b9279e7dcb
[ "MIT" ]
null
null
null
src/Crane.cpp
ithamsteri/towerblocks
584c37e43dea91ffb789883e873884b9279e7dcb
[ "MIT" ]
null
null
null
src/Crane.cpp
ithamsteri/towerblocks
584c37e43dea91ffb789883e873884b9279e7dcb
[ "MIT" ]
null
null
null
#include "Crane.h" #include "Resource.h" #include <cmath> spSprite Crane::doThrowBlock() { if (_state != States::Working) { return nullptr; } _block->detach(); _block->setPosition(_view->getPosition()); // return crane to base auto t = _view->addTween(TweenDummy(), 50); t->addEventListener(TweenEve...
22.180952
86
0.668957
ithamsteri
efd502b3ded485b3ba8eb91a2671450db283faa4
3,520
cpp
C++
tests/altium_crap/Soft Designs/C++/NB3000 C++ Tetris/Embedded/input.cpp
hanun2999/Altium-Schematic-Parser
a9bd5b1a865f92f2e3f749433fb29107af528498
[ "MIT" ]
1
2020-06-08T11:17:46.000Z
2020-06-08T11:17:46.000Z
tests/altium_crap/Soft Designs/C++/NB3000 C++ Tetris/Embedded/input.cpp
hanun2999/Altium-Schematic-Parser
a9bd5b1a865f92f2e3f749433fb29107af528498
[ "MIT" ]
null
null
null
tests/altium_crap/Soft Designs/C++/NB3000 C++ Tetris/Embedded/input.cpp
hanun2999/Altium-Schematic-Parser
a9bd5b1a865f92f2e3f749433fb29107af528498
[ "MIT" ]
null
null
null
// Logger thread #include <stdio.h> #include <signal.h> #include <time.h> #include <unistd.h> #include <mqueue.h> #include "devices.h" #include "drv_ioport.h" #include "tetris.h" Buttons::Buttons(const int id) { _port = ioport_open(BUTTONS); for (int i = 0; i < BUTTON_COUNT; ++i) { _switchIsUp[...
22.709677
81
0.552841
hanun2999
efda4cdf0fedf7671b9917eebe1c9b9a769eaf95
3,543
cpp
C++
external/webkit/Source/WebKit2/UIProcess/WebPreferences.cpp
ghsecuritylab/android_platform_sony_nicki
526381be7808e5202d7865aa10303cb5d249388a
[ "Apache-2.0" ]
6
2017-05-31T01:46:45.000Z
2018-06-12T10:53:30.000Z
WebKit/Source/WebKit2/UIProcess/WebPreferences.cpp
JavaScriptTesting/LJS
9818dbdb421036569fff93124ac2385d45d01c3a
[ "Apache-2.0" ]
2
2017-07-25T09:37:22.000Z
2017-08-04T07:18:56.000Z
WebKit/Source/WebKit2/UIProcess/WebPreferences.cpp
JavaScriptTesting/LJS
9818dbdb421036569fff93124ac2385d45d01c3a
[ "Apache-2.0" ]
2
2017-07-17T06:02:42.000Z
2018-09-19T10:08:38.000Z
/* * Copyright (C) 2010, 2011 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 must retain the above copyright * notice, this list of condit...
33.11215
111
0.740051
ghsecuritylab
efdaffa8672f649e8c82c426d322ed9fcb08f56c
1,359
hpp
C++
Seer_Sim/utils/log.hpp
lanl/Seer
9fb38d5a0fdb5e4dfcd5ee6fdafd9df6078d5f5b
[ "BSD-3-Clause" ]
1
2020-03-19T07:01:35.000Z
2020-03-19T07:01:35.000Z
Seer_Sim/utils/log.hpp
lanl/Seer
9fb38d5a0fdb5e4dfcd5ee6fdafd9df6078d5f5b
[ "BSD-3-Clause" ]
null
null
null
Seer_Sim/utils/log.hpp
lanl/Seer
9fb38d5a0fdb5e4dfcd5ee6fdafd9df6078d5f5b
[ "BSD-3-Clause" ]
1
2020-03-19T07:01:36.000Z
2020-03-19T07:01:36.000Z
#pragma once #include <fstream> #include <string> #include <sstream> #include <iostream> namespace Seer { class Log { std::string outputFilename; public: std::stringstream log; Log(){ outputFilename = "untitled.log"; } Log(std::string _outputFilename): outputFilename(_outputFilename){ } ~Log(); void s...
19.414286
89
0.636497
lanl
efdcd15d96899c50a32173b6c3761e27d4a3bf75
8,702
hpp
C++
src/Providers/UNIXProviders/BlockStatisticsManifest/UNIX_BlockStatisticsManifest_AIX.hpp
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
1
2020-10-12T09:00:09.000Z
2020-10-12T09:00:09.000Z
src/Providers/UNIXProviders/BlockStatisticsManifest/UNIX_BlockStatisticsManifest_ZOS.hpp
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
null
null
null
src/Providers/UNIXProviders/BlockStatisticsManifest/UNIX_BlockStatisticsManifest_ZOS.hpp
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
null
null
null
//%LICENSE//////////////////////////////////////////////////////////////// // // Licensed to The Open Group (TOG) under one or more contributor license // agreements. Refer to the OpenPegasusNOTICE.txt file distributed with // this work for additional information regarding copyright ownership. // Each contributor lice...
26.29003
97
0.78729
brunolauze
efe0371b0fc4ddd4c1bde0c167444d0d3a5643d1
1,589
hpp
C++
kernel/include/Sigma/types/hash_map.hpp
thomtl/Sigma
30da9446a1f1b5cae4eff77bf9917fae1446ce85
[ "BSD-2-Clause" ]
46
2019-09-30T18:40:06.000Z
2022-02-20T12:54:59.000Z
kernel/include/Sigma/types/hash_map.hpp
thomtl/Sigma
30da9446a1f1b5cae4eff77bf9917fae1446ce85
[ "BSD-2-Clause" ]
11
2019-08-18T18:31:11.000Z
2021-09-14T22:34:16.000Z
kernel/include/Sigma/types/hash_map.hpp
thomtl/Sigma
30da9446a1f1b5cae4eff77bf9917fae1446ce85
[ "BSD-2-Clause" ]
1
2020-01-20T16:55:13.000Z
2020-01-20T16:55:13.000Z
#ifndef SIGMA_TYPES_HASH_MAP_H #define SIGMA_TYPES_HASH_MAP_H #include <Sigma/common.h> #include <Sigma/types/linked_list.h> #include <klibcxx/utility.hpp> #include <Sigma/arch/x86_64/misc/spinlock.h> namespace types { template<typename T> struct nop_hasher { using hash_result = T; hash_re...
24.446154
117
0.56073
thomtl
efe16d7cfa75b0fb9545eab906506513fb6c1f5f
19,369
cpp
C++
src/drivers/common/driver_base.cpp
Dwedit/sdlretro
521c5558cb55d4028210529e336d8a8622037358
[ "MIT" ]
null
null
null
src/drivers/common/driver_base.cpp
Dwedit/sdlretro
521c5558cb55d4028210529e336d8a8622037358
[ "MIT" ]
null
null
null
src/drivers/common/driver_base.cpp
Dwedit/sdlretro
521c5558cb55d4028210529e336d8a8622037358
[ "MIT" ]
null
null
null
#include "driver_base.h" #include "logger.h" #include "cfg.h" #include "video_base.h" #include "buffered_audio.h" #include "input_base.h" #include "throttle.h" #include "util.h" #include <variables.h> #include <core.h> #include <cstring> #include <cmath> #include <memory> #include <fstream> namespace libretro { ex...
34.403197
122
0.634674
Dwedit
efe23776cdeb4c1b4199c11404b11748f3439077
4,835
cpp
C++
libs/evolvo/test/tests.cpp
rufus-stone/genetic-algo-cpp
5e31f080d30ffc204fa7891883703183302b2954
[ "MIT" ]
null
null
null
libs/evolvo/test/tests.cpp
rufus-stone/genetic-algo-cpp
5e31f080d30ffc204fa7891883703183302b2954
[ "MIT" ]
null
null
null
libs/evolvo/test/tests.cpp
rufus-stone/genetic-algo-cpp
5e31f080d30ffc204fa7891883703183302b2954
[ "MIT" ]
null
null
null
#include "evolvo/chromosome.hpp" #include "evolvo/crossover.hpp" #include "evolvo/individual.hpp" #include "evolvo/population.hpp" #include "evolvo/selection.hpp" #define CATCH_CONFIG_MAIN // This tells the Catch2 header to generate a main #include "catch.hpp" #include <random> #include <vector> #include <map> #incl...
36.908397
203
0.64757
rufus-stone
efe522521a9e3e7e53b2f14ea3e49ff2c8753433
2,690
cpp
C++
implementations/ugene/src/plugins/external_tool_support/src/trimmomatic/steps/TrailingStep.cpp
r-barnes/sw_comparison
1ac2c9cc10a32badd6b8fb1e96516c97f7800176
[ "BSD-Source-Code" ]
null
null
null
implementations/ugene/src/plugins/external_tool_support/src/trimmomatic/steps/TrailingStep.cpp
r-barnes/sw_comparison
1ac2c9cc10a32badd6b8fb1e96516c97f7800176
[ "BSD-Source-Code" ]
null
null
null
implementations/ugene/src/plugins/external_tool_support/src/trimmomatic/steps/TrailingStep.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 * ...
36.849315
102
0.67026
r-barnes
efe5281be27fba8ce55da7b1321e1d3fdd27f082
9,860
hpp
C++
naos/includes/kernel/util/str.hpp
kadds/NaOS
ea5eeed6f777b8f62acf3400b185c94131b6e1f0
[ "BSD-3-Clause" ]
14
2020-02-12T11:07:58.000Z
2022-02-02T00:05:08.000Z
naos/includes/kernel/util/str.hpp
kadds/NaOS
ea5eeed6f777b8f62acf3400b185c94131b6e1f0
[ "BSD-3-Clause" ]
null
null
null
naos/includes/kernel/util/str.hpp
kadds/NaOS
ea5eeed6f777b8f62acf3400b185c94131b6e1f0
[ "BSD-3-Clause" ]
4
2020-02-27T09:53:53.000Z
2021-11-07T17:43:44.000Z
#pragma once #include "array.hpp" #include "assert.hpp" #include "common.hpp" #include "hash.hpp" #include "iterator.hpp" #include "kernel/mm/allocator.hpp" #include "formatter.hpp" #include "memory.hpp" #include <utility> namespace util { /// \brief compair two string /// \return 0 if equal int strcmp(const char *st...
25.025381
103
0.535497
kadds
efe6ee13015e03dd9051e0633494633c358b2e37
622
cc
C++
code/qttoolkit/contentbrowser/code/main.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
67
2015-03-30T19:56:16.000Z
2022-03-11T13:52:17.000Z
code/qttoolkit/contentbrowser/code/main.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
5
2015-04-15T17:17:33.000Z
2016-02-11T00:40:17.000Z
code/qttoolkit/contentbrowser/code/main.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
34
2015-03-30T15:08:00.000Z
2021-09-23T05:55:10.000Z
//------------------------------------------------------------------------------ #include "stdneb.h" #include "contentbrowserwindow.h" #include "contentbrowserapp.h" #include "extlibs/libqimg/qdevilplugin.h" Q_IMPORT_PLUGIN(qdevil); //------------------------------------------------------------------------------ /**...
23.037037
80
0.530547
gscept
efec806f461fd802325dd210f9399cbef4211775
503
hpp
C++
source/ashes/renderer/TestRenderer/Sync/TestEvent.hpp
DragonJoker/Ashes
a6ed950b3fd8fb9626c60b4291fbd52ea75ac66e
[ "MIT" ]
227
2018-09-17T16:03:35.000Z
2022-03-19T02:02:45.000Z
source/ashes/renderer/TestRenderer/Sync/TestEvent.hpp
DragonJoker/RendererLib
0f8ad8edec1b0929ebd10247d3dd0a9ee8f8c91a
[ "MIT" ]
39
2018-02-06T22:22:24.000Z
2018-08-29T07:11:06.000Z
source/ashes/renderer/TestRenderer/Sync/TestEvent.hpp
DragonJoker/Ashes
a6ed950b3fd8fb9626c60b4291fbd52ea75ac66e
[ "MIT" ]
8
2019-05-04T10:33:32.000Z
2021-04-05T13:19:27.000Z
/* This file belongs to Ashes. See LICENSE file in root folder */ #pragma once #include "renderer/TestRenderer/TestRendererPrerequisites.hpp" namespace ashes::test { class Event { public: Event( VkDevice device ); /** *\copydoc ashes::Event::getStatus */ VkResult getStatus()const; /** *\copydoc ashes...
15.71875
62
0.683897
DragonJoker
efefffccc5b2dfe52e8eaa70f4732ce12a45df5e
6,280
cpp
C++
src/ui/radio.cpp
ptitSeb/freespace2
500ee249f7033aac9b389436b1737a404277259c
[ "Linux-OpenIB" ]
1
2020-07-14T07:29:18.000Z
2020-07-14T07:29:18.000Z
src/ui/radio.cpp
ptitSeb/freespace2
500ee249f7033aac9b389436b1737a404277259c
[ "Linux-OpenIB" ]
2
2019-01-01T22:35:56.000Z
2022-03-14T07:34:00.000Z
src/ui/radio.cpp
ptitSeb/freespace2
500ee249f7033aac9b389436b1737a404277259c
[ "Linux-OpenIB" ]
2
2021-03-07T11:40:42.000Z
2021-12-26T21:40:39.000Z
/* * Copyright (C) Volition, Inc. 1999. All rights reserved. * * All source code herein is the property of Volition, Inc. You may not sell * or otherwise commercially exploit the source or things you created based on * the source. */ /* * $Logfile: /Freespace2/code/UI/RADIO.cpp $ * $Revision: 307 $ * $Date:...
22.269504
109
0.62086
ptitSeb
eff0238aa7ff1bec34896371a361d58922c057d1
2,097
cpp
C++
nori-base-2019/src/lightDepthArea.cpp
TamerMograbi/ShadowNet
99a9fb4522546e58817bbdd373f63d6996685e21
[ "BSD-3-Clause" ]
null
null
null
nori-base-2019/src/lightDepthArea.cpp
TamerMograbi/ShadowNet
99a9fb4522546e58817bbdd373f63d6996685e21
[ "BSD-3-Clause" ]
null
null
null
nori-base-2019/src/lightDepthArea.cpp
TamerMograbi/ShadowNet
99a9fb4522546e58817bbdd373f63d6996685e21
[ "BSD-3-Clause" ]
1
2020-01-22T11:55:43.000Z
2020-01-22T11:55:43.000Z
#include <nori/integrator.h> #include <nori/scene.h> #include <nori/bsdf.h> NORI_NAMESPACE_BEGIN class lightDepthAreaIntegrator : public Integrator { public: lightDepthAreaIntegrator(const PropertyList &props) { } void preprocess(const Scene *scene) { emitterMeshes = scene->getEmitterMeshes(); ...
29.957143
116
0.674297
TamerMograbi
eff15b2b488eacb70224936cb68fa4bf82be018a
14,983
cc
C++
MemoryBlock.cc
DrItanium/syn
bee289392e9e84a12d98a4b19f2a0ada9d7ae14a
[ "BSD-2-Clause" ]
1
2017-04-17T14:46:28.000Z
2017-04-17T14:46:28.000Z
MemoryBlock.cc
DrItanium/syn
bee289392e9e84a12d98a4b19f2a0ada9d7ae14a
[ "BSD-2-Clause" ]
4
2017-03-15T23:28:14.000Z
2017-10-29T22:48:28.000Z
MemoryBlock.cc
DrItanium/syn
bee289392e9e84a12d98a4b19f2a0ada9d7ae14a
[ "BSD-2-Clause" ]
null
null
null
/** * @file * implementation of methods described in ClipsExtensions.h * @copyright * syn * Copyright (c) 2013-2017, Joshua Scoggins and Contributors * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following condition...
38.319693
178
0.680705
DrItanium
eff414eb37b93f36a5e9cd4a7a03fea2fdf00899
4,837
hpp
C++
libs/Core/include/argos-Core/Syntax/SyntaxParenthesizedExpression.hpp
henrikfroehling/interlinck
d9d947b890d9286c6596c687fcfcf016ef820d6b
[ "MIT" ]
null
null
null
libs/Core/include/argos-Core/Syntax/SyntaxParenthesizedExpression.hpp
henrikfroehling/interlinck
d9d947b890d9286c6596c687fcfcf016ef820d6b
[ "MIT" ]
19
2021-12-01T20:37:23.000Z
2022-02-14T21:05:43.000Z
libs/Core/include/argos-Core/Syntax/SyntaxParenthesizedExpression.hpp
henrikfroehling/interlinck
d9d947b890d9286c6596c687fcfcf016ef820d6b
[ "MIT" ]
null
null
null
#ifndef ARGOS_CORE_SYNTAX_SYNTAXPARENTHESIZEDEXPRESSION_H #define ARGOS_CORE_SYNTAX_SYNTAXPARENTHESIZEDEXPRESSION_H #include <string> #include "argos-Core/argos_global.hpp" #include "argos-Core/Syntax/ExpressionKinds.hpp" #include "argos-Core/Syntax/ISyntaxParenthesizedExpression.hpp" #include "argos-Core/Syntax/Synt...
40.991525
127
0.716767
henrikfroehling
56028334e37554e54761bca0249086aeb90bb51b
2,091
cc
C++
services/ui/ws/window_server_test_impl.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
services/ui/ws/window_server_test_impl.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
services/ui/ws/window_server_test_impl.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// Copyright 2016 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 "services/ui/ws/window_server_test_impl.h" #include "services/ui/public/interfaces/window_tree.mojom.h" #include "services/ui/ws/server_window.h...
33.725806
80
0.730751
zipated
56043e77013eda58e4eb07859c1cba7299bfe06d
11,642
cpp
C++
tries/TST/lib/TST.cpp
hpaucar/datastructures-ii-repo
203dbafcd4bb82a4214f93e21f15b3be89cea76c
[ "MIT" ]
null
null
null
tries/TST/lib/TST.cpp
hpaucar/datastructures-ii-repo
203dbafcd4bb82a4214f93e21f15b3be89cea76c
[ "MIT" ]
null
null
null
tries/TST/lib/TST.cpp
hpaucar/datastructures-ii-repo
203dbafcd4bb82a4214f93e21f15b3be89cea76c
[ "MIT" ]
null
null
null
// Copyright 2015 Maitesin #include <string> #include <vector> #include <iostream> #include "./TST.h" template <class T> const T &TST::tst<T>::find(const std::string &key) { node_ptr node(find(root, key, 0)); if (node != nullptr) { aux_ret = node->value; node.release(); return aux_ret; } else { r...
26.459091
79
0.49038
hpaucar
5605cbbccd04885598aebbc1699203f68164d32b
20,333
cpp
C++
net/ias/mmc/nap/iasstringattributeeditor.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
net/ias/mmc/nap/iasstringattributeeditor.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
net/ias/mmc/nap/iasstringattributeeditor.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
////////////////////////////////////////////////////////////////////////////// /*++ Copyright (C) Microsoft Corporation, 1998 - 1999 Module Name: IASStringAttributeEditor.cpp Abstract: Implementation file for the CIASStringAttributeEditor class. Revision History: mmaguire 06/25/98 - created ...
23.105682
152
0.602321
npocmaka
56068b094935639c12ba5efca575ca59056eb0b4
8,551
hpp
C++
Unidad 4/src/biblioteca/funciones/strings.hpp
Franeiro/AyED
a53142ac0c92fb74e62064e26fb4a4f86bace388
[ "Xnet", "X11" ]
null
null
null
Unidad 4/src/biblioteca/funciones/strings.hpp
Franeiro/AyED
a53142ac0c92fb74e62064e26fb4a4f86bace388
[ "Xnet", "X11" ]
null
null
null
Unidad 4/src/biblioteca/funciones/strings.hpp
Franeiro/AyED
a53142ac0c92fb74e62064e26fb4a4f86bace388
[ "Xnet", "X11" ]
null
null
null
#ifndef _TSTRINGS_T_ #define _TSTRINGS_T_ #include <iostream> #include <stdio.h> #include <math.h> #include <string.h> using namespace std; int length(string s) { int i; for (i = 0; s[i] != '\0'; i++) { } return i; } int charCount(string s, char c) { int i, veces; veces = 0; for (i = 0; i ...
12.303597
72
0.422758
Franeiro
5608f4ab3eee3af228771b5bf8b4f6f59e63929b
432
hpp
C++
inc/OptionParser.hpp
Aracthor/paranoidRM
1d7200090f18db7f152461f47afd63b0e4f7f02f
[ "MIT" ]
null
null
null
inc/OptionParser.hpp
Aracthor/paranoidRM
1d7200090f18db7f152461f47afd63b0e4f7f02f
[ "MIT" ]
null
null
null
inc/OptionParser.hpp
Aracthor/paranoidRM
1d7200090f18db7f152461f47afd63b0e4f7f02f
[ "MIT" ]
null
null
null
// // OptionParser.hpp for paranoidRM in /home/aracthor/programs/projects/paranoidRM // // Made by Aracthor // Login <aracthor@epitech.net> // // Started on Mon Jun 8 20:05:10 2015 Aracthor // Last Update Mon Jun 8 20:10:50 2015 Aracthor // char OptionParser::getFlag() const { return (mFlag); } const char* O...
15.428571
81
0.69213
Aracthor
560acde3772fa021d6bf2942daf2b52dcf32eda5
563
cpp
C++
PhotonBox/src/component/SpotLight.cpp
strager/PhotonBox
aba8ad303012dd1ca75b7c00ab6b8d5fff2e4128
[ "MIT" ]
118
2018-01-20T04:41:50.000Z
2022-03-27T12:52:19.000Z
PhotonBox/src/component/SpotLight.cpp
strager/PhotonBox
aba8ad303012dd1ca75b7c00ab6b8d5fff2e4128
[ "MIT" ]
18
2017-12-03T02:13:08.000Z
2020-11-12T00:09:41.000Z
PhotonBox/src/component/SpotLight.cpp
strager/PhotonBox
aba8ad303012dd1ca75b7c00ab6b8d5fff2e4128
[ "MIT" ]
13
2018-03-05T23:23:38.000Z
2021-07-19T22:33:04.000Z
#include "PhotonBox/component/SpotLight.h" #include "PhotonBox/core/system/Lighting.h" #include "PhotonBox/resource/shader/ForwardSpotLightShader.h" #ifdef PB_MEM_DEBUG #include "PhotonBox/util/MEMDebug.h" #define new DEBUG_NEW #endif void SpotLight::init() { Lighting::addLight(this); } void SpotLight::destroy() {...
16.558824
61
0.756661
strager
560b1872dd11349dd3aa06f59fc9efe930c89299
3,079
cxx
C++
src/test/testMcClasses.cxx
fermi-lat/mcRootData
1529a12d481fe1db38bfa7bc02780303232eb15d
[ "BSD-3-Clause" ]
null
null
null
src/test/testMcClasses.cxx
fermi-lat/mcRootData
1529a12d481fe1db38bfa7bc02780303232eb15d
[ "BSD-3-Clause" ]
null
null
null
src/test/testMcClasses.cxx
fermi-lat/mcRootData
1529a12d481fe1db38bfa7bc02780303232eb15d
[ "BSD-3-Clause" ]
null
null
null
#include <mcRootData/McEvent.h> #include <commonRootData/RootDataUtil.h> #include "Riostream.h" #include "TROOT.h" #include "TFile.h" #include "TTree.h" #include "TRandom.h" /** @file testMcClasses.cxx * @brief This defines a test routine for the Monte Carlo ROOT classes. * * This program create a new Monte Carlo ROO...
23.868217
81
0.566418
fermi-lat
560c318ccb48481b339258f541ef6ee72900450d
387
cpp
C++
src/server/src/ca_check.cpp
Eothred/hpsim
526a00a9d1affcb83b642ea2aef939925a76cad9
[ "Unlicense" ]
6
2018-04-30T08:03:24.000Z
2021-11-10T00:17:34.000Z
src/server/src/ca_check.cpp
Eothred/hpsim
526a00a9d1affcb83b642ea2aef939925a76cad9
[ "Unlicense" ]
1
2018-09-26T17:04:27.000Z
2018-09-26T17:35:04.000Z
src/server/src/ca_check.cpp
Eothred/hpsim
526a00a9d1affcb83b642ea2aef939925a76cad9
[ "Unlicense" ]
4
2017-11-14T14:36:48.000Z
2020-01-14T13:51:16.000Z
#include <string> #include <iostream> #include "cadef.h" bool CACheck(int r_status, std::string r_op, std::string r_pv) { if(r_status != ECA_NORMAL) { std::cerr << "CA Error: "; if(r_pv.compare("") != 0) std::cerr << r_op << " failure for PV: " << r_pv << std::endl; else std::cerr << r_op <...
21.5
68
0.571059
Eothred
560d337df5e08c9730025627181dfee90cc5575b
5,309
cpp
C++
sandbox/src/main.cpp
backwardspy/leviathan
0b53656a5cca0b80d1ac0ae3f176f37948d0675f
[ "MIT" ]
null
null
null
sandbox/src/main.cpp
backwardspy/leviathan
0b53656a5cca0b80d1ac0ae3f176f37948d0675f
[ "MIT" ]
null
null
null
sandbox/src/main.cpp
backwardspy/leviathan
0b53656a5cca0b80d1ac0ae3f176f37948d0675f
[ "MIT" ]
null
null
null
#include <leviathan/leviathan.h> class CustomLayer : public lv::Layer { public: explicit CustomLayer(lv::Application& app) : Layer("Custom"), app(app), window(app.get_window()), ctx(app.get_render_context()), ent_registry(app.get_ent_registry()), camera(ent_registry....
35.15894
140
0.559427
backwardspy
560df1042a482b6fc705bf40aaae20c8924c6231
8,066
cpp
C++
test/math.t.cpp
ltjax/replay
33680beae225c9c388f33e3f7ffd7e8bae4643e9
[ "MIT" ]
1
2015-09-15T19:52:50.000Z
2015-09-15T19:52:50.000Z
test/math.t.cpp
ltjax/replay
33680beae225c9c388f33e3f7ffd7e8bae4643e9
[ "MIT" ]
3
2017-12-03T21:53:09.000Z
2019-11-23T02:11:50.000Z
test/math.t.cpp
ltjax/replay
33680beae225c9c388f33e3f7ffd7e8bae4643e9
[ "MIT" ]
null
null
null
#include <catch2/catch.hpp> #include <replay/math.hpp> #include <replay/matrix2.hpp> #include <replay/minimal_sphere.hpp> #include <replay/vector_math.hpp> #include <boost/math/constants/constants.hpp> #include <random> namespace { // FIXME: this is somewhat generically useful - lift it to a visible namespace? replay...
31.263566
114
0.621994
ltjax
56139a49800d5032c797beff52bcc9559e664d2b
4,059
cpp
C++
WebKit/Source/WebCore/platform/graphics/skia/BitLockerSkia.cpp
JavaScriptTesting/LJS
9818dbdb421036569fff93124ac2385d45d01c3a
[ "Apache-2.0" ]
1
2019-06-18T06:52:54.000Z
2019-06-18T06:52:54.000Z
WebKit/Source/WebCore/platform/graphics/skia/BitLockerSkia.cpp
JavaScriptTesting/LJS
9818dbdb421036569fff93124ac2385d45d01c3a
[ "Apache-2.0" ]
null
null
null
WebKit/Source/WebCore/platform/graphics/skia/BitLockerSkia.cpp
JavaScriptTesting/LJS
9818dbdb421036569fff93124ac2385d45d01c3a
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2011 Google 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: * * * Redistributions of source code must retain the above copyright * notice, this list of condit...
33.825
92
0.725055
JavaScriptTesting
5618e356badef6dedb972f4a7c2ea09ff7dbfcd2
275
hpp
C++
src/modules/osg/generated_code/vector_less__bool__greater_.pypp.hpp
JaneliaSciComp/osgpyplusplus
a5ae3f69c7e9101a32d8cc95fe680dab292f75ac
[ "BSD-3-Clause" ]
17
2015-06-01T12:19:46.000Z
2022-02-12T02:37:48.000Z
src/modules/osg/generated_code/vector_less__bool__greater_.pypp.hpp
cmbruns/osgpyplusplus
f8bfca2cf841e15f6ddb41c958f3ad0d0b9e4b75
[ "BSD-3-Clause" ]
7
2015-07-04T14:36:49.000Z
2015-07-23T18:09:49.000Z
src/modules/osg/generated_code/vector_less__bool__greater_.pypp.hpp
cmbruns/osgpyplusplus
f8bfca2cf841e15f6ddb41c958f3ad0d0b9e4b75
[ "BSD-3-Clause" ]
7
2015-11-28T17:00:31.000Z
2020-01-08T07:00:59.000Z
// This file has been generated by Py++. #ifndef vector_less__bool__greater__hpp__pyplusplus_wrapper #define vector_less__bool__greater__hpp__pyplusplus_wrapper void register_vector_less__bool__greater__class(); #endif//vector_less__bool__greater__hpp__pyplusplus_wrapper
30.555556
59
0.887273
JaneliaSciComp
562072287f24126f19d8fae38014768b89bbfb53
6,232
cpp
C++
EndGame/EndGame/Src/SubSystems/RenderSubSystem/Renderer2D.cpp
siddharthgarg4/EndGame
ba608714b3eacb5dc05d0c852db573231c867d8b
[ "MIT" ]
null
null
null
EndGame/EndGame/Src/SubSystems/RenderSubSystem/Renderer2D.cpp
siddharthgarg4/EndGame
ba608714b3eacb5dc05d0c852db573231c867d8b
[ "MIT" ]
null
null
null
EndGame/EndGame/Src/SubSystems/RenderSubSystem/Renderer2D.cpp
siddharthgarg4/EndGame
ba608714b3eacb5dc05d0c852db573231c867d8b
[ "MIT" ]
null
null
null
// // Renderer2D.cpp // // // Created by Siddharth on 09/07/20. // #include "Renderer2D.hpp" #include <glm/gtc/matrix_transform.hpp> #include <EndGame/Src/SubSystems/RenderSubSystem/RenderCommand.h> #include <EndGame/Src/SubSystems/RenderSubSystem/RenderApiFactory.hpp> namespace EndGame { Renderer2DStorage *R...
45.823529
194
0.648748
siddharthgarg4
56223febd33a024d24f2bee3f67e5889466d8b60
1,923
cpp
C++
intro/knight_scape.cpp
eder-matheus/programming_challenges
9d318bf5b8df18f732c07e60aa72b302ea887419
[ "BSD-3-Clause" ]
null
null
null
intro/knight_scape.cpp
eder-matheus/programming_challenges
9d318bf5b8df18f732c07e60aa72b302ea887419
[ "BSD-3-Clause" ]
null
null
null
intro/knight_scape.cpp
eder-matheus/programming_challenges
9d318bf5b8df18f732c07e60aa72b302ea887419
[ "BSD-3-Clause" ]
1
2021-08-24T17:18:54.000Z
2021-08-24T17:18:54.000Z
// knight scape #include <iostream> #include <cmath> #include <vector> #include <algorithm> const int dimension = 8; const int num_pieces = 9; void findKnightMoviments(int row, int col, std::vector<std::pair<int, int> >& movements) { for (int r = -2; r <= 2; r++) { for (int c = -2; c <= 2; c++) { if ((abs...
24.341772
95
0.514301
eder-matheus
5622aa0f33e74cba4f4bb881ff2fc714394f2d5d
4,264
cpp
C++
wnd/block_info_dlg.cpp
HyperBlockChain/Hyperchain-Core-YH
2a7c4ac23f27c2034a678e61c2474e0008f5135e
[ "MIT" ]
1
2019-08-30T07:36:33.000Z
2019-08-30T07:36:33.000Z
wnd/block_info_dlg.cpp
HyperBlockChain/Hyperchain-Core-YH
2a7c4ac23f27c2034a678e61c2474e0008f5135e
[ "MIT" ]
null
null
null
wnd/block_info_dlg.cpp
HyperBlockChain/Hyperchain-Core-YH
2a7c4ac23f27c2034a678e61c2474e0008f5135e
[ "MIT" ]
2
2019-11-01T03:39:57.000Z
2020-03-26T06:21:22.000Z
/*Copyright 2016-2018 hyperchain.net (Hyperchain) Distributed under the MIT software license, see the accompanying file COPYING or https://opensource.org/licenses/MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this  software and associated documentation files (the "Software"), to...
30.457143
123
0.739212
HyperBlockChain
56275bb9eac3f7c05bcc5aaabc4a9261e55c7d7f
26,432
cpp
C++
code_reading/oceanbase-master/unittest/sql/engine/sort/ob_sort_test.cpp
wangcy6/weekly_read
3a8837ee9cd957787ee1785e4066dd623e02e13a
[ "Apache-2.0" ]
null
null
null
code_reading/oceanbase-master/unittest/sql/engine/sort/ob_sort_test.cpp
wangcy6/weekly_read
3a8837ee9cd957787ee1785e4066dd623e02e13a
[ "Apache-2.0" ]
null
null
null
code_reading/oceanbase-master/unittest/sql/engine/sort/ob_sort_test.cpp
wangcy6/weekly_read
3a8837ee9cd957787ee1785e4066dd623e02e13a
[ "Apache-2.0" ]
1
2020-10-18T12:59:31.000Z
2020-10-18T12:59:31.000Z
/** * Copyright (c) 2021 OceanBase * OceanBase CE is licensed under Mulan PubL v2. * You can use this software according to the terms and conditions of the Mulan PubL v2. * You may obtain a copy of Mulan PubL v2 at: * http://license.coscl.org.cn/MulanPubL-2.0 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BAS...
35.055703
119
0.687311
wangcy6
562dd6271c974c01c0876e325eb533931807e451
159
cpp
C++
CPP_Projects/Studying/ConsoleApplication1/ConsoleApplication1/pr1.cpp
GUNU-GO/SNUPI
a73137699d9fc6ae8fa3d1522f341c04d8d43052
[ "MIT" ]
null
null
null
CPP_Projects/Studying/ConsoleApplication1/ConsoleApplication1/pr1.cpp
GUNU-GO/SNUPI
a73137699d9fc6ae8fa3d1522f341c04d8d43052
[ "MIT" ]
null
null
null
CPP_Projects/Studying/ConsoleApplication1/ConsoleApplication1/pr1.cpp
GUNU-GO/SNUPI
a73137699d9fc6ae8fa3d1522f341c04d8d43052
[ "MIT" ]
null
null
null
#include <stdio.h> int main() { int num; scanf_s("%d", &num); for(int i = 1; i <= num; i++) { if (num % i == 0) { printf("%d, ",i); } } }W
9.9375
32
0.415094
GUNU-GO
562f2b292e7b632be0821c80de2481a80dc30153
3,701
hpp
C++
include/haz/Tools/EnumFlag.hpp
Hazurl/Framework-haz
370348801cd969ce8521264653069923a255e0b0
[ "MIT" ]
null
null
null
include/haz/Tools/EnumFlag.hpp
Hazurl/Framework-haz
370348801cd969ce8521264653069923a255e0b0
[ "MIT" ]
null
null
null
include/haz/Tools/EnumFlag.hpp
Hazurl/Framework-haz
370348801cd969ce8521264653069923a255e0b0
[ "MIT" ]
null
null
null
#ifndef __HAZ_ENUM_FLAG #define __HAZ_ENUM_FLAG #include <haz/Tools/Macro.hpp> #include <type_traits> #define ENUM_FLAG(name, bloc_enum...)\ BEG_NAMESPACE_HAZ_HIDDEN namespace enumFlagNamespace { \ enum class UNIQUE_NAME(name) \ bloc_enum; \ } END_NAMESPACE_HAZ_HIDDEN \ typedef haz::__hide::en...
31.905172
102
0.663334
Hazurl
5631846960b9848c74957911364c8b9b629890bf
13,072
cc
C++
google/cloud/apigateway/api_gateway_client.cc
jmouradi-google/google-cloud-cpp
7bd738251a80e9520d7a7de4cc14558f161c8edc
[ "Apache-2.0" ]
null
null
null
google/cloud/apigateway/api_gateway_client.cc
jmouradi-google/google-cloud-cpp
7bd738251a80e9520d7a7de4cc14558f161c8edc
[ "Apache-2.0" ]
null
null
null
google/cloud/apigateway/api_gateway_client.cc
jmouradi-google/google-cloud-cpp
7bd738251a80e9520d7a7de4cc14558f161c8edc
[ "Apache-2.0" ]
null
null
null
// Copyright 2022 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
38.789318
79
0.746558
jmouradi-google
56323b24a47b69b41fa0fd4d8431e279aaebc438
6,614
hpp
C++
OcularCore/include/Math/Bounds/BoundsOBB.hpp
ssell/OcularEngine
c80cc4fcdb7dd7ce48d3af330bd33d05312076b1
[ "Apache-2.0" ]
8
2017-01-27T01:06:06.000Z
2020-11-05T20:23:19.000Z
OcularCore/include/Math/Bounds/BoundsOBB.hpp
ssell/OcularEngine
c80cc4fcdb7dd7ce48d3af330bd33d05312076b1
[ "Apache-2.0" ]
39
2016-06-03T02:00:36.000Z
2017-03-19T17:47:39.000Z
OcularCore/include/Math/Bounds/BoundsOBB.hpp
ssell/OcularEngine
c80cc4fcdb7dd7ce48d3af330bd33d05312076b1
[ "Apache-2.0" ]
4
2019-05-22T09:13:36.000Z
2020-12-01T03:17:45.000Z
/** * Copyright 2014-2017 Steven T Sell (ssell@vertexfragment.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
33.40404
137
0.508164
ssell
563304c25502d7cd748cd4959b1f93f90fe0b31d
2,867
cpp
C++
src/common/file-lock.cpp
Samsung/security-manager
10b062f317d5d5a7b88ed13242540e9034fd019f
[ "Apache-2.0" ]
14
2015-09-17T19:30:34.000Z
2021-11-11T14:10:43.000Z
src/common/file-lock.cpp
Samsung/security-manager
10b062f317d5d5a7b88ed13242540e9034fd019f
[ "Apache-2.0" ]
5
2015-09-17T13:33:39.000Z
2015-11-12T21:37:09.000Z
src/common/file-lock.cpp
Samsung/security-manager
10b062f317d5d5a7b88ed13242540e9034fd019f
[ "Apache-2.0" ]
14
2015-06-08T07:40:24.000Z
2020-01-20T18:58:13.000Z
/* * Copyright (c) 2000 - 2017 Samsung Electronics Co., Ltd All Rights Reserved * * Contact: Rafal Krypa <r.krypa@samsung.com> * * 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 * ...
26.063636
78
0.611789
Samsung
5635d1b5960254c4c718c1bc639529e28924c81b
4,878
cpp
C++
system/apps/test45_simcom/main.cpp
tomwei7/LA104
fdf04061f37693d37e2812ed6074348e65d7e5f9
[ "MIT" ]
336
2018-11-23T23:54:15.000Z
2022-03-21T03:47:05.000Z
system/apps/test45_simcom/main.cpp
203Null/LA104
b8ae9413d01ea24eafb9fdb420c97511287cbd99
[ "MIT" ]
56
2019-02-01T05:01:07.000Z
2022-03-26T16:00:24.000Z
system/apps/test45_simcom/main.cpp
203Null/LA104
b8ae9413d01ea24eafb9fdb420c97511287cbd99
[ "MIT" ]
52
2019-02-06T17:05:04.000Z
2022-03-04T12:30:53.000Z
#include <library.h> #include "../../os_host/source/framework/Console.h" using namespace BIOS; #include "simcom.h" // https://dweet.io/follow/la104simcom900 // https://dweet.io/dweet/for/la104simcom900?counter=10123 // https://dweet.io/get/latest/dweet/for/la104simcom900 int gReset = 0; class CMyHttpReceiver : pub...
23.118483
102
0.555351
tomwei7
563b8cea31f72e9688e73cb8ae99652284e35afc
8,870
hpp
C++
roller_eye/test/bist/BistNode.hpp
lorenzo-bianchi/Scout-open-source
ca20d3112388f47a36a245de5de1a35673afd260
[ "MIT" ]
35
2022-03-12T01:36:17.000Z
2022-03-28T14:56:13.000Z
roller_eye/test/bist/BistNode.hpp
lorenzo-bianchi/Scout-open-source
ca20d3112388f47a36a245de5de1a35673afd260
[ "MIT" ]
null
null
null
roller_eye/test/bist/BistNode.hpp
lorenzo-bianchi/Scout-open-source
ca20d3112388f47a36a245de5de1a35673afd260
[ "MIT" ]
9
2022-03-12T01:39:43.000Z
2022-03-31T20:54:19.000Z
#include <iostream> #include <cstdlib> #include <thread> // std::thread #include <mutex> // std::mutex, std::unique_lock #include <condition_variable> #include <math.h> #include <stdio.h> #include <stdlib.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> #i...
29.177632
123
0.700225
lorenzo-bianchi
563bce5a28baa6518a4d23f7c19f34b17e37eea5
1,843
cpp
C++
src/arduino_signalbox.cpp
dniklaus/arduino-signalbox
8c4a2be46b69cb1d74278f8c76690a531fec4776
[ "MIT" ]
null
null
null
src/arduino_signalbox.cpp
dniklaus/arduino-signalbox
8c4a2be46b69cb1d74278f8c76690a531fec4776
[ "MIT" ]
null
null
null
src/arduino_signalbox.cpp
dniklaus/arduino-signalbox
8c4a2be46b69cb1d74278f8c76690a531fec4776
[ "MIT" ]
null
null
null
// Do not remove the include below #include "arduino_signalbox.h" #include "Timer.h" // https://github.com/dniklaus/arduino-utils-timer #include "ToggleButton.h" // https://github.com/dniklaus/arduino-toggle-button #include "Blanking.h" // https://github.com/dniklaus/arduino-utils-blanking #include "P...
27.507463
92
0.705372
dniklaus
563fb5522362017893114feea9c10dd8d3558c7b
999
hpp
C++
src/image.hpp
robotjandal/image_processor
02eb861082212249e958acf0dbd2ac0144cac458
[ "BSD-3-Clause" ]
null
null
null
src/image.hpp
robotjandal/image_processor
02eb861082212249e958acf0dbd2ac0144cac458
[ "BSD-3-Clause" ]
null
null
null
src/image.hpp
robotjandal/image_processor
02eb861082212249e958acf0dbd2ac0144cac458
[ "BSD-3-Clause" ]
null
null
null
#ifndef CMAKE_IMAGE_H #define CMAKE_IMAGE_H #include <string> #include <opencv4/opencv2/opencv.hpp> #include <boost/filesystem.hpp> namespace ImageProcessor { struct Image { Image(){}; Image(cv::Mat const image, std::string const filename, std::string const output_folder) : image_{image}, filename_...
30.272727
79
0.707708
robotjandal
5641c03f6019abd5d472656ac044d16f49b21347
252
cpp
C++
tests/main.cpp
mincardona/cppscratch
159e3757bc373245defc77c34930c0d7b1d925de
[ "MIT" ]
null
null
null
tests/main.cpp
mincardona/cppscratch
159e3757bc373245defc77c34930c0d7b1d925de
[ "MIT" ]
null
null
null
tests/main.cpp
mincardona/cppscratch
159e3757bc373245defc77c34930c0d7b1d925de
[ "MIT" ]
null
null
null
#include <iostream> #include <mji/algorithm.hpp> #include <mji/math.hpp> #include <mji/memory.hpp> #include <mji/xplat.hpp> int main(int argc, char** argv) { (void)argc; (void)argv; std::cout << "tests passed!" << '\n'; return 0; }
15.75
41
0.615079
mincardona
5641da34fc830fd337d475424076c9acdb665662
708
cpp
C++
main.cpp
Qanora/mstack-cpp
a1b6de6983404558e46b87d0e81da715fcdccd55
[ "MIT" ]
15
2020-07-20T12:32:38.000Z
2022-03-24T19:24:02.000Z
main.cpp
Qanora/mstack-cpp
a1b6de6983404558e46b87d0e81da715fcdccd55
[ "MIT" ]
null
null
null
main.cpp
Qanora/mstack-cpp
a1b6de6983404558e46b87d0e81da715fcdccd55
[ "MIT" ]
5
2020-07-20T12:42:58.000Z
2021-01-16T10:13:39.000Z
#include <future> #include <iostream> #include "api.hpp" int main(int argc, char* argv[]) { auto stack = std::async(std::launch::async, mstack::init_stack, argc, argv); int fd = mstack::socket(0x06, mstack::ipv4_addr_t("192.168.1.1"), 30000); mstack::listen(fd); char buf[2000]; ...
33.714286
85
0.461864
Qanora
564274f3fdb5851743ed4756bdc8bf7224735d77
63
cpp
C++
src/Utility_Test.cpp
AlbertoLeonardi/Open_SXD_Absorption
3d0353676dada2e6826de583355c5e35a93fa791
[ "BSD-3-Clause" ]
null
null
null
src/Utility_Test.cpp
AlbertoLeonardi/Open_SXD_Absorption
3d0353676dada2e6826de583355c5e35a93fa791
[ "BSD-3-Clause" ]
null
null
null
src/Utility_Test.cpp
AlbertoLeonardi/Open_SXD_Absorption
3d0353676dada2e6826de583355c5e35a93fa791
[ "BSD-3-Clause" ]
null
null
null
// Utility Functions :: Test // #include "Utility_Test.h"
12.6
29
0.634921
AlbertoLeonardi
5643c15740cf50743bd304baf9cba340d7f98edd
3,656
cpp
C++
beerocks/bwl/dummy/base_wlan_hal_dummy.cpp
prplfoundation/prplMesh-common
96574a27695d2b6d3d610e680d8faaa52f0635d7
[ "BSD-2-Clause-Patent" ]
1
2019-05-01T14:45:31.000Z
2019-05-01T14:45:31.000Z
beerocks/bwl/dummy/base_wlan_hal_dummy.cpp
prplfoundation/prplMesh-common
96574a27695d2b6d3d610e680d8faaa52f0635d7
[ "BSD-2-Clause-Patent" ]
2
2019-05-22T15:32:59.000Z
2019-05-27T14:15:55.000Z
beerocks/bwl/dummy/base_wlan_hal_dummy.cpp
prplfoundation/prplMesh-common
96574a27695d2b6d3d610e680d8faaa52f0635d7
[ "BSD-2-Clause-Patent" ]
1
2019-05-13T09:51:20.000Z
2019-05-13T09:51:20.000Z
/* SPDX-License-Identifier: BSD-2-Clause-Patent * * Copyright (c) 2016-2019 Intel Corporation * * This code is subject to the terms of the BSD+Patent license. * See LICENSE file for more details. */ #include "base_wlan_hal_dummy.h" #include <beerocks/bcl/beerocks_string_utils.h> #include <beerocks/bcl/beerocks_...
30.466667
99
0.596827
prplfoundation
56462c507604830c90548b7dd8baeb644686fd66
6,490
cpp
C++
Core/STL/OS/Posix/PosixSyncPrimitives.cpp
azhirnov/GraphicsGenFramework-modular
348be601f1991f102defa0c99250529f5e44c4d3
[ "BSD-2-Clause" ]
12
2017-12-23T14:24:57.000Z
2020-10-02T19:52:12.000Z
Core/STL/OS/Posix/PosixSyncPrimitives.cpp
azhirnov/ModularGraphicsFramework
348be601f1991f102defa0c99250529f5e44c4d3
[ "BSD-2-Clause" ]
null
null
null
Core/STL/OS/Posix/PosixSyncPrimitives.cpp
azhirnov/ModularGraphicsFramework
348be601f1991f102defa0c99250529f5e44c4d3
[ "BSD-2-Clause" ]
null
null
null
// Copyright (c) Zhirnov Andrey. For more information see 'LICENSE.txt' #include "Core/STL/Common/Platforms.h" #if defined( PLATFORM_BASE_POSIX ) and defined( GX_USE_NATIVE_API ) #include "Core/STL/OS/Posix/SyncPrimitives.h" namespace GX_STL { namespace OS { /* ================================================= c...
20.868167
79
0.362096
azhirnov
5646b3b326d2c2b9566bf4b7824be6668dd58e77
1,078
cpp
C++
examples/tutorial/hello_job_world.cpp
saga-project/saga-cpp
7376c0de0529e7d7b80cf08b94ec484c2e56d38e
[ "BSL-1.0" ]
5
2015-09-15T16:24:14.000Z
2021-08-12T11:05:55.000Z
examples/tutorial/hello_job_world.cpp
saga-project/saga-cpp
7376c0de0529e7d7b80cf08b94ec484c2e56d38e
[ "BSL-1.0" ]
null
null
null
examples/tutorial/hello_job_world.cpp
saga-project/saga-cpp
7376c0de0529e7d7b80cf08b94ec484c2e56d38e
[ "BSL-1.0" ]
3
2016-11-17T04:38:38.000Z
2021-04-10T17:23:52.000Z
// Copyright (c) 2011 Ole Weidner, Louisiana State University // // This is part of the code examples on the SAGA website: // http://saga-project.org/documentation/tutorials/job-api #include <saga/saga.hpp> int main(int argc, char* argv[]) { try { // create an "echo 'hello, world' job" saga::job::des...
24.5
62
0.611317
saga-project
56498b71024b3b090fb1cdb71ccf3e66e649ba7a
19,728
cpp
C++
src/mongo/db/query/cursor_response_test.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
src/mongo/db/query/cursor_response_test.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
src/mongo/db/query/cursor_response_test.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
/** * Copyright (C) 2018-present MongoDB, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the Server Side Public License, version 1, * as published by MongoDB, Inc. * * This program is distributed in the hope that it will be useful, * but W...
46.748815
100
0.589822
benety
5649ef306425c4e66478968eedf4b5296864a7e2
8,692
cpp
C++
src/lock_free_set.cpp
cconklin/nonblocking-tables
82acacbb16342ad36156931b9969674d85114d21
[ "MIT" ]
null
null
null
src/lock_free_set.cpp
cconklin/nonblocking-tables
82acacbb16342ad36156931b9969674d85114d21
[ "MIT" ]
null
null
null
src/lock_free_set.cpp
cconklin/nonblocking-tables
82acacbb16342ad36156931b9969674d85114d21
[ "MIT" ]
null
null
null
#include <lock_free_set.hpp> namespace nonblocking { template<> versioned<lock_free_set::bucket_state>::versioned(unsigned int version, lock_free_set::bucket_state value) : _version{version} { switch (value) { case lock_free_set::bucket_state::empty: _value = 0; break; c...
41.788462
200
0.554648
cconklin
5649f39794bcb8d696576f12970d330136ab6d9e
955
cpp
C++
src/CaseCreator/UIComponents/CharacterTab/CharacterDialogSpritesPage.cpp
Thisisderpys/my-little-investigations
0689f2ca3e808ba39864f024280abd2e77f8ad20
[ "MIT" ]
41
2015-01-24T17:33:16.000Z
2022-01-08T19:36:40.000Z
src/CaseCreator/UIComponents/CharacterTab/CharacterDialogSpritesPage.cpp
Thisisderpys/my-little-investigations
0689f2ca3e808ba39864f024280abd2e77f8ad20
[ "MIT" ]
15
2015-01-05T21:00:41.000Z
2016-10-18T14:37:03.000Z
src/CaseCreator/UIComponents/CharacterTab/CharacterDialogSpritesPage.cpp
Thisisderpys/my-little-investigations
0689f2ca3e808ba39864f024280abd2e77f8ad20
[ "MIT" ]
6
2016-01-14T21:07:22.000Z
2020-11-28T09:51:15.000Z
#include "CharacterDialogSpritesPage.h" #include <QVBoxLayout> CharacterDialogSpritesPage::CharacterDialogSpritesPage(QWidget *parent) : Page<Character>(parent) { isActive = false; QVBoxLayout *pMainLayout = new QVBoxLayout(); pEmotionManipulator = new ListManipulator<Character::DialogEmotion>(); ...
20.319149
74
0.71623
Thisisderpys
871cfb6e6280a3cc476906643eb4d3e0a1ce5d5a
36,782
cxx
C++
libbuild2/cc/module.cxx
build2/build2
af662849b756ef2ff0f3d5148a6771acab78fd80
[ "MIT" ]
422
2018-05-30T12:00:00.000Z
2022-03-29T07:29:56.000Z
libbuild2/cc/module.cxx
build2/build2
af662849b756ef2ff0f3d5148a6771acab78fd80
[ "MIT" ]
183
2018-07-02T20:38:30.000Z
2022-03-31T09:54:35.000Z
libbuild2/cc/module.cxx
build2/build2
af662849b756ef2ff0f3d5148a6771acab78fd80
[ "MIT" ]
14
2019-01-09T12:34:02.000Z
2021-03-16T09:10:53.000Z
// file : libbuild2/cc/module.cxx -*- C++ -*- // license : MIT; see accompanying LICENSE file #include <libbuild2/cc/module.hxx> #include <iomanip> // left, setw() #include <libbuild2/scope.hxx> #include <libbuild2/function.hxx> #include <libbuild2/diagnostics.hxx> #include <libbuild2/bin/target.hxx> #inclu...
32.958781
81
0.520635
build2
8721d1a22273035cf5721033a04becee7caa421b
1,068
cc
C++
libs/crypto/legacy-test-pkcs5.cc
sandtreader/obtools
2382e2d90bb62c9665433d6d01bbd31b8ad66641
[ "MIT" ]
null
null
null
libs/crypto/legacy-test-pkcs5.cc
sandtreader/obtools
2382e2d90bb62c9665433d6d01bbd31b8ad66641
[ "MIT" ]
null
null
null
libs/crypto/legacy-test-pkcs5.cc
sandtreader/obtools
2382e2d90bb62c9665433d6d01bbd31b8ad66641
[ "MIT" ]
null
null
null
//========================================================================== // ObTools::Crypto: test-pkcs5.cc // // Test harness for Crypto library PKCS5 padding functions // // Copyright (c) 2006 Paul Clark. All rights reserved // This code comes with NO WARRANTY and is subject to licence agreement //===============...
24.837209
77
0.481273
sandtreader
87232c2882af6dadaade39d821c6436e24b74a84
577
cpp
C++
cap03/cap03-01-01-test_search_value.cpp
ggaaaff/think_like_a_programmer--test_code
fb081d24d70db6dd503608562625b84607c7a3ab
[ "MIT" ]
1
2020-12-08T10:54:39.000Z
2020-12-08T10:54:39.000Z
cap03/cap03-01-01-test_search_value.cpp
ggaaaff/think_like_a_programmer--test_code
fb081d24d70db6dd503608562625b84607c7a3ab
[ "MIT" ]
null
null
null
cap03/cap03-01-01-test_search_value.cpp
ggaaaff/think_like_a_programmer--test_code
fb081d24d70db6dd503608562625b84607c7a3ab
[ "MIT" ]
null
null
null
//2014.02.09 Gustaf - CTG. #include <iostream> #include <string> using namespace std; int main() { cout << "TEST Searching for a Specific Value \n"; const int ARRAY_SIZE = 10; int intArray[ARRAY_SIZE] = {4, 5, 9, 12, -4, 0, -57, 30987, -287, 1}; int targetValue = 12; int targetPos = 0; while ((intArr...
17.484848
74
0.613518
ggaaaff
872b2005306393fab82c78a2703a3027748461a7
2,358
cpp
C++
tutorial/test_async_stop_token.cpp
tearshark/librf
4299e2ff264aac9bcd9e4788e528de80044252c8
[ "Apache-2.0" ]
434
2017-09-24T06:41:06.000Z
2022-03-29T10:24:14.000Z
tutorial/test_async_stop_token.cpp
tearshark/librf
4299e2ff264aac9bcd9e4788e528de80044252c8
[ "Apache-2.0" ]
7
2017-12-06T13:08:33.000Z
2021-12-01T07:46:12.000Z
tutorial/test_async_stop_token.cpp
tearshark/librf
4299e2ff264aac9bcd9e4788e528de80044252c8
[ "Apache-2.0" ]
95
2017-09-24T06:14:04.000Z
2022-03-22T06:23:14.000Z
#include <chrono> #include <iostream> #include <string> #include <thread> #include "librf.h" using namespace resumef; using namespace std::chrono; //_Ctype签名:void(bool, int64_t) template<class _Ctype, typename=std::enable_if_t<std::is_invocable_v<_Ctype, bool, int64_t>>> static void callback_get_long_with_stop(stop...
22.673077
93
0.719254
tearshark
872bcde54549bdee3ba77e4d5909035efc2bb063
34,879
cpp
C++
PVPersonal.cpp
nardinan/vulture
d4be5b028d9fab4c0d23797ceb95d22f5a33cb75
[ "FTL" ]
null
null
null
PVPersonal.cpp
nardinan/vulture
d4be5b028d9fab4c0d23797ceb95d22f5a33cb75
[ "FTL" ]
null
null
null
PVPersonal.cpp
nardinan/vulture
d4be5b028d9fab4c0d23797ceb95d22f5a33cb75
[ "FTL" ]
null
null
null
/* PSYCHO GAMES(C) STUDIOS - 2007 www.psychogames.net * Project: Vulture(c) * Author : Andrea Nardinocchi * eMail : andrea@nardinan.it * * 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, ...
50.918248
229
0.579718
nardinan
872d353085923567ca1f97e3c39511c08b594fde
5,076
cpp
C++
csapex_sample_consensus/src/nodes/ransac.cpp
AdrianZw/csapex_core_plugins
1b23c90af7e552c3fc37c7dda589d751d2aae97f
[ "BSD-3-Clause" ]
2
2016-09-02T15:33:22.000Z
2019-05-06T22:09:33.000Z
csapex_sample_consensus/src/nodes/ransac.cpp
AdrianZw/csapex_core_plugins
1b23c90af7e552c3fc37c7dda589d751d2aae97f
[ "BSD-3-Clause" ]
1
2021-02-14T19:53:30.000Z
2021-02-14T19:53:30.000Z
csapex_sample_consensus/src/nodes/ransac.cpp
AdrianZw/csapex_core_plugins
1b23c90af7e552c3fc37c7dda589d751d2aae97f
[ "BSD-3-Clause" ]
6
2016-10-12T00:55:23.000Z
2021-02-10T17:49:25.000Z
/// PROJECT #include "sample_consensus.hpp" namespace csapex { using namespace connection_types; class Ransac : public SampleConsensus { public: Ransac() = default; void setupParameters(Parameterizable& parameters) override { SampleConsensus::setupParameters(parameters); parameters.addPa...
40.608
182
0.635737
AdrianZw
873048c42c07552f2c28839f97f603836ea52a78
1,362
cc
C++
chromecast/android/cast_jni_registrar.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chromecast/android/cast_jni_registrar.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chromecast/android/cast_jni_registrar.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chromecast/android/cast_jni_registrar.h" #include "base/android/jni_android.h" #include "base/android/jni_registrar.h" #include "base/macros.h"...
31.674419
84
0.792217
metux
8730b3d7ae083b97f36ae568df4cb7d400b15331
6,147
cpp
C++
src/sylvaneth/DrychaHamadreth.cpp
rweyrauch/AoSSimulator
d2bfbbe0fab904cc543f1a01e62e0b82cf67c27b
[ "MIT" ]
5
2019-02-01T01:41:19.000Z
2021-06-17T02:16:13.000Z
src/sylvaneth/DrychaHamadreth.cpp
rweyrauch/AoSSimulator
d2bfbbe0fab904cc543f1a01e62e0b82cf67c27b
[ "MIT" ]
2
2020-01-14T16:57:42.000Z
2021-04-01T00:53:18.000Z
src/sylvaneth/DrychaHamadreth.cpp
rweyrauch/AoSSimulator
d2bfbbe0fab904cc543f1a01e62e0b82cf67c27b
[ "MIT" ]
1
2019-03-02T20:03:51.000Z
2019-03-02T20:03:51.000Z
/* * Warhammer Age of Sigmar battle simulator. * * Copyright (C) 2019 by Rick Weyrauch - rpweyrauch@gmail.com * * This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT) */ #include <algorithm> #include <sylvaneth/DrychaHamadreth.h> #include <UnitFactory.h> #include <spells/MysticSh...
38.660377
147
0.626647
rweyrauch
873294da4f704846cd5adfaf011522e881ea2829
4,418
cpp
C++
pymaplib_cpp/src/pixelbuf.cpp
Grk0/MapsEvolved
e058a324e7d3c9b4c9b7e00d65b6f9da029fc7de
[ "PSF-2.0" ]
3
2015-06-09T10:41:15.000Z
2021-05-22T07:42:19.000Z
pymaplib_cpp/src/pixelbuf.cpp
Grk0/MapsEvolved
e058a324e7d3c9b4c9b7e00d65b6f9da029fc7de
[ "PSF-2.0" ]
null
null
null
pymaplib_cpp/src/pixelbuf.cpp
Grk0/MapsEvolved
e058a324e7d3c9b4c9b7e00d65b6f9da029fc7de
[ "PSF-2.0" ]
null
null
null
#include "pixelbuf.h" #include <assert.h> #include "util.h" #include "coordinates.h" PixelBuf::PixelBuf(int width, int height) // Zero-initialize the memory block (notice the parentheses). : m_data(std::shared_ptr<unsigned int>(new unsigned int[width*height](), Arra...
29.651007
76
0.549796
Grk0
87333c57e10f31f952c2db09e68af7fde29094ba
1,514
hpp
C++
commands.hpp
openbmc/google-ipmi-sys
f647e99165065feabb35aa744059cf6a2af46f1e
[ "Apache-2.0" ]
2
2020-01-16T02:04:13.000Z
2021-01-13T21:47:30.000Z
commands.hpp
openbmc/google-ipmi-sys
f647e99165065feabb35aa744059cf6a2af46f1e
[ "Apache-2.0" ]
null
null
null
commands.hpp
openbmc/google-ipmi-sys
f647e99165065feabb35aa744059cf6a2af46f1e
[ "Apache-2.0" ]
3
2019-12-10T21:56:33.000Z
2021-03-02T23:56:06.000Z
// Copyright 2021 Google LLC // // 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 ...
30.28
75
0.702774
openbmc
873b2b9ba23dd7eaec97f9dbf040f79215dfd8a4
3,904
hpp
C++
kernel/integration/x64/amd/arch_support.hpp
lusceu/hypervisor
012a2d16f96dcfc256a3cac9aa22e238c8160a0c
[ "MIT" ]
null
null
null
kernel/integration/x64/amd/arch_support.hpp
lusceu/hypervisor
012a2d16f96dcfc256a3cac9aa22e238c8160a0c
[ "MIT" ]
null
null
null
kernel/integration/x64/amd/arch_support.hpp
lusceu/hypervisor
012a2d16f96dcfc256a3cac9aa22e238c8160a0c
[ "MIT" ]
null
null
null
/// @copyright /// Copyright (C) 2020 Assured Information Security, Inc. /// /// @copyright /// 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 limita...
36.148148
100
0.649078
lusceu
873caa37bbce2f14d1786d96714d740dd2881fc6
3,233
cpp
C++
Problems/LongestSubstringWithoutRepeatingCharacters/LongestSubstringWithoutRepeatingCharacters.cpp
avramidis/leetcode-problems
66bf8eecdebe8d2b6bb45a23897a0c1938725116
[ "BSL-1.0" ]
null
null
null
Problems/LongestSubstringWithoutRepeatingCharacters/LongestSubstringWithoutRepeatingCharacters.cpp
avramidis/leetcode-problems
66bf8eecdebe8d2b6bb45a23897a0c1938725116
[ "BSL-1.0" ]
null
null
null
Problems/LongestSubstringWithoutRepeatingCharacters/LongestSubstringWithoutRepeatingCharacters.cpp
avramidis/leetcode-problems
66bf8eecdebe8d2b6bb45a23897a0c1938725116
[ "BSL-1.0" ]
null
null
null
#define CATCH_CONFIG_MAIN #include <iostream> #include "catch.hpp" class Solution { public: bool uniquestring(std::string s, int start, int end) { for (int i = start; i < end; i++) { for (int j = i + 1; j <= end; j++) { if (s[i] == s[j]) { return false; } } } return true; } int lengthOfLo...
20.993506
79
0.63656
avramidis
873d5ba06c2499a76b4caaa26d68da4ab04e88e0
4,161
cxx
C++
Modules/Nonunit/Review/test/itkValuedRegionalMinimaImageFilterTest.cxx
eile/ITK
2f09e6e2f9e0a4a7269ac83c597f97b04f915dc1
[ "Apache-2.0" ]
4
2015-05-22T03:47:43.000Z
2016-06-16T20:57:21.000Z
Modules/Nonunit/Review/test/itkValuedRegionalMinimaImageFilterTest.cxx
GEHC-Surgery/ITK
f5df62749e56c9036e5888cfed904032ba5fdfb7
[ "Apache-2.0" ]
null
null
null
Modules/Nonunit/Review/test/itkValuedRegionalMinimaImageFilterTest.cxx
GEHC-Surgery/ITK
f5df62749e56c9036e5888cfed904032ba5fdfb7
[ "Apache-2.0" ]
9
2016-06-23T16:03:12.000Z
2022-03-31T09:25:08.000Z
/*========================================================================= * * Copyright Insight Software Consortium * * 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 * * h...
39.628571
79
0.681086
eile
874365d921d57769ce83eae4b8a2a5f3cfdd58e2
763
cpp
C++
src/Boring32/src/Guid/Guid.cpp
yottaawesome/boring32
ecf843c200b133a4fad711dcf52419c0c88af49c
[ "MIT" ]
3
2021-11-25T13:44:57.000Z
2022-02-22T05:50:34.000Z
src/Boring32/src/Guid/Guid.cpp
yottaawesome/boring32
ecf843c200b133a4fad711dcf52419c0c88af49c
[ "MIT" ]
3
2021-10-13T10:58:30.000Z
2021-12-21T05:46:41.000Z
src/Boring32/src/Guid/Guid.cpp
yottaawesome/boring32
ecf843c200b133a4fad711dcf52419c0c88af49c
[ "MIT" ]
null
null
null
#include "pch.hpp" #include "Objbase.h" #include "include/Error/Error.hpp" #include "include/Guid/Guid.hpp" namespace Boring32::Guid { // Adapted from https://stackoverflow.com/a/19941516/7448661 std::wstring GetGuidAsWString(const GUID& guid) { wchar_t rawGuid[64] = { 0 }; HRESULT result = StringFro...
28.259259
79
0.70249
yottaawesome
87448d25f36aecf10d18da35b06ac2ad09acc6df
6,583
cc
C++
StRoot/StTrsMaker/src/StTpcDbElectronics.cc
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
2
2018-12-24T19:37:00.000Z
2022-02-28T06:57:20.000Z
StRoot/StTrsMaker/src/StTpcDbElectronics.cc
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
null
null
null
StRoot/StTrsMaker/src/StTpcDbElectronics.cc
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
null
null
null
/***************************************************************** * * $Id: StTpcDbElectronics.cc,v 1.7 2008/08/02 14:33:09 fisyak Exp $ * * Author: Manuel Calderon de la Barca Sanchez & Brian Lasiuk Sept 13, 1999 * ***************************************************************** * Description: Electronics para...
36.572222
108
0.588789
xiaohaijin
87457da4b1247ff3584eeeccebd30216871749ea
1,586
cpp
C++
tests/unit/countersignature.cpp
LaudateCorpus1/authenticode-parser
7653bb1c60b9eed74613dceb84b61ddd7b5127a1
[ "MIT" ]
4
2022-01-10T09:44:47.000Z
2022-03-15T11:50:46.000Z
tests/unit/countersignature.cpp
LaudateCorpus1/authenticode-parser
7653bb1c60b9eed74613dceb84b61ddd7b5127a1
[ "MIT" ]
1
2022-01-20T04:14:24.000Z
2022-01-22T16:51:07.000Z
tests/unit/countersignature.cpp
LaudateCorpus1/authenticode-parser
7653bb1c60b9eed74613dceb84b61ddd7b5127a1
[ "MIT" ]
2
2022-02-02T13:36:09.000Z
2022-03-15T11:50:48.000Z
#include "../../src/countersignature.h" #include <cstdint> #include <cstring> #include <gtest/gtest.h> TEST(CountersignatureModule, countersignature_array_insert) { CountersignatureArray array; array.counters = nullptr; array.count = 0; Countersignature countersig1 = {}; int res = countersignatu...
24.78125
67
0.710593
LaudateCorpus1
8750c0266c8d52d61c41c50a4592b2709ca57cc0
27,434
cpp
C++
experiment.cpp
ChristophKuhfuss/stneatexperiment
ca754fb679658072f4dacc4354a319db3faf660b
[ "BSD-3-Clause" ]
null
null
null
experiment.cpp
ChristophKuhfuss/stneatexperiment
ca754fb679658072f4dacc4354a319db3faf660b
[ "BSD-3-Clause" ]
null
null
null
experiment.cpp
ChristophKuhfuss/stneatexperiment
ca754fb679658072f4dacc4354a319db3faf660b
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> #include <string.h> #include <boost/date_time/posix_time/posix_time.hpp> #include <boost/filesystem.hpp> #include <sstream> #include <algorithm> #include <vector> #include <stdlib.h> #include <sstream> #include <stdio.h> #include <string> #include <math.h> #include <chrono> #include <sys/stat.h> #...
30.516129
357
0.640082
ChristophKuhfuss
875281638813f52013ee2ac0ad9bab0cc0c37e9e
10,910
cpp
C++
src/core/Film.cpp
IDragnev/pbrt
0eef2a23fb840a73d70c888b4eb2ad5caa278d63
[ "MIT" ]
null
null
null
src/core/Film.cpp
IDragnev/pbrt
0eef2a23fb840a73d70c888b4eb2ad5caa278d63
[ "MIT" ]
null
null
null
src/core/Film.cpp
IDragnev/pbrt
0eef2a23fb840a73d70c888b4eb2ad5caa278d63
[ "MIT" ]
null
null
null
#include "pbrt/core/Film.hpp" #include "pbrt/core/geometry/Utility.hpp" #include "pbrt/memory/Memory.hpp" namespace idragnev::pbrt { Film::Film(const Point2i& resolution, const Bounds2f& cropWindow, std::unique_ptr<const Filter> filt, Float diagonal, cons...
36.366667
97
0.528323
IDragnev
875325064a37bb256fef9507b5a7598a2bfe6fe6
2,824
cc
C++
UX/src/LogView.cc
frankencode/CoreComponents
4c66d7ff9fc5be19222906ba89ba0e98951179de
[ "Zlib" ]
null
null
null
UX/src/LogView.cc
frankencode/CoreComponents
4c66d7ff9fc5be19222906ba89ba0e98951179de
[ "Zlib" ]
null
null
null
UX/src/LogView.cc
frankencode/CoreComponents
4c66d7ff9fc5be19222906ba89ba0e98951179de
[ "Zlib" ]
null
null
null
/* * Copyright (C) 2022 Frank Mertens. * * Distribution and use is allowed under the terms of the zlib license * (see cc/LICENSE-zlib). * */ #include <cc/LogView> #include <cc/Text> #include <cc/LineSource> #include <cc/Format> namespace cc { struct LogView::State final: public ListView::State { State() ...
18.337662
73
0.56551
frankencode
8755e97bf465d7b049f60568f861e6be78a58164
5,944
cc
C++
src/connectivity/wlan/drivers/third_party/broadcom/brcmfmac/pcie/pcie_bus.cc
opensource-assist/fuschia
66646c55b3d0b36aae90a4b6706b87f1a6261935
[ "BSD-3-Clause" ]
null
null
null
src/connectivity/wlan/drivers/third_party/broadcom/brcmfmac/pcie/pcie_bus.cc
opensource-assist/fuschia
66646c55b3d0b36aae90a4b6706b87f1a6261935
[ "BSD-3-Clause" ]
null
null
null
src/connectivity/wlan/drivers/third_party/broadcom/brcmfmac/pcie/pcie_bus.cc
opensource-assist/fuschia
66646c55b3d0b36aae90a4b6706b87f1a6261935
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2019 The Fuchsia 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 "src/connectivity/wlan/drivers/third_party/broadcom/brcmfmac/pcie/pcie_bus.h" #include <zircon/errors.h> #include <algorithm> #include <string> #i...
36.024242
100
0.677995
opensource-assist
875bdcc9c2e25b38fd819a6bff10e7a0970c52a1
10,674
cpp
C++
src/libc9/loader.cpp
stormbrew/channel9
626b42c208ce1eb54fff09ebd9f9e9fd0311935d
[ "MIT" ]
1
2015-02-13T02:03:29.000Z
2015-02-13T02:03:29.000Z
src/libc9/loader.cpp
stormbrew/channel9
626b42c208ce1eb54fff09ebd9f9e9fd0311935d
[ "MIT" ]
null
null
null
src/libc9/loader.cpp
stormbrew/channel9
626b42c208ce1eb54fff09ebd9f9e9fd0311935d
[ "MIT" ]
null
null
null
#include <fstream> #include <algorithm> #include <stdlib.h> #include <dlfcn.h> #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> #include "json/json.h" #include "json/reader.h" #include "c9/loader.hpp" #include "c9/script.hpp" #include "c9/istream.hpp" #include "c9/variable_frame.hpp" #include "c9/cont...
28.089474
116
0.643152
stormbrew
875d513837ce2208a4dbad201f5696b50d67f6b7
2,279
hpp
C++
library/L1_Peripheral/lpc17xx/i2c.hpp
SJSURoboticsTeam/urc-control_systems-2020
35dff34c1bc0beecc94ad6b8f2d4b551969c6854
[ "Apache-2.0" ]
1
2020-02-22T20:26:41.000Z
2020-02-22T20:26:41.000Z
library/L1_Peripheral/lpc17xx/i2c.hpp
SJSURoboticsTeam/urc-control_systems-2020
35dff34c1bc0beecc94ad6b8f2d4b551969c6854
[ "Apache-2.0" ]
null
null
null
library/L1_Peripheral/lpc17xx/i2c.hpp
SJSURoboticsTeam/urc-control_systems-2020
35dff34c1bc0beecc94ad6b8f2d4b551969c6854
[ "Apache-2.0" ]
4
2019-10-17T03:42:03.000Z
2020-05-23T20:32:03.000Z
#pragma once #include "L1_Peripheral/lpc17xx/pin.hpp" #include "L1_Peripheral/lpc17xx/system_controller.hpp" #include "L1_Peripheral/lpc40xx/i2c.hpp" namespace sjsu { namespace lpc17xx { // Bring in and using the LPC40xx driver as it is compatible with the lpc17xx // peripheral. using ::sjsu::lpc40xx::I2c; /// Struc...
33.028986
77
0.69197
SJSURoboticsTeam
876034cd377244f6c74963ed63ac430e03463d8b
477
cpp
C++
src/exchange/offer.cpp
cvauclair/marketsim
3ce669716a7c061fe05a6e4765c07808f4a89138
[ "MIT" ]
null
null
null
src/exchange/offer.cpp
cvauclair/marketsim
3ce669716a7c061fe05a6e4765c07808f4a89138
[ "MIT" ]
1
2021-02-10T14:12:34.000Z
2021-02-10T22:42:57.000Z
src/exchange/offer.cpp
cvauclair/marketsim
3ce669716a7c061fe05a6e4765c07808f4a89138
[ "MIT" ]
null
null
null
#include "offer.h" unsigned int Offer::offerCounter = 0; Offer::Offer(OfferType type, const std::string &symbol, unsigned int quantity, float price, unsigned int accountId) { this->offerId = ++offerCounter; this->symbol_ = symbol; this->quantity = quantity; this->price = Offer::round(price); this->accountId_ = ...
21.681818
115
0.704403
cvauclair
8761aee44c3de02b1b13cbb08869509837aaaf6d
435
hpp
C++
Quasar/src/Quasar/Renderer/Camera.hpp
rvillegasm/Quasar
69a3e518030b52502bd1bf700cd6a44dc104d697
[ "Apache-2.0" ]
null
null
null
Quasar/src/Quasar/Renderer/Camera.hpp
rvillegasm/Quasar
69a3e518030b52502bd1bf700cd6a44dc104d697
[ "Apache-2.0" ]
null
null
null
Quasar/src/Quasar/Renderer/Camera.hpp
rvillegasm/Quasar
69a3e518030b52502bd1bf700cd6a44dc104d697
[ "Apache-2.0" ]
null
null
null
#pragma once #include <glm/glm.hpp> namespace Quasar { class Camera { protected: glm::mat4 m_Projection = glm::mat4(1.0f); public: Camera() = default; Camera(const glm::mat4 &projection) : m_Projection(projection) { } virtual ~Camera()...
16.730769
71
0.556322
rvillegasm
876250b484f53bcb46a7ba99c24475a765debd41
6,897
cpp
C++
data/haptic_teleoperation/src/robotteleop_keyboard.cpp
khairulislam/phys
fc702520fcd3b23022b9253e7d94f878978b4500
[ "MIT" ]
null
null
null
data/haptic_teleoperation/src/robotteleop_keyboard.cpp
khairulislam/phys
fc702520fcd3b23022b9253e7d94f878978b4500
[ "MIT" ]
null
null
null
data/haptic_teleoperation/src/robotteleop_keyboard.cpp
khairulislam/phys
fc702520fcd3b23022b9253e7d94f878978b4500
[ "MIT" ]
null
null
null
/* * Copyright (c) 2011, Willow Garage, 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: * * * Redistributions of source code must retain the above copyright * notice, this l...
29.101266
119
0.627954
khairulislam
87688dec8b9c4eeed4df313af29a91625230542b
5,642
cpp
C++
cpp/Combinatorial-search/TSP-branch-and-bound.cpp
fossabot/a-grim-loth
a6c8d549289a39ec981c1e0d0c754bb2708dfff9
[ "MIT" ]
4
2021-06-26T17:18:47.000Z
2022-02-02T15:02:27.000Z
cpp/Combinatorial-search/TSP-branch-and-bound.cpp
fossabot/a-grim-loth
a6c8d549289a39ec981c1e0d0c754bb2708dfff9
[ "MIT" ]
8
2021-06-29T07:00:32.000Z
2021-12-01T11:26:22.000Z
cpp/Combinatorial-search/TSP-branch-and-bound.cpp
fossabot/a-grim-loth
a6c8d549289a39ec981c1e0d0c754bb2708dfff9
[ "MIT" ]
3
2021-07-14T14:42:08.000Z
2021-12-07T19:36:53.000Z
/** * @file travelling-salesman-problem.cpp * @author prakash (prakashsellathurai@gmail.com) * @brief travelling-salesman-problem using branch and bound * @version 0.1 * @date 2021-08-01 * * @copyright Copyright (c) 2021 * */ #include <algorithm> #include <cstring> #include <iostream> #include <vector> usin...
30.010638
78
0.584722
fossabot
87722eeb4905a7d547f6a2faaecd8eb968ada488
1,281
cc
C++
leetcode/1300-critical-connections-in-a-network.cc
Magic07/online-judge-solutions
02a289dd7eb52d7eafabc97bd1a043213b65f70a
[ "MIT" ]
null
null
null
leetcode/1300-critical-connections-in-a-network.cc
Magic07/online-judge-solutions
02a289dd7eb52d7eafabc97bd1a043213b65f70a
[ "MIT" ]
null
null
null
leetcode/1300-critical-connections-in-a-network.cc
Magic07/online-judge-solutions
02a289dd7eb52d7eafabc97bd1a043213b65f70a
[ "MIT" ]
null
null
null
#include <vector> class Solution { public: int currentDfn; vector<vector<int>> answer; void dfs(int start, const vector<vector<int>>& graph, vector<int>& dfn, vector<int>& low, int parent) { for (const auto& v : graph[start]) { if (v == parent) {...
26.6875
78
0.489461
Magic07
87736715930f209007aa2a51c75f7a44eba804d7
7,927
cc
C++
components/page_load_metrics/browser/responsiveness_metrics_normalization_unittest.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
components/page_load_metrics/browser/responsiveness_metrics_normalization_unittest.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
components/page_load_metrics/browser/responsiveness_metrics_normalization_unittest.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 2021 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/page_load_metrics/browser/responsiveness_metrics_normalization.h" #include "base/test/scoped_feature_list.h" #include "components/pag...
48.042424
86
0.799167
zealoussnow
8776383a5697804b88328a7a61733778662837a1
1,400
hpp
C++
src/cf_libs/dskcf/ScaleChangeObserver.hpp
liguanqun/Test_code
523f4ed4c29b2b2092b40a8c9c3ce1ddbcf0737b
[ "Apache-2.0" ]
null
null
null
src/cf_libs/dskcf/ScaleChangeObserver.hpp
liguanqun/Test_code
523f4ed4c29b2b2092b40a8c9c3ce1ddbcf0737b
[ "Apache-2.0" ]
null
null
null
src/cf_libs/dskcf/ScaleChangeObserver.hpp
liguanqun/Test_code
523f4ed4c29b2b2092b40a8c9c3ce1ddbcf0737b
[ "Apache-2.0" ]
null
null
null
#ifndef _SCALECHANGEOBSERVER_HPP_ #define _SCALECHANGEOBSERVER_HPP_ /* This class represents a C++ implementation of the DS-KCF Tracker [1]. In particular the scaling system presented in [1] is implemented within this class References: [1] S. Hannuna, M. Camplani, J. Hall, M. Mirmehdi, D. Damen, T. Burghardt, A. ...
36.842105
137
0.738571
liguanqun
8778b21cc3238d4b53bd280e8c3e1765e1cd28c2
1,879
cpp
C++
src/tools/dnd/targets/ContainerFileTransitiveDataTarget.cpp
etrange02/Fux
2f49bcd8ec82eb521092c9162e01c8b0d00222ab
[ "CECILL-B" ]
2
2016-03-21T10:48:34.000Z
2017-03-17T19:50:34.000Z
src/tools/dnd/targets/ContainerFileTransitiveDataTarget.cpp
etrange02/Fux
2f49bcd8ec82eb521092c9162e01c8b0d00222ab
[ "CECILL-B" ]
null
null
null
src/tools/dnd/targets/ContainerFileTransitiveDataTarget.cpp
etrange02/Fux
2f49bcd8ec82eb521092c9162e01c8b0d00222ab
[ "CECILL-B" ]
null
null
null
/*************************************************************** * Name: ContainerFileTransitiveDataTarget.cpp * Purpose: Code for Fu(X) 2.0 * Author: David Lecoconnier (david.lecoconnier@free.fr) * Created: 2015-06-26 * Copyright: David Lecoconnier (http://www.getfux.fr) * License: *****************...
33.553571
152
0.717935
etrange02
877bdeb46a7ef2936fac4605fbf5b303b6eb9e14
1,734
hpp
C++
headers/lagrangian.hpp
bluemner/scientific_computing
db7c2d2372e7b493feece406de21f091369bbc0b
[ "MIT" ]
null
null
null
headers/lagrangian.hpp
bluemner/scientific_computing
db7c2d2372e7b493feece406de21f091369bbc0b
[ "MIT" ]
null
null
null
headers/lagrangian.hpp
bluemner/scientific_computing
db7c2d2372e7b493feece406de21f091369bbc0b
[ "MIT" ]
null
null
null
/** MIT License Copyright (c) 2017 Brandon Bluemner 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, ...
33.346154
79
0.711649
bluemner
877e5cb185a7fc44f80c03ed816965492643bb6a
3,555
hpp
C++
frame/object.hpp
joydit/solidframe
0539b0a1e77663ac4c701a88f56723d3e3688e8c
[ "BSL-1.0" ]
null
null
null
frame/object.hpp
joydit/solidframe
0539b0a1e77663ac4c701a88f56723d3e3688e8c
[ "BSL-1.0" ]
null
null
null
frame/object.hpp
joydit/solidframe
0539b0a1e77663ac4c701a88f56723d3e3688e8c
[ "BSL-1.0" ]
null
null
null
// frame/object.hpp // // Copyright (c) 2007, 2008 Valentin Palade (vipalade @ gmail . com) // // This file is part of SolidFrame framework. // // Distributed under the Boost Software License, Version 1.0. // See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt. // #ifndef SOLID_FRAME_...
20.084746
89
0.719269
joydit
8781a3e7aec776a34a38c7f30aac146996651ab0
53
cpp
C++
xperf/vc_parallel_compiles/Group1_A.cpp
ariccio/main
c1dce7b2f4b2682a984894cce995fadee0fe717a
[ "MIT" ]
17
2015-03-02T18:19:24.000Z
2021-07-26T11:20:24.000Z
xperf/vc_parallel_compiles/Group1_A.cpp
ariccio/main
c1dce7b2f4b2682a984894cce995fadee0fe717a
[ "MIT" ]
3
2015-03-02T04:14:25.000Z
2015-09-05T23:04:42.000Z
xperf/vc_parallel_compiles/Group1_B.cpp
randomascii/main
e5c3a1f84922b912edc1f859c455e1f80a9b0f83
[ "MIT" ]
6
2015-02-08T04:19:57.000Z
2016-04-22T11:34:26.000Z
#include "stdafx.h" static int s_value = CALC_FIB1;
13.25
31
0.735849
ariccio
8781f7120eeb763696c4e9a344e0b5c1ec458bba
12,049
cpp
C++
MediaCodecRT/DllLoader.cpp
gaobowen/MediaCodecRT
8c0136eaf9c6cec50c9e4106d60988bdd0957e59
[ "MIT" ]
2
2019-02-18T09:25:46.000Z
2019-04-19T08:05:58.000Z
MediaCodecRT/DllLoader.cpp
gaobowen/MediaCodecRT
8c0136eaf9c6cec50c9e4106d60988bdd0957e59
[ "MIT" ]
null
null
null
MediaCodecRT/DllLoader.cpp
gaobowen/MediaCodecRT
8c0136eaf9c6cec50c9e4106d60988bdd0957e59
[ "MIT" ]
null
null
null
#include "pch.h" #include "DllLoader.h" using namespace MediaCodecRT; HMODULE avutil_55_mod; HMODULE avcodec_57_mod; HMODULE avformat_57_mod; HMODULE swscale_4_mod; HMODULE swresample_2_mod; HMODULE avdevice_57_mod; HMODULE avfilter_6_mod; HMODULE kernelAddr; def_av_register_all * m_av_register_al...
54.768182
144
0.822226
gaobowen
8784146ac13d6b974322b8364facab1e6964f0b1
2,947
cpp
C++
actividades/sesion4/OSalvador/Actividad1/Vectores final.cpp
gsosad/Programacion-I
16bba6989fa09f6c9801a1092cf4ab4a2833876e
[ "MIT" ]
1
2019-01-12T18:13:54.000Z
2019-01-12T18:13:54.000Z
actividades/sesion4/OSalvador/Actividad1/Vectores final.cpp
gsosad/Programacion-I
16bba6989fa09f6c9801a1092cf4ab4a2833876e
[ "MIT" ]
1
2018-10-14T18:12:28.000Z
2018-10-14T18:12:28.000Z
actividades/sesion4/OSalvador/Actividad1/Vectores final.cpp
gsosad/Programacion-I
16bba6989fa09f6c9801a1092cf4ab4a2833876e
[ "MIT" ]
null
null
null
#include <iostream> #include <math.h> using namespace std; class Vector3D{ private: float x,y,z; float a,b,c; public: Vector3D(float _x, float _y, float _z){ x = _x; y = _y; z = _z; } void getCoordinates(float &a, float &b, float &c){ a = x; b = y; c = z; } ...
27.287037
130
0.556159
gsosad
8784aced478528d638b9691c26e77057c0b11a1f
10,048
cpp
C++
editor/src/window/window.cpp
TSAVideoGame/Skidibidipop
62a8f949266df13cd759e3b98e36e16e05aabd11
[ "Zlib" ]
1
2020-12-26T21:52:59.000Z
2020-12-26T21:52:59.000Z
editor/src/window/window.cpp
TSAVideoGame/Skidibidipop
62a8f949266df13cd759e3b98e36e16e05aabd11
[ "Zlib" ]
2
2021-01-15T04:05:00.000Z
2021-03-03T18:37:08.000Z
editor/src/window/window.cpp
TSAVideoGame/Skidibidipop
62a8f949266df13cd759e3b98e36e16e05aabd11
[ "Zlib" ]
null
null
null
#include "window.h" #include "constants.h" #include <ctime> #include <SDL2/SDL_ttf.h> bool Editor::Window::running = true; SDLW::Window* Editor::Window::window; SDLW::Renderer* Editor::Window::renderer; Editor::Inputs Editor::Window::inputs; Editor::Tool::Manager* Editor::Window::tool_manager; std::string Editor::Wind...
31.012346
259
0.670681
TSAVideoGame
8788aefd5cb7545ca8a430ef9120d41c793624b2
13,725
cpp
C++
groups/bdl/bdlb/bdlb_indexspanutil.t.cpp
seanbaxter/bde-1
149176ebc2ae49c3b563895a7332fe638a760782
[ "Apache-2.0" ]
1
2020-02-03T17:15:53.000Z
2020-02-03T17:15:53.000Z
groups/bdl/bdlb/bdlb_indexspanutil.t.cpp
seanbaxter/bde-1
149176ebc2ae49c3b563895a7332fe638a760782
[ "Apache-2.0" ]
2
2020-11-05T15:20:55.000Z
2021-01-05T19:38:43.000Z
groups/bdl/bdlb/bdlb_indexspanutil.t.cpp
seanbaxter/bde-1
149176ebc2ae49c3b563895a7332fe638a760782
[ "Apache-2.0" ]
2
2020-01-16T17:58:12.000Z
2020-08-11T20:59:30.000Z
// bdlb_indexspanutil.t.cpp -*-C++-*- #include <bdlb_indexspanutil.h> #include <bdlb_indexspan.h> #include <bslim_testutil.h> #include <bsls_asserttest.h> #include <bsls_buildtarget.h> #include <bsl_cstdlib.h> #include <bsl_cstring.h> #include <bsl_iostream.h> #include <bsl...
38.771186
79
0.485173
seanbaxter
878a5b9179b13aeab45163038d767f436d87e349
2,140
cpp
C++
Algorithms Design and Analysis II/knapsack.cpp
cbrghostrider/Coursera
0b509adb57f2e96e0d7b4119d50cdf2e555abafe
[ "MIT" ]
null
null
null
Algorithms Design and Analysis II/knapsack.cpp
cbrghostrider/Coursera
0b509adb57f2e96e0d7b4119d50cdf2e555abafe
[ "MIT" ]
null
null
null
Algorithms Design and Analysis II/knapsack.cpp
cbrghostrider/Coursera
0b509adb57f2e96e0d7b4119d50cdf2e555abafe
[ "MIT" ]
null
null
null
// ------------------------------------------------------------------------------------- // Author: Sourabh S Joshi (cbrghostrider); Copyright - All rights reserved. // For email, run on linux (perl v5.8.5): // perl -e 'print pack "H*","736f75726162682e732e6a6f73686940676d61696c2e636f6d0...
30.571429
121
0.55
cbrghostrider