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
f4c2a956aa51f6dd812293ce194bd5222e054dc3
356
cpp
C++
_cpp_samples/template/template-function.cpp
b1tank/leetcode
0b71eb7a4f52291ff072b1280d6b76e68f7adfee
[ "MIT" ]
null
null
null
_cpp_samples/template/template-function.cpp
b1tank/leetcode
0b71eb7a4f52291ff072b1280d6b76e68f7adfee
[ "MIT" ]
4
2020-09-26T01:04:01.000Z
2022-02-10T01:58:28.000Z
_cpp_samples/template/template-function.cpp
b1tank/leetcode
0b71eb7a4f52291ff072b1280d6b76e68f7adfee
[ "MIT" ]
null
null
null
// template-function.cpp by Bill Weinman <http://bw.org/> // updated 2018-08-18 #include <iostream> #include <string> using namespace std; template <typename T> T maxof ( const T & a, const T & b ) { return ( a > b ? a : b ); } int main() { int a = 7; int b = 9; cout << "max is " << maxof<int>( a...
17.8
57
0.547753
b1tank
f4c725eb10a8d9a2b452fff890ab43e360b0d327
1,198
cpp
C++
cpp/godot-cpp/src/gen/VisualScriptEditor.cpp
GDNative-Gradle/proof-of-concept
162f467430760cf959f68f1638adc663fd05c5fd
[ "MIT" ]
1
2021-03-16T09:51:00.000Z
2021-03-16T09:51:00.000Z
cpp/godot-cpp/src/gen/VisualScriptEditor.cpp
GDNative-Gradle/proof-of-concept
162f467430760cf959f68f1638adc663fd05c5fd
[ "MIT" ]
null
null
null
cpp/godot-cpp/src/gen/VisualScriptEditor.cpp
GDNative-Gradle/proof-of-concept
162f467430760cf959f68f1638adc663fd05c5fd
[ "MIT" ]
null
null
null
#include "VisualScriptEditor.hpp" #include <core/GodotGlobal.hpp> #include <core/CoreTypes.hpp> #include <core/Ref.hpp> #include <core/Godot.hpp> #include "__icalls.hpp" #include "Script.hpp" namespace godot { VisualScriptEditor *VisualScriptEditor::_singleton = NULL; VisualScriptEditor::VisualScriptEditor()...
29.219512
121
0.796327
GDNative-Gradle
f4c8271e879c5214b312d17b78e9a5564988ff60
513
cpp
C++
Guia 5/9. Manager.cpp
DBFritz/IB_Cpp
2a160266f4c3f1b20c2221aa8d84a6788d7c3ad7
[ "MIT" ]
null
null
null
Guia 5/9. Manager.cpp
DBFritz/IB_Cpp
2a160266f4c3f1b20c2221aa8d84a6788d7c3ad7
[ "MIT" ]
null
null
null
Guia 5/9. Manager.cpp
DBFritz/IB_Cpp
2a160266f4c3f1b20c2221aa8d84a6788d7c3ad7
[ "MIT" ]
null
null
null
#include <iostream> class Manager{ int id ; Manager(int ID = 0) : id(ID) { std::cout << "Soy el Manager, y vengo a construirme" << std::endl; } Manager() : Manager(0) {} public: static Manager *getInstance(int ID=0){ return new Manager(ID); } int getID() { return id; } }; ...
20.52
74
0.580897
DBFritz
f4ca2255e1816a58679d5ce1197efbb768d9bff8
490
cpp
C++
src/Model/Ray.cpp
MarcTr/Raytracer
c1b72a3bc7e51e6f54942513908e96ed97966a13
[ "MIT" ]
null
null
null
src/Model/Ray.cpp
MarcTr/Raytracer
c1b72a3bc7e51e6f54942513908e96ed97966a13
[ "MIT" ]
null
null
null
src/Model/Ray.cpp
MarcTr/Raytracer
c1b72a3bc7e51e6f54942513908e96ed97966a13
[ "MIT" ]
null
null
null
#include "../Utility/stdafx.h" #include "Ray.h" using namespace Model; Ray::Ray() { } Ray::Ray(Vector3 _origin, Vector3 _direction) : origin(_origin), direction(_direction) { } Vector3 Ray::getNewPosition(double t) { return origin.add(direction.multiply(t)); } void Ray::setOrigin(Vector3 _origin){ origin = _orig...
19.6
69
0.726531
MarcTr
f4ca5e54720a54506fdb69d5a4d755a1aed6812b
1,109
cpp
C++
C++/20.valid-parentheses.cpp
WilliamZhaoz/github
2aa0eb17e272249fc225cf2e9861c4c44bd0e265
[ "MIT" ]
1
2018-03-06T05:07:22.000Z
2018-03-06T05:07:22.000Z
C++/20.valid-parentheses.cpp
WilliamZhaoz/github
2aa0eb17e272249fc225cf2e9861c4c44bd0e265
[ "MIT" ]
1
2021-12-24T16:41:02.000Z
2021-12-24T16:41:02.000Z
C++/20.valid-parentheses.cpp
WilliamZhaoz/github
2aa0eb17e272249fc225cf2e9861c4c44bd0e265
[ "MIT" ]
null
null
null
/* class Solution { public: bool isValid(string s) { stack<char> ms; for (int i = 0; i < s.size(); i++) { if (ms.empty()) { ms.push(s[i]); continue; } if ((ms.top() == '(' && s[i] == ')') || (ms.top() == '[' && s[i] == ']') || (ms.t...
29.972973
123
0.355275
WilliamZhaoz
f4d138d53746351309e33fa9b9d523a3af0b07aa
1,515
cpp
C++
brute_force/backtracking/uva/F208/Solution.cpp
Reshad-Hasan/problem_solving
1ef4c83fb329b5b51af9fa357db5bd39b537a9ea
[ "MIT" ]
17
2020-11-12T17:41:41.000Z
2021-10-01T13:19:42.000Z
brute_force/backtracking/uva/F208/Solution.cpp
Reshad-Hasan/problem_solving
1ef4c83fb329b5b51af9fa357db5bd39b537a9ea
[ "MIT" ]
15
2019-09-23T06:33:47.000Z
2020-06-04T18:55:45.000Z
brute_force/backtracking/uva/F208/Solution.cpp
Reshad-Hasan/problem_solving
1ef4c83fb329b5b51af9fa357db5bd39b537a9ea
[ "MIT" ]
16
2019-09-21T23:19:58.000Z
2020-06-18T07:26:39.000Z
// problem name: Firetruck // problem link: http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=24&page=show_problem&problem=144 // contest link: (?) // time: (?) // author: reyad #include <bits/stdc++.h> using namespace std; int x, cnt, top; int g[32][32], st[32], qu[32], instac...
19.423077
128
0.451485
Reshad-Hasan
f4d4836e01865f6461b07df7c481c28a648ff4c0
2,406
cpp
C++
source/rigid/box2d/DebugDraw.cpp
xzrunner/uniphysics
190175cabae92ed32404ba4e16536a63d0597677
[ "MIT" ]
null
null
null
source/rigid/box2d/DebugDraw.cpp
xzrunner/uniphysics
190175cabae92ed32404ba4e16536a63d0597677
[ "MIT" ]
null
null
null
source/rigid/box2d/DebugDraw.cpp
xzrunner/uniphysics
190175cabae92ed32404ba4e16536a63d0597677
[ "MIT" ]
null
null
null
#include "uniphysics/rigid/box2d/DebugDraw.h" #include "uniphysics/rigid/box2d/config.h" namespace up { namespace rigid { namespace box2d { DebugDraw::DebugDraw() { uint32 flags = 0; flags += b2Draw::e_shapeBit; flags += b2Draw::e_jointBit; SetFlags(flags); } void DebugDraw::DrawPolygon(const b2Vec2* vertices, i...
27.340909
128
0.713633
xzrunner
f4d63a1f1b25804ed7a403be2f47dc9b7e1f6182
3,441
cpp
C++
tutoriat-02-constructori/Vector.cpp
Tutoring-OOP-RM/Tutoring-OOP
f8709acbbe4a0fc0f869d95e3666c15f0332ddb8
[ "MIT" ]
4
2021-03-11T09:34:07.000Z
2021-03-11T16:11:34.000Z
tutoriat-02-constructori/Vector.cpp
Tutoring-OOP-RM/Tutoring-OOP
f8709acbbe4a0fc0f869d95e3666c15f0332ddb8
[ "MIT" ]
null
null
null
tutoriat-02-constructori/Vector.cpp
Tutoring-OOP-RM/Tutoring-OOP
f8709acbbe4a0fc0f869d95e3666c15f0332ddb8
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <vector> using namespace std; class Vector { size_t len; std::vector<int*> arr; public: Vector(): len(0) {} Vector(const std::vector<int> v): len(v.size()) { for (auto& it : v) arr.emplace_back(new int(it)); // comparativ cu push_back...
22.490196
115
0.461494
Tutoring-OOP-RM
f4dbe85edcd4c53b65b8f22154eae307fc2925b6
838
cpp
C++
src/BotCM/BotCM.cpp
PiotrBatko/Gomoku
05b2e51147378787530b4647beebff5d02b19efe
[ "Unlicense" ]
null
null
null
src/BotCM/BotCM.cpp
PiotrBatko/Gomoku
05b2e51147378787530b4647beebff5d02b19efe
[ "Unlicense" ]
null
null
null
src/BotCM/BotCM.cpp
PiotrBatko/Gomoku
05b2e51147378787530b4647beebff5d02b19efe
[ "Unlicense" ]
null
null
null
#include "BotCM.hpp" #include <stdexcept> #include "../Board.hpp" #include "../Random.hpp" #include "../DebugInfo.hpp" #include "AllocationCounter.hpp" namespace CM { BotCM::BotCM(const Board* const gameBoard, const PlayerType playerType, const PawnColor playerColor): Player(gameBoard, playerType, playerColor)...
22.052632
101
0.704057
PiotrBatko
f4dc99134e944adfb59ad3651c5ad930ba722db0
1,515
cpp
C++
3Sum.cpp
liuslevis/leetcode
3447b338cd4efc7d817e35e182dda3a53899b8c2
[ "MIT" ]
null
null
null
3Sum.cpp
liuslevis/leetcode
3447b338cd4efc7d817e35e182dda3a53899b8c2
[ "MIT" ]
null
null
null
3Sum.cpp
liuslevis/leetcode
3447b338cd4efc7d817e35e182dda3a53899b8c2
[ "MIT" ]
null
null
null
// REDO // 1hours TLE ass Solution { public: vector<vector<int>> threeSum(vector<int>& nums) { vector<vector<int>> res; if (nums.size() < 3) return res; sort(nums.begin(), nums.end()); for (int i = 0; i < nums.size() - 2; ++i) { int front = i + 1; int...
33.666667
82
0.428383
liuslevis
f4dd01c0226d94bce955175b42d6bfc616a1151a
7,162
cpp
C++
CarnozetApps/GitApps/of_interface/src/Ruban.cpp
MartinHN/Interface
81a99a5155e982524cc1ce6f553f358b4fd96043
[ "MIT" ]
1
2020-05-30T02:22:27.000Z
2020-05-30T02:22:27.000Z
CarnozetApps/GitApps/of_interface/src/Ruban.cpp
MartinHN/Interface
81a99a5155e982524cc1ce6f553f358b4fd96043
[ "MIT" ]
null
null
null
CarnozetApps/GitApps/of_interface/src/Ruban.cpp
MartinHN/Interface
81a99a5155e982524cc1ce6f553f358b4fd96043
[ "MIT" ]
null
null
null
// // Ruban.cpp // MursMurentDombres // // Created by Aurélien Conil on 16/08/13. // // #include "Ruban.h" Spring::Spring(){ } Spring::Spring(float xpos, float ypos, float m, float g, float i, float s) { x = xpos; y = ypos; mass = m; gravity = g; initialSize = i; stiffness = s; ra...
20.288952
91
0.502374
MartinHN
f4dd0b2ebe0ce1296e1d719a1f28f8e8e6d7bd4c
3,302
cc
C++
src/api_tests/end_get_api_test.cc
krockot/ipcz
6a6ebe43c2cb86882b0df9bf888dc5d34037f015
[ "BSD-3-Clause" ]
null
null
null
src/api_tests/end_get_api_test.cc
krockot/ipcz
6a6ebe43c2cb86882b0df9bf888dc5d34037f015
[ "BSD-3-Clause" ]
null
null
null
src/api_tests/end_get_api_test.cc
krockot/ipcz
6a6ebe43c2cb86882b0df9bf888dc5d34037f015
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2022 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ipcz/ipcz.h" #include "test/api_test.h" #include "testing/gtest/include/gtest/gtest.h" namespace ipcz { namespace { using EndGetAPITest = test...
32.058252
79
0.652938
krockot
f4dfc008956755a10591711db4f06b7cc731b39f
18,186
cpp
C++
src/stereo_camera.cpp
pmusau17/avt_vimba_camera
eecb41e58ee46057733f6e150294dfd02531dbef
[ "Apache-2.0" ]
3
2020-08-13T14:24:09.000Z
2021-06-28T09:54:52.000Z
src/stereo_camera.cpp
pmusau17/avt_vimba_camera
eecb41e58ee46057733f6e150294dfd02531dbef
[ "Apache-2.0" ]
30
2020-04-22T14:27:41.000Z
2022-02-08T05:26:58.000Z
src/stereo_camera.cpp
pmusau17/avt_vimba_camera
eecb41e58ee46057733f6e150294dfd02531dbef
[ "Apache-2.0" ]
2
2021-05-25T22:21:06.000Z
2021-06-28T20:32:09.000Z
/// Copyright (c) 2014, /// Systems, Robotics and Vision Group /// University of the Balearic Islands /// 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 co...
40.867416
193
0.717255
pmusau17
f4e205688997c0179510eeebec53e04a55513ac9
29,764
cpp
C++
FindSecret/Classes/Native/Bulk_DOTween43_0.cpp
GodIsWord/NewFindSecret
4f98f316d29936380f9665d6a6d89962d9ee5478
[ "MIT" ]
null
null
null
FindSecret/Classes/Native/Bulk_DOTween43_0.cpp
GodIsWord/NewFindSecret
4f98f316d29936380f9665d6a6d89962d9ee5478
[ "MIT" ]
null
null
null
FindSecret/Classes/Native/Bulk_DOTween43_0.cpp
GodIsWord/NewFindSecret
4f98f316d29936380f9665d6a6d89962d9ee5478
[ "MIT" ]
null
null
null
#include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <cstring> #include <string.h> #include <stdio.h> #include <cmath> #include <limits> #include <assert.h> #include "class-internals.h" #include "codegen/il2cpp-codegen.h" #include "mscorlib_Syst...
67.799544
378
0.824889
GodIsWord
f4e3f28a132adcab6b7239d8e13fb587bfe3e0ba
332
cc
C++
src/posix++/group.cc
respu/libposix
27681383e5d3e19687d7fba23d97166beeeece13
[ "Unlicense" ]
2
2015-11-05T09:08:04.000Z
2016-02-09T23:26:00.000Z
src/posix++/group.cc
yggchan/libposix
27681383e5d3e19687d7fba23d97166beeeece13
[ "Unlicense" ]
null
null
null
src/posix++/group.cc
yggchan/libposix
27681383e5d3e19687d7fba23d97166beeeece13
[ "Unlicense" ]
null
null
null
/* This is free and unencumbered software released into the public domain. */ #ifdef HAVE_CONFIG_H #include <config.h> #endif #include "group.h" #include "error.h" #include <cassert> /* for assert() */ #include <cerrno> /* for errno */ #include <grp.h> /* for getgrnam(), getgrgid() */ using names...
20.75
77
0.650602
respu
f4f2246f28d548593f8264ff93f433e8e32d232d
214
hpp
C++
include/glossy/default_scene.hpp
Fytch/Glossy
d3ee076e317d2e26da038c737c7ca02945c98325
[ "MIT" ]
null
null
null
include/glossy/default_scene.hpp
Fytch/Glossy
d3ee076e317d2e26da038c737c7ca02945c98325
[ "MIT" ]
null
null
null
include/glossy/default_scene.hpp
Fytch/Glossy
d3ee076e317d2e26da038c737c7ca02945c98325
[ "MIT" ]
null
null
null
#ifndef glossy_default_scene_hpp_included #define glossy_default_scene_hpp_included #include <sstream> namespace glossy { extern std::istringstream default_scene; } #endif // !glossy_default_scene_hpp_included
19.454545
44
0.841121
Fytch
f4fa149bffe4dd6f2321dd41108611e23abe8a4d
2,336
cpp
C++
graph/weighted_graph/test.cpp
fedom/Algorithms
94f9c80c7425d4739be8fb67292deb6b8bb78cc2
[ "MIT" ]
null
null
null
graph/weighted_graph/test.cpp
fedom/Algorithms
94f9c80c7425d4739be8fb67292deb6b8bb78cc2
[ "MIT" ]
null
null
null
graph/weighted_graph/test.cpp
fedom/Algorithms
94f9c80c7425d4739be8fb67292deb6b8bb78cc2
[ "MIT" ]
null
null
null
#include "weighted_graph.h" #include "lazy_prim_mst.h" #include "prim_mst.h" #include "kruskal_mst.h" #include <iostream> #include <set> #include <utility> using namespace graph; static void TestGraph(WeightedGraph &graph) { std::cout << "graph edge count :" << graph.E() << std::endl; graph.Print("tinyEWG.txt...
22.901961
71
0.574058
fedom
f4febdc647530e71955bc3f6e708004432d2b100
192
cpp
C++
cpp/pos.cpp
nilern/brmh
db69e8ae0303eca6311db6871cace84517bd1124
[ "MIT" ]
1
2021-12-27T12:39:37.000Z
2021-12-27T12:39:37.000Z
cpp/pos.cpp
nilern/brmh
db69e8ae0303eca6311db6871cace84517bd1124
[ "MIT" ]
null
null
null
cpp/pos.cpp
nilern/brmh
db69e8ae0303eca6311db6871cace84517bd1124
[ "MIT" ]
null
null
null
#include "pos.hpp" #include "filename.hpp" namespace brmh { void Pos::print(std::ostream& out) const { out << filename.c_str() << " @ " << line << ':' << column; } } // namespace brmh
16
62
0.588542
nilern
7605b3622007209af1b85f3ea1e0f888e0595a66
2,617
cpp
C++
Factory/src/pizza/pizza.cpp
bergolho1337/Design-Patterns
aa5335eadd0d0142870c8b52726b5c14fce3069c
[ "MIT" ]
null
null
null
Factory/src/pizza/pizza.cpp
bergolho1337/Design-Patterns
aa5335eadd0d0142870c8b52726b5c14fce3069c
[ "MIT" ]
null
null
null
Factory/src/pizza/pizza.cpp
bergolho1337/Design-Patterns
aa5335eadd0d0142870c8b52726b5c14fce3069c
[ "MIT" ]
null
null
null
#include "pizza.h" void Pizza::bake () { std::cout << "Bake for 25 minutes at 350" << std::endl; } void Pizza::cut () { std::cout << "Cutting the pizza into diagonal slices" << std::endl; } void Pizza::box () { std::cout << "Place pizza in official PizzaStore box" << std::endl; } CheesePizza::CheesePizz...
19.529851
102
0.654566
bergolho1337
760a831d9171a01bd3b1a1305ed077d7bd255d63
562
cxx
C++
sample/test/binarytest.cxx
lwang-astro/ARModule
cebf0a9cbd17111c6917e1120452bb9f661e33b0
[ "MIT" ]
2
2020-02-24T18:52:09.000Z
2021-01-30T14:44:56.000Z
sample/test/binarytest.cxx
lwang-astro/ARModule
cebf0a9cbd17111c6917e1120452bb9f661e33b0
[ "MIT" ]
null
null
null
sample/test/binarytest.cxx
lwang-astro/ARModule
cebf0a9cbd17111c6917e1120452bb9f661e33b0
[ "MIT" ]
null
null
null
#include <iostream> #include <cassert> #define ASSERT(expr) assert(expr) #include "Common/binary_tree.h" int main(int argc, char **argv) { COMM::Binary bin; bin.period = 0.00002737925; bin.ecc = 0.0; bin.m1 = 0.4; bin.m2 = 110.0; Float G = 0.00449830997959438; bin.calcSemiFromPeriod(G)...
21.615385
68
0.619217
lwang-astro
760d6cbdc872f50ce57fd3fde88e0d900a8d58c0
1,328
cpp
C++
Code/ESP32/OBDShiftIndicatorFirmware/src/CWifiTask.cpp
janmannsbart23/OBDShiftIndicator
2eb1664f51a12ce5074fd6b46cb9c2294a6b8db7
[ "MIT" ]
9
2020-05-18T21:06:30.000Z
2021-12-26T22:18:33.000Z
Code/ESP32/OBDShiftIndicatorFirmware/src/CWifiTask.cpp
janmannsbart23/OBDShiftIndicator
2eb1664f51a12ce5074fd6b46cb9c2294a6b8db7
[ "MIT" ]
null
null
null
Code/ESP32/OBDShiftIndicatorFirmware/src/CWifiTask.cpp
janmannsbart23/OBDShiftIndicator
2eb1664f51a12ce5074fd6b46cb9c2294a6b8db7
[ "MIT" ]
null
null
null
#include "CWifiTask.hpp" #include "DConfig.hpp" #include "CDataPool.hpp" #include "EPINDefines.h" #include <ArduinoOTA.h> #include <EEPROM.h> #include "CWifiCredentials.hpp" CWifiTask::CWifiTask() { } CWifiTask::~CWifiTask() { } void CWifiTask::StartTask() { xTaskCreatePinnedToCore(this->StartTaskImpl, "Wifi Websi...
17.246753
143
0.649849
janmannsbart23
761027ecd333c88444959f094ef9c9387bb2da45
2,665
cc
C++
build/x86/dev/DiskImage.py.cc
billionshang/gem5
18cc4294f32315595f865d07d1f33434e92b06b2
[ "BSD-3-Clause" ]
null
null
null
build/x86/dev/DiskImage.py.cc
billionshang/gem5
18cc4294f32315595f865d07d1f33434e92b06b2
[ "BSD-3-Clause" ]
null
null
null
build/x86/dev/DiskImage.py.cc
billionshang/gem5
18cc4294f32315595f865d07d1f33434e92b06b2
[ "BSD-3-Clause" ]
null
null
null
#include "sim/init.hh" namespace { const uint8_t data_m5_objects_DiskImage[] = { 120,156,181,84,75,111,211,64,16,158,77,156,135,147,136,132, 10,245,134,240,9,89,149,18,67,81,14,8,132,80,169,64, 189,0,114,122,33,23,227,216,155,120,131,31,145,119,11,13, 215,240,191,97,102,156,132,2,205,141,250,177,218,2...
48.454545
75
0.668668
billionshang
76105fdde4c45476765de23caf35602b91e9cef8
4,076
cpp
C++
YorozuyaGSLib/source/CUnmannedTraderScheduler.cpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
YorozuyaGSLib/source/CUnmannedTraderScheduler.cpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
YorozuyaGSLib/source/CUnmannedTraderScheduler.cpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
44
2017-12-19T08:02:59.000Z
2022-02-24T23:15:01.000Z
#include <CUnmannedTraderScheduler.hpp> START_ATF_NAMESPACE CUnmannedTraderScheduler::CUnmannedTraderScheduler() { using org_ptr = void (WINAPIV*)(struct CUnmannedTraderScheduler*); (org_ptr(0x140393120L))(this); }; void CUnmannedTraderScheduler::ctor_CUnmannedTraderScheduler() { ...
40.356436
186
0.689156
lemkova
76130940d517040675e4129a42066f849140c484
20,472
cpp
C++
libff/algebra/fields/tests/test_fields.cpp
clearmatics/libff
5f9a4bdd9bea61036b57cfe972354fc97c497457
[ "MIT" ]
1
2021-03-23T15:22:05.000Z
2021-03-23T15:22:05.000Z
libff/algebra/fields/tests/test_fields.cpp
clearmatics/libff
5f9a4bdd9bea61036b57cfe972354fc97c497457
[ "MIT" ]
46
2019-08-22T07:48:22.000Z
2022-03-24T16:57:18.000Z
libff/algebra/fields/tests/test_fields.cpp
clearmatics/libff
5f9a4bdd9bea61036b57cfe972354fc97c497457
[ "MIT" ]
1
2021-08-09T11:17:54.000Z
2021-08-09T11:17:54.000Z
/** ***************************************************************************** * @author This file is part of libff, developed by SCIPR Lab * and contributors (see AUTHORS). * @copyright MIT license (see LICENSE file) *****************************************************************************...
35.114923
80
0.60468
clearmatics
761684c6f634989027f24504f8418e6ff44b5de4
865
cc
C++
engine/core/nTypes.cc
ClayHanson/B4v21-Public-Repo
c812aa7bf2ecb267e02969c85f0c9c2a29be0d28
[ "MIT" ]
1
2020-08-18T19:45:34.000Z
2020-08-18T19:45:34.000Z
engine/core/nTypes.cc
ClayHanson/B4v21-Launcher-Public-Repo
c812aa7bf2ecb267e02969c85f0c9c2a29be0d28
[ "MIT" ]
null
null
null
engine/core/nTypes.cc
ClayHanson/B4v21-Launcher-Public-Repo
c812aa7bf2ecb267e02969c85f0c9c2a29be0d28
[ "MIT" ]
null
null
null
//----------------------------------------------------------------------------- // Torque Game Engine // Copyright (C) GarageGames.com, Inc. //----------------------------------------------------------------------------- #include "platform/platform.h" //-------------------------------------- U32 getNextPow2(U32 io_n...
21.097561
79
0.404624
ClayHanson
761ae71de37cd5e0dc3cbe5c5261347741101f3c
6,115
cc
C++
gltracesim/src/analyzer/schedular/z.cc
JRPan/gltracesim
79708f503047922538ca2983392c0e9f99a4345a
[ "BSD-3-Clause" ]
11
2018-06-12T01:38:52.000Z
2021-05-21T19:53:27.000Z
gltracesim/src/analyzer/schedular/z.cc
JRPan/gltracesim
79708f503047922538ca2983392c0e9f99a4345a
[ "BSD-3-Clause" ]
null
null
null
gltracesim/src/analyzer/schedular/z.cc
JRPan/gltracesim
79708f503047922538ca2983392c0e9f99a4345a
[ "BSD-3-Clause" ]
3
2019-03-31T15:00:50.000Z
2021-12-07T22:05:03.000Z
#include <cmath> #include "debug_impl.hh" #include "analyzer/trace_manager.hh" #include "analyzer/schedular/z.hh" namespace gltracesim { namespace analyzer { namespace schedular { ZSchedular::ZSchedular(const Json::Value &params) : Schedular(params), next_scene_id(0), next_frame_id(0) { // z_width = para...
23.610039
92
0.538839
JRPan
761aed3c24fe85014dcf9832c81a7cd34fceef65
32,642
cpp
C++
src/Microsoft.DotNet.Wpf/src/WpfGfx/core/common/3dutils.cpp
txlos/wpf
4004b4e8c8d5c0d5e9de0f1be1fd929c3dee6fa1
[ "MIT" ]
5,937
2018-12-04T16:32:50.000Z
2022-03-31T09:48:37.000Z
src/Microsoft.DotNet.Wpf/src/WpfGfx/core/common/3dutils.cpp
txlos/wpf
4004b4e8c8d5c0d5e9de0f1be1fd929c3dee6fa1
[ "MIT" ]
4,151
2018-12-04T16:38:19.000Z
2022-03-31T18:41:14.000Z
src/Microsoft.DotNet.Wpf/src/WpfGfx/core/common/3dutils.cpp
txlos/wpf
4004b4e8c8d5c0d5e9de0f1be1fd929c3dee6fa1
[ "MIT" ]
1,084
2018-12-04T16:24:21.000Z
2022-03-30T13:52:03.000Z
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. //------------------------------------------------------------------------------ // // // Description: // Co...
36.841986
144
0.570645
txlos
761c10f2006721d2e557e8ff256e76b3fe983601
3,303
cpp
C++
pde.cpp
FlorianSchirrer/fqs_pde1d
e322fb1f4145d301431d92463ce999be66ff1bbf
[ "BSD-3-Clause" ]
null
null
null
pde.cpp
FlorianSchirrer/fqs_pde1d
e322fb1f4145d301431d92463ce999be66ff1bbf
[ "BSD-3-Clause" ]
null
null
null
pde.cpp
FlorianSchirrer/fqs_pde1d
e322fb1f4145d301431d92463ce999be66ff1bbf
[ "BSD-3-Clause" ]
null
null
null
#ifndef pde_cpp #define pde_cpp #include "pde.hpp" #include <math.h> BS_PDE::BS_PDE() { option = NULL; right_boundary_type = "D"; left_boundary_type = "D"; }; BS_PDE::BS_PDE(VanillaOption* _option, const std::string& _left_boundary_type, const std::string& _right_boundary_type) : option(_option), left_boundary_t...
26.424
121
0.688768
FlorianSchirrer
7621070936c4e45356f8f76d4fcd79a544b81192
2,610
hxx
C++
opencascade/PCDM_Reader.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
opencascade/PCDM_Reader.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
opencascade/PCDM_Reader.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
// Created on: 1997-12-18 // Created by: Jean-Louis Frenkel // Copyright (c) 1997-1999 Matra Datavision // Copyright (c) 1999-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the...
30.348837
110
0.689272
mgreminger
7621e6526d4cd6594d4854eb07496d4cb952d97b
814
cpp
C++
algospot/concert/main.cpp
seirion/code
3b8bf79764107255185061cec33decbc2235d03a
[ "Apache-2.0" ]
13
2015-06-07T09:26:26.000Z
2019-05-01T13:23:38.000Z
algospot/concert/main.cpp
seirion/code
3b8bf79764107255185061cec33decbc2235d03a
[ "Apache-2.0" ]
null
null
null
algospot/concert/main.cpp
seirion/code
3b8bf79764107255185061cec33decbc2235d03a
[ "Apache-2.0" ]
4
2016-03-05T06:21:05.000Z
2017-02-17T15:34:18.000Z
// http://algospot.com/judge/problem/read/CONCERT #include <iostream> #include <set> using namespace std; int n; int vs; int vm; int v[50]; int solution; void getInput() { cin >> n >> vs >> vm; for (int i = 0; i < n; i++) cin >> v[i]; } void solve() { set<int> t1; set<int> t2; t1.insert(vs); ...
17.695652
60
0.457002
seirion
762a8514005e5a4b297fa0727cea09b60aabfa09
309
cpp
C++
66 fibonaccies series in c++.cpp
pujanmahat/c-oop-programme
8f48bf409e27dbf9c03c8b3cb0a7a7dcdbc0ee46
[ "Apache-2.0" ]
null
null
null
66 fibonaccies series in c++.cpp
pujanmahat/c-oop-programme
8f48bf409e27dbf9c03c8b3cb0a7a7dcdbc0ee46
[ "Apache-2.0" ]
null
null
null
66 fibonaccies series in c++.cpp
pujanmahat/c-oop-programme
8f48bf409e27dbf9c03c8b3cb0a7a7dcdbc0ee46
[ "Apache-2.0" ]
null
null
null
//wap to display the fibonaccies series (0 1 1 2 3 5 8 .....................n) #include<iostream> using namespace std; int main() { int a=0,b=1,c,i,n; cout<<"Enter any number "<<endl; cin>>n; cout<<a<<"\t"<<b<<"\t"; for(i=1;i<=n;i++) { c=a+b; cout<<c<<"\t"; a=b; b=c; } }
15.45
79
0.466019
pujanmahat
762d9d23a29750d84d0cfdced4310cdc87cfb92d
638
cpp
C++
Projects/CoX/Servers/MapServer/ScriptingEngine_Null.cpp
teronis84/Segs
71ac841a079fd769c3a45836ac60f34e4fff32b9
[ "BSD-3-Clause" ]
null
null
null
Projects/CoX/Servers/MapServer/ScriptingEngine_Null.cpp
teronis84/Segs
71ac841a079fd769c3a45836ac60f34e4fff32b9
[ "BSD-3-Clause" ]
null
null
null
Projects/CoX/Servers/MapServer/ScriptingEngine_Null.cpp
teronis84/Segs
71ac841a079fd769c3a45836ac60f34e4fff32b9
[ "BSD-3-Clause" ]
null
null
null
#include "ScriptingEngine.h" ScriptingEngine::ScriptingEngine() {} ScriptingEngine::~ScriptingEngine() {} void ScriptingEngine::registerTypes() {} int ScriptingEngine::runScript(const QString &script_contents, const char *script_name) {return -1;} int ScriptingEngine::runScript(MapClient * client, const QString &script...
63.8
120
0.775862
teronis84
762e2e06b47f8fe576fbdee50a99002db012292c
725
cpp
C++
src/lib/symmetric_cipher/ltc/ltc_symmetric_cipher.cpp
dyle71/hcs-crypt
18bab862dbb778b27a791cc5e1af5f7744e2518e
[ "MIT" ]
1
2020-11-17T18:03:21.000Z
2020-11-17T18:03:21.000Z
src/lib/symmetric_cipher/ltc/ltc_symmetric_cipher.cpp
dyle71/hcs-crypt
18bab862dbb778b27a791cc5e1af5f7744e2518e
[ "MIT" ]
null
null
null
src/lib/symmetric_cipher/ltc/ltc_symmetric_cipher.cpp
dyle71/hcs-crypt
18bab862dbb778b27a791cc5e1af5f7744e2518e
[ "MIT" ]
null
null
null
/* * This file is part of the headcode.space crypt. * * The 'LICENSE.txt' file in the project root holds the software license. * Copyright (C) 2020-2021 headcode.space e.U. * Oliver Maurhart <info@headcode.space>, https://www.headcode.space */ #include "ltc_symmetric_cipher.hpp" using namespace headcode::crypt;...
21.969697
81
0.691034
dyle71
76313811d72db9ed02a9a26bec0d43c948d455d1
4,449
hpp
C++
include/bg2e/db/json/grammar.hpp
ferserc1/bg2e-cpp
f3a04c5202161846b1329918c5070a2e930bec42
[ "MIT" ]
null
null
null
include/bg2e/db/json/grammar.hpp
ferserc1/bg2e-cpp
f3a04c5202161846b1329918c5070a2e930bec42
[ "MIT" ]
null
null
null
include/bg2e/db/json/grammar.hpp
ferserc1/bg2e-cpp
f3a04c5202161846b1329918c5070a2e930bec42
[ "MIT" ]
null
null
null
/* * bg2 engine license * Copyright (c) 2016 Fernando Serrano <ferserc1@gmail.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation th...
32.007194
86
0.719263
ferserc1
763351d043232fbf3cb9c24df0060f23d1327192
7,043
cpp
C++
src/engine/utils/src/maths/polygon.cpp
lye/halley
16b6c9783e4b21377f902a9d02366c1f19450a21
[ "Apache-2.0" ]
null
null
null
src/engine/utils/src/maths/polygon.cpp
lye/halley
16b6c9783e4b21377f902a9d02366c1f19450a21
[ "Apache-2.0" ]
null
null
null
src/engine/utils/src/maths/polygon.cpp
lye/halley
16b6c9783e4b21377f902a9d02366c1f19450a21
[ "Apache-2.0" ]
null
null
null
/*****************************************************************\ __ / / / / __ __ / /______ _______ / / / / ________ __ __ / ______ \ /_____ \ / / / / / _____ | / / / / / / | / _______| / / / / / / /____/ / / / / / / / / /...
24.625874
97
0.583842
lye
76362388de558dc83f05ebf7c9b909ecf1288819
4,770
cpp
C++
src/main.cpp
listener/mikuplayer
06b3fb9ffc13184086c5098cd50224c6c60d162f
[ "Unlicense" ]
17
2015-09-13T02:06:27.000Z
2017-09-22T06:39:26.000Z
src/main.cpp
xiaosumay/kuplayer
06b3fb9ffc13184086c5098cd50224c6c60d162f
[ "Unlicense" ]
null
null
null
src/main.cpp
xiaosumay/kuplayer
06b3fb9ffc13184086c5098cd50224c6c60d162f
[ "Unlicense" ]
2
2015-10-26T01:54:54.000Z
2016-01-16T08:24:45.000Z
/* Copyright (C) 2015 MeiZhaorui(Mason) <listener_mei@163.com> The File 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 option) any later ve...
30.974026
99
0.555765
listener
7639fb3fbb115be7729490e954243e32e7d0fdd7
413
hpp
C++
Part-I-The-Basics/Chapter-05-Tricky-Basics/basics/stack7assign.hpp
RingZEROtlf/Cpp-Templates-Complete-Guide
e5de63f89019b8d688a7807f88cb0d5f7028b345
[ "MIT" ]
null
null
null
Part-I-The-Basics/Chapter-05-Tricky-Basics/basics/stack7assign.hpp
RingZEROtlf/Cpp-Templates-Complete-Guide
e5de63f89019b8d688a7807f88cb0d5f7028b345
[ "MIT" ]
null
null
null
Part-I-The-Basics/Chapter-05-Tricky-Basics/basics/stack7assign.hpp
RingZEROtlf/Cpp-Templates-Complete-Guide
e5de63f89019b8d688a7807f88cb0d5f7028b345
[ "MIT" ]
null
null
null
#pragma once #include "stack7decl.hpp" template<typename T, typename Cont> template<typename T2, typename Cont2> Stack<T, Cont>& Stack<T, Cont>::operator=(Stack<T2, Cont2> const& op2) { elems.clear(); // remove existing elems.insert(elems.begin(), // insert at the beginning op...
27.533333
60
0.619855
RingZEROtlf
763d0a69433c8b6da7a4a0bdb75dca39e66d587e
9,065
cpp
C++
src/xray/editor/world/sources/property_holder_float.cpp
ixray-team/ixray-2.0
85c3a544175842323fc82f42efd96c66f0fc5abb
[ "Linux-OpenIB" ]
3
2021-10-30T09:36:14.000Z
2022-03-26T17:00:06.000Z
src/xray/editor/world/sources/property_holder_float.cpp
acidicMercury8/ixray-2.0
85c3a544175842323fc82f42efd96c66f0fc5abb
[ "Linux-OpenIB" ]
null
null
null
src/xray/editor/world/sources/property_holder_float.cpp
acidicMercury8/ixray-2.0
85c3a544175842323fc82f42efd96c66f0fc5abb
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:08.000Z
2022-03-26T17:00:08.000Z
//////////////////////////////////////////////////////////////////////////// // Created : 06.12.2007 // Author : Dmitriy Iassenev // Copyright (C) GSC Game World - 2009 //////////////////////////////////////////////////////////////////////////// #include "pch.h" #include "property_container.h" #include "prop...
25.041436
130
0.704026
ixray-team
763f7253411ba27e635a3cc7984dc19f4b38a12c
1,045
cpp
C++
YorozuyaGSLib/source/_user_num_report_wracDetail.cpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
YorozuyaGSLib/source/_user_num_report_wracDetail.cpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
YorozuyaGSLib/source/_user_num_report_wracDetail.cpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
44
2017-12-19T08:02:59.000Z
2022-02-24T23:15:01.000Z
#include <_user_num_report_wracDetail.hpp> #include <common/ATFCore.hpp> START_ATF_NAMESPACE namespace Detail { Info::_user_num_report_wracsize2_ptr _user_num_report_wracsize2_next(nullptr); Info::_user_num_report_wracsize2_clbk _user_num_report_wracsize2_user(nullptr); int _u...
37.321429
108
0.677512
lemkova
7642099cbfa56b5bf000cb352921c82ad568437d
7,375
cpp
C++
src/TpMMPD/TiePByMesh/ZBufferRaster/cImgZBuffer.cpp
peppsac/micmac
6c7810716d45a200495bfffa3da42aa1a23258fa
[ "CECILL-B" ]
1
2021-05-19T20:04:00.000Z
2021-05-19T20:04:00.000Z
src/TpMMPD/TiePByMesh/ZBufferRaster/cImgZBuffer.cpp
peppsac/micmac
6c7810716d45a200495bfffa3da42aa1a23258fa
[ "CECILL-B" ]
null
null
null
src/TpMMPD/TiePByMesh/ZBufferRaster/cImgZBuffer.cpp
peppsac/micmac
6c7810716d45a200495bfffa3da42aa1a23258fa
[ "CECILL-B" ]
1
2021-04-20T10:29:33.000Z
2021-04-20T10:29:33.000Z
#include "ZBufferRaster.h" cImgZBuffer::cImgZBuffer(cAppliZBufferRaster * anAppli ,const std::string & aNameIm, bool & aNoTif): mAppli (anAppli), mNameIm (aNameIm), mTif (Tiff_Im::UnivConvStd(mAppli->Dir() + aNameIm)), mSzIm (mTif.sz()), mCamGen (mAppli->ICNM()->StdCamGenerikOfName...
32.632743
119
0.503729
peppsac
765aa7067c18ae320f2aa55f79f4300a77fd8819
2,959
hpp
C++
agency/detail/index_tuple.hpp
nerikhman/agency
966ac59101f2fc3561a86b11874fbe8de361d0e4
[ "BSD-3-Clause" ]
129
2016-08-18T23:24:15.000Z
2022-03-25T12:06:05.000Z
agency/detail/index_tuple.hpp
nerikhman/agency
966ac59101f2fc3561a86b11874fbe8de361d0e4
[ "BSD-3-Clause" ]
86
2016-08-19T03:43:33.000Z
2020-07-20T14:27:41.000Z
agency/detail/index_tuple.hpp
nerikhman/agency
966ac59101f2fc3561a86b11874fbe8de361d0e4
[ "BSD-3-Clause" ]
23
2016-08-18T23:52:13.000Z
2022-02-28T16:28:20.000Z
#pragma once #include <agency/detail/config.hpp> #include <agency/tuple.hpp> #include <agency/detail/tuple/arithmetic_tuple_facade.hpp> #include <agency/detail/type_traits.hpp> #include <agency/detail/make_tuple_if.hpp> namespace agency { namespace detail { // index_tuple can't just be an alias for a particular ki...
23.117188
135
0.690098
nerikhman
765b88e085371d06440e520d2a0f7a579adaeee5
2,661
cc
C++
Codeforces/279 Division 2/Problem D/D.cc
VastoLorde95/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
170
2017-07-25T14:47:29.000Z
2022-01-26T19:16:31.000Z
Codeforces/279 Division 2/Problem D/D.cc
navodit15/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
null
null
null
Codeforces/279 Division 2/Problem D/D.cc
navodit15/Competitive-Programming
6c990656178fb0cd33354cbe5508164207012f24
[ "MIT" ]
55
2017-07-28T06:17:33.000Z
2021-10-31T03:06:22.000Z
#include<cstdio> #include<iostream> #include<cmath> #include<algorithm> #include<cstring> #include<map> #include<set> #include<vector> #include<utility> #include<queue> #include<stack> #define sd(x) scanf("%d",&x) #define sd2(x,y) scanf("%d%d",&x,&y) #define sd3(x,y,z) scanf("%d%d%d",&x,&y,&z) #define fi first #define...
18.739437
79
0.488914
VastoLorde95
765f8a2452ffc52bcb0c19b4b0a8a68a88d80a7b
404
cc
C++
chapter17/t17.1.2.cc
whutaihejin/cppprimer
8c39c8d1ced9e7eeb933ee36fc87b740fbc9105a
[ "Apache-2.0" ]
null
null
null
chapter17/t17.1.2.cc
whutaihejin/cppprimer
8c39c8d1ced9e7eeb933ee36fc87b740fbc9105a
[ "Apache-2.0" ]
null
null
null
chapter17/t17.1.2.cc
whutaihejin/cppprimer
8c39c8d1ced9e7eeb933ee36fc87b740fbc9105a
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <stdexcept> int Exception() { throw std::runtime_error("this is a runtime_erro exception"); return 0; } class Dog { public: Dog(std::string name): name_(name) {} ~Dog() { throw std::runtime_error("this is a dog exception"); } private: std::string name_; }; in...
17.565217
63
0.618812
whutaihejin
7661611a90d54eaa7b79b78794b9fa4d1c5f2cf0
733
hpp
C++
include/pfs/debby/exports.hpp
semenovf/pfs-debby
5f27bc6db68304764fe8595efc6cde246ce06132
[ "MIT" ]
null
null
null
include/pfs/debby/exports.hpp
semenovf/pfs-debby
5f27bc6db68304764fe8595efc6cde246ce06132
[ "MIT" ]
null
null
null
include/pfs/debby/exports.hpp
semenovf/pfs-debby
5f27bc6db68304764fe8595efc6cde246ce06132
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2021,2022 Vladislav Trifochkin // // This file is part of `debby-lib`. // // Changelog: // 2021.08.14 Initial version. // 2021.11.17 Refactored. ///////////////////////////////////////////////////////////////////...
27.148148
80
0.47749
semenovf
7665ce69070d68b7c340a783463af675e3aed371
67
cpp
C++
code/TweeZcodeCompiler/main/ITweeCompiler.cpp
manuelpolzhofer/twee_zcode_compiler
4932fd07d5aadc5ea38afcdc4019586bbb9fa696
[ "MIT" ]
5
2015-07-09T15:18:34.000Z
2019-04-20T18:11:52.000Z
code/TweeZcodeCompiler/main/ITweeCompiler.cpp
manuelpolzhofer/twee_zcode_compiler
4932fd07d5aadc5ea38afcdc4019586bbb9fa696
[ "MIT" ]
26
2015-07-09T15:43:50.000Z
2015-07-17T02:14:19.000Z
code/TweeZcodeCompiler/main/ITweeCompiler.cpp
manuelpolzhofer/twee_zcode_compiler
4932fd07d5aadc5ea38afcdc4019586bbb9fa696
[ "MIT" ]
null
null
null
// // Created by Danni on 19.06.15. // #include "ITweeCompiler.h"
11.166667
32
0.641791
manuelpolzhofer
766fcefa7a55907b7c2064e53ae313796e7143b2
2,970
cpp
C++
Game/Scene/EnemyGuide/EGListType.cpp
IndistinQuest/Game
3c8363026388a452a1e1b5a46ff34bb8fa8baff4
[ "MIT" ]
2
2016-12-09T02:21:23.000Z
2017-08-31T13:49:13.000Z
Game/Scene/EnemyGuide/EGListType.cpp
IndistinQuest/Game
3c8363026388a452a1e1b5a46ff34bb8fa8baff4
[ "MIT" ]
null
null
null
Game/Scene/EnemyGuide/EGListType.cpp
IndistinQuest/Game
3c8363026388a452a1e1b5a46ff34bb8fa8baff4
[ "MIT" ]
null
null
null
#include "EGListType.h" using namespace scene::enemyGuide; const double EGListType::W = 1280; const double EGListType::H = 720; const Point EGListType::POS_HEADING = Point(0.5*W, 0.2*H); const Point EGListType::POS_HOME_BUTTON = Point(0.85*W, 0.2*H); const Point EGListType::POS_TERMINATE_BUTTON = Point(0.15*W, 0.2*H)...
36.666667
166
0.726599
IndistinQuest
767a95286ba1b977bf137999a89e9df42a4bd328
2,934
cpp
C++
tests/test088.cpp
elishacloud/rapidcsv
676e622a3d84de19af5528918e14f50f1c525b82
[ "BSD-3-Clause" ]
null
null
null
tests/test088.cpp
elishacloud/rapidcsv
676e622a3d84de19af5528918e14f50f1c525b82
[ "BSD-3-Clause" ]
null
null
null
tests/test088.cpp
elishacloud/rapidcsv
676e622a3d84de19af5528918e14f50f1c525b82
[ "BSD-3-Clause" ]
null
null
null
// test088.cpp - test parsing of files larger than 64 KB #include <rapidcsv.h> #include "unittest.h" int main() { int rv = 0; const std::string path = unittest::TempPath(); try { const int dataRows = 5000; // write test file { std::ofstream out(path); out << "Foo,Bar,Baz" << std::en...
34.116279
82
0.653374
elishacloud
767c0088dfdcc7ce02df471d0b28f61d1933e344
235
cpp
C++
my_tools.cpp
agaitanis/my_algorithms
56e20f530f1bef850a61cdc0933830107a3e239a
[ "MIT" ]
1
2019-03-05T22:49:42.000Z
2019-03-05T22:49:42.000Z
my_tools.cpp
agaitanis/my_algorithms
56e20f530f1bef850a61cdc0933830107a3e239a
[ "MIT" ]
null
null
null
my_tools.cpp
agaitanis/my_algorithms
56e20f530f1bef850a61cdc0933830107a3e239a
[ "MIT" ]
null
null
null
#include <cstdlib> #include "my_tools.hpp" using namespace std; int rand_int(int min, int max) { return min + rand() % (max - min + 1); } double rand_double(double min, double max) { return min + (max*rand())/(double)RAND_MAX; }
14.6875
44
0.668085
agaitanis
767ded08d79a40d3ef0159522d85737209159b4b
2,268
cpp
C++
src/painter/dynamic_colors.cpp
a-n-t-h-o-n-y/MCurses
c9184a0fefbdc4eb9a044f815ee2270e6b8f202c
[ "MIT" ]
284
2017-11-07T10:06:48.000Z
2021-01-12T15:32:51.000Z
src/painter/dynamic_colors.cpp
a-n-t-h-o-n-y/MCurses
c9184a0fefbdc4eb9a044f815ee2270e6b8f202c
[ "MIT" ]
38
2018-01-14T12:34:54.000Z
2020-09-26T15:32:43.000Z
src/painter/dynamic_colors.cpp
a-n-t-h-o-n-y/MCurses
c9184a0fefbdc4eb9a044f815ee2270e6b8f202c
[ "MIT" ]
31
2017-11-30T11:22:21.000Z
2020-11-03T05:27:47.000Z
#include <termox/painter/dynamic_colors.hpp> #include <cassert> #include <cmath> #include <cstdint> namespace { /// Increment x, wrapping to zero at \p limit, returns previous value of x. template <std::uint16_t Limit> [[nodiscard]] constexpr auto wrapped_post_increment(std::uint16_t& x) -> std::uint16_t { a...
25.2
78
0.679894
a-n-t-h-o-n-y
7682691e91ff939550e21600a90fc38ec6a51efb
97
cpp
C++
VS2013/scratch/network/server/Receiver.cpp
m66n/lanremotecontrol
4df6d1cffe496e0bc9a02cfde32e6acfb79d74a6
[ "MIT" ]
1
2016-03-28T10:41:08.000Z
2016-03-28T10:41:08.000Z
VS2013/scratch/network/server/Receiver.cpp
m66n/lanremotecontrol
4df6d1cffe496e0bc9a02cfde32e6acfb79d74a6
[ "MIT" ]
4
2015-02-09T16:08:29.000Z
2015-02-16T16:03:12.000Z
GameServer/GameServer/Receiver.cpp
KINPlay/AFirst
2ac2f85de3692b2661ffc9be132af0d9f6f3d9a2
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "Receiver.h" Receiver::Receiver() { } Receiver::~Receiver() { }
7.461538
21
0.639175
m66n
7686ccc67a29b260bdd51d7d2d944f74d12ca255
9,758
hpp
C++
src/base/rmg/object3d.hpp
khantkyawkhaung/robot-monitor-graphics
2d365b3f3537e141cd1ec82f840c300abd79082b
[ "MIT" ]
2
2020-06-16T14:47:11.000Z
2020-07-09T15:34:55.000Z
src/base/rmg/object3d.hpp
khantkyawkhaung/robot-monitor-graphics
2d365b3f3537e141cd1ec82f840c300abd79082b
[ "MIT" ]
null
null
null
src/base/rmg/object3d.hpp
khantkyawkhaung/robot-monitor-graphics
2d365b3f3537e141cd1ec82f840c300abd79082b
[ "MIT" ]
null
null
null
/** * @file object3d.hpp * @brief 3D object whose model and appearance can be controlled quickly * * The constructor builds a vertex buffer object to load into the GPU and * keeps the address to that resource. The model matrix and material * properties like color, diffusion and specularity coefficient are passed ...
25.411458
79
0.613548
khantkyawkhaung
7689f32ab56738af8a732ff4a16bfba30b366173
812
hpp
C++
Sources/Shadows/ShadowRender.hpp
liuping1997/Acid
0b28d63d03ead41047d5881f08e3b693a4e6e63f
[ "MIT" ]
null
null
null
Sources/Shadows/ShadowRender.hpp
liuping1997/Acid
0b28d63d03ead41047d5881f08e3b693a4e6e63f
[ "MIT" ]
null
null
null
Sources/Shadows/ShadowRender.hpp
liuping1997/Acid
0b28d63d03ead41047d5881f08e3b693a4e6e63f
[ "MIT" ]
null
null
null
#pragma once #include "Scenes/Component.hpp" #include "Maths/Matrix4.hpp" #include "Graphics/Descriptors/DescriptorsHandler.hpp" #include "Graphics/Buffers/PushHandler.hpp" #include "Graphics/Pipelines/PipelineGraphics.hpp" namespace acid { /** * @brief Component that is used to render a entity as a shadow. */ clas...
23.2
101
0.784483
liuping1997
768c1c41dfce92f1c6faebc19a0856e9bf1f70b6
11,853
cpp
C++
effectNodes-for-cocos2dx-3x/code/tinyWingsTerrain/layer_tinyWingsTerrain.cpp
songxiaopeng/EffectNodes-for-cocos2dx
905694e6a0c3063f62f2424e22e0e8c1e8b5586c
[ "MIT" ]
2
2016-08-07T01:38:56.000Z
2016-11-03T04:27:21.000Z
effectNodes-for-cocos2dx-3x/code/tinyWingsTerrain/layer_tinyWingsTerrain.cpp
songxiaopeng/EffectNodes-for-cocos2dx
905694e6a0c3063f62f2424e22e0e8c1e8b5586c
[ "MIT" ]
null
null
null
effectNodes-for-cocos2dx-3x/code/tinyWingsTerrain/layer_tinyWingsTerrain.cpp
songxiaopeng/EffectNodes-for-cocos2dx
905694e6a0c3063f62f2424e22e0e8c1e8b5586c
[ "MIT" ]
4
2016-05-04T05:47:55.000Z
2020-05-27T07:40:38.000Z
#include "layer_tinyWingsTerrain.h" #include "chooseScene.h" bool Clayer_tinyWingsTerrain::init() { this->setTouchEnabled(true); CCSize winSize=CCDirector::sharedDirector()->getWinSize();//winSize equals to designResolutionSize CCSize visibleSize = CCDirector::sharedDirector()->getVisibleSize(); ...
51.534783
194
0.677634
songxiaopeng
768eeb7a26bd210e94eb2b9fe4b0c10438ea2459
5,262
cpp
C++
src/statisticalmap3d.cpp
amon80/randomise
788b2c2f70177ac26a7ab08e7b9c0571925502a9
[ "MIT" ]
null
null
null
src/statisticalmap3d.cpp
amon80/randomise
788b2c2f70177ac26a7ab08e7b9c0571925502a9
[ "MIT" ]
null
null
null
src/statisticalmap3d.cpp
amon80/randomise
788b2c2f70177ac26a7ab08e7b9c0571925502a9
[ "MIT" ]
null
null
null
#include "statisticalmap3d.h" // ---------- FRIEND METHODS --------------- std::ostream & operator<<(std::ostream &os, const StatisticalMap3D& p){ os << p.dim << "\n"; os << p.dimX << "\n"; os << p.dimY << "\n"; os << p.dimZ << "\n"; for (int i = 0; i < p.dim; ++i) { os << p.map[i]; ...
21.654321
112
0.548841
amon80
76944c47c71a904a42381967152e60370104f785
1,603
cpp
C++
src/constitution/Comparator.cpp
Sylvan-Materials/cifio
ff1293c3d9f53536361c1be0fb50919c6956144a
[ "MIT" ]
null
null
null
src/constitution/Comparator.cpp
Sylvan-Materials/cifio
ff1293c3d9f53536361c1be0fb50919c6956144a
[ "MIT" ]
null
null
null
src/constitution/Comparator.cpp
Sylvan-Materials/cifio
ff1293c3d9f53536361c1be0fb50919c6956144a
[ "MIT" ]
null
null
null
#include "constitution/Comparator.h" #include "linear/Vector.h" namespace sylvanmats::constitution { double Comparator::compareCentroids(sylvanmats::constitution::Graph& graphA, lemon::SubGraph<lemon::ListGraph, lemon::ListGraph::NodeMap<bool>, lemon::ListGraph::EdgeMap<bool>>& subgraphA, sylvanmats::constitutio...
51.709677
346
0.646912
Sylvan-Materials
7694e95dd923f91ba28273cbc4024331c1ecad60
2,193
cpp
C++
src/mod_receive.cpp
lucianpls/mod_receive
69caddb6bfc36d08cfeeca84b763ed24db9a465d
[ "Apache-2.0" ]
1
2016-08-10T17:06:38.000Z
2016-08-10T17:06:38.000Z
src/mod_receive.cpp
lucianpls/mod_receive
69caddb6bfc36d08cfeeca84b763ed24db9a465d
[ "Apache-2.0" ]
3
2016-07-20T17:26:07.000Z
2020-03-11T23:32:05.000Z
src/mod_receive.cpp
lucianpls/mod_receive
69caddb6bfc36d08cfeeca84b763ed24db9a465d
[ "Apache-2.0" ]
2
2016-07-19T20:16:58.000Z
2017-04-05T23:34:00.000Z
/* * Filter that receives the response and returns, to be used from sub-requests * Lucian Plesea * (C) 2015-2016 */ // // mod_receive.cpp : A receive filter, to capture subrequest content // #include "mod_receive.h" static apr_status_t filter_func(ap_filter_t* f, apr_bucket_brigade* bb) { request_rec *r = f-...
28.115385
92
0.665755
lucianpls
769d03501928246834959118b23b7b1f60978500
1,967
cpp
C++
DirectX/Engine/Input.cpp
Arikeon/DirectX
3cd3dc2c8122c22079cbe901844d5b396a58bacb
[ "Unlicense" ]
1
2021-08-30T17:13:30.000Z
2021-08-30T17:13:30.000Z
DirectX/Engine/Input.cpp
Arikeon/DirectX
3cd3dc2c8122c22079cbe901844d5b396a58bacb
[ "Unlicense" ]
null
null
null
DirectX/Engine/Input.cpp
Arikeon/DirectX
3cd3dc2c8122c22079cbe901844d5b396a58bacb
[ "Unlicense" ]
null
null
null
#include "Input.h" #include <Windows.h> #include <string> TInput* TInput::Instance = nullptr; TInput::TInput() { const int NumKeys = 256; m_keyStrokes.resize(NumKeys); m_isExiting = false; m_deltaX = m_deltaY = m_currX = m_currY = 0.f; } TInput::~TInput() { } TInput*& TInput::GetInstance() { static bool bIniti...
17.104348
76
0.704118
Arikeon
3720a14bd8a9546bc137ebdef7347c758adfd9fd
1,099
cpp
C++
Pemrograman Kompetitif/beras3.cpp
bayusamudra5502/PustakaCpp
ac67e47374740b4923dd135d67f4bf987d4010b4
[ "MIT" ]
null
null
null
Pemrograman Kompetitif/beras3.cpp
bayusamudra5502/PustakaCpp
ac67e47374740b4923dd135d67f4bf987d4010b4
[ "MIT" ]
null
null
null
Pemrograman Kompetitif/beras3.cpp
bayusamudra5502/PustakaCpp
ac67e47374740b4923dd135d67f4bf987d4010b4
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; struct Beras { double p; // price per Kg double w; // Total Weight double c; // Total Price }; int compar(const void *a, const void *b) { if (((Beras *)a)->p == ((Beras *)b)->p) { return ((Beras *)a)->w - ((Beras *)b)->w; } else { ...
17.171875
49
0.354868
bayusamudra5502
372519ee18abf14873c6d2ac29ef4ce9ba5e9437
2,450
cpp
C++
Project4/HashTable.cpp
Burn-E99/CS3100
7efcd9ff54de1bfd4c3942b53a90f880bb38d714
[ "MIT" ]
null
null
null
Project4/HashTable.cpp
Burn-E99/CS3100
7efcd9ff54de1bfd4c3942b53a90f880bb38d714
[ "MIT" ]
null
null
null
Project4/HashTable.cpp
Burn-E99/CS3100
7efcd9ff54de1bfd4c3942b53a90f880bb38d714
[ "MIT" ]
null
null
null
/********************************************************** * * Author: Ean Milligan * Email: milligan.20@wright.edu || ean.milligan@gmail.com * Course: CS 3100 * Prof: Meilin Liu * Date: 12/12/17 * Title: Project 4, Hash Table * **********************************************************/ #include "HashTable...
16.896552
91
0.479184
Burn-E99
3725919a7cb563ee30930a3d7a29fac6fbe1d4a6
179
cc
C++
C++/user_input_string.cc
MaRauder111/Cplusplus
9b18f95b5aee67f67c6e579ba7f3e80d3a3c68a5
[ "MIT" ]
null
null
null
C++/user_input_string.cc
MaRauder111/Cplusplus
9b18f95b5aee67f67c6e579ba7f3e80d3a3c68a5
[ "MIT" ]
null
null
null
C++/user_input_string.cc
MaRauder111/Cplusplus
9b18f95b5aee67f67c6e579ba7f3e80d3a3c68a5
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main(){ string name; cout << "Enter your name" <<endl; getline(cin, name); cout << "Your name is " << name << endl; return 0; }
14.916667
41
0.631285
MaRauder111
372f1f29acd5f7261aa5ec91c0fdc45c973b9df0
1,198
hxx
C++
src/include/Elastic/Apm/Impl/Log/TypeErasedStreamable.hxx
SergeyKleyman/elastic-apm-agent-cpp-prototype
67d2c7ad5a50e1a6b75d6725a89ae3fc5a92d517
[ "Apache-2.0" ]
null
null
null
src/include/Elastic/Apm/Impl/Log/TypeErasedStreamable.hxx
SergeyKleyman/elastic-apm-agent-cpp-prototype
67d2c7ad5a50e1a6b75d6725a89ae3fc5a92d517
[ "Apache-2.0" ]
null
null
null
src/include/Elastic/Apm/Impl/Log/TypeErasedStreamable.hxx
SergeyKleyman/elastic-apm-agent-cpp-prototype
67d2c7ad5a50e1a6b75d6725a89ae3fc5a92d517
[ "Apache-2.0" ]
null
null
null
#pragma once #include "Elastic/Apm/Log/IStreamable.hxx" #include "Elastic/Apm/Impl/Util/movable_copyable.hxx" #include "Elastic/Apm/Impl/Log/streamToLogImpl_base.hxx" #include "Elastic/Apm/Impl/wrapped_3rd_party_headers/std/type_traits.hxx" namespace Elastic { namespace Apm { namespace Impl { namespace Log { using n...
24.958333
83
0.738731
SergeyKleyman
3733ea6c02f47a34364d2266af0eb5a810b8645f
1,111
cpp
C++
sot-yoyoman01/src/sot-yoyoman01-controller.cpp
Gepetto/yoyoman01_robot
cd2fccb9378a1208605de88c88ec7b1482eaa271
[ "BSD-2-Clause" ]
null
null
null
sot-yoyoman01/src/sot-yoyoman01-controller.cpp
Gepetto/yoyoman01_robot
cd2fccb9378a1208605de88c88ec7b1482eaa271
[ "BSD-2-Clause" ]
1
2018-09-28T14:13:45.000Z
2018-10-01T12:42:07.000Z
sot-yoyoman01/src/sot-yoyoman01-controller.cpp
Gepetto/yoyoman01_robot
cd2fccb9378a1208605de88c88ec7b1482eaa271
[ "BSD-2-Clause" ]
2
2018-04-13T07:29:15.000Z
2018-05-24T14:19:07.000Z
/* * Copyright 2018, * * Nicolas Testard * * LAAS, CNRS * * This file is part of Yoyoman01Controller. */ #include <sot/core/debug.hh> /* yoyoman01 is inspired of yoyoman but he is cheating because he is not passive at all (you can blame FCAM1 for that)*/ #define ROBOTNAME std::string("YOYOMAN01") #include...
19.491228
121
0.733573
Gepetto
3734733f3052018f47db7a56d1989189319065bd
32
cpp
C++
lib/core/AnalogComparator.cpp
faroub/TahakomAVRLib
752d65c68572408c2ac9cfef91c1b6f759adbfdc
[ "MIT" ]
null
null
null
lib/core/AnalogComparator.cpp
faroub/TahakomAVRLib
752d65c68572408c2ac9cfef91c1b6f759adbfdc
[ "MIT" ]
null
null
null
lib/core/AnalogComparator.cpp
faroub/TahakomAVRLib
752d65c68572408c2ac9cfef91c1b6f759adbfdc
[ "MIT" ]
1
2020-10-03T12:34:20.000Z
2020-10-03T12:34:20.000Z
#include "AnalogComparator.h"
8
29
0.75
faroub
3738e1eb5025c9c932d2640fb96ecbd49680cf12
1,674
cpp
C++
Leetcode/dp/longest_increasing_path_in_matrix.cpp
pokemonTrainer5833/Data-Structures
10aa1a1b6975a3cd32aa5978f5e950283360dd0e
[ "MIT" ]
null
null
null
Leetcode/dp/longest_increasing_path_in_matrix.cpp
pokemonTrainer5833/Data-Structures
10aa1a1b6975a3cd32aa5978f5e950283360dd0e
[ "MIT" ]
null
null
null
Leetcode/dp/longest_increasing_path_in_matrix.cpp
pokemonTrainer5833/Data-Structures
10aa1a1b6975a3cd32aa5978f5e950283360dd0e
[ "MIT" ]
null
null
null
#include<iostream> #include<string> #include<unordered_set> #include<vector> #include<unordered_map> #include<utility> class Solution { public: int longestIncreasingPath(vector<vector<int>>& matrix) { //direction vector int sol = 0; unordered_set<string>visited; for(int i=0; i<matrix...
31.584906
88
0.497013
pokemonTrainer5833
37455f486111e69075af91ecdf601846828e5fa8
13,698
hpp
C++
include/engine/plugins/plugin_base.hpp
fofanov/osrm-backend
4a8b4052b20c40e6c8ae221185b9b5dd13b52577
[ "BSD-2-Clause" ]
null
null
null
include/engine/plugins/plugin_base.hpp
fofanov/osrm-backend
4a8b4052b20c40e6c8ae221185b9b5dd13b52577
[ "BSD-2-Clause" ]
null
null
null
include/engine/plugins/plugin_base.hpp
fofanov/osrm-backend
4a8b4052b20c40e6c8ae221185b9b5dd13b52577
[ "BSD-2-Clause" ]
null
null
null
#ifndef BASE_PLUGIN_HPP #define BASE_PLUGIN_HPP #include "engine/api/base_parameters.hpp" #include "engine/api/base_result.hpp" #include "engine/api/flatbuffers/fbresult_generated.h" #include "engine/datafacade/datafacade_base.hpp" #include "engine/phantom_node.hpp" #include "engine/routing_algorithms.hpp" #include "e...
41.135135
100
0.554826
fofanov
374a0b6ca4346be8e08a911c0e67623e47cc5268
2,766
cpp
C++
Tema4/b/ejercicio1.cpp
gandresto/ing-software-2020-1
ab9c8ff2bda7062d3862ea0d84d0f83812208c0b
[ "MIT" ]
null
null
null
Tema4/b/ejercicio1.cpp
gandresto/ing-software-2020-1
ab9c8ff2bda7062d3862ea0d84d0f83812208c0b
[ "MIT" ]
null
null
null
Tema4/b/ejercicio1.cpp
gandresto/ing-software-2020-1
ab9c8ff2bda7062d3862ea0d84d0f83812208c0b
[ "MIT" ]
1
2022-01-16T05:01:45.000Z
2022-01-16T05:01:45.000Z
#include <iostream> using namespace std; // Usando árbol sistémico sin simplificar int EncuentraValorFnEn(int *pApEn, int xEn, int yEn){ int iEn = 0; //int valorEn = 0; while(1){ if(pApEn[iEn]<xEn) iEn+=3; else if(xEn==pApEn[iEn]){ if(pApEn[iEn+1]<yEn) iEn+=3; else ...
30.065217
106
0.489877
gandresto
3751fa710aeb7fbec961c66b092e4eeab6c03342
4,500
hpp
C++
engine/includes/graphics/camera/basic_camera.hpp
StuartDAdams/neon
d08a63b853801aec94390e50f2988d0217438061
[ "MIT" ]
1
2019-08-22T14:43:18.000Z
2019-08-22T14:43:18.000Z
engine/includes/graphics/camera/basic_camera.hpp
StuartDAdams/neon
d08a63b853801aec94390e50f2988d0217438061
[ "MIT" ]
null
null
null
engine/includes/graphics/camera/basic_camera.hpp
StuartDAdams/neon
d08a63b853801aec94390e50f2988d0217438061
[ "MIT" ]
null
null
null
/* =========================================================================== Moka Source Code Copyright 2019 Stuart Adams. All rights reserved. https://github.com/stuartdadams/moka stuartdadams | linkedin.com/in/stuartdadams This file is part of the Moka Real-Time Physically-Based Rendering Project. Permission is h...
35.714286
163
0.63
StuartDAdams
3752088097461ff4a369ce550888690b8eb03a5a
403
hpp
C++
ball.hpp
wouterdijk/IPASS
4fd3d9f4e527b3d5a55c18f362aed5f824d77088
[ "BSL-1.0" ]
null
null
null
ball.hpp
wouterdijk/IPASS
4fd3d9f4e527b3d5a55c18f362aed5f824d77088
[ "BSL-1.0" ]
null
null
null
ball.hpp
wouterdijk/IPASS
4fd3d9f4e527b3d5a55c18f362aed5f824d77088
[ "BSL-1.0" ]
null
null
null
#ifndef BALL_HPP #define BALL_HPP #include "ball.hpp" #include "drawable.hpp" class ball : public drawable{ private: int radius; hwlib::xy speed; public: ball(hwlib::window & w, const hwlib::xy & midpoint, int radius, const hwlib::xy & speed); void draw() override; void update() override; v...
18.318182
93
0.665012
wouterdijk
375c9a6fd8400240a71b8a00f459880a330e91ed
44,764
cpp
C++
NetcodeClient/GraphicsEngine.cpp
tyekx/netcode
c46fef1eeb33ad029d0c262d39309dfa83f76c4d
[ "MIT" ]
null
null
null
NetcodeClient/GraphicsEngine.cpp
tyekx/netcode
c46fef1eeb33ad029d0c262d39309dfa83f76c4d
[ "MIT" ]
null
null
null
NetcodeClient/GraphicsEngine.cpp
tyekx/netcode
c46fef1eeb33ad029d0c262d39309dfa83f76c4d
[ "MIT" ]
null
null
null
#include "GraphicsEngine.h" using ParamId = Netcode::MaterialParamId; using Netcode::Graphics::ResourceDesc; using Netcode::ResourceViews; using Netcode::Graphics::ResourceType; using Netcode::Graphics::ResourceDimension; using Netcode::Graphics::ResourceState; using Netcode::Graphics::ResourceFlags; using Netcode::G...
40.62069
216
0.78648
tyekx
37615dba69e7fb5ccd0c6be0ae600a4071563886
2,903
hpp
C++
src/syzygy/codegen.hpp
cwood77/shtanky
6e3b7ad5bdc21be8d82b3fcddd882aebbf479fd8
[ "MIT" ]
null
null
null
src/syzygy/codegen.hpp
cwood77/shtanky
6e3b7ad5bdc21be8d82b3fcddd882aebbf479fd8
[ "MIT" ]
null
null
null
src/syzygy/codegen.hpp
cwood77/shtanky
6e3b7ad5bdc21be8d82b3fcddd882aebbf479fd8
[ "MIT" ]
null
null
null
#pragma once #include "../cmn/ast.hpp" // this code generator dumps an Araceli AST exactly as-is namespace cmn { class outBundle; } namespace cmn { class outStream; } namespace syzygy { class codegen : public cmn::hNodeVisitor { public: codegen(cmn::outBundle& b, const std::string& infix, bool addOrReplaceExt) ...
37.701299
77
0.705477
cwood77
376250b93026cea3ef4c4fe14681bd9a830d0ca3
3,140
hpp
C++
include/optional/optional_free_functions.hpp
RyanDraves/Optional
daa1e69b7ff27aa05e47081ac90794f7881eaf5d
[ "MIT" ]
null
null
null
include/optional/optional_free_functions.hpp
RyanDraves/Optional
daa1e69b7ff27aa05e47081ac90794f7881eaf5d
[ "MIT" ]
null
null
null
include/optional/optional_free_functions.hpp
RyanDraves/Optional
daa1e69b7ff27aa05e47081ac90794f7881eaf5d
[ "MIT" ]
null
null
null
#ifndef OPTIONAL_FREE_FUNCTIONS_HPP #define OPTIONAL_FREE_FUNCTIONS_HPP #include <optional/optional_value.hpp> namespace opt { /// T must have operator== defined. /// \returns If both x and y are initialized, (*x == *y). /// \returns If only x _or_ y is initialized, false. /// \returns If both are uninitialized, true...
24.920635
72
0.656051
RyanDraves
3766d80181b6fc6bd6f17fbc331560c45c45de26
2,697
cc
C++
compiler/src/frontend/visitors/default-visitor.cc
balayette/saphIR-project
18da494ac21e5433fdf1c646be02c9bf25177d7d
[ "MIT" ]
14
2020-07-31T09:35:23.000Z
2021-11-15T11:18:35.000Z
compiler/src/frontend/visitors/default-visitor.cc
balayette/saphIR-project
18da494ac21e5433fdf1c646be02c9bf25177d7d
[ "MIT" ]
null
null
null
compiler/src/frontend/visitors/default-visitor.cc
balayette/saphIR-project
18da494ac21e5433fdf1c646be02c9bf25177d7d
[ "MIT" ]
null
null
null
#include "frontend/visitors/default-visitor.hh" namespace frontend { void default_visitor::visit_decs(decs &s) { for (auto d : s.decs_) d->accept(*this); } void default_visitor::visit_memberdec(memberdec &) {} void default_visitor::visit_structdec(structdec &s) { for (auto mem : s.members_) mem->accept(*this); ...
19.977778
80
0.688543
balayette
376baea0a4476225db9e52834d97c21742227b96
44,533
cpp
C++
Plugins/MMT/Intermediate/Build/Win64/UE4Editor/Inc/MMT/MMTFrictionComponent.gen.cpp
elGears/FDPTank
ccd6ebefff7665b7724ea1348d0431976be2264f
[ "MIT" ]
1
2021-12-23T02:08:14.000Z
2021-12-23T02:08:14.000Z
Plugins/MMT/Intermediate/Build/Win64/UE4Editor/Inc/MMT/MMTFrictionComponent.gen.cpp
elGears/FDPTank
ccd6ebefff7665b7724ea1348d0431976be2264f
[ "MIT" ]
null
null
null
Plugins/MMT/Intermediate/Build/Win64/UE4Editor/Inc/MMT/MMTFrictionComponent.gen.cpp
elGears/FDPTank
ccd6ebefff7665b7724ea1348d0431976be2264f
[ "MIT" ]
null
null
null
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. /*=========================================================================== Generated code exported from UnrealHeaderTool. DO NOT modify this manually! Edit the corresponding .h files instead! ==============================================================...
79.381462
918
0.812319
elGears
377da31e9da3fe55a84db212fb4ef0e74c08018e
1,871
cpp
C++
include/h3api/H3Assets/H3LoadedPcx24.cpp
Patrulek/H3API
91f10de37c6b86f3160706c1fdf4792f927e9952
[ "MIT" ]
14
2020-09-07T21:49:26.000Z
2021-11-29T18:09:41.000Z
include/h3api/H3Assets/H3LoadedPcx24.cpp
Day-of-Reckoning/H3API
a82d3069ec7d5127b13528608d5350d2b80d57be
[ "MIT" ]
2
2021-02-12T15:52:31.000Z
2021-02-12T16:21:24.000Z
include/h3api/H3Assets/H3LoadedPcx24.cpp
Day-of-Reckoning/H3API
a82d3069ec7d5127b13528608d5350d2b80d57be
[ "MIT" ]
8
2021-02-12T15:52:41.000Z
2022-01-31T15:28:10.000Z
////////////////////////////////////////////////////////////////////// // // // Created by RoseKavalier: // // rosekavalierhc@gmail.com // // Created or last upda...
45.634146
151
0.521112
Patrulek
378254fd282fe99824131d14e2db83713132af15
1,982
cpp
C++
clibalgserver/server/example/graph/dfs.cpp
bajdcc/clibalgserver
0a464b1657c70244d18345ab8b2a4f222b32c18a
[ "MIT" ]
12
2019-09-25T09:28:40.000Z
2022-01-24T05:24:35.000Z
server/example/graph/dfs.cpp
bajdcc/clibalgserver_mac
7a55d14eea3a2dab86cd0c73fbe7ae27bfd2e3b5
[ "MIT" ]
3
2020-02-22T04:00:36.000Z
2020-03-19T07:42:03.000Z
clibalgserver/server/example/graph/dfs.cpp
bajdcc/clibalgserver
0a464b1657c70244d18345ab8b2a4f222b32c18a
[ "MIT" ]
2
2020-03-06T07:59:28.000Z
2020-08-17T07:34:48.000Z
#include "/include/io" #include "/include/math" #include "/include/trace" #include "/include/format" int L; int pt(int x, int y) { return x * L + y; } void output(char* text) { trace_log(text); free(text); } int dir[0] = {0, 1, 0, -1, 1, 0, -1, 0}; int suc = 0; int dfs(char* map, int sx, int sy, int ex, int...
26.078947
59
0.410696
bajdcc
37831b850027dacbad7e90a1cf35914bfd174783
6,286
cpp
C++
private/src/avb_video_common/IasAvbVideoCondVar.cpp
tnishiok/AVBStreamHandler
7621daf8c9238361e030fe35188b921ee8ea2466
[ "BSL-1.0", "BSD-3-Clause" ]
13
2018-09-26T13:32:35.000Z
2021-05-20T10:01:12.000Z
private/src/avb_video_common/IasAvbVideoCondVar.cpp
tnishiok/AVBStreamHandler
7621daf8c9238361e030fe35188b921ee8ea2466
[ "BSL-1.0", "BSD-3-Clause" ]
23
2018-10-03T22:45:21.000Z
2020-03-05T23:40:12.000Z
private/src/avb_video_common/IasAvbVideoCondVar.cpp
tnishiok/AVBStreamHandler
7621daf8c9238361e030fe35188b921ee8ea2466
[ "BSL-1.0", "BSD-3-Clause" ]
22
2018-09-14T03:55:34.000Z
2021-12-07T01:13:27.000Z
/* * Copyright (C) 2018 Intel Corporation. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include "avb_video_common/IasAvbVideoCondVar.hpp" #include <cerrno> #include <climits> #include <iostream> #include <linux/futex.h> #include <sys/syscall.h> #include <unistd.h> #define MSEC_PER_SEC 1000 ...
33.614973
88
0.710786
tnishiok
37841c63715372e19a6b1e63617cae1d113b07df
55,032
cc
C++
engine/ts/tsShape.cc
ClayHanson/B4v21-Public-Repo
c812aa7bf2ecb267e02969c85f0c9c2a29be0d28
[ "MIT" ]
1
2020-08-18T19:45:34.000Z
2020-08-18T19:45:34.000Z
engine/ts/tsShape.cc
ClayHanson/B4v21-Launcher-Public-Repo
c812aa7bf2ecb267e02969c85f0c9c2a29be0d28
[ "MIT" ]
null
null
null
engine/ts/tsShape.cc
ClayHanson/B4v21-Launcher-Public-Repo
c812aa7bf2ecb267e02969c85f0c9c2a29be0d28
[ "MIT" ]
null
null
null
//----------------------------------------------------------------------------- // Torque Game Engine // Copyright (C) GarageGames.com, Inc. //----------------------------------------------------------------------------- #include "ts/tsShape.h" #include "ts/tsLastDetail.h" #include "core/stringTable.h" #include "conso...
31.921114
119
0.596925
ClayHanson
378c7800497be392ce0661e41ce6ec8d32519b3b
1,575
cpp
C++
modules/squarepine_core/unittests/AngleUnitTests.cpp
thinium/squarepine_core
9d73b0820b8b44129b62a643785e8a7d4a7035b0
[ "ISC" ]
7
2021-12-03T16:09:39.000Z
2022-02-02T15:53:21.000Z
modules/squarepine_core/unittests/AngleUnitTests.cpp
thinium/squarepine_core
9d73b0820b8b44129b62a643785e8a7d4a7035b0
[ "ISC" ]
2
2021-07-06T16:56:06.000Z
2021-07-08T19:23:36.000Z
modules/squarepine_core/unittests/AngleUnitTests.cpp
thinium/squarepine_core
9d73b0820b8b44129b62a643785e8a7d4a7035b0
[ "ISC" ]
2
2021-07-06T16:10:59.000Z
2021-08-06T13:54:12.000Z
#if SQUAREPINE_COMPILE_UNIT_TESTS class AngleUnitTests final : public UnitTest { public: AngleUnitTests() : UnitTest ("Angle", UnitTestCategories::maths) { } void runTest() override { runTypeTest<float> ("Float"); runTypeTest<double> ("Double"); runTypeTest<long dou...
29.166667
73
0.648254
thinium
3793950d041de0409cd1abba1a067484f2282fba
1,074
cpp
C++
src/appoptions.cpp
KeyWorksRW/wxUiEditor
fc58bb37284430fa5901579ae121d4482b588c75
[ "Apache-2.0" ]
7
2021-10-22T02:43:12.000Z
2022-01-15T10:52:58.000Z
src/appoptions.cpp
KeyWorksRW/wxUiEditor
fc58bb37284430fa5901579ae121d4482b588c75
[ "Apache-2.0" ]
288
2021-05-16T19:12:04.000Z
2022-03-30T13:22:31.000Z
src/appoptions.cpp
KeyWorksRW/wxUiEditor
fc58bb37284430fa5901579ae121d4482b588c75
[ "Apache-2.0" ]
null
null
null
///////////////////////////////////////////////////////////////////////////// // Purpose: Application-wide options // Author: Ralph Walden // Copyright: Copyright (c) 2021 KeyWorks Software (Ralph Walden) // License: Apache License -- see ../LICENSE ///////////////////////////////////////////////////////////////...
29.027027
77
0.595903
KeyWorksRW
379c9c5db8fd19a7eb944eb10da6f16c2d83d9e3
5,245
cc
C++
sqlite_database.cc
lavosprime/heropool
f217c134510e76d5b556bd81c0ddc2fd22f44a17
[ "MIT" ]
null
null
null
sqlite_database.cc
lavosprime/heropool
f217c134510e76d5b556bd81c0ddc2fd22f44a17
[ "MIT" ]
null
null
null
sqlite_database.cc
lavosprime/heropool
f217c134510e76d5b556bd81c0ddc2fd22f44a17
[ "MIT" ]
null
null
null
/******************************************************************************\ Copyright (c) 2014-2015 by Cooper Johnson <lavosprime@gmail.com> This program is free software provided under the terms of the MIT License. sqlite_database.cc: Implementations of SQLite database operations. \**********************...
25.710784
80
0.643661
lavosprime
379ec8bad9a308cb73f67a185926d8fbe3147bc9
929
hpp
C++
include/primer/detail/type_traits.hpp
cbeck88/lua-primer
f6b96a24f96bc3bf03896aea0f758d76ae388fb9
[ "BSL-1.0" ]
14
2016-07-27T18:14:47.000Z
2018-06-15T19:54:10.000Z
include/primer/detail/type_traits.hpp
garbageslam/lua-primer
f6b96a24f96bc3bf03896aea0f758d76ae388fb9
[ "BSL-1.0" ]
5
2016-11-01T23:20:35.000Z
2016-11-29T21:09:53.000Z
include/primer/detail/type_traits.hpp
cbeck88/lua-primer
f6b96a24f96bc3bf03896aea0f758d76ae388fb9
[ "BSL-1.0" ]
2
2021-02-07T03:42:22.000Z
2021-02-10T14:12:00.000Z
// (C) Copyright 2015 - 2018 Christopher Beck // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt) #pragma once /*** * Some standard type traits that aren't available everywhere in C++11 standard. */ #include <type_trai...
23.225
80
0.729817
cbeck88
379fd9522ddf380e3ea4d423726414ab3a3e3664
2,219
cpp
C++
LeetCode/ThousandOne/0786-kth_smallest_prime_frac.cpp
Ginkgo-Biloba/Cpp-Repo1-VS
231c68a055e6bf69a3f7c224e7c0182b67ce5b67
[ "Apache-2.0" ]
null
null
null
LeetCode/ThousandOne/0786-kth_smallest_prime_frac.cpp
Ginkgo-Biloba/Cpp-Repo1-VS
231c68a055e6bf69a3f7c224e7c0182b67ce5b67
[ "Apache-2.0" ]
null
null
null
LeetCode/ThousandOne/0786-kth_smallest_prime_frac.cpp
Ginkgo-Biloba/Cpp-Repo1-VS
231c68a055e6bf69a3f7c224e7c0182b67ce5b67
[ "Apache-2.0" ]
null
null
null
#include "leetcode.hpp" /* 786. 第 K 个最小的素数分数 一个已排序好的表 A,其包含 1 和其他一些素数.当列表中的每一个 p<q 时,我们可以构造一个分数 p/q 。 那么第 n 个最小的分数是多少呢? 以整数数组的形式返回你的答案, 这里 answer[0] = p 且 answer[1] = q. 示例: 输入: A = [1, 2, 3, 5], K = 3 输出: [2, 5] 解释: 已构造好的分数,排序后如下所示: 1/5, 1/3, 2/5, 1/2, 3/5, 2/3. 很明显第三个最小的分数是 2/5. 输入: A = [1, 7], K = 1 输出: [1, 7]...
18.805085
142
0.52411
Ginkgo-Biloba
37a3f64a5b40f4eddf2c23be490dd29682146aab
3,824
cpp
C++
src/MetaNR/main.cpp
hsinnan75/StrainPro
93856570a6b4e9d410276b45dbb923475cb71bc5
[ "MIT" ]
7
2019-10-25T07:40:16.000Z
2021-03-30T15:13:41.000Z
src/MetaNR/main.cpp
hsinnan75/StrainPro
93856570a6b4e9d410276b45dbb923475cb71bc5
[ "MIT" ]
6
2020-01-03T08:05:58.000Z
2020-07-14T13:52:05.000Z
src/MetaNR/main.cpp
hsinnan75/StrainPro
93856570a6b4e9d410276b45dbb923475cb71bc5
[ "MIT" ]
3
2020-08-18T20:24:50.000Z
2021-08-20T01:46:36.000Z
#include "structure.h" #include <sys/stat.h> #include "../version.h" time_t StartProcessTime; bwt_t *Refbwt; int iThreadNum; bwaidx_t *RefIdx; string StrainProDir, TaxonomyDir; int64_t RefSeqSize, DoubleRefSeqSize; char *RefSequence, *IndexPrefix, *OutputFASTA; void ShowProgramUsage(const char* program) { fprintf(s...
26.555556
144
0.634937
hsinnan75
37b35fe40274a7badbde69c5fd7a9b61023ddd77
5,832
cpp
C++
src/mumble/PAAudioConfig.cpp
main--/mumble
e1bdd6564bb0445c535d3c711e5142d9bafa13d8
[ "BSD-3-Clause" ]
2
2017-03-20T22:18:53.000Z
2018-12-12T09:34:27.000Z
src/mumble/PAAudioConfig.cpp
Rantanen/mumble
762122319381bd9d5f23f497c68aad5186e30d91
[ "BSD-3-Clause" ]
null
null
null
src/mumble/PAAudioConfig.cpp
Rantanen/mumble
762122319381bd9d5f23f497c68aad5186e30d91
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (C) 2005-2011, Thorvald Natvig <thorvald@natvig.com> Copyright (C) 2007, Stefan Gehn <mETz AT gehn DOT net> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributi...
33.906977
111
0.717421
main--
37b3c7d233ebe1a9c42cc99d53356c7276afa581
900
hxx
C++
optmesh/StarIO.hxx
kanait/hsphparam
00158f81d00e496fed469779bf73094495ac8671
[ "MIT" ]
1
2021-08-23T06:55:22.000Z
2021-08-23T06:55:22.000Z
optmesh/StarIO.hxx
kanait/hsphparam
00158f81d00e496fed469779bf73094495ac8671
[ "MIT" ]
null
null
null
optmesh/StarIO.hxx
kanait/hsphparam
00158f81d00e496fed469779bf73094495ac8671
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////////////// // // $Id: StarIO.hxx 2021/06/05 14:26:08 kanai Exp $ // // Copyright (c) 2021 Takashi Kanai // Released under the MIT license // //////////////////////////////////////////////////////////////////// #ifndef STARIO_HXX #define STARIO_HXX 1 #include <...
18.367347
68
0.53
kanait
37bb256a3a0d1db69e90c0f743888301bddbf866
2,553
hpp
C++
unfact/platform.hpp
ceplus/unfact
1522c8391001f8aa3bd8f7c51f2b258eaf7e3897
[ "MIT" ]
1
2016-05-08T13:34:57.000Z
2016-05-08T13:34:57.000Z
unfact/platform.hpp
ceplus/unfact
1522c8391001f8aa3bd8f7c51f2b258eaf7e3897
[ "MIT" ]
null
null
null
unfact/platform.hpp
ceplus/unfact
1522c8391001f8aa3bd8f7c51f2b258eaf7e3897
[ "MIT" ]
null
null
null
/* * Copyright (c) 2008 Community Engine Inc. * * 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, m...
34.5
87
0.773208
ceplus
37c19c0e2088d9e730943ab057f87921a93d6f93
5,847
cpp
C++
Projects/RealityEngine/source/Rendering/Opengl/GLContext.cpp
Volta948/RealityEngine
1a9e4b7db00617176d06004af934d6602dd5920a
[ "BSD-3-Clause" ]
null
null
null
Projects/RealityEngine/source/Rendering/Opengl/GLContext.cpp
Volta948/RealityEngine
1a9e4b7db00617176d06004af934d6602dd5920a
[ "BSD-3-Clause" ]
null
null
null
Projects/RealityEngine/source/Rendering/Opengl/GLContext.cpp
Volta948/RealityEngine
1a9e4b7db00617176d06004af934d6602dd5920a
[ "BSD-3-Clause" ]
1
2021-11-05T02:55:27.000Z
2021-11-05T02:55:27.000Z
// Copyright Reality Engine. All Rights Reserved. #include "Rendering/Opengl/GLContext.h" #include <glad/glad.h> #include "Rendering/Opengl/GLShaderHelper.h" #include "Rendering/Opengl/GLMeshHelper.h" #include "Rendering/Opengl/GLCubeMap.h" #include "Rendering/Opengl/GLLight.h" #include "Core/Maths/Matrix4...
32.664804
119
0.73542
Volta948
37cc20f48235def6167659b1451f60eb9777d249
1,577
cpp
C++
InventorySystem/MyPlayerController.cpp
devilmhzx/UE4-Cpp-Tutorials
2cbf9d44dd4fa1c4eb68530f692065fc2c36b55d
[ "MIT" ]
531
2016-10-19T14:04:55.000Z
2022-03-28T06:34:25.000Z
InventorySystem/MyPlayerController.cpp
devilmhzx/UE4-Cpp-Tutorials
2cbf9d44dd4fa1c4eb68530f692065fc2c36b55d
[ "MIT" ]
null
null
null
InventorySystem/MyPlayerController.cpp
devilmhzx/UE4-Cpp-Tutorials
2cbf9d44dd4fa1c4eb68530f692065fc2c36b55d
[ "MIT" ]
172
2016-10-18T14:53:11.000Z
2022-03-22T10:39:44.000Z
// Fill out your copyright notice in the Description page of Project Settings. #include "InventorySystem.h" #include "InventorySystemCharacter.h" #include "MyPlayerController.h" void AMyPlayerController::Possess(APawn* InPawn) { Super::Possess(InPawn); if (InventoryWidgetBP) { //Create the Inventory Widget bas...
22.855072
101
0.73494
devilmhzx
37cc4a49ff9466c8284e9ec01a39f1ed4fde7174
5,526
cpp
C++
server/Login/Packets/CLAskCharListHandler.cpp
viticm/web-pap
7c9b1f49d9ba8d8e40f8fddae829c2e414ccfeca
[ "BSD-3-Clause" ]
3
2018-06-19T21:37:38.000Z
2021-07-31T21:51:40.000Z
server/Login/Packets/CLAskCharListHandler.cpp
viticm/web-pap
7c9b1f49d9ba8d8e40f8fddae829c2e414ccfeca
[ "BSD-3-Clause" ]
null
null
null
server/Login/Packets/CLAskCharListHandler.cpp
viticm/web-pap
7c9b1f49d9ba8d8e40f8fddae829c2e414ccfeca
[ "BSD-3-Clause" ]
13
2015-01-30T17:45:06.000Z
2022-01-06T02:29:34.000Z
#include "stdafx.h" #include "CLAskCharList.h" #include "LoginPlayer.h" #include "ProcessPlayerManager.h" #include "DBLogicManager.h" #include "TimeManager.h" #include "LCRetCharList.h" #include "DBCharList.h" #include "PacketFactoryManager.h" #include "ProcessManager.h" #include "Log.h" #include "DBThreadManager.h" ...
33.695122
117
0.619073
viticm
56cd49b42a9ec4e9c51ee3e610a4cf371368c892
1,498
cpp
C++
src/scene/scenegamehelperfunctions.cpp
kaffelars/megagruve
5544154dbe378fb493278a3e208414f9ef295200
[ "MIT" ]
4
2021-11-17T07:19:41.000Z
2022-01-31T11:46:18.000Z
src/scene/scenegamehelperfunctions.cpp
codingwatching/megagruve
22b5315fcf3d13147d60506d12f722bf3aae5cb8
[ "MIT" ]
1
2021-11-17T07:21:15.000Z
2021-11-21T11:55:33.000Z
src/scene/scenegamehelperfunctions.cpp
codingwatching/megagruve
22b5315fcf3d13147d60506d12f722bf3aae5cb8
[ "MIT" ]
1
2021-11-17T07:19:43.000Z
2021-11-17T07:19:43.000Z
#include "consts.h" #include "scenegamehelperfunctions.h" #include "inputmanager.h" #include "uiingame.h" #include "uiinventory.h" #include "maincharcontroller.h" #include "inputmanager.h" namespace scenegamehelperfunctions { scenegame* sgame; } void scenegamehelperfunctions::setscenepointer(sceneg...
34.045455
189
0.698932
kaffelars
56d2badefc440cef1cc19c8e8eb87f840450aad4
306
hpp
C++
tests/thread/thread_mini.hpp
olegpublicprofile/stdfwd
19671bcc8e53bd4c008f07656eaf25a22495e093
[ "MIT" ]
11
2021-03-15T07:06:21.000Z
2021-09-27T13:54:25.000Z
tests/thread/thread_mini.hpp
olegpublicprofile/stdfwd
19671bcc8e53bd4c008f07656eaf25a22495e093
[ "MIT" ]
null
null
null
tests/thread/thread_mini.hpp
olegpublicprofile/stdfwd
19671bcc8e53bd4c008f07656eaf25a22495e093
[ "MIT" ]
1
2021-06-24T10:46:46.000Z
2021-06-24T10:46:46.000Z
#pragma once //------------------------------------------------------------------------------ namespace thread_tests { //------------------------------------------------------------------------------ void run_mini(); //------------------------------------------------------------------------------ }
21.857143
80
0.140523
olegpublicprofile
56d6e41990a6c6c911606e34c776cc4c1a12cde5
306
hpp
C++
Sources/Editor/Scenes/IMenuInheritrance.hpp
Another-Game-Engine/AGE
d5d9e98235198fe580a43007914f515437635830
[ "MIT" ]
47
2015-03-29T09:44:25.000Z
2020-11-30T10:05:56.000Z
Sources/Editor/Scenes/IMenuInheritrance.hpp
Another-Game-Engine/AGE
d5d9e98235198fe580a43007914f515437635830
[ "MIT" ]
313
2015-01-01T18:16:30.000Z
2015-11-30T07:54:07.000Z
Sources/Editor/Scenes/IMenuInheritrance.hpp
Another-Game-Engine/AGE
d5d9e98235198fe580a43007914f515437635830
[ "MIT" ]
9
2015-06-07T13:21:54.000Z
2020-08-25T09:50:07.000Z
#pragma once #include "Core/Ascene.hh" namespace AGE { class AScene; class Engine; class IMenuInheritance : public AScene { public: IMenuInheritance(AGE::Engine *engine) : AScene(engine) {} virtual void updateMenu() = 0; virtual ~IMenuInheritance(){} bool _displayWindow = false; }; }
15.3
39
0.696078
Another-Game-Engine
56d7e3e59f6736e37728863de87e0a0074d09e8d
1,193
hh
C++
code/language/languages.hh
jmpcosta/loc
0efc9aadd4cc08a6c5c6841f494862b35f4533be
[ "MIT" ]
null
null
null
code/language/languages.hh
jmpcosta/loc
0efc9aadd4cc08a6c5c6841f494862b35f4533be
[ "MIT" ]
null
null
null
code/language/languages.hh
jmpcosta/loc
0efc9aadd4cc08a6c5c6841f494862b35f4533be
[ "MIT" ]
null
null
null
// ***************************************************************************************** // // File description: // // Author: Joao Costa // Purpose: Import all language by family // // ***************************************************************************************** #ifndef LOC_LANGUAGES_HH_ #define LOC_L...
33.138889
92
0.543168
jmpcosta
56d9763cd1c1446b170a9b8a4c48b88742825aa1
627
cpp
C++
Progs/Ch15/copydeq.cpp
singhnir/C-Plus-Plus-Robert-Lafore
7ce3c92d15958e157484fc989632b879360103aa
[ "MIT" ]
4
2021-02-24T06:53:51.000Z
2022-02-18T11:15:19.000Z
Progs/Ch15/copydeq.cpp
singhnir/C-Plus-Plus-Robert-Lafore
7ce3c92d15958e157484fc989632b879360103aa
[ "MIT" ]
null
null
null
Progs/Ch15/copydeq.cpp
singhnir/C-Plus-Plus-Robert-Lafore
7ce3c92d15958e157484fc989632b879360103aa
[ "MIT" ]
4
2021-02-24T07:05:43.000Z
2022-03-09T17:45:32.000Z
// copydeq.cpp //demonstrates normal copy with queues #include <iostream> #include <deque> #include <algorithm> using namespace std; int main() { int arr1[] = { 1, 3, 5, 7, 9 }; int arr2[] = { 2, 4, 6, 8, 10 }; deque<int> d1; deque<int> d2; for(int j=0; j<5; j++) //transfer ar...
24.115385
63
0.476874
singhnir
56dc226df5fc3228d3a1f68a31119c190dfe0351
703
cc
C++
samples/test.cc
Dark-CodeX/returns
246021d534f73aba354c8809eea78a9416bb6ad9
[ "MIT" ]
1
2022-01-03T10:39:14.000Z
2022-01-03T10:39:14.000Z
samples/test.cc
Dark-CodeX/returns
246021d534f73aba354c8809eea78a9416bb6ad9
[ "MIT" ]
null
null
null
samples/test.cc
Dark-CodeX/returns
246021d534f73aba354c8809eea78a9416bb6ad9
[ "MIT" ]
null
null
null
#include "../returns/optional.hh" #include "../returns/default.hh" #include <openutils/sstring/sstring.hh> #include <iostream> openutils::optional_t<openutils::sstring> test(openutils::sstring x) { if (x.end() != 0) return x.soundex(); return openutils::optnull; } int main(void) { auto y = test("Hello"); if (y)...
24.241379
97
0.631579
Dark-CodeX
56e0e9c86d697b876b5be62dbb79210ea91bf5fc
12,403
cpp
C++
eight_puzzle_problem/mainwindow.cpp
niwtr/Nova
b247209d285af07f13e4b2a91ebe3a7021cdac02
[ "MIT" ]
1
2017-03-02T12:18:55.000Z
2017-03-02T12:18:55.000Z
eight_puzzle_problem/mainwindow.cpp
niwtr/Nova
b247209d285af07f13e4b2a91ebe3a7021cdac02
[ "MIT" ]
null
null
null
eight_puzzle_problem/mainwindow.cpp
niwtr/Nova
b247209d285af07f13e4b2a91ebe3a7021cdac02
[ "MIT" ]
null
null
null
#include "mainwindow.h" #include "ui_mainwindow.h" #include <stdlib.h> #include <stdio.h> #include <time.h> #include <algorithm> #include <list> #include <map> #include <QMessagebox.h> #include <QMouseEvent> #include <QPoint> #include <QDebug> #include <QLayout> #include <QVBoxLayout> #include <QIcon> #include "Path8.h...
26.445629
101
0.494961
niwtr
56facaa176be77d131b38b8e90cdd870c893a879
784
cpp
C++
src/main.cpp
quincyhill/SDL2_project
0c3a623b07fad9ea089a20d826d0e88047e71fc6
[ "MIT" ]
null
null
null
src/main.cpp
quincyhill/SDL2_project
0c3a623b07fad9ea089a20d826d0e88047e71fc6
[ "MIT" ]
null
null
null
src/main.cpp
quincyhill/SDL2_project
0c3a623b07fad9ea089a20d826d0e88047e71fc6
[ "MIT" ]
null
null
null
// Using SDL and standard IO #include <SDL2/SDL.h> #include <SDL2/SDL_keycode.h> #include <SDL2/SDL_surface.h> #include <SDL2/SDL_mixer.h> #include <SDL2/SDL_image.h> #include "../include/window_logic.hpp" #include "../include/media_funcs.hpp" #include <stdio.h> #include <cstdlib> #include <string.h> int main(int argc...
17.043478
39
0.647959
quincyhill
7100e960d116f46ee5bd003da293613214e59210
38,518
cpp
C++
egadsCopy.cpp
AditiAShenoy/TEST
cbe4fc98baa269909c6b594e126904493a6b6941
[ "MIT" ]
null
null
null
egadsCopy.cpp
AditiAShenoy/TEST
cbe4fc98baa269909c6b594e126904493a6b6941
[ "MIT" ]
null
null
null
egadsCopy.cpp
AditiAShenoy/TEST
cbe4fc98baa269909c6b594e126904493a6b6941
[ "MIT" ]
null
null
null
/* * EGADS: Electronic Geometry Aircraft Design System * * Copy-based Topology Functions * * Copyright 2011-2012, Massachusetts Institute of Technology * Licensed under The GNU Lesser General Public License, version 2.1 * See http://www.opensource.org/licenses/lgpl-2.1.php * */ ...
32.781277
82
0.566488
AditiAShenoy
71018806652a7b7b6e5ad789a116c95242f0fea1
3,938
cpp
C++
hooks/orders/base_orders/die_order.cpp
Lucifirius/yzoriansteampunk
7b629ffd9740f0ff3db1fb8cffe07f45b7528854
[ "Unlicense" ]
null
null
null
hooks/orders/base_orders/die_order.cpp
Lucifirius/yzoriansteampunk
7b629ffd9740f0ff3db1fb8cffe07f45b7528854
[ "Unlicense" ]
null
null
null
hooks/orders/base_orders/die_order.cpp
Lucifirius/yzoriansteampunk
7b629ffd9740f0ff3db1fb8cffe07f45b7528854
[ "Unlicense" ]
null
null
null
#include "die_order.h" #include <SCBW/api.h> //helper functions def namespace { CThingy* createThingy(u32 spriteId, s16 x, s16 y, u32 playerId); //0x00488210 void clearUnitSprites(CSprite* unit_sprite, CSprite* subunit_sprite); //0x00496F00 void function_00497480(CSprite* thingySprite, u32 visibility_flags...
18.401869
87
0.663281
Lucifirius
71107433539cb758ca667863048d6386bede1945
1,386
cpp
C++
atcoder/arc083/C/main.cpp
Johniel/contests
b692eff913c20e2c1eb4ff0ce3cd4c57900594e0
[ "Unlicense" ]
null
null
null
atcoder/arc083/C/main.cpp
Johniel/contests
b692eff913c20e2c1eb4ff0ce3cd4c57900594e0
[ "Unlicense" ]
19
2016-05-04T02:46:31.000Z
2021-11-27T06:18:33.000Z
atcoder/arc083/C/main.cpp
Johniel/contests
b692eff913c20e2c1eb4ff0ce3cd4c57900594e0
[ "Unlicense" ]
null
null
null
#include <bits/stdc++.h> #define each(i, c) for (auto& i : c) #define unless(cond) if (!(cond)) using namespace std; typedef long long int lli; typedef unsigned long long ull; typedef complex<double> point; template<typename P, typename Q> ostream& operator << (ostream& os, pair<P, Q> p) { os << "(" << p.firs...
20.382353
60
0.440115
Johniel