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
a48f91c601e90d3ffcbafaed946ce8e037a4eca8
7,946
cpp
C++
catkin_ws/src/hardware/tf_broadcaster/src/fused_odom_publisher.cpp
jsford/FFAST
93739f3691ba526a0a912544f2ff9ff481fdee9b
[ "Unlicense" ]
4
2019-12-02T18:39:18.000Z
2022-02-25T10:04:29.000Z
catkin_ws/src/hardware/tf_broadcaster/src/fused_odom_publisher.cpp
emilyfy/FFAST
93739f3691ba526a0a912544f2ff9ff481fdee9b
[ "Unlicense" ]
null
null
null
catkin_ws/src/hardware/tf_broadcaster/src/fused_odom_publisher.cpp
emilyfy/FFAST
93739f3691ba526a0a912544f2ff9ff481fdee9b
[ "Unlicense" ]
4
2018-07-24T20:11:24.000Z
2021-12-06T12:39:31.000Z
// Receives wheel speed data from vesc and yaw data from IMU // Publishes odom and tf if requested // Param predict_slip when set predicts wheel slip based on accel/brake // assumes linear relation between accel and slip ratio // requires params slip_gain and slip_offset // x covariance increase with speed // y covar...
34.103004
142
0.660081
[ "transform" ]
a499d09d604d7bf091154e86e70096e227a1271e
1,241
hpp
C++
Graph/SCC.hpp
a0919610611/Coding
5c0f9b0a9789b6f6cccf6da7321d1326dce675af
[ "MIT" ]
1
2016-01-08T09:47:10.000Z
2016-01-08T09:47:10.000Z
Graph/SCC.hpp
a0919610611/Coding
5c0f9b0a9789b6f6cccf6da7321d1326dce675af
[ "MIT" ]
null
null
null
Graph/SCC.hpp
a0919610611/Coding
5c0f9b0a9789b6f6cccf6da7321d1326dce675af
[ "MIT" ]
null
null
null
#include <cmath> #include <cstdlib> #include <cstring> #include <stack> #include <vector> using namespace std; vector<int> e[10000]; //Edge int visit[10000], low[10000]; bool instack[10000]; int belong[10000]; //屬於哪一塊 stack<int> s; int t; //Time stamp; int num; //number of SCC void DFS(int u) { visit[u] = low[u] = ...
21.77193
64
0.446414
[ "vector" ]
a49c90c1306821a23d26b91160325aa77209cc91
399
hh
C++
sample/vs_alsa.hh
venitech/vs-audio-keyword-detector
a877333b24add632dadc5f1e079f2fbdba7d555b
[ "Apache-2.0" ]
1
2021-09-29T07:50:13.000Z
2021-09-29T07:50:13.000Z
sample/vs_alsa.hh
venitech/vs-audio-keyword-detector
a877333b24add632dadc5f1e079f2fbdba7d555b
[ "Apache-2.0" ]
null
null
null
sample/vs_alsa.hh
venitech/vs-audio-keyword-detector
a877333b24add632dadc5f1e079f2fbdba7d555b
[ "Apache-2.0" ]
null
null
null
#ifndef __VSALSA_H__ #define __VSALSA_H__ #include "vs_capture.hh" #include <alsa/asoundlib.h> class VsAlsaCapture : public VsAudioCapture { public: size_t Read(std::vector<int16_t>* data) ; VS_CaptureTechno GetCaptureTechno(); bool Start(); VsAlsaCapture(std::string device_name); ~VsAlsaCapture(); boo...
15.96
47
0.73183
[ "vector" ]
a4a3c7f6be9c37be522647cfc547cbd9ae38afca
6,907
cpp
C++
GameCode/Boss/Boss.cpp
norrischiu/DEngine
acea553f110b8d10fc7386ff0941b84f6d7ebce7
[ "MIT", "Unlicense" ]
8
2016-05-23T03:08:08.000Z
2020-03-02T06:15:16.000Z
GameCode/Boss/Boss.cpp
norrischiu/DEngine
acea553f110b8d10fc7386ff0941b84f6d7ebce7
[ "MIT", "Unlicense" ]
8
2016-06-01T17:00:58.000Z
2021-07-21T13:53:41.000Z
GameCode/Boss/Boss.cpp
norrischiu/DEngine
acea553f110b8d10fc7386ff0941b84f6d7ebce7
[ "MIT", "Unlicense" ]
1
2017-09-25T03:39:34.000Z
2017-09-25T03:39:34.000Z
// Game include #include "Boss.h" #include "AIBehavior.h" #include "BossASM.h" #include "Event\GameEvent.h" // Engine include #include "DEngine\Graphics\MeshComponent.h" #include "DEngine\Light\PointLightComponent.h" #include "DEngine\Graphics\Animation\AnimationController.h" #include "DEngine\Graphics\ParticleSystem\...
44.850649
147
0.707109
[ "transform" ]
a4a94c50bc50ad81ffffd04357ba04137012e091
5,856
cpp
C++
FlirOneControl/cdecorator_scale.cpp
da-nie/FlirOneControlForLinux
e3460d97da3e6330b898eb0374a7837790538865
[ "MIT" ]
12
2020-06-04T11:18:46.000Z
2022-03-22T09:23:39.000Z
FlirOneControl/cdecorator_scale.cpp
da-nie/FlirOneControlForLinux
e3460d97da3e6330b898eb0374a7837790538865
[ "MIT" ]
null
null
null
FlirOneControl/cdecorator_scale.cpp
da-nie/FlirOneControlForLinux
e3460d97da3e6330b898eb0374a7837790538865
[ "MIT" ]
1
2021-03-04T07:00:50.000Z
2021-03-04T07:00:50.000Z
//**************************************************************************************************** //подключаемые библиотеки //**************************************************************************************************** #include "cdecorator_scale.h" #include <math.h> //*******************************...
43.058824
132
0.352801
[ "vector" ]
a4aa5aa585a8ba0067ee234680b9a8703841187b
1,234
cpp
C++
misc/test/slog.cpp
warsier/nstore
0959cba2c68cddab490fd9ded3a92a6baa0cd6fa
[ "BSD-3-Clause" ]
23
2016-10-07T11:13:45.000Z
2022-01-18T06:51:04.000Z
misc/test/slog.cpp
warsier/nstore
0959cba2c68cddab490fd9ded3a92a6baa0cd6fa
[ "BSD-3-Clause" ]
null
null
null
misc/test/slog.cpp
warsier/nstore
0959cba2c68cddab490fd9ded3a92a6baa0cd6fa
[ "BSD-3-Clause" ]
9
2017-07-23T03:39:50.000Z
2022-03-30T11:46:17.000Z
#include <cstdio> #include <errno.h> #include <cstdarg> #include <string.h> #include <vector> #include <thread> using namespace std; int level = 2; // verbosity level #ifdef NDEBUG #define LOG_ERR(M, ...) #define LOG_WARN(M, ...) #define LOG_INFO(M, ...) #else #define clean_errno() (errno == 0 ? "" : strerror(errno...
24.196078
149
0.598055
[ "vector" ]
a4b0166d7f57a74c90dc8531d6060ead1b95d274
13,693
cpp
C++
CH21/CH2107/build-CircularGauge-Desktop_Qt_5_8_0_MinGW_32bit-Debug/debug/qrc_qml.cpp
yangbo/Qt5-StudyNote
14d533f8631310ff27cf707548e48c19c3aa2a05
[ "MIT" ]
2
2022-03-18T07:31:30.000Z
2022-03-24T02:03:34.000Z
CH21/CH2107/build-CircularGauge-Desktop_Qt_5_8_0_MinGW_32bit-Debug/debug/qrc_qml.cpp
yangbo/Qt5-StudyNote
14d533f8631310ff27cf707548e48c19c3aa2a05
[ "MIT" ]
null
null
null
CH21/CH2107/build-CircularGauge-Desktop_Qt_5_8_0_MinGW_32bit-Debug/debug/qrc_qml.cpp
yangbo/Qt5-StudyNote
14d533f8631310ff27cf707548e48c19c3aa2a05
[ "MIT" ]
1
2022-03-24T02:03:40.000Z
2022-03-24T02:03:40.000Z
/**************************************************************************** ** Resource object code ** ** Created by: The Resource Compiler for Qt version 5.8.0 ** ** WARNING! All changes made in this file will be lost! *****************************************************************************/ static const unsig...
60.321586
128
0.753305
[ "object" ]
a4b0c0ec630408503c89dd22332a5fe6fc8cb6e5
911
cc
C++
epi/sorted_lists_merge.cc
Vasniktel/interview-problems
ab901397194c81debe8c964fca097287466c9c27
[ "MIT" ]
null
null
null
epi/sorted_lists_merge.cc
Vasniktel/interview-problems
ab901397194c81debe8c964fca097287466c9c27
[ "MIT" ]
null
null
null
epi/sorted_lists_merge.cc
Vasniktel/interview-problems
ab901397194c81debe8c964fca097287466c9c27
[ "MIT" ]
null
null
null
#include "list_node.h" #include "test_framework/generic_test.h" shared_ptr<ListNode<int>> MergeTwoSortedLists(shared_ptr<ListNode<int>> L1, shared_ptr<ListNode<int>> L2) { auto head = make_shared<ListNode<int>>(); auto curr = head; while (curr && (L1 || L2)) { sh...
30.366667
77
0.579583
[ "vector" ]
8a60bde3ec44e2eaa9bfc34d18e5a474f946bff1
939
cpp
C++
trip.cpp
ylcangel/so_fingerprint
2ebc12a76f4b1eaf3eddbe1d2bdd29f8012e7e52
[ "Unlicense" ]
1
2020-01-09T15:36:45.000Z
2020-01-09T15:36:45.000Z
trip.cpp
ylcangel/so_fingerprint
2ebc12a76f4b1eaf3eddbe1d2bdd29f8012e7e52
[ "Unlicense" ]
null
null
null
trip.cpp
ylcangel/so_fingerprint
2ebc12a76f4b1eaf3eddbe1d2bdd29f8012e7e52
[ "Unlicense" ]
null
null
null
//============================================================================ // Name : trip.cpp // Author : angeltoms // Version : // 这个文件做什么用的,测试???我也忘了 //============================================================================ #include <stdlib.h> #include <stdio.h> #include <unistd.h> #include ...
22.357143
91
0.505857
[ "vector" ]
8a65344092447f214976d1b8ad405dcd6044af7b
597
cpp
C++
Algorithm II/213.cpp
felixny/LeetCode
9f76dad8063187e10d848228ea5b1a8a875d1894
[ "MIT" ]
null
null
null
Algorithm II/213.cpp
felixny/LeetCode
9f76dad8063187e10d848228ea5b1a8a875d1894
[ "MIT" ]
null
null
null
Algorithm II/213.cpp
felixny/LeetCode
9f76dad8063187e10d848228ea5b1a8a875d1894
[ "MIT" ]
null
null
null
// 213. House Robber II #include <algorithm> #include <iostream> #include <map> #include <set> #include <string> #include <vector> using namespace std; class Solution { public: int rob(vector<int>& nums) { if (nums.size() == 1) return nums[0]; return max(rob(nums,0,nums.size()-1), rob(nums,1,nums.size...
19.258065
69
0.572864
[ "vector" ]
8a67a00815fcb3764f081f2976ee08480af75fad
7,145
hpp
C++
include/crocoddyl/multibody/residuals/frame-velocity.hpp
longhathuc/crocoddyl
07a35d9c2d97f443c3e3665d33e80dae0720af9b
[ "BSD-3-Clause" ]
1
2020-07-31T06:46:18.000Z
2020-07-31T06:46:18.000Z
include/crocoddyl/multibody/residuals/frame-velocity.hpp
longhathuc/crocoddyl
07a35d9c2d97f443c3e3665d33e80dae0720af9b
[ "BSD-3-Clause" ]
2
2020-05-12T11:29:02.000Z
2020-05-28T14:25:19.000Z
include/crocoddyl/multibody/residuals/frame-velocity.hpp
longhathuc/crocoddyl
07a35d9c2d97f443c3e3665d33e80dae0720af9b
[ "BSD-3-Clause" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////// // BSD 3-Clause License // // Copyright (C) 2021, University of Edinburgh // Copyright note valid unless otherwise stated in individual files. // All rights reserved. /////////////////////////////////////////////////////////////////////////...
37.408377
117
0.66522
[ "object", "vector", "model" ]
8a85f000107fc3bafc0896e11561bcf803d5a1bf
1,060
cpp
C++
competitive/c++/codeforces/round 698 div 2/mainb.cpp
HackintoshwithUbuntu/BigRepo
70746ddf7edc1ec9f13fe5f53a40eb4c3ebd2874
[ "MIT" ]
null
null
null
competitive/c++/codeforces/round 698 div 2/mainb.cpp
HackintoshwithUbuntu/BigRepo
70746ddf7edc1ec9f13fe5f53a40eb4c3ebd2874
[ "MIT" ]
null
null
null
competitive/c++/codeforces/round 698 div 2/mainb.cpp
HackintoshwithUbuntu/BigRepo
70746ddf7edc1ec9f13fe5f53a40eb4c3ebd2874
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; void solve() { int q,d; cin >> q >> d; int max = 10*d -1; bool dp[max + 1] = {false}; int uptil = 0; vector<long> inputs(q); for(int i = 0; i < q; i++){ int x; cin >> x; inputs[i] = x; } for(int i = 0; i < q; i++){ i...
21.632653
53
0.356604
[ "vector" ]
8a860702b601cf1b68ffe34ba79cae964d5148ca
5,191
cpp
C++
integration_test_project/src/main/cpp/Robot.cpp
KyleQ1/Characterization-Robot-2020
f28bb07fab05587e7462937ce3e0f9fe40a5f014
[ "BSD-3-Clause" ]
null
null
null
integration_test_project/src/main/cpp/Robot.cpp
KyleQ1/Characterization-Robot-2020
f28bb07fab05587e7462937ce3e0f9fe40a5f014
[ "BSD-3-Clause" ]
null
null
null
integration_test_project/src/main/cpp/Robot.cpp
KyleQ1/Characterization-Robot-2020
f28bb07fab05587e7462937ce3e0f9fe40a5f014
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) FIRST and other WPILib contributors. // Open Source Software; you can modify and/or share it under the terms of // the WPILib BSD license file in the root directory of this project. #include <sstream> #include <vector> #include <frc/RobotController.h> #include <frc/SlewRateLimiter.h> #include <frc/Ti...
31.846626
80
0.638413
[ "vector" ]
8a876dbb111f34c0fe44f60c651e42473fffc5c1
92,554
cxx
C++
inetsrv/iis/iisrearc/iisplus/ulw3/w3filter.cxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
inetsrv/iis/iisrearc/iisplus/ulw3/w3filter.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
inetsrv/iis/iisrearc/iisplus/ulw3/w3filter.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/*++ Copyright (c) 1999 Microsoft Corporation Module Name : w3filter.cxx Abstract: ISAPI Filter Support Author: Bilal Alam (balam) 8-Feb-2000 Environment: Win32 - User Mode Project: ULW3.DLL --*/ #include "precomp.hxx" #include...
25.853073
130
0.503198
[ "object" ]
8a885acab4aaae45fda0905379222a2d110f5a96
1,311
cpp
C++
graph-source-code/230-E/2291257.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/230-E/2291257.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/230-E/2291257.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
//Language: MS C++ #include <iostream> #include <tchar.h> #include <algorithm> #include <vector> #include <string> #include <math.h> #include <set> using namespace std; int edgeCount[1000010]; int _tmain(int argc, _TCHAR* argv[]) { #ifndef ONLINE_JUDGE freopen("D:\\Temp\\Codeforce\\142\\e.in","r"...
21.145161
69
0.533181
[ "vector" ]
8a9363daeca2f10b7a9fe98a25929e6f58a31c66
665
cpp
C++
src/enemy.cpp
paked/basin
d1d09a3f9aff5ef90f2a18e95789328857e4ffbc
[ "MIT" ]
null
null
null
src/enemy.cpp
paked/basin
d1d09a3f9aff5ef90f2a18e95789328857e4ffbc
[ "MIT" ]
null
null
null
src/enemy.cpp
paked/basin
d1d09a3f9aff5ef90f2a18e95789328857e4ffbc
[ "MIT" ]
null
null
null
#include <enemy.hpp> /* Enemy::Enemy(int x, int y) { sprite = new Sprite("slime.png"); sprite->spritesheet(16, 16); sprite->addAnimation("walk_hori", { 0, 1}); sprite->addAnimation("walk_up", { 2, 1}); sprite->playAnimation("walk_hori"); sprite->x = x; sprite->y = y; sprite->drag.x = 0.15; } void ...
17.5
59
0.603008
[ "render" ]
8a952417a985e5059a2525138c046f8a6702a66f
4,183
cpp
C++
Engine/Collision/CollisionSystem.cpp
FeikoJoosten/GameEngineFramework
09017f92270db6d0fc649949a2960f9a14d5db0e
[ "MIT" ]
5
2019-02-16T18:55:40.000Z
2019-07-30T09:07:11.000Z
Engine/Collision/CollisionSystem.cpp
FeikoJoosten/GameEngineFramework
09017f92270db6d0fc649949a2960f9a14d5db0e
[ "MIT" ]
null
null
null
Engine/Collision/CollisionSystem.cpp
FeikoJoosten/GameEngineFramework
09017f92270db6d0fc649949a2960f9a14d5db0e
[ "MIT" ]
null
null
null
#include "Engine/Collision/CollisionSystem.hpp" #include "Engine/engine.hpp" #include "Engine/Components/TransformComponent.hpp" #include "Engine/Collision/CollisionCallback.hpp" // To cast the int to void* without getting compiler warnings #define INT_TO_VOID_PTR(val) ((void*)(size_t) val) namespace Engine { Coll...
27.162338
142
0.725317
[ "vector", "transform" ]
8ab29a412d4a6ec198cd1226cd554b66fc3a0136
3,612
cpp
C++
nnforge/supervised_data_stream_reader.cpp
anshumang/nnForgeINST
1e9ea1b539cadbb03daa39f5d81025c1b17c21d8
[ "Apache-2.0" ]
2
2015-08-19T08:02:59.000Z
2017-06-18T21:10:36.000Z
nnforge/supervised_data_stream_reader.cpp
yanshanjing/nnForge
6d2baa1174a90b8e5e8bf2a4b259ce8a37fbddf1
[ "Apache-2.0" ]
null
null
null
nnforge/supervised_data_stream_reader.cpp
yanshanjing/nnForge
6d2baa1174a90b8e5e8bf2a4b259ce8a37fbddf1
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2011-2013 Maxim Milakov * * 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 applic...
33.137615
201
0.738372
[ "vector" ]
8aba744c982ebe8cee39d8b4c2f771ab153b02f4
32,135
cpp
C++
Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/app/CActivityManager.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
7
2017-07-13T10:34:54.000Z
2021-04-16T05:40:35.000Z
Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/app/CActivityManager.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
null
null
null
Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/app/CActivityManager.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
9
2017-07-13T12:33:20.000Z
2021-06-19T02:46:48.000Z
//========================================================================= // Copyright (C) 2012 The Elastos Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // ...
29.373857
112
0.646118
[ "object" ]
8ac5e7cf14d69d30e59444fbfb56d2247a6c8854
11,063
cpp
C++
src/axom/primal/tests/primal_triangle.cpp
Parqua/axom
c3a64b372d25e53976b3ba8676a25acc49a9a6cd
[ "BSD-3-Clause" ]
null
null
null
src/axom/primal/tests/primal_triangle.cpp
Parqua/axom
c3a64b372d25e53976b3ba8676a25acc49a9a6cd
[ "BSD-3-Clause" ]
null
null
null
src/axom/primal/tests/primal_triangle.cpp
Parqua/axom
c3a64b372d25e53976b3ba8676a25acc49a9a6cd
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2017-2020, Lawrence Livermore National Security, LLC and // other Axom Project Developers. See the top-level COPYRIGHT file for details. // // SPDX-License-Identifier: (BSD-3-Clause) #include "gtest/gtest.h" #include "axom/config.hpp" #include "axom/primal/geometry/Point.hpp" #include "axom/primal/g...
31.518519
88
0.573081
[ "geometry", "vector", "3d" ]
8acefbaffb7e31d9741c39a95ceacb53ec51917e
2,552
hpp
C++
src/efscape/utils/boost_utils.hpp
clinejc/efscape
ef8bbf272827c7b364aa02af33dc5d239f070e0b
[ "0BSD" ]
1
2019-07-29T07:44:13.000Z
2019-07-29T07:44:13.000Z
src/efscape/utils/boost_utils.hpp
clinejc/efscape
ef8bbf272827c7b364aa02af33dc5d239f070e0b
[ "0BSD" ]
null
null
null
src/efscape/utils/boost_utils.hpp
clinejc/efscape
ef8bbf272827c7b364aa02af33dc5d239f070e0b
[ "0BSD" ]
1
2019-07-11T10:49:48.000Z
2019-07-11T10:49:48.000Z
// __COPYRIGHT_START__ // Package Name : efscape // File Name : boost_utils.hpp // Copyright (C) 2006-2018 Jon C. Cline // // Permission to use, copy, modify, and/or distribute this software for any // purpose with or without fee is hereby granted, provided that the above // copyright notice and this permission notice...
37.529412
158
0.659091
[ "object", "vector" ]
8acfbe13c9294f2ba6805ccc734369d2dceeb7ac
3,965
cpp
C++
src/3rdparty/fougtools/qttools/gui/proxy_styled_item_delegate.cpp
drhlxiao/mayo
b4f0ed040030706629f34d953c58a73de2a2e0cd
[ "BSD-2-Clause" ]
2
2021-06-22T14:15:37.000Z
2021-11-08T12:59:52.000Z
src/3rdparty/fougtools/qttools/gui/proxy_styled_item_delegate.cpp
bitbybit3d/mayo
4f2b1d4baf1acff858e19d88fd3e9324d41cb0df
[ "BSD-2-Clause" ]
null
null
null
src/3rdparty/fougtools/qttools/gui/proxy_styled_item_delegate.cpp
bitbybit3d/mayo
4f2b1d4baf1acff858e19d88fd3e9324d41cb0df
[ "BSD-2-Clause" ]
1
2021-06-17T12:48:51.000Z
2021-06-17T12:48:51.000Z
/**************************************************************************** ** FougTools ** Copyright Fougue (30 Mar. 2015) ** contact@fougue.pro ** ** This software is a computer program whose purpose is to provide utility ** tools for the C++ language and the Qt toolkit. ** ** This software is governed by the Ce...
30.5
86
0.700883
[ "model" ]
8ad05b91ec2214ef84896851aee6f8846c6dbab0
5,582
cpp
C++
SwiftLevelDB/src/Wrapper.cpp
CoderYFL/SwiftLevelDB
b90b3e64568a55d584081caa94c0916634ced139
[ "MIT" ]
1
2022-02-02T12:03:13.000Z
2022-02-02T12:03:13.000Z
SwiftLevelDB/src/Wrapper.cpp
CoderYFL/SwiftLevelDB
b90b3e64568a55d584081caa94c0916634ced139
[ "MIT" ]
null
null
null
SwiftLevelDB/src/Wrapper.cpp
CoderYFL/SwiftLevelDB
b90b3e64568a55d584081caa94c0916634ced139
[ "MIT" ]
null
null
null
// // Wrapper.cpp // SwiftLevelDB // // Created by Cherish on 2021/11/30. // #include "Wrapper.hpp" #include "leveldb/options.h" #include "leveldb/db.h" #include "leveldb/status.h" #include "leveldb/slice.h" using leveldb::Options; using leveldb::CompressionType; using leveldb::DB; using leveldb::Status; using lev...
24.375546
106
0.713185
[ "object" ]
8ad1873e11dc3d6412a3c3b9461198c9dc626506
9,553
cpp
C++
export/windows/obj/src/openfl/_internal/renderer/opengl/GLDisplayObject.cpp
seanbashaw/frozenlight
47c540d30d63e946ea2dc787b4bb602cc9347d21
[ "MIT" ]
null
null
null
export/windows/obj/src/openfl/_internal/renderer/opengl/GLDisplayObject.cpp
seanbashaw/frozenlight
47c540d30d63e946ea2dc787b4bb602cc9347d21
[ "MIT" ]
null
null
null
export/windows/obj/src/openfl/_internal/renderer/opengl/GLDisplayObject.cpp
seanbashaw/frozenlight
47c540d30d63e946ea2dc787b4bb602cc9347d21
[ "MIT" ]
null
null
null
// Generated by Haxe 3.4.7 #include <hxcpp.h> #ifndef INCLUDED_lime__internal_backend_native_NativeOpenGLRenderContext #include <lime/_internal/backend/native/NativeOpenGLRenderContext.h> #endif #ifndef INCLUDED_lime_graphics_RenderContext #include <lime/graphics/RenderContext.h> #endif #ifndef INCLUDED_lime_utils_Obj...
37.758893
265
0.720716
[ "render", "object" ]
8ad260a570ad39cf3a4d460b3e93e429364aafd4
28,469
cpp
C++
mcsema/BC/Segment.cpp
trailofbits/mcsema
26368053f761be05dab708bc28fb97090c64b2be
[ "Apache-2.0" ]
1,301
2015-01-05T15:08:11.000Z
2019-10-22T19:35:09.000Z
mcsema/BC/Segment.cpp
trailofbits/mcsema
26368053f761be05dab708bc28fb97090c64b2be
[ "Apache-2.0" ]
395
2015-01-05T22:10:44.000Z
2019-10-19T23:34:47.000Z
mcsema/BC/Segment.cpp
trailofbits/mcsema
26368053f761be05dab708bc28fb97090c64b2be
[ "Apache-2.0" ]
248
2015-01-05T14:09:33.000Z
2019-10-22T09:31:07.000Z
/* * Copyright (c) 2020 Trail of Bits, Inc. * * 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, or (at your option) any later version. * * This pr...
34.424426
80
0.645579
[ "object", "vector" ]
8ad4ffde636dc977262734ccf9b23de28a2985fa
2,171
cpp
C++
test/algorithms/data_structures/bt/test_bt_postorder_traversal.cpp
iamantony/CppNotes
2707db6560ad80b0e5e286a04b2d46e5c0280b3f
[ "MIT" ]
2
2020-07-31T14:13:56.000Z
2021-02-03T09:51:43.000Z
test/algorithms/data_structures/bt/test_bt_postorder_traversal.cpp
iamantony/CppNotes
2707db6560ad80b0e5e286a04b2d46e5c0280b3f
[ "MIT" ]
28
2015-09-22T07:38:21.000Z
2018-10-02T11:00:58.000Z
test/algorithms/data_structures/bt/test_bt_postorder_traversal.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/bt/bt_postorder_traversal.hpp" BOOST_AUTO_TEST_SUITE(BTPostOrderTraversal) BOOST_AUTO_TEST_CASE(empty_bt) { Types::DS::NodeBT<int>* bt = nullptr; const std::vector<int> expected; BOOST_CHECK(expected == Algo::DS::BT::...
30.152778
86
0.6421
[ "vector" ]
e9e260f71f0144df638a4781c1276592d68f3ca1
3,324
cpp
C++
Artificial_Neural_Networks/C++/FFANN_train.cpp
dkaramit/ASAP
afade2737b332e7dbf0ea06eb4f31564a478ee40
[ "MIT" ]
null
null
null
Artificial_Neural_Networks/C++/FFANN_train.cpp
dkaramit/ASAP
afade2737b332e7dbf0ea06eb4f31564a478ee40
[ "MIT" ]
null
null
null
Artificial_Neural_Networks/C++/FFANN_train.cpp
dkaramit/ASAP
afade2737b332e7dbf0ea06eb4f31564a478ee40
[ "MIT" ]
1
2021-12-15T02:03:01.000Z
2021-12-15T02:03:01.000Z
#include<iostream> #include<vector> #include<array> #include <iomanip> #include <string> #include"FFANN.hpp" #ifndef LONG #define LONG long #endif #define LD LONG double using std::cout; using std::endl; using std::setw; using std::setfill; using std::vector; using std::array; LD linearActivation(LD x){return x;}...
21.72549
93
0.617028
[ "vector" ]
e9edc468208776d027a051da924ec2525e3a2492
2,358
cpp
C++
GUIproject/CourseWorkHypermarket/registerform.cpp
ashnaider/CourseWorkHypermarket
9dd52dadf987020c2490f2a9a9cdcaa5b52fb12a
[ "MIT" ]
3
2020-05-27T18:37:43.000Z
2020-06-21T05:40:57.000Z
GUIproject/CourseWorkHypermarket/registerform.cpp
ashnaider/CourseWorkHypermarket
9dd52dadf987020c2490f2a9a9cdcaa5b52fb12a
[ "MIT" ]
null
null
null
GUIproject/CourseWorkHypermarket/registerform.cpp
ashnaider/CourseWorkHypermarket
9dd52dadf987020c2490f2a9a9cdcaa5b52fb12a
[ "MIT" ]
null
null
null
#include "registerform.h" #include "ui_registerform.h" #include <QString> #include <QMessageBox> #include <QFile> #include <QTextStream> #include <QRegExpValidator>> #include <string> #include <sstream> RegisterForm::RegisterForm(QWidget *parent) : QWidget(parent), ui(new Ui::RegisterForm) { ui->setupUi(...
26.2
111
0.651824
[ "vector" ]
e9ef4e716a2d631e9966f8d7b367c21b93df8433
625
cpp
C++
python/loader/sampletilemesh.cpp
CLRN/recastlib
41c336b0960069a75fa902e03ea3d5b6137addf9
[ "Zlib" ]
22
2015-03-29T05:48:06.000Z
2020-04-26T14:07:39.000Z
python/loader/sampletilemesh.cpp
CLRN/recastlib
41c336b0960069a75fa902e03ea3d5b6137addf9
[ "Zlib" ]
3
2018-07-03T21:30:18.000Z
2020-04-16T18:32:12.000Z
python/loader/sampletilemesh.cpp
layzerar/recastlib
94d6c3adb36e63587f2bde277e5e14fe95d144b2
[ "Zlib" ]
7
2015-10-23T08:56:57.000Z
2022-03-09T00:27:51.000Z
/* * @summary: recast sampletilemesh loader * @date: 2013-03-17 * @author: zl */ #include "config.h" #include "tilemesh.h" #include "sampletilemesh.h" #include <fstream> using std::ios_base; using std::ifstream; dtNavMesh* dtLoadSampleTileMesh(const char* path) { ifstream fp(path, ios_base::in | ios_base::bina...
15.243902
52
0.6784
[ "mesh" ]
e9f77e3fc4159d3356f31591781dbce76ca2f7a6
7,500
cpp
C++
examples_glfwold/136_VoxelGeodesic/main.cpp
fixedchaos/delfem2
c8a7a000ec6a51c44bc45bc6ad0d0106d9315ade
[ "MIT" ]
null
null
null
examples_glfwold/136_VoxelGeodesic/main.cpp
fixedchaos/delfem2
c8a7a000ec6a51c44bc45bc6ad0d0106d9315ade
[ "MIT" ]
null
null
null
examples_glfwold/136_VoxelGeodesic/main.cpp
fixedchaos/delfem2
c8a7a000ec6a51c44bc45bc6ad0d0106d9315ade
[ "MIT" ]
null
null
null
/* * Copyright (c) 2020 Nobuyuki Umetani * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <random> #include "delfem2/mshio.h" #include "delfem2/mshmisc.h" #include "delfem2/gridvoxel.h" // #include <glad/glad.h> #include <GLF...
33.482143
95
0.591333
[ "vector" ]
e9f8a8333949ef01bc92ca768c1612c8293ad6bb
419
cpp
C++
Cplus/SortArraybyIncreasingFrequency.cpp
JumHorn/leetcode
1447237ae8fc3920b19f60b30c71a84b088cc200
[ "MIT" ]
1
2018-01-22T12:06:28.000Z
2018-01-22T12:06:28.000Z
Cplus/SortArraybyIncreasingFrequency.cpp
JumHorn/leetcode
1447237ae8fc3920b19f60b30c71a84b088cc200
[ "MIT" ]
null
null
null
Cplus/SortArraybyIncreasingFrequency.cpp
JumHorn/leetcode
1447237ae8fc3920b19f60b30c71a84b088cc200
[ "MIT" ]
null
null
null
#include <algorithm> #include <unordered_map> #include <vector> using namespace std; class Solution { public: vector<int> frequencySort(vector<int> &nums) { unordered_map<int, int> m; //{value,count} for (auto n : nums) ++m[n]; auto lambda = [&](int lhs, int rhs) { if (m[lhs] != m[rhs]) return m[lhs]...
19.045455
45
0.615752
[ "vector" ]
e9ffaef6d70e3f00244998cc114c0808268893ec
1,691
cpp
C++
SMB3_v2_C++/assets/classes/Camera.cpp
Izay0i/SuperMarioBros3
46d254aa1ae4396175145d9743932c5c4fbf1763
[ "MIT" ]
1
2020-11-09T09:08:02.000Z
2020-11-09T09:08:02.000Z
SMB3_v2_C++/assets/classes/Camera.cpp
Izay0i/SuperMarioBros3
46d254aa1ae4396175145d9743932c5c4fbf1763
[ "MIT" ]
null
null
null
SMB3_v2_C++/assets/classes/Camera.cpp
Izay0i/SuperMarioBros3
46d254aa1ae4396175145d9743932c5c4fbf1763
[ "MIT" ]
null
null
null
#include "GlobalUtil.h" #include "Camera.h" Camera* Camera::_cameraInstance = nullptr; Camera::Camera() {} Camera::~Camera() {} Camera* Camera::GetInstance() { if (_cameraInstance == nullptr) { _cameraInstance = new Camera; } return _cameraInstance; } void Camera::SetCameraWidth(unsigned int cameraWidth) { _...
22.851351
83
0.749852
[ "vector" ]
1804f157e9395db9db2442885359defec788e889
859
cc
C++
src/alpaka/plugin-SiPixelRecHits/alpaka/PixelCPEFastESProducer.cc
yongbinfeng/pixeltrack-standalone
e50ee92dff54f99803e91275869ffaddf8083018
[ "Apache-2.0" ]
null
null
null
src/alpaka/plugin-SiPixelRecHits/alpaka/PixelCPEFastESProducer.cc
yongbinfeng/pixeltrack-standalone
e50ee92dff54f99803e91275869ffaddf8083018
[ "Apache-2.0" ]
null
null
null
src/alpaka/plugin-SiPixelRecHits/alpaka/PixelCPEFastESProducer.cc
yongbinfeng/pixeltrack-standalone
e50ee92dff54f99803e91275869ffaddf8083018
[ "Apache-2.0" ]
null
null
null
#include <fstream> #include <ios> #include <iostream> #include <memory> #include <string> #include <utility> #include <vector> #include "AlpakaCore/alpakaCommon.h" #include "CondFormats/PixelCPEFast.h" #include "Framework/ESPluginFactory.h" #include "Framework/ESProducer.h" #include "Framework/EventSetup.h" namespace...
27.709677
85
0.762515
[ "vector" ]
180561f4ca93fd0ab99356b1b922ab29fcc8cd50
1,420
cpp
C++
problems/261.graph-valid-tree.cpp
bigfishi/leetcode
3e512f2822a742349384a0bdd7954696f5867683
[ "MIT" ]
null
null
null
problems/261.graph-valid-tree.cpp
bigfishi/leetcode
3e512f2822a742349384a0bdd7954696f5867683
[ "MIT" ]
null
null
null
problems/261.graph-valid-tree.cpp
bigfishi/leetcode
3e512f2822a742349384a0bdd7954696f5867683
[ "MIT" ]
null
null
null
// 判断无向图是否有环,另外还需要节点之间都联通 class Solution { enum { VISIT_STATE_NO = 0, VISIT_STATE_VISITING, VISIT_STATE_END }; void dfs(int index, vector<vector<int>>& graph, vector<int>& visited, vector<int>& father, bool& noCircle) { if (!noCircle) return; if (visited[index] == VISIT_STATE_END) return; visited[index] ...
22.539683
109
0.56338
[ "vector" ]
18065cdd6dab5ad710ff7f188e2120e3dd8ccede
5,508
cpp
C++
test/rewards/poprewards_test.cpp
Dmytro-Kyparenko/alt-integration-cpp
df18abdd4bfeec757c2df47efcaf4020d78880bb
[ "MIT" ]
null
null
null
test/rewards/poprewards_test.cpp
Dmytro-Kyparenko/alt-integration-cpp
df18abdd4bfeec757c2df47efcaf4020d78880bb
[ "MIT" ]
null
null
null
test/rewards/poprewards_test.cpp
Dmytro-Kyparenko/alt-integration-cpp
df18abdd4bfeec757c2df47efcaf4020d78880bb
[ "MIT" ]
null
null
null
// Copyright (c) 2019-2020 Xenios SEZC // https://www.veriblock.org // Distributed under the MIT software license, see the accompanying // file LICENSE or http://www.opensource.org/licenses/mit-license.php. #include <gmock/gmock.h> #include <gtest/gtest.h> #include "util/pop_test_fixture.hpp" using namespace altint...
34.425
80
0.716231
[ "vector" ]
180666421659d23ab501683ac1523602638b0856
5,212
cpp
C++
arangod/RocksDBEngine/RocksDBOptimizerRules.cpp
etah000/arangodb
ccde2a5ea265859705e6036c9cde742c2b2924c5
[ "BSL-1.0", "Zlib", "Apache-2.0" ]
null
null
null
arangod/RocksDBEngine/RocksDBOptimizerRules.cpp
etah000/arangodb
ccde2a5ea265859705e6036c9cde742c2b2924c5
[ "BSL-1.0", "Zlib", "Apache-2.0" ]
null
null
null
arangod/RocksDBEngine/RocksDBOptimizerRules.cpp
etah000/arangodb
ccde2a5ea265859705e6036c9cde742c2b2924c5
[ "BSL-1.0", "Zlib", "Apache-2.0" ]
1
2021-07-12T06:29:34.000Z
2021-07-12T06:29:34.000Z
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2014-2016 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except...
35.455782
114
0.612817
[ "vector" ]
180f6a9faefb3a6143275de192bafd065fc6f9b0
18,291
cpp
C++
bsp/BSPCollisionUtil.cpp
Andrewich/deadjustice
48bea56598e79a1a10866ad41aa3517bf7d7c724
[ "BSD-3-Clause" ]
3
2019-04-20T10:16:36.000Z
2021-03-21T19:51:38.000Z
bsp/BSPCollisionUtil.cpp
Andrewich/deadjustice
48bea56598e79a1a10866ad41aa3517bf7d7c724
[ "BSD-3-Clause" ]
null
null
null
bsp/BSPCollisionUtil.cpp
Andrewich/deadjustice
48bea56598e79a1a10866ad41aa3517bf7d7c724
[ "BSD-3-Clause" ]
2
2020-04-18T20:04:24.000Z
2021-09-19T05:07:41.000Z
#include "BSPCollisionUtil.h" #include "BSPNode.h" #include "BSPPolygon.h" #include <dev/Profile.h> #include <lang/Float.h> #include <lang/Math.h> #include <math/Vector3.h> #include <math/Vector4.h> #include <math/Intersection.h> #include <assert.h> #include <functional> #include "config.h" //------------...
33.016245
137
0.617571
[ "vector" ]
1817ca2066cc19dfe53b38fe318415ce92b1b89a
26,202
cpp
C++
es-app/src/systems/SystemManager.cpp
AdoPi/custom-es-fork
49d23b57173612531fdf0f1c996592fb161df779
[ "MIT" ]
null
null
null
es-app/src/systems/SystemManager.cpp
AdoPi/custom-es-fork
49d23b57173612531fdf0f1c996592fb161df779
[ "MIT" ]
null
null
null
es-app/src/systems/SystemManager.cpp
AdoPi/custom-es-fork
49d23b57173612531fdf0f1c996592fb161df779
[ "MIT" ]
null
null
null
// // Created by bkg2k on 15/10/2019. // #include "SystemManager.h" #include "SystemDescriptor.h" #include "SystemDeserializer.h" #include <utils/Log.h> #include <Settings.h> #include <RecalboxConf.h> #include <utils/os/system/ThreadPool.h> #include <utils/Strings.h> #include <utils/os/fs/StringMapFile.h> #include <ut...
36.852321
218
0.671475
[ "vector" ]
181a15a8460aa76299184115efe01cc06eebb001
7,101
cpp
C++
App/FeatureDressUp.cpp
haisenzhao/CarpentryCompiler
c9714310b7ce7523a25becd397265bfaa3ab7ea3
[ "FSFAP" ]
21
2019-12-06T09:57:10.000Z
2021-09-22T12:58:09.000Z
App/FeatureDressUp.cpp
haisenzhao/CarpentryCompiler
c9714310b7ce7523a25becd397265bfaa3ab7ea3
[ "FSFAP" ]
null
null
null
App/FeatureDressUp.cpp
haisenzhao/CarpentryCompiler
c9714310b7ce7523a25becd397265bfaa3ab7ea3
[ "FSFAP" ]
5
2020-11-18T00:09:30.000Z
2021-01-13T04:40:47.000Z
/*************************************************************************** * Copyright (c) 2010 Juergen Riegel <FreeCAD@juergen-riegel.net> * * * * This file is part of the FreeCAD CAx development system. * * ...
35.863636
92
0.540628
[ "object", "shape", "vector" ]
181fa8e21e62d4392382313da8df6dbca00d8788
1,270
cpp
C++
opc/OPCClientToolKit/Transaction.cpp
hotpoor/DolphinDBPlugin
9eed3f591929440630daf993d3552814bf7fde1a
[ "Apache-2.0" ]
40
2018-07-12T03:57:58.000Z
2021-12-31T00:20:50.000Z
opc/OPCClientToolKit/Transaction.cpp
hotpoor/DolphinDBPlugin
9eed3f591929440630daf993d3552814bf7fde1a
[ "Apache-2.0" ]
5
2019-11-01T01:20:33.000Z
2021-09-03T15:49:01.000Z
opc/OPCClientToolKit/Transaction.cpp
hotpoor/DolphinDBPlugin
9eed3f591929440630daf993d3552814bf7fde1a
[ "Apache-2.0" ]
22
2018-07-12T06:16:57.000Z
2022-01-15T03:38:51.000Z
#include "Transaction.h" CTransaction::CTransaction(ITransactionComplete * completeCB) :completed(FALSE), cancelID(0xffffffff), completeCallBack(completeCB){ } CTransaction::CTransaction(std::vector<COPCItem *>&items, ITransactionComplete * completeCB) :completed(FALSE), cancelID(0xffffffff), completeCallBack(comp...
28.863636
122
0.741732
[ "vector" ]
18244155738bfdd1299e8d05823415e9ee2d394f
1,683
cpp
C++
test_ref/old_tests/Main.cpp
webOS-ports/configd
707f158782b82417b197c00845d3fdf44dd5bcfd
[ "Apache-2.0" ]
2
2018-03-22T19:07:50.000Z
2019-05-06T05:20:31.000Z
test_ref/old_tests/Main.cpp
webOS-ports/configd
707f158782b82417b197c00845d3fdf44dd5bcfd
[ "Apache-2.0" ]
null
null
null
test_ref/old_tests/Main.cpp
webOS-ports/configd
707f158782b82417b197c00845d3fdf44dd5bcfd
[ "Apache-2.0" ]
3
2018-03-22T19:07:52.000Z
2022-02-26T04:28:53.000Z
// Copyright (c) 2014-2018 LG Electronics, 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...
27.590164
90
0.705288
[ "object" ]
1837a932d4aa8e28389a5ef86833e520c320cec8
1,268
hpp
C++
include/lcp_phi.hpp
kurpicz/lcp-test
75ebbe132329681b6fcf444b66a3b658b68c7b64
[ "BSD-2-Clause" ]
1
2020-01-30T13:21:29.000Z
2020-01-30T13:21:29.000Z
include/lcp_phi.hpp
kurpicz/lcp-test
75ebbe132329681b6fcf444b66a3b658b68c7b64
[ "BSD-2-Clause" ]
null
null
null
include/lcp_phi.hpp
kurpicz/lcp-test
75ebbe132329681b6fcf444b66a3b658b68c7b64
[ "BSD-2-Clause" ]
null
null
null
/******************************************************************************* * include/lcp_phi.hpp * * Copyright (C) 2019 Florian Kurpicz <florian.kurpicz@tu-dortmund.de> * * All rights reserved. Published under the BSD-2 license in the LICENSE file. ***********************************************************...
30.926829
80
0.472397
[ "vector" ]
1837dd93eacfe17d00b157821b1111112d1c3415
2,314
cpp
C++
src-data-structure/src/vector.cpp
honbey/my-hnu-codeset
2e5ea4a17499edde59fee768690aca71eb027bea
[ "MIT" ]
1
2021-04-17T06:47:34.000Z
2021-04-17T06:47:34.000Z
src-data-structure/src/vector.cpp
honbey/my-hnu-codeset
2e5ea4a17499edde59fee768690aca71eb027bea
[ "MIT" ]
null
null
null
src-data-structure/src/vector.cpp
honbey/my-hnu-codeset
2e5ea4a17499edde59fee768690aca71eb027bea
[ "MIT" ]
null
null
null
/****************************************************************************************** * Project Name: vector * * Honbey, honbey@honbey.com * Created On 2019-09-06 * Copyright (c) 2019-2020. All rights reserved. * * Date: 2020-02-24 * Version: 0.2.0 * * Description: Learning DSA(Data Structure & Algor...
27.223529
92
0.541487
[ "vector" ]
184146d940a8f30af242ae7f826d8c7a2f2d5ac5
2,982
cpp
C++
gmm_sampling/src/gmm_sampling_ros.cpp
robotics-upo/upo_robot_navigation
6e0b7668683b68037051b2dda0419bda38a51e01
[ "BSD-3-Clause" ]
50
2016-11-29T09:46:39.000Z
2021-05-27T10:44:07.000Z
gmm_sampling/src/gmm_sampling_ros.cpp
kayleckq/upo_robot_navigation
6e0b7668683b68037051b2dda0419bda38a51e01
[ "BSD-3-Clause" ]
5
2017-05-04T12:39:13.000Z
2021-03-30T07:44:38.000Z
gmm_sampling/src/gmm_sampling_ros.cpp
kayleckq/upo_robot_navigation
6e0b7668683b68037051b2dda0419bda38a51e01
[ "BSD-3-Clause" ]
22
2017-01-17T07:38:24.000Z
2021-02-18T13:17:29.000Z
#include <iostream> #include <fstream> #include <string> #include <stdio.h> /* printf, scanf, puts, NULL */ #include <stdlib.h> #include <time.h> #include <numeric> // std::accumulate #include <gmm_sampling/gmm_sampling.h> //ROS #include <ros/ros.h> #include <tf/transform_datatypes.h> #include <tf/transfor...
23.666667
119
0.720657
[ "vector" ]
18443d9c413c9990ed9efb86a838d96945c8346a
9,955
cpp
C++
csrc/ros_controllers/IHMCRosControlJavaBridge.cpp
DhruvKoolRajamani/ihmc-ros-control
80ce78de88f7b540d6a2b153f6899fb5cfe865fe
[ "Apache-2.0" ]
1
2022-01-05T01:38:01.000Z
2022-01-05T01:38:01.000Z
csrc/ros_controllers/IHMCRosControlJavaBridge.cpp
DhruvKoolRajamani/ihmc-ros-control
80ce78de88f7b540d6a2b153f6899fb5cfe865fe
[ "Apache-2.0" ]
3
2016-06-15T18:26:56.000Z
2016-10-18T19:06:06.000Z
csrc/ros_controllers/IHMCRosControlJavaBridge.cpp
DhruvKoolRajamani/ihmc-ros-control
80ce78de88f7b540d6a2b153f6899fb5cfe865fe
[ "Apache-2.0" ]
2
2016-10-25T23:36:45.000Z
2018-06-08T18:56:05.000Z
#include "IHMCRosControlJavaBridge.h" #include "NativeJointHandleHolder.h" #include <pluginlib/class_list_macros.h> JNIEXPORT void rosError(JNIEnv *env, jclass, jstring error) { const char *cerror = env->GetStringUTFChars(error, NULL); if (error != NULL) { ROS_ERROR("%s", cerror); env->ReleaseStringUTF...
30.916149
185
0.621195
[ "object", "vector" ]
18474025cc93ee28db1f05ba9ae2e822b6b03f09
8,797
cpp
C++
TerrainMaster/Source/TerrainMaster/Render/Renderer.cpp
SamCZ/TerrainMaster
dc5a330849034161a4c3c537482a6db0cb839691
[ "MIT" ]
1
2019-12-11T17:21:56.000Z
2019-12-11T17:21:56.000Z
TerrainMaster/Source/TerrainMaster/Render/Renderer.cpp
SamCZ/TerrainMaster
dc5a330849034161a4c3c537482a6db0cb839691
[ "MIT" ]
null
null
null
TerrainMaster/Source/TerrainMaster/Render/Renderer.cpp
SamCZ/TerrainMaster
dc5a330849034161a4c3c537482a6db0cb839691
[ "MIT" ]
null
null
null
#include "Renderer.h" #include <iostream> #include <memory> #include "TerrainMaster/Utils/Buffers/Buffers.h" namespace TM { Renderer::Renderer() : _activeRenderState() { _activeRenderState.BlendMode = BlendMode::Color; _activeRenderState.DepthTest = true; _activeRenderState.FaceCull = FaceCull::Back; _active...
28.286174
161
0.675912
[ "mesh", "render" ]
184ba4d5f912190827efc1c3566f7827888d6851
629
cpp
C++
MoviePlayer.cpp
FroxCode/Portfolio-MOSH
76748ccc1e1ec05cc0803ca0819c4ad6be99cab9
[ "MIT" ]
null
null
null
MoviePlayer.cpp
FroxCode/Portfolio-MOSH
76748ccc1e1ec05cc0803ca0819c4ad6be99cab9
[ "MIT" ]
null
null
null
MoviePlayer.cpp
FroxCode/Portfolio-MOSH
76748ccc1e1ec05cc0803ca0819c4ad6be99cab9
[ "MIT" ]
null
null
null
//Created by Dale Sinnott #include "MoviePlayer.h" MoviePlayer::MoviePlayer(){} MoviePlayer::~MoviePlayer(){} MoviePlayer::MoviePlayer(std::string movieFile) { movie = make_shared<sfe::Movie>(); if (!movie->openFromFile(movieFile)) //load movie { cout << movieFile << " not loaded" << endl; } movie->fit(0, 0, ...
17
50
0.661367
[ "render" ]
184d94209b5926cb9fe4064f6d97147e626578ba
70,842
cpp
C++
modules/BULLET/examples/GLFW/08-bullet-coordination/08-bullet-coordination.cpp
adnanmunawar/chai3d
21d019ab5db0a31f3bf4ab68fc6ee0c50f98cee5
[ "BSD-3-Clause" ]
2
2017-11-10T10:10:02.000Z
2021-04-13T03:25:00.000Z
modules/BULLET/examples/GLFW/08-bullet-coordination/08-bullet-coordination.cpp
WPI-AIM/chai3d
21d019ab5db0a31f3bf4ab68fc6ee0c50f98cee5
[ "BSD-3-Clause" ]
null
null
null
modules/BULLET/examples/GLFW/08-bullet-coordination/08-bullet-coordination.cpp
WPI-AIM/chai3d
21d019ab5db0a31f3bf4ab68fc6ee0c50f98cee5
[ "BSD-3-Clause" ]
null
null
null
//=========================================================================== /* Software License Agreement (BSD License) Copyright (c) 2003-2016, CHAI3D (www.chai3d.org) All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitte...
34.914736
172
0.582366
[ "mesh", "render", "vector", "3d" ]
185118a5a2df5acaa0964ecb6168df91374352b5
1,964
cpp
C++
problem solving with algorithms course/movie-fest.cpp
antsaukk/competitive-programming
c1cfe73044862fc25d9ee72e836b5091c32a9e0e
[ "MIT" ]
null
null
null
problem solving with algorithms course/movie-fest.cpp
antsaukk/competitive-programming
c1cfe73044862fc25d9ee72e836b5091c32a9e0e
[ "MIT" ]
null
null
null
problem solving with algorithms course/movie-fest.cpp
antsaukk/competitive-programming
c1cfe73044862fc25d9ee72e836b5091c32a9e0e
[ "MIT" ]
null
null
null
/* In a movie festival n movies will be shown. You know the starting and ending time of each movie. What is the maximum number of movies you can watch entirely? INPUT: The first input line has an integer n: the number of movies. After this, there are n lines that describe the movies. Each line has two integers a and ...
22.837209
96
0.542261
[ "vector" ]
4c761eafdb1e6704cae624a29bd632c487002beb
61,559
cpp
C++
multimedia/dshow/filters/image2/alloclib/alloclib.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
multimedia/dshow/filters/image2/alloclib/alloclib.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
multimedia/dshow/filters/image2/alloclib/alloclib.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/******************************Module*Header*******************************\ * Module Name: AllocLib * * * * * Created: Fri 03/10/2000 * Author: Stephen Estrop [StEstrop] * * Copyright (c) 2000 Microsoft Corporation \**************************************************************************/ #include <strea...
30.384501
109
0.537371
[ "render", "object", "shape", "3d" ]
4c87584840b3c57513d6b9752b9cb8af9f26f535
28,431
cpp
C++
lib/LuaMethod.cpp
indie-zen-plugins/ZLua
6fff6e889a27152ed85b0c0c0786e6b8706f2247
[ "MIT" ]
null
null
null
lib/LuaMethod.cpp
indie-zen-plugins/ZLua
6fff6e889a27152ed85b0c0c0786e6b8706f2247
[ "MIT" ]
null
null
null
lib/LuaMethod.cpp
indie-zen-plugins/ZLua
6fff6e889a27152ed85b0c0c0786e6b8706f2247
[ "MIT" ]
null
null
null
//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ // Lua plugin for Zen Scripting // // Copyright (C) 2001 - 2016 Raymond A. Richards // // This software is provided 'as-is', without any express or implied // warranty. In no event will the authors be held liable for any damages ...
40.67382
187
0.432732
[ "object", "vector" ]
4c8ac3038ce1a78d1f994ea2966b6cae3454b049
11,648
cpp
C++
Endpoints/test/EndpointAttributeValidationTest.cpp
AndersSpringborg/avs-device-sdk
8e77a64c5be5a0b7b19c53549d91b0c45c37df3a
[ "Apache-2.0" ]
1,272
2017-08-17T04:58:05.000Z
2022-03-27T03:28:29.000Z
Endpoints/test/EndpointAttributeValidationTest.cpp
AndersSpringborg/avs-device-sdk
8e77a64c5be5a0b7b19c53549d91b0c45c37df3a
[ "Apache-2.0" ]
1,948
2017-08-17T03:39:24.000Z
2022-03-30T15:52:41.000Z
Endpoints/test/EndpointAttributeValidationTest.cpp
AndersSpringborg/avs-device-sdk
8e77a64c5be5a0b7b19c53549d91b0c45c37df3a
[ "Apache-2.0" ]
630
2017-08-17T06:35:59.000Z
2022-03-29T04:04:44.000Z
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0/ * * or in the "license" f...
38.569536
119
0.788891
[ "vector", "model" ]
4c8e65d02ebbe726fc68fefacfafeef727dc4652
6,476
cpp
C++
main/src/jumpnrun/mover/block/FlyingCarpet.cpp
wonderhorn/mkfj
18d2dd290811662d87abefe2fe2e338ba9caf8a5
[ "MIT" ]
null
null
null
main/src/jumpnrun/mover/block/FlyingCarpet.cpp
wonderhorn/mkfj
18d2dd290811662d87abefe2fe2e338ba9caf8a5
[ "MIT" ]
null
null
null
main/src/jumpnrun/mover/block/FlyingCarpet.cpp
wonderhorn/mkfj
18d2dd290811662d87abefe2fe2e338ba9caf8a5
[ "MIT" ]
null
null
null
#include"jumpnrun/mover/block/block.h" #include"jumpnrun/mover/effect/Effect.h" #include"jumpnrun/mover/effect/Circle.h" #include"jumpnrun/mover/Barrier.h" #include"jumpnrun/mover/bullet/Bullet.h" #include"jumpnrun/system/Parmanent.h" #include"jumpnrun/spell/Spell.h" #include"jumpnrun/GRAPHICS.h" using namespace jnr; u...
22.102389
103
0.606084
[ "geometry", "render", "object", "shape" ]
4c8e6e9fb6a847d815f520f757e21c3ff941544c
8,788
cpp
C++
dbms/src/Storages/System/StorageSystemTables.cpp
ssmike/ClickHouse
fafecb3c25a59777ed691c0a1936d66181d4d093
[ "Apache-2.0" ]
2
2020-07-27T18:04:24.000Z
2020-09-04T11:49:32.000Z
dbms/src/Storages/System/StorageSystemTables.cpp
ssmike/ClickHouse
fafecb3c25a59777ed691c0a1936d66181d4d093
[ "Apache-2.0" ]
null
null
null
dbms/src/Storages/System/StorageSystemTables.cpp
ssmike/ClickHouse
fafecb3c25a59777ed691c0a1936d66181d4d093
[ "Apache-2.0" ]
1
2021-08-05T18:52:20.000Z
2021-08-05T18:52:20.000Z
#include <Columns/ColumnString.h> #include <Columns/ColumnsNumber.h> #include <DataTypes/DataTypeString.h> #include <DataTypes/DataTypeDateTime.h> #include <DataStreams/OneBlockInputStream.h> #include <Storages/System/StorageSystemTables.h> #include <Storages/VirtualColumnUtils.h> #include <Databases/IDatabase.h> #incl...
32.190476
150
0.62665
[ "vector" ]
4c909946984f8c94a64cc0c094e81111ef18d471
5,621
tcc
C++
Code/Base/scimath/current/utils/PaddingUtils.tcc
rtobar/askapsoft
6bae06071d7d24f41abe3f2b7f9ee06cb0a9445e
[ "BSL-1.0", "Apache-2.0", "OpenSSL" ]
1
2020-06-18T08:37:43.000Z
2020-06-18T08:37:43.000Z
Code/Base/scimath/current/utils/PaddingUtils.tcc
ATNF/askapsoft
d839c052d5c62ad8a511e58cd4b6548491a6006f
[ "BSL-1.0", "Apache-2.0", "OpenSSL" ]
null
null
null
Code/Base/scimath/current/utils/PaddingUtils.tcc
ATNF/askapsoft
d839c052d5c62ad8a511e58cd4b6548491a6006f
[ "BSL-1.0", "Apache-2.0", "OpenSSL" ]
null
null
null
/// @file /// /// PaddingUtils a class containing utilities used for FFT padding in preconditioners. Code like this /// can probably be moved to a higer level. At this stage we just need to make these methods available not /// just to the WienerPreconditioner, but for other classes as well. /// /// @copyright (c) 2007 ...
37.97973
106
0.64686
[ "shape" ]
4c9c893b28494b82c7ed3e9cfb9510e3fbc83800
4,737
hpp
C++
include/braid_wrapper.hpp
LLNL/scaling-umbrella
6b41956e658b98e8d5d6c3d449a7c2101046c5d4
[ "MIT" ]
22
2021-03-27T17:35:59.000Z
2022-03-23T23:36:34.000Z
include/braid_wrapper.hpp
LLNL/scaling-umbrella
6b41956e658b98e8d5d6c3d449a7c2101046c5d4
[ "MIT" ]
6
2021-01-13T00:36:32.000Z
2022-01-13T00:48:12.000Z
include/braid_wrapper.hpp
LLNL/scaling-umbrella
6b41956e658b98e8d5d6c3d449a7c2101046c5d4
[ "MIT" ]
6
2021-11-17T16:17:19.000Z
2022-02-09T20:37:23.000Z
#ifdef WITH_BRAID #include "config.hpp" #include "timestepper.hpp" #include "mastereq.hpp" #include "braid.hpp" #include "util.hpp" #include "gate.hpp" #include <iostream> #include "output.hpp" #include <sys/stat.h> #pragma once class myBraidVector { public: Vec x; myBraidVector(); myBraidVecto...
32.668966
182
0.671311
[ "vector" ]
4ca1b93f1e4ce7b165c7a74a115789f1f8ada466
16,749
cpp
C++
src/imaging/ossimHistogramEqualization.cpp
vladislav-horbatiuk/ossim
82417ad868fac022672335e1684bdd91d662c18c
[ "MIT" ]
251
2015-10-20T09:08:11.000Z
2022-03-22T18:16:38.000Z
src/imaging/ossimHistogramEqualization.cpp
vladislav-horbatiuk/ossim
82417ad868fac022672335e1684bdd91d662c18c
[ "MIT" ]
73
2015-11-02T17:12:36.000Z
2021-11-15T17:41:47.000Z
src/imaging/ossimHistogramEqualization.cpp
vladislav-horbatiuk/ossim
82417ad868fac022672335e1684bdd91d662c18c
[ "MIT" ]
146
2015-10-15T16:00:15.000Z
2022-03-22T12:37:14.000Z
//******************************************************************* // Copyright (C) 2000 ImageLinks Inc. // // License: LGPL // // See LICENSE.txt file in the top level directory for more details. // // Author: Garrett Potts // //************************************************************************* // $Id: os...
30.73211
117
0.541764
[ "vector" ]
4ca4d61564adfaf51a2601cce7972feb2ea4c564
618
cpp
C++
p1049.cpp
ThinkiNOriginal/PTA-Advanced
55cae28f76102964d0f6fd728dd62d6eba980c49
[ "MIT" ]
null
null
null
p1049.cpp
ThinkiNOriginal/PTA-Advanced
55cae28f76102964d0f6fd728dd62d6eba980c49
[ "MIT" ]
null
null
null
p1049.cpp
ThinkiNOriginal/PTA-Advanced
55cae28f76102964d0f6fd728dd62d6eba980c49
[ "MIT" ]
null
null
null
#include <string> #include <vector> #include <iostream> #include <cmath> #include <cstring> using namespace std; int main() { string str; cin >> str; int len = str.size(); int res = 0; for (int i = 0; i < len; i++) { string lstr = str.substr(0, i); string rstr = str.substr(i + 1); int l = lstr.empty() ? 0...
18.176471
43
0.506472
[ "vector" ]
4cb0b1f51737bc278ddbd8ba73320bf6f0c677d8
3,659
cpp
C++
tests/Delay/FixedDelayLineFilter.cpp
D-J-Roberts/AudioTK
accf009d7238f32702eb1d5ee23c5148fc68e3bd
[ "BSD-3-Clause" ]
249
2015-01-05T13:36:26.000Z
2022-03-15T18:47:46.000Z
tests/Delay/FixedDelayLineFilter.cpp
D-J-Roberts/AudioTK
accf009d7238f32702eb1d5ee23c5148fc68e3bd
[ "BSD-3-Clause" ]
22
2015-07-28T15:20:24.000Z
2020-07-11T14:18:19.000Z
tests/Delay/FixedDelayLineFilter.cpp
D-J-Roberts/AudioTK
accf009d7238f32702eb1d5ee23c5148fc68e3bd
[ "BSD-3-Clause" ]
48
2015-08-15T12:08:13.000Z
2021-04-07T02:33:07.000Z
/** * \ file FixedDelayLineFilter.cpp */ #include <iostream> #include <ATK/Delay/FixedDelayLineFilter.h> #include <ATK/Core/InPointerFilter.h> #include <ATK/Core/OutPointerFilter.h> #include <ATK/Core/Utilities.h> #include <ATK/Mock/SimpleSinusGeneratorFilter.h> #include <ATK/Mock/TriangleCheckerFilter.h> #inclu...
26.323741
87
0.743099
[ "vector" ]
4cb0c00ee1cbe7ad8476465419efa4cf78de3b33
2,425
cpp
C++
C++/median-in-data-stream.cpp
burneychen/LintCode
babd95aca1fa7540e75b1d3b4d458971ebbe6bcb
[ "Unlicense" ]
null
null
null
C++/median-in-data-stream.cpp
burneychen/LintCode
babd95aca1fa7540e75b1d3b4d458971ebbe6bcb
[ "Unlicense" ]
null
null
null
C++/median-in-data-stream.cpp
burneychen/LintCode
babd95aca1fa7540e75b1d3b4d458971ebbe6bcb
[ "Unlicense" ]
null
null
null
// Time: O(nlogn) // Space: O(n) class Solution { public: /** * @param nums: A list of integers. * @return: The median of numbers */ vector<int> medianII(vector<int> &nums) { // min_bst stores the larger half seen so far. multiset<int, less<int>> min_bst; // max_bst stor...
29.573171
68
0.469278
[ "vector" ]
4cb1a2600f5737d1d505550185106868cc079d86
941
cpp
C++
201-300/240.search-a-2D-Matrix-II.cpp
erichuang1994/leetcode-solution
d5b3bb3ce2a428a3108f7369715a3700e2ba699d
[ "MIT" ]
null
null
null
201-300/240.search-a-2D-Matrix-II.cpp
erichuang1994/leetcode-solution
d5b3bb3ce2a428a3108f7369715a3700e2ba699d
[ "MIT" ]
null
null
null
201-300/240.search-a-2D-Matrix-II.cpp
erichuang1994/leetcode-solution
d5b3bb3ce2a428a3108f7369715a3700e2ba699d
[ "MIT" ]
null
null
null
// 上下排序,左右排序的matrix寻找target. // 下面是自己想的naive的二分 class Solution { public: bool searchMatrix(vector<vector<int>>& matrix, int target) { int m = matrix.size(); int n = matrix[0].size(); int hi = n; for(int i = 0;i<m;i++){ int lo = 0; int mid; while(lo<hi){ mid = (lo+hi)/2; if...
20.456522
64
0.485654
[ "vector" ]
4cb4eed235dbb16518de836a8af7f91dfa25a04e
3,786
cc
C++
RedKnightsShortestPath/main.cc
wuxingyu1983/HackerRank
c42da8506fc65eca9bf6015b62c4446f9ab2af14
[ "MIT" ]
null
null
null
RedKnightsShortestPath/main.cc
wuxingyu1983/HackerRank
c42da8506fc65eca9bf6015b62c4446f9ab2af14
[ "MIT" ]
null
null
null
RedKnightsShortestPath/main.cc
wuxingyu1983/HackerRank
c42da8506fc65eca9bf6015b62c4446f9ab2af14
[ "MIT" ]
null
null
null
#include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> #include <stdio.h> #include <string.h> #include <iostream> #include <fstream> #include <map> #include <queue> #include <stack> using namespace std; #define DEBUG 0 #define MAX_N 200 char board[MAX_N][MAX_N]; int n; cla...
17.054054
51
0.343634
[ "vector" ]
4cb55b4b66118daf02cc18b7b07849daa74a7860
8,879
cc
C++
PacGeom/PacConeDetElem.cc
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
PacGeom/PacConeDetElem.cc
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
PacGeom/PacConeDetElem.cc
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
/******************************************************************************* * PacConeDetElem *******************************************************************************/ #include "BaBar/BaBar.hh" #include "BaBar/Constants.hh" #include "PacGeom/PacConeDetElem.hh" #include "PacGeom/PacCylDetElem.hh" #include "...
33.379699
121
0.661674
[ "geometry", "object", "vector", "transform" ]
4cbefdc3e4f4bbccb86f1de15bec2916bbeef18d
9,037
cpp
C++
reader/android-reader/jni/NativeFormats/fbreader/src/formats/css/StyleSheetTable.cpp
liufeiit/itmarry
9d48eac9ebf02d857658b3c9f70dab2321a3362b
[ "MIT" ]
1
2015-01-22T19:51:03.000Z
2015-01-22T19:51:03.000Z
reader/android-reader/jni/NativeFormats/fbreader/src/formats/css/StyleSheetTable.cpp
liufeiit/itmarry
9d48eac9ebf02d857658b3c9f70dab2321a3362b
[ "MIT" ]
null
null
null
reader/android-reader/jni/NativeFormats/fbreader/src/formats/css/StyleSheetTable.cpp
liufeiit/itmarry
9d48eac9ebf02d857658b3c9f70dab2321a3362b
[ "MIT" ]
null
null
null
/* * Copyright (C) 2004-2013 Geometer Plus <contact@geometerplus.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later ver...
34.231061
154
0.686954
[ "vector" ]
4cc7bf49d468a20452de23c94d0153ceb5207c25
37,581
cpp
C++
native/src/LNLeapDevice.cpp
ideum/LeapMotionAS3
e869e141af94423bc931cb0ced48b5782e03883e
[ "Unlicense" ]
null
null
null
native/src/LNLeapDevice.cpp
ideum/LeapMotionAS3
e869e141af94423bc931cb0ced48b5782e03883e
[ "Unlicense" ]
null
null
null
native/src/LNLeapDevice.cpp
ideum/LeapMotionAS3
e869e141af94423bc931cb0ced48b5782e03883e
[ "Unlicense" ]
null
null
null
// // LNLeapDevice.cpp // LeapNative // // Created by Wouter Verweirder on 01/02/13. // Copyright (c) 2013 Wouter Verweirder. All rights reserved. // #include "LNLeapDevice.h" #include <map> #ifdef WIN32 #ifndef NAN static const unsigned long __nan[2] = {0xffffffff, 0x7fffffff}; #define NAN (*...
43.648084
225
0.578564
[ "vector" ]
4cc8ea6e5179bed6b6399ac65b2e5c0d8cd36c5c
1,964
hpp
C++
Monarch-Connect/Nodeeditor/include/nodes/internal/Connection.hpp
Toms42/Monarch-Connect
3ec456c7812caccc9de4a7f99bd47a16316e7667
[ "MIT" ]
1
2019-02-19T19:33:00.000Z
2019-02-19T19:33:00.000Z
Monarch-Connect/Nodeeditor/include/nodes/internal/Connection.hpp
Toms42/Monarch-Connect
3ec456c7812caccc9de4a7f99bd47a16316e7667
[ "MIT" ]
5
2019-01-09T06:10:02.000Z
2019-02-02T06:31:31.000Z
Monarch-Connect/Nodeeditor/include/nodes/internal/Connection.hpp
Toms42/Monarch-Connect
3ec456c7812caccc9de4a7f99bd47a16316e7667
[ "MIT" ]
null
null
null
#pragma once #include <QtCore/QObject> #include <QtCore/QUuid> #include <QtCore/QVariant> #include "NodeData.hpp" #include "PortType.hpp" #include "ConnectionGeometry.hpp" #include "ConnectionID.hpp" #include "ConnectionState.hpp" #include "Export.hpp" #include "QUuidStdHash.hpp" #include "Serializable.hpp" #include...
21.822222
80
0.767312
[ "model" ]
4cc9cec3c06261efcd506e19668f5ae42bd0ac74
3,091
cpp
C++
bindings/python/src/LibraryMathematicsPy/Geometry/2D/Objects/Polygon.cpp
cowlicks/library-mathematics
f1ff3257bb2da5371a9eacfcec538b2c00871696
[ "Apache-2.0" ]
null
null
null
bindings/python/src/LibraryMathematicsPy/Geometry/2D/Objects/Polygon.cpp
cowlicks/library-mathematics
f1ff3257bb2da5371a9eacfcec538b2c00871696
[ "Apache-2.0" ]
null
null
null
bindings/python/src/LibraryMathematicsPy/Geometry/2D/Objects/Polygon.cpp
cowlicks/library-mathematics
f1ff3257bb2da5371a9eacfcec538b2c00871696
[ "Apache-2.0" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// /// @project Library/Mathematics /// @file LibraryMathematicsPy/Geometry/2D/Objects/Polygon.cpp /// @author Lucas Brémond <lucas@loft...
49.063492
167
0.524426
[ "geometry", "object" ]
4ccd30068c7bf46cc9a5caf6a49528503ef98cb7
5,106
cpp
C++
src/stp/computations/PositionScoring.cpp
RoboTeamTwente/roboteam_ai
412c96cec328af9a8efefb3f484abd982acb7000
[ "MIT" ]
16
2018-10-10T09:55:22.000Z
2021-04-26T09:58:47.000Z
src/stp/computations/PositionScoring.cpp
RoboTeamTwente/roboteam_ai
412c96cec328af9a8efefb3f484abd982acb7000
[ "MIT" ]
688
2018-09-26T11:42:21.000Z
2022-03-17T09:32:25.000Z
src/stp/computations/PositionScoring.cpp
RoboTeamTwente/roboteam_ai
412c96cec328af9a8efefb3f484abd982acb7000
[ "MIT" ]
5
2018-12-25T12:45:56.000Z
2020-09-25T07:51:02.000Z
// // Created by alexander on 02-12-21. // #include "stp/computations/PositionScoring.h" #include <optional> #include "stp/computations/ComputationManager.h" #include "stp/evaluations/position/BlockingEvaluation.h" #include "stp/evaluations/position/GoalShotEvaluation.h" #include "stp/evaluations/position/LineOfSigh...
54.319149
173
0.729338
[ "vector" ]
4cd12fba8af4c950f22f4bbc985ac13e4c1700cb
2,015
cpp
C++
LeetCode/127.Word_Ladder.cpp
w181496/OJ
67d1d32770376865eba8a9dd1767e97dae68989a
[ "MIT" ]
9
2017-10-08T16:22:03.000Z
2021-08-20T09:32:17.000Z
LeetCode/127.Word_Ladder.cpp
w181496/OJ
67d1d32770376865eba8a9dd1767e97dae68989a
[ "MIT" ]
null
null
null
LeetCode/127.Word_Ladder.cpp
w181496/OJ
67d1d32770376865eba8a9dd1767e97dae68989a
[ "MIT" ]
2
2018-01-15T16:35:44.000Z
2019-03-21T18:30:04.000Z
// BFS Shortest Path class Solution { public: int ladderLength(string beginWord, string endWord, vector<string>& wordList) { vector<vector<int>>mx(wordList.size()); vector<int>start; int end = -1, cnt, ans = 1e9; // find who is start and end for(int i = 0; i < wordLi...
33.583333
82
0.381141
[ "vector" ]
4cd2634f117b6f0b6947df5556c7807a4b60efdc
1,000
hpp
C++
coursework2/include/vector_maxmin.hpp
foundnet/UOE_PS_coursework
eb719fee024806ec03fbec528e9eb42d444f6289
[ "Apache-2.0" ]
null
null
null
coursework2/include/vector_maxmin.hpp
foundnet/UOE_PS_coursework
eb719fee024806ec03fbec528e9eb42d444f6289
[ "Apache-2.0" ]
null
null
null
coursework2/include/vector_maxmin.hpp
foundnet/UOE_PS_coursework
eb719fee024806ec03fbec528e9eb42d444f6289
[ "Apache-2.0" ]
null
null
null
#ifndef VECTOR_MAXMIN_H #define VECTOR_MAXMIN_H #include <vector> template <typename T> T max(std::vector<T> v); template <typename T> T max2d(std::vector<std::vector<T>> v); template <typename T> T min(std::vector<T> v); template <typename T> T min2d(std::vector<std::vector<T>> v); template <typename T> T max(st...
16.129032
39
0.618
[ "vector" ]
4cd2c63eb463a79435e99a4b4db5d6c7e1e99e43
1,896
cc
C++
ggChannel_Ntuplizer/plugins/ggChannel_Ntuplizer_HitFit.cc
enochnotsocool/TstarAnalysis_in_CMS
84e695e7fc43188fcabe18468399a5fe4b909efb
[ "MIT" ]
null
null
null
ggChannel_Ntuplizer/plugins/ggChannel_Ntuplizer_HitFit.cc
enochnotsocool/TstarAnalysis_in_CMS
84e695e7fc43188fcabe18468399a5fe4b909efb
[ "MIT" ]
null
null
null
ggChannel_Ntuplizer/plugins/ggChannel_Ntuplizer_HitFit.cc
enochnotsocool/TstarAnalysis_in_CMS
84e695e7fc43188fcabe18468399a5fe4b909efb
[ "MIT" ]
null
null
null
/******************************************************************************* * * Filename : ggChannel_Ntuplizer_ggChannel_Ntuplizer.cc * Description : HitFIt related packages * Author : Yi-Mu "Enoch" Chen [ ensc@hep1.phys.ntu.edu.tw ] * ***************************************************************...
33.857143
83
0.624473
[ "vector" ]
4cd6c85ef5007bb0476fb79b4030364862cd9da6
29,153
cpp
C++
xmsstamper/stamper/detail/XmBathymetryIntersector.cpp
rohankumardubey/xmsstamper
00abfec145f9dab1867006ccdffe6e9e1a0e4caf
[ "BSD-2-Clause" ]
null
null
null
xmsstamper/stamper/detail/XmBathymetryIntersector.cpp
rohankumardubey/xmsstamper
00abfec145f9dab1867006ccdffe6e9e1a0e4caf
[ "BSD-2-Clause" ]
8
2018-10-11T19:45:36.000Z
2020-10-13T22:19:47.000Z
xmsstamper/stamper/detail/XmBathymetryIntersector.cpp
Aquaveo/xmsstamper
00abfec145f9dab1867006ccdffe6e9e1a0e4caf
[ "BSD-2-Clause" ]
null
null
null
//------------------------------------------------------------------------------ /// \file /// \ingroup stamping /// \copyright (C) Copyright Aquaveo 2018. Distributed under FreeBSD License /// (See accompanying file LICENSE or https://aqaveo.com/bsd/license.txt) //------------------------------------------------------...
36.44125
98
0.551436
[ "geometry", "vector", "3d" ]
4cd9f27ff5a883081a23c09825a80f95040d6280
1,443
cpp
C++
aws-cpp-sdk-sagemaker/source/model/AutoRollbackConfig.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-12T08:09:30.000Z
2022-02-12T08:09:30.000Z
aws-cpp-sdk-sagemaker/source/model/AutoRollbackConfig.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-sagemaker/source/model/AutoRollbackConfig.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "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/sagemaker/model/AutoRollbackConfig.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { ...
21.220588
90
0.726265
[ "model" ]
4cda10905144417d8b0331a3c2ddafd9600eda4d
4,983
cpp
C++
src/algo_krof.cpp
miskcoo/rubik-cube
1ff02546018be47ff1ae9cde970e23bf8b9f9ee2
[ "MIT" ]
107
2017-03-28T09:08:30.000Z
2022-02-18T17:25:45.000Z
src/algo_krof.cpp
miskcoo/rubik-cube
1ff02546018be47ff1ae9cde970e23bf8b9f9ee2
[ "MIT" ]
3
2019-09-05T06:53:31.000Z
2021-10-20T17:37:26.000Z
src/algo_krof.cpp
miskcoo/rubik-cube
1ff02546018be47ff1ae9cde970e23bf8b9f9ee2
[ "MIT" ]
30
2017-10-31T09:10:01.000Z
2021-11-17T02:18:30.000Z
#include "algo.h" #include "cube.h" #include "search.hpp" #include "heuristic.hpp" #include <fstream> #include <cstdint> #include <cstring> #include <cstdlib> #include <algorithm> #include <functional> namespace rubik_cube { namespace __krof_algo_impl { class krof_t : public algo_t { public: krof_t(int thread_num);...
19.61811
79
0.62633
[ "3d" ]
4cde1e5e03a2bdfeb6a9a06d35d0ab1138eb130e
7,133
cxx
C++
Titles/mtea/src/spinnera.cxx
magic-lantern-studio/mle-titles
67c813134aeb6db7e172f63e6626919726bff6a9
[ "MIT" ]
null
null
null
Titles/mtea/src/spinnera.cxx
magic-lantern-studio/mle-titles
67c813134aeb6db7e172f63e6626919726bff6a9
[ "MIT" ]
null
null
null
Titles/mtea/src/spinnera.cxx
magic-lantern-studio/mle-titles
67c813134aeb6db7e172f63e6626919726bff6a9
[ "MIT" ]
null
null
null
/** @defgroup mtea Magic Lantern mtea Title */ /** * @file spinnera.cxx * @ingroup mtea * * This file implements the SpinnerActor class for the mtea title. * * @author Mark S. Millard * @date May 1, 2003 */ // COPYRIGHT_BEGIN // // The MIT License (MIT) // // Copyright (c) 2003-2019 Wizzer Works // // Permiss...
31.84375
102
0.678677
[ "object", "vector", "model", "transform" ]
4ce21200b9a70899adcf54de9d350dc3864b44a7
1,370
cpp
C++
.LHP/.Lop11/.HSG/.T.Hung/Week 2/MATHE/MATHE/MATHE.cpp
sxweetlollipop2912/MaCode
661d77a2096e4d772fda2b6a7f80c84113b2cde9
[ "MIT" ]
null
null
null
.LHP/.Lop11/.HSG/.T.Hung/Week 2/MATHE/MATHE/MATHE.cpp
sxweetlollipop2912/MaCode
661d77a2096e4d772fda2b6a7f80c84113b2cde9
[ "MIT" ]
null
null
null
.LHP/.Lop11/.HSG/.T.Hung/Week 2/MATHE/MATHE/MATHE.cpp
sxweetlollipop2912/MaCode
661d77a2096e4d772fda2b6a7f80c84113b2cde9
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> #include <cstdio> #include <string> #include <vector> #define maxN 50001 #define CNT 4 #define maxA 38 #define all 0 typedef int maxn, maxa; typedef long long maxr; typedef std::string str; maxn n, D; maxr cnt[maxA][maxA][maxA][maxA], f[CNT]; std::vector <maxn> id; maxa num...
21.40625
158
0.49927
[ "vector" ]
4ce44673596294644de1928d76e5010f70f88edc
1,469
cpp
C++
pump/pump.cpp
chenhongqiao/OI-Solutions
009a3c4b713b62658b835b52e0f61f882b5a6ffe
[ "MIT" ]
1
2020-12-15T20:25:21.000Z
2020-12-15T20:25:21.000Z
pump/pump.cpp
chenhongqiao/OI-Solutions
009a3c4b713b62658b835b52e0f61f882b5a6ffe
[ "MIT" ]
null
null
null
pump/pump.cpp
chenhongqiao/OI-Solutions
009a3c4b713b62658b835b52e0f61f882b5a6ffe
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; vector<pair<int, int>> g[1005]; struct pipe { int a, b; int c, f; }; vector<pipe> p; int n, m; bool fcomp(pipe a, pipe b) { return a.f > b.f; } int dijkstra() { bool v[100005] = {false}; int d[100005] = {0}; for (int i = 2; i <= n; i++) { ...
20.690141
52
0.392103
[ "vector" ]
4cf16b7c6270157bbaeed0a557c9de85377a901d
210
hpp
C++
server/src/game/Deck.hpp
narutox900/PokerMultiplayer
43fa7a302bd11c3285537b01b178c9385c6c39f3
[ "MIT" ]
null
null
null
server/src/game/Deck.hpp
narutox900/PokerMultiplayer
43fa7a302bd11c3285537b01b178c9385c6c39f3
[ "MIT" ]
null
null
null
server/src/game/Deck.hpp
narutox900/PokerMultiplayer
43fa7a302bd11c3285537b01b178c9385c6c39f3
[ "MIT" ]
null
null
null
#pragma once #include <vector> #include "Card.hpp" namespace game { class Deck { private: std::vector<Card> m_cards; public: Deck(); Card deal(); void shuffle(); }; } // namespace game
13.125
30
0.609524
[ "vector" ]
e08736b3c65a340827a81a028dbaea7af49e55a4
3,872
cpp
C++
InjectModule/jni/JavaHook/ArtMethodHook.cpp
giglf/DVM-hooking-sample
fb511fdb7a0ccac332c87b0281b706e759a0244e
[ "Apache-2.0" ]
3
2018-08-08T09:16:32.000Z
2020-12-27T03:24:31.000Z
InjectModule/jni/JavaHook/ArtMethodHook.cpp
giglf/DVM-hooking-sample
fb511fdb7a0ccac332c87b0281b706e759a0244e
[ "Apache-2.0" ]
null
null
null
InjectModule/jni/JavaHook/ArtMethodHook.cpp
giglf/DVM-hooking-sample
fb511fdb7a0ccac332c87b0281b706e759a0244e
[ "Apache-2.0" ]
1
2020-12-27T03:24:41.000Z
2020-12-27T03:24:41.000Z
#include <jni.h> #include "art_object_4_4.h" #include "art_func_4_4.h" #include "common.h" #include "JavaMethodHook.h" using namespace art::mirror; using namespace art; static char* get_chars_from_utf16(const String *src) { size_t byte_count = src->GetUtfLength(); char* bytes = new char[byte_count + 1]; const uin...
32.813559
127
0.709711
[ "object" ]
e08e9889c355f8f9d55bc1c2d71d5df0ccc53c01
39,771
cpp
C++
rosWorkspace/USUbConsole/src/SubConsole.cpp
chris-blay/guillemot-core
5e20bf46c10da2e6b57c3293a9d9aa402c864288
[ "Apache-2.0" ]
null
null
null
rosWorkspace/USUbConsole/src/SubConsole.cpp
chris-blay/guillemot-core
5e20bf46c10da2e6b57c3293a9d9aa402c864288
[ "Apache-2.0" ]
null
null
null
rosWorkspace/USUbConsole/src/SubConsole.cpp
chris-blay/guillemot-core
5e20bf46c10da2e6b57c3293a9d9aa402c864288
[ "Apache-2.0" ]
null
null
null
#include <QPoint> #include <QDesktopWidget> #include <QImage> #include <QImageReader> #include <QPixmap> #include <QPainter> #include <QDebug> #include <QDateTime> #include <QPalette> #include <iostream> #include <math.h> #include "qwt/qwt_dial_needle.h" #include <sys/time.h> #include "SubConsole.hpp" //#include "USU...
33.562025
162
0.691861
[ "vector" ]
e097a895c7e4a4b05140030af1b8b71ba8fc660a
7,972
cpp
C++
isis/src/base/objs/Intercept/Intercept.cpp
ihumphrey-usgs/ISIS3_old
284cc442b773f8369d44379ee29a9b46961d8108
[ "Unlicense" ]
1
2019-10-13T15:31:33.000Z
2019-10-13T15:31:33.000Z
isis/src/base/objs/Intercept/Intercept.cpp
ihumphrey-usgs/ISIS3_old
284cc442b773f8369d44379ee29a9b46961d8108
[ "Unlicense" ]
null
null
null
isis/src/base/objs/Intercept/Intercept.cpp
ihumphrey-usgs/ISIS3_old
284cc442b773f8369d44379ee29a9b46961d8108
[ "Unlicense" ]
1
2021-07-12T06:05:03.000Z
2021-07-12T06:05:03.000Z
/** * @file * $Revision$ * $Date$ * $Id$ * * Unless noted otherwise, the portions of Isis written by the USGS are * public domain. See individual third-party library and ...
32.406504
98
0.622679
[ "object", "shape", "vector", "3d" ]
e097f9a90d81c5b1d167ba1582e057e197ec315a
1,098
cpp
C++
apps/demo_opencv/draw_mesh.cpp
manlito/superpixel-mesh
34a1dd3a80054787e4e020f8ccfdabc17ca8051d
[ "MIT" ]
null
null
null
apps/demo_opencv/draw_mesh.cpp
manlito/superpixel-mesh
34a1dd3a80054787e4e020f8ccfdabc17ca8051d
[ "MIT" ]
null
null
null
apps/demo_opencv/draw_mesh.cpp
manlito/superpixel-mesh
34a1dd3a80054787e4e020f8ccfdabc17ca8051d
[ "MIT" ]
null
null
null
#include "draw_mesh.hpp" #include <opencv2/imgproc.hpp> #include <random> cv::Mat draw_mesh(const cv::Mat &image, const superpixel_mesh::Mesh &mesh) { cv::Mat color_mask(image.size(), CV_8UC3); color_mask.setTo(0); std::random_device r; std::default_random_engine e1(r()); std::uniform_int_distribution<unsig...
37.862069
78
0.663934
[ "mesh", "vector" ]
e09b771708670373dfd1ed22d8f32d9482d183fd
3,776
cpp
C++
src/Node.cpp
michalurb8/TKOM-regexp
c4e23adc3a2fed68420c331d3da69caf4684d3f8
[ "MIT" ]
null
null
null
src/Node.cpp
michalurb8/TKOM-regexp
c4e23adc3a2fed68420c331d3da69caf4684d3f8
[ "MIT" ]
null
null
null
src/Node.cpp
michalurb8/TKOM-regexp
c4e23adc3a2fed68420c331d3da69caf4684d3f8
[ "MIT" ]
null
null
null
#include <algorithm> #include "Node.h" unsigned int Node::nextPos; Node::Node() { } SymbolNode::SymbolNode(char arg) { posNum = Node::nextPos++; value = arg; //set nullable nullable = false; //set first this->first.insert(posNum); //set last this->last.insert(posNum); } AltNode::AltN...
19.265306
70
0.595604
[ "vector" ]
e09d76a7d75b2aa1726c92efff5ca9766530be59
17,229
cc
C++
src/LocalCache_TEST.cc
sschaal2/ign-fuel-tools
c0ec7e960fa87ba90690774bebd478acaaaff7bc
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/LocalCache_TEST.cc
sschaal2/ign-fuel-tools
c0ec7e960fa87ba90690774bebd478acaaaff7bc
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/LocalCache_TEST.cc
sschaal2/ign-fuel-tools
c0ec7e960fa87ba90690774bebd478acaaaff7bc
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2017 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...
32.264045
80
0.676534
[ "model" ]
e0a50e349648df567ce36654f39037105aae4224
15,127
cpp
C++
cs284/assignment4/chatclient.cpp
gsteelman/mst
e5729016e3584107a8b6222c059bf41a20d3cb22
[ "Apache-2.0" ]
1
2015-04-11T17:36:20.000Z
2015-04-11T17:36:20.000Z
cs284/assignment4/chatclient.cpp
gsteelman/mst
e5729016e3584107a8b6222c059bf41a20d3cb22
[ "Apache-2.0" ]
null
null
null
cs284/assignment4/chatclient.cpp
gsteelman/mst
e5729016e3584107a8b6222c059bf41a20d3cb22
[ "Apache-2.0" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////// /// @file chatclient.cpp /// @author -- Jeremy Davidson /// @author -- Gary Steelman /// @brief -- A client class for an internet chat system. /////////////////////////////////////////////////////////////////////////////// #include <cerrno...
28.868321
79
0.532888
[ "object", "vector" ]
e0a88cddc635e148f67630cffc52c7c18b1913a2
2,985
cpp
C++
Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/internal/telephony/cat/CatResponseMessage.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
7
2017-07-13T10:34:54.000Z
2021-04-16T05:40:35.000Z
Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/internal/telephony/cat/CatResponseMessage.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
null
null
null
Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/internal/telephony/cat/CatResponseMessage.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
9
2017-07-13T12:33:20.000Z
2021-06-19T02:46:48.000Z
//========================================================================= // Copyright (C) 2012 The Elastos Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // ...
25.29661
75
0.626131
[ "object" ]
e0adbb39922ff49dd498f2a52bf64b138fc6210b
57,273
cc
C++
content/browser/accessibility/web_contents_accessibility_android.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
content/browser/accessibility/web_contents_accessibility_android.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
content/browser/accessibility/web_contents_accessibility_android.cc
chromium/chromium
df46e572c3449a4b108d6e02fbe4f6d24cf98381
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 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 "content/browser/accessibility/web_contents_accessibility_android.h" #include <memory> #include <string> #include <unordered_map> #include <vect...
36.271691
88
0.729384
[ "render", "object", "vector" ]
e0b2602d08ab1bc91c252d1f09c85578fed7baa9
9,826
cpp
C++
files_utilities/FixBinaryFiles.cpp
sawsimeon/USR_VS_UTILITIES
c3cdbf390d96e26e164186a0e46b8d11a1c74c60
[ "MIT" ]
null
null
null
files_utilities/FixBinaryFiles.cpp
sawsimeon/USR_VS_UTILITIES
c3cdbf390d96e26e164186a0e46b8d11a1c74c60
[ "MIT" ]
1
2022-03-30T13:11:43.000Z
2022-03-30T15:46:53.000Z
files_utilities/FixBinaryFiles.cpp
LouaiKB/USR_VS_UTILITIES
683b44a25d6f0f8866ff18ea9e0d6b1740c07123
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <array> #include <vector> #include <GraphMol/FileParsers/MolSupplier.h> #include <GraphMol/DistGeomHelpers/Embedder.h> #include <GraphMol/FileParsers/MolWriters.h> #include <GraphMol/SmilesParse/SmilesParse.h> #include <GraphMol/Descriptors/MolDescriptors.h> #include <Grap...
27.757062
141
0.61897
[ "vector" ]
e0b87e8c06bc33d9cb84c186c3e96d85171658fe
16,503
cpp
C++
src/render.cpp
TheCrueltySage/Elecard_test_task
c86395bf454c7b4b8b0b9707a3349910262f8737
[ "MIT" ]
null
null
null
src/render.cpp
TheCrueltySage/Elecard_test_task
c86395bf454c7b4b8b0b9707a3349910262f8737
[ "MIT" ]
null
null
null
src/render.cpp
TheCrueltySage/Elecard_test_task
c86395bf454c7b4b8b0b9707a3349910262f8737
[ "MIT" ]
null
null
null
#include <iostream> #include <cmath> #include <chrono> #include <thread> #include <vector> #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> #include <glm/gtc/type_ptr.hpp> #include "gl_core_3_3.h" #include "render.h" //Overlays image over video, supposed to be spawned in a thread. //This actually takes o...
40.153285
249
0.678604
[ "render", "object", "vector" ]
e0b9afafd4e6db75cf0df3e575c63c0ee9252446
6,054
cpp
C++
plugins/mesh/src/MeshDataAccessor.cpp
xge/megamol
1e298dd3d8b153d7468ed446f6b2ed3ac49f0d5b
[ "BSD-3-Clause" ]
49
2017-08-23T13:24:24.000Z
2022-03-16T09:10:58.000Z
plugins/mesh/src/MeshDataAccessor.cpp
xge/megamol
1e298dd3d8b153d7468ed446f6b2ed3ac49f0d5b
[ "BSD-3-Clause" ]
200
2018-07-20T15:18:26.000Z
2022-03-31T11:01:44.000Z
plugins/mesh/src/MeshDataAccessor.cpp
xge/megamol
1e298dd3d8b153d7468ed446f6b2ed3ac49f0d5b
[ "BSD-3-Clause" ]
31
2017-07-31T16:19:29.000Z
2022-02-14T23:41:03.000Z
#include "mesh/MeshDataAccessor.h" #include <algorithm> #include <stdexcept> #include "mmcore/utility/log/Log.h" megamol::mesh::MeshDataTriangleAccessor::MeshDataTriangleAccessor(MeshDataAccessCollection::Mesh const& mesh) : mesh_(mesh) { if (mesh_.primitive_type != MeshDataAccessCollection::PrimitiveTy...
46.569231
117
0.675421
[ "mesh" ]
e0bbcf4e7e85167b50ef660612334dc57defb359
10,728
cxx
C++
pandatool/src/eggprogs/eggTopstrip.cxx
sean5470/panda3d
ea2d4fecd4af1d4064c5fe2ae2a902ef4c9b903d
[ "PHP-3.0", "PHP-3.01" ]
null
null
null
pandatool/src/eggprogs/eggTopstrip.cxx
sean5470/panda3d
ea2d4fecd4af1d4064c5fe2ae2a902ef4c9b903d
[ "PHP-3.0", "PHP-3.01" ]
null
null
null
pandatool/src/eggprogs/eggTopstrip.cxx
sean5470/panda3d
ea2d4fecd4af1d4064c5fe2ae2a902ef4c9b903d
[ "PHP-3.0", "PHP-3.01" ]
null
null
null
/** * 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 have received a copy of this license along * with this source code in a file named "LICENSE." * * @file eggTopstrip.cxx * @aut...
30.651429
83
0.641685
[ "model", "transform", "3d" ]
e0bf0a76c697278e58a71c0c4446ceab70ce2028
14,197
cpp
C++
enduser/troubleshoot/bn/expand.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
enduser/troubleshoot/bn/expand.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
enduser/troubleshoot/bn/expand.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//+------------------------------------------------------------------------- // // Microsoft Windows // // Copyright (C) Microsoft Corporation, 1997 - 1998 // // File: expand.cpp // //-------------------------------------------------------------------------- // // expand.cpp: CI expansion // #i...
32.192744
97
0.650137
[ "object", "vector", "model" ]
e0bf5c9e0cd060ed61307071bf3aebc596f0aba7
49,576
hpp
C++
include/M.hpp
mahilab/MEIISim
05c667f748320a2d506651150ccf25537358bc7d
[ "MIT" ]
null
null
null
include/M.hpp
mahilab/MEIISim
05c667f748320a2d506651150ccf25537358bc7d
[ "MIT" ]
null
null
null
include/M.hpp
mahilab/MEIISim
05c667f748320a2d506651150ccf25537358bc7d
[ "MIT" ]
null
null
null
#pragma once #include <Mahi/Util.hpp> #include <Eigen/Dense> using namespace mahi::util; inline Eigen::MatrixXd get_M(const std::vector<double>& qs){ Eigen::MatrixXd M = Eigen::MatrixXd::Zero(14,14); double qe = qs[0]; double qf = qs[1]; double l1 = qs[2]; double l2 = qs[3]; double l3 = qs[4]; double theta1 =...
472.152381
4,476
0.796736
[ "vector" ]
e0c374d920dadadae79c10b18aad7c041ddee242
5,281
hpp
C++
include/LightDirectionEmission.hpp
Grundkurs/LTBL2
3ddbc09747bbe945cacd320cb6f168a48aee991c
[ "Zlib" ]
17
2017-04-02T00:17:47.000Z
2021-11-23T21:42:48.000Z
src/LightDirectionEmission.hpp
Caerind/LTBL2
d2b51608efa2aa7e3e2d632746b018d6e2add3be
[ "Zlib" ]
null
null
null
src/LightDirectionEmission.hpp
Caerind/LTBL2
d2b51608efa2aa7e3e2d632746b018d6e2add3be
[ "Zlib" ]
5
2017-08-06T12:47:18.000Z
2020-08-14T14:16:22.000Z
#pragma once #include "Utils.hpp" #include "LightShape.hpp" namespace ltbl { ////////////////////////////////////////////////////////////////////////// /// \brief Light with a direction (usually sun/moon) ////////////////////////////////////////////////////////////////////////// class LightDirectionEmission : publi...
45.921739
272
0.433251
[ "render", "shape", "vector" ]
e0c6271a4dbef8540933e5a4933fc5e7fb353ad9
5,661
hpp
C++
src/cython/cpp_process_cdist.hpp
hugolmn/RapidFuzz
81ac43cbf28f5c002f7c4c522a263f5042ed7f25
[ "MIT" ]
null
null
null
src/cython/cpp_process_cdist.hpp
hugolmn/RapidFuzz
81ac43cbf28f5c002f7c4c522a263f5042ed7f25
[ "MIT" ]
null
null
null
src/cython/cpp_process_cdist.hpp
hugolmn/RapidFuzz
81ac43cbf28f5c002f7c4c522a263f5042ed7f25
[ "MIT" ]
null
null
null
#pragma once #include "cpp_process.hpp" #include "numpy/ndarraytypes.h" #include "taskflow/taskflow.hpp" #include "rapidfuzz_capi.h" #include <exception> #include <atomic> int64_t any_round(double score) { return std::llround(score); } int64_t any_round(int64_t score) { return score; } template <typename T> ...
27.086124
135
0.575517
[ "vector" ]
e0ce9a98d1b2fdaa6946598c1668727a484c565d
1,543
cpp
C++
CodeForces/EducationalRound73/D.cpp
takaaki82/Java-Lessons
c4f11462bf84c091527dde5f25068498bfb2cc49
[ "MIT" ]
1
2018-11-25T04:15:45.000Z
2018-11-25T04:15:45.000Z
CodeForces/EducationalRound73/D.cpp
takaaki82/Java-Lessons
c4f11462bf84c091527dde5f25068498bfb2cc49
[ "MIT" ]
null
null
null
CodeForces/EducationalRound73/D.cpp
takaaki82/Java-Lessons
c4f11462bf84c091527dde5f25068498bfb2cc49
[ "MIT" ]
2
2018-08-08T13:01:14.000Z
2018-11-25T12:38:36.000Z
#include <bits/stdc++.h> using namespace std; using ll = long long; using P = pair<ll, ll>; using edge = pair<ll, P>; #define rep(i, n) for(ll i=0;i<(ll)(n);i++) #define rep2(i, m, n) for(ll i=m;i<(ll)(n);i++) #define rrep(i, n, m) for(ll i=n;i>=(ll)(m);i--) using Graph = vector<vector<ll>>; const int dx[4] = {1, 0, ...
24.109375
79
0.406351
[ "vector" ]
e0d1410b40528a1ec8824d35e3be35e298434b67
1,862
cpp
C++
Session_05/01_ParticleSimpleTexture/src/ofApp.cpp
SAIC-ATS/ARTTECH3135
179805d373601ac92dcdbb51ddc4925fc65f7c22
[ "MIT" ]
26
2015-09-23T12:31:16.000Z
2020-12-14T03:19:19.000Z
Session_05/01_ParticleSimpleTexture/src/ofApp.cpp
SAIC-ATS/ARTTECH3135
179805d373601ac92dcdbb51ddc4925fc65f7c22
[ "MIT" ]
2
2017-07-05T18:14:52.000Z
2017-10-31T00:04:13.000Z
Session_05/01_ParticleSimpleTexture/src/ofApp.cpp
SAIC-ATS/ARTTECH3135
179805d373601ac92dcdbb51ddc4925fc65f7c22
[ "MIT" ]
37
2015-09-19T22:10:32.000Z
2019-12-07T19:35:55.000Z
#include "ofApp.h" void ofApp::setup() { ofBackground(0); ofTexture tex0; ofTexture tex1; ofTexture tex2; ofTexture tex3; ofLoadImage(tex0, "s1.png"); ofLoadImage(tex1, "s2.png"); ofLoadImage(tex2, "s3.png"); ofLoadImage(tex3, "s4.png"); std::vector<ofTexture> textures = { t...
21.159091
70
0.538131
[ "vector" ]
e0df53540a9b281eec43c8c12d6e7fe29b3f8b89
164,487
cpp
C++
IL2CPP/Il2CppOutputProject/Source/il2cppOutput/Il2CppCompilerCalculateTypeValues_49Table.cpp
dngoins/AutographTheWorld-MR
24e567c8030b73a6942e25b36b7370667c649b90
[ "MIT" ]
null
null
null
IL2CPP/Il2CppOutputProject/Source/il2cppOutput/Il2CppCompilerCalculateTypeValues_49Table.cpp
dngoins/AutographTheWorld-MR
24e567c8030b73a6942e25b36b7370667c649b90
[ "MIT" ]
null
null
null
IL2CPP/Il2CppOutputProject/Source/il2cppOutput/Il2CppCompilerCalculateTypeValues_49Table.cpp
dngoins/AutographTheWorld-MR
24e567c8030b73a6942e25b36b7370667c649b90
[ "MIT" ]
null
null
null
#include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <cstring> #include <string.h> #include <stdio.h> #include <cmath> #include <limits> #include <assert.h> #include <stdint.h> #include "il2cpp-class-internals.h" #include "codegen/il2cpp-codegen.h" #include "il...
39.933722
207
0.827834
[ "object" ]
e0eb799694ff52b4b09045847b761dc562c51596
7,083
cpp
C++
GDP_Feeney_201718/cMesh.cpp
bharodiyadhaval/Animation_Project_01
59a0d8971ca04f21320d1a643ceb31f5d44f89d0
[ "Apache-2.0" ]
null
null
null
GDP_Feeney_201718/cMesh.cpp
bharodiyadhaval/Animation_Project_01
59a0d8971ca04f21320d1a643ceb31f5d44f89d0
[ "Apache-2.0" ]
null
null
null
GDP_Feeney_201718/cMesh.cpp
bharodiyadhaval/Animation_Project_01
59a0d8971ca04f21320d1a643ceb31f5d44f89d0
[ "Apache-2.0" ]
null
null
null
#include "cMesh.h" #include <glm/glm.hpp> // cross product (I hope) cMesh::cMesh() { this->numberOfVertices = 0; this->numberOfTriangles = 0; // this->maxExtent = 0.0f; this->scaleForUnitBBox = 1.0f; return; } cMesh::~cMesh() { return; } void cMesh::CalculateExtents(void) { // Assume 1st vertex is both m...
31.762332
116
0.684315
[ "vector", "model" ]
e0ee64326c0536fb942064f87b035ad82a54095e
7,624
cpp
C++
apps/MAPF/Sample.cpp
AaronTrip/hog2
96616b40f4173959b127011c76f3e649688e1a99
[ "MIT" ]
2
2021-06-09T13:54:15.000Z
2021-07-04T13:30:46.000Z
apps/MAPF/Sample.cpp
AaronTrip/hog2
96616b40f4173959b127011c76f3e649688e1a99
[ "MIT" ]
null
null
null
apps/MAPF/Sample.cpp
AaronTrip/hog2
96616b40f4173959b127011c76f3e649688e1a99
[ "MIT" ]
2
2017-04-17T11:08:57.000Z
2017-04-18T08:28:27.000Z
/* * $Id: sample.cpp,v 1.23 2006/11/01 23:33:56 nathanst Exp $ * * sample.cpp * hog * * Created by Nathan Sturtevant on 5/31/05. * Copyright 2005 Nathan Sturtevant, University of Alberta. All rights reserved. * * This file is part of HOG. * * HOG is free software; you can redistribute it and/or modify *...
24.915033
169
0.66999
[ "vector" ]