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
40fc8f1cc6564c7f4ba9859022f937bceb218766
7,282
cc
C++
tensorflow/compiler/xla/python/shared_device_buffer.cc
jim-meyer/tensorflow
37eafe0e7463fa72a45624206b1b94b36021df53
[ "Apache-2.0" ]
1
2019-07-15T08:40:24.000Z
2019-07-15T08:40:24.000Z
tensorflow/compiler/xla/python/shared_device_buffer.cc
jim-meyer/tensorflow
37eafe0e7463fa72a45624206b1b94b36021df53
[ "Apache-2.0" ]
null
null
null
tensorflow/compiler/xla/python/shared_device_buffer.cc
jim-meyer/tensorflow
37eafe0e7463fa72a45624206b1b94b36021df53
[ "Apache-2.0" ]
null
null
null
/* Copyright 2019 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...
39.362162
80
0.716149
[ "shape", "vector" ]
dc011cc07840f50976d3280d68c036670aea81c8
16,801
cpp
C++
src/demos/fea/demo_FEA_dynamics.cpp
lucasw/chrono
e79d8c761c718ecb4c796725cff37026f357da8c
[ "BSD-3-Clause" ]
null
null
null
src/demos/fea/demo_FEA_dynamics.cpp
lucasw/chrono
e79d8c761c718ecb4c796725cff37026f357da8c
[ "BSD-3-Clause" ]
null
null
null
src/demos/fea/demo_FEA_dynamics.cpp
lucasw/chrono
e79d8c761c718ecb4c796725cff37026f357da8c
[ "BSD-3-Clause" ]
null
null
null
// ============================================================================= // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2014 projectchrono.org // All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found // in the LICENSE file at the top level of t...
34.569959
114
0.637522
[ "mesh", "3d" ]
dc02b661cbe5a1b3bbb83596b4dd5cb5b9c9db63
853
cpp
C++
Src/Evora/Engine/drop_center.cpp
medovina/Evora
95e41e7b2d5c408d515a01a5649ddfaa211e9349
[ "Apache-2.0" ]
1
2020-11-25T20:53:36.000Z
2020-11-25T20:53:36.000Z
Src/Evora/Engine/drop_center.cpp
medovina/Evora
95e41e7b2d5c408d515a01a5649ddfaa211e9349
[ "Apache-2.0" ]
16
2020-03-06T09:11:55.000Z
2020-07-24T10:57:41.000Z
Src/Evora/Engine/drop_center.cpp
medovina/Evora
95e41e7b2d5c408d515a01a5649ddfaa211e9349
[ "Apache-2.0" ]
1
2020-01-18T13:11:38.000Z
2020-01-18T13:11:38.000Z
#include "drop_center.h" using namespace control; void drop_center::execute(std::shared_ptr<model::game> game) { m_starter_tile = game->handle_center_starter_tile(m_player_index); m_tile_indices = game->get_center_tile_indices(m_color); m_moved_to_floor = game->center_to_floor(m_player_index, m_color); m_moved_t...
23.054054
82
0.779601
[ "model" ]
dc09d688742cc82be22532463f13d9502571f61b
8,750
cpp
C++
src/test/chainparams_tests.cpp
koalajack/koalachain
84b5d5351072947f79f982ca24666047e955df3d
[ "MIT" ]
null
null
null
src/test/chainparams_tests.cpp
koalajack/koalachain
84b5d5351072947f79f982ca24666047e955df3d
[ "MIT" ]
null
null
null
src/test/chainparams_tests.cpp
koalajack/koalachain
84b5d5351072947f79f982ca24666047e955df3d
[ "MIT" ]
null
null
null
/* * chainparams_tests.cpp * * Created on: Jul 31, 2014 * Author: spark.huang */ #include "chainparams.h" #include "util.h" #include <string> #include <vector> #include <boost/algorithm/string.hpp> #include <boost/foreach.hpp> #include <boost/test/unit_test.hpp> #include <boost/assign/list_of.hpp> BOOST_A...
36.00823
174
0.7064
[ "vector" ]
dc0cd4c8b538efba327f421ea2b916bc9817787e
8,010
cc
C++
test/pc/e2e/peer_configurer.cc
hjybdrs/webrtcRepo
9427b51d6ff50af73c217cb725b1c59b9d701796
[ "BSD-3-Clause" ]
null
null
null
test/pc/e2e/peer_configurer.cc
hjybdrs/webrtcRepo
9427b51d6ff50af73c217cb725b1c59b9d701796
[ "BSD-3-Clause" ]
null
null
null
test/pc/e2e/peer_configurer.cc
hjybdrs/webrtcRepo
9427b51d6ff50af73c217cb725b1c59b9d701796
[ "BSD-3-Clause" ]
1
2021-11-09T03:15:47.000Z
2021-11-09T03:15:47.000Z
/* * Copyright (c) 2020 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...
39.458128
80
0.661174
[ "vector" ]
dc0fa5ee66ee6945a8a4ccbf00a2c2fedb2111b0
8,953
cpp
C++
mcs/psc_tests/tamarin-redux/utils/sharkprof/log2s.cpp
sushihangover/PlayScript
a2b7c04e176ddb0ddbc16999e5a5902a1e15b563
[ "Apache-2.0" ]
20
2015-07-14T07:30:28.000Z
2021-11-12T07:41:34.000Z
avmplus/utils/sharkprof/log2s.cpp
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
83
2015-07-16T01:31:41.000Z
2016-01-13T02:15:47.000Z
avmplus/utils/sharkprof/log2s.cpp
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
10
2015-06-14T14:39:59.000Z
2021-11-12T07:41:35.000Z
/* -*- Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 4 -*- */ /* vi: set ts=4 sw=4 expandtab: (add to ~/.vimrc: set modeline modelines=5) */ /* 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 ob...
24.067204
80
0.492907
[ "vector" ]
dc1368c58df84bdac84317339624d7b2788757fe
807
cpp
C++
test/snippet/range/view/convert.cpp
Clemapfel/seqan3
7114024ccaa883364d47f9335d6b19525a1fa7a9
[ "BSD-3-Clause" ]
4
2018-03-09T09:37:51.000Z
2020-07-28T04:52:01.000Z
test/snippet/range/view/convert.cpp
Clemapfel/seqan3
7114024ccaa883364d47f9335d6b19525a1fa7a9
[ "BSD-3-Clause" ]
null
null
null
test/snippet/range/view/convert.cpp
Clemapfel/seqan3
7114024ccaa883364d47f9335d6b19525a1fa7a9
[ "BSD-3-Clause" ]
1
2018-03-09T09:37:54.000Z
2018-03-09T09:37:54.000Z
#include <seqan3/range/view/convert.hpp> #include <seqan3/alphabet/nucleotide/dna15.hpp> #include <seqan3/alphabet/nucleotide/dna5.hpp> #include <seqan3/std/ranges> using namespace seqan3; int main() { { //! [int_to_bool] // convert from int to bool std::vector<int> vec{7, 5, 0, 5, 0, 0, 4, 8, -3}; // pipe notatio...
20.692308
92
0.635688
[ "vector" ]
dc150296600f90b9b1d26666b54c50de05a8dae6
3,067
cc
C++
mindspore/lite/tools/converter/adapter/dpico/infer/dpico_recurrent_infer.cc
httpsgithu/mindspore
c29d6bb764e233b427319cb89ba79e420f1e2c64
[ "Apache-2.0" ]
1
2022-02-23T09:13:43.000Z
2022-02-23T09:13:43.000Z
mindspore/lite/tools/converter/adapter/dpico/infer/dpico_recurrent_infer.cc
949144093/mindspore
c29d6bb764e233b427319cb89ba79e420f1e2c64
[ "Apache-2.0" ]
null
null
null
mindspore/lite/tools/converter/adapter/dpico/infer/dpico_recurrent_infer.cc
949144093/mindspore
c29d6bb764e233b427319cb89ba79e420f1e2c64
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2021 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...
35.252874
116
0.698076
[ "shape", "vector" ]
dc15d0cb24e0a8df7052043643065db18ab4ab1a
886
cpp
C++
Algorithms/Sorting/Easy/Insertion-Sort-Part-1.cpp
Justin-Teng/HackerRank
bb501715d4fb0322ccffa70b75c4d6df1463a334
[ "MIT" ]
null
null
null
Algorithms/Sorting/Easy/Insertion-Sort-Part-1.cpp
Justin-Teng/HackerRank
bb501715d4fb0322ccffa70b75c4d6df1463a334
[ "MIT" ]
null
null
null
Algorithms/Sorting/Easy/Insertion-Sort-Part-1.cpp
Justin-Teng/HackerRank
bb501715d4fb0322ccffa70b75c4d6df1463a334
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; void printArray (const vector <int>& arr) { for (int i = 0; i < arr.size(); i++) { cout << arr.at(i); if (i != arr.size()-1) cout << ' '; } cout << endl; } void insertionSort1(int n, vector <int> arr) { int index = n-2; int...
19.688889
46
0.430023
[ "vector" ]
dc1acd9e3ba09fd25567cec91e780c95b4307f27
2,543
hpp
C++
include/UnityEngine/Networking/UnityWebRequestMultimedia.hpp
marksteward/BeatSaber-Quest-Codegen
a76f063f71cef207a9f048ad7613835f554911a7
[ "Unlicense" ]
null
null
null
include/UnityEngine/Networking/UnityWebRequestMultimedia.hpp
marksteward/BeatSaber-Quest-Codegen
a76f063f71cef207a9f048ad7613835f554911a7
[ "Unlicense" ]
null
null
null
include/UnityEngine/Networking/UnityWebRequestMultimedia.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" // Completed includes // Begin f...
50.86
227
0.745576
[ "vector" ]
dc1c70159bc76c64062522c1de97951c3f66bb31
7,527
cpp
C++
depends/libfqfft/libfqfft/tests/evaluation_domain_test.cpp
alittlehorse/osprey
22f290a7de3413a847e3dc33c96328752cc37f47
[ "MIT" ]
5
2021-03-04T08:28:38.000Z
2021-04-20T11:50:40.000Z
depends/libfqfft/libfqfft/tests/evaluation_domain_test.cpp
alittlehorse/osprey
22f290a7de3413a847e3dc33c96328752cc37f47
[ "MIT" ]
null
null
null
depends/libfqfft/libfqfft/tests/evaluation_domain_test.cpp
alittlehorse/osprey
22f290a7de3413a847e3dc33c96328752cc37f47
[ "MIT" ]
1
2021-05-22T15:50:15.000Z
2021-05-22T15:50:15.000Z
/** ***************************************************************************** * @author This file is part of libfqfft, developed by SCIPR Lab * and contributors (see AUTHORS). * @copyright MIT license (see LICENSE file) **************************************************************************...
31.493724
99
0.588149
[ "vector" ]
dc21348c603a176cec30fe094d6fad6683c4853b
17,709
cpp
C++
src/PolylineSegmentedPath.cpp
cgrebeld/opensteerpy
25adfc50bed808d516ab30656d4a86634f70c532
[ "MIT" ]
3
2015-02-22T02:27:53.000Z
2019-06-25T21:05:31.000Z
src/PolylineSegmentedPath.cpp
onedayitwillmake/OpenSteerMirror
51a614bb5c62ff7e02514e55a7148cd4d67c67a1
[ "Unlicense", "MIT" ]
null
null
null
src/PolylineSegmentedPath.cpp
onedayitwillmake/OpenSteerMirror
51a614bb5c62ff7e02514e55a7148cd4d67c67a1
[ "Unlicense", "MIT" ]
null
null
null
/** * OpenSteer -- Steering Behaviors for Autonomous Characters * * Copyright (c) 2002-2005, Sony Computer Entertainment America * Original author: Craig Reynolds <craig_reynolds@playstation.sony.com> * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associat...
34.386408
176
0.61737
[ "vector" ]
dc266a8b49d924b67df6ddf4cda2d77005d2c0cc
6,484
cpp
C++
src/lib/TableFunction.cpp
alexkorochkin/mcray
2cfa58d2cd6f872612f6396d65781ad83211c06c
[ "MIT" ]
7
2020-12-16T08:23:31.000Z
2022-01-15T22:56:26.000Z
src/lib/TableFunction.cpp
alexkorochkin/mcray
2cfa58d2cd6f872612f6396d65781ad83211c06c
[ "MIT" ]
null
null
null
src/lib/TableFunction.cpp
alexkorochkin/mcray
2cfa58d2cd6f872612f6396d65781ad83211c06c
[ "MIT" ]
2
2020-12-16T08:23:34.000Z
2022-01-10T21:05:54.000Z
/* * TableFunction.cpp * * Author: * Oleg Kalashev * * Copyright (c) 2020 Institute for Nuclear Research, RAS * * 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 restric...
25.229572
172
0.694479
[ "vector" ]
dc287789f4320368026c9e311d09799060fd385f
9,428
cpp
C++
src/MPC.cpp
philippmarcus/CarND-MPC-Project
078d93263e65ee1e000918e4b454eaed5cf7c2e3
[ "MIT" ]
null
null
null
src/MPC.cpp
philippmarcus/CarND-MPC-Project
078d93263e65ee1e000918e4b454eaed5cf7c2e3
[ "MIT" ]
null
null
null
src/MPC.cpp
philippmarcus/CarND-MPC-Project
078d93263e65ee1e000918e4b454eaed5cf7c2e3
[ "MIT" ]
null
null
null
#include "MPC.h" #include <cppad/cppad.hpp> #include <cppad/ipopt/solve.hpp> #include <iostream> #include <string> #include <vector> #include <exception> #include "Eigen-3.3/Eigen/Core" #include "Eigen-3.3/Eigen/QR" #include "helpers.h" using CppAD::AD; using Eigen::VectorXd; /** * TODO: Set the timestep length and ...
32.622837
96
0.642978
[ "object", "vector", "model" ]
dc2934dfd4432a4a141db6421ac629d8c29efd20
1,744
cpp
C++
src/game/server/cplane.cpp
vxsd/refraction
bb6def1feb6c2e5c94b2604ad55607ed380a2d7e
[ "MIT" ]
14
2021-02-16T14:13:50.000Z
2022-03-17T18:29:19.000Z
src/game/server/cplane.cpp
undbsd/refraction
bb6def1feb6c2e5c94b2604ad55607ed380a2d7e
[ "MIT" ]
7
2021-08-06T18:40:37.000Z
2022-03-09T18:05:08.000Z
src/game/server/cplane.cpp
undbsd/refraction
bb6def1feb6c2e5c94b2604ad55607ed380a2d7e
[ "MIT" ]
2
2021-08-05T16:03:03.000Z
2021-11-26T00:11:27.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // // $NoKeywords: $ //=============================================================================// #include "cbase.h" #include "game.h" #include "cplane.h" // memdbgon must be the last include file in a .cpp file!!! #includ...
24.222222
81
0.427752
[ "vector" ]
dc295c4738fca60aca3f0d8e957113de671c405f
4,439
cpp
C++
libs/numeric/odeint/test/rosenbrock4_mp.cpp
cpp-pm/boost
38c6c8c07f2fcc42d573b10807fef27ec14930f8
[ "BSL-1.0" ]
12,278
2015-01-29T17:11:33.000Z
2022-03-31T21:12:00.000Z
libs/numeric/odeint/test/rosenbrock4_mp.cpp
cpp-pm/boost
38c6c8c07f2fcc42d573b10807fef27ec14930f8
[ "BSL-1.0" ]
9,469
2015-01-30T05:33:07.000Z
2022-03-31T16:17:21.000Z
libs/numeric/odeint/test/rosenbrock4_mp.cpp
cpp-pm/boost
38c6c8c07f2fcc42d573b10807fef27ec14930f8
[ "BSL-1.0" ]
1,343
2017-12-08T19:47:19.000Z
2022-03-26T11:31:36.000Z
/* [auto_generated] libs/numeric/odeint/test/rosenbrock4.cpp [begin_description] This file tests the Rosenbrock 4 stepper and its controller and dense output stepper. [end_description] Copyright 2009-2012 Karsten Ahnert Copyright 2009-2012 Mario Mulansky Distributed under the Boost Software License, Version ...
30.826389
111
0.700834
[ "vector" ]
dc2b18c6379a50883a3fac6ffd62aac00074a4dd
2,230
cpp
C++
python/py_caffe_module/_bp_test.cpp
HughKu/caffe-retrieval
20085014a7422445cd45d53c3e7b5742d3a242c9
[ "MIT" ]
1
2021-02-21T19:10:32.000Z
2021-02-21T19:10:32.000Z
python/py_caffe_module/_bp_test.cpp
HughKu/caffe-retrieval
20085014a7422445cd45d53c3e7b5742d3a242c9
[ "MIT" ]
null
null
null
python/py_caffe_module/_bp_test.cpp
HughKu/caffe-retrieval
20085014a7422445cd45d53c3e7b5742d3a242c9
[ "MIT" ]
null
null
null
#include <Python.h> // NOLINT(build/include_alpha) // Produce deprecation warnings (needs to come before arrayobject.h inclusion). #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION #include <boost/make_shared.hpp> #include <boost/python.hpp> #include <boost/python/raw_function.hpp> #include <boost/python/suite/index...
32.318841
134
0.69417
[ "object", "vector" ]
dc2b6787f481887ec6487e575ba0821dfd2551fe
2,362
cpp
C++
libtcod-1.5.1-mingw32/libtcod-1.5.1/src/gui/slider.cpp
KitRobinson/rogue
aeb4df46d8d228a56b21669aa74302a3db136092
[ "bzip2-1.0.6" ]
1
2015-05-19T08:12:49.000Z
2015-05-19T08:12:49.000Z
libtcod32-1.5.2/src/gui/slider.cpp
fillest/7drl2013
96d291dce08a85d3871713c99f3a036de482d6ca
[ "MIT" ]
null
null
null
libtcod32-1.5.2/src/gui/slider.cpp
fillest/7drl2013
96d291dce08a85d3871713c99f3a036de482d6ca
[ "MIT" ]
null
null
null
#include <stdio.h> #include <string.h> #include <math.h> #include "libtcod.hpp" #include "gui.hpp" Slider::Slider(int x,int y,int w, float min, float max, const char *label, const char *tip) : TextBox(x,y,w,10,label,NULL,tip),min(min),max(max),value((min+max)*0.5f),sensitivity(1.0f), onArrows(false),drag(fal...
23.156863
95
0.607959
[ "render" ]
dc2b68b266eec27219aaf1950a6b8cf749464ccc
17,903
cpp
C++
src/OrbitGl/Batcher.cpp
mfkiwl/orbit
59324e837ead5f4d47a7ee3fd8159cfdc7c2603e
[ "BSD-2-Clause" ]
null
null
null
src/OrbitGl/Batcher.cpp
mfkiwl/orbit
59324e837ead5f4d47a7ee3fd8159cfdc7c2603e
[ "BSD-2-Clause" ]
null
null
null
src/OrbitGl/Batcher.cpp
mfkiwl/orbit
59324e837ead5f4d47a7ee3fd8159cfdc7c2603e
[ "BSD-2-Clause" ]
null
null
null
// Copyright (c) 2020 The Orbit 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 "Batcher.h" #include <GteVector.h> #include <GteVector2.h> #include <glad/glad.h> #include <math.h> #include <stddef.h> #include "DisplayForma...
38.584052
100
0.699268
[ "vector" ]
dc2c3e6af6be04cee6e4e69bfcd3113c67f80dfd
7,296
cc
C++
src/core/crypto/impl/cryptopp/util/compression.cc
byterubpay/kovri
8ed2e7fc26c12bcdd343b6f8b0ba36d8ad8097a8
[ "BSD-3-Clause" ]
653
2015-11-17T22:50:10.000Z
2022-03-30T17:43:10.000Z
src/core/crypto/impl/cryptopp/util/compression.cc
byterubpay/kovri
8ed2e7fc26c12bcdd343b6f8b0ba36d8ad8097a8
[ "BSD-3-Clause" ]
593
2015-11-17T16:40:58.000Z
2019-12-06T22:07:32.000Z
src/core/crypto/impl/cryptopp/util/compression.cc
byterubpay/kovri
8ed2e7fc26c12bcdd343b6f8b0ba36d8ad8097a8
[ "BSD-3-Clause" ]
150
2015-11-17T16:13:55.000Z
2022-03-07T06:07:57.000Z
/** // * Copyright (c) 2015-2017, The Kovri I2P Router Project // * // * All rights reserved. ...
30.527197
96
0.59937
[ "object" ]
dc37be6675b63de5d1b92b1840bc31fdc9fc975b
17,295
cpp
C++
libs/openFrameworks/utils/ofUtils.cpp
eraly5555/Hub
e890f841f16988c642cf6390fa31c3c5ae82773d
[ "MIT" ]
2
2015-12-01T16:33:43.000Z
2016-04-07T03:43:32.000Z
libs/openFrameworks/utils/ofUtils.cpp
eraly5555/Hub
e890f841f16988c642cf6390fa31c3c5ae82773d
[ "MIT" ]
null
null
null
libs/openFrameworks/utils/ofUtils.cpp
eraly5555/Hub
e890f841f16988c642cf6390fa31c3c5ae82773d
[ "MIT" ]
3
2020-02-17T14:36:18.000Z
2021-08-09T12:02:59.000Z
#include "ofUtils.h" #include "ofImage.h" #include "ofTypes.h" #include "ofGraphics.h" #include "ofAppRunner.h" #include "Poco/String.h" #include "Poco/LocalDateTime.h" #include "Poco/DateTimeFormatter.h" #include <cctype> // for toupper #include <algorithm> #ifdef TARGET_WIN32 #include <algorithm> // for std::re...
25.622222
301
0.568951
[ "vector", "transform" ]
dc42713917ad648769ccce60a852dc11a1a086cf
668
cpp
C++
src/apps/haikudepot/server/dumpexportpkg/DumpExportPkgCategory.cpp
axeld/haiku
e3becd53eef5c093ee8c8f32bab51d40b0f2b8d4
[ "MIT" ]
1
2021-08-31T01:47:13.000Z
2021-08-31T01:47:13.000Z
src/apps/haikudepot/server/dumpexportpkg/DumpExportPkgCategory.cpp
axeld/haiku
e3becd53eef5c093ee8c8f32bab51d40b0f2b8d4
[ "MIT" ]
null
null
null
src/apps/haikudepot/server/dumpexportpkg/DumpExportPkgCategory.cpp
axeld/haiku
e3becd53eef5c093ee8c8f32bab51d40b0f2b8d4
[ "MIT" ]
3
2018-12-17T13:07:38.000Z
2021-09-08T13:07:31.000Z
/* * Generated Model Object * source json-schema : dumpexport.json * generated at : 2017-12-07T23:22:17.118616 */ #include "DumpExportPkgCategory.h" DumpExportPkgCategory::DumpExportPkgCategory() { fCode = NULL; } DumpExportPkgCategory::~DumpExportPkgCategory() { if (fCode != NULL) { delete fCod...
12.603774
47
0.66018
[ "object", "model" ]
dc44900af8c230c3f33533c0051bd7f93f0507f5
1,200
cpp
C++
3-26/classdemo5.cpp
domijin/ComPhy
0dea6d7b09eb4880b7f2d8f55c321c827e713488
[ "MIT" ]
null
null
null
3-26/classdemo5.cpp
domijin/ComPhy
0dea6d7b09eb4880b7f2d8f55c321c827e713488
[ "MIT" ]
null
null
null
3-26/classdemo5.cpp
domijin/ComPhy
0dea6d7b09eb4880b7f2d8f55c321c827e713488
[ "MIT" ]
null
null
null
/******************** Overloadable operators + - * / = < > += -= *= /= << >> <<= >>= == != <= >= ++ -- % & ^ ! | ~ &= ^= |= && || %= [] () , ->* -> new delete new[] delete[] **********************/ #include <iostream> us...
31.578947
139
0.490833
[ "object", "vector" ]
dc475d73c26a2751c7bd7a85ed1a99125b83435a
430
cpp
C++
0/80. Remove Duplicates from Sorted Array II.cpp
eagleoflqj/LeetCode
ca5dd06cad4c7fe5bf679cca7ee60f4348b316e9
[ "MIT" ]
null
null
null
0/80. Remove Duplicates from Sorted Array II.cpp
eagleoflqj/LeetCode
ca5dd06cad4c7fe5bf679cca7ee60f4348b316e9
[ "MIT" ]
1
2021-12-25T10:33:23.000Z
2022-02-16T00:34:05.000Z
0/80. Remove Duplicates from Sorted Array II.cpp
eagleoflqj/LeetCode
ca5dd06cad4c7fe5bf679cca7ee60f4348b316e9
[ "MIT" ]
null
null
null
class Solution { public: int removeDuplicates(vector<int>& nums) { int n = nums.size(); if(!n) return 0; int j = 0, last = nums[0], count = 0; for(int i = 0; i < n; ++i) { if(nums[i] != last) { last = nums[i]; count = 0; ...
22.631579
45
0.360465
[ "vector" ]
dc51866d0858693ceb2d5d4160fb282c3522ca49
11,595
cpp
C++
Engine/Source/Editor/DetailCustomizations/Private/FbxImportUIDetails.cpp
PopCap/GameIdea
201e1df50b2bc99afc079ce326aa0a44b178a391
[ "BSD-2-Clause" ]
null
null
null
Engine/Source/Editor/DetailCustomizations/Private/FbxImportUIDetails.cpp
PopCap/GameIdea
201e1df50b2bc99afc079ce326aa0a44b178a391
[ "BSD-2-Clause" ]
2
2015-06-21T17:38:11.000Z
2015-06-22T20:54:42.000Z
Engine/Source/Editor/DetailCustomizations/Private/FbxImportUIDetails.cpp
PopCap/GameIdea
201e1df50b2bc99afc079ce326aa0a44b178a391
[ "BSD-2-Clause" ]
null
null
null
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved. #include "DetailCustomizationsPrivatePCH.h" #include "FbxImportUIDetails.h" #include "Factories/FbxAnimSequenceImportData.h" #include "STextComboBox.h" #include "Engine/StaticMesh.h" #define LOCTEXT_NAMESPACE "FbxImportUIDetails" FFbxImportUIDetails::FFbx...
33.128571
149
0.78508
[ "mesh", "transform" ]
dc53eef0b3e86e47f6af1e58a3a9febecc93809f
5,210
hpp
C++
dart/math/ConfigurationSpace.hpp
malasiot/dart-vsim-octomap
d7afcacdcdcf7da688fb61caf1761b1309888ffe
[ "BSD-2-Clause" ]
null
null
null
dart/math/ConfigurationSpace.hpp
malasiot/dart-vsim-octomap
d7afcacdcdcf7da688fb61caf1761b1309888ffe
[ "BSD-2-Clause" ]
null
null
null
dart/math/ConfigurationSpace.hpp
malasiot/dart-vsim-octomap
d7afcacdcdcf7da688fb61caf1761b1309888ffe
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (c) 2011-2017, The DART development contributors * All rights reserved. * * The list of contributors can be found at: * https://github.com/dartsim/dart/blob/master/LICENSE * * This file is provided under the following "BSD-style" License: * Redistribution and use in source and binary forms, w...
36.690141
80
0.638772
[ "geometry", "vector" ]
dc54caaafeeceead9c0e5b8bc4788db82e4d32e0
2,619
cpp
C++
test/c++/nda_arithmetic.cpp
Wentzell/nda
69106a64799e7942bf4b1b78fdadf3e7c9477c70
[ "Apache-2.0" ]
1
2022-03-08T06:35:19.000Z
2022-03-08T06:35:19.000Z
test/c++/nda_arithmetic.cpp
smile1103/nda
ff2239b910a5964942833e07d282a8cea32cb6fa
[ "Apache-2.0" ]
null
null
null
test/c++/nda_arithmetic.cpp
smile1103/nda
ff2239b910a5964942833e07d282a8cea32cb6fa
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2019-2020 Simons Foundation // // 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.txt // // Unless required by applicable l...
27.568421
93
0.521573
[ "vector" ]
dc5988ae3aec4f82df6d5f7921e2134cb1bff05c
44,191
cpp
C++
source/games/sw/src/bunny.cpp
DosFreak/Raze
389f760d45748da28ba758f12be1be2a9ba9b4b2
[ "RSA-MD" ]
null
null
null
source/games/sw/src/bunny.cpp
DosFreak/Raze
389f760d45748da28ba758f12be1be2a9ba9b4b2
[ "RSA-MD" ]
null
null
null
source/games/sw/src/bunny.cpp
DosFreak/Raze
389f760d45748da28ba758f12be1be2a9ba9b4b2
[ "RSA-MD" ]
null
null
null
//------------------------------------------------------------------------- /* Copyright (C) 1997, 2005 - 3D Realms Entertainment This file is part of Shadow Warrior version 1.2 Shadow Warrior is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by ...
27.094421
153
0.585594
[ "3d" ]
dc622a2d48ee4a64b0fc66507a5d34018e09135a
48,738
cpp
C++
src/C++/Core/cpuComputes.cpp
cesmix-mit/MDP
746e4f4aead5911ddeda77b0d2c117e3b70cc5c4
[ "MIT" ]
1
2021-09-15T03:09:46.000Z
2021-09-15T03:09:46.000Z
src/C++/Core/cpuComputes.cpp
cesmix-mit/MDP
746e4f4aead5911ddeda77b0d2c117e3b70cc5c4
[ "MIT" ]
1
2022-01-24T16:11:07.000Z
2022-01-24T16:11:07.000Z
src/C++/Core/cpuComputes.cpp
cesmix-mit/MDP
746e4f4aead5911ddeda77b0d2c117e3b70cc5c4
[ "MIT" ]
null
null
null
/*************************************************************************** Molecular Dynamics Potentials (MDP) CESMIX-MIT Project Contributing authors: Ngoc-Cuong Nguyen (cuongng@mit.edu, exapde@gmail.com) ****************************...
36.645113
135
0.523739
[ "vector" ]
dc63ffabd23fcfac57d40cd94b2afaf98594b36d
15,014
cpp
C++
src/mainwindow.cpp
swagking0/Sudoku-GUI
52944a10d9387a0eac70b80acc4646361f5fd543
[ "MIT" ]
null
null
null
src/mainwindow.cpp
swagking0/Sudoku-GUI
52944a10d9387a0eac70b80acc4646361f5fd543
[ "MIT" ]
null
null
null
src/mainwindow.cpp
swagking0/Sudoku-GUI
52944a10d9387a0eac70b80acc4646361f5fd543
[ "MIT" ]
null
null
null
/** * @file mainwindow.cpp * * * @authors Mohith Bhargav Sunkara */ #include "mainwindow.h" #include <qtconcurrentrun.h> #include <QDebug> #include <QFileDialog> #include <QFuture> #include <QGridLayout> #include <QGroupBox> #include <QHBoxLayout> #include <QKeyEvent> #include <QLabel> #include <QLineEdit> #incl...
27.803704
76
0.671773
[ "render", "vector" ]
dc65314305d1c5e7180f75bb2b1c2797d55de017
22,063
cpp
C++
plugins/Chorus/SimpleChorus.cpp
JoergBitzer/DAFx2020
64e2f02047ad843760aaf4dcc0aa6986cc82d1d2
[ "BSD-3-Clause" ]
null
null
null
plugins/Chorus/SimpleChorus.cpp
JoergBitzer/DAFx2020
64e2f02047ad843760aaf4dcc0aa6986cc82d1d2
[ "BSD-3-Clause" ]
null
null
null
plugins/Chorus/SimpleChorus.cpp
JoergBitzer/DAFx2020
64e2f02047ad843760aaf4dcc0aa6986cc82d1d2
[ "BSD-3-Clause" ]
1
2020-06-15T19:04:58.000Z
2020-06-15T19:04:58.000Z
/* ============================================================================== SimpleChorus.cpp Created: 13 May 2020 10:24:49pm Author: Bitzer ============================================================================== */ #include "SimpleChorus.h" SimpleChorus::SimpleChorus() :m_lastDelay...
43.862823
199
0.755745
[ "vector" ]
dc65bc03b7ce74ddee305469c663cef690fda466
2,402
hpp
C++
ios/Pods/boost-for-react-native/boost/polygon/polygon_45_data.hpp
rudylee/expo
b3e65a7a5b205f14a3eb6cd6fa8d13c8d663b1cc
[ "Apache-2.0", "MIT" ]
8,805
2015-11-03T00:52:29.000Z
2022-03-29T22:30:03.000Z
ios/Pods/boost-for-react-native/boost/polygon/polygon_45_data.hpp
rudylee/expo
b3e65a7a5b205f14a3eb6cd6fa8d13c8d663b1cc
[ "Apache-2.0", "MIT" ]
14,694
2015-02-24T15:13:42.000Z
2022-03-31T13:16:45.000Z
ios/Pods/boost-for-react-native/boost/polygon/polygon_45_data.hpp
rudylee/expo
b3e65a7a5b205f14a3eb6cd6fa8d13c8d663b1cc
[ "Apache-2.0", "MIT" ]
1,329
2015-11-03T20:25:51.000Z
2022-03-31T18:10:38.000Z
/* Copyright 2008 Intel Corporation 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 BOOST_POLYGON_POLYGON_45_DATA_HPP #define BOOST_POLYGON_POLYGON_45_DATA_HPP ...
32.90411
92
0.711907
[ "vector" ]
dc6862d180e17ab3603c1f60d9a7892385d3c0fb
11,854
cpp
C++
rmf_fleet_adapter/test/services/test_FindPath.cpp
Capstone-S13/rmf_ros2
66721dd2ab5a458c050bad154c6a17d8e4b5c8f4
[ "Apache-2.0" ]
18
2021-03-30T03:03:16.000Z
2022-03-21T13:48:41.000Z
rmf_fleet_adapter/test/services/test_FindPath.cpp
Capstone-S13/rmf_ros2
66721dd2ab5a458c050bad154c6a17d8e4b5c8f4
[ "Apache-2.0" ]
147
2021-03-09T09:16:27.000Z
2022-03-25T11:26:58.000Z
rmf_fleet_adapter/test/services/test_FindPath.cpp
Capstone-S13/rmf_ros2
66721dd2ab5a458c050bad154c6a17d8e4b5c8f4
[ "Apache-2.0" ]
20
2021-05-21T06:54:58.000Z
2022-03-18T10:43:01.000Z
/* * Copyright (C) 2020 Open Source Robotics Foundation * * 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 appl...
33.391549
80
0.652607
[ "geometry" ]
dc6a57739400d07dff519df45da193bca0ee3c38
8,348
cpp
C++
aws-cpp-sdk-license-manager/source/model/LicenseConfiguration.cpp
curiousjgeorge/aws-sdk-cpp
09b65deba03cfbef9a1e5d5986aa4de71bc03cd8
[ "Apache-2.0" ]
2
2019-03-11T15:50:55.000Z
2020-02-27T11:40:27.000Z
aws-cpp-sdk-license-manager/source/model/LicenseConfiguration.cpp
curiousjgeorge/aws-sdk-cpp
09b65deba03cfbef9a1e5d5986aa4de71bc03cd8
[ "Apache-2.0" ]
null
null
null
aws-cpp-sdk-license-manager/source/model/LicenseConfiguration.cpp
curiousjgeorge/aws-sdk-cpp
09b65deba03cfbef9a1e5d5986aa4de71bc03cd8
[ "Apache-2.0" ]
1
2019-01-18T13:03:55.000Z
2019-01-18T13:03:55.000Z
/* * Copyright 2010-2017 Amazon.com, Inc. or its 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
29.708185
170
0.778989
[ "model" ]
dc6b5ddd90a4fe98ed01c442d9a3a9a52a5a1cd8
2,351
cpp
C++
platform_bionic-android-vts-12.0_r2/tools/versioner/src/Utils.cpp
webos21/xbionic
ffb3965e86ae4a921d0cffbfdc44cbdfe6acf67a
[ "Apache-2.0" ]
1
2019-05-04T02:30:08.000Z
2019-05-04T02:30:08.000Z
platform_bionic-android-vts-12.0_r2/tools/versioner/src/Utils.cpp
webos21/xbionic
ffb3965e86ae4a921d0cffbfdc44cbdfe6acf67a
[ "Apache-2.0" ]
null
null
null
platform_bionic-android-vts-12.0_r2/tools/versioner/src/Utils.cpp
webos21/xbionic
ffb3965e86ae4a921d0cffbfdc44cbdfe6acf67a
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2016 The Android 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
25.835165
101
0.647384
[ "vector" ]
dc796d932585a1f5a8ac12f9b7f41697114e8b5c
60,307
cxx
C++
osprey/be/cg/MIPS/cgtarget.cxx
sharugupta/OpenUH
daddd76858a53035f5d713f648d13373c22506e8
[ "BSD-2-Clause" ]
null
null
null
osprey/be/cg/MIPS/cgtarget.cxx
sharugupta/OpenUH
daddd76858a53035f5d713f648d13373c22506e8
[ "BSD-2-Clause" ]
null
null
null
osprey/be/cg/MIPS/cgtarget.cxx
sharugupta/OpenUH
daddd76858a53035f5d713f648d13373c22506e8
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright 2002, 2003, 2004 PathScale, Inc. All Rights Reserved. */ /* Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved. This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free S...
25.761213
102
0.557713
[ "vector", "3d" ]
dc7c1578b2ae204fc04f8a98cb72dae217c28476
15,510
cpp
C++
src/Core/Script/GameObject.cpp
BestEggplant/ObEngine
4543ff027cc05de0eddede8f55b28f0cf1138189
[ "MIT" ]
1
2020-07-23T14:23:59.000Z
2020-07-23T14:23:59.000Z
src/Core/Script/GameObject.cpp
BestEggplant/ObEngine
4543ff027cc05de0eddede8f55b28f0cf1138189
[ "MIT" ]
null
null
null
src/Core/Script/GameObject.cpp
BestEggplant/ObEngine
4543ff027cc05de0eddede8f55b28f0cf1138189
[ "MIT" ]
null
null
null
#include <Config/Templates/GameObject.hpp> #include <Scene/Scene.hpp> #include <Script/Exceptions.hpp> #include <Script/GameObject.hpp> #include <Script/ViliLuaBridge.hpp> #include <System/Loaders.hpp> #include <Triggers/Trigger.hpp> #include <Triggers/TriggerManager.hpp> #include <Utils/StringUtils.hpp> #include <uti...
32.790698
89
0.520696
[ "object", "vector" ]
dc8165362c55362bf90786588a11bfc0943223bf
6,959
cpp
C++
tags/20081005_PRE_ENGINE_REFACTORY/ProjectFootball/src/sim/entity/CReferee.cpp
dividio/projectfootball
3c0b94937de2e3cd6e7daf9d3b4942fda974f20c
[ "Zlib" ]
null
null
null
tags/20081005_PRE_ENGINE_REFACTORY/ProjectFootball/src/sim/entity/CReferee.cpp
dividio/projectfootball
3c0b94937de2e3cd6e7daf9d3b4942fda974f20c
[ "Zlib" ]
null
null
null
tags/20081005_PRE_ENGINE_REFACTORY/ProjectFootball/src/sim/entity/CReferee.cpp
dividio/projectfootball
3c0b94937de2e3cd6e7daf9d3b4942fda974f20c
[ "Zlib" ]
null
null
null
/****************************************************************************** * Copyright (C) 2008 - Ikaro Games www.ikarogames.com * * * * This program is free software; you can redistribute it and/or * ...
25.213768
103
0.597212
[ "mesh" ]
dc81918b9558ea4898470ac71fd9fecf4295eea8
4,237
cc
C++
Engine/foundation/io/logfileconsolehandler.cc
BikkyS/DreamEngine
47da4e22c65188c72f44591f6a96505d8ba5f5f3
[ "MIT" ]
26
2015-01-15T12:57:40.000Z
2022-02-16T10:07:12.000Z
Engine/foundation/io/logfileconsolehandler.cc
BikkyS/DreamEngine
47da4e22c65188c72f44591f6a96505d8ba5f5f3
[ "MIT" ]
null
null
null
Engine/foundation/io/logfileconsolehandler.cc
BikkyS/DreamEngine
47da4e22c65188c72f44591f6a96505d8ba5f5f3
[ "MIT" ]
17
2015-02-18T07:51:31.000Z
2020-06-01T01:10:12.000Z
/**************************************************************************** Copyright (c) 2008, Radon Labs GmbH Copyright (c) 2011-2013,WebJet Business Division,CYOU http://www.genesis-3d.com.cn Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentati...
27.335484
123
0.555346
[ "3d" ]
dc8589a89d0a55028275a66e17fba57909f21a67
79,531
cpp
C++
groups/bsl/bsltf/bsltf_wellbehavedmoveonlyalloctesttype.t.cpp
eddiepierce/bde
45953ece9dd1cd8732f01a1cd24bbe838791d298
[ "Apache-2.0" ]
1
2021-11-10T16:53:42.000Z
2021-11-10T16:53:42.000Z
groups/bsl/bsltf/bsltf_wellbehavedmoveonlyalloctesttype.t.cpp
eddiepierce/bde
45953ece9dd1cd8732f01a1cd24bbe838791d298
[ "Apache-2.0" ]
2
2020-11-05T15:20:55.000Z
2021-01-05T19:38:43.000Z
groups/bsl/bsltf/bsltf_wellbehavedmoveonlyalloctesttype.t.cpp
eddiepierce/bde
45953ece9dd1cd8732f01a1cd24bbe838791d298
[ "Apache-2.0" ]
2
2020-01-16T17:58:12.000Z
2020-08-11T20:59:30.000Z
// bsltf_wellbehavedmoveonlyalloctesttype.t.cpp -*-C++-*- #include <bsltf_wellbehavedmoveonlyalloctesttype.h> #include <bslma_allocator.h> #include <bslma_default.h> #include <bslma_defaultallocatorguard.h> #include <bslma_testallocator.h> #include <bslma_testallocatormonitor.h> #include <bslmf_...
40.868962
79
0.489218
[ "object" ]
dc87bd8a45fe090cb2b054e496326204df7ecabc
708
cpp
C++
1-7-1Lect.cpp
Kaermor/stepik-course363-cpp
7df3381ee5460565754745b6d48ed3f1324e73ef
[ "Apache-2.0" ]
null
null
null
1-7-1Lect.cpp
Kaermor/stepik-course363-cpp
7df3381ee5460565754745b6d48ed3f1324e73ef
[ "Apache-2.0" ]
null
null
null
1-7-1Lect.cpp
Kaermor/stepik-course363-cpp
7df3381ee5460565754745b6d48ed3f1324e73ef
[ "Apache-2.0" ]
null
null
null
// // Created by grey on 17.10.2019. // #include <iostream> #include <vector> using namespace std; void foo_1_7_1Lect(){ int n; cin >> n; vector <int> a; //input for (int i = 0; i < n; i++) { int temp; cin >> temp; if (temp > 0){ a.push_back(temp); } ...
17.7
44
0.39548
[ "vector" ]
dc8833c169387d09f179aec3079db78d16ce7b8b
560,697
cpp
C++
alglib_3_17_0_cpp/tests/test_i.cpp
TimJonesB/wesad-live
c708e5f8e4648d029bc72e4c1bd9446d0a1231b7
[ "MIT" ]
null
null
null
alglib_3_17_0_cpp/tests/test_i.cpp
TimJonesB/wesad-live
c708e5f8e4648d029bc72e4c1bd9446d0a1231b7
[ "MIT" ]
null
null
null
alglib_3_17_0_cpp/tests/test_i.cpp
TimJonesB/wesad-live
c708e5f8e4648d029bc72e4c1bd9446d0a1231b7
[ "MIT" ]
null
null
null
#include "stdafx.h" #include <math.h> #include "alglibinternal.h" #include "alglibmisc.h" #include "diffequations.h" #include "linalg.h" #include "optimization.h" #include "solvers.h" #include "statistics.h" #include "dataanalysis.h" #include "specialfunctions.h" #include "integration.h" #include "fasttrans...
42.755605
256
0.468692
[ "geometry", "object", "vector", "model", "transform", "3d" ]
dc89ba634fbb12160a10f7b0584d3fdf88eacb62
31,237
cpp
C++
test/code/scxcorelib/util/scxstringaid_test.cpp
snchennapragada/pal
9ee3e116dc2fadb44efa0938de7f0b737784fe16
[ "MIT" ]
37
2016-04-14T20:06:15.000Z
2019-05-06T17:30:17.000Z
test/code/scxcorelib/util/scxstringaid_test.cpp
snchennapragada/pal
9ee3e116dc2fadb44efa0938de7f0b737784fe16
[ "MIT" ]
37
2016-03-11T20:47:11.000Z
2019-04-01T22:53:04.000Z
test/code/scxcorelib/util/scxstringaid_test.cpp
snchennapragada/pal
9ee3e116dc2fadb44efa0938de7f0b737784fe16
[ "MIT" ]
20
2016-05-26T23:53:01.000Z
2019-05-06T08:54:08.000Z
/*-------------------------------------------------------------------------------- Copyright (c) Microsoft Corporation. All rights reserved. Created date 2007-05-24 08:10:00 String aid method test class. */ /*----------------------------------------------------------------------------*/ #include <scx...
38.280637
165
0.598169
[ "vector" ]
dc96e22570035fb13e7a836f9bd863660c4a2f2f
10,141
cpp
C++
pack.cpp
google/elfling
35164742157c2ab04c8fea693256e8a154c02133
[ "Apache-2.0" ]
26
2015-01-28T08:28:22.000Z
2021-06-29T23:08:29.000Z
pack.cpp
google/elfling
35164742157c2ab04c8fea693256e8a154c02133
[ "Apache-2.0" ]
null
null
null
pack.cpp
google/elfling
35164742157c2ab04c8fea693256e8a154c02133
[ "Apache-2.0" ]
11
2015-01-25T18:38:56.000Z
2021-07-12T12:25:06.000Z
// Copyright 2014 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...
30.271642
155
0.534267
[ "3d" ]
dc9975d21a6d029472961ff8f1d555ab82e6430c
11,351
cpp
C++
Base/Src/Base/Value.cpp
lxq00/public
5834fac5ba982ff45ea810c5e4de9fe08833cf53
[ "MIT" ]
null
null
null
Base/Src/Base/Value.cpp
lxq00/public
5834fac5ba982ff45ea810c5e4de9fe08833cf53
[ "MIT" ]
null
null
null
Base/Src/Base/Value.cpp
lxq00/public
5834fac5ba982ff45ea810c5e4de9fe08833cf53
[ "MIT" ]
null
null
null
#include "Base/IntTypes.h" #include "Base/Value.h" #include "Base/String.h" #include "Base/BaseTemplate.h" #include <sstream> namespace Public { namespace Base { struct ValueInfo { Value::Type type; union { uint64_t _int; double _float; bool _bool; char *_str; } val; void *ptr; size_t len; ValueInfo() ...
22.040777
100
0.657916
[ "vector" ]
dc9a4591b35830489b70c0b132c64d28861eeaa8
25,417
cpp
C++
routing_common/bicycle_model.cpp
imanmoghimiq30/omim
16e8a4feeb9a8fa41a2aaf42a1c9c32f77d9d423
[ "Apache-2.0" ]
null
null
null
routing_common/bicycle_model.cpp
imanmoghimiq30/omim
16e8a4feeb9a8fa41a2aaf42a1c9c32f77d9d423
[ "Apache-2.0" ]
null
null
null
routing_common/bicycle_model.cpp
imanmoghimiq30/omim
16e8a4feeb9a8fa41a2aaf42a1c9c32f77d9d423
[ "Apache-2.0" ]
null
null
null
#include "routing_common/bicycle_model.hpp" #include "base/assert.hpp" #include "base/macros.hpp" #include "base/logging.hpp" #include "indexer/classificator.hpp" #include "indexer/feature.hpp" using namespace routing; namespace { // See model specifics in different countries here: // http://wiki.openstreetmap.o...
49.449416
122
0.642562
[ "vector", "model" ]
dc9d248bf3dddfdc0493c6efebbd9d37fe8b45c3
16,823
hpp
C++
third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/memory_resource.hpp
rbauduin/jsonnet
da1490f6130062f5f4690dfcfeed6ce0c293fd2f
[ "Apache-2.0" ]
1
2019-07-21T12:53:12.000Z
2019-07-21T12:53:12.000Z
third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/memory_resource.hpp
rbauduin/jsonnet
da1490f6130062f5f4690dfcfeed6ce0c293fd2f
[ "Apache-2.0" ]
null
null
null
third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/memory_resource.hpp
rbauduin/jsonnet
da1490f6130062f5f4690dfcfeed6ce0c293fd2f
[ "Apache-2.0" ]
1
2022-03-13T14:04:37.000Z
2022-03-13T14:04:37.000Z
#ifndef _C4_MEMORY_RESOURCE_HPP_ #define _C4_MEMORY_RESOURCE_HPP_ /** @file memory_resource.hpp Provides facilities to allocate typeless * memory, via the memory resource model consecrated with C++17. */ /** @defgroup memory memory utilities */ /** @defgroup raw_memory_alloc Raw memory allocation * @ingroup memor...
29.775221
123
0.594424
[ "object", "model" ]
dc9eea460cef72865de63b2ea049aff69ba69e19
19,156
cpp
C++
src/chrono/fea/ChElementBeamTaperedTimoshenkoFPM.cpp
Benatti1991/chrono
d927a7fae8ed2f4e6695cacaef28c605fcd9ffaf
[ "BSD-3-Clause" ]
1,383
2015-02-04T14:17:40.000Z
2022-03-30T04:58:16.000Z
src/chrono/fea/ChElementBeamTaperedTimoshenkoFPM.cpp
Benatti1991/chrono
d927a7fae8ed2f4e6695cacaef28c605fcd9ffaf
[ "BSD-3-Clause" ]
245
2015-01-11T15:30:51.000Z
2022-03-30T21:28:54.000Z
src/chrono/fea/ChElementBeamTaperedTimoshenkoFPM.cpp
Benatti1991/chrono
d927a7fae8ed2f4e6695cacaef28c605fcd9ffaf
[ "BSD-3-Clause" ]
351
2015-02-04T14:17:47.000Z
2022-03-30T04:42:52.000Z
// ============================================================================= // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2014 projectchrono.org // All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found // in the LICENSE file at the top level of t...
41.643478
118
0.578618
[ "shape", "vector", "model", "transform" ]
dca0233e82cc2116a4ee0f1408e1bebe330e009f
715
cpp
C++
libs/resource_partitioner/tests/regressions/help_exit_4317_1.cpp
jokteur/hpx
689ce9b586322c90f966ef84aa6eba190f037dd7
[ "BSL-1.0" ]
2
2016-11-11T13:20:25.000Z
2017-02-21T09:39:52.000Z
libs/resource_partitioner/tests/regressions/help_exit_4317_1.cpp
jokteur/hpx
689ce9b586322c90f966ef84aa6eba190f037dd7
[ "BSL-1.0" ]
null
null
null
libs/resource_partitioner/tests/regressions/help_exit_4317_1.cpp
jokteur/hpx
689ce9b586322c90f966ef84aa6eba190f037dd7
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2020 albestro // // SPDX-License-Identifier: BSL-1.0 // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include <hpx/hpx.hpp> #include <hpx/hpx_init.hpp> #include <hpx/modules/testing.hpp> #incl...
21.029412
80
0.688112
[ "vector" ]
dca18d4431b630d41fd51907850b73dc291e150f
1,932
hh
C++
include/libbio/sdsl_boost_serialization.hh
tsnorri/libbio
6cd929ac5f7bcccc340be60a6aa0a4ca6c7cb761
[ "MIT" ]
2
2021-05-21T08:44:53.000Z
2021-12-24T16:22:56.000Z
include/libbio/sdsl_boost_serialization.hh
tsnorri/libbio
6cd929ac5f7bcccc340be60a6aa0a4ca6c7cb761
[ "MIT" ]
null
null
null
include/libbio/sdsl_boost_serialization.hh
tsnorri/libbio
6cd929ac5f7bcccc340be60a6aa0a4ca6c7cb761
[ "MIT" ]
null
null
null
/* * Copyright (c) 2018 Tuukka Norri * This code is licensed under MIT license (see LICENSE for details). */ #ifndef LIBBIO_SDSL_BOOST_SERIALIZATION_HH # define LIBBIO_SDSL_BOOST_SERIALIZATION_HH # ifdef LIBBIO_HAVE_SDSL # include <boost/serialization/binary_object.hpp> # include <climits> # include <sdsl/int...
28
111
0.726708
[ "vector" ]
dca2e94e0696b57184602fc741f715d40514f9ee
3,018
cpp
C++
Finding_shortest_path_from_source.cpp
priyanshu1044/cpp
fc7be7f38edfddfcb0477e1d732d84e448e7d009
[ "MIT" ]
1
2021-12-17T06:12:51.000Z
2021-12-17T06:12:51.000Z
Finding_shortest_path_from_source.cpp
AneriSonani09/cpp
898fd0719c6ca501837661869070c939d07b595a
[ "MIT" ]
null
null
null
Finding_shortest_path_from_source.cpp
AneriSonani09/cpp
898fd0719c6ca501837661869070c939d07b595a
[ "MIT" ]
5
2020-10-01T04:12:34.000Z
2021-10-22T04:49:45.000Z
/* PRIYANSHU IS A PEACEFULL SOUL */ #include <bits/stdc++.h> #define vi vector<int> #define vvi vector<vi> #define pii pair<int,int> #define vii vector<pii> #define rep(i,a,b) for(int i=a;i<b;i++) #define ff first #define ll long long #define ss second using namespace std; int findMinVertex(int dist[],bool visite...
24.737705
97
0.414182
[ "vector" ]
dca655291db83eb0b50234bba72a3912d3137891
40,073
hpp
C++
library/include/ux/Drawing.hpp
StratifyLabs/UxAPI
4dc043b132452896ed9626038d53439b0def786a
[ "MIT" ]
null
null
null
library/include/ux/Drawing.hpp
StratifyLabs/UxAPI
4dc043b132452896ed9626038d53439b0def786a
[ "MIT" ]
null
null
null
library/include/ux/Drawing.hpp
StratifyLabs/UxAPI
4dc043b132452896ed9626038d53439b0def786a
[ "MIT" ]
null
null
null
// Copyright 2016-2021 Tyler Gilbert and Stratify Labs, Inc; see LICENSE.md #ifndef UXAPI_UX_DRAWING_HPP_ #define UXAPI_UX_DRAWING_HPP_ #include <sdk/types.h> #include "sgfx/Bitmap.hpp" #include "sgfx/Pen.hpp" #include "sgfx/Theme.hpp" namespace ux { /*! \details Drawing size (unsigned) */ typedef u16 drawing_size...
35.151754
80
0.579243
[ "render", "object" ]
dca9e281656836f89f517cc4d80d26b5ce0849b1
1,058
cpp
C++
tests/partners.cpp
hguo/diy
3a3473e8289872903de2763792cc570817a00a3f
[ "BSD-3-Clause-LBNL" ]
null
null
null
tests/partners.cpp
hguo/diy
3a3473e8289872903de2763792cc570817a00a3f
[ "BSD-3-Clause-LBNL" ]
null
null
null
tests/partners.cpp
hguo/diy
3a3473e8289872903de2763792cc570817a00a3f
[ "BSD-3-Clause-LBNL" ]
null
null
null
#define CATCH_CONFIG_MAIN #include "catch.hpp" #include <diy/decomposition.hpp> #include <diy/partners/common.hpp> void test(int n, int k) { int dim = 2; diy::DiscreteBounds global_bounds(dim); global_bounds.min[0] = global_bounds.min[1] = 0; global_bounds.max[0] = global_bounds.min[1] = 1023; d...
23
82
0.571834
[ "vector" ]
dcac127beded438f2581b13270b7e2e423ba6630
3,276
hpp
C++
Declarations/Takion/FrontEnd/UnitMetadataDecl.hpp
jwkim98/Takion
5e7351c5bd3400429dc7d28c0be4cddcc1324180
[ "MIT" ]
1
2021-07-06T10:52:41.000Z
2021-07-06T10:52:41.000Z
Declarations/Takion/FrontEnd/UnitMetadataDecl.hpp
jwkim98/Takion
5e7351c5bd3400429dc7d28c0be4cddcc1324180
[ "MIT" ]
null
null
null
Declarations/Takion/FrontEnd/UnitMetadataDecl.hpp
jwkim98/Takion
5e7351c5bd3400429dc7d28c0be4cddcc1324180
[ "MIT" ]
3
2020-08-08T15:03:28.000Z
2020-11-04T17:17:59.000Z
// Copyright (c) 2020, Jaewoo Kim // We are making my contributions/submissions to this project solely in our // personal capacity and are not conveying any rights to any intellectual // property of any third parties. #ifndef TAKION_GRAPH_UNITMETADATA_DECL_HPP #define TAKION_GRAPH_UNITMETADATA_DECL_HPP #inc...
33.090909
82
0.696276
[ "shape", "vector" ]
dcad3cb42bf504944fcec45f53a2eedf4d447979
2,453
hxx
C++
Legolas/BlockMatrix/Structures/Sparse/SparseScalarVecMapContainer.hxx
LaurentPlagne/Legolas
fdf533528baf7ab5fcb1db15d95d2387b3e3723c
[ "MIT" ]
null
null
null
Legolas/BlockMatrix/Structures/Sparse/SparseScalarVecMapContainer.hxx
LaurentPlagne/Legolas
fdf533528baf7ab5fcb1db15d95d2387b3e3723c
[ "MIT" ]
null
null
null
Legolas/BlockMatrix/Structures/Sparse/SparseScalarVecMapContainer.hxx
LaurentPlagne/Legolas
fdf533528baf7ab5fcb1db15d95d2387b3e3723c
[ "MIT" ]
1
2021-02-11T14:43:25.000Z
2021-02-11T14:43:25.000Z
#ifndef __LEGOLAS_SPARSESCALARVECMAPCONTAINER_HXX__ #define __LEGOLAS_SPARSESCALARVECMAPCONTAINER_HXX__ #include "Legolas/BlockMatrix/Matrix.hxx" namespace Legolas{ class SparseScalarVecMapContainer{ public: template <class SCALAR> class Engine: public Matrix{ public: typedef SCALAR RealType;...
22.504587
94
0.618426
[ "vector" ]
dcad95a5ee56662761292346b40ccbeca3b43d4d
3,230
cpp
C++
src/frameworks/wilhelm/src/objects/CAudioPlayer.cpp
dAck2cC2/m3e
475b89b59d5022a94e00b636438b25e27e4eaab2
[ "Apache-2.0" ]
3
2015-08-31T15:24:31.000Z
2020-04-24T20:31:29.000Z
src/frameworks/wilhelm/src/objects/CAudioPlayer.cpp
dAck2cC2/m3e
475b89b59d5022a94e00b636438b25e27e4eaab2
[ "Apache-2.0" ]
null
null
null
src/frameworks/wilhelm/src/objects/CAudioPlayer.cpp
dAck2cC2/m3e
475b89b59d5022a94e00b636438b25e27e4eaab2
[ "Apache-2.0" ]
3
2015-07-29T07:17:15.000Z
2020-11-04T06:55:37.000Z
/* * Copyright (C) 2010 The Android 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
28.839286
99
0.725077
[ "object" ]
dcadaeb56f78fc132e21256e45e8a8766ea46f1e
2,261
cpp
C++
dialog_project_list.cpp
corsotechnology/drd-replicator-sym
958bb39263b5669006af08b149c70846f315c569
[ "BSD-3-Clause" ]
1
2021-07-26T13:06:17.000Z
2021-07-26T13:06:17.000Z
dialog_project_list.cpp
corsotechnology/drd-replicator-sym
958bb39263b5669006af08b149c70846f315c569
[ "BSD-3-Clause" ]
null
null
null
dialog_project_list.cpp
corsotechnology/drd-replicator-sym
958bb39263b5669006af08b149c70846f315c569
[ "BSD-3-Clause" ]
null
null
null
#include "dialog_project_list.h" #include "ui_dialog_project_list.h" #include <QMessageBox> #include <QSqlError> #include <QSqlQueryModel> #include <QTimer> Dialog_project_list::Dialog_project_list(QWidget *parent) : QDialog(parent), ui(new Ui::Dialog_project_list) { ui->setupUi(this); QAction *sup_pro...
28.2625
90
0.684211
[ "model" ]
dcadfa07a66ef1138c9fb82c39a848b99a1d72e6
7,707
cpp
C++
pxr/usd/lib/usdGeom/pointBased.cpp
WD-stefaang/USD
9a827fc4687bd09b15688437324d51141825d6f0
[ "Unlicense" ]
1
2018-01-27T23:21:57.000Z
2018-01-27T23:21:57.000Z
pxr/usd/lib/usdGeom/pointBased.cpp
WD-stefaang/USD
9a827fc4687bd09b15688437324d51141825d6f0
[ "Unlicense" ]
null
null
null
pxr/usd/lib/usdGeom/pointBased.cpp
WD-stefaang/USD
9a827fc4687bd09b15688437324d51141825d6f0
[ "Unlicense" ]
1
2019-10-04T21:57:06.000Z
2019-10-04T21:57:06.000Z
// // Copyright 2016 Pixar // // Licensed under the Apache License, Version 2.0 (the "Apache License") // with the following modification; you may not use this file except in // compliance with the Apache License and the following modification to it: // Section 6. Trademarks. is deleted and replaced with: // // 6. Trad...
27.042105
94
0.667964
[ "transform" ]
dcae29f2c5903a38ffa150df2795875ffef1d727
2,036
cxx
C++
src/Cxx/PolyData/PolyDataPointNormals.cxx
cvandijck/VTKExamples
b6bb89414522afc1467be8a1f0089a37d0c16883
[ "Apache-2.0" ]
309
2017-05-21T09:07:19.000Z
2022-03-15T09:18:55.000Z
src/Cxx/PolyData/PolyDataPointNormals.cxx
yijianmingliu/VTKExamples
dc8aac47c4384f9a2de9facbdd1ab3249f62ec99
[ "Apache-2.0" ]
379
2017-05-21T09:06:43.000Z
2021-03-29T20:30:50.000Z
src/Cxx/PolyData/PolyDataPointNormals.cxx
yijianmingliu/VTKExamples
dc8aac47c4384f9a2de9facbdd1ab3249f62ec99
[ "Apache-2.0" ]
170
2017-05-17T14:47:41.000Z
2022-03-31T13:16:26.000Z
#include <vtkCellData.h> #include <vtkCellArray.h> #include <vtkDoubleArray.h> #include <vtkPoints.h> #include <vtkPolyData.h> #include <vtkPointData.h> #include <vtkSmartPointer.h> int main(int, char *[]) { ///////// Set Point Normals /////////// // Create 3 points vtkSmartPointer<vtkPoints> points = vtkSma...
30.38806
77
0.651768
[ "3d" ]
dcaf7a7f7eaaf54e5e978d40ed065a71d4c8be54
33,150
cpp
C++
src/ssd_ftl.cpp
miuho/SSD-Flash-Translation-Layer
dc40fd00cfe89fb21ee9f5f92d99447a330b216c
[ "MIT" ]
13
2018-09-10T01:42:14.000Z
2021-12-16T07:11:46.000Z
src/ssd_ftl.cpp
miuho/SSD-Flash-Translation-Layer
dc40fd00cfe89fb21ee9f5f92d99447a330b216c
[ "MIT" ]
null
null
null
src/ssd_ftl.cpp
miuho/SSD-Flash-Translation-Layer
dc40fd00cfe89fb21ee9f5f92d99447a330b216c
[ "MIT" ]
10
2019-04-29T02:52:37.000Z
2022-03-26T13:58:34.000Z
/* Copyright 2009, 2010 Brendan Tauras */ /* ssd_ftl.cpp is part of FlashSim. */ /* FlashSim 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 3 of the License, or * any later version....
37.373168
124
0.651885
[ "vector" ]
dcb2ae359b3743f93f45cfd98c26c19f1c447299
35,622
cpp
C++
client/mainwindow.cpp
KeltorHD/Client-Server-Application-Design-Patterns-Teaching
7461234f828ebfa900366f5a5f965b4aa0d02ce6
[ "MIT" ]
2
2021-05-26T08:47:27.000Z
2021-06-30T08:37:40.000Z
client/mainwindow.cpp
KeltorHD/Client-Server-Application-Design-Patterns-Teaching
7461234f828ebfa900366f5a5f965b4aa0d02ce6
[ "MIT" ]
null
null
null
client/mainwindow.cpp
KeltorHD/Client-Server-Application-Design-Patterns-Teaching
7461234f828ebfa900366f5a5f965b4aa0d02ce6
[ "MIT" ]
null
null
null
#include "mainwindow.h" #include "ui_mainwindow.h" bool fileExists(QString path) { QFileInfo check_file(path); return check_file.exists() && check_file.isFile(); } MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) , ui(new Ui::MainWindow) { ui->setupUi(this); this->popup = new Popu...
32.983333
176
0.604289
[ "vector" ]
dcb4761d7672a7190f721d6aebfc4b4728b4c3f3
999
cpp
C++
CodeChef/LongChallenge/OctLongChallenge2017/oct_long_2017_chefgp_partial.cpp
ysumit99/Compi-Coding
d0e96c4f024328b0bfb799fab927919dae367f7a
[ "MIT" ]
1
2019-04-19T13:06:33.000Z
2019-04-19T13:06:33.000Z
CodeChef/LongChallenge/OctLongChallenge2017/oct_long_2017_chefgp_partial.cpp
ysumit99/Compi-Coding
d0e96c4f024328b0bfb799fab927919dae367f7a
[ "MIT" ]
null
null
null
CodeChef/LongChallenge/OctLongChallenge2017/oct_long_2017_chefgp_partial.cpp
ysumit99/Compi-Coding
d0e96c4f024328b0bfb799fab927919dae367f7a
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int main() { int t; cin>>t; while(t--) { string str; cin>>str; int count_a = 0, count_b = 0; for(int i = 0; i< str.length(); i++) { if(str[i] == 'a') count_a++; else count_b++; } //vector<string> v; if(count_a > count_b) { for(int i ...
12.182927
54
0.396396
[ "vector" ]
dcb66bcdafcc90aed75f89dc3e70d1fdfed3dc59
2,521
cpp
C++
code/wxWidgets/src/common/clntdata.cpp
Bloodknight/NeuTorsion
a5890e9ca145a8c1b6bec7b70047a43d9b1c29ea
[ "MIT" ]
38
2016-02-20T02:46:28.000Z
2021-11-17T11:39:57.000Z
code/wxWidgets/src/common/clntdata.cpp
Dwarf-King/TorsionEditor
e6887d1661ebaf4ccbf1d09f2690e2bf805fbb50
[ "MIT" ]
17
2016-02-20T02:19:55.000Z
2021-02-08T15:15:17.000Z
code/wxWidgets/src/common/clntdata.cpp
Dwarf-King/TorsionEditor
e6887d1661ebaf4ccbf1d09f2690e2bf805fbb50
[ "MIT" ]
46
2016-02-20T02:47:33.000Z
2021-01-31T15:46:05.000Z
///////////////////////////////////////////////////////////////////////////// // Name: common/clntdata.cpp // Purpose: A mixin class for holding a wxClientData or void pointer // Author: Robin Dunn // Modified by: // Created: 9-Oct-2001 // RCS-ID: $Id: clntdata.cpp,v 1.7 2004/05/23 20:51:58 JS ...
28.647727
79
0.604522
[ "object" ]
dcb9199a7e1ebea56299dc1d4009b71f6e95c0e3
1,860
cpp
C++
Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/bluetooth/le/TruncatedFilter.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
7
2017-07-13T10:34:54.000Z
2021-04-16T05:40:35.000Z
Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/bluetooth/le/TruncatedFilter.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
null
null
null
Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/bluetooth/le/TruncatedFilter.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 // // ...
29.0625
75
0.596237
[ "object" ]
dcbb842ecbecc17c14115c61f6b193ae020f47b3
1,929
hpp
C++
tst/for_each_test.hpp
Anomander/typelist
46b003ccd77c1964a365aa8d4195e0cf536d8743
[ "MIT" ]
2
2017-12-30T05:27:59.000Z
2020-07-22T06:44:53.000Z
tst/for_each_test.hpp
Anomander/typelist
46b003ccd77c1964a365aa8d4195e0cf536d8743
[ "MIT" ]
null
null
null
tst/for_each_test.hpp
Anomander/typelist
46b003ccd77c1964a365aa8d4195e0cf536d8743
[ "MIT" ]
null
null
null
/* * The MIT License (MIT) * * Copyright (c) 2013 Stan Pavlovski * * 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 * ...
38.58
83
0.718507
[ "vector" ]
dcbc91cda065393fb6d7788f1f000062e851f361
4,469
cpp
C++
trainings/2015-08-08-Zhejiang-Province-2015/I.cpp
HcPlu/acm-icpc
ab1f1d58bf2b4bf6677a2e4282fd3dadb3effbf8
[ "MIT" ]
9
2017-10-07T13:35:45.000Z
2021-06-07T17:36:55.000Z
trainings/2015-08-08-Zhejiang-Province-2015/I.cpp
zhijian-liu/acm-icpc
ab1f1d58bf2b4bf6677a2e4282fd3dadb3effbf8
[ "MIT" ]
null
null
null
trainings/2015-08-08-Zhejiang-Province-2015/I.cpp
zhijian-liu/acm-icpc
ab1f1d58bf2b4bf6677a2e4282fd3dadb3effbf8
[ "MIT" ]
3
2018-04-24T05:27:21.000Z
2019-04-25T06:06:00.000Z
#include <cstdio> #include <cstring> #include <algorithm> #include <vector> const int N = 111111; int n, m, stamp, comps, top; std::vector<int> edge[N]; int dfn[N], low[N], comp[N], stack[N], vertex[N], edges[N]; class Node { public: Node *child[26], *fail; int index; bool ban; Node() { mems...
23.276042
83
0.406802
[ "vector" ]
dcc0f38463269480d5260f70e2726a6538de333c
13,352
cpp
C++
amara/amara_geometry.cpp
BigBossErndog/Amara
e534001dee88b7d66f7384ed167257ffac58aac3
[ "MIT" ]
null
null
null
amara/amara_geometry.cpp
BigBossErndog/Amara
e534001dee88b7d66f7384ed167257ffac58aac3
[ "MIT" ]
null
null
null
amara/amara_geometry.cpp
BigBossErndog/Amara
e534001dee88b7d66f7384ed167257ffac58aac3
[ "MIT" ]
null
null
null
#pragma once #ifndef AMARA_GEOMETRY #define AMARA_GEOMETRY #include "amara.h" namespace Amara { typedef struct IntVector2 { int x = 0; int y = 0; } IntVector2; typedef struct FloatVector2 { float x = 0; float y = 0; } FloatVector2; typedef struct IntVector3 { ...
31.565012
137
0.532804
[ "vector" ]
dcc0f9cb902fc821761f115a29f53a51ed91381c
2,569
cpp
C++
Projects/Skylicht/Engine/Source/Lighting/CLight.cpp
niansa/skylicht-engine
ea3010aea3402bd050b62c3fd7effa16b33e96f5
[ "MIT" ]
null
null
null
Projects/Skylicht/Engine/Source/Lighting/CLight.cpp
niansa/skylicht-engine
ea3010aea3402bd050b62c3fd7effa16b33e96f5
[ "MIT" ]
null
null
null
Projects/Skylicht/Engine/Source/Lighting/CLight.cpp
niansa/skylicht-engine
ea3010aea3402bd050b62c3fd7effa16b33e96f5
[ "MIT" ]
null
null
null
/* !@ MIT License Copyright (c) 2019 Skylicht Technology CO., LTD 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...
37.231884
141
0.753601
[ "object" ]
dcc3e4f871c7bb7118c086ff5b54fe6ad28d0422
303
cpp
C++
hackerrank/practice/data_structures/arrays/arrays_ds.cpp
Loks-/competitions
3bb231ba9dd62447048832f45b09141454a51926
[ "MIT" ]
4
2018-06-05T14:15:52.000Z
2022-02-08T05:14:23.000Z
hackerrank/practice/data_structures/arrays/arrays_ds.cpp
Loks-/competitions
3bb231ba9dd62447048832f45b09141454a51926
[ "MIT" ]
null
null
null
hackerrank/practice/data_structures/arrays/arrays_ds.cpp
Loks-/competitions
3bb231ba9dd62447048832f45b09141454a51926
[ "MIT" ]
1
2018-10-21T11:01:35.000Z
2018-10-21T11:01:35.000Z
// https://www.hackerrank.com/challenges/arrays-ds #include "common/stl/base.h" #include "common/vector/read.h" #include "common/vector/write.h" int main_arrays_ds() { unsigned n; cin >> n; vector<int> v = nvector::Read<int>(n); reverse(v.begin(), v.end()); nvector::Write(v); return 0; }
20.2
50
0.663366
[ "vector" ]
dcc837649e7dc8e2d45c2206edea92fedb5234dd
9,465
cpp
C++
src/saiga/vulkan/VulkanForwardRenderer.cpp
no33fewi/saiga
edc873e34cd59eaf8c4a12dc7f909b4dd5e5fb68
[ "MIT" ]
114
2017-08-13T22:37:32.000Z
2022-03-25T12:28:39.000Z
src/saiga/vulkan/VulkanForwardRenderer.cpp
no33fewi/saiga
edc873e34cd59eaf8c4a12dc7f909b4dd5e5fb68
[ "MIT" ]
7
2019-10-14T18:19:11.000Z
2021-06-11T09:41:52.000Z
src/saiga/vulkan/VulkanForwardRenderer.cpp
no33fewi/saiga
edc873e34cd59eaf8c4a12dc7f909b4dd5e5fb68
[ "MIT" ]
18
2017-08-14T01:22:05.000Z
2022-03-12T12:35:07.000Z
/* * Vulkan Example base class * * Copyright (C) 2016-2017 by Sascha Willems - www.saschawillems.de * * This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT) */ #include "VulkanForwardRenderer.h" #include "saiga/vulkan/Shader/all.h" #include "VulkanInitializers.hpp" #if defi...
39.273859
116
0.718859
[ "render" ]
dcc933c84e0cb7f712c5a4a54fca6751208cb810
2,044
cpp
C++
graph-measures/features_algorithms/accelerated_graph_features/src/utils/MathUtils.cpp
Unknown-Data/QGCN
e074ada31c13b6de6eabba2b2ebce90e88fdfdbf
[ "MIT" ]
3
2021-04-21T16:06:51.000Z
2022-03-31T12:09:01.000Z
graph-measures/features_algorithms/accelerated_graph_features/src/utils/MathUtils.cpp
Unknown-Data/QGCN
e074ada31c13b6de6eabba2b2ebce90e88fdfdbf
[ "MIT" ]
1
2021-02-04T07:48:16.000Z
2021-02-24T23:01:41.000Z
graph-measures/features_algorithms/accelerated_graph_features/src/utils/MathUtils.cpp
Unknown-Data/QGCN
e074ada31c13b6de6eabba2b2ebce90e88fdfdbf
[ "MIT" ]
null
null
null
#include "../includes/MathUtils.h" float MathUtils::calculateStd(const std::vector<float>& data) { float standartDeviation = 0.0f; int len = data.size(); int nonZero = 0; float mean = calculateMeanWithoutZeroes(data); for (int i = 0; i < len; i++) if (data[i] != 0) { nonZero++; standartDeviation...
24.626506
78
0.636008
[ "vector" ]
dcca524e7a3ccbb970a08a523f40112067abef42
4,874
cpp
C++
Pod/Classes/algorithms/io/eqloudloader.cpp
jbloit/iosEssentia
785ba29e8178942b396575dd3872bdf3d5d63cd5
[ "MIT" ]
null
null
null
Pod/Classes/algorithms/io/eqloudloader.cpp
jbloit/iosEssentia
785ba29e8178942b396575dd3872bdf3d5d63cd5
[ "MIT" ]
null
null
null
Pod/Classes/algorithms/io/eqloudloader.cpp
jbloit/iosEssentia
785ba29e8178942b396575dd3872bdf3d5d63cd5
[ "MIT" ]
null
null
null
/* * Copyright (C) 2006-2013 Music Technology Group - Universitat Pompeu Fabra * * This file is part of Essentia * * Essentia is free software: you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License as published by the Free * Software Foundation (FSF), either version...
35.318841
347
0.694296
[ "vector" ]
dcd8e9deb9e44612a7bd532b0237505942c41d2a
17,175
cc
C++
src/net/http/bidirectional_stream.cc
godfo/naiveproxy
369269a12832bf34bf01c7b0e7ca121555abd3eb
[ "BSD-3-Clause" ]
1
2021-03-21T10:43:16.000Z
2021-03-21T10:43:16.000Z
src/net/http/bidirectional_stream.cc
wclmgcd/naiveproxy
e32a3afb76fd21207c322f2d5e794c4f5505fb59
[ "BSD-3-Clause" ]
null
null
null
src/net/http/bidirectional_stream.cc
wclmgcd/naiveproxy
e32a3afb76fd21207c322f2d5e794c4f5505fb59
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "net/http/bidirectional_stream.h" #include <string> #include <utility> #include "base/bind.h" #include "base/location.h" #include "base/logging...
35.85595
80
0.699563
[ "vector" ]
dcdce769999d7f5bd8e8b1a9c18b581766b457e7
1,850
hpp
C++
include/KMP.hpp
wenda84/KMP
e3a585364f6a224b79e5a05e5dfe341a4563e6a5
[ "Apache-2.0" ]
null
null
null
include/KMP.hpp
wenda84/KMP
e3a585364f6a224b79e5a05e5dfe341a4563e6a5
[ "Apache-2.0" ]
null
null
null
include/KMP.hpp
wenda84/KMP
e3a585364f6a224b79e5a05e5dfe341a4563e6a5
[ "Apache-2.0" ]
null
null
null
//参考知乎的算法介绍用CPP进行实现:https://zhuanlan.zhihu.com/p/83334559 #include <iostream> #include <vector> using std::string; using std::vector; namespace ns_KMP{ class KMP { private: #define ASC_NUM 256 string pat; public: KMP(string in_pat); ~KMP() {}; ...
24.025974
74
0.416757
[ "vector" ]
dce15036a393c76be1389cc092fcc9e28abe6cd5
7,795
cpp
C++
src/shk-trace/test/cmdline_options_test.cpp
pereckerdal/shuriken
6988cf16904481e9d587b6ce9cfc7f1318518e50
[ "Apache-2.0" ]
19
2017-05-15T08:20:00.000Z
2021-12-03T05:58:32.000Z
src/shk-trace/test/cmdline_options_test.cpp
pereckerdal/shuriken
6988cf16904481e9d587b6ce9cfc7f1318518e50
[ "Apache-2.0" ]
null
null
null
src/shk-trace/test/cmdline_options_test.cpp
pereckerdal/shuriken
6988cf16904481e9d587b6ce9cfc7f1318518e50
[ "Apache-2.0" ]
3
2018-01-16T18:07:30.000Z
2021-06-30T07:33:44.000Z
// Copyright 2017 Per Grön. 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 l...
29.304511
94
0.56331
[ "vector" ]
dce1d6e8f7e545075dc09c71ff1cb58020fb9178
27,426
cpp
C++
arangod/RocksDBEngine/RocksDBRestReplicationHandler.cpp
iamjpn/arangodb
818b3dcbbcf7dc323bbbb8f3fac34444a8afdb25
[ "Apache-2.0" ]
1
2020-10-27T12:19:33.000Z
2020-10-27T12:19:33.000Z
arangod/RocksDBEngine/RocksDBRestReplicationHandler.cpp
charity1475/arangodb
32bef3ed9abef6f41a11466fe6361ae3e6d99b5e
[ "Apache-2.0" ]
null
null
null
arangod/RocksDBEngine/RocksDBRestReplicationHandler.cpp
charity1475/arangodb
32bef3ed9abef6f41a11466fe6361ae3e6d99b5e
[ "Apache-2.0" ]
1
2020-10-01T08:49:12.000Z
2020-10-01T08:49:12.000Z
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2014-2020 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except...
35.664499
108
0.678189
[ "object", "vector" ]
dce41d60026e348a2e4ec66481fa322d273158b8
3,653
cc
C++
src/examples/src/chat_vs_go.cc
duckie/boson
f3eb787f385c86b7735fcd7bc0ac0dc6a8fb7b1a
[ "MIT" ]
174
2016-10-10T12:47:01.000Z
2022-03-09T16:06:59.000Z
src/examples/src/chat_vs_go.cc
duckie/boson
f3eb787f385c86b7735fcd7bc0ac0dc6a8fb7b1a
[ "MIT" ]
5
2017-02-01T21:30:14.000Z
2018-09-09T10:02:00.000Z
src/examples/src/chat_vs_go.cc
duckie/boson
f3eb787f385c86b7735fcd7bc0ac0dc6a8fb7b1a
[ "MIT" ]
13
2016-10-10T12:19:14.000Z
2021-12-04T08:23:26.000Z
#include "boson/boson.h" #include "boson/logger.h" #include "boson/channel.h" #include "boson/net/socket.h" #include "boson/select.h" #include "boson/shared_buffer.h" #include "fmt/format.h" #include "iostream" #include <atomic> #include <chrono> #include <fcntl.h> #include <iostream> #include <netinet/tcp.h> #include ...
31.222222
102
0.576512
[ "vector" ]
dce6aad8069b0ddbcabc65c0b83cea9f26fee194
1,950
hpp
C++
include/NUnit/Framework/Interfaces/NodeList.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/NUnit/Framework/Interfaces/NodeList.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/NUnit/Framework/Interfaces/NodeList.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: System.Collections.Generic.List`1 #include "System/Collections/Generic...
46.428571
118
0.704615
[ "object" ]
dce6aba043ba5dba90eff4d17035409f5f0afb6f
4,986
cpp
C++
Code/src/fftTools/FFTMD.cpp
amihashemi/cs294project
7d0f67a40f72cd58a86fb7d7fcb3ed40f5ddc1ec
[ "MIT" ]
null
null
null
Code/src/fftTools/FFTMD.cpp
amihashemi/cs294project
7d0f67a40f72cd58a86fb7d7fcb3ed40f5ddc1ec
[ "MIT" ]
null
null
null
Code/src/fftTools/FFTMD.cpp
amihashemi/cs294project
7d0f67a40f72cd58a86fb7d7fcb3ed40f5ddc1ec
[ "MIT" ]
null
null
null
#include <cstdio> #include <iostream> #include <cassert> #include <cmath> #include <vector> #include "DBox.H" #include "RectMDArray.H" //#include "CH_Timer.H" #include "FFT1D.H" #include "FFTMD.H" using namespace std; FFTMD::FFTMD(shared_ptr<FFT1D> a_fft1dPtr) { m_fft1dPtr = a_fft1dPtr; m_M = m_fft1dPtr->getM();...
26.663102
90
0.484557
[ "vector" ]
dcec663bfda18a08cb4b2028736643fcc0e7cc58
2,573
cpp
C++
Plugins/uk.ac.kcl.VesselMeshing/src/internal/MeshingUtils.cpp
carthurs/CRIMSONGUI
1464df9c4d04cf3ba131ca90b91988a06845c68e
[ "BSD-3-Clause" ]
10
2020-09-17T18:55:31.000Z
2022-02-23T02:52:38.000Z
Plugins/uk.ac.kcl.VesselMeshing/src/internal/MeshingUtils.cpp
carthurs/CRIMSONGUI
1464df9c4d04cf3ba131ca90b91988a06845c68e
[ "BSD-3-Clause" ]
null
null
null
Plugins/uk.ac.kcl.VesselMeshing/src/internal/MeshingUtils.cpp
carthurs/CRIMSONGUI
1464df9c4d04cf3ba131ca90b91988a06845c68e
[ "BSD-3-Clause" ]
3
2021-05-19T09:02:21.000Z
2021-07-26T17:39:57.000Z
#include "MeshingUtils.h" #include <HierarchyManager.h> #include <VascularModelingNodeTypes.h> #include <VesselMeshingNodeTypes.h> #include <boost/format.hpp> namespace crimson { MeshingParametersData* MeshingUtils::getMeshingParametersForSolid(mitk::DataNode* solidNode) { if (!solidNode) { return nullp...
42.180328
170
0.74349
[ "object", "model", "solid" ]
dcee58d4a7daa0060a4a5448b65cdf9cc6ee3b13
12,921
cpp
C++
test/op/CropAndResizeTest.cpp
sunnythree/MNN
166fe68cd1ba05d02b018537bf6af03374431690
[ "Apache-2.0" ]
1
2021-02-03T07:50:59.000Z
2021-02-03T07:50:59.000Z
test/op/CropAndResizeTest.cpp
sunnythree/MNN
166fe68cd1ba05d02b018537bf6af03374431690
[ "Apache-2.0" ]
null
null
null
test/op/CropAndResizeTest.cpp
sunnythree/MNN
166fe68cd1ba05d02b018537bf6af03374431690
[ "Apache-2.0" ]
null
null
null
// // CropAndResizeTest.cpp // MNNTests // // Created by MNN on 2019/01/15. // Copyright © 2018, Alibaba Group Holding Limited // #include "Interpreter.hpp" #include "MNNTestSuite.h" #include "MNN_generated.h" #include "Session.hpp" #include "TensorUtils.hpp" #include "TensorUtils.hpp" #include "TestUtils.h" usin...
44.25
116
0.460645
[ "vector" ]
fd60471e276a0b189c359030b25f9dbf9f3240e2
8,623
cpp
C++
src/core/exact_img.cpp
LeeZQiang/also
f343bb3f9031f1fa407bda668046ecf8bceeff1b
[ "MIT" ]
1
2019-09-17T10:55:55.000Z
2019-09-17T10:55:55.000Z
src/core/exact_img.cpp
LeeZQiang/also
f343bb3f9031f1fa407bda668046ecf8bceeff1b
[ "MIT" ]
null
null
null
src/core/exact_img.cpp
LeeZQiang/also
f343bb3f9031f1fa407bda668046ecf8bceeff1b
[ "MIT" ]
null
null
null
/* also: Advanced Logic Synthesis and Optimization tool * Copyright (C) 2019- Ningbo University, Ningbo, China * * 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,...
29.131757
94
0.499594
[ "vector" ]
fd64df54cb8a20fe53d19b36d8471787d3c64b89
5,115
cpp
C++
src/graph/planner/ngql/LookupPlanner.cpp
blacklovebear/nebula
f500d478ac53b7c7977da305ca1ed07f8e44376a
[ "Apache-2.0" ]
1
2020-04-11T12:12:39.000Z
2020-04-11T12:12:39.000Z
src/graph/planner/ngql/LookupPlanner.cpp
blacklovebear/nebula
f500d478ac53b7c7977da305ca1ed07f8e44376a
[ "Apache-2.0" ]
24
2021-09-15T12:42:03.000Z
2021-09-16T04:59:19.000Z
src/graph/planner/ngql/LookupPlanner.cpp
blacklovebear/nebula
f500d478ac53b7c7977da305ca1ed07f8e44376a
[ "Apache-2.0" ]
1
2020-08-03T10:19:39.000Z
2020-08-03T10:19:39.000Z
/* Copyright (c) 2021 vesoft inc. All rights reserved. * * This source code is licensed under Apache 2.0 License, * attached with Common Clause Condition 1.0, found in the LICENSES directory. */ #include "graph/planner/ngql/LookupPlanner.h" #include <algorithm> #include <tuple> #include "common/base/Base.h" #inc...
34.328859
92
0.628543
[ "transform" ]
fd6bde192189d61617e2500b9a9caf4a097733fa
14,016
cpp
C++
BoundedTypes/GoogleTests/PositiveTests/PositiveTests.cpp
RomanoViolet/C-
95fdb40e57875d68ddb8ea69c2caf9c86df7ab48
[ "MIT" ]
null
null
null
BoundedTypes/GoogleTests/PositiveTests/PositiveTests.cpp
RomanoViolet/C-
95fdb40e57875d68ddb8ea69c2caf9c86df7ab48
[ "MIT" ]
null
null
null
BoundedTypes/GoogleTests/PositiveTests/PositiveTests.cpp
RomanoViolet/C-
95fdb40e57875d68ddb8ea69c2caf9c86df7ab48
[ "MIT" ]
null
null
null
#include "gmock/gmock.h" #include "gtest/gtest.h" #include <CustomTypes.hpp> #include <SafeTypes.hpp> #include <limits> #include <random> /** * @brief Units tests for each requirement associated to Component B. * */ /* TEST( InstantationTest, T1 ) { RomanoViolet::SafeType< 1, 4 > minWithIntegerBounds; EXPECT_T...
30.469565
99
0.643836
[ "object" ]
fd74052ddf72eef36c31ddb2f8920a7271e586ff
2,234
cc
C++
src/cores/scene.cc
BlurryLight/DiRender
1ea55ff8a10bb76993ce9990b200ee8ed173eb3e
[ "MIT" ]
20
2020-06-28T03:55:40.000Z
2022-03-08T06:00:31.000Z
src/cores/scene.cc
BlurryLight/DiRender
1ea55ff8a10bb76993ce9990b200ee8ed173eb3e
[ "MIT" ]
null
null
null
src/cores/scene.cc
BlurryLight/DiRender
1ea55ff8a10bb76993ce9990b200ee8ed173eb3e
[ "MIT" ]
1
2020-06-29T08:47:21.000Z
2020-06-29T08:47:21.000Z
#include <cores/scene.h> #include <renderer/renderer.h> using namespace DR; observer_ptr<Transform> IMPL::TransTable::get_tf(const Matrix4 &mat) const { value_type trans = std::make_unique<const Transform>(mat); // cost a Matrix::Inverse if (tf_table_.find(*trans) != tf_table_.end()) { return tf_table_[*t...
39.192982
80
0.664279
[ "render", "transform" ]
fd8499e889755b90665bbac575e2724c5d41255c
17,496
cpp
C++
inference-engine/tests/functional/shared_test_classes/src/single_layer/non_max_suppression.cpp
hanchengyao/openvino
81c8cd711bb9f8dc48e5f288e77dc0d80cedebd8
[ "Apache-2.0" ]
null
null
null
inference-engine/tests/functional/shared_test_classes/src/single_layer/non_max_suppression.cpp
hanchengyao/openvino
81c8cd711bb9f8dc48e5f288e77dc0d80cedebd8
[ "Apache-2.0" ]
42
2020-11-23T08:09:57.000Z
2022-02-21T13:03:34.000Z
inference-engine/tests/functional/shared_test_classes/src/single_layer/non_max_suppression.cpp
tsocha/openvino
3081fac7581933568b496a3c4e744d1cee481619
[ "Apache-2.0" ]
2
2020-09-08T17:12:23.000Z
2021-12-21T07:58:09.000Z
// Copyright (C) 2018-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <algorithm> #include "shared_test_classes/single_layer/non_max_suppression.hpp" namespace LayerTestsDefinitions { using namespace ngraph; using namespace InferenceEngine; using namespace FuncTestUtils::PrecisionUtils; st...
46.285714
161
0.599966
[ "shape", "vector" ]
fd855d841df38db33ff95dc52279e03b2cc338ca
4,163
inl
C++
src/common/q3Geometry.inl
TraistaRafael/qu3e
abdb7a964ad6278dab21ed5bec5937f231c0f20b
[ "Zlib" ]
791
2015-01-04T02:26:39.000Z
2022-03-30T12:31:36.000Z
src/common/q3Geometry.inl
TraistaRafael/qu3e
abdb7a964ad6278dab21ed5bec5937f231c0f20b
[ "Zlib" ]
48
2015-02-17T19:29:51.000Z
2021-12-21T01:08:28.000Z
src/common/q3Geometry.inl
TraistaRafael/qu3e
abdb7a964ad6278dab21ed5bec5937f231c0f20b
[ "Zlib" ]
108
2015-02-16T08:20:04.000Z
2022-03-01T09:39:47.000Z
//-------------------------------------------------------------------------------------------------- // q3Geometry.inl // // Copyright (c) 2014 Randy Gaul http://www.randygaul.net // // This software is provided 'as-is', without any express or implied // warranty. In no event will the authors be held liable for any dam...
35.279661
101
0.446793
[ "vector" ]
fd88353127a31d8f8e8d8cde27c2a5e72f98bc8d
13,950
cpp
C++
src/linear/gabor.cpp
DIPlib/diplib
eaf03372264f050bcda2d49bdf443702308ba303
[ "Apache-2.0" ]
140
2017-04-04T23:10:16.000Z
2022-03-24T18:21:34.000Z
src/linear/gabor.cpp
DIPlib/diplib
eaf03372264f050bcda2d49bdf443702308ba303
[ "Apache-2.0" ]
98
2018-01-13T23:16:00.000Z
2022-03-14T14:45:37.000Z
src/linear/gabor.cpp
DIPlib/diplib
eaf03372264f050bcda2d49bdf443702308ba303
[ "Apache-2.0" ]
40
2017-04-11T20:41:58.000Z
2022-03-24T18:21:36.000Z
/* * DIPlib 3.0 * This file contains definitions of functions that implement the FIR Gabor filter. * * (c)2018-2021, Cris Luengo. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * *...
37.5
144
0.613548
[ "vector", "transform" ]
fd8b0edf9f8df07e063a8f12de4999bc153f46eb
20,768
hpp
C++
src/frovedis/ml/glm/sgd_parallelizer.hpp
XpressAI/frovedis
bda0f2c688fb832671c5b542dd8df1c9657642ff
[ "BSD-2-Clause" ]
63
2018-06-21T14:11:59.000Z
2022-03-30T11:24:36.000Z
src/frovedis/ml/glm/sgd_parallelizer.hpp
XpressAI/frovedis
bda0f2c688fb832671c5b542dd8df1c9657642ff
[ "BSD-2-Clause" ]
5
2018-09-22T14:01:53.000Z
2021-12-27T16:11:05.000Z
src/frovedis/ml/glm/sgd_parallelizer.hpp
XpressAI/frovedis
bda0f2c688fb832671c5b542dd8df1c9657642ff
[ "BSD-2-Clause" ]
12
2018-08-23T15:59:44.000Z
2022-02-20T06:47:22.000Z
#ifndef _SGD_PARALLELIZER_HPP_ #define _SGD_PARALLELIZER_HPP_ #include "common.hpp" namespace frovedis { template <class T> struct sgd_dtrain { sgd_dtrain(): iterCount(1), alpha(0.01), isIntercept(false) {} sgd_dtrain(size_t i, double al, bool intercept): iterCount(i), alpha(al), isIntercept(intercept)...
37.41982
87
0.607666
[ "vector", "model" ]
fd8ba0be87cd9a8356cb3b319d745530928314d8
5,227
cpp
C++
test/test_utils_diff.cpp
lingjf/h2un
7735c2f07f58ea8b92a9e9608c9b45c98c94c670
[ "Apache-2.0" ]
5
2015-03-02T22:29:00.000Z
2020-06-28T08:52:00.000Z
test/test_utils_diff.cpp
lingjf/h2un
7735c2f07f58ea8b92a9e9608c9b45c98c94c670
[ "Apache-2.0" ]
5
2019-05-10T02:28:00.000Z
2021-07-17T00:53:18.000Z
test/test_utils_diff.cpp
lingjf/h2un
7735c2f07f58ea8b92a9e9608c9b45c98c94c670
[ "Apache-2.0" ]
5
2016-05-25T07:31:16.000Z
2021-08-29T04:25:18.000Z
#include "../source/h2_unit.cpp" SUITE(similarity) { Case(edit distance) { OK(0, h2::h2_similarity::levenshtein("a", "a", 1, 1, false)); OK(1, h2::h2_similarity::levenshtein("a", "b", 1, 1, false)); OK(2, h2::h2_similarity::levenshtein("a", "bc", 1, 2, false)); OK(3, h2::h2_similarity::le...
28.407609
117
0.47159
[ "vector" ]
fd8f97c59cabcf3aac9bcad579637e9e98f67e40
4,859
cpp
C++
src/loadedobject.cpp
QAston/opengl-engine-uni-2014
c951baf1a0fc08ece2c5ed22534c144d081217bc
[ "MIT" ]
null
null
null
src/loadedobject.cpp
QAston/opengl-engine-uni-2014
c951baf1a0fc08ece2c5ed22534c144d081217bc
[ "MIT" ]
null
null
null
src/loadedobject.cpp
QAston/opengl-engine-uni-2014
c951baf1a0fc08ece2c5ed22534c144d081217bc
[ "MIT" ]
null
null
null
#include "loadedobject.h" #include "objloader.h" #include "rwconfig.h" #include "tiny_obj_loader.h" #include <algorithm> #include <glm/glm.hpp> #include <iostream> #include <string> using namespace std; LoadedObject::LoadedObject(const vector<array<double, 3>> &vertici, const ve...
29.809816
80
0.594978
[ "vector" ]
fd90921ea29afcb72a6200f39bc25b08d0a82d59
6,885
cpp
C++
gmw_impl/circuit/socialnet.cpp
rlaishra/Privacy-Aware-Friends-Recommendation
a5757ef0b409bbcdebdb4e43b510a8d4d9070230
[ "MIT" ]
null
null
null
gmw_impl/circuit/socialnet.cpp
rlaishra/Privacy-Aware-Friends-Recommendation
a5757ef0b409bbcdebdb4e43b510a8d4d9070230
[ "MIT" ]
null
null
null
gmw_impl/circuit/socialnet.cpp
rlaishra/Privacy-Aware-Friends-Recommendation
a5757ef0b409bbcdebdb4e43b510a8d4d9070230
[ "MIT" ]
null
null
null
// socialnet.cpp #include "socialnet.h" #include <cassert> #include <cmath> using namespace std; BOOL CSNetCircuit::Create(int nParties, const vector<int>& vParams) { m_nNumParties = nParties; // parse params // params: width, depth, rep if( vParams.size() < (unsigned) 2 ) { cout << "Error! This circuit needs...
21.315789
91
0.630792
[ "vector" ]
fd95b3f303812e70395daa821510e75eac1a016b
4,206
hpp
C++
include/libtorrent/aux_/storage_utils.hpp
zhangzhui/libtorrent
b6642e2f70b9c0994c25154df91ece89df30a35e
[ "BSL-1.0", "BSD-3-Clause" ]
1
2019-05-23T12:23:40.000Z
2019-05-23T12:23:40.000Z
include/libtorrent/aux_/storage_utils.hpp
zhangzhui/libtorrent
b6642e2f70b9c0994c25154df91ece89df30a35e
[ "BSL-1.0", "BSD-3-Clause" ]
1
2017-09-19T08:52:30.000Z
2017-09-19T08:52:30.000Z
include/libtorrent/aux_/storage_utils.hpp
zhangzhui/libtorrent
b6642e2f70b9c0994c25154df91ece89df30a35e
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2003-2016, Arvid Norberg 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 conditions and ...
38.587156
100
0.773657
[ "vector" ]
fd963e4772fd432ff150aee8e12e017888798c0b
10,538
cpp
C++
Tests/TestsRosicAndRapt/Source/rapt_tests/UnitTests/Math/NumberTheoryTests.cpp
RobinSchmidt/RS-MET-Preliminary
6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe
[ "FTL" ]
34
2017-04-19T18:26:02.000Z
2022-02-15T17:47:26.000Z
Tests/TestsRosicAndRapt/Source/rapt_tests/UnitTests/Math/NumberTheoryTests.cpp
RobinSchmidt/RS-MET-Preliminary
6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe
[ "FTL" ]
307
2017-05-04T21:45:01.000Z
2022-02-03T00:59:01.000Z
Tests/TestsRosicAndRapt/Source/rapt_tests/UnitTests/Math/NumberTheoryTests.cpp
RobinSchmidt/RS-MET-Preliminary
6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe
[ "FTL" ]
4
2017-09-05T17:04:31.000Z
2021-12-15T21:24:28.000Z
bool testPrimeTableGeneration(std::string &reportString) { std::string testName = "PrimeTableGeneration"; bool testResult = true; // create table of primes up to 1000 and check against this target-table: static const rsUint32 np = 168; rsUint32 tp[np] = {2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,...
40.375479
107
0.597172
[ "vector" ]
fd9702752d4ce2e78333f18b108e1de664490912
16,090
cpp
C++
Src/C_BaseLib/Box.cpp
Voskrese/BoxLib-old-msvc
da83349af10ef8f951b7a5b3182fc7cd710abeec
[ "BSD-3-Clause-LBNL" ]
null
null
null
Src/C_BaseLib/Box.cpp
Voskrese/BoxLib-old-msvc
da83349af10ef8f951b7a5b3182fc7cd710abeec
[ "BSD-3-Clause-LBNL" ]
null
null
null
Src/C_BaseLib/Box.cpp
Voskrese/BoxLib-old-msvc
da83349af10ef8f951b7a5b3182fc7cd710abeec
[ "BSD-3-Clause-LBNL" ]
null
null
null
#include <iostream> #include <limits> #include <BLassert.H> #include <BoxLib.H> #include <Box.H> const Box& Box::TheUnitBox () { static const Box Unit(IntVect::TheZeroVector(), IntVect::TheZeroVector()); return Unit; } Box::Box () : smallend(IntVect::TheUnitVector()), bigend(IntVect::TheZeroVect...
18.796729
82
0.519826
[ "object", "vector" ]
fd99381af6795e5bd9ad89fe21a4a62f7730456c
4,966
cpp
C++
roomedit/owl-6.34/source/monthcal.cpp
Darkman-M59/Meridian59_115
671b7ebe9fa2b1f40c8bd453652d596042291b90
[ "FSFAP" ]
null
null
null
roomedit/owl-6.34/source/monthcal.cpp
Darkman-M59/Meridian59_115
671b7ebe9fa2b1f40c8bd453652d596042291b90
[ "FSFAP" ]
null
null
null
roomedit/owl-6.34/source/monthcal.cpp
Darkman-M59/Meridian59_115
671b7ebe9fa2b1f40c8bd453652d596042291b90
[ "FSFAP" ]
null
null
null
//---------------------------------------------------------------------------- // ObjectWindows // Copyright (c) 1998 by Bidus Yura, All Rights Reserved // /// \file /// Implementation of the TMonthCalendar class //---------------------------------------------------------------------------- #include <owl/pch.h> ...
23.205607
101
0.62948
[ "object" ]
fd9f038eff1bdacc0a327bfec3e00b76fa3c82a9
5,984
hpp
C++
benchmarks/dmitry_mpsc.hpp
Donald-Rupin/mpsc_zib
451328815a5cc3977750d61e1b7cd85ffd7108ae
[ "MIT" ]
1
2021-09-30T07:29:24.000Z
2021-09-30T07:29:24.000Z
benchmarks/dmitry_mpsc.hpp
Donald-Rupin/mpsc_zib
451328815a5cc3977750d61e1b7cd85ffd7108ae
[ "MIT" ]
null
null
null
benchmarks/dmitry_mpsc.hpp
Donald-Rupin/mpsc_zib
451328815a5cc3977750d61e1b7cd85ffd7108ae
[ "MIT" ]
null
null
null
/* * [....... [..[..[.. [.. * [.. [..[. [.. * [.. [..[. [.. * [.. [..[... [. * [.. [..[. [.. * [.. [..[. [. * [...........[..[.... [.. * * * MIT License * * Copyright (c) 2021 Donald-Rupin * * Permission is hereby granted, free of charge, to any pers...
33.244444
100
0.621992
[ "vector" ]
fda46a0bb4370873e9bbf0fd9c39578ca1f1a964
4,980
cc
C++
chrome/browser/profiles/reporting_util.cc
iridium-browser/iridium-browser
907e31cf5ce5ad14d832796e3a7c11e496828959
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
575
2015-06-18T23:58:20.000Z
2022-03-23T09:32:39.000Z
chrome/browser/profiles/reporting_util.cc
iridium-browser/iridium-browser
907e31cf5ce5ad14d832796e3a7c11e496828959
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
chrome/browser/profiles/reporting_util.cc
iridium-browser/iridium-browser
907e31cf5ce5ad14d832796e3a7c11e496828959
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
52
2015-07-14T10:40:50.000Z
2022-03-15T01:11:49.000Z
// Copyright 2019 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/profiles/reporting_util.h" #include <string> #include <vector> #include "base/callback.h" #include "base/values.h" #include "bu...
32.54902
79
0.746185
[ "vector", "model" ]
fdb47dec15088963fa9f59c7d8362a99beb3b673
1,052
cpp
C++
opencv-2.4.11/samples/android/tutorial-4-cuda/jni/jni_part.cpp
durai-chellamuthu/node-opencv
a9c18c77b2fe0f62f2f8376854bdf33de71f5dc3
[ "MIT" ]
13
2015-03-01T07:03:17.000Z
2021-11-03T06:33:31.000Z
opencv-2.4.11/samples/android/tutorial-4-cuda/jni/jni_part.cpp
durai-chellamuthu/node-opencv
a9c18c77b2fe0f62f2f8376854bdf33de71f5dc3
[ "MIT" ]
1
2019-08-14T02:56:04.000Z
2019-08-14T03:53:21.000Z
opencv-2.4.11/samples/android/tutorial-4-cuda/jni/jni_part.cpp
durai-chellamuthu/node-opencv
a9c18c77b2fe0f62f2f8376854bdf33de71f5dc3
[ "MIT" ]
32
2015-06-08T08:59:51.000Z
2021-08-05T09:54:16.000Z
#include <jni.h> #include <opencv2/core/core.hpp> #include <opencv2/imgproc/imgproc.hpp> #include <opencv2/features2d/features2d.hpp> #include <opencv2/gpu/gpu.hpp> #include <vector> using namespace std; using namespace cv; using namespace cv::gpu; #include <android/log.h> #define LOG_TAG "Cuda" #define LOGD(...) ((...
29.222222
138
0.717681
[ "vector" ]
fdb4afbfecaac08174c3d467758235a8cf218327
8,108
cc
C++
chrome/chrome_cleaner/test/test_pup_data.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/chrome_cleaner/test/test_pup_data.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/chrome_cleaner/test/test_pup_data.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/chrome_cleaner/test/test_pup_data.h" #include "base/logging.h" #include "chrome/chrome_cleaner/proto/shared_pup_enums.pb.h" #include "ch...
35.252174
80
0.690429
[ "vector" ]