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
82accb65fbdf09a8d5c26b07d2810af4a2641473
563
cpp
C++
UVA/vol-008/824.cpp
arash16/prays
0fe6bb2fa008b8fc46c80b01729f68308114020d
[ "MIT" ]
3
2017-05-12T14:45:37.000Z
2020-01-18T16:51:25.000Z
UVA/vol-008/824.cpp
arash16/prays
0fe6bb2fa008b8fc46c80b01729f68308114020d
[ "MIT" ]
null
null
null
UVA/vol-008/824.cpp
arash16/prays
0fe6bb2fa008b8fc46c80b01729f68308114020d
[ "MIT" ]
null
null
null
#include <stdio.h> #include <iostream> using namespace std; int xx[] = {0, -1, -1, -1, 0, 1, 1, 1}, yy[] = {1, 1, 0, -1, -1, -1, 0, 1}, M[3][3]; int nextDir(int d) { for (int i=0; i<8; i++) { int nd = (d+6+i)%8; if (M[xx[nd]+1][yy[nd]+1]) return nd; } return d; } int m...
20.107143
52
0.383659
arash16
82aed8787b07aa0e66a9df492b4112c609361edf
27,599
cpp
C++
implementations/ugene/src/corelibs/U2Lang/src/model/QDScheme.cpp
r-barnes/sw_comparison
1ac2c9cc10a32badd6b8fb1e96516c97f7800176
[ "BSD-Source-Code" ]
null
null
null
implementations/ugene/src/corelibs/U2Lang/src/model/QDScheme.cpp
r-barnes/sw_comparison
1ac2c9cc10a32badd6b8fb1e96516c97f7800176
[ "BSD-Source-Code" ]
null
null
null
implementations/ugene/src/corelibs/U2Lang/src/model/QDScheme.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 * ...
33.132053
112
0.542701
r-barnes
82aefa5aedb5b6aabd5779e6299924032700efa5
12,903
cpp
C++
src/programs/mdrun/tests/freeenergy.cpp
HITS-MBM/gromacs-developments
2a1f23a0ad2fc7fee8ea0cd65c080f0476b3104c
[ "BSD-2-Clause" ]
384
2015-01-02T19:44:15.000Z
2022-03-27T15:13:15.000Z
src/programs/mdrun/tests/freeenergy.cpp
HITS-MBM/gromacs-developments
2a1f23a0ad2fc7fee8ea0cd65c080f0476b3104c
[ "BSD-2-Clause" ]
9
2015-04-07T20:48:00.000Z
2022-01-24T21:29:26.000Z
src/programs/mdrun/tests/freeenergy.cpp
HITS-MBM/gromacs-developments
2a1f23a0ad2fc7fee8ea0cd65c080f0476b3104c
[ "BSD-2-Clause" ]
258
2015-01-19T11:19:57.000Z
2022-03-18T08:59:52.000Z
/* * This file is part of the GROMACS molecular simulation package. * * Copyright (c) 2020,2021, by the GROMACS development team, led by * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl, * and including many others, as listed in the AUTHORS file in the * top-level source directory and at http://ww...
49.626923
108
0.663179
HITS-MBM
82b1726633c4e99570f12e8e0181b124cb80872e
454
hpp
C++
pbxbuild/build_file.hpp
GuardianEngine/pbxbuild
90af1e5b963137766d486a918eaedab7c8b21c1a
[ "MIT" ]
1
2017-06-09T15:58:55.000Z
2017-06-09T15:58:55.000Z
pbxbuild/build_file.hpp
GuardianEngine/pbxbuild
90af1e5b963137766d486a918eaedab7c8b21c1a
[ "MIT" ]
null
null
null
pbxbuild/build_file.hpp
GuardianEngine/pbxbuild
90af1e5b963137766d486a918eaedab7c8b21c1a
[ "MIT" ]
2
2017-06-09T15:58:59.000Z
2020-08-15T05:37:19.000Z
#pragma once #include "base_object.hpp" #include "file_element.hpp" #include "project.hpp" #include "../libpbxparser/value.hpp" #include <string> namespace pbx { class BuildFile : public pbx::BaseObject { std::string _file_ref; pbx::Dictionary _settings; public: BuildFile(const std::shared_ptr<pbx::Proje...
20.636364
111
0.720264
GuardianEngine
a1121af0b14432210bb859cef5e2658a503cc9be
381
cpp
C++
src/string/MANACHER.cpp
hec12/nocow_library
1993006627bc0f1d1e9d4678a00685ca6bd5e611
[ "MIT" ]
null
null
null
src/string/MANACHER.cpp
hec12/nocow_library
1993006627bc0f1d1e9d4678a00685ca6bd5e611
[ "MIT" ]
null
null
null
src/string/MANACHER.cpp
hec12/nocow_library
1993006627bc0f1d1e9d4678a00685ca6bd5e611
[ "MIT" ]
null
null
null
auto manacher(const string &in) { int n = in.size(); string s(2 * n - 1, '#'); rep(i, n) s[2 * i] = in[i]; n = 2 * n - 1; vector<int> r(n); int i = 0, j = 0, k; while (i < n) { while (0 <= i - j && i + j < n && s[i - j] == s[i + j])j++; r[i] = j, k = 1; while (0 <= i - k && i + k < n && k + r[i - k] < r[i...
23.8125
81
0.377953
hec12
a118c8301d42d8ae5e9ad21692072e403101c104
9,012
cc
C++
mysqlshdk/libs/mysql/async_replication.cc
mueller/mysql-shell
29bafc5692bd536a12c4e41c54cb587375fe52cf
[ "Apache-2.0" ]
null
null
null
mysqlshdk/libs/mysql/async_replication.cc
mueller/mysql-shell
29bafc5692bd536a12c4e41c54cb587375fe52cf
[ "Apache-2.0" ]
1
2021-09-12T22:07:06.000Z
2021-09-12T22:07:06.000Z
mysqlshdk/libs/mysql/async_replication.cc
mueller/mysql-shell
29bafc5692bd536a12c4e41c54cb587375fe52cf
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2019, 2020, Oracle and/or its affiliates. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License, version 2.0, * as published by the Free Software Foundation. * * This program is also distributed with certain software (in...
40.778281
80
0.609521
mueller
a119af717649001bca7689721bc5eb5e52d8bd4b
772
cpp
C++
source/polyvec/utils/color.cpp
ShnitzelKiller/polyfit
51ddc6365a794db1678459140658211cb78f65b1
[ "MIT" ]
27
2020-08-17T17:25:59.000Z
2022-03-01T05:49:12.000Z
source/polyvec/utils/color.cpp
ShnitzelKiller/polyfit
51ddc6365a794db1678459140658211cb78f65b1
[ "MIT" ]
4
2020-08-26T13:54:59.000Z
2020-09-21T07:19:22.000Z
source/polyvec/utils/color.cpp
ShnitzelKiller/polyfit
51ddc6365a794db1678459140658211cb78f65b1
[ "MIT" ]
5
2020-08-26T23:26:48.000Z
2021-01-04T09:06:07.000Z
#include <polyvec/utils/color.hpp> #include <polyvec/utils/num.hpp> NAMESPACE_BEGIN(polyfit) NAMESPACE_BEGIN(Color) const vec3 COLOR_MIN(22. / 255, 64. / 255, 229. / 255); const vec3 COLOR_MID(30. / 255, 255. / 255, 97. / 255); const vec3 COLOR_MAX(255. / 255, 45. / 255, 30. / 255); // Returns some kind of interpola...
29.692308
95
0.67487
ShnitzelKiller
a11c62ca958a645c8e8bec7d57e8065665ffa874
3,029
cc
C++
crypto/cipher/rc4.cc
chronos-tachyon/mojo
8d268932dd927a24a2b5de167d63869484e1433a
[ "MIT" ]
3
2017-04-24T07:00:59.000Z
2020-04-13T04:53:06.000Z
crypto/cipher/rc4.cc
chronos-tachyon/mojo
8d268932dd927a24a2b5de167d63869484e1433a
[ "MIT" ]
1
2017-01-10T04:23:55.000Z
2017-01-10T04:23:55.000Z
crypto/cipher/rc4.cc
chronos-tachyon/mojo
8d268932dd927a24a2b5de167d63869484e1433a
[ "MIT" ]
1
2020-04-13T04:53:07.000Z
2020-04-13T04:53:07.000Z
// Copyright © 2017 by Donald King <chronos@chronos-tachyon.net> // Available under the MIT License. See LICENSE for details. #include "crypto/cipher/rc4.h" #include "base/logging.h" #include "crypto/primitives.h" #include "crypto/security.h" namespace crypto { namespace cipher { inline namespace implementation { st...
28.847619
76
0.657643
chronos-tachyon
a11f5bc3bebbbae05fd0ca7a47ecce47da3b6ee7
20,045
cpp
C++
KRender/Internal/Vulkan/KVulkanHeapAllocator.cpp
King19931229/KApp
f7f855b209348f835de9e5f57844d4fb6491b0a1
[ "MIT" ]
13
2019-10-19T17:41:19.000Z
2021-11-04T18:50:03.000Z
KRender/Internal/Vulkan/KVulkanHeapAllocator.cpp
King19931229/KApp
f7f855b209348f835de9e5f57844d4fb6491b0a1
[ "MIT" ]
3
2019-12-09T06:22:43.000Z
2020-05-28T09:33:44.000Z
KRender/Internal/Vulkan/KVulkanHeapAllocator.cpp
King19931229/KApp
f7f855b209348f835de9e5f57844d4fb6491b0a1
[ "MIT" ]
null
null
null
#include "KVulkanHeapAllocator.h" #include "KVulkanGlobal.h" #include "KVulkanHelper.h" #include "KBase/Publish/KNumerical.h" #include "KBase/Interface/IKLog.h" #include <algorithm> #include <mutex> #define KVUALKAN_HEAP_TRUELY_ALLOC //#define KVUALKAN_HEAP_BRUTE_CHECK namespace KVulkanHeapAllocator { struct BlockI...
22.88242
164
0.659317
King19931229
a1217c84f390c7b4ccaca56a570e71deecf726ba
2,473
cpp
C++
Section11/Section11Challenge/Section11Challenge/main.cpp
tslothorst/Learning-Cpp
ad7fd6fdcf6678202cc376e910cbdae454fd9273
[ "MIT" ]
null
null
null
Section11/Section11Challenge/Section11Challenge/main.cpp
tslothorst/Learning-Cpp
ad7fd6fdcf6678202cc376e910cbdae454fd9273
[ "MIT" ]
null
null
null
Section11/Section11Challenge/Section11Challenge/main.cpp
tslothorst/Learning-Cpp
ad7fd6fdcf6678202cc376e910cbdae454fd9273
[ "MIT" ]
null
null
null
#include "main.h" #include<iostream> #include<vector> #include<algorithm> using namespace std; void print_menu(); void add_number(vector<int> &userNumbers); void display_list(const vector<int> &userNumbers); double get_avgnum(const vector<int> &userNumbers); int get_smallnum(const vector<int> &userNumbers); int get_la...
22.688073
157
0.66114
tslothorst
a1252b251aa55c962d5b153bba9de8d48411f622
726
cpp
C++
LeetCode/0036. Valid Sudoku/solution.cpp
InnoFang/oh-my-algorithms
f559dba371ce725a926725ad28d5e1c2facd0ab2
[ "Apache-2.0" ]
19
2018-08-26T03:10:58.000Z
2022-03-07T18:12:52.000Z
LeetCode/0036. Valid Sudoku/solution.cpp
InnoFang/Algorithm-Library
1896b9d8b1fa4cd73879aaecf97bc32d13ae0169
[ "Apache-2.0" ]
null
null
null
LeetCode/0036. Valid Sudoku/solution.cpp
InnoFang/Algorithm-Library
1896b9d8b1fa4cd73879aaecf97bc32d13ae0169
[ "Apache-2.0" ]
6
2020-03-16T23:00:06.000Z
2022-01-13T07:02:08.000Z
/** * 507 / 507 test cases passed. * Runtime: 20 ms * Memory Usage: 17.6 MB */ class Solution { public: bool isValidSudoku(vector<vector<char>>& board) { bool row[10][10] = { false }; bool col[10][10] = { false }; bool blk[10][10] = { false }; for (int i = 0; i < 9; i++) { ...
29.04
82
0.415978
InnoFang
a12692f2069db6fd63b1d5df08529db6910bf3cf
11,998
cpp
C++
newton-4.00/applications/ndSandbox/toolbox/ndVehicleUI.cpp
execomrt/newton-dynamics
b38363000bed09cf514cdad92013b0c0b4c48f3f
[ "Zlib" ]
null
null
null
newton-4.00/applications/ndSandbox/toolbox/ndVehicleUI.cpp
execomrt/newton-dynamics
b38363000bed09cf514cdad92013b0c0b4c48f3f
[ "Zlib" ]
null
null
null
newton-4.00/applications/ndSandbox/toolbox/ndVehicleUI.cpp
execomrt/newton-dynamics
b38363000bed09cf514cdad92013b0c0b4c48f3f
[ "Zlib" ]
null
null
null
/* Copyright (c) <2003-2021> <Newton Game Dynamics> * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * * Permission is granted to anyone to use this software for any purpose, * includi...
28.364066
212
0.710202
execomrt
a1288a15b926eea092a4e59aaa532cb9750c1713
5,178
cpp
C++
src/CoreGenPortal/PortalUserPrefWin.cpp
opensocsysarch/CoreGenPortal
b6c8c9ca13fa8add969511f153331cad83953799
[ "Apache-2.0" ]
1
2019-06-25T13:06:14.000Z
2019-06-25T13:06:14.000Z
src/CoreGenPortal/PortalUserPrefWin.cpp
opensocsysarch/CoreGenPortal
b6c8c9ca13fa8add969511f153331cad83953799
[ "Apache-2.0" ]
128
2018-10-23T12:45:15.000Z
2021-12-28T13:09:39.000Z
src/CoreGenPortal/PortalUserPrefWin.cpp
opensocsysarch/CoreGenPortal
b6c8c9ca13fa8add969511f153331cad83953799
[ "Apache-2.0" ]
1
2021-01-20T23:17:34.000Z
2021-01-20T23:17:34.000Z
// // _PORTALUSERPREFWIN_CPP_ // // Copyright (C) 2017-2020 Tactical Computing Laboratories, LLC // All Rights Reserved // contact@tactcomplabs.com // // See LICENSE in the top level directory for licensing details // #include "PortalUserPrefWin.h" // Event Table wxBEGIN_EVENT_TABLE(PortalUserPrefWin, wxDialog) EVT...
36.723404
79
0.486288
opensocsysarch
a128e7fe9b346a83fd79072dd2db2f935fa76914
4,153
hpp
C++
query_optimizer/expressions/SubqueryExpression.hpp
yuanchenl/quickstep
cc20fed6e56b0e583ae15a0219c070c8bacf14ba
[ "Apache-2.0" ]
1
2021-08-22T19:16:59.000Z
2021-08-22T19:16:59.000Z
query_optimizer/expressions/SubqueryExpression.hpp
udippant/incubator-quickstep
8169306c2923d68235ba3c0c8df4c53f5eee9a68
[ "Apache-2.0" ]
null
null
null
query_optimizer/expressions/SubqueryExpression.hpp
udippant/incubator-quickstep
8169306c2923d68235ba3c0c8df4c53f5eee9a68
[ "Apache-2.0" ]
1
2021-11-30T13:50:59.000Z
2021-11-30T13:50:59.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...
31.225564
98
0.75921
yuanchenl
a12b8188fb1a107d82a09bb3331f62b662b228e8
16,474
cpp
C++
src/circuits/BooleanCircuits.cpp
cryptobiu/libscapi
49eee7aee9eb3544a7facb199d0a6e98097b058a
[ "MIT" ]
160
2016-05-11T09:45:56.000Z
2022-03-06T09:32:19.000Z
src/circuits/BooleanCircuits.cpp
cryptobiu/libscapi
49eee7aee9eb3544a7facb199d0a6e98097b058a
[ "MIT" ]
57
2016-12-26T07:02:12.000Z
2022-03-06T16:34:31.000Z
src/circuits/BooleanCircuits.cpp
cryptobiu/libscapi
49eee7aee9eb3544a7facb199d0a6e98097b058a
[ "MIT" ]
67
2016-10-10T17:56:22.000Z
2022-03-15T22:56:39.000Z
/** * %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% * * Copyright (c) 2016 LIBSCAPI (http://crypto.biu.ac.il/SCAPI) * This file is part of the SCAPI project. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Permission is hereby granted, free of charge, to any p...
41.60101
158
0.657824
cryptobiu
a12e1de881cb1f29545e43285b1fdb13eb451d73
2,642
cpp
C++
src/test/cpp/Balau/Resource/FileUtf32To8WriteResourceTest.cpp
borasoftware/balau
8bb82e9cbf7aa8193880eda1de5cbca4db1e1c14
[ "Apache-2.0" ]
6
2018-12-30T15:09:26.000Z
2020-04-20T09:27:59.000Z
src/test/cpp/Balau/Resource/FileUtf32To8WriteResourceTest.cpp
borasoftware/balau
8bb82e9cbf7aa8193880eda1de5cbca4db1e1c14
[ "Apache-2.0" ]
null
null
null
src/test/cpp/Balau/Resource/FileUtf32To8WriteResourceTest.cpp
borasoftware/balau
8bb82e9cbf7aa8193880eda1de5cbca4db1e1c14
[ "Apache-2.0" ]
2
2019-11-12T08:07:16.000Z
2019-11-29T11:19:47.000Z
// @formatter:off // // Balau core C++ library // // Copyright (C) 2008 Bora Software (contact@borasoftware.com) // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apach...
31.082353
97
0.735428
borasoftware
a132a9281ce212aa497879d7c91326a33d50b0aa
11,305
hh
C++
Networking/BLIP/LoopbackProvider.hh
tophatch/couchbase-lite-core
f457d9bc74af276516d868b61a48b81b5d717e5c
[ "Apache-2.0" ]
null
null
null
Networking/BLIP/LoopbackProvider.hh
tophatch/couchbase-lite-core
f457d9bc74af276516d868b61a48b81b5d717e5c
[ "Apache-2.0" ]
null
null
null
Networking/BLIP/LoopbackProvider.hh
tophatch/couchbase-lite-core
f457d9bc74af276516d868b61a48b81b5d717e5c
[ "Apache-2.0" ]
null
null
null
// // LoopbackProvider.hh // // Copyright 2017-Present Couchbase, Inc. // // Use of this software is governed by the Business Source License included // in the file licenses/BSL-Couchbase.txt. As of the Change Date specified // in that file, in accordance with the Business Source License, use of this // software will ...
35.888889
102
0.515789
tophatch
a135afa046cff6d9c021a331e0d1f070e399de6a
228
cpp
C++
CustomWindow.Test.cpp
jmfb/wex
b012a7e5d8dfa978a432363bb11b64474e487f5f
[ "MIT" ]
1
2017-01-08T14:11:58.000Z
2017-01-08T14:11:58.000Z
CustomWindow.Test.cpp
jmfb/wex
b012a7e5d8dfa978a432363bb11b64474e487f5f
[ "MIT" ]
null
null
null
CustomWindow.Test.cpp
jmfb/wex
b012a7e5d8dfa978a432363bb11b64474e487f5f
[ "MIT" ]
null
null
null
#include "WindowsInclude.h" #include "CustomWindow.h" #include "Exception.h" #include <UnitTest/UnitTest.h> using UnitTest::Assert; namespace Wex { TEST_CLASS(CustomWindowTest) { public: CustomWindowTest() { } }; }
12
30
0.710526
jmfb
a1361af5530ec5a99f22969d394784f7cd19a9f5
527
cpp
C++
motion/velocity_controller/src/velocity_controller_node.cpp
vortexntnu/manta-AUV
c9e223c60cf0672e74b42aa2ea2dfe988de5d359
[ "MIT" ]
null
null
null
motion/velocity_controller/src/velocity_controller_node.cpp
vortexntnu/manta-AUV
c9e223c60cf0672e74b42aa2ea2dfe988de5d359
[ "MIT" ]
null
null
null
motion/velocity_controller/src/velocity_controller_node.cpp
vortexntnu/manta-AUV
c9e223c60cf0672e74b42aa2ea2dfe988de5d359
[ "MIT" ]
null
null
null
#include "velocity_controller/velocity_controller.h" int main(int argc, char **argv) { const bool DEBUG_MODE = false; // debug logs are printed to console when true ros::init(argc, argv, "velocity_controller"); ros::NodeHandle nh; if (DEBUG_MODE) { ros::console::set_logger_level(ROSCONSOLE_DEFAULT_NAME, ...
27.736842
79
0.688805
vortexntnu
a13654a0a2dfad380548bf3b0cd7837adec698c3
910
hpp
C++
sources/dansandu/glyph/error.hpp
dansandu/glyph
d7d51bc57000d85eb4fd576e11502eeadbb0a6cf
[ "MIT" ]
null
null
null
sources/dansandu/glyph/error.hpp
dansandu/glyph
d7d51bc57000d85eb4fd576e11502eeadbb0a6cf
[ "MIT" ]
null
null
null
sources/dansandu/glyph/error.hpp
dansandu/glyph
d7d51bc57000d85eb4fd576e11502eeadbb0a6cf
[ "MIT" ]
null
null
null
#pragma once #include <exception> namespace dansandu::glyph::error { class GrammarError : public std::exception { public: explicit GrammarError(std::string message) : message_{std::move(message)} { } const char* what() const noexcept override { return message_.c_str(); } private: ...
15.964912
82
0.647253
dansandu
a1390401d6de5efb986f1ed268c0a972948b5742
4,269
cpp
C++
client_project/build/jsb-default/frameworks/cocos2d-x/cocos/editor-support/middleware-adapter.cpp
pertgame/battleframe
ffba8a7b4f7f45f1eed2c56060d9a2205fb1fdc9
[ "MIT" ]
1
2020-10-28T15:19:15.000Z
2020-10-28T15:19:15.000Z
client_project/build/jsb-default/frameworks/cocos2d-x/cocos/editor-support/middleware-adapter.cpp
pertgame/battleframe
ffba8a7b4f7f45f1eed2c56060d9a2205fb1fdc9
[ "MIT" ]
null
null
null
client_project/build/jsb-default/frameworks/cocos2d-x/cocos/editor-support/middleware-adapter.cpp
pertgame/battleframe
ffba8a7b4f7f45f1eed2c56060d9a2205fb1fdc9
[ "MIT" ]
1
2020-10-28T15:19:40.000Z
2020-10-28T15:19:40.000Z
/**************************************************************************** Copyright (c) 2018 Xiamen Yaji Software Co., Ltd. http://www.cocos2d-x.org 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 ...
25.562874
168
0.707191
pertgame
a13addd75a2145e126f57e0a70f0b888612b612c
5,759
cpp
C++
flang/unittests/Runtime/CommandTest.cpp
undingen/BOLT
87e45c91d3dd440021177bc9d37f449db57ecd2d
[ "Apache-1.1" ]
2,338
2018-06-19T17:34:51.000Z
2022-03-31T11:00:37.000Z
flang/unittests/Runtime/CommandTest.cpp
undingen/BOLT
87e45c91d3dd440021177bc9d37f449db57ecd2d
[ "Apache-1.1" ]
3,740
2019-01-23T15:36:48.000Z
2022-03-31T22:01:13.000Z
flang/unittests/Runtime/CommandTest.cpp
undingen/BOLT
87e45c91d3dd440021177bc9d37f449db57ecd2d
[ "Apache-1.1" ]
500
2019-01-23T07:49:22.000Z
2022-03-30T02:59:37.000Z
//===-- flang/unittests/RuntimeGTest/CommandTest.cpp ----------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
32.353933
80
0.708109
undingen
a13b7be1fa2df2e4b6931f137b7b24dfd069a80c
9,444
cc
C++
src/nnet2bin/nnet2-modify-learning-rates.cc
vimalmanohar/kaldi-tfmask
592c784f582e3d19a8cc1fe1071eac4c7e0c4833
[ "Apache-2.0" ]
2
2017-05-02T15:45:03.000Z
2017-07-06T06:34:51.000Z
src/nnet2bin/nnet2-modify-learning-rates.cc
vimalmanohar/kaldi-tfmask
592c784f582e3d19a8cc1fe1071eac4c7e0c4833
[ "Apache-2.0" ]
null
null
null
src/nnet2bin/nnet2-modify-learning-rates.cc
vimalmanohar/kaldi-tfmask
592c784f582e3d19a8cc1fe1071eac4c7e0c4833
[ "Apache-2.0" ]
null
null
null
// nnet2bin/nnet2-modify-learning-rates.cc // Copyright 2013 Guoguo Chen // See ../../COPYING for clarification regarding multiple 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 ...
38.704918
119
0.654913
vimalmanohar
a13d6b129a3f2b8b679d5dd730cc64cd0630e842
1,823
cc
C++
alidns/src/model/ModifyHichinaDomainDNSResult.cc
sdk-team/aliyun-openapi-cpp-sdk
d0e92f6f33126dcdc7e40f60582304faf2c229b7
[ "Apache-2.0" ]
3
2020-01-06T08:23:14.000Z
2022-01-22T04:41:35.000Z
alidns/src/model/ModifyHichinaDomainDNSResult.cc
sdk-team/aliyun-openapi-cpp-sdk
d0e92f6f33126dcdc7e40f60582304faf2c229b7
[ "Apache-2.0" ]
null
null
null
alidns/src/model/ModifyHichinaDomainDNSResult.cc
sdk-team/aliyun-openapi-cpp-sdk
d0e92f6f33126dcdc7e40f60582304faf2c229b7
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2009-2017 Alibaba Cloud 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...
29.403226
88
0.77345
sdk-team
a13db81a87da872e78d54c2eb1cabdd7e38a3d9f
6,806
cpp
C++
youth/cpp_exp/ex5/project5/lab5/findstop.cpp
uivid64/violet_youth
8568c1c22b2dc446d54061474330620f92bd594d
[ "Apache-2.0" ]
null
null
null
youth/cpp_exp/ex5/project5/lab5/findstop.cpp
uivid64/violet_youth
8568c1c22b2dc446d54061474330620f92bd594d
[ "Apache-2.0" ]
null
null
null
youth/cpp_exp/ex5/project5/lab5/findstop.cpp
uivid64/violet_youth
8568c1c22b2dc446d54061474330620f92bd594d
[ "Apache-2.0" ]
null
null
null
#include "lab5.h" #include "logiclayer.h" #include "QtWidgetsFL.h" #include "findstop.h" #include <QDialog> #include <QDesktopWidget> #include <QApplication> #include <QMessageBox> #include <QGraphicsSceneMouseEvent> #include <QGraphicsRectItem> #include <QGraphicsEllipseItem> #include "QtTipsDlgView.h" #include <QtWi...
23.308219
111
0.653982
uivid64
a13e9b36229a60c983d67c9876ab9ac18e4ca931
2,368
hpp
C++
src/polygon.hpp
npolar/reshp
6389f48a1bd745c2c0e9ef485bf6d163d73416a3
[ "MIT" ]
null
null
null
src/polygon.hpp
npolar/reshp
6389f48a1bd745c2c0e9ef485bf6d163d73416a3
[ "MIT" ]
1
2015-01-13T10:15:56.000Z
2015-01-13T10:15:56.000Z
src/polygon.hpp
npolar/reshp
6389f48a1bd745c2c0e9ef485bf6d163d73416a3
[ "MIT" ]
null
null
null
/* * * * * * * * * * * * *\ |* ╔═╗ v0.4 *| |* ╔═╦═╦═══╦═══╣ ╚═╦═╦═╗ *| |* ║ ╔═╣ '╔╬═╗╚╣ ║ ║ '║ *| |* ╚═╝ ╚═══╩═══╩═╩═╣ ╔═╝ *| |* * * * * * * * * ╚═╝ * *| |* Manipulation tool for *| |* ESRI Shapefiles *| |* * * * * * * * * * * * *| |* http://www.npolar.no/ *| \* * * * * * * * * * * * */ #ifndef RES...
29.234568
128
0.494932
npolar
a140a746eb600e0c2ab11b97d3ffbb028fec4b12
1,711
cpp
C++
Problem Solving/201914044/hackerearth_Oliver and the battle_201914044 .cpp
MasumBhai/cse-216-presentation
6c25dc537c949ab6b4e8ebeb20af7909fac4801c
[ "CC0-1.0" ]
null
null
null
Problem Solving/201914044/hackerearth_Oliver and the battle_201914044 .cpp
MasumBhai/cse-216-presentation
6c25dc537c949ab6b4e8ebeb20af7909fac4801c
[ "CC0-1.0" ]
null
null
null
Problem Solving/201914044/hackerearth_Oliver and the battle_201914044 .cpp
MasumBhai/cse-216-presentation
6c25dc537c949ab6b4e8ebeb20af7909fac4801c
[ "CC0-1.0" ]
null
null
null
/* auther : Abdullah Al Masum MIST_roll : 201914044 problem Link : https://www.hackerearth.com/practice/algorithms/graphs/breadth-first-search/practice-problems/algorithm/oliver-and-the-battle-1/submissions/ */ #include<bits/stdc++.h> #define MAX 1000 using namespace std; int n,m; int mat[MAX][MAX]; int vis...
26.734375
156
0.435418
MasumBhai
a141b8d8bc5d94757ea150d3ed4e91e0fa1bdc27
3,042
cc
C++
engines/ep/src/diskdockey.cc
hrajput89/kv_engine
33fb1ab2c9787f55555e5f7edea38807b3dbc371
[ "BSD-3-Clause" ]
1
2019-06-13T07:33:09.000Z
2019-06-13T07:33:09.000Z
engines/ep/src/diskdockey.cc
paolococchi/kv_engine
40256dca6bf77fb4bcc18e8ef7d9b8f991bf4e45
[ "BSD-3-Clause" ]
null
null
null
engines/ep/src/diskdockey.cc
paolococchi/kv_engine
40256dca6bf77fb4bcc18e8ef7d9b8f991bf4e45
[ "BSD-3-Clause" ]
1
2020-01-15T16:52:37.000Z
2020-01-15T16:52:37.000Z
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2019 Couchbase, 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 * * h...
33.428571
80
0.642998
hrajput89
a144165b6dc1368ad2c104a8d0c850aaa57af5f1
15,475
cpp
C++
transit/transit_graph_data.cpp
smartyw/organicmaps
9b10eb9d3ed6833861cef294c2416cc98b15e10d
[ "Apache-2.0" ]
4,879
2015-09-30T10:56:36.000Z
2022-03-31T18:43:03.000Z
transit/transit_graph_data.cpp
smartyw/organicmaps
9b10eb9d3ed6833861cef294c2416cc98b15e10d
[ "Apache-2.0" ]
7,549
2015-09-30T10:52:53.000Z
2022-03-31T22:04:22.000Z
transit/transit_graph_data.cpp
smartyw/organicmaps
9b10eb9d3ed6833861cef294c2416cc98b15e10d
[ "Apache-2.0" ]
1,493
2015-09-30T10:43:06.000Z
2022-03-21T09:16:49.000Z
#include "transit/transit_graph_data.hpp" #include "transit/transit_serdes.hpp" #include "base/assert.hpp" #include "base/checked_cast.hpp" #include "base/logging.hpp" #include "base/stl_helpers.hpp" #include "base/string_utils.hpp" #include <algorithm> #include <iterator> #include <set> #include "defines.hpp" usi...
28.085299
99
0.675735
smartyw
a145de89d4dd625c605d25cde097f39edeed0ec3
420
hpp
C++
pythran/pythonic/__builtin__/list/count.hpp
artas360/pythran
66dad52d52be71693043e9a7d7578cfb9cb3d1da
[ "BSD-3-Clause" ]
null
null
null
pythran/pythonic/__builtin__/list/count.hpp
artas360/pythran
66dad52d52be71693043e9a7d7578cfb9cb3d1da
[ "BSD-3-Clause" ]
null
null
null
pythran/pythonic/__builtin__/list/count.hpp
artas360/pythran
66dad52d52be71693043e9a7d7578cfb9cb3d1da
[ "BSD-3-Clause" ]
null
null
null
#ifndef PYTHONIC_BUILTIN_LIST_COUNT_HPP #define PYTHONIC_BUILTIN_LIST_COUNT_HPP #include "pythonic/include/__builtin__/list/count.hpp" #include "pythonic/__dispatch__/count.hpp" #include "pythonic/utils/proxy.hpp" namespace pythonic { namespace __builtin__ { namespace list { ALIAS(count, pythoni...
16.153846
54
0.738095
artas360
a14afec67d4ea5ccf1a6c3c9dbdaecd1a93af368
671
hpp
C++
src/datastructures/boost.hpp
rvanvenetie/spacetime
b516419be2a59115d9b2d853aeea9fcd4f125c94
[ "MIT" ]
null
null
null
src/datastructures/boost.hpp
rvanvenetie/spacetime
b516419be2a59115d9b2d853aeea9fcd4f125c94
[ "MIT" ]
null
null
null
src/datastructures/boost.hpp
rvanvenetie/spacetime
b516419be2a59115d9b2d853aeea9fcd4f125c94
[ "MIT" ]
null
null
null
#pragma once #include <boost/container/deque.hpp> #include <boost/container/options.hpp> #include <boost/container/small_vector.hpp> #include <boost/container/static_vector.hpp> template <typename I, size_t N> using SmallVector = boost::container::small_vector<I, N>; template <typename I, size_t N> using StaticVector ...
37.277778
76
0.692996
rvanvenetie
a1567eda4a122071dce708a5314751c64b9599e6
10,663
cpp
C++
src/hsa_balance.cpp
TheRobotStudio/osa_control
cab89793ae64b9c5b49c2b0b31a84fe2ec3b7f5c
[ "BSD-3-Clause" ]
null
null
null
src/hsa_balance.cpp
TheRobotStudio/osa_control
cab89793ae64b9c5b49c2b0b31a84fe2ec3b7f5c
[ "BSD-3-Clause" ]
null
null
null
src/hsa_balance.cpp
TheRobotStudio/osa_control
cab89793ae64b9c5b49c2b0b31a84fe2ec3b7f5c
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2019, The Robot Studio * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, this * list of cond...
30.640805
142
0.710119
TheRobotStudio
a15896da6718b2d3f177743e26947b189a98205b
7,119
cc
C++
code/Modules/HTTP/pnacl/pnaclURLLoader.cc
waywardmonkeys/oryol
6b496fa9f5fd7acbae3363e0617cb13d333aa6bf
[ "MIT" ]
null
null
null
code/Modules/HTTP/pnacl/pnaclURLLoader.cc
waywardmonkeys/oryol
6b496fa9f5fd7acbae3363e0617cb13d333aa6bf
[ "MIT" ]
null
null
null
code/Modules/HTTP/pnacl/pnaclURLLoader.cc
waywardmonkeys/oryol
6b496fa9f5fd7acbae3363e0617cb13d333aa6bf
[ "MIT" ]
null
null
null
//------------------------------------------------------------------------------ // pnaclURLLoader.cc //------------------------------------------------------------------------------ #include "Pre.h" #include "pnaclURLLoader.h" #include "Core/pnacl/pnaclInstance.h" #include "IO/Stream/MemoryStream.h" #include <ppapi/c...
37.078125
134
0.597977
waywardmonkeys
a15aeebbf3a10b8093e2aab3fe289f48403d4884
11,028
cc
C++
ssTableCache.cc
q4x3/KVStore
51190a9487d32f26046de4638f6b8d1b85fbc079
[ "MIT" ]
null
null
null
ssTableCache.cc
q4x3/KVStore
51190a9487d32f26046de4638f6b8d1b85fbc079
[ "MIT" ]
null
null
null
ssTableCache.cc
q4x3/KVStore
51190a9487d32f26046de4638f6b8d1b85fbc079
[ "MIT" ]
null
null
null
#include <fstream> #include <iostream> #include <algorithm> #include <queue> #include "utils.h" #include "ssTableCache.h" std::vector<entryForMerge> ssTableCache::genSortedEntry(std::vector<uint64_t> &&keyArray, ssTable *table) { std::vector<entryForMerge> res; for (uint32_t i = 0; i < keyArray.size(); ++i) { ...
37.256757
129
0.518589
q4x3
a15b0836431db7eb733d6c96000f3491139413e4
1,423
cpp
C++
model/mosesdecoder/misc/processLexicalTable.cpp
saeedesm/UNMT_AH
cc171bf66933b5c0ad8a0ab87e57f7364312a7df
[ "Apache-2.0" ]
3
2019-12-02T14:53:29.000Z
2020-08-12T18:01:49.000Z
tools/mosesdecoder-master/misc/processLexicalTable.cpp
Pangeamt/nectm
6b84f048698f2530b9fdbb30695f2e2217c3fbfe
[ "Apache-2.0" ]
2
2020-11-06T14:40:10.000Z
2020-12-29T19:03:11.000Z
tools/mosesdecoder-master/misc/processLexicalTable.cpp
Pangeamt/nectm
6b84f048698f2530b9fdbb30695f2e2217c3fbfe
[ "Apache-2.0" ]
2
2020-03-26T16:05:11.000Z
2020-08-06T16:35:39.000Z
#include <iostream> #include <string> #include "moses/Timer.h" #include "moses/InputFileStream.h" #include "moses/FF/LexicalReordering/LexicalReorderingTable.h" using namespace Moses; Timer timer; void printHelp() { std::cerr << "Usage:\n" "options: \n" "\t-in string -- input table file n...
24.118644
79
0.580464
saeedesm
a15b9f8e1bd8f28c2a36cb942ae4f2b5558b0723
158
cpp
C++
cpp/libs/main.cpp
BinRay/Learning
36a2380a9686e6922632e6b85ddb3d1f0903b37a
[ "MIT" ]
null
null
null
cpp/libs/main.cpp
BinRay/Learning
36a2380a9686e6922632e6b85ddb3d1f0903b37a
[ "MIT" ]
null
null
null
cpp/libs/main.cpp
BinRay/Learning
36a2380a9686e6922632e6b85ddb3d1f0903b37a
[ "MIT" ]
null
null
null
// // Created by lbinr on 2020/11/5. // #include <iostream> using namespace std; int main( int argc, char* argv[] ){ cout << "hello, world!" << endl; }
14.363636
36
0.601266
BinRay
a15e698a959b763c6365cae82d35603508491a89
1,501
cpp
C++
practice/Artist.cpp
jordanjohnston/console-music-player
35c80d9b083a04f75b3959e10cb4c91da56f4b1b
[ "MIT" ]
null
null
null
practice/Artist.cpp
jordanjohnston/console-music-player
35c80d9b083a04f75b3959e10cb4c91da56f4b1b
[ "MIT" ]
null
null
null
practice/Artist.cpp
jordanjohnston/console-music-player
35c80d9b083a04f75b3959e10cb4c91da56f4b1b
[ "MIT" ]
null
null
null
#include "Artist.h" #include <iostream> using std::vector; using std::map; using std::wstring; Artist::Artist() { m_name = L""; m_albumTitles = vector<wstring>(); m_albumMap = map<wstring, vector<Song>>(); } Artist::Artist(const wstring name) :m_name(name) { m_albumTitles = vector<wstring>(); m_albumMap = map...
17.869048
102
0.710193
jordanjohnston
a15f8cc02f1399eddaadd7f65e07d2f259f5b754
1,572
cc
C++
components/history_clusters/core/memories_features.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
components/history_clusters/core/memories_features.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
components/history_clusters/core/memories_features.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2021 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/history_clusters/core/memories_features.h" #include "base/metrics/field_trial_params.h" namespace history_clusters { namespace { ...
34.173913
80
0.755725
DamieFC
a162e71560dca828a9dee675fa745df8dfb724c0
717
cpp
C++
samples/common/src/platform/android/bitmap.cpp
soyzhc/agge
bf6b2b0f76178524b6f19baeec9dfba81e251086
[ "MIT" ]
96
2015-02-02T11:18:44.000Z
2022-01-24T13:41:13.000Z
samples/common/src/platform/android/bitmap.cpp
soyzhc/agge
bf6b2b0f76178524b6f19baeec9dfba81e251086
[ "MIT" ]
8
2018-01-13T11:44:54.000Z
2021-04-18T17:25:47.000Z
samples/common/src/platform/android/bitmap.cpp
soyzhc/agge
bf6b2b0f76178524b6f19baeec9dfba81e251086
[ "MIT" ]
16
2017-11-19T03:08:22.000Z
2020-09-11T08:30:35.000Z
#include "bitmap.h" #include <android/native_window.h> android_native_surface::android_native_surface(ANativeWindow &window) : _window(window) { ANativeWindow_Buffer descriptor = { }; if (ANativeWindow_lock(&_window, &descriptor, 0) < 0) throw 0; switch (descriptor.format) { case WINDOW_FORMAT_RGBA_8888: ...
20.485714
69
0.758717
soyzhc
a1634727a90eb72ef0b67bd9f973af2e85cf22d0
9,958
cpp
C++
third_party/skia_m63/src/shaders/gradients/SkTwoPointConicalGradient.cpp
kniefliu/WindowsSamples
c841268ef4a0f1c6f89b8e95bf68058ea2548394
[ "MIT" ]
4
2019-10-18T05:53:30.000Z
2021-08-21T07:36:37.000Z
third_party/skia_m63/src/shaders/gradients/SkTwoPointConicalGradient.cpp
kniefliu/WindowsSamples
c841268ef4a0f1c6f89b8e95bf68058ea2548394
[ "MIT" ]
2
2019-03-14T10:26:45.000Z
2021-08-06T01:24:06.000Z
third_party/skia_m63/src/shaders/gradients/SkTwoPointConicalGradient.cpp
kniefliu/WindowsSamples
c841268ef4a0f1c6f89b8e95bf68058ea2548394
[ "MIT" ]
4
2018-10-14T00:17:11.000Z
2020-07-01T04:01:25.000Z
/* * Copyright 2012 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkTwoPointConicalGradient.h" #include "SkRasterPipeline.h" #include "../../jumper/SkJumper.h" sk_sp<SkShader> SkTwoPointConicalGradient::Create(const SkPoint& c0, ...
37.43609
103
0.610263
kniefliu
a1684962ee6f79f90d6c042414e5b92e1552860c
404
cpp
C++
books/C++_Prime_Plus/Chapter6/not.cpp
liangjisheng/C-Cpp
8b33ba1f43580a7bdded8bb4ce3d92983ccedb81
[ "MIT" ]
5
2019-09-17T09:12:15.000Z
2021-05-29T10:54:39.000Z
books/C++_Prime_Plus/Chapter6/not.cpp
liangjisheng/C-Cpp
8b33ba1f43580a7bdded8bb4ce3d92983ccedb81
[ "MIT" ]
null
null
null
books/C++_Prime_Plus/Chapter6/not.cpp
liangjisheng/C-Cpp
8b33ba1f43580a7bdded8bb4ce3d92983ccedb81
[ "MIT" ]
2
2021-07-26T06:36:12.000Z
2022-01-23T15:20:30.000Z
#include"iostream" #include"climits" using namespace std; bool is_int(double); int main() { double num; cout<<"Enter an integer value:"; cin>>num; while(!is_int(num)) { cout<<"Out of range--please try agagin:"; cin.get(); cin>>num; } int val=(int)num; cout<<"The valu is:"<<val<<endl; return 0; } bool is...
16.833333
43
0.65099
liangjisheng
a168f706c026d400cb7ade7000eb2eff43cc3136
387
hpp
C++
Paramedic.hpp
rotemish7/wargame-a
6c5d0cd5c5afe4a0187c38478b408e0ea7cd0661
[ "MIT" ]
null
null
null
Paramedic.hpp
rotemish7/wargame-a
6c5d0cd5c5afe4a0187c38478b408e0ea7cd0661
[ "MIT" ]
null
null
null
Paramedic.hpp
rotemish7/wargame-a
6c5d0cd5c5afe4a0187c38478b408e0ea7cd0661
[ "MIT" ]
null
null
null
// // Created by rotem levy on 27/05/2020. // #pragma once #include "Soldier.hpp" using namespace std; class Paramedic: public Soldier { public: static const uint MAX_HP = 100; Paramedic() {}; virtual ~Paramedic() {}; Paramedic(uint num); void attack(vector<vector<Soldier*>> &...
16.125
70
0.612403
rotemish7
a16e09521a95b870c4462eebaae3fbe5919363fa
542
cpp
C++
2A. C++ Advanced (STL)/Attic/setw.cpp
alemesa1991/School-Projects
ed9170fa4cadfe18c6d9850a17077686ca16d1a1
[ "MIT" ]
null
null
null
2A. C++ Advanced (STL)/Attic/setw.cpp
alemesa1991/School-Projects
ed9170fa4cadfe18c6d9850a17077686ca16d1a1
[ "MIT" ]
null
null
null
2A. C++ Advanced (STL)/Attic/setw.cpp
alemesa1991/School-Projects
ed9170fa4cadfe18c6d9850a17077686ca16d1a1
[ "MIT" ]
null
null
null
// http://www.cplusplus.com/reference/iomanip/setw/ // setw example #include <iostream> // std::cout #include <iomanip> // std::setw int main () { int width = 20; std::cout << "0 1 2 3\n"; std::cout << "123456789012345678901234567890\n"; std::cout << std::setw(width); std::c...
30.111111
89
0.560886
alemesa1991
a16f864cd332112cd327e49ef24b8a43908e0fdf
677
cpp
C++
ReferenceTests_v3/src/tests/Catch_Hidden/UT_NotHidden.cpp
dmkozh/TestAdapter_Catch2
6584596594f11bf477fddebfd1211483ca091ee3
[ "MIT" ]
null
null
null
ReferenceTests_v3/src/tests/Catch_Hidden/UT_NotHidden.cpp
dmkozh/TestAdapter_Catch2
6584596594f11bf477fddebfd1211483ca091ee3
[ "MIT" ]
null
null
null
ReferenceTests_v3/src/tests/Catch_Hidden/UT_NotHidden.cpp
dmkozh/TestAdapter_Catch2
6584596594f11bf477fddebfd1211483ca091ee3
[ "MIT" ]
null
null
null
/** Basic Info ** Copyright: 2019 Johnny Hendriks Author : Johnny Hendriks Year : 2019 Project: VSTestAdapter for Catch2 Licence: MIT Notes: None ** Basic Info **/ /************ * Includes * ************/ // Catch2 #include <catch2/catch_test_macros.hpp> /************** * Start code * **************/ nam...
15.044444
87
0.55096
dmkozh
a171f05454e22d638a2f450d95e3fc0d1e5a1118
1,763
hpp
C++
include/evt/evtapproach.hpp
AlterB/chronovise
5c5fac329b143f3e62ebbc8523d7e205835dd4cb
[ "Apache-2.0" ]
2
2021-02-04T18:22:41.000Z
2021-12-08T10:57:00.000Z
include/evt/evtapproach.hpp
AlterB/chronovise
5c5fac329b143f3e62ebbc8523d7e205835dd4cb
[ "Apache-2.0" ]
9
2018-03-20T10:24:22.000Z
2018-08-27T21:53:56.000Z
include/evt/evtapproach.hpp
AlterB/chronovise
5c5fac329b143f3e62ebbc8523d7e205835dd4cb
[ "Apache-2.0" ]
4
2018-05-16T14:27:55.000Z
2022-01-28T17:18:24.000Z
#ifndef EVT_EVTAPPROACH_HPP_ #define EVT_EVTAPPROACH_HPP_ #include "measures_pool.hpp" namespace chronovise { /** * The abstract class implementing one of the EVT approach (BM or PoT). */ template <typename T_INPUT, typename T_TIME=unsigned long> class EVTApproach { public: /** * A default virtual costr...
26.313433
93
0.673284
AlterB
a1727dfcaa0d68978b242b0f18757785f8c40668
2,334
hpp
C++
source/triceratone/mechanics/cylinderMath.hpp
a-day-old-bagel/at3
868cec7672fd109760cae740b1acf26cec5eb85e
[ "MIT" ]
null
null
null
source/triceratone/mechanics/cylinderMath.hpp
a-day-old-bagel/at3
868cec7672fd109760cae740b1acf26cec5eb85e
[ "MIT" ]
null
null
null
source/triceratone/mechanics/cylinderMath.hpp
a-day-old-bagel/at3
868cec7672fd109760cae740b1acf26cec5eb85e
[ "MIT" ]
null
null
null
#pragma once #include "math.hpp" namespace at3 { /** * Get the faked cylinder gravity to apply to a mass. * This attempts to take into account cylinder-tangential velocity of the mass, and provide a complete picure of the * way an object would move inside the cylinder from the perspective of th...
44.037736
121
0.705656
a-day-old-bagel
a173d518a45d21db284feef54cb158e7eccc9983
23,364
cpp
C++
modules/gles31/functional/es31fShaderHelperInvocationTests.cpp
TinkerBoard-Android/external_deqp
fbf76f4e30a964813b9cdfa0dd36dadc25220939
[ "Apache-2.0" ]
20
2019-04-18T07:37:34.000Z
2022-02-02T21:43:47.000Z
modules/gles31/functional/es31fShaderHelperInvocationTests.cpp
TinkerBoard-Android/external_deqp
fbf76f4e30a964813b9cdfa0dd36dadc25220939
[ "Apache-2.0" ]
11
2019-10-21T13:39:41.000Z
2021-11-05T08:11:54.000Z
modules/gles31/functional/es31fShaderHelperInvocationTests.cpp
TinkerBoard-Android/external_deqp
fbf76f4e30a964813b9cdfa0dd36dadc25220939
[ "Apache-2.0" ]
3
2017-01-21T00:56:25.000Z
2020-10-31T12:00:02.000Z
/*------------------------------------------------------------------------- * drawElements Quality Program OpenGL ES 3.1 Module * ------------------------------------------------- * * Copyright 2014 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not ...
32.137552
211
0.704503
TinkerBoard-Android
a17730682a148b2803cd0c22cf338342ed22fd5c
77,288
cpp
C++
B2G/gecko/content/media/MediaStreamGraph.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
3
2015-08-31T15:24:31.000Z
2020-04-24T20:31:29.000Z
B2G/gecko/content/media/MediaStreamGraph.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
null
null
null
B2G/gecko/content/media/MediaStreamGraph.cpp
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
3
2015-07-29T07:17:15.000Z
2020-11-04T06:55:37.000Z
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-*/ /* 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 "MediaStreamGraph.h" #inc...
33.242151
111
0.687506
wilebeast
a177afd778c2c8658ac4c0e155a6e4f60fd502c5
1,420
hpp
C++
iceoryx_examples/iceperf/base.hpp
kwallner/iceoryx
f7fee3c237bfe8ae15da434aa78937dba0b0c8ec
[ "Apache-2.0" ]
null
null
null
iceoryx_examples/iceperf/base.hpp
kwallner/iceoryx
f7fee3c237bfe8ae15da434aa78937dba0b0c8ec
[ "Apache-2.0" ]
null
null
null
iceoryx_examples/iceperf/base.hpp
kwallner/iceoryx
f7fee3c237bfe8ae15da434aa78937dba0b0c8ec
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2020 by Robert Bosch GmbH. 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...
34.634146
87
0.757042
kwallner
a17a64c91b43e614bf6b36375f887d65184bb7bc
1,322
cpp
C++
src/Test/src/TestSyncModel.cpp
don-reba/peoples-note
c22d6963846af833c55f4294dd0474e83344475d
[ "BSD-2-Clause" ]
null
null
null
src/Test/src/TestSyncModel.cpp
don-reba/peoples-note
c22d6963846af833c55f4294dd0474e83344475d
[ "BSD-2-Clause" ]
null
null
null
src/Test/src/TestSyncModel.cpp
don-reba/peoples-note
c22d6963846af833c55f4294dd0474e83344475d
[ "BSD-2-Clause" ]
null
null
null
#include "stdafx.h" #include "SyncModel.h" #include "EnNoteTranslator.h" #include "MockEnService.h" #include "MockMessagePump.h" #include "MockLogger.h" #include "MockUserModel.h" #include "SignalCheck.h" #include <boost/ref.hpp> using namespace boost; using namespace std; //----------------------- ...
20.030303
62
0.68003
don-reba
a17b2ac897ad5ac9635b06565708a71c19962db8
21,937
cpp
C++
emulator/src/mame/machine/ms7004.cpp
rjw57/tiw-computer
5ef1c79893165b8622d1114d81cd0cded58910f0
[ "MIT" ]
1
2022-01-15T21:38:38.000Z
2022-01-15T21:38:38.000Z
emulator/src/mame/machine/ms7004.cpp
rjw57/tiw-computer
5ef1c79893165b8622d1114d81cd0cded58910f0
[ "MIT" ]
null
null
null
emulator/src/mame/machine/ms7004.cpp
rjw57/tiw-computer
5ef1c79893165b8622d1114d81cd0cded58910f0
[ "MIT" ]
null
null
null
// license:BSD-3-Clause // copyright-holders:Sergey Svishchev /* Elektronika MS 7004 keyboard (DEC LK-201 workalike with extra keys for Cyrillic characters). To do: - connect LEDs and speaker */ #include "emu.h" #include "ms7004.h" #include "speaker.h" #define VERBOSE_DBG 1 /* general debug me...
46.378436
146
0.665405
rjw57
a17b841b28943f028b469353b4832dd177a45977
299
cpp
C++
contest/AtCoder/abc033/B.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
7
2018-04-14T14:55:51.000Z
2022-01-31T10:49:49.000Z
contest/AtCoder/abc033/B.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
5
2018-04-14T14:28:49.000Z
2019-05-11T02:22:10.000Z
contest/AtCoder/abc033/B.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
null
null
null
#include "string.hpp" #include "vector.hpp" int main() { int n(in); Vector<String> s(n); Vector<int> p(n); read(s, p); int sum = p.accumulate(); for (int i = 0; i < n; ++i) { if (sum < p[i] * 2) { cout << s[i] << endl; return 0; } } cout << "atcoder" << endl; }
16.611111
31
0.481605
not522
a17bcaea4791de2ec15c5c76dc866948f453bda6
8,026
cc
C++
L1Trigger/L1TMuonEndCap/src/PtAssignment.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
L1Trigger/L1TMuonEndCap/src/PtAssignment.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
L1Trigger/L1TMuonEndCap/src/PtAssignment.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
#include "L1Trigger/L1TMuonEndCap/interface/PtAssignment.h" #include "L1Trigger/L1TMuonEndCap/interface/PtAssignmentEngine.h" #include "L1Trigger/L1TMuonEndCap/interface/PtAssignmentEngineDxy.h" void PtAssignment::configure(PtAssignmentEngine* pt_assign_engine, PtAssignmentEngineDxy* pt_a...
37.858491
155
0.611637
ckamtsikis
a17fe363176498410537a0ebeeb01e55614b19c6
2,857
cpp
C++
test/algebra/test_linear_polynomial.cpp
hyperpower/Nablla
5a9be9f3b064a235572a1a2c9c5c2c19118697c5
[ "MIT" ]
null
null
null
test/algebra/test_linear_polynomial.cpp
hyperpower/Nablla
5a9be9f3b064a235572a1a2c9c5c2c19118697c5
[ "MIT" ]
null
null
null
test/algebra/test_linear_polynomial.cpp
hyperpower/Nablla
5a9be9f3b064a235572a1a2c9c5c2c19118697c5
[ "MIT" ]
null
null
null
#ifndef _ALGEBRA_TEST_LINEAR_POLYNOMIAL_HPP_ #define _ALGEBRA_TEST_LINEAR_POLYNOMIAL_HPP_ #include "gtest/gtest.h" #include "algebra/misc/linear_polynomial.hpp" namespace carpio{ TEST(linear_polynomial, lp){ typedef LinearPolynomial_<double, std::string> Poly; Poly poly; poly["a"] = 1; poly["b"] = 2; poly["b"] ...
18.432258
53
0.535527
hyperpower
a1801bb58f2b27d40ff849ce8de2c833463e291f
1,249
cc
C++
CPPQEDscripts/PTLA_Evolved.cc
vukics/cppqed
a933375f53b982b14cebf7cb63de300996ddd00b
[ "BSL-1.0" ]
5
2021-02-21T14:00:54.000Z
2021-07-29T15:12:11.000Z
CPPQEDscripts/PTLA_Evolved.cc
vukics/cppqed
a933375f53b982b14cebf7cb63de300996ddd00b
[ "BSL-1.0" ]
10
2020-04-14T11:18:02.000Z
2021-07-04T20:11:23.000Z
CPPQEDscripts/PTLA_Evolved.cc
vukics/cppqed
a933375f53b982b14cebf7cb63de300996ddd00b
[ "BSL-1.0" ]
2
2021-01-25T10:16:35.000Z
2021-01-28T18:29:01.000Z
// Copyright András Vukics 2006–2020. Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.txt) #include "Evolution_.h" #include "PumpedTwoLevelAtom.h" #include "Qbit.h" #include "StateVector.h" #include "DensityOperator.h" #include "Simulated.h" using namespace std ; usin...
21.169492
132
0.638911
vukics
a189472ebd6dca27ed8af391104a4b3c674074bf
492
cpp
C++
Source/Inventory/Private/Main/HBGameInstance.cpp
DeltaTimeDev/Inventory
a4cd76f459a2c2458e219bc1f9ac1c1a9cd2a284
[ "MIT" ]
null
null
null
Source/Inventory/Private/Main/HBGameInstance.cpp
DeltaTimeDev/Inventory
a4cd76f459a2c2458e219bc1f9ac1c1a9cd2a284
[ "MIT" ]
null
null
null
Source/Inventory/Private/Main/HBGameInstance.cpp
DeltaTimeDev/Inventory
a4cd76f459a2c2458e219bc1f9ac1c1a9cd2a284
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "Main/HBGameInstance.h" UHBGameInstance::UHBGameInstance() { //SoundManager = CreateDefaultSubobject<UHBSoundManager>(TEXT("ItemConfig")); } void UHBGameInstance::Init() { //SoundManager = NewObject<UHBSoundManager>(this,Sound...
23.428571
78
0.786585
DeltaTimeDev
a18b75261b0a48786230e2df4b08adff993f2d1c
10,714
cpp
C++
templates/ros_msg_io.cpp
shuklaayush/v_repExtRosInterface
d4bd7cb8e1079f9506af18381db7632da6237a33
[ "BSD-3-Clause" ]
19
2017-06-29T07:41:26.000Z
2021-11-03T18:48:48.000Z
templates/ros_msg_io.cpp
kasperg3/vrep_ros_interface
8e68a1b37591e7fe8576ca8b8cce9d6859a6bf5e
[ "BSD-3-Clause" ]
175
2017-06-29T09:37:43.000Z
2021-07-09T12:55:28.000Z
templates/ros_msg_io.cpp
kasperg3/vrep_ros_interface
8e68a1b37591e7fe8576ca8b8cce9d6859a6bf5e
[ "BSD-3-Clause" ]
8
2017-10-31T08:53:12.000Z
2021-07-21T06:14:43.000Z
#include <ros_msg_io.h> #include <v_repLib.h> #include <stubs.h> #include <cstring> #py from parse_messages_and_services import get_msgs_info, get_msgs_srvs_info, TypeSpec #py msgs = get_msgs_srvs_info(pycpp.params['messages_file'], pycpp.params['services_file']) #py for msg, info in msgs.items(): void write__`info.ty...
36.074074
132
0.444932
shuklaayush
a18df0c3b4b67cd95f755754268d3a84d951b7a5
2,247
cpp
C++
export/windows/obj/src/lime/system/Endian.cpp
arturspon/zombie-killer
07848c5006916e9079537a3d703ffe3740afaa5a
[ "MIT" ]
null
null
null
export/windows/obj/src/lime/system/Endian.cpp
arturspon/zombie-killer
07848c5006916e9079537a3d703ffe3740afaa5a
[ "MIT" ]
null
null
null
export/windows/obj/src/lime/system/Endian.cpp
arturspon/zombie-killer
07848c5006916e9079537a3d703ffe3740afaa5a
[ "MIT" ]
1
2021-07-16T22:57:01.000Z
2021-07-16T22:57:01.000Z
// Generated by Haxe 4.0.0-rc.2+77068e10c #include <hxcpp.h> #ifndef INCLUDED_lime_system_Endian #include <lime/system/Endian.h> #endif namespace lime{ namespace _hx_system{ ::lime::_hx_system::Endian Endian_obj::_hx_BIG_ENDIAN; ::lime::_hx_system::Endian Endian_obj::_hx_LITTLE_ENDIAN; bool Endian_obj::__GetStatic(...
28.443038
138
0.739208
arturspon
a1908feffb8171fd5f6210bf4b4a4cb84ce27dc5
411
cpp
C++
test/screen/screen2/main.cpp
6923403/C
d365021759e6d9078254b4b7b6455e0408e4b691
[ "MIT" ]
1
2020-10-01T14:52:45.000Z
2020-10-01T14:52:45.000Z
test/screen/screen2/main.cpp
6923403/C
d365021759e6d9078254b4b7b6455e0408e4b691
[ "MIT" ]
3
2020-06-19T01:24:51.000Z
2020-07-16T14:00:30.000Z
test/screen/screen2/main.cpp
6923403/C
d365021759e6d9078254b4b7b6455e0408e4b691
[ "MIT" ]
null
null
null
#include "screen.h" #include <iostream> using namespace std; void test1() { Screen myscreen; //char ch = myscreen.get(); //ch = myscreen.get(0, 0); myscreen.move(4, 0).set('#'); } void test2() { Screen myScreen(5, 5, 'X'); myScreen.move(4, 0).set('#').display(cout); cout << "\n"; myS...
14.678571
47
0.562044
6923403
08487d3497d5d5c73e51fa16d195cbde96c231cf
952
cpp
C++
Backtracking/CombinationSum2.cpp
aviral243/interviewbit-solutions-1
7b4bda68b2ff2916263493f40304b20fade16c9a
[ "MIT" ]
null
null
null
Backtracking/CombinationSum2.cpp
aviral243/interviewbit-solutions-1
7b4bda68b2ff2916263493f40304b20fade16c9a
[ "MIT" ]
null
null
null
Backtracking/CombinationSum2.cpp
aviral243/interviewbit-solutions-1
7b4bda68b2ff2916263493f40304b20fade16c9a
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; void backtrack(int start, vector<int> &row, int sum, set<vector<int>> &res, vector<int> &A, int B) { if (sum >= B) { if (sum == B) res.insert(row); return; } if (start == A.size()) return; row.push_back(A[start]); sum += A[start]; backtra...
18.307692
98
0.534664
aviral243
084d70e1266daa9ebdef51884042946721dea121
4,898
cpp
C++
src/transport_catalogue.cpp
BigBoyMato/CityRouter
5a76f410206645fce2cdbb33fbc3e8dfe0b5bf2b
[ "MIT" ]
null
null
null
src/transport_catalogue.cpp
BigBoyMato/CityRouter
5a76f410206645fce2cdbb33fbc3e8dfe0b5bf2b
[ "MIT" ]
null
null
null
src/transport_catalogue.cpp
BigBoyMato/CityRouter
5a76f410206645fce2cdbb33fbc3e8dfe0b5bf2b
[ "MIT" ]
null
null
null
#include "transport_catalogue.h" #include <algorithm> #include <utility> #include <iostream> namespace transport_catalogue{ namespace detail{ size_t StringPairHash::operator() (const std::pair<std::string, std::string>& stops) const { return hash_s(stops.first) + hash_s(stops.second) * 101; } s...
31
113
0.675174
BigBoyMato
084f92f4353a681b1c460b1ffd4d40d29a287145
5,496
cc
C++
common/cpp/src/google_smart_card_common/requesting/async_request_unittest.cc
swapnil119/chromeos_smart_card_connector
c01ec7e9aad61ede90f1eeaf8554540ede988d2d
[ "Apache-2.0" ]
79
2017-09-22T05:09:54.000Z
2022-03-13T01:11:06.000Z
common/cpp/src/google_smart_card_common/requesting/async_request_unittest.cc
QPC-database/chromeos_smart_card_connector
3ced08b30ce3f2a557487c3bfba1d1cd36c5011c
[ "Apache-2.0" ]
191
2017-10-23T22:34:58.000Z
2022-03-05T18:10:06.000Z
common/cpp/src/google_smart_card_common/requesting/async_request_unittest.cc
QPC-database/chromeos_smart_card_connector
3ced08b30ce3f2a557487c3bfba1d1cd36c5011c
[ "Apache-2.0" ]
32
2017-10-21T07:39:59.000Z
2021-11-10T22:55:32.000Z
// Copyright 2016 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 applicable...
35.921569
80
0.75091
swapnil119
085421df1899e82807b32c078f1ce197ead31708
3,503
cc
C++
bitmap_bench_sdsl.cc
timjb/rankselect
566182d9e2f5861b34dde0807d95c806776baf0d
[ "Apache-2.0" ]
15
2017-06-06T20:04:34.000Z
2020-06-29T21:33:29.000Z
bitmap_bench_sdsl.cc
timjb/rankselect
566182d9e2f5861b34dde0807d95c806776baf0d
[ "Apache-2.0" ]
null
null
null
bitmap_bench_sdsl.cc
timjb/rankselect
566182d9e2f5861b34dde0807d95c806776baf0d
[ "Apache-2.0" ]
4
2017-11-02T18:00:08.000Z
2022-02-03T18:37:52.000Z
/* -*- Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */ #include <assert.h> #include <stdio.h> #include <stdlib.h> #define __STDC_LIMIT_MACROS #include <stdint.h> #include <unistd.h> #include <sys/time.h> #include "rank_support.hpp" #include "select_support_scan.hpp" #include "select_support_mcl.hpp" #inclu...
23.353333
96
0.625178
timjb
08555da4ee2fbf5f8d8ac59b9ed4600b31cea14c
8,522
cpp
C++
modules/audio_coding/main/test/EncodeDecodeTest.cpp
stoiczek/WebRTC
6d8190b8c89b3bee9c5ee9eabbd9d67169449f8c
[ "BSD-3-Clause" ]
1
2017-02-08T09:47:04.000Z
2017-02-08T09:47:04.000Z
modules/audio_coding/main/test/EncodeDecodeTest.cpp
stoiczek/WebRTC
6d8190b8c89b3bee9c5ee9eabbd9d67169449f8c
[ "BSD-3-Clause" ]
null
null
null
modules/audio_coding/main/test/EncodeDecodeTest.cpp
stoiczek/WebRTC
6d8190b8c89b3bee9c5ee9eabbd9d67169449f8c
[ "BSD-3-Clause" ]
5
2015-10-30T17:35:19.000Z
2021-06-04T01:39:27.000Z
/* * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
28.032895
120
0.553861
stoiczek
08562e8f5fe4b144b3e39ca849ea7d9270686908
1,941
hpp
C++
src/core/voices/vae_voice.hpp
TobiasKozel/VAE
37df7698c560ab7e94d2e69b22166b72602f8860
[ "MIT" ]
1
2022-02-03T21:57:07.000Z
2022-02-03T21:57:07.000Z
src/core/voices/vae_voice.hpp
TobiasKozel/VAE
37df7698c560ab7e94d2e69b22166b72602f8860
[ "MIT" ]
null
null
null
src/core/voices/vae_voice.hpp
TobiasKozel/VAE
37df7698c560ab7e94d2e69b22166b72602f8860
[ "MIT" ]
null
null
null
#ifndef _VAE_VOICE #define _VAE_VOICE #include "../vae_types.hpp" #include "../vae_config.hpp" #include <limits> namespace vae { namespace core { /** * @brief Barebones voice. * Enough to play back a non spatialized and non filtered sound. * Other structs extend this and depend on it * @see VoicePan * @see...
36.622642
174
0.684699
TobiasKozel
085908c7c2a20ad78cb78ac94a61c958210e50be
20,097
cpp
C++
src/mlpack/tests/main_tests/kfn_test.cpp
KimSangYeon-DGU/mlpack
defa29791f43d3372b019f552134abc39def234a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
src/mlpack/tests/main_tests/kfn_test.cpp
KimSangYeon-DGU/mlpack
defa29791f43d3372b019f552134abc39def234a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
src/mlpack/tests/main_tests/kfn_test.cpp
KimSangYeon-DGU/mlpack
defa29791f43d3372b019f552134abc39def234a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2020-06-05T13:27:26.000Z
2020-06-23T09:44:31.000Z
/** * @file tests/main_tests/kfn_test.cpp * @author Atharva Khandait * @author Heet Sankesara * * Test mlpackMain() of kfn_main.cpp. * * mlpack is free software; you may redistribute it and/or modify it under the * terms of the 3-clause BSD license. You should have received a copy of the * 3-clause BSD licens...
30.312217
78
0.703438
KimSangYeon-DGU
085a807b135e210d3600bc9628495fcf2f95d4da
1,008
cc
C++
leetcode/ac/215.cc
Shuo626/algorithm-killer
9ca31226b89f096277b9067207001704068a2f89
[ "MIT" ]
null
null
null
leetcode/ac/215.cc
Shuo626/algorithm-killer
9ca31226b89f096277b9067207001704068a2f89
[ "MIT" ]
null
null
null
leetcode/ac/215.cc
Shuo626/algorithm-killer
9ca31226b89f096277b9067207001704068a2f89
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; class Solution { public: int findKthLargest(vector<int>& nums, int k) { int l, r; l = 0; r = nums.size() - 1; k -= 1; while (true) { int mid; mid = sort(nums, l, r); if (mid == k) { ...
17.37931
50
0.339286
Shuo626
085bb94713b361dc2d9ff2c71932646f2aa86425
2,992
hpp
C++
doc/quickbook/oglplus/quickref/bound/buffer.hpp
matus-chochlik/oglplus
76dd964e590967ff13ddff8945e9dcf355e0c952
[ "BSL-1.0" ]
364
2015-01-01T09:38:23.000Z
2022-03-22T05:32:00.000Z
doc/quickbook/oglplus/quickref/bound/buffer.hpp
matus-chochlik/oglplus
76dd964e590967ff13ddff8945e9dcf355e0c952
[ "BSL-1.0" ]
55
2015-01-06T16:42:55.000Z
2020-07-09T04:21:41.000Z
doc/quickbook/oglplus/quickref/bound/buffer.hpp
matus-chochlik/oglplus
76dd964e590967ff13ddff8945e9dcf355e0c952
[ "BSL-1.0" ]
57
2015-01-07T18:35:49.000Z
2022-03-22T05:32:04.000Z
/* * Automatically generated file, do not edit manually! * * Copyright 2010-2019 Matus Chochlik. 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) */ //[oglplus_object_BoundObjOps_Buffer template <> class __B...
26.017391
78
0.735963
matus-chochlik
086076fa0fb7740ad8ac178d8489db11364bdef3
2,186
cpp
C++
tutorials/micro/flags.cpp
unghee/TorchCraftAI
e6d596483d2a9a8b796765ed98097fcae39b6ac0
[ "MIT" ]
629
2018-11-19T21:03:01.000Z
2022-02-25T03:31:40.000Z
tutorials/micro/flags.cpp
unghee/TorchCraftAI
e6d596483d2a9a8b796765ed98097fcae39b6ac0
[ "MIT" ]
27
2018-11-23T22:49:28.000Z
2020-05-15T21:09:30.000Z
tutorials/micro/flags.cpp
unghee/TorchCraftAI
e6d596483d2a9a8b796765ed98097fcae39b6ac0
[ "MIT" ]
129
2018-11-22T01:16:56.000Z
2022-03-29T15:24:16.000Z
/* * Copyright (c) 2017-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <gflags/gflags.h> DEFINE_uint64(num_threads, 20, "How many threads to use"); DEFINE_string(model, "PF", "Models: PF"); DEFINE_s...
39.035714
79
0.728728
unghee
08647e8de92e3ddc10229eeda565ab8ada5580ca
5,221
cc
C++
weblayer/browser/browsing_data_remover_delegate.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
weblayer/browser/browsing_data_remover_delegate.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
weblayer/browser/browsing_data_remover_delegate.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "weblayer/browser/browsing_data_remover_delegate.h" #include "base/callback.h" #include "build/build_config.h" #include "components/browsing_dat...
37.561151
81
0.758092
zealoussnow
0867612614a141139e36fd40b7797ab207cb5684
4,623
cpp
C++
src/engine/private/misc/Frustum.cpp
PierreEVEN/HeadlessEngine
95ffef8a7a71c5bb6e806a96c39e88cfc24311a9
[ "MIT" ]
2
2021-07-12T08:58:49.000Z
2021-09-04T10:31:04.000Z
src/engine/private/misc/Frustum.cpp
PierreEVEN/TestFlightSimulator
95ffef8a7a71c5bb6e806a96c39e88cfc24311a9
[ "MIT" ]
1
2021-10-11T13:09:32.000Z
2021-10-11T13:09:32.000Z
src/engine/private/misc/Frustum.cpp
PierreEVEN/HeadlessEngine
95ffef8a7a71c5bb6e806a96c39e88cfc24311a9
[ "MIT" ]
null
null
null
#include "misc/Frustum.h" Box3D::Box3D(const Box3D& source, const glm::dmat4& transformation) { min = transformation * glm::dvec4(source.min, 1.0); max = transformation * glm::dvec4(source.max, 1.0); if (min.x > max.x) { const double temp = max.x; max.x = min.x; min...
38.206612
209
0.562838
PierreEVEN
0867f6604f233f61edbe96d8713581b3d474c5f5
764
cpp
C++
725/src.cpp
sabingoyek/uva-online-judge
78be271d440ff3b9b1b038fb83343ba46ea60843
[ "MIT" ]
null
null
null
725/src.cpp
sabingoyek/uva-online-judge
78be271d440ff3b9b1b038fb83343ba46ea60843
[ "MIT" ]
null
null
null
725/src.cpp
sabingoyek/uva-online-judge
78be271d440ff3b9b1b038fb83343ba46ea60843
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { // your code goes here int N; bool first = true; while(scanf("%d", &N)){ if(N == 0) break; bool ans = false; if(! first){ printf("\n"); } for(int fghij = 1234; fghij <= 98765 / N; fghij++){ int abcde = fghij * N; int tmp, used = (fghi...
18.190476
76
0.494764
sabingoyek
08682d1ad8ab55ac1101978e350d51149d14b187
5,691
cpp
C++
Source/3rdParty/PlayRho/Dynamics/WorldContact.cpp
Karshilov/Dorothy-SSR
cce19ed2218d76f941977370f6b3894e2f87236a
[ "MIT" ]
1
2021-07-19T11:30:54.000Z
2021-07-19T11:30:54.000Z
Source/3rdParty/PlayRho/Dynamics/WorldContact.cpp
Jilliana8397/Dorothy-SSR
5ad647909c5e20cb7ebde9a1a054cdb944969dcb
[ "MIT" ]
null
null
null
Source/3rdParty/PlayRho/Dynamics/WorldContact.cpp
Jilliana8397/Dorothy-SSR
5ad647909c5e20cb7ebde9a1a054cdb944969dcb
[ "MIT" ]
null
null
null
/* * Original work Copyright (c) 2006-2011 Erin Catto http://www.box2d.org * Modified work Copyright (c) 2020 Louis Langholtz https://github.com/louis-langholtz/PlayRho * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * a...
26.347222
94
0.728167
Karshilov
086ab5c51ed2fac28545772d2f981c59bdacc289
1,047
cc
C++
third_party/blink/renderer/core/editing/plain_text_range_test.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
third_party/blink/renderer/core/editing/plain_text_range_test.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
third_party/blink/renderer/core/editing/plain_text_range_test.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "third_party/blink/renderer/core/editing/plain_text_range.h" #include "third_party/blink/renderer/core/editing/ephemeral_range.h" #include "thir...
34.9
78
0.726839
zealoussnow
086c08dfd3218b742bcd7757d28fc30ebc762c88
22,838
cpp
C++
drivers/kbd/src/main.cpp
Apache-HB/managarm
df922a987167948369ea1d0e675925126bb5fdad
[ "MIT" ]
1
2021-02-03T09:21:08.000Z
2021-02-03T09:21:08.000Z
drivers/kbd/src/main.cpp
Apache-HB/managarm
df922a987167948369ea1d0e675925126bb5fdad
[ "MIT" ]
null
null
null
drivers/kbd/src/main.cpp
Apache-HB/managarm
df922a987167948369ea1d0e675925126bb5fdad
[ "MIT" ]
null
null
null
#include <algorithm> #include <deque> #include <iostream> #include <stdio.h> #include <string.h> #include <linux/input.h> #include <arch/bits.hpp> #include <arch/register.hpp> #include <arch/io_space.hpp> #include <async/result.hpp> #include <boost/intrusive/list.hpp> #include <helix/ipc.hpp> #include <libevbackend....
28.799496
131
0.709651
Apache-HB
086c237384091d5ab91c5fe608aba137658e9740
1,858
cc
C++
xls/codegen/codegen_options.cc
cdleary/xls
9989a97091e29b58ef4425e76ffc8b55025c5f55
[ "Apache-2.0" ]
1
2021-06-29T17:37:28.000Z
2021-06-29T17:37:28.000Z
xls/codegen/codegen_options.cc
cdleary/xls
9989a97091e29b58ef4425e76ffc8b55025c5f55
[ "Apache-2.0" ]
null
null
null
xls/codegen/codegen_options.cc
cdleary/xls
9989a97091e29b58ef4425e76ffc8b55025c5f55
[ "Apache-2.0" ]
null
null
null
// Copyright 2021 The XLS 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 t...
28.151515
80
0.738967
cdleary
086c67dd5ab45dcbb7f8b16301eb120e17d7a6b1
73
cpp
C++
src/Devices/A4963/A4963RegisterInfo.cpp
SetZero/A4963
4983ceb36fa605e32f53d816d5f98a8f522192b1
[ "MIT" ]
null
null
null
src/Devices/A4963/A4963RegisterInfo.cpp
SetZero/A4963
4983ceb36fa605e32f53d816d5f98a8f522192b1
[ "MIT" ]
5
2018-09-18T23:04:43.000Z
2018-10-19T20:59:44.000Z
src/Devices/A4963/A4963RegisterInfo.cpp
SetZero/A4963
4983ceb36fa605e32f53d816d5f98a8f522192b1
[ "MIT" ]
null
null
null
// // Created by sebastian on 03.10.18. // #include "A4963RegisterInfo.h"
18.25
36
0.69863
SetZero
086ea28a347a5dcf536b720dcd1b334d96a12a70
8,293
cpp
C++
32blit/graphics/blend.cpp
mikerr/32blit-beta
38ceca02226ec405d2de6883fc75376242a61778
[ "MIT" ]
null
null
null
32blit/graphics/blend.cpp
mikerr/32blit-beta
38ceca02226ec405d2de6883fc75376242a61778
[ "MIT" ]
null
null
null
32blit/graphics/blend.cpp
mikerr/32blit-beta
38ceca02226ec405d2de6883fc75376242a61778
[ "MIT" ]
null
null
null
#include <cstdint> #include <cstring> #include "surface.hpp" #ifdef WIN32 #define __attribute__(A) #endif // note: // for performance reasons none of the blending functions make any attempt // to validate input, adhere to clipping, or source/destination bounds. it // is assumed that all validation has been done b...
30.156364
123
0.503798
mikerr
086f58ca69e3f3dfbf81b52233b5c0abac904053
2,428
hh
C++
include/sea_dsa/Cloner.hh
igcontreras/sea-dsa
19dae890dc482c10832a9cf604e0f9847a7ac57d
[ "BSD-3-Clause" ]
120
2017-07-10T19:03:55.000Z
2022-03-27T05:54:16.000Z
include/sea_dsa/Cloner.hh
igcontreras/sea-dsa
19dae890dc482c10832a9cf604e0f9847a7ac57d
[ "BSD-3-Clause" ]
90
2017-07-03T01:17:07.000Z
2022-03-28T22:37:30.000Z
include/sea_dsa/Cloner.hh
igcontreras/sea-dsa
19dae890dc482c10832a9cf604e0f9847a7ac57d
[ "BSD-3-Clause" ]
34
2017-12-22T15:10:42.000Z
2021-12-24T02:24:05.000Z
#pragma once #include "sea_dsa/Graph.hh" namespace sea_dsa { struct CloningContext { llvm::Optional<const llvm::Instruction *> m_cs; enum DirectionKind { Unset, BottomUp, TopDown }; DirectionKind m_dir; CloningContext(const llvm::Instruction &cs, DirectionKind dir) : m_cs(&cs), m_dir(dir) {} static...
29.975309
79
0.667628
igcontreras
08715a656689a96d283d4314a02e3510aa1041d4
2,059
cpp
C++
ote/Themes/theme.cpp
JuBan1/OpenTextEdit
78543d95887c89824405f610f41f9783e6347f27
[ "MIT" ]
3
2018-02-05T12:47:32.000Z
2021-06-12T00:43:20.000Z
ote/Themes/theme.cpp
JuBan1/OpenTextEdit
78543d95887c89824405f610f41f9783e6347f27
[ "MIT" ]
null
null
null
ote/Themes/theme.cpp
JuBan1/OpenTextEdit
78543d95887c89824405f610f41f9783e6347f27
[ "MIT" ]
1
2021-06-12T05:22:29.000Z
2021-06-12T05:22:29.000Z
#include "theme.h" #include "themedata.h" #include "themedatabase.h" namespace ote { #define CASE(item) case item: return #item; #define IF(item) if(strcmp(elem, #item)==0) return item; const char* Theme::elementToString(Theme::HighlightElements elem) { switch(elem) { CASE(TextEditText) CASE(TextEditAct...
21.226804
70
0.708596
JuBan1
0874a8234629c4eb7823aee4226332ec17c30852
3,950
cpp
C++
tools/ad_map_access_qgis_python/src/core_py_log.cpp
fgolemo/map
5af0f99ff781e63ef72192ea714dce295a44298c
[ "MIT" ]
null
null
null
tools/ad_map_access_qgis_python/src/core_py_log.cpp
fgolemo/map
5af0f99ff781e63ef72192ea714dce295a44298c
[ "MIT" ]
null
null
null
tools/ad_map_access_qgis_python/src/core_py_log.cpp
fgolemo/map
5af0f99ff781e63ef72192ea714dce295a44298c
[ "MIT" ]
1
2020-10-27T11:09:30.000Z
2020-10-27T11:09:30.000Z
// ----------------- BEGIN LICENSE BLOCK --------------------------------- // // Copyright (C) 2018-2020 Intel Corporation // // SPDX-License-Identifier: MIT // // ----------------- END LICENSE BLOCK ----------------------------------- #include <string> #include <ad/map/access/Logging.hpp> #include "core_python.h" u...
21.467391
103
0.612152
fgolemo
087a22be0db7730bf7dba1d4b8f81e5ed859a840
12,364
cc
C++
WinNTKline/KlineUtil/mygl/House.cc
TsyQi/MyAutomatic
2afd3dcabba818051c7119fac7e6c099ff7954a7
[ "Apache-2.0" ]
4
2016-08-19T08:16:49.000Z
2020-04-15T12:30:25.000Z
WinNTKline/KlineUtil/mygl/House.cc
TsyQi/MyAutomatic
2afd3dcabba818051c7119fac7e6c099ff7954a7
[ "Apache-2.0" ]
null
null
null
WinNTKline/KlineUtil/mygl/House.cc
TsyQi/MyAutomatic
2afd3dcabba818051c7119fac7e6c099ff7954a7
[ "Apache-2.0" ]
3
2019-03-23T03:40:24.000Z
2020-04-15T00:57:43.000Z
#include "House.h" extern TEXTURE_2D **TextureList; House::House() { texnum = 0; } // Create an OpenGL rendering context BOOL House::CreateViewGLContext(HDC hDC) { m_hGLContext = wglCreateContext(hDC); if (m_hGLContext == NULL) return FALSE; if (wglMakeCurrent(hDC, m_hGLContext) == FALSE) ...
30.082725
121
0.518036
TsyQi
087ebbf1a91982efd55f2e7e451c97406b6f259a
15,686
cpp
C++
models/lnd/clm/src/iac/giac/gcam/cvs/objects/util/base/source/calibrate_share_weight_visitor.cpp
E3SM-Project/iESM
2a1013a3d85a11d935f1b2a8187a8bbcd75d115d
[ "BSD-3-Clause-LBNL" ]
9
2018-05-15T02:10:40.000Z
2020-01-10T18:27:31.000Z
models/lnd/clm/src/iac/giac/gcam/cvs/objects/util/base/source/calibrate_share_weight_visitor.cpp
zhangyue292/iESM
2a1013a3d85a11d935f1b2a8187a8bbcd75d115d
[ "BSD-3-Clause-LBNL" ]
3
2018-10-12T18:41:56.000Z
2019-11-12T15:18:49.000Z
models/lnd/clm/src/iac/giac/gcam/cvs/objects/util/base/source/calibrate_share_weight_visitor.cpp
zhangyue292/iESM
2a1013a3d85a11d935f1b2a8187a8bbcd75d115d
[ "BSD-3-Clause-LBNL" ]
3
2018-05-15T02:10:33.000Z
2021-04-06T17:45:49.000Z
/* * LEGAL NOTICE * This computer software was prepared by Battelle Memorial Institute, * hereinafter the Contractor, under Contract No. DE-AC05-76RL0 1830 * with the Department of Energy (DOE). NEITHER THE GOVERNMENT NOR THE * CONTRACTOR MAKES ANY WARRANTY, EXPRESS OR IMPLIED, OR ASSUMES ANY * LIABILITY FOR THE ...
53.90378
125
0.649241
E3SM-Project
087f8a963feb832dae01e037b98a7a6fd9436755
4,793
hpp
C++
boids_examples/boids/source/state/State.hpp
ankurshaswat/Starlings
f69147b13a47804b2d76c40b1f84ee07d57bbe60
[ "MIT" ]
null
null
null
boids_examples/boids/source/state/State.hpp
ankurshaswat/Starlings
f69147b13a47804b2d76c40b1f84ee07d57bbe60
[ "MIT" ]
null
null
null
boids_examples/boids/source/state/State.hpp
ankurshaswat/Starlings
f69147b13a47804b2d76c40b1f84ee07d57bbe60
[ "MIT" ]
null
null
null
/* * Author: Renato Utsch Gonçalves * Computer Science, UFMG * Computer Graphics * Practical exercise 2 - Boids * * Copyright (c) 2014 Renato Utsch <renatoutsch@gmail.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the...
31.532895
80
0.669727
ankurshaswat
08803fc56e85f2a45f1bb7370616ef7b54a31dc7
6,169
cpp
C++
StereoKitC/systems/d3d.cpp
gongminmin/StereoKit
3f83990ed6de0807735d8485664bf9350c37fc8a
[ "MIT" ]
null
null
null
StereoKitC/systems/d3d.cpp
gongminmin/StereoKit
3f83990ed6de0807735d8485664bf9350c37fc8a
[ "MIT" ]
null
null
null
StereoKitC/systems/d3d.cpp
gongminmin/StereoKit
3f83990ed6de0807735d8485664bf9350c37fc8a
[ "MIT" ]
null
null
null
#pragma comment(lib,"D3D11.lib") #pragma comment(lib,"Dxgi.lib") // CreateSwapChainForHwnd #include "../stereokit.h" #include "d3d.h" namespace sk { /////////////////////////////////////////// ID3D11Device *d3d_device = nullptr; ID3D11DeviceContext *d3d_context = nullptr; ID3D11InfoQue...
39.8
239
0.71065
gongminmin
08806b55c90ff8268bc5e6c35ad64b30151e5907
7,849
cpp
C++
include/card-gen/detail/rich_text.cpp
jonathansharman/card-gen
8a7b16baa8c17457959300a8b7825b29ed12051e
[ "Zlib", "MIT" ]
null
null
null
include/card-gen/detail/rich_text.cpp
jonathansharman/card-gen
8a7b16baa8c17457959300a8b7825b29ed12051e
[ "Zlib", "MIT" ]
null
null
null
include/card-gen/detail/rich_text.cpp
jonathansharman/card-gen
8a7b16baa8c17457959300a8b7825b29ed12051e
[ "Zlib", "MIT" ]
null
null
null
//! @file //! @copyright See <a href="RichText-LICENSE.txt">RichText-LICENSE.txt</a>. #include "rich_text.hpp" #include <SFML/Graphics.hpp> #include <fmt/format.h> #include <map> namespace { struct format { sf::Font* font = nullptr; sf::Uint32 style_flags = sf::Text::Regular; sf::Color fill_color = sf::Colo...
31.270916
109
0.631928
jonathansharman
08814127e99b0faf8f69413dc1720419c1475490
1,299
hpp
C++
headers/vivace/iterator/filter_map.hpp
KyleMayes/vivace
3baacc0785590c807e40e74a064c5c68a02c9c94
[ "Apache-2.0" ]
null
null
null
headers/vivace/iterator/filter_map.hpp
KyleMayes/vivace
3baacc0785590c807e40e74a064c5c68a02c9c94
[ "Apache-2.0" ]
null
null
null
headers/vivace/iterator/filter_map.hpp
KyleMayes/vivace
3baacc0785590c807e40e74a064c5c68a02c9c94
[ "Apache-2.0" ]
null
null
null
// Copyright 2017 Kyle Mayes // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in w...
27.638298
77
0.622787
KyleMayes
088152c73e437f17af152cdf6e83700ffacbef48
700
cpp
C++
export/debug/macos/obj/src/resources/__res_17.cpp
EnvyBun/KB-FNF-MOD
f7541661229c587bf99f0508cc3eba7043f8c177
[ "Apache-2.0" ]
null
null
null
export/debug/macos/obj/src/resources/__res_17.cpp
EnvyBun/KB-FNF-MOD
f7541661229c587bf99f0508cc3eba7043f8c177
[ "Apache-2.0" ]
null
null
null
export/debug/macos/obj/src/resources/__res_17.cpp
EnvyBun/KB-FNF-MOD
f7541661229c587bf99f0508cc3eba7043f8c177
[ "Apache-2.0" ]
null
null
null
// Generated by Haxe 4.1.5 namespace hx { unsigned char __res_17[] = { 0x80, 0x00, 0x00, 0x80, 137,80,78,71,13,10,26,10,0,0, 0,13,73,72,68,82,0,0,0,11, 0,0,0,11,8,6,0,0,0,169, 172,119,38,0,0,0,25,116,69,88, 116,83,111,102,116,119,97,114,101,0, 65,100,111,98,101,32,73,109,97,103, 101,82,101,97,100,121,113,201,101,60, 0,...
29.166667
38
0.67
EnvyBun
0881fd34870e82b1b55b4876c21e49b1247e2044
907
hpp
C++
src/main/include/CANSparkMaxUtil.hpp
calcmogul/Robot-2020
b416c202794fb7deea0081beff2f986de7001ed9
[ "BSD-3-Clause" ]
5
2022-01-12T02:08:29.000Z
2022-03-13T00:57:16.000Z
src/main/include/CANSparkMaxUtil.hpp
calcmogul/Robot-2020
b416c202794fb7deea0081beff2f986de7001ed9
[ "BSD-3-Clause" ]
11
2022-01-29T22:00:14.000Z
2022-03-26T20:10:07.000Z
src/main/include/CANSparkMaxUtil.hpp
calcmogul/Robot-2020
b416c202794fb7deea0081beff2f986de7001ed9
[ "BSD-3-Clause" ]
1
2022-01-19T01:31:11.000Z
2022-01-19T01:31:11.000Z
// Copyright (c) FRC Team 3512. All Rights Reserved. #pragma once #include <rev/CANSparkMax.h> namespace frc3512 { enum class Usage { kAll, kPositionOnly, kVelocityOnly, kMinimal }; /** * This function allows reducing a Spark Max's CAN bus utilization by reducing * the periodic status frame period of nonessentia...
32.392857
98
0.725469
calcmogul
08824c36bfdcdae1ddf40e4080c3d8265a4b1ea0
3,779
cc
C++
Core/DianYing/Source/Meta/Descriptor/WidgetTextMetaInformation.cc
liliilli/DianYing
6e19f67e5d932e346a0ce63a648bed1a04ef618e
[ "MIT" ]
4
2019-03-17T19:46:54.000Z
2019-12-09T20:11:01.000Z
Core/DianYing/Source/Meta/Descriptor/WidgetTextMetaInformation.cc
liliilli/DianYing
6e19f67e5d932e346a0ce63a648bed1a04ef618e
[ "MIT" ]
null
null
null
Core/DianYing/Source/Meta/Descriptor/WidgetTextMetaInformation.cc
liliilli/DianYing
6e19f67e5d932e346a0ce63a648bed1a04ef618e
[ "MIT" ]
null
null
null
#include <precompiled.h> /// /// MIT License /// Copyright (c) 2018-2019 Jongmin Yun /// /// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR /// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, /// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL...
43.94186
107
0.677163
liliilli
088260d1292a5abdd9b3580bc5bead80a8216e71
7,052
cpp
C++
CMSIS/DSP/Testing/Source/Tests/InterpolationTestsF16.cpp
DavidLesnjak/CMSIS_5
e0848410d137758a3356a5ee94ca4501cea708a8
[ "Apache-2.0" ]
2,293
2016-02-25T06:47:33.000Z
2022-03-29T16:44:02.000Z
CMSIS/DSP/Testing/Source/Tests/InterpolationTestsF16.cpp
DavidLesnjak/CMSIS_5
e0848410d137758a3356a5ee94ca4501cea708a8
[ "Apache-2.0" ]
1,125
2016-02-27T09:56:01.000Z
2022-03-31T13:57:05.000Z
CMSIS/DSP/Testing/Source/Tests/InterpolationTestsF16.cpp
DavidLesnjak/CMSIS_5
e0848410d137758a3356a5ee94ca4501cea708a8
[ "Apache-2.0" ]
1,160
2016-02-27T09:06:10.000Z
2022-03-31T19:06:24.000Z
#include "InterpolationTestsF16.h" #include <stdio.h> #include "Error.h" #define SNR_THRESHOLD 55 /* Reference patterns are generated with a double precision computation. */ #define REL_ERROR (5.0e-3) #define ABS_ERROR (5.0e-3) void InterpolationTestsF16::test_linear_interp_f16() { const float16...
34.738916
121
0.638117
DavidLesnjak
0882dd8c60c42df44e794bcd69bfb71c3276c64c
4,737
cpp
C++
OGLApp/src/oaAnimationLoader.cpp
Consalv0/OGLApp
45bc0e3a4460f3d094b1ac5b9c6ac0d6fc40d4fd
[ "MIT" ]
null
null
null
OGLApp/src/oaAnimationLoader.cpp
Consalv0/OGLApp
45bc0e3a4460f3d094b1ac5b9c6ac0d6fc40d4fd
[ "MIT" ]
null
null
null
OGLApp/src/oaAnimationLoader.cpp
Consalv0/OGLApp
45bc0e3a4460f3d094b1ac5b9c6ac0d6fc40d4fd
[ "MIT" ]
null
null
null
#include "oaLoaderUtils.h" #include <math.h> #include <codecvt> #include <locale> #include "oaJoint.h" #include "rapidxml\rapidxml.hpp" #include "rapidxml\rapidxml_iterators.hpp" #include "rapidxml\rapidxml_print.hpp" #include "rapidxml\rapidxml_utils.hpp" #include "oaAnimationLoader.h" std::unordered_map...
31.791946
153
0.615368
Consalv0
08859397465f7b0033fbf0a340ec6ca5a1f25836
1,960
cpp
C++
src/ossimPlanet/netBuffer.cpp
ossimlabs/ossim-planet
ba37375aaab4dcc4b01d55d297c8d1f2b2dbbef8
[ "MIT" ]
11
2015-12-24T03:25:01.000Z
2021-01-09T18:22:56.000Z
src/ossimPlanet/netBuffer.cpp
ossimlabs/ossim-planet
ba37375aaab4dcc4b01d55d297c8d1f2b2dbbef8
[ "MIT" ]
3
2016-01-24T10:30:35.000Z
2018-03-31T15:07:16.000Z
src/ossimPlanet/netBuffer.cpp
ossimlabs/ossim-planet
ba37375aaab4dcc4b01d55d297c8d1f2b2dbbef8
[ "MIT" ]
5
2015-12-16T13:10:16.000Z
2021-11-12T19:23:31.000Z
/* PLIB - A Suite of Portable Game Libraries Copyright (C) 1998,2002 Steve Baker This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the Licens...
28
77
0.661224
ossimlabs
08880d8906f8f3089c63dc941a5c7df11ebedb90
3,504
inl
C++
src/dcc/unit-import-source.c.inl
GrieferAtWork/dcc
e70803aef1d7dc83ecedc6134c3e7902e6b6bbca
[ "Zlib" ]
19
2017-08-27T16:27:44.000Z
2021-12-02T21:17:17.000Z
src/dcc/unit-import-source.c.inl
GrieferAtWork/dcc
e70803aef1d7dc83ecedc6134c3e7902e6b6bbca
[ "Zlib" ]
null
null
null
src/dcc/unit-import-source.c.inl
GrieferAtWork/dcc
e70803aef1d7dc83ecedc6134c3e7902e6b6bbca
[ "Zlib" ]
1
2022-02-17T18:51:21.000Z
2022-02-17T18:51:21.000Z
/* Copyright (c) 2017 Griefer@Work * * * * This software is provided 'as-is', without any express or implied * * warranty. In no event will the authors be held liable for any damages * ...
36.884211
80
0.646404
GrieferAtWork
08892b6b615c227d047d8f35065a06969c30845c
480
cc
C++
tests/babel/compression/zstd.cc
project-arcana/arcana-samples
7dbe2cab765d4d86c6e96b4ab542cac75608a0b0
[ "MIT" ]
null
null
null
tests/babel/compression/zstd.cc
project-arcana/arcana-samples
7dbe2cab765d4d86c6e96b4ab542cac75608a0b0
[ "MIT" ]
null
null
null
tests/babel/compression/zstd.cc
project-arcana/arcana-samples
7dbe2cab765d4d86c6e96b4ab542cac75608a0b0
[ "MIT" ]
1
2020-01-22T18:04:53.000Z
2020-01-22T18:04:53.000Z
#include <nexus/fuzz_test.hh> #include <babel-serializer/compression/zstd.hh> FUZZ_TEST("zstd fuzzer")(tg::rng& rng) { auto cnt = uniform(rng, 0, 10); if (uniform(rng)) cnt = uniform(rng, 100, 1000); auto orig_data = cc::vector<std::byte>(cnt); for (auto& d : orig_data) d = uniform(rn...
22.857143
58
0.639583
project-arcana
08896b378a2aeaad13f8403f615158078cbf95bc
1,271
cpp
C++
example/example.cpp
maxcong001/empty001
b8bce7693ccd2801d788eee4d0fc6fbcb79fd47e
[ "MIT" ]
null
null
null
example/example.cpp
maxcong001/empty001
b8bce7693ccd2801d788eee4d0fc6fbcb79fd47e
[ "MIT" ]
null
null
null
example/example.cpp
maxcong001/empty001
b8bce7693ccd2801d788eee4d0fc6fbcb79fd47e
[ "MIT" ]
null
null
null
#include "MessageBus.hpp" MessageBus g_bus; const string Topic = "Drive"; const string CallBackTopic = "DriveOK"; struct Subject { Subject() { g_bus.Attach([this]{DriveOK();},CallBackTopic); } void SendReq(const string& topic) { g_bus.SendReq<void, int>(50, topic); } void Dr...
15.8875
62
0.540519
maxcong001
088ba18ec1d1fc81f9e6193ee9e8b2c9fc289b91
1,361
cpp
C++
src/MessageCallbackMgr.cpp
enjoy0924/nuts-poppy
768f6dbd78afbdead4ea5b1e593ea9083da31d9e
[ "Apache-2.0" ]
null
null
null
src/MessageCallbackMgr.cpp
enjoy0924/nuts-poppy
768f6dbd78afbdead4ea5b1e593ea9083da31d9e
[ "Apache-2.0" ]
null
null
null
src/MessageCallbackMgr.cpp
enjoy0924/nuts-poppy
768f6dbd78afbdead4ea5b1e593ea9083da31d9e
[ "Apache-2.0" ]
null
null
null
#include "MessageCallbackMgr.h" CMessageCallbackMgr::CMessageCallbackMgr():m_nppMessageConstructor(NULL), m_sessionEventHandler(NULL) {} CMessageCallbackMgr::~CMessageCallbackMgr(){} int CMessageCallbackMgr::registerMessageCallback(int messageCode, DoMessageExecute onMessageFunc) { ACE_Guard<ACE_Mute...
28.957447
98
0.775165
enjoy0924
0891114c98097ca2d299c23de53361ba69033b50
3,206
cpp
C++
src/Game.cpp
nonk123/SpaceThing
efb0929cf6dc67df652be45619e7ed012aa41a5f
[ "MIT" ]
null
null
null
src/Game.cpp
nonk123/SpaceThing
efb0929cf6dc67df652be45619e7ed012aa41a5f
[ "MIT" ]
null
null
null
src/Game.cpp
nonk123/SpaceThing
efb0929cf6dc67df652be45619e7ed012aa41a5f
[ "MIT" ]
null
null
null
#include "Game.hpp" #include <algorithm> #include "Utils.hpp" #include "SimpleEntity.hpp" #include "RenderUtils.hpp" #include "Math.hpp" #include "config.hpp" using namespace SpaceThing; using namespace Utils; void Game::initSession(irr::IrrlichtDevice* device) { session.device = device; session.driver = d...
27.878261
79
0.564255
nonk123
0895e18f2cdcf1f77701cbbe0a26580eeb0da3d8
525
cpp
C++
Dynamic Programming AV/Unbounded Knapsack Problems/Coin Change Maximum no of ways.cpp
AkhilSoni0102/Learning-Data-Structures
27f2d4d0b09f2bf47242242d3a6b0e65c149bbf6
[ "MIT" ]
2
2021-04-03T11:50:42.000Z
2021-05-06T16:45:06.000Z
Dynamic Programming AV/Unbounded Knapsack Problems/Coin Change Maximum no of ways.cpp
AkhilSoni0102/Learning-Data-Structures
27f2d4d0b09f2bf47242242d3a6b0e65c149bbf6
[ "MIT" ]
null
null
null
Dynamic Programming AV/Unbounded Knapsack Problems/Coin Change Maximum no of ways.cpp
AkhilSoni0102/Learning-Data-Structures
27f2d4d0b09f2bf47242242d3a6b0e65c149bbf6
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int main(){ int n, sum; cin>>n>>sum; int coin[n]; for(int i = 0;i < n;i++) cin>>coin[i]; int t[n+1][sum+1]; for(int i = 0;i < sum+1;i++) t[0][i] = 0; for(int i = 0;i < n + 1;i++) t[i][0] = 1; for(int i = 1;i < n+1;i++) ...
25
56
0.373333
AkhilSoni0102
08966fa6223ce3e837f3316adffeae7e2fb4e0bf
9,369
cpp
C++
C/src/Coordinates.cpp
AltynbekAndr/GpsOtMadDevs
1da1cf5c74a145a96384e480367b418abd8a3e39
[ "Unlicense" ]
null
null
null
C/src/Coordinates.cpp
AltynbekAndr/GpsOtMadDevs
1da1cf5c74a145a96384e480367b418abd8a3e39
[ "Unlicense" ]
null
null
null
C/src/Coordinates.cpp
AltynbekAndr/GpsOtMadDevs
1da1cf5c74a145a96384e480367b418abd8a3e39
[ "Unlicense" ]
null
null
null
#include <QDebug> #include <QFile> #include <vector> #include <QRegExp> #include <math.h> #include "Coordinates.h" #include "Geohash.h" #include "Commons.h" #include "SensorController.h" std::vector<geopoint_t> CoordGetFromFile(const QString& filePath, int interested) { std...
32.989437
109
0.568897
AltynbekAndr