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
f21d48700cf57d5df19631ee36d601e0a48da891
515
hpp
C++
selfdrive/ui/qt/offroad/keyboard.hpp
mattamonett/myopenpilot
3e222ec13105b490ca80885f805a9ccb77896f44
[ "MIT" ]
116
2018-03-07T09:00:10.000Z
2020-04-06T18:37:45.000Z
selfdrive/ui/qt/offroad/keyboard.hpp
mattamonett/myopenpilot
3e222ec13105b490ca80885f805a9ccb77896f44
[ "MIT" ]
66
2020-04-09T20:27:57.000Z
2022-01-27T14:39:24.000Z
selfdrive/ui/qt/offroad/keyboard.hpp
mattamonett/myopenpilot
3e222ec13105b490ca80885f805a9ccb77896f44
[ "MIT" ]
154
2020-04-08T21:41:22.000Z
2022-03-17T21:05:33.000Z
#pragma once #include <vector> #include <QString> #include <QWidget> #include <QStackedLayout> #include <QAbstractButton> class KeyboardLayout : public QWidget { Q_OBJECT public: explicit KeyboardLayout(QWidget *parent, std::vector<QVector<QString>> layout); }; class Keyboard : public QWidget { Q_OBJECT pub...
16.09375
81
0.749515
mattamonett
f228911faf681c0f0d9072faa00b5341ea93bc9c
29,402
cpp
C++
examples/USB/usbHostSlave_cosim_model/src/VusbHostSlave_SIEReceiver.cpp
deafbeed/sid-cosim-model-generator
6c69b1fc5f3cdb9f01247420ca8ed2b5121b72fb
[ "MIT" ]
1
2018-03-13T21:02:42.000Z
2018-03-13T21:02:42.000Z
examples/USB/usbHostSlave_cosim_model/src/VusbHostSlave_SIEReceiver.cpp
deafbeed/sid-cosim-model-generator
6c69b1fc5f3cdb9f01247420ca8ed2b5121b72fb
[ "MIT" ]
null
null
null
examples/USB/usbHostSlave_cosim_model/src/VusbHostSlave_SIEReceiver.cpp
deafbeed/sid-cosim-model-generator
6c69b1fc5f3cdb9f01247420ca8ed2b5121b72fb
[ "MIT" ]
null
null
null
// Verilated -*- C++ -*- // DESCRIPTION: Verilator output: Design implementation internals // See VusbHostSlave.h for the primary calling header #include "VusbHostSlave_SIEReceiver.h" // For This #include "VusbHostSlave__Syms.h" //-------------------- // STATIC VARIABLES //-------------------- VL_CTOR_IMP(VusbHost...
66.520362
137
0.805693
deafbeed
f22c125c5c2a0bce1f6d85858fbe9cd1bf67abd9
1,779
cc
C++
kernel/lookahead.cc
Basseuph/manifold
99779998911ed7e8b8ff6adacc7f93080409a5fe
[ "BSD-3-Clause" ]
8
2016-01-22T18:28:48.000Z
2021-05-07T02:27:21.000Z
kernel/lookahead.cc
Basseuph/manifold
99779998911ed7e8b8ff6adacc7f93080409a5fe
[ "BSD-3-Clause" ]
3
2016-04-15T02:58:58.000Z
2017-01-19T17:07:34.000Z
kernel/lookahead.cc
Basseuph/manifold
99779998911ed7e8b8ff6adacc7f93080409a5fe
[ "BSD-3-Clause" ]
10
2015-12-11T04:16:55.000Z
2019-05-25T20:58:13.000Z
// Mirko Stoffers, (and others) Georgia Tech, 2012 #ifndef NO_MPI #include <iostream> #include <assert.h> #include "lookahead.h" namespace manifold { namespace kernel { Lookahead* Lookahead::Create(Lookahead::LookaheadType_t laType) { switch(laType) { case LA_GLOBAL: return new GlobalLookahead(); ...
19.766667
101
0.66217
Basseuph
f22fa17996d1136224cfb304a7c8e785c7ea4502
795
cpp
C++
src_plugins/OpenEXR_IO/OpenEXR_IO.cpp
ennis/autograph-pipelines
afc66ef60bf99fca26d200bd7739528e1bf3ed8c
[ "MIT" ]
1
2021-04-24T12:29:42.000Z
2021-04-24T12:29:42.000Z
src_plugins/OpenEXR_IO/OpenEXR_IO.cpp
ennis/autograph-pipelines
afc66ef60bf99fca26d200bd7739528e1bf3ed8c
[ "MIT" ]
null
null
null
src_plugins/OpenEXR_IO/OpenEXR_IO.cpp
ennis/autograph-pipelines
afc66ef60bf99fca26d200bd7739528e1bf3ed8c
[ "MIT" ]
null
null
null
#include "OpenEXR_IO.Config.h" #include <autograph/engine/All.h> #include <autograph/gl/All.h> class OpenEXR_IO : public ag::Extension { public: // load into float buffer // save from float buffer // load into OpenGL texture // save from OpenGL texture virtual std::unique_ptr<char[]> loadEXR(const char* path, in...
25.645161
98
0.633962
ennis
f23435b7c136f859c34e98af23c3b46fd64093d3
8,065
cp
C++
Win32/Sources/Application/Calendar/Component_Editing/CNewComponentDialog.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
12
2015-04-21T16:10:43.000Z
2021-11-05T13:41:46.000Z
Win32/Sources/Application/Calendar/Component_Editing/CNewComponentDialog.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
2
2015-11-02T13:32:11.000Z
2019-07-10T21:11:21.000Z
Win32/Sources/Application/Calendar/Component_Editing/CNewComponentDialog.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
6
2015-01-12T08:49:12.000Z
2021-03-27T09:11:10.000Z
/* Copyright (c) 2007-2009 Cyrus Daboo. 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 ...
27.338983
150
0.712833
mulberry-mail
f23ef88803e9b5b5fddd1faf96dbc4b92e42a9f9
5,220
hpp
C++
driver_ros2_foxy_ubuntu2004/yrl3_v2_ros2_package/lib_yujinrobot_yrldriver/include/yujinrobot_yrldriver/NetworkInterface.hpp
yujinrobot/yujin_lidar_v2
b8252e9a3d4d943c5f1f40da84c2c95fbd89cf06
[ "OLDAP-2.3" ]
null
null
null
driver_ros2_foxy_ubuntu2004/yrl3_v2_ros2_package/lib_yujinrobot_yrldriver/include/yujinrobot_yrldriver/NetworkInterface.hpp
yujinrobot/yujin_lidar_v2
b8252e9a3d4d943c5f1f40da84c2c95fbd89cf06
[ "OLDAP-2.3" ]
null
null
null
driver_ros2_foxy_ubuntu2004/yrl3_v2_ros2_package/lib_yujinrobot_yrldriver/include/yujinrobot_yrldriver/NetworkInterface.hpp
yujinrobot/yujin_lidar_v2
b8252e9a3d4d943c5f1f40da84c2c95fbd89cf06
[ "OLDAP-2.3" ]
null
null
null
/********************************************************************* * Copyright (c) 2022, YujinRobot Corp. * * Non-monifiable freely redistributable software(FRS) * * - Redistribution. Redistribution and use in binary form, without modification, * are permitted provided that the following conditions are met: *...
37.826087
487
0.706322
yujinrobot
f245a137fc6c4cf7c8f7090a7352fe73ea9b4e18
976
cpp
C++
Hash Table/560. Subarray Sum Equals K.cpp
beckswu/Leetcode
480e8dc276b1f65961166d66efa5497d7ff0bdfd
[ "MIT" ]
138
2020-02-08T05:25:26.000Z
2021-11-04T11:59:28.000Z
Hash Table/560. Subarray Sum Equals K.cpp
beckswu/Leetcode
480e8dc276b1f65961166d66efa5497d7ff0bdfd
[ "MIT" ]
null
null
null
Hash Table/560. Subarray Sum Equals K.cpp
beckswu/Leetcode
480e8dc276b1f65961166d66efa5497d7ff0bdfd
[ "MIT" ]
24
2021-01-02T07:18:43.000Z
2022-03-20T08:17:54.000Z
/* 560. Subarray Sum Equals K Given an array of integers and an integer k, you need to find the total number of continuous subarrays whose sum equals to k. Example 1: Input:nums = [1,1,1], k = 2 Output: 2 Note: The length of the array is in range [1, 20,000]. The range of numbers in the array is [-1000, 1000] and the...
30.5
125
0.621926
beckswu
f250dfe0f309ce8065b503b5027126b72899c0bc
616
hpp
C++
Includes/gtl/FilterBase.hpp
bobvodka/GameTextureLoaderV1
08ac2f09a9b8a990f0f586948c46b38b7bce150f
[ "MIT" ]
null
null
null
Includes/gtl/FilterBase.hpp
bobvodka/GameTextureLoaderV1
08ac2f09a9b8a990f0f586948c46b38b7bce150f
[ "MIT" ]
null
null
null
Includes/gtl/FilterBase.hpp
bobvodka/GameTextureLoaderV1
08ac2f09a9b8a990f0f586948c46b38b7bce150f
[ "MIT" ]
null
null
null
// Base Filter for all Filters #ifndef GTL_FILTERBASE_HPP #define GTL_FILTERBASE_HPP #include <boost/iostreams/detail/ios.hpp> #include <boost/shared_ptr.hpp> #include <boost/iostreams/device/file_descriptor.hpp> // for the typedef #include <boost/iostreams/filtering_streambuf.hpp> // for the typedef #include <gt...
19.25
82
0.732143
bobvodka
f267336b441e9946f0fba1aad2a43ee91b202ae8
11,757
cpp
C++
core123/ut/ut_elastic_threadpool.cpp
DEShawResearch/fs123
27bee72752fedc54ab493e49c6da96eeb2c6ab6a
[ "BSD-3-Clause" ]
22
2019-04-10T18:05:35.000Z
2021-12-30T12:26:39.000Z
core123/ut/ut_elastic_threadpool.cpp
DEShawResearch/fs123
27bee72752fedc54ab493e49c6da96eeb2c6ab6a
[ "BSD-3-Clause" ]
13
2019-04-09T00:19:29.000Z
2021-11-04T15:57:13.000Z
core123/ut/ut_elastic_threadpool.cpp
DEShawResearch/fs123
27bee72752fedc54ab493e49c6da96eeb2c6ab6a
[ "BSD-3-Clause" ]
4
2019-04-07T16:33:44.000Z
2020-07-02T02:58:51.000Z
#define CORE123_DIAG_FLOOD_ENABLE 1 // set up 'fuzzing' before we #include "core123/elastic_threadpool.hpp" #define ELASTIC_THREADPOOL_FUZZ ::ut_etp_fuzz() #include "core123/threefry.hpp" #include <atomic> #include <thread> #include <chrono> #include <cmath> double expvariate(uint32_t i){ return -::log(core123::...
36.855799
145
0.566896
DEShawResearch
f2674cad24705b9a0f4652f7c31588653ad5f88c
1,249
cpp
C++
PAT_A/PAT_A1053new.cpp
EnhydraGod/PATCode
ff38ea33ba319af78b3aeba8aa6c385cc5e8329f
[ "BSD-2-Clause" ]
3
2019-07-08T05:20:28.000Z
2021-09-22T10:53:26.000Z
PAT_A/PAT_A1053new.cpp
EnhydraGod/PATCode
ff38ea33ba319af78b3aeba8aa6c385cc5e8329f
[ "BSD-2-Clause" ]
null
null
null
PAT_A/PAT_A1053new.cpp
EnhydraGod/PATCode
ff38ea33ba319af78b3aeba8aa6c385cc5e8329f
[ "BSD-2-Clause" ]
null
null
null
#include <bits/stdc++.h> using namespace std; vector<int> tree[110], temp; vector<vector<int>> res; int n, m, s, u, k, v, weights[110]; bool cmp(const int &a, const int &b) { return weights[a] > weights[b]; } void dfs(int u, int weight) { weight += weights[u]; if(weight > s || (weight == s && tree[u].size() != ...
25.489796
72
0.447558
EnhydraGod
f2701f11e114ad5632a09758a019c686e0ab325c
377
hpp
C++
include/Button.hpp
jamiesyme/MoxelEd
b8ad87587057a79ce0324fd5e3c1290a760adc7a
[ "Unlicense" ]
1
2016-03-09T01:32:22.000Z
2016-03-09T01:32:22.000Z
include/Button.hpp
jamiesyme/MoxelEd
b8ad87587057a79ce0324fd5e3c1290a760adc7a
[ "Unlicense" ]
null
null
null
include/Button.hpp
jamiesyme/MoxelEd
b8ad87587057a79ce0324fd5e3c1290a760adc7a
[ "Unlicense" ]
null
null
null
#pragma once #include <string> class Button { public: Button(); virtual ~Button(); void setName(const std::string& name); std::string getName() const; void isDown(const bool down); bool isDown() const; void press(); void release(); protected: virtual void _pressCallback(); virtual void _releaseCallb...
13.464286
39
0.69496
jamiesyme
f273cfc825a745c89d80fc8ecfea0e663e2dd865
2,632
cpp
C++
graph-source-code/489-D/10052426.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/489-D/10052426.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/489-D/10052426.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
//Language: GNU C++ //satyaki3794 #include <iostream> #include <cstdio> #include <cmath> #include <vector> #include <cstring> #include <algorithm> #include <climits> #include <string> #include <queue> #include <stack> #include <set> #include <map> #include <cctype> #include <cassert> #include <bitset> ...
17.783784
81
0.481383
AmrARaouf
f276e6cc1e4b45f231681e41341610ad8b44da36
8,596
cpp
C++
src/db.cpp
gheshu/image_decompiler
0bc471a0d4ab83c8a9a77a12b0fe601b57b6c133
[ "Apache-2.0" ]
37
2018-03-31T11:12:08.000Z
2022-03-11T16:02:28.000Z
src/db.cpp
gheshu/image_decompiler
0bc471a0d4ab83c8a9a77a12b0fe601b57b6c133
[ "Apache-2.0" ]
null
null
null
src/db.cpp
gheshu/image_decompiler
0bc471a0d4ab83c8a9a77a12b0fe601b57b6c133
[ "Apache-2.0" ]
1
2021-09-29T23:10:54.000Z
2021-09-29T23:10:54.000Z
#include "db.h" #include <cassert> #include <cstdio> #include <cstddef> #include <cstring> #include <algorithm> #include "sha3.h" s32 DB::ID::Compare(const ID& other) const { const s32* A = (const s32*)m_bytes; const s32* B = (const s32*)other.m_bytes; for(u32 i = 0; i < sizeof(m_bytes) / sizeof(s32); ++...
26.778816
85
0.540251
gheshu
f277ae898d4cc9acf33489a52fd40494261a46f2
4,780
cxx
C++
source/Tools/FuseSegmentationSpatialGC3D.cxx
tschuls/ETH-SegReg-DLL
34bd10464dc5e8b3c7bf3371ca1e190d692385b7
[ "BSD-2-Clause-FreeBSD" ]
15
2015-04-15T06:49:06.000Z
2021-09-01T09:09:50.000Z
source/Tools/FuseSegmentationSpatialGC3D.cxx
tschuls/ETH-SegReg-DLL
34bd10464dc5e8b3c7bf3371ca1e190d692385b7
[ "BSD-2-Clause-FreeBSD" ]
14
2015-03-09T19:09:47.000Z
2015-09-04T15:31:12.000Z
source/Tools/FuseSegmentationSpatialGC3D.cxx
tschuls/ETH-SegReg-DLL
34bd10464dc5e8b3c7bf3371ca1e190d692385b7
[ "BSD-2-Clause-FreeBSD" ]
10
2015-04-08T09:17:44.000Z
2017-08-12T17:30:15.000Z
#include "Log.h" #include <stdio.h> #include <iostream> #include "ArgumentParser.h" #include "ImageUtils.h" #include <fstream> #include "itkGaussianImage.h" #include "Metrics.h" #include "GCoptimization.h" using namespace std; using namespace itk; int main(int argc, char ** argv) { feraiseexcept(FE_INVALID|FE_DIV...
37.637795
154
0.659205
tschuls
f27ec7d798eb0e22630a2e6e37683a56ee4e73a4
1,762
cpp
C++
Base project/MyGame/MyGame/GameOverText.cpp
kian-darrington/TD-Game
022fd997467935febf40752183b0bb008346edb7
[ "MIT" ]
null
null
null
Base project/MyGame/MyGame/GameOverText.cpp
kian-darrington/TD-Game
022fd997467935febf40752183b0bb008346edb7
[ "MIT" ]
null
null
null
Base project/MyGame/MyGame/GameOverText.cpp
kian-darrington/TD-Game
022fd997467935febf40752183b0bb008346edb7
[ "MIT" ]
null
null
null
#include "GameOverText.h" #include "GameScene.h" #include <sstream> #include <string> #include <fstream> //Text that is printed at the start of the game, and the death of the player GameOverText::GameOverText(bool startScreen, int score) { text_.setFont(GAME.getFont("Resources/Courneuf-Regular.ttf")); text_.setPositi...
32.036364
215
0.696368
kian-darrington
f2809150012cde09643e56aaab7ac37d35d15001
2,596
hh
C++
src/utils/ObservationData.hh
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
37
2017-04-26T16:27:07.000Z
2022-03-01T07:38:57.000Z
src/utils/ObservationData.hh
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
494
2016-09-14T02:31:13.000Z
2022-03-13T18:57:05.000Z
src/utils/ObservationData.hh
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
43
2016-09-26T17:58:40.000Z
2022-03-25T02:29:59.000Z
/* Utils Copyright 2010-201x held jointly by LANS/LANL, LBNL, and PNNL. Amanzi is released under the three-clause BSD License. The terms of use and "as is" disclaimer for this license are provided in the top-level COPYRIGHT file. */ #ifndef AMANZI_OBSERVATION_DATA_HH #define AMANZI_OBSERVATION_DATA_HH #...
28.527473
118
0.612866
fmyuan
f281ea526af2ff533bc8c4f3fbae5830140c036c
6,142
inl
C++
branch/old_angsys/angsys_beta3/include/angsys/ang/inline/variable.inl
ChuyX3/angsys
89b2eaee866bcfd11e66efda49b38acc7468c780
[ "Apache-2.0" ]
null
null
null
branch/old_angsys/angsys_beta3/include/angsys/ang/inline/variable.inl
ChuyX3/angsys
89b2eaee866bcfd11e66efda49b38acc7468c780
[ "Apache-2.0" ]
null
null
null
branch/old_angsys/angsys_beta3/include/angsys/ang/inline/variable.inl
ChuyX3/angsys
89b2eaee866bcfd11e66efda49b38acc7468c780
[ "Apache-2.0" ]
null
null
null
#ifndef __SAMRT_PTR_H__ #error ... #elif !defined __VARIABLE_INL__ #define __VARIABLE_INL__ namespace ang { template<typename T> struct __variable_constructor_helper<T, true> { static void construct(variable<T>* ptr, T const& val) { ptr->set(val); } static void construct(variable<T>* ptr, value<T> const&...
23.714286
155
0.6817
ChuyX3
f282637bbe6699559c93996a7c15725249b2acf0
3,730
cpp
C++
evias/application/debugger.cpp
evias/evias
5b5d4c16404f855c3234afa05b11c339a3ebb4cb
[ "BSD-3-Clause" ]
1
2015-10-31T03:18:02.000Z
2015-10-31T03:18:02.000Z
evias/application/debugger.cpp
evias/evias
5b5d4c16404f855c3234afa05b11c339a3ebb4cb
[ "BSD-3-Clause" ]
null
null
null
evias/application/debugger.cpp
evias/evias
5b5d4c16404f855c3234afa05b11c339a3ebb4cb
[ "BSD-3-Clause" ]
null
null
null
#include "debugger.hpp" namespace evias { namespace application { Debugger::Debugger () : MainWnd () { _logFilePath = "/home/greg/srv/home.work/iSchool/resources/storage/debugger.log"; setWindowTitle ("iSchool Debugger v1.0"); resize (640, 480); _initMenu (); ...
24.866667
108
0.523592
evias
f284021a9602e2717a9bc2eb2f693c4104ba9ac1
2,711
cpp
C++
Compiler/Compiler/main.cpp
try1117/PascalCompiler
4890b8d1f2142c163a5bdf71227f805b429204f9
[ "MIT" ]
null
null
null
Compiler/Compiler/main.cpp
try1117/PascalCompiler
4890b8d1f2142c163a5bdf71227f805b429204f9
[ "MIT" ]
null
null
null
Compiler/Compiler/main.cpp
try1117/PascalCompiler
4890b8d1f2142c163a5bdf71227f805b429204f9
[ "MIT" ]
null
null
null
#include <fstream> #include <iostream> #include <locale> #include "Tokenizer.h" #include "ExpressionParser.h" #include "Parser.h" #include "Exceptions.h" #include "Generator.h" int main(int argc, char *argv[]) { std::locale::global(std::locale("")); if (argc == 1) { std::cout << "Pascal compiler" << std::endl; ...
26.320388
92
0.584286
try1117
f28a5b961167970b12d2ec637285b3efb755e256
19,130
cpp
C++
src/main.cpp
fosterbrereton/pngpp
e50cefc9dffb55d6709e99cbd079e7b318b92957
[ "BSL-1.0" ]
null
null
null
src/main.cpp
fosterbrereton/pngpp
e50cefc9dffb55d6709e99cbd079e7b318b92957
[ "BSL-1.0" ]
null
null
null
src/main.cpp
fosterbrereton/pngpp
e50cefc9dffb55d6709e99cbd079e7b318b92957
[ "BSL-1.0" ]
null
null
null
/**************************************************************************************************/ // PNGpp copyright 2017 Foster Brereton. See LICENSE.txt for license details. /**************************************************************************************************/ // stdc++ #include <iostream> #include ...
31.412151
100
0.495034
fosterbrereton
f2914e665b1d5a9d03599c26ac7155ab1b4183a8
6,704
hpp
C++
src/com/mem/Allocator.hpp
awwdev/MiniSTL
218998f6109a2a42c0017b4255bec48a235998c3
[ "MIT" ]
5
2021-02-10T19:14:32.000Z
2021-11-19T13:29:55.000Z
src/com/mem/Allocator.hpp
awwdev/MiniSTL
218998f6109a2a42c0017b4255bec48a235998c3
[ "MIT" ]
41
2020-05-16T09:56:45.000Z
2020-07-05T15:14:33.000Z
src/com/mem/Allocator.hpp
awwdev/MiniSTL
218998f6109a2a42c0017b4255bec48a235998c3
[ "MIT" ]
2
2021-07-21T22:21:41.000Z
2021-09-06T19:25:11.000Z
//https://github.com/awwdev #pragma once #include "com/Types.hpp" #include "com/box/Bitset.hpp" #include "dbg/Logger.hpp" #include "com/box/String.hpp" #define WIN32_LEAN_AND_MEAN #include "windows.h" #include "psapi.h" //? note: do not claim a block per array element, instead claim one block for the whole array na...
30.611872
136
0.614558
awwdev
f29b11a9e41becc6a9d69f46755c94488397d386
54,150
cpp
C++
src/SceneManager.cpp
Soulliom/anoroguelike
34921b411984d2a3a0e9290dcbd2f6c3b0b58e69
[ "MIT" ]
2
2020-01-23T14:41:35.000Z
2020-01-24T08:13:01.000Z
src/SceneManager.cpp
Soulliom/anoroguelike
34921b411984d2a3a0e9290dcbd2f6c3b0b58e69
[ "MIT" ]
null
null
null
src/SceneManager.cpp
Soulliom/anoroguelike
34921b411984d2a3a0e9290dcbd2f6c3b0b58e69
[ "MIT" ]
null
null
null
#include "../include/SceneManager.h" #include "../include/Player.h" #include "../include/GameManager.h" #include "../include/Map.h" /* TEMPLATE SCENE system("CLS"); SetConsoleTextAttribute(textConsole, 2); std::cout << "\n*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~...
53.666997
233
0.427461
Soulliom
f29c2a1348cd34ecb8c091b8dea8cfd4e095034b
2,210
cpp
C++
tests/state/test_state_init.cpp
hachetman/systemc-compiler
0cc81ace03336d752c0146340ff5763a20e3cefd
[ "Apache-2.0" ]
86
2020-10-23T15:59:47.000Z
2022-03-28T18:51:19.000Z
tests/state/test_state_init.cpp
hachetman/systemc-compiler
0cc81ace03336d752c0146340ff5763a20e3cefd
[ "Apache-2.0" ]
18
2020-12-14T13:11:26.000Z
2022-03-14T05:34:20.000Z
tests/state/test_state_init.cpp
hachetman/systemc-compiler
0cc81ace03336d752c0146340ff5763a20e3cefd
[ "Apache-2.0" ]
17
2020-10-29T16:19:43.000Z
2022-03-11T09:51:05.000Z
/****************************************************************************** * Copyright (c) 2020, Intel Corporation. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception. * *****************************************************************************/ // // Created by ripopov on 3/7/1...
24.555556
81
0.521719
hachetman
f2a275830c4fbb84c86a1f57854aa0e15657ef0f
4,585
cpp
C++
tasks/select-raster-rectangle.cpp
lukas-ke/faint-graphics-editor
33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf
[ "Apache-2.0" ]
10
2016-12-28T22:06:31.000Z
2021-05-24T13:42:30.000Z
tasks/select-raster-rectangle.cpp
lukas-ke/faint-graphics-editor
33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf
[ "Apache-2.0" ]
4
2015-10-09T23:55:10.000Z
2020-04-04T08:09:22.000Z
tasks/select-raster-rectangle.cpp
lukas-ke/faint-graphics-editor
33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf
[ "Apache-2.0" ]
null
null
null
// -*- coding: us-ascii-unix -*- // Copyright 2012 Lukas Kemmer // // 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 a...
27.130178
82
0.712323
lukas-ke
f2b73f328267c1ece9efbae79af8df2be995edd0
444
hpp
C++
firmware/hdread/cmds.hpp
charlesmacd/HD6805_Reader
3d9ec7f2530b691db8eba7b9a64bdfb34c989984
[ "Apache-2.0" ]
null
null
null
firmware/hdread/cmds.hpp
charlesmacd/HD6805_Reader
3d9ec7f2530b691db8eba7b9a64bdfb34c989984
[ "Apache-2.0" ]
null
null
null
firmware/hdread/cmds.hpp
charlesmacd/HD6805_Reader
3d9ec7f2530b691db8eba7b9a64bdfb34c989984
[ "Apache-2.0" ]
null
null
null
#pragma once uint8_t shuffle(uint8_t in); uint8_t nbit(uint8_t value); void run_read(); int cmd_echo(void); void read_raw_cycles(void); void validate_adl(void); void validate_adl_1bit(void); uint32_t seek_bus_cycle(uint16_t address, bool debug); void test_address_wrapping(void); void test_address_output(bool dump); v...
23.368421
54
0.79955
charlesmacd
f2b7e842960405c6e276088f7d7c5fc6507b0475
1,958
hpp
C++
android-31/java/util/concurrent/atomic/AtomicLong.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-31/java/util/concurrent/atomic/AtomicLong.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-29/java/util/concurrent/atomic/AtomicLong.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#pragma once #include "../../../lang/Number.hpp" class JString; namespace java::util::concurrent::atomic { class AtomicLong : public java::lang::Number { public: // Fields // QJniObject forward template<typename ...Ts> explicit AtomicLong(const char *className, const char *sig, Ts...agv) : java::lang::Nu...
32.633333
162
0.744127
YJBeetle
f2c1952e782ea11adee1c4bcec2659de9deed42d
7,670
cpp
C++
apps/tsp/worker/assfire/tsp/worker/Worker.cpp
Eaglegor/assfire-suite
6c8140e848932b6ce22b6addd07a93abba652c01
[ "MIT" ]
null
null
null
apps/tsp/worker/assfire/tsp/worker/Worker.cpp
Eaglegor/assfire-suite
6c8140e848932b6ce22b6addd07a93abba652c01
[ "MIT" ]
null
null
null
apps/tsp/worker/assfire/tsp/worker/Worker.cpp
Eaglegor/assfire-suite
6c8140e848932b6ce22b6addd07a93abba652c01
[ "MIT" ]
null
null
null
#include "Worker.hpp" #include <spdlog/spdlog.h> #include "assfire/tsp/engine/TspAlgorithmStateContainer.hpp" #include "assfire/tsp/api/TspSolutionListener.hpp" #include "assfire/tsp/engine/TspSolverEngine.hpp" #include "impl/TspWorkerConstants.hpp" #include <condition_variable> #include <atomic> #include <chrono> nam...
47.9375
138
0.544459
Eaglegor
f2c33a0e773fa2b8bbab1c8e1583a0f29b2d8d51
4,423
cpp
C++
src/AM/DVAM.cpp
fsaintjacques/cstore
3300a81c359c4a48e13ad397e3eb09384f57ccd7
[ "BSD-2-Clause" ]
14
2016-07-11T04:08:09.000Z
2022-03-11T05:56:59.000Z
src/AM/DVAM.cpp
ibrarahmad/cstore
3300a81c359c4a48e13ad397e3eb09384f57ccd7
[ "BSD-2-Clause" ]
null
null
null
src/AM/DVAM.cpp
ibrarahmad/cstore
3300a81c359c4a48e13ad397e3eb09384f57ccd7
[ "BSD-2-Clause" ]
13
2016-06-01T10:41:15.000Z
2022-01-06T09:01:15.000Z
/* Copyright (c) 2005, Regents of Massachusetts Institute of Technology, * Brandeis University, Brown University, and University of Massachusetts * Boston. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following condit...
26.969512
94
0.688673
fsaintjacques
f2c4a2e69f814c232eb501236dbe3a30cbef8d4f
3,517
cpp
C++
tests/FacesTests.cpp
dartzon/dotObj-parser
3709699cfba39960c8b58ccec8df5bb5ca719868
[ "MIT" ]
3
2017-11-10T14:28:37.000Z
2021-04-15T18:44:27.000Z
tests/FacesTests.cpp
dartzon/dotObj-parser
3709699cfba39960c8b58ccec8df5bb5ca719868
[ "MIT" ]
null
null
null
tests/FacesTests.cpp
dartzon/dotObj-parser
3709699cfba39960c8b58ccec8df5bb5ca719868
[ "MIT" ]
null
null
null
// ============================================================================= // Copyright (c) 2017 Othmane AIT EL CADI // // 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 restri...
33.817308
94
0.605061
dartzon
f2c62689ec735aac6f2869beef5282cdf2681cea
474
cpp
C++
source/housys/src/hou/sys/file_type.cpp
DavideCorradiDev/houzi-game-engine
d704aa9c5b024300578aafe410b7299c4af4fcec
[ "MIT" ]
2
2018-04-12T20:59:20.000Z
2018-07-26T16:04:07.000Z
source/housys/src/hou/sys/file_type.cpp
DavideCorradiDev/houzi-game-engine
d704aa9c5b024300578aafe410b7299c4af4fcec
[ "MIT" ]
null
null
null
source/housys/src/hou/sys/file_type.cpp
DavideCorradiDev/houzi-game-engine
d704aa9c5b024300578aafe410b7299c4af4fcec
[ "MIT" ]
null
null
null
// Houzi Game Engine // Copyright (c) 2018 Davide Corradi // Licensed under the MIT license. #include "hou/sys/file_type.hpp" #include "hou/cor/core_functions.hpp" #define FILE_TYPE_CASE(ft, os) \ case file_type::ft: \ return (os) << #ft namespace hou { std::ostream& operator<<(std::ostream& os, file_type ...
16.344828
56
0.670886
DavideCorradiDev
f2c8184a1810fe639bdb62ce85a3750771c5f49e
313
cpp
C++
ExdiKD_Sample/ExdiKdSample/ExdiKdSample/stdafx.cpp
sickn3ss/c_code
3ca752b8a4be07e5829df6ed397c81061d28e10d
[ "Apache-2.0" ]
2
2020-04-26T09:45:01.000Z
2020-10-10T04:54:49.000Z
ExdiKD_Sample/ExdiKdSample/KdControllerLib/stdafx.cpp
sickn3ss/c_code
3ca752b8a4be07e5829df6ed397c81061d28e10d
[ "Apache-2.0" ]
null
null
null
ExdiKD_Sample/ExdiKdSample/KdControllerLib/stdafx.cpp
sickn3ss/c_code
3ca752b8a4be07e5829df6ed397c81061d28e10d
[ "Apache-2.0" ]
null
null
null
//---------------------------------------------------------------------------- // // stdafx.cpp // // This file is used to generate precompiled header files. // // Copyright (c) Microsoft. All rights reserved. // //---------------------------------------------------------------------------- #include "stdafx.h"
26.083333
78
0.335463
sickn3ss
f2cd5ee855c409a118f3abc6b67fae0a013d3001
3,645
cpp
C++
LunarGSamples/API-Samples/allocdescriptorsets/allocdescriptorsets.cpp
nhocbotmn/d-sktop
ead5028ab32fe15edcef81740747e0d37566ad5f
[ "Apache-2.0" ]
null
null
null
LunarGSamples/API-Samples/allocdescriptorsets/allocdescriptorsets.cpp
nhocbotmn/d-sktop
ead5028ab32fe15edcef81740747e0d37566ad5f
[ "Apache-2.0" ]
null
null
null
LunarGSamples/API-Samples/allocdescriptorsets/allocdescriptorsets.cpp
nhocbotmn/d-sktop
ead5028ab32fe15edcef81740747e0d37566ad5f
[ "Apache-2.0" ]
null
null
null
/* * Vulkan Samples * * Copyright (C) 2015-2016 Valve Corporation * Copyright (C) 2015-2016 LunarG, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, includi...
35.735294
80
0.733882
nhocbotmn
f2cda095afbee8fc17f789d31e3d26110915675f
1,931
cpp
C++
EasyCpp/Net/Services/Spotify/PublicUser.cpp
Thalhammer/EasyCpp
6b9886fecf0aa363eaf03741426fd3462306c211
[ "MIT" ]
3
2018-02-06T05:12:41.000Z
2020-05-12T20:57:32.000Z
EasyCpp/Net/Services/Spotify/PublicUser.cpp
Thalhammer/EasyCpp
6b9886fecf0aa363eaf03741426fd3462306c211
[ "MIT" ]
41
2016-07-11T12:19:10.000Z
2017-08-08T07:43:12.000Z
EasyCpp/Net/Services/Spotify/PublicUser.cpp
Thalhammer/EasyCpp
6b9886fecf0aa363eaf03741426fd3462306c211
[ "MIT" ]
2
2019-08-02T10:24:36.000Z
2020-09-11T01:45:12.000Z
#include "PublicUser.h" #include "../../../Bundle.h" #include "../../../AnyArray.h" #include <cstddef> namespace EasyCpp { namespace Net { namespace Services { namespace Spotify { PublicUser::~PublicUser() { } const std::string & PublicUser::getDisplayName() const { return _displa...
22.717647
115
0.599171
Thalhammer
f2da6092a7f7351cb107fc800d67679611177aaa
1,725
cpp
C++
cpp/14/14.4.cpp
KeiichiHirobe/algorithms
8de082dab33054f3e433330a2cf5d06bd770bd04
[ "Apache-2.0" ]
null
null
null
cpp/14/14.4.cpp
KeiichiHirobe/algorithms
8de082dab33054f3e433330a2cf5d06bd770bd04
[ "Apache-2.0" ]
null
null
null
cpp/14/14.4.cpp
KeiichiHirobe/algorithms
8de082dab33054f3e433330a2cf5d06bd770bd04
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <vector> #include <string> #include <cstring> using namespace std; // 四方向への移動ベクトル const int dx[4] = {1, 0, -1, 0}; const int dy[4] = {0, 1, 0, -1}; // 入力 int H, W; vector<string> field; // 探索 vector<vector<int>> dist(510, vector<int>(510, -1)); void dfs(int h, int w) { // 四方向を探索 ...
19.382022
93
0.357101
KeiichiHirobe
f2dd11ba59b987be05ca4b067f64abc4ca0518f3
6,391
cpp
C++
rwa5_group_1/src/dynamic_obs.cpp
anubhavparas/ARIAC_Group_1
401ff3b9f157e5aab0d45e2594e78ef4e72d27cf
[ "BSD-3-Clause" ]
2
2021-04-03T02:15:27.000Z
2021-04-23T08:58:11.000Z
ariac_group_1/src/dynamic_obs.cpp
sandeep-kota/ARIAC_Group_1
572766a8ec10eb375281e8fdf625a2071d075454
[ "BSD-3-Clause" ]
null
null
null
ariac_group_1/src/dynamic_obs.cpp
sandeep-kota/ARIAC_Group_1
572766a8ec10eb375281e8fdf625a2071d075454
[ "BSD-3-Clause" ]
5
2021-03-01T07:05:48.000Z
2021-05-08T12:49:48.000Z
#include "dynamic_obs.h" /** * @brief Construct a new Dynamic Obs:: Dynamic Obs object * * @param node */ DynamicObs::DynamicObs(ros::NodeHandle &node) { node_ = node; for (int i = 0; i < 8; ++i) { break_beam_subscriber_[i] = node_.subscribe<nist_gear::Proximity>("/ariac/breakbeam_" + std::to_string(i + 1)...
26.629167
139
0.609607
anubhavparas
f2e676d908c5e66efe71d2cf11802f1602234a8a
5,369
hpp
C++
lib/data_structure/bigint.hpp
kuhaku-space/atcoder-lib
7fe1365e1be69d3eff11e122b2c7dff997a6c541
[ "Apache-2.0" ]
null
null
null
lib/data_structure/bigint.hpp
kuhaku-space/atcoder-lib
7fe1365e1be69d3eff11e122b2c7dff997a6c541
[ "Apache-2.0" ]
4
2022-01-05T14:40:40.000Z
2022-03-05T08:03:19.000Z
lib/data_structure/bigint.hpp
kuhaku-space/atcoder-lib
7fe1365e1be69d3eff11e122b2c7dff997a6c541
[ "Apache-2.0" ]
null
null
null
#include "fft/ntt.hpp" #include "template/template.hpp" /* * verify: * https://onlinejudge.u-aizu.ac.jp/problems/NTL_2_A 21/03/02 * https://onlinejudge.u-aizu.ac.jp/problems/NTL_2_B 21/03/02 * https://onlinejudge.u-aizu.ac.jp/problems/NTL_2_F 21/03/02 */ struct BigInt { vector<int> data; bool...
33.55625
79
0.485379
kuhaku-space
f2e9c0e4616df808ffd8ffd703faa35e23365ccf
3,763
cpp
C++
VEngine/src/VEngine/platform/windows/WindowsWindow.cpp
Parsif/VEngine
a31bdb1479c4dabe6a5eb808008600e736164180
[ "MIT" ]
null
null
null
VEngine/src/VEngine/platform/windows/WindowsWindow.cpp
Parsif/VEngine
a31bdb1479c4dabe6a5eb808008600e736164180
[ "MIT" ]
null
null
null
VEngine/src/VEngine/platform/windows/WindowsWindow.cpp
Parsif/VEngine
a31bdb1479c4dabe6a5eb808008600e736164180
[ "MIT" ]
null
null
null
#include "precheader.h" #include "WindowsWindow.h" #include "core/Logger.h" #include "events/KeyEvent.h" #include "events/MouseEvents.h" #include "events/WindowEvents.h" namespace vengine { WindowsWindow::~WindowsWindow() { glfwDestroyWindow(m_glfw_window); glfwTerminate(); } void WindowsWindow::init(con...
23.51875
103
0.718841
Parsif
f2f0d13bea15f5249150dcd8c7c997dca45bb645
18,661
cpp
C++
code/framework/Configuration.cpp
TU-Berlin-CVRS/uipf
57f4afcfdece904e82624453a938aafdfde8df41
[ "BSD-2-Clause" ]
8
2015-07-07T16:38:38.000Z
2020-11-26T13:52:18.000Z
code/framework/Configuration.cpp
TU-Berlin-CVRS/uipf
57f4afcfdece904e82624453a938aafdfde8df41
[ "BSD-2-Clause" ]
129
2015-07-14T19:06:30.000Z
2019-05-29T20:40:00.000Z
code/framework/Configuration.cpp
TU-Berlin-CVRS/uipf
57f4afcfdece904e82624453a938aafdfde8df41
[ "BSD-2-Clause" ]
6
2015-08-20T19:00:07.000Z
2020-11-26T13:52:19.000Z
#include <fstream> #include "Configuration.hpp" #include "yaml-cpp/yaml.h" #include "Logger.hpp" #include "InvalidConfigException.hpp" using namespace std; using namespace uipf; // loads a configuration from a given .yaml file /* filename the path to the .yaml file */ void Configuration::load(string filename){ //ba...
32.969965
151
0.669203
TU-Berlin-CVRS
f2fbd893326e10a5ebaa886b949a65262b8860db
1,880
cpp
C++
src/World/Chunk/ChunkManager.cpp
BertilBraun/MyClone
9573084e9a561b91995683ba016088174414a545
[ "MIT" ]
4
2019-01-10T18:39:53.000Z
2022-01-15T21:38:28.000Z
src/World/Chunk/ChunkManager.cpp
BOTOrtwin/MyClone
9573084e9a561b91995683ba016088174414a545
[ "MIT" ]
14
2018-09-30T21:48:35.000Z
2018-10-05T08:46:40.000Z
src/World/Chunk/ChunkManager.cpp
BOTOrtwin/MyClone
9573084e9a561b91995683ba016088174414a545
[ "MIT" ]
1
2019-12-23T19:35:54.000Z
2019-12-23T19:35:54.000Z
#include "ChunkManager.h" #include "World/World.h" #include "Utils/Mutexes.h" #include <chrono> #include <iostream> #include "Utils/UtilityFunctions.h" ChunkManager::ChunkManager(World* world) : world(world), generator(world->getSeed(), world) { } ChunkManager::~ChunkManager() { for (auto& c : chunks) saveCh...
18.613861
85
0.654255
BertilBraun
840120ae3779c2ad0d9d72e734989f654e0991e7
612
cpp
C++
project_euler/solutions/007.cpp
yifeng-pan/competitive_programming
c59edb1e08aa2db2158a814e3d34f4302658d98e
[ "Unlicense" ]
null
null
null
project_euler/solutions/007.cpp
yifeng-pan/competitive_programming
c59edb1e08aa2db2158a814e3d34f4302658d98e
[ "Unlicense" ]
null
null
null
project_euler/solutions/007.cpp
yifeng-pan/competitive_programming
c59edb1e08aa2db2158a814e3d34f4302658d98e
[ "Unlicense" ]
null
null
null
/* https://projecteuler.net/problem=7 Solution: 104743 */ #include <iostream> using namespace std; //Returns if a number is Prime. //From problem_3 bool primality(int n) { if (n < 2) return false; if (n < 4) return true; if (n % 2 == 0 || n % 3 == 0) return false; if (n == 5) return true; for (int i = 5; i * i <...
17.485714
44
0.576797
yifeng-pan
8403c51e1f358f38aab6842ccb2cb958786eecd1
364
cpp
C++
Rubbish/ege25/ege25/task9811.cpp
albarkan/school.tests
07861b884f1bc6ccf852ac60074afaeeccf40ef2
[ "Apache-2.0" ]
null
null
null
Rubbish/ege25/ege25/task9811.cpp
albarkan/school.tests
07861b884f1bc6ccf852ac60074afaeeccf40ef2
[ "Apache-2.0" ]
null
null
null
Rubbish/ege25/ege25/task9811.cpp
albarkan/school.tests
07861b884f1bc6ccf852ac60074afaeeccf40ef2
[ "Apache-2.0" ]
null
null
null
#include "25.1.h" #include <iostream> using namespace std; #define N 6 void task9811() { int a[N]; int i, j, k; for (i = 0; i < N; i++) cin >> a[i]; j = INT_MAX; for (i = 1; i < N - 1; i++) { if (a[i - 1] > a[i] && a[i] < a[i + 1]) { if (a[i] < j) { j = a[i]; } } } if (j == INT_MAX) ...
10.111111
41
0.406593
albarkan
8404ba67ea735eebe6c68aa6fac4bf1f60c47151
10,943
cpp
C++
D_Mouse-of-Maze_stack/Mouse-of-Maze_stack.cpp
SYangChen/DS_practice
1c43606910894b5a1b5b1577663ec906ac8a8183
[ "MIT" ]
null
null
null
D_Mouse-of-Maze_stack/Mouse-of-Maze_stack.cpp
SYangChen/DS_practice
1c43606910894b5a1b5b1577663ec906ac8a8183
[ "MIT" ]
null
null
null
D_Mouse-of-Maze_stack/Mouse-of-Maze_stack.cpp
SYangChen/DS_practice
1c43606910894b5a1b5b1577663ec906ac8a8183
[ "MIT" ]
null
null
null
#include <cstdlib> #include <iostream> #include <string> #include <cstdio> #include <fstream> using namespace std; fstream fi ; // file input fstream fo ; // file output bool done ; typedef struct node { int walk_x ; int walk_y ; int steps ; node *next...
24.480984
110
0.389381
SYangChen
840c540b61efbc11a2a3c827fb79efb86d845098
4,433
hpp
C++
boost/spirit/home/karma/detail/string_generate.hpp
boost-cmake/vintage
dcfb7da3177134eddaee6789d6f582259cb0d6ee
[ "BSL-1.0" ]
1
2017-07-31T02:19:48.000Z
2017-07-31T02:19:48.000Z
boost/spirit/home/karma/detail/string_generate.hpp
boost-cmake/vintage
dcfb7da3177134eddaee6789d6f582259cb0d6ee
[ "BSL-1.0" ]
null
null
null
boost/spirit/home/karma/detail/string_generate.hpp
boost-cmake/vintage
dcfb7da3177134eddaee6789d6f582259cb0d6ee
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2001-2009 Hartmut Kaiser // // 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) #if !defined(BOOST_SPIRIT_KARMA_STRING_GENERATE_FEB_23_2007_1232PM) #define BOOST_SPIRIT_KARMA_STRING_GENERATE_FEB_2...
34.1
81
0.597338
boost-cmake
840cac2845d67d2f5c7c92aee498fc7d526da78f
1,991
cpp
C++
lib/DigIn.cpp
andreaskunz/bbblue-eeros
c3a98464747b4f1b071192513e988bcc07e2c0d6
[ "Apache-2.0" ]
null
null
null
lib/DigIn.cpp
andreaskunz/bbblue-eeros
c3a98464747b4f1b071192513e988bcc07e2c0d6
[ "Apache-2.0" ]
3
2021-05-03T15:13:19.000Z
2021-05-03T15:16:39.000Z
lib/DigIn.cpp
andreaskunz/bbblue-eeros
c3a98464747b4f1b071192513e988bcc07e2c0d6
[ "Apache-2.0" ]
1
2018-04-08T22:35:24.000Z
2018-04-08T22:35:24.000Z
#include "../include/DigIn.hpp" using namespace bbblue; using namespace eeros::hal; DigIn::DigIn(std::string id, void* libHandle, std::string device, uint32_t subDeviceNumber, uint32_t channel, bool inverted) : Input<bool>(id, libHandle) ,channel(channel), inverted(inverted) { rc_button_init(RC_BTN_PIN_PAUSE, R...
44.244444
160
0.724761
andreaskunz
8412afec92d176292aa1bf928f40c0da8d837251
3,111
cpp
C++
lab3/lab3-3/Password.cpp
NekoSaiKou/Single_Chip
2bb4181d5a673eb4dfd469e0572973b0400a3b1f
[ "MIT" ]
1
2019-11-26T10:19:14.000Z
2019-11-26T10:19:14.000Z
lab3/lab3-4/Password.cpp
NekoSaiKou/Single_Chip
2bb4181d5a673eb4dfd469e0572973b0400a3b1f
[ "MIT" ]
null
null
null
lab3/lab3-4/Password.cpp
NekoSaiKou/Single_Chip
2bb4181d5a673eb4dfd469e0572973b0400a3b1f
[ "MIT" ]
null
null
null
/* || || @file Password.cpp || @version 1.2 || @author Alexander Brevig || @contact alexanderbrevig@gmail.com || || 4/5/2012 Updates Nathan Sobieck: Nathan@Sobisource.com || Now v1.2 Arduino IDE v1.0 With BAckwards compatibility || || @description || | Handle passwords easily || # || || @license || | This library is...
25.925
116
0.698811
NekoSaiKou
8413b4178e9967f34be668de8b3e5e0843a05dbd
6,024
cpp
C++
Programa/src/coder.cpp
AlexisBaladon/tarea-2-compresion-de-datos-sin-perdida
669366c18d7b79f48aee0becb9d9aeeae737610d
[ "MIT" ]
null
null
null
Programa/src/coder.cpp
AlexisBaladon/tarea-2-compresion-de-datos-sin-perdida
669366c18d7b79f48aee0becb9d9aeeae737610d
[ "MIT" ]
null
null
null
Programa/src/coder.cpp
AlexisBaladon/tarea-2-compresion-de-datos-sin-perdida
669366c18d7b79f48aee0becb9d9aeeae737610d
[ "MIT" ]
null
null
null
/* * Listing 2 -- coder.c * * This file contains the code needed to accomplish arithmetic * coding of a symbol. All the routines in this module need * to know in order to accomplish coding is what the probabilities * and scales of the symbol counts are. This information is * generally passed in a SYMBOL struct...
29.242718
73
0.609562
AlexisBaladon
841f27eeb74dacfdf6e36a91333f6f247a5d02b4
10,344
cpp
C++
Adventurer.cpp
jtrichak/C-Project
1a8d6ab61c58d63cd987f5834ee5be89e27b28e3
[ "MIT" ]
null
null
null
Adventurer.cpp
jtrichak/C-Project
1a8d6ab61c58d63cd987f5834ee5be89e27b28e3
[ "MIT" ]
null
null
null
Adventurer.cpp
jtrichak/C-Project
1a8d6ab61c58d63cd987f5834ee5be89e27b28e3
[ "MIT" ]
null
null
null
#include "Base.h" Adventurer::Adventurer() { Loc = NULL; } Adventurer::~Adventurer() { } void Adventurer::inventory(Item** Inventory, int maxInventory) { int i = 0; if(Inventory[i] == NULL) { std::cout << "Inventory: Empty" << std::endl; } else { std::cout << "Inventory: "; for(i = 0; i < maxIn...
25.290954
282
0.572022
jtrichak
841fafa8d9af3984f1eb2c88b6a4e7371d72b75b
1,375
hpp
C++
include/boost/rpc/json/server.hpp
bytemaster/Boost.RPC
a27795d37481fb5d53774cc8cf4270fff1f84964
[ "Unlicense" ]
23
2015-03-31T05:54:47.000Z
2022-02-27T14:30:16.000Z
include/boost/rpc/json/server.hpp
bytemaster/Boost.RPC
a27795d37481fb5d53774cc8cf4270fff1f84964
[ "Unlicense" ]
null
null
null
include/boost/rpc/json/server.hpp
bytemaster/Boost.RPC
a27795d37481fb5d53774cc8cf4270fff1f84964
[ "Unlicense" ]
13
2015-04-22T04:32:26.000Z
2019-08-29T13:22:21.000Z
#ifndef _BOOST_RPC_JSON_SERVER_HPP_ #define _BOOST_RPC_JSON_SERVER_HPP_ #include <boost/reflect/any_ptr.hpp> #include <boost/rpc/json/connection.hpp> #include <boost/exception/all.hpp> namespace boost { namespace rpc { namespace json { /** * @brief Maps incoming remote calls to any object implementing InterfaceT...
29.891304
108
0.619636
bytemaster
842a0fbd343e80fba28a540d7a20bd58e5cc1078
6,710
cpp
C++
jpeg-archiver-gui/maindialog.cpp
comargo/jpeg-archiver
e1a64636c88d8b6e862b04db3567300f905a70e2
[ "MIT" ]
null
null
null
jpeg-archiver-gui/maindialog.cpp
comargo/jpeg-archiver
e1a64636c88d8b6e862b04db3567300f905a70e2
[ "MIT" ]
null
null
null
jpeg-archiver-gui/maindialog.cpp
comargo/jpeg-archiver
e1a64636c88d8b6e862b04db3567300f905a70e2
[ "MIT" ]
1
2019-12-29T17:12:15.000Z
2019-12-29T17:12:15.000Z
#include "maindialog.h" #include "processcontrollerthread.h" #include "processlogmodel.h" #include "ui_maindialog.h" #include <QFileDialog> #include <QSettings> #include <QStandardPaths> #include <QDir> #include <QThread> #include <QMessageBox> static const QString LAST_OPEN_DIRECTORY(QStringLiteral("LastOpenDirector...
36.666667
154
0.711326
comargo
8431dcd3ab93be2591eda25f0fcb4624c3c4bdad
1,470
cpp
C++
data-structures/BinaryTree.cpp
ckilimci/algorithm
e6fc7ba69d7e76a50cc7dbca803c966b2c1c84ea
[ "MIT" ]
null
null
null
data-structures/BinaryTree.cpp
ckilimci/algorithm
e6fc7ba69d7e76a50cc7dbca803c966b2c1c84ea
[ "MIT" ]
null
null
null
data-structures/BinaryTree.cpp
ckilimci/algorithm
e6fc7ba69d7e76a50cc7dbca803c966b2c1c84ea
[ "MIT" ]
null
null
null
#include <iostream> #include "BinaryTree.h" BinaryTree::BinaryTree(int items[], int n) { for(int i=0; i<n; i++) { std::cout << "inserting " << items[i] << std::endl; insert(items[i]); } } void BinaryTree::print() { for(auto node : tree) { std::cout << "Data: " << node << std::endl; } } void BinaryTree::ins...
19.090909
57
0.672789
ckilimci
843c1ae61bf144082d41e21e700ef3de312d719b
7,426
hpp
C++
extern/magnetic-force/fmmtl_minimum/fmmtl/dispatch/S2T.hpp
hg2120223/SPlisHSPlasH
b1596c6dfde914533367f7d3124b46997a833af2
[ "MIT" ]
52
2019-10-06T17:25:39.000Z
2022-01-20T23:01:13.000Z
extern/magnetic-force/fmmtl_minimum/fmmtl/dispatch/S2T.hpp
hg2120223/SPlisHSPlasH
b1596c6dfde914533367f7d3124b46997a833af2
[ "MIT" ]
1
2019-10-08T18:44:41.000Z
2019-10-09T07:48:31.000Z
extern/magnetic-force/fmmtl_minimum/fmmtl/dispatch/S2T.hpp
hg2120223/SPlisHSPlasH
b1596c6dfde914533367f7d3124b46997a833af2
[ "MIT" ]
10
2019-10-07T16:33:24.000Z
2020-10-21T01:09:47.000Z
#pragma once /** @file S2T.hpp * @brief Dispatch methods for the S2T stage * */ #include <iterator> #include <type_traits> #include "fmmtl/util/Logger.hpp" #include "fmmtl/meta/kernel_traits.hpp" #if !defined(P2P_BLOCK_SIZE) # define P2P_BLOCK_SIZE 128 #endif #if !defined(P2P_NUM_THREADS) # define P2P_NUM_THREA...
31.466102
77
0.611635
hg2120223
843e06016893ea84dda991aa16fe968c94c316f1
665
cpp
C++
src/Utility.cpp
SniffleMan/SkyrimSoulsRE
6abf2665ab8ab12bb32e08e319fa9db21aa4e06c
[ "MIT" ]
2
2018-12-14T20:59:41.000Z
2018-12-25T11:35:19.000Z
src/Utility.cpp
SniffleMan/SkyrimSoulsRE
6abf2665ab8ab12bb32e08e319fa9db21aa4e06c
[ "MIT" ]
2
2018-11-30T22:32:00.000Z
2018-12-14T20:57:56.000Z
src/Utility.cpp
SniffleMan/SkyrimSoulsRE
6abf2665ab8ab12bb32e08e319fa9db21aa4e06c
[ "MIT" ]
null
null
null
#include "Utility.h" #include <cctype> // toupper #include <ios> // hex #include <sstream> // stringstream #include <string> // string, strlen namespace SkyrimSoulsRE { std::string boolToString(bool a_bool) { return a_bool ? "True" : "False"; } std::string numToHexString(UInt64 a_num, UInt64 a_bytes) { ...
17.972973
57
0.643609
SniffleMan
843fbe5e90773d721df8a68ed6cd9a3385c36e18
531
cpp
C++
Long_challenge/bella_ciao.cpp
Nimesh-Srivastava/CodeChef
02bae9871d074a719b8f66c7c1c1cf6906afa603
[ "MIT" ]
2
2020-06-10T06:28:33.000Z
2021-04-13T09:03:13.000Z
Long_challenge/bella_ciao.cpp
Nimesh-Srivastava/CodeChef
02bae9871d074a719b8f66c7c1c1cf6906afa603
[ "MIT" ]
null
null
null
Long_challenge/bella_ciao.cpp
Nimesh-Srivastava/CodeChef
02bae9871d074a719b8f66c7c1c1cf6906afa603
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int main(){ ios_base::sync_with_stdio(false); cin.tie(NULL); long long t; cin>>t; while(t--){ long long D, d, Q, P, x; cin>>D>>d>>P>>Q; long long count = 0; x = D / d; if( x % 2 == 0){ count = d * ((x...
20.423077
58
0.372881
Nimesh-Srivastava
e0fbbd286cadaccc0eb7c3272848f004fe642305
2,429
cpp
C++
src/Tread/EntityKeyDialog.cpp
hogsy/xtread
9d4eaf2778b8b687256788c7617b19542986bf32
[ "MIT" ]
1
2019-07-20T12:10:20.000Z
2019-07-20T12:10:20.000Z
src/Tread/EntityKeyDialog.cpp
hogsy/xtread
9d4eaf2778b8b687256788c7617b19542986bf32
[ "MIT" ]
null
null
null
src/Tread/EntityKeyDialog.cpp
hogsy/xtread
9d4eaf2778b8b687256788c7617b19542986bf32
[ "MIT" ]
null
null
null
// EntityKeyDialog.cpp : implementation file // #include "stdafx.h" #include "tread3d.h" #include "EntityKeyDialog.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CEntityKeyDialog dialo...
20.939655
77
0.693289
hogsy
460a973c168e31011fb00080b3219ea1e63bbb89
3,077
cpp
C++
src/utils/unit_tests/t_graph_factory.cpp
rblake-llnl/wcs
ac2d49fb66d89bdcf8f815958b62d9b566a34a8f
[ "MIT-0", "MIT" ]
6
2020-07-18T20:03:27.000Z
2021-11-15T18:44:38.000Z
src/utils/unit_tests/t_graph_factory.cpp
rblake-llnl/wcs
ac2d49fb66d89bdcf8f815958b62d9b566a34a8f
[ "MIT-0", "MIT" ]
35
2020-05-08T05:51:40.000Z
2021-07-01T15:38:59.000Z
src/utils/unit_tests/t_graph_factory.cpp
rblake-llnl/wcs
ac2d49fb66d89bdcf8f815958b62d9b566a34a8f
[ "MIT-0", "MIT" ]
5
2020-05-07T23:04:35.000Z
2021-11-15T18:46:09.000Z
/****************************************************************************** * * * Copyright 2020 Lawrence Livermore National Security, LLC and other * * Whole Cell Simulator Project Developers. See the top-level COPYRIGHT * ...
27.972727
80
0.490413
rblake-llnl
460fe76bec39a4b2e3bf7819f399627dcc036ebf
2,562
cpp
C++
DeviceCode/Targets/Native/sh7216/DeviceCode/Power/SH7216_power.cpp
valoni/STM32F103
75f0cb8be593ca287a08f5992d1f5d3c3bb12bfc
[ "Apache-2.0" ]
1
2020-06-09T02:16:43.000Z
2020-06-09T02:16:43.000Z
DeviceCode/Targets/Native/sh7216/DeviceCode/Power/SH7216_power.cpp
valoni/STM32F103
75f0cb8be593ca287a08f5992d1f5d3c3bb12bfc
[ "Apache-2.0" ]
null
null
null
DeviceCode/Targets/Native/sh7216/DeviceCode/Power/SH7216_power.cpp
valoni/STM32F103
75f0cb8be593ca287a08f5992d1f5d3c3bb12bfc
[ "Apache-2.0" ]
1
2019-12-03T05:37:43.000Z
2019-12-03T05:37:43.000Z
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Copyright (c) Microsoft Corporation. All rights reserved. ///////////////////////////////////////////////////////...
21
201
0.455113
valoni
460ff008a1412e6fa36947a1fa10c2fa36d46033
242
cpp
C++
Evision/src/EvisionTrace/EvisionTraceFactory.cpp
liuyang9609/Stereo-Matching-Cpp
31ea375fef51a693bbb85971aea551689074ebae
[ "MIT" ]
7
2021-05-31T02:30:20.000Z
2022-03-10T09:35:40.000Z
Evision/src/EvisionTrace/EvisionTraceFactory.cpp
liuyang9609/Stereo-Matching-Cpp
31ea375fef51a693bbb85971aea551689074ebae
[ "MIT" ]
null
null
null
Evision/src/EvisionTrace/EvisionTraceFactory.cpp
liuyang9609/Stereo-Matching-Cpp
31ea375fef51a693bbb85971aea551689074ebae
[ "MIT" ]
2
2021-06-27T03:52:57.000Z
2022-01-17T07:31:36.000Z
#include "EvisionTraceFactory.h" #include "TraceView.h" EvisionTraceFactory::EvisionTraceFactory() { } QWidget* EvisionTraceFactory::CreateEvisionTraceView(QWidget* parent) { TraceView* m_Trace = new TraceView(parent); return m_Trace; }
18.615385
69
0.785124
liuyang9609
461132f910013b06d883cdddd23944c81f02c592
8,990
cpp
C++
fen_parser/FenParser.cpp
pumperstew/oink
f8b9827a57eb1bb11431a59897f7f758e2aaa873
[ "MIT" ]
null
null
null
fen_parser/FenParser.cpp
pumperstew/oink
f8b9827a57eb1bb11431a59897f7f758e2aaa873
[ "MIT" ]
2
2019-05-10T09:36:10.000Z
2019-05-10T11:14:29.000Z
fen_parser/FenParser.cpp
pumperstew/oink
f8b9827a57eb1bb11431a59897f7f758e2aaa873
[ "MIT" ]
null
null
null
#include "FenParser.hpp" using namespace chess; namespace chess { namespace fen { static void bad_fen(char what) { throw FenParseFailure(std::string("Bad FEN: '") + what + "' appeared in the wrong place"); } static unsigned char move_count_to_int(const std::string &fen, int index, int count)...
35.533597
130
0.448053
pumperstew
4613998d41a80fb77e9d8aa13b228d89dbfe3a21
799
hh
C++
kenlm/include/lm/interpolate/arpa_to_stream.hh
pokey/w2ldecode
03f9995a48c5c1043be309fe5b20c6126851a9ff
[ "BSD-3-Clause" ]
114
2015-01-11T05:41:03.000Z
2021-08-31T03:47:12.000Z
Part 02/001_LM/ngram_lm_lab/kenlm/include/lm/interpolate/arpa_to_stream.hh
Kabongosalomon/AMMI-NLP
00a0e47399926ad1951b84a11cd936598a9c7c3b
[ "MIT" ]
29
2015-01-09T01:00:09.000Z
2019-09-25T06:04:02.000Z
Part 02/001_LM/ngram_lm_lab/kenlm/include/lm/interpolate/arpa_to_stream.hh
Kabongosalomon/AMMI-NLP
00a0e47399926ad1951b84a11cd936598a9c7c3b
[ "MIT" ]
50
2015-02-13T13:48:39.000Z
2019-08-07T09:45:11.000Z
#include "lm/read_arpa.hh" #include "util/file_piece.hh" #include <vector> #include <stdint.h> namespace util { namespace stream { class ChainPositions; } } namespace lm { namespace ngram { template <class T> class GrowableVocab; class WriteUniqueWords; } // namespace ngram namespace interpolate { class ARPAToSt...
20.487179
88
0.710889
pokey
4618781a37446b063f155f36e3ab2c88e2bddc6b
228,347
cpp
C++
applications/mne_scan/plugins/rapmusictoolbox/release/qrc_rapmusictoolbox.cpp
ChunmingGu/mne-cpp-master
36f21b3ab0c65a133027da83fa8e2a652acd1485
[ "BSD-3-Clause" ]
null
null
null
applications/mne_scan/plugins/rapmusictoolbox/release/qrc_rapmusictoolbox.cpp
ChunmingGu/mne-cpp-master
36f21b3ab0c65a133027da83fa8e2a652acd1485
[ "BSD-3-Clause" ]
null
null
null
applications/mne_scan/plugins/rapmusictoolbox/release/qrc_rapmusictoolbox.cpp
ChunmingGu/mne-cpp-master
36f21b3ab0c65a133027da83fa8e2a652acd1485
[ "BSD-3-Clause" ]
null
null
null
/**************************************************************************** ** Resource object code ** ** Created by: The Resource Compiler for Qt version 5.10.0 ** ** WARNING! All changes made in this file will be lost! *****************************************************************************/ static const unsi...
80.375572
103
0.767551
ChunmingGu
461db9f91a98de2e879935c35bd460497423456b
10,729
hpp
C++
src/bkGL/renderable/line/LineView.hpp
BenKoehler/bk
53d9ce99cf54fe01dbb3b22ff2418cd102e20ee3
[ "MIT" ]
4
2018-12-08T15:35:38.000Z
2021-08-06T03:23:06.000Z
src/bkGL/renderable/line/LineView.hpp
BenKoehler/bk
53d9ce99cf54fe01dbb3b22ff2418cd102e20ee3
[ "MIT" ]
null
null
null
src/bkGL/renderable/line/LineView.hpp
BenKoehler/bk
53d9ce99cf54fe01dbb3b22ff2418cd102e20ee3
[ "MIT" ]
null
null
null
/* * MIT License * * Copyright (c) 2018-2019 Benjamin Köhler * * 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.124567
202
0.572094
BenKoehler
462bc5dbe70ebbd7a0ddf1cea579f3dc33a2065e
583
hpp
C++
liblava/asset/image_data.hpp
pezcode/liblava
787c81716d71ea2291068d8909a9bc2cc73f910c
[ "MIT" ]
null
null
null
liblava/asset/image_data.hpp
pezcode/liblava
787c81716d71ea2291068d8909a9bc2cc73f910c
[ "MIT" ]
1
2021-05-21T08:58:43.000Z
2021-05-21T08:58:43.000Z
liblava/asset/image_data.hpp
pezcode/liblava
787c81716d71ea2291068d8909a9bc2cc73f910c
[ "MIT" ]
1
2021-05-20T10:54:28.000Z
2021-05-20T10:54:28.000Z
// file : liblava/asset/image_data.hpp // copyright : Copyright (c) 2018-present, Lava Block OÜ and contributors // license : MIT; see accompanying LICENSE file #pragma once #include <liblava/core/math.hpp> #include <liblava/file/file.hpp> namespace lava { struct image_data { explicit image_data(...
20.821429
73
0.631218
pezcode
4633aac10c399d858810a807935facff32e3beba
1,005
cpp
C++
test/variant/compare.cpp
freundlich/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
13
2015-02-21T18:35:14.000Z
2019-12-29T14:08:29.000Z
test/variant/compare.cpp
cpreh/fcppt
17df1b1ad08bf2435f6902d5465e3bc3fe5e3022
[ "BSL-1.0" ]
5
2016-08-27T07:35:47.000Z
2019-04-21T10:55:34.000Z
test/variant/compare.cpp
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) #include <fcppt/catch/begin.hpp> #include <fcppt/catch/end.hpp> #include <fcppt/variant/compare.hpp...
21.382979
65
0.696517
freundlich
4633c0395f8fee9cfa84db4bc28fe74795d7a08c
4,924
cpp
C++
Visual Mercutio/zModelBP/PSS_InputAttributesDefinitionDlg.cpp
Jeanmilost/Visual-Mercutio
f079730005b6ce93d5e184bb7c0893ccced3e3ab
[ "MIT" ]
1
2022-01-31T06:24:24.000Z
2022-01-31T06:24:24.000Z
Visual Mercutio/zModelBP/PSS_InputAttributesDefinitionDlg.cpp
Jeanmilost/Visual-Mercutio
f079730005b6ce93d5e184bb7c0893ccced3e3ab
[ "MIT" ]
2
2021-04-11T15:50:42.000Z
2021-06-05T08:23:04.000Z
Visual Mercutio/zModelBP/PSS_InputAttributesDefinitionDlg.cpp
Jeanmilost/Visual-Mercutio
f079730005b6ce93d5e184bb7c0893ccced3e3ab
[ "MIT" ]
2
2021-01-08T00:55:18.000Z
2022-01-31T06:24:18.000Z
/**************************************************************************** * ==> PSS_InputAttributesDefinitionDlg ------------------------------------* **************************************************************************** * Description : Provides an input attributes definition dialog box * * Devel...
36.474074
120
0.503656
Jeanmilost
463712ad733aaf1affa8caa6addb756e72d8c311
1,731
hpp
C++
viennagrid/config/id_generator_config.hpp
viennagrid/viennagrid-dev
6e47c8d098a0b691d6b9988f2444cd11d440f4c2
[ "MIT" ]
7
2015-09-13T03:50:58.000Z
2019-06-27T14:24:49.000Z
viennagrid/config/id_generator_config.hpp
viennagrid/viennagrid-dev
6e47c8d098a0b691d6b9988f2444cd11d440f4c2
[ "MIT" ]
null
null
null
viennagrid/config/id_generator_config.hpp
viennagrid/viennagrid-dev
6e47c8d098a0b691d6b9988f2444cd11d440f4c2
[ "MIT" ]
5
2015-07-03T07:14:15.000Z
2021-05-20T00:51:58.000Z
#ifndef VIENNAGRID_CONFIG_ID_GENERATOR_CONFIG_HPP #define VIENNAGRID_CONFIG_ID_GENERATOR_CONFIG_HPP /* ======================================================================= Copyright (c) 2011-2014, Institute for Microelectronics, Institute for Analysis and Scientific Computing, ...
35.326531
149
0.622184
viennagrid
4637a20814f902121c52fbc52f1fc3f60fdb8ae0
1,253
hpp
C++
include/lol/def/SanitizerSanitizerStatus.hpp
Maufeat/LeagueAPI
be7cb5093aab3f27d95b3c0e1d5700aa50126c47
[ "BSD-3-Clause" ]
1
2020-07-22T11:14:55.000Z
2020-07-22T11:14:55.000Z
include/lol/def/SanitizerSanitizerStatus.hpp
Maufeat/LeagueAPI
be7cb5093aab3f27d95b3c0e1d5700aa50126c47
[ "BSD-3-Clause" ]
null
null
null
include/lol/def/SanitizerSanitizerStatus.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 SanitizerSanitizerStatus { bool ready; std::string region; std::string locale; std::map<std::string, uint32_t> filteredWordCountsByLevel; uint32_t allowedCharsCount; uint32_t breakingCharsCount; uint32_t projectedCharsCount; ...
40.419355
108
0.683958
Maufeat
463a74db5afd1809a2e068c782121d641bb59e74
2,708
inl
C++
Common/DyMath/Include/Math/Utility/Inline/XMath/MinMax.inl
liliilli/DianYing
6e19f67e5d932e346a0ce63a648bed1a04ef618e
[ "MIT" ]
4
2019-03-17T19:46:54.000Z
2019-12-09T20:11:01.000Z
Common/DyMath/Include/Math/Utility/Inline/XMath/MinMax.inl
liliilli/DianYing
6e19f67e5d932e346a0ce63a648bed1a04ef618e
[ "MIT" ]
11
2019-06-09T13:53:27.000Z
2020-02-09T09:47:28.000Z
Common/DyMath/Include/Math/Utility/Inline/XMath/MinMax.inl
liliilli/DianYing
6e19f67e5d932e346a0ce63a648bed1a04ef618e
[ "MIT" ]
1
2019-06-04T15:20:18.000Z
2019-06-04T15:20:18.000Z
#pragma once /// /// MIT License /// Copyright (c) 2018-2019 Jongmin Yun /// /// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR /// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, /// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE /// AUT...
28.208333
81
0.682422
liliilli
463ffd356fbb8c4bb0960d608903d17b03adde11
63,544
cc
C++
xapian/xapian-core-1.2.13/languages/lovins.cc
pgs7179/xapian_modified
0229c9efb9eca19be4c9f463cd4b793672f24198
[ "MIT" ]
2
2021-01-13T21:17:42.000Z
2021-01-13T21:17:42.000Z
xapian/xapian-core-1.2.13/languages/lovins.cc
Loslove55/tailbench
fbbf3f31e3f0af1bb7db7f07c2e7193b84abb1eb
[ "MIT" ]
null
null
null
xapian/xapian-core-1.2.13/languages/lovins.cc
Loslove55/tailbench
fbbf3f31e3f0af1bb7db7f07c2e7193b84abb1eb
[ "MIT" ]
null
null
null
/* This file was generated automatically by the Snowball to ISO C++ compiler */ #include <limits.h> #include "lovins.h" static int tr_CC(Xapian::StemImplementation * this_ptr) { return (static_cast<Xapian::InternalStemLovins *>(this_ptr))->r_CC(); } static int tr_BB(Xapian::StemImplementation * this_ptr) { r...
26.948261
123
0.442811
pgs7179
4644de664b01b2616008eb83875b46d531b09d9d
253
cpp
C++
examples/11_module/09_rule_of_5/main.cpp
acc-cosc-1337-spring-2019/acc-cosc-1337-spring-2019-littlefeller
c36f81fc77120423708884296266d72f8df300d8
[ "MIT" ]
null
null
null
examples/11_module/09_rule_of_5/main.cpp
acc-cosc-1337-spring-2019/acc-cosc-1337-spring-2019-littlefeller
c36f81fc77120423708884296266d72f8df300d8
[ "MIT" ]
null
null
null
examples/11_module/09_rule_of_5/main.cpp
acc-cosc-1337-spring-2019/acc-cosc-1337-spring-2019-littlefeller
c36f81fc77120423708884296266d72f8df300d8
[ "MIT" ]
null
null
null
#include "rule_of_five.h" RuleofFive get_object(); int main() { RuleofFive r(10); r = get_object(); RuleofFive a = get_object(); RuleofFive b(6); return 0; } RuleofFive get_object() { RuleofFive r(10); return r; }
10.541667
30
0.596838
acc-cosc-1337-spring-2019
46497bffb838b65a8ba9784492814e257e506916
2,426
cpp
C++
src/libprob/Gauss.cpp
transpixel/TPQZcam
b44a97d44b49e9aa76c36efb6e4102091ff36c67
[ "MIT" ]
1
2017-06-01T00:21:16.000Z
2017-06-01T00:21:16.000Z
src/libprob/Gauss.cpp
transpixel/TPQZcam
b44a97d44b49e9aa76c36efb6e4102091ff36c67
[ "MIT" ]
3
2017-06-01T00:26:16.000Z
2020-05-09T21:06:27.000Z
libprob/Gauss.cpp
transpixel/tpqz
2d8400b1be03292d0c5ab74710b87e798ae6c52c
[ "MIT" ]
null
null
null
// // // MIT License // // Copyright (c) 2017 Stellacore Corporation. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to ...
21.095652
72
0.670239
transpixel
46540cddad83cb5b39fe7a5d4a6fd5dec41dffa7
129
cpp
C++
src/drivers/imu/mpu9250/mpu9250_spi.cpp
Diksha-agg/Firmware_val
1efc1ba06997d19df3ed9bd927cfb24401b0fe03
[ "BSD-3-Clause" ]
null
null
null
src/drivers/imu/mpu9250/mpu9250_spi.cpp
Diksha-agg/Firmware_val
1efc1ba06997d19df3ed9bd927cfb24401b0fe03
[ "BSD-3-Clause" ]
null
null
null
src/drivers/imu/mpu9250/mpu9250_spi.cpp
Diksha-agg/Firmware_val
1efc1ba06997d19df3ed9bd927cfb24401b0fe03
[ "BSD-3-Clause" ]
null
null
null
version https://git-lfs.github.com/spec/v1 oid sha256:9e9a9f86cc821385af864ea14205845b76dc04722ebe346abeb2cc992c69aff5 size 5150
32.25
75
0.883721
Diksha-agg
465517c883be0ceb0c1776cea32daca3df30e744
592
hh
C++
Menu/StateCredit.hh
deb0ch/R-Type
8bb37cd5ec318efb97119afb87d4996f6bb7644e
[ "WTFPL" ]
5
2016-03-15T20:14:10.000Z
2020-10-30T23:56:24.000Z
Menu/StateCredit.hh
deb0ch/R-Type
8bb37cd5ec318efb97119afb87d4996f6bb7644e
[ "WTFPL" ]
3
2018-12-19T19:12:44.000Z
2020-04-02T13:07:00.000Z
Menu/StateCredit.hh
deb0ch/R-Type
8bb37cd5ec318efb97119afb87d4996f6bb7644e
[ "WTFPL" ]
2
2016-04-11T19:29:28.000Z
2021-11-26T20:53:22.000Z
#ifndef STATECREDIT_H_ # define STATECREDIT_H_ #include "IState.hh" #include "SFML/Graphics.hpp" #include "SFMLButton.hh" #include "SFMLTextBox.hh" class StateCredit : public IState { private : StateCredit(const StateCredit &) = delete; StateCredit& operator=(const StateCredit&) = delete; public: StateCredit(sf::...
18.5
53
0.739865
deb0ch
4656a39c64af0fbda160c9be279ac8252b8326c2
791
cpp
C++
ksn-2020-menara-pangkat/solution.cpp
ia-toki/ksn-2020
87cab7916383ae1e442ea991b512909c18036a3c
[ "CC-BY-4.0" ]
null
null
null
ksn-2020-menara-pangkat/solution.cpp
ia-toki/ksn-2020
87cab7916383ae1e442ea991b512909c18036a3c
[ "CC-BY-4.0" ]
null
null
null
ksn-2020-menara-pangkat/solution.cpp
ia-toki/ksn-2020
87cab7916383ae1e442ea991b512909c18036a3c
[ "CC-BY-4.0" ]
null
null
null
#include <bits/stdc++.h> using namespace std; long long pangkat(long long a,long long b,long long m) { if (b==0) return 1; if (b==1) return a%m; long long temp=pangkat(a,b/2,m); temp*=temp; temp%=m; if (b&1) return (temp*a)%m; return temp; } long long f(long long a,long long b,long long m) { long long pa=a; a%=m...
21.972222
56
0.563843
ia-toki
4657c8c29fcc4528fc063947cc9c5738832e9c31
8,912
hpp
C++
krb/generic_bloom_filter.hpp
beevek/libkrb
de40c0ae2298cce83312c597175cb2696e38ca6a
[ "MIT" ]
2
2016-02-13T16:15:20.000Z
2017-05-17T11:07:55.000Z
krb/generic_bloom_filter.hpp
beevek/libkrb
de40c0ae2298cce83312c597175cb2696e38ca6a
[ "MIT" ]
1
2018-01-20T01:43:53.000Z
2018-01-20T01:43:53.000Z
krb/generic_bloom_filter.hpp
beevek/libkrb
de40c0ae2298cce83312c597175cb2696e38ca6a
[ "MIT" ]
3
2016-01-19T07:45:26.000Z
2018-07-13T08:29:05.000Z
/* Copyright 2008-2012 Kristopher R Beevers and Internap Network Services Corporation. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation...
35.365079
85
0.68851
beevek
465d9662d12a98ea514cee4e255fbb9fcde2d860
2,302
cpp
C++
parola-d474dd76d21a373d83312e50bae292c6f5f714ec/src/MD_Parola_Blinds.cpp
ElusiveTau/My-Arduino-Library
446aad4142ddc97751d13de8581ecf18bf5ba728
[ "MIT" ]
null
null
null
parola-d474dd76d21a373d83312e50bae292c6f5f714ec/src/MD_Parola_Blinds.cpp
ElusiveTau/My-Arduino-Library
446aad4142ddc97751d13de8581ecf18bf5ba728
[ "MIT" ]
null
null
null
parola-d474dd76d21a373d83312e50bae292c6f5f714ec/src/MD_Parola_Blinds.cpp
ElusiveTau/My-Arduino-Library
446aad4142ddc97751d13de8581ecf18bf5ba728
[ "MIT" ]
1
2018-07-16T04:31:49.000Z
2018-07-16T04:31:49.000Z
/* MD_Parola - Library for modular scrolling text and Effects See header file for comments Copyright (C) 2013 Marco Colli. All rights reserved. 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 Softwa...
25.865169
78
0.68245
ElusiveTau
466252b793eafd77933eaf9fb574595344eb3281
498
cpp
C++
src/NovelRT/Transform.cpp
chococookies131/NovelRT
1e9b72abf53391a9d86f7fd3e171599e820de2a2
[ "MIT" ]
null
null
null
src/NovelRT/Transform.cpp
chococookies131/NovelRT
1e9b72abf53391a9d86f7fd3e171599e820de2a2
[ "MIT" ]
null
null
null
src/NovelRT/Transform.cpp
chococookies131/NovelRT
1e9b72abf53391a9d86f7fd3e171599e820de2a2
[ "MIT" ]
null
null
null
// Copyright © Matt Jones and Contributors. Licensed under the MIT Licence (MIT). See LICENCE.md in the repository root for more information. #include <NovelRT.h> namespace NovelRT { Transform::Transform(Maths::GeoVector2F position, float rotation, Maths::GeoVector2F scale) noexcept : position(position), sc...
31.125
141
0.718876
chococookies131
466522f4f8e6e9dbdae8197abdcc0bebb023251e
850
hpp
C++
HN_CSS/HN_StringCSS.hpp
Jusdetalent/JT_Network
9af82a158be0fea1dbe2bcbc32bfac5ab54cdeba
[ "MIT" ]
1
2019-09-01T05:10:01.000Z
2019-09-01T05:10:01.000Z
HN_CSS/HN_StringCSS.hpp
Jusdetalent/JT_Network
9af82a158be0fea1dbe2bcbc32bfac5ab54cdeba
[ "MIT" ]
null
null
null
HN_CSS/HN_StringCSS.hpp
Jusdetalent/JT_Network
9af82a158be0fea1dbe2bcbc32bfac5ab54cdeba
[ "MIT" ]
null
null
null
#ifndef HN_STRINGCSS_HPP_INCLUDED #define HN_STRINGCSS_HPP_INCLUDED #include "../HN_XML/HN_Xml.hpp" #include "../HN_Javascript/HN_Javascript.hpp" #include "HN_CSS.hpp" bool isNextCharacter(const char *buffer, int c, int &cur_pos); int getStyleValue(const char *buffer, std::string &value,...
42.5
96
0.671765
Jusdetalent
46667a9908b1d9f51f8f12f25e8032fbff0ae67f
5,701
cpp
C++
src/main.cpp
cellumation/snapshotter
d239f3e08f76340d37887865517f25e7edd720c8
[ "BSD-3-Clause" ]
1
2021-11-22T09:14:11.000Z
2021-11-22T09:14:11.000Z
src/main.cpp
cellumation/snapshotter
d239f3e08f76340d37887865517f25e7edd720c8
[ "BSD-3-Clause" ]
null
null
null
src/main.cpp
cellumation/snapshotter
d239f3e08f76340d37887865517f25e7edd720c8
[ "BSD-3-Clause" ]
null
null
null
/********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2021, Cellumation GmbH * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following co...
35.191358
120
0.633398
cellumation
467ef62510d3409a0ba99848122238ba6256ca0e
1,870
cpp
C++
ui_controls/src/win/label.cpp
Berrysoft/XamlCpp
cc7da0cf83892ceb88926292b7c90b9f8da6128d
[ "MIT" ]
27
2020-01-02T07:40:57.000Z
2022-03-09T14:43:56.000Z
ui_controls/src/win/label.cpp
Berrysoft/XamlCpp
cc7da0cf83892ceb88926292b7c90b9f8da6128d
[ "MIT" ]
null
null
null
ui_controls/src/win/label.cpp
Berrysoft/XamlCpp
cc7da0cf83892ceb88926292b7c90b9f8da6128d
[ "MIT" ]
3
2020-05-21T07:02:08.000Z
2021-07-01T00:56:38.000Z
#include <shared/label.hpp> #include <windowsx.h> #include <xaml/internal/string.hpp> #include <xaml/result_win32.h> #include <xaml/ui/controls/label.h> #include <CommCtrl.h> using namespace std; xaml_result xaml_label_internal::draw(xaml_rectangle const& region) noexcept { xaml_ptr<xaml_element_base> parent; ...
26.714286
76
0.658289
Berrysoft
468ae7942518e1a6b94fcd89248f58e89fe4fca4
1,556
cpp
C++
VC2015Samples/Hilo/C++/Annotator/ImageClippingOperation.cpp
alonmm/VCSamples
6aff0b4902f5027164d593540fcaa6601a0407c3
[ "MIT" ]
300
2019-05-09T05:32:33.000Z
2022-03-31T20:23:24.000Z
VC2015Samples/Hilo/C++/Annotator/ImageClippingOperation.cpp
JaydenChou/VCSamples
9e1d4475555b76a17a3568369867f1d7b6cc6126
[ "MIT" ]
9
2016-09-19T18:44:26.000Z
2018-10-26T10:20:05.000Z
VC2015Samples/Hilo/C++/Annotator/ImageClippingOperation.cpp
JaydenChou/VCSamples
9e1d4475555b76a17a3568369867f1d7b6cc6126
[ "MIT" ]
633
2019-05-08T07:34:12.000Z
2022-03-30T04:38:28.000Z
//=================================================================================== // Copyright (c) Microsoft Corporation. All rights reserved. // // THIS CODE AND INFORMATION IS PROVIDED 'AS IS' WITHOUT WARRA...
31.755102
110
0.580977
alonmm
468ef850ff182a4bea176399bfcb0fa0c32edd02
6,012
cpp
C++
Funambol/source/common/inputStream/FileDataInputStream.cpp
wbitos/funambol
29f76caf9cee51d51ddf5318613411cb1cfb8e4e
[ "MIT" ]
null
null
null
Funambol/source/common/inputStream/FileDataInputStream.cpp
wbitos/funambol
29f76caf9cee51d51ddf5318613411cb1cfb8e4e
[ "MIT" ]
null
null
null
Funambol/source/common/inputStream/FileDataInputStream.cpp
wbitos/funambol
29f76caf9cee51d51ddf5318613411cb1cfb8e4e
[ "MIT" ]
null
null
null
/* * Funambol is a mobile platform developed by Funambol, Inc. * Copyright (C) 2003 - 2007 Funambol, Inc. * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License version 3 as published by * the Free Software Foundation with the addit...
35.364706
137
0.677478
wbitos
46a32c6163d4e180dcb52bd5d51f7e385025a375
280
cpp
C++
BasisOfCProgramLanguage/SeparateInteger.cpp
chtld/Programming-and-Algorithm-Course
669f266fc97db9050013ffbb388517667de33433
[ "MIT" ]
2
2019-06-10T11:50:06.000Z
2019-10-14T08:00:41.000Z
BasisOfCProgramLanguage/SeparateInteger.cpp
chtld/Programming-and-Algorithm-Course
669f266fc97db9050013ffbb388517667de33433
[ "MIT" ]
null
null
null
BasisOfCProgramLanguage/SeparateInteger.cpp
chtld/Programming-and-Algorithm-Course
669f266fc97db9050013ffbb388517667de33433
[ "MIT" ]
null
null
null
#include <iostream> int main(){ int integer = 0; std::cin >> integer; for(int i = 2; i >= 0; i--){ int temp = 1; for(int j = 0; j < i; j++){ temp *= 10; } std::cout << integer/temp << std::endl; integer -= (integer/temp) * temp; } return 0; }
17.5
43
0.485714
chtld
9e534643541c2e9639d95f8788350e1688bfd2ad
816
cpp
C++
OverkillGameEngine/engine/objectmodel/system.cpp
imefGames/OverkillGameEngine
0a8885bb32eb61173f56899f969de362802157c9
[ "Apache-2.0" ]
null
null
null
OverkillGameEngine/engine/objectmodel/system.cpp
imefGames/OverkillGameEngine
0a8885bb32eb61173f56899f969de362802157c9
[ "Apache-2.0" ]
null
null
null
OverkillGameEngine/engine/objectmodel/system.cpp
imefGames/OverkillGameEngine
0a8885bb32eb61173f56899f969de362802157c9
[ "Apache-2.0" ]
null
null
null
#include <stdafx.h> #include <engine\objectmodel\system.h> #include <engine\objectmodel\subsystem.h> #include <engine\objectmodel\universe.h> namespace OK { void System::Init() { } void System::Shutdown() { for (SubSystem* subSystem : m_SubSystems) { subSystem->Shutdow...
20.4
77
0.595588
imefGames
9e53c9535dac1673c69fef914f3812787235bb5d
312
cpp
C++
src/InterfejsRysowania.cpp
kacpermejs/Dron
287dfb6c7f93799f166b6733d827f7631902b65d
[ "MIT" ]
null
null
null
src/InterfejsRysowania.cpp
kacpermejs/Dron
287dfb6c7f93799f166b6733d827f7631902b65d
[ "MIT" ]
null
null
null
src/InterfejsRysowania.cpp
kacpermejs/Dron
287dfb6c7f93799f166b6733d827f7631902b65d
[ "MIT" ]
null
null
null
#include "InterfejsRysowania.hh" #include "RysowanieUstawienia.hh" using drawNS::APIGnuPlot3D; std::shared_ptr<drawNS::Draw3DAPI> InterfejsRysowania::api(new APIGnuPlot3D(-WYMIAR_X,WYMIAR_X,-WYMIAR_Y,WYMIAR_Y,-WYMIAR_Z,WYMIAR_Z,ODSWIEZANIE)); void InterfejsRysowania::Usun() { api->erase_shape(m_Numer); }
28.363636
147
0.794872
kacpermejs
9e540a362311507e0d8467ed0f1a3f54babbc6ed
4,192
cpp
C++
PhysXChips/PhysXRope.cpp
snaxgameengine/PhysXForSnaX
aa18d93a30e6cfe11b0258af3733b65de0adf832
[ "BSD-3-Clause" ]
3
2021-04-27T08:52:40.000Z
2021-05-19T18:05:40.000Z
PhysXChips/PhysXRope.cpp
snaxgameengine/PhysXForSnaX
aa18d93a30e6cfe11b0258af3733b65de0adf832
[ "BSD-3-Clause" ]
null
null
null
PhysXChips/PhysXRope.cpp
snaxgameengine/PhysXForSnaX
aa18d93a30e6cfe11b0258af3733b65de0adf832
[ "BSD-3-Clause" ]
null
null
null
// Copyright(c) 2013-2019, mCODE A/S // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // 1. Redistributions of source code must retain the above copyright // notice, this list of conditio...
35.82906
131
0.717796
snaxgameengine
9e5503aeec52f544c71b97be07ccf3d390d9751b
2,179
cpp
C++
src/PbWidget.cpp
tudoroancea/cube-timer
377ba5247ff1c041eaa044a9b0281ca0f168ecc8
[ "MIT" ]
1
2021-05-06T17:08:55.000Z
2021-05-06T17:08:55.000Z
src/PbWidget.cpp
tudoroancea/cube-timer
377ba5247ff1c041eaa044a9b0281ca0f168ecc8
[ "MIT" ]
null
null
null
src/PbWidget.cpp
tudoroancea/cube-timer
377ba5247ff1c041eaa044a9b0281ca0f168ecc8
[ "MIT" ]
null
null
null
// // Created by Tudor Oancea on 18/05/2021. // Copyright (c) 2021 Tudor Oancea. All rights reserved. // Licensed under the MIT license (see at https://github.com/tudoroancea/cube-timer/blob/develop/LICENSE) // #include "PbWidget.hpp" #include <QBoxLayout> TimeLabel::TimeLabel(QString const& str, QWidget* parent, siz...
39.618182
148
0.699862
tudoroancea
9e55f5f8ee27f725fbc60448ad98df8a18614803
2,846
cpp
C++
RendererCPlusPlus/Renderer/Renderer/context.cpp
Trey0303/ComputerGraphics
6ee9b1d11e0ece6fe5b4f5dc08da4ebb8fd52f2d
[ "MIT" ]
null
null
null
RendererCPlusPlus/Renderer/Renderer/context.cpp
Trey0303/ComputerGraphics
6ee9b1d11e0ece6fe5b4f5dc08da4ebb8fd52f2d
[ "MIT" ]
null
null
null
RendererCPlusPlus/Renderer/Renderer/context.cpp
Trey0303/ComputerGraphics
6ee9b1d11e0ece6fe5b4f5dc08da4ebb8fd52f2d
[ "MIT" ]
null
null
null
#include "context.h" #include <iostream> #include "glew//glew.h" //GLEW must be included first before GLFW #include "glfw/glfw3.h" namespace aie { // Error callback called by OpenGL whenever a problem occurs (vendor-dependent) void APIENTRY errorCallback(GLenum source, GLenum type, GLuint id, GLenum severity...
29.340206
95
0.583275
Trey0303
9e592a46b04b4b6aa48f4aeaed6916ab74c60744
396
cpp
C++
BaekJoon/10250.cpp
falconlee236/Algorithm_Practice
4e6e380a0e6c840525ca831a05c35253eeaaa25c
[ "MIT" ]
null
null
null
BaekJoon/10250.cpp
falconlee236/Algorithm_Practice
4e6e380a0e6c840525ca831a05c35253eeaaa25c
[ "MIT" ]
null
null
null
BaekJoon/10250.cpp
falconlee236/Algorithm_Practice
4e6e380a0e6c840525ca831a05c35253eeaaa25c
[ "MIT" ]
null
null
null
/*10250*/ /*Got it!*/ #include <iostream> using namespace std; int main() { int t; cin >> t; while(t--){ int h, w, n; cin >> h >> w >> n; if(n % h == 0){ cout << h; if(n / h < 10) cout << 0; cout << n / h << endl; } else{ cout << n % h; if(n / h + 1 ...
17.217391
38
0.368687
falconlee236
9e608de1c1261f3e73829c0e383d9bcae15f916a
6,685
cpp
C++
Chapter 07/18.cpp
jesushilarioh/Starting-Out-With-C-Programming-Challenges
34fd6ac3d95c4da934a739f8aeac9b3e078ef898
[ "MIT" ]
7
2019-08-03T10:36:55.000Z
2022-03-01T09:31:14.000Z
Chapter 07/18.cpp
jesushilarioh/Starting-Out-With-C-Programming-Challenges
34fd6ac3d95c4da934a739f8aeac9b3e078ef898
[ "MIT" ]
null
null
null
Chapter 07/18.cpp
jesushilarioh/Starting-Out-With-C-Programming-Challenges
34fd6ac3d95c4da934a739f8aeac9b3e078ef898
[ "MIT" ]
6
2019-07-04T05:59:19.000Z
2022-01-26T03:33:03.000Z
#include <iostream> using namespace std; const int ROWS_AND_COLUMNS = 3; void displayTwoDimensionalArray(const char[][ROWS_AND_COLUMNS]); void player(char[][ROWS_AND_COLUMNS], char); bool checkIfWinnerAcross(const char[][ROWS_AND_COLUMNS], const char, string &); bo...
25.613027
95
0.497233
jesushilarioh
9e62d3c4ed1d7541c1e60413eb4a508256535ab9
2,004
cpp
C++
tests/UiPrototype/QtWidget_v1/mainwindow.cpp
ayaromenok/ProjectSync
a699f97080a84da4d9fb539885848d41ed1de4e8
[ "MIT" ]
null
null
null
tests/UiPrototype/QtWidget_v1/mainwindow.cpp
ayaromenok/ProjectSync
a699f97080a84da4d9fb539885848d41ed1de4e8
[ "MIT" ]
2
2019-11-10T10:14:38.000Z
2019-11-25T12:33:54.000Z
tests/UiPrototype/QtWidget_v1/mainwindow.cpp
ayaromenok/ProjectSync
a699f97080a84da4d9fb539885848d41ed1de4e8
[ "MIT" ]
null
null
null
//Copyrigth (C) 2019 Andrey Yaromenok #include "mainwindow.h" #include "ui_mainwindow.h" #include <QtCore> #include <QtGui> #include <QtWidgets> MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) , ui(new Ui::MainWindow) { ui->setupUi(this); initTestUi(); } MainWindow::~MainWindow() { d...
30.363636
108
0.658683
ayaromenok
9e64200709412e945afb504874c4b5bb043348fa
1,940
cpp
C++
src/nodes/filter/opencv/cvtransformation.cpp
Graph-ICS/Graph-ICS
95cf624f38744642c257509373c3550baf484438
[ "MIT" ]
11
2021-01-04T10:58:56.000Z
2022-03-30T15:14:23.000Z
src/nodes/filter/opencv/cvtransformation.cpp
Graph-ICS/Graph-ICS
95cf624f38744642c257509373c3550baf484438
[ "MIT" ]
2
2019-01-22T14:51:42.000Z
2019-01-22T14:58:55.000Z
src/nodes/filter/opencv/cvtransformation.cpp
Graph-ICS/Graph-ICS
95cf624f38744642c257509373c3550baf484438
[ "MIT" ]
2
2019-01-22T14:48:15.000Z
2020-07-28T14:59:26.000Z
#include "cvtransformation.h" #include "opencv2/imgcodecs.hpp" #include "opencv2/highgui.hpp" #include "opencv2/imgproc.hpp" CvTransformation::CvTransformation() { m_nodeName = "CvTransformation"; m_warningMessage = ""; registerAttribute("angle", new NodeDoubleAttribute(0.0, 180.0, -180.0)); registerA...
30.793651
82
0.553093
Graph-ICS
9e703be65cf079306067df6c83655379804f04fb
6,587
hpp
C++
hpx/runtime/threads/detail/thread_pool.hpp
kempj/hpx
ffdbfed5dfa029a0f2e97e7367cb66d12103df67
[ "BSL-1.0" ]
null
null
null
hpx/runtime/threads/detail/thread_pool.hpp
kempj/hpx
ffdbfed5dfa029a0f2e97e7367cb66d12103df67
[ "BSL-1.0" ]
null
null
null
hpx/runtime/threads/detail/thread_pool.hpp
kempj/hpx
ffdbfed5dfa029a0f2e97e7367cb66d12103df67
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2007-2015 Hartmut Kaiser // // 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) #if !defined(HPX_RUNTIME_THREADS_DETAIL_THREAD_POOL_JUN_11_2015_1137AM) #define HPX_RUNTIME_THREADS_DETAIL_THREAD_POOL...
37.426136
85
0.67952
kempj
9e71ac8ce27184c568d1b5ebcdfbca8031b2d81f
566
hpp
C++
compat/linkage-macros.hpp
cpuwolf/opentrack
5541cfc68d87c2fc254eb2f2a5aad79831871a88
[ "ISC" ]
1
2018-02-06T08:36:39.000Z
2018-02-06T08:36:39.000Z
compat/linkage-macros.hpp
cpuwolf/opentrack
5541cfc68d87c2fc254eb2f2a5aad79831871a88
[ "ISC" ]
null
null
null
compat/linkage-macros.hpp
cpuwolf/opentrack
5541cfc68d87c2fc254eb2f2a5aad79831871a88
[ "ISC" ]
null
null
null
#pragma once #if defined _MSC_VER # define OTR_GENERIC_EXPORT __declspec(dllexport) # define OTR_GENERIC_IMPORT __declspec(dllimport) #elif defined _WIN32 && !defined(__WINE__) # define OTR_GENERIC_EXPORT __attribute__((dllexport, visibility ("default"))) # define OTR_GENERIC_IMPORT __attribute__((dllimport)) ...
35.375
80
0.810954
cpuwolf
9e725376cc5608848cdec3640f93213bf0ca359c
34
hpp
C++
src/boost_graph_dimacs.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_graph_dimacs.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_graph_dimacs.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/graph/dimacs.hpp>
17
33
0.764706
miathedev
9e7901166c51d70b42e59955c913e8ac558c4e40
2,856
cpp
C++
engine/src/platform/openGL/Texture2D.cpp
baard047/bard_engine
595d5e35faf2f59a84a4f70e952caa8ca322093b
[ "Apache-2.0" ]
null
null
null
engine/src/platform/openGL/Texture2D.cpp
baard047/bard_engine
595d5e35faf2f59a84a4f70e952caa8ca322093b
[ "Apache-2.0" ]
null
null
null
engine/src/platform/openGL/Texture2D.cpp
baard047/bard_engine
595d5e35faf2f59a84a4f70e952caa8ca322093b
[ "Apache-2.0" ]
null
null
null
/* * \file Texture2D.cpp.cc * \copyright (C) 2021 Special Technological Center Ltd * \author : Bardashevsky A.K. * \date : 10.01.2021 * \time : 14:57 */ #include "Texture2D.h" #include <glad/glad.h> #include <stb_image.h> #include <bard/core/Base.h> namespace OpenGL { Texture2D::Texture2D( uint32_t width, ui...
26.943396
104
0.690476
baard047
9e7f36efaad244e39712d603844b8d3161feac21
15,920
cc
C++
storeds/storeds_db_factory.cc
DIR-LAB/ycsb-storedsbench
023895bc04f97baf56930eb160bf7e597fe19df7
[ "MIT" ]
12
2020-03-05T19:11:00.000Z
2021-05-11T14:27:15.000Z
storeds/storeds_db_factory.cc
DIR-LAB/ycsb-storedsbench
023895bc04f97baf56930eb160bf7e597fe19df7
[ "MIT" ]
null
null
null
storeds/storeds_db_factory.cc
DIR-LAB/ycsb-storedsbench
023895bc04f97baf56930eb160bf7e597fe19df7
[ "MIT" ]
1
2020-04-10T12:52:33.000Z
2020-04-10T12:52:33.000Z
// // Created by aislam6 on 11/11/19. // #include<string.h> #include "storeds_db_factory.h" #include "btree_mem_opt/bt_dram.cc" #include "btree_mem_opt/bt_pmem.cc" #include "btree_mem_opt/bt_pmem_tx.cc" #include "btree_mem_opt/bt_vmem.cc" #include "btree_mem_opt/bt_dram_concurrent_mlock.cc" #include "btree_mem_opt/bt...
48.096677
74
0.688317
DIR-LAB
9e80baf90ba50f85637c4aa5a186bfe9bebf17ad
2,666
cpp
C++
NumberWithUnits.cpp
AfikPeretz/ex3.1-cpp
5aff9195e4f713ed2c14ef78157d9183ebc545e5
[ "MIT" ]
null
null
null
NumberWithUnits.cpp
AfikPeretz/ex3.1-cpp
5aff9195e4f713ed2c14ef78157d9183ebc545e5
[ "MIT" ]
null
null
null
NumberWithUnits.cpp
AfikPeretz/ex3.1-cpp
5aff9195e4f713ed2c14ef78157d9183ebc545e5
[ "MIT" ]
null
null
null
#include "NumberWithUnits.hpp" namespace ariel { NumberWithUnits::NumberWithUnits(double amount, string unit_type){} void NumberWithUnits::read_units(ifstream &file_name) {} NumberWithUnits operator+ (NumberWithUnits &other_num) { NumberWithUnits result(1, "km"); return result; } Nu...
33.325
79
0.649287
AfikPeretz
9e8783a930f9c87601edaa446f59cdb5b8e7fbf2
1,310
cpp
C++
src/xsave-test/main.cpp
dalehuangzihan/infos-user
14a85e86f7f92041cda50155d9c381dc6fd93ef0
[ "MIT" ]
null
null
null
src/xsave-test/main.cpp
dalehuangzihan/infos-user
14a85e86f7f92041cda50155d9c381dc6fd93ef0
[ "MIT" ]
null
null
null
src/xsave-test/main.cpp
dalehuangzihan/infos-user
14a85e86f7f92041cda50155d9c381dc6fd93ef0
[ "MIT" ]
null
null
null
/* SPDX-License-Identifier: MIT */ #include <infos.h> struct Parameters { double exponent; double base; }; __attribute__((aligned(16))) Parameters parms[10]; static void power(void *arg) { Parameters p = *((Parameters *) arg); double j = p.exponent; char name_buffer[16] = {0}; sprintf(name_...
20.46875
100
0.543511
dalehuangzihan
9e88e7a611a156bc16263d050923de9acfc83db3
1,387
cpp
C++
src/Edge.cpp
magestik/graph
05d2d779b6e73ec998fe4da7b0dfbe70a1026633
[ "MIT" ]
null
null
null
src/Edge.cpp
magestik/graph
05d2d779b6e73ec998fe4da7b0dfbe70a1026633
[ "MIT" ]
null
null
null
src/Edge.cpp
magestik/graph
05d2d779b6e73ec998fe4da7b0dfbe70a1026633
[ "MIT" ]
null
null
null
#include "Edge.h" /** * @brief Constructor */ Edge::Edge(Node * pSource, Node * pTarget) : source(pSource), target(pTarget) { // ... } /** * @brief Destructor */ Edge::~Edge(void) { // ... } /** * @brief Edge::getSource * @param pSource */ void Edge::getSource(Node * pSource) { source = pSource; } /** * ...
12.495495
77
0.62509
magestik
9e8ab971d1a303ab37847abed6cf433a1bc20368
1,832
hpp
C++
include/asio_sodium/detail/session_data.hpp
mikezackles/asio_sodium_socket
5a81cf8000896683564a3786e4431a05c8f890e4
[ "Apache-2.0" ]
28
2016-03-29T06:51:45.000Z
2021-11-15T09:42:20.000Z
include/asio_sodium/detail/session_data.hpp
mikezackles/asio_sodium_socket
5a81cf8000896683564a3786e4431a05c8f890e4
[ "Apache-2.0" ]
null
null
null
include/asio_sodium/detail/session_data.hpp
mikezackles/asio_sodium_socket
5a81cf8000896683564a3786e4431a05c8f890e4
[ "Apache-2.0" ]
3
2016-04-06T10:25:01.000Z
2019-09-06T21:41:20.000Z
/* * Copyright 2016 Zachary Michaels * * 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 agree...
29.079365
75
0.748908
mikezackles