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
a9bd14a7519bc34553ca1ee6844a68b3aa674746
3,664
cpp
C++
apps/standalone/cpu/registration/3d/register_CK_3d.cpp
roopchansinghv/gadgetron
fb6c56b643911152c27834a754a7b6ee2dd912da
[ "MIT" ]
1
2022-02-22T21:06:36.000Z
2022-02-22T21:06:36.000Z
apps/standalone/cpu/registration/3d/register_CK_3d.cpp
apd47/gadgetron
073e84dabe77d2dae3b3dd9aa4bf9edbf1f890f2
[ "MIT" ]
null
null
null
apps/standalone/cpu/registration/3d/register_CK_3d.cpp
apd47/gadgetron
073e84dabe77d2dae3b3dd9aa4bf9edbf1f890f2
[ "MIT" ]
null
null
null
/* An example of how to register two 3d volumes using Cornelius-Kanade optical flow */ // Gadgetron includes #include "hoCKOpticalFlowSolver.h" #include "hoLinearResampleOperator.h" #include "hoNDArray.h" #include "hoNDArray_fileio.h" #include "parameterparser.h" // Std includes #include <iostream> using namespace...
31.586207
106
0.690229
[ "3d" ]
a9c2bb604f5f5a4a0520e8655da3e39398cd4519
16,186
cc
C++
test/integration/joint_universal.cc
tommy91/Gazebo-Ardupilot
03ff6d3e6787eddaf650a681adb56dc06cf82294
[ "ECL-2.0", "Apache-2.0" ]
3
2018-07-17T00:17:13.000Z
2020-05-26T08:39:25.000Z
test/integration/joint_universal.cc
tommy91/Gazebo-Ardupilot
03ff6d3e6787eddaf650a681adb56dc06cf82294
[ "ECL-2.0", "Apache-2.0" ]
1
2022-02-03T18:32:35.000Z
2022-02-03T18:32:35.000Z
test/integration/joint_universal.cc
mingfeisun/gazebo
f3eae789c738f040b8fb27c2dc16dc4c06f2495c
[ "ECL-2.0", "Apache-2.0" ]
2
2016-04-25T22:05:09.000Z
2020-03-08T08:45:12.000Z
/* * Copyright (C) 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 appl...
34.292373
79
0.653342
[ "model" ]
a9c364ada72b3415b2cd0bb07ac3fe1c5265f946
1,329
hpp
C++
source/backend/cpu/CPUDeconvolution.hpp
loveltyoic/MNN
ff405a307819a7228e0d1fc02c00c68021745b0a
[ "Apache-2.0" ]
1
2021-02-03T07:50:59.000Z
2021-02-03T07:50:59.000Z
source/backend/cpu/CPUDeconvolution.hpp
sunnythree/MNN
166fe68cd1ba05d02b018537bf6af03374431690
[ "Apache-2.0" ]
null
null
null
source/backend/cpu/CPUDeconvolution.hpp
sunnythree/MNN
166fe68cd1ba05d02b018537bf6af03374431690
[ "Apache-2.0" ]
1
2021-01-15T06:28:11.000Z
2021-01-15T06:28:11.000Z
// // CPUDeconvolution.hpp // MNN // // Created by MNN on 2018/07/20. // Copyright © 2018, Alibaba Group Holding Limited // #ifndef CPUDeconvolution_hpp #define CPUDeconvolution_hpp #include <stdio.h> #include <mutex> #include "AutoStorage.h" #include "CPUConvolution.hpp" namespace MNN { class CPUDeconvolutionCo...
28.891304
116
0.725357
[ "vector" ]
a9c5b74f7568c38e52a25f267d0d3ff45ee19154
26,023
cpp
C++
src/articulation/urdf_loader.cpp
haosulab/SAPIEN
6bc3f4e2be910199b793f185aea5791d9f193e4c
[ "MIT" ]
21
2021-10-13T11:56:45.000Z
2022-03-30T16:09:21.000Z
src/articulation/urdf_loader.cpp
haosulab/SAPIEN
6bc3f4e2be910199b793f185aea5791d9f193e4c
[ "MIT" ]
25
2021-10-20T20:14:37.000Z
2022-03-30T05:55:15.000Z
src/articulation/urdf_loader.cpp
haosulab/SAPIEN
6bc3f4e2be910199b793f185aea5791d9f193e4c
[ "MIT" ]
5
2021-10-31T17:43:52.000Z
2022-03-01T09:45:53.000Z
#include "urdf_loader.h" #include "articulation_builder.h" #include "sapien_articulation.h" #include "sapien_kinematic_articulation.h" #include "sapien_link.h" #include "sapien_scene.h" #include <eigen3/Eigen/Eigenvalues> #include <experimental/filesystem> namespace sapien { namespace URDF { using namespace tinyxml2; ...
38.782414
99
0.608846
[ "mesh", "geometry", "shape", "vector" ]
a9c668312e34391dd0f28abe13b7a9dff42cc019
10,992
cxx
C++
Libs/MRML/Core/Testing/vtkMRMLHierarchyNodeTest3.cxx
TheInterventionCentre/NorMIT-Plan-App
765ed9a5dccc1cc134b65ccabe93fc132baeb2ea
[ "MIT" ]
null
null
null
Libs/MRML/Core/Testing/vtkMRMLHierarchyNodeTest3.cxx
TheInterventionCentre/NorMIT-Plan-App
765ed9a5dccc1cc134b65ccabe93fc132baeb2ea
[ "MIT" ]
null
null
null
Libs/MRML/Core/Testing/vtkMRMLHierarchyNodeTest3.cxx
TheInterventionCentre/NorMIT-Plan-App
765ed9a5dccc1cc134b65ccabe93fc132baeb2ea
[ "MIT" ]
null
null
null
/*=auto========================================================================= Portions (c) Copyright 2005 Brigham and Women's Hospital (BWH) All Rights Reserved. See COPYRIGHT.txt or http://www.slicer.org/copyright/copyright.txt for details. Program: 3D Slicer ========================================...
36.397351
203
0.663301
[ "vector", "model", "3d" ]
a9cae49ea3c16d005891557d942487edcdb8a791
6,425
cpp
C++
src/GUI/SpellButtonGroup.cpp
tizian/Cendric2
5b0438c73a751bcc0d63c3af839af04ab0fb21a3
[ "MIT" ]
279
2015-05-06T19:04:07.000Z
2022-03-21T21:33:38.000Z
src/GUI/SpellButtonGroup.cpp
tizian/Cendric2
5b0438c73a751bcc0d63c3af839af04ab0fb21a3
[ "MIT" ]
222
2016-10-26T15:56:25.000Z
2021-10-03T15:30:18.000Z
src/GUI/SpellButtonGroup.cpp
tizian/Cendric2
5b0438c73a751bcc0d63c3af839af04ab0fb21a3
[ "MIT" ]
49
2015-10-01T21:23:03.000Z
2022-03-19T20:11:31.000Z
#include "GUI/SpellButtonGroup.h" #include "GUI/ButtonInterface.h" #include "GUI/SelectableWindow.h" #include "Controller/InputController.h" SpellButtonGroup::SpellButtonGroup() { m_selectedButtonIndexX = -1; m_selectedButtonIndexY = -1; m_isEnabled = true; m_isGamepadEnabled = true; m_isWindowLock = false; } Sp...
24.903101
124
0.707549
[ "render", "vector" ]
a9cb4e0413ce6b042f9709de4c136aefa9c0d98b
891
cpp
C++
src/process.cpp
nalinraut/System-Monitor
cd51a040455bad43d835606fb3013b35a40f4fc4
[ "MIT" ]
null
null
null
src/process.cpp
nalinraut/System-Monitor
cd51a040455bad43d835606fb3013b35a40f4fc4
[ "MIT" ]
null
null
null
src/process.cpp
nalinraut/System-Monitor
cd51a040455bad43d835606fb3013b35a40f4fc4
[ "MIT" ]
null
null
null
#include <unistd.h> #include <cctype> #include <sstream> #include <string> #include <vector> #include "process.h" #include "linux_parser.h" Process::Process(int pid) : _pid(pid) { _cpu_util = Process::CpuUtilization(); _cmd = LinuxParser::Command(_pid); } int Process::Pid() { return _pid; } float P...
18.957447
61
0.673401
[ "vector" ]
a9cc620cc0f99ddd1bca0938a2252f8388051b46
6,071
cc
C++
ns-3-dev-git/src/wifi/model/ht-configuration.cc
rahul0324/Upgrade-AQM-Evaluation-Suite-of-ns-3
9d46441749da1059b2e9525d72fce61cb0e42150
[ "MIT" ]
1
2022-03-23T13:55:42.000Z
2022-03-23T13:55:42.000Z
ns-3-dev-git/src/wifi/model/ht-configuration.cc
rahulkumdas/Upgrade-AQM-Evaluation-Suite-of-ns-3
9d46441749da1059b2e9525d72fce61cb0e42150
[ "MIT" ]
null
null
null
ns-3-dev-git/src/wifi/model/ht-configuration.cc
rahulkumdas/Upgrade-AQM-Evaluation-Suite-of-ns-3
9d46441749da1059b2e9525d72fce61cb0e42150
[ "MIT" ]
null
null
null
/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 Sébastien Deronne * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation; * * This progra...
38.18239
90
0.62395
[ "object" ]
a9d0d7a77d0c5d7c65df21ddc79a96b5b3322502
53,929
cpp
C++
psl/rkisp1/ControlUnit.cpp
TinkerEdgeR-Android/hardware_rockchip_camera
652ac45aee3decc561c92c6956b2451d5a633154
[ "Apache-2.0" ]
null
null
null
psl/rkisp1/ControlUnit.cpp
TinkerEdgeR-Android/hardware_rockchip_camera
652ac45aee3decc561c92c6956b2451d5a633154
[ "Apache-2.0" ]
null
null
null
psl/rkisp1/ControlUnit.cpp
TinkerEdgeR-Android/hardware_rockchip_camera
652ac45aee3decc561c92c6956b2451d5a633154
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2017 Intel Corporation. * Copyright (c) 2017, Fuzhou Rockchip Electronics 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/li...
36.024716
113
0.651004
[ "object", "vector" ]
a9d77e79bd2e0cdb26044f1bd90d24498d9c99f8
14,091
cpp
C++
Sources/Scene.cpp
Leo-Besancon/RayTracer
4603d9abf95f36bfd58f18184e63a1d994049686
[ "MIT" ]
null
null
null
Sources/Scene.cpp
Leo-Besancon/RayTracer
4603d9abf95f36bfd58f18184e63a1d994049686
[ "MIT" ]
null
null
null
Sources/Scene.cpp
Leo-Besancon/RayTracer
4603d9abf95f36bfd58f18184e63a1d994049686
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "Scene.h" Scene::~Scene() { // Delete Lights for (int i = 0; i < _lights.size(); i++) { if (_lights[i] != nullptr) delete _lights[i]; } _lights.clear(); // Delete Objects for (int i = 0; i < _objects.size(); i++) { if (_objects[i] != nullptr) delete _objects[i]; } _ob...
30.434125
200
0.674757
[ "object", "vector" ]
a9dbb69c776738bad6f5a41d7221b039cd7cfbd2
9,882
cpp
C++
fileInit.cpp
neelsoumya/cycells
a3a6e632addf0a91c75c0a579ad0d41ad9d7a089
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
fileInit.cpp
neelsoumya/cycells
a3a6e632addf0a91c75c0a579ad0d41ad9d7a089
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
fileInit.cpp
neelsoumya/cycells
a3a6e632addf0a91c75c0a579ad0d41ad9d7a089
[ "Naumen", "Condor-1.1", "MS-PL" ]
3
2018-06-20T21:55:11.000Z
2020-10-21T19:04:54.000Z
/************************************************************************ * * * Copyright (C) 2004 Christina Warrender * * * * This file is part of CyCells. * * * * CyCells is free software; you can redistribute it and/or modify it * * under the terms of the GNU General Public...
33.612245
77
0.478344
[ "geometry", "object", "model" ]
a9e31483c05e8cf73a12d80818229f860f8fd562
1,914
cc
C++
leetcode/14_longest_common_prefix.cc
norlanliu/algorithm
1684db2631f259b4de567164b3ee866351e5b1b6
[ "MIT" ]
null
null
null
leetcode/14_longest_common_prefix.cc
norlanliu/algorithm
1684db2631f259b4de567164b3ee866351e5b1b6
[ "MIT" ]
null
null
null
leetcode/14_longest_common_prefix.cc
norlanliu/algorithm
1684db2631f259b4de567164b3ee866351e5b1b6
[ "MIT" ]
null
null
null
/* * ===================================================================================== * * Filename: 14_longest_common_prefix.cc * * Description: * * Version: 1.0 * Created: 03/10/2015 08:33:20 AM * Revision: none * Compiler: gcc * * Author: (Qi Liu), ...
21.75
88
0.519331
[ "vector" ]
a9e953ca1318618e12a155531bfc72e9dc966a16
7,311
cpp
C++
src/plugins/tiling/rule.cpp
janderland/chunkwm
1af190cc0f3f43fee271e147a5e7a8242734c945
[ "MIT" ]
null
null
null
src/plugins/tiling/rule.cpp
janderland/chunkwm
1af190cc0f3f43fee271e147a5e7a8242734c945
[ "MIT" ]
null
null
null
src/plugins/tiling/rule.cpp
janderland/chunkwm
1af190cc0f3f43fee271e147a5e7a8242734c945
[ "MIT" ]
null
null
null
#include "rule.h" #include "controller.h" #include "misc.h" #include "../../common/misc/assert.h" #include "../../common/accessibility/display.h" #include "../../common/accessibility/window.h" #include "../../common/accessibility/application.h" #include "../../common/misc/assert.h" #include <stdlib.h> #include <strin...
29.361446
110
0.631241
[ "vector" ]
a9eaf9e5f7e8230947c0291947c9cbaa2fcce563
56,826
cpp
C++
Development/nmos/sdp_utils.cpp
rufusu-sony/nmos-cpp
bf746c701891cb4291e4abf50660266330cb1d7e
[ "Apache-2.0" ]
null
null
null
Development/nmos/sdp_utils.cpp
rufusu-sony/nmos-cpp
bf746c701891cb4291e4abf50660266330cb1d7e
[ "Apache-2.0" ]
null
null
null
Development/nmos/sdp_utils.cpp
rufusu-sony/nmos-cpp
bf746c701891cb4291e4abf50660266330cb1d7e
[ "Apache-2.0" ]
null
null
null
#include "nmos/sdp_utils.h" #include <map> #include <boost/algorithm/string/case_conv.hpp> #include <boost/asio/ip/address.hpp> #include <boost/range/adaptor/filtered.hpp> #include <boost/range/adaptor/transformed.hpp> #include "cpprest/basic_utils.h" #include "nmos/clock_ref_type.h" #include "nmos/channels.h" #includ...
51.754098
231
0.612308
[ "object", "vector" ]
a9eb55be78ea6448e111494a32559a67bca0b1d0
1,056
hpp
C++
src/interfaces/trigger_factory.hpp
lxwinspur/telemetry
93064d8fcef2c6fde1f61c0cedacb46b21eab039
[ "Apache-2.0" ]
null
null
null
src/interfaces/trigger_factory.hpp
lxwinspur/telemetry
93064d8fcef2c6fde1f61c0cedacb46b21eab039
[ "Apache-2.0" ]
null
null
null
src/interfaces/trigger_factory.hpp
lxwinspur/telemetry
93064d8fcef2c6fde1f61c0cedacb46b21eab039
[ "Apache-2.0" ]
null
null
null
#pragma once #include "interfaces/json_storage.hpp" #include "interfaces/trigger.hpp" #include "interfaces/trigger_manager.hpp" #include "types/trigger_types.hpp" #include <boost/asio/spawn.hpp> #include <sdbusplus/message/types.hpp> #include <memory> #include <utility> namespace interfaces { class TriggerFactory ...
28.540541
76
0.717803
[ "vector" ]
a9ec39a9d84d6900f0c312aba0f2e8e7371a0f43
1,487
cpp
C++
LinkedList/DeleteDuplicates2.cpp
aviral243/interviewbit-solutions-1
7b4bda68b2ff2916263493f40304b20fade16c9a
[ "MIT" ]
null
null
null
LinkedList/DeleteDuplicates2.cpp
aviral243/interviewbit-solutions-1
7b4bda68b2ff2916263493f40304b20fade16c9a
[ "MIT" ]
null
null
null
LinkedList/DeleteDuplicates2.cpp
aviral243/interviewbit-solutions-1
7b4bda68b2ff2916263493f40304b20fade16c9a
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; struct ListNode { int val; ListNode *next; ListNode(int x) : val(x), next(NULL) {} }; ListNode *deleteDuplicates(ListNode *A) { if (!A || !A->next) { return A; } ListNode *head = new ListNode(-1); head->next = A; ListNode *curr = head; ListNode ...
19.311688
279
0.511769
[ "vector" ]
a9ed3c5bf602891f2adbe935cce778116f1593a9
2,500
cc
C++
cpp/sudoku_check.cc
powernit/epicode
e81d4387d2ae442d21631dfc958690d424e1d84d
[ "MIT" ]
258
2016-07-18T03:28:15.000Z
2021-12-05T09:08:44.000Z
cpp/sudoku_check.cc
powernit/epicode
e81d4387d2ae442d21631dfc958690d424e1d84d
[ "MIT" ]
7
2016-08-13T22:12:29.000Z
2022-02-25T17:50:11.000Z
cpp/sudoku_check.cc
powernit/epicode
e81d4387d2ae442d21631dfc958690d424e1d84d
[ "MIT" ]
154
2016-07-18T06:29:24.000Z
2021-09-20T18:33:05.000Z
// Copyright (c) 2015 Elements of Programming Interviews. All rights reserved. #include <cassert> #include <cmath> #include <deque> #include <vector> using std::deque; using std::vector; bool HasDuplicate(const vector<vector<int>>&, int, int, int, int); // @include // Check if a partially filled matrix has any conf...
30.487805
78
0.5652
[ "vector" ]
a9ef187d746c236feeff429aee59e3d38e02cbb7
34,895
cc
C++
ggeo/GMaterialLib.cc
hanswenzel/opticks
b75b5929b6cf36a5eedeffb3031af2920f75f9f0
[ "Apache-2.0" ]
11
2020-07-05T02:39:32.000Z
2022-03-20T18:52:44.000Z
ggeo/GMaterialLib.cc
hanswenzel/opticks
b75b5929b6cf36a5eedeffb3031af2920f75f9f0
[ "Apache-2.0" ]
null
null
null
ggeo/GMaterialLib.cc
hanswenzel/opticks
b75b5929b6cf36a5eedeffb3031af2920f75f9f0
[ "Apache-2.0" ]
4
2020-09-03T20:36:32.000Z
2022-01-19T07:42:21.000Z
/* * Copyright (c) 2019 Opticks Team. All Rights Reserved. * * This file is part of Opticks * (see https://bitbucket.org/simoncblyth/opticks). * * 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 ...
26.536122
147
0.600459
[ "geometry", "shape", "vector" ]
a9f08746ea4fc4323e15e7f2e78bcfdcda07d12d
7,215
cpp
C++
src/ofxGlyph.cpp
tcoppex/ofxFontSampler
65906f8b1694fab18a047c102ed944dba7e54496
[ "MIT" ]
2
2021-04-15T00:58:05.000Z
2021-04-15T01:35:08.000Z
src/ofxGlyph.cpp
tcoppex/ofxFontSampler
65906f8b1694fab18a047c102ed944dba7e54496
[ "MIT" ]
2
2021-04-17T00:05:30.000Z
2022-01-17T16:00:34.000Z
src/ofxGlyph.cpp
tcoppex/ofxFontSampler
65906f8b1694fab18a047c102ed944dba7e54496
[ "MIT" ]
1
2021-04-15T10:05:25.000Z
2021-04-15T10:05:25.000Z
#include "ofxGlyph.h" /* -------------------------------------------------------------------------- */ namespace { /* Return the normal of a segment. */ ofPoint CalculateNormal(const ofPoint &vertex0, const ofPoint &vertex1) { return (vertex1 - vertex0).rotate(90.0f, ofVec3f(0,0,-1)).normalize(); } }; // namesp...
27.643678
89
0.538739
[ "vector" ]
a9f29f850581731f3b0f2b66033b853609c73121
11,583
cpp
C++
source/HybridManager2.cpp
cxwx/VecGeom
c86c00bd7d4db08f4fc20a625020da329784aaac
[ "ECL-2.0", "Apache-2.0" ]
1
2020-06-27T18:43:36.000Z
2020-06-27T18:43:36.000Z
source/HybridManager2.cpp
cxwx/VecGeom
c86c00bd7d4db08f4fc20a625020da329784aaac
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
source/HybridManager2.cpp
cxwx/VecGeom
c86c00bd7d4db08f4fc20a625020da329784aaac
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/* * HybridManager.cpp * * Created on: 03.08.2015 * Author: yang.zhang@cern.ch */ #include "VecGeom/management/HybridManager2.h" #include "VecGeom/volumes/LogicalVolume.h" #include "VecGeom/volumes/PlacedVolume.h" #include "VecGeom/management/GeoManager.h" #include "VecGeom/management/ABBoxManager.h" #inclu...
41.967391
119
0.684624
[ "vector" ]
a9f76c03323c9b3769e25b4cbcacb6e3fac2962f
2,336
cpp
C++
graph/bridge_finding_with_tarjan_algorithm.cpp
aneee004/C-Plus-Plus
c959c3dc467c879b33f16aa1fd8bcd2d5931d1de
[ "MIT" ]
1
2020-12-04T11:25:46.000Z
2020-12-04T11:25:46.000Z
graph/bridge_finding_with_tarjan_algorithm.cpp
Sahil-k1509/C-Plus-Plus
1fb344c627872e61227bd7976a152efe2691d6ce
[ "MIT" ]
null
null
null
graph/bridge_finding_with_tarjan_algorithm.cpp
Sahil-k1509/C-Plus-Plus
1fb344c627872e61227bd7976a152efe2691d6ce
[ "MIT" ]
1
2020-12-13T08:47:49.000Z
2020-12-13T08:47:49.000Z
/* * Copyright : 2020 , MIT * Author : Amit Kumar (offamitkumar) * Last Modified Date: May 24, 2020 * */ #include <algorithm> // for min & max #include <iostream> // for cout #include <vector> // for std::vector class Solution { std::vector<std::vector<int>> graph; std::vector<int> in_time, o...
28.144578
85
0.490154
[ "vector" ]
a9fc540bce1a5aef012b73c88fef365b98a6812c
39,202
cpp
C++
Source/BodyState/Private/BodyStateAnimInstance.cpp
getnamo/BodyState-ue4
085ee80e0eeed2e4a5a0c6c082aad61a6f9a9cbf
[ "MIT" ]
7
2016-03-14T14:04:57.000Z
2018-05-16T05:43:00.000Z
Source/BodyState/Private/BodyStateAnimInstance.cpp
getnamo/BodyState-ue4
085ee80e0eeed2e4a5a0c6c082aad61a6f9a9cbf
[ "MIT" ]
1
2016-05-25T15:10:20.000Z
2016-05-25T15:10:20.000Z
Source/BodyState/Private/BodyStateAnimInstance.cpp
getnamo/BodyState-ue4
085ee80e0eeed2e4a5a0c6c082aad61a6f9a9cbf
[ "MIT" ]
5
2016-10-10T12:06:14.000Z
2020-02-05T15:13:19.000Z
/************************************************************************************************************************************* *The MIT License(MIT) * *Copyright(c) 2016 Jan Kaniewski(Getnamo) *Modified work Copyright(C) 2019 - 2021 Ultraleap, Inc. * *Permission is hereby granted, free of charge, to any p...
30.295209
135
0.752921
[ "mesh", "render", "vector", "model", "transform" ]
a9febf0a52a10d453776779682c6ca5c513d1bdb
44,642
cpp
C++
source/Irrlicht/COgreMeshFileLoader.cpp
dgt0011/irrlicht-ogl-es
9664e30cfdfb7086e41e4dec3970183db5c0024a
[ "IJG" ]
41
2015-05-03T03:15:39.000Z
2020-11-26T04:05:25.000Z
source/Irrlicht/COgreMeshFileLoader.cpp
dgt0011/irrlicht-ogl-es
9664e30cfdfb7086e41e4dec3970183db5c0024a
[ "IJG" ]
5
2015-06-27T01:26:04.000Z
2018-01-21T06:01:30.000Z
source/Irrlicht/COgreMeshFileLoader.cpp
dgt0011/irrlicht-ogl-es
9664e30cfdfb7086e41e4dec3970183db5c0024a
[ "IJG" ]
28
2015-02-28T06:22:22.000Z
2021-02-22T12:15:28.000Z
// Copyright (C) 2002-2012 Nikolaus Gebhardt // This file is part of the "Irrlicht Engine". // For conditions of distribution and use, see copyright notice in irrlicht.h // orginally written by Christian Stehno, modified by Nikolaus Gebhardt #include "IrrCompileConfig.h" #ifdef _IRR_COMPILE_WITH_OGRE_LOADER_ ...
27.81433
199
0.647843
[ "mesh", "geometry", "object" ]
e701802d3654cb2f938d72613122bcc89b45303e
3,955
cpp
C++
Sources/External/node/elastos/nodeutils/ElastosUtil.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
7
2017-07-13T10:34:54.000Z
2021-04-16T05:40:35.000Z
Sources/External/node/elastos/nodeutils/ElastosUtil.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
null
null
null
Sources/External/node/elastos/nodeutils/ElastosUtil.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
9
2017-07-13T12:33:20.000Z
2021-06-19T02:46:48.000Z
/* * Copyright 2007, The Android Open Source Project * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of conditions and ...
28.453237
82
0.680657
[ "vector" ]
e7076351204ae4209a2305e5a825e20233edf566
2,162
cc
C++
third_party/logcabin/Core/STLUtilTest.cc
jessesleeping/my_peloton
a19426cfe34a04692a11008eaffc9c3c9b49abc4
[ "Apache-2.0" ]
1,564
2015-01-05T15:17:11.000Z
2022-03-28T06:48:44.000Z
third_party/logcabin/Core/STLUtilTest.cc
jessesleeping/my_peloton
a19426cfe34a04692a11008eaffc9c3c9b49abc4
[ "Apache-2.0" ]
193
2015-01-05T19:04:11.000Z
2022-01-24T14:30:25.000Z
third_party/logcabin/Core/STLUtilTest.cc
jessesleeping/my_peloton
a19426cfe34a04692a11008eaffc9c3c9b49abc4
[ "Apache-2.0" ]
307
2015-01-05T22:41:30.000Z
2022-03-13T07:26:04.000Z
/* Copyright (c) 2011-2012 Stanford University * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR(...
28.077922
77
0.629972
[ "vector" ]
e70d557f551c509e73aa707fdb7eb29e77a694be
4,994
cc
C++
ext/candc/src/lib/tagger/_baseimpl.cc
TeamSPoon/logicmoo_nlu
5c3e5013a3048da7d68a8a43476ad84d3ea4bb47
[ "MIT" ]
6
2020-01-27T12:08:02.000Z
2020-02-28T19:30:28.000Z
pack/logicmoo_nlu/prolog/candc/src/lib/tagger/_baseimpl.cc
logicmoo/old_logicmoo_workspace
44025b6e389e2f2f7d86b46c1301cab0604bba26
[ "MIT" ]
1
2020-02-02T13:12:34.000Z
2020-02-02T13:12:34.000Z
ext/candc/src/lib/tagger/_baseimpl.cc
TeamSPoon/logicmoo_nlu
5c3e5013a3048da7d68a8a43476ad84d3ea4bb47
[ "MIT" ]
null
null
null
// C&C NLP tools // Copyright (c) Universities of Edinburgh, Oxford and Sydney // Copyright (c) James R. Curran // // This software is covered by a non-commercial use licence. // See LICENCE.txt for the full text of the licence. // // If LICENCE.txt is not included in this distribution // please email candc@it.usyd.edu...
32.012821
102
0.682619
[ "vector", "model" ]
e714ba9163842789fc350ed9c1a68ebfa894daee
763
cpp
C++
Sequential Digits.cpp
chaitanyks/fuzzy-disco
bc52f779c68da3f259f116cc1f41c464db290fbf
[ "MIT" ]
1
2021-12-12T05:55:44.000Z
2021-12-12T05:55:44.000Z
Sequential Digits.cpp
chaitanyks/fuzzy-disco
bc52f779c68da3f259f116cc1f41c464db290fbf
[ "MIT" ]
null
null
null
Sequential Digits.cpp
chaitanyks/fuzzy-disco
bc52f779c68da3f259f116cc1f41c464db290fbf
[ "MIT" ]
null
null
null
// https://leetcode.com/problems/sequential-digits/submissions/ // 1291. Sequential Digits class Solution { public: vector<int> sequentialDigits(int low, int high) { vector<int> ans; vector<int> digit; for (int i = 0; i <= 9; i++) digit.push_back(i); int val; ...
25.433333
63
0.397117
[ "vector" ]
e7165116c18f7a8fe63a5019390ad82cfa9aed92
4,025
cpp
C++
apps/void/app.cpp
ContentsViewer/nodec
40b414a2f48d2e4718b69e0fa630e3f85e90e083
[ "Apache-2.0" ]
2
2022-01-03T12:01:03.000Z
2022-01-04T18:11:25.000Z
apps/void/app.cpp
ContentsViewer/nodec
40b414a2f48d2e4718b69e0fa630e3f85e90e083
[ "Apache-2.0" ]
null
null
null
apps/void/app.cpp
ContentsViewer/nodec
40b414a2f48d2e4718b69e0fa630e3f85e90e083
[ "Apache-2.0" ]
null
null
null
#include "app.hpp" // //#include "test_cube.hpp" //#include "player.hpp" using namespace nodec_engine; using namespace scene_set; using namespace screen; class HelloWorld { public: HelloWorld(NodecEngine& engine) { engine.stepped().connect([=](NodecEngine& engine) { on_step(engine); }); engine.i...
32.991803
127
0.663602
[ "transform" ]
e717f09dc6bc0561a84abbae04d64e27899b85ff
6,703
cpp
C++
Graphics/GraphicsEngineD3D11/src/D3D11TypeConversions.cpp
dtcxzyw/DiligentCore
e3891d4936956bb6228f1e949ea57810ab7cb08c
[ "Apache-2.0" ]
15
2021-07-03T17:20:50.000Z
2022-03-20T23:39:09.000Z
Graphics/GraphicsEngineD3D11/src/D3D11TypeConversions.cpp
dtcxzyw/DiligentCore
e3891d4936956bb6228f1e949ea57810ab7cb08c
[ "Apache-2.0" ]
1
2021-08-09T15:10:17.000Z
2021-09-30T06:47:04.000Z
Graphics/GraphicsEngineD3D11/src/D3D11TypeConversions.cpp
dtcxzyw/DiligentCore
e3891d4936956bb6228f1e949ea57810ab7cb08c
[ "Apache-2.0" ]
9
2021-07-21T10:53:59.000Z
2022-03-03T10:27:33.000Z
/* * Copyright 2019-2020 Diligent Graphics LLC * Copyright 2015-2019 Egor Yusov * * 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/LICENS...
43.525974
179
0.688199
[ "render", "vector" ]
e71c1114a75b9ab88c262229890cb3942465ac9b
466
hpp
C++
src/include/trcp/common/SRoad.hpp
AntonMyrhorod/Traffic-Capacity
a8f744a8e9b9016c34f0cb47a7fae09627117aa2
[ "MIT" ]
null
null
null
src/include/trcp/common/SRoad.hpp
AntonMyrhorod/Traffic-Capacity
a8f744a8e9b9016c34f0cb47a7fae09627117aa2
[ "MIT" ]
null
null
null
src/include/trcp/common/SRoad.hpp
AntonMyrhorod/Traffic-Capacity
a8f744a8e9b9016c34f0cb47a7fae09627117aa2
[ "MIT" ]
null
null
null
#pragma once // Standard includes #include <string> #include <vector> // Third-party includes // Non-local includes // Local includes #include "SPoint.hpp" #include "STimeInterval.hpp" namespace trcp { namespace data { struct SRoad { std::string m_name; SPoint m_start; SPoint m_finish; float m_d...
13.314286
47
0.684549
[ "vector" ]
e7216b2d457ecf66a3b74835794ada0befa58648
6,461
cc
C++
tensorflow/core/common_runtime/data/standalone_test.cc
MathMachado/tensorflow
56afda20b15f234c23e8393f7e337e7dd2659c2d
[ "Apache-2.0" ]
848
2019-12-03T00:16:17.000Z
2022-03-31T22:53:17.000Z
tensorflow/core/common_runtime/data/standalone_test.cc
MathMachado/tensorflow
56afda20b15f234c23e8393f7e337e7dd2659c2d
[ "Apache-2.0" ]
656
2019-12-03T00:48:46.000Z
2022-03-31T18:41:54.000Z
tensorflow/core/common_runtime/data/standalone_test.cc
MathMachado/tensorflow
56afda20b15f234c23e8393f7e337e7dd2659c2d
[ "Apache-2.0" ]
506
2019-12-03T00:46:26.000Z
2022-03-30T10:34:56.000Z
/* Copyright 2018 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
20.977273
80
0.526699
[ "shape", "vector" ]
e72367784be9d55955315bd2ef320e97d72f5e47
21,695
cpp
C++
SampleCode/StdDriver/USBD_HID_Transfer_CTRL/WindowsTool/HIDCtrlTransferTest/HIDCtrlTransferTestDlg.cpp
OpenNuvoton/M253BSP
519fbc802cdd0077a9f50b0d82a9ef353ff67cdf
[ "Apache-2.0" ]
null
null
null
SampleCode/StdDriver/USBD_HID_Transfer_CTRL/WindowsTool/HIDCtrlTransferTest/HIDCtrlTransferTestDlg.cpp
OpenNuvoton/M253BSP
519fbc802cdd0077a9f50b0d82a9ef353ff67cdf
[ "Apache-2.0" ]
null
null
null
SampleCode/StdDriver/USBD_HID_Transfer_CTRL/WindowsTool/HIDCtrlTransferTest/HIDCtrlTransferTestDlg.cpp
OpenNuvoton/M253BSP
519fbc802cdd0077a9f50b0d82a9ef353ff67cdf
[ "Apache-2.0" ]
null
null
null
// HIDCtrlTransferTestDlg.cpp : implementation file // #include "stdafx.h" #include "HIDCtrlTransferTest.h" #include "HIDCtrlTransferTestDlg.h" #ifdef _DEBUG #define new DEBUG_NEW #endif extern "C" { // This file is in the Windows DDK available from Microsoft. #include "hidsdi.h" #include "setupapi.h" #include <db...
24.186176
95
0.730629
[ "object", "model" ]
e72633182d37159c19129e50eaf1922a5b49f640
4,849
cpp
C++
PackingGeneration/Parallelism/Source/FileLock.cpp
MINATILO/packing-generation
4d4f5d037e0687b57178602b989431e82a5c8b96
[ "MIT" ]
79
2015-08-23T12:05:30.000Z
2022-03-31T16:39:56.000Z
PackingGeneration/Parallelism/Source/FileLock.cpp
MINATILO/packing-generation
4d4f5d037e0687b57178602b989431e82a5c8b96
[ "MIT" ]
31
2015-07-20T17:57:08.000Z
2022-03-02T10:31:50.000Z
PackingGeneration/Parallelism/Source/FileLock.cpp
MINATILO/packing-generation
4d4f5d037e0687b57178602b989431e82a5c8b96
[ "MIT" ]
36
2015-10-14T02:43:16.000Z
2022-03-18T12:51:03.000Z
// Copyright (c) 2013 Vasili Baranau // Distributed under the MIT software license // See the accompanying file License.txt or http://opensource.org/licenses/MIT #include "../Headers/FileLock.h" #include <stdio.h> #include <climits> #include "Core/Headers/Exceptions.h" #include "Core/Headers/MpiManager.h" #include "Co...
32.986395
137
0.638895
[ "vector" ]
e7294cb3e060f2caffcd8af76c6a1f301e2e84a2
8,844
cc
C++
tensorflow/core/kernels/transpose_op.cc
jylinman/tensorflow
5248d111c3aeaf9f560cd77bff0f183f38e31e0b
[ "Apache-2.0" ]
3
2017-03-05T01:56:21.000Z
2018-02-04T17:03:22.000Z
tensorflow/core/kernels/transpose_op.cc
jylinman/tensorflow
5248d111c3aeaf9f560cd77bff0f183f38e31e0b
[ "Apache-2.0" ]
null
null
null
tensorflow/core/kernels/transpose_op.cc
jylinman/tensorflow
5248d111c3aeaf9f560cd77bff0f183f38e31e0b
[ "Apache-2.0" ]
3
2017-02-23T03:20:29.000Z
2018-03-31T11:35:04.000Z
/* Copyright 2015 Google Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in ...
37.159664
80
0.590796
[ "shape", "vector" ]
e72bfeb62fc94a81bfdcfc3e1c8ebb85dc6129fb
7,446
cpp
C++
cvs/objects/reporting/source/input_output_table.cpp
zcranmer/OWEProject
67d2367d6bdb5dd2a0aa0285be7e33ce64348677
[ "ECL-2.0" ]
null
null
null
cvs/objects/reporting/source/input_output_table.cpp
zcranmer/OWEProject
67d2367d6bdb5dd2a0aa0285be7e33ce64348677
[ "ECL-2.0" ]
null
null
null
cvs/objects/reporting/source/input_output_table.cpp
zcranmer/OWEProject
67d2367d6bdb5dd2a0aa0285be7e33ce64348677
[ "ECL-2.0" ]
null
null
null
/* * LEGAL NOTICE * This computer software was prepared by Battelle Memorial Institute, * hereinafter the Contractor, under Contract No. DE-AC05-76RL0 1830 * with the Department of Energy (DOE). NEITHER THE GOVERNMENT NOR THE * CONTRACTOR MAKES ANY WARRANTY, EXPRESS OR IMPLIED, OR ASSUMES ANY * LIABILITY FOR THE USE OF...
40.032258
140
0.682783
[ "vector" ]
e72da69ab29f8ccc925fbd0675b2310eadfab39f
17,084
hpp
C++
pencil-benchmarks-imageproc/hog/HogDescriptor.hpp
rbaghdadi/pencil-benchmark
9c8b0cf9a4a31fbd30c01f23a732d99d5b741575
[ "MIT" ]
6
2015-10-14T19:44:44.000Z
2021-02-26T02:24:49.000Z
pencil-benchmarks-imageproc/hog/HogDescriptor.hpp
rbaghdadi/pencil-benchmark
9c8b0cf9a4a31fbd30c01f23a732d99d5b741575
[ "MIT" ]
4
2015-10-13T15:06:41.000Z
2015-10-27T14:08:50.000Z
pencil-benchmarks-imageproc/hog/HogDescriptor.hpp
rbaghdadi/pencil-benchmark
9c8b0cf9a4a31fbd30c01f23a732d99d5b741575
[ "MIT" ]
3
2015-10-13T15:17:40.000Z
2017-05-07T10:07:01.000Z
#ifndef HOGDESCRIPTOR_H #error This is a private implementation file for HogDescriptor.h, do not include directly #endif #ifdef WITH_TBB #include <tbb/parallel_for.h> #include <tbb/blocked_range.h> #endif namespace { template<typename T> inline int fast_floor(T f) { static_assert(std::is_float...
44.839895
200
0.614376
[ "vector" ]
e72e16d189e673c28a18b930795328476b7ac8ff
6,081
cpp
C++
deps/CoinCore/src/CoinNodeAbstractListener.cpp
anypath/CoinVault
ec9fb9bdf557086b8bcad273c232319ed04442b9
[ "Unlicense", "OpenSSL", "MIT" ]
null
null
null
deps/CoinCore/src/CoinNodeAbstractListener.cpp
anypath/CoinVault
ec9fb9bdf557086b8bcad273c232319ed04442b9
[ "Unlicense", "OpenSSL", "MIT" ]
null
null
null
deps/CoinCore/src/CoinNodeAbstractListener.cpp
anypath/CoinVault
ec9fb9bdf557086b8bcad273c232319ed04442b9
[ "Unlicense", "OpenSSL", "MIT" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // // CoinNodeAbstractListener.cpp // // Copyright (c) 2011-2013 Eric Lombrozo // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to d...
35.561404
127
0.681467
[ "vector" ]
e72e7d3c98b5c3b2e84b5c29bbff23015fa6ba71
4,034
cc
C++
src/Modules/Legacy/DataIO/ReadField.cc
mhansen1/SCIRun
9719c570a6d6911a9eb8df584bd2c4ad8b8cd2ba
[ "Unlicense" ]
null
null
null
src/Modules/Legacy/DataIO/ReadField.cc
mhansen1/SCIRun
9719c570a6d6911a9eb8df584bd2c4ad8b8cd2ba
[ "Unlicense" ]
null
null
null
src/Modules/Legacy/DataIO/ReadField.cc
mhansen1/SCIRun
9719c570a6d6911a9eb8df584bd2c4ad8b8cd2ba
[ "Unlicense" ]
null
null
null
/* For more information, please see: http://software.sci.utah.edu The MIT License Copyright (c) 2015 Scientific Computing and Imaging Institute, University of Utah. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (...
28.814286
82
0.688151
[ "vector" ]
e7306df859b7e2f96b18bae1760bcbc3389f99f7
7,854
cc
C++
mindspore/lite/src/runtime/kernel/arm/int8/matmul_dynamic_sdot_int8.cc
zhz44/mindspore
6044d34074c8505dd4b02c0a05419cbc32a43f86
[ "Apache-2.0" ]
1
2022-03-05T02:59:21.000Z
2022-03-05T02:59:21.000Z
mindspore/lite/src/runtime/kernel/arm/int8/matmul_dynamic_sdot_int8.cc
zhz44/mindspore
6044d34074c8505dd4b02c0a05419cbc32a43f86
[ "Apache-2.0" ]
null
null
null
mindspore/lite/src/runtime/kernel/arm/int8/matmul_dynamic_sdot_int8.cc
zhz44/mindspore
6044d34074c8505dd4b02c0a05419cbc32a43f86
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2022 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...
37.759615
120
0.681309
[ "vector" ]
e7358bc23df7c30806520e25be32d4560dbed211
5,082
hpp
C++
src/mlpack/methods/svdplusplus/svdplusplus.hpp
RMaron/mlpack
a179a2708d9555ab7ee4b1e90e0c290092edad2e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
6
2015-01-04T04:20:29.000Z
2016-07-21T23:30:34.000Z
src/mlpack/methods/svdplusplus/svdplusplus.hpp
RMaron/mlpack
a179a2708d9555ab7ee4b1e90e0c290092edad2e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
3
2017-01-23T18:39:30.000Z
2021-07-15T13:58:34.000Z
src/mlpack/methods/svdplusplus/svdplusplus.hpp
RMaron/mlpack
a179a2708d9555ab7ee4b1e90e0c290092edad2e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
3
2017-01-20T00:54:34.000Z
2020-05-16T05:34:32.000Z
/** * @file svdplusplus.hpp * @author Siddharth Agrawal * @author Wenhao Huang * * An implementation of SVD++. * * mlpack is free software; you may redistribute it and/or modify it under the * terms of the 3-clause BSD license. You should have received a copy of the * 3-clause BSD license along with mlpack. ...
32.576923
79
0.674341
[ "object", "vector", "model" ]
e739dcc39cad91a0435a1ea3058bc4c5ff107edc
3,937
cpp
C++
tests/adaptivefloat/add.cpp
jtodd440/universal
3d8c946691be0dca091579da34f91ced82e1136a
[ "MIT" ]
null
null
null
tests/adaptivefloat/add.cpp
jtodd440/universal
3d8c946691be0dca091579da34f91ced82e1136a
[ "MIT" ]
null
null
null
tests/adaptivefloat/add.cpp
jtodd440/universal
3d8c946691be0dca091579da34f91ced82e1136a
[ "MIT" ]
null
null
null
// add.cpp: functional tests for addition on adaptive precision linear floating point // // Copyright (C) 2017-2021 Stillwater Supercomputing, Inc. // // This file is part of the universal numbers project, which is released under an MIT Open Source license. #include <iostream> #include <iomanip> #include <string> #incl...
26.965753
127
0.618237
[ "vector" ]
e73ba2750a563c44eb910c7bb0d251740dbffa45
2,033
cc
C++
cc/hmap/ReformatDate.cc
zihengCat/leetcode-collections
e94d6ee7d17cc72c8f34162d60e8d869164cbd53
[ "MIT" ]
4
2021-12-08T15:36:36.000Z
2022-03-23T12:21:06.000Z
cc/hmap/ReformatDate.cc
zihengCat/leetcode-collections
e94d6ee7d17cc72c8f34162d60e8d869164cbd53
[ "MIT" ]
null
null
null
cc/hmap/ReformatDate.cc
zihengCat/leetcode-collections
e94d6ee7d17cc72c8f34162d60e8d869164cbd53
[ "MIT" ]
null
null
null
#include <string> #include <cstdio> #include <unordered_map> #include <vector> using namespace std; /** * LeetCode 1507. Reformat Date * https://leetcode.com/problems/reformat-date/ */ class ReformatDate { public: string reformatDate(string date) { unordered_map<string, string> monthMap; string...
24.493976
75
0.432858
[ "vector" ]
e7405ad5a3d3e55d6c28d3222a92c7ab5d825551
9,367
cpp
C++
package/win32/android/gameplay/src/VertexAttributeBinding.cpp
sharkpp/openhsp
0d412fd8f79a6ccae1d33c13addc06fb623fb1fe
[ "BSD-3-Clause" ]
1
2021-06-17T02:16:22.000Z
2021-06-17T02:16:22.000Z
package/win32/android/gameplay/src/VertexAttributeBinding.cpp
sharkpp/openhsp
0d412fd8f79a6ccae1d33c13addc06fb623fb1fe
[ "BSD-3-Clause" ]
null
null
null
package/win32/android/gameplay/src/VertexAttributeBinding.cpp
sharkpp/openhsp
0d412fd8f79a6ccae1d33c13addc06fb623fb1fe
[ "BSD-3-Clause" ]
1
2021-04-06T14:58:08.000Z
2021-04-06T14:58:08.000Z
#include "Base.h" #include "VertexAttributeBinding.h" #include "Mesh.h" #include "Effect.h" namespace gameplay { static GLuint __maxVertexAttribs = 0; static std::vector<VertexAttributeBinding*> __vertexAttributeBindingCache; VertexAttributeBinding::VertexAttributeBinding() : _handle(0), _attributes(...
30.711475
197
0.582043
[ "mesh", "vector" ]
e740e875db977c6188ce536bf3c62d1137511d76
2,440
hpp
C++
src/Renderer/Shader.hpp
charlieSewell/YOKAI
4fb39975e58e9a49bc984bc6e844721a7ad9462e
[ "MIT" ]
null
null
null
src/Renderer/Shader.hpp
charlieSewell/YOKAI
4fb39975e58e9a49bc984bc6e844721a7ad9462e
[ "MIT" ]
null
null
null
src/Renderer/Shader.hpp
charlieSewell/YOKAI
4fb39975e58e9a49bc984bc6e844721a7ad9462e
[ "MIT" ]
null
null
null
#pragma once #include <GL/glew.h> #include <glm/glm.hpp> #include <string> #include <fstream> #include <sstream> #include <iostream> #include <vector> /** * @class Shader * @brief class used for createing GLSL shaders */ class Shader { public: /** * @brief Constructor for a shader * @param const c...
26.813187
93
0.609836
[ "vector" ]
8d44e11ee25d115afe439eb6f3bb7335526baddb
2,703
cpp
C++
src/Screens/Experimental/HelloTriangleScreen.cpp
adamkewley/opensim-creator
322874255166884deb7731b202895a4813fea3b1
[ "Apache-2.0" ]
12
2021-08-31T08:44:27.000Z
2022-01-31T14:32:36.000Z
src/Screens/Experimental/HelloTriangleScreen.cpp
ComputationalBiomechanicsLab/opensim-creator
e5c4b24f5ef3bffe10c84899d0a0c79037020b6d
[ "Apache-2.0" ]
180
2022-01-27T15:25:15.000Z
2022-03-30T13:41:12.000Z
src/Screens/Experimental/HelloTriangleScreen.cpp
ComputationalBiomechanicsLab/opensim-creator
e5c4b24f5ef3bffe10c84899d0a0c79037020b6d
[ "Apache-2.0" ]
null
null
null
#include "HelloTriangleScreen.hpp" #include "src/App.hpp" #include "src/3D/Gl.hpp" #include "src/3D/GlGlm.hpp" #include "src/Screens/Experimental/ExperimentsScreen.hpp" #include <glm/vec3.hpp> #include <glm/vec4.hpp> using namespace osc; static constexpr char const g_VertexShader[] = R"( #version 330 core ...
25.5
97
0.647429
[ "3d" ]
8d450963096d3af2f7bbdb0c2587aebeb8d6200b
8,997
hpp
C++
datastructures/RnBTree.hpp
arupa-loka/lrep
7ef6ce39e7527693f8fb7d62b80a69fa29adc295
[ "Apache-2.0" ]
null
null
null
datastructures/RnBTree.hpp
arupa-loka/lrep
7ef6ce39e7527693f8fb7d62b80a69fa29adc295
[ "Apache-2.0" ]
null
null
null
datastructures/RnBTree.hpp
arupa-loka/lrep
7ef6ce39e7527693f8fb7d62b80a69fa29adc295
[ "Apache-2.0" ]
null
null
null
/* 1 - root is everytime black 2 - leaves are everytime black 3 - from the root each path toward the leaves includes exactly the same number of black nodes 4 - a red node can have only black children */ #ifndef __RED_AND_BLACK_TREE_HPP #define __RED_AND_BLACK_TREE_HPP #include <cstdio> #include <cstdlib...
27.429878
77
0.542514
[ "shape" ]
8d48a461ac12367cdb46c33b0f144fd840cafbc9
6,507
cpp
C++
src/backend/cpp/cover.cpp
wadymwadim/normandeau
2995a3293b22df269b88c3486e4f4009a1a5d76f
[ "Xnet", "X11" ]
null
null
null
src/backend/cpp/cover.cpp
wadymwadim/normandeau
2995a3293b22df269b88c3486e4f4009a1a5d76f
[ "Xnet", "X11" ]
null
null
null
src/backend/cpp/cover.cpp
wadymwadim/normandeau
2995a3293b22df269b88c3486e4f4009a1a5d76f
[ "Xnet", "X11" ]
null
null
null
#include <boost/algorithm/string.hpp> #include "cover.hpp" #include "parse.hpp" ClosedRectangleQ load_square(const std::string& dir) { auto line = read_file(dir + "/square.txt"); boost::trim(line); const auto coords = split(line, " "); if (coords.size() != 4) { std::ostringstream err{}; ...
27.225941
105
0.595051
[ "vector" ]
8d48fb39de5bb1271658ed2b201838a1eaae8361
3,662
cpp
C++
shared/ebm_native/ebm_native_test/RandomNumbers.cpp
prateekiiest/interpret
b5530a587251a77516ab443037fc37f71708564c
[ "MIT" ]
null
null
null
shared/ebm_native/ebm_native_test/RandomNumbers.cpp
prateekiiest/interpret
b5530a587251a77516ab443037fc37f71708564c
[ "MIT" ]
null
null
null
shared/ebm_native/ebm_native_test/RandomNumbers.cpp
prateekiiest/interpret
b5530a587251a77516ab443037fc37f71708564c
[ "MIT" ]
1
2021-06-21T07:13:11.000Z
2021-06-21T07:13:11.000Z
// Copyright (c) 2018 Microsoft Corporation // Licensed under the MIT license. // Author: Paul Koch <code@koch.ninja> #include "PrecompiledHeaderEbmNativeTest.h" #include "ebm_native.h" #include "EbmNativeTest.h" #include "RandomStreamTest.h" static const TestPriority k_filePriority = TestPriority::RandomNumbers; T...
32.990991
117
0.690606
[ "vector" ]
8d4a03b68e660f562b8c6e004742714d23803276
4,444
cpp
C++
Stars/src/Conversions.cpp
timgates42/Cinder-Samples
198ad7e352f5c7a6e8cf87d77a69e7c5270f2c02
[ "Unlicense" ]
300
2015-01-01T07:16:53.000Z
2022-03-26T09:28:44.000Z
Stars/src/Conversions.cpp
timgates42/Cinder-Samples
198ad7e352f5c7a6e8cf87d77a69e7c5270f2c02
[ "Unlicense" ]
7
2015-10-14T00:08:42.000Z
2020-12-24T12:54:38.000Z
Stars/src/Conversions.cpp
timgates42/Cinder-Samples
198ad7e352f5c7a6e8cf87d77a69e7c5270f2c02
[ "Unlicense" ]
86
2015-01-07T09:22:10.000Z
2021-10-08T14:27:40.000Z
/* Copyright (c) 2010-2012, Paul Houx - All rights reserved. This code is intended for use with the Cinder C++ library: http://libcinder.org Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions o...
30.648276
110
0.637714
[ "vector" ]
8d4b41a3ca43c17b8675c7892302a88d5eb5eb15
11,756
cpp
C++
tests/unit/security/tpm/back-end.t.cpp
gtorresz/ndn-cxx-PEC
0b97a060a5eb67ee82c639f7120bc8147c8e1f52
[ "OpenSSL" ]
null
null
null
tests/unit/security/tpm/back-end.t.cpp
gtorresz/ndn-cxx-PEC
0b97a060a5eb67ee82c639f7120bc8147c8e1f52
[ "OpenSSL" ]
null
null
null
tests/unit/security/tpm/back-end.t.cpp
gtorresz/ndn-cxx-PEC
0b97a060a5eb67ee82c639f7120bc8147c8e1f52
[ "OpenSSL" ]
1
2022-03-29T08:17:27.000Z
2022-03-29T08:17:27.000Z
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013-2019 Regents of the University of California. * * This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions). * * ndn-cxx library is free software: you can redistribute it and/or modify it under the ...
35.95107
117
0.747958
[ "vector", "transform" ]
8d4d0d8c05210cb91d0d1d46d2fff80343cb6ce6
2,729
cpp
C++
trees/102_binary_tree_level_order_traversal.cpp
rspezialetti/leetcode
4614ffe2a4923aae02f93096b6200239e6f201c1
[ "MIT" ]
1
2019-08-21T21:25:34.000Z
2019-08-21T21:25:34.000Z
trees/102_binary_tree_level_order_traversal.cpp
rspezialetti/leetcode
4614ffe2a4923aae02f93096b6200239e6f201c1
[ "MIT" ]
null
null
null
trees/102_binary_tree_level_order_traversal.cpp
rspezialetti/leetcode
4614ffe2a4923aae02f93096b6200239e6f201c1
[ "MIT" ]
null
null
null
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ class Solution { public: void bfsTraversal(TreeNode* root, vector<vector<int>>& ints, unordered_map<int,int>& depht...
25.504673
102
0.469036
[ "vector" ]
8d4e23e9ed243580bdd74a0b2980f38a8f34d969
7,057
cpp
C++
AVSCommon/AVS/src/Attachment/AttachmentManager.cpp
AndersSpringborg/avs-device-sdk
8e77a64c5be5a0b7b19c53549d91b0c45c37df3a
[ "Apache-2.0" ]
null
null
null
AVSCommon/AVS/src/Attachment/AttachmentManager.cpp
AndersSpringborg/avs-device-sdk
8e77a64c5be5a0b7b19c53549d91b0c45c37df3a
[ "Apache-2.0" ]
null
null
null
AVSCommon/AVS/src/Attachment/AttachmentManager.cpp
AndersSpringborg/avs-device-sdk
8e77a64c5be5a0b7b19c53549d91b0c45c37df3a
[ "Apache-2.0" ]
null
null
null
/* * 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.353261
119
0.704265
[ "object", "vector" ]
8d52114db7fc7d48c38c2f46ce2f0663af620a9e
3,265
cpp
C++
src/tests/Library/LibraryQml/librarymodel.cpp
aliakseis/FVD
8d549834fcf9e8fdd5ebecdcaf9410074876b2ed
[ "MIT" ]
null
null
null
src/tests/Library/LibraryQml/librarymodel.cpp
aliakseis/FVD
8d549834fcf9e8fdd5ebecdcaf9410074876b2ed
[ "MIT" ]
null
null
null
src/tests/Library/LibraryQml/librarymodel.cpp
aliakseis/FVD
8d549834fcf9e8fdd5ebecdcaf9410074876b2ed
[ "MIT" ]
null
null
null
#include "librarymodel.h" #include <QFileInfo> #include <QDebug> #ifndef DEVELOPER_DISABLE_SETTINGS #include "settings_declaration.h" #else #include <QDesktopServices> #endif #include <QDateTime> int LibraryModel::counter = 0; LibraryModel::LibraryModel(QObject* parent) : QAbstractListModel(parent), m_fakeRows(0) { ...
19.787879
87
0.687902
[ "model" ]
8d52ee096ec4a7ec6c0d6124d8d920d197e4ff46
5,107
hpp
C++
src/httpp/http/client/Connection.hpp
dohse/httpp
dd997c59ca52c17b8cacd688b857480442ee907c
[ "BSD-2-Clause" ]
173
2015-01-06T21:25:05.000Z
2022-02-28T12:59:11.000Z
src/httpp/http/client/Connection.hpp
dohse/httpp
dd997c59ca52c17b8cacd688b857480442ee907c
[ "BSD-2-Clause" ]
19
2015-06-03T18:26:58.000Z
2021-02-27T09:12:02.000Z
src/httpp/http/client/Connection.hpp
dohse/httpp
dd997c59ca52c17b8cacd688b857480442ee907c
[ "BSD-2-Clause" ]
35
2015-01-08T15:25:25.000Z
2021-09-20T18:09:27.000Z
/* * Part of HTTPP. * * Distributed under the 2-clause BSD licence (See LICENCE.TXT file at the * project root). * * Copyright (c) 2014 Thomas Sanchez. All rights reserved. * */ #ifndef HTTPP_HTTP_CLIENT_DETAIL_CONNECTION_HPP_ #define HTTPP_HTTP_CLIENT_DETAIL_CONNECTION_HPP_ #include <atomic> #include <curl/...
28.06044
83
0.64206
[ "vector" ]
8d530ac5bd3bbc5a55c7b8326867459a686a2d0d
15,859
cpp
C++
GA/ga_3.cpp
Epicato/MSA
aea757c2a311cc6d902dac1f8c6efa0080b829b0
[ "MIT" ]
null
null
null
GA/ga_3.cpp
Epicato/MSA
aea757c2a311cc6d902dac1f8c6efa0080b829b0
[ "MIT" ]
null
null
null
GA/ga_3.cpp
Epicato/MSA
aea757c2a311cc6d902dac1f8c6efa0080b829b0
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdlib> #include <fstream> #include <algorithm> #include <vector> #include <queue> #include <string> #include <ctime> #include <cmath> using namespace std; vector<string> query = {"IPZJJLMLTKJULOSTKTJOGLKJOBLTXGKTPLUWWKOMOYJBGALJUKLGLOSVHWBPGWSLUKOBSOPLOOKUKSARPPJ", ...
29.922642
186
0.489817
[ "vector" ]
8d580af0b6170b36c2a49a5406a2fcd276a64367
6,892
cpp
C++
src/arch/MemoryCard/MemoryCardDriverThreaded_Windows.cpp
fpmuniz/stepmania
984dc8668f1fedacf553f279a828acdebffc5625
[ "MIT" ]
1,514
2015-01-02T17:00:28.000Z
2022-03-30T14:11:21.000Z
src/arch/MemoryCard/MemoryCardDriverThreaded_Windows.cpp
fpmuniz/stepmania
984dc8668f1fedacf553f279a828acdebffc5625
[ "MIT" ]
1,462
2015-01-01T10:53:29.000Z
2022-03-27T04:35:53.000Z
src/arch/MemoryCard/MemoryCardDriverThreaded_Windows.cpp
fpmuniz/stepmania
984dc8668f1fedacf553f279a828acdebffc5625
[ "MIT" ]
552
2015-01-02T05:34:41.000Z
2022-03-26T05:19:19.000Z
#include "global.h" #include "MemoryCardDriverThreaded_Windows.h" #include "RageUtil.h" #include "RageLog.h" #include "archutils/Win32/ErrorStrings.h" #include "PlayerNumber.h" #include "MemoryCardManager.h" MemoryCardDriverThreaded_Windows::MemoryCardDriverThreaded_Windows() { m_dwLastLogicalDrives = 0; } MemoryCar...
29.579399
133
0.731283
[ "vector" ]
8d5d28338975d23bf721c5e3eec32c5064726dc9
7,621
cxx
C++
main/slideshow/source/engine/shapes/externalshapebase.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/slideshow/source/engine/shapes/externalshapebase.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/slideshow/source/engine/shapes/externalshapebase.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
31.36214
122
0.462538
[ "render" ]
8d6155e973e6f472965003c6c91ab446fd43a57d
1,900
cpp
C++
android-28/android/media/ImageReader.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-28/android/media/ImageReader.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-28/android/media/ImageReader.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#include "./Image.hpp" #include "../os/Handler.hpp" #include "../view/Surface.hpp" #include "./ImageReader.hpp" namespace android::media { // Fields // QJniObject forward ImageReader::ImageReader(QJniObject obj) : JObject(obj) {} // Constructors // Methods android::media::ImageReader ImageReader::newInstan...
18.627451
97
0.667368
[ "object" ]
8d6391fdbf228ab6072b5eaad77ca4b235ab2459
4,146
cpp
C++
src/appleseed-max-impl/logtarget.cpp
usakhelo/appleseed-max-experiments
a4f1fc5abce4b00a6b43d0d96b383857ed87ce8e
[ "MIT" ]
null
null
null
src/appleseed-max-impl/logtarget.cpp
usakhelo/appleseed-max-experiments
a4f1fc5abce4b00a6b43d0d96b383857ed87ce8e
[ "MIT" ]
null
null
null
src/appleseed-max-impl/logtarget.cpp
usakhelo/appleseed-max-experiments
a4f1fc5abce4b00a6b43d0d96b383857ed87ce8e
[ "MIT" ]
null
null
null
// // This source file is part of appleseed. // Visit https://appleseedhq.net/ for additional information and resources. // // This software is released under the MIT license. // // Copyright (c) 2016-2018 Francois Beaune, The appleseedhq Organization // // Permission is hereby granted, free of charge, to any person o...
28.204082
80
0.645924
[ "vector" ]
8d664a489b35596b8256eec4fd3c339e4ef0263a
6,558
cxx
C++
Source/MeshTools/ReflectMeshes/source/ReflectMesh.cxx
SCIInstitute/ShapeWorks-Prep
7a3cb1eadf84c93e85874d9da230bb5eebb09bf3
[ "MIT" ]
null
null
null
Source/MeshTools/ReflectMeshes/source/ReflectMesh.cxx
SCIInstitute/ShapeWorks-Prep
7a3cb1eadf84c93e85874d9da230bb5eebb09bf3
[ "MIT" ]
1
2020-08-04T22:37:34.000Z
2020-08-05T06:17:43.000Z
Source/MeshTools/ReflectMeshes/source/ReflectMesh.cxx
SCIInstitute/ShapeWorks-Prep
7a3cb1eadf84c93e85874d9da230bb5eebb09bf3
[ "MIT" ]
null
null
null
#include "vtkSmartPointer.h" #include "vtkPolyDataReader.h" #include "vtkPolyDataWriter.h" #include "vtkReflectionFilter.h" #include "vtkGeometryFilter.h" #include "vtkDataSetSurfaceFilter.h" #include "vtkMatrix4x4.h" #include "vtkTransform.h" #include "vtkTransformPolyDataFilter.h" #include <vtkPLYReader.h> #include <...
36.842697
164
0.628088
[ "mesh", "vector", "transform" ]
8d66f10200789686efe02b880c66e4a60da6e201
24,600
cpp
C++
ARK2D/src/ARK2D/Core/Platform/GameContainerWindowsPhone8.cpp
ashleygwinnell/ark2d
bbfbee742ace9c52841dad4fab74d0d120ffe662
[ "Unlicense" ]
6
2015-08-25T19:16:20.000Z
2021-04-19T16:47:58.000Z
ARK2D/src/ARK2D/Core/Platform/GameContainerWindowsPhone8.cpp
ashleygwinnell/ark2d
bbfbee742ace9c52841dad4fab74d0d120ffe662
[ "Unlicense" ]
1
2015-09-17T14:03:12.000Z
2015-09-17T14:03:12.000Z
ARK2D/src/ARK2D/Core/Platform/GameContainerWindowsPhone8.cpp
ashleygwinnell/ark2d
bbfbee742ace9c52841dad4fab74d0d120ffe662
[ "Unlicense" ]
1
2018-10-02T19:59:47.000Z
2018-10-02T19:59:47.000Z
/* * GameContainerWindows.cpp * * Created on: 27 Feb 2011 * Author: ashley */ #include "GameContainerWindowsPhone8.h" #include "../GameContainer.h" #include "../../ARK2D.h" #include "../../Namespaces.h" #include "../../Includes.h" #include "../../Geometry/Shape.h" #include "../../Geomet...
33.606557
190
0.681789
[ "geometry", "render", "object", "shape", "3d" ]
8d69881b030bde797e1a3e64ac1ffff8332bef3a
7,913
cpp
C++
src/planet_loc.cpp
TehSnappy/lib_lunar_ex
a4cd4a3cdec44c2adaefbf1791b8863db568cbbd
[ "MIT" ]
null
null
null
src/planet_loc.cpp
TehSnappy/lib_lunar_ex
a4cd4a3cdec44c2adaefbf1791b8863db568cbbd
[ "MIT" ]
null
null
null
src/planet_loc.cpp
TehSnappy/lib_lunar_ex
a4cd4a3cdec44c2adaefbf1791b8863db568cbbd
[ "MIT" ]
1
2019-10-12T03:23:41.000Z
2019-10-12T03:23:41.000Z
#include <iostream> #include <math.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "lunar-master/watdefs.h" #include "lunar-master/mpc_func.h" #include "lunar-master/lunar.h" #include "lunar-master/afuncs.h" #include "lunar-master/date.h" #include <ei.h> #include <unistd.h> #include <sys/select.h...
31.400794
92
0.608492
[ "vector" ]
8d6a46c7ace2d0472174e7d11cc33c393c93c91a
1,370
cpp
C++
operator.cpp
lucas-stoltman/CPP-Playground
1b098141245806d57f3fb82ae44dc2374c6c662a
[ "MIT" ]
null
null
null
operator.cpp
lucas-stoltman/CPP-Playground
1b098141245806d57f3fb82ae44dc2374c6c662a
[ "MIT" ]
null
null
null
operator.cpp
lucas-stoltman/CPP-Playground
1b098141245806d57f3fb82ae44dc2374c6c662a
[ "MIT" ]
null
null
null
#include "operator.h" #include <iostream> #include <string> using namespace std; // constructors Operator::Operator(string newName, int n) : name(newName), num(n) {} Operator::Operator(int n) : num(n) {} Operator::~Operator() {} // getters int Operator::getNum() { return num; } string Operator::getName() { return...
19.295775
68
0.578832
[ "object" ]
8d734fa27f0802f96912a908a4a3d387e9b09dd7
5,734
hpp
C++
libs/network/include/network/service/feed_subscription_manager.hpp
devjsc/ledger-1
2aa68e05b9f9c10a9971fc8ddf4848695511af3c
[ "Apache-2.0" ]
3
2019-07-11T08:49:27.000Z
2021-09-07T16:49:15.000Z
libs/network/include/network/service/feed_subscription_manager.hpp
devjsc/ledger-1
2aa68e05b9f9c10a9971fc8ddf4848695511af3c
[ "Apache-2.0" ]
null
null
null
libs/network/include/network/service/feed_subscription_manager.hpp
devjsc/ledger-1
2aa68e05b9f9c10a9971fc8ddf4848695511af3c
[ "Apache-2.0" ]
2
2019-07-13T12:45:22.000Z
2021-03-12T08:48:57.000Z
#pragma once //------------------------------------------------------------------------------ // // Copyright 2018-2019 Fetch.AI Limited // // 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 Licen...
30.994595
94
0.679979
[ "vector" ]
8d74a267448858b1d3d9b3f412a471fec27b2af5
3,422
cpp
C++
openarcrt/omp_helper.cpp
swiftcurrent2018/openarc
0661581e5ab00f1093323ecc5e294b84e3e8a645
[ "BSD-3-Clause" ]
6
2020-02-02T11:04:22.000Z
2021-12-27T06:12:31.000Z
openarcrt/omp_helper.cpp
swiftcurrent2018/openarc
0661581e5ab00f1093323ecc5e294b84e3e8a645
[ "BSD-3-Clause" ]
null
null
null
openarcrt/omp_helper.cpp
swiftcurrent2018/openarc
0661581e5ab00f1093323ecc5e294b84e3e8a645
[ "BSD-3-Clause" ]
null
null
null
#include "omp_helper.h" #include "omp_helper_ext.h" int q_max = OMP_HELPER_QUEUE_MAX; int q_off = OMP_HELPER_QUEUE_OFF; omp_depend* depends[OMP_HELPER_QUEUE_DEPTH]; int depends_args[OMP_HELPER_QUEUE_DEPTH]; std::vector<omp_depend*> queues[OMP_HELPER_QUEUE_DEPTH][OMP_HELPER_QUEUE_MAX]; int depth; int q_wait_bits[OMP_...
28.04918
107
0.540327
[ "vector" ]
8d7528a458c65056e2774405b3cc45e968bf7ee8
687
cpp
C++
Problem Solving Paradigms/Greedy/Classical, Usually Easier/The Bus Driver Problem.cpp
satvik007/uva
72a763f7ed46a34abfcf23891300d68581adeb44
[ "MIT" ]
3
2017-08-12T06:09:39.000Z
2018-09-16T02:31:27.000Z
Problem Solving Paradigms/Greedy/Classical, Usually Easier/The Bus Driver Problem.cpp
satvik007/uva
72a763f7ed46a34abfcf23891300d68581adeb44
[ "MIT" ]
null
null
null
Problem Solving Paradigms/Greedy/Classical, Usually Easier/The Bus Driver Problem.cpp
satvik007/uva
72a763f7ed46a34abfcf23891300d68581adeb44
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef vector <int> vi; typedef long long ll; int t, n, counter, d, r; ll sum = 0; vi a, b; int main(){ ios_base::sync_with_stdio(false); cin.tie(nullptr); freopen("in.txt", "r", stdin); freopen("out.txt", "w", stdout); while(cin >> n >> d >> r, n){ ...
23.689655
49
0.475983
[ "vector" ]
8d77c5acc4dde1abf03c2d6831903ed69eff3ced
1,709
cc
C++
mindspore/ccsrc/common/graph_kernel/expanders/softplus.cc
zhz44/mindspore
6044d34074c8505dd4b02c0a05419cbc32a43f86
[ "Apache-2.0" ]
1
2022-03-05T02:59:21.000Z
2022-03-05T02:59:21.000Z
mindspore/ccsrc/common/graph_kernel/expanders/softplus.cc
zhz44/mindspore
6044d34074c8505dd4b02c0a05419cbc32a43f86
[ "Apache-2.0" ]
null
null
null
mindspore/ccsrc/common/graph_kernel/expanders/softplus.cc
zhz44/mindspore
6044d34074c8505dd4b02c0a05419cbc32a43f86
[ "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...
32.865385
117
0.70275
[ "vector" ]
8d7a31ce9203bca43c7af6f4c0e188a8bf897b28
1,806
cpp
C++
boboleetcode/Play-Leetcode-master/0542-01-Matrix/cpp-0542/main.cpp
yaominzh/CodeLrn2019
adc727d92904c5c5d445a2621813dfa99474206d
[ "Apache-2.0" ]
2
2021-03-25T05:26:55.000Z
2021-04-20T03:33:24.000Z
boboleetcode/Play-Leetcode-master/0542-01-Matrix/cpp-0542/main.cpp
mcuallen/CodeLrn2019
adc727d92904c5c5d445a2621813dfa99474206d
[ "Apache-2.0" ]
6
2019-12-04T06:08:32.000Z
2021-05-10T20:22:47.000Z
boboleetcode/Play-Leetcode-master/0542-01-Matrix/cpp-0542/main.cpp
mcuallen/CodeLrn2019
adc727d92904c5c5d445a2621813dfa99474206d
[ "Apache-2.0" ]
null
null
null
/// Source : https://leetcode.com/problems/01-matrix/description/ /// Author : liuyubobobo /// Time : 2018-09-29 #include <iostream> #include <vector> #include <queue> #include <cassert> using namespace std; /// BFS /// Time Complexity: O(m*n) /// Space Complexity: O(m*n) class Solution { private: const int ...
23.763158
69
0.437984
[ "vector" ]
8d7f269e9cdb6529438d8f3a2e70e77a51339d81
2,943
cpp
C++
cisstICP/cisstICP/algDirPDTree_BoundedAngle.cpp
sbillin/IMLP
38cbf6f528747ab5421f02f50b9bc3cd416cff8c
[ "BSD-3-Clause" ]
14
2015-05-15T08:54:19.000Z
2021-12-14T06:16:37.000Z
cisstICP/algDirPDTree_BoundedAngle.cpp
Xingorno/cisstICP
dfa00db642a25500946a0c70a900fbc68e5af248
[ "BSD-3-Clause" ]
3
2017-01-11T15:10:31.000Z
2020-12-28T16:16:32.000Z
cisstICP/algDirPDTree_BoundedAngle.cpp
Xingorno/cisstICP
dfa00db642a25500946a0c70a900fbc68e5af248
[ "BSD-3-Clause" ]
8
2015-01-07T20:28:12.000Z
2018-07-13T15:40:39.000Z
// **************************************************************************** // // Copyright (c) 2014, Seth Billings, Russell Taylor, Johns Hopkins University // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the ...
39.77027
81
0.679918
[ "transform" ]
8d801a1a79c8b21de0da12a6b911dc6a7c635fae
10,953
cpp
C++
Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMTreeWalker.cpp
ijsf/DeniseEmbeddableWebKit
57dfc6783d60f8f59b7129874e60f84d8c8556c9
[ "BSD-3-Clause" ]
null
null
null
Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMTreeWalker.cpp
ijsf/DeniseEmbeddableWebKit
57dfc6783d60f8f59b7129874e60f84d8c8556c9
[ "BSD-3-Clause" ]
9
2020-04-18T18:47:18.000Z
2020-04-18T18:52:41.000Z
Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMTreeWalker.cpp
ijsf/DeniseEmbeddableWebKit
57dfc6783d60f8f59b7129874e60f84d8c8556c9
[ "BSD-3-Clause" ]
null
null
null
/* * This file is part of the WebKit open source project. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later ve...
33.910217
140
0.740163
[ "object" ]
8d8f559d9fcdf4f5c16401128703352a8b3a6e7a
1,499
hpp
C++
examples/jacobi_smp/jacobi_nonuniform_omp.hpp
bhumitattarde/hpx
5b34d8d77b1664fa552445d44cd98e51dc69a74a
[ "BSL-1.0" ]
1,822
2015-01-03T11:22:37.000Z
2022-03-31T14:49:59.000Z
examples/jacobi_smp/jacobi_nonuniform_omp.hpp
deepaksuresh1411/hpx
aa18024d35fe9884a977d4b6076c764dbb8b26d1
[ "BSL-1.0" ]
3,288
2015-01-05T17:00:23.000Z
2022-03-31T18:49:41.000Z
examples/jacobi_smp/jacobi_nonuniform_omp.hpp
msimberg/hpx
70ef8024c7e5a7f7de018eb88bfe446ba83d48e5
[ "BSL-1.0" ]
431
2015-01-07T06:22:14.000Z
2022-03-31T14:50:04.000Z
// Copyright (c) 2011-2013 Thomas Heller // // SPDX-License-Identifier: BSL-1.0 // 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) #pragma once #include <hpx/local/chrono.hpp> #include <cstddef> #include <cstdin...
30.591837
80
0.60507
[ "vector" ]
8d99660d1a20c87d043d18293eebfc9b680bb43c
17,563
cc
C++
third_party/WebKit/Source/core/layout/ng/inline/ng_inline_items_builder_test.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/WebKit/Source/core/layout/ng/inline/ng_inline_items_builder_test.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/WebKit/Source/core/layout/ng/inline/ng_inline_items_builder_test.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2016 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 "core/layout/ng/inline/ng_inline_items_builder.h" #include "core/layout/LayoutInline.h" #include "core/layout/ng/inline/ng_inline_node.h" #inclu...
38.431072
85
0.681546
[ "vector" ]
8d9f4921d621c2baa905a0a96eecf9971a6caa8e
3,107
hpp
C++
source/LibFgBase/src/FgGuiApiSplit.hpp
SingularInversions/FaceGenBaseLibrary
e928b482fa78597cfcf3923f7252f7902ec0dfa9
[ "MIT" ]
41
2016-04-09T07:48:10.000Z
2022-03-01T15:46:08.000Z
source/LibFgBase/src/FgGuiApiSplit.hpp
SingularInversions/FaceGenBaseLibrary
e928b482fa78597cfcf3923f7252f7902ec0dfa9
[ "MIT" ]
9
2015-09-23T10:54:50.000Z
2020-01-04T21:16:57.000Z
source/LibFgBase/src/FgGuiApiSplit.hpp
SingularInversions/FaceGenBaseLibrary
e928b482fa78597cfcf3923f7252f7902ec0dfa9
[ "MIT" ]
29
2015-10-01T14:44:42.000Z
2022-01-05T01:28:43.000Z
// // Coypright (c) 2021 Singular Inversions Inc. (facegen.com) // Use, modification and distribution is subject to the MIT License, // see accompanying file LICENSE.txt or facegen.com/base_library_license.txt // #ifndef FGGUIAPISPLIT_HPP #define FGGUIAPISPLIT_HPP #include "FgGuiApiBase.hpp" #include "FgIma...
35.712644
118
0.6598
[ "object" ]
8da5a9cfcd271020acb47a1ae050eadeaa566b4b
1,490
cpp
C++
backup/2/leetcode/c++/find-positive-integer-solution-for-a-given-equation.cpp
yangyanzhan/code-camp
4272564e916fc230a4a488f92ae32c07d355dee0
[ "Apache-2.0" ]
21
2019-11-16T19:08:35.000Z
2021-11-12T12:26:01.000Z
backup/2/leetcode/c++/find-positive-integer-solution-for-a-given-equation.cpp
yangyanzhan/code-camp
4272564e916fc230a4a488f92ae32c07d355dee0
[ "Apache-2.0" ]
1
2022-02-04T16:02:53.000Z
2022-02-04T16:02:53.000Z
backup/2/leetcode/c++/find-positive-integer-solution-for-a-given-equation.cpp
yangyanzhan/code-camp
4272564e916fc230a4a488f92ae32c07d355dee0
[ "Apache-2.0" ]
4
2020-05-15T19:39:41.000Z
2021-10-30T06:40:31.000Z
// Hi, I'm Yanzhan. For more algothmic problems, visit my Youtube Channel (Yanzhan Yang's Youtube Channel) : https://www.youtube.com/channel/UCDkz-__gl3frqLexukpG0DA?view_as=subscriber or my Twitter Account (Yanzhan Yang's Twitter) : https://twitter.com/YangYanzhan or my GitHub HomePage (Yanzhan Yang's GitHub HomePage)...
42.571429
345
0.595973
[ "vector" ]
8daec7a6615bb63772be89d4d59af198626bd549
2,121
hpp
C++
lite/backends/fpga/KD/pes/relu_pe.hpp
wanglei91/Paddle-Lite
8b2479f4cdd6970be507203d791bede5a453c09d
[ "Apache-2.0" ]
1,799
2019-08-19T03:29:38.000Z
2022-03-31T14:30:50.000Z
lite/backends/fpga/KD/pes/relu_pe.hpp
wanglei91/Paddle-Lite
8b2479f4cdd6970be507203d791bede5a453c09d
[ "Apache-2.0" ]
3,767
2019-08-19T03:36:04.000Z
2022-03-31T14:37:26.000Z
lite/backends/fpga/KD/pes/relu_pe.hpp
wanglei91/Paddle-Lite
8b2479f4cdd6970be507203d791bede5a453c09d
[ "Apache-2.0" ]
798
2019-08-19T02:28:23.000Z
2022-03-31T08:31:54.000Z
/* Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or...
31.191176
72
0.738331
[ "shape" ]
8dbad43ae124d55a5e4812681f164b7942784e9e
9,600
cpp
C++
harfang/foundation/string.cpp
harfang3dadmin/harfang3d
b4920c18fd53cdab6b3a08f262bd4844364829b4
[ "BSD-2-Clause" ]
43
2021-10-16T06:33:48.000Z
2022-03-25T07:55:46.000Z
harfang/foundation/string.cpp
harfang3dadmin/harfang3d
b4920c18fd53cdab6b3a08f262bd4844364829b4
[ "BSD-2-Clause" ]
1
2022-01-25T09:21:47.000Z
2022-01-25T20:50:01.000Z
harfang/foundation/string.cpp
harfang3dadmin/harfang3d
b4920c18fd53cdab6b3a08f262bd4844364829b4
[ "BSD-2-Clause" ]
8
2021-10-14T08:49:20.000Z
2022-03-04T21:54:33.000Z
// HARFANG(R) Copyright (C) 2021 Emmanuel Julien, NWNC HARFANG. Released under GPL/LGPL/Commercial Licence, see licence.txt for details. #include "foundation/string.h" #include "foundation/assert.h" #include "foundation/utf8-cpp/utf8.h" #include "foundation/utf8.h" #include <algorithm> #include <cctype> #include <loc...
25.806452
155
0.642083
[ "vector", "transform" ]
8dbb5c52e47cf77ffc3a5f382defe6707e83b5c8
15,808
cpp
C++
openstudiocore/src/model/ZoneHVACBaseboardRadiantConvectiveWater.cpp
Acidburn0zzz/OpenStudio
8d7aa85fe5df7987cb6983984d4ce8698f1bd0bd
[ "MIT" ]
null
null
null
openstudiocore/src/model/ZoneHVACBaseboardRadiantConvectiveWater.cpp
Acidburn0zzz/OpenStudio
8d7aa85fe5df7987cb6983984d4ce8698f1bd0bd
[ "MIT" ]
null
null
null
openstudiocore/src/model/ZoneHVACBaseboardRadiantConvectiveWater.cpp
Acidburn0zzz/OpenStudio
8d7aa85fe5df7987cb6983984d4ce8698f1bd0bd
[ "MIT" ]
null
null
null
/*********************************************************************************************************************** * OpenStudio(R), Copyright (c) 2008-2018, Alliance for Sustainable Energy, LLC. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitt...
43.191257
163
0.741966
[ "object", "vector", "model" ]
8dc26169ae56b9f8249f7cef696b83091adbae77
14,735
cpp
C++
source/mclib/mlr/mlrsortbyorder.cpp
mechasource/mechcommander2
b2c7cecf001cec1f535aa8d29c31bdc30d9aa983
[ "BSD-2-Clause" ]
38
2015-04-10T13:31:03.000Z
2021-09-03T22:34:05.000Z
source/mclib/mlr/mlrsortbyorder.cpp
mechasource/mechcommander2
b2c7cecf001cec1f535aa8d29c31bdc30d9aa983
[ "BSD-2-Clause" ]
1
2020-07-09T09:48:44.000Z
2020-07-12T12:41:43.000Z
source/mclib/mlr/mlrsortbyorder.cpp
mechasource/mechcommander2
b2c7cecf001cec1f535aa8d29c31bdc30d9aa983
[ "BSD-2-Clause" ]
12
2015-06-29T08:06:57.000Z
2021-10-13T13:11:41.000Z
//===========================================================================// // Copyright (C) Microsoft Corporation. All rights reserved. // //===========================================================================// #include "stdinc.h" #include "mlr/mlrsortbyorder.h" namespace MidLevelRendere...
29.588353
254
0.586088
[ "vector", "transform" ]
8dc2992b65616d921e6b0c457881063d129b9dda
3,500
cpp
C++
uci-analyser/evaluation.cpp
DrNixx/PGN-Spy
accffa11bfd4d67f7921d0cf19dc998c1722205e
[ "MIT" ]
48
2016-07-12T23:58:35.000Z
2022-02-20T13:16:10.000Z
uci-analyser/evaluation.cpp
DrNixx/PGN-Spy
accffa11bfd4d67f7921d0cf19dc998c1722205e
[ "MIT" ]
8
2017-03-22T13:57:49.000Z
2021-09-02T07:47:50.000Z
uci-analyser/evaluation.cpp
DrNixx/PGN-Spy
accffa11bfd4d67f7921d0cf19dc998c1722205e
[ "MIT" ]
14
2018-03-28T22:55:07.000Z
2022-01-18T19:56:06.000Z
/* * Program: uci-analyser: a UCI-based Chess Game Analyser * Copyright (C) 1994-2015 David Barnes * 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 1, or (at your option)...
33.653846
98
0.525429
[ "vector" ]
8dc353714cb6405523b009bf4a68ecdf64320174
3,660
cpp
C++
src/Storages/MergeTree/MergeTreeIndexGranularity.cpp
pdv-ru/ClickHouse
0ff975bcf3008fa6c6373cbdfed16328e3863ec5
[ "Apache-2.0" ]
15,577
2019-09-23T11:57:53.000Z
2022-03-31T18:21:48.000Z
src/Storages/MergeTree/MergeTreeIndexGranularity.cpp
pdv-ru/ClickHouse
0ff975bcf3008fa6c6373cbdfed16328e3863ec5
[ "Apache-2.0" ]
16,476
2019-09-23T11:47:00.000Z
2022-03-31T23:06:01.000Z
src/Storages/MergeTree/MergeTreeIndexGranularity.cpp
pdv-ru/ClickHouse
0ff975bcf3008fa6c6373cbdfed16328e3863ec5
[ "Apache-2.0" ]
3,633
2019-09-23T12:18:28.000Z
2022-03-31T15:55:48.000Z
#include <Storages/MergeTree/MergeTreeIndexGranularity.h> #include <Common/Exception.h> #include <IO/WriteHelpers.h> namespace DB { namespace ErrorCodes { extern const int LOGICAL_ERROR; } MergeTreeIndexGranularity::MergeTreeIndexGranularity(const std::vector<size_t> & marks_rows_partial_sums_) : marks_rows_...
28.59375
136
0.74918
[ "vector" ]
44f3032c7f373d8ee1e3f0a3b5da0134e7012420
1,875
cpp
C++
src/render/Drawable/AutoscaleDrawableModificator.cpp
AluminiumRat/mtt
3052f8ad0ffabead05a1033e1d714a61e77d0aa8
[ "MIT" ]
null
null
null
src/render/Drawable/AutoscaleDrawableModificator.cpp
AluminiumRat/mtt
3052f8ad0ffabead05a1033e1d714a61e77d0aa8
[ "MIT" ]
null
null
null
src/render/Drawable/AutoscaleDrawableModificator.cpp
AluminiumRat/mtt
3052f8ad0ffabead05a1033e1d714a61e77d0aa8
[ "MIT" ]
null
null
null
#include <glm/gtx/transform.hpp> #include <mtt/render/Drawable/AutoscaleDrawableModificator.h> #include <mtt/render/DrawPlan/DrawPlanBuildInfo.h> #include <mtt/render/SceneGraph/CameraNode.h> #include <mtt/utilities/ScopedSetter.h> using namespace mtt; AutoscaleDrawableModificator::AutoscaleDrawableModificator() : ...
30.737705
80
0.645867
[ "render", "transform" ]
44f8794a07736e08ba7a4270c754f1411017a758
3,573
cpp
C++
dali/internal/canvas-renderer/tizen/drawable-group-impl-tizen.cpp
dalihub/dali-adaptor
b7943ae5aeb7ddd069be7496a1c1cee186b740c5
[ "Apache-2.0", "BSD-3-Clause" ]
6
2016-11-18T10:26:46.000Z
2021-11-01T12:29:05.000Z
dali/internal/canvas-renderer/tizen/drawable-group-impl-tizen.cpp
dalihub/dali-adaptor
b7943ae5aeb7ddd069be7496a1c1cee186b740c5
[ "Apache-2.0", "BSD-3-Clause" ]
5
2020-07-15T11:30:49.000Z
2020-12-11T19:13:46.000Z
dali/internal/canvas-renderer/tizen/drawable-group-impl-tizen.cpp
dalihub/dali-adaptor
b7943ae5aeb7ddd069be7496a1c1cee186b740c5
[ "Apache-2.0", "BSD-3-Clause" ]
7
2019-05-17T07:14:40.000Z
2021-05-24T07:25:26.000Z
/* * Copyright (c) 2021 Samsung Electronics 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...
21.654545
107
0.723202
[ "object" ]
44fa8cba27bc6ad0b9ae91d1de051f219db41a69
15,050
cpp
C++
Plugin~/Src/MeshSync/SceneCache/SceneCacheInputFile.cpp
Mu-L/MeshSync
6290618f6cc60802394bda8e2aa177648fcf5cfd
[ "Apache-2.0" ]
null
null
null
Plugin~/Src/MeshSync/SceneCache/SceneCacheInputFile.cpp
Mu-L/MeshSync
6290618f6cc60802394bda8e2aa177648fcf5cfd
[ "Apache-2.0" ]
null
null
null
Plugin~/Src/MeshSync/SceneCache/SceneCacheInputFile.cpp
Mu-L/MeshSync
6290618f6cc60802394bda8e2aa177648fcf5cfd
[ "Apache-2.0" ]
null
null
null
#include "pch.h" #include "MeshSync/SceneCache/msSceneCacheInputFile.h" #include "MeshUtils/muLog.h" //muLogError #include "Utils/msDebug.h" //msProfileScope #include "SceneCache/BufferEncoder.h" namespace ms { SceneCacheInputFile::~SceneCacheInputFile() { WaitAllPreloads(); } bool SceneCacheInputFile::IsValid...
30.465587
141
0.580731
[ "vector", "transform" ]
44fd02fe05169094ac4e08134b54af7bcd8e6e4e
996
hpp
C++
source/FAST/Data/SpatialDataObject.hpp
andreped/FAST
361819190ea0ae5a2f068e7bd808a1c70af5a171
[ "BSD-2-Clause" ]
null
null
null
source/FAST/Data/SpatialDataObject.hpp
andreped/FAST
361819190ea0ae5a2f068e7bd808a1c70af5a171
[ "BSD-2-Clause" ]
null
null
null
source/FAST/Data/SpatialDataObject.hpp
andreped/FAST
361819190ea0ae5a2f068e7bd808a1c70af5a171
[ "BSD-2-Clause" ]
null
null
null
#pragma once #include "FAST/Data/DataObject.hpp" #include "DataBoundingBox.hpp" #include "FAST/SceneGraph.hpp" namespace fast { /** * @brief Abstract base class for all spatial data objects * * Spatial data objects are data which have a location in 2D/3D space. */ class FAST_EXPORT SpatialDataObject : public Da...
29.294118
101
0.707831
[ "transform", "3d" ]
44ff9169b7c990c328d4b49fe6982797766d5c4f
16,435
cpp
C++
tests/symmetric/cipher/stream/test_api_stream_cipher_salsa20.cpp
samleybrize/cryptopp-bindings-api
247eb69ed1953b34878c9ce3c4d2e47ad6a6333b
[ "MIT" ]
null
null
null
tests/symmetric/cipher/stream/test_api_stream_cipher_salsa20.cpp
samleybrize/cryptopp-bindings-api
247eb69ed1953b34878c9ce3c4d2e47ad6a6333b
[ "MIT" ]
null
null
null
tests/symmetric/cipher/stream/test_api_stream_cipher_salsa20.cpp
samleybrize/cryptopp-bindings-api
247eb69ed1953b34878c9ce3c4d2e47ad6a6333b
[ "MIT" ]
null
null
null
/* * This file is part of cryptopp-bindings-api. * * (c) Stephen Berquet <stephen.berquet@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ #include "src/exception/api_exception.h" #include "src/symmetric/cipher/stream/ap...
31.912621
129
0.709887
[ "vector" ]
780022126e353a065e40147707c6e90622f9cabf
362
cpp
C++
Leetcode/Move_Zeros_to_end.cpp
anishacharya/Cracking-Coding-Interviews
f94e70c240ad9a76eddf22b8f4d5b4185c611a71
[ "MIT" ]
1
2019-03-24T12:35:43.000Z
2019-03-24T12:35:43.000Z
Leetcode/Move_Zeros_to_end.cpp
anishacharya/Cracking-Coding-Interviews
f94e70c240ad9a76eddf22b8f4d5b4185c611a71
[ "MIT" ]
null
null
null
Leetcode/Move_Zeros_to_end.cpp
anishacharya/Cracking-Coding-Interviews
f94e70c240ad9a76eddf22b8f4d5b4185c611a71
[ "MIT" ]
null
null
null
class Solution { public: void moveZeroes(vector<int>& nums) { int count = 0; // Count of non-zero elements int n=nums.size(); for (int i = 0; i < n; i++) { if (nums[i] != 0) { nums[count] = nums[i]; count++; } } while (count...
18.1
38
0.40884
[ "vector" ]
780904425943c993e3fd4b873c514d0ca59a3b3b
2,394
cpp
C++
Coursera/Yandex_CppYellow/Week05_Task05.cpp
zakhars/Education
4d791f6b4559a90ee383039aaeb15c7041138b12
[ "MIT" ]
null
null
null
Coursera/Yandex_CppYellow/Week05_Task05.cpp
zakhars/Education
4d791f6b4559a90ee383039aaeb15c7041138b12
[ "MIT" ]
null
null
null
Coursera/Yandex_CppYellow/Week05_Task05.cpp
zakhars/Education
4d791f6b4559a90ee383039aaeb15c7041138b12
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <vector> using namespace std; // Base people properties class People { protected: const string name_; const string title_; const string fullName() const { return Title() + ": " + Name(); } void doWalk(const string& destination) const { ...
21
79
0.571429
[ "vector" ]
780a8306c58ea8e9d43958c75ad873c0bf68ae09
125,544
cxx
C++
test/math/test.cxx
sstefan/vigra
f8826fa4de4293efb95582367f4bf42cc8ba8c11
[ "MIT" ]
1
2019-04-22T20:43:46.000Z
2019-04-22T20:43:46.000Z
test/math/test.cxx
tikroeger/vigra
981d1ebc3ee85464a0d2ace693ad41606b475e2f
[ "MIT" ]
null
null
null
test/math/test.cxx
tikroeger/vigra
981d1ebc3ee85464a0d2ace693ad41606b475e2f
[ "MIT" ]
null
null
null
/************************************************************************/ /* */ /* Copyright 2004-2011 by Ullrich Koethe */ /* */ /* This file is p...
43.291034
138
0.546964
[ "shape", "vector" ]
780fb2087970912450c83fd2e9be53ed121fd4e0
24,586
cpp
C++
frameworks/compile/mclinker/lib/Target/ARM/ARMLDBackend.cpp
touxiong88/92_mediatek
5e96a7bb778fd9d9b335825584664e0c8b5ff2c7
[ "Apache-2.0" ]
1
2022-01-07T01:53:19.000Z
2022-01-07T01:53:19.000Z
frameworks/compile/mclinker/lib/Target/ARM/ARMLDBackend.cpp
touxiong88/92_mediatek
5e96a7bb778fd9d9b335825584664e0c8b5ff2c7
[ "Apache-2.0" ]
null
null
null
frameworks/compile/mclinker/lib/Target/ARM/ARMLDBackend.cpp
touxiong88/92_mediatek
5e96a7bb778fd9d9b335825584664e0c8b5ff2c7
[ "Apache-2.0" ]
1
2020-02-28T02:48:42.000Z
2020-02-28T02:48:42.000Z
//===- ARMLDBackend.cpp ---------------------------------------------------===// // // The MCLinker Project // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------------------...
34.923295
92
0.556455
[ "object" ]
781bfa0f9c889fbdd30cd5091f8a9434f630caa4
939
cpp
C++
Codeforces/cf1582_D.cpp
Tunghohin/Competitive_coding
879238605d5525cda9fd0cfa1155ba67959179a6
[ "MIT" ]
2
2021-09-06T08:34:00.000Z
2021-11-22T14:52:41.000Z
Codeforces/cf1582_D.cpp
Tunghohin/Competitive_coding
879238605d5525cda9fd0cfa1155ba67959179a6
[ "MIT" ]
null
null
null
Codeforces/cf1582_D.cpp
Tunghohin/Competitive_coding
879238605d5525cda9fd0cfa1155ba67959179a6
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> #include <cmath> #include <vector> #include <algorithm> using namespace std; long long a[100010]; long long b[100010]; void solve() { int n; cin >> n; for (int i = 1; i <= n; i++) cin >> a[i]; if (n % 2 == 0) { for (int i = 1; i <= n; i += 2) { b[i] = -a[i + 1];...
14.014925
51
0.452609
[ "vector" ]
781ca4e7f6c77b25e34c8c9490459c3f324375e3
3,114
cpp
C++
uva/uva11214/save.cpp
oklen/my-soluation
56d6c32f0a328332b090f9d633365b75605f4616
[ "MIT" ]
null
null
null
uva/uva11214/save.cpp
oklen/my-soluation
56d6c32f0a328332b090f9d633365b75605f4616
[ "MIT" ]
null
null
null
uva/uva11214/save.cpp
oklen/my-soluation
56d6c32f0a328332b090f9d633365b75605f4616
[ "MIT" ]
null
null
null
//#include <iostream> //#include <cstring> //#include <vector> //using namespace std; //char bd[9][9],bc[9][9]; //int m,n,cnt,maxd,bccnt; //bool fin; //void inline fill(int ii,int jj) //{ // for(int i = 0;i<n;++i) // if(bd[ii][i]>=1) {if(bd[ii][i]==1)--cnt; // ++bd[ii][i];} // ...
28.833333
110
0.369942
[ "vector" ]
782898781502326b35288607b05a4245d5b40c76
2,063
cpp
C++
Examples/Cpp/source/Exchange_EWS/CaseSensitiveEmailsFilteringUsingEWS.cpp
kashifiqb/Aspose.Email-for-C
96684cb6ed9f4e321a00c74ca219440baaef8ba8
[ "MIT" ]
4
2019-12-01T16:19:12.000Z
2022-03-28T18:51:42.000Z
Examples/Cpp/source/Exchange_EWS/CaseSensitiveEmailsFilteringUsingEWS.cpp
kashifiqb/Aspose.Email-for-C
96684cb6ed9f4e321a00c74ca219440baaef8ba8
[ "MIT" ]
1
2022-02-15T01:02:15.000Z
2022-02-15T01:02:15.000Z
Examples/Cpp/source/Exchange_EWS/CaseSensitiveEmailsFilteringUsingEWS.cpp
kashifiqb/Aspose.Email-for-C
96684cb6ed9f4e321a00c74ca219440baaef8ba8
[ "MIT" ]
5
2017-09-27T14:43:20.000Z
2021-11-16T06:47:11.000Z
#include "Examples.h" #include <Tools/Search/StringComparisonField.h> #include <Tools/Search/MailQuery.h> #include <Tools/Search/DateComparisonField.h> #include <system/string.h> #include <system/shared_ptr.h> #include <system/object.h> #include <system/exceptions.h> #include <system/date_time.h> #include <system/conso...
38.203704
146
0.713524
[ "object" ]
7828dd70a1f49ddd44b360640e813d324be483b6
133,816
hpp
C++
source/pixie/vecmath.hpp
rdacomp/pixie
cc2abb5572952ce567f96d19244996f249a423ca
[ "Unlicense" ]
148
2018-01-22T05:32:04.000Z
2022-01-09T22:36:10.000Z
source/pixie/vecmath.hpp
rdacomp/pixie
cc2abb5572952ce567f96d19244996f249a423ca
[ "Unlicense" ]
null
null
null
source/pixie/vecmath.hpp
rdacomp/pixie
cc2abb5572952ce567f96d19244996f249a423ca
[ "Unlicense" ]
3
2018-02-08T12:51:16.000Z
2020-02-01T21:04:38.000Z
/* ------------------------------------------------------------------------------ Licensing information can be found at the end of the file. ------------------------------------------------------------------------------ vecmath.hpp - v0.1 - simple HLSL style vector math library for C++. */ #ifndef vecmath_hpp #de...
82.909542
2,687
0.56435
[ "vector" ]
782a5bd53f2b55649dd915e3cc1cf728158ac043
1,418
cpp
C++
leetcode/problems/easy/1389-create-target-array-in-the-given-order.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
18
2020-08-27T05:27:50.000Z
2022-03-08T02:56:48.000Z
leetcode/problems/easy/1389-create-target-array-in-the-given-order.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
null
null
null
leetcode/problems/easy/1389-create-target-array-in-the-given-order.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
1
2020-10-13T05:23:58.000Z
2020-10-13T05:23:58.000Z
/* Create Target Array in the Given Order Given two arrays of integers nums and index. Your task is to create target array under the following rules: Initially target array is empty. From left to right read nums[i] and index[i], insert at index index[i] the value nums[i] in target array. Repeat the previous step unti...
27.269231
119
0.566291
[ "vector" ]
7831e6f44bc424e3780ac8fe51710d93fb647f78
3,015
cpp
C++
Code/GraphMol/MolDraw2D/DrawTextCairo.cpp
NadineSchneider/rdkit
7f6920ff4e53859f1fb54a4177123540fc073093
[ "BSD-3-Clause" ]
null
null
null
Code/GraphMol/MolDraw2D/DrawTextCairo.cpp
NadineSchneider/rdkit
7f6920ff4e53859f1fb54a4177123540fc073093
[ "BSD-3-Clause" ]
2
2020-06-08T08:06:39.000Z
2020-07-03T07:04:42.000Z
Code/GraphMol/MolDraw2D/DrawTextCairo.cpp
NadineSchneider/rdkit
7f6920ff4e53859f1fb54a4177123540fc073093
[ "BSD-3-Clause" ]
1
2020-05-15T12:15:35.000Z
2020-05-15T12:15:35.000Z
// // @@ All Rights Reserved @@ // This file is part of the RDKit. // The contents are covered by the terms of the BSD license // which is included in the file license.txt, found at the root // of the RDKit source tree. // // Original author: David Cosgrove (CozChemIx) on 29/04/2020. // #include <GraphMol/MolDra...
33.876404
95
0.61194
[ "vector" ]
7839185fd173db8be1f39ee71118dddfeb6edfbd
1,259
cpp
C++
test/snippet/argument_parser/argument_parser_3.cpp
Clemapfel/seqan3
7114024ccaa883364d47f9335d6b19525a1fa7a9
[ "BSD-3-Clause" ]
null
null
null
test/snippet/argument_parser/argument_parser_3.cpp
Clemapfel/seqan3
7114024ccaa883364d47f9335d6b19525a1fa7a9
[ "BSD-3-Clause" ]
null
null
null
test/snippet/argument_parser/argument_parser_3.cpp
Clemapfel/seqan3
7114024ccaa883364d47f9335d6b19525a1fa7a9
[ "BSD-3-Clause" ]
null
null
null
//! [usage] #include <seqan3/argument_parser/all.hpp> int main(int argc, char ** argv) { seqan3::argument_parser myparser("Penguin_Parade", argc, argv); // initialize myparser.info.version = "2.0.0"; myparser.info.date = "12.01.2017"; myparser.info.short_description = "Organize your penguin parade"; ...
29.97619
107
0.646545
[ "vector" ]
78448fbc98cd19c69b7a193730b7953c58d7dd2f
3,297
cpp
C++
sl/Main.cpp
clagv/sl
1e0a76685acdf72085a9c6ee58a7e8926463fb15
[ "Unlicense" ]
null
null
null
sl/Main.cpp
clagv/sl
1e0a76685acdf72085a9c6ee58a7e8926463fb15
[ "Unlicense" ]
null
null
null
sl/Main.cpp
clagv/sl
1e0a76685acdf72085a9c6ee58a7e8926463fb15
[ "Unlicense" ]
null
null
null
#include "SLUtils.h" #include "SLData.h" #include "SLVector.h" #include "SLMap.h" #include "SLSet.h" #include "SLVar.h" #include <iostream> #include <iterator> #include <map> using namespace sl; typedef std::vector<std::string> StrVec; struct Lvl1 { double m_x; std::string m_a; std::string m_b; ...
31.4
118
0.602062
[ "vector" ]
7845354f1d315dd2e25ccf80dcd0d0ed762241d2
8,514
cpp
C++
libakumuli/storage_engine/column_store.cpp
webfolderio/akumuli
e120763ffd3f7bf8094c36358d8b8600cdcccd79
[ "Apache-2.0" ]
1,094
2015-01-03T13:40:12.000Z
2022-03-29T02:28:25.000Z
libakumuli/storage_engine/column_store.cpp
webfolderio/akumuli
e120763ffd3f7bf8094c36358d8b8600cdcccd79
[ "Apache-2.0" ]
193
2015-01-30T09:25:59.000Z
2020-12-02T08:54:35.000Z
libakumuli/storage_engine/column_store.cpp
webfolderio/akumuli
e120763ffd3f7bf8094c36358d8b8600cdcccd79
[ "Apache-2.0" ]
124
2015-02-03T14:57:14.000Z
2022-03-14T14:27:37.000Z
#include "column_store.h" #include "log_iface.h" #include "status_util.h" #include "query_processing/queryplan.h" #include "operators/aggregate.h" #include "operators/scan.h" #include "operators/join.h" #include "operators/merge.h" #include <boost/property_tree/ptree.hpp> namespace Akumuli { namespace StorageEngine {...
36.540773
120
0.61299
[ "vector" ]
784bcd6f967aba63d23b757cbc7f681b8fe59ff5
114,523
cpp
C++
MachineLearning/Entity101/opennn/quasi_newton_method.cpp
CJBuchel/Entity101
b868ffff4ca99e240a0bf1248d5c5ebb45019426
[ "MIT" ]
null
null
null
MachineLearning/Entity101/opennn/quasi_newton_method.cpp
CJBuchel/Entity101
b868ffff4ca99e240a0bf1248d5c5ebb45019426
[ "MIT" ]
null
null
null
MachineLearning/Entity101/opennn/quasi_newton_method.cpp
CJBuchel/Entity101
b868ffff4ca99e240a0bf1248d5c5ebb45019426
[ "MIT" ]
null
null
null
/****************************************************************************************************************/ /* */ /* OpenNN: Open Neural Networks Library ...
29.463082
200
0.682937
[ "object", "vector", "model" ]
784f90ec0b2094bbd3c7e4c182421f438e43024f
14,271
cpp
C++
Algorithm/arcsim/adaptiveCloth/simulation.cpp
dolphin-li/ClothDesigner
82b186d6db320b645ac67a4d32d7746cc9bdd391
[ "MIT" ]
32
2016-12-13T05:49:12.000Z
2022-02-04T06:15:47.000Z
Algorithm/arcsim/adaptiveCloth/simulation.cpp
dolphin-li/ClothDesigner
82b186d6db320b645ac67a4d32d7746cc9bdd391
[ "MIT" ]
2
2019-07-30T02:01:16.000Z
2020-03-12T15:06:51.000Z
Algorithm/arcsim/adaptiveCloth/simulation.cpp
dolphin-li/ClothDesigner
82b186d6db320b645ac67a4d32d7746cc9bdd391
[ "MIT" ]
18
2017-11-16T13:37:06.000Z
2022-03-11T08:13:46.000Z
/* Copyright ©2013 The Regents of the University of California (Regents). All Rights Reserved. Permission to use, copy, modify, and distribute this software and its documentation for educational, research, and not-for-profit purposes, without fee and without a signed licensing agreement, is hereby granted, pr...
29.424742
101
0.677598
[ "mesh", "geometry", "vector" ]