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
e981f6d6daef6ed1c6bb4ce61f853c51c2df71fa
1,251
cpp
C++
src/game/src/game/scenes/GameScenePolygon.cpp
rad-corps/sdl2-starter
5dc35e9c584627bfdec85d982b5700f9bef2931d
[ "MIT" ]
null
null
null
src/game/src/game/scenes/GameScenePolygon.cpp
rad-corps/sdl2-starter
5dc35e9c584627bfdec85d982b5700f9bef2931d
[ "MIT" ]
null
null
null
src/game/src/game/scenes/GameScenePolygon.cpp
rad-corps/sdl2-starter
5dc35e9c584627bfdec85d982b5700f9bef2931d
[ "MIT" ]
null
null
null
#include "GameScenePolygon.h" #include "GameSceneMain.h" #include "Collision.h" #include "Globals.h" #include "Polygon.h" namespace { } namespace game { struct GameScenePolygon::Pimpl { std::unique_ptr<rcgf::Square> square; Pimpl() : square{std::make_unique<rcgf::Square>(100)} { } }; GameScenePolygon...
18.130435
81
0.669065
[ "render" ]
e986425dcb17b8a9cdb76741fde472aa6870348c
827
cpp
C++
LeetCode/majority element.cpp
hardik0899/Competitive_Programming
199039ad7a26a5f48152fe231a9ca5ac8685a707
[ "MIT" ]
1
2020-10-16T18:14:30.000Z
2020-10-16T18:14:30.000Z
LeetCode/majority element.cpp
hardik0899/Competitive_Programming
199039ad7a26a5f48152fe231a9ca5ac8685a707
[ "MIT" ]
null
null
null
LeetCode/majority element.cpp
hardik0899/Competitive_Programming
199039ad7a26a5f48152fe231a9ca5ac8685a707
[ "MIT" ]
1
2021-01-06T04:45:38.000Z
2021-01-06T04:45:38.000Z
class Solution { public: int majorityElement(vector<int>& nums) { int i,l,k=0,j,max,lmt,p; l=nums.size(); p=l/2+2; int temp[2][p]; for(i=0;i<p;i++) temp[1][i]=0; temp[0][0]=nums[0]; k=1; for(i=0;i<l;i++) { for(j=0;j<k;j+...
20.675
44
0.264813
[ "vector" ]
e98c98a2dc996c742502db892428e07deadb0d71
64,279
cpp
C++
Engine/libs/RuntimeCSharp/RuntimeLibrary/CS_Array.cpp
kennykwok1/PlaygroundOSS
f75916582c3044bd59e83f86db56cf2703413a85
[ "Apache-2.0" ]
1
2018-06-13T15:43:42.000Z
2018-06-13T15:43:42.000Z
Engine/libs/RuntimeCSharp/RuntimeLibrary/CS_Array.cpp
kennykwok1/PlaygroundOSS
f75916582c3044bd59e83f86db56cf2703413a85
[ "Apache-2.0" ]
null
null
null
Engine/libs/RuntimeCSharp/RuntimeLibrary/CS_Array.cpp
kennykwok1/PlaygroundOSS
f75916582c3044bd59e83f86db56cf2703413a85
[ "Apache-2.0" ]
null
null
null
/* Copyright 2013 KLab 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 in wri...
48.077038
160
0.685854
[ "object" ]
e99566ef9d01ed5dfd72fa7caa951df4f8291ced
2,878
hxx
C++
main/chart2/source/inc/ControllerLockGuard.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/chart2/source/inc/ControllerLockGuard.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/chart2/source/inc/ControllerLockGuard.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
31.977778
80
0.701181
[ "model" ]
e99dbaa7e0774122208ec6195b6e6230bb1cad05
3,985
cpp
C++
lib/assembly/complexified_discrete_boundary_operator.cpp
nicolas-chaulet/bempp
0f5cc72e0e542437e787db5704978456b0ad9e35
[ "BSL-1.0" ]
null
null
null
lib/assembly/complexified_discrete_boundary_operator.cpp
nicolas-chaulet/bempp
0f5cc72e0e542437e787db5704978456b0ad9e35
[ "BSL-1.0" ]
null
null
null
lib/assembly/complexified_discrete_boundary_operator.cpp
nicolas-chaulet/bempp
0f5cc72e0e542437e787db5704978456b0ad9e35
[ "BSL-1.0" ]
1
2021-05-17T09:46:44.000Z
2021-05-17T09:46:44.000Z
#include "complexified_discrete_boundary_operator.hpp" #include "discrete_aca_boundary_operator.hpp" #include "../fiber/explicit_instantiation.hpp" #ifdef WITH_TRILINOS #include <Thyra_SpmdVectorSpaceDefaultBase.hpp> #endif namespace Bempp { template <typename RealType> ComplexifiedDiscreteBoundaryOperator<RealType...
30.419847
85
0.718946
[ "vector" ]
e9a778763e9002f0a2217ed344c469b084e80971
2,440
cpp
C++
DirectShowLibV2/Samples/Misc/GSSF/filter/setup.cpp
d3x0r/xperdex
bf6573ebcaad53b1f30150887365c3f41be3991b
[ "MIT" ]
null
null
null
DirectShowLibV2/Samples/Misc/GSSF/filter/setup.cpp
d3x0r/xperdex
bf6573ebcaad53b1f30150887365c3f41be3991b
[ "MIT" ]
null
null
null
DirectShowLibV2/Samples/Misc/GSSF/filter/setup.cpp
d3x0r/xperdex
bf6573ebcaad53b1f30150887365c3f41be3991b
[ "MIT" ]
null
null
null
/**************************************************************************** This sample is released as public domain. It is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *********************...
32.972973
89
0.552049
[ "object" ]
e9b202b9fc2a887906eea563f26ed3b7f810b5b9
5,401
cc
C++
parallel_clustering/clustering/clusterers/parallel-affinity.cc
gunpowder78/google-research
d41bbaca1eb9bfd980ec2b3fd201c3ddb4d1f2e5
[ "Apache-2.0" ]
1
2022-01-19T23:35:59.000Z
2022-01-19T23:35:59.000Z
parallel_clustering/clustering/clusterers/parallel-affinity.cc
gunpowder78/google-research
d41bbaca1eb9bfd980ec2b3fd201c3ddb4d1f2e5
[ "Apache-2.0" ]
null
null
null
parallel_clustering/clustering/clusterers/parallel-affinity.cc
gunpowder78/google-research
d41bbaca1eb9bfd980ec2b3fd201c3ddb4d1f2e5
[ "Apache-2.0" ]
1
2022-03-30T07:20:29.000Z
2022-03-30T07:20:29.000Z
// Copyright 2022 The Google Research 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...
38.304965
80
0.716164
[ "vector" ]
e9b81ae3562f2f7c25205f9936b14d24f7ea6b61
5,487
hpp
C++
RobWorkSim/src/rwsimlibs/swig/ScriptTypes.hpp
ZLW07/RobWork
e713881f809d866b9a0749eeb15f6763e64044b3
[ "Apache-2.0" ]
1
2021-12-29T14:16:27.000Z
2021-12-29T14:16:27.000Z
RobWorkSim/src/rwsimlibs/swig/ScriptTypes.hpp
ZLW07/RobWork
e713881f809d866b9a0749eeb15f6763e64044b3
[ "Apache-2.0" ]
null
null
null
RobWorkSim/src/rwsimlibs/swig/ScriptTypes.hpp
ZLW07/RobWork
e713881f809d866b9a0749eeb15f6763e64044b3
[ "Apache-2.0" ]
null
null
null
/******************************************************************************** * Copyright 2009 The Robotics Group, The Maersk Mc-Kinney Moller Institute, * Faculty of Engineering, University of Southern Denmark * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file exce...
35.62987
92
0.730818
[ "vector" ]
e9baf8d19f623516d7b45970eb792de8120a1903
1,053
hpp
C++
lib/SurfacingAlgorithms/huji-rich-Elad3DFast/source/tessellation/delaunay_logger.hpp
GalaxyHunters/Vivid
f724e5671b650433d0c26319c86231bd3b246e4e
[ "BSD-3-Clause" ]
null
null
null
lib/SurfacingAlgorithms/huji-rich-Elad3DFast/source/tessellation/delaunay_logger.hpp
GalaxyHunters/Vivid
f724e5671b650433d0c26319c86231bd3b246e4e
[ "BSD-3-Clause" ]
222
2018-07-25T18:13:57.000Z
2021-10-10T14:54:04.000Z
lib/SurfacingAlgorithms/huji-rich-Elad3DFast/source/tessellation/delaunay_logger.hpp
GalaxyHunters/Vivid
f724e5671b650433d0c26319c86231bd3b246e4e
[ "BSD-3-Clause" ]
2
2018-07-29T09:39:40.000Z
2018-08-25T19:17:49.000Z
/*! \file delaunay_logger.hpp \brief A debugging function for the Delaunay triangulation \author Almog Yalinewich */ #ifndef DELAUNAY_OUTPUT_HPP #define DELAUNAY_OUTPUT_HPP 1 #include <vector> #include "geometry.hpp" #include "facet.hpp" //! \brief Diagnostic functions for Delaunay triangulation namespace delau...
20.647059
60
0.710351
[ "geometry", "vector" ]
e9cd6f92ca0d02dd6619db26cd42cd7386d94252
3,893
cpp
C++
src/ExtFilterEventListProjection/SpecialImageProvider.cpp
voxie-viewer/voxie
d2b5e6760519782e9ef2e51f5322a3baa0cb1198
[ "MIT" ]
4
2016-06-03T18:41:43.000Z
2020-04-17T20:28:58.000Z
src/ExtFilterEventListProjection/SpecialImageProvider.cpp
voxie-viewer/voxie
d2b5e6760519782e9ef2e51f5322a3baa0cb1198
[ "MIT" ]
null
null
null
src/ExtFilterEventListProjection/SpecialImageProvider.cpp
voxie-viewer/voxie
d2b5e6760519782e9ef2e51f5322a3baa0cb1198
[ "MIT" ]
null
null
null
/* * Copyright (c) 2014-2022 The Voxie Authors * * 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, mer...
31.395161
80
0.707424
[ "object", "vector" ]
839f33523da212e2ff977f50e022734b3f71a0db
3,457
hpp
C++
3rdparty/boost/boost/gil/extension/toolbox/lines.hpp
Greentwip/windy
4eb8174f952c5b600ff004827a5c85dbfb013091
[ "MIT" ]
1
2017-07-13T21:11:55.000Z
2017-07-13T21:11:55.000Z
3rdparty/boost/boost/gil/extension/toolbox/lines.hpp
Greentwip/Windy
4eb8174f952c5b600ff004827a5c85dbfb013091
[ "MIT" ]
null
null
null
3rdparty/boost/boost/gil/extension/toolbox/lines.hpp
Greentwip/Windy
4eb8174f952c5b600ff004827a5c85dbfb013091
[ "MIT" ]
null
null
null
// Copyright Tom Brinkman 2008. 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) #ifndef _lines_hpp_ #define _lines_hpp_ #include <boost/gil/gil_all.hpp> #include <boost/mpl/vector_c.hpp> #include <boost/mpl/for_ea...
25.607407
93
0.654325
[ "vector" ]
83a549b3d063cc689be31f24456a58d3cd8c5df9
1,236
hpp
C++
src/stuff.hpp
simook/gamebro
346817c0321e52eb08922251fccef359a927ea41
[ "MIT" ]
20
2018-11-05T21:59:46.000Z
2022-01-24T10:45:54.000Z
src/stuff.hpp
simook/gamebro
346817c0321e52eb08922251fccef359a927ea41
[ "MIT" ]
null
null
null
src/stuff.hpp
simook/gamebro
346817c0321e52eb08922251fccef359a927ea41
[ "MIT" ]
5
2018-11-10T22:45:36.000Z
2022-01-14T14:44:17.000Z
#pragma once #include <chrono> #include <cstdint> #include <cstdio> #include <stdexcept> #include <string> #include <unistd.h> #include <vector> static inline std::vector<uint8_t> load_file(const std::string& filename) { size_t size = 0; FILE* f = fopen(filename.c_str(), "rb"); if (f == NULL) throw std::ru...
25.22449
87
0.631068
[ "vector" ]
83a7f913afb1441e9137c7fcec8fd81815714905
5,939
cpp
C++
src/local/local.cpp
jeid64/mesos
3a69423b850cdc2f8fc4a334c72a38c8580f44c2
[ "Apache-2.0" ]
null
null
null
src/local/local.cpp
jeid64/mesos
3a69423b850cdc2f8fc4a334c72a38c8580f44c2
[ "Apache-2.0" ]
null
null
null
src/local/local.cpp
jeid64/mesos
3a69423b850cdc2f8fc4a334c72a38c8580f44c2
[ "Apache-2.0" ]
null
null
null
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
27.752336
78
0.685974
[ "vector" ]
83ab953f646b5e3f4937cb0c4b87ec39f18361bb
36,107
cpp
C++
src/nnfusion/engine/profiler/cuda_runtime.cpp
lynex/nnfusion
6332697c71b6614ca6f04c0dac8614636882630d
[ "MIT" ]
1
2021-05-14T08:10:30.000Z
2021-05-14T08:10:30.000Z
src/nnfusion/engine/profiler/cuda_runtime.cpp
lynex/nnfusion
6332697c71b6614ca6f04c0dac8614636882630d
[ "MIT" ]
null
null
null
src/nnfusion/engine/profiler/cuda_runtime.cpp
lynex/nnfusion
6332697c71b6614ca6f04c0dac8614636882630d
[ "MIT" ]
1
2021-06-18T23:04:08.000Z
2021-06-18T23:04:08.000Z
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. /** * \brief Profiler::CudaRuntime for creating a Compiler to profile the kernel * \author wenxh */ #include "cuda_runtime.hpp" #include "nnfusion/core/kernels/cuda_gpu/cuda_emitter.hpp" #include "nnfusion/core/kernels/cuda_gpu/cuda_languni...
34.486151
111
0.519899
[ "vector" ]
83b11a6f8baa6aa1229b6aeac715a867fd320af4
24,731
cpp
C++
src/gfx/Material.cpp
murataka/two
f6f9835de844a38687e11f649ff97c3fb4146bbe
[ "Zlib" ]
578
2019-05-04T09:09:42.000Z
2022-03-27T23:02:21.000Z
src/gfx/Material.cpp
murataka/two
f6f9835de844a38687e11f649ff97c3fb4146bbe
[ "Zlib" ]
14
2019-05-11T14:34:56.000Z
2021-02-02T07:06:46.000Z
src/gfx/Material.cpp
murataka/two
f6f9835de844a38687e11f649ff97c3fb4146bbe
[ "Zlib" ]
42
2019-05-11T16:04:19.000Z
2022-01-24T02:21:43.000Z
// Copyright (c) 2019 Hugo Amiard hugo.amiard@laposte.net // This software is provided 'as-is' under the zlib License, see the LICENSE.txt file. // This notice and the license may not be removed or altered from any source distribution. #ifdef TWO_MODULES module; #include <cstring> #include <cstdio> #include <bgfx/b...
35.738439
165
0.747402
[ "mesh", "render", "vector", "model", "solid" ]
83b41bdb6b87b630c052529f9727e32fc677d582
2,882
cpp
C++
Code/Samples/RtsGamePlugin/Components/TorpedoComponent.cpp
Tekh-ops/ezEngine
d6a5887d8709f267bf8f2943ef15054e29f6d3d5
[ "MIT" ]
703
2015-03-07T15:30:40.000Z
2022-03-30T00:12:40.000Z
Code/Samples/RtsGamePlugin/Components/TorpedoComponent.cpp
Tekh-ops/ezEngine
d6a5887d8709f267bf8f2943ef15054e29f6d3d5
[ "MIT" ]
233
2015-01-11T16:54:32.000Z
2022-03-19T18:00:47.000Z
Code/Samples/RtsGamePlugin/Components/TorpedoComponent.cpp
Tekh-ops/ezEngine
d6a5887d8709f267bf8f2943ef15054e29f6d3d5
[ "MIT" ]
101
2016-10-28T14:05:10.000Z
2022-03-30T19:00:59.000Z
#include <RtsGamePlugin/RtsGamePluginPCH.h> #include <RtsGamePlugin/Components/ComponentMessages.h> #include <RtsGamePlugin/Components/TorpedoComponent.h> #include <RtsGamePlugin/GameState/RtsGameState.h> // clang-format off EZ_BEGIN_COMPONENT_TYPE(RtsTorpedoComponent, 1, ezComponentMode::Dynamic) { EZ_BEGIN_PROPER...
24.016667
132
0.730049
[ "transform" ]
83bbe570a3e6d8989cff9f85c548ba5a9754f306
1,678
cpp
C++
OpenGL_WindDirection/Template_OpenGL/Wind.cpp
lcy2080/OpenGL_Example
7e33a636095edc129333a3fc6853c939e06c8ce6
[ "MIT" ]
null
null
null
OpenGL_WindDirection/Template_OpenGL/Wind.cpp
lcy2080/OpenGL_Example
7e33a636095edc129333a3fc6853c939e06c8ce6
[ "MIT" ]
null
null
null
OpenGL_WindDirection/Template_OpenGL/Wind.cpp
lcy2080/OpenGL_Example
7e33a636095edc129333a3fc6853c939e06c8ce6
[ "MIT" ]
null
null
null
// // Wind.cpp // Template_OpenGL // // Created by 이창영 on 2015. 8. 17.. // Copyright (c) 2015년 이창영. All rights reserved. // #include "Wind.h" #include <math.h> #include <iostream> CWind* CWind::m_pWind = 0; CWind* CWind::GetInstance() { if (!m_pWind) { m_pWind = new CWind; m_pWind->init(...
17.663158
99
0.504768
[ "render" ]
83c0029a6ceffb49fe82a61a0c0a25186aae0794
8,511
cpp
C++
frameworks/bridge/declarative_frontend/jsview/dialog/js_custom_dialog_controller.cpp
openharmony-gitee-mirror/ace_ace_engine
78013960cdce81348d1910e466a3292605442a5e
[ "Apache-2.0" ]
null
null
null
frameworks/bridge/declarative_frontend/jsview/dialog/js_custom_dialog_controller.cpp
openharmony-gitee-mirror/ace_ace_engine
78013960cdce81348d1910e466a3292605442a5e
[ "Apache-2.0" ]
null
null
null
frameworks/bridge/declarative_frontend/jsview/dialog/js_custom_dialog_controller.cpp
openharmony-gitee-mirror/ace_ace_engine
78013960cdce81348d1910e466a3292605442a5e
[ "Apache-2.0" ]
1
2021-09-13T11:17:50.000Z
2021-09-13T11:17:50.000Z
/* * Copyright (c) 2021 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
35.760504
119
0.64728
[ "object", "vector" ]
83c3f9d2a5c26776be5c648ab4240a603af984f2
2,019
hpp
C++
src/Generator/Polar/GPP/Generator_polar_GPP.hpp
aff3ct/polar_decoder_gen
7d02025aa62bbef58b88f8fca65f5ee9ed86727e
[ "MIT" ]
8
2018-03-14T22:17:16.000Z
2021-05-31T23:29:03.000Z
src/Generator/Polar/GPP/Generator_polar_GPP.hpp
aff3ct/polar_decoder_gen
7d02025aa62bbef58b88f8fca65f5ee9ed86727e
[ "MIT" ]
1
2017-09-30T01:02:23.000Z
2018-03-16T09:01:33.000Z
src/Generator/Polar/GPP/Generator_polar_GPP.hpp
aff3ct/polar_decoder_gen
7d02025aa62bbef58b88f8fca65f5ee9ed86727e
[ "MIT" ]
2
2019-09-16T08:30:13.000Z
2019-12-17T02:15:34.000Z
#ifndef GENERATOR_POLAR_GPP #define GENERATOR_POLAR_GPP #include <vector> #include <string> #include <iostream> #include <aff3ct.hpp> #include "../Generator_polar.hpp" namespace aff3ct { namespace generator { class Generator_polar_GPP : public Generator_polar { public: Generator_polar_GPP(const int& K, ...
36.709091
134
0.577018
[ "vector" ]
83c69c663783f2b177730aff755e85d37bd7e4fc
17,302
hpp
C++
torch/lib/THPP/Tensor.hpp
UmaTaru/run
be29e4d41a4de3dee27cd6796801bfe51382d294
[ "MIT" ]
null
null
null
torch/lib/THPP/Tensor.hpp
UmaTaru/run
be29e4d41a4de3dee27cd6796801bfe51382d294
[ "MIT" ]
null
null
null
torch/lib/THPP/Tensor.hpp
UmaTaru/run
be29e4d41a4de3dee27cd6796801bfe51382d294
[ "MIT" ]
null
null
null
#pragma once #include "Generator.hpp" #include "Storage.hpp" #include "Type.hpp" #include <TH/TH.h> #include <cstddef> #include <cstdint> #include <initializer_list> #include <memory> #include <type_traits> #include <unordered_map> #include <vector> namespace thpp { struct THPP_CLASS Tensor { using long_range = s...
56.542484
122
0.675933
[ "vector" ]
83cc1cd1eaa20618f59d8b7b5de01e899374c7bc
29,465
cxx
C++
src/dpo/src/detailed_random.cxx
akennings/OpenROAD
6f2a893b88ee7a28921a1c9a7e02500fc488a05f
[ "BSD-3-Clause" ]
null
null
null
src/dpo/src/detailed_random.cxx
akennings/OpenROAD
6f2a893b88ee7a28921a1c9a7e02500fc488a05f
[ "BSD-3-Clause" ]
1
2022-02-08T22:08:46.000Z
2022-02-08T22:08:46.000Z
src/dpo/src/detailed_random.cxx
akennings/OpenROAD
6f2a893b88ee7a28921a1c9a7e02500fc488a05f
[ "BSD-3-Clause" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////// // BSD 3-Clause License // // Copyright (c) 2021, Andrew Kennings // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met...
35.161098
95
0.535483
[ "vector", "3d" ]
83d32c526267cb4e8e13ba8f46a7dfdd9f519ea4
3,418
cpp
C++
modules/base/dashboard/dashboarditemspacing.cpp
scivis-exhibitions/OpenSpace
5b69cf45f110354ecf3bdbcee8cf9d2c75b07e9e
[ "MIT" ]
489
2015-07-14T22:23:10.000Z
2022-03-30T07:59:47.000Z
modules/base/dashboard/dashboarditemspacing.cpp
scivis-exhibitions/OpenSpace
5b69cf45f110354ecf3bdbcee8cf9d2c75b07e9e
[ "MIT" ]
1,575
2016-07-12T18:10:22.000Z
2022-03-31T20:12:55.000Z
modules/base/dashboard/dashboarditemspacing.cpp
scivis-exhibitions/OpenSpace
5b69cf45f110354ecf3bdbcee8cf9d2c75b07e9e
[ "MIT" ]
101
2016-03-01T02:22:01.000Z
2022-02-25T15:36:27.000Z
/***************************************************************************************** * * * OpenSpace * * ...
48.140845
90
0.527794
[ "render" ]
83d42b146dedf41e8c8af6b5e646a0dd9bf5efdf
12,991
cpp
C++
src/main/cpp/jvm.cpp
nunesgrf/JavaVirtualMachine
4dcc988482d286d52573002d4547dab1c21502ba
[ "MIT" ]
null
null
null
src/main/cpp/jvm.cpp
nunesgrf/JavaVirtualMachine
4dcc988482d286d52573002d4547dab1c21502ba
[ "MIT" ]
null
null
null
src/main/cpp/jvm.cpp
nunesgrf/JavaVirtualMachine
4dcc988482d286d52573002d4547dab1c21502ba
[ "MIT" ]
null
null
null
/** @file jvm.cpp @brief Arquivo inicial em que é selecionado ou a exibição do leitor ou do interpretador dependendo da chamada de argumentos; */ #include <iostream> #include <iomanip> #include <fstream> #include "../hpp/ClassLoader.hpp" #include "../hpp/AttributeInfo.hpp" #include "../hpp/CpInfo.hpp" #include ...
42.454248
238
0.545685
[ "vector" ]
83dbdcc28cf9dfe59149fe3662c108dcf267a32b
80,758
cc
C++
libsrc/pylith/faults/FaultCohesiveLagrange.cc
joegeisz/pylith
f74060b7b19d7e90abf8597bbe9250c96593c0ad
[ "MIT" ]
1
2021-01-20T17:18:28.000Z
2021-01-20T17:18:28.000Z
libsrc/pylith/faults/FaultCohesiveLagrange.cc
joegeisz/pylith
f74060b7b19d7e90abf8597bbe9250c96593c0ad
[ "MIT" ]
null
null
null
libsrc/pylith/faults/FaultCohesiveLagrange.cc
joegeisz/pylith
f74060b7b19d7e90abf8597bbe9250c96593c0ad
[ "MIT" ]
null
null
null
// -*- C++ -*- // // ---------------------------------------------------------------------- // // Brad T. Aagaard, U.S. Geological Survey // Charles A. Williams, GNS Science // Matthew G. Knepley, University of Chicago // // This code was developed as part of the Computational Infrastructure // for Geodynamics (http://...
39.900198
175
0.630699
[ "mesh", "geometry", "object", "shape", "vector", "transform" ]
83de17c4599b5a00f7ff1f174d0f12dfdfcf8ff4
6,010
cpp
C++
src/board.cpp
manishtanwar/AI-YinshBot
0bbb1e6515094465fab553a4047bf8d3e22df607
[ "MIT" ]
null
null
null
src/board.cpp
manishtanwar/AI-YinshBot
0bbb1e6515094465fab553a4047bf8d3e22df607
[ "MIT" ]
null
null
null
src/board.cpp
manishtanwar/AI-YinshBot
0bbb1e6515094465fab553a4047bf8d3e22df607
[ "MIT" ]
null
null
null
#include "board.h" int board::n; int board::m; int board::k; int board::l; map<pii,pii> board::forwardConversionTable; map<pii,pii> board::backwardConversionTable; // helper vector for converting coordinates vector<pii> dir = {{1,0}, {0,-1}, {-1,-1}, {-1,0}, {0,1}, {1,1}}; void board :: init(){ pii p,ans; p = mp...
27.072072
119
0.592679
[ "vector" ]
83df7f356dca15f7e57c469644b244ab937eab5e
9,186
cpp
C++
Relast_Engine/Relast/scene_manager/Entities.cpp
aclopezdev/relast_engine
6698e1c00c95e390c3a78ea2f2518dd52a11fcd5
[ "MIT" ]
null
null
null
Relast_Engine/Relast/scene_manager/Entities.cpp
aclopezdev/relast_engine
6698e1c00c95e390c3a78ea2f2518dd52a11fcd5
[ "MIT" ]
null
null
null
Relast_Engine/Relast/scene_manager/Entities.cpp
aclopezdev/relast_engine
6698e1c00c95e390c3a78ea2f2518dd52a11fcd5
[ "MIT" ]
null
null
null
#include"../Relast_Engine.h" //************************************************************************************************************ //************************************************************************************************************ //*****************************************************************...
40.826667
121
0.429458
[ "render", "vector", "transform" ]
83e5fa4e726b6fa4206e8ec68472e94a9855a222
3,140
cpp
C++
qtdeclarative/tests/benchmarks/qml/qqmlcomponent/tst_qqmlcomponent.cpp
wgnet/wds_qt
8db722fd367d2d0744decf99ac7bafaba8b8a3d3
[ "Apache-2.0" ]
1
2020-04-30T15:47:35.000Z
2020-04-30T15:47:35.000Z
qtdeclarative/tests/benchmarks/qml/qqmlcomponent/tst_qqmlcomponent.cpp
wgnet/wds_qt
8db722fd367d2d0744decf99ac7bafaba8b8a3d3
[ "Apache-2.0" ]
null
null
null
qtdeclarative/tests/benchmarks/qml/qqmlcomponent/tst_qqmlcomponent.cpp
wgnet/wds_qt
8db722fd367d2d0744decf99ac7bafaba8b8a3d3
[ "Apache-2.0" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2015 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the test suite of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL21$ ** Commercial License Usage ** Licensees holding valid commercia...
28.807339
93
0.685669
[ "object" ]
83e69ba401dcde28ade587717e3efbaf5a202410
559
cpp
C++
CompilerDev/Try-12/src/main.cpp
Ashwin-Paudel/Tries
91ea32d715eedca528d143cf5e9dfd9ba70804e3
[ "Apache-2.0" ]
null
null
null
CompilerDev/Try-12/src/main.cpp
Ashwin-Paudel/Tries
91ea32d715eedca528d143cf5e9dfd9ba70804e3
[ "Apache-2.0" ]
null
null
null
CompilerDev/Try-12/src/main.cpp
Ashwin-Paudel/Tries
91ea32d715eedca528d143cf5e9dfd9ba70804e3
[ "Apache-2.0" ]
null
null
null
// // main.cpp // Krim // // Created by आश्विन पौडेल on 2021-05-27. // // Include the dependencies #include <iostream> // Our headers #include <TokenType.h> #include <Vector3.h> #include <KRArray.h> #include <Common.h> using namespace std; // The main function int main(int argc, char *argv[]) { // Print hel...
19.964286
57
0.62254
[ "vector" ]
83e86a8cb80f39234c2103eeffe92518b3bb66df
2,626
cpp
C++
src/test/test_gbdt.cpp
zeyiwen/gbdt
35ddc80c6fc2d072478f8505312fd6fc34dcdd9c
[ "Apache-2.0" ]
639
2019-01-26T14:59:28.000Z
2022-03-30T09:36:29.000Z
src/test/test_gbdt.cpp
zeyiwen/gbdt
35ddc80c6fc2d072478f8505312fd6fc34dcdd9c
[ "Apache-2.0" ]
73
2019-02-15T14:19:04.000Z
2022-03-10T07:05:25.000Z
src/test/test_gbdt.cpp
zeyiwen/gbdt
35ddc80c6fc2d072478f8505312fd6fc34dcdd9c
[ "Apache-2.0" ]
92
2019-02-04T17:13:49.000Z
2021-12-30T17:30:41.000Z
#include "gtest/gtest.h" #include "thundergbm/trainer.h" #include "thundergbm/predictor.h" #include "thundergbm/dataset.h" #include "thundergbm/tree.h" class GBDTTest: public ::testing::Test { public: GBMParam param; protected: void SetUp() override { param.depth = 3; param.n_trees = 5; ...
29.840909
106
0.661843
[ "vector" ]
83eda22d7b12328dcd28972933d25dd6fe41d30f
4,883
cpp
C++
build/libs/qCC_io/QCC_IO_LIB_autogen/include_Debug/EWIEGA46WW/moc_PlyOpenDlg.cpp
ohanlonl/qCMAT
f6ca04fa7c171629f094ee886364c46ff8b27c0b
[ "BSD-Source-Code" ]
null
null
null
build/libs/qCC_io/QCC_IO_LIB_autogen/include_Debug/EWIEGA46WW/moc_PlyOpenDlg.cpp
ohanlonl/qCMAT
f6ca04fa7c171629f094ee886364c46ff8b27c0b
[ "BSD-Source-Code" ]
null
null
null
build/libs/qCC_io/QCC_IO_LIB_autogen/include_Debug/EWIEGA46WW/moc_PlyOpenDlg.cpp
ohanlonl/qCMAT
f6ca04fa7c171629f094ee886364c46ff8b27c0b
[ "BSD-Source-Code" ]
1
2019-02-03T12:19:42.000Z
2019-02-03T12:19:42.000Z
/**************************************************************************** ** Meta object code from reading C++ file 'PlyOpenDlg.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.11.1) ** ** WARNING! All changes made in this file will be lost! ***************************************************...
32.125
97
0.585091
[ "object" ]
83eed703a46056e6f309c4b9c01e5f536cf7954d
45,349
cpp
C++
preview/NisetroPreviewSDL/NisetroPreviewSDL.cpp
splash5/nisetro_wsc
479dceb21ce524fecbbd134ddcc413b13e4b5551
[ "MIT" ]
2
2021-12-07T08:05:04.000Z
2021-12-27T13:30:05.000Z
preview/NisetroPreviewSDL/NisetroPreviewSDL.cpp
splash5/nisetro_wsc
479dceb21ce524fecbbd134ddcc413b13e4b5551
[ "MIT" ]
null
null
null
preview/NisetroPreviewSDL/NisetroPreviewSDL.cpp
splash5/nisetro_wsc
479dceb21ce524fecbbd134ddcc413b13e4b5551
[ "MIT" ]
null
null
null
#include "NisetroPreviewSDL.h" #include "samplerate.h" #ifdef _POSIX_ #include <sys/time.h> #else #if defined(_MSC_VER) || defined(_MSC_EXTENSIONS) #define DELTA_EPOCH_IN_MICROSECS 116444736000000000Ui64 #else #define DELTA_EPOCH_IN_MICROSECS 116444736000000000ULL #endif #define FILETIME_UNITS_PER_SEC ...
31.253618
208
0.722618
[ "render" ]
83f16028d4a1c8f263fd60ae5824f56fcda22b85
5,975
inl
C++
include/boost/mmap/flags/win32/mapping.inl
microblink/mmap
b881def6bdf0455ef038f84ccd5c92104efee296
[ "Unlicense" ]
null
null
null
include/boost/mmap/flags/win32/mapping.inl
microblink/mmap
b881def6bdf0455ef038f84ccd5c92104efee296
[ "Unlicense" ]
null
null
null
include/boost/mmap/flags/win32/mapping.inl
microblink/mmap
b881def6bdf0455ef038f84ccd5c92104efee296
[ "Unlicense" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// /// /// \file flags/win32/mapping.inl /// ----------------------------- /// /// Copyright (c) Domagoj Saric 2010 - 2021. /// /// Use, modification and distribution is subject to the /// Boost Software License, Version 1.0. /// (See accompa...
41.206897
140
0.539414
[ "object" ]
83f659b4fb078dc8e76e26e31c8685afc5c3029b
14,235
cpp
C++
model/InboxPreview.cpp
mailslurp/mailslurp-client-cpp-restsdk
4e3f8c90f0bd4e7beee835da6e116405c2d9fd0e
[ "MIT" ]
null
null
null
model/InboxPreview.cpp
mailslurp/mailslurp-client-cpp-restsdk
4e3f8c90f0bd4e7beee835da6e116405c2d9fd0e
[ "MIT" ]
null
null
null
model/InboxPreview.cpp
mailslurp/mailslurp-client-cpp-restsdk
4e3f8c90f0bd4e7beee835da6e116405c2d9fd0e
[ "MIT" ]
null
null
null
/** * MailSlurp API * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - G...
28.874239
472
0.672568
[ "object", "vector", "model" ]
86001dce88b8d9b0e34ef9896d2c41fd9738e72e
1,850
cpp
C++
random_stuff/unique-paths-iii.cpp
hunnysharma3/Projects
f4b409bb17184911cfafbcc234eff54ad6858b56
[ "MIT" ]
null
null
null
random_stuff/unique-paths-iii.cpp
hunnysharma3/Projects
f4b409bb17184911cfafbcc234eff54ad6858b56
[ "MIT" ]
6
2020-11-12T04:39:52.000Z
2020-11-12T05:18:46.000Z
random_stuff/unique-paths-iii.cpp
hunnysharma3/Projects
f4b409bb17184911cfafbcc234eff54ad6858b56
[ "MIT" ]
1
2020-10-01T08:34:50.000Z
2020-10-01T08:34:50.000Z
#include <bits/stdc++.h> using namespace std; class Solution { int fr,fc,lr,lc; int R,C; int todo=0; int dp[20][20][20] = {0}; //int count = 0; int mx [4] ={-1 , 0 ,1 , 0}; int my [4] = {0, 1, 0, -1}; vector<vector<int>> grid; int uniqueDFS(int i, int j, int todo) { ...
21.022727
68
0.300541
[ "vector" ]
86021637210f0e125b1f975ebfcdbd8bd534cc4a
2,441
cpp
C++
codeforces/anirudhak47/1366/D.cpp
anirudhakulkarni/codes
d7a907951033b57314dfc0b837123aaa5c25a39a
[ "MIT" ]
3
2020-07-09T16:15:42.000Z
2020-07-17T13:19:42.000Z
codeforces/anirudhak47/1366/D.cpp
anirudhakulkarni/codes
d7a907951033b57314dfc0b837123aaa5c25a39a
[ "MIT" ]
null
null
null
codeforces/anirudhak47/1366/D.cpp
anirudhakulkarni/codes
d7a907951033b57314dfc0b837123aaa5c25a39a
[ "MIT" ]
1
2020-07-17T13:19:48.000Z
2020-07-17T13:19:48.000Z
#include <bits/stdc++.h> using namespace std; using namespace std; typedef long long ll; typedef vector<int> vi; typedef vector< vi > vvi; ///////////////////////// #define F first #define S second #define PB push_back #define MP make_pair #define loop(i,a,b) for (int i = a; i < b; i++) //////////////////...
23.931373
79
0.478083
[ "vector" ]
8609f566f0638f00138dc0aa8c29c6e121a55e89
1,636
cpp
C++
UVa 11903 - e-Friends/sample/11903 - e-Friends.cpp
tadvi/uva
0ac0cbdf593879b4fb02a3efc09adbb031cb47d5
[ "MIT" ]
1
2020-11-24T03:17:21.000Z
2020-11-24T03:17:21.000Z
UVa 11903 - e-Friends/sample/11903 - e-Friends.cpp
tadvi/uva
0ac0cbdf593879b4fb02a3efc09adbb031cb47d5
[ "MIT" ]
null
null
null
UVa 11903 - e-Friends/sample/11903 - e-Friends.cpp
tadvi/uva
0ac0cbdf593879b4fb02a3efc09adbb031cb47d5
[ "MIT" ]
1
2021-04-11T16:22:31.000Z
2021-04-11T16:22:31.000Z
#include <stdio.h> #include <string.h> #include <vector> #include <algorithm> #include <queue> using namespace std; int dp[1<<12][12][12]; // dp[state][last][K] = ways int main() { int testcase, cases = 0; int N, K, Q; scanf("%d", &testcase); while (testcase--) { scanf("%d %d %d", &N, &K, &Q); int em[16] = {};...
17.978022
58
0.427262
[ "vector" ]
860a4a7057dc4954c74a4aef76dbeb03695c7684
730
cpp
C++
31_partition-array/partition-array.cpp
piguin/lintcode
382e0880f82480eb8153041e78c297dbaeb4b9ea
[ "CC0-1.0" ]
null
null
null
31_partition-array/partition-array.cpp
piguin/lintcode
382e0880f82480eb8153041e78c297dbaeb4b9ea
[ "CC0-1.0" ]
null
null
null
31_partition-array/partition-array.cpp
piguin/lintcode
382e0880f82480eb8153041e78c297dbaeb4b9ea
[ "CC0-1.0" ]
null
null
null
/* @Copyright:LintCode @Author: qili @Problem: http://www.lintcode.com/problem/partition-array @Language: C++ @Datetime: 16-07-28 03:18 */ class Solution { public: int swap(int &a, int &b) { int tmp = a; a = b; b = tmp; } int partitionArray(vector<int> &nums, int k) ...
21.470588
58
0.39589
[ "vector" ]
860e976b1dc8f1a9af1045415cf6c432211d52f2
11,562
cpp
C++
source/textures.cpp
blawar/NX-Shell
6b6eeaf5d52e5a3cfcd4901b68d4ea8124a9c356
[ "MIT" ]
3
2021-04-13T22:16:42.000Z
2022-03-18T19:03:39.000Z
source/textures.cpp
blawar/NX-Shell
6b6eeaf5d52e5a3cfcd4901b68d4ea8124a9c356
[ "MIT" ]
null
null
null
source/textures.cpp
blawar/NX-Shell
6b6eeaf5d52e5a3cfcd4901b68d4ea8124a9c356
[ "MIT" ]
null
null
null
#include <cstring> // BMP #include <libnsbmp.h> // BMP #include "libnsgif.h" // JPEG #include <turbojpeg.h> // STB #define STB_IMAGE_IMPLEMENTATION #define STBI_NO_BMP #define STBI_NO_HDR #define STBI_NO_JPEG #define STBI_NO_PIC #define STBI_NO_PNG #define STBI_ONLY_GIF #define STBI_ONLY_PNM #define STBI_ONLY_PSD #...
26.158371
120
0.679813
[ "vector" ]
8613d93f4e0fb6db1ae194350148e5e83dfc115d
3,214
cpp
C++
example.cpp
rocarvaj/mipstart-example
4d949b1706435dba1c99715c4ce6776ed35c1016
[ "MIT" ]
2
2021-06-30T12:27:18.000Z
2021-06-30T12:27:26.000Z
example.cpp
rocarvaj/mipstart-example
4d949b1706435dba1c99715c4ce6776ed35c1016
[ "MIT" ]
null
null
null
example.cpp
rocarvaj/mipstart-example
4d949b1706435dba1c99715c4ce6776ed35c1016
[ "MIT" ]
null
null
null
#include "cplex.h" #include <cassert> #include <string> #include <vector> #include <iostream> #include <fstream> #include <boost/algorithm/string.hpp> #include <numeric> using namespace std; int ReadSolution(string solfile, vector<double> &solution, vector<string> &names, double &objval); i...
22.319444
90
0.52738
[ "vector" ]
86143191487b0370a7580e899c9d930e94ac18a4
484
cc
C++
tests/grid_test.cc
vbertone/apfelxx
7a37b982083b2a1cded2f5d6ab3aae267877f3c4
[ "MIT" ]
5
2019-10-07T14:01:59.000Z
2021-04-13T19:54:47.000Z
tests/grid_test.cc
vbertone/apfelxx
7a37b982083b2a1cded2f5d6ab3aae267877f3c4
[ "MIT" ]
3
2017-05-30T10:43:40.000Z
2018-09-11T14:29:53.000Z
tests/grid_test.cc
vbertone/apfelxx
7a37b982083b2a1cded2f5d6ab3aae267877f3c4
[ "MIT" ]
4
2019-06-23T08:42:00.000Z
2022-03-18T15:25:46.000Z
// // APFEL++ 2017 // // Author: Valerio Bertone: valerio.bertone@cern.ch // #include <apfel/apfelxx.h> #include <iostream> #include <iomanip> int main() { std::cout << std::setprecision(15) << std::scientific; // Allocate vector of subgrids std::vector<apfel::SubGrid> sgs = {apfel::SubGrid{100, 1e-5, 3}, apf...
17.925926
127
0.628099
[ "vector" ]
86251be9c84ca5a99d3b47008bc2c4794b6b48f2
5,255
cpp
C++
goto-programs/add_race_assertions.cpp
holao09/esbmc
659c006a45e9aaf8539b12484e2ec2b093cc6f02
[ "BSD-3-Clause" ]
null
null
null
goto-programs/add_race_assertions.cpp
holao09/esbmc
659c006a45e9aaf8539b12484e2ec2b093cc6f02
[ "BSD-3-Clause" ]
null
null
null
goto-programs/add_race_assertions.cpp
holao09/esbmc
659c006a45e9aaf8539b12484e2ec2b093cc6f02
[ "BSD-3-Clause" ]
null
null
null
/*******************************************************************\ Module: Race Detection for Threaded Goto Programs Author: Daniel Kroening Lucas Cordeiro (lcc08r@ecs.soton.ac.uk) Date: February 2006 May 2010 \*******************************************************************/ #include <hash_cont.h> #inc...
23.886364
74
0.665081
[ "object" ]
86267f29491aa4ed6655270653a2d201a7a12950
2,726
cpp
C++
FEM_CPP/ShiftedProbitRegression.cpp
ld-archer/E_FEM
7db846a17f3c57e98b619d7a9c5860d3a71ccc1c
[ "MIT" ]
2
2019-11-22T10:59:33.000Z
2019-12-10T10:32:02.000Z
FEM_CPP/ShiftedProbitRegression.cpp
ld-archer/E_FEM
7db846a17f3c57e98b619d7a9c5860d3a71ccc1c
[ "MIT" ]
39
2019-11-22T10:39:07.000Z
2022-03-21T15:32:18.000Z
FEM_CPP/ShiftedProbitRegression.cpp
ld-archer/E_FEM
7db846a17f3c57e98b619d7a9c5860d3a71ccc1c
[ "MIT" ]
null
null
null
#include "ShiftedProbitRegression.h" #include <sstream> #include <iomanip> #include "fem_exception.h" #include "Random.h" #include <limits> #include <cstring> ShiftedProbitRegression::ShiftedProbitRegression(void) { name = "shifted_probit"; } ShiftedProbitRegression::ShiftedProbitRegression(const ShiftedProbitRegres...
26.466019
118
0.648936
[ "model" ]
86274fcb7faa97ac461684466ead505bf5090431
29,305
cpp
C++
src/mn_parser.cpp
kpiorno/mean
830e636a972f9d342ef6ef6f571854bc6d7fa475
[ "MIT" ]
1
2017-11-14T15:13:38.000Z
2017-11-14T15:13:38.000Z
src/mn_parser.cpp
kpiorno/mean
830e636a972f9d342ef6ef6f571854bc6d7fa475
[ "MIT" ]
null
null
null
src/mn_parser.cpp
kpiorno/mean
830e636a972f9d342ef6ef6f571854bc6d7fa475
[ "MIT" ]
null
null
null
/*************************************************************************/ /* mn_parser.cpp */ /*************************************************************************/ /* Copyright (c) 2017 Karel Piorno Charchabal (kpiorno@gmail.com) */ /* ...
40.644938
133
0.408087
[ "vector" ]
862d6d5f42798ba977af8ef5c84da8c6ad7614df
14,815
cc
C++
extensions/basic/dependency_hierarchy/dependency_util_unittest.cc
blockspacer/chromium_base_conan
b4749433cf34f54d2edff52e2f0465fec8cb9bad
[ "Apache-2.0", "BSD-3-Clause" ]
6
2020-12-22T05:48:31.000Z
2022-02-08T19:49:49.000Z
extensions/basic/dependency_hierarchy/dependency_util_unittest.cc
blockspacer/chromium_base_conan
b4749433cf34f54d2edff52e2f0465fec8cb9bad
[ "Apache-2.0", "BSD-3-Clause" ]
4
2020-05-22T18:36:43.000Z
2021-05-19T10:20:23.000Z
extensions/basic/dependency_hierarchy/dependency_util_unittest.cc
blockspacer/chromium_base_conan
b4749433cf34f54d2edff52e2f0465fec8cb9bad
[ "Apache-2.0", "BSD-3-Clause" ]
2
2019-12-06T11:48:16.000Z
2021-09-16T04:44:47.000Z
// Copyright 2018 Google LLC // Copyright 2018-present Open Networking Foundation // SPDX-License-Identifier: Apache-2.0 #include "basic/dependency_hierarchy/dependency_util.h" #include "basic/strong_types/strong_bool.h" #include <basic/recursion_checker.h> #include <base/test/gtest_util.h> #include <base/strings/str...
27.28361
96
0.550591
[ "vector" ]
862df7bfae5dffb973a32217f18c16be2f88fa0e
1,342
hpp
C++
src/fcn.hpp
The-Ludwig/iminuit
8eef7b711846d6c8db9fe1fc883f6fa0977eb514
[ "MIT" ]
null
null
null
src/fcn.hpp
The-Ludwig/iminuit
8eef7b711846d6c8db9fe1fc883f6fa0977eb514
[ "MIT" ]
null
null
null
src/fcn.hpp
The-Ludwig/iminuit
8eef7b711846d6c8db9fe1fc883f6fa0977eb514
[ "MIT" ]
null
null
null
#include <Minuit2/FCNGradientBase.h> #include <pybind11/pytypes.h> #include <vector> namespace py = pybind11; /** Function interface for Minuit2. Calls the underlying Python function which computes the objective function. The interface of this class is defined by the abstract base class FCNGradientBase, whic...
36.27027
86
0.719076
[ "object", "vector" ]
86318a16cdc5fcf0612ea5d65b80cd8c7e56f42a
6,047
cc
C++
src/attributes/HiLoAttributes.cc
b8raoult/magics
eb2c86ec6e392e89c90044128dc671f22283d6ad
[ "ECL-2.0", "Apache-2.0" ]
41
2018-12-07T23:10:50.000Z
2022-02-19T03:01:49.000Z
src/attributes/HiLoAttributes.cc
b8raoult/magics
eb2c86ec6e392e89c90044128dc671f22283d6ad
[ "ECL-2.0", "Apache-2.0" ]
59
2019-01-04T15:43:30.000Z
2022-03-31T09:48:15.000Z
src/attributes/HiLoAttributes.cc
b8raoult/magics
eb2c86ec6e392e89c90044128dc671f22283d6ad
[ "ECL-2.0", "Apache-2.0" ]
13
2019-01-07T14:36:33.000Z
2021-09-06T14:48:36.000Z
/****************************** LICENSE ******************************* * (C) Copyright 1996-2017 ECMWF. * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. * In applying this licence, ECMWF does not waive the pr...
33.043716
90
0.727964
[ "vector" ]
8631b9de2cced05b7f3393865418cb1da5a9aec1
6,343
hpp
C++
include/assets/typeManagers/MeshTypeManager.hpp
manvis/IYFEngine
741a8d0dcc9b3e3ff8a8adb92850633523516604
[ "BSD-3-Clause" ]
5
2018-07-03T17:05:43.000Z
2020-02-03T00:23:46.000Z
include/assets/typeManagers/MeshTypeManager.hpp
manvis/IYFEngine
741a8d0dcc9b3e3ff8a8adb92850633523516604
[ "BSD-3-Clause" ]
null
null
null
include/assets/typeManagers/MeshTypeManager.hpp
manvis/IYFEngine
741a8d0dcc9b3e3ff8a8adb92850633523516604
[ "BSD-3-Clause" ]
null
null
null
// The IYFEngine // // Copyright (C) 2015-2018, Manvydas Šliamka // // Redistribution and use in source and binary forms, with or without modification, are // permitted provided that the following conditions are met: // // 1. Redistributions of source code must retain the above copyright notice, this list of // condi...
43.445205
147
0.732934
[ "mesh", "vector" ]
86420c8f936d6400b6ebfe9752afa73ba09615f8
1,031
cpp
C++
minimalExample/example.cpp
PolishPigeon/SFMLEngine
6499bab7dfe9471a9b39a0b39b366d31361e4411
[ "MIT" ]
1
2022-01-21T10:49:48.000Z
2022-01-21T10:49:48.000Z
minimalExample/example.cpp
PolishPigeon/SFMLEngine
6499bab7dfe9471a9b39a0b39b366d31361e4411
[ "MIT" ]
null
null
null
minimalExample/example.cpp
PolishPigeon/SFMLEngine
6499bab7dfe9471a9b39a0b39b366d31361e4411
[ "MIT" ]
null
null
null
// SFML is split into 5 modules: // #include <SFML/Graphics.hpp> // #include <SFML/Audio.hpp> // #include <SFML/System.hpp> // #include <SFML/Window.hpp> // #include <SFML/Network.hpp> // We can include them like this or we can include just a specific header file: // #include <SFML/Audio/Sound.hpp> // Each module is co...
29.457143
118
0.700291
[ "shape" ]
864598de4dc882f852ee03a500643a279bdc7029
1,469
cpp
C++
src/nimbro/cv/vision_module/src/vision_module/Tools/Kalman.cpp
hfarazi/humanoid_op_ros_kinetic
84712bd541d0130b840ad1935d5bfe301814dbe6
[ "BSD-3-Clause" ]
45
2015-11-04T01:29:12.000Z
2022-02-11T05:37:42.000Z
src/nimbro/cv/vision_module/src/vision_module/Tools/Kalman.cpp
hfarazi/humanoid_op_ros_kinetic
84712bd541d0130b840ad1935d5bfe301814dbe6
[ "BSD-3-Clause" ]
1
2018-11-22T08:34:34.000Z
2018-11-22T08:34:34.000Z
src/nimbro/cv/vision_module/src/vision_module/Tools/Kalman.cpp
hfarazi/humanoid_op_ros_kinetic
84712bd541d0130b840ad1935d5bfe301814dbe6
[ "BSD-3-Clause" ]
20
2016-03-05T14:28:45.000Z
2021-01-30T00:50:47.000Z
#include <vision_module/Tools/Kalman.hpp> #include <opencv2/opencv.hpp> #include <iostream> #include <vector> #include <vision_module/Tools/General.hpp> using namespace cv; using namespace std; KalmanFilterC::KalmanFilterC(Point2f pt) { kalman = new KalmanFilter(6, 2, 0); Mat processNoise(6, 1, CV_32F); kalman->st...
28.803922
137
0.673928
[ "vector" ]
8646edb8e158ec0b273afa76bc22bb48abd5191e
26,712
cc
C++
DQMOffline/MuonDPG/plugins/RPCTnPEfficiencyTask.cc
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
1
2021-11-30T16:24:46.000Z
2021-11-30T16:24:46.000Z
DQMOffline/MuonDPG/plugins/RPCTnPEfficiencyTask.cc
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
4
2021-11-29T13:57:56.000Z
2022-03-29T06:28:36.000Z
DQMOffline/MuonDPG/plugins/RPCTnPEfficiencyTask.cc
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
1
2022-02-27T06:12:26.000Z
2022-02-27T06:12:26.000Z
/* * \file RPCTnPEfficiencyTask.cc * * \author L. Lunerti - INFN Bologna * */ #include "FWCore/Framework/interface/MakerMacros.h" #include "DataFormats/MuonReco/interface/MuonSegmentMatch.h" #include "DataFormats/MuonDetId/interface/RPCDetId.h" #include "DQMOffline/MuonDPG/interface/BaseTnPEfficiencyTask.h" cl...
42.807692
118
0.679208
[ "vector" ]
86485933190b39cf4d18815255082043fcba7820
26,987
cpp
C++
intel_extension_for_pytorch/csrc/aten/cpu/Copy.cpp
Peach-He/intel-extension-for-pytorch
d3d4d2bc5e8637e251f49d70ae9982c4a1e65935
[ "Apache-2.0" ]
null
null
null
intel_extension_for_pytorch/csrc/aten/cpu/Copy.cpp
Peach-He/intel-extension-for-pytorch
d3d4d2bc5e8637e251f49d70ae9982c4a1e65935
[ "Apache-2.0" ]
null
null
null
intel_extension_for_pytorch/csrc/aten/cpu/Copy.cpp
Peach-He/intel-extension-for-pytorch
d3d4d2bc5e8637e251f49d70ae9982c4a1e65935
[ "Apache-2.0" ]
null
null
null
#include <ATen/ATen.h> #include <ATen/Dispatch.h> #include <ATen/MemoryOverlap.h> #include <ATen/NamedTensorUtils.h> #include <ATen/NativeFunctions.h> #include <ATen/Parallel.h> #include <ATen/cpu/vec/vec.h> #include <ATen/native/TensorIterator.h> #include <ATen/native/cpu/Loops.h> #include <ATen/native/cpu/zmath.h> #i...
36.419703
80
0.5702
[ "shape", "vector" ]
8649c0d10d19d2ef21452a2f8a38bb713e1f8d04
1,243
cc
C++
TopQuarkAnalysis/TopHitFit/src/Refcount.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
null
null
null
TopQuarkAnalysis/TopHitFit/src/Refcount.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
null
null
null
TopQuarkAnalysis/TopHitFit/src/Refcount.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
null
null
null
// // // File: Refcount.cc // Purpose: Reference count implementation. // Created: Aug 2000, sss, from the version that used to be in d0om. // // CMSSW File : src/Refcount.cc // Original Author : Scott Stuart Snyder <snyder@bnl.gov> for D0 // Imported to CMSSW by Haryo Sumowidagdo <Suharyo.Sumowidagdo@cern.ch> // ...
23.45283
74
0.695897
[ "object" ]
865439b577f3d47f46731b442320ab0798f8fc94
16,361
hpp
C++
booster/tree/xgboost_col_treemaker.hpp
poseidon1214/xgboost
71cc6808ce07f8caa3b1276bd4b0e7923a33f5ef
[ "Apache-2.0" ]
null
null
null
booster/tree/xgboost_col_treemaker.hpp
poseidon1214/xgboost
71cc6808ce07f8caa3b1276bd4b0e7923a33f5ef
[ "Apache-2.0" ]
null
null
null
booster/tree/xgboost_col_treemaker.hpp
poseidon1214/xgboost
71cc6808ce07f8caa3b1276bd4b0e7923a33f5ef
[ "Apache-2.0" ]
1
2020-12-05T11:38:24.000Z
2020-12-05T11:38:24.000Z
#ifndef XGBOOST_COL_TREEMAKER_HPP #define XGBOOST_COL_TREEMAKER_HPP /*! * \file xgboost_col_treemaker.hpp * \brief implementation of regression tree maker, * use a column based approach, with OpenMP * \author Tianqi Chen: tianqi.tchen@gmail.com */ // use openmp #include <vector> #include "xgboost_tree_mod...
48.693452
133
0.433653
[ "vector" ]
8655f398fdc04296d305c05e7c2d7c1350d23104
4,596
cc
C++
android/java/org/mlperf/inference/jni/dataset_jni.cc
fatihcakirs/mobile_app_open
7de0c9d38fc953c81908276887e9542cfd27c467
[ "Apache-2.0" ]
9
2021-09-03T06:27:34.000Z
2022-02-23T04:17:06.000Z
android/java/org/mlperf/inference/jni/dataset_jni.cc
fatihcakirs/mobile_app_open
7de0c9d38fc953c81908276887e9542cfd27c467
[ "Apache-2.0" ]
249
2021-08-03T13:51:32.000Z
2022-03-31T13:11:48.000Z
android/java/org/mlperf/inference/jni/dataset_jni.cc
fatihcakirs/mobile_app_open
7de0c9d38fc953c81908276887e9542cfd27c467
[ "Apache-2.0" ]
9
2021-09-03T06:01:39.000Z
2022-03-22T04:45:02.000Z
/* Copyright 2019-2021 The MLPerf 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 ...
39.965217
80
0.736292
[ "object" ]
865e7623bfc6cffe26dd87847cd3c094959ce53a
9,375
cpp
C++
src/mancala-ai.cpp
derekrfelson/mancala-ai
0c4bb7e1c9d4e832609580ac028c44c733a89830
[ "MIT" ]
null
null
null
src/mancala-ai.cpp
derekrfelson/mancala-ai
0c4bb7e1c9d4e832609580ac028c44c733a89830
[ "MIT" ]
null
null
null
src/mancala-ai.cpp
derekrfelson/mancala-ai
0c4bb7e1c9d4e832609580ac028c44c733a89830
[ "MIT" ]
null
null
null
#include <iostream> #include <cstring> #include <sstream> #include <string> #include <cstddef> #include <vector> #include <queue> #include <stack> #include <cassert> #include "Settings.h" #include "State.h" #include "Move.h" #include "HoleIterator.h" #include "MoveIterator.h" #include "Node.h" using namespace std; voi...
23.379052
94
0.628587
[ "vector" ]
866a01c52cecf7e44fec2d294b67bd863831cbfb
44,356
cpp
C++
src/meta_server/ddl_manager.cpp
tullyliu/BaikalDB
08c4430a79c2621714a2bc9b024380877b7db499
[ "Apache-2.0" ]
984
2018-08-03T16:22:49.000Z
2022-03-22T07:54:48.000Z
src/meta_server/ddl_manager.cpp
tullyliu/BaikalDB
08c4430a79c2621714a2bc9b024380877b7db499
[ "Apache-2.0" ]
100
2018-08-07T11:33:18.000Z
2021-12-22T19:22:43.000Z
src/meta_server/ddl_manager.cpp
tullyliu/BaikalDB
08c4430a79c2621714a2bc9b024380877b7db499
[ "Apache-2.0" ]
157
2018-08-04T05:32:34.000Z
2022-03-10T03:16:47.000Z
// copyright (c) 2018-present baidu, 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 require...
43.14786
141
0.610583
[ "vector" ]
866c4c056f23b9a1b8dab29f2a00c9a8fd63c52e
10,007
cpp
C++
core/src/core/contingency_table.cpp
fionser/CODA
db234a1e9761d379fb96ae17eef3b77254f8781c
[ "MIT" ]
12
2017-02-24T19:28:07.000Z
2021-02-05T04:40:47.000Z
core/src/core/contingency_table.cpp
fionser/CODA
db234a1e9761d379fb96ae17eef3b77254f8781c
[ "MIT" ]
1
2017-04-15T03:41:18.000Z
2017-04-24T09:06:15.000Z
core/src/core/contingency_table.cpp
fionser/CODA
db234a1e9761d379fb96ae17eef3b77254f8781c
[ "MIT" ]
6
2017-05-14T10:12:50.000Z
2021-02-07T03:50:56.000Z
// // Created by riku on 2016/07/19. // #include "HElib/Ctxt.h" #include "HElib/EncryptedArray.h" #include "HElib/timing.h" #include "core/ctxt_util.hpp" #include "core/coda.hpp" #include "core/contingency_table.hpp" #include "core/greaterthan.h" #include <vector> #include <thread> #include <atomic> #include <algorith...
34.153584
94
0.602678
[ "vector" ]
866ee5a86be5a8a2aa34bd457e71a8b3253a7647
1,494
hpp
C++
src/sample_gui.hpp
nvpro-samples/vk_raytrace
c49ae6aea107cba084fd296b0b2e73fa1e13e067
[ "Apache-2.0" ]
253
2019-12-03T13:56:46.000Z
2022-03-30T23:05:07.000Z
src/sample_gui.hpp
nvpro-samples/vk_raytrace
c49ae6aea107cba084fd296b0b2e73fa1e13e067
[ "Apache-2.0" ]
15
2020-12-15T01:58:58.000Z
2022-02-02T19:49:44.000Z
src/sample_gui.hpp
nvpro-samples/vk_raytrace
c49ae6aea107cba084fd296b0b2e73fa1e13e067
[ "Apache-2.0" ]
15
2019-12-07T11:03:09.000Z
2022-02-28T02:03:56.000Z
/* * Copyright (c) 2021, NVIDIA CORPORATION. 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 requi...
28.730769
100
0.644578
[ "render" ]
8671119599a510a0f2e55811edddf1adadbf0002
13,880
cpp
C++
Matlab/nifty_rec/_et_fisher_grid_mex.cpp
TomographyLab/NiftyRec
53294969486040eda68f4c807d0fb2f2fccaa89a
[ "BSD-3-Clause" ]
8
2019-01-22T20:34:20.000Z
2022-02-07T21:58:49.000Z
Matlab/nifty_rec/_et_fisher_grid_mex.cpp
mscipio/NiftyRec
d284a10bd16c50a11864bc732305abd73b2bd3f8
[ "BSD-3-Clause" ]
1
2019-10-16T10:57:08.000Z
2019-11-21T09:57:24.000Z
Matlab/nifty_rec/_et_fisher_grid_mex.cpp
basharbme/NiftyRec
53294969486040eda68f4c807d0fb2f2fccaa89a
[ "BSD-3-Clause" ]
4
2019-06-01T13:19:40.000Z
2021-11-09T10:41:28.000Z
/* * _et_fisher_grid_mex.cpp * * NiftyRec * Stefano Pedemonte, May 2012. * CMIC - Centre for Medical Image Computing * UCL - University College London * Released under BSD licence, see LICENSE.txt */ #include <mex.h> #include "_et_array_interface.h" #include <limits> #include <string.h> #include <m...
43.375
253
0.603818
[ "3d" ]
867924d746db670b10ef09db1481a8e2461bad51
17,097
cpp
C++
Sources/Elastos/Frameworks/Droid/Base/Services/Server/src/elastos/droid/server/display/OverlayDisplayWindow.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/Services/Server/src/elastos/droid/server/display/OverlayDisplayWindow.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
null
null
null
Sources/Elastos/Frameworks/Droid/Base/Services/Server/src/elastos/droid/server/display/OverlayDisplayWindow.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 // // ...
33.655512
93
0.647541
[ "object" ]
867b5b50ffeed34ce1ae80163cfd59f81ef45f45
1,867
cpp
C++
cpp/src/ScrambleString.cpp
qianbinbin/leetcode
915cecab0c940cd13847683ec55b17b77eb0f39b
[ "MIT" ]
4
2018-03-05T02:27:16.000Z
2021-03-15T14:19:44.000Z
cpp/src/ScrambleString.cpp
qianbinbin/leetcode
915cecab0c940cd13847683ec55b17b77eb0f39b
[ "MIT" ]
null
null
null
cpp/src/ScrambleString.cpp
qianbinbin/leetcode
915cecab0c940cd13847683ec55b17b77eb0f39b
[ "MIT" ]
2
2018-07-22T10:32:10.000Z
2018-10-20T03:14:28.000Z
#include "ScrambleString.h" #include <cassert> #include <vector> using namespace lcpp; typedef std::string::size_type SizeType; bool Solution87_1::isScramble(std::string s1, std::string s2) { const auto &Size = s1.size(); assert(Size != 0 && s2.size() == Size); std::vector<std::vector<std::vector<bool>>> Dp( ...
29.171875
80
0.486877
[ "vector" ]
86874e19cfd8f32c17e90377dfa7313efa5cb903
651
cpp
C++
C++/567.cpp
TianChenjiang/LeetCode
a680c90bc968eba5aa76c3674af1f2d927986ec7
[ "MIT" ]
1
2021-08-31T08:53:47.000Z
2021-08-31T08:53:47.000Z
C++/567.cpp
TianChenjiang/LeetCode
a680c90bc968eba5aa76c3674af1f2d927986ec7
[ "MIT" ]
null
null
null
C++/567.cpp
TianChenjiang/LeetCode
a680c90bc968eba5aa76c3674af1f2d927986ec7
[ "MIT" ]
null
null
null
class Solution { public: bool isAllZero(vector<int> &counts) { for (int i : counts) { if (i != 0) return false; } return true; } bool checkInclusion(string s1, string s2) { int l = 0, r = 0, n = s2.size(), m = s1.size(); vector<int> counts(26, 0); ...
23.25
55
0.387097
[ "vector" ]
8689a34701f7ef1e3b102c5b091ce97af7118c81
10,569
cpp
C++
3rdparty/GPSTk/ext/apps/geomatics/kalman/tkalm.cpp
mfkiwl/ICE
e660d031bb1bcea664db1de4946fd8781be5b627
[ "MIT" ]
50
2019-10-12T01:22:20.000Z
2022-02-15T23:28:26.000Z
3rdparty/GPSTk/ext/apps/geomatics/kalman/tkalm.cpp
wuyou33/Enabling-Robust-State-Estimation-through-Measurement-Error-Covariance-Adaptation
2f1ff054b7c5059da80bb3b2f80c05861a02cc36
[ "MIT" ]
null
null
null
3rdparty/GPSTk/ext/apps/geomatics/kalman/tkalm.cpp
wuyou33/Enabling-Robust-State-Estimation-through-Measurement-Error-Covariance-Adaptation
2f1ff054b7c5059da80bb3b2f80c05861a02cc36
[ "MIT" ]
14
2019-11-05T01:50:29.000Z
2021-08-06T06:23:44.000Z
//============================================================================ // // This file is part of GPSTk, the GPS Toolkit. // // The GPSTk is free software; you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published // by the Free Software Foundation; ei...
36.195205
86
0.480746
[ "vector", "model" ]
869f1999436f34446c9c2fbe347021ccc7ce74aa
4,965
hxx
C++
opencascade/Geom2d_Conic.hxx
valgur/OCP
2f7d9da73a08e4ffe80883614aedacb27351134f
[ "Apache-2.0" ]
37
2020-01-20T21:50:21.000Z
2022-02-09T13:01:09.000Z
opencascade/Geom2d_Conic.hxx
valgur/OCP
2f7d9da73a08e4ffe80883614aedacb27351134f
[ "Apache-2.0" ]
66
2019-12-20T16:07:36.000Z
2022-03-15T21:56:10.000Z
opencascade/Geom2d_Conic.hxx
valgur/OCP
2f7d9da73a08e4ffe80883614aedacb27351134f
[ "Apache-2.0" ]
22
2020-04-03T21:59:52.000Z
2022-03-06T18:43:35.000Z
// Created on: 1993-03-24 // Created by: JCV // Copyright (c) 1993-1999 Matra Datavision // Copyright (c) 1999-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the GNU Lesser Gen...
40.696721
127
0.739376
[ "object", "vector" ]
86a0875b5a5f818d35db4adb1d026f5ad6dd1955
7,723
cpp
C++
src/examples/opengl/gridcube/main.cpp
bfierz/vcl
6ef8d446b6a2f46543a5b3f9f76cad0d8f691969
[ "MIT" ]
15
2015-05-15T09:14:42.000Z
2022-02-20T13:00:17.000Z
src/examples/opengl/gridcube/main.cpp
bfierz/vcl
6ef8d446b6a2f46543a5b3f9f76cad0d8f691969
[ "MIT" ]
54
2015-05-14T09:21:51.000Z
2021-05-28T06:09:06.000Z
src/examples/opengl/gridcube/main.cpp
bfierz/vcl
6ef8d446b6a2f46543a5b3f9f76cad0d8f691969
[ "MIT" ]
4
2017-04-18T06:16:42.000Z
2021-07-16T08:00:12.000Z
/* * This file is part of the Visual Computing Library (VCL) release under the * MIT license. * * Copyright (c) 2016 Basil Fierz * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software with...
34.945701
165
0.726013
[ "render" ]
86a60e2475c6705ba3d202cc3b446f57c164a7ce
5,050
cpp
C++
modules/task_4/chesnokov_a_jarvis/jarvis.cpp
SandalovKY/pp_2021_spring_engineers
21b295e42f1e8be8032b536cdab842c62774f8dd
[ "BSD-3-Clause" ]
null
null
null
modules/task_4/chesnokov_a_jarvis/jarvis.cpp
SandalovKY/pp_2021_spring_engineers
21b295e42f1e8be8032b536cdab842c62774f8dd
[ "BSD-3-Clause" ]
null
null
null
modules/task_4/chesnokov_a_jarvis/jarvis.cpp
SandalovKY/pp_2021_spring_engineers
21b295e42f1e8be8032b536cdab842c62774f8dd
[ "BSD-3-Clause" ]
1
2021-03-29T14:29:42.000Z
2021-03-29T14:29:42.000Z
// Copyright 2021 Chesnokov Artyom #include <cmath> #include <climits> #include <limits> #include "../../../3rdparty/unapproved/unapproved.h" #include "../../../modules/task_4/chesnokov_a_jarvis/jarvis.h" bool almost_equal(double x, double y, int ulp) { // the machine epsilon has to be scaled to the magnitude of th...
27.900552
97
0.630297
[ "vector" ]
86ab511f4e34d3a5ca372c08dfa47e73921384bc
2,694
hpp
C++
src/SamplePlugin.hpp
TobiasLundby/ROVI_FinalProject
317787c4cf70896702ec4cf5bae2fc7b99757b0f
[ "BSD-3-Clause" ]
null
null
null
src/SamplePlugin.hpp
TobiasLundby/ROVI_FinalProject
317787c4cf70896702ec4cf5bae2fc7b99757b0f
[ "BSD-3-Clause" ]
null
null
null
src/SamplePlugin.hpp
TobiasLundby/ROVI_FinalProject
317787c4cf70896702ec4cf5bae2fc7b99757b0f
[ "BSD-3-Clause" ]
null
null
null
#ifndef SAMPLEPLUGIN_HPP #define SAMPLEPLUGIN_HPP #include "../build/ui_SamplePlugin.h" #include <opencv2/opencv.hpp> #include <vector> #include <rws/RobWorkStudio.hpp> #include <QPushButton> #include <fstream> #include <rws/RobWorkStudioPlugin.hpp> #include <rw/rw.hpp> //#include <rw/kinematics/State.hpp> #include ...
23.224138
87
0.724202
[ "vector" ]
86ae33525c11d986eb438bc08401b7f02613bdbf
2,306
cpp
C++
engine/src/ui/UINumberField.cpp
Sl3dge78/sl2dge
65884c5728546d2547486d5f5e10fe459411fb3e
[ "MIT" ]
null
null
null
engine/src/ui/UINumberField.cpp
Sl3dge78/sl2dge
65884c5728546d2547486d5f5e10fe459411fb3e
[ "MIT" ]
9
2020-06-30T19:42:49.000Z
2020-10-07T12:39:43.000Z
engine/src/ui/UINumberField.cpp
Sl3dge78/sl2dge
65884c5728546d2547486d5f5e10fe459411fb3e
[ "MIT" ]
null
null
null
#include "UINumberField.h" void sl2dge::UINumberField::draw(Game *game) { if (!is_editing_text) { FC_Draw(font_, game->renderer(), transform()->position().x, transform()->position().y, get_field_string().c_str()); SDL_SetRenderDrawColor(game->renderer(), 0, 0, 0, 255); } else { FC_Draw(font_, game->renderer(),...
29.189873
117
0.683435
[ "transform" ]
86b1124d9bc24f5e1b1638c3df88e8812abd90db
12,067
cpp
C++
applications/projects/Modeler/lib/TutorialSelector.cpp
sofa-framework/issofa
94855f488465bc3ed41223cbde987581dfca5389
[ "OML" ]
null
null
null
applications/projects/Modeler/lib/TutorialSelector.cpp
sofa-framework/issofa
94855f488465bc3ed41223cbde987581dfca5389
[ "OML" ]
null
null
null
applications/projects/Modeler/lib/TutorialSelector.cpp
sofa-framework/issofa
94855f488465bc3ed41223cbde987581dfca5389
[ "OML" ]
null
null
null
/****************************************************************************** * SOFA, Simulation Open-Framework Architecture, development version * * (c) 2006-2017 INRIA, USTL, UJF, CNRS, MGH * * * ...
32.701897
242
0.573548
[ "vector" ]
86b4ba07954f57f22182fc8d50593859fcc6994a
6,172
cc
C++
src/eckit/filesystem/BasePathNameT.cc
dvuckovic/eckit
58a918e7be8fe073f37683abf639374ab1ad3e4f
[ "Apache-2.0" ]
10
2018-03-01T22:11:10.000Z
2021-05-17T14:13:58.000Z
src/eckit/filesystem/BasePathNameT.cc
dvuckovic/eckit
58a918e7be8fe073f37683abf639374ab1ad3e4f
[ "Apache-2.0" ]
43
2018-04-11T11:13:44.000Z
2022-03-31T15:28:03.000Z
src/eckit/filesystem/BasePathNameT.cc
dvuckovic/eckit
58a918e7be8fe073f37683abf639374ab1ad3e4f
[ "Apache-2.0" ]
20
2018-03-07T21:36:50.000Z
2022-03-30T13:25:25.000Z
/* * (C) Copyright 1996- ECMWF. * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. * In applying this licence, ECMWF does not waive the privileges and immunities * granted to it by virtue of its status as an interg...
24.395257
120
0.668341
[ "vector" ]
86c2509dfbe9027eb0fab9e8c297c4279be9ac12
25,786
cpp
C++
src/ViewLib/ModelView.cpp
Draaaaaaven/view3d
8ed273cb3ae2aa47e824fedec65e92149bff406f
[ "BSL-1.0" ]
null
null
null
src/ViewLib/ModelView.cpp
Draaaaaaven/view3d
8ed273cb3ae2aa47e824fedec65e92149bff406f
[ "BSL-1.0" ]
null
null
null
src/ViewLib/ModelView.cpp
Draaaaaaven/view3d
8ed273cb3ae2aa47e824fedec65e92149bff406f
[ "BSL-1.0" ]
null
null
null
#include "ModelView.h" #include "Camera.h" #include "generic/geometry/TetrahedralizationIO.hpp" #include "generic/geometry/TriangleEvaluator.hpp" #include "generic/geometry/Connectivity.hpp" #include "generic/tree/BVHUtilityMT.hpp" #include "generic/tools/Tools.hpp" #include "MeshFlow2D.h" #include "MeshIO.h" ...
35.665284
158
0.626813
[ "geometry", "vector", "model", "transform" ]
86c736d0c65347e799b133253c1dadd4d004e9b2
812
cpp
C++
Matrix/733. Flood Fill/Solution.cpp
VarunSAthreya/LeetCode-Solutions
aeab92df5bca208c2442ffdb1487fe5e3aadb3de
[ "MIT" ]
1
2021-11-24T16:20:32.000Z
2021-11-24T16:20:32.000Z
Matrix/733. Flood Fill/Solution.cpp
VarunSAthreya/LeetCode-Solutions
aeab92df5bca208c2442ffdb1487fe5e3aadb3de
[ "MIT" ]
null
null
null
Matrix/733. Flood Fill/Solution.cpp
VarunSAthreya/LeetCode-Solutions
aeab92df5bca208c2442ffdb1487fe5e3aadb3de
[ "MIT" ]
3
2021-09-03T15:14:12.000Z
2022-03-07T04:04:32.000Z
class Solution { public: void convert(vector<vector<int>> &image, int sr, int sc, int color, int newColor, vector<vector<int>> &directions) { if (sr < 0 || sr >= image.size() || sc < 0 || sc >= image[0].size() || image[sr][sc] != color) return; image[sr][sc] = newColor; for...
29
118
0.529557
[ "vector" ]
f871d8d05f6077e8475ccc0ecbb99072ae54587d
6,046
hpp
C++
Engine/src/Engine/objects/movement.hpp
Niels04/Engine
2bc0f8d65ffb0f29035edc16958c60826da7f535
[ "Apache-2.0" ]
null
null
null
Engine/src/Engine/objects/movement.hpp
Niels04/Engine
2bc0f8d65ffb0f29035edc16958c60826da7f535
[ "Apache-2.0" ]
null
null
null
Engine/src/Engine/objects/movement.hpp
Niels04/Engine
2bc0f8d65ffb0f29035edc16958c60826da7f535
[ "Apache-2.0" ]
null
null
null
#pragma once #include "Engine/core/timeStep.hpp" #include "mesh.hpp" #include "Engine/Rendering/lights.hpp" namespace Engine { class MeshMovement { friend class mesh; public: virtual ~MeshMovement() = default; virtual void onUpdate(timestep& ts) const = 0; protected: mesh* m_mesh; private: inline void ...
38.265823
154
0.773239
[ "mesh" ]
f874bacaff22a095c1d56af65eec5915d0ab735d
4,381
hpp
C++
include/codegen/include/System/Threading/Timer.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/System/Threading/Timer.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/System/Threading/Timer.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator on 7/27/2020 3:09:46 PM // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "utils/typedefs.h" // Including type: System.MarshalByRefObject #include "System/MarshalByRefObjec...
43.376238
145
0.723807
[ "object" ]
f888479c2b1c754c618ff30d99b1751011c74884
757
cpp
C++
Medium/515_Find_Largest_Value_In_Each_Tree_Row.cpp
ShehabMMohamed/LeetCodeCPP
684340f29ac15c5e8fa9f6ef5c3f99d4c95ce780
[ "MIT" ]
1
2021-03-15T10:02:10.000Z
2021-03-15T10:02:10.000Z
Medium/515_Find_Largest_Value_In_Each_Tree_Row.cpp
ShehabMMohamed/LeetCodeCPP
684340f29ac15c5e8fa9f6ef5c3f99d4c95ce780
[ "MIT" ]
null
null
null
Medium/515_Find_Largest_Value_In_Each_Tree_Row.cpp
ShehabMMohamed/LeetCodeCPP
684340f29ac15c5e8fa9f6ef5c3f99d4c95ce780
[ "MIT" ]
null
null
null
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ class Solution { public: void DFS(TreeNode* root, int index, vector<int>& maxes) { if(index >= maxes.size()) ...
26.103448
61
0.519155
[ "vector" ]
f88b140bcb1e86c1b0d319e3cdd994f92396db10
2,771
cpp
C++
dev/AccessControl/Microsoft.Windows.Security.AccessControl.cpp
ChrisGuzak/WindowsAppSDK
3f19ef0f438524af3c87fdad5f4fea555530c285
[ "CC-BY-4.0", "MIT" ]
1
2022-03-07T22:32:31.000Z
2022-03-07T22:32:31.000Z
dev/AccessControl/Microsoft.Windows.Security.AccessControl.cpp
ChrisGuzak/WindowsAppSDK
3f19ef0f438524af3c87fdad5f4fea555530c285
[ "CC-BY-4.0", "MIT" ]
null
null
null
dev/AccessControl/Microsoft.Windows.Security.AccessControl.cpp
ChrisGuzak/WindowsAppSDK
3f19ef0f438524af3c87fdad5f4fea555530c285
[ "CC-BY-4.0", "MIT" ]
null
null
null
#include <pch.h> #include "Microsoft.Windows.Security.AccessControl.h" #include "Microsoft.Windows.Security.AccessControl.SecurityDescriptorHelpers.g.cpp" #include "Security.AccessControl.h" #include <sddl.h> namespace winrt::Microsoft::Windows::Security::AccessControl::implementation { wil::unique_hlocal...
46.966102
140
0.70083
[ "vector" ]
f88b61266ed6eb5e38f4795cc2771d0e44a32d9e
6,763
hpp
C++
include/misc/xmlwrapp/errors.hpp
ncbi/ncbi-xmlwrapp
d5c25d7b911413fe4dffd408903e5ce06a68636e
[ "BSD-3-Clause" ]
3
2018-01-18T21:46:01.000Z
2021-04-06T03:04:00.000Z
include/misc/xmlwrapp/errors.hpp
ncbi/ncbi-xmlwrapp
d5c25d7b911413fe4dffd408903e5ce06a68636e
[ "BSD-3-Clause" ]
null
null
null
include/misc/xmlwrapp/errors.hpp
ncbi/ncbi-xmlwrapp
d5c25d7b911413fe4dffd408903e5ce06a68636e
[ "BSD-3-Clause" ]
4
2018-01-18T21:44:47.000Z
2020-12-13T14:38:18.000Z
/* $Id: errors.hpp 487761 2015-12-21 19:43:34Z satskyse $ * =========================================================================== * * PUBLIC DOMAIN NOTICE * National Center for Biotechnology Information * * This software/database is a "United States Government Work...
27.052
79
0.630046
[ "object" ]
f88fea95a7e871592f9223e26ce781b7c41322f9
8,265
cpp
C++
SAI-P4-BM/sai_adapter/src/sailag.cpp
bocon13/stratum-sonic
9be75505869ee81d30ef9b65276f7d55f495658f
[ "Apache-2.0" ]
null
null
null
SAI-P4-BM/sai_adapter/src/sailag.cpp
bocon13/stratum-sonic
9be75505869ee81d30ef9b65276f7d55f495658f
[ "Apache-2.0" ]
null
null
null
SAI-P4-BM/sai_adapter/src/sailag.cpp
bocon13/stratum-sonic
9be75505869ee81d30ef9b65276f7d55f495658f
[ "Apache-2.0" ]
null
null
null
#include "sai_adapter.h" sai_status_t sai_adapter::create_lag(sai_object_id_t *lag_id, sai_object_id_t switch_id, uint32_t attr_count, const sai_attribute_t *attr_list) { Lag_obj *lag = new Lag_obj(sai_id_m...
43.5
132
0.69026
[ "vector" ]
f893eb34be42c54dc6c3668aa7e302672c8ec848
21,888
cpp
C++
src/LMR/cpm_ParaManagerLMR.cpp
jorji/CPMlib
7ba683d1abc60f11bafcc5732da831278b002afa
[ "BSD-2-Clause" ]
4
2015-03-17T17:30:10.000Z
2019-01-31T15:13:59.000Z
src/LMR/cpm_ParaManagerLMR.cpp
jorji/CPMlib
7ba683d1abc60f11bafcc5732da831278b002afa
[ "BSD-2-Clause" ]
null
null
null
src/LMR/cpm_ParaManagerLMR.cpp
jorji/CPMlib
7ba683d1abc60f11bafcc5732da831278b002afa
[ "BSD-2-Clause" ]
4
2015-12-09T02:42:29.000Z
2022-03-18T09:03:28.000Z
/* ################################################################################### # # CPMlib - Computational space Partitioning Management library # # Copyright (c) 2012-2014 Institute of Industrial Science (IIS), The University of Tokyo. # All rights reserved. # # Copyright (c) 2014-2016 Advanced Institute for Co...
29.106383
108
0.571774
[ "vector" ]
f89454a7f9d185af490114f1076c4cb6a2a56267
13,096
hh
C++
dune/gdt/local/finite-elements/wrapper.hh
pymor/dune-gdt
fabc279a79e7362181701866ce26133ec40a05e0
[ "BSD-2-Clause" ]
4
2018-10-12T21:46:08.000Z
2020-08-01T18:54:02.000Z
dune/gdt/local/finite-elements/wrapper.hh
dune-community/dune-gdt
fabc279a79e7362181701866ce26133ec40a05e0
[ "BSD-2-Clause" ]
154
2016-02-16T13:50:54.000Z
2021-12-13T11:04:29.000Z
dune/gdt/local/finite-elements/wrapper.hh
dune-community/dune-gdt
fabc279a79e7362181701866ce26133ec40a05e0
[ "BSD-2-Clause" ]
5
2016-03-02T10:11:20.000Z
2020-02-08T03:56:24.000Z
// This file is part of the dune-gdt project: // https://github.com/dune-community/dune-gdt // Copyright 2010-2018 dune-gdt developers and contributors. All rights reserved. // License: Dual licensed as BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) // or GPL-2.0+ (http://opensource.org/lice...
32.822055
119
0.723274
[ "vector" ]
f89649f91db1a67634f2024a4646d26aa83bd984
11,476
cpp
C++
Tools/NewCacheSimulator/NewCache.cpp
ronichoudhury/mtvx
379cfbfd7a55440e6862526c1817dfad5c6ce171
[ "Apache-2.0" ]
2
2018-07-30T17:02:50.000Z
2020-06-12T03:01:21.000Z
Tools/NewCacheSimulator/NewCache.cpp
waxlamp/mtvx
379cfbfd7a55440e6862526c1817dfad5c6ce171
[ "Apache-2.0" ]
null
null
null
Tools/NewCacheSimulator/NewCache.cpp
waxlamp/mtvx
379cfbfd7a55440e6862526c1817dfad5c6ce171
[ "Apache-2.0" ]
null
null
null
// Copyright 2012 A.N.M. Imroz Choudhury // // NewCache.cpp #include <Tools/NewCacheSimulator/NewCache.h> #include <Tools/NewCacheSimulator/NewCacheConstructor.h> using MTV::CacheLevel; using MTV::NewCache; using MTV::NewCacheConstructor; NewCache::ptr NewCache::newFromSpec(const std::string& specfile, TraceReader::p...
33.16763
157
0.617724
[ "object", "vector" ]
f89cc119ab608f7a8a498b1a1fc1c6ebced9e789
37,029
cpp
C++
TestModule.cpp
edbird/TestModule
e9cf1e5101f2f426db0be0ad901d6a16da366c11
[ "Apache-2.0" ]
null
null
null
TestModule.cpp
edbird/TestModule
e9cf1e5101f2f426db0be0ad901d6a16da366c11
[ "Apache-2.0" ]
null
null
null
TestModule.cpp
edbird/TestModule
e9cf1e5101f2f426db0be0ad901d6a16da366c11
[ "Apache-2.0" ]
null
null
null
#include "TestModule.h" // Preprocessor Options #define COUT_TIMESTAMP 0 #define COUT_TIMESTAMP_WAIT 0 // Standard library: #include <sstream> #include <stdexcept> #include <cmath> // Third party: // - Bayeux/datatools: //#include <datatools/service_manager.h> // - Bayeux/geomtools: //#include <geomtools/geomet...
40.074675
151
0.5106
[ "vector", "model", "transform" ]
f8a616c4ab74b405d78d7124daa553b1bf99f3ed
2,726
cpp
C++
applications/alchemedia/moc_alchemediaCanvas.cpp
rastullahs-lockenpracht/newton
99b82478f3de9ee7c8d17c8ebefe62e46283d857
[ "Zlib" ]
null
null
null
applications/alchemedia/moc_alchemediaCanvas.cpp
rastullahs-lockenpracht/newton
99b82478f3de9ee7c8d17c8ebefe62e46283d857
[ "Zlib" ]
null
null
null
applications/alchemedia/moc_alchemediaCanvas.cpp
rastullahs-lockenpracht/newton
99b82478f3de9ee7c8d17c8ebefe62e46283d857
[ "Zlib" ]
null
null
null
/**************************************************************************** ** Meta object code from reading C++ file 'alchemediaCanvas.h' ** ** Created: Thu Mar 31 07:04:00 2011 ** by: The Qt Meta Object Compiler version 62 (Qt 4.7.1) ** ** WARNING! All changes made in this file will be lost! ***********...
33.243902
111
0.618489
[ "object" ]
f8a69a14ce8cd45db9813b1cdac6a36739a85295
4,766
hpp
C++
DGP/BasicStringAlg.hpp
sidch/DGP
20a2d47563b6e36cd89bea0b1326e5267df8e9a6
[ "BSD-3-Clause" ]
14
2016-03-15T16:24:10.000Z
2022-01-06T13:43:17.000Z
a3/src/DGP/BasicStringAlg.hpp
meetps/CS-749
f1ddc4ed003b3a9f222f2a724d53076ddec697a6
[ "MIT" ]
null
null
null
a3/src/DGP/BasicStringAlg.hpp
meetps/CS-749
f1ddc4ed003b3a9f222f2a724d53076ddec697a6
[ "MIT" ]
5
2017-04-12T17:40:57.000Z
2022-01-06T13:43:20.000Z
//============================================================================ // // DGP: Digital Geometry Processing toolkit // Copyright (C) 2016, Siddhartha Chaudhuri // // This software is covered by a BSD license. Portions derived from other // works are covered by their respective licenses. For full licensing // ...
29.602484
128
0.685271
[ "geometry" ]
f8ae0ce81b32d1bcbd0cf7cac423f7698f45dbc1
15,564
hpp
C++
dev/Basic/shared/database/dao/SqlAbstractDao.hpp
gusugusu1018/simmobility-prod
d30a5ba353673f8fd35f4868c26994a0206a40b6
[ "MIT" ]
50
2018-12-21T08:21:38.000Z
2022-01-24T09:47:59.000Z
dev/Basic/shared/database/dao/SqlAbstractDao.hpp
gusugusu1018/simmobility-prod
d30a5ba353673f8fd35f4868c26994a0206a40b6
[ "MIT" ]
2
2018-12-19T13:42:47.000Z
2019-05-13T04:11:45.000Z
dev/Basic/shared/database/dao/SqlAbstractDao.hpp
gusugusu1018/simmobility-prod
d30a5ba353673f8fd35f4868c26994a0206a40b6
[ "MIT" ]
27
2018-11-28T07:30:34.000Z
2022-02-05T02:22:26.000Z
//Copyright (c) 2013 Singapore-MIT Alliance for Research and Technology //Licensed under the terms of the MIT License, as described in the file: // license.txt (http://opensource.org/licenses/MIT) #pragma once #include <vector> #include <boost/algorithm/string.hpp> #include <boost/unordered_map.hpp> #include "soci...
29.759082
140
0.569519
[ "object", "vector", "model" ]
f8aee843e9e5c22da1c79e4386784e87fc289ea2
455
cpp
C++
300-longest-increasing-subsequence/300-longest-increasing-subsequence.cpp
shreydevep/DSA
688af414c1fada1b82a4b4e9506747352007c894
[ "MIT" ]
null
null
null
300-longest-increasing-subsequence/300-longest-increasing-subsequence.cpp
shreydevep/DSA
688af414c1fada1b82a4b4e9506747352007c894
[ "MIT" ]
null
null
null
300-longest-increasing-subsequence/300-longest-increasing-subsequence.cpp
shreydevep/DSA
688af414c1fada1b82a4b4e9506747352007c894
[ "MIT" ]
null
null
null
class Solution { public: int lengthOfLIS(vector<int>& nums) { vector<int> pseudo_lis; for(int i=0;i<nums.size();++i){ auto itr = lower_bound(pseudo_lis.begin(),pseudo_lis.end(),nums[i]); if(itr == pseudo_lis.end()){ pseudo_lis.push_back(nums[...
25.277778
80
0.457143
[ "vector" ]
f8b86e2c8b6f3be511d334f3bc17964d36108beb
6,416
cpp
C++
test/unit/math/rev/mat/fun/multiply_lower_tri_self_transpose_test.cpp
jrmie/math
2850ec262181075a5843968e805dc9ad1654e069
[ "BSD-3-Clause" ]
1
2019-09-06T15:53:17.000Z
2019-09-06T15:53:17.000Z
test/unit/math/rev/mat/fun/multiply_lower_tri_self_transpose_test.cpp
jrmie/math
2850ec262181075a5843968e805dc9ad1654e069
[ "BSD-3-Clause" ]
8
2019-01-17T18:51:16.000Z
2019-01-17T18:51:39.000Z
test/unit/math/rev/mat/fun/multiply_lower_tri_self_transpose_test.cpp
jrmie/math
2850ec262181075a5843968e805dc9ad1654e069
[ "BSD-3-Clause" ]
null
null
null
#include <stan/math/rev/mat.hpp> #include <gtest/gtest.h> #include <test/unit/math/rev/mat/fun/util.hpp> #include <test/unit/math/rev/mat/fun/jacobian.hpp> #include <test/unit/math/rev/mat/util.hpp> #include <vector> stan::math::matrix_v generate_large_L_tri_mat() { using stan::math::matrix_d; using stan::math::ma...
24.029963
79
0.580268
[ "vector" ]
f8c1435656b0099a4d8c4ea23975509ebc197fbe
1,402
cpp
C++
quick/Application.cpp
alexeylysenko/Styling
73935119cf39ba150833482a7c1ce4658fa2fb49
[ "MIT" ]
null
null
null
quick/Application.cpp
alexeylysenko/Styling
73935119cf39ba150833482a7c1ce4658fa2fb49
[ "MIT" ]
null
null
null
quick/Application.cpp
alexeylysenko/Styling
73935119cf39ba150833482a7c1ce4658fa2fb49
[ "MIT" ]
null
null
null
#include "Application.h" #include <QFontDatabase> #include <QLoggingCategory> #include <QQmlContext> #include <styleA/StyleA.h> #include <styleB/StyleB.h> // Q_INIT_RESOURCE can't be used in a namespace inline void initResources() { Q_INIT_RESOURCE(font); } void installFonts() { const QVector<QString> fonts{QLati...
29.829787
80
0.634807
[ "object" ]
f8c40007c2b12269aa037ef844a83867a04ba1dd
7,578
cpp
C++
dynmedias/src/main/jni/utility/media/AACUtility.cpp
yunsean/SharedLibrary
e3236a8daa7677d93b0aa011881838ad0ff82f77
[ "MIT" ]
1
2019-02-27T10:00:16.000Z
2019-02-27T10:00:16.000Z
dynmedias/src/main/jni/utility/media/AACUtility.cpp
yunsean/SharedLibrary
e3236a8daa7677d93b0aa011881838ad0ff82f77
[ "MIT" ]
null
null
null
dynmedias/src/main/jni/utility/media/AACUtility.cpp
yunsean/SharedLibrary
e3236a8daa7677d93b0aa011881838ad0ff82f77
[ "MIT" ]
null
null
null
#include "AACUtility.h" #include "BitReader.h" #include "BitWriter.h" CAACUtility::CAACUtility(void) : m_snAdtsHeader() , m_saAdtsData(nullptr) , m_szAdtsData(0) { } CAACUtility::~CAACUtility(void) { } bool CAACUtility::AesConfigToAdts(const unsigned char* const lpConfig, const int nSize, CSmartNal...
35.083333
128
0.617577
[ "object" ]
f8c5ea021cecccdf1efcb7e4f436aa0d7968a680
36,548
cpp
C++
experimental/skottie/Skottie.cpp
ndsol/subskia
9a8f6e5ffc6676281a4389aa1503ba6c4352eaca
[ "BSD-3-Clause" ]
null
null
null
experimental/skottie/Skottie.cpp
ndsol/subskia
9a8f6e5ffc6676281a4389aa1503ba6c4352eaca
[ "BSD-3-Clause" ]
null
null
null
experimental/skottie/Skottie.cpp
ndsol/subskia
9a8f6e5ffc6676281a4389aa1503ba6c4352eaca
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright 2017 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "Skottie.h" #include "SkCanvas.h" #include "SkottieAnimator.h" #include "SkottiePriv.h" #include "SkottieProperties.h" #include "SkData.h" #include "SkImage.h" #incl...
34.741445
148
0.608487
[ "geometry", "render", "shape", "vector", "model", "transform", "solid" ]
f8c90add34913e8b3b7e2ac2047d7189607e27d2
9,086
cpp
C++
Game/OGRE/PlugIns/ParticleFX/src/OgreRotationAffector.cpp
hackerlank/SourceCode
b702c9e0a9ca5d86933f3c827abb02a18ffc9a59
[ "MIT" ]
4
2021-07-31T13:56:01.000Z
2021-11-13T02:55:10.000Z
Game/OGRE/PlugIns/ParticleFX/src/OgreRotationAffector.cpp
shacojx/SourceCodeGameTLBB
e3cea615b06761c2098a05427a5f41c236b71bf7
[ "MIT" ]
null
null
null
Game/OGRE/PlugIns/ParticleFX/src/OgreRotationAffector.cpp
shacojx/SourceCodeGameTLBB
e3cea615b06761c2098a05427a5f41c236b71bf7
[ "MIT" ]
7
2021-08-31T14:34:23.000Z
2022-01-19T08:25:58.000Z
/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2005 The OGRE Team Also see acknowledgements in Readme.html This program is free software; ...
40.382222
109
0.588158
[ "object" ]
f8d5a2a878f315cced4fbcce2e65e5f71ec64126
3,827
cxx
C++
src/Reco/GlastPropagatorSvc.cxx
fermi-lat/GlastSvc
40c7b546830f820d5bc527c3a553a2af802412cc
[ "BSD-3-Clause" ]
null
null
null
src/Reco/GlastPropagatorSvc.cxx
fermi-lat/GlastSvc
40c7b546830f820d5bc527c3a553a2af802412cc
[ "BSD-3-Clause" ]
null
null
null
src/Reco/GlastPropagatorSvc.cxx
fermi-lat/GlastSvc
40c7b546830f820d5bc527c3a553a2af802412cc
[ "BSD-3-Clause" ]
null
null
null
/** * @class GlastPropagatorSvc * * @brief This service provides an interface for users to obtain the common * propagator tool. Several implementations of a propagator exist, this * tool will determine which to use and provide a mechanism for access to it. * * @author Tracy Usher * * $Header:...
27.934307
127
0.663183
[ "object" ]
f8d7f9624b1a268f57054f8a2bfb36f3d7c64c8e
8,304
cc
C++
Utilities/src/RoccoR.cc
dr-stringfellow/SUEPProd
23080a1cdbca6692ed279d43e5b4ae4ae12c91c5
[ "MIT" ]
null
null
null
Utilities/src/RoccoR.cc
dr-stringfellow/SUEPProd
23080a1cdbca6692ed279d43e5b4ae4ae12c91c5
[ "MIT" ]
null
null
null
Utilities/src/RoccoR.cc
dr-stringfellow/SUEPProd
23080a1cdbca6692ed279d43e5b4ae4ae12c91c5
[ "MIT" ]
null
null
null
#ifndef ElectroWeakAnalysis_RoccoR #define ElectroWeakAnalysis_RoccoR #include <fstream> #include <sstream> #include <stdexcept> #include "SUEPProd/Utilities/interface/RoccoR.h" const double CrystalBall::pi = 3.14159; const double CrystalBall::sqrtPiOver2 = sqrt(CrystalBall::pi/2.0); const double CrystalBall::sqrt2 =...
27.22623
125
0.568882
[ "vector" ]
f8de08f84c7b9d5636e7d54362d98e9216941f5e
518
cpp
C++
exercises/6/Seminar_04 & 05 - Car Dealership/Source.cpp
triffon/oop-2019-20
db199631d59ddefdcc0c8eb3d689de0095618f92
[ "MIT" ]
19
2020-02-21T16:46:50.000Z
2022-01-26T19:59:49.000Z
exercises/6/Seminar_04 & 05 - Car Dealership/Source.cpp
triffon/oop-2019-20
db199631d59ddefdcc0c8eb3d689de0095618f92
[ "MIT" ]
1
2020-03-14T08:09:45.000Z
2020-03-14T08:09:45.000Z
exercises/6/Seminar_04 & 05 - Car Dealership/Source.cpp
triffon/oop-2019-20
db199631d59ddefdcc0c8eb3d689de0095618f92
[ "MIT" ]
11
2020-02-23T12:29:58.000Z
2021-04-11T08:30:12.000Z
#include <iostream> #include "Car.h" int main() { // Дебъгнете това създаване на инстанции EngineDetails ed( 200, 200, EngineType::Petrol ); VisualDetails vd( 5, true, "chernooo" ); ManufactureDetails md( "name", "model", 2020 ); Car car( ed, vd, md, true, 20000000 ); /* След това дебъгнете това създаване на ...
22.521739
57
0.662162
[ "model" ]
f8deda67e3d7a96c581101e344d354097d2e471b
444
hpp
C++
math/and_convolution.hpp
hotman78/cpplib
c2f85c8741cdd0b731a5aa828b28b38c70c8d699
[ "CC0-1.0" ]
null
null
null
math/and_convolution.hpp
hotman78/cpplib
c2f85c8741cdd0b731a5aa828b28b38c70c8d699
[ "CC0-1.0" ]
null
null
null
math/and_convolution.hpp
hotman78/cpplib
c2f85c8741cdd0b731a5aa828b28b38c70c8d699
[ "CC0-1.0" ]
null
null
null
template<typename T> vector<T> and_conv(vector<T>s,vector<T>t,int n){ auto zeta=[](vector<T>& f,int n){ for(int i=0;i<n;++i){ for(int j=0;j<(1<<n);++j){ if((j&(1<<i))==0)f[j]+=f[j^(1<<i)]; } } }; auto mebius=[](vector<T>& f,int n){ for(int i=0;i<n;++i){ for(int j=0;j<(1<<n);++j){ if((j&(1<<i))...
20.181818
48
0.466216
[ "vector" ]
f8e134e89fd292510119be6a6378e4abf0975fc9
6,933
cpp
C++
src/vscp/daemon/win32/vscpd.cpp
nanocortex/vscp
0b1a51a35a886921179a8112c592547f84c9771a
[ "CC-BY-3.0" ]
null
null
null
src/vscp/daemon/win32/vscpd.cpp
nanocortex/vscp
0b1a51a35a886921179a8112c592547f84c9771a
[ "CC-BY-3.0" ]
null
null
null
src/vscp/daemon/win32/vscpd.cpp
nanocortex/vscp
0b1a51a35a886921179a8112c592547f84c9771a
[ "CC-BY-3.0" ]
null
null
null
// vscpd.cpp : Defines the class behaviors for the application. // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License // as published by the Free Software Foundation; either version // 2 of the License, or (at your option) any later version. /...
25.583026
142
0.573056
[ "object" ]
25c994f2f9d39c2bd15ec20bd7e25bcd9ad58fd6
2,115
cpp
C++
Code/cPers/cPers/PersistenceIO.cpp
HuXiaoling/TopoNet
5cb98177de50a3694f5886137ff7c6f55fd51493
[ "MIT" ]
73
2019-12-22T03:09:27.000Z
2022-03-28T03:13:46.000Z
Code/cPers/cPers/PersistenceIO.cpp
HuXiaoling/TopoNet
5cb98177de50a3694f5886137ff7c6f55fd51493
[ "MIT" ]
13
2019-12-17T06:02:14.000Z
2022-02-16T09:04:19.000Z
Code/cPers/cPers/PersistenceIO.cpp
HuXiaoling/TopoNet
5cb98177de50a3694f5886137ff7c6f55fd51493
[ "MIT" ]
14
2020-01-02T06:16:02.000Z
2021-10-30T17:12:39.000Z
#include "PersistenceIO.h" /************************************************************************/ /* Save persistence values to binary file */ /************************************************************************/ int savePersistenceResults(const char *fileName,unsigned int *data...
22.263158
105
0.6
[ "vector" ]
25cbdd53c677bd2492c6da6b124ca53a5d16cec4
1,306
cpp
C++
codes/kickstart/R_2022_A/2.cpp
chessbot108/solved-problems
0945be829a8ea9f0d5896c89331460d70d076691
[ "MIT" ]
null
null
null
codes/kickstart/R_2022_A/2.cpp
chessbot108/solved-problems
0945be829a8ea9f0d5896c89331460d70d076691
[ "MIT" ]
null
null
null
codes/kickstart/R_2022_A/2.cpp
chessbot108/solved-problems
0945be829a8ea9f0d5896c89331460d70d076691
[ "MIT" ]
null
null
null
//misaka will carry me to master #include <iostream> #include <cstdio> #include <cstring> #include <cmath> #include <utility> #include <cassert> #include <algorithm> #include <vector> #include <functional> #include <numeric> #include <set> #include <map> #define ll long long #define lb long double #define sz(vec) ((i...
16.325
49
0.538285
[ "vector" ]
25dce120f04d8acfd832c0b4c47364d106c4831f
1,539
cpp
C++
android-31/java/security/spec/ECFieldF2m.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-31/java/security/spec/ECFieldF2m.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-29/java/security/spec/ECFieldF2m.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#include "../../../JIntArray.hpp" #include "../../../JObject.hpp" #include "../../math/BigInteger.hpp" #include "./ECFieldF2m.hpp" namespace java::security::spec { // Fields // QJniObject forward ECFieldF2m::ECFieldF2m(QJniObject obj) : JObject(obj) {} // Constructors ECFieldF2m::ECFieldF2m(jint arg0) : JOb...
19
66
0.649773
[ "object" ]
25e9866ba358a7c29b41804ad7d6db61195da029
5,822
cc
C++
aux/broker/tests/cpp/publisher.cc
zpx2012/zeek_3.0.8
7a912ebbdd0871838c7fb35538fef467279ec1fe
[ "Apache-2.0", "CC0-1.0", "MIT" ]
1
2021-03-06T19:51:07.000Z
2021-03-06T19:51:07.000Z
aux/broker/tests/cpp/publisher.cc
zpx2012/zeek_3.0.8
7a912ebbdd0871838c7fb35538fef467279ec1fe
[ "Apache-2.0", "CC0-1.0", "MIT" ]
null
null
null
aux/broker/tests/cpp/publisher.cc
zpx2012/zeek_3.0.8
7a912ebbdd0871838c7fb35538fef467279ec1fe
[ "Apache-2.0", "CC0-1.0", "MIT" ]
null
null
null
// This unit test is a variation of the `core` unit test that uses a // `publisher` instead of an event-based `driver` actor. #define SUITE publisher #include "test.hpp" #include <caf/actor.hpp> #include <caf/behavior.hpp> #include <caf/downstream.hpp> #include <caf/error.hpp> #include <caf/exit_reason.hpp> #include ...
30.804233
83
0.6326
[ "vector" ]