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
88e72d883fb6ba17626f387351a4d25c8f7ab1ff
1,371
cpp
C++
doc/example3.cpp
Andrei-Masilevich/ThorsSerializer
4a532e818c797ae071d689017ec4e4ab4cc0c00c
[ "MIT" ]
null
null
null
doc/example3.cpp
Andrei-Masilevich/ThorsSerializer
4a532e818c797ae071d689017ec4e4ab4cc0c00c
[ "MIT" ]
null
null
null
doc/example3.cpp
Andrei-Masilevich/ThorsSerializer
4a532e818c797ae071d689017ec4e4ab4cc0c00c
[ "MIT" ]
null
null
null
#include "ThorSerialize/Serialize.h" #include "ThorSerialize/Serialize.tpp" #include "ThorSerialize/Traits.h" #include "ThorSerialize/JsonThor.h" #include <string> #include <sstream> #include <iostream> struct Vehicle { Vehicle(){} Vehicle(int speed) : speed(speed) {} virtual ~Vehicle() {} ...
22.85
69
0.649891
Andrei-Masilevich
88ee4346191001719eba32cd4b7e9707f64dea2f
508
hpp
C++
include/MemeGraphics/RenderWindow.hpp
Gurman8r/CppSandbox
a0f1cf0ade69ecaba4d167c0611a620914155e53
[ "MIT" ]
null
null
null
include/MemeGraphics/RenderWindow.hpp
Gurman8r/CppSandbox
a0f1cf0ade69ecaba4d167c0611a620914155e53
[ "MIT" ]
null
null
null
include/MemeGraphics/RenderWindow.hpp
Gurman8r/CppSandbox
a0f1cf0ade69ecaba4d167c0611a620914155e53
[ "MIT" ]
null
null
null
#ifndef _ML_RENDER_WINDOW_HPP_ #define _ML_RENDER_WINDOW_HPP_ #include <MemeWindow/Window.hpp> #include <MemeGraphics/RenderTarget.hpp> namespace ml { /* * * * * * * * * * * * * * * * * * * * */ class ML_GRAPHICS_API RenderWindow : public Window , public RenderTarget { public: RenderWindow(); virtual ~Re...
18.142857
51
0.620079
Gurman8r
88f4928a4ac75ccab2d923afb6f2fb94713fce4f
283
cpp
C++
Online-Judge-Solution/URI Solutions/1154(Ages).cpp
arifparvez14/Basic-and-competetive-programming
4cb9ee7fbed3c70307d0f63499fcede86ed3c732
[ "MIT" ]
null
null
null
Online-Judge-Solution/URI Solutions/1154(Ages).cpp
arifparvez14/Basic-and-competetive-programming
4cb9ee7fbed3c70307d0f63499fcede86ed3c732
[ "MIT" ]
null
null
null
Online-Judge-Solution/URI Solutions/1154(Ages).cpp
arifparvez14/Basic-and-competetive-programming
4cb9ee7fbed3c70307d0f63499fcede86ed3c732
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int main() { float a,sum,c; sum=c=0; while(1) { cin>>a; if(a<0) break; else { c++; sum=sum+a; } } printf("%.2f\n",sum/c); return 0; }
13.47619
27
0.374558
arifparvez14
88f582c4fd4e4842c60ee6e60c3be421fbde5a4d
7,462
cpp
C++
DEngine/Source/DECore/Math/simdmath.cpp
norrischiu/DEngine2
02766ecace1f8ec36afa299796448772690a3d0d
[ "MIT" ]
2
2020-03-02T06:15:14.000Z
2020-08-26T06:16:33.000Z
DEngine/Source/DECore/Math/simdmath.cpp
norrischiu/DEngine2
02766ecace1f8ec36afa299796448772690a3d0d
[ "MIT" ]
null
null
null
DEngine/Source/DECore/Math/simdmath.cpp
norrischiu/DEngine2
02766ecace1f8ec36afa299796448772690a3d0d
[ "MIT" ]
null
null
null
#include <DECore/DECore.h> #include "simdmath.h" namespace DE { // Matrix4 constant declaration float identityMatrix[4][4] = { {1.0f, 0.0f, 0.0f, 0.0f}, {0.0f, 1.0f, 0.0f, 0.0f}, {0.0f, 0.0f, 1.0f, 0.0f}, {0.0f, 0.0f, 0.0f, 1.0f} }; const SIMDMatrix4 SIMDMatrix4::Identity(identityMatrix); // Vector3 constant de...
35.364929
123
0.708523
norrischiu
88f59d8e42bb420317ac4ab797173196cb3fca75
330
cpp
C++
0011_N-ary Tree Preorder Traversal.cpp
1Arjit007/Programming-Skills-I
ab92d0d0f908d167c4542bb337cded11df530fec
[ "MIT" ]
null
null
null
0011_N-ary Tree Preorder Traversal.cpp
1Arjit007/Programming-Skills-I
ab92d0d0f908d167c4542bb337cded11df530fec
[ "MIT" ]
null
null
null
0011_N-ary Tree Preorder Traversal.cpp
1Arjit007/Programming-Skills-I
ab92d0d0f908d167c4542bb337cded11df530fec
[ "MIT" ]
null
null
null
void solve(Node* root,vector<int> &ans) { if(!root) return; ans.push_back(root->val); for(auto node : root->children) { solve(node,ans); } } vector<int> preorder(Node* root) { vector<int> ans; solve(root,ans); return a...
19.411765
43
0.463636
1Arjit007
88fd052d397cfe9a1dc8376970758c16fb1865de
672
cpp
C++
graph-source-code/417-C/6388136.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/417-C/6388136.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/417-C/6388136.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
//Language: GNU C++ #include<iostream> #include<stdio.h> #include<vector> using namespace std; vector < pair<int,int> > an; int n,k,i,j; bool mark[1002][1002]; bool z; int main() { cin>>n>>k; z=true; for(i=1;i<=n;i++) { int q = 0; for(j=1;j<=n;j++) { if(i==j) continue; if(q==k) ...
13.714286
48
0.470238
AmrARaouf
000262fcc17f056bc82d16807d9bcbd73171a342
5,632
hpp
C++
include/nil/crypto3/hash/detail/tiger/tiger_policy.hpp
JasonCoombs/crypto3-hash
a4f330d14029b0b0330a5697ef24e825137ffded
[ "MIT" ]
1
2021-09-14T18:09:38.000Z
2021-09-14T18:09:38.000Z
include/nil/crypto3/hash/detail/tiger/tiger_policy.hpp
JasonCoombs/crypto3-hash
a4f330d14029b0b0330a5697ef24e825137ffded
[ "MIT" ]
46
2019-06-07T23:11:49.000Z
2020-08-12T00:09:30.000Z
include/nil/crypto3/hash/detail/tiger/tiger_policy.hpp
JasonCoombs/crypto3-hash
a4f330d14029b0b0330a5697ef24e825137ffded
[ "MIT" ]
4
2021-06-04T07:42:50.000Z
2022-02-18T21:05:07.000Z
//---------------------------------------------------------------------------// // Copyright (c) 2018-2020 Mikhail Komarov <nemo@nil.foundation> // // MIT License // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), t...
50.738739
111
0.59304
JasonCoombs
00036445bb791cc9d3310bedc0e67c43e008345e
7,238
cpp
C++
TextRenderer.cpp
matthias-christen/CdCoverCreator
edb223c2cf33ab3fb72d84ce2a9bce8500408c2a
[ "MIT" ]
null
null
null
TextRenderer.cpp
matthias-christen/CdCoverCreator
edb223c2cf33ab3fb72d84ce2a9bce8500408c2a
[ "MIT" ]
null
null
null
TextRenderer.cpp
matthias-christen/CdCoverCreator
edb223c2cf33ab3fb72d84ce2a9bce8500408c2a
[ "MIT" ]
null
null
null
// TextRenderer.cpp: implementation of the CTextRenderer class. // ////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "CdCoverCreator2.h" #include "TextRenderer.h" #include <math.h> #include <Gdiplus.h> #ifdef _DEBUG #undef THIS_FILE static char THIS_FILE...
26.708487
127
0.602791
matthias-christen
322d8deaf4a6d27be5d4122b37cf20255d8c90e7
5,742
hpp
C++
hittables/include/sphere.hpp
PenguinLemma/descartes
eb3257f38adf63a479ec144d9b0a236ed55a09ac
[ "MIT" ]
null
null
null
hittables/include/sphere.hpp
PenguinLemma/descartes
eb3257f38adf63a479ec144d9b0a236ed55a09ac
[ "MIT" ]
2
2019-03-29T10:26:32.000Z
2019-05-06T16:58:53.000Z
hittables/include/sphere.hpp
PenguinLemma/glancy
eb3257f38adf63a479ec144d9b0a236ed55a09ac
[ "MIT" ]
null
null
null
#pragma once #include <cmath> #include <memory> #include <numeric> #include <vector> #include "axes_aligned_bounding_box.hpp" #include "constants.hpp" #include "hittable.hpp" #include "material.hpp" #include "ray.hpp" #include "vec3.hpp" namespace plemma::glancy { template <typename Center, typename Radius> class Sp...
36.341772
98
0.604493
PenguinLemma
32340e82326343707ba9ad65570ebb36073bbebe
17,326
cc
C++
src/parser.cc
zacklukem/llang
8538bd0deaabfca40787c709cd5dd32dd62c0c8a
[ "MIT" ]
1
2021-11-15T22:01:08.000Z
2021-11-15T22:01:08.000Z
src/parser.cc
zacklukem/llang
8538bd0deaabfca40787c709cd5dd32dd62c0c8a
[ "MIT" ]
null
null
null
src/parser.cc
zacklukem/llang
8538bd0deaabfca40787c709cd5dd32dd62c0c8a
[ "MIT" ]
null
null
null
#include "parser.hh" #include <fstream> #include <iostream> using namespace llang; static std::string get_file_contents(const char* filename) { std::ifstream in(filename, std::ios::in | std::ios::binary); if (in) { std::ostringstream contents; contents << in.rdbuf(); in.close(); return contents.s...
32.264432
100
0.654565
zacklukem
32348074f9c81662e604ff4ee9e140904833bbbb
704
hpp
C++
app/vm4_viewer/frame.hpp
cpplibv/libv
293e382f459f0acbc540de8ef6283782b38d2e63
[ "Zlib" ]
2
2018-04-11T03:07:03.000Z
2019-03-29T15:24:12.000Z
app/vm4_viewer/frame.hpp
cpplibv/libv
293e382f459f0acbc540de8ef6283782b38d2e63
[ "Zlib" ]
null
null
null
app/vm4_viewer/frame.hpp
cpplibv/libv
293e382f459f0acbc540de8ef6283782b38d2e63
[ "Zlib" ]
1
2021-06-13T06:39:06.000Z
2021-06-13T06:39:06.000Z
// Project: libv, File: app/vm4_viewer/frame.hpp, Author: Császár Mátyás [Vader] #pragma once // libv #include <libv/frame/frame.hpp> #include <libv/glr/remote.hpp> #include <libv/ui/ui.hpp> // std #include <memory> // pro #include <vm4_viewer/config.hpp> namespace app { // ----------------------------------------...
20.705882
100
0.505682
cpplibv
3239518365c110b037bafa4fabc06c8ac161d591
6,246
cc
C++
repobuild/nodes/gen_sh.cc
chrisvana/repobuild
5fb7ee8901eef5bc243abb64898f841d85bd699f
[ "BSD-3-Clause" ]
73
2015-01-17T02:06:49.000Z
2021-10-13T07:38:24.000Z
repobuild/nodes/gen_sh.cc
chrisvana/repobuild
5fb7ee8901eef5bc243abb64898f841d85bd699f
[ "BSD-3-Clause" ]
2
2015-01-31T14:25:58.000Z
2015-05-07T15:04:24.000Z
repobuild/nodes/gen_sh.cc
chrisvana/repobuild
5fb7ee8901eef5bc243abb64898f841d85bd699f
[ "BSD-3-Clause" ]
8
2015-02-02T06:30:37.000Z
2021-03-02T14:15:14.000Z
// Copyright 2013 // Author: Christopher Van Arsdale #include <map> #include <set> #include <string> #include <vector> #include "common/base/flags.h" #include "common/log/log.h" #include "common/strings/path.h" #include "common/strings/strutil.h" #include "repobuild/env/input.h" #include "repobuild/nodes/gen_sh.h" #in...
28.78341
79
0.62568
chrisvana
32396313ad7f71b2fe12e1676918bd9e0cf0c4be
2,227
cpp
C++
gurps_track/src/ui/character/skill_list.cpp
mflagel/asdf_multiplat
9ef5a87b9ea9e38a7c6d409a60a1b8c5dce4b015
[ "MIT" ]
null
null
null
gurps_track/src/ui/character/skill_list.cpp
mflagel/asdf_multiplat
9ef5a87b9ea9e38a7c6d409a60a1b8c5dce4b015
[ "MIT" ]
null
null
null
gurps_track/src/ui/character/skill_list.cpp
mflagel/asdf_multiplat
9ef5a87b9ea9e38a7c6d409a60a1b8c5dce4b015
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "skill_list.h" #include "data/character.h" using namespace std; using namespace mk; namespace gurps_track { using namespace data; namespace ui { namespace character { skill_list_entry_t::skill_list_entry_t(skill_list_t& _parent, size_t _index) : Expandbox(" ", true) , description(e...
25.306818
94
0.686574
mflagel
32454e9e95005b6229f56992cb591c13914bc3c1
956
cpp
C++
src/services/pcn-dynmon/src/models/Metric.cpp
stefalbi/polycube
f7b65ece48505458796cb4969d41677e991fbdc8
[ "ECL-2.0", "Apache-2.0" ]
337
2018-12-12T11:50:15.000Z
2022-03-15T00:24:35.000Z
src/services/pcn-dynmon/src/models/Metric.cpp
l1b0k/polycube
7af919245c131fa9fe24c5d39d10039cbb81e825
[ "ECL-2.0", "Apache-2.0" ]
253
2018-12-17T21:36:15.000Z
2022-01-17T09:30:42.000Z
src/services/pcn-dynmon/src/models/Metric.cpp
l1b0k/polycube
7af919245c131fa9fe24c5d39d10039cbb81e825
[ "ECL-2.0", "Apache-2.0" ]
90
2018-12-19T15:49:38.000Z
2022-03-27T03:56:07.000Z
#include "Metric.h" #include "../Dynmon.h" Metric::Metric(Dynmon &parent) : MetricBase(parent) {} Metric::Metric(Dynmon &parent, const MetricJsonObject &conf) : MetricBase(parent) { if (conf.nameIsSet()) m_name = conf.getName(); if (conf.valueIsSet()) m_value = conf.getValue(); if (conf.timestampIsSet()...
22.232558
133
0.695607
stefalbi
324614568e3d2eaccf83af57473749b13a685e23
831
cpp
C++
45.cpp
machinecc/leetcode
32bbf6c1f9124049c046a235c85b14ca9168daa8
[ "MIT" ]
null
null
null
45.cpp
machinecc/leetcode
32bbf6c1f9124049c046a235c85b14ca9168daa8
[ "MIT" ]
null
null
null
45.cpp
machinecc/leetcode
32bbf6c1f9124049c046a235c85b14ca9168daa8
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdlib> #include <string> #include <unordered_set> #include <vector> #include <algorithm> #include <climits> #include <stack> #include <sstream> #include <numeric> #include <unordered_map> #include <array> #include <cmath> #include <queue> #include "common.h" using namespace std; clas...
14.839286
40
0.512635
machinecc
32490fcabed88ca9b13ecf84a6a8a144e4d0b704
30,889
cpp
C++
adapters-stk/example/MixedPoissonExample/main.cpp
hillyuan/Panzer
13ece3ea4c145c4d7b6339e3ad6332a501932ea8
[ "BSD-3-Clause" ]
null
null
null
adapters-stk/example/MixedPoissonExample/main.cpp
hillyuan/Panzer
13ece3ea4c145c4d7b6339e3ad6332a501932ea8
[ "BSD-3-Clause" ]
null
null
null
adapters-stk/example/MixedPoissonExample/main.cpp
hillyuan/Panzer
13ece3ea4c145c4d7b6339e3ad6332a501932ea8
[ "BSD-3-Clause" ]
null
null
null
// @HEADER // *********************************************************************** // // Panzer: A partial differential equation assembly // engine for strongly coupled complex multiphysics systems // Copyright (2011) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85...
42.371742
143
0.645861
hillyuan
324c1e7b7004ecb11ed6361c5c7991e1b3980e53
8,062
hxx
C++
src/gautier_visual_model.hxx
michaelgautier/RSS-Reader
5b6fc150b35a3a74ef42f1ef75d2a61b11869d2c
[ "Apache-2.0" ]
null
null
null
src/gautier_visual_model.hxx
michaelgautier/RSS-Reader
5b6fc150b35a3a74ef42f1ef75d2a61b11869d2c
[ "Apache-2.0" ]
null
null
null
src/gautier_visual_model.hxx
michaelgautier/RSS-Reader
5b6fc150b35a3a74ef42f1ef75d2a61b11869d2c
[ "Apache-2.0" ]
null
null
null
#ifndef __gautier_visual_application_visual_model__ #define __gautier_visual_application_visual_model__ #include <functional> #include <memory> #include <tuple> #include <vector> #include <iostream> #include <initializer_list> namespace gautier { namespace visual_application { namespace visual_model { using ...
26.175325
413
0.701687
michaelgautier
324e0ed7fcf950184835f3eb0d87a76989ef4314
4,424
cpp
C++
src/search_tree.cpp
j9263178/Cytnx
cf7fb1cff75c1cea14fbbc370fd8e4d86d0ddc8b
[ "Apache-2.0" ]
11
2020-04-14T15:45:42.000Z
2022-03-31T14:37:03.000Z
src/search_tree.cpp
j9263178/Cytnx
cf7fb1cff75c1cea14fbbc370fd8e4d86d0ddc8b
[ "Apache-2.0" ]
38
2019-08-02T15:15:51.000Z
2022-03-04T19:07:02.000Z
src/search_tree.cpp
j9263178/Cytnx
cf7fb1cff75c1cea14fbbc370fd8e4d86d0ddc8b
[ "Apache-2.0" ]
7
2019-07-17T07:50:55.000Z
2021-07-03T06:44:52.000Z
#include "search_tree.hpp" #include <stack> using namespace std; namespace cytnx{ cytnx_float get_cost(const PsudoUniTensor &t1, const PsudoUniTensor &t2){ cytnx_float cost = 1; vector<cytnx_uint64> shape1 = t1.shape; vector<cytnx_uint64> shape2 = t2.shape; for(cytnx_uin...
38.137931
89
0.453888
j9263178
32596bf9e39c3334cb260be9dde4d67080fd62b7
15,764
cpp
C++
src/TinySocket/LinkBase.cpp
baisai/LightInkLLM
7f984bf5f3afa3ccfc2c04e8d41948cf3a9bb4b2
[ "MIT" ]
1
2017-11-16T16:29:01.000Z
2017-11-16T16:29:01.000Z
src/TinySocket/LinkBase.cpp
baisai/LightInkLLM
7f984bf5f3afa3ccfc2c04e8d41948cf3a9bb4b2
[ "MIT" ]
null
null
null
src/TinySocket/LinkBase.cpp
baisai/LightInkLLM
7f984bf5f3afa3ccfc2c04e8d41948cf3a9bb4b2
[ "MIT" ]
1
2018-12-29T06:51:42.000Z
2018-12-29T06:51:42.000Z
/* Copyright ChenDong(Wilbur), email <baisaichen@live.com>. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to * deal in the Software without restriction, including without limitation the ...
26.718644
139
0.693098
baisai
325d904e7ce70d4eaf74ebf9edefcd99d46148ee
2,339
cpp
C++
reconfros_software/src/navigation.cpp
uos/ReconfROS
e09f24e2e3d348fd31270bdd4892ab06ad425886
[ "BSD-3-Clause" ]
2
2021-02-03T00:54:44.000Z
2021-06-29T06:29:49.000Z
reconfros_software/src/navigation.cpp
uos/ReconfROS
e09f24e2e3d348fd31270bdd4892ab06ad425886
[ "BSD-3-Clause" ]
null
null
null
reconfros_software/src/navigation.cpp
uos/ReconfROS
e09f24e2e3d348fd31270bdd4892ab06ad425886
[ "BSD-3-Clause" ]
null
null
null
#include <ros/ros.h> #include <std_msgs/Float32.h> #include <geometry_msgs/Twist.h> #include <geometry_msgs/Vector3.h> #include <dynamic_reconfigure/server.h> #include <reconfros_software/NAVConfig.h> #include <mutex> bool mode_reorientate = false; reconfros_software::NAVConfig config_; ros::Publisher pub; geometr...
27.197674
95
0.724241
uos
325ea912d76eaeb147931d72840a517fbca8961a
3,045
cpp
C++
ResourcesMgr.cpp
rherardi/pst2mbox
a6fb4dfaf0246ca7086740e7c97c0f198372851b
[ "Apache-2.0" ]
1
2018-03-08T23:26:23.000Z
2018-03-08T23:26:23.000Z
ResourcesMgr.cpp
rherardi/pst2ldif
d7bcff4e8ce497c0d16a00113f4bc8a36ce84363
[ "Apache-2.0" ]
null
null
null
ResourcesMgr.cpp
rherardi/pst2ldif
d7bcff4e8ce497c0d16a00113f4bc8a36ce84363
[ "Apache-2.0" ]
null
null
null
// ResourcesMgr.cpp: implementation of the CResourcesMgr class. // ////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include <stdio.h> #include "ResourcesMgr.h" ////////////////////////////////////////////////////////////////////// // Construction/Destruction ////////////////...
24.36
127
0.62069
rherardi
325f12bf82f6c4e75bcb57b3570f8e4fc06915ff
847
cpp
C++
math/ray3_test.cpp
masrtis/eyebeam
a9ea111c7958838c19c0b26ea1961f119b4f91f1
[ "MIT" ]
null
null
null
math/ray3_test.cpp
masrtis/eyebeam
a9ea111c7958838c19c0b26ea1961f119b4f91f1
[ "MIT" ]
4
2020-12-13T14:55:24.000Z
2021-03-10T01:47:36.000Z
math/ray3_test.cpp
masrtis/eyebeam
a9ea111c7958838c19c0b26ea1961f119b4f91f1
[ "MIT" ]
null
null
null
#include "ray3.h" #include <gtest/gtest.h> namespace eyebeam { namespace { // NOLINTNEXTLINE TEST(Ray3Tests, evaluateReturnsOriginAtTEqualsZero) { // GIVEN: constexpr Point3 origin(2.5F, 1.25F, -0.333F); constexpr Vector3 direction(1.0F, 1.0F, 1.0F); const Ray3 ray(origin, direction); // WHEN: ...
18.822222
79
0.680047
masrtis
3268bf924483fa64b51c99e15a7677ec55bd5b79
7,386
cpp
C++
app/src/main/cpp/sys/Texture.cpp
raseene/KaesuGaesuA
66975685ce9f47bc5aa272576d1052cbd608db8d
[ "MIT" ]
null
null
null
app/src/main/cpp/sys/Texture.cpp
raseene/KaesuGaesuA
66975685ce9f47bc5aa272576d1052cbd608db8d
[ "MIT" ]
null
null
null
app/src/main/cpp/sys/Texture.cpp
raseene/KaesuGaesuA
66975685ce9f47bc5aa272576d1052cbd608db8d
[ "MIT" ]
null
null
null
/*************************** テクスチャ ***************************/ #include "Texture.h" #include "Renderer.h" #include "Scene.h" #include <libpng/jni/png.h> namespace sys { /***************************************** 作成 引数 data = テクスチャデータ *****************************************/ void ...
20.516667
103
0.565529
raseene
326f688116105d60a97f7bf6a8c2fcfbe1702ed3
1,227
hpp
C++
include/sys/JsonPrinter.hpp
bander9289/StratifyAPI
9b45091aa71a4e5718047438ea4044c1fdc814a3
[ "MIT" ]
2
2016-05-21T03:09:19.000Z
2016-08-27T03:40:51.000Z
include/sys/JsonPrinter.hpp
bander9289/StratifyAPI
9b45091aa71a4e5718047438ea4044c1fdc814a3
[ "MIT" ]
75
2017-10-08T22:21:19.000Z
2020-03-30T21:13:20.000Z
include/sys/JsonPrinter.hpp
StratifyLabs/StratifyLib
975a5c25a84296fd0dec64fe4dc579cf7027abe6
[ "MIT" ]
5
2018-03-27T16:44:09.000Z
2020-07-08T16:45:55.000Z
/*! \file */ // Copyright 2011-2020 Tyler Gilbert and Stratify Labs, Inc; see LICENSE.md for rights. #ifndef SAPI_SYS_JSONPRINTER_HPP #define SAPI_SYS_JSONPRINTER_HPP #include "Printer.hpp" namespace sys { class JsonPrinter : public Printer { public: JsonPrinter(); private: enum container_type { container...
21.155172
102
0.746536
bander9289
326fc407d42d55811f20301b09e2f8c28b2af06f
1,810
cpp
C++
src/tests/src/test_logconsole.cpp
RavenX8/osirosenew
b4ef1aade379e0eb4753b24c30ec43faca77aa37
[ "Apache-2.0" ]
49
2017-02-07T15:10:04.000Z
2021-11-12T06:00:30.000Z
src/tests/src/test_logconsole.cpp
RavenX8/osirosenew
b4ef1aade379e0eb4753b24c30ec43faca77aa37
[ "Apache-2.0" ]
104
2016-10-31T01:42:59.000Z
2021-08-28T13:29:09.000Z
src/tests/src/test_logconsole.cpp
RavenX8/osirosenew
b4ef1aade379e0eb4753b24c30ec43faca77aa37
[ "Apache-2.0" ]
36
2016-11-01T11:25:34.000Z
2022-03-09T22:38:51.000Z
#include "gtest/gtest.h" // TEST(TestConsoleLogging, TestIncprintf) { // g_Log.incprintf(CL_RESET CL_BLUE "I" CL_MAGENTA "t " CL_WHITE "W" CL_GRAY // "o" CL_RED "r" CL_GREEN "k" CL_YELLOW // "s" CL_CYAN "!\n" CL_RESET); // } // // TEST(TestConsol...
41.136364
78
0.522652
RavenX8
3271b2206432b5b039c0913602e2f2b195b4ba45
584
cpp
C++
22_lab/tests/test.cpp
TimmiJK/2021-spring-polytech-cpp
1e957a2619e5c61f1dc1b7941ffae5d70b86870c
[ "MIT" ]
6
2021-02-08T15:26:20.000Z
2021-03-22T10:19:07.000Z
22_lab/tests/test.cpp
TimmiJK/2021-spring-polytech-cpp
1e957a2619e5c61f1dc1b7941ffae5d70b86870c
[ "MIT" ]
11
2021-02-09T06:41:50.000Z
2021-04-18T08:36:32.000Z
22_lab/tests/test.cpp
TimmiJK/2021-spring-polytech-cpp
1e957a2619e5c61f1dc1b7941ffae5d70b86870c
[ "MIT" ]
48
2021-02-03T18:28:55.000Z
2021-05-24T18:54:14.000Z
#include "functions.h" #include "gtest/gtest.h" TEST(testSearchArray, Single) { int array[] = {0}; int size = 1; EXPECT_EQ(searchArray(array, size, 0), 0); EXPECT_EQ(searchArray(array, size, 1), -1); } TEST(testSearchArray, allValue) { int array[] = {-632, 0, 132, 3, 4242, -5, 0, 43, 256, 256, 3, ...
30.736842
69
0.625
TimmiJK
3271e7772d99f6d7ab943fee602a40484dcd8d7f
395
cpp
C++
XelaShaders/XelaDefinitions.cpp
XelaSpirit/Xela-Shaders
32bd798c62444f994fefacd5ddc6ef49bc3177e0
[ "MIT" ]
null
null
null
XelaShaders/XelaDefinitions.cpp
XelaSpirit/Xela-Shaders
32bd798c62444f994fefacd5ddc6ef49bc3177e0
[ "MIT" ]
null
null
null
XelaShaders/XelaDefinitions.cpp
XelaSpirit/Xela-Shaders
32bd798c62444f994fefacd5ddc6ef49bc3177e0
[ "MIT" ]
null
null
null
#include "XelaDefinitions.h" const char* xelaVertexShaderBarebones = "#version 330 core\n" "layout(location = 0) in vec3 aPos;\n" "\n" "void main() {\n" " gl_Position = vec4(aPos.x, aPos.y, aPos.z, 1.0);\n" "};\n"; const char* xelaFragmentShaderBarebones = "#version 330 core\n" "out vec4 FragColor;\n" "\n"...
24.6875
54
0.625316
XelaSpirit
32790f8539b1305c9fc3e3b7267be95747624956
39,889
cpp
C++
tests/unit_test_utils.cpp
sslavian812/random_forest_run
a533f2b8fa3d81fbf358cd211317a61af9651de8
[ "BSD-3-Clause" ]
null
null
null
tests/unit_test_utils.cpp
sslavian812/random_forest_run
a533f2b8fa3d81fbf358cd211317a61af9651de8
[ "BSD-3-Clause" ]
9
2021-02-12T22:47:27.000Z
2021-12-19T23:33:47.000Z
tests/unit_test_utils.cpp
franchuterivera/test_bots
7d682f96fa9d29c3c625201aac2ea0dfee8467a5
[ "BSD-3-Clause" ]
null
null
null
#include <cmath> #include <boost/test/unit_test.hpp> #include "rfr/util.hpp" BOOST_AUTO_TEST_CASE(merge_feature_vectors_test){ double v1[4] = {1,2,3,nan("")}; double v2[4] = {nan(""), nan(""), 4, 5}; double v3[4] = {nan(""), nan(""), nan(""), nan("")}; rfr::util::merge_two_vectors(v1,v2,v3,4); BOOST_REQUIRE...
108.394022
4,935
0.575171
sslavian812
327938d81b3fc1c6eade7d27859ab0fd37fa855f
1,885
cpp
C++
ASGE2 Game/Source/SpriteComponent.cpp
MattFiler/TextAdventure
f9f62fd772700b0507e692c305331860ecfea015
[ "MIT" ]
null
null
null
ASGE2 Game/Source/SpriteComponent.cpp
MattFiler/TextAdventure
f9f62fd772700b0507e692c305331860ecfea015
[ "MIT" ]
null
null
null
ASGE2 Game/Source/SpriteComponent.cpp
MattFiler/TextAdventure
f9f62fd772700b0507e692c305331860ecfea015
[ "MIT" ]
null
null
null
#include <Engine\Renderer.h> #include "SpriteComponent.h" SpriteComponent::~SpriteComponent() { freeSprite(); } /* Load sprite to the component */ bool SpriteComponent::loadSprite( ASGE::Renderer* renderer, const std::string& texture_file_name) { freeSprite(); sprite = renderer->createRawSprite(); if (sprite->lo...
18.300971
74
0.697613
MattFiler
32798db8a1a45400a878b97e349d6a375063e8bc
1,292
cpp
C++
UnrealScenarioTest 4.16/Source/UnrealScenarioUI/Private/ViewportUiDisplayComponent.cpp
gpvigano/UnrealScenarioTest
d1c6fc129cad0406e703548dcfd1dd739957f0bd
[ "MIT" ]
1
2021-12-21T17:28:26.000Z
2021-12-21T17:28:26.000Z
UnrealScenarioTest 4.16/Source/UnrealScenarioUI/Private/ViewportUiDisplayComponent.cpp
gpvigano/UnrealScenarioTest
d1c6fc129cad0406e703548dcfd1dd739957f0bd
[ "MIT" ]
null
null
null
UnrealScenarioTest 4.16/Source/UnrealScenarioUI/Private/ViewportUiDisplayComponent.cpp
gpvigano/UnrealScenarioTest
d1c6fc129cad0406e703548dcfd1dd739957f0bd
[ "MIT" ]
null
null
null
// UnrealScenarioTest - (c)2021 Giovanni Paolo Vigano' (CNR-STIIMA) #include "ViewportUiDisplayComponent.h" // Sets default values for this component's properties UViewportUiDisplayComponent::UViewportUiDisplayComponent() { // Set this component to be initialized when the game starts, and to be ticked every frame. ...
23.071429
132
0.753096
gpvigano
327dcb6a6212ca57fa42083fc1e5cbb9dadc85dc
6,294
cpp
C++
code/LienceValidator/src/LienceValidator.cpp
refluxwhw/AuthorizedTool
7262f8e0bc207c817d853779ab7ee58156ad9180
[ "MIT" ]
null
null
null
code/LienceValidator/src/LienceValidator.cpp
refluxwhw/AuthorizedTool
7262f8e0bc207c817d853779ab7ee58156ad9180
[ "MIT" ]
2
2018-11-19T09:15:39.000Z
2018-11-19T09:19:14.000Z
code/LienceValidator/src/LienceValidator.cpp
refluxwhw/AuthorizedTool
7262f8e0bc207c817d853779ab7ee58156ad9180
[ "MIT" ]
1
2019-02-26T09:24:38.000Z
2019-02-26T09:24:38.000Z
#include "LienceValidator.h" #include <string.h> #include "common.h" #include "EncryptKit.h" #include "UtilMachine.h" static std::vector<std::string> splitString(const std::string& str, char spliter) { std::vector<std::string> rv; size_t off = 0; while (off < str.size()) { size_t pos =...
26.116183
88
0.513823
refluxwhw
3282ea7f51a351afc809d1b9eb0cb731f1ceca9d
2,986
cpp
C++
Example/Visualization/CheckBox/main.cpp
X1aoyueyue/KVS
ad47d62bef4fdd9ddd3412a26ee6557b63f0543b
[ "BSD-3-Clause" ]
42
2015-07-24T23:05:07.000Z
2022-03-16T01:31:04.000Z
Example/Visualization/CheckBox/main.cpp
X1aoyueyue/KVS
ad47d62bef4fdd9ddd3412a26ee6557b63f0543b
[ "BSD-3-Clause" ]
4
2015-03-17T05:42:49.000Z
2020-08-09T15:21:45.000Z
Example/Visualization/CheckBox/main.cpp
X1aoyueyue/KVS
ad47d62bef4fdd9ddd3412a26ee6557b63f0543b
[ "BSD-3-Clause" ]
29
2015-01-03T05:56:32.000Z
2021-10-05T15:28:33.000Z
/*****************************************************************************/ /** * @file main.cpp * @brief Example program for kvs::CheckBox class. * @author Naohisa Sakamoto */ /*****************************************************************************/ #include <kvs/Application> #include <kvs/Screen> ...
28.990291
79
0.488614
X1aoyueyue
3286b1117bd43f32ed7e3de7647a4d76c43f71bc
8,258
hpp
C++
components/python_sandbox/detail/jupyter/pykernel.hpp
maslenitsa93/RocketJoe
8733965d4959bb67a5c2986442e0c0296b586791
[ "BSD-3-Clause" ]
null
null
null
components/python_sandbox/detail/jupyter/pykernel.hpp
maslenitsa93/RocketJoe
8733965d4959bb67a5c2986442e0c0296b586791
[ "BSD-3-Clause" ]
null
null
null
components/python_sandbox/detail/jupyter/pykernel.hpp
maslenitsa93/RocketJoe
8733965d4959bb67a5c2986442e0c0296b586791
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include <functional> #include <memory> #include <unordered_set> #include <boost/optional/optional.hpp> #include <boost/smart_ptr/intrusive_ref_counter.hpp> #include <boost/smart_ptr/intrusive_ptr.hpp> #include <boost/uuid/uuid.hpp> #include <nlohmann/json.hpp> #include <zmq.hpp> #include <pybind11/py...
36.539823
98
0.571809
maslenitsa93
3287c8076048589176fab2b3c97c0000f1081c5c
4,828
hpp
C++
src/polynomials/include/polynomials.hpp
dkavolis/polynomials
10abe0ca8bdd3ae7dafc1ecd04142b42e3213af0
[ "MIT" ]
null
null
null
src/polynomials/include/polynomials.hpp
dkavolis/polynomials
10abe0ca8bdd3ae7dafc1ecd04142b42e3213af0
[ "MIT" ]
null
null
null
src/polynomials/include/polynomials.hpp
dkavolis/polynomials
10abe0ca8bdd3ae7dafc1ecd04142b42e3213af0
[ "MIT" ]
null
null
null
/** * Copyright (c) 2022 <Daumantas Kavolis> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge...
51.361702
95
0.566901
dkavolis
328ab4dd5f8748f3b407fdb9fe33856f38b8e138
371
cpp
C++
feature_tests/commands/penalty/unreachable/test.cpp
TomWeaver18/dexter
d89b66ca6a0d1ba29a4c32f152773a34ce2881e8
[ "MIT" ]
null
null
null
feature_tests/commands/penalty/unreachable/test.cpp
TomWeaver18/dexter
d89b66ca6a0d1ba29a4c32f152773a34ce2881e8
[ "MIT" ]
null
null
null
feature_tests/commands/penalty/unreachable/test.cpp
TomWeaver18/dexter
d89b66ca6a0d1ba29a4c32f152773a34ce2881e8
[ "MIT" ]
null
null
null
// Purpose: // Check that \DexUnreachable correctly applies a penalty if the command // line is stepped on. // // REQUIRES: linux, clang, lldb // // RUN: not dexter.py test --fail-lt 1.0 -w \ // RUN: --builder clang --debugger lldb --cflags "-O0 -g" -- %S \ // RUN: | FileCheck %s // CHECK: unreachable...
21.823529
77
0.603774
TomWeaver18
328c443b24f15fe815972481ec231cc37284e25c
1,753
cpp
C++
sources/utils.cpp
IonkinaM/laba4
6e838c765596e447130f29b552c66cf651e451d6
[ "MIT" ]
null
null
null
sources/utils.cpp
IonkinaM/laba4
6e838c765596e447130f29b552c66cf651e451d6
[ "MIT" ]
null
null
null
sources/utils.cpp
IonkinaM/laba4
6e838c765596e447130f29b552c66cf651e451d6
[ "MIT" ]
null
null
null
// Copyright 2021 wm8 #include <iostream> #include <map> #include <utils.hpp> #include <sstream> #include "boost/regex.hpp" using boost::regex; using std::stringstream; using std::cout; std::vector<string> split(string& s, char separator) { std::vector<string> seglist; string segment; stringstream ss(s); whil...
26.164179
76
0.604107
IonkinaM
3293f26b0be75c33d4c7d7053376c55cd43106b5
539
cpp
C++
Saturn/Engine/core/VertexBuffer.cpp
Insomniac-Coder/Saturn-Working-Demo
7c07691d2e7d92ebd131f27bd273916ce375728d
[ "Apache-2.0" ]
null
null
null
Saturn/Engine/core/VertexBuffer.cpp
Insomniac-Coder/Saturn-Working-Demo
7c07691d2e7d92ebd131f27bd273916ce375728d
[ "Apache-2.0" ]
null
null
null
Saturn/Engine/core/VertexBuffer.cpp
Insomniac-Coder/Saturn-Working-Demo
7c07691d2e7d92ebd131f27bd273916ce375728d
[ "Apache-2.0" ]
null
null
null
#include "VertexBuffer.h" #include "Log/Log.h" VertexBuffer::VertexBuffer(std::vector<Saturn::Vertex> data) { glGenBuffers(1, &vertexBufferId); Bind(); glBufferData(GL_ARRAY_BUFFER, sizeof(Saturn::Vertex) * data.size(), &data[0], GL_STATIC_DRAW); //LOG_INFO(std::to_string(sizeof(Saturn::Vertex) * data.size())); } ...
21.56
95
0.736549
Insomniac-Coder
329781e30269f4d0ad5b43bb0630b48ef8bd98bc
892
cpp
C++
tests/utils/upper_bound_test.cpp
xyuan/EKAT
388fc1e37139e28074ca0d90bc3d09b3d3a12c13
[ "BSL-1.0" ]
5
2020-09-16T09:00:13.000Z
2022-02-12T10:16:04.000Z
tests/utils/upper_bound_test.cpp
xyuan/EKAT
388fc1e37139e28074ca0d90bc3d09b3d3a12c13
[ "BSL-1.0" ]
202
2020-08-07T16:53:37.000Z
2022-03-30T23:32:56.000Z
tests/utils/upper_bound_test.cpp
xyuan/EKAT
388fc1e37139e28074ca0d90bc3d09b3d3a12c13
[ "BSL-1.0" ]
4
2021-06-02T06:32:16.000Z
2022-03-30T20:32:41.000Z
#include <catch2/catch.hpp> #include "ekat/util/ekat_upper_bound.hpp" #include <random> #include <vector> #include <algorithm> namespace { TEST_CASE("upper_bound", "soak") { std::default_random_engine generator; std::uniform_int_distribution<int> size_dist(100,1000); std::uniform_real_distribution<double> val...
27.875
82
0.654709
xyuan
32a55bbd1a128a6e9652c848b019ccae663fc46f
1,857
hpp
C++
test/app/MyApiTestClient.hpp
bamkrs/oatpp-authorization-example
53665611c91ab45e23e1348e78ccc2d74dcf36b3
[ "Apache-2.0" ]
2
2021-07-24T10:18:35.000Z
2022-01-17T01:28:31.000Z
test/app/MyApiTestClient.hpp
bamkrs/oatpp-authorization-example
53665611c91ab45e23e1348e78ccc2d74dcf36b3
[ "Apache-2.0" ]
null
null
null
test/app/MyApiTestClient.hpp
bamkrs/oatpp-authorization-example
53665611c91ab45e23e1348e78ccc2d74dcf36b3
[ "Apache-2.0" ]
2
2019-12-24T12:24:24.000Z
2020-04-04T15:17:14.000Z
/*************************************************************************** * * Project _____ __ ____ _ _ * ( _ ) /__\ (_ _)_| |_ _| |_ * )(_)( /(__)\ )( (_ _)(_ _) * (_____)(__)(__)(__) |_| |_| * * * Copyright 2018-present, Leoni...
33.763636
92
0.619817
bamkrs
32a6d8d6b7b2e56070e374e6546154d5e44cf3fc
21,186
cpp
C++
source/additional/coreGL.cpp
MausGames/core-engine
d906fc207739cd50f592807195f9bdfff2e9b6ea
[ "Zlib" ]
9
2016-12-28T01:44:25.000Z
2022-01-03T01:05:59.000Z
source/additional/coreGL.cpp
MausGames/core-engine
d906fc207739cd50f592807195f9bdfff2e9b6ea
[ "Zlib" ]
null
null
null
source/additional/coreGL.cpp
MausGames/core-engine
d906fc207739cd50f592807195f9bdfff2e9b6ea
[ "Zlib" ]
1
2018-09-25T13:39:33.000Z
2018-09-25T13:39:33.000Z
/////////////////////////////////////////////////////////// //*-----------------------------------------------------*// //| Part of the Core Engine (https://www.maus-games.at) |// //*-----------------------------------------------------*// //| Released under the zlib License |// //| More information...
54.744186
164
0.557113
MausGames
32ad5ffaa096354336c27dd1516d6f7ee63c5e20
963
cpp
C++
tests/aho_corasick/triefind.test.cpp
AdamLutka/php-multisearch
0c0937b7815c91155839500389536d57e61c366c
[ "MIT" ]
3
2019-04-23T03:48:58.000Z
2022-03-24T23:44:41.000Z
tests/aho_corasick/triefind.test.cpp
AdamLutka/php-multisearch
0c0937b7815c91155839500389536d57e61c366c
[ "MIT" ]
null
null
null
tests/aho_corasick/triefind.test.cpp
AdamLutka/php-multisearch
0c0937b7815c91155839500389536d57e61c366c
[ "MIT" ]
null
null
null
#include "catch.hpp" #include <string> #include "trie.hpp" using multisearch::ahocorasick::Trie; TEST_CASE( "Trie find", "[Trie.find]" ) { Trie<std::wstring, std::string> trie; trie.insert(L"", ""); trie.insert(L"key1", "value1"); trie.insert(L"key2", "value2"); trie.insert(L"key3", "value3"); SECTION("fou...
16.322034
41
0.575286
AdamLutka
32c700e06969bd5f901ecb8363b5fae748881aa1
672
hpp
C++
libs/core/include/fcppt/math/matrix/detail/index_absolute.hpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
libs/core/include/fcppt/math/matrix/detail/index_absolute.hpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
libs/core/include/fcppt/math/matrix/detail/index_absolute.hpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
// Copyright Carl Philipp Reh 2009 - 2018. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef FCPPT_MATH_MATRIX_DETAIL_INDEX_ABSOLUTE_HPP_INCLUDED #define FCPPT_MATH_MATRIX_DETAIL_INDE...
14.933333
61
0.736607
pmiddend
32ccd0645b1aa5a67aca7fd1e3c19c679f86e396
440
hpp
C++
TypeTraits/EnableIf.hpp
jlandess/LandessDevCore
3319c36c3232415d6bdba7da8b4896c0638badf2
[ "BSD-3-Clause" ]
2
2021-06-09T00:38:46.000Z
2021-09-04T21:55:33.000Z
TypeTraits/EnableIf.hpp
jlandess/LandessDevCore
3319c36c3232415d6bdba7da8b4896c0638badf2
[ "BSD-3-Clause" ]
null
null
null
TypeTraits/EnableIf.hpp
jlandess/LandessDevCore
3319c36c3232415d6bdba7da8b4896c0638badf2
[ "BSD-3-Clause" ]
1
2021-08-30T00:46:12.000Z
2021-08-30T00:46:12.000Z
// // Created by phoenixflower on 5/14/20. // #ifndef LANDESSDEVCORE_ENABLEIF_HPP #define LANDESSDEVCORE_ENABLEIF_HPP namespace LD { template <bool, class _Tp = void> struct EnableIf {}; template <class _Tp> struct EnableIf<true, _Tp> {typedef _Tp type;}; //#if _LIBCPP_STD_VER > 11 template <bool _Bp, c...
25.882353
96
0.727273
jlandess
32d010bbc73ede4f78d51a36dd83e68e50690084
2,783
cpp
C++
addons/xmlgui/comm/OSCInterface.cpp
eraly5555/Hub
e890f841f16988c642cf6390fa31c3c5ae82773d
[ "MIT" ]
2
2015-12-01T16:33:43.000Z
2016-04-07T03:43:32.000Z
addons/xmlgui/comm/OSCInterface.cpp
eraly5555/Hub
e890f841f16988c642cf6390fa31c3c5ae82773d
[ "MIT" ]
null
null
null
addons/xmlgui/comm/OSCInterface.cpp
eraly5555/Hub
e890f841f16988c642cf6390fa31c3c5ae82773d
[ "MIT" ]
3
2020-02-17T14:36:18.000Z
2021-08-09T12:02:59.000Z
/** * OSCInterface.cpp * * Created by Marek Bereza on 13/02/2012. */ #include "OSCInterface.h" #include "Instantiator.h" void xmlgui::OSCInterface::setup(Container &root, int receiveOscPort, int sendOscPort, string sendOscHost) { this->root = &root; setupOsc(receiveOscPort, sendOscPort); } void xmlgui::OS...
24.2
108
0.65936
eraly5555
32d085aa4c80c58d4e425d9a97ad5cdf84a78466
996
cpp
C++
Libraries/Nulstar/NNetwork/NMessageFactory.cpp
Berzeck/Nulstar
d3a7f59ee617e045966071d19c39d1ab63b23114
[ "MIT" ]
17
2018-08-13T23:37:31.000Z
2019-04-25T18:31:22.000Z
Libraries/Nulstar/NNetwork/NMessageFactory.cpp
Berzeck/Nulstar-v0
d3a7f59ee617e045966071d19c39d1ab63b23114
[ "MIT" ]
7
2019-07-16T01:01:07.000Z
2019-08-07T03:11:58.000Z
Libraries/Nulstar/NNetwork/NMessageFactory.cpp
CCC-NULS/Nulstar
f48d869254f4adb60e7c95f0e313bfb44ab8dc84
[ "MIT" ]
7
2018-09-07T10:05:08.000Z
2020-02-03T12:18:49.000Z
#include <QJsonDocument> #include <QDebug> #include "NMessage.h" #include "NMessageNegotiateConnection.h" #include "NMessageFactory.h" namespace NulstarNS { NMessageFactory::NMessageFactory(QObject* rParent) : QObject(rParent) { } QJsonObject NMessageFactory::fMessageObjectFromString(const QS...
30.181818
111
0.682731
Berzeck
32d19be7b6eb6583ef610daaafd38cb7be1728d5
16,864
hpp
C++
SU2-Quantum/SU2_CFD/include/solvers/CDiscAdjFEASolver.hpp
Agony5757/SU2-Quantum
16e7708371a597511e1242f3a7581e8c4187f5b2
[ "Apache-2.0" ]
null
null
null
SU2-Quantum/SU2_CFD/include/solvers/CDiscAdjFEASolver.hpp
Agony5757/SU2-Quantum
16e7708371a597511e1242f3a7581e8c4187f5b2
[ "Apache-2.0" ]
null
null
null
SU2-Quantum/SU2_CFD/include/solvers/CDiscAdjFEASolver.hpp
Agony5757/SU2-Quantum
16e7708371a597511e1242f3a7581e8c4187f5b2
[ "Apache-2.0" ]
1
2021-12-03T06:40:08.000Z
2021-12-03T06:40:08.000Z
/*! * \file CDiscAdjFEASolver.hpp * \brief Headers of the CDiscAdjFEASolver class * \author R. Sanchez * \version 7.0.6 "Blackbird" * * SU2 Project Website: https://su2code.github.io * * The SU2 Project is maintained by the SU2 Foundation * (http://su2foundation.org) * * Copyright 2012-2020, SU2 Contributors...
45.211796
132
0.684298
Agony5757
32d5bf0d1f9a1bff1917cc603be94a5e51b512b8
1,802
cpp
C++
Algorithms/Cpp/669. Trim a Binary Search Tree.cpp
racecai/LeetCode
654c10d8df47ab219ea3848ba3a9944849ded1d3
[ "MIT" ]
3
2018-03-17T16:17:50.000Z
2019-03-10T14:38:56.000Z
Algorithms/Cpp/669. Trim a Binary Search Tree.cpp
racecai/LeetCode
654c10d8df47ab219ea3848ba3a9944849ded1d3
[ "MIT" ]
null
null
null
Algorithms/Cpp/669. Trim a Binary Search Tree.cpp
racecai/LeetCode
654c10d8df47ab219ea3848ba3a9944849ded1d3
[ "MIT" ]
2
2019-01-10T12:33:12.000Z
2019-03-10T14:39:19.000Z
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ // wrong solution, neet to fix class Solution { public: TreeNode* trimBST(TreeNode* root, int L, int R) { if(!...
24.684932
69
0.465039
racecai
32d8a47a8c17be7ebd5bc1ac89645ad94ef8a3cd
181
hpp
C++
type_stubs.hpp
5cript/dukextpp
266497ade215a1bc125bbfeef74796209a837f7a
[ "MIT" ]
null
null
null
type_stubs.hpp
5cript/dukextpp
266497ade215a1bc125bbfeef74796209a837f7a
[ "MIT" ]
null
null
null
type_stubs.hpp
5cript/dukextpp
266497ade215a1bc125bbfeef74796209a837f7a
[ "MIT" ]
null
null
null
#ifndef TYPE_STUBS_HPP_INCLUDED #define TYPE_STUBS_HPP_INCLUDED namespace Duktape { class EmptyObject {}; class Undefined {}; } #endif // TYPE_STUBS_HPP_INCLUDED
12.928571
33
0.729282
5cript
32db12a32b0c9df6727c3aafb0c018d1c3ed1f59
4,461
cpp
C++
NPSVisor/tools/svLabelMaker/source/pProperty/svmLineProperty.cpp
NPaolini/NPS_OpenSource
0c7da066b02b57ce282a1903a3901a563d04a28f
[ "Unlicense" ]
null
null
null
NPSVisor/tools/svLabelMaker/source/pProperty/svmLineProperty.cpp
NPaolini/NPS_OpenSource
0c7da066b02b57ce282a1903a3901a563d04a28f
[ "Unlicense" ]
null
null
null
NPSVisor/tools/svLabelMaker/source/pProperty/svmLineProperty.cpp
NPaolini/NPS_OpenSource
0c7da066b02b57ce282a1903a3901a563d04a28f
[ "Unlicense" ]
null
null
null
//--------------- svmLineProperty.cpp ----------------------- //----------------------------------------------------------- #include "precHeader.h" #include "svmLineProperty.h" //----------------------------------------------------------- void lineProperty::clone(const Property& other_) { baseClass::clone(other_); ...
28.234177
96
0.545169
NPaolini
32db2f273cedd28bee18bbeac9e798a3e8e73aa0
468
cpp
C++
library/text/cpp/src/tetengo.text.grapheme_splitting.character_width.cpp
tetengo/tetengo
66e0d03635583c25be4320171f3cc1e7f40a56e6
[ "MIT" ]
null
null
null
library/text/cpp/src/tetengo.text.grapheme_splitting.character_width.cpp
tetengo/tetengo
66e0d03635583c25be4320171f3cc1e7f40a56e6
[ "MIT" ]
41
2021-06-25T14:20:29.000Z
2022-01-16T02:50:50.000Z
library/text/cpp/src/tetengo.text.grapheme_splitting.character_width.cpp
tetengo/tetengo
66e0d03635583c25be4320171f3cc1e7f40a56e6
[ "MIT" ]
null
null
null
/*! \file \brief A character width. Copyright (C) 2019-2022 kaoru https://www.tetengo.org/ */ #include <cstddef> #include <tetengo/text/grapheme_splitting/character_width.hpp> namespace tetengo::text::grapheme_splitting { character_width::~character_width() = default; std::size_t c...
20.347826
97
0.675214
tetengo
32dc2c00e7d27d822b0d4df133e679631f7a9641
705
cpp
C++
codes/UVA/10001-19999/uva10277.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/UVA/10001-19999/uva10277.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/UVA/10001-19999/uva10277.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
#include <stdio.h> #include <string.h> #include<math.h> long long gcd(long long a, long long b) { return b == 0 ? a : gcd(b, a % b); } int main() { long long p, q; while (scanf("%lld%lld", &p, &q), p || q) { if (p == q) printf("2 0\n"); else if (p == 0) printf("0 2\n"); else { long long g = gcd(p, q); ...
19.583333
44
0.438298
JeraKrs
77f875737949aa868a0956acbcdcb1c2918697d2
2,718
cpp
C++
examples/DSPDemo/Source/Demos/StateVariableFilterDemo.cpp
jpcima/DISTRHO-JUCE
08c983c6dc718b7bbdba8c0625d7a4ee2a837f4c
[ "ISC" ]
1
2020-10-23T05:31:32.000Z
2020-10-23T05:31:32.000Z
examples/DSPDemo/Source/Demos/StateVariableFilterDemo.cpp
pierreguillot/JUCE-LV2
b12aa69c81f496d07066a603b5320601aa93fcc0
[ "ISC" ]
null
null
null
examples/DSPDemo/Source/Demos/StateVariableFilterDemo.cpp
pierreguillot/JUCE-LV2
b12aa69c81f496d07066a603b5320601aa93fcc0
[ "ISC" ]
null
null
null
/* ============================================================================== This file is part of the JUCE library. Copyright (c) 2017 - ROLI Ltd. JUCE is an open source library subject to commercial or open-source licensing. By using JUCE, you agree to the terms of both the JUCE 5 End...
34.846154
133
0.565857
jpcima
77fd44ea6614d9e2d877835a8789f3a2a3e2a3a8
19,075
cpp
C++
kinesis-video-pic/src/client/src/AckParser.cpp
nsharma098/amazon-kinesis-video-streams-producer-sdk-cpp
e3b63724494b16e00079027ccc232e8914731d66
[ "Apache-2.0" ]
null
null
null
kinesis-video-pic/src/client/src/AckParser.cpp
nsharma098/amazon-kinesis-video-streams-producer-sdk-cpp
e3b63724494b16e00079027ccc232e8914731d66
[ "Apache-2.0" ]
null
null
null
kinesis-video-pic/src/client/src/AckParser.cpp
nsharma098/amazon-kinesis-video-streams-producer-sdk-cpp
e3b63724494b16e00079027ccc232e8914731d66
[ "Apache-2.0" ]
null
null
null
/** * Implementation of a Fragment ACK parser */ #define LOG_CLASS "AckParser" #include "Include_i.h" STATUS resetAckParserState(PKinesisVideoStream pKinesisVideoStream) { ENTERS(); STATUS retStatus = STATUS_SUCCESS; CHK(pKinesisVideoStream != NULL, STATUS_NULL_ARG); // This will zero out fields w...
42.865169
166
0.643984
nsharma098
ae01014d67ac33ee4a4d4c524375744c927a884a
40,894
cpp
C++
CaWE/MapEditor/ToolSelection.cpp
dns/Cafu
77b34014cc7493d6015db7d674439fe8c23f6493
[ "MIT" ]
3
2020-04-11T13:00:31.000Z
2020-12-07T03:19:10.000Z
CaWE/MapEditor/ToolSelection.cpp
DNS/Cafu
77b34014cc7493d6015db7d674439fe8c23f6493
[ "MIT" ]
null
null
null
CaWE/MapEditor/ToolSelection.cpp
DNS/Cafu
77b34014cc7493d6015db7d674439fe8c23f6493
[ "MIT" ]
1
2020-04-11T13:00:04.000Z
2020-04-11T13:00:04.000Z
/* Cafu Engine, http://www.cafu.de/ Copyright (c) Carsten Fuchs and other contributors. This project is licensed under the terms of the MIT license. */ #include "CompMapEntity.hpp" #include "DialogInspector.hpp" #include "MapDocument.hpp" #include "MapEntRepres.hpp" #include "MapModel.hpp" #include "MapPlant.hpp" #inc...
36.5125
254
0.657627
dns
ae091b712888d8bac6ff4090ea34d9c3192a990b
17,409
cpp
C++
TADS/linked-list/source/test/run_tests.cpp
fernando-ff/EDB
d87fadb58623f71d028ba2b3434a4b59a94be694
[ "MIT" ]
null
null
null
TADS/linked-list/source/test/run_tests.cpp
fernando-ff/EDB
d87fadb58623f71d028ba2b3434a4b59a94be694
[ "MIT" ]
null
null
null
TADS/linked-list/source/test/run_tests.cpp
fernando-ff/EDB
d87fadb58623f71d028ba2b3434a4b59a94be694
[ "MIT" ]
null
null
null
#include<iostream> #include<list> #include <iterator> #include "../lib/test_manager.h" #include "../include/list.h" #define which_lib ls // ============================================================================ // TESTING list AS A CONTAINER OF INTEGERS // ======================================================...
30.812389
97
0.468034
fernando-ff
ae0b5317a91b29927d12fb3aecc026588914cbeb
3,660
cpp
C++
Day14_DockingData/main.cpp
smowheer/AdventOfCode2020
115cbc8fbb65357f6401cc40a8b14489fc1f6201
[ "MIT" ]
null
null
null
Day14_DockingData/main.cpp
smowheer/AdventOfCode2020
115cbc8fbb65357f6401cc40a8b14489fc1f6201
[ "MIT" ]
null
null
null
Day14_DockingData/main.cpp
smowheer/AdventOfCode2020
115cbc8fbb65357f6401cc40a8b14489fc1f6201
[ "MIT" ]
null
null
null
#include <bitset> #include <cassert> #include <iostream> #include <map> #include <sstream> #include <string> #include <vector> using namespace std; using ll = long long; class DockerDecoder { static const size_t bit_length = 36; string internal_mask; map<ll, string> internal_mem; map<string, string> internal_...
27.727273
79
0.623497
smowheer
ae12f57daf4e10749cda63e1b0096afaa953ae11
1,494
hpp
C++
jit.gl.isf/jit.gl.isf/VVGLContextCacheItem.hpp
mrRay/jit.gl.isf
81553e0c48f6030fcd67e0df2a48d38f0d98ee90
[ "MIT" ]
19
2019-04-28T11:53:46.000Z
2021-04-16T21:05:58.000Z
jit.gl.isf/jit.gl.isf/VVGLContextCacheItem.hpp
mrRay/jit.gl.isf
81553e0c48f6030fcd67e0df2a48d38f0d98ee90
[ "MIT" ]
6
2019-05-25T17:27:18.000Z
2020-09-01T01:11:25.000Z
jit.gl.isf/jit.gl.isf/VVGLContextCacheItem.hpp
mrRay/jit.gl.isf
81553e0c48f6030fcd67e0df2a48d38f0d98ee90
[ "MIT" ]
1
2020-08-14T15:39:10.000Z
2020-08-14T15:39:10.000Z
#ifndef VVGLContextCacheItem_h #define VVGLContextCacheItem_h #include <memory> #if defined(VVGL_SDK_MAC) #include <OpenGL/OpenGL.h> #elif defined(VVGL_SDK_WIN) #include <Windows.h> //#include <GL/glew.h> //#include <GL/wglew.h> #endif // VVGL_SDK_WIN // private implementation class, should never need to use ...
24.096774
103
0.799866
mrRay
ae14c0a2a32e5694bb7cbacb765c4797188fca04
2,578
cpp
C++
GLFramework/Prefabs/FreeCamera.cpp
Illation/GLFramework
2b9d3d67d4e951e2ff5ace0241750a438d6e743f
[ "MIT" ]
39
2016-03-23T00:39:46.000Z
2022-02-07T21:26:05.000Z
GLFramework/Prefabs/FreeCamera.cpp
Illation/GLFramework
2b9d3d67d4e951e2ff5ace0241750a438d6e743f
[ "MIT" ]
1
2016-03-24T14:39:45.000Z
2016-03-24T17:34:39.000Z
GLFramework/Prefabs/FreeCamera.cpp
Illation/GLFramework
2b9d3d67d4e951e2ff5ace0241750a438d6e743f
[ "MIT" ]
3
2016-08-15T01:27:13.000Z
2021-12-29T01:37:51.000Z
#include "stdafx.hpp" #include "FreeCamera.hpp" #include "../Components/CameraComponent.hpp" #include <glm/gtx/matrix_decompose.hpp> #include "../Helper/MathHelper.hpp" #include <algorithm> FreeCamera::FreeCamera() :m_Move(glm::vec3(0)) { } FreeCamera::~FreeCamera() { } void FreeCamera::Initialize() { //Camera Co...
28.021739
87
0.645849
Illation
ae1af9054497ac5d499ae4597e5aa6073f89fd56
478
hpp
C++
impl/gamelib/brick_contact_listener.hpp
runvs/Gemga
91cd5d6d60ae8369a5a5674efebc6eb84c510a10
[ "CC0-1.0" ]
null
null
null
impl/gamelib/brick_contact_listener.hpp
runvs/Gemga
91cd5d6d60ae8369a5a5674efebc6eb84c510a10
[ "CC0-1.0" ]
null
null
null
impl/gamelib/brick_contact_listener.hpp
runvs/Gemga
91cd5d6d60ae8369a5a5674efebc6eb84c510a10
[ "CC0-1.0" ]
null
null
null
#ifndef MYAWESOMEGAME_BRICK_CONTACT_LISTENER_HPP #define MYAWESOMEGAME_BRICK_CONTACT_LISTENER_HPP #include "Box2D/Box2D.h" #include <functional> #include <vector> class BrickContactListener : public b2ContactListener { public: BrickContactListener(); virtual void BeginContact(b2Contact* contact) override; ...
23.9
70
0.776151
runvs
ae1cba936a7b07507927e4c0644806a2025fee00
2,410
hpp
C++
Source/AllProjects/DataUtils/CIDEncode/CIDEncode_.hpp
MarkStega/CIDLib
82014e064eef51cad998bf2c694ed9c1c8cceac6
[ "MIT" ]
216
2019-03-09T06:41:28.000Z
2022-02-25T16:27:19.000Z
Source/AllProjects/DataUtils/CIDEncode/CIDEncode_.hpp
MarkStega/CIDLib
82014e064eef51cad998bf2c694ed9c1c8cceac6
[ "MIT" ]
9
2020-09-27T08:00:52.000Z
2021-07-02T14:27:31.000Z
Source/AllProjects/DataUtils/CIDEncode/CIDEncode_.hpp
MarkStega/CIDLib
82014e064eef51cad998bf2c694ed9c1c8cceac6
[ "MIT" ]
29
2019-03-09T10:12:24.000Z
2021-03-03T22:25:29.000Z
// // FILE NAME: CIDEncode_.hpp // // AUTHOR: Dean Roddey // // CREATED: 05/26/1999 // // 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://opensource.org...
30.897436
90
0.573859
MarkStega
ae1cbd465c744652716607c45d2d6197ae996736
501
cpp
C++
problem13.cpp
abhijeetpanda12/Project-Euler-Codes
7a1acce6ea80383ff0f51bed591b4442208190ed
[ "Apache-2.0" ]
null
null
null
problem13.cpp
abhijeetpanda12/Project-Euler-Codes
7a1acce6ea80383ff0f51bed591b4442208190ed
[ "Apache-2.0" ]
null
null
null
problem13.cpp
abhijeetpanda12/Project-Euler-Codes
7a1acce6ea80383ff0f51bed591b4442208190ed
[ "Apache-2.0" ]
null
null
null
//find the first 10 digits of the sum of the given one hundered 50-digit numbers #include <iostream> #include <string> using namespace std; int main(){ int i,j,sum=0,carry=0,digit; string s[100],result=""; for(i=0;i<100;i++){ cin>>s[i]; } for(i=49;i>=0;i--){ sum=carry; for(j=0;j<100;j++){ digit = s[j].at...
20.875
81
0.618762
abhijeetpanda12
ae1d4a6d8d72825b66232075bfc42b6b8e84cf9f
524
cpp
C++
src/main/spi.cpp
iduwhux/gcffded
1d5c5217d251281eb618703bb14e00422402b3b7
[ "Unlicense" ]
3
2015-09-03T14:57:34.000Z
2019-01-18T16:04:40.000Z
src/main/spi.cpp
iduwhux/gcffded
1d5c5217d251281eb618703bb14e00422402b3b7
[ "Unlicense" ]
2
2019-01-19T02:38:53.000Z
2020-05-20T05:16:52.000Z
src/main/spi.cpp
iduwhux/gcffded
1d5c5217d251281eb618703bb14e00422402b3b7
[ "Unlicense" ]
3
2015-04-07T17:10:53.000Z
2017-01-07T08:48:35.000Z
#include <avr/sfr_defs.h> #include "constants.h" byte rx() { SPDR = 0xFF; loop_until_bit_is_set(SPSR, SPIF); return SPDR; } void tx(unsigned char d) { SPDR = d; loop_until_bit_is_set(SPSR, SPIF); } void spi_init() { pinMode(10, OUTPUT); pinMode(11, OUTPUT); pinMode(12, INPUT_PULLUP); pinMode(13, OU...
14.971429
82
0.664122
iduwhux
ae1dbeb2a64bc80aaf2045a9eb6133c4c902f4a9
1,235
cpp
C++
LinearRecurrence.cpp
GaZ3ll3/eureka_base
413cc9ecc60e7becb782ef8b2000f9d848d62d0e
[ "MIT" ]
null
null
null
LinearRecurrence.cpp
GaZ3ll3/eureka_base
413cc9ecc60e7becb782ef8b2000f9d848d62d0e
[ "MIT" ]
null
null
null
LinearRecurrence.cpp
GaZ3ll3/eureka_base
413cc9ecc60e7becb782ef8b2000f9d848d62d0e
[ "MIT" ]
null
null
null
/* * LinearRecurrence.cpp * * Created on: Apr 10, 2015 * Author: lurker */ #include "LinearRecurrence.h" #include "Matrix.h" namespace Eureka { std::vector<Rational> LinearRecurrence::FindLinearRecurrence(std::vector<Int>& seq){ std::vector<Rational> kernel; int64_t list_len = seq.size(); bool success...
21.666667
84
0.589474
GaZ3ll3
ae1e9c9a9c85545b41e9e8d536f41e21a0f8d675
4,733
cpp
C++
ext/stub/org/apache/commons/collections4/bidimap/TreeBidiMap_Node-stub.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
ext/stub/org/apache/commons/collections4/bidimap/TreeBidiMap_Node-stub.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
ext/stub/org/apache/commons/collections4/bidimap/TreeBidiMap_Node-stub.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
// Generated from /POI/commons-collections4-4.1.jar #include <org/apache/commons/collections4/bidimap/TreeBidiMap_Node.hpp> #include <java/lang/Comparable.hpp> extern void unimplemented_(const char16_t* name); org::apache::commons::collections4::bidimap::TreeBidiMap_Node::TreeBidiMap_Node(const ::default_init_tag&) ...
55.682353
188
0.755335
pebble2015
ae294afe215d90eae07d1c31f8f500747e5d07da
16,058
cpp
C++
src/network.cpp
viktak/ActoSenso-Node-wifi-ir-gateway
fdcf9be25c593d2501847959b00e6b726fa47f97
[ "CC-BY-4.0" ]
null
null
null
src/network.cpp
viktak/ActoSenso-Node-wifi-ir-gateway
fdcf9be25c593d2501847959b00e6b726fa47f97
[ "CC-BY-4.0" ]
null
null
null
src/network.cpp
viktak/ActoSenso-Node-wifi-ir-gateway
fdcf9be25c593d2501847959b00e6b726fa47f97
[ "CC-BY-4.0" ]
null
null
null
#include <ESP8266WiFi.h> #include <ESP8266WebServer.h> #include <LittleFS.h> #include <TimeLib.h> #include <ESP8266mDNS.h> #include <ArduinoOTA.h> #include "version.h" #include "settings.h" #include "common.h" #include "TimeChangeRules.h" #include "mqtt.h" #define ADMIN_USERNAME "admin" #define UPDATE_SIZE_UNKNOWN 0x...
32.180361
212
0.533068
viktak
ae2f62df699853a3ab08552f871eb2604d7354b4
4,048
hpp
C++
include/nodes/node64.hpp
jermp/psds
df18b6de638d64de9308a3a6d1b15606650c849a
[ "MIT" ]
19
2020-06-26T09:34:08.000Z
2022-03-10T03:06:21.000Z
include/nodes/node64.hpp
jermp/psds
df18b6de638d64de9308a3a6d1b15606650c849a
[ "MIT" ]
null
null
null
include/nodes/node64.hpp
jermp/psds
df18b6de638d64de9308a3a6d1b15606650c849a
[ "MIT" ]
1
2020-11-18T09:17:31.000Z
2020-11-18T09:17:31.000Z
#pragma once #include <cassert> #include "immintrin.h" #include "common.hpp" #include "tables.hpp" namespace psds { struct node64 { static constexpr uint64_t fanout = 64; static constexpr uint64_t segment_size = 8; static constexpr uint64_t bytes = (fanout + segment_size) * sizeof(int64_t); node64(...
33.180328
80
0.625741
jermp
ae31d2b1265b3648978dc5a734a82bcb0d9af73a
6,037
cpp
C++
software/old/lipo_charger_tester/src/proto_v2.cpp
Squantor/squantlogger
2859a6c16b3a8c444b49d01033879574af024fbf
[ "MIT" ]
1
2021-01-09T19:17:30.000Z
2021-01-09T19:17:30.000Z
software/old/lipo_charger_tester/src/proto_v2.cpp
Squantor/squantlogger
2859a6c16b3a8c444b49d01033879574af024fbf
[ "MIT" ]
null
null
null
software/old/lipo_charger_tester/src/proto_v2.cpp
Squantor/squantlogger
2859a6c16b3a8c444b49d01033879574af024fbf
[ "MIT" ]
null
null
null
/* MIT License Copyright (c) 2019 Bart Bilos Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, dis...
39.201299
101
0.781183
Squantor
ae35542b776bf18cdeb0a3ac595a4affc98f4d81
468
cpp
C++
Chip8lib/core/cpu/instructions/clearScreenInstruction.cpp
tstibro/chip8
fa342b8641737780e20b259f6df9dcb51127786a
[ "MIT" ]
null
null
null
Chip8lib/core/cpu/instructions/clearScreenInstruction.cpp
tstibro/chip8
fa342b8641737780e20b259f6df9dcb51127786a
[ "MIT" ]
null
null
null
Chip8lib/core/cpu/instructions/clearScreenInstruction.cpp
tstibro/chip8
fa342b8641737780e20b259f6df9dcb51127786a
[ "MIT" ]
null
null
null
/* * clearScreenInstruction.cpp * * Created on: Aug 1, 2016 * Author: Tomas Stibrany */ #include "clearScreenInstruction.hpp" #include "../cpu.hpp" using namespace chip8::core::cpu::instructions; using namespace chip8::core::cpu; ClearScreenInstruction::ClearScreenInstruction(CPU *cpu) : IInstruction() { ...
16.137931
73
0.720085
tstibro
ae37bb8800054471a7dd9c7609f0686cab8fa92a
742
hpp
C++
thread_pool/outwrapper.hpp
Daniil159x/sandbox
296efad5c235283c4623d24762601fc9ac0a76a8
[ "MIT" ]
null
null
null
thread_pool/outwrapper.hpp
Daniil159x/sandbox
296efad5c235283c4623d24762601fc9ac0a76a8
[ "MIT" ]
null
null
null
thread_pool/outwrapper.hpp
Daniil159x/sandbox
296efad5c235283c4623d24762601fc9ac0a76a8
[ "MIT" ]
null
null
null
#ifndef OUTWRAPPER_HPP #define OUTWRAPPER_HPP #include <mutex> #include <iostream> class OutWrapper{ public: std::mutex m_mtx; } static outTh; class OutWrapperContinue { public: OutWrapperContinue(std::mutex& mtx) : m_lock(mtx) {} OutWrapperContinue(OutWrapperContinue&&) = default; ~OutWrapperContin...
17.666667
70
0.672507
Daniil159x
ae3f2cebdb65d6b8bf58585d38079e5b618f6677
3,797
hpp
C++
cpp/src/dotcpp/dot/system/weak_ptr.hpp
datacentricorg/datacentric-cpp
252f642b1a81c2475050d48e9564eec0a561907e
[ "Apache-2.0" ]
2
2019-08-08T01:29:02.000Z
2019-08-18T19:19:00.000Z
cpp/src/dotcpp/dot/system/weak_ptr.hpp
datacentricorg/datacentric-cpp
252f642b1a81c2475050d48e9564eec0a561907e
[ "Apache-2.0" ]
null
null
null
cpp/src/dotcpp/dot/system/weak_ptr.hpp
datacentricorg/datacentric-cpp
252f642b1a81c2475050d48e9564eec0a561907e
[ "Apache-2.0" ]
null
null
null
/* Copyright (C) 2015-present The DotCpp Authors. This file is part of .C++, a native C++ implementation of popular .NET class library APIs developed to facilitate code reuse between C# and C++. http://github.com/dotcpp/dotcpp (source) http://dotcpp.org (documentation) Licensed under the Apache License, Vers...
24.184713
75
0.614169
datacentricorg
ae404297781c1555dd72ff372d8f20b502776678
2,138
cc
C++
src/solvers/mg/MGSolver.cc
RLReed/libdetran
77637c788823e0a14aae7e40e476a291f6f3184b
[ "MIT" ]
null
null
null
src/solvers/mg/MGSolver.cc
RLReed/libdetran
77637c788823e0a14aae7e40e476a291f6f3184b
[ "MIT" ]
null
null
null
src/solvers/mg/MGSolver.cc
RLReed/libdetran
77637c788823e0a14aae7e40e476a291f6f3184b
[ "MIT" ]
null
null
null
//----------------------------------*-C++-*----------------------------------// /** * @file MGSolver.cc * @author robertsj * @date Oct 24, 2012 * @brief MGSolver class definition. */ //---------------------------------------------------------------------------// #include "MGSolver.hh" namespace detran {...
33.40625
79
0.522919
RLReed
ae48eaf891cdd49957ab23ebea839a0b8407d959
5,488
cpp
C++
test/event/main.cpp
dream-overflow/o3d
087ab870cc0fd9091974bb826e25c23903a1dde0
[ "FSFAP" ]
2
2019-06-22T23:29:44.000Z
2019-07-07T18:34:04.000Z
test/event/main.cpp
dream-overflow/o3d
087ab870cc0fd9091974bb826e25c23903a1dde0
[ "FSFAP" ]
null
null
null
test/event/main.cpp
dream-overflow/o3d
087ab870cc0fd9091974bb826e25c23903a1dde0
[ "FSFAP" ]
null
null
null
//--------------------------------------------------------------------------------------- //! @file main.cpp //! Main entry of the events handler test. //! @date 2004-01-01 //! @author Frederic SCHERMA //------------------------------------------------------------------------------------- //- Objective-3D Copyrig...
26.512077
122
0.635751
dream-overflow
ae4d9eced722fef18e83328b41a7536e1b85b5d0
446
cpp
C++
Project_2DGameSDK/src/core/asset/SoundBufferCache.cpp
markoczy/2DGameSDK
53da378d604ace1d931dfe6ec336241045675667
[ "MIT" ]
1
2020-12-15T08:20:44.000Z
2020-12-15T08:20:44.000Z
Project_2DGameSDK/src/core/asset/SoundBufferCache.cpp
markoczy/2DGameSDK
53da378d604ace1d931dfe6ec336241045675667
[ "MIT" ]
8
2019-09-14T10:05:33.000Z
2019-09-25T18:47:59.000Z
Project_2DGameSDK/src/core/asset/SoundBufferCache.cpp
markoczy/2DGameSDK
53da378d604ace1d931dfe6ec336241045675667
[ "MIT" ]
null
null
null
#include <2DGameSDK/core/asset/SoundBufferCache.h> namespace game { sf::SoundBuffer* SoundBufferCache::createResource(const std::string& identifier) { auto sound = new sf::SoundBuffer(); sound->loadFromFile(identifier); mResources[identifier] = sound; return sound; } void SoundBuffer...
26.235294
85
0.690583
markoczy
ae5089748ef6a538cd3bac22fb004c8094a1c438
548
hpp
C++
source/AbstractController.hpp
riconaranjo/Li-fi-2020
af2087aa4bda591a386d81d8bd26a5c527df26be
[ "MIT" ]
1
2020-02-24T17:11:25.000Z
2020-02-24T17:11:25.000Z
source/AbstractController.hpp
riconaranjo/Li-fi-2020
af2087aa4bda591a386d81d8bd26a5c527df26be
[ "MIT" ]
null
null
null
source/AbstractController.hpp
riconaranjo/Li-fi-2020
af2087aa4bda591a386d81d8bd26a5c527df26be
[ "MIT" ]
2
2020-03-07T02:11:55.000Z
2020-03-29T03:02:30.000Z
#ifndef ABSTRACTCONTROL_H #define ABSTRACTCONTROL_H // include statements // // #include <Arduino.h> #include "Modem.hpp" // class Modem; // structs // // class // // class for control object CO-1 for UC-1 // created by Controller object class AbstractController { public: // constructors AbstractControlle...
14.421053
41
0.678832
riconaranjo
ae583142c72d58ac84cb2f604f692705e85d7b15
10,274
cc
C++
engine/source/gui/buttons/guiButtonBaseCtrl.cc
close-code/Torque2D
ad141fc7b5f28b75f727ef29dcc93aafbb3f5aa3
[ "MIT" ]
1,309
2015-01-01T02:46:14.000Z
2022-03-14T04:56:02.000Z
engine/source/gui/buttons/guiButtonBaseCtrl.cc
close-code/Torque2D
ad141fc7b5f28b75f727ef29dcc93aafbb3f5aa3
[ "MIT" ]
155
2015-01-11T19:26:32.000Z
2021-11-22T04:08:55.000Z
engine/source/gui/buttons/guiButtonBaseCtrl.cc
close-code/Torque2D
ad141fc7b5f28b75f727ef29dcc93aafbb3f5aa3
[ "MIT" ]
1,595
2015-01-01T23:19:48.000Z
2022-02-17T07:00:52.000Z
//----------------------------------------------------------------------------- // Copyright (c) 2013 GarageGames, LLC // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to // deal in the Software without restrictio...
26.755208
145
0.615048
close-code
ae5adcff49cef496506da2f7014aff3343acf602
27,345
cpp
C++
src/modules/ElectricFieldReader/ElectricFieldReaderModule.cpp
trogosch/allpix-squared
2b3859e20d0760dac90c66c2e09cb523d5837293
[ "MIT" ]
null
null
null
src/modules/ElectricFieldReader/ElectricFieldReaderModule.cpp
trogosch/allpix-squared
2b3859e20d0760dac90c66c2e09cb523d5837293
[ "MIT" ]
null
null
null
src/modules/ElectricFieldReader/ElectricFieldReaderModule.cpp
trogosch/allpix-squared
2b3859e20d0760dac90c66c2e09cb523d5837293
[ "MIT" ]
null
null
null
/** * @file * @brief Implementation of module to read electric fields * @copyright Copyright (c) 2017-2020 CERN and the Allpix Squared authors. * This software is distributed under the terms of the MIT License, copied verbatim in the file "LICENSE.md". * In applying this license, CERN does not waive the privileges...
51.497175
125
0.580874
trogosch
ae5b8ef140968902fbd832ae0a5367764d2c57a6
11,858
hpp
C++
src/libField/CoordinateSystem.hpp
CD3/libField
8aa93e21d3bbc01c38ecc3a6ea31bd4ceb8bbfd6
[ "MIT" ]
null
null
null
src/libField/CoordinateSystem.hpp
CD3/libField
8aa93e21d3bbc01c38ecc3a6ea31bd4ceb8bbfd6
[ "MIT" ]
5
2017-06-18T17:05:04.000Z
2022-02-05T19:14:38.000Z
src/libField/CoordinateSystem.hpp
CD3/libField
8aa93e21d3bbc01c38ecc3a6ea31bd4ceb8bbfd6
[ "MIT" ]
null
null
null
#ifndef CoordinateSystem_hpp #define CoordinateSystem_hpp #include <sstream> #include <type_traits> #include <boost/array.hpp> #include <boost/multi_array.hpp> #include <boost/optional.hpp> #include "Aliases.hpp" #include "RangeDiscretizers.hpp" #include "Utils.hpp" /** @file CoordinateSystem.hpp * @brief * @auth...
30.880208
80
0.600017
CD3
ae5d3ba156b7a76622f2bc074b77b6a2e5310db0
158,612
cpp
C++
tests/unit/fem/test_r2d_bilininteg.cpp
pghysels/mfem
3c1859e1d7d9d7bb35ed3a5261f15dcc24343d9a
[ "BSD-3-Clause" ]
null
null
null
tests/unit/fem/test_r2d_bilininteg.cpp
pghysels/mfem
3c1859e1d7d9d7bb35ed3a5261f15dcc24343d9a
[ "BSD-3-Clause" ]
null
null
null
tests/unit/fem/test_r2d_bilininteg.cpp
pghysels/mfem
3c1859e1d7d9d7bb35ed3a5261f15dcc24343d9a
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2010-2022, Lawrence Livermore National Security, LLC. Produced // at the Lawrence Livermore National Laboratory. All Rights reserved. See files // LICENSE and NOTICE for details. LLNL-CODE-806117. // // This file is part of the MFEM library. For more information and source code // availability visit ht...
34.110108
81
0.529601
pghysels
ae6014aa8ea49100f67d80130e546aeb15322fbf
2,399
cpp
C++
eoncontainers/tests/Regression.cpp
janoveaase/eoncpp
bd62aab42f43932da991d603cfb6a66fa0b4355a
[ "BSL-1.0" ]
null
null
null
eoncontainers/tests/Regression.cpp
janoveaase/eoncpp
bd62aab42f43932da991d603cfb6a66fa0b4355a
[ "BSL-1.0" ]
null
null
null
eoncontainers/tests/Regression.cpp
janoveaase/eoncpp
bd62aab42f43932da991d603cfb6a66fa0b4355a
[ "BSL-1.0" ]
null
null
null
#include "Regression.h" #include <string> namespace eon { TEST( VectorTest, basic ) { vector<std::string> strings{ "alpha", "beta", "gamma", "delta" }; REQUIRE_EQ( 4, strings.size() ); WANT_EQ( "alpha", strings[ 0 ] ); WANT_EQ( "beta", strings[ 1 ] ); WANT_EQ( "gamma", strings[ 2 ] ); WANT_EQ( "delta",...
27.895349
67
0.588162
janoveaase
ae67e56eacee233baa26254e00acb3e98b55f014
1,701
cpp
C++
tools/ziggurat/material.cpp
MissingBitStudios/igneous
0d4079530184219de4b75318963b4bde03a83b51
[ "CC-BY-4.0" ]
55
2018-12-01T02:42:01.000Z
2022-03-25T22:06:25.000Z
tools/ziggurat/material.cpp
MissingBitStudios/igneous
0d4079530184219de4b75318963b4bde03a83b51
[ "CC-BY-4.0" ]
1
2019-08-24T16:55:52.000Z
2019-08-24T16:55:52.000Z
tools/ziggurat/material.cpp
MissingBitStudios/igneous
0d4079530184219de4b75318963b4bde03a83b51
[ "CC-BY-4.0" ]
8
2018-12-14T23:49:50.000Z
2020-10-03T01:53:52.000Z
#include "ziggurat.hpp" #include <iostream> #include <fstream> #include <string> #include <sstream> #include <filesystem> #include <unordered_map> enum class MaterialAttribute : uint8_t { COLOR, DIFFUSE, NORMAL, SPECULAR }; const std::unordered_map<std::string, MaterialAttribute> attributeLookupTable = { {"c...
23.957746
100
0.683128
MissingBitStudios
ae6d3441834fefc193a1a8070e6bb081ab19bc08
5,870
cpp
C++
Source/Test2DPlatformer/Ball.cpp
tanis2000/Unreal-Test2DPlatformer
0d9c22a71f1cd35d3f861285324e8a42205bd745
[ "MIT" ]
14
2017-09-10T16:04:05.000Z
2021-11-24T02:28:51.000Z
Source/Test2DPlatformer/Ball.cpp
tanis2000/Unreal-Test2DPlatformer
0d9c22a71f1cd35d3f861285324e8a42205bd745
[ "MIT" ]
1
2021-04-13T23:00:43.000Z
2021-04-13T23:00:43.000Z
Source/Test2DPlatformer/Ball.cpp
tanis2000/Unreal-Test2DPlatformer
0d9c22a71f1cd35d3f861285324e8a42205bd745
[ "MIT" ]
7
2016-10-23T21:38:23.000Z
2021-11-24T02:29:05.000Z
// Fill out your copyright notice in the Description page of Project Settings. #include "Ball.h" #include "Test2DPlatformer.h" #include "PaperFlipbookComponent.h" #include "PaperFlipbook.h" #include "PaperSprite.h" #include "Engine.h" #include "Components/BoxComponent.h" #include "HeroPawn.h" FName ABall::SpriteCompo...
36.459627
119
0.677853
tanis2000
ae6ee1616fd089f9ccadb697d6b117292921a691
4,056
cpp
C++
ParallaxOcclusionMapping/texture.cpp
Shantanu-Chauhan/ParallaxOcclusionMapping
403b4c208cb743bb16d13815cd635defd4619db7
[ "Apache-2.0" ]
1
2020-03-08T05:36:19.000Z
2020-03-08T05:36:19.000Z
ParallaxOcclusionMapping/texture.cpp
Shantanu-Chauhan/ParallaxOcclusionMapping
403b4c208cb743bb16d13815cd635defd4619db7
[ "Apache-2.0" ]
null
null
null
ParallaxOcclusionMapping/texture.cpp
Shantanu-Chauhan/ParallaxOcclusionMapping
403b4c208cb743bb16d13815cd635defd4619db7
[ "Apache-2.0" ]
null
null
null
/////////////////////////////////////////////////////////////////////// // A slight encapsulation of an OpenGL texture. This contains a method // to read an image file into a texture, and methods to bind a texture // to a shader for use, and unbind when done. ////////////////////////////////////////////////////////////...
36.540541
180
0.710552
Shantanu-Chauhan
ae6fa4404b9ce926afa9866fadfd2a543a797c46
1,409
hpp
C++
include/code_generator/SimpleType.hpp
czhj/code_generator
f56382ae851ead5594a5f8772230eee33ea6e747
[ "MIT" ]
1
2022-02-21T02:06:37.000Z
2022-02-21T02:06:37.000Z
include/code_generator/SimpleType.hpp
czhj/code_generator
f56382ae851ead5594a5f8772230eee33ea6e747
[ "MIT" ]
null
null
null
include/code_generator/SimpleType.hpp
czhj/code_generator
f56382ae851ead5594a5f8772230eee33ea6e747
[ "MIT" ]
null
null
null
/** * @file SimpleType.hpp * @author huangjian * @date 2022-02-21 * @version 1.0 * @copyright huangjian **/ #ifndef SIMPLETYPE_HPP #define SIMPLETYPE_HPP #include "Type.hpp" class SimpleType; typedef RefObject<SimpleType> SimpleTypeRef; class SimpleType : public Type { public: static co...
23.483333
85
0.700497
czhj
ae6fba042920a7353940c6953ee193fdec62620a
2,453
cpp
C++
DivisionEngine/DivisionEngine/Entity.cpp
martheveldhuis/DivisionEngine
8f7ba1c355ee010c005df207e08d51673f3cdf8d
[ "MIT" ]
1
2017-11-29T19:19:43.000Z
2017-11-29T19:19:43.000Z
DivisionEngine/DivisionEngine/Entity.cpp
martheveldhuis/DivisionEngine
8f7ba1c355ee010c005df207e08d51673f3cdf8d
[ "MIT" ]
2
2018-01-16T12:11:24.000Z
2018-01-16T15:21:46.000Z
DivisionEngine/DivisionEngine/Entity.cpp
martheveldhuis/DivisionEngine
8f7ba1c355ee010c005df207e08d51673f3cdf8d
[ "MIT" ]
1
2018-01-28T13:10:49.000Z
2018-01-28T13:10:49.000Z
#include "Entity.h" #include "LoggerPool.h" #include "Renderer.h" namespace Division { Entity::Entity(ResourceManager *resourceManager, float x, float y, float z, float xAngle, float yAngle, float zAngle) : resourceManager_(resourceManager) { position_.xPosition = x; position_.yPosition = y; position_.z...
19.015504
78
0.681614
martheveldhuis
ae72b7adc1a6972d7098c0f6991c881da82b9e34
9,007
cpp
C++
aperture/connection.cpp
llaxton/M-O-S-E-S-aperture
f1d22452b236d6ed224fee90e6355abe2e334852
[ "Apache-2.0" ]
null
null
null
aperture/connection.cpp
llaxton/M-O-S-E-S-aperture
f1d22452b236d6ed224fee90e6355abe2e334852
[ "Apache-2.0" ]
null
null
null
aperture/connection.cpp
llaxton/M-O-S-E-S-aperture
f1d22452b236d6ed224fee90e6355abe2e334852
[ "Apache-2.0" ]
null
null
null
// // connection.cpp // ~~~~~~~~~~~~~~ // // Copyright (c) 2003-2008 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // 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 "stdafx.h" #include "connecti...
25.229692
119
0.661041
llaxton
ae72fd49e2f1a9f8e9d93284db270ce40ce6cda6
6,468
cpp
C++
Examples/Display_Text/PathFont/Sources/test.cpp
xctan/ClanLib
1a8d6eb6cab3e93fd5c6be618fb6f7bd1146fc2d
[ "Linux-OpenIB" ]
248
2015-01-08T05:21:40.000Z
2022-03-20T02:59:16.000Z
Examples/Display_Text/PathFont/Sources/test.cpp
xctan/ClanLib
1a8d6eb6cab3e93fd5c6be618fb6f7bd1146fc2d
[ "Linux-OpenIB" ]
39
2015-01-14T17:37:07.000Z
2022-03-17T12:59:26.000Z
Examples/Display_Text/PathFont/Sources/test.cpp
xctan/ClanLib
1a8d6eb6cab3e93fd5c6be618fb6f7bd1146fc2d
[ "Linux-OpenIB" ]
82
2015-01-11T13:23:49.000Z
2022-02-19T03:17:24.000Z
/* ** ClanLib SDK ** Copyright (c) 1997-2020 The ClanLib Team ** ** This software is provided 'as-is', without any express or implied ** warranty. In no event will the authors be held liable for any damages ** arising from the use of this software. ** ** Permission is granted to anyone to use this software for a...
36.134078
163
0.726964
xctan
ae732aedbc095cf28fe3c5fc8f673ec822ab023a
1,783
hpp
C++
mk-demofw/src/demofw/glfw/MouseProvider.hpp
mpazoscr/computer-graphics
a6c9bf8700161a4243f753a965dfd5f56b195e36
[ "MIT" ]
3
2017-06-21T13:53:20.000Z
2021-12-01T02:49:06.000Z
mk-demofw/src/demofw/glfw/MouseProvider.hpp
mpazoscr/computer-graphics
a6c9bf8700161a4243f753a965dfd5f56b195e36
[ "MIT" ]
null
null
null
mk-demofw/src/demofw/glfw/MouseProvider.hpp
mpazoscr/computer-graphics
a6c9bf8700161a4243f753a965dfd5f56b195e36
[ "MIT" ]
2
2020-03-15T16:14:08.000Z
2021-12-01T02:49:07.000Z
#ifndef SRC_DEMOFW_GLFW_MOUSEPROVIDER_H_ #define SRC_DEMOFW_GLFW_MOUSEPROVIDER_H_ #include "demofw/IMouseProvider.hpp" struct GLFWwindow; namespace mk { namespace demofw { namespace glfw { /** * Interface for a provider of information related to the mouse (i.e. cursor position, scroll positi...
28.301587
124
0.61862
mpazoscr
ae736664ed4c825ec792facbcb7052615f19f65c
986
cpp
C++
Math/Geometry/Andrew.cpp
4eyes4u/Algorithms
afd8363ee39e5b7c499741f56922f16f4f50dc09
[ "MIT" ]
2
2019-02-16T13:13:40.000Z
2019-03-19T20:05:42.000Z
Math/Geometry/Andrew.cpp
4eyes4u/Algorithms
afd8363ee39e5b7c499741f56922f16f4f50dc09
[ "MIT" ]
null
null
null
Math/Geometry/Andrew.cpp
4eyes4u/Algorithms
afd8363ee39e5b7c499741f56922f16f4f50dc09
[ "MIT" ]
1
2020-07-03T06:15:41.000Z
2020-07-03T06:15:41.000Z
/* Name: Convex hull of set of points (Andrew's algorithm) Time complexity: O(N * logN) Space complexity: O(N) */ #include <bits/stdc++.h> using namespace std; struct Point { int x, y; bool operator < (const Point &other) const { if (x == other.x) return y < other.y; ...
20.541667
99
0.51217
4eyes4u
ae780d429d6117f1ee1d5f32f47824c5b85b70c3
4,804
cpp
C++
src/context/decimal_format.cpp
jsoniq/jsoniq
f7af29417f809d64d1f0b2622d880bc4d87f2e42
[ "Apache-2.0" ]
94
2015-01-18T09:40:36.000Z
2022-03-02T21:14:55.000Z
src/context/decimal_format.cpp
jsoniq/jsoniq
f7af29417f809d64d1f0b2622d880bc4d87f2e42
[ "Apache-2.0" ]
72
2015-01-05T22:00:31.000Z
2021-07-17T11:35:03.000Z
src/context/decimal_format.cpp
jsoniq/jsoniq
f7af29417f809d64d1f0b2622d880bc4d87f2e42
[ "Apache-2.0" ]
27
2015-01-18T20:20:54.000Z
2020-11-01T18:01:07.000Z
/* * Copyright 2006-2008 The FLWOR 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 applicable law or...
34.314286
80
0.581391
jsoniq
ae78c20bd794f77559123d884fbb5dfccff7baef
491
cpp
C++
Source/EngineStd/GameAsset/Components/MainComponent.cpp
vivienneanthony/MyForkEditor
273e15ca3610b3d3b68fdf2efbac2ba1b3659e7f
[ "Apache-2.0" ]
2
2015-12-30T00:32:09.000Z
2016-02-27T14:50:06.000Z
Source/EngineStd/GameAsset/Components/MainComponent.cpp
vivienneanthony/MyForkEditor
273e15ca3610b3d3b68fdf2efbac2ba1b3659e7f
[ "Apache-2.0" ]
null
null
null
Source/EngineStd/GameAsset/Components/MainComponent.cpp
vivienneanthony/MyForkEditor
273e15ca3610b3d3b68fdf2efbac2ba1b3659e7f
[ "Apache-2.0" ]
null
null
null
#include "EngineStd.h" #include "MainComponent.h" const String MainComponent::g_Name = String("MainComponent"); MainComponent::MainComponent(Context* context) : LogicComponent(context) { m_CreateMode = Urho3D::CreateMode::LOCAL; } MainComponent::MainComponent() : LogicComponent(g_pApp->GetContext()) { m_CreateMode...
18.884615
72
0.757637
vivienneanthony
ae7b78ec5703fbb0317f34fe6baa79108e516e82
1,285
cpp
C++
intuit_11.cpp
gurleen-kaur1313/6Companies30Days
7e789173dfad08039ca908fbec18cab1a74b4d5f
[ "MIT" ]
null
null
null
intuit_11.cpp
gurleen-kaur1313/6Companies30Days
7e789173dfad08039ca908fbec18cab1a74b4d5f
[ "MIT" ]
null
null
null
intuit_11.cpp
gurleen-kaur1313/6Companies30Days
7e789173dfad08039ca908fbec18cab1a74b4d5f
[ "MIT" ]
null
null
null
/* problem link: https://leetcode.com/problems/construct-quad-tree/ */ class Solution { public: Node* rec_construct(vector<vector<int>>& grid,int row_start,int row_end,int col_start,int col_end,int factor) { int sum=0; for(int i=row_start;i<row_end;i++) { for(int j=col_st...
31.341463
114
0.582879
gurleen-kaur1313
ae7b79845806b7970252a7c00315f93354252b10
4,379
cpp
C++
src/PointwiseFunctions/GeneralRelativity/TimeDerivativeOfSpatialMetric.cpp
nilsvu/spectre
1455b9a8d7e92db8ad600c66f54795c29c3052ee
[ "MIT" ]
1
2022-01-11T00:17:33.000Z
2022-01-11T00:17:33.000Z
src/PointwiseFunctions/GeneralRelativity/TimeDerivativeOfSpatialMetric.cpp
nilsvu/spectre
1455b9a8d7e92db8ad600c66f54795c29c3052ee
[ "MIT" ]
null
null
null
src/PointwiseFunctions/GeneralRelativity/TimeDerivativeOfSpatialMetric.cpp
nilsvu/spectre
1455b9a8d7e92db8ad600c66f54795c29c3052ee
[ "MIT" ]
null
null
null
// Distributed under the MIT License. // See LICENSE.txt for details. #include "PointwiseFunctions/GeneralRelativity/TimeDerivativeOfSpatialMetric.hpp" #include <cmath> #include "DataStructures/Tensor/Tensor.hpp" #include "Utilities/ConstantExpressions.hpp" #include "Utilities/ContainerHelpers.hpp" #include "Utiliti...
48.120879
81
0.610185
nilsvu
ae7dd4364d05f7061b1a37fba0133aac6cda960c
2,191
cpp
C++
libs/Delphi/src/Syntax/DelphiPackageModuleSyntax.cpp
henrikfroehling/interlinck
d9d947b890d9286c6596c687fcfcf016ef820d6b
[ "MIT" ]
null
null
null
libs/Delphi/src/Syntax/DelphiPackageModuleSyntax.cpp
henrikfroehling/interlinck
d9d947b890d9286c6596c687fcfcf016ef820d6b
[ "MIT" ]
19
2021-12-01T20:37:23.000Z
2022-02-14T21:05:43.000Z
libs/Delphi/src/Syntax/DelphiPackageModuleSyntax.cpp
henrikfroehling/interlinck
d9d947b890d9286c6596c687fcfcf016ef820d6b
[ "MIT" ]
null
null
null
#include "Syntax/DelphiPackageModuleSyntax.hpp" #include <cassert> #include <argos-Core/Basic/Macros.hpp> #include <argos-Core/Syntax/SyntaxKinds.hpp> #include "Syntax/DelphiPackageContainsClauseSyntax.hpp" #include "Syntax/DelphiPackageHeadSyntax.hpp" #include "Syntax/DelphiPackageRequiresClauseSyntax.hpp" namespa...
27.049383
118
0.740301
henrikfroehling
ae7f75a5b1f7909a31f3919dcc84fde4398b428c
1,306
hpp
C++
src/dynamics/dynamics_base.hpp
sus304/ForRocket
10fdcd0ce5a30fbbb4fec6315bcd64314bec6c12
[ "MIT" ]
21
2015-12-17T14:19:24.000Z
2021-09-09T07:17:17.000Z
src/dynamics/dynamics_base.hpp
sus304/ForRocket
10fdcd0ce5a30fbbb4fec6315bcd64314bec6c12
[ "MIT" ]
2
2015-12-17T19:45:50.000Z
2021-02-07T05:28:34.000Z
src/dynamics/dynamics_base.hpp
sus304/ForRocket
10fdcd0ce5a30fbbb4fec6315bcd64314bec6c12
[ "MIT" ]
10
2015-12-17T19:13:51.000Z
2021-09-27T01:14:14.000Z
// ****************************************************** // Project Name : ForRocket // File Name : dynamics_base.hpp // Creation Date : 2019/10/20 // // Copyright © 2019 Susumu Tanaka. All rights reserved. // ****************************************************** #ifndef DYNAMICSBASE_HPP_ #define DYNAMICS...
26.12
79
0.614089
sus304
ae83f96a0fc86eb116badc3dfd663c4e957fdfa3
8,181
cpp
C++
lib_graphd/test/VertexWeightedGraphTest.cpp
spowers/INDDGO-survey
860f15376f7be074f47280a74b912a8f0baa37bf
[ "BSD-3-Clause" ]
9
2015-05-30T00:33:04.000Z
2021-04-23T17:19:58.000Z
lib_graphd/test/VertexWeightedGraphTest.cpp
spowers/INDDGO-survey
860f15376f7be074f47280a74b912a8f0baa37bf
[ "BSD-3-Clause" ]
3
2016-03-04T19:46:40.000Z
2017-01-14T13:44:21.000Z
lib_graphd/test/VertexWeightedGraphTest.cpp
spowers/INDDGO-survey
860f15376f7be074f47280a74b912a8f0baa37bf
[ "BSD-3-Clause" ]
5
2015-11-29T08:50:50.000Z
2020-03-14T23:12:22.000Z
/* This file is part of INDDGO. Copyright (C) 2012, Oak Ridge National Laboratory This product includes software produced by UT-Battelle, LLC under Contract No. DE-AC05-00OR22725 with the Department of Energy. This program is free software; you can redistribute it and/or modify it under the terms o...
26.475728
81
0.657988
spowers
ae8725d1e479af05b03f5a184f2042de8093f2d0
1,321
hpp
C++
assignment-8 Indexing/DBManager.hpp
Arda-Bati/RDBMS-Homeworks
e3b121b5d8587552cc7177228ba5a5bea5c2cf68
[ "Apache-2.0" ]
1
2021-04-01T23:45:48.000Z
2021-04-01T23:45:48.000Z
assignment-8 Indexing/DBManager.hpp
Arda-Bati/Relational-Database
e3b121b5d8587552cc7177228ba5a5bea5c2cf68
[ "Apache-2.0" ]
null
null
null
assignment-8 Indexing/DBManager.hpp
Arda-Bati/Relational-Database
e3b121b5d8587552cc7177228ba5a5bea5c2cf68
[ "Apache-2.0" ]
null
null
null
// // DBManager.hpp // Database3 // // Created by rick gessner on 3/25/19. // Copyright © 2019 rick gessner. All rights reserved. // #ifndef DBManager_hpp #define DBManager_hpp #include <stdio.h> #include <string> #include "CommandProcessor.hpp" namespace ECE141 { class Statement; class ...
26.959184
76
0.604845
Arda-Bati
ae89feaca7924b6fa6798c0ba62b566f144525db
2,089
cpp
C++
SimpleCalculator/VerticalExpressionBase.cpp
KeNorizon/SimpleCalculator
3e0cdc9b96d9474f4ff0279612fbd7bbb933306a
[ "BSD-2-Clause" ]
1
2019-10-30T16:16:50.000Z
2019-10-30T16:16:50.000Z
SimpleCalculator/VerticalExpressionBase.cpp
KeNorizon/SimpleCalculator
3e0cdc9b96d9474f4ff0279612fbd7bbb933306a
[ "BSD-2-Clause" ]
null
null
null
SimpleCalculator/VerticalExpressionBase.cpp
KeNorizon/SimpleCalculator
3e0cdc9b96d9474f4ff0279612fbd7bbb933306a
[ "BSD-2-Clause" ]
null
null
null
#include "VerticalExpressionBase.h" #include "HorizontalExpression.h" #include "GlobalMgr.h" VerticalExpressionBase::VerticalExpressionBase(ExpressionBase * parent, int childrenCount) : ExpressionBase(Vertical, parent), ChildrenCount(childrenCount) { ChildrenArray = new HorizontalExpression *[childrenCount]; IsSubE...
23.738636
124
0.732887
KeNorizon
ae9ae93e9c30c37db86757c30e04c42a7fb397ad
2,350
hh
C++
include/algorithm.hh
no111u3/lp_cc_lib
3a8b04da3184870902be4d032fc13b2c6f1a8b52
[ "Apache-2.0" ]
1
2021-01-18T20:49:57.000Z
2021-01-18T20:49:57.000Z
include/algorithm.hh
no111u3/lp_cc_lib
3a8b04da3184870902be4d032fc13b2c6f1a8b52
[ "Apache-2.0" ]
null
null
null
include/algorithm.hh
no111u3/lp_cc_lib
3a8b04da3184870902be4d032fc13b2c6f1a8b52
[ "Apache-2.0" ]
null
null
null
/* Copyright 2018 Boris Vinogradov <no111u3@gmail.com> * * 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 applic...
27.647059
87
0.624681
no111u3
ae9afa23584ccd2cc908c48eabc74580eae64fb8
18,635
cpp
C++
src/ppdlist.cpp
kanait/gmorph
e1461845c56e89221a4cdfb9933f575b456a852c
[ "MIT" ]
11
2019-04-30T17:12:50.000Z
2021-07-28T03:45:17.000Z
src/ppdlist.cpp
kanait/gmorph
e1461845c56e89221a4cdfb9933f575b456a852c
[ "MIT" ]
null
null
null
src/ppdlist.cpp
kanait/gmorph
e1461845c56e89221a4cdfb9933f575b456a852c
[ "MIT" ]
2
2020-09-07T10:15:11.000Z
2021-03-16T12:43:11.000Z
// // ppdlist.cpp // // Copyright (c) 1997-1998 Takashi Kanai // // This software is released under the MIT License. // http://opensource.org/licenses/mit-license.php // #include "stdafx.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif #include <math.h> #include "smd...
24.327676
87
0.462946
kanait
aea03b0f213bcd321974634ec969e0ec7b7d54ef
433
cpp
C++
solutions/953.verifying-an-alien-dictionary.317097291.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
78
2020-10-22T11:31:53.000Z
2022-02-22T13:27:49.000Z
solutions/953.verifying-an-alien-dictionary.317097291.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
null
null
null
solutions/953.verifying-an-alien-dictionary.317097291.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
26
2020-10-23T15:10:44.000Z
2021-11-07T16:13:50.000Z
class Solution { public: bool isAlienSorted(vector<string> &words, string order) { vector<char> inverseMap(256); for (int i = 0; i < 26; i++) { inverseMap[order[i]] = i + 'a'; } for (auto &word : words) { for (auto &c : word) { c = inverseMap[c]; } } for (int i = 1;...
19.681818
59
0.489607
satu0king