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
886b9a9a31b4a81273f54697a992fa197c725052
3,238
cc
C++
server/core/test/test_service.cc
tut-blog/MaxScale
cabd6dba0665cb8025c694acf98cffaa68d10de0
[ "MIT" ]
null
null
null
server/core/test/test_service.cc
tut-blog/MaxScale
cabd6dba0665cb8025c694acf98cffaa68d10de0
[ "MIT" ]
1
2019-07-02T09:59:27.000Z
2019-07-02T09:59:49.000Z
server/core/test/test_service.cc
tut-blog/MaxScale
cabd6dba0665cb8025c694acf98cffaa68d10de0
[ "MIT" ]
null
null
null
/* * Copyright (c) 2016 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. * * Change Date: 2022-01-01 * * On the date above, in accordance with the Business Source License, use * of this software will be g...
32.38
108
0.622915
tut-blog
886c0606c27af098cf18eb343f5de319872b424b
26,827
cpp
C++
src/se3-trajectory-generator.cpp
jviereck/sot-torque-control
90409a656e5b5be4dd4ff937724154579861c20f
[ "BSD-2-Clause" ]
null
null
null
src/se3-trajectory-generator.cpp
jviereck/sot-torque-control
90409a656e5b5be4dd4ff937724154579861c20f
[ "BSD-2-Clause" ]
null
null
null
src/se3-trajectory-generator.cpp
jviereck/sot-torque-control
90409a656e5b5be4dd4ff937724154579861c20f
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright 2017, Andrea Del Prete, LAAS-CNRS * * This file is part of sot-torque-control. * sot-torque-control 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 3 of * the Licens...
42.991987
154
0.549707
jviereck
886e28f31fc3ecf418f93e2e80ff6995594f4255
1,122
hpp
C++
tests/utils/include/utils/test.hpp
hhb584520/DML
014eb9894e85334f03ec74435933c972f3d05b50
[ "MIT" ]
null
null
null
tests/utils/include/utils/test.hpp
hhb584520/DML
014eb9894e85334f03ec74435933c972f3d05b50
[ "MIT" ]
null
null
null
tests/utils/include/utils/test.hpp
hhb584520/DML
014eb9894e85334f03ec74435933c972f3d05b50
[ "MIT" ]
1
2022-03-28T07:52:21.000Z
2022-03-28T07:52:21.000Z
/******************************************************************************* * Copyright (C) 2021 Intel Corporation * * SPDX-License-Identifier: MIT ******************************************************************************/ #ifndef DML_TESTING_ACTUAL_API_HPP #define DML_TESTING_ACTUAL_API_HPP #if !define...
20.035714
80
0.651515
hhb584520
886ef9a9c147b1c0edd663e41011c9498d00fdd1
5,241
cxx
C++
example/example-1/main.cxx
usagi/wonderland.subsystem
342b3dc2489f9a12d6dba43fca7d7a2a0854e144
[ "MIT" ]
1
2015-08-29T00:14:05.000Z
2015-08-29T00:14:05.000Z
example/example-1/main.cxx
usagi/wonderland.subsystem
342b3dc2489f9a12d6dba43fca7d7a2a0854e144
[ "MIT" ]
null
null
null
example/example-1/main.cxx
usagi/wonderland.subsystem
342b3dc2489f9a12d6dba43fca7d7a2a0854e144
[ "MIT" ]
null
null
null
#include <chrono> #include <thread> #include <iostream> #include <iomanip> #include <boost/property_tree/ini_parser.hpp> #ifdef EMSCRIPTEN #include <emscripten/emscripten.h> #endif // define or take a compiler option: c++ ... -DWRP_WONDERLAND_SUBSYSTEM_GLFW3 main.cxx //#define WRP_WONDERLAND_SUBSYSTEM_GLFW3 //#defi...
27.584211
111
0.589964
usagi
8872016682c7b970e1df80ba5ceed3b6c0728a8d
611
hpp
C++
include/lol/def/LolAccountVerificationSendTokenRequest.hpp
Maufeat/LeagueAPI
be7cb5093aab3f27d95b3c0e1d5700aa50126c47
[ "BSD-3-Clause" ]
1
2020-07-22T11:14:55.000Z
2020-07-22T11:14:55.000Z
include/lol/def/LolAccountVerificationSendTokenRequest.hpp
Maufeat/LeagueAPI
be7cb5093aab3f27d95b3c0e1d5700aa50126c47
[ "BSD-3-Clause" ]
null
null
null
include/lol/def/LolAccountVerificationSendTokenRequest.hpp
Maufeat/LeagueAPI
be7cb5093aab3f27d95b3c0e1d5700aa50126c47
[ "BSD-3-Clause" ]
4
2018-12-01T22:48:21.000Z
2020-07-22T11:14:56.000Z
#pragma once #include "../base_def.hpp" namespace lol { struct LolAccountVerificationSendTokenRequest { std::string mediator; std::string locale; std::string device; }; inline void to_json(json& j, const LolAccountVerificationSendTokenRequest& v) { j["mediator"] = v.mediator; j["locale"] =...
32.157895
83
0.653028
Maufeat
88726207f5fb0ad5bb1d8f64dfdb7e09e1358eed
721
cpp
C++
HackerEarth/PrateekAndHisFriends.cpp
sawantaditi24/Competitive-Programming
36e024215d8041c92c5ec78a22561aaa0025f8d2
[ "MIT" ]
2
2020-06-01T09:16:47.000Z
2021-09-04T12:39:41.000Z
HackerEarth/PrateekAndHisFriends.cpp
gauravsingh58/competitive-programming
fa5548f435cdf2aa059e1d6ab733885790c6a592
[ "MIT" ]
1
2020-10-10T16:14:54.000Z
2020-10-10T16:14:54.000Z
HackerEarth/PrateekAndHisFriends.cpp
gauravsingh58/competitive-programming
fa5548f435cdf2aa059e1d6ab733885790c6a592
[ "MIT" ]
2
2021-01-23T14:35:48.000Z
2021-03-15T05:04:24.000Z
#include<bits/stdc++.h> using namespace std; int main(){ ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); long t, n, x; cin >>t; while(t--){ cin >>n >>x; vector<long> arr(n); for(long i = 0; i < n; i++) cin >>arr[i]; for(long i = 1; i ...
23.258065
43
0.371706
sawantaditi24
887c90e853811beaba1fe90e0e5808fad420a766
1,965
cpp
C++
src/Frontends/CleanupResources.cpp
VANDAL/Sigil2
67e0762201d79575a25bdfe59eab257d206cff39
[ "BSD-3-Clause" ]
8
2018-12-08T15:35:34.000Z
2021-10-25T00:10:51.000Z
src/Frontends/CleanupResources.cpp
VANDAL/Sigil2
67e0762201d79575a25bdfe59eab257d206cff39
[ "BSD-3-Clause" ]
6
2018-06-01T23:09:25.000Z
2021-01-05T20:15:44.000Z
src/Frontends/CleanupResources.cpp
mdlui/Sigil2
67e0762201d79575a25bdfe59eab257d206cff39
[ "BSD-3-Clause" ]
3
2019-11-17T16:13:06.000Z
2021-07-23T01:27:59.000Z
#include <csignal> #include <cstdlib> #include <cstring> #include <dirent.h> #include <iostream> #include <mutex> namespace Cleanup { namespace { std::mutex cleanupMtx; bool initialized; std::string cleanupDir; std::terminate_handler prev_terminate_handler; using signal_handler = void(*)(int); signal_handler prev_s...
24.873418
100
0.588295
VANDAL
887e2ba4297878ba8019c3f1b93fac2f19b5338e
1,218
hpp
C++
src/database/net.hpp
martun/verilog_netlist_parser
bf616bc5b5dab3e1b93f7740b29774d7dbc72281
[ "MIT" ]
1
2018-12-18T02:16:16.000Z
2018-12-18T02:16:16.000Z
src/database/net.hpp
martun/verilog_netlist_parser
bf616bc5b5dab3e1b93f7740b29774d7dbc72281
[ "MIT" ]
null
null
null
src/database/net.hpp
martun/verilog_netlist_parser
bf616bc5b5dab3e1b93f7740b29774d7dbc72281
[ "MIT" ]
null
null
null
#ifndef NET_H #define NET_H #include <string> #include <vector> class Port; /// Class for Net. class Net { public: /** \brief Constructor by name. * \param[in] name - Name of the Net. * \param[in] source_port - Source port for the net, if not provided sets to NULL. */ Net(const std::string name, const Port ...
22.981132
83
0.698686
martun
888412b4fc2d122ddc1d56e67a32fad537a1e890
32,511
hpp
C++
src/utils/opencx.hpp
deepguider/RoadGPS
7db4669a54da98a854886b89b6922fb8c7a60f33
[ "Apache-2.0", "BSD-3-Clause" ]
2
2019-05-22T12:47:34.000Z
2019-05-23T15:43:47.000Z
src/utils/opencx.hpp
deepguider/RoadGPS
7db4669a54da98a854886b89b6922fb8c7a60f33
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
src/utils/opencx.hpp
deepguider/RoadGPS
7db4669a54da98a854886b89b6922fb8c7a60f33
[ "Apache-2.0", "BSD-3-Clause" ]
1
2019-08-09T06:50:46.000Z
2019-08-09T06:50:46.000Z
/** * OpenCX: Sunglok's OpenCV Extension * * OpenCX aims to provide extended functionality and tools to OpenCV for more convenience. * It consists of several header files, 'opencx.hpp' and others, which only depend on OpenCV in C++. * Just include the file to your project. It will work without complex configuratio...
39.503038
281
0.553536
deepguider
88876c8b894fedadd892e259ed9892a30f93f902
5,900
hpp
C++
include/circular_buffer.hpp
Algorithms-and-Data-Structures-2021/semester-work-circular-buffer
7520845b51fd2e16cccfcac247140dd8cc8a459d
[ "MIT" ]
null
null
null
include/circular_buffer.hpp
Algorithms-and-Data-Structures-2021/semester-work-circular-buffer
7520845b51fd2e16cccfcac247140dd8cc8a459d
[ "MIT" ]
null
null
null
include/circular_buffer.hpp
Algorithms-and-Data-Structures-2021/semester-work-circular-buffer
7520845b51fd2e16cccfcac247140dd8cc8a459d
[ "MIT" ]
1
2021-04-25T19:14:57.000Z
2021-04-25T19:14:57.000Z
#pragma once #include <cstddef> #include <optional> #include <stdexcept> // logic_error #include <cassert> // assert using std::size_t; // Заголовочный файл с объявлением структуры данных namespace itis { // Tip 1: объявите здесь необходимые структуры, функции, константы и прочее // Пример: объявление конста...
27.962085
113
0.589492
Algorithms-and-Data-Structures-2021
88884f168d3fc8582b42bf0cbcb746c51033c860
1,144
cpp
C++
leetCode/MajorityElement.cpp
ChairInkitchenAmer/study
56650ccb1c9879f22cbd692883db7f26f5a8c54b
[ "Apache-2.0" ]
null
null
null
leetCode/MajorityElement.cpp
ChairInkitchenAmer/study
56650ccb1c9879f22cbd692883db7f26f5a8c54b
[ "Apache-2.0" ]
null
null
null
leetCode/MajorityElement.cpp
ChairInkitchenAmer/study
56650ccb1c9879f22cbd692883db7f26f5a8c54b
[ "Apache-2.0" ]
null
null
null
#include <vector> #include <unordered_map> #include <algorithm> using namespace std; class Solution { public: int majorityElement(vector<int>& nums) { unordered_map<int,int> map; if(nums.size() == 1){ return nums[0]; } for(int i=0; i < nums.size(); i++){ ...
21.185185
69
0.414336
ChairInkitchenAmer
8888ca65a0b111d92522e95eeb4592d34962bd30
1,100
cpp
C++
CPPProgramExample/LAB04/LAB04/CLASS02.cpp
mahmoudShaheen/RandomCollegeProjects
6bcede0ad8b09ac738d8f49e6fed6d2b7a111cfd
[ "MIT" ]
null
null
null
CPPProgramExample/LAB04/LAB04/CLASS02.cpp
mahmoudShaheen/RandomCollegeProjects
6bcede0ad8b09ac738d8f49e6fed6d2b7a111cfd
[ "MIT" ]
null
null
null
CPPProgramExample/LAB04/LAB04/CLASS02.cpp
mahmoudShaheen/RandomCollegeProjects
6bcede0ad8b09ac738d8f49e6fed6d2b7a111cfd
[ "MIT" ]
null
null
null
#include <iostream> #include <windows.h> #include <process.h> #include <conio.h> using namespace std; class point{ int x,y; public: point (int u, int v){x=u; y=v;} // function definition -- requires windows.h void gotoxy() { HANDLE hConsoleOutput; COORD dwCursorPosition; cout.flush(); dwCursorPositi...
22.44898
63
0.621818
mahmoudShaheen
888a058571d9a181953e547daae797b61c5b4041
17,894
cpp
C++
esp32/TinyCPCEMttgovga32/CPCem/FDC.cpp
rpsubc8/ESP32TinyCPC
386a0d1d47fc6f32c0b3dace67a6c2197a846a9d
[ "WTFPL" ]
19
2020-12-04T15:12:45.000Z
2022-02-07T19:46:36.000Z
esp32/TinyCPCEMttgovga32/CPCem/FDC.cpp
rpsubc8/ESP32TinyCPC
386a0d1d47fc6f32c0b3dace67a6c2197a846a9d
[ "WTFPL" ]
3
2021-02-20T08:42:09.000Z
2022-03-11T05:11:26.000Z
esp32/TinyCPCEMttgovga32/CPCem/FDC.cpp
rpsubc8/ESP32TinyCPC
386a0d1d47fc6f32c0b3dace67a6c2197a846a9d
[ "WTFPL" ]
4
2021-02-20T08:07:04.000Z
2022-03-27T21:52:45.000Z
//C72B - try command //A9B0 #include <stdio.h> #include <string.h> #include <stdlib.h> #include "FDC.h" #include "gb_globals.h" #include "dataFlash/gbdsk.h" #include <iostream> //unsigned char gb_select_dsk_disk=0; //int gb_ptrBeginDataDisc[42][11]; //Donde empieza el disco int startreal; unsigned char di...
42.402844
204
0.323181
rpsubc8
888d2a94e10138c5f4a34eb6e24236ab0c000973
16,372
cpp
C++
src/Lagrange.cpp
clauderichard/OptimistRacing
808ffcef44307c9097035bf5dacdcae8fc7663a7
[ "MIT" ]
null
null
null
src/Lagrange.cpp
clauderichard/OptimistRacing
808ffcef44307c9097035bf5dacdcae8fc7663a7
[ "MIT" ]
null
null
null
src/Lagrange.cpp
clauderichard/OptimistRacing
808ffcef44307c9097035bf5dacdcae8fc7663a7
[ "MIT" ]
null
null
null
/* Copyright (C) 2012 Claude Richard * * Optimist Racing is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * Optimist Racing is...
34.908316
142
0.722392
clauderichard
888dad20edcc4f53d38f434073758c9fbba5f948
3,302
cpp
C++
src/dxapi/native/tickdb/http/xml/validate_qql_request.cpp
noop-dev/TimeBaseClientCpp
3cbbee85f2a8f1f38a31fc14a993fceb05d650f1
[ "Apache-2.0" ]
null
null
null
src/dxapi/native/tickdb/http/xml/validate_qql_request.cpp
noop-dev/TimeBaseClientCpp
3cbbee85f2a8f1f38a31fc14a993fceb05d650f1
[ "Apache-2.0" ]
null
null
null
src/dxapi/native/tickdb/http/xml/validate_qql_request.cpp
noop-dev/TimeBaseClientCpp
3cbbee85f2a8f1f38a31fc14a993fceb05d650f1
[ "Apache-2.0" ]
2
2021-05-14T09:39:50.000Z
2022-03-24T23:42:41.000Z
/* * Copyright 2021 EPAM Systems, Inc * * See the NOTICE file distributed with this work for additional information * regarding copyright ownership. 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 Li...
29.221239
120
0.650515
noop-dev
888f003791b7375286b79eec304e33195f88bcca
1,567
cpp
C++
Src/renderer/loading_screen/LoadingScreen.cpp
Kataglyphis/GraphicEngine
f3b87a36b761fe13e747011be9301f6f9fe0c3f0
[ "BSD-3-Clause" ]
null
null
null
Src/renderer/loading_screen/LoadingScreen.cpp
Kataglyphis/GraphicEngine
f3b87a36b761fe13e747011be9301f6f9fe0c3f0
[ "BSD-3-Clause" ]
null
null
null
Src/renderer/loading_screen/LoadingScreen.cpp
Kataglyphis/GraphicEngine
f3b87a36b761fe13e747011be9301f6f9fe0c3f0
[ "BSD-3-Clause" ]
null
null
null
#include "LoadingScreen.h" #include <sstream> LoadingScreen::LoadingScreen() { create_shader_program(); } void LoadingScreen::init() { std::stringstream texture_base_dir; texture_base_dir << CMAKELISTS_DIR; texture_base_dir << "/Resources/Textures/"; std::stringstream texture_loading_screen; ...
25.274194
94
0.675814
Kataglyphis
8893078ef61860196278182425ba76a2a3bd387f
566
cpp
C++
examples/backend/asymmetric_coroutine.cpp
Manu343726/coroutine
dbf7ed9ef161351535ea835ccb0ed80bf6a3c5a9
[ "MIT" ]
12
2017-09-14T04:09:35.000Z
2020-03-22T01:39:31.000Z
examples/backend/asymmetric_coroutine.cpp
Manu343726/coroutine
dbf7ed9ef161351535ea835ccb0ed80bf6a3c5a9
[ "MIT" ]
null
null
null
examples/backend/asymmetric_coroutine.cpp
Manu343726/coroutine
dbf7ed9ef161351535ea835ccb0ed80bf6a3c5a9
[ "MIT" ]
4
2017-09-17T08:04:13.000Z
2020-05-16T12:35:31.000Z
#include <coroutine/backend/asymmetric_coroutine.hpp> #include <iostream> using pull_t = coro::back::asymmetric_coroutine::pull_type<int>; using push_t = coro::back::asymmetric_coroutine::push_type<int>; int main() { pull_t source{[&](push_t& sink) { for(int i = 0; i < 3; ++i) { st...
20.962963
64
0.524735
Manu343726
88941a2351f5a90aab7045ed95a69a096fd3c8be
9,866
cxx
C++
MUON/MUONmapping/AliMpBusPatch.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
52
2016-12-11T13:04:01.000Z
2022-03-11T11:49:35.000Z
MUON/MUONmapping/AliMpBusPatch.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
1,388
2016-11-01T10:27:36.000Z
2022-03-30T15:26:09.000Z
MUON/MUONmapping/AliMpBusPatch.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
275
2016-06-21T20:24:05.000Z
2022-03-31T13:06:19.000Z
/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Contributors ...
29.538922
96
0.647476
AllaMaevskaya
889b7fa955d64191cebb708ce71eafc6590b632f
231
hpp
C++
include/toy/gadget/IntToChar.hpp
ToyAuthor/ToyBox
f517a64d00e00ccaedd76e33ed5897edc6fde55e
[ "Unlicense" ]
4
2017-07-06T22:18:41.000Z
2021-05-24T21:28:37.000Z
include/toy/gadget/IntToChar.hpp
ToyAuthor/ToyBox
f517a64d00e00ccaedd76e33ed5897edc6fde55e
[ "Unlicense" ]
null
null
null
include/toy/gadget/IntToChar.hpp
ToyAuthor/ToyBox
f517a64d00e00ccaedd76e33ed5897edc6fde55e
[ "Unlicense" ]
1
2020-08-02T13:00:38.000Z
2020-08-02T13:00:38.000Z
#pragma once #include "toy/Standard.hpp" #include "toy/gadget/Export.hpp" namespace toy{ namespace gadget{ // 1 -> '1' // 2 -> '2' // 9 -> '9' // 10 -> [error] // -1 -> [error] TOY_API_GADGET extern char IntToChar(int); }}
12.833333
42
0.597403
ToyAuthor
889c204f9d2ff5d0b16913fd99d5fd47c7c33159
975
cpp
C++
tests/cpp/Units.cpp
aTrotier/sycomore
32e438d3a90ca0a9d051bb6acff461e06079116d
[ "MIT" ]
14
2019-11-06T09:23:09.000Z
2022-01-11T19:08:36.000Z
tests/cpp/Units.cpp
aTrotier/sycomore
32e438d3a90ca0a9d051bb6acff461e06079116d
[ "MIT" ]
2
2020-12-01T15:48:27.000Z
2020-12-04T15:19:37.000Z
tests/cpp/Units.cpp
aTrotier/sycomore
32e438d3a90ca0a9d051bb6acff461e06079116d
[ "MIT" ]
2
2020-08-12T04:36:36.000Z
2021-05-27T13:17:34.000Z
#define BOOST_TEST_MODULE Units #include <boost/test/unit_test.hpp> #include "sycomore/units.h" BOOST_AUTO_TEST_CASE(BasicLiteral) { using namespace sycomore::units; sycomore::Quantity const length = 100_cm; BOOST_TEST(length.magnitude == 1.); BOOST_TEST(length.dimensions == sycomore::Length); } BOO...
23.780488
54
0.727179
aTrotier
889c45242a1cd2c573d08386e06c9a181851cb3f
454
cpp
C++
final/pointers/pointers_to_functions.cpp
coderica/effective_cpp
456d30cf42c6c71dc7187d88e362651dd79ac3fe
[ "MIT" ]
null
null
null
final/pointers/pointers_to_functions.cpp
coderica/effective_cpp
456d30cf42c6c71dc7187d88e362651dd79ac3fe
[ "MIT" ]
null
null
null
final/pointers/pointers_to_functions.cpp
coderica/effective_cpp
456d30cf42c6c71dc7187d88e362651dd79ac3fe
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int addThem(int, int); int subtractThem(int, int); int main() { int addResult, subResult; int (*opPtr)(int, int); opPtr = addThem; addResult = opPtr(3, 2); opPtr = subtractThem; subResult = opPtr(3, 2); cout << "Adding: " << addResult << " Subtracting: " <...
16.214286
75
0.599119
coderica
889c8b9fa38c3010c71d1e2b7426666342bb5772
571
hpp
C++
src/Main/buildLIZandCommLists.hpp
pmu2022/lsms
3c5f266812cad0b6d570bef9f5abb590d044ef92
[ "BSD-3-Clause" ]
1
2022-01-27T14:45:51.000Z
2022-01-27T14:45:51.000Z
src/Main/buildLIZandCommLists.hpp
pmu2022/lsms
3c5f266812cad0b6d570bef9f5abb590d044ef92
[ "BSD-3-Clause" ]
3
2021-09-14T01:30:26.000Z
2021-09-25T14:05:10.000Z
src/Main/buildLIZandCommLists.hpp
pmu2022/lsms
3c5f266812cad0b6d570bef9f5abb590d044ef92
[ "BSD-3-Clause" ]
1
2022-01-03T18:16:26.000Z
2022-01-03T18:16:26.000Z
#ifndef LSMS_BUILDLIZANDCOMMLISTS_HPP #define LSMS_BUILDLIZANDCOMMLISTS_HPP #include "Real.hpp" #include "SystemParameters.hpp" #include "SingleSite/AtomData.hpp" #include "Communication/LSMSCommunication.hpp" class LIZInfoType { public: int idx; Real p1, p2, p3; Real dSqr; }; class NodeIdxInfo { public: i...
19.033333
53
0.676007
pmu2022
889e2e4d0c63113975d8ec6fb0621891e6e0b794
3,470
cpp
C++
PGTests/PGTests/GeometryTests.cpp
mcdreamer/PG
a047615d9eae7f2229a203a262f239106cf7f39c
[ "MIT" ]
2
2018-01-14T17:47:22.000Z
2021-11-15T10:34:24.000Z
PGTests/PGTests/GeometryTests.cpp
mcdreamer/PG
a047615d9eae7f2229a203a262f239106cf7f39c
[ "MIT" ]
23
2017-07-31T19:43:00.000Z
2018-11-11T18:51:28.000Z
PGTests/PGTests/GeometryTests.cpp
mcdreamer/PG
a047615d9eae7f2229a203a262f239106cf7f39c
[ "MIT" ]
null
null
null
#include "GeometryTests.h" #include "gtest/gtest.h" #include "PG/core/RectUtils.h" #include "PG/core/Rect.h" #include "PG/core/Point.h" #include "PG/entities/TilePositionCalculator.h" #include "PG/app/GameConstants.h" using namespace PG; //-------------------------------------------------------- TEST(GeometryTests,t...
36.526316
86
0.597118
mcdreamer
889f20fedc4efa743b4474b7d965cae1db87239c
2,385
hpp
C++
include/esp32_simple_ota.hpp
willson556/esp32-https-ota
9ecb2e8cbde06e89771445a91f5e5a7c787875a6
[ "MIT" ]
1
2020-03-17T01:59:58.000Z
2020-03-17T01:59:58.000Z
include/esp32_simple_ota.hpp
willson556/esp32-simple-ota
9ecb2e8cbde06e89771445a91f5e5a7c787875a6
[ "MIT" ]
null
null
null
include/esp32_simple_ota.hpp
willson556/esp32-simple-ota
9ecb2e8cbde06e89771445a91f5e5a7c787875a6
[ "MIT" ]
null
null
null
#pragma once #include <functional> #include <thread> namespace esp32_simple_ota { /** * @brief The OTA manager periodically checks for updates. * * @details If the version number of the installed app doesn't * match the version in the feed, the app from the feed will * be downloaded and installed. * * The E...
30.974026
112
0.67673
willson556
88a8e8c0a917c63a5bbc9709faca4b4637b9e4b1
26,514
cpp
C++
samsung/hardware/exynos3/s5pc110/libhwcomposer/SecHWC.cpp
DrDoubt/android_device_samsung_universal9810-common-1
5a937d2994044c041c3c19192d7744200a036cc8
[ "Apache-2.0" ]
null
null
null
samsung/hardware/exynos3/s5pc110/libhwcomposer/SecHWC.cpp
DrDoubt/android_device_samsung_universal9810-common-1
5a937d2994044c041c3c19192d7744200a036cc8
[ "Apache-2.0" ]
null
null
null
samsung/hardware/exynos3/s5pc110/libhwcomposer/SecHWC.cpp
DrDoubt/android_device_samsung_universal9810-common-1
5a937d2994044c041c3c19192d7744200a036cc8
[ "Apache-2.0" ]
2
2021-07-04T19:41:36.000Z
2021-07-29T12:59:47.000Z
/* * Copyright (C) 2010 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
32.373626
96
0.575092
DrDoubt
88ae2cc132969bdc602ff5b218cdb40326513132
12,504
cpp
C++
camera/hal/test/mpi/src/video_test.cpp
openharmony-gitee-mirror/drivers_peripheral
4ee6d41befdf54a97afeb5838be5fcd0b4888d56
[ "Apache-2.0" ]
null
null
null
camera/hal/test/mpi/src/video_test.cpp
openharmony-gitee-mirror/drivers_peripheral
4ee6d41befdf54a97afeb5838be5fcd0b4888d56
[ "Apache-2.0" ]
null
null
null
camera/hal/test/mpi/src/video_test.cpp
openharmony-gitee-mirror/drivers_peripheral
4ee6d41befdf54a97afeb5838be5fcd0b4888d56
[ "Apache-2.0" ]
2
2021-09-13T10:12:47.000Z
2021-09-13T11:16:31.000Z
/* * Copyright (c) 2021 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file expected 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 la...
42.969072
111
0.68722
openharmony-gitee-mirror
88ae512084cae3dce1817e54429e2a9f2947912d
1,095
cc
C++
codeforces/Round582-Div.3/D.cc
OFShare/Algorithm-challenger
43336871a5e48f8804d6e737c813d9d4c0dc2731
[ "MIT" ]
67
2019-07-14T05:38:41.000Z
2021-12-23T11:52:51.000Z
codeforces/Round582-Div.3/D.cc
OFShare/Algorithm-challenger
43336871a5e48f8804d6e737c813d9d4c0dc2731
[ "MIT" ]
null
null
null
codeforces/Round582-Div.3/D.cc
OFShare/Algorithm-challenger
43336871a5e48f8804d6e737c813d9d4c0dc2731
[ "MIT" ]
12
2020-01-16T10:48:01.000Z
2021-06-11T16:49:04.000Z
// // Created by OFShare on 2019-09-10 // #include <bits/stdc++.h> const int maxn = 2e5 + 5; int n, k; int A[maxn]; // canNumber[i]记录可以变成i这个数,的个数 int canNumber[maxn]; // cntNumber[i][j]记录变成i时需要j次操作,的个数 int cntNumber[maxn][30]; void preprocess(int x) { int cnt = 0; while(x){ canNumber[x]++; cn...
20.660377
58
0.415525
OFShare
88b4111e7ee5665a71371b9f5090bb8392bc44a4
397
cc
C++
result.cc
espindola/libcthulhu
8ab74385abd257abcd49f780675b0849a8c69bfb
[ "0BSD" ]
12
2020-09-10T03:01:45.000Z
2022-03-10T09:03:03.000Z
result.cc
espindola/libcthulhu
8ab74385abd257abcd49f780675b0849a8c69bfb
[ "0BSD" ]
null
null
null
result.cc
espindola/libcthulhu
8ab74385abd257abcd49f780675b0849a8c69bfb
[ "0BSD" ]
1
2021-05-13T06:27:19.000Z
2021-05-13T06:27:19.000Z
// Copyright (C) 2019 ScyllaDB #include <cthulhu/result.hh> #include <errno.h> #include <string.h> using namespace cthulhu; posix_error::posix_error(int error_number) : error_number(error_number) { assert(error_number && "not an error"); } posix_error posix_error::current() { return errno; } void posix_error::p...
18.904762
73
0.732997
espindola
88b531150b66b022405b6adf18210d4400508cea
20
cpp
C++
lib/cpp/Tree.cpp
Moonshile/MyAlgorithmCandy
e1ab006a5abe7d2749ae564ad2bffc4a628ed31b
[ "Apache-2.0" ]
2
2016-11-26T02:56:35.000Z
2019-06-17T04:09:02.000Z
lib/cpp/Tree.cpp
Moonshile/MyAlgorithmCandy
e1ab006a5abe7d2749ae564ad2bffc4a628ed31b
[ "Apache-2.0" ]
null
null
null
lib/cpp/Tree.cpp
Moonshile/MyAlgorithmCandy
e1ab006a5abe7d2749ae564ad2bffc4a628ed31b
[ "Apache-2.0" ]
3
2016-07-18T14:13:20.000Z
2019-06-17T04:08:32.000Z
#include "Tree.cpp"
10
19
0.7
Moonshile
88b89dbd5d774ccf7b6a7014d649875ec9b40fd8
4,327
cpp
C++
80/prog.cpp
alexsyrom/ProjectEuler
78c3e2a0e2d4948ef4faa5d65ff58defd5835620
[ "MIT" ]
null
null
null
80/prog.cpp
alexsyrom/ProjectEuler
78c3e2a0e2d4948ef4faa5d65ff58defd5835620
[ "MIT" ]
null
null
null
80/prog.cpp
alexsyrom/ProjectEuler
78c3e2a0e2d4948ef4faa5d65ff58defd5835620
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <vector> #include <cmath> #include <algorithm> template <class Class> void Print(Class instance) { std::cout << instance << std::endl; } void Print() { std::cout << std::endl; } class UnsignedDecimalFloat { public: static const size_t kBase = 10; sta...
30.471831
92
0.623758
alexsyrom
88ba1214b01266b549602efee89b52bd888e7983
1,744
cpp
C++
src/domain/finite_element/finite_element.cpp
SlaybaughLab/Transport
8eb32cb8ae50c92875526a7540350ef9a85bc050
[ "MIT" ]
12
2018-03-14T12:30:53.000Z
2022-01-23T14:46:44.000Z
src/domain/finite_element/finite_element.cpp
SlaybaughLab/Transport
8eb32cb8ae50c92875526a7540350ef9a85bc050
[ "MIT" ]
194
2017-07-07T01:38:15.000Z
2021-05-19T18:21:19.000Z
src/domain/finite_element/finite_element.cpp
SlaybaughLab/Transport
8eb32cb8ae50c92875526a7540350ef9a85bc050
[ "MIT" ]
10
2017-07-06T22:58:59.000Z
2021-03-15T07:01:21.000Z
#include "domain/finite_element/finite_element.hpp" namespace bart::domain::finite_element { template <int dim> auto FiniteElement<dim>::SetCell(const domain::CellPtr<dim> &to_set) -> bool { bool already_set{ false }; if (values_reinit_called_) { already_set = (values_->get_cell()->id() == to_set->id()); }...
30.068966
113
0.735092
SlaybaughLab
88bc4a6f30756e262d4acab589acca2a10e72e0d
1,410
cpp
C++
Minigin/ColliderComponent.cpp
Zakatos/Component-Game-Engine
c52f49ada5c23cdee502f4d3a8ce09392d6bcae9
[ "MIT" ]
null
null
null
Minigin/ColliderComponent.cpp
Zakatos/Component-Game-Engine
c52f49ada5c23cdee502f4d3a8ce09392d6bcae9
[ "MIT" ]
null
null
null
Minigin/ColliderComponent.cpp
Zakatos/Component-Game-Engine
c52f49ada5c23cdee502f4d3a8ce09392d6bcae9
[ "MIT" ]
null
null
null
#include "MiniginPCH.h" #include "ECS/ColliderComponent.h" #include "RendererComponent.h" ColliderComponent::ColliderComponent(const std::string& t) :m_Tag(t) { } ColliderComponent::ColliderComponent(const std::string& t, int xpos, int ypos, int size) :m_Tag(t) { m_Collider.x = xpos; m_Collider.y = ypos; ...
21.692308
88
0.721986
Zakatos
88be67da0af117a229707f23f68cdfac44d90052
189
hh
C++
vpp/core/box2d.hh
jjzhang166/videopp
f1421b16b8ffcefb3d1697460940d868e31ba79d
[ "MIT" ]
624
2015-01-05T16:40:41.000Z
2022-03-01T03:09:43.000Z
vpp/core/box2d.hh
jjzhang166/videopp
f1421b16b8ffcefb3d1697460940d868e31ba79d
[ "MIT" ]
10
2015-01-22T20:50:13.000Z
2018-05-15T10:41:34.000Z
vpp/core/box2d.hh
jjzhang166/videopp
f1421b16b8ffcefb3d1697460940d868e31ba79d
[ "MIT" ]
113
2015-01-19T11:58:35.000Z
2022-03-28T05:15:20.000Z
#ifndef VPP_BOX2D_HH__ # define VPP_BOX2D_HH__ namespace vpp { class box2d { public: box2d(vint2 a, vint2 b); private: vint2 first_; vint2 last_; }; }; #endif
8.217391
28
0.624339
jjzhang166
88bf8710845fd1f475cf7116bac1189f91ac7555
487
cpp
C++
code-examples/cppcoro/io.cpp
schra/presentation-coroutine-workshop
e4290e2499b72327a04062901809353514450968
[ "BSD-3-Clause" ]
8
2019-10-11T07:59:03.000Z
2020-11-09T02:06:17.000Z
code-examples/cppcoro/io.cpp
schra/presentation-coroutine-workshop
e4290e2499b72327a04062901809353514450968
[ "BSD-3-Clause" ]
1
2020-10-15T14:45:34.000Z
2020-10-15T14:45:34.000Z
code-examples/cppcoro/io.cpp
schra/presentation-coroutine-workshop
e4290e2499b72327a04062901809353514450968
[ "BSD-3-Clause" ]
3
2019-05-29T19:53:50.000Z
2020-01-25T22:08:17.000Z
#include <cppcoro/read_only_file.hpp> #include <cppcoro/task.hpp> cppcoro::task<int> count_lines(std::string path) { auto file = co_await cppcoro::read_only_file::open(path); int lineCount = 0; char buffer[1024]; size_t bytesRead; std::uint64_t offset = 0; do { bytesRead = co_await file.read(offset,...
23.190476
67
0.683778
schra
88c09ab4de4d0c9bc17fa28ec94636cc1fbc7bdc
7,317
cpp
C++
Astar.cpp
burflip/belkan
ff4b0516f47d46b337a7af1be8ff22947a36adfc
[ "MIT" ]
null
null
null
Astar.cpp
burflip/belkan
ff4b0516f47d46b337a7af1be8ff22947a36adfc
[ "MIT" ]
null
null
null
Astar.cpp
burflip/belkan
ff4b0516f47d46b337a7af1be8ff22947a36adfc
[ "MIT" ]
null
null
null
/* * Astar.cpp * * Created on: 8 de may. de 2016 * Author: valentin */ #include "Astar.h" #include "Node.h" #include <climits> #include <vector> #include <deque> #include <iostream> #include <cmath> #include <cstdlib> using namespace std; Astar::Astar() { this->ignore_better_choices = false; } Astar::~A...
29.035714
158
0.64398
burflip
88c7062b5b08b56a9f720804dd2b438ca58fade3
1,267
cpp
C++
src/prod/src/ServiceModel/SingleInstanceApplicationUpgradeDescription.cpp
gridgentoo/ServiceFabricAzure
c3e7a07617e852322d73e6cc9819d266146866a4
[ "MIT" ]
2,542
2018-03-14T21:56:12.000Z
2019-05-06T01:18:20.000Z
src/prod/src/ServiceModel/SingleInstanceApplicationUpgradeDescription.cpp
gridgentoo/ServiceFabricAzure
c3e7a07617e852322d73e6cc9819d266146866a4
[ "MIT" ]
994
2019-05-07T02:39:30.000Z
2022-03-31T13:23:04.000Z
src/prod/src/ServiceModel/SingleInstanceApplicationUpgradeDescription.cpp
gridgentoo/ServiceFabricAzure
c3e7a07617e852322d73e6cc9819d266146866a4
[ "MIT" ]
300
2018-03-14T21:57:17.000Z
2019-05-06T20:07:00.000Z
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ #include "stdafx.h" using namespace std; using namespace Common; using namespace Management::Cl...
35.194444
89
0.66693
gridgentoo
88c74c39378a3adb3eb8fb80d7c50d248aecc6d0
721
cpp
C++
Aula24/P1_GrowlingGears/GrowlingGears.cpp
VanessaMMH/ProgComp2021A
03a3e0394b26eb78801246c7d6b7888fe53141bd
[ "BSD-3-Clause" ]
null
null
null
Aula24/P1_GrowlingGears/GrowlingGears.cpp
VanessaMMH/ProgComp2021A
03a3e0394b26eb78801246c7d6b7888fe53141bd
[ "BSD-3-Clause" ]
null
null
null
Aula24/P1_GrowlingGears/GrowlingGears.cpp
VanessaMMH/ProgComp2021A
03a3e0394b26eb78801246c7d6b7888fe53141bd
[ "BSD-3-Clause" ]
null
null
null
#include <bits/stdc++.h> using namespace std; /* link:https://open.kattis.com/problems/growlinggears */ int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); int q; cin >> q; for (int i = 0; i < q; i++) { int n, index; double max = -500000.0; cin >> n; f...
18.973684
51
0.330097
VanessaMMH
88c84d9159cc16011dcbf448c36abe10bf766683
1,848
cpp
C++
Problem/src/SampleProblem.cpp
tut-cc/DiceTilingMeu
d07d6e27370385ff7b4bce48f34f64bb1caa41ee
[ "MIT" ]
8
2015-10-12T05:39:06.000Z
2016-08-20T06:12:26.000Z
Problem/src/SampleProblem.cpp
tut-cc/DiceTilingMeu
d07d6e27370385ff7b4bce48f34f64bb1caa41ee
[ "MIT" ]
null
null
null
Problem/src/SampleProblem.cpp
tut-cc/DiceTilingMeu
d07d6e27370385ff7b4bce48f34f64bb1caa41ee
[ "MIT" ]
null
null
null
#include "SampleProblem.hpp" #include <string> #include <iostream> #include <fstream> #include <cstdlib> SampleProblem::SampleProblem(std::string p) { std::ifstream ifs(p); if (ifs.fail()) { std::cout << "failed" << std::endl; } std::string str; for (int i = 0; i < 32; i++) { ifs >> str; field.push_back(str...
18.29703
75
0.573593
tut-cc
88cd3b4417ca3d4c21482f577a21bedaf034cf88
81,243
cc
C++
mysql-server/storage/innobase/pars/lexyy.cc
silenc3502/MYSQL-Arch-Doc-Summary
fcc6bb65f72a385b9f56debc9b2c00cee5914bae
[ "MIT" ]
null
null
null
mysql-server/storage/innobase/pars/lexyy.cc
silenc3502/MYSQL-Arch-Doc-Summary
fcc6bb65f72a385b9f56debc9b2c00cee5914bae
[ "MIT" ]
null
null
null
mysql-server/storage/innobase/pars/lexyy.cc
silenc3502/MYSQL-Arch-Doc-Summary
fcc6bb65f72a385b9f56debc9b2c00cee5914bae
[ "MIT" ]
null
null
null
#include "univ.i" static char *yytext; #line 2 "lexyy.cc" #line 4 "lexyy.cc" #define YY_INT_ALIGNED short int /* A lexical scanner generated by flex */ #define FLEX_SCANNER #define YY_FLEX_MAJOR_VERSION 2 #define YY_FLEX_MINOR_VERSION 5 #define YY_FLEX_SUBMINOR_VERSION 39 #if YY_FLEX_SUBMINOR_VERSION > 0 #define F...
27.008976
116
0.590611
silenc3502
88cea4245e1afd4b8b01c0337241f46a7b92f1b1
589
cpp
C++
src/semantic/semantic-utils.cpp
noct-lang/noct-bootstrap
6fd5ef91feda665dc3f1d8f5dca6403512ac44be
[ "0BSD" ]
1
2019-07-01T02:02:40.000Z
2019-07-01T02:02:40.000Z
src/semantic/semantic-utils.cpp
noct-lang/noct-bootstrap
6fd5ef91feda665dc3f1d8f5dca6403512ac44be
[ "0BSD" ]
null
null
null
src/semantic/semantic-utils.cpp
noct-lang/noct-bootstrap
6fd5ef91feda665dc3f1d8f5dca6403512ac44be
[ "0BSD" ]
null
null
null
#include "semantic-utils.hpp" #include "semantic-pass.hpp" #include "ast/ast.hpp" namespace Noctis { StdUnorderedSet<QualNameSPtr> ExtractImportModules(AstTree& tree) { class ImportExtractor : public AstSemanticPass { public: ImportExtractor() : AstSemanticPass("import extractor") { } void ...
19
66
0.714771
noct-lang
88cef625917719a69838ff753fbbfb149edf66ee
2,982
cpp
C++
storage/sstable/writer/sharding_sstable_writer.cpp
hjinlin/toft
ebf3ebb3d37e9a59e27b197cefe8fdc3e8810441
[ "BSD-3-Clause" ]
264
2015-01-03T11:50:17.000Z
2022-03-17T02:38:34.000Z
storage/sstable/writer/sharding_sstable_writer.cpp
hjinlin/toft
ebf3ebb3d37e9a59e27b197cefe8fdc3e8810441
[ "BSD-3-Clause" ]
12
2015-04-27T15:17:34.000Z
2021-05-01T04:31:18.000Z
storage/sstable/writer/sharding_sstable_writer.cpp
hjinlin/toft
ebf3ebb3d37e9a59e27b197cefe8fdc3e8810441
[ "BSD-3-Clause" ]
128
2015-02-07T18:13:10.000Z
2022-02-21T14:24:14.000Z
// Copyright (c) 2013, The Toft Authors. // All rights reserved. // // Author: Ye Shunping <yeshunping@gmail.com> #include "toft/storage/sstable/writer/sharding_sstable_writer.h" #include "toft/base/stl_util.h" #include "toft/base/string/format.h" #include "toft/base/string/number.h" #include "toft/hash/fingerprint.h...
35.5
93
0.653588
hjinlin
88d3df327a998aec29ea949377ccf13648683831
15,051
cpp
C++
src/main.cpp
GlyphXTools/chunk-viewer
d5163969e8986d557b6cfbb524279f36235fda02
[ "MIT" ]
7
2017-01-22T09:09:40.000Z
2021-11-13T08:51:31.000Z
src/main.cpp
GlyphXTools/chunk-viewer
d5163969e8986d557b6cfbb524279f36235fda02
[ "MIT" ]
null
null
null
src/main.cpp
GlyphXTools/chunk-viewer
d5163969e8986d557b6cfbb524279f36235fda02
[ "MIT" ]
1
2019-04-07T05:09:11.000Z
2019-04-07T05:09:11.000Z
#define WIN32_LEAN_AND_MEAN #include <windows.h> #include <commdlg.h> #include <commctrl.h> #include <shlobj.h> #include "resource.h" #include <afxres.h> #include <tchar.h> #include <algorithm> #include <iomanip> #include <iostream> #include <sstream> #include <string> #include "ChunkFile.h" #include "Exceptions.h" u...
27.718232
158
0.601156
GlyphXTools
88d3e546ef779b08d698fbd3e2c8f12f22b60a5b
5,049
cpp
C++
samples/macOS/cpp/sample_tools/source/threading/WinThreadImpl.cpp
holgafx/gehtsoft
7bb1dfc23d3b5b45793a85e162bbed2ca963d3ed
[ "Apache-2.0" ]
26
2018-01-11T16:46:15.000Z
2021-05-15T17:20:19.000Z
samples/macOS/cpp/sample_tools/source/threading/WinThreadImpl.cpp
Trading-Lab/Forex-Connect-API-FXCM
0f1b2d0e8ca972ddc83b01acdb74e75d3aef9bf7
[ "Apache-2.0" ]
5
2019-03-07T16:14:59.000Z
2020-06-10T02:35:04.000Z
samples/macOS/cpp/sample_tools/source/threading/WinThreadImpl.cpp
Trading-Lab/Forex-Connect-API-FXCM
0f1b2d0e8ca972ddc83b01acdb74e75d3aef9bf7
[ "Apache-2.0" ]
26
2017-11-01T19:20:30.000Z
2022-02-10T22:10:00.000Z
/* Copyright 2011 Forex Capital Markets LLC Licensed under the Apache License, Version 2.0 (the "License"); you may not use these files 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 agr...
23.16055
105
0.631214
holgafx
88d87eaf52fd28adfa40899cfc5a491398f4e95b
1,209
cpp
C++
src/types/cons.cpp
rationalis-petra/hydra
a1c14e560f5f1c64983468e5fd0be7b32824971d
[ "MIT" ]
2
2021-01-14T11:19:02.000Z
2021-03-07T03:08:08.000Z
src/types/cons.cpp
rationalis-petra/hydra
a1c14e560f5f1c64983468e5fd0be7b32824971d
[ "MIT" ]
null
null
null
src/types/cons.cpp
rationalis-petra/hydra
a1c14e560f5f1c64983468e5fd0be7b32824971d
[ "MIT" ]
null
null
null
#include <string> #include <list> #include "operations/types.hpp" #include "expressions.hpp" #include "types.hpp" #include "utils.hpp" using std::string; using namespace type; using namespace interp; Cons::Cons() { type_car = new Any; type_cdr = new Any; set_invoker(op::mk_cons_type); } Cons::Cons(Type* tcar...
20.491525
58
0.632754
rationalis-petra
88dfe7898f2eb493b0d80f5dbaa13612dd942e84
6,648
cpp
C++
runtime/vm/vm/Vm.cpp
fanx-dev/fanx
902128c44b4b5c236a8b0a49986569097c7ca0aa
[ "AFL-3.0" ]
146
2019-03-18T14:09:46.000Z
2022-01-22T21:58:22.000Z
runtime/vm/vm/Vm.cpp
fanx-dev/fanx
902128c44b4b5c236a8b0a49986569097c7ca0aa
[ "AFL-3.0" ]
11
2019-11-27T19:00:22.000Z
2022-03-24T02:15:46.000Z
runtime/vm/vm/Vm.cpp
fanx-dev/fanx
902128c44b4b5c236a8b0a49986569097c7ca0aa
[ "AFL-3.0" ]
12
2019-06-03T05:06:49.000Z
2021-09-09T05:59:30.000Z
// // FVM.cpp // vm // // Created by yangjiandong on 15/9/27. // Copyright (c) 2015, yangjiandong. All rights reserved. // #include "Vm.h" #include "Env.h" #include <assert.h> #include <atomic> #include "gc/Gc.h" #ifdef FR_LLVM #include "SimpleLLVMJIT.hpp" #endif Fvm *fvm = NULL; Fvm::Fv...
28.655172
114
0.563929
fanx-dev
88e307413a54906a6923035771943e45d0d427d6
3,246
cpp
C++
Solutions/DK_LM3S9B96/DeviceCode/Bootstrap_HAL/CortexM3_functions_bootstrap.cpp
yangjunjiao/NetmfSTM32
62ddb8aa0362b83d2e73f3621a56593988e3620f
[ "Apache-2.0" ]
4
2019-01-21T11:47:53.000Z
2020-06-09T02:14:15.000Z
Solutions/DK_LM3S9B96/DeviceCode/Bootstrap_HAL/CortexM3_functions_bootstrap.cpp
yisea123/NetmfSTM32
62ddb8aa0362b83d2e73f3621a56593988e3620f
[ "Apache-2.0" ]
null
null
null
Solutions/DK_LM3S9B96/DeviceCode/Bootstrap_HAL/CortexM3_functions_bootstrap.cpp
yisea123/NetmfSTM32
62ddb8aa0362b83d2e73f3621a56593988e3620f
[ "Apache-2.0" ]
4
2019-01-21T11:48:00.000Z
2021-05-04T12:37:55.000Z
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // // This file is part of the Microsoft .NET Micro Framework Porting Kit Code Samples and is unsupported. // Cop...
39.585366
200
0.60382
yangjunjiao
88f126095c5f840d7be7903ce6288711c15f9443
2,425
hpp
C++
manager/lib/borealis/library/include/borealis/dropdown.hpp
lunixoid/sys-clk
731d0de5f580a7fa853804e0c776ba2f1623c932
[ "Beerware" ]
492
2019-02-14T16:10:55.000Z
2022-03-31T00:01:27.000Z
manager/lib/borealis/library/include/borealis/dropdown.hpp
lunixoid/sys-clk
731d0de5f580a7fa853804e0c776ba2f1623c932
[ "Beerware" ]
51
2019-02-14T17:31:08.000Z
2022-03-24T00:10:09.000Z
manager/lib/borealis/library/include/borealis/dropdown.hpp
lunixoid/sys-clk
731d0de5f580a7fa853804e0c776ba2f1623c932
[ "Beerware" ]
75
2019-02-14T17:46:32.000Z
2022-03-28T07:19:25.000Z
/* Borealis, a Nintendo Switch UI Library Copyright (C) 2019-2020 natinusala Copyright (C) 2019-2020 p-sam This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 o...
29.938272
125
0.718351
lunixoid
88f40d44b9d726b071d7f417f5c1b5075f28b583
239
hpp
C++
include/dungeon/horizontal_wall.hpp
tanacchi/rogue_game
fd8f655f95932513f6aa63e0c413bbe110a4418a
[ "MIT" ]
10
2018-09-13T14:47:07.000Z
2022-01-10T11:46:12.000Z
include/dungeon/horizontal_wall.hpp
tanacchi/rogue_game
fd8f655f95932513f6aa63e0c413bbe110a4418a
[ "MIT" ]
13
2018-09-18T19:36:32.000Z
2020-11-12T16:26:22.000Z
include/dungeon/horizontal_wall.hpp
tanacchi/rogue_game
fd8f655f95932513f6aa63e0c413bbe110a4418a
[ "MIT" ]
null
null
null
#ifndef INCLUDED_HORIZONTAL_WALL_HPP #define INCLUDED_HORIZONTAL_WALL_HPP #include <dungeon/dungeon_elem.hpp> // '-' class HorizontalWall : public DungeonElem { public: HorizontalWall(); }; #endif // INCLUDED_HORIZONTAL_WALL_HPP
17.071429
41
0.778243
tanacchi
88f6e054906565a72309755b609a32cb3b2d9bd6
2,138
cpp
C++
Basil/src/Renderer/Renderer.cpp
Tamookk/Basil
bdcdf4e6e13e64a34416b4412d366594f9d46f56
[ "Apache-2.0" ]
null
null
null
Basil/src/Renderer/Renderer.cpp
Tamookk/Basil
bdcdf4e6e13e64a34416b4412d366594f9d46f56
[ "Apache-2.0" ]
null
null
null
Basil/src/Renderer/Renderer.cpp
Tamookk/Basil
bdcdf4e6e13e64a34416b4412d366594f9d46f56
[ "Apache-2.0" ]
null
null
null
#include "pch.h" #include "Platform/OpenGL/OpenGLRendererAPI.h" #include "Renderer/Renderer.h" #include "Renderer/Renderer2D.h" namespace Basil { // Set the render API currently in use Unique<RendererAPI> Renderer::rendererAPI = makeUnique<OpenGLRendererAPI>(); // Screate the scene data struct Unique<Renderer::Sc...
22.270833
112
0.721703
Tamookk
88fc0c8a0edad19a664de5dd9329f4a4c959c4e2
372
hpp
C++
src/rover/gps.hpp
2535Rover/RoverSystem
300dd4d754bac2e4caff25ed1da244c109d289be
[ "Apache-2.0" ]
1
2018-10-16T02:32:49.000Z
2018-10-16T02:32:49.000Z
src/rover/gps.hpp
2535Rover/RoverSystem
300dd4d754bac2e4caff25ed1da244c109d289be
[ "Apache-2.0" ]
13
2018-10-23T20:35:10.000Z
2018-11-23T22:44:32.000Z
src/subsystems_computer/gps.hpp
2535Rover/RoverSystem
300dd4d754bac2e4caff25ed1da244c109d289be
[ "Apache-2.0" ]
1
2018-10-16T03:11:39.000Z
2018-10-16T03:11:39.000Z
#include "../network/network.hpp" #include "../util/util.hpp" namespace gps { struct Position { float latitude; float longitude; }; enum class Error { OK, OPEN, GET_ATTR, SET_ATTR }; Error init(const char* device_id, util::Clock* global_clock); Position get_position(); float get_heading();...
13.777778
61
0.680108
2535Rover
88fd4c24ab2707b32cb3ad984c7bc390690e3ce4
1,436
cpp
C++
tests/unit/src/stdts/algorithm.cpp
carlbrown/scraps
78925a738540415ec04b9cbe23cb319421f44978
[ "Apache-2.0" ]
null
null
null
tests/unit/src/stdts/algorithm.cpp
carlbrown/scraps
78925a738540415ec04b9cbe23cb319421f44978
[ "Apache-2.0" ]
null
null
null
tests/unit/src/stdts/algorithm.cpp
carlbrown/scraps
78925a738540415ec04b9cbe23cb319421f44978
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2016 BitTorrent Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
27.09434
82
0.618384
carlbrown
88fe22937c74bbd8d1e82479b5d2cc015d32d1c1
4,237
cc
C++
sparse_operation_kit/kit_cc/kit_cc_infra/src/parameters/param_interface.cc
x-y-z/HugeCTR
17bf942215df60827ece9dc015af5191ef9219b7
[ "Apache-2.0" ]
130
2021-10-11T11:55:28.000Z
2022-03-31T21:53:07.000Z
sparse_operation_kit/kit_cc/kit_cc_infra/src/parameters/param_interface.cc
Teora/HugeCTR
c55a63401ad350669ccfcd374aefd7a5fc879ca2
[ "Apache-2.0" ]
72
2021-10-09T04:59:09.000Z
2022-03-31T11:27:54.000Z
sparse_operation_kit/kit_cc/kit_cc_infra/src/parameters/param_interface.cc
Teora/HugeCTR
c55a63401ad350669ccfcd374aefd7a5fc879ca2
[ "Apache-2.0" ]
29
2021-11-03T22:35:01.000Z
2022-03-30T13:11:59.000Z
/* * Copyright (c) 2021, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
35.016529
102
0.695067
x-y-z
88fe57dc7905b93b0e001c26362393f0d9c90f4c
1,199
hpp
C++
core/src/utils/NoiseUtils.hpp
lonnibesancon/utymap
6d14a3d1386aade8c2755da4abc00269284c90d4
[ "Apache-2.0" ]
1
2019-04-04T14:20:37.000Z
2019-04-04T14:20:37.000Z
core/src/utils/NoiseUtils.hpp
lonnibesancon/utymap
6d14a3d1386aade8c2755da4abc00269284c90d4
[ "Apache-2.0" ]
null
null
null
core/src/utils/NoiseUtils.hpp
lonnibesancon/utymap
6d14a3d1386aade8c2755da4abc00269284c90d4
[ "Apache-2.0" ]
null
null
null
#ifndef UTILS_NOISEUTILS_HPP_DEFINED #define UTILS_NOISEUTILS_HPP_DEFINED #include "math/Vector2.hpp" #include "math/Vector3.hpp" namespace utymap { namespace utils { /// Provides noise generation functions. /// Ported from C# code from here : http ://catlikecoding.com/unity/tutorials/noise/ class NoiseUtils final {...
25.510638
84
0.672227
lonnibesancon
000240dae58cd8e9747a272b41b6cff64dd7fea8
728
cpp
C++
Leetcode/Contains_Duplicate_II.cpp
anishacharya/Cracking-Coding-Interviews
f94e70c240ad9a76eddf22b8f4d5b4185c611a71
[ "MIT" ]
1
2019-03-24T12:35:43.000Z
2019-03-24T12:35:43.000Z
Leetcode/Contains_Duplicate_II.cpp
anishacharya/Cracking-Coding-Interviews
f94e70c240ad9a76eddf22b8f4d5b4185c611a71
[ "MIT" ]
null
null
null
Leetcode/Contains_Duplicate_II.cpp
anishacharya/Cracking-Coding-Interviews
f94e70c240ad9a76eddf22b8f4d5b4185c611a71
[ "MIT" ]
null
null
null
//Given an array of integers and an integer k, find out whether there are two distinct indices i and j in the array such that //nums[i] = nums[j] and the difference between i and j is at most k. class Solution { public: bool containsNearbyDuplicate(vector<int>& nums, int k) { if(nums.size()<=1) ...
26.962963
125
0.483516
anishacharya
0002baa9008ce6d632eddd1c9323b18dacee890a
1,369
cpp
C++
JMap_Xbox.cpp
Gallard88/ROSV_Joystick
de44334526571a3b814bcee18ae873907f38ec57
[ "MIT" ]
null
null
null
JMap_Xbox.cpp
Gallard88/ROSV_Joystick
de44334526571a3b814bcee18ae873907f38ec57
[ "MIT" ]
null
null
null
JMap_Xbox.cpp
Gallard88/ROSV_Joystick
de44334526571a3b814bcee18ae873907f38ec57
[ "MIT" ]
null
null
null
#include <unistd.h> #include <fcntl.h> #include "JMap_Xbox.h" using namespace std; /* * Generix X-Box pad. * 8x Axis * 11x Buttons * */ JMap_Xbox::JMap_Xbox(JoyStickDriver *driver): Joy(driver), Depth(0), IncEdge(false), DecEdge(false) { } float JMap_Xbox::GetVectorValue(ControlVectors vector) { switch ...
15.735632
55
0.558072
Gallard88
322dc8cbfbaafee58b6218555c23ba60c3eefcf3
4,685
cxx
C++
model_server/cmd/src/cmd_exec.cxx
kit-transue/software-emancipation-discover
bec6f4ef404d72f361d91de954eae9a3bd669ce3
[ "BSD-2-Clause" ]
2
2015-11-24T03:31:12.000Z
2015-11-24T16:01:57.000Z
model_server/cmd/src/cmd_exec.cxx
radtek/software-emancipation-discover
bec6f4ef404d72f361d91de954eae9a3bd669ce3
[ "BSD-2-Clause" ]
null
null
null
model_server/cmd/src/cmd_exec.cxx
radtek/software-emancipation-discover
bec6f4ef404d72f361d91de954eae9a3bd669ce3
[ "BSD-2-Clause" ]
1
2019-05-19T02:26:08.000Z
2019-05-19T02:26:08.000Z
/************************************************************************* * Copyright (c) 2015, Synopsys, Inc. * * All rights reserved. * * * * Redistribution and...
31.233333
83
0.560085
kit-transue
322dcbfd67fdb62dd60f01ce589c0914e162206a
2,195
cpp
C++
USBCamera/readAndSave.cpp
sdbzzhaotq/DemoCollection
94cd136e7a67ee60634139886d45b69e1ffd0e4c
[ "MIT" ]
null
null
null
USBCamera/readAndSave.cpp
sdbzzhaotq/DemoCollection
94cd136e7a67ee60634139886d45b69e1ffd0e4c
[ "MIT" ]
null
null
null
USBCamera/readAndSave.cpp
sdbzzhaotq/DemoCollection
94cd136e7a67ee60634139886d45b69e1ffd0e4c
[ "MIT" ]
null
null
null
#include <opencv2/opencv.hpp> #include <iostream> #include <chrono> #include <ctime> #include "MatIO.h" const int ROAD_CAMERA_ID = 0; #define FRAME_WIDTH 1164 #define FRAME_HEIGHT 874 void write_mb() { //VideoCapture capture(ROAD_CAMERA_ID, cv::CAP_V4L2); cv::VideoCapture capture("ns.mov"); capture.set(c...
28.141026
115
0.575399
sdbzzhaotq
322dfc8c02df49b996c3784d8e77b2864bb655eb
531
cpp
C++
source/discord/gateway.cpp
kociap/Discord-
fcbf30d199ec217e0e6289aee96e365de383dbda
[ "MIT" ]
null
null
null
source/discord/gateway.cpp
kociap/Discord-
fcbf30d199ec217e0e6289aee96e365de383dbda
[ "MIT" ]
2
2019-01-15T07:38:54.000Z
2019-01-15T07:44:35.000Z
source/discord/gateway.cpp
kociap/Discord-
fcbf30d199ec217e0e6289aee96e365de383dbda
[ "MIT" ]
1
2018-10-25T12:12:34.000Z
2018-10-25T12:12:34.000Z
#include "gateway.hpp" #include "nlohmann/json.hpp" #include "rpp/rpp.hpp" #include "urls.hpp" namespace discord { namespace gateway { String get_gateway() { rpp::Request req; req.set_verbose(true); req.set_verify_ssl(false); rpp::Response res = req.get(url:...
27.947368
72
0.585687
kociap
322f39bcfd3679a79ea8881ca81d3a6b5db56df2
62
cpp
C++
src/ov2math/ov2math.cpp
bluespeck/ov2math
dd1c8bfe1413c65d1622e201b9f559e9fcfe9cff
[ "MIT" ]
null
null
null
src/ov2math/ov2math.cpp
bluespeck/ov2math
dd1c8bfe1413c65d1622e201b9f559e9fcfe9cff
[ "MIT" ]
null
null
null
src/ov2math/ov2math.cpp
bluespeck/ov2math
dd1c8bfe1413c65d1622e201b9f559e9fcfe9cff
[ "MIT" ]
null
null
null
#include <version.hpp> #include <src/ov2math/vector2.hpp>
8.857143
34
0.709677
bluespeck
323426d24d8492974a62c33e7327e1a5a8b0deb2
76
cpp
C++
test/compile_include_text_view_2.cpp
eightysquirrels/text
d935545648777786dc196a75346cde8906da846a
[ "BSL-1.0" ]
null
null
null
test/compile_include_text_view_2.cpp
eightysquirrels/text
d935545648777786dc196a75346cde8906da846a
[ "BSL-1.0" ]
1
2021-03-05T12:56:59.000Z
2021-03-05T13:11:53.000Z
test/compile_include_text_view_2.cpp
eightysquirrels/text
d935545648777786dc196a75346cde8906da846a
[ "BSL-1.0" ]
3
2019-10-30T18:38:15.000Z
2021-03-05T12:10:13.000Z
#include <boost/text/string_view.hpp> #include <boost/text/string_view.hpp>
25.333333
37
0.789474
eightysquirrels
323cab871b1faef27055bd61b2d3302ef9503464
8,301
cpp
C++
hpvm/test/benchmarks/parboil/benchmarks/lbm/src/hpvm/lbm.cpp
vzyrianov/hpvm-autograd
521cc3b684531548aea75f9fe3cc673aaa4a2e90
[ "Apache-2.0" ]
null
null
null
hpvm/test/benchmarks/parboil/benchmarks/lbm/src/hpvm/lbm.cpp
vzyrianov/hpvm-autograd
521cc3b684531548aea75f9fe3cc673aaa4a2e90
[ "Apache-2.0" ]
null
null
null
hpvm/test/benchmarks/parboil/benchmarks/lbm/src/hpvm/lbm.cpp
vzyrianov/hpvm-autograd
521cc3b684531548aea75f9fe3cc673aaa4a2e90
[ "Apache-2.0" ]
1
2020-03-24T16:01:54.000Z
2020-03-24T16:01:54.000Z
/*************************************************************************** *cr *cr (C) Copyright 2010 The Board of Trustees of the *cr University of Illinois *cr All Rights Reserved *cr ********************************************************************...
30.518382
80
0.471871
vzyrianov
323da5f321daa53d0f824164dfcd12bca9cba176
2,185
cpp
C++
src/main/cpp/subsystems/DriveSubsytem.cpp
FRCTeamPhoenix/RomiTutorial2021
bd0f67e41c8104c1bd908f3145cdce1d6afb6339
[ "BSD-3-Clause", "MIT" ]
null
null
null
src/main/cpp/subsystems/DriveSubsytem.cpp
FRCTeamPhoenix/RomiTutorial2021
bd0f67e41c8104c1bd908f3145cdce1d6afb6339
[ "BSD-3-Clause", "MIT" ]
null
null
null
src/main/cpp/subsystems/DriveSubsytem.cpp
FRCTeamPhoenix/RomiTutorial2021
bd0f67e41c8104c1bd908f3145cdce1d6afb6339
[ "BSD-3-Clause", "MIT" ]
null
null
null
// Copyright (c) FIRST and other WPILib contributors. // Open Source Software; you can modify and/or share it under the terms of // the WPILib BSD license file in the root directory of this project. #include "subsystems/DriveSubsystem.h" #include <wpi/math> DriveSubsystem::DriveSubsystem() { m_gyro.Reset(); // ...
28.376623
105
0.771167
FRCTeamPhoenix
3243202609864bdcaf4f693bc60b9af583121b1a
1,329
cpp
C++
AI/Src/SteeringBehavior_OffsetPursuit.cpp
ArvydasSlekaitis/ReginaGameEngine
4b6af9b5fbf9aad4025b0387260c31019fd8f8c8
[ "MIT" ]
1
2020-09-02T06:00:14.000Z
2020-09-02T06:00:14.000Z
AI/Src/SteeringBehavior_OffsetPursuit.cpp
ArvydasSlekaitis/ReginaGameEngine
4b6af9b5fbf9aad4025b0387260c31019fd8f8c8
[ "MIT" ]
null
null
null
AI/Src/SteeringBehavior_OffsetPursuit.cpp
ArvydasSlekaitis/ReginaGameEngine
4b6af9b5fbf9aad4025b0387260c31019fd8f8c8
[ "MIT" ]
null
null
null
/////////////////////////////////////////////////////////// // SteeringBehavior_OffsetPursuit.cpp // Created on: 11-10-2009 // Last modified: 11-10-2009 // Original author: Arvydas Slekaitis (C) /////////////////////////////////////////////////////////// #include <SteeringBehavior_OffsetPursuit.h> using na...
44.3
252
0.5538
ArvydasSlekaitis
3244dce417f97db8480ae08447b064ee314c37a0
496
cpp
C++
src/NavRouting/NavRoutingEndLocationSetFromSearchMessage.cpp
usamakhan049/assignment
40eb153e8fd74f73ba52ce29417d8220ab744b5d
[ "BSD-2-Clause" ]
69
2017-06-07T10:47:03.000Z
2022-03-24T08:33:33.000Z
src/NavRouting/NavRoutingEndLocationSetFromSearchMessage.cpp
usamakhan049/assignment
40eb153e8fd74f73ba52ce29417d8220ab744b5d
[ "BSD-2-Clause" ]
23
2017-06-07T10:47:00.000Z
2020-07-09T10:31:17.000Z
src/NavRouting/NavRoutingEndLocationSetFromSearchMessage.cpp
usamakhan049/assignment
40eb153e8fd74f73ba52ce29417d8220ab744b5d
[ "BSD-2-Clause" ]
31
2017-08-12T13:19:32.000Z
2022-01-04T20:33:40.000Z
// Copyright eeGeo Ltd (2012-2015), All Rights Reserved #include "NavRoutingEndLocationSetFromSearchMessage.h" namespace ExampleApp { namespace NavRouting { NavRoutingEndLocationSetFromSearchMessage::NavRoutingEndLocationSetFromSearchMessage(SearchNavigationData data) : m_data(data) ...
23.619048
119
0.6875
usamakhan049
324c668049c4a4374cc8ae171461f16914510fab
25,057
cpp
C++
steamfilter/replace.cpp
Pez42/steam-limiter
df95d2460faa0316573013d09db086826b3c825a
[ "BSD-2-Clause" ]
2
2016-02-24T09:49:07.000Z
2019-05-31T14:38:06.000Z
steamfilter/replace.cpp
Pez42/steam-limiter
df95d2460faa0316573013d09db086826b3c825a
[ "BSD-2-Clause" ]
null
null
null
steamfilter/replace.cpp
Pez42/steam-limiter
df95d2460faa0316573013d09db086826b3c825a
[ "BSD-2-Clause" ]
2
2015-09-22T15:53:59.000Z
2020-06-14T12:50:24.000Z
/**@addtogroup Filter Steam limiter filter hook DLL. * @{@file * * This defines a data structure to be used for managing replacement HTTP * content to be used when certain URL patterns are seen. * * @author Nigel Bree <nigel.bree@gmail.com> * * Copyright (C) 2013 Nigel Bree; All Rights Reserved. * ...
31.677623
88
0.563914
Pez42
3251bc8b1cde3aa927595ec3645a882894603708
1,181
cpp
C++
Backtracking/CountN-Queen.cpp
divyanshi23/CB-Algo
cd3702d715d2f269dacd065ad5fc300af86e55d8
[ "MIT" ]
null
null
null
Backtracking/CountN-Queen.cpp
divyanshi23/CB-Algo
cd3702d715d2f269dacd065ad5fc300af86e55d8
[ "MIT" ]
null
null
null
Backtracking/CountN-Queen.cpp
divyanshi23/CB-Algo
cd3702d715d2f269dacd065ad5fc300af86e55d8
[ "MIT" ]
null
null
null
/*You are given an empty chess board of size N*N. Find the number of ways to place N queens on the board, such that no two queens can kill each other in one move. A queen can move vertically, horizontally and diagonally. Input Format A single integer N, denoting the size of chess board. Constraints 1<=N<=11 ...
21.472727
221
0.546994
divyanshi23
32527ad159a454c0af64769e08a4aa0d978a048e
827
cpp
C++
src/Function.cpp
Deukhoofd/ELF_Reader
92b732ea3a351f88d9612293f8b9aa8349c7ec49
[ "MIT" ]
null
null
null
src/Function.cpp
Deukhoofd/ELF_Reader
92b732ea3a351f88d9612293f8b9aa8349c7ec49
[ "MIT" ]
null
null
null
src/Function.cpp
Deukhoofd/ELF_Reader
92b732ea3a351f88d9612293f8b9aa8349c7ec49
[ "MIT" ]
null
null
null
#include "Function.hpp" Function::Function(const File& file, Block* block) { _name = block->GetName(); _fileName = file.GetFileName(); _returnType = ((block->GetAtType() == 0) ? Type() : Type(file, file.GetBlock(block->GetAtType()))); auto c= block->GetNext(); while (c != nullptr){ if (c-...
34.458333
105
0.591294
Deukhoofd
325577c817ca18e1388cf980fdbde926192c8a0f
1,165
cpp
C++
mahbubul-hassan/0-Programming_Contest_DS_Algorithms/7-6-MCM.cpp
fahimfarhan/legendary-coding-odyssey
55289e05aa04f866201c607bed00c505cd9c4df9
[ "MIT" ]
3
2019-07-20T07:26:31.000Z
2020-08-06T09:31:09.000Z
mahbubul-hassan/0-Programming_Contest_DS_Algorithms/7-6-MCM.cpp
fahimfarhan/legendary-coding-odyssey
55289e05aa04f866201c607bed00c505cd9c4df9
[ "MIT" ]
null
null
null
mahbubul-hassan/0-Programming_Contest_DS_Algorithms/7-6-MCM.cpp
fahimfarhan/legendary-coding-odyssey
55289e05aa04f866201c607bed00c505cd9c4df9
[ "MIT" ]
4
2019-06-20T18:43:32.000Z
2020-10-07T16:45:23.000Z
#include <bits/stdc++.h> using namespace std; #define si(x) scanf("%d",&x) #define sf(x) scanf("%f",&x) #define pi(x) printf("%d\n",x) #define pf(x) printf("%.4f\n",x) #define ll long long int #define sll(x) scanf("%I64d",&x); #define pll(x) printf("%-I64d\n",x); int *a; int n; int matrixChainMultiplication(){ ...
17.923077
59
0.453219
fahimfarhan
3255d0cc745c30166df6855a7bee475fa47f1bd8
1,473
cpp
C++
leetcode/0814_binary_tree_pruning.cpp
jacquerie/leetcode
a05e6b832eb0e0740aaff7b2eb3109038ad404bf
[ "MIT" ]
3
2018-05-10T09:56:49.000Z
2020-11-07T18:09:42.000Z
leetcode/0814_binary_tree_pruning.cpp
jacquerie/leetcode
a05e6b832eb0e0740aaff7b2eb3109038ad404bf
[ "MIT" ]
null
null
null
leetcode/0814_binary_tree_pruning.cpp
jacquerie/leetcode
a05e6b832eb0e0740aaff7b2eb3109038ad404bf
[ "MIT" ]
null
null
null
// Copyright (c) 2018 Jacopo Notarstefano #include <cassert> #include <cstddef> using namespace std; struct TreeNode { int val; TreeNode* left; TreeNode* right; explicit TreeNode(int x): val(x), left(NULL), right(NULL) {} }; bool operator==(TreeNode& p, TreeNode& q) { bool left, right; if ...
19.64
64
0.521385
jacquerie
3259e46a5834cf2b69b7d9c3b0c78188b4042656
683
cpp
C++
Mean Inequality.cpp
manu-karenite/Codeforces-Solutions
c963a0186c6530ea8a785780fc4d68ed539e8c6e
[ "MIT" ]
1
2021-04-07T05:13:21.000Z
2021-04-07T05:13:21.000Z
Mean Inequality.cpp
manu-karenite/Codeforces-Solutions
c963a0186c6530ea8a785780fc4d68ed539e8c6e
[ "MIT" ]
null
null
null
Mean Inequality.cpp
manu-karenite/Codeforces-Solutions
c963a0186c6530ea8a785780fc4d68ed539e8c6e
[ "MIT" ]
null
null
null
/* This code is written by Manavesh Narendra E-mail : manu.karenite@gmail.com LinkedIn : https://www.linkedin.com/in/manavesh-narendra-489833196/ */ #include <bits/stdc++.h> using namespace std; int main() { int test; cin>>test; while(test--) { int n; cin>>n; vector<int> n...
17.512821
67
0.445095
manu-karenite
325b92c7534256bb162a8f8c5f5f99d688984ce2
2,778
cpp
C++
Common/util/src/encoding_ansi.cpp
deeptexas-ai/test
f06b798d18f2d53c9206df41406d02647004ce84
[ "MIT" ]
4
2021-10-20T09:18:06.000Z
2022-03-27T05:08:26.000Z
Common/util/src/encoding_ansi.cpp
deeptexas-ai/test
f06b798d18f2d53c9206df41406d02647004ce84
[ "MIT" ]
1
2021-11-05T03:28:41.000Z
2021-11-06T07:48:05.000Z
Common/util/src/encoding_ansi.cpp
deeptexas-ai/test
f06b798d18f2d53c9206df41406d02647004ce84
[ "MIT" ]
1
2021-12-13T16:04:22.000Z
2021-12-13T16:04:22.000Z
/** * \file encoding_ansi.cpp * \brief ANSI 编码转换实现代码 */ #include "pch.h" #include "encoding_ansi.h" namespace dtutil { /** * \brief 获取编码实例 * \return 编码实例 */ Encoding & ANSIEncoding::GetInstance() { static ANSIEncoding ansi; return ansi; } /** * \brief 把 Unicode 字...
21.369231
106
0.559755
deeptexas-ai
325db73319a6247366b8a74c6d1de425ad850af2
1,884
cc
C++
frc971/codelab/basic.cc
AustinSchuh/971-Robot-Code
99abc66fd2d899c0bdab338dc6f57dc5def9be8d
[ "Apache-2.0" ]
39
2021-06-18T03:22:30.000Z
2022-03-21T15:23:43.000Z
frc971/codelab/basic.cc
AustinSchuh/971-Robot-Code
99abc66fd2d899c0bdab338dc6f57dc5def9be8d
[ "Apache-2.0" ]
10
2021-06-18T03:22:19.000Z
2022-03-18T22:14:15.000Z
frc971/codelab/basic.cc
AustinSchuh/971-Robot-Code
99abc66fd2d899c0bdab338dc6f57dc5def9be8d
[ "Apache-2.0" ]
4
2021-08-19T19:20:04.000Z
2022-03-08T07:33:18.000Z
#include "frc971/codelab/basic.h" namespace frc971 { namespace codelab { Basic::Basic(::aos::EventLoop *event_loop, const ::std::string &name) : frc971::controls::ControlLoop<Goal, Position, Status, Output>(event_loop, name) {} void Basic::RunIt...
36.941176
79
0.654459
AustinSchuh
325de760fb323573959be371c3c8d01d3044de2a
6,637
cc
C++
Bucatini.cc
EdoPro98/Bucatini
a904d9a8c48ec90b3dfe9d370ae51f0653b14def
[ "MIT" ]
null
null
null
Bucatini.cc
EdoPro98/Bucatini
a904d9a8c48ec90b3dfe9d370ae51f0653b14def
[ "MIT" ]
null
null
null
Bucatini.cc
EdoPro98/Bucatini
a904d9a8c48ec90b3dfe9d370ae51f0653b14def
[ "MIT" ]
null
null
null
//************************************************** // \file Bucatini.cc // \brief: main() of Bucatini project // \author: Lorenzo Pezzotti (CERN EP-SFT-sim) @lopezzot // \start date: 7 July 2021 //************************************************** // Includers from project files // #include "BucatiniActionInitializa...
32.694581
142
0.706645
EdoPro98
325ec08347b175f1da8ec0babebc75a39ff48c01
1,103
cpp
C++
source/common/xproto/framework/src/plugin/xplugin.cpp
robort-yuan/AI-EXPRESS
56f86d03afbb09f42c21958c8cd9f2f1c6437f48
[ "BSD-2-Clause" ]
98
2020-09-11T13:52:44.000Z
2022-03-23T11:52:02.000Z
source/common/xproto/framework/src/plugin/xplugin.cpp
robort-yuan/AI-EXPRESS
56f86d03afbb09f42c21958c8cd9f2f1c6437f48
[ "BSD-2-Clause" ]
8
2020-10-19T14:23:30.000Z
2022-03-16T01:00:07.000Z
source/common/xproto/framework/src/plugin/xplugin.cpp
robort-yuan/AI-EXPRESS
56f86d03afbb09f42c21958c8cd9f2f1c6437f48
[ "BSD-2-Clause" ]
28
2020-09-17T14:20:35.000Z
2022-01-10T16:26:00.000Z
/*! * ------------------------------------------- * Copyright (c) 2019, Horizon Robotics, Inc. * All rights reserved. * \File xplugin.cpp * \Author Songshan Gong * \Mail songshan.gong@horizon.ai * \Version 1.0.0.0 * \Date 2019-07-30 * \Brief implmentation of xplugin * \DO NOT MODIFY THIS COMME...
25.068182
67
0.652765
robort-yuan
3260f431fd17186a0934bb7500142b1a27bef192
1,472
cpp
C++
test/Core/ListTest.cpp
anisimovsergey/gluino_test
7de141362cafb244841b13b7b86c17d00f550fba
[ "MIT" ]
5
2017-10-07T06:46:23.000Z
2018-12-10T07:14:47.000Z
test/Core/ListTest.cpp
anisimovsergey/gluino_test
7de141362cafb244841b13b7b86c17d00f550fba
[ "MIT" ]
8
2017-01-07T15:01:32.000Z
2017-07-16T20:18:10.000Z
test/Core/ListTest.cpp
anisimovsergey/gluino_test
7de141362cafb244841b13b7b86c17d00f550fba
[ "MIT" ]
4
2017-01-07T14:58:00.000Z
2019-10-30T09:38:53.000Z
#include "Utils/Testing.hpp" #include "Core/List.hpp" #include "Core/Memory.hpp" using namespace Core; namespace { class Content : public Core::IEntity { TYPE_INFO(Content, Core::IEntity, "content") public: explicit Content(int i):i(i) {} int i; }; class ContentList : public Core::List<Con...
20.444444
62
0.629076
anisimovsergey
3263c76c159ab76eaf8c303bfdfb9de5f1a8fbb5
1,444
hpp
C++
cpp/include/manager/robinhood_bot.hpp
algo-trading-kjsce/trading
29a245a16512fd5803168064b45021cd508e7de0
[ "MIT" ]
2
2020-11-08T06:11:35.000Z
2021-09-18T01:44:45.000Z
cpp/include/manager/robinhood_bot.hpp
algo-trading-kjsce/trading
29a245a16512fd5803168064b45021cd508e7de0
[ "MIT" ]
null
null
null
cpp/include/manager/robinhood_bot.hpp
algo-trading-kjsce/trading
29a245a16512fd5803168064b45021cd508e7de0
[ "MIT" ]
1
2021-06-13T02:36:25.000Z
2021-06-13T02:36:25.000Z
/** * @file robinhood_bot.hpp * @author ashwinn76 * @brief * @version 0.1 * @date 2021-02-12 * * @copyright Copyright (c) 2021 * */ #pragma once #include "stock_data.hpp" #include "helper/py_object.hpp" namespace trading { class robinhood_bot { private: python::py_object m_bot{}; // Robinhood Bot ...
21.552239
76
0.631579
algo-trading-kjsce
32660093b2de2e07949a75a10b18c4a94b8dbb74
4,106
hpp
C++
include/item.hpp
hunter-land/humble-user-interface
2a6f9bf7f6c31e51061aa45fc1d0aa04e21b19e4
[ "Apache-2.0" ]
null
null
null
include/item.hpp
hunter-land/humble-user-interface
2a6f9bf7f6c31e51061aa45fc1d0aa04e21b19e4
[ "Apache-2.0" ]
null
null
null
include/item.hpp
hunter-land/humble-user-interface
2a6f9bf7f6c31e51061aa45fc1d0aa04e21b19e4
[ "Apache-2.0" ]
null
null
null
#pragma once #include "./element.hpp" #include "./itemHolder.hpp" extern "C" { #include <SDL2/SDL.h> } #include <vector> namespace lui { /** * \brief A draggable item which can be placed inside itemHolders * * \note Item template type must match the itemHolder's template type for the item to ...
26.836601
138
0.619338
hunter-land
3268d43a8df22768303d546e28afa48c87c0a62f
1,221
hpp
C++
include/common/color_utils.hpp
riscygeek/AntSimulator
b35d1b0e0a3601ec326eb2839fb7551672d036af
[ "MIT" ]
null
null
null
include/common/color_utils.hpp
riscygeek/AntSimulator
b35d1b0e0a3601ec326eb2839fb7551672d036af
[ "MIT" ]
null
null
null
include/common/color_utils.hpp
riscygeek/AntSimulator
b35d1b0e0a3601ec326eb2839fb7551672d036af
[ "MIT" ]
null
null
null
#pragma once #include <SFML/Graphics.hpp> #include "common/math.hpp" #include "common/number_generator.hpp" struct ColorUtils { template<typename T> static sf::Color createColor(T r, T g, T b) { return sf::Color{ std::min(uint8_t{255}, std::max(uint8_t{0}, to<uint8_t>(r))), std::min(ui...
30.525
99
0.581491
riscygeek
326a25b67e681e27ee9bc177f2a0f2babbb38cc9
4,041
hpp
C++
include/desola/profiling/ExpressionGraph.hpp
FrancisRussell/desola
a469428466e4849c7c0e2009a0c50b89184cae01
[ "Apache-2.0" ]
2
2021-12-17T10:46:20.000Z
2021-12-18T11:53:50.000Z
include/desola/profiling/ExpressionGraph.hpp
FrancisRussell/desola
a469428466e4849c7c0e2009a0c50b89184cae01
[ "Apache-2.0" ]
null
null
null
include/desola/profiling/ExpressionGraph.hpp
FrancisRussell/desola
a469428466e4849c7c0e2009a0c50b89184cae01
[ "Apache-2.0" ]
null
null
null
/****************************************************************************/ /* Copyright 2005-2006, Francis Russell */ /* */ /* Licensed under the Apache License, Version 2.0 (the License); */ /* y...
29.49635
116
0.592923
FrancisRussell
326a8bfdcdc201c13317a91c2fbb7621c50878c7
5,309
cpp
C++
src/cvm/defaults.cpp
thomas-pendragon/dablang
f8e1e0835138b6dc6a675da231e176ca20b1347a
[ "MIT" ]
2
2017-06-02T02:55:36.000Z
2017-06-02T22:15:46.000Z
src/cvm/defaults.cpp
thomas-pendragon/dablang
f8e1e0835138b6dc6a675da231e176ca20b1347a
[ "MIT" ]
1
2020-06-19T15:58:33.000Z
2020-06-19T15:58:33.000Z
src/cvm/defaults.cpp
thomas-pendragon/dablang
f8e1e0835138b6dc6a675da231e176ca20b1347a
[ "MIT" ]
1
2017-06-02T22:17:52.000Z
2017-06-02T22:17:52.000Z
#include "cvm.h" #ifndef DAB_PLATFORM_WINDOWS #include <dlfcn.h> #endif #define STR2(s) #s #define STR(s) STR2(s) #ifdef __linux__ #define DAB_LIBC_NAME "libc.so.6" // LINUX #else #define DAB_LIBC_NAME "libc.dylib" // APPLE #endif DabValue DabVM::merge_arrays(const DabValue &arg0, const DabValue &arg1) { auto &...
27.225641
98
0.531362
thomas-pendragon
326ed1406f7c711c77f356ff99e94ab70c1feb1f
2,636
cpp
C++
catkin_ws/src/srrg2_core/srrg2_core/src/examples/field_pack_example.cpp
laaners/progetto-labiagi_pick_e_delivery
3453bfbc1dd7562c78ba06c0f79b069b0a952c0e
[ "MIT" ]
5
2020-03-11T14:36:13.000Z
2021-09-09T09:01:15.000Z
catkin_ws/src/srrg2_core/srrg2_core/src/examples/field_pack_example.cpp
laaners/progetto-labiagi_pick_e_delivery
3453bfbc1dd7562c78ba06c0f79b069b0a952c0e
[ "MIT" ]
1
2020-06-07T17:25:04.000Z
2020-07-15T07:36:10.000Z
catkin_ws/src/srrg2_core/srrg2_core/src/examples/field_pack_example.cpp
laaners/progetto-labiagi_pick_e_delivery
3453bfbc1dd7562c78ba06c0f79b069b0a952c0e
[ "MIT" ]
2
2020-11-30T08:17:53.000Z
2021-06-19T05:07:07.000Z
#include <iostream> #include "srrg_data_structures/field_pack.h" #include <vector> #include <string> #include <sstream> #include "srrg_data_structures/generic_class_method_caller.h" using namespace srrg2_core; using namespace std; using MyFieldPack=FieldPack_<int, string, float>; using MyFieldPackDerived=FieldPackDe...
28.042553
79
0.66692
laaners
326f8f201022daa2b16f257b0f344d04cfa2080d
6,668
cpp
C++
Gui/DataView/DirectConditionGenerator.cpp
WenjieXu/ogs
0cd1b72ec824833bf949a8bbce073c82158ee443
[ "BSD-4-Clause" ]
1
2021-11-21T17:29:38.000Z
2021-11-21T17:29:38.000Z
Gui/DataView/DirectConditionGenerator.cpp
WenjieXu/ogs
0cd1b72ec824833bf949a8bbce073c82158ee443
[ "BSD-4-Clause" ]
null
null
null
Gui/DataView/DirectConditionGenerator.cpp
WenjieXu/ogs
0cd1b72ec824833bf949a8bbce073c82158ee443
[ "BSD-4-Clause" ]
null
null
null
/** * \file * \author Karsten Rink * \date 2012-01-04 * \brief Implementation of the DirectConditionGenerator class. * * \copyright * Copyright (c) 2013, OpenGeoSys Community (http://www.opengeosys.org) * Distributed under a Modified BSD License. * See accompanying file LICENSE.txt o...
34.194872
167
0.678464
WenjieXu
32732877e7abe53c30f32eda347d067269fe883d
6,733
cxx
C++
STEER/ESD/AliESDMuonCluster.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
52
2016-12-11T13:04:01.000Z
2022-03-11T11:49:35.000Z
STEER/ESD/AliESDMuonCluster.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
1,388
2016-11-01T10:27:36.000Z
2022-03-30T15:26:09.000Z
STEER/ESD/AliESDMuonCluster.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
275
2016-06-21T20:24:05.000Z
2022-03-31T13:06:19.000Z
/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Contributors are ...
31.316279
97
0.65023
AllaMaevskaya
32761901f67e4dba8f0328a2acf39ee22b6902e2
889
cpp
C++
tests/source/test_tokenize_quoted_string.cpp
0lru/c2pcss
a641e58e4f8f681feedb5eaf06dc8374b3b24ed6
[ "MIT" ]
null
null
null
tests/source/test_tokenize_quoted_string.cpp
0lru/c2pcss
a641e58e4f8f681feedb5eaf06dc8374b3b24ed6
[ "MIT" ]
null
null
null
tests/source/test_tokenize_quoted_string.cpp
0lru/c2pcss
a641e58e4f8f681feedb5eaf06dc8374b3b24ed6
[ "MIT" ]
null
null
null
#include <catch2/catch.hpp> #include <css/tokenizer/tokenize.h> namespace css::test { namespace { auto xy = R"()"; } TEST_CASE("can parse empty double quoted string", "[tokenize][detail]") { auto input = std::string(R"("")"); auto begin = input.data(); auto end = input.data() + input.size(); REQ...
25.4
85
0.626547
0lru
3277ee831ccf791ce03e8d6d2b7ade4965d08192
2,544
cpp
C++
VisualStudio2013/WinSPP/WinSPP/WinSPPFrm.cpp
ma-laforge/WinSPP
7499a85d9872a2429c87aaa7d67806f2816c7407
[ "MIT" ]
null
null
null
VisualStudio2013/WinSPP/WinSPP/WinSPPFrm.cpp
ma-laforge/WinSPP
7499a85d9872a2429c87aaa7d67806f2816c7407
[ "MIT" ]
null
null
null
VisualStudio2013/WinSPP/WinSPP/WinSPPFrm.cpp
ma-laforge/WinSPP
7499a85d9872a2429c87aaa7d67806f2816c7407
[ "MIT" ]
null
null
null
#include <windows.h> #include "WinSPPFrm.h" #include <msclr/marshal_cppstd.h> namespace WinSPP { //In-elegant refresh all function to update control state: void WinSPPFrm::UpdateControlState() { tbFileName->Enabled = rbFromFile->Checked; } //UpdateControlState void WinSPPFrm::UpdateMetafile(bool displayErrors) { u...
28.909091
94
0.693396
ma-laforge
32792a931f60d8ebaf5e45311ac7a032bfcb33cc
776
hpp
C++
includes/Entity.hpp
LightCollective/OneLight
523678cacdc027efe3d4afa5d2558ad85b739d7f
[ "MIT" ]
null
null
null
includes/Entity.hpp
LightCollective/OneLight
523678cacdc027efe3d4afa5d2558ad85b739d7f
[ "MIT" ]
null
null
null
includes/Entity.hpp
LightCollective/OneLight
523678cacdc027efe3d4afa5d2558ad85b739d7f
[ "MIT" ]
null
null
null
#ifndef ONELIGHT_ENTITY_H #define ONELIGHT_ENTITY_H #include "FluxSprite.hpp" #include "FluxSpriteBatch.hpp" class Entity { public: Entity(); virtual ~Entity(); Flux::Vector2 getPosition(); virtual void setPosition(const Flux::Vector2 &position); std::shared_ptr<Flux::Spri...
21.555556
64
0.628866
LightCollective
32794b2c3827699234606d4d93042d2cf9e8c940
8,017
cpp
C++
submodules/hal/maf/impl/halMafScanDimensions.cpp
pbasting/cactus
833d8ca015deecdfa5d0aca01211632cdaca9e58
[ "MIT-0" ]
null
null
null
submodules/hal/maf/impl/halMafScanDimensions.cpp
pbasting/cactus
833d8ca015deecdfa5d0aca01211632cdaca9e58
[ "MIT-0" ]
null
null
null
submodules/hal/maf/impl/halMafScanDimensions.cpp
pbasting/cactus
833d8ca015deecdfa5d0aca01211632cdaca9e58
[ "MIT-0" ]
null
null
null
/* * Copyright (C) 2012 by Glenn Hickey (hickey@soe.ucsc.edu) * * Released under the MIT license, see LICENSE.txt */ #include <cassert> #include <iostream> #include <stdexcept> #include <sstream> #include <algorithm> #include "halMafScanDimensions.h" using namespace std; using namespace hal; MafScanDimensions::M...
26.458746
80
0.557939
pbasting
327a33491b966234533663c3aa20ceefa3cf84c4
2,980
cpp
C++
markup/mainwindow.cpp
rlbisbe/markup
03b8d706e9fc45586b54470bea9d324ab016020a
[ "MIT" ]
null
null
null
markup/mainwindow.cpp
rlbisbe/markup
03b8d706e9fc45586b54470bea9d324ab016020a
[ "MIT" ]
null
null
null
markup/mainwindow.cpp
rlbisbe/markup
03b8d706e9fc45586b54470bea9d324ab016020a
[ "MIT" ]
null
null
null
#include "mainwindow.h" #include "ui_mainwindow.h" #include "markdownparser.h" #include "document.h" #include "autosaveddocument.h" #include "wordcounter.h" #include <QFileDialog> #include <QTextStream> #include <QSettings> #include <QShortcut> MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) , u...
27.33945
105
0.692953
rlbisbe
3280832dbbd4ecaa3f1434e9f96c7f9d5e0917c1
7,720
cpp
C++
src/main.cpp
moonshadow565/fuckingmanifestdownloader
b362508c424567e76e74239bfed0c7fddfbbf17d
[ "MIT" ]
null
null
null
src/main.cpp
moonshadow565/fuckingmanifestdownloader
b362508c424567e76e74239bfed0c7fddfbbf17d
[ "MIT" ]
null
null
null
src/main.cpp
moonshadow565/fuckingmanifestdownloader
b362508c424567e76e74239bfed0c7fddfbbf17d
[ "MIT" ]
null
null
null
#include "manifest.hpp" #include "file.hpp" #include "error.hpp" #include "cli.hpp" #include "download.hpp" #include <iostream> #include <fstream> #include <set> using namespace rman; struct Main { CLI cli = {}; FileList manifest = {}; std::optional<FileList> upgrade = {}; std::unique_ptr<HttpClient> ...
33.565217
117
0.479793
moonshadow565
3282e77067f5ccaa43f4158b1976bf25571752ef
1,826
cc
C++
src/main/songs.cc
hisahi/malpinx
3fd3630073d5abc6e53aa18e6672fb3265f5da94
[ "MIT" ]
null
null
null
src/main/songs.cc
hisahi/malpinx
3fd3630073d5abc6e53aa18e6672fb3265f5da94
[ "MIT" ]
null
null
null
src/main/songs.cc
hisahi/malpinx
3fd3630073d5abc6e53aa18e6672fb3265f5da94
[ "MIT" ]
null
null
null
/****************************************************************************/ /* */ /* MALPINX SOURCE CODE (C) 2020 SAMPO HIPPELAINEN (HISAHI). */ /* SEE THE LICENSE FILE IN THE SOURCE ROOT DIRECTORY FOR LICENSE INFO. */ ...
24.675676
79
0.467141
hisahi
32845211cfd38ea90ce0f84eb9f9d322d94569b4
187
hpp
C++
projects/codility/niobium2019/include/Niobium.hpp
antaljanosbenjamin/miscellaneous
56d2f0030d1d8ff0dd6dd077c3d1ec981f6c2747
[ "MIT" ]
2
2021-06-24T21:46:56.000Z
2021-09-24T07:51:04.000Z
projects/codility/niobium2019/include/Niobium.hpp
antaljanosbenjamin/miscellaneous
56d2f0030d1d8ff0dd6dd077c3d1ec981f6c2747
[ "MIT" ]
null
null
null
projects/codility/niobium2019/include/Niobium.hpp
antaljanosbenjamin/miscellaneous
56d2f0030d1d8ff0dd6dd077c3d1ec981f6c2747
[ "MIT" ]
null
null
null
#pragma once #include <vector> namespace Niobium { // https://app.codility.com/programmers/task/flipping_matrix/ int solution(std::vector<std::vector<int>> &A); } // namespace Niobium
18.7
61
0.73262
antaljanosbenjamin
3289f377ad108943861e878e6b115b570172d5f8
5,022
cpp
C++
gui/shared/importers/image_importer.cpp
sadisutikku/engine_libs
b9d8aea6218e043162850c092fd32eb930120e15
[ "MIT" ]
null
null
null
gui/shared/importers/image_importer.cpp
sadisutikku/engine_libs
b9d8aea6218e043162850c092fd32eb930120e15
[ "MIT" ]
null
null
null
gui/shared/importers/image_importer.cpp
sadisutikku/engine_libs
b9d8aea6218e043162850c092fd32eb930120e15
[ "MIT" ]
null
null
null
////////////////////////////////////////////////////////////////////// //! MIT License //! Copyright (c) 2022 sadisutikku //! Part of https://github.com/sadisutikku/engine_libs.git ////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////...
30.436364
126
0.686181
sadisutikku
328c535c4b8b2d2bdfc307728a04565b5615aa19
5,153
cpp
C++
software/protoDUNE/rceData/dtm_src/lib/PpiDmaMap.cpp
slaclab/proto-dune
e487ee6d40359b40776098410d7fd302b9631448
[ "BSD-3-Clause-LBNL" ]
null
null
null
software/protoDUNE/rceData/dtm_src/lib/PpiDmaMap.cpp
slaclab/proto-dune
e487ee6d40359b40776098410d7fd302b9631448
[ "BSD-3-Clause-LBNL" ]
2
2017-05-11T04:22:27.000Z
2018-09-18T16:10:29.000Z
software/protoDUNE/rceData/dtm_src/lib/PpiDmaMap.cpp
slaclab/proto-dune
e487ee6d40359b40776098410d7fd302b9631448
[ "BSD-3-Clause-LBNL" ]
2
2017-04-03T21:59:53.000Z
2020-12-13T00:14:20.000Z
#include <stdio.h> #include <string.h> #include <stdlib.h> #include <fcntl.h> #include <string> #include <unistd.h> #include <sys/mman.h> #include <sys/types.h> #include <iostream> #include <iomanip> #include <queue> #include <sys/stat.h> #include "PpiDmaMap.h" using namespace std; PpiDmaMap::PpiDmaMap (uint idx) { ...
25.259804
126
0.632835
slaclab
3295b0730366a18035aa155b35d551cb60075ea1
1,962
cpp
C++
Problems/geeksforgeeks/first-repeating-element/main.cpp
grand87/timus
8edcae276ab74b68fff18da3722460f492534a8a
[ "MIT" ]
null
null
null
Problems/geeksforgeeks/first-repeating-element/main.cpp
grand87/timus
8edcae276ab74b68fff18da3722460f492534a8a
[ "MIT" ]
1
2019-05-09T19:17:00.000Z
2019-05-09T19:17:00.000Z
Problems/geeksforgeeks/first-repeating-element/main.cpp
grand87/timus
8edcae276ab74b68fff18da3722460f492534a8a
[ "MIT" ]
null
null
null
#include <iostream> #include <map> using namespace std; const int MAX_VAL = 1000100; int countApp[MAX_VAL + 1]; int arr[MAX_VAL + 1]; int main() { #ifndef ONLINE_JUDGE freopen("input.txt", "rt", stdin); #endif int t; cin >> t; for (int i = 0; i < t; i++) { map<int, int> positions; ...
26.876712
96
0.453619
grand87
32996bfaec9335f6b2f29e28da28ded7a2b9e1e7
324
cpp
C++
Sources/Graphics/Picture/qt4main/origin.cpp
wurui1994/test
027cef75f98dbb252b322113dacd4a9a6997d84f
[ "MIT" ]
27
2017-12-19T09:15:36.000Z
2021-07-30T13:02:00.000Z
Sources/Graphics/Picture/qt4main/origin.cpp
wurui1994/test
027cef75f98dbb252b322113dacd4a9a6997d84f
[ "MIT" ]
null
null
null
Sources/Graphics/Picture/qt4main/origin.cpp
wurui1994/test
027cef75f98dbb252b322113dacd4a9a6997d84f
[ "MIT" ]
29
2018-04-10T13:25:54.000Z
2021-12-24T01:51:03.000Z
#include <QApplication> #include <QLabel> #include <QPixmap> int main(int argc, char *argv[]) { QApplication a(argc, argv); QLabel label; //C++11 //string path = R"(test.jpg)"; //QPixmap pix(path.c_str()); QPixmap pix(argv[1]); //图片路径 label.setPixmap(pix); label.show(); label.resize(640,480); return a.exec(...
19.058824
32
0.657407
wurui1994
3299c337d5c45106d83004e7bb91ae6c4f89d1e3
32,774
cc
C++
farmhash_golden_test.cc
dietmarkuehl/hashing-demo
006f61c4221c2119c893fcfda8c505c08ed5b006
[ "Apache-2.0" ]
35
2015-03-26T03:38:41.000Z
2022-01-03T04:32:53.000Z
farmhash_golden_test.cc
dietmarkuehl/hashing-demo
006f61c4221c2119c893fcfda8c505c08ed5b006
[ "Apache-2.0" ]
null
null
null
farmhash_golden_test.cc
dietmarkuehl/hashing-demo
006f61c4221c2119c893fcfda8c505c08ed5b006
[ "Apache-2.0" ]
16
2015-03-26T02:53:23.000Z
2021-07-12T12:31:07.000Z
// Copyright 2015 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
26.052464
383
0.801947
dietmarkuehl
3299c5a5c960b8e0e3a203a2fd5acd556c37ff53
18,489
cpp
C++
src/configator.cpp
MickaelBlet/Configator
e5679106d9946885e88b18430562ea4a6b47dbd4
[ "MIT" ]
null
null
null
src/configator.cpp
MickaelBlet/Configator
e5679106d9946885e88b18430562ea4a6b47dbd4
[ "MIT" ]
null
null
null
src/configator.cpp
MickaelBlet/Configator
e5679106d9946885e88b18430562ea4a6b47dbd4
[ "MIT" ]
1
2020-07-14T02:26:16.000Z
2020-07-14T02:26:16.000Z
/** * configator.cpp * * Licensed under the MIT License <http://opensource.org/licenses/MIT>. * Copyright (c) 2020 BLET Mickaël. * * 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 with...
26.679654
112
0.467683
MickaelBlet
329fe9fec81dd232d8f5d189629999932344b660
12,190
cpp
C++
src/select/tcpsocket_impl.cpp
tempbottle/zsummerX
b5a6b306329d6877cb53c1f30b586a2363c7682a
[ "MIT" ]
1
2021-07-14T01:42:21.000Z
2021-07-14T01:42:21.000Z
src/select/tcpsocket_impl.cpp
tempbottle/zsummerX
b5a6b306329d6877cb53c1f30b586a2363c7682a
[ "MIT" ]
null
null
null
src/select/tcpsocket_impl.cpp
tempbottle/zsummerX
b5a6b306329d6877cb53c1f30b586a2363c7682a
[ "MIT" ]
1
2021-07-14T01:42:25.000Z
2021-07-14T01:42:25.000Z
/* * zsummerX License * ----------- * * zsummerX is licensed under the terms of the MIT license reproduced below. * This means that zsummerX is free software and can be used for both academic * and commercial purposes at absolutely no cost. * * * ============================================================...
30.860759
151
0.579655
tempbottle
32a0a7fba84f4162d3de29e78fc6b8c5121fc1a1
5,967
cpp
C++
src/isodata/isodata.cpp
wmotte/toolkid
2a8f82e1492c9efccde9a4935ce3019df1c68cde
[ "MIT" ]
null
null
null
src/isodata/isodata.cpp
wmotte/toolkid
2a8f82e1492c9efccde9a4935ce3019df1c68cde
[ "MIT" ]
null
null
null
src/isodata/isodata.cpp
wmotte/toolkid
2a8f82e1492c9efccde9a4935ce3019df1c68cde
[ "MIT" ]
null
null
null
#include "tkdCmdParser.h" #include "itkImageFileReader.h" #include "itkImageFileWriter.h" #include "itkImage.h" #include "itkTimeProbe.h" #include "IsoDataImage.cpp" /** * ISODATA. */ class IsoData { protected: // Split function; return true if we should split... bool split( IsoDataImage& img, double STDV, unsig...
33.335196
149
0.64002
wmotte
32a2a7171e1f335a70241b41cb2874d2ec40de69
457
hpp
C++
v3/include/AsyncWatchResponse.hpp
chijinxina/etcd-cpp-api
70946a5d4eff340a821096d247031d083fd0148e
[ "BSD-3-Clause" ]
null
null
null
v3/include/AsyncWatchResponse.hpp
chijinxina/etcd-cpp-api
70946a5d4eff340a821096d247031d083fd0148e
[ "BSD-3-Clause" ]
null
null
null
v3/include/AsyncWatchResponse.hpp
chijinxina/etcd-cpp-api
70946a5d4eff340a821096d247031d083fd0148e
[ "BSD-3-Clause" ]
1
2021-07-13T07:19:37.000Z
2021-07-13T07:19:37.000Z
#ifndef __ASYNC_WATCH_HPP__ #define __ASYNC_WATCH_HPP__ #include <grpc++/grpc++.h> #include "proto/rpc.grpc.pb.h" #include "proto/rpc.pb.h" #include "v3/include/V3Response.hpp" using etcdserverpb::WatchRequest; using etcdserverpb::WatchResponse; using etcdserverpb::KV; namespace etcdv3 { class AsyncWatchResponse ...
17.576923
54
0.73523
chijinxina