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
283f125f75ca57221c0982dd442be2f568ce0c75
1,217
cpp
C++
examples/lernfahrer/carfactory.cpp
eidelen/EidNN
80999b1228eda4cab70b060bdaa6d257f8143bb1
[ "MIT" ]
3
2021-05-14T15:03:03.000Z
2021-12-05T08:31:38.000Z
examples/lernfahrer/carfactory.cpp
eidelen/EidNN
80999b1228eda4cab70b060bdaa6d257f8143bb1
[ "MIT" ]
null
null
null
examples/lernfahrer/carfactory.cpp
eidelen/EidNN
80999b1228eda4cab70b060bdaa6d257f8143bb1
[ "MIT" ]
3
2020-08-13T15:44:05.000Z
2021-06-07T16:16:53.000Z
// // Created by Adrian Schneider on 2019-03-13. // #include "carfactory.h" #include "car.h" #include "genetic.h" #include "layer.h" #include "trackmap.h" CarFactory::CarFactory(std::shared_ptr<TrackMap> map) { m_map = map; } CarFactory::~CarFactory() { } std::shared_ptr<Simulation> CarFactory::createRandomSim...
21.732143
122
0.691865
eidelen
283f463c36c78c53b672b4927f915b7bfc868930
21,192
cc
C++
binding/egl_context_wrapper.cc
propellerfactory/node-gles
fc893afa177e05397b8e02e8b48121106c7cea99
[ "Apache-2.0" ]
308
2018-10-30T18:35:15.000Z
2022-01-20T13:56:42.000Z
binding/egl_context_wrapper.cc
propellerfactory/node-gles
fc893afa177e05397b8e02e8b48121106c7cea99
[ "Apache-2.0" ]
36
2018-11-01T19:31:24.000Z
2021-08-31T17:40:05.000Z
binding/egl_context_wrapper.cc
chances/node-gles
b4cb488f580888d13c603cba38f692441ec4fc69
[ "Apache-2.0" ]
29
2018-11-01T02:59:47.000Z
2021-06-27T15:36:34.000Z
/** * @license * Copyright 2018 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 a...
44.521008
80
0.762741
propellerfactory
283fa9dd9a79219c36748a64bb712638fe7dcdcd
486
cpp
C++
iterator/cpp/self-made/arrayconcreteiterator.cpp
LoLei/design-patterns-examples
213241ab94c8a5e74a3faa9c5f554d557e60b753
[ "MIT" ]
3
2020-02-11T20:37:13.000Z
2020-07-31T14:16:51.000Z
iterator/cpp/self-made/arrayconcreteiterator.cpp
LoLei/design-patterns-examples
213241ab94c8a5e74a3faa9c5f554d557e60b753
[ "MIT" ]
null
null
null
iterator/cpp/self-made/arrayconcreteiterator.cpp
LoLei/design-patterns-examples
213241ab94c8a5e74a3faa9c5f554d557e60b753
[ "MIT" ]
null
null
null
#include "arrayconcreteiterator.h" /* * Concrete iterator */ ArrayConcreteIterator::ArrayConcreteIterator(const ArrayConcreteCollection* c) { reset(); collection_ = c; } void ArrayConcreteIterator::next() { current_index_++; } void ArrayConcreteIterator::reset() { current_index_ = 0; } bool ArrayConcreteI...
15.677419
78
0.746914
LoLei
284061a4ca659473939fcb10a23cfe4bc3c940a8
32,018
cpp
C++
modules/optflow/src/deepflow.cpp
AntoninARBERET/opencv_contrib-3.1.0
041d298e61656a3989b344e2a099a5dbbd3bd6b1
[ "BSD-3-Clause" ]
16
2016-07-04T10:32:22.000Z
2021-11-10T11:26:45.000Z
modules/optflow/src/deepflow.cpp
AntoninARBERET/opencv_contrib-3.1.0
041d298e61656a3989b344e2a099a5dbbd3bd6b1
[ "BSD-3-Clause" ]
null
null
null
modules/optflow/src/deepflow.cpp
AntoninARBERET/opencv_contrib-3.1.0
041d298e61656a3989b344e2a099a5dbbd3bd6b1
[ "BSD-3-Clause" ]
22
2015-10-23T19:36:18.000Z
2021-02-02T12:20:32.000Z
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, i...
36.929642
125
0.485165
AntoninARBERET
28460a9000b2ba8a62c8050cef2fcc70ecd74e87
2,322
cpp
C++
tuan_2/source.cpp
thuanpham2311/thuc-hanh-nhap-mon-cau-truc-du-lieu
04f73c98895e88b1c36b6cfc48da49cb7cec8cf4
[ "Unlicense" ]
null
null
null
tuan_2/source.cpp
thuanpham2311/thuc-hanh-nhap-mon-cau-truc-du-lieu
04f73c98895e88b1c36b6cfc48da49cb7cec8cf4
[ "Unlicense" ]
1
2021-11-29T04:37:17.000Z
2021-11-29T04:37:17.000Z
tuan_2/source.cpp
thuanpham2311/thuc-hanh-nhap-mon-cau-truc-du-lieu
04f73c98895e88b1c36b6cfc48da49cb7cec8cf4
[ "Unlicense" ]
null
null
null
#include "header.h" void khoiTao(DaySo &x) { x.n = 0; } int isEmpty(DaySo x) { return (x.n == 0 ? 1 : 0); } int isFull(DaySo x) { return (x.n == MAX ? 1 : 0); } void doc_DanhSach(DaySo &x) { cout << "\n Nhap vao so phan tu cua DS:"; cin >> x.n; for (int i = 0; i < x.n; i++) { cout << "\n Nhap vao phan tu ...
20.732143
63
0.445306
thuanpham2311
284863c2fcb0f8a1d554cd03f43db15c21b1963e
856
cpp
C++
Threading/ThreadPool.cpp
sakex/NEAT-GRU
2d96ff50415f38a8cf0ea7f3921c294b5766fc49
[ "MIT" ]
1
2021-05-21T21:40:11.000Z
2021-05-21T21:40:11.000Z
Threading/ThreadPool.cpp
sakex/NEAT-GRU
2d96ff50415f38a8cf0ea7f3921c294b5766fc49
[ "MIT" ]
9
2020-06-01T14:33:32.000Z
2020-06-01T16:38:28.000Z
Threading/ThreadPool.cpp
sakex/NEAT-GRU
2d96ff50415f38a8cf0ea7f3921c294b5766fc49
[ "MIT" ]
null
null
null
/* * ThreadPool.cpp * * Created on: Aug 8, 2019 * Author: sakex */ #include "ThreadPool.h" namespace Threading { ThreadPool::ThreadPool(int const _max_threads) : working_threads(0) { max_threads = _max_threads; } ThreadPool::~ThreadPool() { // TODO Auto-generated destructor stub } void ThreadPool::a...
17.833333
57
0.649533
sakex
284aa4f106e0fe2ed977ce272a7e4613cf83a841
13,054
cpp
C++
MathLibTest/Source/TrapezoidQuadrature_TEST.cpp
bgin/MissileSimulation
90adcbf1c049daafb939f3fe9f9dfe792f26d5df
[ "MIT" ]
23
2016-08-28T23:20:12.000Z
2021-12-15T14:43:58.000Z
MathLibTest/Source/TrapezoidQuadrature_TEST.cpp
bgin/MissileSimulation
90adcbf1c049daafb939f3fe9f9dfe792f26d5df
[ "MIT" ]
1
2018-06-02T21:29:51.000Z
2018-06-05T05:59:31.000Z
MathLibTest/Source/TrapezoidQuadrature_TEST.cpp
bgin/MissileSimulation
90adcbf1c049daafb939f3fe9f9dfe792f26d5df
[ "MIT" ]
1
2019-07-04T22:38:22.000Z
2019-07-04T22:38:22.000Z
#include "TrapezoidQuadrature_TEST.h" void test::TrapezoidQuadratureTest::Test_Trapezoid_Quadrature() { std::printf("Beginning test of Trapezoid Quadrature\n"); std::printf("First Run: Numerical Quadrature of polynomial based Integrals...\n\n"); const double a = 0.0L, b = 1.0L; const int num_steps = 1024; std::pr...
38.735905
119
0.672131
bgin
284d189c7b9b5ca8b4c41bb5c507e91b71246f49
62,947
cpp
C++
include/jdialogs.cpp
Perchik71/jDialogs
8d8d46df7eb7f7e7e6437faa39a6949392ec447e
[ "MIT" ]
null
null
null
include/jdialogs.cpp
Perchik71/jDialogs
8d8d46df7eb7f7e7e6437faa39a6949392ec447e
[ "MIT" ]
null
null
null
include/jdialogs.cpp
Perchik71/jDialogs
8d8d46df7eb7f7e7e6437faa39a6949392ec447e
[ "MIT" ]
null
null
null
/* Generating Windows dialogs in JSON for C++ Version 0.4.1 https://github.com/Perchik71/jDialogs Licensed under the MIT License <http://opensource.org/licenses/MIT>. SPDX-License-Identifier: MIT Copyright (c) 2021 Alex (Perchik71). Permission is hereby granted, free of charge, to any person obtaining a copy of thi...
31.985264
198
0.679778
Perchik71
284d3213bfddfe4c6fbadf8dc13a5d3bcd577721
8,405
cpp
C++
src/rastersymbolmanager.cpp
jusirkka/qutenav
09024f4506f12bfecdfe39cd9155583d71233e66
[ "ISC", "X11", "MIT" ]
2
2021-07-09T14:13:55.000Z
2022-02-11T06:41:03.000Z
src/rastersymbolmanager.cpp
jusirkka/qutenav
09024f4506f12bfecdfe39cd9155583d71233e66
[ "ISC", "X11", "MIT" ]
null
null
null
src/rastersymbolmanager.cpp
jusirkka/qutenav
09024f4506f12bfecdfe39cd9155583d71233e66
[ "ISC", "X11", "MIT" ]
2
2022-02-11T06:41:05.000Z
2022-03-17T09:29:46.000Z
/* -*- coding: utf-8-unix -*- * * File: src/rastersymbolmanager.cpp * * Copyright (C) 2021 Jukka Sirkka * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License,...
34.166667
99
0.647948
jusirkka
284deeda4f06f9ddbace5bc8932a4df2db63b863
526
cpp
C++
Variables/src/Variables.cpp
Annihilator708/cpp_adventure
b5d1cf470068d23ff238f16ba7e4ced476b1d0f9
[ "MIT" ]
null
null
null
Variables/src/Variables.cpp
Annihilator708/cpp_adventure
b5d1cf470068d23ff238f16ba7e4ced476b1d0f9
[ "MIT" ]
null
null
null
Variables/src/Variables.cpp
Annihilator708/cpp_adventure
b5d1cf470068d23ff238f16ba7e4ced476b1d0f9
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { int numberCats = 5; int numberDogs = 7; cout << "Number of cats: " << numberCats << endl; cout << "Number of dogs: " << numberDogs << endl; cout << "Total number of animals: " << numberCats + numberDogs << endl; cout << "New dogs arrived!" << endl; numberDo...
29.222222
72
0.629278
Annihilator708
284e2ca968f834cff69beffcc04f792a98d0d464
33,785
cpp
C++
src/core/kext/Classes/EventInputQueue.cpp
gkb/Karabiner
f47307d4fc89a4c421d10157d059293c508f721a
[ "Unlicense" ]
null
null
null
src/core/kext/Classes/EventInputQueue.cpp
gkb/Karabiner
f47307d4fc89a4c421d10157d059293c508f721a
[ "Unlicense" ]
null
null
null
src/core/kext/Classes/EventInputQueue.cpp
gkb/Karabiner
f47307d4fc89a4c421d10157d059293c508f721a
[ "Unlicense" ]
null
null
null
#include "ButtonStatus.hpp" #include "CommonData.hpp" #include "Config.hpp" #include "Core.hpp" #include "EventInputQueue.hpp" #include "EventWatcher.hpp" #include "FlagStatus.hpp" #include "GlobalLock.hpp" #include "IOLogWrapper.hpp" #include "ListHookedConsumer.hpp" #include "ListHookedKeyboard.hpp" #include "ListHoo...
36.524324
144
0.570579
gkb
284eebac8764a8e90f3e34a0d7a967135a03cdcc
41,739
cpp
C++
src/c_api.cpp
CeasarLee/ncnn
178825d14a16c4059820d9f054a8d857df671027
[ "BSD-3-Clause" ]
null
null
null
src/c_api.cpp
CeasarLee/ncnn
178825d14a16c4059820d9f054a8d857df671027
[ "BSD-3-Clause" ]
null
null
null
src/c_api.cpp
CeasarLee/ncnn
178825d14a16c4059820d9f054a8d857df671027
[ "BSD-3-Clause" ]
null
null
null
/* Tencent is pleased to support the open source community by making ncnn available. * * Copyright (C) 2020 THL A29 Limited, a Tencent company. All rights reserved. * * Licensed under the BSD 3-Clause License (the "License"); you may not use this file except * in compliance with the License. You may obtain a ...
30.82644
213
0.693524
CeasarLee
2850c0eae061788bfa30aca160c646fe449210d2
6,781
cc
C++
braids/bootloader/bootloader.cc
oscillating-gate/eurorack
35bf03aa35b01a7a4a9b0a0ca2898677cd3a9f6a
[ "MIT" ]
233
2018-07-02T16:49:36.000Z
2022-02-27T21:45:39.000Z
braids/bootloader/bootloader.cc
oscillating-gate/eurorack
35bf03aa35b01a7a4a9b0a0ca2898677cd3a9f6a
[ "MIT" ]
24
2018-07-09T11:32:15.000Z
2022-01-07T01:45:43.000Z
braids/bootloader/bootloader.cc
oscillating-gate/eurorack
35bf03aa35b01a7a4a9b0a0ca2898677cd3a9f6a
[ "MIT" ]
24
2018-07-14T21:55:30.000Z
2021-05-04T04:20:34.000Z
// Copyright 2012 Olivier Gillet. // // Author: Olivier Gillet (ol.gillet@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...
29.228448
80
0.678366
oscillating-gate
2851066a59f4a88f719e716db8305634c35abe53
35,009
cpp
C++
visa/G4Verifier.cpp
scott-snyder/intel-graphics-compiler
0977554d5aecf93b4a777f38e6c2e73e4dea313e
[ "MIT" ]
null
null
null
visa/G4Verifier.cpp
scott-snyder/intel-graphics-compiler
0977554d5aecf93b4a777f38e6c2e73e4dea313e
[ "MIT" ]
null
null
null
visa/G4Verifier.cpp
scott-snyder/intel-graphics-compiler
0977554d5aecf93b4a777f38e6c2e73e4dea313e
[ "MIT" ]
null
null
null
/*===================== begin_copyright_notice ================================== Copyright (c) 2017 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, includi...
35.578252
159
0.518638
scott-snyder
285203d45ff7f01e117ec67132496122c2c47f9f
244
hh
C++
include/HandleMenus.hh
freddyox/word_search
d6db6b2e584025064209fadea7029ba72b1acfff
[ "MIT" ]
null
null
null
include/HandleMenus.hh
freddyox/word_search
d6db6b2e584025064209fadea7029ba72b1acfff
[ "MIT" ]
null
null
null
include/HandleMenus.hh
freddyox/word_search
d6db6b2e584025064209fadea7029ba72b1acfff
[ "MIT" ]
null
null
null
#ifndef HANDLEMENUS_HH #define HANDLEMENUS_HH #include <SFML/Graphics.hpp> class HandleMenus : public sf::Drawable{ private: public: HandleMenus(); ~HandleMenus(); void draw(sf::RenderTarget&, sf::RenderStates) const; }; #endif
13.555556
55
0.717213
freddyox
2852da1f39635955a32b5ff6b4c11e02e032b428
5,902
cpp
C++
CubeEngine/Application/CubeGame/PartSurfaceMgr.cpp
tangziwen/Cube-Engine
c79b878dcc7e2e382f4463ca63519627d6220afd
[ "MIT" ]
360
2015-01-26T08:15:01.000Z
2021-07-11T16:30:58.000Z
CubeEngine/Application/CubeGame/PartSurfaceMgr.cpp
tangziwen/Cube-Engine
c79b878dcc7e2e382f4463ca63519627d6220afd
[ "MIT" ]
6
2015-03-09T09:15:07.000Z
2020-07-06T01:34:00.000Z
CubeEngine/Application/CubeGame/PartSurfaceMgr.cpp
tangziwen/CubeMiniGame
90bffa66d4beba5fddc39fc642a8fb36703cf32d
[ "MIT" ]
41
2015-03-10T03:17:46.000Z
2021-07-13T06:26:26.000Z
#include "PartSurfaceMgr.h" #include "3D/Primitive/CubePrimitive.h" #include <algorithm> #include "BulletCollision/CollisionShapes/btCompoundShape.h" #include "Scene/SceneMgr.h" #include "Collision/PhysicsCompoundShape.h" #include "Collision/PhysicsMgr.h" #include "CylinderPart.h" #include "3D/Primitive/CylinderPrimiti...
37.35443
100
0.774483
tangziwen
285325eb1dc0a24f2e90f778317a5949b9cadadc
2,773
hpp
C++
webots_ros2_control/include/webots_ros2_control/Ros2ControlSystem.hpp
TaoYibo1866/webots_ros2
a72c164825663cebbfd27e0649ea51d3abf9bbed
[ "Apache-2.0" ]
null
null
null
webots_ros2_control/include/webots_ros2_control/Ros2ControlSystem.hpp
TaoYibo1866/webots_ros2
a72c164825663cebbfd27e0649ea51d3abf9bbed
[ "Apache-2.0" ]
null
null
null
webots_ros2_control/include/webots_ros2_control/Ros2ControlSystem.hpp
TaoYibo1866/webots_ros2
a72c164825663cebbfd27e0649ea51d3abf9bbed
[ "Apache-2.0" ]
null
null
null
// Copyright 1996-2021 Cyberbotics Ltd. // // 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 agr...
33.409639
107
0.769564
TaoYibo1866
28537da8e5973dfc0f2607e146a7b26f07bba5bd
1,631
cc
C++
codebase/qe/qetest_08.cc
debatrimitra02/DBMS
943faeb8fe542f29b35bd4bd1443ea405d42a4ab
[ "MIT" ]
null
null
null
codebase/qe/qetest_08.cc
debatrimitra02/DBMS
943faeb8fe542f29b35bd4bd1443ea405d42a4ab
[ "MIT" ]
null
null
null
codebase/qe/qetest_08.cc
debatrimitra02/DBMS
943faeb8fe542f29b35bd4bd1443ea405d42a4ab
[ "MIT" ]
null
null
null
#include <fstream> #include <iostream> #include <vector> #include <cstdlib> #include <cstdio> #include <cstring> #include "qetest_util.h" RC testCase_8() { // Mandatory for the grad teams // Optional for the other teams - grad solo, undergrad team, and undergrad solo // (+5 extra credit points will be given base...
22.342466
102
0.574494
debatrimitra02
2855288850a14e7af04f7a10e250f1c856dfeb6c
9,703
cc
C++
src/base/password_manager.cc
phoepsilonix/mozc
3b9135b76247a9fe464cadd1a3c8ea5a07032e0c
[ "BSD-3-Clause" ]
1
2021-04-03T10:08:21.000Z
2021-04-03T10:08:21.000Z
src/base/password_manager.cc
phoepsilonix/mozc
3b9135b76247a9fe464cadd1a3c8ea5a07032e0c
[ "BSD-3-Clause" ]
null
null
null
src/base/password_manager.cc
phoepsilonix/mozc
3b9135b76247a9fe464cadd1a3c8ea5a07032e0c
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2010-2021, Google Inc. // 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...
27.643875
80
0.689271
phoepsilonix
2856cd525fcb9285e315a85cc5738e993afb0a5e
148
cpp
C++
src/engine/main_abilities.cpp
eXl-Nic/eXl
a5a0f77f47db3179365c107a184bb38b80280279
[ "MIT" ]
null
null
null
src/engine/main_abilities.cpp
eXl-Nic/eXl
a5a0f77f47db3179365c107a184bb38b80280279
[ "MIT" ]
null
null
null
src/engine/main_abilities.cpp
eXl-Nic/eXl
a5a0f77f47db3179365c107a184bb38b80280279
[ "MIT" ]
null
null
null
#include <engine/eXl_Main.hpp> #include "abilityroom.hpp" EXL_MAIN_WITH_SCENARIO_AND_PROJECT(AbilityRoom, "eXlTestProject/TestProject.eXlProject")
29.6
88
0.844595
eXl-Nic
2858bf4cc8b1f35610ff946f808ee8ec4d4fec6f
1,746
cpp
C++
src/apps/sequencer/model/Curve.cpp
forestcaver/performer
17750bc8e6fa23cd806d58a9c519fac25a52473f
[ "MIT" ]
1
2019-04-19T01:34:03.000Z
2019-04-19T01:34:03.000Z
src/apps/sequencer/model/Curve.cpp
forestcaver/performer
17750bc8e6fa23cd806d58a9c519fac25a52473f
[ "MIT" ]
null
null
null
src/apps/sequencer/model/Curve.cpp
forestcaver/performer
17750bc8e6fa23cd806d58a9c519fac25a52473f
[ "MIT" ]
null
null
null
#include "Curve.h" #include <algorithm> #include <cmath> static const float Pi = 3.1415926536f; static const float TwoPi = 2.f * Pi; static float high(float x) { return 1.f; } static float low(float x) { return 0.f; } static float stepUp(float x) { return x < 0.5f ? 0.f : 1.f; } static float stepDown...
16.628571
60
0.580756
forestcaver
2858f56557099b22852e658db429959bbb257c36
296
hpp
C++
lib/Core/Providers/RuntimeProvider.hpp
psiberx/cp2077-archive-xl
5e476978d3128980099c2a2aea5258b38b5f3558
[ "MIT" ]
7
2021-12-03T08:34:26.000Z
2022-01-29T20:22:59.000Z
lib/Core/Providers/RuntimeProvider.hpp
psiberx/cp2077-archivexl
5e476978d3128980099c2a2aea5258b38b5f3558
[ "MIT" ]
null
null
null
lib/Core/Providers/RuntimeProvider.hpp
psiberx/cp2077-archivexl
5e476978d3128980099c2a2aea5258b38b5f3558
[ "MIT" ]
null
null
null
#pragma once #include "Core/Win.hpp" #include "Core/Foundation/Feature.hpp" namespace Core { class RuntimeProvider : public Feature { public: struct Options { HMODULE handle = nullptr; int exePathDepth = 0; }; explicit RuntimeProvider(Options&& aOptions); }; }
14.8
49
0.665541
psiberx
285beee1a9928177a91e106c9ed2ceef7d7275e9
1,776
cpp
C++
Basic Programming 1/basicprogramming1.cpp
austenjs/kattis
dcc3101e866e302bbf46f5b6ecfcd4a4cb453825
[ "MIT" ]
null
null
null
Basic Programming 1/basicprogramming1.cpp
austenjs/kattis
dcc3101e866e302bbf46f5b6ecfcd4a4cb453825
[ "MIT" ]
null
null
null
Basic Programming 1/basicprogramming1.cpp
austenjs/kattis
dcc3101e866e302bbf46f5b6ecfcd4a4cb453825
[ "MIT" ]
null
null
null
#include <string> #include <iostream> #include <vector> #include <iomanip> #include <cstdlib> #include <algorithm> #include <string.h> #include <cmath> using namespace std; bool inside(unsigned long long int num, vector<unsigned long long int>k) { for (int i = 0; i < k.size(); i++) { if (num == k[i]) { return t...
18.893617
74
0.508446
austenjs
285c9e2d9248f70e5957c18adefd7c8d350960ab
1,184
cpp
C++
plugins/d3d9/src/state/convert/light/parameters.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
plugins/d3d9/src/state/convert/light/parameters.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
plugins/d3d9/src/state/convert/light/parameters.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
3
2018-05-11T01:11:34.000Z
2021-04-24T19:47:45.000Z
// Copyright Carl Philipp Reh 2006 - 2019. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #include <sge/d3d9/d3dinclude.hpp> #include <sge/d3d9/convert/to_color_value.hpp> #include <sge/d3d...
32.888889
90
0.722973
cpreh
285d09beb363d4d85bb6d49b2cb85276da921958
13,234
cpp
C++
tests/Unit/ParallelAlgorithms/LinearSolver/ConjugateGradient/Test_ResidualMonitorActions.cpp
nilsvu/spectre
1455b9a8d7e92db8ad600c66f54795c29c3052ee
[ "MIT" ]
1
2022-01-11T00:17:33.000Z
2022-01-11T00:17:33.000Z
tests/Unit/ParallelAlgorithms/LinearSolver/ConjugateGradient/Test_ResidualMonitorActions.cpp
nilsvu/spectre
1455b9a8d7e92db8ad600c66f54795c29c3052ee
[ "MIT" ]
null
null
null
tests/Unit/ParallelAlgorithms/LinearSolver/ConjugateGradient/Test_ResidualMonitorActions.cpp
nilsvu/spectre
1455b9a8d7e92db8ad600c66f54795c29c3052ee
[ "MIT" ]
null
null
null
// Distributed under the MIT License. // See LICENSE.txt for details. #include "Framework/TestingFramework.hpp" #include <cstddef> #include <limits> #include <string> #include <tuple> #include <unordered_map> #include <utility> #include <vector> #include "DataStructures/DataBox/DataBox.hpp" #include "DataStructures/...
42.690323
88
0.688076
nilsvu
2861aa259f317924e1cfdd1e51a5e0a6d474dab0
299
cpp
C++
project_template/src/BotController.cpp
JeanMarcZimmer/libDiscordBot
dadd68a15b89f1577fd43a56b6fcf90330f1e1e8
[ "MIT" ]
11
2020-05-16T08:41:15.000Z
2022-03-19T23:03:42.000Z
project_template/src/BotController.cpp
JeanMarcZimmer/libDiscordBot
dadd68a15b89f1577fd43a56b6fcf90330f1e1e8
[ "MIT" ]
4
2020-05-15T06:59:01.000Z
2020-10-06T18:13:23.000Z
project_template/src/BotController.cpp
JeanMarcZimmer/libDiscordBot
dadd68a15b89f1577fd43a56b6fcf90330f1e1e8
[ "MIT" ]
5
2020-05-16T09:06:39.000Z
2021-02-23T21:12:46.000Z
#include <BotController.hpp> #include <HelloCommand.hpp> void CBotController::OnReady() { //Registers a new command, with description for the builtin help command. RegisterCommand<CHelloCommand>({"hello", "Writes \"Hello World!\" into the channel", 0, "", AccessMode::EVERYBODY}, Client); }
37.375
128
0.729097
JeanMarcZimmer
2863b0ff63c71fd80a33401bda46e097992bf67f
9,068
cpp
C++
.vim/sourceCode/ogre_src_v1-8-1/RenderSystems/Direct3D11/src/OgreD3D11VertexDeclaration.cpp
lakehui/Vim_config
6cab80dc1209b34bf6379f42b1a92790bd0c146b
[ "MIT" ]
null
null
null
.vim/sourceCode/ogre_src_v1-8-1/RenderSystems/Direct3D11/src/OgreD3D11VertexDeclaration.cpp
lakehui/Vim_config
6cab80dc1209b34bf6379f42b1a92790bd0c146b
[ "MIT" ]
null
null
null
.vim/sourceCode/ogre_src_v1-8-1/RenderSystems/Direct3D11/src/OgreD3D11VertexDeclaration.cpp
lakehui/Vim_config
6cab80dc1209b34bf6379f42b1a92790bd0c146b
[ "MIT" ]
2
2019-05-16T08:19:45.000Z
2021-01-24T21:02:43.000Z
/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2012 Torus Knot Software Ltd Permission is hereby granted, free of charge, to any person obta...
36.712551
143
0.609285
lakehui
28648de02bca155caafac0e6842abfe1053e83c0
1,742
hpp
C++
include/private/coherence/component/net/extend/protocol/cache/SizeRequest.hpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
6
2020-07-01T21:38:30.000Z
2021-11-03T01:35:11.000Z
include/private/coherence/component/net/extend/protocol/cache/SizeRequest.hpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
1
2020-07-24T17:29:22.000Z
2020-07-24T18:29:04.000Z
include/private/coherence/component/net/extend/protocol/cache/SizeRequest.hpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
6
2020-07-10T18:40:58.000Z
2022-02-18T01:23:40.000Z
/* * Copyright (c) 2000, 2020, Oracle and/or its affiliates. * * Licensed under the Universal Permissive License v 1.0 as shown at * http://oss.oracle.com/licenses/upl. */ #ifndef COH_SIZE_REQUEST_HPP #define COH_SIZE_REQUEST_HPP #include "coherence/lang.ns" #include "private/coherence/component/net/extend/Abstr...
22.921053
86
0.556257
chpatel3
286551dad47c0ad11ec44ab801f38281a492af76
857
hpp
C++
src/backend/opencl/program.hpp
ckeitz/arrayfire
a1a1bbbc8487a032eb27a6c894b1b3dfb19d123b
[ "BSD-3-Clause" ]
4
2015-12-16T09:41:32.000Z
2018-10-29T10:38:53.000Z
src/backend/opencl/program.hpp
ckeitz/arrayfire
a1a1bbbc8487a032eb27a6c894b1b3dfb19d123b
[ "BSD-3-Clause" ]
3
2015-11-15T18:43:47.000Z
2015-12-16T09:43:14.000Z
src/backend/opencl/program.hpp
pavanky/arrayfire
f983a79c7d402450bd2a704bbc1015b89f0cd504
[ "BSD-3-Clause" ]
null
null
null
/******************************************************* * Copyright (c) 2014, ArrayFire * All rights reserved. * * This file is distributed under 3-clause BSD license. * The complete license agreement can be obtained at: * http://arrayfire.com/licenses/BSD-3-Clause **********************************************...
26.78125
85
0.576429
ckeitz
2869c0b3245e4843422e0ded7c563b50e74bd872
354,938
cpp
C++
My Project Log/Classes/Native/Il2CppCompilerCalculateTypeValues_17Table.cpp
2Dkun/My-Quest-Log
c2d7f17670631c2f58333ae81527b7bed82b1c57
[ "Apache-2.0" ]
null
null
null
My Project Log/Classes/Native/Il2CppCompilerCalculateTypeValues_17Table.cpp
2Dkun/My-Quest-Log
c2d7f17670631c2f58333ae81527b7bed82b1c57
[ "Apache-2.0" ]
null
null
null
My Project Log/Classes/Native/Il2CppCompilerCalculateTypeValues_17Table.cpp
2Dkun/My-Quest-Log
c2d7f17670631c2f58333ae81527b7bed82b1c57
[ "Apache-2.0" ]
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 <stdint.h> #include "class-internals.h" #include "codegen/il2cpp-codegen.h" #include "object-in...
42.411041
201
0.826068
2Dkun
286e9e69a98848f53786fb92e28cd9c39dda299a
18,354
cpp
C++
Source/GUI/Qt/GUI_Main_Core_Table.cpp
JeromeMartinez/BWFMetaEdit
6a228bd0914aa2749f19dd94510d2126a1231248
[ "MIT", "0BSD" ]
null
null
null
Source/GUI/Qt/GUI_Main_Core_Table.cpp
JeromeMartinez/BWFMetaEdit
6a228bd0914aa2749f19dd94510d2126a1231248
[ "MIT", "0BSD" ]
null
null
null
Source/GUI/Qt/GUI_Main_Core_Table.cpp
JeromeMartinez/BWFMetaEdit
6a228bd0914aa2749f19dd94510d2126a1231248
[ "MIT", "0BSD" ]
null
null
null
// BWF MetaEdit GUI - A GUI for BWF MetaEdit // // This code was created in 2010 for the Library of Congress and the // other federal government agencies participating in the Federal Agencies // Digital Guidelines Initiative and it is in the public domain. // //++++++++++++++++++++++++++++++++++++++++++++++++++++...
40.161926
418
0.545004
JeromeMartinez
286f3a538930e04128f89bf896e75b997dc6f613
1,853
cpp
C++
src/engine/Camera/CameraControllers/CameraController.cpp
noasoder/VulkanEngine
c5cde80bb62df4ead23c55b70d0149949d1e4d9e
[ "MIT" ]
1
2022-01-23T14:28:56.000Z
2022-01-23T14:28:56.000Z
src/engine/Camera/CameraControllers/CameraController.cpp
noasoder/VulkanEngine
c5cde80bb62df4ead23c55b70d0149949d1e4d9e
[ "MIT" ]
1
2021-11-07T22:33:36.000Z
2021-11-07T22:33:36.000Z
src/engine/Camera/CameraControllers/CameraController.cpp
noasoder/VulkanEngine
c5cde80bb62df4ead23c55b70d0149949d1e4d9e
[ "MIT" ]
null
null
null
#include "Camera/CameraControllers/CameraController.h" #include "Vulkan.h" #include "Types.h" #include "Camera/Camera.h" #include "Managers/InputManager.h" #include "Managers/CameraManager.h" CameraController::CameraController() : m_currMoveSpeed(0) , m_moveSpeedSlow(3) , m_moveSpeed(10) , m_moveSpeedFast(20) , m_las...
29.887097
74
0.67728
noasoder
2874ea976afa2648f583fbaadd8f3fc514ef2e20
118,995
hpp
C++
include/vkoGlbFuncs.hpp
alec101/vko
f2d274eb11d28bb718a7a6ce79ea2727cdf1fa0f
[ "Unlicense" ]
5
2019-07-15T18:23:39.000Z
2019-10-17T00:42:53.000Z
include/vkoGlbFuncs.hpp
alec101/vko
f2d274eb11d28bb718a7a6ce79ea2727cdf1fa0f
[ "Unlicense" ]
null
null
null
include/vkoGlbFuncs.hpp
alec101/vko
f2d274eb11d28bb718a7a6ce79ea2727cdf1fa0f
[ "Unlicense" ]
null
null
null
#pragma once /// there is a conflict with some WIN32 defines for CreateSemaphore and CreateEvent #ifdef CreateSemaphore #undef CreateSemaphore #endif #ifdef CreateEvent #undef CreateEvent #endif ///============/// // GLOBAL funcs // ///============/// #ifdef VKO_USE_GLOBAL_FUNCS // VULKAN 1.0 ================...
104.290096
567
0.832186
alec101
287674cd9758974b2b4934219fdbf2b15785df4a
236
cpp
C++
mios/ppt.cpp
nery556/programacionnery
01174228004bd88d803e8eba70c1333999e3f49a
[ "MIT" ]
null
null
null
mios/ppt.cpp
nery556/programacionnery
01174228004bd88d803e8eba70c1333999e3f49a
[ "MIT" ]
null
null
null
mios/ppt.cpp
nery556/programacionnery
01174228004bd88d803e8eba70c1333999e3f49a
[ "MIT" ]
null
null
null
#include <iostream> #include <stdlib.h> #include <time.h> using namespace std; int main (){ int numeroaleatorio; srand(time(NULL)); numeroaleatorio=rand()%2; cout << numeroaleatorio; return 0; }
13.882353
29
0.601695
nery556
287695793a67d389af69fd62bd013d1e412758dc
141
hxx
C++
src/Providers/UNIXProviders/DiagnosticServiceRecord/UNIX_DiagnosticServiceRecord_HPUX.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
1
2020-10-12T09:00:09.000Z
2020-10-12T09:00:09.000Z
src/Providers/UNIXProviders/DiagnosticServiceRecord/UNIX_DiagnosticServiceRecord_HPUX.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
null
null
null
src/Providers/UNIXProviders/DiagnosticServiceRecord/UNIX_DiagnosticServiceRecord_HPUX.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
null
null
null
#ifdef PEGASUS_OS_HPUX #ifndef __UNIX_DIAGNOSTICSERVICERECORD_PRIVATE_H #define __UNIX_DIAGNOSTICSERVICERECORD_PRIVATE_H #endif #endif
11.75
48
0.865248
brunolauze
2876b0d7a13104045ff285abad912c44dfed7a53
3,843
cpp
C++
main.cpp
baldurk/dxilprocessor
aca6f4740b61a662bd36c6d0db0c8b8236b96a8c
[ "MIT" ]
1
2021-08-10T01:02:05.000Z
2021-08-10T01:02:05.000Z
main.cpp
baldurk/dxilprocessor
aca6f4740b61a662bd36c6d0db0c8b8236b96a8c
[ "MIT" ]
null
null
null
main.cpp
baldurk/dxilprocessor
aca6f4740b61a662bd36c6d0db0c8b8236b96a8c
[ "MIT" ]
1
2021-08-10T01:02:06.000Z
2021-08-10T01:02:06.000Z
/****************************************************************************** * The MIT License (MIT) * * Copyright (c) 2019 Baldur Karlsson * * 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 ...
28.679104
86
0.632058
baldurk
2877387ff81df56d2b58f4bd431ccaf181d27f44
3,712
cxx
C++
tests/tdump.cxx
cpackham/novaprova
770781f2b27f461c99342ed39547f69582f6a7ca
[ "Apache-2.0" ]
29
2015-08-13T01:21:38.000Z
2020-08-03T01:38:56.000Z
tests/tdump.cxx
gnb/novaprova
c03882c7f078d899cbc49c9ecfc48dd80088cc3e
[ "Apache-2.0" ]
34
2015-08-10T00:55:34.000Z
2022-03-23T03:08:06.000Z
tests/tdump.cxx
gnb/novaprova
c03882c7f078d899cbc49c9ecfc48dd80088cc3e
[ "Apache-2.0" ]
9
2015-08-13T06:20:53.000Z
2021-02-26T03:43:18.000Z
/* * Copyright 2011-2012 Gregory Banks * * 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 agr...
24.746667
83
0.611261
cpackham
287ba2218dcdd35c78d40d99971fd18bfb3f10fe
24,914
cpp
C++
s3/s3_transport/src/s3_transport.cpp
alanking/irods_resource_plugin_s3
492839f885f432d30fa904ac9d5f89369d248ece
[ "BSD-3-Clause" ]
null
null
null
s3/s3_transport/src/s3_transport.cpp
alanking/irods_resource_plugin_s3
492839f885f432d30fa904ac9d5f89369d248ece
[ "BSD-3-Clause" ]
null
null
null
s3/s3_transport/src/s3_transport.cpp
alanking/irods_resource_plugin_s3
492839f885f432d30fa904ac9d5f89369d248ece
[ "BSD-3-Clause" ]
null
null
null
#include "circular_buffer.hpp" // iRODS includes #include <transport/transport.hpp> // misc includes #include "json.hpp" #include <libs3.h> // stdlib and misc includes #include <string> #include <thread> #include <vector> #include <cstdio> #include <iostream> #include <mutex> #include <condition_variable> #include <...
41.248344
140
0.586979
alanking
2880a4b4059b670cbcf8121de9434d343a6aeabb
535
cpp
C++
EjerciciosClase/ejercicio8-Factura con descuento/factura2.cpp
LaryEscobar/cpp
6f131350a8fa23b155a3114191c6d63da9709313
[ "MIT" ]
null
null
null
EjerciciosClase/ejercicio8-Factura con descuento/factura2.cpp
LaryEscobar/cpp
6f131350a8fa23b155a3114191c6d63da9709313
[ "MIT" ]
null
null
null
EjerciciosClase/ejercicio8-Factura con descuento/factura2.cpp
LaryEscobar/cpp
6f131350a8fa23b155a3114191c6d63da9709313
[ "MIT" ]
null
null
null
#include <iostream> #include<stdio.h> using namespace std; int main (){ double subtotal = 0; double total = 0; double imp = 0.15; int descuento= 0; double Cdescuento = 0; double Cimp = 0; cout <<" Ingrese el subtotal de la facura: " <<endl; cin >> subtotal; cout <<" Ingrese el descuento (0,10,15,20): " <<endl; ci...
18.448276
53
0.648598
LaryEscobar
2881dce4ecbb7eff83db90a0b4d2000f7e2a7d68
11,444
cpp
C++
demo/widget_show/demo.cpp11.cpp
gfannes/nana
3b8d33f9a98579684ea0440b6952deabe61bd978
[ "BSL-1.0" ]
1
2018-02-09T21:25:13.000Z
2018-02-09T21:25:13.000Z
demo/widget_show/demo.cpp11.cpp
gfannes/nana
3b8d33f9a98579684ea0440b6952deabe61bd978
[ "BSL-1.0" ]
null
null
null
demo/widget_show/demo.cpp11.cpp
gfannes/nana
3b8d33f9a98579684ea0440b6952deabe61bd978
[ "BSL-1.0" ]
null
null
null
/* * This is a demo of Nana C++ Library * Author: Jinhao * The demo requires Nana 0.6 and C++11 compiler * Screenshot at http://sourceforge.net/projects/stdex */ #include <nana/gui/wvl.hpp> #include <nana/gui/place.hpp> #include <nana/gui/widgets/button.hpp> #include <nana/gui/widgets/combox.hpp> #include <nana/gu...
26.613953
123
0.633869
gfannes
28840bbc5eb73b9c7081e60eaa08a26e9d0e3773
5,891
cpp
C++
OpenGL-Sandbox/src/ShapeHandler.cpp
cshreyastech/OpenGL
5d6dcce4a0fa210318fb70892423f5646c4bba98
[ "Apache-2.0" ]
null
null
null
OpenGL-Sandbox/src/ShapeHandler.cpp
cshreyastech/OpenGL
5d6dcce4a0fa210318fb70892423f5646c4bba98
[ "Apache-2.0" ]
null
null
null
OpenGL-Sandbox/src/ShapeHandler.cpp
cshreyastech/OpenGL
5d6dcce4a0fa210318fb70892423f5646c4bba98
[ "Apache-2.0" ]
null
null
null
#include "ShapeHandler.h" ShapeHandler::ShapeHandler(Isosurface::Facet id, std::vector<int>& indexSequence, const GLenum type, const uint32_t indexOffset, const uint32_t vertexOffset, const size_t maxShapeCount) : ID(id), IndexSequence(indexSequence), Type(type), IndexOffset(indexOffset), VertexOffset(vertexOffset...
26.899543
133
0.749448
cshreyastech
28845398d837680e62aea8df330fa816f68826b2
6,467
cpp
C++
tesseract_monitoring/src/contact_monitor_node.cpp
ros-industrial-consortium/tesseract_ros
b61abc18edb5bb350f05259ddf259937dbdb45f4
[ "Apache-2.0", "BSD-2-Clause" ]
28
2020-03-13T05:07:25.000Z
2021-09-09T01:57:20.000Z
tesseract_monitoring/src/contact_monitor_node.cpp
ros-industrial-consortium/tesseract_ros
b61abc18edb5bb350f05259ddf259937dbdb45f4
[ "Apache-2.0", "BSD-2-Clause" ]
73
2020-03-12T17:25:52.000Z
2021-09-14T14:58:08.000Z
tesseract_monitoring/src/contact_monitor_node.cpp
ros-industrial-consortium/tesseract_ros
b61abc18edb5bb350f05259ddf259937dbdb45f4
[ "Apache-2.0", "BSD-2-Clause" ]
18
2020-03-06T20:45:27.000Z
2021-10-06T21:51:18.000Z
/** * @file contact_monitor_node.cpp * @brief Node that instantiates a contact_monitor * * @author David Merz, Jr. * @version TODO * @bug No known bugs * * @copyright Copyright (c) 2020, Southwest Research Institute * * @par License * Software License Agreement (Apache License) * @par * Licensed under the ...
34.216931
115
0.705273
ros-industrial-consortium
288520fc8308e359a5213b749becf027b1e53c9f
73,597
cpp
C++
tests/TensorAlgebra.cpp
jturney/EinsumsInCpp
5da72c32b8814adacb601face888d970edfae205
[ "MIT" ]
9
2022-01-29T22:21:19.000Z
2022-03-10T06:26:40.000Z
tests/TensorAlgebra.cpp
jturney/EinsumsInCpp
5da72c32b8814adacb601face888d970edfae205
[ "MIT" ]
null
null
null
tests/TensorAlgebra.cpp
jturney/EinsumsInCpp
5da72c32b8814adacb601face888d970edfae205
[ "MIT" ]
null
null
null
#include "einsums/TensorAlgebra.hpp" #include "einsums/LinearAlgebra.hpp" #include "einsums/State.hpp" #include "einsums/Tensor.hpp" #include <H5Fpublic.h> #include <catch2/catch.hpp> #include <type_traits> TEST_CASE("Identity Tensor", "[tensor]") { using namespace einsums; using namespace einsums::tensor_al...
34.715566
139
0.440249
jturney
2885fb771f55eac7f0fa6436dee6595c72bc9b33
260
cpp
C++
bytecode/interpreter/src/BytecodeInterpreter/Units/InterpreterCommandJumpRel.cpp
Scorbutics/skalang
c8d1869a2f0c7857ee05ef45bd3aa4e537d39558
[ "MIT" ]
3
2019-04-08T17:34:19.000Z
2020-01-03T04:47:06.000Z
bytecode/interpreter/src/BytecodeInterpreter/Units/InterpreterCommandJumpRel.cpp
Scorbutics/skalang
c8d1869a2f0c7857ee05ef45bd3aa4e537d39558
[ "MIT" ]
4
2020-04-19T22:09:06.000Z
2020-11-06T15:47:08.000Z
bytecode/interpreter/src/BytecodeInterpreter/Units/InterpreterCommandJumpRel.cpp
Scorbutics/skalang
c8d1869a2f0c7857ee05ef45bd3aa4e537d39558
[ "MIT" ]
null
null
null
#include "InterpreterCommandJumpRel.h" SKALANG_BYTECODE_INTERPRETER_COMMAND_DECLARE(JUMP_REL)(ExecutionContext& context, const Operand& left, const Operand& right) { context.jumpRelative(context.get<long>(context.currentInstruction().dest())); return {}; }
37.142857
126
0.803846
Scorbutics
2887639327b6324c51c5ef436cc18b8db262a8dd
1,159
cpp
C++
4788/src/main/cpp/ControlMap.cpp
goanna247/2021-GameChangers
99faf17d1e444f0a0f861bcb85375502c52d366c
[ "MIT" ]
1
2021-02-04T09:06:51.000Z
2021-02-04T09:06:51.000Z
4788/src/main/cpp/ControlMap.cpp
goanna247/2021-GameChangers
99faf17d1e444f0a0f861bcb85375502c52d366c
[ "MIT" ]
null
null
null
4788/src/main/cpp/ControlMap.cpp
goanna247/2021-GameChangers
99faf17d1e444f0a0f861bcb85375502c52d366c
[ "MIT" ]
null
null
null
#include "ControlMap.h" using namespace wml; using namespace wml::controllers; void ControlMap::InitsmartControllerGroup(SmartControllerGroup &contGroup) { // Remap Here (map POV buttons to names etc) } // ------------------ Values ------------------ // Controller Ports const int ControlMap::Xbox1Port = 0; const...
26.340909
79
0.705781
goanna247
288952c3486266ca500db759bc9403a6ffb8de0e
823
hpp
C++
include/awt/KeyboardFocusManager.hpp
krzydyn/jacpp
ab9b5bfcca1774198c05d9187e5891de1fdf4759
[ "Apache-2.0" ]
5
2019-01-01T14:55:58.000Z
2021-01-31T14:55:59.000Z
include/awt/KeyboardFocusManager.hpp
krzydyn/jacpp
ab9b5bfcca1774198c05d9187e5891de1fdf4759
[ "Apache-2.0" ]
null
null
null
include/awt/KeyboardFocusManager.hpp
krzydyn/jacpp
ab9b5bfcca1774198c05d9187e5891de1fdf4759
[ "Apache-2.0" ]
null
null
null
#ifndef __AWT_KEYBOARDFOCUSMANAGER_HPP #define __AWT_KEYBOARDFOCUSMANAGER_HPP #include <awt/AWTEvent.hpp> namespace awt { class Component; class KeyboardFocusManager { public: static const int FORWARD_TRAVERSAL_KEYS = 0; static const int BACKWARD_TRAVERSAL_KEYS = 1; static const int UP_CYCLE_TRAVERSAL_KEYS = 2; ...
26.548387
82
0.81531
krzydyn
288bbb5bca80b34fecf6d2073e61b5c8eeefa761
355
cpp
C++
chapter_03/question_7/main.cpp
chichi9527/C-Plus-Plus-Primer-Plus-Answers
82c88a16ea7283109a3d44332c1322b05d3aec35
[ "MIT" ]
null
null
null
chapter_03/question_7/main.cpp
chichi9527/C-Plus-Plus-Primer-Plus-Answers
82c88a16ea7283109a3d44332c1322b05d3aec35
[ "MIT" ]
null
null
null
chapter_03/question_7/main.cpp
chichi9527/C-Plus-Plus-Primer-Plus-Answers
82c88a16ea7283109a3d44332c1322b05d3aec35
[ "MIT" ]
null
null
null
#include <iostream> int main(void) { using std::cout; using std::endl; using std::cin; double lper100km; cout << "Enter the gasoline consumption of the car(L / 100 km): "; cin >> lper100km; cout << "The car is " << 100 * 3.875 / lper100km * 0.6214; cout << " miles per ga...
20.882353
71
0.549296
chichi9527
288cea20cf1be1d8054b4fe61140e0f6a1ab7b4a
305
cpp
C++
src/examples/11_module/02_dynamic_memory/main.cpp
acc-cosc-1337-spring-2020-hl/acc-cosc-1337-spring-2020-hl-acc-cosc-1337-spring-2020-94919311
0d5b19456063a304d4c20040ee2d3b21a1f6b131
[ "MIT" ]
null
null
null
src/examples/11_module/02_dynamic_memory/main.cpp
acc-cosc-1337-spring-2020-hl/acc-cosc-1337-spring-2020-hl-acc-cosc-1337-spring-2020-94919311
0d5b19456063a304d4c20040ee2d3b21a1f6b131
[ "MIT" ]
null
null
null
src/examples/11_module/02_dynamic_memory/main.cpp
acc-cosc-1337-spring-2020-hl/acc-cosc-1337-spring-2020-hl-acc-cosc-1337-spring-2020-94919311
0d5b19456063a304d4c20040ee2d3b21a1f6b131
[ "MIT" ]
null
null
null
#include <iostream> using std::cout; int main() { int* ptr_num = new int(5); cout << &ptr_num << "\n"; // displays the adress where ptr_num is stored cout << ptr_num << "\n"; // displays the adress where 5 is stored cout << *ptr_num << "\n"; delete ptr_num; ptr_num = nullptr; return 0; }
16.944444
73
0.619672
acc-cosc-1337-spring-2020-hl
288db0de853572e3d2b344a5cfae9b74dac2b7cd
23,470
cpp
C++
examples/getting_started.cpp
cfRod/oneDNN
7981216b8341b8603e54472f5a0dd7a12ef9cf67
[ "Apache-2.0" ]
1,327
2018-01-25T21:23:47.000Z
2020-04-03T09:39:30.000Z
examples/getting_started.cpp
cfRod/oneDNN
7981216b8341b8603e54472f5a0dd7a12ef9cf67
[ "Apache-2.0" ]
498
2018-01-25T00:14:48.000Z
2020-04-03T16:21:44.000Z
examples/getting_started.cpp
cfRod/oneDNN
7981216b8341b8603e54472f5a0dd7a12ef9cf67
[ "Apache-2.0" ]
365
2018-01-29T16:12:36.000Z
2020-04-03T08:32:27.000Z
/******************************************************************************* * Copyright 2019-2022 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apa...
43.869159
93
0.636983
cfRod
2895386a8a449851d627f38ddf3572df66c5f6ef
5,006
hpp
C++
contracts/oaclib/varint.hpp
openaichain/openaichain
14f144afa1bb4db5e4bf75a5ad836f4e408cfc95
[ "MIT" ]
15
2018-06-09T14:15:53.000Z
2021-03-05T09:56:42.000Z
contracts/oaclib/varint.hpp
openaichain/openaichain
14f144afa1bb4db5e4bf75a5ad836f4e408cfc95
[ "MIT" ]
null
null
null
contracts/oaclib/varint.hpp
openaichain/openaichain
14f144afa1bb4db5e4bf75a5ad836f4e408cfc95
[ "MIT" ]
2
2019-12-06T00:46:15.000Z
2020-03-18T10:47:45.000Z
/** * @file * @copyright defined in oac/LICENSE.txt */ #pragma once /** * @defgroup varint Variable Length Integer * @ingroup types * @{ */ struct unsigned_int { unsigned_int( uint32_t v = 0 ):value(v){} template<typename T> unsigned_int( T v ):value(v){} //operator uint32_t()const { retur...
38.507692
105
0.590691
openaichain
28998ce8db4464326726659d0da6945bc37c1115
10,440
cpp
C++
roxe.cdt/roxe_llvm/tools/clang/lib/CodeGen/CGLoopInfo.cpp
APFDev/actc
be5c1c0539d30a3745a725b0027767448ef8e1f6
[ "MIT" ]
427
2018-05-29T14:21:02.000Z
2022-03-16T03:17:54.000Z
roxe.cdt/roxe_llvm/tools/clang/lib/CodeGen/CGLoopInfo.cpp
APFDev/actc
be5c1c0539d30a3745a725b0027767448ef8e1f6
[ "MIT" ]
25
2018-07-23T08:34:15.000Z
2021-11-05T07:13:36.000Z
roxe.cdt/roxe_llvm/tools/clang/lib/CodeGen/CGLoopInfo.cpp
APFDev/actc
be5c1c0539d30a3745a725b0027767448ef8e1f6
[ "MIT" ]
52
2018-07-19T19:57:32.000Z
2022-03-11T16:05:38.000Z
//===---- CGLoopInfo.cpp - LLVM CodeGen for loop metadata -*- C++ -*-------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
34.117647
80
0.629215
APFDev
2899bb4e89da513fc76519576a0779debb6dcba9
1,346
cpp
C++
CnprNSPDistribution.cpp
mhoopmann/NeoProtXMLParser
f34b71cfb6bd2a366f405891bd68661d399d944d
[ "Apache-2.0" ]
null
null
null
CnprNSPDistribution.cpp
mhoopmann/NeoProtXMLParser
f34b71cfb6bd2a366f405891bd68661d399d944d
[ "Apache-2.0" ]
null
null
null
CnprNSPDistribution.cpp
mhoopmann/NeoProtXMLParser
f34b71cfb6bd2a366f405891bd68661d399d944d
[ "Apache-2.0" ]
null
null
null
#include "CnprNSPDistribution.h" using namespace std; CnprNSPDistribution::CnprNSPDistribution(){ bin_no=-1; nsp_lower_bound_incl=-1; nsp_lower_bound_excl=-1; pos_freq=-1; neg_freq=-1; pos_to_neg_ratio=-1; alt_pos_to_neg_ratio=-1; } void CnprNSPDistribution::write(FILE* f, int tabs){ //required str...
36.378378
110
0.700594
mhoopmann
80bec6dd355213fec861d7034756ea4444e505e3
179
cc
C++
main.cc
jeffersonsylva/deltaforce
b79743b6f8b24436d663982915438fa115b025a9
[ "Apache-2.0" ]
null
null
null
main.cc
jeffersonsylva/deltaforce
b79743b6f8b24436d663982915438fa115b025a9
[ "Apache-2.0" ]
null
null
null
main.cc
jeffersonsylva/deltaforce
b79743b6f8b24436d663982915438fa115b025a9
[ "Apache-2.0" ]
null
null
null
#include "Allegro.h" int main() { Allegro *allegro = new Allegro(); allegro->init(); allegro->createWindow(60.0, 640, 480); allegro->gameLoop(); return 0; }
12.785714
41
0.597765
jeffersonsylva
80bf2c050afd9ca59178a60ef7d542619da13af2
5,637
cpp
C++
target/TestEnclave/Enclave/Edger8rSyntax/Pointers.cpp
kandeldipak06/CacheZoom
dd8cb2796cf2ee632a0c60e7f443c83b61976973
[ "MIT" ]
13
2017-07-07T02:48:57.000Z
2021-12-09T06:32:47.000Z
target/TestEnclave/Enclave/Edger8rSyntax/Pointers.cpp
ksutcr18/CacheZoom
510848da73e1728663e094cb7bb8cf5b349eb0b0
[ "MIT" ]
null
null
null
target/TestEnclave/Enclave/Edger8rSyntax/Pointers.cpp
ksutcr18/CacheZoom
510848da73e1728663e094cb7bb8cf5b349eb0b0
[ "MIT" ]
6
2017-10-15T19:23:15.000Z
2022-01-27T08:33:41.000Z
/* * Copyright (C) 2011-2016 Intel Corporation. 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 li...
26.097222
87
0.660635
kandeldipak06
80c0142ad95d3f1e63653864dfae4883ff624e9f
2,764
inl
C++
opencl/test/unit_test/api/cl_enqueue_verify_memory.inl
demarle/compute-runtime
12458fb183d651f74873ebe835b10fc4a3e3a614
[ "MIT" ]
null
null
null
opencl/test/unit_test/api/cl_enqueue_verify_memory.inl
demarle/compute-runtime
12458fb183d651f74873ebe835b10fc4a3e3a614
[ "MIT" ]
null
null
null
opencl/test/unit_test/api/cl_enqueue_verify_memory.inl
demarle/compute-runtime
12458fb183d651f74873ebe835b10fc4a3e3a614
[ "MIT" ]
null
null
null
/* * Copyright (C) 2017-2020 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "shared/source/aub_mem_dump/aub_services.h" #include "opencl/extensions/public/cl_ext_private.h" #include "opencl/test/unit_test/api/cl_api_tests.h" #include "opencl/test/unit_test/mocks/mock_csr.h" #include "test.h" u...
43.1875
133
0.818379
demarle
80c2525c7ccfe4737eedeeea3d6f477f7f2e864f
16,281
hpp
C++
include/System/Net/Sockets/Socket_--c.hpp
marksteward/BeatSaber-Quest-Codegen
a76f063f71cef207a9f048ad7613835f554911a7
[ "Unlicense" ]
null
null
null
include/System/Net/Sockets/Socket_--c.hpp
marksteward/BeatSaber-Quest-Codegen
a76f063f71cef207a9f048ad7613835f554911a7
[ "Unlicense" ]
null
null
null
include/System/Net/Sockets/Socket_--c.hpp
marksteward/BeatSaber-Quest-Codegen
a76f063f71cef207a9f048ad7613835f554911a7
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" #include "extern/beatsaber-hook/shared/utils/byref.hpp" // Including type: System.Net.Soc...
61.206767
198
0.697684
marksteward
80c31544389e2cfaff807ed3037a2bcf0f4907d1
10,828
cc
C++
crp_test.cc
redpony/cpyp
7ecb1801af3636f9d5ae008799ae412d476153e2
[ "Apache-2.0" ]
29
2015-01-21T07:18:16.000Z
2021-06-10T00:57:54.000Z
crp_test.cc
redpony/cpyp
7ecb1801af3636f9d5ae008799ae412d476153e2
[ "Apache-2.0" ]
null
null
null
crp_test.cc
redpony/cpyp
7ecb1801af3636f9d5ae008799ae412d476153e2
[ "Apache-2.0" ]
8
2015-02-25T06:02:46.000Z
2021-06-10T00:57:38.000Z
#include <iostream> #include <vector> #include <cassert> #include <string> #include "cpyp/crp.h" #include "cpyp/mf_crp.h" #include "cpyp/random.h" using namespace std; static const double p0[] = { 0.1, 0.2, 0.7 }; // actual base distribution static const double q0[] = { 0.5, 0.4, 0.1 }; // proposal base distributi...
32.322388
200
0.526782
redpony
80c3c99bb8fbb974fe76f636a384b37d2accd24e
3,059
cpp
C++
abserv/abserv/DataProvider.cpp
pablokawan/ABx
064d6df265c48c667ce81b0a83f84e5e22a7ff53
[ "MIT" ]
null
null
null
abserv/abserv/DataProvider.cpp
pablokawan/ABx
064d6df265c48c667ce81b0a83f84e5e22a7ff53
[ "MIT" ]
null
null
null
abserv/abserv/DataProvider.cpp
pablokawan/ABx
064d6df265c48c667ce81b0a83f84e5e22a7ff53
[ "MIT" ]
null
null
null
/** * Copyright 2017-2020 Stefan Ascher * * 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, pub...
28.324074
91
0.692056
pablokawan
80c45048c0b03a0a5cb03a4be780850e063a2fc8
353
cpp
C++
src/protocol/cert_finish.cpp
Vieraw/auth
5ed546a9b65289abc91c42813f66e59e363dd2d3
[ "MIT" ]
2
2021-12-04T11:19:45.000Z
2021-12-30T11:56:14.000Z
src/protocol/cert_finish.cpp
Vieraw/auth
5ed546a9b65289abc91c42813f66e59e363dd2d3
[ "MIT" ]
null
null
null
src/protocol/cert_finish.cpp
Vieraw/auth
5ed546a9b65289abc91c42813f66e59e363dd2d3
[ "MIT" ]
1
2021-12-04T11:19:53.000Z
2021-12-04T11:19:53.000Z
#include "cert_finish.h" #include "../auth_client.h" namespace protocol { factory_register<cert_finish> cert_finish::_add{548}; void cert_finish::read(util::bytestream &data) {} void cert_finish::write() { util::bytestream body; body << retcode; body << reserved1; getCli...
19.611111
57
0.623229
Vieraw
80c87ce8a6964225c2340f1c74b12eba28d8f14f
55,153
cpp
C++
src/DjvuLib.Shared/libdjvu/DjVuDocument.cpp
eadordzhiev/DjvuLib
cbbe626708630e8d2abe5ba3ffed1d1d744700ca
[ "Apache-2.0" ]
1
2018-01-14T23:21:13.000Z
2018-01-14T23:21:13.000Z
src/DjvuLib.Shared/libdjvu/DjVuDocument.cpp
eadordzhiev/DjvuLib
cbbe626708630e8d2abe5ba3ffed1d1d744700ca
[ "Apache-2.0" ]
null
null
null
src/DjvuLib.Shared/libdjvu/DjVuDocument.cpp
eadordzhiev/DjvuLib
cbbe626708630e8d2abe5ba3ffed1d1d744700ca
[ "Apache-2.0" ]
null
null
null
//C- -*- C++ -*- //C- ------------------------------------------------------------------- //C- DjVuLibre-3.5 //C- Copyright (c) 2002 Leon Bottou and Yann Le Cun. //C- Copyright (c) 2001 AT&T //C- //C- This software is subject to, and may be distributed under, the //C- GNU General Public License, either Version 2 of ...
29.446343
176
0.608145
eadordzhiev
80cc82c4ba7e1394b737e9be368d245622335d3c
17,386
cpp
C++
tests/cpu/ParseUtils_tests.cpp
kartik1000/OpenColorIO
9d6089faaae5f69d94fe73ac25f336d04216abb1
[ "BSD-3-Clause" ]
null
null
null
tests/cpu/ParseUtils_tests.cpp
kartik1000/OpenColorIO
9d6089faaae5f69d94fe73ac25f336d04216abb1
[ "BSD-3-Clause" ]
1
2020-06-12T19:10:09.000Z
2020-06-12T19:10:09.000Z
tests/cpu/ParseUtils_tests.cpp
kartik1000/OpenColorIO
9d6089faaae5f69d94fe73ac25f336d04216abb1
[ "BSD-3-Clause" ]
null
null
null
// SPDX-License-Identifier: BSD-3-Clause // Copyright Contributors to the OpenColorIO Project. #include "ParseUtils.cpp" #include "UnitTest.h" namespace OCIO = OCIO_NAMESPACE; OCIO_ADD_TEST(ParseUtils, xml_text) { const std::string in("abc \" def ' ghi < jkl > mnop & efg"); const std::string ref("abc &quot;...
36.220833
85
0.702979
kartik1000
80d3611d33fade77f36797e37b841fe48c50b679
3,084
cpp
C++
src/dist/topology.cpp
cbassem/resilient-icnc
9f94b185358f2af133244fc8c877190bd15ed413
[ "BSD-3-Clause" ]
null
null
null
src/dist/topology.cpp
cbassem/resilient-icnc
9f94b185358f2af133244fc8c877190bd15ed413
[ "BSD-3-Clause" ]
null
null
null
src/dist/topology.cpp
cbassem/resilient-icnc
9f94b185358f2af133244fc8c877190bd15ed413
[ "BSD-3-Clause" ]
null
null
null
/* ******************************************************************************* * Copyright (c) 2010-2014, Intel Corporation * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source c...
42.246575
82
0.530156
cbassem
80d6c3c5f9a375b04891a005ad03dde5c82aaa65
1,033
cpp
C++
src/ieme/raw_fraction.test.cpp
Adjacence/Ieme
be411b0a5d6048c7f6f3213e199ab982e0040ce7
[ "MIT" ]
null
null
null
src/ieme/raw_fraction.test.cpp
Adjacence/Ieme
be411b0a5d6048c7f6f3213e199ab982e0040ce7
[ "MIT" ]
null
null
null
src/ieme/raw_fraction.test.cpp
Adjacence/Ieme
be411b0a5d6048c7f6f3213e199ab982e0040ce7
[ "MIT" ]
null
null
null
#define CATCH_CONFIG_MAIN #include <catch2/catch.hpp> #include <ieme/raw_fraction.hpp> using namespace ieme; TEST_CASE("A raw fraction can be constructed from a numerator and denominator", "[raw_fraction]") { const auto rf = raw_fraction(34, -21); REQUIRE(rf.numerator == 34); REQUIRE(rf.denominato...
21.081633
79
0.666989
Adjacence
80d7c8e1e3e7056cfefc53dc281bc1eff730d850
1,162
cpp
C++
data_struct/sort/shell_sort.cpp
AMDyesIntelno/c_cpp_code
972b452976a67be0c9c1fdac8caffa4baf00c5cf
[ "MIT" ]
null
null
null
data_struct/sort/shell_sort.cpp
AMDyesIntelno/c_cpp_code
972b452976a67be0c9c1fdac8caffa4baf00c5cf
[ "MIT" ]
null
null
null
data_struct/sort/shell_sort.cpp
AMDyesIntelno/c_cpp_code
972b452976a67be0c9c1fdac8caffa4baf00c5cf
[ "MIT" ]
null
null
null
#include"shell_sort.h" void shell_sort(int *array, int len) {//希尔排序 for (int shell = len / 2; shell > 0; shell /= 2) {//切片 for (int i = shell; i < len; ++i) {//片后递增 int j; int temp = array[i]; for (j = i; j >= shell && array[j - shell] > temp; j -= shell) {//修改为部分片段有序 ...
25.822222
87
0.444062
AMDyesIntelno
80d8653295e044ee07bbb17b96bf6d26500cff9d
5,587
cc
C++
cpp_src/net/connection.cc
andyoknen/reindexer
ff1b2bcc0a80c4692361c9c184243d74a920ead7
[ "Apache-2.0" ]
null
null
null
cpp_src/net/connection.cc
andyoknen/reindexer
ff1b2bcc0a80c4692361c9c184243d74a920ead7
[ "Apache-2.0" ]
null
null
null
cpp_src/net/connection.cc
andyoknen/reindexer
ff1b2bcc0a80c4692361c9c184243d74a920ead7
[ "Apache-2.0" ]
null
null
null
#include "connection.h" #include <errno.h> namespace reindexer { namespace net { constexpr double kStatsUpdatePeriod = 1.0; template <typename Mutex> Connection<Mutex>::Connection(int fd, ev::dynamic_loop &loop, bool enableStat, size_t readBufSize, size_t writeBufSize) : sock_(fd), curEvents_(0), wrBuf_(writeBufS...
26.860577
134
0.696975
andyoknen
80d94cd2b09b249f103fe349d7ad276cfb120747
1,338
cpp
C++
tests/unit/util/bind/bind_eq2_test.cpp
kempj/hpx
ffdbfed5dfa029a0f2e97e7367cb66d12103df67
[ "BSL-1.0" ]
null
null
null
tests/unit/util/bind/bind_eq2_test.cpp
kempj/hpx
ffdbfed5dfa029a0f2e97e7367cb66d12103df67
[ "BSL-1.0" ]
null
null
null
tests/unit/util/bind/bind_eq2_test.cpp
kempj/hpx
ffdbfed5dfa029a0f2e97e7367cb66d12103df67
[ "BSL-1.0" ]
null
null
null
#include <hpx/hpx_init.hpp> #if defined(BOOST_MSVC) #pragma warning(disable: 4786) // identifier truncated in debug info #pragma warning(disable: 4710) // function not inlined #pragma warning(disable: 4711) // function selected for automatic inline expansion #pragma warning(disable: 4514) // unreferenced inline re...
24.777778
84
0.705531
kempj
80daf695d8bb249fe240e7bc79ca7bfa2345912c
1,111
hpp
C++
engine/graphics/opengl/android/OGLRenderDeviceAndroid.hpp
tsukoyumi/ouzel
43f4f4871d49a310529366a4a4db061a96097164
[ "Unlicense" ]
null
null
null
engine/graphics/opengl/android/OGLRenderDeviceAndroid.hpp
tsukoyumi/ouzel
43f4f4871d49a310529366a4a4db061a96097164
[ "Unlicense" ]
null
null
null
engine/graphics/opengl/android/OGLRenderDeviceAndroid.hpp
tsukoyumi/ouzel
43f4f4871d49a310529366a4a4db061a96097164
[ "Unlicense" ]
null
null
null
// Ouzel by Elviss Strazdins #ifndef OUZEL_GRAPHICS_OGLRENDERDEVICEANDROID_HPP #define OUZEL_GRAPHICS_OGLRENDERDEVICEANDROID_HPP #include "../../../core/Setup.h" #if defined(__ANDROID__) && OUZEL_COMPILE_OPENGL #include <atomic> #include <thread> #include "EGL/egl.h" #include "EGL/eglext.h" #include "../OGLRenderDe...
23.638298
57
0.663366
tsukoyumi
80daf8b21bab6bff7f87e994cf44ffaa0d3c6150
18,584
cc
C++
src/voxel.cc
c-lamas/voxel_packing
eb3f9b8de086982524d0c92d90a522fbd8acc2f1
[ "MIT" ]
null
null
null
src/voxel.cc
c-lamas/voxel_packing
eb3f9b8de086982524d0c92d90a522fbd8acc2f1
[ "MIT" ]
null
null
null
src/voxel.cc
c-lamas/voxel_packing
eb3f9b8de086982524d0c92d90a522fbd8acc2f1
[ "MIT" ]
null
null
null
#include "3dlib.h" #include <string> #include <fstream> #include <iostream> #include <cmath> using namespace std; VOXEL::VOXEL() { init = false; resolution = 0.1; creationTime = -1; rotAngle.assign(3, 0); cornerInd.assign(3, 0); corner.assign(3, 0); name = "empty dir"; // cout << "Initialized voxel!" << endl;...
25.353342
126
0.556877
c-lamas
80db2b04153406f97e4ff94b441f4a186a9e2baf
15,651
cpp
C++
cpp/benchmarks/core/Hashmap.cpp
Dudulle/Open3D
ffed2d1bee6d45b6acc4b7ae7133752e50d6ecab
[ "MIT" ]
8
2021-03-17T14:24:12.000Z
2022-03-30T15:35:27.000Z
cpp/benchmarks/core/Hashmap.cpp
Dudulle/Open3D
ffed2d1bee6d45b6acc4b7ae7133752e50d6ecab
[ "MIT" ]
1
2021-11-04T09:22:25.000Z
2022-02-14T01:32:31.000Z
cpp/benchmarks/core/Hashmap.cpp
Dudulle/Open3D
ffed2d1bee6d45b6acc4b7ae7133752e50d6ecab
[ "MIT" ]
2
2021-08-24T18:06:55.000Z
2021-12-17T10:48:34.000Z
// ---------------------------------------------------------------------------- // - Open3D: www.open3d.org - // ---------------------------------------------------------------------------- // The MIT License (MIT) // // Copyright (c) 2018 www.open3d.org // // Permissio...
35.25
80
0.566481
Dudulle
80dcbb4d66b4bfaa14e106657536ce4da581394e
1,986
cpp
C++
contests/1579/c.cpp
Peppa-Peddler/graph-theory
ed022859a1378386d8dba4e7ade6a96a7d683827
[ "MIT" ]
null
null
null
contests/1579/c.cpp
Peppa-Peddler/graph-theory
ed022859a1378386d8dba4e7ade6a96a7d683827
[ "MIT" ]
null
null
null
contests/1579/c.cpp
Peppa-Peddler/graph-theory
ed022859a1378386d8dba4e7ade6a96a7d683827
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> #define LL long long #define PII pair<int, int> #define VI vector<int> #define PB push_back #define PQ priority_queue #define MP make_pair #define F first #define S second #define MOD 1000000007 #define N6 1000006 #define N5 100005 #define N4 10004 #define N3 1003 #define PI 3.1415926535897...
20.060606
115
0.376636
Peppa-Peddler
80dd316621eee700deb9e18f3fc3bff98a7900c9
3,965
cpp
C++
crank_nicolson_solver.cpp
hamchiy/yya_pde_solver
bb8390031a761ccdc829893728cd7c6906811a1a
[ "BSD-3-Clause" ]
null
null
null
crank_nicolson_solver.cpp
hamchiy/yya_pde_solver
bb8390031a761ccdc829893728cd7c6906811a1a
[ "BSD-3-Clause" ]
null
null
null
crank_nicolson_solver.cpp
hamchiy/yya_pde_solver
bb8390031a761ccdc829893728cd7c6906811a1a
[ "BSD-3-Clause" ]
null
null
null
#include "crank_nicolson_solver.hpp" using namespace std; void gauss(vector<vector<double>>& augmented_matrix) { int n = augmented_matrix.size(); for(int i=0; i<n; ++i) { // find row from i with largest value at i int tr = i; for(int j=i+1; j<n; ++j) { if(fabs(augmented_mat...
31.975806
115
0.545271
hamchiy
80dd643c24851f355702d9f18f3c131795a108d2
477
cpp
C++
himan-lib/source/logger.cpp
jrintala/fmi-data
625f0a44919e6406440349425ee0b3f1a64a923d
[ "MIT" ]
null
null
null
himan-lib/source/logger.cpp
jrintala/fmi-data
625f0a44919e6406440349425ee0b3f1a64a923d
[ "MIT" ]
null
null
null
himan-lib/source/logger.cpp
jrintala/fmi-data
625f0a44919e6406440349425ee0b3f1a64a923d
[ "MIT" ]
null
null
null
/* * logger.cpp * */ #include "logger.h" namespace himan { HPDebugState logger::MainDebugState = himan::kInfoMsg; logger::logger() : itsDebugState(kInfoMsg), itsUserName("HimanDefaultLogger") {} logger::logger(const std::string& theUserName) : itsDebugState(MainDebugState), itsUserName(theUserName) { } logge...
19.875
80
0.742138
jrintala
80de7970282a63cd314ca79d0b1925857a40d4f4
2,168
hh
C++
src/gui/plugins/modules/EntityContextMenu.hh
jasmeet0915/ign-gazebo
fc2a98ec5e1b149d773eeb6cae4a407bd82a81a2
[ "ECL-2.0", "Apache-2.0" ]
198
2020-04-15T16:56:09.000Z
2022-03-27T12:31:08.000Z
src/gui/plugins/modules/EntityContextMenu.hh
jasmeet0915/ign-gazebo
fc2a98ec5e1b149d773eeb6cae4a407bd82a81a2
[ "ECL-2.0", "Apache-2.0" ]
1,220
2020-04-15T18:10:29.000Z
2022-03-31T22:37:06.000Z
src/gui/plugins/modules/EntityContextMenu.hh
jasmeet0915/ign-gazebo
fc2a98ec5e1b149d773eeb6cae4a407bd82a81a2
[ "ECL-2.0", "Apache-2.0" ]
134
2020-04-15T16:59:57.000Z
2022-03-26T08:51:31.000Z
/* * Copyright (C) 2019 Open Source Robotics Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
28.526316
78
0.712177
jasmeet0915
80e1da0d8c4ecb61f2a1fdce91d01618dc6538a4
5,258
cc
C++
Contrib/dmk/dsk2dmk.cc
D15C0DE/openMSX
5119a9657de4b82115c745f670cdc55dc7363133
[ "Naumen", "Condor-1.1", "MS-PL" ]
4
2015-06-19T04:49:29.000Z
2022-02-16T15:02:04.000Z
Contrib/dmk/dsk2dmk.cc
D15C0DE/openMSX
5119a9657de4b82115c745f670cdc55dc7363133
[ "Naumen", "Condor-1.1", "MS-PL" ]
1
2016-01-02T15:55:29.000Z
2016-01-02T15:55:29.000Z
Contrib/dmk/dsk2dmk.cc
D15C0DE/openMSX
5119a9657de4b82115c745f670cdc55dc7363133
[ "Naumen", "Condor-1.1", "MS-PL" ]
2
2020-01-17T02:06:13.000Z
2021-06-10T17:13:07.000Z
#include <string> #include <stdexcept> #include <vector> #include <cassert> #include <cstdio> #include <cstring> #include <cstdlib> #include <sys/stat.h> #include <sys/types.h> using namespace std; typedef unsigned char byte; // 8 bit typedef unsigned short word; // 16 bit static const unsigned int TRACK_LENGTH = ...
23.9
77
0.600228
D15C0DE
80e52a4c1c3408fc4f939f10db771133a42d2293
1,737
hpp
C++
test/unittest/ast/TypeTest.hpp
denisw/soyac
2531e16e8dfbfa966931b774f9d79af528d16ff9
[ "MIT" ]
1
2019-06-17T07:16:01.000Z
2019-06-17T07:16:01.000Z
test/unittest/ast/TypeTest.hpp
denisw/soyac
2531e16e8dfbfa966931b774f9d79af528d16ff9
[ "MIT" ]
null
null
null
test/unittest/ast/TypeTest.hpp
denisw/soyac
2531e16e8dfbfa966931b774f9d79af528d16ff9
[ "MIT" ]
null
null
null
/* * soyac - The Soya programming language compiler * Copyright (c) 2009 Denis Washington <dwashington@gmx.net> * * This file is distributed under the terms of the MIT license. * See LICENSE.txt for details. */ #ifndef _TYPE_DECLARATION_TEST_HPP #define _TYPE_DECLARATION_TEST_HPP #include <cppunit/TestFixture.h...
21.7125
72
0.685665
denisw
80e640db29bb7cd4d51acbf82f90ad063f62a50a
2,771
ipp
C++
ThirdParty/oglplus-develop/implement/oglplus/enums/ext/compat_attrib_group_names.ipp
vif/3D-STG
721402e76a9b9b99b88ba3eb06beb6abb17a9254
[ "MIT" ]
24
2015-01-31T15:30:49.000Z
2022-01-29T08:36:42.000Z
ThirdParty/oglplus-develop/implement/oglplus/enums/ext/compat_attrib_group_names.ipp
vif/3D-STG
721402e76a9b9b99b88ba3eb06beb6abb17a9254
[ "MIT" ]
4
2015-08-21T02:29:15.000Z
2020-05-02T13:50:36.000Z
ThirdParty/oglplus-develop/implement/oglplus/enums/ext/compat_attrib_group_names.ipp
vif/3D-STG
721402e76a9b9b99b88ba3eb06beb6abb17a9254
[ "MIT" ]
9
2015-06-08T22:04:15.000Z
2021-08-16T03:52:11.000Z
/* * .file oglplus/enums/ext/compat_attrib_group_names.ipp * * Automatically generated header file. DO NOT modify manually, * edit 'source/enums/oglplus/ext/compat_attrib_group.txt' instead. * * Copyright 2010-2013 Matus Chochlik. Distributed under the Boost * Software License, Version 1.0. (See accompanyin...
27.989899
73
0.799711
vif
80e6498b78010eff5a4b5cd93b14da69a061aaee
7,930
cpp
C++
test/unit/multithread_simple.cpp
jsoniq/jsoniq
f7af29417f809d64d1f0b2622d880bc4d87f2e42
[ "Apache-2.0" ]
94
2015-01-18T09:40:36.000Z
2022-03-02T21:14:55.000Z
test/unit/multithread_simple.cpp
jsoniq/jsoniq
f7af29417f809d64d1f0b2622d880bc4d87f2e42
[ "Apache-2.0" ]
72
2015-01-05T22:00:31.000Z
2021-07-17T11:35:03.000Z
test/unit/multithread_simple.cpp
jsoniq/jsoniq
f7af29417f809d64d1f0b2622d880bc4d87f2e42
[ "Apache-2.0" ]
27
2015-01-18T20:20:54.000Z
2020-11-01T18:01:07.000Z
/* * Copyright 2006-2008 The FLWOR Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
22.464589
114
0.621438
jsoniq
80e6b0ae1b1addd9b76ad9c10d68f0b76f3f186f
382
cpp
C++
opencl/source/gen11/sampler_gen11.cpp
troels/compute-runtime
3269e719a3ee7bcd97c50ec2cfe78fc8674adec0
[ "Intel", "MIT" ]
778
2017-09-29T20:02:43.000Z
2022-03-31T15:35:28.000Z
opencl/source/gen11/sampler_gen11.cpp
troels/compute-runtime
3269e719a3ee7bcd97c50ec2cfe78fc8674adec0
[ "Intel", "MIT" ]
478
2018-01-26T16:06:45.000Z
2022-03-30T10:19:10.000Z
opencl/source/gen11/sampler_gen11.cpp
troels/compute-runtime
3269e719a3ee7bcd97c50ec2cfe78fc8674adec0
[ "Intel", "MIT" ]
215
2018-01-30T08:39:32.000Z
2022-03-29T11:08:51.000Z
/* * Copyright (C) 2019-2021 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "shared/source/gen11/hw_cmds.h" #include "opencl/source/sampler/sampler.h" #include "opencl/source/sampler/sampler.inl" namespace NEO { typedef ICLFamily Family; static auto gfxCore = IGFX_GEN11_CORE; #include "openc...
19.1
57
0.751309
troels
80e9d41143bfb645b20bd879fd615d868e98fac0
6,085
cpp
C++
codecs/png.cpp
mattvchandler/asciiart
65eeb38aa42b98d49ce15bb2cc3a98950edb18cc
[ "MIT" ]
5
2020-06-02T18:05:43.000Z
2022-02-19T10:44:47.000Z
codecs/png.cpp
mattvchandler/asciiart
65eeb38aa42b98d49ce15bb2cc3a98950edb18cc
[ "MIT" ]
null
null
null
codecs/png.cpp
mattvchandler/asciiart
65eeb38aa42b98d49ce15bb2cc3a98950edb18cc
[ "MIT" ]
1
2021-11-29T15:32:54.000Z
2021-11-29T15:32:54.000Z
#include "png.hpp" #include <iostream> #include <stdexcept> #include <csetjmp> #include <png.h> #ifdef EXIF_FOUND #include "exif.hpp" #endif void read_fn(png_structp png_ptr, png_bytep data, png_size_t length) noexcept { auto in = static_cast<std::istream *>(png_get_io_ptr(png_ptr)); if(!in) std::l...
31.045918
134
0.652588
mattvchandler
80eae8dda71122b56fbf3c238af4f2ecccd455a5
13,517
cpp
C++
allocator/buddyallocator.cpp
StiliyanDr/allocator
eb83302d52b1992509556cfa7044c4b99884ad2a
[ "MIT" ]
null
null
null
allocator/buddyallocator.cpp
StiliyanDr/allocator
eb83302d52b1992509556cfa7044c4b99884ad2a
[ "MIT" ]
null
null
null
allocator/buddyallocator.cpp
StiliyanDr/allocator
eb83302d52b1992509556cfa7044c4b99884ad2a
[ "MIT" ]
null
null
null
#include "buddyallocator.hpp" #include <assert.h> #include <memory> #include <stdexcept> #include <utility> #include "insufficientmemory.hpp" namespace allocator { BuddyAllocator::BuddyAllocator() : free_lists(nullptr) { } BuddyAllocator::BuddyAllocator(void* memory, std::size_t size) ...
26.246602
81
0.55138
StiliyanDr
80ef0c9370db2488cac6a2d292106e0d7f4291ec
469
cpp
C++
pre_ast/nodes/statement_with_two_bodies.cpp
kahveciderin/cornpiler
b6f843eb44e7b79ef74b0943ec9792ab1cb4740c
[ "Unlicense" ]
null
null
null
pre_ast/nodes/statement_with_two_bodies.cpp
kahveciderin/cornpiler
b6f843eb44e7b79ef74b0943ec9792ab1cb4740c
[ "Unlicense" ]
null
null
null
pre_ast/nodes/statement_with_two_bodies.cpp
kahveciderin/cornpiler
b6f843eb44e7b79ef74b0943ec9792ab1cb4740c
[ "Unlicense" ]
null
null
null
#include "statement_with_two_bodies.hpp" ast_types::statement_with_two_bodies::statement_with_two_bodies() { act = act_type::statement_with_two_bodies; } std::string ast_types::statement_with_two_bodies::print_node() { return "\"statement_with_two_bodies\": {\"name\":" + this->name.print_node() + ",\"args\"...
52.111111
112
0.663113
kahveciderin
80f2405fa92fe83e58f69c27345bb4323bbb5bb3
27,406
cpp
C++
src/mongo/s/metadata_loader_test.cpp
edaniels/mongo
60f9f92f966d7bfabe722d96bc6e196292a4d051
[ "Apache-2.0" ]
null
null
null
src/mongo/s/metadata_loader_test.cpp
edaniels/mongo
60f9f92f966d7bfabe722d96bc6e196292a4d051
[ "Apache-2.0" ]
null
null
null
src/mongo/s/metadata_loader_test.cpp
edaniels/mongo
60f9f92f966d7bfabe722d96bc6e196292a4d051
[ "Apache-2.0" ]
null
null
null
/** * Copyright (C) 2012 10gen Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful...
41.15015
100
0.563234
edaniels
80f6022056824e14f3d3d63c443688449a0a547f
11,182
cpp
C++
util/stringutils.cpp
velezladonna/mwc-qt-wallet
bd241b91d28350e17e52a10208e663fcb992d7cc
[ "Apache-2.0" ]
1
2020-03-19T10:02:16.000Z
2020-03-19T10:02:16.000Z
util/stringutils.cpp
velezladonna/mwc-qt-wallet
bd241b91d28350e17e52a10208e663fcb992d7cc
[ "Apache-2.0" ]
null
null
null
util/stringutils.cpp
velezladonna/mwc-qt-wallet
bd241b91d28350e17e52a10208e663fcb992d7cc
[ "Apache-2.0" ]
null
null
null
// Copyright 2019 The MWC Developers // // 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...
28.025063
153
0.57682
velezladonna
80f6e80ae172b31325dd4d0436339854d817c833
2,888
cc
C++
Core/DianYing/Source/Component/Internal/Script/Widget/FDyWidgetScriptStatus.cc
liliilli/DianYing
6e19f67e5d932e346a0ce63a648bed1a04ef618e
[ "MIT" ]
4
2019-03-17T19:46:54.000Z
2019-12-09T20:11:01.000Z
Core/DianYing/Source/Component/Internal/Script/Widget/FDyWidgetScriptStatus.cc
liliilli/DianYing
6e19f67e5d932e346a0ce63a648bed1a04ef618e
[ "MIT" ]
null
null
null
Core/DianYing/Source/Component/Internal/Script/Widget/FDyWidgetScriptStatus.cc
liliilli/DianYing
6e19f67e5d932e346a0ce63a648bed1a04ef618e
[ "MIT" ]
null
null
null
#include <precompiled.h> /// /// MIT License /// Copyright (c) 2018-2019 Jongmin Yun /// /// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR /// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, /// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL...
32.449438
110
0.756579
liliilli
80fbdfc39197bacf52a50250240993dbf19c38dc
16,849
cpp
C++
latte-dock/app/main.cpp
VaughnValle/lush-pop
cdfe9d7b6a7ebb89ba036ab9a4f07d8db6817355
[ "MIT" ]
64
2020-07-08T18:49:29.000Z
2022-03-23T22:58:49.000Z
latte-dock/app/main.cpp
VaughnValle/kanji-pop
0153059f0c62a8aeb809545c040225da5d249bb8
[ "MIT" ]
1
2021-04-02T04:39:45.000Z
2021-09-25T11:53:18.000Z
latte-dock/app/main.cpp
VaughnValle/kanji-pop
0153059f0c62a8aeb809545c040225da5d249bb8
[ "MIT" ]
11
2020-12-04T18:19:11.000Z
2022-01-10T08:50:08.000Z
/* * Copyright 2016 Smith AR <audoban@openmailbox.org> * Michail Vourlakos <mvourlakos@gmail.com> * * This file is part of Latte-Dock * * Latte-Dock is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software F...
41.5
368
0.664372
VaughnValle
440059144dfea91aa588a1c33aa055eb6e5a1794
6,842
hpp
C++
src/vlGraphics/Renderer.hpp
zpc930/visualizationlibrary
c81fa75c720a3d04d295b977a1f5dc4624428b53
[ "BSD-2-Clause" ]
null
null
null
src/vlGraphics/Renderer.hpp
zpc930/visualizationlibrary
c81fa75c720a3d04d295b977a1f5dc4624428b53
[ "BSD-2-Clause" ]
null
null
null
src/vlGraphics/Renderer.hpp
zpc930/visualizationlibrary
c81fa75c720a3d04d295b977a1f5dc4624428b53
[ "BSD-2-Clause" ]
null
null
null
/**************************************************************************************/ /* */ /* Visualization Library */ /* http://www.visualizationlibrary.org ...
60.017544
132
0.573078
zpc930
4404670291faa8763a29228118cdff20781281d7
788
cpp
C++
src/food.cpp
prinsij/RogueReborn
20e6ba4d2e61a47283747ba207a758e604fa89d9
[ "BSD-3-Clause" ]
null
null
null
src/food.cpp
prinsij/RogueReborn
20e6ba4d2e61a47283747ba207a758e604fa89d9
[ "BSD-3-Clause" ]
null
null
null
src/food.cpp
prinsij/RogueReborn
20e6ba4d2e61a47283747ba207a758e604fa89d9
[ "BSD-3-Clause" ]
null
null
null
/** * @file food.cpp * @author Team Rogue++ * @date December 08, 2016 * * @brief Member definitions for the Food class */ #include "include/coord.h" #include "include/food.h" #include "include/item.h" #include "include/random.h" Food::Food(Coord location, Item::Context context) : Item(':', location, context, ...
24.625
95
0.690355
prinsij
440c078334872159b62ad7668efd952d6af5bceb
2,685
cpp
C++
Binary Search Trees/Check BT is BST or not 3.cpp
hidayat7z/Data-Structures-and-Algorithms
b78fc9c09b55f6ce9e92edeb48b5069792c4341b
[ "MIT" ]
22
2020-09-13T15:12:50.000Z
2021-01-29T08:29:57.000Z
Binary Search Trees/Check BT is BST or not 3.cpp
hidayat7z/Data-Structures-and-Algorithms
b78fc9c09b55f6ce9e92edeb48b5069792c4341b
[ "MIT" ]
null
null
null
Binary Search Trees/Check BT is BST or not 3.cpp
hidayat7z/Data-Structures-and-Algorithms
b78fc9c09b55f6ce9e92edeb48b5069792c4341b
[ "MIT" ]
6
2020-09-13T15:34:38.000Z
2021-01-29T08:30:01.000Z
/* Input taken in the BST with same method as Binary Tree */ #include<iostream> #include<queue> using namespace std; template<typename T> class BinaryTreeNode { public: T data; BinaryTreeNode* left; BinaryTreeNode* right; BinaryTreeNode(T data) { this->data= data; left= NU...
17.664474
74
0.579516
hidayat7z
4411db54c23103b2369bc4d42bf76f6d37b00cd8
2,289
hpp
C++
lib/SelbaWard/PieChart.hpp
BridgeFan/bridgefan-tbs-game
062593cf3094cc6fe9858b5575dd76d020774698
[ "MIT" ]
null
null
null
lib/SelbaWard/PieChart.hpp
BridgeFan/bridgefan-tbs-game
062593cf3094cc6fe9858b5575dd76d020774698
[ "MIT" ]
1
2020-08-16T18:01:37.000Z
2020-08-16T18:01:37.000Z
lib/SelbaWard/PieChart.hpp
BridgeFan/bridgefan-tbs-game
062593cf3094cc6fe9858b5575dd76d020774698
[ "MIT" ]
null
null
null
////////////////////////////////////////////////////////////////////////////// // // Selba Ward (https://github.com/Hapaxia/SelbaWard) // -- // // Pie Chart // // Copyright(c) 2015-2019 M.J.Silk // // This software is provided 'as-is', without any express or implied // warranty. In no event will the authors be held lia...
24.094737
78
0.68152
BridgeFan
4415da814c141209ad4ec869f6e50a5dcb905fc0
179
cpp
C++
third-party/Empirical/tests/Evolve/World_iterator.cpp
koellingh/empirical-p53-simulator
aa6232f661e8fc65852ab6d3e809339557af521b
[ "MIT" ]
null
null
null
third-party/Empirical/tests/Evolve/World_iterator.cpp
koellingh/empirical-p53-simulator
aa6232f661e8fc65852ab6d3e809339557af521b
[ "MIT" ]
null
null
null
third-party/Empirical/tests/Evolve/World_iterator.cpp
koellingh/empirical-p53-simulator
aa6232f661e8fc65852ab6d3e809339557af521b
[ "MIT" ]
null
null
null
#define CATCH_CONFIG_MAIN #include "third-party/Catch/single_include/catch2/catch.hpp" #include "emp/Evolve/World_iterator.hpp" TEST_CASE("Test World_iterator", "[Evolve]") { }
19.888889
60
0.776536
koellingh
4417001ac890b32726630402c98f71955543c4e2
915
cpp
C++
src/cpp/SbfMw.cpp
james-rank/sbf
f2b3ce8c4a324110a22cb880970d2a34bd22ef27
[ "MIT" ]
null
null
null
src/cpp/SbfMw.cpp
james-rank/sbf
f2b3ce8c4a324110a22cb880970d2a34bd22ef27
[ "MIT" ]
null
null
null
src/cpp/SbfMw.cpp
james-rank/sbf
f2b3ce8c4a324110a22cb880970d2a34bd22ef27
[ "MIT" ]
null
null
null
#include "SbfMw.hpp" neueda::SbfMw::SbfMw (SbfLog* log, SbfKeyValue* properties) : mLog(log), mProperties(properties) { mValue = sbfMw_create (log->getHandle(), properties->getHandle()); } neueda::SbfMw::~SbfMw () { if (getHandle () != NULL) sbfMw_destroy (getHandle ()); } sbfMw neueda::SbfMw...
17.941176
70
0.64153
james-rank
441bfa9628c3045eb98ff61b53500e9b1c67241a
500
cpp
C++
performance/ejercicio01/authentication.cpp
gerardogtn/Calidad-y-Pruebas-de-Software
ed338b5627a343b7dee366aaa36cd735f74e53af
[ "MIT" ]
null
null
null
performance/ejercicio01/authentication.cpp
gerardogtn/Calidad-y-Pruebas-de-Software
ed338b5627a343b7dee366aaa36cd735f74e53af
[ "MIT" ]
null
null
null
performance/ejercicio01/authentication.cpp
gerardogtn/Calidad-y-Pruebas-de-Software
ed338b5627a343b7dee366aaa36cd735f74e53af
[ "MIT" ]
null
null
null
// Copyright 2017 Gerardo Teruel #include <cstdio> #include <cstring> // If you overflow temp, then you'd modify out variable. Thus getting a one, // and indicating a valid authentication int fun(char* pass) { int out = 0; char temp[8]; strcpy(temp, pass); if (strcmp(temp, "1234567") == 0) { out = 1; }...
17.857143
76
0.608
gerardogtn
44213ad99d5c907952549fe9e5b7271ecfd4fdad
478
cpp
C++
src/TREngine/Core/Render/RawShader.cpp
CXUtk/TRV2
945950012e2385aeb24e80bf5e876703445ba423
[ "Apache-2.0" ]
null
null
null
src/TREngine/Core/Render/RawShader.cpp
CXUtk/TRV2
945950012e2385aeb24e80bf5e876703445ba423
[ "Apache-2.0" ]
15
2021-09-04T13:02:51.000Z
2021-10-05T05:51:31.000Z
src/TREngine/Core/Render/RawShader.cpp
CXUtk/TRV2
945950012e2385aeb24e80bf5e876703445ba423
[ "Apache-2.0" ]
null
null
null
#include "RawShader.h" #include <Core/Utils/Utils.h> #include <array> TRV2_NAMESPACE_BEGIN RawShader::RawShader(IGraphicsResourceManager* resourceManager, const char* code, ShaderType shaderType, const char* fileName) : IGraphicsResource(resourceManager), _type(shaderType), _fileName(fileName) { _handle = r...
26.555556
126
0.784519
CXUtk
44220366f6eaebe87faf674f6c2511a30e537fb2
10,182
cpp
C++
XVrII/src/aircraft/SsgB748.cpp
ryan1336/VRInsight-Xplane-Interface
72e77d0f1f355350c5ec9f66783e8d0eb61c0449
[ "MIT" ]
null
null
null
XVrII/src/aircraft/SsgB748.cpp
ryan1336/VRInsight-Xplane-Interface
72e77d0f1f355350c5ec9f66783e8d0eb61c0449
[ "MIT" ]
null
null
null
XVrII/src/aircraft/SsgB748.cpp
ryan1336/VRInsight-Xplane-Interface
72e77d0f1f355350c5ec9f66783e8d0eb61c0449
[ "MIT" ]
null
null
null
#include "SsgB748.h" #include <XPLM/XPLMProcessing.h> #include "logger.h" #include <list> #include "VRiCommPort.h" //const char *SsgB748::LAM_B747_ND = "laminar/B747/nd/"; //const char *SsgB748::LAM_B747_EFIS = "laminar/B747/efis/"; //const char *SsgB748::LAM_B747_TOGGLE = "laminar/B747/toggle_switch/"; SsgB748::Ssg...
29.427746
192
0.760067
ryan1336
442365162689b70a872f4c11540530d3afcb31cb
6,941
cpp
C++
examples/camera_example.cpp
alexandre-bernier/coro-eyes-sdk
b552bf32e51d2b22ddf71dbaaf75f08f47f230a9
[ "BSD-3-Clause" ]
1
2022-03-27T01:12:30.000Z
2022-03-27T01:12:30.000Z
examples/camera_example.cpp
alexandre-bernier/coro_eyes_sdk
b552bf32e51d2b22ddf71dbaaf75f08f47f230a9
[ "BSD-3-Clause" ]
null
null
null
examples/camera_example.cpp
alexandre-bernier/coro_eyes_sdk
b552bf32e51d2b22ddf71dbaaf75f08f47f230a9
[ "BSD-3-Clause" ]
null
null
null
/** @file camera_example.cpp * @brief Example showing how to use the camera api. * @copyright BSD-3-Clause License * @example camera_example.cpp */ #include <iostream> #include "coro_eyes_sdk.h" /** * @brief Structure used as a callback argument. */ struct FrameInfo { std::string cv_window_name; ///< Nam...
22.318328
123
0.598185
alexandre-bernier
4427607a6d61d2217340657e0e84bb15145faf4a
5,216
cpp
C++
src/BlocksWorldExample.cpp
buele/pop
34dd8d7d4d6ec7d8cd3546b83bb3c77c0b23667c
[ "MIT" ]
2
2021-12-07T03:57:54.000Z
2022-02-08T07:20:36.000Z
src/BlocksWorldExample.cpp
buele/pop
34dd8d7d4d6ec7d8cd3546b83bb3c77c0b23667c
[ "MIT" ]
null
null
null
src/BlocksWorldExample.cpp
buele/pop
34dd8d7d4d6ec7d8cd3546b83bb3c77c0b23667c
[ "MIT" ]
1
2020-02-10T16:33:55.000Z
2020-02-10T16:33:55.000Z
/* * The MIT License * * Copyright 2017 buele. * * 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...
30.682353
86
0.66737
buele
442c7e8002da47505f832a4c1b84bc69ecddae3a
846
cpp
C++
C++_Essential_Training/Chap03/bitfields.cpp
MarkWMavis/developer_practice
a10a11874454eb805e4cea8cbbdbc315c9791996
[ "MIT" ]
1
2020-07-20T15:28:50.000Z
2020-07-20T15:28:50.000Z
C++_Essential_Training/Chap03/bitfields.cpp
MarkWMavis/developer_practice
a10a11874454eb805e4cea8cbbdbc315c9791996
[ "MIT" ]
1
2022-03-02T13:16:03.000Z
2022-03-02T13:16:03.000Z
C++/LinkedInLearning/Exercise Files/Chap03/bitfields.cpp
Youngermaster/Learning-Programming-Languages
b94d3d85abc6c107877b11b42a3862d4aae8e3ee
[ "MIT" ]
null
null
null
// bitfields.cpp by Bill Weinman <http://bw.org/> // updated 2020-06-24 #include <cstdio> struct Prefs { bool likesMusic : 1; bool hasHair : 1; bool hasInternet : 1; bool hasDinosaur : 1; unsigned int numberOfChildren : 4; }; int main() { Prefs homer; homer.likesMusic = true; homer.has...
26.4375
62
0.640662
MarkWMavis
4434004cb2a135e2962d0cd355d31585af27bfe7
1,402
cpp
C++
codeforce3/514D. R2D2 and Droid Army.cpp
khaled-farouk/My_problem_solving_solutions
46ed6481fc9b424d0714bc717cd0ba050a6638ef
[ "MIT" ]
null
null
null
codeforce3/514D. R2D2 and Droid Army.cpp
khaled-farouk/My_problem_solving_solutions
46ed6481fc9b424d0714bc717cd0ba050a6638ef
[ "MIT" ]
null
null
null
codeforce3/514D. R2D2 and Droid Army.cpp
khaled-farouk/My_problem_solving_solutions
46ed6481fc9b424d0714bc717cd0ba050a6638ef
[ "MIT" ]
null
null
null
/* Idea: - Using Segment tree to calculate the maximum in range. - Then using Two pointers to calculate the maximum segment. */ #include <bits/stdc++.h> using namespace std; int const N = 1e5 + 10; int n, m, k, a[N][6], sum[N], seg[4 * N][6]; void build(int at, int l, int r) { if(l == r) { for(int i = 1; i ...
17.308642
64
0.442225
khaled-farouk
44368b0c2549b557d5d84f1863103f09e2ca90a3
3,499
hpp
C++
include/eagine/shapes/value_tree.hpp
matus-chochlik/eagine-shapes
d77a5e92517771a0bcdc409668bae4d274115e84
[ "BSL-1.0" ]
null
null
null
include/eagine/shapes/value_tree.hpp
matus-chochlik/eagine-shapes
d77a5e92517771a0bcdc409668bae4d274115e84
[ "BSL-1.0" ]
null
null
null
include/eagine/shapes/value_tree.hpp
matus-chochlik/eagine-shapes
d77a5e92517771a0bcdc409668bae4d274115e84
[ "BSL-1.0" ]
null
null
null
/// @file /// /// Copyright Matus Chochlik. /// Distributed under the Boost Software License, Version 1.0. /// See accompanying file LICENSE_1_0.txt or copy at /// http://www.boost.org/LICENSE_1_0.txt /// #ifndef EAGINE_SHAPES_VALUE_TREE_HPP #define EAGINE_SHAPES_VALUE_TREE_HPP #include "config/basic.hpp" #include "...
34.303922
81
0.707631
matus-chochlik
4437a1d3ef26e66b7eb504af8c42de527c9ba7d2
7,612
cpp
C++
Studies/Graphics/OpenGL/src/main.cpp
iota97/Misc
fa72d84f0f63d4f5f30c538dba0bf97834018039
[ "MIT" ]
1
2019-05-09T09:54:04.000Z
2019-05-09T09:54:04.000Z
Studies/Graphics/OpenGL/src/main.cpp
iota97/Misc
fa72d84f0f63d4f5f30c538dba0bf97834018039
[ "MIT" ]
null
null
null
Studies/Graphics/OpenGL/src/main.cpp
iota97/Misc
fa72d84f0f63d4f5f30c538dba0bf97834018039
[ "MIT" ]
null
null
null
#include "GPU/glad/glad.h" #include "GPU/stb_image/stb_image.h" #include "GPU/Shader.h" #include "GPU/Camera.h" #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> #include <glm/gtc/type_ptr.hpp> #include <GLFW/glfw3.h> #include <stdio.h> void framebuffer_size_callback(GLFWwindow* window, int width, int hei...
30.943089
112
0.65515
iota97