hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
108
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
67k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
8daca50c6c76e3c3acc1da3de88c110360f269df
4,035
cc
C++
s2client-api/include/google/protobuf/drop_unknown_fields_test.cc
songchaow/starcrat2-ai
ac6fbdb0e3d7839a76addea4e6aa50a4545841f3
[ "MIT" ]
null
null
null
s2client-api/include/google/protobuf/drop_unknown_fields_test.cc
songchaow/starcrat2-ai
ac6fbdb0e3d7839a76addea4e6aa50a4545841f3
[ "MIT" ]
null
null
null
s2client-api/include/google/protobuf/drop_unknown_fields_test.cc
songchaow/starcrat2-ai
ac6fbdb0e3d7839a76addea4e6aa50a4545841f3
[ "MIT" ]
null
null
null
// Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: ...
45.337079
80
0.768773
songchaow
8daebb1bec8dfe5a9182065fef9b7baef912239e
2,011
c++
C++
faxd/FaxItem.c++
XieJiSS/HylaFAX
9afcaa405e05a3ec3c79091e96f7255b8de86981
[ "libtiff" ]
18
2015-09-02T08:41:46.000Z
2021-12-27T15:13:50.000Z
faxd/FaxItem.c++
XieJiSS/HylaFAX
9afcaa405e05a3ec3c79091e96f7255b8de86981
[ "libtiff" ]
null
null
null
faxd/FaxItem.c++
XieJiSS/HylaFAX
9afcaa405e05a3ec3c79091e96f7255b8de86981
[ "libtiff" ]
11
2015-01-07T16:05:58.000Z
2022-02-20T16:20:03.000Z
/* $Id$ */ /* * Copyright (c) 1990-1996 Sam Leffler * Copyright (c) 1991-1996 Silicon Graphics, Inc. * HylaFAX is a trademark of Silicon Graphics * * Permission to use, copy, modify, distribute, and sell this software and * its documentation for any purpose is hereby granted without fee, provided * that (i) the...
34.672414
78
0.715564
XieJiSS
8db32893d035f244666876f00e69d2dd79676d1d
1,075
cpp
C++
cpp/euler056/euler056.cpp
marvins/ProjectEuler
55a377bb9702067bac6908c1316c578498402668
[ "MIT" ]
null
null
null
cpp/euler056/euler056.cpp
marvins/ProjectEuler
55a377bb9702067bac6908c1316c578498402668
[ "MIT" ]
null
null
null
cpp/euler056/euler056.cpp
marvins/ProjectEuler
55a377bb9702067bac6908c1316c578498402668
[ "MIT" ]
1
2020-12-16T09:25:19.000Z
2020-12-16T09:25:19.000Z
/** * @file euler56.cpp * @author Marvin Smith * @date 9/25/2013 */ // C++ Standard Libraries #include <iostream> // Common Libraries #include "../common/BigIntegerLibrary.hh" #include "../common/StringUtilities.hpp" using namespace std; /** * @brief Main Function */ int main( int argc, char* argv[] ){...
19.545455
62
0.492093
marvins
8db3833cad68f6f99bea68263d74f405add1485c
1,928
cpp
C++
libethcore/Params.cpp
0x1d00ffff/MVis-ethminer
7b72569ee9a7bdeefef03233f1b9a6b67ebaf708
[ "MIT" ]
1
2018-06-15T03:36:38.000Z
2018-06-15T03:36:38.000Z
libethcore/Params.cpp
0x1d00ffff/MVis-ethminer
7b72569ee9a7bdeefef03233f1b9a6b67ebaf708
[ "MIT" ]
null
null
null
libethcore/Params.cpp
0x1d00ffff/MVis-ethminer
7b72569ee9a7bdeefef03233f1b9a6b67ebaf708
[ "MIT" ]
null
null
null
/* This file is part of cpp-ethereum. cpp-ethereum is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. cpp-ethereum is distributed in the...
25.368421
92
0.752593
0x1d00ffff
8db66cdf87420895982961230d9f47fb138b5f0a
2,705
cpp
C++
src/kernel/arch/x86/pit.cpp
fossabot/metta
a5f56403886ddfb93f2262e4f03b49b38bbcce00
[ "BSL-1.0" ]
32
2017-05-29T00:55:50.000Z
2022-03-15T06:40:01.000Z
src/kernel/arch/x86/pit.cpp
fossabot/metta
a5f56403886ddfb93f2262e4f03b49b38bbcce00
[ "BSL-1.0" ]
1
2018-01-01T14:22:32.000Z
2021-06-30T14:15:51.000Z
src/kernel/arch/x86/pit.cpp
fossabot/metta
a5f56403886ddfb93f2262e4f03b49b38bbcce00
[ "BSL-1.0" ]
9
2017-09-22T00:58:29.000Z
2021-06-25T16:54:44.000Z
// // Part of Metta OS. Check https://atta-metta.net for latest version. // // Copyright 2007 - 2017, Stanislav Karchebnyy <berkus@atta-metta.net> // // Distributed under the Boost Software License, Version 1.0. // (See file LICENSE_1_0.txt or a copy at http://www.boost.org/LICENSE_1_0.txt) // #include "cpu.h" #include...
25.518868
79
0.666543
fossabot
8db6be9a0dc545ff059d720b8b62046e02af7a01
897
cpp
C++
src/test/operators/get_table_test.cpp
tjjordan/DYOD_SoSe21
9cf7af43f10caccbfa2b0583a43e991f24cd336c
[ "MIT" ]
1
2022-01-25T09:03:56.000Z
2022-01-25T09:03:56.000Z
src/test/operators/get_table_test.cpp
tjjordan/DYOD_SoSe21
9cf7af43f10caccbfa2b0583a43e991f24cd336c
[ "MIT" ]
2
2022-02-10T14:25:25.000Z
2022-03-12T20:19:12.000Z
src/test/operators/get_table_test.cpp
tjjordan/DYOD_SoSe21
9cf7af43f10caccbfa2b0583a43e991f24cd336c
[ "MIT" ]
null
null
null
#include <memory> #include "../base_test.hpp" #include "gtest/gtest.h" #include "operators/get_table.hpp" #include "storage/storage_manager.hpp" #include "storage/table.hpp" namespace opossum { class OperatorsGetTableTest : public BaseTest { protected: void SetUp() override { _test_table = std::make_shared<Ta...
24.916667
93
0.732441
tjjordan
8db87de279588d10f3ae944e10afa44db6d3f6f1
2,625
cpp
C++
src/sbbs3/ctrl/EventsFormUnit.cpp
jonny290/synchronet
012a39d00a3160a593ef5923fdc1ee95e0497083
[ "Artistic-2.0" ]
1
2017-07-18T03:56:48.000Z
2017-07-18T03:56:48.000Z
src/sbbs3/ctrl/EventsFormUnit.cpp
jonny290/synchronet
012a39d00a3160a593ef5923fdc1ee95e0497083
[ "Artistic-2.0" ]
null
null
null
src/sbbs3/ctrl/EventsFormUnit.cpp
jonny290/synchronet
012a39d00a3160a593ef5923fdc1ee95e0497083
[ "Artistic-2.0" ]
null
null
null
/* Synchronet Control Panel (GUI Borland C++ Builder Project for Win32) */ /* $Id: EventsFormUnit.cpp,v 1.2 2004/10/18 00:04:40 rswindell Exp $ */ /**************************************************************************** * @format.tab-size 4 (Plain Text/Source Code File Header) * * @format.use-tabs true (see...
46.052632
78
0.518095
jonny290
8db96b71206bb3be2dd2b3e42fcd2cbbdcbfdba1
20,060
cpp
C++
engine/object/pointcloud.cpp
gentlecolts/Mongoose-Rendering-Engine
c5ca3071496a2e504fc92d0a5112a7033c43ddef
[ "MIT" ]
null
null
null
engine/object/pointcloud.cpp
gentlecolts/Mongoose-Rendering-Engine
c5ca3071496a2e504fc92d0a5112a7033c43ddef
[ "MIT" ]
null
null
null
engine/object/pointcloud.cpp
gentlecolts/Mongoose-Rendering-Engine
c5ca3071496a2e504fc92d0a5112a7033c43ddef
[ "MIT" ]
null
null
null
#include "pointcloud.h" #include <cmath> #include <algorithm> #include <utility> #include <array> using namespace MG; ///// point stuff goes here ///// inline bool intersect(const point& p,const ray& r,double &t0,double& t1){ /* P=a point on the ellipsoid [ 1/a 0 0 ] M= [ 0 1/b 0 ] [ 0 0 1/c ] such that t...
27.783934
182
0.656879
gentlecolts
8db97a14f0f421319a5ae00ccf6dd9460ada7132
2,097
cpp
C++
data/transcoder_evaluation_gfg/cpp/SMALLEST_ELEMENT_REPEATED_EXACTLY_K_TIMES_NOT_LIMITED_SMALL_RANGE.cpp
mxl1n/CodeGen
e5101dd5c5e9c3720c70c80f78b18f13e118335a
[ "MIT" ]
241
2021-07-20T08:35:20.000Z
2022-03-31T02:39:08.000Z
data/transcoder_evaluation_gfg/cpp/SMALLEST_ELEMENT_REPEATED_EXACTLY_K_TIMES_NOT_LIMITED_SMALL_RANGE.cpp
mxl1n/CodeGen
e5101dd5c5e9c3720c70c80f78b18f13e118335a
[ "MIT" ]
49
2021-07-22T23:18:42.000Z
2022-03-24T09:15:26.000Z
data/transcoder_evaluation_gfg/cpp/SMALLEST_ELEMENT_REPEATED_EXACTLY_K_TIMES_NOT_LIMITED_SMALL_RANGE.cpp
mxl1n/CodeGen
e5101dd5c5e9c3720c70c80f78b18f13e118335a
[ "MIT" ]
71
2021-07-21T05:17:52.000Z
2022-03-29T23:49:28.000Z
// Copyright (c) 2019-present, Facebook, Inc. // All rights reserved. // // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // #include <iostream> #include <cstdlib> #include <string> #include <vector> #include <fstream> #include <iomanip> #include...
45.586957
977
0.563186
mxl1n
8db99bfee2c6b4ab28b2fda64ecb4faab958fbd4
1,046
cpp
C++
crack-data-structures-and-algorithms/leetcode/reverse_nodes_in_k_group_q25.cpp
Watch-Later/Eureka
3065e76d5bf8b37d5de4f9ee75b2714a42dd4c35
[ "MIT" ]
20
2016-05-16T11:09:04.000Z
2021-12-08T09:30:33.000Z
crack-data-structures-and-algorithms/leetcode/reverse_nodes_in_k_group_q25.cpp
Watch-Later/Eureka
3065e76d5bf8b37d5de4f9ee75b2714a42dd4c35
[ "MIT" ]
1
2018-12-30T09:55:31.000Z
2018-12-30T14:08:30.000Z
crack-data-structures-and-algorithms/leetcode/reverse_nodes_in_k_group_q25.cpp
Watch-Later/Eureka
3065e76d5bf8b37d5de4f9ee75b2714a42dd4c35
[ "MIT" ]
11
2016-05-02T09:17:12.000Z
2021-12-08T09:30:35.000Z
struct ListNode { int val; ListNode *next; ListNode(int x) : val(x), next(NULL) {} }; // 核心思路 // 每个group的节点用extract-and-insert技法进行翻转,每次反转后 p.next 刚好是下一个要翻转的结点 // 整体结束后更新 pp & p // 因为不满足一个group的结点要保持原样,所以每次对一个group操作前需要检查当前结点开始是否能满足一个group(has_k_nodes) class Solution { public: ListNode* reverseKGroup(Li...
21.346939
74
0.458891
Watch-Later
8dbb4e63dc5a725d97417c06150b9075810de957
822
hpp
C++
XYZGameEngine/Engine/Core/GLESBuffer.hpp
loveinsky100/XYZGameEngine
73eb451afb7ff290546676cda1d33a162cbff638
[ "Apache-2.0" ]
null
null
null
XYZGameEngine/Engine/Core/GLESBuffer.hpp
loveinsky100/XYZGameEngine
73eb451afb7ff290546676cda1d33a162cbff638
[ "Apache-2.0" ]
null
null
null
XYZGameEngine/Engine/Core/GLESBuffer.hpp
loveinsky100/XYZGameEngine
73eb451afb7ff290546676cda1d33a162cbff638
[ "Apache-2.0" ]
null
null
null
// // GLESBuffer.hpp // XYZGameEngine // // Created by Leo on 2016/11/28. // Copyright © 2016年 Leo. All rights reserved. // #ifndef GLESBuffer_hpp #define GLESBuffer_hpp #include <stdio.h> #include <OpenGLES/ES2/gl.h> #include "Object.hpp" namespace XYZGame { class GLESBuffer : public Object { As...
21.631579
82
0.654501
loveinsky100
8dbc305219738ae46896074c59e25e356e9115c5
2,389
hpp
C++
include/mantella_bits/randomNumberGenerator.hpp
OpusV/AstroMechanics
3fe7a5462fce575c465be372d1c69bf788784297
[ "MIT" ]
1
2019-11-08T22:06:56.000Z
2019-11-08T22:06:56.000Z
include/mantella_bits/randomNumberGenerator.hpp
OpusV/AstroMechanics
3fe7a5462fce575c465be372d1c69bf788784297
[ "MIT" ]
null
null
null
include/mantella_bits/randomNumberGenerator.hpp
OpusV/AstroMechanics
3fe7a5462fce575c465be372d1c69bf788784297
[ "MIT" ]
null
null
null
#pragma once // C++ standard library #include <array> #include <random> #include <stdexcept> // Armadillo #include <armadillo> // Mantella #include "mantella_bits/config.hpp" // IWYU pragma: keep namespace mant { class Rng { public: // The random number generator should act as a singleton, no need for defa...
43.436364
223
0.713269
OpusV
8dbd3dc364b3fb38760246c3c5b1e04bd0026973
2,070
cpp
C++
src/UI/EditArrayDialog.cpp
Howaner/NBTEditor
9c69f5e58bc61ff3b48b3aa56d24b81fd2d4243e
[ "BSD-3-Clause" ]
44
2018-02-11T11:52:56.000Z
2022-02-15T11:59:58.000Z
src/UI/EditArrayDialog.cpp
Howaner/NBTEditor
9c69f5e58bc61ff3b48b3aa56d24b81fd2d4243e
[ "BSD-3-Clause" ]
5
2018-08-05T01:33:04.000Z
2022-03-28T23:02:08.000Z
src/UI/EditArrayDialog.cpp
Howaner/NBTEditor
9c69f5e58bc61ff3b48b3aa56d24b81fd2d4243e
[ "BSD-3-Clause" ]
8
2019-07-30T13:51:17.000Z
2021-06-14T13:47:10.000Z
#include "EditArrayDialog.h" #include <QString> #include <QTextStream> namespace UI { EditArrayDialog::EditArrayDialog(QWidget* parent) : QDialog(parent) { widget.setupUi(this); setModal(true); connect(widget.buttonBox, SIGNAL(accepted()), this, SLOT(accept())); } EditArrayDialog::~EditArrayDialog() { } ...
25.243902
79
0.670048
Howaner
8dbf4c0aea31fc985301727077d5ba6e359997b2
8,136
cxx
C++
vtkm/filter/testing/UnitTestCrossProductFilter.cxx
rushah05/VTKm_FP16
487819a1dbdd8dc3f95cca2942e3f2706a2514b5
[ "BSD-3-Clause" ]
2
2021-07-07T22:53:19.000Z
2021-07-31T19:29:35.000Z
vtkm/filter/testing/UnitTestCrossProductFilter.cxx
rushah05/VTKm_FP16
487819a1dbdd8dc3f95cca2942e3f2706a2514b5
[ "BSD-3-Clause" ]
2
2020-11-18T16:50:34.000Z
2022-01-21T13:31:47.000Z
vtkm/filter/testing/UnitTestCrossProductFilter.cxx
rushah05/VTKm_FP16
487819a1dbdd8dc3f95cca2942e3f2706a2514b5
[ "BSD-3-Clause" ]
5
2020-10-02T10:14:35.000Z
2022-03-10T07:50:22.000Z
//============================================================================ // Copyright (c) Kitware, Inc. // All rights reserved. // See LICENSE.txt for details. // // This software is distributed WITHOUT ANY WARRANTY; without even // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR // PURP...
38.197183
100
0.637537
rushah05
8dc1576bbc63305d591abddf16d30bd9c68f976d
4,984
cpp
C++
modules/skottie/src/layers/shapelayer/FillStroke.cpp
mohad12211/skia
042a53aa094715e031ebad4da072524ace316744
[ "BSD-3-Clause" ]
3
2019-03-07T17:01:23.000Z
2021-07-03T22:01:36.000Z
modules/skottie/src/layers/shapelayer/FillStroke.cpp
mohad12211/skia
042a53aa094715e031ebad4da072524ace316744
[ "BSD-3-Clause" ]
2
2021-09-10T03:50:52.000Z
2021-09-10T07:10:19.000Z
modules/skottie/src/layers/shapelayer/FillStroke.cpp
mohad12211/skia
042a53aa094715e031ebad4da072524ace316744
[ "BSD-3-Clause" ]
5
2020-09-04T01:27:32.000Z
2021-07-31T06:34:43.000Z
/* * Copyright 2020 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "modules/skottie/src/Adapter.h" #include "modules/skottie/src/SkottieJson.h" #include "modules/skottie/src/SkottiePriv.h" #include "modules/skottie/src/SkottieValue.h...
37.19403
99
0.58126
mohad12211
8dc5ee3062d82ad1f8e16a20c86f0f895e72e21f
423
hh
C++
mcg/src/external/BSR/include/config/safety.hh
mouthwater/rgb
3fafca24ecc133910923182581a2133b8568bf77
[ "BSD-2-Clause" ]
392
2015-01-14T13:19:40.000Z
2022-02-12T08:47:33.000Z
mcg/src/external/BSR/include/config/safety.hh
mouthwater/rgb
3fafca24ecc133910923182581a2133b8568bf77
[ "BSD-2-Clause" ]
45
2015-02-03T12:16:10.000Z
2022-03-07T00:25:09.000Z
mcg/src/external/BSR/include/config/safety.hh
mouthwater/rgb
3fafca24ecc133910923182581a2133b8568bf77
[ "BSD-2-Clause" ]
168
2015-01-05T02:29:53.000Z
2022-02-22T04:32:04.000Z
/* * Safety settings. */ #ifndef CONFIG__SAFETY_HH #define CONFIG__SAFETY_HH /* * Check smart pointer dereference? * If true, smart pointers should throw exceptions on null dereference. */ #define CONFIG__SAFETY__CHECK_DEREFERENCE (true) /* * Check bounds when accessing arrays? * If true, arrays should throw e...
21.15
79
0.761229
mouthwater
44ef487204d7a342be74d274dfdae403dacc75ce
3,596
hpp
C++
src/packet.hpp
GabrielLins64/custom-eoserv
4a08a4ff9dbdf6e5101eebd41573c0f2b6b412cf
[ "Zlib" ]
2
2021-12-10T17:17:45.000Z
2021-12-10T18:07:21.000Z
src/packet.hpp
GabrielLins64/custom-eoserv
4a08a4ff9dbdf6e5101eebd41573c0f2b6b412cf
[ "Zlib" ]
null
null
null
src/packet.hpp
GabrielLins64/custom-eoserv
4a08a4ff9dbdf6e5101eebd41573c0f2b6b412cf
[ "Zlib" ]
null
null
null
/* $Id: packet.hpp 490 2015-11-18 10:46:34Z sausage $ * EOSERV is released under the zlib license. * See LICENSE.txt for more info. */ #ifndef PACKET_HPP_INCLUDED #define PACKET_HPP_INCLUDED #include "fwd/packet.hpp" #include <array> #include <cstddef> #include <string> /** * Encodes and Decodes packets for a ...
24.134228
118
0.713293
GabrielLins64
44f129b115ebd322d26bcaded1d7408177fdc723
11,025
cpp
C++
external/Coin3D/src/fields/SoSFPath.cpp
skrat/ifcplusplus
1e65d8e0d5e3365d4d1da399081ffaa78fd8a486
[ "MIT" ]
7
2018-03-07T06:51:41.000Z
2020-05-22T08:32:54.000Z
external/Coin3D/src/fields/SoSFPath.cpp
skrat/ifcplusplus
1e65d8e0d5e3365d4d1da399081ffaa78fd8a486
[ "MIT" ]
1
2019-03-06T08:59:24.000Z
2019-03-06T08:59:24.000Z
external/Coin3D/src/fields/SoSFPath.cpp
skrat/ifcplusplus
1e65d8e0d5e3365d4d1da399081ffaa78fd8a486
[ "MIT" ]
8
2018-05-02T20:16:07.000Z
2021-06-10T03:06:04.000Z
/**************************************************************************\ * Copyright (c) Kongsberg Oil & Gas Technologies AS * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * Red...
29.716981
90
0.690884
skrat
44f24f550807a79dda122e1e569313ecc57bb54b
1,280
hpp
C++
include/UnityEngine/RemoteConfigSettingsHelper.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
include/UnityEngine/RemoteConfigSettingsHelper.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
include/UnityEngine/RemoteConfigSettingsHelper.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
1
2022-03-30T21:07:35.000Z
2022-03-30T21:07:35.000Z
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" // Completed includes // Begin forward declares // For...
35.555556
112
0.738281
RedBrumbler
44f39bcaed853494ae339afad053d71b936533f8
727
cpp
C++
test/openexr/bind/imf_imagechannel.cpp
luke-titley/cppmm
3c0dbc5539ab33706e63d4a518f85cb6a9a54ed7
[ "OLDAP-2.5", "OLDAP-2.3" ]
37
2020-11-03T19:51:36.000Z
2022-02-08T06:09:51.000Z
test/openexr/bind/imf_imagechannel.cpp
luke-titley/cppmm
3c0dbc5539ab33706e63d4a518f85cb6a9a54ed7
[ "OLDAP-2.5", "OLDAP-2.3" ]
61
2020-11-06T16:59:25.000Z
2021-09-08T20:48:47.000Z
test/openexr/bind/imf_imagechannel.cpp
luke-titley/cppmm
3c0dbc5539ab33706e63d4a518f85cb6a9a54ed7
[ "OLDAP-2.5", "OLDAP-2.3" ]
7
2020-11-05T04:53:22.000Z
2021-09-03T23:32:21.000Z
#include <OpenEXR/ImfImageChannel.h> #include <cppmm_bind.hpp> namespace cppmm_bind { namespace OPENEXR_IMF_INTERNAL_NAMESPACE { namespace Imf = ::OPENEXR_IMF_INTERNAL_NAMESPACE; struct ImageChannel { using BoundType = Imf::ImageChannel; // Inherited from ImageChannel virtual Imf::PixelType pixelType(...
22.71875
49
0.723521
luke-titley
44f9edb496a5d28539ff504f969ba1e7271944dd
2,141
cpp
C++
REDSI_1160929_1161573/boost_1_67_0/libs/graph/test/cycle_canceling_test.cpp
Wultyc/ISEP_1718_2A2S_REDSI_TrabalhoGrupo
eb0f7ef64e188fe871f47c2ef9cdef36d8a66bc8
[ "MIT" ]
85
2015-02-08T20:36:17.000Z
2021-11-14T20:38:31.000Z
libs/boost/libs/graph/test/cycle_canceling_test.cpp
flingone/frameworks_base_cmds_remoted
4509d9f0468137ed7fd8d100179160d167e7d943
[ "Apache-2.0" ]
9
2015-01-28T16:33:19.000Z
2020-04-12T23:03:28.000Z
libs/boost/libs/graph/test/cycle_canceling_test.cpp
flingone/frameworks_base_cmds_remoted
4509d9f0468137ed7fd8d100179160d167e7d943
[ "Apache-2.0" ]
27
2015-01-28T16:33:30.000Z
2021-08-12T05:04:39.000Z
//======================================================================= // Copyright 2013 University of Warsaw. // Authors: Piotr Wygocki // // 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.453125
198
0.661373
Wultyc
44faa362d98796fe4608f68ac803e3164574fee5
263
cxx
C++
StRoot/StJetMaker/mcparticles/StjMCParticleCutParton.cxx
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
2
2018-12-24T19:37:00.000Z
2022-02-28T06:57:20.000Z
StRoot/StJetMaker/mcparticles/StjMCParticleCutParton.cxx
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
null
null
null
StRoot/StJetMaker/mcparticles/StjMCParticleCutParton.cxx
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
null
null
null
// // Pibero Djawotho <pibero@tamu.edu> // Texas A&M // 20 Jan 2012 // // Select particles for partone jets // #include "StjMCParticleCutParton.h" ClassImp(StjMCParticleCutParton) int StjMCParticleCutParton::mstu72 = 0; int StjMCParticleCutParton::mstu73 = 0;
17.533333
39
0.745247
xiaohaijin
44fce870ce0ffed9968b04944f431bffb81e3b15
16,748
cc
C++
third_party/blink/renderer/core/layout/ng/table/ng_table_layout_algorithm_types.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
76
2020-09-02T03:05:41.000Z
2022-03-30T04:40:55.000Z
third_party/blink/renderer/core/layout/ng/table/ng_table_layout_algorithm_types.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
45
2020-09-02T03:21:37.000Z
2022-03-31T22:19:45.000Z
third_party/blink/renderer/core/layout/ng/table/ng_table_layout_algorithm_types.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
8
2020-07-22T18:49:18.000Z
2022-02-08T10:27:16.000Z
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "third_party/blink/renderer/core/layout/ng/table/ng_table_layout_algorithm_types.h" #include "third_party/blink/renderer/core/layout/ng/ng_block...
36.72807
92
0.706413
zealoussnow
44fd4b8f5d1226e5f2374f58150fd612535ecfc8
11,857
cpp
C++
qamsource/podmgr/podserver/src/vlCCIInfo.cpp
rdkcmf/rdk-mediaframework
55c7753eedaeb15719c5825f212372857459a87e
[ "Apache-2.0" ]
null
null
null
qamsource/podmgr/podserver/src/vlCCIInfo.cpp
rdkcmf/rdk-mediaframework
55c7753eedaeb15719c5825f212372857459a87e
[ "Apache-2.0" ]
null
null
null
qamsource/podmgr/podserver/src/vlCCIInfo.cpp
rdkcmf/rdk-mediaframework
55c7753eedaeb15719c5825f212372857459a87e
[ "Apache-2.0" ]
null
null
null
/* * If not stated otherwise in this file or this component's LICENSE file the * following copyright and licenses apply: * * Copyright 2011 RDK Management * * 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...
35.183976
254
0.560934
rdkcmf
44fdc11aa287ae0c46ec9ab923a9ff8bd6695f92
183
cpp
C++
src/homework/01_variables/variables.cpp
acc-cosc-1337-spring-2022/acc-cosc-1337-spring-2022-veysto2
c09be3d82d5984a7c2ae89e46047cf475c423245
[ "MIT" ]
null
null
null
src/homework/01_variables/variables.cpp
acc-cosc-1337-spring-2022/acc-cosc-1337-spring-2022-veysto2
c09be3d82d5984a7c2ae89e46047cf475c423245
[ "MIT" ]
null
null
null
src/homework/01_variables/variables.cpp
acc-cosc-1337-spring-2022/acc-cosc-1337-spring-2022-veysto2
c09be3d82d5984a7c2ae89e46047cf475c423245
[ "MIT" ]
null
null
null
#include "variables.h" //example int add_numbers(int num1, int num2) { return num1 + num2; } // multiply int multiply_numbers(int num1) { int num2 = 5; return num1 * num2; }
9.631579
35
0.666667
acc-cosc-1337-spring-2022
44fdd883810046db8c0a9efc6538e6324a825fd3
481
cpp
C++
cuda/graph-coloring/main.cpp
leonoverweel/graph-coloring
48654a2e4cb3ddd786ac6193f9d73271c43eabf0
[ "MIT" ]
null
null
null
cuda/graph-coloring/main.cpp
leonoverweel/graph-coloring
48654a2e4cb3ddd786ac6193f9d73271c43eabf0
[ "MIT" ]
null
null
null
cuda/graph-coloring/main.cpp
leonoverweel/graph-coloring
48654a2e4cb3ddd786ac6193f9d73271c43eabf0
[ "MIT" ]
null
null
null
#include "Graph.h" #include <iostream> #include <string> int main() { // Graph location std::string base = "../../../graphs"; std::string path = base + "tiny.graph"; // Coloring parameters bool sortByDegree = true; bool sortAscending = false; bool verify = true; // Read file std::cout << "Reading file ......
18.5
58
0.654886
leonoverweel
44fe6e0e26a8d9ceb5c8c422b4406897d874f620
901
hh
C++
estp/base/at.hh
dpalchak/estoppel
921e29865a9a558ea70a2329f16428a96935a90b
[ "MIT" ]
2
2018-07-23T17:40:47.000Z
2018-08-03T20:06:40.000Z
estp/base/at.hh
dpalchak/estoppel
921e29865a9a558ea70a2329f16428a96935a90b
[ "MIT" ]
null
null
null
estp/base/at.hh
dpalchak/estoppel
921e29865a9a558ea70a2329f16428a96935a90b
[ "MIT" ]
null
null
null
#pragma once #include "estp/base/assert.hh" #include "estp/base/casting.hh" #include "estp/base/types.hh" #include <array> // Basic implementation of the at() function as described in the C++ GSL namespace estp { template<typename T, Index N> constexpr decltype(auto) at(T (&arr)[N], Index index) { EXPECTS(0 <= in...
23.710526
72
0.688124
dpalchak
44ff9fb153b71a6fcc1f08a00a48db8205e9b937
2,170
cpp
C++
tools/Vitis-AI-Library/graph_runner/src/tensor_buffer_linker.cpp
bluetiger9/Vitis-AI
a7728733bbcfc292ff3afa46b9c8b03e94b740b3
[ "Apache-2.0" ]
848
2019-12-03T00:16:17.000Z
2022-03-31T22:53:17.000Z
tools/Vitis-AI-Library/graph_runner/src/tensor_buffer_linker.cpp
wangyifan778/Vitis-AI
f61061eef7550d98bf02a171604c9a9f283a7c47
[ "Apache-2.0" ]
656
2019-12-03T00:48:46.000Z
2022-03-31T18:41:54.000Z
tools/Vitis-AI-Library/graph_runner/src/tensor_buffer_linker.cpp
wangyifan778/Vitis-AI
f61061eef7550d98bf02a171604c9a9f283a7c47
[ "Apache-2.0" ]
506
2019-12-03T00:46:26.000Z
2022-03-30T10:34:56.000Z
/* * Copyright 2019 Xilinx 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 ...
30.138889
77
0.684793
bluetiger9
780133b50c953edafa347eb50f9121dd1ec94a09
873
cpp
C++
The C++ programming language - Bjarne Stroustrup/Chapter 5 - Pointers arrays and structures/exercise 6/main.cpp
idesign0/robotics
69a7961a563276fbf021814c0b4577d4c45f3eb8
[ "MIT" ]
2
2020-06-30T12:15:07.000Z
2020-10-07T16:02:08.000Z
The C++ programming language - Bjarne Stroustrup/Chapter 5 - Pointers arrays and structures/exercise 6/main.cpp
idesign0/robotics
69a7961a563276fbf021814c0b4577d4c45f3eb8
[ "MIT" ]
null
null
null
The C++ programming language - Bjarne Stroustrup/Chapter 5 - Pointers arrays and structures/exercise 6/main.cpp
idesign0/robotics
69a7961a563276fbf021814c0b4577d4c45f3eb8
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; void f(char c){ cout << "f is called with " << c << endl ; } void g(char &c){ cout << "g is called with " << c << endl ; } void h(const char &c){ cout << "h is called with " << c << endl ; } int main(){ char c ='a'; unsigned char uc ='b'; signed cha...
19.840909
70
0.542955
idesign0
7802db912c3fd545e1dd2173b98764eb844bda63
6,891
cpp
C++
src/bin/obsidian.cpp
divad-nhok/obsidian_fork
e5bee2b706f78249564f06c88a18be086b17c895
[ "MIT" ]
2
2021-03-08T16:28:45.000Z
2022-03-04T14:55:59.000Z
src/bin/obsidian.cpp
divad-nhok/obsidian_fork
e5bee2b706f78249564f06c88a18be086b17c895
[ "MIT" ]
1
2018-08-16T00:46:58.000Z
2018-08-16T00:46:58.000Z
src/bin/obsidian.cpp
divad-nhok/obsidian_fork
e5bee2b706f78249564f06c88a18be086b17c895
[ "MIT" ]
2
2018-02-26T01:03:13.000Z
2021-02-01T02:31:37.000Z
//! //! A delegator that runs parallel tempering on several workers to perform an inversion. //! //! \file obsidian.cpp //! \author Lachlan McCalman //! \author Darren Shen //! \author Nahid Akbar //! \date February, 2014 //! \license Affero General Public License version 3 or later //! \copyright (c) 2014, NICTA //! ...
37.248649
120
0.679147
divad-nhok
7808a29341746df8bcba301ee7eb8acc53acb01f
3,049
cpp
C++
stm32/cores/arduino/KLSTFirmware/AudioCodecWM8731.cpp
dennisppaul/klangstrom-arduino
d1f805b9813d1ec08b5b850abf1270fb037245d9
[ "CC0-1.0" ]
5
2021-05-04T07:32:05.000Z
2022-01-18T11:04:14.000Z
stm32/cores/arduino/KLSTFirmware/AudioCodecWM8731.cpp
dennisppaul/klangstrom-arduino
d1f805b9813d1ec08b5b850abf1270fb037245d9
[ "CC0-1.0" ]
5
2021-05-16T11:00:13.000Z
2021-12-20T23:16:24.000Z
stm32/cores/arduino/KLSTFirmware/AudioCodecWM8731.cpp
dennisppaul/klangstrom-arduino
d1f805b9813d1ec08b5b850abf1270fb037245d9
[ "CC0-1.0" ]
null
null
null
#include "AudioCodecWM8731.h" // #ifdef __cplusplus // extern "C" { // #endif #define WM8731_I2C_ADDR 0x34 // bool WM8731_init() { // /* I2S configuration */ // WM8731_delay(5); // WM8731_write(WM8731_REG_RESET, 0); // WM8731_write(WM8731_REG_INTERFACE, 0b00000010); // 0x02=0b00000010 // I2S, 16 bi...
29.601942
103
0.630699
dennisppaul
780a910e89883b7a7bc3812ae710f25f15a681fe
64,448
cc
C++
third/libyuv/source/row_any.cc
onbings/bofstd
366ff7f7d8871d5fa5785d5690d90506a7714ecc
[ "MIT" ]
null
null
null
third/libyuv/source/row_any.cc
onbings/bofstd
366ff7f7d8871d5fa5785d5690d90506a7714ecc
[ "MIT" ]
1
2021-03-20T14:46:54.000Z
2021-03-20T14:47:10.000Z
third/libyuv/source/row_any.cc
onbings/bofstd
366ff7f7d8871d5fa5785d5690d90506a7714ecc
[ "MIT" ]
null
null
null
/* * Copyright 2012 The LibYuv Project Authors. All rights reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribu...
41.233525
81
0.618049
onbings
780ee77a953b3dd44a05936487e4247eba32edb0
26,326
cpp
C++
src/realm/util/interprocess_condvar.cpp
aleyooop/realm-core
9874d5164927ea39273b241a5af14b596a3233e9
[ "Apache-2.0" ]
null
null
null
src/realm/util/interprocess_condvar.cpp
aleyooop/realm-core
9874d5164927ea39273b241a5af14b596a3233e9
[ "Apache-2.0" ]
null
null
null
src/realm/util/interprocess_condvar.cpp
aleyooop/realm-core
9874d5164927ea39273b241a5af14b596a3233e9
[ "Apache-2.0" ]
null
null
null
/************************************************************************* * * Copyright 2016 Realm 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/lice...
36.974719
115
0.65027
aleyooop
78125f968d2abdc5920aef86c890b5394162c3c1
4,512
cpp
C++
bionic/libc/bionic/libc_init_dynamic.cpp
lihuibng/marshmallow
950cf8de3b4d63af9fc9699374e4ec45ad09b3a7
[ "Apache-2.0" ]
null
null
null
bionic/libc/bionic/libc_init_dynamic.cpp
lihuibng/marshmallow
950cf8de3b4d63af9fc9699374e4ec45ad09b3a7
[ "Apache-2.0" ]
null
null
null
bionic/libc/bionic/libc_init_dynamic.cpp
lihuibng/marshmallow
950cf8de3b4d63af9fc9699374e4ec45ad09b3a7
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2008 The Android Open Source Project * 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...
39.234783
107
0.732713
lihuibng
78142d53c21ca7dfea78155d55bdb6ca0c106423
395
cc
C++
accumulate.cc
tonioc987/ejemplos-blog
315f8e8049953b076a0a8275413ff4ad568a705a
[ "MIT" ]
null
null
null
accumulate.cc
tonioc987/ejemplos-blog
315f8e8049953b076a0a8275413ff4ad568a705a
[ "MIT" ]
null
null
null
accumulate.cc
tonioc987/ejemplos-blog
315f8e8049953b076a0a8275413ff4ad568a705a
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> using namespace std; int main() { #define N_ELEMENTS 100000000UL long * values = new long[N_ELEMENTS]; iota(values, values+N_ELEMENTS, 1); long result = accumulate(values, values+N_ELEMENTS, 0); cout << "resultado= " << result << endl; result = accumulate(val...
21.944444
57
0.670886
tonioc987
78151356c2ef58040d55b87e8c599fbf3e121fb5
3,975
hpp
C++
ios/Pods/boost-for-react-native/boost/hana/fwd/group.hpp
rudylee/expo
b3e65a7a5b205f14a3eb6cd6fa8d13c8d663b1cc
[ "Apache-2.0", "MIT" ]
8,805
2015-11-03T00:52:29.000Z
2022-03-29T22:30:03.000Z
ios/Pods/boost-for-react-native/boost/hana/fwd/group.hpp
rudylee/expo
b3e65a7a5b205f14a3eb6cd6fa8d13c8d663b1cc
[ "Apache-2.0", "MIT" ]
14,694
2015-02-24T15:13:42.000Z
2022-03-31T13:16:45.000Z
ios/Pods/boost-for-react-native/boost/hana/fwd/group.hpp
rudylee/expo
b3e65a7a5b205f14a3eb6cd6fa8d13c8d663b1cc
[ "Apache-2.0", "MIT" ]
1,329
2015-11-03T20:25:51.000Z
2022-03-31T18:10:38.000Z
/*! @file Forward declares `boost::hana::group`. @copyright Louis Dionne 2013-2016 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ #ifndef BOOST_HANA_FWD_GROUP_HPP #define BOOST_HANA_FWD_GROUP_HPP #include <boos...
38.221154
79
0.623145
rudylee
7816595fcf9ea3de92ea24ec598290198e633ec6
1,731
cpp
C++
Sources/Internal/Platform/TemplateAndroid/FileListAndroid.cpp
Serviak/dava.engine
d51a26173a3e1b36403f846ca3b2e183ac298a1a
[ "BSD-3-Clause" ]
1
2020-11-14T10:18:24.000Z
2020-11-14T10:18:24.000Z
Sources/Internal/Platform/TemplateAndroid/FileListAndroid.cpp
Serviak/dava.engine
d51a26173a3e1b36403f846ca3b2e183ac298a1a
[ "BSD-3-Clause" ]
null
null
null
Sources/Internal/Platform/TemplateAndroid/FileListAndroid.cpp
Serviak/dava.engine
d51a26173a3e1b36403f846ca3b2e183ac298a1a
[ "BSD-3-Clause" ]
1
2020-09-05T21:16:17.000Z
2020-09-05T21:16:17.000Z
#include "Platform/TemplateAndroid/FileListAndroid.h" #if defined(__DAVAENGINE_ANDROID__) #include "Logger/Logger.h" namespace DAVA { JniFileList::JniFileList() : jniFileList("com/dava/framework/JNIFileList") { getFileList = jniFileList.GetStaticMethod<jobjectArray, jstring>("GetFileList"); } Vector<JniFile...
33.288462
116
0.659157
Serviak
7818d7083a27c7ca522b3554a58ccfb0b3414084
408
cpp
C++
Control_1/Pregunta_1/Inciso_e/C_bloques_main.cpp
leonardo-gallegos/Leonardo_Gallegos
f5b969a2760462047c5ddd315ca389941cb5a02d
[ "MIT" ]
1
2021-04-05T03:25:06.000Z
2021-04-05T03:25:06.000Z
Control_1/Pregunta_1/Inciso_e/C_bloques_main.cpp
leonardo-gallegos/Renzo_Leonardo_Gallegos_Vilca
f5b969a2760462047c5ddd315ca389941cb5a02d
[ "MIT" ]
null
null
null
Control_1/Pregunta_1/Inciso_e/C_bloques_main.cpp
leonardo-gallegos/Renzo_Leonardo_Gallegos_Vilca
f5b969a2760462047c5ddd315ca389941cb5a02d
[ "MIT" ]
null
null
null
#include <iostream> #include <iomanip> #include "C_bloques.cpp" int main() { std::string msg; std::cout << "Enter a message: "; getline(std::cin, msg); int key; std::cout << "Enter a key: "; std::cin >> key; std::cin.ignore(); Block<std::string> Block_1(msg, key); std::string cod...
19.428571
49
0.571078
leonardo-gallegos
78195397b8537f10606ec21487fc7bfbcde17408
5,522
cpp
C++
amr-wind/wind_energy/actuator/turbine/turbine_utils.cpp
tonyinme/amr-wind
d04841d20082236e8afed860fdcfb7a69cd5591c
[ "BSD-3-Clause" ]
null
null
null
amr-wind/wind_energy/actuator/turbine/turbine_utils.cpp
tonyinme/amr-wind
d04841d20082236e8afed860fdcfb7a69cd5591c
[ "BSD-3-Clause" ]
null
null
null
amr-wind/wind_energy/actuator/turbine/turbine_utils.cpp
tonyinme/amr-wind
d04841d20082236e8afed860fdcfb7a69cd5591c
[ "BSD-3-Clause" ]
null
null
null
#include "amr-wind/wind_energy/actuator/turbine/turbine_utils.H" #include "amr-wind/utilities/ncutils/nc_interface.H" #include "amr-wind/utilities/io_utils.H" namespace amr_wind { namespace actuator { namespace utils { void read_inputs( TurbineBaseData& tdata, TurbineInfo& tinfo, const utils::ActParser& pp) { ...
37.060403
80
0.647954
tonyinme
781a288e18679068b0af200053523fa9d3f26639
2,962
cpp
C++
3rdparty/meshlab-master/src/plugins_unsupported/render_rm/parser/RmPass.cpp
HoEmpire/slambook2
96d360f32aa5d8b5c5dcbbf9ee7ba865e84409f4
[ "MIT" ]
4
2016-03-30T14:31:52.000Z
2019-02-02T05:01:32.000Z
graphics/meshlab/src/plugins_unsupported/render_rm/parser/RmPass.cpp
hlzz/dotfiles
0591f71230c919c827ba569099eb3b75897e163e
[ "BSD-3-Clause" ]
null
null
null
graphics/meshlab/src/plugins_unsupported/render_rm/parser/RmPass.cpp
hlzz/dotfiles
0591f71230c919c827ba569099eb3b75897e163e
[ "BSD-3-Clause" ]
null
null
null
/**************************************************************************** * MeshLab o o * * A versatile mesh processing toolbox o o * * _ O _ * * Copyri...
41.138889
77
0.431128
HoEmpire
781cf5aad702a1a5097d027f966d39b28d35e567
4,482
cpp
C++
Plugins/SciberQuestToolKit/eigen-3.0.3/eigen-eigen-3.0.3/test/conservative_resize.cpp
mathstuf/ParaView
e867e280545ada10c4ed137f6a966d9d2f3db4cb
[ "Apache-2.0" ]
31
2015-03-12T00:12:39.000Z
2021-12-26T08:56:31.000Z
Plugins/SciberQuestToolKit/eigen-3.0.3/eigen-eigen-3.0.3/test/conservative_resize.cpp
mathstuf/ParaView
e867e280545ada10c4ed137f6a966d9d2f3db4cb
[ "Apache-2.0" ]
2
2019-05-26T19:02:24.000Z
2021-05-27T14:15:04.000Z
Plugins/SciberQuestToolKit/eigen-3.0.3/eigen-eigen-3.0.3/test/conservative_resize.cpp
mathstuf/ParaView
e867e280545ada10c4ed137f6a966d9d2f3db4cb
[ "Apache-2.0" ]
9
2019-07-04T12:54:29.000Z
2022-02-09T13:04:38.000Z
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. Eigen itself is part of the KDE project. // // Copyright (C) 2009 Hauke Heibel <hauke.heibel@gmail.com> // // Eigen is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // L...
34.476923
78
0.691879
mathstuf
781ecc2e7ba2332e24cb142ac2365bb59538bbdf
4,064
cc
C++
src/gpu-compute/register_manager.cc
fei-shan/gem5-experiment
70781db30d42b1fe50e495bd04f7755a4b0e0e59
[ "BSD-3-Clause" ]
1
2021-05-04T13:23:30.000Z
2021-05-04T13:23:30.000Z
src/gpu-compute/register_manager.cc
fei-shan/gem5-experiment
70781db30d42b1fe50e495bd04f7755a4b0e0e59
[ "BSD-3-Clause" ]
1
2021-04-17T17:13:56.000Z
2021-04-17T17:13:56.000Z
src/gpu-compute/register_manager.cc
fei-shan/gem5-experiment
70781db30d42b1fe50e495bd04f7755a4b0e0e59
[ "BSD-3-Clause" ]
1
2021-08-23T05:37:55.000Z
2021-08-23T05:37:55.000Z
/* * Copyright (c) 2016, 2017 Advanced Micro Devices, Inc. * All rights reserved. * * For use for simulation and test purposes only * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of sour...
30.787879
79
0.71752
fei-shan
781f10cbb0551618fe311ff6297cbb2bb7fdfdc2
6,102
hpp
C++
read-excel/record.hpp
AlexZaikaSay/read-excel
2d33f324dbffc97d04096a01a6429ab045fce97c
[ "MIT" ]
null
null
null
read-excel/record.hpp
AlexZaikaSay/read-excel
2d33f324dbffc97d04096a01a6429ab045fce97c
[ "MIT" ]
null
null
null
read-excel/record.hpp
AlexZaikaSay/read-excel
2d33f324dbffc97d04096a01a6429ab045fce97c
[ "MIT" ]
null
null
null
/*! \file \brief Excel Record. \author Igor Mironchik (igor.mironchik at gmail dot com). Copyright (c) 2011-2021 Igor Mironchik 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...
19.009346
67
0.654703
AlexZaikaSay
78208770155c08076fa119ec5d23aa2520bccf68
3,163
cpp
C++
impact/src/ClassActions.cpp
kit-transue/software-emancipation-discover
bec6f4ef404d72f361d91de954eae9a3bd669ce3
[ "BSD-2-Clause" ]
2
2015-11-24T03:31:12.000Z
2015-11-24T16:01:57.000Z
impact/src/ClassActions.cpp
radtek/software-emancipation-discover
bec6f4ef404d72f361d91de954eae9a3bd669ce3
[ "BSD-2-Clause" ]
null
null
null
impact/src/ClassActions.cpp
radtek/software-emancipation-discover
bec6f4ef404d72f361d91de954eae9a3bd669ce3
[ "BSD-2-Clause" ]
1
2019-05-19T02:26:08.000Z
2019-05-19T02:26:08.000Z
/************************************************************************* * Copyright (c) 2015, Synopsys, Inc. * * All rights reserved. * * * * Redistribution and...
47.208955
74
0.605122
kit-transue
78240ce8bd247a4be2c9b547a7fb2b46df3f30fb
168
cpp
C++
regression/cbmc-cpp/MethodParam1/main.cpp
chrisr-diffblue/cbmc
854b26fec145ebb345cf45c9512201143c823cd1
[ "BSD-4-Clause" ]
null
null
null
regression/cbmc-cpp/MethodParam1/main.cpp
chrisr-diffblue/cbmc
854b26fec145ebb345cf45c9512201143c823cd1
[ "BSD-4-Clause" ]
2
2018-06-18T10:34:36.000Z
2018-07-03T15:43:57.000Z
regression/cbmc-cpp/MethodParam1/main.cpp
jeannielynnmoulton/cbmc
1d4af6d88ec960677170049a8a89a9166b952996
[ "BSD-4-Clause" ]
null
null
null
#include <assert.h> unsigned x; class ct { void f(int i) { x=x+i; } }; int main() { unsigned r; x=r%3; ct c; c.f(2); assert(x<4); assert(x<5); }
8.842105
19
0.494048
chrisr-diffblue
7824534fda4399aee33315df0b6ea510f424a895
718
cpp
C++
CodeForces/Contests/Contest_esquenta_UFPI_2021/a_ranking/solucao.cpp
lucaswilliamgomes/QuestionsCompetitiveProgramming
f0a2cf42bb5a00e5d677b7f3211ac399fe2bf6a0
[ "MIT" ]
null
null
null
CodeForces/Contests/Contest_esquenta_UFPI_2021/a_ranking/solucao.cpp
lucaswilliamgomes/QuestionsCompetitiveProgramming
f0a2cf42bb5a00e5d677b7f3211ac399fe2bf6a0
[ "MIT" ]
null
null
null
CodeForces/Contests/Contest_esquenta_UFPI_2021/a_ranking/solucao.cpp
lucaswilliamgomes/QuestionsCompetitiveProgramming
f0a2cf42bb5a00e5d677b7f3211ac399fe2bf6a0
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define ll long long using namespace std; struct Jogador { ll nota; string name; Jogador(ll nota, string name = "") : nota(nota), name(name) {} bool operator<(const Jogador &a) { return nota < a.nota; } bool operator>(const Jogador &a) { retu...
15.276596
66
0.509749
lucaswilliamgomes
782458cc510eaa4ce002c373d61d74af7fd518d6
22,080
cpp
C++
ME3/main.cpp
Erik-JS/masseffect-binkw32
1c80f3765f6290fc58aaa04b07b02cda3d12a5d4
[ "MIT" ]
128
2016-02-23T13:18:12.000Z
2021-10-09T21:43:32.000Z
ME3/main.cpp
Erik-JS/masseffect-binkw32
1c80f3765f6290fc58aaa04b07b02cda3d12a5d4
[ "MIT" ]
16
2016-02-06T20:57:50.000Z
2021-01-27T01:27:39.000Z
ME3/main.cpp
Erik-JS/masseffect-binkw32
1c80f3765f6290fc58aaa04b07b02cda3d12a5d4
[ "MIT" ]
41
2016-08-17T10:19:50.000Z
2022-02-12T19:36:14.000Z
// ME3 - binkw32 - main.cpp #include "header.h" #include <windows.h> #include <stdio.h> #include <ShlObj.h> HINSTANCE hOriginalBink = NULL; FARPROC p[72] = {0}; char exeBaseFolder[FILENAME_MAX]; BYTE pattern [] = { 0x8B, 0x11, 0x8B, 0x42, 0x0C, 0x57, 0x56, 0xFF, 0xD0, ...
23.096234
166
0.686096
Erik-JS
7824d44de909537bbaf27946f98cd6e0cb0a1367
21,440
cpp
C++
yukawa/sensorhal/sensorlist_neonkey.cpp
furhadjidda/device-yukawa-auto
8a550e16e6a43dd79604db263ca2afb72a37ef23
[ "Apache-2.0" ]
2
2021-10-06T11:56:19.000Z
2022-02-15T09:54:32.000Z
yukawa/sensorhal/sensorlist_neonkey.cpp
furhadjidda/device-yukawa-auto
8a550e16e6a43dd79604db263ca2afb72a37ef23
[ "Apache-2.0" ]
null
null
null
yukawa/sensorhal/sensorlist_neonkey.cpp
furhadjidda/device-yukawa-auto
8a550e16e6a43dd79604db263ca2afb72a37ef23
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2016 The Android Open Source Project * * 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 app...
45.327696
96
0.545522
furhadjidda
78259b894a27624003d95494f668a97d706c10c0
5,577
cpp
C++
source/thirdparty/irrpoly/gf.cpp
jointpoints/tms-nets
8cefe1868d2e696c100594e66d57380243856e16
[ "BSL-1.0" ]
5
2019-10-14T18:49:36.000Z
2020-10-22T06:03:57.000Z
source/thirdparty/irrpoly/gf.cpp
jointpoints/tms-nets
8cefe1868d2e696c100594e66d57380243856e16
[ "BSL-1.0" ]
8
2019-11-10T17:23:20.000Z
2020-12-01T18:00:45.000Z
source/thirdparty/irrpoly/gf.cpp
jointpoints/tms-nets
8cefe1868d2e696c100594e66d57380243856e16
[ "BSL-1.0" ]
16
2019-10-25T13:50:59.000Z
2021-06-24T13:55:23.000Z
#include "../../../include/tms-nets/thirdparty/irrpoly/gf.hpp" // Comparison operators for <gf> objects auto irrpoly::operator==(const gf &lb, const gf &rb) -> bool { return lb->base() == rb->base(); } auto irrpoly::operator!=(const gf &lb, const gf &rb) -> bool { return lb->base() != rb->base(); }...
17.319876
81
0.628653
jointpoints
782709120097ca127568368085b502d114d97f5d
47
cpp
C++
src/tools/kdb/command.cpp
0003088/libelektra-qt-gui-test
f127a7bd4daba1b70e1ea0ce13d8ff650beda5b6
[ "BSD-3-Clause" ]
null
null
null
src/tools/kdb/command.cpp
0003088/libelektra-qt-gui-test
f127a7bd4daba1b70e1ea0ce13d8ff650beda5b6
[ "BSD-3-Clause" ]
null
null
null
src/tools/kdb/command.cpp
0003088/libelektra-qt-gui-test
f127a7bd4daba1b70e1ea0ce13d8ff650beda5b6
[ "BSD-3-Clause" ]
null
null
null
#include <command.hpp> Command::~Command() {}
9.4
22
0.659574
0003088
7827691c6727cd3f28a65a9d5252e57485a53761
4,298
hxx
C++
dev/Code/Framework/AzToolsFramework/AzToolsFramework/UI/PropertyEditor/ComponentEditor.hxx
stickyparticles/lumberyard
dc523dd780f3cd1874251181b7cf6848b8db9959
[ "AML" ]
2
2017-08-25T14:27:55.000Z
2017-08-25T14:52:22.000Z
dev/Code/Framework/AzToolsFramework/AzToolsFramework/UI/PropertyEditor/ComponentEditor.hxx
JulianoCristian/Lumberyard-3
dc523dd780f3cd1874251181b7cf6848b8db9959
[ "AML" ]
null
null
null
dev/Code/Framework/AzToolsFramework/AzToolsFramework/UI/PropertyEditor/ComponentEditor.hxx
JulianoCristian/Lumberyard-3
dc523dd780f3cd1874251181b7cf6848b8db9959
[ "AML" ]
3
2019-05-13T09:41:33.000Z
2021-04-09T12:12:38.000Z
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or t...
38.375
157
0.729642
stickyparticles
782d75ef444418e774b6c4905cac55e0925bf40d
1,384
cc
C++
source/extensions/filters/http/transformation/body_header_transformer.cc
solo-io/envoy-gloo
7f48ec3820134dd26dd3b8ac3c1c56b3a2a58cc3
[ "Apache-2.0" ]
17
2019-03-06T01:44:39.000Z
2022-01-17T15:17:05.000Z
source/extensions/filters/http/transformation/body_header_transformer.cc
solo-io/envoy-gloo
7f48ec3820134dd26dd3b8ac3c1c56b3a2a58cc3
[ "Apache-2.0" ]
95
2018-12-19T19:22:26.000Z
2022-03-31T15:07:56.000Z
source/extensions/filters/http/transformation/body_header_transformer.cc
solo-io/envoy-gloo
7f48ec3820134dd26dd3b8ac3c1c56b3a2a58cc3
[ "Apache-2.0" ]
11
2019-06-23T20:05:57.000Z
2021-02-17T18:25:29.000Z
#include "source/extensions/filters/http/transformation/body_header_transformer.h" #include "source/common/http/headers.h" #include "nlohmann/json.hpp" // For convenience using json = nlohmann::json; namespace Envoy { namespace Extensions { namespace HttpFilters { namespace Transformation { void BodyHeaderTransfor...
28.244898
82
0.710983
solo-io
782eb9adde43d519b72f73c38b4915dca6a5f282
3,191
cpp
C++
09.05/main.cpp
AmaterasuOmikami/OOP-in-Cpp-book-exercises
7f7f02472446a9defd93e95de7e9c07048b5c400
[ "MIT" ]
null
null
null
09.05/main.cpp
AmaterasuOmikami/OOP-in-Cpp-book-exercises
7f7f02472446a9defd93e95de7e9c07048b5c400
[ "MIT" ]
null
null
null
09.05/main.cpp
AmaterasuOmikami/OOP-in-Cpp-book-exercises
7f7f02472446a9defd93e95de7e9c07048b5c400
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; const int LEN = 30; class Employee { private: char name[LEN]; unsigned long number; public: void getData() { cout << "Enter name:"; cin >> name; cout << "Enter number:"; cin >> number; } void putData() const { cou...
18.994048
60
0.474773
AmaterasuOmikami
7830216b91c437a86d531d459aeb27161ec5ecb0
6,702
hpp
C++
src/core/network/tcp_adaptor_nng.hpp
SJTU-IPADS/wukong-cube
ccabf1b754978322277dc881a43cedfd2687070f
[ "Apache-2.0" ]
7
2021-06-22T06:24:21.000Z
2022-02-16T02:48:38.000Z
src/core/network/tcp_adaptor_nng.hpp
SJTU-IPADS/wukong-cube
ccabf1b754978322277dc881a43cedfd2687070f
[ "Apache-2.0" ]
4
2021-12-22T15:11:02.000Z
2021-12-22T15:27:50.000Z
src/core/network/tcp_adaptor_nng.hpp
SJTU-IPADS/wukong-cube
ccabf1b754978322277dc881a43cedfd2687070f
[ "Apache-2.0" ]
1
2022-01-19T04:23:18.000Z
2022-01-19T04:23:18.000Z
/* * Copyright (c) 2016 Shanghai Jiao Tong University. * 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....
33.678392
104
0.602208
SJTU-IPADS
7833f211d05dc6c9f02cd6a9fa6b9acac7108600
3,070
cpp
C++
src/freedman.cpp
jaihyunp/HE_clustering
b4e04a1468428805e35c0c55a8e590b00baafa03
[ "MIT" ]
null
null
null
src/freedman.cpp
jaihyunp/HE_clustering
b4e04a1468428805e35c0c55a8e590b00baafa03
[ "MIT" ]
null
null
null
src/freedman.cpp
jaihyunp/HE_clustering
b4e04a1468428805e35c0c55a8e590b00baafa03
[ "MIT" ]
null
null
null
#include "plain.h" std::vector<long> freedman_cluster(std::vector<Point> &points, long dim, long num_of_dusts, long num_of_shiftings, long zeta_ms, long gamma_ms) { long num_of_points = points.size(); double max = (double) dim, tmp, dist; std::vector<Point> dusts, dusts2; std::vector<long> closest, mod...
28.165138
143
0.485016
jaihyunp
78349b85521e219b227f84029bcf936fd06bfc4b
104
cxx
C++
test/type.cxx
tqfx/mxml
0237559fdbcecae34157b547aa2b99e12de305a2
[ "Apache-2.0" ]
351
2017-03-07T05:42:24.000Z
2022-03-23T02:20:29.000Z
test/type.cxx
tqfx/mxml
0237559fdbcecae34157b547aa2b99e12de305a2
[ "Apache-2.0" ]
120
2017-03-09T18:24:47.000Z
2022-02-11T12:16:11.000Z
test/type.cxx
tqfx/mxml
0237559fdbcecae34157b547aa2b99e12de305a2
[ "Apache-2.0" ]
150
2017-03-13T02:55:12.000Z
2022-03-09T18:10:55.000Z
typedef int foo_simple_t; /* Simple integer type */ typedef int foo_simple_private_t; /* @private@ */
26
52
0.730769
tqfx
7835cef224bc92d120339262327359322f6b6759
64,565
cpp
C++
C/plugins/storage/sqlite/common/readings.cpp
DDC-NDRS/fledge-iot_fledge
27a5e66a55daaab1aca14ce6e66f9f1e6efaef51
[ "Apache-2.0" ]
null
null
null
C/plugins/storage/sqlite/common/readings.cpp
DDC-NDRS/fledge-iot_fledge
27a5e66a55daaab1aca14ce6e66f9f1e6efaef51
[ "Apache-2.0" ]
null
null
null
C/plugins/storage/sqlite/common/readings.cpp
DDC-NDRS/fledge-iot_fledge
27a5e66a55daaab1aca14ce6e66f9f1e6efaef51
[ "Apache-2.0" ]
null
null
null
/* * Fledge storage service. * * Copyright (c) 2018 OSIsoft, LLC * * Released under the Apache 2.0 Licence * * Author: Massimiliano Pinto */ #include <math.h> #include <connection.h> #include <connection_manager.h> #include <common.h> #include <reading_stream.h> #include <random> #include <utils.h> #include <...
25.419291
221
0.636088
DDC-NDRS
783602c1d2af171e1a81b25008e1136feb0c0793
3,932
cpp
C++
Alfa-Back-Console/rezept.cpp
haikelassaker/Backstr
56a1b85d83f633f41250b690f840bb884916cd67
[ "MIT" ]
null
null
null
Alfa-Back-Console/rezept.cpp
haikelassaker/Backstr
56a1b85d83f633f41250b690f840bb884916cd67
[ "MIT" ]
null
null
null
Alfa-Back-Console/rezept.cpp
haikelassaker/Backstr
56a1b85d83f633f41250b690f840bb884916cd67
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "rezept.h" using namespace std; rezept::rezept(string teigName, double plaetzchenAnzahl, string form, string groesse, double backTemperatur, double backZeit) { tgName = teigName; basisAnzahlPlaetzchen = plaetzchenAnzahl; plaetzchenForm = form; plaetzchenGroesse = groesse; ba...
21.604396
126
0.655646
haikelassaker
7838730eb7f6b0875c3175d899862e299fbe2180
760
hpp
C++
include/nexus/global_init.hpp
cbodley/nexus
6e5b19b6c6c74007a0643c55eb0775eb86e38f9b
[ "BSL-1.0" ]
6
2021-10-31T10:33:30.000Z
2022-03-25T20:54:58.000Z
include/nexus/global_init.hpp
cbodley/nexus
6e5b19b6c6c74007a0643c55eb0775eb86e38f9b
[ "BSL-1.0" ]
null
null
null
include/nexus/global_init.hpp
cbodley/nexus
6e5b19b6c6c74007a0643c55eb0775eb86e38f9b
[ "BSL-1.0" ]
null
null
null
#pragma once #include <nexus/global/context.hpp> /// global initialization namespace nexus::global { /// initialize the library for clients only /// \relatesalso context context init_client(error_code& ec); /// initialize the library for clients only /// \relatesalso context context init_client(); /// initialize th...
25.333333
52
0.763158
cbodley
78397f2cd2879d5e4c1c6ebe99c1a23aa59f95e7
290
hpp
C++
solutions/utils/benchmark.hpp
PysKa-Ratzinger/personal_project_euler_solutions
ff05c38f3c9cbcd4d6f09f81034bc299c7144476
[ "MIT" ]
1
2019-04-19T01:05:07.000Z
2019-04-19T01:05:07.000Z
solutions/utils/benchmark.hpp
PysKa-Ratzinger/personal_project_euler_solutions
ff05c38f3c9cbcd4d6f09f81034bc299c7144476
[ "MIT" ]
null
null
null
solutions/utils/benchmark.hpp
PysKa-Ratzinger/personal_project_euler_solutions
ff05c38f3c9cbcd4d6f09f81034bc299c7144476
[ "MIT" ]
null
null
null
#pragma once #include <stdlib.h> #include <stdint.h> class Benchmark { public: Benchmark(void (*func)()); ~Benchmark(); double run(); double run(uint64_t times); private: void startTimer(); void stopTimer(); void (*_func)(); struct timespec _start; struct timespec _end; };
12.083333
28
0.675862
PysKa-Ratzinger
783af9f0aebf1e3ef1fe50f87d382cd310149fb1
1,291
cpp
C++
kernel/loader/elf64.cpp
qookei/quack
47808580dda218cb47d0c9ca04b51eb24f1e2266
[ "Zlib" ]
16
2019-06-25T15:18:03.000Z
2021-10-10T18:52:30.000Z
kernel/loader/elf64.cpp
qookei/quack
47808580dda218cb47d0c9ca04b51eb24f1e2266
[ "Zlib" ]
null
null
null
kernel/loader/elf64.cpp
qookei/quack
47808580dda218cb47d0c9ca04b51eb24f1e2266
[ "Zlib" ]
null
null
null
#include "elf64.h" #include <string.h> static bool elf64_check(elf64_ehdr *ehdr) { if(strncmp((const char *)ehdr->e_ident, ELF_MAGIC, 4)) { return false; } if(ehdr->e_ident[ELF_IDENT_CLASS] != ELF_CLASS_64) { return false; } if(ehdr->e_ident[ELF_IDENT_DATA] != ELF_DATA_LSB) { return false; } if(ehdr->e...
20.822581
72
0.664601
qookei
783b409c2f69adda9a17a21272ce2aaa41b56489
1,758
cpp
C++
BAC/exercises/ch7/UVa387.cpp
Anyrainel/aoapc-code
e787a01380698fb9236d933462052f97b20e6132
[ "Apache-2.0" ]
3
2017-08-15T06:00:01.000Z
2018-12-10T09:05:53.000Z
BAC/exercises/ch7/UVa387.cpp
Anyrainel/aoapc-related-code
e787a01380698fb9236d933462052f97b20e6132
[ "Apache-2.0" ]
null
null
null
BAC/exercises/ch7/UVa387.cpp
Anyrainel/aoapc-related-code
e787a01380698fb9236d933462052f97b20e6132
[ "Apache-2.0" ]
2
2017-09-16T18:46:27.000Z
2018-05-22T05:42:03.000Z
// UVa387 A Puzzling Problem // Rujia Liu // 题意:用n个积木块拼出一个4*4的正方形,要求每个块恰好用一次,不能旋转或者翻转。求任意一个方案 // 算法:本题写法有很多,由于规模非常小,这里给出一个效率不算高但较好实现的方法:每层搜索选一个可用积木,再枚举一个位置放上去 #include<cstdio> #include<cstring> const int maxn = 5; int n; int board[5][5]; // 要拼出的正方形 struct Piece { int r, c, size; char data[maxn][maxn]; void read...
24.082192
81
0.481229
Anyrainel
783ec127fd1fc493383592f29519d3f028b52046
18,646
cpp
C++
src/print.cpp
Maelic/libqi
0a92452be48376004e5e5ebfe2bd0683725d033e
[ "BSD-3-Clause" ]
null
null
null
src/print.cpp
Maelic/libqi
0a92452be48376004e5e5ebfe2bd0683725d033e
[ "BSD-3-Clause" ]
null
null
null
src/print.cpp
Maelic/libqi
0a92452be48376004e5e5ebfe2bd0683725d033e
[ "BSD-3-Clause" ]
null
null
null
/* ** Copyright (C) 2017 SoftBank Robotics ** See COPYING for the license */ #include <qi/detail/print.hpp> #include <qi/iocolor.hpp> #include <qi/numeric.hpp> #include <qi/type/metaobject.hpp> #include <qi/type/metamethod.hpp> #include <qi/type/detail/structtypeinterface.hxx> #include <boost/range/adaptor/filtered....
33.596396
118
0.641907
Maelic
7841344760bd042429bc06413fd888541321d7ab
2,282
cpp
C++
ODFAEG/src/odfaeg/Graphics/mesh.cpp
Cwc-Test/ODFAEG
5e5bd13e3145764c3d0182225aad591040691481
[ "Zlib" ]
5
2015-06-13T13:11:59.000Z
2020-04-17T23:10:23.000Z
ODFAEG/src/odfaeg/Graphics/mesh.cpp
Cwc-Test/ODFAEG
5e5bd13e3145764c3d0182225aad591040691481
[ "Zlib" ]
4
2019-01-07T11:46:21.000Z
2020-02-14T15:04:15.000Z
ODFAEG/src/odfaeg/Graphics/mesh.cpp
Cwc-Test/ODFAEG
5e5bd13e3145764c3d0182225aad591040691481
[ "Zlib" ]
4
2016-01-05T09:54:57.000Z
2021-01-06T18:52:26.000Z
#include "../../../include/odfaeg/Graphics/mesh.hpp" namespace odfaeg { namespace graphic { Mesh::Mesh() : Entity(math::Vec3f(0, 0, 0), math::Vec3f(0, 0, 0),math::Vec3f(0, 0, 0), "E_MESH") {} Mesh::Mesh(math::Vec3f position, math::Vec3f size, std::string type) : Entity(position, size, size*0.5f, typ...
43.884615
121
0.508764
Cwc-Test
7841607684d4c1139ae6e4e46bff6db338de2724
1,631
cpp
C++
main.cpp
fikret0/fluxchess
6fb97f30028b5dd158406d64ee064700b267484d
[ "MIT" ]
4
2021-08-08T06:12:22.000Z
2021-08-21T17:33:12.000Z
main.cpp
fikret0/fluxchess
6fb97f30028b5dd158406d64ee064700b267484d
[ "MIT" ]
null
null
null
main.cpp
fikret0/fluxchess
6fb97f30028b5dd158406d64ee064700b267484d
[ "MIT" ]
null
null
null
/* d'b 8 8 8 8 8 o8P 8 o o `o o' .oPYo. 8oPYo. .oPYo. .oPYo. .oPYo. 8 8 8 8 `bd' 8 ' 8 8 8oooo8 Yb.. Yb.. 8 8 8 8 d'`b 8 . 8 8 8. 'Yb. 'Yb. 8 8 `YooP' o' `o `YooP' 8 8 `Yooo' `YooP' `YooP' :..::..:.....:..:::..:.....:..:::....
30.773585
86
0.324341
fikret0
7842ca9894501cc7da94c881f00315d3a03569d1
64
cpp
C++
src/base/database/models/relations/BelongsToMany.cpp
YuDe95/mcplayer
c43d7c6fcafef0f093efef9248e9cf69b56aee2f
[ "MIT" ]
18
2020-03-02T06:56:05.000Z
2022-03-31T11:05:40.000Z
src/base/database/models/relations/BelongsToMany.cpp
YuDe95/mcplayer
c43d7c6fcafef0f093efef9248e9cf69b56aee2f
[ "MIT" ]
1
2020-03-03T19:28:52.000Z
2020-03-03T19:28:52.000Z
src/base/database/models/relations/BelongsToMany.cpp
YuDe95/mcplayer
c43d7c6fcafef0f093efef9248e9cf69b56aee2f
[ "MIT" ]
4
2020-03-20T13:56:57.000Z
2021-06-16T09:48:23.000Z
#include "BelongsToMany.h" BelongsToMany::BelongsToMany() { }
9.142857
30
0.734375
YuDe95
784318d3d36a08a2714b498e14bf832192b22d3a
4,862
cpp
C++
common/src/cert/pkcs10/pkcs10.cpp
ane-community/botan-crypto-ane
71056f5f0d5fd706e6d42e2f7ec0f7f55d86fb74
[ "MIT" ]
1
2018-03-09T20:21:47.000Z
2018-03-09T20:21:47.000Z
common/src/cert/pkcs10/pkcs10.cpp
ane-community/botan-crypto-ane
71056f5f0d5fd706e6d42e2f7ec0f7f55d86fb74
[ "MIT" ]
null
null
null
common/src/cert/pkcs10/pkcs10.cpp
ane-community/botan-crypto-ane
71056f5f0d5fd706e6d42e2f7ec0f7f55d86fb74
[ "MIT" ]
1
2020-03-05T23:42:00.000Z
2020-03-05T23:42:00.000Z
/* * PKCS #10 * (C) 1999-2007 Jack Lloyd * * Distributed under the terms of the Botan license */ #include <botan/pkcs10.h> #include <botan/x509_ext.h> #include <botan/x509cert.h> #include <botan/der_enc.h> #include <botan/ber_dec.h> #include <botan/parsing.h> #include <botan/oids.h> #include <botan/pem.h> namespace B...
24.31
79
0.676471
ane-community
7844838549efadd7bc71939e41512ec1930711eb
787
hpp
C++
src/datagrams/DatagramParserFactory.hpp
HugoValcourt/MBES-lib
1e3aaf873a03a2e57ebcd029a5f7461c26fc9bc8
[ "MIT" ]
null
null
null
src/datagrams/DatagramParserFactory.hpp
HugoValcourt/MBES-lib
1e3aaf873a03a2e57ebcd029a5f7461c26fc9bc8
[ "MIT" ]
null
null
null
src/datagrams/DatagramParserFactory.hpp
HugoValcourt/MBES-lib
1e3aaf873a03a2e57ebcd029a5f7461c26fc9bc8
[ "MIT" ]
null
null
null
/* * Copyright 2019 © Centre Interdisciplinaire de développement en Cartographie des Océans (CIDCO), Tous droits réservés */ #ifndef DATAGRAMPARSERFACTORY_HPP #define DATAGRAMPARSERFACTORY_HPP #include "DatagramParser.hpp" #include "kongsberg/KongsbergParser.hpp" #include "xtf/XtfParser.hpp" #include "s7k/S7kParser.h...
25.387097
118
0.772554
HugoValcourt
784535ea5b3d921b36d83a815b873d63f230d454
5,803
hpp
C++
FlexEngine/include/InputManager.hpp
ajweeks/Rendering-Engine
fe0f2cdb44a067fec875110572b3b91f5f4c659c
[ "MIT" ]
762
2017-11-07T23:40:58.000Z
2022-03-31T16:03:22.000Z
FlexEngine/include/InputManager.hpp
ajweeks/Rendering-Engine
fe0f2cdb44a067fec875110572b3b91f5f4c659c
[ "MIT" ]
5
2018-03-13T14:41:06.000Z
2020-11-01T12:02:29.000Z
FlexEngine/include/InputManager.hpp
ajweeks/Rendering-Engine
fe0f2cdb44a067fec875110572b3b91f5f4c659c
[ "MIT" ]
43
2017-11-17T11:22:37.000Z
2022-03-14T01:51:19.000Z
#pragma once #include "InputTypes.hpp" #include "Pair.hpp" #include <map> namespace flex { class ICallbackMouseButton; class ICallbackMouseMoved; class ICallbackKeyEvent; class ICallbackAction; enum class CursorMode; /* * There are three main ways of retrieving input: * 1. Call GetKey(Down/Pressed) with a...
36.961783
104
0.780286
ajweeks
78466b67624df1034ca45b046750e0fe454b9261
509
cpp
C++
Non-Ideone/Spoj/NSTEPS/NSTEPS-20015764.cpp
beingsushant/BunnyKeCodes
018cae93935ee30ce02561d05cda091ebb6e9643
[ "MIT" ]
1
2018-02-18T13:59:42.000Z
2018-02-18T13:59:42.000Z
Non-Ideone/Spoj/NSTEPS/NSTEPS-20015764.cpp
beingsushant/BunnyKeCodes
018cae93935ee30ce02561d05cda091ebb6e9643
[ "MIT" ]
null
null
null
Non-Ideone/Spoj/NSTEPS/NSTEPS-20015764.cpp
beingsushant/BunnyKeCodes
018cae93935ee30ce02561d05cda091ebb6e9643
[ "MIT" ]
2
2019-10-31T17:28:17.000Z
2019-10-31T17:52:11.000Z
#include<iostream> #include<cstdio> using namespace std; int main() { int x,y,r,t; cin>>t; while(t--) { cin>>x>>y; if(x==y) { if(x%2==0) r=2*x; else r=2*x-1; cout<<r<<endl; } else if(x==y+2) ...
16.419355
36
0.308448
beingsushant
784730e35cf449d2abf1010b5b3bdc53fca63974
2,370
cpp
C++
Week9/ParticleText/src/TextUtilities.cpp
bakercp/ExperimentalMedia2013
b0e748104c327d14e2231a0a98282503712702ed
[ "MIT" ]
4
2015-01-19T03:26:26.000Z
2015-06-03T04:00:04.000Z
Week9/ParticleText/src/TextUtilities.cpp
bakercp/ExperimentalMedia2013
b0e748104c327d14e2231a0a98282503712702ed
[ "MIT" ]
null
null
null
Week9/ParticleText/src/TextUtilities.cpp
bakercp/ExperimentalMedia2013
b0e748104c327d14e2231a0a98282503712702ed
[ "MIT" ]
null
null
null
#include "TextUtilities.h" #include "Poco/RegularExpression.h" #include "Poco/StringTokenizer.h" #include "Poco/TextIterator.h" #include "Poco/TextConverter.h" #include "Poco/UTF8Encoding.h" #include "Poco/UnicodeConverter.h" #include "Poco/Unicode.h" #include "ofUtils.h" #include "ofFileUtils.h" // a simple function...
28.902439
92
0.69789
bakercp
7849c406df4ab3b10ea82ff1a083643a71f1194c
4,466
cpp
C++
test/src/test_cases/composite_state.cpp
fgoujeon/fgfsm
ab3a4b244fb68854431891e5f084362589a41fc3
[ "BSL-1.0" ]
null
null
null
test/src/test_cases/composite_state.cpp
fgoujeon/fgfsm
ab3a4b244fb68854431891e5f084362589a41fc3
[ "BSL-1.0" ]
null
null
null
test/src/test_cases/composite_state.cpp
fgoujeon/fgfsm
ab3a4b244fb68854431891e5f084362589a41fc3
[ "BSL-1.0" ]
null
null
null
//Copyright Florian Goujeon 2021 - 2022. //Distributed under the Boost Software License, Version 1.0. //(See accompanying file LICENSE or copy at //https://www.boost.org/LICENSE_1_0.txt) //Official repository: https://github.com/fgoujeon/awesm #include <awesm.hpp> #include <catch2/catch.hpp> namespace { struct sm...
24.811111
111
0.515226
fgoujeon
784b543203a3474c485250046f9613ea783d928f
2,362
cpp
C++
Ethereal/Private/Gear/Armor/Body/LeatherVest.cpp
SoveranceStudios/EtherealLegends
4d03aba462cc3a51988e2776e182cea05f0e4376
[ "Apache-2.0" ]
216
2016-08-28T18:22:06.000Z
2022-03-22T09:08:15.000Z
Ethereal/Private/Gear/Armor/Body/LeatherVest.cpp
SoveranceStudios/EtherealLegends
4d03aba462cc3a51988e2776e182cea05f0e4376
[ "Apache-2.0" ]
1
2017-08-10T06:14:32.000Z
2017-08-12T00:16:27.000Z
Ethereal/Private/Gear/Armor/Body/LeatherVest.cpp
SoveranceStudios/EtherealLegends
4d03aba462cc3a51988e2776e182cea05f0e4376
[ "Apache-2.0" ]
49
2016-08-28T18:22:31.000Z
2022-02-23T16:22:37.000Z
// ÀšÃ‚© 2014 - 2016 Soverance Studios // http://www.soverance.com // 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 requi...
38.096774
193
0.762913
SoveranceStudios
784ca59bee210eda44d077bb4a66e1712f6cb48d
644
cpp
C++
src/Nodes/NodeOptArraySize.cpp
kirarpit/compiler-construction
36bd47d40a934e8ff87bf58a9e7049f644169f2f
[ "MIT" ]
null
null
null
src/Nodes/NodeOptArraySize.cpp
kirarpit/compiler-construction
36bd47d40a934e8ff87bf58a9e7049f644169f2f
[ "MIT" ]
null
null
null
src/Nodes/NodeOptArraySize.cpp
kirarpit/compiler-construction
36bd47d40a934e8ff87bf58a9e7049f644169f2f
[ "MIT" ]
null
null
null
#include<NodeExpr.h> #include <NodeOptArraySize.h> Node* NodeOptArraySize::parse(CompilerState &cs) { Lexer &lex = cs.lexer; Logger::logParseEntry(__CLASS_NAME__, lex.peek()); Node *arraySize = new NodeOptArraySize(); if (lex.peek().value != TokenTable::TS[TN_clsbrk]) { Node *expr = NodeExpr::parse(cs); if (...
20.774194
53
0.706522
kirarpit
784e14c055e958f3b2ab68de1e68063e3893a440
903
hpp
C++
src/string.hpp
mrmoss/simplestar
2b051733f784ae86fae2b4cfe041cb8f0f13e04e
[ "Unlicense" ]
null
null
null
src/string.hpp
mrmoss/simplestar
2b051733f784ae86fae2b4cfe041cb8f0f13e04e
[ "Unlicense" ]
null
null
null
src/string.hpp
mrmoss/simplestar
2b051733f784ae86fae2b4cfe041cb8f0f13e04e
[ "Unlicense" ]
null
null
null
#ifndef STRING_HPP #define STRING_HPP #include <iomanip> #include <sstream> #include <string> #include <vector> typedef std::vector<std::string> list_t; inline list_t comma_split(std::string list) { list+=','; list_t values; std::string temp; for(auto ii:list) { if(ii==',') { values....
15.842105
99
0.615725
mrmoss
785285a78295a6066131e1faebc441c976bf061a
1,094
hpp
C++
problems/03_nested_resources/ResourceRecover.hpp
ciscoruiz/emc2
2fb4c5f0ac3cf8f62938f2d2fd8b9b16c0686613
[ "MIT" ]
null
null
null
problems/03_nested_resources/ResourceRecover.hpp
ciscoruiz/emc2
2fb4c5f0ac3cf8f62938f2d2fd8b9b16c0686613
[ "MIT" ]
null
null
null
problems/03_nested_resources/ResourceRecover.hpp
ciscoruiz/emc2
2fb4c5f0ac3cf8f62938f2d2fd8b9b16c0686613
[ "MIT" ]
null
null
null
#ifndef ResourceRecover_hpp #define ResourceRecover_hpp #include <condition_variable> #include <ResourceContainer.hpp> class ResourceRecover : public ResourceContainer { public: ResourceRecover () : m_stop (false) {;} ResourceRecover (const ResourceRecover&) = delete; void requestStop () noexcept { ...
24.311111
100
0.644424
ciscoruiz
7852964af8c36ecfa88637dc45283b1e20527be1
1,390
cpp
C++
Source/PakUtilities/Private/PakUtilitiesFunctionLibrary.cpp
calben/UnrealPakErrorDemoTmp
fa8d9124bad7e29e1387ca76a015ea021d566605
[ "MIT" ]
null
null
null
Source/PakUtilities/Private/PakUtilitiesFunctionLibrary.cpp
calben/UnrealPakErrorDemoTmp
fa8d9124bad7e29e1387ca76a015ea021d566605
[ "MIT" ]
null
null
null
Source/PakUtilities/Private/PakUtilitiesFunctionLibrary.cpp
calben/UnrealPakErrorDemoTmp
fa8d9124bad7e29e1387ca76a015ea021d566605
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "PakUtilitiesFunctionLibrary.h" //#include "Runtime/PakFile/Public/IPlatformFilePak.h" //TArray<FString> UPakUtilitiesFunctionLibrary::ListAvailablePakFiles() //{ // FPakPlatformFile* PakPlatformFile = new FPakPlatformFile(); // ...
30.888889
90
0.674101
calben
78546e5862873c9084c5869f33deafe64dff738c
239
cpp
C++
test/snippet/core/type_list/list_traits_front.cpp
marehr/nomchop
a88bfb6f5d4a291a71b6b3192eeac81fdc450d43
[ "CC-BY-4.0", "CC0-1.0" ]
1
2021-03-01T11:12:56.000Z
2021-03-01T11:12:56.000Z
test/snippet/core/type_list/list_traits_front.cpp
simonsasse/seqan3
0ff2e117952743f081735df9956be4c512f4ccba
[ "CC0-1.0", "CC-BY-4.0" ]
2
2017-05-17T07:16:19.000Z
2020-02-13T16:10:10.000Z
test/snippet/core/type_list/list_traits_front.cpp
simonsasse/seqan3
0ff2e117952743f081735df9956be4c512f4ccba
[ "CC0-1.0", "CC-BY-4.0" ]
null
null
null
#include <seqan3/core/type_list/traits.hpp> int main() { using list_t = seqan3::type_list<int, float, bool, int, float>; static_assert(std::same_as<int, seqan3::list_traits::front<list_t>>); // Check if the first value is int. }
26.555556
109
0.698745
marehr
7854e40f6861e6caf8a68aef05bcdf98f22a6ea8
734
cpp
C++
FlowGraph/FlowGraphWindow.cpp
grandpsykick/DataFlowGraph
d266d1706d800e9f414f809e9b5c116168667a56
[ "MIT" ]
1
2018-04-27T23:39:04.000Z
2018-04-27T23:39:04.000Z
FlowGraph/FlowGraphWindow.cpp
grandpsykick/DataFlowGraph
d266d1706d800e9f414f809e9b5c116168667a56
[ "MIT" ]
2
2017-05-23T15:33:01.000Z
2017-05-23T16:42:16.000Z
FlowGraph/FlowGraphWindow.cpp
grandpsykick/DataFlowGraph
d266d1706d800e9f414f809e9b5c116168667a56
[ "MIT" ]
null
null
null
#include "FlowGraphWindow.hpp" #include "ui_FlowGraphWindow.h" #include "FlowGraphScene.hpp" #include "FlowGraphView.hpp" #include "FlowGraphNode.hpp" FlowGraphWindow::FlowGraphWindow(FlowGraphScene * scene, FlowGraphView * view, QWidget * parent) : QMainWindow(parent), ui(new Ui::...
28.230769
84
0.666213
grandpsykick
7857ff56e08c09e04226cb620e7e0cff0be3eeae
570
cpp
C++
FactoryPattern/FactoryMethodPattern/FactoryPizza/src/main.cpp
didix21/DuckSimulator
79d9063bb219682782827f2980509d414835a265
[ "Apache-2.0" ]
null
null
null
FactoryPattern/FactoryMethodPattern/FactoryPizza/src/main.cpp
didix21/DuckSimulator
79d9063bb219682782827f2980509d414835a265
[ "Apache-2.0" ]
null
null
null
FactoryPattern/FactoryMethodPattern/FactoryPizza/src/main.cpp
didix21/DuckSimulator
79d9063bb219682782827f2980509d414835a265
[ "Apache-2.0" ]
null
null
null
#include "Pizza.hpp" #include "PizzaStore.hpp" #include "NYPizzaStore.hpp" #include "ChicagoPizzaStore.hpp" #include <iostream> int main() { PizzaStore* nyStore = new NYPizzaStore(); PizzaStore* chicagoStore = new ChicagoPizzaStore(); auto nyPizza = nyStore->orderPizza("cheese"); std::cout << "Hulk o...
23.75
79
0.673684
didix21
785bf036dd88891e6168766266da333fb05be748
501
cpp
C++
dbt/csv_i.cpp
aki-ph-chem/rot_const
7f05e252d15e4b30bfd9ec0627a239154f7fb468
[ "MIT" ]
null
null
null
dbt/csv_i.cpp
aki-ph-chem/rot_const
7f05e252d15e4b30bfd9ec0627a239154f7fb468
[ "MIT" ]
null
null
null
dbt/csv_i.cpp
aki-ph-chem/rot_const
7f05e252d15e4b30bfd9ec0627a239154f7fb468
[ "MIT" ]
null
null
null
# include "csv_i.h" #include <fstream> #include <string> #include <sstream> #include <vector> #include <iostream> using string = std::string; //std::vector<string> csv::split(string& reading_now,char delimiter) std::vector<string> csv::split(string& reading_now) { std::istringstream stream(r...
20.04
69
0.646707
aki-ph-chem
785c7b6b61a629eac8e2f8eaa2b8406148ac7c9d
579
hpp
C++
src/main/include/StarDust/util/Math.hpp
4H-Botsmiths/InfiniteRecharge2020
811d71a49a50f38f44dcc7139786caaeaa99f739
[ "BSD-3-Clause" ]
null
null
null
src/main/include/StarDust/util/Math.hpp
4H-Botsmiths/InfiniteRecharge2020
811d71a49a50f38f44dcc7139786caaeaa99f739
[ "BSD-3-Clause" ]
1
2021-12-27T04:40:42.000Z
2021-12-27T04:40:42.000Z
src/main/include/StarDust/util/Math.hpp
4H-Botsmiths/InfiniteRecharge2020
811d71a49a50f38f44dcc7139786caaeaa99f739
[ "BSD-3-Clause" ]
null
null
null
//adds delta to value if positive. //subtracts delta from value if negative. double signedAdd(const double value, const double delta) { if (value < 0) { return value - delta; } else { return value + delta; } } //returns -1 if value is negative, 1 if value is positive. double...
23.16
60
0.594128
4H-Botsmiths
785d90df7e85c5f5acbbdb6afff9c06c16cc1759
1,025
cc
C++
chromium/chrome/renderer/media/cast_receiver_audio_valve.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
null
null
null
chromium/chrome/renderer/media/cast_receiver_audio_valve.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
null
null
null
chromium/chrome/renderer/media/cast_receiver_audio_valve.cc
wedataintelligence/vivaldi-source
22a46f2c969f6a0b7ca239a05575d1ea2738768c
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/renderer/media/cast_receiver_audio_valve.h" CastReceiverAudioValve::CastReceiverAudioValve( media::AudioCapturerSource::CaptureCallb...
30.147059
78
0.672195
wedataintelligence
785e93e5cf62dd7bfed42331151d4ccb759659c4
1,363
cpp
C++
tools/VMakeList/src/main.cpp
SergeyStrukov/CCore-3-xx
820507e78f8aa35ca05761e00e060c8f64c59af5
[ "BSL-1.0" ]
8
2017-12-21T07:00:16.000Z
2020-04-02T09:05:55.000Z
tools/VMakeList/src/main.cpp
SergeyStrukov/CCore-3-xx
820507e78f8aa35ca05761e00e060c8f64c59af5
[ "BSL-1.0" ]
null
null
null
tools/VMakeList/src/main.cpp
SergeyStrukov/CCore-3-xx
820507e78f8aa35ca05761e00e060c8f64c59af5
[ "BSL-1.0" ]
1
2020-03-30T09:54:18.000Z
2020-03-30T09:54:18.000Z
/* main.cpp */ //---------------------------------------------------------------------------------------- // // Project: VMakeList 1.00 // // License: Boost Software License - Version 1.0 - August 17th, 2003 // // see http://www.boost.org/LICENSE_1_0.txt or the local copy // // Copyright (c) 2019 Sergey S...
19.197183
112
0.539252
SergeyStrukov
78603d7ec95558a3584503c770f965462b3dfd36
370
hpp
C++
include/hal/UART_base.hpp
suburbanembedded/emb_util
ded1f54e5c10ce962351416e6b6840dbedb112ba
[ "BSD-3-Clause" ]
null
null
null
include/hal/UART_base.hpp
suburbanembedded/emb_util
ded1f54e5c10ce962351416e6b6840dbedb112ba
[ "BSD-3-Clause" ]
null
null
null
include/hal/UART_base.hpp
suburbanembedded/emb_util
ded1f54e5c10ce962351416e6b6840dbedb112ba
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include <cstdint> #include <cstddef> class UART_base { public: UART_base() { } virtual ~UART_base() { } virtual bool initialize() = 0; virtual bool open() = 0; virtual bool close() = 0; virtual size_t write(uint8_t const * const buf, const size_t len) = 0; virtual size_t read(uint8_t* ...
12.758621
72
0.667568
suburbanembedded
78639aea6d3d3699fa4bcfc13221885b88064e0f
5,081
cpp
C++
src/lib/ggpo/main.cpp
mangoes-git/ggpo
72d0219798ad058b8bdbcd7c78eec73a6b3d97d8
[ "MIT" ]
4
2021-11-16T19:37:28.000Z
2022-02-25T23:51:38.000Z
src/lib/ggpo/main.cpp
mangoes-git/ggpo-crossplatform
72d0219798ad058b8bdbcd7c78eec73a6b3d97d8
[ "MIT" ]
null
null
null
src/lib/ggpo/main.cpp
mangoes-git/ggpo-crossplatform
72d0219798ad058b8bdbcd7c78eec73a6b3d97d8
[ "MIT" ]
null
null
null
/* ----------------------------------------------------------------------- * GGPO.net (http://ggpo.net) - Copyright 2009 GroundStorm Studios, LLC. * * Use of this software is governed by the MIT license that can be found * in the LICENSE file. */ #include "types.h" #include "backends/p2p.h" #include "backends/s...
25.153465
77
0.547727
mangoes-git
7864bd78d30d0045eb04dedeba041d6323b6e595
1,594
cpp
C++
server/tests/server-test/tests/street_test.cpp
ratnim/SelfawareMonopoly
d378d3d30a8d432113a881f335e5272842f65d12
[ "MIT" ]
2
2018-04-20T11:44:52.000Z
2018-09-07T10:40:55.000Z
server/tests/server-test/tests/street_test.cpp
ratnim/SelfawareMonopoly
d378d3d30a8d432113a881f335e5272842f65d12
[ "MIT" ]
139
2018-04-20T09:31:58.000Z
2018-10-03T11:57:32.000Z
server/tests/server-test/tests/street_test.cpp
ratnim/SelfawareMonopoly
d378d3d30a8d432113a881f335e5272842f65d12
[ "MIT" ]
null
null
null
#include <gmock/gmock.h> #include <QJsonArray> #include <QJsonObject> #include <game/game.h> #include <game/turn/buystate.h> #include <game/turn/initstate.h> #include <game/turn/paystate.h> #include <game/board/street.h> TEST(StreetTest, get_description) { Street street("Test", 5, 200, 50, { 24, 120, 360, 850, ...
29.518519
92
0.669385
ratnim
786a6f6cd2a60db27a7fe974a680e71e027ffabb
9,178
hpp
C++
stan/math/opencl/prim/normal_id_glm_lpdf.hpp
bayesmix-dev/math
3616f7195adc95ef8e719a2af845d61102bc9272
[ "BSD-3-Clause" ]
1
2020-06-14T14:33:37.000Z
2020-06-14T14:33:37.000Z
stan/math/opencl/prim/normal_id_glm_lpdf.hpp
bayesmix-dev/math
3616f7195adc95ef8e719a2af845d61102bc9272
[ "BSD-3-Clause" ]
null
null
null
stan/math/opencl/prim/normal_id_glm_lpdf.hpp
bayesmix-dev/math
3616f7195adc95ef8e719a2af845d61102bc9272
[ "BSD-3-Clause" ]
1
2020-05-10T12:55:07.000Z
2020-05-10T12:55:07.000Z
#ifndef STAN_MATH_OPENCL_PRIM_NORMAL_ID_GLM_LPDF_HPP #define STAN_MATH_OPENCL_PRIM_NORMAL_ID_GLM_LPDF_HPP #ifdef STAN_OPENCL #include <stan/math/opencl/prim/size.hpp> #include <stan/math/opencl/rev/operands_and_partials.hpp> #include <stan/math/opencl/copy.hpp> #include <stan/math/opencl/matrix_cl.hpp> #include <stan/...
41.156951
78
0.706908
bayesmix-dev
786aff399a79cadcbc3b0bd29fd2a87b6c8f8493
741
cpp
C++
Seasonal/Snowball Fight.cpp
Joon7891/Competitive-Programming
d860b7ad932cd5a6fb91fdc8c53101da57f4a408
[ "MIT" ]
2
2021-04-13T00:19:56.000Z
2021-04-13T01:19:45.000Z
Seasonal/Snowball Fight.cpp
Joon7891/Competitive-Programming
d860b7ad932cd5a6fb91fdc8c53101da57f4a408
[ "MIT" ]
null
null
null
Seasonal/Snowball Fight.cpp
Joon7891/Competitive-Programming
d860b7ad932cd5a6fb91fdc8c53101da57f4a408
[ "MIT" ]
1
2020-08-26T12:36:08.000Z
2020-08-26T12:36:08.000Z
#include <bits/stdc++.h> #define endl "\n" #define INF 0x3f3f3f3f #define pii pair<int, int> #define pb push_back #define f first #define s second #define MEM(a, b) memset(a, b, sizeof(a)) #define forn(i, n) for (int i = 0; i < n; ++i) using namespace std; int main() { int h1, w1; int h2, w2; cin >> h1 >>...
14.529412
46
0.403509
Joon7891
786b401716baa6b72afc9557126c4d90872c6697
8,918
cpp
C++
Development/External/wxWindows_2.4.0/src/common/imagtiff.cpp
addstone/unrealengine3
4579d360dfd52b12493292120b27bb430f978fc8
[ "FSFAP" ]
37
2020-05-22T18:18:47.000Z
2022-03-19T06:51:54.000Z
Development/External/wxWindows_2.4.0/src/common/imagtiff.cpp
AdanosGotoman/unrealengine3
4579d360dfd52b12493292120b27bb430f978fc8
[ "FSFAP" ]
null
null
null
Development/External/wxWindows_2.4.0/src/common/imagtiff.cpp
AdanosGotoman/unrealengine3
4579d360dfd52b12493292120b27bb430f978fc8
[ "FSFAP" ]
27
2020-05-17T01:03:30.000Z
2022-03-06T19:10:14.000Z
///////////////////////////////////////////////////////////////////////////// // Name: imagtiff.cpp // Purpose: wxImage TIFF handler // Author: Robert Roebling // RCS-ID: $Id: imagtiff.cpp,v 1.22 2002/05/22 23:14:47 VZ Exp $ // Copyright: (c) Robert Roebling // Licence: wxWindows licence ////...
23.163636
94
0.56627
addstone
786b95d59c70f2d995fff2e905ad4c2c662d2b64
2,998
cpp
C++
Sources/Plugins/Image_DevIL/DevILImagePlugin.cpp
jdelezenne/Sonata
fb1b1b64a78874a0ab2809995be4b6f14f9e4d56
[ "MIT" ]
null
null
null
Sources/Plugins/Image_DevIL/DevILImagePlugin.cpp
jdelezenne/Sonata
fb1b1b64a78874a0ab2809995be4b6f14f9e4d56
[ "MIT" ]
null
null
null
Sources/Plugins/Image_DevIL/DevILImagePlugin.cpp
jdelezenne/Sonata
fb1b1b64a78874a0ab2809995be4b6f14f9e4d56
[ "MIT" ]
null
null
null
/*============================================================================= DevILImagePlugin.cpp Project: Sonata Engine Author: Julien Delezenne =============================================================================*/ #include "DevILImagePlugin.h" #include "DevILImageReader.h" #include "DevILImageWriter.h" ...
17.739645
79
0.688793
jdelezenne
786e0c65d8700186f049a9d01c1ab70899769297
1,538
hpp
C++
ugc/api.hpp
Barysman/omim
469632c879027ec38278ebda699415c28dbd79e0
[ "Apache-2.0" ]
null
null
null
ugc/api.hpp
Barysman/omim
469632c879027ec38278ebda699415c28dbd79e0
[ "Apache-2.0" ]
1
2018-06-27T11:44:23.000Z
2018-06-28T10:51:48.000Z
ugc/api.hpp
Barysman/omim
469632c879027ec38278ebda699415c28dbd79e0
[ "Apache-2.0" ]
null
null
null
#pragma once #include "ugc/loader.hpp" #include "ugc/storage.hpp" #include "ugc/types.hpp" #include "platform/safe_callback.hpp" #include "base/worker_thread.hpp" #include <functional> class Index; struct FeatureID; namespace ugc { class Api { public: using UGCCallback = platform::SafeCallback<void(UGC const & ...
30.76
107
0.754226
Barysman
786ece9c41a0add9481bf2399f1c2ae23209a055
1,289
hpp
C++
src/rynx/graphics/mesh/collection.hpp
Apodus/rynx
3e1babc2f2957702ba2b09d78be3a959f2f4ea18
[ "MIT" ]
11
2019-08-19T08:44:14.000Z
2020-09-22T20:04:46.000Z
src/rynx/graphics/mesh/collection.hpp
Apodus/rynx
3e1babc2f2957702ba2b09d78be3a959f2f4ea18
[ "MIT" ]
null
null
null
src/rynx/graphics/mesh/collection.hpp
Apodus/rynx
3e1babc2f2957702ba2b09d78be3a959f2f4ea18
[ "MIT" ]
null
null
null
#pragma once #include <rynx/graphics/mesh/id.hpp> #include <rynx/tech/unordered_map.hpp> #include <rynx/math/geometry/polygon.hpp> #include <memory> namespace rynx { namespace graphics { class mesh; class GPUTextures; struct mesh_entry { std::string name; rynx::graphics::mesh_id id; }; class mesh_c...
26.854167
79
0.737781
Apodus
7870d18e0387bbf3390534c1b95a05b02e98fa59
929
cpp
C++
compiler-rt/test/msan/Linux/poll.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
2,338
2018-06-19T17:34:51.000Z
2022-03-31T11:00:37.000Z
compiler-rt/test/msan/Linux/poll.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
3,740
2019-01-23T15:36:48.000Z
2022-03-31T22:01:13.000Z
compiler-rt/test/msan/Linux/poll.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
500
2019-01-23T07:49:22.000Z
2022-03-30T02:59:37.000Z
// RUN: %clangxx_msan -O0 -std=c++11 -g %s -o %t // RUN: %run %t _ 2>&1 | FileCheck %s --check-prefix=CLEAN // RUN: not %run %t A 2>&1 | FileCheck %s --check-prefix=A // RUN: not %run %t B 2>&1 | FileCheck %s --check-prefix=B #include <assert.h> #include <poll.h> #include <signal.h> #include <stdio.h> #include <sanit...
21.604651
58
0.578041
medismailben
78717488868197856f00716acf0d39ce09277e21
2,797
cpp
C++
src/marathon.cpp
dsparber/algolab
9781eb5c7444236f796f167f1f39fc9d913e5c53
[ "MIT" ]
13
2021-01-01T17:19:24.000Z
2022-02-09T12:27:57.000Z
src/marathon.cpp
dsparber/algolab
9781eb5c7444236f796f167f1f39fc9d913e5c53
[ "MIT" ]
null
null
null
src/marathon.cpp
dsparber/algolab
9781eb5c7444236f796f167f1f39fc9d913e5c53
[ "MIT" ]
1
2021-01-28T10:55:25.000Z
2021-01-28T10:55:25.000Z
#include <iostream> #include <vector> #include <queue> #include <limits> #include <cmath> #include <boost/graph/adjacency_list.hpp> #include <boost/graph/push_relabel_max_flow.hpp> #include <boost/graph/dijkstra_shortest_paths.hpp> typedef boost::adjacency_list_traits<boost::vecS, boost::vecS, boost::directedS> trait...
26.638095
143
0.662853
dsparber
7871a98ae7712defd3df6155e7bcbc121b0c310c
8,495
cc
C++
code/render/physics/physx/physxcollider.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
67
2015-03-30T19:56:16.000Z
2022-03-11T13:52:17.000Z
code/render/physics/physx/physxcollider.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
5
2015-04-15T17:17:33.000Z
2016-02-11T00:40:17.000Z
code/render/physics/physx/physxcollider.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
34
2015-03-30T15:08:00.000Z
2021-09-23T05:55:10.000Z
//------------------------------------------------------------------------------ // physxcollider.cc // (C) 2016 Individual contributors, see AUTHORS file //------------------------------------------------------------------------------ #include "stdneb.h" #include "physics/resource/managedphysicsmesh.h" #include "phy...
31.231618
209
0.623426
gscept
7874f3f8cc15c28f691459cc58dbdadc1cc29603
1,143
cpp
C++
util/MexWrapper.cpp
jacob-izr/drake
d8f0f1f231ecba83ed53b1a1c2f9f43da50396b9
[ "BSD-3-Clause" ]
4
2018-04-16T09:54:52.000Z
2021-03-29T21:59:27.000Z
util/MexWrapper.cpp
jacob-izr/drake
d8f0f1f231ecba83ed53b1a1c2f9f43da50396b9
[ "BSD-3-Clause" ]
null
null
null
util/MexWrapper.cpp
jacob-izr/drake
d8f0f1f231ecba83ed53b1a1c2f9f43da50396b9
[ "BSD-3-Clause" ]
1
2017-08-24T20:32:03.000Z
2017-08-24T20:32:03.000Z
#include "MexWrapper.h" #if defined(WIN32) || defined(WIN64) #else #include <dlfcn.h> #endif MexWrapper::MexWrapper(std::string const & filename) : m_mex_file(filename) { m_good = false; #if defined(WIN32) || defined(WIN64) #else //load the mexfile m_handle = dlopen(m_mex_file.c_str(), RTLD_NOW); if (!m...
20.410714
94
0.653543
jacob-izr
787b49c0e7c6ae15fcc42bea673de136597a5e9b
41,784
cpp
C++
source/ics/photoevaporating_multiclumps.cpp
jfbucas/PION
e0a66aa301e4d94d581ba4df078f1a3b82faab99
[ "BSD-3-Clause" ]
4
2020-08-20T11:31:22.000Z
2020-12-05T13:30:03.000Z
source/ics/photoevaporating_multiclumps.cpp
Mapoet/PION
51559b18f700c372974ac8658a266b6a647ec764
[ "BSD-3-Clause" ]
null
null
null
source/ics/photoevaporating_multiclumps.cpp
Mapoet/PION
51559b18f700c372974ac8658a266b6a647ec764
[ "BSD-3-Clause" ]
4
2020-08-20T14:33:19.000Z
2022-03-07T10:29:34.000Z
/// \file photoevaporating_multiclumps.cc /// \author Jonathan Mackey /// /// File for setting up photo-evaporation of many random clumps and some /// strategically positioned clumps. /// /// Modifications:\n /// - 2010-01-20 JM: line 714, corrected mass to be rho*(1+delta) [from rho*delta] /// - 2010-01-27 JM: comme...
31.487566
150
0.560023
jfbucas
787c0773c949f67c8ad7b76f49a4d358ea5a92fd
1,513
cpp
C++
venv/boost_1_73_0/libs/filesystem/test/issues/9219.cpp
uosorio/heroku_face
7d6465e71dba17a15d8edaef520adb2fcd09d91e
[ "Apache-2.0" ]
1
2020-08-09T13:37:39.000Z
2020-08-09T13:37:39.000Z
3rdparty/boost_1_73_0/libs/filesystem/test/issues/9219.cpp
qingkouwei/mediaones
cec475e1bfd5807b5351cc7e38d244ac5298ca16
[ "MIT" ]
4
2021-10-21T12:42:04.000Z
2022-02-03T08:41:31.000Z
3rdparty/boost_1_73_0/libs/filesystem/test/issues/9219.cpp
qingkouwei/mediaones
cec475e1bfd5807b5351cc7e38d244ac5298ca16
[ "MIT" ]
8
2015-11-03T14:12:19.000Z
2020-09-22T19:20:54.000Z
// Boost 9219.cpp --------------------------------------------------------------------// // Copyright Beman Dawes 2014 // Distributed under the Boost Software License, Version 1.0. // See http://www.boost.org/LICENSE_1_0.txt // Library home page: http://www.boost.org/libs/filesystem //------------------------...
36.902439
90
0.458691
uosorio
787f3d958f61285014387999a526f7112f9e64e0
1,042
hpp
C++
lib/libcpp/FadalightMesh/FadalightMesh/hangingnodeinfo.hpp
beckerrh/simfemsrc
d857eb6f6f8627412d4f9d89a871834c756537db
[ "MIT" ]
null
null
null
lib/libcpp/FadalightMesh/FadalightMesh/hangingnodeinfo.hpp
beckerrh/simfemsrc
d857eb6f6f8627412d4f9d89a871834c756537db
[ "MIT" ]
1
2019-01-31T10:59:11.000Z
2019-01-31T10:59:11.000Z
lib/libcpp/FadalightMesh/FadalightMesh/hangingnodeinfo.hpp
beckerrh/simfemsrc
d857eb6f6f8627412d4f9d89a871834c756537db
[ "MIT" ]
null
null
null
#ifndef __FadalightMesh_HangingNodeInfo_h #define __FadalightMesh_HangingNodeInfo_h #include "FadalightMesh/geometryobject.hpp" #include "Alat/sparsitypattern.hpp" /*---------------------------------------------------------*/ namespace FadalightMesh { class HangingNodeInfo : public FadalightMesh::GeometryObject, ...
30.647059
92
0.701536
beckerrh