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
109
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
48.5k
⌀
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
1a6ac5552a549f47aee57f3c80796100b73d6d41
870
cpp
C++
components/agro_mesh/net/resources/version.cpp
thmalmeida/agro_mesh
fbce39d2e08d02495ecd3b55b2e826449b9dc3b7
[ "MIT" ]
2
2021-07-19T12:03:39.000Z
2021-07-22T18:37:45.000Z
components/agro_mesh/net/resources/version.cpp
thmalmeida/agro_mesh
fbce39d2e08d02495ecd3b55b2e826449b9dc3b7
[ "MIT" ]
null
null
null
components/agro_mesh/net/resources/version.cpp
thmalmeida/agro_mesh
fbce39d2e08d02495ecd3b55b2e826449b9dc3b7
[ "MIT" ]
1
2021-07-08T09:07:10.000Z
2021-07-08T09:07:10.000Z
#include "esp_log.h" #include "../coap_engine.hpp" #include "esp_ota_ops.h" #include "../../include/agro/version.hpp" extern const char* RESOURCE_TAG; static void get_version_handler(engine::message const&, engine::response& response, void*) noexcept { ESP_LOGD(RESOURCE_TAG, "Called get version sensor handl...
24.857143
82
0.716092
thmalmeida
1a6bec9f2d021f67c77fe6ff2dfa253a4eb07b84
4,612
cpp
C++
ivarp/test/interval_div.cpp
phillip-keldenich/squares-in-disk
501ebeb00b909b9264a9611fd63e082026cdd262
[ "MIT" ]
null
null
null
ivarp/test/interval_div.cpp
phillip-keldenich/squares-in-disk
501ebeb00b909b9264a9611fd63e082026cdd262
[ "MIT" ]
null
null
null
ivarp/test/interval_div.cpp
phillip-keldenich/squares-in-disk
501ebeb00b909b9264a9611fd63e082026cdd262
[ "MIT" ]
null
null
null
// The code is open source under the MIT license. // Copyright 2019-2020, Phillip Keldenich, TU Braunschweig, Algorithms Group // https://ibr.cs.tu-bs.de/alg // // Permission is hereby granted, free of charge, to any person obtaining a copy of // this software and associated documentation files (the "Software"), to de...
37.803279
116
0.62706
phillip-keldenich
1a6cd7266130616ae4c75dff3db52ba32f934871
3,906
cpp
C++
testing/testwrapper.cpp
kevinfrei/kbfw
7fb714003dde5c16654cee4337f07975911b732a
[ "Unlicense" ]
null
null
null
testing/testwrapper.cpp
kevinfrei/kbfw
7fb714003dde5c16654cee4337f07975911b732a
[ "Unlicense" ]
null
null
null
testing/testwrapper.cpp
kevinfrei/kbfw
7fb714003dde5c16654cee4337f07975911b732a
[ "Unlicense" ]
null
null
null
#include <iostream> #include "dbg/debuglog.h" #include "kbstate/kbstate.h" #include "keymaps/freik68.h" #include "matrix/split_34.h" #include "mocks/mock_keymap.h" #include "mocks/mock_mpu.h" #include "scancode.h" #include "scanner/serial_dual.h" DebugLog* dbg; template <typename A, typename B> void is_equal(A val1,...
27.702128
80
0.58807
kevinfrei
2b2d54a4d62ec2bbf0d6d96517662edac7ab5999
2,254
cpp
C++
Linked List/138. Copy List with Random Pointer.cpp
beckswu/Leetcode
480e8dc276b1f65961166d66efa5497d7ff0bdfd
[ "MIT" ]
138
2020-02-08T05:25:26.000Z
2021-11-04T11:59:28.000Z
Linked List/138. Copy List with Random Pointer.cpp
beckswu/Leetcode
480e8dc276b1f65961166d66efa5497d7ff0bdfd
[ "MIT" ]
null
null
null
Linked List/138. Copy List with Random Pointer.cpp
beckswu/Leetcode
480e8dc276b1f65961166d66efa5497d7ff0bdfd
[ "MIT" ]
24
2021-01-02T07:18:43.000Z
2022-03-20T08:17:54.000Z
/* 138. Copy List with Random Pointer A linked list is given such that each node contains an additional random pointer which could point to any node in the list or null. Return a deep copy of the list. */ /** * Definition for singly-linked list with a random pointer. * struct RandomListNode { * int label; *...
28.175
131
0.529725
beckswu
2b36f923552d5e06d5e8f6fe7bbdf5c24ae916e3
448
cpp
C++
t/except.t.cpp
taboege/tappp-header
e1f8eea83be23903e3db5912742e4b466ebc2831
[ "Artistic-2.0" ]
null
null
null
t/except.t.cpp
taboege/tappp-header
e1f8eea83be23903e3db5912742e4b466ebc2831
[ "Artistic-2.0" ]
null
null
null
t/except.t.cpp
taboege/tappp-header
e1f8eea83be23903e3db5912742e4b466ebc2831
[ "Artistic-2.0" ]
null
null
null
#include <tappp.hpp> #include <vector> #include <stdexcept> #include <cstdlib> using namespace TAP; int main(void) { plan(5); std::vector a{5,10,12}; std::vector b{5,10,15}; is(a[0], 5, "first element is 5"); isnt(a[2], b[2], "last elements differ"); throws<std::out_of_range>([&] { a.at(3); }, "3 out of boun...
17.92
64
0.607143
taboege
2b3828ec8454cce12f5116661b49732892b44fa3
2,936
hh
C++
time.hh
JaviCervera/swan
7bbe5cbcbfc56af91443f87f18cf9dbfba589aab
[ "Zlib" ]
null
null
null
time.hh
JaviCervera/swan
7bbe5cbcbfc56af91443f87f18cf9dbfba589aab
[ "Zlib" ]
null
null
null
time.hh
JaviCervera/swan
7bbe5cbcbfc56af91443f87f18cf9dbfba589aab
[ "Zlib" ]
null
null
null
// note: on windows, you need to link to winmm to use time module // on macos, you need to link to the Carbon framework #ifndef SWAN_TIME_INCLUDED #define SWAN_TIME_INCLUDED #include "strmanip.hh" #if defined(_WIN32) //#define WIN32_LEAN_AND_MEAN //#include <Windows.h> //#include <Mmsystem.h> #elif defined(__APPLE__...
22.584615
104
0.573569
JaviCervera
2b3bcd30d4164f7eb294e4eeec82dabffd83a3cd
1,416
cpp
C++
src/flex_sensor.cpp
R2D2-2018/OBSTACLE_DETECTION
74d830d4ecba4e9c9e2fca7a3dec7d304a66620a
[ "MIT" ]
null
null
null
src/flex_sensor.cpp
R2D2-2018/OBSTACLE_DETECTION
74d830d4ecba4e9c9e2fca7a3dec7d304a66620a
[ "MIT" ]
2
2018-05-21T23:06:14.000Z
2018-06-01T09:04:58.000Z
src/flex_sensor.cpp
R2D2-2018/OBSTACLE_DETECTION
74d830d4ecba4e9c9e2fca7a3dec7d304a66620a
[ "MIT" ]
null
null
null
#include "flex_sensor.hpp" /** * @file flex_sensor.cpp * @brief CPP file for the class flex_sensor which will contain functions to control the flex pressure sensor * https://learn.sparkfun.com/tutorials/flex-sensor-hookup-guide * @author Wouter Dijksta * @date 13-6-2018 * @license M...
32.181818
132
0.633475
R2D2-2018
2b3c72bf271d666033b6d72e43050d46950df5ba
316
hh
C++
packages/driver/Driver.hh
brbass/ibex
5a4cc5b4d6d46430d9667970f8a34f37177953d4
[ "MIT" ]
2
2020-04-13T20:06:41.000Z
2021-02-12T17:55:54.000Z
packages/driver/Driver.hh
brbass/ibex
5a4cc5b4d6d46430d9667970f8a34f37177953d4
[ "MIT" ]
1
2018-10-22T21:03:35.000Z
2018-10-22T21:03:35.000Z
packages/driver/Driver.hh
brbass/ibex
5a4cc5b4d6d46430d9667970f8a34f37177953d4
[ "MIT" ]
3
2019-04-03T02:15:37.000Z
2022-01-04T05:50:23.000Z
#ifndef Driver_hh #define Driver_hh #include <string> /* Create and run transport problem from XML file */ class Driver { public: // Constructor Driver(std::string input_filename); private: void run_problem(); std::string input_filename_; std::string output_filename_; }; #endif
12.64
48
0.68038
brbass
2b459bc7be68bace2227548249f2ba9a41275165
1,064
cc
C++
src/.unfinished/.60_permutation-sequence.cc
q191201771/yoko_leetcode
a29b163169f409856e9c9808890bcb25ca976f78
[ "MIT" ]
2
2018-07-28T06:11:30.000Z
2019-01-15T15:16:54.000Z
src/.unfinished/.60_permutation-sequence.cc
q191201771/yoko_leetcode
a29b163169f409856e9c9808890bcb25ca976f78
[ "MIT" ]
null
null
null
src/.unfinished/.60_permutation-sequence.cc
q191201771/yoko_leetcode
a29b163169f409856e9c9808890bcb25ca976f78
[ "MIT" ]
null
null
null
The set [1,2,3,...,n] contains a total of n! unique permutations. By listing and labeling all of the permutations in order, we get the following sequence for n = 3: "123" "132" "213" "231" "312" "321" Given n and k, return the kth permutation sequence. Note: Given n will be between 1 and 9 inclusive. Given k will b...
21.28
98
0.559211
q191201771
2b50201e3261ec02feccaa6d350af45d47ad636e
718
cpp
C++
1SST/5LW/5task_11.cpp
AVAtarMod/University
3c784a1e109b7a6f6ea495278ec3dc126258625a
[ "BSD-3-Clause" ]
1
2021-07-31T06:55:08.000Z
2021-07-31T06:55:08.000Z
1SST/5LW/5task_11.cpp
AVAtarMod/University-C
e516aac99eabbcbe14d897239f08acf6c8e146af
[ "BSD-3-Clause" ]
1
2020-11-25T12:00:11.000Z
2021-01-13T08:51:52.000Z
1SST/5LW/5task_11.cpp
AVAtarMod/University-C
e516aac99eabbcbe14d897239f08acf6c8e146af
[ "BSD-3-Clause" ]
null
null
null
// Дано натуральное число n (n < 10000). Определить, является ли оно палиндромом // («перевертышем») с учетом четырех цифр. Например, 2222, 6116,0440. #include <iostream> int main(){ int m,counter; printf("\n\nВведите число: "); scanf("%d",&m); for(int n = m; n <= m; n++){ if (n == m){ ...
28.72
80
0.493036
AVAtarMod
2b50e4015b284cf97f6065b747815f547dbab311
2,710
hpp
C++
modules/midi/midi.hpp
MasterQ32/cg-workbench
3d6229b961192689e6dbd0a09ec4b61041ecb155
[ "MIT" ]
5
2017-12-27T12:57:36.000Z
2021-10-02T03:21:40.000Z
modules/midi/midi.hpp
MasterQ32/cg-workbench
3d6229b961192689e6dbd0a09ec4b61041ecb155
[ "MIT" ]
9
2020-09-29T22:40:49.000Z
2020-10-17T20:05:05.000Z
modules/midi/midi.hpp
MasterQ32/cg-workbench
3d6229b961192689e6dbd0a09ec4b61041ecb155
[ "MIT" ]
null
null
null
#ifndef MIDI_HPP #define MIDI_HPP #include <cstdint> #include <vector> #include <functional> struct MIDI { static MIDI & get(); public: static constexpr uint8_t NoteOff = 0x80; static constexpr uint8_t NoteOn = 0x90; static constexpr uint8_t Aftertouch = 0xA0; static constexpr uin...
35.657895
244
0.705904
MasterQ32
2b55ac975ce1d2d9eea6e3cfe54baebfd388bb44
2,313
cpp
C++
Engine/GuiHierarchy.cpp
carlosredolar/R-Engine
4d62a6f0da518322c9f66b999bdce8369aec60fe
[ "MIT" ]
null
null
null
Engine/GuiHierarchy.cpp
carlosredolar/R-Engine
4d62a6f0da518322c9f66b999bdce8369aec60fe
[ "MIT" ]
null
null
null
Engine/GuiHierarchy.cpp
carlosredolar/R-Engine
4d62a6f0da518322c9f66b999bdce8369aec60fe
[ "MIT" ]
null
null
null
#include "GuiHierarchy.h" #include "Libs/ImGui/imgui.h" #include "GameObject.h" #include "ModuleScene.h" #include "Application.h" GuiHierarchy::GuiHierarchy() : GuiWindow() { type = WindowType::HIERARCHY_WINDOW; } GuiHierarchy::~GuiHierarchy() {} void GuiHierarchy::Draw() { if (ImGui::Begin("Hierarchy", &visible...
22.90099
98
0.681799
carlosredolar
2b586a6a106906dfa56ab96d32148e484c8489c8
1,562
hpp
C++
CAD/Files/StackFullException.hpp
BRutan/Cpp
8acbc6c341f49d6d83168ccd5ba49bd6824214f9
[ "MIT" ]
null
null
null
CAD/Files/StackFullException.hpp
BRutan/Cpp
8acbc6c341f49d6d83168ccd5ba49bd6824214f9
[ "MIT" ]
null
null
null
CAD/Files/StackFullException.hpp
BRutan/Cpp
8acbc6c341f49d6d83168ccd5ba49bd6824214f9
[ "MIT" ]
null
null
null
/* StackFullException.hpp Description: *StackFullException derived class for handling issues related to Push() function. Methods: // Constructor/Destructor: *StackFullException(): Default constructor. *StackFullException(const StackException&): Copy constructor. *~StackFullException(): Destructor. // Misc...
25.606557
96
0.601152
BRutan
2b5e6a8c82aa61b971d512fff58cb3e7832f4f24
29,500
cpp
C++
src/familiar.cpp
Celissa/Legacy-Base
027553da16342c4e31cebf5eaad6925fbaa5d5a5
[ "CC-BY-3.0" ]
1
2018-09-16T03:17:50.000Z
2018-09-16T03:17:50.000Z
src/familiar.cpp
Celissa/Legacy-Base
027553da16342c4e31cebf5eaad6925fbaa5d5a5
[ "CC-BY-3.0" ]
null
null
null
src/familiar.cpp
Celissa/Legacy-Base
027553da16342c4e31cebf5eaad6925fbaa5d5a5
[ "CC-BY-3.0" ]
null
null
null
#include "system.h" /* * Investigate Routines for Summon Reagents */ void do_investigate( char_data* ch, char* argument ) { obj_data* obj; bool found = false; species_data* spec; char_data* mob = NULL; if( ch->pcdata == NULL ) { send( ch, "Only players may use the investigate ...
31.483458
136
0.598678
Celissa
2b6028b946e712a86b4987cc4b032a0b30a003b6
24,736
cpp
C++
cpu.cpp
ArthurFerreira2/herve
256d339ea39893a01057770c0adbc4e127ce723b
[ "MIT" ]
1
2021-12-21T17:42:26.000Z
2021-12-21T17:42:26.000Z
cpu.cpp
ArthurFerreira2/herve
256d339ea39893a01057770c0adbc4e127ce723b
[ "MIT" ]
null
null
null
cpu.cpp
ArthurFerreira2/herve
256d339ea39893a01057770c0adbc4e127ce723b
[ "MIT" ]
null
null
null
#include <iostream> #include <iomanip> #include "cpu.h" #include "mem.h" extern Mem mem; uint32_t Cpu::getPC() { return PC; } void Cpu::setPC(uint32_t address) { if (address < (mem.getRamStartAddress() + RAMSIZE)) PC = address; } int32_t Cpu::getReg(int reg){ return (reg > 0 && reg < 31) ? X[reg] : 0; } ...
39.388535
123
0.338616
ArthurFerreira2
2b7044cfe582b6da75afde5cc5c7ed758c2568c6
436
cpp
C++
crossplat.cpp
knoxaramav2/KMake
d212c126fc7af928683a7115e5fd4b929da3f80e
[ "MIT" ]
null
null
null
crossplat.cpp
knoxaramav2/KMake
d212c126fc7af928683a7115e5fd4b929da3f80e
[ "MIT" ]
null
null
null
crossplat.cpp
knoxaramav2/KMake
d212c126fc7af928683a7115e5fd4b929da3f80e
[ "MIT" ]
null
null
null
#include "crossplatform.hpp" #include <stdio.h> using namespace std; string Newline; vector <string> getEnvVar(){ vector <string> paths; //const char * envPath = std::getenv("PATH"); return paths; } void InitializeCrossPlatform(){ #if defined(__WINDOWS) ...
15.034483
50
0.543578
knoxaramav2
2b761be73975eda5213b1f00f65371b9748ac4d3
379
hpp
C++
worker/fuzzer/include/RTC/RTCP/FuzzerFeedbackPsRpsi.hpp
kcking/mediasoup
f385349d0f06fe14a4e38d50f0212b48d588fa32
[ "ISC" ]
4,465
2017-04-05T20:00:24.000Z
2022-03-31T13:27:43.000Z
worker/fuzzer/include/RTC/RTCP/FuzzerFeedbackPsRpsi.hpp
kcking/mediasoup
f385349d0f06fe14a4e38d50f0212b48d588fa32
[ "ISC" ]
617
2017-04-05T21:24:27.000Z
2022-03-31T06:17:25.000Z
worker/fuzzer/include/RTC/RTCP/FuzzerFeedbackPsRpsi.hpp
kcking/mediasoup
f385349d0f06fe14a4e38d50f0212b48d588fa32
[ "ISC" ]
900
2017-04-11T09:25:27.000Z
2022-03-30T21:37:00.000Z
#ifndef MS_FUZZER_RTC_RTCP_FEEDBACK_PS_RPSI #define MS_FUZZER_RTC_RTCP_FEEDBACK_PS_RPSI #include "common.hpp" #include "RTC/RTCP/FeedbackPsRpsi.hpp" namespace Fuzzer { namespace RTC { namespace RTCP { namespace FeedbackPsRpsi { void Fuzz(::RTC::RTCP::FeedbackPsRpsiPacket* packet); } } // namespac...
17.227273
57
0.733509
kcking
2b776cad761757a4412f97cb6f32cc7439a61b57
409
cpp
C++
thief-exit-hash.cpp
Aleshkev/algoritmika
fc95b0c0f318d9eb4ef1fef4cc3c6e85d2417189
[ "MIT" ]
2
2019-05-04T09:37:09.000Z
2019-05-22T18:07:28.000Z
thief-exit-hash.cpp
Aleshkev/algoritmika
fc95b0c0f318d9eb4ef1fef4cc3c6e85d2417189
[ "MIT" ]
null
null
null
thief-exit-hash.cpp
Aleshkev/algoritmika
fc95b0c0f318d9eb4ef1fef4cc3c6e85d2417189
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef intmax_t I; int main() { ios_base::sync_with_stdio(false); cin.tie(nullptr); cout.tie(nullptr); I h = 0; string s; while (cin >> s) { for (char c : s) { h *= 31; h += max((I)0, (I)c - '0'); h %= (I)1000000000000000003; } ...
13.633333
35
0.550122
Aleshkev
2b7aa05faa7480016b27b8f3867d6c6787fb12cc
1,323
cpp
C++
Solutions/src/01_CheckSumInArray.cpp
andersonaraujodl/Daily-codign-problem
7382563b5c443bfd187bbb61133504f67f2df0e8
[ "MIT" ]
null
null
null
Solutions/src/01_CheckSumInArray.cpp
andersonaraujodl/Daily-codign-problem
7382563b5c443bfd187bbb61133504f67f2df0e8
[ "MIT" ]
null
null
null
Solutions/src/01_CheckSumInArray.cpp
andersonaraujodl/Daily-codign-problem
7382563b5c443bfd187bbb61133504f67f2df0e8
[ "MIT" ]
null
null
null
/* 01 - EASY Given a list of numbersand a number k, return whether any two numbers from the list add up to k. For example, given[10, 15, 3, 7] and k of 17, return true since 10 + 7 is 17. Bonus: Can you do this in one pass ? Date: 07/04 Time spent: 15min with bonus - after I realized what they meant with "one pass" (...
24.054545
138
0.656085
andersonaraujodl
2b7e259fcc9333ac106e9533656c1e04a94c2d11
5,249
cpp
C++
step2.build_gstreamer_project/gst_plugin_tutorial/gst-plugins-bad/sys/magicleap/mlaudiowrapper.cpp
zhang-jinyu/Smart-Fruit-Scale-based-on-the-VITIS-AI-and-ZCU104
3b389cbaa0a4f472d9dd5bb6b994a904fdc6c832
[ "Apache-2.0" ]
1
2021-03-05T08:43:24.000Z
2021-03-05T08:43:24.000Z
step2.build_gstreamer_project/gst_plugin_tutorial/gst-plugins-bad/sys/magicleap/mlaudiowrapper.cpp
zhang-jinyu/Smart-Fruit-Scale-based-on-the-VITIS-AI-and-ZCU104
3b389cbaa0a4f472d9dd5bb6b994a904fdc6c832
[ "Apache-2.0" ]
null
null
null
step2.build_gstreamer_project/gst_plugin_tutorial/gst-plugins-bad/sys/magicleap/mlaudiowrapper.cpp
zhang-jinyu/Smart-Fruit-Scale-based-on-the-VITIS-AI-and-ZCU104
3b389cbaa0a4f472d9dd5bb6b994a904fdc6c832
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2019 Collabora Ltd. * Author: Xavier Claessens <xavier.claessens@collabora.com> * * This library 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 * version 2.1 of the License. ...
25.480583
81
0.74719
zhang-jinyu
2b848b081283389603778a8c85de090d549d8223
1,639
cpp
C++
source/284.cpp
narikbi/LeetCode
835215c21d1bd6820b20c253026bcb6f889ed3fc
[ "MIT" ]
2
2017-02-28T11:39:13.000Z
2019-12-07T17:23:20.000Z
source/284.cpp
narikbi/LeetCode
835215c21d1bd6820b20c253026bcb6f889ed3fc
[ "MIT" ]
null
null
null
source/284.cpp
narikbi/LeetCode
835215c21d1bd6820b20c253026bcb6f889ed3fc
[ "MIT" ]
null
null
null
// // 284.cpp // LeetCode // // Created by Narikbi on 23.03.17. // Copyright © 2017 app.leetcode.kz. All rights reserved. // #include <stdio.h> #include <iostream> #include <vector> #include <string> #include <algorithm> #include <deque> #include <queue> #include <set> #include <map> #include <stack> #include <cma...
21.285714
80
0.615009
narikbi
2b85610a190a7ac14ab0fdb6221baca7d92448ea
1,235
cpp
C++
test/ParseDifferentialCorrectionAge_Test.cpp
neuralsandwich/NMEAParser
3bd29601b048b091745312f8a214ab454335c94c
[ "MIT" ]
1
2020-07-19T15:25:57.000Z
2020-07-19T15:25:57.000Z
test/ParseDifferentialCorrectionAge_Test.cpp
neuralsandwich/NMEAParser
3bd29601b048b091745312f8a214ab454335c94c
[ "MIT" ]
null
null
null
test/ParseDifferentialCorrectionAge_Test.cpp
neuralsandwich/NMEAParser
3bd29601b048b091745312f8a214ab454335c94c
[ "MIT" ]
1
2020-07-19T15:33:28.000Z
2020-07-19T15:33:28.000Z
//===-- ParseDifferentialCorrectionAge_Test.cpp -----------------*- C++ -*-===// // // This file is distributed uner the MIT license. See LICENSE.txt for details. // //===----------------------------------------------------------------------===// /// /// \file /// Unit tests for ParseDifferentialCorrectionAge(std::stri...
26.847826
80
0.59919
neuralsandwich
2b8c72588a5c2bb57f214664b41afc5ccb70a11c
6,443
cc
C++
src/core/src/chase/utilities/LogicNotNormalizationVisitor.cc
chase-cps/chase
87db0754bf0eaa94beb10c355794b6d3c6d9e883
[ "BSD-3-Clause" ]
4
2019-06-15T15:33:37.000Z
2022-02-10T19:10:50.000Z
src/core/src/chase/utilities/LogicNotNormalizationVisitor.cc
chase-cps/chase
87db0754bf0eaa94beb10c355794b6d3c6d9e883
[ "BSD-3-Clause" ]
null
null
null
src/core/src/chase/utilities/LogicNotNormalizationVisitor.cc
chase-cps/chase
87db0754bf0eaa94beb10c355794b6d3c6d9e883
[ "BSD-3-Clause" ]
3
2018-02-02T18:14:48.000Z
2021-01-31T12:18:25.000Z
/** * @author <a href="mailto:michele.lora@univr.it">Michele Lora</a> * @date 4/26/2020 * This project is released under the 3-Clause BSD License. * */ #include "../../../include/chase/utilities/LogicNotNormalizationVisitor.hh" #include "representation.hh" #include "utilities/Factory.hh"...
37.242775
79
0.369704
chase-cps
2b8dd68b4ad53e60c8f9012da2e1cfbac471ecf8
782
cpp
C++
Program/Greedy Algorithm/Greedy_ActivitySelectionProblem.cpp
anurag-singh2001/Algo_Engineering
58345da47378213c3b383ac3cdfdd5e829faee63
[ "MIT" ]
4
2020-12-21T18:33:46.000Z
2022-02-14T19:57:01.000Z
Program/Greedy Algorithm/Greedy_ActivitySelectionProblem.cpp
anurag-singh2001/Algo_Engineering
58345da47378213c3b383ac3cdfdd5e829faee63
[ "MIT" ]
5
2021-08-13T08:52:43.000Z
2021-10-08T06:28:21.000Z
Program/Greedy Algorithm/Greedy_ActivitySelectionProblem.cpp
anurag-singh2001/Algo_Engineering
58345da47378213c3b383ac3cdfdd5e829faee63
[ "MIT" ]
7
2021-09-30T18:23:36.000Z
2021-10-08T05:19:18.000Z
#include<iostream> #include<vector> #include<algorithm> using namespace std; int main() { int n; cout<<"No of Activities: "; cin>>n; cout<<endl; vector<vector<int>>v; for(int i=0; i<n; i++){ int start, endd; cin>>start>>endd; v.push_back({start, endd}); } sort(v....
20.578947
63
0.461637
anurag-singh2001
2b8e05f66d3c86f570ea4fb63bd7c3d2c5d87c56
398
hpp
C++
clePlatformManager.hpp
StRigaud/swig-sandbox
27d3cb111201f333f2ba7d3be7b4cac2f9265244
[ "Apache-2.0" ]
null
null
null
clePlatformManager.hpp
StRigaud/swig-sandbox
27d3cb111201f333f2ba7d3be7b4cac2f9265244
[ "Apache-2.0" ]
null
null
null
clePlatformManager.hpp
StRigaud/swig-sandbox
27d3cb111201f333f2ba7d3be7b4cac2f9265244
[ "Apache-2.0" ]
null
null
null
#ifndef __clePlatformManager_h #define __clePlatformManager_h #include "clic.hpp" #include <vector> namespace clic { class PlatformManager { private: std::vector<cl::Platform> m_PlatformList; public: PlatformManager(); ~PlatformManager(); std::vector<cl::Platform> GetPlatforms(); std::str...
14.214286
45
0.71608
StRigaud
2b913c4d763a27d90a02daf680d7f7d4032bb73e
2,792
cpp
C++
fon9/FlowControl_UT.cpp
fonwin/Plan
3bfa9407ab04a26293ba8d23c2208bbececb430e
[ "Apache-2.0" ]
21
2019-01-29T14:41:46.000Z
2022-03-11T00:22:56.000Z
fon9/FlowControl_UT.cpp
fonwin/Plan
3bfa9407ab04a26293ba8d23c2208bbececb430e
[ "Apache-2.0" ]
null
null
null
fon9/FlowControl_UT.cpp
fonwin/Plan
3bfa9407ab04a26293ba8d23c2208bbececb430e
[ "Apache-2.0" ]
9
2019-01-27T14:19:33.000Z
2022-03-11T06:18:24.000Z
// \file fon9/FlowControl_UT.cpp // \author fonwinz@gmail.com #define _CRT_SECURE_NO_WARNINGS #include "fon9/FlowControlCalc.hpp" #include "fon9/FlowCounter.hpp" #include "fon9/TestTools.hpp" // 時間必須能被 segInterval 整除, 才能正確控制測試時的「時間分割」位置. const fon9::TimeStamp kStartTime; // 流量 2 秒, 極限 80(一般網路流量應 * 1000), // 檢測密度 2/...
45.032258
94
0.683739
fonwin
2b957b55cf9f268eab86d7d02d8f73e4062505b9
522
cpp
C++
hw4/hw4/runway.cpp
moelatt/ECS36B_HW-files
368275bb1012651fd4ad9367f12edeaa8f635dc7
[ "MIT" ]
1
2020-01-13T08:22:50.000Z
2020-01-13T08:22:50.000Z
hw4/hw4/runway.cpp
moelatt/ECS36B_HW-files
368275bb1012651fd4ad9367f12edeaa8f635dc7
[ "MIT" ]
null
null
null
hw4/hw4/runway.cpp
moelatt/ECS36B_HW-files
368275bb1012651fd4ad9367f12edeaa8f635dc7
[ "MIT" ]
null
null
null
// Moe Ko Latt // ID: 915866164 #include "Runway.h" #include <cstdlib> Runway::Runway(std::string s) : site_number_(s.substr(0,10)), name_(s.substr(13,7)), length_(convert_length(s.substr(20,5))){} std::string Runway::site_number(void) const { return s...
30.705882
73
0.62069
moelatt
2ba36cfb5a8751ed1068123df0e78c90cba94a92
3,103
hpp
C++
Official Windows Platform Sample/Windows 8.1 desktop samples/[C++]-Windows 8.1 desktop samples/XmlLite mixed-content file reader sample/C++/FileStreamWithEPending.hpp
zzgchina888/msdn-code-gallery-microsoft
21cb9b6bc0da3b234c5854ecac449cb3bd261f29
[ "MIT" ]
8
2017-04-30T17:38:27.000Z
2021-11-29T00:59:03.000Z
Samples/XmlLiteNonBlockingInterleavedXmlReader/cpp/FileStreamWithEPending.hpp
TomeSq/Windows-classic-samples
96f883e4c900948e39660ec14a200a5164a3c7b7
[ "MIT" ]
1
2022-03-15T04:21:41.000Z
2022-03-15T04:21:41.000Z
Samples/XmlLiteNonBlockingInterleavedXmlReader/cpp/FileStreamWithEPending.hpp
TomeSq/Windows-classic-samples
96f883e4c900948e39660ec14a200a5164a3c7b7
[ "MIT" ]
2
2020-08-11T13:21:49.000Z
2021-09-01T10:41:51.000Z
#pragma once #include <Objidl.h> #pragma warning(disable : 4127) // conditional expression is constant #define CHKHR(stmt) do { hr = (stmt); if (FAILED(hr)) goto CleanUp; } while(0) #define HR(stmt) do { hr = (stmt); goto CleanUp; } while(0) #define ASSERT(stmt) do { if(!(stmt)...
33.365591
143
0.705769
zzgchina888
2ba6414175a8afcf2d04d001c99bef0e43aae1ad
388
cpp
C++
58A-chatRoom.cpp
utkuozbudak/Codeforces
bf0b58604f9150f83356a8633407f873b1a49164
[ "MIT" ]
1
2020-02-29T20:01:03.000Z
2020-02-29T20:01:03.000Z
58A-chatRoom.cpp
utkuozbudak/Codeforces
bf0b58604f9150f83356a8633407f873b1a49164
[ "MIT" ]
null
null
null
58A-chatRoom.cpp
utkuozbudak/Codeforces
bf0b58604f9150f83356a8633407f873b1a49164
[ "MIT" ]
null
null
null
#include <iostream> #include "string" using namespace std; int main(int argc, const char * argv[]) { string s, str = "hello"; cin>>s; int pos = 0, count = 0; for(int i=0;i<s.length();i++) { if(s[i] == str[pos]) { count++; pos++; } } ...
15.52
39
0.440722
utkuozbudak
2ba95ac20ee2c18c2c776022b61ce5bb7394ec90
1,066
cpp
C++
src/SimpleBK.cpp
ajmalk/RIGOR-cpp
19300c2bd7d7a963d16ebd6b2544eb6e09967520
[ "MIT" ]
null
null
null
src/SimpleBK.cpp
ajmalk/RIGOR-cpp
19300c2bd7d7a963d16ebd6b2544eb6e09967520
[ "MIT" ]
null
null
null
src/SimpleBK.cpp
ajmalk/RIGOR-cpp
19300c2bd7d7a963d16ebd6b2544eb6e09967520
[ "MIT" ]
null
null
null
// // SimpleBK.cpp // rigor // // Created by Ajmal Kunnummal on 4/24/15. // // #include "SimpleBK.h" #include "graph.h" #include "AbstractGraph.h" using namespace std; //SimpleBK::SimpleBK(AbstractGraph &graph) : //bk_graph(RigorGraph(graph.spixels.size(), graph.pairwise->size())) { // // bk_graph.add_node(gra...
26
73
0.617261
ajmalk
2bac414c2d9049fe0d242dead8c7d71f6858c548
80
cpp
C++
src/Render/Shader/ShaderLibrary.cpp
Thombrom/Minesweeper
14ccb00ac9424ae6f30dfc7e0da3e385529c243b
[ "MIT" ]
null
null
null
src/Render/Shader/ShaderLibrary.cpp
Thombrom/Minesweeper
14ccb00ac9424ae6f30dfc7e0da3e385529c243b
[ "MIT" ]
null
null
null
src/Render/Shader/ShaderLibrary.cpp
Thombrom/Minesweeper
14ccb00ac9424ae6f30dfc7e0da3e385529c243b
[ "MIT" ]
null
null
null
#include "ShaderLibrary.h" std::map<ShaderType, Shader> ShaderLibrary::library;
26.666667
52
0.7875
Thombrom
ad9c6fe70db421d2306661f1dd99caa9667d88be
2,227
hpp
C++
survival_data copy/boost/statistics/survival/data/meta/failure_random.hpp
rogard/boost_sandbox_statistics
16aacbc716a31a9f7bb6c535b1c90dc343282a23
[ "BSL-1.0" ]
null
null
null
survival_data copy/boost/statistics/survival/data/meta/failure_random.hpp
rogard/boost_sandbox_statistics
16aacbc716a31a9f7bb6c535b1c90dc343282a23
[ "BSL-1.0" ]
null
null
null
survival_data copy/boost/statistics/survival/data/meta/failure_random.hpp
rogard/boost_sandbox_statistics
16aacbc716a31a9f7bb6c535b1c90dc343282a23
[ "BSL-1.0" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////// // statistics::survival::data::meta::failure_random.hpp // // // // Copyright 2009 Erwann Rogard. Distributed under the Boost // ...
39.070175
79
0.56758
rogard
ad9ea3fc403e0364d0346c2f365d338749d11f37
3,562
cpp
C++
Source/joi2017yo/joi2017yo_f.cpp
Ryohei222/Competitive-Programming
f14d215972cbe2b7e4cd835fc2aaa7670357bb93
[ "MIT" ]
1
2018-11-25T21:58:43.000Z
2018-11-25T21:58:43.000Z
Source/joi2017yo/joi2017yo_f.cpp
Ryohei222/Competitive-Programming
f14d215972cbe2b7e4cd835fc2aaa7670357bb93
[ "MIT" ]
1
2018-11-30T10:57:52.000Z
2018-11-30T10:57:52.000Z
Source/joi2017yo/joi2017yo_f.cpp
Ryohei222/Competitive-Programming
f14d215972cbe2b7e4cd835fc2aaa7670357bb93
[ "MIT" ]
1
2018-12-04T05:40:25.000Z
2018-12-04T05:40:25.000Z
#include <iostream> #include <algorithm> #include <functional> #include <string> #include <vector> #include <set> #include <queue> #include <stack> #include <numeric> #include <bitset> #include <map> #include <set> #include <list> #include <unordered_set> #include <unordered_map> #include <stdlib.h> using namespace st...
28.725806
151
0.547445
Ryohei222
ad9f016114b3ea1909f24d353a7a655d8792ed0e
1,169
hpp
C++
libs/core/include/fcppt/math/detail/structure_cast.hpp
freundlich/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
13
2015-02-21T18:35:14.000Z
2019-12-29T14:08:29.000Z
libs/core/include/fcppt/math/detail/structure_cast.hpp
cpreh/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
5
2016-08-27T07:35:47.000Z
2019-04-21T10:55:34.000Z
libs/core/include/fcppt/math/detail/structure_cast.hpp
freundlich/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
8
2015-01-10T09:22:37.000Z
2019-12-01T08:31:12.000Z
// Copyright Carl Philipp Reh 2009 - 2021. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef FCPPT_MATH_DETAIL_STRUCTURE_CAST_HPP_INCLUDED #define FCPPT_MATH_DETAIL_STRUCTURE_CAST_HPP_...
32.472222
97
0.754491
freundlich
ada7b42530131dafe64931d3c86158500737d467
3,235
hpp
C++
test/unit/module/real/combinatorial/rising_factorial/pedantic/rising_factorial.hpp
orao/eve
a8bdc6a9cab06d905e8749354cde63776ab76846
[ "MIT" ]
null
null
null
test/unit/module/real/combinatorial/rising_factorial/pedantic/rising_factorial.hpp
orao/eve
a8bdc6a9cab06d905e8749354cde63776ab76846
[ "MIT" ]
null
null
null
test/unit/module/real/combinatorial/rising_factorial/pedantic/rising_factorial.hpp
orao/eve
a8bdc6a9cab06d905e8749354cde63776ab76846
[ "MIT" ]
null
null
null
//================================================================================================== /** EVE - Expressive Vector Engine Copyright : EVE Contributors & Maintainers SPDX-License-Identifier: MIT **/ //================================================================================================== #...
62.211538
120
0.618238
orao
adaff1f3ebfec39eead84287461e218263f31adf
12,109
cpp
C++
src/Chip8.cpp
azadad96/chip8_emulator
fed45202269fe7d41692f05144c8f04a5c97fb04
[ "MIT" ]
null
null
null
src/Chip8.cpp
azadad96/chip8_emulator
fed45202269fe7d41692f05144c8f04a5c97fb04
[ "MIT" ]
null
null
null
src/Chip8.cpp
azadad96/chip8_emulator
fed45202269fe7d41692f05144c8f04a5c97fb04
[ "MIT" ]
null
null
null
#include "Chip8.hpp" Chip8::Chip8() { memset(memory, 0, sizeof(memory)); memset(V, 0, sizeof(V)); I = 0; pc = 0x200; memset(stack, 0, sizeof(stack)); stackpointer = 0; delay_timer = 0; sound_timer = 0; halted = false; display = new Display(); drawflag = false; loadF...
26.096983
80
0.305228
azadad96
adb61a0e91c8c32833eaeec4a9343b592297d9e5
1,017
cpp
C++
ds/bit.cpp
pzq-loves-qwq/OI
8a609536b1e99b7d099bd604d886a1b036b36210
[ "MIT" ]
null
null
null
ds/bit.cpp
pzq-loves-qwq/OI
8a609536b1e99b7d099bd604d886a1b036b36210
[ "MIT" ]
null
null
null
ds/bit.cpp
pzq-loves-qwq/OI
8a609536b1e99b7d099bd604d886a1b036b36210
[ "MIT" ]
null
null
null
#include <stdio.h> #include <string.h> #include <algorithm> // P3374 // modify(i, k) adds k to position i // query(i) queries the sum of [1, i] typedef long long ll; const int N = 5e5 + 5; inline int lowbit(int n) { return n & -n; } struct BIT { int n; ll tree[N]; inline BIT() {} inline BIT(int...
15.890625
60
0.425762
pzq-loves-qwq
adb9ac602f3e40bfda06495dbac12bbb28d9ecae
169
hh
C++
src/sched/common/mem_callbacks.hh
jkunstwald/sched
0d979e1bfdfdc642dda1d1b998a98cd335ebf8b6
[ "MIT" ]
null
null
null
src/sched/common/mem_callbacks.hh
jkunstwald/sched
0d979e1bfdfdc642dda1d1b998a98cd335ebf8b6
[ "MIT" ]
null
null
null
src/sched/common/mem_callbacks.hh
jkunstwald/sched
0d979e1bfdfdc642dda1d1b998a98cd335ebf8b6
[ "MIT" ]
null
null
null
#pragma once #include <cstdlib> namespace sched { struct MemCallbacks { void* (*alloc_fn)(size_t amount) = ::malloc; void (*free_fn)(void* ptr) = ::free; }; }
13
48
0.639053
jkunstwald
adbb6edccfb5d252a1036fc6bba59a186f41e116
572
hh
C++
src/video/SDLOffScreenSurface.hh
D15C0DE/openMSX
5119a9657de4b82115c745f670cdc55dc7363133
[ "Naumen", "Condor-1.1", "MS-PL" ]
320
2015-06-16T20:32:33.000Z
2022-03-26T17:03:27.000Z
src/video/SDLOffScreenSurface.hh
D15C0DE/openMSX
5119a9657de4b82115c745f670cdc55dc7363133
[ "Naumen", "Condor-1.1", "MS-PL" ]
2,592
2015-05-30T12:12:21.000Z
2022-03-31T17:16:15.000Z
src/video/SDLOffScreenSurface.hh
D15C0DE/openMSX
5119a9657de4b82115c745f670cdc55dc7363133
[ "Naumen", "Condor-1.1", "MS-PL" ]
74
2015-06-18T19:51:15.000Z
2022-03-24T15:09:33.000Z
#ifndef SDLOFFSCREENSURFACE_HH #define SDLOFFSCREENSURFACE_HH #include "SDLOutputSurface.hh" #include "SDLSurfacePtr.hh" #include "MemBuffer.hh" #include "aligned.hh" namespace openmsx { class SDLOffScreenSurface final : public SDLOutputSurface { public: explicit SDLOffScreenSurface(const SDL_Surface& prototype); ...
19.066667
60
0.795455
D15C0DE
adbf9cf64f35c1f1e946a1069df1058ee9ff99f6
2,826
cpp
C++
StringTokenizer.cpp
ddag/mylib
f2275a5a32c6255b41b27036dc792192e85e392c
[ "MIT" ]
1
2019-03-13T14:28:05.000Z
2019-03-13T14:28:05.000Z
StringTokenizer.cpp
ddag/mylib
f2275a5a32c6255b41b27036dc792192e85e392c
[ "MIT" ]
null
null
null
StringTokenizer.cpp
ddag/mylib
f2275a5a32c6255b41b27036dc792192e85e392c
[ "MIT" ]
null
null
null
/************************************************************************** Copyright (c) 2003 Donald Gobin 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 t...
35.325
91
0.680113
ddag
adc896aa1457b6e972f869dd28f30f861f278d82
8,029
cpp
C++
source/glbackend/hw_draw2d.cpp
Talon1024/Raze
d92f56f36f246f12ea4012b3f9d5eb6c4abe0070
[ "RSA-MD" ]
null
null
null
source/glbackend/hw_draw2d.cpp
Talon1024/Raze
d92f56f36f246f12ea4012b3f9d5eb6c4abe0070
[ "RSA-MD" ]
null
null
null
source/glbackend/hw_draw2d.cpp
Talon1024/Raze
d92f56f36f246f12ea4012b3f9d5eb6c4abe0070
[ "RSA-MD" ]
null
null
null
/* ** hw_draw2d.cpp ** 2d drawer Renderer interface ** **--------------------------------------------------------------------------- ** Copyright 2018-2019 Christoph Oelckers ** All rights reserved. ** ** Redistribution and use in source and binary forms, with or without ** modification, are permitted provided that the...
30.880769
243
0.690497
Talon1024
adce5c6f66a53dd9aaa95c34674d8f6b9fcaeae9
42
hpp
C++
src/boost_test_tools_assertion.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_test_tools_assertion.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_test_tools_assertion.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/test/tools/assertion.hpp>
21
41
0.785714
miathedev
adce702c006da991198824507c750c371c99d513
13,901
cpp
C++
components/pango_video/src/drivers/ffmpeg_output.cpp
Erick-Mendez/Pangolin
d028db4720e3f2477b283667d5d62297ac398cdb
[ "MIT" ]
1,623
2015-01-22T23:47:54.000Z
2022-03-30T07:19:48.000Z
components/pango_video/src/drivers/ffmpeg_output.cpp
Erick-Mendez/Pangolin
d028db4720e3f2477b283667d5d62297ac398cdb
[ "MIT" ]
613
2015-01-14T13:12:32.000Z
2022-03-24T10:46:53.000Z
components/pango_video/src/drivers/ffmpeg_output.cpp
Erick-Mendez/Pangolin
d028db4720e3f2477b283667d5d62297ac398cdb
[ "MIT" ]
807
2015-02-17T12:23:04.000Z
2022-03-27T08:12:54.000Z
// It is impossible to keep up with ffmpeg deprecations, so ignore these warnings. #if defined(__GNUC__) # pragma GCC diagnostic ignored "-Wdeprecated" # pragma GCC diagnostic ignored "-Wdeprecated-declarations" #endif #include <pangolin/video/drivers/ffmpeg_output.h> #include <pangolin/factory/factory_registry.h> ...
31.956322
157
0.632041
Erick-Mendez
adcfb3b371c322a4ec5b3b8ec198190f401d4141
17,148
cpp
C++
Source/modules/source/MFP_reactions.cpp
darylbond/cerberus
a1b99f6b50ba6876d4705f26e6be98ed6e1c5c6a
[ "MIT" ]
5
2021-05-10T01:21:52.000Z
2022-03-10T17:26:41.000Z
Source/modules/source/MFP_reactions.cpp
darylbond/cerberus
a1b99f6b50ba6876d4705f26e6be98ed6e1c5c6a
[ "MIT" ]
3
2021-05-26T01:12:12.000Z
2021-12-14T00:34:06.000Z
Source/modules/source/MFP_reactions.cpp
darylbond/cerberus
a1b99f6b50ba6876d4705f26e6be98ed6e1c5c6a
[ "MIT" ]
3
2021-05-11T02:45:27.000Z
2021-09-06T12:08:23.000Z
#include "MFP_reactions.H" #include "MFP_global.H" using GD = GlobalData; std::string Ionisation::tag = "ionisation"; bool Ionisation::registered = GetSourceTermFactory().Register(Ionisation::tag, SourceTermBuilder<Ionisation>); Ionisation::Ionisation(){} Ionisation::Ionisation(const sol::table& def) { name =...
33.55773
256
0.609109
darylbond
add4121e3db7e70b0bf4b4f30058c77718b89db7
9,780
cc
C++
src/hci.cc
jacklund/btle.js
8ba826353e835e2fbf0f52e0c47334fd744d4e0d
[ "MIT" ]
12
2015-01-22T18:38:18.000Z
2021-03-17T22:09:45.000Z
src/hci.cc
jacklund/btle.js
8ba826353e835e2fbf0f52e0c47334fd744d4e0d
[ "MIT" ]
6
2015-01-14T23:19:17.000Z
2018-06-25T08:56:28.000Z
src/hci.cc
jacklund/btle.js
8ba826353e835e2fbf0f52e0c47334fd744d4e0d
[ "MIT" ]
2
2015-06-27T21:25:51.000Z
2015-07-09T17:37:17.000Z
#include <sys/ioctl.h> #include <sys/errno.h> #include <bluetooth/bluetooth.h> #include <bluetooth/hci.h> #include <bluetooth/hci_lib.h> #include <node_buffer.h> #include "debug.h" #include "hci.h" #include "util.h" #define HCI_DEVICE_ID 0 #define DEFAULT_TIMEOUT 1000 using namespace v8; using namespace node; HCI::...
26.219839
104
0.647035
jacklund
add468fc83402e195c0ecaac2383c678f11b71b1
4,288
cpp
C++
src/perception/segmentation/apollo_lidar_segmentation/src/feature_generator.cpp
ruvus/auto
25ae62d6e575cae40212356eed43ec3e76e9a13e
[ "Apache-2.0" ]
19
2021-05-28T06:14:21.000Z
2022-03-10T10:03:08.000Z
src/perception/segmentation/apollo_lidar_segmentation/src/feature_generator.cpp
ruvus/auto
25ae62d6e575cae40212356eed43ec3e76e9a13e
[ "Apache-2.0" ]
null
null
null
src/perception/segmentation/apollo_lidar_segmentation/src/feature_generator.cpp
ruvus/auto
25ae62d6e575cae40212356eed43ec3e76e9a13e
[ "Apache-2.0" ]
14
2021-05-29T14:59:17.000Z
2022-03-10T10:03:09.000Z
// Copyright 2020-2021 Arm Ltd., TierIV // // 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 agr...
35.733333
100
0.711987
ruvus
add6f6ebca773181783e8ae8208a950b6b5df572
186
c++
C++
xp_comm_proj/rd_vrml1/vrml2geo/qv/src/QvSFColor.c++
avs/express-community
c699a68330d3b678b7e6bcea823e0891b874049c
[ "Apache-2.0" ]
3
2020-08-03T08:52:20.000Z
2021-04-10T11:55:49.000Z
xp_comm_proj/rd_vrml/vrml2geo/qv/src/QvSFColor.c++
avs/express-community
c699a68330d3b678b7e6bcea823e0891b874049c
[ "Apache-2.0" ]
null
null
null
xp_comm_proj/rd_vrml/vrml2geo/qv/src/QvSFColor.c++
avs/express-community
c699a68330d3b678b7e6bcea823e0891b874049c
[ "Apache-2.0" ]
1
2021-06-08T18:16:45.000Z
2021-06-08T18:16:45.000Z
#include <QvSFColor.h> QV_SFIELD_SOURCE(QvSFColor); QvBool QvSFColor::readValue(QvInput *in) { return (in->read(value[0]) && in->read(value[1]) && in->read(value[2])); }
15.5
33
0.629032
avs
add84c686e77db70a90363f89df015a6b431afce
3,409
cpp
C++
server/Server/Main/Performance.cpp
viticm/web-pap
7c9b1f49d9ba8d8e40f8fddae829c2e414ccfeca
[ "BSD-3-Clause" ]
3
2018-06-19T21:37:38.000Z
2021-07-31T21:51:40.000Z
server/Server/Main/Performance.cpp
viticm/web-pap
7c9b1f49d9ba8d8e40f8fddae829c2e414ccfeca
[ "BSD-3-Clause" ]
null
null
null
server/Server/Main/Performance.cpp
viticm/web-pap
7c9b1f49d9ba8d8e40f8fddae829c2e414ccfeca
[ "BSD-3-Clause" ]
13
2015-01-30T17:45:06.000Z
2022-01-06T02:29:34.000Z
#include "stdafx.h" #include "Performance.h" #include "Scene.h" #include "SceneManager.h" #include "Log.h" #include "TimeManager.h" #include "ShareMemManager.h" #include "SMUManager.h" #include "ServerManager.h" PerformanceManager* g_pPerformanceManager = NULL ; ShareMemoryNotifyer g_ShareMemNotifyer ; Performance...
21.575949
93
0.565562
viticm
aded0ffdd62aceea7490dc16309ac187144cc952
298
cpp
C++
sketch/localization.cpp
crteensy/esp01-shopping-list-printer
d604fdb837e0b1e892b074a3bb53b599ca1a4433
[ "MIT" ]
4
2016-11-17T01:49:02.000Z
2018-01-16T16:05:07.000Z
sketch/localization.cpp
crteensy/esp01-shopping-list-printer
d604fdb837e0b1e892b074a3bb53b599ca1a4433
[ "MIT" ]
2
2017-01-22T11:43:31.000Z
2019-03-18T08:59:27.000Z
sketch/localization.cpp
crteensy/esp01-shopping-list-printer
d604fdb837e0b1e892b074a3bb53b599ca1a4433
[ "MIT" ]
null
null
null
#include <Arduino.h> #include "localization.h" const Localization localization[ELanguage::eNLanguages] = { {"Shopping List", "New item", "Add", "Shopping List", "Delete selected"}, {"Einkaufszettel", "Neuer Eintrag", "Hinzuf&uuml;gen", "Einkaufszettel", "Ausgew&auml;hlte l&ouml;schen"}, };
27.090909
108
0.701342
crteensy
adf326313d4367852e274b14f3a987b86b2a40da
5,544
hpp
C++
Practica2/include/Cronologia.hpp
guillegalor/PracticasED
5e4fbc830c79741997734003add6eae1ee736d61
[ "MIT" ]
null
null
null
Practica2/include/Cronologia.hpp
guillegalor/PracticasED
5e4fbc830c79741997734003add6eae1ee736d61
[ "MIT" ]
null
null
null
Practica2/include/Cronologia.hpp
guillegalor/PracticasED
5e4fbc830c79741997734003add6eae1ee736d61
[ "MIT" ]
null
null
null
/** * @file Cronologia.hpp * @brief Fichero cabecera del TDA Cronologia * */ #ifndef CRONOLOGIA_ #define CRONOLOGIA_ #include <iostream> #include <vector> #include "EventoHistorico.hpp" /** * @brief T.D.A. Cronologia * * Una instancia @e c del tipo de datos abstracto @c Cronologia es un objeto * par...
33.39759
113
0.672078
guillegalor
adf414c6964705eeadeaa19107eba6312abd9e19
4,132
cpp
C++
SolvetheQueries/SolvetheQueries.cpp
HPCCS/Computation-Kernel-Dataset
5a184c7846c1abff39426a7f53fb837de8ba36e3
[ "MIT" ]
1
2019-05-03T19:37:24.000Z
2019-05-03T19:37:24.000Z
SolvetheQueries/SolvetheQueries.cpp
HPCCS/Computation-Kernel-Dataset
5a184c7846c1abff39426a7f53fb837de8ba36e3
[ "MIT" ]
null
null
null
SolvetheQueries/SolvetheQueries.cpp
HPCCS/Computation-Kernel-Dataset
5a184c7846c1abff39426a7f53fb837de8ba36e3
[ "MIT" ]
null
null
null
// problem statement is in https://www.hackerrank.com/contests/womens-codesprint-4/challenges/solve-the-queries/problem #include <bits/stdc++.h> #include <bits/stdc++.h> using namespace std; typedef long long ll; bool composite[101]; int primes[101], nprimes = 0; int arr[50001]; int segt[50000*4][25]; int setv[500...
24.023256
119
0.39908
HPCCS
bc0510c7834d1972670b19e3985e925e869c3ce7
3,474
hh
C++
CommBasicObjects/smartsoft/src/CommBasicObjects/CommIRScan.hh
canonical-robots/DomainModelsRepositories
68b9286d84837e5feb7b200833b158ab9c2922a4
[ "BSD-3-Clause" ]
null
null
null
CommBasicObjects/smartsoft/src/CommBasicObjects/CommIRScan.hh
canonical-robots/DomainModelsRepositories
68b9286d84837e5feb7b200833b158ab9c2922a4
[ "BSD-3-Clause" ]
2
2020-08-20T14:49:47.000Z
2020-10-07T16:10:07.000Z
CommBasicObjects/smartsoft/src/CommBasicObjects/CommIRScan.hh
canonical-robots/DomainModelsRepositories
68b9286d84837e5feb7b200833b158ab9c2922a4
[ "BSD-3-Clause" ]
8
2018-06-25T08:41:28.000Z
2020-08-13T10:39:30.000Z
//-------------------------------------------------------------------------- // Code generated by the SmartSoft MDSD Toolchain // The SmartSoft Toolchain has been developed by: // // Christian Schlegel (schlegel@hs-ulm.de) // University of Applied Sciences Ulm // Prittwitzstr. 10 // 89075 Ulm (Germany) // // Informat...
36.957447
272
0.658607
canonical-robots
bc0b0629ac44df0c292391bb6541751ad22c971e
3,242
cpp
C++
cpp/libs/okiidoku/tests/tests.cpp
david-fong/ookiidoku
8710da55e63c5533bc7d67484098fb313dec18c2
[ "MIT" ]
null
null
null
cpp/libs/okiidoku/tests/tests.cpp
david-fong/ookiidoku
8710da55e63c5533bc7d67484098fb313dec18c2
[ "MIT" ]
null
null
null
cpp/libs/okiidoku/tests/tests.cpp
david-fong/ookiidoku
8710da55e63c5533bc7d67484098fb313dec18c2
[ "MIT" ]
null
null
null
#include <okiidoku/morph/canon.hpp> #include <okiidoku/morph/scramble.hpp> #include <okiidoku/serdes.hpp> #include <okiidoku/print_2d.hpp> #include <okiidoku/gen.hpp> #include <okiidoku/grid.hpp> #include <okiidoku/shared_rng.hpp> #include <okiidoku_cli_utils/console_setup.hpp> #include <iostream> // cout, #include ...
27.948276
96
0.652375
david-fong
bc108cef20ce8710d4cb76a3b50704a18dabf629
1,355
cpp
C++
net.ssa/xr_3da/DLL/texture_std/TextureSTD.cpp
ixray-team/xray-vss-archive
b245c8601dcefb505b4b51f58142da6769d4dc92
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:19.000Z
2022-03-26T17:00:19.000Z
xr_3da/DLL/texture_std/TextureSTD.cpp
ixray-team/xray-vss-archive
b245c8601dcefb505b4b51f58142da6769d4dc92
[ "Linux-OpenIB" ]
null
null
null
xr_3da/DLL/texture_std/TextureSTD.cpp
ixray-team/xray-vss-archive
b245c8601dcefb505b4b51f58142da6769d4dc92
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:21.000Z
2022-03-26T17:00:21.000Z
// TextureSTD.cpp: implementation of the CTextureSTD class. // ////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "TextureSTD.h" #include "..\..\hw.h" #include "..\..\Texture.h" #include "..\..\ffileops.h" /////////////////////////////////////////////////////...
22.583333
108
0.5631
ixray-team
bc1c73b15c3e066a9e86878e0728ccd950e958e8
2,795
cpp
C++
avs/vis_avs/g_multidelay.cpp
semiessessi/vis_avs
e99a3803e9de9032e0e6759963b2c2798f3443ef
[ "BSD-3-Clause" ]
18
2020-07-30T11:55:23.000Z
2022-02-25T02:39:15.000Z
avs/vis_avs/g_multidelay.cpp
semiessessi/vis_avs
e99a3803e9de9032e0e6759963b2c2798f3443ef
[ "BSD-3-Clause" ]
34
2021-01-13T02:02:12.000Z
2022-03-23T12:09:55.000Z
avs/vis_avs/g_multidelay.cpp
semiessessi/vis_avs
e99a3803e9de9032e0e6759963b2c2798f3443ef
[ "BSD-3-Clause" ]
3
2021-03-18T12:53:58.000Z
2021-10-02T20:24:41.000Z
#include "g__lib.h" #include "g__defs.h" #include "c_multidelay.h" #include "resource.h" #include <windows.h> int win32_dlgproc_multidelay(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM) { C_DELAY* g_Delay = (C_DELAY*)g_current_render; char value[16]; unsigned int objectcode, objectmessage; HWND hwndEdit; switch...
28.232323
139
0.656887
semiessessi
bc1c802a53d1f99261cb866cf617c55f2b92eafe
2,339
cpp
C++
cpp/src/gcylon/utils/util.cpp
chathurawidanage/cylon
ac61b7a50880138fe67de21adee208016a94979a
[ "Apache-2.0" ]
null
null
null
cpp/src/gcylon/utils/util.cpp
chathurawidanage/cylon
ac61b7a50880138fe67de21adee208016a94979a
[ "Apache-2.0" ]
null
null
null
cpp/src/gcylon/utils/util.cpp
chathurawidanage/cylon
ac61b7a50880138fe67de21adee208016a94979a
[ "Apache-2.0" ]
null
null
null
/* * 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 writing, software * distributed u...
37.725806
122
0.625909
chathurawidanage
bc1e69a266d9fd5a14ad268fd0c2d0667481e4dc
14,635
hpp
C++
include/makeshift/detail/constval.hpp
mbeutel/makeshift
68e6bdee79060f3b258c031c53ff641325d13411
[ "BSL-1.0" ]
3
2020-04-03T14:06:41.000Z
2021-11-09T23:55:52.000Z
include/makeshift/detail/constval.hpp
mbeutel/makeshift
68e6bdee79060f3b258c031c53ff641325d13411
[ "BSL-1.0" ]
2
2020-04-03T14:21:09.000Z
2022-02-08T14:37:01.000Z
include/makeshift/detail/constval.hpp
mbeutel/makeshift
68e6bdee79060f3b258c031c53ff641325d13411
[ "BSL-1.0" ]
null
null
null
 #ifndef INCLUDED_MAKESHIFT_DETAIL_CONSTVAL_HPP_ #define INCLUDED_MAKESHIFT_DETAIL_CONSTVAL_HPP_ #include <array> #include <tuple> #include <cstddef> // for size_t, ptrdiff_t #include <utility> // for forward<>(), get<>(), integer_sequence<> #include <type_traits> // for integral_constant<>, declval<>(), is_...
38.922872
213
0.68138
mbeutel
bc22cb9db87da7f43c4ff9ef63a9110e20786200
1,034
cpp
C++
Container/QScrollArea/mainwindow.cpp
Sakura1221/QtStudy
34d24affada2a10c901fb9571473a33c871201fa
[ "MIT" ]
4
2021-06-17T02:58:18.000Z
2021-11-09T11:40:37.000Z
Container/QScrollArea/mainwindow.cpp
Sakura1221/QtStudy
34d24affada2a10c901fb9571473a33c871201fa
[ "MIT" ]
null
null
null
Container/QScrollArea/mainwindow.cpp
Sakura1221/QtStudy
34d24affada2a10c901fb9571473a33c871201fa
[ "MIT" ]
1
2021-06-26T07:42:20.000Z
2021-06-26T07:42:20.000Z
#include "mainwindow.h" #include "ui_mainwindow.h" #include <QLabel> MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) , ui(new Ui::MainWindow) { ui->setupUi(this); // 在滚动区域设置新的窗口,用来显示图片 // 内部的content无效(不显示),且只能设置一个窗口 //QLabel* pic = new QLabel; // 想要显示多个窗口,需要在唯一窗口内用布局实现 /...
22.977778
64
0.61412
Sakura1221
bc25948800f2cc1e130b7d2b13cef593f30a1efa
2,088
cpp
C++
src/Vector3.cpp
jorge-pessoa/micromachines-clone
0757b5f28f4cdccda9d4dbde6fb6a70a7280aa06
[ "MIT" ]
1
2021-06-18T17:00:46.000Z
2021-06-18T17:00:46.000Z
src/Vector3.cpp
jorge-pessoa/micromachines-clone
0757b5f28f4cdccda9d4dbde6fb6a70a7280aa06
[ "MIT" ]
null
null
null
src/Vector3.cpp
jorge-pessoa/micromachines-clone
0757b5f28f4cdccda9d4dbde6fb6a70a7280aa06
[ "MIT" ]
null
null
null
// // Vector3.cpp // CGProj // #include "Vector3.h" Vector3::Vector3(){ Vector3(0,0,0); } Vector3::Vector3 (GLdouble x, GLdouble y, GLdouble z) : _x(x), _y(y), _z(z) { } Vector3::~Vector3(){ } GLdouble Vector3::getX() { return _x; } GLdouble Vector3::getY() { return _y; } GLdouble Vector3::getZ() { r...
18.156522
77
0.603927
jorge-pessoa
bc2691e5327611c34b716207d6a7a9bafb37cd72
519
hpp
C++
include/halocore/hc_memory.hpp
halocupcake/halocore
fe2dc881ebc1202cb56cf2c0c73c000e50dff475
[ "MIT" ]
null
null
null
include/halocore/hc_memory.hpp
halocupcake/halocore
fe2dc881ebc1202cb56cf2c0c73c000e50dff475
[ "MIT" ]
null
null
null
include/halocore/hc_memory.hpp
halocupcake/halocore
fe2dc881ebc1202cb56cf2c0c73c000e50dff475
[ "MIT" ]
null
null
null
#ifndef HC_MEMORY_HPP #define HC_MEMORY_HPP #include <cstddef> #include "hc_def.hpp" namespace hc { HC_API void *allocate(std::size_t size); HC_API void *allocate_aligned(std::size_t size, std::size_t alignment); HC_API void *reallocate(void *ptr, std::size_t size); HC_API void *reallocate_aligned(void *ptr, std::s...
25.95
133
0.763006
halocupcake
bc29a489a9b7db63b0e2d09f5cd50b816d70688b
137
cpp
C++
chap13/Exer13_30.cpp
sjbarigye/CPP_Primer
d9d31a73a45ca46909bae104804fc9503ab242f2
[ "Apache-2.0" ]
50
2016-01-08T14:28:53.000Z
2022-01-21T12:55:00.000Z
chap13/Exer13_30.cpp
sjbarigye/CPP_Primer
d9d31a73a45ca46909bae104804fc9503ab242f2
[ "Apache-2.0" ]
2
2017-06-05T16:45:20.000Z
2021-04-17T13:39:24.000Z
chap13/Exer13_30.cpp
sjbarigye/CPP_Primer
d9d31a73a45ca46909bae104804fc9503ab242f2
[ "Apache-2.0" ]
18
2016-08-17T15:23:51.000Z
2022-03-26T18:08:43.000Z
#include "Page511_540_HasPtr.h" int main() { HasPtr h1("This is h1"); HasPtr h2("This is h2"); swap(h1, h2); return 0; }
15.222222
31
0.583942
sjbarigye
bc2c1246316402646c624cf16bcfe9939fccf3a8
948
cpp
C++
HDU/1070/11468770_AC_0ms_1728kB.cpp
BakaErii/ACM_Collection
d368b15c7f1c84472424d5e61e5ebc667f589025
[ "WTFPL" ]
null
null
null
HDU/1070/11468770_AC_0ms_1728kB.cpp
BakaErii/ACM_Collection
d368b15c7f1c84472424d5e61e5ebc667f589025
[ "WTFPL" ]
null
null
null
HDU/1070/11468770_AC_0ms_1728kB.cpp
BakaErii/ACM_Collection
d368b15c7f1c84472424d5e61e5ebc667f589025
[ "WTFPL" ]
null
null
null
/** * @authors Moe_Sakiya sakiya@tun.moe * @date 2017-11-08 19:05:01 * */ #include <iostream> #include <cstdio> #include <string> #include <algorithm> using namespace std; struct smilk { char name[101]; int p; int v; double cp; } milk[100]; bool cmp(smilk a, smilk b); int main(void) { int T, N, i,...
17.555556
81
0.50211
BakaErii
bc345053781e719e21c569b0857b4c31aa27a31b
415
cpp
C++
engine/source/graphics/Shader.cpp
lechkulina/RealmsOfSteel
adeb53295abfa236a273c2641f3f9f4d4c6110e1
[ "Apache-2.0" ]
null
null
null
engine/source/graphics/Shader.cpp
lechkulina/RealmsOfSteel
adeb53295abfa236a273c2641f3f9f4d4c6110e1
[ "Apache-2.0" ]
null
null
null
engine/source/graphics/Shader.cpp
lechkulina/RealmsOfSteel
adeb53295abfa236a273c2641f3f9f4d4c6110e1
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2016 Lech Kulina * * This file is part of the Realms Of Steel. * For conditions of distribution and use, see copyright details in the LICENSE file. */ #include <graphics/Shader.h> #ifdef ROS_USING_OPENGL #include "OpenGLShader.h" #endif ros::ShaderPtr ros::Shader::make() { ShaderPtr sha...
21.842105
85
0.713253
lechkulina
bc3f4d4c77ff1d557f08122046a18250c773290f
15,606
cpp
C++
Assembler/src/main.cpp
jdryg/tis100cpu
ac791974d53b0dc6cd0dcc122e65805904ba67fb
[ "MIT" ]
10
2016-04-14T21:35:15.000Z
2021-08-11T23:18:35.000Z
Assembler/src/main.cpp
jdryg/tis100cpu
ac791974d53b0dc6cd0dcc122e65805904ba67fb
[ "MIT" ]
7
2015-07-06T07:25:32.000Z
2015-07-13T06:34:47.000Z
Assembler/src/main.cpp
jdryg/tis100cpu
ac791974d53b0dc6cd0dcc122e65805904ba67fb
[ "MIT" ]
null
null
null
#define _CRT_SECURE_NO_WARNINGS // fopen #include <stdio.h> #include <vector> #include "TIS100Instruction.h" #include "MicroInstruction.h" #include "GenericParser.h" #include "Program.h" #define PARSER_NO_ERROR 0 #define PARSER_ERROR_UNKNOWN_INSTRUCTION 1 #define PARSER_ERROR_MISSING_SRC_OPERAND 2 #define...
26.814433
152
0.662245
jdryg
bc413daf59b7a2322428e98e01fa874b29b46609
11,709
cpp
C++
lib/analyzer/expressions/overload_set.cpp
reaver-project/vapor
17ddb5c60b483bd17a288319bfd3e8a43656859e
[ "Zlib" ]
4
2017-07-22T23:12:36.000Z
2022-01-13T23:57:06.000Z
lib/analyzer/expressions/overload_set.cpp
reaver-project/vapor
17ddb5c60b483bd17a288319bfd3e8a43656859e
[ "Zlib" ]
36
2016-11-26T17:46:16.000Z
2019-05-21T16:27:13.000Z
lib/analyzer/expressions/overload_set.cpp
reaver-project/vapor
17ddb5c60b483bd17a288319bfd3e8a43656859e
[ "Zlib" ]
3
2016-10-01T21:04:32.000Z
2021-03-20T06:57:53.000Z
/** * Vapor Compiler Licence * * Copyright © 2016-2019 Michał "Griwes" Dominiak * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * * Permission is granted to anyone to use this ...
34.744807
109
0.653173
reaver-project
bc4391912b29934e65ccac9f70e153fedc371961
7,172
cpp
C++
2016/day11/main.cpp
bielskij/AOC-2019
e98d660412037b3fdac4a6b49adcb9230f518c99
[ "MIT" ]
null
null
null
2016/day11/main.cpp
bielskij/AOC-2019
e98d660412037b3fdac4a6b49adcb9230f518c99
[ "MIT" ]
null
null
null
2016/day11/main.cpp
bielskij/AOC-2019
e98d660412037b3fdac4a6b49adcb9230f518c99
[ "MIT" ]
null
null
null
#include <stdexcept> #include <string.h> #include <cassert> #include <deque> #include "utils/file.h" #include "utils/utils.h" #define DEBUG_LEVEL 5 #include "common/debug.h" struct Floor { uint16_t microchips; uint16_t generators; Floor() { this->microchips = 0; this->generators = 0; } uint16_t getPairs(...
18.203046
101
0.586866
bielskij
a4bb48b182752a56b39102fe19402c4f44e38079
1,222
cpp
C++
C++/remove-all-occurrences-of-a-substring.cpp
Priyansh2/LeetCode-Solutions
d613da1881ec2416ccbe15f20b8000e36ddf1291
[ "MIT" ]
3,269
2018-10-12T01:29:40.000Z
2022-03-31T17:58:41.000Z
C++/remove-all-occurrences-of-a-substring.cpp
Priyansh2/LeetCode-Solutions
d613da1881ec2416ccbe15f20b8000e36ddf1291
[ "MIT" ]
53
2018-12-16T22:54:20.000Z
2022-02-25T08:31:20.000Z
C++/remove-all-occurrences-of-a-substring.cpp
Priyansh2/LeetCode-Solutions
d613da1881ec2416ccbe15f20b8000e36ddf1291
[ "MIT" ]
1,236
2018-10-12T02:51:40.000Z
2022-03-30T13:30:37.000Z
// Time: O(n + m) // Space: O(n + m) // kmp solution class Solution { public: string removeOccurrences(string s, string part) { const auto& prefix = getPrefix(part); string result; vector<int> lookup; int i = -1; for (const auto& c : s) { while (i != -1 && part[...
26.565217
61
0.409984
Priyansh2
a4bbd2da806aad5bd36de061007b3b1bcb0b5cad
2,465
hpp
C++
cpp/Autogarden/include/pins/output_pin_set.hpp
e-dang/Autogarden
b15217e5d4755fc028b8dc4255cbdcb77ead80f4
[ "MIT" ]
null
null
null
cpp/Autogarden/include/pins/output_pin_set.hpp
e-dang/Autogarden
b15217e5d4755fc028b8dc4255cbdcb77ead80f4
[ "MIT" ]
null
null
null
cpp/Autogarden/include/pins/output_pin_set.hpp
e-dang/Autogarden
b15217e5d4755fc028b8dc4255cbdcb77ead80f4
[ "MIT" ]
null
null
null
#pragma once #include <pins/logic_pin.hpp> #include <pins/pin_set.hpp> #include <pins/pin_view.hpp> #include <type_traits> #include <vector> class IOutputPinSet : public PinSet { public: virtual ~IOutputPinSet() = default; virtual std::vector<PinView> getNextAvailable(const int& requestedNum, const PinMode& ...
30.432099
116
0.628803
e-dang
a4bf087de390f97f0601ea383d38beaa9ac6d431
1,627
cpp
C++
C++/Projects/Project_11/Project_11.cpp
shader008/Projects
8934be9955d41578bd4c72d026dc96f1ae782714
[ "FTL" ]
null
null
null
C++/Projects/Project_11/Project_11.cpp
shader008/Projects
8934be9955d41578bd4c72d026dc96f1ae782714
[ "FTL" ]
null
null
null
C++/Projects/Project_11/Project_11.cpp
shader008/Projects
8934be9955d41578bd4c72d026dc96f1ae782714
[ "FTL" ]
null
null
null
// Find amount of Electric Charge flown in a circuit #include<iostream> using namespace std; int main() { cout<<endl; cout<<"\tCalculation of Electric Charge flowing in a circuit"<<endl; float I, Q, t; /* I = current C = electric charge t = time */ char value; c...
23.57971
122
0.496005
shader008
a4c42ab24b3e3a9f3853ca1d6b56d7d690d90f2d
6,823
cpp
C++
QTGameEngine/engine/window/window.cpp
dawidkotarba/QTGameEngine
ec2bec7e4cd55072a971e25ef79c94c016dea6d4
[ "CC-BY-3.0" ]
null
null
null
QTGameEngine/engine/window/window.cpp
dawidkotarba/QTGameEngine
ec2bec7e4cd55072a971e25ef79c94c016dea6d4
[ "CC-BY-3.0" ]
null
null
null
QTGameEngine/engine/window/window.cpp
dawidkotarba/QTGameEngine
ec2bec7e4cd55072a971e25ef79c94c016dea6d4
[ "CC-BY-3.0" ]
null
null
null
#include "window.h" Window::Window(QObject* parent){ splash = new Splash(); splash->show(); qDebug() << "Loading main window."; // main window props if (USE_OPENGL) setViewport(new QGLWidget(QGLFormat(QGL::SampleBuffers))); else setViewport(new QWidget); if (USE_ANTYALIASI...
40.613095
213
0.732815
dawidkotarba
a4c54ad2ff5068ef9e927256107f3ea99982c012
3,410
hpp
C++
addons/vendor/CfgVehicles.hpp
Krzyciu/A3CS
b7144fc9089b5ded6e37cc1fad79b1c2879521be
[ "MIT" ]
1
2020-06-07T00:45:49.000Z
2020-06-07T00:45:49.000Z
addons/vendor/CfgVehicles.hpp
Krzyciu/A3CS
b7144fc9089b5ded6e37cc1fad79b1c2879521be
[ "MIT" ]
27
2020-05-24T11:09:56.000Z
2020-05-25T12:28:10.000Z
addons/vendor/CfgVehicles.hpp
Krzyciu/A3CS
b7144fc9089b5ded6e37cc1fad79b1c2879521be
[ "MIT" ]
2
2020-05-31T08:52:45.000Z
2021-04-16T23:16:37.000Z
class CfgVehicles { class Tank_F; class vurtual_seat: Tank_F { displayName = "Seat"; ace_cookoff_probability = 0; class CargoTurret; class Turrets { class MainTurret: CargoTurret { gunnerName = "Cargo"; }; }; }; class weapon_bag_base; class vurtual_stretcher_bag: weapon_bag_base { ...
28.898305
65
0.682698
Krzyciu
a4c7425ed3ab31a6bdfb6cabe2036b21b8e9973f
1,121
cpp
C++
Day73/maxSumNodeToLeaf.cpp
tejaswini212/100-Days-Of-Algo
ae90e91e302e2f1c9b1c067416fcb0bc42b12e99
[ "MIT" ]
1
2022-03-31T13:49:46.000Z
2022-03-31T13:49:46.000Z
Day73/maxSumNodeToLeaf.cpp
tejaswini212/100-Days-Of-Algo
ae90e91e302e2f1c9b1c067416fcb0bc42b12e99
[ "MIT" ]
null
null
null
Day73/maxSumNodeToLeaf.cpp
tejaswini212/100-Days-Of-Algo
ae90e91e302e2f1c9b1c067416fcb0bc42b12e99
[ "MIT" ]
null
null
null
#include<iostream> #include<vector> using namespace std; int dp[100]; void dfs(int a[], vector<int> v[], int u, int parent) { dp[u] = a[u - 1]; int max1 = 0; for (int child : v[u]) { if (child == parent) continue; dfs(a, v, child, u); max1 = max(max1, dp[child]); } ...
26.069767
55
0.542373
tejaswini212
a4c960c46f71863715b7a1ee0cc82a54fd2f788c
4,335
cpp
C++
Third party/EasySoap++-0.6.1/src/SOAPUrl.cpp
Jeanmilost/Visual-Mercutio
f079730005b6ce93d5e184bb7c0893ccced3e3ab
[ "MIT" ]
1
2022-01-31T06:24:24.000Z
2022-01-31T06:24:24.000Z
Third party/EasySoap++-0.6.1/src/SOAPUrl.cpp
Jeanmilost/Visual-Mercutio
f079730005b6ce93d5e184bb7c0893ccced3e3ab
[ "MIT" ]
2
2021-04-11T15:50:42.000Z
2021-06-05T08:23:04.000Z
Third party/EasySoap++-0.6.1/src/SOAPUrl.cpp
Jeanmilost/Visual-Mercutio
f079730005b6ce93d5e184bb7c0893ccced3e3ab
[ "MIT" ]
2
2021-01-08T00:55:18.000Z
2022-01-31T06:24:18.000Z
/* * EasySoap++ - A C++ library for SOAP (Simple Object Access Protocol) * Copyright (C) 2001 David Crowley; SciTegic, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; eithe...
21.893939
93
0.594464
Jeanmilost
a4dd00a893156de46a7d6a8df100ea952c592f66
794
cpp
C++
src/othello.cpp
asi1024/Othbot
b8bf75495d45078642b107a882d0ad1aa697cd46
[ "MIT" ]
2
2015-03-26T11:12:02.000Z
2016-05-14T08:01:04.000Z
src/othello.cpp
asi1024/Othbot
b8bf75495d45078642b107a882d0ad1aa697cd46
[ "MIT" ]
null
null
null
src/othello.cpp
asi1024/Othbot
b8bf75495d45078642b107a882d0ad1aa697cd46
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdio> #include <cstdlib> #include <cmath> #include <string> #include <vector> #include <queue> #include <map> #include <set> #include <algorithm> #include <ctime> #include "asi90.h" using namespace std; typedef vector<vector<char> > Mat; pair<int,int> put_player (Mat ...
20.358974
54
0.517632
asi1024
a4df16077f79848560ef29b7a29a2a774704ebc2
461
cpp
C++
Strings/1234.cpp
fenatan/URI-Online-Judge
983cadd364e658cdebcbc2c0165e8f54e023a823
[ "MIT" ]
null
null
null
Strings/1234.cpp
fenatan/URI-Online-Judge
983cadd364e658cdebcbc2c0165e8f54e023a823
[ "MIT" ]
null
null
null
Strings/1234.cpp
fenatan/URI-Online-Judge
983cadd364e658cdebcbc2c0165e8f54e023a823
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int main(){ string s; int flag; while(getline(cin, s)){ flag = 0; for(int i =0; i < s.size(); i++){ if(s[i] == ' ') continue; if(flag == 0){ s[i] = toupper(s[i]); flag = 1; }el...
19.208333
41
0.349241
fenatan
a4e1150bbe03c5fe2162a308ed8a3d916ae4c5a6
3,440
cpp
C++
src/classical/plim/rm3_graph.cpp
msoeken/cirkit-addon-plim
3af61430ec85754a1c63e50b3284781e80274407
[ "MIT" ]
null
null
null
src/classical/plim/rm3_graph.cpp
msoeken/cirkit-addon-plim
3af61430ec85754a1c63e50b3284781e80274407
[ "MIT" ]
null
null
null
src/classical/plim/rm3_graph.cpp
msoeken/cirkit-addon-plim
3af61430ec85754a1c63e50b3284781e80274407
[ "MIT" ]
null
null
null
/* CirKit: A circuit toolkit * Copyright (C) 2009-2015 University of Bremen * Copyright (C) 2015-2016 EPFL * * 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, in...
30.442478
122
0.550872
msoeken
a4e29fd7042294405f2b0da2c5cbd83d0225bd18
5,089
cpp
C++
engine/file_io/package.cpp
fcarreiro/genesis
48b5c3bac888d999fb1ae17f1a864b59e2c85bc8
[ "MIT" ]
null
null
null
engine/file_io/package.cpp
fcarreiro/genesis
48b5c3bac888d999fb1ae17f1a864b59e2c85bc8
[ "MIT" ]
null
null
null
engine/file_io/package.cpp
fcarreiro/genesis
48b5c3bac888d999fb1ae17f1a864b59e2c85bc8
[ "MIT" ]
null
null
null
#include "../precompiled/stdafx.h" #include "../engine/base.h" ////////////////////////////////////////////////////////////////////////// // Constructor & Destructor ////////////////////////////////////////////////////////////////////////// CFilePak::CFilePak() : m_File(NULL), m_Size(0), m_Offset(0) { // s...
23.344037
75
0.463549
fcarreiro
a4e848cce366d87526b16bec5590b87486032352
621
hpp
C++
Toya-Core/src/GamePlay/PacPoint.hpp
Ahmed-YehiaGPEL/Toya-Engine
16c8e170b2f5022ec56da4ee4223f351726665f3
[ "MIT" ]
2
2017-05-14T19:07:29.000Z
2017-05-15T03:26:06.000Z
Toya-Core/src/GamePlay/PacPoint.hpp
Ahmed-YehiaGPEL/Toya-Engine
16c8e170b2f5022ec56da4ee4223f351726665f3
[ "MIT" ]
1
2017-10-13T11:22:39.000Z
2017-10-13T11:22:39.000Z
Toya-Core/src/GamePlay/PacPoint.hpp
Ahmed-YehiaGPEL/Toya-Engine
16c8e170b2f5022ec56da4ee4223f351726665f3
[ "MIT" ]
null
null
null
#pragma once #include "PlayerBehaviour.hpp" namespace GamePlay { class PacPoint: public Toya::Components::Behaviour { public: void Start() override { } void Update() override { } void OnEnable() override { } void OnCollision(Toya::Components::Transform* other) override { if (other->gam...
14.785714
77
0.652174
Ahmed-YehiaGPEL
a4ecde55802898cb1d0e291e424b8282813de952
17,743
cpp
C++
src/wxchartaxis.cpp
parduz/wxCharts
e7947b9bc6d7b461758a5a7b80b45eba30e82857
[ "MIT" ]
null
null
null
src/wxchartaxis.cpp
parduz/wxCharts
e7947b9bc6d7b461758a5a7b80b45eba30e82857
[ "MIT" ]
null
null
null
src/wxchartaxis.cpp
parduz/wxCharts
e7947b9bc6d7b461758a5a7b80b45eba30e82857
[ "MIT" ]
null
null
null
/* Copyright (c) 2016-2018 Xavier Leclercq 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, me...
35.274354
135
0.56721
parduz
a4f3764678c9774c20c9a2d3103cf342b9e4e82a
1,325
cpp
C++
exploringBB/chp08/spi/adc_example/ADS7883/ADCmulti.cpp
chaicko/ExploringBeagleBone
56528557e7d9a328602c65f1b2d837906cb08952
[ "Apache-2.0" ]
1
2019-05-28T18:38:29.000Z
2019-05-28T18:38:29.000Z
exploringBB/chp08/spi/adc_example/ADS7883/ADCmulti.cpp
chaicko/ExploringBeagleBone
56528557e7d9a328602c65f1b2d837906cb08952
[ "Apache-2.0" ]
null
null
null
exploringBB/chp08/spi/adc_example/ADS7883/ADCmulti.cpp
chaicko/ExploringBeagleBone
56528557e7d9a328602c65f1b2d837906cb08952
[ "Apache-2.0" ]
null
null
null
/* Using an SPI ADC (e.g., the MCP3008) * Written by Derek Molloy for the book "Exploring BeagleBone: Tools and * Techniques for Building with Embedded Linux" by John Wiley & Sons, 2014 * ISBN 9781118935125. Please see the file README.md in the repository root * directory for copyright and GNU GPLv3 license information...
33.125
82
0.664906
chaicko
a4f41ccedfe0c71bee2120eb044655289547544c
3,417
hpp
C++
Include/LibYT/Functions.hpp
MalteDoemer/YeetOS2
82be488ec1ed13e6558af4e248977dad317b3b85
[ "BSD-2-Clause" ]
null
null
null
Include/LibYT/Functions.hpp
MalteDoemer/YeetOS2
82be488ec1ed13e6558af4e248977dad317b3b85
[ "BSD-2-Clause" ]
null
null
null
Include/LibYT/Functions.hpp
MalteDoemer/YeetOS2
82be488ec1ed13e6558af4e248977dad317b3b85
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright 2021 Malte Dömer * * 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 and the following disclai...
30.508929
89
0.683055
MalteDoemer
a4f44a9d2a1d2bc7c18106af2a02ba6c5dc318f0
2,078
cpp
C++
src/gui/ImportSecretKeys.cpp
ColinRitman/fango-desktop
0b5e9ffb9730b3ca3fb5e064506467ca5f36891e
[ "MIT" ]
1
2021-12-25T06:38:23.000Z
2021-12-25T06:38:23.000Z
src/gui/ImportSecretKeys.cpp
ColinRitman/fango-desktop
0b5e9ffb9730b3ca3fb5e064506467ca5f36891e
[ "MIT" ]
10
2021-03-13T21:57:22.000Z
2021-04-16T20:15:18.000Z
src/gui/ImportSecretKeys.cpp
ColinRitman/fango-desktop
0b5e9ffb9730b3ca3fb5e064506467ca5f36891e
[ "MIT" ]
1
2021-10-05T03:21:35.000Z
2021-10-05T03:21:35.000Z
// Copyright (c) 2011-2017 The Cryptonote developers // Copyright (c) 2018 The Circle Foundation & Conceal Devs // Copyright (c) 2018-2021 Conceal Network & Conceal Devs // // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #in...
33.516129
100
0.681906
ColinRitman
a4f5c9df1d8fa2a92e6338e5e4101751857ab7b3
3,114
cpp
C++
masstree/benchmarks/tatp_query.cpp
YSL-1997/DBx1000
1e2ecfd21316a09967a5420e31bd9d2a5f98fe2b
[ "0BSD" ]
null
null
null
masstree/benchmarks/tatp_query.cpp
YSL-1997/DBx1000
1e2ecfd21316a09967a5420e31bd9d2a5f98fe2b
[ "0BSD" ]
null
null
null
masstree/benchmarks/tatp_query.cpp
YSL-1997/DBx1000
1e2ecfd21316a09967a5420e31bd9d2a5f98fe2b
[ "0BSD" ]
1
2020-12-03T17:47:57.000Z
2020-12-03T17:47:57.000Z
#include "query.h" #include "tatp_query.h" #include "tatp.h" #include "tatp_helper.h" #include "mem_alloc.h" #include "wl.h" #include "table.h" void tatp_query::init(uint64_t thd_id, workload* h_wl) { int64_t x = (int64_t)URand(0, 99, thd_id); if ((x -= TATP_FREQUENCY_DELETE_CALL_FORWARDING) < 0) gen_delete_ca...
33.12766
62
0.737958
YSL-1997
a4f5d9079595470d2544e689351784417a6a99ec
5,855
cpp
C++
src/PathUtil.cpp
somaen/Wintermute-git
edd11774a2662c55f1ebd6386206a41da37bcd18
[ "MIT" ]
1
2015-08-15T21:51:37.000Z
2015-08-15T21:51:37.000Z
src/PathUtil.cpp
somaen/Wintermute-git
edd11774a2662c55f1ebd6386206a41da37bcd18
[ "MIT" ]
null
null
null
src/PathUtil.cpp
somaen/Wintermute-git
edd11774a2662c55f1ebd6386206a41da37bcd18
[ "MIT" ]
null
null
null
/* This file is part of WME Lite. http://dead-code.org/redir.php?target=wmelite Copyright (c) 2011 Jan Nedoma 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, includin...
30.180412
97
0.608881
somaen
35052097fb9942bd091c8880464e08b25f143995
11,696
cpp
C++
examples/TressFX/tfx-ocl.cpp
vlj/YAGF
139ddc9c7d3552f383e235715713c30684b7067f
[ "MIT" ]
15
2015-04-16T19:41:41.000Z
2019-10-23T23:30:18.000Z
examples/TressFX/tfx-ocl.cpp
vlj/YAGF
139ddc9c7d3552f383e235715713c30684b7067f
[ "MIT" ]
6
2015-04-16T19:46:53.000Z
2017-11-16T03:06:58.000Z
examples/TressFX/tfx-ocl.cpp
vlj/YAGF
139ddc9c7d3552f383e235715713c30684b7067f
[ "MIT" ]
6
2015-11-18T16:23:33.000Z
2021-10-31T04:40:05.000Z
#include <GL/glew.h> #include <GLFW/glfw3.h> #include <Maths/matrix4.h> #include <Windows.h> #include <CL/cl.h> #include <CL/cl_gl.h> #include <CL/cl_gl_ext.h> #include "common.hpp" #include <fstream> #include <iostream> #include <Util/Debug.h> float density = .4f; TressFXAsset tfxassets; cl_context context; cl_d...
38.09772
80
0.688269
vlj
35058ecb95bbdfb304de02d5d7516895fa8a89bf
1,130
cpp
C++
src/analyzers/filters/porter2_filter.cpp
Lolik111/meta
c7019401185cdfa15e1193aad821894c35a83e3f
[ "MIT" ]
615
2015-01-31T17:14:03.000Z
2022-03-27T03:03:02.000Z
src/analyzers/filters/porter2_filter.cpp
Lolik111/meta
c7019401185cdfa15e1193aad821894c35a83e3f
[ "MIT" ]
167
2015-01-20T17:48:16.000Z
2021-12-20T00:15:29.000Z
src/analyzers/filters/porter2_filter.cpp
Lolik111/meta
c7019401185cdfa15e1193aad821894c35a83e3f
[ "MIT" ]
264
2015-01-30T00:08:01.000Z
2022-03-02T17:19:11.000Z
/** * @file porter2_filter.cpp * @author Chase Geigle */ #include "meta/analyzers/filters/porter2_filter.h" #include "meta/analyzers/filters/porter2_stemmer.h" namespace meta { namespace analyzers { namespace filters { const util::string_view porter2_filter::id = "porter2-filter"; porter2_filter::porter2_filter(...
17.384615
68
0.648673
Lolik111
3514a76d2ecd4cfe928da06af92851df2cd8065e
2,349
hpp
C++
sprig/utility/pair.hpp
bolero-MURAKAMI/Sprig
51ce4db4f4d093dee659a136f47249e4fe91fc7a
[ "BSL-1.0" ]
2
2017-10-24T13:56:24.000Z
2018-09-28T13:21:22.000Z
sprig/utility/pair.hpp
bolero-MURAKAMI/Sprig
51ce4db4f4d093dee659a136f47249e4fe91fc7a
[ "BSL-1.0" ]
null
null
null
sprig/utility/pair.hpp
bolero-MURAKAMI/Sprig
51ce4db4f4d093dee659a136f47249e4fe91fc7a
[ "BSL-1.0" ]
2
2016-04-12T03:26:06.000Z
2018-09-28T13:21:22.000Z
/*============================================================================= Copyright (c) 2010-2016 Bolero MURAKAMI https://github.com/bolero-MURAKAMI/Sprig 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) ===...
29.734177
79
0.676032
bolero-MURAKAMI
351594a5e1362d50839f066f0106dcd3a38be6a8
604
cpp
C++
BAC Antrenament/2020/T20 3.cpp
jbara2002/Informatica_LCIB
ff9db6d7d6119ba835750cc2d408079f76b852df
[ "CC0-1.0" ]
1
2022-03-31T21:45:03.000Z
2022-03-31T21:45:03.000Z
BAC Antrenament/2020/T20 3.cpp
jbara2002/Informatica_LCIB
ff9db6d7d6119ba835750cc2d408079f76b852df
[ "CC0-1.0" ]
null
null
null
BAC Antrenament/2020/T20 3.cpp
jbara2002/Informatica_LCIB
ff9db6d7d6119ba835750cc2d408079f76b852df
[ "CC0-1.0" ]
null
null
null
#include <iostream> #include <fstream> using namespace std; int main() { int x, y, s, smax; ifstream f("bac.txt"); s = 0; smax = 0; f >> x; s = s+x; while(f>>y) { if(y%2==x%2) { s = s+y; x = y; } else if(smax<s) { ...
11.615385
26
0.289735
jbara2002
351f73611e566cc18c35bb9e3db36ea2484b8f1e
1,243
cpp
C++
typical90/j.cpp
KoukiNAGATA/c-
ae51bacb9facb936a151dd777beb6688383a2dcd
[ "MIT" ]
null
null
null
typical90/j.cpp
KoukiNAGATA/c-
ae51bacb9facb936a151dd777beb6688383a2dcd
[ "MIT" ]
3
2021-03-31T01:39:25.000Z
2021-05-04T10:02:35.000Z
typical90/j.cpp
KoukiNAGATA/c-
ae51bacb9facb936a151dd777beb6688383a2dcd
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define REP(i, n) for (int i = 0; i < n; i++) #define REPR(i, n) for (int i = n - 1; i >= 0; i--) #define FOR(i, m, n) for (int i = m; i <= n; i++) #define FORR(i, m, n) for (int i = m; i >= n; i--) #define SORT(v, n) sort(v, v + n) using namespace std; using ll = long long; using vll = vector<...
23.018519
90
0.465004
KoukiNAGATA
351ffacbc9bbdbf462009cd54c943d7ffd1d04f0
29
cpp
C++
development/Games/TicTocToe/source/InputComponent.cpp
eglowacki/zloty
9c864ae0beb1ac64137a096795261768b7fc6710
[ "MIT" ]
null
null
null
development/Games/TicTocToe/source/InputComponent.cpp
eglowacki/zloty
9c864ae0beb1ac64137a096795261768b7fc6710
[ "MIT" ]
44
2018-06-28T03:01:44.000Z
2022-03-20T19:53:00.000Z
development/Games/TicTocToe/source/InputComponent.cpp
eglowacki/zloty
9c864ae0beb1ac64137a096795261768b7fc6710
[ "MIT" ]
null
null
null
#include "InputComponent.h"
14.5
28
0.758621
eglowacki
3522079e7c14ba5ae9325b210c1a547938cef7c4
560
cpp
C++
GraphicLib/GameObjects/Flare.cpp
RicardoEPRodrigues/FroggerOpenGL
dc02437dfe14203e9bdb39f160e4877b44363c42
[ "MIT" ]
null
null
null
GraphicLib/GameObjects/Flare.cpp
RicardoEPRodrigues/FroggerOpenGL
dc02437dfe14203e9bdb39f160e4877b44363c42
[ "MIT" ]
1
2016-12-31T15:43:29.000Z
2016-12-31T15:43:29.000Z
GraphicLib/GameObjects/Flare.cpp
RicardoEPRodrigues/FroggerOpenGL
dc02437dfe14203e9bdb39f160e4877b44363c42
[ "MIT" ]
null
null
null
/* * Flare.cpp * * Created on: Nov 19, 2014 * Author: ricardo */ #include "Flare.h" Flare::Flare() { this->fDistance = 0; this->fSize = 0; } Flare::~Flare() { // TODO Auto-generated destructor stub } void Flare::init() { createRectangleXY(this->mesh); } void Flare::update(double delta_t)...
16.470588
57
0.608929
RicardoEPRodrigues
3522a7b156ca7d4550b3eec9a3bda799b51a78c3
9,007
cpp
C++
ds4/code/4_core_gui/entity/entity_dock_widget.cpp
demonsaw/Code
b036d455e9e034d7fd178e63d5e992242d62989a
[ "MIT" ]
132
2017-03-22T03:46:38.000Z
2022-03-08T15:08:16.000Z
ds4/code/4_core_gui/entity/entity_dock_widget.cpp
demonsaw/Code
b036d455e9e034d7fd178e63d5e992242d62989a
[ "MIT" ]
4
2017-04-06T17:46:10.000Z
2018-08-08T18:27:59.000Z
ds4/code/4_core_gui/entity/entity_dock_widget.cpp
demonsaw/Code
b036d455e9e034d7fd178e63d5e992242d62989a
[ "MIT" ]
30
2017-03-26T22:38:17.000Z
2021-11-21T20:50:17.000Z
// // The MIT License(MIT) // // Copyright(c) 2014 Demonsaw LLC // // 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, c...
37.529167
233
0.737315
demonsaw
352be3a546b288a1ba87b2cf8ab432b0000c8d36
66,586
cpp
C++
tests/Switch.System.Drawing.UnitTests/Switch/System/Drawing/ColorTest.cpp
victor-timoshin/Switch
8e8e687a8bdc4f79d482680da3968e9b3e464b8b
[ "MIT" ]
4
2020-02-11T13:22:58.000Z
2022-02-24T00:37:43.000Z
tests/Switch.System.Drawing.UnitTests/Switch/System/Drawing/ColorTest.cpp
sgf/Switch
8e8e687a8bdc4f79d482680da3968e9b3e464b8b
[ "MIT" ]
null
null
null
tests/Switch.System.Drawing.UnitTests/Switch/System/Drawing/ColorTest.cpp
sgf/Switch
8e8e687a8bdc4f79d482680da3968e9b3e464b8b
[ "MIT" ]
2
2020-02-01T02:19:01.000Z
2021-12-30T06:44:00.000Z
#include <Switch/System/Drawing/Color.hpp> #include <gtest/gtest.h> using namespace System; using namespace System::Drawing; namespace SwitchUnitTests { TEST(ColorTest, DefaultConstructor) { Color color; ASSERT_EQ(0x00, color.A()); ASSERT_EQ(0x00, color.R()); ASSERT_EQ(0x00, color.G()); ASSERT_E...
42.65599
101
0.688914
victor-timoshin
353129d3b5e9065f0853edc8447ce935248303d0
1,380
cc
C++
tests/test_core_mempool.cc
ANLAB-KAIST/NBA
a093a72af32ccdc041792a01ae65a699294470cd
[ "MIT" ]
61
2015-03-25T04:49:09.000Z
2020-11-24T08:36:19.000Z
tests/test_core_mempool.cc
ANLAB-KAIST/NBA
a093a72af32ccdc041792a01ae65a699294470cd
[ "MIT" ]
32
2015-04-29T08:20:39.000Z
2017-02-09T22:49:37.000Z
tests/test_core_mempool.cc
ANLAB-KAIST/NBA
a093a72af32ccdc041792a01ae65a699294470cd
[ "MIT" ]
11
2015-07-24T22:48:05.000Z
2020-09-10T11:48:47.000Z
#include <nba/core/mempool.hh> #include <gtest/gtest.h> namespace nba { class DummyMemoryPool : public MemoryPool<uintptr_t> { public: DummyMemoryPool() : MemoryPool() { } DummyMemoryPool(size_t max_size) : MemoryPool(max_size) { } DummyMemoryPool(size_t max_size, size_t align) : MemoryPool(max_size, alig...
26.538462
84
0.614493
ANLAB-KAIST
35320425c7ab8b7c89a1b1eb1690d8f7a81c7464
1,036
cpp
C++
src/kernel/scheduler/timer/Timer.cpp
dreamhopping/kernel
7875103d7a7301c5b31afeaf60557fab1ceafbfb
[ "MIT" ]
1
2021-05-15T15:33:13.000Z
2021-05-15T15:33:13.000Z
src/kernel/scheduler/timer/Timer.cpp
dreamhopping/kernel
7875103d7a7301c5b31afeaf60557fab1ceafbfb
[ "MIT" ]
1
2021-07-13T20:24:59.000Z
2021-07-14T12:33:30.000Z
src/kernel/scheduler/timer/Timer.cpp
dreamhopping/kernel
7875103d7a7301c5b31afeaf60557fab1ceafbfb
[ "MIT" ]
null
null
null
#include "Timer.h" #include "../../io/IO.h" #include "../../interrupt/pic/PICManager.h" #include "../Scheduler.h" int Timer::ticks; void Timer::initialize(int freq) { int divisor = 1193180 / freq; // to set the rate at which channel 0 fires off the IRQ0, we write to the timer channels // the timer will d...
32.375
92
0.677606
dreamhopping
3541ee666a3ef77647a430b5af5f5437b87413cd
1,441
cpp
C++
189.cpp
nitin-maharana/LeetCode
d5e99fa313df3fda65bf385f46f8a62b6d061306
[ "MIT" ]
4
2016-02-28T17:09:14.000Z
2017-04-15T15:56:08.000Z
189.cpp
nitin-maharana/LeetCode
d5e99fa313df3fda65bf385f46f8a62b6d061306
[ "MIT" ]
null
null
null
189.cpp
nitin-maharana/LeetCode
d5e99fa313df3fda65bf385f46f8a62b6d061306
[ "MIT" ]
null
null
null
/* * Written by Nitin Kumar Maharana * nitin.maharana@gmail.com */ class Solution { int len; public: void rotate(vector<int>& nums, int k) { len = nums.size(); if(!len) return; int number, temp, currIndex, nextIndex; int count, origin; ...
20.585714
54
0.426093
nitin-maharana
354365298adfd6ffc15fc95314a556f57b131ea4
7,169
cpp
C++
Planet_Quad/Planet_Quad.cpp
sponeil/GL2Sandbox
2c8df474ac613c8ce7298aabc4474c7c44eb4992
[ "Unlicense" ]
3
2018-02-14T15:24:27.000Z
2021-07-11T12:21:37.000Z
Planet_Quad/Planet_Quad.cpp
sponeil/GL2Sandbox
2c8df474ac613c8ce7298aabc4474c7c44eb4992
[ "Unlicense" ]
null
null
null
Planet_Quad/Planet_Quad.cpp
sponeil/GL2Sandbox
2c8df474ac613c8ce7298aabc4474c7c44eb4992
[ "Unlicense" ]
1
2017-03-19T08:38:09.000Z
2017-03-19T08:38:09.000Z
// Originally copyrighted by Sean O'Neil (sean.p.oneil@gmail.com) in 2000, // who is now releasing it into the public domain. // For more information, please refer to <http://unlicense.org>. #include "StdAfx.h" #include "PlanetaryMap.h" #include "MixedHeightMapFactory.h" #include "GrassFactory.h" DECLARE_CORE_GLOBALS...
28.003906
149
0.685591
sponeil
3553568d1603fbf193c66515da28d82d7ba2eb98
13,322
cpp
C++
src/window_group.cpp
giorgiomarcias/glfwm
21dc4b6c77f7ed67f1ec1a5265ecc9d48abd4b9d
[ "Zlib" ]
73
2017-02-11T21:59:47.000Z
2022-01-14T22:17:04.000Z
src/window_group.cpp
giorgiomarcias/glfwm
21dc4b6c77f7ed67f1ec1a5265ecc9d48abd4b9d
[ "Zlib" ]
5
2017-08-18T01:09:14.000Z
2017-11-06T15:51:37.000Z
src/window_group.cpp
giorgiomarcias/glfwm
21dc4b6c77f7ed67f1ec1a5265ecc9d48abd4b9d
[ "Zlib" ]
21
2017-04-12T14:38:44.000Z
2021-08-28T13:32:19.000Z
// Copyright (c) 2015-2016 Giorgio Marcias // // This file is part of GLFWM, a C++11 wrapper of GLFW with // multi-threading management (GLFW Manager). // // This source code is subject to zlib/libpng License. // This software is provided 'as-is', without any express // or implied warranty. In no event will the authors...
31.56872
150
0.624156
giorgiomarcias
35535e6dacd40c8450664a22855d881063724e80
701
hpp
C++
include/hipipe/core/python.hpp
iterait/hipipe
c2a6cc13857dce93e5ae3f76a86e8f029ca3f921
[ "BSL-1.0", "MIT" ]
16
2018-10-08T09:00:14.000Z
2021-07-11T12:35:09.000Z
include/hipipe/core/python.hpp
iterait/hipipe
c2a6cc13857dce93e5ae3f76a86e8f029ca3f921
[ "BSL-1.0", "MIT" ]
19
2018-09-26T13:55:40.000Z
2019-08-28T13:47:04.000Z
include/hipipe/core/python.hpp
iterait/hipipe
c2a6cc13857dce93e5ae3f76a86e8f029ca3f921
[ "BSL-1.0", "MIT" ]
null
null
null
/**************************************************************************** * hipipe library * Copyright (c) 2017, Cognexa Solutions s.r.o. * Copyright (c) 2018, Iterait a.s. * Author(s) Filip Matzner * * This file is distributed under the MIT License. * See the accompanying file LICENSE.txt for the comp...
33.380952
78
0.582026
iterait
355587d37aeef1edd80a02439ebccebb7ed5053a
6,879
cpp
C++
model/test_result_test.cpp
racktopsystems/kyua
1929dccc5cda71cddda71485094822d3c3862902
[ "BSD-3-Clause" ]
106
2015-01-20T14:49:12.000Z
2022-03-09T01:31:51.000Z
model/test_result_test.cpp
racktopsystems/kyua
1929dccc5cda71cddda71485094822d3c3862902
[ "BSD-3-Clause" ]
81
2015-02-23T23:23:41.000Z
2021-07-21T13:51:56.000Z
model/test_result_test.cpp
racktopsystems/kyua
1929dccc5cda71cddda71485094822d3c3862902
[ "BSD-3-Clause" ]
27
2015-09-30T20:33:34.000Z
2022-02-14T04:00:08.000Z
// Copyright 2014 The Kyua Authors. // 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 conditio...
36.983871
75
0.726123
racktopsystems