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
68d4601f864810d0ecc2a731fa03496616a82c2b
8,737
hpp
C++
include/metrics/pu_encode_data.hpp
ecarpita93/HPC_projet_1
a2c00e056c03227711c43cf2ad23d75c6afbe698
[ "Xnet", "X11" ]
null
null
null
include/metrics/pu_encode_data.hpp
ecarpita93/HPC_projet_1
a2c00e056c03227711c43cf2ad23d75c6afbe698
[ "Xnet", "X11" ]
null
null
null
include/metrics/pu_encode_data.hpp
ecarpita93/HPC_projet_1
a2c00e056c03227711c43cf2ad23d75c6afbe698
[ "Xnet", "X11" ]
null
null
null
/* PICCANTE The hottest HDR imaging library! http://vcg.isti.cnr.it/piccante Copyright (C) 2014 Visual Computing Laboratory - ISTI CNR http://vcg.isti.cnr.it First author: Francesco Banterle 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 ...
15.856624
67
0.550418
ecarpita93
68d6a5ca027ce4152a2eb01862726e28dd603b9c
19,968
hpp
C++
atto/atto/math/geometry/algebra.hpp
ubikoo/libfish
7f0b5e06b2bf1d6ff490ddfda9cc7aab69cdbf39
[ "MIT" ]
null
null
null
atto/atto/math/geometry/algebra.hpp
ubikoo/libfish
7f0b5e06b2bf1d6ff490ddfda9cc7aab69cdbf39
[ "MIT" ]
null
null
null
atto/atto/math/geometry/algebra.hpp
ubikoo/libfish
7f0b5e06b2bf1d6ff490ddfda9cc7aab69cdbf39
[ "MIT" ]
null
null
null
/* * algebra.hpp * * Copyright (c) 2020 Carlos Braga * * This program is free software; you can redistribute it and/or modify * it under the terms of the MIT License. * * See accompanying LICENSE.md or https://opensource.org/licenses/MIT. */ #ifndef ATTO_MATH_GEOMETRY_ALGEBRA_H_ #define ATTO_MATH_GEOMETRY_ALG...
31.796178
80
0.455629
ubikoo
68d7c6a7182e36cfd4e148b2297d38ea46c3c128
3,313
cpp
C++
src/SceneMonitor.cpp
rcstilborn/SecMon
f750d9c421dac1c5a795384ff8f7b7a29a0aece9
[ "MIT" ]
2
2021-12-17T17:35:07.000Z
2022-01-11T12:38:00.000Z
src/SceneMonitor.cpp
rcstilborn/SecMon
f750d9c421dac1c5a795384ff8f7b7a29a0aece9
[ "MIT" ]
null
null
null
src/SceneMonitor.cpp
rcstilborn/SecMon
f750d9c421dac1c5a795384ff8f7b7a29a0aece9
[ "MIT" ]
2
2018-01-15T06:10:07.000Z
2021-07-08T19:40:49.000Z
/* * SceneMonitor.cpp * * Created on: Jul 27, 2015 * Author: richard * * Copyright 2017 Richard Stilborn * Licensed under the MIT License */ #include "SceneMonitor.h" #include <boost/asio/io_service.hpp> #include <boost/bind/bind.hpp> #include <boost/iterator/iterator_facade.hpp> #include <boost/ptr_c...
29.061404
116
0.686991
rcstilborn
68d9deed1f22ec03ee368305b88181ee84a5347d
1,854
cpp
C++
m4cpp/src/uart.cpp
matheusmb/smep-gateway
c32ff83cf48488404a5c094137b33be09d84581c
[ "MIT" ]
null
null
null
m4cpp/src/uart.cpp
matheusmb/smep-gateway
c32ff83cf48488404a5c094137b33be09d84581c
[ "MIT" ]
null
null
null
m4cpp/src/uart.cpp
matheusmb/smep-gateway
c32ff83cf48488404a5c094137b33be09d84581c
[ "MIT" ]
null
null
null
#include "uart.h" #include "board.h" #include "WString.h" #define UARTx_IRQn USART0_IRQn void UART_Init( const uint32_t baud ) { Board_UART_Init( LPC_UART ); Chip_UART_Init( LPC_UART ); Chip_UART_SetBaud( LPC_UART, baud ); Chip_UART_TXEnable( LPC_UART ); } void UART_IRQ_Init() { UART_IntEnable(); Chip_U...
20.373626
98
0.718986
matheusmb
68dd0fd03a89896af9cefc24fd2642e92fc94ade
22,627
cpp
C++
framework/areg/component/private/ComponentLoader.cpp
Ali-Nasrolahi/areg-sdk
4fbc2f2644220196004a31672a697a864755f0b6
[ "Apache-2.0" ]
70
2021-07-20T11:26:16.000Z
2022-03-27T11:17:43.000Z
framework/areg/component/private/ComponentLoader.cpp
Ali-Nasrolahi/areg-sdk
4fbc2f2644220196004a31672a697a864755f0b6
[ "Apache-2.0" ]
32
2021-07-31T05:20:44.000Z
2022-03-20T10:11:52.000Z
framework/areg/component/private/ComponentLoader.cpp
Ali-Nasrolahi/areg-sdk
4fbc2f2644220196004a31672a697a864755f0b6
[ "Apache-2.0" ]
40
2021-11-02T09:45:38.000Z
2022-03-27T11:17:46.000Z
/************************************************************************ * This file is part of the AREG SDK core engine. * AREG SDK is dual-licensed under Free open source (Apache version 2.0 * License) and Commercial (with various pricing models) licenses, depending * on the nature of the project (commercial, re...
38.878007
165
0.557431
Ali-Nasrolahi
68e7b53a748c7f1204bdbd44a08745d63ee42e9e
4,874
cpp
C++
jit.cpp
c3sr/go-pytorch
0d1f6edbc6e48f0f68055274af0997e2ff9b0ce1
[ "Apache-2.0" ]
14
2018-11-26T18:33:27.000Z
2021-12-17T11:14:33.000Z
jit.cpp
c3sr/go-pytorch
0d1f6edbc6e48f0f68055274af0997e2ff9b0ce1
[ "Apache-2.0" ]
7
2019-04-02T16:46:01.000Z
2020-06-10T02:02:33.000Z
jit.cpp
c3sr/go-pytorch
0d1f6edbc6e48f0f68055274af0997e2ff9b0ce1
[ "Apache-2.0" ]
3
2019-07-16T16:47:07.000Z
2021-12-29T07:47:59.000Z
#ifdef ENABLE_PYTROCH_JIT #include "error.hpp" #include "predictor.hpp" #include <algorithm> #include <iosfwd> #include <iostream> #include <memory> #include <string> #include <typeinfo> #include <utility> #include <vector> extern Torch_IValue Torch_ConvertIValueToTorchIValue(torch::IValue value); struct Torch_JIT...
29.539394
112
0.708863
c3sr
68eeb54c52b1f098da02acc840a138117e18e72c
2,191
cpp
C++
src/stereo_ugv/image_source.cpp
yunhao-qian/stereo_ugv
23480a8b93918fc2bc44e16416ac0b4e0598788b
[ "BSD-2-Clause" ]
null
null
null
src/stereo_ugv/image_source.cpp
yunhao-qian/stereo_ugv
23480a8b93918fc2bc44e16416ac0b4e0598788b
[ "BSD-2-Clause" ]
null
null
null
src/stereo_ugv/image_source.cpp
yunhao-qian/stereo_ugv
23480a8b93918fc2bc44e16416ac0b4e0598788b
[ "BSD-2-Clause" ]
null
null
null
#include "stereo_ugv/image_source.h" namespace stereo_ugv { /** * @brief Creates an ImageSource. * @details The function determines the concrete subclass of the layout to be created by looking up the "type" key, and * calls the corresponding initialization function. Currently, "camera", "images" and "video" are sup...
37.135593
119
0.740758
yunhao-qian
68f10e810d3722fa4aaf268cea3e77e0684a346c
2,325
cpp
C++
foedus_code/foedus-core/src/foedus/storage/sequential/sequential_partitioner_impl.cpp
sam1016yu/cicada-exp-sigmod2017
64e582370076b2923d37b279d1c32730babc15f8
[ "Apache-2.0" ]
null
null
null
foedus_code/foedus-core/src/foedus/storage/sequential/sequential_partitioner_impl.cpp
sam1016yu/cicada-exp-sigmod2017
64e582370076b2923d37b279d1c32730babc15f8
[ "Apache-2.0" ]
null
null
null
foedus_code/foedus-core/src/foedus/storage/sequential/sequential_partitioner_impl.cpp
sam1016yu/cicada-exp-sigmod2017
64e582370076b2923d37b279d1c32730babc15f8
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2014-2015, Hewlett-Packard Development Company, LP. * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the Free * Software Foundation; either version 2 of the License, or (at your option) * any later versi...
33.695652
91
0.744946
sam1016yu
190387dff2ca8b91b790b2a534eec90c398aa606
3,683
hpp
C++
PhantomEngine/Common/Value.hpp
restary/Phantom
1d34afc3da9aa2bf58e68beefd4f4351ecc1a01c
[ "MIT" ]
null
null
null
PhantomEngine/Common/Value.hpp
restary/Phantom
1d34afc3da9aa2bf58e68beefd4f4351ecc1a01c
[ "MIT" ]
null
null
null
PhantomEngine/Common/Value.hpp
restary/Phantom
1d34afc3da9aa2bf58e68beefd4f4351ecc1a01c
[ "MIT" ]
null
null
null
#pragma once #include <iostream> #include <string> #include <Define.hpp> using namespace std; namespace PhantomEngine { namespace DataTypes { static const uint8_t UNDEFINED = 255; static const uint8_t INTEGER = 0; static const uint8_t FLOAT = 1; static const uint...
23.01875
80
0.472984
restary
1903fb7b9a2da957750f0a1fd043519c6fc9c0b3
8,239
cpp
C++
src/StockExchange/StockExchange.cpp
SABCEMM/SABCEMM
a87ea83b57a8a7d16591abe30e56db459e710a0e
[ "BSD-3-Clause" ]
17
2018-01-08T13:38:28.000Z
2022-01-21T05:39:26.000Z
src/StockExchange/StockExchange.cpp
SABCEMM/SABCEMM
a87ea83b57a8a7d16591abe30e56db459e710a0e
[ "BSD-3-Clause" ]
null
null
null
src/StockExchange/StockExchange.cpp
SABCEMM/SABCEMM
a87ea83b57a8a7d16591abe30e56db459e710a0e
[ "BSD-3-Clause" ]
1
2018-01-08T13:39:00.000Z
2018-01-08T13:39:00.000Z
/* Copyright 2017 - BSD-3-Clause * * Copyright Holder (alphabetical): * * Beikirch, Maximilian * Cramer, Simon * Frank, Martin * Otte, Philipp * Pabich, Emma * Trimborn, Torsten * * * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the * followin...
28.908772
125
0.73237
SABCEMM
1905c4166233cc8b835b80f27c0aa834ce68fb80
933
cpp
C++
src/world/abilities/blink.cpp
louiz/batajelo
4d8edce8da9d3b17dbad68eb4881d7f6fee2f76e
[ "BSL-1.0", "BSD-2-Clause", "Zlib", "MIT" ]
7
2015-01-28T09:17:08.000Z
2020-04-21T13:51:16.000Z
src/world/abilities/blink.cpp
louiz/batajelo
4d8edce8da9d3b17dbad68eb4881d7f6fee2f76e
[ "BSL-1.0", "BSD-2-Clause", "Zlib", "MIT" ]
null
null
null
src/world/abilities/blink.cpp
louiz/batajelo
4d8edce8da9d3b17dbad68eb4881d7f6fee2f76e
[ "BSL-1.0", "BSD-2-Clause", "Zlib", "MIT" ]
1
2020-07-11T09:20:25.000Z
2020-07-11T09:20:25.000Z
#include <world/abilities/blink.hpp> #include <world/works/blink_work.hpp> #include <world/entity.hpp> #include <logging/logging.hpp> #include <memory> using namespace std::chrono_literals; template<> const std::string NamedAbility<Blink>::name = "Blink"; template<> const AbilityType NamedAbility<Blink>::ability_t...
25.916667
90
0.719185
louiz
19061669c719a818d8563f9c8f75664fb79d9bf7
1,004
hpp
C++
tests/messaging/sock/networkcommon.hpp
arntanguy/libqi
7f3e1394cb26126b26fa7ff54d2de1371a1c9f96
[ "BSD-3-Clause" ]
61
2015-01-08T08:05:28.000Z
2022-01-07T16:47:47.000Z
tests/messaging/sock/networkcommon.hpp
arntanguy/libqi
7f3e1394cb26126b26fa7ff54d2de1371a1c9f96
[ "BSD-3-Clause" ]
30
2015-04-06T21:41:18.000Z
2021-08-18T13:24:51.000Z
tests/messaging/sock/networkcommon.hpp
arntanguy/libqi
7f3e1394cb26126b26fa7ff54d2de1371a1c9f96
[ "BSD-3-Clause" ]
64
2015-02-23T20:01:11.000Z
2022-03-14T13:31:20.000Z
#pragma once #ifndef _QI_TESTS_MESSAGING_NETWORKCOMMON_HPP #define _QI_TESTS_MESSAGING_NETWORKCOMMON_HPP #include <algorithm> #include <random> #include <boost/lexical_cast.hpp> /// @file /// Contains functions and types used by socket tests. /// Precondition: With p = reinterpret_cast<unsigned char*>(t), /// writa...
26.421053
66
0.718127
arntanguy
1907555a950fd68d43b118706ee986f0fe711c7a
3,089
cpp
C++
worker/callback_runner_test.cpp
tkwong/parameter_server
ef8424f341f3b4c4e1088b72d88930fac8b78daf
[ "Apache-2.0" ]
null
null
null
worker/callback_runner_test.cpp
tkwong/parameter_server
ef8424f341f3b4c4e1088b72d88930fac8b78daf
[ "Apache-2.0" ]
null
null
null
worker/callback_runner_test.cpp
tkwong/parameter_server
ef8424f341f3b4c4e1088b72d88930fac8b78daf
[ "Apache-2.0" ]
null
null
null
#include "glog/logging.h" #include "gtest/gtest.h" #include "worker/callback_runner.cpp" namespace csci5570 { class TestCallbackRunner: public testing::Test { protected: void SetUp() {} void TearDown() {} }; // class TestCallbackRunner TEST_F(TestCallbackRunner, Init) { CallbackRunner runne...
27.336283
98
0.616381
tkwong
191a6c446228ac19142afb92a40c92586a351358
1,350
cpp
C++
src/plugins/blasq/plugins/rappor/rappor.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
120
2015-01-22T14:10:39.000Z
2021-11-25T12:57:16.000Z
src/plugins/blasq/plugins/rappor/rappor.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
8
2015-02-07T19:38:19.000Z
2017-11-30T20:18:28.000Z
src/plugins/blasq/plugins/rappor/rappor.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
33
2015-02-07T16:59:55.000Z
2021-10-12T00:36:40.000Z
/********************************************************************** * LeechCraft - modular cross-platform feature rich internet client. * Copyright (C) 2006-2014 Georg Rudoy * * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE...
19.014085
83
0.622222
Maledictus
191a7076b71459404f6bfe86cc3f97fd5cd82611
4,088
cpp
C++
src/optimizer/ind_var.cpp
kylinsoft/test
2af1e8d0a05000119d4d7fdd4c5c9e8839442c52
[ "MIT" ]
null
null
null
src/optimizer/ind_var.cpp
kylinsoft/test
2af1e8d0a05000119d4d7fdd4c5c9e8839442c52
[ "MIT" ]
null
null
null
src/optimizer/ind_var.cpp
kylinsoft/test
2af1e8d0a05000119d4d7fdd4c5c9e8839442c52
[ "MIT" ]
null
null
null
#include "pass.hpp" void ind_var_discovery(NormalFunc *f) { // TODO: debug dbg << "## ind var discovery: " << f->name << "\n"; auto S = build_dom_tree(f); auto defs = build_defs(f); auto i2bb = build_in2bb(f); std::unordered_set<Reg> la; std::unordered_map<Reg, Reg> mp_reg; dom_tree_dfs(S, [&...
37.163636
80
0.429305
kylinsoft
191cddd5415bab0a4e1557200a8ec1ed88edf626
17,000
cpp
C++
libpvkernel/src/rush/PVFormatVersion.cpp
inendi-inspector/inspector
9b9a00222d8a73cb0817ca56790ee9155db61cc4
[ "MIT" ]
null
null
null
libpvkernel/src/rush/PVFormatVersion.cpp
inendi-inspector/inspector
9b9a00222d8a73cb0817ca56790ee9155db61cc4
[ "MIT" ]
null
null
null
libpvkernel/src/rush/PVFormatVersion.cpp
inendi-inspector/inspector
9b9a00222d8a73cb0817ca56790ee9155db61cc4
[ "MIT" ]
null
null
null
// // MIT License // // © ESI Group, 2015 // // 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, pu...
31.25
97
0.644059
inendi-inspector
191fe62fb000c162bdae37ea3e70df3729d30c11
9,164
cpp
C++
src/essence.game/qpang/room/session/player/weapon/PlayerWeaponManager.cpp
hinnie123/qpang-essence-emulator-1
2b99f21bcbcbdcd5ff8104d4845ebc10ec0e6e1b
[ "MIT" ]
1
2021-11-23T00:31:46.000Z
2021-11-23T00:31:46.000Z
src/essence.game/qpang/room/session/player/weapon/PlayerWeaponManager.cpp
hinnie123/qpang-essence-emulator-1
2b99f21bcbcbdcd5ff8104d4845ebc10ec0e6e1b
[ "MIT" ]
null
null
null
src/essence.game/qpang/room/session/player/weapon/PlayerWeaponManager.cpp
hinnie123/qpang-essence-emulator-1
2b99f21bcbcbdcd5ff8104d4845ebc10ec0e6e1b
[ "MIT" ]
1
2021-12-18T12:50:46.000Z
2021-12-18T12:50:46.000Z
#include "PlayerWeaponManager.h" #include "qpang/Game.h" #include "qpang/room/session/RoomSession.h" #include "qpang/room/tnl/net_events/client/cg_weapon.hpp" #include "qpang/room/tnl/net_events/server/gc_weapon.hpp" #include "qpang/room/tnl/net_events/server/gc_respawn.hpp" #include "qpang/room/tnl/net_events/serve...
25.669468
164
0.748691
hinnie123
19202436500c1a6eb406fc35dc9d3f49f8601c6d
6,361
cpp
C++
TDEngine2/source/graphics/animation/CMeshAnimatorComponent.cpp
bnoazx005/TDEngine2
93ebfecf8af791ff5ecd4f57525a6935e34cd05c
[ "Apache-2.0" ]
1
2019-07-15T01:14:15.000Z
2019-07-15T01:14:15.000Z
TDEngine2/source/graphics/animation/CMeshAnimatorComponent.cpp
bnoazx005/TDEngine2
93ebfecf8af791ff5ecd4f57525a6935e34cd05c
[ "Apache-2.0" ]
76
2018-10-27T16:59:36.000Z
2022-03-30T17:40:39.000Z
TDEngine2/source/graphics/animation/CMeshAnimatorComponent.cpp
bnoazx005/TDEngine2
93ebfecf8af791ff5ecd4f57525a6935e34cd05c
[ "Apache-2.0" ]
1
2019-07-29T02:02:08.000Z
2019-07-29T02:02:08.000Z
#include "../../include/graphics/animation/CMeshAnimatorComponent.h" #include <tuple> namespace TDEngine2 { static const std::string ComponentTypeName = "mesh_animator"; const std::string CMeshAnimatorComponent::mPositionJointChannelPattern = "joint_{0}.position"; const std::string CMeshAnimatorComponent::mRotati...
23.047101
178
0.748782
bnoazx005
1921e6547eacf6dd5f124f74def4dd1d03fa4150
1,602
cpp
C++
19A.cpp
felikjunvianto/kfile-codeforces-submissions
1b53da27a294a12063b0912e12ad32efe24af678
[ "MIT" ]
null
null
null
19A.cpp
felikjunvianto/kfile-codeforces-submissions
1b53da27a294a12063b0912e12ad32efe24af678
[ "MIT" ]
null
null
null
19A.cpp
felikjunvianto/kfile-codeforces-submissions
1b53da27a294a12063b0912e12ad32efe24af678
[ "MIT" ]
null
null
null
#include <cstdio> #include <cmath> #include <iostream> #include <string> #include <cstring> #include <algorithm> #include <vector> #include <utility> #include <stack> #include <queue> #include <map> #define fi first #define se second #define pb push_back #define mp make_pair #define pi 2*acos(0.0) #de...
20.805195
87
0.615481
felikjunvianto
192792ac79a3b689427d4827807f3490eaf2a12b
1,443
cc
C++
raytracing/geometry.cc
jpanikulam/experiments
be36319a89f8baee54d7fa7618b885edb7025478
[ "MIT" ]
1
2019-04-14T11:40:28.000Z
2019-04-14T11:40:28.000Z
raytracing/geometry.cc
IJDykeman/experiments-1
22badf166b2ea441e953939463f751020b8c251b
[ "MIT" ]
5
2018-04-18T13:54:29.000Z
2019-08-22T20:04:17.000Z
raytracing/geometry.cc
IJDykeman/experiments-1
22badf166b2ea441e953939463f751020b8c251b
[ "MIT" ]
1
2018-12-24T03:45:47.000Z
2018-12-24T03:45:47.000Z
#include "geometry.hh" namespace raytrace { using Vec2 = Eigen::Vector2d; double cross2d(const Vec2 &a, const Vec2 &b) { return (a(0) * b(1)) - (a(1) * b(0)); } bool ray_line_intersection(const Ray &ray, const Line &line, Out<Vec2> intersection) { Eigen::Matrix2d A; A.col(0) = ray.direction; A.col(1) = -lin...
28.294118
104
0.668053
jpanikulam
192db529428201d58d905a62921de0c632fa449b
1,927
cc
C++
cpp/src/arrow/compute/exec/accumulation_queue.cc
AlvinJ15/arrow
095179f8a38f99e2eb10a59ad7e71252d8491e8f
[ "Apache-2.0" ]
1
2021-11-24T04:43:52.000Z
2021-11-24T04:43:52.000Z
cpp/src/arrow/compute/exec/accumulation_queue.cc
AlvinJ15/arrow
095179f8a38f99e2eb10a59ad7e71252d8491e8f
[ "Apache-2.0" ]
null
null
null
cpp/src/arrow/compute/exec/accumulation_queue.cc
AlvinJ15/arrow
095179f8a38f99e2eb10a59ad7e71252d8491e8f
[ "Apache-2.0" ]
null
null
null
// 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...
32.661017
75
0.737416
AlvinJ15
1930b9cdd5fdfc4442f2e9abf0c26280cc8f2787
196
cpp
C++
10.10-span0/main.cpp
andreasfertig/programming-with-cpp20
7c70351f3a46aea295e964096be77eb159be6e9f
[ "MIT" ]
107
2021-04-13T12:43:06.000Z
2022-03-30T05:07:16.000Z
10.10-span0/main.cpp
jessesimpson/programming-with-cpp20
7c70351f3a46aea295e964096be77eb159be6e9f
[ "MIT" ]
1
2021-04-13T12:59:30.000Z
2021-04-13T13:02:55.000Z
10.10-span0/main.cpp
jessesimpson/programming-with-cpp20
7c70351f3a46aea295e964096be77eb159be6e9f
[ "MIT" ]
29
2021-04-13T18:07:03.000Z
2022-03-28T13:44:01.000Z
// Copyright (c) Andreas Fertig. // SPDX-License-Identifier: MIT #include <cstddef> template<typename T> class Span { T* mData; size_t mSize; public: // constructors }; int main() {}
13.066667
32
0.658163
andreasfertig
19312e28c17a1befa02f080f5fd4c09660436f0f
209
cpp
C++
src/algorithm_list.cpp
GoncaloFDS/Lift
e026f585127ba55bdb261cd3ac3ca97545b7cd8f
[ "BSD-3-Clause" ]
30
2019-07-24T09:58:22.000Z
2021-09-03T08:20:22.000Z
src/algorithm_list.cpp
GoncaloFDS/Lift
e026f585127ba55bdb261cd3ac3ca97545b7cd8f
[ "BSD-3-Clause" ]
15
2020-06-20T13:20:50.000Z
2021-04-26T16:05:33.000Z
src/algorithm_list.cpp
GoncaloFDS/Lift
e026f585127ba55bdb261cd3ac3ca97545b7cd8f
[ "BSD-3-Clause" ]
5
2020-06-17T08:38:34.000Z
2021-09-08T22:14:02.000Z
#include "algorithm_list.h" const std::vector<std::pair<std::string, Algorithm>> AlgorithmList::all_algorithms = { {"Path Tracing", Algorithm::PT}, {"Bidirectional Path Tracing", Algorithm::BDPT}, };
29.857143
86
0.703349
GoncaloFDS
193544cc9f9e2b529c13ba814c29132be07d032b
2,331
hpp
C++
src/cpu/rtweekend.hpp
DveloperY0115/ray-tracing-in-one-weekend-cpp
4a293f8db7eefd1d62e6be46a53d65ff348eaa52
[ "MIT" ]
1
2021-02-18T08:38:21.000Z
2021-02-18T08:38:21.000Z
src/cpu/rtweekend.hpp
DveloperY0115/ray-tracing-in-one-weekend-cpp
4a293f8db7eefd1d62e6be46a53d65ff348eaa52
[ "MIT" ]
1
2021-02-13T04:42:01.000Z
2021-02-13T04:42:01.000Z
src/cpu/rtweekend.hpp
DveloperY0115/ray-tracing-in-one-weekend-cpp
4a293f8db7eefd1d62e6be46a53d65ff348eaa52
[ "MIT" ]
null
null
null
// // Created by 유승우 on 2020/05/15. // #ifndef FIRSTRAYTRACER_RTWEEKEND_HPP #define FIRSTRAYTRACER_RTWEEKEND_HPP #include <cmath> #include <cstdlib> #include <limits> #include <memory> #include <random> #include <time.h> // using statements to make codes more simple using std::shared_ptr; using std::make_shared; us...
24.536842
86
0.703561
DveloperY0115
1937294b0fbbd690599e20cd5d73e9c10dce5c45
1,839
tpp
C++
include/Sirius/Math/Matrix/Matrix2.tpp
xam4lor/Sirius
f05a89538ab2bc79a8d46f482fbb060271adce0a
[ "MIT" ]
1
2021-07-12T11:53:06.000Z
2021-07-12T11:53:06.000Z
include/Sirius/Math/Matrix/Matrix2.tpp
xam4lor/Sirius
f05a89538ab2bc79a8d46f482fbb060271adce0a
[ "MIT" ]
null
null
null
include/Sirius/Math/Matrix/Matrix2.tpp
xam4lor/Sirius
f05a89538ab2bc79a8d46f482fbb060271adce0a
[ "MIT" ]
1
2021-07-12T11:51:53.000Z
2021-07-12T11:51:53.000Z
#include "Matrix2.hpp" namespace Sirius { template<typename T> constexpr Matrix<2, T> operator+(const Matrix<2, T>& mat1, const Matrix<2, T>& mat2) { return Matrix<2, T>(mat1[0] + mat2[0], mat1[1] + mat2[1]); } template<typename T> constexpr Matrix<2, T> operator-(const Matrix<2, T>& ...
29.66129
106
0.516041
xam4lor
193898f97013de96c717a848897f6a54e2d1b516
17,785
cpp
C++
co-op/CmdVector.cpp
BartoszMilewski/CodeCoop
7d29f53ccf65b0d29ea7d6781a74507b52c08d0d
[ "MIT" ]
67
2018-03-02T10:50:02.000Z
2022-03-23T18:20:29.000Z
co-op/CmdVector.cpp
BartoszMilewski/CodeCoop
7d29f53ccf65b0d29ea7d6781a74507b52c08d0d
[ "MIT" ]
null
null
null
co-op/CmdVector.cpp
BartoszMilewski/CodeCoop
7d29f53ccf65b0d29ea7d6781a74507b52c08d0d
[ "MIT" ]
9
2018-03-01T16:38:28.000Z
2021-03-02T16:17:09.000Z
//---------------------------------- // (c) Reliable Software 1997 - 2008 //---------------------------------- #include "precompiled.h" #include "CmdVector.h" #include "Commander.h" // Code Co-op Commands namespace Cmd { const Cmd::Item<Commander> Table [] = { { "Program_Update", &Commander::Program_Update, ...
94.100529
207
0.721001
BartoszMilewski
193b13954156d2292b272b4c13f84bb937a3810a
1,820
cpp
C++
Algorithms/0023.MergeKSortedLists/solution.cpp
stdstring/leetcode
84e6bade7d6fc1a737eb6796cb4e2565440db5e3
[ "MIT" ]
null
null
null
Algorithms/0023.MergeKSortedLists/solution.cpp
stdstring/leetcode
84e6bade7d6fc1a737eb6796cb4e2565440db5e3
[ "MIT" ]
null
null
null
Algorithms/0023.MergeKSortedLists/solution.cpp
stdstring/leetcode
84e6bade7d6fc1a737eb6796cb4e2565440db5e3
[ "MIT" ]
null
null
null
#include <queue> #include <vector> #include "ListNode.h" #include "ListNodeUtils.h" #include "gtest/gtest.h" using CommonLib::ListNode; namespace { class Solution { public: ListNode* mergeKLists(std::vector<ListNode*> const &lists) { auto comp = [](ListNode* left, ListNode* right){ return left->val...
25.633803
118
0.52967
stdstring
193b65c74c6443443efd2c4733991672729e7e86
1,433
hpp
C++
minimal_sdk/public/containers/utldict.hpp
vocweb/cso2-launcher
abc144acaa3dfb5b0c9acd61cd75970cac012617
[ "MIT" ]
55
2018-09-01T17:52:17.000Z
2019-09-23T10:30:49.000Z
minimal_sdk/public/containers/utldict.hpp
RedheatWei/cso2-launcher
4cebbb98d51d33bd24c9a86a1d3fc311686d5011
[ "MIT" ]
70
2018-08-22T05:53:34.000Z
2019-09-23T15:11:39.000Z
minimal_sdk/public/containers/utldict.hpp
RedheatWei/cso2-launcher
4cebbb98d51d33bd24c9a86a1d3fc311686d5011
[ "MIT" ]
39
2018-09-01T21:42:50.000Z
2019-09-23T18:38:07.000Z
#pragma once #include <cstring> #include "containers/utlmap.hpp" #ifdef _WIN32 #define stricmp _stricmp #else #define stricmp strcasecmp #endif inline bool CaselessStringLessThan( const char* const& lhs, const char* const& rhs ) { if ( !lhs ) return false; if ( !r...
22.046154
69
0.598046
vocweb
193baa28349a290947ae28e4780acc661b713584
709
cpp
C++
sycl/test/on-device/xocc/disabled/broken/name_collision.cpp
mgehre-xlx/sycl
2086745509ef4bc298d7bbec402a123dae68f25e
[ "Apache-2.0" ]
61
2019-04-12T18:49:57.000Z
2022-03-19T22:23:16.000Z
sycl/test/on-device/xocc/disabled/broken/name_collision.cpp
mgehre-xlx/sycl
2086745509ef4bc298d7bbec402a123dae68f25e
[ "Apache-2.0" ]
127
2019-04-09T00:55:50.000Z
2022-03-21T15:35:41.000Z
sycl/test/on-device/xocc/disabled/broken/name_collision.cpp
mgehre-xlx/sycl
2086745509ef4bc298d7bbec402a123dae68f25e
[ "Apache-2.0" ]
10
2019-04-02T18:25:40.000Z
2022-02-15T07:11:37.000Z
// REQUIRES: xocc // RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out // RUN: %ACC_RUN_PLACEHOLDER %t.out // TODO should be a Sema test #include <CL/sycl.hpp> #include "../utilities/device_selectors.hpp" using namespace cl::sycl; class add_2; int main() { selector_defines::CompiledForDeviceSelecto...
16.880952
64
0.57969
mgehre-xlx
1943e504d831c8eac0d1a9ed4fd33283c4ceb1ea
2,860
hpp
C++
bsengine/src/bstorm/logger.hpp
At-sushi/bstorm
156036afd698d98f0ed67f0efa6bc416115806f7
[ "MIT" ]
null
null
null
bsengine/src/bstorm/logger.hpp
At-sushi/bstorm
156036afd698d98f0ed67f0efa6bc416115806f7
[ "MIT" ]
null
null
null
bsengine/src/bstorm/logger.hpp
At-sushi/bstorm
156036afd698d98f0ed67f0efa6bc416115806f7
[ "MIT" ]
null
null
null
#pragma once #include <bstorm/source_map.hpp> #include <string> #include <memory> #include <vector> #include <mutex> namespace bstorm { class LogParam { public: enum class Tag { TEXT, TEXTURE, SOUND, MESH, PLAYER_SHOT_DATA, ENEMY_SHOT_DATA, ITEM_DATA, ...
26
84
0.654196
At-sushi
1944823fef65060394f79ec527543ef0dc6f84af
14,712
cpp
C++
examples/hxhim/cli.cpp
hpc/hxhim
1a2224a200cb5a9fae33da13720e68beb5bee746
[ "BSD-3-Clause" ]
2
2020-11-25T17:45:58.000Z
2021-12-21T02:01:16.000Z
examples/hxhim/cli.cpp
hpc/hxhim
1a2224a200cb5a9fae33da13720e68beb5bee746
[ "BSD-3-Clause" ]
null
null
null
examples/hxhim/cli.cpp
hpc/hxhim
1a2224a200cb5a9fae33da13720e68beb5bee746
[ "BSD-3-Clause" ]
1
2021-10-11T19:54:05.000Z
2021-10-11T19:54:05.000Z
#include <cstring> #include <ios> #include <iostream> #include <list> #include <map> #include <sstream> #include "hxhim/hxhim.hpp" #include "print_results.h" #include "utils/Blob.hpp" // private header #include "utils/memory.hpp" enum HXHIM_OP { PUT, GET, GETOP, DEL, BPUT, BGET, BGETOP, ...
32.548673
178
0.494562
hpc
19479dd6b3bc0d9adfe49819ccb09e8be6112570
1,120
cpp
C++
BasicRenderer/src/RenderSystem/RenderObjects/Bindable/IndexBuffer.cpp
LexSheyn/DirectX11_TEST
bcc7d09c5e24cd923decbe8f1852fd05c810a2f6
[ "Apache-2.0" ]
null
null
null
BasicRenderer/src/RenderSystem/RenderObjects/Bindable/IndexBuffer.cpp
LexSheyn/DirectX11_TEST
bcc7d09c5e24cd923decbe8f1852fd05c810a2f6
[ "Apache-2.0" ]
null
null
null
BasicRenderer/src/RenderSystem/RenderObjects/Bindable/IndexBuffer.cpp
LexSheyn/DirectX11_TEST
bcc7d09c5e24cd923decbe8f1852fd05c810a2f6
[ "Apache-2.0" ]
null
null
null
#include "../../../PrecompiledHeaders/stdafx.h" #include "IndexBuffer.h" namespace dx11 { // Constructors and Destructor: IndexBuffer::IndexBuffer(RenderSystem& renderSystem, const std::vector<uint16>& indices) : count( UINT( indices.size() ) ) { D3D11_BUFFER_DESC index_buffer_desc = {}; index_buffer_desc.Bi...
26.046512
116
0.755357
LexSheyn
194edcd60b676d2b702caf68ea5608d0ad8ce143
4,462
cpp
C++
src/main.cpp
tsaarni/avr-high-voltage-serial-programming
102426504dea4326896aa598a6a218b900c044fb
[ "BSD-3-Clause" ]
27
2017-08-15T05:45:21.000Z
2022-03-27T21:32:46.000Z
src/main.cpp
AA6KL/avr-high-voltage-serial-programming
102426504dea4326896aa598a6a218b900c044fb
[ "BSD-3-Clause" ]
1
2022-01-10T19:43:12.000Z
2022-01-10T19:43:12.000Z
src/main.cpp
AA6KL/avr-high-voltage-serial-programming
102426504dea4326896aa598a6a218b900c044fb
[ "BSD-3-Clause" ]
11
2017-08-15T16:28:41.000Z
2021-04-26T11:52:54.000Z
// // BSD 3-Clause License // // Copyright (c) 2017, Tero Saarni // // // This software re-programs ATtiny85 fuses using the high-voltage // serial programming method. // // // References // // * ATtiny85 datasheet - // http://www.atmel.com/images/atmel-2586-avr-8-bit-microcontroller-attiny25-attiny45-attiny85_da...
30.353741
112
0.680861
tsaarni
1958ce79e96fc3c2e4c92e2e5427e6916560a676
8,696
cpp
C++
src/engine/drawable/richtext.cpp
FoFabien/SF2DEngine
3d10964cbdae439584c10ab427ade394d720713f
[ "Zlib" ]
null
null
null
src/engine/drawable/richtext.cpp
FoFabien/SF2DEngine
3d10964cbdae439584c10ab427ade394d720713f
[ "Zlib" ]
null
null
null
src/engine/drawable/richtext.cpp
FoFabien/SF2DEngine
3d10964cbdae439584c10ab427ade394d720713f
[ "Zlib" ]
null
null
null
#include "richtext.hpp" #include <SFML/Graphics.hpp> #include <sstream> static std::map<sf::String, sf::Color> colors; // same as sf::Text styles // define them locally to redefine them for a child class for example #define Regular 0 #define Bold 1 #define Italic 2 #define Underlined 4 // TextChunk ...
24.426966
133
0.504715
FoFabien
195a845d8e8e2cc67adee07d0846fa4e01e7a053
169
cpp
C++
test/RegExTest.cpp
simonask/snow-deprecated
4af5bd33481bd6e9bf516e7fa1a78c38e2ad03a1
[ "0BSD" ]
1
2015-11-05T06:07:12.000Z
2015-11-05T06:07:12.000Z
test/RegExTest.cpp
simonask/snow-deprecated
4af5bd33481bd6e9bf516e7fa1a78c38e2ad03a1
[ "0BSD" ]
null
null
null
test/RegExTest.cpp
simonask/snow-deprecated
4af5bd33481bd6e9bf516e7fa1a78c38e2ad03a1
[ "0BSD" ]
null
null
null
#include "test.h" #include "runtime/RegEx.h" using namespace snow; TEST_SUITE(RegEx); TEST_CASE(simple_match) { PENDING(); } TEST_CASE(simple_search) { PENDING(); }
13
26
0.721893
simonask
195bf2eed8dbab9b50896977c600a3caebae6cab
4,047
hpp
C++
src/sched/entry/write_entry.hpp
mshiryaev/oneccl
fb4bd69b0bfa72f0ed16ac2328205e51cf12d4aa
[ "Apache-2.0" ]
null
null
null
src/sched/entry/write_entry.hpp
mshiryaev/oneccl
fb4bd69b0bfa72f0ed16ac2328205e51cf12d4aa
[ "Apache-2.0" ]
null
null
null
src/sched/entry/write_entry.hpp
mshiryaev/oneccl
fb4bd69b0bfa72f0ed16ac2328205e51cf12d4aa
[ "Apache-2.0" ]
null
null
null
/* Copyright 2016-2019 Intel Corporation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in w...
29.540146
100
0.547072
mshiryaev
19603e37219f2defe3844bb292c7f5ef815118a0
10,569
cpp
C++
src/domain.cpp
egdaub/fdfault
ec066f032ba109843164429aa7d9e7352485d735
[ "MIT" ]
12
2017-10-05T22:04:40.000Z
2020-08-31T08:32:17.000Z
src/domain.cpp
jhsa26/fdfault
ec066f032ba109843164429aa7d9e7352485d735
[ "MIT" ]
3
2020-05-06T16:48:32.000Z
2020-09-18T11:41:41.000Z
src/domain.cpp
jhsa26/fdfault
ec066f032ba109843164429aa7d9e7352485d735
[ "MIT" ]
12
2017-03-24T19:15:27.000Z
2020-08-31T08:32:18.000Z
#include <iostream> #include <fstream> #include <cassert> #include <string> #include "block.hpp" #include "cartesian.hpp" #include "domain.hpp" #include "fd.hpp" #include "fields.hpp" #include "friction.hpp" #include "interface.hpp" #include "rk.hpp" #include "slipweak.hpp" #include "stz.hpp" #include <mpi.h> using na...
25.40625
118
0.504589
egdaub
1963f5b09d876859feb4f7a7147f97955500b5fb
2,013
hpp
C++
queues/simple_locked_queue.hpp
lundgren87/qd_library
f19c412fbe97655601c761f27dd5a16abf7aa7a6
[ "BSD-2-Clause" ]
10
2016-10-26T13:36:18.000Z
2020-03-16T02:19:40.000Z
queues/simple_locked_queue.hpp
lundgren87/qd_library
f19c412fbe97655601c761f27dd5a16abf7aa7a6
[ "BSD-2-Clause" ]
null
null
null
queues/simple_locked_queue.hpp
lundgren87/qd_library
f19c412fbe97655601c761f27dd5a16abf7aa7a6
[ "BSD-2-Clause" ]
5
2016-10-07T12:28:59.000Z
2022-03-22T14:16:53.000Z
#ifndef qd_simple_locked_queue_hpp #define qd_simple_locked_queue_hpp qd_simple_locked_queue_hpp #include<array> #include<cassert> #include<mutex> #include<queue> class simple_locked_queue { std::mutex lock; std::queue<std::array<char, 128>> queue; typedef std::lock_guard<std::mutex> scoped_guard; typedef void(...
26.142857
75
0.646299
lundgren87
19675ab5730b5e672335d8c569df4766e88cfe3f
3,883
cc
C++
src/ssl_info_action.cc
jeff-cn/doogie
1b4ed74adecbae773b51e674d298e3d5b09e4244
[ "MIT" ]
291
2017-07-19T22:32:25.000Z
2022-02-16T03:03:21.000Z
charts/doogie-0.7.8/src/ssl_info_action.cc
hyq5436/playground
828b9d2266dbb7d0311e2e73b295fcafb101d94f
[ "MIT" ]
81
2017-09-06T15:46:27.000Z
2020-11-30T14:12:11.000Z
charts/doogie-0.7.8/src/ssl_info_action.cc
hyq5436/playground
828b9d2266dbb7d0311e2e73b295fcafb101d94f
[ "MIT" ]
29
2017-09-18T19:14:50.000Z
2022-01-24T06:03:17.000Z
#include "ssl_info_action.h" namespace doogie { SslInfoAction::SslInfoAction(const Cef& cef, BrowserWidget* browser_widg) : QWidgetAction(browser_widg), cef_(cef), browser_widg_(browser_widg) { } QWidget* SslInfoAction::createWidget(QWidget* parent) { auto errored_ssl_info = browser_widg_->ErroredSslInfo(); ...
37.699029
77
0.722637
jeff-cn
1967fc2cfe2e1f1dc101872396eb1497aa847e97
501
hpp
C++
comparetorfactory.hpp
cloudicen/TexasPoker
dc2c9debe38dbe811eb64540c702290ee5b0156d
[ "MIT" ]
null
null
null
comparetorfactory.hpp
cloudicen/TexasPoker
dc2c9debe38dbe811eb64540c702290ee5b0156d
[ "MIT" ]
null
null
null
comparetorfactory.hpp
cloudicen/TexasPoker
dc2c9debe38dbe811eb64540c702290ee5b0156d
[ "MIT" ]
null
null
null
#ifndef COMPARETORFACTORY_HPP #define COMPARETORFACTORY_HPP #include "comparetor.hpp" #include "QPointer" /** * @brief The deckType enum,定义了各种牌型的枚举 */ enum deckType{undefined,high_card,one_pair,two_pairs,three_of_a_kind,straight,flush,full_house,four_of_a_kind,straight_flush,royal_flush}; /** * @brief The comparet...
23.857143
138
0.802395
cloudicen
196de25f738ff244d1313b7e80e870f003bcbaa7
2,804
cpp
C++
Nacro/SDK/FN_WorkerTooltipStatsWidget_functions.cpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
11
2021-08-08T23:25:10.000Z
2022-02-19T23:07:22.000Z
Nacro/SDK/FN_WorkerTooltipStatsWidget_functions.cpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
1
2022-01-01T22:51:59.000Z
2022-01-08T16:14:15.000Z
Nacro/SDK/FN_WorkerTooltipStatsWidget_functions.cpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
8
2021-08-09T13:51:54.000Z
2022-01-26T20:33:37.000Z
// Fortnite (1.8) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "../SDK.hpp" namespace SDK { //--------------------------------------------------------------------------- //Functions //--------------------------------------------------------------------------- // Function WorkerTooltipStatsWidget.Wor...
29.208333
155
0.731455
Milxnor
196edfd0541a5114a81b67144dfa7bcf5ddb8c42
1,220
cpp
C++
src/_DrawableMatte.cpp
veryhappythings/pgmagick
5dce5fa4681400b4c059431ad69233e6a3e5799a
[ "MIT" ]
136
2015-07-15T12:49:36.000Z
2022-03-24T12:30:25.000Z
src/_DrawableMatte.cpp
veryhappythings/pgmagick
5dce5fa4681400b4c059431ad69233e6a3e5799a
[ "MIT" ]
59
2015-12-28T21:40:37.000Z
2022-03-31T13:11:50.000Z
src/_DrawableMatte.cpp
veryhappythings/pgmagick
5dce5fa4681400b4c059431ad69233e6a3e5799a
[ "MIT" ]
33
2015-12-04T08:00:07.000Z
2022-01-28T23:39:25.000Z
#include <boost/python.hpp> #include <boost/cstdint.hpp> #include <Magick++/Drawable.h> #include <Magick++.h> using namespace boost::python; namespace { struct Magick_DrawableMatte_Wrapper: Magick::DrawableMatte { Magick_DrawableMatte_Wrapper(PyObject* py_self_, double p0, double p1, Magick::PaintMethod p2): ...
34.857143
178
0.688525
veryhappythings
196f7e48086742ca2f3d80e64272b0f92a8f4057
4,298
cpp
C++
test/unittest/compiler/unittest_interpreter.cpp
gichan-jang/nntrainer
273ca7d6ecb3077d93539b81a9d9340e0c1dc812
[ "Apache-2.0" ]
null
null
null
test/unittest/compiler/unittest_interpreter.cpp
gichan-jang/nntrainer
273ca7d6ecb3077d93539b81a9d9340e0c1dc812
[ "Apache-2.0" ]
2
2021-04-19T11:42:07.000Z
2021-04-21T10:26:04.000Z
test/unittest/compiler/unittest_interpreter.cpp
gichan-jang/nntrainer
273ca7d6ecb3077d93539b81a9d9340e0c1dc812
[ "Apache-2.0" ]
null
null
null
// SPDX-License-Identifier: Apache-2.0 /** * Copyright (C) 2021 Jihoon Lee <jhoon.it.lee@samsung.com> * * @file unittest_interpreter.cpp * @date 02 April 2021 * @brief interpreter test * @see https://github.com/nnstreamer/nntrainer * @author Jihoon Lee <jhoon.it.lee@samsung.com> * @bug No known bugs except for ...
31.837037
80
0.701489
gichan-jang
197055abf1559514dd02c0f191b0e2957efbd748
2,495
cpp
C++
Source/Graphics/Renderer/Renderer.cpp
narendraumate/Sandbox
7b7cef7a1876bfa3cfe2c79ff5e6daede1d50b13
[ "MIT" ]
null
null
null
Source/Graphics/Renderer/Renderer.cpp
narendraumate/Sandbox
7b7cef7a1876bfa3cfe2c79ff5e6daede1d50b13
[ "MIT" ]
null
null
null
Source/Graphics/Renderer/Renderer.cpp
narendraumate/Sandbox
7b7cef7a1876bfa3cfe2c79ff5e6daede1d50b13
[ "MIT" ]
null
null
null
// // Renderer.cpp // // // Created by Narendra Umate on 9/7/13. // // #include "Renderer.h" Renderer::Renderer(const int& width, const int& height) : m_width(width) , m_height(height) , m_clearColor(Color4f(0.5f, 0.5f, 0.5f, 1.0f)) , m_clearDepth(1.0f) , m_clearStencil(1) { } Renderer::~Renderer() { m_width = 0;...
30.802469
287
0.755511
narendraumate
197bac971e6f7d5e47fce66bdb276fe36a3542d7
930
cpp
C++
gtfo_testing/runtime/algorithm/count_if.cpp
TMorozovsky/Generic_Tools_for_Frequent_Operations
bbc6804e1259f53a84375316cddeb9b648359c28
[ "MIT" ]
1
2016-01-09T09:57:55.000Z
2016-01-09T09:57:55.000Z
gtfo_testing/runtime/algorithm/count_if.cpp
TMorozovsky/Generic_Tools_for_Frequent_Operations
bbc6804e1259f53a84375316cddeb9b648359c28
[ "MIT" ]
null
null
null
gtfo_testing/runtime/algorithm/count_if.cpp
TMorozovsky/Generic_Tools_for_Frequent_Operations
bbc6804e1259f53a84375316cddeb9b648359c28
[ "MIT" ]
null
null
null
#include "gtfo/algorithm/count_if.hpp" #include "gtfo_testing/runtime/runtime_tests.hpp" using namespace gtfo::runtime_test_helpers; namespace { struct Foo { int x; Foo() : x(42) { } explicit Foo(int x) : x(x) { } }; class Bool { private: bool _value; publi...
19.375
76
0.569892
TMorozovsky
1987a2b4d96cf43b2be6d2b61e9ee7692691c499
9,723
cpp
C++
ButiEngine_User/StageSelect.cpp
butibuti/CatchTheMoney
9f80d13b753b9b62709f36ae5dbd1d5f549c5d2e
[ "MIT" ]
null
null
null
ButiEngine_User/StageSelect.cpp
butibuti/CatchTheMoney
9f80d13b753b9b62709f36ae5dbd1d5f549c5d2e
[ "MIT" ]
null
null
null
ButiEngine_User/StageSelect.cpp
butibuti/CatchTheMoney
9f80d13b753b9b62709f36ae5dbd1d5f549c5d2e
[ "MIT" ]
null
null
null
#include "stdafx_u.h" #include "StageSelect.h" #include "ParentSelectPanel.h" #include "InputManager.h" #include "SelectScreen.h" #include "ShakeComponent.h" #include "SelectPlayer.h" #include "SceneChangeAnimation.h" #include "GameSettings.h" #include"PauseManager.h" #include"Header/GameObjects/DefaultGameComponent/Ou...
30.28972
168
0.724673
butibuti
198afa841e2b4b299cfac1ee12484b0c5f49e1f8
7,593
cpp
C++
editor/mainwindow.cpp
ErrrOrrr503/DOORkaEngine
90084cc622b1bcc021d9c3de5ccb52b349d4217e
[ "WTFPL" ]
null
null
null
editor/mainwindow.cpp
ErrrOrrr503/DOORkaEngine
90084cc622b1bcc021d9c3de5ccb52b349d4217e
[ "WTFPL" ]
null
null
null
editor/mainwindow.cpp
ErrrOrrr503/DOORkaEngine
90084cc622b1bcc021d9c3de5ccb52b349d4217e
[ "WTFPL" ]
null
null
null
#include "mainwindow.h" #include "ui_mainwindow.h" MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); ui->console->setReadOnly(true); ui->texture_label->clear(); ogl_layout = new QHBoxLayout(ui->frame_ogl); ogl_layout->setContentsMargins(0, 0...
28.226766
129
0.613591
ErrrOrrr503
198d0718efc73c0de5a00ae19fa727d5b91c2511
466
cpp
C++
cpp1st/week08/taehwan/example_regex_error.cpp
th4inquiry/PentaDevs
aa379d24494a485ad5e7fdcc385c6ccfb02cf307
[ "Apache-2.0" ]
2
2022-03-10T10:18:23.000Z
2022-03-16T15:37:22.000Z
cpp1st/week08/taehwan/example_regex_error.cpp
th4inquiry/PentaDevs
aa379d24494a485ad5e7fdcc385c6ccfb02cf307
[ "Apache-2.0" ]
8
2022-03-09T16:14:47.000Z
2022-03-28T15:35:17.000Z
cpp1st/week08/taehwan/example_regex_error.cpp
th4inquiry/PentaDevs
aa379d24494a485ad5e7fdcc385c6ccfb02cf307
[ "Apache-2.0" ]
4
2022-03-08T00:22:29.000Z
2022-03-12T13:22:43.000Z
/// /// Copyright 2022 PentaDevs /// Author: Taehwan Kim /// Contents: Examples of regex_error (referenced from CppReference) #include <regex> #include <iostream> int main() { try { std::regex re("[a-b][a"); } catch (const std::regex_error& e) { std::cout << "regex_error caught: " << e.wha...
23.3
68
0.564378
th4inquiry
199034cd2c78220b6d27610356901fd7f2406bb0
1,685
cpp
C++
G53GRA.Framework/Code/Sky.cpp
baisebaoma/COMP3069CW
731627a4d5d961435f3c4064e2c789db6a70423a
[ "MIT" ]
null
null
null
G53GRA.Framework/Code/Sky.cpp
baisebaoma/COMP3069CW
731627a4d5d961435f3c4064e2c789db6a70423a
[ "MIT" ]
null
null
null
G53GRA.Framework/Code/Sky.cpp
baisebaoma/COMP3069CW
731627a4d5d961435f3c4064e2c789db6a70423a
[ "MIT" ]
null
null
null
#include "Sky.hpp" #include <iostream> #include <cmath> // TODO: 现在是全写在Sky里,到时候得分开成各个东西。(refactor) #include <stdio.h> #include <stdlib.h> // MAKE SURE WE INITIALISE OUR VARIABLES Sky::Sky() : keyframe(-1), animateTime(0.0), animateRotation(0.0), animateTranslation(0.0), interpA(0.0), interpB(0.0), interpTime(0.0){...
24.42029
95
0.659347
baisebaoma
19963cc8374e09c591274312c5cda381f5d7e39d
12,753
cc
C++
src/core/user_interface.cc
juliomarcelopicardo/Wolfy2D
34cf5afca05e1f1cf57ad7899152efe09391ac7b
[ "MIT" ]
null
null
null
src/core/user_interface.cc
juliomarcelopicardo/Wolfy2D
34cf5afca05e1f1cf57ad7899152efe09391ac7b
[ "MIT" ]
null
null
null
src/core/user_interface.cc
juliomarcelopicardo/Wolfy2D
34cf5afca05e1f1cf57ad7899152efe09391ac7b
[ "MIT" ]
null
null
null
/** Copyright Julio Marcelo Picardo 2017-18, all rights reserved. * * @project Wolfy2D - Including JMP scripting language. * @author Julio Marcelo Picardo <juliomarcelopicardo@gmail.com> */ #include "core/user_interface.h" #include "GLFW/glfw3.h" #include "imgui.h" #include "imgui_dock.h" #include "core/core.h" #i...
35.035714
140
0.632165
juliomarcelopicardo
199b46ae2e5d531d246a12762b8d9930fa3aafba
7,620
cpp
C++
Data Structures/Heaps/Fibonacci Heap.cpp
Rand0mUsername/Algorithms
05ec0d7ed7f0a4d13000d9d77d743812ac9a27e0
[ "MIT" ]
2
2020-01-10T14:12:03.000Z
2020-05-28T19:12:21.000Z
Data Structures/Heaps/Fibonacci Heap.cpp
Rand0mUsername/algorithms
05ec0d7ed7f0a4d13000d9d77d743812ac9a27e0
[ "MIT" ]
null
null
null
Data Structures/Heaps/Fibonacci Heap.cpp
Rand0mUsername/algorithms
05ec0d7ed7f0a4d13000d9d77d743812ac9a27e0
[ "MIT" ]
1
2022-01-11T03:14:48.000Z
2022-01-11T03:14:48.000Z
// RandomUsername (Nikola Jovanovic) // Fibonacci Heap // Source: CLRS, Third Edition #include <algorithm> #include <cstdlib> #include <fstream> #include <iostream> #include <string> struct Node { Node* left; Node* right; Node* parent; Node* first_child; int key; int degree; bool marked; explicit Node...
25.065789
74
0.56168
Rand0mUsername
19a273935ae0662816c7a68f7d39f79db444aea3
7,301
hpp
C++
src/byl_avl_tree.hpp
superboy0712/toy_template_library
4b62a52bf0789472807206997253b0cc7cdd8102
[ "MIT" ]
null
null
null
src/byl_avl_tree.hpp
superboy0712/toy_template_library
4b62a52bf0789472807206997253b0cc7cdd8102
[ "MIT" ]
null
null
null
src/byl_avl_tree.hpp
superboy0712/toy_template_library
4b62a52bf0789472807206997253b0cc7cdd8102
[ "MIT" ]
null
null
null
// // Created by yulong on 3/31/17. // #ifndef BYL_TEMPLATE_LIBRARY_AVL_TREE_H #define BYL_TEMPLATE_LIBRARY_AVL_TREE_H #include "byl_bst.hpp" #include <cstddef> namespace byl { template<typename T> struct avl_tree; template<typename T> struct avl_node { typedef T value_type; typedef size_t size_type;; fri...
31.200855
108
0.506506
superboy0712
19ac69b353212e5cb772c9447e2512f70e77bf4a
243
cpp
C++
24_qstackedwidget/src/pessoa.cpp
josersi/qt_cppmaster
62e8499c1f17463bd4209ac61ae4fc8d49da69e4
[ "MIT" ]
1
2018-09-01T05:57:29.000Z
2018-09-01T05:57:29.000Z
24_qstackedwidget/src/pessoa.cpp
josersi/qt_cppmaster
62e8499c1f17463bd4209ac61ae4fc8d49da69e4
[ "MIT" ]
null
null
null
24_qstackedwidget/src/pessoa.cpp
josersi/qt_cppmaster
62e8499c1f17463bd4209ac61ae4fc8d49da69e4
[ "MIT" ]
1
2019-09-26T01:45:10.000Z
2019-09-26T01:45:10.000Z
#include "pessoa.h" Pessoa::Pessoa(QObject *parent) : QObject(parent) { } QString Pessoa::getNome() const { return nome; } void Pessoa::setNome(const QString &value) { nome = value; emit nomeChanged(nome); }
12.789474
50
0.613169
josersi
30abe44edfcc28fa640af9703d47dcf0c8fc614e
600
cpp
C++
3D-TV/PerfTimer.cpp
TheByteKitchen/Kinect_client_server
47bd066199f5b112b476e4d34ad333a535baa314
[ "MS-PL" ]
null
null
null
3D-TV/PerfTimer.cpp
TheByteKitchen/Kinect_client_server
47bd066199f5b112b476e4d34ad333a535baa314
[ "MS-PL" ]
null
null
null
3D-TV/PerfTimer.cpp
TheByteKitchen/Kinect_client_server
47bd066199f5b112b476e4d34ad333a535baa314
[ "MS-PL" ]
null
null
null
//// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF //// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO //// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A //// PARTICULAR PURPOSE. //// //// Copyright (c) Microsoft Corporation. All rights reserved #include "pch.h...
37.5
77
0.743333
TheByteKitchen
30acddda17fe21c4369a615ea1200d62f0b10f6d
2,174
cpp
C++
Engine/Platforms/Public/Tools/GPUThreadHelper.cpp
azhirnov/GraphicsGenFramework-modular
348be601f1991f102defa0c99250529f5e44c4d3
[ "BSD-2-Clause" ]
12
2017-12-23T14:24:57.000Z
2020-10-02T19:52:12.000Z
Engine/Platforms/Public/Tools/GPUThreadHelper.cpp
azhirnov/ModularGraphicsFramework
348be601f1991f102defa0c99250529f5e44c4d3
[ "BSD-2-Clause" ]
null
null
null
Engine/Platforms/Public/Tools/GPUThreadHelper.cpp
azhirnov/ModularGraphicsFramework
348be601f1991f102defa0c99250529f5e44c4d3
[ "BSD-2-Clause" ]
null
null
null
// Copyright (c) Zhirnov Andrey. For more information see 'LICENSE.txt' #include "Engine/Platforms/Public/Tools/GPUThreadHelper.h" namespace Engine { namespace PlatformTools { /* ================================================= FindGraphicsThread ================================================= */ ModulePtr GP...
27.175
77
0.589236
azhirnov
30b4715024c575a744b186b209157ca94722c5af
456
cpp
C++
cpp/inifile/test.cpp
0382/util
b8163f52352341ae7872d95b7f18542f17a94633
[ "MIT" ]
null
null
null
cpp/inifile/test.cpp
0382/util
b8163f52352341ae7872d95b7f18542f17a94633
[ "MIT" ]
null
null
null
cpp/inifile/test.cpp
0382/util
b8163f52352341ae7872d95b7f18542f17a94633
[ "MIT" ]
null
null
null
#include "inifile.hpp" int main() { auto ini = util::inifile("test.ini"); if (!ini.good()) { std::cerr << ini.error() << std::endl; exit(-1); } std::cout << "default section: name = " << ini.get_string("name") << '\n'; ini.set_string("set", "string"); std::cout << "section1...
25.333333
88
0.497807
0382
30c2cccfa2f3c1e5f3de472b340de4aafaedccca
22
cpp
C++
src/mjast_and.cpp
lucasalj/mjcompiler
4404e4ce25f009c60d9f93d0118f33bb1d56b2cf
[ "MIT" ]
null
null
null
src/mjast_and.cpp
lucasalj/mjcompiler
4404e4ce25f009c60d9f93d0118f33bb1d56b2cf
[ "MIT" ]
null
null
null
src/mjast_and.cpp
lucasalj/mjcompiler
4404e4ce25f009c60d9f93d0118f33bb1d56b2cf
[ "MIT" ]
null
null
null
#include <mjast_and.h>
22
22
0.772727
lucasalj
30cf79f21e82a1d1ae95a5e7baa57f4321c29b03
17,711
cpp
C++
src/ringmesh/geomodel/tools/mesh_quality.cpp
ringmesh/RINGMesh
82a0a0fb0a119492c6747265de6ec24006c4741f
[ "BSD-3-Clause" ]
74
2017-10-26T15:40:23.000Z
2022-03-22T09:27:39.000Z
src/ringmesh/geomodel/tools/mesh_quality.cpp
ringmesh/ringmesh
82a0a0fb0a119492c6747265de6ec24006c4741f
[ "BSD-3-Clause" ]
45
2017-10-26T15:54:01.000Z
2021-01-27T10:16:34.000Z
src/ringmesh/geomodel/tools/mesh_quality.cpp
ringmesh/ringmesh
82a0a0fb0a119492c6747265de6ec24006c4741f
[ "BSD-3-Clause" ]
17
2018-03-27T11:31:24.000Z
2022-03-06T18:41:52.000Z
/* * Copyright (c) 2012-2018, Association Scientifique pour la Geologie et ses * Applications (ASGA). 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 mus...
41.575117
97
0.611484
ringmesh
30cf9a1e4c280de211c6f47e1da4bb8d58ea336d
2,835
cpp
C++
primitive_roots_tests.cpp
Mirraz/number-theory
30f444f8b61cc5946d4615bafe237994d7836cbf
[ "MIT" ]
null
null
null
primitive_roots_tests.cpp
Mirraz/number-theory
30f444f8b61cc5946d4615bafe237994d7836cbf
[ "MIT" ]
null
null
null
primitive_roots_tests.cpp
Mirraz/number-theory
30f444f8b61cc5946d4615bafe237994d7836cbf
[ "MIT" ]
null
null
null
#include <assert.h> #include <stdio.h> #include <stdint.h> #include <inttypes.h> #include <math.h> #include "primitive_roots.h" #define main HIDE_main #define tests_suite HIDE_tests_suite #define test_max_primitive_root HIDE_test_max_primitive_root #include "mul_group_mod_tests.cpp" #undef main #undef tests_suite #und...
29.53125
81
0.722751
Mirraz
30d61e145e98bb61d3e96be726741974debf1d6d
602
cpp
C++
replace_character.cpp
chandan9369/Recursion-backtracking-problems
360e5de72e23dfd4e3f343baa1e1abdfb801ccc3
[ "MIT" ]
null
null
null
replace_character.cpp
chandan9369/Recursion-backtracking-problems
360e5de72e23dfd4e3f343baa1e1abdfb801ccc3
[ "MIT" ]
null
null
null
replace_character.cpp
chandan9369/Recursion-backtracking-problems
360e5de72e23dfd4e3f343baa1e1abdfb801ccc3
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; void replace(char s[], char c1, char c2) { //base case if (s[0] == '\0') { return; } if (s[0] == c1) { s[0] = c2; } replace(s + 1, c1, c2); } int main() { char s[100]; cin >> s; char c1, c2; cout << "Enter char...
21.5
121
0.501661
chandan9369
30dd8562f1660168b8dfe9e37926033955f4dcb3
1,448
hpp
C++
test/include/nuschl/unittests/vector_printer.hpp
behlec/nuschl
35dbdd6dca8e59387623cc8a23f71324e07ea98c
[ "MIT" ]
null
null
null
test/include/nuschl/unittests/vector_printer.hpp
behlec/nuschl
35dbdd6dca8e59387623cc8a23f71324e07ea98c
[ "MIT" ]
null
null
null
test/include/nuschl/unittests/vector_printer.hpp
behlec/nuschl
35dbdd6dca8e59387623cc8a23f71324e07ea98c
[ "MIT" ]
null
null
null
#pragma once // clang-format off #include <boost/test/unit_test.hpp> #include <boost/test/test_tools.hpp> // clang-format on #include <nuschl/s_exp.hpp> #include <iostream> #include <vector> std::ostream &operator<<(std::ostream &os, const std::vector<int> &vec); std::ostream &operator<<(std::ostream &os, const std...
27.846154
80
0.61326
behlec
30f08690e448df39c2889d227793a0054a3f0339
842
cpp
C++
Depth-first Search/max-area-of-island.cpp
PrakharPipersania/LeetCode-Solutions
ea74534bbdcf1ca3ea4d88a1081582e0e15f50c7
[ "MIT" ]
2
2021-03-05T22:32:23.000Z
2021-03-05T22:32:29.000Z
Questions Level-Wise/Medium/max-area-of-island.cpp
PrakharPipersania/LeetCode-Solutions
ea74534bbdcf1ca3ea4d88a1081582e0e15f50c7
[ "MIT" ]
null
null
null
Questions Level-Wise/Medium/max-area-of-island.cpp
PrakharPipersania/LeetCode-Solutions
ea74534bbdcf1ca3ea4d88a1081582e0e15f50c7
[ "MIT" ]
null
null
null
class Solution { public: void findarea(vector<vector<int>>& grid,int r,int c,int &t) { grid[r][c]=0,t++; if(r+1<grid.size()&&grid[r+1][c]) findarea(grid,r+1,c,t); if(r-1>=0&&grid[r-1][c]) findarea(grid,r-1,c,t); if(c+1<grid[0].size()&&grid[r][c+1]) ...
26.3125
63
0.388361
PrakharPipersania
30f193a757d6a35bd19a711a276b02e2fcbfbcba
174
cpp
C++
address1.cpp
Biteliuying/address
d2ef3a79b214d5282e8307cde741a8938830d6b2
[ "Apache-2.0" ]
null
null
null
address1.cpp
Biteliuying/address
d2ef3a79b214d5282e8307cde741a8938830d6b2
[ "Apache-2.0" ]
1
2022-02-10T15:28:30.000Z
2022-02-10T15:28:30.000Z
address1.cpp
Biteliuying/address
d2ef3a79b214d5282e8307cde741a8938830d6b2
[ "Apache-2.0" ]
null
null
null
#define _CRT_SECURE_NO_WARNINGS #include<stdio.h> int main() { char a,b; a = 'a'; b = 'b'; putchar(a); putchar('\n'); putchar(b); printf("\n%c\n%c", a,b); }
14.5
32
0.545977
Biteliuying
30f54b4f48d2376297310dd98ca85d87ff9407b5
1,359
tcc
C++
include/bits/sqlite_iterator.tcc
vashman/data_pattern_sqlite
8ed3d1fe3e86ea7165d43277feb05d84189f696e
[ "BSL-1.0" ]
null
null
null
include/bits/sqlite_iterator.tcc
vashman/data_pattern_sqlite
8ed3d1fe3e86ea7165d43277feb05d84189f696e
[ "BSL-1.0" ]
null
null
null
include/bits/sqlite_iterator.tcc
vashman/data_pattern_sqlite
8ed3d1fe3e86ea7165d43277feb05d84189f696e
[ "BSL-1.0" ]
null
null
null
// // Copyright Sundeep S. Sangha 2013 - 2017. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef DATA_PATTERN_SQLITE_SQLITE_ITERATOR_TCC #define DATA_PATTERN_SQLITE_SQLITE_ITERATOR_TC...
18.875
61
0.721854
vashman
a502a181be3839ebda6aad9ff55c19e4a4eb8099
1,337
cpp
C++
shaders/src/sib_vector_switch.cpp
caron/sitoa
52a0a4b35f51bccb6223a8206d04b40edc80071c
[ "Apache-2.0" ]
34
2018-02-01T16:13:48.000Z
2021-07-16T07:37:47.000Z
shaders/src/sib_vector_switch.cpp
625002974/sitoa
46b7de8e3cf2e2c4cbc6bc391f11181cbac1a589
[ "Apache-2.0" ]
72
2018-02-16T17:30:41.000Z
2021-11-22T11:41:45.000Z
shaders/src/sib_vector_switch.cpp
625002974/sitoa
46b7de8e3cf2e2c4cbc6bc391f11181cbac1a589
[ "Apache-2.0" ]
15
2018-02-15T15:36:58.000Z
2021-04-14T03:54:25.000Z
/************************************************************************************************************************************ Copyright 2017 Autodesk, Inc. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You ...
34.282051
134
0.60359
caron
a50d463ed9da3f14cd8ee894f64c8461bb2cb32e
4,983
cpp
C++
Project/Main/build-Onket-Desktop_Qt_5_14_0_MinGW_32_bit-Debug/moc_basketview.cpp
IsfahanUniversityOfTechnology-CE2019-23/Onket
403d982f7c80d522ca28bb5f757a295eb02b3807
[ "MIT" ]
1
2021-01-03T21:33:26.000Z
2021-01-03T21:33:26.000Z
Project/Main/build-Onket-Desktop_Qt_5_14_0_MinGW_32_bit-Debug/moc_basketview.cpp
IsfahanUniversityOfTechnology-CE2019-23/Onket
403d982f7c80d522ca28bb5f757a295eb02b3807
[ "MIT" ]
null
null
null
Project/Main/build-Onket-Desktop_Qt_5_14_0_MinGW_32_bit-Debug/moc_basketview.cpp
IsfahanUniversityOfTechnology-CE2019-23/Onket
403d982f7c80d522ca28bb5f757a295eb02b3807
[ "MIT" ]
1
2020-07-22T14:48:58.000Z
2020-07-22T14:48:58.000Z
/**************************************************************************** ** Meta object code from reading C++ file 'basketview.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.14.0) ** ** WARNING! All changes made in this file will be lost! *********************************************************...
30.950311
101
0.609874
IsfahanUniversityOfTechnology-CE2019-23
a50d528cc0ce030f6198e6d87f6ff351af11526d
898
hpp
C++
Examples/PuzzleGenerator/Generator.hpp
jamesfer/Pathfinder
c1e770624a3b163f2dd173f38228e93d7eb80367
[ "MIT" ]
null
null
null
Examples/PuzzleGenerator/Generator.hpp
jamesfer/Pathfinder
c1e770624a3b163f2dd173f38228e93d7eb80367
[ "MIT" ]
null
null
null
Examples/PuzzleGenerator/Generator.hpp
jamesfer/Pathfinder
c1e770624a3b163f2dd173f38228e93d7eb80367
[ "MIT" ]
null
null
null
#ifndef Generator_hpp #define Generator_hpp #include "BFSSearcher.hpp" #include "DFSSearcher.hpp" #include <sstream> #include "Puzzle.hpp" /** * Success functor that checks if the node has the required depth */ struct BranchDepthCheck { private: int goalDepth; public: BranchDepthCheck(int goalDepth) : goalDept...
17.607843
77
0.72049
jamesfer
a50e40c4d1c9fa60a110e1332f774ae56811c795
1,253
cc
C++
leetcode/leetcode_199.cc
math715/arts
ff73ccb7d67f7f7c87150204e15aeb46047f0e02
[ "MIT" ]
null
null
null
leetcode/leetcode_199.cc
math715/arts
ff73ccb7d67f7f7c87150204e15aeb46047f0e02
[ "MIT" ]
null
null
null
leetcode/leetcode_199.cc
math715/arts
ff73ccb7d67f7f7c87150204e15aeb46047f0e02
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> #include <vector> using namespace std; struct TreeNode { int val; TreeNode *left; TreeNode *right; TreeNode(int x) : val(x), left(NULL), right(NULL) {} }; void rightTree( TreeNode *root, int &depth, int cur_depth, vector<int> &result){ if (root) { if (depth...
21.982456
80
0.581804
math715
a5115bd910e444bdcc0eac1e882e56b4acc3158c
541
cpp
C++
redfish-core/ut/stl_utils_test.cpp
cjcain/bmcweb
80badf7ceff486ef2bcb912309563919fc5326ea
[ "Apache-2.0" ]
96
2018-01-23T10:17:55.000Z
2022-03-22T08:49:41.000Z
redfish-core/ut/stl_utils_test.cpp
cjcain/bmcweb
80badf7ceff486ef2bcb912309563919fc5326ea
[ "Apache-2.0" ]
233
2018-08-06T05:55:44.000Z
2022-02-23T08:19:04.000Z
redfish-core/ut/stl_utils_test.cpp
cjcain/bmcweb
80badf7ceff486ef2bcb912309563919fc5326ea
[ "Apache-2.0" ]
97
2018-03-23T07:56:55.000Z
2022-03-16T15:51:48.000Z
#include "utils/stl_utils.hpp" #include <gmock/gmock.h> TEST(STLUtilesTest, RemoveDuplicates) { std::vector<std::string> strVec = {"s1", "s4", "s1", "s2", "", "s3", "s3"}; auto iter = redfish::stl_utils::firstDuplicate(strVec.begin(), strVec.end()); EXPECT_EQ(*iter, "s3"); redfish::stl_utils...
24.590909
79
0.608133
cjcain
a511af29e5823b82098463c7e263ab70f8e134a3
380
cpp
C++
UVA/11172-Relational Operator.cpp
alielsokary/Competitive-programming
7dffaa334e18c61c8a7985f5bbb64e3613d1008b
[ "MIT" ]
null
null
null
UVA/11172-Relational Operator.cpp
alielsokary/Competitive-programming
7dffaa334e18c61c8a7985f5bbb64e3613d1008b
[ "MIT" ]
null
null
null
UVA/11172-Relational Operator.cpp
alielsokary/Competitive-programming
7dffaa334e18c61c8a7985f5bbb64e3613d1008b
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int participants,budget,hotles,weeks; int price, bed; int finalCost; bool isAvail = false; long long n,a,b; int main(int argc, char *argv[]) { scanf("%lld", &n); for (int i = 0; i<n; i++) { scanf("%lld%lld", &a,&b); if (a > b) { printf(">\n"); } else if (a < b...
16.521739
37
0.544737
alielsokary
a5135f2bffbefb3b6ff81037e622c3307d690ae3
206
cpp
C++
lio/message.cpp
liuyuan185442111/misc
26920202198658c21784d25ab33e1b245d28ca12
[ "Apache-2.0" ]
1
2021-01-23T09:24:35.000Z
2021-01-23T09:24:35.000Z
lio/message.cpp
liuyuan185442111/misc
26920202198658c21784d25ab33e1b245d28ca12
[ "Apache-2.0" ]
null
null
null
lio/message.cpp
liuyuan185442111/misc
26920202198658c21784d25ab33e1b245d28ca12
[ "Apache-2.0" ]
null
null
null
#include "message.h" #include "gmatrix.h" void MsgQueue::Send() { MSGQUEUE::iterator it = _queue.begin(); for(; it != _queue.end(); ++it) gmatrix::HandleMessage(*it); _queue.clear(); }
18.727273
43
0.601942
liuyuan185442111
a5177f9b1d3d7b1d6c09f3b5c9e71a2a6adec0ca
486
hpp
C++
tinyraytracing/src/graphX/geometry/shapes/shpere.hpp
nicolaszordan/tinygrafX
5460b98459ec5e050ae6c0fb53de2f31c80243a9
[ "Unlicense" ]
null
null
null
tinyraytracing/src/graphX/geometry/shapes/shpere.hpp
nicolaszordan/tinygrafX
5460b98459ec5e050ae6c0fb53de2f31c80243a9
[ "Unlicense" ]
null
null
null
tinyraytracing/src/graphX/geometry/shapes/shpere.hpp
nicolaszordan/tinygrafX
5460b98459ec5e050ae6c0fb53de2f31c80243a9
[ "Unlicense" ]
null
null
null
// // graphX - geometry - shapes - sphere.hpp // #pragma once #include "Ishape.hpp" namespace graphX::geometry { struct Sphere : IShape { public: Sphere(const vec3f& center_, float radius_) : center{center_}, radius{radius_} { } public: bool ray_intersect(const vec3f&...
20.25
104
0.604938
nicolaszordan
a51a2cc5253a0e0355c9a1693576d8eb80a9f8bf
160
hxx
C++
code/temunt/interface/TemUnt/Direction.hxx
Angew/temple-untrap
bec2a9b73f8b0bbcd5ea9b2b04e4b3da113906fc
[ "MIT" ]
1
2021-08-20T08:22:18.000Z
2021-08-20T08:22:18.000Z
code/temunt/interface/TemUnt/Direction.hxx
Angew/temple-untrap
bec2a9b73f8b0bbcd5ea9b2b04e4b3da113906fc
[ "MIT" ]
null
null
null
code/temunt/interface/TemUnt/Direction.hxx
Angew/temple-untrap
bec2a9b73f8b0bbcd5ea9b2b04e4b3da113906fc
[ "MIT" ]
null
null
null
#pragma once #include "TemUnt/Direction.hh" namespace TemUnt { enum class Direction { North = 0, South = 1, East = 2, West = 3 }; } //namespace TemUnt
9.411765
30
0.65
Angew
a52f7fe7b8ba648cfe89fbb8bc15dd779ba0f115
5,779
cpp
C++
tests/test_file.cpp
adamelliot/stitch
e2a7f4cfb0f8171f8d01e1f1c41b30f3c03be5f3
[ "MIT" ]
4
2017-11-28T17:22:46.000Z
2022-03-17T07:47:19.000Z
tests/test_file.cpp
adamelliot/stitch
e2a7f4cfb0f8171f8d01e1f1c41b30f3c03be5f3
[ "MIT" ]
10
2017-10-04T01:20:25.000Z
2017-11-23T06:15:23.000Z
tests/test_file.cpp
adamelliot/stitch
e2a7f4cfb0f8171f8d01e1f1c41b30f3c03be5f3
[ "MIT" ]
1
2019-06-13T23:05:49.000Z
2019-06-13T23:05:49.000Z
#include "../stitch/file.h" #include "../testing/testing.h" #include <thread> #include <chrono> #include <iostream> #include <sstream> #include <cstring> #include <sys/types.h> #include <sys/stat.h> using namespace Stitch; using namespace std; using namespace Testing; static bool test_basic() { Test test; ...
19.791096
90
0.477072
adamelliot
a531f88b830fa58c47ddcc7d015872bf18c81664
55,115
cc
C++
raft_impl.cc
dengoswei/craft
16c4d403c0b1819dc21258cc4cbff6ffb8bf6457
[ "Apache-2.0" ]
5
2015-12-10T02:28:33.000Z
2019-06-02T18:20:53.000Z
raft_impl.cc
dengoswei/craft
16c4d403c0b1819dc21258cc4cbff6ffb8bf6457
[ "Apache-2.0" ]
null
null
null
raft_impl.cc
dengoswei/craft
16c4d403c0b1819dc21258cc4cbff6ffb8bf6457
[ "Apache-2.0" ]
null
null
null
#include <algorithm> #include <sstream> #include "raft_impl.h" #include "replicate_tracker.h" #include "time_utils.h" #include "hassert.h" #include "mem_utils.h" using namespace std; namespace { using namespace raft; inline void assert_role(const RaftImpl& raft_impl, RaftRole expected_role) { hassert(raft_impl....
31.015757
82
0.589749
dengoswei
a53314e22a638de0302a218fb6db0734a3235269
364
cpp
C++
headers/main/bw_encode.cpp
SamBuckberry/readslam
47c5cd0e407f17db08a70488913905f86cffe054
[ "CC-BY-3.0" ]
null
null
null
headers/main/bw_encode.cpp
SamBuckberry/readslam
47c5cd0e407f17db08a70488913905f86cffe054
[ "CC-BY-3.0" ]
null
null
null
headers/main/bw_encode.cpp
SamBuckberry/readslam
47c5cd0e407f17db08a70488913905f86cffe054
[ "CC-BY-3.0" ]
null
null
null
#include "../algorithms/sorting.h" #include "../tools/_fasta.h" int main (int argc, char * const argv[]) { if (argc != 3) { cout << "Encode a genome's fasta sequences using the Burrows-Wheeler algorithm." << endl; cout << "Usage: ./burrows_wheeler /infile.fa /outfile.fa" << endl; exit(0); } ReadSlam::FastA::...
24.266667
91
0.645604
SamBuckberry
a53361e4645143c7ce4a6fb44ce50adbc3a85dd6
2,148
cpp
C++
apps/xcomp/src/XCConfig.cpp
gugenstudio/Xcomp
b8c572ec618fa157c4ed07845b87d0ced21b2dd5
[ "MIT" ]
1
2022-02-18T11:55:57.000Z
2022-02-18T11:55:57.000Z
apps/xcomp/src/XCConfig.cpp
gugenstudio/xComp
b8c572ec618fa157c4ed07845b87d0ced21b2dd5
[ "MIT" ]
null
null
null
apps/xcomp/src/XCConfig.cpp
gugenstudio/xComp
b8c572ec618fa157c4ed07845b87d0ced21b2dd5
[ "MIT" ]
null
null
null
//================================================================== /// XCConfig.cpp /// /// Created by Davide Pasca - 2022/01/21 /// See the file "license.txt" that comes with this project for /// copyright info. //================================================================== #include "GTVersions.h" #include "X...
33.5625
71
0.533985
gugenstudio
a5341057111530e24eeb851aa8f9fe420ae62ddd
16,339
cpp
C++
libcsvsqldb/sql_lexer.cpp
fuersten/csvsqldb
1b766ddf253805e31f9840cd3081cba559018a06
[ "BSD-3-Clause" ]
5
2015-09-10T08:53:41.000Z
2020-05-30T18:42:20.000Z
libcsvsqldb/sql_lexer.cpp
fuersten/csvsqldb
1b766ddf253805e31f9840cd3081cba559018a06
[ "BSD-3-Clause" ]
20
2015-09-29T16:16:07.000Z
2021-06-13T08:08:05.000Z
libcsvsqldb/sql_lexer.cpp
fuersten/csvsqldb
1b766ddf253805e31f9840cd3081cba559018a06
[ "BSD-3-Clause" ]
3
2015-09-09T22:51:44.000Z
2020-11-11T13:19:42.000Z
// // sql_lexer.h // csv db // // BSD 3-Clause License // Copyright (c) 2015, Lars-Christian Fürstenberg // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, are permitted // provided that the following conditions are met: // // 1. Redistributions of sou...
37.134091
98
0.53461
fuersten
a536f2d5e320c70a40fa940527f46bc4c9407327
10,256
cpp
C++
11_learning_materials/stanford_self_driving_car/driving/imagery/src/textureCache.cpp
EatAllBugs/autonomous_learning
02ff7b0fa7b131a2f2203505ef5cc7e43b40bc47
[ "MIT" ]
14
2021-09-01T14:25:45.000Z
2022-02-21T08:49:57.000Z
11_learning_materials/stanford_self_driving_car/driving/imagery/src/textureCache.cpp
yinflight/autonomous_learning
02ff7b0fa7b131a2f2203505ef5cc7e43b40bc47
[ "MIT" ]
null
null
null
11_learning_materials/stanford_self_driving_car/driving/imagery/src/textureCache.cpp
yinflight/autonomous_learning
02ff7b0fa7b131a2f2203505ef5cc7e43b40bc47
[ "MIT" ]
3
2021-10-10T00:58:29.000Z
2022-01-23T13:16:09.000Z
/******************************************************** Stanford Driving Software Copyright (c) 2011 Stanford University 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...
30.984894
158
0.621002
EatAllBugs
a537453ebe8afbcecef93c2edf6967138dd7c11d
1,899
hxx
C++
session/KAutoLogon.hxx
Peter2121/kts
fb1a9d67dc5ef22ad8ec3bf445525c8d8b1b9a3a
[ "BSD-3-Clause" ]
null
null
null
session/KAutoLogon.hxx
Peter2121/kts
fb1a9d67dc5ef22ad8ec3bf445525c8d8b1b9a3a
[ "BSD-3-Clause" ]
null
null
null
session/KAutoLogon.hxx
Peter2121/kts
fb1a9d67dc5ef22ad8ec3bf445525c8d8b1b9a3a
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include <algorithm> #include "..\shared\KTrace.hxx" #include "..\shared\Kini.hxx" #include "..\shared\KSlre.hxx" class KAutoLogon { private: /*============================================================================== * var *============================================================...
23.7375
124
0.460242
Peter2121
a539d799a6c38157168ce01558691874c43f1187
1,216
cpp
C++
src/engine/shader/text/SingnedDistanceOutlineTextShader.cpp
Armanimani/Game-Engine
8087cd999f7264488d24a5dc5571b659347a49dd
[ "MIT" ]
null
null
null
src/engine/shader/text/SingnedDistanceOutlineTextShader.cpp
Armanimani/Game-Engine
8087cd999f7264488d24a5dc5571b659347a49dd
[ "MIT" ]
1
2017-04-05T01:40:02.000Z
2017-04-05T07:36:55.000Z
src/engine/shader/text/SingnedDistanceOutlineTextShader.cpp
Armanimani/Game-Engine
8087cd999f7264488d24a5dc5571b659347a49dd
[ "MIT" ]
null
null
null
#include "SingnedDistanceOutlineTextShader.h" void SignedDistanceOutlineTextShader::loadAllToUniform(const std::shared_ptr<GUITextModel> model) { SignedDistanceTextShader::loadAllToUniform(model); loadToUniform(location_outlineColor, model->getMaterial()->getProperties().color2); loadToUniform(location_outlineWidt...
34.742857
98
0.817434
Armanimani
a53a645d257e0e8c8f80c93d96c20b152697713a
4,263
hpp
C++
src/graph/include/graph/breadth_first_search.hpp
SkyterX/rpclass
5e80ec4e0b876eb498351bcf7d6f5983fe5c7934
[ "Apache-2.0" ]
null
null
null
src/graph/include/graph/breadth_first_search.hpp
SkyterX/rpclass
5e80ec4e0b876eb498351bcf7d6f5983fe5c7934
[ "Apache-2.0" ]
null
null
null
src/graph/include/graph/breadth_first_search.hpp
SkyterX/rpclass
5e80ec4e0b876eb498351bcf7d6f5983fe5c7934
[ "Apache-2.0" ]
null
null
null
#pragma once #include <queue> #include <graph/graph.hpp> #include <graph/properties.hpp> #include <graph/static_graph.hpp> namespace graph { template <typename ColorMapTag, typename V, typename E> struct GenerateBFSGraph {}; template <typename ColorMapTag, typename... P1s, typename... P2s> struct GenerateBFSGra...
36.435897
96
0.703964
SkyterX
a53bcff7875e40227554a2f5c083863f61245ec9
6,622
cpp
C++
test/unittest/step_tileset_test.cpp
albin-johansson/step
f3e71ebd2d54ebbb7fcfa40002b1e4fde3779aab
[ "MIT" ]
4
2020-06-05T11:56:11.000Z
2020-11-13T14:49:06.000Z
test/unittest/step_tileset_test.cpp
albin-johansson/step
f3e71ebd2d54ebbb7fcfa40002b1e4fde3779aab
[ "MIT" ]
8
2020-05-23T09:35:03.000Z
2020-06-20T22:15:02.000Z
test/unittest/step_tileset_test.cpp
albin-johansson/step
f3e71ebd2d54ebbb7fcfa40002b1e4fde3779aab
[ "MIT" ]
null
null
null
#include "step_tileset.hpp" #include <doctest.h> #include <string_view> #include "step_exception.hpp" #include "step_test_utils.h" using namespace step; inline static constexpr std::string_view prefix = "resource/tileset/"; TEST_SUITE("Tileset") { TEST_CASE("Parsing external tileset") { const auto tileset...
31.836538
77
0.609333
albin-johansson
a53d3078d6e68e6aca1bc30353ac37d5efc991bf
1,410
cpp
C++
sxaccelerate/src/parserkit/examples/04_include_files/SxDemo4Parser.cpp
ashtonmv/sphinx_vdw
5896fee0d92c06e883b72725cb859d732b8b801f
[ "Apache-2.0" ]
1
2020-02-29T03:26:32.000Z
2020-02-29T03:26:32.000Z
sxaccelerate/src/parserkit/examples/04_include_files/SxDemo4Parser.cpp
ashtonmv/sphinx_vdw
5896fee0d92c06e883b72725cb859d732b8b801f
[ "Apache-2.0" ]
null
null
null
sxaccelerate/src/parserkit/examples/04_include_files/SxDemo4Parser.cpp
ashtonmv/sphinx_vdw
5896fee0d92c06e883b72725cb859d732b8b801f
[ "Apache-2.0" ]
null
null
null
// --------------------------------------------------------------------------- // // The general purpose cross platform C/C++ framework // // S x A c c e l e r a t e // // Home: https://www.sxlib.de // License: Apache 2 // Authors: see src/AUTHOR...
21.363636
78
0.521986
ashtonmv
a53ea9be9c6f82a33b219a687dcdb2d0d3cb7486
1,435
hh
C++
src/transform/vector/vector4.hh
CompaqDisc/libtransform
db9dcbc39cd7d3af904c1bc2131544c1908522e1
[ "MIT" ]
null
null
null
src/transform/vector/vector4.hh
CompaqDisc/libtransform
db9dcbc39cd7d3af904c1bc2131544c1908522e1
[ "MIT" ]
null
null
null
src/transform/vector/vector4.hh
CompaqDisc/libtransform
db9dcbc39cd7d3af904c1bc2131544c1908522e1
[ "MIT" ]
null
null
null
#pragma once #include <memory> #include "vector.hh" namespace transform { template <class T> class Vector4 : public Vector<4, T> { private: typedef Vector<4, T> super; public: Vector4() : super() {} // default construct Vector4(const T x, const T y, const T z, const T w); // member construct Ve...
19.133333
82
0.552613
CompaqDisc
a54d3255d9b64c01987dcbf06a6bf5a4e3af694a
2,205
cpp
C++
src/DashboardLayout.cpp
00steve/Lapster
42c11d7bf96694c36f75d938563031cb08951ff1
[ "Apache-2.0" ]
null
null
null
src/DashboardLayout.cpp
00steve/Lapster
42c11d7bf96694c36f75d938563031cb08951ff1
[ "Apache-2.0" ]
null
null
null
src/DashboardLayout.cpp
00steve/Lapster
42c11d7bf96694c36f75d938563031cb08951ff1
[ "Apache-2.0" ]
null
null
null
#include "DashboardLayout.h" void DashboardLayout::Setup(){ switch(layoutID){ case LAYOUT_SINGLE: Serial.println("use default single widget dashboard"); widget[0] = new DashboardWidget(Int2(10,10),Int2(470,310),GAUGE_TYPE_BAR,INPUT_ANALOG1); widgetCount = 1; break; case LAY...
25.639535
100
0.623583
00steve
a5547fdf56655ca4bf73afa96bd8cb653764d9c2
598
cpp
C++
pointer_main.cpp
zhichengMLE/Cplusplus
525d80550c2460b0504926a26beaa67ca91bb848
[ "MIT" ]
1
2019-03-29T21:07:37.000Z
2019-03-29T21:07:37.000Z
pointer_main.cpp
zhichengMLE/Cplusplus
525d80550c2460b0504926a26beaa67ca91bb848
[ "MIT" ]
null
null
null
pointer_main.cpp
zhichengMLE/Cplusplus
525d80550c2460b0504926a26beaa67ca91bb848
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; bool printArray(string* arr, int length){ if(arr == NULL){ return false; } for(int i = 0; i < length; i++){ cout << arr[i] << endl; } return true; } int main() { string arrMonth[12] = {"Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Au...
13
111
0.560201
zhichengMLE
a559a8d25755123fb6296d027efb72d08bb91b83
9,590
hpp
C++
src/Serialize.hpp
Mercerenies/latitude
29b1697f1f615d52480197a52e20ff8c1872f07d
[ "MIT" ]
3
2021-09-02T18:19:25.000Z
2021-12-26T23:33:32.000Z
src/Serialize.hpp
Mercerenies/latitude
29b1697f1f615d52480197a52e20ff8c1872f07d
[ "MIT" ]
45
2017-11-28T15:13:59.000Z
2022-02-19T18:45:46.000Z
src/Serialize.hpp
Mercerenies/proto-lang
29b1697f1f615d52480197a52e20ff8c1872f07d
[ "MIT" ]
null
null
null
//// Copyright (c) 2018 Silvio Mayolo //// See LICENSE.txt for licensing details #ifndef SERIALIZE_HPP #define SERIALIZE_HPP #include "Instructions.hpp" #include "Assembler.hpp" /// \file /// /// \brief Serialization structures and helpers. /// serialize_t, on its own, is an incomplete type. Any type which is /// s...
26.862745
99
0.665485
Mercerenies
a222d9ab01460056f957119aaeb4bd94ebf3684e
29,324
cpp
C++
src/Image.cpp
i-saint/glSpriteFont
8552bbbe664e8841dd497b8a1a5cdc6dbdfc5fe1
[ "Unlicense" ]
2
2015-11-07T11:31:55.000Z
2021-04-16T15:20:44.000Z
src/Image.cpp
i-saint/glSpriteFont
8552bbbe664e8841dd497b8a1a5cdc6dbdfc5fe1
[ "Unlicense" ]
null
null
null
src/Image.cpp
i-saint/glSpriteFont
8552bbbe664e8841dd497b8a1a5cdc6dbdfc5fe1
[ "Unlicense" ]
1
2020-06-09T10:45:28.000Z
2020-06-09T10:45:28.000Z
#include "stdafx.h" #include "Image.h" #ifdef __ist_with_gli__ #include "gli/gli.hpp" #include "gli/gtx/loader.hpp" #endif // __ist_with_gli__ namespace ist { struct BMPHEAD { char B; char M; int32 file_size; int16 reserve1; int16 reserve2; int32 offset; BMPHEAD() ...
28.805501
139
0.572228
i-saint
a22992aa915dd06e962163704b713c016925eb26
2,215
cpp
C++
tests/stl-dependency-test/library/cib/__zz_cib_StlDependencyTest-gateway.cpp
satya-das/cib
369333ea58b0530b8789a340e21096ba7d159d0e
[ "MIT" ]
30
2018-03-05T17:35:29.000Z
2022-03-17T18:59:34.000Z
tests/stl-dependency-test/library/cib/__zz_cib_StlDependencyTest-gateway.cpp
satya-das/cib
369333ea58b0530b8789a340e21096ba7d159d0e
[ "MIT" ]
2
2016-05-26T04:47:13.000Z
2019-02-15T05:17:43.000Z
tests/stl-dependency-test/library/cib/__zz_cib_StlDependencyTest-gateway.cpp
satya-das/cib
369333ea58b0530b8789a340e21096ba7d159d0e
[ "MIT" ]
5
2019-02-15T05:09:22.000Z
2021-04-14T12:10:16.000Z
#include "__zz_cib_StlDependencyTest-decl.h" #include "__zz_cib_StlDependencyTest-export.h" #include "__zz_cib_StlDependencyTest-ids.h" #include "__zz_cib_StlDependencyTest-mtable.h" namespace __zz_cib_ { namespace __zz_cib_Class263 { const __zz_cib_MethodTable* __zz_cib_GetMethodTable(); }} namespace __zz_cib_ { name...
67.121212
140
0.832957
satya-das
a22ae189aaa5767f514c0572455824bc70973c43
3,128
cc
C++
Pulse/src/InputStream.cc
frankencode/CoreComponents
4c66d7ff9fc5be19222906ba89ba0e98951179de
[ "Zlib" ]
1
2019-07-29T04:07:29.000Z
2019-07-29T04:07:29.000Z
Pulse/src/InputStream.cc
frankencode/CoreComponents
4c66d7ff9fc5be19222906ba89ba0e98951179de
[ "Zlib" ]
null
null
null
Pulse/src/InputStream.cc
frankencode/CoreComponents
4c66d7ff9fc5be19222906ba89ba0e98951179de
[ "Zlib" ]
1
2020-03-04T17:13:04.000Z
2020-03-04T17:13:04.000Z
/* * Copyright (C) 2021 Frank Mertens. * * Distribution and use is allowed under the terms of the zlib license * (see cc/LICENSE-zlib). * */ #include <cc/pulse/InputStream> #include <cc/Format> #include <cc/DEBUG> #include <pulse/stream.h> #include <cassert> namespace cc::pulse { struct InputStream::State: pub...
24.4375
88
0.609655
frankencode
a22d4c1cc7f16d757453e4eb88c8537cf9153bef
224
hpp
C++
cpp/include/mh/concurrency/main_thread.hpp
PazerOP/stuff
8ef31153dce1c9593d59fe7fb731fca4d15f3fa6
[ "MIT" ]
null
null
null
cpp/include/mh/concurrency/main_thread.hpp
PazerOP/stuff
8ef31153dce1c9593d59fe7fb731fca4d15f3fa6
[ "MIT" ]
4
2020-01-04T02:26:00.000Z
2020-04-19T10:46:50.000Z
cpp/include/mh/concurrency/main_thread.hpp
PazerOP/stuff
8ef31153dce1c9593d59fe7fb731fca4d15f3fa6
[ "MIT" ]
null
null
null
#pragma once #include <thread> namespace mh { inline static const std::thread::id main_thread_id = std::this_thread::get_id(); inline bool is_main_thread() { return main_thread_id == std::this_thread::get_id(); } }
16
81
0.714286
PazerOP
a2344908796c529df62a337119c9aae152cbd0ea
751
cc
C++
c-deps/libroach/cache.cc
benlong-transloc/cockroach
9a38931424b4b84116da606820d3cde699c90879
[ "MIT", "BSD-3-Clause" ]
2
2020-02-28T02:40:42.000Z
2020-02-28T04:08:48.000Z
c-deps/libroach/cache.cc
benlong-transloc/cockroach
9a38931424b4b84116da606820d3cde699c90879
[ "MIT", "BSD-3-Clause" ]
10
2020-09-06T14:29:19.000Z
2022-03-02T04:56:13.000Z
c-deps/libroach/cache.cc
rohany/cockroach
12c640b74f8a16a27eb5ba03df9628cec4c99400
[ "MIT", "BSD-3-Clause" ]
2
2019-11-12T13:38:48.000Z
2020-02-02T09:38:19.000Z
// Copyright 2018 The Cockroach Authors. // // Use of this software is governed by the Business Source License // included in the file licenses/BSL.txt. // // As of the Change Date specified in that file, in accordance with // the Business Source License, use of this software will be governed // by the Apache License, ...
27.814815
69
0.729694
benlong-transloc
a23b954d4f083885e3d2212f014d11bba31dab9e
7,356
cpp
C++
Src/widget.cpp
BastiaanOlij/omnis.xcomp.widget
629b203f4bd6d1e1e408f1b2ed3de4eaf45d0e1a
[ "MIT" ]
1
2018-08-09T23:44:54.000Z
2018-08-09T23:44:54.000Z
Src/widget.cpp
BastiaanOlij/omnis.xcomp.widget
629b203f4bd6d1e1e408f1b2ed3de4eaf45d0e1a
[ "MIT" ]
2
2015-01-20T03:51:53.000Z
2020-03-27T04:45:38.000Z
Src/widget.cpp
BastiaanOlij/omnis.xcomp.widget
629b203f4bd6d1e1e408f1b2ed3de4eaf45d0e1a
[ "MIT" ]
1
2018-09-13T05:07:08.000Z
2018-09-13T05:07:08.000Z
/* * omnis.xcomp.widget * =================== * * widget.cpp * Widget library implementation * * Bastiaan Olij */ #include "widget.h" #ifdef iswin32 /* not yet supported */ #else #include "monitor_mac.h" #endif qshort mainlib::major() { return OMNISSDK; }; qshort mainlib::minor() { return 124; }; E...
31.302128
87
0.660821
BastiaanOlij
a24bbd680103c5e0bd7054b3e95aa6a8eb8d8e3e
3,303
cpp
C++
compiler/luci/pass/src/RemoveUnnecessarySplitPass.test.cpp
chunseoklee/ONE-1
f45d579eb78e7e3cd1d878b4137ed23ab569081b
[ "Apache-2.0" ]
null
null
null
compiler/luci/pass/src/RemoveUnnecessarySplitPass.test.cpp
chunseoklee/ONE-1
f45d579eb78e7e3cd1d878b4137ed23ab569081b
[ "Apache-2.0" ]
null
null
null
compiler/luci/pass/src/RemoveUnnecessarySplitPass.test.cpp
chunseoklee/ONE-1
f45d579eb78e7e3cd1d878b4137ed23ab569081b
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2020 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...
27.991525
75
0.696942
chunseoklee
a24bfb0a5c845c9ca80feb2549a6fff554012fcd
5,151
hpp
C++
src/helics/cpp98/Endpoint.hpp
dnadeau4/HELICS-src
cad21acaac68d25b50e08b185d4fe5a1ae054241
[ "BSD-3-Clause" ]
null
null
null
src/helics/cpp98/Endpoint.hpp
dnadeau4/HELICS-src
cad21acaac68d25b50e08b185d4fe5a1ae054241
[ "BSD-3-Clause" ]
null
null
null
src/helics/cpp98/Endpoint.hpp
dnadeau4/HELICS-src
cad21acaac68d25b50e08b185d4fe5a1ae054241
[ "BSD-3-Clause" ]
null
null
null
/* Copyright © 2017-2019, Battelle Memorial Institute; Lawrence Livermore National Security, LLC; Alliance for Sustainable Energy, LLC. See the top-level NOTICE for additional details. All rights reserved. SPDX-License-Identifier: BSD-3-Clause */ #ifndef HELICS_CPP98_ENDPOINT_HPP_ #define HELICS_CPP98_ENDPOINT_HPP_ #p...
36.531915
115
0.635411
dnadeau4
a2500101143a610b8c7fa14d6da625291270a722
22,104
cpp
C++
thirdparty/ULib/src/ulib/ldap/ldap.cpp
liftchampion/nativejson-benchmark
6d575ffa4359a5c4230f74b07d994602a8016fb5
[ "MIT" ]
null
null
null
thirdparty/ULib/src/ulib/ldap/ldap.cpp
liftchampion/nativejson-benchmark
6d575ffa4359a5c4230f74b07d994602a8016fb5
[ "MIT" ]
null
null
null
thirdparty/ULib/src/ulib/ldap/ldap.cpp
liftchampion/nativejson-benchmark
6d575ffa4359a5c4230f74b07d994602a8016fb5
[ "MIT" ]
null
null
null
// ============================================================================ // // = LIBRARY // ULib - c++ library // // = FILENAME // ldap.cpp // // = AUTHOR // Stefano Casazza // // ============================================================================ #include <ulib/url.h> #include <ulib/ldap/ldap...
30.530387
161
0.497647
liftchampion
a25812c405b0455b36c0084c8766f1fffafe2b9d
6,616
cpp
C++
src/Node.cpp
caitp/TimedText
7fa0724b3ba99539d17cd0c8be59922676f7114c
[ "Unlicense" ]
2
2017-08-01T11:17:43.000Z
2022-03-19T21:26:45.000Z
src/Node.cpp
caitp/TimedText
7fa0724b3ba99539d17cd0c8be59922676f7114c
[ "Unlicense" ]
null
null
null
src/Node.cpp
caitp/TimedText
7fa0724b3ba99539d17cd0c8be59922676f7114c
[ "Unlicense" ]
null
null
null
// // Copyright (c) 2013 Caitlin Potter and Contributors // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, t...
19.011494
74
0.667322
caitp
a25d5c53b29e80e096b16da7437b5840896c5bae
2,684
cpp
C++
examples/file_loader/file_loader.cpp
torbjoernk/CTML
0eb16c35c591f990db32d41c58bce71d41817b8c
[ "MIT" ]
1
2018-08-07T15:07:26.000Z
2018-08-07T15:07:26.000Z
examples/file_loader/file_loader.cpp
torbjoernk/CTML
0eb16c35c591f990db32d41c58bce71d41817b8c
[ "MIT" ]
null
null
null
examples/file_loader/file_loader.cpp
torbjoernk/CTML
0eb16c35c591f990db32d41c58bce71d41817b8c
[ "MIT" ]
null
null
null
#include "CTML.h" #include "dirent.h" bool add_files_to_doc(std::string folderPath, CTML::Node* containerNode) { DIR *directory = NULL; // open the folder path directory = opendir(folderPath.c_str()); // return false if it doesn't exist if (directory == NULL) { std::cout << "Directory not found!\n"; return fa...
33.55
84
0.69076
torbjoernk
a25dfa61654baf386d71959105626bfe2049567e
57
cpp
C++
algorithms/des/info.cpp
playahammer/crypto
27db00a5e1c58bd78dae34164fad4c719ff7f2cf
[ "MIT" ]
null
null
null
algorithms/des/info.cpp
playahammer/crypto
27db00a5e1c58bd78dae34164fad4c719ff7f2cf
[ "MIT" ]
null
null
null
algorithms/des/info.cpp
playahammer/crypto
27db00a5e1c58bd78dae34164fad4c719ff7f2cf
[ "MIT" ]
1
2019-04-26T02:23:44.000Z
2019-04-26T02:23:44.000Z
#include "log.h" Info::Info() { } QString Info::Info
5.7
18
0.596491
playahammer