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
f41386ed732c16e12d9272c3610a72b476cb478e
1,584
cpp
C++
Source/Life/Systems/Persistent/AiSystem.cpp
PsichiX/Unreal-Systems-Architecture
fb2ccb243c8e79b0890736d611db7ba536937a93
[ "Apache-2.0" ]
5
2022-02-09T21:19:03.000Z
2022-03-03T01:53:03.000Z
Source/Life/Systems/Persistent/AiSystem.cpp
PsichiX/Unreal-Systems-Architecture
fb2ccb243c8e79b0890736d611db7ba536937a93
[ "Apache-2.0" ]
null
null
null
Source/Life/Systems/Persistent/AiSystem.cpp
PsichiX/Unreal-Systems-Architecture
fb2ccb243c8e79b0890736d611db7ba536937a93
[ "Apache-2.0" ]
null
null
null
#include "Life/Systems/Persistent/AiSystem.h" #include "Systems/Public/SystemsWorld.h" #include "Life/AI/Reasoner/UtilityAiReasoner.h" #include "Life/Components/AiComponent.h" #include "Life/Components/CameraRelationComponent.h" #include "Life/Components/GodComponent.h" #include "Life/Resources/LifeSettings.h" struc...
25.967213
69
0.649621
PsichiX
f415f4bd939960f2b217cc981dc313b67abed267
1,365
cpp
C++
morse/DotNet/graph_simplex/SIRom.cpp
jonnyzzz/phd-project
beab8615585bd52ef9ee1c19d1557e8c933c047a
[ "Apache-2.0" ]
1
2019-12-24T15:52:45.000Z
2019-12-24T15:52:45.000Z
morse/DotNet/graph_simplex/SIRom.cpp
jonnyzzz/phd-project
beab8615585bd52ef9ee1c19d1557e8c933c047a
[ "Apache-2.0" ]
null
null
null
morse/DotNet/graph_simplex/SIRom.cpp
jonnyzzz/phd-project
beab8615585bd52ef9ee1c19d1557e8c933c047a
[ "Apache-2.0" ]
null
null
null
#include "stdafx.h" #include "SIRom.h" #include "../graph/Graph.h" #include "../SystemFunction/ISystemFunctionDerivate.h" #include <math.h> SIRom::SIRom(Graph* graph, ISystemFunctionDerivate* function) : CRom(graph), graph(graph), function(function) { input = function->getInput(); output = function->getOutput(); di...
21.328125
109
0.634432
jonnyzzz
f41663583ff9e6b610256f6729cc0c92d8be0f41
92
cpp
C++
node_modules/lzz-gyp/lzz-source/smtc_Access.cpp
SuperDizor/dizornator
9f57dbb3f6af80283b4d977612c95190a3d47900
[ "ISC" ]
3
2019-09-18T16:44:33.000Z
2021-03-29T13:45:27.000Z
node_modules/lzz-gyp/lzz-source/smtc_Access.cpp
SuperDizor/dizornator
9f57dbb3f6af80283b4d977612c95190a3d47900
[ "ISC" ]
null
null
null
node_modules/lzz-gyp/lzz-source/smtc_Access.cpp
SuperDizor/dizornator
9f57dbb3f6af80283b4d977612c95190a3d47900
[ "ISC" ]
2
2019-03-29T01:06:38.000Z
2019-09-18T16:44:34.000Z
// smtc_Access.cpp // #include "smtc_Access.h" #define LZZ_INLINE inline #undef LZZ_INLINE
13.142857
25
0.76087
SuperDizor
f41d35b2f4ee2ad35d042e78b16825068ac41d7e
2,046
cpp
C++
Ch 15/15.34_35_36_37_38/main.cpp
Felon03/CppPrimer
7dc2daf59f0ae7ec5670def15cb5fab174fe9780
[ "Apache-2.0" ]
null
null
null
Ch 15/15.34_35_36_37_38/main.cpp
Felon03/CppPrimer
7dc2daf59f0ae7ec5670def15cb5fab174fe9780
[ "Apache-2.0" ]
null
null
null
Ch 15/15.34_35_36_37_38/main.cpp
Felon03/CppPrimer
7dc2daf59f0ae7ec5670def15cb5fab174fe9780
[ "Apache-2.0" ]
null
null
null
// 15.34 针对图15.3(pp565)构建的表达式: // (a) 列举出在处理表达式的过程中执行的所有构造函数 // Query q = Query("fiery") & Query("bird") | Query("wind"); // 1: Query::Query(const std::string &s) where s = "fiery", "bird" and "wind" // 2: WordQuery::WordQuery(const std::string &s) where s = "fiery", "bird" and "wind" // 3: AndQuery::AndQuery(const Que...
25.575
91
0.668133
Felon03
f41d5caa99623ed28364db2edb2e52236fad31b4
6,498
cxx
C++
tomviz/Module.cxx
yijiang1/tomviz
93bf1b0f3ebc1d55db706184339a94660fb08d91
[ "BSD-3-Clause" ]
null
null
null
tomviz/Module.cxx
yijiang1/tomviz
93bf1b0f3ebc1d55db706184339a94660fb08d91
[ "BSD-3-Clause" ]
null
null
null
tomviz/Module.cxx
yijiang1/tomviz
93bf1b0f3ebc1d55db706184339a94660fb08d91
[ "BSD-3-Clause" ]
1
2021-01-14T02:25:32.000Z
2021-01-14T02:25:32.000Z
/****************************************************************************** This source file is part of the tomviz project. Copyright Kitware, Inc. This source code is released under the New BSD License, (the "License"). Unless required by applicable law or agreed to in writing, software distributed u...
30.223256
103
0.544629
yijiang1
f420330cd14e6e035795bb4f65932d3ceb96aeb6
14,297
cpp
C++
nntrainer/src/databuffer.cpp
dongju-chae/nntrainer
9742569355e1d787ccb4818b7c827bc95662cbe9
[ "Apache-2.0" ]
1
2022-03-27T18:56:11.000Z
2022-03-27T18:56:11.000Z
nntrainer/src/databuffer.cpp
dongju-chae/nntrainer
9742569355e1d787ccb4818b7c827bc95662cbe9
[ "Apache-2.0" ]
2
2021-04-19T11:42:07.000Z
2021-04-21T10:26:04.000Z
nntrainer/src/databuffer.cpp
dongju-chae/nntrainer
9742569355e1d787ccb4818b7c827bc95662cbe9
[ "Apache-2.0" ]
null
null
null
/** * Copyright (C) 2019 Samsung Electronics Co., Ltd. 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 requ...
27.441459
80
0.650206
dongju-chae
f421a9c67194078f59b1357e593efd2c97a4777d
5,110
cpp
C++
src/ClientLib/VisualEntity.cpp
ImperatorS79/BurgWar
5d8282513945e8f25e30d8491639eb297bfc0317
[ "MIT" ]
null
null
null
src/ClientLib/VisualEntity.cpp
ImperatorS79/BurgWar
5d8282513945e8f25e30d8491639eb297bfc0317
[ "MIT" ]
null
null
null
src/ClientLib/VisualEntity.cpp
ImperatorS79/BurgWar
5d8282513945e8f25e30d8491639eb297bfc0317
[ "MIT" ]
null
null
null
// Copyright (C) 2020 Jérôme Leclercq // This file is part of the "Burgwar" project // For conditions of distribution and use, see copyright notice in LICENSE #include <ClientLib/VisualEntity.hpp> #include <ClientLib/LocalLayerEntity.hpp> #include <NDK/Components/GraphicsComponent.hpp> #include <NDK/Components/NodeCom...
38.421053
220
0.76908
ImperatorS79
f4258645452b668d1edcc886ed26b657edee8127
8,535
cpp
C++
NYUCodebase/hw05/Entity.cpp
MarcNYU/Game-Files
43781cae89ea02d18930b1b2ead04db400c7f1dd
[ "Artistic-2.0" ]
null
null
null
NYUCodebase/hw05/Entity.cpp
MarcNYU/Game-Files
43781cae89ea02d18930b1b2ead04db400c7f1dd
[ "Artistic-2.0" ]
null
null
null
NYUCodebase/hw05/Entity.cpp
MarcNYU/Game-Files
43781cae89ea02d18930b1b2ead04db400c7f1dd
[ "Artistic-2.0" ]
null
null
null
// // Entity.cpp // NYUCodebase // // Created by Marcus Williams on 2/20/15. // Copyright (c) 2015 Ivan Safrin. All rights reserved. // #include <SDL.h> #include <SDL_opengl.h> #include <SDL_image.h> #include <vector> #include "Entity.h" // 60 FPS (1.0f/60.0f) #define FIXED_TIMESTEP 0.0166666f #define MAX_TIMEST...
33.869048
92
0.433626
MarcNYU
f426c5c78aad426b12e5e4cdc10c6b6639c68785
12,185
cpp
C++
src/application/CLI.cpp
DavHau/Riner
f9e9815b713572f03497f0e4e66c3f82a0241b66
[ "MIT" ]
4
2019-07-24T03:24:08.000Z
2022-03-04T07:41:08.000Z
src/application/CLI.cpp
DavHau/Riner
f9e9815b713572f03497f0e4e66c3f82a0241b66
[ "MIT" ]
3
2019-07-30T22:10:39.000Z
2020-06-15T15:57:08.000Z
src/application/CLI.cpp
DavHau/Riner
f9e9815b713572f03497f0e4e66c3f82a0241b66
[ "MIT" ]
6
2019-07-30T21:33:07.000Z
2022-03-21T20:53:11.000Z
// // #include "CLI.h" #include <string> #include <src/algorithm/Algorithm.h> #include <src/pool/Pool.h> #include <sstream> #include <src/util/StringUtils.h> #include <src/application/Registry.h> #include <src/util/FileUtils.h> #include <src/config/TutorialConfig.h> #include <src/common/Json.h> namespace riner { ...
34.036313
129
0.484366
DavHau
f426c7fb7989198be11cb85888de17a85fd4bdcf
19,085
cxx
C++
Libraries/VtkVgModelView/vtkVgEventModel.cxx
PinkDiamond1/vivia
70f7fbed4b33b14d34de35c69b2b14df3514d720
[ "BSD-3-Clause" ]
14
2016-09-16T12:33:05.000Z
2021-02-14T02:16:33.000Z
Libraries/VtkVgModelView/vtkVgEventModel.cxx
PinkDiamond1/vivia
70f7fbed4b33b14d34de35c69b2b14df3514d720
[ "BSD-3-Clause" ]
44
2016-10-06T22:12:57.000Z
2021-01-07T19:39:07.000Z
Libraries/VtkVgModelView/vtkVgEventModel.cxx
PinkDiamond1/vivia
70f7fbed4b33b14d34de35c69b2b14df3514d720
[ "BSD-3-Clause" ]
17
2015-06-30T13:41:47.000Z
2021-11-22T17:38:48.000Z
// This file is part of ViViA, and is distributed under the // OSI-approved BSD 3-Clause License. See top-level LICENSE file or // https://github.com/Kitware/vivia/blob/master/LICENSE for details. #include "vtkVgEventModel.h" #include "vgEventType.h" #include "vtkVgContourOperatorManager.h" #include "vtkVgEvent.h" #i...
29.773791
96
0.577784
PinkDiamond1
f427425e383e6661138ff8864f512a371d0122a7
4,454
cpp
C++
Kawakawa/KawaiiGraphic/RHI/DX12Viewport.cpp
JiaqiJin/KawaiiDesune
e5c3031898f96f1ec5370b41371b2c1cf22c3586
[ "MIT" ]
null
null
null
Kawakawa/KawaiiGraphic/RHI/DX12Viewport.cpp
JiaqiJin/KawaiiDesune
e5c3031898f96f1ec5370b41371b2c1cf22c3586
[ "MIT" ]
null
null
null
Kawakawa/KawaiiGraphic/RHI/DX12Viewport.cpp
JiaqiJin/KawaiiDesune
e5c3031898f96f1ec5370b41371b2c1cf22c3586
[ "MIT" ]
null
null
null
#include "pch.h" #include "DX12Viewport.h" #include "DX12GraphicRHI.h" #include "DX12Device.h" #include "Texture/TextureInfo.h" namespace RHI { DX12Viewport::DX12Viewport(DX12GraphicRHI* DX12RHI, const DX12ViewportInfo& Info, int Width, int Height) : m_DX12RHI(DX12RHI), m_ViewportInfo(Info), m_ViewportWidth(Width),...
35.632
117
0.776605
JiaqiJin
f4278b973fda15c5eba16fd9839c1cf2851857e4
324
hpp
C++
include/bisera/mainwindow.hpp
DanielAckerson/bisera
f574c257a4a20d663eae6c52d50444280bbfe67d
[ "MIT" ]
null
null
null
include/bisera/mainwindow.hpp
DanielAckerson/bisera
f574c257a4a20d663eae6c52d50444280bbfe67d
[ "MIT" ]
null
null
null
include/bisera/mainwindow.hpp
DanielAckerson/bisera
f574c257a4a20d663eae6c52d50444280bbfe67d
[ "MIT" ]
null
null
null
#ifndef MAINWINDOW_HPP #define MAINWINDOW_HPP #include <glad/glad.h> #include <GLFW/glfw3.h> class MainWindow { GLFWwindow *window; GLFWmonitor *monitor; GLuint width, height; public: MainWindow(); ~MainWindow(); public: inline GLFWwindow *context() { return window; } }; #endif//MAINWINDOW_...
15.428571
51
0.694444
DanielAckerson
f42f71b0782e115902afe80664e901a9130de4e1
4,088
cpp
C++
src/dbus/dbus_watch.cpp
tpruzina/dvc-toggler-linux
ccd70fedfdc47172e876c04357b863bb758bd304
[ "BSD-3-Clause" ]
null
null
null
src/dbus/dbus_watch.cpp
tpruzina/dvc-toggler-linux
ccd70fedfdc47172e876c04357b863bb758bd304
[ "BSD-3-Clause" ]
1
2019-05-20T16:47:28.000Z
2019-05-20T16:47:28.000Z
src/dbus/dbus_watch.cpp
tpruzina/dvc-toggler-linux
ccd70fedfdc47172e876c04357b863bb758bd304
[ "BSD-3-Clause" ]
null
null
null
#include "dbus_watch.hpp" #include <cstdlib> #include <cstring> #include <dbus/dbus.h> #include <iostream> #include <unistd.h> auto DBusInterface::sendSignal(char *message) noexcept -> void { auto args = DBusMessageIter{}; dbus_uint32_t serial = 0; auto conn = dbus_bus_get(DBUS_BUS_STARTER, n...
32.967742
104
0.489237
tpruzina
f42f8917e49952f4de8da45c32f5120c71609fa3
1,095
hpp
C++
test/ClientTester.hpp
AlexSL92/udp-packet-replicator
90a3feb138e7ad2ae7e4b87f97305f658b7f6eeb
[ "MIT" ]
2
2020-06-18T09:06:45.000Z
2021-03-27T14:16:54.000Z
test/ClientTester.hpp
AlexSL92/udp-packet-replicator
90a3feb138e7ad2ae7e4b87f97305f658b7f6eeb
[ "MIT" ]
null
null
null
test/ClientTester.hpp
AlexSL92/udp-packet-replicator
90a3feb138e7ad2ae7e4b87f97305f658b7f6eeb
[ "MIT" ]
1
2020-06-18T06:29:17.000Z
2020-06-18T06:29:17.000Z
#pragma once #include <asio.hpp> #include <array> #include <cstdint> #include <vector> /** * @brief Tester of client sockets */ class ClientTester { public: /** * @brief Construct a new Client Tester object * * @param port Port where listen for packets */ ClientTester(uint16_t por...
21.9
85
0.601826
AlexSL92
f4300579eebdc53aec591485fafe4315b602a52a
3,917
hpp
C++
src/libraries/waves/wavesProcessing/postProcessing/postProcessingWaves/spectralAnalysis/spectralMethods/spectralMethodsLeastSquaresBased.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
src/libraries/waves/wavesProcessing/postProcessing/postProcessingWaves/spectralAnalysis/spectralMethods/spectralMethodsLeastSquaresBased.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
src/libraries/waves/wavesProcessing/postProcessing/postProcessingWaves/spectralAnalysis/spectralMethods/spectralMethodsLeastSquaresBased.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
/*---------------------------------------------------------------------------*\ Copyright Niels Gjøl Jacobsen, Technical University of Denmark. ------------------------------------------------------------------------------- License This file is part of OpenFOAM. CAELUS is free software: you can redistribute it...
26.466216
79
0.513148
MrAwesomeRocks
f43233e9143cdf268ce84e2809cb31cb5c9415d1
1,286
cpp
C++
Source/core/layout/LayoutPagedFlowThread.cpp
prepare/Blink_only_permissive_lic_files
8b3acc51c7ae8b074d2e2b610d0d9295d9a1ecb4
[ "BSD-3-Clause" ]
null
null
null
Source/core/layout/LayoutPagedFlowThread.cpp
prepare/Blink_only_permissive_lic_files
8b3acc51c7ae8b074d2e2b610d0d9295d9a1ecb4
[ "BSD-3-Clause" ]
null
null
null
Source/core/layout/LayoutPagedFlowThread.cpp
prepare/Blink_only_permissive_lic_files
8b3acc51c7ae8b074d2e2b610d0d9295d9a1ecb4
[ "BSD-3-Clause" ]
null
null
null
// 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. #include "config.h" #include "core/layout/LayoutPagedFlowThread.h" namespace blink { LayoutPagedFlowThread* LayoutPagedFlowThread::createAnonymous(Docum...
33.842105
115
0.774495
prepare
f433ba650422179f51533d41069c2b246d6e60a9
2,891
cc
C++
code/render/frame/frameplugin.cc
sirAgg/nebula
3fbccc73779944aa3e56b9e8acdd6fedd1d38006
[ "BSD-2-Clause" ]
null
null
null
code/render/frame/frameplugin.cc
sirAgg/nebula
3fbccc73779944aa3e56b9e8acdd6fedd1d38006
[ "BSD-2-Clause" ]
null
null
null
code/render/frame/frameplugin.cc
sirAgg/nebula
3fbccc73779944aa3e56b9e8acdd6fedd1d38006
[ "BSD-2-Clause" ]
null
null
null
//------------------------------------------------------------------------------ // frameplugin.cc // (C) 2016-2020 Individual contributors, see AUTHORS file //------------------------------------------------------------------------------ #include "render/stdneb.h" #include "frameplugin.h" namespace Frame { //-------...
24.709402
88
0.476306
sirAgg
f4378ba73efb592ab9fc2e6d69fecf7c201c49b5
2,449
cpp
C++
leetcode/problems/easy/26-remove-duplicates-from-sorted-array.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
18
2020-08-27T05:27:50.000Z
2022-03-08T02:56:48.000Z
leetcode/problems/easy/26-remove-duplicates-from-sorted-array.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
null
null
null
leetcode/problems/easy/26-remove-duplicates-from-sorted-array.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
1
2020-10-13T05:23:58.000Z
2020-10-13T05:23:58.000Z
/* Remove Duplicates from Sorted Array Given a sorted array nums, remove the duplicates in-place such that each element appear only once and return the new length. Do not allocate extra space for another array, you must do this by modifying the input array in-place with O(1) extra memory. Example 1: Given nums = [1...
34.985714
151
0.665986
wingkwong
f438c6540d1b2df16928dedfb42152e7866f5de5
1,724
hpp
C++
babyrobot/src/object-assembly-agent-master/object_assembly_ros/include/object_assembly_ros/assembly_task_guess_mode.hpp
babyrobot-eu/core-modules
7e8c006c40153fb649208c9a78fc71aa70243f69
[ "MIT" ]
1
2019-02-07T15:32:06.000Z
2019-02-07T15:32:06.000Z
babyrobot/src/object-assembly-agent-master/object_assembly_ros/include/object_assembly_ros/assembly_task_guess_mode.hpp
babyrobot-eu/core-modules
7e8c006c40153fb649208c9a78fc71aa70243f69
[ "MIT" ]
9
2020-01-28T22:09:41.000Z
2022-03-11T23:39:17.000Z
babyrobot/src/object-assembly-agent-master/object_assembly_ros/include/object_assembly_ros/assembly_task_guess_mode.hpp
babyrobot-eu/core-modules
7e8c006c40153fb649208c9a78fc71aa70243f69
[ "MIT" ]
null
null
null
#include <assembly_subtask.hpp> #include <cstdlib> class AssemblyTask { public: AssemblyTask( int id, int num_parts, std::vector<std::vector<int>> connnection_pairs, int num_connections, std::vector<AssemblySubtask> subtasks, int max_particles, int all_parti...
28.733333
142
0.703596
babyrobot-eu
f43adb441badf2b1ccfd5d8f037cc662692288eb
1,441
cpp
C++
TP3_Prog_SpaceSim/warning_leaving_game_area.cpp
Arganancer/S3_TP3_Prog_SpaceSim
43364f6613ad690f81c94f8a027ee3708fa58d3d
[ "MIT" ]
null
null
null
TP3_Prog_SpaceSim/warning_leaving_game_area.cpp
Arganancer/S3_TP3_Prog_SpaceSim
43364f6613ad690f81c94f8a027ee3708fa58d3d
[ "MIT" ]
null
null
null
TP3_Prog_SpaceSim/warning_leaving_game_area.cpp
Arganancer/S3_TP3_Prog_SpaceSim
43364f6613ad690f81c94f8a027ee3708fa58d3d
[ "MIT" ]
null
null
null
#include "warning_leaving_game_area.h" #include "g_vars.hpp" warning_leaving_game_area::warning_leaving_game_area() { warning_message_ = text( "WARNING: LEAVING NAVIGABLE SPACE", sf::Vector2f(g_vars::view_width / 2, g_vars::view_height / 2 - 200), text::warning_title, text::center); distance_until_termi...
23.241935
64
0.734906
Arganancer
f43dac6a98496e8ef946ae6d3f000cb52c668d8e
1,993
cpp
C++
tests/exec/josephus.cpp
xuedong/mini-cpp
3f4c505e3c422709e2da3fec1ecea7165f76292b
[ "MIT" ]
null
null
null
tests/exec/josephus.cpp
xuedong/mini-cpp
3f4c505e3c422709e2da3fec1ecea7165f76292b
[ "MIT" ]
null
null
null
tests/exec/josephus.cpp
xuedong/mini-cpp
3f4c505e3c422709e2da3fec1ecea7165f76292b
[ "MIT" ]
null
null
null
#include <iostream> /*** listes circulaires doublement chaînées ***/ class ListeC { public: int valeur; ListeC *suivant; ListeC *precedent; ListeC(int v); void insererApres(int v); void supprimer(); void afficher(); }; /* constructeur = liste réduite à un élément */ ListeC::ListeC(int v) { valeur =...
19.539216
52
0.564977
xuedong
f4424c59eca2beb900b96c092a0aaae4c3d28634
13,021
cc
C++
zircon/system/ulib/cobalt-client/test/histogram_test.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
210
2019-02-05T12:45:09.000Z
2022-03-28T07:59:06.000Z
zircon/system/ulib/cobalt-client/test/histogram_test.cc
PlugFox/fuchsia
39afe5230d41628b3c736a6e384393df954968c8
[ "BSD-2-Clause" ]
56
2021-06-03T03:16:25.000Z
2022-03-20T01:07:44.000Z
zircon/system/ulib/cobalt-client/test/histogram_test.cc
PlugFox/fuchsia
39afe5230d41628b3c736a6e384393df954968c8
[ "BSD-2-Clause" ]
73
2019-03-06T18:55:23.000Z
2022-03-26T12:04:51.000Z
// Copyright 2018 The Fuchsia 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 <cobalt-client/cpp/histogram.h> #include <lib/fit/function.h> #include <lib/sync/completion.h> #include <lib/zx/time.h> #include <algorithm> #in...
33.997389
98
0.737501
allansrc
f443843d4f7f7e67650e9d5c9413d5fec5e2ad56
11,726
cc
C++
src/scheduler.cc
sunnyxhuang/2D-Placement
53310fa7336430a1b82b3ed3fa98409ab5d4b7d5
[ "Apache-2.0" ]
4
2017-09-01T14:43:01.000Z
2017-09-02T04:58:55.000Z
src/scheduler.cc
little-by/2D-Placement
53310fa7336430a1b82b3ed3fa98409ab5d4b7d5
[ "Apache-2.0" ]
null
null
null
src/scheduler.cc
little-by/2D-Placement
53310fa7336430a1b82b3ed3fa98409ab5d4b7d5
[ "Apache-2.0" ]
3
2017-09-21T08:24:51.000Z
2018-10-30T04:46:15.000Z
#include <algorithm> #include <iomanip> #include <cfloat> #include <sys/time.h> #include <string.h> #include "coflow.h" #include "events.h" #include "global.h" #include "scheduler.h" #include "util.h" #define MWM_RANGE 100000000 //2147483647 = 2,147,483,647 using namespace std; ////////////////////////////////////...
28.953086
76
0.609074
sunnyxhuang
f444a252e66e85d298218ff08191db87f3891e87
238
hpp
C++
include/RavEngine/AnimatorSystem.hpp
Ravbug/RavEngine
73249827cb2cd3c938bb59447e9edbf7b6f0defc
[ "Apache-2.0" ]
48
2020-11-18T23:14:25.000Z
2022-03-11T09:13:42.000Z
include/RavEngine/AnimatorSystem.hpp
Ravbug/RavEngine
73249827cb2cd3c938bb59447e9edbf7b6f0defc
[ "Apache-2.0" ]
1
2020-11-17T20:53:10.000Z
2020-12-01T20:27:36.000Z
include/RavEngine/AnimatorSystem.hpp
Ravbug/RavEngine
73249827cb2cd3c938bb59447e9edbf7b6f0defc
[ "Apache-2.0" ]
3
2020-12-22T02:40:39.000Z
2021-10-08T02:54:22.000Z
#pragma once #include "System.hpp" #include "AnimatorComponent.hpp" namespace RavEngine{ class AnimatorSystem : public AutoCTTI{ public: inline void Tick(float fpsScale, Ref<AnimatorComponent> c) const { c->Tick(fpsScale); } }; }
18.307692
70
0.739496
Ravbug
f446e49c22efe8b62648400235466cd0079e1715
353
cpp
C++
Practice/2019.2.9/CF15E.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
4
2017-10-31T14:25:18.000Z
2018-06-10T16:10:17.000Z
Practice/2019.2.9/CF15E.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
null
null
null
Practice/2019.2.9/CF15E.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
null
null
null
#include<cstdio> #include<cstdlib> #include<cstring> #include<algorithm> using namespace std; const int Mod=1000000009; int main() { int n; scanf("%d",&n); int sum=0,mul=4,pw=2; while (n>2) { n-=2; pw=2ll*pw%Mod; mul=1ll*mul*(pw-3+Mod)%Mod; sum=(sum+mul)%Mod; } sum=(2ll*sum*sum%Mod+8ll*sum%Mod+10)%Mod; ...
15.347826
42
0.631728
SYCstudio
f44776b3a2b74cf641e9ff802c03579e5fd140aa
12,871
hpp
C++
src/mge/core/exception.hpp
mge-engine/mge
e7a6253f99dd640a655d9a80b94118d35c7d8139
[ "MIT" ]
null
null
null
src/mge/core/exception.hpp
mge-engine/mge
e7a6253f99dd640a655d9a80b94118d35c7d8139
[ "MIT" ]
91
2019-03-09T11:31:29.000Z
2022-02-27T13:06:06.000Z
src/mge/core/exception.hpp
mge-engine/mge
e7a6253f99dd640a655d9a80b94118d35c7d8139
[ "MIT" ]
null
null
null
// mge - Modern Game Engine // Copyright (c) 2021 by Alexander Schroeder // All rights reserved. #pragma once #include "mge/config.hpp" #include "mge/core/dllexport.hpp" #include "mge/core/stacktrace.hpp" #include "mge/core/type_name.hpp" #include <any> #include <exception> #include <optional> #include <sstream> #inclu...
29.054176
80
0.515345
mge-engine
f449581900d35f80d252e4c6b7048e79b825a99b
13,114
cpp
C++
samples/basic.cpp
fabriquer/lug
884a58531c359882585084e48625aa688208a7f6
[ "MIT" ]
53
2017-07-20T10:01:44.000Z
2022-02-13T04:57:22.000Z
samples/basic.cpp
fabriquer/lug
884a58531c359882585084e48625aa688208a7f6
[ "MIT" ]
4
2018-08-31T14:06:50.000Z
2020-06-17T17:34:20.000Z
samples/basic.cpp
fabriquer/lug
884a58531c359882585084e48625aa688208a7f6
[ "MIT" ]
6
2017-07-16T22:54:51.000Z
2019-12-04T13:15:12.000Z
// lug - Embedded DSL for PE grammar parser combinators in C++ // Copyright (c) 2017 Jesse W. Towner // See LICENSE.md file for license details // Derived from BASIC, Dartmouth College Computation Center, October 1st 1964 // http://www.bitsavers.org/pdf/dartmouth/BASIC_Oct64.pdf #include <lug/lug.hpp> #include <cmath...
35.928767
133
0.516852
fabriquer
f44a472e519db1042bf0e7fb53b1234fbd4f778d
908
cpp
C++
src/vjudge/Aizu/1379/24793677_TLE_1098ms_2856kB.cpp
lnkkerst/oj-codes
d778489182d644370b2a690aa92c3df6542cc306
[ "MIT" ]
null
null
null
src/vjudge/Aizu/1379/24793677_TLE_1098ms_2856kB.cpp
lnkkerst/oj-codes
d778489182d644370b2a690aa92c3df6542cc306
[ "MIT" ]
null
null
null
src/vjudge/Aizu/1379/24793677_TLE_1098ms_2856kB.cpp
lnkkerst/oj-codes
d778489182d644370b2a690aa92c3df6542cc306
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; struct Point { int x, y; bool vis; } a[17]; struct Line { int x, y; } ; int n, ans; vector<Line > q; void dfs(int pt) { if(pt >= n) { int tmp = 0; for(auto i = q.begin(); i != q.end(); ++i) for(auto j = i + 1; j !...
18.916667
68
0.385463
lnkkerst
f44ab1aea43bc79fc0c47f9c39d8ad1bb618c21d
619
cpp
C++
examples/CBuilder/Compound/ModelEvolution/Common/dSystemTypeInfo.cpp
LenakeTech/BoldForDelphi
3ef25517d5c92ebccc097c6bc2f2af62fc506c71
[ "MIT" ]
121
2020-09-22T10:46:20.000Z
2021-11-17T12:33:35.000Z
examples/CBuilder/Compound/ModelEvolution/Common/dSystemTypeInfo.cpp
LenakeTech/BoldForDelphi
3ef25517d5c92ebccc097c6bc2f2af62fc506c71
[ "MIT" ]
8
2020-09-23T12:32:23.000Z
2021-07-28T07:01:26.000Z
examples/CBuilder/Compound/ModelEvolution/Common/dSystemTypeInfo.cpp
LenakeTech/BoldForDelphi
3ef25517d5c92ebccc097c6bc2f2af62fc506c71
[ "MIT" ]
42
2020-09-22T14:37:20.000Z
2021-10-04T10:24:12.000Z
//--------------------------------------------------------------------------- #include <vcl.h> #pragma hdrstop #include "dSystemTypeInfo.h" //--------------------------------------------------------------------------- #pragma package(smart_init) #pragma link "BoldHandles" #pragma link "BoldSubscription" #pragma resou...
32.578947
77
0.390953
LenakeTech
f44ad3e847afa0014af02a60083c04175689a6e2
1,783
cpp
C++
src/pipeline/profile.cpp
seagull1993/librealsense
18cf36775c16efd1f727b656c7e88a928a53a427
[ "Apache-2.0" ]
6,457
2016-01-21T03:56:07.000Z
2022-03-31T11:57:15.000Z
src/pipeline/profile.cpp
seagull1993/librealsense
18cf36775c16efd1f727b656c7e88a928a53a427
[ "Apache-2.0" ]
8,393
2016-01-21T09:47:28.000Z
2022-03-31T22:21:42.000Z
src/pipeline/profile.cpp
seagull1993/librealsense
18cf36775c16efd1f727b656c7e88a928a53a427
[ "Apache-2.0" ]
4,874
2016-01-21T09:20:08.000Z
2022-03-31T15:18:00.000Z
// License: Apache 2.0. See LICENSE file in root directory. // Copyright(c) 2015 Intel Corporation. All Rights Reserved. #include "profile.h" #include "media/record/record_device.h" #include "media/ros/ros_writer.h" namespace librealsense { namespace pipeline { profile::profile(std::shared_ptr<device_...
33.641509
129
0.583847
seagull1993
f45212aa6b029307dd24242672315effb4ceb9cc
2,917
cc
C++
ortools/math_opt/samples/integer_programming.cc
bollhals/or-tools
87cc5a1cb12d901089de0aab55f7ec50bce2cdfd
[ "Apache-2.0" ]
null
null
null
ortools/math_opt/samples/integer_programming.cc
bollhals/or-tools
87cc5a1cb12d901089de0aab55f7ec50bce2cdfd
[ "Apache-2.0" ]
null
null
null
ortools/math_opt/samples/integer_programming.cc
bollhals/or-tools
87cc5a1cb12d901089de0aab55f7ec50bce2cdfd
[ "Apache-2.0" ]
null
null
null
// Copyright 2010-2021 Google LLC // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
33.147727
76
0.675694
bollhals
f45239977eb81a0662fa9614d652ad55f0557382
5,504
cpp
C++
dali-toolkit/internal/image-loader/atlas-packer.cpp
pwisbey/dali-toolkit
aeb2a95e6cb48788c99d0338dd9788c402ebde07
[ "Apache-2.0" ]
null
null
null
dali-toolkit/internal/image-loader/atlas-packer.cpp
pwisbey/dali-toolkit
aeb2a95e6cb48788c99d0338dd9788c402ebde07
[ "Apache-2.0" ]
null
null
null
dali-toolkit/internal/image-loader/atlas-packer.cpp
pwisbey/dali-toolkit
aeb2a95e6cb48788c99d0338dd9788c402ebde07
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2015 Samsung Electronics 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...
27.1133
148
0.683866
pwisbey
f453551d908198e43ed5d3dfd77ea364391b5080
8,134
cpp
C++
AnalyzerExamples/AtmelSWIAnalyzer/AtmelSWIAnalyzer.cpp
blargony/RFFEAnalyzer
24684cee1494f5ac4bd7d9c9f020f42248a06f89
[ "MIT" ]
15
2015-06-23T23:28:24.000Z
2022-03-12T03:23:31.000Z
AnalyzerExamples/AtmelSWIAnalyzer/AtmelSWIAnalyzer.cpp
blargony/RFFEAnalyzer
24684cee1494f5ac4bd7d9c9f020f42248a06f89
[ "MIT" ]
3
2015-06-23T23:41:48.000Z
2022-03-16T22:20:50.000Z
AnalyzerExamples/AtmelSWIAnalyzer/AtmelSWIAnalyzer.cpp
blargony/RFFEAnalyzer
24684cee1494f5ac4bd7d9c9f020f42248a06f89
[ "MIT" ]
3
2015-06-23T23:28:30.000Z
2020-07-30T15:46:04.000Z
#include <AnalyzerChannelData.h> #include <vector> #include <algorithm> #include "AtmelSWIAnalyzer.h" #include "AtmelSWIAnalyzerSettings.h" AtmelSWIAnalyzer::AtmelSWIAnalyzer() : mSimulationInitilized(false) { SetAnalyzerSettings(&mSettings); } AtmelSWIAnalyzer::~AtmelSWIAnalyzer() { KillThread()...
26.154341
146
0.658102
blargony
f45448509a0b8e87a7012398a743007c74b9413d
9,952
cpp
C++
src/main.cpp
yafeiwang89/liver2gui
77c8b0e54a106682fe392e64108402e886440206
[ "BSD-3-Clause" ]
null
null
null
src/main.cpp
yafeiwang89/liver2gui
77c8b0e54a106682fe392e64108402e886440206
[ "BSD-3-Clause" ]
null
null
null
src/main.cpp
yafeiwang89/liver2gui
77c8b0e54a106682fe392e64108402e886440206
[ "BSD-3-Clause" ]
1
2020-06-09T20:16:58.000Z
2020-06-09T20:16:58.000Z
/* ############################################################################# # If you use PhysiCell in your project, please cite PhysiCell and the ver- # # sion number, such as below: # # # # We ...
43.649123
123
0.58963
yafeiwang89
f45a441e40b04c7a67ee2f8beec28f9650f6f103
1,936
cpp
C++
inference-engine/src/vpu/common/src/ngraph/transformations/dynamic_to_static_shape_transpose.cpp
asenina/openvino
3790b3506091d132e2bbe491755001b0decc84db
[ "Apache-2.0" ]
null
null
null
inference-engine/src/vpu/common/src/ngraph/transformations/dynamic_to_static_shape_transpose.cpp
asenina/openvino
3790b3506091d132e2bbe491755001b0decc84db
[ "Apache-2.0" ]
null
null
null
inference-engine/src/vpu/common/src/ngraph/transformations/dynamic_to_static_shape_transpose.cpp
asenina/openvino
3790b3506091d132e2bbe491755001b0decc84db
[ "Apache-2.0" ]
null
null
null
// Copyright (C) 2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "vpu/ngraph/transformations/dynamic_to_static_shape_transpose.hpp" #include "vpu/ngraph/operations/dynamic_shape_resolver.hpp" #include <vpu/utils/error.hpp> #include "ngraph/graph_util.hpp" #include "ngraph/opsets/opset3.hpp"...
44
130
0.731405
asenina
f45e34ce8c3fbfc160a139ad89bc7ab1f7dd68c5
1,044
cpp
C++
Source/Runtime/Engine/Private/SceneManager.cpp
blAs1N/BS_Engine
e63be4eaea30c117adfc6fcb7fa2d2e8a57d04b2
[ "MIT" ]
8
2019-12-05T14:05:21.000Z
2020-12-16T07:49:22.000Z
Source/Runtime/Engine/Private/SceneManager.cpp
blAs1N/BS_Engine
e63be4eaea30c117adfc6fcb7fa2d2e8a57d04b2
[ "MIT" ]
66
2019-11-14T10:43:06.000Z
2021-04-11T04:35:53.000Z
Source/Runtime/Engine/src/SceneManager.cpp
blAs1N/BS-Engine
2e16a5b136c3065e185c7376f60cff3ab8f393c2
[ "MIT" ]
2
2019-11-14T13:26:10.000Z
2020-08-06T04:32:26.000Z
#include "SceneManager.h" #include "ThreadManager.h" bool SceneManager::Update(float deltaTime) noexcept { if (isSwapScene) { isFrontScene = !isFrontScene; isSwapScene = false; } onUpdates[isFrontScene](deltaTime); return !isEnd; } std::future<bool> SceneManager::Load(Name name) noexcept { Delegate<bool(vo...
21.306122
72
0.726054
blAs1N
f4629c897f06bdee647dec24d30f7218ba4b14fe
1,219
hpp
C++
valiant/sprite_renderer.hpp
claby2/valiant
d932574fe1f424c444a09ac99ae53fa2c7c4a9ac
[ "MIT" ]
null
null
null
valiant/sprite_renderer.hpp
claby2/valiant
d932574fe1f424c444a09ac99ae53fa2c7c4a9ac
[ "MIT" ]
null
null
null
valiant/sprite_renderer.hpp
claby2/valiant
d932574fe1f424c444a09ac99ae53fa2c7c4a9ac
[ "MIT" ]
null
null
null
#ifndef VALIANT_SPRITE_RENDERER_HPP #define VALIANT_SPRITE_RENDERER_HPP #define SDL_MAIN_HANDLED #include <SDL2/SDL.h> #include <SDL2/SDL_image.h> #include <string> #include "error.hpp" namespace valiant { struct Sprite { std::string path; int width{0}; int height{0}; SDL_Surface* surface; SDL_...
21.385965
66
0.64397
claby2
f463b59d45aba293705ee4538fa9c5333e4d5d16
836
hpp
C++
include/customizer/serialization.hpp
neilbu/osrm-backend
2a8e1f77459fef33ca34c9fe01ec62e88e255452
[ "BSD-2-Clause" ]
null
null
null
include/customizer/serialization.hpp
neilbu/osrm-backend
2a8e1f77459fef33ca34c9fe01ec62e88e255452
[ "BSD-2-Clause" ]
null
null
null
include/customizer/serialization.hpp
neilbu/osrm-backend
2a8e1f77459fef33ca34c9fe01ec62e88e255452
[ "BSD-2-Clause" ]
1
2021-11-24T14:24:44.000Z
2021-11-24T14:24:44.000Z
#ifndef OSRM_CUSTOMIZER_SERIALIZATION_HPP #define OSRM_CUSTOMIZER_SERIALIZATION_HPP #include "partition/cell_storage.hpp" #include "storage/io.hpp" #include "storage/serialization.hpp" #include "storage/shared_memory_ownership.hpp" namespace osrm { namespace customizer { namespace serialization { template <storage:...
23.885714
99
0.783493
neilbu
f4658709122414d4df7b5c21c1560364298d8a57
2,654
cpp
C++
11-stream_file/14-regex.cpp
stevenokm/cpp_tutorial
0cbc0917bcee8c503a3b9318e945a6ec662ac402
[ "MIT" ]
1
2021-09-23T00:35:43.000Z
2021-09-23T00:35:43.000Z
11-stream_file/14-regex.cpp
stevenokm/cpp_tutorial
0cbc0917bcee8c503a3b9318e945a6ec662ac402
[ "MIT" ]
null
null
null
11-stream_file/14-regex.cpp
stevenokm/cpp_tutorial
0cbc0917bcee8c503a3b9318e945a6ec662ac402
[ "MIT" ]
2
2021-08-30T05:34:42.000Z
2021-09-21T14:11:22.000Z
#include <iostream> #include <sstream> #include <string> #include <regex> int main() { std::string log = R"( [2021-10-13T14:47:22.050Z] info code-server 3.11.1 acb5de66b71a3f8f1cc065df4633ecd3f9788d46 [2021-10-13T14:47:22.051Z] info Using user-data-dir ~/.local/share/code-server [2021-10-13T14:47:22.059Z] info Usi...
40.830769
148
0.677845
stevenokm
f4692cadb178355504574ca04a011f5e9b145776
12,365
cpp
C++
Sources/Internal/UI/UISpinner.cpp
BlitzModder/dava.engine
0c7a16e627fc0d12309250d6e5e207333b35361e
[ "BSD-3-Clause" ]
4
2019-11-15T11:30:00.000Z
2021-12-27T21:16:31.000Z
Sources/Internal/UI/UISpinner.cpp
TTopox/dava.engine
0c7a16e627fc0d12309250d6e5e207333b35361e
[ "BSD-3-Clause" ]
null
null
null
Sources/Internal/UI/UISpinner.cpp
TTopox/dava.engine
0c7a16e627fc0d12309250d6e5e207333b35361e
[ "BSD-3-Clause" ]
4
2017-04-07T04:32:41.000Z
2021-12-27T21:55:49.000Z
#include "UISpinner.h" #include "UI/UIEvent.h" #include "Animation/Animation.h" #include "Reflection/ReflectionRegistrator.h" #include "UI/Update/UIUpdateComponent.h" #include "UI/Render/UIClipContentComponent.h" namespace DAVA { //use these names for children buttons to define UISpinner in .yaml static const FastName...
33.328841
186
0.671573
BlitzModder
f469355b193e56c177df94300d0ce34221270fb3
607
hpp
C++
cpmf/parallel/switch.hpp
xxthermidorxx/cpmf
134283d66665a4b5cf2452ded4614ca8b219cfd7
[ "MIT" ]
2
2015-01-21T01:23:36.000Z
2016-07-26T16:22:09.000Z
cpmf/parallel/switch.hpp
xxthermidorxx/cpmf
134283d66665a4b5cf2452ded4614ca8b219cfd7
[ "MIT" ]
2
2018-11-21T02:46:49.000Z
2018-12-02T10:53:32.000Z
cpmf/parallel/switch.hpp
xxthermidorxx/cpmf
134283d66665a4b5cf2452ded4614ca8b219cfd7
[ "MIT" ]
1
2016-12-11T12:57:49.000Z
2016-12-11T12:57:49.000Z
#ifndef CPMF_PARALLEL_SWITCH_HPP_ #define CPMF_PARALLEL_SWITCH_HPP_ #include "../common/common.hpp" #include "../utils/utils.hpp" #if defined TP_BASED #include "tp_based/tp_based.hpp" using namespace cpmf::parallel::tp_based; #elif defined FPSGD #include "fpsgd/fpsgd.hpp" using namespace cpmf::parallel::fpsgd; #end...
21.678571
57
0.741351
xxthermidorxx
f46ae5658725a597b2bfbe8eecf8d64038a7d3fc
7,942
cpp
C++
src/bindings/Scriptdev2/scripts/kalimdor/caverns_of_time/culling_of_stratholme/boss_salramm.cpp
mfooo/wow
3e5fad4cfdf0fd1c0a2fd7c9844e6f140a1bb32d
[ "OpenSSL" ]
1
2017-11-16T19:04:07.000Z
2017-11-16T19:04:07.000Z
src/bindings/Scriptdev2/scripts/kalimdor/caverns_of_time/culling_of_stratholme/boss_salramm.cpp
mfooo/wow
3e5fad4cfdf0fd1c0a2fd7c9844e6f140a1bb32d
[ "OpenSSL" ]
null
null
null
src/bindings/Scriptdev2/scripts/kalimdor/caverns_of_time/culling_of_stratholme/boss_salramm.cpp
mfooo/wow
3e5fad4cfdf0fd1c0a2fd7c9844e6f140a1bb32d
[ "OpenSSL" ]
null
null
null
/* Copyright (C) 2006 - 2010 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/> * 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 l...
29.634328
108
0.607152
mfooo
c2e1bcc8922079f4325d6d89070c07ce37a42390
9,750
cpp
C++
vendor/github.com/apple/foundationdb/fdbserver/DatabaseConfiguration.cpp
jukylin/meq
5a90566b820adc42ef1e390c3f3942eccd77d84a
[ "Apache-2.0" ]
1
2019-10-16T04:00:57.000Z
2019-10-16T04:00:57.000Z
vendor/github.com/apple/foundationdb/fdbserver/DatabaseConfiguration.cpp
jukylin/meq
5a90566b820adc42ef1e390c3f3942eccd77d84a
[ "Apache-2.0" ]
null
null
null
vendor/github.com/apple/foundationdb/fdbserver/DatabaseConfiguration.cpp
jukylin/meq
5a90566b820adc42ef1e390c3f3942eccd77d84a
[ "Apache-2.0" ]
null
null
null
/* * DatabaseConfiguration.cpp * * This source file is part of the FoundationDB open source project * * Copyright 2013-2018 Apple Inc. and the FoundationDB project authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Yo...
40.966387
150
0.728
jukylin
c2e241bbc6ad3e6f568c14b33203990cb52cec8b
2,711
hpp
C++
include/qcpc/input/input_utils.hpp
QuarticCat/qc-parser-comb
fd7bbd09233c3f42b23236b242f344ea4d26080e
[ "MIT" ]
1
2021-07-26T03:16:02.000Z
2021-07-26T03:16:02.000Z
include/qcpc/input/input_utils.hpp
QuarticCat/qc-parser-comb
fd7bbd09233c3f42b23236b242f344ea4d26080e
[ "MIT" ]
null
null
null
include/qcpc/input/input_utils.hpp
QuarticCat/qc-parser-comb
fd7bbd09233c3f42b23236b242f344ea4d26080e
[ "MIT" ]
null
null
null
#pragma once #include <concepts> #include <cstddef> namespace qcpc { struct InputPos { const char* current; size_t line; size_t column; }; // TODO: refactor this CRTP template<class Derived> struct InputCRTP { InputCRTP(const char* begin, const char* end) noexcept: _begin(begin), _end(end) {} ...
23.780702
87
0.593508
QuarticCat
c2e4039fb76b757181b5288641d4faf72000d513
4,086
cpp
C++
UVa 1161 - Objective Berlin/sample/1161 - Objective Berlin.cpp
tadvi/uva
0ac0cbdf593879b4fb02a3efc09adbb031cb47d5
[ "MIT" ]
1
2020-11-24T03:17:21.000Z
2020-11-24T03:17:21.000Z
UVa 1161 - Objective Berlin/sample/1161 - Objective Berlin.cpp
tadvi/uva
0ac0cbdf593879b4fb02a3efc09adbb031cb47d5
[ "MIT" ]
null
null
null
UVa 1161 - Objective Berlin/sample/1161 - Objective Berlin.cpp
tadvi/uva
0ac0cbdf593879b4fb02a3efc09adbb031cb47d5
[ "MIT" ]
1
2021-04-11T16:22:31.000Z
2021-04-11T16:22:31.000Z
#include <bits/stdc++.h> using namespace std; const int MAXV = 40010; const int MAXE = MAXV * 200 * 2; const long long LLINF = 1LL<<62; typedef struct Edge { int v; long long cap, flow; Edge *next, *re; } Edge; class MaxFlow { public: Edge edge[MAXE], *adj[MAXV], *pre[MAXV], *arc[MAXV]; int e, ...
27.422819
80
0.423642
tadvi
c2e62c0276e99b1e6c74d32c45db6ada7e288c98
7,191
cpp
C++
Dark Basic Public Shared/Dark Basic Pro SDK/Shared/Objects/GameFXCalls.cpp
domydev/Dark-Basic-Pro
237fd8d859782cb27b9d5994f3c34bc5372b6c04
[ "MIT" ]
231
2018-01-28T00:06:56.000Z
2022-03-31T21:39:56.000Z
Dark Basic Public Shared/Dark Basic Pro SDK/Shared/Objects/GameFXCalls.cpp
domydev/Dark-Basic-Pro
237fd8d859782cb27b9d5994f3c34bc5372b6c04
[ "MIT" ]
9
2016-02-10T10:46:16.000Z
2017-12-06T17:27:51.000Z
Dark Basic Public Shared/Dark Basic Pro SDK/Shared/Objects/GameFXCalls.cpp
domydev/Dark-Basic-Pro
237fd8d859782cb27b9d5994f3c34bc5372b6c04
[ "MIT" ]
66
2018-01-28T21:54:52.000Z
2022-02-16T22:50:57.000Z
// // GameFX Functions called into Basic3D-Integrated-Functions // // Includes #include "CommonC.h" #include "CObjectsNewC.h" // Static DARKSDK void GFCreateNodeTree ( float fX, float fY, float fZ ) { CreateNodeTree ( fX, fY, fZ ); } DARKSDK void GFAddNodeTreeObject ( int iID, int iType, int iArbitaryValue...
23.347403
197
0.732026
domydev
c2e6a8c2a643c3ebaa5a3e859b778c1d15766783
1,571
cpp
C++
primer/chapter12/ex1.cpp
chenliangold4j/beBetter
e30b66c6c8def4c65e0de9364cd9199558ea3253
[ "Apache-2.0" ]
null
null
null
primer/chapter12/ex1.cpp
chenliangold4j/beBetter
e30b66c6c8def4c65e0de9364cd9199558ea3253
[ "Apache-2.0" ]
null
null
null
primer/chapter12/ex1.cpp
chenliangold4j/beBetter
e30b66c6c8def4c65e0de9364cd9199558ea3253
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <memory> #include <string> #include <list> #include <vector> using namespace std; class StrBlob { public: typedef vector<string>::size_type size_type; StrBlob(); StrBlob(initializer_list<string> li); size_type size() const { return data->size(); } bool empty() const { ...
22.126761
88
0.626989
chenliangold4j
c2e8503fb5d9eeb82f0269fff33c4c4f6958c0a2
1,666
cpp
C++
src/frontend/A64/translate/impl/data_processing_conditional_select.cpp
Esigodini/dynarmic
664de9eaaf10bee0fdd5e88f4f125cb9c3df5c54
[ "0BSD" ]
11
2020-05-23T22:12:33.000Z
2021-06-23T08:11:45.000Z
src/frontend/A64/translate/impl/data_processing_conditional_select.cpp
Esigodini/dynarmic
664de9eaaf10bee0fdd5e88f4f125cb9c3df5c54
[ "0BSD" ]
1
2020-05-30T05:01:27.000Z
2020-05-31T04:46:38.000Z
src/frontend/A64/translate/impl/data_processing_conditional_select.cpp
Esigodini/dynarmic
664de9eaaf10bee0fdd5e88f4f125cb9c3df5c54
[ "0BSD" ]
5
2020-05-23T04:10:48.000Z
2022-03-23T14:58:28.000Z
/* This file is part of the dynarmic project. * Copyright (c) 2018 MerryMage * SPDX-License-Identifier: 0BSD */ #include "frontend/A64/translate/impl/impl.h" namespace Dynarmic::A64 { bool TranslatorVisitor::CSEL(bool sf, Reg Rm, Cond cond, Reg Rn, Reg Rd) { const size_t datasize = sf ? 64 : 32; const IR...
28.237288
109
0.668067
Esigodini
c2ea500f37bd476a634ce845d45bb46be48aca23
6,707
hpp
C++
include/ama/tensor/detail/tensor_outer.hpp
mattiapenati/amanita
c5c16d1f17e71151ce1d8e6972ddff6cec3c7305
[ "BSD-3-Clause" ]
null
null
null
include/ama/tensor/detail/tensor_outer.hpp
mattiapenati/amanita
c5c16d1f17e71151ce1d8e6972ddff6cec3c7305
[ "BSD-3-Clause" ]
null
null
null
include/ama/tensor/detail/tensor_outer.hpp
mattiapenati/amanita
c5c16d1f17e71151ce1d8e6972ddff6cec3c7305
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2011, Mattia Penati <mattia.penati@gmail.com> * 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 not...
36.650273
95
0.653645
mattiapenati
c2ec5ef92d269d50cebf881ca7db67a24b57e642
4,389
cpp
C++
zybo/ROOT_FS/lib/zynqpl/src/pcam/pcam.cpp
meiseihyu/ad-refkit
69ef3a636326102591294eaabd765b55cab28944
[ "MIT" ]
8
2020-07-11T08:22:19.000Z
2022-03-04T09:38:56.000Z
zybo/ROOT_FS/lib/zynqpl/src/pcam/pcam.cpp
meiseihyu/ad-refkit
69ef3a636326102591294eaabd765b55cab28944
[ "MIT" ]
3
2020-04-20T14:21:38.000Z
2020-08-07T03:34:23.000Z
zybo/ROOT_FS/lib/zynqpl/src/pcam/pcam.cpp
meiseihyu/ad-refkit
69ef3a636326102591294eaabd765b55cab28944
[ "MIT" ]
7
2020-04-20T07:54:09.000Z
2021-12-07T11:49:53.000Z
/** * Pcam: Pcamの初期化・Pcamからの画像取得を行うクラス * * Copyright (C) 2019 Yuya Kudo. * * Authors: * Yuya Kudo <ri0049ee@ed.ritsumei.ac.jp> */ #include <pcam/pcam.h> namespace zynqpl { Pcam::Pcam(const std::string& video_devname, const std::string& iic_devname, OV5640_cfg::mode_t m...
30.268966
104
0.543176
meiseihyu
c2ed785f55a7573d277412689f1486f0a280f697
2,810
cpp
C++
CPPWorkspace/absolutecpp/main.cpp
troyAmlee/udemycpp
42e1bdb4c29132ec8cac36f3f33d4f6283c5fb32
[ "MIT" ]
null
null
null
CPPWorkspace/absolutecpp/main.cpp
troyAmlee/udemycpp
42e1bdb4c29132ec8cac36f3f33d4f6283c5fb32
[ "MIT" ]
null
null
null
CPPWorkspace/absolutecpp/main.cpp
troyAmlee/udemycpp
42e1bdb4c29132ec8cac36f3f33d4f6283c5fb32
[ "MIT" ]
null
null
null
#include <stdio.h> #include <iostream> #include <string> using namespace std; int jogger(); double box(); double money(); double feetConversion(); double liquid(); double average(); int main(int argc, char **argv) { jogger(); box(); money(); feetConversion(); liquid(); average(); return 0; } int jogger(){...
20.814815
70
0.619217
troyAmlee
c2f1302c71d1da7ca673350db5d7434427e266ba
605
cpp
C++
1160.cpp
Valarr/Uri
807de771b14b0e60d44b23835ad9ee7423c83471
[ "MIT" ]
null
null
null
1160.cpp
Valarr/Uri
807de771b14b0e60d44b23835ad9ee7423c83471
[ "MIT" ]
null
null
null
1160.cpp
Valarr/Uri
807de771b14b0e60d44b23835ad9ee7423c83471
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main(){ int numeroDeVezes, i, pa, pb; double g1, g2; scanf("%d",&numeroDeVezes); while (numeroDeVezes){ scanf("%d %d %lf %lf",&pa,&pb,&g1,&g2); i=0; g1/=100; g2/=100; while(pa<=pb){ i++; ...
18.90625
47
0.38843
Valarr
c2f1870cecc05d2fbfeeabff05d6e14566d90b8d
3,917
cpp
C++
Algorithms on Strings/assignment 3/suffix_tree_from_array/suffix_tree_from_array.cpp
ChristineHu1207/Coursera-Data-Structures-and-Algorithms-Specialization
27f543ca0778d00ffd624ffcd18bf555660e0168
[ "MIT" ]
null
null
null
Algorithms on Strings/assignment 3/suffix_tree_from_array/suffix_tree_from_array.cpp
ChristineHu1207/Coursera-Data-Structures-and-Algorithms-Specialization
27f543ca0778d00ffd624ffcd18bf555660e0168
[ "MIT" ]
null
null
null
Algorithms on Strings/assignment 3/suffix_tree_from_array/suffix_tree_from_array.cpp
ChristineHu1207/Coursera-Data-Structures-and-Algorithms-Specialization
27f543ca0778d00ffd624ffcd18bf555660e0168
[ "MIT" ]
null
null
null
#include <algorithm> #include <iostream> #include <vector> #include <stack> #include <string> #include <cstdio> #include <map> using std::make_pair; using std::map; using std::pair; using std::string; using std::vector; using std::stack; using std::cin; using std::cout; using std::endl; struct suffix_tree_node { ...
26.113333
113
0.631606
ChristineHu1207
c2f2b011439c92f9dbbea516f41ed755987f2a79
6,081
cpp
C++
util/Utilities.cpp
traviscross/libzina
6583baa68549a7d90bf6f9af5836361e41b3cef5
[ "Apache-2.0" ]
21
2016-04-03T00:05:34.000Z
2020-05-19T23:08:37.000Z
util/Utilities.cpp
traviscross/libzina
6583baa68549a7d90bf6f9af5836361e41b3cef5
[ "Apache-2.0" ]
null
null
null
util/Utilities.cpp
traviscross/libzina
6583baa68549a7d90bf6f9af5836361e41b3cef5
[ "Apache-2.0" ]
4
2018-01-15T07:17:27.000Z
2021-01-10T02:01:37.000Z
/* Copyright 2016 Silent Circle, LLC Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, softw...
28.549296
117
0.622102
traviscross
c2f2e59572bb049d10474f7bfed6b44408bd936c
2,362
cpp
C++
dev/Basic/long/core/AgentsLookup.cpp
gusugusu1018/simmobility-prod
d30a5ba353673f8fd35f4868c26994a0206a40b6
[ "MIT" ]
50
2018-12-21T08:21:38.000Z
2022-01-24T09:47:59.000Z
dev/Basic/long/core/AgentsLookup.cpp
gusugusu1018/simmobility-prod
d30a5ba353673f8fd35f4868c26994a0206a40b6
[ "MIT" ]
2
2018-12-19T13:42:47.000Z
2019-05-13T04:11:45.000Z
dev/Basic/long/core/AgentsLookup.cpp
gusugusu1018/simmobility-prod
d30a5ba353673f8fd35f4868c26994a0206a40b6
[ "MIT" ]
27
2018-11-28T07:30:34.000Z
2022-02-05T02:22:26.000Z
/* * Copyright Singapore-MIT Alliance for Research and Technology * * File: AgentsLookup.cpp * Author: Pedro Gandola <pedrogandola@smart.mit.edu> * * Created on Feb 18, 2014, 1:32 PM */ #include "AgentsLookup.hpp" using namespace sim_mob; using namespace sim_mob::long_term; namespace { /** * Gets...
24.350515
85
0.692633
gusugusu1018
c2f39a09453322cc3ba48b9a2125b9c5fb169a50
2,672
ipp
C++
Siv3D/include/Siv3D/detail/MemoryViewReader.ipp
tas9n/OpenSiv3D
c561cba1d88eb9cd9606ba983fcc1120192d5615
[ "MIT" ]
2
2021-11-22T00:52:48.000Z
2021-12-24T09:33:55.000Z
Siv3D/include/Siv3D/detail/MemoryViewReader.ipp
tas9n/OpenSiv3D
c561cba1d88eb9cd9606ba983fcc1120192d5615
[ "MIT" ]
32
2021-10-09T10:04:11.000Z
2022-02-25T06:10:13.000Z
Siv3D/include/Siv3D/detail/MemoryViewReader.ipp
tas9n/OpenSiv3D
c561cba1d88eb9cd9606ba983fcc1120192d5615
[ "MIT" ]
1
2021-12-31T05:08:00.000Z
2021-12-31T05:08:00.000Z
//----------------------------------------------- // // This file is part of the Siv3D Engine. // // Copyright (c) 2008-2022 Ryo Suzuki // Copyright (c) 2016-2022 OpenSiv3D Project // // Licensed under the MIT License. // //----------------------------------------------- # pragma once namespace s3d { inline constex...
20.396947
104
0.668787
tas9n
c2feba820ed892f091589fae81d7ec042e8153c4
375
cpp
C++
ModernC++/3.2/funcs.cpp
Fernal73/LearnCpp
100aa80e447fe7735d7f8217c2ec72ae32ed1c7f
[ "MIT" ]
null
null
null
ModernC++/3.2/funcs.cpp
Fernal73/LearnCpp
100aa80e447fe7735d7f8217c2ec72ae32ed1c7f
[ "MIT" ]
null
null
null
ModernC++/3.2/funcs.cpp
Fernal73/LearnCpp
100aa80e447fe7735d7f8217c2ec72ae32ed1c7f
[ "MIT" ]
null
null
null
#include <functional> #include <iostream> using namespace std; int foo(int para) { return para; } int main() { // function wraps a function that take int paremeter and returns int value function<int(int)> func = foo; int important = 10; function<int(int)> func2 = [&](int value) -> int { return 1+value+important; }; ...
18.75
74
0.677333
Fernal73
c2ffeeb32f64d2f1a504fc5e2cf3297a4e69adab
7,928
cpp
C++
mmcv/ops/csrc/parrots/corner_pool_parrots.cpp
Alsasolo/mmcv
6dfc9312fa872c7fd63a5e6971e9ecca8e3d4ef1
[ "Apache-2.0" ]
3
2019-04-25T04:53:03.000Z
2020-05-08T07:48:34.000Z
mmcv/ops/csrc/parrots/corner_pool_parrots.cpp
Alsasolo/mmcv
6dfc9312fa872c7fd63a5e6971e9ecca8e3d4ef1
[ "Apache-2.0" ]
10
2020-10-15T19:31:38.000Z
2021-03-21T16:16:28.000Z
mmcv/ops/csrc/parrots/corner_pool_parrots.cpp
Alsasolo/mmcv
6dfc9312fa872c7fd63a5e6971e9ecca8e3d4ef1
[ "Apache-2.0" ]
1
2022-01-09T15:30:55.000Z
2022-01-09T15:30:55.000Z
#include <parrots/compute/aten.hpp> #include <parrots/extension.hpp> #include <parrots/foundation/ssattrs.hpp> #include "corner_pool_pytorch.h" using namespace parrots; #ifdef MMCV_WITH_CUDA void bottom_pool_forward_parrots(CudaContext& ctx, const SSElement& attr, const OperatorBase:...
33.880342
78
0.646821
Alsasolo
6c013b547378eafcac88200b21484c344818b634
4,406
hh
C++
include/formrow.hh
conclusiveeng/devclient
98e3ab39acaab156ab52705be8b4d9213efe9633
[ "BSD-2-Clause" ]
null
null
null
include/formrow.hh
conclusiveeng/devclient
98e3ab39acaab156ab52705be8b4d9213efe9633
[ "BSD-2-Clause" ]
null
null
null
include/formrow.hh
conclusiveeng/devclient
98e3ab39acaab156ab52705be8b4d9213efe9633
[ "BSD-2-Clause" ]
1
2020-11-25T11:24:42.000Z
2020-11-25T11:24:42.000Z
/*- * SPDX-License-Identifier: BSD-2-Clause-FreeBSD * * Copyright (c) 2019 Conclusive Engineering * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyr...
26.22619
88
0.73695
conclusiveeng
6c0361b1e8fbff232a724a27fda06a3c6e7cf9b9
1,282
cpp
C++
src/lib/src/cli/commands/load-tag-database-cli-command.cpp
Penguin-Guru/imgbrd-grabber
69bdd5566dc2b2cb3a67456bf1a159d544699bc9
[ "Apache-2.0" ]
1,449
2015-03-16T02:21:41.000Z
2022-03-31T22:49:10.000Z
src/lib/src/cli/commands/load-tag-database-cli-command.cpp
sisco0/imgbrd-grabber
89bf97ccab3df62286784baac242f00bf006d562
[ "Apache-2.0" ]
2,325
2015-03-16T02:23:30.000Z
2022-03-31T21:38:26.000Z
src/lib/src/cli/commands/load-tag-database-cli-command.cpp
evanjs/imgbrd-grabber
491f8f3c05be3fc02bc10007735c5afa19d47449
[ "Apache-2.0" ]
242
2015-03-22T11:00:54.000Z
2022-03-31T12:37:15.000Z
#include "load-tag-database-cli-command.h" #include <QList> #include "cli-command.h" #include "logger.h" #include "models/site.h" #include "tools/tag-list-loader.h" LoadTagDatabaseCliCommand::LoadTagDatabaseCliCommand(Profile *profile, const QList<Site*> &sites, int minTagCount, QObject *parent) : CliCommand(parent)...
25.137255
131
0.74181
Penguin-Guru
6c05cc044385b6f0d31fec291717369ea3355a1b
1,108
hh
C++
trick_source/codegen/Interface_Code_Gen/Utilities.hh
gilbertguoze/trick
f0537efb0fa3cb5c0c84e36b60f055c1d1c60d21
[ "NASA-1.3" ]
null
null
null
trick_source/codegen/Interface_Code_Gen/Utilities.hh
gilbertguoze/trick
f0537efb0fa3cb5c0c84e36b60f055c1d1c60d21
[ "NASA-1.3" ]
null
null
null
trick_source/codegen/Interface_Code_Gen/Utilities.hh
gilbertguoze/trick
f0537efb0fa3cb5c0c84e36b60f055c1d1c60d21
[ "NASA-1.3" ]
null
null
null
#ifndef UTILITIES_HH #define UTILITIES_HH #include "clang/Frontend/CompilerInstance.h" #include "clang/Basic/FileManager.h" #include "clang/Basic/SourceLocation.h" #include "HeaderSearchDirs.hh" enum Color { ERROR = 31, WARNING = 33, INFO = 34, SKIP = 95 }; std::string sanitize(const std::string&); ...
34.625
110
0.727437
gilbertguoze
6c06fadc0f70adb5c8e6e3f4b69c9d99bd228245
625
hpp
C++
src/Info.hpp
franpog859/darwinLogs
1d0a9bdd7c928ceee96b3121e408fc1ee1d80e05
[ "Apache-2.0" ]
7
2019-02-21T10:50:09.000Z
2019-10-16T06:22:27.000Z
src/Info.hpp
franpog859/darwinLogs
1d0a9bdd7c928ceee96b3121e408fc1ee1d80e05
[ "Apache-2.0" ]
null
null
null
src/Info.hpp
franpog859/darwinLogs
1d0a9bdd7c928ceee96b3121e408fc1ee1d80e05
[ "Apache-2.0" ]
2
2019-10-16T17:34:25.000Z
2020-01-18T20:40:02.000Z
#ifndef INFO_HPP #define INFO_HPP #include "Statistics.hpp" #include "../lib/json.hpp" struct Info { int childrenNumber = 0; int adultsNumber = 0; int eldersNumber = 0; int maleNumber = 0; int femaleNumber = 0; int maleAdultNumber = 0; int femaleAdultNumber = 0; int deathsNumber = 0; int newbornsNumber =...
18.939394
42
0.768
franpog859
6c07d27b25624931e756a63be014f42c7441e35d
4,640
cpp
C++
modules/3d/src/rgbd/volume.cpp
HattrickGenerator/opencv
7554b53adfff8996e576691af4242f6f4acdc8f3
[ "Apache-2.0" ]
null
null
null
modules/3d/src/rgbd/volume.cpp
HattrickGenerator/opencv
7554b53adfff8996e576691af4242f6f4acdc8f3
[ "Apache-2.0" ]
null
null
null
modules/3d/src/rgbd/volume.cpp
HattrickGenerator/opencv
7554b53adfff8996e576691af4242f6f4acdc8f3
[ "Apache-2.0" ]
1
2021-04-30T18:00:41.000Z
2021-04-30T18:00:41.000Z
// This file is part of OpenCV project. // It is subject to the license terms in the LICENSE file found in the top-level directory // of this distribution and at http://opencv.org/license.html #include "../precomp.hpp" #include "tsdf.hpp" #include "hash_tsdf.hpp" #include "colored_tsdf.hpp" namespace cv { Ptr<Volume...
38.347107
117
0.663793
HattrickGenerator
6c0daab0dcd09f4db89ab3d5bc69ac391f09559a
1,599
cpp
C++
src/shogun/converter/EmbeddingConverter.cpp
cloner1984/shogun
901c04b2c6550918acf0594ef8afeb5dcd840a7d
[ "BSD-3-Clause" ]
2
2021-08-12T18:11:06.000Z
2021-11-17T10:56:49.000Z
src/shogun/converter/EmbeddingConverter.cpp
cloner1984/shogun
901c04b2c6550918acf0594ef8afeb5dcd840a7d
[ "BSD-3-Clause" ]
null
null
null
src/shogun/converter/EmbeddingConverter.cpp
cloner1984/shogun
901c04b2c6550918acf0594ef8afeb5dcd840a7d
[ "BSD-3-Clause" ]
null
null
null
/* * This software is distributed under BSD 3-clause license (see LICENSE file). * * Authors: Sergey Lisitsyn, Evan Shelhamer, Thoralf Klein, Soeren Sonnenburg, * Chiyuan Zhang */ #include <shogun/converter/EmbeddingConverter.h> #include <shogun/kernel/LinearKernel.h> #include <shogun/distance/Euclidean...
19.9875
86
0.752971
cloner1984
6c0e3472cd0f8f02f5e64cfbc93ef1174ed4003b
3,025
cpp
C++
src/cascadia/TerminalSettingsEditor/PaddingConverter.cpp
hessedoneen/terminal
aa54de1d648f45920996aeba1edecc67237c6642
[ "MIT" ]
4
2021-05-11T06:11:52.000Z
2021-07-31T22:32:57.000Z
src/cascadia/TerminalSettingsEditor/PaddingConverter.cpp
Apasys/terminal
c1f844307ca5d5d8d5a457faa616f5fa089aa771
[ "MIT" ]
2
2021-10-30T02:38:17.000Z
2021-10-30T02:45:05.000Z
src/cascadia/TerminalSettingsEditor/PaddingConverter.cpp
Apasys/terminal
c1f844307ca5d5d8d5a457faa616f5fa089aa771
[ "MIT" ]
2
2021-02-02T22:12:35.000Z
2021-05-04T23:24:57.000Z
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. #include "pch.h" #include "PaddingConverter.h" #include "PaddingConverter.g.cpp" using namespace winrt::Windows; using namespace winrt::Windows::UI::Xaml; using namespace winrt::Windows::UI::Text; namespace winrt::Microsoft::Termin...
45.833333
121
0.551736
hessedoneen
6c1137755d76ede42e7f26a3229ad4714f37eb02
4,633
hpp
C++
sprout/iterator/distance.hpp
osyo-manga/Sprout
8885b115f739ef255530f772067475d3bc0dcef7
[ "BSL-1.0" ]
1
2020-02-04T05:16:01.000Z
2020-02-04T05:16:01.000Z
sprout/iterator/distance.hpp
osyo-manga/Sprout
8885b115f739ef255530f772067475d3bc0dcef7
[ "BSL-1.0" ]
null
null
null
sprout/iterator/distance.hpp
osyo-manga/Sprout
8885b115f739ef255530f772067475d3bc0dcef7
[ "BSL-1.0" ]
null
null
null
#ifndef SPROUT_ITERATOR_DISTANCE_HPP #define SPROUT_ITERATOR_DISTANCE_HPP #include <iterator> #include <type_traits> #include <sprout/config.hpp> #include <sprout/iterator/next.hpp> #include <sprout/iterator/type_traits/category.hpp> #include <sprout/utility/pair/pair.hpp> #include <sprout/adl/not_found.hpp> ...
39.262712
117
0.751133
osyo-manga
6c120ec4711794fadcb50fe0695f0623c8ac08f0
1,639
cpp
C++
igl/edge_flaps.cpp
aviadtzemah/animation2
9a3f980fbe27672fe71f8f61f73b5713f2af5089
[ "Apache-2.0" ]
2,392
2016-12-17T14:14:12.000Z
2022-03-30T19:40:40.000Z
igl/edge_flaps.cpp
aviadtzemah/animation2
9a3f980fbe27672fe71f8f61f73b5713f2af5089
[ "Apache-2.0" ]
106
2018-04-19T17:47:31.000Z
2022-03-01T19:44:11.000Z
igl/edge_flaps.cpp
aviadtzemah/animation2
9a3f980fbe27672fe71f8f61f73b5713f2af5089
[ "Apache-2.0" ]
184
2017-11-15T09:55:37.000Z
2022-02-21T16:30:46.000Z
// This file is part of libigl, a simple c++ geometry processing library. // // Copyright (C) 2015 Alec Jacobson <alecjacobson@gmail.com> // // This Source Code Form is subject to the terms of the Mozilla Public License // v. 2.0. If a copy of the MPL was not distributed with this file, You can // obtain one at htt...
26.868852
79
0.596705
aviadtzemah
6c13f776d29e995deef1cf9b390891a093a070d2
165
cpp
C++
chapter-9/9.30.cpp
zero4drift/Cpp-Primer-5th-Exercises
d3d0f0d228e8c2c5a3b3fe1fd03ce34e0894e93f
[ "MIT" ]
null
null
null
chapter-9/9.30.cpp
zero4drift/Cpp-Primer-5th-Exercises
d3d0f0d228e8c2c5a3b3fe1fd03ce34e0894e93f
[ "MIT" ]
null
null
null
chapter-9/9.30.cpp
zero4drift/Cpp-Primer-5th-Exercises
d3d0f0d228e8c2c5a3b3fe1fd03ce34e0894e93f
[ "MIT" ]
null
null
null
// The one parameter version of resize requires that the element type must support value initialization, or it must has a default constructor if it is a class type.
82.5
164
0.8
zero4drift
6c1945d81e88dbc1dfda09dfb8cf840c8c3b917c
407
hh
C++
drake/examples/user_libraries/color/Color.hh
wk8/elle
a66d3c0aeca86bcd13ec14d3797edc660b2496fc
[ "Apache-2.0" ]
521
2016-02-14T00:39:01.000Z
2022-03-01T22:39:25.000Z
drake/examples/user_libraries/color/Color.hh
mefyl/elle
a8154593c42743f45b9df09daf62b44630c24a02
[ "Apache-2.0" ]
8
2017-02-21T11:47:33.000Z
2018-11-01T09:37:14.000Z
drake/examples/user_libraries/color/Color.hh
mefyl/elle
a8154593c42743f45b9df09daf62b44630c24a02
[ "Apache-2.0" ]
48
2017-02-21T10:18:13.000Z
2022-03-25T02:35:20.000Z
#ifndef COLOR_COLOR_HH # define COLOR_COLOR_HH # include <ostream> namespace color { struct Color { typedef uint8_t Intensity; Color(Intensity r = 0, Intensity g = 0, Intensity b = 0); Color(Color const&) = default; virtual ~Color(); Intensity r, g, b; }; } std::o...
14.034483
39
0.594595
wk8
6c1e1c5adbdc187af8ebc7b6852137a7a46d2358
492
hpp
C++
common.hpp
totemofwolf/redis-cerberus
69a12f6a88ce2628c041b7d74f7b27444c5778b2
[ "MIT" ]
264
2015-01-04T06:48:35.000Z
2017-06-05T08:57:51.000Z
common.hpp
totemofwolf/redis-cerberus
69a12f6a88ce2628c041b7d74f7b27444c5778b2
[ "MIT" ]
21
2015-08-25T07:44:24.000Z
2017-04-13T10:01:56.000Z
common.hpp
totemofwolf/redis-cerberus
69a12f6a88ce2628c041b7d74f7b27444c5778b2
[ "MIT" ]
76
2015-01-04T13:44:39.000Z
2017-06-07T07:02:14.000Z
#ifndef __CERBERUS_COMMON_HPP__ #define __CERBERUS_COMMON_HPP__ #include <chrono> #define VERSION "0.8.0-2018-05-02" namespace cerb { using byte = unsigned char; using rint = int64_t; using slot = unsigned int; using msize_t = uint64_t; typedef std::chrono::high_resolution_clock Clock; type...
20.5
53
0.727642
totemofwolf
6c209c427c0fd26541c0d983f71576c4296ef771
859
hpp
C++
src/mbgl/text/bidi.hpp
mapzak/mapbox-gl-native-android-minimod
83f1350747be9a60eb0275bd1a8dcb8e5f027abe
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
src/mbgl/text/bidi.hpp
mapzak/mapbox-gl-native-android-minimod
83f1350747be9a60eb0275bd1a8dcb8e5f027abe
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
src/mbgl/text/bidi.hpp
mapzak/mapbox-gl-native-android-minimod
83f1350747be9a60eb0275bd1a8dcb8e5f027abe
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
#pragma once #include <set> #include <string> #include <vector> #include <memory> #include <mbgl/util/noncopyable.hpp> namespace mbgl { class BiDi; class BiDiImpl; std::u16string applyArabicShaping(const std::u16string&); class ProcessedBiDiText { public: ProcessedBiDiText(BiDi&); std::vector<std::u16str...
18.276596
93
0.718277
mapzak
6c218dfacf9f30759eeee36d48f91b71a81f22b1
1,549
cpp
C++
src/Robots/Skyline.cpp
Overture-7421/OvertureRobotCode_2020
be9b69ea5f852b1077d1531b4f34921964544c86
[ "BSD-3-Clause" ]
1
2020-03-17T04:15:33.000Z
2020-03-17T04:15:33.000Z
src/Robots/Skyline.cpp
Overture-7421/Overture-FRC
be9b69ea5f852b1077d1531b4f34921964544c86
[ "BSD-3-Clause" ]
null
null
null
src/Robots/Skyline.cpp
Overture-7421/Overture-FRC
be9b69ea5f852b1077d1531b4f34921964544c86
[ "BSD-3-Clause" ]
null
null
null
#include "Skyline.h" #include "frc2/command/CommandScheduler.h" #include <frc/smartdashboard/SmartDashboard.h> Skyline::Skyline() : TimedRobot() {} void Skyline::RobotInit() { frc::SmartDashboard::PutNumber("Setpoint Pos", 0); frc::SmartDashboard::PutBoolean("Setpoint Piston", false); } /** * This functi...
28.163636
83
0.726921
Overture-7421
6c26a1e730a1e297207b53ab5d8085cd4308c998
9,570
cpp
C++
vidio_old.cpp
Steve132/vidio
b70778cb61ec3a95e1fbff36e8ab21c2c6b2fbad
[ "MIT" ]
null
null
null
vidio_old.cpp
Steve132/vidio
b70778cb61ec3a95e1fbff36e8ab21c2c6b2fbad
[ "MIT" ]
null
null
null
vidio_old.cpp
Steve132/vidio
b70778cb61ec3a95e1fbff36e8ab21c2c6b2fbad
[ "MIT" ]
null
null
null
#include "vidio.hpp" #include "vidio_internal.hpp" #include <list> #include <algorithm> #include <iterator> #include <sstream> #include <unordered_map> #include <iostream> static std::string get_ffmpeg_prefix(const std::string& usr_override="") { std::list<std::string> possible_locations; if(usr_override...
24.664948
168
0.667607
Steve132
6c27bd30c637d5f913a2d4a908847ba465466143
45,201
cc
C++
src/asm/riscv-jit.cc
csail-csg/riscv-meta
4258e8e8784ad2fb2bc77f9d867fe762f86561aa
[ "BSD-3-Clause" ]
6
2019-02-07T18:22:17.000Z
2021-11-05T01:43:09.000Z
src/asm/riscv-jit.cc
csail-csg/riscv-meta
4258e8e8784ad2fb2bc77f9d867fe762f86561aa
[ "BSD-3-Clause" ]
null
null
null
src/asm/riscv-jit.cc
csail-csg/riscv-meta
4258e8e8784ad2fb2bc77f9d867fe762f86561aa
[ "BSD-3-Clause" ]
2
2018-02-06T13:26:41.000Z
2020-12-06T09:46:16.000Z
// // riscv-jit.cc // // DANGER - This is machine generated code // #include <cstdint> #include <cstdlib> #include <cassert> #include "riscv-types.h" #include "riscv-endian.h" #include "riscv-jit.h" #include "riscv-meta.h" #include "riscv-codec.h" using namespace riscv; uint64_t riscv::emit_lui(ireg5 rd, simm32 i...
24.249464
118
0.65264
csail-csg
6c2962777801cc4f90a55341e8dc85b7d16b4e25
15,223
cpp
C++
remodet_repository_wdh_part/src/caffe/remo/visualizer.cpp
UrwLee/Remo_experience
a59d5b9d6d009524672e415c77d056bc9dd88c72
[ "MIT" ]
null
null
null
remodet_repository_wdh_part/src/caffe/remo/visualizer.cpp
UrwLee/Remo_experience
a59d5b9d6d009524672e415c77d056bc9dd88c72
[ "MIT" ]
null
null
null
remodet_repository_wdh_part/src/caffe/remo/visualizer.cpp
UrwLee/Remo_experience
a59d5b9d6d009524672e415c77d056bc9dd88c72
[ "MIT" ]
null
null
null
#include "caffe/remo/visualizer.hpp" namespace caffe { static bool DRAW_HANDS = false; template <typename Dtype> Visualizer<Dtype>::Visualizer(cv::Mat& image, int max_display_size) { const int width = image.cols; const int height = image.rows; const int maxsize = (width > height) ? width : height; const Dtyp...
43.247159
116
0.591605
UrwLee
6c2a6a022e735a4a6e358275906b4d5a5dbecc8d
956
hpp
C++
include/h3api/H3AdventureMap/H3MapOceanBottle.hpp
Patrulek/H3API
91f10de37c6b86f3160706c1fdf4792f927e9952
[ "MIT" ]
14
2020-09-07T21:49:26.000Z
2021-11-29T18:09:41.000Z
include/h3api/H3AdventureMap/H3MapOceanBottle.hpp
Day-of-Reckoning/H3API
a82d3069ec7d5127b13528608d5350d2b80d57be
[ "MIT" ]
2
2021-02-12T15:52:31.000Z
2021-02-12T16:21:24.000Z
include/h3api/H3AdventureMap/H3MapOceanBottle.hpp
Day-of-Reckoning/H3API
a82d3069ec7d5127b13528608d5350d2b80d57be
[ "MIT" ]
8
2021-02-12T15:52:41.000Z
2022-01-31T15:28:10.000Z
////////////////////////////////////////////////////////////////////// // // // Created by RoseKavalier: // // rosekavalierhc@gmail.com // // Created or last upda...
28.969697
70
0.384937
Patrulek
6c2d2289ef49a99011d46242b204db085668532a
1,655
hpp
C++
include/UnityEngine/ProBuilder/IHasDefault.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
include/UnityEngine/ProBuilder/IHasDefault.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
include/UnityEngine/ProBuilder/IHasDefault.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/byref.hpp" // Completed includes // Type namespace: UnityEngine.ProBuilder namespace UnityEngine::ProBuilde...
42.435897
179
0.713595
RedBrumbler
6c2f3c41138479b0abd7e08d47e7020ba98a911c
1,443
cpp
C++
Final/Final/UI/ItemUserWidget.cpp
GZhonghui/Intern2022
f1b8ea0bb0dc98c1a5ca96b07b327352bef27a7e
[ "MIT" ]
1
2022-02-25T06:07:35.000Z
2022-02-25T06:07:35.000Z
Final/Final/UI/ItemUserWidget.cpp
GZhonghui/Intern2022
f1b8ea0bb0dc98c1a5ca96b07b327352bef27a7e
[ "MIT" ]
null
null
null
Final/Final/UI/ItemUserWidget.cpp
GZhonghui/Intern2022
f1b8ea0bb0dc98c1a5ca96b07b327352bef27a7e
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "ItemUserWidget.h" void UItemUserWidget::UpdateArms() { WearMe.ExecuteIfBound(SaveID); } void UItemUserWidget::GetUpdate() { MeUpdated.ExecuteIfBound(); } void UItemUserWidget::Set(int ItemID, int Count) { auto GI = Cast<UMa...
19.24
107
0.710326
GZhonghui
6c30ab0fe4f19b91cafd968cff6bae99acb31d67
3,722
hpp
C++
include/knapsack/branch_and_bound.hpp
fhamonic/knapsack
c5105720b3770fc76d54f14d5001fcc7ac3ec69a
[ "BSL-1.0" ]
1
2021-09-23T09:49:15.000Z
2021-09-23T09:49:15.000Z
include/knapsack/branch_and_bound.hpp
fhamonic/knapsack
c5105720b3770fc76d54f14d5001fcc7ac3ec69a
[ "BSL-1.0" ]
null
null
null
include/knapsack/branch_and_bound.hpp
fhamonic/knapsack
c5105720b3770fc76d54f14d5001fcc7ac3ec69a
[ "BSL-1.0" ]
null
null
null
#ifndef FHAMONIC_KNAPSACK_BRANCH_AND_BOUND_HPP #define FHAMONIC_KNAPSACK_BRANCH_AND_BOUND_HPP #include <numeric> #include <stack> #include <vector> #include <range/v3/algorithm/remove_if.hpp> #include <range/v3/algorithm/sort.hpp> #include <range/v3/view/zip.hpp> #include "knapsack/instance.hpp" #include "knapsack/s...
34.785047
80
0.577646
fhamonic
6c344fb83abb466ca791d120fe3a3836d79f8607
1,895
cpp
C++
generated-sources/cpp-qt5/mojang-api/client/com.github.asyncmc.mojang.api.cpp.qt5.model/OAISecurityAnswer.cpp
AsyncMC/Mojang-API-Libs
b01bbd2bce44bfa2b9ed705a128cf4ecda077916
[ "Apache-2.0" ]
null
null
null
generated-sources/cpp-qt5/mojang-api/client/com.github.asyncmc.mojang.api.cpp.qt5.model/OAISecurityAnswer.cpp
AsyncMC/Mojang-API-Libs
b01bbd2bce44bfa2b9ed705a128cf4ecda077916
[ "Apache-2.0" ]
null
null
null
generated-sources/cpp-qt5/mojang-api/client/com.github.asyncmc.mojang.api.cpp.qt5.model/OAISecurityAnswer.cpp
AsyncMC/Mojang-API-Libs
b01bbd2bce44bfa2b9ed705a128cf4ecda077916
[ "Apache-2.0" ]
null
null
null
/** * Mojang API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * OpenAPI spec version: 2020-06-05 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the ...
18.221154
109
0.686544
AsyncMC
6c38a6065b6bb78c7d8bd2ac427691d52e72586a
3,105
cpp
C++
3.7.0/clang-tools-extra-3.7.0.src/clang-tidy/google/IntegerTypesCheck.cpp
androm3da/clang_sles
2ba6d0711546ad681883c42dfb8661b842806695
[ "MIT" ]
3
2016-02-10T14:18:40.000Z
2018-02-05T03:15:56.000Z
3.7.0/clang-tools-extra-3.7.0.src/clang-tidy/google/IntegerTypesCheck.cpp
androm3da/clang_sles
2ba6d0711546ad681883c42dfb8661b842806695
[ "MIT" ]
1
2016-02-10T15:40:03.000Z
2016-02-10T15:40:03.000Z
3.7.0/clang-tools-extra-3.7.0.src/clang-tidy/google/IntegerTypesCheck.cpp
androm3da/clang_sles
2ba6d0711546ad681883c42dfb8661b842806695
[ "MIT" ]
null
null
null
//===--- IntegerTypesCheck.cpp - clang-tidy -------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
29.571429
80
0.655395
androm3da
6c396882b41745ec719bb3277321f334a8d14ff9
558
cpp
C++
test/20171018/source/std/test20171018/source/sxy/sequence/rand.cpp
DesZou/Eros
f49c9ce1dfe193de8199163286afc28ff8c52eef
[ "MIT" ]
1
2017-10-12T13:49:10.000Z
2017-10-12T13:49:10.000Z
test/20171018/source/std/test20171018/source/sxy/sequence/rand.cpp
DesZou/Eros
f49c9ce1dfe193de8199163286afc28ff8c52eef
[ "MIT" ]
null
null
null
test/20171018/source/std/test20171018/source/sxy/sequence/rand.cpp
DesZou/Eros
f49c9ce1dfe193de8199163286afc28ff8c52eef
[ "MIT" ]
1
2017-10-12T13:49:38.000Z
2017-10-12T13:49:38.000Z
//Serene #include<algorithm> #include<iostream> #include<cstring> #include<cstdlib> #include<cstdio> #include<cmath> #include<ctime> using namespace std; const int n=200000,f=100,q=200000; int m,k; int main() { freopen("sequence.in","w",stdout); srand((unsigned)time(NULL)); m=rand()%f+1;k=rand()%(n/4)+1; cout<<n<<...
17.4375
38
0.557348
DesZou
6c3d3e4d198a428c654c1703399d7755f6c7c411
6,836
cpp
C++
examples/EchoClientServer.cpp
whamon35/NetTcp
db49b774abadde40132058040fdf92b60ae178c2
[ "MIT" ]
3
2020-05-16T14:00:40.000Z
2022-03-16T10:09:37.000Z
examples/EchoClientServer.cpp
whamon35/NetTcp
db49b774abadde40132058040fdf92b60ae178c2
[ "MIT" ]
null
null
null
examples/EchoClientServer.cpp
whamon35/NetTcp
db49b774abadde40132058040fdf92b60ae178c2
[ "MIT" ]
1
2022-02-25T10:49:12.000Z
2022-02-25T10:49:12.000Z
 // ───────────────────────────────────────────────────────────── // INCLUDE // ───────────────────────────────────────────────────────────── #include <MyServer.hpp> #include <MySocket.hpp> // Dependencies #include <Net/Tcp/NetTcp.hpp> #include <spdlog/sinks/stdout_color_sinks.h> #ifdef _MSC_VER # ...
36.951351
120
0.581773
whamon35
6c3f945302ef140ba265e55112522a7cb3521338
1,131
cpp
C++
pulse_integration_quality_analysis/one_value_per_cycle/pulse_integration_quality_analysis_test_bench.cpp
knodel/hzdr-mu2e-daq-algo-cores
ae646f66e3b71ef7b06013b4d835cc61d1221ffc
[ "BSD-3-Clause" ]
1
2020-11-17T15:21:04.000Z
2020-11-17T15:21:04.000Z
pulse_integration_quality_analysis/one_value_per_cycle/pulse_integration_quality_analysis_test_bench.cpp
knodel/hzdr-mu2e-daq-algo-cores
ae646f66e3b71ef7b06013b4d835cc61d1221ffc
[ "BSD-3-Clause" ]
null
null
null
pulse_integration_quality_analysis/one_value_per_cycle/pulse_integration_quality_analysis_test_bench.cpp
knodel/hzdr-mu2e-daq-algo-cores
ae646f66e3b71ef7b06013b4d835cc61d1221ffc
[ "BSD-3-Clause" ]
null
null
null
#include "pulse_integration_quality_analysis_core.h" #include "stdio.h" int main(int argc, char* argv[]){ in_stream_t in; out_stream_t out; report result; double value = 0; FILE* file = NULL; if(argc >= 2) file = fopen(argv[1], "r"); else file = fopen("", "r"); if(file == NULL){ perror("\n\nUnable to open...
22.62
109
0.639257
knodel
6c4170bbef711dac041c5778430bfde2bf5a3345
4,095
hpp
C++
src/compiler/syntax/token.hpp
mbeckem/tiro
b3d729fce46243f25119767c412c6db234c2d938
[ "MIT" ]
10
2020-01-23T20:41:19.000Z
2021-12-28T20:24:44.000Z
src/compiler/syntax/token.hpp
mbeckem/tiro
b3d729fce46243f25119767c412c6db234c2d938
[ "MIT" ]
22
2021-03-25T16:22:08.000Z
2022-03-17T12:50:38.000Z
src/compiler/syntax/token.hpp
mbeckem/tiro
b3d729fce46243f25119767c412c6db234c2d938
[ "MIT" ]
null
null
null
#ifndef TIRO_COMPILER_SYNTAX_TOKEN_HPP #define TIRO_COMPILER_SYNTAX_TOKEN_HPP #include "common/format.hpp" #include "compiler/source_range.hpp" #include <string_view> namespace tiro { /// List of all known tokens. /// /// Note: if you add a new keyword, you will likely want to /// add the string --> token_type mapp...
24.230769
84
0.544567
mbeckem
6c420cb1e6155c986b1f524cf212aeeca719f9fe
4,229
cc
C++
GUI/Texture.cc
jwillemsen/sidecar
941d9f3b84d05ca405df1444d4d9fd0bde03887f
[ "MIT" ]
null
null
null
GUI/Texture.cc
jwillemsen/sidecar
941d9f3b84d05ca405df1444d4d9fd0bde03887f
[ "MIT" ]
null
null
null
GUI/Texture.cc
jwillemsen/sidecar
941d9f3b84d05ca405df1444d4d9fd0bde03887f
[ "MIT" ]
null
null
null
#include <cmath> #include "GUI/LogUtils.h" #include "Texture.h" using namespace SideCar::GUI; GLenum Texture::bestTextureType_ = GLenum(-1); bool Texture::isPowerOfTwoSizeRequired_ = true; Logger::Log& Texture::Log() { static Logger::Log& log_ = Logger::Log::Find("SideCar.GUI.Texture"); return log_; } GLe...
27.461039
110
0.67179
jwillemsen
6c421fd5d713c493d471a890593b775c1d3704a9
26,497
cpp
C++
tms_rc/tms_rc_katana/KNI_4.3.0/demo/kni_test/kni_test.cpp
SigmaHayashi/ros_tms_for_smart_previewed_reality
4ace908bd3da0519246b3c45d0230cbd02e49da0
[ "BSD-3-Clause" ]
null
null
null
tms_rc/tms_rc_katana/KNI_4.3.0/demo/kni_test/kni_test.cpp
SigmaHayashi/ros_tms_for_smart_previewed_reality
4ace908bd3da0519246b3c45d0230cbd02e49da0
[ "BSD-3-Clause" ]
null
null
null
tms_rc/tms_rc_katana/KNI_4.3.0/demo/kni_test/kni_test.cpp
SigmaHayashi/ros_tms_for_smart_previewed_reality
4ace908bd3da0519246b3c45d0230cbd02e49da0
[ "BSD-3-Clause" ]
null
null
null
/********************************************************************************** * Katana Native Interface - A C++ interface to the robot arm Katana. * Copyright (C) 2005-2009 Neuronics AG * Check out the AUTHORS file for detailed contact information. * This program is free software; you can redistribute...
37.852857
210
0.525833
SigmaHayashi
6c43ab09963e0439d1d595c18b4f3e760296a1dc
528
cpp
C++
bin-int/Debug-windows-x86_64/NextEngine/unity_ZQ3LOIMG5RJ3ZMYP.cpp
CompilerLuke/NextEngine
aa1a8e9d9370bce004dba00854701597cab74989
[ "MIT" ]
1
2021-09-10T18:19:16.000Z
2021-09-10T18:19:16.000Z
bin-int/Debug-windows-x86_64/NextEngine/unity_ZQ3LOIMG5RJ3ZMYP.cpp
CompilerLuke/NextEngine
aa1a8e9d9370bce004dba00854701597cab74989
[ "MIT" ]
null
null
null
bin-int/Debug-windows-x86_64/NextEngine/unity_ZQ3LOIMG5RJ3ZMYP.cpp
CompilerLuke/NextEngine
aa1a8e9d9370bce004dba00854701597cab74989
[ "MIT" ]
2
2020-04-02T06:46:56.000Z
2021-06-17T16:47:57.000Z
#include "stdafx.h" #include "C:\Users\User\source\repos\NextEngine\NextEngine\src\graphics\assets\VULKAN\vk_model.cpp" #include "C:\Users\User\source\repos\NextEngine\NextEngine\src\graphics\assets\VULKAN\vk_shader.cpp" #include "C:\Users\User\source\repos\NextEngine\NextEngine\src\graphics\assets\VULKAN\vk_textu...
31.058824
103
0.80303
CompilerLuke
6c441fce0124f90618f104f6f1b4701c655985ff
3,700
hpp
C++
src/libraries/dynamicMesh/dynamicMesh/meshCut/splitCell/splitCell.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
src/libraries/dynamicMesh/dynamicMesh/meshCut/splitCell/splitCell.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
src/libraries/dynamicMesh/dynamicMesh/meshCut/splitCell/splitCell.hpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
/*---------------------------------------------------------------------------*\ Copyright (C) 2011 OpenFOAM Foundation ------------------------------------------------------------------------------- License This file is part of CAELUS. CAELUS is free software: you can redistribute it and/or modify it under...
24.666667
79
0.455405
MrAwesomeRocks
6c455ef3724021c6b498bbd436724308fba0ef95
3,161
cpp
C++
BasicLayoutDemo/mainwindow.cpp
waitwalker/QtWidgetDemos
fe0ef951b9e058a93ada4b3399c4daa900694131
[ "MIT" ]
1
2021-09-03T08:52:55.000Z
2021-09-03T08:52:55.000Z
BasicLayoutDemo/mainwindow.cpp
waitwalker/QtWidgetDemos
fe0ef951b9e058a93ada4b3399c4daa900694131
[ "MIT" ]
null
null
null
BasicLayoutDemo/mainwindow.cpp
waitwalker/QtWidgetDemos
fe0ef951b9e058a93ada4b3399c4daa900694131
[ "MIT" ]
null
null
null
#include "mainwindow.h" #include "ui_mainwindow.h" #include <QPushButton> #include <QVBoxLayout> #include <QHBoxLayout> #include <QGroupBox> #include <QLabel> #include <QLineEdit> #include <QTextEdit> #include <QFormLayout> #include <QComboBox> #include <QSpinBox> #include <QDialogButtonBox> MainWindow::MainWindow(QWi...
29.542056
103
0.700095
waitwalker
6c47855ad32ae38d7865f06e98fb58dbea3ea85e
3,960
cpp
C++
libro/SpinPQ.cpp
transpixel/tpqz
2d8400b1be03292d0c5ab74710b87e798ae6c52c
[ "MIT" ]
1
2017-06-01T00:21:16.000Z
2017-06-01T00:21:16.000Z
libro/SpinPQ.cpp
transpixel/tpqz
2d8400b1be03292d0c5ab74710b87e798ae6c52c
[ "MIT" ]
3
2017-06-01T00:26:16.000Z
2020-05-09T21:06:27.000Z
libro/SpinPQ.cpp
transpixel/tpqz
2d8400b1be03292d0c5ab74710b87e798ae6c52c
[ "MIT" ]
null
null
null
// // // MIT License // // Copyright (c) 2017 Stellacore Corporation. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to ...
22.122905
72
0.674495
transpixel
6c482133827736d165d01d873f1aef248b736198
4,860
hpp
C++
src/OpenSimBindings/UndoableUiModel.hpp
ComputationalBiomechanicsLab/opensim-creator
e5c4b24f5ef3bffe10c84899d0a0c79037020b6d
[ "Apache-2.0" ]
5
2021-07-13T12:03:29.000Z
2021-12-22T20:21:58.000Z
src/OpenSimBindings/UndoableUiModel.hpp
ComputationalBiomechanicsLab/opensim-creator
e5c4b24f5ef3bffe10c84899d0a0c79037020b6d
[ "Apache-2.0" ]
180
2022-01-27T15:25:15.000Z
2022-03-30T13:41:12.000Z
src/OpenSimBindings/UndoableUiModel.hpp
ComputationalBiomechanicsLab/opensim-creator
e5c4b24f5ef3bffe10c84899d0a0c79037020b6d
[ "Apache-2.0" ]
null
null
null
#pragma once #include "src/OpenSimBindings/UiModel.hpp" #include "src/Utils/CircularBuffer.hpp" #include <memory> #include <optional> namespace OpenSim { class Model; class Component; } namespace SimTK { class State; } namespace osc { // a "UI-ready" OpenSim::Model with undo/redo and rollback suppo...
34.714286
85
0.620165
ComputationalBiomechanicsLab
6c49251988a31d236810dd74ca1c8e9a4e4237ce
15,696
cpp
C++
src/Tools/TriangulatePolygon/TriangulatePolygon.cpp
Terryhata6/Mengine
dfe36fdc84d7398fbbbd199feffc46c6f157f1d4
[ "MIT" ]
null
null
null
src/Tools/TriangulatePolygon/TriangulatePolygon.cpp
Terryhata6/Mengine
dfe36fdc84d7398fbbbd199feffc46c6f157f1d4
[ "MIT" ]
null
null
null
src/Tools/TriangulatePolygon/TriangulatePolygon.cpp
Terryhata6/Mengine
dfe36fdc84d7398fbbbd199feffc46c6f157f1d4
[ "MIT" ]
null
null
null
#include <Windows.h> #include <shellapi.h> #include <stdio.h> #include <string> #include <vector> #include <sstream> #include "ToolUtils/ToolUtils.h" #define BOOST_NO_IOSTREAM #pragma warning(push, 0) #pragma warning(disable:4800) #include "boost/geometry/geometry.hpp" #include "boost/geometry/core/tag.hpp" ...
27.731449
198
0.544151
Terryhata6
6c498967d740eb97a5685813c5aae8ff8f89b416
63,514
cpp
C++
OSGExport.cpp
mattjr/structured
0cb4635af7602f2a243a9b739e5ed757424ab2a7
[ "Apache-2.0" ]
14
2015-01-11T02:53:04.000Z
2021-11-25T17:31:22.000Z
OSGExport.cpp
skair39/structured
0cb4635af7602f2a243a9b739e5ed757424ab2a7
[ "Apache-2.0" ]
null
null
null
OSGExport.cpp
skair39/structured
0cb4635af7602f2a243a9b739e5ed757424ab2a7
[ "Apache-2.0" ]
14
2015-07-21T04:47:52.000Z
2020-03-12T12:31:25.000Z
// // structured - Tools for the Generation and Visualization of Large-scale // Three-dimensional Reconstructions from Image Data. This software includes // source code from other projects, which is subject to different licensing, // see COPYING for details. If this project is used for research see COPYING // for makin...
31.614734
385
0.635025
mattjr
6c4afef01d764690e3b9357c24f62044adb16107
1,083
cpp
C++
Jit/lir/function.cpp
diogommartins/cinder
79103e9119cbecef3b085ccf2878f00c26e1d175
[ "CNRI-Python-GPL-Compatible" ]
1
2021-11-04T07:39:43.000Z
2021-11-04T07:39:43.000Z
Jit/lir/function.cpp
diogommartins/cinder
79103e9119cbecef3b085ccf2878f00c26e1d175
[ "CNRI-Python-GPL-Compatible" ]
null
null
null
Jit/lir/function.cpp
diogommartins/cinder
79103e9119cbecef3b085ccf2878f00c26e1d175
[ "CNRI-Python-GPL-Compatible" ]
1
2021-05-11T05:20:30.000Z
2021-05-11T05:20:30.000Z
// Copyright (c) Facebook, Inc. and its affiliates. (http://www.facebook.com) #include "Jit/lir/function.h" #include "Jit/lir/blocksorter.h" #include "Jit/lir/printer.h" #include <stack> #include <unordered_map> #include <unordered_set> namespace jit { namespace lir { void Function::sortBasicBlocks() { BasicBlockS...
25.186047
77
0.723915
diogommartins
6c4c5fa7415941a928fcb9b0e39cb13be32e80df
914
cpp
C++
boost/libs/preprocessor/test/debug.cpp
randolphwong/mcsema
eb5b376736e7f57ff0a61f7e4e5a436bbb874720
[ "BSD-3-Clause" ]
12,278
2015-01-29T17:11:33.000Z
2022-03-31T21:12:00.000Z
boost/libs/preprocessor/test/debug.cpp
randolphwong/mcsema
eb5b376736e7f57ff0a61f7e4e5a436bbb874720
[ "BSD-3-Clause" ]
9,469
2015-01-30T05:33:07.000Z
2022-03-31T16:17:21.000Z
boost/libs/preprocessor/test/debug.cpp
randolphwong/mcsema
eb5b376736e7f57ff0a61f7e4e5a436bbb874720
[ "BSD-3-Clause" ]
1,343
2017-12-08T19:47:19.000Z
2022-03-26T11:31:36.000Z
# /* ************************************************************************** # * * # * (C) Copyright Paul Mensonides 2002. # * Distributed under the Boost Software License, Version 1.0. (See # * accompanying file LICENSE_1_0.txt...
41.545455
80
0.448578
randolphwong
6c54d6f2a98c3073bbe807c2ecf0950ab6be0785
3,298
cpp
C++
2048.cpp
eric0410771/Game_Theory_CPP
d739035ef64b4831491ca47126baf6f2216ad498
[ "MIT" ]
null
null
null
2048.cpp
eric0410771/Game_Theory_CPP
d739035ef64b4831491ca47126baf6f2216ad498
[ "MIT" ]
null
null
null
2048.cpp
eric0410771/Game_Theory_CPP
d739035ef64b4831491ca47126baf6f2216ad498
[ "MIT" ]
null
null
null
/** * Basic Environment for Game 2048 * use 'g++ -std=c++11 -O3 -g -o 2048 2048.cpp' to compile the source * * Computer Games and Intelligence (CGI) Lab, NCTU, Taiwan * http://www.aigames.nctu.edu.tw */ #include <iostream> #include <fstream> #include <iterator> #include <string> #include "board.h" #include "actio...
27.949153
82
0.620376
eric0410771
6c5873921021e015f5bb0ad11e98ddf67bccafdc
1,255
hh
C++
src/hidden_layer.hh
WaizungTaam/neural_network
f593f81ffa5ef9ee3377d56cbfd6c679f668da26
[ "Apache-2.0" ]
null
null
null
src/hidden_layer.hh
WaizungTaam/neural_network
f593f81ffa5ef9ee3377d56cbfd6c679f668da26
[ "Apache-2.0" ]
null
null
null
src/hidden_layer.hh
WaizungTaam/neural_network
f593f81ffa5ef9ee3377d56cbfd6c679f668da26
[ "Apache-2.0" ]
null
null
null
#ifndef HIDDEN_LAYER_HH #define HIDDEN_LAYER_HH #include <vector> #include <string> #include "matrix.hh" #include "utils.hh" #include "layer.hh" class HiddenLayer : public Layer { public: HiddenLayer() = default; HiddenLayer(const HiddenLayer &) = default; HiddenLayer(HiddenLayer &&) = default; HiddenLayer & ...
27.888889
75
0.708367
WaizungTaam
6c598852f77a18abe809573eecdd8da4ae6f3507
310
cpp
C++
libs/test/doc/src/examples/example26.cpp
zyiacas/boost-doc-zh
689e5a3a0a4dbead1a960f7b039e3decda54aa2c
[ "BSL-1.0" ]
198
2015-01-13T05:47:18.000Z
2022-03-09T04:46:46.000Z
libs/test/doc/src/examples/example26.cpp
sdfict/boost-doc-zh
689e5a3a0a4dbead1a960f7b039e3decda54aa2c
[ "BSL-1.0" ]
9
2015-01-28T16:33:19.000Z
2020-04-12T23:03:28.000Z
libs/test/doc/src/examples/example26.cpp
sdfict/boost-doc-zh
689e5a3a0a4dbead1a960f7b039e3decda54aa2c
[ "BSL-1.0" ]
139
2015-01-15T20:09:31.000Z
2022-01-31T15:21:16.000Z
#include <boost/test/prg_exec_monitor.hpp> // this header is optional //____________________________________________________________________________// int cpp_main( int, char* [] ) // note the name { return 5; } //____________________________________________________________________________//
28.181818
81
0.783871
zyiacas
6c5c7e3ee59db26f09b2a1e518ce451f09854e1b
23,913
cpp
C++
directfire_github/trunk/gameui/battle.net/headsettingdialog.cpp
zhwsh00/DirectFire-android
10c757e1be0b25dee951f9ba3a0e1f6d5c04a938
[ "MIT" ]
1
2015-08-12T04:05:33.000Z
2015-08-12T04:05:33.000Z
directfire_github/trunk/gameui/battle.net/headsettingdialog.cpp
zhwsh00/DirectFire-android
10c757e1be0b25dee951f9ba3a0e1f6d5c04a938
[ "MIT" ]
null
null
null
directfire_github/trunk/gameui/battle.net/headsettingdialog.cpp
zhwsh00/DirectFire-android
10c757e1be0b25dee951f9ba3a0e1f6d5c04a938
[ "MIT" ]
null
null
null
#include "headsettingdialog.h" #include "gamecore/resource/resourcemgr.h" #include "gamecore/sounds/soundmgr.h" #include "utils/sysutils.h" #include "utils/fileutils.h" #include "ccimagecliper.h" HeadSettingDialog::HeadSettingDialog(CCNode *parent,const ccColor4B &color) : BasShowDialog(parent,color) { m_serv...
41.371972
155
0.720027
zhwsh00