hexsha
stringlengths
40
40
size
int64
19
11.4M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
3
270
max_stars_repo_name
stringlengths
5
110
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
3
270
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
78
max_issues_repo_licenses
listlengths
1
9
max_issues_count
float64
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
3
270
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
78
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
19
11.4M
avg_line_length
float64
1.93
229k
max_line_length
int64
12
688k
alphanum_fraction
float64
0.07
0.99
matches
listlengths
1
10
0cd86441438ba4a0fa1de75ba9e52fa19e1718bb
572
inl
C++
Native/Framework/source/Library.Shared/Transform.inl
btrowbridge/DirectX.2D.Bespoke.Games
382728f7c9d50597f9fc84e222efd468c33716a5
[ "MS-PL" ]
null
null
null
Native/Framework/source/Library.Shared/Transform.inl
btrowbridge/DirectX.2D.Bespoke.Games
382728f7c9d50597f9fc84e222efd468c33716a5
[ "MS-PL" ]
null
null
null
Native/Framework/source/Library.Shared/Transform.inl
btrowbridge/DirectX.2D.Bespoke.Games
382728f7c9d50597f9fc84e222efd468c33716a5
[ "MS-PL" ]
null
null
null
#pragma once namespace Library { inline const DirectX::XMFLOAT3& Transform::Position() const { return mPosition; } inline void Transform::SetPosition(const DirectX::XMFLOAT3& position) { mPosition = position; } inline const Quaternion& Transform::Rotation() const { return mRotation; } inline void Tr...
16.823529
70
0.72028
[ "transform" ]
0cd878893a13855d1a1655da460aebe991f003a4
653
hpp
C++
src/tree/block/statements.hpp
Azer0s/Hephaistos
7258cc5ceb2fa56dfecd0ee481768544fa3f276b
[ "MIT" ]
1
2019-05-22T11:04:16.000Z
2019-05-22T11:04:16.000Z
src/tree/block/statements.hpp
Azer0s/Hephaistos
7258cc5ceb2fa56dfecd0ee481768544fa3f276b
[ "MIT" ]
null
null
null
src/tree/block/statements.hpp
Azer0s/Hephaistos
7258cc5ceb2fa56dfecd0ee481768544fa3f276b
[ "MIT" ]
null
null
null
#pragma once #include <vector> #include <string> #include <memory> #include "../nodes.hpp" namespace hephaistos { class Statements : public SyntaxTree{ public: Statements(SyntaxTree* c_tree, SyntaxTree* c_subtree){ tree = c_tree; subtree = c_subtree; ...
25.115385
66
0.499234
[ "vector" ]
0ce872498fad11027c4e1896cf5d8721b1095f93
34,702
cpp
C++
Source/modules/eb/MFP_eb_divergence.cpp
darylbond/cerberus
a1b99f6b50ba6876d4705f26e6be98ed6e1c5c6a
[ "MIT" ]
5
2021-05-10T01:21:52.000Z
2022-03-10T17:26:41.000Z
Source/modules/eb/MFP_eb_divergence.cpp
darylbond/cerberus
a1b99f6b50ba6876d4705f26e6be98ed6e1c5c6a
[ "MIT" ]
3
2021-05-26T01:12:12.000Z
2021-12-14T00:34:06.000Z
Source/modules/eb/MFP_eb_divergence.cpp
darylbond/cerberus
a1b99f6b50ba6876d4705f26e6be98ed6e1c5c6a
[ "MIT" ]
3
2021-05-11T02:45:27.000Z
2021-09-06T12:08:23.000Z
#ifdef AMREX_USE_EB #include "MFP_eb_divergence.H" #include <AMReX_YAFluxRegister.H> using CellType = YAFluxRegister::CellType; #include "MFP_state.H" #include "MFP_global.H" #include "sol.hpp" #ifdef PYTHON #include "matplotlibcpp.h" #include "MFP_diagnostics.H" namespace plt = matplotlibcpp; #endif using GD = Glo...
39.750286
162
0.404818
[ "vector", "3d" ]
0cea3419b3ef7cbb37701a371998f14f4d21705b
822
cpp
C++
mine/438-find_all_anagrams_in_a_string.cpp
Junlin-Yin/myLeetCode
8a33605d3d0de9faa82b5092a8e9f56b342c463f
[ "MIT" ]
null
null
null
mine/438-find_all_anagrams_in_a_string.cpp
Junlin-Yin/myLeetCode
8a33605d3d0de9faa82b5092a8e9f56b342c463f
[ "MIT" ]
null
null
null
mine/438-find_all_anagrams_in_a_string.cpp
Junlin-Yin/myLeetCode
8a33605d3d0de9faa82b5092a8e9f56b342c463f
[ "MIT" ]
null
null
null
class Solution { public: bool check(unordered_map<char, int>& hash){ bool flag = true; for(const auto& p: hash){ if(p.second > 0){ flag = false; break; } } return flag; } vector<int> findAnagrams(string s...
27.4
51
0.406326
[ "vector" ]
0cf38c9a8c4a6f7bfa8326162e2774e5b1c76401
1,782
cpp
C++
c-plus-plus-yellow-belt/week_4/iterator_usage/demographic_data/demographic_data/functions.cpp
codearchive/coursera-c-plus-plus-specialization
c599126e510182e5e6a8c5f29a31f1eecda8b8a5
[ "Apache-2.0" ]
null
null
null
c-plus-plus-yellow-belt/week_4/iterator_usage/demographic_data/demographic_data/functions.cpp
codearchive/coursera-c-plus-plus-specialization
c599126e510182e5e6a8c5f29a31f1eecda8b8a5
[ "Apache-2.0" ]
null
null
null
c-plus-plus-yellow-belt/week_4/iterator_usage/demographic_data/demographic_data/functions.cpp
codearchive/coursera-c-plus-plus-specialization
c599126e510182e5e6a8c5f29a31f1eecda8b8a5
[ "Apache-2.0" ]
null
null
null
#include "functions.h" template <typename InputIt> int ComputeMedianAge(InputIt range_begin, InputIt range_end) { if (range_begin == range_end) { return 0; } std::vector<typename InputIt::value_type> range_copy(range_begin, range_end); auto middle = begin(range_copy) + range_copy.size() / 2; ...
45.692308
125
0.659371
[ "vector" ]
0cfe0d93475a898691cd2ff33fe3d81b39051344
494
cpp
C++
c++/leetcode/1685-Sum_of_Absolute_Differences_in_a_Sorted_Array-M.cpp
levendlee/leetcode
35e274cb4046f6ec7112cd56babd8fb7d437b844
[ "Apache-2.0" ]
1
2020-03-02T10:56:22.000Z
2020-03-02T10:56:22.000Z
c++/leetcode/1685-Sum_of_Absolute_Differences_in_a_Sorted_Array-M.cpp
levendlee/leetcode
35e274cb4046f6ec7112cd56babd8fb7d437b844
[ "Apache-2.0" ]
null
null
null
c++/leetcode/1685-Sum_of_Absolute_Differences_in_a_Sorted_Array-M.cpp
levendlee/leetcode
35e274cb4046f6ec7112cd56babd8fb7d437b844
[ "Apache-2.0" ]
null
null
null
class Solution { public: vector<int> getSumAbsoluteDifferences(vector<int>& nums) { const int n = nums.size(); vector<int> sums(nums); for (int i = 1; i < n; ++i) { sums[i] += sums[i - 1]; } vector<int> res(n); for (int i = 0; i < n; ++i) { con...
27.444444
62
0.437247
[ "vector" ]
0cff8c77294b9a8e2b0ceac8ec1bb4a0060f4924
1,076
cpp
C++
ProjectEuler/euler008.cpp
HannoFlohr/hackerrank
9644c78ce05a6b1bc5d8f542966781d53e5366e3
[ "MIT" ]
null
null
null
ProjectEuler/euler008.cpp
HannoFlohr/hackerrank
9644c78ce05a6b1bc5d8f542966781d53e5366e3
[ "MIT" ]
null
null
null
ProjectEuler/euler008.cpp
HannoFlohr/hackerrank
9644c78ce05a6b1bc5d8f542966781d53e5366e3
[ "MIT" ]
null
null
null
#include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> using namespace std; int main() { int t, k, n, i, j; unsigned long long int current, maxProduct; string s; vector<unsigned long long int> factors (0); cin >> t; while(t--) { cin >> n >> k; ...
25.023256
79
0.498141
[ "vector" ]
490ed6ab25a175ffaac99231b5a3d071fb2a3d8c
1,468
cpp
C++
programming/dataStructure_Algorithm/exercises/SpecificProblems/sorting/mergeSort/mergeSortKSortedArray_List/Array/O_NlogK/mergeKSortedArray_NlogK.cpp
ljyang100/dataScience
ad2b243673c570c18d83ab1a0cd1bb4694c17eac
[ "MIT" ]
2
2020-12-10T02:05:29.000Z
2021-05-30T15:23:56.000Z
programming/dataStructure_Algorithm/exercises/SpecificProblems/sorting/mergeSort/mergeSortKSortedArray_List/Array/O_NlogK/mergeKSortedArray_NlogK.cpp
ljyang100/dataScience
ad2b243673c570c18d83ab1a0cd1bb4694c17eac
[ "MIT" ]
null
null
null
programming/dataStructure_Algorithm/exercises/SpecificProblems/sorting/mergeSort/mergeSortKSortedArray_List/Array/O_NlogK/mergeKSortedArray_NlogK.cpp
ljyang100/dataScience
ad2b243673c570c18d83ab1a0cd1bb4694c17eac
[ "MIT" ]
1
2020-04-21T11:18:18.000Z
2020-04-21T11:18:18.000Z
#include<iostream> #include<queue> //For priority_queue #include<vector> class Compare { public: bool operator()(std::vector<int>::iterator a, std::vector<int>::iterator b) { return (*a) > (*b); //default is normally < sign. So the > sign definition is necessary. } }; std::vector<int> mergeKSortedArrays(std::ve...
31.234043
131
0.656676
[ "vector" ]
49105c3801167a0de1371d0a1b1d1f8a80b9481d
7,103
cpp
C++
Programs/ResourceEditor/Classes/Qt/Tools/AddSwitchEntityDialog/AddSwitchEntityDialog.cpp
stinvi/dava.engine
2b396ca49cdf10cdc98ad8a9ffcf7768a05e285e
[ "BSD-3-Clause" ]
26
2018-09-03T08:48:22.000Z
2022-02-14T05:14:50.000Z
Programs/ResourceEditor/Classes/Qt/Tools/AddSwitchEntityDialog/AddSwitchEntityDialog.cpp
ANHELL-blitz/dava.engine
ed83624326f000866e29166c7f4cccfed1bb41d4
[ "BSD-3-Clause" ]
null
null
null
Programs/ResourceEditor/Classes/Qt/Tools/AddSwitchEntityDialog/AddSwitchEntityDialog.cpp
ANHELL-blitz/dava.engine
ed83624326f000866e29166c7f4cccfed1bb41d4
[ "BSD-3-Clause" ]
45
2018-05-11T06:47:17.000Z
2022-02-03T11:30:55.000Z
#include "Classes/Qt/Tools/AddSwitchEntityDialog/AddSwitchEntityDialog.h" #include "Classes/Qt/Tools/AddSwitchEntityDialog/SwitchEntityCreator.h" #include "Classes/Qt/Tools/SelectPathWidget/SelectEntityPathWidget.h" #include <REPlatform/Commands/EntityAddCommand.h> #include <REPlatform/Commands/EntityRemoveCommand.h> ...
33.985646
157
0.697874
[ "mesh", "render", "object", "vector", "transform" ]
4913fc1252cf2dacfc72e447e1f30e5fe403c84e
406
hpp
C++
production/include/executor/os_proxy.hpp
ratelware/logreader
6ca96c49a342dcaef59221dd3497563f54b63ae7
[ "MIT" ]
null
null
null
production/include/executor/os_proxy.hpp
ratelware/logreader
6ca96c49a342dcaef59221dd3497563f54b63ae7
[ "MIT" ]
3
2017-11-21T22:16:51.000Z
2017-11-21T23:34:31.000Z
production/include/executor/os_proxy.hpp
ratelware/logreader
6ca96c49a342dcaef59221dd3497563f54b63ae7
[ "MIT" ]
null
null
null
#ifndef OS_PROXY_H_mnfiowef3489feksdmkjwqndu238f43iokfnedsldwlqkdmnwfuiergh34f4kfmdfc #define OS_PROXY_H_mnfiowef3489feksdmkjwqndu238f43iokfnedsldwlqkdmnwfuiergh34f4kfmdfc #include <string> #include <vector> namespace executor { class os_proxy { public: int call(const std::string& application, const std::vector<...
23.882353
86
0.825123
[ "vector" ]
4915616127aa1561ba333f3c26606dd6fce006fa
13,289
cpp
C++
Samples/GLEncoding/FireCube.cpp
GPUOpen-LibrariesAndSDKs/RapidFire_SDK
b600e1e4eb29c7aabe16afcf35cb1ff2c996de5d
[ "MIT" ]
35
2016-11-01T23:23:26.000Z
2022-02-25T12:03:03.000Z
Samples/GLEncoding/FireCube.cpp
GPUOpen-LibrariesAndSDKs/RapidFire_SDK
b600e1e4eb29c7aabe16afcf35cb1ff2c996de5d
[ "MIT" ]
10
2016-10-12T13:56:21.000Z
2021-10-01T15:31:58.000Z
Samples/GLEncoding/FireCube.cpp
GPUOpen-LibrariesAndSDKs/RapidFire_SDK
b600e1e4eb29c7aabe16afcf35cb1ff2c996de5d
[ "MIT" ]
14
2016-12-12T23:21:33.000Z
2021-07-29T21:57:16.000Z
// // Copyright (c) 2016 Advanced Micro Devices, Inc. All rights reserved. // // 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 /...
34.971053
147
0.488449
[ "transform" ]
491993201a63b23de8ef2947303e83da9503e92b
2,422
cpp
C++
algos/c8-MULTQ3-original.cpp
fahimfarhan/legendary-coding-odyssey
55289e05aa04f866201c607bed00c505cd9c4df9
[ "MIT" ]
3
2019-07-20T07:26:31.000Z
2020-08-06T09:31:09.000Z
algos/c8-MULTQ3-original.cpp
fahimfarhan/legendary-coding-odyssey
55289e05aa04f866201c607bed00c505cd9c4df9
[ "MIT" ]
null
null
null
algos/c8-MULTQ3-original.cpp
fahimfarhan/legendary-coding-odyssey
55289e05aa04f866201c607bed00c505cd9c4df9
[ "MIT" ]
4
2019-06-20T18:43:32.000Z
2020-10-07T16:45:23.000Z
#include<bits/stdc++.h> #define REP(i,n) for (int i = 1; i <= n; i++) #define mod 1000000007 #define pb push_back #define ff first #define ss second #define ii pair<int,int> #define vi vector<int> #define vii vector<ii> #define lli long long int #define INF 1000000000 #define endl '\n' const double PI = 3.1415926535897...
16.703448
55
0.508671
[ "vector" ]
492d3e115475f8eea8fd6fc62d1ef778da93b821
3,609
hxx
C++
source/AsteroidShooter/include/Game.hxx
selmentdev/recr-game-native-cxx-shooter
c924477cb2adb1500bed2a2958aaf4f1ee96391b
[ "Apache-2.0" ]
null
null
null
source/AsteroidShooter/include/Game.hxx
selmentdev/recr-game-native-cxx-shooter
c924477cb2adb1500bed2a2958aaf4f1ee96391b
[ "Apache-2.0" ]
null
null
null
source/AsteroidShooter/include/Game.hxx
selmentdev/recr-game-native-cxx-shooter
c924477cb2adb1500bed2a2958aaf4f1ee96391b
[ "Apache-2.0" ]
null
null
null
#ifndef INCLUDED_GAME_HXX #define INCLUDED_GAME_HXX // // Copyright (C) Selmentdev, 2017 // // See LICENSE file in the project root for full license information. // #include <Core/CoreEventHandler.hxx> #include <Core/CoreWindow.hxx> #include <Core.World/Scene.hxx> #include <Core.World/Physics.hxx> #include <Core...
31.657895
135
0.718482
[ "render" ]
492e7f39d8581f1ee3be2b38117e897d0df85f16
17,326
cpp
C++
src/library/tools/ktest/step.cpp
JishinMaster/clBLAS
3711b9788b5fd71d5e2f1cae3431753cdcd2ed76
[ "Apache-2.0" ]
615
2015-01-05T13:24:44.000Z
2022-03-31T14:58:04.000Z
src/library/tools/ktest/step.cpp
JishinMaster/clBLAS
3711b9788b5fd71d5e2f1cae3431753cdcd2ed76
[ "Apache-2.0" ]
223
2015-01-12T21:07:18.000Z
2021-11-24T17:00:44.000Z
src/library/tools/ktest/step.cpp
JishinMaster/clBLAS
3711b9788b5fd71d5e2f1cae3431753cdcd2ed76
[ "Apache-2.0" ]
250
2015-01-05T06:39:43.000Z
2022-03-23T09:13:00.000Z
/* ************************************************************************ * Copyright 2013 Advanced Micro Devices, 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...
25.037572
90
0.576128
[ "vector" ]
49547fdd12c54b9d6e38df9d36ffb5afd20f3266
13,195
cpp
C++
Sources/Elastos/LibCore/src/elastosx/crypto/CMac.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
7
2017-07-13T10:34:54.000Z
2021-04-16T05:40:35.000Z
Sources/Elastos/LibCore/src/elastosx/crypto/CMac.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
null
null
null
Sources/Elastos/LibCore/src/elastosx/crypto/CMac.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
9
2017-07-13T12:33:20.000Z
2021-06-19T02:46:48.000Z
//========================================================================= // Copyright (C) 2012 The Elastos Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // ...
27.262397
103
0.592725
[ "object" ]
4959b03d062ab7b72dd83031a7212fbe7ba31f61
23,716
cpp
C++
Sources/Elastos/Packages/Apps/Dialer/src/elastos/droid/dialer/list/SwipeHelper.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
7
2017-07-13T10:34:54.000Z
2021-04-16T05:40:35.000Z
Sources/Elastos/Packages/Apps/Dialer/src/elastos/droid/dialer/list/SwipeHelper.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
null
null
null
Sources/Elastos/Packages/Apps/Dialer/src/elastos/droid/dialer/list/SwipeHelper.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
9
2017-07-13T12:33:20.000Z
2021-06-19T02:46:48.000Z
//========================================================================= // Copyright (C) 2012 The Elastos Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // ...
37.230769
125
0.612034
[ "object" ]
496773f2e810b227ee3f9d4814ace735c594fe09
1,115
cc
C++
src/var_slices.cc
yuntaolu/jittor
80135d4ef525561a687015e0d27f6570e0dfaca0
[ "Apache-2.0" ]
1
2021-02-10T16:30:05.000Z
2021-02-10T16:30:05.000Z
src/var_slices.cc
hexieshenghuo/jittor
5b8d2fe13c549921c977d96a73acf7a246186022
[ "Apache-2.0" ]
null
null
null
src/var_slices.cc
hexieshenghuo/jittor
5b8d2fe13c549921c977d96a73acf7a246186022
[ "Apache-2.0" ]
null
null
null
// *************************************************************** // Copyright (c) 2021 Jittor. All Rights Reserved. // Maintainers: Dun Liang <randonlang@gmail.com>. // This file is subject to the terms and conditions defined in // file 'LICENSE.txt', which is part of this source code package. // *******************...
30.135135
66
0.495964
[ "shape" ]
496860ccfa50ce87a0f1d083a19f8fd3745af400
4,301
cc
C++
chrome/browser/ui/views/autofill/new_credit_card_bubble_views.cc
kurli/chromium-crosswalk
f4c5d15d49d02b74eb834325e4dff50b16b53243
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2017-03-21T23:19:25.000Z
2019-02-03T05:32:47.000Z
chrome/browser/ui/views/autofill/new_credit_card_bubble_views.cc
carlosavignano/android_external_chromium_org
2b5652f7889ccad0fbdb1d52b04bad4c23769547
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/ui/views/autofill/new_credit_card_bubble_views.cc
carlosavignano/android_external_chromium_org
2b5652f7889ccad0fbdb1d52b04bad4c23769547
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
3
2017-07-31T19:09:52.000Z
2019-01-04T18:48:50.000Z
// 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 "chrome/browser/ui/views/autofill/new_credit_card_bubble_views.h" #include "chrome/browser/ui/autofill/new_credit_card_bubble_controller.h" #inc...
35.254098
80
0.741455
[ "render" ]
4974c6160465ddb15cc8c63ea5f5c416f0729f28
51,557
cpp
C++
source/compression/brhashmap.cpp
Olde-Skuul/burgerlib
80848a4dfa17c5c05095ecea14a9bd87f86dfb9d
[ "Zlib" ]
115
2015-01-18T17:29:30.000Z
2022-01-30T04:31:48.000Z
source/compression/brhashmap.cpp
Olde-Skuul/burgerlib
80848a4dfa17c5c05095ecea14a9bd87f86dfb9d
[ "Zlib" ]
9
2015-01-22T04:53:38.000Z
2015-01-31T13:52:40.000Z
source/compression/brhashmap.cpp
Olde-Skuul/burgerlib
80848a4dfa17c5c05095ecea14a9bd87f86dfb9d
[ "Zlib" ]
9
2015-01-23T20:06:46.000Z
2020-05-20T16:06:00.000Z
/*************************************** HashMap template for mapping a key to data Inspired by an implementation found in gameswf by Thatcher Ulrich <tu@tulrich.com> Copyright (c) 1995-2017 by Rebecca Ann Heineman <becky@burgerbecky.com> It is released under an MIT Open Source license. Please see L...
31.533333
118
0.654499
[ "object" ]
4976f1e575cae288fec403bb6fd2ceabdbefb5d0
1,730
cpp
C++
src/base/ThreadPool.cpp
larrystd/streamingserver
b3467964dc6478d5b2de71f8595de2d60b68ed49
[ "Apache-2.0" ]
null
null
null
src/base/ThreadPool.cpp
larrystd/streamingserver
b3467964dc6478d5b2de71f8595de2d60b68ed49
[ "Apache-2.0" ]
null
null
null
src/base/ThreadPool.cpp
larrystd/streamingserver
b3467964dc6478d5b2de71f8595de2d60b68ed49
[ "Apache-2.0" ]
null
null
null
#include "base/ThreadPool.h" #include "base/Logging.h" #include "base/New.h" ThreadPool* ThreadPool::createNew(int num) { //return new ThreadPool(num); return New<ThreadPool>::allocate(num); } ThreadPool::ThreadPool(int num) : mThreads(num), mQuit(false) { mMutex = Mutex::createNew(); mConditi...
20.116279
89
0.600578
[ "vector" ]
497a4fccb64f3272024c0b82eb4fc181d9d5487d
34,050
hpp
C++
include/graph/directed_adjacency_vector.hpp
pratzl/graph
4bb50e92ab77bb1e672285340acf221ae5ae75af
[ "BSL-1.0" ]
12
2020-01-09T22:15:00.000Z
2022-03-15T21:36:21.000Z
include/graph/directed_adjacency_vector.hpp
pratzl/graph
4bb50e92ab77bb1e672285340acf221ae5ae75af
[ "BSL-1.0" ]
2
2021-05-05T16:34:29.000Z
2021-09-19T20:14:58.000Z
include/graph/directed_adjacency_vector.hpp
pratzl/graph
4bb50e92ab77bb1e672285340acf221ae5ae75af
[ "BSL-1.0" ]
3
2020-01-30T21:41:55.000Z
2021-05-05T10:48:04.000Z
// // Author: J. Phillip Ratzloff // #include "graph_utility.hpp" #include "ordered_pair.hpp" #include <vector> #include <cassert> #ifndef DIRECTED_ADJ_ARRAY_HPP # define DIRECTED_ADJ_ARRAY_HPP namespace std { ///------------------------------------------------------------------------------------- /// directed_adj...
45.643432
119
0.694332
[ "object", "vector" ]
497e073d2d1fe4153157426f4f6fb0b51e0e322c
1,569
cpp
C++
src/splitter.cpp
peppergeist/zigzag
e6e73c5c59ea80a98ec632e176fd5f4b1c1a91b5
[ "MIT" ]
null
null
null
src/splitter.cpp
peppergeist/zigzag
e6e73c5c59ea80a98ec632e176fd5f4b1c1a91b5
[ "MIT" ]
null
null
null
src/splitter.cpp
peppergeist/zigzag
e6e73c5c59ea80a98ec632e176fd5f4b1c1a91b5
[ "MIT" ]
null
null
null
#include <string> #include <vector> #include <iostream> #include "input.hpp" std::vector<std::string> split_text_into_zigzag_rows(input inp) { std::vector<std::string> output(inp.height, ""); int row = (inp.reverse ? inp.height - 1 : 0); bool going_down = !inp.reverse; for (int i = 0; i < inp.text.siz...
22.414286
82
0.372849
[ "vector" ]
21a71f3a503c528d916d61f25dcfde53d9a8fee8
3,781
cpp
C++
libstark/src/protocols/Fri/common/common.cpp
MukkuMayc/libSTARK
2f1836a7e8299698f807cc75a3631a4ced540150
[ "MIT" ]
null
null
null
libstark/src/protocols/Fri/common/common.cpp
MukkuMayc/libSTARK
2f1836a7e8299698f807cc75a3631a4ced540150
[ "MIT" ]
null
null
null
libstark/src/protocols/Fri/common/common.cpp
MukkuMayc/libSTARK
2f1836a7e8299698f807cc75a3631a4ced540150
[ "MIT" ]
1
2019-12-02T13:27:16.000Z
2019-12-02T13:27:16.000Z
#include "common.hpp" #include <algebraLib/SubspacePolynomial.hpp> #include "serialize_funfunc.hpp" #include "../../Ali/common_details/serialization_fun.h" namespace libstark{ namespace Protocols{ namespace Fri{ namespace common{ using std::vector; using Algebra::FieldElement; using Algebra::zero; using Algebra::elem...
33.166667
173
0.675747
[ "vector" ]
21a951ed4a7ec444404ceb3e157d0f06d37dc717
3,291
cpp
C++
apps/vaporgui/guis/TransformDelegate.cpp
yyr/vapor
cdebac81212ffa3f811064bbd7625ffa9089782e
[ "BSD-3-Clause" ]
null
null
null
apps/vaporgui/guis/TransformDelegate.cpp
yyr/vapor
cdebac81212ffa3f811064bbd7625ffa9089782e
[ "BSD-3-Clause" ]
null
null
null
apps/vaporgui/guis/TransformDelegate.cpp
yyr/vapor
cdebac81212ffa3f811064bbd7625ffa9089782e
[ "BSD-3-Clause" ]
null
null
null
// // $Id$ // // File: TransformDelegate.cpp // // Author: Kenny Gruchalla // National Renewable Energy Laboratory // // Description: Delegate for inline editing of transform model // // #include "TransformDelegate.h" #include "TransformWidget.h" #include "ModelParams.h" #include "vizwinmgr.h" #include "sessi...
29.648649
105
0.477059
[ "model", "transform" ]
21a996ee6ef569c6acc60170aa0a51ec43d163ab
467
cpp
C++
client/src/main/game/entities/object.cpp
JulianBiancardi/Wolfenstein-Taller1
28e72ce8438264919586785aa09ce9b0a5de222b
[ "MIT" ]
1
2021-04-23T19:57:40.000Z
2021-04-23T19:57:40.000Z
client/src/main/game/entities/object.cpp
JulianBiancardi/Wolfenstein-Taller1
28e72ce8438264919586785aa09ce9b0a5de222b
[ "MIT" ]
null
null
null
client/src/main/game/entities/object.cpp
JulianBiancardi/Wolfenstein-Taller1
28e72ce8438264919586785aa09ce9b0a5de222b
[ "MIT" ]
null
null
null
#include "object.h" #include "../../../../../common/src/main/ids/map_ids.h" Object::Object(const Ray& position, unsigned int resource_id) : position(position), resource_id(resource_id) {} Object::~Object() {} Point Object::get_position() const { return position.get_origin(); } double Object::get_angle() const ...
29.1875
68
0.72591
[ "object" ]
21c3c2d8b8fedd501d476e27d95e829e1389a3fe
3,757
cpp
C++
src/setup/SimpleObjLoader.cpp
QichenW/ComputerAnimations
1da509763eb330d99a6dd5f40535abca09b2a87f
[ "MIT" ]
null
null
null
src/setup/SimpleObjLoader.cpp
QichenW/ComputerAnimations
1da509763eb330d99a6dd5f40535abca09b2a87f
[ "MIT" ]
null
null
null
src/setup/SimpleObjLoader.cpp
QichenW/ComputerAnimations
1da509763eb330d99a6dd5f40535abca09b2a87f
[ "MIT" ]
null
null
null
// // Created by Qichen on 9/21/16. // #include "SimpleObjLoader.h" #include <iostream> using namespace std; FILE *filePointer; char firstWord[16]; vector<GLfloat> vx, vy,vz; /**** * The machanism to load an object file is to first while reading throught the .obj file, * store the coordinates of vertices and the ...
33.846847
116
0.592494
[ "object", "vector" ]
21c4fc9f4cee549a2db1d9acda37dd1b5b65e909
577
cpp
C++
LeetCode/0303. Range Sum Query - Immutable/solution.cpp
InnoFang/oh-my-algorithms
f559dba371ce725a926725ad28d5e1c2facd0ab2
[ "Apache-2.0" ]
19
2018-08-26T03:10:58.000Z
2022-03-07T18:12:52.000Z
LeetCode/0303. Range Sum Query - Immutable/solution.cpp
InnoFang/Algorithm-Library
1896b9d8b1fa4cd73879aaecf97bc32d13ae0169
[ "Apache-2.0" ]
null
null
null
LeetCode/0303. Range Sum Query - Immutable/solution.cpp
InnoFang/Algorithm-Library
1896b9d8b1fa4cd73879aaecf97bc32d13ae0169
[ "Apache-2.0" ]
6
2020-03-16T23:00:06.000Z
2022-01-13T07:02:08.000Z
/** * 16 / 16 test cases passed. * Runtime: 24 ms * Memory Usage: 16.8 MB */ class NumArray { public: NumArray(vector<int>& nums) { prefixSum.push_back(0); for (int i = 0; i < nums.size(); ++ i) { prefixSum.push_back(prefixSum[i] + nums[i]); } } int sumRange(in...
20.607143
64
0.566724
[ "object", "vector" ]
21c80b2d742d22bac7c66e390de896c46df8afcb
2,245
cpp
C++
Cracking Fenwick Tree to the root V1/Solutions/luismo/F/F - Gravel.cpp
gmeligio/axon_training
657f181b732265856c71e97697bfde2062744e5a
[ "MIT" ]
null
null
null
Cracking Fenwick Tree to the root V1/Solutions/luismo/F/F - Gravel.cpp
gmeligio/axon_training
657f181b732265856c71e97697bfde2062744e5a
[ "MIT" ]
5
2019-04-30T22:31:36.000Z
2019-05-07T00:15:23.000Z
Cracking Fenwick Tree to the root V1/Solutions/luismo/F/F - Gravel.cpp
gmeligio/axon_training
657f181b732265856c71e97697bfde2062744e5a
[ "MIT" ]
5
2019-05-01T05:08:43.000Z
2019-05-07T18:13:18.000Z
/* Author: Luis Manuel Díaz Barón (LUISMO) Problem: Online Judge: Idea: */ #include<bits/stdc++.h> // Types #define ll long long #define ull unsigned long long // IO #define sf scanf #define pf printf #define mkp make_pair #define fi first #define se second #define endl "\n" using namespace std; ...
17.269231
61
0.437416
[ "vector" ]
21cad99746f3426d273998da84247da215483e95
12,353
cpp
C++
CsPlugin/Source/CsCore/Public/Managers/FX/CsTypes_FX.cpp
closedsum/core
c3cae44a177b9684585043a275130f9c7b67fef0
[ "Unlicense" ]
2
2019-03-17T10:43:53.000Z
2021-04-20T21:24:19.000Z
CsPlugin/Source/CsCore/Public/Managers/FX/CsTypes_FX.cpp
closedsum/core
c3cae44a177b9684585043a275130f9c7b67fef0
[ "Unlicense" ]
null
null
null
CsPlugin/Source/CsCore/Public/Managers/FX/CsTypes_FX.cpp
closedsum/core
c3cae44a177b9684585043a275130f9c7b67fef0
[ "Unlicense" ]
null
null
null
// Copyright 2017-2021 Closed Sum Games, LLC. All Rights Reserved. #include "Managers/FX/CsTypes_FX.h" #include "CsCore.h" // Library #include "Managers/FX/CsLibrary_FX.h" // Settings #include "Settings/CsDeveloperSettings.h" // Param #include "Managers/FX/Params/CsParams_FX.h" // FX #pragma region namespace NCsFX {...
27.759551
166
0.720473
[ "vector", "transform" ]
21daca4d9f1be8349c913eb7b299b8b1e989a8b1
1,230
hpp
C++
src/com/cyosp/mpa/core/User.hpp
cyosp/MPA
f640435c483dcbf7bfe7ff7887a25e6c76612528
[ "BSD-3-Clause" ]
null
null
null
src/com/cyosp/mpa/core/User.hpp
cyosp/MPA
f640435c483dcbf7bfe7ff7887a25e6c76612528
[ "BSD-3-Clause" ]
null
null
null
src/com/cyosp/mpa/core/User.hpp
cyosp/MPA
f640435c483dcbf7bfe7ff7887a25e6c76612528
[ "BSD-3-Clause" ]
null
null
null
/* * User.hpp * * Created on: 2017-05-23 * Author: CYOSP */ #ifndef COM_CYOSP_MPA_CORE_USER_HPP_ #define COM_CYOSP_MPA_CORE_USER_HPP_ #include <vector> #include <string> #include "MPA.hpp" #include "litesql.hpp" #include "com/cyosp/mpa/po/MPAPO.hpp" // no name collisions expected using namespace litesql...
21.578947
101
0.595122
[ "vector" ]
21defd8492e0934ca10bf32d2138cf7d08b3dae7
791
hpp
C++
app/model/StudentCourseModel.hpp
fabsgc/gestnotes
61e8ff8a42e9f5954a57489f7103937f5ce36863
[ "MIT" ]
null
null
null
app/model/StudentCourseModel.hpp
fabsgc/gestnotes
61e8ff8a42e9f5954a57489f7103937f5ce36863
[ "MIT" ]
null
null
null
app/model/StudentCourseModel.hpp
fabsgc/gestnotes
61e8ff8a42e9f5954a57489f7103937f5ce36863
[ "MIT" ]
null
null
null
/*\ | ------------------------------------------------------ | @file : StudentCourseModel.hpp | @author : Fabien Beaujean, Luc Lorentz | @description : modèle gestion des cours par les élèves | ------------------------------------------------------ \*/ #ifndef STUDENTCOURSEMODEL_HPP_INCLUDED #define STUDENTCOURSE...
30.423077
107
0.563843
[ "vector", "model" ]
21df0f5364d9edbbda91e4dc36c9278f9902bd0b
3,787
hpp
C++
Component.hpp
phisko/kengine
c30f98cc8e79cce6574b5f61088b511f29bbe8eb
[ "MIT" ]
259
2018-11-01T05:12:37.000Z
2022-03-28T11:15:27.000Z
Component.hpp
raptoravis/kengine
619151c20e9db86584faf04937bed3d084e3bc21
[ "MIT" ]
2
2018-11-30T13:58:44.000Z
2018-12-17T11:58:42.000Z
Component.hpp
raptoravis/kengine
619151c20e9db86584faf04937bed3d084e3bc21
[ "MIT" ]
16
2018-12-01T13:38:18.000Z
2021-12-04T21:31:55.000Z
#pragma once #ifndef KENGINE_COMPONENT_CHUNK_SIZE # define KENGINE_COMPONENT_CHUNK_SIZE 64 #endif #ifndef KENGINE_NDEBUG #include <iostream> #endif #include <memory> #include <mutex> #include <shared_mutex> #include <fstream> #include <cstddef> #include <unordered_map> #include <memory> #include <vector> #include "m...
25.587838
169
0.668867
[ "vector" ]
21e64a79f31b05969d5c58d9856ccf2e391666d2
12,187
cpp
C++
QHTML_Static/qhtm/tablelayout.cpp
karolbe/DSS
5a834561fbe7345d0be36f41ed8620ebbdb2f222
[ "BSD-3-Clause" ]
null
null
null
QHTML_Static/qhtm/tablelayout.cpp
karolbe/DSS
5a834561fbe7345d0be36f41ed8620ebbdb2f222
[ "BSD-3-Clause" ]
null
null
null
QHTML_Static/qhtm/tablelayout.cpp
karolbe/DSS
5a834561fbe7345d0be36f41ed8620ebbdb2f222
[ "BSD-3-Clause" ]
1
2020-06-28T19:21:22.000Z
2020-06-28T19:21:22.000Z
/*---------------------------------------------------------------------- Copyright (c) 1998 Gipsysoft. All Rights Reserved. Please see the file "licence.txt" for licencing details. File: tablelayout.cpp Owner: russf@gipsysoft.com Author: rich@woodbridgeinternalmed.com Purpose: Lays out the cells of a table -----------...
28.607981
183
0.677607
[ "object" ]
21f742861e6381e279f5d1456ed1b685616b0599
798
cpp
C++
3. Структуры данных/2. Полоска #884/[OK]228836.cpp
godnoTA/acm.bsu.by
3e1cf1c545c691de82b5e1d2e0768b41ea581734
[ "Unlicense" ]
19
2018-05-19T16:37:14.000Z
2022-03-23T20:13:43.000Z
3. Структуры данных/2. Полоска #884/[OK]228836.cpp
godnoTA/acm.bsu.by
3e1cf1c545c691de82b5e1d2e0768b41ea581734
[ "Unlicense" ]
6
2020-05-07T21:06:48.000Z
2020-06-05T17:52:57.000Z
3. Структуры данных/2. Полоска #884/[OK]228836.cpp
godnoTA/acm.bsu.by
3e1cf1c545c691de82b5e1d2e0768b41ea581734
[ "Unlicense" ]
31
2019-03-01T21:41:38.000Z
2022-03-27T17:56:39.000Z
#include <iostream> #include <fstream> #include <stack> #include <math.h> #include <vector> using namespace std; void flop(stack<int>& a, stack<int>&b) { while (!b.empty()) { a.push(b.top()); b.pop(); } } int main() { ifstream fin("in.txt"); ofstream fout("out.txt"); int n; fin >> n; ...
17.347826
41
0.489975
[ "vector" ]
21fe5635614e69d136cee4b5938d0d75aca40162
519
cpp
C++
cpp-prime/c3/ex3-23.cpp
XiaochenCui/cpp-study
b18a2deb3961b095e67243a8df09e50b740701a9
[ "BSD-2-Clause" ]
null
null
null
cpp-prime/c3/ex3-23.cpp
XiaochenCui/cpp-study
b18a2deb3961b095e67243a8df09e50b740701a9
[ "BSD-2-Clause" ]
null
null
null
cpp-prime/c3/ex3-23.cpp
XiaochenCui/cpp-study
b18a2deb3961b095e67243a8df09e50b740701a9
[ "BSD-2-Clause" ]
null
null
null
// // Created by 崔晓晨 on 2019-07-13. // #include <vector> #include <iostream> using namespace::std; void print_vector_int(vector<int> v) { for (auto it = v.begin(); it != v.end(); it++) { cout << *it << " "; } cout << endl; } int main() { vector<int> v(10); int i = 0; for (auto it = v...
16.741935
52
0.472062
[ "vector" ]
1d04f6b7da8597949e079e208b0a7207e225869e
2,919
hpp
C++
deps/memkind/src/test/allocator_perf_tool/CommandLine.hpp
steamboatid/keydb
7aa9296f1bd9773ce47c46ab3ac3800bf870f8fe
[ "BSD-3-Clause" ]
4,587
2019-02-26T06:59:21.000Z
2021-03-02T20:54:42.000Z
deps/memkind/src/test/allocator_perf_tool/CommandLine.hpp
steamboatid/keydb
7aa9296f1bd9773ce47c46ab3ac3800bf870f8fe
[ "BSD-3-Clause" ]
269
2019-02-27T19:20:05.000Z
2021-03-02T06:06:40.000Z
deps/memkind/src/test/allocator_perf_tool/CommandLine.hpp
steamboatid/keydb
7aa9296f1bd9773ce47c46ab3ac3800bf870f8fe
[ "BSD-3-Clause" ]
297
2019-02-26T22:37:53.000Z
2021-02-24T03:06:13.000Z
/* * Copyright (C) 2015 - 2018 Intel Corporation. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * 1. Redistributions of source code must retain the above copyright notice(s), * this list of c...
33.94186
97
0.644056
[ "vector" ]
1d097404ccdb0d482c03eb2860250bd15f9aa774
5,655
cpp
C++
src/cpp/helper.cpp
Krombik/keysender
8f22fd4bff1dbef57538d6db0bcb78bc97002d6b
[ "MIT" ]
12
2020-05-13T18:37:39.000Z
2022-01-08T11:39:28.000Z
src/cpp/helper.cpp
Krombik/keysender
8f22fd4bff1dbef57538d6db0bcb78bc97002d6b
[ "MIT" ]
3
2020-11-07T20:27:57.000Z
2021-11-29T01:36:19.000Z
src/cpp/helper.cpp
Krombik/keysender
8f22fd4bff1dbef57538d6db0bcb78bc97002d6b
[ "MIT" ]
null
null
null
#include "helper.hpp" BOOL CALLBACK Helper::EnumWindowsProc(HWND hWnd, LPARAM lParam) { if (!IsWindowVisible(hWnd) || !IsWindowEnabled(hWnd) || GetWindowTextLengthA(hWnd) == 0) return TRUE; WindowInfo *windowInfo = (WindowInfo *)lParam; if (!windowInfo->className.empty() && classNameGetter(hWnd).co...
26.549296
138
0.550309
[ "object", "vector" ]
1d0db709eaf04207d4248350f31f20036d02993b
1,198
cpp
C++
coder_strike_r2_2014/B/main.cpp
tamimcsedu19/codeforces
8e61025b99bc0a5b32cb03f736123b39dcc23f61
[ "Apache-2.0" ]
null
null
null
coder_strike_r2_2014/B/main.cpp
tamimcsedu19/codeforces
8e61025b99bc0a5b32cb03f736123b39dcc23f61
[ "Apache-2.0" ]
null
null
null
coder_strike_r2_2014/B/main.cpp
tamimcsedu19/codeforces
8e61025b99bc0a5b32cb03f736123b39dcc23f61
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <algorithm> #include <math.h> #include <stdlib.h> #include <queue> #define white 1 #define gray 2 #define black 3 using namespace std; vector<int> G[1005]; int x[1005],y[1005],val[1005]; bool vis[1005]; int dfs(int u) { vis[u] = true; int cost = val[u]; for(int i=0;i<G[u].si...
15.763158
85
0.384808
[ "vector" ]
1d0e653447a95c16cb02bc99a79cf807f1bbe19f
20,789
cpp
C++
src/urGovernor_node.cpp
uproot-robotics/urGovernor
f952ee9f78b551073210fe62874abbd2be44c4d3
[ "BSD-3-Clause" ]
null
null
null
src/urGovernor_node.cpp
uproot-robotics/urGovernor
f952ee9f78b551073210fe62874abbd2be44c4d3
[ "BSD-3-Clause" ]
null
null
null
src/urGovernor_node.cpp
uproot-robotics/urGovernor
f952ee9f78b551073210fe62874abbd2be44c4d3
[ "BSD-3-Clause" ]
1
2020-03-23T17:58:38.000Z
2020-03-23T17:58:38.000Z
#include <ros/ros.h> // Shared lib #include "SerialPacket.h" // For kinematics #include "deltaRobot.h" // Srv and msg types #include <urGovernor/FetchWeed.h> #include <urGovernor/MarkUprooted.h> #include <urGovernor/RemoveWeed.h> #include <urVision/weedDataArray.h> #include <urGovernor/SerialWrite.h> #include <urGo...
32.790221
122
0.60633
[ "vector" ]
1d13c2ed994a93aff432de78c0784f1b499f474b
12,866
cpp
C++
flash-graph/libgraph-algs/betweenness_centrality.cpp
kjhyun824/uncertain-graph-engine
17aa1b8b5d03b03200583797ab0cfb4a42ff8845
[ "Apache-2.0" ]
140
2015-01-02T21:28:55.000Z
2015-12-22T01:25:03.000Z
flash-graph/libgraph-algs/betweenness_centrality.cpp
kjhyun824/uncertain-graph-engine
17aa1b8b5d03b03200583797ab0cfb4a42ff8845
[ "Apache-2.0" ]
160
2016-11-07T18:37:33.000Z
2020-03-10T22:57:07.000Z
flash-graph/libgraph-algs/betweenness_centrality.cpp
kjhyun824/uncertain-graph-engine
17aa1b8b5d03b03200583797ab0cfb4a42ff8845
[ "Apache-2.0" ]
25
2016-11-14T04:31:29.000Z
2020-07-28T04:58:44.000Z
/** * Copyright 2014 Open Connectome Project (http://openconnecto.me) * Written by Disa Mhembere (disa@jhu.edu) * * This file is part of FlashGraph. * * 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 t...
26.257143
91
0.713897
[ "vector" ]
1d16b830cc77c9e167155a9ceace5167d9279881
6,126
hpp
C++
include/map.hpp
SrinidhiSreenath/ENPM808X-Midterm-InformedRRTStar
01e092b4795e3267cb6b0e37321cd103afdbc90b
[ "MIT" ]
4
2018-10-10T00:42:05.000Z
2020-07-09T07:46:38.000Z
include/map.hpp
SrinidhiSreenath/ENPM808X-Midterm-InformedRRTStar
01e092b4795e3267cb6b0e37321cd103afdbc90b
[ "MIT" ]
8
2018-10-24T04:28:31.000Z
2018-11-06T21:07:27.000Z
include/map.hpp
SrinidhiSreenath/ENPM808X-Midterm-InformedRRTStar
01e092b4795e3267cb6b0e37321cd103afdbc90b
[ "MIT" ]
1
2019-10-13T01:12:37.000Z
2019-10-13T01:12:37.000Z
/**************************************************************************** * MIT License * Copyright (c) 2018 Srinidhi Sreenath * * 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 with...
36.035294
80
0.617532
[ "vector" ]
1d19d47ee995cb46ff6c6b52f31963a4b4130ef0
309
cpp
C++
LeetCode/cpp/1018.cpp
ZintrulCre/LeetCode_Archiver
de23e16ead29336b5ee7aa1898a392a5d6463d27
[ "MIT" ]
279
2019-02-19T16:00:32.000Z
2022-03-23T12:16:30.000Z
LeetCode/cpp/1018.cpp
ZintrulCre/LeetCode_Archiver
de23e16ead29336b5ee7aa1898a392a5d6463d27
[ "MIT" ]
2
2019-03-31T08:03:06.000Z
2021-03-07T04:54:32.000Z
LeetCode/cpp/1018.cpp
ZintrulCre/LeetCode_Crawler
de23e16ead29336b5ee7aa1898a392a5d6463d27
[ "MIT" ]
12
2019-01-29T11:45:32.000Z
2019-02-04T16:31:46.000Z
class Solution { public: vector<bool> prefixesDivBy5(vector<int> &A) { int sum = 0; vector<bool> ret(A.size(), false); for (int i = 0; i < A.size(); ++i) { sum = (sum * 2 + A[i]) % 5; ret[i] = sum == 0 ? true : false; } return ret; } };
23.769231
49
0.433657
[ "vector" ]
9192d80227cc096833879657d411082fd21f35ee
12,366
cpp
C++
main.cpp
GaZ3ll3/kifmm3d
31fa5bb208e6d257041f49f461edac8358ae3c1e
[ "MIT" ]
1
2016-10-11T01:25:52.000Z
2016-10-11T01:25:52.000Z
main.cpp
GaZ3ll3/kifmm3d
31fa5bb208e6d257041f49f461edac8358ae3c1e
[ "MIT" ]
2
2016-10-27T05:01:46.000Z
2016-10-31T23:30:36.000Z
main.cpp
GaZ3ll3/bbfmm3d
31fa5bb208e6d257041f49f461edac8358ae3c1e
[ "MIT" ]
null
null
null
/* * main.cpp * * Created on: Oct 9, 2016 * Author: Yimin Zhong */ #include <iostream> #include "kernel.h" #include "bicgstab.h" #include "gmres.h" #include "molecule.h" #include "singular.h" int main() { #ifdef RUN_OMP omp_set_num_threads(omp_get_max_threads()); #endif /* * allocating source, ...
36.913433
117
0.506227
[ "vector" ]
9198539846e89721b6e8ab356a01552e3fd44837
6,500
cpp
C++
src/ModelSelection/ModelSelection.cpp
andreas-hjortgaard/master_thesis
bb03ca9fc030c5142a7dde2ec80a85abc06e2cfb
[ "MIT" ]
null
null
null
src/ModelSelection/ModelSelection.cpp
andreas-hjortgaard/master_thesis
bb03ca9fc030c5142a7dde2ec80a85abc06e2cfb
[ "MIT" ]
null
null
null
src/ModelSelection/ModelSelection.cpp
andreas-hjortgaard/master_thesis
bb03ca9fc030c5142a7dde2ec80a85abc06e2cfb
[ "MIT" ]
1
2018-10-20T00:43:36.000Z
2018-10-20T00:43:36.000Z
/* Conditional Random Fields for Object Localization * Master thesis source code * * Authors: * Andreas Christian Eilschou (jwb226@alumni.ku.dk) * Andreas Hjortgaard Danielsen (gxn961@alumni.ku.dk) * * Department of Computer Science * University of Copenhagen * Denmark * * Date: 27-08-2012 */ // functions...
27.896996
119
0.631385
[ "object", "model" ]
91a2992e2af79a2f246617cb13d8b347f34b85f8
36,805
cpp
C++
src/xtf/xtf.cpp
WPI-ARC/xtf
526b8a31a36f7bd9745267bb3e21646eb4dbb7bc
[ "BSD-2-Clause" ]
4
2015-10-11T03:30:13.000Z
2022-03-19T08:21:20.000Z
src/xtf/xtf.cpp
WPI-ARC/xtf
526b8a31a36f7bd9745267bb3e21646eb4dbb7bc
[ "BSD-2-Clause" ]
null
null
null
src/xtf/xtf.cpp
WPI-ARC/xtf
526b8a31a36f7bd9745267bb3e21646eb4dbb7bc
[ "BSD-2-Clause" ]
2
2015-10-11T03:30:13.000Z
2016-11-07T01:18:11.000Z
#include "stdlib.h" #include "stdio.h" #include <vector> #include <string> #include <sstream> #include "string.h" #include <iostream> #include <algorithm> #include <stdexcept> #include <typeinfo> #include <libxml++/libxml++.h> #include <arc_utilities/pretty_print.hpp> #include "xtf/xtf.hpp" using namespace XTF; KeyVa...
33.735105
235
0.565874
[ "vector" ]
91b38e20914e5031fd9ad4b86c3c4f6d3891f746
6,562
cpp
C++
Triple_1.2weighted/readgrammar.cpp
amanzour/SCFGEntropy
ce3ae09d930a5f4eb2902eac539f265571bf9d03
[ "FSFAP" ]
null
null
null
Triple_1.2weighted/readgrammar.cpp
amanzour/SCFGEntropy
ce3ae09d930a5f4eb2902eac539f265571bf9d03
[ "FSFAP" ]
null
null
null
Triple_1.2weighted/readgrammar.cpp
amanzour/SCFGEntropy
ce3ae09d930a5f4eb2902eac539f265571bf9d03
[ "FSFAP" ]
null
null
null
#include "readgrammar.h" readgrammar::readgrammar(string filename) { gfilename = filename; nonterm = "<Start>"; map_alpha.push_back(line); map_beta.push_back(line); grammar.resize(0); } readgrammar::~readgrammar(void) { } void readgrammar::readtext(void) { string str_line=""; f_g.open(gfil...
24.125
105
0.629686
[ "vector" ]
91b95435e263acac346fd8e95fc4831dec7b39ec
42,097
cpp
C++
main/shape2ps.cpp
fmidev/smartmet-shapetools
8ca25d3a007af8582c2553c9f608ec18482ea0d4
[ "MIT" ]
null
null
null
main/shape2ps.cpp
fmidev/smartmet-shapetools
8ca25d3a007af8582c2553c9f608ec18482ea0d4
[ "MIT" ]
null
null
null
main/shape2ps.cpp
fmidev/smartmet-shapetools
8ca25d3a007af8582c2553c9f608ec18482ea0d4
[ "MIT" ]
null
null
null
// ====================================================================== /*! * \file shape2ps.cpp * \brief A program to render shapefiles into PostScript */ // ====================================================================== /*! * \page shape2ps shape2ps * * shape2ps takes as input a single filename contai...
31.392245
100
0.518208
[ "render", "object", "shape" ]
91c809b916a5d2480541b01079e8dbe0a9d70714
48,778
cpp
C++
src/GUI/MediumSet.cpp
ArashMassoudieh/GIFMod_
1fa9eda21fab870fc3baf56462f79eb800d5154f
[ "MIT" ]
5
2017-11-20T19:32:27.000Z
2018-08-28T06:08:45.000Z
src/GUI/MediumSet.cpp
ArashMassoudieh/GIFMod_
1fa9eda21fab870fc3baf56462f79eb800d5154f
[ "MIT" ]
1
2017-07-04T05:40:30.000Z
2017-07-04T05:43:37.000Z
src/GUI/MediumSet.cpp
ArashMassoudieh/GIFMod_
1fa9eda21fab870fc3baf56462f79eb800d5154f
[ "MIT" ]
2
2017-11-09T22:00:45.000Z
2018-08-30T10:56:08.000Z
#ifdef GIFMOD #include "MediumSet.h" using namespace std; CMediumSet::CMediumSet() { #ifdef Debug_API showmessages = true; #endif // Debug_API set_default(); show_message("CMediumSet Created!"); #ifndef QT_version showmessages = true; #else showmessages = false; #endif } void CMediumSet::SetDe...
41.513191
279
0.650724
[ "vector", "model", "solid" ]
91c9d14d3bf5eaf6d5918a8763f2800dfce5dbab
11,220
cpp
C++
src/menu.cpp
kiavash-at-home/impedance-transform-matching-smith-chart
b58f94b327a6b56f6e1203df527f00c2b97e1d79
[ "Apache-2.0" ]
1
2021-01-08T13:03:08.000Z
2021-01-08T13:03:08.000Z
src/menu.cpp
kiavash-at-home/impedance-transform-matching-smith-chart
b58f94b327a6b56f6e1203df527f00c2b97e1d79
[ "Apache-2.0" ]
1
2020-08-16T01:10:00.000Z
2020-08-16T01:16:59.000Z
src/menu.cpp
kiavash-at-home/impedance-transform-matching-smith-chart
b58f94b327a6b56f6e1203df527f00c2b97e1d79
[ "Apache-2.0" ]
null
null
null
/* Copyright note regarding the ported section of the code: Copyright 2011 by Kiavash 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 Unl...
20.511883
73
0.481194
[ "transform" ]
91d48c8d2ed66e03f88290bcdc3ee1420b009f6d
3,260
cpp
C++
src/core/YGraphics.cpp
j-tetteroo/kobu
99486ee457c047a3392549bc73935d20bdbdaf93
[ "Apache-2.0" ]
null
null
null
src/core/YGraphics.cpp
j-tetteroo/kobu
99486ee457c047a3392549bc73935d20bdbdaf93
[ "Apache-2.0" ]
null
null
null
src/core/YGraphics.cpp
j-tetteroo/kobu
99486ee457c047a3392549bc73935d20bdbdaf93
[ "Apache-2.0" ]
null
null
null
#include <string> #include "SkCanvas.h" #include "SkRect.h" #include "SkRRect.h" #include "core/YGraphics.h" #include "util/YTypes.h" kobu::YGraphics::YGraphics(SkCanvas *c) : canvas_(c) { } kobu::YGraphics::~YGraphics(void) { } void kobu::YGraphics::DrawRect(uint32_t color, float x, float y, float w, float h, ...
24.511278
120
0.655828
[ "render" ]
91d72838430c10b6be099009ce809d2e4e409bef
2,590
cpp
C++
cpp-mmgraph/graph.cpp
andelf/codeplay
de148cc48f5c1d436978b14876ee1c871e692e11
[ "MIT" ]
2
2016-10-10T04:01:10.000Z
2017-01-10T08:31:17.000Z
cpp-mmgraph/graph.cpp
andelf/codeplay
de148cc48f5c1d436978b14876ee1c871e692e11
[ "MIT" ]
null
null
null
cpp-mmgraph/graph.cpp
andelf/codeplay
de148cc48f5c1d436978b14876ee1c871e692e11
[ "MIT" ]
null
null
null
// Copyright (c) 2016 Copyright Holder All Rights Reserved. #include <algorithm> #include <cstddef> #include <cstdint> #include <fstream> #include <iostream> #include <memory> #include <numeric> #include <boost/config.hpp> #include <boost/graph/adjacency_list.hpp> #include <boost/graph/graphviz.hpp> #include <boost/g...
31.204819
80
0.615444
[ "vector" ]
91dd31a5d8bf014afa306a0ab9f6caa7544af777
29,372
cpp
C++
src/Library/main.cpp
Gegel85/TouhouUNLDiscordIntegration
266b4dca6915bf70073fff8aa93da06841c39a94
[ "MIT" ]
5
2020-11-02T05:31:05.000Z
2021-03-03T06:50:15.000Z
src/Library/main.cpp
Gegel85/TouhouUNLDiscordIntegration
266b4dca6915bf70073fff8aa93da06841c39a94
[ "MIT" ]
3
2020-11-18T05:51:09.000Z
2021-02-16T16:41:24.000Z
src/Library/main.cpp
Gegel85/TouhouUNLDiscordIntegration
266b4dca6915bf70073fff8aa93da06841c39a94
[ "MIT" ]
1
2020-11-24T21:40:46.000Z
2020-11-24T21:40:46.000Z
// // Created by Gegel85 on 31/10/2020 // #include <thread> #include <ctime> #include <string> #include <array> #include <discord.h> #include <shlwapi.h> #include <SokuLib.hpp> #include "logger.hpp" #include "Exceptions.hpp" #include "Network/getPublicIp.hpp" #include "ShiftJISDecoder.hpp" static bool enabled; static...
34.636792
172
0.704923
[ "object", "vector" ]
91dd829cc3e8993047e9d824c3e6adf0339b9982
3,148
cpp
C++
AsteroidShooter/Map.cpp
htmlboss/OpenGL-2D-Game-Engine
1908e5a6ab781585381bcb7bcae6a595506354b2
[ "MIT" ]
1
2017-06-27T18:45:39.000Z
2017-06-27T18:45:39.000Z
AsteroidShooter/Map.cpp
htmlboss/OpenGL-2D-Game-Engine
1908e5a6ab781585381bcb7bcae6a595506354b2
[ "MIT" ]
null
null
null
AsteroidShooter/Map.cpp
htmlboss/OpenGL-2D-Game-Engine
1908e5a6ab781585381bcb7bcae6a595506354b2
[ "MIT" ]
null
null
null
#include "includes/Map.h" #include <ErrorSuite.h> #include <ResourceManager.h> #include <fstream> #include <iostream> Map::Map(const std::string& mapDataPath) : m_uvRect(0.0f, 0.0f, 1.0f, 1.0f){ std::ifstream file; file.open(mapDataPath); if (file.fail()) { Engine::fatalError("Failed to open " + mapDataPath)...
21.127517
97
0.640407
[ "render", "vector" ]
91e0a29260e446ca76735d9dda9c6c20457a0348
1,226
cpp
C++
projects/SURFKeypointMatching/SURFKeypointMatching.cpp
trevstanhope/scratch-Cpp
f6a0db5a7aeb388a852180dc0be749c1e7c2e318
[ "MIT" ]
null
null
null
projects/SURFKeypointMatching/SURFKeypointMatching.cpp
trevstanhope/scratch-Cpp
f6a0db5a7aeb388a852180dc0be749c1e7c2e318
[ "MIT" ]
null
null
null
projects/SURFKeypointMatching/SURFKeypointMatching.cpp
trevstanhope/scratch-Cpp
f6a0db5a7aeb388a852180dc0be749c1e7c2e318
[ "MIT" ]
null
null
null
#include <opencv2/highgui/highgui.hpp> #include <opencv2/imgproc/imgproc.hpp> #include <opencv2/features2d/features2d.hpp> #include <opencv2/nonfree/nonfree.hpp> #include <stdio.h> using namespace cv; int main( int argc, char** argv ) { if(argc != 3) { return -1; } Mat img1 = imread(argv[1], CV_LOAD_IMA...
24.52
72
0.721044
[ "vector" ]
91f53118ae69781668aee5472a39c217a2f17ea4
1,198
hpp
C++
Deitel/Chapter13/exercises/13.17/BasePlusCommissionEmployee.hpp
SebastianTirado/Cpp-Learning-Archive
fb83379d0cc3f9b2390cef00119464ec946753f4
[ "MIT" ]
19
2019-09-15T12:23:51.000Z
2020-06-18T08:31:26.000Z
Deitel/Chapter13/exercises/13.17/BasePlusCommissionEmployee.hpp
eirichan/CppLearingArchive
07a4baf63f0765d41eb0cc6d32a4c9d2ae1d5bac
[ "MIT" ]
15
2021-12-07T06:46:03.000Z
2022-01-31T07:55:32.000Z
Deitel/Chapter13/exercises/13.17/BasePlusCommissionEmployee.hpp
eirichan/CppLearingArchive
07a4baf63f0765d41eb0cc6d32a4c9d2ae1d5bac
[ "MIT" ]
13
2019-06-29T02:58:27.000Z
2020-05-07T08:52:22.000Z
/* * ===================================================================================== * * Filename: BasePlusCommissionEmployee.hpp * * Description: Fig. 13.15: BasePlusCommissionEmployee class derived from * CommissionEmployee. * * Version: 1.0 * Created: 12/08/...
30.717949
88
0.53172
[ "object" ]
91f86bfc74b6779a5b8bdfd69adf969495622915
12,119
cpp
C++
StrSTUN-synthesizer/strstunlib0/src/GoalGraphManager.cpp
HALOCORE/SynGuar
8f7f9ba52e83091ad3def501169fd60d20b28321
[ "MIT" ]
1
2021-06-23T05:10:36.000Z
2021-06-23T05:10:36.000Z
StrSTUN-synthesizer/strstunlib0/src/GoalGraphManager.cpp
HALOCORE/SynGuar
8f7f9ba52e83091ad3def501169fd60d20b28321
[ "MIT" ]
null
null
null
StrSTUN-synthesizer/strstunlib0/src/GoalGraphManager.cpp
HALOCORE/SynGuar
8f7f9ba52e83091ad3def501169fd60d20b28321
[ "MIT" ]
null
null
null
#include "GoalGraphManager.hpp" #include "visitorbase.hpp" #include "VisitorPretty.hpp" #include "ValueVector.hpp" GoalGraphManager::GoalGraphManager(bool isFullMatch) : goalRoot(), unionGoalsHash(131072) { //this->pAllGoals.push_back(&goalRoot); this->createProgram1stParam = nullptr; this->pCreateProgram ...
38.473016
153
0.622741
[ "vector" ]
91f93411814db4c28d64a260c139ea14ba1e9f8b
7,023
hpp
C++
kernel/bb/Brick11/exe/fb11ademod_config.hpp
Bhaskers-Blu-Org2/Sora
6aa5411db71199e56d5cb24265b01a89f49b40f4
[ "BSD-2-Clause" ]
270
2015-07-17T15:43:43.000Z
2019-04-21T12:13:58.000Z
kernel/bb/Brick11/exe/fb11ademod_config.hpp
JamesLinus/Sora
6aa5411db71199e56d5cb24265b01a89f49b40f4
[ "BSD-2-Clause" ]
null
null
null
kernel/bb/Brick11/exe/fb11ademod_config.hpp
JamesLinus/Sora
6aa5411db71199e56d5cb24265b01a89f49b40f4
[ "BSD-2-Clause" ]
106
2015-07-20T10:40:34.000Z
2019-04-25T10:02:26.000Z
#pragma once #include "ieee80211facade.hpp" #include "depuncturer.hpp" typedef struct _tagBB11aDemodContext : LOCAL_CONTEXT(TDropAny) , LOCAL_CONTEXT(TBB11aFrameSink) , LOCAL_CONTEXT(T11aViterbi) , LOCAL_CONTEXT(T11aPLCPParser) , LOCAL_CONTEXT(T11aDemap) ...
31.352679
115
0.679624
[ "object" ]
6209b20aaebde0012dda2bc520d7d8f3edd86a0d
3,494
cpp
C++
src/PokemonBLL/Jogo.cpp
mpeschke/OOP-PROJ1
a0cb356a9b504ef49d3b1f2df12ade674628e482
[ "MIT" ]
null
null
null
src/PokemonBLL/Jogo.cpp
mpeschke/OOP-PROJ1
a0cb356a9b504ef49d3b1f2df12ade674628e482
[ "MIT" ]
null
null
null
src/PokemonBLL/Jogo.cpp
mpeschke/OOP-PROJ1
a0cb356a9b504ef49d3b1f2df12ade674628e482
[ "MIT" ]
null
null
null
/** Jogo.cpp Purpose: classe do jogo @author Matheus Peschke @version 1.0.0 2021-05-09 */ #include "Jogo.hpp" #include "Pokemon.hpp" #include "Pokemonrodada.hpp" #include "Pokemoncardgenerator.hpp" #include "Exceptions.hpp" namespace BLL { Jogo::Jogo() : m_rodadas(0U), m_numero_cartas_pras_rodada...
38.822222
129
0.688323
[ "vector" ]
620b14486643e637dbdcc5a34612fca1dcd07341
23,591
cpp
C++
src/sweepers/moc/tests/test_Ray.cpp
tp-ntouran/mocc
77d386cdf341b1a860599ff7c6e4017d46e0b102
[ "Apache-2.0" ]
11
2016-03-31T17:46:15.000Z
2022-02-14T01:07:56.000Z
src/sweepers/moc/tests/test_Ray.cpp
tp-ntouran/mocc
77d386cdf341b1a860599ff7c6e4017d46e0b102
[ "Apache-2.0" ]
3
2016-04-04T16:40:47.000Z
2019-10-16T22:22:54.000Z
src/sweepers/moc/tests/test_Ray.cpp
tp-ntouran/mocc
77d386cdf341b1a860599ff7c6e4017d46e0b102
[ "Apache-2.0" ]
3
2019-10-16T22:20:15.000Z
2019-11-28T11:59:03.000Z
/* Copyright 2016 Mitchell Young 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 ...
75.612179
196
0.444195
[ "mesh", "vector" ]
620e4ed9fb0acebb1d9e7d48df8abbf859291279
4,937
cc
C++
components/autofill/core/browser/payments/payments_util_unittest.cc
iridium-browser/iridium-browser
907e31cf5ce5ad14d832796e3a7c11e496828959
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
575
2015-06-18T23:58:20.000Z
2022-03-23T09:32:39.000Z
components/autofill/core/browser/payments/payments_util_unittest.cc
iridium-browser/iridium-browser
907e31cf5ce5ad14d832796e3a7c11e496828959
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
components/autofill/core/browser/payments/payments_util_unittest.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
52
2015-07-14T10:40:50.000Z
2022-03-15T01:11:49.000Z
// Copyright 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 "components/autofill/core/browser/payments/payments_util.h" #include <string> #include "base/guid.h" #include "base/strings/utf_string_conversi...
37.976923
80
0.785497
[ "vector" ]
621774c3ff4b4f1c9251c73e23ccd9ae920c732f
1,297
cpp
C++
c&c++/vpm.cpp
VanirLab/Vanir-API
e3fed71c3c5b74550e5ae8d0afdbf124edcc036f
[ "MIT" ]
1
2020-07-23T11:59:46.000Z
2020-07-23T11:59:46.000Z
c&c++/vpm.cpp
VanirLab/Vanir-API
e3fed71c3c5b74550e5ae8d0afdbf124edcc036f
[ "MIT" ]
null
null
null
c&c++/vpm.cpp
VanirLab/Vanir-API
e3fed71c3c5b74550e5ae8d0afdbf124edcc036f
[ "MIT" ]
null
null
null
//VANIR CORE MANAGER FOR API #include "vdefines.h" #include <vector> #include <string> class V_CORE_API PlugInstance { public: explicit PlugInstance(const std::string&name); ~PlugInstance(); bool Load(); bool Unload(); bool IsLoaded(); bool Lock(); bool IsLocked(); bool Verify(); bool...
19.073529
54
0.687741
[ "vector" ]
621c5017caf69adaa63a60a329a95718779859f8
2,723
cc
C++
Calibration/Tools/src/BlockSolver.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
Calibration/Tools/src/BlockSolver.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
Calibration/Tools/src/BlockSolver.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
/** */ #include "Calibration/Tools/interface/BlockSolver.h" #include "FWCore/MessageLogger/interface/MessageLogger.h" int BlockSolver::operator()(const CLHEP::HepMatrix& matrix, const CLHEP::HepVector& vector, CLHEP::HepVector& result) { double threshold = matrix.trace() / static_cast<double>(matrix.num_row()); s...
32.035294
119
0.565185
[ "vector" ]
6220d1db718a5b648a948923e0f1fa5a15660142
2,720
hpp
C++
coding/arithmetic_codec.hpp
bowlofstew/omim
8045157c95244aa8f862d47324df42a19b87e335
[ "Apache-2.0" ]
1
2019-01-11T05:02:05.000Z
2019-01-11T05:02:05.000Z
coding/arithmetic_codec.hpp
bowlofstew/omim
8045157c95244aa8f862d47324df42a19b87e335
[ "Apache-2.0" ]
null
null
null
coding/arithmetic_codec.hpp
bowlofstew/omim
8045157c95244aa8f862d47324df42a19b87e335
[ "Apache-2.0" ]
1
2019-08-09T21:21:09.000Z
2019-08-09T21:21:09.000Z
// Author: Artyom. // Arithmetic Encoder/Decoder. // See http://en.wikipedia.org/wiki/Arithmetic_coding // Usage: // // Compute freqs table by counting number of occurancies of each symbol. // // Freqs table should have size equal to number of symbols in the alphabet. // // Convert freqs table to distr table. // ...
35.324675
90
0.740074
[ "vector" ]
6224eff3b3d21c888a6e1fc2328055cfbd1f0cc6
8,235
cpp
C++
libinendi/tests/correlation.cpp
inendi-inspector/inspector
9b9a00222d8a73cb0817ca56790ee9155db61cc4
[ "MIT" ]
null
null
null
libinendi/tests/correlation.cpp
inendi-inspector/inspector
9b9a00222d8a73cb0817ca56790ee9155db61cc4
[ "MIT" ]
null
null
null
libinendi/tests/correlation.cpp
inendi-inspector/inspector
9b9a00222d8a73cb0817ca56790ee9155db61cc4
[ "MIT" ]
null
null
null
// // MIT License // // © ESI Group, 2015 // // Permission is hereby granted, free of charge, to any person obtaining a copy of // this software and associated documentation files (the "Software"), to deal in // the Software without restriction, including without limitation the rights to // use, copy, modify, merge, pu...
38.125
134
0.746084
[ "vector" ]
622665f5ca7f5c295a81d99a8a38f6defecb7bf6
1,077
cpp
C++
Suffix Automata/suffix-automata.cpp
Kavaliro98/competitive-programming-codes
af9c4c58d8abbba7e8bcaf707da2cabc2a941eeb
[ "MIT" ]
null
null
null
Suffix Automata/suffix-automata.cpp
Kavaliro98/competitive-programming-codes
af9c4c58d8abbba7e8bcaf707da2cabc2a941eeb
[ "MIT" ]
null
null
null
Suffix Automata/suffix-automata.cpp
Kavaliro98/competitive-programming-codes
af9c4c58d8abbba7e8bcaf707da2cabc2a941eeb
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; struct SuffixAutomata { #define state(x) tie(len[x], lnk[x], org[x], nxt[x]) vector<int> len, lnk, org; vector<map<char,int>> nxt; int sz, last; SuffixAutomata(int n) { sz = last = 0; len = lnk = org = vector<int>(n<<1); nxt.resize(n<<1); ...
23.413043
67
0.456825
[ "vector" ]
622b1bea09ae6428111e17b94d8c5a68c3f2e2dd
2,879
cpp
C++
Practice/2019.5.18/LOJ3046.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
4
2017-10-31T14:25:18.000Z
2018-06-10T16:10:17.000Z
Practice/2019.5.18/LOJ3046.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
null
null
null
Practice/2019.5.18/LOJ3046.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
null
null
null
#include<cstdio> #include<cstdlib> #include<cstring> #include<algorithm> #include<vector> #include<iostream> using namespace std; #define pb push_back const int maxN=203000; const int Bit=20; class SegmentData { public: int ls,rs,cnt,sum,l,r; }; int n,m,Lg[maxN]; vector<int> T[maxN]; vector<int> Del[maxN]; int dfnc...
22.669291
125
0.549496
[ "vector" ]
622c81c4730025a3bbf98114a787734906157136
13,890
cpp
C++
SOURCES/falclib/falcent.cpp
IsraelyFlightSimulator/Negev-Storm
86de63e195577339f6e4a94198bedd31833a8be8
[ "Unlicense" ]
1
2021-02-19T06:06:31.000Z
2021-02-19T06:06:31.000Z
src/falclib/falcent.cpp
markbb1957/FFalconSource
07b12e2c41a93fa3a95b912a2433a8056de5bc4d
[ "BSD-2-Clause" ]
null
null
null
src/falclib/falcent.cpp
markbb1957/FFalconSource
07b12e2c41a93fa3a95b912a2433a8056de5bc4d
[ "BSD-2-Clause" ]
2
2019-08-20T13:35:13.000Z
2021-04-24T07:32:04.000Z
#include <string.h> #include "f4vu.h" #include "ClassTbl.h" #include "sim/include/simbase.h" #include "sim/include/aircrft.h" #include "campbase.h" #include "falcmesg.h" #include "FalcSess.h" #include "FalcEnt.h" #include "Find.h" #include "Campaign.h" #include "MsgInc/CampDirtyDataMsg.h" #include "MsgInc/SimDirtyDataM...
26.158192
120
0.631246
[ "vector" ]
62322d9af7a19b21046639e3a2c18d560f92d901
51,735
cpp
C++
runtime/device/device.cpp
JustinTArthur/ROCm-OpenCL-Runtime
3c0e33b125b13cc0b33e935d4ebf610bc3e3a677
[ "MIT" ]
1
2021-11-11T04:11:32.000Z
2021-11-11T04:11:32.000Z
runtime/device/device.cpp
JustinTArthur/ROCm-OpenCL-Runtime
3c0e33b125b13cc0b33e935d4ebf610bc3e3a677
[ "MIT" ]
null
null
null
runtime/device/device.cpp
JustinTArthur/ROCm-OpenCL-Runtime
3c0e33b125b13cc0b33e935d4ebf610bc3e3a677
[ "MIT" ]
1
2021-11-11T04:11:26.000Z
2021-11-11T04:11:26.000Z
// // Copyright (c) 2008 Advanced Micro Devices, Inc. All rights reserved. // #include "device/device.hpp" #include "thread/atomic.hpp" #include "thread/monitor.hpp" #if defined(WITH_HSA_DEVICE) #include "device/rocm/rocdevice.hpp" extern amd::AppProfile* rocCreateAppProfile(); #endif #if defined(WITH_CPU_DEVICE) #i...
29.613623
100
0.640959
[ "object", "vector" ]
6233b35a1910af15cfbfc0ad8c77a740a086ccf8
8,505
cpp
C++
src/autowiring/test/ContextEnumeratorTest.cpp
CaseyCarter/autowiring
48e95a71308318c8ffb7ed1348e034fd9110f70c
[ "Apache-2.0" ]
87
2015-01-18T00:43:06.000Z
2022-02-11T17:40:50.000Z
src/autowiring/test/ContextEnumeratorTest.cpp
CaseyCarter/autowiring
48e95a71308318c8ffb7ed1348e034fd9110f70c
[ "Apache-2.0" ]
274
2015-01-03T04:50:49.000Z
2021-03-08T09:01:09.000Z
src/autowiring/test/ContextEnumeratorTest.cpp
CaseyCarter/autowiring
48e95a71308318c8ffb7ed1348e034fd9110f70c
[ "Apache-2.0" ]
15
2015-09-30T20:58:43.000Z
2020-12-19T21:24:56.000Z
// Copyright (C) 2012-2018 Leap Motion, Inc. All rights reserved. #include "stdafx.h" #include <autowiring/ContextEnumerator.h> #include <algorithm> #include <random> #include MEMORY_HEADER #include STL_UNORDERED_SET class ContextEnumeratorTest: public testing::Test {}; TEST_F(ContextEnumeratorTest, DegenerateEnume...
35.886076
160
0.742152
[ "vector" ]
9a8e5faf2f17495d359080c6bf3544bca2005413
2,837
cxx
C++
main/xmloff/source/style/SinglePropertySetInfoCache.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/xmloff/source/style/SinglePropertySetInfoCache.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/xmloff/source/style/SinglePropertySetInfoCache.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
32.988372
70
0.685231
[ "object" ]
9a992e835d004f1d712afb787b675997fa607843
9,175
cpp
C++
Task1/BayerPattern.cpp
AlexeyZhuravlev/ABBYY-ImageProcessing
3f07642eab194b66fa271795be06c2b29f1aa8de
[ "MIT" ]
null
null
null
Task1/BayerPattern.cpp
AlexeyZhuravlev/ABBYY-ImageProcessing
3f07642eab194b66fa271795be06c2b29f1aa8de
[ "MIT" ]
null
null
null
Task1/BayerPattern.cpp
AlexeyZhuravlev/ABBYY-ImageProcessing
3f07642eab194b66fa271795be06c2b29f1aa8de
[ "MIT" ]
null
null
null
#include <windows.h> #include <gdiplus.h> #include <stdlib.h> #include <string.h> #include <stdio.h> #include <tchar.h> #include <time.h> #include <vector> #include <tuple> #include <array> using namespace Gdiplus; typedef std::vector<BYTE> CRow; typedef std::vector<CRow> CMatrix; enum TChannelName {...
25.068306
133
0.58703
[ "vector" ]
9a9ddbbfe446e433e3272c599ae538019ba37311
18,593
cc
C++
chrome/browser/web_resource/notification_promo.cc
Crystalnix/BitPop
1fae4ecfb965e163f6ce154b3988b3181678742a
[ "BSD-3-Clause" ]
7
2015-05-20T22:41:35.000Z
2021-11-18T19:07:59.000Z
chrome/browser/web_resource/notification_promo.cc
Crystalnix/BitPop
1fae4ecfb965e163f6ce154b3988b3181678742a
[ "BSD-3-Clause" ]
1
2015-02-02T06:55:08.000Z
2016-01-20T06:11:59.000Z
chrome/browser/web_resource/notification_promo.cc
Crystalnix/BitPop
1fae4ecfb965e163f6ce154b3988b3181678742a
[ "BSD-3-Clause" ]
2
2015-12-08T00:37:41.000Z
2017-04-06T05:34:05.000Z
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/web_resource/notification_promo.h" #include <cmath> #include <vector> #include "base/bind.h" #include "base/rand_util.h" #i...
34.753271
80
0.683053
[ "vector" ]
9aa4e6d9310a461c39923d3347e247fdaea86999
1,100
cpp
C++
leetcode.com/0457 Circular Array Loop/main.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
1
2020-08-20T11:02:49.000Z
2020-08-20T11:02:49.000Z
leetcode.com/0457 Circular Array Loop/main.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
null
null
null
leetcode.com/0457 Circular Array Loop/main.cpp
sky-bro/AC
29bfa3f13994612887e18065fa6e854b9a29633d
[ "MIT" ]
1
2022-01-01T23:23:13.000Z
2022-01-01T23:23:13.000Z
#include <iostream> #include <vector> using namespace std; // ref: // https://leetcode.com/problems/circular-array-loop/discuss/94148/Java-SlowFast-Pointer-Solution class Solution { public: bool circularArrayLoop(vector<int>& nums) { int n = nums.size(); #define Next(i) ((i + n + nums[i] % n) % n) for (int...
24.444444
97
0.495455
[ "vector" ]
9aa8ba0d07ad96997a973b1f3f8cb32686ca5b57
1,313
cpp
C++
src/sword_to_offer/sword_q15.cpp
jielyu/leetcode
ce5327f5e5ceaa867ea2ddd58a93bfb02b427810
[ "MIT" ]
9
2020-04-09T12:37:50.000Z
2021-04-01T14:01:14.000Z
src/sword_to_offer/sword_q15.cpp
jielyu/leetcode
ce5327f5e5ceaa867ea2ddd58a93bfb02b427810
[ "MIT" ]
3
2020-05-05T02:43:54.000Z
2020-05-20T11:12:16.000Z
src/sword_to_offer/sword_q15.cpp
jielyu/leetcode
ce5327f5e5ceaa867ea2ddd58a93bfb02b427810
[ "MIT" ]
5
2020-04-17T02:32:10.000Z
2020-05-20T10:12:26.000Z
/* #剑指Offer# Q15 链表中的倒数第k个节点 输入一个链表,输出链表中的倒数第k个节点。从1开始计数,比如倒数第1个就是最后一个节点。 */ #include "leetcode.h" namespace sword_q15 { template<typename T> bool run_testcases() { T slt; { vector<int> arr {1,2,3,4,5,6}; auto head = create_list(arr); auto ret = slt.lastKNode(head, 3); delet...
21.177419
66
0.522468
[ "vector" ]
9aafbc09f1113720d2fbe819977fc01f8024eedd
2,551
cc
C++
integrations/tensorflow/compiler/dialect/tf_strings/conversion/convert_flow_to_hal.cc
rise-lang/iree
46ad3fe392d38ce3df6eff7826cc1ab331a40b72
[ "Apache-2.0" ]
2
2021-01-03T04:45:05.000Z
2021-01-03T04:45:08.000Z
integrations/tensorflow/compiler/dialect/tf_strings/conversion/convert_flow_to_hal.cc
BernhardRiemann/iree
471349762b316f7d6b83eb5f9089255d78052758
[ "Apache-2.0" ]
null
null
null
integrations/tensorflow/compiler/dialect/tf_strings/conversion/convert_flow_to_hal.cc
BernhardRiemann/iree
471349762b316f7d6b83eb5f9089255d78052758
[ "Apache-2.0" ]
1
2021-01-29T09:30:09.000Z
2021-01-29T09:30:09.000Z
// Copyright 2020 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...
46.381818
95
0.73383
[ "shape" ]
9ab4aa7e896f2cc591ab821998c7db192c9b61c4
1,330
hpp
C++
lizy1.kurisu/include/lizy1/impl/kurisu/forward_std.hpp
li-zhong-yuan/lizy1.kurisu
dba9136bfc966e2e81bee2b469ae4cc3a8157ca4
[ "MIT" ]
null
null
null
lizy1.kurisu/include/lizy1/impl/kurisu/forward_std.hpp
li-zhong-yuan/lizy1.kurisu
dba9136bfc966e2e81bee2b469ae4cc3a8157ca4
[ "MIT" ]
null
null
null
lizy1.kurisu/include/lizy1/impl/kurisu/forward_std.hpp
li-zhong-yuan/lizy1.kurisu
dba9136bfc966e2e81bee2b469ae4cc3a8157ca4
[ "MIT" ]
null
null
null
/// <exception> namespace std { class exception; } /// <memory> namespace std { template<class T> class allocator; } /// <variant> namespace std { template<class... Ts> class variant; template<class T> struct variant_size; } /// <string> namespace std { template<class charT> struct char_traits...
16.625
90
0.678195
[ "vector" ]
9abae6415715814fc4b4021107ef9553f6db2f68
14,734
cpp
C++
amgcl.cpp
ddemidov/fortran_amg_omp_ocl
9213b93ac4bb303826a5900bb356cede6b282104
[ "MIT" ]
9
2017-10-22T11:56:49.000Z
2019-12-19T10:17:02.000Z
amgcl.cpp
ddemidov/fortran_amg_omp_ocl
9213b93ac4bb303826a5900bb356cede6b282104
[ "MIT" ]
null
null
null
amgcl.cpp
ddemidov/fortran_amg_omp_ocl
9213b93ac4bb303826a5900bb356cede6b282104
[ "MIT" ]
null
null
null
/* The MIT License Copyright (c) 2017-2019 Denis Demidov <dennis.demidov@gmail.com> 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...
31.084388
95
0.541808
[ "vector" ]
9abc2966e630afd5e40cc01157ee343a69f0d322
5,522
cpp
C++
LizardGraphics/LRectangleShape.cpp
GercogKaban/lizardgraphics
7d161c42b04529aea43c6afac6cce31e12537a7e
[ "MIT" ]
2
2020-05-04T11:38:39.000Z
2020-05-04T11:43:31.000Z
LizardGraphics/LRectangleShape.cpp
GercogKaban/lizardgraphics
7d161c42b04529aea43c6afac6cce31e12537a7e
[ "MIT" ]
45
2020-05-15T19:13:07.000Z
2021-10-31T21:10:39.000Z
LizardGraphics/LRectangleShape.cpp
GercogKaban/lizardgraphics
7d161c42b04529aea43c6afac6cce31e12537a7e
[ "MIT" ]
null
null
null
#include "pch.h" #include "LRectangleShape.h" #include "LRectangleBuffer.h" #include "Lshaders.h" #include "LApp.h" #include "LLogger.h" namespace LGraphics { LRectangleShape::LRectangleShape(LApp* app, const char* path, bool isInterfaceObj) :LShape(app,path) { init(app, isInterfaceObj); ...
36.328947
158
0.632923
[ "model" ]
9ac44d6bc3f26a5520fe06bb952abbf3bf217c56
14,776
cpp
C++
contracts/wawaka/common/contract/attestation.cpp
marcelamelara/private-data-objects
be6841715865d4733b6555f416c56dde8839849e
[ "Apache-2.0" ]
null
null
null
contracts/wawaka/common/contract/attestation.cpp
marcelamelara/private-data-objects
be6841715865d4733b6555f416c56dde8839849e
[ "Apache-2.0" ]
null
null
null
contracts/wawaka/common/contract/attestation.cpp
marcelamelara/private-data-objects
be6841715865d4733b6555f416c56dde8839849e
[ "Apache-2.0" ]
null
null
null
/* Copyright 2019 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
39.402667
100
0.709529
[ "object" ]
9ac71f3e982258375c2d8c96b582ac3731bcab94
8,130
cpp
C++
tree_detection/src/TreeDetector.cpp
leggedrobotics/tree_detection
eaec3a5909ba95743854cb1b7a31c748a161a8fe
[ "BSD-3-Clause" ]
24
2021-08-31T08:22:14.000Z
2022-03-31T15:53:43.000Z
tree_detection/src/TreeDetector.cpp
leggedrobotics/tree_detection
eaec3a5909ba95743854cb1b7a31c748a161a8fe
[ "BSD-3-Clause" ]
3
2022-02-07T15:23:00.000Z
2022-02-23T14:45:54.000Z
tree_detection/src/TreeDetector.cpp
leggedrobotics/tree_detection
eaec3a5909ba95743854cb1b7a31c748a161a8fe
[ "BSD-3-Clause" ]
7
2021-11-27T06:43:45.000Z
2022-03-27T12:44:58.000Z
#include "tree_detection/TreeDetector.hpp" #include <pcl/common/common.h> #include <pcl/common/pca.h> #include <pcl/filters/crop_box.h> #include <pcl/kdtree/kdtree.h> #include <pcl/segmentation/extract_clusters.h> namespace tree_detection { void TreeDetector::setTreeDetectionParameters(const TreeDetectionParameters ...
34.449153
117
0.748462
[ "vector" ]
9ac7f2eb7cd63dc86a937f4b46433180d0fca81d
10,520
cpp
C++
src/iat_record.cpp
darkise/ROS-Audio
886020ff04f43c24138d3b3e1ffd5a22a8dfa088
[ "Apache-2.0" ]
1
2019-10-25T12:35:07.000Z
2019-10-25T12:35:07.000Z
src/iat_record.cpp
darkise/ROS-Audio
886020ff04f43c24138d3b3e1ffd5a22a8dfa088
[ "Apache-2.0" ]
null
null
null
src/iat_record.cpp
darkise/ROS-Audio
886020ff04f43c24138d3b3e1ffd5a22a8dfa088
[ "Apache-2.0" ]
2
2019-04-24T07:49:30.000Z
2019-06-26T05:47:07.000Z
/* * 语音听写(iFly Auto Transform)技术能够实时地将语音转换成对应的文字。 */ /* Copyright 2018 Alex Wang 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 ...
26.169154
119
0.635361
[ "transform" ]
9ac97ce255ed65995c61471927067dd66ad0d627
1,948
cpp
C++
algorithm/trie.cpp
nnmmfftt/contest
71947ce7edd6f1fada27d4ef8faeece903efaa19
[ "MIT" ]
null
null
null
algorithm/trie.cpp
nnmmfftt/contest
71947ce7edd6f1fada27d4ef8faeece903efaa19
[ "MIT" ]
null
null
null
algorithm/trie.cpp
nnmmfftt/contest
71947ce7edd6f1fada27d4ef8faeece903efaa19
[ "MIT" ]
null
null
null
#include<stdlib.h> #include<iostream> #include<vector> using namespace std; typedef struct trie { int val; trie* next[26]; trie() { val = 0; memset(next, 0, sizeof(next)); } }Trie; int trie_insert_str(Trie *root, string s) { int len = s.size(); if (len == 0) return 0; for (int i = 0; i < len; ++i) { if ...
18.912621
63
0.531314
[ "vector" ]
9ad17e52680c75eaab1d0de7d29e5c86df23f1d2
15,294
cpp
C++
readfile.cpp
GoogleBot42/CS253_HW10
7574aa9788918f1c6714c989dcca407e960d9604
[ "MIT" ]
null
null
null
readfile.cpp
GoogleBot42/CS253_HW10
7574aa9788918f1c6714c989dcca407e960d9604
[ "MIT" ]
null
null
null
readfile.cpp
GoogleBot42/CS253_HW10
7574aa9788918f1c6714c989dcca407e960d9604
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <vector> #include <sstream> #include <string> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <sys/mman.h> #include <unistd.h> #include "readfile.h" using std::cerr; using std::endl; using std::vector; using std::string; void readList(string f...
28.165746
112
0.575258
[ "vector" ]
9ad8cd687153a1e43fde4c11261fca05ca2dc287
7,693
cpp
C++
test/qt/remote_device/messages/test_RemoteMessage.cpp
misery/AusweisApp2
dab96eb2bdd8a132023964d4aeecc7069d12a244
[ "Apache-2.0" ]
null
null
null
test/qt/remote_device/messages/test_RemoteMessage.cpp
misery/AusweisApp2
dab96eb2bdd8a132023964d4aeecc7069d12a244
[ "Apache-2.0" ]
null
null
null
test/qt/remote_device/messages/test_RemoteMessage.cpp
misery/AusweisApp2
dab96eb2bdd8a132023964d4aeecc7069d12a244
[ "Apache-2.0" ]
null
null
null
/*! * \copyright Copyright (c) 2018 Governikus GmbH & Co. KG, Germany */ #include "messages/RemoteMessage.h" #include "LogHandler.h" #include <QtTest> using namespace governikus; class test_RemoteMessage : public QObject { Q_OBJECT private: void checkMissingContextHandle(RemoteCardMessageType type) { ...
27.772563
98
0.658651
[ "object" ]
9ad8f35609e714ba785fae798c66d10403d09e4d
4,326
cc
C++
tests/utils/test_compressor.cc
dvuckovic/eckit
58a918e7be8fe073f37683abf639374ab1ad3e4f
[ "Apache-2.0" ]
10
2018-03-01T22:11:10.000Z
2021-05-17T14:13:58.000Z
tests/utils/test_compressor.cc
dvuckovic/eckit
58a918e7be8fe073f37683abf639374ab1ad3e4f
[ "Apache-2.0" ]
43
2018-04-11T11:13:44.000Z
2022-03-31T15:28:03.000Z
tests/utils/test_compressor.cc
dvuckovic/eckit
58a918e7be8fe073f37683abf639374ab1ad3e4f
[ "Apache-2.0" ]
20
2018-03-07T21:36:50.000Z
2022-03-30T13:25:25.000Z
/* * (C) Copyright 1996- ECMWF. * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. * In applying this licence, ECMWF does not waive the privileges and immunities * granted to it by virtue of its status as an interg...
33.022901
120
0.638234
[ "vector" ]
9adb49db1d3acd9be67c69061e8e973d0fa952d4
2,974
cc
C++
sample.cc
r-lyeh/metatracker-wip
0d67bc52e8b60c250867f9cb0ec249d499bbbe6a
[ "Zlib" ]
null
null
null
sample.cc
r-lyeh/metatracker-wip
0d67bc52e8b60c250867f9cb0ec249d499bbbe6a
[ "Zlib" ]
null
null
null
sample.cc
r-lyeh/metatracker-wip
0d67bc52e8b60c250867f9cb0ec249d499bbbe6a
[ "Zlib" ]
null
null
null
// simple sync app #include <iostream> #include <thread> #include <vector> #include <string> #include <iostream> #include <sstream> std::vector<std::string> split( const std::string &input, char sep ) { std::istringstream ss(input); std::vector<std::string> words; std::string word; while( std::getlin...
31.638298
101
0.633154
[ "vector" ]
9ade8cc9887adc14ea86d5655a4a62d1ccaf82b5
6,995
cpp
C++
discoverer/discoverer.cpp
KOLANICH/HydrArgs
d3ccbd6f03e2e70c3c3d00856dc16b7240b802f3
[ "Unlicense" ]
null
null
null
discoverer/discoverer.cpp
KOLANICH/HydrArgs
d3ccbd6f03e2e70c3c3d00856dc16b7240b802f3
[ "Unlicense" ]
null
null
null
discoverer/discoverer.cpp
KOLANICH/HydrArgs
d3ccbd6f03e2e70c3c3d00856dc16b7240b802f3
[ "Unlicense" ]
null
null
null
#include <algorithm> #include <filesystem> #include <iostream> #include <unordered_map> #include <whereami.h> #include <cassert> #include <HydrArgs/HydrArgs.hpp> using namespace HydrArgs; #define USE_DYLIB #ifndef USE_DYLIB #include <function_loader/function_loader.hpp> using DynLibT = burda::function_loader::fu...
33.151659
233
0.733095
[ "vector" ]
9adf47b61a1ecc7529062bb6b4544e6f84269e94
4,475
cpp
C++
src/utils.cpp
nickerso/get-model-server
9301b10624885fdf2e10148bd6616e48470222a1
[ "Apache-2.0" ]
null
null
null
src/utils.cpp
nickerso/get-model-server
9301b10624885fdf2e10148bd6616e48470222a1
[ "Apache-2.0" ]
null
null
null
src/utils.cpp
nickerso/get-model-server
9301b10624885fdf2e10148bd6616e48470222a1
[ "Apache-2.0" ]
null
null
null
#include <curl/curl.h> #include <string> #include <vector> #include <sstream> #include <iostream> #include <libxml/uri.h> #include <json/json.h> #include <sedml/SedTypes.h> #include "utils.hpp" class CurlData { public: CurlData() { std::cout << "Creating a persistent CurlData handle" << std::endl; ...
30.650685
115
0.559106
[ "vector" ]
9ae0267701d6ac509f4b3528e8bb102d2451aaff
4,725
hpp
C++
include/SSVUtils/Core/String/Internal/SplitHelper.hpp
SuperV1234/SSVUtils
a0e801b180bf65d7b3be4ea1e15b840c52e92efc
[ "AFL-3.0" ]
55
2015-01-27T09:45:01.000Z
2020-05-18T18:26:44.000Z
include/SSVUtils/Core/String/Internal/SplitHelper.hpp
vittorioromeo/SSVUtils
dafa2499bcd350c3bfdbfb84d522e022c3513a93
[ "AFL-3.0" ]
10
2015-01-12T20:08:59.000Z
2020-08-29T23:40:59.000Z
include/SSVUtils/Core/String/Internal/SplitHelper.hpp
vittorioromeo/SSVUtils
dafa2499bcd350c3bfdbfb84d522e022c3513a93
[ "AFL-3.0" ]
8
2015-02-24T04:30:50.000Z
2021-02-04T04:37:58.000Z
// Copyright (c) 2013-2015 Vittorio Romeo // License: Academic Free License ("AFL") v. 3.0 // AFL License page: http://opensource.org/licenses/AFL-3.0 #ifndef SSVU_CORE_STRING_INTERNAL_SPLITHELPER #define SSVU_CORE_STRING_INTERNAL_SPLITHELPER #include <string> #include <vector> namespace ssvu { namespace Impl { usin...
29.905063
80
0.635767
[ "vector" ]
9ae1724a161fb4d6fb7187a5a8288c231c877ddf
2,198
hpp
C++
ablateLibrary/domain/fieldDescription.hpp
mtmcgurn-buffalo/ablate
35ee9a30277908775a61d78462ea9724ee631a9b
[ "BSD-3-Clause" ]
null
null
null
ablateLibrary/domain/fieldDescription.hpp
mtmcgurn-buffalo/ablate
35ee9a30277908775a61d78462ea9724ee631a9b
[ "BSD-3-Clause" ]
8
2020-12-28T16:05:56.000Z
2021-01-12T14:36:22.000Z
ablateLibrary/domain/fieldDescription.hpp
mtmcgurn-buffalo/ablate
35ee9a30277908775a61d78462ea9724ee631a9b
[ "BSD-3-Clause" ]
1
2021-12-14T22:39:13.000Z
2021-12-14T22:39:13.000Z
#ifndef ABLATELIBRARY_FIELDDESCRIPTION_HPP #define ABLATELIBRARY_FIELDDESCRIPTION_HPP #include <petsc.h> #include <memory> #include <parameters/parameters.hpp> #include <string> #include <vector> #include "domain/field.hpp" #include "domain/region.hpp" #include "fieldDescriptor.hpp" namespace ablate::domain { /** *...
32.323529
173
0.712466
[ "vector" ]
9aee8e5e04b7cc1da4895e32df0d5f5706c343fa
5,903
cc
C++
tensorflow/compiler/mlir/tensorflow/utils/tf_xla_mlir_translate.cc
CaptainDuke/tensorflow
ae2d518569f1f74d71642c4bedadecbb523fac4d
[ "Apache-2.0" ]
null
null
null
tensorflow/compiler/mlir/tensorflow/utils/tf_xla_mlir_translate.cc
CaptainDuke/tensorflow
ae2d518569f1f74d71642c4bedadecbb523fac4d
[ "Apache-2.0" ]
null
null
null
tensorflow/compiler/mlir/tensorflow/utils/tf_xla_mlir_translate.cc
CaptainDuke/tensorflow
ae2d518569f1f74d71642c4bedadecbb523fac4d
[ "Apache-2.0" ]
null
null
null
/* Copyright 2020 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
40.156463
80
0.726919
[ "shape", "vector" ]
9af026dab33b55dbbefeb60c97dde0741329e0b2
7,244
cpp
C++
dlls/weapons/CSniperRifle.cpp
Admer456/halflife-dnf01
a3cacddb5ff3dedfea2d157c72711ba1df429dac
[ "Unlicense" ]
null
null
null
dlls/weapons/CSniperRifle.cpp
Admer456/halflife-dnf01
a3cacddb5ff3dedfea2d157c72711ba1df429dac
[ "Unlicense" ]
null
null
null
dlls/weapons/CSniperRifle.cpp
Admer456/halflife-dnf01
a3cacddb5ff3dedfea2d157c72711ba1df429dac
[ "Unlicense" ]
null
null
null
/*** * * Copyright (c) 1996-2001, Valve LLC. All rights reserved. * * This product contains software technology licensed from Id * Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc. * All Rights Reserved. * * Use, distribution, and modification of this source code and/or resulting * object ...
23.596091
125
0.710795
[ "object", "vector" ]
9afafe0a532aee580ebcb5532779099608c23612
10,613
cc
C++
chrome/browser/chromeos/tab_closeable_state_watcher.cc
Scopetta197/chromium
b7bf8e39baadfd9089de2ebdc0c5d982de4a9820
[ "BSD-3-Clause" ]
212
2015-01-31T11:55:58.000Z
2022-02-22T06:35:11.000Z
chrome/browser/chromeos/tab_closeable_state_watcher.cc
Scopetta197/chromium
b7bf8e39baadfd9089de2ebdc0c5d982de4a9820
[ "BSD-3-Clause" ]
5
2015-03-27T14:29:23.000Z
2019-09-25T13:23:12.000Z
chrome/browser/chromeos/tab_closeable_state_watcher.cc
Scopetta197/chromium
b7bf8e39baadfd9089de2ebdc0c5d982de4a9820
[ "BSD-3-Clause" ]
221
2015-01-07T06:21:24.000Z
2022-02-11T02:51:12.000Z
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/chromeos/tab_closeable_state_watcher.h" #include "base/command_line.h" #include "chrome/browser/browser_shutdown.h" #include...
34.016026
80
0.691699
[ "vector" ]
9afe4bb85372ca1db5795ab4140dfe430ad938bb
13,894
hpp
C++
ThirdParty/oglplus-develop/include/oglplus/config.hpp
vif/3D-STG
721402e76a9b9b99b88ba3eb06beb6abb17a9254
[ "MIT" ]
null
null
null
ThirdParty/oglplus-develop/include/oglplus/config.hpp
vif/3D-STG
721402e76a9b9b99b88ba3eb06beb6abb17a9254
[ "MIT" ]
null
null
null
ThirdParty/oglplus-develop/include/oglplus/config.hpp
vif/3D-STG
721402e76a9b9b99b88ba3eb06beb6abb17a9254
[ "MIT" ]
null
null
null
/** * @file oglplus/config.hpp * @brief Compile-time configuration options * * @author Matus Chochlik * * Copyright 2010-2013 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) */ #pragma ...
31.013393
83
0.778466
[ "object" ]
b104c6a7c6b65a1eab88813adb5696f084d55835
3,244
hpp
C++
src/framework/shared/inc/private/um/fxinterruptthreadpoolum.hpp
IT-Enthusiast-Nepal/Windows-Driver-Frameworks
bfee6134f30f92a90dbf96e98d54582ecb993996
[ "MIT" ]
994
2015-03-18T21:37:07.000Z
2019-04-26T04:04:14.000Z
src/framework/shared/inc/private/um/fxinterruptthreadpoolum.hpp
IT-Enthusiast-Nepal/Windows-Driver-Frameworks
bfee6134f30f92a90dbf96e98d54582ecb993996
[ "MIT" ]
13
2019-06-13T15:58:03.000Z
2022-02-18T22:53:35.000Z
src/framework/shared/inc/private/um/fxinterruptthreadpoolum.hpp
IT-Enthusiast-Nepal/Windows-Driver-Frameworks
bfee6134f30f92a90dbf96e98d54582ecb993996
[ "MIT" ]
350
2015-03-19T04:29:46.000Z
2019-05-05T23:26:50.000Z
/*++ Copyright (c) Microsoft. All rights reserved. Module Name: FxInterruptThreadpoolUm.hpp Abstract: This file contains the class definition for the threadpool for interrupt object. Author: Environment: User mode only Revision History: --*/ #pragma once #define MINIMUM_THREAD_COUNT_DEFAU...
16.22
84
0.59402
[ "object" ]
b1096ac10187e69084851042686dedafae167f14
4,068
cpp
C++
src/VideoNode.cpp
oskude/radiance
006e32947513570638f551022faccffd8d86a33c
[ "MIT" ]
143
2016-05-02T22:08:13.000Z
2022-03-31T21:56:12.000Z
src/VideoNode.cpp
oskude/radiance
006e32947513570638f551022faccffd8d86a33c
[ "MIT" ]
95
2016-05-05T01:43:51.000Z
2021-10-19T19:14:53.000Z
src/VideoNode.cpp
oskude/radiance
006e32947513570638f551022faccffd8d86a33c
[ "MIT" ]
19
2016-07-18T07:35:21.000Z
2022-01-10T17:19:16.000Z
#include "VideoNode.h" #include "Model.h" #include <QtQml> VideoNode::VideoNode(Context *context) : m_context(context) { } int VideoNode::inputCount() { QMutexLocker locker(&m_stateLock); return m_inputCount; } void VideoNode::setInputCount(int value) { bool changed = false; { QMutexLocke...
24.214286
104
0.627581
[ "model" ]
b10b45ebb62f5b1c28f444361444d1915121652f
13,998
hpp
C++
vlc_linux/vlc-3.0.16/modules/demux/mkv/demux.hpp
Brook1711/biubiu_Qt6
5c4d22a1d1beef63bc6c7738dce6c477c4642803
[ "MIT" ]
null
null
null
vlc_linux/vlc-3.0.16/modules/demux/mkv/demux.hpp
Brook1711/biubiu_Qt6
5c4d22a1d1beef63bc6c7738dce6c477c4642803
[ "MIT" ]
null
null
null
vlc_linux/vlc-3.0.16/modules/demux/mkv/demux.hpp
Brook1711/biubiu_Qt6
5c4d22a1d1beef63bc6c7738dce6c477c4642803
[ "MIT" ]
null
null
null
/***************************************************************************** * demux.hpp : matroska demuxer ***************************************************************************** * Copyright (C) 2003-2004 VLC authors and VideoLAN * $Id: 314e1066a86fc88a48679f02fb95ee34a5b17b8c $ * * Authors: Laurent Aima...
34.648515
133
0.581583
[ "vector" ]
624185d70aeaa27005ff27d074e3440366c45971
3,143
cpp
C++
extensions/http-curl/tests/C2LogHeartbeatTest.cpp
nandorsoma/nifi-minifi-cpp
182e5b98a390d6073c43ffc88ecf7511ad0d3ff5
[ "Apache-2.0" ]
null
null
null
extensions/http-curl/tests/C2LogHeartbeatTest.cpp
nandorsoma/nifi-minifi-cpp
182e5b98a390d6073c43ffc88ecf7511ad0d3ff5
[ "Apache-2.0" ]
null
null
null
extensions/http-curl/tests/C2LogHeartbeatTest.cpp
nandorsoma/nifi-minifi-cpp
182e5b98a390d6073c43ffc88ecf7511ad0d3ff5
[ "Apache-2.0" ]
null
null
null
/** * * 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.2875
142
0.721285
[ "vector", "transform" ]
62523ae878ef63350fa20f64529c24b73121d7ea
3,118
cpp
C++
aoc2016/aoc162302.cpp
jiayuehua/adventOfCode
fd47ddefd286fe94db204a9850110f8d1d74d15b
[ "Unlicense" ]
null
null
null
aoc2016/aoc162302.cpp
jiayuehua/adventOfCode
fd47ddefd286fe94db204a9850110f8d1d74d15b
[ "Unlicense" ]
null
null
null
aoc2016/aoc162302.cpp
jiayuehua/adventOfCode
fd47ddefd286fe94db204a9850110f8d1d74d15b
[ "Unlicense" ]
null
null
null
#include <fstream> #include <sstream> #include <iostream> #include <iomanip> #include <fmt/format.h> #include <string> #include <cctype> #include <unordered_map> #include <map> #include <range/v3/all.hpp> struct Machine { typedef void (Machine::*MemFunc)(const std::string &l, const std::string &r); std::map<std::s...
23.443609
137
0.527261
[ "vector" ]
625f01e877b30060e78a40aca6476c23789f2841
5,086
cpp
C++
src/mempoolmonitor.cpp
LaplaceKorea/blockchain-indexer
f2ae12d3afe68ea599198cfa24334fe71293f97c
[ "MIT" ]
12
2018-02-06T00:54:15.000Z
2021-07-04T21:56:48.000Z
src/mempoolmonitor.cpp
Lattice-Trade/blockchain-indexer
f2ae12d3afe68ea599198cfa24334fe71293f97c
[ "MIT" ]
5
2018-02-05T18:56:12.000Z
2022-01-27T16:09:20.000Z
src/mempoolmonitor.cpp
Lattice-Trade/blockchain-indexer
f2ae12d3afe68ea599198cfa24334fe71293f97c
[ "MIT" ]
8
2018-02-05T19:00:56.000Z
2022-01-27T17:07:10.000Z
/* VTC Blockindexer - A utility to build additional indexes to the Vertcoin blockchain by scanning and indexing the blockfiles downloaded by Vertcoin Core. Copyright (C) 2017 Gert-Jaap Glasbergen This program is free software: you can redistribute it and/or modify it under the terms of the ...
40.047244
130
0.6221
[ "vector" ]