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
b9c03f1c8a04a6657852bc00c750c769d9467d3a
3,548
cpp
C++
examples/test-usart-dma.cpp
iperry/libmaple
75efbd356e0465822abb4d901aa199a67dd5548e
[ "MIT" ]
1
2017-08-15T09:02:25.000Z
2017-08-15T09:02:25.000Z
examples/test-usart-dma.cpp
sharebrained/libmaple
910eae43390dcfa108eb9a57a1132d76e5815954
[ "MIT" ]
null
null
null
examples/test-usart-dma.cpp
sharebrained/libmaple
910eae43390dcfa108eb9a57a1132d76e5815954
[ "MIT" ]
null
null
null
/** * @file test-usart-dma.cpp * @author Marti Bolivar <mbolivar@leaflabs.com> * * Simple test of DMA used with a USART receiver. * * Configures a USART receiver for use with DMA. Received bytes are * placed into a buffer, with an interrupt firing when the buffer is * full. At that point, the USART transmitte...
27.71875
77
0.665727
[ "object" ]
b9c4b1c9b43fd1c72a61e116c77597350c0c0959
1,730
cpp
C++
examples/elasticity-membrane-3d/main.cpp
ellery85/sparselizard
7d09e97e9443a436d74cbd241b8466527edb9e2f
[ "MIT" ]
null
null
null
examples/elasticity-membrane-3d/main.cpp
ellery85/sparselizard
7d09e97e9443a436d74cbd241b8466527edb9e2f
[ "MIT" ]
null
null
null
examples/elasticity-membrane-3d/main.cpp
ellery85/sparselizard
7d09e97e9443a436d74cbd241b8466527edb9e2f
[ "MIT" ]
null
null
null
// This code simulates the static mechanical deflection of a 3D disk when a volume // force is applied. The disk is clamped at its outer face. #include "sparselizardbase.h" using namespace mathop; void sparselizard(void) { // The domain regions as defined in 'disk.geo': int vol = 1, sur = 2, top = 3; ...
27.03125
112
0.639884
[ "mesh", "shape", "vector", "3d" ]
b9c8c2d4629592767c9fd273fc06df7f22964a66
3,685
hpp
C++
game/include/GameFiles/GameShared.hpp
fromasmtodisasm/BlackBox
36b4fa56e62a81d9483e76f1272b1203981b97fe
[ "MIT" ]
1
2019-12-10T00:37:05.000Z
2019-12-10T00:37:05.000Z
game/include/GameFiles/GameShared.hpp
fromasmtodisasm/BlackBox
36b4fa56e62a81d9483e76f1272b1203981b97fe
[ "MIT" ]
3
2020-02-17T21:12:09.000Z
2022-01-19T10:28:02.000Z
game/include/GameFiles/GameShared.hpp
fromasmtodisasm/BlackBox
36b4fa56e62a81d9483e76f1272b1203981b97fe
[ "MIT" ]
3
2019-03-14T16:28:47.000Z
2020-05-17T20:42:55.000Z
////////////////////////////////////////////////////////////////////// // // Crytek Source code // Copyright (c) Crytek 2001-2004 // // File: GameShared.h // Description: Stuff shared by game' source files. // // History: // - August 9, 2001: Created by Alberto Demichelis // - February 2005: Modified by Marco Cor...
29.015748
94
0.637449
[ "vector" ]
844eae3136c1d260a6842de1705f3bafcbbb3353
477
cpp
C++
HelloWorld/Engine/CircleCollider2D.cpp
tcmxx/Box2D-master
3bf6fe9a5cb0bf2de78240c344235401f21007fd
[ "Zlib" ]
null
null
null
HelloWorld/Engine/CircleCollider2D.cpp
tcmxx/Box2D-master
3bf6fe9a5cb0bf2de78240c344235401f21007fd
[ "Zlib" ]
null
null
null
HelloWorld/Engine/CircleCollider2D.cpp
tcmxx/Box2D-master
3bf6fe9a5cb0bf2de78240c344235401f21007fd
[ "Zlib" ]
null
null
null
#include "CircleCollider2D.h" CircleCollider2D::CircleCollider2D(){ shapeInitialShape.m_p.SetZero(); shapeInitialShape.m_radius = 1; } void CircleCollider2D::SetCircle(float radius, b2Vec2 center) { if (fixture != nullptr) { throw std::exception("Can not change shape after rigid body attached"); } else { s...
22.714286
74
0.750524
[ "shape" ]
845426a914b43990ff8e7ef12f06890574b9198b
3,088
cpp
C++
modules/camera/3_4/metadata/tagged_control_options_test.cpp
lighthouse-os/hardware_libhardware
c6fa046a69d9b1adf474cf5de58318b677801e49
[ "Apache-2.0" ]
null
null
null
modules/camera/3_4/metadata/tagged_control_options_test.cpp
lighthouse-os/hardware_libhardware
c6fa046a69d9b1adf474cf5de58318b677801e49
[ "Apache-2.0" ]
null
null
null
modules/camera/3_4/metadata/tagged_control_options_test.cpp
lighthouse-os/hardware_libhardware
c6fa046a69d9b1adf474cf5de58318b677801e49
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
29.980583
80
0.739637
[ "vector" ]
8457fba2b2a8bf383752e2b79948fab69f52ff89
764
cpp
C++
src/models/common.cpp
jankdc/glcookbook
ee8f06e76407685de72fb14a80f56223def3fcd4
[ "MIT" ]
1
2015-04-30T16:51:52.000Z
2015-04-30T16:51:52.000Z
src/models/common.cpp
jankdc/glcookbook
ee8f06e76407685de72fb14a80f56223def3fcd4
[ "MIT" ]
null
null
null
src/models/common.cpp
jankdc/glcookbook
ee8f06e76407685de72fb14a80f56223def3fcd4
[ "MIT" ]
null
null
null
#include "common.hpp" #include "error.hpp" #include <fstream> std::string glc::makeString(std::string path) { std::ifstream file(path); try { file.exceptions(std::ifstream::failbit); } catch (const std::ios_base::failure& err) { throw glc::MalformedFilePath(path); } f...
19.589744
77
0.556283
[ "vector" ]
8458552913a1a62166b07fc94fe03586abc59be2
142,084
cc
C++
vowpalwabbit/searn.cc
MBNTHUEE404/vowpal_wabbit
63b182d33295f7110e2b3c5bd25e310b032c5389
[ "BSD-3-Clause" ]
null
null
null
vowpalwabbit/searn.cc
MBNTHUEE404/vowpal_wabbit
63b182d33295f7110e2b3c5bd25e310b032c5389
[ "BSD-3-Clause" ]
null
null
null
vowpalwabbit/searn.cc
MBNTHUEE404/vowpal_wabbit
63b182d33295f7110e2b3c5bd25e310b032c5389
[ "BSD-3-Clause" ]
1
2021-10-05T20:48:13.000Z
2021-10-05T20:48:13.000Z
/* Copyright (c) by respective owners including Yahoo!, Microsoft, and individual contributors. All rights reserved. Released under a BSD (revised) license as described in the file LICENSE. */ #include <iostream> #include <float.h> #include <stdio.h> #include <math.h> #ifndef _WIN32 #include <sys/types.h> #include <u...
45.612841
371
0.61313
[ "vector", "model" ]
845b1b716b35a9684b0c3e0142d49a298d069d22
17,133
hpp
C++
cisco-ios-xe/ydk/models/cisco_ios_xe/OLD_CISCO_INTERFACES_MIB.hpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
17
2016-12-02T05:45:49.000Z
2022-02-10T19:32:54.000Z
cisco-ios-xe/ydk/models/cisco_ios_xe/OLD_CISCO_INTERFACES_MIB.hpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
2
2017-03-27T15:22:38.000Z
2019-11-05T08:30:16.000Z
cisco-ios-xe/ydk/models/cisco_ios_xe/OLD_CISCO_INTERFACES_MIB.hpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
11
2016-12-02T05:45:52.000Z
2019-11-07T08:28:17.000Z
#ifndef _OLD_CISCO_INTERFACES_MIB_ #define _OLD_CISCO_INTERFACES_MIB_ #include <memory> #include <vector> #include <string> #include <ydk/types.hpp> #include <ydk/errors.hpp> namespace cisco_ios_xe { namespace OLD_CISCO_INTERFACES_MIB { class OLDCISCOINTERFACESMIB : public ydk::Entity { public: OLDCISCOI...
43.59542
162
0.652484
[ "vector" ]
845bc794150a29a9fd337cac1fbc7ed9de6f198f
8,400
cpp
C++
src/renderer_camera.cpp
vasconssa/learnOpengGL2bgfx
f72af4c31e9e3a3cf1aa160f1a1ed99ddb4406a0
[ "MIT" ]
8
2020-04-24T03:48:12.000Z
2022-02-12T11:06:08.000Z
src/renderer_camera.cpp
vasconssa/learnOpengGL2bgfx
f72af4c31e9e3a3cf1aa160f1a1ed99ddb4406a0
[ "MIT" ]
1
2021-06-23T12:42:21.000Z
2021-06-23T12:42:21.000Z
src/renderer_camera.cpp
vasconssa/learnOpengGL2bgfx
f72af4c31e9e3a3cf1aa160f1a1ed99ddb4406a0
[ "MIT" ]
2
2021-06-12T13:22:32.000Z
2022-02-06T05:42:44.000Z
//#define STB_IMAGE_IMPLEMENTATION #include "shader_manager.h" #include "renderer_coord_system.h" #include <bgfx/bgfx.h> #include <bx/math.h> #include "core/memory/memory.inl" #include "core/memory/globals.h" #include "core/containers/types.h" #include "core/containers/array.inl" #include "core/math/types.h" #include "...
38.53211
130
0.527143
[ "render", "object", "model" ]
845e65c4b65dfe11867a3eece66d14bbd887f955
37,686
cpp
C++
src/mongo/db/index/expression_keys_private.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
src/mongo/db/index/expression_keys_private.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
src/mongo/db/index/expression_keys_private.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
/** * Copyright (C) 2018-present MongoDB, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the Server Side Public License, version 1, * as published by MongoDB, Inc. * * This program is distributed in the hope that it will be useful, * but W...
44.284371
100
0.524731
[ "geometry", "object", "shape", "vector" ]
845f92b151f020c93ef19527b7128c3c2a06b5f7
4,454
cpp
C++
src/view/Sequencer.cpp
SVModular/DrumKit
58755a32837522a64b6b886b764dbefc9a2b8fd3
[ "CC0-1.0" ]
5
2020-02-24T06:11:19.000Z
2021-12-30T09:54:26.000Z
src/view/Sequencer.cpp
SVModular/DrumKit
58755a32837522a64b6b886b764dbefc9a2b8fd3
[ "CC0-1.0" ]
5
2020-01-12T17:10:24.000Z
2021-12-31T19:40:21.000Z
src/view/Sequencer.cpp
SVModular/DrumKit
58755a32837522a64b6b886b764dbefc9a2b8fd3
[ "CC0-1.0" ]
1
2022-02-05T22:53:37.000Z
2022-02-05T22:53:37.000Z
#include "../controller/Sequencer.hpp" #include "../component/pad.hpp" #include "../component/knob.hpp" #include "../component/port.hpp" #include "../component/display.hpp" #include "../component/button.hpp" #include "../component/light.hpp" struct SequencerWidget : ModuleWidget { SequencerWidget(SequencerModule *m...
34.261538
107
0.605074
[ "model" ]
84607b1dd5785726c253776171b74ea3da338a76
481
cpp
C++
PBR/Materials/CubeMap.cpp
bbtarzan12/Mesh-Viewer
6e802348887760ae5062653e849d23cb176fd98a
[ "MIT" ]
2
2020-02-15T17:16:17.000Z
2020-09-26T20:10:47.000Z
PBR/Materials/CubeMap.cpp
bbtarzan12/Mesh-Viewer
6e802348887760ae5062653e849d23cb176fd98a
[ "MIT" ]
null
null
null
PBR/Materials/CubeMap.cpp
bbtarzan12/Mesh-Viewer
6e802348887760ae5062653e849d23cb176fd98a
[ "MIT" ]
null
null
null
#include "CubeMap.h" #include <imgui.h> CubeMap::CubeMap() :Material ( "Shaders/cubeMap_vert.glsl", "Shaders/cubeMap_frag.glsl", {"cubeMapTexture"}, false ) { } void CubeMap::Draw(const glm::mat4& model, const glm::mat4& view, const glm::mat4& projection) const { glm::mat4 newView = glm::mat4(glm::mat3(v...
15.516129
100
0.677755
[ "model" ]
8460d5764a45408a2b81be6f43a559a41de5cded
998
cpp
C++
src/rendering/circlerenderer2D.cpp
AHDiniz/Horrific-Engine
9bdade291790db1810bc72c98f8500115ecbcc43
[ "MIT" ]
null
null
null
src/rendering/circlerenderer2D.cpp
AHDiniz/Horrific-Engine
9bdade291790db1810bc72c98f8500115ecbcc43
[ "MIT" ]
null
null
null
src/rendering/circlerenderer2D.cpp
AHDiniz/Horrific-Engine
9bdade291790db1810bc72c98f8500115ecbcc43
[ "MIT" ]
null
null
null
#include "rendering/circlerenderer2D.h" #include "core/transform2D.h" #include "raylib.h" #define CIRCLE_SEGMENTS 256 namespace Horrific::Rendering { CircleRenderer2D::CircleRenderer2D(float radius, Color color) { m_Radius = radius; m_Color = color; } void CircleRenderer2D::Start() ...
24.95
103
0.589178
[ "render" ]
84618be49d43f6b20a5e5494bcd24f9f7c32bad6
1,304
cpp
C++
codeforces/356/C/test.cpp
rdragos/work
aed4c9ace3fad6b0c63caadee69de2abde108b40
[ "MIT" ]
2
2020-05-30T17:11:47.000Z
2021-09-25T08:16:48.000Z
codeforces/356/C/test.cpp
rdragos/work
aed4c9ace3fad6b0c63caadee69de2abde108b40
[ "MIT" ]
null
null
null
codeforces/356/C/test.cpp
rdragos/work
aed4c9ace3fad6b0c63caadee69de2abde108b40
[ "MIT" ]
1
2021-09-24T11:14:27.000Z
2021-09-24T11:14:27.000Z
#include <cstdio> #include <algorithm> #include <fstream> #include <iostream> #include <vector> #include <queue> #include <map> #include <cstring> #include <string> #include <set> #include <stack> #define pb push_back #define mp make_pair #define f first #define s second #define ll long long using namespace std; b...
15.710843
36
0.521472
[ "vector" ]
84665eef52352876480ba224edf19a77b73012e8
5,439
cpp
C++
Strings/Suffix Array.cpp
bazzyadb/all-code
cf3039641b5aa84b1c5b184a95d69bd4091974c9
[ "MIT" ]
1,639
2021-09-15T09:12:06.000Z
2022-03-31T22:58:57.000Z
Strings/Suffix Array.cpp
bazzyadb/all-code
cf3039641b5aa84b1c5b184a95d69bd4091974c9
[ "MIT" ]
16
2022-01-15T17:50:08.000Z
2022-01-28T12:55:21.000Z
Strings/Suffix Array.cpp
bazzyadb/all-code
cf3039641b5aa84b1c5b184a95d69bd4091974c9
[ "MIT" ]
444
2021-09-15T09:17:41.000Z
2022-03-29T18:21:46.000Z
#include<bits/stdc++.h> using namespace std; const int N = 3e5 + 9; void induced_sort(const vector<int> &vec, int val_range, vector<int> &SA, const vector<bool> &sl, const vector<int> &lms_idx) { vector<int> l(val_range, 0), r(val_range, 0); for (int c : vec) { if (c + 1 < val_range) ++l[c + 1]; ...
28.036082
128
0.441993
[ "vector" ]
8467b4768d3f6468a7587bde35fb48f92023236a
4,640
hpp
C++
include/nbla/function/deformable_convolution.hpp
daniel-falk/nnabla
3fe132ea52dc10521cc029a5d6ba8f565cf65ccf
[ "Apache-2.0" ]
2,792
2017-06-26T13:05:44.000Z
2022-03-28T07:55:26.000Z
include/nbla/function/deformable_convolution.hpp
daniel-falk/nnabla
3fe132ea52dc10521cc029a5d6ba8f565cf65ccf
[ "Apache-2.0" ]
138
2017-06-27T07:04:44.000Z
2022-02-28T01:37:15.000Z
include/nbla/function/deformable_convolution.hpp
daniel-falk/nnabla
3fe132ea52dc10521cc029a5d6ba8f565cf65ccf
[ "Apache-2.0" ]
380
2017-06-26T13:23:52.000Z
2022-03-25T16:51:30.000Z
// Copyright 2021 Sony Corporation. // Copyright 2021 Sony Group Corporation. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Un...
34.117647
79
0.622414
[ "vector" ]
846ae0f8b94d27a3fbb3f6a3aaffd44b33532f3b
3,696
cpp
C++
MaterialLib/MPL/Properties/CreateGasPressureDependentPermeability.cpp
garibay-j/ogs
33340f22e9dbe0b7ccc60f0c828c2a528737c81e
[ "BSD-3-Clause" ]
null
null
null
MaterialLib/MPL/Properties/CreateGasPressureDependentPermeability.cpp
garibay-j/ogs
33340f22e9dbe0b7ccc60f0c828c2a528737c81e
[ "BSD-3-Clause" ]
null
null
null
MaterialLib/MPL/Properties/CreateGasPressureDependentPermeability.cpp
garibay-j/ogs
33340f22e9dbe0b7ccc60f0c828c2a528737c81e
[ "BSD-3-Clause" ]
null
null
null
/** * \file * \copyright * Copyright (c) 2012-2022, OpenGeoSys Community (http://www.opengeosys.org) * Distributed under a Modified BSD License. * See accompanying file LICENSE.txt or * http://www.opengeosys.org/project/license * * Created on January 12, 2021, x:xx AM */ #...
39.741935
105
0.728084
[ "vector", "3d" ]
846afe761b2fe9d57b90de29b4c91b68252f1e8e
12,608
cpp
C++
core/string/translation_po.cpp
perezdouglas935/godot
4236d8a37136c9127184c1182372bca96de23ebb
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
null
null
null
core/string/translation_po.cpp
perezdouglas935/godot
4236d8a37136c9127184c1182372bca96de23ebb
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
null
null
null
core/string/translation_po.cpp
perezdouglas935/godot
4236d8a37136c9127184c1182372bca96de23ebb
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
null
null
null
/*************************************************************************/ /* translation_po.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
40.28115
273
0.669178
[ "vector" ]
846e72e85d9458809d641475bbdc39dd6765e27b
329,411
cxx
C++
com/ole32/stg/props/utest/testcase.cxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
com/ole32/stg/props/utest/testcase.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
com/ole32/stg/props/utest/testcase.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//+============================================================================ // // File: TestCase.cxx // // Description: // This file provides all of the actual test-cases for the // PropTest DRT. Each test is a function, with a "test_" // prefix. // //+====================...
36.195034
160
0.571347
[ "object", "vector" ]
847cc244dbd4c5a72496748695ff47a0b23b17cf
2,096
hpp
C++
3rdParty/boost/1.62.0/libs/hana/test/_include/auto/transform.hpp
sita1999/arangodb
6a4f462fa209010cd064f99e63d85ce1d432c500
[ "Apache-2.0" ]
18
2016-03-04T15:44:24.000Z
2021-12-31T11:06:25.000Z
3rdParty/boost/1.62.0/libs/hana/test/_include/auto/transform.hpp
lipper/arangodb
66ea1fd4946668192e3f0d1060f0844f324ad7b8
[ "Apache-2.0" ]
49
2016-02-29T17:59:52.000Z
2019-05-05T04:59:26.000Z
3rdParty/boost/1.62.0/libs/hana/test/_include/auto/transform.hpp
lipper/arangodb
66ea1fd4946668192e3f0d1060f0844f324ad7b8
[ "Apache-2.0" ]
3
2015-11-02T09:37:09.000Z
2017-05-05T06:38:49.000Z
// Copyright Louis Dionne 2013-2016 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) #ifndef BOOST_HANA_TEST_AUTO_TRANSFORM_HPP #define BOOST_HANA_TEST_AUTO_TRANSFORM_HPP #include <boost/hana/assert.hpp> #include <boost/han...
27.946667
87
0.616412
[ "transform" ]
8480d5a3a0b177e2e3f7ff07e3d5f9653aca6978
1,608
hpp
C++
SpecBit/include/gambit/SpecBit/SpecBit_DiracSingletDM_rollcall.hpp
sebhoof/gambit_1.5
f9a3f788e3331067c555ae1a030420e903c6fdcd
[ "Unlicense" ]
2
2020-09-08T20:05:27.000Z
2021-04-26T07:57:56.000Z
SpecBit/include/gambit/SpecBit/SpecBit_DiracSingletDM_rollcall.hpp
sebhoof/gambit_1.5
f9a3f788e3331067c555ae1a030420e903c6fdcd
[ "Unlicense" ]
9
2020-10-19T09:56:17.000Z
2021-05-28T06:12:03.000Z
SpecBit/include/gambit/SpecBit/SpecBit_DiracSingletDM_rollcall.hpp
sebhoof/gambit_1.5
f9a3f788e3331067c555ae1a030420e903c6fdcd
[ "Unlicense" ]
5
2020-09-08T02:23:34.000Z
2021-03-23T08:48:04.000Z
// GAMBIT: Global and Modular BSM Inference Tool // ********************************************* /// \file /// /// Rollcall declarations for module functions /// contained in SpecBit_DiracSingletDM.cpp /// /// ********************************************* /// /// Authors (add name and date if you modify): ///...
32.816327
96
0.677239
[ "object", "model" ]
8480e74728cfe79eaaa3c138904fd97c90cc7266
4,645
cpp
C++
codes/aux.cpp
NilLau/NilLau.github.io
e55768be0be4d6549b24c702554c11e64958d4c7
[ "MIT" ]
null
null
null
codes/aux.cpp
NilLau/NilLau.github.io
e55768be0be4d6549b24c702554c11e64958d4c7
[ "MIT" ]
6
2019-06-20T10:05:10.000Z
2019-07-08T04:53:01.000Z
codes/aux.cpp
117ami/117ami.github.io
e55768be0be4d6549b24c702554c11e64958d4c7
[ "MIT" ]
null
null
null
/** This file includes auxiliary functions such as print.. **/ #include <algorithm> #include <climits> #include <deque> #include <functional> #include <iostream> #include <map> #include <math.h> #include <numeric> #include <queue> #include <regex> #include <set> #include <stack> #include <stdio.h> #include <unorder...
24.447368
89
0.556082
[ "vector" ]
8482160c57ab975426d28452a40809a918a357c8
7,548
hpp
C++
src/main/cpp/Balau/Lang/Common/CodeSpan.hpp
borasoftware/balau
8bb82e9cbf7aa8193880eda1de5cbca4db1e1c14
[ "Apache-2.0" ]
6
2018-12-30T15:09:26.000Z
2020-04-20T09:27:59.000Z
src/main/cpp/Balau/Lang/Common/CodeSpan.hpp
borasoftware/balau
8bb82e9cbf7aa8193880eda1de5cbca4db1e1c14
[ "Apache-2.0" ]
null
null
null
src/main/cpp/Balau/Lang/Common/CodeSpan.hpp
borasoftware/balau
8bb82e9cbf7aa8193880eda1de5cbca4db1e1c14
[ "Apache-2.0" ]
2
2019-11-12T08:07:16.000Z
2019-11-29T11:19:47.000Z
// @formatter:off // // Balau core C++ library // // Copyright (C) 2008 Bora Software (contact@borasoftware.com) // // 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.apach...
27.955556
111
0.674351
[ "object" ]
8486a7c65f81adffeda7ec81a8a56c169063e104
9,245
cpp
C++
src/mongo/db/exec/sbe/expressions/sbe_regex_test.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
src/mongo/db/exec/sbe/expressions/sbe_regex_test.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
src/mongo/db/exec/sbe/expressions/sbe_regex_test.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
/** * Copyright (C) 2020-present MongoDB, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the Server Side Public License, version 1, * as published by MongoDB, Inc. * * This program is distributed in the hope that it will be useful, * but W...
45.541872
99
0.685127
[ "object" ]
84897636c12d687a553a32891450b81c5e91159e
2,701
cpp
C++
src/tagsdialog.cpp
ldraconus/NovelSmith
a0bcb04f701f58a35c9ff23a0119bf4bf2cc4534
[ "Apache-2.0" ]
null
null
null
src/tagsdialog.cpp
ldraconus/NovelSmith
a0bcb04f701f58a35c9ff23a0119bf4bf2cc4534
[ "Apache-2.0" ]
1
2020-09-13T18:55:33.000Z
2020-09-13T18:55:33.000Z
src/tagsdialog.cpp
ldraconus/BookSmith
a0bcb04f701f58a35c9ff23a0119bf4bf2cc4534
[ "Apache-2.0" ]
null
null
null
#include "tagsdialog.h" #include "ui_tagsdialog.h" #include "mainwindow.h" #include <QPushButton> TagsDialog::TagsDialog(Scene& s, QWidget *parent) : QDialog(parent), ui(new Ui::TagsDialog), _scene(&s) { ui->setupUi(this); MainWindow::Dialog& d = MainWindow::getMainWindow()->tagdialog(); QRec...
25.009259
133
0.608663
[ "geometry" ]
848ec34761755f931bb1bcc389ef08e441cde7ef
3,324
cpp
C++
Dark Basic Public Shared/Official Plugins/Dark Dynamix/Project files/NxuStream2/NXU_cooking.cpp
domydev/Dark-Basic-Pro
237fd8d859782cb27b9d5994f3c34bc5372b6c04
[ "MIT" ]
231
2018-01-28T00:06:56.000Z
2022-03-31T21:39:56.000Z
Dark Basic Public Shared/Official Plugins/Dark Dynamix/Project files/NxuStream2/NXU_cooking.cpp
domydev/Dark-Basic-Pro
237fd8d859782cb27b9d5994f3c34bc5372b6c04
[ "MIT" ]
9
2016-02-10T10:46:16.000Z
2017-12-06T17:27:51.000Z
Dark Basic Public Shared/Official Plugins/Dark Dynamix/Project files/NxuStream2/NXU_cooking.cpp
domydev/Dark-Basic-Pro
237fd8d859782cb27b9d5994f3c34bc5372b6c04
[ "MIT" ]
66
2018-01-28T21:54:52.000Z
2022-02-16T22:50:57.000Z
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <assert.h> #include "NXU_cooking.h" #include "NxPhysicsSDK.h" #include "NxPMap.h" #include "PhysXLoader.h" // if on the Windows platform and 2.5.0 or higher, use the versioned Cooking // interface via PhysXLoader #if defined(WIN32) || defined(LINUX) ...
17.134021
106
0.731949
[ "mesh" ]
848f01e7d90f9ede3e4686a8a3741cf1253aeb8a
27,112
hpp
C++
utilities/geometry/geometry.hpp
Cznielsen/symseg
b1c1e1e2f21f6a3d8b65e4f68d3516bc0bbbf06e
[ "BSD-3-Clause" ]
51
2017-05-15T15:16:19.000Z
2022-03-01T22:37:29.000Z
utilities/geometry/geometry.hpp
Cznielsen/symseg
b1c1e1e2f21f6a3d8b65e4f68d3516bc0bbbf06e
[ "BSD-3-Clause" ]
5
2017-05-31T05:32:53.000Z
2021-04-08T01:35:49.000Z
utilities/geometry/geometry.hpp
Cznielsen/symseg
b1c1e1e2f21f6a3d8b65e4f68d3516bc0bbbf06e
[ "BSD-3-Clause" ]
12
2017-08-08T17:43:07.000Z
2021-12-29T17:59:08.000Z
/*****************************************************************************/ /* Copyright (c) 2017, Aleksandrs Ecins */ /* All rights reserved. */ /* */ ...
44.592105
182
0.603681
[ "cad", "geometry", "vector", "3d" ]
84910108be2718ef9e0e546af2e3d6f4a93b3082
1,595
cpp
C++
BinarySearch/arrangingCoins.cpp
Sean-Lan/Armory
37ad6d1d8fd39c9844227123ea5114a54550a254
[ "MIT" ]
null
null
null
BinarySearch/arrangingCoins.cpp
Sean-Lan/Armory
37ad6d1d8fd39c9844227123ea5114a54550a254
[ "MIT" ]
null
null
null
BinarySearch/arrangingCoins.cpp
Sean-Lan/Armory
37ad6d1d8fd39c9844227123ea5114a54550a254
[ "MIT" ]
null
null
null
/** * * Sean * 2016-11-01 * * https://leetcode.com/problems/arranging-coins/ * * You have a total of n coins that you want to form in a staircase shape, where every k-th row must have exactly k coins. * * Given n, find the total number of full staircase rows that can be formed. * * n is a non-negative intege...
21.849315
122
0.551097
[ "shape" ]
84936ebdd2a1e6fd76c208d7b471ab74f1f164ca
22,391
cc
C++
shill/vpn/third_party_vpn_driver.cc
emersion/chromiumos-platform2
ba71ad06f7ba52e922c647a8915ff852b2d4ebbd
[ "BSD-3-Clause" ]
5
2019-01-19T15:38:48.000Z
2021-10-06T03:59:46.000Z
shill/vpn/third_party_vpn_driver.cc
emersion/chromiumos-platform2
ba71ad06f7ba52e922c647a8915ff852b2d4ebbd
[ "BSD-3-Clause" ]
null
null
null
shill/vpn/third_party_vpn_driver.cc
emersion/chromiumos-platform2
ba71ad06f7ba52e922c647a8915ff852b2d4ebbd
[ "BSD-3-Clause" ]
1
2019-02-15T23:05:30.000Z
2019-02-15T23:05:30.000Z
// Copyright 2018 The Chromium OS 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 "shill/vpn/third_party_vpn_driver.h" #include <fcntl.h> #include <unistd.h> #include <utility> #include <base/posix/eintr_wrapper.h> #inclu...
35.54127
80
0.680184
[ "vector" ]
8499220b453ff8d3928f288d7abed5f9fb53f946
880
cpp
C++
Model Algorithms/Greedy Algorithms/Minimum Number of Coins.cpp
UtkarshPathrabe/Competitive-Coding
ba322fbb1b88682d56a9b80bdd92a853f1caa84e
[ "MIT" ]
13
2021-09-02T07:30:02.000Z
2022-03-22T19:32:03.000Z
Model Algorithms/Greedy Algorithms/Minimum Number of Coins.cpp
UtkarshPathrabe/Competitive-Coding
ba322fbb1b88682d56a9b80bdd92a853f1caa84e
[ "MIT" ]
null
null
null
Model Algorithms/Greedy Algorithms/Minimum Number of Coins.cpp
UtkarshPathrabe/Competitive-Coding
ba322fbb1b88682d56a9b80bdd92a853f1caa84e
[ "MIT" ]
3
2021-08-24T16:06:22.000Z
2021-09-17T15:39:53.000Z
/* Problem: Given a value V, if we want to make change for V Rs, and we have infinite supply of each of the denominations in Indian currency, * i.e., we have infinite supply of { 1, 2, 5, 10, 20, 50, 100, 500, 1000} valued coins/notes, * what is the minimum number of coins and/or notes needed to make the change? */...
28.387097
142
0.611364
[ "vector" ]
84a099704b96a1167c7ceab3a5ac651d9859d3a6
14,660
cxx
C++
BRAINSCommonLib/TestSuite/DWIMetaDataDictionaryValidatorTest.cxx
pnlbwh/BRAINSTools
a2fe63ab5b795f03da140a4081d1fef6314dab95
[ "Apache-2.0" ]
null
null
null
BRAINSCommonLib/TestSuite/DWIMetaDataDictionaryValidatorTest.cxx
pnlbwh/BRAINSTools
a2fe63ab5b795f03da140a4081d1fef6314dab95
[ "Apache-2.0" ]
null
null
null
BRAINSCommonLib/TestSuite/DWIMetaDataDictionaryValidatorTest.cxx
pnlbwh/BRAINSTools
a2fe63ab5b795f03da140a4081d1fef6314dab95
[ "Apache-2.0" ]
1
2022-02-08T05:39:46.000Z
2022-02-08T05:39:46.000Z
/** * \author Ali Ghayoor * This test file creates an ITK vector image, * and writes the image to the disk in NRRD format. */ #include <itkMetaDataObject.h> #include <cmath> #include <cstdio> #include <itkImage.h> #include <itkImageFileWriter.h> #include <itkImageFileReader.h> #include <itkVectorImage.h> #include...
32.008734
119
0.619031
[ "object", "vector" ]
84a27dabc30b877e1d42da48dd3ce41685ff02b8
1,916
hpp
C++
verification/convergence.hpp
boeschf/gtbench
b05e56d71e77f541bc5a91e14556b94c447a38d5
[ "BSD-3-Clause" ]
null
null
null
verification/convergence.hpp
boeschf/gtbench
b05e56d71e77f541bc5a91e14556b94c447a38d5
[ "BSD-3-Clause" ]
null
null
null
verification/convergence.hpp
boeschf/gtbench
b05e56d71e77f541bc5a91e14556b94c447a38d5
[ "BSD-3-Clause" ]
null
null
null
/* * gtbench * * Copyright (c) 2014-2020, ETH Zurich * All rights reserved. * * Please, refer to the LICENSE file in the root directory. * SPDX-License-Identifier: BSD-3-Clause */ #pragma once #include <cmath> #include <iomanip> #include <iostream> #include <tuple> #include <vector> namespace verification { ...
26.985915
77
0.597077
[ "vector" ]
84a4662ed8a9c3399b965f075606dd6961d6c02a
3,125
cxx
C++
src/asiUI/salome/QDS_TextEdit.cxx
yeeeeeeti/3D_feature_extract
6297daa8afaac09aef9b44858e74fb2a95e1e7c5
[ "BSD-3-Clause" ]
null
null
null
src/asiUI/salome/QDS_TextEdit.cxx
yeeeeeeti/3D_feature_extract
6297daa8afaac09aef9b44858e74fb2a95e1e7c5
[ "BSD-3-Clause" ]
null
null
null
src/asiUI/salome/QDS_TextEdit.cxx
yeeeeeeti/3D_feature_extract
6297daa8afaac09aef9b44858e74fb2a95e1e7c5
[ "BSD-3-Clause" ]
null
null
null
// Copyright (C) 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE // // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // Lic...
24.606299
102
0.71264
[ "object" ]
84b68fa40ac8eb90278a62ff8211944908d282d2
14,028
cpp
C++
activemq-cpp/src/test/activemq/commands/ActiveMQBytesMessageTest.cpp
novomatic-tech/activemq-cpp
d6f76ede90d21b7ee2f0b5d4648e440e66d63003
[ "Apache-2.0" ]
87
2015-03-02T17:58:20.000Z
2022-02-11T02:52:52.000Z
activemq-cpp/src/test/activemq/commands/ActiveMQBytesMessageTest.cpp
novomatic-tech/activemq-cpp
d6f76ede90d21b7ee2f0b5d4648e440e66d63003
[ "Apache-2.0" ]
3
2017-06-14T15:21:50.000Z
2020-08-03T19:51:57.000Z
activemq-cpp/src/test/activemq/commands/ActiveMQBytesMessageTest.cpp
novomatic-tech/activemq-cpp
d6f76ede90d21b7ee2f0b5d4648e440e66d63003
[ "Apache-2.0" ]
71
2015-04-28T06:04:04.000Z
2022-03-15T13:34:06.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 ...
30.363636
80
0.552823
[ "vector" ]
84b77beb6892ba519cf0ae9bdfa824ded7e36319
1,501
cpp
C++
codeforces/123c.cpp
sogapalag/problems
0ea7d65448e1177f8b3f81124a82d187980d659c
[ "MIT" ]
1
2020-04-04T14:56:12.000Z
2020-04-04T14:56:12.000Z
codeforces/123c.cpp
sogapalag/problems
0ea7d65448e1177f8b3f81124a82d187980d659c
[ "MIT" ]
null
null
null
codeforces/123c.cpp
sogapalag/problems
0ea7d65448e1177f8b3f81124a82d187980d659c
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; using ll=long long; const long long INF = 0x3f3f3f3f3f3f3f3f; const int N = 111<<1; ll dp[N][N]; char s[N]; int T; ll query() { memset(dp, 0, sizeof dp); dp[0][0] = 1; for (int i = 0; i < T; i++) { for (int j = 0; j <= i; j++) { if (s[i]==...
22.742424
57
0.361759
[ "vector" ]
84b83407d6964b197f3ab85e0edc0f5bcc41b2c2
5,823
cpp
C++
src/fdm_xf/xf_Aerodynamics.cpp
paperoga-dev/mscsim
a5bd3b88745bf8d91e85fd001b0972662ff8e410
[ "MIT" ]
195
2019-12-01T00:21:06.000Z
2022-03-29T09:06:07.000Z
src/fdm_xf/xf_Aerodynamics.cpp
paperoga-dev/mscsim
a5bd3b88745bf8d91e85fd001b0972662ff8e410
[ "MIT" ]
4
2019-06-03T12:41:17.000Z
2021-01-30T21:47:00.000Z
src/fdm_xf/xf_Aerodynamics.cpp
paperoga-dev/mscsim
a5bd3b88745bf8d91e85fd001b0972662ff8e410
[ "MIT" ]
26
2019-12-01T02:42:26.000Z
2022-02-14T11:50:49.000Z
/****************************************************************************//* * Copyright (C) 2021 Marek M. Cel * * 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, ...
38.562914
117
0.561738
[ "model" ]
84b892f790032dc005560b51628b593038647446
2,641
cpp
C++
mdal/frmts/mdal_driver.cpp
bradh/MDAL
d0f7a3b7faaed3a2b0ed945af0cc76b99a295504
[ "MIT" ]
null
null
null
mdal/frmts/mdal_driver.cpp
bradh/MDAL
d0f7a3b7faaed3a2b0ed945af0cc76b99a295504
[ "MIT" ]
null
null
null
mdal/frmts/mdal_driver.cpp
bradh/MDAL
d0f7a3b7faaed3a2b0ed945af0cc76b99a295504
[ "MIT" ]
null
null
null
/* MDAL - Mesh Data Abstraction Library (MIT License) Copyright (C) 2018 Lutra Consulting Ltd. */ #include <string.h> #include "mdal_driver.hpp" #include "mdal_utils.hpp" #include "mdal_memory_data_model.hpp" MDAL::Driver::Driver( const std::string &name, const std::string &longName, ...
25.892157
163
0.667172
[ "mesh" ]
84c8e12d330bd361019889324d2f2178ff69d925
81,763
cc
C++
chrome/browser/page_load_metrics/observers/ad_metrics/ads_page_load_metrics_observer_browsertest.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/page_load_metrics/observers/ad_metrics/ads_page_load_metrics_observer_browsertest.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/page_load_metrics/observers/ad_metrics/ads_page_load_metrics_observer_browsertest.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2017 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 <string> #include "base/bind.h" #include "base/bind_helpers.h" #include "base/macros.h" #include "base/strings/strcat.h" #include "base/strings/...
42.763075
98
0.727676
[ "geometry", "render", "object", "vector" ]
84cb3f50bd6f04200cb553c56e09abb6afe968c9
4,002
cpp
C++
bazaar/Form/IniConfig.cpp
dreamsxin/ultimatepp
41d295d999f9ff1339b34b43c99ce279b9b3991c
[ "BSD-2-Clause" ]
2
2016-04-07T07:54:26.000Z
2020-04-14T12:37:34.000Z
bazaar/Form/IniConfig.cpp
dreamsxin/ultimatepp
41d295d999f9ff1339b34b43c99ce279b9b3991c
[ "BSD-2-Clause" ]
null
null
null
bazaar/Form/IniConfig.cpp
dreamsxin/ultimatepp
41d295d999f9ff1339b34b43c99ce279b9b3991c
[ "BSD-2-Clause" ]
null
null
null
#include "IniConfig.hpp" static bool __slash = false; // Изменяет значение флага в соответствии с установленными правилами, указывает, // что делать с текущим символом/буфером void Rule(int& flags, int cur, bool& skip, bool& complete) { complete = false; skip = false; bool string = flags / 1000 % 10 ==...
26.156863
81
0.538481
[ "vector" ]
84d30b17f8410bf29d592e6a9d0333227ead1cba
348
cpp
C++
OOP With C++/Chapter 6 'Constructers and Destructors'/debugging/6.4/main.cpp
idesign0/robotics
69a7961a563276fbf021814c0b4577d4c45f3eb8
[ "MIT" ]
2
2020-06-30T12:15:07.000Z
2020-10-07T16:02:08.000Z
OOP With C++/Chapter 6 'Constructers and Destructors'/debugging/6.4/main.cpp
idesign0/robotics
69a7961a563276fbf021814c0b4577d4c45f3eb8
[ "MIT" ]
null
null
null
OOP With C++/Chapter 6 'Constructers and Destructors'/debugging/6.4/main.cpp
idesign0/robotics
69a7961a563276fbf021814c0b4577d4c45f3eb8
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; class dynamic{ int *p; public: dynamic(){ p = new int(10); } dynamic(int v){ p = new int(v); } int display(){ return *p; } }; int main(){ dynamic p1,p2(9); cout << "Object p1 is : "; cout <<p1.display(); cout << "\nObject p...
15.130435
48
0.505747
[ "object" ]
84d81e22be3b950e2d3960d986136879599e4e99
4,494
cpp
C++
jobsubmission/src/controller/JobControllerClientJD.cpp
italiangrid/wms
5b2adda72ba13cf2a85ec488894c2024e155a4b5
[ "Apache-2.0" ]
1
2019-01-18T02:19:18.000Z
2019-01-18T02:19:18.000Z
jobsubmission/src/controller/JobControllerClientJD.cpp
italiangrid/wms
5b2adda72ba13cf2a85ec488894c2024e155a4b5
[ "Apache-2.0" ]
null
null
null
jobsubmission/src/controller/JobControllerClientJD.cpp
italiangrid/wms
5b2adda72ba13cf2a85ec488894c2024e155a4b5
[ "Apache-2.0" ]
null
null
null
/* Copyright (c) Members of the EGEE Collaboration. 2004. See http://www.eu-egee.org/partners/ for details on the copyright holders. 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.a...
28.624204
111
0.688251
[ "object" ]
84d9764d3e9c7933a92bd2b3b8c3631d57f50244
585
cpp
C++
Easy/70_Climbing_Stairs.cpp
yuhaitao1994/Learning_Leetcode_to_get_A_job
b379d7ef5125a26c7b963e37ffe21f7690e0ce40
[ "MIT" ]
null
null
null
Easy/70_Climbing_Stairs.cpp
yuhaitao1994/Learning_Leetcode_to_get_A_job
b379d7ef5125a26c7b963e37ffe21f7690e0ce40
[ "MIT" ]
null
null
null
Easy/70_Climbing_Stairs.cpp
yuhaitao1994/Learning_Leetcode_to_get_A_job
b379d7ef5125a26c7b963e37ffe21f7690e0ce40
[ "MIT" ]
null
null
null
#include<stdio.h> #include<stdlib.h> #include<string> #include<iostream> #include<stack> #include<vector> using namespace std; # a(n)=a(n-1,1)*2 + a(n-1,2)*1 class Solution { public: int climbStairs(int n) { if(n==1)return 1; if(n==2)return 2; int a1[n]; int a2[n]; a1[1]=1;...
16.714286
34
0.488889
[ "vector" ]
84debff2bdbe2b6ca77b05b6ded8374911530046
519
cc
C++
Dynamic-Programming/118-Pascal-Triangle/Solution.cc
MakiseJiang/LeetCode-Solutions
82f6afd30fdf1448887de2b2c170a4a7dce50fe7
[ "RSA-MD" ]
null
null
null
Dynamic-Programming/118-Pascal-Triangle/Solution.cc
MakiseJiang/LeetCode-Solutions
82f6afd30fdf1448887de2b2c170a4a7dce50fe7
[ "RSA-MD" ]
null
null
null
Dynamic-Programming/118-Pascal-Triangle/Solution.cc
MakiseJiang/LeetCode-Solutions
82f6afd30fdf1448887de2b2c170a4a7dce50fe7
[ "RSA-MD" ]
null
null
null
/** * Descriptions * @param Parameter * @return Return */ #include <string> #include <vector> using namespace std; class Solution { public: vector<vector<int>> generate(int numRows) { vector<vector<int>> dp(numRows); dp[0] = {1}; for (int i = 1; i < numRows; i++) { dp[i]...
19.961538
53
0.447013
[ "vector" ]
84e109158a947d033e07dca52d5ef603beae333a
4,737
cpp
C++
aws-cpp-sdk-transcribe/source/model/PiiEntityType.cpp
truthiswill/aws-sdk-cpp
6e854b6a8bc7945f150c3a11551196bda341962a
[ "Apache-2.0" ]
1
2022-02-12T08:09:30.000Z
2022-02-12T08:09:30.000Z
aws-cpp-sdk-transcribe/source/model/PiiEntityType.cpp
truthiswill/aws-sdk-cpp
6e854b6a8bc7945f150c3a11551196bda341962a
[ "Apache-2.0" ]
1
2021-10-14T16:57:00.000Z
2021-10-18T10:47:24.000Z
aws-cpp-sdk-transcribe/source/model/PiiEntityType.cpp
truthiswill/aws-sdk-cpp
6e854b6a8bc7945f150c3a11551196bda341962a
[ "Apache-2.0" ]
1
2021-11-09T11:58:03.000Z
2021-11-09T11:58:03.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/transcribe/model/PiiEntityType.h> #include <aws/core/utils/HashingUtils.h> #include <aws/core/Globals.h> #include <aws/core/utils/EnumParseOverflowContainer.h> using namespace Aws::Util...
33.595745
100
0.598902
[ "model" ]
84e1d273b97b49195081426e2ae872376a4fc9f3
3,050
cpp
C++
Implementations/00 - Contest/C++ Input and Output.cpp
wangdongx/USACO
b920acd85e1d1e633333b14b424026a4dfe42234
[ "MIT" ]
null
null
null
Implementations/00 - Contest/C++ Input and Output.cpp
wangdongx/USACO
b920acd85e1d1e633333b14b424026a4dfe42234
[ "MIT" ]
null
null
null
Implementations/00 - Contest/C++ Input and Output.cpp
wangdongx/USACO
b920acd85e1d1e633333b14b424026a4dfe42234
[ "MIT" ]
null
null
null
/** * Description: convenient functions for input / output * Source: * https://codeforces.com/blog/entry/65311 * https://codeforces.com/blog/entry/68809 * Verification: http://codeforces.com/contest/1045/problem/D */ namespace input { template<class T> void re(complex<T>& x); template<class T1, cl...
35.882353
97
0.534754
[ "vector" ]
84e37bd0cd379f3013ab963437a86d8d1fd5da9f
101,950
cpp
C++
measurer/hotspot-measurer/hotspot/src/share/vm/opto/escape.cpp
armoredsoftware/protocol
e3b0c1df8bc1027865caec6d117e5925f71f26d2
[ "BSD-3-Clause" ]
null
null
null
measurer/hotspot-measurer/hotspot/src/share/vm/opto/escape.cpp
armoredsoftware/protocol
e3b0c1df8bc1027865caec6d117e5925f71f26d2
[ "BSD-3-Clause" ]
null
null
null
measurer/hotspot-measurer/hotspot/src/share/vm/opto/escape.cpp
armoredsoftware/protocol
e3b0c1df8bc1027865caec6d117e5925f71f26d2
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
36.751983
160
0.606307
[ "object" ]
84e6c8b22f504b08d96d80dcf091540f3e5bb245
1,059
hpp
C++
src/leader/leader_connections.hpp
mrc-g/FogMon
dc040e5566d4fa6b0fca80fb46767f40f19b7c2e
[ "MIT" ]
7
2019-05-08T08:25:40.000Z
2021-06-19T10:42:56.000Z
src/leader/leader_connections.hpp
mrc-g/FogMon
dc040e5566d4fa6b0fca80fb46767f40f19b7c2e
[ "MIT" ]
5
2020-03-07T15:24:27.000Z
2022-03-12T00:49:53.000Z
src/leader/leader_connections.hpp
mrc-g/FogMon
dc040e5566d4fa6b0fca80fb46767f40f19b7c2e
[ "MIT" ]
4
2020-03-05T17:05:42.000Z
2021-11-21T16:00:56.000Z
#ifndef LEADER_CONNECTIONS_HPP_ #define LEADER_CONNECTIONS_HPP_ #include "follower_connections.hpp" #include "message.hpp" #include "leader_storage.hpp" #include "ileader.hpp" #include "ileader_connections.hpp" #include <thread> class LeaderConnections : public FollowerConnections, virtual public ILeaderConnections ...
26.475
89
0.749764
[ "vector" ]
84e6e7d0838281aae430ab3d3e1e1f587366d00d
16,565
cpp
C++
hdmap/src/main_zj.cpp
LiuFG/UpdatingHDmapByMonoCamera
dc8f06795a12669da1a8096e38851f78b2e26a62
[ "MIT" ]
79
2020-04-23T04:39:00.000Z
2022-03-08T09:50:09.000Z
HDMapProject/hdmap/src/main_zj.cpp
DeeCamp-Demo/HDMapProject
68e549661f6e583d09448bd0a0b122a6dc2e9fc9
[ "MIT" ]
1
2020-04-23T10:18:50.000Z
2020-04-23T10:18:50.000Z
HDMapProject/hdmap/src/main_zj.cpp
DeeCamp-Demo/HDMapProject
68e549661f6e583d09448bd0a0b122a6dc2e9fc9
[ "MIT" ]
29
2020-04-23T07:49:15.000Z
2022-03-26T11:48:53.000Z
#include "utils/consts.h" #include "utils/vo.h" #include "utils/container.h" int main() { // 确定东北天坐标系原点和header的入口 Utils::new3s_PointXYZ original; original.set_x(22.68085991); original.set_y(114.36478212); original.set_z(0); // 正常Tcb的值的初始化和计算只需进行一次,因此这里代码应该放在主函数里 cv::Mat mTbw = cv::Mat::eye...
48.864307
149
0.530033
[ "vector", "transform", "3d" ]
84e8b376e16208540d549339dbbab1b688c6ca7f
1,731
cpp
C++
ICPC_Mirrors/Nitc_8.0/NWERC-2013-Problems-Solutions-Testcases/problems/Card_Trick/solutions/tobi-rec.cpp
Shahraaz/CP_P_S5
b068ad02d34338337e549d92a14e3b3d9e8df712
[ "MIT" ]
null
null
null
ICPC_Mirrors/Nitc_8.0/NWERC-2013-Problems-Solutions-Testcases/problems/Card_Trick/solutions/tobi-rec.cpp
Shahraaz/CP_P_S5
b068ad02d34338337e549d92a14e3b3d9e8df712
[ "MIT" ]
null
null
null
ICPC_Mirrors/Nitc_8.0/NWERC-2013-Problems-Solutions-Testcases/problems/Card_Trick/solutions/tobi-rec.cpp
Shahraaz/CP_P_S5
b068ad02d34338337e549d92a14e3b3d9e8df712
[ "MIT" ]
null
null
null
// @EXPECTED_RESULTS@: CORRECT #include <iostream> #include <iomanip> #include <cstdlib> #include <vector> #define UNKNOWN -1.0 #define FOR(i,a,b) for (int i = (a); i < (b); i++) #define FORD(i,a,b) for (int i = int(b)-1; i >= (a); i--) #define sz(c) int((c).size()) using namespace std; vector<double> probs; // the ...
27.046875
80
0.617562
[ "vector" ]
84e99713d4f36a00aa13a878f36331062f1f1021
3,699
cpp
C++
src/Table.cpp
winstonspencer/zoo-app
dcafcef749658eeb6e4a988bb658d248eb4beaac
[ "Apache-2.0" ]
null
null
null
src/Table.cpp
winstonspencer/zoo-app
dcafcef749658eeb6e4a988bb658d248eb4beaac
[ "Apache-2.0" ]
null
null
null
src/Table.cpp
winstonspencer/zoo-app
dcafcef749658eeb6e4a988bb658d248eb4beaac
[ "Apache-2.0" ]
null
null
null
/** * @file Table.cpp * @author Winston Spencer * @brief A Generic Table Implementation * @version 0.1 * @date 2021-02-02 * * @copyright Copyright (c) 2021 * */ // Include class dependencies #include <vector> #include <string> #include <iostream> #include <iomanip> #include "Table.h" #include...
20.780899
113
0.59827
[ "object", "vector" ]
84ee1cf331de15a547a718f1735e9ee007ee4f14
6,100
cpp
C++
plugins/core/tools/src/testtool/testtool.cpp
MadManRises/Madgine
c9949bc9cf8b30d63db0da2382c9fbc5b60bcd0f
[ "MIT" ]
5
2018-05-16T14:09:34.000Z
2019-10-24T19:01:15.000Z
plugins/core/tools/src/testtool/testtool.cpp
MadManRises/Madgine
c9949bc9cf8b30d63db0da2382c9fbc5b60bcd0f
[ "MIT" ]
71
2017-06-20T06:41:42.000Z
2021-01-11T11:18:53.000Z
plugins/core/tools/src/testtool/testtool.cpp
MadManRises/Madgine
c9949bc9cf8b30d63db0da2382c9fbc5b60bcd0f
[ "MIT" ]
2
2018-05-16T13:57:25.000Z
2018-05-16T13:57:51.000Z
#include "../toolslib.h" #include "testtool.h" #include "imgui/imgui.h" #include "Meta/keyvalue/metatable_impl.h" #include "Meta/serialize/serializetable_impl.h" #include "Interfaces/window/windowapi.h" #include "Meta/math/atlas2.h" #include "im3d/im3d.h" #include "render/vertex.h" #include "Modules/uniquecompo...
31.770833
185
0.511967
[ "mesh", "render", "vector" ]
84ee7b4088beedc24386424bcdb085e394a56907
12,192
cpp
C++
export/windows/obj/src/lime/app/_Event_String_Int_Int_Void.cpp
seanbashaw/frozenlight
47c540d30d63e946ea2dc787b4bb602cc9347d21
[ "MIT" ]
null
null
null
export/windows/obj/src/lime/app/_Event_String_Int_Int_Void.cpp
seanbashaw/frozenlight
47c540d30d63e946ea2dc787b4bb602cc9347d21
[ "MIT" ]
null
null
null
export/windows/obj/src/lime/app/_Event_String_Int_Int_Void.cpp
seanbashaw/frozenlight
47c540d30d63e946ea2dc787b4bb602cc9347d21
[ "MIT" ]
null
null
null
// Generated by Haxe 3.4.7 #include <hxcpp.h> #ifndef INCLUDED_Reflect #include <Reflect.h> #endif #ifndef INCLUDED_lime_app__Event_String_Int_Int_Void #include <lime/app/_Event_String_Int_Int_Void.h> #endif HX_DEFINE_STACK_FRAME(_hx_pos_294dc27eb7af430e_47_new,"lime.app._Event_String_Int_Int_Void","new",0x02a8d8b6,"...
41.896907
217
0.725886
[ "object" ]
84eec622dd3301b6086718221b62e0c4cf40e6f8
10,593
cpp
C++
src/qt/qtwebkit/Source/WebCore/platform/gtk/FileSystemGtk.cpp
viewdy/phantomjs
eddb0db1d253fd0c546060a4555554c8ee08c13c
[ "BSD-3-Clause" ]
1
2015-05-27T13:52:20.000Z
2015-05-27T13:52:20.000Z
src/qt/qtwebkit/Source/WebCore/platform/gtk/FileSystemGtk.cpp
mrampersad/phantomjs
dca6f77a36699eb4e1c46f7600cca618f01b0ac3
[ "BSD-3-Clause" ]
null
null
null
src/qt/qtwebkit/Source/WebCore/platform/gtk/FileSystemGtk.cpp
mrampersad/phantomjs
dca6f77a36699eb4e1c46f7600cca618f01b0ac3
[ "BSD-3-Clause" ]
1
2022-02-18T10:41:38.000Z
2022-02-18T10:41:38.000Z
/* * Copyright (C) 2007, 2009 Holger Hans Peter Freyther * Copyright (C) 2008 Collabora, Ltd. * Copyright (C) 2008 Apple Inc. All rights reserved. * Portions Copyright (c) 2010 Motorola Mobility, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the te...
28.942623
126
0.699896
[ "vector" ]
84f486c37b22340ce74c5d5544e038755c28fd6d
44,335
cpp
C++
src/itemspropertiessplitter.cpp
kambala-decapitator/MedianXLOfflineTools
e29118a1dfc94700cb27a98d215e5e5d385ddf09
[ "MIT" ]
6
2021-11-05T23:20:23.000Z
2021-12-15T12:51:20.000Z
src/itemspropertiessplitter.cpp
kambala-decapitator/MedianXLOfflineTools
e29118a1dfc94700cb27a98d215e5e5d385ddf09
[ "MIT" ]
null
null
null
src/itemspropertiessplitter.cpp
kambala-decapitator/MedianXLOfflineTools
e29118a1dfc94700cb27a98d215e5e5d385ddf09
[ "MIT" ]
null
null
null
#include "itemspropertiessplitter.h" #include "propertiesviewerwidget.h" #include "itemdatabase.h" #include "itemstoragetableview.h" #include "itemstoragetablemodel.h" #include "itemparser.h" #include "resourcepathmanager.hpp" #include "itemsviewerdialog.h" #include "reversebitwriter.h" #include "characterinfo.hpp" #in...
39.09612
294
0.655464
[ "model" ]
84f7b93d5494f22c7a55b88e3a280d6cd9c6dd56
1,388
cpp
C++
oneEngine/oneGame/source/engine-common/dusk/controls/CDuskGUIDropdownList_GO.cpp
jonting/1Engine
f22ba31f08fa96fe6405ebecec4f374138283803
[ "BSD-3-Clause" ]
8
2017-12-08T02:59:31.000Z
2022-02-02T04:30:03.000Z
oneEngine/oneGame/source/engine-common/dusk/controls/CDuskGUIDropdownList_GO.cpp
jonting/1Engine
f22ba31f08fa96fe6405ebecec4f374138283803
[ "BSD-3-Clause" ]
2
2021-04-16T03:44:42.000Z
2021-08-30T06:48:44.000Z
oneEngine/oneGame/source/engine-common/dusk/controls/CDuskGUIDropdownList_GO.cpp
jonting/1Engine
f22ba31f08fa96fe6405ebecec4f374138283803
[ "BSD-3-Clause" ]
1
2021-04-16T02:09:54.000Z
2021-04-16T02:09:54.000Z
#include "../CDuskGUI.h" #include "CDuskGUIDropdownList_GO.h" #include "engine/state/CGameState.h" CDuskGUI::Handle CDuskGUI::CreateDropdownGameobjectList ( const Handle& parent ) { vElements.push_back( new CDuskGUIDropdownList_GO() ); vElements.back()->parent = parent; return Handle(vElements.size()-1); } void C...
28.326531
89
0.745677
[ "vector" ]
84fa7196d3e72698f476cc9718bf7121541f683d
48,819
cpp
C++
applications/FluidDynamicsApplication/custom_elements/alternative_d_vms_dem_coupled.cpp
clazaro/Kratos
b947b82c90dfcbf13d60511427f85990d36b90be
[ "BSD-4-Clause" ]
778
2017-01-27T16:29:17.000Z
2022-03-30T03:01:51.000Z
applications/FluidDynamicsApplication/custom_elements/alternative_d_vms_dem_coupled.cpp
clazaro/Kratos
b947b82c90dfcbf13d60511427f85990d36b90be
[ "BSD-4-Clause" ]
6,634
2017-01-15T22:56:13.000Z
2022-03-31T15:03:36.000Z
applications/FluidDynamicsApplication/custom_elements/alternative_d_vms_dem_coupled.cpp
clazaro/Kratos
b947b82c90dfcbf13d60511427f85990d36b90be
[ "BSD-4-Clause" ]
224
2017-02-07T14:12:49.000Z
2022-03-06T23:09:34.000Z
// | / | // ' / __| _` | __| _ \ __| // . \ | ( | | ( |\__ ` // _|\_\_| \__,_|\__|\___/ ____/ // Multi-Physics // // License: BSD License // Kratos default license: kratos/license.txt // // Main authors: Joaquin Gonzalez-Usua // // P...
49.01506
347
0.649604
[ "shape", "vector" ]
84fb13905622fd1e1d813a36953ed2922e2bdc79
18,216
cc
C++
src/Application.cc
Levi-Armstrong/ign-gui
c14dc67bbb61e2422737be6428ba5fb67aeba654
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/Application.cc
Levi-Armstrong/ign-gui
c14dc67bbb61e2422737be6428ba5fb67aeba654
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/Application.cc
Levi-Armstrong/ign-gui
c14dc67bbb61e2422737be6428ba5fb67aeba654
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2018 Open Source Robotics Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
27.558245
80
0.617314
[ "object", "vector" ]
ebcb014101f8f790a2aa9ed1395e3429bfb76192
2,456
hpp
C++
quantumvk/vulkan/memory/memory_allocator.hpp
timith/QuantumVk
1d6dcfd8a12336763ec815b19b6514db8b2ea9e8
[ "MIT" ]
null
null
null
quantumvk/vulkan/memory/memory_allocator.hpp
timith/QuantumVk
1d6dcfd8a12336763ec815b19b6514db8b2ea9e8
[ "MIT" ]
null
null
null
quantumvk/vulkan/memory/memory_allocator.hpp
timith/QuantumVk
1d6dcfd8a12336763ec815b19b6514db8b2ea9e8
[ "MIT" ]
null
null
null
#pragma once #include "quantumvk/utils/intrusive.hpp" #include "quantumvk/utils/object_pool.hpp" #include "quantumvk/utils/intrusive_list.hpp" #include "quantumvk/utils/logging.hpp" #include "quantumvk/utils/bitops.hpp" #include <assert.h> #include <memory> #include <cstddef> #include <cstdint> #include <vector> #inc...
29.95122
170
0.788681
[ "vector" ]
ebcd26376cf2d9fe7e1cea5efcbec76bdbd34a44
8,372
cpp
C++
volume_V/acm_1432.cpp
raidenluikang/acm.timus.ru
9b7c99eb03959acff9dd96326eec642a2c31ed04
[ "MIT" ]
null
null
null
volume_V/acm_1432.cpp
raidenluikang/acm.timus.ru
9b7c99eb03959acff9dd96326eec642a2c31ed04
[ "MIT" ]
null
null
null
volume_V/acm_1432.cpp
raidenluikang/acm.timus.ru
9b7c99eb03959acff9dd96326eec642a2c31ed04
[ "MIT" ]
null
null
null
#ifdef _MSC_VER #define _CRT_SECURE_NO_WARNINGS #endif //_MSC_VER #include <cstdio> #include <cstdlib> #include <cstring> #include <algorithm> #include <vector> #include <numeric> #include <ctime> #include <chrono> #include <iostream> #include <string> #include <sstream> #include <array> #include <random> #include <cm...
19.980907
114
0.508122
[ "vector" ]
ebcd63cfb40a4672e9a2651184606dfb8450b913
3,785
cpp
C++
iecp/src/v20210914/model/ModifyEdgeDracoNodeRequest.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
null
null
null
iecp/src/v20210914/model/ModifyEdgeDracoNodeRequest.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
null
null
null
iecp/src/v20210914/model/ModifyEdgeDracoNodeRequest.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
25.924658
86
0.727873
[ "model" ]
ebd3b6c9ab4106d1fc8354bf9c191a2cd09206ce
2,725
cpp
C++
.sandbox/robotics/RX90Control/src/DelayedSampledActuator.cpp
siconos/siconos-tutorials
821365a6ce679fc3d606b272ff069134e3c6aa4b
[ "Apache-2.0" ]
6
2017-01-12T23:09:28.000Z
2021-03-20T17:03:58.000Z
.sandbox/robotics/RX90Control/src/DelayedSampledActuator.cpp
siconos/siconos-tutorials
821365a6ce679fc3d606b272ff069134e3c6aa4b
[ "Apache-2.0" ]
3
2019-01-14T13:44:51.000Z
2021-05-17T13:57:27.000Z
.sandbox/robotics/RX90Control/src/DelayedSampledActuator.cpp
siconos/siconos-tutorials
821365a6ce679fc3d606b272ff069134e3c6aa4b
[ "Apache-2.0" ]
2
2019-10-22T13:30:39.000Z
2020-10-06T10:19:57.000Z
/* Siconos is a program dedicated to modeling, simulation and control * of non smooth dynamical systems. * * Copyright 2021 INRIA. * * 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 * *...
28.989362
101
0.717064
[ "model" ]
ebd4ee5462217a9bae8108f99d7418c092fdd61b
11,846
hpp
C++
src/graphlab/graph/ingress/distributed_dbh_ingress.hpp
anilpacaci/powerlyra
fa7fa9b3092eea3dd6749df0087b969873ad9361
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/graphlab/graph/ingress/distributed_dbh_ingress.hpp
anilpacaci/powerlyra
fa7fa9b3092eea3dd6749df0087b969873ad9361
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/graphlab/graph/ingress/distributed_dbh_ingress.hpp
anilpacaci/powerlyra
fa7fa9b3092eea3dd6749df0087b969873ad9361
[ "ECL-2.0", "Apache-2.0" ]
4
2017-07-07T15:09:05.000Z
2019-12-02T13:43:43.000Z
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ /* * File: distrubuted_dbh_ingress.hpp * Author: Vincent * * Created on July 19, 2017, 5:56 PM */ #ifndef DISTRIBUTED_DBH_ING...
42.611511
126
0.54339
[ "object", "vector" ]
ebd69c9212dbfe121814330ce3a5b29d0fcc826c
2,628
cpp
C++
C++/multiply-strings.cpp
black-shadows/LeetCode-Solutions
b1692583f7b710943ffb19b392b8bf64845b5d7a
[ "Fair", "Unlicense" ]
1
2020-04-16T08:38:14.000Z
2020-04-16T08:38:14.000Z
multiply-strings.cpp
Jeevan-kumar-Raj/LeetCode-Solutions-Topicwise
f1111b4edd401a3fc47111993bd7250cf4dc76da
[ "MIT" ]
null
null
null
multiply-strings.cpp
Jeevan-kumar-Raj/LeetCode-Solutions-Topicwise
f1111b4edd401a3fc47111993bd7250cf4dc76da
[ "MIT" ]
1
2021-12-25T14:48:56.000Z
2021-12-25T14:48:56.000Z
// Time: O(m * n) // Space: O(m + n) class Solution { public: string multiply(string num1, string num2) { const auto char_to_int = [](const char c) { return c - '0'; }; const auto int_to_char = [](const int i) { return i + '0'; }; vector<int> n1; transform(num1.rbegin(),...
29.2
79
0.403349
[ "vector", "transform" ]
ebd8de57d8a4bd30180f22a3f8113907ab9e827c
7,607
cpp
C++
project/src/main.cpp
stefania1570/CommandDefense
432eb8292942e60df03de11982a2cb1738ed44f3
[ "MIT" ]
3
2022-03-03T17:24:11.000Z
2022-03-09T15:34:53.000Z
project/src/main.cpp
stefania1570/CommandDefense
432eb8292942e60df03de11982a2cb1738ed44f3
[ "MIT" ]
null
null
null
project/src/main.cpp
stefania1570/CommandDefense
432eb8292942e60df03de11982a2cb1738ed44f3
[ "MIT" ]
48
2022-02-23T14:23:56.000Z
2022-03-24T09:58:22.000Z
#include <AppCUI/include/AppCUI.hpp> using namespace AppCUI; using namespace AppCUI::Application; using namespace AppCUI::Controls; using namespace AppCUI::Graphics; constexpr uint32 gridWidth = 3; constexpr uint32 gridHeight = 3; constexpr size_t gridSpace = 1; /** * \brief Helps by specifying how the enemy shou...
30.428
119
0.592744
[ "object" ]
ebd9abf627654eb36b0cc00a2a5addeaf1639c16
31,189
cpp
C++
DataMgr/BufferMgr/BufferMgr.cpp
yaohuaxin/mapd-core-V3.3.1-optimize
9548dc6e870cba2323c18e6f23bb5759486cf03b
[ "Apache-2.0" ]
null
null
null
DataMgr/BufferMgr/BufferMgr.cpp
yaohuaxin/mapd-core-V3.3.1-optimize
9548dc6e870cba2323c18e6f23bb5759486cf03b
[ "Apache-2.0" ]
null
null
null
DataMgr/BufferMgr/BufferMgr.cpp
yaohuaxin/mapd-core-V3.3.1-optimize
9548dc6e870cba2323c18e6f23bb5759486cf03b
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2017 MapD Technologies, 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 o...
38.504938
120
0.645516
[ "object", "vector" ]
ebdca7be9c8c0cc900cc20cc63ad12782ad0693b
15,759
cpp
C++
src/conformance/conformance_test/test_ActionPoses.cpp
brycehutchings/OpenXR-CTS
c05db9d2539a17815d57cb38bf9746889aff00d9
[ "BSD-3-Clause", "Apache-2.0", "Unlicense", "MIT" ]
35
2020-07-07T18:10:11.000Z
2022-03-13T10:48:45.000Z
src/conformance/conformance_test/test_ActionPoses.cpp
brycehutchings/OpenXR-CTS
c05db9d2539a17815d57cb38bf9746889aff00d9
[ "BSD-3-Clause", "Apache-2.0", "Unlicense", "MIT" ]
29
2020-09-10T16:36:59.000Z
2022-03-31T18:17:32.000Z
src/conformance/conformance_test/test_ActionPoses.cpp
brycehutchings/OpenXR-CTS
c05db9d2539a17815d57cb38bf9746889aff00d9
[ "BSD-3-Clause", "Apache-2.0", "Unlicense", "MIT" ]
9
2020-09-10T16:01:57.000Z
2022-01-21T18:28:35.000Z
// Copyright (c) 2019-2021, The Khronos Group Inc. // // SPDX-License-Identifier: Apache-2.0 // // 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/LICEN...
54.71875
176
0.665271
[ "render", "object", "vector" ]
ebdd76dba1fd8c9844c22a3103c02e1fdda10208
7,243
cpp
C++
src/main.cpp
ArinoJenynof/risop-bce-modif
4e6f728334a6eb68bfbe422f050c25d2f27235b8
[ "MIT" ]
null
null
null
src/main.cpp
ArinoJenynof/risop-bce-modif
4e6f728334a6eb68bfbe422f050c25d2f27235b8
[ "MIT" ]
null
null
null
src/main.cpp
ArinoJenynof/risop-bce-modif
4e6f728334a6eb68bfbe422f050c25d2f27235b8
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <vector> #include <limits> #include <utility> #include <chrono> #include <stack> #include <numeric> #include <dirent.h> #include "binary_tree.hpp" int main() { dirent *entry = nullptr; DIR *dp = nullptr; std::string soaldir(".\\soal"); std::string jawabdir(".\\jawab"...
32.479821
171
0.615767
[ "vector" ]
ebe1af1df46e397522451f3ccf4ea4e2daa53a15
2,864
hpp
C++
api/net/dhcp/record.hpp
jaeh/IncludeOS
1cc2bcf36758ff5ef3099e0c0c1ee55f0bb1de02
[ "Apache-2.0" ]
3,673
2015-12-01T22:14:02.000Z
2019-03-22T03:07:20.000Z
api/net/dhcp/record.hpp
jaeh/IncludeOS
1cc2bcf36758ff5ef3099e0c0c1ee55f0bb1de02
[ "Apache-2.0" ]
960
2015-12-01T20:40:36.000Z
2019-03-22T13:21:21.000Z
api/net/dhcp/record.hpp
jaeh/IncludeOS
1cc2bcf36758ff5ef3099e0c0c1ee55f0bb1de02
[ "Apache-2.0" ]
357
2015-12-02T09:32:50.000Z
2019-03-22T09:32:34.000Z
#pragma once #ifndef NET_DHCP_RECORD_HPP #define NET_DHCP_RECORD_HPP #include <cstdint> #include <vector> #include <net/ip4/addr.hpp> namespace net { namespace dhcp { enum class Status { AVAILABLE, OFFERED, // IP has been offered to another client and is awaiting a DHCPREQUEST for updated status ...
30.795699
134
0.697277
[ "vector" ]
ebe1bcb0b69f5ee46710cee8c796e5c768bf07b1
8,532
hpp
C++
libvast/vast/system/index.hpp
a4z/vast
2ce9ddbac61cc7f195434b06fe3605f0bdeec520
[ "BSD-3-Clause" ]
null
null
null
libvast/vast/system/index.hpp
a4z/vast
2ce9ddbac61cc7f195434b06fe3605f0bdeec520
[ "BSD-3-Clause" ]
null
null
null
libvast/vast/system/index.hpp
a4z/vast
2ce9ddbac61cc7f195434b06fe3605f0bdeec520
[ "BSD-3-Clause" ]
null
null
null
/****************************************************************************** * _ _____ __________ * * | | / / _ | / __/_ __/ Visibility * * | |/ / __ |_\ \ / / Across * ...
33.992032
80
0.661978
[ "vector" ]
ebe276c5fe34cd6e03f1cc9b65654fa5a89586c5
3,366
cpp
C++
asteroids/SpaceShip.cpp
EmilianC/Astroids
31dee6a09865a78da20306a59befd7e56cbabac0
[ "MIT" ]
null
null
null
asteroids/SpaceShip.cpp
EmilianC/Astroids
31dee6a09865a78da20306a59befd7e56cbabac0
[ "MIT" ]
null
null
null
asteroids/SpaceShip.cpp
EmilianC/Astroids
31dee6a09865a78da20306a59befd7e56cbabac0
[ "MIT" ]
null
null
null
#include "Asteroids.h" #include "Bullet.h" #include "Debris.h" #include "SpaceShip.h" #include <gemcutter/Input/Input.h> #include <gemcutter/Sound/SoundSource.h> #include <gemcutter/Rendering/Mesh.h> #include <gemcutter/Resource/Material.h> using namespace gem; void SpaceShip::Update(float a_deltaT) { if (!alive) ...
21.716129
104
0.671717
[ "mesh" ]
ebe78ec9220bfd15bc429e552753cdc7279b593d
17,547
cpp
C++
control/mpc_follower/src/mpc_utils.cpp
sgermanserrano/Pilot.Auto
0f3dee10dd4c22fddbee44662bd520e5a6d87ef7
[ "Apache-2.0" ]
1
2020-12-18T01:32:41.000Z
2020-12-18T01:32:41.000Z
control/mpc_follower/src/mpc_utils.cpp
sgermanserrano/Pilot.Auto
0f3dee10dd4c22fddbee44662bd520e5a6d87ef7
[ "Apache-2.0" ]
1
2020-11-02T09:29:32.000Z
2020-11-02T09:29:32.000Z
control/mpc_follower/src/mpc_utils.cpp
sgermanserrano/Pilot.Auto
0f3dee10dd4c22fddbee44662bd520e5a6d87ef7
[ "Apache-2.0" ]
4
2021-06-21T11:58:51.000Z
2021-08-06T08:25:54.000Z
/* * Copyright 2018-2019 Autoware Foundation. 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...
34.204678
100
0.670029
[ "vector" ]
ebe855eb770ad8099b4e772b91dcb112d163b10b
3,922
cpp
C++
lib/Parser/TypeBuilder.cpp
scross99/locic
a24bb380e17f8af69e7389acf8ce354c91a2abf3
[ "MIT" ]
80
2015-02-19T21:38:57.000Z
2016-05-25T06:53:12.000Z
lib/Parser/TypeBuilder.cpp
scross99/locic
a24bb380e17f8af69e7389acf8ce354c91a2abf3
[ "MIT" ]
8
2015-02-20T09:47:20.000Z
2015-11-13T07:49:17.000Z
lib/Parser/TypeBuilder.cpp
scross99/locic
a24bb380e17f8af69e7389acf8ce354c91a2abf3
[ "MIT" ]
6
2015-02-20T11:26:19.000Z
2016-04-13T14:30:39.000Z
#include <locic/AST.hpp> #include <locic/Debug/SourcePosition.hpp> #include <locic/Parser/TokenReader.hpp> #include <locic/Parser/TypeBuilder.hpp> #include <locic/Support/PrimitiveID.hpp> namespace locic { namespace Parser { TypeBuilder::TypeBuilder(const TokenReader& reader) : reader_(reader) { } TypeB...
38.45098
108
0.622896
[ "object" ]
ebe9fe1741a86d28b44799b6f32da9dad56c82ef
6,316
cpp
C++
samples/gl-410-program-64.cpp
Groovounet/ogl-samples
7f8be365d1823b8609caf539d790c90712cd4c46
[ "Unlicense" ]
null
null
null
samples/gl-410-program-64.cpp
Groovounet/ogl-samples
7f8be365d1823b8609caf539d790c90712cd4c46
[ "Unlicense" ]
null
null
null
samples/gl-410-program-64.cpp
Groovounet/ogl-samples
7f8be365d1823b8609caf539d790c90712cd4c46
[ "Unlicense" ]
2
2020-12-30T04:44:14.000Z
2021-03-17T00:43:45.000Z
//********************************** // OpenGL Double // 02/08/2010 - 02/08/2010 //********************************** // Christophe Riccio // ogl-samples@g-truc.net //********************************** // G-Truc Creation // www.g-truc.net //********************************** #include <glf/glf.hpp> namespace { std::s...
28.32287
115
0.722451
[ "object", "model" ]
ebee011e06f49f89d7587684d6ee10c637f834af
6,787
cc
C++
Calibration/TkAlCaRecoProducers/plugins/CalibrationTrackSelectorFromDetIdList.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
Calibration/TkAlCaRecoProducers/plugins/CalibrationTrackSelectorFromDetIdList.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
Calibration/TkAlCaRecoProducers/plugins/CalibrationTrackSelectorFromDetIdList.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
// -*- C++ -*- // // Package: CalibrationTrackSelectorFromDetIdList // Class: CalibrationTrackSelectorFromDetIdList // /**\class CalibrationTrackSelectorFromDetIdList CalibrationTrackSelectorFromDetIdList.cc Calibration/TkAlCaRecoProducers/plugins/CalibrationTrackSelectorFromDetIdList.cc Description: Selects tr...
37.916201
119
0.739649
[ "geometry", "vector" ]
ebf527b35a8ff4991ebc02863c675b4b07263b10
9,781
cpp
C++
ScriptHookDotNet/Player.cpp
HazardX/gta4_scripthookdotnet
927b2830952664b63415234541a6c83592e53679
[ "MIT" ]
3
2021-11-14T20:59:58.000Z
2021-12-16T16:41:31.000Z
ScriptHookDotNet/Player.cpp
HazardX/gta4_scripthookdotnet
927b2830952664b63415234541a6c83592e53679
[ "MIT" ]
2
2021-11-29T14:41:23.000Z
2021-11-30T13:13:51.000Z
ScriptHookDotNet/Player.cpp
HazardX/gta4_scripthookdotnet
927b2830952664b63415234541a6c83592e53679
[ "MIT" ]
3
2021-11-21T12:41:55.000Z
2021-12-22T16:17:52.000Z
/* * Copyright (c) 2009-2011 Hazard (hazard_x@gmx.net / twitter.com/HazardX) * * 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 * ...
29.820122
113
0.704427
[ "object", "model" ]
ebf5d49371a5f4948b311a7f5f8c89063371c53b
5,832
cpp
C++
MineSweeper/Minesweeper.cpp
Enebz/MineSweeper
a479cf99a084b29c655d0c666dc1b57567e703e8
[ "MIT" ]
null
null
null
MineSweeper/Minesweeper.cpp
Enebz/MineSweeper
a479cf99a084b29c655d0c666dc1b57567e703e8
[ "MIT" ]
1
2021-04-01T00:00:45.000Z
2021-04-01T00:00:45.000Z
MineSweeper/Minesweeper.cpp
Enebz/MineSweeper
a479cf99a084b29c655d0c666dc1b57567e703e8
[ "MIT" ]
1
2021-03-25T19:52:32.000Z
2021-03-25T19:52:32.000Z
#include "Minesweeper.h" Minesweeper::Minesweeper(int width, int height, int bombs, float tileSize, sf::Texture& textures, sf::Vector2f position) : textures(textures) { this->width = width; this->height = height; this->bombs = bombs; this->tileSize = tileSize; this->box = sf::FloatRect(position...
27.771429
186
0.536523
[ "render" ]
ebf6605a501d8a6db33ec9905b83e418ca76c07e
777
cpp
C++
src/readPItem.cpp
buaazhouxingyu/topoana
50a235614efe48cc17d9691c3cc150564e6e60f7
[ "MIT" ]
15
2020-01-13T01:30:14.000Z
2022-01-17T03:22:34.000Z
src/readPItem.cpp
buaazhouxingyu/topoana
50a235614efe48cc17d9691c3cc150564e6e60f7
[ "MIT" ]
5
2019-06-01T13:38:44.000Z
2021-06-19T09:26:12.000Z
src/readPItem.cpp
buaazhouxingyu/topoana
50a235614efe48cc17d9691c3cc150564e6e60f7
[ "MIT" ]
9
2019-06-01T10:19:25.000Z
2022-01-10T15:00:21.000Z
#include "../include/topoana.h" #include <fstream> void topoana::readPItem(ifstream & fin, string & line, string prompt, vector<int> & vPid, vector<string> & vNm, vector<unsigned long> * vNMax, vector<unsigned long> * vHMax, vector<string> * vTypeOfTagRec, vector<string> * vTBrNmOfTagRec, vector<string> * vTBrNmOfNRec...
40.894737
290
0.688546
[ "vector" ]
ebf72ab2a6ff3a3b7dc36070ed3200eac8408cab
2,520
cpp
C++
Code/Framework/AzToolsFramework/AzToolsFramework/AssetBrowser/Previewer/PreviewerFrame.cpp
aaarsene/o3de
37e3b0226958974defd14dd6d808e8557dcd7345
[ "Apache-2.0", "MIT" ]
1
2021-09-13T00:01:12.000Z
2021-09-13T00:01:12.000Z
Code/Framework/AzToolsFramework/AzToolsFramework/AssetBrowser/Previewer/PreviewerFrame.cpp
aaarsene/o3de
37e3b0226958974defd14dd6d808e8557dcd7345
[ "Apache-2.0", "MIT" ]
null
null
null
Code/Framework/AzToolsFramework/AzToolsFramework/AssetBrowser/Previewer/PreviewerFrame.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 <QLayout> #include <AzCore/std/smart_ptr/shared_ptr.h> #include <AzToolsFramework/AssetBr...
30.361446
158
0.582143
[ "3d" ]
ebfdb256e0563034320483eb0b11edfeb7b20b0d
4,412
cpp
C++
Racing/Game.cpp
ivan-mitrich/concurrency-learning
3cef2fe0da20b266d89f8888a2b632c14e28fbdb
[ "MIT" ]
null
null
null
Racing/Game.cpp
ivan-mitrich/concurrency-learning
3cef2fe0da20b266d89f8888a2b632c14e28fbdb
[ "MIT" ]
null
null
null
Racing/Game.cpp
ivan-mitrich/concurrency-learning
3cef2fe0da20b266d89f8888a2b632c14e28fbdb
[ "MIT" ]
null
null
null
#include "Game.h" #include <iostream> #include <conio.h> #include <thread> #include <mutex> #include <Windows.h> Game::Game() : paused(false), game_over(false) { player_car.set_x_position(field.get_width() / 2); player_car.set_y_position(field.get_height() - player_car.get_height()); spawner.set_spawning_x_range(...
22.860104
139
0.675884
[ "object", "vector" ]
23065ba2b6ac3deab6c1ef9b432ec7e1b4db4ca0
1,544
cpp
C++
Wrapping/Python/Binding/pySIMPLHeader.cpp
mhitzem/SIMPL
cd8a58f8d955d232ea039121cc5286cc9545c7a6
[ "NRL" ]
3
2018-01-18T18:27:02.000Z
2021-06-13T06:10:52.000Z
Wrapping/Python/Binding/pySIMPLHeader.cpp
mhitzem/SIMPL
cd8a58f8d955d232ea039121cc5286cc9545c7a6
[ "NRL" ]
211
2016-07-27T12:18:16.000Z
2021-11-02T13:42:11.000Z
Wrapping/Python/Binding/pySIMPLHeader.cpp
mhitzem/SIMPL
cd8a58f8d955d232ea039121cc5286cc9545c7a6
[ "NRL" ]
23
2016-02-15T21:23:47.000Z
2021-08-11T15:35:24.000Z
#include <memory> #include <typeinfo> #include <utility> #include <QtCore/QDateTime> #include <QtCore/QString> #include <pybind11/pybind11.h> #include <pybind11/functional.h> #include <pybind11/numpy.h> #include <pybind11/stl.h> #include <pybind11/stl_bind.h> #include "SIMPLib/Common/PhaseType.h" #include "SIMPLib/...
28.592593
81
0.790155
[ "vector" ]
2307add071f89d215385febc6b42c73f416ff435
1,932
cxx
C++
panda/src/egg/eggPoint.cxx
kestred/panda3d
16bfd3750f726a8831771b81649d18d087917fd5
[ "PHP-3.01", "PHP-3.0" ]
3
2018-03-09T12:07:29.000Z
2021-02-25T06:50:25.000Z
panda/src/egg/eggPoint.cxx
Sinkay/panda3d
16bfd3750f726a8831771b81649d18d087917fd5
[ "PHP-3.01", "PHP-3.0" ]
null
null
null
panda/src/egg/eggPoint.cxx
Sinkay/panda3d
16bfd3750f726a8831771b81649d18d087917fd5
[ "PHP-3.01", "PHP-3.0" ]
null
null
null
// Filename: eggPoint.cxx // Created by: drose (15Dec99) // //////////////////////////////////////////////////////////////////// // // PANDA 3D SOFTWARE // Copyright (c) Carnegie Mellon University. All rights reserved. // // All use of this software is subject to the terms of the revised BSD // license. You should h...
32.2
70
0.504141
[ "3d" ]
2308cb99a360b7e47d4e933d13e803d5b4aa0608
38,586
cpp
C++
src/llvm/analysis/old/PointsTo.cpp
sunxfancy/dg
6d9d606909dcf6b8e23eb6b7c33ac512233861f5
[ "MIT" ]
null
null
null
src/llvm/analysis/old/PointsTo.cpp
sunxfancy/dg
6d9d606909dcf6b8e23eb6b7c33ac512233861f5
[ "MIT" ]
null
null
null
src/llvm/analysis/old/PointsTo.cpp
sunxfancy/dg
6d9d606909dcf6b8e23eb6b7c33ac512233861f5
[ "MIT" ]
2
2018-06-28T22:31:23.000Z
2021-09-06T06:34:37.000Z
#include <llvm/IR/Value.h> #include <llvm/IR/Constants.h> #include <llvm/IR/IntrinsicInst.h> #include <llvm/IR/Instruction.h> #include <llvm/IR/Module.h> #include <llvm/IR/DataLayout.h> #include <llvm/Support/raw_ostream.h> #include "llvm/LLVMDependenceGraph.h" #include "llvm-debug.h" #include "PointsTo.h" #include "...
33.292494
96
0.588555
[ "object" ]
2314dbf5608c9de43cb9918465f9e741894cb21c
6,268
cpp
C++
source/opt/flatten_decoration_pass.cpp
iburinoc/SPIRV-Tools
48326d443e434f55eb50a7cfc9acdc968daad5e3
[ "Apache-2.0" ]
null
null
null
source/opt/flatten_decoration_pass.cpp
iburinoc/SPIRV-Tools
48326d443e434f55eb50a7cfc9acdc968daad5e3
[ "Apache-2.0" ]
null
null
null
source/opt/flatten_decoration_pass.cpp
iburinoc/SPIRV-Tools
48326d443e434f55eb50a7cfc9acdc968daad5e3
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2017 Google 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...
37.309524
79
0.649809
[ "vector" ]
231a13f6f1dbc0c817e7f18d89f08eb4dd97c4e2
17,572
hpp
C++
toolkits/collaborative_filtering/eigen_wrapper.hpp
jerryye/graphchi-cpp
fc617ac2ae60b3843d9e6517d0b16b6ad0693b5a
[ "Apache-2.0" ]
9
2020-09-02T08:49:17.000Z
2022-02-16T06:51:44.000Z
toolkits/collaborative_filtering/eigen_wrapper.hpp
mrgloom/graphchi-cpp
7dfaa37a9da8f5d8901fc95435f98fb8844c7217
[ "Apache-2.0" ]
null
null
null
toolkits/collaborative_filtering/eigen_wrapper.hpp
mrgloom/graphchi-cpp
7dfaa37a9da8f5d8901fc95435f98fb8844c7217
[ "Apache-2.0" ]
3
2021-01-02T06:17:53.000Z
2022-03-28T18:54:05.000Z
/** * Copyright (c) 2009 Carnegie Mellon University. * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2...
24.679775
189
0.614443
[ "vector" ]
231a3384b4b56baa179002259f310045a396bced
4,998
cpp
C++
MainGame/objects/props/SwitchingBlock.cpp
JoaoBaptMG/ReboundTheGame
48c3d8b81de1f7fa7c622c3f815860257ccdba8e
[ "MIT" ]
63
2017-05-18T16:10:19.000Z
2022-03-26T18:05:59.000Z
MainGame/objects/props/SwitchingBlock.cpp
JoaoBaptMG/ReboundTheGame
48c3d8b81de1f7fa7c622c3f815860257ccdba8e
[ "MIT" ]
1
2018-02-10T12:40:33.000Z
2019-01-11T07:33:13.000Z
MainGame/objects/props/SwitchingBlock.cpp
JoaoBaptMG/ReboundTheGame
48c3d8b81de1f7fa7c622c3f815860257ccdba8e
[ "MIT" ]
4
2017-12-31T21:38:14.000Z
2019-11-20T15:13:00.000Z
// // Copyright (c) 2016-2018 João Baptista de Paula e Silva. // // 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, cop...
30.662577
107
0.717887
[ "render", "vector" ]
231a8765b245f2d51cbc89509c3030eb338700a3
3,152
cpp
C++
dynamic_programming_1/alphacode_question.cpp
de1401/Coding-Ninjas-Competitive-Programming
c7601ac9f2dcf312e405a26f551d00c89ccfe990
[ "CC0-1.0" ]
19
2020-08-09T11:42:36.000Z
2022-03-10T08:49:00.000Z
dynamic_programming_1/alphacode_question.cpp
de1401/Coding-Ninjas-Competitive-Programming
c7601ac9f2dcf312e405a26f551d00c89ccfe990
[ "CC0-1.0" ]
null
null
null
dynamic_programming_1/alphacode_question.cpp
de1401/Coding-Ninjas-Competitive-Programming
c7601ac9f2dcf312e405a26f551d00c89ccfe990
[ "CC0-1.0" ]
5
2020-10-03T14:01:35.000Z
2022-03-13T14:49:56.000Z
/* Alice and Bob need to send secret messages to each other and are discussing ways to encode their messages: Alice: “Let’s just use a very simple code: We’ll assign ‘A’ the code word 1, ‘B’ will be 2, and so on down to ‘Z’ being assigned 26.” Bob: “That’s a stupid code, Alice. Suppose I send you the word ‘BEAN’ encod...
21.442177
299
0.572335
[ "vector" ]
231c16b242cfeaa70ed144c6f728b74f0d5a965c
8,703
cpp
C++
DLLMain.cpp
skslater/SkyTrackReminderP3D
c4a50c18d97fe6b9ef7871390089a6d793ed9811
[ "MIT" ]
null
null
null
DLLMain.cpp
skslater/SkyTrackReminderP3D
c4a50c18d97fe6b9ef7871390089a6d793ed9811
[ "MIT" ]
null
null
null
DLLMain.cpp
skslater/SkyTrackReminderP3D
c4a50c18d97fe6b9ef7871390089a6d793ed9811
[ "MIT" ]
null
null
null
#include "initpdk.h" #include <WinError.h> #include "PdkPlugin.h" #include <string> constexpr auto MENU_TITLE = L"SkyTrack Reminder"; constexpr auto MENU_ITEM_ACKNOWLEDGE = L"Hide Reminder"; constexpr auto REMINDER_TEXT = L"*** START SKYTRACK ***"; using namespace P3D; class SkyTrackReminderP3D : public PdkPlugin { ...
34.673307
140
0.573366
[ "object" ]
231f2882f729ab055412774cd6ce1008c6ee7333
19,518
hpp
C++
src/mods/mod_user_editor.hpp
BadOPCode/Oblivion2-XRM
d65d9aa4b8021fc3b50b2c09edd0b19eb7baa1b9
[ "Zlib" ]
78
2015-10-08T07:14:37.000Z
2022-02-10T04:51:21.000Z
src/mods/mod_user_editor.hpp
BadOPCode/Oblivion2-XRM
d65d9aa4b8021fc3b50b2c09edd0b19eb7baa1b9
[ "Zlib" ]
117
2015-12-14T16:51:42.000Z
2020-02-16T07:00:36.000Z
src/mods/mod_user_editor.hpp
BadOPCode/Oblivion2-XRM
d65d9aa4b8021fc3b50b2c09edd0b19eb7baa1b9
[ "Zlib" ]
10
2015-12-10T16:54:24.000Z
2022-02-10T04:51:29.000Z
#ifndef MOD_USER_EDITOR_HPP #define MOD_USER_EDITOR_HPP #include "mod_base.hpp" #include <string> #include <memory> #include <functional> #include <vector> class SessionData; typedef std::shared_ptr<SessionData> session_data_ptr; class Directory; typedef std::shared_ptr<Directory> directory_ptr; /** * @class ModU...
39.832653
122
0.719029
[ "vector" ]
2323eb53921530e8ca799c060cbc0c58daa7b6eb
516
hpp
C++
include/QueueFamily.hpp
Frostie314159/FrostEngine
bb7781c5c90baf77ca836d69d6c38a4a5381e27f
[ "MIT" ]
null
null
null
include/QueueFamily.hpp
Frostie314159/FrostEngine
bb7781c5c90baf77ca836d69d6c38a4a5381e27f
[ "MIT" ]
null
null
null
include/QueueFamily.hpp
Frostie314159/FrostEngine
bb7781c5c90baf77ca836d69d6c38a4a5381e27f
[ "MIT" ]
null
null
null
#ifndef QUEUE_FAMILY_HPP_ #define QUEUE_FAMILY_HPP_ #include "PhysicalDevice.hpp" class QueueFamily { private: VkQueueFamilyProperties m_queueFamilyProperties; uint32_t m_queueFamilyIndex; public: static const std::vector<QueueFamily> enumerateQueueFamilies(); QueueFamily(VkQueueFamilyProperties t_queueFamilyPro...
23.454545
91
0.825581
[ "vector" ]
232bf847c7b06f22c6183b91405215b680a100af
7,029
cpp
C++
Malmo/src/TCPServer.cpp
Double-A-92/malmo
abc82d21b540005085e4a8a0a2612209c978d740
[ "MIT" ]
2
2021-02-24T08:53:27.000Z
2021-04-27T19:35:16.000Z
Malmo/src/TCPServer.cpp
Double-A-92/malmo
abc82d21b540005085e4a8a0a2612209c978d740
[ "MIT" ]
null
null
null
Malmo/src/TCPServer.cpp
Double-A-92/malmo
abc82d21b540005085e4a8a0a2612209c978d740
[ "MIT" ]
2
2021-03-05T19:59:42.000Z
2021-09-06T19:27:06.000Z
// -------------------------------------------------------------------------------------------------- // Copyright (c) 2016 Microsoft Corporation // // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and // associated documentation files (the "Software"), to deal in th...
36.046154
172
0.57277
[ "vector" ]
23415b42eefaab4dc0c682b2a49c79c8b30bb45e
5,217
cc
C++
bluetooth/common/property_unittest.cc
emersion/chromiumos-platform2
ba71ad06f7ba52e922c647a8915ff852b2d4ebbd
[ "BSD-3-Clause" ]
5
2019-01-19T15:38:48.000Z
2021-10-06T03:59:46.000Z
bluetooth/common/property_unittest.cc
emersion/chromiumos-platform2
ba71ad06f7ba52e922c647a8915ff852b2d4ebbd
[ "BSD-3-Clause" ]
null
null
null
bluetooth/common/property_unittest.cc
emersion/chromiumos-platform2
ba71ad06f7ba52e922c647a8915ff852b2d4ebbd
[ "BSD-3-Clause" ]
1
2019-02-15T23:05:30.000Z
2019-02-15T23:05:30.000Z
// Copyright 2018 The Chromium OS 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 <memory> #include <utility> #include <brillo/bind_lambda.h> #include <dbus/mock_bus.h> #include <dbus/mock_object_proxy.h> #include <brillo/d...
40.130769
80
0.740464
[ "object" ]
23475a5dceb42299b5e43cc37c84d23651eacd9f
14,914
cpp
C++
libmtcnn/mxnet_mtcnn.cpp
OAID/FaceDetection
2ee7ad3e219a128702a8f40e86ac2c58ac00fca2
[ "Apache-2.0" ]
194
2018-01-31T12:01:10.000Z
2022-03-29T10:03:56.000Z
libmtcnn/mxnet_mtcnn.cpp
OAID/FaceDetection
2ee7ad3e219a128702a8f40e86ac2c58ac00fca2
[ "Apache-2.0" ]
8
2018-02-13T07:26:40.000Z
2020-06-27T14:04:50.000Z
libmtcnn/mxnet_mtcnn.cpp
OAID/FaceDetection
2ee7ad3e219a128702a8f40e86ac2c58ac00fca2
[ "Apache-2.0" ]
92
2018-02-17T21:42:15.000Z
2021-11-18T14:28:50.000Z
/* Copyright (C) 2017 Open Intelligent Machines 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 or ...
21.964654
141
0.724621
[ "shape", "vector" ]
234a746fd22bf3f6f6c9ebe16b84bfba1de586b5
3,860
cpp
C++
src/problems/cvrp/operators/intra_exchange.cpp
hklarner/vroom
cd53ddf260c7e40e970422594b34d95242dbe2d8
[ "BSD-2-Clause" ]
null
null
null
src/problems/cvrp/operators/intra_exchange.cpp
hklarner/vroom
cd53ddf260c7e40e970422594b34d95242dbe2d8
[ "BSD-2-Clause" ]
null
null
null
src/problems/cvrp/operators/intra_exchange.cpp
hklarner/vroom
cd53ddf260c7e40e970422594b34d95242dbe2d8
[ "BSD-2-Clause" ]
null
null
null
/* This file is part of VROOM. Copyright (c) 2015-2022, Julien Coupey. All rights reserved (see LICENSE). */ #include "problems/cvrp/operators/intra_exchange.h" namespace vroom { namespace cvrp { IntraExchange::IntraExchange(const Input& input, const utils::SolutionState& sol_state, ...
30.15625
79
0.589378
[ "vector" ]
234a828047bfda19860cbbb0b0863e297c4bf00e
1,553
cpp
C++
C++/prime_path.cpp
kancharlaraju21/Competitive_Programming
98dc9ff17ce42a5b884b0460c161b42bbb203f0e
[ "MIT" ]
null
null
null
C++/prime_path.cpp
kancharlaraju21/Competitive_Programming
98dc9ff17ce42a5b884b0460c161b42bbb203f0e
[ "MIT" ]
null
null
null
C++/prime_path.cpp
kancharlaraju21/Competitive_Programming
98dc9ff17ce42a5b884b0460c161b42bbb203f0e
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; vector<int> prime; vector<int> ar[10001]; int dis[10001]; int vis[10001]; bool isPrime(int n){ for(int i=2;i*i<=n;i++){ if(n%i==0){ return false; } } return true; } bool isValid(int a,int b){ int c=0; while(a>0){ if( a...
19.4125
55
0.413393
[ "vector" ]
054b5a18e9a049483a44206d19dbcc7bfddfb446
2,513
cpp
C++
codeforces/Educational Codeforces Round 122/Do/D_v2.cpp
Sa-So/contests-1
c5954caae163970164dfdfc9cbdc135cd55317a1
[ "MIT" ]
null
null
null
codeforces/Educational Codeforces Round 122/Do/D_v2.cpp
Sa-So/contests-1
c5954caae163970164dfdfc9cbdc135cd55317a1
[ "MIT" ]
null
null
null
codeforces/Educational Codeforces Round 122/Do/D_v2.cpp
Sa-So/contests-1
c5954caae163970164dfdfc9cbdc135cd55317a1
[ "MIT" ]
null
null
null
// https://www.geeksforgeeks.org/0-1-knapsack-problem-dp-10/ #include <bits/stdc++.h> using namespace std; int max(int x, int y) { return (x > y) ? x : y; } int knapSack(int W, int w[], int v[], int n) { int i, wt; int K[n + 1][W + 1]; for (i = 0; i <= n; i++) { for (wt = 0; wt <= W; wt++) { ...
24.398058
82
0.357342
[ "vector" ]
054b8693c20d0d5e70bb7f2f0316d95c44cbab57
16,522
cpp
C++
xun/xnu-6153.81.5/tests/osptr.cpp
L-Zheng/AppleOpenSource
65fac74ce17dc97404f1aeb8c24625fe82b7d142
[ "MIT" ]
null
null
null
xun/xnu-6153.81.5/tests/osptr.cpp
L-Zheng/AppleOpenSource
65fac74ce17dc97404f1aeb8c24625fe82b7d142
[ "MIT" ]
null
null
null
xun/xnu-6153.81.5/tests/osptr.cpp
L-Zheng/AppleOpenSource
65fac74ce17dc97404f1aeb8c24625fe82b7d142
[ "MIT" ]
null
null
null
#pragma clang diagnostic push #pragma clang diagnostic ignored "-Wc++11-extensions" #include <darwintest.h> #include <darwintest_utils.h> #include <stdio.h> #include <assert.h> #include <typeinfo> #if 0 # define OSPTR_LOG T_LOG #elif 0 # define OSPTR_LOG printf #else # define OSPTR_LOG(x...) do { } while(0) #endif ...
21.373868
79
0.70506
[ "object" ]
0560561604cdf930e1b1c609b199b2d04638b924
6,770
cpp
C++
oneflow/user/ops/unfold_fold_op.cpp
mosout/oneflow
afbb221d900f1a340568ae2462b2022f8fcc4b3d
[ "Apache-2.0" ]
1
2022-01-19T07:50:28.000Z
2022-01-19T07:50:28.000Z
oneflow/user/ops/unfold_fold_op.cpp
mosout/oneflow
afbb221d900f1a340568ae2462b2022f8fcc4b3d
[ "Apache-2.0" ]
null
null
null
oneflow/user/ops/unfold_fold_op.cpp
mosout/oneflow
afbb221d900f1a340568ae2462b2022f8fcc4b3d
[ "Apache-2.0" ]
1
2021-12-15T02:14:49.000Z
2021-12-15T02:14:49.000Z
/* Copyright 2020 The OneFlow 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 agre...
42.3125
99
0.70517
[ "shape", "vector" ]
05609e4b4c68c766bbc99f7a69c2cf4ae5c004a8
3,728
hpp
C++
src/ot/ot_co15.hpp
lenerd/libparty
5afd551303dbb9141f722d3540a81946feedc6e6
[ "MIT" ]
1
2018-06-06T21:44:34.000Z
2018-06-06T21:44:34.000Z
src/ot/ot_co15.hpp
lenerd/libparty
5afd551303dbb9141f722d3540a81946feedc6e6
[ "MIT" ]
null
null
null
src/ot/ot_co15.hpp
lenerd/libparty
5afd551303dbb9141f722d3540a81946feedc6e6
[ "MIT" ]
null
null
null
// MIT License // // Copyright (c) 2018 Lennart Braun // // 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, modif...
33.285714
138
0.684281
[ "vector" ]
056920f383b243fe497343f0f35a66b3bf162130
19,794
cpp
C++
win/devkit/plug-ins/footPrintManip/footPrintManip.cpp
leegoonz/Maya-devkit
b81fe799b58e854e4ef16435426d60446e975871
[ "ADSL" ]
10
2018-03-30T16:09:02.000Z
2021-12-07T07:29:19.000Z
win/devkit/plug-ins/footPrintManip/footPrintManip.cpp
leegoonz/Maya-devkit
b81fe799b58e854e4ef16435426d60446e975871
[ "ADSL" ]
null
null
null
win/devkit/plug-ins/footPrintManip/footPrintManip.cpp
leegoonz/Maya-devkit
b81fe799b58e854e4ef16435426d60446e975871
[ "ADSL" ]
9
2018-06-02T09:18:49.000Z
2021-12-20T09:24:35.000Z
//- // ========================================================================== // Copyright 2015 Autodesk, Inc. All rights reserved. // // Use of this software is subject to the terms of the Autodesk // license agreement provided at the time of installation or download, // or which otherwise accompanies this ...
26.748649
118
0.652319
[ "mesh", "geometry", "shape", "transform", "solid" ]
056a9480ba54fd368c87cb85d2d48c0640bb0ea5
868
hpp
C++
source/backend/cpu/CPUReverseSequence.hpp
z415073783/MNN
62c5ca47964407508a5fa802582e648fc75eb0d9
[ "Apache-2.0" ]
null
null
null
source/backend/cpu/CPUReverseSequence.hpp
z415073783/MNN
62c5ca47964407508a5fa802582e648fc75eb0d9
[ "Apache-2.0" ]
1
2021-09-07T09:13:03.000Z
2021-09-07T09:13:03.000Z
source/backend/cpu/CPUReverseSequence.hpp
z415073783/MNN
62c5ca47964407508a5fa802582e648fc75eb0d9
[ "Apache-2.0" ]
1
2020-03-10T02:17:47.000Z
2020-03-10T02:17:47.000Z
// // CPUReverseSequence.hpp // MNN // // Created by MNN on 2019/08/31. // Copyright © 2018, Alibaba Group Holding Limited // #include "CPUBackend.hpp" namespace MNN { class CPUReverseSequence : public Execution { public: CPUReverseSequence(Backend *b, int seqDim, int batchDim) : Execution(b) { mSeqD...
24.111111
116
0.673963
[ "vector" ]