hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
109
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
48.5k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
0fd26e8b7fd8ca3719d400e91e25eea84e4ccc21
328,888
cc
C++
Protocol/eraftio/raft_cmdpb.pb.cc
bokket/eraft
3a2f9a0cae671cfdaf929719d1e34b113dc063e2
[ "MIT" ]
58
2021-05-20T12:56:54.000Z
2022-03-28T03:45:25.000Z
Protocol/eraftio/raft_cmdpb.pb.cc
bokket/eraft
3a2f9a0cae671cfdaf929719d1e34b113dc063e2
[ "MIT" ]
1
2022-01-25T04:40:20.000Z
2022-01-28T05:43:30.000Z
Protocol/eraftio/raft_cmdpb.pb.cc
bokket/eraft
3a2f9a0cae671cfdaf929719d1e34b113dc063e2
[ "MIT" ]
15
2021-05-20T12:56:57.000Z
2022-03-14T20:35:58.000Z
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: raft_cmdpb.proto #include "raft_cmdpb.pb.h" #include <algorithm> #include <google/protobuf/stubs/common.h> #include <google/protobuf/io/coded_stream.h> #include <google/protobuf/extension_set.h> #include <google/protobuf/wire_format_lite.h> #incl...
36.41364
161
0.722444
bokket
0fd46a373bcc874fb64657ae036bffd45da01831
1,364
cpp
C++
Sources/Internal/UI/DataBinding/Private/UIDataSourceComponent.cpp
Digan1988/dava.engine
70b1e10b2bf001e96ecf51f7ea58da7b55791e93
[ "BSD-3-Clause" ]
1
2019-12-21T20:17:25.000Z
2019-12-21T20:17:25.000Z
Sources/Internal/UI/DataBinding/Private/UIDataSourceComponent.cpp
Digan1988/dava.engine
70b1e10b2bf001e96ecf51f7ea58da7b55791e93
[ "BSD-3-Clause" ]
null
null
null
Sources/Internal/UI/DataBinding/Private/UIDataSourceComponent.cpp
Digan1988/dava.engine
70b1e10b2bf001e96ecf51f7ea58da7b55791e93
[ "BSD-3-Clause" ]
1
2020-03-14T04:31:21.000Z
2020-03-14T04:31:21.000Z
#include "UI/DataBinding/UIDataSourceComponent.h" #include "Engine/Engine.h" #include "Entity/ComponentManager.h" #include "Reflection/ReflectionRegistrator.h" #include "Utils/StringUtils.h" namespace DAVA { DAVA_VIRTUAL_REFLECTION_IMPL(UIDataSourceComponent) { ReflectionRegistrator<UIDataSourceComponent>::Begin(...
20.984615
96
0.750733
Digan1988
0fd52d0472d2d8b9d2dcf27487a7335ec2a643d8
2,421
cpp
C++
source/react3d/bridge/delta3d/BoneBridgeDelta3D.cpp
Danathus/react3d
742139496fe6864f4fbac195c846e692ffc8be40
[ "MIT" ]
9
2018-05-23T10:49:06.000Z
2022-03-02T02:00:59.000Z
source/react3d/bridge/delta3d/BoneBridgeDelta3D.cpp
Danathus/react3d
742139496fe6864f4fbac195c846e692ffc8be40
[ "MIT" ]
4
2015-09-07T07:50:13.000Z
2015-09-07T08:25:36.000Z
source/react3d/bridge/delta3d/BoneBridgeDelta3D.cpp
Danathus/react3d
742139496fe6864f4fbac195c846e692ffc8be40
[ "MIT" ]
null
null
null
#include <ragdoll/bridge/delta3d/BoneBridgeDelta3D.h> #include <cassert> #include <ode/ode.h> #include <dtCore/object.h> #include <dtCore/odebodywrap.h> #include <dtCore/transform.h> #include <ragdoll/bridge/osg/Math.h> #include <ragdoll/core/kernel/Skeleton.h> #include <ragdoll/core/kernel/Bone.h> ///////////////...
25.484211
98
0.629079
Danathus
0fd59994094448befe84182a8d1dc3601422e536
4,759
cpp
C++
source/TestList.cpp
SVincent/programmiersprachen-aufgabenblatt-4
2a83da4062a21e0277298c7ef39885406beb4b3f
[ "MIT" ]
null
null
null
source/TestList.cpp
SVincent/programmiersprachen-aufgabenblatt-4
2a83da4062a21e0277298c7ef39885406beb4b3f
[ "MIT" ]
null
null
null
source/TestList.cpp
SVincent/programmiersprachen-aufgabenblatt-4
2a83da4062a21e0277298c7ef39885406beb4b3f
[ "MIT" ]
null
null
null
#define CATCH_CONFIG_RUNNER #include "catch.hpp" #include "List.hpp" //Task 4.2 TEST_CASE ("test for size of list", "Task 4.2") { List<int> list; REQUIRE (list.size()== 0); } TEST_CASE ("test for empty list", "Task 4.2") { List<int> list; REQUIRE (list.empty()== true); } //Task 4.3 TEST_CASE ("test ...
23.101942
79
0.588149
SVincent
0fd8b50c6ddac1464600f397c4a8f9e089291481
540
hpp
C++
src/iislua/iislua_req.hpp
shibayan/iislua
b0fe6fb0c204748928b6dd3205d0fe42f899d20c
[ "Apache-2.0" ]
16
2015-10-09T08:03:24.000Z
2022-03-30T08:54:10.000Z
src/iislua/iislua_req.hpp
shibayan/iislua
b0fe6fb0c204748928b6dd3205d0fe42f899d20c
[ "Apache-2.0" ]
6
2015-09-18T08:12:42.000Z
2020-04-05T07:00:14.000Z
src/iislua/iislua_req.hpp
shibayan/iislua
b0fe6fb0c204748928b6dd3205d0fe42f899d20c
[ "Apache-2.0" ]
7
2017-09-12T09:53:20.000Z
2022-02-28T23:50:03.000Z
#pragma once IISLUA_API int iislua_req_get_headers(lua_State* L); IISLUA_API int iislua_req_get_method(lua_State* L); IISLUA_API int iislua_req_get_post_args(lua_State* L); IISLUA_API int iislua_req_get_remote_addr(lua_State* L); IISLUA_API int iislua_req_get_url(lua_State* L); IISLUA_API int iislua_req_get_url_args(l...
45
56
0.846296
shibayan
0fd90ade3fc7c494f29a1908efa2c79da2555a5f
3,372
hpp
C++
src/rideables/PriorityQueue.hpp
urcs-sync/Montage
6dc330da21ec20735a58579b23183a1bd8eeee66
[ "MIT" ]
9
2020-10-04T22:03:31.000Z
2021-10-08T01:52:57.000Z
src/rideables/PriorityQueue.hpp
urcs-sync/Montage
6dc330da21ec20735a58579b23183a1bd8eeee66
[ "MIT" ]
18
2020-10-20T02:39:12.000Z
2021-08-30T00:23:32.000Z
src/rideables/PriorityQueue.hpp
urcs-sync/Montage
6dc330da21ec20735a58579b23183a1bd8eeee66
[ "MIT" ]
9
2020-10-04T22:06:11.000Z
2021-02-19T17:23:17.000Z
#ifndef PRIORITY_QUEUE #define PRIORITY_QUEUE #include <iostream> #include <atomic> #include <algorithm> #include <memory> #include "HarnessUtils.hpp" #include "ConcurrentPrimitives.hpp" #include "RCUTracker.hpp" #include "CustomTypes.hpp" #include "Recoverable.hpp" #include "HeapQueue.hpp" //Wentao: TODO to fix late...
24.613139
112
0.643238
urcs-sync
0fdec6ca4673160d5f8aa509cb6137c4dd70dd47
11,641
cpp
C++
tests/ordered_map.cpp
N-A-D/libva
2c60242bf9094b2cd8cd40b616e6116a897b6e26
[ "MIT" ]
null
null
null
tests/ordered_map.cpp
N-A-D/libva
2c60242bf9094b2cd8cd40b616e6116a897b6e26
[ "MIT" ]
null
null
null
tests/ordered_map.cpp
N-A-D/libva
2c60242bf9094b2cd8cd40b616e6116a897b6e26
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include "../include/libra/container/ordered_map.hpp" #include "detail/constants.hpp" #include <random> #include <vector> #include <algorithm> using map_type = libra::ordered_map<int, int>; using pair_type = std::pair<int, int>; struct equivalent { map_type::value_compare comp; equivalent(m...
30.394256
101
0.657761
N-A-D
0fe078da94b72d621b0d165ba76336227aa2616f
5,222
cpp
C++
lib/libchen/test/src/data/json.cpp
chensoft/libxio
17345e500cca5085641b5392ce8ef7dc65369d69
[ "MIT" ]
6
2018-07-28T08:03:24.000Z
2022-03-31T08:56:57.000Z
lib/libchen/test/src/data/json.cpp
chensoft/libxio
17345e500cca5085641b5392ce8ef7dc65369d69
[ "MIT" ]
null
null
null
lib/libchen/test/src/data/json.cpp
chensoft/libxio
17345e500cca5085641b5392ce8ef7dc65369d69
[ "MIT" ]
2
2019-05-21T02:26:36.000Z
2020-04-13T16:46:20.000Z
/** * Created by Jian Chen * @since 2016.06.17 * @author Jian Chen <admin@chensoft.com> * @link http://chensoft.com */ #include "chen/data/json.hpp" #include "chen/base/str.hpp" #include "chen/sys/fs.hpp" #include "gtest/gtest.h" #include "../conf.hpp" TEST(DataJsonTest, Type) { using chen::json; json...
29.670455
153
0.637112
chensoft
0fe668a8f6e6f4bfc57f42604c12417cb3983061
32,611
cpp
C++
planning/obstacle_cruise_planner/src/node.cpp
autowarefoundation/Autoware.Universe
618c3e912a9a96efe86f205a9c498e0d57f6d5b7
[ "Apache-2.0" ]
null
null
null
planning/obstacle_cruise_planner/src/node.cpp
autowarefoundation/Autoware.Universe
618c3e912a9a96efe86f205a9c498e0d57f6d5b7
[ "Apache-2.0" ]
null
null
null
planning/obstacle_cruise_planner/src/node.cpp
autowarefoundation/Autoware.Universe
618c3e912a9a96efe86f205a9c498e0d57f6d5b7
[ "Apache-2.0" ]
null
null
null
// Copyright 2022 TIER IV, 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 to i...
40.968593
100
0.761859
autowarefoundation
0fe838ead84214d24ff9ab8c5b72d8048a4b7a72
5,937
cpp
C++
landmark/landmark_detection.cpp
gao-duan/FaceRelighting
71594027af1605a643571b9628bedddf5fc3b0e9
[ "MIT" ]
35
2019-09-02T01:23:35.000Z
2022-03-15T01:18:39.000Z
landmark/landmark_detection.cpp
gao-duan/FaceRelighting
71594027af1605a643571b9628bedddf5fc3b0e9
[ "MIT" ]
2
2019-09-14T02:51:25.000Z
2019-12-19T13:19:54.000Z
landmark/landmark_detection.cpp
gao-duan/FaceRelighting
71594027af1605a643571b9628bedddf5fc3b0e9
[ "MIT" ]
11
2019-08-31T09:58:10.000Z
2022-02-24T12:37:08.000Z
#include "landmark_detection.h" #include "stdafx.h" #include <LandmarkCoreIncludes.h> #include <dlib/image_processing/frontal_face_detector.h> #include <tbb/tbb.h> #include "common.h" static void convert_to_grayscale(const cv::Mat& in, cv::Mat& out) { if (in.channels() == 3) { // Make sure it's in a correct form...
30.137056
147
0.742126
gao-duan
0fe86d5221917bf300debb7d4c701b47bf16e838
10,980
cpp
C++
src/EIoFilterChain.cpp
cxxjava/CxxConet
43a617636ab437616c15c20f9826247cb17a66f0
[ "Apache-2.0" ]
23
2017-05-11T01:42:15.000Z
2021-11-24T06:50:51.000Z
src/EIoFilterChain.cpp
cxxjava/CxxConet
43a617636ab437616c15c20f9826247cb17a66f0
[ "Apache-2.0" ]
null
null
null
src/EIoFilterChain.cpp
cxxjava/CxxConet
43a617636ab437616c15c20f9826247cb17a66f0
[ "Apache-2.0" ]
8
2017-05-11T07:55:22.000Z
2022-01-14T09:14:09.000Z
/* * EIoFilterChain.cpp * * Created on: 2017-3-16 * Author: cxxjava@163.com */ #include "../inc/EIoFilterChain.hh" #include "../inc/EIoFilterAdapter.hh" #include "../inc/EIoBuffer.hh" namespace efc { namespace naf { class EIoFilterChain::EntryImpl: public EIoFilterChain::Entry { public: ~EntryImpl() { ...
23.869565
109
0.691439
cxxjava
0fe8a7ee3801ecfedb54cc1e4d4c7fb30a1bf896
7,799
cpp
C++
poppler-21.11.0/qt6/tests/check_strings.cpp
stackoverflowed/multimodal
95668d0b34d297e96b5ef76521e587578ef2581f
[ "MIT" ]
null
null
null
poppler-21.11.0/qt6/tests/check_strings.cpp
stackoverflowed/multimodal
95668d0b34d297e96b5ef76521e587578ef2581f
[ "MIT" ]
null
null
null
poppler-21.11.0/qt6/tests/check_strings.cpp
stackoverflowed/multimodal
95668d0b34d297e96b5ef76521e587578ef2581f
[ "MIT" ]
null
null
null
/* * Copyright (C) 2010, 2011, Pino Toscano <pino@kde.org> * Copyright (C) 2021 Klarälvdalens Datakonsult AB, a KDAB Group company, <info@kdab.com> * * 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 Fo...
31.963115
156
0.625593
stackoverflowed
0feb4ccdee2dca734c3d1267c3e4d138bfa1cc62
1,962
cpp
C++
timer.cpp
RaphaelPoncet/2016-macs2-projet-hpc
1ae8936113ee24f0b49a303627d4fd5bc045f78d
[ "Apache-2.0" ]
2
2017-07-19T09:14:20.000Z
2017-09-17T11:39:52.000Z
timer.cpp
RaphaelPoncet/2016-macs2-projet-hpc
1ae8936113ee24f0b49a303627d4fd5bc045f78d
[ "Apache-2.0" ]
null
null
null
timer.cpp
RaphaelPoncet/2016-macs2-projet-hpc
1ae8936113ee24f0b49a303627d4fd5bc045f78d
[ "Apache-2.0" ]
null
null
null
// Copyright 2016 Raphael Poncet. // 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 w...
25.480519
79
0.622324
RaphaelPoncet
0fec23990e35247c9d4c9783b30b935dd56a3032
2,950
cpp
C++
src/Application.cpp
sujeong-choi/2020-1-OSSP2-CarpeDiem-5
f6873e347aac05598e7d3e3a5d7547b9e82555ac
[ "MIT" ]
24
2015-02-02T15:36:59.000Z
2022-01-29T01:32:32.000Z
src/Application.cpp
sujeong-choi/2020-1-OSSP2-CarpeDiem-5
f6873e347aac05598e7d3e3a5d7547b9e82555ac
[ "MIT" ]
20
2020-04-14T06:25:36.000Z
2020-06-21T09:01:01.000Z
src/Application.cpp
kyureekim/2020-1-OSSP2-CarpeDiem-5
646560fb22301c77282756b71c497adfb12dbfa8
[ "MIT" ]
9
2015-02-21T04:07:33.000Z
2021-03-25T19:56:30.000Z
/*******************************************************************//* * Implementation of the Application class. * * @author Brandon To * @version 1.0 * @since 2014-08-05 * @modified 2015-02-21 *********************************************************************/ #include "Application.h" #i...
24.380165
131
0.651864
sujeong-choi
0fee3b6ddc1fde72596aa29971c5f9799cc7b734
9,943
cpp
C++
src/ariel/io/utilities.cpp
lymastee/gslib
1b165b7a812526c4b2a3179588df9a7c2ff602a6
[ "MIT" ]
9
2016-10-18T09:40:09.000Z
2022-02-11T09:44:51.000Z
src/ariel/io/utilities.cpp
lymastee/gslib
1b165b7a812526c4b2a3179588df9a7c2ff602a6
[ "MIT" ]
null
null
null
src/ariel/io/utilities.cpp
lymastee/gslib
1b165b7a812526c4b2a3179588df9a7c2ff602a6
[ "MIT" ]
1
2016-10-19T15:20:58.000Z
2016-10-19T15:20:58.000Z
/* * Copyright (c) 2016-2021 lymastee, All rights reserved. * Contact: lymastee@hotmail.com * * This file is part of the gslib project. * * 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 th...
24.795511
82
0.592276
lymastee
0fee709307fea0efda066ba6d5a3c287be83b691
1,158
cpp
C++
NewBouncePlaneDialog.cpp
jambolo/ConfettiMachine
02512f43e5a613dd972bdb06fa6a17acfc7d7ef8
[ "MIT" ]
null
null
null
NewBouncePlaneDialog.cpp
jambolo/ConfettiMachine
02512f43e5a613dd972bdb06fa6a17acfc7d7ef8
[ "MIT" ]
null
null
null
NewBouncePlaneDialog.cpp
jambolo/ConfettiMachine
02512f43e5a613dd972bdb06fa6a17acfc7d7ef8
[ "MIT" ]
null
null
null
/******************************************************************************************************************** NewBouncePlaneDialog.cpp Copyright 2003, John J. Bolton ----------------------------------------------------------------------...
26.318182
118
0.501727
jambolo
0fee7af9d0845c138594054cd846b8eb80e64645
6,072
cpp
C++
lib/soci/src/core/backend-loader.cpp
parki02/starall
f6c0878560a6220c44db21e2ea0cbaf1c0dd9a2f
[ "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0", "BSL-1.0", "BSD-3-Clause" ]
null
null
null
lib/soci/src/core/backend-loader.cpp
parki02/starall
f6c0878560a6220c44db21e2ea0cbaf1c0dd9a2f
[ "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0", "BSL-1.0", "BSD-3-Clause" ]
null
null
null
lib/soci/src/core/backend-loader.cpp
parki02/starall
f6c0878560a6220c44db21e2ea0cbaf1c0dd9a2f
[ "Apache-2.0", "BSD-2-Clause", "MIT", "ECL-2.0", "BSL-1.0", "BSD-3-Clause" ]
null
null
null
// // Copyright (C) 2008 Maciej Sobczak with contributions from Artyom Tonkikh // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // #define SOCI_SOURCE #include "backend-loader.h" #include "error.h" #include <cass...
22.656716
88
0.680665
parki02
0feee6d7048015ab85b009c166744f834938db73
3,122
cpp
C++
lib/IRremoteESP8266/src/ir_Teknopoint.cpp
Eliauk-Forever/JARVIS
69569e530f0bc66c90bc2ba2a266edb65006bd6f
[ "MulanPSL-1.0" ]
14
2019-07-09T09:38:59.000Z
2022-02-11T13:57:18.000Z
lib/IRremoteESP8266/src/ir_Teknopoint.cpp
Eliauk-Forever/JARVIS
69569e530f0bc66c90bc2ba2a266edb65006bd6f
[ "MulanPSL-1.0" ]
null
null
null
lib/IRremoteESP8266/src/ir_Teknopoint.cpp
Eliauk-Forever/JARVIS
69569e530f0bc66c90bc2ba2a266edb65006bd6f
[ "MulanPSL-1.0" ]
1
2021-06-26T22:26:58.000Z
2021-06-26T22:26:58.000Z
// Copyright 2021 David Conran (crankyoldgit) /// @file /// @brief Support for the Teknopoint protocol /// @see https://github.com/crankyoldgit/IRremoteESP8266/issues/1486 // Supports: // Brand: Teknopoint, Model: Allegro SSA-09H A/C // Brand: Teknopoint, Model: GZ-055B-E1 remote #include "IRrecv.h" #include "I...
41.078947
80
0.685138
Eliauk-Forever
0fefa0d67ed2b46aa836549ed299f74f99151e89
4,142
cpp
C++
problems_001-050/euler_49.cpp
sedihub/project_euler
2d7d40ee67a1e0402aa68e78a5f7d7cf18221db5
[ "Apache-2.0" ]
null
null
null
problems_001-050/euler_49.cpp
sedihub/project_euler
2d7d40ee67a1e0402aa68e78a5f7d7cf18221db5
[ "Apache-2.0" ]
null
null
null
problems_001-050/euler_49.cpp
sedihub/project_euler
2d7d40ee67a1e0402aa68e78a5f7d7cf18221db5
[ "Apache-2.0" ]
null
null
null
/* PROBLEM: The arithmetic sequence, 1487, 4817, 8147, in which each of the terms increases by 3330, is unusual in two ways: (i) each of the three terms are prime, and, (ii) each of the 4-digit numbers are permutations of one another. There are no arithmetic sequences made up of three 1-, 2-, or 3-dig...
27.071895
97
0.616127
sedihub
0ff0341df5e7ab8411a839c766e4bd49632a0edc
2,337
cpp
C++
engine/modules/video/video_player.cpp
Texas-C/echo
486acc57c9149363206a2367c865a2ccbac69975
[ "MIT" ]
null
null
null
engine/modules/video/video_player.cpp
Texas-C/echo
486acc57c9149363206a2367c865a2ccbac69975
[ "MIT" ]
null
null
null
engine/modules/video/video_player.cpp
Texas-C/echo
486acc57c9149363206a2367c865a2ccbac69975
[ "MIT" ]
null
null
null
#include "video_player.h" #include "engine/core/main/Engine.h" #include "engine/core/io/IO.h" namespace Echo { VideoPlayer::VideoPlayer() { } VideoPlayer::~VideoPlayer() { } void VideoPlayer::bindMethods() { CLASS_BIND_METHOD(VideoPlayer, is2d, DEF_METHOD("is2d")); CLASS_BIND_METHOD(VideoPlayer,...
24.6
116
0.646983
Texas-C
0ff1882551a7cefb0ab48cd5f104c3b76da45c58
5,073
cpp
C++
src/tests/q_tech_ind/main.cpp
gtaifu/CACTUS
a05f47423ac37b14989ec38c525741ec597b4826
[ "Apache-2.0" ]
8
2020-01-04T06:40:13.000Z
2020-12-04T19:29:02.000Z
src/tests/q_tech_ind/main.cpp
gtaifu/CACTUS
a05f47423ac37b14989ec38c525741ec597b4826
[ "Apache-2.0" ]
null
null
null
src/tests/q_tech_ind/main.cpp
gtaifu/CACTUS
a05f47423ac37b14989ec38c525741ec597b4826
[ "Apache-2.0" ]
1
2021-07-05T02:14:05.000Z
2021-07-05T02:14:05.000Z
#include <iostream> #include <systemc> #include "global_json.h" #include "instruction_generator.h" #include "q_data_type.h" #include "q_decoder.h" #include "q_tech_ind.h" #include "spdlog/sinks/stdout_color_sinks.h" #include "spdlog/spdlog.h" using cactus::config_reader; using namespace cactus; using namespace sc_co...
34.277027
97
0.642224
gtaifu
0ff37a888340fea492799711ec7d7f934edf0fab
46,512
cc
C++
src/simutrans/tool/simmenu.cc
Varkalandar/simutrans
894ab5b9ebd2106fde698d36d5daa3d267624d83
[ "Artistic-1.0" ]
null
null
null
src/simutrans/tool/simmenu.cc
Varkalandar/simutrans
894ab5b9ebd2106fde698d36d5daa3d267624d83
[ "Artistic-1.0" ]
null
null
null
src/simutrans/tool/simmenu.cc
Varkalandar/simutrans
894ab5b9ebd2106fde698d36d5daa3d267624d83
[ "Artistic-1.0" ]
null
null
null
/* * This file is part of the Simutrans project under the Artistic License. * (see LICENSE.txt) */ #include <string> #include <algorithm> #include "../utils/unicode.h" #include "../simevent.h" #include "../world/simworld.h" #include "../gui/simwin.h" #include "../player/simplay.h" #include "../tool/simmenu.h" #in...
31.901235
163
0.648908
Varkalandar
0ff40cc9934e8fc6eb151ab62ec4d5168bf996ca
586
cpp
C++
BZOJ/1251/brute.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
BZOJ/1251/brute.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
BZOJ/1251/brute.cpp
sjj118/OI-Code
964ea6e799d14010f305c7e4aee269d860a781f7
[ "MIT" ]
null
null
null
#include<iostream> #include<cstdio> #define rg register #define rep(i,x,y) for(rg int i=(x);i<=(y);++i) #define per(i,x,y) for(rg int i=(x);i>=(y);--i) using namespace std; const int N=5e4+10; int n,m,a[N]; int main(){ scanf("%d%d",&n,&m); rep(i,1,m){ int op;scanf("%d",&op); if(op==1){ int l,r,v;scanf("%d%d%d"...
20.928571
47
0.522184
sjj118
0ff75eae9f0d1d4fedc6cc3ade5d9cfbb5d0b13d
2,843
cpp
C++
LOT_spi0_cpp/LOT_spi0.cpp
hhk7734/sundries
2979db941be25adc2be6eb1fd95838561135af62
[ "MIT" ]
1
2018-11-12T00:52:08.000Z
2018-11-12T00:52:08.000Z
LOT_spi0_cpp/LOT_spi0.cpp
hhk7734/AVR_lib
2979db941be25adc2be6eb1fd95838561135af62
[ "MIT" ]
null
null
null
LOT_spi0_cpp/LOT_spi0.cpp
hhk7734/AVR_lib
2979db941be25adc2be6eb1fd95838561135af62
[ "MIT" ]
null
null
null
/** * @file LOT_spi0.cpp * @author Hyeon-ki, Hong (hhk7734@gmail.com) * @brief */ #include "LOT_spi0.h" LOT_spi0::LOT_spi0() : error_count( 0 ) { } void LOT_spi0::setup( LOT_spi_data_order_typedef data_order, LOT_spi_clk_idle_state_typedef clk_idle, LOT_s...
22.563492
99
0.572283
hhk7734
0ffbeb606c68fc22d481d3685f0f3be0822ac105
1,716
cc
C++
lib/consumers/aggregator_consumer.cc
pal-robotics/statsdcc
3398c71019ac202e1b3dccd6e2cbef6537d82975
[ "MIT" ]
1
2020-06-09T23:48:06.000Z
2020-06-09T23:48:06.000Z
lib/consumers/aggregator_consumer.cc
pal-robotics/statsdcc
3398c71019ac202e1b3dccd6e2cbef6537d82975
[ "MIT" ]
2
2019-07-04T21:50:11.000Z
2020-03-17T18:12:51.000Z
lib/consumers/aggregator_consumer.cc
pal-robotics/statsdcc
3398c71019ac202e1b3dccd6e2cbef6537d82975
[ "MIT" ]
1
2020-06-09T15:43:27.000Z
2020-06-09T15:43:27.000Z
/** * Source file for class AggregatorConsumer * Please see statsdcc_consumer.h and consumer.h for documentaion */ #include "statsdcc/consumers/aggregator_consumer.h" #include <gperftools/tcmalloc.h> #include <string.h> #include <cstring> #include <sstream> #include "statsdcc/configs/aggregator_config.h" #inclu...
27.238095
77
0.681235
pal-robotics
0ffcf51b1886253cc551639358ae85d13d4faa33
6,271
cc
C++
scripts/makePlotsOfAllBranches.cc
ats2008/CMS-TIFR
339b61fac76d65079cb4c53708117e255cbe8af8
[ "MIT" ]
null
null
null
scripts/makePlotsOfAllBranches.cc
ats2008/CMS-TIFR
339b61fac76d65079cb4c53708117e255cbe8af8
[ "MIT" ]
null
null
null
scripts/makePlotsOfAllBranches.cc
ats2008/CMS-TIFR
339b61fac76d65079cb4c53708117e255cbe8af8
[ "MIT" ]
null
null
null
/* Plot all the branches in a tree froma .root file Usage : root -b -q 'makePlotsOfAllBranches.cc("<pathToRootFile>","<nameOfTTreeInFile>","<prefixToThePicToSave>")" eg. : user@pc $ root -b -q 'makePlaotsOfAllBranches.cc("data/bmm5sample.root","Events","outputs/plots/test/") */ ...
29.861905
174
0.629884
ats2008
ba003456b04fcbabeabae4b93f913d582df43de2
10,900
cxx
C++
arrows/klv/tests/test_klv_0104.cxx
chetnieter/kwiver
cebc8156b5109d423ffac34f6e4bb442d36c24ab
[ "BSD-3-Clause" ]
null
null
null
arrows/klv/tests/test_klv_0104.cxx
chetnieter/kwiver
cebc8156b5109d423ffac34f6e4bb442d36c24ab
[ "BSD-3-Clause" ]
null
null
null
arrows/klv/tests/test_klv_0104.cxx
chetnieter/kwiver
cebc8156b5109d423ffac34f6e4bb442d36c24ab
[ "BSD-3-Clause" ]
null
null
null
// This file is part of KWIVER, and is distributed under the // OSI-approved BSD 3-Clause License. See top-level LICENSE file or // https://github.com/Kitware/kwiver/blob/master/LICENSE for details. /// \file /// \brief Test KLV 0104 read / write. #include "data_format.h" #include <arrows/klv/klv_0104_new.h> #includ...
35.048232
79
0.638991
chetnieter
ba01b4fda0f7d7daab727d72f63850318184f9cb
3,325
hh
C++
uuv_simulator/uuv_gazebo_plugins/uuv_gazebo_plugins/include/uuv_gazebo_plugins/FinPlugin.hh
dsor-isr/medusa_gazebo
7066d2e3fe77d6bc1fdb6cd36a1f8a92539a5a72
[ "MIT" ]
null
null
null
uuv_simulator/uuv_gazebo_plugins/uuv_gazebo_plugins/include/uuv_gazebo_plugins/FinPlugin.hh
dsor-isr/medusa_gazebo
7066d2e3fe77d6bc1fdb6cd36a1f8a92539a5a72
[ "MIT" ]
null
null
null
uuv_simulator/uuv_gazebo_plugins/uuv_gazebo_plugins/include/uuv_gazebo_plugins/FinPlugin.hh
dsor-isr/medusa_gazebo
7066d2e3fe77d6bc1fdb6cd36a1f8a92539a5a72
[ "MIT" ]
null
null
null
// Copyright (c) 2016 The UUV Simulator Authors. // 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 ...
29.954955
92
0.719699
dsor-isr
ba01c11aa73a164597705f35cafc1d31b3a72af1
815
cpp
C++
Strings/pairs_with_concatenation_equal_to_target.cpp
khushisinha20/Data-Structures-and-Algorithms
114d365d03f7ba7175eefeace281972820a7fc76
[ "Apache-2.0" ]
null
null
null
Strings/pairs_with_concatenation_equal_to_target.cpp
khushisinha20/Data-Structures-and-Algorithms
114d365d03f7ba7175eefeace281972820a7fc76
[ "Apache-2.0" ]
null
null
null
Strings/pairs_with_concatenation_equal_to_target.cpp
khushisinha20/Data-Structures-and-Algorithms
114d365d03f7ba7175eefeace281972820a7fc76
[ "Apache-2.0" ]
null
null
null
//leetcode.com/problems/number-of-pairs-of-strings-with-concatenation-equal-to-target #include <bits/stdc++.h> #include <unordered_map> using namespace std; class Solution { public: int numOfPairs(vector<string>& nums, string target) { int pairs = 0; unordered_map<string, int> mp; for (int...
30.185185
85
0.484663
khushisinha20
ba027caa83a6e0634cde84d640ea368b334b5172
2,896
cpp
C++
s32v234_sdk/libs/apex/llrt/src/utilities_desc.cpp
intesight/Panorama4AIWAYS
46e1988e54a5155be3b3b47c486b3f722be00b5c
[ "WTFPL" ]
null
null
null
s32v234_sdk/libs/apex/llrt/src/utilities_desc.cpp
intesight/Panorama4AIWAYS
46e1988e54a5155be3b3b47c486b3f722be00b5c
[ "WTFPL" ]
null
null
null
s32v234_sdk/libs/apex/llrt/src/utilities_desc.cpp
intesight/Panorama4AIWAYS
46e1988e54a5155be3b3b47c486b3f722be00b5c
[ "WTFPL" ]
2
2021-01-21T02:06:16.000Z
2021-01-28T10:47:37.000Z
/***************************************************************************** * * NXP Confidential Proprietary * * Copyright (c) 2018 NXP Semiconductor; * All Rights Reserved * ***************************************************************************** * * THIS SOFTWARE IS PROVIDED BY NXP "AS IS" AND ANY EXPRESSED O...
35.317073
129
0.703039
intesight
ba03ae0a18cc852aa31ca6d267c7a470232dd7ff
917
hpp
C++
experimental/Pomdog.Experimental/ImageEffects/SepiaToneEffect.hpp
bis83/pomdog
133a9262958d539ae6d93664e6cb2207b5b6c7ff
[ "MIT" ]
null
null
null
experimental/Pomdog.Experimental/ImageEffects/SepiaToneEffect.hpp
bis83/pomdog
133a9262958d539ae6d93664e6cb2207b5b6c7ff
[ "MIT" ]
null
null
null
experimental/Pomdog.Experimental/ImageEffects/SepiaToneEffect.hpp
bis83/pomdog
133a9262958d539ae6d93664e6cb2207b5b6c7ff
[ "MIT" ]
null
null
null
// Copyright (c) 2013-2015 mogemimi. // Distributed under the MIT license. See LICENSE.md file for details. #ifndef POMDOG_SEPIATONEEFFECT_BD1A4ABD_HPP #define POMDOG_SEPIATONEEFFECT_BD1A4ABD_HPP #include "ImageEffectBase.hpp" #include "Pomdog/Content/AssetManager.hpp" #include "Pomdog/Graphics/detail/ForwardDeclarat...
27.787879
72
0.764449
bis83
ba0615216a7dbc0b59e385f207aebd423a6eac24
1,098
cpp
C++
test/rpc_tests.cpp
FissionAndFusion/FnFnMvWallet-Pre
80d3d5b2c6a4c25ebb6c25dc111bb65d7105d032
[ "MIT" ]
22
2018-08-17T07:05:56.000Z
2019-09-16T09:22:32.000Z
test/rpc_tests.cpp
FissionAndFusion/FnFnMvWallet-Pre
80d3d5b2c6a4c25ebb6c25dc111bb65d7105d032
[ "MIT" ]
23
2018-08-18T11:09:42.000Z
2019-04-22T10:02:02.000Z
test/rpc_tests.cpp
FissionAndFusion/FnFnMvWallet-Pre
80d3d5b2c6a4c25ebb6c25dc111bb65d7105d032
[ "MIT" ]
13
2018-08-17T01:12:58.000Z
2019-09-16T09:05:31.000Z
// Copyright (c) 2017-2019 The Multiverse developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. //#include "rpcmod.h" #include "test_fnfn.h" #include <boost/test/unit_test.hpp> using namespace boost; struct RPCSetup {...
21.96
71
0.657559
FissionAndFusion
61311db4cd89321df15698bf359c261a681db502
22,260
cpp
C++
Source/cursor.cpp
codemaster/devilution
5772426a7cf5cf54b0b70c186ac5097a32f82e5c
[ "Unlicense" ]
1
2019-06-27T11:26:56.000Z
2019-06-27T11:26:56.000Z
Source/cursor.cpp
Sun4oyZ/devilution
fb10d2e7b28c69d50f1c0da8e551b2e1862a5c39
[ "Unlicense" ]
null
null
null
Source/cursor.cpp
Sun4oyZ/devilution
fb10d2e7b28c69d50f1c0da8e551b2e1862a5c39
[ "Unlicense" ]
1
2018-08-30T15:55:33.000Z
2018-08-30T15:55:33.000Z
//HEADER_GOES_HERE #include "../types.h" int cursH; // weak int icursH28; // idb int cursW; // idb int pcursmonst; // idb int icursW28; // idb void *pCursCels; int icursH; // weak char pcursinvitem; // weak int icursW; // weak char pcursitem; // weak char pcursobj; // weak char pcursplr; // weak int c...
17.096774
103
0.457682
codemaster
614044a6922e8af5f07399244208328f621b7fb8
22
cpp
C++
GBE/cpu/gb_cpu.cpp
OnyxFlames/GBE
6189f02b482f15ad59748f8739fc9d9c36390953
[ "MIT" ]
1
2020-08-14T13:51:11.000Z
2020-08-14T13:51:11.000Z
GBE/cpu/gb_cpu.cpp
OnyxFlames/GBE
6189f02b482f15ad59748f8739fc9d9c36390953
[ "MIT" ]
null
null
null
GBE/cpu/gb_cpu.cpp
OnyxFlames/GBE
6189f02b482f15ad59748f8739fc9d9c36390953
[ "MIT" ]
null
null
null
#include "gb_cpu.hpp"
11
21
0.727273
OnyxFlames
6140e3ccf5f7cd20118def127da6670c27741c37
1,697
cpp
C++
week_03/05_manySines/src/ofApp.cpp
bschorr/OFAnimation_Spring2015
869ededa36bf0bd432129e5a551db5d19d1f5d35
[ "MIT" ]
37
2015-01-28T13:20:19.000Z
2021-04-02T02:50:35.000Z
week_03/05_manySines/src/ofApp.cpp
bschorr/OFAnimation_Spring2015
869ededa36bf0bd432129e5a551db5d19d1f5d35
[ "MIT" ]
null
null
null
week_03/05_manySines/src/ofApp.cpp
bschorr/OFAnimation_Spring2015
869ededa36bf0bd432129e5a551db5d19d1f5d35
[ "MIT" ]
13
2015-02-06T23:16:22.000Z
2018-02-03T14:44:06.000Z
#include "ofApp.h" //-------------------------------------------------------------- void ofApp::setup(){ ofBackground(0); ofNoFill(); ofSetCircleResolution(60); for (float i = 0; i < 10; i++) { customCircle myCirc; myCirc.setup(i/5); circleList.push_back(myCirc); }...
21.2125
64
0.317619
bschorr
61410a3b5c8b68e167e87b55016d9865c2d58454
1,165
hpp
C++
include/frg/hash.hpp
czapek1337/frigg
ad1b6947047f492ed42b189fb208e600d9ec6915
[ "MIT" ]
37
2018-11-05T19:15:46.000Z
2022-03-09T10:16:28.000Z
include/frg/hash.hpp
czapek1337/frigg
ad1b6947047f492ed42b189fb208e600d9ec6915
[ "MIT" ]
13
2020-01-05T13:32:27.000Z
2022-03-09T17:21:07.000Z
include/frg/hash.hpp
czapek1337/frigg
ad1b6947047f492ed42b189fb208e600d9ec6915
[ "MIT" ]
16
2020-01-01T15:45:02.000Z
2022-03-06T22:19:58.000Z
#ifndef FRG_HASH_HPP #define FRG_HASH_HPP #include <stdint.h> #include <frg/macros.hpp> namespace frg FRG_VISIBILITY { template<typename T> class hash; template<> class hash<uint64_t> { public: unsigned int operator() (uint64_t v) const { static_assert(sizeof(unsigned int) == 4, "Expected sizeof(int) == 4"); r...
16.884058
72
0.650644
czapek1337
6141ac6be3fa1473965bfe0e106e9917a1f1fb1c
1,386
hpp
C++
include/bucket.hpp
SimonRussia/COURSEWORK
03846c649ff202dfdd7e69b0a639f69f737d1614
[ "MIT" ]
null
null
null
include/bucket.hpp
SimonRussia/COURSEWORK
03846c649ff202dfdd7e69b0a639f69f737d1614
[ "MIT" ]
1
2017-12-25T06:33:57.000Z
2018-01-31T21:50:53.000Z
include/bucket.hpp
SimonRussia/COURSEWORK
03846c649ff202dfdd7e69b0a639f69f737d1614
[ "MIT" ]
null
null
null
// "Copyright [2017] <MGTU IU8-33>" // BUCKET.HPP /*! \file \brief bucket_sort \details В данном файле реализован шаблонный алгоритм устойчивой сортировки BUCKET. \author Овчаров Анисим \date 20/12/2017 */ #ifndef _BUCKET_HPP_ #define _BUCKET_HPP_ #include <iostream> #include <algorithm> #inclu...
24.315789
87
0.642857
SimonRussia
614337c61bcb0c280d1a7ec3e9e6b0e3c8760b68
13,610
cpp
C++
WebKit2-7604.1.38.0.7/WebKit2-7604.1.38.0.7/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableColElement.cpp
mlcldh/appleWebKit2
39cc42a4710c9319c8da269621844493ab2ccdd6
[ "MIT" ]
1
2021-05-27T07:29:31.000Z
2021-05-27T07:29:31.000Z
WebKit2-7604.1.38.0.7/WebKit2-7604.1.38.0.7/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableColElement.cpp
mlcldh/appleWebKit2
39cc42a4710c9319c8da269621844493ab2ccdd6
[ "MIT" ]
null
null
null
WebKit2-7604.1.38.0.7/WebKit2-7604.1.38.0.7/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableColElement.cpp
mlcldh/appleWebKit2
39cc42a4710c9319c8da269621844493ab2ccdd6
[ "MIT" ]
null
null
null
/* * This file is part of the WebKit open source project. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later ve...
38.885714
201
0.759589
mlcldh
61450b6c9744cc3bcafe9ee8a3851080d876d641
2,164
hh
C++
arm-linux-ulibc-4.8.5/usr/arm-nuvoton-linux-uclibcgnueabi/sysroot/usr/include/log4cpp/SyslogAppender.hh
next-generate/armv5TE-toolchain
8f107ce06fdc6d7f6e56f3b1b1c9f0f13cfa6727
[ "Apache-2.0" ]
26
2019-06-02T15:22:01.000Z
2022-03-11T06:54:23.000Z
arm-linux-ulibc-4.8.5/usr/arm-nuvoton-linux-uclibcgnueabi/sysroot/usr/include/log4cpp/SyslogAppender.hh
next-generate/armv5TE-toolchain
8f107ce06fdc6d7f6e56f3b1b1c9f0f13cfa6727
[ "Apache-2.0" ]
26
2019-09-20T06:46:05.000Z
2022-03-11T08:07:14.000Z
arm-linux-ulibc-4.8.5/usr/arm-nuvoton-linux-uclibcgnueabi/sysroot/usr/include/log4cpp/SyslogAppender.hh
next-generate/armv5TE-toolchain
8f107ce06fdc6d7f6e56f3b1b1c9f0f13cfa6727
[ "Apache-2.0" ]
18
2019-06-02T13:00:17.000Z
2022-01-21T13:12:29.000Z
/* * SyslogAppender.hh * * Copyright 2000, LifeLine Networks BV (www.lifeline.nl). All rights reserved. * Copyright 2000, Bastiaan Bakker. All rights reserved. * * See the COPYING file for the terms of usage and distribution. */ #ifndef _LOG4CPP_SYSLOGAPPENDER_HH #define _LOG4CPP_SYSLOGAPPENDER_HH #include <lo...
28.103896
79
0.610444
next-generate
61489422b315a12fd5b36740808512f936cb5291
9,568
cpp
C++
orion_protocol/test/test_orion_major.cpp
ros-ukraine/orion
050d9df15c2b8e58d42a2b1aa467f08a14da099f
[ "MIT" ]
null
null
null
orion_protocol/test/test_orion_major.cpp
ros-ukraine/orion
050d9df15c2b8e58d42a2b1aa467f08a14da099f
[ "MIT" ]
null
null
null
orion_protocol/test/test_orion_major.cpp
ros-ukraine/orion
050d9df15c2b8e58d42a2b1aa467f08a14da099f
[ "MIT" ]
null
null
null
/** * Copyright 2021 ROS Ukraine * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distrib...
41.781659
120
0.78449
ros-ukraine
614c4bb25c8a30d9512643ee5fbfa7a1c4072002
586
cpp
C++
03-Making Decisions/Program_4-30.cpp
ringosimonchen0820/How-to-C--
69b0310e6aeab25a7e2eed41e4d6cff85a034e00
[ "MIT" ]
null
null
null
03-Making Decisions/Program_4-30.cpp
ringosimonchen0820/How-to-C--
69b0310e6aeab25a7e2eed41e4d6cff85a034e00
[ "MIT" ]
1
2020-10-11T18:39:08.000Z
2020-10-11T18:39:17.000Z
03-Making Decisions/Program_4-30.cpp
ringosimonchen0820/How-to-C--
69b0310e6aeab25a7e2eed41e4d6cff85a034e00
[ "MIT" ]
2
2020-10-12T20:33:32.000Z
2020-10-12T20:34:00.000Z
// This program uses two variables with the name number. #include <iostream> using namespace std; int main() { // Define a variable named number. int number; cout << "Enter a number greater than 0: "; cin >> number; if (number > 0) { int number; // Another variable named number. ...
20.206897
56
0.535836
ringosimonchen0820
614cd7748f25e025682cad3a3ee08a10af5249cf
1,225
cpp
C++
test/environment_self.cpp
correaa/b-mpi3
161e52a28ab9043be9ef33acd8f31dbeae483b61
[ "BSL-1.0" ]
14
2020-12-22T21:20:10.000Z
2022-03-15T21:27:51.000Z
test/environment_self.cpp
correaa/b-mpi3
161e52a28ab9043be9ef33acd8f31dbeae483b61
[ "BSL-1.0" ]
11
2020-05-09T20:57:21.000Z
2020-06-10T00:00:17.000Z
test/environment_self.cpp
correaa/b-mpi3
161e52a28ab9043be9ef33acd8f31dbeae483b61
[ "BSL-1.0" ]
null
null
null
#if COMPILATION_INSTRUCTIONS mpicxx -O3 -std=c++14 `#-Wfatal-errors` $0 -o $0x.x && time mpirun -np 4 -H localhost,localhost,localhost,localhost,localhost $0x.x $@ && rm -f $0x.x; exit #endif // (C) Copyright Alfredo A. Correa 2018. #include "../../mpi3/environment.hpp" using std::cout; namespace mpi3 = boost::mpi3; ...
32.236842
155
0.691429
correaa
61546a609099e35573897c7d5f9e9196aefa32f0
21,190
cpp
C++
src/Leddar/LdLjrRecorder.cpp
deucedrone/LeddarSDK
c1deb6621e8ad845341e0185763c4a7706ecb788
[ "BSD-3-Clause" ]
null
null
null
src/Leddar/LdLjrRecorder.cpp
deucedrone/LeddarSDK
c1deb6621e8ad845341e0185763c4a7706ecb788
[ "BSD-3-Clause" ]
null
null
null
src/Leddar/LdLjrRecorder.cpp
deucedrone/LeddarSDK
c1deb6621e8ad845341e0185763c4a7706ecb788
[ "BSD-3-Clause" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////////////////////////// /// \file Leddar/LdLjrRecorder.cpp /// /// \brief Implements the LdLjrRecorder class /// A recorder using json lines format ////////////////////////////////////////////////////////////////////////////////////...
34.5677
161
0.512978
deucedrone
6157ba65a6fa0532e52c9f91104c726ab2c6430c
4,765
cpp
C++
src/Plugins/TTFPlugin/TTFDataflow.cpp
Terryhata6/Mengine
dfe36fdc84d7398fbbbd199feffc46c6f157f1d4
[ "MIT" ]
null
null
null
src/Plugins/TTFPlugin/TTFDataflow.cpp
Terryhata6/Mengine
dfe36fdc84d7398fbbbd199feffc46c6f157f1d4
[ "MIT" ]
null
null
null
src/Plugins/TTFPlugin/TTFDataflow.cpp
Terryhata6/Mengine
dfe36fdc84d7398fbbbd199feffc46c6f157f1d4
[ "MIT" ]
null
null
null
#include "TTFDataflow.h" #include "TTFData.h" #include "Kernel/ThreadMutexScope.h" #include "Kernel/ResourceImage.h" #include "Kernel/FactoryPool.h" #include "Kernel/AssertionFactory.h" #include "Kernel/AssertionMemoryPanic.h" #include "Kernel/Stream.h" #include "Kernel/MemoryStreamHelper.h" #include "Kernel/Logger.h...
32.862069
156
0.480797
Terryhata6
61586465d501b30319347f775a0bab512ac85261
892
hh
C++
pelitehdas.hh
WhiteDeathFIN/Labyrinttipeli
f89b62d17f6b4bddd5a5df4729c157649b8f64b4
[ "Apache-2.0" ]
null
null
null
pelitehdas.hh
WhiteDeathFIN/Labyrinttipeli
f89b62d17f6b4bddd5a5df4729c157649b8f64b4
[ "Apache-2.0" ]
null
null
null
pelitehdas.hh
WhiteDeathFIN/Labyrinttipeli
f89b62d17f6b4bddd5a5df4729c157649b8f64b4
[ "Apache-2.0" ]
null
null
null
#ifndef JULKINEN_PELITEHDAS_HH #define JULKINEN_PELITEHDAS_HH /** * \version $Id: pelitehdas.hh 2660 2013-02-15 10:27:37Z bitti $ * \file pelitehdas.hh * \brief Rajapinta pelin luomiseksi * \author ©2010 Eero Salonen <eero.j.salonen@tut.fi> * **/ #include "pelirajapinta.hh" #include <memory> /// \namespace Julkinen ...
25.485714
74
0.701794
WhiteDeathFIN
61593bd24d093cacf2099e408e72ed9e7c4e43d1
27,628
cpp
C++
Libraries/Geometry/Mesh/Delaunay.cpp
pat-sweeney/Caustic
0bef667dd3fb77de4b8e8b02a341760ab869d1fe
[ "MIT" ]
1
2021-05-19T14:58:46.000Z
2021-05-19T14:58:46.000Z
Libraries/Geometry/Mesh/Delaunay.cpp
pat-sweeney/Caustic
0bef667dd3fb77de4b8e8b02a341760ab869d1fe
[ "MIT" ]
2
2019-09-28T17:29:47.000Z
2019-09-28T17:46:37.000Z
Libraries/Geometry/Mesh/Delaunay.cpp
pat-sweeney/Caustic
0bef667dd3fb77de4b8e8b02a341760ab869d1fe
[ "MIT" ]
null
null
null
//********************************************************************** // Copyright Patrick Sweeney 2015-2021 // Licensed under the MIT license. // See file LICENSE for details. //********************************************************************** import Base.Core.Core; import Base.Core.Error; import Base.Math.BBo...
44.56129
170
0.46319
pat-sweeney
6160bc578ead9cf7a0ac959326382c797adf40ae
1,773
hpp
C++
esl/economics/markets/indication.hpp
rht/ESL
f883155a167d3c48e5ecdca91c8302fefc901c22
[ "Apache-2.0" ]
37
2019-10-13T12:23:32.000Z
2022-03-19T10:40:29.000Z
esl/economics/markets/indication.hpp
rht/ESL
f883155a167d3c48e5ecdca91c8302fefc901c22
[ "Apache-2.0" ]
3
2020-03-20T04:44:06.000Z
2021-01-12T06:18:33.000Z
esl/economics/markets/indication.hpp
vishalbelsare/ESL
cea6feda1e588d5f441742dbb1e4c5479b47d357
[ "Apache-2.0" ]
10
2019-11-06T15:59:06.000Z
2021-08-09T17:28:24.000Z
/// \file indication.hpp /// /// \brief /// /// \authors Maarten P. Scholl /// \date 2019-10-08 /// \copyright Copyright 2017-2019 The Institute for New Economic Thinking, /// Oxford Martin School, University of Oxford /// /// Licensed under the Apache License, Version 2.0 (the "Lice...
30.050847
80
0.624365
rht
61632c447a9b8aad61cf7be3847351b0be3619de
1,241
cc
C++
lib/trie-factory.cc
rockeet/taiju
90f152d5e66b1741d35b9d871f7a5db68699d48d
[ "BSD-3-Clause" ]
null
null
null
lib/trie-factory.cc
rockeet/taiju
90f152d5e66b1741d35b9d871f7a5db68699d48d
[ "BSD-3-Clause" ]
null
null
null
lib/trie-factory.cc
rockeet/taiju
90f152d5e66b1741d35b9d871f7a5db68699d48d
[ "BSD-3-Clause" ]
null
null
null
#include <taiju/trie-factory.h> #include <taiju/pods-trie.h> #include <taiju/lob-trie.h> #include <taiju/louds-trie.h> #include <taiju/plouds-trie.h> #include <taiju/bp-trie.h> #include <taiju/dfuds-trie.h> #include <memory> namespace taiju { TrieBase *TrieFactory::Create(TrieType type) { try { switch (type) ...
19.390625
67
0.701048
rockeet
6163497f16940e99d513e99f10ac07289f18675a
1,583
hpp
C++
include/System/Threading/PlatformHelper.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/System/Threading/PlatformHelper.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/System/Threading/PlatformHelper.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Completed includes // Type namespace: System.Threading namespace System::Threading { ...
43.972222
98
0.711308
darknight1050
61641d490d72922c8bd819b02160b7e6a5584d35
63,624
cxx
C++
Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx
bartholmberg/VTK
e047cec7cffdcd8b134809c6fe97f7c7f7360603
[ "BSD-3-Clause" ]
null
null
null
Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx
bartholmberg/VTK
e047cec7cffdcd8b134809c6fe97f7c7f7360603
[ "BSD-3-Clause" ]
null
null
null
Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx
bartholmberg/VTK
e047cec7cffdcd8b134809c6fe97f7c7f7360603
[ "BSD-3-Clause" ]
null
null
null
/*========================================================================= Program: Visualization Toolkit Module: vtkOpenGLRenderWindow.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This sof...
28.479857
100
0.620772
bartholmberg
6165d4667166d5a46c09cf173c3143d76254af5a
8,435
hpp
C++
src/RNG/Random123.hpp
franjgonzalez/Quinoa
411eb8815e92618c563881b784e287e2dd916f89
[ "RSA-MD" ]
null
null
null
src/RNG/Random123.hpp
franjgonzalez/Quinoa
411eb8815e92618c563881b784e287e2dd916f89
[ "RSA-MD" ]
null
null
null
src/RNG/Random123.hpp
franjgonzalez/Quinoa
411eb8815e92618c563881b784e287e2dd916f89
[ "RSA-MD" ]
null
null
null
// ***************************************************************************** /*! \file src/RNG/Random123.hpp \copyright 2012-2015 J. Bakosi, 2016-2018 Los Alamos National Security, LLC., 2019 Triad National Security, LLC. All rights reserved. See the LICENSE file for ...
43.479381
80
0.628216
franjgonzalez
616b3243e42e5c6eb1d4f963d24bf8ff1c36782c
1,261
hpp
C++
core/core_util.hpp
tamasgoga/SnakeRipoff
a9ca7fbaf7803173e803929f3dbd5dbd43fe223e
[ "MIT" ]
null
null
null
core/core_util.hpp
tamasgoga/SnakeRipoff
a9ca7fbaf7803173e803929f3dbd5dbd43fe223e
[ "MIT" ]
null
null
null
core/core_util.hpp
tamasgoga/SnakeRipoff
a9ca7fbaf7803173e803929f3dbd5dbd43fe223e
[ "MIT" ]
null
null
null
#ifndef FLAG_CORE_CORE_UTIL_HPP #define FLAG_CORE_CORE_UTIL_HPP //------------------------------------------------------------ // Utility functions and variables //------------------------------------------------------------ #include "core_def.hpp" #include <SDL2/SDL_rect.h> namespace core { /** Find the center ...
33.184211
100
0.63521
tamasgoga
616df23411178cebad8598f46886421ce209f3b3
2,280
hpp
C++
include/bhtree.hpp
shohirose/sphcode
67efb8882520cd8d53ca12ec07439dfa515fd862
[ "MIT" ]
14
2019-06-23T12:39:44.000Z
2022-03-01T06:29:30.000Z
include/bhtree.hpp
shohirose/sphcode
67efb8882520cd8d53ca12ec07439dfa515fd862
[ "MIT" ]
7
2019-10-20T14:07:19.000Z
2019-11-12T13:51:22.000Z
include/bhtree.hpp
shohirose/sphcode
67efb8882520cd8d53ca12ec07439dfa515fd862
[ "MIT" ]
3
2019-09-13T11:21:28.000Z
2021-05-28T05:56:07.000Z
#pragma once #include <memory> #include <vector> #include <algorithm> #include "vector_type.hpp" #include "particle.hpp" namespace sph { struct SPHParameters; class Periodic; constexpr int NCHILD = DIM == 1 ? 2 : DIM == 2 ? 4 : 8; class BHTree { class BHNode { public: SPHParticle * first; ...
27.142857
153
0.59693
shohirose
61734910f7cbb370b5d2801a3f353ad84ef626d6
25,571
cpp
C++
toonz/sources/toonz/trackerpopup.cpp
Savraska2/opentoonz
47ab3039c899ae1a50d612d097415ab09f10f35e
[ "BSD-3-Clause" ]
36
2020-05-18T22:26:35.000Z
2022-02-19T00:09:25.000Z
toonz/sources/toonz/trackerpopup.cpp
LibrePhone/opentoonz
cb95a29db4c47ab1f36a6e85a039c4c9c901f88a
[ "BSD-3-Clause" ]
22
2017-03-16T18:52:36.000Z
2019-09-09T06:02:53.000Z
toonz/sources/toonz/trackerpopup.cpp
LibrePhone/opentoonz
cb95a29db4c47ab1f36a6e85a039c4c9c901f88a
[ "BSD-3-Clause" ]
9
2019-05-27T02:48:16.000Z
2022-03-29T12:32:04.000Z
#include "trackerpopup.h" // Tnz6 includes #include "tapp.h" #include "filmstripselection.h" #include "cellselection.h" #include "menubarcommandids.h" // TnzTools includes #include "tools/toolhandle.h" #include "tools/tool.h" // TnzQt includes #include "toonzqt/doublefield.h" #include "toonzqt/checkbox.h" #include...
30.808434
80
0.608072
Savraska2
61752df3d9deaaa07372810e34fa14d8ed36ab7f
1,270
hpp
C++
libvast/include/vast/concept/printable/vast/port.hpp
rdettai/vast
0b3cf41011df5fe8a4e8430fa6a1d6f1c50a18fa
[ "BSD-3-Clause" ]
249
2019-08-26T01:44:45.000Z
2022-03-26T14:12:32.000Z
libvast/include/vast/concept/printable/vast/port.hpp
rdettai/vast
0b3cf41011df5fe8a4e8430fa6a1d6f1c50a18fa
[ "BSD-3-Clause" ]
586
2019-08-06T13:10:36.000Z
2022-03-31T08:31:00.000Z
libvast/vast/concept/printable/vast/port.hpp
satta/vast
6c7587effd4265c4a5de23252bc7c7af3ef78bee
[ "BSD-3-Clause" ]
37
2019-08-16T02:01:14.000Z
2022-02-21T16:13:59.000Z
// _ _____ __________ // | | / / _ | / __/_ __/ Visibility // | |/ / __ |_\ \ / / Across // |___/_/ |_/___/ /_/ Space and Time // // SPDX-FileCopyrightText: (c) 2016 The VAST Contributors // SPDX-License-Identifier: BSD-3-Clause #pragma once #include "vast/concept/printable/core/prin...
25.4
57
0.612598
rdettai
6175c22c79a2e29bdb4906aa175995792620795a
5,374
hh
C++
dune/gdt/test/operators/darcy.hh
TiKeil/dune-gdt
25c8b987cc07a4b8b966c1a07ea21b78dba7852f
[ "BSD-2-Clause" ]
null
null
null
dune/gdt/test/operators/darcy.hh
TiKeil/dune-gdt
25c8b987cc07a4b8b966c1a07ea21b78dba7852f
[ "BSD-2-Clause" ]
null
null
null
dune/gdt/test/operators/darcy.hh
TiKeil/dune-gdt
25c8b987cc07a4b8b966c1a07ea21b78dba7852f
[ "BSD-2-Clause" ]
null
null
null
// This file is part of the dune-gdt project: // https://github.com/dune-community/dune-gdt // Copyright 2010-2018 dune-gdt developers and contributors. All rights reserved. // License: Dual licensed as BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) // or GPL-2.0+ (http://opensource.org/lice...
44.04918
120
0.731857
TiKeil
61764e62bfbe03e1f5a1c5a50c70228764fd1e73
1,617
cpp
C++
PlatformLib/common/cpp/revTexture.cpp
YIMonge/Rev
db3b71a27659a2652bdd50069a881702b3ae059e
[ "MIT" ]
null
null
null
PlatformLib/common/cpp/revTexture.cpp
YIMonge/Rev
db3b71a27659a2652bdd50069a881702b3ae059e
[ "MIT" ]
null
null
null
PlatformLib/common/cpp/revTexture.cpp
YIMonge/Rev
db3b71a27659a2652bdd50069a881702b3ae059e
[ "MIT" ]
null
null
null
#include "revTexture.h" #define STB_IMAGE_IMPLEMENTATION // TODO: set memory allocation way //#define STBI_MALLOC(sz) malloc(sz) //#define STBI_REALLOC(p,newsz) realloc(p,newsz) //#define STBI_FREE(p) free(p) #include "stb_image.h" bool revTexture::LoadFromFile(revDevice* device, const char...
30.509434
165
0.66543
YIMonge
617663da4370a123479d40aa1c8dc29a556a7a2c
24,594
cpp
C++
Gems/Atom/RPI/Code/Source/RPI.Public/Shader/ShaderResourceGroup.cpp
ninpo3d/o3de
69bd0e85199829643a25f8829a1ae283b1016260
[ "Apache-2.0", "MIT" ]
null
null
null
Gems/Atom/RPI/Code/Source/RPI.Public/Shader/ShaderResourceGroup.cpp
ninpo3d/o3de
69bd0e85199829643a25f8829a1ae283b1016260
[ "Apache-2.0", "MIT" ]
null
null
null
Gems/Atom/RPI/Code/Source/RPI.Public/Shader/ShaderResourceGroup.cpp
ninpo3d/o3de
69bd0e85199829643a25f8829a1ae283b1016260
[ "Apache-2.0", "MIT" ]
null
null
null
/* * Copyright (c) Contributors to the Open 3D Engine Project. For complete copyright and license terms please see the LICENSE at the root of this distribution. * * SPDX-License-Identifier: Apache-2.0 OR MIT * */ #include <Atom/RHI.Reflect/ShaderDataMappings.h> #include <Atom/RPI.Public/Shader/ShaderResourceGro...
41.684746
170
0.634342
ninpo3d
6177da275c2e79b272694b9899c5903627444f73
5,002
cc
C++
1Layer/Systolic_sim/src/graphdata.cc
guohaoqiang/wegnn
9452f1b051a057a054d436e99610d766e6ed63fb
[ "MIT" ]
null
null
null
1Layer/Systolic_sim/src/graphdata.cc
guohaoqiang/wegnn
9452f1b051a057a054d436e99610d766e6ed63fb
[ "MIT" ]
null
null
null
1Layer/Systolic_sim/src/graphdata.cc
guohaoqiang/wegnn
9452f1b051a057a054d436e99610d766e6ed63fb
[ "MIT" ]
null
null
null
#include "../include/graphdata.h" void Graph::node_sort(const std::vector<std::vector<int>>& in){ int in_counts = 0; for(size_t it=1;it<in.at(0).size();++it){ //LOG(INFO) << "it = "<<it<<std::endl; int key = in.at(0).at(it) - in.at(0).at(it-1); //push back rowID auto pt = pre_so...
33.57047
133
0.513395
guohaoqiang
6179f1b525ebc4542bcd7804ab61304bca156689
1,034
cpp
C++
philibs/scene/sceneframebuffer.cpp
prwhite/philibs
3cb65bd0dae105026839a3e88d9cebafb72c2616
[ "Zlib" ]
5
2015-05-12T14:48:03.000Z
2021-07-14T13:18:16.000Z
philibs/scene/sceneframebuffer.cpp
prwhite/philibs
3cb65bd0dae105026839a3e88d9cebafb72c2616
[ "Zlib" ]
null
null
null
philibs/scene/sceneframebuffer.cpp
prwhite/philibs
3cb65bd0dae105026839a3e88d9cebafb72c2616
[ "Zlib" ]
1
2021-04-18T07:32:43.000Z
2021-04-18T07:32:43.000Z
///////////////////////////////////////////////////////////////////// // // file: sceneframebuffer.cpp // ///////////////////////////////////////////////////////////////////// #include "sceneframebuffer.h" ///////////////////////////////////////////////////////////////////// namespace scene { ///////////////////...
18.464286
71
0.381044
prwhite
617ae705cd5bc12a419697d99c4850debe156926
31,969
cpp
C++
language-extensions/python/test/src/PythonGetResultColumnTests.cpp
rabryst/sql-server-language-extensions
a6a25890d1c3e449537eaaafab706c6c1e8b51cb
[ "MIT" ]
82
2019-05-24T00:36:57.000Z
2022-02-21T23:51:46.000Z
language-extensions/python/test/src/PythonGetResultColumnTests.cpp
rabryst/sql-server-language-extensions
a6a25890d1c3e449537eaaafab706c6c1e8b51cb
[ "MIT" ]
20
2019-07-05T06:12:28.000Z
2022-03-31T20:48:30.000Z
language-extensions/python/test/src/PythonGetResultColumnTests.cpp
rabryst/sql-server-language-extensions
a6a25890d1c3e449537eaaafab706c6c1e8b51cb
[ "MIT" ]
35
2019-05-24T01:44:07.000Z
2022-02-28T13:29:44.000Z
//************************************************************************************************* // Copyright (C) Microsoft Corporation. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // // @File: Pyt...
33.82963
109
0.675279
rabryst
617e86f51a938281f60ef3138da3a4fdba0e4c5f
6,704
cpp
C++
src/sli_gpg/finger_hand.cpp
Smilels/sli_gpg
bf00c773b187ca13da0a2c949f9cfbee2c038172
[ "BSD-2-Clause" ]
null
null
null
src/sli_gpg/finger_hand.cpp
Smilels/sli_gpg
bf00c773b187ca13da0a2c949f9cfbee2c038172
[ "BSD-2-Clause" ]
null
null
null
src/sli_gpg/finger_hand.cpp
Smilels/sli_gpg
bf00c773b187ca13da0a2c949f9cfbee2c038172
[ "BSD-2-Clause" ]
null
null
null
#include <gpg/finger_hand.h> FingerHand::FingerHand(double finger_width, double hand_outer_diameter, double hand_depth) : finger_width_(finger_width), hand_depth_(hand_depth), lateral_axis_(-1), forward_axis_(-1) { int n = 10; // number of finger placements to consider over a single hand diameter // Calculat...
25.587786
118
0.62858
Smilels
61824c95ab95da4e692969a805325bdb363629be
11,915
cpp
C++
test/reserve_test.cpp
mattwatts/marzone
85082e3346937010703ecad829f0eb2fd132d82f
[ "MIT" ]
3
2021-03-17T14:36:54.000Z
2021-03-17T20:25:21.000Z
test/reserve_test.cpp
mattwatts/marzone
85082e3346937010703ecad829f0eb2fd132d82f
[ "MIT" ]
null
null
null
test/reserve_test.cpp
mattwatts/marzone
85082e3346937010703ecad829f0eb2fd132d82f
[ "MIT" ]
1
2020-10-02T20:06:07.000Z
2020-10-02T20:06:07.000Z
#include "../reserve.hpp" #include "CppUTest/TestHarness.h" using namespace marzone; TEST_GROUP(ReserveTestsGroup) { }; // ensure loadZones correctly parses. TEST(ReserveTestsGroup, Reserve_InitializeSolution_test) { sfname fnames = {}; fnames.costsname = "data/costs_test1.dat"; fnames.spec...
39.849498
129
0.67243
mattwatts
61831df5548e171a05be307e7e92e854edbcef7f
50,372
cpp
C++
TongueQT/TongueQT/src/Vega/libraries/objMesh/objMeshOffsetVoxels.cpp
lrkk1234/TongueSimulation
347cf38452aa62d1173da1c4935f691456255e46
[ "MIT" ]
2
2020-03-28T03:15:49.000Z
2020-09-09T02:54:33.000Z
TongueQT/TongueQT/src/Vega/libraries/objMesh/objMeshOffsetVoxels.cpp
lrkk1234/TongueSimulation
347cf38452aa62d1173da1c4935f691456255e46
[ "MIT" ]
null
null
null
TongueQT/TongueQT/src/Vega/libraries/objMesh/objMeshOffsetVoxels.cpp
lrkk1234/TongueSimulation
347cf38452aa62d1173da1c4935f691456255e46
[ "MIT" ]
2
2020-09-08T19:28:19.000Z
2021-07-25T00:35:26.000Z
/************************************************************************* * * * Vega FEM Simulation Library Version 2.2 * * * * "objMesh" library...
34.95628
206
0.608552
lrkk1234
618364aa14f73c4b730d07cf527bff4fa1021624
1,893
cpp
C++
client/src/win/win_registry.cpp
realrasengan/desktop
41213ed9efd70955bdd5872c68425868040afae2
[ "Apache-2.0" ]
1
2020-09-08T00:41:27.000Z
2020-09-08T00:41:27.000Z
client/src/win/win_registry.cpp
realrasengan/desktop
41213ed9efd70955bdd5872c68425868040afae2
[ "Apache-2.0" ]
null
null
null
client/src/win/win_registry.cpp
realrasengan/desktop
41213ed9efd70955bdd5872c68425868040afae2
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2019 London Trust Media Incorporated // // This file is part of the Private Internet Access Desktop Client. // // The Private Internet Access Desktop Client 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 Softwa...
36.403846
125
0.742736
realrasengan
61837db47ebde841d5c69877c510263991fb4c80
5,021
cc
C++
xls/tools/delay_info_main.cc
RobSpringer/xls
a5521c7ecbd1a071828760cf429d74810f248681
[ "Apache-2.0" ]
null
null
null
xls/tools/delay_info_main.cc
RobSpringer/xls
a5521c7ecbd1a071828760cf429d74810f248681
[ "Apache-2.0" ]
null
null
null
xls/tools/delay_info_main.cc
RobSpringer/xls
a5521c7ecbd1a071828760cf429d74810f248681
[ "Apache-2.0" ]
null
null
null
// Copyright 2021 The XLS Authors // // 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...
36.649635
80
0.673372
RobSpringer
618394454f4b8e20ac9b1032fcec69f9a2ba5913
1,107
hpp
C++
core/include/game/objects/gameobj.hpp
Darckore/SpaceAssault
287db7eff40e83fe08a34d50f617eedfaccb3a55
[ "MIT" ]
null
null
null
core/include/game/objects/gameobj.hpp
Darckore/SpaceAssault
287db7eff40e83fe08a34d50f617eedfaccb3a55
[ "MIT" ]
null
null
null
core/include/game/objects/gameobj.hpp
Darckore/SpaceAssault
287db7eff40e83fe08a34d50f617eedfaccb3a55
[ "MIT" ]
null
null
null
#pragma once #include "game/components/component.hpp" namespace engine::world { class game_object { public: using component_type = component; using id_type = component_type::id_type; using data_type = std::unordered_map<id_type, component_type*>; public: CLASS_SPECIALS_NOCOPY_CUSTOM(game_objec...
23.0625
85
0.684734
Darckore
61866e95ca20f494bed8f1ce6cc7804a37cb395d
3,764
cpp
C++
src/common/NameSpaceUtil.cpp
tclfs/rocketmq-client-cpp
ecfd7d3a598a54288817c038cb13f25c26bd370f
[ "Apache-2.0" ]
314
2018-10-11T06:58:56.000Z
2022-03-22T14:03:54.000Z
src/common/NameSpaceUtil.cpp
tclfs/rocketmq-client-cpp
ecfd7d3a598a54288817c038cb13f25c26bd370f
[ "Apache-2.0" ]
275
2018-11-12T03:55:44.000Z
2022-03-28T10:13:15.000Z
src/common/NameSpaceUtil.cpp
tclfs/rocketmq-client-cpp
ecfd7d3a598a54288817c038cb13f25c26bd370f
[ "Apache-2.0" ]
165
2018-10-17T11:47:16.000Z
2022-01-31T12:10:19.000Z
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
35.509434
119
0.717322
tclfs
6188a7485f0c2870f925ec4c69b40c9ae44b23fa
1,729
hpp
C++
src/slave/qos_controller.hpp
ankurcha/mesos
46dc9979e9cc38d36dc7300db13af39bdfbfd52e
[ "Apache-2.0" ]
null
null
null
src/slave/qos_controller.hpp
ankurcha/mesos
46dc9979e9cc38d36dc7300db13af39bdfbfd52e
[ "Apache-2.0" ]
2
2015-09-29T12:09:44.000Z
2016-01-06T05:12:29.000Z
src/slave/qos_controller.hpp
ankurcha/mesos
46dc9979e9cc38d36dc7300db13af39bdfbfd52e
[ "Apache-2.0" ]
4
2015-08-05T21:47:37.000Z
2018-08-31T23:40:03.000Z
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
29.305085
80
0.757085
ankurcha
618e5ce63b7bcefddd54a2322eeadae477f2c2bd
1,103
cpp
C++
src/engine/src/dt_recv_decoder.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
6
2022-01-23T09:40:33.000Z
2022-03-20T20:53:25.000Z
src/engine/src/dt_recv_decoder.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
null
null
null
src/engine/src/dt_recv_decoder.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
1
2022-02-06T21:05:23.000Z
2022-02-06T21:05:23.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // //=============================================================================// #include "dt_recv_decoder.h" // memdbgon must be the last include file in a .cpp file!!! #include "tier0/memdbgon.h" // ------------------...
20.425926
90
0.534905
cstom4994
618e98efb125ea7259cf06097503c3f62ece2cc0
2,044
cpp
C++
src/vsg/vk/BufferView.cpp
jinpengxuan/VulkanSceneGraph
cf6c6815f1a35e1a4ec53f345ba367a3f72e30f2
[ "MIT" ]
null
null
null
src/vsg/vk/BufferView.cpp
jinpengxuan/VulkanSceneGraph
cf6c6815f1a35e1a4ec53f345ba367a3f72e30f2
[ "MIT" ]
null
null
null
src/vsg/vk/BufferView.cpp
jinpengxuan/VulkanSceneGraph
cf6c6815f1a35e1a4ec53f345ba367a3f72e30f2
[ "MIT" ]
null
null
null
/* <editor-fold desc="MIT License"> Copyright(c) 2018 Robert Osfield Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, mod...
46.454545
460
0.75636
jinpengxuan
618ebc733c97763f4d6ba283a096c0e8a2c63f45
16,301
cpp
C++
src/core/NEON/kernels/arm_gemm/kernels/a64_sgemm_12x8/a53.cpp
LeeHayun/ArmCL
e2542c9f35ca427286822cd0c9296f49914f78b0
[ "MIT" ]
1
2018-08-02T06:49:04.000Z
2018-08-02T06:49:04.000Z
src/core/NEON/kernels/arm_gemm/kernels/a64_sgemm_12x8/a53.cpp
clydeliuyan/ComputeLibrary
e2542c9f35ca427286822cd0c9296f49914f78b0
[ "MIT" ]
null
null
null
src/core/NEON/kernels/arm_gemm/kernels/a64_sgemm_12x8/a53.cpp
clydeliuyan/ComputeLibrary
e2542c9f35ca427286822cd0c9296f49914f78b0
[ "MIT" ]
null
null
null
/* * Copyright (c) 2017-2018 ARM Limited. * * SPDX-License-Identifier: MIT * * 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 * ri...
44.782967
212
0.363843
LeeHayun
618fb4c9310059308c70d02e0f1564c2986ced21
1,153
cpp
C++
gym/102784/C.cpp
albexl/codeforces-gym-submissions
2a51905c50fcf5d7f417af81c4c49ca5217d0753
[ "MIT" ]
1
2021-07-16T19:59:39.000Z
2021-07-16T19:59:39.000Z
gym/102784/C.cpp
albexl/codeforces-gym-submissions
2a51905c50fcf5d7f417af81c4c49ca5217d0753
[ "MIT" ]
null
null
null
gym/102784/C.cpp
albexl/codeforces-gym-submissions
2a51905c50fcf5d7f417af81c4c49ca5217d0753
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/tree_policy.hpp> #include <random> #include <chrono> using namespace std; using namespace __gnu_pbds; #define endl '\n' typedef long long ll; typedef pair<int, int> pii; // typedef tree<int, null_type,less<int>, rb_tree_tag, tre...
17.208955
102
0.588899
albexl
619086d3839bae0098a9d31e45062209a4d095e8
1,056
cpp
C++
src/main.cpp
raichea/SJR-PixelStick
462e7b29b54a68d7a4b4727fd5bcd0b85656ea25
[ "MIT" ]
1
2022-01-20T16:26:02.000Z
2022-01-20T16:26:02.000Z
src/main.cpp
raichea/SJR-PixelStick
462e7b29b54a68d7a4b4727fd5bcd0b85656ea25
[ "MIT" ]
null
null
null
src/main.cpp
raichea/SJR-PixelStick
462e7b29b54a68d7a4b4727fd5bcd0b85656ea25
[ "MIT" ]
1
2022-01-20T16:26:04.000Z
2022-01-20T16:26:04.000Z
#include "pixelstick.h" void initConfig(); void initLeds(); void initWifi(); // void checkWifi(); void initWebserver(); void serviceClient(); void initWebSocket(); void serviceSocket(); void initOTA(); void serviceOTA(); void serviceLeds(); void checkBattery(); void checkSwitch(); void setup() { Serial.begin(115200...
24.55814
104
0.680871
raichea
6191601f1f0d7e9cd410816b064fd4ceceddeb1a
6,270
cpp
C++
test/hxArrayTest.cpp
adrianjohnston345/hatchlingplatform
6113b84a0dcb944c94f6e95aa3f1b92fab1f9276
[ "Apache-2.0" ]
4
2019-11-27T00:38:56.000Z
2020-04-19T05:32:01.000Z
test/hxArrayTest.cpp
adrianjohnston345/hatchlingplatform
6113b84a0dcb944c94f6e95aa3f1b92fab1f9276
[ "Apache-2.0" ]
1
2021-08-06T21:30:50.000Z
2021-08-06T21:30:50.000Z
test/hxArrayTest.cpp
adrianjohnston345/hatchlingplatform
6113b84a0dcb944c94f6e95aa3f1b92fab1f9276
[ "Apache-2.0" ]
null
null
null
// Copyright 2017-2019 Adrian Johnston // Copyright 2017 Leap Motion #include <hx/hatchling.h> #include <hx/hxArray.h> #include <hx/hxStockpile.h> #include <hx/hxTest.h> HX_REGISTER_FILENAME_HASH // ---------------------------------------------------------------------------- static class hxArrayTest* s_hxTestCurren...
21.546392
86
0.649601
adrianjohnston345
619412378592dbedbcb0fc9f2d2b901f21a14d62
2,757
cpp
C++
src/examples/games/snake/main.cpp
TheMrButcher/opengl_lessons
76ac96c45773a54a85d49c6994770b0c3496303f
[ "MIT" ]
1
2016-10-25T21:15:16.000Z
2016-10-25T21:15:16.000Z
src/examples/games/snake/main.cpp
TheMrButcher/gamebase
76ac96c45773a54a85d49c6994770b0c3496303f
[ "MIT" ]
375
2016-06-04T11:27:40.000Z
2019-04-14T17:11:09.000Z
src/examples/games/snake/main.cpp
TheMrButcher/gamebase
76ac96c45773a54a85d49c6994770b0c3496303f
[ "MIT" ]
null
null
null
#include <gamebase/Gamebase.h> using namespace gamebase; using namespace std; class MyApp : public App { void load() { randomize(); record = 0; restart(); connect(restartButton, restart); timer.setPeriod(0.2); connect(timer, step); } void restart() { ...
19.692857
78
0.543707
TheMrButcher
619519a4395822901587a5c74f751b5657e97d0a
12,329
hpp
C++
hpx/runtime/actions/transfer_base_action.hpp
picanumber/hpx
76d6fe0bf4bd7f23e62c170fd8a0c8dbed66ec7d
[ "BSL-1.0" ]
null
null
null
hpx/runtime/actions/transfer_base_action.hpp
picanumber/hpx
76d6fe0bf4bd7f23e62c170fd8a0c8dbed66ec7d
[ "BSL-1.0" ]
null
null
null
hpx/runtime/actions/transfer_base_action.hpp
picanumber/hpx
76d6fe0bf4bd7f23e62c170fd8a0c8dbed66ec7d
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2007-2017 Hartmut Kaiser // Copyright (c) 2011 Bryce Lelbach // Copyright (c) 2011-2016 Thomas Heller // // SPDX-License-Identifier: BSL-1.0 // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt...
33.594005
85
0.631357
picanumber
619788a04d01038851f426d457bf9232ae750ad1
8,802
cpp
C++
features/netsocket/emac-drivers/TARGET_UNISOC_EMAC/uwp_emac.cpp
caixue901102/mbed-os
483833a8d4612845408fea5b1986d20ab8428580
[ "Apache-2.0" ]
null
null
null
features/netsocket/emac-drivers/TARGET_UNISOC_EMAC/uwp_emac.cpp
caixue901102/mbed-os
483833a8d4612845408fea5b1986d20ab8428580
[ "Apache-2.0" ]
null
null
null
features/netsocket/emac-drivers/TARGET_UNISOC_EMAC/uwp_emac.cpp
caixue901102/mbed-os
483833a8d4612845408fea5b1986d20ab8428580
[ "Apache-2.0" ]
4
2018-12-10T12:03:54.000Z
2019-01-26T02:46:40.000Z
#include <stdlib.h> #include "mbed_shared_queues.h" #include "netsocket/nsapi_types.h" #include "lwip/arch.h" #include "debug.h" #include "uwp_emac.h" #include "uwp_wifi_main.h" #include "sipc.h" #include "uwp_sys_wrapper.h" #include "uwp_buf_mgmt.h" // TODO:need confirm #define UWP_HWADDR_SIZE (6) #define U...
27.166667
141
0.629743
caixue901102
6197d0651e8ef67eba61d39fbdffee035f06963a
257
cpp
C++
benchmarks/speed3d_c2c.cpp
jli111/heffte_osc_a2av
59d69500cb86ef6a37212326c35cd85176f45526
[ "BSD-3-Clause" ]
6
2021-03-05T18:19:02.000Z
2022-03-08T10:47:00.000Z
benchmarks/speed3d_c2c.cpp
jli111/heffte_osc_a2av
59d69500cb86ef6a37212326c35cd85176f45526
[ "BSD-3-Clause" ]
1
2021-07-09T14:26:17.000Z
2021-07-09T14:26:17.000Z
benchmarks/speed3d_c2c.cpp
jli111/heffte_osc_a2av
59d69500cb86ef6a37212326c35cd85176f45526
[ "BSD-3-Clause" ]
1
2021-12-15T16:45:41.000Z
2021-12-15T16:45:41.000Z
/* -- heFFTe -- Univ. of Tennessee, Knoxville @date Performance test for 3D FFTs using heFFTe to compute 3D complex-to-complex transforms */ #define BENCH_INPUT std::complex<precision_type> #define BENCH_C2C #include "speed3d.h"
21.416667
93
0.688716
jli111
619a008cd2519a2703cb0a4463ace40b108a4dba
27,923
cpp
C++
src/libbrep/debug_plot.cpp
ejno/brlcad
b21b3e1728ade0fea2d36a105609566cb114c382
[ "BSD-4-Clause", "BSD-3-Clause" ]
null
null
null
src/libbrep/debug_plot.cpp
ejno/brlcad
b21b3e1728ade0fea2d36a105609566cb114c382
[ "BSD-4-Clause", "BSD-3-Clause" ]
null
null
null
src/libbrep/debug_plot.cpp
ejno/brlcad
b21b3e1728ade0fea2d36a105609566cb114c382
[ "BSD-4-Clause", "BSD-3-Clause" ]
null
null
null
/* D E B U G _ P L O T . C P P * BRL-CAD * * Copyright (c) 2014-2021 United States Government as represented by * the U.S. Army Research Laboratory. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * version 2...
28.176589
126
0.661247
ejno
619ae2367cb562599aa5b4c8c9980d7dd1d042f5
373
cpp
C++
src/libserver/src/serverconnectionfactory.cpp
tsaah/whisper
afe9fd000ed3ebd684d78193ce0c12217bb68fde
[ "MIT" ]
1
2021-03-22T07:22:43.000Z
2021-03-22T07:22:43.000Z
src/libserver/src/serverconnectionfactory.cpp
tsaah/whisper
afe9fd000ed3ebd684d78193ce0c12217bb68fde
[ "MIT" ]
null
null
null
src/libserver/src/serverconnectionfactory.cpp
tsaah/whisper
afe9fd000ed3ebd684d78193ce0c12217bb68fde
[ "MIT" ]
null
null
null
#include "serverconnectionfactory.h" #include <connection.h> namespace whisper { namespace server { QTcpSocket *ServerConnectionFactory::create(qintptr handle) { auto* socket = new common::Connection; if (socket != nullptr && socket->setSocketDescriptor(handle)) { return socket; } return null...
20.722222
67
0.705094
tsaah
619c51bfcfbbfddab1b1b73df7e8542ad6a92bf2
1,321
cc
C++
src/flutter/shell/platform/linux_embedded/surface/egl_utils.cc
TomohideMorimoto/flutter-embedded-linux
e7b1e98e646e88aa52dc1abe9f14444c2b070a39
[ "BSD-3-Clause" ]
743
2021-03-09T07:56:39.000Z
2022-03-30T20:22:32.000Z
src/flutter/shell/platform/linux_embedded/surface/egl_utils.cc
TomohideMorimoto/flutter-embedded-linux
e7b1e98e646e88aa52dc1abe9f14444c2b070a39
[ "BSD-3-Clause" ]
165
2021-03-09T06:44:39.000Z
2022-03-25T20:48:03.000Z
src/flutter/shell/platform/linux_embedded/surface/egl_utils.cc
TomohideMorimoto/flutter-embedded-linux
e7b1e98e646e88aa52dc1abe9f14444c2b070a39
[ "BSD-3-Clause" ]
59
2021-03-09T04:25:01.000Z
2022-03-29T19:15:46.000Z
// Copyright 2021 Sony Corporation. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "flutter/shell/platform/linux_embedded/surface/egl_utils.h" #include <EGL/egl.h> #include <string> #include <vector> namespace flutter { std::st...
30.72093
73
0.692657
TomohideMorimoto
61a70b8afdf2e7dcc350a153d07edd7295051b92
21,060
cc
C++
server/modules/filter/topfilter/topfilter.cc
DatabasKarlsson/MaxScale
ccf90f2e5d28f589eecd54bcb3fb20dfec5b14ff
[ "BSD-3-Clause" ]
null
null
null
server/modules/filter/topfilter/topfilter.cc
DatabasKarlsson/MaxScale
ccf90f2e5d28f589eecd54bcb3fb20dfec5b14ff
[ "BSD-3-Clause" ]
1
2021-02-12T10:08:58.000Z
2021-02-18T02:57:57.000Z
server/modules/filter/topfilter/topfilter.cc
ThomasDai/MaxScale
766afedbada386b4402b8dbb21805e7eaba52323
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2016 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. * * Change Date: 2024-11-26 * * On the date above, in accordance with the Business Source License, use * of this software will be g...
32.103659
104
0.553561
DatabasKarlsson
61aad0da5061a8b7892b1bb71bced6592fe61ac2
1,735
hpp
C++
src/Factory/Simulation/BFER/BFER_std.hpp
WilliamMajor/aff3ct
4e71ab99f33a040ec06336d3e1d50bd2c0d6a579
[ "MIT" ]
1
2022-02-17T08:47:47.000Z
2022-02-17T08:47:47.000Z
src/Factory/Simulation/BFER/BFER_std.hpp
WilliamMajor/aff3ct
4e71ab99f33a040ec06336d3e1d50bd2c0d6a579
[ "MIT" ]
null
null
null
src/Factory/Simulation/BFER/BFER_std.hpp
WilliamMajor/aff3ct
4e71ab99f33a040ec06336d3e1d50bd2c0d6a579
[ "MIT" ]
1
2021-11-24T01:54:41.000Z
2021-11-24T01:54:41.000Z
#ifndef FACTORY_SIMULATION_BFER_STD_HPP_ #define FACTORY_SIMULATION_BFER_STD_HPP_ #include <string> #include <map> #include "Tools/Arguments/Argument_tools.hpp" #include "Factory/Module/Codec/Codec_SIHO.hpp" #include "Factory/Simulation/BFER/BFER.hpp" namespace aff3ct { namespace simulation { template <typename B, t...
28.442623
113
0.647839
WilliamMajor
61ab43eabbe07d8144ffb1874ee17c32b2ce12b0
1,016
cpp
C++
source/cards/sources/move-condition.cpp
mexus/medici2
8ffadc0f72459e5b59f12460575925e5a578a389
[ "MIT" ]
null
null
null
source/cards/sources/move-condition.cpp
mexus/medici2
8ffadc0f72459e5b59f12460575925e5a578a389
[ "MIT" ]
null
null
null
source/cards/sources/move-condition.cpp
mexus/medici2
8ffadc0f72459e5b59f12460575925e5a578a389
[ "MIT" ]
null
null
null
#include <cards/move-condition.h> #include <algorithm> namespace cards { MoveCondition::MoveCondition(size_t position, const std::shared_ptr<Condition>& condition) : position_(position), condition_(condition) {} bool MoveCondition::CheckSequence(const std::vector<Card>& cards) const { if (position_ >= c...
36.285714
90
0.690945
mexus
61abed85910aa62dad08a3dc827b63f826462cba
3,872
hpp
C++
include/GlobalNamespace/LightPairRotationEventEffect_RotationData.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/GlobalNamespace/LightPairRotationEventEffect_RotationData.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/GlobalNamespace/LightPairRotationEventEffect_RotationData.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: LightPairRotationEventEffect #include "GlobalNamespace/LightPairRotati...
45.552941
398
0.713326
darknight1050
ba06e521487c08b81adcb7f1a4e0f43718508383
914
hpp
C++
gui/dialogs/dialogeditunit.hpp
lkeegan/spatial-model-editor
5dcb06550607b0a734acddd8b719035b68e35307
[ "MIT" ]
4
2019-07-18T15:05:09.000Z
2020-03-14T09:50:07.000Z
gui/dialogs/dialogeditunit.hpp
lkeegan/spatial-model-editor
5dcb06550607b0a734acddd8b719035b68e35307
[ "MIT" ]
328
2019-06-30T12:03:01.000Z
2020-10-05T15:56:35.000Z
gui/dialogs/dialogeditunit.hpp
lkeegan/spatial-model-editor
5dcb06550607b0a734acddd8b719035b68e35307
[ "MIT" ]
1
2019-06-08T22:47:14.000Z
2019-06-08T22:47:14.000Z
#pragma once #include "sme/model_units.hpp" #include <QDialog> #include <memory> namespace Ui { class DialogEditUnit; } class DialogEditUnit : public QDialog { Q_OBJECT public: explicit DialogEditUnit(const sme::model::Unit &unit, const QString &unitType = {}, ...
26.114286
57
0.683807
lkeegan
ba089712b85354f90687f6f9481f5a94ba20b2a7
1,271
cpp
C++
floating-point/sse-avx-mix.cpp
Secure-AI-Systems-Group/Hardware-Effects
9839e0e2a4cfe7bb7be15c2a3050b4e279b8a67b
[ "MIT" ]
2,434
2018-11-18T20:31:23.000Z
2022-03-22T14:04:01.000Z
floating-point/sse-avx-mix.cpp
xiaoxiaohuoshan/hardware-effects
6748195c1799b3a5ea8eb43ae4ce594c865639d8
[ "MIT" ]
22
2018-11-19T03:14:38.000Z
2022-01-21T07:48:46.000Z
floating-point/sse-avx-mix.cpp
xiaoxiaohuoshan/hardware-effects
6748195c1799b3a5ea8eb43ae4ce594c865639d8
[ "MIT" ]
136
2018-11-19T00:57:18.000Z
2022-03-22T11:47:58.000Z
/** * Code adapted from https://stackoverflow.com/questions/41303780/why-is-this-sse-code-6-times-slower-without-vzeroupper-on-skylake */ #include <immintrin.h> #include <iostream> #include <chrono> #ifndef REPETITIONS #define REPETITIONS 100 * 1024 * 1024 #endif int main(int argc, char** argv) { if (argc ...
24.921569
131
0.572777
Secure-AI-Systems-Group
ba0a217e3671c14dc9bab13e91ecd1f6b87fd1a6
1,901
cpp
C++
SampleMathematics/NonlocalBlowup/GpuAvrPyramid2.cpp
CRIMSONCardiovascularModelling/WildMagic5
fcf549bfb99a5c4b3d6ffbff18aabdc1a4e9085c
[ "BSL-1.0" ]
null
null
null
SampleMathematics/NonlocalBlowup/GpuAvrPyramid2.cpp
CRIMSONCardiovascularModelling/WildMagic5
fcf549bfb99a5c4b3d6ffbff18aabdc1a4e9085c
[ "BSL-1.0" ]
null
null
null
SampleMathematics/NonlocalBlowup/GpuAvrPyramid2.cpp
CRIMSONCardiovascularModelling/WildMagic5
fcf549bfb99a5c4b3d6ffbff18aabdc1a4e9085c
[ "BSL-1.0" ]
null
null
null
// Geometric Tools, LLC // Copyright (c) 1998-2014 // Distributed under the Boost Software License, Version 1.0. // http://www.boost.org/LICENSE_1_0.txt // http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt // // File Version: 5.3.0 (2010/09/07) #include "GpuAvrPyramid2.h" const GLchar* GpuAvrPyramid2::msQua...
34.563636
78
0.530247
CRIMSONCardiovascularModelling
ba0a755029a67c45441111439059afcbf1ae19ec
629
cpp
C++
src/ChainSword/src/StateMachine/States/StartState.cpp
LePetitAtelierDeJon/ChainSword
acdcf8d26589eeb6df2c8db4caf39bf21b990c14
[ "MIT" ]
null
null
null
src/ChainSword/src/StateMachine/States/StartState.cpp
LePetitAtelierDeJon/ChainSword
acdcf8d26589eeb6df2c8db4caf39bf21b990c14
[ "MIT" ]
null
null
null
src/ChainSword/src/StateMachine/States/StartState.cpp
LePetitAtelierDeJon/ChainSword
acdcf8d26589eeb6df2c8db4caf39bf21b990c14
[ "MIT" ]
null
null
null
#include "StateMachine/States/StartState.h" #include "ChainSword.h" void StartState::execute(ChainSword *context, unsigned long millis) { context->lightController()->execute(millis); if (context->lightController()->isEffectStopped(STARTUP_ANIMATION)) { stateMachine_->makeTransition(IDLE_TRANSITION,...
28.590909
71
0.720191
LePetitAtelierDeJon
ba0adadbe7d2b43840a7d5be7084e3da64df25a9
2,097
cpp
C++
src/FastAccelStepperHoming.cpp
HX2003/FastAccelStepperHoming
6e4603242d38ca43ebb92011ec92c0ac4e2591ba
[ "MIT" ]
1
2022-03-07T06:21:26.000Z
2022-03-07T06:21:26.000Z
src/FastAccelStepperHoming.cpp
HX2003/FastAccelStepperHoming
6e4603242d38ca43ebb92011ec92c0ac4e2591ba
[ "MIT" ]
null
null
null
src/FastAccelStepperHoming.cpp
HX2003/FastAccelStepperHoming
6e4603242d38ca43ebb92011ec92c0ac4e2591ba
[ "MIT" ]
null
null
null
#include "FastAccelStepperHoming.h" void FastAccelStepperHoming::init(FastAccelStepper* stepper) { _stepper = stepper; } void FastAccelStepperHoming::setLimitPin(uint8_t limitPin, uint8_t mode){ _limitPin = limitPin; _limitPinSet = true; pinMode(limitPin, mode); _limitPinState = digitalRead(limitPin); attachInt...
29.957143
135
0.756319
HX2003
ba0c1dcfde039fc5eb336b2794999e031680816c
1,749
hpp
C++
src/Utils/framebuffer.hpp
AlexanderVeselov/RayTracing
d6df361c1054a1ebaf67c82805c44f94a4cda7c7
[ "MIT" ]
90
2017-08-06T10:13:59.000Z
2022-03-19T09:49:43.000Z
src/Utils/framebuffer.hpp
AlexanderVeselov/RayTracing
d6df361c1054a1ebaf67c82805c44f94a4cda7c7
[ "MIT" ]
2
2017-06-08T02:16:56.000Z
2020-03-24T01:10:48.000Z
src/Utils/framebuffer.hpp
AlexanderVeselov/RayTracing
d6df361c1054a1ebaf67c82805c44f94a4cda7c7
[ "MIT" ]
15
2017-08-06T12:58:54.000Z
2022-03-31T05:45:46.000Z
/***************************************************************************** MIT License Copyright(c) 2021 Alexander Veselov Permission is hereby granted, free of charge, to any person obtaining a copy of this softwareand associated documentation files(the "Software"), to deal in the Software without restricti...
38.866667
79
0.701544
AlexanderVeselov
ba0c5c0d5715b75b3a29ee7f0b91f1f7a5c18466
416
hh
C++
src/events/StdioMessages.hh
D15C0DE/openMSX
5119a9657de4b82115c745f670cdc55dc7363133
[ "Naumen", "Condor-1.1", "MS-PL" ]
320
2015-06-16T20:32:33.000Z
2022-03-26T17:03:27.000Z
src/events/StdioMessages.hh
D15C0DE/openMSX
5119a9657de4b82115c745f670cdc55dc7363133
[ "Naumen", "Condor-1.1", "MS-PL" ]
2,592
2015-05-30T12:12:21.000Z
2022-03-31T17:16:15.000Z
src/events/StdioMessages.hh
D15C0DE/openMSX
5119a9657de4b82115c745f670cdc55dc7363133
[ "Naumen", "Condor-1.1", "MS-PL" ]
74
2015-06-18T19:51:15.000Z
2022-03-24T15:09:33.000Z
#ifndef STDIOMESSAGES_HH #define STDIOMESSAGES_HH #include "CliListener.hh" namespace openmsx { class StdioMessages final : public CliListener { public: void log(CliComm::LogLevel level, std::string_view message) noexcept override; void update(CliComm::UpdateType type, std::string_view machine, std::...
20.8
79
0.759615
D15C0DE
ba0d5bef7e5e1df7535ba0b7f2877bbd9a7ef82a
686
cpp
C++
codechef/FEB20/CASH.cpp
udayan14/Competitive_Coding
79e23fdeb909b4161a193d88697a4fe5f4fbbdce
[ "MIT" ]
null
null
null
codechef/FEB20/CASH.cpp
udayan14/Competitive_Coding
79e23fdeb909b4161a193d88697a4fe5f4fbbdce
[ "MIT" ]
null
null
null
codechef/FEB20/CASH.cpp
udayan14/Competitive_Coding
79e23fdeb909b4161a193d88697a4fe5f4fbbdce
[ "MIT" ]
null
null
null
#include<iostream> #include<limits.h> using namespace std; int main(){ ios_base::sync_with_stdio(false); cin.tie(NULL); int t; cin >> t; while(t--){ int n,k; cin >> n >> k; unsigned long long int a[n]; for(int i=0 ; i<n ; ++i) cin >> a[i]; unsigned long long int fwd[n]; unsigned long long int bwd[n...
20.176471
49
0.514577
udayan14
ba114b94affdfc2a34e94922af627fc0b07c2c2d
6,955
cpp
C++
tsp_tabu_search/testing_unit.cpp
chengwei920412/travelling-salesman-problem-tsp
b99e9a2743dd340778ed3db70a4eb6c4fc8cdfab
[ "MIT" ]
2
2021-12-15T13:37:28.000Z
2021-12-15T13:37:32.000Z
tsp_tabu_search/testing_unit.cpp
chengwei920412/travelling-salesman-problem-tsp
b99e9a2743dd340778ed3db70a4eb6c4fc8cdfab
[ "MIT" ]
null
null
null
tsp_tabu_search/testing_unit.cpp
chengwei920412/travelling-salesman-problem-tsp
b99e9a2743dd340778ed3db70a4eb6c4fc8cdfab
[ "MIT" ]
2
2021-05-03T07:47:22.000Z
2021-11-30T05:59:59.000Z
#include "testing_unit.h" #include <algorithm> #include <iomanip> #include <iostream> #include "timer.h" #include <list> testing_unit::testing_unit(string input_file_name, int number_of_repeats, int optimal_path_cost, vector<int> optimal_path_nodes) { input_file_name_ = input_file_name; number_of_r...
22.079365
98
0.617973
chengwei920412
ba125dbf7a15ef39bec7e268666208bc18432079
384
hpp
C++
src/problems/101-150/133/problem133.hpp
abeccaro/project-euler
c3b124bb973dc3a1cf29e8c96c3e70c8816d5fa3
[ "MIT" ]
1
2019-12-25T10:17:15.000Z
2019-12-25T10:17:15.000Z
src/problems/101-150/133/problem133.hpp
abeccaro/project-euler
c3b124bb973dc3a1cf29e8c96c3e70c8816d5fa3
[ "MIT" ]
null
null
null
src/problems/101-150/133/problem133.hpp
abeccaro/project-euler
c3b124bb973dc3a1cf29e8c96c3e70c8816d5fa3
[ "MIT" ]
null
null
null
// // Created by Alex Beccaro on 25/11/2019. // #ifndef PROJECT_EULER_PROBLEM133_HPP #define PROJECT_EULER_PROBLEM133_HPP #include <cstdint> namespace problems { class problem133 { public: /** * Solves problem * @return The solution */ static uint32_t solve(uint32_t...
16.695652
52
0.645833
abeccaro
ba1b25afef3bc02ff3523d93e72e142fb339fb7a
320
hpp
C++
src/ControlSystem/NamespaceDocs.hpp
kidder/spectre
97ae95f72320f9f67895d3303824e64de6fd9077
[ "MIT" ]
117
2017-04-08T22:52:48.000Z
2022-03-25T07:23:36.000Z
src/ControlSystem/NamespaceDocs.hpp
GitHimanshuc/spectre
4de4033ba36547113293fe4dbdd77591485a4aee
[ "MIT" ]
3,177
2017-04-07T21:10:18.000Z
2022-03-31T23:55:59.000Z
src/ControlSystem/NamespaceDocs.hpp
geoffrey4444/spectre
9350d61830b360e2d5b273fdd176dcc841dbefb0
[ "MIT" ]
85
2017-04-07T19:36:13.000Z
2022-03-01T10:21:00.000Z
// Distributed under the MIT License. // See LICENSE.txt for details. #pragma once /// \ingroup ControlSystemGroup /// Control systems and related functionality namespace control_system { /// \ingroup ControlSystemGroup /// All Actions related to the control system namespace Actions {} } // namespace control_system
24.615385
45
0.76875
kidder
ba1c05878f68058d93ddf1774e029126cbecc908
1,277
cpp
C++
cudaaligner/src/alignment.cpp
r-mafi/ClaraGenomicsAnalysis
a33d606af7902f27d5cf86a80099061bb1a34603
[ "Apache-2.0" ]
null
null
null
cudaaligner/src/alignment.cpp
r-mafi/ClaraGenomicsAnalysis
a33d606af7902f27d5cf86a80099061bb1a34603
[ "Apache-2.0" ]
1
2020-07-17T13:57:56.000Z
2020-07-17T13:57:56.000Z
cudaaligner/src/alignment.cpp
r-mafi/ClaraGenomicsAnalysis
a33d606af7902f27d5cf86a80099061bb1a34603
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved. * * NVIDIA CORPORATION and its licensors retain all intellectual property * and proprietary rights in and to this software, related documentation * and any modifications thereto. Any use, reproduction, disclosure or * distribution of this software and ...
30.404762
146
0.7361
r-mafi
ba1c50187f157d531898b4c89bb0dab94a5a223b
1,378
hpp
C++
Doremi/Core/Include/EventHandler/Events/DamageTakenEvent.hpp
meraz/doremi
452d08ebd10db50d9563c1cf97699571889ab18f
[ "MIT" ]
1
2020-03-23T15:42:05.000Z
2020-03-23T15:42:05.000Z
Doremi/Core/Include/EventHandler/Events/DamageTakenEvent.hpp
Meraz/ssp15
452d08ebd10db50d9563c1cf97699571889ab18f
[ "MIT" ]
null
null
null
Doremi/Core/Include/EventHandler/Events/DamageTakenEvent.hpp
Meraz/ssp15
452d08ebd10db50d9563c1cf97699571889ab18f
[ "MIT" ]
1
2020-03-23T15:42:06.000Z
2020-03-23T15:42:06.000Z
#include <Doremi/Core/Include/EventHandler/Events/Event.hpp> namespace Doremi { namespace Core { /** Contains info on damage taken, make sure not to send to much of these since they are sent over network */ struct DamageTakenEvent : public Event { EntityID ent...
33.609756
110
0.537736
meraz
ba1c89847ff91713c378c26b74c6f3fed642666f
2,891
hpp
C++
Engine/Header/Engine/CEngine.hpp
Aredhele/OOM-Engine
e52f706d17f1867f575a85ba5b87b4cc34a7fa97
[ "MIT" ]
9
2018-07-21T00:30:35.000Z
2021-09-04T02:54:11.000Z
Engine/Header/Engine/CEngine.hpp
Aredhele/OOM-Engine
e52f706d17f1867f575a85ba5b87b4cc34a7fa97
[ "MIT" ]
null
null
null
Engine/Header/Engine/CEngine.hpp
Aredhele/OOM-Engine
e52f706d17f1867f575a85ba5b87b4cc34a7fa97
[ "MIT" ]
1
2021-12-03T14:12:41.000Z
2021-12-03T14:12:41.000Z
/// \file CEngine.hpp /// \date 21/07/2018 /// \project OOM-Engine /// \package Engine /// \author Vincent STEHLY--CALISTO #ifndef OOM_ENGINE_C_ENGINE_HPP__ #define OOM_ENGINE_C_ENGINE_HPP__ #include <vector> #include <GLM/glm.hpp> // Forward declartion struct GLFWwindow; namespace Oom { // F...
28.623762
142
0.642338
Aredhele