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
08b415ca0bdaea628232bd7f385b7d66d254e256
777
hpp
C++
lib/graph/floyd_warshall.hpp
atree-GitHub/competitive-library
606b444036530b698a6363b1a41cdaa90a7f9578
[ "CC0-1.0" ]
1
2022-01-25T23:03:10.000Z
2022-01-25T23:03:10.000Z
lib/graph/floyd_warshall.hpp
atree4728/competitive-library
1aaa4d2cf9283b9a1a3d4c7f114ff7b867ca2f8b
[ "CC0-1.0" ]
6
2021-10-06T01:17:04.000Z
2022-01-16T14:45:47.000Z
lib/graph/floyd_warshall.hpp
atree-GitHub/competitive-library
606b444036530b698a6363b1a41cdaa90a7f9578
[ "CC0-1.0" ]
null
null
null
#pragma once #include <utility> #include <vector> template<typename T> std::vector<std::vector<T>> floyd_warshall(std::vector<std::vector<std::pair<std::size_t, T>>> const& graph) { using namespace std; const size_t n = size(graph); constexpr T INF = numeric_limits<T>::max(); vector<vector<T>> dp(n, v...
33.782609
131
0.508366
[ "vector" ]
08b99345572bd547ddd396445d67c78b7168b482
4,216
cpp
C++
problems/28-implement-strstr.cpp
ZhongRuoyu/LeetCode
7472ef8b868165b485e5ce0676226bbe95561b73
[ "MIT" ]
1
2022-01-11T06:32:41.000Z
2022-01-11T06:32:41.000Z
problems/28-implement-strstr.cpp
ZhongRuoyu/LeetCode
7472ef8b868165b485e5ce0676226bbe95561b73
[ "MIT" ]
null
null
null
problems/28-implement-strstr.cpp
ZhongRuoyu/LeetCode
7472ef8b868165b485e5ce0676226bbe95561b73
[ "MIT" ]
null
null
null
// Solved 2022-01-11 // Runtime: 9 ms (78.35%) // Memory Usage: 7.2 MB (63.24%) // The Boyer-Moore algorithm (simplified) class Solution { public: int strStr(string haystack, string needle) { int n = haystack.length(); int m = needle.length(); if (m == 0) { return 0; ...
27.025641
72
0.466793
[ "vector" ]
08c5a26f80797e66ef2c53959bda7e08cd9840ac
7,699
cpp
C++
src/Class_CefBrowser.cpp
Sympho8dnm/aborg0c
227b0b6ba4d8506b9170eb59b2d36d58686e8d63
[ "MIT" ]
18
2021-04-06T09:19:50.000Z
2021-07-08T01:33:00.000Z
src/Class_CefBrowser.cpp
Sympho8dnm/aborg0c
227b0b6ba4d8506b9170eb59b2d36d58686e8d63
[ "MIT" ]
2
2021-01-20T16:00:43.000Z
2021-03-08T00:23:25.000Z
src/Class_CefBrowser.cpp
Sympho8dnm/aborg0c
227b0b6ba4d8506b9170eb59b2d36d58686e8d63
[ "MIT" ]
6
2020-10-19T14:43:03.000Z
2021-03-26T04:00:12.000Z
#include "Class_CefBrowser.h" static INT M_CefInitialize = 0; Ck_InitializeEx_ Ck_InitializeEx; Ck_Browser_Create_ Ck_Browser_Create; Ck_Browser_Close_ Ck_Browser_Close; Ck_Browser_LoadUrl_ Ck_Browser_LoadUrl; Ck_Browser_SendMouse_ Ck_Browser_SendMouse; Ck_Browser_SendKey_ Ck_Browser_SendKey; Ck_Browser_Focus_ Ck_Bro...
31.42449
336
0.678789
[ "vector", "model" ]
08c75c345f33985058ca8ad11fbf52f23d4d3005
1,507
cpp
C++
Template/BouncingBall.cpp
ferenc-schultesz/YokosAdventure
951a91e5881134f0fbdf9968cefc350c6bdc16fd
[ "Apache-2.0" ]
null
null
null
Template/BouncingBall.cpp
ferenc-schultesz/YokosAdventure
951a91e5881134f0fbdf9968cefc350c6bdc16fd
[ "Apache-2.0" ]
null
null
null
Template/BouncingBall.cpp
ferenc-schultesz/YokosAdventure
951a91e5881134f0fbdf9968cefc350c6bdc16fd
[ "Apache-2.0" ]
null
null
null
#include "BouncingBall.h" CBouncingBall::CBouncingBall() {} CBouncingBall::~CBouncingBall() {} bool CBouncingBall::Initialise(CVector3f position, CVector3f velocity, CVector3f acceleration, float coefficientOfResitution, float radius) { m_position = position; m_velocity = velocity; m_acceleration = acceleration; ...
20.364865
139
0.729263
[ "render" ]
c092f445095d4a16b415d9ae6426b06fa182d8b6
2,711
hpp
C++
Pods/OpenVPNAdapter/Sources/OpenVPN3/openvpn/common/stop.hpp
TiagoPedroByterev/openvpnclient-ios
a9dafb2a481cc72a3e408535fb7f0aba9f5cfa76
[ "MIT" ]
10
2021-03-29T13:52:06.000Z
2022-03-10T02:24:25.000Z
Pods/OpenVPNAdapter/Sources/OpenVPN3/openvpn/common/stop.hpp
TiagoPedroByterev/openvpnclient-ios
a9dafb2a481cc72a3e408535fb7f0aba9f5cfa76
[ "MIT" ]
1
2019-07-19T02:40:32.000Z
2019-07-19T02:40:32.000Z
Pods/OpenVPNAdapter/Sources/OpenVPN3/openvpn/common/stop.hpp
TiagoPedroByterev/openvpnclient-ios
a9dafb2a481cc72a3e408535fb7f0aba9f5cfa76
[ "MIT" ]
7
2018-07-11T10:37:02.000Z
2019-08-03T10:34:08.000Z
// OpenVPN -- An application to securely tunnel IP networks // over a single port, with support for SSL/TLS-based // session authentication and key exchange, // packet encryption, packet authentication, and // packet compression. // // Copyright (C) 2012-201...
22.591667
82
0.603098
[ "vector" ]
c09963a7c1a4d7677359a62d7ac41c4de761679e
2,031
cpp
C++
isometric-deformation/ext/libigl/include/igl/topological_hole_fill.cpp
jiayaozhang/CS-370-Mesh-Processing
26646d29af8cbc0d461302afa137f12b508b8b1b
[ "MIT" ]
1
2021-02-25T09:35:14.000Z
2021-02-25T09:35:14.000Z
isometric-deformation/ext/libigl/include/igl/topological_hole_fill.cpp
jiayaozhang/CS-370-Mesh-Processing
26646d29af8cbc0d461302afa137f12b508b8b1b
[ "MIT" ]
null
null
null
isometric-deformation/ext/libigl/include/igl/topological_hole_fill.cpp
jiayaozhang/CS-370-Mesh-Processing
26646d29af8cbc0d461302afa137f12b508b8b1b
[ "MIT" ]
2
2020-09-22T13:02:45.000Z
2020-10-08T00:21:36.000Z
// This file is part of libigl, a simple c++ geometry processing library. // // Copyright (C) 2018 Zhongshi Jiang <jiangzs@nyu.edu> // // 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://mozill...
36.927273
470
0.656327
[ "geometry", "vector" ]
c09dedcf397afd68c0d16d0ac504a6b4930d3ff7
656
cpp
C++
Fierce-Engine/src/unitTests/Test_Rendering_Vulkan.cpp
TB989/Fierce-Engine-V1
007d41dec19b461a66595a6c5d4dae5e3ce8880d
[ "Apache-2.0" ]
null
null
null
Fierce-Engine/src/unitTests/Test_Rendering_Vulkan.cpp
TB989/Fierce-Engine-V1
007d41dec19b461a66595a6c5d4dae5e3ce8880d
[ "Apache-2.0" ]
null
null
null
Fierce-Engine/src/unitTests/Test_Rendering_Vulkan.cpp
TB989/Fierce-Engine-V1
007d41dec19b461a66595a6c5d4dae5e3ce8880d
[ "Apache-2.0" ]
null
null
null
#include "UnitTests.h" #include "src/system/logging/Logger.h" Test_Rendering_Vulkan::Test_Rendering_Vulkan() { m_settings.api = VULKAN; m_settings.apiVersionMajor = 1; m_settings.apiVersionMinor = 0; eventSystem->addListener(this, &Test_Rendering_Vulkan::onKeyPressed); } void Test_Rendering_Vulkan::init(World* w...
23.428571
70
0.766768
[ "render" ]
c0a29b2c413c8d07f7a977117c70d1d87c537e48
2,694
cpp
C++
source/Insider/TaskProcess.cpp
fstudio/Phoenix
28a7c6a3932fd7d6fea12770d0aa1e20bc70db7d
[ "MIT" ]
8
2015-01-23T05:41:46.000Z
2019-11-20T05:10:27.000Z
source/Insider/TaskProcess.cpp
fstudio/Phoenix
28a7c6a3932fd7d6fea12770d0aa1e20bc70db7d
[ "MIT" ]
null
null
null
source/Insider/TaskProcess.cpp
fstudio/Phoenix
28a7c6a3932fd7d6fea12770d0aa1e20bc70db7d
[ "MIT" ]
4
2015-05-05T05:15:43.000Z
2020-03-07T11:10:56.000Z
/********************************************************************************************************* * TaskProcess.cpp * Note: Phoenix Task Process * Date: @2015.03 * E-mail:<forcemz@outlook.com> * Copyright (C) 2015 The ForceStudio All Rights Reserved. ************************************************************...
23.840708
134
0.665182
[ "vector" ]
c0a6ca04ed013c54e665f642fe365e2c8d9a81b1
1,260
hpp
C++
search/cuisine_filter.hpp
smartyw/organicmaps
9b10eb9d3ed6833861cef294c2416cc98b15e10d
[ "Apache-2.0" ]
4,879
2015-09-30T10:56:36.000Z
2022-03-31T18:43:03.000Z
search/cuisine_filter.hpp
smartyw/organicmaps
9b10eb9d3ed6833861cef294c2416cc98b15e10d
[ "Apache-2.0" ]
7,549
2015-09-30T10:52:53.000Z
2022-03-31T22:04:22.000Z
search/cuisine_filter.hpp
smartyw/organicmaps
9b10eb9d3ed6833861cef294c2416cc98b15e10d
[ "Apache-2.0" ]
1,493
2015-09-30T10:43:06.000Z
2022-03-21T09:16:49.000Z
#pragma once #include "search/categories_cache.hpp" #include "search/mwm_context.hpp" #include "indexer/mwm_set.hpp" #include <map> #include <memory> #include <utility> #include <vector> class FeatureType; namespace search { namespace cuisine_filter { struct Description { Description() = default; Description(F...
20.655738
86
0.693651
[ "vector" ]
c0ac4477fd7f8892013b4d2ff9db3531cb1c0cfa
2,905
cpp
C++
gse/src/v20191112/model/UpdateRuntimeConfigurationRequest.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
43
2019-08-14T08:14:12.000Z
2022-03-30T12:35:09.000Z
gse/src/v20191112/model/UpdateRuntimeConfigurationRequest.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
12
2019-07-15T10:44:59.000Z
2021-11-02T12:35:00.000Z
gse/src/v20191112/model/UpdateRuntimeConfigurationRequest.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
28
2019-07-12T09:06:22.000Z
2022-03-30T08:04:18.000Z
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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 ...
30.260417
114
0.756282
[ "model" ]
c0afb5a52f99f4ffe1174c4c143e3552c5ea26d6
3,593
cpp
C++
Solar/src/entities/line.cpp
ThaiDuongVu/Solar
eb4c1b69a92cb2f1ba4a365cc4e64f4e09bd2609
[ "MIT" ]
5
2021-03-07T01:04:55.000Z
2021-08-17T04:35:49.000Z
Solar/src/entities/line.cpp
ThaiDuongVu/Solar
eb4c1b69a92cb2f1ba4a365cc4e64f4e09bd2609
[ "MIT" ]
null
null
null
Solar/src/entities/line.cpp
ThaiDuongVu/Solar
eb4c1b69a92cb2f1ba4a365cc4e64f4e09bd2609
[ "MIT" ]
null
null
null
#include "line.h" #include "../mathf.h" #include "../core.h" #include <glad.h> #include <glfw3.h> #include <glm.hpp> namespace Solar { Line::Line(Transform transform, Color color, bool is_visible, bool is_parallax, bool is_bounded) : GameObject(transform, is_visible, is_parallax) { this->color = color; this->is_...
28.070313
146
0.658781
[ "render", "object", "vector", "transform" ]
c0b00348367725c0d95cbfa1fa06b1a18fbc6dca
3,762
cpp
C++
src/model/x-model.cpp
8l/swm
dfa4ba130ff39aa0bf96b991bca34fba086b333b
[ "BSD-2-Clause" ]
null
null
null
src/model/x-model.cpp
8l/swm
dfa4ba130ff39aa0bf96b991bca34fba086b333b
[ "BSD-2-Clause" ]
null
null
null
src/model/x-model.cpp
8l/swm
dfa4ba130ff39aa0bf96b991bca34fba086b333b
[ "BSD-2-Clause" ]
null
null
null
/** @file */ #include "x-model.h" /** * Registers a new icon - note that, at this point, XModel takes * responsibility for the given icon, and it should not be deleted unless * explicitly unregistered. * * @param icon The new icon to register. */ void XModel::register_icon(Icon *icon) { m_clients_to_icons[ic...
23.36646
76
0.683147
[ "vector", "model" ]
c0b0fb3d9a4596c0fd7f96248389e77451116e6b
41,023
cpp
C++
src/RigidBody/Joints.cpp
vincentdelpech/biorbd
0d7968e75e182f067a4d4c24cc15fa9a331ca792
[ "MIT" ]
null
null
null
src/RigidBody/Joints.cpp
vincentdelpech/biorbd
0d7968e75e182f067a4d4c24cc15fa9a331ca792
[ "MIT" ]
null
null
null
src/RigidBody/Joints.cpp
vincentdelpech/biorbd
0d7968e75e182f067a4d4c24cc15fa9a331ca792
[ "MIT" ]
null
null
null
#define BIORBD_API_EXPORTS #include "RigidBody/Joints.h" #include <rbdl/rbdl_math.h> #include <rbdl/rbdl_utils.h> #include <rbdl/Kinematics.h> #include <rbdl/Dynamics.h> #include "Utils/String.h" #include "Utils/Quaternion.h" #include "Utils/Matrix.h" #include "Utils/Error.h" #include "Utils/RotoTrans.h" #include "Rig...
37.56685
168
0.66509
[ "mesh", "vector", "model" ]
c0b33e060f14973a946827aa4c50e6f9c9d95b77
1,982
hh
C++
src/engine/Constant.hh
weatherhead99/symdiff
ba21034fcffcc0fb84e1922549bb969f556c7741
[ "Apache-2.0" ]
8
2016-06-02T17:07:44.000Z
2021-03-13T16:21:54.000Z
src/engine/Constant.hh
weatherhead99/symdiff
ba21034fcffcc0fb84e1922549bb969f556c7741
[ "Apache-2.0" ]
4
2018-03-04T20:32:01.000Z
2020-01-15T15:42:41.000Z
src/engine/Constant.hh
devsim/symdiff
1f25961214c25c5142279ec771db3c378637c950
[ "Apache-2.0" ]
7
2015-10-28T17:24:05.000Z
2021-03-13T16:22:01.000Z
/*** Copyright 2012 Devsim 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 http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software di...
23.317647
72
0.62664
[ "vector" ]
c0b4a452aefa78f7b0539a0f0fbe29cadae92111
14,079
hpp
C++
include/future/dense.hpp
YuanL12/BATS
35a32facc87e17649b7fc32225c8ffaf0301bbfa
[ "MIT" ]
5
2020-04-24T17:34:54.000Z
2021-04-07T15:56:00.000Z
include/future/dense.hpp
YuanL12/BATS
35a32facc87e17649b7fc32225c8ffaf0301bbfa
[ "MIT" ]
5
2021-05-13T14:16:35.000Z
2021-08-15T15:11:55.000Z
include/future/dense.hpp
YuanL12/BATS
35a32facc87e17649b7fc32225c8ffaf0301bbfa
[ "MIT" ]
1
2021-05-09T12:17:30.000Z
2021-05-09T12:17:30.000Z
#pragma once /* Dense row matrix implementation */ #include <string> #include <iostream> #include <utility> #include <iterator> #include <algorithm> #include <vector> namespace bats { namespace future { // forward declarations template <typename T> class Matrix; template <typename T, typename I1, typename I2> class ...
26.514124
133
0.63719
[ "vector" ]
c0bf1510433720e43655199d34d586ecf05f4219
3,002
cpp
C++
Game Theory/Matching Game On A Graph.cpp
bazzyadb/all-code
cf3039641b5aa84b1c5b184a95d69bd4091974c9
[ "MIT" ]
1,639
2021-09-15T09:12:06.000Z
2022-03-31T22:58:57.000Z
Game Theory/Matching Game On A Graph.cpp
bazzyadb/all-code
cf3039641b5aa84b1c5b184a95d69bd4091974c9
[ "MIT" ]
16
2022-01-15T17:50:08.000Z
2022-01-28T12:55:21.000Z
Game Theory/Matching Game On A Graph.cpp
bazzyadb/all-code
cf3039641b5aa84b1c5b184a95d69bd4091974c9
[ "MIT" ]
444
2021-09-15T09:17:41.000Z
2022-03-29T18:21:46.000Z
#include<bits/stdc++.h> using namespace std; const int N = 2e3 + 9; mt19937 rnd(chrono::steady_clock::now().time_since_epoch().count()); struct Blossom { int vis[N], par[N], orig[N], match[N], aux[N], t; int n; bool ad[N]; vector<int> g[N]; queue<int> Q; Blossom() {} Blossom(int _n) { n = _n; t ...
22.742424
103
0.427715
[ "vector" ]
c0c073825c0534d09f2c3c72bcb7b264e0c4d458
3,086
cc
C++
common/cpp/src/google_smart_card_common/logging/function_call_tracer.cc
SM-125F/chromeos_smart_card_connector
b375f282d3dbf92318a3321c580715f3ca68d793
[ "Apache-2.0" ]
79
2017-09-22T05:09:54.000Z
2022-03-13T01:11:06.000Z
common/cpp/src/google_smart_card_common/logging/function_call_tracer.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/logging/function_call_tracer.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...
31.489796
77
0.689566
[ "vector" ]
c0c47e9ec9661653daa77533e76d084100d82ee9
925
hpp
C++
tests/test.hpp
eoseoul/eos-tapsonic-wc-vr
2c3030c7df2f27406371d1251bf0fccba23e0681
[ "MIT" ]
null
null
null
tests/test.hpp
eoseoul/eos-tapsonic-wc-vr
2c3030c7df2f27406371d1251bf0fccba23e0681
[ "MIT" ]
null
null
null
tests/test.hpp
eoseoul/eos-tapsonic-wc-vr
2c3030c7df2f27406371d1251bf0fccba23e0681
[ "MIT" ]
null
null
null
#include <boost/test/unit_test.hpp> #include <eosio/testing/tester.hpp> #include <eosio/chain/abi_serializer.hpp> #include <eosio/chain/wast_to_wasm.hpp> #include <fc/variant_object.hpp> #include <Runtime/Runtime.h> #include "contracts.hpp" using namespace eosio::testing; using namespace eosio; using namespace eos...
23.125
62
0.713514
[ "vector" ]
c0c61968baeb54a5dd4b725238b3ef3aeb8ce1f2
5,614
hpp
C++
blast/include/algo/blast/api/traceback_stage.hpp
mycolab/ncbi-blast
e59746cec78044d2bf6d65de644717c42f80b098
[ "Apache-2.0" ]
null
null
null
blast/include/algo/blast/api/traceback_stage.hpp
mycolab/ncbi-blast
e59746cec78044d2bf6d65de644717c42f80b098
[ "Apache-2.0" ]
null
null
null
blast/include/algo/blast/api/traceback_stage.hpp
mycolab/ncbi-blast
e59746cec78044d2bf6d65de644717c42f80b098
[ "Apache-2.0" ]
null
null
null
/* $Id: traceback_stage.hpp 457458 2015-01-23 12:27:33Z madden $ * =========================================================================== * * PUBLIC DOMAIN NOTICE * National Center for Biotechnology Information * ...
37.178808
83
0.618988
[ "object" ]
c0da01079ac94a39d726a5dbf98f546589160c0d
2,351
cpp
C++
problemsets/Codejam/2008/ROUND 2 2008/PA/PA.cpp
juarezpaulino/coderemite
a4649d3f3a89d234457032d14a6646b3af339ac1
[ "Apache-2.0" ]
null
null
null
problemsets/Codejam/2008/ROUND 2 2008/PA/PA.cpp
juarezpaulino/coderemite
a4649d3f3a89d234457032d14a6646b3af339ac1
[ "Apache-2.0" ]
null
null
null
problemsets/Codejam/2008/ROUND 2 2008/PA/PA.cpp
juarezpaulino/coderemite
a4649d3f3a89d234457032d14a6646b3af339ac1
[ "Apache-2.0" ]
null
null
null
/** * * Author: Juarez Paulino(coderemite) * Email: juarez.paulino@gmail.com * */ #include <vector> #include <list> #include <map> #include <set> #include <deque> #include <queue> #include <stack> #include <bitset> #include <algorithm> #include <functional> #include <numeric> #include <utility> #include <sstream>...
23.51
87
0.572948
[ "vector" ]
c0dfd4207e28c947b7715c392a6a0919549e69d7
5,695
cc
C++
net/base/x509_util_nss_unittest.cc
GnorTech/chromium
e1c7731d5bd099ca5544fcf8eda3867d4ce5bab5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2018-03-10T13:08:49.000Z
2018-03-10T13:08:49.000Z
net/base/x509_util_nss_unittest.cc
GnorTech/chromium
e1c7731d5bd099ca5544fcf8eda3867d4ce5bab5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
net/base/x509_util_nss_unittest.cc
GnorTech/chromium
e1c7731d5bd099ca5544fcf8eda3867d4ce5bab5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2020-11-04T07:19:31.000Z
2020-11-04T07:19:31.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 "net/base/x509_util.h" #include "net/base/x509_util_nss.h" #include <cert.h> #include <secoid.h> #include "base/memory/scoped_ptr.h" #inclu...
33.110465
80
0.684284
[ "object", "vector" ]
c0e305e6421f12221adc620aed4e3c7f4ca4a127
5,669
cpp
C++
qpvr_tests/Tests.cpp
kusharami/qpvr
cf5ca2511e613265d765909b3181320cfaacab25
[ "MIT" ]
null
null
null
qpvr_tests/Tests.cpp
kusharami/qpvr
cf5ca2511e613265d765909b3181320cfaacab25
[ "MIT" ]
null
null
null
qpvr_tests/Tests.cpp
kusharami/qpvr
cf5ca2511e613265d765909b3181320cfaacab25
[ "MIT" ]
1
2019-03-23T15:21:03.000Z
2019-03-23T15:21:03.000Z
#include "Tests.h" #include <QImageReader> #include <QImageWriter> #include <QImage> #include <QPainter> #include <QTemporaryDir> #include <QDir> #include <QtTest> #include <QDebug> struct PVRTests::Options { int quality; int ver; QByteArray subType; QImageIOHandler::Transformations transform; QImage::Format...
28.77665
80
0.756924
[ "transform" ]
c0ea2d7e39bd7caee90a400e874192bd3775eef1
17,490
cpp
C++
Feather/src/Math/Matrix.cpp
pedrolmcastro/feather
e4581fb119706505dfcb25b5d982b47ee21e0746
[ "Apache-2.0" ]
null
null
null
Feather/src/Math/Matrix.cpp
pedrolmcastro/feather
e4581fb119706505dfcb25b5d982b47ee21e0746
[ "Apache-2.0" ]
null
null
null
Feather/src/Math/Matrix.cpp
pedrolmcastro/feather
e4581fb119706505dfcb25b5d982b47ee21e0746
[ "Apache-2.0" ]
null
null
null
#include "Precompiled.hpp" #include "Math/Matrix.hpp" #include "Math/Vector.hpp" #include "Math/Quaternion.hpp" using namespace std; using namespace Feather; Math::Matrix2::Matrix2(float diagonal) { elements.fill(0.0f); (*this)(0, 0) = diagonal; (*this)(1, 1) = diagonal; } Math::Matrix2 Math::Matrix2:...
35.766871
150
0.453802
[ "vector" ]
c0ead2c7b8457c6d515b6d0703f6b5a3fa059265
1,010
hpp
C++
engine/alice/backend/asio_backend.hpp
stereoboy/isaac_sdk_20191213
73c863254e626c8d498870189fbfb20be4e10fb3
[ "FSFAP" ]
1
2020-04-14T13:55:16.000Z
2020-04-14T13:55:16.000Z
engine/alice/backend/asio_backend.hpp
stereoboy/isaac_sdk_20191213
73c863254e626c8d498870189fbfb20be4e10fb3
[ "FSFAP" ]
4
2020-09-25T22:34:29.000Z
2022-02-09T23:45:12.000Z
engine/alice/backend/asio_backend.hpp
stereoboy/isaac_sdk_20191213
73c863254e626c8d498870189fbfb20be4e10fb3
[ "FSFAP" ]
1
2020-07-02T11:51:17.000Z
2020-07-02T11:51:17.000Z
/* Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. NVIDIA CORPORATION and its licensors retain all intellectual property and proprietary rights in and to this software, related documentation and any modifications thereto. Any use, reproduction, disclosure or distribution of this software and related docum...
21.489362
74
0.756436
[ "object" ]
c0ef6b5c5146559bb527c5ef50f8528f6b9a9887
1,410
hpp
C++
src/mathFunctions/constantValue.hpp
owenmylotte/ablate
92b190a2d422eb89748338c04fd7b29976be54b1
[ "BSD-3-Clause" ]
null
null
null
src/mathFunctions/constantValue.hpp
owenmylotte/ablate
92b190a2d422eb89748338c04fd7b29976be54b1
[ "BSD-3-Clause" ]
null
null
null
src/mathFunctions/constantValue.hpp
owenmylotte/ablate
92b190a2d422eb89748338c04fd7b29976be54b1
[ "BSD-3-Clause" ]
null
null
null
#ifndef ABLATELIBRARY_CONSTANTVALUE_HPP #define ABLATELIBRARY_CONSTANTVALUE_HPP #include "mathFunction.hpp" #include "memory" namespace ablate::mathFunctions { class ConstantValue : public MathFunction { private: const std::vector<double> value; const bool uniformValue; static PetscErrorCode ConstantV...
39.166667
151
0.75461
[ "vector" ]
c0f32213757e525b715bf1e6a8f8f8e63d0ed5c4
8,561
hh
C++
util-wx/fwd-wx.hh
lukas-ke/faint-graphics-editor
33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf
[ "Apache-2.0" ]
10
2016-12-28T22:06:31.000Z
2021-05-24T13:42:30.000Z
util-wx/fwd-wx.hh
lukas-ke/faint-graphics-editor
33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf
[ "Apache-2.0" ]
4
2015-10-09T23:55:10.000Z
2020-04-04T08:09:22.000Z
util-wx/fwd-wx.hh
lukas-ke/faint-graphics-editor
33eb9e6a3f2216fb2cf6ef9709a14f3d20b78fbf
[ "Apache-2.0" ]
null
null
null
// -*- coding: us-ascii-unix -*- // Copyright 2015 Lukas Kemmer // // 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 a...
26.753125
80
0.770004
[ "object", "vector" ]
c0f82ab68fc79f9db7a8de7a21f62a6d39ffe909
4,294
cpp
C++
test/tutorial/main.cpp
MarcToussaint/KOMO
fb8e06bfb481b2d7ebfa464d88a60d4e4a408b0b
[ "MIT" ]
null
null
null
test/tutorial/main.cpp
MarcToussaint/KOMO
fb8e06bfb481b2d7ebfa464d88a60d4e4a408b0b
[ "MIT" ]
1
2019-01-04T12:41:28.000Z
2019-01-04T13:31:47.000Z
test/tutorial/main.cpp
MarcToussaint/KOMO
fb8e06bfb481b2d7ebfa464d88a60d4e4a408b0b
[ "MIT" ]
4
2017-12-14T07:42:13.000Z
2021-04-26T20:58:56.000Z
#include <KOMO/komo.h> //=========================================================================== void tutorialBasics(){ rai::Configuration C("model.g"); KOMO komo; /* there are essentially three things that KOMO needs to be specified: * 1) the kinematic model * 2) the timing parameters (duration/phas...
39.759259
153
0.668374
[ "vector", "model" ]
c0fa457476284186cf1740b8436c15a42b676e26
3,298
cpp
C++
src/sampapi/0.3.7-R1/CObject.cpp
kin4stat/SAMP-API
94eb9a0d8218038b7ea0c1132e37b6420e576dbf
[ "MIT" ]
25
2020-01-02T06:13:58.000Z
2022-03-15T12:23:04.000Z
src/sampapi/0.3.7-R1/CObject.cpp
kin4stat/SAMP-API
94eb9a0d8218038b7ea0c1132e37b6420e576dbf
[ "MIT" ]
null
null
null
src/sampapi/0.3.7-R1/CObject.cpp
kin4stat/SAMP-API
94eb9a0d8218038b7ea0c1132e37b6420e576dbf
[ "MIT" ]
29
2019-07-07T15:37:03.000Z
2022-02-23T18:36:16.000Z
/* This is a SAMP (0.3.7-R1) API project file. Developer: LUCHARE <luchare.dev@gmail.com> See more here https://github.com/LUCHARE/SAMP-API Copyright (c) 2018 BlastHack Team <BlastHack.Net>. All rights reserved. */ #include "sampapi/0.3.7-R1/CObject.h" SAMPAPI_BEGIN_V037R1 CObject::CObject(int nModel, CVecto...
36.644444
228
0.720133
[ "render" ]
8d0b959d0373cca16ba2ee426ca991be6cf0b3a1
8,989
cpp
C++
3rdparty/webkit/Source/WebCore/page/History.cpp
mchiasson/PhaserNative
f867454602c395484bf730a7c43b9c586c102ac2
[ "MIT" ]
null
null
null
3rdparty/webkit/Source/WebCore/page/History.cpp
mchiasson/PhaserNative
f867454602c395484bf730a7c43b9c586c102ac2
[ "MIT" ]
null
null
null
3rdparty/webkit/Source/WebCore/page/History.cpp
mchiasson/PhaserNative
f867454602c395484bf730a7c43b9c586c102ac2
[ "MIT" ]
1
2019-01-25T13:55:25.000Z
2019-01-25T13:55:25.000Z
/* * Copyright (C) 2007 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions ...
35.25098
246
0.714317
[ "object" ]
8d1471e961c9228c4495affaca15eb055bdc7f0f
7,797
cc
C++
src/win32/base/deleter.cc
dancerj/mozc
a5a4927c1f709d2ff0c681585c746f73a434e4c9
[ "BSD-3-Clause" ]
null
null
null
src/win32/base/deleter.cc
dancerj/mozc
a5a4927c1f709d2ff0c681585c746f73a434e4c9
[ "BSD-3-Clause" ]
1
2021-06-30T14:59:51.000Z
2021-06-30T15:31:56.000Z
src/win32/base/deleter.cc
dancerj/mozc
a5a4927c1f709d2ff0c681585c746f73a434e4c9
[ "BSD-3-Clause" ]
1
2022-03-25T09:01:39.000Z
2022-03-25T09:01:39.000Z
// Copyright 2010-2020, Google Inc. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, this list of condit...
32.898734
79
0.709247
[ "vector" ]
8d16cd45d02f29326c26dc76b8fc7b9e2655af8a
32,746
cpp
C++
tests/tests.cpp
catid/fp61
2eddbeaa19f3b838a833b1a2ba256d32aa9bfaa5
[ "BSD-3-Clause" ]
8
2018-07-30T01:33:53.000Z
2021-01-26T21:12:42.000Z
tests/tests.cpp
catid/fp61
2eddbeaa19f3b838a833b1a2ba256d32aa9bfaa5
[ "BSD-3-Clause" ]
1
2018-08-13T05:33:47.000Z
2018-08-15T22:05:33.000Z
tests/tests.cpp
catid/fp61
2eddbeaa19f3b838a833b1a2ba256d32aa9bfaa5
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2018 Christopher A. Taylor. 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 ...
27.018152
117
0.50116
[ "vector" ]
8d1afb1b8368e99b135da16f8ec2dd782d4e881d
1,945
cpp
C++
IOTest/STLAsciiFileReaderTest.cpp
SatoshiMabuchi/Crystal
91b2d72e5544cf86183587d2cfea48ca7f390dd4
[ "MIT" ]
null
null
null
IOTest/STLAsciiFileReaderTest.cpp
SatoshiMabuchi/Crystal
91b2d72e5544cf86183587d2cfea48ca7f390dd4
[ "MIT" ]
null
null
null
IOTest/STLAsciiFileReaderTest.cpp
SatoshiMabuchi/Crystal
91b2d72e5544cf86183587d2cfea48ca7f390dd4
[ "MIT" ]
null
null
null
#include "gtest/gtest.h" #include "../Math/Vector3d.h" #include "../IO/STLAsciiFileReader.h" using namespace Crystal::Math; using namespace Crystal::IO; using T = float; namespace { std::stringstream getSampleAscii() { std::stringstream stream; stream << "solid cube-ascii" << std::endl << ...
28.602941
55
0.59383
[ "vector", "solid" ]
8d1b593748156ad2f6d142872352d048411fff81
36,696
cpp
C++
src/WholeBodyStateDisplay.cpp
cmastalli/state_rviz_plugin
2fcefbd5167f260ba663a2817dbcc21024170235
[ "BSD-3-Clause" ]
1
2020-08-05T20:20:01.000Z
2020-08-05T20:20:01.000Z
src/WholeBodyStateDisplay.cpp
cmastalli/state_rviz_plugin
2fcefbd5167f260ba663a2817dbcc21024170235
[ "BSD-3-Clause" ]
1
2020-08-05T11:45:23.000Z
2020-08-06T10:14:30.000Z
src/WholeBodyStateDisplay.cpp
cmastalli/state_rviz_plugin
2fcefbd5167f260ba663a2817dbcc21024170235
[ "BSD-3-Clause" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////// // BSD 3-Clause License // // Copyright (C) 2020-2021, University of Edinburgh, Istituto Italiano di // Tecnologia, University of Oxford. // Copyright note valid unless otherwise stated in individual files. // All rights reserved. /////////...
43.789976
119
0.68081
[ "mesh", "vector", "model", "transform" ]
8d1d45cf3dcbfd0e33fd66f9d01ed2f241f23c50
4,216
cpp
C++
EpLibrary2.0/EpLibrary/Sources/epBaseOutputter.cpp
juhgiyo/EpLibrary
130c3ec3fdd4af829c63f0f8b142d0cc3349100e
[ "Unlicense", "MIT" ]
34
2015-01-01T12:08:15.000Z
2022-03-19T15:34:41.000Z
EpLibrary2.0/EpLibrary/Sources/epBaseOutputter.cpp
darongE/EpLibrary
a637612ceff19e4106c7972ce1bca3ccfe666087
[ "Unlicense", "MIT" ]
1
2021-01-26T05:07:27.000Z
2021-01-26T05:19:45.000Z
EpLibrary2.0/EpLibrary/Sources/epBaseOutputter.cpp
darongE/EpLibrary
a637612ceff19e4106c7972ce1bca3ccfe666087
[ "Unlicense", "MIT" ]
25
2015-01-17T19:27:57.000Z
2021-11-17T06:26:20.000Z
/*! BaseOutputter for the EpLibrary The MIT License (MIT) Copyright (c) 2008-2013 Woong Gyu La <juhgiyo@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...
24.511628
77
0.75166
[ "vector" ]
8d27dea78f4b12267a3a39830b41fc97b58d4bd2
6,422
cpp
C++
mask_ultra.cpp
rsingh2083/Face-Mask-Detection-Jetson-Nano
7153e27c002d022bd1f0467489d0eebbabe84ac7
[ "BSD-3-Clause" ]
12
2020-12-11T08:19:43.000Z
2022-03-09T18:21:46.000Z
mask_ultra.cpp
rsingh2083/Face-Mask-Detection-Jetson-Nano
7153e27c002d022bd1f0467489d0eebbabe84ac7
[ "BSD-3-Clause" ]
3
2021-01-01T05:52:29.000Z
2021-01-05T19:26:11.000Z
mask_ultra.cpp
rsingh2083/Face-Mask-Detection-Jetson-Nano
7153e27c002d022bd1f0467489d0eebbabe84ac7
[ "BSD-3-Clause" ]
7
2020-12-31T20:49:06.000Z
2022-03-09T18:21:57.000Z
// Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless ...
38.45509
128
0.566646
[ "object", "vector", "model" ]
8d30bad9be200f0bdadbdfc9457c216503d5f415
1,111
hpp
C++
machiavelli/src/list_dialog.hpp
robhendriks/avans-cpp2
beaae5650d4446cd271f7f9b07b0e90deb80d994
[ "WTFPL" ]
null
null
null
machiavelli/src/list_dialog.hpp
robhendriks/avans-cpp2
beaae5650d4446cd271f7f9b07b0e90deb80d994
[ "WTFPL" ]
null
null
null
machiavelli/src/list_dialog.hpp
robhendriks/avans-cpp2
beaae5650d4446cd271f7f9b07b0e90deb80d994
[ "WTFPL" ]
null
null
null
#ifndef list_dialog_hpp #define list_dialog_hpp #include "dialog.hpp" namespace machiavelli { class list_dialog : public dialog { std::vector<std::string> m_items; protected: static const uint8_t item_first, item_last, item_odd, item_even; virtual void fill(std::initialize...
35.83871
116
0.662466
[ "vector" ]
8d33c22adbaeef4afccae9258d1b227bb2dad2fc
4,023
cc
C++
src/developer/debug/zxdb/console/actions.cc
bootingman/fuchsia2
04012f0aa1edd1d4108a2ac647a65e59730fc4c2
[ "BSD-3-Clause" ]
1
2019-10-09T10:50:57.000Z
2019-10-09T10:50:57.000Z
src/developer/debug/zxdb/console/actions.cc
bootingman/fuchsia2
04012f0aa1edd1d4108a2ac647a65e59730fc4c2
[ "BSD-3-Clause" ]
null
null
null
src/developer/debug/zxdb/console/actions.cc
bootingman/fuchsia2
04012f0aa1edd1d4108a2ac647a65e59730fc4c2
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2018 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/developer/debug/zxdb/console/actions.h" #include "src/developer/debug/shared/message_loop.h" #include "src/lib/files/file.h" #include "src/l...
30.709924
80
0.632364
[ "vector" ]
8d37f459b576bd759f3bc14280517ed1b6caa4c7
821
hpp
C++
Includes/CubbyDNN/Node/Input.hpp
utilForever/CubbyDNN
b044957e42eff8f14e826160b1bca1c82839a93b
[ "MIT" ]
34
2018-10-18T02:30:26.000Z
2021-06-13T19:11:23.000Z
Includes/CubbyDNN/Node/Input.hpp
utilForever/CubbyDNN
b044957e42eff8f14e826160b1bca1c82839a93b
[ "MIT" ]
31
2018-11-04T08:33:48.000Z
2020-10-07T14:59:55.000Z
Includes/CubbyDNN/Node/Input.hpp
utilForever/CubbyDNN
b044957e42eff8f14e826160b1bca1c82839a93b
[ "MIT" ]
9
2018-11-05T09:31:59.000Z
2020-12-25T13:04:26.000Z
#ifndef CUBBYDNN_INPUT_HPP #define CUBBYDNN_INPUT_HPP #include <CubbyDNN/Core/Graph.hpp> #include <CubbyDNN/Node/Node.hpp> namespace CubbyDNN::Node { class Input final : public Node { public: Input(Core::Graph* graph, std::string_view name); Input(const Input& rhs) = delete; Input(Input&& rhs) noexcept =...
23.457143
64
0.699147
[ "shape" ]
8d42731d1cd523f47bdbe1f03b95e9573ba6361c
2,923
cpp
C++
LeetCode/Problems/Algorithms/#692_TopKFrequentWords_sol3_trie_28ms_15.9MB.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
1
2022-01-26T14:50:07.000Z
2022-01-26T14:50:07.000Z
LeetCode/Problems/Algorithms/#692_TopKFrequentWords_sol3_trie_28ms_15.9MB.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
null
null
null
LeetCode/Problems/Algorithms/#692_TopKFrequentWords_sol3_trie_28ms_15.9MB.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
null
null
null
class TrieNode{ public: static const int ALPHABET_SIZE = 26; static const char FIRST_LETTER = 'a'; int terminal_node_cnt; vector<TrieNode*> children; int max_word_freq; TrieNode(){ this->terminal_node_cnt = 0; this->children.resize(ALPHABET_SIZE, NULL); th...
33.597701
106
0.529935
[ "vector" ]
1d28e26e8fb15e39c936d74e738294b6d753c2fc
10,068
cpp
C++
app/interaction_service/core-algo/src/graph/graph.cpp
Philippe-Guyard/XOptimizer
d09644eb6b92253b1d56ca2ab9c1be681993d931
[ "MIT" ]
1
2021-11-07T18:34:20.000Z
2021-11-07T18:34:20.000Z
app/interaction_service/core-algo/temp/graph/graph.cpp
Philippe-Guyard/XOptimizer
d09644eb6b92253b1d56ca2ab9c1be681993d931
[ "MIT" ]
1
2021-11-16T21:29:32.000Z
2021-11-16T21:29:32.000Z
app/interaction_service/core-algo/temp/graph/graph.cpp
Philippe-Guyard/XOptimizer
d09644eb6b92253b1d56ca2ab9c1be681993d931
[ "MIT" ]
2
2021-11-05T11:06:18.000Z
2021-11-07T18:49:17.000Z
#include<iostream> #include<unordered_map> #include<set> #include<vector> #include<cstdio> #include<assert.h> #include "graph.hpp" // Graph Class Implementation Graph::Graph(){ num_vertices = 0; num_edges = 0; // Add default constructor to vertex_position } Graph::Graph(int num_vertices, VertexData* ve...
22.176211
130
0.640445
[ "vector" ]
1d30f844040d5fbdfcab726537ccc621af066b68
43,199
cpp
C++
src/octUtils.cpp
lanl/Dendro-GRCA
8a475b1abd8832c3dfc19d00cc0ec4b9e2789c8a
[ "BSD-3-Clause" ]
1
2021-06-21T08:38:53.000Z
2021-06-21T08:38:53.000Z
src/octUtils.cpp
lanl/Dendro-GRCA
8a475b1abd8832c3dfc19d00cc0ec4b9e2789c8a
[ "BSD-3-Clause" ]
null
null
null
src/octUtils.cpp
lanl/Dendro-GRCA
8a475b1abd8832c3dfc19d00cc0ec4b9e2789c8a
[ "BSD-3-Clause" ]
1
2020-09-23T17:09:34.000Z
2020-09-23T17:09:34.000Z
// // Created by milinda on 9/6/16. // /** @brief A collection of simple functions for manipulating octrees. Examples: Regular Refinements, Linearizing an octree, I/O, Nearest Common Ancestor, adding positive boundaries, marking hanging nodes @author Rahul S. Sampath, rahul.sampath@gmail.com @author Hari Sundar, hsun...
35.999167
281
0.561657
[ "mesh", "vector" ]
1d3280f5481dfede29dbc25d8e132a99156cc641
39,324
cpp
C++
deadjustice/GameLevel.cpp
Andrewich/deadjustice
48bea56598e79a1a10866ad41aa3517bf7d7c724
[ "BSD-3-Clause" ]
3
2019-04-20T10:16:36.000Z
2021-03-21T19:51:38.000Z
deadjustice/GameLevel.cpp
Andrewich/deadjustice
48bea56598e79a1a10866ad41aa3517bf7d7c724
[ "BSD-3-Clause" ]
null
null
null
deadjustice/GameLevel.cpp
Andrewich/deadjustice
48bea56598e79a1a10866ad41aa3517bf7d7c724
[ "BSD-3-Clause" ]
2
2020-04-18T20:04:24.000Z
2021-09-19T05:07:41.000Z
#include "GameLevel.h" #include "GameCamera.h" #include "GameFlareSet.h" #include "GameBSPTree.h" #include "GameCharacter.h" #include "GameCell.h" #include "GameRenderPass.h" #include "GameCutScene.h" #include "GamePortal.h" #include "GameWeapon.h" #include "GameNoiseManager.h" #include "ProjectileManager.h"...
32.85213
261
0.660742
[ "mesh", "geometry", "object", "vector", "model", "transform" ]
1d3452b4ac5cf6c3748a12f14f1a0c9b971030d1
937
cpp
C++
rdp/src/test_json.cpp
wmacevoy/languages-wmacevoy
fe80126597a652f7c480c81d12b2764395a7c5b5
[ "MIT" ]
null
null
null
rdp/src/test_json.cpp
wmacevoy/languages-wmacevoy
fe80126597a652f7c480c81d12b2764395a7c5b5
[ "MIT" ]
null
null
null
rdp/src/test_json.cpp
wmacevoy/languages-wmacevoy
fe80126597a652f7c480c81d12b2764395a7c5b5
[ "MIT" ]
1
2022-02-17T16:43:06.000Z
2022-02-17T16:43:06.000Z
// https://github.com/nlohmann/json #include "port.h" #include "gtest/gtest.h" // using json = JSON; TEST(json,string) { // https://pspdfkit.com/blog/2021/string-literals-character- -and-multiplatform-cpp std::string s = u8R"-=-({ "happy": "😀", "pi": 3.141 })-=-"_string; JSON j = JSON::parse(s); ASSERT_...
26.027778
92
0.565635
[ "object" ]
1d3847ba9c1240f4b1449521b7e89cc65d799cbf
4,157
cc
C++
homeworks/ParametricElementMatrices/templates/parametricelementmatrices_main.cc
padomu/NPDECODES
d2bc5b0d2d5e76e4d5b8ab6948c82f902211182e
[ "MIT" ]
null
null
null
homeworks/ParametricElementMatrices/templates/parametricelementmatrices_main.cc
padomu/NPDECODES
d2bc5b0d2d5e76e4d5b8ab6948c82f902211182e
[ "MIT" ]
null
null
null
homeworks/ParametricElementMatrices/templates/parametricelementmatrices_main.cc
padomu/NPDECODES
d2bc5b0d2d5e76e4d5b8ab6948c82f902211182e
[ "MIT" ]
null
null
null
/** @brief NPDE homework ParametricElementMatrices code * @author Simon Meierhans, Erick Schulz (refactoring) * @date 13/03/2019, 19/11/2019 (refactoring) * @copyright Developed at ETH Zurich */ // Lehrfempp includes #include <lf/io/io.h> // ParametricElementMatrices internal includes #include "anisotropicdiffusion...
45.184783
80
0.712052
[ "mesh", "object", "vector" ]
1d3b0b7edd6f1b1bb4a90787c9e0e0ed1b53382d
3,023
hpp
C++
RL/rlConcept.hpp
roamiri/GeoNS
48789d9b382adddfad8223425249088a3050abdb
[ "MIT" ]
2
2020-01-11T04:41:58.000Z
2020-04-27T16:38:40.000Z
RL/rlConcept.hpp
roamiri/GeoNS
48789d9b382adddfad8223425249088a3050abdb
[ "MIT" ]
null
null
null
RL/rlConcept.hpp
roamiri/GeoNS
48789d9b382adddfad8223425249088a3050abdb
[ "MIT" ]
null
null
null
/* This file is part of rl-lib * * Copyright (C) 2010, Supelec * * Author : Herve Frezza-Buet and Matthieu Geist * * Contributor : * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public * License (GPL) as published by the Free Sof...
29.930693
158
0.649355
[ "model" ]
1d41955a6453073caa30c93d7e01d680cf833aae
43,319
cpp
C++
module.cpp
number201724/hlmaster
0c872c4fb8ad3c5f01b3b73fdfbc0f29cafdf683
[ "MIT" ]
null
null
null
module.cpp
number201724/hlmaster
0c872c4fb8ad3c5f01b3b73fdfbc0f29cafdf683
[ "MIT" ]
null
null
null
module.cpp
number201724/hlmaster
0c872c4fb8ad3c5f01b3b73fdfbc0f29cafdf683
[ "MIT" ]
null
null
null
/* AMX Mod X * * by the AMX Mod X Development Team * originally developed by OLO * * Parts Copyright (C) 2001-2003 Will Day <willday@hpgx.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 Foundatio...
17.081625
186
0.77945
[ "object" ]
1d5319da1b4cf6de91360aa23c53ff222a515d70
791
hpp
C++
headers/game.hpp
KingAlone0/Tetris-Clone
0f6d4b81e51a290f03b5bbe74c5464fe1d41f2d7
[ "MIT" ]
null
null
null
headers/game.hpp
KingAlone0/Tetris-Clone
0f6d4b81e51a290f03b5bbe74c5464fe1d41f2d7
[ "MIT" ]
null
null
null
headers/game.hpp
KingAlone0/Tetris-Clone
0f6d4b81e51a290f03b5bbe74c5464fe1d41f2d7
[ "MIT" ]
null
null
null
#ifndef GAME_H #define GAME_H #include <SFML/Graphics.hpp> #include "tetromino.hpp" #include "renderWindow.hpp" #include <ctime> #include <random> #include <thread> short int scoreMultiplier(short int row); TilesType getRandomTetromino(); void deleteRowAt(std::vector<Mino>& grid, unsigned short int h); bool isRowFul...
28.25
97
0.77244
[ "vector" ]
1d5c06139225b011e31651c4b92082999c199cfd
3,573
cpp
C++
mecab/mecab/example/example_lattice.cpp
xmanh/mecab
d1ad0c5fd616c4aa4d5d96008c90d810befbb3d3
[ "MIT" ]
21
2018-11-15T08:23:14.000Z
2022-03-30T15:44:59.000Z
mecab/mecab/example/example_lattice.cpp
xmanh/mecab
d1ad0c5fd616c4aa4d5d96008c90d810befbb3d3
[ "MIT" ]
19
2020-01-28T22:42:46.000Z
2022-02-10T09:08:36.000Z
mecab/mecab/example/example_lattice.cpp
xmanh/mecab
d1ad0c5fd616c4aa4d5d96008c90d810befbb3d3
[ "MIT" ]
1
2021-12-08T01:17:27.000Z
2021-12-08T01:17:27.000Z
#include <iostream> #include <mecab.h> #define CHECK(eval) if (! eval) { \ const char *e = tagger ? tagger->what() : MeCab::getTaggerError(); \ std::cerr << "Exception:" << e << std::endl; \ delete tagger; \ return -1; } int main (int argc, char **argv) { char input[] = "太郎は次郎が持っている本を花子に渡した。"; // Cre...
29.528926
71
0.561713
[ "object", "model" ]
1d5c23387afd2e5d39081887b6098a7272b5a0a2
2,463
cpp
C++
BlackVision/Test/Tools/BVProjectEditor/Source/AssetsTest/TestSyncLoading.cpp
black-vision-engine/bv-engine
85089d41bb22afeaa9de070646e12aa1777ecedf
[ "MIT" ]
1
2022-01-28T11:43:47.000Z
2022-01-28T11:43:47.000Z
BlackVision/Test/Tools/BVProjectEditor/Source/AssetsTest/TestSyncLoading.cpp
black-vision-engine/bv-engine
85089d41bb22afeaa9de070646e12aa1777ecedf
[ "MIT" ]
null
null
null
BlackVision/Test/Tools/BVProjectEditor/Source/AssetsTest/TestSyncLoading.cpp
black-vision-engine/bv-engine
85089d41bb22afeaa9de070646e12aa1777ecedf
[ "MIT" ]
null
null
null
#include "Framework/FrameworkTest.h" #include "Utils/TwoScenesFixture.h" #include "Framework/BVTestAppLogic.h" #include "Engine/Models/Plugins/Simple/ShaderPlugins/DefaultTexturePlugin.h" using namespace bv; // *********************** // Loads assets synchronously from main thread. BV should hang on l...
31.576923
117
0.62363
[ "model" ]
1d66e1431bd4cd7a81142d925b5104fde3b31e2a
808
cpp
C++
niuke_HW/MianJing1.cpp
drt4243566/leetcode_learn
ef51f215079556895eec2252d84965cd1c3a7bf4
[ "MIT" ]
null
null
null
niuke_HW/MianJing1.cpp
drt4243566/leetcode_learn
ef51f215079556895eec2252d84965cd1c3a7bf4
[ "MIT" ]
null
null
null
niuke_HW/MianJing1.cpp
drt4243566/leetcode_learn
ef51f215079556895eec2252d84965cd1c3a7bf4
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <stack> using namespace std; // n个整数的无序数组,找到每个元素后面比它大的第一个数字,要求时间复杂度为O(N); vector<int> find(vector<int>& num){ int len=num.size(); // 空数组返回空 if(len==0) return {}; // 单调栈的思想 stack<int> notFind; // 栈中存放num中还未找到符合条件的元素索引 vector<int> res(len,-1); //存放...
22.444444
74
0.555693
[ "vector" ]
1d6864db7d78cc3bc28c021a46316f6c9b909d9c
3,775
cc
C++
chrome/browser/speech/tts_crosapi_util.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
76
2020-09-02T03:05:41.000Z
2022-03-30T04:40:55.000Z
chrome/browser/speech/tts_crosapi_util.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
45
2020-09-02T03:21:37.000Z
2022-03-31T22:19:45.000Z
chrome/browser/speech/tts_crosapi_util.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
8
2020-07-22T18:49:18.000Z
2022-02-08T10:27:16.000Z
// Copyright 2021 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/speech/tts_crosapi_util.h" namespace tts_crosapi_util { content::TtsEventType FromMojo(crosapi::mojom::TtsEventType mojo_event)...
39.736842
76
0.752848
[ "vector" ]
1d71967b002485fb8bdd6a5c8f45debceb39ddd6
5,677
cxx
C++
GPU/TPCFastTransformation/TPCFastTransform.cxx
sprasad-commits/AliRoot
41acc2e128fc8d502df15b9beae83e1fdcdb38f0
[ "BSD-3-Clause" ]
null
null
null
GPU/TPCFastTransformation/TPCFastTransform.cxx
sprasad-commits/AliRoot
41acc2e128fc8d502df15b9beae83e1fdcdb38f0
[ "BSD-3-Clause" ]
null
null
null
GPU/TPCFastTransformation/TPCFastTransform.cxx
sprasad-commits/AliRoot
41acc2e128fc8d502df15b9beae83e1fdcdb38f0
[ "BSD-3-Clause" ]
null
null
null
//**************************************************************************\ //* This file is property of and copyright by the ALICE Project *\ //* ALICE Experiment at CERN, All rights reserved. *\ //* *\ //* Prim...
35.93038
159
0.690682
[ "object" ]
1d7b132867336dc785cce308503d2984c0bfc24f
2,481
hpp
C++
src/l2_hashtable.hpp
ramcn/flappie-darwin
e542a6117eb61d7424f58ec8bb2f31f3c8a2039f
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
src/l2_hashtable.hpp
ramcn/flappie-darwin
e542a6117eb61d7424f58ec8bb2f31f3c8a2039f
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
src/l2_hashtable.hpp
ramcn/flappie-darwin
e542a6117eb61d7424f58ec8bb2f31f3c8a2039f
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
#ifndef L2_HASHTABLE_H_ #define L2_HASHTABLE_H_ #include <string> #include "stdint.h" #include "stdlib.h" #include "hash_common.hpp" #include <vector> class Hashtable; class L2Hashtable{ private: uint64_t l2seed_size = 10; uint64_t l2num_tables = 0; uint64_t l2table_size = (36<<8); uint32_t * l2hashtable =...
30.62963
221
0.770254
[ "vector" ]
1d7cc75f67eea22c26c2337823e6b13eaa746146
27,575
cpp
C++
tests/array/testArrayBase.cpp
seagater/zfp
520596bdcb631ee98d43ff63d0955e34e56035ed
[ "BSD-3-Clause" ]
1
2022-01-30T00:22:55.000Z
2022-01-30T00:22:55.000Z
tests/array/testArrayBase.cpp
ncnight/zfp
520596bdcb631ee98d43ff63d0955e34e56035ed
[ "BSD-3-Clause" ]
1
2022-03-03T14:48:04.000Z
2022-03-03T14:51:03.000Z
tests/array/testArrayBase.cpp
ncnight/zfp
520596bdcb631ee98d43ff63d0955e34e56035ed
[ "BSD-3-Clause" ]
null
null
null
extern "C" { #include "utils/testMacros.h" #include "utils/zfpChecksums.h" #include "utils/zfpHash.h" } #include <cstring> #include <sstream> TEST_F(TEST_FIXTURE, when_constructorCalled_then_rateSetWithWriteRandomAccess) { double rate = ZFP_RATE_PARAM_BITS; #if DIMS == 1 ZFP_ARRAY_TYPE arr(inputDataSideLen...
33.505468
168
0.756011
[ "object", "3d" ]
1d7d93b99cb4e749dafbe21c26df84f5c78ef4e9
8,961
cc
C++
examples/pxScene2d/external/breakpad-chrome_55/src/client/linux/crash_generation/crash_generation_server.cc
madanagopaltcomcast/pxCore
c4a3a40a190521c8b6383d126c87612eca5b3c42
[ "Apache-2.0" ]
46
2017-09-07T14:59:22.000Z
2020-10-31T20:34:12.000Z
examples/pxScene2d/external/breakpad-chrome_55/src/client/linux/crash_generation/crash_generation_server.cc
madanagopaltcomcast/pxCore
c4a3a40a190521c8b6383d126c87612eca5b3c42
[ "Apache-2.0" ]
1,432
2017-06-21T04:08:48.000Z
2020-08-25T16:21:15.000Z
examples/pxScene2d/external/breakpad-chrome_55/src/client/linux/crash_generation/crash_generation_server.cc
madanagopaltcomcast/pxCore
c4a3a40a190521c8b6383d126c87612eca5b3c42
[ "Apache-2.0" ]
317
2017-06-20T19:57:17.000Z
2020-09-16T10:28:30.000Z
// Copyright (c) 2010 Google Inc. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, this list of conditio...
26.829341
80
0.694565
[ "vector" ]
1d86c3658a28a38d50c4d5cafad72a0a8afcde98
2,314
cpp
C++
Plugins/org.mitk.gui.qt.application/src/QmitkDataNodeGlobalReinitAction.cpp
zhaomengxiao/MITK
a09fd849a4328276806008bfa92487f83a9e2437
[ "BSD-3-Clause" ]
1
2022-03-03T12:03:32.000Z
2022-03-03T12:03:32.000Z
Plugins/org.mitk.gui.qt.application/src/QmitkDataNodeGlobalReinitAction.cpp
zhaomengxiao/MITK
a09fd849a4328276806008bfa92487f83a9e2437
[ "BSD-3-Clause" ]
1
2021-12-22T10:19:02.000Z
2021-12-22T10:19:02.000Z
Plugins/org.mitk.gui.qt.application/src/QmitkDataNodeGlobalReinitAction.cpp
zhaomengxiao/MITK_lancet
a09fd849a4328276806008bfa92487f83a9e2437
[ "BSD-3-Clause" ]
1
2020-11-27T09:41:18.000Z
2020-11-27T09:41:18.000Z
/*============================================================================ The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center (DKFZ) All rights reserved. Use of this source code is governed by a 3-clause BSD license that can be found in the LICENSE file. =================...
29.666667
135
0.715644
[ "render" ]
1d8805890a569641da61b845105df35e87af64a6
3,540
cpp
C++
packages/Search/test/tstDetailsUtils.cpp
flyingcat007/DTK_Test
ef8e0e791b76f138045354715a8ce23436ea0edf
[ "BSD-3-Clause" ]
null
null
null
packages/Search/test/tstDetailsUtils.cpp
flyingcat007/DTK_Test
ef8e0e791b76f138045354715a8ce23436ea0edf
[ "BSD-3-Clause" ]
null
null
null
packages/Search/test/tstDetailsUtils.cpp
flyingcat007/DTK_Test
ef8e0e791b76f138045354715a8ce23436ea0edf
[ "BSD-3-Clause" ]
null
null
null
/**************************************************************************** * Copyright (c) 2012-2017 by the DataTransferKit authors * * All rights reserved. * * * * This ...
39.775281
80
0.561864
[ "vector" ]
1d907f6c13ac23193b30bfd565d2003f26e83250
5,386
cpp
C++
ql/models/marketmodels/driftcomputation/cmsmmdriftcalculator.cpp
mshojatalab/QuantLib
7801a0fb3226bc1b001e310bacdd35ddb2e51661
[ "BSD-3-Clause" ]
76
2017-06-28T21:24:38.000Z
2021-12-19T18:07:37.000Z
ql/models/marketmodels/driftcomputation/cmsmmdriftcalculator.cpp
mshojatalab/QuantLib
7801a0fb3226bc1b001e310bacdd35ddb2e51661
[ "BSD-3-Clause" ]
3
2022-03-09T16:19:13.000Z
2022-03-29T07:33:42.000Z
ql/models/marketmodels/driftcomputation/cmsmmdriftcalculator.cpp
sweemer/QuantLib
1341223e3d839dd77bb7231d0913809f01437740
[ "BSD-3-Clause" ]
34
2017-07-02T14:49:21.000Z
2021-11-26T15:32:04.000Z
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Copyright (C) 2007 Ferdinando Ametrano Copyright (C) 2007 François du Vignaud Copyright (C) 2007 Mark Joshi This file is part of QuantLib, a free-software/open-source library for financial quantitative analysts and developers - http...
39.028986
98
0.569625
[ "vector" ]
1d9485d06512162c1e526d6cb96dea61a29e412f
13,890
cpp
C++
Sources/Elastos/LibCore/src/elastos/utility/CLocaleBuilder.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
7
2017-07-13T10:34:54.000Z
2021-04-16T05:40:35.000Z
Sources/Elastos/LibCore/src/elastos/utility/CLocaleBuilder.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
null
null
null
Sources/Elastos/LibCore/src/elastos/utility/CLocaleBuilder.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 // // ...
31.712329
131
0.658315
[ "object" ]
1d94d0f2d781ef6878fede4282cc8db8297b98ec
16,879
cc
C++
dali/kernels/imgproc/convolution/laplacian_cpu_test.cc
L-Net-1992/DALI
982224d8b53e1156ae092f73f5a7d600982a1eb9
[ "ECL-2.0", "Apache-2.0" ]
2
2022-02-17T19:54:05.000Z
2022-02-17T19:54:08.000Z
dali/kernels/imgproc/convolution/laplacian_cpu_test.cc
L-Net-1992/DALI
982224d8b53e1156ae092f73f5a7d600982a1eb9
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
dali/kernels/imgproc/convolution/laplacian_cpu_test.cc
L-Net-1992/DALI
982224d8b53e1156ae092f73f5a7d600982a1eb9
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
// Copyright (c) 2021-2022, NVIDIA CORPORATION & AFFILIATES. 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 // /...
38.10158
98
0.674448
[ "shape" ]
1d965a9626a43dc1a937681df829204988b0522c
34,480
cpp
C++
tel_ril/src/tel_ril_sim.cpp
chaoyangcui/telephony_core_service
00cfcad14279d165bcd8f26d3078462caffc39a6
[ "Apache-2.0" ]
null
null
null
tel_ril/src/tel_ril_sim.cpp
chaoyangcui/telephony_core_service
00cfcad14279d165bcd8f26d3078462caffc39a6
[ "Apache-2.0" ]
null
null
null
tel_ril/src/tel_ril_sim.cpp
chaoyangcui/telephony_core_service
00cfcad14279d165bcd8f26d3078462caffc39a6
[ "Apache-2.0" ]
1
2021-09-13T12:07:12.000Z
2021-09-13T12:07:12.000Z
/* * Copyright (C) 2021 Huawei Device Co., Ltd. * 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 ...
44.490323
115
0.6721
[ "object" ]
1d9754a3f98a8fa1c85b7ecee9a6617f9796092b
4,476
cpp
C++
src/Map/CMap.cpp
AntonBogomolov/SummonMaster
71b185d03c26cd77a5015ff91a4bd423952918c1
[ "MIT" ]
null
null
null
src/Map/CMap.cpp
AntonBogomolov/SummonMaster
71b185d03c26cd77a5015ff91a4bd423952918c1
[ "MIT" ]
null
null
null
src/Map/CMap.cpp
AntonBogomolov/SummonMaster
71b185d03c26cd77a5015ff91a4bd423952918c1
[ "MIT" ]
null
null
null
#include "CMap.h" #include "CHeightMap.h" #include "CMapObject.h" #include "src/Objects/CMovableObject.h" #include <iostream> #include <iomanip> CMap::CMap(const CMapCreationParams& param) : IEventHandler() { tileMap = nullptr; blockMap = nullptr; this->width = param.width; this->height = pa...
34.96875
122
0.605675
[ "object", "vector" ]
1d9a4b5bd20e1da4483f6a1db1566fad43c58b06
11,978
cpp
C++
backEnd/src/serverLogicFunctions.cpp
amagood/handyPC
f862dfa1f0df83c41a8720d5411d85dbb77792ca
[ "MIT" ]
null
null
null
backEnd/src/serverLogicFunctions.cpp
amagood/handyPC
f862dfa1f0df83c41a8720d5411d85dbb77792ca
[ "MIT" ]
null
null
null
backEnd/src/serverLogicFunctions.cpp
amagood/handyPC
f862dfa1f0df83c41a8720d5411d85dbb77792ca
[ "MIT" ]
null
null
null
#include <stdio.h> #include <stdlib.h> #include <sqlite3.h> #include <vector> #include <string> #include <iostream> #include "json.hpp" std::vector<std::vector<std::string>> output; std::vector<std::string> colName; std::vector<std::string> tmp; using json = nlohmann::json; static int callback(void *data, int argc, ...
24.696907
136
0.546752
[ "vector", "model" ]
1da743fc01fd26527480b59ec35b44c804ab1730
3,792
hpp
C++
include/Agui/Widgets/RadioButton/RadioButtonGroup.hpp
ZweiEuro/Agui
0062150c732a85a0811a29caa9493d159b17f75f
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
84
2015-01-31T15:43:07.000Z
2022-01-28T13:02:57.000Z
include/Agui/Widgets/RadioButton/RadioButtonGroup.hpp
ZweiEuro/Agui
0062150c732a85a0811a29caa9493d159b17f75f
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
5
2015-04-14T11:13:46.000Z
2021-03-01T21:23:14.000Z
include/Agui/Widgets/RadioButton/RadioButtonGroup.hpp
ZweiEuro/Agui
0062150c732a85a0811a29caa9493d159b17f75f
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
21
2015-03-25T00:28:50.000Z
2021-05-11T05:50:35.000Z
/* _____ * /\ _ \ __ * \ \ \_\ \ __ __ __ /\_\ * \ \ __ \ /'_ `\ /\ \/\ \\/\ \ * \ \ \/\ \ /\ \_\ \\ \ \_\ \\ \ \ * \ \_\ \_\\ \____ \\ \____/ \ \_\ * \/_/\/_/ \/____\ \\/___/ \/_/ * /\____/ ...
33.857143
84
0.63212
[ "vector" ]
1daf6c2c54845fb596b00a246b4c585d6fe62d5c
2,625
cpp
C++
GeeksForGeeks/LRU Cache.cpp
tanishq1g/cp_codes
80b8ccc9e195a66d6d317076fdd54a02cd21275b
[ "MIT" ]
null
null
null
GeeksForGeeks/LRU Cache.cpp
tanishq1g/cp_codes
80b8ccc9e195a66d6d317076fdd54a02cd21275b
[ "MIT" ]
null
null
null
GeeksForGeeks/LRU Cache.cpp
tanishq1g/cp_codes
80b8ccc9e195a66d6d317076fdd54a02cd21275b
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <vector> #include <locale> #include <algorithm> #include <cmath> #include <unordered_map> #include <unordered_set> #include <set> #include <bitset> #include <climits> #include <list> #include <queue> #include <stack> #include <utility> using namespace std; #define INF 1e7 ...
23.648649
157
0.549714
[ "vector" ]
1db1748f4e3942950018fa0ca741dc4e20acb960
6,113
cpp
C++
inference-engine/samples/hello_classification/main.cpp
mypopydev/dldt
8cd639116b261adbbc8db860c09807c3be2cc2ca
[ "Apache-2.0" ]
3
2019-07-08T09:03:03.000Z
2020-09-09T10:34:17.000Z
inference-engine/samples/hello_classification/main.cpp
openvino-pushbot/dldt
e607ee70212797cf9ca51dac5b7ac79f66a1c73f
[ "Apache-2.0" ]
3
2020-11-13T18:59:18.000Z
2022-02-10T02:14:53.000Z
inference-engine/samples/hello_classification/main.cpp
openvino-pushbot/dldt
e607ee70212797cf9ca51dac5b7ac79f66a1c73f
[ "Apache-2.0" ]
1
2018-12-05T07:38:25.000Z
2018-12-05T07:38:25.000Z
/* // Copyright (c) 2018 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...
50.106557
127
0.446098
[ "vector", "model" ]
1db186e3308e981f3bd465a38aa188ed8ade02d9
4,202
cpp
C++
libdvblinkremote/src/parental_lock.cpp
marefr/dvblinkremote
a8e05b8ab35e62c11a410c943b91abf742f5a9c1
[ "Unlicense", "MIT" ]
2
2021-06-24T17:25:26.000Z
2021-06-24T17:26:44.000Z
libdvblinkremote/src/parental_lock.cpp
marefr/dvblinkremote
a8e05b8ab35e62c11a410c943b91abf742f5a9c1
[ "Unlicense", "MIT" ]
1
2015-10-20T16:13:07.000Z
2015-10-20T16:13:07.000Z
libdvblinkremote/src/parental_lock.cpp
marefr/dvblinkremote
a8e05b8ab35e62c11a410c943b91abf742f5a9c1
[ "Unlicense", "MIT" ]
2
2015-02-13T14:22:40.000Z
2015-04-08T14:03:25.000Z
/*************************************************************************** * Copyright (C) 2012 Marcus Efraimsson. * * 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 restricti...
31.125926
121
0.732746
[ "object" ]
1db3cb48a699d1e7d6c308473835fe8829fd41d5
16,118
hpp
C++
ajg/synth/engines/ssi/builtin_tags.hpp
legutierr/synth
7540072bde2ea9c8258c2dca69d2ed3bd62fb991
[ "BSL-1.0" ]
1
2016-04-10T14:13:34.000Z
2016-04-10T14:13:34.000Z
ajg/synth/engines/ssi/builtin_tags.hpp
legutierr/synth
7540072bde2ea9c8258c2dca69d2ed3bd62fb991
[ "BSL-1.0" ]
null
null
null
ajg/synth/engines/ssi/builtin_tags.hpp
legutierr/synth
7540072bde2ea9c8258c2dca69d2ed3bd62fb991
[ "BSL-1.0" ]
null
null
null
// (C) Copyright 2014 Alvaro J. Genial (http://alva.ro) // Use, modification and distribution are subject to the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt). #ifndef AJG_SYNTH_ENGINES_SSI_BUILTIN_TAGS_HPP_INCLUDED #define AJG_SYNTH_...
40.908629
116
0.506825
[ "render" ]
1db57bb9c506d6ff4b0727b3c408df8ebb218c3c
10,708
hh
C++
arith.hh
nurettin/libnuwen
5b3012d9e75552c372a4d09b218b7af04a928e68
[ "BSL-1.0" ]
9
2019-09-17T10:33:58.000Z
2021-07-29T10:03:42.000Z
arith.hh
nurettin/libnuwen
5b3012d9e75552c372a4d09b218b7af04a928e68
[ "BSL-1.0" ]
null
null
null
arith.hh
nurettin/libnuwen
5b3012d9e75552c372a4d09b218b7af04a928e68
[ "BSL-1.0" ]
1
2019-10-05T04:31:22.000Z
2019-10-05T04:31:22.000Z
// Copyright Stephan T. Lavavej, http://nuwen.net . // Distributed under the Boost Software License, Version 1.0. // See accompanying file LICENSE_1_0.txt or copy at // http://boost.org/LICENSE_1_0.txt . #ifndef PHAM_ARITH_HH #define PHAM_ARITH_HH #include "compiler.hh" #ifdef NUWEN_PLATFORM_MSVC #pragma once #e...
36.298305
110
0.519518
[ "vector", "model" ]
1db9711e7423e32741ac12fe1c4b3019b7abbe7f
8,798
hpp
C++
include/mango/math/vector256_int32x8.hpp
NeRdTheNed/mango
ec7fde75fc0daf642df7c4efd8f652853c6deee3
[ "Zlib" ]
null
null
null
include/mango/math/vector256_int32x8.hpp
NeRdTheNed/mango
ec7fde75fc0daf642df7c4efd8f652853c6deee3
[ "Zlib" ]
null
null
null
include/mango/math/vector256_int32x8.hpp
NeRdTheNed/mango
ec7fde75fc0daf642df7c4efd8f652853c6deee3
[ "Zlib" ]
1
2021-12-19T18:30:06.000Z
2021-12-19T18:30:06.000Z
/* MANGO Multimedia Development Platform Copyright (C) 2012-2020 Twilight Finland 3D Oy Ltd. All rights reserved. */ #pragma once #include <mango/math/vector.hpp> namespace mango::math { template <> struct Vector<s32, 8> { using VectorType = simd::s32x8; using ScalarType = s32; ...
25.137143
110
0.505683
[ "vector", "3d" ]
1dbbcc3663bf9753230ebcd3eb6486c8ec2bf2d0
809
cpp
C++
Algorithms on Strings/Programming-Assignment-2/suffix_array/suffix_array.cpp
hovmikayelyan/Data_Structures_and_Algorithms
abfd3c63f8bce200c2379c44e755e53611f26ac7
[ "MIT" ]
26
2019-05-18T09:59:02.000Z
2022-01-09T01:04:10.000Z
LearningSeries/UCSanDeigoAlgorithmsCourse/String Algorithms/Week 2/suffix_array/suffix_array.cpp
pawan-nirpal-031/Algorithms-And-ProblemSolving
24ce9649345dabe7275920f6912e410efc2c8e84
[ "Apache-2.0" ]
null
null
null
LearningSeries/UCSanDeigoAlgorithmsCourse/String Algorithms/Week 2/suffix_array/suffix_array.cpp
pawan-nirpal-031/Algorithms-And-ProblemSolving
24ce9649345dabe7275920f6912e410efc2c8e84
[ "Apache-2.0" ]
8
2020-01-19T15:45:07.000Z
2021-01-09T08:51:41.000Z
#include <algorithm> #include <iostream> #include <string> #include <vector> #include <utility> using std::cin; using std::cout; using std::endl; using std::make_pair; using std::pair; using std::string; using std::vector; // Build suffix array of the string text and // return a vector result of the same length as th...
22.472222
56
0.68974
[ "vector" ]
1dc0dc9c8255e975bd8ca6d75129aad325dfad8d
10,399
cpp
C++
cxx/isce3/core/EulerAngles.cpp
piyushrpt/isce3
1741af321470cb5939693459765d11a19c5c6fc2
[ "Apache-2.0" ]
null
null
null
cxx/isce3/core/EulerAngles.cpp
piyushrpt/isce3
1741af321470cb5939693459765d11a19c5c6fc2
[ "Apache-2.0" ]
null
null
null
cxx/isce3/core/EulerAngles.cpp
piyushrpt/isce3
1741af321470cb5939693459765d11a19c5c6fc2
[ "Apache-2.0" ]
null
null
null
//-*- C++ -*- //-*- coding: utf-8 -*- // // Author: Bryan V. Riel // Copyright 2018 // // std #include <iostream> #include <string> #include <cmath> #include <map> // pyre #include <pyre/journal.h> #include "Attitude.h" #include "DenseMatrix.h" #include "EulerAngles.h" #include "Quaternion.h" #include "Utilities.h" ...
31.416918
91
0.589287
[ "object", "vector" ]
1dc40d729ff144d68c89d485594bb33683baa52b
1,574
cpp
C++
dlls/noffice/flashlightspot.cpp
malortie/hl-nato
1c6f6fa4d6f72612d4d28ddb459eb8d074154746
[ "Apache-2.0" ]
null
null
null
dlls/noffice/flashlightspot.cpp
malortie/hl-nato
1c6f6fa4d6f72612d4d28ddb459eb8d074154746
[ "Apache-2.0" ]
null
null
null
dlls/noffice/flashlightspot.cpp
malortie/hl-nato
1c6f6fa4d6f72612d4d28ddb459eb8d074154746
[ "Apache-2.0" ]
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 ...
26.677966
77
0.622618
[ "object", "solid" ]
1dc6b1b2bb6a5c2f038911d334a1ccd6b90483ed
4,534
cc
C++
serving/core/version_control/version_controller.cc
i4oolish/mindspore
dac3be31d0f2c0a3516200f47af30980e566601b
[ "Apache-2.0" ]
2
2020-08-12T16:14:40.000Z
2020-12-04T03:05:57.000Z
serving/core/version_control/version_controller.cc
dilingsong/mindspore
4276050f2494cfbf8682560a1647576f859991e8
[ "Apache-2.0" ]
null
null
null
serving/core/version_control/version_controller.cc
dilingsong/mindspore
4276050f2494cfbf8682560a1647576f859991e8
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2020 Huawei Technologies Co., Ltd * * 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...
33.835821
120
0.699382
[ "vector", "model" ]
1dc71f83aeb6254ebd7d67bdfa33748ce53fe4a0
54,402
cpp
C++
lib/fizzy/execute.cpp
poemm/fizzy
f384303dc6b594bdf36ed868ffdfebe912366604
[ "Apache-2.0" ]
null
null
null
lib/fizzy/execute.cpp
poemm/fizzy
f384303dc6b594bdf36ed868ffdfebe912366604
[ "Apache-2.0" ]
null
null
null
lib/fizzy/execute.cpp
poemm/fizzy
f384303dc6b594bdf36ed868ffdfebe912366604
[ "Apache-2.0" ]
null
null
null
// Fizzy: A fast WebAssembly interpreter // Copyright 2019-2020 The Fizzy Authors. // SPDX-License-Identifier: Apache-2.0 #include "execute.hpp" #include "limits.hpp" #include "stack.hpp" #include "types.hpp" #include <algorithm> #include <cassert> #include <cstring> #include <stack> namespace fizzy { namespace { str...
32.305226
100
0.560421
[ "vector" ]
1dcc21943e5d755eeb7d6a757803ae3865124343
10,153
cpp
C++
Reservation.cpp
LumpBloom7/vrBoothTicketing
3d939c0d577cfbdd8871b461cd2cf55ad8274a47
[ "MIT" ]
null
null
null
Reservation.cpp
LumpBloom7/vrBoothTicketing
3d939c0d577cfbdd8871b461cd2cf55ad8274a47
[ "MIT" ]
3
2018-06-17T09:05:02.000Z
2018-06-27T15:12:04.000Z
Reservation.cpp
LumpBloom7/vrBoothTicketing
3d939c0d577cfbdd8871b461cd2cf55ad8274a47
[ "MIT" ]
null
null
null
#include <chrono> #include <iomanip> #include <ctime> #include <cmath> #include <cstdlib> namespace booth { int guestCount = 0; class Reservation { public: Reservation() {} Reservation( std::chrono::system_clock::time_point &startTime, std::string &name, std::string &contactDetails, ...
45.529148
116
0.591057
[ "vector" ]
1dcd9f95795303c434b5ffac90833adfd8ab75bc
3,729
cpp
C++
opencamlib-read-only/src/geo/bbox.cpp
play113/swer
78764c67885dfacb1fa24e494a20681265f5254c
[ "MIT" ]
null
null
null
opencamlib-read-only/src/geo/bbox.cpp
play113/swer
78764c67885dfacb1fa24e494a20681265f5254c
[ "MIT" ]
null
null
null
opencamlib-read-only/src/geo/bbox.cpp
play113/swer
78764c67885dfacb1fa24e494a20681265f5254c
[ "MIT" ]
1
2020-07-04T13:58:00.000Z
2020-07-04T13:58:00.000Z
/* $Id: bbox.cpp 745 2011-05-16 10:32:25Z anders.e.e.wallin $ * * Copyright 2010 Anders Wallin (anders.e.e.wallin "at" gmail.com) * * This file is part of OpenCAMlib. * * OpenCAMlib is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published...
25.026846
78
0.537141
[ "vector" ]
1dcfce0b56c8ae89b086f9419975a58f717e831e
10,188
cpp
C++
pick_and_place/src/right_arm_pnp.cpp
mjclements/TRINA-WPI-2.0
aa060819522ed9010d20e9db0cf45b19f6b083af
[ "MIT" ]
null
null
null
pick_and_place/src/right_arm_pnp.cpp
mjclements/TRINA-WPI-2.0
aa060819522ed9010d20e9db0cf45b19f6b083af
[ "MIT" ]
null
null
null
pick_and_place/src/right_arm_pnp.cpp
mjclements/TRINA-WPI-2.0
aa060819522ed9010d20e9db0cf45b19f6b083af
[ "MIT" ]
null
null
null
#include <ros/ros.h> #include <ros/console.h> // MoveIt #include <moveit/planning_scene_interface/planning_scene_interface.h> #include <moveit/move_group_interface/move_group_interface.h> // TF2 #include <tf2_geometry_msgs/tf2_geometry_msgs.h> // Gazebo #include <gazebo_msgs/GetModelState.h> #include <gazebo_msgs/Set...
39.034483
110
0.697782
[ "object", "vector", "model" ]
1dd3bf58fdc5a22160765ce2443ed7d78e5135d6
5,080
hpp
C++
includes/eeros/hal/RealsenseT265.hpp
ClaudiaVisentin/eeros-framework
63739a2e33b0c5e9e573748fef675131c35181a6
[ "Apache-2.0" ]
null
null
null
includes/eeros/hal/RealsenseT265.hpp
ClaudiaVisentin/eeros-framework
63739a2e33b0c5e9e573748fef675131c35181a6
[ "Apache-2.0" ]
null
null
null
includes/eeros/hal/RealsenseT265.hpp
ClaudiaVisentin/eeros-framework
63739a2e33b0c5e9e573748fef675131c35181a6
[ "Apache-2.0" ]
null
null
null
#ifndef ORG_EEROS_HAL_REALSENSE_T265_HPP #define ORG_EEROS_HAL_REALSENSE_T265_HPP #include <eeros/core/Runnable.hpp> #include <eeros/control/TimeDomain.hpp> #include <eeros/logger/Logger.hpp> #include <eeros/core/Thread.hpp> #include <eeros/math/Matrix.hpp> #include <librealsense2/rs.hpp> #include <librealsense2/h/rs_...
36.028369
145
0.654134
[ "vector" ]
1dd523ecab1a011fc4be02270bb76ece07858a27
8,653
cxx
C++
Utilities/Xdmf2/vtk/vtkXdmfDataArray.cxx
certik/paraview
973d37b466552ce770ac0674f30040bb7e31d7fe
[ "BSD-3-Clause" ]
1
2016-05-09T00:36:44.000Z
2016-05-09T00:36:44.000Z
Utilities/Xdmf2/vtk/vtkXdmfDataArray.cxx
certik/paraview
973d37b466552ce770ac0674f30040bb7e31d7fe
[ "BSD-3-Clause" ]
null
null
null
Utilities/Xdmf2/vtk/vtkXdmfDataArray.cxx
certik/paraview
973d37b466552ce770ac0674f30040bb7e31d7fe
[ "BSD-3-Clause" ]
3
2015-05-14T21:18:53.000Z
2022-03-07T02:53:45.000Z
/*******************************************************************/ /* XDMF */ /* eXtensible Data Model and Format */ /* */ /* Id : $Id: vtkXdmfDataArray.cxx,v 1.3...
31.580292
78
0.525136
[ "shape", "model" ]
1b91de1e1f1ad994c712ceb8ab0d9c7477d1af6e
53,566
cpp
C++
src/TpMMPD/DIDRO/divers.cpp
kikislater/micmac
3009dbdad62b3ad906ec882b74b85a3db86ca755
[ "CECILL-B" ]
451
2016-11-25T09:40:28.000Z
2022-03-30T04:20:42.000Z
src/TpMMPD/DIDRO/divers.cpp
kikislater/micmac
3009dbdad62b3ad906ec882b74b85a3db86ca755
[ "CECILL-B" ]
143
2016-11-25T20:35:57.000Z
2022-03-01T11:58:02.000Z
src/TpMMPD/DIDRO/divers.cpp
kikislater/micmac
3009dbdad62b3ad906ec882b74b85a3db86ca755
[ "CECILL-B" ]
139
2016-12-02T10:26:21.000Z
2022-03-10T19:40:29.000Z
/*Header-MicMac-eLiSe-25/06/2007 MicMac : Multi Image Correspondances par Methodes Automatiques de Correlation eLiSe : ELements of an Image Software Environnement www.micmac.ign.fr Copyright : Institut Geographique National Author : Marc Pierrot Deseilligny Contributors : Gregoire Maillet, ...
32.662195
216
0.562148
[ "geometry", "object", "shape", "vector", "model", "3d" ]
1b958c36b5447628ac864189bb0b466dfa22ab9a
13,955
cpp
C++
plugins/protein/src/SolPathDataSource.cpp
masrice/megamol
d48fc4889f500528609053a5445202a9c0f6e5fb
[ "BSD-3-Clause" ]
49
2017-08-23T13:24:24.000Z
2022-03-16T09:10:58.000Z
plugins/protein/src/SolPathDataSource.cpp
masrice/megamol
d48fc4889f500528609053a5445202a9c0f6e5fb
[ "BSD-3-Clause" ]
200
2018-07-20T15:18:26.000Z
2022-03-31T11:01:44.000Z
plugins/protein/src/SolPathDataSource.cpp
masrice/megamol
d48fc4889f500528609053a5445202a9c0f6e5fb
[ "BSD-3-Clause" ]
31
2017-07-31T16:19:29.000Z
2022-02-14T23:41:03.000Z
/* * SolPathRenderer.cpp * * Copyright (C) 2010 by VISUS (University of Stuttgart) * Alle Rechte vorbehalten. */ #include "stdafx.h" #define _USE_MATH_DEFINES 1 #include "SolPathDataSource.h" #include "mmcore/param/BoolParam.h" #include "mmcore/param/FilePathParam.h" #include "mmcore/param/FloatParam.h" #include "...
33.305489
119
0.564815
[ "vector" ]
1b9607e0783072eb2f24919364d48f8092e350d6
7,539
hpp
C++
physics/oblate_body_body.hpp
madman2003/Principia
c757f840f5278ca3480799cee297238697868283
[ "MIT" ]
null
null
null
physics/oblate_body_body.hpp
madman2003/Principia
c757f840f5278ca3480799cee297238697868283
[ "MIT" ]
null
null
null
physics/oblate_body_body.hpp
madman2003/Principia
c757f840f5278ca3480799cee297238697868283
[ "MIT" ]
null
null
null
 #pragma once #include "physics/oblate_body.hpp" #include <algorithm> #include <set> #include <vector> #include "astronomy/epoch.hpp" #include "numerics/legendre_normalization_factor.mathematica.h" #include "quantities/constants.hpp" #include "quantities/quantities.hpp" #include "quantities/si.hpp" namespace princ...
33.506667
80
0.698899
[ "geometry", "vector" ]
1b980e95635b665985d3fa146bc424c1664dda75
36,695
cpp
C++
src/lapack_like/perm/DistPermutation.cpp
jeffhammond/Elemental
a9e6236ce9d92dd56c7d3cd5ffd52f796a35cd0c
[ "Apache-2.0" ]
null
null
null
src/lapack_like/perm/DistPermutation.cpp
jeffhammond/Elemental
a9e6236ce9d92dd56c7d3cd5ffd52f796a35cd0c
[ "Apache-2.0" ]
null
null
null
src/lapack_like/perm/DistPermutation.cpp
jeffhammond/Elemental
a9e6236ce9d92dd56c7d3cd5ffd52f796a35cd0c
[ "Apache-2.0" ]
null
null
null
/* Copyright (c) 2009-2016, Jack Poulson All rights reserved. This file is part of Elemental and is under the BSD 2-Clause License, which can be found in the LICENSE file in the root directory, or at http://opensource.org/licenses/BSD-2-Clause */ #include <El.hpp> namespace El { namespace { templat...
29.26236
80
0.576373
[ "vector" ]
1b9ad00da23dfb15e6ab05ad62344e9ddff78bbe
1,700
cpp
C++
tests/map_impl/move.cpp
sugawaray/filemanager
3dcb908d4c1e0c36de0c60e1b2e1291eec986cb1
[ "MIT" ]
null
null
null
tests/map_impl/move.cpp
sugawaray/filemanager
3dcb908d4c1e0c36de0c60e1b2e1291eec986cb1
[ "MIT" ]
null
null
null
tests/map_impl/move.cpp
sugawaray/filemanager
3dcb908d4c1e0c36de0c60e1b2e1291eec986cb1
[ "MIT" ]
null
null
null
#include <algorithm> #include <iterator> #include <string> #include <vector> #include "fixture/move_copy.h" #include "move.h" #include <map_impl.h> #include <tests/fixture/db.h> using namespace ml; using std::function; using std::string; using ::test::Db_fixture; using map_impl::test::Move_copy_fixture; namespace { ...
20.238095
63
0.793529
[ "vector" ]
1b9ae230f7f3b2483703822478db3ad7739e6116
12,429
cpp
C++
esphome/components/max7219digit/max7219digit.cpp
OttoWinter/esphomeyaml
6a85259e4d6d1b0a0f819688b8e555efcb99ecb0
[ "MIT" ]
249
2018-04-07T12:04:11.000Z
2019-01-25T01:11:34.000Z
esphome/components/max7219digit/max7219digit.cpp
OttoWinter/esphomeyaml
6a85259e4d6d1b0a0f819688b8e555efcb99ecb0
[ "MIT" ]
243
2018-04-11T16:37:11.000Z
2019-01-25T16:50:37.000Z
esphome/components/max7219digit/max7219digit.cpp
OttoWinter/esphomeyaml
6a85259e4d6d1b0a0f819688b8e555efcb99ecb0
[ "MIT" ]
40
2018-04-10T05:50:14.000Z
2019-01-25T15:20:36.000Z
#include "max7219digit.h" #include "esphome/core/log.h" #include "esphome/core/helpers.h" #include "esphome/core/hal.h" #include "max7219font.h" namespace esphome { namespace max7219digit { static const char *const TAG = "max7219DIGIT"; static const uint8_t MAX7219_REGISTER_NOOP = 0x00; static const uint8_t MAX7219_...
37.101493
118
0.669965
[ "vector" ]
1ba96d199a9825a5a668599bbe0de601dd4bc6d5
898
cpp
C++
207.cpp
zhangchbin/LeetRecord
7f377b1a61e8f2a6fd86d028911c2722c1d03650
[ "MIT" ]
1
2020-09-12T07:38:23.000Z
2020-09-12T07:38:23.000Z
207.cpp
zhangchbin/LeetRecord
7f377b1a61e8f2a6fd86d028911c2722c1d03650
[ "MIT" ]
1
2020-09-12T07:38:27.000Z
2020-09-12T07:40:26.000Z
207.cpp
zhangchbin/LeetRecord
7f377b1a61e8f2a6fd86d028911c2722c1d03650
[ "MIT" ]
null
null
null
class Solution { public: bool canFinish(int numCourses, vector<vector<int>>& prerequisites) { int inside[numCourses]; memset(inside, 0, sizeof(inside)); vector<vector<int> > vec; for(int i = 0; i< numCourses; i++) vec.push_back(vector<int>{}); for(int i = 0; i < prer...
28.967742
72
0.46882
[ "vector" ]
1babbdb93bc2703ed8e773f1d9b1cabe4e1f972f
27,021
hpp
C++
include/TGUI/Components.hpp
texus/TGUI
87042f5dfafe9421d8a916b23ce7575d16f06d4c
[ "Zlib" ]
543
2015-01-03T22:53:59.000Z
2022-03-25T08:55:45.000Z
include/TGUI/Components.hpp
texus/TGUI
87042f5dfafe9421d8a916b23ce7575d16f06d4c
[ "Zlib" ]
118
2015-01-21T12:22:58.000Z
2022-03-31T17:05:33.000Z
include/TGUI/Components.hpp
texus/TGUI
87042f5dfafe9421d8a916b23ce7575d16f06d4c
[ "Zlib" ]
111
2015-02-02T13:22:13.000Z
2022-03-31T08:09:40.000Z
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // TGUI - Texus' Graphical User Interface // Copyright (C) 2012-2021 Bruno Van de Velde (vdv_b@tgui.eu) // // This software is provided 'as-is', without any express or implied warranty. /...
37.950843
201
0.56197
[ "object", "vector" ]
1bae6431d55c2513b9cfa4c5bcb134f31b56210c
10,391
cpp
C++
sort_timing.cpp
dion-w-pieterse/cpsc-335-algorithm-engineering-cf-vs-ec
2f3fab2b4522bfb8e525ed49712c76986760b874
[ "MIT" ]
null
null
null
sort_timing.cpp
dion-w-pieterse/cpsc-335-algorithm-engineering-cf-vs-ec
2f3fab2b4522bfb8e525ed49712c76986760b874
[ "MIT" ]
null
null
null
sort_timing.cpp
dion-w-pieterse/cpsc-335-algorithm-engineering-cf-vs-ec
2f3fab2b4522bfb8e525ed49712c76986760b874
[ "MIT" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////// // sort_timing.cpp // // Example code showing how to run each algorithm while measuring // elapsed times precisely. You should modify this program to gather // all of your experimental data. // //////////////////////////////////////////////...
36.332168
84
0.527187
[ "vector" ]
1baffbfaeeaf307ee16051debcae4822af6ecadc
5,007
cpp
C++
src/qoiconv.cpp
wx257osn2/qoixx
ef734e0d21fc34d148e4a24b1b4e5d72a0f26e5d
[ "MIT" ]
3
2022-02-22T16:26:43.000Z
2022-03-29T01:12:25.000Z
src/qoiconv.cpp
wx257osn2/qoixx
ef734e0d21fc34d148e4a24b1b4e5d72a0f26e5d
[ "MIT" ]
1
2022-02-20T15:42:39.000Z
2022-02-20T15:42:39.000Z
src/qoiconv.cpp
wx257osn2/qoixx
ef734e0d21fc34d148e4a24b1b4e5d72a0f26e5d
[ "MIT" ]
null
null
null
#if defined(__GNUC__) #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wmissing-field-initializers" #elif defined(_MSC_VER) #define _CRT_SECURE_NO_WARNINGS #pragma warning(push) #pragma warning(disable: 4820 4365 4505) #endif #define STB_IMAGE_IMPLEMENTATION #define STBI_ONLY_PNG #define STBI_NO_LINEAR #inc...
33.15894
123
0.660875
[ "vector" ]
1bbdd28f2cc658105b09cd8fba8059b15974e33e
11,955
cc
C++
src/modular/bin/sessionmgr/puppet_master/story_puppet_master_impl.cc
opensource-assist/fuschia
66646c55b3d0b36aae90a4b6706b87f1a6261935
[ "BSD-3-Clause" ]
3
2020-08-02T04:46:18.000Z
2020-08-07T10:10:53.000Z
src/modular/bin/sessionmgr/puppet_master/story_puppet_master_impl.cc
opensource-assist/fuschia
66646c55b3d0b36aae90a4b6706b87f1a6261935
[ "BSD-3-Clause" ]
null
null
null
src/modular/bin/sessionmgr/puppet_master/story_puppet_master_impl.cc
opensource-assist/fuschia
66646c55b3d0b36aae90a4b6706b87f1a6261935
[ "BSD-3-Clause" ]
1
2020-08-07T10:11:49.000Z
2020-08-07T10:11:49.000Z
// Copyright 2018 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/modular/bin/sessionmgr/puppet_master/story_puppet_master_impl.h" #include <utility> #include "src/lib/fsl/types/type_converters.h" #include...
40.941781
99
0.654203
[ "vector" ]
1bbe310194f76ce2abd3c47a0fa0e18b97eff31b
920
hpp
C++
include/pacman/GhostModeTimer.hpp
197708156EQUJ5/pacman
8cfc42feaf741c33e65bbf36c7e9888ef625d1fc
[ "MIT" ]
1
2021-10-31T18:23:06.000Z
2021-10-31T18:23:06.000Z
include/pacman/GhostModeTimer.hpp
197708156EQUJ5/pacman
8cfc42feaf741c33e65bbf36c7e9888ef625d1fc
[ "MIT" ]
10
2020-12-14T22:04:27.000Z
2020-12-17T22:50:32.000Z
include/pacman/GhostModeTimer.hpp
197708156EQUJ5/pacman
8cfc42feaf741c33e65bbf36c7e9888ef625d1fc
[ "MIT" ]
null
null
null
#pragma once #include "pacman/GhostMode.hpp" #include <atomic> #include <chrono> #include <cstdint> #include <functional> #include <utility> #include <vector> namespace pacman { class GhostModeTimer { public: GhostModeTimer(std::vector<std::pair<int, GhostMode>> transitionDelays, std::function<void(GhostMode)>...
20.909091
128
0.713043
[ "vector" ]
1bc110bacc669674c1aabda282051934a25355d6
3,562
cxx
C++
src/io/UringOpenStat.cxx
CM4all/beng-proxy
ce5a81f7969bc5cb6c5985cdc98f61ef8b5c6159
[ "BSD-2-Clause" ]
35
2017-08-16T06:52:26.000Z
2022-03-27T21:49:01.000Z
src/io/UringOpenStat.cxx
nn6n/beng-proxy
2cf351da656de6fbace3048ee90a8a6a72f6165c
[ "BSD-2-Clause" ]
2
2017-12-22T15:34:23.000Z
2022-03-08T04:15:23.000Z
src/io/UringOpenStat.cxx
nn6n/beng-proxy
2cf351da656de6fbace3048ee90a8a6a72f6165c
[ "BSD-2-Clause" ]
8
2017-12-22T15:11:47.000Z
2022-03-15T22:54:04.000Z
/* * Copyright 2007-2021 CM4all GmbH * All rights reserved. * * author: Max Kellermann <mk@cm4all.com> * * 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 abo...
31.522124
74
0.735542
[ "object" ]
1bc66474d0dce92dda6bdc09297da855b4558711
1,555
cpp
C++
three/extras/geometries/impl/octahedron_geometries.cpp
Graphics-Physics-Libraries/three-cpp-works-imported
9df305135187c5db9247a44537290e181350e26c
[ "MIT" ]
4
2016-08-09T21:56:43.000Z
2020-10-16T16:39:53.000Z
three/extras/geometries/impl/octahedron_geometries.cpp
Graphics-Physics-Libraries/three-cpp-works-imported
9df305135187c5db9247a44537290e181350e26c
[ "MIT" ]
null
null
null
three/extras/geometries/impl/octahedron_geometries.cpp
Graphics-Physics-Libraries/three-cpp-works-imported
9df305135187c5db9247a44537290e181350e26c
[ "MIT" ]
1
2019-09-07T06:45:35.000Z
2019-09-07T06:45:35.000Z
#ifndef THREE_EXTRA_OCTAHEDRON_GEOMETRY_CPP #define THREE_EXTRA_OCTAHEDRON_GEOMETRY_CPP #include <three/core/geometry.h> #include <three/extras/geometries/octahedron_geometry.h> #include <three/extras/geometries/polyhedron_geometry.h> #include <three/utils/conversion.h> namespace three { OctahedronGeometry::Ptr Oc...
34.555556
80
0.690675
[ "geometry", "vector" ]
1bc99efc6a17815eca41d717c34dab6948f8488b
26,050
cc
C++
garnet/lib/system_monitor/dockyard/dockyard.cc
bootingman/fuchsia2
04012f0aa1edd1d4108a2ac647a65e59730fc4c2
[ "BSD-3-Clause" ]
1
2019-10-09T10:50:57.000Z
2019-10-09T10:50:57.000Z
garnet/lib/system_monitor/dockyard/dockyard.cc
bootingman/fuchsia2
04012f0aa1edd1d4108a2ac647a65e59730fc4c2
[ "BSD-3-Clause" ]
null
null
null
garnet/lib/system_monitor/dockyard/dockyard.cc
bootingman/fuchsia2
04012f0aa1edd1d4108a2ac647a65e59730fc4c2
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2018 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "garnet/lib/system_monitor/dockyard/dockyard.h" #include <grpc++/grpc++.h> #include <chrono> #include <iostream> #include <memory> #include <str...
35.298103
80
0.655969
[ "vector" ]
1bca2baa0c3d41a35f23332f04ebf9c3bf8c1ad6
2,464
cc
C++
Filters/src/BunchIntensityFilter_module.cc
NamithaChitrazee/Offline-1
bcb6c74954f95dd48433d79a69d3ef3bdb99022e
[ "Apache-2.0" ]
null
null
null
Filters/src/BunchIntensityFilter_module.cc
NamithaChitrazee/Offline-1
bcb6c74954f95dd48433d79a69d3ef3bdb99022e
[ "Apache-2.0" ]
null
null
null
Filters/src/BunchIntensityFilter_module.cc
NamithaChitrazee/Offline-1
bcb6c74954f95dd48433d79a69d3ef3bdb99022e
[ "Apache-2.0" ]
null
null
null
// // Filter for selecting events with a mu-bunch intensity above a given threshold // Original author: G. Pezzullo // // framework #include "art/Framework/Core/EDFilter.h" #include "art/Framework/Principal/Event.h" #include "art/Framework/Principal/Handle.h" #include "Offline/RecoDataProducts/inc/TrkFitFlag.hh" #inc...
30.04878
164
0.6875
[ "vector" ]
1bcd92f7af69159db34501c735674b9025f18127
822
cpp
C++
Dataset/Leetcode/test/66/243.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/test/66/243.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/test/66/243.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution { public: vector<int> XXX(vector<int>& digits) { bool add=0;//进位数据 int i=digits.size()-1;//遍历数组的下标 if(digits[i]==9){//如果遍历到9,就变成0且进位数据为1 digits[i--]=0; add=1; }else digits[i]++;//如果不是就末尾加一 while(i>-1&&add){//如果进位为1且数组下标没有越界,下标往前遍历 ...
26.516129
139
0.489051
[ "vector" ]
1bcd9c408dfbb140550b12fa871a6e82d198e73b
1,787
cpp
C++
random/permutations.cpp
ChaoticCooties/cses
afe785306a9bd546aee9f46dd8649cfe2666fc4c
[ "MIT" ]
null
null
null
random/permutations.cpp
ChaoticCooties/cses
afe785306a9bd546aee9f46dd8649cfe2666fc4c
[ "MIT" ]
null
null
null
random/permutations.cpp
ChaoticCooties/cses
afe785306a9bd546aee9f46dd8649cfe2666fc4c
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #define ll long long #define pb push_back #define mp make_pair #define endl '\n' #define fast ios_base::sync_with_stdio(false), cin.tie(0), cout.tie(0); #define MOD 1000000007 using namespace std; void fastscan(int &number) { // variable to indicate sign of input number bool...
20.77907
74
0.603805
[ "vector" ]
1bd89f59df0db6c2c40b2162bf4763954e16c440
742
hpp
C++
mia/medium/medium.hpp
CasualPokePlayer/ares
58690cd5fc7bb6566c22935c5b80504a158cca29
[ "BSD-3-Clause" ]
153
2020-07-25T17:55:29.000Z
2021-10-01T23:45:01.000Z
mia/medium/medium.hpp
CasualPokePlayer/ares
58690cd5fc7bb6566c22935c5b80504a158cca29
[ "BSD-3-Clause" ]
176
2020-07-25T19:11:23.000Z
2021-10-04T17:11:32.000Z
mia/medium/medium.hpp
CasualPokePlayer/ares
58690cd5fc7bb6566c22935c5b80504a158cca29
[ "BSD-3-Clause" ]
44
2020-07-25T08:51:55.000Z
2021-09-25T16:09:01.000Z
struct Database { string name; Markup::Node list; }; struct Medium : Pak { static auto create(string name) -> shared_pointer<Pak>; auto manifestDatabase(string sha256) -> string; string sha256; }; struct Cartridge : Medium { auto type() -> string override { return "Cartridge"; } }; struct CompactDisc : ...
26.5
70
0.692722
[ "vector" ]
1bd9baee898f918f4be2d5489e8efb78f7355c02
2,757
cc
C++
src/WorkerSession.cc
IMCG/RamCloud
dad96cf34d330608acb43b009d12949ed2d938f4
[ "0BSD" ]
1
2021-12-06T01:24:22.000Z
2021-12-06T01:24:22.000Z
src/WorkerSession.cc
behnamm/cs244b_project
957e8b3979e4ca24814edd73254cc4c69ea14126
[ "0BSD" ]
null
null
null
src/WorkerSession.cc
behnamm/cs244b_project
957e8b3979e4ca24814edd73254cc4c69ea14126
[ "0BSD" ]
1
2021-12-06T01:24:22.000Z
2021-12-06T01:24:22.000Z
/* Copyright (c) 2012 Stanford University * * Permission to use, copy, modify, and distribute this software for any purpose * with or without fee is hereby granted, provided that the above copyright * notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR(S) DI...
29.967391
80
0.725426
[ "object" ]