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
5015a1e38b9238f7e1ed4d2facfb5c2797d1223f
102
cpp
C++
samples/win/stdafx.cpp
keima97/ouzel
e6673e678b4739235371a15ae3863942b692c5fb
[ "BSD-2-Clause" ]
null
null
null
samples/win/stdafx.cpp
keima97/ouzel
e6673e678b4739235371a15ae3863942b692c5fb
[ "BSD-2-Clause" ]
null
null
null
samples/win/stdafx.cpp
keima97/ouzel
e6673e678b4739235371a15ae3863942b692c5fb
[ "BSD-2-Clause" ]
null
null
null
// Copyright (C) 2015 Elviss Strazdins // This file is part of the Ouzel engine. #include "stdafx.h"
20.4
41
0.715686
keima97
5018af41fe7b65f08e4d739b40101ed699558645
17,945
cpp
C++
handlers/FilmHandlers.cpp
jedimahdi/movie-network
8b11febb3121ea31f94713528d270618b56bd327
[ "MIT" ]
1
2020-09-03T14:53:11.000Z
2020-09-03T14:53:11.000Z
handlers/FilmHandlers.cpp
jedimahdi/movie-network
8b11febb3121ea31f94713528d270618b56bd327
[ "MIT" ]
null
null
null
handlers/FilmHandlers.cpp
jedimahdi/movie-network
8b11febb3121ea31f94713528d270618b56bd327
[ "MIT" ]
null
null
null
#include "FilmHandlers.h" #include "../exceptions/BadRequest.h" #include "../exceptions/PermissionDenied.h" #include "../models/Comment.h" #include "../models/Film.h" #include <sstream> #include <vector> using namespace std; map<string, string> ShowCreateFilm::handle(Request *req) { map<string, string> context; ...
46.25
176
0.531011
jedimahdi
5018b141a2500b20faf3d680e229dcada4d1713c
770
cpp
C++
2020/03/pcapng-parse/main.cpp
NanXiao/code-for-my-blog
c2c4f59e438241696d938354bb14396f36f97748
[ "BSD-3-Clause" ]
5
2020-03-03T21:00:05.000Z
2021-12-17T07:04:14.000Z
2020/03/pcapng-parse/main.cpp
NanXiao/code-for-my-blog
c2c4f59e438241696d938354bb14396f36f97748
[ "BSD-3-Clause" ]
null
null
null
2020/03/pcapng-parse/main.cpp
NanXiao/code-for-my-blog
c2c4f59e438241696d938354bb14396f36f97748
[ "BSD-3-Clause" ]
2
2020-05-10T18:12:21.000Z
2021-12-17T02:40:42.000Z
#include <iostream> #include <PcapFileDevice.h> int main() { std::cout << pcap_lib_version() << '\n'; pcpp::PcapNgFileReaderDevice input_file("/Users/nanxiao/Downloads/capture.pcapng"); if (input_file.open()) { std::cout << "Open successfully\n"; } else { std::cerr << "Open failed\n"; return 1; } std::cou...
22.647059
84
0.616883
NanXiao
501b2482b4a90a3a55d5d08380c319c154a03a9a
203
cpp
C++
src/FBStateNormal.cpp
LesmesWasNotHere/Footsketball
d8072eda69a3cab570c5a9094eeef0228582cac1
[ "MIT" ]
null
null
null
src/FBStateNormal.cpp
LesmesWasNotHere/Footsketball
d8072eda69a3cab570c5a9094eeef0228582cac1
[ "MIT" ]
null
null
null
src/FBStateNormal.cpp
LesmesWasNotHere/Footsketball
d8072eda69a3cab570c5a9094eeef0228582cac1
[ "MIT" ]
null
null
null
#include "FBStateNormal.h" #define OWN_DISTANCE = 13 FBStateNormal::FBStateNormal(FootsketBall& gameObject):_GameObject(gameObject) { } bool FBStateNormal::Update(unsigned milis) { return true; }
15.615385
78
0.768473
LesmesWasNotHere
501ba224ebc3cce46a06507b53164c6bd0ab0099
1,178
hpp
C++
include/P12218319/cio/benchmarks/Problem.hpp
p12218319/CIO
b302fec4d1b3e0f6f18bf8b83a4229fadd5091c0
[ "Apache-2.0" ]
null
null
null
include/P12218319/cio/benchmarks/Problem.hpp
p12218319/CIO
b302fec4d1b3e0f6f18bf8b83a4229fadd5091c0
[ "Apache-2.0" ]
null
null
null
include/P12218319/cio/benchmarks/Problem.hpp
p12218319/CIO
b302fec4d1b3e0f6f18bf8b83a4229fadd5091c0
[ "Apache-2.0" ]
null
null
null
/* Copyright 2016 Adam Smith & Fabio Caraffini (Original Java version) 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 require...
31
85
0.758913
p12218319
502adbbb70f2ae9c1a7186c42445eac4836a4a00
4,895
cpp
C++
src/confseq/boundaries.cpp
gostevehoward/confseq
a4d85ba77ccbde4b10ec4f73530122dc32b45178
[ "MIT" ]
28
2019-09-23T19:19:11.000Z
2022-01-25T18:40:28.000Z
src/confseq/boundaries.cpp
WannabeSmith/confseq
8c847f8915e553c9fd1a7f3f0fec8f36e2074d42
[ "MIT" ]
10
2019-09-23T02:41:12.000Z
2022-01-12T02:14:07.000Z
src/confseq/boundaries.cpp
WannabeSmith/confseq
8c847f8915e553c9fd1a7f3f0fec8f36e2074d42
[ "MIT" ]
4
2019-09-23T01:36:30.000Z
2021-06-24T19:51:03.000Z
#include <pybind11/numpy.h> #include <pybind11/pybind11.h> #include "uniform_boundaries.h" using namespace pybind11::literals; PYBIND11_MODULE(boundaries, m) { m.doc() = R"pbdoc( Uniform boundaries and mixture supermartingales. See package documentation at https://github.com/gostevehoward/confseq. All...
40.454545
80
0.654137
gostevehoward
df25ca3b040496c41625f5e1557b0e1f788b29f4
654
cpp
C++
Algorithms/Strings/two-strings.cpp
CodeLogist/hackerrank-solutions
faecc4c9563a017eb61e83f0025aa9eb78fd33a1
[ "MIT" ]
73
2016-09-14T18:20:41.000Z
2022-02-05T14:58:04.000Z
Algorithms/Strings/two-strings.cpp
A-STAR0/hackerrank-solutions-1
518cdd9049477d70c499ba4f51f06ac99178f0ab
[ "MIT" ]
3
2017-03-03T01:12:31.000Z
2020-04-18T16:51:59.000Z
Algorithms/Strings/two-strings.cpp
A-STAR0/hackerrank-solutions-1
518cdd9049477d70c499ba4f51f06ac99178f0ab
[ "MIT" ]
69
2017-03-02T19:03:54.000Z
2022-03-29T12:35:38.000Z
#include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> using namespace std; bool check(const string& _a, const string& _b) { // O(n*m) lol no thanks // more like O(n+m+52) bool arr[52] = {false}; for(auto& a : _a) arr[a - 'a'] = true; for(auto& b : _b)...
19.235294
52
0.472477
CodeLogist
df276a14ee404b07e07c2344fdf9670154d65cc7
13,301
cpp
C++
cisstICP/cisstICP/DirPDTreeNode.cpp
sbillin/IMLP
38cbf6f528747ab5421f02f50b9bc3cd416cff8c
[ "BSD-3-Clause" ]
14
2015-05-15T08:54:19.000Z
2021-12-14T06:16:37.000Z
cisstICP/DirPDTreeNode.cpp
Xingorno/cisstICP
dfa00db642a25500946a0c70a900fbc68e5af248
[ "BSD-3-Clause" ]
3
2017-01-11T15:10:31.000Z
2020-12-28T16:16:32.000Z
cisstICP/DirPDTreeNode.cpp
Xingorno/cisstICP
dfa00db642a25500946a0c70a900fbc68e5af248
[ "BSD-3-Clause" ]
8
2015-01-07T20:28:12.000Z
2018-07-13T15:40:39.000Z
// **************************************************************************** // // Copyright (c) 2014, Seth Billings, Russell Taylor, Johns Hopkins University // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the ...
31.370283
125
0.636493
sbillin
df28ecaeef52f8de3864c5efcfd6a03cb13d7c34
615
cpp
C++
Engine/Code/Engine/Physics/GravityForceGenerator.cpp
cugone/Abrams2022
54efe5fdd7d2d9697f005ee45a171ecea68d0df8
[ "MIT" ]
null
null
null
Engine/Code/Engine/Physics/GravityForceGenerator.cpp
cugone/Abrams2022
54efe5fdd7d2d9697f005ee45a171ecea68d0df8
[ "MIT" ]
20
2021-11-29T14:09:33.000Z
2022-03-26T20:12:44.000Z
Engine/Code/Engine/Physics/GravityForceGenerator.cpp
cugone/Abrams2022
54efe5fdd7d2d9697f005ee45a171ecea68d0df8
[ "MIT" ]
null
null
null
#include "Engine/Physics/GravityForceGenerator.hpp" #include "Engine/Math/Vector2.hpp" #include "Engine/Physics/RigidBody.hpp" GravityForceGenerator::GravityForceGenerator(const Vector2& gravity) noexcept : ForceGenerator() , m_g(gravity) { /* DO NOTHING */ } void GravityForceGenerator::notify([[maybe_unused]] T...
25.625
103
0.718699
cugone
df2a6844ceb58154b763d1760fd43b7d80a2f324
16,140
hpp
C++
kvm_core/include/kvm_serializer.hpp
pspglb/kvm
2dc3c4cc331dedaf5245e5c8a24bcba02b6ded32
[ "BSD-3-Clause" ]
26
2020-12-03T11:13:42.000Z
2022-03-25T05:36:33.000Z
kvm_core/include/kvm_serializer.hpp
mtlynch/kvm
f0128edd493a758197a683cbb40dd409d16235e5
[ "BSD-3-Clause" ]
4
2021-01-28T19:32:17.000Z
2021-06-01T15:01:42.000Z
kvm_core/include/kvm_serializer.hpp
mtlynch/kvm
f0128edd493a758197a683cbb40dd409d16235e5
[ "BSD-3-Clause" ]
8
2020-12-04T01:30:21.000Z
2021-12-01T11:19:11.000Z
// Copyright 2020 Christopher A. Taylor /* Binary serialization tools */ #pragma once #include "kvm_core.hpp" #include <string.h> namespace kvm { //------------------------------------------------------------------------------ // Byte Order // Swaps byte order in a 16-bit word CORE_INLINE u...
29.23913
99
0.61171
pspglb
df2aebd6aed1ff09fb6b72d2224ee1957bb37474
757
cpp
C++
Code_Jam/codejam1.cpp
Jonsy13/Competitive-Programming
67e1918488c82b7ab8272b57dd4ffcff9dd4b1ac
[ "MIT" ]
null
null
null
Code_Jam/codejam1.cpp
Jonsy13/Competitive-Programming
67e1918488c82b7ab8272b57dd4ffcff9dd4b1ac
[ "MIT" ]
null
null
null
Code_Jam/codejam1.cpp
Jonsy13/Competitive-Programming
67e1918488c82b7ab8272b57dd4ffcff9dd4b1ac
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int main(){ int T; cin>>T; while(T>0){ int N,ele; cin>>N; vector<vector<int>>vec; for(int i=0;i<N;i++){ vector<int>vec2; for(int j=0;j<N;j++){ cin>>ele; vec2.push_back(el...
22.264706
70
0.393659
Jonsy13
df2d731e6db854943d4b41656ef612c5ec01b381
1,357
hpp
C++
mogl/object/shader/shader.hpp
ninnghazad/moGL
041c5a891469eecfce904e170c62c016d0864cb6
[ "MIT" ]
27
2015-02-26T12:27:19.000Z
2022-03-09T22:24:01.000Z
mogl/object/shader/shader.hpp
ninnghazad/moGL
041c5a891469eecfce904e170c62c016d0864cb6
[ "MIT" ]
21
2015-01-07T15:30:55.000Z
2022-03-22T09:58:35.000Z
mogl/object/shader/shader.hpp
ninnghazad/moGL
041c5a891469eecfce904e170c62c016d0864cb6
[ "MIT" ]
6
2015-02-25T13:02:30.000Z
2019-11-29T08:01:15.000Z
//////////////////////////////////////////////////////////////////////////////// /// Modern OpenGL Wrapper /// /// Copyright (c) 2015 Thibault Schueller /// This file is distributed under the MIT License /// /// @file shader.hpp /// @author Thibault Schueller <ryp.sqrt@gmail.com> ///////////////////////////////////////...
28.270833
103
0.518791
ninnghazad
df2f7804800329b095763f3c1918977db8572e44
1,683
hpp
C++
xyginext/src/network/NetConf.hpp
fallahn/xygine
c17e7d29bb57a5425a58abd3a05a843d6bac48e3
[ "Unlicense" ]
220
2015-10-22T16:12:13.000Z
2022-03-16T18:51:11.000Z
xyginext/src/network/NetConf.hpp
fallahn/xygine
c17e7d29bb57a5425a58abd3a05a843d6bac48e3
[ "Unlicense" ]
64
2016-05-05T19:17:13.000Z
2021-02-11T19:24:37.000Z
xyginext/src/network/NetConf.hpp
fallahn/xygine
c17e7d29bb57a5425a58abd3a05a843d6bac48e3
[ "Unlicense" ]
33
2016-01-13T16:44:26.000Z
2021-11-05T21:57:24.000Z
/********************************************************************* (c) Matt Marchant 2017 - 2021 http://trederia.blogspot.com xygineXT - Zlib license. 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 thi...
28.05
70
0.660131
fallahn
df318fdd648d2c6c3ba1c3ed2e8f9c3443146cf2
2,378
inl
C++
include/memorypool/bufferpool.inl
yesheng86/cpp-utils
36cbf303b820a5c73b34922564be12419bec1e7d
[ "MIT" ]
null
null
null
include/memorypool/bufferpool.inl
yesheng86/cpp-utils
36cbf303b820a5c73b34922564be12419bec1e7d
[ "MIT" ]
null
null
null
include/memorypool/bufferpool.inl
yesheng86/cpp-utils
36cbf303b820a5c73b34922564be12419bec1e7d
[ "MIT" ]
null
null
null
#pragma once #include <functional> #include <map> #include "waitqueue/waitqueue.hpp" #include "log/log.hpp" using namespace util::memorypool; using namespace util::buffer; using namespace util::mt; class BufferPool::Impl { using BufferDescriptorQueue = WaitQueue<BufferDescriptor*>; public: Impl() = default; ~I...
26.719101
125
0.655593
yesheng86
df3d2abefbbefd312b52d50c70c640db674197d6
1,183
cpp
C++
UVA Online Judge/10189 - Minesweeper.cpp
amiraslanaslani/UVA-Solved-Problems
1becb706702789a5f5e0ee86297561fc5b6e5ffc
[ "Unlicense" ]
null
null
null
UVA Online Judge/10189 - Minesweeper.cpp
amiraslanaslani/UVA-Solved-Problems
1becb706702789a5f5e0ee86297561fc5b6e5ffc
[ "Unlicense" ]
null
null
null
UVA Online Judge/10189 - Minesweeper.cpp
amiraslanaslani/UVA-Solved-Problems
1becb706702789a5f5e0ee86297561fc5b6e5ffc
[ "Unlicense" ]
null
null
null
#include <iostream> using namespace std; int main() { int t = 1; while(true){ int io,jo; cin >> io >> jo; if( io == 0 && jo == 0) return 0; if(t != 1) cout << endl; cout << "Field #" << t << ":" << endl; t ++; char m[io][jo]; ...
25.170213
52
0.252747
amiraslanaslani
df410b003d3a641134686f2e8a87f5cf1df3b292
16,150
cpp
C++
src/utils/regexwrappers.cpp
compiler-explorer/asm-parser
bc69e6bfd3b8b080a6781cc85dc89d127dd15a40
[ "BSD-2-Clause" ]
12
2021-03-23T16:09:11.000Z
2022-02-06T09:04:58.000Z
src/utils/regexwrappers.cpp
compiler-explorer/asm-parser
bc69e6bfd3b8b080a6781cc85dc89d127dd15a40
[ "BSD-2-Clause" ]
15
2020-10-04T16:47:19.000Z
2022-02-05T18:29:39.000Z
src/utils/regexwrappers.cpp
compiler-explorer/asm-parser
bc69e6bfd3b8b080a6781cc85dc89d127dd15a40
[ "BSD-2-Clause" ]
1
2021-01-14T03:33:04.000Z
2021-01-14T03:33:04.000Z
#include "regexwrappers.hpp" #include "regexes.hpp" #include "utils.hpp" #include <fmt/core.h> inline int svtoi(const std::string_view sv) { return std::atoi(sv.data()); } std::pair<int, int> AsmParser::AssemblyTextParserUtils::getSourceRef(const std::string_view line) { const auto match = AsmParser::Regexes:...
24.732006
127
0.582663
compiler-explorer
df4cb0ca67799da84ae3cd56b87cccfd8f6f8d64
8,837
hpp
C++
include/murk/crypto/aes.hpp
Cyclic3/murk
fd2f71a4b258be71ef828f1223ddb76cc4ec8254
[ "MIT" ]
2
2019-08-06T21:02:12.000Z
2021-12-22T16:12:38.000Z
include/murk/crypto/aes.hpp
Cyclic3/murk
fd2f71a4b258be71ef828f1223ddb76cc4ec8254
[ "MIT" ]
null
null
null
include/murk/crypto/aes.hpp
Cyclic3/murk
fd2f71a4b258be71ef828f1223ddb76cc4ec8254
[ "MIT" ]
null
null
null
#pragma once #include "murk/data.hpp" #include "murk/flows/bytes.hpp" namespace murk::crypto::aes { constexpr uint8_t sbox[256] = {0x63 ,0x7c ,0x77 ,0x7b ,0xf2 ,0x6b ,0x6f ,0xc5 ,0x30 ,0x01 ,0x67 ,0x2b ,0xfe ,0xd7 ,0xab ,0x76 ,0xca ,0x82 ,0xc9 ,0x7d ,0xfa ,0x59 ,0x47 ,0xf0 ,0xad ,0xd...
49.094444
1,573
0.565237
Cyclic3
df54fe9ea960519cc358e317ea5ebfc56d595593
28
cpp
C++
src/StoneCold.3D.Game/InputManager.cpp
krck/StoneCold_3D
5661a96e5167922b0ba555714a6d337acdea48c5
[ "BSD-3-Clause" ]
null
null
null
src/StoneCold.3D.Game/InputManager.cpp
krck/StoneCold_3D
5661a96e5167922b0ba555714a6d337acdea48c5
[ "BSD-3-Clause" ]
null
null
null
src/StoneCold.3D.Game/InputManager.cpp
krck/StoneCold_3D
5661a96e5167922b0ba555714a6d337acdea48c5
[ "BSD-3-Clause" ]
null
null
null
#include "InputManager.hpp"
14
27
0.785714
krck
df5b035b3addb1a074dad1985cb5fb0be699c696
331
cpp
C++
sandbox/sandbox_shared_lib/derived.cpp
VaderY/cereal
b03f237713a7e4aab18c7d9150fb3c9a5e92ea3a
[ "BSD-3-Clause" ]
null
null
null
sandbox/sandbox_shared_lib/derived.cpp
VaderY/cereal
b03f237713a7e4aab18c7d9150fb3c9a5e92ea3a
[ "BSD-3-Clause" ]
null
null
null
sandbox/sandbox_shared_lib/derived.cpp
VaderY/cereal
b03f237713a7e4aab18c7d9150fb3c9a5e92ea3a
[ "BSD-3-Clause" ]
null
null
null
#ifndef CEREAL_DLL_USE #define CEREAL_DLL_MAKE #endif #include "derived.hpp" template void Derived::serialize<cereal::XMLOutputArchive> ( cereal::XMLOutputArchive & ar, const std::uint32_t version ); template void Derived::serialize<cereal::XMLInputArchive> ( cereal::XMLInputArchive & ar, const std::uint32_t ...
30.090909
67
0.770393
VaderY
df5ecbcc497ea0260cb3437fb2d483967e14974f
329
cpp
C++
Arcanist/src/ArcanistApp.cpp
zaub3rfuchs/Arc
19b159bb6ea014b615e16ff13c946b6f93c0f281
[ "Apache-2.0" ]
null
null
null
Arcanist/src/ArcanistApp.cpp
zaub3rfuchs/Arc
19b159bb6ea014b615e16ff13c946b6f93c0f281
[ "Apache-2.0" ]
null
null
null
Arcanist/src/ArcanistApp.cpp
zaub3rfuchs/Arc
19b159bb6ea014b615e16ff13c946b6f93c0f281
[ "Apache-2.0" ]
null
null
null
#include <Arc.h> #include <Arc/Core/EntryPoint.h> #include "EditorLayer.h" namespace ArcEngine { class Arcanist : public Application { public: Arcanist() : Application("Arcanist") { PushLayer(new EditorLayer()); } ~Arcanist() { } }; Application* CreateApplication() { return new Arcanist(...
11.344828
36
0.644377
zaub3rfuchs
df62d5005e157b28b4e891feda043cb83077a258
8,473
cc
C++
lang/cimport/packing.cc
meyerj/typelib
e2a8d67d35732ffdd1d586aa8370576033ecc5a6
[ "CECILL-B" ]
null
null
null
lang/cimport/packing.cc
meyerj/typelib
e2a8d67d35732ffdd1d586aa8370576033ecc5a6
[ "CECILL-B" ]
null
null
null
lang/cimport/packing.cc
meyerj/typelib
e2a8d67d35732ffdd1d586aa8370576033ecc5a6
[ "CECILL-B" ]
null
null
null
#include "packing.hh" #include <typelib/typemodel.hh> #include <typelib/typevisitor.hh> #include <boost/lexical_cast.hpp> #include <typelib/typedisplay.hh> //////////////////////////////////////////////////////////////////////////////// // // Check some assumptions we make in the packing code // #include <boost/mpl/...
32.968872
128
0.619497
meyerj
df647043b80cd16f957121b27129855a843460bf
927
cpp
C++
LeviathanTest/TestFiles/GuiTests.cpp
Higami69/Leviathan
90f68f9f6e5506d6133bcefcf35c8e84f158483b
[ "BSL-1.0" ]
null
null
null
LeviathanTest/TestFiles/GuiTests.cpp
Higami69/Leviathan
90f68f9f6e5506d6133bcefcf35c8e84f158483b
[ "BSL-1.0" ]
null
null
null
LeviathanTest/TestFiles/GuiTests.cpp
Higami69/Leviathan
90f68f9f6e5506d6133bcefcf35c8e84f158483b
[ "BSL-1.0" ]
null
null
null
//! \file Tests for various supporting GUI methods. Doesn't actually //! try any rendering or anything like that #include "GUI/VideoPlayer.h" #include "../PartialEngine.h" #include "catch.hpp" using namespace Leviathan; using namespace Leviathan::Test; using namespace Leviathan::GUI; TEST_CASE("Leviathan VideoPla...
22.609756
78
0.693635
Higami69
df659582d24a157fdf0a3351a454f1291e7053cf
8,833
cpp
C++
src/vm/readytoruninfo.cpp
CyberSys/coreclr-mono
83b2cb83b32faa45b4f790237b5c5e259692294a
[ "MIT" ]
10
2015-11-03T16:35:25.000Z
2021-07-31T16:36:29.000Z
src/vm/readytoruninfo.cpp
CyberSys/coreclr-mono
83b2cb83b32faa45b4f790237b5c5e259692294a
[ "MIT" ]
1
2019-03-05T18:50:09.000Z
2019-03-05T18:50:09.000Z
src/vm/readytoruninfo.cpp
CyberSys/coreclr-mono
83b2cb83b32faa45b4f790237b5c5e259692294a
[ "MIT" ]
4
2015-10-28T12:26:26.000Z
2021-09-04T11:36:04.000Z
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // // =========================================================================== // File: ReadyToRunInfo.cpp // // // Runtime support for Ready to Run // =========...
27.77673
140
0.676893
CyberSys
df67439f69e0ad36bce2d6fcd74b8dc868f80f71
304
cpp
C++
src/debug20/backtrace.cpp
Tomcus/debug20
4124f83359b49c8b340f957bce1e0b83bffd443e
[ "MIT" ]
null
null
null
src/debug20/backtrace.cpp
Tomcus/debug20
4124f83359b49c8b340f957bce1e0b83bffd443e
[ "MIT" ]
null
null
null
src/debug20/backtrace.cpp
Tomcus/debug20
4124f83359b49c8b340f957bce1e0b83bffd443e
[ "MIT" ]
null
null
null
#include "backtrace.hpp" #include <fmt/os.h> void d20::print_backtrace() noexcept { backtrace_data data; try { data = get_backtrace(); for (auto trace:data) { fmt::print("{}\n", trace); } } catch (const exception& e) { puts(e.what()); } }
20.266667
38
0.523026
Tomcus
df6f519bdaae3b19dd7843d83822c94c2e3394d9
3,872
cpp
C++
Munch/assem.cpp
Compiladori/Tiger-Compiler
d52f92459dac0fa00534162a808376875883446d
[ "MIT" ]
1
2020-12-31T16:05:42.000Z
2020-12-31T16:05:42.000Z
Munch/assem.cpp
Compiladori/Tiger-Compiler
d52f92459dac0fa00534162a808376875883446d
[ "MIT" ]
1
2021-01-27T15:41:18.000Z
2021-05-31T21:47:02.000Z
Munch/assem.cpp
Compiladori/Tiger-Compiler
d52f92459dac0fa00534162a808376875883446d
[ "MIT" ]
null
null
null
#include "assem.h" using namespace assem; /** * Instructions * **/ void Oper::output(std::ostream& os, temp::TempMap temp_map) const { std::string result; for ( auto it = assm.cbegin(); it != assm.cend(); ++it ) { if ( *it == '\'' ) { switch ( *(++it) ) { case 's': { ...
36.528302
144
0.383781
Compiladori
df73c1eebe1b09c510eb28608abf20db66330d4c
8,710
cpp
C++
Source/Engine/World/Private/Components/Drawable.cpp
CodeLikeCXK/AngieEngine
26f3cfdb1fdef6378ee75b000b8fe966bebb3a6e
[ "MIT" ]
24
2019-07-15T22:48:44.000Z
2021-11-02T04:42:48.000Z
Source/Engine/World/Private/Components/Drawable.cpp
CodeLikeCXK/AngieEngine
26f3cfdb1fdef6378ee75b000b8fe966bebb3a6e
[ "MIT" ]
1
2021-11-02T09:41:31.000Z
2021-11-05T18:35:14.000Z
Source/Engine/World/Private/Components/Drawable.cpp
CodeLikeCXK/AngieEngine
26f3cfdb1fdef6378ee75b000b8fe966bebb3a6e
[ "MIT" ]
3
2020-02-03T08:34:50.000Z
2021-07-28T05:19:22.000Z
/* Angie Engine Source Code MIT License Copyright (C) 2017-2021 Alexander Samusev. This file is part of the Angie Engine Source Code. 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 re...
28.936877
126
0.673479
CodeLikeCXK
df76745843887c5fce7997ba21567a428c020ec3
164
cpp
C++
ext/n7zip/guid.cpp
yagisumi/node-n7zip_native
7e9b5e1ca1e2e0889fee637908f4c70238584bac
[ "MIT" ]
null
null
null
ext/n7zip/guid.cpp
yagisumi/node-n7zip_native
7e9b5e1ca1e2e0889fee637908f4c70238584bac
[ "MIT" ]
1
2020-10-16T17:26:54.000Z
2020-10-16T17:26:54.000Z
ext/n7zip/guid.cpp
yagisumi/node-n7zip_native
7e9b5e1ca1e2e0889fee637908f4c70238584bac
[ "MIT" ]
null
null
null
// #include <Common/MyInitGuid.h> #define INITGUID // #include <7zip/Archive/IArchive.h> // #include <7zip/IStream.h> // #include <7zip/ICoder.h> #include "guid.h"
23.428571
37
0.695122
yagisumi
df7ad6c85627a82ea0a3eaa9fc6138adc3df9da1
7,506
cpp
C++
Source/Game/Collision/CollisionSystem.cpp
gunstarpl/Game-Engine-12-2013
bfc53f5c998311c17e97c1b4d65792d615c51d36
[ "MIT", "Unlicense" ]
6
2017-12-31T17:28:40.000Z
2021-12-04T06:11:34.000Z
Source/Game/Collision/CollisionSystem.cpp
gunstarpl/Game-Engine-12-2013
bfc53f5c998311c17e97c1b4d65792d615c51d36
[ "MIT", "Unlicense" ]
null
null
null
Source/Game/Collision/CollisionSystem.cpp
gunstarpl/Game-Engine-12-2013
bfc53f5c998311c17e97c1b4d65792d615c51d36
[ "MIT", "Unlicense" ]
null
null
null
#include "Precompiled.hpp" #include "CollisionSystem.hpp" #include "CollisionComponent.hpp" #include "Common/Services.hpp" #include "Game/Event/EventDefinitions.hpp" #include "Game/Event/EventSystem.hpp" #include "Game/Entity/EntitySystem.hpp" #include "Game/Component/ComponentSystem.hpp" #include "Game/Transform/Tran...
29.785714
116
0.59619
gunstarpl
df7bc70853f767f049300ed1050261a60ee47670
2,111
cxx
C++
Libraries/VtkVgQtUtil/vtkVgQtUtil.cxx
judajake/vivia
ac0bad0dc200b5af25911513edb0ca6fd6e9f622
[ "BSD-3-Clause" ]
1
2017-07-31T07:08:05.000Z
2017-07-31T07:08:05.000Z
Libraries/VtkVgQtUtil/vtkVgQtUtil.cxx
judajake/vivia
ac0bad0dc200b5af25911513edb0ca6fd6e9f622
[ "BSD-3-Clause" ]
null
null
null
Libraries/VtkVgQtUtil/vtkVgQtUtil.cxx
judajake/vivia
ac0bad0dc200b5af25911513edb0ca6fd6e9f622
[ "BSD-3-Clause" ]
null
null
null
/*ckwg +5 * Copyright 2013 by Kitware, Inc. All Rights Reserved. Please refer to * KITWARE_LICENSE.TXT for licensing information, or contact General Counsel, * Kitware, Inc., 28 Corporate Drive, Clifton Park, NY 12065. */ #include "vtkVgQtUtil.h" #include <QApplication> #include <QThreadStorage> #include <vtkEve...
28.527027
79
0.598768
judajake
df86b706c9105a2eef30148fc0e759ff03fd9138
8,130
hpp
C++
include/cellarium/paged_storage.hpp
ortfero/cellarium
32b6d19edb5f4110a22eb74c7f9bead8982be665
[ "MIT" ]
null
null
null
include/cellarium/paged_storage.hpp
ortfero/cellarium
32b6d19edb5f4110a22eb74c7f9bead8982be665
[ "MIT" ]
null
null
null
include/cellarium/paged_storage.hpp
ortfero/cellarium
32b6d19edb5f4110a22eb74c7f9bead8982be665
[ "MIT" ]
null
null
null
/* This file is part of cellarium library * Copyright 2020 Andrei Ilin <ortfero@gmail.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limita...
32.261905
100
0.628659
ortfero
df89d2c08fe187fe049d534e8deed96f55c32fb7
11,811
cpp
C++
hip/matrix/dense_kernels.hip.cpp
flipflapflop/ginkgo
876234e142a0f5bb2a85bb1dd2cc488c3c5d6206
[ "BSD-3-Clause" ]
null
null
null
hip/matrix/dense_kernels.hip.cpp
flipflapflop/ginkgo
876234e142a0f5bb2a85bb1dd2cc488c3c5d6206
[ "BSD-3-Clause" ]
null
null
null
hip/matrix/dense_kernels.hip.cpp
flipflapflop/ginkgo
876234e142a0f5bb2a85bb1dd2cc488c3c5d6206
[ "BSD-3-Clause" ]
null
null
null
/*******************************<GINKGO LICENSE>****************************** Copyright (c) 2017-2019, the Ginkgo authors All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source co...
36.680124
80
0.698671
flipflapflop
df8e164c1ab2a07de0eca43a3eaa9c989dd42fbf
1,074
hpp
C++
src/Namespace.hpp
degustaf/lisp-compiler
e176d5b07d68456b07fda516b722213b07f46248
[ "MIT" ]
null
null
null
src/Namespace.hpp
degustaf/lisp-compiler
e176d5b07d68456b07fda516b722213b07f46248
[ "MIT" ]
null
null
null
src/Namespace.hpp
degustaf/lisp-compiler
e176d5b07d68456b07fda516b722213b07f46248
[ "MIT" ]
null
null
null
#ifndef NAMESPACE_HPP #define NAMESPACE_HPP #include "Interfaces.hpp" #include <map> #include "AReference.hpp" #include "Symbol.hpp" class Namespace : public AReference, public IReference_inherit<Namespace>, public std::enable_shared_from_this<Namespace> { public: const std::shared_ptr<const Symbol> name; vir...
34.645161
123
0.748603
degustaf
df8f289b23ea2b7ae77d5a04940c2d1055c8af43
1,151
cpp
C++
src/stl_generate/main.cpp
MaksimPopp/STL_practice_UNN_381906-3
83dedf756b170b4ce89e0c74e615bbfd72c4e0a7
[ "Apache-2.0" ]
null
null
null
src/stl_generate/main.cpp
MaksimPopp/STL_practice_UNN_381906-3
83dedf756b170b4ce89e0c74e615bbfd72c4e0a7
[ "Apache-2.0" ]
1
2020-12-12T09:55:31.000Z
2020-12-12T11:04:55.000Z
src/stl_generate/main.cpp
MaksimPopp/STL_practice_UNN_381906-3
83dedf756b170b4ce89e0c74e615bbfd72c4e0a7
[ "Apache-2.0" ]
12
2020-12-12T09:42:22.000Z
2020-12-19T11:44:27.000Z
//Лазарев Алексей //Вместо того чтобы использовать постоянное значение для заполнения //контейнера, иногда желательно вычислить свое значение для каждого элемента //Это можно сделать с помощью алгоритма generate(породить). #include <iostream> #include <string> #include <algorithm> #include <iterator> #include <list> ...
28.775
98
0.720243
MaksimPopp
df9b20f5d86c7d0add80f831eeaaa97d55a8983b
1,133
cpp
C++
offer/problem034/Solution.cpp
MyYaYa/leetcode
d779c215516ede594267b15abdfba5a47dc879dd
[ "Apache-2.0" ]
1
2016-09-29T14:23:59.000Z
2016-09-29T14:23:59.000Z
offer/problem034/Solution.cpp
MyYaYa/leetcode
d779c215516ede594267b15abdfba5a47dc879dd
[ "Apache-2.0" ]
null
null
null
offer/problem034/Solution.cpp
MyYaYa/leetcode
d779c215516ede594267b15abdfba5a47dc879dd
[ "Apache-2.0" ]
null
null
null
class Solution { public: vector<int> GetLeastNumbers_Solution(vector<int> input, int k) { if (input.empty() || k == 0 || k > input.size()) return vector<int>(); int left = 0, right = input.size() - 1; int index = Partition(input, left, right); while (index != (k-1)) { if...
32.371429
79
0.44925
MyYaYa
df9dc069bf88d219dd9444b43c1a0b4a22806ce4
3,363
hpp
C++
Engine/Utilities/UtilityAssert.hpp
jcolwell/ogl
efa8404a25fb7a23bf5951f798a3970134e15386
[ "Unlicense" ]
null
null
null
Engine/Utilities/UtilityAssert.hpp
jcolwell/ogl
efa8404a25fb7a23bf5951f798a3970134e15386
[ "Unlicense" ]
null
null
null
Engine/Utilities/UtilityAssert.hpp
jcolwell/ogl
efa8404a25fb7a23bf5951f798a3970134e15386
[ "Unlicense" ]
null
null
null
#ifndef _ASSERT_UTILITIES_H_ #define _ASSERT_UTILITIES_H_ //================================================================================== // File: UtilityAssert.h // Desc: //================================================================================== //======================================================...
33.29703
84
0.262266
jcolwell
dfb5dd43032185690be0e8dae1132064200a0368
792
hpp
C++
Merlin/Merlin/Platform/OpenGL/opengl_cubemap.hpp
kshatos/MerlinEngine
a7eb9b39b6cb8a02bef0f739db25268a7a06e215
[ "MIT" ]
null
null
null
Merlin/Merlin/Platform/OpenGL/opengl_cubemap.hpp
kshatos/MerlinEngine
a7eb9b39b6cb8a02bef0f739db25268a7a06e215
[ "MIT" ]
null
null
null
Merlin/Merlin/Platform/OpenGL/opengl_cubemap.hpp
kshatos/MerlinEngine
a7eb9b39b6cb8a02bef0f739db25268a7a06e215
[ "MIT" ]
null
null
null
#ifndef OPENGL_CUBEMAP_HPP #define OPENGL_CUBEMAP_HPP #include "Merlin/Render/cubemap.hpp" #include <stdint.h> namespace Merlin { class OpenGLCubemap : public Cubemap { uint32_t m_channel_count; uint32_t m_resolution; uint32_t m_id; public: OpenGLCubemap(const std::vector<s...
28.285714
86
0.694444
kshatos
dfc36dea730e557de3eafa86b5b9c02b16e52d0c
14,211
cpp
C++
reflex/src/win32/defs.cpp
xord/reflexion
7d864267152dca1ffeef757d0584777b16a92ede
[ "MIT" ]
3
2015-12-18T09:04:48.000Z
2022-01-04T22:21:20.000Z
reflex/src/win32/defs.cpp
xord/reflexion
7d864267152dca1ffeef757d0584777b16a92ede
[ "MIT" ]
null
null
null
reflex/src/win32/defs.cpp
xord/reflexion
7d864267152dca1ffeef757d0584777b16a92ede
[ "MIT" ]
null
null
null
#include "defs.h" #include <windowsx.h> #ifndef VK_BROWSER_BACK #define VK_BROWSER_BACK 0xa6 #define VK_BROWSER_FORWARD 0xa7 #define VK_BROWSER_REFRESH 0xa8 #define VK_BROWSER_STOP 0xa9 #define VK_BROWSER_SEARCH 0xaa #define VK_BROWSER_FAVORITES 0xab #define VK_BROWSER_HOME ...
46.746711
75
0.517557
xord
dfc4a1b7b904f4f29f6f2e734ed693b2bc05b654
6,224
cpp
C++
NINJA/TreeBuilderManager.cpp
jebrosen/NINJA
db4f4216fc402e73ae16be65a1fc8e5ecfeef79b
[ "MIT" ]
null
null
null
NINJA/TreeBuilderManager.cpp
jebrosen/NINJA
db4f4216fc402e73ae16be65a1fc8e5ecfeef79b
[ "MIT" ]
null
null
null
NINJA/TreeBuilderManager.cpp
jebrosen/NINJA
db4f4216fc402e73ae16be65a1fc8e5ecfeef79b
[ "MIT" ]
null
null
null
/* * TreeBuilderManager.cpp * * Created on: Feb 7, 2016 * Author: michel */ #include "TreeBuilderManager.hpp" #define LINUX 1 #ifdef LINUX #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> #endif //standard constructor TreeBuilderManager::TreeBuilderManager(std::string method, std::string ...
29.358491
228
0.677378
jebrosen
dfc6194a7973a9035028ec4014b658ac6667416f
9,918
cpp
C++
Source/VoxelArt/Private/Editor/VoxelModificationWorld.cpp
limness/Voxel-Art
78e3d71f820657568d861983c46ed130fd40f807
[ "MIT" ]
32
2021-04-28T21:11:30.000Z
2022-03-27T15:28:59.000Z
Source/VoxelArt/Private/Editor/VoxelModificationWorld.cpp
limness/Voxel-Art
78e3d71f820657568d861983c46ed130fd40f807
[ "MIT" ]
null
null
null
Source/VoxelArt/Private/Editor/VoxelModificationWorld.cpp
limness/Voxel-Art
78e3d71f820657568d861983c46ed130fd40f807
[ "MIT" ]
5
2021-04-29T03:09:03.000Z
2022-01-26T03:25:47.000Z
// Voxel Art Plugin 2021 ~ Copyright Limit #include "Editor/VoxelModificationWorld.h" #include "Editor/VoxelEditorData.h" #include "DrawDebugHelpers.h" #include "Kismet/KismetMathLibrary.h" //#include "Noise/SimplexNoiseBPLibrary.h" #include "Helpers/VoxelTools.h" #include "Helpers/VoxelSDFUtilities.h" #include "He...
31.993548
151
0.672817
limness
dfc66268313230649d3d4ae8246ff9a66e52be3f
975
cpp
C++
tools/flang2/flang2exe/expdf.cpp
kammerdienerb/flang
8cc4a02b94713750f09fe6b756d33daced0b4a74
[ "Apache-2.0" ]
1
2019-12-11T17:43:58.000Z
2019-12-11T17:43:58.000Z
tools/flang2/flang2exe/expdf.cpp
kammerdienerb/flang
8cc4a02b94713750f09fe6b756d33daced0b4a74
[ "Apache-2.0" ]
2
2019-12-29T21:15:40.000Z
2020-06-15T11:21:10.000Z
tools/flang2/flang2exe/expdf.cpp
kammerdienerb/flang
8cc4a02b94713750f09fe6b756d33daced0b4a74
[ "Apache-2.0" ]
3
2019-12-21T06:35:35.000Z
2020-06-07T23:18:58.000Z
/* * Copyright (c) 1993-2017, NVIDIA CORPORATION. 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 * * Unless ...
23.214286
75
0.718974
kammerdienerb
dfc7a153e75c3cfc9a922805c0b3278821c8d641
5,231
cpp
C++
pheroes/Game/Dlg_Recruit.cpp
TripleMOMO/pocketheroes
6a6f0726c8ea590592290ac53c38e653cf7f966c
[ "Apache-2.0" ]
3
2015-08-08T09:10:02.000Z
2016-03-21T08:48:19.000Z
pheroes/Game/Dlg_Recruit.cpp
TripleMOMO/pocketheroes
6a6f0726c8ea590592290ac53c38e653cf7f966c
[ "Apache-2.0" ]
null
null
null
pheroes/Game/Dlg_Recruit.cpp
TripleMOMO/pocketheroes
6a6f0726c8ea590592290ac53c38e653cf7f966c
[ "Apache-2.0" ]
1
2015-08-21T23:32:49.000Z
2015-08-21T23:32:49.000Z
/* * This file is a part of Pocket Heroes Game project * http://www.pocketheroes.net * https://code.google.com/p/pocketheroes/ * * Copyright 2004-2010 by Robert Tarasov and Anton Stuk (iO UPG) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in comp...
34.873333
177
0.678455
TripleMOMO
dfd1932a30a21161f6deab54b076cc19ae0b4031
10,438
cpp
C++
source/gfx/gfx_objects.cpp
SaeruHikari/VulkanLittleMaster
204696b0eb87500bc6ed3ed7fca68f1458e698a1
[ "MIT" ]
3
2022-03-16T03:57:49.000Z
2022-03-20T08:05:35.000Z
source/gfx/gfx_objects.cpp
SaeruHikari/VulkanLittleMaster
204696b0eb87500bc6ed3ed7fca68f1458e698a1
[ "MIT" ]
null
null
null
source/gfx/gfx_objects.cpp
SaeruHikari/VulkanLittleMaster
204696b0eb87500bc6ed3ed7fca68f1458e698a1
[ "MIT" ]
null
null
null
#include "gfx/gfx_objects.h" #include <vector> #include <string_view> #include <iostream> void LittleGFXAdapter::queryProperties() { vkPhysDeviceProps.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2; vkGetPhysicalDeviceProperties2(vkPhysicalDevice, &vkPhysDeviceProps); std::cout << vkPhysDeviceProps...
37.68231
103
0.705403
SaeruHikari
2547637c7fa4c3af8dc1ca379700190fbfc2dce1
1,878
cc
C++
second-project/solutions/TLM/LT/src/multiplier_LT.cc
elenaramon/Embedded-systems-design-projects
228f50e40a46a4c9fc738d38f910a22663900697
[ "MIT" ]
null
null
null
second-project/solutions/TLM/LT/src/multiplier_LT.cc
elenaramon/Embedded-systems-design-projects
228f50e40a46a4c9fc738d38f910a22663900697
[ "MIT" ]
null
null
null
second-project/solutions/TLM/LT/src/multiplier_LT.cc
elenaramon/Embedded-systems-design-projects
228f50e40a46a4c9fc738d38f910a22663900697
[ "MIT" ]
null
null
null
#include "multiplier_LT.hh" multiplier_LT::multiplier_LT(sc_module_name name_): sc_module(name_), target_socket("target_socket"), pending_transaction(NULL) { target_socket(*this); } void multiplier_LT::b_transport(tlm::tlm_generic_payload & trans, sc_time & t) { timing_annotation = SC_ZERO_TIME; ioDataStruct =...
32.37931
129
0.71885
elenaramon
254ab8e1dd62bbb70df38566d0eedd2d9be7e406
1,307
cpp
C++
CSE 225L Data Structures and Algorithms/Resources/Codes Previous/Spring-2019-CSE225 1/Lab 04(Unsorted List )/unsortedtype(23).cpp
diptu/Teaching
20655bb2c688ae29566b0a914df4a3e5936a2f61
[ "MIT" ]
null
null
null
CSE 225L Data Structures and Algorithms/Resources/Codes Previous/Spring-2019-CSE225 1/Lab 04(Unsorted List )/unsortedtype(23).cpp
diptu/Teaching
20655bb2c688ae29566b0a914df4a3e5936a2f61
[ "MIT" ]
null
null
null
CSE 225L Data Structures and Algorithms/Resources/Codes Previous/Spring-2019-CSE225 1/Lab 04(Unsorted List )/unsortedtype(23).cpp
diptu/Teaching
20655bb2c688ae29566b0a914df4a3e5936a2f61
[ "MIT" ]
null
null
null
#include "UnsortedType.h" template<class ItemType> UnsortedType<ItemType>::UnsortedType() { length=0; currentPos=-1; } template<class ItemType> void UnsortedType<ItemType>::MakeEmpty() { length =0; } template<class ItemType> bool UnsortedType<ItemType>::IsFull() { return (length == MAX_ITEMS); } tem...
16.3375
70
0.653405
diptu
255023e849b9bc071d3e5a5cb2a6f0054b4fd1b8
5,366
cpp
C++
ProblemSelect/Control.cpp
kravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
2
2018-04-27T11:07:02.000Z
2020-04-24T06:53:21.000Z
ProblemSelect/Control.cpp
idkravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
null
null
null
ProblemSelect/Control.cpp
idkravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
null
null
null
//********************************************************* // Control.cpp - Program Control //********************************************************* #include "ProblemSelect.hpp" #include "Utility.hpp" //--------------------------------------------------------- // Program_Control //-------------------------------...
25.074766
85
0.631196
kravitz
25534e17aafff04a64555557f7a5161924630dc5
364
cpp
C++
925. Long Pressed Name.cpp
rajeev-ranjan-au6/Leetcode_Cpp
f64cd98ab96ec110f1c21393f418acf7d88473e8
[ "MIT" ]
3
2020-12-30T00:29:59.000Z
2021-01-24T22:43:04.000Z
925. Long Pressed Name.cpp
rajeevranjancom/Leetcode_Cpp
f64cd98ab96ec110f1c21393f418acf7d88473e8
[ "MIT" ]
null
null
null
925. Long Pressed Name.cpp
rajeevranjancom/Leetcode_Cpp
f64cd98ab96ec110f1c21393f418acf7d88473e8
[ "MIT" ]
null
null
null
class Solution { public: bool isLongPressedName(string name, string typed) { int a = 0, b = 0, n = name.size(), m = typed.size(); while (a < n && b < m) { if (name[a++] != typed[b++]) return false; while (b > 0 && name[a] != typed[b] && typed[b] == typed[b - 1]) ++b; ...
30.333333
81
0.445055
rajeev-ranjan-au6
2557b707320b1ac078aeb7a547c716231914c7a8
1,693
hpp
C++
include/PauseState.hpp
AgostonSzepessy/oxshans-battle
15d4cd5eb6375cca5e8e426fc9b8f70e74ca28b0
[ "MIT" ]
null
null
null
include/PauseState.hpp
AgostonSzepessy/oxshans-battle
15d4cd5eb6375cca5e8e426fc9b8f70e74ca28b0
[ "MIT" ]
null
null
null
include/PauseState.hpp
AgostonSzepessy/oxshans-battle
15d4cd5eb6375cca5e8e426fc9b8f70e74ca28b0
[ "MIT" ]
null
null
null
#pragma once #include <memory> #include <SFML/Graphics.hpp> #include <SFML/System.hpp> #include "GameState.hpp" #include "PlayState.hpp" #include "Background.hpp" /** * @brief The PauseState class This the pause menu. * The user can decide to resume, restart or quit. */ class PauseState : public GameState { pub...
25.651515
92
0.680449
AgostonSzepessy
255bea5fc8a3cb03a0e5a4d77e498ae23a4a307b
991
hpp
C++
scenes/inf585/06_skinning/src/animation.hpp
Lieunoir/inf585
41e8e52436f34d4a46425482ff953888bb8345bc
[ "MIT" ]
null
null
null
scenes/inf585/06_skinning/src/animation.hpp
Lieunoir/inf585
41e8e52436f34d4a46425482ff953888bb8345bc
[ "MIT" ]
null
null
null
scenes/inf585/06_skinning/src/animation.hpp
Lieunoir/inf585
41e8e52436f34d4a46425482ff953888bb8345bc
[ "MIT" ]
null
null
null
#pragma once #include "vcl/vcl.hpp" #include "skeleton.hpp" namespace vcl { enum Marine_Animations { IDLE, WALK, RUN, }; struct marine_animation_structure { bool transition = false; float transitionStart; Marine_Animations current_animation = IDLE; ...
30.96875
147
0.739657
Lieunoir
255bf262ed7427659800ab1396debc802f912f41
1,018
cpp
C++
src/game_object.cpp
SYNTAXDZ/simpleOpenGLGame
14f50824e9f43b6c421676856aa33b0cce053554
[ "MIT" ]
null
null
null
src/game_object.cpp
SYNTAXDZ/simpleOpenGLGame
14f50824e9f43b6c421676856aa33b0cce053554
[ "MIT" ]
null
null
null
src/game_object.cpp
SYNTAXDZ/simpleOpenGLGame
14f50824e9f43b6c421676856aa33b0cce053554
[ "MIT" ]
null
null
null
/******************************************************************* ** This code is part of Breakout. ** ** Breakout is free software: you can redistribute it and/or modify ** it under the terms of the CC BY 4.0 license as published by ** Creative Commons, either version 4 of the License, or (at your ** option) any la...
44.26087
151
0.585462
SYNTAXDZ
2560385ae097cd937e78ffb7e9ff23b9d0e28a0c
4,638
cpp
C++
Source/managementD3D.cpp
L0mion/Makes-a-Click
c7f53a53ea3a58da027ea5f00176352edb914718
[ "MIT" ]
1
2016-04-28T06:24:15.000Z
2016-04-28T06:24:15.000Z
Source/managementD3D.cpp
L0mion/Makes-a-Click
c7f53a53ea3a58da027ea5f00176352edb914718
[ "MIT" ]
null
null
null
Source/managementD3D.cpp
L0mion/Makes-a-Click
c7f53a53ea3a58da027ea5f00176352edb914718
[ "MIT" ]
null
null
null
#include "managementD3D.h" #include "utility.h" ManagementD3D::ManagementD3D() { swapChain_ = NULL; device_ = NULL; devcon_ = NULL; uavBackBuffer_ = NULL; rtvBackBuffer_ = NULL; dsvDepthBuffer_ = NULL; } ManagementD3D::~ManagementD3D() { SAFE_RELEASE(swapChain_); SAFE_RELEASE(device_); SAFE_RELEASE(devco...
24.15625
81
0.734368
L0mion
25632e571c62600c9572c258fa50ce252f18e186
3,034
cpp
C++
devmand/gateway/src/devmand/channels/cli/IoConfigurationBuilder.cpp
fannycchen/magma
b8ccc1c7437c555656988638482d3a8f458224e8
[ "BSD-3-Clause" ]
1
2020-06-05T09:01:40.000Z
2020-06-05T09:01:40.000Z
devmand/gateway/src/devmand/channels/cli/IoConfigurationBuilder.cpp
phirmware/magma
1b3e4533235293f754d7375eb421c968cc0b1856
[ "BSD-3-Clause" ]
null
null
null
devmand/gateway/src/devmand/channels/cli/IoConfigurationBuilder.cpp
phirmware/magma
1b3e4533235293f754d7375eb421c968cc0b1856
[ "BSD-3-Clause" ]
1
2020-01-14T14:28:23.000Z
2020-01-14T14:28:23.000Z
// Copyright (c) 2019-present, Facebook, Inc. // All rights reserved. // // This source code is licensed under the BSD-style license found in the // LICENSE file in the root directory of this source tree. An additional grant // of patent rights can be found in the PATENTS file in the same directory. #define LOG_WITH_G...
33.711111
78
0.733355
fannycchen
2567794d604519aeeae1c19ebadc8bd1e57daf9e
2,842
hpp
C++
src/interface/stream.hpp
wuxun-zhang/mkl-dnn
00a239ad2c932b967234ffb528069800ffcc0334
[ "Apache-2.0" ]
null
null
null
src/interface/stream.hpp
wuxun-zhang/mkl-dnn
00a239ad2c932b967234ffb528069800ffcc0334
[ "Apache-2.0" ]
null
null
null
src/interface/stream.hpp
wuxun-zhang/mkl-dnn
00a239ad2c932b967234ffb528069800ffcc0334
[ "Apache-2.0" ]
null
null
null
/******************************************************************************* * Copyright 2020-2022 Intel Corporation * * 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.apa...
32.295455
80
0.671006
wuxun-zhang
256a9728d866c93330b0cb16e2912deb5aff872d
770
cpp
C++
examples/Example4/EventListener.cpp
hasaranga/RFC-Framework
9c1881d412db6f9f7670b910a0918a631208cfd1
[ "MIT" ]
9
2017-10-02T08:15:50.000Z
2021-08-09T21:29:46.000Z
examples/Example4/EventListener.cpp
hasaranga/RFC-Framework
9c1881d412db6f9f7670b910a0918a631208cfd1
[ "MIT" ]
1
2021-09-18T07:38:53.000Z
2021-09-26T12:11:48.000Z
examples/Example4/EventListener.cpp
hasaranga/RFC-Framework
9c1881d412db6f9f7670b910a0918a631208cfd1
[ "MIT" ]
8
2017-10-02T13:21:29.000Z
2021-07-30T09:35:31.000Z
#include "../../amalgamated/rfc_amalgamated.h" class MyWindow : public KFrame, public KButtonListener { protected: KButton btn1; public: MyWindow() { this->SetText(L"My Window"); this->Create(); btn1.SetPosition(10, 10); btn1.SetText(L"My Button"); btn1.SetListener(this); // set MyWindow class as butt...
16.041667
83
0.685714
hasaranga
256b27c22efe1506adcc2def5f60ca936113eb87
3,494
cpp
C++
sources/core/ecs/private/system_manager.cpp
suVrik/hooker.galore
616e2692d7afab24b70bfb6aa14ad780eb7c451d
[ "MIT" ]
4
2019-09-14T09:18:47.000Z
2022-01-29T02:47:00.000Z
sources/core/ecs/private/system_manager.cpp
suVrik/hooker.galore
616e2692d7afab24b70bfb6aa14ad780eb7c451d
[ "MIT" ]
null
null
null
sources/core/ecs/private/system_manager.cpp
suVrik/hooker.galore
616e2692d7afab24b70bfb6aa14ad780eb7c451d
[ "MIT" ]
1
2020-03-25T14:41:17.000Z
2020-03-25T14:41:17.000Z
#include "core/ecs/system_manager.h" #include "core/ecs/tags.h" #include <entt/core/hashed_string.hpp> #include <entt/meta/factory.hpp> #include <algorithm> namespace hg { std::vector<SystemManager::SystemDescriptor> SystemManager::m_systems[2]; void SystemManager::commit() { size_t current_tag_index = 0; ...
38.395604
112
0.604179
suVrik
257000e1ece5778c65cb48266b94130794cd584c
4,910
cpp
C++
test/coco/combix/error_test.cpp
agatan/coco
e19e74cf97d788b435351379296ea3ead901c576
[ "BSL-1.0" ]
1
2016-08-31T04:44:17.000Z
2016-08-31T04:44:17.000Z
test/coco/combix/error_test.cpp
agatan/coco
e19e74cf97d788b435351379296ea3ead901c576
[ "BSL-1.0" ]
null
null
null
test/coco/combix/error_test.cpp
agatan/coco
e19e74cf97d788b435351379296ea3ead901c576
[ "BSL-1.0" ]
null
null
null
#define BOOST_TEST_DYN_LINK #define BOOST_TEST_MODULE expected #include <coco/combix/combinators.hpp> #include <coco/combix/iterator_stream.hpp> #include <coco/combix/primitives.hpp> #include <coco/combix/chars.hpp> #include <coco/combix/parser.hpp> #include <coco/combix/lazy_fun.hpp> #include <boost/test/unit_test.h...
30.496894
81
0.599593
agatan
25777280a133b64c960a2a9dd33c507a8b372261
6,727
cc
C++
src/frameset.cc
alexeden/realsense-node
a4060c8fdcc091d933fb4c895f04e72f44328e63
[ "MIT" ]
null
null
null
src/frameset.cc
alexeden/realsense-node
a4060c8fdcc091d933fb4c895f04e72f44328e63
[ "MIT" ]
6
2021-01-28T20:31:27.000Z
2022-03-25T18:59:04.000Z
src/frameset.cc
alexeden/realsense-node
a4060c8fdcc091d933fb4c895f04e72f44328e63
[ "MIT" ]
null
null
null
#ifndef FRAMESET_H #define FRAMESET_H #include "frame.cc" #include "stream_profile_extractor.cc" #include "utils.cc" #include <iostream> #include <librealsense2/hpp/rs_types.hpp> #include <napi.h> using namespace Napi; class RSFrameSet : public ObjectWrap<RSFrameSet> { public: static Object Init(Napi::Env env, Obj...
30.716895
114
0.699569
alexeden
257ab07332ad18085d7c029ff8e302892107b215
7,730
cpp
C++
liblineside/test/boparraymashdatatests.cpp
freesurfer-rge/linesidecabinet
8944c67fa7d340aa792e3a6e681113a4676bfbad
[ "MIT" ]
null
null
null
liblineside/test/boparraymashdatatests.cpp
freesurfer-rge/linesidecabinet
8944c67fa7d340aa792e3a6e681113a4676bfbad
[ "MIT" ]
14
2019-11-17T14:46:25.000Z
2021-03-10T02:48:40.000Z
liblineside/test/boparraymashdatatests.cpp
freesurfer-rge/linesidecabinet
8944c67fa7d340aa792e3a6e681113a4676bfbad
[ "MIT" ]
null
null
null
#include <boost/test/unit_test.hpp> #include "lineside/boparraymashdata.hpp" #include "lineside/boparraymash.hpp" #include "lineside/linesideexceptions.hpp" #include "exceptionmessagecheck.hpp" #include "mockmanagerfixture.hpp" BOOST_AUTO_TEST_SUITE(BOPArrayMASHData) // --------------- BOOST_AUTO_TEST_SUITE(Extrac...
28.419118
122
0.713454
freesurfer-rge
257ea34d17379a52fafdae8621743f031af0493d
148
cpp
C++
src/Window.cpp
HadesD/vim-power-mode
b3d701545fec08c329d54441d22e8f9b92ebb4cf
[ "MIT" ]
8
2018-07-01T12:18:42.000Z
2022-01-30T01:59:31.000Z
src/Window.cpp
HadesD/vim-power-mode
b3d701545fec08c329d54441d22e8f9b92ebb4cf
[ "MIT" ]
1
2018-07-01T16:50:47.000Z
2018-07-02T13:15:39.000Z
src/Window.cpp
HadesD/vim-power-mode
b3d701545fec08c329d54441d22e8f9b92ebb4cf
[ "MIT" ]
null
null
null
#include "vpm/Window.hpp" namespace VPM { bool Window::m_isClosed = false; bool Window::getIsClosed() const { return m_isClosed; } }
11.384615
34
0.662162
HadesD
258579fc67f3a1ba684e9e943e1a4d05970da572
1,480
cpp
C++
dlls/ulkata.cpp
Laluka256/halflife-planckepoch
3ccfd783213c3ee88b9ed8204acdce01d40d5420
[ "Unlicense" ]
1
2021-12-16T19:29:18.000Z
2021-12-16T19:29:18.000Z
dlls/ulkata.cpp
Laluka256/halflife-planckepoch
3ccfd783213c3ee88b9ed8204acdce01d40d5420
[ "Unlicense" ]
1
2021-11-29T18:04:51.000Z
2021-11-29T18:04:51.000Z
dlls/ulkata.cpp
Laluka256/halflife-planckepoch
3ccfd783213c3ee88b9ed8204acdce01d40d5420
[ "Unlicense" ]
null
null
null
#include "CBarney.h" class CUlkata : public CBarney { void Spawn(); void Precache(); int Classify(); }; LINK_ENTITY_TO_CLASS(monster_ulkata, CUlkata); void CUlkata::Spawn() { Precache(); SET_MODEL(ENT(pev), "models/ulkata.mdl"); UTIL_SetSize(pev, VEC_HUMAN_HULL_MIN, VEC_HUMAN_HULL_MAX); pev->solid = SOLID_...
23.125
113
0.741892
Laluka256
2586f4a0c4c6794bbcf64c3236ec408605e6c6a0
15,878
cxx
C++
PWMTest/PWMTest.cxx
RobertPHeller/RPi-RRCircuits
19aff23e20eebdbd028c0407d68eef77cc6ee0ec
[ "CC-BY-4.0" ]
10
2018-09-04T02:12:39.000Z
2022-03-17T20:29:32.000Z
PWMTest/PWMTest.cxx
RobertPHeller/RPi-RRCircuits
19aff23e20eebdbd028c0407d68eef77cc6ee0ec
[ "CC-BY-4.0" ]
null
null
null
PWMTest/PWMTest.cxx
RobertPHeller/RPi-RRCircuits
19aff23e20eebdbd028c0407d68eef77cc6ee0ec
[ "CC-BY-4.0" ]
1
2018-12-26T00:32:27.000Z
2018-12-26T00:32:27.000Z
// -!- C++ -!- ////////////////////////////////////////////////////////////// // // System : // Module : // Object Name : $RCSfile$ // Revision : $Revision$ // Date : $Date$ // Author : $Author$ // Created By : Robert Heller // Created : Sun Feb 17 15:35:50 2019 /...
46.7
108
0.609963
RobertPHeller
2588ecbf5ba8af9b5faadfeb107428a9334ae03a
4,036
cpp
C++
hardware/digistump/avr/libraries/LPD8806/LPD8806.cpp
emptyland/arduino
278cf1189401ba2bcb2d4125e42ac338c20ee4c8
[ "BSD-3-Clause" ]
1
2021-04-10T10:01:06.000Z
2021-04-10T10:01:06.000Z
hardware/digistump/avr/libraries/LPD8806/LPD8806.cpp
emptyland/arduino
278cf1189401ba2bcb2d4125e42ac338c20ee4c8
[ "BSD-3-Clause" ]
6
2020-06-04T06:04:39.000Z
2021-05-02T17:09:15.000Z
arduino/portable/packages/digistump/hardware/avr/1.6.7/libraries/LPD8806/LPD8806.cpp
darrintw/ardublockly-tw
b9c29bbe52c77a7bec14ae69a5a7365c9e4ab86e
[ "Apache-2.0" ]
3
2021-04-10T10:01:08.000Z
2021-09-02T00:14:31.000Z
#include "LPD8806.h" // Arduino library to control LPD8806-based RGB LED Strips // (c) Adafruit industries // MIT license /*****************************************************************************/ // Constructor for use with arbitrary clock/data pins: LPD8806::LPD8806(uint16_t n, uint8_t dpin, uint8_t cpin) { ...
32.288
79
0.625867
emptyland
258932e9f96ae85ee617f4c40c1f163bf0a461e9
353
cpp
C++
0812_largest_triangle_area.cpp
fxshan/LeetCode
a54bbe22bc335dcb3c7efffcc34357cab7641492
[ "Apache-2.0" ]
2
2020-06-04T13:20:20.000Z
2020-06-04T14:49:10.000Z
0812_largest_triangle_area.cpp
fxshan/LeetCode
a54bbe22bc335dcb3c7efffcc34357cab7641492
[ "Apache-2.0" ]
null
null
null
0812_largest_triangle_area.cpp
fxshan/LeetCode
a54bbe22bc335dcb3c7efffcc34357cab7641492
[ "Apache-2.0" ]
null
null
null
class Solution { public: double largestTriangleArea(vector<vector<int>>& points) { double res = 0; for (vector i : points) for (vector j : points) for (vector k : points) res = max(res, 0.5 * (i[0] * (j[1] - k[1]) + j[0] * (k[1] - i[1]) + k[0] * (i[1] -...
27.153846
77
0.456091
fxshan
2590e40fb962694ad4e013e627025acdfecb9ce0
5,906
cpp
C++
podofo-0.9.6/test/unit/FontTest.cpp
zia95/pdf-toolkit-console-
369d73f66f7d4c74a252e83d200acbb792a6b8d5
[ "MIT" ]
1
2020-12-29T07:37:14.000Z
2020-12-29T07:37:14.000Z
podofo-0.9.6/test/unit/FontTest.cpp
zia95/pdf-toolkit-console-
369d73f66f7d4c74a252e83d200acbb792a6b8d5
[ "MIT" ]
null
null
null
podofo-0.9.6/test/unit/FontTest.cpp
zia95/pdf-toolkit-console-
369d73f66f7d4c74a252e83d200acbb792a6b8d5
[ "MIT" ]
null
null
null
/*************************************************************************** * Copyright (C) 2009 by Dominik Seichter * * domseichter@web.de * * * * This pr...
33.179775
115
0.526752
zia95
25977b810b0f80b9cb060e17cd3ffb1a385e5c16
1,292
cpp
C++
libs/pika/execution/tests/regressions/split_continuation_clear.cpp
pika-org/pika
c80f542b2432a7f108fcfba31a5fe5073ad2b3e1
[ "BSL-1.0" ]
13
2022-01-17T12:01:48.000Z
2022-03-16T10:03:14.000Z
libs/pika/execution/tests/regressions/split_continuation_clear.cpp
pika-org/pika
c80f542b2432a7f108fcfba31a5fe5073ad2b3e1
[ "BSL-1.0" ]
163
2022-01-17T17:36:45.000Z
2022-03-31T17:42:57.000Z
libs/pika/execution/tests/regressions/split_continuation_clear.cpp
pika-org/pika
c80f542b2432a7f108fcfba31a5fe5073ad2b3e1
[ "BSL-1.0" ]
4
2022-01-19T08:44:22.000Z
2022-01-31T23:16:21.000Z
// Copyright (c) 2022 ETH Zurich // // SPDX-License-Identifier: BSL-1.0 // 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) // This test reproduces a segfault in the split sender adaptor which happens if // the con...
28.711111
80
0.682663
pika-org
259a92c669b2ad7330ff4a4a3b05585f9fe62d7a
421
cpp
C++
Engine/Samples/Core/Math/main.cpp
ZenEngine3D/ZenEngine
42bcd06f743eb1381a587c9671de67e24cf72316
[ "MIT" ]
1
2018-10-12T19:10:59.000Z
2018-10-12T19:10:59.000Z
Engine/Samples/Core/Math/main.cpp
ZenEngine3D/ZenEngine
42bcd06f743eb1381a587c9671de67e24cf72316
[ "MIT" ]
null
null
null
Engine/Samples/Core/Math/main.cpp
ZenEngine3D/ZenEngine
42bcd06f743eb1381a587c9671de67e24cf72316
[ "MIT" ]
1
2019-03-09T02:12:31.000Z
2019-03-09T02:12:31.000Z
#include "zenEngine.h" namespace sample { extern void SampleVector(); class SampleBaseMath : public zenSys::zSampleEngineInstance { public: virtual const char* GetAppName()const { return "Sample Math"; } virtual void Update() { SampleVector(); SetDone(); } }; } int main(int argc, char * con...
15.592593
60
0.68171
ZenEngine3D
259b417714e466f713cae90869cfb8d203e85878
288
cpp
C++
CodeChef/Begginer-Problems/SMPAIR.cpp
annukamat/My-Competitive-Journey
adb13a5723483cde13e5f3859b3a7ad840b86c97
[ "MIT" ]
7
2018-11-08T11:39:27.000Z
2020-09-10T17:50:57.000Z
CodeChef/Begginer-Problems/SMPAIR.cpp
annukamat/My-Competitive-Journey
adb13a5723483cde13e5f3859b3a7ad840b86c97
[ "MIT" ]
null
null
null
CodeChef/Begginer-Problems/SMPAIR.cpp
annukamat/My-Competitive-Journey
adb13a5723483cde13e5f3859b3a7ad840b86c97
[ "MIT" ]
2
2019-09-16T14:34:03.000Z
2019-10-12T19:24:00.000Z
#include <bits/stdc++.h> using namespace std; int main(){ long int t; vector<long int> vals(100000); long int n, x; cin>>t; while(t--){ cin>> n; for(int i=0;i<n; i++) cin>>x; vals.push_back(x); } sort(vals.begin(), vals+n); }
16
34
0.489583
annukamat
259de4d152a4f89a607a1d66209fb8fb75e69105
1,393
hpp
C++
src/color/hsi/get/gray.hpp
3l0w/color
e42d0933b6b88564807bcd5f49e9c7f66e24990a
[ "Apache-2.0" ]
120
2015-12-31T22:30:14.000Z
2022-03-29T15:08:01.000Z
src/color/hsi/get/gray.hpp
3l0w/color
e42d0933b6b88564807bcd5f49e9c7f66e24990a
[ "Apache-2.0" ]
6
2016-08-22T02:14:56.000Z
2021-11-06T22:39:52.000Z
src/color/hsi/get/gray.hpp
3l0w/color
e42d0933b6b88564807bcd5f49e9c7f66e24990a
[ "Apache-2.0" ]
23
2016-02-03T01:56:26.000Z
2021-09-28T16:36:27.000Z
#ifndef color_hsi_get_gray #define color_hsi_get_gray // ::color::get::gray( c ) #include "../../gray/place/place.hpp" #include "../../gray/akin/hsi.hpp" #include "../../gray/trait/component.hpp" #include "../category.hpp" #include "../../_internal/normalize.hpp" #include "../../_internal/diverse.hpp" #include "../...
30.282609
132
0.656856
3l0w
259e79dc8c56138e5a173d30655bd280e724de4f
3,479
cpp
C++
test/test_free_functions.cpp
jb--/luaponte
06bfe551bce23e411e75895797b8bb84bb662ed2
[ "BSL-1.0" ]
3
2015-08-30T10:02:10.000Z
2018-08-27T06:54:44.000Z
test/test_free_functions.cpp
halmd-org/luaponte
165328485954a51524a0b1aec27518861c6be719
[ "BSL-1.0" ]
null
null
null
test/test_free_functions.cpp
halmd-org/luaponte
165328485954a51524a0b1aec27518861c6be719
[ "BSL-1.0" ]
null
null
null
// Luaponte library // Copyright (c) 2011-2012 Peter Colberg // Luaponte is based on Luabind, a library, inspired by and similar to // Boost.Python, that helps you create bindings between C++ and Lua, // Copyright (c) 2003-2010 Daniel Wallin and Arvid Norberg. // Use, modification and distribution is subject to the ...
23.193333
122
0.616556
jb--
259fbcf71e33fd6166fdebc6cfb7ca4a5337cb97
596
cpp
C++
GraphicsToolsModule/Objects/gtmaterialparametervector3f.cpp
HowCanidothis-zz/DevLib
d3d7f4ef7b2b3f1c9559ca6bd56743e5aeff06ee
[ "MIT" ]
null
null
null
GraphicsToolsModule/Objects/gtmaterialparametervector3f.cpp
HowCanidothis-zz/DevLib
d3d7f4ef7b2b3f1c9559ca6bd56743e5aeff06ee
[ "MIT" ]
null
null
null
GraphicsToolsModule/Objects/gtmaterialparametervector3f.cpp
HowCanidothis-zz/DevLib
d3d7f4ef7b2b3f1c9559ca6bd56743e5aeff06ee
[ "MIT" ]
1
2020-07-27T02:23:38.000Z
2020-07-27T02:23:38.000Z
#include "gtmaterialparametervector3f.h" #include <QOpenGLShaderProgram> #include "ResourcesModule/resourcessystem.h" #include "../internal.hpp" GtMaterialParameterVector3F::GtMaterialParameterVector3F(const QString& name, const QString& resource) : GtMaterialParameterBase(name, resource) {} GtMaterialParameter...
31.368421
102
0.771812
HowCanidothis-zz
25a65c573b1d9e09046be77976bf90321d8b36d9
408
cpp
C++
10783.cpp
shaonsani/UVA_Solving
ee916a2938ea81b3676baf4c8150b1b42c9ab5a5
[ "MIT" ]
null
null
null
10783.cpp
shaonsani/UVA_Solving
ee916a2938ea81b3676baf4c8150b1b42c9ab5a5
[ "MIT" ]
null
null
null
10783.cpp
shaonsani/UVA_Solving
ee916a2938ea81b3676baf4c8150b1b42c9ab5a5
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> #include<iostream> using namespace std; int main() { int t,a,b,ca=1; cin>>t; while(t!=0) { int sum=0; cin>>a; cin>>b; for(int i=a; i<=b; i++) { if(i%2==1) { sum+=i; } } ...
12.75
43
0.335784
shaonsani
25a7341141377dfd268a9ba521547ead79c8b139
10,744
hpp
C++
geometry/include/pcl/geometry/impl/face.hpp
zhangxaochen/CuFusion
e8bab7a366b1f2c85a80b95093d195d9f0774c11
[ "MIT" ]
52
2017-09-05T13:31:44.000Z
2022-03-14T08:48:29.000Z
geometry/include/pcl/geometry/impl/face.hpp
GucciPrada/CuFusion
522920bcf316d1ddf9732fc71fa457174168d2fb
[ "MIT" ]
4
2018-05-17T22:45:35.000Z
2020-02-01T21:46:42.000Z
geometry/include/pcl/geometry/impl/face.hpp
GucciPrada/CuFusion
522920bcf316d1ddf9732fc71fa457174168d2fb
[ "MIT" ]
21
2015-07-27T13:00:36.000Z
2022-01-17T08:18:41.000Z
/* * Software License Agreement (BSD License) * * Point Cloud Library (PCL) - www.pointclouds.org * Copyright (c) 2009-2012, Willow Garage, Inc. * Copyright (c) 2012-, Open Perception, Inc. * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification...
34.996743
123
0.53239
zhangxaochen
25ad7e1add2861ae364335aea992758eca1d85aa
2,542
hpp
C++
includes/adventofcode.hpp
mbitokhov/AdventOfCode2017
a716822b2906580b03b7c5cda8e7a696961f4c40
[ "Unlicense" ]
null
null
null
includes/adventofcode.hpp
mbitokhov/AdventOfCode2017
a716822b2906580b03b7c5cda8e7a696961f4c40
[ "Unlicense" ]
null
null
null
includes/adventofcode.hpp
mbitokhov/AdventOfCode2017
a716822b2906580b03b7c5cda8e7a696961f4c40
[ "Unlicense" ]
null
null
null
#pragma once #include <vector> #include <cstring> #include <string> constexpr long day1p1(const char input[], const size_t &index=0); constexpr long day1p2(const char input[], const size_t &index=0); long day2p1(const std::vector<std::vector<int>>&); long day2p2(const std::vector<std::vector<int>>&); long day3p1(con...
30.626506
81
0.579858
mbitokhov
25af18af72584b900b02d6a5ef4ad2982c61e0d0
564
hh
C++
spl/include/ast/ext_dec_list.hh
Alan052918/CS323-Compilers
d2591dbf0e8b3eb87ab507cb8633c12d587fee99
[ "MIT" ]
2
2020-09-09T03:33:10.000Z
2020-11-29T15:14:01.000Z
spl/include/ast/ext_dec_list.hh
Alan052918/CS323-Compilers
d2591dbf0e8b3eb87ab507cb8633c12d587fee99
[ "MIT" ]
null
null
null
spl/include/ast/ext_dec_list.hh
Alan052918/CS323-Compilers
d2591dbf0e8b3eb87ab507cb8633c12d587fee99
[ "MIT" ]
1
2020-09-09T03:35:14.000Z
2020-09-09T03:35:14.000Z
#ifndef EXT_DEC_LIST_H #define EXT_DEC_LIST_H #include "ast.hh" #include "../common.hh" #include "../enums.hh" #include "../symtable.hh" #include "../typedef.hh" class VarDec; class ExtDecList : public NonterminalNode { public: // nonterminal member variables std::vector<VarDec *> node_list; // data member v...
20.888889
67
0.703901
Alan052918
25b1d4fc8bb3fe881a34d29ce566da161761ccd9
351
cpp
C++
src/apps/S3DAnalyzer/rendering/entity/stereo/anaglyphrectangleentity.cpp
hugbed/OpenS3D
4ffad16f9b0973404b59eb1424cc45f68754fe12
[ "BSD-3-Clause" ]
8
2017-04-16T16:38:15.000Z
2020-04-20T03:23:15.000Z
src/apps/S3DAnalyzer/rendering/entity/stereo/anaglyphrectangleentity.cpp
hugbed/OpenS3D
4ffad16f9b0973404b59eb1424cc45f68754fe12
[ "BSD-3-Clause" ]
40
2017-04-12T17:24:44.000Z
2017-12-21T18:41:23.000Z
src/apps/S3DAnalyzer/rendering/entity/stereo/anaglyphrectangleentity.cpp
hugbed/OpenS3D
4ffad16f9b0973404b59eb1424cc45f68754fe12
[ "BSD-3-Clause" ]
6
2017-07-13T21:51:09.000Z
2021-05-18T16:22:03.000Z
#include "anaglyphrectangleentity.h" AnaglyphRectangleEntity::AnaglyphRectangleEntity() : RectangleEntity() {} void AnaglyphRectangleEntity::addShaders() { m_program->addShaderFromSourceFile(QOpenGLShader::Vertex, ":/shaders/stereo/overlap.vert"); m_program->addShaderFromSourceFile(QOpenGLShader::Fragment, ":/sha...
39
96
0.803419
hugbed
25bfd0677c71cf52215b34f200bf2f7c4a4f5ba5
796
cpp
C++
src/mgos_homie.cpp
cslauritsen/mgos-garage
934bc266d7486be320fec806dd265c655af76d56
[ "MIT" ]
null
null
null
src/mgos_homie.cpp
cslauritsen/mgos-garage
934bc266d7486be320fec806dd265c655af76d56
[ "MIT" ]
null
null
null
src/mgos_homie.cpp
cslauritsen/mgos-garage
934bc266d7486be320fec806dd265c655af76d56
[ "MIT" ]
null
null
null
#include "all.h" void homie::Device::computePsk() { int rc = 0; unsigned char output[64]; int is384 = 0; rc = mbedtls_sha512_ret((const unsigned char *)this->topicBase.c_str(), this->topicBase.length(), output, is384); if (0 == rc) { char *hex = (char *)calloc(1, sizeof(output)...
28.428571
78
0.556533
cslauritsen
25c0b0af1a83afb1285a1ffdd396ff228a57fe67
24,253
cpp
C++
estl/containers/unittest/vector_s_unittest.cpp
mlutken/playground
88b0fc457ae8f028b9a1f8f959b8361a645468be
[ "Unlicense" ]
null
null
null
estl/containers/unittest/vector_s_unittest.cpp
mlutken/playground
88b0fc457ae8f028b9a1f8f959b8361a645468be
[ "Unlicense" ]
null
null
null
estl/containers/unittest/vector_s_unittest.cpp
mlutken/playground
88b0fc457ae8f028b9a1f8f959b8361a645468be
[ "Unlicense" ]
null
null
null
#include <stdexcept> #include <gtest/gtest.h> #include <gmock/gmock.h> #include "../vector_s.hpp" #include <vector> using namespace testing; using namespace estl; class VectorSUnitTest : public testing::Test { public: VectorSUnitTest() = default; ~VectorSUnitTest() override = default; void SetUp() ove...
27.06808
91
0.57564
mlutken
25c1dcf30031bb224d23644a9edb4afa00324808
1,255
cpp
C++
noise.cpp
ursinus-cs174-s2022/HW2_Steganography
af8ad24dbb6be42b5c4cb9f46b66cd8abfc3d3fe
[ "Apache-2.0" ]
null
null
null
noise.cpp
ursinus-cs174-s2022/HW2_Steganography
af8ad24dbb6be42b5c4cb9f46b66cd8abfc3d3fe
[ "Apache-2.0" ]
null
null
null
noise.cpp
ursinus-cs174-s2022/HW2_Steganography
af8ad24dbb6be42b5c4cb9f46b66cd8abfc3d3fe
[ "Apache-2.0" ]
null
null
null
/** * @file grayscale.cpp * @author Chris Tralie * * Purpose: To add a certain amount of noise to an image * */ #include <stdio.h> #include <stdlib.h> #include <string> #include <sstream> #include "simplecanvas/SimpleCanvas.h" #include "randutils.h" using namespace std; /** * @brief Add noise to every chann...
22.818182
64
0.495618
ursinus-cs174-s2022
5ae569aec9055db273a7666f15859ef8ee7f7031
544
cpp
C++
Sorting Algorithms/insertionSort.cpp
Raghav1806/Data-Structures-CSL-201-
2e4e3c67e3ff28ac6a9e1f06fe12a2864b17d177
[ "MIT" ]
null
null
null
Sorting Algorithms/insertionSort.cpp
Raghav1806/Data-Structures-CSL-201-
2e4e3c67e3ff28ac6a9e1f06fe12a2864b17d177
[ "MIT" ]
null
null
null
Sorting Algorithms/insertionSort.cpp
Raghav1806/Data-Structures-CSL-201-
2e4e3c67e3ff28ac6a9e1f06fe12a2864b17d177
[ "MIT" ]
null
null
null
// insertion sort algorithm #include <iostream> using namespace std; int main(){ int size, i, j, curr; cout << "Enter the size of array to be sorted\n"; cin >> size; int A[size]; cout << "Enter the elements of array\n"; for(i = 0; i < size; i++) cin >> A[i]; for(i = 0; i < size - 1; i++){ j = i + 1; ...
16
50
0.483456
Raghav1806
5ae97766fa4dcf353527302a99c555db13297345
6,580
hpp
C++
include/mxx/type_traits.hpp
asrivast28/mxx
75a4a7b8b04922f070991f1d9a4351e339a0d848
[ "Apache-2.0" ]
76
2015-09-28T22:06:07.000Z
2022-03-25T17:47:34.000Z
include/mxx/type_traits.hpp
asrivast28/mxx
75a4a7b8b04922f070991f1d9a4351e339a0d848
[ "Apache-2.0" ]
23
2015-10-29T17:35:51.000Z
2021-09-07T09:56:56.000Z
include/mxx/type_traits.hpp
asrivast28/mxx
75a4a7b8b04922f070991f1d9a4351e339a0d848
[ "Apache-2.0" ]
20
2015-10-29T17:18:01.000Z
2021-05-12T16:41:20.000Z
#ifndef MXX_TYPE_TRAITS #define MXX_TYPE_TRAITS #include <type_traits> #include <vector> #include <string> namespace mxx { // source for testing if member functions are available: http://stackoverflow.com/a/16824239/4639394 #define MXX_DEFINE_HAS_MEMBER(member) \ template<typename, typename T> \ struct has_member_ #...
35.956284
106
0.670365
asrivast28
5aea383e89d1bf70f266b1ec1b9d000edd891f76
6,986
cpp
C++
wled00/Effect/snowflake/StarBurst.cpp
mdraper81/WLED
408696ef02f7b2dd66300a6a2ddb67a74d037b88
[ "MIT" ]
null
null
null
wled00/Effect/snowflake/StarBurst.cpp
mdraper81/WLED
408696ef02f7b2dd66300a6a2ddb67a74d037b88
[ "MIT" ]
null
null
null
wled00/Effect/snowflake/StarBurst.cpp
mdraper81/WLED
408696ef02f7b2dd66300a6a2ddb67a74d037b88
[ "MIT" ]
null
null
null
#include "StarBurst.h" namespace Effect { namespace Snowflake { /* ** ============================================================================ ** Constructor ** ============================================================================ */ StarBurst::StarBurst(NeoPixelWrapper* pixelWrapper, Data* effectD...
38.174863
110
0.577584
mdraper81
5af27f1563b3385df9acbc8fd8d973b92daedaa5
548
cpp
C++
Compiler/IntConstantExpression.cpp
acbarrentine/Mika
8d88f015360c1ab731da0fda1281a3327dcb9ec9
[ "Unlicense" ]
null
null
null
Compiler/IntConstantExpression.cpp
acbarrentine/Mika
8d88f015360c1ab731da0fda1281a3327dcb9ec9
[ "Unlicense" ]
null
null
null
Compiler/IntConstantExpression.cpp
acbarrentine/Mika
8d88f015360c1ab731da0fda1281a3327dcb9ec9
[ "Unlicense" ]
null
null
null
#include "stdafx.h" #include "IntConstantExpression.h" #include "Compiler.h" #include "ObjectFileHelper.h" void IntConstantExpression::ResolveType(SymbolTable&) { mType = GCompiler.GetIntType(); Token& tok = GCompiler.GetToken(mRootToken); mValue = tok.GetIntValue(); } void IntConstantExpression::GenCode(Object...
23.826087
77
0.775547
acbarrentine
5af511673b65874c9ebf3e5e97032f7758235e5c
1,073
hh
C++
src/lisp/map.hh
kuriboshi/lips
f9f4838a95ff574fb7a627a3eb966b38b6f430f7
[ "Apache-2.0" ]
1
2020-11-10T11:02:21.000Z
2020-11-10T11:02:21.000Z
src/lisp/map.hh
kuriboshi/lips
f9f4838a95ff574fb7a627a3eb966b38b6f430f7
[ "Apache-2.0" ]
null
null
null
src/lisp/map.hh
kuriboshi/lips
f9f4838a95ff574fb7a627a3eb966b38b6f430f7
[ "Apache-2.0" ]
null
null
null
// // Lips, lisp shell. // Copyright 2020 Krister Joas // #pragma once #include "lisp.hh" namespace lisp { namespace Map { void init(); LISPT map(lisp&, LISPT, LISPT, LISPT); LISPT mapc(lisp&, LISPT, LISPT, LISPT); LISPT maplist(lisp&, LISPT, LISPT, LISPT); LISPT mapcar(lisp&, LISPT, LISPT, LISPT); } inline L...
33.53125
98
0.650513
kuriboshi
5af6f81c6da9bb1476794675832ad0e9875d9b55
31,030
cc
C++
kleption.cc
jdb19937/tewel
e2dc25c0998b2bf2763cd68ff66691e0c9f86928
[ "MIT" ]
null
null
null
kleption.cc
jdb19937/tewel
e2dc25c0998b2bf2763cd68ff66691e0c9f86928
[ "MIT" ]
null
null
null
kleption.cc
jdb19937/tewel
e2dc25c0998b2bf2763cd68ff66691e0c9f86928
[ "MIT" ]
null
null
null
#define __MAKEMORE_KLEPTION_CC__ 1 #include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <string.h> #include <assert.h> #include <sys/stat.h> #include <sys/sysmacros.h> #include <dirent.h> #include "kleption.hh" #include "random.hh" #include "youtil.hh" #include "colonel.hh" #include "camera.hh" #includ...
21.593598
89
0.477312
jdb19937
5af8c11d00fe7ab4a4053086cf0211ba4bcc6a3b
3,647
cc
C++
attic/acpi.cc
Anton-Cao/sv6
f525c4d588d3cfe750867990902b882cd4a21fad
[ "MIT-0" ]
147
2015-01-13T08:56:18.000Z
2022-03-10T06:49:25.000Z
attic/acpi.cc
Anton-Cao/sv6
f525c4d588d3cfe750867990902b882cd4a21fad
[ "MIT-0" ]
1
2018-05-12T11:46:14.000Z
2018-05-12T11:46:14.000Z
attic/acpi.cc
Anton-Cao/sv6
f525c4d588d3cfe750867990902b882cd4a21fad
[ "MIT-0" ]
34
2015-01-06T12:36:58.000Z
2021-09-23T17:56:22.000Z
// http://www.acpi.info/spec.htm #include "types.h" #include "amd64.h" #include "kernel.hh" #include "cpu.hh" #include "apic.hh" struct rsdp { u8 signature[8]; u8 checksum; u8 oemid[6]; u8 revision; u32 rsdtaddr; u32 length; u64 xsdtaddr; u8 extchecksum; u8 reserved[3]; }; struct header { u8 sign...
18.994792
64
0.549767
Anton-Cao
5afa0b2d60def81c35bdec955d27b68cbbf8e422
14,976
cpp
C++
Samples/Win7Samples/multimedia/mediafoundation/MFCaptureToFile/winmain.cpp
windows-development/Windows-classic-samples
96f883e4c900948e39660ec14a200a5164a3c7b7
[ "MIT" ]
8
2017-04-30T17:38:27.000Z
2021-11-29T00:59:03.000Z
Samples/Win7Samples/multimedia/mediafoundation/MFCaptureToFile/winmain.cpp
TomeSq/Windows-classic-samples
96f883e4c900948e39660ec14a200a5164a3c7b7
[ "MIT" ]
null
null
null
Samples/Win7Samples/multimedia/mediafoundation/MFCaptureToFile/winmain.cpp
TomeSq/Windows-classic-samples
96f883e4c900948e39660ec14a200a5164a3c7b7
[ "MIT" ]
2
2020-08-11T13:21:49.000Z
2021-09-01T10:41:51.000Z
////////////////////////////////////////////////////////////////////////// // // winmain.cpp. Application entry-point. // // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR...
25.340102
110
0.529046
windows-development
5afcc9ce1af33e50dd599d3b2f62f2c5a9bf7c65
883
cpp
C++
Notes/File Handling/fileHandling.cpp
Concept-Team/e-box-UTA018
a6caf487c9f27a5ca30a00847ed49a163049f67e
[ "MIT" ]
26
2021-03-17T03:15:22.000Z
2021-06-09T13:29:41.000Z
Notes/File Handling/fileHandling.cpp
Servatom/e-box-UTA018
a6caf487c9f27a5ca30a00847ed49a163049f67e
[ "MIT" ]
6
2021-03-16T19:04:05.000Z
2021-06-03T13:41:04.000Z
Notes/File Handling/fileHandling.cpp
Concept-Team/e-box-UTA018
a6caf487c9f27a5ca30a00847ed49a163049f67e
[ "MIT" ]
42
2021-03-17T03:16:22.000Z
2021-06-14T21:11:20.000Z
#include <iostream> #include <fstream> #include <string> using namespace std; int main(){ //For output file //opening a file ofstream out("myFile.txt"); if(!out.is_open()){ cout<<"Error in opening file"<<endl; //ABORT return 1; } out<<"Raghav is a human"<<endl; ...
15.767857
44
0.518686
Concept-Team
850781cb97ae66118a26a0fe738abc3e04d7885b
3,296
cpp
C++
src/core/template_deriveditem.cpp
mvsframework/mvs
4bbda9f18fab960a9bea9c4e5e2de16b77c6ff81
[ "Apache-2.0" ]
null
null
null
src/core/template_deriveditem.cpp
mvsframework/mvs
4bbda9f18fab960a9bea9c4e5e2de16b77c6ff81
[ "Apache-2.0" ]
null
null
null
src/core/template_deriveditem.cpp
mvsframework/mvs
4bbda9f18fab960a9bea9c4e5e2de16b77c6ff81
[ "Apache-2.0" ]
null
null
null
// // Copyright © 2015 Claus Christmann <hcc |ä| gatech.edu>. // // 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 requ...
29.693694
80
0.522755
mvsframework
8508032439c9d78399714ef8e4769ca2116c455b
4,586
cpp
C++
kernel/ubsan.cpp
qookei/quack
47808580dda218cb47d0c9ca04b51eb24f1e2266
[ "Zlib" ]
16
2019-06-25T15:18:03.000Z
2021-10-10T18:52:30.000Z
kernel/ubsan.cpp
qookei/quack
47808580dda218cb47d0c9ca04b51eb24f1e2266
[ "Zlib" ]
null
null
null
kernel/ubsan.cpp
qookei/quack
47808580dda218cb47d0c9ca04b51eb24f1e2266
[ "Zlib" ]
null
null
null
#include <stddef.h> #include <stdint.h> #include <kmesg.h> enum type_kinds { TK_INTEGER = 0x0000, TK_FLOAT = 0x0001, TK_UNKNOWN = 0xffff }; struct type_descriptor { uint16_t type_kind; uint16_t type_info; char type_name[]; }; struct source_location { char *filename; uint32_t line; uint32_t column; }; struct o...
26.056818
99
0.744876
qookei
8508e990a285b9913d791410fa0cf7b8de83fcad
1,325
cpp
C++
Periodic.cpp
olehzdubna/FastOutReader
81cd55220492a6ae042b38af03c1152ee6fc7eef
[ "MIT" ]
null
null
null
Periodic.cpp
olehzdubna/FastOutReader
81cd55220492a6ae042b38af03c1152ee6fc7eef
[ "MIT" ]
null
null
null
Periodic.cpp
olehzdubna/FastOutReader
81cd55220492a6ae042b38af03c1152ee6fc7eef
[ "MIT" ]
1
2020-02-12T16:47:00.000Z
2020-02-12T16:47:00.000Z
/* * Periodic.cpp * * Created on: Jul 6, 2019 * Author: oleh */ #include <iostream> #include <Utils.h> #include <Periodic.h> Periodic::Periodic() : AxisX() , samples(0) , trig(0) , firstTime(0) , incrementTime(0) { } Periodic::~Periodic() { } /* // Read periodic information from a file // See 'Ve...
25.480769
139
0.637736
olehzdubna
850b15fcb635adbf4ee8a34c4bf3a16106ae6fc0
4,255
cpp
C++
formats/lua/Scanner.cpp
xguerin/ace
ad6e1bc4cb4f10d6cf5b782f623ec0eef13e000b
[ "MIT" ]
5
2016-06-14T17:56:47.000Z
2022-02-10T19:54:25.000Z
formats/lua/Scanner.cpp
xguerin/ace
ad6e1bc4cb4f10d6cf5b782f623ec0eef13e000b
[ "MIT" ]
42
2016-06-21T20:48:22.000Z
2021-03-23T15:20:51.000Z
formats/lua/Scanner.cpp
xguerin/ace
ad6e1bc4cb4f10d6cf5b782f623ec0eef13e000b
[ "MIT" ]
1
2016-10-02T02:58:49.000Z
2016-10-02T02:58:49.000Z
/** * Copyright (c) 2016 Xavier R. Guerin * * 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, p...
22.513228
80
0.644418
xguerin
85183b4114cbd1d8ce1bd978f58c2abb97c1a5d7
3,095
cpp
C++
CREP/utility.cpp
martinschonger/aerdg
d28df9fc9e2e0780f6e492e378320ed004e516ea
[ "MIT" ]
null
null
null
CREP/utility.cpp
martinschonger/aerdg
d28df9fc9e2e0780f6e492e378320ed004e516ea
[ "MIT" ]
null
null
null
CREP/utility.cpp
martinschonger/aerdg
d28df9fc9e2e0780f6e492e378320ed004e516ea
[ "MIT" ]
null
null
null
/* Implementation of some functions declared in utility.h. */ #include "utility.h" namespace crep { tstamp_ util::CUR_TIME = 0; tstamp_ util::CUR_TIME_AGE = 0; //Begin: legacy code dur util::charikar_partial_time_detailed = dur(0); dur util::charikar_partial_time_detailed2 = dur(0); dur util::ch...
26.452991
132
0.630048
martinschonger
851efea545fc612423498046f866042e0173dee5
17,573
cpp
C++
aws-cpp-sdk-ec2/source/model/IpamPool.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-01-05T18:20:03.000Z
2022-01-05T18:20:03.000Z
aws-cpp-sdk-ec2/source/model/IpamPool.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-ec2/source/model/IpamPool.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T11:58:03.000Z
2021-11-09T11:58:03.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/ec2/model/IpamPool.h> #include <aws/core/utils/xml/XmlSerializer.h> #include <aws/core/utils/StringUtils.h> #include <aws/core/utils/memory/stl/AWSStringStream.h> #include <utility> us...
36.307851
189
0.702157
perfectrecall
8521e0922a05bd286fa561d8f883e4165bb6c0ba
1,224
cpp
C++
src/svLibrary/src/Engine.cpp
sevanspowell/sev
c678aaab3a9e6bd4e5b98774205c8775c9a3291d
[ "MIT" ]
null
null
null
src/svLibrary/src/Engine.cpp
sevanspowell/sev
c678aaab3a9e6bd4e5b98774205c8775c9a3291d
[ "MIT" ]
1
2017-06-11T06:34:50.000Z
2017-06-11T06:34:50.000Z
src/svLibrary/src/Engine.cpp
sevanspowell/sev
c678aaab3a9e6bd4e5b98774205c8775c9a3291d
[ "MIT" ]
null
null
null
#include <cassert> #include <sstream> #include <sv/Engine.h> #include <sv/Globals.h> #include <sv/ProgramOptions.h> #include <sv/platform/SDL2Platform.h> namespace sv { Engine::Engine() { isInitialized = false; platform = std::shared_ptr<Platform>(new SDL2Platform()); } Engine::~Engine() { if (isIni...
23.538462
71
0.625817
sevanspowell
8522913d7710c96bb191a5516028f509c2f728ca
715
cpp
C++
2021.11.11-Homework-5/Project5/Source.cpp
021213/programming-c-rus-2021-2022
58d981f5b63554594705f597aad76bbfa6777988
[ "Apache-2.0" ]
null
null
null
2021.11.11-Homework-5/Project5/Source.cpp
021213/programming-c-rus-2021-2022
58d981f5b63554594705f597aad76bbfa6777988
[ "Apache-2.0" ]
null
null
null
2021.11.11-Homework-5/Project5/Source.cpp
021213/programming-c-rus-2021-2022
58d981f5b63554594705f597aad76bbfa6777988
[ "Apache-2.0" ]
null
null
null
#include<iostream> using namespace std; int main(int argc, char* argv[]) { int choice = 0; int count = 0; int capacity = 3; int* a = new int[capacity] { 0 }; int element = 0; do { cin >> choice; switch (choice) { case 1: cout << "[" << count << "/" << capacity << "] : "; for (int i = 0; i < count...
16.25
53
0.483916
021213
8526dab9bfc639c7b5cb90b3a340e96be8d9cd89
201
cpp
C++
Easy/172_Factorial_Trailing_Zeroes.cpp
ShehabMMohamed/LeetCodeCPP
684340f29ac15c5e8fa9f6ef5c3f99d4c95ce780
[ "MIT" ]
1
2021-03-15T10:02:10.000Z
2021-03-15T10:02:10.000Z
Easy/172_Factorial_Trailing_Zeroes.cpp
ShehabMMohamed/LeetCodeCPP
684340f29ac15c5e8fa9f6ef5c3f99d4c95ce780
[ "MIT" ]
null
null
null
Easy/172_Factorial_Trailing_Zeroes.cpp
ShehabMMohamed/LeetCodeCPP
684340f29ac15c5e8fa9f6ef5c3f99d4c95ce780
[ "MIT" ]
null
null
null
class Solution { public: int trailingZeroes(int n) { int trails = 0; for(long long int i = 5; n/i > 0; i*=5) { trails += (n/i); } return trails; } };
20.1
49
0.452736
ShehabMMohamed
852bae421dee27b71e48ffd59f87498c7b2defc2
23,028
hpp
C++
include/Vector/GenericLengthedVector.hpp
Renardjojo/RenardMath
74b4e65cf8f663eda830e00a1c61b563f711288c
[ "MIT" ]
null
null
null
include/Vector/GenericLengthedVector.hpp
Renardjojo/RenardMath
74b4e65cf8f663eda830e00a1c61b563f711288c
[ "MIT" ]
null
null
null
include/Vector/GenericLengthedVector.hpp
Renardjojo/RenardMath
74b4e65cf8f663eda830e00a1c61b563f711288c
[ "MIT" ]
null
null
null
/* * Project : FoxMath * Editing by Six Jonathan * Date : 2020-08-28 - 10 h 03 * * * MIT License * * Copyright (c) 2020 Six Jonathan * * 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 S...
31.588477
250
0.57543
Renardjojo
852cb2f518a7b520b016b9426084cc6c4714d19a
371
cpp
C++
matriz/MATRIZ.cpp
ejpcr/libs-c
e544e4338ea9f2fe8c57de83045944f38ae06a07
[ "MIT" ]
null
null
null
matriz/MATRIZ.cpp
ejpcr/libs-c
e544e4338ea9f2fe8c57de83045944f38ae06a07
[ "MIT" ]
null
null
null
matriz/MATRIZ.cpp
ejpcr/libs-c
e544e4338ea9f2fe8c57de83045944f38ae06a07
[ "MIT" ]
null
null
null
#include <C:\TC\BIN\PRESENTA.CPP> #include <C:\TC\BIN\CAPTURA.CPP> #include <C:\TC\BIN\SALIDA.CPP> #include <C:\TC\BIN\PROCESO.CPP> #include <C:\TC\BIN\Menu.CPP> void main() {entrar(); matriz a,b; double x; a=crear(a);limpiar(); b=crear(b);limpiar(); a=llenar(a);limpiar(); b=llenar(b);limpiar(); menu(a,b); getcha...
24.733333
46
0.6469
ejpcr
852d241652927fe22d2f76c1f1384a421db67a87
1,245
cpp
C++
November/Homeworks/Homework 1/AlgoritmaOdev4/AlgoritmaOdev4.cpp
MrMirhan/Algorithm-Class-221-HomeWorks
3198fce11a0fd4ea10b576b418cec3a35ffcff2e
[ "MIT" ]
1
2020-11-19T09:15:09.000Z
2020-11-19T09:15:09.000Z
November/Homeworks/Homework 1/AlgoritmaOdev4/AlgoritmaOdev4.cpp
MrMirhan/Algorithm-Class-221-HomeWorks
3198fce11a0fd4ea10b576b418cec3a35ffcff2e
[ "MIT" ]
null
null
null
November/Homeworks/Homework 1/AlgoritmaOdev4/AlgoritmaOdev4.cpp
MrMirhan/Algorithm-Class-221-HomeWorks
3198fce11a0fd4ea10b576b418cec3a35ffcff2e
[ "MIT" ]
2
2020-11-12T17:37:28.000Z
2020-11-21T14:48:49.000Z
// AlgoritmaOdev4.cpp : Bu dosya 'main' işlevi içeriyor. Program yürütme orada başlayıp biter. // #include <iostream> #include <string> using namespace std; void minmax(int a, int b, int c, int d) { int min_ab, min_cd, min, max_ab, max_cd, max; min_ab = a < b ? a : b; min_cd = c < d ? c : d; max_ab...
25.408163
105
0.469076
MrMirhan
8532d44e9378acd401cf14b9f932d162525658fd
7,384
cpp
C++
Driver/Thread/Pthread/ZThreadPthread.cpp
paintdream/PaintsNowCore
4962b579ff3bc00aa55bb9294a4d722b1bef36ac
[ "MIT" ]
2
2020-10-09T07:43:13.000Z
2021-09-01T02:09:09.000Z
Driver/Thread/Pthread/ZThreadPthread.cpp
paintdream/PaintsNowCore
4962b579ff3bc00aa55bb9294a4d722b1bef36ac
[ "MIT" ]
null
null
null
Driver/Thread/Pthread/ZThreadPthread.cpp
paintdream/PaintsNowCore
4962b579ff3bc00aa55bb9294a4d722b1bef36ac
[ "MIT" ]
1
2021-03-31T02:02:02.000Z
2021-03-31T02:02:02.000Z
#include "ZThreadPthread.h" #if defined(_DEBUG) && defined(_MSC_VER) #include <Windows.h> #endif #if !defined(_MSC_VER) || _MSC_VER > 1200 #define USE_STD_THREAD #include <thread> #include <mutex> #include <condition_variable> #include <chrono> #else #include <windows.h> #include <process.h> #if _WIN32...
22.860681
119
0.687839
paintdream
8539c3db25cc2d087a1b4366f5cbb96d5a369184
3,585
cpp
C++
DataStructure/cht.cpp
rsk0315/codefolio
1de990978489f466e1fd47884d4a19de9cc30e02
[ "MIT" ]
1
2020-03-20T13:24:30.000Z
2020-03-20T13:24:30.000Z
DataStructure/cht.cpp
rsk0315/codefolio
1de990978489f466e1fd47884d4a19de9cc30e02
[ "MIT" ]
null
null
null
DataStructure/cht.cpp
rsk0315/codefolio
1de990978489f466e1fd47884d4a19de9cc30e02
[ "MIT" ]
null
null
null
template <typename Tp> class lower_envelope { public: using size_type = size_t; using value_type = Tp; private: using interval_type = std::pair<value_type, value_type>; using line_type = std::pair<value_type, value_type>; std::map<interval_type, line_type> M_lines; std::map<line_type, interval_type, std::g...
29.875
78
0.591353
rsk0315