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
float64
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
float64
1
77k
⌀
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
float64
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
653k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
1
80c24b7d826a1b034e18ffa62ce8661006267914
5,300
cpp
C++
PersistentDSU.cpp
RohitTheBoss007/CodeforcesSolutions
4025270fb22a6c5c5276569b42e839f35b9ce09b
[ "MIT" ]
2
2020-06-15T09:20:26.000Z
2020-10-01T19:24:07.000Z
PersistentDSU.cpp
RohitTheBoss007/Coding-Algorithms
4025270fb22a6c5c5276569b42e839f35b9ce09b
[ "MIT" ]
null
null
null
PersistentDSU.cpp
RohitTheBoss007/Coding-Algorithms
4025270fb22a6c5c5276569b42e839f35b9ce09b
[ "MIT" ]
null
null
null
// Problem: Persistent UnionFind (https://judge.yosupo.jp/problem/persistent_unionfind) // Contest: Library Checker // Time: 2020-12-16 23:45:07 // 私に忍び寄るのをやめてください、ありがとう #include<bits/stdc++.h> using namespace std; #pragma comment(linker, "/stack:200000000") #pragma GCC optimize("Ofast") #pragma GCC optimize("unroll-...
25.603865
118
0.558113
80c432c7b4ad76f4f3a2e9fda75cd363145327f3
1,833
cpp
C++
test812/videocapturethread.cpp
LangleyChang/GoProMultiSreen
0ef2dd766f5dc2df047182dd906c55b8cbee4163
[ "Apache-2.0" ]
1
2020-01-01T20:04:47.000Z
2020-01-01T20:04:47.000Z
test812/videocapturethread.cpp
LangleyChang/GoProMultiSreen
0ef2dd766f5dc2df047182dd906c55b8cbee4163
[ "Apache-2.0" ]
null
null
null
test812/videocapturethread.cpp
LangleyChang/GoProMultiSreen
0ef2dd766f5dc2df047182dd906c55b8cbee4163
[ "Apache-2.0" ]
null
null
null
#include "videocapturethread.h" #include <QDebug> #include <opencv2/highgui/highgui.hpp> VideoCaptureThread::VideoCaptureThread(int cameraNum = 0) : cameraNum(cameraNum) { isRecording = false; camera = NULL; vWriter = NULL; //connect(this, SIGNAL(finished()), this, SLOT(deleteLater())); } VideoCaptur...
23.202532
113
0.554283
80c5a2a27d50f3aa69dc4866d2f39309eece010a
3,440
hpp
C++
include/tao/json/events/debug.hpp
mallexxx/json
da7ae64ef1af13949a9983a92fddac44390c4951
[ "BSD-3-Clause", "Apache-2.0", "MIT" ]
null
null
null
include/tao/json/events/debug.hpp
mallexxx/json
da7ae64ef1af13949a9983a92fddac44390c4951
[ "BSD-3-Clause", "Apache-2.0", "MIT" ]
null
null
null
include/tao/json/events/debug.hpp
mallexxx/json
da7ae64ef1af13949a9983a92fddac44390c4951
[ "BSD-3-Clause", "Apache-2.0", "MIT" ]
null
null
null
// Copyright (c) 2016-2018 Dr. Colin Hirsch and Daniel Frey // Please see LICENSE for license or visit https://github.com/taocpp/json/ #ifndef TAO_JSON_EVENTS_DEBUG_HPP #define TAO_JSON_EVENTS_DEBUG_HPP #include <cmath> #include <cstddef> #include <cstdint> #include <ostream> #include <string> #include "../binary_vi...
22.193548
82
0.371802
80c73e13996af716a05b3761f690bd9a902903d4
9,090
cpp
C++
src/translation_unit_base.cpp
achreto/fm-translation-framework
a46afcc43f94c8a224f32fcad988a830689a9256
[ "MIT" ]
null
null
null
src/translation_unit_base.cpp
achreto/fm-translation-framework
a46afcc43f94c8a224f32fcad988a830689a9256
[ "MIT" ]
null
null
null
src/translation_unit_base.cpp
achreto/fm-translation-framework
a46afcc43f94c8a224f32fcad988a830689a9256
[ "MIT" ]
null
null
null
/** * Translation Unit Base class implementation * * SPDX-License-Identifier: MIT * * Copyright (C) 2022, Reto Achermann (The University of British Columbia) */ #include "pv/PVBusMaster.h" #include "pv/PVAccessWidth.h" #include <framework/translation_unit_base.hpp> #include <framework/interface_base.hpp> #inclu...
30.199336
100
0.562376
80c7e24023da4a49c724c3ff8c1fd74df3d9528b
5,459
cpp
C++
cppLib/code/dep/G3D/source/UprightFrame.cpp
DrYaling/ProcedureContentGenerationForUnity
3c4f1e70b01e4fe2b9f847324b60b15016b9a740
[ "MIT" ]
3
2019-05-14T07:19:59.000Z
2019-05-14T08:08:25.000Z
cppLib/code/dep/G3D/source/UprightFrame.cpp
DrYaling/ProcedureContentGenerationForUnity
3c4f1e70b01e4fe2b9f847324b60b15016b9a740
[ "MIT" ]
null
null
null
cppLib/code/dep/G3D/source/UprightFrame.cpp
DrYaling/ProcedureContentGenerationForUnity
3c4f1e70b01e4fe2b9f847324b60b15016b9a740
[ "MIT" ]
1
2018-08-08T07:39:16.000Z
2018-08-08T07:39:16.000Z
/** \file UprightFrame.cpp \maintainer Morgan McGuire, http://graphics.cs.williams.edu */ #include "G3D/UprightFrame.h" #include "G3D/BinaryInput.h" #include "G3D/BinaryOutput.h" namespace G3D { UprightFrame::UprightFrame(const CoordinateFrame& cframe) { Vector3 look = cframe.lookVector(); yaw = (float...
25.390698
95
0.599744
80c7ebb1fcac1999f8ba5ef57dd73c1c11ecc57f
68,985
cpp
C++
src/drivers/mcr3.cpp
pierrelouys/PSP-MAME4ALL
54374b0579b7e2377f015ac155d8f519addfaa1a
[ "Unlicense" ]
1
2021-01-25T20:16:33.000Z
2021-01-25T20:16:33.000Z
src/drivers/mcr3.cpp
pierrelouys/PSP-MAME4ALL
54374b0579b7e2377f015ac155d8f519addfaa1a
[ "Unlicense" ]
1
2021-05-24T20:28:35.000Z
2021-05-25T14:44:54.000Z
src/drivers/mcr3.cpp
PSP-Archive/PSP-MAME4ALL
54374b0579b7e2377f015ac155d8f519addfaa1a
[ "Unlicense" ]
null
null
null
/*************************************************************************** MCR/III memory map (preliminary) 0000-3fff ROM 0 4000-7fff ROM 1 8000-cfff ROM 2 c000-dfff ROM 3 e000-e7ff RAM e800-e9ff spriteram f000-f7ff tiles f800-f8ff palette ram IN0 bit 0 : left coin bit 1 : right coin bit 2 : 1 player bit 3 : 2 pl...
29.543897
186
0.681757
80c98983d664cca7b9dc656ae9f59552415a5233
118
cpp
C++
project653/src/component723/cpp/lib2.cpp
gradle/perf-native-large
af00fd258fbe9c7d274f386e46847fe12062cc71
[ "Apache-2.0" ]
2
2016-11-23T17:25:24.000Z
2016-11-23T17:25:27.000Z
project653/src/component723/cpp/lib2.cpp
gradle/perf-native-large
af00fd258fbe9c7d274f386e46847fe12062cc71
[ "Apache-2.0" ]
15
2016-09-15T03:19:32.000Z
2016-09-17T09:15:32.000Z
project653/src/component723/cpp/lib2.cpp
gradle/perf-native-large
af00fd258fbe9c7d274f386e46847fe12062cc71
[ "Apache-2.0" ]
2
2019-11-09T16:26:55.000Z
2021-01-13T10:51:09.000Z
#include <stdio.h> #include <component723/lib1.h> int component723_2 () { printf("Hello world!\n"); return 0; }
13.111111
30
0.661017
80ca1ab3449e46af8d331c9fade430d018de3345
17,343
cc
C++
third_party/incubator-tvm/nnvm/src/top/nn/pooling.cc
KnowingNothing/akg-test
114d8626b824b9a31af50a482afc07ab7121862b
[ "Apache-2.0" ]
286
2020-06-23T06:40:44.000Z
2022-03-30T01:27:49.000Z
third_party/incubator-tvm/nnvm/src/top/nn/pooling.cc
KnowingNothing/akg-test
114d8626b824b9a31af50a482afc07ab7121862b
[ "Apache-2.0" ]
10
2020-07-31T03:26:59.000Z
2021-12-27T15:00:54.000Z
third_party/incubator-tvm/nnvm/src/top/nn/pooling.cc
KnowingNothing/akg-test
114d8626b824b9a31af50a482afc07ab7121862b
[ "Apache-2.0" ]
30
2020-07-17T01:04:14.000Z
2021-12-27T14:05:19.000Z
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
39.777523
91
0.659056
80ca4c1fac04ac410563ed7d8aa939c84589ad08
7,349
cpp
C++
libs/settings/tests/unit/setting_tests.cpp
jinmannwong/ledger
f3b129c127e107603e08bb192eb695d23eb17dbc
[ "Apache-2.0" ]
null
null
null
libs/settings/tests/unit/setting_tests.cpp
jinmannwong/ledger
f3b129c127e107603e08bb192eb695d23eb17dbc
[ "Apache-2.0" ]
null
null
null
libs/settings/tests/unit/setting_tests.cpp
jinmannwong/ledger
f3b129c127e107603e08bb192eb695d23eb17dbc
[ "Apache-2.0" ]
2
2019-11-13T10:55:24.000Z
2019-11-13T11:37:09.000Z
//------------------------------------------------------------------------------ // // Copyright 2018-2019 Fetch.AI Limited // // 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 // // ...
29.753036
87
0.68608
80ccef118362e7a49e597bc41752dd6e1eba9513
1,022
cpp
C++
Solutions/Construct Binary Tree from Preorder and Inorder/main.cpp
Crayzero/LeetCodeProgramming
b10ebe22c0de1501722f0f5c934c0c1902a26789
[ "MIT" ]
1
2015-04-13T10:58:30.000Z
2015-04-13T10:58:30.000Z
Solutions/Construct Binary Tree from Preorder and Inorder/main.cpp
Crayzero/LeetCodeProgramming
b10ebe22c0de1501722f0f5c934c0c1902a26789
[ "MIT" ]
null
null
null
Solutions/Construct Binary Tree from Preorder and Inorder/main.cpp
Crayzero/LeetCodeProgramming
b10ebe22c0de1501722f0f5c934c0c1902a26789
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; struct TreeNode { int val; TreeNode *left; TreeNode *right; TreeNode(int x): val(x), left(NULL), right(NULL) {} }; class Solution { public: TreeNode *buildTree(vector<int> &preorder, vector<int> &inorder) { return f(preorder, 0, pr...
29.2
116
0.605675
80ce767867f6a8ab050934ab193ba2fbeb6723d4
8,124
hpp
C++
response_cv.hpp
56059943/hlcinatra
de57b35a85cfc77d9c2f9645bbfbe9051ae8d068
[ "MIT" ]
2
2018-07-23T01:48:48.000Z
2020-05-25T09:40:47.000Z
response_cv.hpp
xiaoK0726/cinatra
438bf3accbcbebfd585a899c2c079f950769f946
[ "MIT" ]
null
null
null
response_cv.hpp
xiaoK0726/cinatra
438bf3accbcbebfd585a899c2c079f950769f946
[ "MIT" ]
1
2018-12-13T07:15:54.000Z
2018-12-13T07:15:54.000Z
#pragma once #include "use_asio.hpp" #include <string_view> namespace cinatra { enum class status_type { init, switching_protocols = 101, ok = 200, created = 201, accepted = 202, no_content = 204, partial_content = 206, multiple_choices = 300, moved_permanently = 301, moved_temporarily = 302, no...
34.423729
100
0.714426
80cfaf2424afefc32430d5f4d5443d473de4894f
2,922
cpp
C++
generator/opentable_dataset.cpp
ToshUxanoff/omim
a8acb5821c72bd78847d1c49968b14d15b1e06ee
[ "Apache-2.0" ]
1
2019-03-13T08:21:40.000Z
2019-03-13T08:21:40.000Z
generator/opentable_dataset.cpp
MohammadMoeinfar/omim
7b7d1990143bc3cbe218ea14b5428d0fc02d78fc
[ "Apache-2.0" ]
null
null
null
generator/opentable_dataset.cpp
MohammadMoeinfar/omim
7b7d1990143bc3cbe218ea14b5428d0fc02d78fc
[ "Apache-2.0" ]
null
null
null
#include "generator/opentable_dataset.hpp" #include "generator/feature_builder.hpp" #include "generator/sponsored_scoring.hpp" #include "indexer/classificator.hpp" #include "indexer/ftypes_matcher.hpp" #include "base/logging.hpp" #include "base/string_utils.hpp" #include <iomanip> #include <iostream> #include "boo...
33.586207
103
0.675565
80d0265eea34fb6d29f59358db1b032017bedec2
539
cc
C++
net/http/http_status_code.cc
pozdnyakov/chromium-crosswalk
0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2020-05-03T06:33:56.000Z
2021-11-14T18:39:42.000Z
net/http/http_status_code.cc
pozdnyakov/chromium-crosswalk
0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
net/http/http_status_code.cc
pozdnyakov/chromium-crosswalk
0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2013 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 "net/http/http_status_code.h" #include "base/logging.h" namespace net { const char* GetHttpReasonPhrase(HttpStatusCode code) { switch (code)...
20.730769
76
0.719852
80d0dc49bf7c748cde25fa9974b35878fe8d6bde
10,047
hpp
C++
src/3rd party/boost/boost/spirit/debug/debug_node.hpp
OLR-xray/OLR-3.0
b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611
[ "Apache-2.0" ]
8
2016-01-25T20:18:51.000Z
2019-03-06T07:00:04.000Z
src/3rd party/boost/boost/spirit/debug/debug_node.hpp
OLR-xray/OLR-3.0
b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611
[ "Apache-2.0" ]
null
null
null
src/3rd party/boost/boost/spirit/debug/debug_node.hpp
OLR-xray/OLR-3.0
b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611
[ "Apache-2.0" ]
3
2016-02-14T01:20:43.000Z
2021-02-03T11:19:11.000Z
/*============================================================================= Spirit v1.6.0 Copyright (c) 2001-2003 Joel de Guzman Copyright (c) 2002-2003 Hartmut Kaiser Copyright (c) 2003 Gustavo Guerra http://spirit.sourceforge.net/ Permission to copy, use, modify, sell and distribute this ...
32.099042
87
0.542052
80d1daf65975d4ba1be7f6e8b285cceed09f71e9
1,605
cpp
C++
logger.cpp
chenyoujie/GeoDa
87504344512bd0da2ccadfb160ecd1e918a52f06
[ "BSL-1.0" ]
null
null
null
logger.cpp
chenyoujie/GeoDa
87504344512bd0da2ccadfb160ecd1e918a52f06
[ "BSL-1.0" ]
null
null
null
logger.cpp
chenyoujie/GeoDa
87504344512bd0da2ccadfb160ecd1e918a52f06
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2005, 2006 // Seweryn Habdank-Wojewodzki // Distributed under the Boost Software License, // Version 1.0. // (copy at http://www.boost.org/LICENSE_1_0.txt) #include "logger.h" #if !defined(CLEANLOG) #define FTLOG #if !defined(DEBUG) #undef FTLOG #undef TLOG #endif //#if defined (FTLOG) //#include ...
24.692308
70
0.721495
80d25aae65572a296eec5063154ff3838cf4b360
7,058
cpp
C++
shared/test/unit_test/helpers/bit_helpers_tests.cpp
troels/compute-runtime
3269e719a3ee7bcd97c50ec2cfe78fc8674adec0
[ "Intel", "MIT" ]
778
2017-09-29T20:02:43.000Z
2022-03-31T15:35:28.000Z
shared/test/unit_test/helpers/bit_helpers_tests.cpp
troels/compute-runtime
3269e719a3ee7bcd97c50ec2cfe78fc8674adec0
[ "Intel", "MIT" ]
478
2018-01-26T16:06:45.000Z
2022-03-30T10:19:10.000Z
shared/test/unit_test/helpers/bit_helpers_tests.cpp
troels/compute-runtime
3269e719a3ee7bcd97c50ec2cfe78fc8674adec0
[ "Intel", "MIT" ]
215
2018-01-30T08:39:32.000Z
2022-03-29T11:08:51.000Z
/* * Copyright (C) 2019-2021 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "shared/source/helpers/bit_helpers.h" #include "gtest/gtest.h" using namespace NEO; TEST(IsBitSetTests, givenDifferentValuesWhenTestingIsBitSetThenCorrectValueIsReturned) { size_t field1 = 0; size_t field2 = 0...
35.29
96
0.726693
80d44a51c750cbd6805e532bfbf036a23be0346d
4,283
cpp
C++
src/qt/qtbase/tests/manual/gestures/graphicsview/gestures.cpp
power-electro/phantomjs-Gohstdriver-DIY-openshift
a571d301a9658a4c1b524d07e15658b45f8a0579
[ "BSD-3-Clause" ]
1
2020-04-30T15:47:35.000Z
2020-04-30T15:47:35.000Z
src/qt/qtbase/tests/manual/gestures/graphicsview/gestures.cpp
power-electro/phantomjs-Gohstdriver-DIY-openshift
a571d301a9658a4c1b524d07e15658b45f8a0579
[ "BSD-3-Clause" ]
null
null
null
src/qt/qtbase/tests/manual/gestures/graphicsview/gestures.cpp
power-electro/phantomjs-Gohstdriver-DIY-openshift
a571d301a9658a4c1b524d07e15658b45f8a0579
[ "BSD-3-Clause" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2015 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the test suite of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL21$ ** Commercial License Usage ** Licensees holding valid commercia...
34.540323
114
0.646276
80d62f7474f6918680b328a909d7424fc487703b
47,022
cxx
C++
swig-2.0.4/Source/Modules/chicken.cxx
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
1
2016-04-09T02:58:13.000Z
2016-04-09T02:58:13.000Z
swig-2.0.4/Source/Modules/chicken.cxx
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
null
null
null
swig-2.0.4/Source/Modules/chicken.cxx
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
null
null
null
/* ----------------------------------------------------------------------------- * This file is part of SWIG, which is licensed as a whole under version 3 * (or any later version) of the GNU General Public License. Some additional * terms also apply to certain portions of SWIG. The full details of the SWIG * licen...
30.494163
152
0.624304
80d88d4fa9985eeb6a8132df0ff0bd361615a33b
1,966
hpp
C++
include/solaire/parallel/thread_pool_executor.hpp
SolaireLibrary/solaire_parallel
eed82815215e1eb60b7ca29e19720f6707966383
[ "Apache-2.0" ]
null
null
null
include/solaire/parallel/thread_pool_executor.hpp
SolaireLibrary/solaire_parallel
eed82815215e1eb60b7ca29e19720f6707966383
[ "Apache-2.0" ]
null
null
null
include/solaire/parallel/thread_pool_executor.hpp
SolaireLibrary/solaire_parallel
eed82815215e1eb60b7ca29e19720f6707966383
[ "Apache-2.0" ]
null
null
null
#ifndef SOLAIRE_PARALEL_THREAD_POOL_EXECUTOR_HPP #define SOLAIRE_PARALEL_THREAD_POOL_EXECUTOR_HPP //Copyright 2016 Adam G. Smith // //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 :/...
26.931507
88
0.706002
80d950eacccf88a798578ce38845f2308be757aa
757
hpp
C++
src/include/duckdb/planner/operator/logical_copy_to_file.hpp
RelationalAI-oss/duckdb
a4908ae17de3ac62d42633ada03077b8c3ead7a5
[ "MIT" ]
2
2020-01-07T17:19:02.000Z
2020-01-09T22:04:04.000Z
src/include/duckdb/planner/operator/logical_copy_to_file.hpp
RelationalAI-oss/duckdb
a4908ae17de3ac62d42633ada03077b8c3ead7a5
[ "MIT" ]
null
null
null
src/include/duckdb/planner/operator/logical_copy_to_file.hpp
RelationalAI-oss/duckdb
a4908ae17de3ac62d42633ada03077b8c3ead7a5
[ "MIT" ]
null
null
null
//===----------------------------------------------------------------------===// // DuckDB // // planner/operator/logical_copy_to_file.hpp // // //===----------------------------------------------------------------------===// #pragma once #include "duckdb/parser/parsed_data/copy_info.hpp" #inc...
23.65625
80
0.569353
80dac28b65282292b53ef42d11aebcca5f92f82d
1,664
cpp
C++
implementations/ugene/src/corelibs/U2Lang/src/library/BaseThroughWorker.cpp
r-barnes/sw_comparison
1ac2c9cc10a32badd6b8fb1e96516c97f7800176
[ "BSD-Source-Code" ]
null
null
null
implementations/ugene/src/corelibs/U2Lang/src/library/BaseThroughWorker.cpp
r-barnes/sw_comparison
1ac2c9cc10a32badd6b8fb1e96516c97f7800176
[ "BSD-Source-Code" ]
null
null
null
implementations/ugene/src/corelibs/U2Lang/src/library/BaseThroughWorker.cpp
r-barnes/sw_comparison
1ac2c9cc10a32badd6b8fb1e96516c97f7800176
[ "BSD-Source-Code" ]
null
null
null
/** * UGENE - Integrated Bioinformatics Tools. * Copyright (C) 2008-2020 UniPro <ugene@unipro.ru> * http://ugene.net * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the L...
29.714286
97
0.736178
80db0115de030b7e18548330d48487d3542a06e7
3,336
cpp
C++
vnext/Desktop.UnitTests/WebSocketMocks.cpp
harinikmsft/react-native-windows
c73ecd0ffb8fb4ee5205ec610ab4b6dbc7f6ee21
[ "MIT" ]
null
null
null
vnext/Desktop.UnitTests/WebSocketMocks.cpp
harinikmsft/react-native-windows
c73ecd0ffb8fb4ee5205ec610ab4b6dbc7f6ee21
[ "MIT" ]
null
null
null
vnext/Desktop.UnitTests/WebSocketMocks.cpp
harinikmsft/react-native-windows
c73ecd0ffb8fb4ee5205ec610ab4b6dbc7f6ee21
[ "MIT" ]
null
null
null
#include "WebSocketMocks.h" using std::exception; using std::function; using std::string; namespace Microsoft::React::Test { MockWebSocketResource::~MockWebSocketResource() {} #pragma region IWebSocketResource overrides void MockWebSocketResource::Connect(const Protocols &protocols, const Options &opti...
25.272727
114
0.711331
80dbdafa854a5fc9ea6377dadef58a78acdda782
1,299
cpp
C++
level_zero/tools/source/sysman/engine/linux/os_engine_imp.cpp
8tab/compute-runtime
71bd96ad7184df83c7af04ffa8e0d6678ab26f99
[ "MIT" ]
null
null
null
level_zero/tools/source/sysman/engine/linux/os_engine_imp.cpp
8tab/compute-runtime
71bd96ad7184df83c7af04ffa8e0d6678ab26f99
[ "MIT" ]
null
null
null
level_zero/tools/source/sysman/engine/linux/os_engine_imp.cpp
8tab/compute-runtime
71bd96ad7184df83c7af04ffa8e0d6678ab26f99
[ "MIT" ]
null
null
null
/* * Copyright (C) 2020 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "level_zero/tools/source/sysman/engine/linux/os_engine_imp.h" namespace L0 { const std::string LinuxEngineImp::computeEngineGroupFile("engine/rcs0/name"); const std::string LinuxEngineImp::computeEngineGroupName("rcs0"); ze_...
29.522727
79
0.744419
80def142bb58b6c555024ff734b0fbd06536ef52
484
cpp
C++
test/lib/BookmarkSerializer_test.cpp
alepez/bmrk
04db2646b42662b976b4f4a1a5fb414ca73df163
[ "MIT" ]
null
null
null
test/lib/BookmarkSerializer_test.cpp
alepez/bmrk
04db2646b42662b976b4f4a1a5fb414ca73df163
[ "MIT" ]
null
null
null
test/lib/BookmarkSerializer_test.cpp
alepez/bmrk
04db2646b42662b976b4f4a1a5fb414ca73df163
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include <BookmarkSerializer.hpp> #include "helpers.hpp" namespace bmrk { struct BookmarkSerializerTest: public testing::Test { BookmarkSerializer bs; }; TEST_F(BookmarkSerializerTest, CanSerialize) { auto bookmark = createMockBookmark( "http://pezzato.net", "one", Tags({"foo", "bar...
22
69
0.700413
80dfc33806b5444b247ee40f6440363cfa8dcb1e
2,948
cpp
C++
examples/text/text.cpp
ntwyman/32blit-beta
56d1e6c964dbf39dee09dd939e52d7d5ef75d762
[ "MIT" ]
null
null
null
examples/text/text.cpp
ntwyman/32blit-beta
56d1e6c964dbf39dee09dd939e52d7d5ef75d762
[ "MIT" ]
null
null
null
examples/text/text.cpp
ntwyman/32blit-beta
56d1e6c964dbf39dee09dd939e52d7d5ef75d762
[ "MIT" ]
null
null
null
#include "text.hpp" using namespace blit; bool variable_width = true; TextAlign alignment = TextAlign::top_left; std::string alignment_to_string(TextAlign alignment) { switch (alignment) { case TextAlign::bottom_left: return "align: bottom_left"; case TextAlign::bottom_right: return "align: bottom_right";...
30.081633
141
0.692334
80e113e820b3058dd2e1b49d6c010ebe45526857
7,582
cc
C++
src/net/third_party/quiche/src/http2/adapter/test_utils.cc
kvmb/naiveproxy
8bbb7526b927cbaa82870a4c81a08ccf5e8e9c1d
[ "BSD-3-Clause" ]
3
2020-05-31T16:20:21.000Z
2021-09-05T20:39:50.000Z
src/net/third_party/quiche/src/http2/adapter/test_utils.cc
LImboing/naiveproxy
8bbb7526b927cbaa82870a4c81a08ccf5e8e9c1d
[ "BSD-3-Clause" ]
11
2019-10-15T23:03:57.000Z
2020-06-14T16:10:12.000Z
src/net/third_party/quiche/src/http2/adapter/test_utils.cc
LImboing/naiveproxy
8bbb7526b927cbaa82870a4c81a08ccf5e8e9c1d
[ "BSD-3-Clause" ]
7
2019-07-04T14:23:54.000Z
2020-04-27T08:52:51.000Z
#include "http2/adapter/test_utils.h" #include <ostream> #include "absl/strings/str_format.h" #include "common/quiche_endian.h" #include "spdy/core/hpack/hpack_encoder.h" #include "spdy/core/spdy_frame_reader.h" namespace http2 { namespace adapter { namespace test { TestDataFrameSource::TestDataFrameSource(Http2Vis...
34.779817
80
0.667106
80e2abd0223a3786643b9a2322a3e8e55291ed23
9,383
cpp
C++
drv/sd/sd_spi.cpp
yhsb2k/omef
7425b62dd4b5d0af4e320816293f69d16d39f57a
[ "MIT" ]
null
null
null
drv/sd/sd_spi.cpp
yhsb2k/omef
7425b62dd4b5d0af4e320816293f69d16d39f57a
[ "MIT" ]
null
null
null
drv/sd/sd_spi.cpp
yhsb2k/omef
7425b62dd4b5d0af4e320816293f69d16d39f57a
[ "MIT" ]
null
null
null
#include <stddef.h> #include <cstring> #include <assert.h> #include "sd_spi.hpp" #include "FreeRTOS.h" #include "task.h" using namespace drv; using namespace hal; #define WAIT_RESPONSE_CNT 10 #define TRANSMITTER_BIT 6 #define END_BIT 0 #define DATA_TOKEN_CMD17_18_24 0xFE #define DATA_TOKEN_CMD25 0xFC #...
27.925595
81
0.685175
80e393e0915fb4f27ac5d70395ba2130857a7d8e
261
cpp
C++
c++/factorial.cpp
ujwal475/Data-Structures-And-Algorithms
eab5d4b4011effac409cccde486280d8f8cebd32
[ "MIT" ]
26
2021-05-26T04:20:09.000Z
2022-03-06T15:26:56.000Z
c++/factorial.cpp
ujwal475/Data-Structures-And-Algorithms
eab5d4b4011effac409cccde486280d8f8cebd32
[ "MIT" ]
47
2021-10-06T07:22:48.000Z
2021-10-21T10:57:15.000Z
c++/factorial.cpp
ujwal475/Data-Structures-And-Algorithms
eab5d4b4011effac409cccde486280d8f8cebd32
[ "MIT" ]
61
2021-10-06T07:33:59.000Z
2021-11-27T15:54:25.000Z
#include <iostream> using namespace std; int fact(int n){ int i=n; while(n>1){ i = i*(n-1); --n; } return i; } int main(){ int n; cout << "Please enter a number:"; cin >> n; cout << fact(n) << endl; return 0; }
13.05
37
0.475096
80e3ea2d47c9b4227e4937d7cdcf9a6c8886b16c
9,278
cxx
C++
panda/src/putil/typedWritable_ext.cxx
kestred/panda3d
16bfd3750f726a8831771b81649d18d087917fd5
[ "PHP-3.01", "PHP-3.0" ]
3
2018-03-09T12:07:29.000Z
2021-02-25T06:50:25.000Z
panda/src/putil/typedWritable_ext.cxx
Sinkay/panda3d
16bfd3750f726a8831771b81649d18d087917fd5
[ "PHP-3.01", "PHP-3.0" ]
null
null
null
panda/src/putil/typedWritable_ext.cxx
Sinkay/panda3d
16bfd3750f726a8831771b81649d18d087917fd5
[ "PHP-3.01", "PHP-3.0" ]
null
null
null
// Filename: typedWritable_ext.cxx // Created by: rdb (10Dec13) // //////////////////////////////////////////////////////////////////// // // PANDA 3D SOFTWARE // Copyright (c) Carnegie Mellon University. All rights reserved. // // All use of this software is subject to the terms of the revised BSD // license. You s...
36.101167
116
0.604656
80e4db6830eb49c5da5e145f6b0ede663193c0df
1,688
cpp
C++
tests/graph/traversal/discovered_flag.cpp
AlCash07/ACTL
15de4e2783d8e39dbd8e10cd635aaab328ca4f5b
[ "BSL-1.0" ]
17
2018-08-22T06:48:20.000Z
2022-02-22T21:20:09.000Z
tests/graph/traversal/discovered_flag.cpp
AlCash07/ACTL
15de4e2783d8e39dbd8e10cd635aaab328ca4f5b
[ "BSL-1.0" ]
null
null
null
tests/graph/traversal/discovered_flag.cpp
AlCash07/ACTL
15de4e2783d8e39dbd8e10cd635aaab328ca4f5b
[ "BSL-1.0" ]
null
null
null
// Copyright 2018 Oleksandr Bacherikov. // // Distributed under the Boost Software License, Version 1.0 // (see accompanying file LICENSE.txt or copy at // http://www.boost.org/LICENSE_1_0.txt). #include <actl/graph/default_map.hpp> #include <actl/graph/traversal/breadth_first_search.hpp> #include <actl/graph/traver...
26.375
71
0.543839
80e670f7c00b65cb090fa7cd8b7eb8eed5df787c
33,813
cpp
C++
indires_macro_actions/src/Indires_macro_actions.cpp
Tutorgaming/indires_navigation
830097ac0a3e3a64da9026518419939b509bbe71
[ "BSD-3-Clause" ]
90
2019-07-19T13:44:35.000Z
2022-02-17T21:39:15.000Z
indires_macro_actions/src/Indires_macro_actions.cpp
Tutorgaming/indires_navigation
830097ac0a3e3a64da9026518419939b509bbe71
[ "BSD-3-Clause" ]
13
2019-12-02T07:32:18.000Z
2021-08-10T09:38:44.000Z
indires_macro_actions/src/Indires_macro_actions.cpp
Tutorgaming/indires_navigation
830097ac0a3e3a64da9026518419939b509bbe71
[ "BSD-3-Clause" ]
26
2019-05-27T14:43:43.000Z
2022-02-17T21:39:19.000Z
#include <indires_macro_actions/Indires_macro_actions.h> /* Status can take this values: uint8 PENDING = 0 # The goal has yet to be processed by the action server uint8 ACTIVE = 1 # The goal is currently being processed by the action server uint8 PREEMPTED = 2 # The goal received a cancel...
30.683303
107
0.658001
80e6d38c87acd8605315d45b0d400b2a3bd80526
49,223
cpp
C++
agent/agent.cpp
MatthewPowley/cppagent
fccb7794723ba71025dfd1ea633332422f99a3dd
[ "Apache-2.0" ]
null
null
null
agent/agent.cpp
MatthewPowley/cppagent
fccb7794723ba71025dfd1ea633332422f99a3dd
[ "Apache-2.0" ]
null
null
null
agent/agent.cpp
MatthewPowley/cppagent
fccb7794723ba71025dfd1ea633332422f99a3dd
[ "Apache-2.0" ]
null
null
null
/* * Copyright Copyright 2012, System Insights, 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 requi...
31.232868
124
0.572639
80eadfcfb890ab9d53fee493019fbde5087937fb
14,756
cc
C++
google/cloud/bigtable/internal/logging_instance_admin_client_test.cc
utgarda/google-cloud-cpp
c4fd446d2c9e1428bcec10917f269f8e5c0a8bc0
[ "Apache-2.0" ]
null
null
null
google/cloud/bigtable/internal/logging_instance_admin_client_test.cc
utgarda/google-cloud-cpp
c4fd446d2c9e1428bcec10917f269f8e5c0a8bc0
[ "Apache-2.0" ]
null
null
null
google/cloud/bigtable/internal/logging_instance_admin_client_test.cc
utgarda/google-cloud-cpp
c4fd446d2c9e1428bcec10917f269f8e5c0a8bc0
[ "Apache-2.0" ]
null
null
null
// Copyright 2020 Google 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 in ...
33.309255
79
0.756506
80eb98790843ae825cc31caf05545e7d7fc50507
1,382
hpp
C++
src/frontmatter/frontmatter.hpp
foo-dogsquared/automate-md
c278c7ab93d34da198ce409556a8e2df287f4b17
[ "MIT" ]
4
2018-09-29T17:00:16.000Z
2022-01-23T14:53:04.000Z
src/frontmatter/frontmatter.hpp
foo-dogsquared/automate-md
c278c7ab93d34da198ce409556a8e2df287f4b17
[ "MIT" ]
5
2018-11-06T15:45:17.000Z
2018-12-11T13:39:31.000Z
src/frontmatter/frontmatter.hpp
foo-dogsquared/automate-md
c278c7ab93d34da198ce409556a8e2df287f4b17
[ "MIT" ]
null
null
null
#include <map> #include <regex> #define MAX_ARR_LENGTH 16 #define MAX_DATE_LENGTH 26 #define MAX_TITLE_LENGTH 64 #define MAX_AUTHOR_LENGTH 32 typedef struct _frontmatter { std::map<std::string, std::string> list; int categories_length; int tags_length; std::string type; std::string __open_divider;...
23.827586
82
0.631693
80ed2ad5b3adb1be832fa47ad9ed66fd518e0574
4,219
hpp
C++
src/base/interpolator/Interpolator.hpp
rockstorm101/GMAT
00b6b61a40560c095da3d83dab4ab1e9157f01c7
[ "Apache-2.0" ]
1
2018-09-18T07:09:36.000Z
2018-09-18T07:09:36.000Z
src/base/interpolator/Interpolator.hpp
rockstorm101/GMAT
00b6b61a40560c095da3d83dab4ab1e9157f01c7
[ "Apache-2.0" ]
null
null
null
src/base/interpolator/Interpolator.hpp
rockstorm101/GMAT
00b6b61a40560c095da3d83dab4ab1e9157f01c7
[ "Apache-2.0" ]
2
2020-06-18T04:45:30.000Z
2021-07-20T02:11:54.000Z
//$Id$ //------------------------------------------------------------------------------ // Interpolator //------------------------------------------------------------------------------ // GMAT: General Mission Analysis Tool. // // Copyright (c) 2002 - 2015 United States Government ...
35.158333
81
0.604172
80ee8e5fcad8c9774fabe3dc0d0081079af6ae80
4,849
cc
C++
lite/backends/nnadapter/nnadapter/driver/huawei_ascend_npu/converter/pool2d.cc
ChinaCYong/Paddle-Lite
8d161bd76c86445c42f00421983e389c11323797
[ "Apache-2.0" ]
1
2021-07-12T10:46:19.000Z
2021-07-12T10:46:19.000Z
lite/backends/nnadapter/nnadapter/driver/huawei_ascend_npu/converter/pool2d.cc
fuaq/Paddle-Lite
56e1239410d976842fc6f7792de13c9d007d253f
[ "Apache-2.0" ]
null
null
null
lite/backends/nnadapter/nnadapter/driver/huawei_ascend_npu/converter/pool2d.cc
fuaq/Paddle-Lite
56e1239410d976842fc6f7792de13c9d007d253f
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2019 PaddlePaddle 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...
44.081818
78
0.670241
80ef0d8a50449bb2b90ce59f752fc9c46bbcd66d
4,254
cpp
C++
Userland/Libraries/LibWeb/Layout/Label.cpp
r00ster91/serenity
f8387dea2689d564aff612bfd4ec5086393fac35
[ "BSD-2-Clause" ]
19,438
2019-05-20T15:11:11.000Z
2022-03-31T23:31:32.000Z
Userland/Libraries/LibWeb/Layout/Label.cpp
r00ster91/serenity
f8387dea2689d564aff612bfd4ec5086393fac35
[ "BSD-2-Clause" ]
7,882
2019-05-20T01:03:52.000Z
2022-03-31T23:26:31.000Z
Userland/Libraries/LibWeb/Layout/Label.cpp
r00ster91/serenity
f8387dea2689d564aff612bfd4ec5086393fac35
[ "BSD-2-Clause" ]
2,721
2019-05-23T00:44:57.000Z
2022-03-31T22:49:34.000Z
/* * Copyright (c) 2021, Tim Flynn <trflynn89@pm.me> * * SPDX-License-Identifier: BSD-2-Clause */ #include <LibGUI/Event.h> #include <LibGfx/Painter.h> #include <LibGfx/StylePainter.h> #include <LibWeb/DOM/Document.h> #include <LibWeb/DOM/Element.h> #include <LibWeb/HTML/BrowsingContext.h> #include <LibWeb/Layout/...
30.170213
113
0.683827
80f1149c50a621b596022f27e1eb8c5ddc1b3b2f
4,540
hpp
C++
src/mat/opr/num.hpp
Thhethssmuz/mmm
ee91a990fba3849db1fc2b6df0e89004e2df466f
[ "MIT" ]
1
2017-03-14T20:45:54.000Z
2017-03-14T20:45:54.000Z
src/mat/opr/num.hpp
Thhethssmuz/mmm
ee91a990fba3849db1fc2b6df0e89004e2df466f
[ "MIT" ]
1
2017-03-08T17:14:03.000Z
2017-03-08T23:40:35.000Z
src/mat/opr/num.hpp
Thhethssmuz/mmm
ee91a990fba3849db1fc2b6df0e89004e2df466f
[ "MIT" ]
null
null
null
#pragma once template <typename T, size_t N, size_t M, typename = typefu::for_arithmetic<T>> constexpr tmat<T, N, M> operator+(T s, const tmat<T, N, M>& m); template <typename T, typename U, size_t N, size_t M, typename = typefu::for_arithmetic<T, U>> constexpr tmat<T, N, M> operator+(U s, const tmat<T, N, ...
41.651376
79
0.633921
80f13c80ed70d799f2b000a71c7483cab558589d
534
cpp
C++
src/10.cpp
wandering007/ProjectEuler
332e1053aa8d65e764952f4133ff0f06d028136a
[ "Apache-2.0" ]
4
2015-05-02T09:15:54.000Z
2018-06-28T16:18:20.000Z
src/10.cpp
wandering007/ProjectEuler
332e1053aa8d65e764952f4133ff0f06d028136a
[ "Apache-2.0" ]
null
null
null
src/10.cpp
wandering007/ProjectEuler
332e1053aa8d65e764952f4133ff0f06d028136a
[ "Apache-2.0" ]
1
2017-10-29T06:35:59.000Z
2017-10-29T06:35:59.000Z
#include <iostream> #include <vector> int main() { const int N = 2000000; std::vector<int> is_prime(N, 1); for (int k = 2; k + k < N; ++k) { for (int j = k + k; j < N; j += k) { is_prime[j] = 0; } } long long sum_of_primes = 0; // 不能用int for (int i = 2; ...
26.7
98
0.456929
80f150649a995bbec45e690f159257810537b405
25,084
hpp
C++
include/RAJA/policy/hip/sort.hpp
keichi/RAJA
8e8cc96cbccda2bfc33b14b57a8591b2cf9ca342
[ "BSD-3-Clause" ]
null
null
null
include/RAJA/policy/hip/sort.hpp
keichi/RAJA
8e8cc96cbccda2bfc33b14b57a8591b2cf9ca342
[ "BSD-3-Clause" ]
null
null
null
include/RAJA/policy/hip/sort.hpp
keichi/RAJA
8e8cc96cbccda2bfc33b14b57a8591b2cf9ca342
[ "BSD-3-Clause" ]
null
null
null
/*! ****************************************************************************** * * \file * * \brief Header file providing RAJA sort declarations. * ****************************************************************************** */ //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~// // ...
37.271917
155
0.54772
80f1a3fe3290d70601a0530de0edda17489931b1
42
cpp
C++
2018/day15/day15/graph.cpp
zagura/aoc-2017
bfd38fb6fbe4211017a306d218b32ecff741e006
[ "MIT" ]
2
2018-12-09T16:00:09.000Z
2018-12-09T17:56:15.000Z
2018/day15/day15/graph.cpp
zagura/aoc-2017
bfd38fb6fbe4211017a306d218b32ecff741e006
[ "MIT" ]
null
null
null
2018/day15/day15/graph.cpp
zagura/aoc-2017
bfd38fb6fbe4211017a306d218b32ecff741e006
[ "MIT" ]
null
null
null
#include "graph.hpp" Graph::Graph() { }
6
20
0.595238
80f3d98b065279779da3a4fa531dcb89099b8e50
14,935
cc
C++
modules/perception/obstacle/camera/converter/geometry_camera_converter.cc
DinnerHowe/apollo
f45b63ea2f2409dbd1b007476d816d6ec44ba06c
[ "Apache-2.0" ]
19
2018-07-26T03:17:32.000Z
2021-01-04T02:17:09.000Z
modules/perception/obstacle/camera/converter/geometry_camera_converter.cc
DinnerHowe/apollo
f45b63ea2f2409dbd1b007476d816d6ec44ba06c
[ "Apache-2.0" ]
null
null
null
modules/perception/obstacle/camera/converter/geometry_camera_converter.cc
DinnerHowe/apollo
f45b63ea2f2409dbd1b007476d816d6ec44ba06c
[ "Apache-2.0" ]
10
2018-10-17T03:18:16.000Z
2020-07-02T06:18:14.000Z
/****************************************************************************** * Copyright 2018 The Apollo 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 ...
36.3382
83
0.640509
80f457acb73146c1efd6b335b61609bd3182ebbc
2,890
cpp
C++
StepEditor/RawResponseDlg.cpp
edwig/Kwatta
ce1ca2907608e65ed62d7dbafa9ab1d030caccfe
[ "MIT" ]
1
2021-12-31T17:20:01.000Z
2021-12-31T17:20:01.000Z
StepEditor/RawResponseDlg.cpp
edwig/Kwatta
ce1ca2907608e65ed62d7dbafa9ab1d030caccfe
[ "MIT" ]
10
2022-01-14T13:28:32.000Z
2022-02-13T12:46:34.000Z
StepEditor/RawResponseDlg.cpp
edwig/Kwatta
ce1ca2907608e65ed62d7dbafa9ab1d030caccfe
[ "MIT" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////////////////////////////// // // // ██╗░░██╗░██╗░░░░░░░██╗░█████╗░████████╗████████╗░█████╗░ // ██║░██╔╝░██║░░██╗░░██║██╔══██╗╚══██╔══╝╚══██╔══╝██╔══██╗ // █████═╝░░╚██╗████╗██╔╝███████║░░░██║░░░░░░██║░░░███████║ // ██╔═██╗░░░████╔═████║░██╔...
22.403101
111
0.597924
80f6bc462b24e46667b580c21423f59b1e35b003
226
cpp
C++
Engine/Source/Runtime/Engine/Private/AI/Navigation/NavAreas/NavArea_Default.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
1
2022-01-29T18:36:12.000Z
2022-01-29T18:36:12.000Z
Engine/Source/Runtime/Engine/Private/AI/Navigation/NavAreas/NavArea_Default.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
Engine/Source/Runtime/Engine/Private/AI/Navigation/NavAreas/NavArea_Default.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #include "AI/Navigation/NavAreas/NavArea_Default.h" UNavArea_Default::UNavArea_Default(const FObjectInitializer& ObjectInitializer) : Super(ObjectInitializer) { }
28.25
106
0.809735
80f9094b2e531ee4919911441a2d788de2d55135
2,871
hpp
C++
hpx/performance_counters/parcels/count_time_stats.hpp
andreasbuhr/hpx
4366a90aacbd3e95428a94ab24a1646a67459cc2
[ "BSL-1.0" ]
null
null
null
hpx/performance_counters/parcels/count_time_stats.hpp
andreasbuhr/hpx
4366a90aacbd3e95428a94ab24a1646a67459cc2
[ "BSL-1.0" ]
null
null
null
hpx/performance_counters/parcels/count_time_stats.hpp
andreasbuhr/hpx
4366a90aacbd3e95428a94ab24a1646a67459cc2
[ "BSL-1.0" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2011 Katelyn Kufahl // // 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) ///////////////////////////////////////////...
26.831776
80
0.695925
80fc1f458a79c0de61a543dd5740af2af132a74f
12,484
hpp
C++
libs/core/algorithms/include/hpx/parallel/algorithms/detail/dispatch.hpp
Andrea-MariaDB-2/hpx
e230dddce4a8783817f38e07f5a77e624f64f826
[ "BSL-1.0" ]
1,822
2015-01-03T11:22:37.000Z
2022-03-31T14:49:59.000Z
libs/core/algorithms/include/hpx/parallel/algorithms/detail/dispatch.hpp
Andrea-MariaDB-2/hpx
e230dddce4a8783817f38e07f5a77e624f64f826
[ "BSL-1.0" ]
3,288
2015-01-05T17:00:23.000Z
2022-03-31T18:49:41.000Z
libs/core/algorithms/include/hpx/parallel/algorithms/detail/dispatch.hpp
Andrea-MariaDB-2/hpx
e230dddce4a8783817f38e07f5a77e624f64f826
[ "BSL-1.0" ]
431
2015-01-07T06:22:14.000Z
2022-03-31T14:50:04.000Z
// Copyright (c) 2007-2017 Hartmut Kaiser // Copyright (c) 2021 Giannis Gonidelis // // SPDX-License-Identifier: BSL-1.0 // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #pragma once #include <hpx/config.hpp> ...
37.377246
80
0.577539
80fd9445db389266bd3811e34ba54dcf7ca678d3
532
cpp
C++
lab0/Q5.cpp
jasonsie88/Algorithm
4d373df037aa68f4810e271d7f8488f3ded81864
[ "MIT" ]
1
2021-09-14T12:10:50.000Z
2021-09-14T12:10:50.000Z
lab0/Q5.cpp
jasonsie88/Algorithm
4d373df037aa68f4810e271d7f8488f3ded81864
[ "MIT" ]
null
null
null
lab0/Q5.cpp
jasonsie88/Algorithm
4d373df037aa68f4810e271d7f8488f3ded81864
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int main(){ int ncase; while(cin>>ncase){ if(ncase==0){ break; } int a1[ncase+5],a2[ncase+5]; for(int i=0;i<ncase;i++){ cin>>a1[i]>>a2[i]; } bool flag=true; if(ncase%2){ cout<<"NO\n"; }else{ sort(a1,a1+ncase); sort(a...
14
33
0.456767
80febcc662731b8104dbabdf1bfd52b7ff8bab4d
25,134
cpp
C++
wznmcmbd/IexWznm/JobWznmIexIex.cpp
mpsitech/wznm-WhizniumSBE
4911d561b28392d485c46e98fb915168d82b3824
[ "MIT" ]
3
2020-09-20T16:24:48.000Z
2021-12-01T19:44:51.000Z
wznmcmbd/IexWznm/JobWznmIexIex.cpp
mpsitech/wznm-WhizniumSBE
4911d561b28392d485c46e98fb915168d82b3824
[ "MIT" ]
null
null
null
wznmcmbd/IexWznm/JobWznmIexIex.cpp
mpsitech/wznm-WhizniumSBE
4911d561b28392d485c46e98fb915168d82b3824
[ "MIT" ]
null
null
null
/** * \file JobWznmIexIex.cpp * job handler for job JobWznmIexIex (implementation) * \copyright (C) 2016-2020 MPSI Technologies GmbH * \author Alexander Wirthmueller (auto-generation) * \date created: 28 Nov 2020 */ // IP header --- ABOVE #ifdef WZNMCMBD #include <Wznmcmbd.h> #else #include <Wznmd.h> #endif #...
32.769231
334
0.684133
44005351e0d4c83cc5ca5c08aee2c529b22f4080
40,782
cc
C++
src/bin/dhcp6/json_config_parser.cc
oss-mirror/isc-kea
e7bfb8886b0312a293e73846499095e7ec9686b9
[ "Apache-2.0" ]
273
2015-01-22T14:14:42.000Z
2022-03-13T10:27:44.000Z
src/bin/dhcp6/json_config_parser.cc
oss-mirror/isc-kea
e7bfb8886b0312a293e73846499095e7ec9686b9
[ "Apache-2.0" ]
104
2015-01-16T16:37:06.000Z
2021-08-08T19:38:45.000Z
src/bin/dhcp6/json_config_parser.cc
oss-mirror/isc-kea
e7bfb8886b0312a293e73846499095e7ec9686b9
[ "Apache-2.0" ]
133
2015-02-21T14:06:39.000Z
2022-02-27T08:56:40.000Z
// Copyright (C) 2012-2021 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. #include <config.h> #include <asiolink/io_ad...
42.569937
94
0.597568
44007d6c50bd95a8ea0f81ef4a35f463cf0caffb
2,004
cxx
C++
src/SimpleCalCalib/TholdCI.cxx
fermi-lat/CalUtil
98b5b658257b5ffe2584cf786dd2e506173e2d8f
[ "BSD-3-Clause" ]
null
null
null
src/SimpleCalCalib/TholdCI.cxx
fermi-lat/CalUtil
98b5b658257b5ffe2584cf786dd2e506173e2d8f
[ "BSD-3-Clause" ]
null
null
null
src/SimpleCalCalib/TholdCI.cxx
fermi-lat/CalUtil
98b5b658257b5ffe2584cf786dd2e506173e2d8f
[ "BSD-3-Clause" ]
null
null
null
/** @file @author Zachary Fewtrell */ // LOCAL INCLUDES #include "CalUtil/SimpleCalCalib/TholdCI.h" // GLAST INCLUDES // EXTLIB INCLUDES // STD INCLUDES #include <sstream> #include <string> #include <fstream> using namespace CalUtil; using namespace std; namespace CalUtil { const short TholdCI::INVALID_THOL...
25.367089
70
0.56487
4400ac6a4b285923557ac5fb8ca4f0d259f3ca9e
774
cpp
C++
2stack_queue.cpp
xiaobinf/algorithm
85a0cfc72daf6da91c4d0f568e31be69d4f19bd9
[ "MIT" ]
null
null
null
2stack_queue.cpp
xiaobinf/algorithm
85a0cfc72daf6da91c4d0f568e31be69d4f19bd9
[ "MIT" ]
null
null
null
2stack_queue.cpp
xiaobinf/algorithm
85a0cfc72daf6da91c4d0f568e31be69d4f19bd9
[ "MIT" ]
null
null
null
#include <iostream> #include <stack> #include <exception> using std::clog; using std::endl; /** * 用两个栈模拟队列操作 画好过程图 * @tparam T */ template <class T> class QStack{ public: QStack(){} ~QStack(){} T q_pop(); void q_push(T x); private: std::stack<T> s1; std::stack<T> s2; }; ...
16.468085
38
0.484496
44010427dfc62f2f560cc39530688bc9d5ee9cf0
478
cc
C++
abel/strings/internal/ostringstream.cc
Conun/abel
485ef38c917c0df3750242cc38966a2bcb163588
[ "BSD-3-Clause" ]
null
null
null
abel/strings/internal/ostringstream.cc
Conun/abel
485ef38c917c0df3750242cc38966a2bcb163588
[ "BSD-3-Clause" ]
null
null
null
abel/strings/internal/ostringstream.cc
Conun/abel
485ef38c917c0df3750242cc38966a2bcb163588
[ "BSD-3-Clause" ]
null
null
null
// #include <abel/strings/internal/ostringstream.h> namespace abel { namespace strings_internal { OStringStream::Buf::int_type OStringStream::overflow(int c) { assert(s_); if (!Buf::traits_type::eq_int_type(c, Buf::traits_type::eof())) s_->push_back(static_cast<char>(c)); return 1; } std::streamsize OStr...
19.12
73
0.696653
4401838fbbaf23517ca138f45a07b2e3294e7e9f
887
cc
C++
netz/ether_support.cc
PariKhaleghi/BlackFish
dde6e4de00744be04848853e6f8d12cd4c54fd73
[ "BSD-3-Clause" ]
1
2022-03-03T08:47:33.000Z
2022-03-03T08:47:33.000Z
netz/ether_support.cc
PariKhaleghi/BlackFish
dde6e4de00744be04848853e6f8d12cd4c54fd73
[ "BSD-3-Clause" ]
null
null
null
netz/ether_support.cc
PariKhaleghi/BlackFish
dde6e4de00744be04848853e6f8d12cd4c54fd73
[ "BSD-3-Clause" ]
null
null
null
#ifdef OS_AIX #include <memory.h> #endif #ifdef OS_OPENBSD #include <memory.h> #endif #ifdef OS_LINUX #include <string.h> #endif #include "ether_support.h" #include "support.h" c_ether_header::c_ether_header(byte *ether_header) { header = (s_ether_header *)ether_header; } c_ether_header::c_ether_header(s_ether...
14.783333
60
0.706877
4402919f1922b8d1c7aa1b0aba90b53f65624833
1,803
cpp
C++
2course/Programming/examples/from_study_guide/5_1.cpp
posgen/OmsuMaterials
6132fe300154db97327667728c4cf3b0e19420e6
[ "Unlicense" ]
9
2017-04-03T08:52:58.000Z
2020-06-05T18:25:02.000Z
2course/Programming/examples/from_study_guide/5_1.cpp
posgen/OmsuMaterials
6132fe300154db97327667728c4cf3b0e19420e6
[ "Unlicense" ]
6
2018-02-07T18:26:27.000Z
2021-09-02T04:46:06.000Z
2course/Programming/examples/from_study_guide/5_1.cpp
posgen/OmsuMaterials
6132fe300154db97327667728c4cf3b0e19420e6
[ "Unlicense" ]
10
2018-11-12T18:18:47.000Z
2020-06-06T06:17:01.000Z
/* Определить функцию для вычисления по формуле Ньютона приблежённого значения арифметического квадратного корня. В формуле Ньютона итерации определяются по формуле r_[n+1] = (r_[n] + x / r_[n]) / 2 Версия для C++ */ #include <iostream> #include <cmath> #include <clocale> const double PRECISION = 0.00...
28.619048
127
0.688297
4403212b21171ef9dbb3bf9840fd2b8e1f3f86dc
22,092
cc
C++
src/ldbrock.cc
GiantShawn/ldbrock
4cebaacdf323018d258a99e7e22eb2052add8fae
[ "Unlicense" ]
null
null
null
src/ldbrock.cc
GiantShawn/ldbrock
4cebaacdf323018d258a99e7e22eb2052add8fae
[ "Unlicense" ]
null
null
null
src/ldbrock.cc
GiantShawn/ldbrock
4cebaacdf323018d258a99e7e22eb2052add8fae
[ "Unlicense" ]
null
null
null
#include <vector> #include <string> #include <iostream> #include <cstdarg> #include <unordered_map> #include <fstream> #include <ctype.h> extern "C" { #include <linenoise/linenoise.h> } // LevelDB Headers #include <leveldb/db.h> #include <leveldb/write_batch.h> using namespace std; #define SPACECHR " \t\n" #define...
32.110465
113
0.47017
4403da96c1a053243a411d33ceecba44a494520e
20,089
hpp
C++
src/thirdparty/stlsoft/STLSoft/include/winstl/controls/listview_sequence.hpp
nneesshh/servercore
8aceb7c9d5b26976469645a708b4ab804864c03f
[ "MIT" ]
null
null
null
src/thirdparty/stlsoft/STLSoft/include/winstl/controls/listview_sequence.hpp
nneesshh/servercore
8aceb7c9d5b26976469645a708b4ab804864c03f
[ "MIT" ]
null
null
null
src/thirdparty/stlsoft/STLSoft/include/winstl/controls/listview_sequence.hpp
nneesshh/servercore
8aceb7c9d5b26976469645a708b4ab804864c03f
[ "MIT" ]
2
2020-11-04T03:07:09.000Z
2020-11-05T08:14:45.000Z
/* ///////////////////////////////////////////////////////////////////////// * File: winstl/controls/listview_sequence.hpp * * Purpose: Contains the listview_sequence class template. * * Created: 8th May 2003 * Updated: 19th February 2017 * * Thanks: To Pablo Aguilar for making the requi...
32.771615
141
0.636816
4403dfed513c5fdb39e812465f6013deb45634de
79,067
cpp
C++
trunk/win/Source/BT_Camera.cpp
dyzmapl/BumpTop
1329ea41411c7368516b942d19add694af3d602f
[ "Apache-2.0" ]
460
2016-01-13T12:49:34.000Z
2022-02-20T04:10:40.000Z
trunk/win/Source/BT_Camera.cpp
dyzmapl/BumpTop
1329ea41411c7368516b942d19add694af3d602f
[ "Apache-2.0" ]
24
2016-11-07T04:59:49.000Z
2022-03-14T06:34:12.000Z
trunk/win/Source/BT_Camera.cpp
dyzmapl/BumpTop
1329ea41411c7368516b942d19add694af3d602f
[ "Apache-2.0" ]
148
2016-01-17T03:16:43.000Z
2022-03-17T12:20:36.000Z
// Copyright 2012 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...
28.441367
176
0.700634
4404caf10481aafdc607b1ccbd70358f2688c0a2
15,851
cc
C++
GeneratorInterface/SherpaInterface/src/SherpackUtilities.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
GeneratorInterface/SherpaInterface/src/SherpackUtilities.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
GeneratorInterface/SherpaInterface/src/SherpackUtilities.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
#include "GeneratorInterface/SherpaInterface/interface/SherpackUtilities.h" #include <unistd.h> #include <cstdlib> namespace spu { // functions for inflating (and deflating) //~ /* Compress from file source to file dest until EOF on source. //~ def() returns Z_OK on success, Z_MEM_ERROR if memory could not be ...
31.202756
95
0.507854
4405819af9694991e962881bc68366cfcf3778a2
116
cpp
C++
src/virtual_call_in_destructor_link.cpp
geoffviola/undefined_behavior_study
c405fa766284473c5b3c9ce415c18bcc2bba227c
[ "Apache-2.0" ]
9
2017-03-18T09:15:36.000Z
2020-05-24T18:00:37.000Z
src/virtual_call_in_destructor_link.cpp
geoffviola/undefined_behavior_study
c405fa766284473c5b3c9ce415c18bcc2bba227c
[ "Apache-2.0" ]
1
2018-06-19T19:36:19.000Z
2018-10-15T16:49:29.000Z
src/virtual_call_in_destructor_link.cpp
geoffviola/undefined_behavior_study
c405fa766284473c5b3c9ce415c18bcc2bba227c
[ "Apache-2.0" ]
3
2017-03-18T01:44:49.000Z
2022-01-04T03:22:02.000Z
#include <cstdlib> #include "virtual_call_in_destructor_lib.hpp" int main() { Child c; return EXIT_SUCCESS; }
12.888889
45
0.732759
4406e1f01d45dd7a79d75d62ab3b011c0e304b61
2,594
cpp
C++
src/context.cpp
vish3vs/SAPP
0e6da99bc93920237c65c250848f1f46aef16647
[ "MIT" ]
null
null
null
src/context.cpp
vish3vs/SAPP
0e6da99bc93920237c65c250848f1f46aef16647
[ "MIT" ]
null
null
null
src/context.cpp
vish3vs/SAPP
0e6da99bc93920237c65c250848f1f46aef16647
[ "MIT" ]
null
null
null
// Copyright (c) 2020 The SAPP developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "context.h" #include "timedata.h" #include "util.h" #include <memory> #include <exception> using namespace std; static unique_...
27.595745
86
0.759059
440766b9513511298f9600103484d10624b58b09
2,063
cpp
C++
library/src/main/jni/_onload.cpp
badpx/IndexBitmap
d940d56a31ce7f0ee717d12132c4c51c2fd6520b
[ "Apache-2.0" ]
11
2015-08-24T13:29:10.000Z
2020-07-18T08:10:55.000Z
library/src/main/jni/_onload.cpp
badpx/IndexBitmap
d940d56a31ce7f0ee717d12132c4c51c2fd6520b
[ "Apache-2.0" ]
3
2016-03-28T10:23:15.000Z
2018-11-02T02:13:00.000Z
library/src/main/jni/_onload.cpp
badpx/IndexBitmap
d940d56a31ce7f0ee717d12132c4c51c2fd6520b
[ "Apache-2.0" ]
4
2016-01-09T10:42:03.000Z
2019-05-02T03:04:37.000Z
#include <android/log.h> #include "baseutils.h" #include "_onload.h" #include "skbitmap_helper.h" #define LOCAL_DEBUG 0 static JNINativeMethod methods[] = { { "nativeInit", "(Landroid/graphics/Bitmap;[I)Z", (void*)Init }, { "nativeGetBytesPerPixel", "(Landroid/graphics/Bitmap;)I", (void*)GetBytesPerPixel }, ...
28.652778
108
0.672807
44076f00c9acc115ab70c1121a76857ad79248c9
438
hpp
C++
i23dSFM/matching/matcher_type.hpp
zyxrrr/GraphSfM
1af22ec17950ffc8a5c737a6a46f4465c40aa470
[ "BSD-3-Clause" ]
null
null
null
i23dSFM/matching/matcher_type.hpp
zyxrrr/GraphSfM
1af22ec17950ffc8a5c737a6a46f4465c40aa470
[ "BSD-3-Clause" ]
null
null
null
i23dSFM/matching/matcher_type.hpp
zyxrrr/GraphSfM
1af22ec17950ffc8a5c737a6a46f4465c40aa470
[ "BSD-3-Clause" ]
1
2019-02-18T09:49:32.000Z
2019-02-18T09:49:32.000Z
// Copyright (c) 2015 Pierre MOULON. // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. #pragma once namespace i23dSFM{ namespace matching{ enum EMatcherType { BRU...
19.909091
70
0.730594
44091448f0282afc5ca5f79268da2865dfb7cf86
2,683
cpp
C++
tests/IDL_Test/Double_Inherited_Component/ComponentC_exec.cpp
qinwang13/CIAO
e69add1b5da8e9602bcc85d581ecbf1bd41c49a3
[ "DOC" ]
10
2016-07-20T00:55:50.000Z
2020-10-04T19:07:10.000Z
tests/IDL_Test/Double_Inherited_Component/ComponentC_exec.cpp
qinwang13/CIAO
e69add1b5da8e9602bcc85d581ecbf1bd41c49a3
[ "DOC" ]
13
2016-09-27T14:08:27.000Z
2020-11-11T10:45:56.000Z
tests/IDL_Test/Double_Inherited_Component/ComponentC_exec.cpp
qinwang13/CIAO
e69add1b5da8e9602bcc85d581ecbf1bd41c49a3
[ "DOC" ]
12
2016-04-20T09:57:02.000Z
2021-12-24T17:23:45.000Z
// -*- C++ -*- #include "ComponentC_exec.h" #include "ace/Log_Msg.h" namespace CIAO_connector_test_C_Impl { //============================================================ // Pulse generator //============================================================ ComponentC_exec_i::ComponentC_exec_i (void) : topic_...
23.330435
83
0.642564
44092bd71c2f0ce667e15f64d5aa0e72fa9551b3
1,654
cc
C++
testPrograms/tPartialIO.cc
yahoo/Pluton
82bbab17c0013d87063b398ec777d5977f353d0a
[ "MIT" ]
8
2015-05-22T21:27:17.000Z
2017-03-19T06:07:41.000Z
testPrograms/tPartialIO.cc
YahooArchive/Pluton
82bbab17c0013d87063b398ec777d5977f353d0a
[ "MIT" ]
null
null
null
testPrograms/tPartialIO.cc
YahooArchive/Pluton
82bbab17c0013d87063b398ec777d5977f353d0a
[ "MIT" ]
6
2015-10-16T08:40:00.000Z
2016-11-14T06:48:09.000Z
#include <iostream> #include <sys/time.h> #include <assert.h> #include <stdlib.h> #include <pluton/client.h> using namespace std; // Force a service to be left in a partially read request state, then // send a new request to ensure that it resets properly. const char* SK = "system.echo.0.raw"; int main(int argc...
22.657534
98
0.613664
440947b52022a63dc706d779cb986d0c140b6777
1,756
hpp
C++
lib/boost_1.78.0/boost/spirit/home/x3/support/traits/variant_has_substitute.hpp
LaudateCorpus1/math
990a66b3cccd27a5fd48626360bb91093a48278b
[ "BSD-3-Clause" ]
29
2021-11-19T11:28:22.000Z
2022-03-29T00:26:51.000Z
lib/boost_1.78.0/boost/spirit/home/x3/support/traits/variant_has_substitute.hpp
LaudateCorpus1/math
990a66b3cccd27a5fd48626360bb91093a48278b
[ "BSD-3-Clause" ]
4
2020-12-07T22:56:32.000Z
2021-07-17T22:13:37.000Z
lib/boost_1.78.0/boost/spirit/home/x3/support/traits/variant_has_substitute.hpp
LaudateCorpus1/math
990a66b3cccd27a5fd48626360bb91093a48278b
[ "BSD-3-Clause" ]
17
2018-07-30T12:45:42.000Z
2022-01-10T11:18:30.000Z
/*============================================================================= Copyright (c) 2001-2014 Joel de Guzman http://spirit.sourceforge.net/ Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) ======...
33.769231
80
0.617882
440c76a7e19e24f569b9e5d005423be112be567a
12,648
cpp
C++
iree/compiler/Transforms/Sequencer/LowerSequencerDialect.cpp
so-man/iree
36be189aa74d6f5bc7eb665e5a7baf3effaca12d
[ "Apache-2.0" ]
null
null
null
iree/compiler/Transforms/Sequencer/LowerSequencerDialect.cpp
so-man/iree
36be189aa74d6f5bc7eb665e5a7baf3effaca12d
[ "Apache-2.0" ]
null
null
null
iree/compiler/Transforms/Sequencer/LowerSequencerDialect.cpp
so-man/iree
36be189aa74d6f5bc7eb665e5a7baf3effaca12d
[ "Apache-2.0" ]
null
null
null
// Copyright 2019 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
41.605263
80
0.67228
440d7c861defadb803bd8ec0c6833afed1f8e277
1,165
cpp
C++
libraries/fc/src/crypto/openssl.cpp
SophiaTX/SophiaTx-Blockchain
c964691c020962ad1aba8263c0d8a78a9fa27e45
[ "MIT" ]
8
2018-07-25T20:42:43.000Z
2019-03-11T03:14:09.000Z
libraries/fc/src/crypto/openssl.cpp
SophiaTX/SophiaTx-Blockchain
c964691c020962ad1aba8263c0d8a78a9fa27e45
[ "MIT" ]
13
2018-07-25T17:41:28.000Z
2019-01-25T13:38:11.000Z
libraries/fc/src/crypto/openssl.cpp
SophiaTX/SophiaTx-Blockchain
c964691c020962ad1aba8263c0d8a78a9fa27e45
[ "MIT" ]
11
2018-07-25T14:34:13.000Z
2019-05-03T13:29:37.000Z
#include <fc/crypto/openssl.hpp> #include <fc/filesystem.hpp> #include <boost/filesystem/path.hpp> #include <cstdlib> #include <string> #include <stdlib.h> namespace fc { struct openssl_scope { static ENGINE* eng; openssl_scope() { ENGINE_load_rdrand(); ENGINE* ...
17.923077
60
0.498712
440e8c81f92ce8229a8463756046dc9995685f1b
5,679
cpp
C++
build_linux/moc_addressbookpage.cpp
bitcrystal2/bitcrystal_v20_last_linux_branch
a5d759e9b5134502a28483fea3567894eec08e7f
[ "MIT" ]
null
null
null
build_linux/moc_addressbookpage.cpp
bitcrystal2/bitcrystal_v20_last_linux_branch
a5d759e9b5134502a28483fea3567894eec08e7f
[ "MIT" ]
null
null
null
build_linux/moc_addressbookpage.cpp
bitcrystal2/bitcrystal_v20_last_linux_branch
a5d759e9b5134502a28483fea3567894eec08e7f
[ "MIT" ]
null
null
null
/**************************************************************************** ** Meta object code from reading C++ file 'addressbookpage.h' ** ** Created: Thu Dec 25 23:31:32 2014 ** by: The Qt Meta Object Compiler version 63 (Qt 4.8.2) ** ** WARNING! All changes made in this file will be lost! *******************...
35.49375
168
0.619827
440eadb4249244c03db0b3fe9843fed07ecc809f
5,964
cpp
C++
luogu/4463/me.cpp
jinzhengyu1212/Clovers
0efbb0d87b5c035e548103409c67914a1f776752
[ "MIT" ]
null
null
null
luogu/4463/me.cpp
jinzhengyu1212/Clovers
0efbb0d87b5c035e548103409c67914a1f776752
[ "MIT" ]
null
null
null
luogu/4463/me.cpp
jinzhengyu1212/Clovers
0efbb0d87b5c035e548103409c67914a1f776752
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; typedef long long ll; const int N=530000; const int MOD=998244353; inline int read(){ int x=0,f=0; char ch=getchar(); while(ch<'0'||ch>'9') f|=(ch=='-'),ch=getchar(); while(ch>='0'&&ch<='9') x=(x<<1)+(x<<3)+(ch^48),ch=getchar(); return f==0 ? x : -x; } inline...
26.986425
88
0.504359
440f30946cab250c0db8709e14985c206ca8c50e
3,501
cpp
C++
node/silkworm/downloader/messages/InboundNewBlockHashes.cpp
elmato/silkworm
711c73547cd1f7632ff02d5f86dfac5b0d249344
[ "Apache-2.0" ]
null
null
null
node/silkworm/downloader/messages/InboundNewBlockHashes.cpp
elmato/silkworm
711c73547cd1f7632ff02d5f86dfac5b0d249344
[ "Apache-2.0" ]
null
null
null
node/silkworm/downloader/messages/InboundNewBlockHashes.cpp
elmato/silkworm
711c73547cd1f7632ff02d5f86dfac5b0d249344
[ "Apache-2.0" ]
null
null
null
/* Copyright 2021 The Silkworm Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed ...
34.663366
118
0.690089
44118ee6351d2431365729ada9faca38a9a5433e
1,036
cpp
C++
bitriejoin-ed/main.cpp
TsinghuaDatabaseGroup/Similarity-Search-and-Join
0fba32f030ca9e466d1aed9d3c7dcf59ea3e88dc
[ "BSD-2-Clause" ]
14
2018-01-29T06:54:06.000Z
2021-07-09T18:18:51.000Z
bitriejoin-ed/main.cpp
TsinghuaDatabaseGroup/similarity
0fba32f030ca9e466d1aed9d3c7dcf59ea3e88dc
[ "BSD-2-Clause" ]
null
null
null
bitriejoin-ed/main.cpp
TsinghuaDatabaseGroup/similarity
0fba32f030ca9e466d1aed9d3c7dcf59ea3e88dc
[ "BSD-2-Clause" ]
11
2018-04-11T04:56:40.000Z
2021-12-17T04:00:22.000Z
#include <stdio.h> #include <vector> #include <string> #include <iostream> #include <fstream> #include "BiTrieSelfJoin.h" #include "common/time.h" using namespace std; extern long long resultNum; void LoadStrings(vector<char*>& strings, char* filename) { ifstream in(filename); if (in.fail()) { cerr << "Can not...
19.54717
66
0.632239
4413384da82d02d06b480f9a45319d7c23c375d5
11,826
cpp
C++
SwordsmanAndSpiders/Classes/common/SixCatsLogger.cpp
beardog-ukr/vigilant-couscous
57f00950b567cb6adf2e0a06f02925ee271012fe
[ "Unlicense" ]
null
null
null
SwordsmanAndSpiders/Classes/common/SixCatsLogger.cpp
beardog-ukr/vigilant-couscous
57f00950b567cb6adf2e0a06f02925ee271012fe
[ "Unlicense" ]
null
null
null
SwordsmanAndSpiders/Classes/common/SixCatsLogger.cpp
beardog-ukr/vigilant-couscous
57f00950b567cb6adf2e0a06f02925ee271012fe
[ "Unlicense" ]
null
null
null
#include "SixCatsLogger.h" #include <iostream> // cout using namespace std; #define LOCAL_C6_DEBUG 1 // --- ------------------------------------------------------------------------ SixCatsLogger::SixCatsLogger() { selfSetup(); } // --- ----------------------------------------------------------------...
26.635135
89
0.457551
4414cf77cd013dbe998caff4cc57ff4f5edc1b0e
36,416
cpp
C++
dlib/test/matrix4.cpp
oms1226/dlib-19.13
0bb55d112324edb700a42a3e6baca09c03967754
[ "MIT" ]
null
null
null
dlib/test/matrix4.cpp
oms1226/dlib-19.13
0bb55d112324edb700a42a3e6baca09c03967754
[ "MIT" ]
null
null
null
dlib/test/matrix4.cpp
oms1226/dlib-19.13
0bb55d112324edb700a42a3e6baca09c03967754
[ "MIT" ]
null
null
null
// Copyright (C) 2010 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #include <dlib/matrix.h> #include <sstream> #include <string> #include <cstdlib> #include <ctime> #include <vector> #include "../stl_checked.h" #include "../array.h" #include "....
32.514286
127
0.445436
4416385c2761b7381dc71d4febc132e85afb83a3
1,993
cc
C++
src/flpr/Stmt_Tree.cc
apthorpe/FLPR
9620f28ad1cde553eb8ffa7f2685683763530acb
[ "BSD-3-Clause" ]
null
null
null
src/flpr/Stmt_Tree.cc
apthorpe/FLPR
9620f28ad1cde553eb8ffa7f2685683763530acb
[ "BSD-3-Clause" ]
null
null
null
src/flpr/Stmt_Tree.cc
apthorpe/FLPR
9620f28ad1cde553eb8ffa7f2685683763530acb
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2019, Triad National Security, LLC. All rights reserved. This is open source software; you can redistribute it and/or modify it under the terms of the BSD-3 License. If software is modified to produce derivative works, such modified software should be clearly marked, so as not to confus...
29.308824
78
0.658304
4417d0ef2e9a7297d1318a1d2c05a48759ea1c43
27,908
cpp
C++
src/openms/source/FORMAT/IdXMLFile.cpp
liangoaix/OpenMS
cccbc5d872320f197091596db275f35b4d0458cd
[ "Zlib", "Apache-2.0" ]
null
null
null
src/openms/source/FORMAT/IdXMLFile.cpp
liangoaix/OpenMS
cccbc5d872320f197091596db275f35b4d0458cd
[ "Zlib", "Apache-2.0" ]
null
null
null
src/openms/source/FORMAT/IdXMLFile.cpp
liangoaix/OpenMS
cccbc5d872320f197091596db275f35b4d0458cd
[ "Zlib", "Apache-2.0" ]
null
null
null
// -------------------------------------------------------------------------- // OpenMS -- Open-Source Mass Spectrometry // -------------------------------------------------------------------------- // Copyright The OpenMS Team -- Eberhard Karls University Tuebingen, // ETH Zurich, and Freie Universit...
35.326582
198
0.597212
441b00f8c3305aaf2d905c922a5aa42be9464bb5
6,510
cpp
C++
src/utils.cpp
imikejackson/bingocpp
6ba00a490c8cb46edebfd78f56b1604a76d668e9
[ "Apache-2.0" ]
13
2019-03-14T09:54:02.000Z
2021-09-26T14:01:30.000Z
src/utils.cpp
imikejackson/bingocpp
6ba00a490c8cb46edebfd78f56b1604a76d668e9
[ "Apache-2.0" ]
35
2019-08-29T19:12:05.000Z
2021-07-15T22:17:53.000Z
src/utils.cpp
imikejackson/bingocpp
6ba00a490c8cb46edebfd78f56b1604a76d668e9
[ "Apache-2.0" ]
9
2018-10-18T02:43:03.000Z
2021-09-02T22:08:39.000Z
/*! * \file utils.cc * * \author Ethan Adams * \date * * This file contains utility functions for doing and testing * sybolic regression problems in the bingo package */ #include <vector> #include <numeric> #include "BingoCpp/utils.h" namespace bingo { const int kPartialWindowSize = 7; con...
34.812834
84
0.57235
441b4b5e949c2f83acb085cd7d0de23fc52b0032
4,831
hpp
C++
src/xalanc/XSLT/ElemVariable.hpp
ulisesten/xalanc
a722de08e61ce66965c4a828242f7d1250950621
[ "Apache-2.0" ]
24
2015-07-29T22:49:17.000Z
2022-03-25T10:14:17.000Z
src/xalanc/XSLT/ElemVariable.hpp
ulisesten/xalanc
a722de08e61ce66965c4a828242f7d1250950621
[ "Apache-2.0" ]
14
2019-05-10T16:25:50.000Z
2021-11-24T18:04:47.000Z
src/xalanc/XSLT/ElemVariable.hpp
ulisesten/xalanc
a722de08e61ce66965c4a828242f7d1250950621
[ "Apache-2.0" ]
28
2015-04-20T15:50:51.000Z
2022-01-26T14:56:55.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 m...
27.293785
75
0.64438
441baafe9de38c21838a96f15a14d248a133ce2f
289
cc
C++
atcoder/arc118/a.cc
kamal1316/competitive-programming
1443fb4bd1c92c2acff64ba2828abb21b067e6e0
[ "WTFPL" ]
506
2018-08-22T10:30:38.000Z
2022-03-31T10:01:49.000Z
atcoder/arc118/a.cc
diegordzr/competitive-programming
1443fb4bd1c92c2acff64ba2828abb21b067e6e0
[ "WTFPL" ]
13
2019-08-07T18:31:18.000Z
2020-12-15T21:54:41.000Z
atcoder/arc118/a.cc
diegordzr/competitive-programming
1443fb4bd1c92c2acff64ba2828abb21b067e6e0
[ "WTFPL" ]
234
2018-08-06T17:11:41.000Z
2022-03-26T10:56:42.000Z
// https://atcoder.jp/contests/arc118/tasks/arc118_a #include <bits/stdc++.h> using namespace std; using ll = long long; using vi = vector<ll>; int main() { cin.tie(0), ios::sync_with_stdio(0); ll t, n; cin >> t >> n; ll m = (n * 100 - 1) / t + 1; cout << m + n - 1 << '\n'; }
19.266667
52
0.567474
441ca79e12934443171f1c455f51c3b45f822afc
33,013
cpp
C++
src/solvers/flattening/bv_utils.cpp
mauguignard/cbmc
70cfdd5d7c62d47269bae2277ff89a9ce66ff0b5
[ "BSD-4-Clause" ]
null
null
null
src/solvers/flattening/bv_utils.cpp
mauguignard/cbmc
70cfdd5d7c62d47269bae2277ff89a9ce66ff0b5
[ "BSD-4-Clause" ]
2
2018-02-14T16:11:37.000Z
2018-02-23T18:12:27.000Z
src/solvers/flattening/bv_utils.cpp
mauguignard/cbmc
70cfdd5d7c62d47269bae2277ff89a9ce66ff0b5
[ "BSD-4-Clause" ]
null
null
null
/*******************************************************************\ Module: Author: Daniel Kroening, kroening@kroening.com \*******************************************************************/ #include "bv_utils.h" #include <cassert> #include <util/arith_tools.h> bvt bv_utilst::build_constant(const mp_integer ...
24.044428
80
0.635144
441ef84eec24ed4bd0a7a825dc092d97482d7940
15,080
hpp
C++
RZExternal/src/FitSDKRelease_20/fit_three_d_sensor_calibration_mesg.hpp
roznet/tennisstats
6283326c0a8cadaeff98b45f8aeff1a32429fa06
[ "MIT" ]
1
2020-08-04T07:29:47.000Z
2020-08-04T07:29:47.000Z
RZExternal/src/FitSDKRelease_20/fit_three_d_sensor_calibration_mesg.hpp
roznet/tennisstats
6283326c0a8cadaeff98b45f8aeff1a32429fa06
[ "MIT" ]
null
null
null
RZExternal/src/FitSDKRelease_20/fit_three_d_sensor_calibration_mesg.hpp
roznet/tennisstats
6283326c0a8cadaeff98b45f8aeff1a32429fa06
[ "MIT" ]
1
2019-06-05T08:27:18.000Z
2019-06-05T08:27:18.000Z
//////////////////////////////////////////////////////////////////////////////// // The following FIT Protocol software provided may be used with FIT protocol // devices only and remains the copyrighted property of Garmin Canada Inc. // The software is being provided on an "as-is" basis and as an accommodation, // ...
38.865979
148
0.455504
441fe1eb48a9368cde796d97fb901abdda65153d
131
hxx
C++
src/Providers/UNIXProviders/StatisticsService/UNIX_StatisticsService_DARWIN.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
1
2020-10-12T09:00:09.000Z
2020-10-12T09:00:09.000Z
src/Providers/UNIXProviders/StatisticsService/UNIX_StatisticsService_DARWIN.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
null
null
null
src/Providers/UNIXProviders/StatisticsService/UNIX_StatisticsService_DARWIN.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
null
null
null
#ifdef PEGASUS_OS_DARWIN #ifndef __UNIX_STATISTICSSERVICE_PRIVATE_H #define __UNIX_STATISTICSSERVICE_PRIVATE_H #endif #endif
10.916667
42
0.854962
44257a709f843bc41bafe52d1f430e34b1949c6c
3,097
cpp
C++
componentLibraries/devLibraries/SocketComponents/SocketComponents.cpp
mjfwest/hopsan
77a0a1e69fd9588335b7e932f348972186cbdf6f
[ "Apache-2.0" ]
null
null
null
componentLibraries/devLibraries/SocketComponents/SocketComponents.cpp
mjfwest/hopsan
77a0a1e69fd9588335b7e932f348972186cbdf6f
[ "Apache-2.0" ]
null
null
null
componentLibraries/devLibraries/SocketComponents/SocketComponents.cpp
mjfwest/hopsan
77a0a1e69fd9588335b7e932f348972186cbdf6f
[ "Apache-2.0" ]
null
null
null
/*----------------------------------------------------------------------------- Copyright 2017 Hopsan Group 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.o...
44.242857
115
0.7165
4427714e79e4d907d2f904bd9bca476c91aa1681
2,194
hpp
C++
src/vec3.hpp
chrismile/reshade-grabber
0a24c65d8699106b94ace644748e67cdb1081024
[ "BSD-3-Clause" ]
null
null
null
src/vec3.hpp
chrismile/reshade-grabber
0a24c65d8699106b94ace644748e67cdb1081024
[ "BSD-3-Clause" ]
null
null
null
src/vec3.hpp
chrismile/reshade-grabber
0a24c65d8699106b94ace644748e67cdb1081024
[ "BSD-3-Clause" ]
null
null
null
/* * BSD 2-Clause License * * Copyright (c) 2021, Christoph Neuhauser * 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 ...
37.186441
85
0.696901
44278245c46eed251cd16bc42256d0e38cec4437
11,053
hpp
C++
include/unifex/detail/concept_macros.hpp
hnakamur/libunifex
30e04053d90a35f277dc5ab3dc156ac75caa91da
[ "Apache-2.0" ]
null
null
null
include/unifex/detail/concept_macros.hpp
hnakamur/libunifex
30e04053d90a35f277dc5ab3dc156ac75caa91da
[ "Apache-2.0" ]
null
null
null
include/unifex/detail/concept_macros.hpp
hnakamur/libunifex
30e04053d90a35f277dc5ab3dc156ac75caa91da
[ "Apache-2.0" ]
1
2021-07-29T13:33:13.000Z
2021-07-29T13:33:13.000Z
/* * Copyright 2019-present Facebook, 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 a...
36.003257
108
0.722157
4427ad39d40e59376a5945a389a38c6d6adad970
1,654
hpp
C++
include/mainMenu/CharacterSelector.hpp
LeandreBl/cautious-fiesta
21a08135253f6fea51835d81cce4a9920113fd18
[ "Apache-2.0" ]
3
2019-10-30T16:22:54.000Z
2020-12-10T20:23:40.000Z
include/mainMenu/CharacterSelector.hpp
LeandreBl/cautious-fiesta
21a08135253f6fea51835d81cce4a9920113fd18
[ "Apache-2.0" ]
63
2019-10-06T12:05:11.000Z
2019-12-09T16:22:46.000Z
include/mainMenu/CharacterSelector.hpp
LeandreBl/cautious-fiesta
21a08135253f6fea51835d81cce4a9920113fd18
[ "Apache-2.0" ]
null
null
null
#pragma once #include <vector> #include <filesystem> #include <Vnavbar.hpp> #include "CharacterCreator.hpp" namespace cf { class CharacterSelector : public sfs::GameObject { public: CharacterSelector(const std::string &directory, const std::string &filename) noexcept : _navbar(nullptr) , _image(nullptr) ...
24.686567
86
0.709794
4429aa9c53aa7fe991c3f8ed433f72345f0c99c6
40,689
cc
C++
test/allocator/test_epoch_zone_heap.cc
LaudateCorpus1/gull
21dde19295f1f1c65458a27729d9e241ef6e0e57
[ "MIT" ]
8
2017-01-31T21:15:37.000Z
2021-05-26T01:10:32.000Z
test/allocator/test_epoch_zone_heap.cc
LaudateCorpus1/gull
21dde19295f1f1c65458a27729d9e241ef6e0e57
[ "MIT" ]
9
2020-03-26T13:27:23.000Z
2022-03-30T17:02:19.000Z
test/allocator/test_epoch_zone_heap.cc
LaudateCorpus1/gull
21dde19295f1f1c65458a27729d9e241ef6e0e57
[ "MIT" ]
7
2019-10-11T04:43:22.000Z
2022-02-18T05:49:53.000Z
/* * (c) Copyright 2016-2021 Hewlett Packard Enterprise Development Company LP. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the * GNU Lesser General Public License Version 3, or (at your option) * later with exceptions inc...
31.251152
90
0.602989
442a57ff64a6f8baded266e3cdc995a8bf515340
1,521
cpp
C++
masteruser/zoo.cpp
JasonPap/Buffer-Overflows
e8d2a981fb0f09512b85b06f8caf40e865274a94
[ "MIT" ]
14
2015-03-13T15:55:47.000Z
2021-06-01T20:08:01.000Z
masteruser/zoo.cpp
JasonPap/Buffer-Overflows
e8d2a981fb0f09512b85b06f8caf40e865274a94
[ "MIT" ]
4
2015-03-14T16:32:45.000Z
2015-03-15T18:04:13.000Z
masteruser/zoo.cpp
JasonPap/Buffer-Overflows
e8d2a981fb0f09512b85b06f8caf40e865274a94
[ "MIT" ]
4
2015-09-14T06:20:25.000Z
2021-06-16T23:40:17.000Z
#include <iostream> #include <cstdlib> #include <cstring> #include <getopt.h> #define MAX_BUFFER_SIZE 256 class Animal{ private: char name[MAX_BUFFER_SIZE]; public: Animal() { strcpy(name, "Ylvis"); } void set_name(char *nname) { strcpy(name, nname); } char *get_name() { return name; } virtual void speak() ...
15.680412
61
0.535174
442ab6973bd178895d04eb4c8bad071d6ce5c757
3,890
cpp
C++
DearPyGui/src/core/AppItems/basic/mvSelectable.cpp
liu-kan/DearPyGui
dbbf03519b4eff6fc3e8fc56e31c27aa29ac7a39
[ "MIT" ]
null
null
null
DearPyGui/src/core/AppItems/basic/mvSelectable.cpp
liu-kan/DearPyGui
dbbf03519b4eff6fc3e8fc56e31c27aa29ac7a39
[ "MIT" ]
null
null
null
DearPyGui/src/core/AppItems/basic/mvSelectable.cpp
liu-kan/DearPyGui
dbbf03519b4eff6fc3e8fc56e31c27aa29ac7a39
[ "MIT" ]
null
null
null
#include <utility> #include "mvSelectable.h" #include "mvApp.h" #include "mvItemRegistry.h" namespace Marvel { void mvSelectable::InsertParser(std::map<std::string, mvPythonParser>* parsers) { parsers->insert({ "add_selectable", mvPythonParser({ {mvPythonDataType::String, "name"}, {mvPythonDataType::Keyword...
30.155039
135
0.70437
442b44e77ac38337fa0e6d69bb518d1671499481
472
cpp
C++
projeto1/src/SyntaxTree.cpp
lucaspetry/lukasiewicz-compiler
7029cc26f48c20a8479d27579a07a9e88e177bff
[ "MIT" ]
null
null
null
projeto1/src/SyntaxTree.cpp
lucaspetry/lukasiewicz-compiler
7029cc26f48c20a8479d27579a07a9e88e177bff
[ "MIT" ]
null
null
null
projeto1/src/SyntaxTree.cpp
lucaspetry/lukasiewicz-compiler
7029cc26f48c20a8479d27579a07a9e88e177bff
[ "MIT" ]
null
null
null
#include "SyntaxTree.h" SyntaxTree::SyntaxTree() { } SyntaxTree::~SyntaxTree() { } void SyntaxTree::print() { for (TreeNode* line: lines) { std::string toPrint = line->printPreOrder(); if(toPrint.back() == ' ') { toPrint = toPrint.substr(0, toPrint.length()-1); } ...
20.521739
60
0.559322
442b8734c611d250bdd535cbb037af12fd964656
12,534
cpp
C++
src/sysGCU/P2DScreen.cpp
projectPiki/pikmin2
a431d992acde856d092889a515ecca0e07a3ea7c
[ "Unlicense" ]
33
2021-12-08T11:10:59.000Z
2022-03-26T19:59:37.000Z
src/sysGCU/P2DScreen.cpp
projectPiki/pikmin2
a431d992acde856d092889a515ecca0e07a3ea7c
[ "Unlicense" ]
6
2021-12-22T17:54:31.000Z
2022-01-07T21:43:18.000Z
src/sysGCU/P2DScreen.cpp
projectPiki/pikmin2
a431d992acde856d092889a515ecca0e07a3ea7c
[ "Unlicense" ]
2
2022-01-04T06:00:49.000Z
2022-01-26T07:27:28.000Z
#include "JSystem/JUT/JUTException.h" #include "P2DScreen.h" #include "System.h" #include "types.h" /* Generated from dpostproc .section .rodata # 0x804732E0 - 0x8049E220 .global lbl_8049A6C0 lbl_8049A6C0: .4byte 0x50324453 .4byte 0x63726565 .4byte 0x6E2E6370 .4byte 0x...
25.737166
95
0.655258
442d9a027b4d6a25aebd2c64f082ac438d192a60
3,960
cc
C++
tutorials/t1.cc
dianpeng/hge-unix
0cade62a3494f1508cdaaa620714e69ae151e0c1
[ "Zlib" ]
null
null
null
tutorials/t1.cc
dianpeng/hge-unix
0cade62a3494f1508cdaaa620714e69ae151e0c1
[ "Zlib" ]
null
null
null
tutorials/t1.cc
dianpeng/hge-unix
0cade62a3494f1508cdaaa620714e69ae151e0c1
[ "Zlib" ]
null
null
null
/* ** Haaf's Game Engine 1.8 ** Copyright (C) 2003-2007, Relish Games ** hge.relishgames.com ** ** hge_tut05 - Using distortion mesh */ // Copy the files "particles.png", "menu.wav", // "font1.fnt", "font1.png" and "trail.psi" from // the folder "precompiled" to the folder with // executable file. Also copy hge.dll a...
22.372881
116
0.658586
442e79aacca64364cf997543eca13ef35318ad63
4,525
cpp
C++
homework/Kulagin/07/main.cpp
mtrempoltsev/msu_cpp_autumn_2017
0e87491dc117670b99d2ca2f7e1c5efbc425ae1c
[ "MIT" ]
10
2017-09-21T15:17:33.000Z
2021-01-11T13:11:55.000Z
homework/Kulagin/07/main.cpp
mtrempoltsev/msu_cpp_autumn_2017
0e87491dc117670b99d2ca2f7e1c5efbc425ae1c
[ "MIT" ]
null
null
null
homework/Kulagin/07/main.cpp
mtrempoltsev/msu_cpp_autumn_2017
0e87491dc117670b99d2ca2f7e1c5efbc425ae1c
[ "MIT" ]
22
2017-09-21T15:45:08.000Z
2019-02-21T19:15:25.000Z
#include <iostream> #include <cmath> #include <cstring> #include "src/calc.cpp" using namespace std; const double precision = 1e-15; template<typename T> void is(std::string text, T value, bool positive = true) { const char* text_ptr = text.c_str(); Calculator<T> calc; try { auto result = calc.eval((char*)t...
23.086735
86
0.417901
442f94ea5083e8f9b8e8d2d90652d22d4b0240d5
8,270
cpp
C++
process.cpp
mastmees/reflow_oven
87cd23341e7fd70a18ddf194d513ae281879e9f3
[ "MIT" ]
2
2019-02-22T18:41:05.000Z
2019-05-17T14:45:56.000Z
process.cpp
mastmees/reflow_oven
87cd23341e7fd70a18ddf194d513ae281879e9f3
[ "MIT" ]
null
null
null
process.cpp
mastmees/reflow_oven
87cd23341e7fd70a18ddf194d513ae281879e9f3
[ "MIT" ]
null
null
null
/* The MIT License (MIT) Copyright (c) 2017 Madis Kaal <mast@nomad.ee> 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 ...
26.850649
82
0.586699
443291baa2a8a1f8c4d2c2d3e4a7761b7f1eae63
2,922
hpp
C++
Programming Guide/Headers/Siv3D/GUITextField.hpp
Reputeless/Siv3D-Reference
d58e92885241d11612007fb9187ce0289a7ee9cb
[ "MIT" ]
38
2016-01-14T13:51:13.000Z
2021-12-29T01:49:30.000Z
Programming Guide/Headers/Siv3D/GUITextField.hpp
Reputeless/Siv3D-Reference
d58e92885241d11612007fb9187ce0289a7ee9cb
[ "MIT" ]
null
null
null
Programming Guide/Headers/Siv3D/GUITextField.hpp
Reputeless/Siv3D-Reference
d58e92885241d11612007fb9187ce0289a7ee9cb
[ "MIT" ]
16
2016-01-15T11:07:51.000Z
2021-12-29T01:49:37.000Z
//----------------------------------------------- // // This file is part of the Siv3D Engine. // // Copyright (C) 2008-2016 Ryo Suzuki // // Licensed under the MIT License. // //----------------------------------------------- # pragma once # include "Fwd.hpp" # include "IWidget.hpp" # include "WidgetStyle.hpp" name...
19.877551
136
0.689254
443388b6babb77ef756c43f749b560bb5f1b63f6
12,598
cpp
C++
PROX/3RDPARTY/BOOST_BINDINGS/boost_bindings/libs/numeric/bindings/lapack/test/ublas_gelss.cpp
diku-dk/PROX
c6be72cc253ff75589a1cac28e4e91e788376900
[ "MIT" ]
null
null
null
PROX/3RDPARTY/BOOST_BINDINGS/boost_bindings/libs/numeric/bindings/lapack/test/ublas_gelss.cpp
diku-dk/PROX
c6be72cc253ff75589a1cac28e4e91e788376900
[ "MIT" ]
null
null
null
PROX/3RDPARTY/BOOST_BINDINGS/boost_bindings/libs/numeric/bindings/lapack/test/ublas_gelss.cpp
diku-dk/PROX
c6be72cc253ff75589a1cac28e4e91e788376900
[ "MIT" ]
null
null
null
// // Copyright Jesse Manning 2007 // // 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) // #include "convenience.h" #include <boost/numeric/bindings/lapack/gelss.hpp> // set to 1 to write test output to file, oth...
28.631818
94
0.698285
4433de13cab58b0713671dab27b56af01cbcca59
3,282
cpp
C++
Crossy_Roads/WaterParticles.cpp
Daryan7/Crossy_Roads
af816aa73ba29241fb1db4722940e42be8a76102
[ "MIT" ]
1
2018-04-18T12:54:33.000Z
2018-04-18T12:54:33.000Z
Crossy_Roads/WaterParticles.cpp
Daryan7/Crossy_Roads
af816aa73ba29241fb1db4722940e42be8a76102
[ "MIT" ]
null
null
null
Crossy_Roads/WaterParticles.cpp
Daryan7/Crossy_Roads
af816aa73ba29241fb1db4722940e42be8a76102
[ "MIT" ]
null
null
null
#include "WaterParticles.h" #include "Utils.h" #include "Object.h" using namespace glm; inline void compileShader(ShaderProgram& program, const string& fileName) { Shader vShader, fShader; string path = "shaders/" + fileName; vShader.initFromFile(VERTEX_SHADER, path + ".vert"); if (!vShader.isCompiled()) { cout ...
26.467742
86
0.661792
443473d3a57398771341de47c25e2c5042956da2
6,187
cpp
C++
src/geometry/FilePLY.cpp
mgradysaunders/precept
966eb19d3c8b713e11be0885cabda632cefe9878
[ "BSD-2-Clause" ]
null
null
null
src/geometry/FilePLY.cpp
mgradysaunders/precept
966eb19d3c8b713e11be0885cabda632cefe9878
[ "BSD-2-Clause" ]
null
null
null
src/geometry/FilePLY.cpp
mgradysaunders/precept
966eb19d3c8b713e11be0885cabda632cefe9878
[ "BSD-2-Clause" ]
null
null
null
#include <pre/geometry/FilePLY> #include <pre/string> #include "rply.h" namespace pre { static void error_cb(p_ply, const char* message) { throw std::runtime_error(message); } static int vertex2_cb(p_ply_argument arg) { void* pointer = nullptr; long index = 0; ply_get_argument_user_data(arg, &pointe...
38.91195
78
0.604008
44398e5574da7e2691795d3d9841388a54cbf729
5,694
cpp
C++
WebLayoutCore/Source/WebCore/platform/win/SystemInfo.cpp
gubaojian/trylearn
74dd5c6c977f8d867d6aa360b84bc98cb82f480c
[ "MIT" ]
1
2020-05-25T16:06:49.000Z
2020-05-25T16:06:49.000Z
WebLayoutCore/Source/WebCore/platform/win/SystemInfo.cpp
gubaojian/trylearn
74dd5c6c977f8d867d6aa360b84bc98cb82f480c
[ "MIT" ]
null
null
null
WebLayoutCore/Source/WebCore/platform/win/SystemInfo.cpp
gubaojian/trylearn
74dd5c6c977f8d867d6aa360b84bc98cb82f480c
[ "MIT" ]
1
2018-07-10T10:53:18.000Z
2018-07-10T10:53:18.000Z
/* * Copyright (C) 2009 Apple 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 a...
34.095808
151
0.659993
4439fbfbae24e450c574bb98996663db71c45fcd
1,568
cpp
C++
src/main.cpp
waneon/magfy
2ebb905cf1730a5e6f66ad9164248e303bd051c4
[ "MIT" ]
1
2022-02-27T17:41:18.000Z
2022-02-27T17:41:18.000Z
src/main.cpp
waneon/magfy
2ebb905cf1730a5e6f66ad9164248e303bd051c4
[ "MIT" ]
null
null
null
src/main.cpp
waneon/magfy
2ebb905cf1730a5e6f66ad9164248e303bd051c4
[ "MIT" ]
null
null
null
#include <fstream> #include <spdlog/spdlog.h> #include <yaml-cpp/exceptions.h> #include <yaml-cpp/yaml.h> #if defined(MAGFY_WINDOWS) #include <spdlog/sinks/basic_file_sink.h> #include <windows.h> #else #include <spdlog/sinks/stdout_color_sinks.h> #endif #include "Config.h" #include "core.h" // global logger object s...
24.888889
80
0.654337
443b5fb2354c6e5d71872c1d092f885090115c99
421
hpp
C++
include/example.hpp
gnerkus/node-api-experiments
0688e3e29da753313e2101b1fa74abb9509132b9
[ "MIT" ]
null
null
null
include/example.hpp
gnerkus/node-api-experiments
0688e3e29da753313e2101b1fa74abb9509132b9
[ "MIT" ]
null
null
null
include/example.hpp
gnerkus/node-api-experiments
0688e3e29da753313e2101b1fa74abb9509132b9
[ "MIT" ]
null
null
null
#include <napi.h> #include <iostream> using namespace std; namespace example { //add two integers // this is the function to be exported double add(double x, double y); //add function wrapper // this wrapper will call the function above Napi::Value addWrapped(const Napi::CallbackInfo& info); //Ex...
20.047619
57
0.705463