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
5e1a1b89a59be7719e0bb0822c0881badb6ddce5
9,527
cpp
C++
Glut Projects/Microwave Project/164 Microwave/WOW.cpp
omerwwazap/Learning-C
eb5fc80297d52a5aa4ce618dc66d4dda6a539ee3
[ "MIT" ]
1
2019-03-22T12:34:15.000Z
2019-03-22T12:34:15.000Z
Glut Projects/Microwave Project/164 Microwave/WOW.cpp
omerwwazap/C-Projects
eb5fc80297d52a5aa4ce618dc66d4dda6a539ee3
[ "MIT" ]
null
null
null
Glut Projects/Microwave Project/164 Microwave/WOW.cpp
omerwwazap/C-Projects
eb5fc80297d52a5aa4ce618dc66d4dda6a539ee3
[ "MIT" ]
null
null
null
/********* CTIS164 - Template Source Program ---------- STUDENT : SECTION : HOMEWORK: ---------- PROBLEMS: If your program does not function correctly, explain here which parts are not running. *********/ #include <GL/glut.h> #include <stdio.h> #include <stdlib.h> #include <math.h> #include <string.h> ...
19.403259
96
0.622232
omerwwazap
5e1f2bdb10af46655c7ae0d0e833e37590f2da07
4,584
cpp
C++
archive/stan/src/test/unit/lang/generator/generate_var_type_test.cpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
1
2019-09-06T15:53:17.000Z
2019-09-06T15:53:17.000Z
archive/stan/src/test/unit/lang/generator/generate_var_type_test.cpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
8
2019-01-17T18:51:16.000Z
2019-01-17T18:51:39.000Z
archive/stan/src/test/unit/lang/generator/generate_var_type_test.cpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
null
null
null
#include <stan/lang/ast_def.cpp> #include <stan/lang/generator.hpp> #include <test/unit/lang/utility.hpp> #include <gtest/gtest.h> #include <iostream> #include <sstream> TEST(langGenerator, genRealVars) { using stan::lang::scope; using stan::lang::transformed_data_origin; using stan::lang::function_arg...
40.928571
107
0.701134
alashworth
5e22fe5ce3c02c8d8d86a418a7c7f39691a87119
13,503
cc
C++
ns3/ns-3.26/examples/wireless/wifi-aggregation.cc
Aedemon/clusim
7f09cdb79b5f02cf0fed1bd44842981941f29f32
[ "Apache-2.0" ]
7
2017-08-11T06:06:47.000Z
2022-02-27T07:34:33.000Z
ns3/ns-3.26/examples/wireless/wifi-aggregation.cc
Aedemon/clusim
7f09cdb79b5f02cf0fed1bd44842981941f29f32
[ "Apache-2.0" ]
3
2017-08-11T03:04:59.000Z
2017-09-11T14:01:14.000Z
ns3/ns-3.26/examples/wireless/wifi-aggregation.cc
Aedemon/clusim
7f09cdb79b5f02cf0fed1bd44842981941f29f32
[ "Apache-2.0" ]
3
2017-08-08T13:36:30.000Z
2018-07-04T09:49:41.000Z
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 Sébastien Deronne * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation; * * This program is...
45.01
142
0.70451
Aedemon
5e2b5db8d93beff17ec7b4da13672621d6220061
115
cpp
C++
Test.cpp
KaikiasVind/CellBadger
c21adf5feec7766decfd4d89a110364d4bdfbc46
[ "MIT" ]
null
null
null
Test.cpp
KaikiasVind/CellBadger
c21adf5feec7766decfd4d89a110364d4bdfbc46
[ "MIT" ]
null
null
null
Test.cpp
KaikiasVind/CellBadger
c21adf5feec7766decfd4d89a110364d4bdfbc46
[ "MIT" ]
null
null
null
#include "Test.h" #include <QDebug> Test::Test() { } void Test::on_finished() { qDebug() << "Finished."; }
8.846154
28
0.573913
KaikiasVind
5e2f3a8738055071a9123ebfcca4d9e39eb96f24
708
cpp
C++
test/concurrent/test_stack_lockfree_elim_hp_stress.cpp
clearlycloudy/concurrent
243246f3244cfaf7ffcbfc042c69980d96f988e4
[ "MIT" ]
9
2019-05-14T01:07:08.000Z
2020-11-12T01:46:11.000Z
test/concurrent/test_stack_lockfree_elim_hp_stress.cpp
clearlycloudy/concurrent
243246f3244cfaf7ffcbfc042c69980d96f988e4
[ "MIT" ]
null
null
null
test/concurrent/test_stack_lockfree_elim_hp_stress.cpp
clearlycloudy/concurrent
243246f3244cfaf7ffcbfc042c69980d96f988e4
[ "MIT" ]
null
null
null
#define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do this in one cpp file #include <thread> #include <vector> #include <iostream> #include <mutex> #include <set> #include "catch.hpp" #include "stack_lockfree_elim.hpp" #include "stress_pool.hpp" using namespace std; TEST_CASE( "stack_lockfree...
30.782609
113
0.748588
clearlycloudy
5e308377c063b426e6c5949b3a447edd4a5a4046
84
hpp
C++
TosVolume/Utils.hpp
laoo/tcmdtos
6aa91f2e2bfe462cda8f74b5170bc52136157915
[ "MIT" ]
null
null
null
TosVolume/Utils.hpp
laoo/tcmdtos
6aa91f2e2bfe462cda8f74b5170bc52136157915
[ "MIT" ]
null
null
null
TosVolume/Utils.hpp
laoo/tcmdtos
6aa91f2e2bfe462cda8f74b5170bc52136157915
[ "MIT" ]
null
null
null
void extractNameExt( std::string_view src, std::array<char, 11> & nameExt );
16.8
77
0.666667
laoo
5e35b935f136f8713a74dcdeb293837b99eebafe
432
cc
C++
src/sampler/halton_sampler.cc
BlurryLight/DiRender
1ea55ff8a10bb76993ce9990b200ee8ed173eb3e
[ "MIT" ]
20
2020-06-28T03:55:40.000Z
2022-03-08T06:00:31.000Z
src/sampler/halton_sampler.cc
BlurryLight/DiRender
1ea55ff8a10bb76993ce9990b200ee8ed173eb3e
[ "MIT" ]
null
null
null
src/sampler/halton_sampler.cc
BlurryLight/DiRender
1ea55ff8a10bb76993ce9990b200ee8ed173eb3e
[ "MIT" ]
1
2020-06-29T08:47:21.000Z
2020-06-29T08:47:21.000Z
// // Created by zhong on 2021/3/30. // #include "halton_sampler.hh" float DR::HaltonSampler::get_1d() { return h1.get(); } float DR::HaltonSampler::get_1d(float min, float max) { return (max - min) * h1.get() + min; } std::pair<float, float> DR::HaltonSampler::get_2d() { return {get_1d(), get_1d()}; } std::pair<f...
27
73
0.659722
BlurryLight
5e3b8f1ef82ff88cc2daf33ed3faa50c2eabf18f
4,800
cpp
C++
plugins/deadreckoningorientation/org_osvr_filter_deadreckoningrotation.cpp
ethanpeng/OSVR-Core
59405fc1b1a25aea051dfbba0be5171fa19b8b30
[ "Apache-2.0" ]
369
2015-03-08T03:12:41.000Z
2022-02-08T22:15:39.000Z
plugins/deadreckoningorientation/org_osvr_filter_deadreckoningrotation.cpp
ethanpeng/OSVR-Core
59405fc1b1a25aea051dfbba0be5171fa19b8b30
[ "Apache-2.0" ]
486
2015-03-09T13:29:00.000Z
2020-10-16T00:41:26.000Z
plugins/deadreckoningorientation/org_osvr_filter_deadreckoningrotation.cpp
ethanpeng/OSVR-Core
59405fc1b1a25aea051dfbba0be5171fa19b8b30
[ "Apache-2.0" ]
166
2015-03-08T12:03:56.000Z
2021-12-03T13:56:21.000Z
/** @file @brief Analysis plugin that performs predictive tracking for the orientation if a specified tracker and is provided a prediction interval. @date 2016 @author Sensics, Inc. <http://sensics.com/osvr> */ // Copyright 2016 Sensics, Inc. // // Licensed under the Apache License, Version 2....
33.103448
90
0.66
ethanpeng
5e3b92bf125508d179888bd3415413ef8e69575f
5,217
cpp
C++
stm32_nn_test/image_processing.cpp
michalnand/line_follower_rl
8e5f1a18f6c02d9de0a3b7c10f84ba8c3e958e73
[ "MIT" ]
2
2020-05-14T14:14:19.000Z
2020-08-05T02:55:43.000Z
stm32_nn_test/image_processing.cpp
michalnand/line_follower_rl
8e5f1a18f6c02d9de0a3b7c10f84ba8c3e958e73
[ "MIT" ]
null
null
null
stm32_nn_test/image_processing.cpp
michalnand/line_follower_rl
8e5f1a18f6c02d9de0a3b7c10f84ba8c3e958e73
[ "MIT" ]
3
2020-05-14T14:14:21.000Z
2020-12-07T00:33:11.000Z
#include <image_processing.h> void IP_FromCamera( int8_t* destination_buffer, Camera &camera, unsigned int destination_height, unsigned int destination_width, bool white_balance) { unsigned int size = camera.get_w...
29.982759
102
0.455626
michalnand
5e3d40285aa66f0d6d58feb9f7fcc4ac2dc511f9
1,046
cpp
C++
UnitTest/TestVoronoi.cpp
ArchRobison/Voromoeba
608aeebd03f955a2180d05f310de6097c3df0c69
[ "Apache-2.0" ]
null
null
null
UnitTest/TestVoronoi.cpp
ArchRobison/Voromoeba
608aeebd03f955a2180d05f310de6097c3df0c69
[ "Apache-2.0" ]
1
2021-06-28T16:24:46.000Z
2021-06-29T13:40:23.000Z
UnitTest/TestVoronoi.cpp
ArchRobison/Voromoeba
608aeebd03f955a2180d05f310de6097c3df0c69
[ "Apache-2.0" ]
null
null
null
#include "Voronoi.h" #include "Region.h" void TestVoronoi() { NimblePixel pixels[100][100]; NimblePixMap window( 100, 100, 32, pixels, sizeof(pixels[100]) ); ConvexRegion r; r.makeRectangle(Point(10,20),Point(90,80)); SetRegionClip(0,0,window.width(),window.height()); CompoundReg...
29.055556
70
0.510516
ArchRobison
5e3eb273cb8da40252d6251aa92ee918c3093b1a
4,907
hpp
C++
src/mlpack/methods/ann/layer/channel_shuffle.hpp
oblanchet/mlpack
e02ab3be544694294d2f73bd12a98d0d162ef3af
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
4,216
2015-01-01T02:06:12.000Z
2022-03-31T19:12:06.000Z
src/mlpack/methods/ann/layer/channel_shuffle.hpp
oblanchet/mlpack
e02ab3be544694294d2f73bd12a98d0d162ef3af
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2,621
2015-01-01T01:41:47.000Z
2022-03-31T19:01:26.000Z
src/mlpack/methods/ann/layer/channel_shuffle.hpp
oblanchet/mlpack
e02ab3be544694294d2f73bd12a98d0d162ef3af
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1,972
2015-01-01T23:37:13.000Z
2022-03-28T06:03:41.000Z
/** * @file methods/ann/layer/channel_shuffle.hpp * @author Abhinav Anand * * mlpack is free software; you may redistribute it and/or modify it under the * terms of the 3-clause BSD license. You should have received a copy of the * 3-clause BSD license along with mlpack. If not, see * http://www.opensource.org/l...
31.455128
79
0.684736
oblanchet
5e3fb88c4f84c26de00af844b0df133df3c636cd
7,365
hpp
C++
src/PE/utils/ordinals_lookup_tables/comctl32_dll_lookup.hpp
mkomet/LIEF
27547aec3314177d374293130b1fd00b4487139a
[ "Apache-2.0" ]
null
null
null
src/PE/utils/ordinals_lookup_tables/comctl32_dll_lookup.hpp
mkomet/LIEF
27547aec3314177d374293130b1fd00b4487139a
[ "Apache-2.0" ]
null
null
null
src/PE/utils/ordinals_lookup_tables/comctl32_dll_lookup.hpp
mkomet/LIEF
27547aec3314177d374293130b1fd00b4487139a
[ "Apache-2.0" ]
null
null
null
/* Copyright 2017 - 2021 R. Thomas * Copyright 2017 - 2021 Quarkslab * * 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 req...
40.690608
75
0.536456
mkomet
1e0f74496a38e7872122501fe6bf09da1fe91d49
10,227
cc
C++
src/common/chemistry/tests_unit/chemistry_activity_coefficients.cc
ajkhattak/amanzi
fed8cae6af3f9dfa5984381d34b98401c3b47655
[ "RSA-MD" ]
1
2021-02-23T18:34:47.000Z
2021-02-23T18:34:47.000Z
src/common/chemistry/tests_unit/chemistry_activity_coefficients.cc
ajkhattak/amanzi
fed8cae6af3f9dfa5984381d34b98401c3b47655
[ "RSA-MD" ]
null
null
null
src/common/chemistry/tests_unit/chemistry_activity_coefficients.cc
ajkhattak/amanzi
fed8cae6af3f9dfa5984381d34b98401c3b47655
[ "RSA-MD" ]
null
null
null
#include <cstdlib> #include <cmath> #include <iostream> #include <typeinfo> #include <vector> #include "UnitTest++.h" #include "species.hh" #include "aqueous_equilibrium_complex.hh" #include "activity_model_factory.hh" #include "activity_model_unit.hh" #include "activity_model_debye_huckel.hh" #include "activity_mode...
29.387931
101
0.702748
ajkhattak
1e10392a08dcf5a84d92bab4b98c0f1ec3e19d67
10,742
cpp
C++
tests/Cardano/AddressTests.cpp
alicedapp/wallet-core
532034af30cc5a8f677c7f7b0d182e8198cf698d
[ "MIT" ]
null
null
null
tests/Cardano/AddressTests.cpp
alicedapp/wallet-core
532034af30cc5a8f677c7f7b0d182e8198cf698d
[ "MIT" ]
null
null
null
tests/Cardano/AddressTests.cpp
alicedapp/wallet-core
532034af30cc5a8f677c7f7b0d182e8198cf698d
[ "MIT" ]
2
2020-01-08T14:28:22.000Z
2020-01-21T15:46:52.000Z
// Copyright © 2017-2020 Trust Wallet. // // This file is part of Trust. The full Trust copyright notice, including // terms governing use, modification, and redistribution, is contained in the // file LICENSE at the root of the source code distribution tree. #include "Cardano/Address.h" #include "Cardano/Signer.h" #...
50.196262
210
0.756191
alicedapp
1e121e35fe87ebd72c78357614a7230cb0515338
154
cc
C++
common/tile/memory_subsystem/cache/cache_utils.cc
NoCModellingLab/Graphite
1b4bb98f5bfb96ca394b71e7ef3e9e500a1e3997
[ "MIT" ]
94
2015-02-21T09:44:03.000Z
2022-03-13T03:06:19.000Z
common/tile/memory_subsystem/cache/cache_utils.cc
NoCModellingLab/Graphite
1b4bb98f5bfb96ca394b71e7ef3e9e500a1e3997
[ "MIT" ]
null
null
null
common/tile/memory_subsystem/cache/cache_utils.cc
NoCModellingLab/Graphite
1b4bb98f5bfb96ca394b71e7ef3e9e500a1e3997
[ "MIT" ]
36
2015-01-09T16:48:18.000Z
2022-03-13T03:06:21.000Z
#include "cache_utils.h" UInt64 computeLifetime(UInt64 birth_time, UInt64 curr_time) { return (curr_time > birth_time) ? (curr_time - birth_time) : 0; }
30.8
67
0.753247
NoCModellingLab
1e1a598b100bf8d0bf36c0459d2c80b53015d4d1
46,122
cpp
C++
src/qt/qtwebkit/Source/WebCore/platform/blackberry/RenderThemeBlackBerry.cpp
viewdy/phantomjs
eddb0db1d253fd0c546060a4555554c8ee08c13c
[ "BSD-3-Clause" ]
1
2015-05-27T13:52:20.000Z
2015-05-27T13:52:20.000Z
src/qt/qtwebkit/Source/WebCore/platform/blackberry/RenderThemeBlackBerry.cpp
mrampersad/phantomjs
dca6f77a36699eb4e1c46f7600cca618f01b0ac3
[ "BSD-3-Clause" ]
null
null
null
src/qt/qtwebkit/Source/WebCore/platform/blackberry/RenderThemeBlackBerry.cpp
mrampersad/phantomjs
dca6f77a36699eb4e1c46f7600cca618f01b0ac3
[ "BSD-3-Clause" ]
1
2017-03-19T13:03:23.000Z
2017-03-19T13:03:23.000Z
/* * Copyright (C) 2006, 2007 Apple Inc. * Copyright (C) 2009 Google Inc. * Copyright (C) 2009, 2010, 2011, 2012, 2013 Research In Motion Limited. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as publi...
39.086441
170
0.710659
viewdy
1e1a789ac10ad2cc3cb27a15f3a4ecf1decd6c1a
979
cpp
C++
robot_path_planner/src/RobotPathPlannerServer.cpp
565353780/robot-manage-ros
b39701ee709a337a03420739d2137cfeadfdde4b
[ "MIT" ]
null
null
null
robot_path_planner/src/RobotPathPlannerServer.cpp
565353780/robot-manage-ros
b39701ee709a337a03420739d2137cfeadfdde4b
[ "MIT" ]
null
null
null
robot_path_planner/src/RobotPathPlannerServer.cpp
565353780/robot-manage-ros
b39701ee709a337a03420739d2137cfeadfdde4b
[ "MIT" ]
null
null
null
#include <robot_path_planner/RobotPathPlannerServer.h> bool RobotPathPlannerServer::getNavPoseVecCallback( robot_path_planner::TargetPoseVecToNavPoseVec::Request &req, robot_path_planner::TargetPoseVecToNavPoseVec::Response &res) { const std::vector<geometry_msgs::Pose>& target_pose_vec = req.target_pose...
29.666667
78
0.758938
565353780
1e1e9e92763ae05ea620dcc4d1a2933f0a45c678
7,886
cpp
C++
libnavi/src/BinderClient.cpp
rm-medina/agl-service-navigation
b9fa50ad33af4c3425d7198beaa63b783da2f62c
[ "Apache-2.0" ]
null
null
null
libnavi/src/BinderClient.cpp
rm-medina/agl-service-navigation
b9fa50ad33af4c3425d7198beaa63b783da2f62c
[ "Apache-2.0" ]
null
null
null
libnavi/src/BinderClient.cpp
rm-medina/agl-service-navigation
b9fa50ad33af4c3425d7198beaa63b783da2f62c
[ "Apache-2.0" ]
4
2017-12-12T03:59:55.000Z
2019-03-12T19:47:26.000Z
// Copyright 2017 AW SOFTWARE CO.,LTD // Copyright 2017 AISIN AW CO.,LTD #include <cstring> #include "BinderClient.h" #include "JsonRequestGenerator.h" #include "JsonResponseAnalyzer.h" #include "traces.h" /** * @brief constructor */ BinderClient::BinderClient() : navicoreListener(nullptr) { requestMng = new Re...
24.955696
190
0.731676
rm-medina
1e1fa20d104929410e212682c30692a0aeafa0d6
487
hpp
C++
PP/concepts/pointer_to_member.hpp
Petkr/PP
646cc156603a6a9461e74d8f54786c0d5a9c32d2
[ "MIT" ]
3
2019-07-12T23:12:24.000Z
2019-09-05T07:57:45.000Z
PP/concepts/pointer_to_member.hpp
Petkr/PP
646cc156603a6a9461e74d8f54786c0d5a9c32d2
[ "MIT" ]
null
null
null
PP/concepts/pointer_to_member.hpp
Petkr/PP
646cc156603a6a9461e74d8f54786c0d5a9c32d2
[ "MIT" ]
null
null
null
#pragma once #include <PP/compose.hpp> #include <PP/get_type.hpp> #include <PP/overloaded.hpp> #include <PP/remove_cv.hpp> namespace PP { PP_CIA is_pointer_to_member = compose(overloaded( []<typename T, typename Class>(type_t<T Class::*>) { return true; ...
21.173913
66
0.49692
Petkr
1e22bc5a4a712c75a0841744a4254fd788f83564
48,889
cpp
C++
src/mongo/db/s/resharding/resharding_txn_cloner_test.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
src/mongo/db/s/resharding/resharding_txn_cloner_test.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
src/mongo/db/s/resharding/resharding_txn_cloner_test.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
/** * Copyright (C) 2020-present MongoDB, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the Server Side Public License, version 1, * as published by MongoDB, Inc. * * This program is distributed in the hope that it will be useful, * but W...
43.456889
100
0.687128
benety
1e23c7e9b68399b53521befc967c550549b44b9d
3,505
hpp
C++
src/sagl/parser/eval.hpp
lggruspe/ibex
43cdd950c8db533e9e5b350375e1288744dc6e7e
[ "MIT" ]
null
null
null
src/sagl/parser/eval.hpp
lggruspe/ibex
43cdd950c8db533e9e5b350375e1288744dc6e7e
[ "MIT" ]
1
2020-03-31T11:30:17.000Z
2020-03-31T11:30:17.000Z
src/sagl/parser/eval.hpp
lggruspe/ibex
43cdd950c8db533e9e5b350375e1288744dc6e7e
[ "MIT" ]
null
null
null
#pragma once #include "parser.hpp" #include <cassert> #include <iostream> #include <map> #include <memory> #include <utility> #include <vector> struct ParseTree { using Tree = std::unique_ptr<ParseTree>; std::vector<Tree> children; const std::string label; const std::string value; ParseTree(const ...
27.382813
75
0.54465
lggruspe
1e27b7a31fe10820d62803f251fd0de1f490c82f
5,434
cc
C++
src/ledger/bin/storage/fake/fake_ledger_storage.cc
winksaville/Fuchsia
a0ec86f1d51ae8d2538ff3404dad46eb302f9b4f
[ "BSD-3-Clause" ]
3
2020-08-02T04:46:18.000Z
2020-08-07T10:10:53.000Z
src/ledger/bin/storage/fake/fake_ledger_storage.cc
winksaville/Fuchsia
a0ec86f1d51ae8d2538ff3404dad46eb302f9b4f
[ "BSD-3-Clause" ]
null
null
null
src/ledger/bin/storage/fake/fake_ledger_storage.cc
winksaville/Fuchsia
a0ec86f1d51ae8d2538ff3404dad46eb302f9b4f
[ "BSD-3-Clause" ]
1
2020-08-07T10:11:49.000Z
2020-08-07T10:11:49.000Z
// Copyright 2019 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. #include "src/ledger/bin/storage/fake/fake_ledger_storage.h" #include <lib/async/cpp/task.h> #include "src/ledger/bin/storage/fake/fake_page_storage.h" nam...
36.965986
100
0.732241
winksaville
1e29cfa4d348c84cf27091e453660aa740bd11c3
25,126
cpp
C++
examples/pxScene2d/external/WinSparkle/3rdparty/wxWidgets/samples/printing/printing.cpp
madanagopaltcomcast/pxCore
c4a3a40a190521c8b6383d126c87612eca5b3c42
[ "Apache-2.0" ]
471
2019-06-26T09:59:09.000Z
2022-03-30T04:59:42.000Z
examples/pxScene2d/external/WinSparkle/3rdparty/wxWidgets/samples/printing/printing.cpp
madanagopaltcomcast/pxCore
c4a3a40a190521c8b6383d126c87612eca5b3c42
[ "Apache-2.0" ]
1,432
2017-06-21T04:08:48.000Z
2020-08-25T16:21:15.000Z
examples/pxScene2d/external/WinSparkle/3rdparty/wxWidgets/samples/printing/printing.cpp
madanagopaltcomcast/pxCore
c4a3a40a190521c8b6383d126c87612eca5b3c42
[ "Apache-2.0" ]
317
2017-06-20T19:57:17.000Z
2020-09-16T10:28:30.000Z
///////////////////////////////////////////////////////////////////////////// // Name: samples/printing.cpp // Purpose: Printing demo for wxWidgets // Author: Julian Smart // Modified by: Francesco Montorsi // Created: 1995 // Copyright: (c) Julian Smart // Licence: wxWindows licence /////////...
32.0894
116
0.641646
madanagopaltcomcast
1e2ab834a1ae1626cd4b9e080ba22a4dc2028d6b
608
cpp
C++
NOI[OpenJudge]/1.13/1.13.12.cpp
HeRaNO/OI-ICPC-Codes
4a4639cd3e347b472520065ca6ab8caadde6906d
[ "MIT" ]
18
2019-01-01T13:16:59.000Z
2022-02-28T04:51:50.000Z
NOI[OpenJudge]/1.13/1.13.12.cpp
HeRaNO/OI-ICPC-Codes
4a4639cd3e347b472520065ca6ab8caadde6906d
[ "MIT" ]
null
null
null
NOI[OpenJudge]/1.13/1.13.12.cpp
HeRaNO/OI-ICPC-Codes
4a4639cd3e347b472520065ca6ab8caadde6906d
[ "MIT" ]
5
2019-09-13T08:48:17.000Z
2022-02-19T06:59:03.000Z
//Code By HeRaNO #include<cstdio> #include<cstring> #include<iostream> using namespace std; int x[11], y[11]; int gcd(int a, int b) { if (b == 0)return a; else return gcd(b, a % b); } void jia(int n, int m) { int k = y[n] * y[m] / gcd(y[n], y[m]); x[n] = x[n] * (k / y[n]); x[m] = x[m] * (k / y[m]); x[n] = x[n]...
16.432432
58
0.457237
HeRaNO
1e2b0c6287b7d20bdcb81c4159cf97e0a266831b
3,072
cpp
C++
code/console/duino/osal_duino_sysconsole.cpp
iocafe/eosal
e71239d4d6600c5e14f71a5434c2d56901c7bee8
[ "MIT" ]
1
2020-04-28T23:26:32.000Z
2020-04-28T23:26:32.000Z
code/console/duino/osal_duino_sysconsole.cpp
iocafe/eosal
e71239d4d6600c5e14f71a5434c2d56901c7bee8
[ "MIT" ]
null
null
null
code/console/duino/osal_duino_sysconsole.cpp
iocafe/eosal
e71239d4d6600c5e14f71a5434c2d56901c7bee8
[ "MIT" ]
1
2021-06-18T06:03:44.000Z
2021-06-18T06:03:44.000Z
/** @file console/duino/osal_duino_sysconsole.c @brief Operating system default console IO. @author Pekka Lehtikoski @version 1.0 @date 26.4.2021 The osal_sysconsole_write() function writes text to the console or serial port designated for debug output, and the osal_sysconsole_read() prosesses ...
27.428571
101
0.516602
iocafe
1e2d13ac8bc4481b41902a0b91138e16ac003f56
1,427
cpp
C++
src/viewer/GlErrors.cpp
serserar/ModelConverter
23e6237a347dc959de191d4cc378defb0a9d044b
[ "MIT" ]
null
null
null
src/viewer/GlErrors.cpp
serserar/ModelConverter
23e6237a347dc959de191d4cc378defb0a9d044b
[ "MIT" ]
null
null
null
src/viewer/GlErrors.cpp
serserar/ModelConverter
23e6237a347dc959de191d4cc378defb0a9d044b
[ "MIT" ]
null
null
null
/* -*- c++ -*- */ ///////////////////////////////////////////////////////////////////////////// // // GlErrors.cpp -- Copyright (c) 2006-2007 David Henry // last modification: jan. 24, 2007 // // This code is licenced under the MIT license. // // This software is provided "as is" without express or implied // warranti...
26.924528
77
0.537491
serserar
1e35abe759f50e9a5cb976bc75ffd4aa1dedfa94
1,595
cpp
C++
src/RDP/Unity/main.cpp
RoboticsDevelopmentProjects/spp-base-library
f8e1be763da49fd226b708e5aeeaaccc2ef37246
[ "MIT" ]
null
null
null
src/RDP/Unity/main.cpp
RoboticsDevelopmentProjects/spp-base-library
f8e1be763da49fd226b708e5aeeaaccc2ef37246
[ "MIT" ]
null
null
null
src/RDP/Unity/main.cpp
RoboticsDevelopmentProjects/spp-base-library
f8e1be763da49fd226b708e5aeeaaccc2ef37246
[ "MIT" ]
null
null
null
#include "Unity.h" #include <ros/ros.h> #if 0 #include <ros/ros.h> #include <std_msgs/Empty.h> int main(int argc, char *argv[]){ ros::init(argc, argv, "Unity"); ros::NodeHandle node; ros::Publisher pub = node.advertise<std_msgs::Empty>("startSpeechRecognition", 100); ros::Rate loopRate(5); ...
19.45122
88
0.618182
RoboticsDevelopmentProjects
1e36a8ebc3a60f0c5cf24d7a032cd323d6003877
2,673
cpp
C++
deprecated_old_files/deprecated_workspace_pkgs/move_base_tf/src/move_base_odom.cpp
Torreshan/TurtleBot
c6ae948364f82f505581dad2ee2dceb95fdcfba8
[ "MIT" ]
1
2019-01-31T13:13:03.000Z
2019-01-31T13:13:03.000Z
deprecated_old_files/deprecated_workspace_pkgs/move_base_tf/src/move_base_odom.cpp
Torreshan/TurtleBot
c6ae948364f82f505581dad2ee2dceb95fdcfba8
[ "MIT" ]
null
null
null
deprecated_old_files/deprecated_workspace_pkgs/move_base_tf/src/move_base_odom.cpp
Torreshan/TurtleBot
c6ae948364f82f505581dad2ee2dceb95fdcfba8
[ "MIT" ]
1
2019-01-14T16:24:05.000Z
2019-01-14T16:24:05.000Z
#include <ros/ros.h> #include <tf/tf.h> #include <geometry_msgs/Twist.h> #include <geometry_msgs/Pose2D.h> #include <nav_msgs/Odometry.h> #include <math.h> geometry_msgs::Pose2D current_pose; void odomCallback(const nav_msgs::OdometryConstPtr& msg) { // linear position current_pose.x = msg->pose.pose.positi...
26.73
147
0.605312
Torreshan
1e380c5622561779bd3440e733a1cf5ec7ffc016
29,728
cpp
C++
videowidget.cpp
Svensational/TrackIt
7dc9d24ce4a7fb7ed79f0f915027316d9b225cb1
[ "MIT" ]
null
null
null
videowidget.cpp
Svensational/TrackIt
7dc9d24ce4a7fb7ed79f0f915027316d9b225cb1
[ "MIT" ]
null
null
null
videowidget.cpp
Svensational/TrackIt
7dc9d24ce4a7fb7ed79f0f915027316d9b225cb1
[ "MIT" ]
null
null
null
#include "videowidget.h" #include <iostream> #include <QtCore/QTimer> #include <QtGui/QFileDialog> #include <QtGui/QFormLayout> #include <QtGui/QLabel> #include <QtGui/QMessageBox> #include <QtGui/QPushButton> #include <QtGui/QSpinBox> #include <QtGui/QWheelEvent> #include <opencv2/core/core.hpp> #include <GL/glext.h> ...
30.806218
133
0.623856
Svensational
1e3b07d31cedae760548d839efa3e6f79d63eb23
13,976
cpp
C++
src/core/Common.cpp
BlauHimmel/Hikari
38746e5d03a8e106a346a6f792f3093034a576bb
[ "MIT" ]
11
2018-11-22T03:07:10.000Z
2022-03-31T15:51:29.000Z
src/core/Common.cpp
BlauHimmel/Hikari
38746e5d03a8e106a346a6f792f3093034a576bb
[ "MIT" ]
2
2019-02-14T15:05:42.000Z
2019-07-26T06:07:13.000Z
src/core/Common.cpp
BlauHimmel/Hikari
38746e5d03a8e106a346a6f792f3093034a576bb
[ "MIT" ]
4
2018-12-18T12:40:07.000Z
2022-03-31T15:51:31.000Z
#include <core\Common.hpp> #include <core\Object.hpp> #include <core\Vector.hpp> #if defined(__PLATFORM_LINUX__) #include <malloc.h> #endif #if defined(__PLATFORM_WINDOWS__) #include <windows.h> #endif #if defined(__PLATFORM_MACOS__) #include <sys/sysctl.h> #endif NAMESPACE_BEGIN int GetCoreCount() { return int(s...
22.009449
114
0.607112
BlauHimmel
1e4168f58d211abc3e375778731a52f68592f23a
112,298
cpp
C++
01.Firmware/components/FabGL/examples/VGA/MultitaskingCPM/src/BDOS.cpp
POMIN-163/xbw
ebda2fb925ec54e48e806ba1c3cd4e04a7b25368
[ "Apache-2.0" ]
5
2022-02-14T03:12:57.000Z
2022-03-06T11:58:31.000Z
01.Firmware/components/FabGL/examples/VGA/MultitaskingCPM/src/BDOS.cpp
POMIN-163/xbw
ebda2fb925ec54e48e806ba1c3cd4e04a7b25368
[ "Apache-2.0" ]
null
null
null
01.Firmware/components/FabGL/examples/VGA/MultitaskingCPM/src/BDOS.cpp
POMIN-163/xbw
ebda2fb925ec54e48e806ba1c3cd4e04a7b25368
[ "Apache-2.0" ]
4
2022-02-23T07:00:59.000Z
2022-03-10T03:58:11.000Z
/* Created by Fabrizio Di Vittorio (fdivitto2013@gmail.com) - <http://www.fabgl.com> Copyright (c) 2019-2021 Fabrizio Di Vittorio. All rights reserved. * Please contact fdivitto2013@gmail.com if you need a commercial license. * This library and related software is available under GPL v3. FabGL is free soft...
25.833448
171
0.623012
POMIN-163
1e420b0407854e8f026b8e07ba0a6796441cbb1e
6,541
cpp
C++
Source/ArchQOR/x86/Assembler/BatchCPU/i586CPU.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
9
2016-05-27T01:00:39.000Z
2021-04-01T08:54:46.000Z
Source/ArchQOR/x86/Assembler/BatchCPU/i586CPU.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
1
2016-03-03T22:54:08.000Z
2016-03-03T22:54:08.000Z
Source/ArchQOR/x86/Assembler/BatchCPU/i586CPU.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
4
2016-05-27T01:00:43.000Z
2018-08-19T08:47:49.000Z
//i586CPU.cpp // Copyright (c) 2008-2010, Petr Kobalicek <kobalicek.petr@gmail.com> // Copyright (c) Querysoft Limited 2013 // // Permission is hereby granted, free of charge, to any person or organization // obtaining a copy of the software and accompanying documentation covered by // this license (the "Software") to...
34.067708
85
0.541202
mfaithfull
1e4407c4faf59b2aef39e4ece8e4bcfba39571b6
19,167
cpp
C++
SYEngine/Engine/SceneManager/EntityManager/ComponentManager/Component/Rendering/SkeletalModel.cpp
FrankMejzlik/syengine
27929bbea5e05d1b1ce97abe408c5a90f29ab4dc
[ "MIT" ]
1
2022-02-14T18:39:49.000Z
2022-02-14T18:39:49.000Z
SYEngine/Engine/SceneManager/EntityManager/ComponentManager/Component/Rendering/SkeletalModel.cpp
FrankMejzlik/syengine
27929bbea5e05d1b1ce97abe408c5a90f29ab4dc
[ "MIT" ]
null
null
null
SYEngine/Engine/SceneManager/EntityManager/ComponentManager/Component/Rendering/SkeletalModel.cpp
FrankMejzlik/syengine
27929bbea5e05d1b1ce97abe408c5a90f29ab4dc
[ "MIT" ]
null
null
null
// //#include "SkeletalModel.h" // //using namespace SYE; // //glm::mat3 aiMatrix3x3ToGlm(const aiMatrix3x3 &from) //{ // glm::mat3 to = std::move(glm::mat4(1.0f)); // //the a,b,c,d in assimp is the row ; the 1,2,3,4 is the column // to[0][0] = from.a1; to[1][0] = from.a2; to[2][0] = from.a3; // to[0][1] = from.b1...
33.685413
212
0.648406
FrankMejzlik
1e492915206c1c32a6f4f79efada46d6b27d8a8b
193
cpp
C++
src/Lab2/main.cpp
viktormuzyka/ooop
9d89d1f9884166a7fd6267bab231c6d9ac98c676
[ "Apache-2.0" ]
1
2021-10-04T17:42:42.000Z
2021-10-04T17:42:42.000Z
src/Lab2/main.cpp
viktormuzyka/ooop
9d89d1f9884166a7fd6267bab231c6d9ac98c676
[ "Apache-2.0" ]
null
null
null
src/Lab2/main.cpp
viktormuzyka/ooop
9d89d1f9884166a7fd6267bab231c6d9ac98c676
[ "Apache-2.0" ]
null
null
null
#include <QtWidgets> #include "texthook.h" int main(int argc, char *argv[]) { QApplication app(argc, argv); AddressBook addressBook; addressBook.show(); return app.exec(); }
14.846154
33
0.658031
viktormuzyka
1e4c56171378f5a6299614434f3a188bcc30deba
13,108
hpp
C++
include/Newtonsoft/Json/Utilities/TypeExtensions.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
include/Newtonsoft/Json/Utilities/TypeExtensions.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
include/Newtonsoft/Json/Utilities/TypeExtensions.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" #include "beatsaber-hook/shared/utils/typedefs-string....
60.12844
207
0.741303
RedBrumbler
1e4c8b0adf1d13acd4e8d6359ce133fdf65a2e0f
5,127
cc
C++
src/internal/nb_http_request_factory.cc
rk0jima/baas-sdk-embedded
2481a43ab114008e37966964d2032970cda2a1bf
[ "Apache-2.0" ]
null
null
null
src/internal/nb_http_request_factory.cc
rk0jima/baas-sdk-embedded
2481a43ab114008e37966964d2032970cda2a1bf
[ "Apache-2.0" ]
null
null
null
src/internal/nb_http_request_factory.cc
rk0jima/baas-sdk-embedded
2481a43ab114008e37966964d2032970cda2a1bf
[ "Apache-2.0" ]
1
2022-01-31T23:30:04.000Z
2022-01-31T23:30:04.000Z
/* * Copyright (C) 2017 NEC Corporation */ #include "necbaas/internal/nb_http_request_factory.h" #include <curlpp/cURLpp.hpp> #include "necbaas/internal/nb_constants.h" #include "necbaas/internal/nb_logger.h" namespace necbaas { using std::string; using std::list; using std::multimap; NbHttpRequestFactory::NbHttp...
30.885542
118
0.679735
rk0jima
1e4d4524d0bdc15e17224e494ae463cd24fae58f
4,046
cpp
C++
edbee-lib/edbee/util/simpleprofiler.cpp
UniSwarm/edbee-lib
b1f0b440d32f5a770877b11c6b24944af1131b91
[ "BSD-2-Clause" ]
445
2015-01-04T16:30:56.000Z
2022-03-30T02:27:05.000Z
edbee-lib/edbee/util/simpleprofiler.cpp
UniSwarm/edbee-lib
b1f0b440d32f5a770877b11c6b24944af1131b91
[ "BSD-2-Clause" ]
305
2015-01-04T09:20:03.000Z
2020-10-01T08:45:45.000Z
edbee-lib/edbee/util/simpleprofiler.cpp
UniSwarm/edbee-lib
b1f0b440d32f5a770877b11c6b24944af1131b91
[ "BSD-2-Clause" ]
49
2015-02-14T01:43:38.000Z
2022-02-15T17:03:55.000Z
/** * Copyright 2011-2012 - Reliable Bits Software by Blommers IT. All Rights Reserved. * Author Rick Blommers */ #include "simpleprofiler.h" #include <QDateTime> #include "edbee/debug.h" namespace edbee { /// This method returns the profile instance SimpleProfiler *SimpleProfiler::instance() { static SimpleP...
30.19403
156
0.615175
UniSwarm
1e4f66ab7dbfcb0454de91c05bcef29e7aa9b867
882
cpp
C++
implementations/ugene/src/libs_3rdparty/QSpec/testApp/mainwindow.cpp
r-barnes/sw_comparison
1ac2c9cc10a32badd6b8fb1e96516c97f7800176
[ "BSD-Source-Code" ]
null
null
null
implementations/ugene/src/libs_3rdparty/QSpec/testApp/mainwindow.cpp
r-barnes/sw_comparison
1ac2c9cc10a32badd6b8fb1e96516c97f7800176
[ "BSD-Source-Code" ]
null
null
null
implementations/ugene/src/libs_3rdparty/QSpec/testApp/mainwindow.cpp
r-barnes/sw_comparison
1ac2c9cc10a32badd6b8fb1e96516c97f7800176
[ "BSD-Source-Code" ]
null
null
null
#include "mainwindow.h" #include "EventRecorderWidget.h" #include "EventFilter.h" #include <QEvent> #include <QKeyEvent> #include <QLineEdit> #include <QGridLayout> MainWindow* MainWindow::instance; MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) { QGridLayout* l = new QGridLayout(this); se...
21.512195
57
0.702948
r-barnes
1e4f8d152b59747f02b092029111b6e15d0f8bfa
309
cpp
C++
sort/compare_sorts/selection_sort.cpp
chhanganivarun/DS
13b9ed64a2bfd7fb443d99153568bf6261ae31c6
[ "MIT" ]
1
2018-01-26T07:49:05.000Z
2018-01-26T07:49:05.000Z
sort/compare_sorts/selection_sort.cpp
chhanganivarun/DS
13b9ed64a2bfd7fb443d99153568bf6261ae31c6
[ "MIT" ]
null
null
null
sort/compare_sorts/selection_sort.cpp
chhanganivarun/DS
13b9ed64a2bfd7fb443d99153568bf6261ae31c6
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int main() { int n,*a; n=100000; a=new int [n]; for(int i=0;i<n;i++) a[i]=rand(); for(int i=0;i<n-1;i++) { int min=i; for(int j=i+1;j<n;j++) { if(a[min]>a[j]) { swap(min,j); } } swap(a[min],a[i]); } cout<<"Sorted!\n"; return 0; }
12.36
24
0.491909
chhanganivarun
1e50a1baa34895844921e60463f38fec98fc7304
1,569
cc
C++
palindrome-number.cc
yevka/leetcode
abc3150d25069545ed155eed2751d75159f55342
[ "MIT" ]
null
null
null
palindrome-number.cc
yevka/leetcode
abc3150d25069545ed155eed2751d75159f55342
[ "MIT" ]
null
null
null
palindrome-number.cc
yevka/leetcode
abc3150d25069545ed155eed2751d75159f55342
[ "MIT" ]
null
null
null
// 9. Palindrome Number // https://leetcode.com/problems/palindrome-number/ #include <gtest/gtest.h> #include <string> #include <algorithm> #include <iostream> using namespace std; class Solution { public: bool isPalindrome(int x) { if (x < 0) { return false; } else if (x == 0) { ...
21.493151
51
0.581899
yevka
1e5118ae1ac780f29b9251398b33faa0c77ea83b
2,061
cpp
C++
src/samples/ExplodingObjects/Mesh.cpp
int-Frank/DgLib-deprecated
2683c48d84b995b00c6fb13f9e02257d3c93e80c
[ "MIT" ]
null
null
null
src/samples/ExplodingObjects/Mesh.cpp
int-Frank/DgLib-deprecated
2683c48d84b995b00c6fb13f9e02257d3c93e80c
[ "MIT" ]
null
null
null
src/samples/ExplodingObjects/Mesh.cpp
int-Frank/DgLib-deprecated
2683c48d84b995b00c6fb13f9e02257d3c93e80c
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include "Mesh.h" #include "DgR3AABB.h" typedef Dg::R3::AABB<float> AABB; static void NormalizeData(std::vector<vec4> & a_points) { AABB aabb(a_points.begin(), a_points.end()); vec4 offset(-aabb.GetCenter().x(), -aabb.GetCenter().y(), -aabb.Get...
18.401786
57
0.512373
int-Frank
1e5167d00f1aa1f61b7c8a99933444f6579025e7
665
cpp
C++
Sorting-Searching/quicksort/testDriver.cpp
Alex0Blackwell/c-projects
eb5a4507603b8510abc18223fd99c454e8effc38
[ "MIT" ]
1
2020-12-07T03:00:52.000Z
2020-12-07T03:00:52.000Z
Sorting-Searching/quicksort/testDriver.cpp
Alex0Blackwell/c-projects
eb5a4507603b8510abc18223fd99c454e8effc38
[ "MIT" ]
1
2020-10-02T06:27:48.000Z
2020-10-02T06:27:48.000Z
Sorting-Searching/quicksort/testDriver.cpp
Alex0Blackwell/c-projects
eb5a4507603b8510abc18223fd99c454e8effc38
[ "MIT" ]
2
2020-10-02T06:16:11.000Z
2020-10-27T15:05:25.000Z
#include <iostream> #include <vector> #include <assert.h> #include "quicksort.hpp" using namespace std; int main(void) { vector<int> arr1; for(int i = 0; i < 100; ++i) arr1.push_back(rand() % 100); cout << "Array before:" << endl; for(auto el : arr1) cout << el << ", "; cout << endl; quicksor...
17.051282
53
0.557895
Alex0Blackwell
1e5169b8db08d00bca8008714c3541a9527bed92
1,647
cc
C++
aleyen.cc
jdb19937/makemore
61297dd322b3a9bb6cdfdd15e8886383cb490534
[ "MIT" ]
null
null
null
aleyen.cc
jdb19937/makemore
61297dd322b3a9bb6cdfdd15e8886383cb490534
[ "MIT" ]
null
null
null
aleyen.cc
jdb19937/makemore
61297dd322b3a9bb6cdfdd15e8886383cb490534
[ "MIT" ]
null
null
null
#include <stdlib.h> #include <stdio.h> #include <string.h> #include <dirent.h> #include <sys/stat.h> #include <string> #include <vector> #include <algorithm> #include "numutils.hh" #include "imgutils.hh" #include "strutils.hh" #include "partrait.hh" using namespace std; using namespace makemore; double pld(double x...
22.561644
111
0.612022
jdb19937
1e5290d32b146fb3fc13a9d7c49dc08d17013964
9,624
cpp
C++
rai/secure/http.cpp
gokoo/Raicoin
494be83a1e29106d268f71e613fac1e4033a82f2
[ "MIT" ]
94
2019-09-25T05:57:44.000Z
2021-12-30T09:08:06.000Z
rai/secure/http.cpp
lannuary12/Raicoin
b5d10726f79e233b46e14e6ec064fa20ece1bb15
[ "MIT" ]
4
2020-05-06T10:10:14.000Z
2021-12-26T09:35:16.000Z
rai/secure/http.cpp
lannuary12/Raicoin
b5d10726f79e233b46e14e6ec064fa20ece1bb15
[ "MIT" ]
13
2019-09-25T05:57:52.000Z
2022-02-24T02:09:03.000Z
#include <rai/secure/http.hpp> #include <boost/property_tree/json_parser.hpp> rai::HttpClient::HttpClient(boost::asio::io_service& service) : service_(service), used_(false), resolver_(service), ctx_(boost::asio::ssl::context::tlsv12_client) { } std::shared_ptr<rai::HttpClient> rai::HttpClient::...
27.976744
79
0.543537
gokoo
1e550c2919b79c1008da21b51f158c6eaf004951
1,354
hpp
C++
sdk/core/azure-core/src/private/environment_log_level_listener.hpp
mikeharder/azure-sdk-for-cpp
da1451586a6ef50bac4e3dead9eba2c094c2d91a
[ "MIT" ]
null
null
null
sdk/core/azure-core/src/private/environment_log_level_listener.hpp
mikeharder/azure-sdk-for-cpp
da1451586a6ef50bac4e3dead9eba2c094c2d91a
[ "MIT" ]
null
null
null
sdk/core/azure-core/src/private/environment_log_level_listener.hpp
mikeharder/azure-sdk-for-cpp
da1451586a6ef50bac4e3dead9eba2c094c2d91a
[ "MIT" ]
null
null
null
// Copyright (c) Microsoft Corporation. All rights reserved. // SPDX-License-Identifier: MIT #pragma once #include "azure/core/diagnostics/logger.hpp" #if defined(AZ_PLATFORM_WINDOWS) #if !defined(WIN32_LEAN_AND_MEAN) #define WIN32_LEAN_AND_MEAN #endif #if !defined(NOMINMAX) #define NOMINMAX #endif // This use of w...
30.088889
99
0.718612
mikeharder
1e55e496fcd2dcde8efd416f5637d07772fd25f0
975
cpp
C++
Kattis/leftandright.cpp
YourName0729/competitive-programming
437ef18a46074f520e0bfa0bdd718bb6b1c92800
[ "MIT" ]
3
2021-02-19T17:01:11.000Z
2021-03-11T16:50:19.000Z
Kattis/leftandright.cpp
YourName0729/competitive-programming
437ef18a46074f520e0bfa0bdd718bb6b1c92800
[ "MIT" ]
null
null
null
Kattis/leftandright.cpp
YourName0729/competitive-programming
437ef18a46074f520e0bfa0bdd718bb6b1c92800
[ "MIT" ]
null
null
null
// greedy // https://open.kattis.com/problems/leftandright #include <bits/stdc++.h> #include <ext/pb_ds/tree_policy.hpp> #include <ext/pb_ds/assoc_container.hpp> #define For(i, n) for (int i = 0; i < n; ++i) #define Forcase int __t = 0; cin >> __t; while (__t--) #define pb push_back #define ll long long #define ull un...
22.674419
117
0.594872
YourName0729
1e59fb4a980ca0cfe3893234273984ae20f53181
7,791
cpp
C++
gi/scfg/abc/scfg.cpp
agesmundo/FasterCubePruning
f80150140b5273fd1eb0dfb34bdd789c4cbd35e6
[ "BSD-3-Clause-LBNL", "Apache-2.0" ]
1
2019-06-03T00:44:01.000Z
2019-06-03T00:44:01.000Z
gi/scfg/abc/scfg.cpp
jhclark/cdec
237ddc67ffa61da310e19710f902d4771dc323c2
[ "BSD-3-Clause-LBNL", "Apache-2.0" ]
null
null
null
gi/scfg/abc/scfg.cpp
jhclark/cdec
237ddc67ffa61da310e19710f902d4771dc323c2
[ "BSD-3-Clause-LBNL", "Apache-2.0" ]
1
2021-02-19T12:44:54.000Z
2021-02-19T12:44:54.000Z
#include <iostream> #include <fstream> #include <boost/shared_ptr.hpp> #include <boost/pointer_cast.hpp> #include "lattice.h" #include "tdict.h" #include "agrammar.h" #include "bottom_up_parser.h" #include "hg.h" #include "hg_intersect.h" #include "../utils/ParamsArray.h" using namespace std; vector<string> src_cor...
28.02518
179
0.602747
agesmundo
1e5a29bcdb25a9e5b5625b701065f2c88c8ffead
4,322
cpp
C++
test/unit-test/src/test-xml-001.cpp
solosTec/cyng
3862a6b7a2b536d1f00fef20700e64170772dcff
[ "MIT" ]
null
null
null
test/unit-test/src/test-xml-001.cpp
solosTec/cyng
3862a6b7a2b536d1f00fef20700e64170772dcff
[ "MIT" ]
null
null
null
test/unit-test/src/test-xml-001.cpp
solosTec/cyng
3862a6b7a2b536d1f00fef20700e64170772dcff
[ "MIT" ]
null
null
null
/* * The MIT License (MIT) * * Copyright (c) 2018 Sylko Olzscher * */ #include "test-xml-001.h" #include <iostream> #include <boost/test/unit_test.hpp> #include <cyng/xml.h> #include <cyng/object.h> #include <cyng/factory.h> #include <cyng/io/serializer.h> #include <boost/uuid/random_generator.hpp> #include <...
35.138211
128
0.648542
solosTec
1e5b542f3fb95c2b36220a2c7a4b4310a6461bd8
2,609
cpp
C++
legacy/c3_trajectory_generator/src/waypoint_validity.cpp
DSsoto/SubjuGator
fb3861442399540e1dc4472af6e98a817a81e607
[ "MIT" ]
null
null
null
legacy/c3_trajectory_generator/src/waypoint_validity.cpp
DSsoto/SubjuGator
fb3861442399540e1dc4472af6e98a817a81e607
[ "MIT" ]
null
null
null
legacy/c3_trajectory_generator/src/waypoint_validity.cpp
DSsoto/SubjuGator
fb3861442399540e1dc4472af6e98a817a81e607
[ "MIT" ]
null
null
null
#include "waypoint_validity.hpp" // Point and sub_size must be relative to ogrid (IE, in ogrid-cell units) bool WaypointValidity::check_if_hit(cv::Point center, cv::Size sub_size) { for (int x = center.x - sub_size.width / 2; x < center.x + sub_size.width / 2; ++x) { for (int y = center.y - sub_size.height / 2...
33.448718
119
0.647374
DSsoto
1e5ebc48a00a599d8291db052ed3d7e7e52a941a
1,526
hpp
C++
Nacro/SDK/FN_StatusWidget_parameters.hpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
11
2021-08-08T23:25:10.000Z
2022-02-19T23:07:22.000Z
Nacro/SDK/FN_StatusWidget_parameters.hpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
1
2022-01-01T22:51:59.000Z
2022-01-08T16:14:15.000Z
Nacro/SDK/FN_StatusWidget_parameters.hpp
Milxnor/Nacro
eebabf662bbce6d5af41820ea0342d3567a0aecc
[ "BSD-2-Clause" ]
8
2021-08-09T13:51:54.000Z
2022-01-26T20:33:37.000Z
#pragma once // Fortnite (1.8) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "../SDK.hpp" namespace SDK { //--------------------------------------------------------------------------- //Parameters //--------------------------------------------------------------------------- // Function StatusWidget....
27.25
152
0.537353
Milxnor
1e62875135ba024ee4b17d5d6d3fd54aa2cf01c3
7,128
cpp
C++
src/dtl/filter/model/calibration_data_test.cpp
peterboncz/bloomfilter-bsd
bae83545a091555e48b5495669c7adcb99fd2047
[ "Apache-2.0", "BSD-3-Clause" ]
15
2018-08-26T15:31:49.000Z
2022-01-28T06:28:33.000Z
lib/bsd/src/dtl/filter/model/calibration_data_test.cpp
tum-db/partitioned-filters
56c20102715a442cbec9ecb732d41de15b31c828
[ "MIT" ]
1
2019-12-20T22:56:22.000Z
2019-12-20T22:56:22.000Z
lib/bsd/src/dtl/filter/model/calibration_data_test.cpp
tum-db/partitioned-filters
56c20102715a442cbec9ecb732d41de15b31c828
[ "MIT" ]
8
2018-10-02T09:15:29.000Z
2021-12-29T15:45:42.000Z
#include "gtest/gtest.h" #include <iostream> #include <fstream> #include <cstdio> #include <dtl/dtl.hpp> #include "dtl/filter/model/calibration_data.hpp" #include "dtl/filter/model/timing.hpp" using namespace dtl::filter::model; //===----------------------------------------------------------------------===// TEST(...
31.126638
82
0.668771
peterboncz
1e63e8d76b3c16566d9249d90e4cb5652ae44268
8,651
cc
C++
text/text_buffer.cc
abarth/zi
1cdd73a36c8d79d1e1c6fc7ff7195b0ad0b8214f
[ "0BSD" ]
2
2016-09-20T15:26:39.000Z
2021-08-13T08:20:43.000Z
text/text_buffer.cc
abarth/zi
1cdd73a36c8d79d1e1c6fc7ff7195b0ad0b8214f
[ "0BSD" ]
null
null
null
text/text_buffer.cc
abarth/zi
1cdd73a36c8d79d1e1c6fc7ff7195b0ad0b8214f
[ "0BSD" ]
null
null
null
// Copyright (c) 2016, Google Inc. // // Permission to use, copy, modify, and/or distribute this software for any // purpose with or without fee is hereby granted, provided that the above // copyright notice and this permission notice appear in all copies. // // THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS...
31.118705
80
0.684776
abarth
1e65a32b91642689bffc2adbd6ca65e625e1c876
1,753
hpp
C++
Stats/ReservoirSampler.hpp
3nprob/clboss
0435b6c074347ce82e490a5988534054e9d7348d
[ "MIT" ]
108
2020-10-01T17:12:40.000Z
2022-03-30T09:18:03.000Z
Stats/ReservoirSampler.hpp
3nprob/clboss
0435b6c074347ce82e490a5988534054e9d7348d
[ "MIT" ]
94
2020-10-03T13:40:30.000Z
2022-03-30T09:18:00.000Z
Stats/ReservoirSampler.hpp
3nprob/clboss
0435b6c074347ce82e490a5988534054e9d7348d
[ "MIT" ]
17
2020-10-29T13:27:59.000Z
2022-03-18T13:05:03.000Z
#ifndef STATS_RESERVOIRSAMPLER_HPP #define STATS_RESERVOIRSAMPLER_HPP #include"Util/vector_emplace_back.hpp" #include<cstdint> #include<random> #include<vector> namespace Stats { /** class ReservoirSampler<Sample, Weight> * * @brief selects a number of samples, biased by * weight (higher weight items are more lik...
20.623529
60
0.673702
3nprob
1e6cf705100563897a92ad607cf604b6c0e5dc6d
6,521
cpp
C++
dmengine/utils/dmzonehelper.cpp
damao1222/dmengine
09ab62c043a520f8f6b15eb8790c7ee56c006931
[ "Apache-2.0" ]
null
null
null
dmengine/utils/dmzonehelper.cpp
damao1222/dmengine
09ab62c043a520f8f6b15eb8790c7ee56c006931
[ "Apache-2.0" ]
null
null
null
dmengine/utils/dmzonehelper.cpp
damao1222/dmengine
09ab62c043a520f8f6b15eb8790c7ee56c006931
[ "Apache-2.0" ]
null
null
null
/* Copyright (C) 2012 Xiongfa Li 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, this list of conditions and the following dis...
24.062731
754
0.636712
damao1222
1e6d00cf7194038426023c237d038f6f9018ff34
2,671
hpp
C++
src/Domain/ElementIndex.hpp
osheamonn/spectre
4a3332c61d749d83c161ea1c2ea014a937fd5dd8
[ "MIT" ]
null
null
null
src/Domain/ElementIndex.hpp
osheamonn/spectre
4a3332c61d749d83c161ea1c2ea014a937fd5dd8
[ "MIT" ]
null
null
null
src/Domain/ElementIndex.hpp
osheamonn/spectre
4a3332c61d749d83c161ea1c2ea014a937fd5dd8
[ "MIT" ]
null
null
null
// Distributed under the MIT License. // See LICENSE.txt for details. /// \file /// Defines class ElementIndex. #pragma once #include <array> #include <cstddef> #include <functional> #include <iosfwd> #include "Utilities/ConstantExpressions.hpp" /// \cond template <size_t> struct ElementId; /// \endcond struct Seg...
30.701149
78
0.7383
osheamonn
1e6e82cca00613fe75de13ca5b8ed198da177878
4,415
cpp
C++
tests/0100_GUI_App(Skia)/skia/modules/skgui/src/GUI_IconView.cpp
ILW000/SDL_gui
2c916fb73fa5b469cecb91b674032e2b624f0b9b
[ "MIT" ]
243
2015-12-30T00:33:06.000Z
2022-03-22T20:37:41.000Z
tests/0100_GUI_App(Skia)/skia/modules/skgui/src/GUI_IconView.cpp
ILW000/SDL_gui
2c916fb73fa5b469cecb91b674032e2b624f0b9b
[ "MIT" ]
13
2019-02-09T17:05:57.000Z
2021-12-23T18:10:17.000Z
tests/0100_GUI_App(Skia)/skia/modules/skgui/src/GUI_IconView.cpp
ILW000/SDL_gui
2c916fb73fa5b469cecb91b674032e2b624f0b9b
[ "MIT" ]
53
2016-01-06T23:49:36.000Z
2022-03-15T15:47:33.000Z
// // GUI_IconView.cpp // GUI_TextView // // Created by Panutat Tejasen on 12/1/2562 BE. // Copyright © 2562 Jimmy Software Co., Ltd. All rights reserved. // #include "GUI_IconView.h" #include "GUI_Fonts.h" #include "skgui.h" #include "include/core/SkSurface.h" #include "include/core/SkImage.h" #include "include/c...
29.238411
144
0.591846
ILW000
1e6ef06b32dd37d7a572de735ba700ce3ff1bea6
1,595
cpp
C++
Chapitre 8 - Avec Assimp/PetitMoteur3D/TurtleGo.cpp
KeikakuB/grand-turtle-racing
b9a19ac1d9056ff582a63e2a5e4782b6fdc4d53b
[ "Apache-2.0" ]
null
null
null
Chapitre 8 - Avec Assimp/PetitMoteur3D/TurtleGo.cpp
KeikakuB/grand-turtle-racing
b9a19ac1d9056ff582a63e2a5e4782b6fdc4d53b
[ "Apache-2.0" ]
null
null
null
Chapitre 8 - Avec Assimp/PetitMoteur3D/TurtleGo.cpp
KeikakuB/grand-turtle-racing
b9a19ac1d9056ff582a63e2a5e4782b6fdc4d53b
[ "Apache-2.0" ]
null
null
null
#include "stdafx.h" #include "TurtleGo.h" #include "IPoseComponentInterface.h" #include "SimulationComponentBase.h" #include "HealthComponent.h" #include "MeshRenderComponent.h" #include "CelMeshRenderComponent.h" #include "LambdaUpdateComponent.h" #include "ISimulationManager.h" #include "TurtleUpdateComponent.h" #inc...
30.673077
119
0.737931
KeikakuB
1e74d16d3ad55a9ac60c20a3ae075e55c5a07370
11,327
cc
C++
test/ttre.cc
jahan-addison/ttre
e79eff9b45ccfc7d661df5cb36c2f792a38e08d5
[ "Apache-2.0" ]
null
null
null
test/ttre.cc
jahan-addison/ttre
e79eff9b45ccfc7d661df5cb36c2f792a38e08d5
[ "Apache-2.0" ]
null
null
null
test/ttre.cc
jahan-addison/ttre
e79eff9b45ccfc7d661df5cb36c2f792a38e08d5
[ "Apache-2.0" ]
null
null
null
#include <test/catch.h> #include <ttre/ttre.h> #include <iostream> using namespace ttre; struct NFA_Fixture { NFA nfa; NFA_Fixture(NFA_Fixture const&) = delete; explicit NFA_Fixture(std::string_view str) : nfa(util::construct_NFA_from_regular_expression(str)) {}; }; Edge::Node assert_and_get_state_e...
34.11747
115
0.690651
jahan-addison
1e7621afd0524730fc90776b57a2d30426f3b883
2,392
cpp
C++
src/test/entity.t.cpp
bkentel/boken-old
8967856be5f283989d0c10843bcb739728423152
[ "MIT" ]
null
null
null
src/test/entity.t.cpp
bkentel/boken-old
8967856be5f283989d0c10843bcb739728423152
[ "MIT" ]
null
null
null
src/test/entity.t.cpp
bkentel/boken-old
8967856be5f283989d0c10843bcb739728423152
[ "MIT" ]
1
2020-04-11T12:20:00.000Z
2020-04-11T12:20:00.000Z
#if !defined(BK_NO_TESTS) #include "catch.hpp" #include "entity.hpp" #include "entity_def.hpp" #include <algorithm> #include <array> #include <vector> TEST_CASE("property_set") { using namespace boken; enum class test_enum { a, b, c, d, e }; property_set<test_enum, char> properties; REQ...
28.819277
70
0.559783
bkentel
1e764c80fcbaf1ef35c4c59ca1b9429c98484065
661
cc
C++
solved/two-sum.cc
vizee/leetcode
26c44eee5dd1fcb84fa697db650b01732a6ce79e
[ "MIT" ]
null
null
null
solved/two-sum.cc
vizee/leetcode
26c44eee5dd1fcb84fa697db650b01732a6ce79e
[ "MIT" ]
null
null
null
solved/two-sum.cc
vizee/leetcode
26c44eee5dd1fcb84fa697db650b01732a6ce79e
[ "MIT" ]
null
null
null
class Solution { public: vector<int> twoSum(vector<int>& nums, int target) { vector<int> m(nums); sort(m.begin(), m.end()); vector<int> r; for (size_t i = 0; i < nums.size() && r.empty(); i++) { auto v = target - nums[i]; auto p = lower_bound(m.begin(), m.end(...
27.541667
63
0.361573
vizee
1e76b079caf308566d7d86d2051496dd595b7f41
954
cpp
C++
source/vec2.cpp
Snoopyxxel/programmiersprachen-aufgabenblatt-2
3fb4cd58296e951cfe48ae88796b23961082de94
[ "MIT" ]
null
null
null
source/vec2.cpp
Snoopyxxel/programmiersprachen-aufgabenblatt-2
3fb4cd58296e951cfe48ae88796b23961082de94
[ "MIT" ]
null
null
null
source/vec2.cpp
Snoopyxxel/programmiersprachen-aufgabenblatt-2
3fb4cd58296e951cfe48ae88796b23961082de94
[ "MIT" ]
null
null
null
#include "vec2.hpp" Vec2 &Vec2::operator+=(Vec2 const &v) { this->x = this->x + v.x; this->y = this->y + v.y; return *this; } Vec2 &Vec2::operator-=(Vec2 const &v) { this->x = this->x - v.x; this->y = this->y - v.y; return *this; } Vec2 &Vec2::operator*=(float s) { this->x = this->x * s; ...
19.08
46
0.528302
Snoopyxxel
1e7affc602bb94009091605f7cbbe0a8d7d48ec9
71
cpp
C++
extensions/nsplugin/src/npwin.cpp
sandsmark/qt1
e62eef42291be80065a7f824530aa42b79917a8d
[ "Xnet", "X11" ]
18
2018-02-16T16:57:26.000Z
2022-02-10T21:23:47.000Z
extensions/nsplugin/src/npwin.cpp
sandsmark/qt1
e62eef42291be80065a7f824530aa42b79917a8d
[ "Xnet", "X11" ]
2
2018-08-12T12:46:38.000Z
2020-06-19T16:30:06.000Z
extensions/nsplugin/src/npwin.cpp
sandsmark/qt1
e62eef42291be80065a7f824530aa42b79917a8d
[ "Xnet", "X11" ]
7
2018-06-22T01:17:58.000Z
2021-09-02T21:05:28.000Z
#error "This file is provided by Netscape. Please see documentation."
35.5
70
0.774648
sandsmark
1e8284b1de226497a3f68e2aee7a299a29c50ad5
405
cpp
C++
Battleships/Source/Core/Input/FInput.cpp
RodrigoHolztrattner/Battleships
cf3e9c8a4a40f52aee41a7b9baaac5a406365a06
[ "MIT" ]
3
2018-04-09T13:01:07.000Z
2021-03-18T12:28:48.000Z
Battleships/Source/Core/Input/FInput.cpp
RodrigoHolztrattner/Battleships
cf3e9c8a4a40f52aee41a7b9baaac5a406365a06
[ "MIT" ]
null
null
null
Battleships/Source/Core/Input/FInput.cpp
RodrigoHolztrattner/Battleships
cf3e9c8a4a40f52aee41a7b9baaac5a406365a06
[ "MIT" ]
1
2021-03-18T12:28:50.000Z
2021-03-18T12:28:50.000Z
/////////////////////////////////////////////////////////////////////////////// // Filename: FInput.cpp /////////////////////////////////////////////////////////////////////////////// #include "FInput.h" FInput::FInput() { } FInput::FInput(const FInput& other) { } FInput::~FInput() { } //////////// // GLOBAL // ///...
17.608696
79
0.37037
RodrigoHolztrattner
1e8292c55a655b1215ac7812dbf6636205efee25
132
cpp
C++
Source/Event/twEventArgs.cpp
microqq/TwinkleGraphics
e3975dc6dad5b6b8d5db1d54e30e815072db162e
[ "MIT" ]
null
null
null
Source/Event/twEventArgs.cpp
microqq/TwinkleGraphics
e3975dc6dad5b6b8d5db1d54e30e815072db162e
[ "MIT" ]
1
2020-07-03T03:13:39.000Z
2020-07-03T03:13:39.000Z
Source/Event/twEventArgs.cpp
microqq/TwinkleGraphics
e3975dc6dad5b6b8d5db1d54e30e815072db162e
[ "MIT" ]
null
null
null
#include "twEventArgs.h" namespace TwinkleGraphics { BaseEventArgs::~BaseEventArgs() {} } // namespace TwinkleGraphics
16.5
39
0.704545
microqq
1e843fbe9d97b9986b55625d9d73c48da627b571
3,207
hxx
C++
OCC/opencascade-7.2.0/x64/debug/inc/BRepExtrema_TriangleSet.hxx
jiaguobing/FastCAE
2348ab87e83fe5c704e4c998cf391229c25ac5d5
[ "BSD-3-Clause" ]
2
2020-02-21T01:04:35.000Z
2020-02-21T03:35:37.000Z
OCC/opencascade-7.2.0/x64/debug/inc/BRepExtrema_TriangleSet.hxx
Sunqia/FastCAE
cbc023fe07b6e306ceefae8b8bd7c12bc1562acb
[ "BSD-3-Clause" ]
1
2020-03-06T04:49:42.000Z
2020-03-06T04:49:42.000Z
OCC/opencascade-7.2.0/x64/debug/inc/BRepExtrema_TriangleSet.hxx
Sunqia/FastCAE
cbc023fe07b6e306ceefae8b8bd7c12bc1562acb
[ "BSD-3-Clause" ]
1
2021-11-21T13:03:26.000Z
2021-11-21T13:03:26.000Z
// Created on: 2014-10-20 // Created by: Denis BOGOLEPOV // Copyright (c) 2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the GNU Lesser General Public License version 2.1 as pu...
34.483871
129
0.757406
jiaguobing
1e8551759b0584a07ea62c464dc5c9ff7a83042c
1,954
cc
C++
policies/DIF/RMT/MaxQueue/ReadRateReducer/ReadRateReducer.cc
AthirahJohar/RINASIM
70b0d83e243b0d4d6949efcd36d5dc4ead94356c
[ "MIT" ]
null
null
null
policies/DIF/RMT/MaxQueue/ReadRateReducer/ReadRateReducer.cc
AthirahJohar/RINASIM
70b0d83e243b0d4d6949efcd36d5dc4ead94356c
[ "MIT" ]
null
null
null
policies/DIF/RMT/MaxQueue/ReadRateReducer/ReadRateReducer.cc
AthirahJohar/RINASIM
70b0d83e243b0d4d6949efcd36d5dc4ead94356c
[ "MIT" ]
null
null
null
// // Copyright © 2014 - 2015 PRISTINE Consortium (http://ict-pristine.eu) // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) an...
32.032787
79
0.670931
AthirahJohar
1e89ac184ae18ab37f7863155401aed4bbce92f5
56,756
cc
C++
chrome/browser/extensions/extension_toolbar_model_unittest.cc
sunjc53yy/chromium
049b380040949089c2a6e447b0cd0ac3c4ece38e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/extensions/extension_toolbar_model_unittest.cc
sunjc53yy/chromium
049b380040949089c2a6e447b0cd0ac3c4ece38e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/extensions/extension_toolbar_model_unittest.cc
sunjc53yy/chromium
049b380040949089c2a6e447b0cd0ac3c4ece38e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/files/file_util.h" #include "base/macros.h" #include "base/memory/ref_counted.h" #include "base/memory/scoped_ptr.h" #include "base/strings...
42.010363
80
0.741825
sunjc53yy
1e8e50bb3b335fc3322f15192af4708fb4b0ad89
3,729
cc
C++
chromeos/network/system_token_cert_db_storage.cc
iridium-browser/iridium-browser
907e31cf5ce5ad14d832796e3a7c11e496828959
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
575
2015-06-18T23:58:20.000Z
2022-03-23T09:32:39.000Z
chromeos/network/system_token_cert_db_storage.cc
iridium-browser/iridium-browser
907e31cf5ce5ad14d832796e3a7c11e496828959
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
chromeos/network/system_token_cert_db_storage.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
52
2015-07-14T10:40:50.000Z
2022-03-15T01:11:49.000Z
// Copyright 2021 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 "chromeos/network/system_token_cert_db_storage.h" #include "base/callback.h" #include "base/callback_list.h" #include "base/check_op.h" #include...
31.601695
78
0.806919
iridium-browser
1e93a83db9ced0290c839ab25269b3e5d8da514a
1,387
cpp
C++
WixApp/WixApp.prj/PathUnits.cpp
rrvt/WixApp
f72724f74d4d7eb8153646424f78823def9b7e35
[ "MIT" ]
null
null
null
WixApp/WixApp.prj/PathUnits.cpp
rrvt/WixApp
f72724f74d4d7eb8153646424f78823def9b7e35
[ "MIT" ]
null
null
null
WixApp/WixApp.prj/PathUnits.cpp
rrvt/WixApp
f72724f74d4d7eb8153646424f78823def9b7e35
[ "MIT" ]
1
2020-02-25T09:11:37.000Z
2020-02-25T09:11:37.000Z
// Parse a path into an array #include "stdafx.h" #include "PathUnits.h" PathUnits& PathUnits::operator= (String& path) { parse(path); return *this; } // disect the path to a file into bite size chunks, mostly directories (e.g. D:\, \abc\, etc.) void PathUnits::parse(const String& path) { String t = path; ...
17.556962
95
0.583994
rrvt
1e97e094a4450e5b378b3458af5a5c08b41020a3
2,107
cpp
C++
Days 111 - 120/Day 112/FindLowestCommonAncestor.cpp
LucidSigma/Daily-Coding-Problems
21dc8f7e615edd535d7beb1f5d0e41dd3b4bcc1a
[ "MIT" ]
null
null
null
Days 111 - 120/Day 112/FindLowestCommonAncestor.cpp
LucidSigma/Daily-Coding-Problems
21dc8f7e615edd535d7beb1f5d0e41dd3b4bcc1a
[ "MIT" ]
null
null
null
Days 111 - 120/Day 112/FindLowestCommonAncestor.cpp
LucidSigma/Daily-Coding-Problems
21dc8f7e615edd535d7beb1f5d0e41dd3b4bcc1a
[ "MIT" ]
null
null
null
#include <algorithm> #include <iostream> #include <memory> #include <utility> struct Node { char value; std::shared_ptr<Node> left; std::shared_ptr<Node> right; std::shared_ptr<Node> parent = nullptr; explicit Node(char value, const std::shared_ptr<Node>& left = nullptr, const std::shared_ptr<Node>& right = nu...
23.674157
126
0.689606
LucidSigma
1e9a4dd9b0f311d1cb53610d769f4c5248e2ce82
11,974
cpp
C++
Tools/ModelConverter/ModelConverter/ObjModelLoader.cpp
AnkurSheel/RoutePlanner
a50b6ccb735db42ff4e5b2f4c87e710819c4564b
[ "CC-BY-4.0" ]
null
null
null
Tools/ModelConverter/ModelConverter/ObjModelLoader.cpp
AnkurSheel/RoutePlanner
a50b6ccb735db42ff4e5b2f4c87e710819c4564b
[ "CC-BY-4.0" ]
null
null
null
Tools/ModelConverter/ModelConverter/ObjModelLoader.cpp
AnkurSheel/RoutePlanner
a50b6ccb735db42ff4e5b2f4c87e710819c4564b
[ "CC-BY-4.0" ]
null
null
null
// ************************************************************************* // ObjModelLoader version: 1.0 Ankur Sheel date: 2012/10/29 // ------------------------------------------------------------------------ // // ------------------------------------------------------------------------ // Copyright (C)...
31.761273
98
0.618423
AnkurSheel
1e9fd884fed24bdc6d07825d9b30cbffa3d5ebbd
5,102
cpp
C++
grpc/cpp-cubic/cubic_client.cpp
tumarsal/sdk-cubic
ce366b032e4401bd796599b5c2cdce7e6f280649
[ "Apache-2.0" ]
1
2020-01-08T15:10:21.000Z
2020-01-08T15:10:21.000Z
grpc/cpp-cubic/cubic_client.cpp
iZIVer/sdk-cubic
12c0f20c50b777c2a9f00cf881fa492bdd00e3cc
[ "Apache-2.0" ]
null
null
null
grpc/cpp-cubic/cubic_client.cpp
iZIVer/sdk-cubic
12c0f20c50b777c2a9f00cf881fa492bdd00e3cc
[ "Apache-2.0" ]
null
null
null
// Copyright (2019) Cobalt Speech and Language, Inc. #include "cubic_client.h" #include <chrono> #include <grpc/grpc.h> #include <grpcpp/channel.h> #include <grpcpp/client_context.h> #include <grpcpp/create_channel.h> #include <grpcpp/security/credentials.h> #include "cubic.grpc.pb.h" #include "cubic_exception.h" ...
30.011765
92
0.688554
tumarsal
1ea035b4bde24e1a106dc28294b70b982f388b2c
271
cpp
C++
chp3/excercises/excercise3-3.cpp
justinePrasad/PPC2nd
fc28c10dace8b46bd35abc9b62d1f56577035c19
[ "MIT" ]
null
null
null
chp3/excercises/excercise3-3.cpp
justinePrasad/PPC2nd
fc28c10dace8b46bd35abc9b62d1f56577035c19
[ "MIT" ]
null
null
null
chp3/excercises/excercise3-3.cpp
justinePrasad/PPC2nd
fc28c10dace8b46bd35abc9b62d1f56577035c19
[ "MIT" ]
null
null
null
#include "../../../../std_lib_facilities.h" //header file from Programming-_Principles_and_Practice_Using_Cpp int main() { //some key words are reserved, and identifier can't start with numbers char 3 = 'a'; int double = 0; char int = '1'; char send = 'a'; }
22.583333
71
0.667897
justinePrasad
1ea163bf62c68060c7610c9b5a74ff0303f65543
527
cpp
C++
real.cpp
yuantailing/2-center
d9d7408bfda30626160ae569ee36b8f5a5ebe38e
[ "MIT" ]
null
null
null
real.cpp
yuantailing/2-center
d9d7408bfda30626160ae569ee36b8f5a5ebe38e
[ "MIT" ]
null
null
null
real.cpp
yuantailing/2-center
d9d7408bfda30626160ae569ee36b8f5a5ebe38e
[ "MIT" ]
null
null
null
#include "real.h" BoundingBox BoundingBox::from_vector(std::vector<Coord> const &S) { BoundingBox bb; if (S.empty()) { bb.xmin = bb.xmax = bb.ymin = bb.ymax = Real(0); } else { bb.xmin = bb.xmax = S.front().x; bb.ymin = bb.ymax = S.front().y; } for (Coord const &coord: S) { ...
27.736842
67
0.531309
yuantailing
1ea4281e5b8799f25917b3d74078c39dd9924a9c
1,069
hpp
C++
Electro/src/Renderer/Renderer2D.hpp
SurgeTechnologies/Electro
8a7dfb6aabdf5d2e6fe31a8d9c976607fc2f1394
[ "MIT" ]
21
2021-08-30T15:30:22.000Z
2022-02-09T14:05:36.000Z
Electro/src/Renderer/Renderer2D.hpp
SurgeTechnologies/Electro
8a7dfb6aabdf5d2e6fe31a8d9c976607fc2f1394
[ "MIT" ]
null
null
null
Electro/src/Renderer/Renderer2D.hpp
SurgeTechnologies/Electro
8a7dfb6aabdf5d2e6fe31a8d9c976607fc2f1394
[ "MIT" ]
null
null
null
// ELECTRO ENGINE // Copyright(c) 2021 - Electro Team - All rights reserved #pragma once #include "Core/Base.hpp" #include "Math/BoundingBox.hpp" #include "Renderer/Camera/EditorCamera.hpp" #include "Scene/Components.hpp" #include "Scene/SceneCamera.hpp" namespace Electro { class Renderer2D ...
34.483871
137
0.638915
SurgeTechnologies
1ea5dc5fec27d2447a909e202a959efea15592ee
761
hpp
C++
Framework/Common/include/MemoryManager.hpp
Quanwei1992/RTR
cd4e6e056de2bd0ec7ee993b06975508a561b0d6
[ "MIT" ]
3
2021-03-30T09:02:56.000Z
2022-03-16T05:43:21.000Z
Framework/Common/include/MemoryManager.hpp
Quanwei1992/RTR
cd4e6e056de2bd0ec7ee993b06975508a561b0d6
[ "MIT" ]
null
null
null
Framework/Common/include/MemoryManager.hpp
Quanwei1992/RTR
cd4e6e056de2bd0ec7ee993b06975508a561b0d6
[ "MIT" ]
null
null
null
#pragma once #include <new> #include "IRuntimeModule.hpp" #include "Allocator.hpp" RTR_BEGIN_NAMESPACE class MemoryManager : implements IRuntimeModule { public: template<class T, typename... Arguments> T* New(Arguments... parameters) { return new (Allocate(sizeof(T))) T(parameters...); } template<class T> voi...
18.560976
52
0.722733
Quanwei1992
1ea6eb36eabefc34b6b5f9f90572fec59af660fb
9,506
cpp
C++
GPU2/lib/gpunb.avx.cpp
JamesAPetts/NBODY6df
bc1d1d765a7a0608f2fcc650e31a20e50ff4ada7
[ "MIT" ]
4
2017-03-04T07:30:10.000Z
2020-02-06T01:50:38.000Z
GPU2/lib/gpunb.avx.cpp
JamesAPetts/NBODY6df
bc1d1d765a7a0608f2fcc650e31a20e50ff4ada7
[ "MIT" ]
1
2018-03-15T15:03:18.000Z
2018-03-26T16:20:11.000Z
GPU2/lib/gpunb.avx.cpp
JamesAPetts/NBODY6df
bc1d1d765a7a0608f2fcc650e31a20e50ff4ada7
[ "MIT" ]
null
null
null
#include <cstdio> #include <cstdlib> #include <cmath> #include <cassert> #define TMAX 8 // maximum number of threads #if 1 #include <omp.h> #else static inline int omp_get_num_threads(){return 1;} static inline int omp_get_thread_num() {return 0;} #endif #define PROFILE #ifdef PROFILE #include <sys/time.h> static dou...
27.082621
93
0.60425
JamesAPetts
1ea792ea9ff20e3010f12071447fcef0c4815418
2,565
hh
C++
include/seastar/coroutine/maybe_yield.hh
bigo-sg/seastar
64a9499ee01c66f19dc45a9cd4f0d84c45eb1b7d
[ "Apache-2.0" ]
6,526
2015-09-22T16:47:59.000Z
2022-03-31T07:31:07.000Z
include/seastar/coroutine/maybe_yield.hh
bigo-sg/seastar
64a9499ee01c66f19dc45a9cd4f0d84c45eb1b7d
[ "Apache-2.0" ]
925
2015-09-23T13:52:53.000Z
2022-03-31T21:33:25.000Z
include/seastar/coroutine/maybe_yield.hh
bigo-sg/seastar
64a9499ee01c66f19dc45a9cd4f0d84c45eb1b7d
[ "Apache-2.0" ]
1,473
2015-09-22T23:19:04.000Z
2022-03-31T21:09:00.000Z
/* * This file is open source software, licensed to you under the terms * of the Apache License, Version 2.0 (the "License"). See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. You may not use this file except in compliance with the License. * * You may ...
27.880435
92
0.682261
bigo-sg
1eaaa5b8e1ac79039309ae700e87476bf818f8d4
8,875
cpp
C++
dev/Gems/ScriptCanvas/Code/Include/ScriptCanvas/Data/Data.cpp
horvay/lumberyardtutor
63b0681a7ed2a98d651b699984de92951721353e
[ "AML" ]
5
2018-08-17T21:05:55.000Z
2021-04-17T10:48:26.000Z
dev/Gems/ScriptCanvas/Code/Include/ScriptCanvas/Data/Data.cpp
horvay/lumberyardtutor
63b0681a7ed2a98d651b699984de92951721353e
[ "AML" ]
null
null
null
dev/Gems/ScriptCanvas/Code/Include/ScriptCanvas/Data/Data.cpp
horvay/lumberyardtutor
63b0681a7ed2a98d651b699984de92951721353e
[ "AML" ]
5
2017-12-05T16:36:00.000Z
2021-04-27T06:33:54.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...
30.084746
104
0.523606
horvay
1eacd9e8ec30384638a6a74970d6f1c2c329c251
9,773
hxx
C++
main/forms/source/component/GroupManager.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/forms/source/component/GroupManager.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/forms/source/component/GroupManager.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
43.435556
173
0.671237
Grosskopf
1eace8ab8944f394274dd8a1ebc2f9c66bece4c9
2,097
cpp
C++
src/option/Options.cpp
agxmaster/polarphp
31012ff7e6c0f72ee587546c296b06013c98cf9a
[ "PHP-3.01" ]
1,083
2018-05-26T09:12:13.000Z
2022-02-14T00:13:01.000Z
src/option/Options.cpp
agxmaster/polarphp
31012ff7e6c0f72ee587546c296b06013c98cf9a
[ "PHP-3.01" ]
27
2018-08-25T07:28:25.000Z
2021-05-06T06:31:09.000Z
src/option/Options.cpp
agxmaster/polarphp
31012ff7e6c0f72ee587546c296b06013c98cf9a
[ "PHP-3.01" ]
78
2018-08-28T02:43:09.000Z
2020-11-21T15:45:24.000Z
//===--- Options.cpp - Option info & table --------------------------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
31.298507
85
0.668574
agxmaster
1eae03a6503fdb6ac21b41d940a53dc91558f605
5,349
cpp
C++
types/DatetimeIntervalType.cpp
Hacker0912/quickstep-datalog
1de22e7ab787b5efa619861a167a097ff6a4f549
[ "Apache-2.0" ]
82
2016-04-18T03:59:06.000Z
2019-02-04T11:46:08.000Z
types/DatetimeIntervalType.cpp
Hacker0912/quickstep-datalog
1de22e7ab787b5efa619861a167a097ff6a4f549
[ "Apache-2.0" ]
265
2016-04-19T17:52:43.000Z
2018-10-11T17:55:08.000Z
types/DatetimeIntervalType.cpp
Hacker0912/quickstep-datalog
1de22e7ab787b5efa619861a167a097ff6a4f549
[ "Apache-2.0" ]
68
2016-04-18T05:00:34.000Z
2018-10-30T12:41:02.000Z
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
34.509677
85
0.662554
Hacker0912
1eaf1b8ff68afb95fda02bbd880a3ad700be65c4
939
cpp
C++
test/unit/math/mix/fun/inv_Phi_test.cpp
LaudateCorpus1/math
990a66b3cccd27a5fd48626360bb91093a48278b
[ "BSD-3-Clause" ]
null
null
null
test/unit/math/mix/fun/inv_Phi_test.cpp
LaudateCorpus1/math
990a66b3cccd27a5fd48626360bb91093a48278b
[ "BSD-3-Clause" ]
null
null
null
test/unit/math/mix/fun/inv_Phi_test.cpp
LaudateCorpus1/math
990a66b3cccd27a5fd48626360bb91093a48278b
[ "BSD-3-Clause" ]
null
null
null
#include <test/unit/math/test_ad.hpp> TEST(mathMixMatFun, invPhi) { auto f = [](const auto& x1) { return stan::math::inv_Phi(x1); }; stan::test::expect_common_unary_vectorized(f); stan::test::expect_unary_vectorized(f, 0.02425, 0.97575); // breakpoints stan::test::expect_unary_vectorized(f, -100.25, -2, 0.01,...
33.535714
75
0.635783
LaudateCorpus1
1eb2a72e9061eea16eb8bd0959a0a5efe8208bc7
2,606
cpp
C++
sort/mergesort.cpp
thebenhurley/Cplusplus-Examples
918d7d4b6389f23d79be0cbdadb6a8710c91460f
[ "MIT" ]
null
null
null
sort/mergesort.cpp
thebenhurley/Cplusplus-Examples
918d7d4b6389f23d79be0cbdadb6a8710c91460f
[ "MIT" ]
null
null
null
sort/mergesort.cpp
thebenhurley/Cplusplus-Examples
918d7d4b6389f23d79be0cbdadb6a8710c91460f
[ "MIT" ]
null
null
null
// Benjamin Hurley // mergesort.cpp #include <iostream> using namespace std; void mergeSort(int[], int, int); void merge(int[], int, int, int); void printArray(int[], int); int main() { // For this example, we will use an array and // populate it with random numbers each time const int count = 20; ...
21.716667
57
0.495012
thebenhurley
1eb2f13ae930cbaf908e6b8db779752e5186e23d
1,918
cpp
C++
lib/popnn/codelets/LossCrossEntropyTransform.cpp
graphcore/poplibs
3fe5a3ecafe995eddb72675d1b4a7af8a622009e
[ "MIT" ]
95
2020-07-06T17:11:23.000Z
2022-03-12T14:42:28.000Z
lib/popnn/codelets/LossCrossEntropyTransform.cpp
giantchen2012/poplibs
2bc6b6f3d40863c928b935b5da88f40ddd77078e
[ "MIT" ]
null
null
null
lib/popnn/codelets/LossCrossEntropyTransform.cpp
giantchen2012/poplibs
2bc6b6f3d40863c928b935b5da88f40ddd77078e
[ "MIT" ]
14
2020-07-15T12:32:57.000Z
2022-01-26T14:58:45.000Z
// Copyright (c) 2019 Graphcore Ltd. All rights reserved. #include "poplar/AvailableVTypes.h" #include "poplibs_support/ExternalCodelet.hpp" #include "popops/EncodingConstants.hpp" #include <cmath> #include <poplar/HalfFloat.hpp> #include <poplar/Vertex.hpp> #ifdef VECTOR_AVAIL_SCALED_PTR32 static constexpr auto PTR_A...
31.966667
79
0.72732
graphcore
1eb59372bc2629eaffc9801aaae0d2013a79d85f
4,933
cc
C++
sys/sde/main.cc
cwolsen7905/UbixOS
2f6063103347a8e8c369aacdd1399911bb4a4776
[ "BSD-3-Clause" ]
null
null
null
sys/sde/main.cc
cwolsen7905/UbixOS
2f6063103347a8e8c369aacdd1399911bb4a4776
[ "BSD-3-Clause" ]
null
null
null
sys/sde/main.cc
cwolsen7905/UbixOS
2f6063103347a8e8c369aacdd1399911bb4a4776
[ "BSD-3-Clause" ]
null
null
null
/*- * Copyright (c) 2002-2018 The UbixOS Project. * All rights reserved. * * This was developed by Christopher W. Olsen for the UbixOS Project. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions are met: * * 1) Redistribut...
34.256944
156
0.627205
cwolsen7905
1eb647e9b129c2db4e4a42f67b32ebda8f344b55
2,251
cc
C++
test_uuid.cc
pallas/libuuidpp
abe53378e5317aca4e3d569fce86ef987e133520
[ "Zlib" ]
null
null
null
test_uuid.cc
pallas/libuuidpp
abe53378e5317aca4e3d569fce86ef987e133520
[ "Zlib" ]
null
null
null
test_uuid.cc
pallas/libuuidpp
abe53378e5317aca4e3d569fce86ef987e133520
[ "Zlib" ]
null
null
null
#include "uuidpp.h" #include <lace/hash.h> #include <cassert> #include <cstdlib> #include <iostream> #include <sstream> #include <vector> int main(int argc, char* argv[]) { for (int i = 0 ; i < argc ; ++i) { uuid u; std::stringstream(argv[i]) >> u; std::cout << (bool)u << '\t...
30.013333
97
0.423812
pallas
1eb736b63d326eeb8bde768f6f921e034555a25f
16,466
cpp
C++
Source/RenderPostProcess.cpp
marcussvensson92/vulkan_testbed
6cfbee9fd5fb245f10c1d5694812eda6232b9a6c
[ "MIT" ]
10
2020-03-26T08:51:29.000Z
2021-08-17T07:43:12.000Z
Source/RenderPostProcess.cpp
marcussvensson92/vulkan_testbed
6cfbee9fd5fb245f10c1d5694812eda6232b9a6c
[ "MIT" ]
null
null
null
Source/RenderPostProcess.cpp
marcussvensson92/vulkan_testbed
6cfbee9fd5fb245f10c1d5694812eda6232b9a6c
[ "MIT" ]
null
null
null
#include "RenderPostProcess.h" #include "VkUtil.h" void RenderPostProcess::Create(const RenderContext& rc) { // Temporal Blend { VkDescriptorSetLayoutBinding set_layout_bindings[] = { { 0, VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, 1, VK_SHADER_STAGE_COMPUTE_BIT, NULL }, { 1, VK...
50.048632
187
0.760658
marcussvensson92
1eb81b1f1b3072768ab983093acb96909760b317
602
cpp
C++
Zerojudge/d784.cpp
w181496/OJ
67d1d32770376865eba8a9dd1767e97dae68989a
[ "MIT" ]
9
2017-10-08T16:22:03.000Z
2021-08-20T09:32:17.000Z
Zerojudge/d784.cpp
w181496/OJ
67d1d32770376865eba8a9dd1767e97dae68989a
[ "MIT" ]
null
null
null
Zerojudge/d784.cpp
w181496/OJ
67d1d32770376865eba8a9dd1767e97dae68989a
[ "MIT" ]
2
2018-01-15T16:35:44.000Z
2019-03-21T18:30:04.000Z
#include <iostream> #include <sstream> #include <string> #include <vector> using namespace std; int main() { int n,t; cin>>n; for(int i=1;i<=n;++i) { cin>>t; vector<int>k(t); for(int j=0;j<t;++j) { cin>>k[j]; } int x=k[0]; ...
17.705882
35
0.345515
w181496
1ebd6205d62e4fc78451abe0258f37cd5e258e76
3,214
hpp
C++
tools/Vitis-AI-Library/xmodel_image/include/vitis/ai/json_object_visitor.hpp
hito0512/Vitis-AI
996459fb96cb077ed2f7e789d515893b1cccbc95
[ "Apache-2.0" ]
1
2022-02-17T22:13:23.000Z
2022-02-17T22:13:23.000Z
tools/Vitis-AI-Library/xmodel_image/include/vitis/ai/json_object_visitor.hpp
hito0512/Vitis-AI
996459fb96cb077ed2f7e789d515893b1cccbc95
[ "Apache-2.0" ]
null
null
null
tools/Vitis-AI-Library/xmodel_image/include/vitis/ai/json_object_visitor.hpp
hito0512/Vitis-AI
996459fb96cb077ed2f7e789d515893b1cccbc95
[ "Apache-2.0" ]
null
null
null
/* * 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 ...
32.14
75
0.725264
hito0512
362e6be5c66fb14c40a43df7a169f81cfd20bbf1
143
cpp
C++
tests/cluecode/data/ics/oprofile-libpp/xml_utils.cpp
s4-2/scancode-toolkit
8931b42e2630b94d0cabc834dfb3c16f01f82321
[ "Apache-2.0", "CC-BY-4.0" ]
1,511
2015-07-01T15:29:03.000Z
2022-03-30T13:40:05.000Z
tests/cluecode/data/ics/oprofile-libpp/xml_utils.cpp
s4-2/scancode-toolkit
8931b42e2630b94d0cabc834dfb3c16f01f82321
[ "Apache-2.0", "CC-BY-4.0" ]
2,695
2015-07-01T16:01:35.000Z
2022-03-31T19:17:44.000Z
tests/cluecode/data/ics/oprofile-libpp/xml_utils.cpp
s4-2/scancode-toolkit
8931b42e2630b94d0cabc834dfb3c16f01f82321
[ "Apache-2.0", "CC-BY-4.0" ]
540
2015-07-01T15:08:19.000Z
2022-03-31T12:13:11.000Z
* @file xml_utils.cpp * utility routines for generating XML * * @remark Copyright 2006 OProfile authors * @remark Read the file COPYING *
23.833333
42
0.734266
s4-2
363167a52cf18dd689b96ab152f4f57dc47d86ab
2,778
cpp
C++
cpp/test/serialize_test.cpp
deHasara/cylon
f5e31a1191d6a30c0a8c5778a7db4a07c5802da8
[ "Apache-2.0" ]
229
2020-07-01T14:05:10.000Z
2022-03-25T12:26:58.000Z
cpp/test/serialize_test.cpp
deHasara/cylon
f5e31a1191d6a30c0a8c5778a7db4a07c5802da8
[ "Apache-2.0" ]
261
2020-06-30T23:23:15.000Z
2022-03-16T09:55:40.000Z
cpp/test/serialize_test.cpp
deHasara/cylon
f5e31a1191d6a30c0a8c5778a7db4a07c5802da8
[ "Apache-2.0" ]
36
2020-06-30T23:14:52.000Z
2022-03-03T02:37:09.000Z
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed u...
42.090909
101
0.553276
deHasara
36316a3b79ae7b9f2ed8ae598fe157e8ce6308e3
49
cpp
C++
closed/Intel/code/bert-99/pytorch-cpu/csrc/bert_model.cpp
ctuning/inference_results_v1.1
d9176eca28fcf6d7a05ccb97994362a76a1eb5ab
[ "Apache-2.0" ]
12
2021-09-23T08:05:57.000Z
2022-03-21T03:52:11.000Z
closed/Intel/code/bert-99/pytorch-cpu/csrc/bert_model.cpp
ctuning/inference_results_v1.1
d9176eca28fcf6d7a05ccb97994362a76a1eb5ab
[ "Apache-2.0" ]
11
2021-09-23T20:34:06.000Z
2022-01-22T07:58:02.000Z
closed/Intel/code/bert-99/pytorch-cpu/csrc/bert_model.cpp
ctuning/inference_results_v1.1
d9176eca28fcf6d7a05ccb97994362a76a1eb5ab
[ "Apache-2.0" ]
16
2021-09-23T20:26:38.000Z
2022-03-09T12:59:56.000Z
#include "bert_model.hpp" namespace models { }
8.166667
25
0.714286
ctuning
3634a29f1e422c725b1208ef3498411f5340c4d1
17,816
cc
C++
cvmfs/cache_transport.cc
traylenator/cvmfs
c7873bf3d1586524b2c7988eb219cea065ceffbc
[ "BSD-3-Clause" ]
null
null
null
cvmfs/cache_transport.cc
traylenator/cvmfs
c7873bf3d1586524b2c7988eb219cea065ceffbc
[ "BSD-3-Clause" ]
null
null
null
cvmfs/cache_transport.cc
traylenator/cvmfs
c7873bf3d1586524b2c7988eb219cea065ceffbc
[ "BSD-3-Clause" ]
null
null
null
/** * This file is part of the CernVM File System. */ #include "cvmfs_config.h" #include "cache_transport.h" #include <alloca.h> #include <errno.h> #include <sys/socket.h> #include <cassert> #include <cstdlib> #include <cstring> #include "hash.h" #include "logging.h" #include "smalloc.h" #include "util/posix.h" /...
31.871199
80
0.699315
traylenator
3636bbb95cf966a10468d9162c765ac31eeb6d49
6,418
cc
C++
Testbed/src/cache/evictionStrategies/rand/RANDCache.cc
leowangx2013/Proactive-Caching-ACDC
a510960d11bd3a5514b65bd3c6bd471e08e2b727
[ "Apache-2.0" ]
null
null
null
Testbed/src/cache/evictionStrategies/rand/RANDCache.cc
leowangx2013/Proactive-Caching-ACDC
a510960d11bd3a5514b65bd3c6bd471e08e2b727
[ "Apache-2.0" ]
null
null
null
Testbed/src/cache/evictionStrategies/rand/RANDCache.cc
leowangx2013/Proactive-Caching-ACDC
a510960d11bd3a5514b65bd3c6bd471e08e2b727
[ "Apache-2.0" ]
null
null
null
// // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // This program is distributed in the hope that it wil...
31.615764
109
0.698348
leowangx2013
363770ab09e526264f2742970ecdf824ce8b648c
1,941
cpp
C++
hackathon/Levy/refinement/refinement.cpp
zzhmark/vaa3d_tools
3ca418add85a59ac7e805d55a600b78330d7e53d
[ "MIT" ]
1
2021-12-27T19:14:03.000Z
2021-12-27T19:14:03.000Z
hackathon/Levy/refinement/refinement.cpp
zzhmark/vaa3d_tools
3ca418add85a59ac7e805d55a600b78330d7e53d
[ "MIT" ]
null
null
null
hackathon/Levy/refinement/refinement.cpp
zzhmark/vaa3d_tools
3ca418add85a59ac7e805d55a600b78330d7e53d
[ "MIT" ]
null
null
null
/* refinement.cpp * This is a test plugin, you can use it as a demo. * 2019-6-24 : by YourName */ #include "v3d_message.h" #include <vector> #include "refinement.h" #include "n_class.h" #include <fstream> using namespace std; Q_EXPORT_PLUGIN2(refine_swc, TestPlugin); QStringList TestPlugin::menuli...
25.207792
160
0.613086
zzhmark
363accbb170ed8254e97d335d205d9e269152404
1,123
cpp
C++
sdl2/uMario/uNext/Flag.cpp
pdpdds/SDLGameProgramming
3af68e2133296f3e7bc3d7454d9301141bca2d5a
[ "BSD-2-Clause" ]
2
2021-02-09T11:29:38.000Z
2021-08-06T10:37:17.000Z
cpp/mario/src/Flag.cpp
SergiiSharpov/tcpp
b5d3840b6b5bedc736b617a22fe779ceba90ac6f
[ "MIT" ]
null
null
null
cpp/mario/src/Flag.cpp
SergiiSharpov/tcpp
b5d3840b6b5bedc736b617a22fe779ceba90ac6f
[ "MIT" ]
null
null
null
#include "Flag.h" #include "Core.h" /* ******************************************** */ Flag::Flag(int iXPos, int iYPos) { this->iXPos = iXPos; this->iYPos = iYPos; this->iYTextPos = CCFG::GAME_HEIGHT - 3*32; this->iPoints = -1; this->iBlockID = CCore::getMap()->getLevelType() == 4 || CCore::getMap()->getLevelT...
24.413043
138
0.54675
pdpdds
363b719a89e96fc067ef52cfd74d8b1c0e8f6aa8
6,572
cc
C++
deps/cld/internal/generated_entities.cc
nornagon/paulcbetts-cld-prebuilt
ad2cb3a76b3cf75de4ebb2a4cee3b05b84c07253
[ "Apache-2.0" ]
1
2017-12-11T07:53:29.000Z
2017-12-11T07:53:29.000Z
deps/cld/internal/generated_entities.cc
nornagon/paulcbetts-cld-prebuilt
ad2cb3a76b3cf75de4ebb2a4cee3b05b84c07253
[ "Apache-2.0" ]
1
2019-04-06T17:33:10.000Z
2019-11-19T20:13:14.000Z
deps/cld/internal/generated_entities.cc
nornagon/paulcbetts-cld-prebuilt
ad2cb3a76b3cf75de4ebb2a4cee3b05b84c07253
[ "Apache-2.0" ]
2
2019-04-06T04:27:40.000Z
2019-09-18T21:22:02.000Z
// Copyright 2013 Google 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 may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by ap...
22.277966
76
0.431223
nornagon
363c6be9f1034dba41ec9906c1ebaa2e2f85f5c3
5,438
cpp
C++
oneflow/core/intrusive/dss_test.cpp
L-Net-1992/oneflow
4dc08d65caea36fdd137841ac95551218897e730
[ "Apache-2.0" ]
1
2022-03-14T11:17:56.000Z
2022-03-14T11:17:56.000Z
oneflow/core/intrusive/dss_test.cpp
L-Net-1992/oneflow
4dc08d65caea36fdd137841ac95551218897e730
[ "Apache-2.0" ]
null
null
null
oneflow/core/intrusive/dss_test.cpp
L-Net-1992/oneflow
4dc08d65caea36fdd137841ac95551218897e730
[ "Apache-2.0" ]
1
2021-12-15T02:14:49.000Z
2021-12-15T02:14:49.000Z
/* Copyright 2020 The OneFlow Authors. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
28.925532
100
0.719566
L-Net-1992
36411c8aef9c82ac93cfc0a34bfc2167f302d526
743
cpp
C++
cf1656B.cpp
yonghuatang/codeforces
7e1268443e14b001049ef854d2b230f1449d5a2d
[ "MIT" ]
null
null
null
cf1656B.cpp
yonghuatang/codeforces
7e1268443e14b001049ef854d2b230f1449d5a2d
[ "MIT" ]
null
null
null
cf1656B.cpp
yonghuatang/codeforces
7e1268443e14b001049ef854d2b230f1449d5a2d
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { int t; cin >> t; for (int tc=1; tc<=t; tc++) { int n, k; cin >> n >> k; vector<int> v(n, 0); bool valid = false; for (int i=0; i<n; i++) { cin >> v[i]; } set<int> s(v.begin(), v.en...
23.21875
52
0.325707
yonghuatang