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
5cd7ef85cc0f79f1a687a8251f748c188ba13323
774
cpp
C++
C++/Esercizi/pag.154_es.7_.cpp
Daniele-Tentoni/esercizi_ripetizioni
a8b59b4ead3d6a7459103b91c53017a7495d9e82
[ "MIT" ]
null
null
null
C++/Esercizi/pag.154_es.7_.cpp
Daniele-Tentoni/esercizi_ripetizioni
a8b59b4ead3d6a7459103b91c53017a7495d9e82
[ "MIT" ]
null
null
null
C++/Esercizi/pag.154_es.7_.cpp
Daniele-Tentoni/esercizi_ripetizioni
a8b59b4ead3d6a7459103b91c53017a7495d9e82
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main () { int N ; do { cout << "Inserire quantita' di numeri che si vogliono calcolare fino ad un massimo di 100 unita' : " <<endl ; cin >> N ; } while ( N >= 100) ; int numeriInseriti [ N ] ; int numeriElevati [ N ] ; int differenze [ N ] ; for ( int i ...
20.918919
136
0.528424
Daniele-Tentoni
5cdeead0f9a6259ded2b4382a1f9c4f585a51e8b
1,213
cpp
C++
CSES_Problem_Set/Tree_Algorithms/Subtree_Queries.cpp
hoanghai1803/CP_Training
03495a21509fb3ab7fc64674b9a1b0c7d4327ecb
[ "MIT" ]
4
2021-08-25T10:53:32.000Z
2021-09-30T03:25:50.000Z
CSES_Problem_Set/Tree_Algorithms/Subtree_Queries.cpp
hoanghai1803/CP_Training
03495a21509fb3ab7fc64674b9a1b0c7d4327ecb
[ "MIT" ]
null
null
null
CSES_Problem_Set/Tree_Algorithms/Subtree_Queries.cpp
hoanghai1803/CP_Training
03495a21509fb3ab7fc64674b9a1b0c7d4327ecb
[ "MIT" ]
null
null
null
// Author: __BruteForce__ #include <bits/stdc++.h> using namespace std; typedef long long int64; #define MAX_N 200005 int n, q, pos = 0; int val[MAX_N]; int start[MAX_N], finish[MAX_N]; vector<int> adj[MAX_N]; int64 bit[MAX_N]; void update(int p, int v) { for (int i = p; i <= n; i += i & -i) bit[i] += ...
18.378788
69
0.437758
hoanghai1803
5ce55175b543dc77cc188db1e77e36d92efe5302
936
cpp
C++
leetcode/cpp/1024-Video-Stitching.cpp
liu-chunhou/OnlineJudge
b79c8e05acf05411d8cf172214aa42e49cc20867
[ "MIT" ]
null
null
null
leetcode/cpp/1024-Video-Stitching.cpp
liu-chunhou/OnlineJudge
b79c8e05acf05411d8cf172214aa42e49cc20867
[ "MIT" ]
null
null
null
leetcode/cpp/1024-Video-Stitching.cpp
liu-chunhou/OnlineJudge
b79c8e05acf05411d8cf172214aa42e49cc20867
[ "MIT" ]
null
null
null
#include <vector> #include <algorithm> #include <climits> using namespace std; class Solution { public: int videoStitching(vector<vector<int>>& clips, int T) { sort(clips.begin(), clips.end(), cmp); vector<int> dp(clips.size(), INT_MAX); for(int i=0; i<dp.size(); ++i){ if(clips...
29.25
80
0.419872
liu-chunhou
5ce804db7fc3524a82d563a0c1d032abc8d28bf5
385
cpp
C++
dllmain.cpp
KingfuChan/MTEPlugIn-for-EuroScope
b81a3fed2fa040816ac3aa506957e00867a4a8d9
[ "MIT" ]
2
2021-08-20T00:44:45.000Z
2021-08-20T11:58:05.000Z
dllmain.cpp
KingfuChan/MTEPlugIn-for-EuroScope
b81a3fed2fa040816ac3aa506957e00867a4a8d9
[ "MIT" ]
null
null
null
dllmain.cpp
KingfuChan/MTEPlugIn-for-EuroScope
b81a3fed2fa040816ac3aa506957e00867a4a8d9
[ "MIT" ]
null
null
null
// dllmain.cpp #include "pch.h" #include <EuroScopePlugIn.h> #include "MTEPlugin.h" // Interface for EuroScope plugin loading CMTEPlugIn* pMyPlugIn = nullptr; void __declspec (dllexport) EuroScopePlugInInit(EuroScopePlugIn::CPlugIn** ppPlugInInstance) { *ppPlugInInstance = pMyPlugIn = new CMTEPlugIn; } void __decl...
20.263158
64
0.779221
KingfuChan
5cea57b0d14eb3f46355bb2c743f568a69cfd616
1,646
hpp
C++
cpp/lazperf/detail/field_rgb10.hpp
gdt/laz-perf
916901f3583bd858e0e2e0cf4e628f27e78ea5e9
[ "Apache-2.0" ]
null
null
null
cpp/lazperf/detail/field_rgb10.hpp
gdt/laz-perf
916901f3583bd858e0e2e0cf4e628f27e78ea5e9
[ "Apache-2.0" ]
null
null
null
cpp/lazperf/detail/field_rgb10.hpp
gdt/laz-perf
916901f3583bd858e0e2e0cf4e628f27e78ea5e9
[ "Apache-2.0" ]
null
null
null
/* =============================================================================== PROGRAMMERS: martin.isenburg@rapidlasso.com - http://rapidlasso.com uday.karan@gmail.com - Hobu, Inc. COPYRIGHT: (c) 2007-2014, martin isenburg, rapidlasso - tools to catch reality (c) 2014, Uday Verma, Hobu...
22.861111
79
0.652491
gdt
5cead4436e4a6c550ce455ed588ff2c3a115c433
3,618
cc
C++
src/lib/tests/common_test.cc
cstrotm/queryperfpp
9afd7c5aa9dd908897b01e3f8a8686760356fd9b
[ "0BSD" ]
8
2015-12-27T18:44:41.000Z
2021-11-01T21:52:06.000Z
src/lib/tests/common_test.cc
cstrotm/queryperfpp
9afd7c5aa9dd908897b01e3f8a8686760356fd9b
[ "0BSD" ]
3
2016-04-29T14:31:46.000Z
2018-04-13T20:26:52.000Z
src/lib/tests/common_test.cc
cstrotm/queryperfpp
9afd7c5aa9dd908897b01e3f8a8686760356fd9b
[ "0BSD" ]
3
2015-02-06T04:23:59.000Z
2020-04-15T09:12:53.000Z
// Copyright (C) 2012 JINMEI Tatuya // // Permission to use, copy, modify, and/or distribute this software for any // purpose with or without fee is hereby granted, provided that the above // copyright notice and this permission notice appear in all copies. // // THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAI...
38.903226
80
0.70398
cstrotm
5ceebbd0ad1dfd0b01b69773fd8490557562c8ad
2,735
cpp
C++
tests/unit/memory_with_allocator.test.cpp
eullerborges/flexclass
953eb84c5d106bdc1d321c5b979c423097ae50b8
[ "MIT" ]
27
2020-09-18T01:46:13.000Z
2021-10-30T21:33:58.000Z
tests/unit/memory_with_allocator.test.cpp
eullerborges/flexclass
953eb84c5d106bdc1d321c5b979c423097ae50b8
[ "MIT" ]
18
2020-10-01T23:49:26.000Z
2021-10-29T19:36:05.000Z
tests/unit/memory_with_allocator.test.cpp
eullerborges/flexclass
953eb84c5d106bdc1d321c5b979c423097ae50b8
[ "MIT" ]
4
2020-10-02T00:32:06.000Z
2020-10-25T16:26:13.000Z
#include <catch.hpp> #include <flexclass.hpp> #include <cstring> #include <unordered_map> struct AllocTrack { void* allocate(std::size_t sz) { m_allocd += sz; auto mem = ::operator new(sz); m_ptr2sz[(uintptr_t)mem] = sz; return mem; } void deallocate(void* ptr) { ...
23.577586
86
0.609872
eullerborges
5cf22eccaf2239ec953b9e42b226e398da99a1f8
3,701
cpp
C++
src/var_.cpp
hhijazi/PowerTools
daaa2d3e92be452f9c6e77e5c9fc446670fcfc84
[ "Apache-2.0" ]
15
2015-12-03T04:14:56.000Z
2021-09-03T23:56:23.000Z
src/var_.cpp
hhijazi/PowerTools
daaa2d3e92be452f9c6e77e5c9fc446670fcfc84
[ "Apache-2.0" ]
2
2016-05-09T05:27:56.000Z
2016-05-10T11:26:03.000Z
src/var_.cpp
hhijazi/PowerTools
daaa2d3e92be452f9c6e77e5c9fc446670fcfc84
[ "Apache-2.0" ]
11
2015-09-18T12:49:47.000Z
2021-05-20T21:53:26.000Z
// // var_.cpp // PowerTools++ // // Created by Hassan Hijazi on 20/12/2014. // Copyright (c) 2014 NICTA. All rights reserved. // #include <iostream> #include <stdio.h> #include <string> #include "PowerTools++/var.h" #include <PowerTools++/Constraint.h> using namespace std; var_::var_():var_(NULL, -1){}; var_::v...
17.879227
88
0.600919
hhijazi
5cf359b579d2951ae453f5f8eac80926e15aa167
4,098
cpp
C++
platforms/linux/Sem.cpp
ICESat2-SlideRule/sliderule
90776d7e174e151c5806077001f5f9c21ef81f48
[ "BSD-3-Clause" ]
2
2021-05-06T19:56:26.000Z
2021-05-27T16:41:56.000Z
platforms/linux/Sem.cpp
ICESat2-SlideRule/sliderule
90776d7e174e151c5806077001f5f9c21ef81f48
[ "BSD-3-Clause" ]
54
2021-03-30T18:45:12.000Z
2022-03-17T20:13:04.000Z
platforms/linux/Sem.cpp
ICESat2-SlideRule/sliderule
90776d7e174e151c5806077001f5f9c21ef81f48
[ "BSD-3-Clause" ]
1
2021-05-14T16:34:08.000Z
2021-05-14T16:34:08.000Z
/* * Copyright (c) 2021, University of Washington * 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...
33.867769
80
0.487555
ICESat2-SlideRule
5cf5939f1184fc57a929bf4079a75277e251615c
1,283
cpp
C++
AtCoder/ABC156/Bouquet/main.cpp
t-mochizuki/cpp-study
df0409c2e82d154332cb2424c7810370aa9822f9
[ "MIT" ]
1
2020-05-24T02:27:05.000Z
2020-05-24T02:27:05.000Z
AtCoder/ABC156/Bouquet/main.cpp
t-mochizuki/cpp-study
df0409c2e82d154332cb2424c7810370aa9822f9
[ "MIT" ]
null
null
null
AtCoder/ABC156/Bouquet/main.cpp
t-mochizuki/cpp-study
df0409c2e82d154332cb2424c7810370aa9822f9
[ "MIT" ]
null
null
null
#include <stdio.h> #include <iostream> #include <fstream> #define DEV 1 using std::cin; using std::cout; using std::endl; using std::terminate; template<class T> inline T pow(T base, T exponent, T mod) { if (exponent == 0) return 1; if (exponent % 2 == 1) { return base * pow(base, exponent - 1, mod)...
16.448718
59
0.423227
t-mochizuki
5cf6d19204377680799ad3b8f7702a19d681c449
598
cc
C++
raytracer_oneweek/src/generate-ppm.cc
yans0ng/computer-graphics-is-fun
91667479e79968cdbc08de47f7fc91e8c42c600f
[ "MIT" ]
null
null
null
raytracer_oneweek/src/generate-ppm.cc
yans0ng/computer-graphics-is-fun
91667479e79968cdbc08de47f7fc91e8c42c600f
[ "MIT" ]
null
null
null
raytracer_oneweek/src/generate-ppm.cc
yans0ng/computer-graphics-is-fun
91667479e79968cdbc08de47f7fc91e8c42c600f
[ "MIT" ]
null
null
null
#include <fstream> int main() { const int nx = 200; const int ny = 100; std::ofstream image("hello.ppm"); image << "P3\n" << nx << " " << ny << "\n255\n"; for (int j = ny - 1; j >= 0; j--) { for (int i = 0; i < nx; i++) { float r = static_cast<float>(i) / static_cast<float>(nx); float g = sta...
28.47619
63
0.496656
yans0ng
9dc9e00a80bca5eab7ee6ad660e9cdf192e25980
387
hpp
C++
alphavantagecpp/include/alphavantagecpp/api/forex/FX_DAILY.hpp
mesinger/alphavantagecpp
2e97d602be6677f99ccff4fc241955f6e5a6dbb8
[ "MIT" ]
2
2019-11-05T22:15:09.000Z
2019-11-08T09:09:01.000Z
alphavantagecpp/include/alphavantagecpp/api/forex/FX_DAILY.hpp
mesinger/alphavantagecpp
2e97d602be6677f99ccff4fc241955f6e5a6dbb8
[ "MIT" ]
1
2019-11-10T14:34:45.000Z
2019-11-10T14:34:45.000Z
alphavantagecpp/include/alphavantagecpp/api/forex/FX_DAILY.hpp
mesinger/alphavantagecpp
2e97d602be6677f99ccff4fc241955f6e5a6dbb8
[ "MIT" ]
null
null
null
#pragma once #include "alphavantagecpp/api/AlphaVantageRequest.hpp" namespace av { class FX_DAILY : public AlphaVantageRequest { public: FX_DAILY(const std::string& from_symbol, const std::string& to_symbol, const std::string& key, const std::string& outputsize = API_OUTPUTSIZE_COMPACT, const std::string& data...
24.1875
202
0.754522
mesinger
9dcb155dfbe089a24669823e6d24875ad7a3545d
8,022
cpp
C++
test/wait_multiplexer_test.cpp
taylorb-microsoft/winss
ede93f84a5d9585502db5190f2ec6365858f695a
[ "Apache-2.0" ]
52
2017-01-05T23:39:38.000Z
2020-06-04T03:00:11.000Z
test/wait_multiplexer_test.cpp
morganstanley/winss
ede93f84a5d9585502db5190f2ec6365858f695a
[ "Apache-2.0" ]
24
2017-01-05T05:07:34.000Z
2018-03-09T00:50:58.000Z
test/wait_multiplexer_test.cpp
morganstanley/winss
ede93f84a5d9585502db5190f2ec6365858f695a
[ "Apache-2.0" ]
7
2016-12-27T20:55:20.000Z
2018-03-09T00:32:19.000Z
/* * Copyright 2016-2017 Morgan Stanley * * 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 i...
30.044944
74
0.705061
taylorb-microsoft
9de05338670faed0ba4acde4c12f4500001a0cca
1,614
cpp
C++
Codeforces-Gym/102082A/implementation.cpp
codgician/ACM
391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4
[ "MIT" ]
2
2018-02-14T01:59:31.000Z
2018-03-28T03:30:45.000Z
Codeforces-Gym/102082A/implementation.cpp
codgician/ACM
391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4
[ "MIT" ]
null
null
null
Codeforces-Gym/102082A/implementation.cpp
codgician/ACM
391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4
[ "MIT" ]
2
2017-12-30T02:46:35.000Z
2018-03-28T03:30:49.000Z
#include <bits/stdc++.h> using namespace std; #define SIZE 1010 vector<string> arr[SIZE]; bool cmp(const vector<string> & fst, const vector<string> & snd) { const auto isNum = [](const string & s) { return s[0] >= '0' && s[0] <= '9'; }; int siz = min(fst.size(), snd.size()); for (int i = 0; ...
29.345455
84
0.401487
codgician
9de5e902a4607854c3bc230c02958dbf367c35cf
22
cpp
C++
src/ErrLib.cpp
TechnikJ/ErrLib
eb2bd9d2b9a01b766a6363e5da737cdc64127940
[ "MIT" ]
null
null
null
src/ErrLib.cpp
TechnikJ/ErrLib
eb2bd9d2b9a01b766a6363e5da737cdc64127940
[ "MIT" ]
null
null
null
src/ErrLib.cpp
TechnikJ/ErrLib
eb2bd9d2b9a01b766a6363e5da737cdc64127940
[ "MIT" ]
null
null
null
#include "ErrLib.hpp"
11
21
0.727273
TechnikJ
9de7ddc7bd36ff6e2b93f967f0a59f43f57cf068
716
cpp
C++
Neural/src/Neural/Renderer/Renderer.cpp
cypexxjulius/Neural
34f2ff2128a530f0952f18d13b22dc5d8b935db8
[ "Apache-2.0" ]
null
null
null
Neural/src/Neural/Renderer/Renderer.cpp
cypexxjulius/Neural
34f2ff2128a530f0952f18d13b22dc5d8b935db8
[ "Apache-2.0" ]
null
null
null
Neural/src/Neural/Renderer/Renderer.cpp
cypexxjulius/Neural
34f2ff2128a530f0952f18d13b22dc5d8b935db8
[ "Apache-2.0" ]
null
null
null
#include "nlpch.h" #include "OrthographicCamera.h" #include "VertexArray.h" #include "Shader.h" #include "Renderer.h" namespace Neural { Renderer::SceneData* Renderer::s_SceneData = new Renderer::SceneData(); void Renderer::beginScene(OrthographicCamera& camera) { s_SceneData->ViewProjMatrix = camera.getViewP...
23.096774
114
0.747207
cypexxjulius
9de83bffddba5a98e8c9d991b51dc1427923ad7d
486
cpp
C++
tests/layer.cpp
thechrisyoon08/NeuralNetworks
b47eb6425341c0d0e8278431aaf8b64143ce921f
[ "MIT" ]
1
2018-12-30T05:11:59.000Z
2018-12-30T05:11:59.000Z
tests/layer.cpp
thechrisyoon08/sANNity
b47eb6425341c0d0e8278431aaf8b64143ce921f
[ "MIT" ]
null
null
null
tests/layer.cpp
thechrisyoon08/sANNity
b47eb6425341c0d0e8278431aaf8b64143ce921f
[ "MIT" ]
null
null
null
#include "../include/layer.h" #include <iostream> #include <vector> int main(){ neuralnet::Layer one(3, 4, "linear", "glorot"); neuralnet::Layer two(4, 3, "linear", "glorot"); std::vector<double> input = {0.3, 0.3, 1.0}; one.feed(input); std::cout << "\n"; one.pass_forward(two); std::cout <...
25.578947
51
0.545267
thechrisyoon08
9df4ef4884be5f36159cb4f228ee0abe52d4865a
18,017
cpp
C++
MetroChart.cpp
majioa/metro
a75426fdbc23569330be842cb1f3b3fd8b2178a9
[ "MIT" ]
null
null
null
MetroChart.cpp
majioa/metro
a75426fdbc23569330be842cb1f3b3fd8b2178a9
[ "MIT" ]
null
null
null
MetroChart.cpp
majioa/metro
a75426fdbc23569330be842cb1f3b3fd8b2178a9
[ "MIT" ]
null
null
null
//--------------------------------------------------------------------------- #include <vcl.h> #pragma hdrstop #include "MetroChart.h" #pragma package(smart_init) //--------------------------------------------------------------------------- // ValidCtrCheck is used to assure that the components created do not...
35.962076
181
0.546206
majioa
9df64fb4a86a6e9eca441217b5ce8707fb221dc7
3,780
cpp
C++
main_app/src/mainapp.cpp
cracked-machine/BassStationSequencerSW
aefe63fa85440165dceb9cef65ec1a68a514ec02
[ "MIT" ]
null
null
null
main_app/src/mainapp.cpp
cracked-machine/BassStationSequencerSW
aefe63fa85440165dceb9cef65ec1a68a514ec02
[ "MIT" ]
21
2021-12-12T10:19:07.000Z
2022-03-11T13:42:13.000Z
main_app/src/mainapp.cpp
cracked-machine/BassStationSequencerSW
aefe63fa85440165dceb9cef65ec1a68a514ec02
[ "MIT" ]
null
null
null
// MIT License // Copyright (c) 2022 Chris Sutton // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, me...
30.983607
98
0.749735
cracked-machine
9df76540d7179aaef4dc1250d4c396d84784ab38
2,665
cpp
C++
src/OpcUaStackCore/Utility/CSV.cpp
gianricardo/OpcUaStack
ccdef574175ffe8b7e82b886abc5e5403968b280
[ "Apache-2.0" ]
108
2018-10-08T17:03:32.000Z
2022-03-21T00:52:26.000Z
src/OpcUaStackCore/Utility/CSV.cpp
gianricardo/OpcUaStack
ccdef574175ffe8b7e82b886abc5e5403968b280
[ "Apache-2.0" ]
287
2018-09-18T14:59:12.000Z
2022-01-13T12:28:23.000Z
src/OpcUaStackCore/Utility/CSV.cpp
gianricardo/OpcUaStack
ccdef574175ffe8b7e82b886abc5e5403968b280
[ "Apache-2.0" ]
32
2018-10-19T14:35:03.000Z
2021-11-12T09:36:46.000Z
/* Copyright 2016 Kai Huebl (kai@huebl-sgh.de) Lizenziert gemäß Apache Licence Version 2.0 (die „Lizenz“); Nutzung dieser Datei nur in Übereinstimmung mit der Lizenz erlaubt. Eine Kopie der Lizenz erhalten Sie auf http://www.apache.org/licenses/LICENSE-2.0. Sofern nicht gemäß geltendem Recht vorgeschri...
20.343511
86
0.660788
gianricardo
9df95a8f14f8281fad16d08d19df2f078ae04ada
1,357
cpp
C++
lemonade2.3 (OrderManager)/OrderManager.cpp
sspony/stuff
25ab31954873cbbcfec6bf6dcb688e6433891f4e
[ "MIT" ]
null
null
null
lemonade2.3 (OrderManager)/OrderManager.cpp
sspony/stuff
25ab31954873cbbcfec6bf6dcb688e6433891f4e
[ "MIT" ]
null
null
null
lemonade2.3 (OrderManager)/OrderManager.cpp
sspony/stuff
25ab31954873cbbcfec6bf6dcb688e6433891f4e
[ "MIT" ]
null
null
null
#include "orderManager.h" OrderManager::OrderManager(std::vector<std::vector<std::string>>& csvData) { if (ITEM_LOG) std::clog << "\n\n***** [INFO] - OrderManager.cpp - OrderManager(....) START\n"; for (auto row : csvData) { try { orderList.push_back(std::move(Order(row))); } catch (const std:...
25.603774
131
0.551953
sspony
9dfef309c7718711bf3750e3a46ccae911a0c580
3,673
cpp
C++
mysqlparser/base/profiling.cpp
aasthakm/qapla
f98ca92adbca75fee28587e540b8c851809c7a62
[ "BSD-4-Clause" ]
4
2020-12-13T15:02:40.000Z
2021-07-16T06:23:38.000Z
mysqlparser/base/profiling.cpp
aasthakm/qapla
f98ca92adbca75fee28587e540b8c851809c7a62
[ "BSD-4-Clause" ]
null
null
null
mysqlparser/base/profiling.cpp
aasthakm/qapla
f98ca92adbca75fee28587e540b8c851809c7a62
[ "BSD-4-Clause" ]
null
null
null
/* * Copyright (c) 2009, 2012, Oracle and/or its affiliates. All rights reserved. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; version 2 of the * License. * * This program is dist...
27.616541
105
0.544242
aasthakm
3b05356b87afe0ff0801412838c6c00b0dcea67c
33
cpp
C++
src/engine/flat_base.cpp
tanaka141/c10t
3cc0ac4cdb7f09767d16632539db747be8a3eb21
[ "BSD-3-Clause" ]
48
2015-01-27T15:18:23.000Z
2022-02-12T16:26:18.000Z
src/engine/flat_base.cpp
tanaka141/c10t
3cc0ac4cdb7f09767d16632539db747be8a3eb21
[ "BSD-3-Clause" ]
17
2015-12-16T04:26:12.000Z
2022-02-09T07:52:19.000Z
src/engine/flat_base.cpp
tanaka141/c10t
3cc0ac4cdb7f09767d16632539db747be8a3eb21
[ "BSD-3-Clause" ]
14
2015-01-16T00:15:44.000Z
2022-03-21T08:36:02.000Z
#include "engine/flat_base.hpp"
11
31
0.757576
tanaka141
3b09664ea655aaff9008427a637829297e6aefe4
48,726
cpp
C++
compiler/codegen_llvm/lib/lumen/EIR/IR/EIROps.cpp
Tuxified/lumen
e0683aa6de440d1dfd8b7e590ab9742c0d1429b7
[ "Apache-2.0" ]
null
null
null
compiler/codegen_llvm/lib/lumen/EIR/IR/EIROps.cpp
Tuxified/lumen
e0683aa6de440d1dfd8b7e590ab9742c0d1429b7
[ "Apache-2.0" ]
null
null
null
compiler/codegen_llvm/lib/lumen/EIR/IR/EIROps.cpp
Tuxified/lumen
e0683aa6de440d1dfd8b7e590ab9742c0d1429b7
[ "Apache-2.0" ]
null
null
null
#include "lumen/EIR/IR/EIROps.h" #include "lumen/EIR/IR/EIRAttributes.h" #include "lumen/EIR/IR/EIRTypes.h" #include "mlir/Dialect/StandardOps/IR/Ops.h" #include "mlir/IR/Attributes.h" #include "mlir/IR/Builders.h" #include "mlir/IR/Diagnostics.h" #include "mlir/IR/FunctionImplementation.h" #include "mlir/IR/Matchers....
39.16881
80
0.627878
Tuxified
3b09f701844df2680a34a670cdd5bc400ebc5d6f
2,312
cpp
C++
lib/src/Delphi/Syntax/Expressions/DelphiAssignmentExpressionSyntax.cpp
henrikfroehling/polyglot
955fb37c2f54ebbaf933c16bf9e0e4bcca8a4142
[ "MIT" ]
null
null
null
lib/src/Delphi/Syntax/Expressions/DelphiAssignmentExpressionSyntax.cpp
henrikfroehling/polyglot
955fb37c2f54ebbaf933c16bf9e0e4bcca8a4142
[ "MIT" ]
50
2021-06-30T20:01:50.000Z
2021-11-28T16:21:26.000Z
lib/src/Delphi/Syntax/Expressions/DelphiAssignmentExpressionSyntax.cpp
henrikfroehling/polyglot
955fb37c2f54ebbaf933c16bf9e0e4bcca8a4142
[ "MIT" ]
null
null
null
#include "Delphi/Syntax/Expressions/DelphiAssignmentExpressionSyntax.hpp" #include <cassert> #include "interlinck/Core/Syntax/ISyntaxToken.hpp" #include "interlinck/Core/Syntax/SyntaxKinds.hpp" #include "Core/Support/SyntaxFactory.hpp" namespace interlinck::Delphi::Syntax { using Core::Support::SyntaxFactory; using n...
42.814815
136
0.660035
henrikfroehling
3b0a007766c0ce9bd10a33233ea1f12ada2d030d
1,526
cpp
C++
Nowcoder/890A/dp.cpp
codgician/ACM
391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4
[ "MIT" ]
2
2018-02-14T01:59:31.000Z
2018-03-28T03:30:45.000Z
Nowcoder/890A/dp.cpp
codgician/ACM
391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4
[ "MIT" ]
null
null
null
Nowcoder/890A/dp.cpp
codgician/ACM
391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4
[ "MIT" ]
2
2017-12-30T02:46:35.000Z
2018-03-28T03:30:49.000Z
#include <bits/stdc++.h> using namespace std; #define SIZE 510 int arr[SIZE]; double dp[2][SIZE][SIZE], dp1[SIZE][SIZE]; int main() { ios::sync_with_stdio(false); cin.tie(0); cout.tie(0); int len, lowLim, uppLim; cin >> len >> lowLim >> uppLim; for (int i = 1; i <= len; i++) ...
31.791667
92
0.385321
codgician
3b11268763ec5d19dd4911723548dc1ea738580b
441
cpp
C++
luahost/main.cpp
motoyang/spdlogger4Lua
97e2dde72ca04e80aa1fbe8eba42daeb059dd518
[ "MIT" ]
null
null
null
luahost/main.cpp
motoyang/spdlogger4Lua
97e2dde72ca04e80aa1fbe8eba42daeb059dd518
[ "MIT" ]
null
null
null
luahost/main.cpp
motoyang/spdlogger4Lua
97e2dde72ca04e80aa1fbe8eba42daeb059dd518
[ "MIT" ]
null
null
null
#include "luahost_global.h" void lua_test1() { auto ls = Luapp::create(); ls->openLibs(); // 执行auto1.lua中定义的函数f ls->doFile("auto1.lua"); ls->dispatchToLua2("f", 1, 2.2, "3.3"); // 取回lua中函数f的执行结果 std::string resutl; ls->popN(resutl); std::cout << "this is c function: " << resutl <...
16.333333
63
0.569161
motoyang
3b16643df4e3eb0d916c11c50d2663a6ce64b818
566
cpp
C++
ch10/GuiTest/testableform.cpp
cjchng/Computer-Vision-with-OpenCV-3-and-Qt5
816dc4d827fcef91012bcf6804f086fafa0b74dc
[ "MIT" ]
273
2017-10-20T15:43:15.000Z
2022-03-29T14:56:45.000Z
ch10/GuiTest/testableform.cpp
cjchng/Computer-Vision-with-OpenCV-3-and-Qt5
816dc4d827fcef91012bcf6804f086fafa0b74dc
[ "MIT" ]
14
2018-01-27T00:19:18.000Z
2020-08-18T08:30:32.000Z
ch10/GuiTest/testableform.cpp
cjchng/Computer-Vision-with-OpenCV-3-and-Qt5
816dc4d827fcef91012bcf6804f086fafa0b74dc
[ "MIT" ]
169
2017-11-24T11:47:29.000Z
2022-03-21T12:54:47.000Z
#include "testableform.h" #include "ui_testableform.h" TestableForm::TestableForm(QWidget *parent) : QWidget(parent), ui(new Ui::TestableForm) { ui->setupUi(this); this->nextBtn = ui->nextBtn; this->infoLabel = ui->infoLabel; } TestableForm::~TestableForm() { delete ui; } void TestableForm::...
18.258065
53
0.611307
cjchng
3b21b9ea32d42ab68a8dad610d2bb7693fd0a746
1,317
cpp
C++
include/src/auton.cpp
Mao-Zedong1893/2019-2020-tower-takeover
6733b6e4780cb2230e9b5ca78747f167eb9f5d70
[ "MIT" ]
null
null
null
include/src/auton.cpp
Mao-Zedong1893/2019-2020-tower-takeover
6733b6e4780cb2230e9b5ca78747f167eb9f5d70
[ "MIT" ]
null
null
null
include/src/auton.cpp
Mao-Zedong1893/2019-2020-tower-takeover
6733b6e4780cb2230e9b5ca78747f167eb9f5d70
[ "MIT" ]
null
null
null
#include "main.h" #include "globals.hpp" #include "tray.h" #include "auton.hpp" void moveStaight(float objective) { int tickDistance = (objective/12.6)*900; while (rightFront.get_position () > objective) { pros::delay(10); leftBack.move_velocity(100); leftFront.move_velocity(100); rightBack.move_v...
19.367647
50
0.678815
Mao-Zedong1893
3b21fef232552c1f7d6603364ef84e7c25f1359e
2,691
hpp
C++
ublox_dgnss_node/include/ublox_dgnss_node/ubx/nav/ubx_nav_posllh.hpp
wouter-heerwegh/ublox_dgnss
31acafc8a71dfba639c4b6cd96c6ae617d2fad17
[ "Apache-2.0" ]
2
2021-07-21T20:03:21.000Z
2022-01-10T02:51:24.000Z
ublox_dgnss_node/include/ublox_dgnss_node/ubx/nav/ubx_nav_posllh.hpp
rossvonfange/ublox_dgnss
bb2b4829b8180fae05d6f8f9a0c6f04f072e356d
[ "Apache-2.0" ]
2
2021-07-21T16:38:26.000Z
2021-10-12T06:39:37.000Z
ublox_dgnss_node/include/ublox_dgnss_node/ubx/nav/ubx_nav_posllh.hpp
rossvonfange/ublox_dgnss
bb2b4829b8180fae05d6f8f9a0c6f04f072e356d
[ "Apache-2.0" ]
2
2021-09-10T14:11:01.000Z
2022-01-10T19:33:34.000Z
// Copyright 2021 Australian Robotics Supplies & Technology // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by a...
32.421687
75
0.668525
wouter-heerwegh
3b26ae330c4ccb3c928aac89c120041017df918b
961
hpp
C++
include/Nemu/WebFramework/Views.hpp
nemu-cpp/web-server
353ba231bc42c72e69f82ddbb7ae2ffbb5cbb97f
[ "MIT" ]
null
null
null
include/Nemu/WebFramework/Views.hpp
nemu-cpp/web-server
353ba231bc42c72e69f82ddbb7ae2ffbb5cbb97f
[ "MIT" ]
null
null
null
include/Nemu/WebFramework/Views.hpp
nemu-cpp/web-server
353ba231bc42c72e69f82ddbb7ae2ffbb5cbb97f
[ "MIT" ]
null
null
null
/* Copyright (c) 2019-2022 Xavier Leclercq Released under the MIT License See https://github.com/nemu-cpp/web-framework/blob/main/LICENSE.txt */ #ifndef _NEMU_CPP_WEBFRAMEWORK_VIEWS_HPP_ #define _NEMU_CPP_WEBFRAMEWORK_VIEWS_HPP_ #include "TemplateEngine.hpp" #include "TemplateEngineProfile.hpp" #include <...
24.641026
86
0.764828
nemu-cpp
3b2747c81729794c87adf3375c1dd4ded79070d9
6,202
cpp
C++
basecode/compiler/elements/argument_list.cpp
Alaboudi1/bootstrap
4ec4629424ad6fe70c84d95d79b2132f24832379
[ "MIT" ]
32
2018-05-14T23:26:54.000Z
2020-06-14T10:13:20.000Z
basecode/compiler/elements/argument_list.cpp
Alaboudi1/bootstrap
4ec4629424ad6fe70c84d95d79b2132f24832379
[ "MIT" ]
79
2018-08-01T11:50:45.000Z
2020-11-17T13:40:06.000Z
basecode/compiler/elements/argument_list.cpp
Alaboudi1/bootstrap
4ec4629424ad6fe70c84d95d79b2132f24832379
[ "MIT" ]
14
2021-01-08T05:05:19.000Z
2022-03-27T14:56:56.000Z
// ---------------------------------------------------------------------------- // // Basecode Bootstrap Compiler // Copyright (C) 2018 Jeff Panici // All rights reserved. // // This software source file is licensed under the terms of MIT license. // For details, please read the LICENSE file. // // --------------------...
31.323232
105
0.564495
Alaboudi1
3b370e9bb67836d1d3e4c8a5e2246318199be1ef
2,346
cpp
C++
SampleGame/Shrektris/Server.cpp
Mr-1337/CAGE
e99082676e83cc069ebf0859fcb34e5b96712725
[ "MIT" ]
null
null
null
SampleGame/Shrektris/Server.cpp
Mr-1337/CAGE
e99082676e83cc069ebf0859fcb34e5b96712725
[ "MIT" ]
null
null
null
SampleGame/Shrektris/Server.cpp
Mr-1337/CAGE
e99082676e83cc069ebf0859fcb34e5b96712725
[ "MIT" ]
1
2019-06-16T19:00:31.000Z
2019-06-16T19:00:31.000Z
#include "Server.hpp" #include "Lobby.hpp" #include "Gameplay.hpp" void Server::processPacket(UDPpacket* packet) { bool val = false; using namespace cage::networking::packets; using namespace cage::networking; unsigned char* bytes = packet->data; std::cout << "got packets\n\n"; switch ((PacketType)bytes[0]) ...
22.342857
124
0.702046
Mr-1337
3b385a4fdb3c2d032b8bbbca10e99d8246155de2
1,348
cpp
C++
Source/RPG/RPGGameInstance.cpp
oxmoss/TutoRPGUE
f19a279bc11052de85d388ebe53656ecd43a5027
[ "MIT" ]
null
null
null
Source/RPG/RPGGameInstance.cpp
oxmoss/TutoRPGUE
f19a279bc11052de85d388ebe53656ecd43a5027
[ "MIT" ]
null
null
null
Source/RPG/RPGGameInstance.cpp
oxmoss/TutoRPGUE
f19a279bc11052de85d388ebe53656ecd43a5027
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "RPGGameInstance.h" void URPGGameInstance::Init() { if(this->isInitialized) return; this->isInitialized = true; this->PartyMembers.Empty(); // locate characters asset UDataTable* characters = Cast<UDataTable>(StaticLoadOb...
25.433962
180
0.717359
oxmoss
3b3875a0350a152029346ce1581512ebd3eafffa
7,736
cpp
C++
src/prod/src/Store/StoreFactory.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
1
2020-06-15T04:33:36.000Z
2020-06-15T04:33:36.000Z
src/prod/src/Store/StoreFactory.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
null
null
null
src/prod/src/Store/StoreFactory.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
null
null
null
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ #include "stdafx.h" using nam...
33.059829
134
0.62668
vishnuk007
3b42d6a331948f8c24427f2268dd26920f63756f
1,931
cc
C++
count/empirical_data_test.cc
hmusta/libcount
5208c9fccb97e7eae089740a70f9f3ad82ae3ac1
[ "Apache-2.0" ]
20
2017-01-17T11:57:46.000Z
2022-02-19T01:24:03.000Z
count/empirical_data_test.cc
hmusta/libcount
5208c9fccb97e7eae089740a70f9f3ad82ae3ac1
[ "Apache-2.0" ]
3
2016-01-30T18:49:48.000Z
2017-03-07T18:17:33.000Z
count/empirical_data_test.cc
hmusta/libcount
5208c9fccb97e7eae089740a70f9f3ad82ae3ac1
[ "Apache-2.0" ]
4
2016-01-30T18:43:10.000Z
2020-02-22T09:03:25.000Z
// Copyright 2015 The libcount 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 agre...
34.482143
77
0.706888
hmusta
3b4389f9f98c323f7fbca4e9591af692afb0f075
217
cpp
C++
android-31/android/provider/Telephony.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-31/android/provider/Telephony.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-29/android/provider/Telephony.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#include "./Telephony.hpp" namespace android::provider { // Fields // QJniObject forward Telephony::Telephony(QJniObject obj) : JObject(obj) {} // Constructors // Methods } // namespace android::provider
14.466667
55
0.691244
YJBeetle
8dc7d438cc625a211906a4000fb850da04d38323
2,251
cpp
C++
Source/Visualizers/VisualizerWaveform.cpp
MatthewCech/ASCIIPlayer
8c0948fcf10320f156fdecb34a526cf71f9484f9
[ "BSD-3-Clause" ]
5
2018-02-03T19:49:30.000Z
2020-09-07T12:29:19.000Z
Source/Visualizers/VisualizerWaveform.cpp
MatthewCech/ASCIIPlayer
8c0948fcf10320f156fdecb34a526cf71f9484f9
[ "BSD-3-Clause" ]
9
2018-02-27T06:37:12.000Z
2020-03-25T05:43:56.000Z
Source/Visualizers/VisualizerWaveform.cpp
MatthewCech/ASCIIPlayer
8c0948fcf10320f156fdecb34a526cf71f9484f9
[ "BSD-3-Clause" ]
2
2018-02-09T06:47:21.000Z
2019-05-12T07:04:01.000Z
#include "VisualizerWaveform.hpp" #include <Core\AudioSystem.hpp> namespace ASCIIPlayer { // Constructor VisualizerWaveform::VisualizerWaveform() : ASCIIVisualizer(CONSOLE_WIDTH_FUNC, AUDIODATA_WAVEFORM) , startingWidth_(CONSOLE_WIDTH_FUNC) , width_(startingWidth_) , height_(CONSOLE_HEIGHT_FUNC) ...
37.516667
173
0.666371
MatthewCech
8dcb96f88cc32640d0f188192200e2345d7d29ab
1,363
cpp
C++
15/15.42/main.cpp
kousikpramanik/C-_Primer_5th
e21fb665f04b26193fc13f9c2c263b782aea3f3c
[ "MIT" ]
null
null
null
15/15.42/main.cpp
kousikpramanik/C-_Primer_5th
e21fb665f04b26193fc13f9c2c263b782aea3f3c
[ "MIT" ]
2
2020-08-15T17:33:00.000Z
2021-07-05T14:18:26.000Z
15/15.42/main.cpp
kousikpramanik/C-_Primer_5th
e21fb665f04b26193fc13f9c2c263b782aea3f3c
[ "MIT" ]
1
2020-08-15T17:24:54.000Z
2020-08-15T17:24:54.000Z
#include <iostream> #include <cstdlib> #include <fstream> #include "TextQuery.h" #include <vector> #include "Query.h" #include <string> #include "Query_parser.h" #include <utility> #include <stdexcept> int main(int argc, char *argv[]) { if (argc != 2) { std::cerr << "USAGE: " << argv[0] << " [FILE]\n"; ...
31.697674
91
0.596478
kousikpramanik
8dd4142d71c7aff9701617d4aea6421d6c0dab3d
463
cpp
C++
lib/src/btj_global_pointers.cpp
GValiente/botijo
ed00a2843e65a489febb838e452790db8e4ec2c8
[ "MIT" ]
1
2020-11-17T09:07:26.000Z
2020-11-17T09:07:26.000Z
lib/src/btj_global_pointers.cpp
GValiente/botijo
ed00a2843e65a489febb838e452790db8e4ec2c8
[ "MIT" ]
null
null
null
lib/src/btj_global_pointers.cpp
GValiente/botijo
ed00a2843e65a489febb838e452790db8e4ec2c8
[ "MIT" ]
1
2018-11-15T08:23:11.000Z
2018-11-15T08:23:11.000Z
/* * botijo (c) 2018 Gustavo Valiente gustavo.valiente.m@gmail.com * * MIT License, see LICENSE file. */ #include "btj_global_pointers.h" #include "btj_graphics_impl.h" namespace btj { GlobalPointers gb; void GlobalPointers::setup(Core* _core, GraphicsImpl* _graphics, KeyboardImpl* _keyboard) noexcept { c...
17.807692
98
0.706263
GValiente
8ddb1eefbaa49f99581ee9a277aa72d843cf64ea
2,888
cpp
C++
receivefile.cpp
shuzibanshou/woniu
c668ec81813207473f366248f21e7a39e246c32c
[ "MIT" ]
null
null
null
receivefile.cpp
shuzibanshou/woniu
c668ec81813207473f366248f21e7a39e246c32c
[ "MIT" ]
null
null
null
receivefile.cpp
shuzibanshou/woniu
c668ec81813207473f366248f21e7a39e246c32c
[ "MIT" ]
null
null
null
#include "receivefile.h" #include "ui_receivefile.h" receiveFile::receiveFile(QWidget *parent) : QDialog(parent),ui(new Ui::Dialog) { //ui一定要记得初始化 ui->setupUi(this); //禁用窗口右上角关闭按钮 //this->setWindowFlag(Qt::WindowCloseButtonHint, false); connect(this, SIGNAL(acceptFile()), parent, SLOT(acceptFile())...
22.215385
108
0.66759
shuzibanshou
8ddd1b8998321dc6e68d8528ae3b071036d83f0a
249
cpp
C++
MonteCarlo_option_obj/EuroCall.cpp
harshvardhan-ranvir-singh/CPP-Design-For-Quantitative-Finance
7d42fef013768d1520cf6f3fc4a642ea2ab2deae
[ "MIT" ]
null
null
null
MonteCarlo_option_obj/EuroCall.cpp
harshvardhan-ranvir-singh/CPP-Design-For-Quantitative-Finance
7d42fef013768d1520cf6f3fc4a642ea2ab2deae
[ "MIT" ]
null
null
null
MonteCarlo_option_obj/EuroCall.cpp
harshvardhan-ranvir-singh/CPP-Design-For-Quantitative-Finance
7d42fef013768d1520cf6f3fc4a642ea2ab2deae
[ "MIT" ]
1
2021-09-22T12:18:45.000Z
2021-09-22T12:18:45.000Z
// // Created by Harshvardhan Singh on 23/10/2021. // #include "EuroCall.h" #include <algorithm> // for std::max EuroCall::EuroCall(double X, double T) : X_(X), T_(T) {} double EuroCall::ComputePO(double S) { return std::max(0.0, S - X_); }
16.6
56
0.64257
harshvardhan-ranvir-singh
8dde5800aa8ff2b8719c920b08f09548dc663083
6,605
hpp
C++
Result.hpp
mercere99/Wordle
cbfc104f049f0737422d3f90e3decfb96df8e8e0
[ "MIT" ]
null
null
null
Result.hpp
mercere99/Wordle
cbfc104f049f0737422d3f90e3decfb96df8e8e0
[ "MIT" ]
null
null
null
Result.hpp
mercere99/Wordle
cbfc104f049f0737422d3f90e3decfb96df8e8e0
[ "MIT" ]
null
null
null
#ifndef WORDLE_RESULT_HPP #define WORDLE_RESULT_HPP #include "emp/base/array.hpp" #include "emp/base/error.hpp" #include "emp/bits/BitVector.hpp" #include "emp/math/math.hpp" class Result { public: static constexpr size_t MAX_WORD_SIZE = 15; enum PositionResult { NOWHERE, ELSEWHERE, HERE, NONE }; // Return the...
37.528409
107
0.609084
mercere99
8dde639de721ad96d24406ac96ce80366761bd29
683
cpp
C++
AdvancedMap/kern_start.cpp
notjosh/AdvancedMap
dcbf81aa2e0fa1746555bbe4c256468faf4f5bce
[ "MIT" ]
5
2021-09-18T13:46:28.000Z
2021-11-02T17:39:39.000Z
AdvancedMap/kern_start.cpp
notjosh/AdvancedMap
dcbf81aa2e0fa1746555bbe4c256468faf4f5bce
[ "MIT" ]
1
2021-09-18T13:37:34.000Z
2021-09-18T13:37:34.000Z
AdvancedMap/kern_start.cpp
notjosh/AdvancedMap
dcbf81aa2e0fa1746555bbe4c256468faf4f5bce
[ "MIT" ]
null
null
null
#include <Headers/plugin_start.hpp> #include <Headers/kern_api.hpp> #include "AdvancedMap.hpp" static AdvancedMapPlugin advancedMap; static const char *bootargOff[] { "-advmapoff" }; static const char *bootargDebug[] { "-advmapdbg" }; static const char *bootargBeta[] { "-advmapbeta" }; PluginConfigura...
18.459459
51
0.686676
notjosh
8de1da8392aa067370b5def08c1e257f51b56be8
13,165
cpp
C++
11_learning_materials/stanford_self_driving_car/perception/point_cloud_mapping/src/cloud_geometry/transforms.cpp
EatAllBugs/autonomous_learning
02ff7b0fa7b131a2f2203505ef5cc7e43b40bc47
[ "MIT" ]
14
2021-09-01T14:25:45.000Z
2022-02-21T08:49:57.000Z
11_learning_materials/stanford_self_driving_car/perception/point_cloud_mapping/src/cloud_geometry/transforms.cpp
yinflight/autonomous_learning
02ff7b0fa7b131a2f2203505ef5cc7e43b40bc47
[ "MIT" ]
null
null
null
11_learning_materials/stanford_self_driving_car/perception/point_cloud_mapping/src/cloud_geometry/transforms.cpp
yinflight/autonomous_learning
02ff7b0fa7b131a2f2203505ef5cc7e43b40bc47
[ "MIT" ]
3
2021-10-10T00:58:29.000Z
2022-01-23T13:16:09.000Z
/* * Copyright (c) 2008 Radu Bogdan Rusu <rusu -=- cs.tum.edu> * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright *...
39.534535
162
0.617547
EatAllBugs
8de77de2a0eb078c675441f27e08f562f9ebbcf3
9,761
cxx
C++
src/sound/sn76477.cxx
ascottix/tickle
de3b7df8a6e719b7682398ac689a7e439b40876f
[ "MIT" ]
1
2021-05-31T21:09:50.000Z
2021-05-31T21:09:50.000Z
src/sound/sn76477.cxx
ascottix/tickle
de3b7df8a6e719b7682398ac689a7e439b40876f
[ "MIT" ]
null
null
null
src/sound/sn76477.cxx
ascottix/tickle
de3b7df8a6e719b7682398ac689a7e439b40876f
[ "MIT" ]
null
null
null
/* SN76477 sound chip emulation Copyright (c) 2004-2010,2011 Alessandro Scotti */ #include <math.h> #include "sn76477.h" const unsigned LFSR_MASK = 0x30009; const double MaxExternalVcoControl = 2.35; SN76477::SN76477() { sampling_rate_ = 0; enabled_ = false; env_c_ = 0; // Not co...
27.038781
126
0.543797
ascottix
8defcde9cd7b691147616742be87f8857600f3b3
2,401
cpp
C++
lib/cpp/ScopedLock.cpp
kubasejdak/osal
6e43ba761572444b2f56b529e501f40c00d4e718
[ "BSD-2-Clause" ]
1
2021-09-12T21:05:45.000Z
2021-09-12T21:05:45.000Z
lib/cpp/ScopedLock.cpp
kubasejdak/osal
6e43ba761572444b2f56b529e501f40c00d4e718
[ "BSD-2-Clause" ]
2
2020-01-24T18:00:15.000Z
2020-02-03T21:15:54.000Z
lib/cpp/ScopedLock.cpp
kubasejdak/osal
6e43ba761572444b2f56b529e501f40c00d4e718
[ "BSD-2-Clause" ]
2
2020-06-15T16:27:58.000Z
2021-09-12T21:05:49.000Z
///////////////////////////////////////////////////////////////////////////////////// /// /// @file /// @author Kuba Sejdak /// @copyright BSD 2-Clause License /// /// Copyright (c) 2020-2021, Kuba Sejdak <kuba.sejdak@gmail.com> /// All rights reserved. /// /// Redistribution and use in source and binary forms, with or...
29.280488
85
0.658892
kubasejdak
8df5b12f2f17060a6e07c79700118dc8448465eb
1,706
hpp
C++
include/test/channelmanager.hpp
AnotherFoxGuy/settings
cc2fb43ad515e8ff7349e2eb4ddeb3fb96337b1a
[ "MIT" ]
3
2017-09-05T12:25:52.000Z
2021-06-20T12:50:22.000Z
include/test/channelmanager.hpp
AnotherFoxGuy/settings
cc2fb43ad515e8ff7349e2eb4ddeb3fb96337b1a
[ "MIT" ]
9
2017-04-07T19:03:58.000Z
2020-08-15T14:02:29.000Z
lib/settings/include/test/channelmanager.hpp
Functioneel/chatterino7
81a52498b6850626223f96fa81c3e847c23ee25d
[ "MIT" ]
3
2018-05-27T22:07:09.000Z
2021-02-12T12:44:46.000Z
#pragma once #include "test/channel.hpp" #include <array> namespace pajlada { namespace test { constexpr int NUM_CHANNELS = 5; class ChannelManager { public: ChannelManager() : channels{{ {0}, // {1}, // {2}, // {3}, // {4} /*,...
22.155844
54
0.178781
AnotherFoxGuy
8dfcdfd164816a9437725701fc407555d961a4b2
5,318
hpp
C++
Axis/Graphics/Include/Axis/RenderPass.hpp
SimmyPeet/Axis
a58c073d13f74d0224fbfca34a4dcd4b9d0c6726
[ "Apache-2.0" ]
1
2022-01-23T14:51:51.000Z
2022-01-23T14:51:51.000Z
Axis/Graphics/Include/Axis/RenderPass.hpp
SimmyPeet/Axis
a58c073d13f74d0224fbfca34a4dcd4b9d0c6726
[ "Apache-2.0" ]
null
null
null
Axis/Graphics/Include/Axis/RenderPass.hpp
SimmyPeet/Axis
a58c073d13f74d0224fbfca34a4dcd4b9d0c6726
[ "Apache-2.0" ]
1
2022-01-10T21:01:54.000Z
2022-01-10T21:01:54.000Z
/// \copyright Simmypeet - Copyright (C) /// This file is subject to the terms and conditions defined in /// file 'LICENSE', which is part of this source code package. #ifndef AXIS_GRAPHICS_RENDERPASS_HPP #define AXIS_GRAPHICS_RENDERPASS_HPP #pragma once #include "../../../System/Include/Axis/Li...
33.872611
135
0.723956
SimmyPeet
8dfd31b4a4284561e2be3c8249c39aa883893e2e
13,223
cpp
C++
src/lib/client/CommandVolumeRequestBases.cpp
gerickson/openhlx
f23a825ca56ee226db393da14d81a7d4e9ae0b33
[ "Apache-2.0" ]
1
2021-05-21T21:10:09.000Z
2021-05-21T21:10:09.000Z
src/lib/client/CommandVolumeRequestBases.cpp
gerickson/openhlx
f23a825ca56ee226db393da14d81a7d4e9ae0b33
[ "Apache-2.0" ]
12
2021-06-12T16:42:30.000Z
2022-02-01T18:44:42.000Z
src/lib/client/CommandVolumeRequestBases.cpp
gerickson/openhlx
f23a825ca56ee226db393da14d81a7d4e9ae0b33
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2018-2021 Grant Erickson * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0...
36.029973
88
0.557362
gerickson
5c00b2c022f8defc64c07d892b5f42eb3bea012d
2,557
cpp
C++
src/playercastspellaction.cpp
mikelukas/errantry
e1c09ca5ef8bc9ef32cf8bcb86306a1415ddd37c
[ "MIT" ]
1
2018-05-11T16:09:35.000Z
2018-05-11T16:09:35.000Z
src/playercastspellaction.cpp
mikelukas/errantry
e1c09ca5ef8bc9ef32cf8bcb86306a1415ddd37c
[ "MIT" ]
null
null
null
src/playercastspellaction.cpp
mikelukas/errantry
e1c09ca5ef8bc9ef32cf8bcb86306a1415ddd37c
[ "MIT" ]
null
null
null
#include <sstream> #include "logging/log.h" #include "playercastspellaction.h" PlayerCastSpellAction::PlayerCastSpellAction(Player& player, Monster& monster) : CastSpellAction(player, monster), spellChooser(player.getSpellsForLocale(BATTLE), player) { } bool PlayerCastSpellAction::setupSpellChoice() { //postco...
27.793478
123
0.737583
mikelukas
5c02228ba5fec5340a9531313f1c63cb67e9ead2
1,263
cpp
C++
Pattern printing/Letter_M.cpp
acheiveer/CPP-Questions-and-Solutions
17097bfb25a75568122ce313d571cb473d55fdf3
[ "MIT" ]
42
2021-09-26T18:02:52.000Z
2022-03-15T01:52:15.000Z
Pattern printing/Letter_M.cpp
acheiveer/CPP-Questions-and-Solutions
17097bfb25a75568122ce313d571cb473d55fdf3
[ "MIT" ]
404
2021-09-24T19:55:10.000Z
2021-11-03T05:47:47.000Z
Pattern printing/Letter_M.cpp
acheiveer/CPP-Questions-and-Solutions
17097bfb25a75568122ce313d571cb473d55fdf3
[ "MIT" ]
140
2021-09-22T20:50:04.000Z
2022-01-22T16:59:09.000Z
/* CPP Program to print Letter M ##@@ @@## ## @@ @@ ## ## @@ @@ ## ## ## ## ## ## ## ## ## ## ## ## Letter M can be broken down into 3 parts - full length first ## column - half length V letter - full length last ## column */ #include <bits/stdc++.h> using na...
20.047619
72
0.441013
acheiveer
5c055bd69d4f9e223b296493ef7ba41c2b4af786
275
cpp
C++
cheats/hooks/getColorModulation.cpp
Bartis1313/csgo
2af92e14406182bd0b3c15c0143a67e7d1908d02
[ "MIT" ]
54
2021-11-15T13:39:51.000Z
2022-03-21T17:13:28.000Z
cheats/hooks/getColorModulation.cpp
Bartis1313/csgo
2af92e14406182bd0b3c15c0143a67e7d1908d02
[ "MIT" ]
24
2021-11-08T06:59:34.000Z
2022-03-17T05:17:03.000Z
cheats/hooks/getColorModulation.cpp
Bartis1313/csgo
2af92e14406182bd0b3c15c0143a67e7d1908d02
[ "MIT" ]
10
2021-11-10T06:52:14.000Z
2022-02-02T17:09:20.000Z
#include "hooks.hpp" #include "../features/visuals/world.hpp" #include "../globals.hpp" void __fastcall hooks::getColorModulation::hooked(FAST_ARGS, float* r, float* g, float* b) { original(thisptr, r, g, b); world.modulateWorld(thisptr, r, g, b, globals::isShutdown); }
25
90
0.709091
Bartis1313
5c0b2e728bda762e0156bc0a624df0de9de774cf
1,834
cpp
C++
src/authentication.cpp
rampageX/azure-http-proxy
260cef1304bf266896ee4ae693418258535745fb
[ "MIT" ]
213
2015-02-07T06:26:07.000Z
2022-02-27T08:24:04.000Z
src/authentication.cpp
rampageX/azure-http-proxy
260cef1304bf266896ee4ae693418258535745fb
[ "MIT" ]
15
2015-02-22T10:53:35.000Z
2018-08-25T09:12:34.000Z
src/authentication.cpp
rampageX/azure-http-proxy
260cef1304bf266896ee4ae693418258535745fb
[ "MIT" ]
92
2015-02-16T12:29:47.000Z
2020-10-20T12:00:49.000Z
/* * authentication.cpp: * * Copyright (C) 2015 limhiaoing <blog.poxiao.me> All Rights Reserved. * */ #include <algorithm> #include <iterator> #include "authentication.hpp" #include "base64.hpp" namespace azure_proxy { authentication::authentication() { } auth_result authentication::a...
26.57971
125
0.649945
rampageX
5c0f6bf7002b4ac5f6a4833e97797a40e5781e39
1,062
cpp
C++
src/bits_of_matcha/Loader.cpp
matcha-ai/matcha-engine
2ddc2a1dbe8b646176bf761b85720e94fc6b7cf9
[ "MIT" ]
null
null
null
src/bits_of_matcha/Loader.cpp
matcha-ai/matcha-engine
2ddc2a1dbe8b646176bf761b85720e94fc6b7cf9
[ "MIT" ]
null
null
null
src/bits_of_matcha/Loader.cpp
matcha-ai/matcha-engine
2ddc2a1dbe8b646176bf761b85720e94fc6b7cf9
[ "MIT" ]
1
2022-03-17T12:14:27.000Z
2022-03-17T12:14:27.000Z
#include "bits_of_matcha/Loader.h" #include "matcha/dataset" #include "matcha/tensor" #include "bits_of_matcha/engine/ops/LoadCsv.h" #include "bits_of_matcha/engine/ops/LoadImage.h" #include <filesystem> namespace matcha { Loader::Loader(const std::string& file) : file_(file) {} Loader load(const std::string& fi...
20.823529
66
0.638418
matcha-ai
5c1027f7b69dc32cb3526f0f8ae62c187324dc63
9,313
cpp
C++
problems_051-100/euler_88.cpp
sedihub/project_euler
2d7d40ee67a1e0402aa68e78a5f7d7cf18221db5
[ "Apache-2.0" ]
null
null
null
problems_051-100/euler_88.cpp
sedihub/project_euler
2d7d40ee67a1e0402aa68e78a5f7d7cf18221db5
[ "Apache-2.0" ]
null
null
null
problems_051-100/euler_88.cpp
sedihub/project_euler
2d7d40ee67a1e0402aa68e78a5f7d7cf18221db5
[ "Apache-2.0" ]
null
null
null
/* PROBLEM: Euler 88 A natural number, N, that can be written as the sum and product of a given set of at least two natural numbers, {a1, a2, ... , ak} is called a product-sum number: N = a1 + a2 + ... + ak = a1 × a2 × ... × ak. For example, 6 = 1 + 2 + 3 = 1 × 2 × 3. For a given set of size, k, ...
30.634868
102
0.567164
sedihub
5c107da0f85e8d5d17223bff21d79ca53016a57d
23,011
hpp
C++
test/test_solver.hpp
ultinate/masked-sudoku
0e0bcdcf6c1701c52cab204ea4ffac392793b92b
[ "MIT" ]
null
null
null
test/test_solver.hpp
ultinate/masked-sudoku
0e0bcdcf6c1701c52cab204ea4ffac392793b92b
[ "MIT" ]
null
null
null
test/test_solver.hpp
ultinate/masked-sudoku
0e0bcdcf6c1701c52cab204ea4ffac392793b92b
[ "MIT" ]
null
null
null
#include <bitset> #include "../sTest/test.h" #include "../board.hpp" #include "../parser.hpp" #include "../slicer.hpp" #include "../solver.hpp" #include "../visualizer.hpp" /** * solver unit tests */ mask ** getTestSlice() { mask *slice = new mask[N]; slice[0] = 0b000000001; slice[1] = 0b000000011; ...
28.408642
79
0.568424
ultinate
5c13470fce1f7d418e3b9beed7a761aa53e74318
357
cpp
C++
mcare_server/test/test_Mola.cpp
KatSchrier/mcare
cd9ecc6e130ed94e1fe8a1881178c7729625fbb3
[ "MIT" ]
1
2021-08-21T02:21:00.000Z
2021-08-21T02:21:00.000Z
mcare_server/test/test_Mola.cpp
KatSchrier/mcare
cd9ecc6e130ed94e1fe8a1881178c7729625fbb3
[ "MIT" ]
null
null
null
mcare_server/test/test_Mola.cpp
KatSchrier/mcare
cd9ecc6e130ed94e1fe8a1881178c7729625fbb3
[ "MIT" ]
2
2021-09-04T00:21:03.000Z
2022-02-05T08:43:48.000Z
// test_Mola.cpp // Created by Robin Rowe 2021-08-15 // MIT Open Source #include <iostream> #include "../Mola.h" using namespace std; int main(int argc,char* argv[]) { cout << "Testing Mola" << endl; Mola mola; if(!mola) { cout << "Mola failed on operator!" << endl; return 1; } cout << mola << endl; cout << ...
17.85
46
0.621849
KatSchrier
5c1709aa15c6ac0ffff73553361d13cba82cfa11
25,593
cc
C++
src/common/reimu_trie.cc
milkcat/MilkCat
a31c5c7f2ceba0ba3aea9fa88f9da5e9caddacea
[ "MIT" ]
84
2015-01-17T09:44:41.000Z
2020-02-14T06:32:26.000Z
src/common/reimu_trie.cc
milkcat/MilkCat
a31c5c7f2ceba0ba3aea9fa88f9da5e9caddacea
[ "MIT" ]
2
2016-06-27T08:00:53.000Z
2017-02-09T06:15:28.000Z
src/common/reimu_trie.cc
milkcat/MilkCat
a31c5c7f2ceba0ba3aea9fa88f9da5e9caddacea
[ "MIT" ]
29
2015-01-17T09:48:43.000Z
2020-03-06T08:30:18.000Z
// // The MIT License (MIT) // // Copyright 2013-2014 The MilkCat Project Developers // // 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 th...
30.760817
80
0.650998
milkcat
5c19eb60eb123415931a0ca6424311e75bec98fb
4,447
cpp
C++
mytools/compiler/Tokenizer.cpp
kingnak/nand2tetris
120be8f04251b88e519f1bac838c40fd4c1b68e1
[ "MIT" ]
null
null
null
mytools/compiler/Tokenizer.cpp
kingnak/nand2tetris
120be8f04251b88e519f1bac838c40fd4c1b68e1
[ "MIT" ]
null
null
null
mytools/compiler/Tokenizer.cpp
kingnak/nand2tetris
120be8f04251b88e519f1bac838c40fd4c1b68e1
[ "MIT" ]
null
null
null
#include "Tokenizer.h" #include "ParserBase.h" #include <sstream> using namespace std; const map<string, Tokenizer::Keyword> Tokenizer::s_keywords{ { "class", Tokenizer::Keyword::Class }, { "method", Tokenizer::Keyword::Method }, { "function", Tokenizer::Keyword::Function }, { "constructor", Tokenizer::Keyword::C...
17.646825
64
0.572521
kingnak
5c1da5d7f606deff5526d3c4f211ae9c2a98a046
538
cpp
C++
DirectX2D11/Scenes/InventoryScene.cpp
GyumLee/DirectX2D11
7a92946241ad177c7efac5609e831bc7f0b06908
[ "Apache-2.0" ]
null
null
null
DirectX2D11/Scenes/InventoryScene.cpp
GyumLee/DirectX2D11
7a92946241ad177c7efac5609e831bc7f0b06908
[ "Apache-2.0" ]
null
null
null
DirectX2D11/Scenes/InventoryScene.cpp
GyumLee/DirectX2D11
7a92946241ad177c7efac5609e831bc7f0b06908
[ "Apache-2.0" ]
null
null
null
#include "Framework.h" #include "InventoryScene.h" InventoryScene::InventoryScene() { DataManager::Get(); store = new Store(); store->position = { 300, CENTER_Y }; inventory = new Inventory(); inventory->position = { WIN_WIDTH - 300, CENTER_Y }; store->SetInventory(inventory); } InventoryScene::~InventorySce...
14.944444
53
0.693309
GyumLee
5c22b0ad1c6992b1b6d8d1fa26834687bb0ec9dd
1,079
hpp
C++
third_party/boost/simd/function/if_plus.hpp
SylvainCorlay/pythran
908ec070d837baf77d828d01c3e35e2f4bfa2bfa
[ "BSD-3-Clause" ]
6
2018-02-25T22:23:33.000Z
2021-01-15T15:13:12.000Z
third_party/boost/simd/function/if_plus.hpp
SylvainCorlay/pythran
908ec070d837baf77d828d01c3e35e2f4bfa2bfa
[ "BSD-3-Clause" ]
null
null
null
third_party/boost/simd/function/if_plus.hpp
SylvainCorlay/pythran
908ec070d837baf77d828d01c3e35e2f4bfa2bfa
[ "BSD-3-Clause" ]
7
2017-12-12T12:36:31.000Z
2020-02-10T14:27:07.000Z
//================================================================================================== /*! @file @copyright 2016 NumScale SAS Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ //=========================...
25.093023
100
0.586654
SylvainCorlay
5c23acfe6cdd06e964103fcc92b31afe6fd1dcf6
2,194
cpp
C++
muse_mcl_2d_gridmaps/src/providers/probability_gridmap_provider.cpp
doge-of-the-day/muse_mcl_2d
4cb53120e78780ccc7a7a62d40278fd075d2a54d
[ "BSD-3-Clause" ]
4
2019-06-01T14:08:29.000Z
2019-11-07T02:01:53.000Z
muse_mcl_2d_gridmaps/src/providers/probability_gridmap_provider.cpp
cogsys-tuebingen/muse_mcl_2d
dc053c61208a6ec740b70cea81aaf3c466c1c3b4
[ "BSD-3-Clause" ]
null
null
null
muse_mcl_2d_gridmaps/src/providers/probability_gridmap_provider.cpp
cogsys-tuebingen/muse_mcl_2d
dc053c61208a6ec740b70cea81aaf3c466c1c3b4
[ "BSD-3-Clause" ]
6
2019-03-04T01:46:02.000Z
2020-09-30T01:58:22.000Z
#include "probability_gridmap_provider.h" #include <cslibs_gridmaps/static_maps/conversion/convert_probability_gridmap.hpp> #include <class_loader/register_macro.hpp> CLASS_LOADER_REGISTER_CLASS(muse_mcl_2d_gridmaps::ProbabilityGridmapProvider, muse_mcl_2d::MapProvider2D) namespace muse_mcl_2d_gridmaps { std::shared...
37.827586
123
0.602097
doge-of-the-day
5c2caa7f897b98ff33bda0eab6cdb5aeefdc7df6
2,229
cpp
C++
Pod/Classes/algorithms/complex/polartocartesian.cpp
jbloit/iosEssentia
785ba29e8178942b396575dd3872bdf3d5d63cd5
[ "MIT" ]
null
null
null
Pod/Classes/algorithms/complex/polartocartesian.cpp
jbloit/iosEssentia
785ba29e8178942b396575dd3872bdf3d5d63cd5
[ "MIT" ]
null
null
null
Pod/Classes/algorithms/complex/polartocartesian.cpp
jbloit/iosEssentia
785ba29e8178942b396575dd3872bdf3d5d63cd5
[ "MIT" ]
null
null
null
/* * Copyright (C) 2006-2013 Music Technology Group - Universitat Pompeu Fabra * * This file is part of Essentia * * Essentia is free software: you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License as published by the Free * Software Foundation (FSF), either version...
38.431034
172
0.694033
jbloit
5c37288b92b93be83773d600d5162b18b4b3f6fd
2,012
hpp
C++
include/Sirius/Renderer/Utils/VertexArray.hpp
xam4lor/Sirius
f05a89538ab2bc79a8d46f482fbb060271adce0a
[ "MIT" ]
null
null
null
include/Sirius/Renderer/Utils/VertexArray.hpp
xam4lor/Sirius
f05a89538ab2bc79a8d46f482fbb060271adce0a
[ "MIT" ]
null
null
null
include/Sirius/Renderer/Utils/VertexArray.hpp
xam4lor/Sirius
f05a89538ab2bc79a8d46f482fbb060271adce0a
[ "MIT" ]
null
null
null
#pragma once #include "srspch.hpp" #include "Buffer.hpp" namespace Sirius { ///////////////////////////////////////// /// @brief Vertex array abstraction class class VertexArray { private: std::vector<Ref<VertexBuffer>> vertexBuffers; Ref<IndexBuffer> indexBuffer; ...
32.983607
100
0.430915
xam4lor
5c3741577ba3958b20f6d8ef0ede177b1294626c
3,343
cpp
C++
lovela/StandardCDeclarations.cpp
florgard/lovela
cf5dc270c91c642ffbb4f5fed110c3862a1310b2
[ "MIT" ]
null
null
null
lovela/StandardCDeclarations.cpp
florgard/lovela
cf5dc270c91c642ffbb4f5fed110c3862a1310b2
[ "MIT" ]
null
null
null
lovela/StandardCDeclarations.cpp
florgard/lovela
cf5dc270c91c642ffbb4f5fed110c3862a1310b2
[ "MIT" ]
null
null
null
import CodeGenerator.Cpp; import Utility; import <string>; import <string_view>; import <vector>; import <map>; import <algorithm>; void StandardCDeclarations::GetHeader(std::vector<std::wstring>& headers, std::wstring_view function) { // TODO: Add more if needed, these are extracted from https://www.tutorialspoint.c...
24.580882
114
0.521089
florgard
5c37b0446ed312f5a6cb68a9b052a6f613d958bc
10,611
cpp
C++
DGEngine.core.modules/src/Parser/Utils/ParseUtilsVal.cpp
dgcor/DGEngine-Modules
02bd3dab724b8d634b8054cbf079ca4f27a7a8dc
[ "Zlib" ]
1
2021-08-19T10:24:40.000Z
2021-08-19T10:24:40.000Z
DGEngine.core.modules/src/Parser/Utils/ParseUtilsVal.cpp
dgcor/DGEngine-Modules
02bd3dab724b8d634b8054cbf079ca4f27a7a8dc
[ "Zlib" ]
null
null
null
DGEngine.core.modules/src/Parser/Utils/ParseUtilsVal.cpp
dgcor/DGEngine-Modules
02bd3dab724b8d634b8054cbf079ca4f27a7a8dc
[ "Zlib" ]
1
2021-08-19T10:24:47.000Z
2021-08-19T10:24:47.000Z
module dgengine.parser.utils.val; import dgengine.gameutils; import dgengine.json.utils; import dgengine.parser.utils; import dgengine.parser.predicate; import dgengine.sfml.utils; import dgengine.utils.utils; namespace Parser { using namespace rapidjson; Anchor getAnchorVal(const Value& elem, Anchor val) { if ...
20.288719
81
0.613703
dgcor
5c3b630dacaa098dda0a50cffad9679d2c93e5ff
2,147
cpp
C++
src/phidgets_encoder_node.cpp
umigv/phidgets_encoder
7021372bda7fd0ef92d2ce26e88a79d1ecf542b5
[ "BSD-3-Clause" ]
null
null
null
src/phidgets_encoder_node.cpp
umigv/phidgets_encoder
7021372bda7fd0ef92d2ce26e88a79d1ecf542b5
[ "BSD-3-Clause" ]
null
null
null
src/phidgets_encoder_node.cpp
umigv/phidgets_encoder
7021372bda7fd0ef92d2ce26e88a79d1ecf542b5
[ "BSD-3-Clause" ]
null
null
null
#include "encoder_state_publisher.h" // umigv::EncoderStatePublisher #include <ros/ros.h> #include <sensor_msgs/JointState.h> #include <umigv_utilities/types.hpp> #include <umigv_utilities/utility.hpp> // umigv::blocking_shutdown #include <umigv_utilities/exceptions.hpp> // umigv::ParameterNotFoundException, ...
29.819444
79
0.699115
umigv
5c4384220dacca3b2d630c0a5ee775a4263a67cc
2,158
cpp
C++
game/server/entities/CRotDoor.cpp
xalalau/HLEnhanced
f108222ab7d303c9ed5a8e81269f9e949508e78e
[ "Unlicense" ]
83
2016-06-10T20:49:23.000Z
2022-02-13T18:05:11.000Z
game/server/entities/CRotDoor.cpp
xalalau/HLEnhanced
f108222ab7d303c9ed5a8e81269f9e949508e78e
[ "Unlicense" ]
26
2016-06-16T22:27:24.000Z
2019-04-30T19:25:51.000Z
game/server/entities/CRotDoor.cpp
xalalau/HLEnhanced
f108222ab7d303c9ed5a8e81269f9e949508e78e
[ "Unlicense" ]
58
2016-06-10T23:52:33.000Z
2021-12-30T02:30:50.000Z
/*** * * Copyright (c) 1996-2001, Valve LLC. All rights reserved. * * This product contains software technology licensed from Id * Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc. * All Rights Reserved. * * Use, distribution, and modification of this source code and/or resulting * object ...
25.690476
87
0.715477
xalalau
5c43b3a30db5a49e1c5d73ba8a2816eb6d76c908
494
hpp
C++
Structural-patterns/2_Bridge/src/devices/idevice.hpp
PP189B/Design-patterns-practice
3fd7f9a3fa85dcf1e48680662d9bc3ac41796b69
[ "MIT" ]
null
null
null
Structural-patterns/2_Bridge/src/devices/idevice.hpp
PP189B/Design-patterns-practice
3fd7f9a3fa85dcf1e48680662d9bc3ac41796b69
[ "MIT" ]
null
null
null
Structural-patterns/2_Bridge/src/devices/idevice.hpp
PP189B/Design-patterns-practice
3fd7f9a3fa85dcf1e48680662d9bc3ac41796b69
[ "MIT" ]
null
null
null
#pragma once #include <inttypes.h> namespace Devices { class IDevice { public: virtual uint8_t getVolume() const = 0; virtual void setVolume(uint8_t vol) = 0; virtual uint16_t getChannel() const = 0; virtual void setChannel(uint16_t vol) = 0; virtual bool isEnabled()...
19.76
51
0.603239
PP189B
5c507bf1513cf7b489e97c05a561aaca8d628f9c
1,893
cpp
C++
src/bind/solution/route.cpp
jonathf/pyvroom
7f7c755c763ddc416455ea8c5168b53ae1477084
[ "BSD-2-Clause" ]
13
2021-12-28T13:04:45.000Z
2022-01-06T22:05:51.000Z
src/bind/solution/route.cpp
VROOM-Project/pyvroom
7f7c755c763ddc416455ea8c5168b53ae1477084
[ "BSD-2-Clause" ]
26
2022-01-06T09:36:45.000Z
2022-03-26T11:43:14.000Z
src/bind/solution/route.cpp
VROOM-Project/pyvroom
7f7c755c763ddc416455ea8c5168b53ae1477084
[ "BSD-2-Clause" ]
4
2022-01-06T14:34:56.000Z
2022-03-29T11:53:48.000Z
#include <pybind11/pybind11.h> #include "structures/vroom/solution/route.cpp" namespace py = pybind11; void init_route(py::module_ &m) { py::class_<vroom::Route>(m, "Route") .def(py::init<>()) .def(py::init([](vroom::Id vehicle, std::vector<vroom::Step> &steps, vroom::Cost cost,...
47.325
80
0.595351
jonathf
5c55c3b008d46ab61ab635e68909a600d393232c
758
cpp
C++
Leetcode/Binary_Search/sqrtx.cpp
susantabiswas/competitive_coding
49163ecdc81b68f5c1bd90988cc0dfac34ad5a31
[ "MIT" ]
2
2021-04-29T14:44:17.000Z
2021-10-01T17:33:22.000Z
Leetcode/Binary_Search/sqrtx.cpp
adibyte95/competitive_coding
a6f084d71644606c21840875bad78d99f678a89d
[ "MIT" ]
null
null
null
Leetcode/Binary_Search/sqrtx.cpp
adibyte95/competitive_coding
a6f084d71644606c21840875bad78d99f678a89d
[ "MIT" ]
1
2021-10-01T17:33:29.000Z
2021-10-01T17:33:29.000Z
/* https://leetcode.com/problems/sqrtx/submissions/ We use binary search for this. We set the lower limit as 0 and upper limit as n/2. n/2 ensures that the range covers all possible candidates for sq root, since sq root is m * m, so n/2 * n/2 > n and hence covers all. TC: O(logn) */ class...
24.451613
91
0.477573
susantabiswas
5c56db2f73a99cfda90716d8a216c0b741dfae5f
1,982
hpp
C++
receiver/adi.hpp
JCYang/ya_uftp
b6a6dac7969371583c76ad90ef5ebf0c4ae66bdf
[ "BSL-1.0" ]
null
null
null
receiver/adi.hpp
JCYang/ya_uftp
b6a6dac7969371583c76ad90ef5ebf0c4ae66bdf
[ "BSL-1.0" ]
null
null
null
receiver/adi.hpp
JCYang/ya_uftp
b6a6dac7969371583c76ad90ef5ebf0c4ae66bdf
[ "BSL-1.0" ]
null
null
null
#pragma once #ifndef YA_UFTP_RECEIVER_ADI_HPP_ #define YA_UFTP_RECEIVER_ADI_HPP_ #include "api_binder.hpp" #include "boost/asio.hpp" namespace ya_uftp{ namespace receiver{ namespace task{ enum class initiate_result{ already_monitoring, just_started, failed_max_tasks_monitoring }; enum stat...
28.314286
99
0.642785
JCYang
5c5909a0f3f444b73a584bec90102ebd0ed4410a
2,453
cpp
C++
4. Brown/3 Week/8. Arithmetic expression 2/main.cpp
freeraisor/yandexcplusplus
9708fdb6cd7e039672ebc2e77f131fbc7a765750
[ "MIT" ]
14
2019-08-29T12:34:07.000Z
2022-03-09T13:31:18.000Z
4. Brown/3 Week/8. Arithmetic expression 2/main.cpp
freeraisor/yandexcplusplus
9708fdb6cd7e039672ebc2e77f131fbc7a765750
[ "MIT" ]
null
null
null
4. Brown/3 Week/8. Arithmetic expression 2/main.cpp
freeraisor/yandexcplusplus
9708fdb6cd7e039672ebc2e77f131fbc7a765750
[ "MIT" ]
8
2020-09-10T11:40:03.000Z
2022-03-24T00:34:38.000Z
#include "Common.h" #include "../../../MyUtils/MyTestFramework/TestFramework.h" #include <sstream> using namespace std; string Print(const Expression* e) { if (!e) { return "Null expression provided"; } stringstream output; output << e->ToString() << " = " << e->Evaluate(); return output.str(); } names...
28.195402
108
0.622095
freeraisor
5c5ad90202e57f7f4315361e7a89f1e30522e2df
5,016
cc
C++
src/client_manager.cc
nojhan/kakoune
c8156429c4685189e0a6b7bd0f273dc64432db2c
[ "Unlicense" ]
null
null
null
src/client_manager.cc
nojhan/kakoune
c8156429c4685189e0a6b7bd0f273dc64432db2c
[ "Unlicense" ]
null
null
null
src/client_manager.cc
nojhan/kakoune
c8156429c4685189e0a6b7bd0f273dc64432db2c
[ "Unlicense" ]
null
null
null
#include "client_manager.hh" #include "buffer_manager.hh" #include "color_registry.hh" #include "command_manager.hh" #include "event_manager.hh" #include "file.hh" #include "user_interface.hh" #include "window.hh" namespace Kakoune { ClientManager::ClientManager() = default; ClientManager::~ClientManager() = default...
29.505882
134
0.578549
nojhan
5c6046bdf8d9756fe06c5e103bcc3792ca9c0d76
4,884
cpp
C++
src/wledctrl/wledctrl.cpp
Pliskin707/WLED_Trigger_ESP01
8ae8dfa9a0cab1ba4eea677ee5de725acd74289c
[ "MIT" ]
null
null
null
src/wledctrl/wledctrl.cpp
Pliskin707/WLED_Trigger_ESP01
8ae8dfa9a0cab1ba4eea677ee5de725acd74289c
[ "MIT" ]
null
null
null
src/wledctrl/wledctrl.cpp
Pliskin707/WLED_Trigger_ESP01
8ae8dfa9a0cab1ba4eea677ee5de725acd74289c
[ "MIT" ]
null
null
null
#include "wledctrl.hpp" namespace wledTrigger { enum LorOverrideType {off, untilLiveEnds, untilReboot}; wledControl::wledControl (const IPAddress &WLEDIP) { this->_url = "http://" + WLEDIP.toString() + "/json"; this->_initFilter(this->_filter); } wledControl::wledControl(const char * const WLEDIP) { this...
25.570681
129
0.525594
Pliskin707
5c66d915f1f87f0fe5271979b08f763d6a54e03c
1,895
cpp
C++
3DEngine/Math/Vector2.cpp
EricDDK/3DEngineEEE
cf7832e69ba03111d54093b1f797eaabab3455e1
[ "MIT" ]
5
2019-07-23T03:21:04.000Z
2020-08-28T09:09:08.000Z
3DEngine/Math/Vector2.cpp
EricDDK/3DEngineEEE
cf7832e69ba03111d54093b1f797eaabab3455e1
[ "MIT" ]
null
null
null
3DEngine/Math/Vector2.cpp
EricDDK/3DEngineEEE
cf7832e69ba03111d54093b1f797eaabab3455e1
[ "MIT" ]
3
2019-07-25T01:36:02.000Z
2020-02-15T08:11:19.000Z
#include "Math/Vector2.h" #include <cmath> #include "MathCommon.h" ENGINE_NAMESPACE_START Vector2::Vector2() { x = 0.0f; y = 0.0f; } Vector2::~Vector2() { } Vector2::Vector2(float tX, float tY) { x = tX; y = tY; } Vector2::Vector2(const Vector2& v) { set(v); } Vector2 Vector2::operator=(const Vector2& v) { ...
13.439716
62
0.605805
EricDDK
5c67372d7b5d998a9a48a0cad154c5510025ef95
2,168
cpp
C++
game/server/entities/CRotButton.cpp
sohl-modders/SOHLEnhanced
71358d28bf65ba600f268368d2e4521c4158da72
[ "Unlicense" ]
null
null
null
game/server/entities/CRotButton.cpp
sohl-modders/SOHLEnhanced
71358d28bf65ba600f268368d2e4521c4158da72
[ "Unlicense" ]
null
null
null
game/server/entities/CRotButton.cpp
sohl-modders/SOHLEnhanced
71358d28bf65ba600f268368d2e4521c4158da72
[ "Unlicense" ]
null
null
null
/*** * * Copyright (c) 1996-2001, Valve LLC. All rights reserved. * * This product contains software technology licensed from Id * Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc. * All Rights Reserved. * * Use, distribution, and modification of this source code and/or resulting * object ...
26.765432
113
0.678967
sohl-modders
5c687d6802fd46de7aba340671ede5ff3cbb43b2
2,520
cpp
C++
src/main.cpp
juliantorreno/opengl-demo
c199c487907833e52ff5c3083aed51956e6ac693
[ "MIT" ]
2
2018-01-06T19:27:07.000Z
2018-10-11T07:07:10.000Z
src/main.cpp
jtorreno/opengl-demo
c199c487907833e52ff5c3083aed51956e6ac693
[ "MIT" ]
8
2018-01-03T13:45:25.000Z
2018-01-08T01:35:49.000Z
src/main.cpp
juliantorreno/opengl-demo
c199c487907833e52ff5c3083aed51956e6ac693
[ "MIT" ]
null
null
null
#include "camera.hpp" #include "glsl_program.hpp" #include "renderer.hpp" #include "shader.hpp" #include "model.hpp" #include "texture.hpp" #include "window.hpp" #include <GLFW/glfw3.h> struct point { double x, y; }; point operator-(point const& lhs, point const& rhs) { return { lhs.x - rhs.x, lhs.y - rhs.y }; }...
33.157895
164
0.649603
juliantorreno
5c70e39e1f090db7df01f608d5ac5b81574e75b0
1,482
cpp
C++
LeetCode/ThousandTwo/1040-move_stone_until_consecutive_2.cpp
Ginkgo-Biloba/Cpp-Repo1-VS
231c68a055e6bf69a3f7c224e7c0182b67ce5b67
[ "Apache-2.0" ]
null
null
null
LeetCode/ThousandTwo/1040-move_stone_until_consecutive_2.cpp
Ginkgo-Biloba/Cpp-Repo1-VS
231c68a055e6bf69a3f7c224e7c0182b67ce5b67
[ "Apache-2.0" ]
null
null
null
LeetCode/ThousandTwo/1040-move_stone_until_consecutive_2.cpp
Ginkgo-Biloba/Cpp-Repo1-VS
231c68a055e6bf69a3f7c224e7c0182b67ce5b67
[ "Apache-2.0" ]
null
null
null
#include "leetcode.hpp" /* 1040. 移动石子直到连续 II 在一个长度无限的数轴上,第 i 颗石子的位置为 stones[i]。 如果一颗石子的位置最小/最大,那么该石子被称作端点石子。 每个回合,你可以将一颗端点石子拿起并移动到一个未占用的位置,使得该石子不再是一颗端点石子。 值得注意的是,如果石子像 stones = [1,2,5] 这样,你将无法移动位于位置 5 的端点石子,因为无论将它移动到任何位置(例如 0 或 3),该石子都仍然会是端点石子。 当你无法进行任何移动时,即,这些石子的位置连续时,游戏结束。 要使游戏结束,你可以执行的最小和最大移动次数分别是多少? 以长度为 2 的...
20.027027
103
0.596491
Ginkgo-Biloba
5c72b398c85525339d8b14cee2c4ab31ef4f225a
5,746
cpp
C++
src/tv_inpainting_app/main_tv_inpainting.cpp
shilinjupt/22
f4d885ffacacbb5c131d008c193ebec8b80cfb64
[ "BSD-3-Clause" ]
18
2015-01-14T23:06:15.000Z
2021-06-09T15:18:07.000Z
src/tv_inpainting_app/main_tv_inpainting.cpp
shilinjupt/22
f4d885ffacacbb5c131d008c193ebec8b80cfb64
[ "BSD-3-Clause" ]
null
null
null
src/tv_inpainting_app/main_tv_inpainting.cpp
shilinjupt/22
f4d885ffacacbb5c131d008c193ebec8b80cfb64
[ "BSD-3-Clause" ]
3
2015-03-05T20:39:08.000Z
2019-09-04T11:55:43.000Z
// Copyright (c) 2012 D'ANGELO Emmanuel // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, // are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the above copyright notice, this list of conditions...
30.402116
109
0.707623
shilinjupt
f07721fcfc9b484bd457ec638f60979a85d61101
5,240
cpp
C++
rmw_opendds_cpp/src/rmw_subscription.cpp
adamsj-oci/rmw_opendds
444f32cfc7730150fa6ad353ac1a2bbd23597cc0
[ "Apache-2.0" ]
7
2019-06-29T09:39:31.000Z
2021-06-23T03:20:06.000Z
rmw_opendds_cpp/src/rmw_subscription.cpp
adamsj-oci/rmw_opendds
444f32cfc7730150fa6ad353ac1a2bbd23597cc0
[ "Apache-2.0" ]
33
2018-12-14T10:49:42.000Z
2021-05-26T16:09:53.000Z
rmw_opendds_cpp/src/rmw_subscription.cpp
adamsj-oci/rmw_opendds
444f32cfc7730150fa6ad353ac1a2bbd23597cc0
[ "Apache-2.0" ]
16
2019-06-29T09:39:39.000Z
2020-05-29T20:18:39.000Z
// Copyright 2014-2017 Open Source Robotics Foundation, 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 ...
29.772727
105
0.749427
adamsj-oci
f079621991da03cb60ccdc57af99f2086abf17c1
4,121
cpp
C++
source/GrassShader.cpp
Tomash667/carpglib
c8701b170e4e2cbdb4d52fe3b7c8529afb3e97ed
[ "MIT" ]
4
2019-08-18T19:33:04.000Z
2021-08-07T02:12:54.000Z
source/GrassShader.cpp
Tomash667/carpglib
c8701b170e4e2cbdb4d52fe3b7c8529afb3e97ed
[ "MIT" ]
5
2019-08-14T05:45:56.000Z
2021-03-15T07:47:24.000Z
source/GrassShader.cpp
Tomash667/carpglib
c8701b170e4e2cbdb4d52fe3b7c8529afb3e97ed
[ "MIT" ]
2
2019-10-05T02:36:35.000Z
2021-02-15T20:20:09.000Z
#include "Pch.h" #include "GrassShader.h" #include "Camera.h" #include "DirectX.h" #include "Mesh.h" #include "Render.h" #include "Scene.h" #include "SceneManager.h" struct VsGlobals { Matrix matViewProj; }; struct PsGlobals { Vec4 fogColor; Vec4 fogParams; Vec4 ambientColor; }; //==============================...
28.818182
138
0.61587
Tomash667
f07c2afe96a5b8c9f5427a67ff1abfa0f98316dd
3,600
cpp
C++
curves/hermiteinterp.cpp
kujenga/curves
03857442c7b200a9206f6cfaadeb648047e578fe
[ "MIT" ]
1
2020-09-30T07:18:44.000Z
2020-09-30T07:18:44.000Z
curves/hermiteinterp.cpp
kujenga/curves
03857442c7b200a9206f6cfaadeb648047e578fe
[ "MIT" ]
null
null
null
curves/hermiteinterp.cpp
kujenga/curves
03857442c7b200a9206f6cfaadeb648047e578fe
[ "MIT" ]
null
null
null
// // hermiteinterp.cpp // curves // // Created by Aaron Taylor on 10/12/14. // Copyright (c) 2014 Aaron Taylor. All rights reserved. // #include "hermiteinterp.h" void HermiteInterp::addControlPoint(float2 newPoint) { controlPoints.push_back(newPoint); controlPoints.push_back(float2(0.2,0.2)); } void He...
27.272727
85
0.598333
kujenga
f07c7f0c9b9e5ce25fe9c3ec63e8e21e1c4a2548
1,570
cpp
C++
src/double.cpp
geofflangdale/scans
f64b5b4f895803df792ab9f589f3f90b731c32bb
[ "BSD-3-Clause" ]
3
2018-06-19T06:43:42.000Z
2021-07-16T04:44:58.000Z
src/double.cpp
geofflangdale/scans
f64b5b4f895803df792ab9f589f3f90b731c32bb
[ "BSD-3-Clause" ]
null
null
null
src/double.cpp
geofflangdale/scans
f64b5b4f895803df792ab9f589f3f90b731c32bb
[ "BSD-3-Clause" ]
null
null
null
#include <memory> #include <set> #include "scans.h" #include "double.h" #include "vermicelli.h" #include "shufti.h" #include "truffle.h" using namespace std; // note: we could make all 9 variations here, but the other 4 aren't that interesting typedef DoubleMatcher<Vermicelli, &Vermicelli::vermicelli_op, ...
32.708333
85
0.724204
geofflangdale
f07fc86a8cc083aee778b32c3e1ff46e5075124f
602
cpp
C++
LeetCode/findAllDuplicates.cpp
hardiksinghnegi/PracticeSnippets
a34c44e9f824630a2a4865d094e1d6ee33ef65ad
[ "Apache-2.0" ]
null
null
null
LeetCode/findAllDuplicates.cpp
hardiksinghnegi/PracticeSnippets
a34c44e9f824630a2a4865d094e1d6ee33ef65ad
[ "Apache-2.0" ]
null
null
null
LeetCode/findAllDuplicates.cpp
hardiksinghnegi/PracticeSnippets
a34c44e9f824630a2a4865d094e1d6ee33ef65ad
[ "Apache-2.0" ]
null
null
null
static int __ = []() { std::ios::sync_with_stdio(false); cin.tie(nullptr); return 0; }(); class Solution { public: vector<int> findDuplicates(vector<int>& nums) { vector<int> dupVal; int inpSize = nums.size(); if(nums.size()<2){ return dupVal; } ...
20.758621
51
0.423588
hardiksinghnegi
f084c3cb4fde6402a96f67ee4b85a645dca08be4
413
cpp
C++
03_vectors/main.cpp
acc-cosc-1337-spring-2019/midterm-spring-2019-hillarywyatt
8e7a30f3c89a3a3247424955c4c4c6eeb5760ed7
[ "MIT" ]
null
null
null
03_vectors/main.cpp
acc-cosc-1337-spring-2019/midterm-spring-2019-hillarywyatt
8e7a30f3c89a3a3247424955c4c4c6eeb5760ed7
[ "MIT" ]
null
null
null
03_vectors/main.cpp
acc-cosc-1337-spring-2019/midterm-spring-2019-hillarywyatt
8e7a30f3c89a3a3247424955c4c4c6eeb5760ed7
[ "MIT" ]
null
null
null
#include "dna_consensus.h" #include <iostream> int main() { vector <string> rosalind = { "ATCCAGCT", "GGGCAACT", "ATGGATCT", "AAGCAACC", "TTGGAACT", "ATGCCATT", "ATGGCACT" }; vector <int> number_sequences = most_common_letter(rosalind); vector <string> consensus = dna_consensus(number_sequences); std::...
19.666667
67
0.663438
acc-cosc-1337-spring-2019
f085bf13250c88c16bc5ae6a50def1856f7bd431
981
cpp
C++
src/rgb.cpp
Agata-Les/rgb-hsv-fantastic-converter
e1e9c8181f2fd2aada98f73f180b5b196c78a234
[ "Apache-2.0" ]
1
2018-07-16T20:15:44.000Z
2018-07-16T20:15:44.000Z
src/rgb.cpp
Agata-Les/rgb-hsv-fantastic-converter
e1e9c8181f2fd2aada98f73f180b5b196c78a234
[ "Apache-2.0" ]
2
2018-07-17T18:04:56.000Z
2018-08-17T18:53:01.000Z
src/rgb.cpp
Agata-Les/rgb-hsv-fantastic-converter
e1e9c8181f2fd2aada98f73f180b5b196c78a234
[ "Apache-2.0" ]
null
null
null
#include "rgb.h" #include <algorithm> bool RGB::operator ==(const RGB & rhs) const { return this->Red == rhs.Red && this->Green == rhs.Green && this->Blue == rhs.Blue; } bool RGB::operator !=(const RGB & rhs) const { return this->Red != rhs.Red || this->Green != rhs.Green || this->Blue != rhs.Blue; } std::ostream ...
18.509434
87
0.66157
Agata-Les
f0931297ce43191e1d8ca35aec82f5f834cc411a
4,093
cpp
C++
steel/Source/Steel/Application.cpp
samstalhandske/steel
6b501515c619b4a127884da88a4e53c1419727dd
[ "Apache-2.0" ]
null
null
null
steel/Source/Steel/Application.cpp
samstalhandske/steel
6b501515c619b4a127884da88a4e53c1419727dd
[ "Apache-2.0" ]
null
null
null
steel/Source/Steel/Application.cpp
samstalhandske/steel
6b501515c619b4a127884da88a4e53c1419727dd
[ "Apache-2.0" ]
null
null
null
#include "pch.h" #include "Application.hpp" #include "Steel/Debug/Log.hpp" #include <glad/glad.h> #include "Input.hpp" namespace Steel { Application* Application::myInstance = nullptr; static GLenum ShaderDataTypeToOpenGLBaseType(ShaderDataType aType) { switch (aType) { case Steel::ShaderDataType::Float: ...
21.887701
101
0.683118
samstalhandske
f095dd72e43104a1ed2af4dcd95e1c7b9917f8e9
3,769
cpp
C++
Escape Room Client/src/core/Inventory.cpp
Daninjakiwi/Escape-Room-Client
a67328feb4ec51e1d8d681804ae9831deb9c2181
[ "MIT" ]
null
null
null
Escape Room Client/src/core/Inventory.cpp
Daninjakiwi/Escape-Room-Client
a67328feb4ec51e1d8d681804ae9831deb9c2181
[ "MIT" ]
null
null
null
Escape Room Client/src/core/Inventory.cpp
Daninjakiwi/Escape-Room-Client
a67328feb4ec51e1d8d681804ae9831deb9c2181
[ "MIT" ]
null
null
null
#pragma once #include "core/Inventory.hpp" #include <algorithm> #include "ui/MultiLineLabel.hpp" InventoryItem::InventoryItem(const std::string& name, const std::string& description, const std::string& thumbnail_path) : name(name), description(description), thumbnail(thumbnail_path) { } Inventory::Inventory() : m_sel...
44.341176
330
0.662245
Daninjakiwi
f098b4a0927f716620a6d1d01e2bc83ad9a91d84
2,204
hpp
C++
src/vendor/dispatcher/extra/timer.hpp
cyrusccy/Karabiner-Elements
90f83e487a0b6c671bc76f48c01e91fb28ae67c2
[ "Unlicense" ]
null
null
null
src/vendor/dispatcher/extra/timer.hpp
cyrusccy/Karabiner-Elements
90f83e487a0b6c671bc76f48c01e91fb28ae67c2
[ "Unlicense" ]
null
null
null
src/vendor/dispatcher/extra/timer.hpp
cyrusccy/Karabiner-Elements
90f83e487a0b6c671bc76f48c01e91fb28ae67c2
[ "Unlicense" ]
null
null
null
#pragma once // (C) Copyright Takayama Fumihiko 2018. // Distributed under the Boost Software License, Version 1.0. // (See http://www.boost.org/LICENSE_1_0.txt) // `pqrs::dispatcher::extra::timer` can be used safely in a multi-threaded environment. #include "dispatcher/extra/dispatcher_client.hpp" namespace pqrs {...
27.209877
89
0.666062
cyrusccy
f09cbe9800fcdf2f065ab130edc625dcd494001a
7,935
hh
C++
dune/hdd/linearelliptic/problems/interfaces.hh
tobiasleibner/dune-hdd
35a122c1c6fd019aebbdbb8ee1eb8a36ae2f2b26
[ "BSD-2-Clause" ]
1
2020-02-08T04:10:59.000Z
2020-02-08T04:10:59.000Z
dune/hdd/linearelliptic/problems/interfaces.hh
tobiasleibner/dune-hdd
35a122c1c6fd019aebbdbb8ee1eb8a36ae2f2b26
[ "BSD-2-Clause" ]
11
2018-07-31T08:29:42.000Z
2019-06-28T08:53:34.000Z
dune/hdd/linearelliptic/problems/interfaces.hh
tobiasleibner/dune-hdd
35a122c1c6fd019aebbdbb8ee1eb8a36ae2f2b26
[ "BSD-2-Clause" ]
1
2020-02-08T04:11:02.000Z
2020-02-08T04:11:02.000Z
// This file is part of the dune-hdd project: // http://users.dune-project.org/projects/dune-hdd // Copyright holders: Felix Schindler // License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) #ifndef DUNE_HDD_LINEARELLIPTIC_PROBLEMS_INTERFACES_HH #define DUNE_HDD_LINEARELLIPTIC_PROBLEMS_INTERFA...
42.207447
121
0.652804
tobiasleibner
f09f8945d6951e59bf2b56e54385fdfbc4b55bb1
843
cpp
C++
LeetCode/1000/436.cpp
K-ona/C-_Training
d54970f7923607bdc54fc13677220d1b3daf09e5
[ "Apache-2.0" ]
null
null
null
LeetCode/1000/436.cpp
K-ona/C-_Training
d54970f7923607bdc54fc13677220d1b3daf09e5
[ "Apache-2.0" ]
null
null
null
LeetCode/1000/436.cpp
K-ona/C-_Training
d54970f7923607bdc54fc13677220d1b3daf09e5
[ "Apache-2.0" ]
null
null
null
#include <vector> #include <algorithm> using std::vector; using std::pair; class Solution { public: vector<int> findRightInterval(vector<vector<int>>& intervals) { vector<pair<int, int>> VP; VP.reserve(20000); int cnt = 0; for (const auto& x: intervals) { VP.push_ba...
27.193548
71
0.491103
K-ona
f0a79591453fdaac06b0b67dd0420227ccb01674
3,909
cpp
C++
Lab-Assignments/Data-Structure-Lab/Assignment-4/question-3.cpp
Hics0000/Console-Based-Cpp-Programs
6a7658a302d19b9d623ff7c5de5bc456c2d5ab69
[ "MIT" ]
null
null
null
Lab-Assignments/Data-Structure-Lab/Assignment-4/question-3.cpp
Hics0000/Console-Based-Cpp-Programs
6a7658a302d19b9d623ff7c5de5bc456c2d5ab69
[ "MIT" ]
1
2021-10-05T17:00:52.000Z
2021-10-05T17:00:52.000Z
Lab-Assignments/Data-Structure-Lab/Assignment-4/question-3.cpp
Hics0000/Console-Based-Cpp-Programs
6a7658a302d19b9d623ff7c5de5bc456c2d5ab69
[ "MIT" ]
7
2021-06-13T08:15:26.000Z
2021-10-05T17:02:10.000Z
#include <iostream> using namespace std; template <class T> class Node { public: int data; Node<T> *Next; }; template <class T> class MyVector { public: Node<T> *Head; int count; MyVector() { Head = NULL; count = 0; } Node<T> *createNode(int n) //CREATE NODE { ...
20.253886
92
0.403428
Hics0000
f0a91e2d73609fa5a426aa3665f4da43c50708d4
27,534
cpp
C++
WPWIV/WPWIV/Texture.cpp
ACskyline/Wave-Particles-with-Interactive-Vortex
99ed54e231971bfece26f61dfe38b9b75f809fde
[ "MIT" ]
197
2018-12-10T00:19:50.000Z
2022-03-30T08:38:50.000Z
WPWIV/WPWIV/Texture.cpp
ACskyline/Wave-Particles-with-Interactive-Vortex
99ed54e231971bfece26f61dfe38b9b75f809fde
[ "MIT" ]
1
2019-01-17T15:50:09.000Z
2019-01-18T23:11:38.000Z
WPWIV/WPWIV/Texture.cpp
ACskyline/Wave-Particles-with-Interactive-Vortex
99ed54e231971bfece26f61dfe38b9b75f809fde
[ "MIT" ]
12
2019-01-14T03:36:50.000Z
2022-01-23T19:56:30.000Z
#include "Texture.h" Texture::Texture(const wstring& _fileName) : fileName(_fileName), imageData(nullptr), textureBuffer(nullptr) { } Texture::Texture() : Texture(L"no file") { } Texture::~Texture() { ReleaseBuffer(); ReleaseBufferCPU(); } void Texture::ReleaseBuffer() { SAFE_RELEASE(textureBuffer); } void...
38.348189
176
0.779509
ACskyline
f0a9baabd160436a7bfa90dd0ddc3fd74d0c4b83
1,238
cpp
C++
src/scenes/SFPC/EstherKnowltonScene/EstherKnowltonScene.cpp
roymacdonald/ReCoded
3bcb3d579cdd17381e54a508a1e4ef9e3d5bc4f1
[ "MIT" ]
64
2017-06-12T19:24:08.000Z
2022-01-27T19:14:48.000Z
src/scenes/EstherKnowltonScene/EstherKnowltonScene.cpp
colaplate/recoded
934e1184c7502d192435c406e56b8a2106e9b6b4
[ "MIT" ]
10
2017-06-13T10:38:39.000Z
2017-11-15T11:21:05.000Z
src/scenes/EstherKnowltonScene/EstherKnowltonScene.cpp
colaplate/recoded
934e1184c7502d192435c406e56b8a2106e9b6b4
[ "MIT" ]
24
2017-06-11T08:14:46.000Z
2020-04-16T20:28:46.000Z
#include "EstherKnowltonScene.h" void EstherKnowltonScene::setup(){ // setup pramaters // if your original code use an ofxPanel instance dont use it here, instead // add your parameters to the "parameters" instance as follows. // param was declared in EstherKnowltonScene.h //parameters.add(param.set("param", 5...
21.344828
75
0.67609
roymacdonald
f0acc41b5c7997fc60ff1a09f1db5a62f954c419
3,777
h++
C++
core/proxy_property.h++
rubenvb/skui
5bda2d73232eb7a763ba9d788c7603298767a7d7
[ "MIT" ]
19
2016-10-13T22:44:31.000Z
2021-12-28T20:28:15.000Z
core/proxy_property.h++
rubenvb/skui
5bda2d73232eb7a763ba9d788c7603298767a7d7
[ "MIT" ]
1
2021-05-16T15:15:22.000Z
2021-05-16T17:01:26.000Z
core/proxy_property.h++
rubenvb/skui
5bda2d73232eb7a763ba9d788c7603298767a7d7
[ "MIT" ]
4
2017-03-07T05:37:02.000Z
2018-06-05T03:14:48.000Z
/** * The MIT License (MIT) * * Copyright © 2017-2019 Ruben Van Boxem * * 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 * ...
31.214876
89
0.688907
rubenvb
f0b020f430f7d0c243afef5780e6816fe50faa44
1,610
cpp
C++
luogu/P1522.cpp
delphi122/knowledge_planet
e86cb8f9aa47ef8918cde0e814984a6535023c21
[ "Apache-2.0" ]
1
2020-07-24T03:07:08.000Z
2020-07-24T03:07:08.000Z
luogu/P1522.cpp
delphi122/knowledge_planet
e86cb8f9aa47ef8918cde0e814984a6535023c21
[ "Apache-2.0" ]
null
null
null
luogu/P1522.cpp
delphi122/knowledge_planet
e86cb8f9aa47ef8918cde0e814984a6535023c21
[ "Apache-2.0" ]
null
null
null
// // Created by yangtao on 19-11-25. // #include <cstdio> #include <cmath> #include <cstring> #include <iostream> #include <algorithm> #define inf 0x3f3f3f3f3f3f3f3f using namespace std; const int N = 155; double d[N][N], d1[N]; int z[2][N]; int n; double m1, m2 = inf; void floyd() { for(int k = 1; k <= n; k++) ...
20.641026
84
0.360248
delphi122
f0ba52f401d75d124eeb3bb1e24443c726e10ea7
972
hpp
C++
addons/misc/CfgEventHandlers.hpp
kellerkompanie/kellerkompanie-medical
b66076217c1c08b6464ec19c15eef72c91bb5cfb
[ "MIT" ]
null
null
null
addons/misc/CfgEventHandlers.hpp
kellerkompanie/kellerkompanie-medical
b66076217c1c08b6464ec19c15eef72c91bb5cfb
[ "MIT" ]
1
2019-03-26T00:56:20.000Z
2019-03-26T00:56:20.000Z
addons/misc/CfgEventHandlers.hpp
kellerkompanie/kellerkompanie-medical
b66076217c1c08b6464ec19c15eef72c91bb5cfb
[ "MIT" ]
null
null
null
class Extended_PreInit_EventHandlers { class ADDON { init = QUOTE(call COMPILE_FILE(XEH_preInit)); disableModuload = true; }; }; class Extended_Init_EventHandlers { class CAManBase { class ADDON { init = QUOTE(_this call COMPILE_FILE(XEH_init)); }; }; cla...
27.771429
105
0.597737
kellerkompanie
f0bac7bcf17c1ec31334cc88dbc6b0f66e195e24
2,325
hxx
C++
AccountingManager.hxx
resiprocate/legacy-b2bua
5684967725fc3faf6d609d6db956d855c1f9426d
[ "SGI-B-2.0", "CECILL-B" ]
3
2016-03-24T12:49:36.000Z
2019-03-20T08:35:11.000Z
AccountingManager.hxx
resiprocate/legacy-b2bua
5684967725fc3faf6d609d6db956d855c1f9426d
[ "SGI-B-2.0", "CECILL-B" ]
null
null
null
AccountingManager.hxx
resiprocate/legacy-b2bua
5684967725fc3faf6d609d6db956d855c1f9426d
[ "SGI-B-2.0", "CECILL-B" ]
2
2019-07-23T10:41:20.000Z
2021-01-21T02:15:46.000Z
#ifndef __AccountingManager_h #define __AccountingManager_h #include "rutil/Data.h" namespace b2bua { class AccountingManager { public: // Call has entered system virtual void onCallStart() = 0; // Call has been authorised virtual void onCallAuthorise() = 0; // Call has connected virtual void onCallCo...
33.695652
77
0.697204
resiprocate