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
94066a6f0922e3c6925e8f0b6bfc5296784b1044
1,041
hpp
C++
sentient_compiler/src/arg_parser.hpp
hyper-level-nerds/sentient
963219d8c01a1efaed4f53fa1793e734b92b983e
[ "BSL-1.0" ]
null
null
null
sentient_compiler/src/arg_parser.hpp
hyper-level-nerds/sentient
963219d8c01a1efaed4f53fa1793e734b92b983e
[ "BSL-1.0" ]
null
null
null
sentient_compiler/src/arg_parser.hpp
hyper-level-nerds/sentient
963219d8c01a1efaed4f53fa1793e734b92b983e
[ "BSL-1.0" ]
null
null
null
#ifndef __SENTIENT_COMPILER_ARG_PARSER_HPP__ #define __SENTIENT_COMPILER_ARG_PARSER_HPP__ #include <string> #include <boost/program_options/variables_map.hpp> #include <boost/program_options/options_description.hpp> #include <boost/program_options/positional_options.hpp> namespace sentient { namespace compiler { cl...
24.785714
115
0.788665
hyper-level-nerds
94095e394d2a59374043fc1652bdc7c5f0a8c90d
15,781
hpp
C++
PresentData/DxgkrnlEventStructs.hpp
rurr1213/PresentMon
53ec4247c5315b861a3efcc110ee3b4fd61e7ff0
[ "MIT" ]
1
2020-12-26T18:07:51.000Z
2020-12-26T18:07:51.000Z
DxgkrnlEventStructs.hpp
jrmuizel/frame-timing
e4b0db9799110b38b8e36dc7971a43fbf010009c
[ "MIT" ]
null
null
null
DxgkrnlEventStructs.hpp
jrmuizel/frame-timing
e4b0db9799110b38b8e36dc7971a43fbf010009c
[ "MIT" ]
null
null
null
/* Copyright 2019 Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distrib...
37.395735
428
0.670363
rurr1213
940cb4068c49341c0a4f279d4440322c6f221431
3,301
hpp
C++
include/xul/net/http/http_message_parser.hpp
hindsights/xul
666ce90742a9919d538ad5c8aad618737171e93b
[ "MIT" ]
2
2018-03-16T07:06:48.000Z
2018-04-02T03:02:14.000Z
include/xul/net/http/http_message_parser.hpp
hindsights/xul
666ce90742a9919d538ad5c8aad618737171e93b
[ "MIT" ]
null
null
null
include/xul/net/http/http_message_parser.hpp
hindsights/xul
666ce90742a9919d538ad5c8aad618737171e93b
[ "MIT" ]
1
2019-08-12T05:15:29.000Z
2019-08-12T05:15:29.000Z
#pragma once #include <xul/net/http/http_message.hpp> #include <boost/algorithm/string/trim.hpp> #include <boost/algorithm/string/split.hpp> namespace xul { class http_message_parser { public: static const char* find_header_end(const char* data, size_t size) { const char* header_end_tag = "\r\n\r\n...
26.620968
138
0.57316
hindsights
940dc1e177b73bbcf1ed1a1f5f41e0a0d6736326
624
cpp
C++
test/examples_test/03_module_test/03_module_tests.cpp
acc-cosc-1337-summer-2020-classroom/acc-cosc-1337-summer-2020-Gabe-Cpp
f5b7d8610054c975b67ff04a41a7a054325e3c7e
[ "MIT" ]
null
null
null
test/examples_test/03_module_test/03_module_tests.cpp
acc-cosc-1337-summer-2020-classroom/acc-cosc-1337-summer-2020-Gabe-Cpp
f5b7d8610054c975b67ff04a41a7a054325e3c7e
[ "MIT" ]
null
null
null
test/examples_test/03_module_test/03_module_tests.cpp
acc-cosc-1337-summer-2020-classroom/acc-cosc-1337-summer-2020-Gabe-Cpp
f5b7d8610054c975b67ff04a41a7a054325e3c7e
[ "MIT" ]
null
null
null
#define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do this in one cpp file #include "catch.hpp" #include "if_else.h" TEST_CASE("Verify Test Configuration", "verification") { REQUIRE(true == true); } TEST_CASE("Test get_generation function") { REQUIRE(get_generation(2015) == "Invalid Year"); ...
27.130435
97
0.719551
acc-cosc-1337-summer-2020-classroom
94100363532b305ede3cbf560d813184259dfc0d
407
hpp
C++
projects/week1_basic_data_structures/2_tree_height/tree-height.hpp
aamarin/ucsd_coursera_basic_data_structures_project
e911edf228d1236761ad2676be4a8d85610c8112
[ "MIT" ]
null
null
null
projects/week1_basic_data_structures/2_tree_height/tree-height.hpp
aamarin/ucsd_coursera_basic_data_structures_project
e911edf228d1236761ad2676be4a8d85610c8112
[ "MIT" ]
null
null
null
projects/week1_basic_data_structures/2_tree_height/tree-height.hpp
aamarin/ucsd_coursera_basic_data_structures_project
e911edf228d1236761ad2676be4a8d85610c8112
[ "MIT" ]
null
null
null
#ifndef TREE_HEIGHT_H #define TREE_HEIGHT_H #include <vector> class Node; class Node { public: int key; Node *parent; std::vector<Node *> children; Node() { this->parent = NULL; } void setParent(Node *theParent) { parent = theParent; parent->children.push_back(this); }...
15.074074
44
0.643735
aamarin
94104ce3cada20147a1759b16c58d344d74c62aa
1,511
hh
C++
include/Core/CFG/Graph.hh
Keenuts/abstract_vuln_finder
70248d84b9e3582bb2f793090d8002aaf17ab578
[ "MIT" ]
6
2019-08-30T01:36:03.000Z
2019-11-16T19:10:29.000Z
include/Core/CFG/Graph.hh
Keenuts/abstract_vuln_finder
70248d84b9e3582bb2f793090d8002aaf17ab578
[ "MIT" ]
4
2019-12-17T17:33:24.000Z
2019-12-20T17:43:19.000Z
include/Core/CFG/Graph.hh
Keenuts/abstract_vuln_finder
70248d84b9e3582bb2f793090d8002aaf17ab578
[ "MIT" ]
1
2019-08-29T22:02:11.000Z
2019-08-29T22:02:11.000Z
#pragma once #include "Var.hh" #include <list> #include <llvm/IR/Instruction.h> #include <memory> struct Arc; /// Structure representing a node in the CFG struct Node { Node(); Node(const Node &other); Node &operator=(const Node &other); bool equal(const Node &other) const; int id; // unique identifier i...
27.981481
80
0.698213
Keenuts
941308d91439b9ee38b69abb5e9a457091b7a623
887
hpp
C++
include/tableresult.hpp
victordmontero/sqlite3_orm
b239862356ca110273b6a2bd82d7eab88fc54895
[ "Apache-2.0" ]
1
2021-09-20T15:00:09.000Z
2021-09-20T15:00:09.000Z
include/tableresult.hpp
victordmontero/sqlite3_orm
b239862356ca110273b6a2bd82d7eab88fc54895
[ "Apache-2.0" ]
null
null
null
include/tableresult.hpp
victordmontero/sqlite3_orm
b239862356ca110273b6a2bd82d7eab88fc54895
[ "Apache-2.0" ]
null
null
null
#ifndef TABLERESULT_H_ #define TABLERESULT_H_ #include <string> #include <vector> #include <map> namespace sqlite3_orm { class TableResult { std::string tableName; std::map<std::string, std::vector<std::string> > resultSet; std::vector<std::string> resultHeaders; long rowCount; int rowIndex; int sqliteR...
20.159091
79
0.70124
victordmontero
9413deffb332c59c61ed8191398511cbb9a9a313
2,128
cpp
C++
src/classwork/11_assign/vector.cpp
acc-cosc-1337-spring-2020/acc-cosc-1337-spring-2020-OMTut
aabedb5cb108513173951a5fc86ad589e7c8ccbc
[ "MIT" ]
null
null
null
src/classwork/11_assign/vector.cpp
acc-cosc-1337-spring-2020/acc-cosc-1337-spring-2020-OMTut
aabedb5cb108513173951a5fc86ad589e7c8ccbc
[ "MIT" ]
null
null
null
src/classwork/11_assign/vector.cpp
acc-cosc-1337-spring-2020/acc-cosc-1337-spring-2020-OMTut
aabedb5cb108513173951a5fc86ad589e7c8ccbc
[ "MIT" ]
null
null
null
#include "vector.h" #include<iostream> /* Initialize nums to size dynamic array. Initialize eah array element to 0. */ Vector::Vector(size_t sz) : size {sz}, nums{new int[sz]} //this creates the dynamic array { for (size_t i = 0; i < sz; ++i) //this iterates the new int [sz] array objects to 0 { nums[i]...
18.666667
100
0.618421
acc-cosc-1337-spring-2020
9417afe7003199a61cf5ac356a6a878750bab6a6
9,459
cpp
C++
src/OISBAnalogEmulation.cpp
fire-archive/oisb
2e1a1a5f58dee986122a1aef8a98e5e610a845a4
[ "Zlib" ]
null
null
null
src/OISBAnalogEmulation.cpp
fire-archive/oisb
2e1a1a5f58dee986122a1aef8a98e5e610a845a4
[ "Zlib" ]
null
null
null
src/OISBAnalogEmulation.cpp
fire-archive/oisb
2e1a1a5f58dee986122a1aef8a98e5e610a845a4
[ "Zlib" ]
null
null
null
/* The zlib/libpng License Copyright (c) 2009-2010 Martin Preisler This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpos...
30.220447
104
0.569722
fire-archive
9418377ed8d7a80b472e8a40dceea405e17aafc3
1,190
cpp
C++
src/engine/components/animator.cpp
cevherkarakoc/golge-engine
02f317cdff02fa2f4aee626adc31dbdb63b046bb
[ "MIT" ]
null
null
null
src/engine/components/animator.cpp
cevherkarakoc/golge-engine
02f317cdff02fa2f4aee626adc31dbdb63b046bb
[ "MIT" ]
null
null
null
src/engine/components/animator.cpp
cevherkarakoc/golge-engine
02f317cdff02fa2f4aee626adc31dbdb63b046bb
[ "MIT" ]
null
null
null
#include <golge/engine/components/animator.h> using namespace golge; Animator::Animator(float frameRate, const std::string &name, Animation::SharedPtr animation) { m_name = "animator"; m_frameRate = frameRate; addAnimation(name, animation); m_activeAnimation = animation; } void Animator::init() { } void An...
20.517241
92
0.705882
cevherkarakoc
9419822674f0437d3d5ff5f5fdb97610912b5c20
29,719
cpp
C++
WRK-V1.2/clr/src/vm/i386/remotingx86.cpp
intj-t/openvmsft
0d17fbce8607ab2b880be976c2e86d8cfc3e83bb
[ "Intel" ]
null
null
null
WRK-V1.2/clr/src/vm/i386/remotingx86.cpp
intj-t/openvmsft
0d17fbce8607ab2b880be976c2e86d8cfc3e83bb
[ "Intel" ]
null
null
null
WRK-V1.2/clr/src/vm/i386/remotingx86.cpp
intj-t/openvmsft
0d17fbce8607ab2b880be976c2e86d8cfc3e83bb
[ "Intel" ]
null
null
null
// ==++== // // // Copyright (c) 2006 Microsoft Corporation. All rights reserved. // // The use and distribution terms for this software are contained in the file // named license.txt, which can be found in the root of this distribution. // By using this software in any fashion, you are agreeing to b...
32.586623
134
0.588344
intj-t
941a9cfb6ca00a4264da1a23fbe85143e35b8b42
4,252
cpp
C++
experiments/performance/main_microbenchmark_downwards_navigation.cpp
harald-lang/tree-encoded-bitmaps
a4ab056f2cefa7843b27c736833b08977b56649c
[ "Apache-2.0" ]
29
2020-06-18T12:51:42.000Z
2022-02-22T07:38:24.000Z
experiments/performance/main_microbenchmark_downwards_navigation.cpp
marcellus-saputra/Thuja
8443320a6d0e9a20bb6b665f0befc6988978cafd
[ "Apache-2.0" ]
null
null
null
experiments/performance/main_microbenchmark_downwards_navigation.cpp
marcellus-saputra/Thuja
8443320a6d0e9a20bb6b665f0befc6988978cafd
[ "Apache-2.0" ]
2
2021-04-07T13:43:34.000Z
2021-06-09T04:49:39.000Z
#include "experiments/util/bitmap_db.hpp" #include "experiments/util/gen.hpp" #include "experiments/util/threading.hpp" #include "thirdparty/perfevent/PerfEvent.hpp" #include <dtl/bitmap/teb_legacy.hpp> #include <dtl/bitmap/teb_wrapper.hpp> #include <dtl/bitmap/util/convert.hpp> #include <dtl/dtl.hpp> #include <dtl/en...
34.290323
89
0.569849
harald-lang
941b114799f3491acf36f4e827ce701b701d6aba
3,825
hpp
C++
src/tl.hpp
mpomarlan/oink
ac43621eb88dc8830c0fc04c2707a10ee0f18f17
[ "Apache-2.0" ]
null
null
null
src/tl.hpp
mpomarlan/oink
ac43621eb88dc8830c0fc04c2707a10ee0f18f17
[ "Apache-2.0" ]
null
null
null
src/tl.hpp
mpomarlan/oink
ac43621eb88dc8830c0fc04c2707a10ee0f18f17
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2017-2018 Tom van Dijk, Johannes Kepler University Linz * * 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 r...
28.759398
104
0.666405
mpomarlan
94227991874633e6327b44815029f7fbfbb99789
2,231
cpp
C++
src/clReflectTest/Main.cpp
chip5441/clReflect
d366cced2fff9aefcfc5ec6a0c97ed6c827263eb
[ "MIT" ]
214
2015-10-27T22:53:23.000Z
2022-03-25T09:10:37.000Z
src/clReflectTest/Main.cpp
SungJJinKang/clReflect_ForDoomsEngine
1fd9add781e0da27546d8fec49b92809978fa19d
[ "MIT" ]
4
2016-03-23T12:49:59.000Z
2021-11-19T09:29:19.000Z
src/clReflectTest/Main.cpp
SungJJinKang/clReflect_ForDoomsEngine
1fd9add781e0da27546d8fec49b92809978fa19d
[ "MIT" ]
16
2015-10-28T17:13:53.000Z
2022-03-19T15:54:14.000Z
// // =============================================================================== // clReflect // ------------------------------------------------------------------------------- // Copyright (c) 2011-2012 Don Williamson & clReflect Authors (see AUTHORS file) // Released under MIT License (see LICENSE file) ...
20.281818
83
0.58987
chip5441
9423a931ce4e88b819da44df5afa7a0909b30b03
6,084
cc
C++
src/pipeline.cc
SolveMedia/mrquincy
a0c8685bb47bdad383ed038c1dfad40ac6c8a3b1
[ "Apache-2.0" ]
1
2021-05-01T19:06:45.000Z
2021-05-01T19:06:45.000Z
src/pipeline.cc
SolveMedia/mrquincy
a0c8685bb47bdad383ed038c1dfad40ac6c8a3b1
[ "Apache-2.0" ]
null
null
null
src/pipeline.cc
SolveMedia/mrquincy
a0c8685bb47bdad383ed038c1dfad40ac6c8a3b1
[ "Apache-2.0" ]
1
2017-08-12T23:18:24.000Z
2017-08-12T23:18:24.000Z
/* Copyright (c) 2014 Author: Jeff Weisberg <jaw @ solvemedia.com> Created: 2014-Mar-21 16:04 (EDT) Function: the running task pipeline */ #define CURRENT_SUBSYSTEM 't' #include "defs.h" #include "diag.h" #include "config.h" #include "misc.h" #include "network.h" #include "pipeline.h" #include "mrmagoo.pb....
22.450185
103
0.57117
SolveMedia
942668f0cb57ccbc7241c8b884c7c275eede2644
54
hpp
C++
src/boost_iterator_function_input_iterator.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_iterator_function_input_iterator.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_iterator_function_input_iterator.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/iterator/function_input_iterator.hpp>
27
53
0.851852
miathedev
942ac1162a364212e60118cfdf7784221f5bf5d9
608
hpp
C++
src/gemfire_worker.hpp
gemfire/node-gemfire
51e55645e1b643046b47e8dc7d2144ae58688ed2
[ "BSD-2-Clause" ]
8
2015-04-24T18:59:01.000Z
2019-07-05T14:24:22.000Z
src/gemfire_worker.hpp
gemfire/node-gemfire
51e55645e1b643046b47e8dc7d2144ae58688ed2
[ "BSD-2-Clause" ]
8
2015-06-30T20:48:34.000Z
2021-03-13T03:45:13.000Z
src/gemfire_worker.hpp
gemfire/node-gemfire
51e55645e1b643046b47e8dc7d2144ae58688ed2
[ "BSD-2-Clause" ]
13
2015-05-02T16:16:42.000Z
2021-05-25T05:50:03.000Z
#ifndef __GEMFIRE_WORKER_HPP__ #define __GEMFIRE_WORKER_HPP__ #include <nan.h> #include <geode/GeodeCppCache.hpp> #include <string> namespace node_gemfire { class GemfireWorker : public Nan::AsyncWorker { public: explicit GemfireWorker(Nan::Callback * callback) : Nan::AsyncWorker(callback), errorNam...
20.965517
59
0.702303
gemfire
9430dc045c76b02e18a12600389bd19a789915aa
12,134
cc
C++
src/components/application_manager/test/commands/hmi/get_urls_test.cc
APipko/sdl_core
7f7fcbb998fb17f2954fd103349af67ea9b71a3f
[ "BSD-3-Clause" ]
2
2016-09-21T12:36:17.000Z
2017-11-03T07:58:33.000Z
src/components/application_manager/test/commands/hmi/get_urls_test.cc
APipko/sdl_core
7f7fcbb998fb17f2954fd103349af67ea9b71a3f
[ "BSD-3-Clause" ]
64
2016-04-21T10:30:58.000Z
2020-01-30T11:17:36.000Z
src/components/application_manager/test/commands/hmi/get_urls_test.cc
APipko/sdl_core
7f7fcbb998fb17f2954fd103349af67ea9b71a3f
[ "BSD-3-Clause" ]
12
2015-09-14T08:17:55.000Z
2018-06-29T10:16:59.000Z
/* * Copyright (c) 2016, Ford Motor Company * 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 condit...
36.548193
80
0.749135
APipko
943438f73f8ff2679d3aff497ee941c707a0824e
4,114
cpp
C++
source/Time.cpp
wnewbery/cpphttp
adfc148716bc65aff29e881d1872c9dea6fc6af9
[ "MIT" ]
19
2017-03-28T02:17:42.000Z
2021-02-12T03:26:58.000Z
source/Time.cpp
wnewbery/cpphttp
adfc148716bc65aff29e881d1872c9dea6fc6af9
[ "MIT" ]
3
2016-07-14T10:15:06.000Z
2016-11-22T21:04:01.000Z
source/Time.cpp
wnewbery/cpphttp
adfc148716bc65aff29e881d1872c9dea6fc6af9
[ "MIT" ]
9
2017-10-19T07:15:42.000Z
2019-09-17T07:08:25.000Z
#include "Time.hpp" #include <sstream> #include <stdexcept> namespace http { std::string format_time(time_t utc) { char buffer[sizeof("DDD, DD MMM YYYY HH:MM:SS GMT")]; tm tm; #ifdef _MSC_VER gmtime_s(&tm, &utc); #else gmtime_r(&utc, &tm); #endif size_t len = strftime(bu...
30.25
98
0.454545
wnewbery
9438098fb58b6e0085477b198e92291ced547a2b
10,548
cpp
C++
DeltaShaper/Client/src/DSClient.cpp
dmbb/DeltaShaper
8af30bdb002688561d1b7bd4eea3e2ac8bf7b1d2
[ "MIT" ]
4
2018-03-14T07:01:34.000Z
2021-02-23T19:56:26.000Z
DeltaShaper/Client/src/DSClient.cpp
0xDEC0DE8/DeltaShaper
8af30bdb002688561d1b7bd4eea3e2ac8bf7b1d2
[ "MIT" ]
null
null
null
DeltaShaper/Client/src/DSClient.cpp
0xDEC0DE8/DeltaShaper
8af30bdb002688561d1b7bd4eea3e2ac8bf7b1d2
[ "MIT" ]
3
2018-03-14T07:01:35.000Z
2021-09-06T18:50:11.000Z
#include "DSClient.h" #include <signal.h> #include <fstream> #include <cmdline.h> #include <netinet/in.h> #include <linux/netfilter.h> #include <libnetfilter_queue/libnetfilter_queue.h> #include <errno.h> #include <arpa/inet.h> #include <linux/ip.h> using namespace std; static int signaled = 0; static int state = 0; ...
33.699681
174
0.610353
dmbb
9439198ac774d68a17ef88f1b5d8a3088eb3afa6
1,065
cpp
C++
Challenge28/src/main.cpp
GamesTrap/Challenges
6cfea7ec137fbba35cae6a29c4fc6b124eff07c8
[ "MIT" ]
1
2018-09-15T20:35:23.000Z
2018-09-15T20:35:23.000Z
Challenge28/src/main.cpp
GamesTrap/Challenges
6cfea7ec137fbba35cae6a29c4fc6b124eff07c8
[ "MIT" ]
null
null
null
Challenge28/src/main.cpp
GamesTrap/Challenges
6cfea7ec137fbba35cae6a29c4fc6b124eff07c8
[ "MIT" ]
null
null
null
#include <iostream> #include "Member.h" int main() { Member otto("Otto"); Member andrea("Andrea"); Member jens("Jens"); Member silvana("Silvana"); Member miriam("Miriam"); Member paul("Paul"); std::vector<Member*> all{ &otto, &andrea, &jens, &silvana, &miriam, &paul }; andrea.getsToKnow(jens); silvana.gets...
21.3
77
0.649765
GamesTrap
943d609ee6d905f60c86823d89e7249a9630f656
564
hpp
C++
include/RED4ext/Types/generated/ExpressionTreeCParametrizationNodeDefinition.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
1
2021-02-01T23:07:50.000Z
2021-02-01T23:07:50.000Z
include/RED4ext/Types/generated/ExpressionTreeCParametrizationNodeDefinition.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
null
null
null
include/RED4ext/Types/generated/ExpressionTreeCParametrizationNodeDefinition.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
null
null
null
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> #include <RED4ext/Common.hpp> #include <RED4ext/REDhash.hpp> #include <RED4ext/Types/generated/ExpressionTreeCNodeDefinition.hpp> namespace RED4ext { struct ExpressionTreeCParametrizationNodeDefinition : ExpressionTreeCNodeDefi...
28.2
87
0.81383
Cyberpunk-Extended-Development-Team
943d6e94a8034e0f9bd7b8124422c9b6aaaf773a
405
cpp
C++
mcp-dynamic.cpp
ronalterde/mcp-tdd-part2
e8894451f19054c2f4154a98ff48b94f592efa2e
[ "MIT" ]
null
null
null
mcp-dynamic.cpp
ronalterde/mcp-tdd-part2
e8894451f19054c2f4154a98ff48b94f592efa2e
[ "MIT" ]
null
null
null
mcp-dynamic.cpp
ronalterde/mcp-tdd-part2
e8894451f19054c2f4154a98ff48b94f592efa2e
[ "MIT" ]
null
null
null
#include "can.h" #include "boilerplate.h" #include <stddef.h> class DummySpiDriver : public SpiDriver { public: void select() override { } void deselect() override { } uint8_t read() override { return 0; } void write(uint8_t value) override { (void)value; } }; int main() { DummySpiDriver spiDriver; M...
12.65625
41
0.679012
ronalterde
943e30fe0c8458761bc221fb4ac28ce7c241577c
235
cpp
C++
Source/Finish.cpp
BubbleChien/Path
950f65b9fcd99bebf4cb5b20fecd3df085161912
[ "MIT" ]
1
2018-07-07T15:14:33.000Z
2018-07-07T15:14:33.000Z
Source/Finish.cpp
BubbleChien/Path
950f65b9fcd99bebf4cb5b20fecd3df085161912
[ "MIT" ]
null
null
null
Source/Finish.cpp
BubbleChien/Path
950f65b9fcd99bebf4cb5b20fecd3df085161912
[ "MIT" ]
null
null
null
#include "./Finish.hpp" #include "./FinishUI.hpp" void Finish::Init() { CR::Stage::instance.AddTop<FinishUI>(); } void Finish::Update() { if(CR::Input::instance.IsDown(CR::Button::Start)) { CR::Game::instance.Quit(); } }
10.681818
50
0.625532
BubbleChien
94447d1b38a1c9d413e23ddbbe564a454eae7521
1,732
cpp
C++
src/day12.cpp
jcazevedo/advent-of-code-2019
c44e827724532a721cc8fdbb377642c9d06a72e1
[ "MIT" ]
null
null
null
src/day12.cpp
jcazevedo/advent-of-code-2019
c44e827724532a721cc8fdbb377642c9d06a72e1
[ "MIT" ]
null
null
null
src/day12.cpp
jcazevedo/advent-of-code-2019
c44e827724532a721cc8fdbb377642c9d06a72e1
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int sgn(int d) { if (d < 0) return -1; if (d > 0) return 1; return 0; } long long gcd(long long a, long long b) { if (b == 0) return a; return gcd(b, a % b); } long long lcm(long long a, long long b) { return (a * b) / gcd(a, b); } int main() { ...
22.789474
70
0.406467
jcazevedo
944649904e2eab5858db426f077d5340a1c67890
34,501
hpp
C++
src/clpp11.hpp
vbkaisetsu/CLBlast
441373c8fd1442cc4c024e59e7778b4811eb210c
[ "Apache-2.0" ]
null
null
null
src/clpp11.hpp
vbkaisetsu/CLBlast
441373c8fd1442cc4c024e59e7778b4811eb210c
[ "Apache-2.0" ]
null
null
null
src/clpp11.hpp
vbkaisetsu/CLBlast
441373c8fd1442cc4c024e59e7778b4811eb210c
[ "Apache-2.0" ]
null
null
null
// ================================================================================================= // This file is part of the CLBlast project. The project is licensed under Apache Version 2.0. This // project loosely follows the Google C++ styleguide and uses a tab-size of two spaces and a max- // width of 100 char...
38.984181
106
0.6563
vbkaisetsu
94468172049119b99f8452e17063a62c713f4874
741
cpp
C++
DP/number_of_palindromic_substring.cpp
cosmicray001/My-My-Code-Library-
85430e5367c0b0384d66385e0cf9eff513642e79
[ "Apache-2.0" ]
2
2019-01-08T15:35:44.000Z
2021-03-03T01:08:47.000Z
DP/number_of_palindromic_substring.cpp
cosmicray001/My-My-Code-Library-
85430e5367c0b0384d66385e0cf9eff513642e79
[ "Apache-2.0" ]
null
null
null
DP/number_of_palindromic_substring.cpp
cosmicray001/My-My-Code-Library-
85430e5367c0b0384d66385e0cf9eff513642e79
[ "Apache-2.0" ]
1
2020-08-13T18:07:56.000Z
2020-08-13T18:07:56.000Z
int countSubstrings(string s) { if(s.size() < 2) return s.size(); int ans = 0; vector<vector<int>> dp(s.size(), vector<int>(s.size(), false)); for(int i = 0; i < s.size(); i++){ dp[i][i] = true; ans++; } for(int i = 0; i < s.size() - 1; i++){ ...
29.64
71
0.302294
cosmicray001
9446b21397102de3dc1f7fb52ea7aa7cec05fb77
7,578
cpp
C++
src/libs/scenarios/src/scenario_collect.cpp
DavidSlayback/megaverse
6ce21c9df5ee4d157f4a69b98de3ef1569bc8ccc
[ "MIT" ]
149
2021-06-09T01:28:57.000Z
2022-03-30T20:31:25.000Z
src/libs/scenarios/src/scenario_collect.cpp
DavidSlayback/megaverse
6ce21c9df5ee4d157f4a69b98de3ef1569bc8ccc
[ "MIT" ]
4
2021-06-30T17:06:18.000Z
2022-02-17T21:58:13.000Z
src/libs/scenarios/src/scenario_collect.cpp
DavidSlayback/megaverse
6ce21c9df5ee4d157f4a69b98de3ef1569bc8ccc
[ "MIT" ]
13
2021-07-10T06:49:24.000Z
2022-03-08T05:11:35.000Z
#include <util/perlin_noise.hpp> #include <scenarios/scenario_collect.hpp> using namespace Megaverse; using namespace Magnum::Math::Literals; CollectScenario::CollectScenario(const std::string &name, Env &env, Env::EnvState &envState) : DefaultScenario(name, env, envState) , vg{*this} , objectStackingComponent{*th...
34.60274
158
0.626683
DavidSlayback
9447631a81ae97aac363eba6d581c7b9a1e0260c
264
cpp
C++
tools/level_editor/src/common/widgets/DockWidget.cpp
filipwasil/fillwave
65f5eeebf8ca4a8ce2d25293874b051c2a4c0550
[ "MIT" ]
27
2015-09-26T23:29:48.000Z
2021-03-06T08:54:46.000Z
tools/level_editor/src/common/widgets/DockWidget.cpp
filipwasil/fillwave
65f5eeebf8ca4a8ce2d25293874b051c2a4c0550
[ "MIT" ]
83
2015-09-28T22:20:16.000Z
2018-05-16T13:25:28.000Z
tools/level_editor/src/common/widgets/DockWidget.cpp
filipwasil/fillwave
65f5eeebf8ca4a8ce2d25293874b051c2a4c0550
[ "MIT" ]
8
2015-11-03T22:29:29.000Z
2018-11-17T08:49:07.000Z
#include "DockWidget.h" namespace common { namespace widgets { DockWidget::DockWidget(const QString& title, QWidget* parent, Qt::WindowFlags flags) : QDockWidget(title, parent, flags) { } void DockWidget::closeEvent(QCloseEvent* event) { this->hide(); } } }
18.857143
84
0.727273
filipwasil
94492fea2bc5a53fac14e8a066f8d19b3d62ee1c
3,399
cpp
C++
demo/AguiCalc/AguiCalc/GuiFontManager.cpp
ZweiEuro/Agui
0062150c732a85a0811a29caa9493d159b17f75f
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
84
2015-01-31T15:43:07.000Z
2022-01-28T13:02:57.000Z
demo/AguiCalc/AguiCalc/GuiFontManager.cpp
ZweiEuro/Agui
0062150c732a85a0811a29caa9493d159b17f75f
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
5
2015-04-14T11:13:46.000Z
2021-03-01T21:23:14.000Z
demo/AguiCalc/AguiCalc/GuiFontManager.cpp
ZweiEuro/Agui
0062150c732a85a0811a29caa9493d159b17f75f
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
21
2015-03-25T00:28:50.000Z
2021-05-11T05:50:35.000Z
/* _____ * /\ _ \ __ * \ \ \_\ \ __ __ __ /\_\ * \ \ __ \ /'_ `\ /\ \/\ \\/\ \ * \ \ \/\ \ /\ \_\ \\ \ \_\ \\ \ \ * \ \_\ \_\\ \____ \\ \____/ \ \_\ * \/_/\/_/ \/____\ \\/___/ \/_/ * /\____/ * ...
28.090909
79
0.624595
ZweiEuro
944a3628aee3a5ab1fd7ca8cb5aa69e9a25e6f88
182
cpp
C++
src/util/filesystem.cpp
masonium/twinkle
853ae84ebd1fd8dcd3dda47eb3fb1c2cf0b8f0c6
[ "MIT" ]
2
2016-09-20T06:01:03.000Z
2020-12-03T23:22:19.000Z
src/util/filesystem.cpp
masonium/twinkle
853ae84ebd1fd8dcd3dda47eb3fb1c2cf0b8f0c6
[ "MIT" ]
null
null
null
src/util/filesystem.cpp
masonium/twinkle
853ae84ebd1fd8dcd3dda47eb3fb1c2cf0b8f0c6
[ "MIT" ]
null
null
null
#include <util/filesystem.h> #include <fstream> namespace filesystem { bool exists(const std::string& filename) { std::ifstream ifs(filename.c_str()); return ifs; } }
15.166667
42
0.675824
masonium
944d3e50d0d31090b8d5578d4271b49de7b9271a
1,562
cpp
C++
spoj/COUNT1IT.cpp
tuket/challenges
456979020c78dfcae2f8681245000bb64a6aaf38
[ "Unlicense" ]
null
null
null
spoj/COUNT1IT.cpp
tuket/challenges
456979020c78dfcae2f8681245000bb64a6aaf38
[ "Unlicense" ]
null
null
null
spoj/COUNT1IT.cpp
tuket/challenges
456979020c78dfcae2f8681245000bb64a6aaf38
[ "Unlicense" ]
null
null
null
#include <bits/stdc++.h> using namespace std; random_device randDevice; mt19937 randGen(randDevice()); template <typename TX> class TreapNode; template <typename TX> array<TreapNode<TX>*, 2> split(TreapNode<TX>*, TX x); template <typename TX> TreapNode<TX>* merge(TreapNode<TX>*, TreapNode<TX>*); template <typenam...
19.772152
58
0.555698
tuket
944e79083b93cf9103ea523fcb29d76bab39e9a3
1,512
cpp
C++
2017rq/3/Main.cpp
s-shirayama/FacebookHackerCup
db952841a66fd2bb000a0e0c2a36a4bfe4c10d9a
[ "MIT" ]
null
null
null
2017rq/3/Main.cpp
s-shirayama/FacebookHackerCup
db952841a66fd2bb000a0e0c2a36a4bfe4c10d9a
[ "MIT" ]
null
null
null
2017rq/3/Main.cpp
s-shirayama/FacebookHackerCup
db952841a66fd2bb000a0e0c2a36a4bfe4c10d9a
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef pair<int, int> P; typedef long long int LL; typedef long double LD; const int MAXW = 401; const int MAXT = 1000; LD calc(int x, int y, int t) { if (t <= 0) return 1.0; LD dp[2][MAXW]; int idx = 0; memset(dp[idx], 0, sizeof(dp[idx])); dp[idx][0] = 1; for (int...
20.16
107
0.448413
s-shirayama
9450272f1a6e2ffe5a354dba5d1bba2fca974fb7
333
cpp
C++
archive/1/tort-oig.cpp
Aleshkev/algoritmika
fc95b0c0f318d9eb4ef1fef4cc3c6e85d2417189
[ "MIT" ]
2
2019-05-04T09:37:09.000Z
2019-05-22T18:07:28.000Z
archive/1/tort-oig.cpp
Aleshkev/algoritmika
fc95b0c0f318d9eb4ef1fef4cc3c6e85d2417189
[ "MIT" ]
null
null
null
archive/1/tort-oig.cpp
Aleshkev/algoritmika
fc95b0c0f318d9eb4ef1fef4cc3c6e85d2417189
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef int I; int main() { I n; cin >> n; static I t[1000000]; for(I i = 0; i < n; ++i) { cin >> t[i]; } I c = 0; for(I i = 0; i < n; ++i) { I e; cin >> e; if(e < t[i]) ++c; } cout << c << '\n'; ...
11.892857
30
0.369369
Aleshkev
946190baf86157155a39ba7e92a452c21ed5601c
4,775
cxx
C++
extras/log4cplus/src/loggerimpl.cxx
tianpi/thekla
3cee9fc26752f712f003745785abd67236ba8102
[ "MIT" ]
null
null
null
extras/log4cplus/src/loggerimpl.cxx
tianpi/thekla
3cee9fc26752f712f003745785abd67236ba8102
[ "MIT" ]
null
null
null
extras/log4cplus/src/loggerimpl.cxx
tianpi/thekla
3cee9fc26752f712f003745785abd67236ba8102
[ "MIT" ]
null
null
null
// Module: Log4CPLUS // File: loggerimpl.cxx // Created: 6/2001 // Author: Tad E. Smith // // // Copyright (C) Tad E. Smith All rights reserved. // // This software is published under the terms of the Apache Software // License version 1.1, a copy of which has been included with this // distribution in the LICENS...
24.487179
111
0.598953
tianpi
9463724a9090ccb25fc320dfb9da9bdc1d9de019
39,388
cpp
C++
Blizzlike/ArcEmu/C++/InstanceScripts/Instance_Botanica.cpp
499453466/Lua-Other
43fd2b72405faf3f2074fd2a2706ef115d16faa6
[ "Unlicense" ]
2
2015-06-23T16:26:32.000Z
2019-06-27T07:45:59.000Z
Blizzlike/ArcEmu/C++/InstanceScripts/Instance_Botanica.cpp
Eduardo-Silla/Lua-Other
db610f946dbcaf81b3de9801f758e11a7bf2753f
[ "Unlicense" ]
null
null
null
Blizzlike/ArcEmu/C++/InstanceScripts/Instance_Botanica.cpp
Eduardo-Silla/Lua-Other
db610f946dbcaf81b3de9801f758e11a7bf2753f
[ "Unlicense" ]
3
2015-01-10T18:22:59.000Z
2021-04-27T21:28:28.000Z
/* * ArcScripts for ArcEmu MMORPG Server * Copyright (C) 2009 ArcEmu Team <http://www.arcemu.org/> * Copyright (C) 2008-2009 Sun++ Team <http://www.sunscripting.com/> * Copyright (C) 2005-2007 Ascent Team <http://www.ascentemu.com/> * Copyright (C) 2007-2008 Moon++ Team <http://www.moonplusplus.info/> * * This p...
26.328877
151
0.651036
499453466
9464c99c4bb50a8575f9a2cd7477c0821f0d08f0
804
cpp
C++
5_Processes_Signals_Files_Pipes/2_Signals/1_Immortal.cpp
PP189B/Multithreaded-programming-practice
f80378343824e51a164241289399ec92150852e8
[ "MIT" ]
null
null
null
5_Processes_Signals_Files_Pipes/2_Signals/1_Immortal.cpp
PP189B/Multithreaded-programming-practice
f80378343824e51a164241289399ec92150852e8
[ "MIT" ]
null
null
null
5_Processes_Signals_Files_Pipes/2_Signals/1_Immortal.cpp
PP189B/Multithreaded-programming-practice
f80378343824e51a164241289399ec92150852e8
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <unistd.h> #include <signal.h> #define PID_STOREPATH "./pid" int create_immortal_process(void) { pid_t pid = fork(); if (pid == 0) { // create immortal proccess sigignore(SIGTERM); sigignore(SIGINT); // infinite loop while (true) paus...
16.75
54
0.605721
PP189B
9467166e693500c6145d30721852bf2e3f293399
10,927
cxx
C++
osprey/common/com/f90_utils.cxx
sharugupta/OpenUH
daddd76858a53035f5d713f648d13373c22506e8
[ "BSD-2-Clause" ]
null
null
null
osprey/common/com/f90_utils.cxx
sharugupta/OpenUH
daddd76858a53035f5d713f648d13373c22506e8
[ "BSD-2-Clause" ]
null
null
null
osprey/common/com/f90_utils.cxx
sharugupta/OpenUH
daddd76858a53035f5d713f648d13373c22506e8
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright 2003, 2004, 2005, 2006 PathScale, Inc. All Rights Reserved. */ /* Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved. This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the ...
23.754348
78
0.583875
sharugupta
94694048accb98584e65f7a3dafe4e6dd500c317
43,816
cpp
C++
packages/Operators/test/tstConsistentInterpolationOperator.cpp
chiao45/DataTransferKit
51923eb08ccd4c12c5a5ea5f136f5ccbbbeb6243
[ "BSD-3-Clause" ]
1
2020-07-26T03:50:31.000Z
2020-07-26T03:50:31.000Z
packages/Operators/test/tstConsistentInterpolationOperator.cpp
chiao45/DataTransferKit
51923eb08ccd4c12c5a5ea5f136f5ccbbbeb6243
[ "BSD-3-Clause" ]
null
null
null
packages/Operators/test/tstConsistentInterpolationOperator.cpp
chiao45/DataTransferKit
51923eb08ccd4c12c5a5ea5f136f5ccbbbeb6243
[ "BSD-3-Clause" ]
1
2018-07-09T18:39:38.000Z
2018-07-09T18:39:38.000Z
//---------------------------------------------------------------------------// /* Copyright (c) 2012, Stuart R. Slattery 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 o...
40.420664
80
0.622421
chiao45
9469c8bf0e728a729a2c91bd631dda12ec57686f
6,777
cc
C++
src/Terrain.cc
rovedit/Fort-Candle
445fb94852df56c279c71b95c820500e7fb33cf7
[ "MIT" ]
null
null
null
src/Terrain.cc
rovedit/Fort-Candle
445fb94852df56c279c71b95c820500e7fb33cf7
[ "MIT" ]
null
null
null
src/Terrain.cc
rovedit/Fort-Candle
445fb94852df56c279c71b95c820500e7fb33cf7
[ "MIT" ]
null
null
null
#include "Terrain.hh" #include <glow/objects/Texture2D.hh> void gamedev::Terrain::Init(SharedEngineECS& ecs) { mECS = ecs; } void gamedev::Terrain::setGroundMesh(std::filesystem::path mesh_path) { mMeshGround.loadFromFile(mesh_path.string()); mVaoGround = mMeshGround.createVertexArray(); } void gamedev::Terra...
36.435484
188
0.682898
rovedit
946c1766cea5300180903abc631a719c93f3f126
868
cpp
C++
lib/vdf/DataMgrWC.cpp
yyr/vapor
cdebac81212ffa3f811064bbd7625ffa9089782e
[ "BSD-3-Clause" ]
null
null
null
lib/vdf/DataMgrWC.cpp
yyr/vapor
cdebac81212ffa3f811064bbd7625ffa9089782e
[ "BSD-3-Clause" ]
null
null
null
lib/vdf/DataMgrWC.cpp
yyr/vapor
cdebac81212ffa3f811064bbd7625ffa9089782e
[ "BSD-3-Clause" ]
null
null
null
#include <vapor/DataMgrWC.h> using namespace VetsUtil; using namespace VAPoR; VAPoR::DataMgrWC::DataMgrWC( const string &metafile, size_t mem_size ) : DataMgr(mem_size), WaveCodecIO(metafile) { } VAPoR::DataMgrWC::DataMgrWC( const MetadataVDC &metadata, size_t mem_size ) : DataMgr(mem_size), W...
20.666667
62
0.687788
yyr
946cc35dd637bf33a2324637701986697b499af4
4,883
cc
C++
apps/axistream/test/axi_stream_integeration_test.cc
Subarashi-tako/HLS_packet_processing
0e66c0779a279e8beb7c26c07818b98e5ab7f42f
[ "Apache-2.0" ]
2
2020-01-26T13:42:01.000Z
2021-01-21T06:34:01.000Z
apps/axistream/test/axi_stream_integeration_test.cc
twosigma/HLS_packet_processing
70d76ef66e194afd89438b1908e914d88642ce54
[ "Apache-2.0" ]
null
null
null
apps/axistream/test/axi_stream_integeration_test.cc
twosigma/HLS_packet_processing
70d76ef66e194afd89438b1908e914d88642ce54
[ "Apache-2.0" ]
null
null
null
#include "catch.hpp" #include "axi_stream_reader.hh" #include "axi_stream_writer.hh" using namespace message; /* * struct header { * uint16_t message_type; * }; * struct message_1 { * header h1; * uint16_t value; * }; * struct message_2 { * header h2; * }; */ struct message_type : lu16 {};...
27.587571
95
0.654106
Subarashi-tako
20ea8482b3a878d170713a16c908765100eae06a
389
hpp
C++
src/problems/51-100/100/problem100.hpp
abeccaro/project-euler
c3b124bb973dc3a1cf29e8c96c3e70c8816d5fa3
[ "MIT" ]
1
2019-12-25T10:17:15.000Z
2019-12-25T10:17:15.000Z
src/problems/51-100/100/problem100.hpp
abeccaro/project-euler
c3b124bb973dc3a1cf29e8c96c3e70c8816d5fa3
[ "MIT" ]
null
null
null
src/problems/51-100/100/problem100.hpp
abeccaro/project-euler
c3b124bb973dc3a1cf29e8c96c3e70c8816d5fa3
[ "MIT" ]
null
null
null
// // Created by Alex Beccaro on 13/03/18. // #ifndef PROJECT_EULER_PROBLEM100_HPP #define PROJECT_EULER_PROBLEM100_HPP #include <cstdint> namespace problems { class problem100 { public: /** * Solves problem * @return The solution */ static uint64_t solve(uint64_t l...
16.913043
59
0.650386
abeccaro
20ed12c7a974033b3054c52b18e939541ce39554
17,073
cpp
C++
src/plugins/model/modelview.cpp
pniekamp/datum-studio
24060759669ade7b7c77890ce3921d4465df5e4c
[ "Apache-2.0" ]
2
2017-05-09T19:43:54.000Z
2020-10-25T01:09:38.000Z
src/plugins/model/modelview.cpp
pniekamp/datum-studio
24060759669ade7b7c77890ce3921d4465df5e4c
[ "Apache-2.0" ]
null
null
null
src/plugins/model/modelview.cpp
pniekamp/datum-studio
24060759669ade7b7c77890ce3921d4465df5e4c
[ "Apache-2.0" ]
null
null
null
// // Model View // // // Copyright (C) 2016 Peter Niekamp // #include "modelview.h" #include "buildapi.h" #include "assetfile.h" #include "mesh.h" #include "material.h" #include <QApplication> #include <QMouseEvent> #include <QWheelEvent> #include <QStyleHints> #include <QDragEnterEvent> #include <QDropEvent> #inclu...
25.946809
227
0.606689
pniekamp
20ed882cb855e537e26dc1ff8aa62205c26123cc
2,388
cpp
C++
src/game-source-code/Grid.cpp
morisscofield/Pac-Man
2b1ade41b5243ecb827c50761afbf9c6a802c7f9
[ "Apache-2.0" ]
null
null
null
src/game-source-code/Grid.cpp
morisscofield/Pac-Man
2b1ade41b5243ecb827c50761afbf9c6a802c7f9
[ "Apache-2.0" ]
null
null
null
src/game-source-code/Grid.cpp
morisscofield/Pac-Man
2b1ade41b5243ecb827c50761afbf9c6a802c7f9
[ "Apache-2.0" ]
null
null
null
#include "Grid.h" Grid::Grid(const Coordinates &gridSize, const Coordinates &screenDimentions, ifstream & mazeFile) : screen_(screenDimentions), blockWidth_(screenDimentions.getX()/gridSize.getX()), blockHeight_(screenDimentions.getY()/gridSize.getY()) { resizeMatrix(gridSize.getX(), gridSize.getY()); readMaze(m...
23.411765
99
0.711893
morisscofield
20f35796c4d9f1340052613642f7057e04372eeb
768
cpp
C++
MiniRHex/pd_control.cpp
EdwardLu2018/MiniRHex
f95ec0f1220fa5191445c14c7fed30f8f6ef20a0
[ "BSD-3-Clause" ]
51
2018-05-23T03:14:38.000Z
2022-01-19T02:46:16.000Z
MiniRHex/pd_control.cpp
EdwardLu2018/MiniRHex
f95ec0f1220fa5191445c14c7fed30f8f6ef20a0
[ "BSD-3-Clause" ]
2
2018-12-23T16:36:24.000Z
2019-03-04T16:49:29.000Z
MiniRHex/pd_control.cpp
EdwardLu2018/MiniRHex
f95ec0f1220fa5191445c14c7fed30f8f6ef20a0
[ "BSD-3-Clause" ]
20
2018-12-12T20:46:58.000Z
2022-02-20T11:47:27.000Z
#include "pd_control.h" #include "control_parameters.h" #include <stdio.h> #include <math.h> //Implementation of pdcontrol with shortest path around a circle used for theta //Different gains for walking and standing float kp_hold = .008; float kd_hold = 1.0; //Attempts to send leg the short way around the circle...
32
116
0.746094
EdwardLu2018
20ff870cec92f0cceaacd5ff85032c0dd7e32d53
13,144
cpp
C++
src/act.offensive.cpp
stefan-lindstrom/circpp
d0ac5d75126883b8273823753db1fb7bcb877433
[ "Info-ZIP", "Unlicense" ]
4
2016-06-23T02:37:11.000Z
2018-12-23T10:00:12.000Z
src/act.offensive.cpp
stefan-lindstrom/circpp
d0ac5d75126883b8273823753db1fb7bcb877433
[ "Info-ZIP", "Unlicense" ]
null
null
null
src/act.offensive.cpp
stefan-lindstrom/circpp
d0ac5d75126883b8273823753db1fb7bcb877433
[ "Info-ZIP", "Unlicense" ]
null
null
null
/* ************************************************************************ * File: act.offensive.c Part of CircleMUD * * Usage: player-level commands of an offensive nature * * * * All rights re...
28.573913
108
0.608795
stefan-lindstrom
1f0310aaec139dc4e9422dc8ccaf584c7e227aa6
732
hpp
C++
121st_MSV/cfgWeapons.hpp
cptbassbeard/Valhalla
56868a4567898750526e1d7a66731f23c1b7d18e
[ "CC0-1.0" ]
null
null
null
121st_MSV/cfgWeapons.hpp
cptbassbeard/Valhalla
56868a4567898750526e1d7a66731f23c1b7d18e
[ "CC0-1.0" ]
null
null
null
121st_MSV/cfgWeapons.hpp
cptbassbeard/Valhalla
56868a4567898750526e1d7a66731f23c1b7d18e
[ "CC0-1.0" ]
null
null
null
class cfgWeapons { class UniformItem; class UniformBase; class CUP_O_RUS_Soldier_VKPO_MSV_EMR_gloves_pads; class blu_CUP_O_RUS_Soldier_VKPO_MSV_EMR_gloves_pads: UniformBase { author = "Team Valhalla"; scope = 0; Name = "VKPO_MSV_GLOVES_PADS"; displayName = "VKPO MSV GLOVES KNEEPADS"; modelSides[] = {0,1...
28.153846
71
0.635246
cptbassbeard
1f0434ba01dcb91ee77e5fa263b0cf1c00ebcefc
1,329
cpp
C++
src/qt/business_objects/test/Config_Test_App/mainwindow.cpp
karagog/gutil
43936af9bc4be1945e4f1a3656e91dfbf42cc35b
[ "Apache-2.0" ]
null
null
null
src/qt/business_objects/test/Config_Test_App/mainwindow.cpp
karagog/gutil
43936af9bc4be1945e4f1a3656e91dfbf42cc35b
[ "Apache-2.0" ]
2
2015-01-30T21:47:55.000Z
2015-02-10T00:22:27.000Z
src/qt/business_objects/test/Config_Test_App/mainwindow.cpp
karagog/gutil
43936af9bc4be1945e4f1a3656e91dfbf42cc35b
[ "Apache-2.0" ]
null
null
null
/*Copyright 2010 George Karagoulis Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, softwar...
27.122449
72
0.705041
karagog
1f06f01438d79310bbe50041275792b05b300e86
308
cpp
C++
chapter 8/example/p84.cpp
realme72/beginning
9c6c5abaf675a53f88552dbc7fbf44c6bc94087c
[ "MIT" ]
2
2018-07-01T07:39:44.000Z
2020-05-17T07:26:26.000Z
chapter 8/example/p84.cpp
realme72/beginning
9c6c5abaf675a53f88552dbc7fbf44c6bc94087c
[ "MIT" ]
null
null
null
chapter 8/example/p84.cpp
realme72/beginning
9c6c5abaf675a53f88552dbc7fbf44c6bc94087c
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { int i,j,temp,arr[10]={1,2,3,4,5,6,7,8,9,10}; for(i=0,j=9; i<j; ++i,--j) { temp=arr[i]; arr[i]=arr[j]; arr[j]=temp; } printf("After reversing, the array is\n"); for(i=0; i<10; ++i) printf("%d\n",arr[i]); printf("\n"); return 0; }
14.666667
45
0.538961
realme72
1f07b4fb75e0c8e203329de2e262a7a480e94104
1,392
cpp
C++
05. Multithreading - Async/multithreading4/main.cpp
CloudedThings/Embedded-Systems-with-C-and-Cpp
9b186d262ef9d1dff2ef17469d5de1e34bb9c9a8
[ "MIT" ]
null
null
null
05. Multithreading - Async/multithreading4/main.cpp
CloudedThings/Embedded-Systems-with-C-and-Cpp
9b186d262ef9d1dff2ef17469d5de1e34bb9c9a8
[ "MIT" ]
null
null
null
05. Multithreading - Async/multithreading4/main.cpp
CloudedThings/Embedded-Systems-with-C-and-Cpp
9b186d262ef9d1dff2ef17469d5de1e34bb9c9a8
[ "MIT" ]
null
null
null
#include <iostream> #include "thread" #include <queue> #include "mutex" #include "condition_variable" #include "chrono" using namespace std; auto data_chunk = 0; queue<int> data_queue; mutex queue_mutex; mutex data_chunk_mutex; condition_variable data_con; bool moreDataToPrepare() { return data_chunk < 20; } a...
18.810811
62
0.621408
CloudedThings
1f0af6fb59fd09705154c569fa3124d0c2b55b05
7,465
cpp
C++
src/autogen/cfdapi_add_sign_json.cpp
fujita-cg/cfd-js
6113374d3f04495a30854c06c73d7094ea361fdb
[ "MIT" ]
null
null
null
src/autogen/cfdapi_add_sign_json.cpp
fujita-cg/cfd-js
6113374d3f04495a30854c06c73d7094ea361fdb
[ "MIT" ]
null
null
null
src/autogen/cfdapi_add_sign_json.cpp
fujita-cg/cfd-js
6113374d3f04495a30854c06c73d7094ea361fdb
[ "MIT" ]
null
null
null
// Copyright 2019 CryptoGarage /** * @file cfdapi_add_sign_json.cpp * * @brief JSONマッピングファイル (自動生成) */ #include <set> #include <string> #include <vector> #include "cfdapi_add_sign_json.h" // NOLINT namespace cfd { namespace js { namespace api { namespace json { using cfd::core::JsonClassBase; using cfd::core::J...
28.492366
81
0.685198
fujita-cg
1f15ba8bb2308dcae60f3fa8ef8ddca1fac105e8
12,571
c++
C++
src/extern/inventor/apps/examples/Toolmaker/10.Components/simpleViewer.c++
OpenXIP/xip-libraries
9f0fef66038b20ff0c81c089d7dd0038e3126e40
[ "Apache-2.0" ]
2
2020-05-21T07:06:07.000Z
2021-06-28T02:14:34.000Z
src/extern/inventor/apps/examples/Toolmaker/10.Components/simpleViewer.c++
OpenXIP/xip-libraries
9f0fef66038b20ff0c81c089d7dd0038e3126e40
[ "Apache-2.0" ]
null
null
null
src/extern/inventor/apps/examples/Toolmaker/10.Components/simpleViewer.c++
OpenXIP/xip-libraries
9f0fef66038b20ff0c81c089d7dd0038e3126e40
[ "Apache-2.0" ]
6
2016-03-21T19:53:18.000Z
2021-06-08T18:06:03.000Z
/* * * Copyright (C) 2000 Silicon Graphics, Inc. All Rights Reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your opti...
26.465263
77
0.675284
OpenXIP
1f1870598e0efc2700a68990ff2feea09f46b078
345
cpp
C++
inventory/chest.cpp
ddlLab/ddlwork
dbd537459713782b817dc0bf152cb985ba1284e5
[ "MIT" ]
null
null
null
inventory/chest.cpp
ddlLab/ddlwork
dbd537459713782b817dc0bf152cb985ba1284e5
[ "MIT" ]
null
null
null
inventory/chest.cpp
ddlLab/ddlwork
dbd537459713782b817dc0bf152cb985ba1284e5
[ "MIT" ]
null
null
null
#include "chest.h" #include <sstream> eChest::eChest(eRarity _rarity, int _maxDurability, int _defense) : eItem(eType::CHEST, _rarity, _maxDurability) , defense(_defense) {} std::string eChest::ToString() const { std::ostringstream oss; oss << eItem::ToString() << "Defense:" << defense << std::endl;...
21.5625
66
0.66087
ddlLab
1f188a1182efc163b31880ebacab9643cc9ec8a3
490
cpp
C++
niuke_HW/ds_zuo/8_00_hanoi.cpp
drt4243566/leetcode_learn
ef51f215079556895eec2252d84965cd1c3a7bf4
[ "MIT" ]
null
null
null
niuke_HW/ds_zuo/8_00_hanoi.cpp
drt4243566/leetcode_learn
ef51f215079556895eec2252d84965cd1c3a7bf4
[ "MIT" ]
null
null
null
niuke_HW/ds_zuo/8_00_hanoi.cpp
drt4243566/leetcode_learn
ef51f215079556895eec2252d84965cd1c3a7bf4
[ "MIT" ]
null
null
null
#include <iostream> #include <string> using namespace std; void hanoi_process(int N, string from, string to, string other){ if(N==1){ cout<<"Move 1 from "<<from<<" to "<<to<<endl; } else{ hanoi_process(N-1,from,other,to); cout<<"Move "<<N<<" from "<<from<<" to "<<to<<endl; ha...
20.416667
64
0.540816
drt4243566
1f1ec6130c1490a8b8bcdc1f9077cb3778fb92fd
5,126
hpp
C++
vtsd/src/vtsd/delivery/vts/tdt2vts/metabuilder.hpp
Melown/vts-vtsd
b3fd26d91791ceb68e51a97b456f97ae1cade550
[ "BSD-2-Clause" ]
4
2017-07-04T09:14:57.000Z
2018-12-05T21:40:02.000Z
vtsd/src/vtsd/delivery/vts/tdt2vts/metabuilder.hpp
melowntech/vts-vtsd
126f10f453dd2f235c43d3c1e4464a3acf911742
[ "BSD-2-Clause" ]
5
2020-03-03T00:27:43.000Z
2021-08-18T09:30:34.000Z
vtsd/src/vtsd/delivery/vts/tdt2vts/metabuilder.hpp
Melown/vts-vtsd
b3fd26d91791ceb68e51a97b456f97ae1cade550
[ "BSD-2-Clause" ]
1
2019-09-26T06:25:57.000Z
2019-09-26T06:25:57.000Z
/** * Copyright (c) 2021 Melown Technologies SE * * 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 and the f...
35.597222
80
0.653531
Melown
1f212a7c3e0397a258cb6720045bd52ff3080ae9
2,520
hpp
C++
src/window-function.hpp
rimio/specgram
4b9517a148bcd6f47cc2f20a83355093811cc04b
[ "MIT" ]
4
2020-12-29T21:52:57.000Z
2022-02-07T09:44:37.000Z
src/window-function.hpp
rimio/specgram
4b9517a148bcd6f47cc2f20a83355093811cc04b
[ "MIT" ]
24
2020-12-29T20:23:09.000Z
2021-11-01T14:01:20.000Z
src/window-function.hpp
rimio/specgram
4b9517a148bcd6f47cc2f20a83355093811cc04b
[ "MIT" ]
1
2021-09-22T12:39:59.000Z
2021-09-22T12:39:59.000Z
/* * Copyright (c) 2020-2021 Vasile Vilvoiu <vasi@vilvoiu.ro> * * specgram is free software; you can redistribute it and/or modify * it under the terms of the MIT license. See LICENSE for details. */ #ifndef _WINDOW_FUNCTION_HPP_ #define _WINDOW_FUNCTION_HPP_ #include "input-parser.hpp" #include <vector> #includ...
24.230769
99
0.717857
rimio
1f226bcb3afb533f3851bfcdc963d75c6312fcb1
13,830
cc
C++
navigation/navigation.cc
wumode/boat
04a793c706734c07af2922d45acbf28055d510bd
[ "Apache-2.0" ]
5
2019-07-20T10:48:47.000Z
2021-12-10T10:49:57.000Z
navigation/navigation.cc
wumode/boat
04a793c706734c07af2922d45acbf28055d510bd
[ "Apache-2.0" ]
null
null
null
navigation/navigation.cc
wumode/boat
04a793c706734c07af2922d45acbf28055d510bd
[ "Apache-2.0" ]
3
2019-09-10T08:36:41.000Z
2021-12-10T10:50:04.000Z
/****************************************************************************** * * Copyright 2019 wumo1999@gmail.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://w...
37.890411
139
0.588792
wumode
1f26503e654c279c6917452bf88f110333c3d864
3,288
hpp
C++
pulsar/system/symmetry/CrystalSystem.hpp
pulsar-chem/BPModule
f8e64e04fdb01947708f098e833600c459c2ff0e
[ "BSD-3-Clause" ]
null
null
null
pulsar/system/symmetry/CrystalSystem.hpp
pulsar-chem/BPModule
f8e64e04fdb01947708f098e833600c459c2ff0e
[ "BSD-3-Clause" ]
null
null
null
pulsar/system/symmetry/CrystalSystem.hpp
pulsar-chem/BPModule
f8e64e04fdb01947708f098e833600c459c2ff0e
[ "BSD-3-Clause" ]
null
null
null
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ /** \file CrystalSystem.hpp * \brief Write Me!!!!!! * \author Ryan M. Richard * \version 1.0 * \date April 28, 2016 */ #ifnd...
34.978723
80
0.670012
pulsar-chem
1f2f016e620cb10538d53e33e099140e02b5b29d
8,988
hpp
C++
Include/MyDSP/Filter.hpp
MSiv15/MyDSP
0ee501f2a6094d99564136c48223f6be60a77622
[ "MIT" ]
1
2019-11-09T10:14:44.000Z
2019-11-09T10:14:44.000Z
Include/MyDSP/Filter.hpp
MSiv15/MyDSP
0ee501f2a6094d99564136c48223f6be60a77622
[ "MIT" ]
null
null
null
Include/MyDSP/Filter.hpp
MSiv15/MyDSP
0ee501f2a6094d99564136c48223f6be60a77622
[ "MIT" ]
null
null
null
/* * Filter.hpp * * Created on: 2018/09/02 * Author: Shibasaki * * 離散時間フィルタ * サンプル列に対する一括処理はstd::transformで行うことを想定 */ #ifndef MYDSP_FILTER_HPP_ #define MYDSP_FILTER_HPP_ #include "Internal/IndexSequence.hpp" #include "Internal/ZeroInitializer.hpp" #include <cstddef> namespace MyDSP { namespace Intern...
25.753582
95
0.551291
MSiv15
1f2fa7a1154ceb4c4fa8db18d0557945a6f3cae9
3,304
cpp
C++
C_CPP/104_1_NCUE_IM_CPP_II/0916/0916.cpp
jason40418/practices
898d77bc574696b2e7d0407c3b2bfaa66e80f29f
[ "MIT" ]
null
null
null
C_CPP/104_1_NCUE_IM_CPP_II/0916/0916.cpp
jason40418/practices
898d77bc574696b2e7d0407c3b2bfaa66e80f29f
[ "MIT" ]
null
null
null
C_CPP/104_1_NCUE_IM_CPP_II/0916/0916.cpp
jason40418/practices
898d77bc574696b2e7d0407c3b2bfaa66e80f29f
[ "MIT" ]
null
null
null
/** * @file 0916.cpp * * @brief * 1. Could input a text with space. * 2. Remove space with eatspaces(). * 3. Output the largest and the smallest character. * Hint: Related to ASCII. * * @example * [Input] * This is a book. * [Output] * Thisisabook. * ...
21.179487
71
0.493039
jason40418
1f31fa4be495a42df8e48f7a576bd20f5af1620b
201
hpp
C++
Tic-Tac-Toe/include/checkBoard.hpp
neonBdragon/Tic-Tac-Toe
5016ae2988f28dd6b15d212af00ec4ee4b03e2ef
[ "MIT" ]
null
null
null
Tic-Tac-Toe/include/checkBoard.hpp
neonBdragon/Tic-Tac-Toe
5016ae2988f28dd6b15d212af00ec4ee4b03e2ef
[ "MIT" ]
null
null
null
Tic-Tac-Toe/include/checkBoard.hpp
neonBdragon/Tic-Tac-Toe
5016ae2988f28dd6b15d212af00ec4ee4b03e2ef
[ "MIT" ]
null
null
null
#ifndef CHECKBOARD_H #define CHECKBOARD_H #include <string> class checkBoard { public: checkBoard(); int checkPos(std::string* spots); }; #endif // CHECKBOARD_H
12.5625
42
0.606965
neonBdragon
1f33d4cbe0d4a4a45c8b6d1d9043fada3662e21a
350
hpp
C++
Treads!/Mine.hpp
JoeKooler/Treads
5412d4a94a7b331aa37d04ff85e6f9e53da1150b
[ "MIT" ]
null
null
null
Treads!/Mine.hpp
JoeKooler/Treads
5412d4a94a7b331aa37d04ff85e6f9e53da1150b
[ "MIT" ]
null
null
null
Treads!/Mine.hpp
JoeKooler/Treads
5412d4a94a7b331aa37d04ff85e6f9e53da1150b
[ "MIT" ]
null
null
null
#pragma once #include "GameObject.hpp" #include "Animation.hpp" class Mine : public GameObject { public: Mine(Animation ani, float xpos = 0.0f, float ypos = 0.0f, float angle = 0.0f, int damage_val = 1); void Update(float deltaTime); void Render(sf::RenderWindow &window, bool DEBUG); private: Animatio...
23.333333
100
0.697143
JoeKooler
1f35dc2989965bd6490c232fcc6542cdf376528c
1,949
cpp
C++
src/Passion/Input/IInput.cpp
necrophcodr/Passion
816448d62d714d704c31f59464b08a5d93e8d36a
[ "Zlib" ]
2
2015-12-14T05:47:23.000Z
2016-05-10T16:38:30.000Z
src/Passion/Input/IInput.cpp
necrophcodr/Passion
816448d62d714d704c31f59464b08a5d93e8d36a
[ "Zlib" ]
null
null
null
src/Passion/Input/IInput.cpp
necrophcodr/Passion
816448d62d714d704c31f59464b08a5d93e8d36a
[ "Zlib" ]
null
null
null
//////////////////////////////////////////////////////////// // // Copyright (C) 2010 Alexander Overvoorde (overv161@gmail.com) // // This software is provided 'as-is', without any express or implied // warranty. In no event will the authors be held liable for any damages // arising from the use of this software. ...
25.986667
78
0.61724
necrophcodr
1f36a79c74619444e73930878e886b22f699f274
3,194
cpp
C++
src/ekam/SimpleDashboard.cpp
abliss/ekam
2ff0ff164508fd25a04997881227e9cf4312f754
[ "Apache-2.0" ]
177
2015-01-20T22:26:25.000Z
2018-08-20T07:55:42.000Z
src/ekam/SimpleDashboard.cpp
abliss/ekam
2ff0ff164508fd25a04997881227e9cf4312f754
[ "Apache-2.0" ]
32
2019-05-22T23:37:29.000Z
2022-02-28T22:16:51.000Z
src/ekam/SimpleDashboard.cpp
abliss/ekam
2ff0ff164508fd25a04997881227e9cf4312f754
[ "Apache-2.0" ]
16
2015-04-01T18:57:01.000Z
2018-04-11T19:31:37.000Z
// Ekam Build System // Author: Kenton Varda (kenton@sandstorm.io) // Copyright (c) 2010-2015 Kenton Varda, Google Inc., and contributors. // // 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 ...
32.591837
98
0.65717
abliss
1f38302ed21052390053e0818936f1eeeea58111
772
hpp
C++
source/libraries/ArduinoJson/src/ArduinoJson/Deserialization/ArduinoStreamReader.hpp
aavn/AirSniffer
3e55f7c110378f5a512c361b9b8b7ce95ff99adf
[ "MIT" ]
1
2018-12-04T02:38:37.000Z
2018-12-04T02:38:37.000Z
source/libraries/ArduinoJson/src/ArduinoJson/Deserialization/ArduinoStreamReader.hpp
aavn/AirSniffer
3e55f7c110378f5a512c361b9b8b7ce95ff99adf
[ "MIT" ]
3
2019-08-15T06:59:48.000Z
2019-10-16T10:02:09.000Z
source/libraries/ArduinoJson/src/ArduinoJson/Deserialization/ArduinoStreamReader.hpp
aavn/AirSniffer
3e55f7c110378f5a512c361b9b8b7ce95ff99adf
[ "MIT" ]
1
2019-02-22T08:27:15.000Z
2019-02-22T08:27:15.000Z
// ArduinoJson - arduinojson.org // Copyright Benoit Blanchon 2014-2019 // MIT License #pragma once #if ARDUINOJSON_ENABLE_ARDUINO_STREAM #include <Stream.h> namespace ARDUINOJSON_NAMESPACE { struct ArduinoStreamReader { Stream& _stream; char _current; bool _ended; public: explicit Ardu...
19.3
58
0.667098
aavn
1f3a0bd53d0e0eced4997e6c155f5ef77db75922
456
hpp
C++
src/c_compiler/ast/ast_argument.hpp
fexter-svk/C90-Compiler-EIE2
498cee1b2ebc43fb17342f46c1939bdddd20b2cf
[ "MIT" ]
11
2018-07-12T11:59:06.000Z
2021-04-17T06:57:44.000Z
src/c_compiler/ast/ast_argument.hpp
fexter-svk/C90-Compiler-EIE2
498cee1b2ebc43fb17342f46c1939bdddd20b2cf
[ "MIT" ]
null
null
null
src/c_compiler/ast/ast_argument.hpp
fexter-svk/C90-Compiler-EIE2
498cee1b2ebc43fb17342f46c1939bdddd20b2cf
[ "MIT" ]
2
2020-01-30T05:18:36.000Z
2021-03-16T10:59:18.000Z
#ifndef ast_argument_hpp #define ast_argument_hpp #include "context.hpp" class ArgumentList: public Expression{ public: ArgumentList(); void add(Expression* _exp); uint32_t getSize(Context& context) const; string print(const bool& complete) const; void setType(const string &_type); string getType() const;...
21.714286
56
0.75
fexter-svk
1f4033e3ee8d276a157ca3fa3e30c480137940eb
939
hpp
C++
sprig/com_ptr/unknown.hpp
bolero-MURAKAMI/Sprig
51ce4db4f4d093dee659a136f47249e4fe91fc7a
[ "BSL-1.0" ]
2
2017-10-24T13:56:24.000Z
2018-09-28T13:21:22.000Z
sprig/com_ptr/unknown.hpp
bolero-MURAKAMI/Sprig
51ce4db4f4d093dee659a136f47249e4fe91fc7a
[ "BSL-1.0" ]
null
null
null
sprig/com_ptr/unknown.hpp
bolero-MURAKAMI/Sprig
51ce4db4f4d093dee659a136f47249e4fe91fc7a
[ "BSL-1.0" ]
2
2016-04-12T03:26:06.000Z
2018-09-28T13:21:22.000Z
/*============================================================================= Copyright (c) 2010-2016 Bolero MURAKAMI https://github.com/bolero-MURAKAMI/Sprig 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) ===...
26.083333
79
0.628328
bolero-MURAKAMI
1f406c5cfe4d627008bb95e71f5ebd587330ded7
3,458
cpp
C++
IfcPlusPlus/src/ifcpp/IFC4/IfcRepresentationItem.cpp
linsipese/ifcppstudy
e09f05d276b5e129fcb6be65800472979cd4c800
[ "MIT" ]
1
2018-10-23T09:43:07.000Z
2018-10-23T09:43:07.000Z
IfcPlusPlus/src/ifcpp/IFC4/IfcRepresentationItem.cpp
linsipese/ifcppstudy
e09f05d276b5e129fcb6be65800472979cd4c800
[ "MIT" ]
null
null
null
IfcPlusPlus/src/ifcpp/IFC4/IfcRepresentationItem.cpp
linsipese/ifcppstudy
e09f05d276b5e129fcb6be65800472979cd4c800
[ "MIT" ]
null
null
null
/* -*-c++-*- IfcPlusPlus - www.ifcplusplus.com - Copyright (C) 2011 Fabian Gerold * * This library is open source and may be redistributed and/or modified under * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or * (at your option) any later version. The full license is in LICENSE file * in...
43.225
150
0.754482
linsipese
1f40eaaa4fabd27f6f5c35d90a3a1f7ad04703c6
4,187
cpp
C++
lib/src/filesystem/fat/NormalDirectoryEntryIterator.cpp
bli19/stm32plus
fdf0b74bd8df95c4b0085e1e03b461ea5ca48d86
[ "BSD-3-Clause" ]
1
2015-10-31T09:01:16.000Z
2015-10-31T09:01:16.000Z
lib/src/filesystem/fat/NormalDirectoryEntryIterator.cpp
bli19/stm32plus
fdf0b74bd8df95c4b0085e1e03b461ea5ca48d86
[ "BSD-3-Clause" ]
null
null
null
lib/src/filesystem/fat/NormalDirectoryEntryIterator.cpp
bli19/stm32plus
fdf0b74bd8df95c4b0085e1e03b461ea5ca48d86
[ "BSD-3-Clause" ]
null
null
null
/* * This file is a part of the open source stm32plus library. * Copyright (c) 2011,2012,2013 Andy Brown <www.andybrown.me.uk> * Please see website for licensing terms. */ #include "config/stm32plus.h" #include "config/filesystem.h" namespace stm32plus { namespace fat { /** * Constructor. * @par...
27.366013
139
0.661094
bli19
1f42963b26c197135e794fdf9e020fc77a9a6bb0
1,913
hpp
C++
libs/core/render/include/bksge/core/render/inl/render_pass_info_inl.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
4
2018-06-10T13:35:32.000Z
2021-06-03T14:27:41.000Z
libs/core/render/include/bksge/core/render/inl/render_pass_info_inl.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
566
2017-01-31T05:36:09.000Z
2022-02-09T05:04:37.000Z
libs/core/render/include/bksge/core/render/inl/render_pass_info_inl.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
1
2018-07-05T04:40:53.000Z
2018-07-05T04:40:53.000Z
/** * @file render_pass_info_inl.hpp * * @brief RenderPassInfo の実装 * * @author myoukaku */ #ifndef BKSGE_CORE_RENDER_INL_RENDER_PASS_INFO_INL_HPP #define BKSGE_CORE_RENDER_INL_RENDER_PASS_INFO_INL_HPP #include <bksge/core/render/render_pass_info.hpp> #include <bksge/core/render/clear_state.hpp> #i...
18.940594
65
0.733926
myoukaku
1f441f5ccd42f7d203599ca44642cac8d30b90b8
7,440
cpp
C++
src/tools/codeeditor/uitreeviewglobalsearch.cpp
SpartanJ/eepp
21e8ae53af9bc5eb3fd1043376f2b3a4b3ff5fac
[ "MIT" ]
37
2020-01-20T06:21:24.000Z
2022-03-21T17:44:50.000Z
src/tools/codeeditor/uitreeviewglobalsearch.cpp
SpartanJ/eepp
21e8ae53af9bc5eb3fd1043376f2b3a4b3ff5fac
[ "MIT" ]
null
null
null
src/tools/codeeditor/uitreeviewglobalsearch.cpp
SpartanJ/eepp
21e8ae53af9bc5eb3fd1043376f2b3a4b3ff5fac
[ "MIT" ]
9
2019-03-22T00:33:07.000Z
2022-03-01T01:35:59.000Z
#include "uitreeviewglobalsearch.hpp" #include "projectsearch.hpp" #include <eepp/graphics/primitives.hpp> #include <eepp/ui/doc/syntaxdefinitionmanager.hpp> #include <eepp/ui/doc/syntaxtokenizer.hpp> #include <eepp/ui/uicheckbox.hpp> #include <eepp/ui/uiscenenode.hpp> #include <eepp/ui/uistyle.hpp> UITreeViewGlobalSe...
34.12844
96
0.683468
SpartanJ
1f4fa262351c509699e86dd744457ee0344aedf1
28,193
cc
C++
wrappers/8.1.1/vtkResliceCursorWrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
6
2016-02-03T12:48:36.000Z
2020-09-16T15:07:51.000Z
wrappers/8.1.1/vtkResliceCursorWrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
4
2016-02-13T01:30:43.000Z
2020-03-30T16:59:32.000Z
wrappers/8.1.1/vtkResliceCursorWrap.cc
axkibe/node-vtk
900ad7b5500f672519da5aa24c99aa5a96466ef3
[ "BSD-3-Clause" ]
null
null
null
/* this file has been autogenerated by vtkNodeJsWrap */ /* editing this might proof futile */ #define VTK_WRAPPING_CXX #define VTK_STREAMS_FWD_ONLY #include <nan.h> #include "vtkObjectWrap.h" #include "vtkResliceCursorWrap.h" #include "vtkObjectBaseWrap.h" #include "vtkImageDataWrap.h" #include "vtkPolyDataWrap.h" #i...
28.277834
106
0.681268
axkibe
1f50e67a1f19a985d8d55e566755501df68726ba
48
cpp
C++
lib/cmake/Qt5Gui/Qt5Gui_QGifPlugin_Import.cpp
samlior/Qt5.15.0-rc2-static-macosx10.15
b9a1698a9a44baefbf3aa258af2ef487f12beff0
[ "blessing" ]
null
null
null
lib/cmake/Qt5Gui/Qt5Gui_QGifPlugin_Import.cpp
samlior/Qt5.15.0-rc2-static-macosx10.15
b9a1698a9a44baefbf3aa258af2ef487f12beff0
[ "blessing" ]
null
null
null
lib/cmake/Qt5Gui/Qt5Gui_QGifPlugin_Import.cpp
samlior/Qt5.15.0-rc2-static-macosx10.15
b9a1698a9a44baefbf3aa258af2ef487f12beff0
[ "blessing" ]
null
null
null
#include <QtPlugin> Q_IMPORT_PLUGIN(QGifPlugin)
16
27
0.833333
samlior
1f5590a5d3a3178a32dd30aac62d9572d7c7bab2
153
cpp
C++
Pseudo-Drifter/PositionComponent.cpp
WerenskjoldH/Pseudo-Drifter
e9b09baa540372276608270dbfa14d5dd7e72639
[ "Unlicense" ]
1
2019-11-22T15:56:56.000Z
2019-11-22T15:56:56.000Z
Pseudo-Drifter/PositionComponent.cpp
WerenskjoldH/Pseudo-Drifter
e9b09baa540372276608270dbfa14d5dd7e72639
[ "Unlicense" ]
null
null
null
Pseudo-Drifter/PositionComponent.cpp
WerenskjoldH/Pseudo-Drifter
e9b09baa540372276608270dbfa14d5dd7e72639
[ "Unlicense" ]
null
null
null
#include "PositionComponent.h" PositionComponent::PositionComponent(rn::vector3f worldPosition) : dV{worldPosition}, Component("PositionComponent") { }
25.5
116
0.803922
WerenskjoldH
1f6027dd88c4c5173233dcbec5d1cc417ca91bd0
5,289
hxx
C++
bpkg/utility.hxx
build2/bpkg
bd939839b44d90d027517e447537dd52539269ff
[ "MIT" ]
19
2018-05-30T12:01:25.000Z
2022-01-29T21:37:23.000Z
bpkg/utility.hxx
build2/bpkg
bd939839b44d90d027517e447537dd52539269ff
[ "MIT" ]
2
2019-03-18T22:31:45.000Z
2020-07-28T06:44:03.000Z
bpkg/utility.hxx
build2/bpkg
bd939839b44d90d027517e447537dd52539269ff
[ "MIT" ]
1
2019-02-04T02:58:14.000Z
2019-02-04T02:58:14.000Z
// file : bpkg/utility.hxx -*- C++ -*- // license : MIT; see accompanying LICENSE file #ifndef BPKG_UTILITY_HXX #define BPKG_UTILITY_HXX #include <map> #include <memory> // make_shared() #include <string> // to_string() #include <cstring> // strcmp(), strchr() #include <utility> // move(), forward(),...
23.299559
78
0.672906
build2
48f5213c7a758347e872c37643d92e426e878603
3,921
cpp
C++
LiteCppDB/LiteCppDB/ByteReader.cpp
pnadan/LiteCppDB
cb17db1ea6d82e0c1e669b4d70271dcf9c03d1a2
[ "MIT" ]
2
2019-07-18T06:30:33.000Z
2020-01-23T17:40:36.000Z
LiteCppDB/LiteCppDB/ByteReader.cpp
pnadan/LiteCppDB
cb17db1ea6d82e0c1e669b4d70271dcf9c03d1a2
[ "MIT" ]
null
null
null
LiteCppDB/LiteCppDB/ByteReader.cpp
pnadan/LiteCppDB
cb17db1ea6d82e0c1e669b4d70271dcf9c03d1a2
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "ByteReader.h" namespace LiteCppDB { int32_t ByteReader::getPosition() noexcept { return this->mPos; } ByteReader::ByteReader(std::vector<uint8_t> buffer) { this->mBuffer = buffer; this->mPos = 0; } void ByteReader::Skip(int32_t length) noexcept { this->mPos += length; ...
23.201183
328
0.648049
pnadan
48f6c8b7ce4dc0e15ea41e93a07d4550ef36c6dc
735
cpp
C++
src/abstraction/Mutex.cpp
lythaniel/YapiBot
724d763fc675a984c110da396ae2803a4b847100
[ "MIT" ]
2
2018-05-28T16:00:52.000Z
2019-01-21T17:36:29.000Z
src/abstraction/Mutex.cpp
lythaniel/YapiBot
724d763fc675a984c110da396ae2803a4b847100
[ "MIT" ]
null
null
null
src/abstraction/Mutex.cpp
lythaniel/YapiBot
724d763fc675a984c110da396ae2803a4b847100
[ "MIT" ]
null
null
null
/* * Mutex.cpp * * Copyright (C) 2016 Cyrille Potereau * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. */ #include "Mutex.h" #include <stdio.h> CMutex::CMutex () { pthread_mutex_init(&m_Lock, NULL); } CMutex::~CMutex () { pthread_m...
14.411765
64
0.680272
lythaniel
48f7735ed5e566416783db5fdfc322f7133be664
4,737
hpp
C++
gamelib/gamelib_base.hpp
ccfortenberry/cs487_gamejam_1
176f20db949e026bd004788e11dbbecd89b00b7d
[ "MIT" ]
null
null
null
gamelib/gamelib_base.hpp
ccfortenberry/cs487_gamejam_1
176f20db949e026bd004788e11dbbecd89b00b7d
[ "MIT" ]
null
null
null
gamelib/gamelib_base.hpp
ccfortenberry/cs487_gamejam_1
176f20db949e026bd004788e11dbbecd89b00b7d
[ "MIT" ]
null
null
null
#ifndef GAMELIB_BASE_HPP #define GAMELIB_BASE_HPP #define SDL_MAIN_HANDLED #include <SDL2/SDL.h> #include <SDL2/SDL_image.h> #include <SDL2/SDL_mixer.h> #include <SDL2/SDL_ttf.h> #include <czmq.h> #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> #include <hatchetfish.hpp> #include <iostream> #include <f...
30.960784
140
0.543804
ccfortenberry
48f92eb4bd9f1edcdcb888dde0ab0641141f9ff5
870
cpp
C++
517-gq1A.cpp
AndrewWayne/OI_Learning
0fe8580066704c8d120a131f6186fd7985924dd4
[ "MIT" ]
null
null
null
517-gq1A.cpp
AndrewWayne/OI_Learning
0fe8580066704c8d120a131f6186fd7985924dd4
[ "MIT" ]
null
null
null
517-gq1A.cpp
AndrewWayne/OI_Learning
0fe8580066704c8d120a131f6186fd7985924dd4
[ "MIT" ]
null
null
null
#include <cstdio> #include <iostream> #include <cstring> using namespace std; const int maxv = 6010; const int maxn = 1e5 + 10; typedef long long ll; int T, n, top; ll f[maxn], sz[maxn], w[maxn]; pair<ll, ll> stck[maxn]; void solve1(){ //cerr << endl; memset(f, 0x7f, sizeof(f)); memset(stck, 0, sizeof(stck...
23.513514
53
0.452874
AndrewWayne
48f9ab3b2c2b7e8cbd77f57f3135e984ff2a428d
2,973
cpp
C++
slyd3d12/src/d3d12/gfx/vertexbuffer.cpp
Gibbeon/sly
9216cf04a78f1d41af01186489ba6680b9641229
[ "MIT" ]
null
null
null
slyd3d12/src/d3d12/gfx/vertexbuffer.cpp
Gibbeon/sly
9216cf04a78f1d41af01186489ba6680b9641229
[ "MIT" ]
null
null
null
slyd3d12/src/d3d12/gfx/vertexbuffer.cpp
Gibbeon/sly
9216cf04a78f1d41af01186489ba6680b9641229
[ "MIT" ]
null
null
null
#include "sly/d3d12/gfx/vertexbuffer.h" #include "sly/d3d12/gfx/device.h" #include "sly/d3d12/dxh.h" using namespace sly::gfx; D3D12VertexBufferImpl::D3D12VertexBufferImpl(D3D12DeviceImpl& device) : _device(&device), _initialized(false) { } IDevice& D3D12VertexBufferImpl::getDevice() { ...
30.030303
104
0.671712
Gibbeon
48fa1a046e2ede06bae6d026dcff68bcd7222cda
418
cpp
C++
my_leetcode/_766.cpp
Chalkydoge/toy_codes
6112dfbcd192132be2fd5559b69ae5279691ed77
[ "MIT" ]
1
2020-09-20T11:40:54.000Z
2020-09-20T11:40:54.000Z
my_leetcode/_766.cpp
Chalkydoge/toy_codes
6112dfbcd192132be2fd5559b69ae5279691ed77
[ "MIT" ]
null
null
null
my_leetcode/_766.cpp
Chalkydoge/toy_codes
6112dfbcd192132be2fd5559b69ae5279691ed77
[ "MIT" ]
null
null
null
/* * 注意一点就可以了 判断条件就矩阵中所有的当前元素 = 左上角元素 */ class Solution { public: bool isToeplitzMatrix(vector<vector<int>>& matrix) { int m = matrix.size(), n = matrix[0].size(); for(int i = 1; i < m; ++i){ for(int j = 1; j < n; ++j){ if(matrix[i][j] != matrix[i - 1][j - 1]){ ...
20.9
57
0.423445
Chalkydoge
48fcdcd780ff3989312c91aa0d1daa5ec6457dde
574
cpp
C++
Homeworks/Homework1/FootballTeam/Source.cpp
nia-flo/FMI-DataStructuresAndAlgorithms
1040b14e0b008015a4a035c0db19c7b22d72ba79
[ "MIT" ]
null
null
null
Homeworks/Homework1/FootballTeam/Source.cpp
nia-flo/FMI-DataStructuresAndAlgorithms
1040b14e0b008015a4a035c0db19c7b22d72ba79
[ "MIT" ]
null
null
null
Homeworks/Homework1/FootballTeam/Source.cpp
nia-flo/FMI-DataStructuresAndAlgorithms
1040b14e0b008015a4a035c0db19c7b22d72ba79
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> #define MIN_PLAYER_NUMBER 1 using namespace std; int main() { int N; cin >> N; int* array = new int[N]; for (int i = 0; i < N; i++) { cin >> array[i]; if (array[i] < MIN_PLAYER_NUMBER) { i--; N--; } } sort(array, array + N); int missingNumber = MIN_PL...
12.478261
68
0.567944
nia-flo
48ffcd8132b66626b4255892775ab78663b19029
1,692
cc
C++
lehmer_code.cc
pps83/pik
9747f8dbe9c10079b7473966fc974e4b3bcef034
[ "Apache-2.0" ]
null
null
null
lehmer_code.cc
pps83/pik
9747f8dbe9c10079b7473966fc974e4b3bcef034
[ "Apache-2.0" ]
null
null
null
lehmer_code.cc
pps83/pik
9747f8dbe9c10079b7473966fc974e4b3bcef034
[ "Apache-2.0" ]
null
null
null
// Copyright 2017 Google Inc. 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 required by applicable...
24.171429
75
0.598109
pps83
5b0c5fea4f76f3358e5ac43a31b16f18dfc6f9a4
1,887
cpp
C++
naklibsrc/src/applications/TS_protobuf/cpp/TSMessageHandlerImpl.cpp
murphyj8/testNakStructure
fbd9fc0784b6b7ee3b176cb28d2b6e26abd2b48a
[ "Unlicense" ]
1
2021-07-01T02:01:27.000Z
2021-07-01T02:01:27.000Z
naklibsrc/src/applications/TS_protobuf/cpp/TSMessageHandlerImpl.cpp
murphyj8/testNakStructure
fbd9fc0784b6b7ee3b176cb28d2b6e26abd2b48a
[ "Unlicense" ]
1
2020-09-23T12:34:34.000Z
2020-09-23T12:34:34.000Z
naklibsrc/src/applications/TS_protobuf/cpp/TSMessageHandlerImpl.cpp
murphyj8/testNakStructure
fbd9fc0784b6b7ee3b176cb28d2b6e26abd2b48a
[ "Unlicense" ]
null
null
null
#include <TSMessageHandlerImpl.h> #include <player.h> #include <GroupMetaData.h> #include <orchestrator.h> // -------------------------------------------- // Handle Message helpers // -------------------------------------------- void groupisSetRequestImpl (const thresholdsignature::GroupIsSetRequest& tsreq ) { ...
32.534483
99
0.552729
murphyj8
5b0f258e94f8387ba72c794e8d4c252868c9ad39
40,789
cpp
C++
src/samplers/SamplerCapCVT/Geex/combinatorics/map_editor.cpp
FrancoisGaits/utk
8c408dd79635f98c46ed075c098f15e23972aad0
[ "BSD-2-Clause-FreeBSD" ]
44
2018-01-09T19:56:29.000Z
2022-03-03T06:38:54.000Z
src/samplers/SamplerCapCVT/Geex/combinatorics/map_editor.cpp
FrancoisGaits/utk
8c408dd79635f98c46ed075c098f15e23972aad0
[ "BSD-2-Clause-FreeBSD" ]
16
2018-01-29T18:01:42.000Z
2022-03-31T07:01:09.000Z
src/samplers/SamplerCapCVT/Geex/combinatorics/map_editor.cpp
FrancoisGaits/utk
8c408dd79635f98c46ed075c098f15e23972aad0
[ "BSD-2-Clause-FreeBSD" ]
12
2018-03-14T00:24:14.000Z
2022-03-03T06:40:07.000Z
/* * _____ _____ ________ _ * / __// __// __/\ \// * | | _| \ | \ \ / * | |_//| /_ | /_ / \ * \____\\____\\____\/__/\\ * * Graphics Environment for EXperimentations. * Copyright (C) 2006 INRIA - Project ALICE * * This program is free software; you can redistribute it and/or modify * it ...
29.302443
93
0.457991
FrancoisGaits
5b12bc4d6b607e3ea9509ef424df1e8c63b8aa8b
9,354
cpp
C++
src/net_http.cpp
thinapple/z
19a11d1c65782f71a8b33b59a0e8525689a1643a
[ "MIT" ]
null
null
null
src/net_http.cpp
thinapple/z
19a11d1c65782f71a8b33b59a0e8525689a1643a
[ "MIT" ]
1
2015-10-14T05:36:10.000Z
2015-10-14T05:36:10.000Z
src/net_http.cpp
thinapple/z
19a11d1c65782f71a8b33b59a0e8525689a1643a
[ "MIT" ]
null
null
null
#include "net_http.h" #include "net_tcp.h" #include <stdio.h> #include <string.h> namespace z { ; // Interested HTTP response status numbers enum HTTPResponseStatus { HTTP_RS_NULL = 0, HTTP_RS_OK = 200, HTTP_RS_MOVED = 301, HTTP_RS_REDIRECT = 302, }; // HTTP headers enum HTTP...
26.423729
108
0.576759
thinapple
5b15f71fabdbc969b7cf53823df92cb838687acd
13,075
cc
C++
black_circle.cc
kikairoya/black_circle
f3d8b90c9ddc76561d6ddc5e29e5e8fc8d3318c6
[ "BSL-1.0" ]
1
2016-06-20T21:16:36.000Z
2016-06-20T21:16:36.000Z
black_circle.cc
kikairoya/black_circle
f3d8b90c9ddc76561d6ddc5e29e5e8fc8d3318c6
[ "BSL-1.0" ]
null
null
null
black_circle.cc
kikairoya/black_circle
f3d8b90c9ddc76561d6ddc5e29e5e8fc8d3318c6
[ "BSL-1.0" ]
null
null
null
#include "common.hpp" #include <iostream> #include <fstream> #include <boost/program_options.hpp> #include <boost/exception/all.hpp> #include <boost/asio.hpp> #include <boost/range/algorithm.hpp> #include <boost/range/adaptor/filtered.hpp> #include <boost/range/adaptor/reversed.hpp> #include <boost/variant.h...
37.144886
197
0.67021
kikairoya
5b1ad821f71571c0a033efd661dc6661bddc3681
1,552
hpp
C++
Jackal/Source/Core/Public/Core/Structure/JVector.hpp
CheezBoiger/Jackal
6c87bf19f6c1cd63f53c815820b32fc71b48bf77
[ "MIT" ]
null
null
null
Jackal/Source/Core/Public/Core/Structure/JVector.hpp
CheezBoiger/Jackal
6c87bf19f6c1cd63f53c815820b32fc71b48bf77
[ "MIT" ]
null
null
null
Jackal/Source/Core/Public/Core/Structure/JVector.hpp
CheezBoiger/Jackal
6c87bf19f6c1cd63f53c815820b32fc71b48bf77
[ "MIT" ]
null
null
null
// Copyright (c) 2017 Jackal Engine, MIT License. #pragma once #include "Core/Platform/JTypes.hpp" #include "Core/Platform/Platform.hpp" namespace jackal { template<typename T> class VIterator { public: VIterator(); VIterator &Next(); private: }; // Standard Vector arraylist. Used almost entirely throu...
22.492754
64
0.693299
CheezBoiger
5b1de5c77b35563d7a163d70ebe9acdb114395ba
1,732
cpp
C++
NetcodeAssetEditor/DC_Vector2Control.cpp
tyekx/netcode
c46fef1eeb33ad029d0c262d39309dfa83f76c4d
[ "MIT" ]
null
null
null
NetcodeAssetEditor/DC_Vector2Control.cpp
tyekx/netcode
c46fef1eeb33ad029d0c262d39309dfa83f76c4d
[ "MIT" ]
null
null
null
NetcodeAssetEditor/DC_Vector2Control.cpp
tyekx/netcode
c46fef1eeb33ad029d0c262d39309dfa83f76c4d
[ "MIT" ]
null
null
null
#include "pch.h" #include "DC_Vector2Control.h" #include "DC_Vector2Control.g.cpp" namespace winrt::NetcodeAssetEditor::implementation { Windows::Foundation::Numerics::float2 DC_Vector2Control::VectorValue() { return vectorValue; } void DC_Vector2Control::VectorValue(Windows::Foundation::Numeri...
33.307692
127
0.687067
tyekx
5b281f3472eb9cebd1f6ad419c7bbc62fb37d689
5,475
hpp
C++
src/crypto/key/LegacySymmetric.hpp
nopdotcom/opentxs
140428ba8f1bd4c09654ebf0a1c1725f396efa8b
[ "MIT" ]
null
null
null
src/crypto/key/LegacySymmetric.hpp
nopdotcom/opentxs
140428ba8f1bd4c09654ebf0a1c1725f396efa8b
[ "MIT" ]
null
null
null
src/crypto/key/LegacySymmetric.hpp
nopdotcom/opentxs
140428ba8f1bd4c09654ebf0a1c1725f396efa8b
[ "MIT" ]
null
null
null
// Copyright (c) 2018 The Open-Transactions developers // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. #pragma once #include "Internal.hpp" namespace opentxs::cryp...
43.452381
80
0.704475
nopdotcom
5b317c269b3c0fe5703879544fedfb489a9aa141
7,040
cpp
C++
renderer/LineRenderer.cpp
chunmingchen/OSUFlow
6a5bbb15a43b7f66b58e51705b946f728e98961b
[ "mpich2" ]
7
2019-03-03T18:27:13.000Z
2021-12-12T07:39:07.000Z
renderer/LineRenderer.cpp
chunmingchen/OSUFlow
6a5bbb15a43b7f66b58e51705b946f728e98961b
[ "mpich2" ]
null
null
null
renderer/LineRenderer.cpp
chunmingchen/OSUFlow
6a5bbb15a43b7f66b58e51705b946f728e98961b
[ "mpich2" ]
7
2015-01-27T04:26:42.000Z
2020-06-18T21:29:14.000Z
/* Created by Abon Chaudhuri and Teng-Yok Lee (The Ohio State University) May, 2010 */ #include "LineRenderer.h" // ADD-BY-LEETEN 01/19/2011-BEGIN void CLineRenderer::_CheckTrace ( int iTrace, bool& bIsDrawingTrace ) { bIsDrawingTrace = true; } void CLineRenderer::_GetTraceColor ( int iTrace, float& fR, ...
19.887006
103
0.686364
chunmingchen
5b36ed4557ec43607179ff0d10f118d798b8b19f
12,529
cpp
C++
source/Irrlicht/IDriver.cpp
Crisspl/Nabla
8e2ff2551113b2837513b188a8f16ef70adc9f81
[ "Apache-2.0" ]
null
null
null
source/Irrlicht/IDriver.cpp
Crisspl/Nabla
8e2ff2551113b2837513b188a8f16ef70adc9f81
[ "Apache-2.0" ]
2
2021-04-28T21:42:36.000Z
2021-06-02T22:52:33.000Z
source/Irrlicht/IDriver.cpp
Crisspl/Nabla
8e2ff2551113b2837513b188a8f16ef70adc9f81
[ "Apache-2.0" ]
1
2021-05-31T20:33:28.000Z
2021-05-31T20:33:28.000Z
#include "IDriver.h" #include "IrrlichtDevice.h" #include "irr/asset/IAssetManager.h" #include "irr/video/IGPUObjectFromAssetConverter.h" namespace irr { namespace video { template<class AssetType> struct AssetBundleIterator { using iterator_category = std::random_access_iterator_tag; using differenc...
92.807407
339
0.817623
Crisspl
5b39d89244c907ad5ad15a81fc19d1b8db4f69e8
1,785
cpp
C++
qpcol/searchprovider/tube8/tube8.cpp
quntax/qpcol
290e2f0639eaee12fe6190070b3e2c38a8fd1ea7
[ "BSD-3-Clause" ]
null
null
null
qpcol/searchprovider/tube8/tube8.cpp
quntax/qpcol
290e2f0639eaee12fe6190070b3e2c38a8fd1ea7
[ "BSD-3-Clause" ]
null
null
null
qpcol/searchprovider/tube8/tube8.cpp
quntax/qpcol
290e2f0639eaee12fe6190070b3e2c38a8fd1ea7
[ "BSD-3-Clause" ]
null
null
null
#include "tube8.h" QWebElementCollection Tube8::parse() { return webPage->mainFrame()->findAllElements("div.thumb-wrapper"); } void Tube8::extract(const QWebElement &element) { page = element.findFirst("div.video-cont-wrapper").previousSibling().findFirst("a").attribute("href"); thumbnail = element.findFi...
27.045455
134
0.680112
quntax
5b45ca1abbd7b20266ae3156d15b97d5baa52a5c
2,685
cxx
C++
vtkALBA/vtkImageUnPacker.cxx
IOR-BIC/ALBA
b574968b05d9a3a2756dd2ac61d015a0d20232a4
[ "Apache-2.0", "BSD-3-Clause" ]
9
2018-11-19T10:15:29.000Z
2021-08-30T11:52:07.000Z
vtkALBA/vtkImageUnPacker.cxx
IOR-BIC/ALBA
b574968b05d9a3a2756dd2ac61d015a0d20232a4
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
vtkALBA/vtkImageUnPacker.cxx
IOR-BIC/ALBA
b574968b05d9a3a2756dd2ac61d015a0d20232a4
[ "Apache-2.0", "BSD-3-Clause" ]
3
2018-06-10T22:56:29.000Z
2019-12-12T06:22:56.000Z
/*========================================================================= Program: Visualization Toolkit Module: vtkImageUnPacker.cxx Language: C++ Date: 03/1999 Version: Credits: This class has been developed by Marco Petrone =============================================================...
33.5625
78
0.476723
IOR-BIC
5b4dd46c9f7baa69b1c023f655f231bf35a9ce0d
3,691
hpp
C++
include/LightBulb/Learning/Supervised/GradientDescentAlgorithms/ResilientLearningRate.hpp
domin1101/ANNHelper
50acb5746d6dad6777532e4c7da4983a7683efe0
[ "Zlib" ]
5
2016-02-04T06:14:42.000Z
2017-02-06T02:21:43.000Z
include/LightBulb/Learning/Supervised/GradientDescentAlgorithms/ResilientLearningRate.hpp
domin1101/ANNHelper
50acb5746d6dad6777532e4c7da4983a7683efe0
[ "Zlib" ]
41
2015-04-15T21:05:45.000Z
2015-07-09T12:59:02.000Z
include/LightBulb/Learning/Supervised/GradientDescentAlgorithms/ResilientLearningRate.hpp
domin1101/LightBulb
50acb5746d6dad6777532e4c7da4983a7683efe0
[ "Zlib" ]
null
null
null
#pragma once #ifndef _RESILIENTLEARNINGRATE_H_ #define _RESILIENTLEARNINGRATE_H_ // Library Includes #include <vector> // Includes #include "LightBulb/Learning/Supervised/GradientDescentAlgorithms/AbstractGradientDescentAlgorithm.hpp" #include "LightBulb/LinearAlgebra/Matrix.hpp" namespace LightBulb { /** * \brie...
32.663717
156
0.756164
domin1101
5b502f0e81fd24314b2cd516dfc29d68f600eab5
557
hpp
C++
poc/tstasyncpc/protocol.hpp
upenn-acg/barracuda
db2549b62593934d81e3e8141302dd344f85a407
[ "BSD-3-Clause" ]
3
2020-05-08T04:37:48.000Z
2021-01-31T15:57:15.000Z
poc/tstasyncpc/protocol.hpp
upenn-acg/barracuda
db2549b62593934d81e3e8141302dd344f85a407
[ "BSD-3-Clause" ]
1
2020-11-22T18:24:12.000Z
2020-11-22T18:24:12.000Z
poc/tstasyncpc/protocol.hpp
upenn-acg/barracuda
db2549b62593934d81e3e8141302dd344f85a407
[ "BSD-3-Clause" ]
2
2019-12-04T05:43:51.000Z
2019-12-04T07:57:31.000Z
#pragma once static const int WARP_SIZE = 32; enum PROTO_OP { OP_UNKNOWN = 0, OP_READ = 1, OP_WRITE = 2, OP_ATOMIC_WRITE = 3, OP_ATOMIC_READWRITE = 4, OP_SYNCTHREADS = 5, PROTO_OP_MAX }; struct PCRecord { unsigned short warp_id; unsig...
16.878788
32
0.605027
upenn-acg
5b55bc636692d68995b6afe80b83c33e4b49b489
474
hpp
C++
test/doctest.hpp
soundandform/epigram
f4f560b405e529e84ffd4e8a0b1101bf57148b90
[ "MIT" ]
3
2018-02-16T04:30:22.000Z
2021-03-26T02:06:51.000Z
test/doctest.hpp
soundandform/epigram
f4f560b405e529e84ffd4e8a0b1101bf57148b90
[ "MIT" ]
null
null
null
test/doctest.hpp
soundandform/epigram
f4f560b405e529e84ffd4e8a0b1101bf57148b90
[ "MIT" ]
null
null
null
#ifndef __doctest_hpp # include <doctest/doctest.h> # define test_suite(NAME) TEST_SUITE(#NAME) # define doctest(NAME) TEST_CASE(NAME) # define doctest_disabled__(LINE) void DisabledTest##LINE () # define doctest_disabled_(LINE) doctest_disabled__(LINE) # define doctest_disabled(NAME) doctest_disabled_(__LINE__) # d...
23.7
60
0.776371
soundandform
5b561c4ebca2a35d0031a6b1460248730e17e83e
4,209
hpp
C++
src/engine/object/bounding_box/bounding_box.hpp
aldermann/sdl-space-shooter
95313997522cde4f64a1a504e2d3da66a5be9612
[ "MIT" ]
1
2020-05-18T14:09:11.000Z
2020-05-18T14:09:11.000Z
src/engine/object/bounding_box/bounding_box.hpp
aldermann/sdl-space-shooter
95313997522cde4f64a1a504e2d3da66a5be9612
[ "MIT" ]
null
null
null
src/engine/object/bounding_box/bounding_box.hpp
aldermann/sdl-space-shooter
95313997522cde4f64a1a504e2d3da66a5be9612
[ "MIT" ]
null
null
null
// // Created by Trần Công Việt An on 2/5/20. // #pragma once #include "engine/geometry/geometry.hpp" #include "engine/render/renderer.hpp" namespace BoundingBox { enum Shape { Rectangle, Circle }; class CircleBox; class RectangleBox; class Box { public: virtual ~Box(); virtual Shape getShape() = ...
43.84375
87
0.554526
aldermann
5b5dc180041aaa30c35f225207a51490023086b4
145
cpp
C++
Decorator/Decorator.cpp
zxc6419/design_patterns_exercise
56239df3057ecb752228598dec6ddc912a2bbdaf
[ "MIT" ]
1
2018-10-12T08:41:06.000Z
2018-10-12T08:41:06.000Z
Decorator/Decorator.cpp
zxc6419/design_patterns_exercise
56239df3057ecb752228598dec6ddc912a2bbdaf
[ "MIT" ]
1
2018-10-16T01:43:57.000Z
2018-10-16T01:43:57.000Z
Decorator/Decorator.cpp
zxc6419/design_patterns_exercise
56239df3057ecb752228598dec6ddc912a2bbdaf
[ "MIT" ]
null
null
null
#include "Decorator.h" Decorator::Decorator(IComponent* comp) : comp_(comp) { } void Decorator::operation() { comp_->operation(); }
9.666667
38
0.648276
zxc6419