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
93cdb4f7ff40cd1e4970dd692635256ee9f4bd86
2,225
hpp
C++
external/mapnik/include/mapnik/pixel_position.hpp
baiyicanggou/mapnik_mvt
9bde52fa9958d81361c015c816858534ec0931bb
[ "Apache-2.0" ]
null
null
null
external/mapnik/include/mapnik/pixel_position.hpp
baiyicanggou/mapnik_mvt
9bde52fa9958d81361c015c816858534ec0931bb
[ "Apache-2.0" ]
null
null
null
external/mapnik/include/mapnik/pixel_position.hpp
baiyicanggou/mapnik_mvt
9bde52fa9958d81361c015c816858534ec0931bb
[ "Apache-2.0" ]
null
null
null
/***************************************************************************** * * This file is part of Mapnik (c++ mapping toolkit) * * Copyright (C) 2015 Artem Pavlenko * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as p...
24.722222
79
0.606292
baiyicanggou
93d0c017e4c6a664c47d05878b8e336acba64bb3
762
cpp
C++
chtho/logging/tests/LogFile_test.cpp
WineChord/chtho
f43c56a1c2faf83e5f48361ca1b06366ce061aab
[ "MIT" ]
null
null
null
chtho/logging/tests/LogFile_test.cpp
WineChord/chtho
f43c56a1c2faf83e5f48361ca1b06366ce061aab
[ "MIT" ]
null
null
null
chtho/logging/tests/LogFile_test.cpp
WineChord/chtho
f43c56a1c2faf83e5f48361ca1b06366ce061aab
[ "MIT" ]
null
null
null
// Copyright (c) 2021 Qizhou Guo // // This software is released under the MIT License. // https://opensource.org/licenses/MIT #include "chtho/logging/Logger.h" #include "chtho/logging/LogFile.h" #include <memory> #include <unistd.h> std::unique_ptr<chtho::LogFile> logfile; void outputFunc(const char* msg, int le...
27.214286
72
0.678478
WineChord
93d6a97b2033a24daea2f1994741410bf62ec338
27,263
cpp
C++
DesktopSharing/xop/RtmpConnection.cpp
JungleZy/DesktopSharing
b8d551a50a3abad8f54db9e5a74d778725422f22
[ "MIT" ]
502
2018-06-12T14:48:54.000Z
2022-03-31T07:33:00.000Z
DesktopSharing/xop/RtmpConnection.cpp
JungleZy/DesktopSharing
b8d551a50a3abad8f54db9e5a74d778725422f22
[ "MIT" ]
37
2018-11-23T20:43:27.000Z
2021-12-24T07:39:17.000Z
DesktopSharing/xop/RtmpConnection.cpp
JungleZy/DesktopSharing
b8d551a50a3abad8f54db9e5a74d778725422f22
[ "MIT" ]
198
2018-06-13T13:19:05.000Z
2022-03-30T07:32:20.000Z
#include "RtmpConnection.h" #include "RtmpServer.h" #include "RtmpPublisher.h" #include "RtmpClient.h" #include "net/Logger.h" #include <random> using namespace xop; RtmpConnection::RtmpConnection(std::shared_ptr<RtmpServer> rtmp_server, TaskScheduler *task_scheduler, SOCKET sockfd) : RtmpConnection(task_s...
28.788807
138
0.658732
JungleZy
93d76a4d4cbe0476bba5e2b6fafa268ed4a68046
573
hpp
C++
508 - A4-spbspu-labs-2020-904-3/spbspu-labs-2020-904-3-master-yakovlev.alexey/3/A1/base-types.hpp
NekoSilverFox/CPP
c6797264fceda4a65ac3452acca496e468d1365a
[ "Apache-2.0" ]
5
2020-02-08T20:57:21.000Z
2021-12-23T06:24:41.000Z
508 - A4-spbspu-labs-2020-904-3/spbspu-labs-2020-904-3-master-yakovlev.alexey/3/A1/base-types.hpp
NekoSilverFox/CPP
c6797264fceda4a65ac3452acca496e468d1365a
[ "Apache-2.0" ]
2
2020-03-02T14:44:55.000Z
2020-11-11T16:25:33.000Z
508 - A4-spbspu-labs-2020-904-3/spbspu-labs-2020-904-3-master-yakovlev.alexey/3/A1/base-types.hpp
NekoSilverFox/CPP
c6797264fceda4a65ac3452acca496e468d1365a
[ "Apache-2.0" ]
4
2020-09-27T17:30:03.000Z
2022-02-16T09:48:23.000Z
#ifndef YAKOVLEV_BASE #define YAKOVLEV_BASE #include <ios> struct point_t { double x; double y; }; bool operator==(const point_t &lhs, const point_t &rhs); bool operator!=(const point_t &lhs, const point_t &rhs); std::ostream& operator<<(std::ostream &os, const point_t &point); double getDistanceBetweenPoints...
17.90625
70
0.731239
NekoSilverFox
93d7cb0b25270dc678d7f1828d4f934df0f26f62
4,497
hpp
C++
src/graphlab/serialization/vector.hpp
iivek/graphlab-cmu-mirror
028321757ea979e6a0859687e37933be375153eb
[ "ECL-2.0", "Apache-2.0" ]
1
2018-08-01T06:32:58.000Z
2018-08-01T06:32:58.000Z
src/graphlab/serialization/vector.hpp
iivek/graphlab-cmu-mirror
028321757ea979e6a0859687e37933be375153eb
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/graphlab/serialization/vector.hpp
iivek/graphlab-cmu-mirror
028321757ea979e6a0859687e37933be375153eb
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/** * Copyright (c) 2009 Carnegie Mellon 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...
36.266129
95
0.66978
iivek
93de5aefe281faec3eed55cdfbdb5467c4f7dc05
5,294
cpp
C++
src/phyx-1.01/src/main_rlt.cpp
jlanga/smsk_selection
08070c6d4a6fbd9320265e1e698c95ba80f81123
[ "MIT" ]
4
2021-07-18T05:20:20.000Z
2022-01-03T10:22:33.000Z
src/phyx-1.01/src/main_rlt.cpp
jlanga/smsk_selection
08070c6d4a6fbd9320265e1e698c95ba80f81123
[ "MIT" ]
1
2017-08-21T07:26:13.000Z
2018-11-08T13:59:48.000Z
src/phyx-1.01/src/main_rlt.cpp
jlanga/smsk_orthofinder
08070c6d4a6fbd9320265e1e698c95ba80f81123
[ "MIT" ]
2
2021-07-18T05:20:26.000Z
2022-03-31T18:23:31.000Z
#include <iostream> #include <fstream> #include <vector> #include <string> #include <cstring> #include <getopt.h> using namespace std; #include "utils.h" #include "tree_reader.h" #include "relabel.h" #include "tree_utils.h" #include "log.h" void print_help() { cout << "Taxon relabelling for trees." << endl; ...
30.079545
135
0.513411
jlanga
93de959e2074203e27e6365e684acc22f4415261
1,320
cc
C++
test/lazy_string_unittest.cc
Mercy1101/my_log
593dddc9cc4d7b6f2fa51176c7f83429fe43c266
[ "MIT" ]
null
null
null
test/lazy_string_unittest.cc
Mercy1101/my_log
593dddc9cc4d7b6f2fa51176c7f83429fe43c266
[ "MIT" ]
null
null
null
test/lazy_string_unittest.cc
Mercy1101/my_log
593dddc9cc4d7b6f2fa51176c7f83429fe43c266
[ "MIT" ]
null
null
null
/// Copyright (c) 2019,2020 Lijiancong. All rights reserved. /// /// Use of this source code is governed by a MIT license /// that can be found in the License file. #include "my_log/lazy_string.hpp" #include <catch2/catch.hpp> #include "profiler.hpp" TEST_CASE("lazy_string", "[my_log][lazy_string]") { { PROFI...
32.195122
80
0.567424
Mercy1101
93ded1ddca3b29d61cdea4317793aac8c7ebece8
4,247
cpp
C++
src/Solver/g2oEdgeSE3Self.cpp
zjcs/PKVIO
7e26df3f3ee5bf0f44624c2ce94e15d33bb5544b
[ "Unlicense" ]
null
null
null
src/Solver/g2oEdgeSE3Self.cpp
zjcs/PKVIO
7e26df3f3ee5bf0f44624c2ce94e15d33bb5544b
[ "Unlicense" ]
null
null
null
src/Solver/g2oEdgeSE3Self.cpp
zjcs/PKVIO
7e26df3f3ee5bf0f44624c2ce94e15d33bb5544b
[ "Unlicense" ]
null
null
null
#include "g2oEdgeSE3Self.h" #include "g2o/core/factory.h" #include "g2o/stuff/macros.h" namespace g2o { using namespace std; using namespace Eigen; //G2O_REGISTER_TYPE_GROUP(expmap2); //G2O_REGISTER_TYPE(EDGE_SE3:EXPMAP2, EdgeSE3ProjectXYZRight2); //G2O_REGISTER_TYPE(EDGE_SE3:EXPMAP2, EdgeSE3ProjectXYZRight); //Edg...
26.879747
87
0.579703
zjcs
93e0c4ff2741f421254fd37d5e6b3a1d59563211
17,835
cpp
C++
src/interpreter/library/fn_d3d.cpp
Grossley/opengml
bc3494aae64092f1c32a16361fd781249e2ea630
[ "MIT" ]
26
2019-07-18T04:45:08.000Z
2022-03-13T09:52:04.000Z
src/interpreter/library/fn_d3d.cpp
Grossley/opengml
bc3494aae64092f1c32a16361fd781249e2ea630
[ "MIT" ]
6
2021-09-10T00:48:00.000Z
2021-11-27T22:00:48.000Z
src/interpreter/library/fn_d3d.cpp
Grossley/opengml
bc3494aae64092f1c32a16361fd781249e2ea630
[ "MIT" ]
9
2019-07-26T06:32:53.000Z
2022-01-12T14:38:59.000Z
#include "libpre.h" #include "fn_d3d.h" #include "libpost.h" #include "ogm/interpreter/Variable.hpp" #include "ogm/common/error.hpp" #include "ogm/common/util.hpp" #include "ogm/interpreter/Executor.hpp" #include "ogm/interpreter/execute.hpp" #include "ogm/interpreter/display/Display.hpp" #include "ogm/geometry/Ve...
28.309524
165
0.579591
Grossley
93e29e69d75f79963091765e46bd1442850b7342
9,026
cpp
C++
TerrainApps/mfcSimple/mfcSimpleView.cpp
nakijun/vtp
7bd2b2abd3a3f778a32ba30be099cfba9b892922
[ "MIT" ]
4
2019-02-08T13:51:26.000Z
2021-12-07T13:11:06.000Z
TerrainApps/mfcSimple/mfcSimpleView.cpp
nakijun/vtp
7bd2b2abd3a3f778a32ba30be099cfba9b892922
[ "MIT" ]
null
null
null
TerrainApps/mfcSimple/mfcSimpleView.cpp
nakijun/vtp
7bd2b2abd3a3f778a32ba30be099cfba9b892922
[ "MIT" ]
7
2017-12-03T10:13:17.000Z
2022-03-29T09:51:18.000Z
// mfcSimpleView.cpp : implementation of the CSimpleView class // // Copyright (c) 2001-2011 Virtual Terrain Project // Free for all uses, see license.txt for details. // #include "stdafx.h" #include "mfcSimple.h" #include "mfcSimpleDoc.h" #include "mfcSimpleView.h" bool CreateScene(); void CleanupScene(); // Heade...
22.341584
95
0.697762
nakijun
93e41e4c8ed8de172b7afef1dc5f178b4cb946b7
61
cpp
C++
source/UI/ui_test.cpp
JakobEliasWagner/pomodoro-timer
a5ebda06645d135af4258e9b814ef364f5685541
[ "Unlicense" ]
null
null
null
source/UI/ui_test.cpp
JakobEliasWagner/pomodoro-timer
a5ebda06645d135af4258e9b814ef364f5685541
[ "Unlicense" ]
null
null
null
source/UI/ui_test.cpp
JakobEliasWagner/pomodoro-timer
a5ebda06645d135af4258e9b814ef364f5685541
[ "Unlicense" ]
null
null
null
// // Created by jakob on 09.03.22. // #include "ui_test.h"
10.166667
32
0.606557
JakobEliasWagner
93e722d784bf8d4a071c9c0c48d2bcae46812d1a
1,580
cc
C++
chrome/browser/page_load_metrics/observers/javascript_frameworks_ukm_observer.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2020-10-18T02:33:40.000Z
2020-10-18T02:33:40.000Z
chrome/browser/page_load_metrics/observers/javascript_frameworks_ukm_observer.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
3
2021-05-17T16:28:52.000Z
2021-05-21T22:42:22.000Z
chrome/browser/page_load_metrics/observers/javascript_frameworks_ukm_observer.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// 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 "chrome/browser/page_load_metrics/observers/javascript_frameworks_ukm_observer.h" #include "services/metrics/public/cpp/ukm_builders.h" #include...
33.617021
90
0.803165
DamieFC
93e8b9f2d181c32a751b0fcce22b3cb86ba92f38
11,393
cpp
C++
Cores/ProSystem/core/Region.cpp
werminghoff/Provenance
de61b4a64a3eb8e2774e0a8ed53488c6c7aa6cb2
[ "BSD-3-Clause" ]
3,459
2015-01-07T14:07:09.000Z
2022-03-25T03:51:10.000Z
Cores/ProSystem/core/Region.cpp
werminghoff/Provenance
de61b4a64a3eb8e2774e0a8ed53488c6c7aa6cb2
[ "BSD-3-Clause" ]
1,046
2018-03-24T17:56:16.000Z
2022-03-23T08:13:09.000Z
Cores/ProSystem/core/Region.cpp
werminghoff/Provenance
de61b4a64a3eb8e2774e0a8ed53488c6c7aa6cb2
[ "BSD-3-Clause" ]
549
2015-01-07T14:07:15.000Z
2022-01-07T16:13:05.000Z
// ---------------------------------------------------------------------------- // ___ ___ ___ ___ ___ ____ ___ _ _ // /__/ /__/ / / /__ /__/ /__ / /_ / |/ / // / / \ /__/ ___/ ___/ ___/ / /__ / / emulator // // -----------------------------------------------------------------...
55.57561
100
0.693233
werminghoff
93eb1997c43299a24d5b14b96b602d6819dd660a
394
cpp
C++
src/route/router.cpp
dosisod/zz
5e747c5559c6d383e905781aabfc8d1f9ace4681
[ "MIT" ]
1
2020-03-24T23:25:55.000Z
2020-03-24T23:25:55.000Z
src/route/router.cpp
dosisod/zz
5e747c5559c6d383e905781aabfc8d1f9ace4681
[ "MIT" ]
null
null
null
src/route/router.cpp
dosisod/zz
5e747c5559c6d383e905781aabfc8d1f9ace4681
[ "MIT" ]
null
null
null
#include "router.hpp" #include "route.hpp" void Router::route(const std::string address, const std::function<std::string(void)> func) { routes.emplace_back(address, func); } std::string Router::execute(const std::string address) const { for (const auto& route : routes) if (route.matches(address)) return route....
26.266667
92
0.685279
dosisod
93ee5c32a90cbbca01bd8e10ead090cb35bca096
2,547
cpp
C++
source/lib/src/mohansella/serial/Writer.cpp
mohansella/simple-kvstore
af9948f0a0e4247526ae03f4d639c548c9474837
[ "MIT" ]
null
null
null
source/lib/src/mohansella/serial/Writer.cpp
mohansella/simple-kvstore
af9948f0a0e4247526ae03f4d639c548c9474837
[ "MIT" ]
null
null
null
source/lib/src/mohansella/serial/Writer.cpp
mohansella/simple-kvstore
af9948f0a0e4247526ae03f4d639c548c9474837
[ "MIT" ]
null
null
null
#include <mohansella/serial/Writer.hpp> #include <mohansella/serial/ByteSerialType.hpp> namespace mohansella::serial { Writer::Writer() { } Writer::~Writer() { } Writer & Writer::putNull() { std::uint8_t nullEnVal = ByteSerialType::BSTYPE_NULL; return this->putRaw(&nullEnVal, sizeof(nullEnVal)); } ...
22.147826
96
0.699647
mohansella
93eed7db58415e5995a906d5fa1b83ccc7deae2c
9,998
cpp
C++
MartrixGoC++/src/Game.cpp
MartrixG/GraduationProject
3f82a48ba27159ae0a1c67b3c441d4d1378543e5
[ "MIT" ]
null
null
null
MartrixGoC++/src/Game.cpp
MartrixG/GraduationProject
3f82a48ba27159ae0a1c67b3c441d4d1378543e5
[ "MIT" ]
null
null
null
MartrixGoC++/src/Game.cpp
MartrixG/GraduationProject
3f82a48ba27159ae0a1c67b3c441d4d1378543e5
[ "MIT" ]
null
null
null
// // Created by 11409 on 2021/4/17. // #include <iostream> #include <cstring> #include "Game.hpp" Game::Game(PointPtr* points, PArVecPtr* around, PDiVecPtr* diagonal) { this->allBoardPoints = points; this->allAround = around; this->allDiagonal = diagonal; this->targetBlock = new GoBlock(); this->...
28.48433
118
0.513303
MartrixG
93f28202826738337e21f8cf69e953d34b285511
1,902
cpp
C++
004_double_link_list_str/cppmain.cpp
aben20807/SI-TONG-CHENG-SYU-YUAN-CHENG-CHANG-JI-HUA
a2817b7c742c02ef557c0aadaec4753be102a802
[ "MIT" ]
null
null
null
004_double_link_list_str/cppmain.cpp
aben20807/SI-TONG-CHENG-SYU-YUAN-CHENG-CHANG-JI-HUA
a2817b7c742c02ef557c0aadaec4753be102a802
[ "MIT" ]
2
2018-09-15T04:13:12.000Z
2018-09-16T02:02:12.000Z
004_double_link_list_str/cppmain.cpp
aben20807/SI-TONG-CHENG-SYU-YUAN-CHENG-CHANG-JI-HUA
a2817b7c742c02ef557c0aadaec4753be102a802
[ "MIT" ]
null
null
null
#include <cstdio> #include "dlist.h" using namespace std; DListRet print_int(void *ctx, void *data, bool is_first) { if (is_first) { printf("%d", *(int *)data); } else { printf(" - %d", *(int *)data); } return OK; } void print(DList *thiz) { printf("size: %d, list: ", dlist_size(th...
17.943396
66
0.544164
aben20807
93f6a856a4cd08d788b71cebd0fec7e480c96801
5,651
cpp
C++
LeetCode/C++/188. Best Time to Buy and Sell Stock IV.cpp
shreejitverma/GeeksforGeeks
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
3
2020-12-30T00:29:59.000Z
2021-01-24T22:43:04.000Z
LeetCode/C++/188. Best Time to Buy and Sell Stock IV.cpp
shivaniverma1/Competitive-Programming-1
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
6
2022-01-13T04:31:04.000Z
2022-03-12T01:06:16.000Z
LeetCode/C++/188. Best Time to Buy and Sell Stock IV.cpp
shivaniverma1/Competitive-Programming-1
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
2
2022-02-14T19:53:53.000Z
2022-02-18T05:14:30.000Z
//Runtime error(MLE) //209 / 211 test cases passed. //time: O(N*k), space: O(k) class Solution { public: int maxProfit(int k, vector<int>& prices) { int n = prices.size(); //0th element for padding vector<int> holds(k+1, INT_MIN); vector<int> cashs(k+1, 0); int ans = 0; ...
35.765823
116
0.469828
shreejitverma
93fbd1cd77defbec19e6d6eca525cbf1fd17a207
1,142
cpp
C++
Source/Parser/CursorType.cpp
JoinCAD/CPP-Reflection
61163369b6b3b370c4ce726dbf8e60e441723821
[ "MIT" ]
540
2015-09-18T09:44:57.000Z
2022-03-25T07:23:09.000Z
Source/Parser/CursorType.cpp
yangzhengxing/CPP-Reflection
43ec755b7a5c62e3252c174815c2e44727e11e72
[ "MIT" ]
16
2015-09-23T06:37:43.000Z
2020-04-10T15:40:08.000Z
Source/Parser/CursorType.cpp
yangzhengxing/CPP-Reflection
43ec755b7a5c62e3252c174815c2e44727e11e72
[ "MIT" ]
88
2015-09-21T15:12:32.000Z
2021-11-30T14:07:34.000Z
/* ---------------------------------------------------------------------------- ** Copyright (c) 2016 Austin Brunkhorst, All Rights Reserved. ** ** CursorType.cpp ** --------------------------------------------------------------------------*/ #include "Precompiled.h" #include "CursorType.h" CursorType::CursorType(co...
21.148148
79
0.636602
JoinCAD
93fd62c86da1ff1f472c95f051e3b1cad67644f3
6,760
cpp
C++
hookflash-core/core/hookflash/stack/message/cpp/stack_message_PeerToFinderSessionCreateRequest.cpp
ilin-in/OP
bf3e87d90008e2a4106ee70360fbe15b0d694e77
[ "Unlicense" ]
1
2020-02-19T09:55:55.000Z
2020-02-19T09:55:55.000Z
hookflash-core/core/hookflash/stack/message/cpp/stack_message_PeerToFinderSessionCreateRequest.cpp
ilin-in/OP
bf3e87d90008e2a4106ee70360fbe15b0d694e77
[ "Unlicense" ]
null
null
null
hookflash-core/core/hookflash/stack/message/cpp/stack_message_PeerToFinderSessionCreateRequest.cpp
ilin-in/OP
bf3e87d90008e2a4106ee70360fbe15b0d694e77
[ "Unlicense" ]
null
null
null
/* Copyright (c) 2012, SMB Phone Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the ...
35.025907
108
0.648669
ilin-in
93fe47ce8471d35d96cef8d98a26a89b7ffeee5d
6,890
hpp
C++
Tools/RegistersGenerator/Msp432P401Y/fpbregisters.hpp
snorkysnark/CortexLib
0db035332ebdfbebf21ca36e5e04b78a5a908a49
[ "MIT" ]
22
2019-09-07T22:38:01.000Z
2022-01-31T21:35:55.000Z
Tools/RegistersGenerator/Msp432P401Y/fpbregisters.hpp
snorkysnark/CortexLib
0db035332ebdfbebf21ca36e5e04b78a5a908a49
[ "MIT" ]
null
null
null
Tools/RegistersGenerator/Msp432P401Y/fpbregisters.hpp
snorkysnark/CortexLib
0db035332ebdfbebf21ca36e5e04b78a5a908a49
[ "MIT" ]
9
2019-09-22T11:26:24.000Z
2022-03-21T10:53:15.000Z
/******************************************************************************* * Filename : fpbregisters.hpp * * Details : FPB. This header file is auto-generated for MSP432P401Y * device. * * *******************************************************************************/ #if !defined(FPB...
45.03268
103
0.720755
snorkysnark
9e0309e7691fa4ba3ab01037fcc3bab477210650
2,110
cpp
C++
Tests/UnitTests/MathTests/QuantizedOperationsTests.cpp
shyamalschandra/CNTK
0e7a6cd4cc174eab28eaf2ffc660c6380b9e4e2d
[ "MIT" ]
17,702
2016-01-25T14:03:01.000Z
2019-05-06T09:23:41.000Z
Tests/UnitTests/MathTests/QuantizedOperationsTests.cpp
shyamalschandra/CNTK
0e7a6cd4cc174eab28eaf2ffc660c6380b9e4e2d
[ "MIT" ]
3,489
2016-01-25T13:32:09.000Z
2019-05-03T11:29:15.000Z
Tests/UnitTests/MathTests/QuantizedOperationsTests.cpp
shyamalschandra/CNTK
0e7a6cd4cc174eab28eaf2ffc660c6380b9e4e2d
[ "MIT" ]
5,180
2016-01-25T14:02:12.000Z
2019-05-06T04:24:28.000Z
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE.md file in the project root for full license information. // #include "stdafx.h" #include "../../../Source/Math/QuantizedOperations.h" #include "../../../Source/Math/Helpers.h" using namespace Microsoft::MSR::CNTK; names...
37.678571
162
0.633649
shyamalschandra
9e04e6a1bc1c0c4ccca074bc22c05654112324e0
1,286
cpp
C++
SDK/ARKSurvivalEvolved_ProjPoop_functions.cpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_ProjPoop_functions.cpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_ProjPoop_functions.cpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
3
2020-07-22T17:42:07.000Z
2021-06-19T17:16:13.000Z
// ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_ProjPoop_parameters.hpp" namespace sdk { //--------------------------------------------------------------------------- //Functions //-------------------------------------------------------------------------...
22.561404
107
0.657076
2bite
9e0524f984f1483e6b3d372a6d1c3482909abd7d
6,103
cpp
C++
test/AdminTest.cpp
avilcheslopez/geopm
35ad0af3f17f42baa009c97ed45eca24333daf33
[ "MIT", "BSD-3-Clause" ]
null
null
null
test/AdminTest.cpp
avilcheslopez/geopm
35ad0af3f17f42baa009c97ed45eca24333daf33
[ "MIT", "BSD-3-Clause" ]
null
null
null
test/AdminTest.cpp
avilcheslopez/geopm
35ad0af3f17f42baa009c97ed45eca24333daf33
[ "MIT", "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2015 - 2022, Intel Corporation * SPDX-License-Identifier: BSD-3-Clause */ #include "config.h" #include <memory> #include <fstream> #include "gtest/gtest.h" #include "gmock/gmock.h" #include "geopm_sched.h" #include "geopm_test.hpp" #include "Admin.hpp" #include "geopm/Helper.hpp" using geopm::A...
31.458763
95
0.628216
avilcheslopez
9e059be9da183e39b04f834641680fe3aadb2c67
1,672
cc
C++
application/go_server.cc
ZenLiuCN/zcef
dfa128963c05ec9e222c6da1119f96440b462a6c
[ "MIT" ]
1
2019-01-23T11:16:49.000Z
2019-01-23T11:16:49.000Z
application/go_server.cc
ZenLiuCN/zcef
dfa128963c05ec9e222c6da1119f96440b462a6c
[ "MIT" ]
null
null
null
application/go_server.cc
ZenLiuCN/zcef
dfa128963c05ec9e222c6da1119f96440b462a6c
[ "MIT" ]
2
2018-10-29T16:56:56.000Z
2020-01-08T14:54:24.000Z
// // Created by Zen Liu on 2018-10-6. // #include "go_server.h" #include "goserver.h" bool GoServer::start(std::string port) { return static_cast<bool>(goStartServer(const_cast<char *>(port.c_str()))); } int GoServer::enableHttpServer(std::string dir) { return int(goUseHttpServer(const_cast<char *>(dir.c_s...
23.885714
100
0.686005
ZenLiuCN
9e065de0207a060e30327b0b626810089886fc23
6,406
hpp
C++
third/include/atlas/transaction/detail/transaction_manager.hpp
galaxyeye/pioneer
cfc3aa3c4917b19000753ea3144bded79380d289
[ "Apache-2.0" ]
4
2017-05-12T07:37:17.000Z
2019-11-14T10:52:28.000Z
third/include/atlas/transaction/detail/transaction_manager.hpp
galaxyeye/pioneer
cfc3aa3c4917b19000753ea3144bded79380d289
[ "Apache-2.0" ]
null
null
null
third/include/atlas/transaction/detail/transaction_manager.hpp
galaxyeye/pioneer
cfc3aa3c4917b19000753ea3144bded79380d289
[ "Apache-2.0" ]
7
2017-06-21T03:35:51.000Z
2020-10-14T04:58:26.000Z
// Copyright Stefan Strasser 2010. // Copyright Vicente J. Botet Escriba 2010. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef BOOST_TRANSACT_DETAIL_TAG_RESOURCE_PAIR_HPP #defin...
31.870647
120
0.598814
galaxyeye
9e0b524886f94ebbe8d7a7279ac25eab9f5f4ce3
535
cpp
C++
src/bench/bench_arc_param.cpp
prateekma/FalconLibraryC-
11b45e96f0735fa5c668386ef0da6ebf80011998
[ "MIT" ]
2
2019-06-28T08:00:15.000Z
2019-06-29T02:42:51.000Z
src/bench/bench_arc_param.cpp
prateekma/FalconLibraryC-
11b45e96f0735fa5c668386ef0da6ebf80011998
[ "MIT" ]
null
null
null
src/bench/bench_arc_param.cpp
prateekma/FalconLibraryC-
11b45e96f0735fa5c668386ef0da6ebf80011998
[ "MIT" ]
1
2019-08-04T14:02:33.000Z
2019-08-04T14:02:33.000Z
#include <FalconLibrary.h> #include <benchmark/benchmark.h> static void BM_ArcParam(benchmark::State& state) { const fl::Pose2d initial{0.0, 0.0, fl::Rotation2d::FromDegrees(0.0)}; const fl::Pose2d final{10.0, 10.0, fl::Rotation2d::FromDegrees(45.0)}; const auto spline = std::make_shared<fl::ParametricQuin...
38.214286
97
0.71215
prateekma
9e19d40f52f3c9036579b96e536cb9f6b674affe
6,670
cc
C++
src/circuit/circuit_data.cc
hyraxZK/libpws
cc1b7dfdafb3d01b025cdb72ed83379d205a0147
[ "Apache-2.0" ]
null
null
null
src/circuit/circuit_data.cc
hyraxZK/libpws
cc1b7dfdafb3d01b025cdb72ed83379d205a0147
[ "Apache-2.0" ]
null
null
null
src/circuit/circuit_data.cc
hyraxZK/libpws
cc1b7dfdafb3d01b025cdb72ed83379d205a0147
[ "Apache-2.0" ]
1
2020-01-16T07:49:03.000Z
2020-01-16T07:49:03.000Z
#include <cassert> #include <sstream> #include <stdint.h> #include <iostream> #include <cerrno> #include <stdexcept> #include "circuit_data.hh" #include "debug_utils.hh" #include "mpnops.hh" #include "prng.hh" #include "utility.hh" using namespace std; static Prng &prng = Prng::global; #define RETURN_IF_FALSE(file,...
20.778816
101
0.651724
hyraxZK
9e1a6c046f4714f9791f3fe5c29602670e14269b
2,596
cpp
C++
engine/graphics/graphics_bootstrapper.cpp
JellevanCampen/pugvania
1f964f70b05565adea6c5c55c2c2bae5cac52d53
[ "MIT" ]
null
null
null
engine/graphics/graphics_bootstrapper.cpp
JellevanCampen/pugvania
1f964f70b05565adea6c5c55c2c2bae5cac52d53
[ "MIT" ]
24
2016-09-26T14:54:31.000Z
2017-02-16T14:01:58.000Z
engine/graphics/graphics_bootstrapper.cpp
JellevanCampen/pugvania
1f964f70b05565adea6c5c55c2c2bae5cac52d53
[ "MIT" ]
null
null
null
#include "graphics_bootstrapper.h" #include "engine.h" #include "graphics_glfw.h" namespace engine { void GraphicsBootstrapper::CameraMove(Point2Df position) { g_log("Calling bootstrapper function (graphics subsystem call before the graphics subsystem was bootstrapped): " __FUNCTION__, log::kError); } void Graphi...
39.938462
194
0.780046
JellevanCampen
9e1b8894754b1029452c597246b59617e6adb8fa
71
cpp
C++
src/streams/SentenceStringOutputStream.cpp
alesapin/rutok
808a88dd80f1cf03bbf459bec71b8655825b5391
[ "MIT" ]
null
null
null
src/streams/SentenceStringOutputStream.cpp
alesapin/rutok
808a88dd80f1cf03bbf459bec71b8655825b5391
[ "MIT" ]
8
2019-08-17T11:50:37.000Z
2019-08-17T20:28:31.000Z
src/streams/SentenceStringOutputStream.cpp
alesapin/rutok
808a88dd80f1cf03bbf459bec71b8655825b5391
[ "MIT" ]
null
null
null
#include <streams/SentenceStringOutputStream.h> namespace tokenize { }
14.2
47
0.816901
alesapin
9e23bf60256db25ca0e0d7bcff0e5d946ea581d3
2,262
cpp
C++
using-cpp-standard-template-libraries-master/Chapter 10/Ex10_02.cpp
ai-chen2050/book-code
74676efa50ef9e8a4a40b97978d9d42f18070102
[ "MIT" ]
null
null
null
using-cpp-standard-template-libraries-master/Chapter 10/Ex10_02.cpp
ai-chen2050/book-code
74676efa50ef9e8a4a40b97978d9d42f18070102
[ "MIT" ]
null
null
null
using-cpp-standard-template-libraries-master/Chapter 10/Ex10_02.cpp
ai-chen2050/book-code
74676efa50ef9e8a4a40b97978d9d42f18070102
[ "MIT" ]
null
null
null
// Ex10_02.cpp // Dropping bricks safely from a tall building using valarray objects #include <numeric> // For iota() #include <iostream> // For standard streams #include <iomanip> // For stream manipulators...
46.163265
98
0.549514
ai-chen2050
9e264e9ef33fb9bdd550611dcf4d365ca941ebe3
447
cpp
C++
Courses/Sams_Teach_Yourself_C++_in_One_Hour_a_Day/Chap_10/Lesson 10.8 A class CarRelated to class Motorvia private Inheritance.cpp
mccrudd3n/practise
26a65c0515c9bea7583bcb8f4c0022659b48dcf5
[ "Unlicense" ]
null
null
null
Courses/Sams_Teach_Yourself_C++_in_One_Hour_a_Day/Chap_10/Lesson 10.8 A class CarRelated to class Motorvia private Inheritance.cpp
mccrudd3n/practise
26a65c0515c9bea7583bcb8f4c0022659b48dcf5
[ "Unlicense" ]
null
null
null
Courses/Sams_Teach_Yourself_C++_in_One_Hour_a_Day/Chap_10/Lesson 10.8 A class CarRelated to class Motorvia private Inheritance.cpp
mccrudd3n/practise
26a65c0515c9bea7583bcb8f4c0022659b48dcf5
[ "Unlicense" ]
null
null
null
#include <iostream> using namespace std; class Motor { public: void SwitchIgnition() { cout << "Ignition On" << endl; } void PumpFuel() { cout << "Fuel in Cylinders" << endl; } void FireCylinders() { cout << "Boom" << endl; } }; class Car: private Motor { public: void Move() { Sw...
11.763158
40
0.577181
mccrudd3n
9e278f92c4dfe47b1b62a04badfa953a67cb3cb1
8,336
cpp
C++
SFMLTemplate/Model.cpp
Altelus/Monkey-Racers
421529bf4084f53485750041ccde6f6b96f6a861
[ "Xnet", "X11" ]
2
2015-10-27T08:36:36.000Z
2020-03-28T12:59:24.000Z
SFMLTemplate/Model.cpp
Altelus/Monkey-Racers
421529bf4084f53485750041ccde6f6b96f6a861
[ "Xnet", "X11" ]
null
null
null
SFMLTemplate/Model.cpp
Altelus/Monkey-Racers
421529bf4084f53485750041ccde6f6b96f6a861
[ "Xnet", "X11" ]
null
null
null
#include "Engine.h" #include <exception> Model::Model() { isLoaded = false; scale = Vec3 (1,1,1); originOffsetPos = Vec3 (0,0,0); forward = Vec3 (0,0,-1); strafe = Vec3 (1,0,0); up = Vec3 (0,1,0); azemuth = elevation = 0; vbo = new cbmini::cbfw::VertexBuffer; SetModelType(MODEL_TYPE_VTN); } Model::Model...
22.408602
118
0.65547
Altelus
9e27eff4653398d4b0f1275a816157112be950ae
2,540
hpp
C++
sm_value_store/include/sm/value_store/VerboseValueStore.hpp
christian-rauch/schweizer_messer
9b8f99f4387e7a8f4105e54b27f22ecee5ea0cd0
[ "BSD-3-Clause" ]
35
2017-12-07T15:13:02.000Z
2021-11-07T19:51:05.000Z
sm_value_store/include/sm/value_store/VerboseValueStore.hpp
christian-rauch/schweizer_messer
9b8f99f4387e7a8f4105e54b27f22ecee5ea0cd0
[ "BSD-3-Clause" ]
48
2015-01-01T21:18:18.000Z
2017-07-30T08:43:05.000Z
sm_value_store/include/sm/value_store/VerboseValueStore.hpp
christian-rauch/schweizer_messer
9b8f99f4387e7a8f4105e54b27f22ecee5ea0cd0
[ "BSD-3-Clause" ]
13
2015-02-03T15:54:40.000Z
2017-10-08T17:10:43.000Z
#ifndef VALUE_STORE_VERBOSEVALUESTORE_HPP_ #define VALUE_STORE_VERBOSEVALUESTORE_HPP_ #include <memory> #include <functional> #include "ValueStore.hpp" namespace sm { namespace value_store { namespace internal { template <typename Base> class VerboseValueStoreT : public Base { public: VerboseValueStoreT(std::shar...
39.076923
145
0.761811
christian-rauch
9e282e044ec6d27e32aa5dcb3ae7b62b9206c2cd
518
cpp
C++
Invocacion.cpp
mikeandino/Lab5-P3-MichaelAndino
142823d50127e926f06cf9bdfa8e0d02c35611b8
[ "MIT" ]
null
null
null
Invocacion.cpp
mikeandino/Lab5-P3-MichaelAndino
142823d50127e926f06cf9bdfa8e0d02c35611b8
[ "MIT" ]
null
null
null
Invocacion.cpp
mikeandino/Lab5-P3-MichaelAndino
142823d50127e926f06cf9bdfa8e0d02c35611b8
[ "MIT" ]
null
null
null
#include "Invocacion.h" Invocacion :: Invocacion(string pNombre,string pNivel,string pNombrem,string pEspecie,string pHabilidad, string pTipo) : Poder(pNombre,pNivel){ nombrem=pNombrem; especie=pEspecie; } string Invocacion::getNombrem(){ return nombrem; } string Invocacion::getEspecie(){ return especie...
16.1875
143
0.722008
mikeandino
9e28b647d6be0108ec5cf3b748952e7cba7ccf33
1,184
cpp
C++
src/PeerPluginStatus.cpp
JoystreamClassic/joystream-node
2450382bb937abdd959b460791c25f2d8f127168
[ "MIT" ]
null
null
null
src/PeerPluginStatus.cpp
JoystreamClassic/joystream-node
2450382bb937abdd959b460791c25f2d8f127168
[ "MIT" ]
9
2017-11-14T06:05:50.000Z
2018-07-08T18:21:17.000Z
src/PeerPluginStatus.cpp
JoystreamClassic/joystream-node
2450382bb937abdd959b460791c25f2d8f127168
[ "MIT" ]
4
2017-11-14T06:04:17.000Z
2018-08-24T07:39:00.000Z
/** * Copyright (C) JoyStream - All Rights Reserved * Unauthorized copying of this file, via any medium is strictly prohibited * Proprietary and confidential * Written by Bedeho Mender <bedeho.mender@gmail.com>, February 3 2017 */ #include "PeerPluginStatus.hpp" #include "libtorrent-node/utils.hpp" #include "libt...
28.190476
105
0.743243
JoystreamClassic
9e2a2ebc48b598f7e024e3c514d81206030298da
1,046
cpp
C++
Rozi/UchitelskiSustav/main.cpp
slaviborisov/shu.bg
1ed9a65fff1512d18a3e4cde90030abb450f0d9f
[ "Apache-2.0" ]
null
null
null
Rozi/UchitelskiSustav/main.cpp
slaviborisov/shu.bg
1ed9a65fff1512d18a3e4cde90030abb450f0d9f
[ "Apache-2.0" ]
null
null
null
Rozi/UchitelskiSustav/main.cpp
slaviborisov/shu.bg
1ed9a65fff1512d18a3e4cde90030abb450f0d9f
[ "Apache-2.0" ]
null
null
null
#include "uchitelski-sustav.h" #include <iostream> using namespace std; int main() { system("chcp 1251"); CUSustav uchSustav; int c; do { cout <<endl; cout << "0. Изход от програмата"<<endl; cout << "1. Добавяне на нов учител"<<endl; cout << "2. Покажи учител"<<endl; cout << "...
28.27027
85
0.607075
slaviborisov
9e2b0740604cd956f5aeffc304c43e1b9103fe20
18,125
cpp
C++
core/host_api/impl/host_api_impl.cpp
soramitsu/kagome
d66755924477f2818fcae30ba2e65681fce34264
[ "Apache-2.0" ]
110
2019-04-03T13:39:39.000Z
2022-03-09T11:54:42.000Z
core/host_api/impl/host_api_impl.cpp
soramitsu/kagome
d66755924477f2818fcae30ba2e65681fce34264
[ "Apache-2.0" ]
890
2019-03-22T21:33:30.000Z
2022-03-31T14:31:22.000Z
core/host_api/impl/host_api_impl.cpp
soramitsu/kagome
d66755924477f2818fcae30ba2e65681fce34264
[ "Apache-2.0" ]
27
2019-06-25T06:21:47.000Z
2021-11-01T14:12:10.000Z
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #include "host_api/impl/host_api_impl.hpp" #include "crypto/bip39/impl/bip39_provider_impl.hpp" #include "crypto/ed25519/ed25519_provider_impl.hpp" #include "crypto/hasher/hasher_impl.hpp" #include "crypto/pbkdf2/impl...
37.603734
80
0.749297
soramitsu
9e2f7022a5c361fccb22e9da1eef03fc9bd9f980
570,872
cpp
C++
src/server/game/Entities/Unit/Unit.cpp
Zone-Emu/ZoneEmuCataclysm
6277efff6cb5adfe8b7a718bf376e81609fa9a6c
[ "OpenSSL" ]
1
2019-03-23T19:32:57.000Z
2019-03-23T19:32:57.000Z
src/server/game/Entities/Unit/Unit.cpp
Zone-Emu/ZoneEmuCataclysm
6277efff6cb5adfe8b7a718bf376e81609fa9a6c
[ "OpenSSL" ]
null
null
null
src/server/game/Entities/Unit/Unit.cpp
Zone-Emu/ZoneEmuCataclysm
6277efff6cb5adfe8b7a718bf376e81609fa9a6c
[ "OpenSSL" ]
null
null
null
/* * Copyright (C) 2005 - 2012 MaNGOS <http://www.getmangos.com/> * * Copyright (C) 2008 - 2012 Trinity <http://www.trinitycore.org/> * * Copyright (C) 2010 - 2012 ArkCORE <http://www.arkania.net/> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General P...
29.441568
236
0.67334
Zone-Emu
9e34d01349b16f9e2820ca49771f3456afea1baa
4,632
cpp
C++
shirabeengine/shirabeengine/modules/core/code/source/serialization/jsonobjectserializer.cpp
BoneCrasher/ShirabeEngine
39b3aa2c5173084d59b96b7f60c15207bff0ad04
[ "MIT" ]
5
2019-12-02T12:28:57.000Z
2021-04-07T21:21:13.000Z
shirabeengine/shirabeengine/modules/core/code/source/serialization/jsonobjectserializer.cpp
BoneCrasher/ShirabeEngine
39b3aa2c5173084d59b96b7f60c15207bff0ad04
[ "MIT" ]
null
null
null
shirabeengine/shirabeengine/modules/core/code/source/serialization/jsonobjectserializer.cpp
BoneCrasher/ShirabeEngine
39b3aa2c5173084d59b96b7f60c15207bff0ad04
[ "MIT" ]
1
2020-01-09T14:25:42.000Z
2020-01-09T14:25:42.000Z
#include <iostream> #include "SEPUtil/Documents/JSON.h" #include "SEPCore/ObjectModel/SR_SEPCore_Object.h" #include "SEPCore/ObjectModel/SR_SEPCore_Property.h" #include "SEPCore/ObjectModel/Serialization/SR_SEPCore_JSONObjectSerializer.h" namespace sr { namespace serialization { using namespace sr::documents; ...
37.658537
169
0.470207
BoneCrasher
9e371bc0d64da0306dd467deaeadf69b31eff9fa
8,200
cc
C++
extensions/gen/mojo/public/interfaces/bindings/tests/new_endpoint_types.test-mojom-shared.cc
blockspacer/chromium_base_conan
b4749433cf34f54d2edff52e2f0465fec8cb9bad
[ "Apache-2.0", "BSD-3-Clause" ]
6
2020-12-22T05:48:31.000Z
2022-02-08T19:49:49.000Z
extensions/gen/mojo/public/interfaces/bindings/tests/new_endpoint_types.test-mojom-shared.cc
blockspacer/chromium_base_conan
b4749433cf34f54d2edff52e2f0465fec8cb9bad
[ "Apache-2.0", "BSD-3-Clause" ]
4
2020-05-22T18:36:43.000Z
2021-05-19T10:20:23.000Z
extensions/gen/mojo/public/interfaces/bindings/tests/new_endpoint_types.test-mojom-shared.cc
blockspacer/chromium_base_conan
b4749433cf34f54d2edff52e2f0465fec8cb9bad
[ "Apache-2.0", "BSD-3-Clause" ]
2
2019-12-06T11:48:16.000Z
2021-09-16T04:44:47.000Z
// mojo/public/interfaces/bindings/tests/new_endpoint_types.test-mojom-shared.cc is auto generated by mojom_bindings_generator.py, do not edit // Copyright 2016 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 "...
31.417625
142
0.721585
blockspacer
9e3dee3c83418b383fa2f716ac4e8937f64ca1ca
720
cpp
C++
Rotor.cpp
FreddieLindsey/ic_year_2_cpp_enigma
d7efebed5a135e46c09e18873f2ba2630c2e1701
[ "MIT" ]
null
null
null
Rotor.cpp
FreddieLindsey/ic_year_2_cpp_enigma
d7efebed5a135e46c09e18873f2ba2630c2e1701
[ "MIT" ]
null
null
null
Rotor.cpp
FreddieLindsey/ic_year_2_cpp_enigma
d7efebed5a135e46c09e18873f2ba2630c2e1701
[ "MIT" ]
null
null
null
#include "Rotor.hpp" Rotor::Rotor(string file_content) : map_encode(ALPHABET_SIZE), map_decode(ALPHABET_SIZE), offset(0) { // Initialise istringstream content(file_content); string num; // Set map to input file given for (int i = 0; i < ALPHABET_SIZE; i++) { getline(content, num, INPUT_DELIM); i...
26.666667
78
0.665278
FreddieLindsey
9e408d4df0fd4111a458ded0a89c558489b9122e
334
cpp
C++
Orbitersdk/stackEditor/OrbiterDockingPort.cpp
meson800/orbiter-stackEditor
01955f87ad6116ed07279e2bfab9636514a418f1
[ "MIT" ]
null
null
null
Orbitersdk/stackEditor/OrbiterDockingPort.cpp
meson800/orbiter-stackEditor
01955f87ad6116ed07279e2bfab9636514a418f1
[ "MIT" ]
2
2015-05-28T14:46:19.000Z
2015-07-20T23:15:04.000Z
Orbitersdk/stackEditor/OrbiterDockingPort.cpp
meson800/orbiter-stackEditor
01955f87ad6116ed07279e2bfab9636514a418f1
[ "MIT" ]
null
null
null
//Copyright (c) 2015 Christopher Johnstone(meson800) and Benedict Haefeli(jedidia) //The MIT License - See ../../LICENSE for more info #include "OrbiterDockingPort.h" DockingPortStatus OrbiterDockingPort::returnStatus() { DockingPortStatus output; output.docked = docked; output.dockedTo = dockedTo; ret...
27.833333
82
0.745509
meson800
9e42884e0698160bbc26ccae14a3370f02f46f7c
10,188
cpp
C++
src/Boring32/src/WinHttp/AsyncWebSocket.StatusCallback.cpp
yottaawesome/boring32
ecf843c200b133a4fad711dcf52419c0c88af49c
[ "MIT" ]
3
2021-11-25T13:44:57.000Z
2022-02-22T05:50:34.000Z
src/Boring32/src/WinHttp/AsyncWebSocket.StatusCallback.cpp
yottaawesome/boring32
ecf843c200b133a4fad711dcf52419c0c88af49c
[ "MIT" ]
3
2021-10-13T10:58:30.000Z
2021-12-21T05:46:41.000Z
src/Boring32/src/WinHttp/AsyncWebSocket.StatusCallback.cpp
yottaawesome/boring32
ecf843c200b133a4fad711dcf52419c0c88af49c
[ "MIT" ]
null
null
null
#include "pch.hpp" #include <future> #include <algorithm> #include "include/Strings/Strings.hpp" #include "include/Error/Error.hpp" #include "include/WinHttp/WebSockets/AsyncWebSocket.hpp" namespace Boring32::WinHttp::WebSockets { void AsyncWebSocket::StatusCallback( HINTERNET hInternet, DWORD_PTR dwCo...
26.881266
114
0.647723
yottaawesome
9e47ccaf7a7e2f41444b1879b89d0d60f96a3852
2,037
cpp
C++
Pinball_Project/ModuleWindow.cpp
rastabrandy02/Pinball_Project_Physics_2
60de6903882e29f7fb919ebc4eb0f92130a15afb
[ "MIT" ]
null
null
null
Pinball_Project/ModuleWindow.cpp
rastabrandy02/Pinball_Project_Physics_2
60de6903882e29f7fb919ebc4eb0f92130a15afb
[ "MIT" ]
null
null
null
Pinball_Project/ModuleWindow.cpp
rastabrandy02/Pinball_Project_Physics_2
60de6903882e29f7fb919ebc4eb0f92130a15afb
[ "MIT" ]
1
2022-02-09T19:46:39.000Z
2022-02-09T19:46:39.000Z
#include "Globals.h" #include "Application.h" #include "ModuleWindow.h" ModuleWindow::ModuleWindow(Application* app, bool start_enabled) : Module(app, start_enabled) { window = NULL; screen_surface = NULL; } // Destructor ModuleWindow::~ModuleWindow() { } // Called before render is available bool ModuleWindow::In...
19.037383
107
0.693667
rastabrandy02
eafc3169eba604acdb2d92cceed49073fc30be40
6,958
cpp
C++
packages/+GT/GenericTargetCode/source/GenericTarget/SignalObjectDoubles.cpp
RobertDamerius/GenericTarget
6b26793c2d580797ac8104ca5368987cbb570ef8
[ "MIT" ]
1
2021-02-02T09:01:24.000Z
2021-02-02T09:01:24.000Z
packages/+GT/GenericTargetCode/source/GenericTarget/SignalObjectDoubles.cpp
RobertDamerius/GenericTarget
6b26793c2d580797ac8104ca5368987cbb570ef8
[ "MIT" ]
null
null
null
packages/+GT/GenericTargetCode/source/GenericTarget/SignalObjectDoubles.cpp
RobertDamerius/GenericTarget
6b26793c2d580797ac8104ca5368987cbb570ef8
[ "MIT" ]
2
2021-02-02T09:01:45.000Z
2021-10-02T13:08:16.000Z
#include <SignalObjectDoubles.hpp> #include <Console.hpp> #include <SimulinkInterface.hpp> #include <SignalManager.hpp> #include <Common.hpp> SignalObjectDoubles::SignalObjectDoubles(){ this->numSamplesPerFile = 0; this->numSignals = 0; this->labels = ""; this->started = false; this->filename = ""...
34.445545
217
0.617275
RobertDamerius
eafd77087c1c81b106f4c7fcc8b6ced67bfdbc1d
16,496
cpp
C++
src/zimg/depth/dither_avx2.cpp
dubhater/zimg
59ca0556789656a439f32b4cdfc8e26db32b8252
[ "WTFPL" ]
null
null
null
src/zimg/depth/dither_avx2.cpp
dubhater/zimg
59ca0556789656a439f32b4cdfc8e26db32b8252
[ "WTFPL" ]
null
null
null
src/zimg/depth/dither_avx2.cpp
dubhater/zimg
59ca0556789656a439f32b4cdfc8e26db32b8252
[ "WTFPL" ]
null
null
null
#ifdef ZIMG_X86 #include <cstdint> #include <immintrin.h> #ifdef __clang__ #include <x86intrin.h> #endif #include "common/align.h" #include "common/ccdep.h" #define HAVE_CPU_SSE2 #define HAVE_CPU_AVX2 #include "common/x86util.h" #undef HAVE_CPU_SSE2 #undef HAVE_CPU_AVX2 namespace zimg { namespace depth { namesp...
32.093385
137
0.701443
dubhater
eafe2510b498e25c1d76448ee34dc2b1e217e409
601
cpp
C++
place_recognition/generate_signatures/src/GIST/src/main.cpp
IRVLab/so_dso_place_recognition
c330ee459bf3140fe2c117f0a3ad3535f8cad2ce
[ "Unlicense" ]
38
2020-07-23T04:33:41.000Z
2022-03-07T03:41:38.000Z
place_recognition/generate_signatures/src/GIST/src/main.cpp
IRVLab/so_dso_place_recognition
c330ee459bf3140fe2c117f0a3ad3535f8cad2ce
[ "Unlicense" ]
null
null
null
place_recognition/generate_signatures/src/GIST/src/main.cpp
IRVLab/so_dso_place_recognition
c330ee459bf3140fe2c117f0a3ad3535f8cad2ce
[ "Unlicense" ]
10
2020-10-19T01:00:43.000Z
2022-02-21T03:57:57.000Z
#include <iomanip> #include <iostream> #include <opencv2/opencv.hpp> #include "gist.h" #include "standalone_image.h" using namespace std; using namespace cv; using namespace cls; const GISTParams DEFAULT_PARAMS{true, 32, 32, 4, 3, {8, 8, 4}}; int main(int argc, char *argv[]) { Mat src = imread(argv[1]); if (src...
19.387097
63
0.635607
IRVLab
d80066e417bd53da3def109bc4936bb747115a6c
60
cpp
C++
LoveLiveWallpaper/src/IPointerUp.cpp
Juvwxyz/LoveLiveWallpaper
a0eeac941b5ccd53af538192cb92b7df049839c4
[ "MIT" ]
2
2020-05-09T00:13:06.000Z
2020-05-25T05:49:40.000Z
LoveLiveWallpaper/src/IPointerUp.cpp
Juvwxyz/LoveLiveWallpaper
a0eeac941b5ccd53af538192cb92b7df049839c4
[ "MIT" ]
null
null
null
LoveLiveWallpaper/src/IPointerUp.cpp
Juvwxyz/LoveLiveWallpaper
a0eeac941b5ccd53af538192cb92b7df049839c4
[ "MIT" ]
1
2020-05-25T05:49:44.000Z
2020-05-25T05:49:44.000Z
#include "IPointerUp.h" LLWP::IPointerUp::IPointerUp() { }
10
30
0.7
Juvwxyz
d800e268757cf43faee658356e2ab81a77a362db
7,726
cxx
C++
CORRFW/AliCFPair.cxx
maroozm/AliPhysics
22ec256928cfdf8f800e05bfc1a6e124d90b6eaf
[ "BSD-3-Clause" ]
114
2017-03-03T09:12:23.000Z
2022-03-03T20:29:42.000Z
CORRFW/AliCFPair.cxx
maroozm/AliPhysics
22ec256928cfdf8f800e05bfc1a6e124d90b6eaf
[ "BSD-3-Clause" ]
19,637
2017-01-16T12:34:41.000Z
2022-03-31T22:02:40.000Z
CORRFW/AliCFPair.cxx
maroozm/AliPhysics
22ec256928cfdf8f800e05bfc1a6e124d90b6eaf
[ "BSD-3-Clause" ]
1,021
2016-07-14T22:41:16.000Z
2022-03-31T05:15:51.000Z
/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Contributors ...
25.166124
89
0.582708
maroozm
d8010d8b2e5a912437b2d9292b01bfc1732a2f0f
3,502
hpp
C++
include/RED4ext/Scripting/Natives/Generated/AtmosphereAreaSettings.hpp
flibX0r/RED4ext.SDK
18d075ef7559e35d8b02dc2e00a03ccc7ff4d77b
[ "MIT" ]
42
2020-12-25T08:33:00.000Z
2022-03-22T14:47:07.000Z
include/RED4ext/Scripting/Natives/Generated/AtmosphereAreaSettings.hpp
flibX0r/RED4ext.SDK
18d075ef7559e35d8b02dc2e00a03ccc7ff4d77b
[ "MIT" ]
38
2020-12-28T22:36:06.000Z
2022-02-16T11:25:47.000Z
include/RED4ext/Scripting/Natives/Generated/AtmosphereAreaSettings.hpp
flibX0r/RED4ext.SDK
18d075ef7559e35d8b02dc2e00a03ccc7ff4d77b
[ "MIT" ]
20
2020-12-28T22:17:38.000Z
2022-03-22T17:19:01.000Z
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> #include <RED4ext/Common.hpp> #include <RED4ext/NativeTypes.hpp> #include <RED4ext/Scripting/Natives/Generated/HDRColor.hpp> #include <RED4ext/Scripting/Natives/Generated/IAreaSettings.hpp> namespace RED4ext { struct CBitmapTex...
39.348315
65
0.729298
flibX0r
d807cd0ff6bf9012a57b42dc97e65526bd31f6f3
1,053
cpp
C++
232ImplementQueueUsingStacks.cpp
yuyangh/LeetCode
5d81cbd975c0c1f2bbca0cb25cefe361a169e460
[ "MIT" ]
1
2020-10-11T08:10:53.000Z
2020-10-11T08:10:53.000Z
232ImplementQueueUsingStacks.cpp
yuyangh/LeetCode
5d81cbd975c0c1f2bbca0cb25cefe361a169e460
[ "MIT" ]
null
null
null
232ImplementQueueUsingStacks.cpp
yuyangh/LeetCode
5d81cbd975c0c1f2bbca0cb25cefe361a169e460
[ "MIT" ]
null
null
null
#include "LeetCodeLib.h" class MyQueue { public: /** Initialize your data structure here. */ stack<int> reverse, order; MyQueue() { } /** Push element x to the back of queue. */ void push(int x) { restoreReverseElements(); reverse.push(x); } /** Removes the element from in front of queue and return...
18.803571
76
0.617284
yuyangh
d807d13dac6afc0d3daf1edd4ea8b1ded5b83f7b
790
cpp
C++
17-database-xml/17-13/myxmlstream/main.cpp
Franklin-Qi/qtcreator-example
5d573f961c3255fbf740991996f935092cc62018
[ "MIT" ]
null
null
null
17-database-xml/17-13/myxmlstream/main.cpp
Franklin-Qi/qtcreator-example
5d573f961c3255fbf740991996f935092cc62018
[ "MIT" ]
null
null
null
17-database-xml/17-13/myxmlstream/main.cpp
Franklin-Qi/qtcreator-example
5d573f961c3255fbf740991996f935092cc62018
[ "MIT" ]
null
null
null
#include <QCoreApplication> #include <QFile> #include <QXmlStreamReader> #include <QXmlStreamWriter> #include <QDebug> int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); QFile file("../myxmlstream/my2.xml"); if (!file.open(QFile::WriteOnly | QFile::Text)) { qDebug(...
23.235294
56
0.620253
Franklin-Qi
d809305893b9a98d5d664f8379a5c24bb29c0a46
2,323
cc
C++
src/proto/core/entity-system/interface.cc
kcpikkt/proto
2d7458c2ce2f571303de040f660137dc0a1d33de
[ "MIT" ]
null
null
null
src/proto/core/entity-system/interface.cc
kcpikkt/proto
2d7458c2ce2f571303de040f660137dc0a1d33de
[ "MIT" ]
null
null
null
src/proto/core/entity-system/interface.cc
kcpikkt/proto
2d7458c2ce2f571303de040f660137dc0a1d33de
[ "MIT" ]
null
null
null
#include "proto/core/entity-system/interface.hh" namespace proto { // for doing things, that are usually done compile time, runtime // i.e. type erasure at its best struct _Runtime { template<size_t I> using CompAt = typename CompTList::template at_t<I>; // get template<t...
32.71831
89
0.530779
kcpikkt
d80da73ddb700e879f1359d3387ef87b329bd11e
1,275
cc
C++
TrkFitter/TrkDeadMaker.cc
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
TrkFitter/TrkDeadMaker.cc
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
TrkFitter/TrkDeadMaker.cc
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
//-------------------------------------------------------------------------- // File and Version Information: // $Id: TrkDeadMaker.cc 104 2010-01-15 12:13:14Z stroili $ // // Description: // // Environment: // Software developed for the BaBar Detector at the SLAC B-Factory. // // Authors: Steve Schaffner // /...
32.692308
76
0.370196
brownd1978
d810e3d06ba7e8c537f455c21dbe790b83752c4a
33
hh
C++
build/ARM/arch/registers.hh
magnuram/edelsten5
63de812a22142f07fa48c253636e5c96156d4da9
[ "BSD-3-Clause" ]
null
null
null
build/ARM/arch/registers.hh
magnuram/edelsten5
63de812a22142f07fa48c253636e5c96156d4da9
[ "BSD-3-Clause" ]
null
null
null
build/ARM/arch/registers.hh
magnuram/edelsten5
63de812a22142f07fa48c253636e5c96156d4da9
[ "BSD-3-Clause" ]
null
null
null
#include "arch/arm/registers.hh"
16.5
32
0.757576
magnuram
d811e05fd7042c828b95a833e7567ea334f31190
29,688
cpp
C++
Libraries/RobsJuceModules/rosic/legacy/AggressorOscSection.cpp
RobinSchmidt/RS-MET-Preliminary
6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe
[ "FTL" ]
34
2017-04-19T18:26:02.000Z
2022-02-15T17:47:26.000Z
Libraries/RobsJuceModules/rosic/legacy/AggressorOscSection.cpp
RobinSchmidt/RS-MET-Preliminary
6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe
[ "FTL" ]
307
2017-05-04T21:45:01.000Z
2022-02-03T00:59:01.000Z
Libraries/RobsJuceModules/rosic/legacy/AggressorOscSection.cpp
RobinSchmidt/RS-MET-Preliminary
6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe
[ "FTL" ]
4
2017-09-05T17:04:31.000Z
2021-12-15T21:24:28.000Z
#include "AggressorOscSection.h" //construction/destruction AggressorOscSection::AggressorOscSection() { //init member variables: slideTime = 0.5; //init slieTime to 0.5 seconds sampleRate = 44100; slideSamples = slideTime*sampleRate; slideSampCount = 0; syncMode = 0; modulationMode = 0; cur...
27.849906
110
0.737301
RobinSchmidt
d81322e0d678c8f93fe9cd39d6121143c4e8b8ba
2,209
cpp
C++
code/RJObject/ConditionalPriors/BasicCircular.cpp
tripathi/DNestD3SB
400eb9ce73e789cdb3c6f791ef147c575ed3b2ea
[ "MIT" ]
null
null
null
code/RJObject/ConditionalPriors/BasicCircular.cpp
tripathi/DNestD3SB
400eb9ce73e789cdb3c6f791ef147c575ed3b2ea
[ "MIT" ]
null
null
null
code/RJObject/ConditionalPriors/BasicCircular.cpp
tripathi/DNestD3SB
400eb9ce73e789cdb3c6f791ef147c575ed3b2ea
[ "MIT" ]
null
null
null
#include "BasicCircular.h" #include "../../Utils.h" #include <cmath> using namespace DNest4; BasicCircular::BasicCircular(double x_min, double x_max, double y_min, double y_max, double mu_min, double mu_max) :x_min(x_min) ,x_max(x_max) ,y_min(y_min) ,y_max(y_max) ,size(sqrt((x_max - x_min)*(y_max - y_min)))...
21.656863
73
0.601177
tripathi
d8161240d9a11919311d33cf5afd9081d4138df2
3,710
hpp
C++
modules/core/gallery/include/nt2/gallery/functions/gallery_impl/invhilb.hpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
34
2017-05-19T18:10:17.000Z
2022-01-04T02:18:13.000Z
modules/core/gallery/include/nt2/gallery/functions/gallery_impl/invhilb.hpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
null
null
null
modules/core/gallery/include/nt2/gallery/functions/gallery_impl/invhilb.hpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
7
2017-12-02T12:59:17.000Z
2021-07-31T12:46:14.000Z
//============================================================================== // Copyright 2003 - 2012 LASMEA UMR 6602 CNRS/Univ. Clermont II // Copyright 2009 - 2012 LRI UMR 8623 CNRS/Univ Paris Sud XI // // Distributed under the Boost Software License, Version 1.0. // ...
33.423423
87
0.437197
psiha
d81b16346a72dceed10f671c098d126f6f86c10c
221
hpp
C++
include/jln/mp.hpp
jonathanpoelen/jln.mp
e5f05fc4467f14ac0047e3bdc75a04076e689985
[ "MIT" ]
9
2020-07-04T16:46:13.000Z
2022-01-09T21:59:31.000Z
include/jln/mp.hpp
jonathanpoelen/jln.mp
e5f05fc4467f14ac0047e3bdc75a04076e689985
[ "MIT" ]
null
null
null
include/jln/mp.hpp
jonathanpoelen/jln.mp
e5f05fc4467f14ac0047e3bdc75a04076e689985
[ "MIT" ]
1
2021-05-23T13:37:40.000Z
2021-05-23T13:37:40.000Z
#pragma once #include <jln/mp/algorithm.hpp> #include <jln/mp/error.hpp> #include <jln/mp/functional.hpp> #include <jln/mp/list.hpp> #include <jln/mp/number.hpp> #include <jln/mp/utility.hpp> #include <jln/mp/value.hpp>
22.1
32
0.728507
jonathanpoelen
d81bef6500dc6aedb5992dca6635cb3536756727
3,113
cpp
C++
Assets/Plugins/Windows/RefreshRateHelper~/RefreshRateHelper/Source.cpp
Unity-Technologies/FrameSmoothnessTest
20dc8e469ec31fde7fe3a3aefe001ae2c5676a2d
[ "MIT" ]
5
2020-08-25T01:55:20.000Z
2022-02-20T21:44:55.000Z
Assets/Plugins/Windows/RefreshRateHelper~/RefreshRateHelper/Source.cpp
Unity-Technologies/FramerateSmoothnessTest
20dc8e469ec31fde7fe3a3aefe001ae2c5676a2d
[ "MIT" ]
null
null
null
Assets/Plugins/Windows/RefreshRateHelper~/RefreshRateHelper/Source.cpp
Unity-Technologies/FramerateSmoothnessTest
20dc8e469ec31fde7fe3a3aefe001ae2c5676a2d
[ "MIT" ]
null
null
null
#include <utility> #define WIN32_LEAN_AND_MEAN #define NOMINMAX #include <windows.h> #include <d3d11.h> #include <dxgi.h> #include <wrl.h> using Microsoft::WRL::ComPtr; static ComPtr<IDXGIFactory> s_DXGIFactory; static ComPtr<ID3D11Device> s_D3D11Device; static ComPtr<IDXGIOutput> s_CachedOutput; extern "C" __dec...
30.223301
179
0.594925
Unity-Technologies
d81e696d806073560d7545b44687dfc400d1ce63
1,874
cpp
C++
src/ping_pong.cpp
duclos-cavalcanti/OpenMPI-Tutorial
5a1adeac3e0aaf9eae3e478b8479e5ddcdf08055
[ "MIT" ]
null
null
null
src/ping_pong.cpp
duclos-cavalcanti/OpenMPI-Tutorial
5a1adeac3e0aaf9eae3e478b8479e5ddcdf08055
[ "MIT" ]
null
null
null
src/ping_pong.cpp
duclos-cavalcanti/OpenMPI-Tutorial
5a1adeac3e0aaf9eae3e478b8479e5ddcdf08055
[ "MIT" ]
null
null
null
// Author: Wes Kendall // Copyright 2011 www.mpitutorial.com // This code is provided freely with the tutorials on mpitutorial.com. Feel // free to modify it for your own use. Any distribution of the code must // either provide a link to www.mpitutorial.com or keep this header intact. // // Ping pong example with MPI_S...
27.970149
78
0.65635
duclos-cavalcanti
d820d5cb1a2fd4de7e367b5ff1c59aee6347e408
3,835
hh
C++
source/include/Algorithm/Calorimetry/HoughTransformAlgorithm.hh
rete/Baboon
e5b2cfe6b9e5b5a41c2c68feda84b8df109eb086
[ "FSFAP" ]
null
null
null
source/include/Algorithm/Calorimetry/HoughTransformAlgorithm.hh
rete/Baboon
e5b2cfe6b9e5b5a41c2c68feda84b8df109eb086
[ "FSFAP" ]
null
null
null
source/include/Algorithm/Calorimetry/HoughTransformAlgorithm.hh
rete/Baboon
e5b2cfe6b9e5b5a41c2c68feda84b8df109eb086
[ "FSFAP" ]
null
null
null
/* * * HoughTransformAlgorithm.hh header template generated by fclass * Creation date : Thu Mar 14 21:55:13 2013 * Copyright (c) CNRS / IPNL * All Right Reserved. * * Use and copying of these libraries and preparation of derivative works * based upon these libraries are permitted. Any copy of these libraries *...
17.75463
104
0.669622
rete
d822717cd1dc1d8c6e13574b3a595fe5d256dca6
1,082
cpp
C++
platforms/gfg/0273_split_n_maximum_composite_number.cpp
idfumg/algorithms
06f85c5a1d07a965df44219b5a6bf0d43a129256
[ "MIT" ]
2
2020-09-17T09:04:00.000Z
2020-11-20T19:43:18.000Z
platforms/gfg/0273_split_n_maximum_composite_number.cpp
idfumg/algorithms
06f85c5a1d07a965df44219b5a6bf0d43a129256
[ "MIT" ]
null
null
null
platforms/gfg/0273_split_n_maximum_composite_number.cpp
idfumg/algorithms
06f85c5a1d07a965df44219b5a6bf0d43a129256
[ "MIT" ]
null
null
null
#include "../../template.hpp" bool IsPrime(int n) { if (n <= 1) return false; if (n <= 3) return true; if (n % 2 == 0 or n % 3 == 0) return false; for (int i = 5; i * i <= n; i += 6) { if (n % i == 0 or n % (i + 2) == 0) { return false; } } return true; } bool IsCom...
23.021277
60
0.470425
idfumg
d829a305b5cf67d1a528e2212a9ee3910ce0443b
1,485
cpp
C++
src/World/World.cpp
cristianglezm/AntFarm
df7551621ad6eda6dae43a2ede56222500be1ae1
[ "Apache-2.0" ]
null
null
null
src/World/World.cpp
cristianglezm/AntFarm
df7551621ad6eda6dae43a2ede56222500be1ae1
[ "Apache-2.0" ]
1
2016-03-13T10:55:21.000Z
2016-03-13T10:55:21.000Z
src/World/World.cpp
cristianglezm/AntFarm
df7551621ad6eda6dae43a2ede56222500be1ae1
[ "Apache-2.0" ]
null
null
null
#include <World/World.hpp> namespace ant{ World::World() : id(0) , eventQueue(std::make_shared<EventQueue>()) , entityManager(std::make_shared<EntityManager>()) , systemManager(std::make_unique<SystemManager>()){} World::World(int id) : id(id) , eventQueue(std::make_shared<EventQueue>()...
33.75
123
0.660606
cristianglezm
d82de41caf327f07caee8da2b0c2aba1f73b1fd8
2,256
cpp
C++
src/test/unit/services/sample/standalone_gqs_2390_test.cpp
sthagen/stan-dev-stan
38ab6922649f1cf35e66fa812fc28ce693cde345
[ "CC-BY-3.0", "BSD-3-Clause" ]
2,171
2015-01-09T01:41:18.000Z
2022-03-30T12:00:36.000Z
src/test/unit/services/sample/standalone_gqs_2390_test.cpp
sthagen/stan-dev-stan
38ab6922649f1cf35e66fa812fc28ce693cde345
[ "CC-BY-3.0", "BSD-3-Clause" ]
1,885
2015-01-02T13:33:12.000Z
2022-03-31T23:00:39.000Z
src/test/unit/services/sample/standalone_gqs_2390_test.cpp
sthagen/stan-dev-stan
38ab6922649f1cf35e66fa812fc28ce693cde345
[ "CC-BY-3.0", "BSD-3-Clause" ]
393
2015-01-16T22:42:33.000Z
2022-03-29T23:21:16.000Z
#include <stan/services/error_codes.hpp> #include <stan/services/sample/standalone_gqs.hpp> #include <stan/callbacks/stream_writer.hpp> #include <stan/callbacks/stream_logger.hpp> #include <stan/io/empty_var_context.hpp> #include <stan/io/stan_csv_reader.hpp> #include <test/test-models/good/services/bug_2390_gq.hpp> #i...
33.671642
78
0.73227
sthagen
d82fb1ca4994fdfb13d600c1456309668abfb87b
103
cpp
C++
src/examples/06_module/01_bank/customer.cpp
acc-cosc-1337-fall-2020/acc-cosc-1337-fall-2020-Grecia1813
f356c1ed8f6e75b9e9d6164747a5c199bead8c95
[ "MIT" ]
null
null
null
src/examples/06_module/01_bank/customer.cpp
acc-cosc-1337-fall-2020/acc-cosc-1337-fall-2020-Grecia1813
f356c1ed8f6e75b9e9d6164747a5c199bead8c95
[ "MIT" ]
null
null
null
src/examples/06_module/01_bank/customer.cpp
acc-cosc-1337-fall-2020/acc-cosc-1337-fall-2020-Grecia1813
f356c1ed8f6e75b9e9d6164747a5c199bead8c95
[ "MIT" ]
null
null
null
//customer.cpp #include "customer.h" Demo::Demo() { cout << "2. Now the constructor is running\n"; }
14.714286
48
0.650485
acc-cosc-1337-fall-2020
d8320c7f5cf41634ca06cd96ca2c66a1a18d8df4
24,939
cpp
C++
pljit/parser/Parser.cpp
cakebytheoceanLuo/pl0-jit-compiler
033c6033a8b1274531e92d43141a8c43b7100a7f
[ "MIT" ]
null
null
null
pljit/parser/Parser.cpp
cakebytheoceanLuo/pl0-jit-compiler
033c6033a8b1274531e92d43141a8c43b7100a7f
[ "MIT" ]
null
null
null
pljit/parser/Parser.cpp
cakebytheoceanLuo/pl0-jit-compiler
033c6033a8b1274531e92d43141a8c43b7100a7f
[ "MIT" ]
null
null
null
//--------------------------------------------------------------------------- #include "parser/Parser.hpp" #include <cassert> #include <vector> #include <memory> //--------------------------------------------------------------------------- namespace pljit { //------------------------------------------------------------...
69.662011
233
0.687758
cakebytheoceanLuo
d834f7a7a0796bddd9d752b80cca8a55eb26e282
3,440
cpp
C++
Graph/310. Minimum Height Trees/main.cpp
Minecodecraft/LeetCode-Minecode
185fd6efe88d8ffcad94e581915c41502a0361a0
[ "MIT" ]
1
2021-11-19T19:58:33.000Z
2021-11-19T19:58:33.000Z
Graph/310. Minimum Height Trees/main.cpp
Minecodecraft/LeetCode-Minecode
185fd6efe88d8ffcad94e581915c41502a0361a0
[ "MIT" ]
null
null
null
Graph/310. Minimum Height Trees/main.cpp
Minecodecraft/LeetCode-Minecode
185fd6efe88d8ffcad94e581915c41502a0361a0
[ "MIT" ]
2
2021-11-26T12:47:27.000Z
2022-01-13T16:14:46.000Z
// // main.cpp // 310. Minimum Height Trees // // Created by 边俊林 on 2019/11/13. // Copyright © 2019 边俊林. All rights reserved. // #include <map> #include <set> #include <queue> #include <string> #include <stack> #include <vector> #include <cstdio> #include <numeric> #include <cstdlib> #include <utility> #include <i...
24.571429
73
0.451163
Minecodecraft
d8352c55a668b2a9e176f2bd98cdb41746e4a0d7
3,938
cxx
C++
test/test_utility.cxx
cmbrandt/stl-algorithms
9eb0bc664e8423fb066c29aa501a72f4e672be1d
[ "MIT" ]
null
null
null
test/test_utility.cxx
cmbrandt/stl-algorithms
9eb0bc664e8423fb066c29aa501a72f4e672be1d
[ "MIT" ]
null
null
null
test/test_utility.cxx
cmbrandt/stl-algorithms
9eb0bc664e8423fb066c29aa501a72f4e672be1d
[ "MIT" ]
null
null
null
#include <array> #include <iostream> #include <utility.hxx> #include <test_helpers.hxx> #include <test_utility.hxx> void test_utility() { int fail = 0; fail = test_swap(fail); fail = test_exchange(fail); fail = test_forward(fail); fail = test_move(fail); fail = test_move_if_noexcept(fail); if (fail ==...
20.298969
79
0.466988
cmbrandt
d8396904e5f66985816aaacb88aa88e90458ed18
25,494
cxx
C++
main/desktop/source/deployment/registry/dp_backenddb.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/desktop/source/deployment/registry/dp_backenddb.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/desktop/source/deployment/registry/dp_backenddb.cxx
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...
35.45758
117
0.593198
Grosskopf
d83a1e36cb59e58725c9d29e38d2b894d0e82387
1,134
cpp
C++
source/core.cpp
henrygouk/nnet
dd33ce43852d2deb33e6495c0c1b1ba2227d2aa5
[ "BSD-3-Clause" ]
1
2018-10-12T01:33:23.000Z
2018-10-12T01:33:23.000Z
source/core.cpp
henrygouk/nnet
dd33ce43852d2deb33e6495c0c1b1ba2227d2aa5
[ "BSD-3-Clause" ]
4
2015-07-21T02:24:13.000Z
2016-07-06T10:06:31.000Z
source/core.cpp
henrygouk/nnet
dd33ce43852d2deb33e6495c0c1b1ba2227d2aa5
[ "BSD-3-Clause" ]
2
2016-07-06T08:56:01.000Z
2018-03-04T02:55:29.000Z
#include <cstring> #include <mm_malloc.h> #include <nnet/types.hpp> nnet_float *nnet_malloc(size_t length) { return (nnet_float *)_mm_malloc(sizeof(nnet_float) * length, 32); } void nnet_free(nnet_float *ptr) { _mm_free(ptr); } void nnet_shuffle_instances(nnet_float *features, nnet_float *labels, size_t length, s...
30.648649
124
0.737213
henrygouk
d83b223c6b3268602c1be98587d5769b27e9b1c1
634
cc
C++
test/lib/nut_Test_Particle.cc
losalamos/NuT
5c6e03c45a380ae24ea9ee8bc2e68c3748ddd4e0
[ "BSD-3-Clause" ]
4
2015-01-01T13:47:53.000Z
2016-03-31T01:56:43.000Z
test/lib/nut_Test_Particle.cc
losalamos/NuT
5c6e03c45a380ae24ea9ee8bc2e68c3748ddd4e0
[ "BSD-3-Clause" ]
1
2019-05-08T16:21:43.000Z
2019-05-14T17:20:19.000Z
test/lib/nut_Test_Particle.cc
lanl/NuT
5c6e03c45a380ae24ea9ee8bc2e68c3748ddd4e0
[ "BSD-3-Clause" ]
4
2017-06-21T20:26:30.000Z
2020-03-19T07:05:00.000Z
// T. M. Kelley (c) 2011 LANS LLC #include "Particle.hh" #include "RNG.hh" #include "gtest/gtest.h" #include "meshes/mesh_common/Vector.h" TEST(nut_Particle, instantiation) { // for a very simple test, we can use a totally bogus RNG typedef uint32_t rng_t; typedef double fp_t; using Vector = nut_mesh::Vector...
18.647059
59
0.652997
losalamos
d83c80cd46a0f68e4e9d5774401f5ddc453b84d9
2,859
cpp
C++
net/socket/SocketAddress.cpp
w20089527/Net
ca40f0d4a5aa94c64abb8ccc7306bc66bdf12584
[ "MIT" ]
1
2019-08-10T20:29:13.000Z
2019-08-10T20:29:13.000Z
net/socket/SocketAddress.cpp
whrool/Net
ca40f0d4a5aa94c64abb8ccc7306bc66bdf12584
[ "MIT" ]
null
null
null
net/socket/SocketAddress.cpp
whrool/Net
ca40f0d4a5aa94c64abb8ccc7306bc66bdf12584
[ "MIT" ]
null
null
null
// The MIT License (MIT) // // Copyright(c) 2015 huan.wang // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files(the "Software"), // to deal in the Software without restriction, including without limitation the rights // to use, ...
28.59
130
0.693949
w20089527
d844f0cf73b3ac22ab589bfd4bca3af1cfb12a9e
335
cpp
C++
source/dynamic_static/vulkan/framebuffer-utilities.cpp
dynamic-static/Dynamic_Static.Graphics
b4fcf3c53519d3a63448aa7d9a90e07ec68d69d4
[ "MIT" ]
3
2017-11-20T15:42:41.000Z
2020-05-02T22:05:39.000Z
source/dynamic_static/vulkan/framebuffer-utilities.cpp
DynamicStatic/Dynamic_Static.Graphics
b4fcf3c53519d3a63448aa7d9a90e07ec68d69d4
[ "MIT" ]
null
null
null
source/dynamic_static/vulkan/framebuffer-utilities.cpp
DynamicStatic/Dynamic_Static.Graphics
b4fcf3c53519d3a63448aa7d9a90e07ec68d69d4
[ "MIT" ]
null
null
null
/* ========================================== Copyright (c) 2021 dynamic_static Licensed under the MIT license http://opensource.org/licenses/MIT ========================================== */ #include "dynamic_static/vulkan/framebuffer-utilities.hpp" namespace dst { namespace vk { } // namespace vk } //...
19.705882
58
0.531343
dynamic-static
d8466183e691dba7d2b2345b07a478a3e7372dcf
12,130
cpp
C++
src/ossim/util/ossimSlopeUtil.cpp
rkanavath/ossim18
d2e8204d11559a6a868755a490f2ec155407fa96
[ "MIT" ]
null
null
null
src/ossim/util/ossimSlopeUtil.cpp
rkanavath/ossim18
d2e8204d11559a6a868755a490f2ec155407fa96
[ "MIT" ]
null
null
null
src/ossim/util/ossimSlopeUtil.cpp
rkanavath/ossim18
d2e8204d11559a6a868755a490f2ec155407fa96
[ "MIT" ]
1
2019-09-25T00:43:35.000Z
2019-09-25T00:43:35.000Z
//******************************************************************* // Copyright (C) 2000 ImageLinks Inc. // // License: MIT // // See LICENSE.txt file in the top level directory for more details. // // Author: Oscar Kramer // //******************************************************************* // $Id: ossimSlopeU...
32.346667
100
0.662737
rkanavath
d849e0dd94deb2ee024e2f9a8dd896a0b0502a2c
968
cpp
C++
text.cpp
hehichens/Mini-PhotoShop
b3d0bd89da7a8cf369ad98a9bc7b4cb0d0145a51
[ "Apache-2.0" ]
3
2021-06-09T03:19:25.000Z
2021-12-27T04:23:28.000Z
text.cpp
hehichens/Mini-PhotoShop
b3d0bd89da7a8cf369ad98a9bc7b4cb0d0145a51
[ "Apache-2.0" ]
null
null
null
text.cpp
hehichens/Mini-PhotoShop
b3d0bd89da7a8cf369ad98a9bc7b4cb0d0145a51
[ "Apache-2.0" ]
null
null
null
#include "graph_scene.h" #include <opencv2/imgproc/imgproc.hpp> #include <QGraphicsSceneMouseEvent> #include <QtCore> #include <opencv2/highgui.hpp> #include <iostream> #include <unistd.h> using std::string; using namespace cv; void GraphScreen::add_text(int mx,int my, int size,QString text_content){ std::cout<<"...
25.473684
73
0.719008
hehichens
d84b98c24c424c30b717045c425aeaf4f67144fc
941
cpp
C++
Leetcode/res/Binary Tree Paths/1.cpp
AllanNozomu/CompetitiveProgramming
ac560ab5784d2e2861016434a97e6dcc44e26dc8
[ "MIT" ]
1
2022-03-04T16:06:41.000Z
2022-03-04T16:06:41.000Z
Leetcode/res/Binary Tree Paths/1.cpp
AllanNozomu/CompetitiveProgramming
ac560ab5784d2e2861016434a97e6dcc44e26dc8
[ "MIT" ]
null
null
null
Leetcode/res/Binary Tree Paths/1.cpp
AllanNozomu/CompetitiveProgramming
ac560ab5784d2e2861016434a97e6dcc44e26dc8
[ "MIT" ]
null
null
null
\* Author: allannozomu Runtime: 4 ms Memory: 11.5 MB*\ /** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ class Solution { public: void binaryTreecPathsRec(TreeNode* root...
27.676471
88
0.563231
AllanNozomu
d84e5a28b50382247dd241e3f938307d2ea248f5
2,015
cpp
C++
src/parser/expression_defs.cpp
pmenon/noisepage
73d50cdfa2e15b5d45e61b51e34672d10a851e14
[ "MIT" ]
971
2020-09-13T10:24:02.000Z
2022-03-31T07:02:51.000Z
src/parser/expression_defs.cpp
pmenon/noisepage
73d50cdfa2e15b5d45e61b51e34672d10a851e14
[ "MIT" ]
1,019
2018-07-20T23:11:10.000Z
2020-09-10T06:41:42.000Z
src/parser/expression_defs.cpp
pmenon/noisepage
73d50cdfa2e15b5d45e61b51e34672d10a851e14
[ "MIT" ]
318
2018-07-23T16:48:16.000Z
2020-09-07T09:46:31.000Z
#include "parser/expression_defs.h" #include <string> namespace noisepage::parser { std::string ExpressionTypeToShortString(ExpressionType type) { switch (type) { // clang-format off case ExpressionType::OPERATOR_PLUS: return "+"; case ExpressionType::OPERATOR_MINUS: ...
51.666667
86
0.598015
pmenon
d8509208a3026d9a17a883853aeb591c29e8bda5
12,341
cpp
C++
sourceCode/textures/imgLoaderSaver.cpp
mdecourse/CoppeliaSimLib
934e65b4b6ea5a07d08919ae35c50fd3ae960ef2
[ "RSA-MD" ]
null
null
null
sourceCode/textures/imgLoaderSaver.cpp
mdecourse/CoppeliaSimLib
934e65b4b6ea5a07d08919ae35c50fd3ae960ef2
[ "RSA-MD" ]
null
null
null
sourceCode/textures/imgLoaderSaver.cpp
mdecourse/CoppeliaSimLib
934e65b4b6ea5a07d08919ae35c50fd3ae960ef2
[ "RSA-MD" ]
null
null
null
#include "imgLoaderSaver.h" #ifdef SIM_WITH_QT #include "tGAFormat.h" #include "stb_image.h" #include "ttUtil.h" #include "vVarious.h" #include <QImage> #include <QImageWriter> #include <QColor> #include <QtCore/QBuffer> #endif unsigned char* CImageLoaderSaver::load(const char* filename...
33.444444
159
0.51333
mdecourse
d851b73d72148dc84f24876dd7036dca78269130
9,947
cpp
C++
ortc/services/cpp/services_DHPublicKey.cpp
ortclib/ortclib-services-cpp
f770d97044b1ffbff04b61fa1488eedc8ddc66e4
[ "BSD-2-Clause" ]
2
2016-10-12T09:16:32.000Z
2016-10-13T03:49:47.000Z
ortc/services/cpp/services_DHPublicKey.cpp
ortclib/ortclib-services-cpp
f770d97044b1ffbff04b61fa1488eedc8ddc66e4
[ "BSD-2-Clause" ]
2
2017-11-24T09:18:45.000Z
2017-11-24T09:20:53.000Z
ortc/services/cpp/services_DHPublicKey.cpp
ortclib/ortclib-services-cpp
f770d97044b1ffbff04b61fa1488eedc8ddc66e4
[ "BSD-2-Clause" ]
null
null
null
/* Copyright (c) 2014, Hookflash Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the fol...
39.472222
113
0.41701
ortclib
d85306e3e2c87156f925039aeee4b27cf7bb7a15
3,509
cc
C++
test/unit/Eval/EvalSubgoalTest.cc
mnowotnik/fovris
82f692743fa6c96fef05041e686d716b03c22f07
[ "BSD-3-Clause" ]
4
2017-01-04T17:22:55.000Z
2018-12-08T02:10:18.000Z
test/unit/Eval/EvalSubgoalTest.cc
Mike-Now/fovris
82f692743fa6c96fef05041e686d716b03c22f07
[ "BSD-3-Clause" ]
null
null
null
test/unit/Eval/EvalSubgoalTest.cc
Mike-Now/fovris
82f692743fa6c96fef05041e686d716b03c22f07
[ "BSD-3-Clause" ]
1
2022-03-24T05:26:13.000Z
2022-03-24T05:26:13.000Z
#include "KB/KBHeadLiteral.h" #include "Eval/EvalSubgoal.h" #include "Eval/TestUtils.h" #include "thirdparty/Catch/include/catch.hpp" #include <string> using namespace fovris; TEST_CASE("Check subgoal evaluation result", "[EvalSubgoal]") { // given unsigned relId = 0xDEADBEEF; KBRelation relation{ ...
34.401961
78
0.588487
mnowotnik
d855695e7f9b2b5d51d12e6e80b1e1bbd4a7b389
1,362
cpp
C++
SDIZO_Graphs/my_graph.cpp
michaltkacz/SDIZO_Graphs
085a9be87ff96826ca2a6dec1f7206ebabaca341
[ "MIT" ]
null
null
null
SDIZO_Graphs/my_graph.cpp
michaltkacz/SDIZO_Graphs
085a9be87ff96826ca2a6dec1f7206ebabaca341
[ "MIT" ]
null
null
null
SDIZO_Graphs/my_graph.cpp
michaltkacz/SDIZO_Graphs
085a9be87ff96826ca2a6dec1f7206ebabaca341
[ "MIT" ]
null
null
null
#include "my_graph.h" #include "graph_exception.h" #include "my_rand.h" #include <fstream> #include <iomanip> void my_graph::random() { const int v_number = my_rand::random_int(min_vert, max_vert); const int density = my_rand::random_int(min_dens, max_dens); random(v_number, density); } void my_graph::random(int...
17.921053
62
0.61674
michaltkacz
d858b4d2863db23ed4f62818c5eaf13a6d571930
2,115
cpp
C++
uppsrc/ide/Debuggers/GdbUtils.cpp
UltimateScript/Forgotten
ac59ad21767af9628994c0eecc91e9e0e5680d95
[ "BSD-3-Clause" ]
null
null
null
uppsrc/ide/Debuggers/GdbUtils.cpp
UltimateScript/Forgotten
ac59ad21767af9628994c0eecc91e9e0e5680d95
[ "BSD-3-Clause" ]
null
null
null
uppsrc/ide/Debuggers/GdbUtils.cpp
UltimateScript/Forgotten
ac59ad21767af9628994c0eecc91e9e0e5680d95
[ "BSD-3-Clause" ]
null
null
null
#include "GdbUtils.h" #include <memory> #include <ide/Core/Logger.h> #include <ide/Common/CommandLineOptions.h> using namespace Upp; One<IGdbUtils> GdbUtilsFactory::Create() { #if defined(PLATFORM_WIN32) return MakeOne<GdbWindowsUtils>(); #elif defined(PLATFORM_POSIX) return MakeOne<GdbPosixUtils>(); ...
24.593023
120
0.661466
UltimateScript
d858f20cd9418ed569a886d53eecf7466c64150e
4,141
hpp
C++
include/seqan3/core/simd/simd.hpp
FirstLoveLife/seqan3
ac2e983e0a576515c13ebb2c851c43c1eba1ece1
[ "BSD-3-Clause" ]
null
null
null
include/seqan3/core/simd/simd.hpp
FirstLoveLife/seqan3
ac2e983e0a576515c13ebb2c851c43c1eba1ece1
[ "BSD-3-Clause" ]
null
null
null
include/seqan3/core/simd/simd.hpp
FirstLoveLife/seqan3
ac2e983e0a576515c13ebb2c851c43c1eba1ece1
[ "BSD-3-Clause" ]
null
null
null
// ============================================================================ // SeqAn - The Library for Sequence Analysis // ============================================================================ // // Copyright (c) 2006-2018, Knut Reinert & Freie Universitaet Berlin // Copyright (c) 2016-2018,...
45.505495
126
0.702729
FirstLoveLife
d85f4e78725f54a82f55b1a2fa66d9ee72a4c7f3
3,978
cpp
C++
src/threads.cpp
yanmingsohu/PlayJS
2f9e015d0ec38f9613aa6915c5289a815bb5a52f
[ "Apache-2.0" ]
1
2019-09-03T19:13:54.000Z
2019-09-03T19:13:54.000Z
src/threads.cpp
yanmingsohu/PlayJS
2f9e015d0ec38f9613aa6915c5289a815bb5a52f
[ "Apache-2.0" ]
null
null
null
src/threads.cpp
yanmingsohu/PlayJS
2f9e015d0ec38f9613aa6915c5289a815bb5a52f
[ "Apache-2.0" ]
null
null
null
#include "threads.h" #include "export-js.h" #include "fs.h" #include "util.h" #include "vm.h" #include <map> #include <mutex> using std::map; using std::thread; using std::string; using std::mutex; using std::lock_guard; typedef map<threadId, thread*> ThreadMap; static volatile int nextId = 0x10; static mutex lock_...
25.177215
90
0.616642
yanmingsohu
d8711fe5a8b2142a73751d6580651b63e075013b
9,749
cpp
C++
src/wrappers/src/mfx_gst_frame_constructor.cpp
AntonGrishin/gstreamer-plugins
6d86897e02b525da4bf1d3f8b4bb6472cc72eb2b
[ "BSD-3-Clause" ]
20
2016-08-06T02:31:53.000Z
2022-01-24T13:29:41.000Z
src/wrappers/src/mfx_gst_frame_constructor.cpp
AntonGrishin/gstreamer-plugins
6d86897e02b525da4bf1d3f8b4bb6472cc72eb2b
[ "BSD-3-Clause" ]
5
2016-08-01T15:35:36.000Z
2021-07-15T10:33:59.000Z
src/wrappers/src/mfx_gst_frame_constructor.cpp
AntonGrishin/gstreamer-plugins
6d86897e02b525da4bf1d3f8b4bb6472cc72eb2b
[ "BSD-3-Clause" ]
14
2016-08-18T23:42:06.000Z
2021-05-16T22:06:59.000Z
/********************************************************************************** Copyright (C) 2005-2019 Intel Corporation. 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 sourc...
28.673529
122
0.637296
AntonGrishin
d871c04714b3c998d4d0f8f20d2f85a9bd6f8ce3
206
cpp
C++
Object Oriented Algo Design in C++/practice/height_heap.cpp
aishwaryamallampati/BTech-IIITDM
4cfc25a4e6e066b848361cb92770cad3260c7d48
[ "MIT" ]
null
null
null
Object Oriented Algo Design in C++/practice/height_heap.cpp
aishwaryamallampati/BTech-IIITDM
4cfc25a4e6e066b848361cb92770cad3260c7d48
[ "MIT" ]
null
null
null
Object Oriented Algo Design in C++/practice/height_heap.cpp
aishwaryamallampati/BTech-IIITDM
4cfc25a4e6e066b848361cb92770cad3260c7d48
[ "MIT" ]
null
null
null
int height(int i,int size) { int l,r; if(i>size) return 0; else { l=height(2*i,size); r=height(((2*i)+1),size); if(l>r) { l=l+1; return l; } else { r=r+1; return r; } } }
9.363636
27
0.475728
aishwaryamallampati
d872dad72aa20ff0381e61a47744ec79c79d5686
4,281
hpp
C++
src/nnfusion/core/kernels/cpu/eigen/softmax.hpp
lynex/nnfusion
6332697c71b6614ca6f04c0dac8614636882630d
[ "MIT" ]
639
2020-09-05T10:00:59.000Z
2022-03-30T08:42:39.000Z
src/nnfusion/core/kernels/cpu/eigen/softmax.hpp
QPC-database/nnfusion
99ada47c50f355ca278001f11bc752d1c7abcee2
[ "MIT" ]
252
2020-09-09T05:35:36.000Z
2022-03-29T04:58:41.000Z
src/nnfusion/core/kernels/cpu/eigen/softmax.hpp
QPC-database/nnfusion
99ada47c50f355ca278001f11bc752d1c7abcee2
[ "MIT" ]
104
2020-09-05T10:01:08.000Z
2022-03-23T10:59:13.000Z
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #pragma once #include "../cpu_kernel_emitter.hpp" #include "nnfusion/core/operators/generic_op/generic_op.hpp" namespace nnfusion { namespace kernels { namespace cpu { template <typename ElementType> ...
38.223214
100
0.443354
lynex
d874fed91ddb84f034e8e97d57a87d232bd6e028
2,108
hpp
C++
Core/DescriptorSet.hpp
Shmaug/vkCAVE
e502aedaf172047557f0454acb170a46b9d350f8
[ "MIT" ]
2
2019-10-01T22:55:47.000Z
2019-10-04T20:25:29.000Z
Core/DescriptorSet.hpp
Shmaug/vkCAVE
e502aedaf172047557f0454acb170a46b9d350f8
[ "MIT" ]
null
null
null
Core/DescriptorSet.hpp
Shmaug/vkCAVE
e502aedaf172047557f0454acb170a46b9d350f8
[ "MIT" ]
null
null
null
#pragma once #include <Util/Util.hpp> class Device; class Texture; class Buffer; class Sampler; class DescriptorSet { public: ENGINE_EXPORT DescriptorSet(const std::string& name, Device* device, VkDescriptorSetLayout layout); ENGINE_EXPORT ~DescriptorSet(); ENGINE_EXPORT void CreateStorageBufferDescriptor(Buffer...
45.826087
168
0.833491
Shmaug
d875c03131f5d23004d3af46de9f475a03d9e566
2,102
cc
C++
TC-programs/STUFF/sort_excitationsa.cc
sklinkusch/scripts
a717cadb559db823a0d5172545661d5afa2715e7
[ "MIT" ]
null
null
null
TC-programs/STUFF/sort_excitationsa.cc
sklinkusch/scripts
a717cadb559db823a0d5172545661d5afa2715e7
[ "MIT" ]
null
null
null
TC-programs/STUFF/sort_excitationsa.cc
sklinkusch/scripts
a717cadb559db823a0d5172545661d5afa2715e7
[ "MIT" ]
null
null
null
# include <iostream> # include <fstream> # include <string.h> # include <stdio.h> # include <stdlib.h> # include <sstream> # include <math.h> using namespace std; void swap_line(int &froma, int &toa, double &coeffa, int &fromb, int &tob, double &coeffb){ int tempfrom, tempto; double tempcoeff; tempfrom = ...
26.607595
103
0.519029
sklinkusch
d877e2908aa3d9ea6e7a4a3a17d62b6954741c44
1,481
cpp
C++
src/cpp/UTILS/DistilleryExceptionCode.cpp
IBMStreams/OSStreams
c6287bd9ec4323f567d2faf59125baba8604e1db
[ "Apache-2.0" ]
10
2021-02-19T20:19:24.000Z
2021-09-16T05:11:50.000Z
src/cpp/UTILS/DistilleryExceptionCode.cpp
xguerin/openstreams
7000370b81a7f8778db283b2ba9f9ead984b7439
[ "Apache-2.0" ]
7
2021-02-20T01:17:12.000Z
2021-06-08T14:56:34.000Z
src/cpp/UTILS/DistilleryExceptionCode.cpp
IBMStreams/OSStreams
c6287bd9ec4323f567d2faf59125baba8604e1db
[ "Apache-2.0" ]
4
2021-02-19T18:43:10.000Z
2022-02-23T14:18:16.000Z
/* * Copyright 2021 IBM Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
29.039216
83
0.766374
IBMStreams
d8795b1764abefc1e1b3e6a06455b268e65532f0
522
cpp
C++
CodingInterviews/cpp/56_get_missing_number.cpp
YorkFish/git_study
6e023244daaa22e12b24e632e76a13e5066f2947
[ "MIT" ]
null
null
null
CodingInterviews/cpp/56_get_missing_number.cpp
YorkFish/git_study
6e023244daaa22e12b24e632e76a13e5066f2947
[ "MIT" ]
null
null
null
CodingInterviews/cpp/56_get_missing_number.cpp
YorkFish/git_study
6e023244daaa22e12b24e632e76a13e5066f2947
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; class Solution { public: int getMissingNumber(vector<int>& nums) { int left = 0, right = nums.size(); while (left < right) { int mid = left + (right - left) / 2; if (mid == nums[mid]) left = mid + 1; els...
18.642857
49
0.519157
YorkFish
f21d904334a6c51d4a57974b32bc4313dfb92ad1
1,929
hpp
C++
src/pyprx/visualization/three_js_group_py.hpp
aravindsiv/ML4KP
064015a7545e1713cbcad3e79807b5cec0849f54
[ "MIT" ]
3
2021-05-31T11:28:03.000Z
2021-05-31T13:49:30.000Z
src/pyprx/visualization/three_js_group_py.hpp
aravindsiv/ML4KP
064015a7545e1713cbcad3e79807b5cec0849f54
[ "MIT" ]
1
2021-09-03T09:39:32.000Z
2021-12-10T22:17:56.000Z
src/pyprx/visualization/three_js_group_py.hpp
aravindsiv/ML4KP
064015a7545e1713cbcad3e79807b5cec0849f54
[ "MIT" ]
2
2021-09-03T09:17:45.000Z
2021-10-04T15:52:58.000Z
#include <iostream> #include <boost/python.hpp> #include "prx/visualization/three_js_group.hpp" void (prx::three_js_group_t::*update_vis_infos_1_1)(prx::info_geometry_t, const prx::trajectory_t&, std::string, prx::space_t*, std::string color) = &prx::three_js_group_t::add_vis_infos; void (prx::three_js_group_t::*upd...
53.583333
191
0.6817
aravindsiv
f21f1628be052c4ba093baefeb32dbf6eae4df4b
13,324
cc
C++
agp-7.1.0-alpha01/tools/base/profiler/native/perfd/profiler_service_test.cc
jomof/CppBuildCacheWorkInProgress
9e3475f6d94cb3239f27ed8f8ee81b0abde4ef51
[ "Apache-2.0" ]
1
2020-10-04T19:30:22.000Z
2020-10-04T19:30:22.000Z
agp-7.1.0-alpha01/tools/base/profiler/native/perfd/profiler_service_test.cc
jomof/CppBuildCacheWorkInProgress
9e3475f6d94cb3239f27ed8f8ee81b0abde4ef51
[ "Apache-2.0" ]
null
null
null
agp-7.1.0-alpha01/tools/base/profiler/native/perfd/profiler_service_test.cc
jomof/CppBuildCacheWorkInProgress
9e3475f6d94cb3239f27ed8f8ee81b0abde4ef51
[ "Apache-2.0" ]
2
2020-10-04T19:30:24.000Z
2020-11-04T05:58:17.000Z
/* * Copyright (C) 2018 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...
33.31
78
0.707896
jomof
f22135104eb6c134a71fbbb52d41a9b1c7f155c1
20,275
cpp
C++
src/textnet_nextbasket.cpp
pl8787/textnet-release
c85a4162c55b4cfe22eab6f8f0c8b615854f9b8f
[ "Apache-2.0" ]
114
2017-06-14T07:05:31.000Z
2021-06-13T05:30:49.000Z
src/textnet_nextbasket.cpp
pl8787/textnet-release
c85a4162c55b4cfe22eab6f8f0c8b615854f9b8f
[ "Apache-2.0" ]
7
2017-11-17T08:16:55.000Z
2019-10-05T00:09:20.000Z
src/textnet_nextbasket.cpp
pl8787/textnet-release
c85a4162c55b4cfe22eab6f8f0c8b615854f9b8f
[ "Apache-2.0" ]
40
2017-06-15T03:21:10.000Z
2021-10-31T15:03:30.000Z
#define _CRT_SECURE_NO_WARNINGS #define _CRT_SECURE_NO_DEPRECATE #include <iostream> #include <fstream> #include <ctime> #include <string> #include <cstring> #include <vector> #include <map> #include <climits> #include "./layer/layer.h" #include "./io/json/json.h" #include "global.h" #include <cassert>...
38.472486
123
0.612429
pl8787
f22dfd860b4d10bf32ddef2f1593e46d9b44ea93
3,276
cpp
C++
src/util/node.cpp
markhary/ctci
eb96014b779e2a7eca1229644300bae18caf328d
[ "Unlicense" ]
1
2021-11-17T16:50:54.000Z
2021-11-17T16:50:54.000Z
src/util/node.cpp
markhary/ctci
eb96014b779e2a7eca1229644300bae18caf328d
[ "Unlicense" ]
null
null
null
src/util/node.cpp
markhary/ctci
eb96014b779e2a7eca1229644300bae18caf328d
[ "Unlicense" ]
1
2020-06-15T13:54:04.000Z
2020-06-15T13:54:04.000Z
// Node object // #include <iostream> #include <vector> #include <gtest/gtest.h> #include "args.h" #include "macros.h" #include "util/node.h" using namespace std; using namespace ctci; using namespace ctci::util; TEST(Node, Initialize) { int value = 5; Node<int> node(value); ASSERT_EQ(node.value, val...
25.395349
106
0.654762
markhary
f23084bf6073bb48b042bc99e01b044d35f4d297
600
cpp
C++
Tau/src/core/Midi/MidiEvent.cpp
cymheart/tau
1881046c7e362451e8d4f5d4b885e9011dade319
[ "MIT" ]
7
2021-10-05T07:07:45.000Z
2022-03-01T07:28:34.000Z
Tau/src/core/Midi/MidiEvent.cpp
cymheart/tau
1881046c7e362451e8d4f5d4b885e9011dade319
[ "MIT" ]
1
2021-09-21T07:25:53.000Z
2021-10-02T02:02:10.000Z
Tau/src/core/Midi/MidiEvent.cpp
cymheart/ventrue
57219117a40077ffdde76c7183ea744c0ac2a08f
[ "MIT" ]
1
2022-02-24T21:24:27.000Z
2022-02-24T21:24:27.000Z
#include"MidiEvent.h" namespace tau { SysexEvent::~SysexEvent() { free(data); } void SysexEvent::CreateData(byte* d, size_t len) { if (len <= 0) return; try { data = (byte*)malloc(len); if (data != nullptr) memcpy(data, d, len); this->size = len; } catch (exception) { } } Unk...
12
51
0.558333
cymheart
f23107e929ed9d288e7d9d15b2b4f334ffea79a3
3,679
cpp
C++
src/main.cpp
fixstars/cRTOS-loader
d3da5738d2511b497a56d320eafe1f3dc628347b
[ "Apache-2.0" ]
null
null
null
src/main.cpp
fixstars/cRTOS-loader
d3da5738d2511b497a56d320eafe1f3dc628347b
[ "Apache-2.0" ]
null
null
null
src/main.cpp
fixstars/cRTOS-loader
d3da5738d2511b497a56d320eafe1f3dc628347b
[ "Apache-2.0" ]
null
null
null
/* Copyright (c) 2020 Yang, Chung-Fan @ Fixstars corporation * <chungfan.yang@fixstars.com> * 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 ...
25.908451
100
0.608046
fixstars
f239b20b515adeda1a89ac106b609cd22e0fef40
2,474
cpp
C++
app/src/main/cpp/Feature_Extraction/RSMelFilterBank.cpp
PetrFlajsingr/SpeechRecognition
23c675c7389b9ad97b18a8ba3739dceb04f42856
[ "Apache-2.0" ]
1
2019-04-18T06:33:09.000Z
2019-04-18T06:33:09.000Z
app/src/main/cpp/Feature_Extraction/RSMelFilterBank.cpp
PetrFlajsingr/SpeechRecognition
23c675c7389b9ad97b18a8ba3739dceb04f42856
[ "Apache-2.0" ]
null
null
null
app/src/main/cpp/Feature_Extraction/RSMelFilterBank.cpp
PetrFlajsingr/SpeechRecognition
23c675c7389b9ad97b18a8ba3739dceb04f42856
[ "Apache-2.0" ]
null
null
null
/* * Class providing interface to renderscript implementation of mel bank filters. * * Created by Petr Flajsingr on 15/12/2017. */ #include <RSMelFilterBank.h> #include <constants.h> SpeechRecognition::Feature_Extraction::RSMelFilterBank::RSMelFilterBank(const char* cacheDir) { this->renderScriptObject = new...
38.65625
134
0.657639
PetrFlajsingr