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
01016d5372d5d6d26844a7c44e1e187ea8c9fec3
7,298
cpp
C++
src/Export/EConnection.cpp
ItsClemi/node-odbc2
d8616546b506cc41a64984c4f83cea990cd6564f
[ "Apache-2.0" ]
8
2016-04-26T17:16:24.000Z
2020-01-20T15:45:54.000Z
src/Export/EConnection.cpp
ItsClemi/node-odbc2
d8616546b506cc41a64984c4f83cea990cd6564f
[ "Apache-2.0" ]
2
2017-08-07T03:39:25.000Z
2017-11-07T18:37:49.000Z
src/Export/EConnection.cpp
ItsClemi/node-odbc2
d8616546b506cc41a64984c4f83cea990cd6564f
[ "Apache-2.0" ]
1
2019-11-01T18:52:10.000Z
2019-11-01T18:52:10.000Z
// File: EConnection.cpp // // node-odbc (odbc interface for NodeJS) // // Copyright 2017 Clemens Susenbeth // // 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...
27.231343
130
0.680323
ItsClemi
0107278b8aa7b8432a3ec8963e61db0300170b4d
7,104
cpp
C++
tests/llvmir2hll/optimizer/optimizers/c_array_arg_optimizer_tests.cpp
mehrdad-shokri/retdec
a82f16e97b163afe789876e0a819489c5b9b358e
[ "MIT", "Zlib", "BSD-3-Clause" ]
4,816
2017-12-12T18:07:09.000Z
2019-04-17T02:01:04.000Z
tests/llvmir2hll/optimizer/optimizers/c_array_arg_optimizer_tests.cpp
mehrdad-shokri/retdec
a82f16e97b163afe789876e0a819489c5b9b358e
[ "MIT", "Zlib", "BSD-3-Clause" ]
514
2017-12-12T18:22:52.000Z
2019-04-16T16:07:11.000Z
tests/llvmir2hll/optimizer/optimizers/c_array_arg_optimizer_tests.cpp
mehrdad-shokri/retdec
a82f16e97b163afe789876e0a819489c5b9b358e
[ "MIT", "Zlib", "BSD-3-Clause" ]
579
2017-12-12T18:38:02.000Z
2019-04-11T13:32:53.000Z
/** * @file tests/llvmir2hll/optimizer/optimizers/c_array_arg_optimizer_tests.cpp * @brief Tests for the @c c_array_arg_optimizer module. * @copyright (c) 2017 Avast Software, licensed under the MIT license */ #include <gtest/gtest.h> #include "retdec/llvmir2hll/ir/address_op_expr.h" #include "retdec/llvmir2hll/ir/ar...
30.229787
77
0.745918
mehrdad-shokri
0108b97286aaa56cfa92540d3f03cfc6acb5024a
72,720
cpp
C++
Backend/BundleAdjustment/LocalBundleAdjustorGN.cpp
StevenCui/ICE-BA-Mono-Android
955e72bd548d2626b2c27115c34c0a4e7e3816d9
[ "Apache-2.0" ]
24
2019-04-19T02:43:10.000Z
2022-03-21T11:58:37.000Z
Backend/BundleAdjustment/LocalBundleAdjustorGN.cpp
StevenCui/ICE-BA-Mono-Android
955e72bd548d2626b2c27115c34c0a4e7e3816d9
[ "Apache-2.0" ]
1
2019-04-23T03:01:16.000Z
2019-04-23T03:01:16.000Z
Backend/BundleAdjustment/LocalBundleAdjustorGN.cpp
StevenCui/ICE-BA-Mono-Android
955e72bd548d2626b2c27115c34c0a4e7e3816d9
[ "Apache-2.0" ]
8
2019-03-05T03:42:57.000Z
2021-11-20T01:52:51.000Z
/****************************************************************************** * Copyright 2017-2018 Baidu Robotic Vision 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 ...
35.490483
104
0.566928
StevenCui
01092b68de09ab803cd9dfbf671e508042cf1231
2,292
cpp
C++
src/config.cpp
ivan-volnov/keybr
42a3ccff0f0aa918b78d971522d36c60eefc80f2
[ "MIT" ]
14
2020-04-06T17:02:35.000Z
2022-01-30T14:30:43.000Z
src/config.cpp
Involkers/keybr
42a3ccff0f0aa918b78d971522d36c60eefc80f2
[ "MIT" ]
1
2021-07-19T01:05:54.000Z
2021-07-23T08:47:27.000Z
src/config.cpp
Involkers/keybr
42a3ccff0f0aa918b78d971522d36c60eefc80f2
[ "MIT" ]
4
2021-03-12T05:40:57.000Z
2022-01-19T11:06:31.000Z
#include "config.h" #include <unistd.h> #include <pwd.h> #include <ctime> #include <fstream> #include <iostream> #include "utility/tools.h" Config::Config() : json({}) { const char *homedir = getenv("HOME"); if (homedir == nullptr) { homedir = getpwuid(getuid())->pw_dir; } app_path.assign(...
24.382979
91
0.637871
ivan-volnov
010dcb62912e2d87aed24182eccd818691a739b2
1,989
cpp
C++
ev/external/lightstep-tracer-cpp/test/in_memory_async_transporter.cpp
sergiorr/yastack
17cdc12a52ea5869f429aa8ec421c3d1d25b32e7
[ "Apache-2.0" ]
91
2018-11-24T05:33:58.000Z
2022-03-16T05:58:05.000Z
ev/external/lightstep-tracer-cpp/test/in_memory_async_transporter.cpp
sergiorr/yastack
17cdc12a52ea5869f429aa8ec421c3d1d25b32e7
[ "Apache-2.0" ]
11
2019-06-02T23:50:17.000Z
2022-02-04T23:58:56.000Z
ev/external/lightstep-tracer-cpp/test/in_memory_async_transporter.cpp
sergiorr/yastack
17cdc12a52ea5869f429aa8ec421c3d1d25b32e7
[ "Apache-2.0" ]
18
2018-11-24T10:35:29.000Z
2021-04-22T07:22:10.000Z
#include "in_memory_async_transporter.h" namespace lightstep { //------------------------------------------------------------------------------ // Send //------------------------------------------------------------------------------ void InMemoryAsyncTransporter::Send(const google::protobuf::Message& request, ...
35.517857
80
0.514832
sergiorr
010e765543cdfbb0e7fc14b5f748cb9308f07665
1,256
cpp
C++
free_gait_core/src/step/CustomCommand.cpp
HeroWithL/free_gaitc
ac4bc0ced56d0619d2fde105d2712fdf2507e245
[ "BSD-3-Clause" ]
330
2016-10-25T14:04:02.000Z
2022-03-30T12:31:41.000Z
free_gait_core/src/step/CustomCommand.cpp
HeroWithL/free_gaitc
ac4bc0ced56d0619d2fde105d2712fdf2507e245
[ "BSD-3-Clause" ]
47
2016-08-25T14:10:23.000Z
2020-09-21T17:25:05.000Z
free_gait_core/src/step/CustomCommand.cpp
HeroWithL/free_gaitc
ac4bc0ced56d0619d2fde105d2712fdf2507e245
[ "BSD-3-Clause" ]
122
2016-10-25T14:04:16.000Z
2022-03-26T21:32:51.000Z
/* * CustomCommand.cpp * * Created on: Feb 15, 2017 * Author: Péter Fankhauser * Institute: ETH Zurich, Robotic Systems Lab */ #include "free_gait_core/step/CustomCommand.hpp" // STD #include <iostream> namespace free_gait { CustomCommand::CustomCommand() : duration_(0.0) { } CustomCommand::~Cust...
17.942857
79
0.697452
HeroWithL
010f9318031968f7d41a3755185a2eda99baf92c
479
cpp
C++
tools/packchk/src/PackChkMain.cpp
tarek-bochkati/devtools
88b60b70d494e00577f432a01076380689cd3efb
[ "Apache-2.0", "MIT", "ECL-2.0", "BSL-1.0", "BSD-3-Clause" ]
17
2021-09-01T16:30:45.000Z
2022-03-23T12:33:54.000Z
tools/packchk/src/PackChkMain.cpp
tarek-bochkati/devtools
88b60b70d494e00577f432a01076380689cd3efb
[ "Apache-2.0", "MIT", "ECL-2.0", "BSL-1.0", "BSD-3-Clause" ]
158
2021-09-14T09:13:11.000Z
2022-03-31T10:45:46.000Z
tools/packchk/src/PackChkMain.cpp
spcaipers-arm/devtools
973cba2110e373a584ef6faf14ba3cd38f927696
[ "Apache-2.0", "MIT", "ECL-2.0", "BSL-1.0", "BSD-3-Clause" ]
32
2021-09-03T08:50:30.000Z
2022-03-14T13:14:39.000Z
/* * Copyright (c) 2020-2021 Arm Limited. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 */ #include "PackChk.h" #include "CrossPlatform.h" /** * @brief PackChk main entry point * @param argc command line argument * @param argv command line argument * @param envp command line argument (not used...
19.958333
60
0.680585
tarek-bochkati
01108146c191eeeee41ad9c471d1b55074e5cfb3
1,236
cpp
C++
src/0128_longest_consecutive_sequence.cpp
hariharanragothaman/cpprevise-leetcode
736d497961f5493a82c3f9355abbc2daa8219643
[ "Apache-2.0" ]
1
2021-04-21T07:59:30.000Z
2021-04-21T07:59:30.000Z
src/0128_longest_consecutive_sequence.cpp
hariharanragothaman/cpprevise-leetcode
736d497961f5493a82c3f9355abbc2daa8219643
[ "Apache-2.0" ]
null
null
null
src/0128_longest_consecutive_sequence.cpp
hariharanragothaman/cpprevise-leetcode
736d497961f5493a82c3f9355abbc2daa8219643
[ "Apache-2.0" ]
null
null
null
/* * Given an unsorted array of integers nums, return the length of the longest consecutive elements sequence. Example 1: Input: nums = [100,4,200,1,3,2] Output: 4 Explanation: The longest consecutive elements sequence is [1, 2, 3, 4]. Therefore its length is 4. Example 2: Input: nums = [0,3,7,2,5,8,4,6,...
20.949153
110
0.541262
hariharanragothaman
01143c2a451db0b9d533573d60d3b9e50dce2ea2
2,162
cpp
C++
c++/leetcode/0759-Employee_Free_Time-H.cpp
levendlee/leetcode
35e274cb4046f6ec7112cd56babd8fb7d437b844
[ "Apache-2.0" ]
1
2020-03-02T10:56:22.000Z
2020-03-02T10:56:22.000Z
c++/leetcode/0759-Employee_Free_Time-H.cpp
levendlee/leetcode
35e274cb4046f6ec7112cd56babd8fb7d437b844
[ "Apache-2.0" ]
null
null
null
c++/leetcode/0759-Employee_Free_Time-H.cpp
levendlee/leetcode
35e274cb4046f6ec7112cd56babd8fb7d437b844
[ "Apache-2.0" ]
null
null
null
// 759 Employee Free Time // https://leetcode.com/problems/employee-free-time // version: 1; create time: 2020-01-04 18:33:46; /* // Definition for an Interval. class Interval { public: int start; int end; Interval() {} Interval(int _start, int _end) { start = _start; end = _end; ...
29.216216
83
0.474561
levendlee
0115b68cddb2a2bf16245d977fec16f5b6afcb4b
776
hpp
C++
exercise_6/writer.hpp
azurite/numCSE18-code
f7104305375954a0528d366f8460bf8033d20f0a
[ "MIT" ]
1
2019-01-13T19:08:32.000Z
2019-01-13T19:08:32.000Z
exercise_6/writer.hpp
azurite/numCSE18-code
f7104305375954a0528d366f8460bf8033d20f0a
[ "MIT" ]
null
null
null
exercise_6/writer.hpp
azurite/numCSE18-code
f7104305375954a0528d366f8460bf8033d20f0a
[ "MIT" ]
null
null
null
#pragma once #include <vector> #include <string> #include <fstream> #include <limits> #include <iomanip> /// /// Writes the contents of the vector 'data' to the textfile filename /// The output format should be load-able in MATLAB and Numpy using the /// load-command. /// template<typename T> void writeToFile(const st...
26.758621
78
0.653351
azurite
01176d804de912be19fa8beabb903e363b6b9368
19,396
cpp
C++
cctf/CCTFLibrary.cpp
hiroog/CCTFLibrary
9eb1d7f740ba7f6174c40dba255c12212b85d9e4
[ "MIT" ]
null
null
null
cctf/CCTFLibrary.cpp
hiroog/CCTFLibrary
9eb1d7f740ba7f6174c40dba255c12212b85d9e4
[ "MIT" ]
null
null
null
cctf/CCTFLibrary.cpp
hiroog/CCTFLibrary
9eb1d7f740ba7f6174c40dba255c12212b85d9e4
[ "MIT" ]
null
null
null
// 2019/09/01 Hiroyuki Ogasawara // vim:ts=4 sw=4 noet: #include <tensorflow/c/c_api.h> #include <string.h> #include "CCTFLibrary.h" #include "CCTFSystem.h" #define USE_TENSORFLOW_R1_14 0 namespace cctf { //----------------------------------------------------------------------------- //---------------...
24.154421
128
0.621159
hiroog
0119bf1a401aacbc00c9902f21ebec01e607970e
21
hpp
C++
include/minimiser.hpp
madagiurgiu25/seqan3_test
0b596a0a606e08b761acb1fdd9af3effbe4b37d9
[ "BSD-3-Clause" ]
null
null
null
include/minimiser.hpp
madagiurgiu25/seqan3_test
0b596a0a606e08b761acb1fdd9af3effbe4b37d9
[ "BSD-3-Clause" ]
7
2021-12-05T13:41:46.000Z
2021-12-13T10:36:43.000Z
include/minimiser.hpp
madagiurgiu25/seqan3_test
0b596a0a606e08b761acb1fdd9af3effbe4b37d9
[ "BSD-3-Clause" ]
null
null
null
void testMinimizer();
21
21
0.809524
madagiurgiu25
011afb59852caa70074affda257809a89afd39e2
2,514
cc
C++
rosplan_dependencies/ppddl_parser/src/PPDDLParser/requirements.cc
Wonseok-Oh/rosplan
c6d83a0b2da034d310497d73fadb0bfe6abff812
[ "BSD-2-Clause" ]
1
2020-07-12T23:08:23.000Z
2020-07-12T23:08:23.000Z
rosplan_dependencies/ppddl_parser/src/PPDDLParser/requirements.cc
Wonseok-Oh/rosplan
c6d83a0b2da034d310497d73fadb0bfe6abff812
[ "BSD-2-Clause" ]
18
2020-04-13T22:26:58.000Z
2020-10-04T19:37:21.000Z
rosplan_dependencies/ppddl_parser/src/PPDDLParser/requirements.cc
Wonseok-Oh/rosplan
c6d83a0b2da034d310497d73fadb0bfe6abff812
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright 2003-2005 Carnegie Mellon University and Rutgers University * Copyright 2007 H�kan Younes * * 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/...
34.916667
87
0.64638
Wonseok-Oh
011d6dd3a2096faa8e3af1e89f13b03235a8b3be
5,234
cpp
C++
firmware/ventilator-controller-stm32/Core/Src/Pufferfish/Driver/Serial/Nonin/PacketReceiver.cpp
pez-globo/pufferfish-software
b42fecd652731dd80fbe366e95983503fced37a4
[ "Apache-2.0" ]
1
2020-10-20T23:47:23.000Z
2020-10-20T23:47:23.000Z
firmware/ventilator-controller-stm32/Core/Src/Pufferfish/Driver/Serial/Nonin/PacketReceiver.cpp
pez-globo/pufferfish-software
b42fecd652731dd80fbe366e95983503fced37a4
[ "Apache-2.0" ]
242
2020-10-23T06:44:01.000Z
2022-01-28T05:50:45.000Z
firmware/ventilator-controller-stm32/Core/Src/Pufferfish/Driver/Serial/Nonin/PacketReceiver.cpp
pez-globo/pufferfish-vent-software
f1e5e47acf1941e7c729adb750b85bf26c38b274
[ "Apache-2.0" ]
1
2021-04-12T02:10:18.000Z
2021-04-12T02:10:18.000Z
/// PacketReceiver.cpp /// Packet receiver takes the input frames and output the packet /// measurements on availability // Copyright (c) 2020 Pez-Globo and the Pufferfish project contributors // SPDX-License-Identifier: Apache-2.0 // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not us...
38.77037
99
0.751242
pez-globo
011efa67eaeed44d76e15eb00a357331ab77da86
155
cpp
C++
container/src/container.cpp
ponta027/cpp_study
61c112b9034bf883f17fc49439992f3a4230f038
[ "Apache-2.0" ]
null
null
null
container/src/container.cpp
ponta027/cpp_study
61c112b9034bf883f17fc49439992f3a4230f038
[ "Apache-2.0" ]
null
null
null
container/src/container.cpp
ponta027/cpp_study
61c112b9034bf883f17fc49439992f3a4230f038
[ "Apache-2.0" ]
null
null
null
#include <iostream> void vectorSample(); void mapSample(); int main(int argc, char** argv) { vectorSample(); mapSample(); return 0; }
12.916667
31
0.606452
ponta027
012147dffc314dfe4683e13904661492fa563ee9
632
cpp
C++
src/effect/PostEffectFactory.cpp
agruzdev/OgrePosteffects
5991183d0bd7bf711ae58182f4185db35714f368
[ "MIT" ]
null
null
null
src/effect/PostEffectFactory.cpp
agruzdev/OgrePosteffects
5991183d0bd7bf711ae58182f4185db35714f368
[ "MIT" ]
null
null
null
src/effect/PostEffectFactory.cpp
agruzdev/OgrePosteffects
5991183d0bd7bf711ae58182f4185db35714f368
[ "MIT" ]
null
null
null
/** * @file PostEffectFactory.cpp * * Copyright (c) 2015 by Gruzdev Alexey * * Code covered by the MIT License * The authors make no representations about the suitability of this software * for any purpose. It is provided "as is" without express or implied warranty. */ #include "PostEffectFactory.h" namespace OgreEff...
24.307692
78
0.572785
agruzdev
01244adbd40aeeb930f191ec80214a36cd463207
1,569
cpp
C++
camera-cmd/issyscam.cpp
idrilsilverfoot/windows-camera-tools
eef4b1df25b9b91f2170bc20c35a957be768990e
[ "MIT" ]
20
2016-09-07T10:32:05.000Z
2021-06-04T17:12:17.000Z
camera-cmd/issyscam.cpp
idrilsilverfoot/windows-camera-tools
eef4b1df25b9b91f2170bc20c35a957be768990e
[ "MIT" ]
1
2020-01-16T02:51:21.000Z
2020-02-19T02:34:29.000Z
camera-cmd/issyscam.cpp
idrilsilverfoot/windows-camera-tools
eef4b1df25b9b91f2170bc20c35a957be768990e
[ "MIT" ]
5
2019-04-03T14:27:55.000Z
2021-01-18T13:24:52.000Z
/* * Copyright(c) 2016 Chew Esmero * All rights reserved. */ #include "stdafx.h" #include "issyscam.h" #include <atlbase.h> #include "..\include\libcamera.h" #include "common.h" #include "appcontext.h" int IsSystemCamera(wchar_t *pszFname, BOOL *pIsSysCam) { CComPtr<ICameraMf> spCameraMf = nullptr; int ret...
24.904762
108
0.614404
idrilsilverfoot
0125796f3d116fc70bb74c4fa7c370dd168b3e7b
3,921
cpp
C++
InterView-obj-isa-class/libmalloc-166.220.1/tests/MallocBench/fragment.cpp
miniLV/MNAlertView
262275f6ba6be2537ac362dab4e9f532044c160c
[ "Apache-2.0" ]
146
2019-01-20T15:42:47.000Z
2022-03-14T07:53:53.000Z
InterView-obj-isa-class/libmalloc-166.220.1/tests/MallocBench/fragment.cpp
geniusZhangXu/Interview-series
3222a15a1710f5cd4fc9e6e04d30b337e8eebe46
[ "Apache-2.0" ]
3
2019-07-19T04:46:20.000Z
2022-03-24T01:53:07.000Z
InterView-obj-isa-class/libmalloc-166.220.1/tests/MallocBench/fragment.cpp
geniusZhangXu/Interview-series
3222a15a1710f5cd4fc9e6e04d30b337e8eebe46
[ "Apache-2.0" ]
29
2019-06-23T06:14:00.000Z
2022-01-04T06:38:40.000Z
/* * Copyright (C) 2014 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 conditions a...
26.493243
80
0.609793
miniLV
01285b3be99d5e2a754f58f560a868ab47465343
13,079
cpp
C++
Co-Simulation/Sumo/sumo-1.7.0/src/utils/shapes/ShapeHandler.cpp
uruzahe/carla
940c2ab23cce1eda1ef66de35f66b42d40865fb1
[ "MIT" ]
null
null
null
Co-Simulation/Sumo/sumo-1.7.0/src/utils/shapes/ShapeHandler.cpp
uruzahe/carla
940c2ab23cce1eda1ef66de35f66b42d40865fb1
[ "MIT" ]
null
null
null
Co-Simulation/Sumo/sumo-1.7.0/src/utils/shapes/ShapeHandler.cpp
uruzahe/carla
940c2ab23cce1eda1ef66de35f66b42d40865fb1
[ "MIT" ]
null
null
null
/****************************************************************************/ // Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo // Copyright (C) 2001-2020 German Aerospace Center (DLR) and others. // This program and the accompanying materials are made available under the // terms of the Ecli...
43.742475
165
0.590336
uruzahe
012a577a28a67e7814a1e4dfba848ef51d09f13a
3,170
hpp
C++
lib/trading_db/include/offcenter/trading/db/SOCIMySQLConnectionOptions.hpp
CodeRancher/offcenter_trading
68526fdc0f27d611f748b2fa20f49e743d3ee5eb
[ "Apache-2.0" ]
null
null
null
lib/trading_db/include/offcenter/trading/db/SOCIMySQLConnectionOptions.hpp
CodeRancher/offcenter_trading
68526fdc0f27d611f748b2fa20f49e743d3ee5eb
[ "Apache-2.0" ]
4
2021-12-27T17:56:21.000Z
2022-01-05T00:05:01.000Z
lib/trading_db/include/offcenter/trading/db/SOCIMySQLConnectionOptions.hpp
CodeRancher/offcenter_trading
68526fdc0f27d611f748b2fa20f49e743d3ee5eb
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2021 Scott Brauer * * Licensed under the Apache License, Version 2.0 (the ); * 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 writ...
29.082569
147
0.718927
CodeRancher
012ccb8289bdc9798bd4483f925a951eb03bf742
1,166
cpp
C++
ConsoleWriter.cpp
nwehr/eloquent-ext-consolewriter
35ce11895fb092120689359a0b80d4e47632a029
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
ConsoleWriter.cpp
nwehr/eloquent-ext-consolewriter
35ce11895fb092120689359a0b80d4e47632a029
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
ConsoleWriter.cpp
nwehr/eloquent-ext-consolewriter
35ce11895fb092120689359a0b80d4e47632a029
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
// // Copyright 2013-2014 EvriChart, Inc. All Rights Reserved. // See LICENSE.txt // // C++ #include <string> #include <mutex> #include <iostream> // Internal #include "ConsoleWriter.h" /////////////////////////////////////////////////////////////////////////////// // ConsoleWriter : Extension //////////////////////...
26.5
95
0.555746
nwehr
012d1231af47e0b07d3a5f2b318dec47eac0278a
733
cpp
C++
src/commands/sd_mount_status_command.cpp
JoeGilkey/vi-firmware
fb8392bbc60f161607625e51e07c03bce2ec3d9e
[ "BSD-3-Clause" ]
148
2015-01-01T18:32:25.000Z
2022-03-05T12:02:24.000Z
src/commands/sd_mount_status_command.cpp
ankhntaijitu/vi-firmware
fb8392bbc60f161607625e51e07c03bce2ec3d9e
[ "BSD-3-Clause" ]
109
2015-02-11T16:33:49.000Z
2021-01-04T16:14:00.000Z
src/commands/sd_mount_status_command.cpp
ankhntaijitu/vi-firmware
fb8392bbc60f161607625e51e07c03bce2ec3d9e
[ "BSD-3-Clause" ]
89
2015-02-04T00:39:29.000Z
2021-10-03T00:01:17.000Z
#include "version_command.h" #include "config.h" #include "diagnostics.h" #include "interface/usb.h" #include "util/log.h" #include "config.h" #include "pb_decode.h" #include <payload/payload.h> #include "signals.h" #include <can/canutil.h> #include <bitfield/bitfield.h> #include <limits.h> #include "sd_mount_status_co...
22.212121
100
0.718963
JoeGilkey
012ee0669647e78ada910b8e5bf3aed68c3cceab
1,339
cpp
C++
modules/task_1/popp_m_max_value_of_matrix/max_value_of_matrix.cpp
Oskg/pp_2021_autumn
c05d35f4d4b324cc13e58188b4a0c0174f891976
[ "BSD-3-Clause" ]
1
2021-12-09T17:20:25.000Z
2021-12-09T17:20:25.000Z
modules/task_1/popp_m_max_value_of_matrix/max_value_of_matrix.cpp
Oskg/pp_2021_autumn
c05d35f4d4b324cc13e58188b4a0c0174f891976
[ "BSD-3-Clause" ]
null
null
null
modules/task_1/popp_m_max_value_of_matrix/max_value_of_matrix.cpp
Oskg/pp_2021_autumn
c05d35f4d4b324cc13e58188b4a0c0174f891976
[ "BSD-3-Clause" ]
3
2022-02-23T14:20:50.000Z
2022-03-30T09:00:02.000Z
// Copyright 2021 Popp Maksim #include <mpi.h> #include <random> #include "../../../modules/task_1/popp_m_max_value_of_matrix/max_value_of_matrix.h" int searchMaxSequentially(int* arr, int k, int l) { int max = arr[0]; for (int i = 1; i < k * l; i++) if (max < arr[i]) { max = arr[i]; ...
24.796296
83
0.584018
Oskg
01345605bc1f3c62fa5724499e3b42363548a2e7
6,853
hpp
C++
src/src_c/MultiGrid/Pimpact_CoarsenStrategyGlobal.hpp
huppd/PINTimpact
766b2ef4d2fa9e6727965e48a3fba7b752074850
[ "MIT" ]
null
null
null
src/src_c/MultiGrid/Pimpact_CoarsenStrategyGlobal.hpp
huppd/PINTimpact
766b2ef4d2fa9e6727965e48a3fba7b752074850
[ "MIT" ]
null
null
null
src/src_c/MultiGrid/Pimpact_CoarsenStrategyGlobal.hpp
huppd/PINTimpact
766b2ef4d2fa9e6727965e48a3fba7b752074850
[ "MIT" ]
null
null
null
/// Pimpact /// \author huppd /// \date 2018 #pragma once #ifndef PIMPACT_COARSENSTRATEGYGLOBAL_HPP #define PIMPACT_COARSENSTRATEGYGLOBAL_HPP #include "Teuchos_Array.hpp" #include "Teuchos_RCP.hpp" #include "Pimpact_Grid.hpp" namespace Pimpact { /// \brief first model implementation, where one coarsens unt...
32.173709
118
0.584707
huppd
01347cabb8e7cbed3ccf74f5553b3546d5a27f25
1,864
cpp
C++
src/mayaToIndigo/src/Indigo/IndigoImgExport.cpp
haggi/OpenMaya
746e0740f480d9ef8d2173f31b3c99b9b0ea0d24
[ "MIT" ]
42
2015-01-03T15:07:25.000Z
2021-12-09T03:56:59.000Z
src/mayaToIndigo/src/Indigo/IndigoImgExport.cpp
haggi/OpenMaya
746e0740f480d9ef8d2173f31b3c99b9b0ea0d24
[ "MIT" ]
66
2015-01-02T13:28:44.000Z
2022-03-16T14:00:57.000Z
src/mayaToIndigo/src/Indigo/IndigoImgExport.cpp
haggi/OpenMaya
746e0740f480d9ef8d2173f31b3c99b9b0ea0d24
[ "MIT" ]
12
2015-02-07T05:02:17.000Z
2020-07-10T17:21:44.000Z
#include "IndigoImgExport.h" #include <iostream> #include <fstream> void BitMap::writeFloatBufferToBMP(const Indigo::String& path, float* buffer, size_t w, size_t h) { // Convert buffer data to 8-bit first: std::vector<uint8> uint8_buf(w * h * 4); for(size_t i=0; i<w * h * 4; ++i) uint8_buf[i] = (uint8)(buffer[...
26.253521
97
0.664163
haggi
013887115651ceb1f34d8832e853b25b0dbea7fe
7,272
cpp
C++
src/dlib/test/lspi.cpp
prathyusha12924/eye-gaze
a80ad54b46e9cef4e743b53aaff035de83f27154
[ "MIT" ]
11,719
2015-01-03T22:38:57.000Z
2022-03-30T21:45:04.000Z
dlib/test/lspi.cpp
KiLJ4EdeN/dlib
eb1f08ce6ab3ca6f9d10425d899103de3c0df56c
[ "BSL-1.0" ]
2,518
2015-01-04T04:38:06.000Z
2022-03-31T11:55:43.000Z
dlib/test/lspi.cpp
KiLJ4EdeN/dlib
eb1f08ce6ab3ca6f9d10425d899103de3c0df56c
[ "BSL-1.0" ]
3,308
2015-01-01T14:34:16.000Z
2022-03-31T07:20:07.000Z
// Copyright (C) 2015 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #include "tester.h" #include <dlib/control.h> #include <vector> #include <sstream> #include <ctime> namespace { using namespace test; using namespace dlib; using namespace std...
28.07722
91
0.528878
prathyusha12924
013913dbfd0f4bd1dda1186a04d272d5319904a4
1,438
cc
C++
src/q_351_400/q0387.cc
vNaonLu/daily-leetcode
2830c2cd413d950abe7c6d9b833c771f784443b0
[ "MIT" ]
2
2021-09-28T18:41:03.000Z
2021-09-28T18:42:57.000Z
src/q_351_400/q0387.cc
vNaonLu/Daily_LeetCode
30024b561611d390931cef1b22afd6a5060cf586
[ "MIT" ]
16
2021-09-26T11:44:20.000Z
2021-11-28T06:44:02.000Z
src/q_351_400/q0387.cc
vNaonLu/daily-leetcode
2830c2cd413d950abe7c6d9b833c771f784443b0
[ "MIT" ]
1
2021-11-22T09:11:36.000Z
2021-11-22T09:11:36.000Z
#include <gtest/gtest.h> #include <iostream> #include <string> using namespace std; /** * This file is generated by leetcode_add.py v1.0 * * 387. * First Unique Character in a String * * ––––––––––––––––––––––––––––– Description ––––––––––––––––––––––––––––– * * Given a string ‘s’ , “find the first non...
22.825397
75
0.565369
vNaonLu
0141138cb2b754fd7d615561bc75ae582f0b4094
38
hpp
C++
src/boost_fusion_mpl_erase.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_fusion_mpl_erase.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_fusion_mpl_erase.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/fusion/mpl/erase.hpp>
19
37
0.763158
miathedev
01432332f7fec156396e1962d9855c23c8c049d2
15,143
hpp
C++
external/openglcts/modules/common/subgroups/glcSubgroupsTestsUtils.hpp
tarceri/VK-GL-CTS
22389a0e44f458492f594ca0553a5a67cf6c7ada
[ "Apache-2.0" ]
1
2021-07-15T23:37:39.000Z
2021-07-15T23:37:39.000Z
external/openglcts/modules/common/subgroups/glcSubgroupsTestsUtils.hpp
tarceri/VK-GL-CTS
22389a0e44f458492f594ca0553a5a67cf6c7ada
[ "Apache-2.0" ]
1
2021-03-22T09:53:25.000Z
2021-03-22T09:53:25.000Z
external/openglcts/modules/common/subgroups/glcSubgroupsTestsUtils.hpp
tarceri/VK-GL-CTS
22389a0e44f458492f594ca0553a5a67cf6c7ada
[ "Apache-2.0" ]
null
null
null
#ifndef _GLCSUBGROUPSTESTSUTILS_HPP #define _GLCSUBGROUPSTESTSUTILS_HPP /*------------------------------------------------------------------------ * OpenGL Conformance Tests * ------------------------ * * Copyright (c) 2017-2019 The Khronos Group Inc. * Copyright (c) 2017 Codeplay Software Ltd. * Copyright (c) 20...
31.094456
137
0.750248
tarceri
01432c3a4b4f0b32881b5c472a6cb8c130c765e8
1,854
cpp
C++
sorter.cpp
lorenzhs/BuRR
1c62832ad7d6eab5b337f386955868c3ce9a54ea
[ "Apache-2.0" ]
11
2021-09-12T11:33:44.000Z
2022-02-21T11:55:14.000Z
sorter.cpp
lorenzhs/BuRR
1c62832ad7d6eab5b337f386955868c3ce9a54ea
[ "Apache-2.0" ]
null
null
null
sorter.cpp
lorenzhs/BuRR
1c62832ad7d6eab5b337f386955868c3ce9a54ea
[ "Apache-2.0" ]
1
2021-12-02T01:55:03.000Z
2021-12-02T01:55:03.000Z
// Copyright (c) Lorenz Hübschle-Schneider // All Rights Reserved. This source code is licensed under the Apache 2.0 // License (found in the LICENSE file in the root directory). #include "sorter.hpp" #ifndef RIBBON_USE_STD_SORT // Use in-place super-scalar radix sorter ips2ra, which is around 3x faster for // th...
36.352941
79
0.717907
lorenzhs
01474fef0977153e48b818d2d2218fa7237b4ee2
2,841
cpp
C++
src/plugins/liznoo/platform/winapi/fakeqwidgetwinapi.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
120
2015-01-22T14:10:39.000Z
2021-11-25T12:57:16.000Z
src/plugins/liznoo/platform/winapi/fakeqwidgetwinapi.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
8
2015-02-07T19:38:19.000Z
2017-11-30T20:18:28.000Z
src/plugins/liznoo/platform/winapi/fakeqwidgetwinapi.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
33
2015-02-07T16:59:55.000Z
2021-10-12T00:36:40.000Z
/********************************************************************** * LeechCraft - modular cross-platform feature rich internet client. * Copyright (C) 2012 Eugene Mamin * Copyright (C) 2006-2014 Georg Rudoy * * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE...
29.59375
91
0.69905
Maledictus
0149a87c19d5119489ac1aa2f18579d41b9266b2
1,631
cpp
C++
src/parser.cpp
crsnplusplus/last
5739efcd74664787cb74c5db971808d0361e2aba
[ "MIT" ]
null
null
null
src/parser.cpp
crsnplusplus/last
5739efcd74664787cb74c5db971808d0361e2aba
[ "MIT" ]
null
null
null
src/parser.cpp
crsnplusplus/last
5739efcd74664787cb74c5db971808d0361e2aba
[ "MIT" ]
null
null
null
#include "parser.h" #include "lexer.h" #include "node_ast.h" #include "node_bop.h" #include "node_number.h" #include "last_exceptions.h" #include <assert.h> Parser::Parser(Lexer* lex) : m_lex(lex), m_current(m_lex->getNext()) { } NodeAST* Parser::parse() { return expression(); } void Parser::consume(char c)...
18.325843
69
0.626609
crsnplusplus
014e002d891f8c4b5e10b65137f5a9691adb0844
43,313
cpp
C++
Tools/KFModTool/games/kf2.cpp
IvanDSM/KingsFieldRE
b22549a7e93e3c0e77433d7bea8bbde6a5b9f6a3
[ "MIT" ]
16
2020-07-09T15:38:41.000Z
2022-03-03T19:05:24.000Z
Tools/KFModTool/games/kf2.cpp
IvanDSM/KingsFieldRE
b22549a7e93e3c0e77433d7bea8bbde6a5b9f6a3
[ "MIT" ]
7
2020-07-03T22:38:24.000Z
2022-01-09T18:25:22.000Z
Tools/KFModTool/games/kf2.cpp
IvanDSM/KingsFieldRE
b22549a7e93e3c0e77433d7bea8bbde6a5b9f6a3
[ "MIT" ]
2
2021-08-23T08:25:44.000Z
2022-01-09T16:05:46.000Z
#include "kf2.h" #include <QLineEdit> QString KingsFieldII::KF2UTextCodec::convertToUnicode(const char* in, int length, QTextCodec::ConverterState* state) const { QString result; result.resize(length); ...
61.090268
99
0.686491
IvanDSM
015236632839d8def25341b442773fd4143318c9
889
cpp
C++
dev/Code/Framework/GridMate/Platform/iOS/GridMate/Session/LANSession_iOS.cpp
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
1,738
2017-09-21T10:59:12.000Z
2022-03-31T21:05:46.000Z
dev/Code/Framework/GridMate/Platform/iOS/GridMate/Session/LANSession_iOS.cpp
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
427
2017-09-29T22:54:36.000Z
2022-02-15T19:26:50.000Z
dev/Code/Framework/GridMate/Platform/iOS/GridMate/Session/LANSession_iOS.cpp
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
671
2017-09-21T08:04:01.000Z
2022-03-29T14:30:07.000Z
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or t...
30.655172
85
0.694038
jeikabu
015334043bd7d171106ed59a60c5e3a303d100bf
2,340
cpp
C++
source/log.cpp
Quaker762/Mazer
8dbafbdda13be3c6890f1c5fad69ed50738565f2
[ "MIT" ]
1
2018-07-26T14:03:11.000Z
2018-07-26T14:03:11.000Z
source/log.cpp
Quaker762/Mazer
8dbafbdda13be3c6890f1c5fad69ed50738565f2
[ "MIT" ]
null
null
null
source/log.cpp
Quaker762/Mazer
8dbafbdda13be3c6890f1c5fad69ed50738565f2
[ "MIT" ]
1
2019-02-04T05:55:47.000Z
2019-02-04T05:55:47.000Z
/** * Copyright (c) 2018 Jesse Buhagiar * * 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...
31.2
94
0.652564
Quaker762
01537efe0f5db6f18c1ba065f65126aac69562f5
6,736
hpp
C++
Day 08 Part 2/puzzle_input.hpp
Miroslav-Cetojevic/aoc-2015
2807fcd3fc684843ae4222b25af6fd086fac77f5
[ "Unlicense" ]
1
2019-11-19T20:19:18.000Z
2019-11-19T20:19:18.000Z
Day 08 Part 2/puzzle_input.hpp
Miroslav-Cetojevic/aoc-2015
2807fcd3fc684843ae4222b25af6fd086fac77f5
[ "Unlicense" ]
null
null
null
Day 08 Part 2/puzzle_input.hpp
Miroslav-Cetojevic/aoc-2015
2807fcd3fc684843ae4222b25af6fd086fac77f5
[ "Unlicense" ]
null
null
null
#ifndef INPUT_HPP_ #define INPUT_HPP_ #include <string_view> std::string_view puzzle_input = R"("sjdivfriyaaqa\xd2v\"k\"mpcu\"yyu\"en" "vcqc" "zbcwgmbpijcxu\"yins\"sfxn" "yumngprx" "bbdj" "czbggabkzo\"wsnw\"voklp\"s" "acwt" "aqttwnsohbzian\"evtllfxwkog\"cunzw" "ugvsgfv" "xlnillibxg" "kexh\"pmi" "syvugow" "m\"ktqnw" "...
21.87013
73
0.735748
Miroslav-Cetojevic
0154687ea02a7da87ac0a0d0c70192c7785c63ab
4,074
hpp
C++
DT3Core/Components/ComponentGUIButton.hpp
9heart/DT3
4ba8fd2af3aebb5c0d77036ac3941e83cd4d1c7e
[ "MIT" ]
3
2018-10-05T15:03:27.000Z
2019-03-19T11:01:56.000Z
DT3Core/Components/ComponentGUIButton.hpp
pakoito/DT3
4ba8fd2af3aebb5c0d77036ac3941e83cd4d1c7e
[ "MIT" ]
null
null
null
DT3Core/Components/ComponentGUIButton.hpp
pakoito/DT3
4ba8fd2af3aebb5c0d77036ac3941e83cd4d1c7e
[ "MIT" ]
3
2016-01-14T07:51:52.000Z
2021-08-21T08:02:51.000Z
#ifndef DT3_COMPONENTGUICLICKBUTTON #define DT3_COMPONENTGUICLICKBUTTON //============================================================================== /// /// File: ComponentGUIButton.hpp /// /// Copyright (C) 2000-2014 by Smells Like Donkey Software Inc. All rights reserved. /// /// This file is subject to the ter...
40.336634
141
0.536819
9heart
01559cd75ae6b716ec080ec879644c2faee00819
587
cpp
C++
c++/leetcode/0560-Subarray_Sum_Equals_K-M.cpp
levendlee/leetcode
35e274cb4046f6ec7112cd56babd8fb7d437b844
[ "Apache-2.0" ]
1
2020-03-02T10:56:22.000Z
2020-03-02T10:56:22.000Z
c++/leetcode/0560-Subarray_Sum_Equals_K-M.cpp
levendlee/leetcode
35e274cb4046f6ec7112cd56babd8fb7d437b844
[ "Apache-2.0" ]
null
null
null
c++/leetcode/0560-Subarray_Sum_Equals_K-M.cpp
levendlee/leetcode
35e274cb4046f6ec7112cd56babd8fb7d437b844
[ "Apache-2.0" ]
null
null
null
// 560 Subarray Sum Equals K // https://leetcode.com/problems/subarray-sum-equals-k // version: 1; create time: 2020-01-12 11:49:39; class Solution { public: int subarraySum(vector<int>& nums, int k) { unordered_map<int, int> sums; sums[0] = 1; int acc = 0; long total_cnts = 0; ...
25.521739
54
0.511073
levendlee
0156c717e3edbd6e6a73bfc52589af3583127300
3,538
cpp
C++
gtsam/linear/SubgraphSolver.cpp
h-rover/gtsam
a0206e210d8f47b6ee295a1fbf95af84d98c5cf0
[ "BSD-3-Clause" ]
1
2022-03-04T07:01:48.000Z
2022-03-04T07:01:48.000Z
gtsam/linear/SubgraphSolver.cpp
h-rover/gtsam
a0206e210d8f47b6ee295a1fbf95af84d98c5cf0
[ "BSD-3-Clause" ]
null
null
null
gtsam/linear/SubgraphSolver.cpp
h-rover/gtsam
a0206e210d8f47b6ee295a1fbf95af84d98c5cf0
[ "BSD-3-Clause" ]
1
2022-03-21T06:58:34.000Z
2022-03-21T06:58:34.000Z
/* ---------------------------------------------------------------------------- * GTSAM Copyright 2010, Georgia Tech Research Corporation, * Atlanta, Georgia 30332-0415 * All Rights Reserved * Authors: Frank Dellaert, et al. (see THANKS for the full author list) * See LICENSE for the license information * ----...
37.242105
100
0.547767
h-rover
015922c6d8f595caddd7e38825a324f2e88f6ac1
385
hpp
C++
n2o/object.hpp
agnat/n2o
d556de47783b528d0f98b85b02433286312eacc8
[ "MIT" ]
6
2016-07-28T14:04:02.000Z
2019-06-06T04:03:32.000Z
n2o/object.hpp
agnat/n2o
d556de47783b528d0f98b85b02433286312eacc8
[ "MIT" ]
null
null
null
n2o/object.hpp
agnat/n2o
d556de47783b528d0f98b85b02433286312eacc8
[ "MIT" ]
1
2018-06-07T05:18:06.000Z
2018-06-07T05:18:06.000Z
#ifndef N2O_OBJECT_INCLUDED #define N2O_OBJECT_INCLUDED #include <n2o/detail/property_value.hpp> namespace n2o { class object { public: explicit object(v8::Handle<v8::Object> o) : obj_(o) {} detail::property_value operator[](const char * name) { return detail::property_value(obj_, name); } ...
17.5
58
0.690909
agnat
015b79d88d8241b4ab3a35cbf2dce57b1f634984
25,353
hpp
C++
include/linalg/col_matrix.hpp
YuanL12/BATS
35a32facc87e17649b7fc32225c8ffaf0301bbfa
[ "MIT" ]
null
null
null
include/linalg/col_matrix.hpp
YuanL12/BATS
35a32facc87e17649b7fc32225c8ffaf0301bbfa
[ "MIT" ]
null
null
null
include/linalg/col_matrix.hpp
YuanL12/BATS
35a32facc87e17649b7fc32225c8ffaf0301bbfa
[ "MIT" ]
null
null
null
#pragma once #include <vector> #include <map> #include <cstddef> #include <iostream> #include <algorithm> #include <string> #include <fstream> #include <random> #include <chrono> #include "abstract_matrix.hpp" #include "csc_matrix.hpp" #include "abstract_vector.hpp" // standard list of list implementation for sparse ...
24.354467
125
0.566324
YuanL12
015f55b141b631d8a2f1dd952e6b1a8f4f875ae9
530
cpp
C++
ch02/bookSourceCode/binarySearch.cpp
wangzhe3224/DataStructure_Algorithm_cpp
9ed7c27e7bb849349a0a325150bd6b35e86d3fbd
[ "MIT" ]
2
2015-08-27T20:55:40.000Z
2019-09-28T13:41:30.000Z
ch02/bookSourceCode/binarySearch.cpp
wangzhe3224/DataStructure_Algorithm_cpp
9ed7c27e7bb849349a0a325150bd6b35e86d3fbd
[ "MIT" ]
2
2015-08-27T20:59:03.000Z
2015-08-28T14:00:01.000Z
ch02/bookSourceCode/binarySearch.cpp
wangzhe3224/DataStructure_Algorithm_cpp
9ed7c27e7bb849349a0a325150bd6b35e86d3fbd
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> template <class Comparable> int binarySearch( const std::vector<Comparable> &a, const Comparable &x) { int low = 0, high = a.size() - 1; while ( low <= high ) { int mid = ( low + high ) / 2; if ( a[mid] > x ) high = mid - 1; else if ( a[mid] < x) low = mid +...
17.666667
72
0.526415
wangzhe3224
01655c9d0a4629439069703a313eabbfe1b46092
7,963
cc
C++
src/shared/idset.cc
schinmayee/nimbus
170cd15e24a7a88243a6ea80aabadc0fc0e6e177
[ "BSD-3-Clause" ]
20
2017-07-03T19:09:09.000Z
2021-09-10T02:53:56.000Z
src/shared/idset.cc
schinmayee/nimbus
170cd15e24a7a88243a6ea80aabadc0fc0e6e177
[ "BSD-3-Clause" ]
null
null
null
src/shared/idset.cc
schinmayee/nimbus
170cd15e24a7a88243a6ea80aabadc0fc0e6e177
[ "BSD-3-Clause" ]
9
2017-09-17T02:05:06.000Z
2020-01-31T00:12:01.000Z
/* * Copyright 2013 Stanford University. * 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 co...
27.085034
86
0.660178
schinmayee
0165a33bb6ce3fef59e6120f5f1728863b03f9f1
7,200
cpp
C++
shaderapivulkan/src/TF2Vulkan/shaders/VulkanShaderManager.cpp
melvyn2/TF2Vulkan
a8cd1c49ecfe9d4dc31af0a50ba7690c61c255c4
[ "MIT" ]
null
null
null
shaderapivulkan/src/TF2Vulkan/shaders/VulkanShaderManager.cpp
melvyn2/TF2Vulkan
a8cd1c49ecfe9d4dc31af0a50ba7690c61c255c4
[ "MIT" ]
null
null
null
shaderapivulkan/src/TF2Vulkan/shaders/VulkanShaderManager.cpp
melvyn2/TF2Vulkan
a8cd1c49ecfe9d4dc31af0a50ba7690c61c255c4
[ "MIT" ]
null
null
null
#include "interface/internal/IShaderDeviceInternal.h" #include "VulkanShaderManager.h" #include <TF2Vulkan/Util/Buffer.h> #include <TF2Vulkan/Util/std_utility.h> #include <stdshader_vulkan/ShaderBlobs.h> #include <materialsystem/shader_vcs_version.h> #include <spirv_cross.hpp> #include <mutex> #include <unordered_m...
28.8
114
0.762083
melvyn2
016626346ec27e6f398e35e662d07cc308d05cc7
4,393
cxx
C++
dune/xt/data/quadratures/gausslobatto/data/gausslobatto58.cxx
dune-community/dune-xt-data
32593bbcd52ed69b0a11963400a9173740089a75
[ "BSD-2-Clause" ]
1
2020-02-08T04:09:11.000Z
2020-02-08T04:09:11.000Z
dune/xt/data/quadratures/gausslobatto/data/gausslobatto58.cxx
dune-community/dune-xt-data
32593bbcd52ed69b0a11963400a9173740089a75
[ "BSD-2-Clause" ]
40
2018-08-26T08:34:34.000Z
2021-09-28T13:01:55.000Z
dune/xt/data/quadratures/gausslobatto/data/gausslobatto58.cxx
dune-community/dune-xt-data
32593bbcd52ed69b0a11963400a9173740089a75
[ "BSD-2-Clause" ]
1
2020-02-08T04:10:14.000Z
2020-02-08T04:10:14.000Z
// This file is part of the dune-xt-data project: // https://github.com/dune-community/dune-xt-data // Copyright 2009-2018 dune-xt-data developers and contributors. All rights reserved. // License: Dual licensed as BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) // or GPL-2.0+ (http://opensou...
52.927711
95
0.70544
dune-community
6c6499c52a63c6d23c927a18b0b9658fd89478c0
1,477
cpp
C++
dynamic/wrappers/core/ReplicatableVector.cppwg.cpp
jmsgrogan/PyChaste
48a9863d2c941c71e47ecb72e917b477ba5c1413
[ "FTL" ]
6
2017-02-04T16:10:53.000Z
2021-07-01T08:03:16.000Z
dynamic/wrappers/core/ReplicatableVector.cppwg.cpp
jmsgrogan/PyChaste
48a9863d2c941c71e47ecb72e917b477ba5c1413
[ "FTL" ]
6
2017-06-22T08:50:41.000Z
2019-12-15T20:17:29.000Z
dynamic/wrappers/core/ReplicatableVector.cppwg.cpp
jmsgrogan/PyChaste
48a9863d2c941c71e47ecb72e917b477ba5c1413
[ "FTL" ]
3
2017-05-15T21:33:58.000Z
2019-10-27T21:43:07.000Z
#include <pybind11/pybind11.h> #include <pybind11/stl.h> #include <petsc/private/vecimpl.h> #include <petsc/private/matimpl.h> #include <set> #include <vector> #include <string> #include <map> #include "SmartPointers.hpp" #include "UblasIncludes.hpp" #include "ReplicatableVector.hpp" #include "ReplicatableVector.cppwg...
33.568182
102
0.619499
jmsgrogan
6c650b65add649ca9625ae4a3e199882263c4859
6,485
cpp
C++
Renderer/Core/Renderer.cpp
guoxx/Renderer
52de224354d6f783e0c4f3430865d76a4561e0e7
[ "MIT" ]
null
null
null
Renderer/Core/Renderer.cpp
guoxx/Renderer
52de224354d6f783e0c4f3430865d76a4561e0e7
[ "MIT" ]
null
null
null
Renderer/Core/Renderer.cpp
guoxx/Renderer
52de224354d6f783e0c4f3430865d76a4561e0e7
[ "MIT" ]
null
null
null
#include "Renderer.h" #include "Vertex.h" #include "Fragment.h" #include "VertexProcessor.h" #include "FragmentProcessor.h" #include "Rasterizer.h" #include "FrameBuffer.h" #include "Texture.h" #include <stdio.h> #define _USE_MATH_DEFINES #include <math.h> #include <stdarg.h> #include <algorithm> static uint32_t _co...
27.133891
81
0.522128
guoxx
6c695ab00d9fc49b9f4a23b4a2aa4f16cfddeabc
6,643
cpp
C++
firmware/app/display.cpp
TheUncleKai/bbsensor
a36cb56b4087af06b781bd8bdd0d01b419639680
[ "Apache-2.0" ]
null
null
null
firmware/app/display.cpp
TheUncleKai/bbsensor
a36cb56b4087af06b781bd8bdd0d01b419639680
[ "Apache-2.0" ]
23
2019-08-28T03:58:01.000Z
2020-02-19T22:20:27.000Z
firmware/app/display.cpp
TheUncleKai/bbsensor
a36cb56b4087af06b781bd8bdd0d01b419639680
[ "Apache-2.0" ]
null
null
null
/* Copyright (C) 2019, Kai Raphahn 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 i...
21.291667
84
0.56631
TheUncleKai
6c695dbc387a03fdd6d15c0b7c0282c1194cf329
1,578
cpp
C++
GFG 100 Days C++/restrictedpacman.cpp
Achyut-Saxena/100-Days-of-Code
3bf4481ac9656278cdafce83a9b0f0a9f691b67e
[ "MIT" ]
null
null
null
GFG 100 Days C++/restrictedpacman.cpp
Achyut-Saxena/100-Days-of-Code
3bf4481ac9656278cdafce83a9b0f0a9f691b67e
[ "MIT" ]
null
null
null
GFG 100 Days C++/restrictedpacman.cpp
Achyut-Saxena/100-Days-of-Code
3bf4481ac9656278cdafce83a9b0f0a9f691b67e
[ "MIT" ]
null
null
null
/* In the game of Restricted Pacman, an infinite linear path is given. Pacman has to start at position 0 and eat as many candies as possible. In one move he can only jump a distance of either M or N. If M and N are coprime numbers, find how many candies will be left on the board after the game is over. Note: The resul...
21.324324
301
0.558302
Achyut-Saxena
6c6af10c95ef055c15bb95ca9bbc8a416af65083
2,855
cpp
C++
Data Structures/DoubleLinkedList.cpp
YortA/School_Programs
ad6dadeb16de40b1f8ce4d733fd7aa746c6a9f1a
[ "MIT" ]
null
null
null
Data Structures/DoubleLinkedList.cpp
YortA/School_Programs
ad6dadeb16de40b1f8ce4d733fd7aa746c6a9f1a
[ "MIT" ]
null
null
null
Data Structures/DoubleLinkedList.cpp
YortA/School_Programs
ad6dadeb16de40b1f8ce4d733fd7aa746c6a9f1a
[ "MIT" ]
null
null
null
// Troy Andrews // SDEV-345-81 // 2/13/2021 // Info: Week 5 Assignment (Linked List) #include <iostream> #include<windows.h> class DoubleLinkedList { protected: struct ListNode { double val; ListNode* next; ListNode* prev; ListNode(double val, ListNode* next = nullptr, ListNode* prev = nullptr) { this-...
18.419355
84
0.633625
YortA
6c6b7075ac8d7a83ce48bc1a13d99a92cefccca7
6,588
cpp
C++
src/registry/interface.cpp
wilkie/apsis
9e6a37ad9dfc8931b25b9429d7e4a770b4e760bf
[ "WTFPL" ]
2
2015-11-05T03:47:29.000Z
2020-01-24T18:48:09.000Z
src/registry/interface.cpp
wilkie/apsis
9e6a37ad9dfc8931b25b9429d7e4a770b4e760bf
[ "WTFPL" ]
null
null
null
src/registry/interface.cpp
wilkie/apsis
9e6a37ad9dfc8931b25b9429d7e4a770b4e760bf
[ "WTFPL" ]
null
null
null
#include "apsis/registry/interface.h" #include <algorithm> #include <fstream> using namespace Apsis; std::vector<std::string> Registry::Interface::_ids; std::vector<Registry::Interface*> Registry::Interface::_interfaces; const Registry::Interface& Registry::Interface::load(const char* path, ...
31.222749
83
0.501821
wilkie
6c6c7d0740b1e67e0752d8e3567161cd74763978
5,659
tpp
C++
src/library/cathier/geometrics.tpp
brainvisa/aims-til
dcdd202bae54792e87431728ca80b39083f9e4d1
[ "CECILL-B" ]
null
null
null
src/library/cathier/geometrics.tpp
brainvisa/aims-til
dcdd202bae54792e87431728ca80b39083f9e4d1
[ "CECILL-B" ]
1
2021-06-30T13:30:35.000Z
2021-07-16T13:43:59.000Z
src/library/cathier/geometrics.tpp
brainvisa/aims-til
dcdd202bae54792e87431728ca80b39083f9e4d1
[ "CECILL-B" ]
null
null
null
namespace til { namespace geo { //--------------------------------------------------------------------------------------------- template < typename T > inline T herons_formula(T a, T b, T c) { T s = (a + b + c) / T(2.0); // NB: it actually happened that this product is negative even though a, b and ...
28.725888
98
0.444248
brainvisa
6c74c8e74f723d505151ad890b5a0189a430d84c
3,024
cpp
C++
luaScript/luac.cpp
soymuchacho/libshared
238bf7e5055e6811aeb5ebcdde9601f919c48395
[ "BSD-3-Clause" ]
3
2016-08-04T08:47:13.000Z
2022-03-22T08:57:44.000Z
luaScript/luac.cpp
soymuchacho/libshared
238bf7e5055e6811aeb5ebcdde9601f919c48395
[ "BSD-3-Clause" ]
null
null
null
luaScript/luac.cpp
soymuchacho/libshared
238bf7e5055e6811aeb5ebcdde9601f919c48395
[ "BSD-3-Clause" ]
null
null
null
////////////////////////////////////////////////////////////////////// // created: 2018/02/22 // filename: CommonShare/luac.cpp // author: vesper // /// purpose: ////////////////////////////////////////////////////////////////////// #include <luac.h> #include "Log.h" namespace LuaC { CLuaInt64::CL...
16.8
71
0.580357
soymuchacho
6c7851147dfd020645b1a7d103c5471cd796f3ed
495
hpp
C++
Code/2_Arrange_Domain/bothEndsMappedFragInfo_withCuttingSite.hpp
Lan-lab/Chrom-Lasso-
3b1c7797bfdf0f7d3330339ace0929e8e2225a40
[ "MIT" ]
null
null
null
Code/2_Arrange_Domain/bothEndsMappedFragInfo_withCuttingSite.hpp
Lan-lab/Chrom-Lasso-
3b1c7797bfdf0f7d3330339ace0929e8e2225a40
[ "MIT" ]
null
null
null
Code/2_Arrange_Domain/bothEndsMappedFragInfo_withCuttingSite.hpp
Lan-lab/Chrom-Lasso-
3b1c7797bfdf0f7d3330339ace0929e8e2225a40
[ "MIT" ]
3
2020-10-15T09:15:46.000Z
2021-05-07T02:16:27.000Z
#ifndef BOTHENDSMAPPEDFRAGINFO #define BOTHENDSMAPPEDFRAGINFO class fragInfo_bothEndsMapped_withCuttingSite { public: int end1_chr; int end2_chr; int end1_pos; int end1_cuttingSite; int end2_pos; int end2_cuttingSite; bool end1_strand; bool end2_strand; int fragType; fragInfo_bothEndsMappe...
22.5
183
0.775758
Lan-lab
6c78e75f1d93fda7c0585bacdebf84c0eeba310d
700
cc
C++
src/codeforces/unknown/A.cc
cbarnson/UVa
0dd73fae656613e28b5aaf5880c5dad529316270
[ "Unlicense", "MIT" ]
2
2019-09-07T17:00:26.000Z
2020-08-05T02:08:35.000Z
src/codeforces/unknown/A.cc
cbarnson/UVa
0dd73fae656613e28b5aaf5880c5dad529316270
[ "Unlicense", "MIT" ]
null
null
null
src/codeforces/unknown/A.cc
cbarnson/UVa
0dd73fae656613e28b5aaf5880c5dad529316270
[ "Unlicense", "MIT" ]
null
null
null
#include <bits/stdc++.h> #define FR(i, n) for (int i = 0; i < (n); ++i) using namespace std; typedef long long ll; typedef vector<int> vi; typedef pair<int, int> ii; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); int n, k, m; cin >> n >> k >> m; vector<string> W(n); FR(i, n) cin >> ...
15.217391
48
0.458571
cbarnson
6c8170ab078669f5a4a571458cc7b7189b3f37d7
463
cpp
C++
LeetCode/Solutions/LC1827.cpp
Mohammed-Shoaib/HackerRank-Problems
ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b
[ "MIT" ]
54
2019-05-13T12:13:09.000Z
2022-02-27T02:59:00.000Z
LeetCode/Solutions/LC1827.cpp
Mohammed-Shoaib/HackerRank-Problems
ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b
[ "MIT" ]
2
2020-10-02T07:16:43.000Z
2020-10-19T04:36:19.000Z
LeetCode/Solutions/LC1827.cpp
Mohammed-Shoaib/HackerRank-Problems
ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b
[ "MIT" ]
20
2020-05-26T09:48:13.000Z
2022-03-18T15:18:27.000Z
/* Problem Statement: https://leetcode.com/problems/minimum-operations-to-make-the-array-increasing/ Time: O(n) Space: O(1) Author: Mohammed Shoaib, github.com/Mohammed-Shoaib */ class Solution { public: int minOperations(vector<int>& nums) { int cnt, prev, n; cnt = 0; prev = nums[0]; n = nums.size(); fo...
19.291667
97
0.602592
Mohammed-Shoaib
6c82c4f141d67d1ab246bb3960d9f1a72e7dc97d
5,128
hpp
C++
include/experimental/fundamental/v3/monad_error/monad_error.hpp
jwakely/std-make
f09d052983ace70cf371bb8ddf78d4f00330bccd
[ "BSL-1.0" ]
105
2015-01-24T13:26:41.000Z
2022-02-18T15:36:53.000Z
include/experimental/fundamental/v3/monad_error/monad_error.hpp
jwakely/std-make
f09d052983ace70cf371bb8ddf78d4f00330bccd
[ "BSL-1.0" ]
37
2015-09-04T06:57:10.000Z
2021-09-09T18:01:44.000Z
include/experimental/fundamental/v3/monad_error/monad_error.hpp
jwakely/std-make
f09d052983ace70cf371bb8ddf78d4f00330bccd
[ "BSL-1.0" ]
23
2015-01-27T11:09:18.000Z
2021-10-04T02:23:30.000Z
////////////////////////////////////////////////////////////////////////////// // // (C) Copyright Vicente J. Botet Escriba 2017. // 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) // ///////////////////////////////...
28.175824
132
0.624805
jwakely
6c82d3a2de139531551ddda6c648980436b7bbca
740
cc
C++
unitest/format_test.cc
defined1007/autumn
6a624fa83390a3cce1e45f0092abcd710e2cf4bf
[ "BSD-2-Clause" ]
101
2019-11-09T17:46:09.000Z
2022-03-18T09:27:16.000Z
unitest/format_test.cc
defined1007/autumn
6a624fa83390a3cce1e45f0092abcd710e2cf4bf
[ "BSD-2-Clause" ]
30
2019-11-21T06:10:25.000Z
2020-01-14T13:28:00.000Z
unitest/format_test.cc
defined1007/autumn
6a624fa83390a3cce1e45f0092abcd710e2cf4bf
[ "BSD-2-Clause" ]
6
2019-11-18T04:24:11.000Z
2021-05-01T13:47:09.000Z
#include <gtest/gtest.h> #include "format.h" using namespace autumn; namespace { struct Foo { Foo(int a, const std::string& b) : a(a), b(b) {} int a; std::string b; }; std::ostream& operator<<(std::ostream& out, const Foo& foo) { return out << '{' << foo.a << ',' << foo.b << '}'; } TEST(Format, Te...
25.517241
86
0.504054
defined1007
6c85a1d99e95ee040d6696df13e9e97c22068440
3,465
hpp
C++
src/SubProcess.hpp
nutbread/robot
d4491cf4449f657c1b165fc1969bff8294967d9d
[ "MIT" ]
null
null
null
src/SubProcess.hpp
nutbread/robot
d4491cf4449f657c1b165fc1969bff8294967d9d
[ "MIT" ]
null
null
null
src/SubProcess.hpp
nutbread/robot
d4491cf4449f657c1b165fc1969bff8294967d9d
[ "MIT" ]
null
null
null
#ifndef ___H_SUB_PROCESS #define ___H_SUB_PROCESS #define VC_EXTRALEAN #define WIN32_LEAN_AND_MEAN #define UNICODE #define _UNICODE #include <windows.h> #include <sstream> #include <cstdint> #include <list> #include <unordered_map> #include <streambuf> #include <ostream> class SubProcess final { public: // Public...
14.497908
76
0.695815
nutbread
6c86be5300e1520e6891ecff458239f11178eb37
388
cpp
C++
GaeaEngine/MaterialComponent.cpp
ruochenhua/GaeaEngine
bef7dd8ca178333fe0fa1da316444f5cdea25ef5
[ "MIT" ]
null
null
null
GaeaEngine/MaterialComponent.cpp
ruochenhua/GaeaEngine
bef7dd8ca178333fe0fa1da316444f5cdea25ef5
[ "MIT" ]
1
2018-07-13T03:30:03.000Z
2018-07-13T03:30:11.000Z
GaeaEngine/MaterialComponent.cpp
ruochenhua/GaeaEngine
bef7dd8ca178333fe0fa1da316444f5cdea25ef5
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "MaterialComponent.h" #include "Script.h" #include "Resource.h" CMaterialComponent::CMaterialComponent(const std::string& file_path) { } void CMaterialComponent::InitLuaAPI(lua_State *L) { luabridge::getGlobalNamespace(L) .deriveClass<CMaterialComponent, CComponent>("MaterialComponent...
22.823529
68
0.757732
ruochenhua
6c8b87541fb0ab28b0b7df2b351c057879c1aaad
4,389
cpp
C++
TheEditor/richtext.cpp
wjh776a68/TheEditor
77d4400d521aaecc4b3d12ba83dd2e7941fc015a
[ "MIT" ]
null
null
null
TheEditor/richtext.cpp
wjh776a68/TheEditor
77d4400d521aaecc4b3d12ba83dd2e7941fc015a
[ "MIT" ]
null
null
null
TheEditor/richtext.cpp
wjh776a68/TheEditor
77d4400d521aaecc4b3d12ba83dd2e7941fc015a
[ "MIT" ]
null
null
null
#include <windows.h> #include <CommCtrl.h> #include <Richedit.h> #include <stdio.h> HWND main, re; #pragma comment( lib, "comctl32.lib" ) LRESULT CALLBACK WndProc(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam); int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR szCmdLine, int iCmdShow); ...
26.762195
115
0.610617
wjh776a68
6c8d4d923e9ca2d75c003b1ec519a6e5bae8793d
1,980
cpp
C++
src/core/joypad/digital.cpp
KieronJ/btpsx
d2b968750bcbe1a2fe700783186c5eacd54fd93a
[ "MIT" ]
2
2022-03-14T11:04:40.000Z
2022-03-19T23:02:32.000Z
src/core/joypad/digital.cpp
KieronJ/btpsx
d2b968750bcbe1a2fe700783186c5eacd54fd93a
[ "MIT" ]
null
null
null
src/core/joypad/digital.cpp
KieronJ/btpsx
d2b968750bcbe1a2fe700783186c5eacd54fd93a
[ "MIT" ]
null
null
null
#include <cstdint> #include "../error.hpp" #include "digital.hpp" #include "joypad.hpp" namespace Core { Digital::Digital() : m_state(State::Idle) { m_keystate.raw = 0xffff; } void Digital::SetKeystate(const Key& key, bool state) { state = !state; switch (key) { case Key::Select: m_keystate.select ...
24.75
74
0.59596
KieronJ
6c92e24408fccc812bbfa8740806f23f59c722da
2,297
hpp
C++
libs/core/algorithms/include/hpx/algorithms/traits/segmented_iterator_traits.hpp
bhumitattarde/hpx
5b34d8d77b1664fa552445d44cd98e51dc69a74a
[ "BSL-1.0" ]
1
2022-02-08T05:55:09.000Z
2022-02-08T05:55:09.000Z
libs/core/algorithms/include/hpx/algorithms/traits/segmented_iterator_traits.hpp
deepaksuresh1411/hpx
aa18024d35fe9884a977d4b6076c764dbb8b26d1
[ "BSL-1.0" ]
null
null
null
libs/core/algorithms/include/hpx/algorithms/traits/segmented_iterator_traits.hpp
deepaksuresh1411/hpx
aa18024d35fe9884a977d4b6076c764dbb8b26d1
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2007-2022 Hartmut Kaiser // // SPDX-License-Identifier: BSL-1.0 // 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) #pragma once #include <hpx/config.hpp> #include <hpx/iterator_support/traits/is_...
29.075949
80
0.598607
bhumitattarde
6c947c735c07c63261ed95e560dff8a17d3bf5ba
2,528
cpp
C++
src/core/commandbuffer.cpp
setvisible/cnc-manual-controller
83252f42cb0e0f6560de50bb55578059281b2358
[ "MIT" ]
null
null
null
src/core/commandbuffer.cpp
setvisible/cnc-manual-controller
83252f42cb0e0f6560de50bb55578059281b2358
[ "MIT" ]
null
null
null
src/core/commandbuffer.cpp
setvisible/cnc-manual-controller
83252f42cb0e0f6560de50bb55578059281b2358
[ "MIT" ]
null
null
null
/* - CNC Manual Controller - Copyright (C) 2018 Sebastien Vavassori * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) an...
32.831169
97
0.559335
setvisible
6c96c6737cd96939ebf501cb7c5dd4fc8d4f62b8
61,270
cc
C++
NavMeshOpengl/NavMeshOpengl/Poly2tri/predicates.cc
WarZhan/NavMeshOpenGL
31c2949701b497060063221aa8eba9993363b285
[ "MIT" ]
4
2020-09-27T10:51:03.000Z
2021-10-22T01:14:03.000Z
NavMeshOpengl/NavMeshOpengl/Poly2tri/predicates.cc
WarZhan/NavMeshOpenGL
31c2949701b497060063221aa8eba9993363b285
[ "MIT" ]
1
2021-11-05T04:17:53.000Z
2021-11-05T08:19:28.000Z
NavMeshOpengl/NavMeshOpengl/Poly2tri/predicates.cc
WarZhan/NavMeshOpenGL
31c2949701b497060063221aa8eba9993363b285
[ "MIT" ]
1
2021-06-24T02:34:01.000Z
2021-06-24T02:34:01.000Z
/*****************************************************************************/ /* */ /* Routines for Arbitrary Precision Floating-point Arithmetic */ /* and Fast Robust Geometric Predicates ...
38.486181
81
0.411376
WarZhan
6c973a59bc2c13206a115d373f3666db5a369882
1,834
hpp
C++
CBench/utils/timer.hpp
jinsian/VizAly-Foresight
687b869424be4706e85bd23708ba319f4c371115
[ "Unlicense", "BSD-3-Clause" ]
14
2019-12-07T18:17:17.000Z
2021-11-17T11:41:21.000Z
CBench/utils/timer.hpp
jinsian/VizAly-Foresight
687b869424be4706e85bd23708ba319f4c371115
[ "Unlicense", "BSD-3-Clause" ]
9
2019-06-28T19:23:44.000Z
2019-10-03T15:32:07.000Z
CBench/utils/timer.hpp
jinsian/VizAly-Foresight
687b869424be4706e85bd23708ba319f4c371115
[ "Unlicense", "BSD-3-Clause" ]
5
2020-01-05T04:40:20.000Z
2020-11-17T21:56:01.000Z
/*================================================================================ This software is open source software available under the BSD-3 license. Copyright (c) 2017, Los Alamos National Security, LLC. All rights reserved. Authors: - Pascal Grosset ===========================================================...
27.787879
141
0.624318
jinsian
6c982663f70c2a74a85ce1280b4f2fb9ce35db30
7,517
cc
C++
contrib/wcthdat.cc
BLumia/thtk-1
58729e2d44e7b6365f2d6f484abe651781efc115
[ "Libpng", "BSD-2-Clause" ]
220
2015-05-03T02:22:20.000Z
2022-03-30T11:43:14.000Z
contrib/wcthdat.cc
BLumia/thtk-1
58729e2d44e7b6365f2d6f484abe651781efc115
[ "Libpng", "BSD-2-Clause" ]
73
2015-05-04T17:18:27.000Z
2022-03-27T17:53:29.000Z
contrib/wcthdat.cc
BLumia/thtk-1
58729e2d44e7b6365f2d6f484abe651781efc115
[ "Libpng", "BSD-2-Clause" ]
60
2015-04-22T01:08:25.000Z
2022-03-30T11:43:15.000Z
/* * 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 this list * of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce t...
33.86036
113
0.685247
BLumia
6c9a74f68a3d19d01140687f3ab09b77207b8072
3,373
cc
C++
dcmdata/apps/dcmodify.cc
chrisvana/dcmtk_copy
f929ab8590aca5b7a319c95af4fe2ee31be52f46
[ "Apache-2.0" ]
24
2015-07-22T05:07:51.000Z
2019-02-28T04:52:33.000Z
dcmdata/apps/dcmodify.cc
chrisvana/dcmtk_copy
f929ab8590aca5b7a319c95af4fe2ee31be52f46
[ "Apache-2.0" ]
13
2015-07-23T05:43:02.000Z
2021-07-17T17:14:45.000Z
dcmdata/apps/dcmodify.cc
chrisvana/dcmtk_copy
f929ab8590aca5b7a319c95af4fe2ee31be52f46
[ "Apache-2.0" ]
13
2015-07-23T01:07:30.000Z
2021-01-05T09:49:30.000Z
/* * * Copyright (C) 2003-2010, OFFIS e.V. * All rights reserved. See COPYRIGHT file for details. * * This software and supporting documentation were developed by * * OFFIS e.V. * R&D Division Health * Escherweg 2 * D-26121 Oldenburg, Germany * * * Module: dcmdata * * Author: Michael ...
31.820755
93
0.706196
chrisvana
6c9cb9b771a0ba63060376876988637c25c800c7
247
cpp
C++
src/render/ManipulatorDevice.cpp
0of/WebOS-Magna
a0fe2c9708fd4dd07928c11fcb03fb29fdd2d511
[ "Apache-2.0" ]
1
2016-03-26T13:25:08.000Z
2016-03-26T13:25:08.000Z
src/render/ManipulatorDevice.cpp
0of/WebOS-Magna
a0fe2c9708fd4dd07928c11fcb03fb29fdd2d511
[ "Apache-2.0" ]
null
null
null
src/render/ManipulatorDevice.cpp
0of/WebOS-Magna
a0fe2c9708fd4dd07928c11fcb03fb29fdd2d511
[ "Apache-2.0" ]
null
null
null
#include "ManipulateDevice.h" namespace Magna{ namespace Render{ ManipulateDevice::ManipulateDevice() :m_engine(){ } ManipulateDevice::~ManipulateDevice(){ } }//namespace Render }//namespace Magna
15.4375
43
0.623482
0of
6c9e78be176b4e788fa7f5047ca9c9b6d04db8e8
346
cpp
C++
functions_main.cpp
ronyadin/msse-cpp-lessons
af60944d2a8f28b65f52dea1531b45112ae36d15
[ "MIT" ]
null
null
null
functions_main.cpp
ronyadin/msse-cpp-lessons
af60944d2a8f28b65f52dea1531b45112ae36d15
[ "MIT" ]
null
null
null
functions_main.cpp
ronyadin/msse-cpp-lessons
af60944d2a8f28b65f52dea1531b45112ae36d15
[ "MIT" ]
null
null
null
#include <iostream> #include <stdexcept> #include "functions.hpp" int main(void) { try { std::cout << convert_ftoc(-600.0) << std::endl; } catch(std::exception & ex) { std::cout << "Program encountered an error!" << std::endl; std::cout << ex.what() << std::endl; return...
18.210526
66
0.537572
ronyadin
6c9f5583cda28bea348e81103f903eb34f18793a
2,063
cpp
C++
C++/3. LongestSubstringWithoutRepeatingCharacters.cpp
nizD/LeetCode-Solutions
7f4ca37bab795e0d6f9bfd9148a8fe3b62aa5349
[ "MIT" ]
263
2020-10-05T18:47:29.000Z
2022-03-31T19:44:46.000Z
C++/3. LongestSubstringWithoutRepeatingCharacters.cpp
nizD/LeetCode-Solutions
7f4ca37bab795e0d6f9bfd9148a8fe3b62aa5349
[ "MIT" ]
1,264
2020-10-05T18:13:05.000Z
2022-03-31T23:16:35.000Z
C++/3. LongestSubstringWithoutRepeatingCharacters.cpp
nizD/LeetCode-Solutions
7f4ca37bab795e0d6f9bfd9148a8fe3b62aa5349
[ "MIT" ]
760
2020-10-05T18:22:51.000Z
2022-03-29T06:06:20.000Z
// C++ program to find and print longest // substring without repeating characters. #include <bits/stdc++.h> using namespace std; // Function to find and print longest // substring without repeating characters. string findLongestSubstring(string str) { int i; int n = str.length(); // starting point of c...
22.67033
53
0.638391
nizD
6ca598db6aa9229fb247d4fdfc05277bf5d29299
7,637
cpp
C++
qt-creator-opensource-src-4.6.1/src/plugins/qnx/qnxsettingswidget.cpp
kevinlq/Qt-Creator-Opensource-Study
b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f
[ "MIT" ]
5
2018-12-22T14:49:13.000Z
2022-01-13T07:21:46.000Z
qt-creator-opensource-src-4.6.1/src/plugins/qnx/qnxsettingswidget.cpp
kevinlq/Qt-Creator-Opensource-Study
b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f
[ "MIT" ]
null
null
null
qt-creator-opensource-src-4.6.1/src/plugins/qnx/qnxsettingswidget.cpp
kevinlq/Qt-Creator-Opensource-Study
b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f
[ "MIT" ]
8
2018-07-17T03:55:48.000Z
2021-12-22T06:37:53.000Z
/**************************************************************************** ** ** Copyright (C) 2016 BlackBerry Limited. All rights reserved. ** Contact: BlackBerry (qt@blackberry.com) ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this ...
35.52093
106
0.659552
kevinlq
6ca6da066712cb7e886adec3390bc52e95ed02b2
2,658
cpp
C++
service/sys_prctl.cpp
zukisoft/vm
8da577329a295449ed1517bbf27cb489531b18ac
[ "MIT" ]
2
2017-02-02T13:32:14.000Z
2017-08-20T07:58:49.000Z
service/sys_prctl.cpp
zukisoft/vm
8da577329a295449ed1517bbf27cb489531b18ac
[ "MIT" ]
null
null
null
service/sys_prctl.cpp
zukisoft/vm
8da577329a295449ed1517bbf27cb489531b18ac
[ "MIT" ]
2
2017-03-09T02:41:25.000Z
2019-07-10T03:22:23.000Z
//----------------------------------------------------------------------------- // Copyright (c) 2016 Michael G. Brehm // // 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 restricti...
36.410959
149
0.665914
zukisoft
6ca9e53761b4fe41122100b9ba2913ab4e1bd6b0
19,619
cpp
C++
vban/node/bootstrap/bootstrap_lazy.cpp
EduardAl/vban-node
0a46c8025a20fea13c53a7d05ea5bb0e188e69fd
[ "BSD-3-Clause" ]
null
null
null
vban/node/bootstrap/bootstrap_lazy.cpp
EduardAl/vban-node
0a46c8025a20fea13c53a7d05ea5bb0e188e69fd
[ "BSD-3-Clause" ]
null
null
null
vban/node/bootstrap/bootstrap_lazy.cpp
EduardAl/vban-node
0a46c8025a20fea13c53a7d05ea5bb0e188e69fd
[ "BSD-3-Clause" ]
null
null
null
#include <vban/node/bootstrap/bootstrap.hpp> #include <vban/node/bootstrap/bootstrap_lazy.hpp> #include <vban/node/common.hpp> #include <vban/node/node.hpp> #include <vban/node/transport/tcp.hpp> #include <boost/format.hpp> #include <algorithm> constexpr std::chrono::seconds vban::bootstrap_limits::lazy_flush_delay_...
34.479789
272
0.726694
EduardAl
6cadad9b78fad614e28d86902cbf036e988a5e63
355
hpp
C++
src/ECS/Systems/levers.hpp
MirrasHue/PopHead
f6bfe51059723bc6567a057028b7a83fabf7a015
[ "MIT" ]
null
null
null
src/ECS/Systems/levers.hpp
MirrasHue/PopHead
f6bfe51059723bc6567a057028b7a83fabf7a015
[ "MIT" ]
null
null
null
src/ECS/Systems/levers.hpp
MirrasHue/PopHead
f6bfe51059723bc6567a057028b7a83fabf7a015
[ "MIT" ]
null
null
null
#pragma once #include "ECS/system.hpp" #include "Utilities/rect.hpp" namespace ph::system { class Levers : public System { public: using System::System; void update(float dt) override; void onEvent(const ActionEvent& event) override; private: void handleUsedLevers() const; void handleListeners(bool isActivat...
15.434783
64
0.749296
MirrasHue
6caef0f93004327e022dfd7c4e178511007be40e
499
cpp
C++
src/Broker.cpp
lmussier/ServiceProvider
9a011379b8bd54423b19d62de7ca508b52068c4b
[ "MIT" ]
null
null
null
src/Broker.cpp
lmussier/ServiceProvider
9a011379b8bd54423b19d62de7ca508b52068c4b
[ "MIT" ]
null
null
null
src/Broker.cpp
lmussier/ServiceProvider
9a011379b8bd54423b19d62de7ca508b52068c4b
[ "MIT" ]
null
null
null
#include <QCoreApplication> #include "Broker.hpp" void Broker::sub(QObject* p_subscriber, const QEvent& p_event){ subecribers[p_event.type()].push_back(p_subscriber); } void Broker::pub(QEvent* p_event){ for (std::pair<QEvent::Type, std::vector<QObject*>>item : this->subecribers) { if(item.first ==...
27.722222
85
0.609218
lmussier
6cb1bf8a00858c25c4b7aee249337a9ce8af240c
1,285
cpp
C++
CodeChef_problems/PTMSSNG/solution.cpp
gbrls/CompetitiveCode
b6f1b817a655635c3c843d40bd05793406fea9c6
[ "MIT" ]
165
2020-10-03T08:01:11.000Z
2022-03-31T02:42:08.000Z
CodeChef_problems/PTMSSNG/solution.cpp
gbrls/CompetitiveCode
b6f1b817a655635c3c843d40bd05793406fea9c6
[ "MIT" ]
383
2020-10-03T07:39:11.000Z
2021-11-20T07:06:35.000Z
CodeChef_problems/PTMSSNG/solution.cpp
gbrls/CompetitiveCode
b6f1b817a655635c3c843d40bd05793406fea9c6
[ "MIT" ]
380
2020-10-03T08:05:04.000Z
2022-03-19T06:56:59.000Z
/* This problem is related to bitwise XOR operator. The property of XOR opeartor used here is- 'If both bits in the compared position of the bit patterns are same, that bit in the resulting bit pattern is 0'. So, XOR of a number with itself results Zero. */ /* LOGIC Since the rectangles are axis-parallel, the coord...
31.341463
113
0.649027
gbrls
6cb95630d4792ce5477ebb16f5b34c2ab0b7b637
3,074
hpp
C++
src/VremanSGS.hpp
emathew1/MPI_3DCompact
1945eabdc240e8754c9ea356ba954683dee0149f
[ "MIT" ]
2
2021-01-14T21:13:53.000Z
2022-01-16T23:03:43.000Z
src/VremanSGS.hpp
emathew1/MPI_3DCompact
1945eabdc240e8754c9ea356ba954683dee0149f
[ "MIT" ]
null
null
null
src/VremanSGS.hpp
emathew1/MPI_3DCompact
1945eabdc240e8754c9ea356ba954683dee0149f
[ "MIT" ]
3
2018-11-17T21:24:57.000Z
2020-08-02T03:19:42.000Z
#ifndef _CVREMANSGSH_ #define _CVREMANSGSH_ #include "Macros.hpp" #include "AbstractFilter.hpp" #include "AbstractDerivatives.hpp" #include "Compact10Filter.hpp" class VremanSGS: public AbstractSGS{ public: double c; VremanSGS(AbstractCSolver *cs){ this->mpiRank = cs->mpiRank; this->cs = cs; N...
29
116
0.635329
emathew1
6cba7b0a6f81a93b55f0e0a4ec3bbfe4912f6e05
2,444
hpp
C++
src/impl/ProcessImpl.hpp
eshenhu/ProcessBase
78dedc0ba338e147f97d35b732e7e01dfff81b90
[ "MIT" ]
null
null
null
src/impl/ProcessImpl.hpp
eshenhu/ProcessBase
78dedc0ba338e147f97d35b732e7e01dfff81b90
[ "MIT" ]
null
null
null
src/impl/ProcessImpl.hpp
eshenhu/ProcessBase
78dedc0ba338e147f97d35b732e7e01dfff81b90
[ "MIT" ]
null
null
null
/* * $Id:$ * * Header file for the processimpl class. * */ /** \file This file provides definitions and functions for the processimpl class. */ #ifndef PROCESSIMPL_HPP #define PROCESSIMPL_HPP #include <string> #include <pthread.h> #include <boost/asio.hpp> #include <boost/program_options.hpp> #...
18.238806
75
0.644845
eshenhu
6cbb05454f804a8b9e99e05fa66c2c1471240eae
2,554
cpp
C++
llvm-3.3/unittests/Support/ProgramTest.cpp
dbrumley/recfi
39b32ad9e406a79e37ddf94dfcdc4f00acf0c23d
[ "MIT" ]
17
2015-02-04T05:21:14.000Z
2021-05-30T21:03:48.000Z
llvm-3.3/unittests/Support/ProgramTest.cpp
dbrumley/recfi
39b32ad9e406a79e37ddf94dfcdc4f00acf0c23d
[ "MIT" ]
null
null
null
llvm-3.3/unittests/Support/ProgramTest.cpp
dbrumley/recfi
39b32ad9e406a79e37ddf94dfcdc4f00acf0c23d
[ "MIT" ]
3
2018-03-18T23:11:44.000Z
2019-09-05T11:47:19.000Z
//===- unittest/Support/ProgramTest.cpp -----------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
28.377778
80
0.639389
dbrumley
6cbc90e445e7202a31fbbffa69fb14896c669434
2,977
hpp
C++
src/ControlSystem/Tags.hpp
GAcuna001/spectre
645a7f203b2ced1b1205e346d3abaf2adaf0e6ba
[ "MIT" ]
null
null
null
src/ControlSystem/Tags.hpp
GAcuna001/spectre
645a7f203b2ced1b1205e346d3abaf2adaf0e6ba
[ "MIT" ]
null
null
null
src/ControlSystem/Tags.hpp
GAcuna001/spectre
645a7f203b2ced1b1205e346d3abaf2adaf0e6ba
[ "MIT" ]
null
null
null
// Distributed under the MIT License. // See LICENSE.txt for details. #pragma once #include <array> #include <limits> #include <memory> #include <string> #include <unordered_map> #include <utility> #include "DataStructures/DataBox/Tag.hpp" #include "DataStructures/DataVector.hpp" #include "Domain/Creators/DomainCrea...
36.753086
80
0.707424
GAcuna001
6cc0c35f8e93bd7749b1b7de16a4840288b52739
3,733
cpp
C++
algospot/luckynum/main.cpp
seirion/code
3b8bf79764107255185061cec33decbc2235d03a
[ "Apache-2.0" ]
13
2015-06-07T09:26:26.000Z
2019-05-01T13:23:38.000Z
algospot/luckynum/main.cpp
seirion/code
3b8bf79764107255185061cec33decbc2235d03a
[ "Apache-2.0" ]
null
null
null
algospot/luckynum/main.cpp
seirion/code
3b8bf79764107255185061cec33decbc2235d03a
[ "Apache-2.0" ]
4
2016-03-05T06:21:05.000Z
2017-02-17T15:34:18.000Z
// http://algospot.com/judge/problem/read/LUCKYNUM #include <cstdio> #include <cstring> #include <cstdlib> #include <deque> #include <iterator> using namespace std; class BigNum { public: BigNum() {} BigNum(const char* in) { set(in); } BigNum &set(const char* in) { int size = strlen(in...
19.962567
68
0.396732
seirion
6cc0f0dee5e4c625b110ca879bf9ac2f88b07ffd
164
cpp
C++
worker/fuzzer/src/RTC/RTCP/FuzzerFeedbackRtpSrReq.cpp
kcking/mediasoup
f385349d0f06fe14a4e38d50f0212b48d588fa32
[ "ISC" ]
4,465
2017-04-05T20:00:24.000Z
2022-03-31T13:27:43.000Z
worker/fuzzer/src/RTC/RTCP/FuzzerFeedbackRtpSrReq.cpp
kcking/mediasoup
f385349d0f06fe14a4e38d50f0212b48d588fa32
[ "ISC" ]
617
2017-04-05T21:24:27.000Z
2022-03-31T06:17:25.000Z
worker/fuzzer/src/RTC/RTCP/FuzzerFeedbackRtpSrReq.cpp
kcking/mediasoup
f385349d0f06fe14a4e38d50f0212b48d588fa32
[ "ISC" ]
900
2017-04-11T09:25:27.000Z
2022-03-30T21:37:00.000Z
#include "RTC/RTCP/FuzzerFeedbackRtpSrReq.hpp" void Fuzzer::RTC::RTCP::FeedbackRtpSrReq::Fuzz(::RTC::RTCP::FeedbackRtpSrReqPacket* packet) { // packet->Dump(); }
23.428571
91
0.737805
kcking
6cc5c8809f4c5083075d0b77775d045c43fd4afa
9,798
cc
C++
src/parsing/utf8.cc
zadcha/rethinkdb
bb4f5cc28242dc1e29e9a46a8a931ec54420070c
[ "Apache-2.0" ]
21,684
2015-01-01T03:42:20.000Z
2022-03-30T13:32:44.000Z
src/parsing/utf8.cc
RethonkDB/rethonkdb
8c9c1ddc71b1b891fdb8aad7ca5891fc036b80ee
[ "Apache-2.0" ]
4,067
2015-01-01T00:04:51.000Z
2022-03-30T13:42:56.000Z
src/parsing/utf8.cc
RethonkDB/rethonkdb
8c9c1ddc71b1b891fdb8aad7ca5891fc036b80ee
[ "Apache-2.0" ]
1,901
2015-01-01T21:05:59.000Z
2022-03-21T08:14:25.000Z
#include "parsing/utf8.hpp" #include <string.h> #include <string> #include "rdb_protocol/datum_string.hpp" namespace utf8 { static unsigned int HIGH_BIT = 0x80; static unsigned int HIGH_TWO_BITS = 0xC0; static unsigned int HIGH_THREE_BITS = 0xE0; static unsigned int HIGH_FOUR_BITS = 0xF0; static unsigned int HIGH_F...
34.020833
87
0.61931
zadcha
6cc68530567a432ab0f16680cdce678b3077c1eb
1,169
cpp
C++
Stack/RemoveAllAdjacentDuplicatesInString_1047.cpp
obviouskkk/leetcode
5d25c3080fdc9f68ae79e0f4655a474a51ff01fc
[ "BSD-3-Clause" ]
null
null
null
Stack/RemoveAllAdjacentDuplicatesInString_1047.cpp
obviouskkk/leetcode
5d25c3080fdc9f68ae79e0f4655a474a51ff01fc
[ "BSD-3-Clause" ]
null
null
null
Stack/RemoveAllAdjacentDuplicatesInString_1047.cpp
obviouskkk/leetcode
5d25c3080fdc9f68ae79e0f4655a474a51ff01fc
[ "BSD-3-Clause" ]
null
null
null
/* *********************************************************************** > File Name: RemoveAllAdjacentDuplicatesInString_1047.cpp > Author: zzy > Mail: 942744575@qq.com > Created Time: Fri 05 Jul 2019 12:00:20 PM CST ********************************************************************** */ #include <std...
18.265625
74
0.550898
obviouskkk
6cca7c924f43aa57e6bf5b807202dbf47113b72c
8,232
cpp
C++
src/nc/core/ir/liveness/LivenessAnalyzer.cpp
treadstoneproject/tracethreat_nrml
bcf666b01c20f7da4234fed018dad3b2cf4d3d28
[ "Apache-2.0" ]
6
2016-09-06T02:10:08.000Z
2021-01-19T09:02:04.000Z
src/nc/core/ir/liveness/LivenessAnalyzer.cpp
treadstoneproject/tracethreat_nrml
bcf666b01c20f7da4234fed018dad3b2cf4d3d28
[ "Apache-2.0" ]
null
null
null
src/nc/core/ir/liveness/LivenessAnalyzer.cpp
treadstoneproject/tracethreat_nrml
bcf666b01c20f7da4234fed018dad3b2cf4d3d28
[ "Apache-2.0" ]
6
2015-10-02T14:11:45.000Z
2021-01-19T09:02:07.000Z
/* The file is part of Snowman decompiler. */ /* See doc/licenses.asciidoc for the licensing information. */ // // SmartDec decompiler - SmartDec is a native code to C/C++ decompiler // Copyright (C) 2015 Alexander Chernov, Katerina Troshina, Yegor Derevenets, // Alexander Fokin, Sergey Levin, Leonid Tsvetkov // // Th...
33.737705
109
0.570821
treadstoneproject
6ccdebc8f68de35135e38c17be74ec3f0b04d810
1,104
hpp
C++
source/ashes/renderer/GlRenderer/Pipeline/GlPipelineCache.hpp
DragonJoker/Ashes
a6ed950b3fd8fb9626c60b4291fbd52ea75ac66e
[ "MIT" ]
227
2018-09-17T16:03:35.000Z
2022-03-19T02:02:45.000Z
source/ashes/renderer/GlRenderer/Pipeline/GlPipelineCache.hpp
DragonJoker/RendererLib
0f8ad8edec1b0929ebd10247d3dd0a9ee8f8c91a
[ "MIT" ]
39
2018-02-06T22:22:24.000Z
2018-08-29T07:11:06.000Z
source/ashes/renderer/GlRenderer/Pipeline/GlPipelineCache.hpp
DragonJoker/Ashes
a6ed950b3fd8fb9626c60b4291fbd52ea75ac66e
[ "MIT" ]
8
2019-05-04T10:33:32.000Z
2021-04-05T13:19:27.000Z
/** *\file * Image.h *\author * Sylvain Doremus */ #ifndef ___GlRenderer_PipelineCache_HPP___ #define ___GlRenderer_PipelineCache_HPP___ #pragma once #include "renderer/GlRenderer/GlRendererPrerequisites.hpp" #include <common/ArrayView.hpp> namespace ashes::gl { /** *\brief * Un pipeline de rendu. */ class Pipe...
16.477612
65
0.713768
DragonJoker
6cce27a2ce51635b06dacdb821f4fb163691eb18
17,313
cpp
C++
src/myserver/master.cpp
eric-haibin-lin/Elastic-Load-Balancer
4b3ce0f5689cb4cbe3c9937b6c6b82c5c80dbe51
[ "MIT" ]
null
null
null
src/myserver/master.cpp
eric-haibin-lin/Elastic-Load-Balancer
4b3ce0f5689cb4cbe3c9937b6c6b82c5c80dbe51
[ "MIT" ]
null
null
null
src/myserver/master.cpp
eric-haibin-lin/Elastic-Load-Balancer
4b3ce0f5689cb4cbe3c9937b6c6b82c5c80dbe51
[ "MIT" ]
null
null
null
#include <glog/logging.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "server/messages.h" #include "server/master.h" #include "server/worker.h" #include "tools/cycle_timer.h" #include <map> #include <string> #define TICK_PERIOD 2 #define PROJECT_IDEA_THRESHOLD 3600 #define OTHER_THRESHOLD 2400...
36.448421
169
0.616011
eric-haibin-lin
6ccf11b3f8eb962fa99d947ba9b48c42728f2a4f
5,839
cc
C++
src/connectivity/wlan/lib/mlme/cpp/tests/channel_unittest.cc
zhangpf/fuchsia-rs
903568f28ddf45f09157ead36d61b50322c9cf49
[ "BSD-3-Clause" ]
1
2019-04-21T18:02:26.000Z
2019-04-21T18:02:26.000Z
src/connectivity/wlan/lib/mlme/cpp/tests/channel_unittest.cc
zhangpf/fuchsia-rs
903568f28ddf45f09157ead36d61b50322c9cf49
[ "BSD-3-Clause" ]
16
2020-09-04T19:01:11.000Z
2021-05-28T03:23:09.000Z
src/connectivity/wlan/lib/mlme/cpp/tests/channel_unittest.cc
ZVNexus/fuchsia
c5610ad15208208c98693618a79c705af935270c
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2018 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 <fuchsia/wlan/mlme/cpp/fidl.h> #include <gtest/gtest.h> #include <wlan/common/channel.h> namespace wlan { namespace common { namespace { namespa...
28.072115
79
0.491694
zhangpf
6cd13a901a317d0353b622bc64ad8511ef5e319a
662
cpp
C++
1267/b.cpp
shioju/codeforces
ac0f72596298a15cfdbedc3fea18e637a8734a68
[ "MIT" ]
null
null
null
1267/b.cpp
shioju/codeforces
ac0f72596298a15cfdbedc3fea18e637a8734a68
[ "MIT" ]
null
null
null
1267/b.cpp
shioju/codeforces
ac0f72596298a15cfdbedc3fea18e637a8734a68
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { string s; cin >> s; int left = 0, right = s.size()-1; int count = 0; char color = s[0]; int lastLeft = left, lastRight = right; while (left<=right) { if (s[left] == color) { left++; count++; } else if (s[right] == color) { ...
17.891892
60
0.459215
shioju
6cd149663eb89e167c4c2ecde9683c11823dfac7
1,365
hpp
C++
DNS with Benefits/DBMatchSystem.hpp
SFaghihi/DNSWithBenefits
2553866c0a634313eab00f1a6eb485fa3eb7ab14
[ "Apache-2.0" ]
null
null
null
DNS with Benefits/DBMatchSystem.hpp
SFaghihi/DNSWithBenefits
2553866c0a634313eab00f1a6eb485fa3eb7ab14
[ "Apache-2.0" ]
null
null
null
DNS with Benefits/DBMatchSystem.hpp
SFaghihi/DNSWithBenefits
2553866c0a634313eab00f1a6eb485fa3eb7ab14
[ "Apache-2.0" ]
null
null
null
// // DBMatchSystem.hpp // DNS with Benefits // // Created by Soroush Faghihi on 5/27/18. // Copyright © 2018 sorco. All rights reserved. // #ifndef DBMatchSystem_hpp #define DBMatchSystem_hpp #include <pthread.h> #include <semaphore.h> #include "DBRadixTrie.hpp" /* * The Multithreaded version of DBRadixTree. ...
23.534483
87
0.675458
SFaghihi
6cd41f1b467ad43ee845acda4fb96f81219ec816
2,469
cc
C++
src/benchmark/solve/derived/derived_solve_benchmark.cc
ojcole/re-pairing-brackets
1bd76bd5f19381d881116564bbaaa5e4e1395942
[ "MIT" ]
null
null
null
src/benchmark/solve/derived/derived_solve_benchmark.cc
ojcole/re-pairing-brackets
1bd76bd5f19381d881116564bbaaa5e4e1395942
[ "MIT" ]
null
null
null
src/benchmark/solve/derived/derived_solve_benchmark.cc
ojcole/re-pairing-brackets
1bd76bd5f19381d881116564bbaaa5e4e1395942
[ "MIT" ]
null
null
null
#include <benchmark/benchmark.h> #include "generate/generate_next.h" #include "generate/generate_random.h" #include "solve/derived/derived_strategy.h" static void BM_SolveDerivedRandom100(benchmark::State &state) { std::string word{ "()((()()(((())(())()()()(()(()()(()))((((((()(())(((((()(()))))())(()())" ...
45.722222
80
0.26772
ojcole
6cd55ebd71a327de2e4714076d5d86433c6e1558
8,538
cc
C++
src/core/analysis/rnn_scorer_test.cc
wrightak/jumanpp
49784bac7ee9562f1839aa12c780b019a1cb0e03
[ "Apache-2.0" ]
300
2016-10-19T02:20:39.000Z
2022-02-23T19:58:04.000Z
src/core/analysis/rnn_scorer_test.cc
wrightak/jumanpp
49784bac7ee9562f1839aa12c780b019a1cb0e03
[ "Apache-2.0" ]
130
2016-10-17T07:57:14.000Z
2022-03-20T17:37:13.000Z
src/core/analysis/rnn_scorer_test.cc
wrightak/jumanpp
49784bac7ee9562f1839aa12c780b019a1cb0e03
[ "Apache-2.0" ]
36
2016-10-19T11:47:05.000Z
2022-01-25T09:36:12.000Z
// // Created by Arseny Tolmachev on 2017/06/29. // #include "rnn_scorer.h" #include <fstream> #include "core/env.h" #include "core/impl/graphviz_format.h" #include "rnn/mikolov_rnn.h" #include "rnn_id_resolver.h" #include "testing/test_analyzer.h" #include "util/lazy.h" using namespace jumanpp; namespace a = jumanpp...
34.991803
80
0.696065
wrightak
6cd724a070289e4da21e2d0faaa2c225f7d36f60
2,644
cpp
C++
tests/src/kernel/hipGridLaunch.cpp
scchan/HIP
2db70fe5fdc701e1eedc73bea1d247cda855ef05
[ "MIT" ]
1
2021-01-10T09:04:33.000Z
2021-01-10T09:04:33.000Z
tests/src/kernel/hipGridLaunch.cpp
ttsvetanov/HIP
44587f7b070b692a0d5770a55f0a0d788d992806
[ "MIT" ]
1
2019-04-26T12:23:00.000Z
2019-05-15T14:49:19.000Z
tests/src/kernel/hipGridLaunch.cpp
ttsvetanov/HIP
44587f7b070b692a0d5770a55f0a0d788d992806
[ "MIT" ]
null
null
null
/* Copyright (c) 2015-2017 Advanced Micro Devices, Inc. All rights reserved. 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, co...
26.707071
93
0.703101
scchan
6cd8ccf3a90bc6e8bd399bf3e5bde414c2a7994d
1,457
cc
C++
src/common/step/filesystem/step_create_per_user_storage_directories.cc
tizenorg/platform.core.appfw.app-installers
54b7b4972c3ab9775856756a5d97220ef344f7e5
[ "Apache-2.0" ]
null
null
null
src/common/step/filesystem/step_create_per_user_storage_directories.cc
tizenorg/platform.core.appfw.app-installers
54b7b4972c3ab9775856756a5d97220ef344f7e5
[ "Apache-2.0" ]
null
null
null
src/common/step/filesystem/step_create_per_user_storage_directories.cc
tizenorg/platform.core.appfw.app-installers
54b7b4972c3ab9775856756a5d97220ef344f7e5
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved // Use of this source code is governed by an apache 2.0 license that can be // found in the LICENSE file. #include "common/step/filesystem/step_create_per_user_storage_directories.h" #include <string> #include <vector> #include "common/privileges...
29.734694
79
0.734386
tizenorg
6cdef39354526dc35704fc56af11cefa7ec9696b
21,586
cpp
C++
src/xtd.drawing.native.wxwidgets/src/xtd/drawing/native/wxwidgets/graphics.cpp
leanid/xtd
2e1ea6537218788ca08901faf8915d4100990b53
[ "MIT" ]
1
2022-02-25T16:53:06.000Z
2022-02-25T16:53:06.000Z
src/xtd.drawing.native.wxwidgets/src/xtd/drawing/native/wxwidgets/graphics.cpp
leanid/xtd
2e1ea6537218788ca08901faf8915d4100990b53
[ "MIT" ]
null
null
null
src/xtd.drawing.native.wxwidgets/src/xtd/drawing/native/wxwidgets/graphics.cpp
leanid/xtd
2e1ea6537218788ca08901faf8915d4100990b53
[ "MIT" ]
null
null
null
#include <cmath> #include <vector> #include <xtd/argument_exception.h> #include <xtd/convert_string.h> #include <xtd/ustring.h> #define __XTD_DRAWING_NATIVE_LIBRARY__ #include <xtd/drawing/native/graphics.h> #include "../../../../../include/xtd/drawing/native/hdc_wrapper.h" #include "../../../../../include/xtd/drawing/...
57.716578
492
0.746734
leanid
6ce108784810885839354ee1f039fba82cb10995
3,102
cpp
C++
Course codes/HCSR04 Exercise/hcsr04.cpp
MUDAL/Practical-Embedded-Systems-Course
df1026ae6898cfd25a721aa0239bceb2ed6a9404
[ "MIT" ]
null
null
null
Course codes/HCSR04 Exercise/hcsr04.cpp
MUDAL/Practical-Embedded-Systems-Course
df1026ae6898cfd25a721aa0239bceb2ed6a9404
[ "MIT" ]
null
null
null
Course codes/HCSR04 Exercise/hcsr04.cpp
MUDAL/Practical-Embedded-Systems-Course
df1026ae6898cfd25a721aa0239bceb2ed6a9404
[ "MIT" ]
null
null
null
#include "hcsr04.h" void HCSR04_TrigPinPWMInit(pinStruct_t& trigPin, TIM_TypeDef* TIMx, uint8_t gpioAFSelTIMx, uint8_t pwmChannel) { //GPIO config GPIO_InitTypeDef GPIO_InitStruct = {0}; GPIO_InitStruct.Pin = trigPin.selectedPin; GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; GP...
32.3125
87
0.770148
MUDAL
6ce37f6fc5d9acac45330582fa4b9d555c635b64
6,577
cpp
C++
lightoj/ 1055 - Going Together bfs dfs .cpp
priojeetpriyom/competitive-programming
0024328972d4e14c04c0fd5d6dd3cdf131d84f9d
[ "MIT" ]
1
2021-11-22T02:26:43.000Z
2021-11-22T02:26:43.000Z
lightoj/ 1055 - Going Together bfs dfs .cpp
priojeetpriyom/competitive-programming
0024328972d4e14c04c0fd5d6dd3cdf131d84f9d
[ "MIT" ]
null
null
null
lightoj/ 1055 - Going Together bfs dfs .cpp
priojeetpriyom/competitive-programming
0024328972d4e14c04c0fd5d6dd3cdf131d84f9d
[ "MIT" ]
null
null
null
///call a bfs to compute if three robots fall in exit simultaneously. if they do then take minimum from all of this cases. ///constraints are: no two robots can be in same position/at '#' / out of board at any time. #include <bits/stdc++.h> using namespace std; typedef unsigned long long ull; typedef long long ll; #...
26.308
195
0.349856
priojeetpriyom
6ce4ec6c84b9a3f5bc143fb5ea9483f13b593606
5,449
cpp
C++
src/util/newlib_functions.cpp
0x2152Yet/yet_another_motor_drive
4987d2c48b2594c83a1075f374ef45e1037c68ef
[ "BSD-3-Clause" ]
8
2021-04-19T18:39:30.000Z
2022-03-16T15:16:44.000Z
src/util/newlib_functions.cpp
0x2152Yet/yet_another_motor_drive
4987d2c48b2594c83a1075f374ef45e1037c68ef
[ "BSD-3-Clause" ]
null
null
null
src/util/newlib_functions.cpp
0x2152Yet/yet_another_motor_drive
4987d2c48b2594c83a1075f374ef45e1037c68ef
[ "BSD-3-Clause" ]
2
2021-07-16T04:19:27.000Z
2021-11-07T03:13:54.000Z
//////////////////////////////////////////////////////////////////////////////// // // Yet Another Motor Drive // // MIT License // // Copyright (c) 2021 Michael F. Kaufman // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the...
25.226852
82
0.543953
0x2152Yet
6ce75c38ff82b9d3df0bca02ec885da3b298e875
500
cpp
C++
arrays/ArrayTraversalRec.cpp
Mohitmauryagit/datastructures
df61f3f5b592dc4fe0b9d6a966b87f3348328e0a
[ "MIT" ]
8
2021-08-12T08:09:37.000Z
2021-12-30T10:45:54.000Z
arrays/ArrayTraversalRec.cpp
Mohitmauryagit/datastructures
df61f3f5b592dc4fe0b9d6a966b87f3348328e0a
[ "MIT" ]
7
2021-06-09T05:13:23.000Z
2022-01-24T04:47:59.000Z
arrays/ArrayTraversalRec.cpp
Mohitmauryagit/datastructures
df61f3f5b592dc4fe0b9d6a966b87f3348328e0a
[ "MIT" ]
4
2021-11-07T07:09:58.000Z
2022-02-08T11:43:56.000Z
#include<iostream> using namespace std; void H(int a[],int i,int size) { if(i>size-1) { cout<<endl; return; } cout<<a[i]<<","; H(a,i+1,size); } void S(int a[],int k,int size) { if(k<0) { cout<<endl; return; } cout<<a[k]<<","; k--; ...
12.820513
35
0.434
Mohitmauryagit