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
a67a7f95be5bf83bba0dbdb6aae35befd1e0d7c6
2,073
hh
C++
gazebo/physics/bullet/BulletPlaneShape.hh
hyunoklee/Gazebo
619218c0bb3dc8878b6c4dc2fddf3f7ec1d85497
[ "ECL-2.0", "Apache-2.0" ]
45
2015-07-17T10:14:22.000Z
2022-03-30T19:25:36.000Z
gazebo/physics/bullet/BulletPlaneShape.hh
hyunoklee/Gazebo
619218c0bb3dc8878b6c4dc2fddf3f7ec1d85497
[ "ECL-2.0", "Apache-2.0" ]
1
2021-04-15T07:14:26.000Z
2021-04-15T07:14:26.000Z
gazebo/physics/bullet/BulletPlaneShape.hh
hyunoklee/Gazebo
619218c0bb3dc8878b6c4dc2fddf3f7ec1d85497
[ "ECL-2.0", "Apache-2.0" ]
64
2015-04-18T07:10:14.000Z
2022-02-21T13:15:41.000Z
/* * Copyright (C) 2012-2014 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...
28.39726
77
0.638205
[ "shape" ]
a67f1de67ed73ec15e238c07e746a91a5eddd52f
31,155
cpp
C++
llvm/utils/TableGen/GlobalISel/GIMatchTree.cpp
atulkulk/intel-llvm
b8afff4213ccbbd936da59ad235a276b868b6b86
[ "Apache-2.0" ]
null
null
null
llvm/utils/TableGen/GlobalISel/GIMatchTree.cpp
atulkulk/intel-llvm
b8afff4213ccbbd936da59ad235a276b868b6b86
[ "Apache-2.0" ]
6
2021-02-04T21:32:09.000Z
2021-02-08T09:31:15.000Z
llvm/utils/TableGen/GlobalISel/GIMatchTree.cpp
AlexeySachkov/llvm
4a5f2a7830a9195cf13c8063c1c9f8c2b03730c2
[ "Apache-2.0" ]
null
null
null
//===- GIMatchTree.cpp - A decision tree to match GIMatchDag's ------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
39.891165
94
0.650393
[ "shape", "vector" ]
a691a39dc5b9cdc5ed1475a6803a96fbcf4f5881
810
cpp
C++
main.cpp
ids-imaging/ids-nxt-vision-app-multi-cnn-classifier
894488306a883e981cfc44ca30ad19a27c2109fa
[ "Apache-2.0" ]
null
null
null
main.cpp
ids-imaging/ids-nxt-vision-app-multi-cnn-classifier
894488306a883e981cfc44ca30ad19a27c2109fa
[ "Apache-2.0" ]
null
null
null
main.cpp
ids-imaging/ids-nxt-vision-app-multi-cnn-classifier
894488306a883e981cfc44ca30ad19a27c2109fa
[ "Apache-2.0" ]
null
null
null
#include <QLoggingCategory> // Include framework headers #include "signaler.h" #include "systemsignals.h" // Include local header files #include "myapp.h" // Instantiate a QLoggingCategory Object static QLoggingCategory lc{"multicnnclassifier"}; /** * @brief Serves as the main entry point for our program * @param...
26.129032
88
0.707407
[ "object" ]
a698c5db370c2aaa90fee05f83adfdaa890b83eb
5,789
cpp
C++
src/app/finder/abstractfinder.cpp
mB-PiBox/communi-desktop
0dc18431f1058effe8db1ae1b22d6869fd114e62
[ "BSD-3-Clause" ]
55
2015-01-22T22:30:28.000Z
2021-12-27T00:11:54.000Z
src/app/finder/abstractfinder.cpp
mB-PiBox/communi-desktop
0dc18431f1058effe8db1ae1b22d6869fd114e62
[ "BSD-3-Clause" ]
52
2015-01-03T19:06:51.000Z
2021-12-04T21:35:13.000Z
src/app/finder/abstractfinder.cpp
mB-PiBox/communi-desktop
0dc18431f1058effe8db1ae1b22d6869fd114e62
[ "BSD-3-Clause" ]
18
2015-04-24T12:15:33.000Z
2021-10-31T14:01:02.000Z
/* Copyright (C) 2008-2016 The Communi Project You may use this file under the terms of BSD license as follows: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the ab...
28.800995
83
0.702021
[ "object" ]
a6a02573db00928f72cf0f1646970c34ce1450be
1,107
cpp
C++
Offer/Offer-10-II-qing-wa-tiao-tai-jie-wen-ti-lcof.cpp
wandsX/LeetCodeExperience
8502e6e8ce911045f45f0075bcf3ee751a4558c7
[ "MIT" ]
null
null
null
Offer/Offer-10-II-qing-wa-tiao-tai-jie-wen-ti-lcof.cpp
wandsX/LeetCodeExperience
8502e6e8ce911045f45f0075bcf3ee751a4558c7
[ "MIT" ]
null
null
null
Offer/Offer-10-II-qing-wa-tiao-tai-jie-wen-ti-lcof.cpp
wandsX/LeetCodeExperience
8502e6e8ce911045f45f0075bcf3ee751a4558c7
[ "MIT" ]
null
null
null
//一只青蛙一次可以跳上1级台阶,也可以跳上2级台阶。求该青蛙跳上一个 n 级的台阶总共有多少种跳法。 // // 答案需要取模 1e9+7(1000000007),如计算初始结果为:1000000008,请返回 1。 // // 示例 1: // // 输入:n = 2 //输出:2 // // // 示例 2: // // 输入:n = 7 //输出:21 // // // 示例 3: // // 输入:n = 0 //输出:1 // // 提示: // // // 0 <= n <= 100 // // // 注意:本题与主站 70 题相同:https://leetcode-cn.com/problem...
15.814286
69
0.459801
[ "vector" ]
a6a297d717a880b611dc42d52b4cc929c8ddff00
1,463
cpp
C++
charges-on-sphere/mc/nemo.cpp
mlund/faunus-notebooks
81ebaaf876f7cb91761364dd804cd3df7ce06306
[ "MIT" ]
2
2016-04-06T14:05:23.000Z
2017-10-17T00:45:20.000Z
charges-on-sphere/mc/nemo.cpp
mlund/faunus-notebooks
81ebaaf876f7cb91761364dd804cd3df7ce06306
[ "MIT" ]
null
null
null
charges-on-sphere/mc/nemo.cpp
mlund/faunus-notebooks
81ebaaf876f7cb91761364dd804cd3df7ce06306
[ "MIT" ]
5
2016-02-25T13:59:39.000Z
2020-05-17T19:26:38.000Z
#include <faunus/faunus.h> using namespace Faunus; using namespace Faunus::Potential; typedef Coulomb Tpairpot; typedef Geometry::SphereSurface Tgeometry; typedef Space<Tgeometry> Tspace; int main() { InputMap mcp("nemo.json"); MCLoop loop(mcp); EnergyDrift sys; Tspace spc(...
25.224138
64
0.56391
[ "geometry", "vector" ]
a6a4064032ba13949d49b758098b90bd34837a86
534
cc
C++
mersenne/mersenne_main.cc
ULL-ESIT-IB-2020-2021/ib-practica09-funciones-seguisergio1
4afcad21bdde4f17a90e400a016af75dbead49ab
[ "MIT" ]
null
null
null
mersenne/mersenne_main.cc
ULL-ESIT-IB-2020-2021/ib-practica09-funciones-seguisergio1
4afcad21bdde4f17a90e400a016af75dbead49ab
[ "MIT" ]
null
null
null
mersenne/mersenne_main.cc
ULL-ESIT-IB-2020-2021/ib-practica09-funciones-seguisergio1
4afcad21bdde4f17a90e400a016af75dbead49ab
[ "MIT" ]
null
null
null
#include <iostream> #include <cstring> #include <vector> #include <math.h> #include "mersenne.h" int main (int argc,char *argv[]){ usage (argc, argv); int parameter = atoi(argv[1]); int prime_number; int current_number = 0; std::vector<int>vector_with_prime_numbers; NumbersOfVector (vector_with_prime_num...
29.666667
149
0.713483
[ "vector" ]
a6a4b381c861e369811f1b2d40499075ab752d81
65,587
cpp
C++
Src/FuncApprox/MarsBagg.cpp
lbianchi-lbl/psuade-lite
09d7ca75aba8a9e31e1fb5c3e134af046fca3460
[ "Apache-2.0" ]
1
2021-03-10T23:25:30.000Z
2021-03-10T23:25:30.000Z
Src/FuncApprox/MarsBagg.cpp
lbianchi-lbl/psuade-lite
09d7ca75aba8a9e31e1fb5c3e134af046fca3460
[ "Apache-2.0" ]
3
2021-03-10T22:10:32.000Z
2022-01-14T04:31:05.000Z
Src/FuncApprox/MarsBagg.cpp
lbianchi-lbl/psuade-lite
09d7ca75aba8a9e31e1fb5c3e134af046fca3460
[ "Apache-2.0" ]
1
2021-02-24T22:59:02.000Z
2021-02-24T22:59:02.000Z
// ************************************************************************ // Copyright (c) 2007 Lawrence Livermore National Security, LLC. // Produced at the Lawrence Livermore National Laboratory. // Written by the PSUADE team. // All rights reserved. // // Please see the COPYRIGHT_and_LICENSE file for the copyrig...
32.277067
80
0.493878
[ "object", "3d" ]
16f99455e333de8b214ecb618a81cf7128a0d392
5,962
cpp
C++
inference_backend/image_inference/async_with_va_api/image_inference_async/image_inference_async.cpp
MisterArslan/dlstreamer_gst
ff6d0bc138f372bb988baf368af4a3693b808e16
[ "MIT" ]
125
2020-09-18T10:50:27.000Z
2022-02-10T06:20:59.000Z
inference_backend/image_inference/async_with_va_api/image_inference_async/image_inference_async.cpp
MisterArslan/dlstreamer_gst
ff6d0bc138f372bb988baf368af4a3693b808e16
[ "MIT" ]
155
2020-09-10T23:32:29.000Z
2022-02-05T07:10:26.000Z
inference_backend/image_inference/async_with_va_api/image_inference_async/image_inference_async.cpp
MisterArslan/dlstreamer_gst
ff6d0bc138f372bb988baf368af4a3693b808e16
[ "MIT" ]
41
2020-09-15T08:49:17.000Z
2022-01-24T10:39:36.000Z
/******************************************************************************* * Copyright (C) 2018-2021 Intel Corporation * * SPDX-License-Identifier: MIT ******************************************************************************/ #include "environment_variable_options_reader.h" #include "feature_toggling/i...
38.96732
116
0.668568
[ "object", "vector" ]
16fff3b682d9f7aada2816f73bad50a4bcb92ffb
12,512
cpp
C++
src/limits.cpp
stefan-lindstrom/circpp
d0ac5d75126883b8273823753db1fb7bcb877433
[ "Info-ZIP", "Unlicense" ]
4
2016-06-23T02:37:11.000Z
2018-12-23T10:00:12.000Z
src/limits.cpp
stefan-lindstrom/circpp
d0ac5d75126883b8273823753db1fb7bcb877433
[ "Info-ZIP", "Unlicense" ]
null
null
null
src/limits.cpp
stefan-lindstrom/circpp
d0ac5d75126883b8273823753db1fb7bcb877433
[ "Info-ZIP", "Unlicense" ]
null
null
null
/* ************************************************************************ * File: limits.c Part of CircleMUD * * Usage: limits & gain funcs for HMV, exp, hunger/thirst, idle time * * * * All rights re...
26.121086
98
0.583919
[ "object" ]
e5062e4b25579e79d7962c63f269ba6ecce94e85
595
cpp
C++
C++/Data_Structures/DFS.cpp
IUC4801/HactoberFest21
ad52dee669deba54630584435b77a6ab07dc67b2
[ "Unlicense" ]
1
2021-10-04T14:39:02.000Z
2021-10-04T14:39:02.000Z
C++/Data_Structures/DFS.cpp
IUC4801/HactoberFest21
ad52dee669deba54630584435b77a6ab07dc67b2
[ "Unlicense" ]
null
null
null
C++/Data_Structures/DFS.cpp
IUC4801/HactoberFest21
ad52dee669deba54630584435b77a6ab07dc67b2
[ "Unlicense" ]
null
null
null
class Solution { public: //Function to return a list containing the DFS traversal of the graph. void dfs(vector<bool> & isVisited,vector<int>& ans,int i,vector<int> adj[]){ if(!isVisited[i]) { isVisited[i]=true; ans.push_back(i); for(int j = 0;j<adj[i].size();j++){ df...
24.791667
77
0.557983
[ "vector" ]
e508a6a32135c208f9a326525587d3a9c42ee05c
4,092
cpp
C++
src/Tarcog/tst/units/DoubleClearSingleSystemWithSun.unit.cpp
LBNL-ETA/Windows-CalcEngine
c81528f25ffb79989fcb15b03f00b7c18da138c4
[ "BSD-3-Clause-LBNL" ]
15
2018-04-20T19:16:50.000Z
2022-02-11T04:11:41.000Z
src/Tarcog/tst/units/DoubleClearSingleSystemWithSun.unit.cpp
LBNL-ETA/Windows-CalcEngine
c81528f25ffb79989fcb15b03f00b7c18da138c4
[ "BSD-3-Clause-LBNL" ]
31
2016-04-05T20:56:28.000Z
2022-03-31T22:02:46.000Z
src/Tarcog/tst/units/DoubleClearSingleSystemWithSun.unit.cpp
LBNL-ETA/Windows-CalcEngine
c81528f25ffb79989fcb15b03f00b7c18da138c4
[ "BSD-3-Clause-LBNL" ]
6
2018-04-20T19:38:58.000Z
2020-04-06T00:30:47.000Z
#include <memory> #include <stdexcept> #include <gtest/gtest.h> #include "WCETarcog.hpp" #include "WCECommon.hpp" class TestDoubleClearSingleSystemWithSun : public testing::Test { private: std::shared_ptr<Tarcog::ISO15099::CSingleSystem> m_TarcogSystem; protected: void SetUp() override { ////////...
35.275862
100
0.580156
[ "vector", "solid" ]
e50d2598e87f9b5a6a59b314fc173c7b3b854b78
1,849
cpp
C++
src/telemetryv1.cpp
leroythelegend/pcars_nn
bf6cd55b41741ebec59cd72a82aef9906e816bc8
[ "MIT" ]
null
null
null
src/telemetryv1.cpp
leroythelegend/pcars_nn
bf6cd55b41741ebec59cd72a82aef9906e816bc8
[ "MIT" ]
null
null
null
src/telemetryv1.cpp
leroythelegend/pcars_nn
bf6cd55b41741ebec59cd72a82aef9906e816bc8
[ "MIT" ]
null
null
null
#include "telemetryv1.h" #include <memory> #include <vector> #include <iostream> #include "transportudp.h" #include "capture.h" #include "packettelemetrydatav1.h" #include "packetparticipantinfostrings.h" #include "packetparticipantinfostringsadditional.h" #include "gamestate.h" #include "packetgeneric.h" using nam...
31.87931
107
0.605733
[ "vector" ]
e50d8cb12e4d7909d187c40ae72ad3bdd77066ee
6,976
hpp
C++
Engine/Core/Headers/Molten/Renderer/Renderer.hpp
jimmiebergmann/MoltenEngine
d39e1dc8f2e92bcac7936a5e283faa66f65118ab
[ "MIT" ]
1
2020-10-05T05:24:47.000Z
2020-10-05T05:24:47.000Z
Engine/Core/Headers/Molten/Renderer/Renderer.hpp
jimmiebergmann/MoltenEngine
d39e1dc8f2e92bcac7936a5e283faa66f65118ab
[ "MIT" ]
null
null
null
Engine/Core/Headers/Molten/Renderer/Renderer.hpp
jimmiebergmann/MoltenEngine
d39e1dc8f2e92bcac7936a5e283faa66f65118ab
[ "MIT" ]
null
null
null
/* * MIT License * * Copyright (c) 2020 Jimmie Bergmann * * 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, m...
35.774359
133
0.672018
[ "render", "object" ]
e514d1a6fbbb58569ada6f9f77b0feaf2919b595
2,595
cc
C++
src/json/src/json/stream/parse_stream/parser.cc
Oaticus/Deltatron
88ac3b56d7e46fd66c3dcaeab5861c7f8016a736
[ "BSD-2-Clause" ]
null
null
null
src/json/src/json/stream/parse_stream/parser.cc
Oaticus/Deltatron
88ac3b56d7e46fd66c3dcaeab5861c7f8016a736
[ "BSD-2-Clause" ]
null
null
null
src/json/src/json/stream/parse_stream/parser.cc
Oaticus/Deltatron
88ac3b56d7e46fd66c3dcaeab5861c7f8016a736
[ "BSD-2-Clause" ]
null
null
null
#include <dt/json/stream/parse_stream/parser.hh> #include <dt/json/stream/parse_stream/parser/state.hh> dt::json_object dt::parse_object(parser_state& state) { auto new_obj = json_object{}; state.try_increment(); while (true) { if (!state.current_token().has_type(token_type::String)) state.throw_erro...
31.26506
107
0.676301
[ "object" ]
e515f139b8f7dd028390a403092882096ec67d29
2,953
cpp
C++
ZooidEngine/Scene/SceneComponent.cpp
azon04/Z0-Engine
1a44781fb5308c11c3b63b954ad683a51e9ba271
[ "MIT" ]
4
2019-05-31T22:55:49.000Z
2020-11-26T11:55:34.000Z
ZooidEngine/Scene/SceneComponent.cpp
azon04/Z0-Engine
1a44781fb5308c11c3b63b954ad683a51e9ba271
[ "MIT" ]
null
null
null
ZooidEngine/Scene/SceneComponent.cpp
azon04/Z0-Engine
1a44781fb5308c11c3b63b954ad683a51e9ba271
[ "MIT" ]
1
2018-04-11T02:50:47.000Z
2018-04-11T02:50:47.000Z
#include "SceneComponent.h" #include "Events/Events.h" namespace ZE { IMPLEMENT_CLASS_1(SceneComponent, Component); void SceneComponent::calculateTransform(const Matrix4x4& parentMat) { Matrix4x4::FastMul(parentMat, m_localTransform, m_cacheWorldMatrix); } void SceneComponent::setupComponent() { Componen...
21.713235
84
0.757535
[ "transform" ]
e5172f024d021c9b232779588447a73fa75505b1
4,739
cpp
C++
tests/src/examples/observer_examples.cpp
YarikTH/ureact
a870c274ce9f84b9cc4fc9be41cb0a8922f2cf67
[ "BSL-1.0" ]
115
2021-01-07T15:36:13.000Z
2022-03-07T15:34:52.000Z
tests/src/examples/observer_examples.cpp
YarikTH/ureact
a870c274ce9f84b9cc4fc9be41cb0a8922f2cf67
[ "BSL-1.0" ]
70
2021-01-09T18:08:11.000Z
2022-03-27T18:35:55.000Z
tests/src/examples/observer_examples.cpp
YarikTH/ureact
a870c274ce9f84b9cc4fc9be41cb0a8922f2cf67
[ "BSL-1.0" ]
8
2021-06-16T13:08:58.000Z
2021-09-07T11:14:19.000Z
// // Copyright (C) 2020-2021 Krylov Yaroslav. // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // #include "tests_stdafx.hpp" #include "ureact/ureact.hpp" TEST_SUITE( "Examples" ) { TE...
30.184713
97
0.483435
[ "vector" ]
e522636a80d46e8f6f1b43c6942d2d54e1115677
1,540
cpp
C++
tools/libgtextutils-0.7/tests/test_natural_sort.cpp
benranco/test
7cf9740108844da30dcc506e733015fd5dd76a05
[ "MIT" ]
null
null
null
tools/libgtextutils-0.7/tests/test_natural_sort.cpp
benranco/test
7cf9740108844da30dcc506e733015fd5dd76a05
[ "MIT" ]
null
null
null
tools/libgtextutils-0.7/tests/test_natural_sort.cpp
benranco/test
7cf9740108844da30dcc506e733015fd5dd76a05
[ "MIT" ]
null
null
null
/* Gordon's Text-Utilities Library Copyright (C) 2009-2013 Assaf Gordon (assafgordon@gmail.com) This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, ...
25.666667
78
0.68961
[ "vector" ]
e5255e847e86bc08f078df1fad24860b9c2a39a7
206
cpp
C++
llvm/test/tools/llvm-symbolizer/Inputs/split-dwarf-addr-object-relocation.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
4,812
2015-01-02T19:38:10.000Z
2022-03-27T12:42:24.000Z
llvm/test/tools/llvm-symbolizer/Inputs/split-dwarf-addr-object-relocation.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
3,740
2019-01-23T15:36:48.000Z
2022-03-31T22:01:13.000Z
llvm/test/tools/llvm-symbolizer/Inputs/split-dwarf-addr-object-relocation.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
2,543
2015-01-01T11:18:36.000Z
2022-03-22T21:32:36.000Z
void f1(); __attribute__((always_inline)) void f2() { f1(); } void f3() { f2(); } // $ clang++ split-dwarf-addr-object-relocation.cpp -gsplit-dwarf -c Xclang \ // -fdebug-compilation-dir -Xclang .
18.727273
77
0.631068
[ "object" ]
e5255efb7acee2b9d77c414cc596df56b42848f3
1,047
cpp
C++
ejercicios/semana4/ex3.cpp
lschinchilla/FISI2028-202120
5c4a80494f5867a91786771f388e9e3c9ef20eb2
[ "MIT" ]
3
2021-08-17T19:19:11.000Z
2021-11-08T12:26:41.000Z
ejercicios/semana4/ex3.cpp
lschinchilla/FISI2028-202120
5c4a80494f5867a91786771f388e9e3c9ef20eb2
[ "MIT" ]
12
2021-09-18T01:33:58.000Z
2021-10-16T00:11:45.000Z
ejercicios/semana4/ex3.cpp
lschinchilla/FISI2028-202120
5c4a80494f5867a91786771f388e9e3c9ef20eb2
[ "MIT" ]
28
2021-09-17T22:38:23.000Z
2021-10-02T19:59:49.000Z
#include <iostream> #include <fstream> #include <string> #include <sstream> using namespace std; struct Vector { double *v; uint n; }; string print_vector(int* v, int); int main(void){ // Review the averages problem cout<< "Vamos a crear nuestra primera estructura!"<<endl; Vector A; cout<<"T...
22.76087
61
0.543457
[ "vector" ]
e52bd6e4b215741deb406f6942e04a5726604fd0
2,488
cpp
C++
AMDGraph.cpp
BorisNikulin/Path-Finding
3c2a881d5d6f37152448d35508a3f00848301347
[ "MIT" ]
null
null
null
AMDGraph.cpp
BorisNikulin/Path-Finding
3c2a881d5d6f37152448d35508a3f00848301347
[ "MIT" ]
null
null
null
AMDGraph.cpp
BorisNikulin/Path-Finding
3c2a881d5d6f37152448d35508a3f00848301347
[ "MIT" ]
null
null
null
#include "AMDGraph.h" namespace pf { namespace graph { template<typename K, typename V> AMDGraph<K, V>::AMDGraph() { } template<typename K, typename V> AMDGraph<K, V>& AMDGraph<K, V>::addVertex(const K& v) { vl.push_back(v); am.reserve(vl.size()); std::for_each(am.begin(), am.end(), [&](std::...
21.084746
85
0.569936
[ "vector" ]
e5311ee7539feedb6a5c697ee75dfe0e1d6df084
11,894
hpp
C++
sources/Licensing/FsLocalStorage.hpp
palchukovsky/TunnelEx
ec645271ab8b79225e378345ff108795110c57de
[ "Apache-2.0" ]
null
null
null
sources/Licensing/FsLocalStorage.hpp
palchukovsky/TunnelEx
ec645271ab8b79225e378345ff108795110c57de
[ "Apache-2.0" ]
null
null
null
sources/Licensing/FsLocalStorage.hpp
palchukovsky/TunnelEx
ec645271ab8b79225e378345ff108795110c57de
[ "Apache-2.0" ]
null
null
null
/************************************************************************** * Created: 2009/12/02 1:09 * Author: Eugene V. Palchukovsky * E-mail: eugene@palchukovsky.com * ------------------------------------------------------------------- * Project: TunnelEx * URL: http://tunnelex.net **********...
37.639241
260
0.554902
[ "vector" ]
e53f3df463864ed5370eecdd8b71fa81d18da456
3,701
cpp
C++
Siv3D/src/Siv3D/Polygon/SivPolygon.cpp
azaika/OpenSiv3D
2e8258ea15741b7dafa6637b50b43637f7b9923a
[ "MIT" ]
null
null
null
Siv3D/src/Siv3D/Polygon/SivPolygon.cpp
azaika/OpenSiv3D
2e8258ea15741b7dafa6637b50b43637f7b9923a
[ "MIT" ]
null
null
null
Siv3D/src/Siv3D/Polygon/SivPolygon.cpp
azaika/OpenSiv3D
2e8258ea15741b7dafa6637b50b43637f7b9923a
[ "MIT" ]
1
2019-10-06T17:09:26.000Z
2019-10-06T17:09:26.000Z
//----------------------------------------------- // // This file is part of the Siv3D Engine. // // Copyright (c) 2008-2018 Ryo Suzuki // Copyright (c) 2016-2018 OpenSiv3D Project // // Licensed under the MIT License. // //----------------------------------------------- # include "CPolygon.hpp" # include <Siv3D/Shap...
17.62381
109
0.64415
[ "shape" ]
e54c776fa73496d6ed67cafb41036493ade28d00
2,352
hpp
C++
include/Utils.hpp
OnurKader/cgol
47a277bcbef37530beac08929f7d382b8000f0c0
[ "BSD-3-Clause", "MIT" ]
null
null
null
include/Utils.hpp
OnurKader/cgol
47a277bcbef37530beac08929f7d382b8000f0c0
[ "BSD-3-Clause", "MIT" ]
null
null
null
include/Utils.hpp
OnurKader/cgol
47a277bcbef37530beac08929f7d382b8000f0c0
[ "BSD-3-Clause", "MIT" ]
null
null
null
#pragma once #include <fstream> #include <string> #include <string_view> #include <vector> namespace cgol { static inline std::string read_file(std::string_view filename) { std::ifstream stream {filename.data()}; if(!stream) { throw std::runtime_error("Error: Could not open file to read"); } return std::string...
22.834951
97
0.659439
[ "vector" ]
e54e32e9bf419c0dddb54a0015297041ebc51707
7,316
cpp
C++
test/testFeatureExtraction.cpp
liyi2017/StructSLAM
7eb205489d7bde30ee74b08e72d01deaa42741fa
[ "MIT" ]
43
2017-08-01T22:56:44.000Z
2022-02-21T13:03:08.000Z
test/testFeatureExtraction.cpp
jyakaranda/StructSLAM
7eb205489d7bde30ee74b08e72d01deaa42741fa
[ "MIT" ]
1
2019-03-11T09:20:53.000Z
2019-07-04T11:00:24.000Z
test/testFeatureExtraction.cpp
jyakaranda/StructSLAM
7eb205489d7bde30ee74b08e72d01deaa42741fa
[ "MIT" ]
30
2017-07-23T11:33:26.000Z
2022-02-21T05:35:53.000Z
/*** * 本程序测试在EUROC数据集上双目特征提取部分算法 */ #include<iostream> #include<algorithm> #include<fstream> #include<chrono> #include <opencv2/core/core.hpp> #include <opencv2/imgproc/imgproc.hpp> #include <opencv2/calib3d/calib3d.hpp> #include <opencv2/highgui/highgui.hpp> #include <common/include/ygz/Feature.h> #include "ygz/F...
34.838095
120
0.593357
[ "object", "vector" ]
e54f536b84f9f99ad84eb02e132f9af9107f4b3d
8,406
hpp
C++
phosphor-power-supply/psu_manager.hpp
openbmc/phosphor-power
b85b9dded072889faf937e29af32b2600dcc8d64
[ "Apache-2.0" ]
7
2019-10-04T01:19:49.000Z
2021-06-02T23:11:19.000Z
phosphor-power-supply/psu_manager.hpp
openbmc/phosphor-power
b85b9dded072889faf937e29af32b2600dcc8d64
[ "Apache-2.0" ]
9
2019-10-23T14:22:03.000Z
2022-03-22T20:39:05.000Z
phosphor-power-supply/psu_manager.hpp
openbmc/phosphor-power
b85b9dded072889faf937e29af32b2600dcc8d64
[ "Apache-2.0" ]
11
2019-10-04T01:20:01.000Z
2022-03-03T06:08:16.000Z
#pragma once #include "power_supply.hpp" #include "types.hpp" #include "utility.hpp" #include <phosphor-logging/log.hpp> #include <sdbusplus/bus/match.hpp> #include <sdeventplus/event.hpp> #include <sdeventplus/utility/timer.hpp> struct sys_properties { int powerSupplyCount; std::vector<uint64_t> inputVoltag...
29.086505
80
0.620985
[ "object", "vector", "model" ]
e551927c6319817f3bcbaec3b3619e608730a1fc
3,618
cpp
C++
051. N-Queens AC 1+ [Counting, DFS, Math, Stack].cpp
Lywx/CppLeetcode
ad80eb8305f2317ca7d3712976c82cffdf2046fc
[ "MIT" ]
null
null
null
051. N-Queens AC 1+ [Counting, DFS, Math, Stack].cpp
Lywx/CppLeetcode
ad80eb8305f2317ca7d3712976c82cffdf2046fc
[ "MIT" ]
null
null
null
051. N-Queens AC 1+ [Counting, DFS, Math, Stack].cpp
Lywx/CppLeetcode
ad80eb8305f2317ca7d3712976c82cffdf2046fc
[ "MIT" ]
null
null
null
#include <vector> #include <algorithm> #include <list> using namespace std; // NOTE(Wuxiang): You would like to avoid store a board structure in this problem. // Because the queen collision detection can be done in constant time even you don't // have a structure for a board. You don't want to waste time in maintain ...
32.594595
107
0.587341
[ "vector" ]
e554c84fb70321458d3591a0ec0c575bc42c6416
20,351
cpp
C++
mysql-dst/mysql-cluster/storage/ndb/tools/ndb_index_stat.cpp
SJTU-IPADS/dst
897b929a692642cbf295c105d9d6e64090abb673
[ "Apache-2.0" ]
9
2020-12-17T01:59:13.000Z
2022-03-30T16:25:08.000Z
mysql-dst/mysql-cluster/storage/ndb/tools/ndb_index_stat.cpp
SJTU-IPADS/dst
897b929a692642cbf295c105d9d6e64090abb673
[ "Apache-2.0" ]
1
2021-07-30T12:06:33.000Z
2021-07-31T10:16:09.000Z
mysql-dst/mysql-cluster/storage/ndb/tools/ndb_index_stat.cpp
SJTU-IPADS/dst
897b929a692642cbf295c105d9d6e64090abb673
[ "Apache-2.0" ]
1
2021-08-01T13:47:07.000Z
2021-08-01T13:47:07.000Z
/* Copyright (c) 2003, 2016, Oracle and/or its affiliates. All rights reserved. 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; version 2 of the License. This program is distributed in t...
27.726158
100
0.585229
[ "object" ]
e5556e8db35049b4436aab3d3650cb6e398e5710
1,697
cpp
C++
demo/wait_example.cpp
yo123abxd/cpp_rate_limit
dede58e328949c22ee0cb46a3082ca970924a856
[ "MIT" ]
28
2019-12-31T03:07:34.000Z
2022-03-27T12:50:22.000Z
demo/wait_example.cpp
yo123abxd/cpp_rate_limit
dede58e328949c22ee0cb46a3082ca970924a856
[ "MIT" ]
null
null
null
demo/wait_example.cpp
yo123abxd/cpp_rate_limit
dede58e328949c22ee0cb46a3082ca970924a856
[ "MIT" ]
2
2021-02-18T09:46:40.000Z
2021-07-26T08:31:29.000Z
/* * These codes below explain how to generate 3.0 tokens per second * and cosume 2.0 tokens every time execute your codes. */ #include <iostream> #include <string> #include <vector> #include <thread> #include <chrono> #include "../include/Limiter.h" using std::chrono::duration_cast; using std::chrono::microsecon...
29.258621
94
0.56924
[ "vector" ]
e555d5917f15ec08b7a485ff3b3dc785b9915618
616
cpp
C++
Hackerrank/Practice/C++/STL/6. Maps-STL.cpp
mohitkhedkar/Competitive-programming
85d08791002363c6a1104b6b51bf049489fd5257
[ "MIT" ]
2
2020-10-22T15:37:14.000Z
2020-12-11T06:45:02.000Z
Hackerrank/Practice/C++/STL/6. Maps-STL.cpp
mohitkhedkar/Competitive-programming
85d08791002363c6a1104b6b51bf049489fd5257
[ "MIT" ]
null
null
null
Hackerrank/Practice/C++/STL/6. Maps-STL.cpp
mohitkhedkar/Competitive-programming
85d08791002363c6a1104b6b51bf049489fd5257
[ "MIT" ]
null
null
null
#include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <set> #include <map> #include <algorithm> using namespace std; int main() { /* Enter your code here. Read input from STDIN. Print output to STDOUT */ int q; cin >> q; map<string,int> m; for (int i = 0; i<q; i++) ...
16.210526
77
0.465909
[ "vector" ]
e55739b84a7dfff22f04798bbaf80b2fa9b0a84f
5,649
cpp
C++
src/qt/pivx/settings/moc_settingswalletrepairwidget.cpp
PlutusCapital/core
9a02ab820245afdb2b3ab4bea621a78bfef37590
[ "MIT" ]
null
null
null
src/qt/pivx/settings/moc_settingswalletrepairwidget.cpp
PlutusCapital/core
9a02ab820245afdb2b3ab4bea621a78bfef37590
[ "MIT" ]
null
null
null
src/qt/pivx/settings/moc_settingswalletrepairwidget.cpp
PlutusCapital/core
9a02ab820245afdb2b3ab4bea621a78bfef37590
[ "MIT" ]
null
null
null
/**************************************************************************** ** Meta object code from reading C++ file 'settingswalletrepairwidget.h' ** ** ** WARNING! All changes made in this file will be lost! *****************************************************************************/ #include "qt/pivx/settings/...
34.87037
111
0.630554
[ "object" ]
e56000efc4caf2a06ab717923f203454b9923156
18,184
cc
C++
Geometry/FbcmGeometryBuilder/src/FbcmGeometryBuilderFromDDD.cc
m-sedghi/cmssw
859df8affee372c53be79cdd2d8a5ff001eae841
[ "Apache-2.0" ]
null
null
null
Geometry/FbcmGeometryBuilder/src/FbcmGeometryBuilderFromDDD.cc
m-sedghi/cmssw
859df8affee372c53be79cdd2d8a5ff001eae841
[ "Apache-2.0" ]
null
null
null
Geometry/FbcmGeometryBuilder/src/FbcmGeometryBuilderFromDDD.cc
m-sedghi/cmssw
859df8affee372c53be79cdd2d8a5ff001eae841
[ "Apache-2.0" ]
null
null
null
///------------------------------------------- // Author: Mohammad Sedghi, msedghi@cern.ch // Isfahan University of Technology // Date created: September 2020 ///------------------------------------------- #include "Geometry/FbcmGeometryBuilder/src/FbcmGeometryBuilderFromDDD.h" #include "Geometry/FbcmGeometry/inter...
41.610984
160
0.607237
[ "geometry", "shape", "vector", "solid" ]
e56564482f14dece060e9dfcccce01c2367de030
13,843
hpp
C++
include/TMPro/TMP_FontAssetUtilities.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
include/TMPro/TMP_FontAssetUtilities.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
include/TMPro/TMP_FontAssetUtilities.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" #include "beatsaber-hook/shared/utils/il2cpp-ut...
74.424731
326
0.756483
[ "object", "vector" ]
e565834f839fcc6a95bcd2139a804d572bdeed65
7,155
cc
C++
Algorithms/SegmentStats/SegmentStats.cc
jwillemsen/sidecar
941d9f3b84d05ca405df1444d4d9fd0bde03887f
[ "MIT" ]
null
null
null
Algorithms/SegmentStats/SegmentStats.cc
jwillemsen/sidecar
941d9f3b84d05ca405df1444d4d9fd0bde03887f
[ "MIT" ]
null
null
null
Algorithms/SegmentStats/SegmentStats.cc
jwillemsen/sidecar
941d9f3b84d05ca405df1444d4d9fd0bde03887f
[ "MIT" ]
null
null
null
#include "SegmentStats.h" #include "Messages/MetaTypeInfo.h" #include "Messages/RadarConfig.h" #include "boost/bind.hpp" using namespace SideCar::Algorithms; using namespace SideCar::Messages; SegmentStats::SegmentStats(Controller& controller, Logger::Log& log) : Algorithm(controller, log), deltaRange(Parameter::I...
32.375566
115
0.620545
[ "vector" ]
e573ee28c2bee07d91b5dd9a249c20a63312f41c
12,419
cc
C++
src/developer/debug/zxdb/client/stack.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
210
2019-02-05T12:45:09.000Z
2022-03-28T07:59:06.000Z
src/developer/debug/zxdb/client/stack.cc
PlugFox/fuchsia
39afe5230d41628b3c736a6e384393df954968c8
[ "BSD-2-Clause" ]
5
2019-12-04T15:13:37.000Z
2020-02-19T08:11:38.000Z
src/developer/debug/zxdb/client/stack.cc
PlugFox/fuchsia
39afe5230d41628b3c736a6e384393df954968c8
[ "BSD-2-Clause" ]
73
2019-03-06T18:55:23.000Z
2022-03-26T12:04:51.000Z
// Copyright 2019 The Fuchsia 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 "src/developer/debug/zxdb/client/stack.h" #include <lib/syslog/cpp/macros.h> #include <map> #include "src/developer/debug/ipc/records.h" #inclu...
40.851974
100
0.72526
[ "object", "vector" ]
e575f08ed6080734682b5a6570dfc7de1a3efa9a
7,775
cpp
C++
Gems/Atom/RHI/Vulkan/Code/Source/RHI/AliasingBarrierTracker.cpp
aaarsene/o3de
37e3b0226958974defd14dd6d808e8557dcd7345
[ "Apache-2.0", "MIT" ]
1
2021-09-13T00:01:12.000Z
2021-09-13T00:01:12.000Z
Gems/Atom/RHI/Vulkan/Code/Source/RHI/AliasingBarrierTracker.cpp
aaarsene/o3de
37e3b0226958974defd14dd6d808e8557dcd7345
[ "Apache-2.0", "MIT" ]
null
null
null
Gems/Atom/RHI/Vulkan/Code/Source/RHI/AliasingBarrierTracker.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 "Atom_RHI_Vulkan_precompiled.h" #include <RHI/AliasingBarrierTracker.h> #include <RHI/Buffer...
51.833333
187
0.61955
[ "3d" ]
ec820f71a4fdff6749aaafda2fc1659aaf2938e1
954
cc
C++
angrygl/enemy_spawner.cc
lubomirjurukov/AngryGL
795f07c6550e428e7c27fcdcd98430129428280a
[ "Apache-2.0" ]
334
2020-01-04T01:52:40.000Z
2022-03-16T11:36:15.000Z
angrygl/enemy_spawner.cc
lubomirjurukov/AngryGL
795f07c6550e428e7c27fcdcd98430129428280a
[ "Apache-2.0" ]
5
2021-02-11T23:41:10.000Z
2021-05-18T11:12:11.000Z
angrygl/enemy_spawner.cc
lubomirjurukov/AngryGL
795f07c6550e428e7c27fcdcd98430129428280a
[ "Apache-2.0" ]
60
2020-02-20T23:50:59.000Z
2022-03-02T13:23:13.000Z
#include "angrygl/enemy_spawner.h" #include <cstdlib> namespace { const float enemySpawnInterval = 1.0f; // seconds const int spawnsPerInterval = 1; const float spawnRadius = 10.0f; // from player } // namespace EnemySpawner::EnemySpawner(float _monsterY, std::vector<Enemy>* _enemies) : enemies(_enemies), countdo...
30.774194
147
0.701258
[ "vector" ]
ec83c1cb58fee8e95a06d73eb474d139d6b8375c
2,093
hh
C++
include/NCPhysicsModel.hh
ramic-k/ncplugin-NJOY_NCrystal
e38fc58a78c2775470ed51ed7fae461a29318d43
[ "Apache-2.0" ]
null
null
null
include/NCPhysicsModel.hh
ramic-k/ncplugin-NJOY_NCrystal
e38fc58a78c2775470ed51ed7fae461a29318d43
[ "Apache-2.0" ]
null
null
null
include/NCPhysicsModel.hh
ramic-k/ncplugin-NJOY_NCrystal
e38fc58a78c2775470ed51ed7fae461a29318d43
[ "Apache-2.0" ]
null
null
null
#ifndef NCPlugin_PhysicsModel_hh #define NCPlugin_PhysicsModel_hh #include "NCrystal/NCPluginBoilerplate.hh"//Common stuff (includes NCrystal //public API headers, sets up //namespaces and aliases) namespace NCPluginNamespace { //W...
40.25
104
0.71763
[ "model" ]
ec8991dcbf9861e21f2567d8ded94a0a8daa0b70
2,179
cpp
C++
algorithms/kruskal_mst.cpp
oishikm12/cpp-collection
4a454a6ed5b24570c7df0d4f0b692ae98c1ffa97
[ "MIT" ]
5
2021-05-17T12:32:42.000Z
2021-12-12T21:09:55.000Z
algorithms/kruskal_mst.cpp
oishikm12/cpp-collection
4a454a6ed5b24570c7df0d4f0b692ae98c1ffa97
[ "MIT" ]
null
null
null
algorithms/kruskal_mst.cpp
oishikm12/cpp-collection
4a454a6ed5b24570c7df0d4f0b692ae98c1ffa97
[ "MIT" ]
1
2021-05-13T20:29:57.000Z
2021-05-13T20:29:57.000Z
#include <iostream> #include <vector> #include <unordered_map> #include <algorithm> using namespace std; vector<vector<int>> kruskalMST(vector<vector<int>> &graph); int main() { /** * Kruskal's algorithm is implemented with the idea of sorting all * the edges in a graph based on their weights, and then ...
31.57971
101
0.601193
[ "vector" ]
ec8b88ffba3682ffd01e5d50718de568534c8e17
2,810
cpp
C++
src/PageBody.cpp
atzom/htmlCplusplus
ac4627c2515526b41f9fa692ff463e0be75a3041
[ "BSD-3-Clause" ]
3
2020-07-04T18:26:55.000Z
2020-07-07T09:17:26.000Z
src/PageBody.cpp
atzom/htmlCplusplus
ac4627c2515526b41f9fa692ff463e0be75a3041
[ "BSD-3-Clause" ]
null
null
null
src/PageBody.cpp
atzom/htmlCplusplus
ac4627c2515526b41f9fa692ff463e0be75a3041
[ "BSD-3-Clause" ]
null
null
null
// BSD 3-Clause License // Copyright (c) 2020, Andreas Tzomakas // All rights reserved. // 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, thi...
31.573034
108
0.668327
[ "render" ]
ec8bed7d0b8bc6878fc449f297a110c2ff2724ff
1,783
cpp
C++
libfairygui/Classes/gears/GearAnimation.cpp
zeas2/FairyGUI-cocos2dx
c6ddaafc1b1bf51b0ef6929d6937c0cf111cd06a
[ "MIT" ]
null
null
null
libfairygui/Classes/gears/GearAnimation.cpp
zeas2/FairyGUI-cocos2dx
c6ddaafc1b1bf51b0ef6929d6937c0cf111cd06a
[ "MIT" ]
null
null
null
libfairygui/Classes/gears/GearAnimation.cpp
zeas2/FairyGUI-cocos2dx
c6ddaafc1b1bf51b0ef6929d6937c0cf111cd06a
[ "MIT" ]
null
null
null
#include "GearAnimation.h" #include "GObject.h" #include "utils/ToolSet.h" #include "UIPackage.h" NS_FGUI_BEGIN USING_NS_CC; GearAnimation::GearAnimationValue::GearAnimationValue() :frame(0), playing(false) { } GearAnimation::GearAnimationValue::GearAnimationValue(bool playing, int frame) { this-...
22.2875
109
0.641615
[ "vector" ]
ec8bef69e2442b052a569d1869c773e3bcda1c8e
1,471
cpp
C++
ecs/src/v2/model/ChangeSeversOsMetadata.cpp
yangzhaofeng/huaweicloud-sdk-cpp-v3
4f3caac5ba9a9b75b4e5fd61683d1c4d57ec1c23
[ "Apache-2.0" ]
5
2021-03-03T08:23:43.000Z
2022-02-16T02:16:39.000Z
ecs/src/v2/model/ChangeSeversOsMetadata.cpp
yangzhaofeng/huaweicloud-sdk-cpp-v3
4f3caac5ba9a9b75b4e5fd61683d1c4d57ec1c23
[ "Apache-2.0" ]
null
null
null
ecs/src/v2/model/ChangeSeversOsMetadata.cpp
yangzhaofeng/huaweicloud-sdk-cpp-v3
4f3caac5ba9a9b75b4e5fd61683d1c4d57ec1c23
[ "Apache-2.0" ]
7
2021-02-26T13:53:35.000Z
2022-03-18T02:36:43.000Z
#include "huaweicloud/ecs/v2/model/ChangeSeversOsMetadata.h" namespace HuaweiCloud { namespace Sdk { namespace Ecs { namespace V2 { namespace Model { ChangeSeversOsMetadata::ChangeSeversOsMetadata() { userData_ = ""; userDataIsSet_ = false; } ChangeSeversOsMetadata::~ChangeSeversOsMetadata() = default; ...
17.939024
100
0.67777
[ "object", "model" ]
ec93580e171ddcf90bcb158eccf2d16a1f093388
2,655
hpp
C++
src/vigenere_square.hpp
tuokri/breakcipher
4d326dc2ba1be18a9c0269a16864dbf75716b3ab
[ "MIT" ]
null
null
null
src/vigenere_square.hpp
tuokri/breakcipher
4d326dc2ba1be18a9c0269a16864dbf75716b3ab
[ "MIT" ]
null
null
null
src/vigenere_square.hpp
tuokri/breakcipher
4d326dc2ba1be18a9c0269a16864dbf75716b3ab
[ "MIT" ]
null
null
null
/** * \file vigenere_square.hpp * \brief vigenere_square header file. */ #ifndef VIGENERE_SQUARE_H #define VIGENERE_SQUARE_H #include <string> #include <vector> /** * \class vigenere_square * \brief Represents a Vigenère square initialized with a certain alphabet, * to which strings can be passed for en...
28.858696
76
0.592844
[ "vector" ]
ec969b6e9bc82737efb8fa6200a98fb605c20a44
7,804
cpp
C++
TiCore/runtime/ObjectPrototype.cpp
vishalduggal/tijscore
0b20b5731766628109bdd2c657558de9d5a976ec
[ "MS-PL", "Naumen", "Condor-1.1", "Apache-1.1" ]
null
null
null
TiCore/runtime/ObjectPrototype.cpp
vishalduggal/tijscore
0b20b5731766628109bdd2c657558de9d5a976ec
[ "MS-PL", "Naumen", "Condor-1.1", "Apache-1.1" ]
null
null
null
TiCore/runtime/ObjectPrototype.cpp
vishalduggal/tijscore
0b20b5731766628109bdd2c657558de9d5a976ec
[ "MS-PL", "Naumen", "Condor-1.1", "Apache-1.1" ]
null
null
null
/** * Appcelerator Titanium License * This source code and all modifications done by Appcelerator * are licensed under the Apache Public License (version 2) and * are Copyright (c) 2009-2012 by Appcelerator, Inc. */ /* * Copyright (C) 1999-2000 Harri Porten (porten@kde.org) * Copyright (C) 2008, 2011 Apple In...
40.435233
148
0.751281
[ "object" ]
ec9c097d2dc1dfcd3c0884a55790fe88e4ab6a9e
4,062
cpp
C++
src/qfhydrate.cpp
tomicooler/quickflux
0b0a144afa54a397382605ccea52286107678cb9
[ "Apache-2.0" ]
306
2015-06-12T11:18:53.000Z
2022-02-25T09:53:07.000Z
src/qfhydrate.cpp
tomicooler/quickflux
0b0a144afa54a397382605ccea52286107678cb9
[ "Apache-2.0" ]
32
2015-06-23T18:11:21.000Z
2021-10-08T21:27:10.000Z
src/qfhydrate.cpp
tomicooler/quickflux
0b0a144afa54a397382605ccea52286107678cb9
[ "Apache-2.0" ]
74
2015-12-14T13:12:06.000Z
2022-02-02T09:22:55.000Z
#include <QtCore> #include <QVariantMap> #include "qfhydrate.h" #include "qfobject.h" #include "qfstore.h" #include <functional> static QVariantMap dehydrator(QObject* source); static auto dehydratorFunction = [](const QStringList& ignoreList) -> std::function<QVariantMap (QObject *)> { return [=](QObject* sourc...
25.708861
221
0.622107
[ "object" ]
ecaa16253fbab88424ed1c0e46c4d24b5d284ccf
5,508
hpp
C++
al5d_low_level_driver/test/AL5DLowLevelDriverTests.hpp
User-TGK/franka_robot_control
48d62b2056aca2226cbe5ac3914f01bef3659f49
[ "MIT" ]
3
2019-12-12T13:09:49.000Z
2021-09-07T09:08:56.000Z
al5d_low_level_driver/test/AL5DLowLevelDriverTests.hpp
User-TGK/franka_robot_control
48d62b2056aca2226cbe5ac3914f01bef3659f49
[ "MIT" ]
null
null
null
al5d_low_level_driver/test/AL5DLowLevelDriverTests.hpp
User-TGK/franka_robot_control
48d62b2056aca2226cbe5ac3914f01bef3659f49
[ "MIT" ]
null
null
null
#ifndef AL5D_LOW_LEVEL_DRIVER_TESTS_ #define AL5D_LOW_LEVEL_DRIVER_TESTS_ #include <gtest/gtest.h> #include <Driver.hpp> namespace RobotControl { namespace Al5dLowLevelDriver { /** * @brief function to set an example set of DoF's (used in the following unittests) * @author Ties Klappe * * @return std::vector<Ro...
39.06383
148
0.748184
[ "vector" ]
ecafe06a5ae4c50d58cae6dd4a680d65cee3be26
2,565
hpp
C++
include/atomistic/fundamental.hpp
ltalirz/util-programs
93c76cb8f52543b55afdd968f6d8374997031a27
[ "MIT" ]
null
null
null
include/atomistic/fundamental.hpp
ltalirz/util-programs
93c76cb8f52543b55afdd968f6d8374997031a27
[ "MIT" ]
null
null
null
include/atomistic/fundamental.hpp
ltalirz/util-programs
93c76cb8f52543b55afdd968f6d8374997031a27
[ "MIT" ]
null
null
null
/** * @file fundamental.hpp * Some classes describing fundamental atomistic concepts. */ #ifndef ATOMISTIC_FUNDAMENTAL_HPP #define ATOMISTIC_FUNDAMENTAL_HPP #include "types.hpp" #include "la.hpp" namespace atomistic { //class EigenState { // types::Real energy; // WfnCube cube; // // types::Real getEner...
24.663462
95
0.62729
[ "vector" ]
ecb2cd409aa164c7ccc24a8a91f50a243b2eaeed
1,917
cpp
C++
Geometria/Application/Application.cpp
TheNachoBIT/TheRetroFunkProject
f2ae65e8a6659987e9735ac3b668b132e460c615
[ "MIT", "BSD-3-Clause" ]
7
2021-12-01T07:16:49.000Z
2022-01-20T03:34:13.000Z
Geometria/Application/Application.cpp
TheNachoBIT/TheRetroFunkProject
f2ae65e8a6659987e9735ac3b668b132e460c615
[ "MIT", "BSD-3-Clause" ]
null
null
null
Geometria/Application/Application.cpp
TheNachoBIT/TheRetroFunkProject
f2ae65e8a6659987e9735ac3b668b132e460c615
[ "MIT", "BSD-3-Clause" ]
2
2021-12-14T19:19:37.000Z
2021-12-16T21:09:46.000Z
#include "Application.h" #include "../Behaviours/Behaviour.h" #include "../Graphics/Cores/MainAPI/Graphics.h" #include "../Graphics/Cores/Renderer/RendererCore.h" #include "../Graphics/Externals/SceneAndDrawCall.h" //SCENES //#include "../Game/SampleScene.tits.h" #include "../Game/GameMain.h" #include "../Editor/Edit...
23.096386
159
0.728743
[ "vector" ]
ecb42fbd3daa4d9d35406fb22fde16f2bd09c2b8
9,829
cpp
C++
Coda/src/nlp-stack/Dictionary/DictionaryTrieBuild.cpp
Samsung/veles.nlp
972fde27203cb04d301e34274b57435ed58372c4
[ "Apache-2.0" ]
8
2016-02-16T10:15:39.000Z
2020-03-12T21:14:36.000Z
src/nlp-stack/Dictionary/Core/DictionaryTrie/DictionaryTrieBuild.cpp
bdbabiak/Coda
5e84624ae2b759fb1743778316f64c801591c48a
[ "Apache-2.0" ]
null
null
null
src/nlp-stack/Dictionary/Core/DictionaryTrie/DictionaryTrieBuild.cpp
bdbabiak/Coda
5e84624ae2b759fb1743778316f64c801591c48a
[ "Apache-2.0" ]
6
2016-02-16T10:15:47.000Z
2020-01-20T20:33:25.000Z
/** * DictionaryTrieBuild.cpp */ #include "DictionaryTrieBuild.h" #include "Dictionary.h" #define DIC_FILE_PATH "C:\\Python33\\_Ha\\2013_03_11_DictionaryVer5\\2013_03_12_dicRootModel_Ver5.txt" #define LINK_FILE_PATH "C:\\Python33\\_Ha\\2013_02_07_ImproveDictionary\\2013_02_08_links.txt" /** * Constructor of Dict...
28.082857
214
0.685828
[ "vector", "model" ]
ecb6078980825c1ce8c7e14d9c2d77c7703dbe3d
10,877
cpp
C++
src/lib/crypto/test/EDDSATests.cpp
ansasaki/SoftHSMv2
80b96a9f79b9898a2c799aa6ce899ae6f88211cd
[ "BSD-2-Clause" ]
2
2019-03-16T08:06:15.000Z
2021-05-29T17:03:11.000Z
src/lib/crypto/test/EDDSATests.cpp
martinpaljak/SoftHSMv2
a431e61b890b91fb208711816014c25fb83367a9
[ "BSD-2-Clause" ]
null
null
null
src/lib/crypto/test/EDDSATests.cpp
martinpaljak/SoftHSMv2
a431e61b890b91fb208711816014c25fb83367a9
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (c) 2010 SURFnet bv * All rights reserved. * * 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 condition...
30.639437
160
0.740829
[ "object", "vector" ]
ecbae11ba996a5cffd5e99b47bb6d8fda816b5ea
16,638
cpp
C++
Libraries/RobsJuceModules/rosic/modulators/rosic_Modulator.cpp
RobinSchmidt/RS-MET-Preliminary
6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe
[ "FTL" ]
34
2017-04-19T18:26:02.000Z
2022-02-15T17:47:26.000Z
Libraries/RobsJuceModules/rosic/modulators/rosic_Modulator.cpp
RobinSchmidt/RS-MET-Preliminary
6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe
[ "FTL" ]
307
2017-05-04T21:45:01.000Z
2022-02-03T00:59:01.000Z
Libraries/RobsJuceModules/rosic/modulators/rosic_Modulator.cpp
RobinSchmidt/RS-MET-Preliminary
6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe
[ "FTL" ]
4
2017-09-05T17:04:31.000Z
2021-12-15T21:24:28.000Z
#include "rosic_Modulator.h" using namespace rosic; //----------------------------------------------------------------------------- // construction/destruction: Modulator::Modulator() { //TEST: //fadeInOutSlewRateLimiter.setReleaseTime(5.0); scaleFactor = 1.0; offset = 0.0; currentKey ...
25.795349
95
0.694374
[ "object" ]
ecbbbc55caa3165c295ba148955738d37cee0273
605
cpp
C++
LeetCode/763 - Partition Labels.cpp
GokulVSD/ScratchPad
53dee2293a2039186b00c7a465c7ef28e2b8e291
[ "Unlicense" ]
null
null
null
LeetCode/763 - Partition Labels.cpp
GokulVSD/ScratchPad
53dee2293a2039186b00c7a465c7ef28e2b8e291
[ "Unlicense" ]
null
null
null
LeetCode/763 - Partition Labels.cpp
GokulVSD/ScratchPad
53dee2293a2039186b00c7a465c7ef28e2b8e291
[ "Unlicense" ]
null
null
null
// https://leetcode.com/problems/partition-labels/ // Greedy solution, keeping track of last occurence of a character. class Solution { public: vector<int> partitionLabels(string s) { vector<int> ans; unordered_map<char, int> m; for(int i = 0; i < s.size(); ++i){ m[s[i]] = i; ...
25.208333
67
0.439669
[ "vector" ]
ecbeb6f3463f2ea34d0033d07512228f9ed4b13b
15,276
cxx
C++
cgv/gui/provider.cxx
henne90gen/cgv
31995e9f09d093f9997980093452a5424d0c1319
[ "BSD-3-Clause" ]
11
2017-09-30T12:21:55.000Z
2021-04-29T21:31:57.000Z
cgv/gui/provider.cxx
henne90gen/cgv
31995e9f09d093f9997980093452a5424d0c1319
[ "BSD-3-Clause" ]
2
2017-07-11T11:20:08.000Z
2018-03-27T12:09:02.000Z
cgv/gui/provider.cxx
henne90gen/cgv
31995e9f09d093f9997980093452a5424d0c1319
[ "BSD-3-Clause" ]
24
2018-03-27T11:46:16.000Z
2021-05-01T20:28:34.000Z
#include <cgv/gui/provider.h> #include <cgv/gui/gui_driver.h> #include <cgv/gui/trigger.h> #include <cgv/base/base_generator.h> //#include <cgv/os/mutex.h> #include <iostream> #include <set> namespace cgv { namespace gui { // update the parent group void provider::update_parent() { parent_group->s...
29.097143
241
0.682836
[ "object", "vector" ]
ecbf7638f31434a77a930f34b471eb95fc657b00
4,777
cpp
C++
private/bt/core/render/RenderManager.cpp
c0de4un/btSDK
fbdd6873cc33b5d7af09920f62edf6c1c26cf5f7
[ "MIT" ]
1
2020-05-20T17:45:47.000Z
2020-05-20T17:45:47.000Z
private/bt/core/render/RenderManager.cpp
c0de4un/btSDK
fbdd6873cc33b5d7af09920f62edf6c1c26cf5f7
[ "MIT" ]
null
null
null
private/bt/core/render/RenderManager.cpp
c0de4un/btSDK
fbdd6873cc33b5d7af09920f62edf6c1c26cf5f7
[ "MIT" ]
null
null
null
/** * Copyright © 2020 Denis Z. (code4un@yandex.ru) All rights reserved. * Authors: Denis Z. (code4un@yandex.ru) * All rights reserved. * License: see LICENSE.txt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: ...
35.125
99
0.515596
[ "render" ]
ecc13ff44ba3c37eff5bf03a01764aabe413ccd1
1,264
cpp
C++
test/002-must-exist.cpp
once-ler/Store-cpp
27d65057b2984c61a4b8be9d96d8fa6d70de1fb7
[ "BSD-3-Clause" ]
3
2019-08-18T19:14:02.000Z
2019-09-20T05:38:58.000Z
test/002-must-exist.cpp
once-ler/Store-cpp
27d65057b2984c61a4b8be9d96d8fa6d70de1fb7
[ "BSD-3-Clause" ]
null
null
null
test/002-must-exist.cpp
once-ler/Store-cpp
27d65057b2984c61a4b8be9d96d8fa6d70de1fb7
[ "BSD-3-Clause" ]
1
2019-09-20T05:39:01.000Z
2019-09-20T05:39:01.000Z
/* g++ -std=c++14 -I ../../ -I /usr/local/include -I ../../../Store-cpp -I ../../../json/single_include/nlohmann ../002-must-exist.cpp -o bin/testing -L /usr/lib/x86_64-linux-gnu -L /usr/local/lib -luuid */ #include <cassert> #include <iostream> #include "store.models/src/extensions.hpp" using namespace std; using nam...
38.30303
200
0.662184
[ "vector", "transform" ]
ecc20aa2f34dc929f99405a1e82be4a00c2e49fa
3,396
cc
C++
tutorial/append_computation_example.cc
kalyanbhetwal/IEGenLib
6828a4940f75c734da5f67116c1a5271610901ac
[ "BSD-2-Clause" ]
1
2021-03-04T07:29:34.000Z
2021-03-04T07:29:34.000Z
tutorial/append_computation_example.cc
kalyanbhetwal/IEGenLib
6828a4940f75c734da5f67116c1a5271610901ac
[ "BSD-2-Clause" ]
160
2021-01-05T18:34:10.000Z
2022-03-03T01:27:49.000Z
tutorial/append_computation_example.cc
kalyanbhetwal/IEGenLib
6828a4940f75c734da5f67116c1a5271610901ac
[ "BSD-2-Clause" ]
3
2020-07-01T19:38:46.000Z
2022-03-03T02:16:08.000Z
#include "iegenlib.h" #include <utility> #include <fstream> #include <iostream> #include <sstream> Computation* func1(); Computation* func2(); Computation* func1() { Computation* comp = new Computation(); comp->addParameter("var", "int&"); comp->addParameter("baz", "int*"); comp->addStmt(new Stmt ( ...
21.358491
103
0.454653
[ "vector" ]
ecc87344d1245df63ddddaee8ca7ae0754afc6de
1,283
cpp
C++
opt_algs.1.0/oa_frosen.cpp
ghornby/opt_algs
b68aefceda7c6ab50976e87551cc6986b5616321
[ "BSD-3-Clause" ]
1
2020-02-23T03:32:22.000Z
2020-02-23T03:32:22.000Z
opt_algs.1.0/oa_frosen.cpp
ghornby/opt_algs
b68aefceda7c6ab50976e87551cc6986b5616321
[ "BSD-3-Clause" ]
null
null
null
opt_algs.1.0/oa_frosen.cpp
ghornby/opt_algs
b68aefceda7c6ab50976e87551cc6986b5616321
[ "BSD-3-Clause" ]
null
null
null
/*** This file is part of the OptAlgs C++ library originally developed by Gregory Hornby. This code is released under the BSD-3 license: http://opensource.org/licenses/BSD-3-Clause See the file "license.txt" in the root directory for full details. ***/ /******************************************************* ...
17.575342
66
0.597038
[ "vector" ]
ecd0929bcd456c86970a16e42e3c4e9fa1331b65
27,573
cpp
C++
Engine/Source/Runtime/Slate/Private/Framework/Application/MenuStack.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
1
2022-01-29T18:36:12.000Z
2022-01-29T18:36:12.000Z
Engine/Source/Runtime/Slate/Private/Framework/Application/MenuStack.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
Engine/Source/Runtime/Slate/Private/Framework/Application/MenuStack.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #include "Framework/Application/MenuStack.h" #include "Layout/LayoutUtils.h" #include "Layout/WidgetPath.h" #include "Framework/Application/SlateApplication.h" #include "Widgets/Text/STextBlock.h" #include "Widgets/Layout/SBox.h" #include "Widgets/Layout/SPo...
34.770492
359
0.768324
[ "geometry", "object", "transform" ]
ecd3286bcb9a35650ec621cee3183ae9796acb3f
1,117
cc
C++
sensors/beam_pattern_HLA.cc
fraclipe/UnderSeaModelingLibrary
52ef9dd03c7cbe548749e4527190afe7668ff4e7
[ "BSD-2-Clause" ]
1
2021-02-07T14:48:22.000Z
2021-02-07T14:48:22.000Z
sensors/beam_pattern_HLA.cc
Wolframy-NUDT/UnderSeaModelingLibrary
43365639b435841e1bf2297cf1ac575b8cf91932
[ "BSD-2-Clause" ]
null
null
null
sensors/beam_pattern_HLA.cc
Wolframy-NUDT/UnderSeaModelingLibrary
43365639b435841e1bf2297cf1ac575b8cf91932
[ "BSD-2-Clause" ]
null
null
null
/** * @file beam_pattern_HLA.cc */ #include <usml/sensors/beam_pattern_HLA.h> using namespace usml::sensors ; /** * Constructor */ beam_pattern_HLA::beam_pattern_HLA( double sound_speed, double spacing, size_t elements, double steering_angle ) : beam_pattern_line( sound_speed, spacing, ...
21.901961
78
0.623993
[ "vector" ]
ecd9c211270f1dc976d8d85c44bfea10178e8d92
14,495
cpp
C++
csv2stats/csv2stats.cpp
rsuchecki/biokanga
ef0fa1cf58fb2903ae18d14e5b0f84de7b7e744e
[ "MIT" ]
null
null
null
csv2stats/csv2stats.cpp
rsuchecki/biokanga
ef0fa1cf58fb2903ae18d14e5b0f84de7b7e744e
[ "MIT" ]
null
null
null
csv2stats/csv2stats.cpp
rsuchecki/biokanga
ef0fa1cf58fb2903ae18d14e5b0f84de7b7e744e
[ "MIT" ]
null
null
null
// csv2stats.cpp : Defines the entry point for the console application. // #include "stdafx.h" #ifdef HAVE_CONFIG_H #include <config.h> #endif #include "../libbiokanga/commhdrs.h" const char *cpszProgVer = "1.0.0"; // increment with each release const int cDfltMinLengthRange = 4; // accept sequence le...
30.709746
161
0.681476
[ "object" ]
ece4d6ccae0732031b84f224e939ddad5e58845a
14,132
cc
C++
mindspore/lite/tools/optimizer/graph/transpose_strategy.cc
ZLkanyo009/mindspore
0a6ed86bb443ed233504fa7eee931a24637d50bb
[ "Apache-2.0" ]
null
null
null
mindspore/lite/tools/optimizer/graph/transpose_strategy.cc
ZLkanyo009/mindspore
0a6ed86bb443ed233504fa7eee931a24637d50bb
[ "Apache-2.0" ]
null
null
null
mindspore/lite/tools/optimizer/graph/transpose_strategy.cc
ZLkanyo009/mindspore
0a6ed86bb443ed233504fa7eee931a24637d50bb
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2021 Huawei Technologies Co., Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
38.717808
120
0.669049
[ "shape", "vector", "transform" ]
ece6012b5bec712737c1a5c92923f9b0ff95033e
4,324
hxx
C++
main/drawinglayer/inc/drawinglayer/primitive3d/sdrextrudelathetools3d.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/drawinglayer/inc/drawinglayer/primitive3d/sdrextrudelathetools3d.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/drawinglayer/inc/drawinglayer/primitive3d/sdrextrudelathetools3d.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...
30.666667
114
0.688483
[ "geometry", "vector", "transform" ]
ece7e7e78f21194540d66c988021144ecec7c17c
2,111
cpp
C++
src/Common/Utilities/src/ThreadManager.cpp
hausdorff/BitFunnel
d15591de31853d60a1552c0631b37fb63a501421
[ "MIT" ]
null
null
null
src/Common/Utilities/src/ThreadManager.cpp
hausdorff/BitFunnel
d15591de31853d60a1552c0631b37fb63a501421
[ "MIT" ]
null
null
null
src/Common/Utilities/src/ThreadManager.cpp
hausdorff/BitFunnel
d15591de31853d60a1552c0631b37fb63a501421
[ "MIT" ]
null
null
null
// The MIT License (MIT) // Copyright (c) 2016, Microsoft // 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, mo...
30.594203
80
0.69351
[ "vector" ]
ecea696f0db19add18a7f7710654af237c366790
7,709
cpp
C++
SubtitleIO.cpp
matijalukic/subtitly
c7001fd6c70019c6ed745b8726035486bd645dd4
[ "MIT" ]
null
null
null
SubtitleIO.cpp
matijalukic/subtitly
c7001fd6c70019c6ed745b8726035486bd645dd4
[ "MIT" ]
null
null
null
SubtitleIO.cpp
matijalukic/subtitly
c7001fd6c70019c6ed745b8726035486bd645dd4
[ "MIT" ]
null
null
null
#include "SubtitleIO.h" double SubtitleIO::framesPerSecond = 25.; SubtitleIO::SubtitleIO(string fileName) { loadedSubtitle.open(fileName, ios_base::in | ios_base::out | ios_base::app); if (!loadedSubtitle.is_open()) throw IOError(); } SubtitleIO::~SubtitleIO() { loadedSubtitle.close(); } // pre nego sto o...
28.764925
130
0.624335
[ "transform" ]
ecec1a02a91f1adda406ebe3913d9bf78045ad44
710
cc
C++
chipyard.TestHarness.TinyRocketConfig/testchip_tsi.cc
vargandhi/ime-congs
963be79b7b319d8e74edae09df7bdf3330371401
[ "BSD-3-Clause" ]
null
null
null
chipyard.TestHarness.TinyRocketConfig/testchip_tsi.cc
vargandhi/ime-congs
963be79b7b319d8e74edae09df7bdf3330371401
[ "BSD-3-Clause" ]
null
null
null
chipyard.TestHarness.TinyRocketConfig/testchip_tsi.cc
vargandhi/ime-congs
963be79b7b319d8e74edae09df7bdf3330371401
[ "BSD-3-Clause" ]
null
null
null
#include "testchip_tsi.h" testchip_tsi_t::testchip_tsi_t(int argc, char** argv, bool can_have_loadmem) : tsi_t(argc, argv) { has_loadmem = false; std::vector<std::string> args(argv + 1, argv + argc); for (auto& arg : args) { if (arg.find("+loadmem=") == 0) has_loadmem = can_have_loadmem; } } void t...
22.903226
96
0.666197
[ "vector" ]
eced6649f1ba7af0cd72d186828c89f23136d653
4,628
cpp
C++
main.cpp
FrankMakesStuff/franks-drawing-library
5e0e2f2248d886f5a77550fa9103ae49b01f1534
[ "libtiff", "libpng-2.0", "BSD-3-Clause" ]
null
null
null
main.cpp
FrankMakesStuff/franks-drawing-library
5e0e2f2248d886f5a77550fa9103ae49b01f1534
[ "libtiff", "libpng-2.0", "BSD-3-Clause" ]
null
null
null
main.cpp
FrankMakesStuff/franks-drawing-library
5e0e2f2248d886f5a77550fa9103ae49b01f1534
[ "libtiff", "libpng-2.0", "BSD-3-Clause" ]
null
null
null
#define SDL_MAIN_HANDLED #include <iostream> #include <string> #include "SDL2\SDL.h" #include "SDL2\SDL_image.h" const int SCREEN_WIDTH = 800; const int SCREEN_HEIGHT = 600; const int WINDOW_LEFT = 250; const int WINDOW_TOP = 100; const char *WINDOW_TITLE = "Frank's SDL2 Demo"; /** -=-=-=-=-=-=-=- LogError -=-=-=-=...
28.745342
195
0.63764
[ "render" ]
eced990f86e4b96fe2cd5939a895544595e0b3f6
5,524
cpp
C++
src/xercesc/util/NetAccessors/MacOSURLAccess/URLAccessBinInputStream.cpp
rherardi/xerces-c-src_2_7_0
a23711292bba70519940d7e6aeb07100319b607c
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/xercesc/util/NetAccessors/MacOSURLAccess/URLAccessBinInputStream.cpp
rherardi/xerces-c-src_2_7_0
a23711292bba70519940d7e6aeb07100319b607c
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/xercesc/util/NetAccessors/MacOSURLAccess/URLAccessBinInputStream.cpp
rherardi/xerces-c-src_2_7_0
a23711292bba70519940d7e6aeb07100319b607c
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/* * Copyright 1999-2000,2004 The Apache Software 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 * * Unle...
28.328205
111
0.653331
[ "object" ]
eceedc91f1048d32c2df74aab5cb83259eddee2d
1,938
cpp
C++
EngineTest/EngineTest/Source/Core/M5Phy.cpp
mattCasanova/Mach5
0d98a092bee4c38816911c118fd6552a40850201
[ "MIT" ]
16
2017-06-30T12:49:24.000Z
2021-01-23T17:39:35.000Z
EngineTest/EngineTest/Source/Core/M5Phy.cpp
mattCasanova/Mach5
0d98a092bee4c38816911c118fd6552a40850201
[ "MIT" ]
2
2017-03-09T20:35:26.000Z
2020-03-20T01:09:40.000Z
EngineTest/EngineTest/Source/Core/M5Phy.cpp
mattCasanova/Mach5
0d98a092bee4c38816911c118fd6552a40850201
[ "MIT" ]
2
2018-10-21T01:33:17.000Z
2020-03-19T09:30:19.000Z
/******************************************************************************/ /*! file M5Phy.cpp \author Matt Casanova \\par email: lazersquad\@gmail.com \par Mach5 Game Engine \date 2016/09/26 Basis Physics engine for Mach 5. This is a work in progress. */ /************************************...
26.189189
97
0.609907
[ "vector" ]
eceefc86a50abfe21d9f0997ceec4b5be0af2eef
868
cpp
C++
test/algorithms/data_structures/array/test_max_consecutive_equal_elements.cpp
iamantony/CppNotes
2707db6560ad80b0e5e286a04b2d46e5c0280b3f
[ "MIT" ]
2
2020-07-31T14:13:56.000Z
2021-02-03T09:51:43.000Z
test/algorithms/data_structures/array/test_max_consecutive_equal_elements.cpp
iamantony/CppNotes
2707db6560ad80b0e5e286a04b2d46e5c0280b3f
[ "MIT" ]
28
2015-09-22T07:38:21.000Z
2018-10-02T11:00:58.000Z
test/algorithms/data_structures/array/test_max_consecutive_equal_elements.cpp
iamantony/CppNotes
2707db6560ad80b0e5e286a04b2d46e5c0280b3f
[ "MIT" ]
2
2018-10-11T14:10:50.000Z
2021-02-27T08:53:50.000Z
#include <boost/test/unit_test.hpp> #include "algorithms/data_structures/array/max_consecutive_equal_elements.hpp" BOOST_AUTO_TEST_SUITE(TestMaxConsecutiveEqualElements) BOOST_AUTO_TEST_CASE(empty_arr) { std::vector<int> array = {}; BOOST_CHECK(0 == Algo::DS::Array::MaxConsecutiveElems::MaxOnes(array)); } BO...
28
78
0.701613
[ "vector" ]
ecff0a4ead79ab4cafde655f3119d7a830a94365
7,987
cpp
C++
platforms/umc/src/dtmfsession.cpp
bjqiwei/unimrcp
c081282cc5b9572d7ee6c9d01aa42bd5ce0628ba
[ "Apache-2.0" ]
null
null
null
platforms/umc/src/dtmfsession.cpp
bjqiwei/unimrcp
c081282cc5b9572d7ee6c9d01aa42bd5ce0628ba
[ "Apache-2.0" ]
null
null
null
platforms/umc/src/dtmfsession.cpp
bjqiwei/unimrcp
c081282cc5b9572d7ee6c9d01aa42bd5ce0628ba
[ "Apache-2.0" ]
1
2020-08-02T12:23:25.000Z
2020-08-02T12:23:25.000Z
/* * Copyright 2008-2015 Arsen Chaloyan * * 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 ...
28.730216
118
0.724552
[ "object" ]
a6010007bb4fc6b379248a1e64b1730ad3b6b509
16,828
cxx
C++
Qt/ApplicationComponents/pqLoadDataReaction.cxx
xj361685640/ParaView
0a27eef5abc5a0c0472ab0bc806c4db881156e64
[ "Apache-2.0", "BSD-3-Clause" ]
815
2015-01-03T02:14:04.000Z
2022-03-26T07:48:07.000Z
Qt/ApplicationComponents/pqLoadDataReaction.cxx
xj361685640/ParaView
0a27eef5abc5a0c0472ab0bc806c4db881156e64
[ "Apache-2.0", "BSD-3-Clause" ]
9
2015-04-28T20:10:37.000Z
2021-08-20T18:19:01.000Z
Qt/ApplicationComponents/pqLoadDataReaction.cxx
xj361685640/ParaView
0a27eef5abc5a0c0472ab0bc806c4db881156e64
[ "Apache-2.0", "BSD-3-Clause" ]
328
2015-01-22T23:11:46.000Z
2022-03-14T06:07:52.000Z
/*========================================================================= Program: ParaView Module: pqLoadDataReaction.cxx Copyright (c) 2005,2006 Sandia Corporation, Kitware Inc. All rights reserved. ParaView is a free software; you can redistribute it and/or modify it under the terms of the ...
34.483607
100
0.63537
[ "vector" ]
a6045d3eb74b708ab979df492bb5f2c3c1aeb1bb
5,746
cpp
C++
cplusplus/RCF/src/RCF/HttpConnectFilter.cpp
ASMlover/study
5878f862573061f94c5776a351e30270dfd9966a
[ "BSD-2-Clause" ]
22
2015-05-18T07:04:36.000Z
2021-08-02T03:01:43.000Z
cplusplus/RCF/src/RCF/HttpConnectFilter.cpp
ASMlover/study
5878f862573061f94c5776a351e30270dfd9966a
[ "BSD-2-Clause" ]
1
2017-08-31T22:13:57.000Z
2017-09-05T15:00:25.000Z
cplusplus/RCF/src/RCF/HttpConnectFilter.cpp
ASMlover/study
5878f862573061f94c5776a351e30270dfd9966a
[ "BSD-2-Clause" ]
6
2015-06-06T07:16:12.000Z
2021-07-06T13:45:56.000Z
//****************************************************************************** // RCF - Remote Call Framework // // Copyright (c) 2005 - 2013, Delta V Software. All rights reserved. // http://www.deltavsoft.com // // RCF is distributed under dual licenses - closed source or GPL. // Consult your particular license fo...
30.402116
106
0.519144
[ "vector" ]
a606242359c5a09af956b6ae2de646825776bde5
5,971
cpp
C++
CAnEn/src/Config.cpp
codacy-badger/AnalogsEnsemble
f2627096662b32eac8009e6778b8ee6d6ef326c1
[ "MIT" ]
null
null
null
CAnEn/src/Config.cpp
codacy-badger/AnalogsEnsemble
f2627096662b32eac8009e6778b8ee6d6ef326c1
[ "MIT" ]
null
null
null
CAnEn/src/Config.cpp
codacy-badger/AnalogsEnsemble
f2627096662b32eac8009e6778b8ee6d6ef326c1
[ "MIT" ]
null
null
null
/* * File: Config.cpp * Author: Guido Cervone <cervone@psu.edu> * Weiming Hu <cervone@psu.edu> * * Created on January 31, 2020, 2:05 PM */ #include "Config.h" #include "Functions.h" #include <limits> #include <cmath> using namespace std; const bool Config::_CIRCULAR = false; const double Config::_...
35.331361
118
0.672082
[ "vector" ]
a6185dec6d61d88c8bdb43d0c81c1283e7a9fef2
272
cpp
C++
852-peak-index-in-a-mountain-array/852-peak-index-in-a-mountain-array.cpp
Edith-panda/leetcode
175b4cbcd25b95b4863d793c876719eabb94dafc
[ "Apache-2.0" ]
null
null
null
852-peak-index-in-a-mountain-array/852-peak-index-in-a-mountain-array.cpp
Edith-panda/leetcode
175b4cbcd25b95b4863d793c876719eabb94dafc
[ "Apache-2.0" ]
null
null
null
852-peak-index-in-a-mountain-array/852-peak-index-in-a-mountain-array.cpp
Edith-panda/leetcode
175b4cbcd25b95b4863d793c876719eabb94dafc
[ "Apache-2.0" ]
null
null
null
class Solution { public: int peakIndexInMountainArray(vector<int>& arr) { int n = arr.size(); int ans =0; for(int i=1;i<n-1;i++){ if(arr[i-1] < arr[i] && arr[i] > arr[i+1]) ans =i; } return ans; } };
22.666667
62
0.444853
[ "vector" ]
a618ae1915c156a1b528ebaeef41019218481985
5,072
cpp
C++
src/Search/DancingLink.cpp
S1xe/Way-to-Algorithm
e666edfb000b3eaef8cc1413f71b035ec4141718
[ "MIT" ]
101
2015-11-19T02:40:01.000Z
2017-12-01T13:43:06.000Z
src/Search/DancingLink.cpp
S1xe/Way-to-Algorithm
e666edfb000b3eaef8cc1413f71b035ec4141718
[ "MIT" ]
3
2019-05-31T14:27:56.000Z
2021-07-28T04:24:55.000Z
src/Search/DancingLink.cpp
S1xe/Way-to-Algorithm
e666edfb000b3eaef8cc1413f71b035ec4141718
[ "MIT" ]
72
2016-01-28T15:20:01.000Z
2017-12-01T13:43:07.000Z
#include "DancingLink.h" #include "Util.h" #include <cassert> #include <cstring> #include <iostream> #include <vector> #define index(i, j, m) ((j) + (i) * (m)) // uplink[i],downlink[i],leftlink[i],rightlink[i] //分别为节点i的上下左右邻节点下标 static int uplink[MAX], downlink[MAX], leftlink[MAX], rightlink[MAX]; // rowlink[i],colli...
26.14433
96
0.479495
[ "vector", "transform" ]
a618d20b80b99b73f9e93338721c68c71ab461d1
15,339
cpp
C++
FEBioSource2.9/FEBioMech/FERigidWallInterface.cpp
wzaylor/FEBio_MCLS
f1052733c31196544fb0921aa55ffa5167a25f98
[ "Intel" ]
1
2021-08-24T08:37:21.000Z
2021-08-24T08:37:21.000Z
FEBioSource2.9/FEBioMech/FERigidWallInterface.cpp
wzaylor/FEBio_MCLS
f1052733c31196544fb0921aa55ffa5167a25f98
[ "Intel" ]
null
null
null
FEBioSource2.9/FEBioMech/FERigidWallInterface.cpp
wzaylor/FEBio_MCLS
f1052733c31196544fb0921aa55ffa5167a25f98
[ "Intel" ]
1
2021-03-15T08:22:06.000Z
2021-03-15T08:22:06.000Z
/*This file is part of the FEBio source code and is licensed under the MIT license listed below. See Copyright-FEBio.txt for details. Copyright (c) 2019 University of Utah, The Trustees of Columbia University in the City of New York, and others. Permission is hereby granted, free of charge, to any person obtaining ...
24.117925
111
0.563596
[ "vector" ]
98b435b05aeedf1175628ecf007edce4c3b1f0a8
2,034
hpp
C++
ql/methods/finitedifferences/meshers/uniformgridmesher.hpp
jiangjiali/QuantLib
37c98eccfa18a95acb1e98b276831641be92b38e
[ "BSD-3-Clause" ]
3,358
2015-12-18T02:56:17.000Z
2022-03-31T02:42:47.000Z
ql/methods/finitedifferences/meshers/uniformgridmesher.hpp
jiangjiali/QuantLib
37c98eccfa18a95acb1e98b276831641be92b38e
[ "BSD-3-Clause" ]
965
2015-12-21T10:35:28.000Z
2022-03-30T02:47:00.000Z
ql/methods/finitedifferences/meshers/uniformgridmesher.hpp
jiangjiali/QuantLib
37c98eccfa18a95acb1e98b276831641be92b38e
[ "BSD-3-Clause" ]
1,663
2015-12-17T17:45:38.000Z
2022-03-31T07:58:29.000Z
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Copyright (C) 2008 Andreas Gaida Copyright (C) 2008 Ralph Schreyer Copyright (C) 2008 Klaus Spanderen This file is part of QuantLib, a free-software/open-source library for financial quantitative analysts and developers - http://q...
33.344262
87
0.711898
[ "vector" ]
98b67be0c98497701304534830ae67ffa3fc5c68
3,314
cpp
C++
editor/editor_core/gui/gui.cpp
ValtoForks/EtherealEngine
ab769803dcd71a61c2805afd259959b62fcdc1ff
[ "BSD-2-Clause" ]
791
2016-11-04T14:13:41.000Z
2022-03-20T20:47:31.000Z
editor/editor_core/gui/gui.cpp
ValtoForks/EtherealEngine
ab769803dcd71a61c2805afd259959b62fcdc1ff
[ "BSD-2-Clause" ]
28
2016-12-01T05:59:30.000Z
2021-03-20T09:49:26.000Z
editor/editor_core/gui/gui.cpp
ValtoForks/EtherealEngine
ab769803dcd71a61c2805afd259959b62fcdc1ff
[ "BSD-2-Clause" ]
151
2016-12-21T09:44:43.000Z
2022-03-31T13:42:18.000Z
#include "gui.h" #include <vector> namespace gui { static std::vector<std::shared_ptr<void>> s_textures; void Image(texture_info info, const ImVec2& _size, const ImVec2& _uv0 /*= ImVec2(0.0f, 0.0f) */, const ImVec2& _uv1 /*= ImVec2(1.0f, 1.0f) */, const ImVec4& _tintCol /*= ImVec4(1.0f, 1.0f, 1.0f, 1.0f) */, ...
27.616667
109
0.664756
[ "vector" ]
98b7d26158918ff9cf7b857af3df3de29e9a4501
23,296
cpp
C++
src/caffe/openpose/layers/oPVideoLayer.cpp
CMU-Perceptual-Computing-Lab/openpose_caffe_train
40c03c8cd050dce7e70834f5dfb796427dea2ebc
[ "MIT-CMU" ]
26
2019-10-02T10:39:12.000Z
2021-12-08T07:27:50.000Z
src/caffe/openpose/layers/oPVideoLayer.cpp
CMU-Perceptual-Computing-Lab/openpose_caffe_train
40c03c8cd050dce7e70834f5dfb796427dea2ebc
[ "MIT-CMU" ]
6
2019-11-08T02:44:42.000Z
2021-03-06T05:13:24.000Z
src/caffe/openpose/layers/oPVideoLayer.cpp
CMU-Perceptual-Computing-Lab/openpose_caffe_train
40c03c8cd050dce7e70834f5dfb796427dea2ebc
[ "MIT-CMU" ]
22
2019-10-11T02:36:41.000Z
2022-03-18T01:35:12.000Z
#ifdef USE_OPENCV #include <opencv2/core/core.hpp> #endif // USE_OPENCV #include <stdint.h> #include <vector> #include "caffe/data_transformer.hpp" #include "caffe/layers/data_layer.hpp" #include "caffe/util/benchmark.hpp" // OpenPose: added #include <chrono> #include <numeric> // std::accumulate #include <stdexcept...
40.444444
129
0.595467
[ "shape", "vector", "model", "transform" ]
98bacbfb06f4d4cddd413dc4042434fadab4dea3
15,370
cpp
C++
src/tests/accuracy_test_mixed_radices.cpp
ddeka2910/clFFT
7b060b4f27ac22f95c17790476503f622ffea4c6
[ "Apache-2.0" ]
406
2015-02-01T07:32:29.000Z
2022-03-31T15:21:54.000Z
src/tests/accuracy_test_mixed_radices.cpp
ddeka2910/clFFT
7b060b4f27ac22f95c17790476503f622ffea4c6
[ "Apache-2.0" ]
169
2015-01-01T00:06:42.000Z
2021-12-01T19:15:45.000Z
src/tests/accuracy_test_mixed_radices.cpp
ddeka2910/clFFT
7b060b4f27ac22f95c17790476503f622ffea4c6
[ "Apache-2.0" ]
183
2015-01-05T02:21:16.000Z
2022-03-14T08:25:39.000Z
/* ************************************************************************ * Copyright 2013 Advanced Micro Devices, 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...
31.887967
174
0.693689
[ "vector" ]
98bfc4b5813482a14b99a8369ef68d37ffddd523
9,235
cpp
C++
InputParameters/input_params_list.cpp
glenco/SLsimLib
fb7a3c450d2487a823fa3f0ae8c8ecf7945c3ebb
[ "MIT" ]
2
2017-03-22T13:18:32.000Z
2021-05-01T01:54:31.000Z
InputParameters/input_params_list.cpp
glenco/SLsimLib
fb7a3c450d2487a823fa3f0ae8c8ecf7945c3ebb
[ "MIT" ]
49
2016-10-05T03:08:38.000Z
2020-11-03T15:39:26.000Z
InputParameters/input_params_list.cpp
glenco/SLsimLib
fb7a3c450d2487a823fa3f0ae8c8ecf7945c3ebb
[ "MIT" ]
1
2017-07-10T08:52:53.000Z
2017-07-10T08:52:53.000Z
#include "../include/InputParams.h" #include <set> typedef std::set<std::string> labels_t; typedef std::map<std::string, std::pair<std::string, std::string> > defaults_t; namespace { // array of standard parameters const char* parameter_list[][3] = { // General {"outputfile", "output", ""}, {"deflection_off"...
40.327511
168
0.667244
[ "model" ]
98c23947cd960262310eacfea92bed203184e97a
2,293
hpp
C++
di/abstract_builder.hpp
sal-vage/d-injection
85289edba0f7f91ef7ebccb8b3ab7f24d89ac79f
[ "BSL-1.0" ]
null
null
null
di/abstract_builder.hpp
sal-vage/d-injection
85289edba0f7f91ef7ebccb8b3ab7f24d89ac79f
[ "BSL-1.0" ]
6
2016-01-24T18:07:34.000Z
2016-01-24T18:10:52.000Z
di/abstract_builder.hpp
sal-vage/d-injection
85289edba0f7f91ef7ebccb8b3ab7f24d89ac79f
[ "BSL-1.0" ]
null
null
null
// Copyright Adam Lach 2012 // 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 DI_ABSTRACT_BUILDER_HPP #define DI_ABSTRACT_BUILDER_HPP #include <di/configurable.hpp> namespace di { ...
28.308642
113
0.692106
[ "object" ]
98c652b592a856dc1d313818566700a776752ee0
5,958
cpp
C++
07. Text Detection with OpenCV CPP/main.cpp
japgo/Machine-Vision-Test
dd098e44555d52030cedde64d1d7a491ba217d62
[ "Unlicense" ]
null
null
null
07. Text Detection with OpenCV CPP/main.cpp
japgo/Machine-Vision-Test
dd098e44555d52030cedde64d1d7a491ba217d62
[ "Unlicense" ]
null
null
null
07. Text Detection with OpenCV CPP/main.cpp
japgo/Machine-Vision-Test
dd098e44555d52030cedde64d1d7a491ba217d62
[ "Unlicense" ]
null
null
null
#include <iostream> #include <opencv2/imgproc.hpp> #include <opencv2/highgui.hpp> #include <opencv2/dnn.hpp> #pragma comment( lib, "opencv_imgproc400d.lib" ) #pragma comment( lib, "opencv_highgui400d.lib" ) #pragma comment( lib, "opencv_dnn400d.lib" ) #pragma comment( lib, "opencv_core400d.lib" ) #pragma comment( lib...
33.661017
112
0.637462
[ "geometry", "render", "vector", "model" ]
98caa35e160c96f61226822d2cb0d4f3f8705857
11,661
cpp
C++
devel/game/GameSequences.cpp
madeso/hopper
ccf330c8f400678f5f5dceea25c0374ed99be511
[ "WTFPL" ]
null
null
null
devel/game/GameSequences.cpp
madeso/hopper
ccf330c8f400678f5f5dceea25c0374ed99be511
[ "WTFPL" ]
null
null
null
devel/game/GameSequences.cpp
madeso/hopper
ccf330c8f400678f5f5dceea25c0374ed99be511
[ "WTFPL" ]
2
2019-04-26T03:00:59.000Z
2022-01-04T17:36:28.000Z
#include "GameSequences.h" #include "game.h" /** @brief CGameSequence * * @todo: document this function */ CGameSequence::CGameSequence( CGame* game) { mDone = false; mGame = game; } /** @brief ~CGameSequence * * @todo: document this function */ CGameSequence::~CGameSequence() { } /* * For ...
25.405229
127
0.602178
[ "object", "vector" ]
98cd6ee76b4b2c4092b15b80541da365f7e4a2a4
4,011
cc
C++
core/src/extcmd/command_server.cc
joe4568/centreon-broker
daf454371520989573c810be1f6dfca40979a75d
[ "Apache-2.0" ]
null
null
null
core/src/extcmd/command_server.cc
joe4568/centreon-broker
daf454371520989573c810be1f6dfca40979a75d
[ "Apache-2.0" ]
null
null
null
core/src/extcmd/command_server.cc
joe4568/centreon-broker
daf454371520989573c810be1f6dfca40979a75d
[ "Apache-2.0" ]
null
null
null
/* ** Copyright 2015 Centreon ** ** 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 ...
33.425
75
0.664921
[ "object" ]
98d0e622a871abe78d74678560d992993003f753
4,571
cc
C++
ThirdParty/webrtc/src/webrtc/modules/audio_coding/main/acm2/acm_dump_unittest.cc
JokeJoe8806/licode-windows
2bfdaf6e87669df2b9960da50c6800bc3621b80b
[ "MIT" ]
8
2018-12-27T14:57:13.000Z
2021-04-07T07:03:15.000Z
ThirdParty/webrtc/src/webrtc/modules/audio_coding/main/acm2/acm_dump_unittest.cc
JokeJoe8806/licode-windows
2bfdaf6e87669df2b9960da50c6800bc3621b80b
[ "MIT" ]
1
2019-03-13T01:35:03.000Z
2020-10-08T04:13:04.000Z
ThirdParty/webrtc/src/webrtc/modules/audio_coding/main/acm2/acm_dump_unittest.cc
JokeJoe8806/licode-windows
2bfdaf6e87669df2b9960da50c6800bc3621b80b
[ "MIT" ]
9
2018-12-28T11:45:12.000Z
2021-05-11T02:15:31.000Z
/* * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
36.568
79
0.703566
[ "vector" ]
98d873566e32c015a1177031aac671491c383c61
6,542
cc
C++
SimCalorimetry/HcalZeroSuppressionProducers/src/HcalRealisticZS.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
13
2015-11-30T15:49:45.000Z
2022-02-08T16:11:30.000Z
SimCalorimetry/HcalZeroSuppressionProducers/src/HcalRealisticZS.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
640
2015-02-11T18:55:47.000Z
2022-03-31T14:12:23.000Z
SimCalorimetry/HcalZeroSuppressionProducers/src/HcalRealisticZS.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
51
2015-08-11T21:01:40.000Z
2022-03-30T07:31:34.000Z
#include "CalibFormats/HcalObjects/interface/HcalDbRecord.h" #include "DataFormats/Common/interface/EDCollection.h" #include "DataFormats/Common/interface/Handle.h" #include "FWCore/Framework/interface/ESHandle.h" #include "FWCore/Framework/interface/EventSetup.h" #include "FWCore/MessageLogger/interface/MessageLogger....
43.90604
120
0.61174
[ "vector" ]
98d90a221147b0ea609cdf4a16a7b0d3d2a5c7d1
7,280
cpp
C++
src/recog/Eigenfaces.cpp
dacap/loseface
677f46b9da3e11be3b75e3a35f5ca3f1b8df6d52
[ "MIT" ]
2
2017-11-01T09:09:20.000Z
2020-01-22T04:56:46.000Z
src/recog/Eigenfaces.cpp
dacap/loseface
677f46b9da3e11be3b75e3a35f5ca3f1b8df6d52
[ "MIT" ]
null
null
null
src/recog/Eigenfaces.cpp
dacap/loseface
677f46b9da3e11be3b75e3a35f5ca3f1b8df6d52
[ "MIT" ]
1
2019-01-24T12:13:24.000Z
2019-01-24T12:13:24.000Z
// Copyright (C) 2008-2010 David Capello // // This file is released under the terms of the MIT license. // Read LICENSE.txt for more information. #include <iostream> #include <fstream> #include "recog/Eigenfaces.h" #include "recog/recog_util.h" using namespace recog; ///////////////////////////////////////////////...
31.652174
108
0.684753
[ "vector" ]
98eb1c72b82e86b39aa9629ab850c1b39e3eb2e8
4,853
hpp
C++
source/vulkan/runtime_vk.hpp
ZachHembree/reshade
b0278661b8b78d060d432f94abe04df33296457b
[ "BSD-3-Clause" ]
null
null
null
source/vulkan/runtime_vk.hpp
ZachHembree/reshade
b0278661b8b78d060d432f94abe04df33296457b
[ "BSD-3-Clause" ]
null
null
null
source/vulkan/runtime_vk.hpp
ZachHembree/reshade
b0278661b8b78d060d432f94abe04df33296457b
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (C) 2014 Patrick Mours. All rights reserved. * License: https://github.com/crosire/reshade#license */ #pragma once #include "runtime.hpp" #include "render_vk.hpp" namespace reshade::vulkan { class runtime_impl : public api::api_object_impl<VkSwapchainKHR, runtime> { static const uint32_t NUM_QU...
39.778689
197
0.791469
[ "object", "vector" ]
98ed4534b74e8c99d790b09b7dbea3d4344f4508
6,807
cpp
C++
ext/cvcontour.cpp
bantic/ruby-opencv
ac60fe86705d15358c9358d715addb0012caeffb
[ "BSD-3-Clause" ]
2
2015-11-05T19:53:20.000Z
2018-02-17T14:58:22.000Z
ext/cvcontour.cpp
bantic/ruby-opencv
ac60fe86705d15358c9358d715addb0012caeffb
[ "BSD-3-Clause" ]
null
null
null
ext/cvcontour.cpp
bantic/ruby-opencv
ac60fe86705d15358c9358d715addb0012caeffb
[ "BSD-3-Clause" ]
null
null
null
/************************************************************ cvcontour.cpp - $Author: lsxi $ Copyright (C) 2007 Masakazu Yonekura ************************************************************/ #include "cvcontour.h" /* * Document-class: OpenCV::CvContour * * Contour. * CvMat#find_contours */ __NAMESPA...
31.224771
189
0.718378
[ "object" ]
98f3c101d79da3f867c22cb3985087cd0d71820a
13,219
cpp
C++
test/direct_bt/test_lfringbuffer01.cpp
xranby/direct_bt
135a8cce2307df1c899eac5f25527aadcd529687
[ "MIT" ]
1
2020-09-04T18:44:13.000Z
2020-09-04T18:44:13.000Z
test/direct_bt/test_lfringbuffer01.cpp
xranby/direct_bt-1
135a8cce2307df1c899eac5f25527aadcd529687
[ "MIT" ]
null
null
null
test/direct_bt/test_lfringbuffer01.cpp
xranby/direct_bt-1
135a8cce2307df1c899eac5f25527aadcd529687
[ "MIT" ]
null
null
null
#include <iostream> #include <cassert> #include <cinttypes> #include <cstring> #include <memory> #include <cppunit.h> #include <direct_bt/UUID.hpp> #include <direct_bt/Ringbuffer.hpp> #include <direct_bt/LFRingbuffer.hpp> using namespace direct_bt; class Integer { public: int value; Integer(int...
39.225519
131
0.596187
[ "vector" ]
98f57600bd78294e7fffbb4d8612c71b8ad7a333
3,345
cpp
C++
benchmark/vector/misc/push.cpp
ikrima/immer
2076affd9d814afc019ba8cd8c2b18a6c79c9589
[ "BSL-1.0" ]
12,278
2015-01-29T17:11:33.000Z
2022-03-31T21:12:00.000Z
benchmark/vector/misc/push.cpp
ikrima/immer
2076affd9d814afc019ba8cd8c2b18a6c79c9589
[ "BSL-1.0" ]
9,469
2015-01-30T05:33:07.000Z
2022-03-31T16:17:21.000Z
benchmark/vector/misc/push.cpp
ikrima/immer
2076affd9d814afc019ba8cd8c2b18a6c79c9589
[ "BSL-1.0" ]
892
2015-01-29T16:26:19.000Z
2022-03-20T07:44:30.000Z
// // immer: immutable data structures for C++ // Copyright (C) 2016, 2017, 2018 Juan Pedro Bolivar Puente // // This software is distributed under the Boost Software License, Version 1.0. // See accompanying file LICENSE or copy at http://boost.org/LICENSE_1_0.txt // #include "benchmark/vector/push.hpp" #include <im...
39.821429
94
0.784454
[ "vector" ]
98fc96345702174385d82bd37beea54c5d77714e
33,647
cpp
C++
src/loottablecondition.cpp
IoeCmcomc/MCDatapacker
5099d6ac2e0b15f4d61235b5b5ec41a847f588a1
[ "Apache-2.0" ]
2
2021-08-17T14:06:53.000Z
2022-01-29T14:14:59.000Z
src/loottablecondition.cpp
IoeCmcomc/MCDatapacker
5099d6ac2e0b15f4d61235b5b5ec41a847f588a1
[ "Apache-2.0" ]
1
2021-06-20T20:12:10.000Z
2021-06-24T03:22:53.000Z
src/loottablecondition.cpp
IoeCmcomc/MCDatapacker
5099d6ac2e0b15f4d61235b5b5ec41a847f588a1
[ "Apache-2.0" ]
null
null
null
#include "loottablecondition.h" #include "ui_loottablecondition.h" #include "mainwindow.h" #include "inventoryitem.h" #include "numberproviderdelegate.h" #include "itemconditiondialog.h" #include "locationconditiondialog.h" #include "entityconditiondialog.h" #include "globalhelpers.h" #include <QDialog> #include <QDo...
36.652505
92
0.572859
[ "model" ]
98fd013f7717e88a134f0c192de351a94d06b930
865
hpp
C++
src/Client/Editor/ObjectMapperFactory.hpp
Marukyu/NecroEdit
4b2380cc3417c6578476a213e05f4cbc846e5a77
[ "MIT", "Unlicense" ]
13
2016-04-02T14:21:49.000Z
2021-01-10T17:32:43.000Z
src/Client/Editor/ObjectMapperFactory.hpp
Marukyu/NecroEdit
4b2380cc3417c6578476a213e05f4cbc846e5a77
[ "MIT", "Unlicense" ]
24
2016-04-02T12:08:39.000Z
2021-01-27T01:21:58.000Z
src/Client/Editor/ObjectMapperFactory.hpp
Marukyu/NecroEdit
4b2380cc3417c6578476a213e05f4cbc846e5a77
[ "MIT", "Unlicense" ]
6
2016-04-02T12:05:28.000Z
2017-05-10T14:13:39.000Z
#ifndef SRC_CLIENT_EDITOR_OBJECTMAPPERFACTORY_HPP_ #define SRC_CLIENT_EDITOR_OBJECTMAPPERFACTORY_HPP_ #include <Client/Editor/SelectionPanel.hpp> #include <Client/LevelRenderer/ObjectAppearance.hpp> #include <Shared/Level/Object.hpp> #include <vector> /** * Creates object mappers for selector widgets. * * Mappers...
27.903226
120
0.808092
[ "object", "vector" ]
98fff2778341b0a96bdf25410205175c435ddc61
969
cpp
C++
C++/0149-Max-Points-on-a-Line/soln.cpp
wyaadarsh/LeetCode-Solutions
3719f5cb059eefd66b83eb8ae990652f4b7fd124
[ "MIT" ]
5
2020-07-24T17:48:59.000Z
2020-12-21T05:56:00.000Z
C++/0149-Max-Points-on-a-Line/soln.cpp
zhangyaqi1989/LeetCode-Solutions
2655a1ffc8678ad1de6c24295071308a18c5dc6e
[ "MIT" ]
null
null
null
C++/0149-Max-Points-on-a-Line/soln.cpp
zhangyaqi1989/LeetCode-Solutions
2655a1ffc8678ad1de6c24295071308a18c5dc6e
[ "MIT" ]
2
2020-07-24T17:49:01.000Z
2020-08-31T19:57:35.000Z
class Solution { public: int maxPoints(vector<vector<int>>& points) { int ans = 0; int n = points.size(); for (vector<int> & A : points) { map<pair<int, int>, int> slopes; int x0 = A[0], y0 = A[1]; int nsames = 0; int ninfs = 0; for...
30.28125
54
0.351909
[ "vector" ]
c707b78b84af0835bcf28fd0c218f7a2d23f86d6
9,232
cpp
C++
octree/Octree/Octree.cpp
yhexie/O-CNN
33cdf50d103385e6c1019e29abc7dbe11f900970
[ "MIT" ]
2
2020-11-19T03:33:12.000Z
2020-11-19T03:33:30.000Z
octree/Octree/Octree.cpp
wzh77/O-CNN
33cdf50d103385e6c1019e29abc7dbe11f900970
[ "MIT" ]
null
null
null
octree/Octree/Octree.cpp
wzh77/O-CNN
33cdf50d103385e6c1019e29abc7dbe11f900970
[ "MIT" ]
1
2020-11-19T03:33:20.000Z
2020-11-19T03:33:20.000Z
#include "Octree.h" #include <algorithm> #include <fstream> #include <iostream> void Octree::build(const int depth, const int full_layer, const int npt, const float* bbmin, const float* bbmax, const float* pts, const float* normals, const int* labels) { // init full_layer_ = full_layer < 1 ? 1 : full_l...
23.254408
80
0.573115
[ "object", "vector" ]
c70ada2f0332177fa80287f63546c7a9072127f5
1,349
cpp
C++
QT/SubwayForQt/QTDropDownButton.cpp
qyxlxr/LINSANforQt
5c426d556ce1cd8f4fa3234b58768d8bc783b266
[ "MIT" ]
3
2018-12-05T09:14:39.000Z
2021-03-01T12:34:14.000Z
QT/SubwayForQt/QTDropDownButton.cpp
qyxlxr/routeDesignByDijkstra
5c426d556ce1cd8f4fa3234b58768d8bc783b266
[ "MIT" ]
null
null
null
QT/SubwayForQt/QTDropDownButton.cpp
qyxlxr/routeDesignByDijkstra
5c426d556ce1cd8f4fa3234b58768d8bc783b266
[ "MIT" ]
null
null
null
#include "QTDropDownButton.h" QTDropDownButton::QTDropDownButton(QString text, QWidget *parent) : QPushButton(text, parent) { setFlat(true); menu_ = new QMenu(); setMenu(menu_); connect(menu_, SIGNAL(aboutToShow()), this, SLOT(menuAboutToShow())); connect(menu_, SIGNAL(triggered(QAction*)), this, SLOT(menuTrig...
25.45283
139
0.716086
[ "solid" ]
c70b728535beb16ac7e7ecdcd2afcaece9c4d0d1
4,096
cpp
C++
Sources/AlgoritmoFleury.cpp
Globson/TP-II-Grafos
cd6624638f2f6ec632635a07dda09fe643bd4209
[ "MIT" ]
null
null
null
Sources/AlgoritmoFleury.cpp
Globson/TP-II-Grafos
cd6624638f2f6ec632635a07dda09fe643bd4209
[ "MIT" ]
null
null
null
Sources/AlgoritmoFleury.cpp
Globson/TP-II-Grafos
cd6624638f2f6ec632635a07dda09fe643bd4209
[ "MIT" ]
null
null
null
#include "../Headers/AlgoritmoFleury.hpp" void AlgoritmoFleury::DFS(int x,bool Visitados[]){ // busca por um vizinho não visitado Visitados[x] = true; //marca todos os vertices visitados vector<int>::iterator it; for(it = GrafoInterno->Arestas[x].begin(); it != GrafoInterno->Arestas[x].end(); it++){ if(!Vis...
35.617391
187
0.669678
[ "vector" ]
c70e822cd9bf6230bc7d86bb5dc4d5a160ab9511
12,746
cpp
C++
src/gpu/GrTextStrike.cpp
yinquan529/platform-external-skia
1adfb847fe565e53d2e26e35b04c8dc112b7513a
[ "BSD-3-Clause" ]
1
2016-05-04T10:08:50.000Z
2016-05-04T10:08:50.000Z
src/gpu/GrTextStrike.cpp
yinquan529/platform-external-skia
1adfb847fe565e53d2e26e35b04c8dc112b7513a
[ "BSD-3-Clause" ]
null
null
null
src/gpu/GrTextStrike.cpp
yinquan529/platform-external-skia
1adfb847fe565e53d2e26e35b04c8dc112b7513a
[ "BSD-3-Clause" ]
1
2020-01-16T03:34:53.000Z
2020-01-16T03:34:53.000Z
/* * Copyright 2010 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "GrAtlas.h" #include "GrGpu.h" #include "GrRectanizer.h" #include "GrTextStrike.h" #include "GrTextStrike_impl.h" #include "SkString.h" #if SK_DISTANCEFIELD_FONTS #i...
30.347619
99
0.599953
[ "object" ]
c70e89d710726c7f5da7bc7943d8bed4a14420b5
28,453
cpp
C++
node/Peer.cpp
allieae/ZeroTierOne
80391c33eb8abbd984b8f0d1bd7db2c63e88d833
[ "RSA-MD" ]
1
2021-11-29T11:57:36.000Z
2021-11-29T11:57:36.000Z
node/Peer.cpp
iDoXtreme/ZeroTierOne
bb84c9b65cd180e7de0f4718cd6030ada0b2bbba
[ "RSA-MD" ]
1
2020-01-27T21:25:50.000Z
2020-01-27T21:25:50.000Z
node/Peer.cpp
iDoXtreme/ZeroTierOne
bb84c9b65cd180e7de0f4718cd6030ada0b2bbba
[ "RSA-MD" ]
1
2021-10-09T16:14:31.000Z
2021-10-09T16:14:31.000Z
/* * Copyright (c)2019 ZeroTier, Inc. * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file in the project's root directory. * * Change Date: 2023-01-01 * * On the date above, in accordance with the Business Source License, use * of this software will be governe...
32.223103
220
0.688117
[ "vector" ]