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
b86adc8bb3ceb769f8e3cb3848ae2500206d46f0
12,023
cpp
C++
Source/web/WebSearchableFormData.cpp
quanganh2627/bytm-x64-L-w05-2015_external_chromium_org_third_party_WebKit
20e637e67a0c272870ae4d78466a68bcb77af041
[ "BSD-3-Clause" ]
null
null
null
Source/web/WebSearchableFormData.cpp
quanganh2627/bytm-x64-L-w05-2015_external_chromium_org_third_party_WebKit
20e637e67a0c272870ae4d78466a68bcb77af041
[ "BSD-3-Clause" ]
null
null
null
Source/web/WebSearchableFormData.cpp
quanganh2627/bytm-x64-L-w05-2015_external_chromium_org_third_party_WebKit
20e637e67a0c272870ae4d78466a68bcb77af041
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (C) 2009 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...
40.894558
146
0.684605
[ "vector" ]
b86dd2f025899500bd2375901f80d43633c29717
1,483
cpp
C++
exo/src/body.cpp
btheobald/compa2
aa9d5b966fb4c6a4e836e481d9df1bd297de3140
[ "MIT" ]
2
2016-02-11T20:01:26.000Z
2016-11-30T16:16:02.000Z
exo/src/body.cpp
btheobald/compa2
aa9d5b966fb4c6a4e836e481d9df1bd297de3140
[ "MIT" ]
null
null
null
exo/src/body.cpp
btheobald/compa2
aa9d5b966fb4c6a4e836e481d9df1bd297de3140
[ "MIT" ]
null
null
null
// Interface include #include "body.hpp" body::body() { // Creates a copy of body at pointer } body::body(body* p_b) { // Creates a copy of body at pointer // Copy contents of p_b to this object. *this = *p_b; } body::body(double p_m, double p_r, double p_pX, double p_pY, bool p_fixed) { // Mass m = p_m; ...
17.244186
106
0.578557
[ "object" ]
b8741bdb4a14d273586f4a986d74f340f3b7d931
111,530
hpp
C++
clicache/src/IRegion.hpp
rhoughton-pivot/geode-native
ab6fe7d996e5ec23832f90663d03f1d66b9f5fbd
[ "Apache-2.0" ]
48
2017-02-08T22:24:07.000Z
2022-02-06T02:47:56.000Z
clicache/src/IRegion.hpp
rhoughton-pivot/geode-native
ab6fe7d996e5ec23832f90663d03f1d66b9f5fbd
[ "Apache-2.0" ]
388
2017-02-13T17:09:45.000Z
2022-03-29T22:18:39.000Z
clicache/src/IRegion.hpp
rhoughton-pivot/geode-native
ab6fe7d996e5ec23832f90663d03f1d66b9f5fbd
[ "Apache-2.0" ]
68
2017-02-09T18:43:15.000Z
2022-03-14T22:59:13.000Z
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
50.903697
130
0.58716
[ "object" ]
b87990049c89b5f7b58cd623bd7b7f48152f0241
6,103
cpp
C++
apps/jpegresize/devapp/JpegDecodeDV.cpp
TonyBrewer/OpenHT
63898397de4d303ba514d88b621cc91367ffe2a6
[ "BSD-3-Clause" ]
13
2015-02-26T22:46:18.000Z
2020-03-24T11:53:06.000Z
apps/jpegresize/devapp/JpegDecodeDV.cpp
PacificBiosciences/OpenHT
63898397de4d303ba514d88b621cc91367ffe2a6
[ "BSD-3-Clause" ]
5
2016-02-25T17:08:19.000Z
2018-01-20T15:24:36.000Z
apps/jpegresize/devapp/JpegDecodeDV.cpp
TonyBrewer/OpenHT
63898397de4d303ba514d88b621cc91367ffe2a6
[ "BSD-3-Clause" ]
12
2015-04-13T21:39:54.000Z
2021-01-15T01:00:13.000Z
/* Copyright (c) 2015 Convey Computer Corporation * * This file is part of the OpenHT jpegscale application. * * Use and distribution licensed under the BSD 3-clause license. * See the LICENSE file for the complete license text. */ #include <stdio.h> #include <stdlib.h> #include <string.h> #define _USE_MATH_DEFI...
29.200957
124
0.64624
[ "3d" ]
b87a235e791fedf45ce0d8f57f06cb757221db44
9,098
hpp
C++
include/sg/core/task.hpp
tillenius/superglue
4f4fe917b4d7a11cb971f349a885bef4e869ae75
[ "0BSD" ]
29
2015-02-13T19:00:56.000Z
2021-09-01T07:33:41.000Z
include/sg/core/task.hpp
tillenius/superglue
4f4fe917b4d7a11cb971f349a885bef4e869ae75
[ "0BSD" ]
1
2020-07-21T08:32:31.000Z
2020-07-29T10:12:12.000Z
include/sg/core/task.hpp
tillenius/superglue
4f4fe917b4d7a11cb971f349a885bef4e869ae75
[ "0BSD" ]
3
2015-02-25T18:05:13.000Z
2015-11-15T14:13:00.000Z
#ifndef SG_TASK_HPP_INCLUDED #define SG_TASK_HPP_INCLUDED #include "sg/core/types.hpp" #include "sg/platform/atomic.hpp" #include <string> #include <stdint.h> namespace sg { template<typename Options> class Access; template<typename Options> class AccessUtil; template<typename Options> class Handle; template<typenam...
38.714894
135
0.639042
[ "vector" ]
b88194965251e1c99a9d36b9c7b701fd4a3607eb
1,345
cpp
C++
codejam/20210410/b.cpp
honux77/algorithm
2ed8cef1fbee7ad96d8f2ae583666d52bd8892ee
[ "MIT" ]
2
2019-02-08T01:23:07.000Z
2020-11-19T12:23:52.000Z
codejam/20210410/b.cpp
honux77/algorithm
2ed8cef1fbee7ad96d8f2ae583666d52bd8892ee
[ "MIT" ]
null
null
null
codejam/20210410/b.cpp
honux77/algorithm
2ed8cef1fbee7ad96d8f2ae583666d52bd8892ee
[ "MIT" ]
null
null
null
#include <stdio.h> #include <string.h> #include <math.h> #include <assert.h> #include <math.h> #include <vector> #include <queue> #include <algorithm> #include <iostream> #include <string> #include <bitset> #include <map> #include <set> #include <tuple> #include <random> #include <functional> #define all(x) (x).begin(...
19.214286
60
0.50632
[ "vector" ]
b881a0bf4e3b125d813fecb73ed9dc94b8c43d47
1,447
hpp
C++
src/input/Input.hpp
Gegel85/IndieStudio
63e58c61416b3c16885d35d75d126e3db5ed3cc8
[ "MIT" ]
null
null
null
src/input/Input.hpp
Gegel85/IndieStudio
63e58c61416b3c16885d35d75d126e3db5ed3cc8
[ "MIT" ]
null
null
null
src/input/Input.hpp
Gegel85/IndieStudio
63e58c61416b3c16885d35d75d126e3db5ed3cc8
[ "MIT" ]
1
2019-06-18T15:53:48.000Z
2019-06-18T15:53:48.000Z
/* ** EPITECH PROJECT, 2018 ** IndieStudio ** File description: ** Input.hpp */ #ifndef INPUT_HPP #define INPUT_HPP #include <iostream> #include <vector> #include <irrlicht/irrlicht.h> #include <irrlicht/Keycodes.h> #include <irrlicht/ILogger.h> #include <irrlicht/irrString.h> #include <irrlicht/IEventReceiver.h> #in...
18.316456
66
0.564616
[ "vector" ]
b8866ee37b9d0beacd0fa7ca11f7730bda577751
1,043
hpp
C++
include/Pomdog/Graphics/PipelineStateDescription.hpp
bis83/pomdog
133a9262958d539ae6d93664e6cb2207b5b6c7ff
[ "MIT" ]
null
null
null
include/Pomdog/Graphics/PipelineStateDescription.hpp
bis83/pomdog
133a9262958d539ae6d93664e6cb2207b5b6c7ff
[ "MIT" ]
null
null
null
include/Pomdog/Graphics/PipelineStateDescription.hpp
bis83/pomdog
133a9262958d539ae6d93664e6cb2207b5b6c7ff
[ "MIT" ]
null
null
null
// Copyright (c) 2013-2015 mogemimi. // Distributed under the MIT license. See LICENSE.md file for details. #ifndef POMDOG_PIPELINESTATEDESCRIPTION_E706BE44_HPP #define POMDOG_PIPELINESTATEDESCRIPTION_E706BE44_HPP #include "detail/ForwardDeclarations.hpp" #include "BlendDescription.hpp" #include "DepthStencilDescript...
29.8
78
0.813039
[ "vector" ]
b888d99ce83e916bde2272878f9edc2c395eeb76
9,799
hpp
C++
stapl_release/stapl/containers/multiarray/deep_slice.hpp
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
stapl_release/stapl/containers/multiarray/deep_slice.hpp
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
stapl_release/stapl/containers/multiarray/deep_slice.hpp
parasol-ppl/PPL_utils
92728bb89692fda1705a0dee436592d97922a6cb
[ "BSD-3-Clause" ]
null
null
null
/* // Copyright (c) 2000-2009, Texas Engineering Experiment Station (TEES), a // base_container of the Texas A&M University System. // All rights reserved. // The information and source code contained herein is the exclusive // property of TEES and may not be disclosed, examined or reproduced // in whole or in part w...
35.248201
78
0.549954
[ "transform" ]
b889cd674936c1f797807ac6a95c5961a4445fdd
8,682
cc
C++
Cloudde/EA_library/DE_CPU.cc
LandBuffalo/Cloudde
e1328b5e4801a8a72f88e52943b36bf834a7c4b3
[ "MIT" ]
null
null
null
Cloudde/EA_library/DE_CPU.cc
LandBuffalo/Cloudde
e1328b5e4801a8a72f88e52943b36bf834a7c4b3
[ "MIT" ]
null
null
null
Cloudde/EA_library/DE_CPU.cc
LandBuffalo/Cloudde
e1328b5e4801a8a72f88e52943b36bf834a7c4b3
[ "MIT" ]
null
null
null
#include "EA_CPU.h" DE_CPU::DE_CPU() { } DE_CPU::~DE_CPU() { } string DE_CPU::GetParameters() { string str; ostringstream temp1, temp2; string parameters = "CR/F="; double CR = DE_info_.CR; temp1<<CR; str=temp1.str(); parameters.append(str); parameters.append("/"); double F = DE_info_.F; temp2<<F; str...
38.415929
156
0.541926
[ "vector" ]
b88b24b7ad70c8a9790505d5ffd624b00374948d
4,367
cpp
C++
test_package/test_package_libtooling.cpp
blockspacer/llvm_9_installer
7607a89affe610bf6d1723c2ac43d17fae2a5fed
[ "MIT" ]
null
null
null
test_package/test_package_libtooling.cpp
blockspacer/llvm_9_installer
7607a89affe610bf6d1723c2ac43d17fae2a5fed
[ "MIT" ]
null
null
null
test_package/test_package_libtooling.cpp
blockspacer/llvm_9_installer
7607a89affe610bf6d1723c2ac43d17fae2a5fed
[ "MIT" ]
null
null
null
#if defined(UNDEFINED_SANITIZER) \ || defined(ADRESS_SANITIZER) \ || defined(UNDEFINED_BEHAVIOR_SANITIZER) \ || defined(MEMORY_SANITIZER) \ || defined(THREAD_SANITIZER) #error \"sanitizers not supported with libtooling\" #endif #include <cstdlib> #include <iostream> #include <iterator> #include <except...
36.090909
93
0.777422
[ "vector" ]
b88bce99da35864343269e803deef36ab716b4e0
6,738
hpp
C++
include/Buffer.hpp
hidenorly/audioframework
764a164d651f58c6f99a817410aaead228a4d79e
[ "Apache-2.0" ]
null
null
null
include/Buffer.hpp
hidenorly/audioframework
764a164d651f58c6f99a817410aaead228a4d79e
[ "Apache-2.0" ]
null
null
null
include/Buffer.hpp
hidenorly/audioframework
764a164d651f58c6f99a817410aaead228a4d79e
[ "Apache-2.0" ]
null
null
null
/* Copyright (C) 2021 hidenorly 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 wr...
36.421622
176
0.740576
[ "vector" ]
b8a011ef3d3b7feb02376eda9ac5ff463b3aa259
11,530
cpp
C++
Testing/src/ResourceParsingTest.cpp
brunolueders/Cook-Raytracer
9bba5b0af04bd60a89b9de601f0560c819b03c24
[ "MIT" ]
1
2018-10-12T19:12:16.000Z
2018-10-12T19:12:16.000Z
Testing/src/ResourceParsingTest.cpp
brunolueders/Cook-Raytracer
9bba5b0af04bd60a89b9de601f0560c819b03c24
[ "MIT" ]
7
2018-09-03T17:47:58.000Z
2018-09-03T20:17:52.000Z
Testing/src/ResourceParsingTest.cpp
brunolueders/Cook-Raytracer
9bba5b0af04bd60a89b9de601f0560c819b03c24
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "CppUnitTest.h" #include "Scene.hpp" using namespace Microsoft::VisualStudio::CppUnitTestFramework; namespace Testing { TEST_CLASS(ResourceParsing) { public: TEST_METHOD(parse_Colour) { nlohmann::json j = R"("#31ff08")"_json; auto col = c...
39.758621
102
0.368864
[ "mesh", "transform" ]
b8a34d9190cb2f4278fcc6f4b7f3a65f36b047a3
9,314
cpp
C++
ElementEngine/enginelib/src/VknPipeline.cpp
lbondi7/Element-2.0
ecba7a5f4402167643984d15b7a1b3bcff951907
[ "MIT" ]
null
null
null
ElementEngine/enginelib/src/VknPipeline.cpp
lbondi7/Element-2.0
ecba7a5f4402167643984d15b7a1b3bcff951907
[ "MIT" ]
null
null
null
ElementEngine/enginelib/src/VknPipeline.cpp
lbondi7/Element-2.0
ecba7a5f4402167643984d15b7a1b3bcff951907
[ "MIT" ]
null
null
null
#include "VknPipeline.h" #include "VkFunctions.h" #include "Device.h" #include "VkInitializers.h" #include "VknResources.h" #include "Resources.h" #include "Locator.h" #include <element/GameSettings.h> #include <stdexcept> Element::VknPipeline::VknPipeline(SwapChain* swapChain, RenderPass* renderPass, const std::st...
36.382813
216
0.732875
[ "vector" ]
b8a59ae9e48756ce90ffac163be3a3c5df1958a5
5,588
cpp
C++
src/descartes_opw_model/descartes_opw_model.cpp
JeroenDM/descartes_opw_model
a07aab932438b866436ce343aeb3405f5dfdec75
[ "Apache-2.0" ]
null
null
null
src/descartes_opw_model/descartes_opw_model.cpp
JeroenDM/descartes_opw_model
a07aab932438b866436ce343aeb3405f5dfdec75
[ "Apache-2.0" ]
null
null
null
src/descartes_opw_model/descartes_opw_model.cpp
JeroenDM/descartes_opw_model
a07aab932438b866436ce343aeb3405f5dfdec75
[ "Apache-2.0" ]
1
2019-12-30T20:10:17.000Z
2019-12-30T20:10:17.000Z
/* * Copyright 2018 Southwest Research Institute * 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 ...
35.820513
119
0.648533
[ "vector", "model", "transform" ]
b8ac03b0f4a827297fc5a37a008180326a14b34e
9,160
cpp
C++
lib/ast/expression/overload_resolver.cpp
Shachar/practical-sa
01ad8a5d60d2cb09760a38acf229331885dae538
[ "BSL-1.0" ]
1
2018-07-13T18:09:40.000Z
2018-07-13T18:09:40.000Z
lib/ast/expression/overload_resolver.cpp
Shachar/practical-sa
01ad8a5d60d2cb09760a38acf229331885dae538
[ "BSL-1.0" ]
17
2019-03-13T08:51:37.000Z
2020-12-05T18:18:44.000Z
lib/ast/expression/overload_resolver.cpp
Shachar/practical
01ad8a5d60d2cb09760a38acf229331885dae538
[ "BSL-1.0" ]
1
2018-09-25T15:30:50.000Z
2018-09-25T15:30:50.000Z
/* This file is part of the Practical programming langauge. https://github.com/Practical/practical-sa * * To the extent header files enjoy copyright protection, this file is file is copyright (C) 2020 by its authors * You can see the file's authors in the AUTHORS file in the project's home repository. * * This is ...
37.235772
122
0.668996
[ "vector" ]
b8b0b16873b7974d11c6ce9daa6ebdbcaeb1dc1f
12,735
cpp
C++
Core/Physics/Physics.cpp
marci07iq/SpaceCube
464bc3fa1090bed273bcaa3257aebeacc4e8d3b0
[ "MIT" ]
2
2019-11-05T14:48:34.000Z
2019-11-05T14:49:30.000Z
Core/Physics/Physics.cpp
marci07iq/SpaceCube
464bc3fa1090bed273bcaa3257aebeacc4e8d3b0
[ "MIT" ]
null
null
null
Core/Physics/Physics.cpp
marci07iq/SpaceCube
464bc3fa1090bed273bcaa3257aebeacc4e8d3b0
[ "MIT" ]
null
null
null
#include "../Terrain/WorldLoader.h" const float maxStepSize = 0.5; const float EPSILON = 1e-5; struct movement { mVec3 pos; mpsVec3 vel; }; template<typename T> void sortPairInc(T& a, T& b) { if (a > b) { swap(a, b); } } template<typename T> void sortPairDec(T& a, T& b) { if (a > b) { swap(a, b); ...
30.910194
188
0.579191
[ "object" ]
b8b6398b58f2a6625b69583fcfcc905e304c2a45
6,452
cpp
C++
tests/op/test_opendla_op_split.cpp
zhouzy-creator/Tengine
fea5c064da7b8ed0e24212dcc65d30fda3c7477c
[ "Apache-2.0" ]
4,697
2017-12-30T12:15:43.000Z
2022-03-25T08:22:31.000Z
tests/op/test_opendla_op_split.cpp
zhouzy-creator/Tengine
fea5c064da7b8ed0e24212dcc65d30fda3c7477c
[ "Apache-2.0" ]
943
2018-01-02T06:15:00.000Z
2022-03-31T05:32:32.000Z
tests/op/test_opendla_op_split.cpp
zhouzy-creator/Tengine
fea5c064da7b8ed0e24212dcc65d30fda3c7477c
[ "Apache-2.0" ]
1,076
2017-12-30T12:15:46.000Z
2022-03-30T01:28:56.000Z
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * License); you ma...
27.930736
143
0.656696
[ "vector" ]
b8b6a88f5c457756f1e6d1497d1109b5ac673237
19,388
cc
C++
mediapipe/calculators/image/bilateral_filter_calculator.cc
dwayne45/mediapipe
731d2b95363d58f12acb29a6f8435ec33fe548d9
[ "Apache-2.0" ]
2
2019-10-17T13:39:23.000Z
2019-10-17T13:41:19.000Z
mediapipe/calculators/image/bilateral_filter_calculator.cc
shashimanyam/mediapipe
dc9216dc595585d495250d0692afe35985d816ff
[ "Apache-2.0" ]
null
null
null
mediapipe/calculators/image/bilateral_filter_calculator.cc
shashimanyam/mediapipe
dc9216dc595585d495250d0692afe35985d816ff
[ "Apache-2.0" ]
4
2020-07-17T19:56:45.000Z
2021-07-08T11:50:23.000Z
// Copyright 2019 The MediaPipe 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 a...
34.99639
84
0.691252
[ "vector" ]
b8bc4d6e746b4eb7744589be6f7641431a0cff25
5,729
hpp
C++
include/scalesim/com/mpi/mpi_runner.hpp
asia-lab-sustech/ScaleSim
614869fe9ff2092e6c1f219cbcf44391118517d5
[ "MIT" ]
3
2019-06-26T15:11:26.000Z
2022-03-29T14:38:47.000Z
include/scalesim/com/mpi/mpi_runner.hpp
asia-lab-sustech/ScaleSim
614869fe9ff2092e6c1f219cbcf44391118517d5
[ "MIT" ]
null
null
null
include/scalesim/com/mpi/mpi_runner.hpp
asia-lab-sustech/ScaleSim
614869fe9ff2092e6c1f219cbcf44391118517d5
[ "MIT" ]
3
2019-05-02T12:21:25.000Z
2022-02-16T07:45:07.000Z
/* * mpi_runner.hpp * * Copyright (c) 2015 Masatoshi Hanai * * This software is released under MIT License. * See LICENSE. * */ #ifndef SCALESIM_COM_MPI_MPI_RUNNER_HPP_ #define SCALESIM_COM_MPI_MPI_RUNNER_HPP_ #include <vector> #include <iostream> #include <boost/function.hpp> #include <boost/mpi.hpp> #incl...
27.946341
80
0.649852
[ "vector" ]
b8bf0ce7051d4ddf600131711e8c86a0ff462a41
4,177
cpp
C++
tests/test02/threadWorker.cpp
CETONI-Software/3rdparty-QDeferred
662bdc6bc8debf025859ddc59e5dfb8f96b1e5b9
[ "MIT" ]
51
2019-02-11T15:06:22.000Z
2022-03-29T06:52:19.000Z
tests/test02/threadWorker.cpp
CETONI-Software/3rdparty-QDeferred
662bdc6bc8debf025859ddc59e5dfb8f96b1e5b9
[ "MIT" ]
4
2020-10-28T10:20:53.000Z
2022-01-24T08:23:15.000Z
tests/test02/threadWorker.cpp
CETONI-Software/3rdparty-QDeferred
662bdc6bc8debf025859ddc59e5dfb8f96b1e5b9
[ "MIT" ]
12
2019-11-19T19:14:53.000Z
2022-03-29T06:52:20.000Z
#include "threadworker.h" #include <QTimer> #include <QDebug> // THREADWORKEREVENT ------------------------------------------------- ThreadWorkerEvent::ThreadWorkerEvent() : QEvent(QWORKERPROXY_EVENT_TYPE) { // nothing to do here } // THREADWORKER ----------------------------------------------------- ThreadWorker...
32.632813
123
0.652382
[ "object" ]
b8c2d01d0ce127fe8d469030267b0c558db63543
9,161
cpp
C++
src/x86.cpp
raa-eruanna/ProjectPanther
7d703c162b4ede25faa3e99cacacb4fc79fb77da
[ "RSA-MD" ]
2
2018-01-18T21:30:20.000Z
2018-01-19T02:24:46.000Z
src/x86.cpp
raa-eruanna/ProjectPanther
7d703c162b4ede25faa3e99cacacb4fc79fb77da
[ "RSA-MD" ]
null
null
null
src/x86.cpp
raa-eruanna/ProjectPanther
7d703c162b4ede25faa3e99cacacb4fc79fb77da
[ "RSA-MD" ]
null
null
null
/* ** ** **--------------------------------------------------------------------------- ** Copyright 2005-2016 Randy Heit ** Copyright 2005-2016 Christoph Oelckers ** All rights reserved. ** ** Redistribution and use in source and binary forms, with or without ** modification, are permitted provided that the following c...
27.264881
95
0.634756
[ "model" ]
fef7204a08b8b87dc9400229b3475dc69ab302e1
26,948
cxx
C++
PWG/Tools/AliMCSpectraWeights.cxx
eciesla/AliPhysics
a9a6dc33c8793ea999348c57cebbce445797e8e4
[ "BSD-3-Clause" ]
null
null
null
PWG/Tools/AliMCSpectraWeights.cxx
eciesla/AliPhysics
a9a6dc33c8793ea999348c57cebbce445797e8e4
[ "BSD-3-Clause" ]
null
null
null
PWG/Tools/AliMCSpectraWeights.cxx
eciesla/AliPhysics
a9a6dc33c8793ea999348c57cebbce445797e8e4
[ "BSD-3-Clause" ]
null
null
null
/*! \file AliMCSpectraWeights.cxx \brief Class for re-weighting particle abundances in MC simulations \author Patrick Huhn \date 25/10/2019 */ #include "AliMCSpectraWeights.h" #include "AliMCEvent.h" #include "AliStack.h" #include "TFile.h" #include "TParticle.h" #include "TParticlePDG.h" ClassImp(AliMCSpe...
42.437795
186
0.698197
[ "object" ]
feffb03947d24113ab7283e13ece44757876bf9b
31,474
cc
C++
storage/integration_test/src/integration_test.cc
ehsannas/firebase-cpp-sdk
d002a9db141d9bd590d9c96e8fbe999cdc7ec1f2
[ "Apache-2.0" ]
null
null
null
storage/integration_test/src/integration_test.cc
ehsannas/firebase-cpp-sdk
d002a9db141d9bd590d9c96e8fbe999cdc7ec1f2
[ "Apache-2.0" ]
null
null
null
storage/integration_test/src/integration_test.cc
ehsannas/firebase-cpp-sdk
d002a9db141d9bd590d9c96e8fbe999cdc7ec1f2
[ "Apache-2.0" ]
null
null
null
// Copyright 2019 Google Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
35.16648
80
0.706583
[ "vector" ]
3a025fa2a4ea83426e6860d3ceff9b2d200c1b71
4,318
cpp
C++
src/GameObject.cpp
filipecaixeta/NeonEdgeGame
7dbc825507d731d60a96b4a82975a70e6aa68d7e
[ "MIT" ]
6
2017-05-10T19:25:23.000Z
2021-04-08T23:55:17.000Z
src/GameObject.cpp
filipecaixeta/NeonEdgeGame
7dbc825507d731d60a96b4a82975a70e6aa68d7e
[ "MIT" ]
1
2017-11-10T12:17:26.000Z
2017-11-10T12:17:26.000Z
src/GameObject.cpp
filipecaixeta/NeonEdgeGame
7dbc825507d731d60a96b4a82975a70e6aa68d7e
[ "MIT" ]
5
2017-05-30T01:07:46.000Z
2021-04-08T23:55:19.000Z
/** * Copyright 2017 Neon Edge Game. * File Name: GameObject.cpp * Header File Name: GameObject.h * Class Name: GameObject * Objective: it manages game object. */ #include "GameObject.h" #include "Character.h" #include "Game.h" GameObject::~GameObject() { } /** * Objective: it compares given string with name....
23.467391
125
0.574572
[ "render", "object", "solid" ]
3a084d51d697026ce576b1deaf6a5c5ad7d5cb63
1,194
cpp
C++
abbrev.cpp
celest1us/abbreviation
0075f537c35ce78acdab9897b1fca6a0eab10bf6
[ "Apache-2.0" ]
null
null
null
abbrev.cpp
celest1us/abbreviation
0075f537c35ce78acdab9897b1fca6a0eab10bf6
[ "Apache-2.0" ]
null
null
null
abbrev.cpp
celest1us/abbreviation
0075f537c35ce78acdab9897b1fca6a0eab10bf6
[ "Apache-2.0" ]
null
null
null
#include <vector> #include <ctype.h> #include "abbrev.hpp" using namespace std; bool isStringLower(const string s) { for (int i = 0; i < (int)s.length(); ++i) if (!islower(s[i])) return false; return true; } int abbreviationAux(const string &a, const string &b, int ia, int ib, vector<vector<int>...
29.121951
132
0.544389
[ "vector" ]
3a086c6d1f83d1921a43ca4fa21c5fa359f10d60
41,734
cpp
C++
src/mrp/priority-request-server/PriorityRequestServer.cpp
fredsongyu/mmitss-az
62fb59a9e5a19f62a1096971f3cc0ecc04599106
[ "Apache-2.0" ]
10
2018-12-05T14:48:59.000Z
2022-02-17T02:10:51.000Z
src/mrp/priority-request-server/PriorityRequestServer.cpp
fredsongyu/mmitss-az
62fb59a9e5a19f62a1096971f3cc0ecc04599106
[ "Apache-2.0" ]
null
null
null
src/mrp/priority-request-server/PriorityRequestServer.cpp
fredsongyu/mmitss-az
62fb59a9e5a19f62a1096971f3cc0ecc04599106
[ "Apache-2.0" ]
8
2018-11-16T06:38:25.000Z
2022-03-09T18:22:59.000Z
/* ********************************************************************************** © 2019 Arizona Board of Regents on behalf of the University of Arizona with rights granted for USDOT OSADP distribution with the Apache 2.0 open source license. *****************************************************************...
36.102076
269
0.753558
[ "vector" ]
3a0abdd1a0b7d4483856d93cb49acf4b4d30fbe5
1,514
cpp
C++
leetcode/two_sum.cpp
jcpince/algorithms
c43dd8e98a0f0df691ead5f25c2c17a9241db908
[ "MIT" ]
null
null
null
leetcode/two_sum.cpp
jcpince/algorithms
c43dd8e98a0f0df691ead5f25c2c17a9241db908
[ "MIT" ]
null
null
null
leetcode/two_sum.cpp
jcpince/algorithms
c43dd8e98a0f0df691ead5f25c2c17a9241db908
[ "MIT" ]
null
null
null
/* 1. Two Sum Easy Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have exactly one solution, and you may not use the same element twice. Example: Given nums = [2, 7, 11, 15], target = 9, Because nums[0] + nums[1] = 2 + ...
24.031746
107
0.544254
[ "vector" ]
3a0c47cc87498cfbbd8bb369ef7b2893355941dc
177,634
cpp
C++
src/common/DataObjectRepository.cpp
Fabien-Bosquet/fesapi
73cec4d1665dba7a11864d90cb16f0205204946e
[ "Apache-2.0" ]
null
null
null
src/common/DataObjectRepository.cpp
Fabien-Bosquet/fesapi
73cec4d1665dba7a11864d90cb16f0205204946e
[ "Apache-2.0" ]
null
null
null
src/common/DataObjectRepository.cpp
Fabien-Bosquet/fesapi
73cec4d1665dba7a11864d90cb16f0205204946e
[ "Apache-2.0" ]
null
null
null
/*----------------------------------------------------------------------- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under ...
47.394344
265
0.807182
[ "geometry", "object", "vector", "model" ]
3a0c9a7f67823fc9444e6bfd2f84a9d87a639185
462
hpp
C++
include/wge/core/instance.hpp
clman94/Wolf-Gang-Engine
52fa71d6be1fb940a0998f29b4e0ce631e624b25
[ "MIT" ]
5
2016-09-18T01:39:19.000Z
2020-05-24T02:37:45.000Z
include/wge/core/instance.hpp
clman94/Wolf-Gang-Engine
52fa71d6be1fb940a0998f29b4e0ce631e624b25
[ "MIT" ]
25
2017-02-11T21:13:24.000Z
2020-06-24T08:48:33.000Z
include/wge/core/instance.hpp
clman94/Wolf-Gang-Engine
52fa71d6be1fb940a0998f29b4e0ce631e624b25
[ "MIT" ]
2
2017-04-29T22:12:16.000Z
2018-04-05T10:35:25.000Z
#pragma once #include <wge/core/asset.hpp> #include <wge/core/object.hpp> #include <wge/core/asset_manager.hpp> #include <wge/math/transform.hpp> namespace wge::core { struct instantiation_options { std::string name; math::transform transform; asset_id instantiable_asset_id; asset_id creation_script_id; }; voi...
19.25
61
0.779221
[ "object", "transform" ]
3a0f67791c700e14deb0c3c3b84e50c36f44d95d
528
cpp
C++
TestingModules/multipleAssertionInTest.cpp
eduardorasgado/CppUnitTestingWinter2018
361ec756ef0c7d709b9aacf1448ae037cfe763d6
[ "MIT" ]
null
null
null
TestingModules/multipleAssertionInTest.cpp
eduardorasgado/CppUnitTestingWinter2018
361ec756ef0c7d709b9aacf1448ae037cfe763d6
[ "MIT" ]
null
null
null
TestingModules/multipleAssertionInTest.cpp
eduardorasgado/CppUnitTestingWinter2018
361ec756ef0c7d709b9aacf1448ae037cfe763d6
[ "MIT" ]
null
null
null
// // Created by cheetos on 15/12/18. // #include "../dependencies/catch.h" /* * MULTIPLE ASSERTIONS IN ONE TEST * * Recomendations: * -Split to multiple Tests * -Use CHECK * Override operator == * Compare Collections // comparing using std collections * * */ TEST_CASE("<Check> 3 types of data in the cu...
18.206897
71
0.598485
[ "vector" ]
3a106bac9d67829e5391047b4420a10a9d9dacc0
15,659
cc
C++
Alignment/CocoaModel/src/Entry.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
Alignment/CocoaModel/src/Entry.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
Alignment/CocoaModel/src/Entry.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
// COCOA class implementation file //Id: Entry.cc //CAT: Model // // History: v1.0 // Pedro Arce #include "Alignment/CocoaModel/interface/Entry.h" #include "Alignment/CocoaModel/interface/Model.h" #include "Alignment/CocoaModel/interface/OpticalObject.h" #include "Alignment/CocoaUtilities/interface/AL...
46.465875
204
0.548375
[ "vector", "model" ]
3a1260975aaf7865eb8e7421664c2858b0a64b34
631
cpp
C++
codes/leetcode/RemoveDuplicatesfromSortedArrayll.cpp
smmehrab/problem-solving
4aeab1673f18d3270ee5fc9b64ed6805eacf4af5
[ "MIT" ]
null
null
null
codes/leetcode/RemoveDuplicatesfromSortedArrayll.cpp
smmehrab/problem-solving
4aeab1673f18d3270ee5fc9b64ed6805eacf4af5
[ "MIT" ]
null
null
null
codes/leetcode/RemoveDuplicatesfromSortedArrayll.cpp
smmehrab/problem-solving
4aeab1673f18d3270ee5fc9b64ed6805eacf4af5
[ "MIT" ]
null
null
null
/* ************************************************ username : smmehrab fullname : s.m.mehrabul islam email : mehrab.24csedu.001@gmail.com institute : university of dhaka, bangladesh session : 2017-2018 ************************************************ */ class Solution { public: int remo...
30.047619
64
0.465927
[ "vector" ]
3a1e31c14276f3c8aef6b5c1409f19aa4c7122cc
4,075
hh
C++
src/callow/matrix/MatrixDense.hh
baklanovp/libdetran
820efab9d03ae425ccefb9520bdb6c086fdbf939
[ "MIT" ]
4
2015-03-07T16:20:23.000Z
2020-02-10T13:40:16.000Z
src/callow/matrix/MatrixDense.hh
baklanovp/libdetran
820efab9d03ae425ccefb9520bdb6c086fdbf939
[ "MIT" ]
3
2018-02-27T21:24:22.000Z
2020-12-16T00:56:44.000Z
src/callow/matrix/MatrixDense.hh
baklanovp/libdetran
820efab9d03ae425ccefb9520bdb6c086fdbf939
[ "MIT" ]
9
2015-03-07T16:20:26.000Z
2022-01-29T00:14:23.000Z
//----------------------------------*-C++-*-----------------------------------// /** * @file MatrixDense.hh * @brief MatrixDense class definition * @note Copyright (C) 2013 Jeremy Roberts */ //----------------------------------------------------------------------------// #ifndef callow_MATRIXDENSE_HH_ #define...
29.744526
80
0.471166
[ "vector" ]
3a24cec0599aa64fc1ea12f32a860cc2b1f5f7de
656
cpp
C++
leetcode/maximum-sum-obtained-of-any-permutation/solution.cpp
rtxu/cp
16b8d6337e202f19ce75db644d4c54f4ef7baa32
[ "MIT" ]
null
null
null
leetcode/maximum-sum-obtained-of-any-permutation/solution.cpp
rtxu/cp
16b8d6337e202f19ce75db644d4c54f4ef7baa32
[ "MIT" ]
null
null
null
leetcode/maximum-sum-obtained-of-any-permutation/solution.cpp
rtxu/cp
16b8d6337e202f19ce75db644d4c54f4ef7baa32
[ "MIT" ]
null
null
null
class Solution { constexpr static int MOD = 1e9+7; public: int maxSumRangeQuery(vector<int>& nums, vector<vector<int>>& requests) { int n = nums.size(); vector<int> count(n); for (auto r : requests) { count[r[0]]++; if (r[1]+1 < n) count[r[1]+1]--; } ...
27.333333
76
0.429878
[ "vector" ]
3a27dd63aedeed5d3f6056e43eb7ca4dc97599a8
23,088
cc
C++
components/sync/driver/glue/sync_engine_impl.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
components/sync/driver/glue/sync_engine_impl.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
components/sync/driver/glue/sync_engine_impl.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 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 "components/sync/driver/glue/sync_engine_impl.h" #include <utility> #include "base/base64.h" #include "base/bind.h" #include "base/callback_for...
36.359055
80
0.751473
[ "vector" ]
3a28f1b5ce5ea9550a6d9ed72df24ec3b9310c11
6,589
cpp
C++
src/cpp/Sampler.cpp
SiyuanQi/human-centric-scene-synthesis
6f2215d07052426f0f4a27b8ca71844ea5d347c4
[ "MIT" ]
77
2018-02-25T00:59:18.000Z
2022-03-27T15:55:21.000Z
src/cpp/Sampler.cpp
Pandinosaurus/human-centric-scene-synthesis
6f2215d07052426f0f4a27b8ca71844ea5d347c4
[ "MIT" ]
4
2018-03-05T12:54:27.000Z
2018-09-10T14:56:59.000Z
src/cpp/Sampler.cpp
Pandinosaurus/human-centric-scene-synthesis
6f2215d07052426f0f4a27b8ca71844ea5d347c4
[ "MIT" ]
15
2018-02-23T21:19:39.000Z
2022-01-01T12:21:32.000Z
// // Created by siyuan on 6/20/17. // #include "Sampler.h" namespace FurnitureArranger{ int Sampler::_iterationMax = 5000; Sampler::Sampler() { } Sampler::Sampler(Learner learner, std::string suncgRoot, std::string metadataPath, std::string workspacePath): _suncgRoot(suncgRoot), _metadataPath(met...
48.448529
197
0.563363
[ "vector" ]
3a2c7a15ec1f6e2ba6011de9e7a43ca28d7aa2d6
7,188
inl
C++
Libraries/include/glm/ext/scalar_integer.inl
Chokearth/OpenGL_training
2baf712222da121722342cbac78c74ff9a685a0e
[ "MIT" ]
null
null
null
Libraries/include/glm/ext/scalar_integer.inl
Chokearth/OpenGL_training
2baf712222da121722342cbac78c74ff9a685a0e
[ "MIT" ]
null
null
null
Libraries/include/glm/ext/scalar_integer.inl
Chokearth/OpenGL_training
2baf712222da121722342cbac78c74ff9a685a0e
[ "MIT" ]
null
null
null
#include "glm/integer.hpp" namespace glm{ namespace detail { template<length_t L, typename T, qualifier Q, bool compute = false> struct compute_ceilShift { GLM_FUNC_QUALIFIER static vec<L, T, Q> call(vec<L, T, Q> const& v, T) { return v; } }; template<length_t L, typename T, qualifier Q> ...
29.459016
152
0.669588
[ "vector" ]
3a3222c7d0eb050f41e3327f0f66c771953a5972
17,578
hpp
C++
bra/include/bra/gates.hpp
naoki-yoshioka/bracket
6eff40e6ee5768744974e9d79bf6ff892bd67390
[ "MIT" ]
2
2021-02-26T21:50:37.000Z
2022-01-26T07:35:14.000Z
bra/include/bra/gates.hpp
naoki-yoshioka/braket
d4fbf1b19691e71dbc6fa62d8a66c7c61b6c4d68
[ "MIT" ]
50
2018-06-05T12:23:57.000Z
2022-03-05T15:04:30.000Z
bra/include/bra/gates.hpp
naoki-yoshioka/bracket
6eff40e6ee5768744974e9d79bf6ff892bd67390
[ "MIT" ]
null
null
null
#ifndef BRA_GATES_HPP # define BRA_GATES_HPP # include <cassert> # include <iosfwd> # include <vector> # include <string> # include <tuple> # include <algorithm> # include <iterator> # include <utility> # include <memory> # include <stdexcept> # include <initializer_list> # if __cplusplus >= 201703L # include <type_...
42.977995
164
0.715838
[ "vector" ]
3a3261345c4af1ad873264e9b48ffdb00b6ded02
2,949
cpp
C++
examples/scenes/dialogscene.cpp
bdamer/dukat
e138893b1c7e28ef50c19f256bae98a79d22f9c5
[ "MIT" ]
4
2019-05-20T18:30:36.000Z
2021-10-01T15:54:59.000Z
examples/scenes/dialogscene.cpp
bdamer/dukat
e138893b1c7e28ef50c19f256bae98a79d22f9c5
[ "MIT" ]
19
2017-02-20T23:54:34.000Z
2021-09-30T05:43:49.000Z
examples/scenes/dialogscene.cpp
bdamer/dukat
e138893b1c7e28ef50c19f256bae98a79d22f9c5
[ "MIT" ]
2
2020-06-05T07:18:23.000Z
2021-10-01T15:55:02.000Z
#include "stdafx.h" #include "dialogscene.h" namespace dukat { DialogScene::DialogScene(Game3* game3) : game(game3) { overlay_meshes.stage = RenderStage::Overlay; overlay_meshes.visible = true; auto title_text = game->create_text_mesh(); title_text->set_size(1.0f / 10.0f); title_text->transform.positio...
30.71875
128
0.700576
[ "mesh", "render", "vector", "transform" ]
3a39e2c003051a3927cd1e26993ea4042abec54f
3,144
cc
C++
saphIR/src/ir/canon/bb.cc
balayette/saphIR-project
18da494ac21e5433fdf1c646be02c9bf25177d7d
[ "MIT" ]
14
2020-07-31T09:35:23.000Z
2021-11-15T11:18:35.000Z
saphIR/src/ir/canon/bb.cc
balayette/saphIR-project
18da494ac21e5433fdf1c646be02c9bf25177d7d
[ "MIT" ]
null
null
null
saphIR/src/ir/canon/bb.cc
balayette/saphIR-project
18da494ac21e5433fdf1c646be02c9bf25177d7d
[ "MIT" ]
null
null
null
#include "ir/canon/bb.hh" #include "ir/visitors/ir-pretty-printer.hh" #include "utils/assert.hh" #include "mach/target.hh" namespace ir { bb::bb(tree::rnodevec::iterator begin, tree::rnodevec::iterator end) : instrs_(tree::rnodevec(begin, end)) { } std::vector<utils::label> bb::successors() { if (auto cjump = in...
26.644068
70
0.639313
[ "vector" ]
3a3d397c7bf130b622de7931a85bf5cf955363dc
2,911
cpp
C++
MeshLib/MeshEditing/RasterDataToMesh.cpp
ChaofanChen/ogs
0f30c514ac6d905302a453cb9928016c996d78e6
[ "BSD-4-Clause" ]
null
null
null
MeshLib/MeshEditing/RasterDataToMesh.cpp
ChaofanChen/ogs
0f30c514ac6d905302a453cb9928016c996d78e6
[ "BSD-4-Clause" ]
null
null
null
MeshLib/MeshEditing/RasterDataToMesh.cpp
ChaofanChen/ogs
0f30c514ac6d905302a453cb9928016c996d78e6
[ "BSD-4-Clause" ]
1
2021-02-15T00:07:22.000Z
2021-02-15T00:07:22.000Z
/** * \file * \copyright * Copyright (c) 2012-2020, OpenGeoSys Community (http://www.opengeosys.org) * Distributed under a Modified BSD License. * See accompanying file LICENSE.txt or * http://www.opengeosys.org/project/license * */ #include "RasterDataToMesh.h" #include "...
28.539216
97
0.632429
[ "mesh", "vector", "transform" ]
3a4a77d82ed53cb982b4d585c37a67173467e406
6,506
cpp
C++
src/solvers/mp/rcspp/PrincipalGraph.cpp
wssuite/NurseScheduler
e5059e06b97154d5993a67aa3a0aa2c65ff45d0a
[ "MIT" ]
14
2020-05-04T01:24:36.000Z
2022-03-20T15:04:52.000Z
src/solvers/mp/rcspp/PrincipalGraph.cpp
legraina/StaticNurseScheduler
e5059e06b97154d5993a67aa3a0aa2c65ff45d0a
[ "MIT" ]
19
2020-04-28T18:55:00.000Z
2020-05-15T08:59:00.000Z
src/solvers/mp/rcspp/PrincipalGraph.cpp
legraina/NurseScheduler
e5059e06b97154d5993a67aa3a0aa2c65ff45d0a
[ "MIT" ]
6
2018-09-28T01:51:31.000Z
2020-04-19T04:53:03.000Z
// // Created by antoine legrain on 2020-04-11. // #include "PrincipalGraph.h" #include "SubProblem.h" using std::string; using std::vector; PrincipalGraph::PrincipalGraph(int shift_type, SubProblem* sp): pSP_(sp), shift_type_(shift_type), max_cons_(-1) { if(sp) { max_cons_ = sp->maxCons(shift_type); in...
33.885417
114
0.655088
[ "vector" ]
3a4d933db1f7e7cafb086e4c0b91b9d62b435c1b
5,933
cc
C++
source/neuropod/bindings/c/c_api.cc
Moti-H/neuropod
6f3e5862230cecf8b0d0b463eb145f187a398e64
[ "Apache-2.0" ]
null
null
null
source/neuropod/bindings/c/c_api.cc
Moti-H/neuropod
6f3e5862230cecf8b0d0b463eb145f187a398e64
[ "Apache-2.0" ]
null
null
null
source/neuropod/bindings/c/c_api.cc
Moti-H/neuropod
6f3e5862230cecf8b0d0b463eb145f187a398e64
[ "Apache-2.0" ]
null
null
null
/* Copyright (c) 2020 The Neuropod Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing,...
37.08125
120
0.681443
[ "object", "vector", "model" ]
3a4ed06664be48cf0f754cbc58dcf322259e4ee0
2,211
hpp
C++
include/tmm/json_serilisation.hpp
readex-eu/readex-rrl
ac8722c44f84d65668e2a60e4237ebf51b298c9b
[ "BSD-3-Clause" ]
1
2019-10-09T09:15:47.000Z
2019-10-09T09:15:47.000Z
include/tmm/json_serilisation.hpp
readex-eu/readex-rrl
ac8722c44f84d65668e2a60e4237ebf51b298c9b
[ "BSD-3-Clause" ]
null
null
null
include/tmm/json_serilisation.hpp
readex-eu/readex-rrl
ac8722c44f84d65668e2a60e4237ebf51b298c9b
[ "BSD-3-Clause" ]
1
2018-07-13T11:31:05.000Z
2018-07-13T11:31:05.000Z
/** Json serilisation * https://github.com/nlohmann/json#basic-usage */ #ifndef INCLUDE_TMM_JSON_SERILISATION_HPP_ #define INCLUDE_TMM_JSON_SERILISATION_HPP_ #include <json.hpp> #include <tmm/identifiers.hpp> #include <tmm/simple_callpath.hpp> #include <tmm/tuning_model_manager.hpp> namespace rrl { namespace tmm ...
26.638554
96
0.661692
[ "vector" ]
3a4ed212dfe0c6aee23f0444620b34f71688284f
13,519
hh
C++
gazebo/util/LogRecord.hh
horikawahorikawa/gazebo-PR
bdb99bec78b8adb95f8855057aae7c028f9e78c2
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
gazebo/util/LogRecord.hh
horikawahorikawa/gazebo-PR
bdb99bec78b8adb95f8855057aae7c028f9e78c2
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
gazebo/util/LogRecord.hh
horikawahorikawa/gazebo-PR
bdb99bec78b8adb95f8855057aae7c028f9e78c2
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2012-2015 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...
35.023316
80
0.642503
[ "object", "model" ]
3a4fddaa6fec71e91f42cde286014deb7ccb2ba4
19,755
cpp
C++
packages/monte_carlo/collision/photon/test/tstAdjointPhotoatomCore.cpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
10
2019-11-14T19:58:30.000Z
2021-04-04T17:44:09.000Z
packages/monte_carlo/collision/photon/test/tstAdjointPhotoatomCore.cpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
43
2020-03-03T19:59:20.000Z
2021-09-08T03:36:08.000Z
packages/monte_carlo/collision/photon/test/tstAdjointPhotoatomCore.cpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
6
2020-02-12T17:37:07.000Z
2020-09-08T18:59:51.000Z
//---------------------------------------------------------------------------// //! //! \file tstAdjointPhotoatomCore.cpp //! \author Alex Robinson //! \brief Adjoint photoatom core unit tests //! //---------------------------------------------------------------------------// // Std Lib Includes #include <iostream>...
43.513216
120
0.650468
[ "vector" ]
3a50ae652a4c8c2a5ca9d5961bc4cc1a8a3e8941
2,552
cpp
C++
Core/CLI/src/cli_alias.cpp
emamanto/Soar
72d2bc095068dd87ac78dad4f48938f6edc0353a
[ "BSD-2-Clause" ]
2
2019-11-21T14:40:00.000Z
2020-10-25T15:44:53.000Z
Core/CLI/src/cli_alias.cpp
emamanto/Soar
72d2bc095068dd87ac78dad4f48938f6edc0353a
[ "BSD-2-Clause" ]
null
null
null
Core/CLI/src/cli_alias.cpp
emamanto/Soar
72d2bc095068dd87ac78dad4f48938f6edc0353a
[ "BSD-2-Clause" ]
2
2019-12-23T05:06:28.000Z
2020-01-16T12:57:55.000Z
#include "portability.h" #include "cli_CommandLineInterface.h" #include "cli_Aliases.h" #include "sml_AgentSML.h" #include "sml_Names.h" #include "sml_Utils.h" #include "agent.h" #include "output_manager.h" using namespace cli; using namespace sml; bool CommandLineInterface::DoAlias(std::vector< std::string >* ar...
30.023529
124
0.487461
[ "vector" ]
3a52fb587a4220eae61fe552e6cbbba63581abb3
111,481
cpp
C++
SDK/ARKSurvivalEvolved_Tropeognathus_Character_BP_functions.cpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_Tropeognathus_Character_BP_functions.cpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_Tropeognathus_Character_BP_functions.cpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
3
2020-07-22T17:42:07.000Z
2021-06-19T17:16:13.000Z
// ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_Tropeognathus_Character_BP_parameters.hpp" namespace sdk { //--------------------------------------------------------------------------- //Functions //-------------------------------------------------------...
32.875553
364
0.77066
[ "mesh" ]
3a55fd871ebbdf2de7b8364d579006db13d997a4
4,129
cpp
C++
DinoLasers/SPOctree.cpp
QRayarch/DinoLasers
500f4144fad2a813cd140d6067b41a41f4573e8c
[ "MIT" ]
null
null
null
DinoLasers/SPOctree.cpp
QRayarch/DinoLasers
500f4144fad2a813cd140d6067b41a41f4573e8c
[ "MIT" ]
null
null
null
DinoLasers/SPOctree.cpp
QRayarch/DinoLasers
500f4144fad2a813cd140d6067b41a41f4573e8c
[ "MIT" ]
null
null
null
#include "SPOctree.h" SPOctree::SPOctree() { //size = 0.0f; //center = vector3(0.0f); root = new Octant(center, size); maxBOPerOctant = 4; } SPOctree::~SPOctree() { } std::vector<std::vector<ContactManifold>> SPOctree::CalculateColisions(std::vector<BoundingObject*> bos) { std::vector<std::vector<ContactManif...
26.63871
160
0.571083
[ "vector" ]
3a5c86a9f1a11f5a51082d0f25e2ef43771a674d
24,299
cpp
C++
Code/Framework/AzCore/Tests/Math/Matrix3x3Tests.cpp
aaarsene/o3de
37e3b0226958974defd14dd6d808e8557dcd7345
[ "Apache-2.0", "MIT" ]
1
2021-09-13T00:01:12.000Z
2021-09-13T00:01:12.000Z
Code/Framework/AzCore/Tests/Math/Matrix3x3Tests.cpp
aaarsene/o3de
37e3b0226958974defd14dd6d808e8557dcd7345
[ "Apache-2.0", "MIT" ]
null
null
null
Code/Framework/AzCore/Tests/Math/Matrix3x3Tests.cpp
aaarsene/o3de
37e3b0226958974defd14dd6d808e8557dcd7345
[ "Apache-2.0", "MIT" ]
1
2021-07-20T11:07:25.000Z
2021-07-20T11:07:25.000Z
/* * Copyright (c) Contributors to the Open 3D Engine Project. For complete copyright and license terms please see the LICENSE at the root of this distribution. * * SPDX-License-Identifier: Apache-2.0 OR MIT * */ #include <AzCore/Math/Matrix3x3.h> #include <AzCore/Math/Transform.h> #include <AzCore/Math/Quaterni...
44.099819
158
0.611342
[ "transform", "3d" ]
3a5d88b73688e5a23b18c07801831cdda69077d1
10,899
cpp
C++
src/common/transformations/src/transformations/common_optimizations/binarize_weights.cpp
pfinashx/openvino
1d417e888b508415510fb0a92e4a9264cf8bdef7
[ "Apache-2.0" ]
1
2022-02-26T17:33:44.000Z
2022-02-26T17:33:44.000Z
src/common/transformations/src/transformations/common_optimizations/binarize_weights.cpp
pfinashx/openvino
1d417e888b508415510fb0a92e4a9264cf8bdef7
[ "Apache-2.0" ]
18
2022-01-21T08:42:58.000Z
2022-03-28T13:21:31.000Z
src/common/transformations/src/transformations/common_optimizations/binarize_weights.cpp
AlexRogalskiy/openvino
ac2e639ff8f9a607c3c682a4c4e165c238eb817f
[ "Apache-2.0" ]
1
2020-12-13T22:16:54.000Z
2020-12-13T22:16:54.000Z
// Copyright (C) 2018-2022 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "transformations/common_optimizations/binarize_weights.hpp" #include "itt.hpp" #include <memory> #include <vector> #include <ngraph/opsets/opset5.hpp> #include <ngraph/pattern/op/wrap_type.hpp> #include <ngraph/rt_info.hp...
57.666667
150
0.666391
[ "shape", "vector" ]
3a5e1fbe5d58ae7a73d9b4cd4167b39143f1c428
2,355
cpp
C++
DS_a_Algo_in_CPP/ch2/maxSubSum3.cpp
frostRed/Exercises
c259baecbb24eb1ff22d92073ec6ce4cea822af6
[ "MIT" ]
null
null
null
DS_a_Algo_in_CPP/ch2/maxSubSum3.cpp
frostRed/Exercises
c259baecbb24eb1ff22d92073ec6ce4cea822af6
[ "MIT" ]
null
null
null
DS_a_Algo_in_CPP/ch2/maxSubSum3.cpp
frostRed/Exercises
c259baecbb24eb1ff22d92073ec6ce4cea822af6
[ "MIT" ]
null
null
null
// // Created by paysonl on 16-10-18. // #include <cassert> #include <vector> using std::vector; #include <iostream> using std::cout; using std::endl; #include <fstream> using std::ofstream; #include <random> using std::default_random_engine; using std::uniform_int_distribution; #include <chrono> using std::chron...
24.53125
98
0.604246
[ "vector" ]
3a6050d9d42c6bd3ea699b5e2997a71344dfb509
2,797
cpp
C++
codeforces/F - TorCoder/Wrong answer on test 8.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
1
2022-02-11T16:55:36.000Z
2022-02-11T16:55:36.000Z
codeforces/F - TorCoder/Wrong answer on test 8.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
codeforces/F - TorCoder/Wrong answer on test 8.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
/**************************************************************************************** * @author: kzvd4729 created: Nov/11/2020 22:21 * solution_verdict: Wrong answer on test 8 language: GNU C++14 * run...
25.898148
111
0.496246
[ "vector" ]
3a6699bcee27b642a24cdbeb765b21c392946208
627
cpp
C++
knapsack_cpp/knapsack/problem.cpp
fpert041/KnapsackDFO
ffcba3e6dc78297d161846ca8544251edc90cfab
[ "JasPer-2.0" ]
1
2020-05-17T16:59:18.000Z
2020-05-17T16:59:18.000Z
knapsack_cpp/knapsack/problem.cpp
fpert041/KnapsackDFO
ffcba3e6dc78297d161846ca8544251edc90cfab
[ "JasPer-2.0" ]
null
null
null
knapsack_cpp/knapsack/problem.cpp
fpert041/KnapsackDFO
ffcba3e6dc78297d161846ca8544251edc90cfab
[ "JasPer-2.0" ]
null
null
null
// // problem.cpp // knapsack // // Created by Francesco Perticarari on 03/12/2017. // Copyright © 2017 agapeSoft. All rights reserved. // #include "problem.hpp" #include <math.h> #include <vector> #include <array> #include <numeric> using namespace std; double mean(vector<double>& v){ double sum = std::acc...
20.225806
68
0.599681
[ "vector" ]
3a681ca36698d45d8d5aa586de5d5751e94f2017
5,521
cpp
C++
src/game/shared/dod/weapon_riflegrenade.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
6
2022-01-23T09:40:33.000Z
2022-03-20T20:53:25.000Z
src/game/shared/dod/weapon_riflegrenade.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
null
null
null
src/game/shared/dod/weapon_riflegrenade.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
1
2022-02-06T21:05:23.000Z
2022-02-06T21:05:23.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // //=============================================================================// #include "cbase.h" #include "fx_dod_shared.h" #include "weapon_riflegrenade.h" #ifdef CLIENT_DLL #include "prediction.h" #endif IMPLEMEN...
23.695279
159
0.714726
[ "vector" ]
3a699cd5d9b17d09fffd5a161b71ab8772adea6e
2,757
cxx
C++
windows/core/ntgdi/gre/helpers.cxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
windows/core/ntgdi/gre/helpers.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
windows/core/ntgdi/gre/helpers.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/******************************Module*Header*******************************\ * Module Name: HELPERS.CXX * * * * Hydra routines * * For Displ...
28.42268
94
0.357635
[ "object" ]
3a6c4ade9fc977ca29b7567377af4a7c8ee01387
9,599
cpp
C++
request/DhcpMessage.cpp
d-kozak/isa-proj
73c525914a985d631d593985d8f1bb4291f072f3
[ "MIT" ]
null
null
null
request/DhcpMessage.cpp
d-kozak/isa-proj
73c525914a985d631d593985d8f1bb4291f072f3
[ "MIT" ]
null
null
null
request/DhcpMessage.cpp
d-kozak/isa-proj
73c525914a985d631d593985d8f1bb4291f072f3
[ "MIT" ]
null
null
null
// // Created by david on 8.10.16. // #include "DhcpMessage.h" #include "../constants.h" #include <arpa/inet.h> #include <fstream> #include <iterator> /** * extracts given data type from the vector of chars, starting at index index */ #define getDataTypeFromCharVec(dataType, charVec, index) (*((dataType *) (&charV...
32.429054
144
0.577977
[ "vector" ]
b9232929039ad2cb94045b20a213873c5add95e5
6,161
cpp
C++
cslibs_plugins_data/test/plugins.cpp
doge-of-the-day/cslibs_plugins
9740883e5f93c5a74ea4a889067b25fb3f5cb6f0
[ "BSD-3-Clause" ]
null
null
null
cslibs_plugins_data/test/plugins.cpp
doge-of-the-day/cslibs_plugins
9740883e5f93c5a74ea4a889067b25fb3f5cb6f0
[ "BSD-3-Clause" ]
null
null
null
cslibs_plugins_data/test/plugins.cpp
doge-of-the-day/cslibs_plugins
9740883e5f93c5a74ea4a889067b25fb3f5cb6f0
[ "BSD-3-Clause" ]
null
null
null
#include <gtest/gtest.h> #include <ros/ros.h> #include <cslibs_math_ros/tf/tf_listener.hpp> #include <cslibs_plugins/plugin_loader.hpp> #include <cslibs_plugins/plugin_loader_v2.hpp> #include <cslibs_plugins_data/data_provider.hpp> using data_provider_t = cslibs_plugins_data::DataProvider; using tf_listener_t = cslib...
42.784722
104
0.720338
[ "vector" ]
b925013e4b50504077cc921a5d6531d13bf0531b
7,338
cpp
C++
tests/particle_system/ParticleSystem.cpp
kan-xyz/Arc
da2272dabd6997ab4cc632fcebb68db4c40cc6ea
[ "Zlib" ]
4
2021-10-10T16:03:54.000Z
2022-02-09T02:09:45.000Z
tests/particle_system/ParticleSystem.cpp
kan-xyz/Arc
da2272dabd6997ab4cc632fcebb68db4c40cc6ea
[ "Zlib" ]
null
null
null
tests/particle_system/ParticleSystem.cpp
kan-xyz/Arc
da2272dabd6997ab4cc632fcebb68db4c40cc6ea
[ "Zlib" ]
null
null
null
#include "ParticleSystem.h" #include <Arc/QuadUtils.hpp> #include <SFML/Window/Event.hpp> #include <SFML/Graphics/RenderWindow.hpp> #include <SFML/System/Clock.hpp> #include <SFML/System/Vector2.hpp> #include <SFML/System/Time.hpp> #include <vector> #include <random> namespace Demo { // this defines ...
39.240642
129
0.52085
[ "vector" ]
b92a09d4af469c1c2eda4be9ef2c41e47cc322a9
47,025
cpp
C++
src/engines/ioda/src/ioda/Engines/HH/HH-variables.cpp
NOAA-EMC/ioda
366ce1aa4572dde7f3f15862a2970f3dd3c82369
[ "Apache-2.0" ]
null
null
null
src/engines/ioda/src/ioda/Engines/HH/HH-variables.cpp
NOAA-EMC/ioda
366ce1aa4572dde7f3f15862a2970f3dd3c82369
[ "Apache-2.0" ]
null
null
null
src/engines/ioda/src/ioda/Engines/HH/HH-variables.cpp
NOAA-EMC/ioda
366ce1aa4572dde7f3f15862a2970f3dd3c82369
[ "Apache-2.0" ]
null
null
null
/* * (C) Copyright 2017-2020 Ryan Honeyager (ryan@honeyager.info) * (C) Copyright 2020-2021 UCAR * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. */ /*! \addtogroup ioda_internals_engines_hh * * @{ * \file HH-...
43.98971
102
0.667581
[ "object", "vector" ]
b92e66366811f64de6414a28b344786b2866d7aa
3,241
cpp
C++
test/test_xemd_xutils.cpp
rjsberry/xemd
b5373e18f601fa7d6b5cde76fe767c77115d6451
[ "BSD-2-Clause" ]
4
2018-06-25T07:43:48.000Z
2022-01-29T03:30:43.000Z
test/test_xemd_xutils.cpp
rjsberry/xemd
b5373e18f601fa7d6b5cde76fe767c77115d6451
[ "BSD-2-Clause" ]
null
null
null
test/test_xemd_xutils.cpp
rjsberry/xemd
b5373e18f601fa7d6b5cde76fe767c77115d6451
[ "BSD-2-Clause" ]
null
null
null
// xemd: https://github.com/rjsberry/xemd // // Copyright (C) 2018, Richard Berry <rjsberry@protonmail.com> // // Distributed under the terms of BSD 2-Clause "simplified" license. (See // accompanying file LICENSE, or copy at // https://github.com/rjsberry/xemd/blob/master/LICENSE) // #include "gtest/gtest.h" #include...
26.785124
82
0.567417
[ "vector" ]
b93062bfe5669f7186a179de1b2548df12cfd1ea
2,061
cpp
C++
81_rotten_oranges.cpp
swapmali/Must-Do-Coding-Questions-For-Companies-GFG
b68340c150f572c0fad7311af87f79b684060fb9
[ "MIT" ]
1
2021-02-07T19:50:36.000Z
2021-02-07T19:50:36.000Z
81_rotten_oranges.cpp
swapmali/Must-Do-Coding-Questions-For-Companies-GFG
b68340c150f572c0fad7311af87f79b684060fb9
[ "MIT" ]
null
null
null
81_rotten_oranges.cpp
swapmali/Must-Do-Coding-Questions-For-Companies-GFG
b68340c150f572c0fad7311af87f79b684060fb9
[ "MIT" ]
1
2021-05-06T15:30:47.000Z
2021-05-06T15:30:47.000Z
// https://practice.geeksforgeeks.org/problems/rotten-oranges/0 #include <bits/stdc++.h> using namespace std; // to replace 3's with 2's void normalize(vector< vector<int> > &v) { for (int i = 0; i < v.size(); ++i) { for (int j = 0; j < v[i].size(); ++j) { if (v[i][j] == 3) v[i][j] = 2; } } } int main...
19.817308
146
0.518195
[ "vector" ]
b930f14983a237ff04f7efa59b1eb154532d324a
3,511
cpp
C++
src/solvers/Exploration.cpp
sandysa/A-MultiObjective-Approach-to-Mitigate-Negative-Side-Effects
9d124078848dde7d03266982494f59cc27c007e0
[ "MIT" ]
null
null
null
src/solvers/Exploration.cpp
sandysa/A-MultiObjective-Approach-to-Mitigate-Negative-Side-Effects
9d124078848dde7d03266982494f59cc27c007e0
[ "MIT" ]
null
null
null
src/solvers/Exploration.cpp
sandysa/A-MultiObjective-Approach-to-Mitigate-Negative-Side-Effects
9d124078848dde7d03266982494f59cc27c007e0
[ "MIT" ]
null
null
null
#include <list> #include <climits> #include <cmath> #include <vector> #include <stdlib.h> #include <algorithm> #include <initializer_list> #include <iostream> #include <fstream> #include <sstream> #include <string> #include "../../include/solvers/Exploration.h" #include "../../include/MObjProblem.h" #include "../../in...
33.759615
156
0.559385
[ "vector" ]
b93513c29e2606c6adebb3135d8f3a1292cf38a3
4,276
cpp
C++
src/qt/marketmodel.cpp
canndrew/hivemind
147973cfe76867410578d91d6f0a8df105cab4e0
[ "MIT" ]
125
2015-10-03T02:25:01.000Z
2022-02-14T04:44:25.000Z
src/qt/marketmodel.cpp
canndrew/hivemind
147973cfe76867410578d91d6f0a8df105cab4e0
[ "MIT" ]
68
2015-11-17T04:26:48.000Z
2018-04-19T07:30:01.000Z
src/qt/marketmodel.cpp
canndrew/hivemind
147973cfe76867410578d91d6f0a8df105cab4e0
[ "MIT" ]
19
2015-10-22T22:25:25.000Z
2021-01-30T19:12:32.000Z
#include "marketmodel.h" #include <QHBoxLayout> #include <QList> #include <QWidget> #include <sstream> #include "marketgraphwidget.h" #include "txdb.h" #include "wallet.h" #include "walletmodel.h" extern CMarketTreeDB *pmarkettree; // Private implementation class MarketModelPriv { public: MarketModelPriv(CWalle...
22.744681
98
0.587933
[ "vector", "model" ]
b935c8a8d4722c7c9b5d1eaafb5d6682460733b4
1,883
cpp
C++
C-Plus-Plus/cp/Exactly_Four_Factors.cpp
Khushboo85277/NeoAlgo
784d7b06c385336425ed951918d1ab37b854d29f
[ "MIT" ]
897
2020-06-25T00:12:52.000Z
2022-03-24T00:49:31.000Z
C-Plus-Plus/cp/Exactly_Four_Factors.cpp
adarshnjena/NeoAlgo
77a92858d2bf970054ef31c2f55a6d79917a786a
[ "MIT" ]
5,707
2020-06-24T17:53:28.000Z
2022-01-22T05:03:15.000Z
C-Plus-Plus/cp/Exactly_Four_Factors.cpp
adarshnjena/NeoAlgo
77a92858d2bf970054ef31c2f55a6d79917a786a
[ "MIT" ]
1,817
2020-06-25T03:51:05.000Z
2022-03-29T05:14:07.000Z
/* A number has exactly 4 factors if below given any condition is satisfied 1.If the number is a cube of a prime number. 2.If the number is a product of two distinct prime numbers. */ #include <bits/stdc++.h> using namespace std; // maxi gives the range of numbers int maxi = 1000; //arr contain the 1 value for the ...
22.686747
95
0.603824
[ "vector" ]
b940bc613b7f9524ea9430c72fad62d11d9fc9c8
15,683
hpp
C++
tests/basic_operations_tests.hpp
devinmacalaladdt/Matrix
c0ea8eae74fe420c25488f7fe6b9ac3d34b6e1cf
[ "MIT" ]
null
null
null
tests/basic_operations_tests.hpp
devinmacalaladdt/Matrix
c0ea8eae74fe420c25488f7fe6b9ac3d34b6e1cf
[ "MIT" ]
null
null
null
tests/basic_operations_tests.hpp
devinmacalaladdt/Matrix
c0ea8eae74fe420c25488f7fe6b9ac3d34b6e1cf
[ "MIT" ]
null
null
null
#include "gtest/gtest.h" #include <Matrix.hpp> #include <cmath> namespace { class MatrixBasicOpTest : public ::testing::Test { protected: Matrix mat; MatrixBasicOpTest() { mat = matrix.genfromtxt("./tests/test_dataset.csv", ','); mat.to_double(); } }; TEST_F(MatrixBasicOpTest, AddingTw...
28.462795
83
0.565772
[ "vector" ]
b94e5df527d7df717972340db8b06bd0466bf494
40,154
cpp
C++
deps/spidermonkey/jslock.cpp
havocp/hwf
a99e9a0461983226717b278513cfd9f1e53ba0f1
[ "MIT" ]
1
2015-04-19T10:49:48.000Z
2015-04-19T10:49:48.000Z
deps/spidermonkey/jslock.cpp
havocp/hwf
a99e9a0461983226717b278513cfd9f1e53ba0f1
[ "MIT" ]
null
null
null
deps/spidermonkey/jslock.cpp
havocp/hwf
a99e9a0461983226717b278513cfd9f1e53ba0f1
[ "MIT" ]
null
null
null
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- * * ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the Lic...
28.377385
106
0.624819
[ "object", "model" ]
b9517e1cc863c1da5a02f798e1cb67e7b400b09c
6,271
cc
C++
paddle/fluid/operators/abs_op.cc
RangeKing/Paddle
2d87300809ae75d76f5b0b457d8112cb88dc3e27
[ "Apache-2.0" ]
8
2016-08-15T07:02:27.000Z
2016-08-24T09:34:00.000Z
paddle/fluid/operators/abs_op.cc
RangeKing/Paddle
2d87300809ae75d76f5b0b457d8112cb88dc3e27
[ "Apache-2.0" ]
1
2022-01-28T07:23:22.000Z
2022-01-28T07:23:22.000Z
paddle/fluid/operators/abs_op.cc
RangeKing/Paddle
2d87300809ae75d76f5b0b457d8112cb88dc3e27
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required...
34.26776
75
0.681869
[ "vector" ]
b9583a001b45c371f3c626aae2626c3648f64945
16,835
cc
C++
test/test01.cc
efocht/vetfkernel
afd71347d6533cc71ff853c2252b3e546aa22de6
[ "BSD-2-Clause" ]
1
2019-12-12T09:44:17.000Z
2019-12-12T09:44:17.000Z
test/test01.cc
efocht/vetfkernel
afd71347d6533cc71ff853c2252b3e546aa22de6
[ "BSD-2-Clause" ]
null
null
null
test/test01.cc
efocht/vetfkernel
afd71347d6533cc71ff853c2252b3e546aa22de6
[ "BSD-2-Clause" ]
null
null
null
#include <string> #include <vector> #include <sstream> #include <cstdio> #include <cstdint> #include <cstdlib> // copy from src/binary_ops.cc struct _Tensor { int dtype; uint64_t addr; int32_t dims; int64_t nelems; int64_t dim_size[8]; std::string to_s() const { std::stringstream s; ...
25.74159
100
0.538462
[ "shape", "vector" ]
b95b8651b5c567aad85e24c1294b7cc76a0f7f6e
3,499
cpp
C++
CodeForces/Solutions/296E.cpp
Shefin-CSE16/Competitive-Programming
7c792081ae1d4b7060893165de34ffe7b9b7caed
[ "MIT" ]
5
2020-10-03T17:15:26.000Z
2022-03-29T21:39:22.000Z
CodeForces/Solutions/295C.cpp
Shefin-CSE16/Competitive-Programming
7c792081ae1d4b7060893165de34ffe7b9b7caed
[ "MIT" ]
null
null
null
CodeForces/Solutions/295C.cpp
Shefin-CSE16/Competitive-Programming
7c792081ae1d4b7060893165de34ffe7b9b7caed
[ "MIT" ]
1
2021-03-01T12:56:50.000Z
2021-03-01T12:56:50.000Z
// #pragma GCC optimize("Ofast,unroll-loops") // #pragma GCC target("avx,avx2,fma") #include <bits/stdc++.h> using namespace std; #define ll long long #define ull unsigned long long #define dd double #define ld long double #define sl(n) scanf("%lld", &n) #define si(n) scanf("%d", &n) #define sd(n) scanf("%lf", &n) #d...
25.355072
82
0.468134
[ "vector" ]
b95cec47297aad04e6f95b731b28d7163a756129
2,658
hh
C++
include/WCSimLikelihoodDigit.hh
chipsneutrino/chips-reco
0d9e7e8a1dd749a2b0b0d64eabf0b32d895f19ba
[ "MIT" ]
null
null
null
include/WCSimLikelihoodDigit.hh
chipsneutrino/chips-reco
0d9e7e8a1dd749a2b0b0d64eabf0b32d895f19ba
[ "MIT" ]
null
null
null
include/WCSimLikelihoodDigit.hh
chipsneutrino/chips-reco
0d9e7e8a1dd749a2b0b0d64eabf0b32d895f19ba
[ "MIT" ]
null
null
null
/** * \class * This class holds hit information for a single PMT * such as its position, orientation, recorded charge * and hit time. WCSimAnalysis interfaces with hits * from WCSim using this class. */ #pragma once #include <vector> #include "WCSimDetectorParameters.hh" #include "WCSimRootEvent.hh" #include "...
28.891304
156
0.722724
[ "object", "vector" ]
b95d986e6e71b9d431ff4f6c0b26a3dcf60b0c55
4,953
cc
C++
src/tools/android/forwarder2/host_controller.cc
jxjnjjn/chromium
435c1d02fd1b99001dc9e1e831632c894523580d
[ "Apache-2.0" ]
9
2018-09-21T05:36:12.000Z
2021-11-15T15:14:36.000Z
src/tools/android/forwarder2/host_controller.cc
jxjnjjn/chromium
435c1d02fd1b99001dc9e1e831632c894523580d
[ "Apache-2.0" ]
null
null
null
src/tools/android/forwarder2/host_controller.cc
jxjnjjn/chromium
435c1d02fd1b99001dc9e1e831632c894523580d
[ "Apache-2.0" ]
3
2018-11-28T14:54:13.000Z
2020-07-02T07:36:07.000Z
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "tools/android/forwarder2/host_controller.h" #include <string> #include "base/logging.h" #include "base/memory/scoped_ptr.h" #include "tool...
37.80916
80
0.675752
[ "object" ]
b9624c2a3a80f46ad12356da8bf28627457913f1
3,695
cpp
C++
samples/_opengl/CubeMapping/src/CubeMappingApp.cpp
nselikoff/Cinder
54590aabdc3d74b0b078d43590dfad89e50e9c94
[ "BSD-2-Clause" ]
3,494
2015-01-02T08:42:09.000Z
2022-03-31T14:16:23.000Z
samples/_opengl/CubeMapping/src/CubeMappingApp.cpp
nselikoff/Cinder
54590aabdc3d74b0b078d43590dfad89e50e9c94
[ "BSD-2-Clause" ]
1,284
2015-01-02T07:31:47.000Z
2022-03-30T02:06:43.000Z
samples/_opengl/CubeMapping/src/CubeMappingApp.cpp
nselikoff/Cinder
54590aabdc3d74b0b078d43590dfad89e50e9c94
[ "BSD-2-Clause" ]
780
2015-01-02T22:14:29.000Z
2022-03-30T00:16:56.000Z
#include "cinder/app/App.h" #include "cinder/app/RendererGl.h" #include "cinder/FileWatcher.h" #include "cinder/ImageIo.h" #include "cinder/Log.h" #include "cinder/gl/gl.h" using namespace ci; using namespace ci::app; using namespace std; class CubeMappingApp : public App { public: void setup(); void resize(); ...
29.325397
152
0.679838
[ "object", "vector" ]
b963881617f7243a5b5b7ef695af3f86416a0add
21,836
cpp
C++
test-suite/batesmodel.cpp
sfondi/QuantLib
8a2449d2fb470a7d47a55d3e99c5dace749709c9
[ "BSD-3-Clause" ]
1
2017-07-19T11:17:48.000Z
2017-07-19T11:17:48.000Z
test-suite/batesmodel.cpp
sfondi/QuantLib
8a2449d2fb470a7d47a55d3e99c5dace749709c9
[ "BSD-3-Clause" ]
null
null
null
test-suite/batesmodel.cpp
sfondi/QuantLib
8a2449d2fb470a7d47a55d3e99c5dace749709c9
[ "BSD-3-Clause" ]
null
null
null
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Copyright (C) 2005, 2008 Klaus Spanderen Copyright (C) 2007 StatPro Italia srl This file is part of QuantLib, a free-software/open-source library for financial quantitative analysts and developers - http://quantlib.org/ QuantLib ...
39.701818
84
0.593882
[ "vector", "model", "transform" ]
b96a6ef5f02c540ce552d42c3befa2f341a7f870
21,299
cpp
C++
src/Core/TransactionBuilder.cpp
mygirl8893/evo
c90f69ad6132c426042749ff3fe4174d22aa63b2
[ "MIT" ]
1
2019-05-20T01:00:40.000Z
2019-05-20T01:00:40.000Z
src/Core/TransactionBuilder.cpp
mygirl8893/evo
c90f69ad6132c426042749ff3fe4174d22aa63b2
[ "MIT" ]
4
2018-05-07T07:15:53.000Z
2018-06-01T19:35:46.000Z
src/Core/TransactionBuilder.cpp
mygirl8893/evo
c90f69ad6132c426042749ff3fe4174d22aa63b2
[ "MIT" ]
10
2018-05-09T10:45:07.000Z
2020-01-11T17:21:28.000Z
#include "TransactionBuilder.hpp" #include <iostream> #include "BlockChain.hpp" #include "CryptoNoteTools.hpp" #include "Currency.hpp" #include "Wallet.hpp" #include "common/string.hpp" #include "crypto/crypto.hpp" #include "crypto/random.h" #include "http/JsonRpc.h" #include "seria/BinaryOutputStream.hpp" ...
41.117761
120
0.681534
[ "vector" ]
b974a99cee7206f6aec538d22d0233c08da84e27
8,280
cpp
C++
adaptors/generator/skeleton/advert/###suite###_###type###_advert.cpp
saga-project/saga-cpp
7376c0de0529e7d7b80cf08b94ec484c2e56d38e
[ "BSL-1.0" ]
5
2015-09-15T16:24:14.000Z
2021-08-12T11:05:55.000Z
adaptors/generator/skeleton/advert/###suite###_###type###_advert.cpp
saga-project/saga-cpp
7376c0de0529e7d7b80cf08b94ec484c2e56d38e
[ "BSL-1.0" ]
null
null
null
adaptors/generator/skeleton/advert/###suite###_###type###_advert.cpp
saga-project/saga-cpp
7376c0de0529e7d7b80cf08b94ec484c2e56d38e
[ "BSL-1.0" ]
3
2016-11-17T04:38:38.000Z
2021-04-10T17:23:52.000Z
// Copyright (c) 2005-2007 Hartmut Kaiser // Copyright (c) 2005-2007 Andre Merzky (andre@merzky.net) // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE or copy at // http://www.boost.org/LICENSE_1_0.txt) // saga includes #include <saga/saga.hpp> // adaptor...
36.8
90
0.450845
[ "object", "vector" ]
b9787ba0a397dd1635bbac73dd768759d1d4a84d
26,988
cpp
C++
tools/Vitis-AI-Runtime/VART/vart/dpu-runner/src/dpu_runner_base_imp.cpp
hito0512/Vitis-AI
996459fb96cb077ed2f7e789d515893b1cccbc95
[ "Apache-2.0" ]
1
2022-02-17T22:13:23.000Z
2022-02-17T22:13:23.000Z
tools/Vitis-AI-Runtime/VART/vart/dpu-runner/src/dpu_runner_base_imp.cpp
hito0512/Vitis-AI
996459fb96cb077ed2f7e789d515893b1cccbc95
[ "Apache-2.0" ]
null
null
null
tools/Vitis-AI-Runtime/VART/vart/dpu-runner/src/dpu_runner_base_imp.cpp
hito0512/Vitis-AI
996459fb96cb077ed2f7e789d515893b1cccbc95
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2019 Xilinx Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
38.17256
80
0.598414
[ "shape", "vector", "transform" ]
b9792c2a38b458f6a85ddeac974deff9ef9db653
2,733
cc
C++
services/ui/ws/window_finder.cc
google-ar/chromium
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
777
2017-08-29T15:15:32.000Z
2022-03-21T05:29:41.000Z
services/ui/ws/window_finder.cc
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
66
2017-08-30T18:31:18.000Z
2021-08-02T10:59:35.000Z
services/ui/ws/window_finder.cc
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
123
2017-08-30T01:19:34.000Z
2022-03-17T22:55:31.000Z
// 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 "services/ui/ws/window_finder.h" #include "base/containers/adapters.h" #include "services/ui/ws/server_window.h" #include "services/ui/ws/server...
36.932432
79
0.690816
[ "geometry", "transform" ]
b97b07b55f8b6374681af23cf977277aacfd4fb0
973
cpp
C++
examples/paths/raytest.cpp
gruni55/goat
754aca5c2f18436682d944958ab85a42b5230f22
[ "BSD-3-Clause" ]
1
2022-03-30T18:52:09.000Z
2022-03-30T18:52:09.000Z
examples/paths/raytest.cpp
gruni55/goat
754aca5c2f18436682d944958ab85a42b5230f22
[ "BSD-3-Clause" ]
null
null
null
examples/paths/raytest.cpp
gruni55/goat
754aca5c2f18436682d944958ab85a42b5230f22
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> #include "ellipsoid.h" #include "lightsrc.h" #include "raytrace.h" #include "vector.h" #include <fstream> #include "surface.h" #include "octree.h" #include "detector.h" int main() { Scene S; // define object const int numberObjects = 1; Ellipsoid obj(Vector<do...
24.325
104
0.5889
[ "object", "vector" ]
b97c2cf24b4cdb89c24d344ab577e9df0d1ed2c2
6,074
cpp
C++
src/steerableDetector_mex.cpp
francois-a/steerable
a740cbf06cb6b0e0ca3b30f0697beb1418de8ff6
[ "MIT" ]
1
2020-06-30T19:08:31.000Z
2020-06-30T19:08:31.000Z
src/steerableDetector_mex.cpp
francois-a/steerable
a740cbf06cb6b0e0ca3b30f0697beb1418de8ff6
[ "MIT" ]
null
null
null
src/steerableDetector_mex.cpp
francois-a/steerable
a740cbf06cb6b0e0ca3b30f0697beb1418de8ff6
[ "MIT" ]
1
2022-02-01T10:41:22.000Z
2022-02-01T10:41:22.000Z
/* steerableDetector: steerable filters for edge and ridge detection References: [1] Jacob and Unser, IEEE Trans. Pattern Anal. Mach. Intell. 26(8), 2004. Copyright (c) 2005-2017 Francois Aguet Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated ...
36.812121
150
0.585117
[ "transform" ]
b98233b59ed79c18ca333395c0935456d4e8b387
7,633
cpp
C++
src/lib/model/CrossoverModel.cpp
gerickson/openhlx
f23a825ca56ee226db393da14d81a7d4e9ae0b33
[ "Apache-2.0" ]
1
2021-05-21T21:10:09.000Z
2021-05-21T21:10:09.000Z
src/lib/model/CrossoverModel.cpp
gerickson/openhlx
f23a825ca56ee226db393da14d81a7d4e9ae0b33
[ "Apache-2.0" ]
12
2021-06-12T16:42:30.000Z
2022-02-01T18:44:42.000Z
src/lib/model/CrossoverModel.cpp
gerickson/openhlx
f23a825ca56ee226db393da14d81a7d4e9ae0b33
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2020-2021 Grant Erickson * 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...
25.787162
84
0.64326
[ "object", "model" ]
b9902363c7667b79e43a2cef698fe53e6784bfcf
15,479
cc
C++
gnuradio-3.7.13.4/gnuradio-runtime/lib/flowgraph.cc
v1259397/cosmic-gnuradio
64c149520ac6a7d44179c3f4a38f38add45dd5dc
[ "BSD-3-Clause" ]
1
2021-03-09T07:32:37.000Z
2021-03-09T07:32:37.000Z
gnuradio-3.7.13.4/gnuradio-runtime/lib/flowgraph.cc
v1259397/cosmic-gnuradio
64c149520ac6a7d44179c3f4a38f38add45dd5dc
[ "BSD-3-Clause" ]
null
null
null
gnuradio-3.7.13.4/gnuradio-runtime/lib/flowgraph.cc
v1259397/cosmic-gnuradio
64c149520ac6a7d44179c3f4a38f38add45dd5dc
[ "BSD-3-Clause" ]
null
null
null
/* -*- c++ -*- */ /* * Copyright 2007,2011,2013 Free Software Foundation, Inc. * * This file is part of GNU Radio * * GNU Radio 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, or (at y...
27.839928
108
0.616125
[ "vector" ]
b9945508710a14596554fad3438c3a39e09cc4ae
8,621
cpp
C++
src/reader_struct.cpp
glynnc/liblcf
301371de7d8e39f30c464ace355252b58beb71ee
[ "MIT" ]
null
null
null
src/reader_struct.cpp
glynnc/liblcf
301371de7d8e39f30c464ace355252b58beb71ee
[ "MIT" ]
null
null
null
src/reader_struct.cpp
glynnc/liblcf
301371de7d8e39f30c464ace355252b58beb71ee
[ "MIT" ]
null
null
null
/* * Copyright (c) 2014 liblcf authors * This file is released under the MIT License * http://opensource.org/licenses/MIT */ #include <cstring> #include <iostream> #include <iomanip> #include "ldb_reader.h" #include "lmt_reader.h" #include "lmu_reader.h" #include "lsd_reader.h" #include "reader_struct.h" #include ...
28.081433
115
0.686927
[ "vector" ]
b9986c9ebc2081d080d6cb3040396999cc4ed847
1,420
cc
C++
chrome/browser/ui/autofill/country_combobox_model_unittest.cc
halton/chromium-crosswalk
bfcca582b723b9535907f0b410b920ef99911b70
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/ui/autofill/country_combobox_model_unittest.cc
halton/chromium-crosswalk
bfcca582b723b9535907f0b410b920ef99911b70
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/ui/autofill/country_combobox_model_unittest.cc
halton/chromium-crosswalk
bfcca582b723b9535907f0b410b920ef99911b70
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ui/autofill/country_combobox_model.h" #include "components/autofill/core/browser/autofill_country.h" #include "components/autofi...
35.5
98
0.778873
[ "vector", "model" ]
b99e07ad265dcc140bee57068a72baacb76a506f
7,334
cc
C++
src/ChcGraph.cc
usi-verification-and-security/golem
4ea1a531a59575a9c0c0254201d90d52547152ff
[ "MIT" ]
6
2021-08-16T09:57:38.000Z
2021-12-02T11:06:23.000Z
src/ChcGraph.cc
usi-verification-and-security/golem
4ea1a531a59575a9c0c0254201d90d52547152ff
[ "MIT" ]
null
null
null
src/ChcGraph.cc
usi-verification-and-security/golem
4ea1a531a59575a9c0c0254201d90d52547152ff
[ "MIT" ]
null
null
null
// // Created by Martin Blicha on 17.07.20. // #include "ChcGraph.h" #include <iostream> std::unique_ptr<ChcDirectedHyperGraph> ChcGraphBuilder::buildGraph(NormalizedChcSystem const & system) { std::vector<Vertex> vertices; std::vector<DirectedHyperEdge> edges; std::size_t id = 0; auto getOrCreateVe...
44.180723
151
0.663758
[ "vector", "transform" ]
b99eb3003dcfa5bab6e1115c1b1f55da6c0b82c0
1,676
cpp
C++
src/homework/04_vectors/main.cpp
acc-cosc-1337-spring-2020/acc-cosc-1337-spring-2020-mmacigewski
dcccbc63856b1ff95cc055c517141ba9677e151b
[ "MIT" ]
null
null
null
src/homework/04_vectors/main.cpp
acc-cosc-1337-spring-2020/acc-cosc-1337-spring-2020-mmacigewski
dcccbc63856b1ff95cc055c517141ba9677e151b
[ "MIT" ]
null
null
null
src/homework/04_vectors/main.cpp
acc-cosc-1337-spring-2020/acc-cosc-1337-spring-2020-mmacigewski
dcccbc63856b1ff95cc055c517141ba9677e151b
[ "MIT" ]
null
null
null
#include "vectors.h" #include <iostream> /* use a vector of int with values 8, 4, 20, 88, 66, 99 Prompt user for 1 for Get Max from vector and 2 for Get primes. Prompt user for a number and return max value or list of primes and display them to screen. Program continues until user decides to exit. */ int main() { ...
23.277778
85
0.618138
[ "vector" ]
b9a04abd65ae611c22a7443eafa361a14999e1dc
28,040
cc
C++
src/imagebox.cc
TypicalFence/ahoviewer
3e83f81dc61322b449f35ddcc48a96e385464a97
[ "MIT" ]
null
null
null
src/imagebox.cc
TypicalFence/ahoviewer
3e83f81dc61322b449f35ddcc48a96e385464a97
[ "MIT" ]
null
null
null
src/imagebox.cc
TypicalFence/ahoviewer
3e83f81dc61322b449f35ddcc48a96e385464a97
[ "MIT" ]
null
null
null
#include "imagebox.h" using namespace AhoViewer; #include "imageboxnote.h" #include "mainwindow.h" #include "settings.h" #include "statusbar.h" #include <iostream> #ifdef HAVE_GSTREAMER #include <gst/audio/streamvolume.h> #include <gst/video/videooverlay.h> #if defined(GDK_WINDOWING_X11) #include <gdk/gdkx.h> #elif ...
29.609293
100
0.601961
[ "vector" ]
b9a7302ac5c41987fb6e0aeba49db5ba06f27fb0
27,788
cc
C++
src/Simulation.cc
OliWenman/geant4tomosim
663961933628eba678534bbe9bf099c6bcf5514b
[ "Apache-2.0" ]
4
2019-05-14T15:24:05.000Z
2022-01-28T19:29:23.000Z
src/Simulation.cc
OliWenman/geant4tomosim
663961933628eba678534bbe9bf099c6bcf5514b
[ "Apache-2.0" ]
1
2019-05-13T09:47:12.000Z
2019-05-13T09:47:12.000Z
src/Simulation.cc
OliWenman/geant4tomosim
663961933628eba678534bbe9bf099c6bcf5514b
[ "Apache-2.0" ]
3
2019-05-13T08:59:55.000Z
2021-09-15T18:16:18.000Z
//Own classes #include "Simulation.hh" #include "SimulationMessenger.hh" #include "SampleConstruction.hh" #include "DetectorConstruction.hh" #include "FluorescenceSD.hh" #include "PhysicsList.hh" #include "PrimaryGeneratorAction.hh" #include "StackingAction.hh" #include "SteppingAction.hh" #include "DefineMaterials.hh"...
37.001332
160
0.579135
[ "geometry", "vector" ]
b9a8f8856db478e17e62f8890bb998f0253c5027
29,364
cpp
C++
tests/test_jacobi.cpp
jewettaij/jacobi
d8df18ee6d10fda957a7da3fe688c290f1a39c51
[ "CC0-1.0" ]
19
2020-03-26T12:52:53.000Z
2022-03-25T09:25:21.000Z
tests/test_jacobi.cpp
jewettaij/jacobi
d8df18ee6d10fda957a7da3fe688c290f1a39c51
[ "CC0-1.0" ]
null
null
null
tests/test_jacobi.cpp
jewettaij/jacobi
d8df18ee6d10fda957a7da3fe688c290f1a39c51
[ "CC0-1.0" ]
8
2020-10-03T14:40:01.000Z
2022-01-03T16:09:43.000Z
// THIS FILE USED TO BE EASY TO READ until I added "#if defined" statements. // (They were added to test for many different kinds of array formats.) #include <iostream> #include <cmath> #include <cassert> #include <iomanip> #include <cstdlib> #include <chrono> #include <random> #include <algorithm> #include <vector> #...
37.358779
96
0.542195
[ "vector" ]
b9a8fb5ce955780fab6f6ac4660daa503752d0bd
4,303
cpp
C++
addons/msalibs/MSAOpenCL/src/MSAOpenCLBuffer.cpp
k4rm/AscoGraph
9038ae785b6f4f144a3ab5c4c5520761c0cd08f2
[ "MIT" ]
18
2015-01-18T22:34:22.000Z
2020-09-06T20:30:30.000Z
addons/msalibs/MSAOpenCL/src/MSAOpenCLBuffer.cpp
k4rm/AscoGraph
9038ae785b6f4f144a3ab5c4c5520761c0cd08f2
[ "MIT" ]
2
2015-08-04T00:07:46.000Z
2017-05-10T15:53:51.000Z
addons/msalibs/MSAOpenCL/src/MSAOpenCLBuffer.cpp
k4rm/AscoGraph
9038ae785b6f4f144a3ab5c4c5520761c0cd08f2
[ "MIT" ]
10
2015-01-18T23:46:10.000Z
2019-08-25T12:10:04.000Z
/*********************************************************************** OpenCL Buffer Memory Object You can either instantiate this class directly. e.g.: OpenCLBuffer myBuffer; myImage.initFromGLObject(myVbo); or create it via Instead use OpenCL::createBufferXXXX. e.g.: OpenCLBuffer *myBuffer = openCL.create...
38.765766
153
0.704625
[ "object" ]
b9afeb5f32eb22dc224d3be793708d06faa8bef4
4,837
cpp
C++
m2.cpp
StetsonMathCS/deadline
4dbf900f26780f2d37256666790065a3a7454876
[ "MIT" ]
null
null
null
m2.cpp
StetsonMathCS/deadline
4dbf900f26780f2d37256666790065a3a7454876
[ "MIT" ]
null
null
null
m2.cpp
StetsonMathCS/deadline
4dbf900f26780f2d37256666790065a3a7454876
[ "MIT" ]
1
2020-04-24T08:12:19.000Z
2020-04-24T08:12:19.000Z
#include <iostream> #include <vector> #include <map> #include <string> #include <algorithm> using namespace std; vector < map<string, string> > myPersonal; vector < map<string, string> > myClass; vector < map<string, string> > myPersonalHidden; vector < map<string, string> > myClassHidden; map<string, string> myMapP...
25.457895
86
0.573703
[ "vector" ]
b9b16fc6bf211b8692b337b4730636dfdbd3b236
1,851
cpp
C++
examples/inverse-kinematics.cpp
thanhndv212/pinocchio
3b4d272bf4e8a231954b71201ee7e0963c944aef
[ "BSD-2-Clause-FreeBSD" ]
716
2015-03-30T16:26:45.000Z
2022-03-30T12:26:58.000Z
examples/inverse-kinematics.cpp
thanhndv212/pinocchio
3b4d272bf4e8a231954b71201ee7e0963c944aef
[ "BSD-2-Clause-FreeBSD" ]
1,130
2015-02-21T17:30:44.000Z
2022-03-30T09:06:22.000Z
examples/inverse-kinematics.cpp
thanhndv212/pinocchio
3b4d272bf4e8a231954b71201ee7e0963c944aef
[ "BSD-2-Clause-FreeBSD" ]
239
2015-02-05T14:15:14.000Z
2022-03-14T23:51:47.000Z
#include "pinocchio/parsers/sample-models.hpp" #include "pinocchio/spatial/explog.hpp" #include "pinocchio/algorithm/kinematics.hpp" #include "pinocchio/algorithm/jacobian.hpp" #include "pinocchio/algorithm/joint-configuration.hpp" int main(int /* argc */, char ** /* argv */) { pinocchio::Model model; pinocchio::b...
29.854839
120
0.633712
[ "model" ]
b9b186941d7f5ab4425caeeb5e92b7a8f747472e
1,881
cpp
C++
src/swagger/v1/model/BlockFile.cpp
gchagnotSpt/openperf
0ae14cb7a685b1b059f707379773fb3bcb421d40
[ "Apache-2.0" ]
20
2019-12-04T01:28:52.000Z
2022-03-17T14:09:34.000Z
src/swagger/v1/model/BlockFile.cpp
gchagnotSpt/openperf
0ae14cb7a685b1b059f707379773fb3bcb421d40
[ "Apache-2.0" ]
115
2020-02-04T21:29:54.000Z
2022-02-17T13:33:51.000Z
src/swagger/v1/model/BlockFile.cpp
gchagnotSpt/openperf
0ae14cb7a685b1b059f707379773fb3bcb421d40
[ "Apache-2.0" ]
16
2019-12-03T16:41:18.000Z
2021-11-06T04:44:11.000Z
/** * OpenPerf API * REST API interface for OpenPerf * * OpenAPI spec version: 1 * Contact: support@spirent.com * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. */ #include "BlockFile.h" namespace swag...
16.5
75
0.660819
[ "object", "model" ]
b9b3e10d1c27837c901fb25feec6d17bdd295054
37,597
cpp
C++
samples/hellovr_vulkan/refactor_hellovr_vulkan.cpp
marijnfs/openvr
0cb1d00d2e034fcfdfea289ecc4dcd033c6de882
[ "BSD-3-Clause" ]
null
null
null
samples/hellovr_vulkan/refactor_hellovr_vulkan.cpp
marijnfs/openvr
0cb1d00d2e034fcfdfea289ecc4dcd033c6de882
[ "BSD-3-Clause" ]
null
null
null
samples/hellovr_vulkan/refactor_hellovr_vulkan.cpp
marijnfs/openvr
0cb1d00d2e034fcfdfea289ecc4dcd033c6de882
[ "BSD-3-Clause" ]
null
null
null
//========= Copyright Valve Corporation ============// #include <string> #include <cstdlib> #include <inttypes.h> #include <openvr.h> #include <deque> #include <iostream> #include <fstream> #include <algorithm> #include "shared/lodepng.h" #include "shared/Matrices.h" #include "shared/pathtools.h" #include "img.h" #i...
30.641402
191
0.623348
[ "render", "vector" ]
b9b445e3dc712eca730009ee04590ff70a7df061
918
cpp
C++
Online Judges/URI/2854/main.cpp
AnneLivia/URI-Online
02ff972be172a62b8abe25030c3676f6c04efd1b
[ "MIT" ]
64
2019-03-17T08:56:28.000Z
2022-01-14T02:31:21.000Z
Online Judges/URI/2854/main.cpp
AnneLivia/URI-Online
02ff972be172a62b8abe25030c3676f6c04efd1b
[ "MIT" ]
1
2020-12-24T07:16:30.000Z
2021-03-23T20:51:05.000Z
Online Judges/URI/2854/main.cpp
AnneLivia/URI-Online
02ff972be172a62b8abe25030c3676f6c04efd1b
[ "MIT" ]
19
2019-05-25T10:48:16.000Z
2022-01-07T10:07:46.000Z
#include <iostream> #include <vector> #include <map> using namespace std; vector<vector<int> >g; vector<int>vi; void dfs(int v) { vi[v] = true; for (int i = 0; i < (int)g[v].size(); i++) { if(!vi[g[v][i]]) dfs(g[v][i]); } } int main() { int n, m, index = 0, cont = 0; string v,...
20.863636
48
0.464052
[ "vector" ]
b9b71c7a3f512cc8628878acfc96617d7da846f2
10,008
cc
C++
syzygy/kasko/minidump_unittest.cc
StanMiller45/syzygy
2320676a260ab3713c6a4b793ebefa2837cb766c
[ "Apache-2.0" ]
1
2019-04-03T13:56:37.000Z
2019-04-03T13:56:37.000Z
syzygy/kasko/minidump_unittest.cc
StanMiller45/syzygy
2320676a260ab3713c6a4b793ebefa2837cb766c
[ "Apache-2.0" ]
null
null
null
syzygy/kasko/minidump_unittest.cc
StanMiller45/syzygy
2320676a260ab3713c6a4b793ebefa2837cb766c
[ "Apache-2.0" ]
1
2020-10-10T16:09:45.000Z
2020-10-10T16:09:45.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...
37.62406
80
0.740208
[ "vector" ]
b9b8e869bc1baf53e6cccfc1c9968d12e5f7cbea
2,581
cpp
C++
src/RamTransformer.cpp
ohamel-softwaresecure/souffle
d4b9fe641f0c51d2a25408af45416a7e5123f866
[ "UPL-1.0" ]
null
null
null
src/RamTransformer.cpp
ohamel-softwaresecure/souffle
d4b9fe641f0c51d2a25408af45416a7e5123f866
[ "UPL-1.0" ]
null
null
null
src/RamTransformer.cpp
ohamel-softwaresecure/souffle
d4b9fe641f0c51d2a25408af45416a7e5123f866
[ "UPL-1.0" ]
null
null
null
/* * Souffle - A Datalog Compiler * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved * Licensed under the Universal Permissive License v 1.0 as shown at: * - https://opensource.org/licenses/UPL * - <souffle root>/licenses/SOUFFLE-UPL.txt */ /**************************************************...
35.356164
100
0.600155
[ "transform" ]
b9bd33bcc2c4c0237e18d2ddf489cb8eaa3e1e0a
1,350
cpp
C++
source/aufgabe2bis4.cpp
LS060598/programmiersprachen-aufgabenblatt-3
5d9af11f347d21b5c826620708601e3b064fcf50
[ "MIT" ]
null
null
null
source/aufgabe2bis4.cpp
LS060598/programmiersprachen-aufgabenblatt-3
5d9af11f347d21b5c826620708601e3b064fcf50
[ "MIT" ]
null
null
null
source/aufgabe2bis4.cpp
LS060598/programmiersprachen-aufgabenblatt-3
5d9af11f347d21b5c826620708601e3b064fcf50
[ "MIT" ]
null
null
null
#include <cstdlib> #include <vector> #include <list> #include <set> #include <map> #include <iostream> #include <iterator> #include <algorithm> #include <string> int main(){ // Aufgabe 3.2 std::list<unsigned int> l1(100); for (auto& l : l1) { l = std::rand() % 101; // Zahlen von 0-100 } std::vector<...
22.881356
92
0.599259
[ "vector" ]
b9bd905d8d4e317a087e99feade77de481c45996
28,908
cpp
C++
src/intermediate/TypeConversions.cpp
Mookel/VC4C
d72978253820e4175fa591206dedda6c586068b3
[ "MIT" ]
null
null
null
src/intermediate/TypeConversions.cpp
Mookel/VC4C
d72978253820e4175fa591206dedda6c586068b3
[ "MIT" ]
null
null
null
src/intermediate/TypeConversions.cpp
Mookel/VC4C
d72978253820e4175fa591206dedda6c586068b3
[ "MIT" ]
null
null
null
/* * Author: doe300 * * See the file "LICENSE" for the full license governing this code. */ #include "TypeConversions.h" #include "Helper.h" #include "VectorHelper.h" #include "operators.h" #include <cmath> using namespace vc4c; using namespace vc4c::intermediate; using namespace vc4c::operators; /* * Inserts...
46.625806
120
0.633077
[ "vector" ]