hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
108
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
67k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
3649cd645f04a2c11fa1c2be5751592c3aee5e08
5,748
cpp
C++
LoganEngine/src/lTest/TestResourceManager/HierarchyTest/TestHierarchyBuilder.cpp
sereslorant/logan_engine
a596b4128d0a58236be00f93064e276e43484017
[ "MIT" ]
1
2019-12-26T13:22:29.000Z
2019-12-26T13:22:29.000Z
LoganEngine/src/lTest/TestResourceManager/HierarchyTest/TestHierarchyBuilder.cpp
sereslorant/logan_engine
a596b4128d0a58236be00f93064e276e43484017
[ "MIT" ]
null
null
null
LoganEngine/src/lTest/TestResourceManager/HierarchyTest/TestHierarchyBuilder.cpp
sereslorant/logan_engine
a596b4128d0a58236be00f93064e276e43484017
[ "MIT" ]
null
null
null
#include <lCore/lResourceManager/lrmResourceManager/lrmResourceManager.hpp> #include <lUtils/lJSON/lJSON.h> #include <iostream> #include <lUtils/lJSON/lJSON_TypeRetriever.h> #include <fstream> const liJSON_Object *RootObject(std::istream &in) { liJSON_Value *FileContent; lJSON_Util::Parse(in,FileContent); if(F...
26.127273
141
0.728253
sereslorant
3649e45161f4af8dee42d5162b531ee7ee0d8b9a
4,747
cpp
C++
haxelib/native-glue/android/src/android-main.cpp
Kakise/hx-gameplay
e7fe3d4e79e0e12d439b3f3c930d85d78f2eba8d
[ "MIT" ]
3
2021-07-07T08:50:41.000Z
2021-07-15T00:53:53.000Z
haxelib/native-glue/android/src/android-main.cpp
Kakise/hx-gameplay
e7fe3d4e79e0e12d439b3f3c930d85d78f2eba8d
[ "MIT" ]
1
2015-09-04T15:44:37.000Z
2015-09-04T19:07:01.000Z
haxelib/native-glue/android/src/android-main.cpp
Kakise/hx-gameplay
e7fe3d4e79e0e12d439b3f3c930d85d78f2eba8d
[ "MIT" ]
1
2017-11-01T21:03:22.000Z
2017-11-01T21:03:22.000Z
#ifdef __ANDROID__ #include <stdlib.h> #include <stdio.h> #include <dlfcn.h> #include <android/log.h> #include <android_native_app_glue.h> #define ERROR(msg) __android_log_print(ANDROID_LOG_ERROR, "ERROR", msg) #define DEBUG(msg) __android_log_print(ANDROID_LOG_DEBUG, "DEBUG", msg); /** * TODO */ static void *load...
30.235669
132
0.679376
Kakise
364a56c73d6ba5d7c8023a5cc2e657d9e5f30079
279
cpp
C++
Exercises/Fractal/Fractal.cpp
WorkingFen/CppBasics
5c27d03af723bc5bf485ae9f8c7787d1b0751f26
[ "MIT" ]
null
null
null
Exercises/Fractal/Fractal.cpp
WorkingFen/CppBasics
5c27d03af723bc5bf485ae9f8c7787d1b0751f26
[ "MIT" ]
null
null
null
Exercises/Fractal/Fractal.cpp
WorkingFen/CppBasics
5c27d03af723bc5bf485ae9f8c7787d1b0751f26
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main(){ int k=0; double i,j,r; for(double y=-17; y<17; ++y){ for(double x=0; x++<80; cout<<" .:-;!/>)|&IH%*#"[k & 15]) for(i=r=k=0; j=r*r-i*i-2+x/25, i=2*r*i+y/10,j*j+i*i<11 && k++ <111; r=j); cout<<endl; } }
18.6
79
0.483871
WorkingFen
364adf89e74a56afb5ccd0ad9ea857e0bc2d4172
778
hpp
C++
Spiel/src/engine/util/Perf.hpp
Ipotrick/CPP-2D-Game-Engine
9cd87c369d813904d76668fe6153c7c4e8686023
[ "MIT" ]
null
null
null
Spiel/src/engine/util/Perf.hpp
Ipotrick/CPP-2D-Game-Engine
9cd87c369d813904d76668fe6153c7c4e8686023
[ "MIT" ]
null
null
null
Spiel/src/engine/util/Perf.hpp
Ipotrick/CPP-2D-Game-Engine
9cd87c369d813904d76668fe6153c7c4e8686023
[ "MIT" ]
null
null
null
#pragma once #include <chrono> #include "types/Timing.hpp" struct PerfLogger { public: inline void clear() { timeMap.clear(); timeFloatMap.clear(); } inline void commitTimes() { for (auto& el : timeMap) { timeFloatMap[el.first] = micsecToFloat(el.second); el.second = std::chrono::microseconds(0); } ...
25.096774
110
0.712082
Ipotrick
3652d579b85fc97a779b03272288dfc9c7cdf8d6
1,999
cc
C++
libhcandata/data_file.cc
hcanIngo/openHCAN
8aef7070482af7ae996755799e5d65d0d3b56553
[ "Naumen", "Condor-1.1", "MS-PL" ]
21
2015-12-19T21:08:02.000Z
2021-09-09T09:39:23.000Z
libhcandata/data_file.cc
RealMerlin/openHCAN
7e15e725c3d6f2a5a36ccd55f5699685356d8287
[ "Naumen", "Condor-1.1", "MS-PL" ]
10
2015-12-18T20:24:22.000Z
2021-07-03T12:30:15.000Z
libhcandata/data_file.cc
RealMerlin/openHCAN
7e15e725c3d6f2a5a36ccd55f5699685356d8287
[ "Naumen", "Condor-1.1", "MS-PL" ]
6
2015-12-27T17:15:21.000Z
2021-09-09T09:39:38.000Z
#include "data_file.h" #include <libhcan++/traceable_error.h> #include <libhcandata/file_format_v1.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <errno.h> #include <unistd.h> #include <string.h> #include <sys/mman.h> using namespace hcan; data_file::data_file(const std::string &filename...
22.977011
76
0.727864
hcanIngo
365917a6ae487ce893e0a904ba898fda5f5047c8
2,688
hpp
C++
include/HostManager.hpp
ARCCN/Host-Manager
f574471839f4bc404229f92f566b54d68bfcdc72
[ "Apache-2.0" ]
null
null
null
include/HostManager.hpp
ARCCN/Host-Manager
f574471839f4bc404229f92f566b54d68bfcdc72
[ "Apache-2.0" ]
null
null
null
include/HostManager.hpp
ARCCN/Host-Manager
f574471839f4bc404229f92f566b54d68bfcdc72
[ "Apache-2.0" ]
1
2019-10-24T17:11:07.000Z
2019-10-24T17:11:07.000Z
/* * 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 ...
27.151515
88
0.710565
ARCCN
365999a1264ae33e95c3692cd6fd175c8ba7056c
2,989
cpp
C++
Source/Base/src/ResolverSelf_IP_v4.cpp
RamilGauss/MMO-Framework
c7c97b019adad940db86d6533861deceafb2ba04
[ "MIT" ]
27
2015-01-08T08:26:29.000Z
2019-02-10T03:18:05.000Z
Source/Base/src/ResolverSelf_IP_v4.cpp
RamilGauss/MMO-Framework
c7c97b019adad940db86d6533861deceafb2ba04
[ "MIT" ]
1
2017-04-05T02:02:14.000Z
2017-04-05T02:02:14.000Z
Source/Base/src/ResolverSelf_IP_v4.cpp
RamilGauss/MMO-Framework
c7c97b019adad940db86d6533861deceafb2ba04
[ "MIT" ]
17
2015-01-18T02:50:01.000Z
2019-02-08T21:00:53.000Z
/* Author: Gudakov Ramil Sergeevich a.k.a. Gauss Гудаков Рамиль Сергеевич Contacts: [ramil2085@mail.ru, ramil2085@gmail.com] See for more information LICENSE.md. */ #include "ResolverSelf_IP_v4.h" #include "SingletonManager.h" #include <stdio.h> #include <boost/asio.hpp> #include <string.h> #ifndef WIN32...
28.466667
85
0.560723
RamilGauss
365a237c9ef04c3c69ee4c12a0bcd9dd512816b5
1,384
hpp
C++
console/console_app.hpp
BKarschat/wlanitor
e2ac42b6989d4200dc00385c2601c60e198cdc2f
[ "MIT" ]
null
null
null
console/console_app.hpp
BKarschat/wlanitor
e2ac42b6989d4200dc00385c2601c60e198cdc2f
[ "MIT" ]
null
null
null
console/console_app.hpp
BKarschat/wlanitor
e2ac42b6989d4200dc00385c2601c60e198cdc2f
[ "MIT" ]
null
null
null
/* uses ncurses to interact with user by Bastian Karschat 5.3.2017 */ class Print_devices; #ifndef CONSOLE_APP_HPP #define CONSOLE_APP_HPP #include "../DeviceMonitor/Device_Monitor.hpp" #include "../DeviceMonitor/bss.hpp" #include <unistd.h> #include <ncurses.h> /* ncurses.h includes stdio.h */...
23.457627
98
0.708815
BKarschat
365f0d2138197adc0b0f5c169285aeb8fa8bef2f
1,762
hpp
C++
libs/fnd/tuple/include/bksge/fnd/tuple/inl/tuple_init_type_inl.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
4
2018-06-10T13:35:32.000Z
2021-06-03T14:27:41.000Z
libs/fnd/tuple/include/bksge/fnd/tuple/inl/tuple_init_type_inl.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
566
2017-01-31T05:36:09.000Z
2022-02-09T05:04:37.000Z
libs/fnd/tuple/include/bksge/fnd/tuple/inl/tuple_init_type_inl.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
1
2018-07-05T04:40:53.000Z
2018-07-05T04:40:53.000Z
/** * @file tuple_init_type_inl.hpp * * @brief tuple_init_type の実装 * * @author myoukaku */ #ifndef BKSGE_FND_TUPLE_INL_TUPLE_INIT_TYPE_INL_HPP #define BKSGE_FND_TUPLE_INL_TUPLE_INIT_TYPE_INL_HPP #include <bksge/fnd/tuple/tuple_init_type.hpp> #include <bksge/fnd/tuple/tuple_element.hpp> #include <b...
20.729412
54
0.713394
myoukaku
366024cf6b599b67673c37cc4b6fcc16160d4f88
667
hpp
C++
src/Utils/str.hpp
Reewr/master
76725548d0b6ff3ac22f5383eb0c773d2fcc2a4b
[ "MIT" ]
4
2017-05-22T04:14:06.000Z
2022-02-09T19:15:10.000Z
src/Utils/str.hpp
Reewr/master
76725548d0b6ff3ac22f5383eb0c773d2fcc2a4b
[ "MIT" ]
null
null
null
src/Utils/str.hpp
Reewr/master
76725548d0b6ff3ac22f5383eb0c773d2fcc2a4b
[ "MIT" ]
null
null
null
#pragma once #include <string> #include <vector> namespace str { std::string toUpper(const std::string& s); std::string toLower(const std::string& s); std::string utf8toStr(unsigned int utf8); std::string replace(const std::string& s, const std::string& replaceStr, ...
27.791667
75
0.652174
Reewr
3660667fbb42bfba3160ad417b2fac58e709f355
5,117
cpp
C++
simulator/src/main.cpp
rollends/SE499
949b9cc85abe558b84289d906b730605c2f32c3b
[ "MIT" ]
null
null
null
simulator/src/main.cpp
rollends/SE499
949b9cc85abe558b84289d906b730605c2f32c3b
[ "MIT" ]
null
null
null
simulator/src/main.cpp
rollends/SE499
949b9cc85abe558b84289d906b730605c2f32c3b
[ "MIT" ]
null
null
null
#include <array> #include <boost/numeric/odeint.hpp> #include <Eigen/Geometry> #include <iostream> #include "rose499/sfcontrol.hpp" #include "rose499/sylvester.hpp" #include "rose499/trackcontrol.hpp" using namespace Eigen; using namespace SimulatorTypes; void fillCampusWorld(World& world); int main(int argc, char*...
35.783217
133
0.618917
rollends
366120a2ee4c627888859f4d4c14c5dffde31293
1,944
cpp
C++
lib/tcMenuLib/src/GfxMenuConfig.cpp
protohaus/handheld-ph-meter
0b823daf6bd418a4cd36e50a81b573dade371143
[ "MIT" ]
null
null
null
lib/tcMenuLib/src/GfxMenuConfig.cpp
protohaus/handheld-ph-meter
0b823daf6bd418a4cd36e50a81b573dade371143
[ "MIT" ]
null
null
null
lib/tcMenuLib/src/GfxMenuConfig.cpp
protohaus/handheld-ph-meter
0b823daf6bd418a4cd36e50a81b573dade371143
[ "MIT" ]
1
2021-01-04T09:24:11.000Z
2021-01-04T09:24:11.000Z
#include <Arduino.h> #include "GfxMenuConfig.h" void prepareDefaultGfxConfig(ColorGfxMenuConfig<void*>* config) { makePadding(config->titlePadding, 5, 5, 20, 5); makePadding(config->itemPadding, 5, 5, 3, 5); makePadding(config->widgetPadding, 5, 10, 0, 5); config->bgTitleColor = RGB(255, 255, 0); config->fgTitle...
22.870588
71
0.733539
protohaus
3661f24fb74cf75f577f454e598339f1c7af19a3
3,682
cpp
C++
Training1/YCbCr2RGB/YCbCr2RGB.cpp
MicrochipTech/fpga-hls-examples
343e70838e97fc37d2ee4cd131a6fea0cb60ee22
[ "MIT" ]
8
2021-05-25T15:29:32.000Z
2022-02-11T17:36:22.000Z
Training1/YCbCr2RGB/YCbCr2RGB.cpp
MicrochipTech/fpga-hls-examples
343e70838e97fc37d2ee4cd131a6fea0cb60ee22
[ "MIT" ]
null
null
null
Training1/YCbCr2RGB/YCbCr2RGB.cpp
MicrochipTech/fpga-hls-examples
343e70838e97fc37d2ee4cd131a6fea0cb60ee22
[ "MIT" ]
1
2022-03-03T15:39:21.000Z
2022-03-03T15:39:21.000Z
#include "hls/ap_int.hpp" #include "hls/ap_fixpt.hpp" #include "hls/streaming.hpp" #include <iostream> using namespace hls; const int RGB_BITWIDTH = 8; struct RGB { ap_uint<RGB_BITWIDTH> R; ap_uint<RGB_BITWIDTH> G; ap_uint<RGB_BITWIDTH> B; }; const int YCBCR_BITWIDTH = 8; struct YCbCr { ap_uint<YCBC...
29.456
134
0.58881
MicrochipTech
3669a43cdc015482eb9f121ba9da9e12832f36ef
369
cpp
C++
pulsar/datastore/CacheData.cpp
pulsar-chem/BPModule
f8e64e04fdb01947708f098e833600c459c2ff0e
[ "BSD-3-Clause" ]
null
null
null
pulsar/datastore/CacheData.cpp
pulsar-chem/BPModule
f8e64e04fdb01947708f098e833600c459c2ff0e
[ "BSD-3-Clause" ]
null
null
null
pulsar/datastore/CacheData.cpp
pulsar-chem/BPModule
f8e64e04fdb01947708f098e833600c459c2ff0e
[ "BSD-3-Clause" ]
null
null
null
#include "pulsar/datastore/CacheData.hpp" namespace pulsar { std::set<std::string> CacheData::get_keys(void) const { return get_my_keys_(); } size_t CacheData::size(void) const noexcept { return get_my_keys_().size(); } size_t CacheData::erase(const std::string & key) { return parent_cmap_->erase(make_...
16.043478
53
0.712737
pulsar-chem
366aec33097d1c95b24d1366232aa156269c98e6
919
cc
C++
src/datasrc.cc
wagnerflo/cursejay
2a8fa80d9ab8aff1fda4cc16b2919689268c2bf4
[ "Apache-2.0" ]
null
null
null
src/datasrc.cc
wagnerflo/cursejay
2a8fa80d9ab8aff1fda4cc16b2919689268c2bf4
[ "Apache-2.0" ]
null
null
null
src/datasrc.cc
wagnerflo/cursejay
2a8fa80d9ab8aff1fda4cc16b2919689268c2bf4
[ "Apache-2.0" ]
null
null
null
#include "datasrc.hh" using namespace cursejay; #define DATA_SOURCE_FLAGS \ MA_RESOURCE_MANAGER_DATA_SOURCE_FLAG_DECODE | \ MA_RESOURCE_MANAGER_DATA_SOURCE_FLAG_ASYNC | \ MA_RESOURCE_MANAGER_DATA_SOURCE_FLAG_STREAM | \ MA_RESOURCE_MANAGER_DATA_SOURCE_FLAG_WAIT_INIT datasrc::datasrc(ma_node_graph& graph, ma_...
26.257143
86
0.758433
wagnerflo
3673f8345c9c66641d78d848686389fc0ca6a7ed
784
cpp
C++
PyCommon/externalLibs/BaseLib/math/nr/cpp/recipes/rzextr.cpp
hpgit/HumanFoot
f9a1a341b7c43747bddcd5584b8c98a0d1ac2973
[ "Apache-2.0" ]
null
null
null
PyCommon/externalLibs/BaseLib/math/nr/cpp/recipes/rzextr.cpp
hpgit/HumanFoot
f9a1a341b7c43747bddcd5584b8c98a0d1ac2973
[ "Apache-2.0" ]
null
null
null
PyCommon/externalLibs/BaseLib/math/nr/cpp/recipes/rzextr.cpp
hpgit/HumanFoot
f9a1a341b7c43747bddcd5584b8c98a0d1ac2973
[ "Apache-2.0" ]
1
2021-07-26T15:13:55.000Z
2021-07-26T15:13:55.000Z
#include "nr.h" extern Vec_DP *x_p; extern Mat_DP *d_p; void NR::rzextr(const int iest, const DP xest, Vec_I_DP &yest, Vec_O_DP &yz, Vec_O_DP &dy) { int j,k,nv; DP yy,v,ddy,c,b1,b; nv=yz.size(); Vec_DP fx(iest+1); Vec_DP &x=*x_p; Mat_DP &d=*d_p; x[iest]=xest; if (iest == 0) for (j=0;j<nv;...
16.680851
77
0.446429
hpgit
367602db21180cd2b39643127832302dfb333ded
6,312
cpp
C++
emulator/src/devices/bus/cbm2/hrg.cpp
rjw57/tiw-computer
5ef1c79893165b8622d1114d81cd0cded58910f0
[ "MIT" ]
1
2022-01-15T21:38:38.000Z
2022-01-15T21:38:38.000Z
emulator/src/devices/bus/cbm2/hrg.cpp
rjw57/tiw-computer
5ef1c79893165b8622d1114d81cd0cded58910f0
[ "MIT" ]
null
null
null
emulator/src/devices/bus/cbm2/hrg.cpp
rjw57/tiw-computer
5ef1c79893165b8622d1114d81cd0cded58910f0
[ "MIT" ]
null
null
null
// license:BSD-3-Clause // copyright-holders:Curt Coder /********************************************************************** CBM 500/600/700 High Resolution Graphics cartridge emulation **********************************************************************/ /* TODO: http://www.wfking.de/hires.htm ...
25.763265
133
0.530894
rjw57
36775cb7449d0a839d06a0ed298a6b03666ce299
569
cpp
C++
src/al_image/model/entity/AlOperateScale.cpp
imalimin/FilmKilns
2146487c4292d8c7453a53c54d1e24417902f8b7
[ "MIT" ]
83
2020-11-13T01:35:13.000Z
2022-03-25T02:12:13.000Z
src/al_image/model/entity/AlOperateScale.cpp
mohsinnaqvi110/FilmKilns
2146487c4292d8c7453a53c54d1e24417902f8b7
[ "MIT" ]
3
2020-03-23T07:28:29.000Z
2020-09-11T17:16:48.000Z
src/al_image/model/entity/AlOperateScale.cpp
lmylr/hwvc
2146487c4292d8c7453a53c54d1e24417902f8b7
[ "MIT" ]
32
2020-11-09T04:20:35.000Z
2022-03-22T04:11:45.000Z
/* * Copyright (c) 2018-present, aliminabc@gmail.com. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "AlOperateScale.h" AlOperateScale::AlOperateScale(int32_t layerId, AlRational scale, AlVec2 anchor) : AlOperateDesc(la...
24.73913
90
0.731107
imalimin
36787590687cb44f6aa8ea1f02254ff56f7bf2ac
709
hpp
C++
include/RadonFramework/Threading/Scopelock.hpp
tak2004/RadonFramework
e916627a54a80fac93778d5010c50c09b112259b
[ "Apache-2.0" ]
3
2015-09-15T06:57:50.000Z
2021-03-16T19:05:02.000Z
include/RadonFramework/Threading/Scopelock.hpp
tak2004/RadonFramework
e916627a54a80fac93778d5010c50c09b112259b
[ "Apache-2.0" ]
2
2015-09-26T12:41:10.000Z
2015-12-08T08:41:37.000Z
include/RadonFramework/Threading/Scopelock.hpp
tak2004/RadonFramework
e916627a54a80fac93778d5010c50c09b112259b
[ "Apache-2.0" ]
1
2015-07-09T02:56:34.000Z
2015-07-09T02:56:34.000Z
#ifndef RF_THREADING_SCOPELOCK_HPP #define RF_THREADING_SCOPELOCK_HPP #if _MSC_VER > 1000 #pragma once #endif namespace RadonFramework::System::Threading { class Mutex; } namespace RadonFramework::Threading { class Scopelock { public: Scopelock(System::Threading::Mutex& Ref); ~Scopelock(); protected: System::T...
20.257143
48
0.787024
tak2004
36787d0ed9f3f2155ec8cd66c180de69135c4b21
22,913
cpp
C++
silkrpc/txpool/miner_test.cpp
enriavil1/silkrpc
1fa2109658d4c89b6cfdd5190d919bd1324f367e
[ "Apache-2.0" ]
null
null
null
silkrpc/txpool/miner_test.cpp
enriavil1/silkrpc
1fa2109658d4c89b6cfdd5190d919bd1324f367e
[ "Apache-2.0" ]
null
null
null
silkrpc/txpool/miner_test.cpp
enriavil1/silkrpc
1fa2109658d4c89b6cfdd5190d919bd1324f367e
[ "Apache-2.0" ]
null
null
null
/* Copyright 2020-2021 The Silkrpc Authors 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...
43.150659
173
0.672195
enriavil1
367956547b77b4893d8a733a9bef7d1a6bef90c8
1,891
cpp
C++
Candy Crush/Candy Crush/SDL_Button.cpp
JoanStinson/CandyCrush
0e1f478fbf50a1e1073f8bf955a0ef25eba527e2
[ "MIT" ]
2
2020-08-20T04:04:52.000Z
2021-03-31T03:42:29.000Z
Candy Crush/Candy Crush/SDL_Button.cpp
JoanStinson/Candy_Crush
0e1f478fbf50a1e1073f8bf955a0ef25eba527e2
[ "MIT" ]
null
null
null
Candy Crush/Candy Crush/SDL_Button.cpp
JoanStinson/Candy_Crush
0e1f478fbf50a1e1073f8bf955a0ef25eba527e2
[ "MIT" ]
1
2020-05-05T12:47:25.000Z
2020-05-05T12:47:25.000Z
// SDL_button.c - an implementation of buttons to be used with SDL // Author : Tim Smith (tim14smith@gmail.com) #include "SDL_Button.h" #include <stdbool.h> void SDL_Button_free(SDL_Button_t *button) { delete button->internal_surface; delete button->location_and_size; delete button; } // Get a new SDL button SDL_...
27.808824
117
0.717081
JoanStinson
367ae162e9c19dc2a98717c7c154c55e849f8b61
1,908
cpp
C++
modules/complex-number/test/test_chernyh_daria_complex_number.cpp
splashbros30/devtools-course-practice
4f4c987ce2ee602e835b9b94ece03f3590abbafc
[ "CC-BY-4.0" ]
1
2021-03-20T18:53:08.000Z
2021-03-20T18:53:08.000Z
modules/complex-number/test/test_chernyh_daria_complex_number.cpp
splashbros30/devtools-course-practice
4f4c987ce2ee602e835b9b94ece03f3590abbafc
[ "CC-BY-4.0" ]
3
2021-04-22T17:12:19.000Z
2021-05-14T12:16:25.000Z
modules/complex-number/test/test_chernyh_daria_complex_number.cpp
splashbros30/devtools-course-practice
4f4c987ce2ee602e835b9b94ece03f3590abbafc
[ "CC-BY-4.0" ]
null
null
null
// Copyright 2021 Chernyh Daria #include <gtest/gtest.h> #include <tuple> #include "include/complex_number.h" typedef testing::TestWithParam<std::tuple<double, double>> Chernyh_Daria_ComplexNumberTest_Parametrized; TEST_P(Chernyh_Daria_ComplexNumberTest_Parametrized, Addition_of_conjugate) { double numberRe = s...
32.896552
75
0.760482
splashbros30
367cf251fab34c37c97ec850d41807fc4614d492
7,683
cpp
C++
TemplePlus/party.cpp
edoipi/TemplePlus
f0e552289822fea908f16daa379fa568b1bd286d
[ "MIT" ]
null
null
null
TemplePlus/party.cpp
edoipi/TemplePlus
f0e552289822fea908f16daa379fa568b1bd286d
[ "MIT" ]
null
null
null
TemplePlus/party.cpp
edoipi/TemplePlus
f0e552289822fea908f16daa379fa568b1bd286d
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "common.h" #include "party.h" #include "config/config.h" #include "util/fixes.h" #include "critter.h" #include "obj.h" #include "location.h" #include "gamesystems/gamesystems.h" #include "gamesystems/objects/objsystem.h" #include "condition.h" #include "combat.h" #include "turn_based.h" st...
25.956081
125
0.742288
edoipi
36803d7e72611ff0e7be48aa4911641c428805df
2,924
cpp
C++
vendor/mysql-connector-c++-1.1.3/test/CJUnitTestsPort/ccpptests.cpp
caiqingfeng/libmrock
bb7c94482a105e92b6d3e8640b13f9ff3ae49a83
[ "Apache-2.0" ]
1
2015-12-01T04:16:54.000Z
2015-12-01T04:16:54.000Z
vendor/mysql-connector-c++-1.1.3/test/CJUnitTestsPort/ccpptests.cpp
caiqingfeng/libmrock
bb7c94482a105e92b6d3e8640b13f9ff3ae49a83
[ "Apache-2.0" ]
null
null
null
vendor/mysql-connector-c++-1.1.3/test/CJUnitTestsPort/ccpptests.cpp
caiqingfeng/libmrock
bb7c94482a105e92b6d3e8640b13f9ff3ae49a83
[ "Apache-2.0" ]
null
null
null
/* Copyright (c) 2008, 2011, Oracle and/or its affiliates. All rights reserved. The MySQL Connector/C++ is licensed under the terms of the GPLv2 <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most MySQL Connectors. There are special exceptions to the terms and conditions of the GPLv2 as it is applied to...
34.4
93
0.711012
caiqingfeng
368268d79dc1859c82846996adf835e944d4c04e
449
cpp
C++
C++/CodePit/Contest0812/probD.cpp
MxBromelia/Miscelanea
5ed09cf0be28fddc29f6f1a6f3f2105226fbc11d
[ "MIT" ]
null
null
null
C++/CodePit/Contest0812/probD.cpp
MxBromelia/Miscelanea
5ed09cf0be28fddc29f6f1a6f3f2105226fbc11d
[ "MIT" ]
null
null
null
C++/CodePit/Contest0812/probD.cpp
MxBromelia/Miscelanea
5ed09cf0be28fddc29f6f1a6f3f2105226fbc11d
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <algorithm> using namespace std; int main() { int cases; int num; int pivot; vector<int> alt; ios::sync_with_stdio(false); cin.tie(NULL); cin >> cases; while(cases > 0) { cases--; cin >> num; while(num>0) { cin >> pivot; alt.emplace_back(pivot)...
10.95122
31
0.556793
MxBromelia
36857639e24cf4649e2fb9ca19db3cf37ff3dd80
1,218
hpp
C++
mathutils/graph/util/set/set_impl.hpp
rxnew/mathutils
2e8e8c9c99f7cfdbcc4f972f5b68e37dd1fc4f0d
[ "MIT" ]
null
null
null
mathutils/graph/util/set/set_impl.hpp
rxnew/mathutils
2e8e8c9c99f7cfdbcc4f972f5b68e37dd1fc4f0d
[ "MIT" ]
null
null
null
mathutils/graph/util/set/set_impl.hpp
rxnew/mathutils
2e8e8c9c99f7cfdbcc4f972f5b68e37dd1fc4f0d
[ "MIT" ]
null
null
null
#pragma once namespace mathutils { namespace util { inline namespace set { template <class T> auto set_union(const std::unordered_set<T>& set, const T& value) -> std::unordered_set<T> { std::unordered_set<T> result = set; result.insert(value); return std::move(result); } template <class T> auto set_union(cons...
23.423077
64
0.633005
rxnew
368675bb9995135c0fdd2797963671c0457ac37e
298
cpp
C++
Hackerearth/linear search/counting-frog-paths.cpp
Yayady1999/Complete-coding-notes
3236d315248e0d130b8b9c6d591d3c45577282c6
[ "MIT" ]
54
2020-07-31T14:50:23.000Z
2022-03-14T11:03:02.000Z
Other/Hackerearth/linear search/counting-frog-paths.cpp
SahilMund/dsa
a94151b953b399ea56ff50cf30dfe96100e8b9a7
[ "MIT" ]
null
null
null
Other/Hackerearth/linear search/counting-frog-paths.cpp
SahilMund/dsa
a94151b953b399ea56ff50cf30dfe96100e8b9a7
[ "MIT" ]
30
2020-08-15T17:39:02.000Z
2022-03-10T06:50:18.000Z
#include <bits/stdc++.h> #include <iostream> using namespace std; int main() { int x,y,s,t,points=0; cin >> x >> y >> s >> t; for(int i=0, j=t; i<=t; i++, j--) { if(j>=y && j<=y+s) { points += min(max(0,i-x+1), s+1); } } cout << points << endl; }
17.529412
45
0.432886
Yayady1999
3688272881c5584687aed0f95905d11f27a4d653
1,322
cpp
C++
checker.cpp
clean-code-craft-tcq-2/simple-monitor-in-cpp-cheral-bhati
95a23c52aa0c232825d1e6fc994aebc9efbe85c0
[ "MIT" ]
null
null
null
checker.cpp
clean-code-craft-tcq-2/simple-monitor-in-cpp-cheral-bhati
95a23c52aa0c232825d1e6fc994aebc9efbe85c0
[ "MIT" ]
null
null
null
checker.cpp
clean-code-craft-tcq-2/simple-monitor-in-cpp-cheral-bhati
95a23c52aa0c232825d1e6fc994aebc9efbe85c0
[ "MIT" ]
null
null
null
#include <assert.h> #include <iostream> using namespace std; const float MAX_TEMPERATURE = 45.0; const float MIN_TEMPERATURE = 0.0; const float MAX_SOC = 80.0; const float MIN_SOC = 20.0; const float MAX_CHARGERATE = 0.8; const float MIN_CHARGERATE = 0.0; bool checkValueinRange(const float maxValue, const float minV...
30.045455
93
0.706505
clean-code-craft-tcq-2
3688cc4b2fc04a23bf2114ac88e9c5fb28291171
1,296
cpp
C++
amr-wind/derive/field_algebra.cpp
mchurchf/amr-wind
4bd712966e830a7c9412b0a4ec4cd8d1e6e0582f
[ "BSD-3-Clause" ]
40
2019-11-27T15:38:45.000Z
2022-03-07T10:56:35.000Z
amr-wind/derive/field_algebra.cpp
mchurchf/amr-wind
4bd712966e830a7c9412b0a4ec4cd8d1e6e0582f
[ "BSD-3-Clause" ]
207
2019-11-07T22:53:02.000Z
2022-03-30T21:41:57.000Z
amr-wind/derive/field_algebra.cpp
mchurchf/amr-wind
4bd712966e830a7c9412b0a4ec4cd8d1e6e0582f
[ "BSD-3-Clause" ]
55
2019-11-08T19:25:08.000Z
2022-03-15T20:36:25.000Z
#include "amr-wind/core/FieldRepo.H" namespace amr_wind { template <typename FType> void normalize_field(FType& Field) { const auto& repo = Field.repo(); const auto ncomp = Field.num_comp(); const int nlevels = repo.num_active_levels(); for (int lev = 0; lev < nlevels; ++lev) { for (amrex::MFI...
34.105263
72
0.490741
mchurchf
3689659933c4e1d734fddeedf7aa55803ead976c
596
cc
C++
src/game_process.cc
neguse/hakonotaiatari
9a9d402133abb112e31e2fd12da5b22619ee08ff
[ "Unlicense" ]
null
null
null
src/game_process.cc
neguse/hakonotaiatari
9a9d402133abb112e31e2fd12da5b22619ee08ff
[ "Unlicense" ]
null
null
null
src/game_process.cc
neguse/hakonotaiatari
9a9d402133abb112e31e2fd12da5b22619ee08ff
[ "Unlicense" ]
null
null
null
#include "precompile.h" #include "game_process.h" #include "state.h" void GameProcess::onInit() { } void GameProcess::onUpdate(f32 dt) { if (m_pState) { m_pState->onUpdate(dt); IState* pNext = m_pState->nextState(); if (pNext) { trans(pNext); } } } void GameProcess::onRender() { ...
13.545455
41
0.583893
neguse
368a7b3068e8b537638bb737ae1434fe31eecbe1
4,682
cpp
C++
TommyGun/Plugins/ImageEditor/MonochromePalette/MonochromePalettePlugin.cpp
tonyt73/TommyGun
2c2ffae3dcd5dc25fd64d68a9f4cc96d99a1cd36
[ "BSD-3-Clause" ]
34
2017-05-08T18:39:13.000Z
2022-02-13T05:05:33.000Z
TommyGun/Plugins/ImageEditor/MonochromePalette/MonochromePalettePlugin.cpp
tonyt73/TommyGun
2c2ffae3dcd5dc25fd64d68a9f4cc96d99a1cd36
[ "BSD-3-Clause" ]
null
null
null
TommyGun/Plugins/ImageEditor/MonochromePalette/MonochromePalettePlugin.cpp
tonyt73/TommyGun
2c2ffae3dcd5dc25fd64d68a9f4cc96d99a1cd36
[ "BSD-3-Clause" ]
6
2017-05-27T01:14:20.000Z
2020-01-20T14:54:30.000Z
/*--------------------------------------------------------------------------- (c) 2004 Scorpio Software 19 Wittama Drive Glenmore Park Sydney NSW 2745 Australia ----------------------------------------------------------------------------- $Workfile:: ...
36.294574
100
0.452371
tonyt73
368e88dc7e3baece30fa70d8da1ec1a07e5320d3
3,344
cpp
C++
samples/sample/MainScene.cpp
zapolnov/game_engine
cd22dc0f49aeadd660eec3ea9b95b1ca2696f97a
[ "MIT", "Unlicense" ]
null
null
null
samples/sample/MainScene.cpp
zapolnov/game_engine
cd22dc0f49aeadd660eec3ea9b95b1ca2696f97a
[ "MIT", "Unlicense" ]
null
null
null
samples/sample/MainScene.cpp
zapolnov/game_engine
cd22dc0f49aeadd660eec3ea9b95b1ca2696f97a
[ "MIT", "Unlicense" ]
null
null
null
/* * Copyright (c) 2015 Nikolay Zapolnov (zapolnov@gmail.com). * * 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...
35.574468
106
0.666567
zapolnov
3691e36b8e33dfe46947810d9704b5e53f00f8bc
4,680
hpp
C++
include/opcodes.hpp
mujido/moove
380fd0ea2eb2ad59b62a27bb86079ecb8c5b783b
[ "Apache-2.0" ]
null
null
null
include/opcodes.hpp
mujido/moove
380fd0ea2eb2ad59b62a27bb86079ecb8c5b783b
[ "Apache-2.0" ]
null
null
null
include/opcodes.hpp
mujido/moove
380fd0ea2eb2ad59b62a27bb86079ecb8c5b783b
[ "Apache-2.0" ]
null
null
null
//Copyright (c) 2004 Kurt Stutsman. All rights reserved. /** * \file * \brief Define the opcodes used for byte compilation and interpretation */ #ifndef MOOVE_OPCODES_HPP #define MOOVE_OPCODES_HPP #include "codevect.hpp" #include "immediate.hpp" namespace Moove { /** * Opcodes handled internally by the VM. * *...
35.725191
122
0.426282
mujido
3692350946e751fc8e673e64d2cce889b2b423c0
35,893
cpp
C++
ajalibraries/ajantv2/src/ntv2card.cpp
DDRBoxman/ntv2
fe2462254864fb0d6b2838e506fd905cddebfc4f
[ "MIT" ]
9
2021-09-28T22:17:59.000Z
2022-03-31T03:31:57.000Z
ajalibraries/ajantv2/src/ntv2card.cpp
DDRBoxman/ntv2
fe2462254864fb0d6b2838e506fd905cddebfc4f
[ "MIT" ]
5
2021-10-31T17:24:05.000Z
2022-03-17T22:41:19.000Z
ajalibraries/ajantv2/src/ntv2card.cpp
DDRBoxman/ntv2
fe2462254864fb0d6b2838e506fd905cddebfc4f
[ "MIT" ]
8
2021-10-31T16:54:29.000Z
2022-03-21T19:58:46.000Z
/* SPDX-License-Identifier: MIT */ /** @file ntv2card.cpp @brief Implements several CNTV2Card methods. Other implementation files are 'ntv2audio.cpp', 'ntv2dma.cpp', 'ntv2register.cpp', ... @copyright (C) 2004-2021 AJA Video Systems, Inc. **/ #include "ntv2devicefeatures.h" #include "ntv2card.h" #include "ntv2deb...
40.014493
145
0.728805
DDRBoxman
36925b1ff375afced57867b0d20d849be95daa91
5,189
cpp
C++
Util/llvm/lib/CodeGen/ExactHazardRecognizer.cpp
ianloic/unladen-swallow
28148f4ddbb3d519042de1f9fc9f1356fdd31e31
[ "PSF-2.0" ]
5
2020-06-30T05:06:40.000Z
2021-05-24T08:38:33.000Z
Util/llvm/lib/CodeGen/ExactHazardRecognizer.cpp
ianloic/unladen-swallow
28148f4ddbb3d519042de1f9fc9f1356fdd31e31
[ "PSF-2.0" ]
null
null
null
Util/llvm/lib/CodeGen/ExactHazardRecognizer.cpp
ianloic/unladen-swallow
28148f4ddbb3d519042de1f9fc9f1356fdd31e31
[ "PSF-2.0" ]
2
2015-10-01T18:28:20.000Z
2020-09-09T16:25:27.000Z
//===----- ExactHazardRecognizer.cpp - hazard recognizer -------- ---------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
32.030864
83
0.620929
ianloic
3694473bc91952aeae213fe1bb9df502c894bfcd
1,229
cpp
C++
buyer-swift/xlsx/app.cpp
shakfu/buy
7ba3c106fa7cb9e65bc88708b165e82e59e9edda
[ "Unlicense" ]
null
null
null
buyer-swift/xlsx/app.cpp
shakfu/buy
7ba3c106fa7cb9e65bc88708b165e82e59e9edda
[ "Unlicense" ]
null
null
null
buyer-swift/xlsx/app.cpp
shakfu/buy
7ba3c106fa7cb9e65bc88708b165e82e59e9edda
[ "Unlicense" ]
null
null
null
#include <iostream> extern "C" { #include "xlsxwriter.h" } /* Some data we want to write to the worksheet. */ struct expense { char item[32]; int cost; }; struct expense expenses[] = { {"Rent", 1000}, {"Gas", 100}, {"Food", 300}, {"Gym", 50}, }; class XLWriter { public: ...
21.561404
82
0.606184
shakfu
3695f4e8d8a68fbb19f75c4d585507840338a596
3,326
cpp
C++
src/org/apache/poi/hssf/record/aggregates/DataValidityTable.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
src/org/apache/poi/hssf/record/aggregates/DataValidityTable.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
src/org/apache/poi/hssf/record/aggregates/DataValidityTable.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
// Generated from /POI/java/org/apache/poi/hssf/record/aggregates/DataValidityTable.java #include <org/apache/poi/hssf/record/aggregates/DataValidityTable.hpp> #include <java/lang/Class.hpp> #include <java/lang/ClassCastException.hpp> #include <java/lang/NullPointerException.hpp> #include <java/lang/Object.hpp> #inclu...
33.938776
157
0.69543
pebble2015
369be65e03323cec46f38841022822a5cc4a82f6
1,266
cc
C++
src/simple-quic/quicsock/quicsock_alarm.cc
Hasan-Jawaheri/quic-tor
f8a5b8b93a82eb515808d381bfbb2cc662e12513
[ "MIT" ]
null
null
null
src/simple-quic/quicsock/quicsock_alarm.cc
Hasan-Jawaheri/quic-tor
f8a5b8b93a82eb515808d381bfbb2cc662e12513
[ "MIT" ]
null
null
null
src/simple-quic/quicsock/quicsock_alarm.cc
Hasan-Jawaheri/quic-tor
f8a5b8b93a82eb515808d381bfbb2cc662e12513
[ "MIT" ]
null
null
null
#include "quicsock/quicsock_alarm.h" #include "base/logging.h" #include "net/quic/quic_time.h" namespace quicsock { QuicSockAlarm::QuicSockAlarm(const net::QuicClock* clock, net::QuicAlarm::Delegate* delegate, QuicSockEventHandler *event_handler) : net::QuicAlarm(delegate), clock_(clock), ...
24.346154
80
0.703002
Hasan-Jawaheri
369cdad1421e383cc31aaac0c3da8fba587bde8a
8,730
cpp
C++
particle-system/particle-system-app.cpp
ddiakopoulos/sandbox
fd4aa4d0e1cd6e45459cdee44aa18d0087adb708
[ "Unlicense" ]
177
2015-09-19T19:51:57.000Z
2021-11-08T11:25:55.000Z
particle-system/particle-system-app.cpp
ddiakopoulos/gfx_dev
fd4aa4d0e1cd6e45459cdee44aa18d0087adb708
[ "Unlicense" ]
1
2016-03-16T23:27:11.000Z
2016-03-17T08:12:54.000Z
particle-system/particle-system-app.cpp
ddiakopoulos/gfx_dev
fd4aa4d0e1cd6e45459cdee44aa18d0087adb708
[ "Unlicense" ]
16
2016-03-16T13:06:55.000Z
2020-06-20T04:57:04.000Z
#include "index.hpp" #include "particle-system-app.hpp" #include "imgui/imgui_internal.h" using namespace avl; constexpr const char basic_vert[] = R"(#version 330 layout(location = 0) in vec3 vertex; uniform mat4 u_mvp; void main() { gl_Position = u_mvp * vec4(vertex.xyz, 1); } )"; conste...
29.693878
161
0.659679
ddiakopoulos
369d083eda4a31a677eb9306b790174497cbbe4e
1,117
cpp
C++
TCP1101 - Programming Fundamentals/Othello (Lame and Incomplete Version)/src/view/BannerView.cpp
jackwong95/MMURandomStuff
6fa5e62528b29c173e2cf579f47f7f5a6d58120c
[ "Apache-2.0" ]
3
2021-02-17T13:31:37.000Z
2022-03-14T04:21:36.000Z
TCP1101 - Programming Fundamentals/Othello (Lame and Incomplete Version)/src/view/BannerView.cpp
jackwong95/MMURandomStuff
6fa5e62528b29c173e2cf579f47f7f5a6d58120c
[ "Apache-2.0" ]
1
2016-12-16T17:03:01.000Z
2017-03-02T08:28:18.000Z
TCP1101 - Programming Fundamentals/Othello (Lame and Incomplete Version)/src/view/BannerView.cpp
jackwong95/MMURandomStuff
6fa5e62528b29c173e2cf579f47f7f5a6d58120c
[ "Apache-2.0" ]
null
null
null
/**********|**********|**********| Program: BannerView.cpp Course: Degree In Computer Science - Game Development Year: 2015/16 Trimester 1 Name: Wong Tiong Kiat ID: 1132702943 Email: jackwongtiongkiat@gmail.com Phone: 012-2321133 **********|**********|**********/ #include "BannerView.h" //mini library I made #include "...
24.822222
106
0.593554
jackwong95
36a4f5dda86073051037eaaf5fa0c696fde83c61
490
cpp
C++
Problems/Codeforces/CF-1200B.cpp
zhugezy/giggle
dfa50744a9fd328678b75af8135bbd770f18a6ac
[ "MIT" ]
6
2019-10-12T15:14:10.000Z
2020-02-02T11:16:00.000Z
Problems/Codeforces/CF-1200B.cpp
zhugezy/giggle
dfa50744a9fd328678b75af8135bbd770f18a6ac
[ "MIT" ]
73
2019-10-11T15:09:40.000Z
2020-09-15T07:49:24.000Z
Problems/Codeforces/CF-1200B.cpp
zhugezy/giggle
dfa50744a9fd328678b75af8135bbd770f18a6ac
[ "MIT" ]
5
2019-10-14T02:57:39.000Z
2020-06-19T09:38:34.000Z
// 1200B #include <bits/stdc++.h> using namespace std; int T, n, m, k; int h[110]; int main() { cin >> T; while (T--) { cin >> n >> m >> k; for (int i = 1; i <= n; ++i) cin >> h[i]; bool flag = true; for (int i = 1; i < n; ++i) { int d = max(0, h[i + 1] - k); if (d > h[i] + m) {...
16.333333
35
0.383673
zhugezy
36a51e425b65b047c00d28cc85167390e0ef0dcb
9,244
cpp
C++
iptables/src/utils.cpp
trailofbits/osquery-extensions
8a1a24a1142757579e001e4fa710e144169ab257
[ "Apache-2.0" ]
194
2017-12-14T14:00:34.000Z
2022-03-21T23:56:06.000Z
iptables/src/utils.cpp
trailofbits/osquery-extensions
8a1a24a1142757579e001e4fa710e144169ab257
[ "Apache-2.0" ]
49
2017-12-09T16:32:37.000Z
2021-12-14T22:15:06.000Z
iptables/src/utils.cpp
trailofbits/osquery-extensions
8a1a24a1142757579e001e4fa710e144169ab257
[ "Apache-2.0" ]
27
2017-12-14T23:48:39.000Z
2022-02-25T01:54:45.000Z
/** * Copyright (c) 2018 Trail of Bits, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
29.628205
80
0.647555
trailofbits
36a83aaff28ec757cbd9c64c6fa654f605a947b6
23,645
cc
C++
master/kismet-2018-08-BETA1/kismet-2018-08-BETA1/legacy_code/kis_netframe.cc
AlexRogalskiy/DevArtifacts
931aabb8cbf27656151c54856eb2ea7d1153203a
[ "MIT" ]
4
2018-09-07T15:35:24.000Z
2019-03-27T09:48:12.000Z
master/kismet-2018-08-BETA1/kismet-2018-08-BETA1/legacy_code/kis_netframe.cc
AlexRogalskiy/DevArtifacts
931aabb8cbf27656151c54856eb2ea7d1153203a
[ "MIT" ]
371
2020-03-04T21:51:56.000Z
2022-03-31T20:59:11.000Z
master/kismet-2018-08-BETA1/kismet-2018-08-BETA1/legacy_code/kis_netframe.cc
AlexRogalskiy/DevArtifacts
931aabb8cbf27656151c54856eb2ea7d1153203a
[ "MIT" ]
3
2019-06-18T19:57:17.000Z
2020-11-06T03:55:08.000Z
/* This file is part of Kismet Kismet is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. Kismet is distributed in the ...
33.255977
144
0.602326
AlexRogalskiy
36a87e6e8147da72f3f3322e2eb701f5a59f668d
7,606
cpp
C++
artifact/storm/src/storm/transformer/MemoryIncorporation.cpp
glatteis/tacas21-artifact
30b4f522bd3bdb4bebccbfae93f19851084a3db5
[ "MIT" ]
null
null
null
artifact/storm/src/storm/transformer/MemoryIncorporation.cpp
glatteis/tacas21-artifact
30b4f522bd3bdb4bebccbfae93f19851084a3db5
[ "MIT" ]
null
null
null
artifact/storm/src/storm/transformer/MemoryIncorporation.cpp
glatteis/tacas21-artifact
30b4f522bd3bdb4bebccbfae93f19851084a3db5
[ "MIT" ]
1
2022-02-05T12:39:53.000Z
2022-02-05T12:39:53.000Z
#include "MemoryIncorporation.h" #include "storm/models/sparse/Mdp.h" #include "storm/models/sparse/MarkovAutomaton.h" #include "storm/models/sparse/StandardRewardModel.h" #include "storm/storage/memorystructure/MemoryStructureBuilder.h" #include "storm/storage/memorystructure/NondeterministicMemoryStructureBuilder.h"...
71.084112
236
0.705233
glatteis
36ac700a1898833842a0f452688ae8ae2a38a2e7
1,182
cpp
C++
DSP/extensions/WindowFunctionLib/source/TTHanningWindow.cpp
avilleret/JamomaCore
b09cfb684527980f30845f664e1f922005c24e60
[ "BSD-3-Clause" ]
31
2015-02-28T23:51:10.000Z
2021-12-25T04:16:01.000Z
DSP/extensions/WindowFunctionLib/source/TTHanningWindow.cpp
avilleret/JamomaCore
b09cfb684527980f30845f664e1f922005c24e60
[ "BSD-3-Clause" ]
126
2015-01-01T13:42:05.000Z
2021-07-13T14:11:42.000Z
DSP/extensions/WindowFunctionLib/source/TTHanningWindow.cpp
avilleret/JamomaCore
b09cfb684527980f30845f664e1f922005c24e60
[ "BSD-3-Clause" ]
14
2015-02-10T15:08:32.000Z
2019-09-17T01:21:25.000Z
/** @file * * @ingroup dspWindowFunctionLib * * @brief Hanning Window Function Unit for Jamoma DSP * * @details This implements a window function as described @ http://local.wasp.uwa.edu.au/~pbourke/miscellaneous/windows/ @n hanning(x) = 0.5 + 0.5*cos(2*PI*(x-0.5)) @n * * @authors Nils Peters, Trond Lossius, ...
23.176471
94
0.734349
avilleret
a5dd2dde451be6c3336adee38561adb0ed473dfd
2,316
cpp
C++
src/noui.cpp
tradecraftio/tradecraft
a014fea4d4656df67aef19e379f10322386cf6f8
[ "MIT" ]
10
2019-03-08T04:10:37.000Z
2021-08-20T11:55:14.000Z
src/noui.cpp
tradecraftio/tradecraft
a014fea4d4656df67aef19e379f10322386cf6f8
[ "MIT" ]
69
2018-11-09T20:29:29.000Z
2021-10-05T00:08:36.000Z
src/noui.cpp
tradecraftio/tradecraft
a014fea4d4656df67aef19e379f10322386cf6f8
[ "MIT" ]
7
2019-01-21T06:00:18.000Z
2021-12-19T16:18:00.000Z
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2018 The Bitcoin Core developers // Copyright (c) 2011-2021 The Freicoin Developers // // This program is free software: you can redistribute it and/or modify it under // the terms of version 3 of the GNU Affero General Public License as published // by the F...
32.619718
158
0.716753
tradecraftio
a5dd5ecf27213b2def0027b5f1fdbbef7412ba1f
909
cpp
C++
sources/libcpp53iip_precision/iip_precision_bw_to_uchargray.cpp
Savraska2/GTS
78c8b4d634f1379eb3e33642716717f53bf7e1ad
[ "BSD-3-Clause" ]
61
2016-03-26T03:04:43.000Z
2021-09-17T02:11:18.000Z
sources/libcpp53iip_precision/iip_precision_bw_to_uchargray.cpp
sahwar/GTS
b25734116ea81eb0d7e2eabc8ce16cdd1c8b22dd
[ "BSD-3-Clause" ]
92
2016-04-10T23:40:22.000Z
2022-03-11T21:49:12.000Z
sources/libcpp53iip_precision/iip_precision_bw_to_uchargray.cpp
sahwar/GTS
b25734116ea81eb0d7e2eabc8ce16cdd1c8b22dd
[ "BSD-3-Clause" ]
18
2016-03-26T11:19:14.000Z
2021-08-07T00:26:02.000Z
#include <limits.h> /* CHAR_BIT */ #include "pri.h" #include "iip_precision.h" #include "calcu_precision.h" void iip_precision::_bw_to_uchargray( long l_width, long l_height, long l_max, unsigned char *ucharp_in_bw, unsigned char *ucharp_out_gray ) { long xx,yy, l_in_bits; /* カウントダウン表示始め */ if (ON == this->get_i_...
23.921053
140
0.630363
Savraska2
a5e0078cfa8ec368b124f379ea9a41c7a348f9e7
2,406
cpp
C++
renderer/source/graphics/vulkan/utility/DebugUtility.cpp
dushyant-shukla/voyager-renderer
a6e64647f45d652130dd946c8692c6139f9a0ec4
[ "Apache-2.0" ]
2
2022-01-24T01:10:49.000Z
2022-01-24T01:10:53.000Z
renderer/source/graphics/vulkan/utility/DebugUtility.cpp
dushyant-shukla/voyager-renderer
a6e64647f45d652130dd946c8692c6139f9a0ec4
[ "Apache-2.0" ]
null
null
null
renderer/source/graphics/vulkan/utility/DebugUtility.cpp
dushyant-shukla/voyager-renderer
a6e64647f45d652130dd946c8692c6139f9a0ec4
[ "Apache-2.0" ]
1
2021-08-31T19:44:25.000Z
2021-08-31T19:44:25.000Z
#include "DebugUtility.h" #include <vector> namespace vr { VKAPI_ATTR VkBool32 VKAPI_CALL DebugUtility::DebugCallback(VkDebugUtilsMessageSeverityFlagBitsEXT messageSeverity, VkDebugUtilsMessageTypeFlagsEXT messageType, const VkDebugUtilsMessengerCallbackDataEXT* pCallbackData, void* pUserData) { switch (messageSe...
46.269231
236
0.832918
dushyant-shukla
a5e0621d63f479bd9cf7347e37ff70b97e0e9da0
21,132
cpp
C++
src/shared/zip.cpp
project-imprimis/libprimis
ce0c0bae6852b42709736c8e324bcc2ef26d8dc9
[ "Zlib" ]
30
2020-10-30T20:21:55.000Z
2022-03-19T02:23:48.000Z
src/shared/zip.cpp
project-imprimis/libprimis
ce0c0bae6852b42709736c8e324bcc2ef26d8dc9
[ "Zlib" ]
74
2020-11-06T03:40:44.000Z
2022-03-30T20:18:07.000Z
src/shared/zip.cpp
project-imprimis/libprimis
ce0c0bae6852b42709736c8e324bcc2ef26d8dc9
[ "Zlib" ]
5
2020-12-21T19:29:27.000Z
2022-01-12T05:17:06.000Z
#include "../engine/engine.h" #include "../engine/interface/console.h" enum { Zip_LocalFileSignature = 0x04034B50, Zip_LocalFileSize = 30, Zip_FileSignature = 0x02014B50, Zip_FileSize = 46, Zip_DirectorySignature = 0x06054B50, Zip_DirectorySize = 22 }; struct zi...
27.231959
241
0.479273
project-imprimis
a5e0fe9bd062244decd57be9785667b778b1d6f7
1,515
hpp
C++
test/arrow/arrow_test_factory.hpp
AldoMyrtaj/duckdb
3aa4978a2ceab8df25e4b20c388bcd7629de73ed
[ "MIT" ]
2,816
2018-06-26T18:52:52.000Z
2021-04-06T10:39:15.000Z
test/arrow/arrow_test_factory.hpp
AldoMyrtaj/duckdb
3aa4978a2ceab8df25e4b20c388bcd7629de73ed
[ "MIT" ]
1,310
2021-04-06T16:04:52.000Z
2022-03-31T13:52:53.000Z
test/arrow/arrow_test_factory.hpp
AldoMyrtaj/duckdb
3aa4978a2ceab8df25e4b20c388bcd7629de73ed
[ "MIT" ]
270
2021-04-09T06:18:28.000Z
2022-03-31T11:55:37.000Z
#pragma once #include "arrow/record_batch.h" #include "duckdb/common/arrow_wrapper.hpp" #include "arrow/array.h" #include "catch.hpp" #define REQUIRE_RESULT(OUT, IN) \ REQUIRE(IN.ok()); ...
37.875
120
0.656766
AldoMyrtaj
a5e234e23a8237072a6610bf60c1fd72a500d036
2,724
hpp
C++
Graph_Instruction.hpp
gydrogen/hydrogen
6c448b67471ce2bbef12a36a0182b58ac56a7da3
[ "MIT" ]
3
2020-04-02T17:09:07.000Z
2020-12-23T11:27:17.000Z
Graph_Instruction.hpp
gydrogen/hydrogen
6c448b67471ce2bbef12a36a0182b58ac56a7da3
[ "MIT" ]
null
null
null
Graph_Instruction.hpp
gydrogen/hydrogen
6c448b67471ce2bbef12a36a0182b58ac56a7da3
[ "MIT" ]
4
2020-04-04T23:22:48.000Z
2020-08-06T08:39:23.000Z
/** * @author Ashwin K J * @file * Graph_Instruction Class: Graph Data-structure for LLVM instructions */ #ifndef GRAPH_INSTRUCTION_H #define GRAPH_INSTRUCTION_H #include <list> #include <llvm/IR/Module.h> #include <set> namespace hydrogen_framework { /* Forward declaration */ class Graph_Edge; class Graph_Line; c...
26.192308
101
0.674009
gydrogen
a5e66f955abf5653e12f0459efa0cc963af46359
1,785
cpp
C++
boboleetcode/Play-Leetcode-master/1042-Flower-Planting-With-No-Adjacent/cpp-1042/main2.cpp
yaominzh/CodeLrn2019
adc727d92904c5c5d445a2621813dfa99474206d
[ "Apache-2.0" ]
2
2021-03-25T05:26:55.000Z
2021-04-20T03:33:24.000Z
boboleetcode/Play-Leetcode-master/1042-Flower-Planting-With-No-Adjacent/cpp-1042/main2.cpp
mcuallen/CodeLrn2019
adc727d92904c5c5d445a2621813dfa99474206d
[ "Apache-2.0" ]
6
2019-12-04T06:08:32.000Z
2021-05-10T20:22:47.000Z
boboleetcode/Play-Leetcode-master/1042-Flower-Planting-With-No-Adjacent/cpp-1042/main2.cpp
mcuallen/CodeLrn2019
adc727d92904c5c5d445a2621813dfa99474206d
[ "Apache-2.0" ]
null
null
null
/// Source : https://leetcode.com/problems/flower-planting-with-no-adjacent/ /// Author : liuyubobobo /// Time : 2019-05-19 #include <iostream> #include <vector> #include <unordered_set> #include <queue> using namespace std; /// DFS /// Time Complexity: O(n^2) /// Space Complexity: O(n^2) class Solution { public:...
24.121622
82
0.52493
yaominzh
a5ee134dfa8b9a1daf7c99bd259d70225a506b50
589
cpp
C++
stlport/test/regression/uprbnd1.cpp
masscry/dmc
c7638f7c524a65bc2af0876c76621d8a11da42bb
[ "BSL-1.0" ]
86
2018-05-24T12:03:44.000Z
2022-03-13T03:01:25.000Z
stlport/test/regression/uprbnd1.cpp
masscry/dmc
c7638f7c524a65bc2af0876c76621d8a11da42bb
[ "BSL-1.0" ]
1
2019-05-30T01:38:40.000Z
2019-10-26T07:15:01.000Z
stlport/test/regression/uprbnd1.cpp
masscry/dmc
c7638f7c524a65bc2af0876c76621d8a11da42bb
[ "BSL-1.0" ]
14
2018-07-16T08:29:12.000Z
2021-08-23T06:21:30.000Z
// STLport regression testsuite component. // To compile as a separate example, please #define MAIN. #include <algorithm> #include <iostream> #ifdef MAIN #define uprbnd1_test main #endif #if !defined (STLPORT) || defined(__STL_USE_NAMESPACES) using namespace std; #endif int uprbnd1_test(int, char**) { cout<<"Resu...
20.310345
61
0.633277
masscry
a5eec2dcc0ee6a02b8e59f79843d22a3dc1425d6
4,063
cpp
C++
wxSnapshot/src/common/statbmpcmn.cpp
KeyWorksRW/wxUiTesting
249861f72b71221220c95c6271d496d6e1b6d10a
[ "Apache-2.0" ]
null
null
null
wxSnapshot/src/common/statbmpcmn.cpp
KeyWorksRW/wxUiTesting
249861f72b71221220c95c6271d496d6e1b6d10a
[ "Apache-2.0" ]
4
2022-01-23T02:05:42.000Z
2022-01-26T18:03:34.000Z
wxSnapshot/src/common/statbmpcmn.cpp
KeyWorksRW/wxUiTesting
249861f72b71221220c95c6271d496d6e1b6d10a
[ "Apache-2.0" ]
null
null
null
///////////////////////////////////////////////////////////////////////////// // Name: src/common/statbmpcmn.cpp // Purpose: wxStaticBitmap common code // Author: Julian Smart // Modified by: // Created: 04/01/98 // Copyright: (c) Julian Smart // Licence: wxWindows licence ////////////////////...
28.815603
80
0.587989
KeyWorksRW
a5f0e60549f4018b1fb770c5e73bd0802cec8bec
125
cpp
C++
examples/include_this.cpp
andrewkatson/denarii
ee5f07f43255b02aac521a6ae9715cc7c80eaa65
[ "MIT" ]
null
null
null
examples/include_this.cpp
andrewkatson/denarii
ee5f07f43255b02aac521a6ae9715cc7c80eaa65
[ "MIT" ]
null
null
null
examples/include_this.cpp
andrewkatson/denarii
ee5f07f43255b02aac521a6ae9715cc7c80eaa65
[ "MIT" ]
null
null
null
// // Created by katso on 2/16/2022. // #include "include_this.h" void include_this::do_something() { std::string str; }
12.5
35
0.664
andrewkatson
a5f1d850499de2b83edf6b5f610bd18b63f83282
773
cpp
C++
src/processor.cpp
craigstjean/miditabs
0e8e22ab948883d1fe62ff669b472615739c5fa5
[ "BSD-3-Clause" ]
null
null
null
src/processor.cpp
craigstjean/miditabs
0e8e22ab948883d1fe62ff669b472615739c5fa5
[ "BSD-3-Clause" ]
null
null
null
src/processor.cpp
craigstjean/miditabs
0e8e22ab948883d1fe62ff669b472615739c5fa5
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> #include "processor.h" #include <antlr4-runtime.h> #include "TabsLexer.h" #include "TabsParser.h" #include "midi_visitor.h" #include "midi_commands.h" using namespace antlr4; void Processor::execute() { ANTLRInputStream input(stream); TabsLexer lexer(&input); CommonTokenStream token...
20.891892
75
0.67141
craigstjean
a5f3d6ceafefaff233e74736bea050db1943fba1
1,968
hpp
C++
inst/include/target/utils.hpp
kkholst/gof
806286ccec6509155e44fb221eb34aaf0b3bfb20
[ "Apache-2.0" ]
null
null
null
inst/include/target/utils.hpp
kkholst/gof
806286ccec6509155e44fb221eb34aaf0b3bfb20
[ "Apache-2.0" ]
null
null
null
inst/include/target/utils.hpp
kkholst/gof
806286ccec6509155e44fb221eb34aaf0b3bfb20
[ "Apache-2.0" ]
null
null
null
/*! @file utils.hpp @author Klaus K. Holst @copyright 2020, Klaus Kähler Holst @brief Various utility functions and constants */ #pragma once #ifndef ARMA_R #include <armadillo> #endif #if defined(ARMA_R) #include <RcppArmadillo.h> #endif #include <cmath> #include <complex> #include <cfloat> // precisio...
26.958904
101
0.64685
kkholst
a5f47d29633815c642a55f91d7cee88ee3b84844
364
cpp
C++
sources/utils/constants.cpp
bobismijnnaam/nutsnbolts
40191668b0831c64ce23474b9886f8be888916b3
[ "BSL-1.0", "Zlib", "MIT" ]
null
null
null
sources/utils/constants.cpp
bobismijnnaam/nutsnbolts
40191668b0831c64ce23474b9886f8be888916b3
[ "BSL-1.0", "Zlib", "MIT" ]
null
null
null
sources/utils/constants.cpp
bobismijnnaam/nutsnbolts
40191668b0831c64ce23474b9886f8be888916b3
[ "BSL-1.0", "Zlib", "MIT" ]
null
null
null
// File: constants.cpp // Author: Bob Rubbens - Knights of the Compiler // Creation date: 20150714 // Contact: http://plusminos.nl - @broervanlisa - gmail (bobrubbens) // Public // Private #include "nnb/utils/constants.hpp" namespace nnb { #ifdef NNB_WIN std::string DIRSEP = "\\"; #elif NNB_UNIX ...
19.157895
68
0.637363
bobismijnnaam
a5f559354eeb67e2ce81fd607c86be10ab5eabba
2,011
hpp
C++
source/hougfx/include/hou/gfx/glyph.hpp
DavideCorradiDev/houzi-game-engine
d704aa9c5b024300578aafe410b7299c4af4fcec
[ "MIT" ]
2
2018-04-12T20:59:20.000Z
2018-07-26T16:04:07.000Z
source/hougfx/include/hou/gfx/glyph.hpp
DavideCorradiDev/houzi-game-engine
d704aa9c5b024300578aafe410b7299c4af4fcec
[ "MIT" ]
null
null
null
source/hougfx/include/hou/gfx/glyph.hpp
DavideCorradiDev/houzi-game-engine
d704aa9c5b024300578aafe410b7299c4af4fcec
[ "MIT" ]
null
null
null
// Houzi Game Engine // Copyright (c) 2018 Davide Corradi // Licensed under the MIT license. #ifndef HOU_GFX_GLYPH_HPP #define HOU_GFX_GLYPH_HPP #include "hou/gfx/gfx_config.hpp" #include "hou/gfx/glyph_metrics.hpp" #include "hou/sys/image.hpp" #include <iostream> namespace hou { /** Class describing a glyph, i...
19.152381
73
0.664843
DavideCorradiDev
a5fb99da87075a57266c3691949444a4004aaa5c
46,671
cpp
C++
unittests/AST/ASTBuilder.cpp
clayne/rellic
2164f2117224d301698d6af05d3c3492d4f62d06
[ "Apache-2.0" ]
null
null
null
unittests/AST/ASTBuilder.cpp
clayne/rellic
2164f2117224d301698d6af05d3c3492d4f62d06
[ "Apache-2.0" ]
null
null
null
unittests/AST/ASTBuilder.cpp
clayne/rellic
2164f2117224d301698d6af05d3c3492d4f62d06
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2021-present, Trail of Bits, Inc. * All rights reserved. * * This source code is licensed in accordance with the terms specified in * the LICENSE file found in the root directory of this source tree. */ #include "rellic/AST/ASTBuilder.h" #include "Util.h" namespace { template <typename T> s...
36.095128
80
0.584346
clayne
a5fbaed74119316d3ea1c0100539be4d620f87a0
2,953
hpp
C++
Source/TitaniumKit/include/Titanium/Network/Socket/UDP.hpp
appcelerator/titanium_mobile_windows
ec82c011f418cbcf27795eb009deaef5e3fe4b20
[ "Apache-2.0" ]
20
2015-04-02T06:55:30.000Z
2022-03-29T04:27:30.000Z
Source/TitaniumKit/include/Titanium/Network/Socket/UDP.hpp
appcelerator/titanium_mobile_windows
ec82c011f418cbcf27795eb009deaef5e3fe4b20
[ "Apache-2.0" ]
692
2015-04-01T21:05:49.000Z
2020-03-10T10:11:57.000Z
Source/TitaniumKit/include/Titanium/Network/Socket/UDP.hpp
appcelerator/titanium_mobile_windows
ec82c011f418cbcf27795eb009deaef5e3fe4b20
[ "Apache-2.0" ]
22
2015-04-01T20:57:51.000Z
2022-01-18T17:33:15.000Z
/** * TitaniumKit Titanium.Network.Socket.UDP * * Copyright (c) 2015 by Appcelerator, Inc. All Rights Reserved. * Licensed under the terms of the Apache Public License. * Please see the LICENSE included with this distribution for details. */ #ifndef _TITANIUM_UDP_HPP_ #define _TITANIUM_UDP_HPP_ #include "Titani...
26.366071
129
0.692177
appcelerator
a5fc65d137dc620782ccc3c8ac77bc102d5c9520
364
cpp
C++
Lesson3/1functions.cpp
0x6f736f646f/mechatronics_Cpp_programming
0618cd39e6c914adc5ef2863a3295cb8adf41a54
[ "Apache-2.0" ]
null
null
null
Lesson3/1functions.cpp
0x6f736f646f/mechatronics_Cpp_programming
0618cd39e6c914adc5ef2863a3295cb8adf41a54
[ "Apache-2.0" ]
null
null
null
Lesson3/1functions.cpp
0x6f736f646f/mechatronics_Cpp_programming
0618cd39e6c914adc5ef2863a3295cb8adf41a54
[ "Apache-2.0" ]
null
null
null
#include <iostream> using namespace std; //function declaration int max(int, int); int main(){ //local variable declaration int a = 100, b = 200, ret; //calling function to get max value ret = max(a,b); cout << "Max values is : " << ret << endl; return 0; } int max(int num1, int num2){ if (num1 > num2) { ...
14
43
0.623626
0x6f736f646f
a5fd3ee8ee3f101e66e2ee2ae39ef284e556dba1
1,589
cpp
C++
Oem/dbxml/dbxml/src/utils/shell/IncludeCommand.cpp
achilex/MgDev
f7baf680a88d37659af32ee72b9a2046910b00d8
[ "PHP-3.0" ]
2
2017-04-19T01:38:30.000Z
2020-07-31T03:05:32.000Z
Oem/dbxml/dbxml/src/utils/shell/IncludeCommand.cpp
achilex/MgDev
f7baf680a88d37659af32ee72b9a2046910b00d8
[ "PHP-3.0" ]
null
null
null
Oem/dbxml/dbxml/src/utils/shell/IncludeCommand.cpp
achilex/MgDev
f7baf680a88d37659af32ee72b9a2046910b00d8
[ "PHP-3.0" ]
1
2021-12-29T10:46:12.000Z
2021-12-29T10:46:12.000Z
// // See the file LICENSE for redistribution information. // // Copyright (c) 2002,2009 Oracle. All rights reserved. // // #include <fstream> #include "IncludeCommand.hpp" #include "Shell.hpp" using namespace DbXml; using namespace std; string IncludeCommand::getCommandNameCompat() const { return "include"; } ...
20.113924
61
0.648836
achilex
a5fddcb6d31ebf08d6f3cd1caf440a377548feef
2,916
cc
C++
src/mem/ruby/network/garnet/fixed-pipeline/routing/aco/RoutingTable.cc
mcai/gem5_ccnuma
038a86035dc47706714dbd594ce66f562b6c87f1
[ "BSD-3-Clause" ]
3
2017-11-19T06:49:54.000Z
2018-12-26T18:08:11.000Z
src/mem/ruby/network/garnet/fixed-pipeline/routing/aco/RoutingTable.cc
mcai/gem5_ccnuma
038a86035dc47706714dbd594ce66f562b6c87f1
[ "BSD-3-Clause" ]
null
null
null
src/mem/ruby/network/garnet/fixed-pipeline/routing/aco/RoutingTable.cc
mcai/gem5_ccnuma
038a86035dc47706714dbd594ce66f562b6c87f1
[ "BSD-3-Clause" ]
6
2016-07-31T18:48:18.000Z
2022-03-06T22:41:28.000Z
#include <stdlib.h> #include <algorithm> #include "base/misc.hh" #include "mem/ruby/network/garnet/NetworkHeader.hh" #include "mem/ruby/network/garnet/fixed-pipeline/routing/aco/AntNetAgent.hh" #include "mem/ruby/network/garnet/fixed-pipeline/routing/aco/RoutingTable.hh" using namespace std; const double REINFORCEME...
24.3
123
0.670439
mcai
a5fea5b189bacac1b54df51c0ba33547c8dcad19
7,229
cpp
C++
src/devices/machine/ds2401.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
26
2015-03-31T06:25:51.000Z
2021-12-14T09:29:04.000Z
src/devices/machine/ds2401.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
null
null
null
src/devices/machine/ds2401.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
10
2015-03-27T05:45:51.000Z
2022-02-04T06:57:36.000Z
// license:BSD-3-Clause // copyright-holders:smf /* * DS2401 * * Dallas Semiconductor * Silicon Serial Number * */ #include "emu.h" #include "machine/ds2401.h" #define VERBOSE_LEVEL 0 inline void ds2401_device::verboselog(int n_level, const char *s_fmt, ...) { if(VERBOSE_LEVEL >= n_level) { va_list v; ch...
25.725979
157
0.701757
Robbbert
57035f3918f6e0ddee49b3d875a52f3cd3a49f4e
1,612
cpp
C++
questions/threadwork-simple-40865259/main.cpp
SammyEnigma/stackoverflown
0f70f2534918b2e65cec1046699573091d9a40b5
[ "Unlicense" ]
54
2015-09-13T07:29:52.000Z
2022-03-16T07:43:50.000Z
questions/threadwork-simple-40865259/main.cpp
SammyEnigma/stackoverflown
0f70f2534918b2e65cec1046699573091d9a40b5
[ "Unlicense" ]
null
null
null
questions/threadwork-simple-40865259/main.cpp
SammyEnigma/stackoverflown
0f70f2534918b2e65cec1046699573091d9a40b5
[ "Unlicense" ]
31
2016-08-26T13:35:01.000Z
2022-03-13T16:43:12.000Z
// https://github.com/KubaO/stackoverflown/tree/master/questions/threadwork-simple-40865259 #include <QtWidgets> #include <QtConcurrent> struct ApplicationData {}; struct OptimizationAlgorithm { void timeConsumingMethod(QSharedPointer<ApplicationData>) { QThread::sleep(3); } }; class Controller : public ...
26.42623
91
0.681141
SammyEnigma
570408bd530273ed0d7a88f3380eb5a574d95e4d
24,356
cc
C++
src/plugins/plot/Plot.cc
Levi-Armstrong/ign-gui
c14dc67bbb61e2422737be6428ba5fb67aeba654
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/plugins/plot/Plot.cc
Levi-Armstrong/ign-gui
c14dc67bbb61e2422737be6428ba5fb67aeba654
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/plugins/plot/Plot.cc
Levi-Armstrong/ign-gui
c14dc67bbb61e2422737be6428ba5fb67aeba654
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2017 Open Source Robotics Foundation * * 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 appl...
29.522424
80
0.642798
Levi-Armstrong
570832e0c44f4b20771d63d64d0ef251931f02ca
1,707
hpp
C++
include/process.hpp
MRLintern/System-Monitor
c7acce4b88ece5791906a8aaca6c4cbc9f584183
[ "MIT" ]
5
2021-02-16T16:39:33.000Z
2021-08-11T04:08:45.000Z
include/process.hpp
MRLintern/System-Monitor
c7acce4b88ece5791906a8aaca6c4cbc9f584183
[ "MIT" ]
2
2021-08-17T22:05:25.000Z
2021-08-21T02:18:43.000Z
include/process.hpp
MRLintern/System-Monitor
c7acce4b88ece5791906a8aaca6c4cbc9f584183
[ "MIT" ]
10
2020-04-15T18:57:48.000Z
2022-01-07T17:18:22.000Z
#ifndef PROCESS_H #define PROCESS_H #include <string> /* Basic class for Process representation It contains relevant attributes as shown below */ class Process { public: // constructor to initialize Process with the read process-ID from filesystem Process(int pid); // Return this process's ID int Pid(); // ...
27.532258
79
0.721734
MRLintern
570a931589d79c90268ae265d814f68e9f604274
4,955
cpp
C++
gui/miniplot.cpp
klindworth/disparity_estimation
74759d35f7635ff725629a1ae555d313f3e9fb29
[ "BSD-2-Clause" ]
null
null
null
gui/miniplot.cpp
klindworth/disparity_estimation
74759d35f7635ff725629a1ae555d313f3e9fb29
[ "BSD-2-Clause" ]
null
null
null
gui/miniplot.cpp
klindworth/disparity_estimation
74759d35f7635ff725629a1ae555d313f3e9fb29
[ "BSD-2-Clause" ]
null
null
null
/* Copyright (c) 2013, Kai Klindworth All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the followi...
25.807292
119
0.708981
klindworth
570e37a193fabb0d9f7421016ba27d0c7c1edc71
16,306
cpp
C++
src/dlgcanalinterfacesettings.cpp
benys/vscpworks
755a1733d0c55c8dd22d65e0e1ed1598311ef999
[ "MIT" ]
1
2019-11-22T15:24:50.000Z
2019-11-22T15:24:50.000Z
src/dlgcanalinterfacesettings.cpp
benys/vscpworks
755a1733d0c55c8dd22d65e0e1ed1598311ef999
[ "MIT" ]
1
2020-05-05T18:40:57.000Z
2020-05-05T18:40:57.000Z
src/dlgcanalinterfacesettings.cpp
benys/vscpworks
755a1733d0c55c8dd22d65e0e1ed1598311ef999
[ "MIT" ]
1
2020-05-05T08:07:32.000Z
2020-05-05T08:07:32.000Z
///////////////////////////////////////////////////////////////////////////// // Name: dlgcanalinterfacesettings.cpp // Purpose: // Author: Ake Hedman // Modified by: // Created: Thu 28 Jun 2007 20:45:11 CEST // RCS-ID: // Copyright: (C) 2007-2017 // Ake Hedman, Grodans Paradis AB, <akhe@...
42.243523
164
0.703545
benys
570ee372540af36521e1f71b807ea5826353f4cd
588
hh
C++
include/BucatiniSteppingAction.hh
EdoPro98/Bucatini
a904d9a8c48ec90b3dfe9d370ae51f0653b14def
[ "MIT" ]
null
null
null
include/BucatiniSteppingAction.hh
EdoPro98/Bucatini
a904d9a8c48ec90b3dfe9d370ae51f0653b14def
[ "MIT" ]
null
null
null
include/BucatiniSteppingAction.hh
EdoPro98/Bucatini
a904d9a8c48ec90b3dfe9d370ae51f0653b14def
[ "MIT" ]
null
null
null
#ifndef BucatiniSteppingAction_h #define BucatiniSteppingAction_h 1 #include "G4UserSteppingAction.hh" class BucatiniDetectorConstruction; class BucatiniEventAction; class BucatiniSteppingAction : public G4UserSteppingAction { public: BucatiniSteppingAction(BucatiniEventAction* eventAction); ~BucatiniSteppingAc...
21.777778
60
0.746599
EdoPro98
570fad9597af16abb7e67a925c028e5e02080fa6
711
cpp
C++
lang/C++/priority-queue-2.cpp
ethansaxenian/RosettaDecode
8ea1a42a5f792280b50193ad47545d14ee371fb7
[ "MIT" ]
1
2018-11-09T22:08:38.000Z
2018-11-09T22:08:38.000Z
lang/C++/priority-queue-2.cpp
ethansaxenian/RosettaDecode
8ea1a42a5f792280b50193ad47545d14ee371fb7
[ "MIT" ]
null
null
null
lang/C++/priority-queue-2.cpp
ethansaxenian/RosettaDecode
8ea1a42a5f792280b50193ad47545d14ee371fb7
[ "MIT" ]
1
2018-11-09T22:08:40.000Z
2018-11-09T22:08:40.000Z
#include <iostream> #include <string> #include <vector> #include <algorithm> #include <utility> int main() { std::vector<std::pair<int, std::string> > pq; pq.push_back(std::make_pair(3, "Clear drains")); pq.push_back(std::make_pair(4, "Feed cat")); pq.push_back(std::make_pair(5, "Make tea")); pq.push_back(st...
22.935484
66
0.604782
ethansaxenian
571228983be129c0cc201f4b7dba8738bc2d5afa
203
cpp
C++
BasicGameFramework/Object/SampleSprite.cpp
dlwlxns4/WitchHouse
7b2fd8acead69baa9b0850e0ddcb7520b32ef47e
[ "BSD-3-Clause" ]
null
null
null
BasicGameFramework/Object/SampleSprite.cpp
dlwlxns4/WitchHouse
7b2fd8acead69baa9b0850e0ddcb7520b32ef47e
[ "BSD-3-Clause" ]
null
null
null
BasicGameFramework/Object/SampleSprite.cpp
dlwlxns4/WitchHouse
7b2fd8acead69baa9b0850e0ddcb7520b32ef47e
[ "BSD-3-Clause" ]
null
null
null
#include "SampleSprite.h" #include "../Component/TileSelectComponent.h" void SampleSprite::Init() { TileSelectComponent* tileSelectComponent = new TileSelectComponent(this,1); GameObject::Init(); }
18.454545
76
0.763547
dlwlxns4
57127b1a41a6840be801500e09dd26dc88503986
8,403
cpp
C++
CPP/7zip/UI/FileManager/SettingsPage.cpp
sdottaka/sevenzip
69f3d03c97753429c3989cc26243578ec32b18b0
[ "DOC", "Info-ZIP" ]
8
2019-01-04T03:06:36.000Z
2022-03-17T07:32:41.000Z
CPP/7zip/UI/FileManager/SettingsPage.cpp
WinMerge/sevenzip
69f3d03c97753429c3989cc26243578ec32b18b0
[ "DOC", "Info-ZIP" ]
1
2021-12-24T14:50:09.000Z
2021-12-27T11:58:49.000Z
CPP/7zip/UI/FileManager/SettingsPage.cpp
WinMerge/sevenzip
b361efa151e94e117741298bbf12b5e98ef49005
[ "DOC", "Info-ZIP" ]
1
2019-03-20T07:28:01.000Z
2019-03-20T07:28:01.000Z
// SettingsPage.cpp #include "StdAfx.h" // #include "../../../Common/IntToString.h" // #include "../../../Common/StringConvert.h" #ifndef UNDER_CE #include "../../../Windows/MemoryLock.h" // #include "../../../Windows/System.h" #endif // #include "../Common/ZipRegistry.h" #include "HelpUtils.h" #inc...
23.940171
87
0.613709
sdottaka
571346c554ca35c100e13f7ccd627a56d54347ea
4,309
cpp
C++
rfsim/plugins/BallFollowMovement.cpp
thofyb/RobotFootballSim
646f88b52e1c29aa7480dc9e473fec1e8ce41ecf
[ "MIT" ]
1
2021-04-13T08:31:05.000Z
2021-04-13T08:31:05.000Z
rfsim/plugins/BallFollowMovement.cpp
thofyb/RobotFootballSim
646f88b52e1c29aa7480dc9e473fec1e8ce41ecf
[ "MIT" ]
2
2021-04-06T19:03:17.000Z
2021-04-07T16:32:28.000Z
rfsim/plugins/BallFollowMovement.cpp
thofyb/RobotFootballSim
646f88b52e1c29aa7480dc9e473fec1e8ce41ecf
[ "MIT" ]
1
2021-04-19T12:06:52.000Z
2021-04-19T12:06:52.000Z
//////////////////////////////////////////////////////////////////////////////////// // MIT License // // // // Copyright (c) 2021 The RobotFootballSim project authors ...
39.898148
105
0.534231
thofyb
5714b18a6ac8beaf38c28ac79713d2f9f12d9478
4,688
cpp
C++
core/srk_uts_packet.cpp
matiasinsaurralde/sonork
25514411bca36368fc2719b6fb8ab1367e1bb218
[ "BSD-Source-Code" ]
2
2016-06-17T07:40:53.000Z
2019-10-31T19:37:55.000Z
core/srk_uts_packet.cpp
matiasinsaurralde/sonork
25514411bca36368fc2719b6fb8ab1367e1bb218
[ "BSD-Source-Code" ]
null
null
null
core/srk_uts_packet.cpp
matiasinsaurralde/sonork
25514411bca36368fc2719b6fb8ab1367e1bb218
[ "BSD-Source-Code" ]
null
null
null
#include "srk_defs.h" #pragma hdrstop #include "srk_uts_packet.h" #include "srk_codec_io.h" /* Sonork Messaging System Portions Copyright (C) 2001 Sonork SRL: This program is free software; you can redistribute it and/or modify it under the terms of the Sonork Source Code License (SSCL) Version 1. ...
30.245161
138
0.628626
matiasinsaurralde
5717cde83c9449e47d0f7aef889e4bf8d0609e94
11,500
cpp
C++
ex4/main.cpp
danailbd/kn_oop_2018
cde4fd8fab8562af8012b4432664a91c4922f448
[ "MIT" ]
null
null
null
ex4/main.cpp
danailbd/kn_oop_2018
cde4fd8fab8562af8012b4432664a91c4922f448
[ "MIT" ]
1
2018-04-30T19:25:54.000Z
2018-04-30T19:25:54.000Z
ex4/main.cpp
danailbd/kn_oop_2018
cde4fd8fab8562af8012b4432664a91c4922f448
[ "MIT" ]
1
2018-05-13T18:17:54.000Z
2018-05-13T18:17:54.000Z
#include <iostream> #include "string.h" using namespace std; /** * This program represents a simplified version of the Duolingo application (program for * learning foreign languages). * It gives to the user the ability to create a course for a specific language, backed with * a list (pool) of questions that ar...
30.748663
123
0.608
danailbd
571a48315a826edb35159bb76166f2d6eecadf01
175
cpp
C++
CentipedeGame_gageoconnor/Game Components/CommandScore.cpp
Shaditto/centipede-teal
f078b11eaecddae17709dc9f917348b7b0733d56
[ "MIT" ]
null
null
null
CentipedeGame_gageoconnor/Game Components/CommandScore.cpp
Shaditto/centipede-teal
f078b11eaecddae17709dc9f917348b7b0733d56
[ "MIT" ]
null
null
null
CentipedeGame_gageoconnor/Game Components/CommandScore.cpp
Shaditto/centipede-teal
f078b11eaecddae17709dc9f917348b7b0733d56
[ "MIT" ]
1
2019-11-13T19:26:34.000Z
2019-11-13T19:26:34.000Z
#include "CommandScore.h" #include "ScoreManager.h" CommandScore::CommandScore(int val) : points(val) { } void CommandScore::Execute() { ScoreManager::AddScore(points); }
13.461538
35
0.731429
Shaditto
571d76f07da5c29965a72473add85ae74559115e
142,960
cpp
C++
source/fen_moyenne.cpp
yves-marieRaiffaud/school-marks-logger
817f03d7c13673ed161b4f4804b4e4f64204507f
[ "MIT" ]
null
null
null
source/fen_moyenne.cpp
yves-marieRaiffaud/school-marks-logger
817f03d7c13673ed161b4f4804b4e4f64204507f
[ "MIT" ]
null
null
null
source/fen_moyenne.cpp
yves-marieRaiffaud/school-marks-logger
817f03d7c13673ed161b4f4804b4e4f64204507f
[ "MIT" ]
null
null
null
#include "fen_moyenne.h" fen_moyenne :: fen_moyenne() { setting = new QSettings("Mamouth Corporation", "Gestionnaire de Scolarité"); m_loc_annee_compare = new QString(setting->value("Location Fichiers/Annee.txt").toString()); QString root_folder = *m_loc_annee_compare; QString annee = "/Annee.tx...
49.330573
167
0.455519
yves-marieRaiffaud
5720fe1e7b3688263e80046d4e8c685c5d3b2c10
2,096
cpp
C++
td08/test/signtest.cpp
asassoye/ESI-DEV3-TD
074c7ec4c81bcf3a927079202050d5d05e4e29ca
[ "MIT" ]
4
2020-12-31T14:57:20.000Z
2020-12-31T15:15:49.000Z
td08/test/signtest.cpp
asassoye/ESI-DEV3-TD
074c7ec4c81bcf3a927079202050d5d05e4e29ca
[ "MIT" ]
null
null
null
td08/test/signtest.cpp
asassoye/ESI-DEV3-TD
074c7ec4c81bcf3a927079202050d5d05e4e29ca
[ "MIT" ]
1
2021-01-03T13:23:14.000Z
2021-01-03T13:23:14.000Z
#include "catch2/catch.hpp" #include "../src/sign.hpp" using namespace g54327; TEST_CASE("constexpr Sign opposite(Sign sign)", "[opposite]") { REQUIRE(opposite(Sign::PLUS) == Sign::MINUS); REQUIRE(opposite(Sign::MINUS) == Sign::PLUS); REQUIRE(opposite(Sign::ZERO) == Sign::ZERO); } TEST_CASE("constexpr Si...
39.54717
74
0.626908
asassoye
57232002a64be89ab425f4f5bec3d71778adcc29
6,529
hpp
C++
Library/Private/APICommon/API/Common/Iterator.hpp
KonstantinTomashevich/Emergence
83b1d52bb62bf619f9402e3081dd9de6b0cb232c
[ "Apache-2.0" ]
3
2021-06-02T05:06:48.000Z
2022-01-26T09:39:44.000Z
Library/Private/APICommon/API/Common/Iterator.hpp
KonstantinTomashevich/Emergence
83b1d52bb62bf619f9402e3081dd9de6b0cb232c
[ "Apache-2.0" ]
null
null
null
Library/Private/APICommon/API/Common/Iterator.hpp
KonstantinTomashevich/Emergence
83b1d52bb62bf619f9402e3081dd9de6b0cb232c
[ "Apache-2.0" ]
null
null
null
#pragma once /// \brief Adds common forward iterator operators, copy constructor, move constructor and destructor. /// \details There is a lot of similar iterators in different services. Therefore it's better to hide their common /// operations under macro to avoid unnecessary declaration and documentation du...
110.661017
120
0.277378
KonstantinTomashevich
5730683fc3301f945b3e80f30a8d8af1c5d2e3bd
319
cpp
C++
2-19/ASSIGNMENTS/POINTERSETC/pointerexample3.cpp
domijin/ComPhy
0dea6d7b09eb4880b7f2d8f55c321c827e713488
[ "MIT" ]
null
null
null
2-19/ASSIGNMENTS/POINTERSETC/pointerexample3.cpp
domijin/ComPhy
0dea6d7b09eb4880b7f2d8f55c321c827e713488
[ "MIT" ]
null
null
null
2-19/ASSIGNMENTS/POINTERSETC/pointerexample3.cpp
domijin/ComPhy
0dea6d7b09eb4880b7f2d8f55c321c827e713488
[ "MIT" ]
null
null
null
/*************** POINTEREXAMPLE This program will run since a value is established for a that can be pointed to by p. *********/ #include<iostream> using namespace std; int main() { int * p; //p is declared as a pointer int a=15; *p=a;//the value 15 is put in the memory //location p return 0; }
16.789474
50
0.611285
domijin
57314defd4cb12e2f5ef3d77c7036a50f80d2467
2,601
cpp
C++
QCIFSServer/SocketServer/Main.cpp
rodrigomr/VFS
6b68b00df8cb668106c2d0841cbcd46138298717
[ "Apache-2.0" ]
38
2018-09-24T09:37:41.000Z
2022-02-21T04:16:43.000Z
QCIFSServer/SocketServer/Main.cpp
rodrigomr/VFS
6b68b00df8cb668106c2d0841cbcd46138298717
[ "Apache-2.0" ]
1
2018-10-02T17:57:44.000Z
2018-10-07T06:55:44.000Z
QCIFSServer/SocketServer/Main.cpp
rodrigomr/VFS
6b68b00df8cb668106c2d0841cbcd46138298717
[ "Apache-2.0" ]
6
2018-10-02T17:12:38.000Z
2021-01-27T10:01:30.000Z
// Copyright 2018 Grass Valley, A Belden Brand // 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 ag...
44.844828
191
0.68243
rodrigomr
5731e3fb93794c5688a279f7c24004968ac50bde
1,135
cc
C++
sokoban_cl.cc
gress2/pseudo-feedback-mcts
d8957d505feb4a146e1b76cd6484846dac2d399e
[ "MIT" ]
null
null
null
sokoban_cl.cc
gress2/pseudo-feedback-mcts
d8957d505feb4a146e1b76cd6484846dac2d399e
[ "MIT" ]
null
null
null
sokoban_cl.cc
gress2/pseudo-feedback-mcts
d8957d505feb4a146e1b76cd6484846dac2d399e
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include "sokoban_env.hpp" using direction = sokoban_env::direction; int main() { sokoban_env env("skbn_cfgs/1.cfg"); env.render(); std::string input; while (!env.is_game_over()) { auto possible_moves = env.get_possible_moves(); std::cout << "possible moves: " <<...
26.395349
76
0.562996
gress2
573204aa068edd4a5b3c20ee6fac895ca77fecf1
168
cpp
C++
HW04/CharStack.cpp
CS-CMU/cs251
ba8fac9ee9da293f8e7a6d193657e0d217d9dd2b
[ "MIT" ]
null
null
null
HW04/CharStack.cpp
CS-CMU/cs251
ba8fac9ee9da293f8e7a6d193657e0d217d9dd2b
[ "MIT" ]
null
null
null
HW04/CharStack.cpp
CS-CMU/cs251
ba8fac9ee9da293f8e7a6d193657e0d217d9dd2b
[ "MIT" ]
5
2021-11-21T13:38:48.000Z
2022-01-14T15:55:02.000Z
class CharStack { public: CharStack() { // constructor } void push(char new_item) { } char pop() { } char top() { } bool isEmpty() { } };
7
30
0.505952
CS-CMU
5733c17490f9e7a52119aa9e49f101dac1911c59
74
hxx
C++
src/interfaces/python/opengm/opengmcore/pyFunctionGen.hxx
burcin/opengm
a1b21eecb93c6c5a7b11ab312d26b1c98c55ff41
[ "MIT" ]
318
2015-01-07T15:22:02.000Z
2022-01-22T10:10:29.000Z
src/interfaces/python/opengm/opengmcore/pyFunctionGen.hxx
burcin/opengm
a1b21eecb93c6c5a7b11ab312d26b1c98c55ff41
[ "MIT" ]
89
2015-03-24T14:33:01.000Z
2020-07-10T13:59:13.000Z
src/interfaces/python/opengm/opengmcore/pyFunctionGen.hxx
burcin/opengm
a1b21eecb93c6c5a7b11ab312d26b1c98c55ff41
[ "MIT" ]
119
2015-01-13T08:35:03.000Z
2022-03-01T01:49:08.000Z
template<class GM_ADDER,class GM_MULT> void export_function_generator();
37
40
0.837838
burcin
573461e3458a11e3c9189a15472e89f2ee838bfb
2,925
hpp
C++
src/include/function/scalar_function/regexp.hpp
xhochy/duckdb
20ba65f96794ab53f7a66e22d9bc58d59d8bc623
[ "MIT" ]
null
null
null
src/include/function/scalar_function/regexp.hpp
xhochy/duckdb
20ba65f96794ab53f7a66e22d9bc58d59d8bc623
[ "MIT" ]
null
null
null
src/include/function/scalar_function/regexp.hpp
xhochy/duckdb
20ba65f96794ab53f7a66e22d9bc58d59d8bc623
[ "MIT" ]
1
2019-09-06T09:58:14.000Z
2019-09-06T09:58:14.000Z
//===----------------------------------------------------------------------===// // DuckDB // // function/scalar_function/regexp.hpp // // //===----------------------------------------------------------------------===// #pragma once #include "common/types/data_chunk.hpp" #include "function/fun...
27.59434
117
0.731624
xhochy
573506ed6a9fd0c67c00057e2ec0f7e78d5d867f
1,167
cpp
C++
notepanda.cpp
fossabot/notepanda
94fc3d7c9752c7332e9364438b79deaa37360670
[ "MIT" ]
null
null
null
notepanda.cpp
fossabot/notepanda
94fc3d7c9752c7332e9364438b79deaa37360670
[ "MIT" ]
null
null
null
notepanda.cpp
fossabot/notepanda
94fc3d7c9752c7332e9364438b79deaa37360670
[ "MIT" ]
null
null
null
#include <QTextStream> #include <QMessageBox> #include "texteditor.h" #include "notepanda.h" #include "ui_notepanda.h" notepanda::notepanda(QWidget *parent) : QMainWindow(parent) , ui(new Ui::notepanda) { ui->setupUi(this); ui->setupUi(this); plainTextEdit = new TextEditor; this->setCentralWid...
29.923077
134
0.66838
fossabot
5735a90abaeb2959d785a788c70ebaaad4141a0a
4,506
cpp
C++
test/heuristic_search/loggers/test_Logger.cpp
Forrest-Z/heuristic_search
8a1d2035483e7167baf362dc3de52320845f1109
[ "MIT" ]
null
null
null
test/heuristic_search/loggers/test_Logger.cpp
Forrest-Z/heuristic_search
8a1d2035483e7167baf362dc3de52320845f1109
[ "MIT" ]
null
null
null
test/heuristic_search/loggers/test_Logger.cpp
Forrest-Z/heuristic_search
8a1d2035483e7167baf362dc3de52320845f1109
[ "MIT" ]
1
2020-04-18T09:58:49.000Z
2020-04-18T09:58:49.000Z
/* heuristic_search library * * Copyright (c) 2016, * Maciej Przybylski <maciej.przybylski@mchtr.pw.edu.pl>, * Warsaw University of Technology. * All rights reserved. * */ #include <gtest/gtest.h> #include "heuristic_search/HeuristicSearch.h" #include "heuristic_search/loggers/DStarLogger.h" #include "heu...
34.396947
106
0.67399
Forrest-Z
5739364524c27ac65a6aac10f2d73b0d436d96bc
3,457
cpp
C++
external/iotivity/iotivity_1.2-rel/service/simulator/java/jni/simulator_exceptions_jni.cpp
SenthilKumarGS/TizenRT
691639aa9667de5d966f040f0291a402727ab6ae
[ "Apache-2.0" ]
511
2017-03-29T09:14:09.000Z
2022-03-30T23:10:29.000Z
external/iotivity/iotivity_1.2-rel/service/simulator/java/jni/simulator_exceptions_jni.cpp
SenthilKumarGS/TizenRT
691639aa9667de5d966f040f0291a402727ab6ae
[ "Apache-2.0" ]
4,673
2017-03-29T10:43:43.000Z
2022-03-31T08:33:44.000Z
external/iotivity/iotivity_1.2-rel/service/simulator/java/jni/simulator_exceptions_jni.cpp
SenthilKumarGS/TizenRT
691639aa9667de5d966f040f0291a402727ab6ae
[ "Apache-2.0" ]
642
2017-03-30T20:45:33.000Z
2022-03-24T17:07:33.000Z
/****************************************************************** * * Copyright 2015 Samsung Electronics 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 * ...
38.842697
104
0.67978
SenthilKumarGS
573c31201bcf0f08edda0898921ef20855dee8c6
3,151
cpp
C++
packages/optionPricer2/src/AsianOption.cpp
pawelsakowski/AF-RCPP-2020-2021
c44eea09235e03097c18f13381de9b5b93806138
[ "Apache-2.0" ]
6
2020-11-03T10:56:58.000Z
2021-03-26T14:49:42.000Z
packages/optionPricer2/src/AsianOption.cpp
pawelsakowski/AF-RCPP-2021-2022
60f9aa4300fa2cc14c35213ea39b81b3656ae900
[ "Apache-2.0" ]
null
null
null
packages/optionPricer2/src/AsianOption.cpp
pawelsakowski/AF-RCPP-2021-2022
60f9aa4300fa2cc14c35213ea39b81b3656ae900
[ "Apache-2.0" ]
3
2021-12-01T21:09:06.000Z
2022-01-30T14:36:17.000Z
#include<iostream> #include<cmath> #include"getOneGaussianByBoxMueller.h" #include"AsianOption.h" //definition of constructor AsianOption::AsianOption( int nInt_, double strike_, double spot_, double vol_, double r_, double expiry_){ nInt = nInt_; strike = strike_; spot = spot_; vol = v...
21.881944
95
0.643288
pawelsakowski
573e0dc8439460f35f3cf8b8afbfbc17b940eb22
738
hpp
C++
src/MulConstraint.hpp
nandofioretto/cpuBE
641e42ae4f1f7d9b82f323256fec86d7aa8f8ac1
[ "MIT" ]
null
null
null
src/MulConstraint.hpp
nandofioretto/cpuBE
641e42ae4f1f7d9b82f323256fec86d7aa8f8ac1
[ "MIT" ]
null
null
null
src/MulConstraint.hpp
nandofioretto/cpuBE
641e42ae4f1f7d9b82f323256fec86d7aa8f8ac1
[ "MIT" ]
null
null
null
// // Created by Ferdinando Fioretto on 12/3/16. // #ifndef CPUBE_MULCONSTRAINT_H #define CPUBE_MULCONSTRAINT_H template<class T1, class T2> class MulConstraint<T1, T2> : public Constraint { public: typedef std::shared_ptr <MulConstraint> ptr; // I think they want a special mult constraint cTimesX() // ...
23.806452
101
0.649051
nandofioretto
574258fef1aa820127ac6b1332aba664d13a6abe
2,160
cpp
C++
Project/Dev_class11_handout/Motor2D/Move.cpp
Guille1406/Project-II
af954426efce06937671f02ac0a5840e5faefb0e
[ "Apache-2.0" ]
null
null
null
Project/Dev_class11_handout/Motor2D/Move.cpp
Guille1406/Project-II
af954426efce06937671f02ac0a5840e5faefb0e
[ "Apache-2.0" ]
null
null
null
Project/Dev_class11_handout/Motor2D/Move.cpp
Guille1406/Project-II
af954426efce06937671f02ac0a5840e5faefb0e
[ "Apache-2.0" ]
null
null
null
#include "j1Player.h" #include "j1App.h" #include "j1Window.h" #include "j1Render.h" #include "p2Log.h" #include "Character.h" void Character::Attack(float dt) { } void Character::Move(float dt) { uint x = 0, y = 0; App->win->GetWindowSize(x, y); // SHORT VARIABLES int pos_x = this->pos.x; int pos_y = this->po...
25.714286
132
0.701852
Guille1406
5743177efa2bb969debdfbc08b5991997cdb5139
5,900
cpp
C++
src/casinocoin/protocol/impl/STPerformanceReport.cpp
rrozek/casinocoind
8c95755b0a669fcd614b3fc9a39fe792b336db41
[ "BSL-1.0" ]
null
null
null
src/casinocoin/protocol/impl/STPerformanceReport.cpp
rrozek/casinocoind
8c95755b0a669fcd614b3fc9a39fe792b336db41
[ "BSL-1.0" ]
null
null
null
src/casinocoin/protocol/impl/STPerformanceReport.cpp
rrozek/casinocoind
8c95755b0a669fcd614b3fc9a39fe792b336db41
[ "BSL-1.0" ]
3
2018-07-12T11:34:45.000Z
2021-09-13T18:08:25.000Z
//------------------------------------------------------------------------------ /* This file is part of rippled: https://github.com/casinocoin/casinocoind Copyright (c) 2018 CasinoCoin Foundation Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is ...
31.72043
83
0.645593
rrozek
57453b009928209f0872850ca3b4b86edb06f669
112,541
cpp
C++
Source/AllProjects/LangUtils/CIDMacroEng/CIDMacroEng_Engine.cpp
MarkStega/CIDLib
82014e064eef51cad998bf2c694ed9c1c8cceac6
[ "MIT" ]
216
2019-03-09T06:41:28.000Z
2022-02-25T16:27:19.000Z
Source/AllProjects/LangUtils/CIDMacroEng/CIDMacroEng_Engine.cpp
MarkStega/CIDLib
82014e064eef51cad998bf2c694ed9c1c8cceac6
[ "MIT" ]
9
2020-09-27T08:00:52.000Z
2021-07-02T14:27:31.000Z
Source/AllProjects/LangUtils/CIDMacroEng/CIDMacroEng_Engine.cpp
MarkStega/CIDLib
82014e064eef51cad998bf2c694ed9c1c8cceac6
[ "MIT" ]
29
2019-03-09T10:12:24.000Z
2021-03-03T22:25:29.000Z
// // FILE NAME: CIDMacroEng_Engine.cpp // // AUTHOR: Dean Roddey // // CREATED: 01/14/2003 // // COPYRIGHT: Charmed Quark Systems, Ltd @ 2019 // // This software is copyrighted by 'Charmed Quark Systems, Ltd' and // the author (Dean Roddey.) It is licensed under the MIT Open Source // license: // // https://openso...
31.05436
101
0.603629
MarkStega
574955b06e4e1d932d6e28bca12734177b85537f
683
cpp
C++
Source/Math/CPUMatrixFloat.cpp
vschs007/CNTK
894d9e1a5d65d30cd33803c06a988844bb87fcb7
[ "RSA-MD" ]
5
2017-08-28T08:27:18.000Z
2021-04-20T21:12:52.000Z
Source/Math/CPUMatrixFloat.cpp
vschs007/CNTK
894d9e1a5d65d30cd33803c06a988844bb87fcb7
[ "RSA-MD" ]
null
null
null
Source/Math/CPUMatrixFloat.cpp
vschs007/CNTK
894d9e1a5d65d30cd33803c06a988844bb87fcb7
[ "RSA-MD" ]
3
2019-08-23T11:42:14.000Z
2022-01-06T08:41:32.000Z
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE.md file in the project root for full license information. // #include "stdafx.h" #include "CPUMatrixImpl.h" namespace Microsoft { namespace MSR { namespace CNTK { int MATH_API TracingGPUMemoryAllocator::m_traceLevel...
28.458333
104
0.717423
vschs007
574ace3982a2a69d82ff19cd4068ce02d68231fb
512
cpp
C++
src/GrayCode.cpp
yanzhe-chen/LeetCode
d82f0b9721ea613ab216c78e7286671d0e9e4187
[ "MIT" ]
43
2015-10-10T12:59:52.000Z
2018-07-11T18:07:00.000Z
src/GrayCode.cpp
yanzhe-chen/LeetCode
d82f0b9721ea613ab216c78e7286671d0e9e4187
[ "MIT" ]
null
null
null
src/GrayCode.cpp
yanzhe-chen/LeetCode
d82f0b9721ea613ab216c78e7286671d0e9e4187
[ "MIT" ]
11
2015-10-10T14:41:11.000Z
2018-07-28T06:03:16.000Z
#include "GrayCode.hpp" vector<int> GrayCode::grayCode(int n) { vector<int> ret; if (n > 0) helper(n, ret); else ret.push_back(0); return ret; } void GrayCode::helper(int n, vector<int> &res) { if (n == 1) { res.push_back(0); res.push_back(1); } else { ...
18.285714
48
0.451172
yanzhe-chen
574af7d5837e4d25c486b2c8d1fef7e1b6d89b7a
915
cpp
C++
2DGame/windowSystem.cpp
Cimera42/2DGame
9135e3dbed8a909357d57e227ecaba885982e8dc
[ "MIT" ]
3
2015-08-18T12:59:29.000Z
2015-12-15T08:11:10.000Z
2DGame/windowSystem.cpp
Cimera42/2DGame
9135e3dbed8a909357d57e227ecaba885982e8dc
[ "MIT" ]
null
null
null
2DGame/windowSystem.cpp
Cimera42/2DGame
9135e3dbed8a909357d57e227ecaba885982e8dc
[ "MIT" ]
null
null
null
#include "windowSystem.h" #include "globals.h" #include <iostream> #include "windowComponent.h" #include "openGLFunctions.h" #include "keyboardHandler.h" SystemID WindowSystem::ID; WindowSystem::WindowSystem() { std::vector<ComponentID> subList1; //Components needed to subscribe to system s...
26.911765
123
0.69071
Cimera42
574b1ba3a0dd29cfd3226492bd5db00581ad69ff
669
cpp
C++
WFC++/Tiled/InputData.cpp
heyx3/WFCpp
a158e1ce5f8fef9b9423711b1bd8ccfdf8c57946
[ "MIT", "Unlicense" ]
7
2019-08-17T15:15:56.000Z
2021-06-03T08:02:27.000Z
WFC++/Tiled/InputData.cpp
heyx3/WFCpp
a158e1ce5f8fef9b9423711b1bd8ccfdf8c57946
[ "MIT", "Unlicense" ]
1
2017-05-01T06:13:47.000Z
2017-05-04T04:07:54.000Z
WFC++/Tiled/InputData.cpp
heyx3/WFCpp
a158e1ce5f8fef9b9423711b1bd8ccfdf8c57946
[ "MIT", "Unlicense" ]
null
null
null
#include "InputData.h" #include <algorithm> using namespace WFC; using namespace WFC::Tiled; namespace { template<typename I> I getMax(I a, I b) { return (a > b) ? a : b; } } const TileIDSet InputData::EmptyTileSet; InputData::InputData(const List<Tile>& _tiles) : tiles(_tiles) { //Collect all t...
20.90625
72
0.606876
heyx3
574dbf0f217f71e385b7b409bfabb15cb06373be
1,207
cxx
C++
hackathon/PengXie/NeuronStructNavigator/cmake-3.6.2/Source/cmMakeDirectoryCommand.cxx
zzhmark/vaa3d_tools
3ca418add85a59ac7e805d55a600b78330d7e53d
[ "MIT" ]
1
2021-12-27T19:14:03.000Z
2021-12-27T19:14:03.000Z
hackathon/PengXie/NeuronStructNavigator/cmake-3.6.2/Source/cmMakeDirectoryCommand.cxx
zzhmark/vaa3d_tools
3ca418add85a59ac7e805d55a600b78330d7e53d
[ "MIT" ]
null
null
null
hackathon/PengXie/NeuronStructNavigator/cmake-3.6.2/Source/cmMakeDirectoryCommand.cxx
zzhmark/vaa3d_tools
3ca418add85a59ac7e805d55a600b78330d7e53d
[ "MIT" ]
null
null
null
/*============================================================================ CMake - Cross Platform Makefile Generator Copyright 2000-2009 Kitware, Inc., Insight Software Consortium Distributed under the OSI-approved BSD License (the "License"); see accompanying file Copyright.txt for details. This softwa...
37.71875
78
0.610605
zzhmark