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
108
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
67k
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
75badf88c78b05b59ba0ffb444e53832a715d815
3,171
cc
C++
shill/dbus/chromeos_modem_simple_proxy.cc
emersion/chromiumos-platform2
ba71ad06f7ba52e922c647a8915ff852b2d4ebbd
[ "BSD-3-Clause" ]
5
2019-01-19T15:38:48.000Z
2021-10-06T03:59:46.000Z
shill/dbus/chromeos_modem_simple_proxy.cc
emersion/chromiumos-platform2
ba71ad06f7ba52e922c647a8915ff852b2d4ebbd
[ "BSD-3-Clause" ]
null
null
null
shill/dbus/chromeos_modem_simple_proxy.cc
emersion/chromiumos-platform2
ba71ad06f7ba52e922c647a8915ff852b2d4ebbd
[ "BSD-3-Clause" ]
1
2019-02-15T23:05:30.000Z
2019-02-15T23:05:30.000Z
// Copyright 2018 The Chromium OS 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 "shill/dbus/chromeos_modem_simple_proxy.h" #include <base/bind.h> #include "shill/cellular/cellular_error.h" #include "shill/error.h" #inclu...
33.378947
74
0.693157
emersion
75bb4de059be545230b138fcde43f895938c4a1e
409
cpp
C++
week-02/practice/02.cpp
greenfox-zerda-sparta/zerda-syllabus
5e49a9f9a2528e58bedb1f2d96bf8a4feabd123c
[ "MIT" ]
null
null
null
week-02/practice/02.cpp
greenfox-zerda-sparta/zerda-syllabus
5e49a9f9a2528e58bedb1f2d96bf8a4feabd123c
[ "MIT" ]
null
null
null
week-02/practice/02.cpp
greenfox-zerda-sparta/zerda-syllabus
5e49a9f9a2528e58bedb1f2d96bf8a4feabd123c
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; void draw_characters(int count, char c) { for (int i = 0; i < count; ++i) { cout << c; } } void christmas_tree(char main_character, int times) { for (int row = 1; row <= times; ++row) { draw_characters(times - row, ' '); draw_characters(row * 2 - 1, main_cha...
16.36
53
0.594132
greenfox-zerda-sparta
75bcef18d36e759fd1c49f900c6874c2ad77d7d0
55
cpp
C++
src-ui/tablemodel.cpp
ZhaohengLi/library-management
ffdd50e367f50354e07f5cd7aff9c826aac837b0
[ "Apache-2.0" ]
2
2021-09-06T17:13:19.000Z
2022-03-02T06:47:31.000Z
tablemodel.cpp
borneq/userQtExamples
2493a96e26293b3a842a998a09228de9834c1776
[ "MIT" ]
null
null
null
tablemodel.cpp
borneq/userQtExamples
2493a96e26293b3a842a998a09228de9834c1776
[ "MIT" ]
null
null
null
#include "tablemodel.h" TableModel::TableModel() { }
7.857143
24
0.690909
ZhaohengLi
75bdac2cb35e35698d57780b633d79365809eb2e
1,640
cpp
C++
code/SoulVania/AnimationFactoryReader.cpp
warzes/Soulvania
83733b6a6aa38f8024109193893eb5b65b0e6294
[ "MIT" ]
1
2021-06-30T06:29:54.000Z
2021-06-30T06:29:54.000Z
code/SoulVania/AnimationFactoryReader.cpp
warzes/Soulvania
83733b6a6aa38f8024109193893eb5b65b0e6294
[ "MIT" ]
null
null
null
code/SoulVania/AnimationFactoryReader.cpp
warzes/Soulvania
83733b6a6aa38f8024109193893eb5b65b0e6294
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "AnimationFactoryReader.h" #include "FileLogger.h" #include "LoadContentException.h" #include "ContentManager.h" #include "pugixml/pugixml.hpp" std::shared_ptr<AnimationFactory> AnimationFactoryReader::Read(std::string filePath, ContentManager& contentManager) { auto xmlDocument = pugi::x...
38.139535
116
0.75061
warzes
75c093ce0b68e30ec4281f3659b798d89fc0be6e
929
cpp
C++
FRBDK/BitmapFontGenerator/source/dynamic_funcs.cpp
patridge/FlatRedBall
01e0212afeb977a10244796494dcaf9c800a3770
[ "MIT" ]
110
2016-01-14T14:46:16.000Z
2022-03-27T19:00:48.000Z
FRBDK/BitmapFontGenerator/source/dynamic_funcs.cpp
patridge/FlatRedBall
01e0212afeb977a10244796494dcaf9c800a3770
[ "MIT" ]
471
2016-08-21T14:48:15.000Z
2022-03-31T20:22:50.000Z
FRBDK/BitmapFontGenerator/source/dynamic_funcs.cpp
patridge/FlatRedBall
01e0212afeb977a10244796494dcaf9c800a3770
[ "MIT" ]
33
2016-01-25T23:30:03.000Z
2022-02-18T07:24:45.000Z
#include <windows.h> #include "dynamic_funcs.h" // Since this code requires Win2000 or later, we'll load it dynamically static HMODULE dll_gdi32 = 0; GetGlyphIndicesA_t fGetGlyphIndicesA = 0; GetGlyphIndicesW_t fGetGlyphIndicesW = 0; GetFontUnicodeRanges_t fGetFontUnicodeRanges = 0; void Init() { #if...
27.323529
100
0.759957
patridge
75c42169434068f566303a77e8c7e062f4d5bf0d
201
hpp
C++
src/ColorSYMGS.hpp
hpcg-benchmark/KHPCG3.0
9591b148ea6552342a0471a932d2abf332e490e0
[ "BSD-3-Clause" ]
5
2015-07-10T16:35:08.000Z
2021-09-13T03:29:37.000Z
src/ColorSYMGS.hpp
zabookey/Kokkos-HPCG
7ca081e51a275c4fb6b21e8871788e88e8715dbc
[ "BSD-3-Clause" ]
null
null
null
src/ColorSYMGS.hpp
zabookey/Kokkos-HPCG
7ca081e51a275c4fb6b21e8871788e88e8715dbc
[ "BSD-3-Clause" ]
3
2019-03-05T16:46:25.000Z
2021-12-22T03:49:00.000Z
#ifndef COLORSYMGS_HPP #define COLORSYMGS_HPP #include "SparseMatrix.hpp" #include "Vector.hpp" #include "KokkosSetup.hpp" int ColorSYMGS(const SparseMatrix & A, const Vector & x, Vector & y); #endif
22.333333
69
0.766169
hpcg-benchmark
75c76b1272dc16e0e71395a36d1be066d448e549
26,695
cpp
C++
winrt/test.internal/xaml/CanvasImageSourceUnitTests.cpp
r2d2rigo/Win2D
3f06d4f19b7d16b67859a1b30ac770215ef3e52d
[ "MIT" ]
1,002
2015-01-09T19:40:01.000Z
2019-05-04T12:05:09.000Z
winrt/test.internal/xaml/CanvasImageSourceUnitTests.cpp
r2d2rigo/Win2D
3f06d4f19b7d16b67859a1b30ac770215ef3e52d
[ "MIT" ]
667
2015-01-02T19:04:11.000Z
2019-05-03T14:43:51.000Z
winrt/test.internal/xaml/CanvasImageSourceUnitTests.cpp
SunburstApps/Win2D.WinUI
75a33f8f4c0c785c2d1b478589fd4d3a9c5b53df
[ "MIT" ]
258
2015-01-06T07:44:49.000Z
2019-05-01T15:50:59.000Z
// Copyright (c) Microsoft Corporation. All rights reserved. // // Licensed under the MIT License. See LICENSE.txt in the project root for license information. #include "pch.h" TEST_CLASS(CanvasImageSourceUnitTests) { public: TEST_METHOD_EX(CanvasImageSourceConstruction) { // // On constructio...
39.548148
199
0.65132
r2d2rigo
75ca9fb4e04ff2b0e4d7b0b143bed3015cae2e6c
595
cc
C++
src/Candle.cc
carolinavillam/Lucky-Monkey
5ddbadf6c604ea00c3384cc42eda9033d6297e7e
[ "MIT" ]
null
null
null
src/Candle.cc
carolinavillam/Lucky-Monkey
5ddbadf6c604ea00c3384cc42eda9033d6297e7e
[ "MIT" ]
null
null
null
src/Candle.cc
carolinavillam/Lucky-Monkey
5ddbadf6c604ea00c3384cc42eda9033d6297e7e
[ "MIT" ]
null
null
null
#include "Candle.hh" Candle::Candle(const char* textureUrl, sf::Vector2f position, float scale, float width, float height, int col, int row, sf::RenderWindow*& window, b2World*& world) : GameObject(textureUrl, position, scale, width, height, col, row, b2BodyType::b2_staticBody, window, world) { animationsManager = n...
27.045455
106
0.744538
carolinavillam
75cbdb9e5c961527d2241b0d02724dd87a66ba54
127
cpp
C++
Source/coopgame/Private/World/NativeEnemyPlayerStart.cpp
dakitten2358/coopgame
660293ce381d55025e4654ff448faf6a71a69bd2
[ "Apache-2.0" ]
1
2018-11-21T21:35:21.000Z
2018-11-21T21:35:21.000Z
Source/coopgame/Private/World/NativeEnemyPlayerStart.cpp
dakitten2358/coopgame
660293ce381d55025e4654ff448faf6a71a69bd2
[ "Apache-2.0" ]
1
2017-05-13T12:21:22.000Z
2017-05-13T12:24:39.000Z
Source/coopgame/Private/World/NativeEnemyPlayerStart.cpp
dakitten2358/coopgame
660293ce381d55025e4654ff448faf6a71a69bd2
[ "Apache-2.0" ]
1
2017-03-29T17:05:50.000Z
2017-03-29T17:05:50.000Z
// Fill out your copyright notice in the Description page of Project Settings. #include "NativeEnemyPlayerStart.h"
15.875
79
0.732283
dakitten2358
75cec848908939229603502e222c52e38afa93d2
475
cpp
C++
lectures/containers/code/list_example2.cpp
ahurta92/ams562-notes
e66baa1e50654e125902651f388d45cb32c81f00
[ "MIT" ]
1
2021-09-01T19:09:54.000Z
2021-09-01T19:09:54.000Z
lectures/containers/code/list_example2.cpp
ahurta92/ams562-notes
e66baa1e50654e125902651f388d45cb32c81f00
[ "MIT" ]
null
null
null
lectures/containers/code/list_example2.cpp
ahurta92/ams562-notes
e66baa1e50654e125902651f388d45cb32c81f00
[ "MIT" ]
1
2021-11-30T19:26:02.000Z
2021-11-30T19:26:02.000Z
// // Created by adrian on 11/6/21. // #include <list> #include "examples.h" int get_number(const string& s, const list<Entry>& phone_book) { for(auto p=phone_book.begin();p!=phone_book.end();++p) if(p->name == s) return p->number; return 0; // number not found } int main() { list<Entry> contacts = { {"Adri...
21.590909
82
0.646316
ahurta92
75d056890b4cd47c1a4666a5a68f2035ec6f7d31
2,757
cpp
C++
src/cli/argparse.cpp
NHollmann/CmdPathtracer
6c6c0382948bb6ea547458f743937b70c090ca6c
[ "MIT" ]
null
null
null
src/cli/argparse.cpp
NHollmann/CmdPathtracer
6c6c0382948bb6ea547458f743937b70c090ca6c
[ "MIT" ]
null
null
null
src/cli/argparse.cpp
NHollmann/CmdPathtracer
6c6c0382948bb6ea547458f743937b70c090ca6c
[ "MIT" ]
null
null
null
#include "argparse.hpp" #include <iostream> #include "cxxopts.hpp" namespace cli { RaytracerOptions parseArguments(int argc, char *argv[]) { RaytracerOptions raytracerOptions; cxxopts::Options options(argv[0], "A toy raytracer by Nicolas Hollmann."); options.add_options("General") ...
41.149254
125
0.571999
NHollmann
75d319b0e4c0901e9010627776cd4a3d52708e83
1,638
cpp
C++
components/physics/scene_physics/tests/fall.cpp
untgames/funner
c91614cda55fd00f5631d2bd11c4ab91f53573a3
[ "MIT" ]
7
2016-03-30T17:00:39.000Z
2017-03-27T16:04:04.000Z
components/physics/scene_physics/tests/fall.cpp
untgames/Funner
c91614cda55fd00f5631d2bd11c4ab91f53573a3
[ "MIT" ]
4
2017-11-21T11:25:49.000Z
2018-09-20T17:59:27.000Z
components/physics/scene_physics/tests/fall.cpp
untgames/Funner
c91614cda55fd00f5631d2bd11c4ab91f53573a3
[ "MIT" ]
4
2016-11-29T15:18:40.000Z
2017-03-27T16:04:08.000Z
#include "shared.h" using namespace scene_graph::controllers; int main () { printf ("Results of fall_test:\n"); try { PhysicsManager manager (DRIVER_NAME); physics::Scene* scene (new physics::Scene (manager.CreateScene ())); Shape sphere_shape (manager.CreateSphereShape (1.f)); ...
21.552632
85
0.614774
untgames
75d5469ea85f516ebf9dfddb8943c424e37f1606
351
cc
C++
src/kernel/core/class.cc
cmejj/How-to-Make-a-Computer-Operating-System
eb30f8802fac9f0f1c28d3a96bb3d402bdfc4687
[ "Apache-2.0" ]
16,500
2015-01-01T00:47:42.000Z
2022-03-31T17:12:02.000Z
src/kernel/core/class.cc
yongpingkan/How-to-Make-a-Computer-Operating-System
eb30f8802fac9f0f1c28d3a96bb3d402bdfc4687
[ "Apache-2.0" ]
66
2015-01-08T15:22:11.000Z
2021-12-16T09:04:37.000Z
src/kernel/core/class.cc
yongpingkan/How-to-Make-a-Computer-Operating-System
eb30f8802fac9f0f1c28d3a96bb3d402bdfc4687
[ "Apache-2.0" ]
3,814
2015-01-01T12:42:31.000Z
2022-03-31T14:26:50.000Z
#include <os.h> /* Static objects */ Io io; /* Input/Output interface */ Architecture arch; /* Cpu and architecture interface */ Vmm vmm; /* Virtual memory manager interface */ Filesystem fsm; /* Filesystem interface */ Module modm; /* Module manager */ Syscalls syscall; /* Syscalls manager */ Syste...
25.071429
57
0.660969
cmejj
75d71582fb69f38016470062819df7410ac3b096
4,166
cpp
C++
test/Test1.cpp
LukasBanana/MercuriusLib
0b80c49b52a166a4a5490f3044c64f4a8895d9ae
[ "BSD-3-Clause" ]
1
2017-04-23T04:04:25.000Z
2017-04-23T04:04:25.000Z
test/Test1.cpp
LukasBanana/MercuriusLib
0b80c49b52a166a4a5490f3044c64f4a8895d9ae
[ "BSD-3-Clause" ]
null
null
null
test/Test1.cpp
LukasBanana/MercuriusLib
0b80c49b52a166a4a5490f3044c64f4a8895d9ae
[ "BSD-3-Clause" ]
null
null
null
/* * Test1.cpp * * This file is part of the "MercuriusLib" project (Copyright (c) 2017 by Lukas Hermanns) * See "LICENSE.txt" for license information. */ #include <Merc/Merc.h> #include <iostream> #include <cstdlib> static void PrintHostAddresses(const std::string& hostName) { try { auto addres...
29.971223
100
0.512242
LukasBanana
75d82e7e884119071ba9f0788cfc53d8daeb94c3
272
cpp
C++
deprecated_old_files/deprecated_workspace_pkgs/my_stage/src/run_stopper.cpp
Torreshan/TurtleBot
c6ae948364f82f505581dad2ee2dceb95fdcfba8
[ "MIT" ]
1
2019-01-31T13:13:03.000Z
2019-01-31T13:13:03.000Z
deprecated_old_files/deprecated_workspace_pkgs/my_stage/src/run_stopper.cpp
Torreshan/TurtleBot
c6ae948364f82f505581dad2ee2dceb95fdcfba8
[ "MIT" ]
null
null
null
deprecated_old_files/deprecated_workspace_pkgs/my_stage/src/run_stopper.cpp
Torreshan/TurtleBot
c6ae948364f82f505581dad2ee2dceb95fdcfba8
[ "MIT" ]
1
2019-01-14T16:24:05.000Z
2019-01-14T16:24:05.000Z
#include <ros/ros.h> #include "stopper.h" int main(int argc, char **argv) { // Initiate new ROS node named "stopper" ros::init(argc, argv, "stopper"); // Create new stopper object Stopper stopper; // Start the movement stopper.startMoving(); return 0; }
17
42
0.661765
Torreshan
75da9c1ef3d420e1a32e810b0fe0b90c6f564e25
2,588
hh
C++
sdd/mem/cache_entry.hh
tic-toc/libsdd
5c3deb43523d062929f169c3d7a301240f0fb811
[ "BSD-2-Clause" ]
6
2015-03-21T19:21:29.000Z
2022-01-29T01:20:28.000Z
sdd/mem/cache_entry.hh
tic-toc/libsdd
5c3deb43523d062929f169c3d7a301240f0fb811
[ "BSD-2-Clause" ]
1
2017-02-05T23:39:44.000Z
2017-02-05T23:40:04.000Z
libsdd/sdd/mem/cache_entry.hh
kyouko-taiga/SwiftSDD
9312160e0fac5fef6e605c9e74c543ded9708e54
[ "MIT" ]
3
2016-05-13T14:39:06.000Z
2019-08-09T20:13:39.000Z
/// @file /// @copyright The code is licensed under the BSD License /// <http://opensource.org/licenses/BSD-2-Clause>, /// Copyright (c) 2012-2015 Alexandre Hamez. /// @author Alexandre Hamez #pragma once #include <functional> // hash #include <list> #include <utility> // forward #include "s...
28.755556
100
0.553323
tic-toc
75de7ce582992113a81de3160bf4152d196ac7d8
71,675
cpp
C++
tcs/sam_mw_gen_Type260.cpp
gjsoto/ssc
70ef4fdafb9afe0418a9c552485a7116a1b3a743
[ "BSD-3-Clause" ]
61
2017-08-09T15:10:59.000Z
2022-02-15T21:45:31.000Z
tcs/sam_mw_gen_Type260.cpp
gjsoto/ssc
70ef4fdafb9afe0418a9c552485a7116a1b3a743
[ "BSD-3-Clause" ]
462
2017-07-31T21:26:46.000Z
2022-03-30T22:53:50.000Z
tcs/sam_mw_gen_Type260.cpp
gjsoto/ssc
70ef4fdafb9afe0418a9c552485a7116a1b3a743
[ "BSD-3-Clause" ]
73
2017-08-24T17:39:31.000Z
2022-03-28T08:37:47.000Z
#define _TCSTYPEINTERFACE_ #include "tcstype.h" //#include "htf_props.h" #include "sam_csp_util.h" #include <cmath> using namespace std; /* ************************************************************************ Object: Generic solar model Simulation Studio Model: Type260 Author: Michael J. Wagner Date: May ...
53.729385
260
0.549997
gjsoto
75e5596aee746778f78381cffe406ad07ffb5f1a
5,682
cpp
C++
src/ofApp.cpp
ryo-simon-mf/oF-Color-Boxes
9ee208ec3c31d077c92860151c5a7df686ce579a
[ "MIT" ]
null
null
null
src/ofApp.cpp
ryo-simon-mf/oF-Color-Boxes
9ee208ec3c31d077c92860151c5a7df686ce579a
[ "MIT" ]
null
null
null
src/ofApp.cpp
ryo-simon-mf/oF-Color-Boxes
9ee208ec3c31d077c92860151c5a7df686ce579a
[ "MIT" ]
null
null
null
#include "ofApp.h" //-------------------------------------------------------------- void ofApp::setup(){ cam.setDistance(2500); gui.setup(); gui.add( toggle_0.setup("inside box",false)); gui.add( toggle_1.setup("outside box1",false)); gui.add( toggle_4.setup("outside box2",false)); gui.add...
23.774059
76
0.416579
ryo-simon-mf
75e84d7d6d90fe98b2bfa0f7278e9fe2c28f7805
7,971
cpp
C++
oldcode/lib_angle/tests/perf_tests/angle_perf_test_main.cpp
xriss/gamecake
015e6d324761f46235ee61a61a71dbd9a49f6192
[ "MIT" ]
28
2017-04-20T06:21:26.000Z
2021-12-10T15:22:51.000Z
oldcode/lib_angle/tests/perf_tests/angle_perf_test_main.cpp
sahwar/gamecake
9abcb937c0edc22dee2940cb06ec9a84597e989c
[ "MIT" ]
3
2017-04-05T00:41:45.000Z
2020-04-04T00:44:24.000Z
oldcode/lib_angle/tests/perf_tests/angle_perf_test_main.cpp
sahwar/gamecake
9abcb937c0edc22dee2940cb06ec9a84597e989c
[ "MIT" ]
5
2016-11-26T14:44:55.000Z
2021-07-29T04:25:53.000Z
// // Copyright (c) 2014 The ANGLE Project 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 "SimpleBenchmark.h" #include "BufferSubData.h" #include "TexSubImage.h" #include "PointSprites.h" #include <iostream> #include <r...
24.601852
94
0.613474
xriss
75ec66a2cf5a8b24571f5449a2d43f2dc1b23e8f
1,054
cpp
C++
1675-minimize-deviation-in-array/1675-minimize-deviation-in-array.cpp
Jatin-Shihora/LeetCode-Solutions
8e6fc84971ec96ec1263ba5ba2a8ae09e6404398
[ "MIT" ]
1
2022-01-02T10:29:32.000Z
2022-01-02T10:29:32.000Z
1675-minimize-deviation-in-array/1675-minimize-deviation-in-array.cpp
Jatin-Shihora/LeetCode-Solutions
8e6fc84971ec96ec1263ba5ba2a8ae09e6404398
[ "MIT" ]
null
null
null
1675-minimize-deviation-in-array/1675-minimize-deviation-in-array.cpp
Jatin-Shihora/LeetCode-Solutions
8e6fc84971ec96ec1263ba5ba2a8ae09e6404398
[ "MIT" ]
1
2022-03-04T12:44:14.000Z
2022-03-04T12:44:14.000Z
class Solution { public: int minimumDeviation(vector<int>& nums) { set <int> s; // Storing all elements in sorted order //insert even directly and odd with one time multiplication //and it will become even for(int i = 0; i<nums.size() ; ++i) { ...
28.486486
74
0.446869
Jatin-Shihora
75ec9806e7f829e74e31082fb3e7c290a58961f6
4,810
cpp
C++
SVIEngine/jni/SVI/Render/Geometry/SVIPathPoly.cpp
Samsung/SVIEngine
36964f5b296317a3b7b2825137fef921a8c94973
[ "Apache-2.0" ]
27
2015-04-24T07:14:55.000Z
2020-01-24T16:16:37.000Z
SVIEngine/jni/SVI/Render/Geometry/SVIPathPoly.cpp
Lousnote5/SVIEngine
36964f5b296317a3b7b2825137fef921a8c94973
[ "Apache-2.0" ]
null
null
null
SVIEngine/jni/SVI/Render/Geometry/SVIPathPoly.cpp
Lousnote5/SVIEngine
36964f5b296317a3b7b2825137fef921a8c94973
[ "Apache-2.0" ]
15
2015-12-08T14:46:19.000Z
2020-01-21T19:26:41.000Z
#include "../../SVICores.h" #include "../../Slide/SVIBaseSlide.h" #include "../../Slide/SVIProjectionSlide.h" #include "../../Slide/SVIRenderPartManager.h" #include "../SVITexture.h" #include "../SVITextureManager.h" #include "../SVIProgramManager.h" #include "../SVIDebugRenderer.h" #include "../SVIViewport.h" #incl...
24.05
106
0.624116
Samsung
75f00f39fe0f4a39addc90305154e7c6205e9604
1,415
cpp
C++
nowa/2018/c++/zad4_3.cpp
shilangyu/zadania-maturalne
faa2b2ac8e17a7adb22c0c5aeccad9745c05e32c
[ "MIT" ]
3
2019-04-15T14:16:53.000Z
2019-04-26T09:37:19.000Z
nowa/2018/c++/zad4_3.cpp
shilangyu/zadania-maturalne
faa2b2ac8e17a7adb22c0c5aeccad9745c05e32c
[ "MIT" ]
1
2019-03-11T19:10:33.000Z
2019-03-11T19:10:33.000Z
nowa/2018/c++/zad4_3.cpp
shilangyu/zadania-maturalne
faa2b2ac8e17a7adb22c0c5aeccad9745c05e32c
[ "MIT" ]
1
2019-04-26T09:38:04.000Z
2019-04-26T09:38:04.000Z
#include <iostream> #include <cstdlib> #include <fstream> #include <string> #include <vector> using namespace std; string zad4_3() { string line; vector<string> content; fstream file("../dane/sygnaly.txt"); // wczytywanie danych z pliku do vectora if (file.is_open()) { while (getline(...
23.583333
100
0.543463
shilangyu
75f54a8a5cd7b7687c44b8069274ff56398e4f0e
1,587
cpp
C++
src/034.STL_UniqueUnique_Copy/034.STL_UniqueUnique_Copy.cpp
ogycode/CPPFromZero
9df9a9a19850642941ef92bdef9e59477baca202
[ "Apache-2.0" ]
null
null
null
src/034.STL_UniqueUnique_Copy/034.STL_UniqueUnique_Copy.cpp
ogycode/CPPFromZero
9df9a9a19850642941ef92bdef9e59477baca202
[ "Apache-2.0" ]
null
null
null
src/034.STL_UniqueUnique_Copy/034.STL_UniqueUnique_Copy.cpp
ogycode/CPPFromZero
9df9a9a19850642941ef92bdef9e59477baca202
[ "Apache-2.0" ]
null
null
null
#include "stdafx.h" using namespace std; bool Pred(const int &i, const int &g) { return i == g; } int main() { system("color 70"); setlocale(0, "Russina"); SetConsoleTitle("034.STL_Unique Unique_Copy"); vector<int> vec{ 1,3,4,4,4,4,67,4,55,2,2,2,2,4,1,5 }; //отсортируем вектор дл¤ стабильной работы алгоритма...
25.190476
94
0.661626
ogycode
75f97aab1684f5ca3f646c331526fdf3ac9a8bfb
4,639
cpp
C++
NarThumbnailProvider/zip_reader_open_IStream.cpp
Taromati2/nar-thumbnail-provider
6b20d2896822754c9ac5e4c69999d0762b4f23df
[ "MIT" ]
null
null
null
NarThumbnailProvider/zip_reader_open_IStream.cpp
Taromati2/nar-thumbnail-provider
6b20d2896822754c9ac5e4c69999d0762b4f23df
[ "MIT" ]
null
null
null
NarThumbnailProvider/zip_reader_open_IStream.cpp
Taromati2/nar-thumbnail-provider
6b20d2896822754c9ac5e4c69999d0762b4f23df
[ "MIT" ]
null
null
null
#include "windows.h" #include "../minizip-ng/mz.h" #include "../minizip-ng/mz_strm.h" #include "../minizip-ng/mz_zip.h" #include "../minizip-ng/mz_zip_rw.h" typedef struct mz_zip_reader_s { void *zip_handle; void *file_stream; void *buffered_stream; void *split...
25.349727
79
0.632033
Taromati2
75fa3f0e258c665df7572f01b6807b4b5a79f358
1,549
hpp
C++
src/organization_model/Statistics.hpp
tomcreutz/knowledge-reasoning-moreorg
545fa92eaf0fc8ccc4cc042bd994afc918d16f68
[ "BSD-3-Clause" ]
null
null
null
src/organization_model/Statistics.hpp
tomcreutz/knowledge-reasoning-moreorg
545fa92eaf0fc8ccc4cc042bd994afc918d16f68
[ "BSD-3-Clause" ]
1
2021-02-26T11:11:03.000Z
2021-02-26T19:16:10.000Z
src/organization_model/Statistics.hpp
tomcreutz/knowledge-reasoning-moreorg
545fa92eaf0fc8ccc4cc042bd994afc918d16f68
[ "BSD-3-Clause" ]
1
2021-05-17T13:02:49.000Z
2021-05-17T13:02:49.000Z
#ifndef ORGANIZATION_MODEL_ORGANIZATION_MODEL_STATISTICS_HPP #define ORGANIZATION_MODEL_ORGANIZATION_MODEL_STATISTICS_HPP #include <stdint.h> #include <base/Time.hpp> #include <moreorg/organization_model/InterfaceConnection.hpp> #include <moreorg/organization_model/ActorModelLink.hpp> namespace owl = owlapi::model; ...
27.660714
90
0.775339
tomcreutz
2f050085d7b99d79442a0c3e6e986aaace885244
365
hpp
C++
Scripts/Exile_Scavenge/Exile.MAPNAME/CfgRemoteExec.hpp
x-cessive/exile
c5d1f679879a183549e1c87d078d462cbba32c25
[ "MIT" ]
9
2017-03-30T15:37:09.000Z
2022-02-06T22:44:17.000Z
Scripts/Exile_Scavenge/Exile.MAPNAME/CfgRemoteExec.hpp
x-cessive/exile
c5d1f679879a183549e1c87d078d462cbba32c25
[ "MIT" ]
1
2017-04-10T14:59:31.000Z
2017-04-11T14:42:13.000Z
Scripts/Exile_Scavenge/Exile.MAPNAME/CfgRemoteExec.hpp
x-cessive/exile
c5d1f679879a183549e1c87d078d462cbba32c25
[ "MIT" ]
6
2017-02-25T00:19:40.000Z
2022-02-16T19:54:45.000Z
class CfgRemoteExec { class Functions { mode = 2; jip = 0; class fnc_AdminReq { allowedTargets=2; }; class ExileServer_system_network_dispatchIncomingMessage { allowedTargets=2; }; class ExileExpansionServer_system_scavenge_spawnLoot { allowedTargets=0; }; }; clas...
22.8125
83
0.632877
x-cessive
2f06c9830e77a368f7eb4bb675e6ad52232b7bcb
1,535
cpp
C++
src/game-ui/in-game/game_ui_teleporter.cpp
astrellon/simple-space
20e98d4f562a78b1efeaedb0a0012f3c9306ac7e
[ "MIT" ]
1
2020-09-23T11:17:35.000Z
2020-09-23T11:17:35.000Z
src/game-ui/in-game/game_ui_teleporter.cpp
astrellon/simple-space
20e98d4f562a78b1efeaedb0a0012f3c9306ac7e
[ "MIT" ]
null
null
null
src/game-ui/in-game/game_ui_teleporter.cpp
astrellon/simple-space
20e98d4f562a78b1efeaedb0a0012f3c9306ac7e
[ "MIT" ]
null
null
null
#include "game_ui_teleporter.hpp" #include "../ui_text_element.hpp" #include "../ui_button.hpp" #include "../game_ui_manager.hpp" #include "../../game/items/teleporter.hpp" #include "../../engine.hpp" #include "../../game_session.hpp" #include "../../game/character.hpp" namespace space { void GameUITeleporter::i...
30.098039
134
0.626059
astrellon
2f08e1a5348a24f7626ef50ef47b2c68e4f380e0
5,059
cc
C++
L1Trigger/TrackFindingTracklet/src/Projection.cc
Purva-Chaudhari/cmssw
32e5cbfe54c4d809d60022586cf200b7c3020bcf
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
L1Trigger/TrackFindingTracklet/src/Projection.cc
Purva-Chaudhari/cmssw
32e5cbfe54c4d809d60022586cf200b7c3020bcf
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
L1Trigger/TrackFindingTracklet/src/Projection.cc
Purva-Chaudhari/cmssw
32e5cbfe54c4d809d60022586cf200b7c3020bcf
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
#include "L1Trigger/TrackFindingTracklet/interface/Projection.h" #include "L1Trigger/TrackFindingTracklet/interface/Settings.h" #include "FWCore/MessageLogger/interface/MessageLogger.h" #include <algorithm> using namespace std; using namespace trklet; void Projection::init(Settings const& settings, ...
38.037594
117
0.634908
Purva-Chaudhari
2f0e58369426a872d6e60a0940741337c827f251
1,191
cpp
C++
quake_framebuffer/quake_framebuffer/net_none.cpp
WarlockD/quake-stm32
8414f407f6fc529bf9d5a371ed91c1ee1194679b
[ "BSD-2-Clause" ]
4
2018-07-03T14:21:39.000Z
2021-06-01T06:12:14.000Z
quake_framebuffer/quake_framebuffer/net_none.cpp
WarlockD/quake-stm32
8414f407f6fc529bf9d5a371ed91c1ee1194679b
[ "BSD-2-Clause" ]
null
null
null
quake_framebuffer/quake_framebuffer/net_none.cpp
WarlockD/quake-stm32
8414f407f6fc529bf9d5a371ed91c1ee1194679b
[ "BSD-2-Clause" ]
null
null
null
/* Copyright (C) 1996-1997 Id Software, Inc. 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 2 of the License, or (at your option) any later version. This program is distributed in th...
24.8125
75
0.786734
WarlockD
2f0fadc9f354656100b238a5d7fb9ab957259ea1
3,514
cpp
C++
source/code/utilities/program/wrappers/git/lib.cpp
luxe/CodeLang-compiler
78837d90bdd09c4b5aabbf0586a5d8f8f0c1e76a
[ "MIT" ]
33
2019-05-30T07:43:32.000Z
2021-12-30T13:12:32.000Z
source/code/utilities/program/wrappers/git/lib.cpp
luxe/CodeLang-compiler
78837d90bdd09c4b5aabbf0586a5d8f8f0c1e76a
[ "MIT" ]
371
2019-05-16T15:23:50.000Z
2021-09-04T15:45:27.000Z
source/code/utilities/program/wrappers/git/lib.cpp
UniLang/compiler
c338ee92994600af801033a37dfb2f1a0c9ca897
[ "MIT" ]
6
2019-08-22T17:37:36.000Z
2020-11-07T07:15:32.000Z
#include <iostream> #include "code/utilities/program/wrappers/git/lib.hpp" #include "code/utilities/program/call/lib.hpp" #include "code/utilities/filesystem/paths/lib.hpp" #include "code/utilities/program/call/lib.hpp" #include "code/utilities/random/lib.hpp" #include "code/utilities/random/files/random_files.hpp" #in...
34.116505
190
0.72453
luxe
2f128127c60db93ca245e59efd2846ef5b44d83b
3,553
cpp
C++
src/save/main.cpp
RobertLeahy/MCPP
2b9223afa35ae215b9af7e5398ce8f7f6dd70377
[ "Unlicense" ]
19
2015-04-25T15:19:59.000Z
2022-02-28T03:00:42.000Z
src/save/main.cpp
RobertLeahy/MCPP
2b9223afa35ae215b9af7e5398ce8f7f6dd70377
[ "Unlicense" ]
1
2016-01-28T08:50:02.000Z
2021-08-24T02:34:48.000Z
src/save/main.cpp
RobertLeahy/MCPP
2b9223afa35ae215b9af7e5398ce8f7f6dd70377
[ "Unlicense" ]
7
2015-04-17T16:38:45.000Z
2021-06-25T03:39:39.000Z
#include <save/save.hpp> #include <server.hpp> #include <singleton.hpp> #include <thread_pool.hpp> #include <exception> #include <utility> using namespace MCPP; namespace MCPP { static const Word priority=1; static const String name("Save Manager"); static const String debug_key("save"); static const String s...
14.384615
66
0.599775
RobertLeahy
2f14ea844e12e79dd8fd0b279551e50734feca17
4,250
cpp
C++
src/log.cpp
blackberry/Wesnoth
8b307689158db568ecc6cc3b537e8d382ccea449
[ "Unlicense" ]
12
2015-03-04T15:07:00.000Z
2019-09-13T16:31:06.000Z
src/log.cpp
blackberry/Wesnoth
8b307689158db568ecc6cc3b537e8d382ccea449
[ "Unlicense" ]
null
null
null
src/log.cpp
blackberry/Wesnoth
8b307689158db568ecc6cc3b537e8d382ccea449
[ "Unlicense" ]
5
2017-04-22T08:16:48.000Z
2020-07-12T03:35:16.000Z
/* $Id: log.cpp 48725 2011-03-02 21:40:59Z mordante $ */ /* Copyright (C) 2003 by David White <dave@whitevine.net> 2004 - 2011 by Guillaume Melquiond <guillaume.melquiond@gmail.com> Part of the Battle for Wesnoth Project http://www.wesnoth.org/ This program is free software; you can red...
24.285714
98
0.635529
blackberry
2f1f2df1db8730ae3605308972354cd45da6ec14
2,679
cc
C++
leetcode/Trie/remove_sub_folders_from_the_filesystem.cc
LIZHICHAOUNICORN/Toolkits
db45dac4de14402a21be0c40ba8e87b4faeda1b6
[ "Apache-2.0" ]
null
null
null
leetcode/Trie/remove_sub_folders_from_the_filesystem.cc
LIZHICHAOUNICORN/Toolkits
db45dac4de14402a21be0c40ba8e87b4faeda1b6
[ "Apache-2.0" ]
null
null
null
leetcode/Trie/remove_sub_folders_from_the_filesystem.cc
LIZHICHAOUNICORN/Toolkits
db45dac4de14402a21be0c40ba8e87b4faeda1b6
[ "Apache-2.0" ]
null
null
null
#include <map> #include <string> #include <vector> #include "third_party/gflags/include/gflags.h" #include "third_party/glog/include/logging.h" // Problem: // https://leetcode-cn.com/problems/remove-sub-folders-from-the-filesystem/ // Solutions: // https://leetcode-cn.com/problems/remove-sub-folders-from-the-filesyst...
26.524752
130
0.571855
LIZHICHAOUNICORN
2f20ddb15c95e2defff68f8191a81f454eb9e14e
4,154
cpp
C++
unit-test/common/test_lag.cpp
google/detectorgraph
d6c923f8e495a21137312b236e35c36a55d3a755
[ "Apache-2.0" ]
43
2018-05-17T07:13:18.000Z
2022-02-02T01:54:06.000Z
unit-test/common/test_lag.cpp
google/detectorgraph
d6c923f8e495a21137312b236e35c36a55d3a755
[ "Apache-2.0" ]
4
2018-09-20T04:14:11.000Z
2018-09-21T08:05:33.000Z
unit-test/common/test_lag.cpp
google/detectorgraph
d6c923f8e495a21137312b236e35c36a55d3a755
[ "Apache-2.0" ]
12
2018-05-17T09:03:31.000Z
2020-10-13T16:38:15.000Z
// Copyright 2017 Nest Labs, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
30.544118
100
0.687771
google
2f2bdcf7447fd4ad54fdfd70d829770df30d3c37
980
cpp
C++
SnackDown Round 1A/BINFLIP.cpp
Jks08/CodeChef
a8aec8a563c441176a36b8581031764e99f09833
[ "MIT" ]
1
2021-09-17T13:10:04.000Z
2021-09-17T13:10:04.000Z
SnackDown Round 1A/BINFLIP.cpp
Jks08/CodeChef
a8aec8a563c441176a36b8581031764e99f09833
[ "MIT" ]
null
null
null
SnackDown Round 1A/BINFLIP.cpp
Jks08/CodeChef
a8aec8a563c441176a36b8581031764e99f09833
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; #define ll long long #define FAST1 ios_base::sync_with_stdio(false); #define FAST2 cin.tie(NULL); #define allsort(a) sort(a.begin(),a.end()) ll n,k; void solve(){ cin>>n>>k; if(k==0){ cout<<"Yes"<<endl; cout<<0<<endl; return; } if(k%2...
17.5
47
0.418367
Jks08
2f315b9281397276f2339416be7e8d28f31ac034
887
cc
C++
leet_code/Longest_Increasing_Subsequence/dp_solution.cc
ldy121/algorithm
7939cb4c15e2bc655219c934f00c2bb74ddb4eec
[ "Apache-2.0" ]
1
2020-04-11T22:04:23.000Z
2020-04-11T22:04:23.000Z
leet_code/Longest_Increasing_Subsequence/dp_solution.cc
ldy121/algorithm
7939cb4c15e2bc655219c934f00c2bb74ddb4eec
[ "Apache-2.0" ]
null
null
null
leet_code/Longest_Increasing_Subsequence/dp_solution.cc
ldy121/algorithm
7939cb4c15e2bc655219c934f00c2bb74ddb4eec
[ "Apache-2.0" ]
null
null
null
class Solution { private: const int invalid = -1; int getAnswer(vector<int>& answer, vector<int> &nums, int idx) { int max = 0; if (answer[idx] != invalid) { return answer[idx]; } for (int i = idx + 1; i < answer.size(); ++i) { if (nums[idx] >= nums[i]) {...
23.972973
68
0.421646
ldy121
2f33385320806e4d297750693b873ce73938820c
837
cpp
C++
program8/program8/driver.cpp
hurnhu/Academic-C-Code-Examples
2dbab12888fc7f87b997daf7df4127a1ffd81b44
[ "MIT" ]
null
null
null
program8/program8/driver.cpp
hurnhu/Academic-C-Code-Examples
2dbab12888fc7f87b997daf7df4127a1ffd81b44
[ "MIT" ]
null
null
null
program8/program8/driver.cpp
hurnhu/Academic-C-Code-Examples
2dbab12888fc7f87b997daf7df4127a1ffd81b44
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <string> using namespace std; #include "ProblemList.h" /* ********************* *MADE BY MICHAEL LApAN ********************* *this program is a help desk mock up *it proccesses helkp desk tickets, *sorts and stores them. then shows top *25 then bottem 25 */ int main() ...
23.25
65
0.67503
hurnhu
2f40127686b3e138bd6d4c51ffba3159a2b80c29
562
cpp
C++
CodeForces/862/A - Mahmoud and Ehab and the MEX.cpp
QAQrz/ACM-Code
7f7b6fd315e7d84ed606dd48d666da07fc4d0ae7
[ "Unlicense" ]
2
2018-02-24T06:45:56.000Z
2018-05-29T04:47:39.000Z
CodeForces/862/A - Mahmoud and Ehab and the MEX.cpp
QAQrz/ACM-Code
7f7b6fd315e7d84ed606dd48d666da07fc4d0ae7
[ "Unlicense" ]
null
null
null
CodeForces/862/A - Mahmoud and Ehab and the MEX.cpp
QAQrz/ACM-Code
7f7b6fd315e7d84ed606dd48d666da07fc4d0ae7
[ "Unlicense" ]
2
2018-06-28T09:53:27.000Z
2022-03-23T13:29:57.000Z
#include <bits/stdc++.h> using namespace std; #pragma comment(linker,"/stack:1024000000,1024000000") #define db(x) cout<<(x)<<endl #define pf(x) push_front(x) #define pb(x) push_back(x) #define mp(x,y) make_pair(x,y) #define ms(x,y) memset(x,y,sizeof x) typedef long long LL; const double pi=acos(-1),eps=1e-9; const LL ...
22.48
54
0.649466
QAQrz
2f40bd39f42d58fecaad97ea17318d2cace2933c
9,089
cpp
C++
src/Editor/TristeonEditor.cpp
HyperionDH/Tristeon
8475df94b9dbd4e3b4cc82b89c6d4bab45acef29
[ "MIT" ]
38
2017-12-04T10:48:28.000Z
2018-05-11T09:59:41.000Z
src/Editor/TristeonEditor.cpp
Tristeon/Tristeon3D
8475df94b9dbd4e3b4cc82b89c6d4bab45acef29
[ "MIT" ]
9
2017-12-04T09:58:55.000Z
2018-02-05T00:06:41.000Z
src/Editor/TristeonEditor.cpp
Tristeon/Tristeon3D
8475df94b9dbd4e3b4cc82b89c6d4bab45acef29
[ "MIT" ]
3
2018-01-10T13:39:12.000Z
2018-03-17T20:53:22.000Z
#include "Core/MessageBus.h" #ifdef TRISTEON_EDITOR #include "TristeonEditor.h" #include <ImGUI/imgui_impl_glfw_vulkan.h> #include "Core/Engine.h" #include "Core/Rendering/Vulkan/HelperClasses/CommandBuffer.h" #include "Core/Rendering/Vulkan/RenderManagerVulkan.h" #include "Asset Browser/AssetBrowser.h" #include "Scen...
42.078704
152
0.728793
HyperionDH
2f41e4c1d1f0071946aea4c61dff3941058b388f
567
cpp
C++
chap13/Exer13_28_pointer.cpp
sjbarigye/CPP_Primer
d9d31a73a45ca46909bae104804fc9503ab242f2
[ "Apache-2.0" ]
50
2016-01-08T14:28:53.000Z
2022-01-21T12:55:00.000Z
chap13/Exer13_28_pointer.cpp
sjbarigye/CPP_Primer
d9d31a73a45ca46909bae104804fc9503ab242f2
[ "Apache-2.0" ]
2
2017-06-05T16:45:20.000Z
2021-04-17T13:39:24.000Z
chap13/Exer13_28_pointer.cpp
sjbarigye/CPP_Primer
d9d31a73a45ca46909bae104804fc9503ab242f2
[ "Apache-2.0" ]
18
2016-08-17T15:23:51.000Z
2022-03-26T18:08:43.000Z
#include <iostream> #include "Exer13_28_BinStrTree_point.h" using std::cout; using std::endl; int main() { TreeNode t1("t1"); TreeNode t2 = t1; t1.read(cout) << endl; t2.write("t2"); t2.read(cout) << endl; { TreeNode t3(t2); t3.read(cout) << endl; t3.write("t3"); ...
18.9
39
0.527337
sjbarigye
2f46731513ee8207fa214c84ef6cf66b94654967
10,622
cpp
C++
Common/ScenarioTest/Document/ScenarioTest.cpp
testdrive-profiling-master/profiles
6e3854874366530f4e7ae130000000812eda5ff7
[ "BSD-3-Clause" ]
null
null
null
Common/ScenarioTest/Document/ScenarioTest.cpp
testdrive-profiling-master/profiles
6e3854874366530f4e7ae130000000812eda5ff7
[ "BSD-3-Clause" ]
null
null
null
Common/ScenarioTest/Document/ScenarioTest.cpp
testdrive-profiling-master/profiles
6e3854874366530f4e7ae130000000812eda5ff7
[ "BSD-3-Clause" ]
null
null
null
//================================================================================ // Copyright (c) 2013 ~ 2020. HyungKi Jeong(clonextop@gmail.com) // All rights reserved. // // The 3-Clause BSD License (https://opensource.org/licenses/BSD-3-Clause) // // Redistribution and use in source and binary forms, // with or ...
28.785908
302
0.695914
testdrive-profiling-master
2f4974d6d95586a9cbf61a1a1bf9c636ea7023a5
11,536
cpp
C++
src/probe_renderer/bruneton_probe_renderer.cpp
Hanggansta/Nimble
291c1bae6308c49f4e86a7ecabc97e9fe8fce654
[ "MIT" ]
null
null
null
src/probe_renderer/bruneton_probe_renderer.cpp
Hanggansta/Nimble
291c1bae6308c49f4e86a7ecabc97e9fe8fce654
[ "MIT" ]
null
null
null
src/probe_renderer/bruneton_probe_renderer.cpp
Hanggansta/Nimble
291c1bae6308c49f4e86a7ecabc97e9fe8fce654
[ "MIT" ]
1
2021-05-09T12:51:18.000Z
2021-05-09T12:51:18.000Z
#include "bruneton_probe_renderer.h" #include "../renderer.h" #include "../resource_manager.h" #include "../logger.h" #define _USE_MATH_DEFINES #include <math.h> #include <gtc/matrix_transform.hpp> namespace nimble { // --------------------------------------------------------------------------------------------------...
46.704453
527
0.59492
Hanggansta
2f49e24392da7f48d3dc992e0586a7843d6639a6
18,714
cc
C++
Translator_file/examples/step-26/step-26.cc
jiaqiwang969/deal.ii-course-practice
0da5ad1537d8152549d8a0e4de5872efe7619c8a
[ "MIT" ]
null
null
null
Translator_file/examples/step-26/step-26.cc
jiaqiwang969/deal.ii-course-practice
0da5ad1537d8152549d8a0e4de5872efe7619c8a
[ "MIT" ]
null
null
null
Translator_file/examples/step-26/step-26.cc
jiaqiwang969/deal.ii-course-practice
0da5ad1537d8152549d8a0e4de5872efe7619c8a
[ "MIT" ]
null
null
null
/* --------------------------------------------------------------------- * * Copyright (C) 2013 - 2021 by the deal.II authors * * This file is part of the deal.II library. * * The deal.II library is free software; you can use it, redistribute * it, and/or modify it under the terms of the GNU Lesser Gene...
34.212066
439
0.610185
jiaqiwang969
2f4c96320cf49fba14bc658832b4d561c921f50e
480
cpp
C++
BASIC c++/inheritance/use _OF_protected.cpp
jattramesh/Learning_git
5191ecc6c0c11b69b9786f2a8bdd3db7228987d6
[ "MIT" ]
null
null
null
BASIC c++/inheritance/use _OF_protected.cpp
jattramesh/Learning_git
5191ecc6c0c11b69b9786f2a8bdd3db7228987d6
[ "MIT" ]
null
null
null
BASIC c++/inheritance/use _OF_protected.cpp
jattramesh/Learning_git
5191ecc6c0c11b69b9786f2a8bdd3db7228987d6
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; //base class class shape{ protected: int width; int height; public: void setwidth(int w) { width=w; } void setheight(int h) { height=h; } }; //drived class class rectangle:public shape { public: int get_area(){ re...
14.117647
48
0.572917
jattramesh
2f515c43df3d33da482c89eb87ec4ec7fecec030
1,405
cpp
C++
Kattis/ummcode.cpp
YourName0729/competitive-programming
437ef18a46074f520e0bfa0bdd718bb6b1c92800
[ "MIT" ]
3
2021-02-19T17:01:11.000Z
2021-03-11T16:50:19.000Z
Kattis/ummcode.cpp
YourName0729/competitive-programming
437ef18a46074f520e0bfa0bdd718bb6b1c92800
[ "MIT" ]
null
null
null
Kattis/ummcode.cpp
YourName0729/competitive-programming
437ef18a46074f520e0bfa0bdd718bb6b1c92800
[ "MIT" ]
null
null
null
// // https://open.kattis.com/problems/ummcode #include <vector> #include <algorithm> #include <iostream> #include <sstream> #include <string> #include <stack> #include <cmath> #include <map> #include <utility> #include <queue> #include <iomanip> #include <deque> #include <set> #define Forcase int __t;cin>>__t;for(int...
19.246575
68
0.472598
YourName0729
016ab541edfdb0fec8da16e434d4e8cfc51d05ba
3,234
cxx
C++
src/libprocxx/io/file_descriptor.cxx
vencik/libprocxx
9ed1672951c7c4ac452dd3843735fe0fe3ab33d2
[ "BSD-3-Clause" ]
null
null
null
src/libprocxx/io/file_descriptor.cxx
vencik/libprocxx
9ed1672951c7c4ac452dd3843735fe0fe3ab33d2
[ "BSD-3-Clause" ]
null
null
null
src/libprocxx/io/file_descriptor.cxx
vencik/libprocxx
9ed1672951c7c4ac452dd3843735fe0fe3ab33d2
[ "BSD-3-Clause" ]
null
null
null
/** * \file * \brief File descriptor wrapper * * \date 2018/04/01 * \author Vaclav Krpec <vencik@razdva.cz> * * * LEGAL NOTICE * * Copyright (c) 2017, Vaclav Krpec * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provi...
28.619469
80
0.679344
vencik
016d09b9894428db9518336c24de38bfe10ec957
611
cpp
C++
neps/cursos/codcad/tecnicas/basicas/busca_binaria/casas.cpp
homembaixinho/codeforces
9394eaf383afedacdfe86ca48609425b14f84bdb
[ "MIT" ]
null
null
null
neps/cursos/codcad/tecnicas/basicas/busca_binaria/casas.cpp
homembaixinho/codeforces
9394eaf383afedacdfe86ca48609425b14f84bdb
[ "MIT" ]
null
null
null
neps/cursos/codcad/tecnicas/basicas/busca_binaria/casas.cpp
homembaixinho/codeforces
9394eaf383afedacdfe86ca48609425b14f84bdb
[ "MIT" ]
null
null
null
// Soma de Casas // https://neps.academy/lesson/173 #include <iostream> using namespace std; #define MAXN 100000 int N, K, casas[MAXN]; int busca(int x) { int ini=0, fim=N-1, meio; while (ini<=fim) { meio = (ini+fim)/2; if (casas[meio] > x) fim = meio-1; if (casas[meio] < x) ini = meio+1; if (c...
16.078947
52
0.513912
homembaixinho
016ebe407f7707d1008e404dfdf8d8e80e371d03
2,808
cpp
C++
Turtlebot_Car4D_Car1D_Overtake/Reachability Computation/add_lane_disturbance_v2.cpp
karenl7/stlhj
c3f35aefe81e2f6c721e4723ba4d07930b2661e7
[ "MIT" ]
6
2019-01-30T00:11:55.000Z
2022-03-09T02:44:51.000Z
Turtlebot_Car4D_Car1D_Overtake/Reachability Computation/add_lane_disturbance_v2.cpp
StanfordASL/stlhj
c3f35aefe81e2f6c721e4723ba4d07930b2661e7
[ "MIT" ]
null
null
null
Turtlebot_Car4D_Car1D_Overtake/Reachability Computation/add_lane_disturbance_v2.cpp
StanfordASL/stlhj
c3f35aefe81e2f6c721e4723ba4d07930b2661e7
[ "MIT" ]
4
2018-09-08T00:16:55.000Z
2022-03-09T02:44:54.000Z
void add_lane_disturbance_v2( beacls::FloatVec& lane, const std::vector<size_t> shape, beacls::FloatVec range, beacls::FloatVec gmin, beacls::FloatVec gmax, FLOAT_TYPE vehicle_width, FLOAT_TYPE fill_Value, size_t dim){ FLOAT_TYPE x_unit = (static_cast<float>(shape[0])-1)/(gmax[0]-gmin[0]); FLOA...
40.114286
215
0.603276
karenl7
0170c9fa6a328def88ae44587ce0c326d53f3be7
1,619
cpp
C++
src/log/log.cpp
kodo-pp/IVR
e904341d1850baf81e8aeecbf498691fbe8e50aa
[ "MIT" ]
null
null
null
src/log/log.cpp
kodo-pp/IVR
e904341d1850baf81e8aeecbf498691fbe8e50aa
[ "MIT" ]
8
2018-05-26T19:27:53.000Z
2018-10-28T19:31:33.000Z
src/log/log.cpp
kodo-pp/IVR
e904341d1850baf81e8aeecbf498691fbe8e50aa
[ "MIT" ]
1
2019-05-07T15:32:38.000Z
2019-05-07T15:32:38.000Z
#include <atomic> #include <chrono> #include <codecvt> #include <cstdio> #include <cstdlib> #include <cstring> #include <ctime> #include <locale> #include <mutex> #include <modbox/log/log.hpp> static std::recursive_mutex lbfMutex; std::recursive_mutex logMutex; static std::wstring cachedLineBegin; static std::atomic...
24.164179
77
0.632489
kodo-pp
01711e943bc73ff5e41c51c8f7030c4bafda1b67
7,173
cpp
C++
src_legacy/2018/test/test_PlayFramesAction.cpp
gmoehler/ledpoi
d1294b172b7069f62119c310399d80500402d882
[ "MIT" ]
null
null
null
src_legacy/2018/test/test_PlayFramesAction.cpp
gmoehler/ledpoi
d1294b172b7069f62119c310399d80500402d882
[ "MIT" ]
75
2017-05-28T23:39:33.000Z
2019-05-09T06:18:44.000Z
src_legacy/2018/test/test_PlayFramesAction.cpp
gmoehler/ledpoi
d1294b172b7069f62119c310399d80500402d882
[ "MIT" ]
null
null
null
#include "test.h" #include "player/PlayFramesAction.h" TEST(playFramesAction_tests, afterDeclaration){ PlayFramesAction playFramesAction; playFramesAction.printInfo("pre:"); EXPECT_FALSE(playFramesAction.isActive()); } TEST(playFramesAction_tests, afterInit){ PlayFramesAction playFramesAction; RawPoiComman...
29.763485
71
0.732748
gmoehler
01715332cdd82763d0e23ef996bb901ffbd4d0c7
16,727
cpp
C++
jani/inspector/ui/BaseWindow.cpp
RodrigoHolztrattner/JANI
cd8794a9826645ecf4ccf4cbd331bd6db2f1b2c8
[ "MIT" ]
null
null
null
jani/inspector/ui/BaseWindow.cpp
RodrigoHolztrattner/JANI
cd8794a9826645ecf4ccf4cbd331bd6db2f1b2c8
[ "MIT" ]
null
null
null
jani/inspector/ui/BaseWindow.cpp
RodrigoHolztrattner/JANI
cd8794a9826645ecf4ccf4cbd331bd6db2f1b2c8
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // Filename: BaseWindow.cpp //////////////////////////////////////////////////////////////////////////////// #include "BaseWindow.h" #include "imgui.h" #include "..\imgui_extension.h" Jani::Inspector::BaseWindow::BaseWindow(InspectorManag...
32.99211
241
0.628505
RodrigoHolztrattner
0171b344cb1d582828969b7e099d9e2168cb09f5
5,000
cpp
C++
trunk/src/kernel/lbmemcheck.cpp
breezeewu/media-server
b7f6e7c24a1c849180ba31088250c0174b1112e0
[ "MIT" ]
null
null
null
trunk/src/kernel/lbmemcheck.cpp
breezeewu/media-server
b7f6e7c24a1c849180ba31088250c0174b1112e0
[ "MIT" ]
null
null
null
trunk/src/kernel/lbmemcheck.cpp
breezeewu/media-server
b7f6e7c24a1c849180ba31088250c0174b1112e0
[ "MIT" ]
null
null
null
#include <lbmemcheck.hpp> #include <srs_kernel_log.hpp> #ifndef lbtrace #define lbtrace srs_trace #endif #ifndef lberror #define lberror srs_error #endif lbmemcheck_ctx* g_pmcc = NULL; lbmemcheck_ctx* lbmemcheck_initialize() { lbmemcheck_ctx* pmcc = (lbmemcheck_ctx*)::calloc(1, sizeof(lbmemcheck_ctx)); pmcc->...
28.248588
157
0.5894
breezeewu
0173d54babdf4883a3150eb0599e66987bd23a3b
5,591
cpp
C++
CsCoreDEPRECATED/Source/CsCoreDEPRECATED/Components/CsWidgetComponent.cpp
closedsum/core
c3cae44a177b9684585043a275130f9c7b67fef0
[ "Unlicense" ]
2
2019-03-17T10:43:53.000Z
2021-04-20T21:24:19.000Z
CsCoreDEPRECATED/Source/CsCoreDEPRECATED/Components/CsWidgetComponent.cpp
closedsum/core
c3cae44a177b9684585043a275130f9c7b67fef0
[ "Unlicense" ]
null
null
null
CsCoreDEPRECATED/Source/CsCoreDEPRECATED/Components/CsWidgetComponent.cpp
closedsum/core
c3cae44a177b9684585043a275130f9c7b67fef0
[ "Unlicense" ]
null
null
null
// Copyright 2017-2019 Closed Sum Games, LLC. All Rights Reserved. #include "Components/CsWidgetComponent.h" #include "CsCoreDEPRECATED.h" // Types #include "Types/CsTypes.h" // Library #include "Library/CsLibrary_Common.h" // UI #include "UI/CsUserWidget.h" #include "UI/Simple/CsSimpleWidget.h" #include "Pawn/CsPawn...
24.959821
150
0.764979
closedsum
01763bf730e3956eed4037306a07412622ffb5a9
2,021
hpp
C++
include/Core/Tiles/Tileset.hpp
Sygmei/ObEngine
881b1471cd9824a0afed22b9a47131fd3ebc6009
[ "MIT" ]
442
2017-03-03T11:42:11.000Z
2021-05-20T13:40:02.000Z
include/Core/Tiles/Tileset.hpp
Sygmei/ObEngine
881b1471cd9824a0afed22b9a47131fd3ebc6009
[ "MIT" ]
308
2017-02-21T10:39:31.000Z
2021-05-14T21:30:56.000Z
include/Core/Tiles/Tileset.hpp
Sygmei/ObEngine
881b1471cd9824a0afed22b9a47131fd3ebc6009
[ "MIT" ]
45
2017-03-11T15:24:28.000Z
2021-05-09T15:21:42.000Z
#pragma once #include <map> #include <SFML/Graphics/VertexArray.hpp> #include <Graphics/RenderTarget.hpp> #include <Graphics/Texture.hpp> #include <Scene/Camera.hpp> #include <Types/Identifiable.hpp> #include <Types/Serializable.hpp> namespace obe::Tiles { class Tileset : public Types::Identifiable { pr...
32.079365
100
0.660564
Sygmei
017768daea06f2b3bad9fa5c4261f7da65f3a67a
5,330
cpp
C++
mainprograms/TestTwoDProblem.cpp
Kauehenrik/FemCourseEigenClass2021
d4927d92b541fdd2b2aa1fa424a413dd561ae96e
[ "MIT" ]
1
2021-06-12T13:21:51.000Z
2021-06-12T13:21:51.000Z
mainprograms/TestTwoDProblem.cpp
Kauehenrik/FemCourseEigenClass2021
d4927d92b541fdd2b2aa1fa424a413dd561ae96e
[ "MIT" ]
null
null
null
mainprograms/TestTwoDProblem.cpp
Kauehenrik/FemCourseEigenClass2021
d4927d92b541fdd2b2aa1fa424a413dd561ae96e
[ "MIT" ]
null
null
null
// // TestOneDProblem.cpp MODIFICADO DO ORIGINAL // FemSC // // Created by Eduardo Ferri on 08/17/15. // // //TestOneDProblem cpp // Os testes foram preparados com um proposito educacional, // recomenda-se que o aluno entenda a funcionalidade de cada // teste e posteriormente use com seu cÛdigo caso a caso // ...
31.538462
536
0.593246
Kauehenrik
0177e04f79e8bbcea39736ba26a1a8493ddd5140
683
cxx
C++
tests/test_utils.cxx
hiroshin-dev/cxxplug
5d55a0424391301221a765f978d76fc702d33dd2
[ "MIT" ]
null
null
null
tests/test_utils.cxx
hiroshin-dev/cxxplug
5d55a0424391301221a765f978d76fc702d33dd2
[ "MIT" ]
null
null
null
tests/test_utils.cxx
hiroshin-dev/cxxplug
5d55a0424391301221a765f978d76fc702d33dd2
[ "MIT" ]
null
null
null
/// /// Copyright (c) 2022 Hiroshi Nakashima /// /// This software is released under the MIT License, see LICENSE. /// #include "gtest/gtest.h" #include "cxxplug/cxxplug.hxx" TEST(utils, get_environment) { { const auto value = cxxplug::get_environment("TEST_ENVIRONMENT"); EXPECT_EQ(value, "test-environment"...
22.766667
73
0.688141
hiroshin-dev
0178901bb980db888ea41e06293f16fbc51d45bf
758
cpp
C++
16. Heap/top_k _frequent_eleemnt.cpp
Ujjawalgupta42/Hacktoberfest2021-DSA
eccd9352055085973e3d6a1feb10dd193905584b
[ "MIT" ]
225
2021-10-01T03:09:01.000Z
2022-03-11T11:32:49.000Z
16. Heap/top_k _frequent_eleemnt.cpp
Ujjawalgupta42/Hacktoberfest2021-DSA
eccd9352055085973e3d6a1feb10dd193905584b
[ "MIT" ]
252
2021-10-01T03:45:20.000Z
2021-12-07T18:32:46.000Z
16. Heap/top_k _frequent_eleemnt.cpp
Ujjawalgupta42/Hacktoberfest2021-DSA
eccd9352055085973e3d6a1feb10dd193905584b
[ "MIT" ]
911
2021-10-01T02:55:19.000Z
2022-02-06T09:08:37.000Z
#define pb push_back class Solution { public: vector<int> topKFrequent(vector<int>& nums, int k) { vector<int> ans ; unordered_map<int,int> mp ; for ( int i =0 ; i<nums.size(); i++) { mp[nums[i]] ++ ; } // priority_queue<pair<int,int>...
25.266667
92
0.523747
Ujjawalgupta42
017c55c48eca20afad7562e302b57bc3d0b76907
831
cpp
C++
tests/assert/is-not-null.cpp
njlr/mnmlstc-unittest
3e48e15730535f258251742efddf556be764e079
[ "Apache-2.0" ]
3
2015-02-27T04:09:09.000Z
2021-05-11T16:02:55.000Z
tests/assert/is-not-null.cpp
njlr/mnmlstc-unittest
3e48e15730535f258251742efddf556be764e079
[ "Apache-2.0" ]
null
null
null
tests/assert/is-not-null.cpp
njlr/mnmlstc-unittest
3e48e15730535f258251742efddf556be764e079
[ "Apache-2.0" ]
2
2017-08-15T12:34:09.000Z
2020-05-17T07:30:05.000Z
#include <iostream> #include <memory> #include <string> #include <cstdlib> #include <unittest/assert.hpp> #include <unittest/error.hpp> void v1() { using unittest::v1::error; namespace assert = unittest::v1::assert; std::unique_ptr<int> ptr { new int }; try { assert::is_not_null(ptr.release()); } catch (...
21.307692
65
0.583634
njlr
01801849ac23992dc22a0048d412b27e1b3ea4e8
143
cpp
C++
main.cpp
SCUTSSE/chatbot
4ac82e6eeb8d4a158439962b9dcedfa0b7967ddd
[ "MIT" ]
1
2020-05-19T20:17:34.000Z
2020-05-19T20:17:34.000Z
main.cpp
SCUTSSE/chatbot
4ac82e6eeb8d4a158439962b9dcedfa0b7967ddd
[ "MIT" ]
null
null
null
main.cpp
SCUTSSE/chatbot
4ac82e6eeb8d4a158439962b9dcedfa0b7967ddd
[ "MIT" ]
1
2018-07-13T10:22:37.000Z
2018-07-13T10:22:37.000Z
#include"Chatbot.h" #include <iostream> using namespace std; int main() { Tuling xiaoling; xiaoling.Interface(); return 0; }
11.916667
23
0.643357
SCUTSSE
0181eef46a2b7d6d6418277e17ef875214245fb1
7,341
cc
C++
chrome/browser/ui/views/autofill/save_card_bubble_views.cc
Wzzzx/chromium-crosswalk
768dde8efa71169f1c1113ca6ef322f1e8c9e7de
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2019-01-28T08:09:58.000Z
2021-11-15T15:32:10.000Z
chrome/browser/ui/views/autofill/save_card_bubble_views.cc
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
null
null
null
chrome/browser/ui/views/autofill/save_card_bubble_views.cc
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
6
2020-09-23T08:56:12.000Z
2021-11-18T03:40:49.000Z
// Copyright 2015 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 "chrome/browser/ui/views/autofill/save_card_bubble_views.h" #include <stddef.h> #include "base/strings/utf_string_conversions.h" #include "buil...
34.144186
80
0.720883
Wzzzx
01843b26f300477b1298c52eeaa7c67d8a99c897
1,232
cpp
C++
sandbox/oldies/memtest/memtest.cpp
rboman/progs
c60b4e0487d01ccd007bcba79d1548ebe1685655
[ "Apache-2.0" ]
2
2021-12-12T13:26:06.000Z
2022-03-03T16:14:53.000Z
sandbox/oldies/memtest/memtest.cpp
rboman/progs
c60b4e0487d01ccd007bcba79d1548ebe1685655
[ "Apache-2.0" ]
5
2019-03-01T07:08:46.000Z
2019-04-28T07:32:42.000Z
sandbox/oldies/memtest/memtest.cpp
rboman/progs
c60b4e0487d01ccd007bcba79d1548ebe1685655
[ "Apache-2.0" ]
2
2017-12-13T13:13:52.000Z
2019-03-13T20:08:15.000Z
#include <iostream> int memtest() { // memtest.cpp --- long int step = 1024 * 1024; double *ptr = NULL; long int lastsiz = 0; int k = 0; do { long int size = (++k) * step; std::cout << "trying to allocate " << (size * sizeof(double)) / 1024 / 1024; ...
22
77
0.417208
rboman
0184efcc3b5989736813b82f861630e2889a8d41
134
cpp
C++
first_app.cpp
venim1103/sdl-vulkan-demo
5c8f36eabf820e3bfb23da0aadb3be6b313a5629
[ "Apache-2.0" ]
null
null
null
first_app.cpp
venim1103/sdl-vulkan-demo
5c8f36eabf820e3bfb23da0aadb3be6b313a5629
[ "Apache-2.0" ]
null
null
null
first_app.cpp
venim1103/sdl-vulkan-demo
5c8f36eabf820e3bfb23da0aadb3be6b313a5629
[ "Apache-2.0" ]
null
null
null
#include "first_app.hpp" namespace vulkan { void FirstApp::run() { SDL_Event event; while(!sdlwindow.shouldClose(&event)); } }
10.307692
40
0.69403
venim1103
0184f99805058d61808eb95383e1f95ac4607084
1,013
cpp
C++
test/aoj/0560.test.cpp
atree-GitHub/competitive-library
606b444036530b698a6363b1a41cdaa90a7f9578
[ "CC0-1.0" ]
1
2022-01-25T23:03:10.000Z
2022-01-25T23:03:10.000Z
test/aoj/0560.test.cpp
atree4728/competitive-library
1aaa4d2cf9283b9a1a3d4c7f114ff7b867ca2f8b
[ "CC0-1.0" ]
6
2021-10-06T01:17:04.000Z
2022-01-16T14:45:47.000Z
test/aoj/0560.test.cpp
atree-GitHub/competitive-library
606b444036530b698a6363b1a41cdaa90a7f9578
[ "CC0-1.0" ]
null
null
null
#define PROBLEM "http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0560" #include <cassert> #include <iostream> #include "lib/data_structure/partial_sum_2D.hpp" int main() { using namespace std; size_t n, m, q; cin >> n >> m >> q; vector<string> field(n); for (auto &&elem: field) cin >> ele...
32.677419
92
0.467917
atree-GitHub
01854efcd74250706192739705de9ec6b2d42d42
3,151
cpp
C++
modules/task_2/kolesin_a_bubblesort/main.cpp
LioBuitrago/pp_2020_autumn_informatics
1ecc1b5dae978295778176ff11ffe42bedbc602e
[ "BSD-3-Clause" ]
1
2020-11-20T15:05:12.000Z
2020-11-20T15:05:12.000Z
modules/task_2/kolesin_a_bubblesort/main.cpp
LioBuitrago/pp_2020_autumn_informatics
1ecc1b5dae978295778176ff11ffe42bedbc602e
[ "BSD-3-Clause" ]
1
2021-02-13T03:00:05.000Z
2021-02-13T03:00:05.000Z
modules/task_2/kolesin_a_bubblesort/main.cpp
LioBuitrago/pp_2020_autumn_informatics
1ecc1b5dae978295778176ff11ffe42bedbc602e
[ "BSD-3-Clause" ]
1
2020-10-11T09:11:57.000Z
2020-10-11T09:11:57.000Z
// Copyright 2020 Kolesin Andrey #include <gtest-mpi-listener.hpp> #include <gtest/gtest.h> #include <stdio.h> #include <random> #include <vector> #include <algorithm> #include "./bubblesort.h" TEST(Count_Words, Test_1) { int rank; MPI_Comm_rank(MPI_COMM_WORLD, &rank); std::vector<int> arr = {1}; paral...
30.592233
86
0.569026
LioBuitrago
0188369b84b64e22807211ad007ac4f33e189ef3
343
hpp
C++
src/sys/house.hpp
Hopobcn/EnTT-Pacman
5187472419f05b79fa9b92593e85fff7c0ae6ca1
[ "MIT" ]
null
null
null
src/sys/house.hpp
Hopobcn/EnTT-Pacman
5187472419f05b79fa9b92593e85fff7c0ae6ca1
[ "MIT" ]
null
null
null
src/sys/house.hpp
Hopobcn/EnTT-Pacman
5187472419f05b79fa9b92593e85fff7c0ae6ca1
[ "MIT" ]
null
null
null
// // house.hpp // EnTT Pacman // // Created by Indi Kernick on 29/9/18. // Copyright © 2018 Indi Kernick. All rights reserved. // #ifndef SYS_HOUSE_HPP #define SYS_HOUSE_HPP #include "util/registry.hpp" // These systems deal with ghosts entering and leaving the house void enterHouse(Registry &); void leaveHous...
17.15
64
0.720117
Hopobcn
018e7beb17ff3ac7140452cde5d3b1849993d0f1
21,319
cc
C++
build/px4_sitl_default/build_gazebo/MagneticField.pb.cc
amilearning/PX4-Autopilot
c1b997fbc48492689a5f6d0a090d1ea2c7d6c272
[ "BSD-3-Clause" ]
null
null
null
build/px4_sitl_default/build_gazebo/MagneticField.pb.cc
amilearning/PX4-Autopilot
c1b997fbc48492689a5f6d0a090d1ea2c7d6c272
[ "BSD-3-Clause" ]
null
null
null
build/px4_sitl_default/build_gazebo/MagneticField.pb.cc
amilearning/PX4-Autopilot
c1b997fbc48492689a5f6d0a090d1ea2c7d6c272
[ "BSD-3-Clause" ]
null
null
null
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: MagneticField.proto #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION #include "MagneticField.pb.h" #include <algorithm> #include <google/protobuf/stubs/common.h> #include <google/protobuf/stubs/port.h> #include <google/protobuf/stubs/once.h> ...
36.195246
143
0.735166
amilearning
018f9341b13ea26fc66097e44c6d3fc1a3347ed6
3,657
cpp
C++
src/quit.cpp
meelgroup/RoundXOR
c35d7316a46deed7cca0ab7eb314b5aa2ff7d7f7
[ "MIT" ]
5
2021-10-29T18:39:10.000Z
2022-03-23T11:53:46.000Z
src/quit.cpp
meelgroup/RoundXOR
c35d7316a46deed7cca0ab7eb314b5aa2ff7d7f7
[ "MIT" ]
1
2022-02-09T10:56:21.000Z
2022-02-09T10:56:30.000Z
src/quit.cpp
meelgroup/linpb
c35d7316a46deed7cca0ab7eb314b5aa2ff7d7f7
[ "MIT" ]
null
null
null
/*********************************************************************** Copyright (c) 2014-2020, Jan Elffers Copyright (c) 2019-2020, Jo Devriendt Copyright (c) 2020, Stephan Gocht Parts of the code were copied or adapted from MiniSat. MiniSat -- Copyright (c) 2003-2006, Niklas Een, Niklas Sorensson Copyr...
36.57
93
0.67405
meelgroup
0192040515727a93065c7763efdbbe306a22e3e9
2,270
cpp
C++
OS/linux.cpp
partouf/GoPiGoCPP
b0605953cf5f810d7452b2a0d0592cd6715403d7
[ "MIT" ]
1
2016-03-08T13:30:39.000Z
2016-03-08T13:30:39.000Z
OS/linux.cpp
partouf/GoPiGoCPP
b0605953cf5f810d7452b2a0d0592cd6715403d7
[ "MIT" ]
null
null
null
OS/linux.cpp
partouf/GoPiGoCPP
b0605953cf5f810d7452b2a0d0592cd6715403d7
[ "MIT" ]
null
null
null
#include "linux.h" #include <stdio.h> #include <stdlib.h> #include <linux/i2c-dev.h> #include <fcntl.h> #include <sys/ioctl.h> #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> #include <stdexcept> #include <string> GoPiGo::LinuxBoard::LinuxBoard(int AI2CDeviceNumber) : IBoard() { this->I2CDevice...
17.734375
92
0.629075
partouf
0197d688542c3d7014675a027dc5e9ae40b81266
8,257
cpp
C++
converter.cpp
jackMilano/QT-Converter
8089f1b028dee223bc536788789ca7aa96d44b95
[ "MIT" ]
null
null
null
converter.cpp
jackMilano/QT-Converter
8089f1b028dee223bc536788789ca7aa96d44b95
[ "MIT" ]
null
null
null
converter.cpp
jackMilano/QT-Converter
8089f1b028dee223bc536788789ca7aa96d44b95
[ "MIT" ]
null
null
null
#include "converter.h" #include "ui_converter.h" #include <QComboBox> #include <QEventLoop> #include <QNetworkAccessManager> #include <QNetworkReply> #include <QVector> #include <QtWidgets> #include <cmath> #include <iostream> Converter::Converter(QWidget *parent) : QMainWindow(parent), _ui(new Ui::Converter)...
28.870629
127
0.675669
jackMilano
019885849c6e40616f80020631204cd3811ae869
14,162
cpp
C++
graphicspiece.cpp
0yinf/Klotski
df3c3d6ea58d936e059b31c614bdafebd88e70ec
[ "MIT" ]
2
2017-09-17T16:16:15.000Z
2017-09-17T16:16:18.000Z
graphicspiece.cpp
0yinf/Klotski
df3c3d6ea58d936e059b31c614bdafebd88e70ec
[ "MIT" ]
1
2017-09-21T08:27:20.000Z
2017-09-21T08:27:20.000Z
graphicspiece.cpp
0yinf/Klotski
df3c3d6ea58d936e059b31c614bdafebd88e70ec
[ "MIT" ]
3
2017-09-13T02:44:46.000Z
2017-09-17T05:41:11.000Z
//#define IGNORE_VALID_MOVES #define MOVE_SYNC_THRESHOLD 0.6 //#define MOVE_DIRECTION_LIMIT_CANCEL_THRESHOLD 0.03 #include "common.h" #include "graphicspiece.h" #include "move.h" #include <QPainter> #include <QWidget> #include <QGraphicsScene> #include <QDebug> #include <QGraphicsSceneMouseEvent> #include <QSequenti...
33.961631
116
0.59695
0yinf
0199c6f043091081dc9b62b0896afc710cd495d8
2,333
cpp
C++
luna2d/platform/wp/lunawplog.cpp
stepanp/luna2d
b9dbec8cabaaf4c3c0a4f99720350d25a8b42fcf
[ "MIT" ]
30
2015-01-06T20:42:55.000Z
2022-01-12T01:46:47.000Z
luna2d/platform/wp/lunawplog.cpp
stepanp/luna2d
b9dbec8cabaaf4c3c0a4f99720350d25a8b42fcf
[ "MIT" ]
null
null
null
luna2d/platform/wp/lunawplog.cpp
stepanp/luna2d
b9dbec8cabaaf4c3c0a4f99720350d25a8b42fcf
[ "MIT" ]
13
2016-04-26T15:42:44.000Z
2022-03-21T02:40:58.000Z
//----------------------------------------------------------------------------- // luna2d engine // Copyright 2014-2017 Stepan Prokofjev // // 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 ...
28.802469
86
0.676382
stepanp
019ded58dc8cb5bb2ae9c8f747fb644d00efffe2
431
hpp
C++
Hurrican/src/enemies/Gegner_Diamant.hpp
s1eve-mcdichae1/Hurrican
3ed6ff9ee94d2ea2b79e451466d28f06d58acf19
[ "MIT" ]
21
2018-04-13T10:45:45.000Z
2022-03-29T14:53:43.000Z
Hurrican/src/enemies/Gegner_Diamant.hpp
s1eve-mcdichae1/Hurrican
3ed6ff9ee94d2ea2b79e451466d28f06d58acf19
[ "MIT" ]
10
2018-07-03T02:08:44.000Z
2021-05-17T16:13:21.000Z
Hurrican/src/enemies/Gegner_Diamant.hpp
s1eve-mcdichae1/Hurrican
3ed6ff9ee94d2ea2b79e451466d28f06d58acf19
[ "MIT" ]
3
2021-10-08T12:35:05.000Z
2022-03-03T06:03:49.000Z
#ifndef _GEGNER_DIAMANT_H #define _GEGNER_DIAMANT_H #include "GegnerClass.hpp" #include "Gegner_Stuff.hpp" class GegnerDiamant : public GegnerClass { public: GegnerDiamant(int Wert1, int Wert2, // Konstruktor bool Light); void GegnerExplode() override; // Gegner explodi...
25.352941
95
0.672854
s1eve-mcdichae1
019e2d5982570cba05a08d57a7d44f0e0ca3a6c1
1,231
cpp
C++
playground/meta-programming/if-else.cpp
llHoYall/Cpp_Playground
3f50237c7530e31be571e67ad2a627d1f33bbf51
[ "MIT" ]
null
null
null
playground/meta-programming/if-else.cpp
llHoYall/Cpp_Playground
3f50237c7530e31be571e67ad2a627d1f33bbf51
[ "MIT" ]
null
null
null
playground/meta-programming/if-else.cpp
llHoYall/Cpp_Playground
3f50237c7530e31be571e67ad2a627d1f33bbf51
[ "MIT" ]
null
null
null
/******************************************************************************* * @brief Template Meta programming: If-Else * @author llHoYall <hoya128@gmail.com> * @version v1.0 * @history * 2018.12.29 Created. ******************************************************************************/ /* Include Header...
24.62
80
0.434606
llHoYall
019e9cff3c65cc2e178cb19d59c226d7d94b6a88
456
hpp
C++
courses/compilation/cpp/dnn/step_2/include/dnn/propagation.hpp
JohanMabille/MAP586
d20e01f101ff3f57c96129833835a1cd46071a6d
[ "BSD-3-Clause" ]
4
2022-01-28T15:55:49.000Z
2022-02-15T12:14:32.000Z
courses/compilation/cpp/dnn/step_2/include/dnn/propagation.hpp
JohanMabille/MAP586
d20e01f101ff3f57c96129833835a1cd46071a6d
[ "BSD-3-Clause" ]
null
null
null
courses/compilation/cpp/dnn/step_2/include/dnn/propagation.hpp
JohanMabille/MAP586
d20e01f101ff3f57c96129833835a1cd46071a6d
[ "BSD-3-Clause" ]
3
2021-12-27T08:57:07.000Z
2022-01-17T22:22:02.000Z
#ifndef DNN_PROPAGATION #define DNN_PROPAGATION #include "types.hpp" namespace dnn { void forward_propagation(const array_t& input, const weights_t& weights, matrix_t& aggregation, matrix_t& activation); void backward_propagation(const array_t& input, const array_t& expected, con...
35.076923
122
0.688596
JohanMabille
019ed6cc10cfeca30386e45142fbed1c86a29e88
3,553
cpp
C++
Povox/src/Povox/Renderer/RayTracing/RayTracerTesting.cpp
PowerOfNames/PonX
cac2c67168857409b40f9f76e9570868668370fd
[ "Apache-2.0" ]
null
null
null
Povox/src/Povox/Renderer/RayTracing/RayTracerTesting.cpp
PowerOfNames/PonX
cac2c67168857409b40f9f76e9570868668370fd
[ "Apache-2.0" ]
null
null
null
Povox/src/Povox/Renderer/RayTracing/RayTracerTesting.cpp
PowerOfNames/PonX
cac2c67168857409b40f9f76e9570868668370fd
[ "Apache-2.0" ]
null
null
null
#include "pxpch.h" #include "Povox/Renderer/RayTracing/RayTracerTesting.h" #include "Povox/Renderer/RenderCommand.h" #include "Povox/Renderer/VertexArray.h" #include "Povox/Renderer/Texture.h" namespace Povox { struct TracerData { Ref<VertexArray> VertexArray; Ref<Shader> RayMarchingShader; Ref<Texture> ...
28.653226
143
0.723614
PowerOfNames
019ee8efe8f3ac6ac6a1188e277b8ecde4de275b
7,839
cxx
C++
tests/test_string_algo.cxx
sikol/ivy
6365b8783353cf0c79c633bbc7110be95a55225c
[ "BSL-1.0" ]
null
null
null
tests/test_string_algo.cxx
sikol/ivy
6365b8783353cf0c79c633bbc7110be95a55225c
[ "BSL-1.0" ]
null
null
null
tests/test_string_algo.cxx
sikol/ivy
6365b8783353cf0c79c633bbc7110be95a55225c
[ "BSL-1.0" ]
null
null
null
/* * Copyright (c) 2019, 2020, 2021 SiKol Ltd. * Distributed under the Boost Software License, Version 1.0. */ #include <string> #include <vector> #include <catch2/catch.hpp> #include <ivy/charenc/utf32.hxx> #include <ivy/regex.hxx> #include <ivy/string/join.hxx> #include <ivy/string/match.hxx> #inc...
27.699647
80
0.60148
sikol
019f4e5b9a6bfc4569ad707f56c4bd5e2d12f115
5,964
cpp
C++
demos/gravitygizmo/src/player.cpp
leftidev/leng
9df738a9f5d8f90d2a01234d4d4b13311017d93e
[ "MIT" ]
null
null
null
demos/gravitygizmo/src/player.cpp
leftidev/leng
9df738a9f5d8f90d2a01234d4d4b13311017d93e
[ "MIT" ]
null
null
null
demos/gravitygizmo/src/player.cpp
leftidev/leng
9df738a9f5d8f90d2a01234d4d4b13311017d93e
[ "MIT" ]
null
null
null
#include "player.h" #include <iostream> namespace leng { Player::Player(float x, float y, float width, float height, const std::string& path) : Entity(x, y, width, height, path) { upHeld = false; downHeld = false; rightHeld = false; leftHeld = false; inAir = true; jumped = true; canDouble...
22.088889
134
0.598592
leftidev
01a0efd0f8c35898ee28b2f5badd32cbed94b497
1,728
cpp
C++
CPlusPlus/UserDefinedTypes/struct_particles.cpp
stijnvanhoey/training-material
d8e23c2aefaaafbd6a6d5e059147831c651f21ec
[ "CC0-1.0" ]
null
null
null
CPlusPlus/UserDefinedTypes/struct_particles.cpp
stijnvanhoey/training-material
d8e23c2aefaaafbd6a6d5e059147831c651f21ec
[ "CC0-1.0" ]
null
null
null
CPlusPlus/UserDefinedTypes/struct_particles.cpp
stijnvanhoey/training-material
d8e23c2aefaaafbd6a6d5e059147831c651f21ec
[ "CC0-1.0" ]
1
2019-01-07T22:45:34.000Z
2019-01-07T22:45:34.000Z
#include <cmath> #include <functional> #include <iostream> #include <random> using namespace std; struct Particle { double x, y, z; double mass; }; Particle init_particle(function<double()> pos_distr, function<double()> mass_distr); void move_particle(Particle& p, double dx, double dy,...
27
72
0.570023
stijnvanhoey
01a3a615852f421a860e6011a67dc0de0036e85a
294
cpp
C++
All_code/67.cpp
jnvshubham7/cpp-programming
7d00f4a3b97b9308e337c5d3547fd3edd47c5e0b
[ "Apache-2.0" ]
1
2021-12-22T12:37:36.000Z
2021-12-22T12:37:36.000Z
All_code/67.cpp
jnvshubham7/CPP_Programming
a17c4a42209556495302ca305b7c3026df064041
[ "Apache-2.0" ]
null
null
null
All_code/67.cpp
jnvshubham7/CPP_Programming
a17c4a42209556495302ca305b7c3026df064041
[ "Apache-2.0" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { freopen("input.txt", "r", stdin); freopen("output.txt", "w", stdout); long long int a[n]; int sum=0; for(int i=0;i<n;i++){ cin>>a[i]; sum=sum+a[i]; } cout<<sum; return 0; }
14
38
0.482993
jnvshubham7
01a6e736f7d9374023cc774afc226b6bc2eef20d
4,794
tpp
C++
hardware/libraries/TinyGSM-master/src/TinyGsmGSMLocation.tpp
oscillator25/saaf-water
909edd23eaa3a57c80ccfcebcb0a735305389088
[ "Apache-2.0" ]
32
2021-09-10T17:17:02.000Z
2022-03-03T11:01:38.000Z
hardware/libraries/TinyGSM-master/src/TinyGsmGSMLocation.tpp
oscillator25/saaf-water
909edd23eaa3a57c80ccfcebcb0a735305389088
[ "Apache-2.0" ]
1
2021-07-31T14:45:56.000Z
2021-07-31T14:46:32.000Z
hardware/libraries/TinyGSM-master/src/TinyGsmGSMLocation.tpp
oscillator25/saaf-water
909edd23eaa3a57c80ccfcebcb0a735305389088
[ "Apache-2.0" ]
6
2021-11-18T05:59:46.000Z
2022-01-09T09:18:37.000Z
/** * @file TinyGsmGSMLocation.h * @author Volodymyr Shymanskyy * @license LGPL-3.0 * @copyright Copyright (c) 2016 Volodymyr Shymanskyy * @date Nov 2016 */ #ifndef SRC_TINYGSMGSMLOCATION_H_ #define SRC_TINYGSMGSMLOCATION_H_ #include "TinyGsmCommon.h" #define TINY_GSM_MODEM_HAS_GSM_LOCATION...
31.96
80
0.583438
oscillator25
01ab1d194ef773e9550ad4b8bdfef6e9358c50f7
13,862
cpp
C++
src/core/Application.cpp
lutrarutra/trafsim
05e87b263b48e39d63f699dcaa456f10ca61e9a4
[ "Apache-2.0" ]
12
2019-12-28T21:45:23.000Z
2022-03-28T12:40:44.000Z
src/core/Application.cpp
lutrarutra/trafsim
05e87b263b48e39d63f699dcaa456f10ca61e9a4
[ "Apache-2.0" ]
null
null
null
src/core/Application.cpp
lutrarutra/trafsim
05e87b263b48e39d63f699dcaa456f10ca61e9a4
[ "Apache-2.0" ]
1
2021-05-31T10:22:41.000Z
2021-05-31T10:22:41.000Z
#include "Application.hpp" #include <memory> #include <iostream> #include <string> #include <utility> #include "imgui.h" #include "imgui-SFML.h" #include "imgui_internal.h" #include "trafficsim/RoadTile.hpp" #include "trafficsim/StraightRoad.hpp" #include "trafficsim/RoadIntersection.hpp" #include "trafficsim/RoadTr...
38.292818
171
0.608931
lutrarutra
01aedd45e7ea4136002fda83b4302b5bbd28ae42
66
cpp
C++
test/query-manager/Runner.cpp
izenecloud/sf1r-lite
8de9aa83c38c9cd05a80b216579552e89609f136
[ "Apache-2.0" ]
77
2015-02-12T20:59:20.000Z
2022-03-05T18:40:49.000Z
test/query-manager/Runner.cpp
fytzzh/sf1r-lite
8de9aa83c38c9cd05a80b216579552e89609f136
[ "Apache-2.0" ]
1
2017-04-28T08:55:47.000Z
2017-07-10T10:10:53.000Z
test/query-manager/Runner.cpp
fytzzh/sf1r-lite
8de9aa83c38c9cd05a80b216579552e89609f136
[ "Apache-2.0" ]
33
2015-01-05T03:03:05.000Z
2022-02-06T04:22:46.000Z
#define BOOST_TEST_MODULE Query Manager #include "TestRunner.inl"
22
39
0.833333
izenecloud
01b0d628d63692a37ac776da1c881343806e3b6e
105,658
cpp
C++
Remote.cpp
kengonakajima/moyai
70077449eb2446de6c24de928050ad8affc6df3d
[ "Zlib" ]
37
2015-07-23T04:02:51.000Z
2021-09-23T08:39:12.000Z
Remote.cpp
kengonakajima/moyai
70077449eb2446de6c24de928050ad8affc6df3d
[ "Zlib" ]
1
2018-08-30T08:33:38.000Z
2018-08-30T08:33:38.000Z
Remote.cpp
kengonakajima/moyai
70077449eb2446de6c24de928050ad8affc6df3d
[ "Zlib" ]
8
2015-07-23T04:02:58.000Z
2020-11-10T14:52:12.000Z
#include "common.h" #include "client.h" #include "Remote.h" #include "JPEGCoder.h" #include "crc32.h" #ifdef USE_UNTZ #include "threading/Threading.h" // To implement lock around send buffer inside libuv RCriticalSection g_lock; #endif #include "ConvertUTF.h" //////// void Moyai::globalInitNetwork() { static ...
41.548565
214
0.627326
kengonakajima
01b2d5c9761b9d2cb889fb82409aab565a58c758
14,524
cpp
C++
Sources/External/node/elastos/external/chromium_org/third_party/WebKit/Source/modules/modules_gyp/bindings/core/v8/V8SVGPathSegCurvetoCubicRel.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
7
2017-07-13T10:34:54.000Z
2021-04-16T05:40:35.000Z
Sources/External/node/elastos/external/chromium_org/third_party/WebKit/Source/modules/modules_gyp/bindings/core/v8/V8SVGPathSegCurvetoCubicRel.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
null
null
null
Sources/External/node/elastos/external/chromium_org/third_party/WebKit/Source/modules/modules_gyp/bindings/core/v8/V8SVGPathSegCurvetoCubicRel.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
9
2017-07-13T12:33:20.000Z
2021-06-19T02:46:48.000Z
// Copyright 2014 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. // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! #include "config.h" #include "V8SVGPathSegCurvetoCubicRel.h" #include "bind...
47.464052
326
0.774649
jingcao80
01b356052faac528613ddedb53d87ecf6305400a
96,356
cpp
C++
ref-impl/src/impl/ImplAAFDictionary.cpp
Phygon/aaf
faef720e031f501190481e1d1fc1870a7dc8f98b
[ "Linux-OpenIB" ]
null
null
null
ref-impl/src/impl/ImplAAFDictionary.cpp
Phygon/aaf
faef720e031f501190481e1d1fc1870a7dc8f98b
[ "Linux-OpenIB" ]
null
null
null
ref-impl/src/impl/ImplAAFDictionary.cpp
Phygon/aaf
faef720e031f501190481e1d1fc1870a7dc8f98b
[ "Linux-OpenIB" ]
null
null
null
//=---------------------------------------------------------------------= // // $Id$ $Name$ // // The contents of this file are subject to the AAF SDK Public Source // License Agreement Version 2.0 (the "License"); You may not use this // file except in compliance with the License. The License is available // in AAFSD...
27.720368
144
0.682708
Phygon
01b3e55d56db4c26698eff448438f681cbfc80e6
1,473
cc
C++
chapter-acceleration/openmp/offload-case-studies/case5.cc
Mark1626/road-to-plus-plus
500db757051e32e6ccd144b70171c826527610d4
[ "CC0-1.0" ]
1
2021-07-04T12:41:16.000Z
2021-07-04T12:41:16.000Z
chapter-acceleration/openmp/offload-case-studies/case5.cc
Mark1626/road-to-plus-plus
500db757051e32e6ccd144b70171c826527610d4
[ "CC0-1.0" ]
null
null
null
chapter-acceleration/openmp/offload-case-studies/case5.cc
Mark1626/road-to-plus-plus
500db757051e32e6ccd144b70171c826527610d4
[ "CC0-1.0" ]
null
null
null
#include <cmath> #include <cstdio> // static const int waveletsize = 3; // static const int size = 6; class HaarWavelet { public: static const int waveletsize = 3; static const int size = 6; double wavelet[waveletsize] = {0.0, 1.0 / 2.0, 1.0 / 2.0}; double sigmafactors[size + 1] = {1.00000000000, 7.07167810e-...
26.781818
79
0.619823
Mark1626
01bdd4f02548e24a34c2e63f51fc3ff6bfc8f172
29,130
cpp
C++
boolean_network/cudd_bnet.cpp
tonyfloatersu/simulator
78dc09c6a704a7e9e0ffd3ad7f33f7b71971a773
[ "MIT" ]
1
2020-10-28T15:15:03.000Z
2020-10-28T15:15:03.000Z
boolean_network/cudd_bnet.cpp
SJTU-ECTL/simulator
78dc09c6a704a7e9e0ffd3ad7f33f7b71971a773
[ "MIT" ]
null
null
null
boolean_network/cudd_bnet.cpp
SJTU-ECTL/simulator
78dc09c6a704a7e9e0ffd3ad7f33f7b71971a773
[ "MIT" ]
null
null
null
/** @file @ingroup nanotrav @brief Functions to read in a boolean network. @author Fabio Somenzi @copyright@parblock Copyright (c) 1995-2015, Regents of the University of Colorado All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted ...
28.199419
79
0.545383
tonyfloatersu
01c21c7a16d17914f565eb5eccb68e4788672333
9,864
cpp
C++
src/utils/BCSimConvenience.cpp
sigurdstorve/OpenBCSim
500025c1b63bc6ff083cbd649771d1b98e3f7314
[ "BSD-3-Clause" ]
17
2016-05-27T13:09:19.000Z
2022-03-21T07:08:47.000Z
src/utils/BCSimConvenience.cpp
rojsc/OpenBCSim
53773172974ad42fc3faceb7b36611573abf1c4c
[ "BSD-3-Clause" ]
63
2015-09-10T11:22:56.000Z
2021-05-21T14:52:39.000Z
src/utils/BCSimConvenience.cpp
rojsc/OpenBCSim
53773172974ad42fc3faceb7b36611573abf1c4c
[ "BSD-3-Clause" ]
15
2016-07-26T14:52:18.000Z
2022-01-02T15:52:28.000Z
/* Copyright (c) 2015, Sigurd Storve All rights reserved. Licensed under the BSD license. 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, th...
44.233184
136
0.686942
sigurdstorve
01c4459a7f9bb4ac7d43ac46f2adf3af5b923cde
3,241
cpp
C++
hihope_neptune-oh_hid/00_src/v0.1/foundation/graphic/ui/test/unittest/font/ui_font_unit_test.cpp
dawmlight/vendor_oh_fun
bc9fb50920f06cd4c27399f60076f5793043c77d
[ "Apache-2.0" ]
1
2022-02-15T08:51:55.000Z
2022-02-15T08:51:55.000Z
hihope_neptune-oh_hid/00_src/v0.1/foundation/graphic/ui/test/unittest/font/ui_font_unit_test.cpp
dawmlight/vendor_oh_fun
bc9fb50920f06cd4c27399f60076f5793043c77d
[ "Apache-2.0" ]
null
null
null
hihope_neptune-oh_hid/00_src/v0.1/foundation/graphic/ui/test/unittest/font/ui_font_unit_test.cpp
dawmlight/vendor_oh_fun
bc9fb50920f06cd4c27399f60076f5793043c77d
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2020-2021 Huawei Device Co., 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...
29.733945
79
0.73465
dawmlight
01c4bb3f0706119a5b8d4925a18a5d136aad9c19
160
cpp
C++
11Libraries/HelloLibrary.cpp
rianders/2016IntroToProgramming
0e24b2b58c5be2e4d40d3b31b83518c48df5804e
[ "Apache-2.0" ]
3
2016-01-27T18:12:40.000Z
2016-02-03T20:27:19.000Z
11Libraries/HelloLibrary.cpp
rianders/2016IntroToProgramming
0e24b2b58c5be2e4d40d3b31b83518c48df5804e
[ "Apache-2.0" ]
3
2016-03-21T02:18:52.000Z
2016-03-21T03:02:51.000Z
11Libraries/HelloLibrary.cpp
rianders/2016IntroToProgramming
0e24b2b58c5be2e4d40d3b31b83518c48df5804e
[ "Apache-2.0" ]
16
2016-01-27T18:12:41.000Z
2019-09-15T01:42:28.000Z
#include "HelloLibrary.h" #include <iostream> #include <string> using namespace std; void HelloWorld() { cout << "Hello My Library" << endl; }
12.307692
39
0.63125
rianders
01c6da2cde6ed9650ca85e0e289e61c18db9f890
6,289
cpp
C++
DiligentSamples/Samples/SampleBase/src/Android/SampleAppAndroid.cpp
raptoravis/defpr
7335474b09dde91710d7bb2725c06e88d95b86f3
[ "Apache-2.0" ]
null
null
null
DiligentSamples/Samples/SampleBase/src/Android/SampleAppAndroid.cpp
raptoravis/defpr
7335474b09dde91710d7bb2725c06e88d95b86f3
[ "Apache-2.0" ]
null
null
null
DiligentSamples/Samples/SampleBase/src/Android/SampleAppAndroid.cpp
raptoravis/defpr
7335474b09dde91710d7bb2725c06e88d95b86f3
[ "Apache-2.0" ]
null
null
null
/* Copyright 2015-2018 Egor Yusov * * 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 * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARR...
38.115152
137
0.575608
raptoravis
01c7a3a7f5792c81fd3eb2eb886f2c784d0d78bd
1,170
hpp
C++
include/cutee/macros.hpp
IanHG/cutee
b3b3eba5d78b4871847a5251d311b588e7ba97c0
[ "MIT" ]
null
null
null
include/cutee/macros.hpp
IanHG/cutee
b3b3eba5d78b4871847a5251d311b588e7ba97c0
[ "MIT" ]
12
2018-06-18T12:56:33.000Z
2020-09-08T10:29:29.000Z
include/cutee/macros.hpp
IanHG/cutee
b3b3eba5d78b4871847a5251d311b588e7ba97c0
[ "MIT" ]
null
null
null
#pragma once #ifndef CUTEE_MACROS_HPP_INCLUDED #define CUTEE_MACROS_HPP_INCLUDED #include "suite.hpp" #include "float_eq.hpp" /** * Assertion Macros **/ #define UNIT_ASSERT(a, b) \ cutee::asserter::assertt(a, cutee::info{b, __FILE__, __LINE__}); #define UNIT_ASSERT_NOT(a, b) \ cutee::asserter::assert_not(a, ...
32.5
95
0.722222
IanHG
01c817ed00701072add5f6d11fe4fc2d0ae003cf
592
cpp
C++
cpp/triangle/triangle.cpp
homembaixinho/exercism
fe145381365c101f8e0c5998180ef4973cd9f4ee
[ "MIT" ]
null
null
null
cpp/triangle/triangle.cpp
homembaixinho/exercism
fe145381365c101f8e0c5998180ef4973cd9f4ee
[ "MIT" ]
null
null
null
cpp/triangle/triangle.cpp
homembaixinho/exercism
fe145381365c101f8e0c5998180ef4973cd9f4ee
[ "MIT" ]
null
null
null
#include "triangle.h" #include <algorithm> #include <stdexcept> #include <vector> using namespace std; namespace triangle { flavor kind(double a, double b, double c) { // checks for invalid triangles double smallest = min(min(a,b), c); double largest = max(max(a,b), c); if (a + b + c - 2*largest <=...
19.733333
51
0.589527
homembaixinho
01ca1ad888864e8ce50fb68689971ab6ad88eb15
115,748
cpp
C++
AStyleTest/src/AStyleTest_Format.cpp
a-w/astyle
8225c7fc9b65162bdd958cabb87eedd9749f1ecd
[ "MIT" ]
null
null
null
AStyleTest/src/AStyleTest_Format.cpp
a-w/astyle
8225c7fc9b65162bdd958cabb87eedd9749f1ecd
[ "MIT" ]
null
null
null
AStyleTest/src/AStyleTest_Format.cpp
a-w/astyle
8225c7fc9b65162bdd958cabb87eedd9749f1ecd
[ "MIT" ]
null
null
null
// AStyleTest_Format.cpp // Copyright (c) 2016 by Jim Pattee <jimp03@email.com>. // Licensed under the MIT license. // License.txt describes the conditions under which this software may be distributed. //---------------------------------------------------------------------------- // headers //------------------...
27.170892
117
0.480276
a-w
01cb6824755f79a0a0032f5d4891e44773a82ac8
2,752
cc
C++
device/fido/hid/fido_hid_discovery.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
device/fido/hid/fido_hid_discovery.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
device/fido/hid/fido_hid_discovery.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2021-01-05T23:43:46.000Z
2021-01-07T23:36:34.000Z
// Copyright 2017 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 "device/fido/hid/fido_hid_discovery.h" #include <utility> #include "base/bind.h" #include "base/no_destructor.h" #include "device/fido/hid/fido...
31.272727
78
0.731831
sarang-apps
01cce684c5c58f1a380917ec02e2f24139c17f69
1,274
cpp
C++
src/segment.cpp
drjod/construct
0199baf8b56735869b28ae526f78dcca117b2060
[ "BSD-3-Clause" ]
null
null
null
src/segment.cpp
drjod/construct
0199baf8b56735869b28ae526f78dcca117b2060
[ "BSD-3-Clause" ]
null
null
null
src/segment.cpp
drjod/construct
0199baf8b56735869b28ae526f78dcca117b2060
[ "BSD-3-Clause" ]
2
2020-03-23T13:08:11.000Z
2020-04-15T11:27:31.000Z
#include "segment.h" #include "configuration.h" #include "utilities.h" #include <math.h> namespace contra { Resistances Segment::set_resistances(Configuration* configuration) { return configuration->set_resistances(casing.get_D(), casing.get_lambda_g()); } void Segment::set_functions(Piping* piping) { Configurati...
22.75
83
0.616954
drjod
01cfe3d0f5b6974abb9d2c5adde1650821f94fe1
642
hpp
C++
src/include/guinsoodb/parser/statement/vacuum_statement.hpp
GuinsooLab/guinsoodb
f200538868738ae460f62fb89211deec946cefff
[ "MIT" ]
1
2021-04-22T05:41:54.000Z
2021-04-22T05:41:54.000Z
src/include/guinsoodb/parser/statement/vacuum_statement.hpp
GuinsooLab/guinsoodb
f200538868738ae460f62fb89211deec946cefff
[ "MIT" ]
null
null
null
src/include/guinsoodb/parser/statement/vacuum_statement.hpp
GuinsooLab/guinsoodb
f200538868738ae460f62fb89211deec946cefff
[ "MIT" ]
1
2021-12-12T10:24:57.000Z
2021-12-12T10:24:57.000Z
//===----------------------------------------------------------------------===// // GuinsooDB // // guinsoodb/parser/statement/vacuum_statement.hpp // // //===----------------------------------------------------------------------===// #pragma once #include "guinsoodb/parser/parsed_expression.h...
22.928571
80
0.549844
GuinsooLab
01d14832780c7094cd947006b67ddbae23b4e18a
1,535
cpp
C++
src/testlibjsapi_gtkmm/label.cpp
RipcordSoftware/libjsapi
57369128d9da6eb84ff3b9c5b9791aee4ae34ce4
[ "MIT" ]
17
2015-04-21T13:24:22.000Z
2022-01-23T07:17:56.000Z
src/testlibjsapi_gtkmm/label.cpp
RipcordSoftware/libjsapi
57369128d9da6eb84ff3b9c5b9791aee4ae34ce4
[ "MIT" ]
31
2015-03-17T16:28:54.000Z
2018-06-17T02:02:10.000Z
src/testlibjsapi_gtkmm/label.cpp
RipcordSoftware/libjsapi
57369128d9da6eb84ff3b9c5b9791aee4ae34ce4
[ "MIT" ]
4
2015-11-16T15:31:24.000Z
2021-12-28T17:03:53.000Z
#include "label.h" #include <cstring> Label::Label(rs::jsapi::Context& cx, Gtk::Label* label) : cx_(cx), obj_(cx), label_(label), widget_(label, obj_) { auto functions = widget_.GetFunctions(); functions.emplace_back("setText", std::bind(&Label::SetText, this, std::placeholders::_1, std::placeholders::_2)); ...
39.358974
118
0.633225
RipcordSoftware
01d3ad3ae93b6588103d7dd8e00ec56f2386f769
159
hh
C++
Statement/MySQLStatement.hh
decouple/dbal
ea94dcb215d9693ab81d3be5394ff7448e254380
[ "MIT" ]
null
null
null
Statement/MySQLStatement.hh
decouple/dbal
ea94dcb215d9693ab81d3be5394ff7448e254380
[ "MIT" ]
null
null
null
Statement/MySQLStatement.hh
decouple/dbal
ea94dcb215d9693ab81d3be5394ff7448e254380
[ "MIT" ]
null
null
null
<?hh // strict use Decouple\Common\Contract\DB\Statement; interface MySQLStatement extends Statement { public function fetchColumn(int $column=0) : mixed; }
26.5
53
0.773585
decouple
01d409fe2a659c8b80e8da3affb79979ccebb12c
5,638
cpp
C++
src/bridge.cpp
dudpray0220/C-ProxyServer
40038726b988b21055b17af90b9142fcad2a213c
[ "Apache-2.0" ]
1
2021-11-29T08:11:43.000Z
2021-11-29T08:11:43.000Z
src/bridge.cpp
dudpray0220/C-ProxyServer
40038726b988b21055b17af90b9142fcad2a213c
[ "Apache-2.0" ]
null
null
null
src/bridge.cpp
dudpray0220/C-ProxyServer
40038726b988b21055b17af90b9142fcad2a213c
[ "Apache-2.0" ]
1
2021-12-01T04:45:55.000Z
2021-12-01T04:45:55.000Z
#include "../inc/bridge.hpp" // public namespace yhbae { bridge::bridge(boost::asio::io_service &ios) // 생성자 : downstream_socket_(ios), upstream_socket_(ios) // 멤버변수 down, upstream_socket에 파라미터를 연결해줌. {}; bridge::socket_type &yhbae::bridge::downstream_socket() // &를 붙이면 주소가 된다. 멤버함수(Method), soc...
41.455882
146
0.622206
dudpray0220