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
d1d2564dd6ae40f89cffdc3ff37d830d93ea9aa6
1,782
hpp
C++
src/pir_client.hpp
duanbing/SealPIR
fa50c570011df61fcdd0409e36595d897a9795ac
[ "MIT" ]
7
2022-01-12T11:52:40.000Z
2022-03-31T23:35:16.000Z
src/pir_client.hpp
abeams/SealPIR
63c3cf0edff77374d304f7a56b561635b9839356
[ "MIT" ]
null
null
null
src/pir_client.hpp
abeams/SealPIR
63c3cf0edff77374d304f7a56b561635b9839356
[ "MIT" ]
1
2022-03-02T07:14:03.000Z
2022-03-02T07:14:03.000Z
#pragma once #include "pir.hpp" #include <memory> #include <vector> using namespace std; class PIRClient { public: PIRClient(const seal::EncryptionParameters &encparms, const PirParams &pirparams); PirQuery generate_query(std::uint64_t desiredIndex); // Serializes the query into the pr...
31.263158
118
0.731762
[ "vector" ]
d1d8969a0d95f1ba415c790c52d8bb7a87f11cda
16,853
cpp
C++
EBYTE.cpp
MxFxM/EBYTE
5628efee248669aacbbeb3aba545e2dc6ace6810
[ "MIT" ]
null
null
null
EBYTE.cpp
MxFxM/EBYTE
5628efee248669aacbbeb3aba545e2dc6ace6810
[ "MIT" ]
null
null
null
EBYTE.cpp
MxFxM/EBYTE
5628efee248669aacbbeb3aba545e2dc6ace6810
[ "MIT" ]
null
null
null
/* Original code by: Kris Kasprzak kris.kasprzak@yahoo.com Modified by: Max-Felix Mueller mxfxmmueller@gmail.com This library is intended to be used with EBYTE transcievers, small wireless units for MCU's such as Teensy and Arduino. This library let's users program the operating parameters and both send ...
24.74743
207
0.658043
[ "object", "model" ]
d1e506c8b5efd35f1cad921cca137c95767309da
142,620
cpp
C++
abcd/ABC_Tx.cpp
lclc/airbitz-core
372e01807e36bc37ed63fdd76805c6165be9c08e
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
abcd/ABC_Tx.cpp
lclc/airbitz-core
372e01807e36bc37ed63fdd76805c6165be9c08e
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
abcd/ABC_Tx.cpp
lclc/airbitz-core
372e01807e36bc37ed63fdd76805c6165be9c08e
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
/** * @file * AirBitz Tx functions. * * This file contains all of the functions associated with transaction creation, * viewing and modification. * * Copyright (c) 2014, Airbitz * All rights reserved. * * Redistribution and use in source and binary forms are permitted provided that * the following condit...
34.55779
198
0.645393
[ "object" ]
d1ec0ae25c53da65415160e3dabb603c391dc01f
248,630
cxx
C++
AutoSeg/Gui/AutoSeg/AutoSegGUIControls.cxx
NIRALUser/AutoSeg
3a0c7b898da93633e177b78c86b1371561608484
[ "Apache-2.0" ]
4
2016-01-12T14:41:41.000Z
2018-11-23T17:01:37.000Z
AutoSeg/Gui/AutoSeg/AutoSegGUIControls.cxx
NIRALUser/AutoSeg
3a0c7b898da93633e177b78c86b1371561608484
[ "Apache-2.0" ]
4
2015-03-18T19:38:13.000Z
2019-03-28T15:52:07.000Z
AutoSeg/Gui/AutoSeg/AutoSegGUIControls.cxx
NIRALUser/AutoSeg
3a0c7b898da93633e177b78c86b1371561608484
[ "Apache-2.0" ]
null
null
null
/*========================================================================= Program: AutoSeg Module: $RCSfile: AutoSegGUIControls.cxx,v $ Language: C++ Date: $Date: 2011/04/19 08:04:40 $ Version: $Revision: 1.25 $ Author: Clement Vachet Copyright (c) 2004 NeuroImaging Lab @ UNC. All righ...
31.871555
605
0.666878
[ "shape", "vector", "transform" ]
d1f48fe13b0fd9c34c050ae69ba4c34c3b987a44
593
cpp
C++
codeforces/237a.free-cash/237a.cpp
KayvanMazaheri/acm
aeb05074bc9b9c92f35b6a741183da09a08af85d
[ "MIT" ]
3
2018-01-19T14:09:23.000Z
2018-02-01T00:40:55.000Z
codeforces/237a.free-cash/237a.cpp
KayvanMazaheri/acm
aeb05074bc9b9c92f35b6a741183da09a08af85d
[ "MIT" ]
null
null
null
codeforces/237a.free-cash/237a.cpp
KayvanMazaheri/acm
aeb05074bc9b9c92f35b6a741183da09a08af85d
[ "MIT" ]
null
null
null
// K1 // :) #include <iostream> #include <algorithm> #include <vector> #include <queue> #include <bitset> #include <string> #include <cmath> #include <iomanip> #define MAXN (int(100)) #define EPS 1e-8 #define PI 3.141592653589793 #define point pair <int , int> #define X first #define Y second #define FX(x) fixed << s...
14.463415
40
0.610455
[ "vector" ]
d1feb5f8676f8ad23d33085dd13577c93a385027
887
cpp
C++
src/main.cpp
Chabam/rt-engine
318b6b9e9dd4ca61c3c44c7cfebdda528ab96588
[ "MIT" ]
null
null
null
src/main.cpp
Chabam/rt-engine
318b6b9e9dd4ca61c3c44c7cfebdda528ab96588
[ "MIT" ]
null
null
null
src/main.cpp
Chabam/rt-engine
318b6b9e9dd4ca61c3c44c7cfebdda528ab96588
[ "MIT" ]
null
null
null
#include "engine/engine.h" #include "logger/logger.h" #include "object/cube.h" #include "object/vertice.h" #include <array> #include <stdexcept> #include <vector> int main(void) { // clang-format off Engine engine( Shader("../src/shaders/shader.vert", "../src/shaders/shader.frag") ); // clang-...
22.74359
98
0.574972
[ "mesh", "object", "vector" ]
0603b77bf3e4863610f69846581ea917c0962f5c
3,996
hpp
C++
libpldmresponder/base.hpp
raviteja-b/pldm
413866955ff9b3dca362d8f9c7a77cd7670f37dc
[ "Apache-2.0" ]
9
2019-06-25T11:08:15.000Z
2021-12-09T23:11:10.000Z
libpldmresponder/base.hpp
raviteja-b/pldm
413866955ff9b3dca362d8f9c7a77cd7670f37dc
[ "Apache-2.0" ]
59
2021-08-11T12:03:06.000Z
2022-03-29T13:49:53.000Z
libpldmresponder/base.hpp
raviteja-b/pldm
413866955ff9b3dca362d8f9c7a77cd7670f37dc
[ "Apache-2.0" ]
139
2021-06-17T19:37:13.000Z
2022-03-30T10:58:05.000Z
#pragma once #include "libpldm/base.h" #include "libpldmresponder/platform.hpp" #include "pldmd/handler.hpp" #include "requester/handler.hpp" #include <stdint.h> #include <sdeventplus/source/event.hpp> #include <vector> using namespace pldm::dbus_api; using namespace pldm::responder; namespace pldm { namespace r...
33.3
80
0.642142
[ "object", "vector" ]
0605d6b9546d84766349329f97baae1df478055c
2,497
hpp
C++
libs/common/obj_utils.hpp
alohamora/iroha
aa8be2c62fedaa2de08f94f2d920275ad9ae8ba7
[ "Apache-2.0" ]
null
null
null
libs/common/obj_utils.hpp
alohamora/iroha
aa8be2c62fedaa2de08f94f2d920275ad9ae8ba7
[ "Apache-2.0" ]
null
null
null
libs/common/obj_utils.hpp
alohamora/iroha
aa8be2c62fedaa2de08f94f2d920275ad9ae8ba7
[ "Apache-2.0" ]
null
null
null
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #ifndef IROHA_COMMON_OBJ_UTILS_HPP #define IROHA_COMMON_OBJ_UTILS_HPP #include <optional> namespace iroha { /** * Create map get function for value retrieval by key * @tparam K - map key type * @tparam V ...
28.05618
76
0.643973
[ "object" ]
06064d59d997a0a4bf2f26e2718d1d6a1f6396e5
622
cc
C++
kattis/turbo.cc
Ashindustry007/competitive-programming
2eabd3975c029d235abb7854569593d334acae2f
[ "WTFPL" ]
506
2018-08-22T10:30:38.000Z
2022-03-31T10:01:49.000Z
kattis/turbo.cc
Ashindustry007/competitive-programming
2eabd3975c029d235abb7854569593d334acae2f
[ "WTFPL" ]
13
2019-08-07T18:31:18.000Z
2020-12-15T21:54:41.000Z
kattis/turbo.cc
Ashindustry007/competitive-programming
2eabd3975c029d235abb7854569593d334acae2f
[ "WTFPL" ]
234
2018-08-06T17:11:41.000Z
2022-03-26T10:56:42.000Z
// https://open.kattis.com/problems/turbo #include<bits/stdc++.h> #include<ext/pb_ds/assoc_container.hpp> using namespace std; using namespace __gnu_pbds; using vi=vector<int>; using si=tree<int,null_type,less<int>,rb_tree_tag,tree_order_statistics_node_update>; int main(){ ios::sync_with_stdio(0); cin.tie(0); in...
22.214286
85
0.615756
[ "vector" ]
060af1b83bee83b8131eef1becbb240bd130d690
1,304
cc
C++
cpp_tests/linalg/sparse_vector_test.cc
lindong28/clink
c8c9cd0b63c73850a93394666bd1c8feb605710f
[ "Apache-2.0" ]
null
null
null
cpp_tests/linalg/sparse_vector_test.cc
lindong28/clink
c8c9cd0b63c73850a93394666bd1c8feb605710f
[ "Apache-2.0" ]
null
null
null
cpp_tests/linalg/sparse_vector_test.cc
lindong28/clink
c8c9cd0b63c73850a93394666bd1c8feb605710f
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2021 The Clink Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
27.744681
75
0.703988
[ "vector" ]
060d3afa5f934956fb61fbe3d155dd9bfad0d5c2
11,034
cc
C++
modules/paxmon/src/reroute.cc
alexandersinkovic/motis
e4a0af04b4c934b8361401b1164db81bec5f1e6b
[ "MIT" ]
null
null
null
modules/paxmon/src/reroute.cc
alexandersinkovic/motis
e4a0af04b4c934b8361401b1164db81bec5f1e6b
[ "MIT" ]
1
2022-03-16T11:44:06.000Z
2022-03-16T11:44:06.000Z
modules/paxmon/src/reroute.cc
Kingforce01/motis
e4a0af04b4c934b8361401b1164db81bec5f1e6b
[ "MIT" ]
null
null
null
#include "motis/paxmon/reroute.h" #include <algorithm> #include <iostream> #include <optional> #include <set> #include "utl/enumerate.h" #include "utl/erase.h" #include "utl/pairwise.h" #include "utl/to_vec.h" #include "utl/verify.h" #include "motis/core/access/edge_access.h" #include "motis/core/access/station_acce...
32.64497
80
0.62389
[ "vector" ]
060f06ce4c68fb3e359fcd50cc5853b2c6f474d4
8,471
cpp
C++
ewsclient/ewssyncfolderitemsrequest.cpp
KrissN/akonadi-ews
05ce7e24547fbdb559de55dabda86d337716cfba
[ "RSA-MD" ]
122
2016-03-01T12:53:43.000Z
2021-11-06T21:14:21.000Z
ewsclient/ewssyncfolderitemsrequest.cpp
KrissN/akonadi-ews
05ce7e24547fbdb559de55dabda86d337716cfba
[ "RSA-MD" ]
54
2016-05-02T10:05:47.000Z
2022-02-01T18:10:38.000Z
ewsclient/ewssyncfolderitemsrequest.cpp
KrissN/akonadi-ews
05ce7e24547fbdb559de55dabda86d337716cfba
[ "RSA-MD" ]
17
2016-05-18T21:02:08.000Z
2022-01-27T20:33:26.000Z
/* This file is part of Akonadi EWS Resource Copyright (C) 2015-2017 Krzysztof Nowicki <krissn@op.pl> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of ...
32.087121
134
0.685751
[ "shape" ]
061112156a3eac1a5cce96f4739a4b8e55b6a8d5
6,623
hpp
C++
redemption/src/transport/crypto_transport.hpp
DianaAssistant/DIANA
6a4c51c1861f6a936941b21c2c905fc291c229d7
[ "MIT" ]
null
null
null
redemption/src/transport/crypto_transport.hpp
DianaAssistant/DIANA
6a4c51c1861f6a936941b21c2c905fc291c229d7
[ "MIT" ]
null
null
null
redemption/src/transport/crypto_transport.hpp
DianaAssistant/DIANA
6a4c51c1861f6a936941b21c2c905fc291c229d7
[ "MIT" ]
null
null
null
/* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it w...
30.242009
174
0.6947
[ "vector" ]
06155ec503ac038a1f57f3ec4d3c00debe1554b6
2,953
cpp
C++
depends/tinythreadpp/tests/future.cpp
asmodehn/WkCore
bb630656c6184ec27591d3ca0d3b18983845b567
[ "BSD-2-Clause" ]
4
2016-01-24T00:25:36.000Z
2019-05-31T09:14:40.000Z
depends/tinythreadpp/tests/future.cpp
asmodehn/WkCore
bb630656c6184ec27591d3ca0d3b18983845b567
[ "BSD-2-Clause" ]
null
null
null
depends/tinythreadpp/tests/future.cpp
asmodehn/WkCore
bb630656c6184ec27591d3ca0d3b18983845b567
[ "BSD-2-Clause" ]
null
null
null
/* Copyright (c) 2012 Jared Duke This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and t...
27.091743
78
0.563495
[ "vector" ]
0617028a605c796243b4983ba9cc946b8ffbc695
1,073
cpp
C++
src/Entity/Impl/Multimedia.cpp
Allaeddineattia/Valravn
7afa00bfe3c6f0c8357209601a67508a35b466b5
[ "MIT" ]
null
null
null
src/Entity/Impl/Multimedia.cpp
Allaeddineattia/Valravn
7afa00bfe3c6f0c8357209601a67508a35b466b5
[ "MIT" ]
null
null
null
src/Entity/Impl/Multimedia.cpp
Allaeddineattia/Valravn
7afa00bfe3c6f0c8357209601a67508a35b466b5
[ "MIT" ]
2
2021-05-07T20:35:55.000Z
2021-07-08T15:14:43.000Z
// // Created by alro on 18‏/10‏/2020. // #include "Entity/Contract/Multimedia.h" unsigned int Multimedia::getId() const { return id; } string_view Multimedia::getPath() const { return path; } size_t Multimedia::getSize() const { return size; } string_view Multimedia::getMimeType() const { return m...
23.326087
114
0.562908
[ "vector" ]
0618d3838aba4c9414a4dbe3cead71937fe4a37b
5,560
hpp
C++
src/include/migraphx/op/deconvolution.hpp
raramakr/AMDMIGraphX
83e7425367f6ce850ec28fe716fe7c23ce34c79f
[ "MIT" ]
72
2018-12-06T18:31:17.000Z
2022-03-30T15:01:02.000Z
src/include/migraphx/op/deconvolution.hpp
raramakr/AMDMIGraphX
83e7425367f6ce850ec28fe716fe7c23ce34c79f
[ "MIT" ]
1,006
2018-11-30T16:32:33.000Z
2022-03-31T22:43:39.000Z
src/include/migraphx/op/deconvolution.hpp
raramakr/AMDMIGraphX
83e7425367f6ce850ec28fe716fe7c23ce34c79f
[ "MIT" ]
36
2019-05-07T10:41:46.000Z
2022-03-28T15:59:56.000Z
#ifndef MIGRAPHX_GUARD_OPERATORS_DECONVOLUTION_HPP #define MIGRAPHX_GUARD_OPERATORS_DECONVOLUTION_HPP #include <array> #include <migraphx/op/common.hpp> #include <migraphx/check_shapes.hpp> #include <migraphx/stringutils.hpp> #include <migraphx/streamutils.hpp> #include <migraphx/literal.hpp> #include <migraphx/shape_...
34.320988
100
0.513849
[ "shape", "vector" ]
0619fd9a91f5e4f2ab8afbac4ae86f38fb954efb
6,929
hpp
C++
src/kernel/lib/yask.hpp
gperrotta/yask
a35aa5a6f52bb5a11c182045c469a55a84fa9b36
[ "MIT" ]
null
null
null
src/kernel/lib/yask.hpp
gperrotta/yask
a35aa5a6f52bb5a11c182045c469a55a84fa9b36
[ "MIT" ]
null
null
null
src/kernel/lib/yask.hpp
gperrotta/yask
a35aa5a6f52bb5a11c182045c469a55a84fa9b36
[ "MIT" ]
null
null
null
/***************************************************************************** YASK: Yet Another Stencil Kit Copyright (c) 2014-2019, Intel Corporation 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 Soft...
27.605578
87
0.68336
[ "vector", "model" ]
061c3e57ad4e6ddd431eb95edd969470de35a27c
13,684
cc
C++
mindspore/lite/tools/optimizer/fusion/layer_norm_fusion.cc
taroxd/mindspore
9bb620ff2caaac7f1c53c4b104935f22352cb88f
[ "Apache-2.0" ]
55
2020-12-17T10:26:06.000Z
2022-03-28T07:18:26.000Z
mindspore/lite/tools/optimizer/fusion/layer_norm_fusion.cc
taroxd/mindspore
9bb620ff2caaac7f1c53c4b104935f22352cb88f
[ "Apache-2.0" ]
null
null
null
mindspore/lite/tools/optimizer/fusion/layer_norm_fusion.cc
taroxd/mindspore
9bb620ff2caaac7f1c53c4b104935f22352cb88f
[ "Apache-2.0" ]
14
2021-01-29T02:39:47.000Z
2022-03-23T05:00:26.000Z
/** * 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...
40.72619
119
0.72055
[ "shape", "vector" ]
062151698d6fe6229fc248e8bb002055d0f0e4d6
2,197
hpp
C++
boost/sync/condition_variables/notify_all_at_thread_exit.hpp
ballisticwhisper/boost
f72119ab640b564c4b983bd457457046b52af9ee
[ "BSL-1.0" ]
2
2015-01-02T14:24:56.000Z
2015-01-02T14:25:17.000Z
boost/sync/condition_variables/notify_all_at_thread_exit.hpp
ballisticwhisper/boost
f72119ab640b564c4b983bd457457046b52af9ee
[ "BSL-1.0" ]
2
2019-01-13T23:45:51.000Z
2019-02-03T08:13:26.000Z
boost/sync/condition_variables/notify_all_at_thread_exit.hpp
ballisticwhisper/boost
f72119ab640b564c4b983bd457457046b52af9ee
[ "BSL-1.0" ]
2
2018-04-04T10:55:01.000Z
2020-04-23T18:52:06.000Z
/* * 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) * * (C) Copyright 2013 Andrey Semashev */ /*! * \file sync/condition_variables/notify_all_at_thread_exit.hpp * * \brief This header defines ...
32.791045
111
0.769231
[ "object" ]
164475076b2a27e6299f7cebb31458cecd5b14f5
816
cpp
C++
6-array/6-practice/6p-1-5.cpp
tanle8/cdope
2218cb2ece25b2d7bd47c3f06384302c300957f3
[ "MIT" ]
1
2018-04-04T13:43:28.000Z
2018-04-04T13:43:28.000Z
6-array/6-practice/6p-1-5.cpp
tanle8/cdope
2218cb2ece25b2d7bd47c3f06384302c300957f3
[ "MIT" ]
null
null
null
6-array/6-practice/6p-1-5.cpp
tanle8/cdope
2218cb2ece25b2d7bd47c3f06384302c300957f3
[ "MIT" ]
null
null
null
/* 5. Write a program to find the sum and product of all elements of an array. */ #include <iostream> #include <vector> using namespace std; float sumOf(const std::vector<float> &n) { float sum = 0; // declare and initialize a variable to store sum. // Iterate through all elements and add them to sum fo...
17
78
0.560049
[ "vector" ]
1649b33faf09e8fff0ff9211d33ae269e63c78f5
3,481
cpp
C++
unittests/basic/adt/SmallSetTest.cpp
tryboy/polarphp
f6608c4dc26add94e61684ed0edd3d5c7e86e768
[ "PHP-3.01" ]
null
null
null
unittests/basic/adt/SmallSetTest.cpp
tryboy/polarphp
f6608c4dc26add94e61684ed0edd3d5c7e86e768
[ "PHP-3.01" ]
null
null
null
unittests/basic/adt/SmallSetTest.cpp
tryboy/polarphp
f6608c4dc26add94e61684ed0edd3d5c7e86e768
[ "PHP-3.01" ]
null
null
null
// This source file is part of the polarphp.org open source project // // Copyright (c) 2017 - 2019 polarphp software foundation // Copyright (c) 2017 - 2019 zzu_softboy <zzu_softboy@163.com> // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://polarphp.org/LICENSE.txt for license info...
23.206667
85
0.59006
[ "vector" ]
1650a2cd2578a215298eac5116c22d44d9773b83
39,378
cxx
C++
Components/Optimizers/CMAEvolutionStrategy/itkCMAEvolutionStrategyOptimizer.cxx
squll1peter/elastix
e58c831a91df6233605f96ad060119439756ca90
[ "Apache-2.0" ]
1
2020-11-12T12:17:02.000Z
2020-11-12T12:17:02.000Z
Components/Optimizers/CMAEvolutionStrategy/itkCMAEvolutionStrategyOptimizer.cxx
squll1peter/elastix
e58c831a91df6233605f96ad060119439756ca90
[ "Apache-2.0" ]
null
null
null
Components/Optimizers/CMAEvolutionStrategy/itkCMAEvolutionStrategyOptimizer.cxx
squll1peter/elastix
e58c831a91df6233605f96ad060119439756ca90
[ "Apache-2.0" ]
null
null
null
/*========================================================================= * * Copyright UMC Utrecht and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * h...
31.93674
118
0.63439
[ "vector" ]
1650a943efbae4be1bc0cbf7888cb52a7037b5c8
26,294
cpp
C++
Server/Server.cpp
SoftlySpoken/gStore
b2cf71288ccef376640000965aff7c430101446a
[ "BSD-3-Clause" ]
150
2015-01-14T15:06:38.000Z
2018-08-28T09:34:17.000Z
Server/Server.cpp
SoftlySpoken/gStore
b2cf71288ccef376640000965aff7c430101446a
[ "BSD-3-Clause" ]
28
2015-05-11T02:45:39.000Z
2018-08-24T11:43:17.000Z
Server/Server.cpp
SoftlySpoken/gStore
b2cf71288ccef376640000965aff7c430101446a
[ "BSD-3-Clause" ]
91
2015-05-04T09:52:41.000Z
2018-08-18T13:02:15.000Z
/** * @file Server.cpp * @author suxunbin * @date 12-AUG-2021 * @brief a gStore socket server */ #include "Server.h" using namespace rapidjson; using namespace std; bool _stop = false; /**< A stopServer flag. */ Server::Server(int _port) { this->connectionPort = _port; this->connectionMaxNum = Socket::MAX_CON...
21.98495
124
0.647372
[ "vector" ]
165245aaff9fb390a793753993a422bd996d1fe7
4,516
cpp
C++
source/core/search-manager/WildcardDocumentIterator.cpp
izenecloud/sf1r-lite
8de9aa83c38c9cd05a80b216579552e89609f136
[ "Apache-2.0" ]
77
2015-02-12T20:59:20.000Z
2022-03-05T18:40:49.000Z
source/core/search-manager/WildcardDocumentIterator.cpp
fytzzh/sf1r-lite
8de9aa83c38c9cd05a80b216579552e89609f136
[ "Apache-2.0" ]
1
2017-04-28T08:55:47.000Z
2017-07-10T10:10:53.000Z
source/core/search-manager/WildcardDocumentIterator.cpp
fytzzh/sf1r-lite
8de9aa83c38c9cd05a80b216579552e89609f136
[ "Apache-2.0" ]
33
2015-01-05T03:03:05.000Z
2022-02-06T04:22:46.000Z
#include "WildcardDocumentIterator.h" using namespace izenelib::ir::indexmanager; namespace sf1r { WildcardDocumentIterator::WildcardDocumentIterator( collectionid_t colID, IndexReader* pIndexReader, const std::string& property, unsigned int propertyId, bool readPositions, int ma...
28.764331
98
0.58636
[ "vector" ]
165dada3881719c14c7bfaaa41b7c33b213a0b44
726
cpp
C++
leetcode/algorithms/matrix/search-a-2D-matrix/Q240-search-a-2d-matrix-ii.cpp
jatin69/Revision-cpp
52742ea76ee2440d92b116252399360fef46e0c7
[ "MIT" ]
4
2020-01-16T14:49:46.000Z
2021-08-23T12:45:19.000Z
leetcode/algorithms/matrix/search-a-2D-matrix/Q240-search-a-2d-matrix-ii.cpp
jatin69/coding-practice
52742ea76ee2440d92b116252399360fef46e0c7
[ "MIT" ]
2
2018-06-06T13:08:11.000Z
2018-10-02T19:07:32.000Z
leetcode/algorithms/matrix/search-a-2D-matrix/Q240-search-a-2d-matrix-ii.cpp
jatin69/coding-practice
52742ea76ee2440d92b116252399360fef46e0c7
[ "MIT" ]
5
2018-10-02T13:49:16.000Z
2021-08-11T07:29:50.000Z
/* * Author : Jatin Rohilla * Date : June-July-2019 * * Compiler : g++ 5.1.0 * flags : -std=c++14 */ #include<bits/stdc++.h> using namespace std; class Solution { public: bool searchMatrix(vector<vector<int>>& matrix, int target) { if(matrix.size()==0){ return false; } ...
17.707317
64
0.42011
[ "vector" ]
1664e5912e334d90304b56499f305c3ff97aa592
7,687
cc
C++
ui/base/x/selection_owner.cc
aranajhonny/chromium
caf5bcb822f79b8997720e589334266551a50a13
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2019-01-16T03:57:39.000Z
2019-01-16T03:57:39.000Z
ui/base/x/selection_owner.cc
aranajhonny/chromium
caf5bcb822f79b8997720e589334266551a50a13
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2018-02-10T21:00:08.000Z
2018-03-20T05:09:50.000Z
ui/base/x/selection_owner.cc
aranajhonny/chromium
caf5bcb822f79b8997720e589334266551a50a13
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright (c) 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 "ui/base/x/selection_owner.h" #include <X11/Xlib.h> #include <X11/Xatom.h> #include "base/logging.h" #include "ui/base/x/selection_utils.h"...
35.100457
79
0.624821
[ "vector" ]
1667734528093f95be758008b5a04fc734012960
6,334
cpp
C++
src/leveldb-writer.cpp
XHPlus/deep-activity-rec
bb9003390ee3f9a721e4d61deb1a9b3f3144b304
[ "BSD-2-Clause" ]
140
2016-04-07T14:26:36.000Z
2022-03-21T17:32:03.000Z
src/leveldb-writer.cpp
XHPlus/deep-activity-rec
bb9003390ee3f9a721e4d61deb1a9b3f3144b304
[ "BSD-2-Clause" ]
26
2016-09-13T03:01:24.000Z
2021-10-09T21:21:50.000Z
src/leveldb-writer.cpp
XHPlus/deep-activity-rec
bb9003390ee3f9a721e4d61deb1a9b3f3144b304
[ "BSD-2-Clause" ]
42
2016-08-24T19:42:08.000Z
2022-03-15T14:50:10.000Z
/* * LeveldbWriter.cpp * * Created on: 2015-04-02 * Author: Moustafa S. Ibrahim */ #include <iostream> #include "leveldb-writer.h" using std::cerr; using std::cout; #include "utilities.h" const int WRITING_LIMIT = 1000; namespace MostCV { LeveldbWriter::LeveldbWriter(string db_path_, int resize_height_...
24.08365
120
0.638143
[ "shape", "vector" ]
1668f80dfaf29d1c088a3911c17fd98ff0eccd16
10,102
cpp
C++
src/trunk/libs/seiscomp3/datamodel/setup.cpp
quiffman/seiscomp3
e0e9ad7d9dc53988a64ebdaaba8898c128f1860d
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
src/trunk/libs/seiscomp3/datamodel/setup.cpp
quiffman/seiscomp3
e0e9ad7d9dc53988a64ebdaaba8898c128f1860d
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
src/trunk/libs/seiscomp3/datamodel/setup.cpp
quiffman/seiscomp3
e0e9ad7d9dc53988a64ebdaaba8898c128f1860d
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
/*************************************************************************** * Copyright (C) by GFZ Potsdam * * * * You can redistribute and/or modify this program under the * * terms o...
28.536723
161
0.363294
[ "object" ]
166b0cee70dd4f5220395573ebd4ed6251103b0e
1,468
cpp
C++
src/0079_Word_Search.cpp
Dephilia/leetcode_cpp
2f0d85d842fafd43cae8d5ae99817c9e243d58e4
[ "MIT" ]
null
null
null
src/0079_Word_Search.cpp
Dephilia/leetcode_cpp
2f0d85d842fafd43cae8d5ae99817c9e243d58e4
[ "MIT" ]
null
null
null
src/0079_Word_Search.cpp
Dephilia/leetcode_cpp
2f0d85d842fafd43cae8d5ae99817c9e243d58e4
[ "MIT" ]
null
null
null
#include <leetcode.hpp> class Solution { public: bool dfs(vector<vector<char>>& board, const char* w, int x, int y, int& mx, int& my) { // Important: Use the reference of board instead copy it. if ( x < 0 || y < 0 || x >= mx || y >= my || *w != bo...
28.230769
90
0.412125
[ "vector" ]
166ec1311bb91b56fa76d90072b99bde3a44af4f
1,378
cpp
C++
RayTracingRenderer/RayTracingRenderer/Main.cpp
Nebye/Simple-Ray-Tracing-Renderer
63877fa093d57bad04073bd68e2bc2418cd47306
[ "CC0-1.0" ]
null
null
null
RayTracingRenderer/RayTracingRenderer/Main.cpp
Nebye/Simple-Ray-Tracing-Renderer
63877fa093d57bad04073bd68e2bc2418cd47306
[ "CC0-1.0" ]
null
null
null
RayTracingRenderer/RayTracingRenderer/Main.cpp
Nebye/Simple-Ray-Tracing-Renderer
63877fa093d57bad04073bd68e2bc2418cd47306
[ "CC0-1.0" ]
null
null
null
#include <iostream> #include "vec3.h" #include "color.h" #include <thread> #include <chrono> int main() { /* std::cout << "Hello World! I am rusty and may keep this here for a lil bit..." << std::endl; std::cin.get(); */ // image const int image_width = 256; const int image_height = 256; // render std::c...
23.355932
131
0.563135
[ "render" ]
16710bc6dd410aec27f08b5f68716ab931450653
740
hpp
C++
src/audio/Recorder.hpp
okiwi6/Vominal
ba1b112a15fe8141287de42c8a55a55d36e651f9
[ "MIT" ]
null
null
null
src/audio/Recorder.hpp
okiwi6/Vominal
ba1b112a15fe8141287de42c8a55a55d36e651f9
[ "MIT" ]
null
null
null
src/audio/Recorder.hpp
okiwi6/Vominal
ba1b112a15fe8141287de42c8a55a55d36e651f9
[ "MIT" ]
null
null
null
#pragma once #include <SFML/Audio.hpp> #include <vector> #include <string> #include <functional> #include "OutputStream.hpp" class Recorder : public sf::SoundRecorder { public: Recorder(std::string inputDevice=Recorder::getInputDevices()[0]); ~Recorder(); void setProcessCallback(std::fun...
33.636364
153
0.717568
[ "vector" ]
16744c116aa144e6dc08fbe83561c4af79efa715
6,954
cpp
C++
syncclient/src/main.cpp
zsuzuki/filesync
9448e190f0b72e45ece4900ee3f13b5b7c8ea674
[ "MIT" ]
null
null
null
syncclient/src/main.cpp
zsuzuki/filesync
9448e190f0b72e45ece4900ee3f13b5b7c8ea674
[ "MIT" ]
null
null
null
syncclient/src/main.cpp
zsuzuki/filesync
9448e190f0b72e45ece4900ee3f13b5b7c8ea674
[ "MIT" ]
null
null
null
#include <algorithm> #include <array> #include <atomic> #include <boost/algorithm/hex.hpp> #include <boost/asio.hpp> #include <boost/bind.hpp> #include <boost/filesystem.hpp> #include <boost/range/iterator_range.hpp> #include <boost/uuid/detail/md5.hpp> #include <connection.hpp> #include <cstdio> #include <cxxopts.hpp>...
23.815068
79
0.54386
[ "vector" ]
1675bb099e2a23386bf7c6d5a93ddcff1a1713f8
8,332
cpp
C++
src/libs/bindings/megaverse.cpp
DavidSlayback/megaverse
6ce21c9df5ee4d157f4a69b98de3ef1569bc8ccc
[ "MIT" ]
149
2021-06-09T01:28:57.000Z
2022-03-30T20:31:25.000Z
src/libs/bindings/megaverse.cpp
DavidSlayback/megaverse
6ce21c9df5ee4d157f4a69b98de3ef1569bc8ccc
[ "MIT" ]
4
2021-06-30T17:06:18.000Z
2022-02-17T21:58:13.000Z
src/libs/bindings/megaverse.cpp
DavidSlayback/megaverse
6ce21c9df5ee4d157f4a69b98de3ef1569bc8ccc
[ "MIT" ]
13
2021-07-10T06:49:24.000Z
2022-03-08T05:11:35.000Z
#include <pybind11/stl.h> #include <pybind11/numpy.h> #include <pybind11/pybind11.h> #include <opencv2/core/mat.hpp> #include <util/tiny_logger.hpp> #include <env/env.hpp> #include <scenarios/init.hpp> #include <magnum_rendering/magnum_env_renderer.hpp> #ifndef CORRADE_TARGET_APPLE #include <v4r_rendering/v4r...
28.43686
143
0.608857
[ "render", "object", "vector" ]
1675ea7774b47cea729549a519c75570b19eca49
1,100
hpp
C++
closed_form.hpp
CorentinLeblond/jcr_pde1d
12c13a9a230a75f54b0aeb68d05bffd249f80b38
[ "BSD-3-Clause" ]
null
null
null
closed_form.hpp
CorentinLeblond/jcr_pde1d
12c13a9a230a75f54b0aeb68d05bffd249f80b38
[ "BSD-3-Clause" ]
null
null
null
closed_form.hpp
CorentinLeblond/jcr_pde1d
12c13a9a230a75f54b0aeb68d05bffd249f80b38
[ "BSD-3-Clause" ]
null
null
null
#ifndef CLOSED_FORM_HPP #define CLOSED_FORM_HPP #include <iostream> #include <vector> #include <algorithm> #include "payoff.hpp"// Act on containers through iterators to apply modyfing/non_modifying operations namespace project{ class VanillaOption { public: PayOff* pay_off; //Pointer double K; ...
31.428571
130
0.735455
[ "vector" ]
1676dd9b4b611e1cdd48ab22f02fd4a3b96950d3
670
cpp
C++
ch10/1001ex.cpp
mallius/CppPrimer
0285fabe5934492dfed0a9cf67ba5650982a5f76
[ "MIT" ]
null
null
null
ch10/1001ex.cpp
mallius/CppPrimer
0285fabe5934492dfed0a9cf67ba5650982a5f76
[ "MIT" ]
null
null
null
ch10/1001ex.cpp
mallius/CppPrimer
0285fabe5934492dfed0a9cf67ba5650982a5f76
[ "MIT" ]
1
2022-01-25T15:51:34.000Z
2022-01-25T15:51:34.000Z
#include <iostream> #include <string> #include <vector> #include <list> #include <deque> #include <algorithm> using namespace std; int main(void) { pair<string, int> temp; vector<string> svec1; vector<int> ivec1; // 1 for(int i = 0; i < 2; i++) { cout << i+1 << "/2 " << "Enter string and int: "; cin >> temp...
16.341463
74
0.58209
[ "vector" ]
167e85d51e80b55924122ed8073b1f9d14860cdb
7,680
cc
C++
tensorflow/core/kernels/critical_section.cc
jhabikal21/tensorflow
98d20962172301385aae694141801a375debd2bc
[ "Apache-2.0" ]
null
null
null
tensorflow/core/kernels/critical_section.cc
jhabikal21/tensorflow
98d20962172301385aae694141801a375debd2bc
[ "Apache-2.0" ]
null
null
null
tensorflow/core/kernels/critical_section.cc
jhabikal21/tensorflow
98d20962172301385aae694141801a375debd2bc
[ "Apache-2.0" ]
null
null
null
/* Copyright 2017 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...
31.093117
92
0.640885
[ "vector" ]
16810b4b20f4212d0444f3a7432e2a20b3805a49
4,530
cpp
C++
monopoly/Classes/Scene/SelectScene.cpp
xmx-521/Monopoly
6427672842ed94bb4dad585206ec08ec9a5f7a4d
[ "MIT" ]
6
2020-10-09T14:51:47.000Z
2021-04-16T08:26:55.000Z
monopoly/Classes/Scene/SelectScene.cpp
xmx-521/Monopoly
6427672842ed94bb4dad585206ec08ec9a5f7a4d
[ "MIT" ]
null
null
null
monopoly/Classes/Scene/SelectScene.cpp
xmx-521/Monopoly
6427672842ed94bb4dad585206ec08ec9a5f7a4d
[ "MIT" ]
3
2020-05-12T06:56:40.000Z
2021-04-30T09:38:12.000Z
#include "Scene/SelectScene.h" #include "Scene/StartScene.h" #include "Scene/MapScene.h" #include "Scene/GameController.h" #include "AudioEngine.h" #include "ui/CocosGUI.h" #include "Common/CommonConstant.h" Scene *SelectScene::createScene() { return SelectScene::create(); } bool SelectScene::transformToAi(int i, Re...
33.555556
103
0.696909
[ "render", "vector" ]
16840d38efdd5a00b449502bafb01ad6fa0636d3
2,742
cpp
C++
quantlib/algorithms/anapact/lib/csrc/normal_cuda.cpp
mdatres/quantlab
09fb24ede78f49768f829afe0fac2ac291b8fd4f
[ "Apache-2.0" ]
null
null
null
quantlib/algorithms/anapact/lib/csrc/normal_cuda.cpp
mdatres/quantlab
09fb24ede78f49768f829afe0fac2ac291b8fd4f
[ "Apache-2.0" ]
null
null
null
quantlib/algorithms/anapact/lib/csrc/normal_cuda.cpp
mdatres/quantlab
09fb24ede78f49768f829afe0fac2ac291b8fd4f
[ "Apache-2.0" ]
1
2022-01-02T10:10:46.000Z
2022-01-02T10:10:46.000Z
/* * normal_cuda.cpp * * Author(s): * Matteo Spallanzani <spmatteo@iis.ee.ethz.ch> * * Copyright (c) 2020-2021 ETH Zurich. * * 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 Licens...
25.388889
84
0.688549
[ "vector" ]
1684392ca43db8205111f12dd92311d1134eae22
16,165
cpp
C++
third_party/WebKit/Source/platform/blob/BlobData.cpp
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/WebKit/Source/platform/blob/BlobData.cpp
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/WebKit/Source/platform/blob/BlobData.cpp
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
/* * 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...
39.717445
80
0.673925
[ "vector" ]
16866400752ba5f956b608ac3e94d88d925466dd
16,769
cpp
C++
VrSamples/SampleFramework/Src/Model/ModelTrace.cpp
jmiskovic/lovr-oculus-mobile
58f165fc47e7230bc5224b108ffdb710231fb0aa
[ "Unlicense" ]
30
2018-10-22T08:10:09.000Z
2022-02-17T06:56:02.000Z
VrSamples/SampleFramework/Src/Model/ModelTrace.cpp
jmiskovic/lovr-oculus-mobile
58f165fc47e7230bc5224b108ffdb710231fb0aa
[ "Unlicense" ]
11
2019-01-30T03:07:43.000Z
2020-08-27T15:11:43.000Z
VrSamples/SampleFramework/Src/Model/ModelTrace.cpp
jmiskovic/lovr-oculus-mobile
58f165fc47e7230bc5224b108ffdb710231fb0aa
[ "Unlicense" ]
7
2019-01-24T12:44:37.000Z
2021-09-23T18:25:15.000Z
/************************************************************************************ Filename : ModelTrace.cpp Content : Ray tracer using a KD-Tree. Created : May, 2014 Authors : J.M.P. van Waveren Copyright : Copyright (c) Facebook Technologies, LLC and its affiliates. All rights reserved...
34.083333
152
0.639573
[ "vector", "model" ]
168ee0d2971c536d154c0532b58eddf8d0b2a8f6
1,445
hh
C++
include/libfluid-base/TLS.hh
DavidLiu506/alcor-control-agent
57682ee3bd061eae930ff81018ce3387ea9eec7a
[ "MIT" ]
12
2020-02-21T19:54:42.000Z
2021-01-25T20:12:35.000Z
include/libfluid-base/TLS.hh
DavidLiu506/alcor-control-agent
57682ee3bd061eae930ff81018ce3387ea9eec7a
[ "MIT" ]
128
2020-02-21T19:28:59.000Z
2022-03-17T02:06:29.000Z
include/libfluid-base/TLS.hh
DavidLiu506/alcor-control-agent
57682ee3bd061eae930ff81018ce3387ea9eec7a
[ "MIT" ]
40
2020-03-30T23:05:13.000Z
2021-11-18T01:03:47.000Z
// Copyright (c) 2014 Open Networking Foundation // Copyright 2020 Futurewei Cloud // // 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 // ...
37.051282
88
0.754325
[ "object" ]
168f08008fc9c70fb8cb238c0c78348ff12d1785
6,940
hpp
C++
blast/include/objmgr/impl/tse_info_object.hpp
mycolab/ncbi-blast
e59746cec78044d2bf6d65de644717c42f80b098
[ "Apache-2.0" ]
null
null
null
blast/include/objmgr/impl/tse_info_object.hpp
mycolab/ncbi-blast
e59746cec78044d2bf6d65de644717c42f80b098
[ "Apache-2.0" ]
null
null
null
blast/include/objmgr/impl/tse_info_object.hpp
mycolab/ncbi-blast
e59746cec78044d2bf6d65de644717c42f80b098
[ "Apache-2.0" ]
null
null
null
#ifndef OBJECTS_OBJMGR_IMPL___TSE_INFO_OBJECT__HPP #define OBJECTS_OBJMGR_IMPL___TSE_INFO_OBJECT__HPP /* $Id: tse_info_object.hpp 516051 2016-10-07 15:16:44Z vasilche $ * =========================================================================== * * PUBLIC DOMAIN NOTICE * ...
31.261261
79
0.679251
[ "object", "vector" ]
169281ea568e23def085de64b305b363b7166388
1,618
cpp
C++
Common/math/transform.cpp
jjuiddong/Common
2518fa05474222f84c474707b4511f190a34f574
[ "MIT" ]
2
2017-11-24T12:34:14.000Z
2021-09-10T02:18:34.000Z
Common/math/transform.cpp
jjuiddong/Common
2518fa05474222f84c474707b4511f190a34f574
[ "MIT" ]
null
null
null
Common/math/transform.cpp
jjuiddong/Common
2518fa05474222f84c474707b4511f190a34f574
[ "MIT" ]
6
2017-11-24T12:34:56.000Z
2022-03-22T10:05:45.000Z
#include "stdafx.h" #include "transform.h" using namespace common; const Transform Transform::Identity; Transform::Transform() : pos(0,0,0) , scale(1,1,1) { } Transform::Transform(const Vector3 &pos_) : pos(pos_) , scale(1, 1, 1) { } Transform::Transform(const Quaternion &rot_) : rot(rot_) , scale(1, 1, 1) {...
15.862745
88
0.650803
[ "transform" ]
169602acef6363a7ca2fda2c8c6f6aa3a83ab1fa
12,894
cpp
C++
image_processor/lane_engine.cpp
kumaxxp/self-driving-ish_computer_vision_system
833c3e903def019c2bb36fb36b631f4ae1da1e2f
[ "Apache-2.0" ]
187
2021-09-11T22:30:17.000Z
2022-03-30T20:41:39.000Z
image_processor/lane_engine.cpp
iwatake2222/detection_topview
601775b734d7b8877680ca2f5d961c7c4ea20aaf
[ "Apache-2.0" ]
12
2021-09-12T13:04:42.000Z
2022-01-08T14:30:11.000Z
image_processor/lane_engine.cpp
iwatake2222/detection_topview
601775b734d7b8877680ca2f5d961c7c4ea20aaf
[ "Apache-2.0" ]
40
2021-09-12T03:08:41.000Z
2022-03-23T09:42:22.000Z
/* Copyright 2021 iwatake2222 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 dis...
40.420063
321
0.66147
[ "vector", "model" ]
169bae4c4741c45d6fbf2c525af217a22da264f0
320
cc
C++
primer-answer/chapter3/3.16.cc
Becavalier/playground-cpp
0fce453f769111698f813852238f933e326ed441
[ "MIT" ]
1
2018-02-23T11:12:17.000Z
2018-02-23T11:12:17.000Z
primer-answer/chapter3/3.16.cc
Becavalier/playground-cpp
0fce453f769111698f813852238f933e326ed441
[ "MIT" ]
null
null
null
primer-answer/chapter3/3.16.cc
Becavalier/playground-cpp
0fce453f769111698f813852238f933e326ed441
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <vector> using namespace std; int main (int argc, char *argv[]) { vector<int> vec = {1, 2, 3, 4, 5}; vector<int>::size_type total = vec.size(); for (auto e : vec) { cout << e << endl; } cout << "The amount of vector is: " << total << endl; return 0; }
16.842105
55
0.58125
[ "vector" ]
16ae56219f0f025c7b0fd0fa120c4c06ca648181
4,936
hh
C++
parser/ltac/ltac.hh
patrickf2000/upl
a58e3fd3f185e52d40332d4e7473ff7de8245f04
[ "BSD-3-Clause" ]
null
null
null
parser/ltac/ltac.hh
patrickf2000/upl
a58e3fd3f185e52d40332d4e7473ff7de8245f04
[ "BSD-3-Clause" ]
6
2019-06-15T12:38:26.000Z
2019-06-15T13:03:05.000Z
parser/ltac/ltac.hh
patrickf2000/upl
a58e3fd3f185e52d40332d4e7473ff7de8245f04
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include <vector> #include <string> #include <ast.hh> #include <types.hh> // This relates to the overall node types enum class LtacType { None, File, Data, Code }; // This contains the actual instructions enum class ltac { None, Func, FuncCall, Label, Ret, Var, ...
17.884058
96
0.604335
[ "vector" ]
16b0adb8a240cf3cd053064d5a4426c228c85aa4
1,718
cpp
C++
CSL/src/wmark/parser_actions/tk_operator_root_action.cpp
mickjagger19/CppTS
b974764858be4000472505a6277b1011f9c34274
[ "BSD-2-Clause" ]
null
null
null
CSL/src/wmark/parser_actions/tk_operator_root_action.cpp
mickjagger19/CppTS
b974764858be4000472505a6277b1011f9c34274
[ "BSD-2-Clause" ]
1
2019-12-31T03:35:43.000Z
2019-12-31T03:36:13.000Z
CSL/src/wmark/parser_actions/tk_operator_root_action.cpp
mickjagger19/CppTS
b974764858be4000472505a6277b1011f9c34274
[ "BSD-2-Clause" ]
8
2019-04-21T06:06:11.000Z
2020-05-04T15:20:36.000Z
/* ** Xin YUAN, 2019, BSD (2) */ //////////////////////////////////////////////////////////////////////////////// #include "precomp.h" #include "../base/WmarkDef.h" #include "tk_operator_root_action.h" //////////////////////////////////////////////////////////////////////////////// ////////////////...
28.163934
112
0.526775
[ "vector" ]
16b3d11237aca30fb06e283a12c4463dd85d3381
8,850
cpp
C++
src/plugins/aggregator/dbupdatethreadworker.cpp
devel29a/leechcraft
faf5e856010fb785e4bbf3ce7b5c6a5c49f3239a
[ "BSL-1.0" ]
1
2017-01-12T07:05:45.000Z
2017-01-12T07:05:45.000Z
src/plugins/aggregator/dbupdatethreadworker.cpp
ForNeVeR/leechcraft
384d041d23b1cdb7cc3c758612ac8d68d3d3d88c
[ "BSL-1.0" ]
null
null
null
src/plugins/aggregator/dbupdatethreadworker.cpp
ForNeVeR/leechcraft
384d041d23b1cdb7cc3c758612ac8d68d3d3d88c
[ "BSL-1.0" ]
null
null
null
/********************************************************************** * LeechCraft - modular cross-platform feature rich internet client. * Copyright (C) 2006-2014 Georg Rudoy * * Boost Software License - Version 1.0 - August 17th, 2003 * * Permission is hereby granted, free of charge, to any person or organiz...
29.898649
103
0.670056
[ "object" ]
16c9664ecb5dd38ba680a50d8962e518021afe63
7,299
cpp
C++
Lab02/glwidget.cpp
FrostByteGER/ComputerGraphics
1b53a4ba1f8f7db7dab21cf087b1c3d352c385cd
[ "MIT" ]
null
null
null
Lab02/glwidget.cpp
FrostByteGER/ComputerGraphics
1b53a4ba1f8f7db7dab21cf087b1c3d352c385cd
[ "MIT" ]
null
null
null
Lab02/glwidget.cpp
FrostByteGER/ComputerGraphics
1b53a4ba1f8f7db7dab21cf087b1c3d352c385cd
[ "MIT" ]
null
null
null
#define _USE_MATH_DEFINES #include "glwidget.h" #include <cmath> GLWidget::GLWidget( const QGLFormat& format, QWidget* parent ) : QGLWidget( format, parent ), vertexBuffer( QOpenGLBuffer::VertexBuffer ) { } void GLWidget::initializeGL() { QGLFormat glFormat = QGLWidget::format(); if ( !glFormat.sampleBuffers...
30.161157
137
0.656939
[ "render", "vector", "model" ]
16ca65659155c985ad5cba681b08d94e188ee2e0
4,387
cpp
C++
Simple MonteCarlo/Simple MonteCarlo/Surface.cpp
magnusstrandberg/Simple_MonteCarlo
20d8aad5a9c34fd840d6b111f19bed76d9455752
[ "MIT" ]
null
null
null
Simple MonteCarlo/Simple MonteCarlo/Surface.cpp
magnusstrandberg/Simple_MonteCarlo
20d8aad5a9c34fd840d6b111f19bed76d9455752
[ "MIT" ]
null
null
null
Simple MonteCarlo/Simple MonteCarlo/Surface.cpp
magnusstrandberg/Simple_MonteCarlo
20d8aad5a9c34fd840d6b111f19bed76d9455752
[ "MIT" ]
null
null
null
#include "Surface.h" #include "Input.h" #include <cmath> #include <math.h> #include <vector> Surface::Surface() { } Surface::~Surface() { } void Surface::CreateSurface(std::vector <double> data, int identifier, int placeholder) { ID = identifier; int tmp = 6; for (int i = 0; i < 10; i++) { surf_param[i] = da...
20.5
107
0.565079
[ "vector" ]
16cfb6ec052f7431efbdc29bfaccef7ddbc65aea
1,018
cpp
C++
CodeForces/Complete/1200-1299/1207C-GasPipeline.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
36
2019-12-27T08:23:08.000Z
2022-01-24T20:35:47.000Z
CodeForces/Complete/1200-1299/1207C-GasPipeline.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
10
2019-11-13T02:55:18.000Z
2021-10-13T23:28:09.000Z
CodeForces/Complete/1200-1299/1207C-GasPipeline.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
53
2020-08-15T11:08:40.000Z
2021-10-09T15:51:38.000Z
#include <iostream> #include <vector> typedef long long ll; int main(){ std::ios::sync_with_stdio(false); ll t; std::cin >> t; while(t--){ ll n, a, b; std::cin >> n >> a >> b; std::string s; std::cin >> s; std::vector<ll> v(n, 1e16); ll nxt(1e16); for(ll p = v.size(...
27.513514
114
0.347741
[ "vector" ]
16d40c1300127e128fc5d0b1bc87f0d895b745c2
3,264
cpp
C++
src/duke/streams/FilesStreams.cpp
hradec/duke
efacf7139cd1d7c2cd2f5127079721bd263dda50
[ "MIT" ]
51
2015-01-07T18:36:39.000Z
2021-11-30T15:24:44.000Z
src/duke/streams/FilesStreams.cpp
virneo/duke
efacf7139cd1d7c2cd2f5127079721bd263dda50
[ "MIT" ]
1
2015-01-08T10:48:43.000Z
2015-02-11T19:32:14.000Z
src/duke/streams/FilesStreams.cpp
virneo/duke
efacf7139cd1d7c2cd2f5127079721bd263dda50
[ "MIT" ]
18
2015-05-11T12:43:37.000Z
2019-11-29T11:15:41.000Z
#include "duke/streams/SingleFileStream.hpp" #include "duke/streams/FileSequenceStream.hpp" #include "duke/attributes/AttributeKeys.hpp" #include "duke/attributes/Attributes.hpp" #include "duke/base/StringAppender.hpp" #include "duke/filesystem/FsUtils.hpp" #include "duke/io/ImageLoadUtils.hpp" #include "duke/memory/A...
34.723404
108
0.75337
[ "vector" ]
16dc137bec609b0932d6093b15eee613c663e1cf
8,451
cc
C++
scripts/ppi-benchmark/Parsing/Charniak-Lease-2006Aug-reranking-parser/reranking-parser/second-stage/programs/eval-weights/compare-models.cc
AmmarQaseem/CPI-Pipeline-test
3866883c54d7bd77753ee4b72997949bdcf76359
[ "PostgreSQL", "ISC", "Intel" ]
null
null
null
scripts/ppi-benchmark/Parsing/Charniak-Lease-2006Aug-reranking-parser/reranking-parser/second-stage/programs/eval-weights/compare-models.cc
AmmarQaseem/CPI-Pipeline-test
3866883c54d7bd77753ee4b72997949bdcf76359
[ "PostgreSQL", "ISC", "Intel" ]
null
null
null
scripts/ppi-benchmark/Parsing/Charniak-Lease-2006Aug-reranking-parser/reranking-parser/second-stage/programs/eval-weights/compare-models.cc
AmmarQaseem/CPI-Pipeline-test
3866883c54d7bd77753ee4b72997949bdcf76359
[ "PostgreSQL", "ISC", "Intel" ]
null
null
null
// compare-models.cc // // Mark Johnson, 10th May 2005 const char usage[] = "Usage: compare-models weights1 features1 [weights2 [features2]]\n" "\n" " compares the performance of the model weights1 with\n" " the model weights2. features1 should be the feature vectors\n" " corresponding to weights1. If weig...
29.757042
119
0.621938
[ "vector", "model" ]
16dff589264c5063db96661b2f5c9c6b62a1ebde
793
cpp
C++
Estrutura/1251-Diga_frequencia.cpp
oDallas/URI
2f32e224e86e934dc7742ee3e32dd7a48d47921d
[ "MIT" ]
null
null
null
Estrutura/1251-Diga_frequencia.cpp
oDallas/URI
2f32e224e86e934dc7742ee3e32dd7a48d47921d
[ "MIT" ]
null
null
null
Estrutura/1251-Diga_frequencia.cpp
oDallas/URI
2f32e224e86e934dc7742ee3e32dd7a48d47921d
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> #include <vector> #include <map> using namespace std; bool compare(pair <unsigned int, unsigned int> a, pair <unsigned int, unsigned int> b) { return ( a.second!=b.second ? a.second<b.second : a.first>b.first ); } int main() { unsigned int i, j; char text[1001...
19.825
88
0.595208
[ "vector" ]
16ea046e43dbe9c65bea35bea2ecff87bf106391
431
cpp
C++
Beginners/Some Basic C++ Programs/stockBuySell.cpp
Sanjulata19/Hacktoberfest_2021-1
720855c9e7e3d1ca04d409cc7defb29381e4a16a
[ "Apache-2.0" ]
1
2021-10-31T14:33:09.000Z
2021-10-31T14:33:09.000Z
Beginners/Some Basic C++ Programs/stockBuySell.cpp
Sanjulata19/Hacktoberfest_2021-1
720855c9e7e3d1ca04d409cc7defb29381e4a16a
[ "Apache-2.0" ]
4
2021-10-31T14:16:14.000Z
2021-10-31T16:56:12.000Z
Beginners/Some Basic C++ Programs/stockBuySell.cpp
Sanjulata19/Hacktoberfest_2021-1
720855c9e7e3d1ca04d409cc7defb29381e4a16a
[ "Apache-2.0" ]
19
2021-10-30T06:23:49.000Z
2021-10-31T14:51:04.000Z
#include <iostream> #include <vector> using namespace std; void maxProfit(vector<int> &price) { int profit = 0; int n = price.size(); if (n < 2) return; for (int i=1; i<n; i++) { if (price[i] > price[i-1]) profit += price[i] - price[i-1]; } cout<<"Maximum possible profit is...
19.590909
55
0.538283
[ "vector" ]
16ed9747d2b0f3aaf5ead8f3ed5b956aad185171
3,205
cpp
C++
src/example/MeshWireframeEx.cpp
HongqiangWei/Alloy-Graphics-Library
8c2b1436f6f0463f4dae109a0284deeb3486e326
[ "MIT" ]
null
null
null
src/example/MeshWireframeEx.cpp
HongqiangWei/Alloy-Graphics-Library
8c2b1436f6f0463f4dae109a0284deeb3486e326
[ "MIT" ]
null
null
null
src/example/MeshWireframeEx.cpp
HongqiangWei/Alloy-Graphics-Library
8c2b1436f6f0463f4dae109a0284deeb3486e326
[ "MIT" ]
null
null
null
/* * Copyright(C) 2015, Blake C. Lucas, Ph.D. (img.science@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...
45.140845
142
0.756942
[ "mesh", "geometry", "render", "object", "3d" ]
a84625d28e96bbadce1b3a766c75541d96532df1
9,057
cc
C++
builder/submap.cc
Foued70/StaticMapping
1ca31318386de954702ad88804e1cb41d5ee0486
[ "MIT" ]
null
null
null
builder/submap.cc
Foued70/StaticMapping
1ca31318386de954702ad88804e1cb41d5ee0486
[ "MIT" ]
null
null
null
builder/submap.cc
Foued70/StaticMapping
1ca31318386de954702ad88804e1cb41d5ee0486
[ "MIT" ]
null
null
null
// MIT License // Copyright (c) 2019 Edward Liu // 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, merg...
31.778947
80
0.706194
[ "vector" ]
a847ce1662a714fe8242c6b91a9d93d2d4266d14
6,321
cpp
C++
tests/unit/fem/test_assemblediagonalpa.cpp
henrykrumb/mfem
91143731cfc9d154c07a6af9f18c7aabb6f72b46
[ "BSD-3-Clause" ]
null
null
null
tests/unit/fem/test_assemblediagonalpa.cpp
henrykrumb/mfem
91143731cfc9d154c07a6af9f18c7aabb6f72b46
[ "BSD-3-Clause" ]
null
null
null
tests/unit/fem/test_assemblediagonalpa.cpp
henrykrumb/mfem
91143731cfc9d154c07a6af9f18c7aabb6f72b46
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2010-2020, Lawrence Livermore National Security, LLC. Produced // at the Lawrence Livermore National Laboratory. All Rights reserved. See files // LICENSE and NOTICE for details. LLNL-CODE-806117. // // This file is part of the MFEM library. For more information and source code // availability visit ht...
31.447761
90
0.548015
[ "mesh", "vector", "3d" ]
a84f705913c9a382e9ff0ff9aa3c5cfa021405e9
1,427
cc
C++
max-consecutive-ones.cc
ArCan314/leetcode
8e22790dc2f34f5cf2892741ff4e5d492bb6d0dd
[ "MIT" ]
null
null
null
max-consecutive-ones.cc
ArCan314/leetcode
8e22790dc2f34f5cf2892741ff4e5d492bb6d0dd
[ "MIT" ]
null
null
null
max-consecutive-ones.cc
ArCan314/leetcode
8e22790dc2f34f5cf2892741ff4e5d492bb6d0dd
[ "MIT" ]
null
null
null
#include <vector> #include <algorithm> class Solution { public: int findMaxConsecutiveOnes(std::vector<int> &nums) { return findMaxConsecutiveOnesStateMachine(nums); } int findMaxConsecutiveOnesStateMachine(std::vector<int> &nums) { int count = 0; int res = 0; int s...
21.953846
67
0.355291
[ "vector" ]
a8545b4966f2b1ee08ede79058ee8f72015b815a
3,019
cpp
C++
Engine/gapi/vulkan/vuniformslay.cpp
sam-baumann/Tempest
6152339e97412d03829fce58a27fc3e66fa67bac
[ "MIT" ]
null
null
null
Engine/gapi/vulkan/vuniformslay.cpp
sam-baumann/Tempest
6152339e97412d03829fce58a27fc3e66fa67bac
[ "MIT" ]
null
null
null
Engine/gapi/vulkan/vuniformslay.cpp
sam-baumann/Tempest
6152339e97412d03829fce58a27fc3e66fa67bac
[ "MIT" ]
null
null
null
#include "vuniformslay.h" #include <Tempest/UniformsLayout> #include "vdevice.h" #include "gapi/shaderreflection.h" using namespace Tempest; using namespace Tempest::Detail; VUniformsLay::VUniformsLay(VDevice& dev, const std::vector<UniformsLayout::Binding>& comp) : dev(dev.device) { ShaderReflection::merge(lay,...
29.31068
103
0.702882
[ "geometry", "vector" ]
a85b497dd131e3e608146fe9d8f4bd33b7b5c982
63,599
cpp
C++
cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_man_xml_ttyagent_cfg.cpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
17
2016-12-02T05:45:49.000Z
2022-02-10T19:32:54.000Z
cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_man_xml_ttyagent_cfg.cpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
2
2017-03-27T15:22:38.000Z
2019-11-05T08:30:16.000Z
cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_man_xml_ttyagent_cfg.cpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
11
2016-12-02T05:45:52.000Z
2019-11-07T08:28:17.000Z
#include <sstream> #include <iostream> #include <ydk/entity_util.hpp> #include "bundle_info.hpp" #include "generated_entity_lookup.hpp" #include "Cisco_IOS_XR_man_xml_ttyagent_cfg.hpp" using namespace ydk; namespace cisco_ios_xr { namespace Cisco_IOS_XR_man_xml_ttyagent_cfg { XrXml::XrXml() : agent(std::mak...
27.460708
192
0.667998
[ "vector" ]
a865a6e38b7a788393fdc067320e76d38624559a
27,225
cc
C++
src/RefSetupDetectorConstruction.cc
l-althueser/XeSim
972ea62a35db7c80c6e4b3349987e31945651399
[ "BSD-3-Clause" ]
null
null
null
src/RefSetupDetectorConstruction.cc
l-althueser/XeSim
972ea62a35db7c80c6e4b3349987e31945651399
[ "BSD-3-Clause" ]
null
null
null
src/RefSetupDetectorConstruction.cc
l-althueser/XeSim
972ea62a35db7c80c6e4b3349987e31945651399
[ "BSD-3-Clause" ]
null
null
null
#include <G4Material.hh> #include <G4NistManager.hh> #include <G4Box.hh> #include <G4Tubs.hh> #include <G4Sphere.hh> #include <G4Orb.hh> #include <G4Polyhedra.hh> #include <G4Trd.hh> #include <G4Cons.hh> #include <G4UnionSolid.hh> #include <G4IntersectionSolid.hh> #include <G4SubtractionSolid.hh> #include <G4LogicalVol...
55.448065
245
0.695758
[ "vector" ]
a8675e63da44bf639505d2ad09a15f9b9af664b6
13,337
hpp
C++
Libraries/Geometry/Geometry.hpp
RyanTylerRae/WelderEngineRevamp
3efdad59dd1821ddb1c09b59520e8e2d7023bb10
[ "MIT" ]
3
2022-02-11T10:34:33.000Z
2022-02-24T17:44:17.000Z
Libraries/Geometry/Geometry.hpp
RyanTylerRae/WelderEngineRevamp
3efdad59dd1821ddb1c09b59520e8e2d7023bb10
[ "MIT" ]
null
null
null
Libraries/Geometry/Geometry.hpp
RyanTylerRae/WelderEngineRevamp
3efdad59dd1821ddb1c09b59520e8e2d7023bb10
[ "MIT" ]
null
null
null
// MIT Licensed (see LICENSE.md). #pragma once #include "GeometryStandard.hpp" namespace Geometry { /// Maximum number of support points that will be returned from clipping const uint cMaxSupportPoints = 8; /// Calculate the centroid of the 2D polygon. Assumes the 2D points are ordered /// in such a way that they de...
49.764925
120
0.657194
[ "mesh", "geometry", "object", "vector", "3d" ]
a86fc826a026ec4cb8b59414fb207ce162f95524
51
hh
C++
RAVL2/MSVC/include/Ravl/3D/FormatPOVRayFile.hh
isuhao/ravl2
317e0ae1cb51e320b877c3bad6a362447b5e52ec
[ "BSD-Source-Code" ]
null
null
null
RAVL2/MSVC/include/Ravl/3D/FormatPOVRayFile.hh
isuhao/ravl2
317e0ae1cb51e320b877c3bad6a362447b5e52ec
[ "BSD-Source-Code" ]
null
null
null
RAVL2/MSVC/include/Ravl/3D/FormatPOVRayFile.hh
isuhao/ravl2
317e0ae1cb51e320b877c3bad6a362447b5e52ec
[ "BSD-Source-Code" ]
null
null
null
#include "../.././3D/MeshIO/FormatPOVRayFile.hh"
12.75
48
0.647059
[ "3d" ]
a8738e17d8e659b5b6c9baa54ee3fef3c7169a3a
3,704
hpp
C++
orca_shared/include/orca_shared/mw/map.hpp
clydemcqueen/orca2
9a8add5e65201e84af19f037c187d0ce6ec702e3
[ "BSD-3-Clause" ]
9
2019-07-08T08:55:34.000Z
2020-11-23T16:57:41.000Z
orca_shared/include/orca_shared/mw/map.hpp
clydemcqueen/orca2
9a8add5e65201e84af19f037c187d0ce6ec702e3
[ "BSD-3-Clause" ]
11
2019-06-01T00:25:18.000Z
2021-02-06T18:15:58.000Z
orca_shared/include/orca_shared/mw/map.hpp
clydemcqueen/orca2
9a8add5e65201e84af19f037c187d0ce6ec702e3
[ "BSD-3-Clause" ]
3
2019-07-19T10:26:34.000Z
2020-02-03T09:14:08.000Z
// Copyright (c) 2020, Clyde McQueen. // All rights reserved. // // Software License Agreement (BSD License 2.0) // // 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 ...
29.632
99
0.708693
[ "vector" ]
a87ccc27e8d5ba1cdd6ed4fc153d45c230906297
765
cpp
C++
455A.cpp
AdithyaViswanathan/Codeforces
4f045759227845ced165dfae5763ce76cdca852d
[ "MIT" ]
null
null
null
455A.cpp
AdithyaViswanathan/Codeforces
4f045759227845ced165dfae5763ce76cdca852d
[ "MIT" ]
null
null
null
455A.cpp
AdithyaViswanathan/Codeforces
4f045759227845ced165dfae5763ce76cdca852d
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; #define ll long long void solve() { ll n; cin>>n; map<ll,ll>m; ll maxi=INT_MIN; vector<ll>v(n); vector<ll>cnt(100001,0); for(auto &t:v) cin>>t,cnt[t]++,maxi=max(maxi,t); vector<ll>sum(maxi+2,0); ll index = 0; ll maxi2=INT_MIN; for(index=0;index<=maxi;index++) ...
18.658537
62
0.616993
[ "vector" ]
a87cf927b93c139fba027c27654167463903418f
1,536
hpp
C++
ReactNativeFrontend/ios/Pods/boost/boost/geometry/strategies/azimuth/spherical.hpp
Harshitha91/Tmdb-react-native-node
e06e3f25a7ee6946ef07a1f524fdf62e48424293
[ "Apache-2.0" ]
326
2015-02-08T13:47:49.000Z
2022-03-16T02:13:59.000Z
ReactNativeFrontend/ios/Pods/boost/boost/geometry/strategies/azimuth/spherical.hpp
Harshitha91/Tmdb-react-native-node
e06e3f25a7ee6946ef07a1f524fdf62e48424293
[ "Apache-2.0" ]
623
2015-01-02T23:45:23.000Z
2022-03-09T11:15:23.000Z
ReactNativeFrontend/ios/Pods/boost/boost/geometry/strategies/azimuth/spherical.hpp
Harshitha91/Tmdb-react-native-node
e06e3f25a7ee6946ef07a1f524fdf62e48424293
[ "Apache-2.0" ]
215
2015-01-14T15:50:38.000Z
2022-02-23T03:58:36.000Z
// Boost.Geometry // Copyright (c) 2021, Oracle and/or its affiliates. // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle // Licensed under the Boost Software License version 1.0. // http://www.boost.org/users/license.html #ifndef BOOST_GEOMETRY_STRATEGIES_AZIMUTH_SPHERICAL_HPP #define BOOST_GEO...
22.588235
91
0.754557
[ "geometry" ]
a88540e21ff3d26b15e9d1d01321b424216bd481
4,750
cc
C++
modules/audio_processing/aec3/render_delay_controller.cc
bebo/webrtc
61ab9c5200ffb1281d038978465543cc52598e16
[ "DOC", "BSD-3-Clause" ]
null
null
null
modules/audio_processing/aec3/render_delay_controller.cc
bebo/webrtc
61ab9c5200ffb1281d038978465543cc52598e16
[ "DOC", "BSD-3-Clause" ]
null
null
null
modules/audio_processing/aec3/render_delay_controller.cc
bebo/webrtc
61ab9c5200ffb1281d038978465543cc52598e16
[ "DOC", "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
33.450704
81
0.760842
[ "render", "vector" ]
a887f08c9af119e81cefc0e41063256f89ecaa29
24,697
cpp
C++
simulator_2.0/simulation.cpp
AliceDeLorenci/pray-predator-coevolution
1b0aa7c909bdb4208d630ec73ee594bae0b6f6a6
[ "MIT" ]
null
null
null
simulator_2.0/simulation.cpp
AliceDeLorenci/pray-predator-coevolution
1b0aa7c909bdb4208d630ec73ee594bae0b6f6a6
[ "MIT" ]
null
null
null
simulator_2.0/simulation.cpp
AliceDeLorenci/pray-predator-coevolution
1b0aa7c909bdb4208d630ec73ee594bae0b6f6a6
[ "MIT" ]
null
null
null
#include "simulationmanager.h" #include "ui_simulationmanager.h" #include <stdio.h> #include <stdlib.h> #include <time.h> #include <queue> #include <utility> #include <QFileDialog> #include <QDebug> #include <QMessageBox> #include <QFile> #include <QTimer> #include <QString> #include <QtMath> #include <opencv2/core/...
29.899516
231
0.523019
[ "vector" ]
a888014fa1ec66bb6c2518bb835b5f6ac884ac1d
1,703
hpp
C++
include/allocator.hpp
JYLeeLYJ/tair_contest_season1
34d00801bb01bb355b630ecb8bd30159ed8b59ef
[ "MIT" ]
1
2021-04-02T06:02:57.000Z
2021-04-02T06:02:57.000Z
include/allocator.hpp
JYLeeLYJ/tair_contest_code
34d00801bb01bb355b630ecb8bd30159ed8b59ef
[ "MIT" ]
null
null
null
include/allocator.hpp
JYLeeLYJ/tair_contest_code
34d00801bb01bb355b630ecb8bd30159ed8b59ef
[ "MIT" ]
null
null
null
#ifndef ALLOCATOR_INCLUDE_H #define ALLOCATOR_INCLUDE_H #include <array> #include <vector> #include <string> #include "fmt/format.h" #include "kvfile.hpp" //not thread safe template<std::size_t n_block> class value_block_allocator{ public: static constexpr uint32_t null_index = 0xffffffff; static constexpr u...
22.407895
118
0.600117
[ "vector" ]
a88e0d580699077e74586077d672b342ee7e023d
1,914
cpp
C++
aws-cpp-sdk-opsworks/source/model/Architecture.cpp
lintonv/aws-sdk-cpp
15e19c265ffce19d2046b18aa1b7307fc5377e58
[ "Apache-2.0" ]
1
2022-02-12T08:09:30.000Z
2022-02-12T08:09:30.000Z
aws-cpp-sdk-opsworks/source/model/Architecture.cpp
lintonv/aws-sdk-cpp
15e19c265ffce19d2046b18aa1b7307fc5377e58
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-opsworks/source/model/Architecture.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T11:58:03.000Z
2021-11-09T11:58:03.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/opsworks/model/Architecture.h> #include <aws/core/utils/HashingUtils.h> #include <aws/core/Globals.h> #include <aws/core/utils/EnumParseOverflowContainer.h> using namespace Aws::Utils; ...
26.957746
92
0.602926
[ "model" ]
a88eed317fe7e41b2c7f8bf1ebf9fe6afca96853
694
cpp
C++
projects/vkworld/wrappers/VkwPerlin.cpp
stefannesic/world
44c01623ab1777c3224f83f53b74d50b58372fb1
[ "MIT" ]
16
2021-03-14T16:30:32.000Z
2022-03-18T13:41:53.000Z
projects/vkworld/wrappers/VkwPerlin.cpp
stefannesic/world
44c01623ab1777c3224f83f53b74d50b58372fb1
[ "MIT" ]
1
2020-04-21T12:59:37.000Z
2020-04-23T17:49:03.000Z
projects/vkworld/wrappers/VkwPerlin.cpp
stefannesic/world
44c01623ab1777c3224f83f53b74d50b58372fb1
[ "MIT" ]
4
2020-03-08T14:04:50.000Z
2020-12-03T08:51:04.000Z
#include "VkwPerlin.h" #include <numeric> namespace world { VkwSubBuffer VkwPerlin::createPerlinHash() { std::mt19937 rng(std::random_device{}()); std::vector<u32> random(256); std::iota(random.begin(), random.end(), 0); std::shuffle(random.begin(), random.end(), rng); random.insert(random.end()...
26.692308
78
0.652738
[ "vector" ]
a89852e0a135813fe9519e2b0c69bda6c712f8ef
49,504
cpp
C++
download/GribStreamer.cpp
fmidev/smartmet-plugin-download
93de102c3e66b264c975d41751fde01d403f7d21
[ "MIT" ]
null
null
null
download/GribStreamer.cpp
fmidev/smartmet-plugin-download
93de102c3e66b264c975d41751fde01d403f7d21
[ "MIT" ]
null
null
null
download/GribStreamer.cpp
fmidev/smartmet-plugin-download
93de102c3e66b264c975d41751fde01d403f7d21
[ "MIT" ]
1
2017-05-31T10:12:12.000Z
2017-05-31T10:12:12.000Z
// ====================================================================== /*! * \brief SmartMet download service plugin; grib streaming */ // ====================================================================== #include "GribStreamer.h" #include "Datum.h" #include "Plugin.h" #include <boost/date_time/gregorian/gre...
30.882096
100
0.582539
[ "geometry", "shape", "vector" ]
a89e23daefc0c294cedb5c45bef23b4cdbb0f4ff
1,179
cpp
C++
02_Programming_Fundamentals/06_Programming_Fundamentals_CPP/13_Exams/17 November 2019/3.cpp
Knightwalker/Knowledgebase
00c6dea5e52c0d2b0fe0dc3b7b5c298d445f0161
[ "MIT" ]
null
null
null
02_Programming_Fundamentals/06_Programming_Fundamentals_CPP/13_Exams/17 November 2019/3.cpp
Knightwalker/Knowledgebase
00c6dea5e52c0d2b0fe0dc3b7b5c298d445f0161
[ "MIT" ]
null
null
null
02_Programming_Fundamentals/06_Programming_Fundamentals_CPP/13_Exams/17 November 2019/3.cpp
Knightwalker/Knowledgebase
00c6dea5e52c0d2b0fe0dc3b7b5c298d445f0161
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <map> #include <vector> #include <sstream> using namespace std; void readStringVectorFromStringStream(vector<string>& vect, string inputLine); int main() { map<int, vector<string>> resultDict; int n = 0; cin >> n; cin.ignore(); for (int i = 0; i < n; i++) { strin...
21.436364
85
0.612383
[ "vector" ]
a8ad9feea1a441f42daa4c686085ffe9bf880df1
5,796
cpp
C++
src/keystore.cpp
jack-spring/freetradechain
79b852e86301153ad4e05e0665fb6167a7c3ac14
[ "MIT" ]
null
null
null
src/keystore.cpp
jack-spring/freetradechain
79b852e86301153ad4e05e0665fb6167a7c3ac14
[ "MIT" ]
null
null
null
src/keystore.cpp
jack-spring/freetradechain
79b852e86301153ad4e05e0665fb6167a7c3ac14
[ "MIT" ]
null
null
null
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2016 The Coin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "keystore.h" #include "wallet/wallet.h" #include "crypter.h" #include "key.h" #in...
25.2
109
0.698758
[ "object" ]
a8b8986409d1370bf56d0d08569bb37491c0bd7a
3,389
cc
C++
cogrob_ros/auto_dock_logging/src/workspace/util/file_system.cc
CogRob/TritonBot
d05b521ec7a7f54a04409f5a2897f3e5c75fd3bf
[ "BSD-3-Clause" ]
8
2018-09-21T09:56:02.000Z
2021-07-26T14:35:14.000Z
cogrob_ros/speak_text_logging/src/workspace/util/file_system.cc
CogRob/TritonBot
d05b521ec7a7f54a04409f5a2897f3e5c75fd3bf
[ "BSD-3-Clause" ]
null
null
null
cogrob_ros/speak_text_logging/src/workspace/util/file_system.cc
CogRob/TritonBot
d05b521ec7a7f54a04409f5a2897f3e5c75fd3bf
[ "BSD-3-Clause" ]
4
2018-08-26T21:44:52.000Z
2019-08-22T07:38:08.000Z
// Copyright (c) 2018, The Regents of the University of California // 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 // noti...
35.302083
80
0.699026
[ "vector" ]
a8c076dfffbb967038cdca7233ad783b6b8ede18
60,791
cpp
C++
src/pegasus/regmod/main.cpp
LegalizeAdulthood/cimple
5ec70784f2ee3e455a2258f82b07c0dacccb4093
[ "MIT" ]
4
2015-12-16T06:43:14.000Z
2020-01-24T06:05:47.000Z
src/pegasus/regmod/main.cpp
LegalizeAdulthood/cimple
5ec70784f2ee3e455a2258f82b07c0dacccb4093
[ "MIT" ]
null
null
null
src/pegasus/regmod/main.cpp
LegalizeAdulthood/cimple
5ec70784f2ee3e455a2258f82b07c0dacccb4093
[ "MIT" ]
null
null
null
/* **============================================================================== ** ** Copyright (c) 2003 - 2009, Michael Brasher, Karl Schopmeyer ** ** 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 ...
26.03469
80
0.489924
[ "object", "vector" ]
a8c54b924a32ce6f8d05f65eac92072baa454ec8
2,997
cc
C++
src/codebook/algorithms/CentroidDecomposition.cc
anshika581/competitive-programming-1
c34fb89820cd7260661daa2283f492b07cd9f8d2
[ "Apache-2.0", "MIT" ]
83
2017-08-30T01:20:03.000Z
2022-02-12T13:50:27.000Z
src/codebook/algorithms/CentroidDecomposition.cc
anshika581/competitive-programming-1
c34fb89820cd7260661daa2283f492b07cd9f8d2
[ "Apache-2.0", "MIT" ]
1
2015-08-20T13:37:59.000Z
2015-08-26T00:56:39.000Z
src/codebook/algorithms/CentroidDecomposition.cc
anshika581/competitive-programming-1
c34fb89820cd7260661daa2283f492b07cd9f8d2
[ "Apache-2.0", "MIT" ]
41
2017-11-09T06:10:08.000Z
2022-01-11T14:10:25.000Z
/* * Centroid decomposition: A variation of the divide and conquer paradigm that is used on trees. * Find the centroid of the tree and mark it. After running an algorithm on the entire tree, * remove the centroid. The original tree will decompose into a number of different trees. * Recursively run the algorithm and...
24.975
96
0.56323
[ "vector" ]
a8c5a739434790f90c4277a6736beeea580fb5fe
8,814
cpp
C++
cpp/src/cylon/join/join_utils.cpp
vibhatha/cylon
3f2c5b08935a4332b820818ca113cb44f7ac5da3
[ "Apache-2.0" ]
5
2021-01-06T04:28:16.000Z
2021-11-24T01:27:21.000Z
cpp/src/cylon/join/join_utils.cpp
vibhatha/cylon
3f2c5b08935a4332b820818ca113cb44f7ac5da3
[ "Apache-2.0" ]
1
2020-09-24T16:35:27.000Z
2020-09-24T16:35:27.000Z
cpp/src/cylon/join/join_utils.cpp
vibhatha/cylon
3f2c5b08935a4332b820818ca113cb44f7ac5da3
[ "Apache-2.0" ]
null
null
null
/* * 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 * distributed u...
43.418719
118
0.568527
[ "vector" ]
a8c6568d4904919304a6a71d78996f64197fcaa5
36,425
cpp
C++
src/mlapack/Rsbgst.cpp
JaegerP/gmpack
1396fda32177b1517cb6c176543025c3336c8c21
[ "BSD-2-Clause" ]
null
null
null
src/mlapack/Rsbgst.cpp
JaegerP/gmpack
1396fda32177b1517cb6c176543025c3336c8c21
[ "BSD-2-Clause" ]
null
null
null
src/mlapack/Rsbgst.cpp
JaegerP/gmpack
1396fda32177b1517cb6c176543025c3336c8c21
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (c) 2008-2010 * Nakata, Maho * All rights reserved. * * $Id: Rsbgst.cpp,v 1.12 2010/08/07 04:48:33 nakatamaho Exp $ * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistribut...
35.364078
179
0.490652
[ "vector", "transform" ]
a8c8e93e78eb36a31f2031bac8ffda22995a8be6
5,535
hpp
C++
include/Zenject/AnimatorIkHandlerManager.hpp
marksteward/BeatSaber-Quest-Codegen
a76f063f71cef207a9f048ad7613835f554911a7
[ "Unlicense" ]
null
null
null
include/Zenject/AnimatorIkHandlerManager.hpp
marksteward/BeatSaber-Quest-Codegen
a76f063f71cef207a9f048ad7613835f554911a7
[ "Unlicense" ]
null
null
null
include/Zenject/AnimatorIkHandlerManager.hpp
marksteward/BeatSaber-Quest-Codegen
a76f063f71cef207a9f048ad7613835f554911a7
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" #include "extern/beatsaber-hook/shared/utils/byref.hpp" // Including type: UnityEngine.Mo...
57.061856
245
0.741102
[ "object", "vector" ]
a8cf989f8d98238a9abfc905500f174e00e45f23
45,047
cpp
C++
itemdb_parse.cpp
zorbathut/d-net
61f610ca71270c6a95cf57dc3acaeab8559a234b
[ "MIT" ]
1
2016-11-02T06:47:52.000Z
2016-11-02T06:47:52.000Z
itemdb_parse.cpp
zorbathut/d-net
61f610ca71270c6a95cf57dc3acaeab8559a234b
[ "MIT" ]
null
null
null
itemdb_parse.cpp
zorbathut/d-net
61f610ca71270c6a95cf57dc3acaeab8559a234b
[ "MIT" ]
null
null
null
#include "itemdb_parse.h" #include "dumper_registry.h" #include "itemdb_private.h" #include "itemdb_stream.h" #include "parse.h" #include "regex.h" #include "stream_file.h" #include "stream_gz.h" #include "stream_process_string.h" #include "stream_process_utility.h" #include "stream_process_vector.h" #include <fstre...
36.653377
163
0.663418
[ "object", "shape", "vector" ]
a8d4e47a63045a460308a210d1858505a4846973
18,791
cpp
C++
Cpp/SDK/ServerListItem_functions.cpp
MrManiak/Squad-SDK
742feb5991ae43d6f0cedd2d6b32b949923ca4f9
[ "Apache-2.0" ]
1
2020-08-15T08:31:55.000Z
2020-08-15T08:31:55.000Z
Cpp/SDK/ServerListItem_functions.cpp
MrManiak/Squad-SDK
742feb5991ae43d6f0cedd2d6b32b949923ca4f9
[ "Apache-2.0" ]
2
2020-08-15T08:43:56.000Z
2021-01-15T05:04:48.000Z
Cpp/SDK/ServerListItem_functions.cpp
MrManiak/Squad-SDK
742feb5991ae43d6f0cedd2d6b32b949923ca4f9
[ "Apache-2.0" ]
2
2020-08-10T12:05:42.000Z
2021-02-12T19:56:10.000Z
// Name: S, Version: b #include "../SDK.h" #ifdef _MSC_VER #pragma pack(push, 0x01) #endif /*!!HELPER_DEF!!*/ /*!!DEFINE!!*/ namespace UFT { //--------------------------------------------------------------------------- // Functions //--------------------------------------------------------------------------- // ...
32.623264
196
0.760896
[ "object" ]
a8d7c89bc43df2e4c297318c27c740e655defe01
3,480
cpp
C++
Extern/mssdk_dx7/samples/Multimedia/D3DRM/src/XofLoad/xofload.cpp
Ybalrid/orbiter
7bed82f845ea8347f238011367e07007b0a24099
[ "MIT" ]
1,040
2021-07-27T12:12:06.000Z
2021-08-02T14:24:49.000Z
Extern/mssdk_dx7/samples/Multimedia/D3DRM/src/XofLoad/xofload.cpp
Ybalrid/orbiter
7bed82f845ea8347f238011367e07007b0a24099
[ "MIT" ]
20
2021-07-27T12:25:22.000Z
2021-08-02T12:22:19.000Z
Extern/mssdk_dx7/samples/Multimedia/D3DRM/src/XofLoad/xofload.cpp
Ybalrid/orbiter
7bed82f845ea8347f238011367e07007b0a24099
[ "MIT" ]
71
2021-07-27T14:19:49.000Z
2021-08-02T05:51:52.000Z
//----------------------------------------------------------------------------- // File: xofload.cpp // // Desc: Load a .X File using the DirectXFile API // // Copyright (C) 1998-1999 Microsoft Corporation. All Rights Reserved. //----------------------------------------------------------------------------- #define INIT...
29.243697
79
0.488218
[ "mesh", "object" ]
a8da1bd4d02d6fbe3af212cdd7b96f40e147a6b2
2,403
cxx
C++
src/python/lib/graph/rag/get_lifted_edges_from_rag_and_offsets.cxx
abailoni/nifty
7cc5ef9ee5c46a44d7c248192d9b4812bc685099
[ "MIT" ]
1
2020-10-28T13:53:08.000Z
2020-10-28T13:53:08.000Z
src/python/lib/graph/rag/get_lifted_edges_from_rag_and_offsets.cxx
abailoni/nifty
7cc5ef9ee5c46a44d7c248192d9b4812bc685099
[ "MIT" ]
null
null
null
src/python/lib/graph/rag/get_lifted_edges_from_rag_and_offsets.cxx
abailoni/nifty
7cc5ef9ee5c46a44d7c248192d9b4812bc685099
[ "MIT" ]
2
2020-04-02T01:16:55.000Z
2020-10-28T13:53:09.000Z
#include <pybind11/pybind11.h> #include <pybind11/stl.h> #include "xtensor-python/pytensor.hpp" #include <cstddef> #include "nifty/graph/rag/grid_rag.hxx" #include "nifty/graph/rag/get_lifted_edges_from_rag_and_offsets.hxx" namespace py = pybind11; namespace nifty { namespace graph { using namespace...
34.328571
112
0.475239
[ "shape", "vector" ]
a8e253542852337f99839ae7b202a27bd5a384d0
20,345
cpp
C++
vbox/src/VBox/Runtime/common/misc/getoptargv.cpp
Nurzamal/rest_api_docker
a9cc01dfc235467d490d9663755b33ef6990bdd8
[ "MIT" ]
null
null
null
vbox/src/VBox/Runtime/common/misc/getoptargv.cpp
Nurzamal/rest_api_docker
a9cc01dfc235467d490d9663755b33ef6990bdd8
[ "MIT" ]
null
null
null
vbox/src/VBox/Runtime/common/misc/getoptargv.cpp
Nurzamal/rest_api_docker
a9cc01dfc235467d490d9663755b33ef6990bdd8
[ "MIT" ]
null
null
null
/* $Id: getoptargv.cpp 69111 2017-10-17 14:26:02Z vboxsync $ */ /** @file * IPRT - Command Line Parsing, Argument Vector. */ /* * Copyright (C) 2010-2017 Oracle Corporation * * This file is part of VirtualBox Open Source Edition (OSE), as * available from http://www.virtualbox.org. This file is free software; *...
31.542636
130
0.496092
[ "vector" ]
a8e8637e3305d6f779ee21f08b65cc7358b12512
13,792
cpp
C++
src/stream_info_impl.cpp
samuelpowell/liblsl
92f0e2f4870cd9b505cd35c89f70c7a9d3b191a3
[ "MIT" ]
1
2020-07-13T00:04:51.000Z
2020-07-13T00:04:51.000Z
src/stream_info_impl.cpp
samuelpowell/liblsl
92f0e2f4870cd9b505cd35c89f70c7a9d3b191a3
[ "MIT" ]
null
null
null
src/stream_info_impl.cpp
samuelpowell/liblsl
92f0e2f4870cd9b505cd35c89f70c7a9d3b191a3
[ "MIT" ]
null
null
null
#include <boost/thread/lock_guard.hpp> #include "cast.h" #include "stream_info_impl.h" #include "api_config.h" // === implementation of the stream_info_impl class === using namespace lsl; using namespace pugi; using std::string; /// Default Constructor. stream_info_impl::stream_info_impl(): channel_count_(0), nomin...
36.975871
211
0.735571
[ "object" ]
a8ebf3ab0fde20a2f7d641f3c8f3052ee1f97853
1,944
cpp
C++
AtCoder/ABC/ABC-036/SolveD.cpp
MonadicDavidHuang/CompetitiveProgramming
b5b6f39a1be05d257f8ea8e504dd910cc624b153
[ "MIT" ]
null
null
null
AtCoder/ABC/ABC-036/SolveD.cpp
MonadicDavidHuang/CompetitiveProgramming
b5b6f39a1be05d257f8ea8e504dd910cc624b153
[ "MIT" ]
null
null
null
AtCoder/ABC/ABC-036/SolveD.cpp
MonadicDavidHuang/CompetitiveProgramming
b5b6f39a1be05d257f8ea8e504dd910cc624b153
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; using ll = long long int; const int MAX = (int)(1e5 + 5); const ll INF = (ll)(1e10 + 5); const int MAX_N = (int)(1e5 + 5); const ll MOD = (ll)(1e9 + 7); ///////////////////////////////////////////////////////////// class ModuloOperator { public: ll modulo; ModuloO...
17.357143
65
0.462449
[ "vector" ]
a8edcc65069b9ec05d6315ce0f41af11cfc3c81d
524
cpp
C++
src/Parser/Data_Structures/Non_Terminal/line.cpp
MuhammedKhamis/Camila
51a0c09f99cf4d624802dac8fc169ad2c06223aa
[ "MIT" ]
1
2018-05-17T07:52:39.000Z
2018-05-17T07:52:39.000Z
src/Parser/Data_Structures/Non_Terminal/line.cpp
MuhammedKhamis/Camila
51a0c09f99cf4d624802dac8fc169ad2c06223aa
[ "MIT" ]
null
null
null
src/Parser/Data_Structures/Non_Terminal/line.cpp
MuhammedKhamis/Camila
51a0c09f99cf4d624802dac8fc169ad2c06223aa
[ "MIT" ]
1
2018-09-29T08:44:15.000Z
2018-09-29T08:44:15.000Z
// // Created by muhammed on 25/04/18. // #include "line.h" line::line(string non_terminal) : non_terminal(non_terminal) {} line::line() {} void line::add_element(element elem) { this->productions.emplace_back(elem); } vector<string> line::get_follows(string &val) { vector<string> follows; for(int i =...
19.407407
63
0.667939
[ "vector" ]
6f04b816eb948fc50d54b187fe16d6f74b4a9136
4,721
cpp
C++
source/sample/transformer/T2TEncoder.cpp
Dynamite12138/NLPwork
640c0e6b9a96997852a72df169869c7ad058a996
[ "Apache-2.0" ]
543
2019-11-03T12:15:13.000Z
2022-03-04T10:12:13.000Z
source/sample/transformer/T2TEncoder.cpp
Dynamite12138/NLPwork
640c0e6b9a96997852a72df169869c7ad058a996
[ "Apache-2.0" ]
8
2019-11-07T16:23:49.000Z
2021-06-05T05:18:25.000Z
source/sample/transformer/T2TEncoder.cpp
Dynamite12138/NLPwork
640c0e6b9a96997852a72df169869c7ad058a996
[ "Apache-2.0" ]
273
2019-11-04T04:57:12.000Z
2022-03-04T10:12:16.000Z
/* NiuTrans.Tensor - an open-source tensor library * Copyright (C) 2020, Natural Language Processing Lab, Northeastern University. * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy o...
27.289017
93
0.653251
[ "model" ]
6f0731d91c1051c778c9727e92036072570b403f
5,019
cc
C++
alidns/src/model/DescribePdnsRequestStatisticsResult.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
alidns/src/model/DescribePdnsRequestStatisticsResult.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
alidns/src/model/DescribePdnsRequestStatisticsResult.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
69
2018-01-22T09:45:52.000Z
2022-03-28T07:58:38.000Z
/* * Copyright 2009-2017 Alibaba Cloud All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required...
42.176471
115
0.775852
[ "vector", "model" ]
6f080a0d8aefd61b8cfd284e5542a4d6030ead70
1,178
cpp
C++
N0977-Squares-of-a-Sorted-Array/solution1.cpp
loyio/leetcode
366393c29a434a621592ef6674a45795a3086184
[ "CC0-1.0" ]
null
null
null
N0977-Squares-of-a-Sorted-Array/solution1.cpp
loyio/leetcode
366393c29a434a621592ef6674a45795a3086184
[ "CC0-1.0" ]
null
null
null
N0977-Squares-of-a-Sorted-Array/solution1.cpp
loyio/leetcode
366393c29a434a621592ef6674a45795a3086184
[ "CC0-1.0" ]
2
2022-01-25T05:31:31.000Z
2022-02-26T07:22:23.000Z
// // main.cpp // LeetCode-Solution // // Created by Loyio Hex on 3/9/22. // #include <iostream> #include <chrono> #include <vector> using namespace std; using namespace std::chrono; class Solution{ public: vector<int> sortedSquares(vector<int>& nums){ int len = nums.size(); vector<int> ans(le...
22.226415
74
0.516978
[ "vector" ]
6f0e7ef7882f26dc5e69fdc0bc1629f328b6e993
4,412
cc
C++
src/compositor/shell_surface.cc
kkspeed/NaiveWM
5da1e816ae3b9ec7a5a8c0b73b569615e231a215
[ "BSD-3-Clause" ]
null
null
null
src/compositor/shell_surface.cc
kkspeed/NaiveWM
5da1e816ae3b9ec7a5a8c0b73b569615e231a215
[ "BSD-3-Clause" ]
1
2017-07-12T06:22:10.000Z
2017-07-16T17:27:09.000Z
src/compositor/shell_surface.cc
kkspeed/NaiveWM
5da1e816ae3b9ec7a5a8c0b73b569615e231a215
[ "BSD-3-Clause" ]
1
2018-07-22T02:02:11.000Z
2018-07-22T02:02:11.000Z
#include "compositor/shell_surface.h" #include "compositor/buffer.h" #include "compositor/surface.h" #include "wm/window_impl.h" #include "wm/window_impl/window_impl_wayland.h" #include "wm/window_manager.h" namespace naive { ShellSurface::ShellSurface(Surface* surface) : surface_(surface), window_(surface->wind...
31.514286
75
0.696736
[ "geometry" ]
6f158045403b50cbf1ca8af37f6755496e29d480
27,809
cpp
C++
src/sw_interface/BaseControllerROS.cpp
evocortex/evo_rd_platform_example
3123d9c75b09d11f98311651c1c5f31e488d4519
[ "MIT" ]
null
null
null
src/sw_interface/BaseControllerROS.cpp
evocortex/evo_rd_platform_example
3123d9c75b09d11f98311651c1c5f31e488d4519
[ "MIT" ]
10
2020-01-13T15:19:15.000Z
2021-04-06T09:17:04.000Z
src/sw_interface/BaseControllerROS.cpp
evocortex/evo_rd_platform_example
3123d9c75b09d11f98311651c1c5f31e488d4519
[ "MIT" ]
null
null
null
//############################################################### //# Copyright (C) 2020, Evocortex GmbH, All rights reserved. # //# Further regulations can be found in LICENSE file. # //############################################################### /** * @file BaseControllerROS.cpp * @author evocortex...
35.561381
138
0.616959
[ "vector", "model" ]
6f19dea53b269bee33fa5007fef421842a2e6de5
2,500
cpp
C++
Projects/Library/InstanceMap.cpp
kalineh/KAI
43ab555bcbad1886715cd00b2cdac89e12d5cfe5
[ "MIT" ]
1
2018-06-16T17:53:43.000Z
2018-06-16T17:53:43.000Z
Projects/Library/InstanceMap.cpp
kalineh/KAI
43ab555bcbad1886715cd00b2cdac89e12d5cfe5
[ "MIT" ]
null
null
null
Projects/Library/InstanceMap.cpp
kalineh/KAI
43ab555bcbad1886715cd00b2cdac89e12d5cfe5
[ "MIT" ]
null
null
null
#include "KAI/KAI.h" #include "KAI/InstanceMap.h" KAI_BEGIN InstanceMapInfinite::InstanceMapInfinite(int num_buckets) : buckets(num_buckets) { } void InstanceMapInfinite::SetNumBuckets(int num_buckets) { throw; } void InstanceMapInfinite::insert(value_type const &value) { if (!value.second) return; Bucket &...
19.685039
93
0.716
[ "object" ]
6f1a7b191d06402cdc71f94acfe8537fe7ec41f9
7,629
cpp
C++
src/SharedSurfpackApproxData.cpp
jnnccc/Dakota-orb
96488e723be9c67f0f85be8162b7af52c312b770
[ "MIT" ]
null
null
null
src/SharedSurfpackApproxData.cpp
jnnccc/Dakota-orb
96488e723be9c67f0f85be8162b7af52c312b770
[ "MIT" ]
null
null
null
src/SharedSurfpackApproxData.cpp
jnnccc/Dakota-orb
96488e723be9c67f0f85be8162b7af52c312b770
[ "MIT" ]
null
null
null
/* _______________________________________________________________________ DAKOTA: Design Analysis Kit for Optimization and Terascale Applications Copyright 2014 Sandia Corporation. This software is distributed under the GNU Lesser General Public License. For more information, see the README file in t...
35.156682
79
0.707956
[ "object", "vector", "model" ]
6f2282edf5b49b3bf14dd70c5018101f94d56e45
70,353
cpp
C++
ccm/src/AppSvr/ContainerRunTime.cpp
anjingbin/starccm
70db48004aa20bbb82cc24de80802b40c7024eff
[ "BSD-3-Clause" ]
2
2020-01-06T07:43:30.000Z
2020-07-11T20:53:53.000Z
ccm/src/AppSvr/ContainerRunTime.cpp
anjingbin/starccm
70db48004aa20bbb82cc24de80802b40c7024eff
[ "BSD-3-Clause" ]
null
null
null
ccm/src/AppSvr/ContainerRunTime.cpp
anjingbin/starccm
70db48004aa20bbb82cc24de80802b40c7024eff
[ "BSD-3-Clause" ]
null
null
null
// ********************************************************************** // // Copyright (c) 2001-2004 // StarMiddleware.net // www.StarMiddleware.net // // All Rights Reserved // // Author: Wang Kebo mep@263.net // Author: Huang Jie huangjie@email.com // Author: Su Liang centuryfree@yahoo.com.cn // // *****...
28.506078
169
0.671784
[ "object" ]
6f267d3d4c14a70508d861c98b415cef4b407109
1,937
cpp
C++
neopg/openpgp/trust_packet.cpp
mehrdad-shokri/neopg
05b370c04ffc019e55d75ab262d17abe6e69cafc
[ "BSD-2-Clause" ]
224
2017-10-29T09:48:00.000Z
2021-07-21T10:27:14.000Z
neopg/openpgp/trust_packet.cpp
mehrdad-shokri/neopg
05b370c04ffc019e55d75ab262d17abe6e69cafc
[ "BSD-2-Clause" ]
66
2017-10-29T16:17:55.000Z
2020-11-30T18:53:40.000Z
neopg/openpgp/trust_packet.cpp
mehrdad-shokri/neopg
05b370c04ffc019e55d75ab262d17abe6e69cafc
[ "BSD-2-Clause" ]
22
2017-10-29T19:55:45.000Z
2020-01-04T13:25:50.000Z
// OpenPGP trust packet (implementation) // Copyright 2017-2018 The NeoPG developers // // NeoPG is released under the Simplified BSD License (see license.txt) #include <neopg/openpgp/packet_header.h> #include <neopg/openpgp/trust_packet.h> #include <neopg/intern/cplusplus.h> #include <neopg/intern/pegtl.h> using na...
27.28169
78
0.728962
[ "vector" ]
6f2da191ac98c52db33117d48e066371b8d08089
7,756
cpp
C++
openstudiocore/src/runmanager/app/FileSystemSearch.cpp
ORNL-BTRIC/OpenStudio
878f94bebf6f025445d1373e8b2304ececac16d8
[ "blessing" ]
null
null
null
openstudiocore/src/runmanager/app/FileSystemSearch.cpp
ORNL-BTRIC/OpenStudio
878f94bebf6f025445d1373e8b2304ececac16d8
[ "blessing" ]
null
null
null
openstudiocore/src/runmanager/app/FileSystemSearch.cpp
ORNL-BTRIC/OpenStudio
878f94bebf6f025445d1373e8b2304ececac16d8
[ "blessing" ]
null
null
null
#include "FileSystemSearch.hpp" #include <utilities/core/Application.hpp> namespace openstudio { namespace runmanager { namespace detail { void FileSystemSearchThread::run() { m_fileBuilder(); } } FileSystemSearch::FileSystemSearch(const openstudio::path &t_rootPath, bool t_rec...
24.779553
120
0.59541
[ "vector" ]
6f2e8f62137dce9154cf12fc7673b4a77a40fd92
14,590
cpp
C++
modules/unzip/classes/lua_unzip.cpp
xxzhushou/CExt_Android
de5a752f52d71b5d6dc1f2e12a7f2ac58704c44a
[ "MIT" ]
9
2018-10-11T09:55:57.000Z
2018-10-11T10:54:21.000Z
modules/unzip/classes/lua_unzip.cpp
xxzhushou/CExt_Android
de5a752f52d71b5d6dc1f2e12a7f2ac58704c44a
[ "MIT" ]
1
2020-07-31T07:39:06.000Z
2020-07-31T07:39:06.000Z
modules/unzip/classes/lua_unzip.cpp
xxzhushou/CExt_Android
de5a752f52d71b5d6dc1f2e12a7f2ac58704c44a
[ "MIT" ]
9
2018-12-26T13:13:36.000Z
2022-03-27T10:26:27.000Z
#include <time.h> #include <string.h> #include "XModExtSupport.h" #include "unzip.h" #define MAXFILENAME (256) #define BUFFER_SIZE 1024 typedef struct { int zipref; // userdata int nameref; int pos, end; char buffer[BUFFER_SIZE]; } t_zipentry, *p_zipentry; typedef struct { unzFile uf; int current_na...
22.207002
106
0.589034
[ "object" ]