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
902d2b157ef5cab3f6ab29bce46c2cbee9b2618b
2,295
hpp
C++
src/Core/TreeStructures/BVH.hpp
nmellado/Radium-Engine
6e42e4be8d14bcd496371a5f58d483f7d03f9cf4
[ "Apache-2.0" ]
null
null
null
src/Core/TreeStructures/BVH.hpp
nmellado/Radium-Engine
6e42e4be8d14bcd496371a5f58d483f7d03f9cf4
[ "Apache-2.0" ]
null
null
null
src/Core/TreeStructures/BVH.hpp
nmellado/Radium-Engine
6e42e4be8d14bcd496371a5f58d483f7d03f9cf4
[ "Apache-2.0" ]
null
null
null
#ifndef RADIUMENGINE_BVH_HPP #define RADIUMENGINE_BVH_HPP #include <Core/RaCore.hpp> #include <Core/Mesh/TriangleMesh.hpp> #include <Core/Math/Frustum.hpp> #include <vector> #include <memory> namespace Ra { namespace Core { /// This class stores a 3-dimensional hierarchy of meshes of arbitrary t...
23.418367
108
0.518954
[ "mesh", "vector" ]
9031ba4541039a92f8ba353c045f0c8599ab9cf4
2,835
cpp
C++
python/src/cpc_wrapper.cpp
ghbplayer/incubator-datasketches-cpp
2b69c07a6910e61d7e13338ca4d506c513f7896d
[ "Apache-2.0" ]
null
null
null
python/src/cpc_wrapper.cpp
ghbplayer/incubator-datasketches-cpp
2b69c07a6910e61d7e13338ca4d506c513f7896d
[ "Apache-2.0" ]
null
null
null
python/src/cpc_wrapper.cpp
ghbplayer/incubator-datasketches-cpp
2b69c07a6910e61d7e13338ca4d506c513f7896d
[ "Apache-2.0" ]
null
null
null
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
34.156627
99
0.705115
[ "object" ]
9031e7125c43ee9ca835acfffcb814efa8d3212d
4,313
c++
C++
src/extern/inventor/apps/examples/Mentor/CXX/05.6.TransformOrdering.c++
OpenXIP/xip-libraries
9f0fef66038b20ff0c81c089d7dd0038e3126e40
[ "Apache-2.0" ]
2
2020-05-21T07:06:07.000Z
2021-06-28T02:14:34.000Z
src/extern/inventor/apps/examples/Mentor/CXX/05.6.TransformOrdering.c++
OpenXIP/xip-libraries
9f0fef66038b20ff0c81c089d7dd0038e3126e40
[ "Apache-2.0" ]
null
null
null
src/extern/inventor/apps/examples/Mentor/CXX/05.6.TransformOrdering.c++
OpenXIP/xip-libraries
9f0fef66038b20ff0c81c089d7dd0038e3126e40
[ "Apache-2.0" ]
6
2016-03-21T19:53:18.000Z
2021-06-08T18:06:03.000Z
/* * * Copyright (C) 2000 Silicon Graphics, Inc. All Rights Reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your opti...
36.243697
77
0.686297
[ "object", "transform" ]
9034fe71c8317f689f4fac35d6e64bf6ad812ee9
1,445
cpp
C++
Sniper.cpp
Dolev/WarGame-master-B
2e3f636b2530802917a96e565a3af68643275d7d
[ "MIT" ]
null
null
null
Sniper.cpp
Dolev/WarGame-master-B
2e3f636b2530802917a96e565a3af68643275d7d
[ "MIT" ]
null
null
null
Sniper.cpp
Dolev/WarGame-master-B
2e3f636b2530802917a96e565a3af68643275d7d
[ "MIT" ]
null
null
null
// // Created by dolev hindy on 18/07/2020. // #include <iostream> // 25/5 using namespace std; #include "Sniper.hpp" Soldier* Sniper::copy(int player_number){ Soldier *temp=new Sniper(player_number); temp->initial_health_points=this->initial_health_points; temp->father=this->father; temp->its_max_heal...
28.9
121
0.541176
[ "vector" ]
903abba1d1df025ac2bf9ecb894301218173f9bf
2,398
hpp
C++
cpp/src/toppra/constraint/joint_torque/pinocchio.hpp
stevegolton/toppra
846e2a7f5b87e0e1884b244b07d5fd661edcd9bd
[ "MIT" ]
342
2017-07-26T17:37:19.000Z
2022-03-28T19:50:27.000Z
cpp/src/toppra/constraint/joint_torque/pinocchio.hpp
stevegolton/toppra
846e2a7f5b87e0e1884b244b07d5fd661edcd9bd
[ "MIT" ]
151
2017-11-30T06:14:29.000Z
2022-03-29T02:06:08.000Z
cpp/src/toppra/constraint/joint_torque/pinocchio.hpp
stevegolton/toppra
846e2a7f5b87e0e1884b244b07d5fd661edcd9bd
[ "MIT" ]
134
2017-08-18T21:35:39.000Z
2022-03-25T03:43:08.000Z
#ifndef TOPPRA_CONSTRAINT_JOINT_TORQUE_PINOCCIO_HPP #define TOPPRA_CONSTRAINT_JOINT_TORQUE_PINOCCIO_HPP #include <pinocchio/multibody/model.hpp> #include <pinocchio/multibody/data.hpp> #include <pinocchio/algorithm/rnea.hpp> #include <pinocchio/parsers/urdf.hpp> #include <toppra/constraint/joint_torque.hpp> namespac...
27.25
83
0.678899
[ "object", "vector", "model" ]
903dd363cb1f637a6d8c1867c8e4880e7073f66e
23,179
cpp
C++
Engine/Plugins/Media/AndroidCamera/Source/AndroidCamera/Private/AndroidJavaCameraPlayer.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
1
2022-01-29T18:36:12.000Z
2022-01-29T18:36:12.000Z
Engine/Plugins/Media/AndroidCamera/Source/AndroidCamera/Private/AndroidJavaCameraPlayer.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
Engine/Plugins/Media/AndroidCamera/Source/AndroidCamera/Private/AndroidJavaCameraPlayer.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #include "AndroidJavaCameraPlayer.h" #include "AndroidApplication.h" #if UE_BUILD_SHIPPING // always clear any exceptions in SHipping #define CHECK_JNI_RESULT(Id) if (Id == 0) { JEnv->ExceptionClear(); } #else #define CHECK_JNI_RESULT(Id) \ if (Id == 0) \ {...
36.968102
160
0.772596
[ "object" ]
903e1b420ce18f5e0675c665b8f6e492878dc1e0
6,008
cpp
C++
cheapest_insertion_perturbed.cpp
RickyDevMJ/Insertion-TSP
03ddba54dbeea097a18d0d8de9fecc8be708ff01
[ "MIT" ]
null
null
null
cheapest_insertion_perturbed.cpp
RickyDevMJ/Insertion-TSP
03ddba54dbeea097a18d0d8de9fecc8be708ff01
[ "MIT" ]
null
null
null
cheapest_insertion_perturbed.cpp
RickyDevMJ/Insertion-TSP
03ddba54dbeea097a18d0d8de9fecc8be708ff01
[ "MIT" ]
1
2021-04-23T06:30:46.000Z
2021-04-23T06:30:46.000Z
#include <bits/stdc++.h> using namespace std; u_int edge_hash(u_int i, u_int j, u_int m) { return i * m + j; } double distance(double x_i, double y_i, double x_j, double y_j) { double l1 = x_i - x_j; double l2 = y_i - y_j; return sqrt(l1*l1 + l2*l2); } #define distance(coordinates, i, j) distance(coordinates[i].f...
27.814815
134
0.654128
[ "vector" ]
903ee09e818de091a7ae3cb8af3c59ed817a57d0
3,827
cpp
C++
Xface/XFace/src/XEngine/ModelFileFactory.cpp
thuhcsi/Crystal.TTVS
9e6c86566bfacf4fc571ad7b1308bcb7382bb213
[ "Apache-2.0" ]
75
2020-08-18T03:27:13.000Z
2022-01-05T13:17:50.000Z
Xface/XFace/src/XEngine/ModelFileFactory.cpp
thuhcsi/Crystal.TTVS
9e6c86566bfacf4fc571ad7b1308bcb7382bb213
[ "Apache-2.0" ]
1
2020-11-11T09:31:06.000Z
2020-11-19T14:44:41.000Z
Xface/XFace/src/XEngine/ModelFileFactory.cpp
thuhcsi/Crystal.TTVS
9e6c86566bfacf4fc571ad7b1308bcb7382bb213
[ "Apache-2.0" ]
10
2020-08-18T04:35:29.000Z
2021-09-09T01:41:23.000Z
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (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.mozilla.org/MPL/ * * Software distr...
24.850649
106
0.687745
[ "mesh", "model", "3d" ]
903f1de7486e19f6e4e1c103fc70aba58b58dd81
9,067
cc
C++
P2P/FiniteFieldCal.cc
hbhzwj/zetasim
55e6bc3d0db7949abbac222dbe2502e85072c6cb
[ "BSD-4-Clause-UC" ]
1
2017-11-04T22:00:48.000Z
2017-11-04T22:00:48.000Z
P2P/FiniteFieldCal.cc
hbhzwj/zetasim
55e6bc3d0db7949abbac222dbe2502e85072c6cb
[ "BSD-4-Clause-UC" ]
null
null
null
P2P/FiniteFieldCal.cc
hbhzwj/zetasim
55e6bc3d0db7949abbac222dbe2502e85072c6cb
[ "BSD-4-Clause-UC" ]
null
null
null
/* FiniteFieldCal.h * Jing Wang * June, 2010 ZetaSim - A NS2 based Simulation suit for Zeta Protocol Copright (C) 2010 Jing Wang This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either versi...
32.615108
125
0.446785
[ "transform" ]
9041424231db027ac42cfa8de5da661edd8a1763
5,005
hpp
C++
include/calib/cameraCalibration.hpp
mtszkw/foosball
764d559546ad3eb8fc6c2ea895d5ef4eb1b5f1a3
[ "MIT" ]
23
2018-07-06T07:37:03.000Z
2020-05-10T05:35:09.000Z
include/calib/cameraCalibration.hpp
mtszkw/foosball
764d559546ad3eb8fc6c2ea895d5ef4eb1b5f1a3
[ "MIT" ]
1
2018-12-13T14:07:37.000Z
2018-12-13T16:21:01.000Z
include/calib/cameraCalibration.hpp
mtszkw/foosball
764d559546ad3eb8fc6c2ea895d5ef4eb1b5f1a3
[ "MIT" ]
9
2018-10-02T19:19:30.000Z
2021-01-18T15:30:28.000Z
#pragma once #include <iostream> #include <sstream> #include <string> #include <ctime> #include <cstdio> #include <opencv2/core.hpp> #include <opencv2/core/utility.hpp> #include <opencv2/imgproc.hpp> #include <opencv2/calib3d.hpp> #include <opencv2/highgui.hpp> class Settings { public: Settings() : goodInput(fals...
40.691057
105
0.636963
[ "vector", "model" ]
9044323f05bf69c83152d0af0fa5b70ff8cad381
805
hpp
C++
include/protowork.hpp
yicuiheng/protowork
55e048f9f8c1fc6b8ecf495425424c1694e64a60
[ "MIT" ]
null
null
null
include/protowork.hpp
yicuiheng/protowork
55e048f9f8c1fc6b8ecf495425424c1694e64a60
[ "MIT" ]
1
2021-06-13T13:31:04.000Z
2021-06-13T13:31:04.000Z
include/protowork.hpp
yicuiheng/protowork
55e048f9f8c1fc6b8ecf495425424c1694e64a60
[ "MIT" ]
null
null
null
#ifndef PROTOWORK_HPP #define PROTOWORK_HPP #include <memory> #include <unordered_map> #include <vector> #include <GL/glew.h> #include <glm/glm.hpp> #include <protowork/input.hpp> #include <protowork/world.hpp> #include <protowork/ui.hpp> struct GLFWwindow; namespace protowork { struct app_t { struct config_t...
17.12766
76
0.66087
[ "vector" ]
90448b7f4b024c4b19284441c0085ea3f438afbc
1,813
cpp
C++
SegmentationThingy/segmentation.cpp
aravindarc/tamil_hocr_training
edf7ba7ac22178d946f68d618feb4699df65b946
[ "MIT" ]
null
null
null
SegmentationThingy/segmentation.cpp
aravindarc/tamil_hocr_training
edf7ba7ac22178d946f68d618feb4699df65b946
[ "MIT" ]
null
null
null
SegmentationThingy/segmentation.cpp
aravindarc/tamil_hocr_training
edf7ba7ac22178d946f68d618feb4699df65b946
[ "MIT" ]
null
null
null
#include <iostream> #include <opencv2/opencv.hpp> using namespace std; using namespace cv; int main() { Mat3b img = imread("test1.jpg"); Mat1b bin; cvtColor(img, bin, COLOR_BGR2GRAY); bin = bin < 200; vector<Point> pts; findNonZero(bin, pts); RotatedRect box = minAreaRect(pts); co...
22.382716
97
0.506895
[ "vector" ]
904835967f0e1c0c5d7771bf4aea1e1fead0b75f
2,596
cpp
C++
frameworks/core/components/grid_layout/grid_layout_element.cpp
openharmony-gitee-mirror/ace_ace_engine
78013960cdce81348d1910e466a3292605442a5e
[ "Apache-2.0" ]
null
null
null
frameworks/core/components/grid_layout/grid_layout_element.cpp
openharmony-gitee-mirror/ace_ace_engine
78013960cdce81348d1910e466a3292605442a5e
[ "Apache-2.0" ]
null
null
null
frameworks/core/components/grid_layout/grid_layout_element.cpp
openharmony-gitee-mirror/ace_ace_engine
78013960cdce81348d1910e466a3292605442a5e
[ "Apache-2.0" ]
1
2021-09-13T11:17:50.000Z
2021-09-13T11:17:50.000Z
/* * Copyright (c) 2021 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
31.277108
88
0.681433
[ "render" ]
904f6d636b2612a8ab8178e7b835dedb4bdfada1
10,956
cpp
C++
projects/RealTimeEngine/code/Application.cpp
Nechrito/s0009d-lab-env
61599401536205c344654ef2a270a010df0e2254
[ "MIT" ]
null
null
null
projects/RealTimeEngine/code/Application.cpp
Nechrito/s0009d-lab-env
61599401536205c344654ef2a270a010df0e2254
[ "MIT" ]
null
null
null
projects/RealTimeEngine/code/Application.cpp
Nechrito/s0009d-lab-env
61599401536205c344654ef2a270a010df0e2254
[ "MIT" ]
null
null
null
// Copyright © 2020 Philip Lindh // All rights reserved #include "config.h" #include "Application.h" #include "Model.h" #include "LightNode.h" #include "SoftwareRenderer.h" #include "Screen.h" #include "Camera.h" #include <cmath> Application::Application() { // window this->window = nullptr; this...
30.689076
121
0.658726
[ "render", "vector", "model" ]
9057688aa16dcfbc2c8e90e7cff5b6a289120b81
2,673
cpp
C++
src/libbu/semaphore_register.cpp
lf-/brlcad
f91ea585c1a930a2e97c3f5a8274db8805ebbb46
[ "BSD-4-Clause", "BSD-3-Clause" ]
83
2021-03-10T05:54:52.000Z
2022-03-31T16:33:46.000Z
src/libbu/semaphore_register.cpp
lf-/brlcad
f91ea585c1a930a2e97c3f5a8274db8805ebbb46
[ "BSD-4-Clause", "BSD-3-Clause" ]
13
2021-06-24T17:07:48.000Z
2022-03-31T15:31:33.000Z
src/libbu/semaphore_register.cpp
lf-/brlcad
f91ea585c1a930a2e97c3f5a8274db8805ebbb46
[ "BSD-4-Clause", "BSD-3-Clause" ]
54
2021-03-10T07:57:06.000Z
2022-03-28T23:20:37.000Z
/* S E M A P H O R E _ R E G I S T E R . C P P * BRL-CAD * * Copyright (c) 2019-2021 United States Government as represented by * the U.S. Army Research Laboratory. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * v...
23.243478
81
0.664422
[ "cad", "vector" ]
905ccf7f94c34a3bfa7370341a70fa226453a4e1
3,808
hpp
C++
Jackal/Source/RenderDevice/Public/RenderDevice/GraphicsPipelineState.hpp
CheezBoiger/Jackal
6c87bf19f6c1cd63f53c815820b32fc71b48bf77
[ "MIT" ]
null
null
null
Jackal/Source/RenderDevice/Public/RenderDevice/GraphicsPipelineState.hpp
CheezBoiger/Jackal
6c87bf19f6c1cd63f53c815820b32fc71b48bf77
[ "MIT" ]
null
null
null
Jackal/Source/RenderDevice/Public/RenderDevice/GraphicsPipelineState.hpp
CheezBoiger/Jackal
6c87bf19f6c1cd63f53c815820b32fc71b48bf77
[ "MIT" ]
null
null
null
// Copyright (c) 2017 Jackal Engine, MIT License. #pragma once #include "Core/Platform/JTypes.hpp" #include "Core/Platform/Api.hpp" #include "Core/Platform/Platform.hpp" #include "Core/Structure/JString.hpp" #include "RenderDeviceTypes.hpp" #include "MaterialLayout.hpp" #include "RenderObject.hpp" namespace jackal {...
30.222222
80
0.67542
[ "geometry", "render", "object" ]
9068a4072ecf5f2b982360cfe2b1f007bac0e7b2
11,135
cc
C++
content/browser/renderer_host/gpu_message_filter.cc
SlimKatLegacy/android_external_chromium_org
ee480ef5039d7c561fc66ccf52169ead186f1bea
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
4
2017-04-05T01:51:34.000Z
2018-02-15T03:11:54.000Z
content/browser/renderer_host/gpu_message_filter.cc
j4ckfrost/android_external_chromium_org
a1a3dad8b08d1fcf6b6b36c267158ed63217c780
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2021-12-13T19:44:12.000Z
2021-12-13T19:44:12.000Z
content/browser/renderer_host/gpu_message_filter.cc
j4ckfrost/android_external_chromium_org
a1a3dad8b08d1fcf6b6b36c267158ed63217c780
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
4
2015-02-09T08:49:30.000Z
2017-08-26T02:03:34.000Z
// Copyright (c) 2012 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. #if defined(OS_WIN) #include <windows.h> #endif #include "content/browser/renderer_host/gpu_message_filter.h" #include "base/bind.h" #include "base/...
36.870861
79
0.734261
[ "object", "vector" ]
906b4e781a0e64a2592998209208b5e322c9da06
9,264
cc
C++
third_party/blink/renderer/platform/graphics/dark_mode_image_classifier.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/blink/renderer/platform/graphics/dark_mode_image_classifier.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/blink/renderer/platform/graphics/dark_mode_image_classifier.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2019 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 "third_party/blink/renderer/platform/graphics/dark_mode_image_classifier.h" #include "base/optional.h" #include "third_party/blink/renderer/plat...
36.616601
84
0.6875
[ "vector" ]
90844bbe2289ba54cbc1f5d106888e9c80f4ead0
18,609
cpp
C++
Lexer.cpp
Nalleyer/CalculatorTheHardWay
7e72944921cc0e16b739630e8235207ccfeffe22
[ "MIT" ]
null
null
null
Lexer.cpp
Nalleyer/CalculatorTheHardWay
7e72944921cc0e16b739630e8235207ccfeffe22
[ "MIT" ]
null
null
null
Lexer.cpp
Nalleyer/CalculatorTheHardWay
7e72944921cc0e16b739630e8235207ccfeffe22
[ "MIT" ]
null
null
null
// // Created by Nalley on 2017/7/27. // #include <iostream> #include "Lexer.h" using std::string; Lexer::Lexer() : mColumn(0) , mNumLine(0) { } std::vector<Token> Lexer::getTokens() { return mTokens; } void Lexer::runLexer(const std::string &input) { clear(); auto nowState = State::INIT; s...
55.056213
112
0.516256
[ "vector" ]
9084cb262b16ff62e69f6453d8f2c20364fde0bd
2,918
cc
C++
src/float-counts-remove-zeros.cc
RoseSAK/pocolm
2da2b6e5a709fb40021f7bbcdd18d84f174dfe30
[ "Apache-2.0" ]
88
2016-04-16T03:42:04.000Z
2022-02-10T17:45:39.000Z
src/float-counts-remove-zeros.cc
RoseSAK/pocolm
2da2b6e5a709fb40021f7bbcdd18d84f174dfe30
[ "Apache-2.0" ]
81
2016-05-09T00:07:18.000Z
2022-02-02T05:59:04.000Z
src/float-counts-remove-zeros.cc
RoseSAK/pocolm
2da2b6e5a709fb40021f7bbcdd18d84f174dfe30
[ "Apache-2.0" ]
43
2016-05-17T04:51:10.000Z
2022-01-25T12:14:15.000Z
// float-counts-remove-zeros.cc // Copyright 2016 Johns Hopkins University (Author: Daniel Povey) // See ../COPYING for clarification regarding multiple authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obt...
31.376344
88
0.666552
[ "vector" ]
9084cd6a4475ad7e1747398e6f35eafa59373d78
2,243
cpp
C++
cs10/madlibs.cpp
bmoya217/ucr
16a1b24b40845b9b98c6e93b8e1bf24a9f090f4b
[ "Apache-2.0" ]
null
null
null
cs10/madlibs.cpp
bmoya217/ucr
16a1b24b40845b9b98c6e93b8e1bf24a9f090f4b
[ "Apache-2.0" ]
null
null
null
cs10/madlibs.cpp
bmoya217/ucr
16a1b24b40845b9b98c6e93b8e1bf24a9f090f4b
[ "Apache-2.0" ]
null
null
null
#include <string> #include <iostream> #include <vector> using namespace std; int main () { // defines the strings vector<string> word (10); // asks for users blind input of strings cout << "Enter any type of animal: "; cin >> word[0]; cout << "\n\nEnter another animal: "; cin >> ...
33.477612
77
0.551048
[ "vector" ]
9085412a8df783b340351f0b3b4ea8ec1b2ecd58
2,523
cpp
C++
src/topics/inferencer.cpp
Bungarch/meta
c0c4fc7fe78e8e910cecd31bf85f7f9da829cce5
[ "MIT" ]
null
null
null
src/topics/inferencer.cpp
Bungarch/meta
c0c4fc7fe78e8e910cecd31bf85f7f9da829cce5
[ "MIT" ]
null
null
null
src/topics/inferencer.cpp
Bungarch/meta
c0c4fc7fe78e8e910cecd31bf85f7f9da829cce5
[ "MIT" ]
null
null
null
/** * @file topics/inferencer.cpp * @author Chase Geigle * * All files in META are dual-licensed under the MIT and NCSA licenses. For more * details, consult the file LICENSE.mit and LICENSE.ncsa in the root of the * project. */ #include "meta/topics/inferencer.h" namespace meta { namespace topics { inference...
24.259615
80
0.644867
[ "model" ]
908bd8c2997898997524c52360c913dd090c2c85
7,859
cpp
C++
edge_swap.cpp
ibaned/omega_h_v1
9ab9efca33d66e4411f87206a7bd1534cec116e4
[ "MIT" ]
null
null
null
edge_swap.cpp
ibaned/omega_h_v1
9ab9efca33d66e4411f87206a7bd1534cec116e4
[ "MIT" ]
null
null
null
edge_swap.cpp
ibaned/omega_h_v1
9ab9efca33d66e4411f87206a7bd1534cec116e4
[ "MIT" ]
null
null
null
#include "edge_swap.hpp" #include <cassert> #include "algebra.hpp" #include "quality.hpp" #include "tables.hpp" namespace omega_h { /* tables hardcoding all possible 2D meshes (triangulations) of an N-sided polygon, where N ranges from 3 to 7. for a given polygon, many possible triangulations may share th...
20.203085
73
0.593714
[ "mesh" ]
908fcc0a85088c79510c21e317eae69436861aff
2,225
cpp
C++
nnforge/testing_complete_result_set.cpp
anshumang/nnForgeINST
1e9ea1b539cadbb03daa39f5d81025c1b17c21d8
[ "Apache-2.0" ]
2
2015-08-19T08:02:59.000Z
2017-06-18T21:10:36.000Z
nnforge/testing_complete_result_set.cpp
yanshanjing/nnForge
6d2baa1174a90b8e5e8bf2a4b259ce8a37fbddf1
[ "Apache-2.0" ]
null
null
null
nnforge/testing_complete_result_set.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...
40.454545
198
0.755056
[ "vector" ]
909ec367a54b1e9b8bb96f7e1aef600595bd8549
3,379
cc
C++
thirdparty/SAM/processframes.cc
aqws3/gdsam-native
17e5074a606ed50ec16d5f146a6f1ec3152e7639
[ "MIT" ]
null
null
null
thirdparty/SAM/processframes.cc
aqws3/gdsam-native
17e5074a606ed50ec16d5f146a6f1ec3152e7639
[ "MIT" ]
null
null
null
thirdparty/SAM/processframes.cc
aqws3/gdsam-native
17e5074a606ed50ec16d5f146a6f1ec3152e7639
[ "MIT" ]
null
null
null
#include "render.h" #include "state.h" // From RenderTabs.h extern unsigned char multtable[]; extern unsigned char sinus[]; extern unsigned char rectangle[]; extern void Output(struct SamState &state, int index, unsigned char A); static void CombineGlottalAndFormants(struct SamState &state, unsigned char phase1, uns...
33.127451
144
0.58538
[ "render" ]
909fcd922c863847c9261e93895d93d8dc9a57c2
1,517
cpp
C++
examples/simple.cpp
pcdangio/ros_qn-optimizer
766797f8f95c604662c5ac960cc1c22140b84acd
[ "MIT" ]
null
null
null
examples/simple.cpp
pcdangio/ros_qn-optimizer
766797f8f95c604662c5ac960cc1c22140b84acd
[ "MIT" ]
null
null
null
examples/simple.cpp
pcdangio/ros_qn-optimizer
766797f8f95c604662c5ac960cc1c22140b84acd
[ "MIT" ]
null
null
null
#include "qn_optimizer/qn_optimizer.h" #include <iostream> // TUNABLE PARAMETERS const double min_a = -4.75; const double min_b = 2.0; const double initial_guess_a = 0.0; const double initial_guess_b = 0.0; double objective_function(const Eigen::VectorXd& variables) { return std::pow(variables(0) - min_a, 2.0) +...
28.622642
90
0.652604
[ "vector" ]
909fd91516ee3ba14bf3beb15730deda20549427
7,354
cc
C++
dreal/optimization/nlopt_optimizer.cc
em-mcg/dreal4
d89ee2ebb2d879d08cab977496155a440782870a
[ "Apache-2.0" ]
1
2019-01-09T17:21:14.000Z
2019-01-09T17:21:14.000Z
dreal/optimization/nlopt_optimizer.cc
em-mcg/dreal4
d89ee2ebb2d879d08cab977496155a440782870a
[ "Apache-2.0" ]
null
null
null
dreal/optimization/nlopt_optimizer.cc
em-mcg/dreal4
d89ee2ebb2d879d08cab977496155a440782870a
[ "Apache-2.0" ]
null
null
null
#include "dreal/optimization/nlopt_optimizer.h" #include <cmath> #include <utility> #include "dreal/util/assert.h" #include "dreal/util/exception.h" #include "dreal/util/logging.h" namespace dreal { using std::make_unique; using std::move; using std::ostream; using std::vector; namespace { /// A function passed to...
33.579909
79
0.6644
[ "vector" ]
90a0f0f0e1b3ce5c1e19bc4162f006fbedb5226a
2,768
cpp
C++
cpp/sololearn/s25_const/s25_const.cpp
bayramcicek/py-repo
e99d8881dd3eb5296ec5dcfba4de2c3418044897
[ "Unlicense" ]
null
null
null
cpp/sololearn/s25_const/s25_const.cpp
bayramcicek/py-repo
e99d8881dd3eb5296ec5dcfba4de2c3418044897
[ "Unlicense" ]
null
null
null
cpp/sololearn/s25_const/s25_const.cpp
bayramcicek/py-repo
e99d8881dd3eb5296ec5dcfba4de2c3418044897
[ "Unlicense" ]
null
null
null
// C11 standard // created by cicek on Feb 03, 2021 9:49 PM #include <iostream> #include <string> #include "s25_const.h" using namespace std; /* * Only non-const objects can call non-const functions. A constant object can't call regular functions. Hence, for a constant object to work you need a constant function. ...
29.763441
119
0.692558
[ "object" ]
90a7c586c845213558c091f7922ec545a7440bf0
5,368
cpp
C++
storage/storage_builder.cpp
mapsme/travelguide
26dd50b93f55ef731175c19d12514da5bace9fa4
[ "Apache-2.0" ]
61
2015-12-05T19:34:20.000Z
2021-06-25T09:07:09.000Z
storage/storage_builder.cpp
mapsme/travelguide
26dd50b93f55ef731175c19d12514da5bace9fa4
[ "Apache-2.0" ]
9
2016-02-19T23:22:20.000Z
2017-01-03T18:41:04.000Z
storage/storage_builder.cpp
mapsme/travelguide
26dd50b93f55ef731175c19d12514da5bace9fa4
[ "Apache-2.0" ]
35
2015-12-17T00:09:14.000Z
2021-01-27T10:47:11.000Z
#include "storage_builder.hpp" #include "../env/writer.hpp" #include "../env/assert.hpp" #include "../env/logging.hpp" #include "../env/latlon.hpp" #include "../std/fstream.hpp" #include "../std/iterator.hpp" namespace { template <class ToDo> void ProcessEntriesFile(string const & path, ToDo & toDo) { ifstream f...
19.881481
90
0.625931
[ "vector" ]
90ad1bb9db81c7e4d0ce8986b5d2d477ac7d50a6
1,483
cpp
C++
test/geo_test.cpp
hec12/nocow_library
1993006627bc0f1d1e9d4678a00685ca6bd5e611
[ "MIT" ]
null
null
null
test/geo_test.cpp
hec12/nocow_library
1993006627bc0f1d1e9d4678a00685ca6bd5e611
[ "MIT" ]
null
null
null
test/geo_test.cpp
hec12/nocow_library
1993006627bc0f1d1e9d4678a00685ca6bd5e611
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define _overload(_1,_2,_3,name,...) name #define _rep(i,n) _range(i,0,n) #define _range(i,a,b) for(int i=int(a);i<int(b);++i) #define rep(...) _overload(__VA_ARGS__,_range,_rep,)(__VA_ARGS__) #define _rrep(i,n) _rrange(i,n,0) #define _rrange(i,a,b) for(int i=int(a)-1;i>=int(b);--i) #define r...
29.078431
73
0.641268
[ "vector" ]
ff964b009032851fa4bd9cd5b7e8c9a2a917f272
16,210
cc
C++
pcraster/pcraster-4.2.0/pcraster-4.2.0/source/fern/source/fern/algorithm/core/test/unary_local_operation_test.cc
quanpands/wflow
b454a55e4a63556eaac3fbabd97f8a0b80901e5a
[ "MIT" ]
null
null
null
pcraster/pcraster-4.2.0/pcraster-4.2.0/source/fern/source/fern/algorithm/core/test/unary_local_operation_test.cc
quanpands/wflow
b454a55e4a63556eaac3fbabd97f8a0b80901e5a
[ "MIT" ]
null
null
null
pcraster/pcraster-4.2.0/pcraster-4.2.0/source/fern/source/fern/algorithm/core/test/unary_local_operation_test.cc
quanpands/wflow
b454a55e4a63556eaac3fbabd97f8a0b80901e5a
[ "MIT" ]
null
null
null
// ----------------------------------------------------------------------------- // Fern © Geoneric // // This file is part of Geoneric Fern which is available under the terms of // the GNU General Public License (GPL), version 2. If you do not want to // be bound by the terms of the GPL, you may purchase a proprietary...
29.634369
80
0.605552
[ "vector" ]
ff9a6d3269750f12d3d5f146d4534b638f3e63cb
662
cpp
C++
C or C++/party.cpp
amitShindeGit/Miscellaneous-Programs
11aa892628f44b51a8723d5f282d64f867b01be2
[ "MIT" ]
3
2020-11-01T05:48:04.000Z
2021-04-25T05:33:47.000Z
C or C++/party.cpp
amitShindeGit/Miscellaneous-Programs
11aa892628f44b51a8723d5f282d64f867b01be2
[ "MIT" ]
null
null
null
C or C++/party.cpp
amitShindeGit/Miscellaneous-Programs
11aa892628f44b51a8723d5f282d64f867b01be2
[ "MIT" ]
3
2020-10-31T05:29:55.000Z
2021-06-19T09:33:53.000Z
#include <bits/stdc++.h> //problem: https://codeforces.com/problemset/problem/115/A using std::cin; using std::cout; using std::vector; using std::ios_base; using std::unordered_map; using std::max; using std::endl; unordered_map<int,vector<int>> g; int n; int countDFS(int i) { int c=0; for(auto k=g[i].begin()...
16.55
58
0.561934
[ "vector" ]
ff9f97c0266d4f647207e123f01d6c59c40aff2b
3,205
hpp
C++
wrap.hpp
zaimoni/Iskandria
b056d2ba359b814db02aab42eba8d5f7f5ca7a1a
[ "BSL-1.0" ]
2
2019-11-23T12:35:49.000Z
2022-02-10T08:27:54.000Z
wrap.hpp
zaimoni/Iskandria
b056d2ba359b814db02aab42eba8d5f7f5ca7a1a
[ "BSL-1.0" ]
8
2019-11-15T08:13:48.000Z
2020-04-29T00:35:42.000Z
wrap.hpp
zaimoni/Iskandria
b056d2ba359b814db02aab42eba8d5f7f5ca7a1a
[ "BSL-1.0" ]
null
null
null
#ifndef WRAP_HPP #define WRAP_HPP 1 #include "object.hpp" #include "world_manager.hpp" namespace isk { template<class T> class Wrap : public Object { public: T _x; // the type being enabled for the ECS simulation Wrap() = default; Wrap(const Wrap& src) = default; Wrap(Wrap&& src) = default; Wr...
23.394161
107
0.626833
[ "object", "vector" ]
ffa1c4d2bf38e4a40c43e700518f7b07090a330b
13,402
cpp
C++
android-28/android/graphics/Bitmap.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-28/android/graphics/Bitmap.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-28/android/graphics/Bitmap.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#include "../../JByteArray.hpp" #include "../../JIntArray.hpp" #include "./Bitmap_CompressFormat.hpp" #include "./Bitmap_Config.hpp" #include "./Canvas.hpp" #include "./ColorSpace.hpp" #include "./Matrix.hpp" #include "./Paint.hpp" #include "./Picture.hpp" #include "../os/Parcel.hpp" #include "../util/DisplayMetrics.hp...
22.152066
195
0.677959
[ "object" ]
ffa32f44edbdb08d5ba7c2bfaa99bf725b950231
13,303
hpp
C++
include/hosts.hpp
dacom-core/unicore
4fff619e3043f39d77e40d1612abb4dcbddc6649
[ "MIT" ]
null
null
null
include/hosts.hpp
dacom-core/unicore
4fff619e3043f39d77e40d1612abb4dcbddc6649
[ "MIT" ]
null
null
null
include/hosts.hpp
dacom-core/unicore
4fff619e3043f39d77e40d1612abb4dcbddc6649
[ "MIT" ]
null
null
null
// #include <eosio/transaction.hpp> // #include <eosio.system/native.hpp> #include "exchange_state.hpp" #include "../src/exchange_state.cpp" #include <eosio/crypto.hpp> uint128_t combine_ids(const uint64_t &x, const uint64_t &y) { return (uint128_t{x} << 64) | y; }; /*! \brief Структура основных ...
32.055422
274
0.635421
[ "vector", "model" ]
ffa5e9b91f4706442c6c2263a634367741468c38
2,028
hpp
C++
include/stats_incl/misc/matrix_ops/sum_absdiff.hpp
JohnGalbraith/stats
309c0e92d2326a58cad4544124c614e6a8a46079
[ "Apache-2.0" ]
381
2017-07-16T17:34:02.000Z
2022-03-30T09:47:58.000Z
include/stats_incl/misc/matrix_ops/sum_absdiff.hpp
myhhub/stats
309c0e92d2326a58cad4544124c614e6a8a46079
[ "Apache-2.0" ]
29
2017-07-14T20:45:42.000Z
2022-01-25T20:59:08.000Z
include/stats_incl/misc/matrix_ops/sum_absdiff.hpp
myhhub/stats
309c0e92d2326a58cad4544124c614e6a8a46079
[ "Apache-2.0" ]
70
2017-10-25T14:16:11.000Z
2022-01-25T20:57:02.000Z
/*################################################################################ ## ## Copyright (C) 2011-2021 Keith O'Hara ## ## This file is part of the StatsLib C++ library. ## ## Licensed under the Apache License, Version 2.0 (the "License"); ## you may not use this file except in compliance...
27.04
87
0.631164
[ "vector" ]
ffa5f69aebaf21b2d6c75ae646ab695a6a974620
2,411
inl
C++
Math/Math/math/Vector3D.inl
sunshineheader/Math
58578625465abfb91fc97ce7110328b41762c23f
[ "Apache-2.0" ]
null
null
null
Math/Math/math/Vector3D.inl
sunshineheader/Math
58578625465abfb91fc97ce7110328b41762c23f
[ "Apache-2.0" ]
null
null
null
Math/Math/math/Vector3D.inl
sunshineheader/Math
58578625465abfb91fc97ce7110328b41762c23f
[ "Apache-2.0" ]
null
null
null
#include "Vector3D.h" using Math::Vector3D; inline Vector3D::Vector3D() :x(0.0f), y(0.0f), z(0.0f) {} inline Vector3D::Vector3D(const Vector3D & copy) : x(copy.x), y(copy.y), z(copy.z) {} inline Vector3D::Vector3D(float xx, float yy, float zz) : x(xx), y(yy), z(zz) {} inline Vector3D::~Vector3D() {} inline ...
19.443548
72
0.687681
[ "vector" ]
ffa6bbe65fd1c118de2dcb7d48b33e674c0e65ab
254,987
hpp
C++
SDK/ARKSurvivalEvolved_SpaceDolphin_Character_BP_classes.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_SpaceDolphin_Character_BP_classes.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_SpaceDolphin_Character_BP_classes.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
3
2020-07-22T17:42:07.000Z
2021-06-19T17:16:13.000Z
#pragma once // ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_SpaceDolphin_Character_BP_structs.hpp" namespace sdk { //--------------------------------------------------------------------------- //Classes //-----------------------------------------------...
158.475451
519
0.553969
[ "mesh" ]
ffac79455ef70221e1d5ab12cee96c559d8f4ae2
5,251
hpp
C++
include/Org/BouncyCastle/Asn1/Asn1TaggedObject.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/Org/BouncyCastle/Asn1/Asn1TaggedObject.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/Org/BouncyCastle/Asn1/Asn1TaggedObject.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: Org.BouncyCastle.Asn1.Asn1Object #include "Org/BouncyCastle/Asn1/Asn1O...
51.480392
176
0.71015
[ "object" ]
ffade530593d1c3baaf6616e2c0de078e5dfe44e
7,127
cc
C++
bess/core/dpdk.cc
JackKuo-tw/BESSGreatFirewall
5a2d814df8ce508263eba1fcd4a2641c8f625402
[ "BSD-3-Clause" ]
1
2020-06-22T13:21:43.000Z
2020-06-22T13:21:43.000Z
bess/core/dpdk.cc
JackKuo-tw/BESSGreatFirewall
5a2d814df8ce508263eba1fcd4a2641c8f625402
[ "BSD-3-Clause" ]
null
null
null
bess/core/dpdk.cc
JackKuo-tw/BESSGreatFirewall
5a2d814df8ce508263eba1fcd4a2641c8f625402
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2014-2016, The Regents of the University of California. // Copyright (c) 2016-2017, Nefeli Networks, Inc. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Redistributio...
29.329218
80
0.660727
[ "vector" ]
ffb05415cc03e6c49b67b148cd26c16598679c77
3,980
cpp
C++
src/make_groundtruth_in_ascii.cpp
kampersanda/consistent_weighted_sampling
6fbcf372a23d778b4f346e1c181004d7a9e555c0
[ "MIT" ]
6
2019-07-22T08:53:14.000Z
2021-12-21T22:03:37.000Z
src/make_groundtruth_in_ascii.cpp
tonellotto/consistent_weighted_sampling
7d006b484ee4f3dfa048036210028fd239d2500a
[ "MIT" ]
null
null
null
src/make_groundtruth_in_ascii.cpp
tonellotto/consistent_weighted_sampling
7d006b484ee4f3dfa048036210028fd239d2500a
[ "MIT" ]
2
2021-02-17T17:09:58.000Z
2021-03-01T11:09:33.000Z
#include "cmdline.h" #include "misc.hpp" using namespace ascii_format; template <int Flags> int run(const cmdline::parser& p) { auto base_fn = p.get<string>("base_fn"); auto query_fn = p.get<string>("query_fn"); auto groundtruth_fn = p.get<string>("groundtruth_fn"); auto begin_id = p.get<uint32_t>("be...
34.912281
101
0.573618
[ "vector" ]
ffb1809070fef638b3bf261f03e00b01aab6b188
5,917
cpp
C++
serialization.cpp
edahlseng/duperagent
2dc0f4f41aa897c46aa42b4f6d76aa69c0a0c1d9
[ "MIT" ]
54
2016-01-12T15:12:32.000Z
2021-11-09T11:46:39.000Z
serialization.cpp
edahlseng/duperagent
2dc0f4f41aa897c46aa42b4f6d76aa69c0a0c1d9
[ "MIT" ]
21
2016-08-03T22:14:47.000Z
2021-04-08T07:36:32.000Z
serialization.cpp
edahlseng/duperagent
2dc0f4f41aa897c46aa42b4f6d76aa69c0a0c1d9
[ "MIT" ]
27
2016-02-10T10:36:06.000Z
2021-07-02T05:46:29.000Z
// Copyright 2016 Cutehacks AS. All rights reserved. // License can be found in the LICENSE file. #include <QtCore/QJsonDocument> #include <QtCore/QJsonArray> #include <QtCore/QJsonObject> #include <QtCore/QStringBuilder> #include <QtCore/QUrlQuery> #include <QtQml/QQmlEngine> #include "serialization.h" #if QT_VERSI...
29.004902
98
0.664526
[ "object" ]
ffb7741f11e5e09834f3d49666c2b37016401d6f
2,939
cpp
C++
Sources/Elastos/LibCore/src/org/apache/harmony/security/x501/CAttributeTypeAndValueComparator.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
7
2017-07-13T10:34:54.000Z
2021-04-16T05:40:35.000Z
Sources/Elastos/LibCore/src/org/apache/harmony/security/x501/CAttributeTypeAndValueComparator.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
null
null
null
Sources/Elastos/LibCore/src/org/apache/harmony/security/x501/CAttributeTypeAndValueComparator.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 // // ...
28.533981
98
0.585573
[ "object" ]
ffbf5b1a7ea5a2e7fcfce90f7a7017326efabeae
2,148
hpp
C++
include/public/coherence/io/pof/ThrowablePofSerializer.hpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
6
2020-07-01T21:38:30.000Z
2021-11-03T01:35:11.000Z
include/public/coherence/io/pof/ThrowablePofSerializer.hpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
1
2020-07-24T17:29:22.000Z
2020-07-24T18:29:04.000Z
include/public/coherence/io/pof/ThrowablePofSerializer.hpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
6
2020-07-10T18:40:58.000Z
2022-02-18T01:23:40.000Z
/* * Copyright (c) 2000, 2020, Oracle and/or its affiliates. * * Licensed under the Universal Permissive License v 1.0 as shown at * http://oss.oracle.com/licenses/upl. */ #ifndef COH_THROWABLE_POF_SERIALIZER_HPP #define COH_THROWABLE_POF_SERIALIZER_HPP #include "coherence/lang.ns" #include "coherence/io/pof/Pof...
26.85
79
0.635009
[ "object" ]
ffc87767f281cc31be43bc807fdae4d44c83e900
2,885
cpp
C++
modules/Render/RenderBootstrap/test/FixtureBase.cpp
akb825/DeepSea
fff790d0a472cf2f9f89de653e0b4470ce605d24
[ "Apache-2.0" ]
5
2018-11-17T23:13:22.000Z
2021-09-30T13:37:04.000Z
modules/Render/RenderBootstrap/test/FixtureBase.cpp
akb825/DeepSea
fff790d0a472cf2f9f89de653e0b4470ce605d24
[ "Apache-2.0" ]
null
null
null
modules/Render/RenderBootstrap/test/FixtureBase.cpp
akb825/DeepSea
fff790d0a472cf2f9f89de653e0b4470ce605d24
[ "Apache-2.0" ]
2
2019-09-23T12:23:35.000Z
2020-04-07T05:31:06.000Z
/* * Copyright 2019-2021 Aaron Barany * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
32.41573
96
0.776776
[ "render", "vector" ]
ffd02eb75c65c7eecbce4d1ac380a5ea7e55e3d7
4,066
hpp
C++
semantic_icp/impl/semantic_point_cloud.hpp
kxhit/semantic-icp
1405daacd92becafe1d3e589c6eeb90c893787a4
[ "BSD-3-Clause" ]
21
2020-03-09T04:21:32.000Z
2022-03-24T07:16:41.000Z
semantic_icp/impl/semantic_point_cloud.hpp
jtpils/semantic-icp
1405daacd92becafe1d3e589c6eeb90c893787a4
[ "BSD-3-Clause" ]
null
null
null
semantic_icp/impl/semantic_point_cloud.hpp
jtpils/semantic-icp
1405daacd92becafe1d3e589c6eeb90c893787a4
[ "BSD-3-Clause" ]
9
2019-04-19T06:28:56.000Z
2022-03-21T05:18:32.000Z
#ifndef SEMANTIC_POINT_CLOUD_HPP_ #define SEMANTIC_POINT_CLOUD_HPP_ #include <cmath> #include <iostream> #include <pcl/common/transforms.h> namespace semanticicp { template<typename PointT, typename SemanticT> void SemanticPointCloud<PointT, SemanticT>::addSemanticCloud( SemanticT label, PointCl...
35.051724
100
0.482784
[ "vector", "transform" ]
ffd3dea8acf6798bfdba46d698dceabd150159ff
1,844
cpp
C++
modules/core/exponential/cover/simd/expx2.cpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
34
2017-05-19T18:10:17.000Z
2022-01-04T02:18:13.000Z
modules/core/exponential/cover/simd/expx2.cpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
null
null
null
modules/core/exponential/cover/simd/expx2.cpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
7
2017-12-02T12:59:17.000Z
2021-07-31T12:46:14.000Z
//============================================================================== // Copyright 2003 - 2014 LASMEA UMR 6602 CNRS/UBP // Copyright 2009 - 2014 LRI UMR 8623 CNRS/Univ Paris Sud XI // // Distributed under the Boost Software License, Version 1.0. // See accompan...
36.156863
99
0.558568
[ "vector" ]
ffda8218a2924ae966b73699297c74f35ef21f1a
871
hpp
C++
include/RavEngine/RMLFileInterface.hpp
Ravbug/RavEngine
73249827cb2cd3c938bb59447e9edbf7b6f0defc
[ "Apache-2.0" ]
48
2020-11-18T23:14:25.000Z
2022-03-11T09:13:42.000Z
include/RavEngine/RMLFileInterface.hpp
Ravbug/RavEngine
73249827cb2cd3c938bb59447e9edbf7b6f0defc
[ "Apache-2.0" ]
1
2020-11-17T20:53:10.000Z
2020-12-01T20:27:36.000Z
include/RavEngine/RMLFileInterface.hpp
Ravbug/RavEngine
73249827cb2cd3c938bb59447e9edbf7b6f0defc
[ "Apache-2.0" ]
3
2020-12-22T02:40:39.000Z
2021-10-08T02:54:22.000Z
#pragma once #include <RmlUi/Core/FileInterface.h> #include "VirtualFileSystem.hpp" namespace RavEngine{ class VFSInterface : public Rml::FileInterface{ private: struct VFShandle{ RavEngine::Vector<uint8_t> filedata; long offset = 0; inline size_t size_bytes() const{ return filedata.size() * sizeof(de...
26.393939
71
0.731343
[ "vector" ]
ffdd5271b6232273bd5726dbdfe64739b8e41b21
14,895
cpp
C++
src/graphlab/docs/distgl.cpp
iivek/graphlab-cmu-mirror
028321757ea979e6a0859687e37933be375153eb
[ "ECL-2.0", "Apache-2.0" ]
1
2018-08-01T06:32:58.000Z
2018-08-01T06:32:58.000Z
src/graphlab/docs/distgl.cpp
iivek/graphlab-cmu-mirror
028321757ea979e6a0859687e37933be375153eb
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/graphlab/docs/distgl.cpp
iivek/graphlab-cmu-mirror
028321757ea979e6a0859687e37933be375153eb
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/** * Copyright (c) 2009 Carnegie Mellon University. * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2...
52.08042
121
0.8047
[ "object" ]
ffde5d7d31715a233063ec5390fa91bfa4b160e2
16,057
cpp
C++
Code/Source/blocks.cpp
aparis69/Rock-fracturing
3f0d626cb63fb184a07384dd5d443e863ef7c4b9
[ "MIT" ]
41
2020-10-08T00:16:10.000Z
2022-01-27T19:31:44.000Z
Code/Source/blocks.cpp
aparis69/Rock-fracturing
3f0d626cb63fb184a07384dd5d443e863ef7c4b9
[ "MIT" ]
1
2020-12-15T12:14:35.000Z
2021-01-05T08:55:27.000Z
Code/Source/blocks.cpp
aparis69/Rock-fracturing
3f0d626cb63fb184a07384dd5d443e863ef7c4b9
[ "MIT" ]
3
2021-02-17T01:05:10.000Z
2022-01-27T19:31:41.000Z
#include "blocks.h" #include <queue> // Source: https://github.com/leomccormack/convhull_3d #define CONVHULL_3D_ENABLE #include "convhull_3d.h" // Source: https://github.com/aparis69/MarchingCubeCpp #define MC_IMPLEM_ENABLE #include "MC.h" // Source: http://nothings.org/stb #define STB_IMAGE_IMPLEMENTATION #include ...
27.925217
180
0.668929
[ "mesh", "vector", "3d" ]
ffe1b044134a68a22d7dd778be9d0a0616bbf1bd
1,227
cpp
C++
test/aoj/0343.test.cpp
toyama1710/cpp_library
867a6da52f51ed38ee295a451a1b102c9b000743
[ "CC0-1.0" ]
10
2019-08-11T11:03:47.000Z
2022-02-08T07:01:31.000Z
test/aoj/0343.test.cpp
toyama1710/cpp_library
867a6da52f51ed38ee295a451a1b102c9b000743
[ "CC0-1.0" ]
null
null
null
test/aoj/0343.test.cpp
toyama1710/cpp_library
867a6da52f51ed38ee295a451a1b102c9b000743
[ "CC0-1.0" ]
1
2020-03-02T06:40:06.000Z
2020-03-02T06:40:06.000Z
#define PROBLEM "https://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0343" #include <iostream> #include <vector> #include "../../bbst/avl_set.hpp" #define _overload(_1, _2, _3, _4, name, ...) name #define _rep1(Itr, N) _rep3(Itr, 0, N, 1) #define _rep2(Itr, a, b) _rep3(Itr, a, b, 1) #define _rep3(Itr, a, b, ste...
25.040816
80
0.520782
[ "vector" ]
ffebbc93cd6e6d1e141e78e203e76ca2ba397d50
480
cpp
C++
Dataset/Leetcode/test/94/240.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/test/94/240.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/test/94/240.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution { public: vector<int> XXX(TreeNode* root) { stack<TreeNode*> s; TreeNode * p = root; vector<int> ret; while(!s.empty()||p!=nullptr){ if(p!=nullptr) { s.push(p); p = p->left; } else{ p...
20
38
0.35
[ "vector" ]
ffede502093d274707427a9333f9912867e273ed
15,034
cpp
C++
src/renderer/vulkan/Device.cpp
suijingfeng/bsp_vulkan
8f96b164b30d6860e2a2861e1809bf693f0c8de0
[ "MIT" ]
2
2021-07-29T19:56:03.000Z
2021-09-13T12:06:06.000Z
src/renderer/vulkan/Device.cpp
suijingfeng/bsp_vulkan
8f96b164b30d6860e2a2861e1809bf693f0c8de0
[ "MIT" ]
null
null
null
src/renderer/vulkan/Device.cpp
suijingfeng/bsp_vulkan
8f96b164b30d6860e2a2861e1809bf693f0c8de0
[ "MIT" ]
null
null
null
#include "Device.hpp" #include "Validation.hpp" #include "../../Utils.hpp" #include <algorithm> #include <cstring> namespace vk { // helper struct to avoid passing tons of args to functions struct SwapChainInfo { VkSurfaceCapabilitiesKHR surfaceCaps = {}; VkSurfaceFormatKHR *for...
44.877612
153
0.64547
[ "vector" ]
fff53a870e1ee7a4c21a8fd0e46593f2618a45ef
6,932
cpp
C++
simulation_program/basins.cpp
lydiasteiner/epimem
2df5f4807acf4e3044848e0b04cff357cbe77db7
[ "CC0-1.0" ]
null
null
null
simulation_program/basins.cpp
lydiasteiner/epimem
2df5f4807acf4e3044848e0b04cff357cbe77db7
[ "CC0-1.0" ]
null
null
null
simulation_program/basins.cpp
lydiasteiner/epimem
2df5f4807acf4e3044848e0b04cff357cbe77db7
[ "CC0-1.0" ]
1
2020-08-17T11:44:26.000Z
2020-08-17T11:44:26.000Z
#include <cstdlib> #include <cstdio> #include <iostream> #include <sstream> #include <fstream> #include <deque> #include <time.h> /* time */ #include "model.hpp" #include <stdio.h> #include <stdlib.h> #include <algorithm> #include <cstring> #include <map> #include <vector> #include <cmath> #include <random> #incl...
29.751073
112
0.597952
[ "vector", "model" ]
fff90e505b16e6212e7039a95606817f9c7c85e4
2,623
cpp
C++
src/chrono/physics/ChLoadContainer.cpp
jcmadsen/chrono
d332a6941dc6046bfc5f2caceb2d5e43709b9334
[ "BSD-3-Clause" ]
null
null
null
src/chrono/physics/ChLoadContainer.cpp
jcmadsen/chrono
d332a6941dc6046bfc5f2caceb2d5e43709b9334
[ "BSD-3-Clause" ]
null
null
null
src/chrono/physics/ChLoadContainer.cpp
jcmadsen/chrono
d332a6941dc6046bfc5f2caceb2d5e43709b9334
[ "BSD-3-Clause" ]
null
null
null
// ============================================================================= // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2014 projectchrono.org // All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found // in the LICENSE file at the top level of t...
35.931507
121
0.599314
[ "object", "vector" ]
fffbd3205af64748952b5db10e70bdb7c78d528d
16,979
hpp
C++
c++/include/corelib/ncbi_safe_static.hpp
OpenHero/gblastn
a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8
[ "MIT" ]
31
2016-12-09T04:56:59.000Z
2021-12-31T17:19:10.000Z
c++/include/corelib/ncbi_safe_static.hpp
OpenHero/gblastn
a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8
[ "MIT" ]
6
2017-03-10T17:25:13.000Z
2021-09-22T15:49:49.000Z
c++/include/corelib/ncbi_safe_static.hpp
OpenHero/gblastn
a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8
[ "MIT" ]
20
2015-01-04T02:15:17.000Z
2021-12-03T02:31:43.000Z
#ifndef NCBI_SAFE_STATIC__HPP #define NCBI_SAFE_STATIC__HPP /* $Id: ncbi_safe_static.hpp 337189 2011-09-09 13:04:25Z lavr $ * =========================================================================== * * PUBLIC DOMAIN NOTICE * National Center for Biotechnology Informatio...
29.683566
79
0.593675
[ "object" ]
fffd9fab5da4532f8d436e65a20ca00decf1abac
7,966
cpp
C++
demo/waveplot/flatui.cpp
HangYongmao/quc
ce33d0e0bd36ec5b777ca312d0c88f27169bace1
[ "MIT" ]
19
2019-09-05T07:11:16.000Z
2021-12-17T09:30:50.000Z
demo/waveplot/flatui.cpp
zhoujuan-ht17/quc
ce33d0e0bd36ec5b777ca312d0c88f27169bace1
[ "MIT" ]
null
null
null
demo/waveplot/flatui.cpp
zhoujuan-ht17/quc
ce33d0e0bd36ec5b777ca312d0c88f27169bace1
[ "MIT" ]
22
2019-08-13T06:50:31.000Z
2022-03-22T12:52:22.000Z
#include "flatui.h" #include "qpushbutton.h" #include "qlineedit.h" #include "qprogressbar.h" #include "qslider.h" #include "qradiobutton.h" #include "qcheckbox.h" #include "qscrollbar.h" FlatUI *FlatUI::self = 0; FlatUI::FlatUI(QObject *parent) : QObject(parent) { } void FlatUI::setPushButtonQss(QPushButton *btn, ...
49.7875
151
0.679011
[ "solid" ]
fffe324359b1e301337fd61027798c5a23060590
8,521
cpp
C++
cdb/src/v20170320/model/AuditRule.cpp
sinjoywong/tencentcloud-sdk-cpp
1b931d20956a90b15a6720f924e5c69f8786f9f4
[ "Apache-2.0" ]
null
null
null
cdb/src/v20170320/model/AuditRule.cpp
sinjoywong/tencentcloud-sdk-cpp
1b931d20956a90b15a6720f924e5c69f8786f9f4
[ "Apache-2.0" ]
null
null
null
cdb/src/v20170320/model/AuditRule.cpp
sinjoywong/tencentcloud-sdk-cpp
1b931d20956a90b15a6720f924e5c69f8786f9f4
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
28.029605
133
0.667058
[ "vector", "model" ]
080a30344bd7dd691079c7e9e9df1ee8a7ff3a20
123,465
cpp
C++
ds/security/services/ca/initlib/initlib.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
ds/security/services/ca/initlib/initlib.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
ds/security/services/ca/initlib/initlib.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, 1995 - 1999 // // File: initlib.cpp // // Contents: Install cert server // //-------------------------------------------------------------------------- ...
24.912228
130
0.586563
[ "object" ]
08197aadcdbd9f3734c65ef561f53cd3e915f110
2,534
cpp
C++
inference-engine/src/transformations/src/transformations/convert_opset3_to_opset2/convert_topk3.cpp
vladimir-paramuzov/openvino
b6a05c232ed8536689be5e67d7fc597a4f654fef
[ "Apache-2.0" ]
null
null
null
inference-engine/src/transformations/src/transformations/convert_opset3_to_opset2/convert_topk3.cpp
vladimir-paramuzov/openvino
b6a05c232ed8536689be5e67d7fc597a4f654fef
[ "Apache-2.0" ]
1
2021-09-09T08:43:57.000Z
2021-09-10T12:39:16.000Z
inference-engine/src/transformations/src/transformations/convert_opset3_to_opset2/convert_topk3.cpp
vladimir-paramuzov/openvino
b6a05c232ed8536689be5e67d7fc597a4f654fef
[ "Apache-2.0" ]
null
null
null
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "transformations/convert_opset3_to_opset2/convert_topk3.hpp" #include <memory> #include <vector> #include <ngraph/opsets/opset1.hpp> #include <ngraph/opsets/opset2.hpp> #include <ngraph/opsets/opset3.hpp> #include <ngraph...
44.45614
122
0.6618
[ "shape", "vector" ]
08199ece96c0680b027eec33ec756a7401ee3a52
6,567
cpp
C++
tests/unit/sdk/test_pixie_util.cpp
xiallc/pixie_sdk
a6cf38b0a0d73a55955f4f906f789ee16eb848d4
[ "Apache-2.0" ]
2
2021-04-14T13:58:50.000Z
2021-08-09T19:42:25.000Z
tests/unit/sdk/test_pixie_util.cpp
xiallc/pixie_sdk
a6cf38b0a0d73a55955f4f906f789ee16eb848d4
[ "Apache-2.0" ]
1
2021-08-31T10:32:07.000Z
2021-09-03T15:03:00.000Z
tests/unit/sdk/test_pixie_util.cpp
xiallc/pixie_sdk
a6cf38b0a0d73a55955f4f906f789ee16eb848d4
[ "Apache-2.0" ]
1
2022-03-25T12:32:52.000Z
2022-03-25T12:32:52.000Z
/* SPDX-License-Identifier: Apache-2.0 */ /* * Copyright 2021 XIA LLC, 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/LICE...
40.042683
100
0.540429
[ "vector" ]
081fd0c2fa9041e4c11db2a70f93c7389ff7d215
17,234
cpp
C++
Engine/source/interior/pathedInterior.cpp
baktubak/Torque3D
c26235c5b81ed55b231af86254d740ce17540d25
[ "MIT" ]
6
2015-06-01T15:44:43.000Z
2021-01-07T06:50:21.000Z
Engine/source/interior/pathedInterior.cpp
timmgt/Torque3D
ebc6c9cf3a2c7642b2cd30be3726810a302c3deb
[ "Unlicense" ]
null
null
null
Engine/source/interior/pathedInterior.cpp
timmgt/Torque3D
ebc6c9cf3a2c7642b2cd30be3726810a302c3deb
[ "Unlicense" ]
10
2015-01-05T15:58:31.000Z
2021-11-20T14:05:46.000Z
//----------------------------------------------------------------------------- // Copyright (c) 2012 GarageGames, LLC // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to // deal in the Software without restrictio...
29.359455
115
0.63189
[ "object" ]
08285e8aed79a860772fb66d6d1a54fb7f178875
5,755
cpp
C++
src/libpkg/example_qt/server.cpp
rock16/brlcad
8bdec337e490b31b16b638838f429160d6b877e8
[ "BSD-4-Clause", "BSD-3-Clause" ]
null
null
null
src/libpkg/example_qt/server.cpp
rock16/brlcad
8bdec337e490b31b16b638838f429160d6b877e8
[ "BSD-4-Clause", "BSD-3-Clause" ]
null
null
null
src/libpkg/example_qt/server.cpp
rock16/brlcad
8bdec337e490b31b16b638838f429160d6b877e8
[ "BSD-4-Clause", "BSD-3-Clause" ]
null
null
null
/* S E R V E R . C * BRL-CAD * * Copyright (c) 2006-2022 United States Government as represented by * the U.S. Army Research Laboratory. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * version 2.1 as p...
26.040724
90
0.669505
[ "cad" ]
082a97395f6afe0cc6d0f721b6880ae19d4c884d
8,775
cpp
C++
lib/lambdapure/ReferenceRewritePattern.cpp
bollu/lz
f5d09b70956072a56c1d9cc0e6907a0261c108a5
[ "Apache-2.0" ]
12
2020-12-12T17:54:33.000Z
2022-01-12T00:34:37.000Z
lib/lambdapure/ReferenceRewritePattern.cpp
bollu/lz
f5d09b70956072a56c1d9cc0e6907a0261c108a5
[ "Apache-2.0" ]
23
2020-11-27T18:53:24.000Z
2021-12-03T15:29:24.000Z
lib/lambdapure/ReferenceRewritePattern.cpp
bollu/lz
f5d09b70956072a56c1d9cc0e6907a0261c108a5
[ "Apache-2.0" ]
1
2020-12-12T17:56:56.000Z
2020-12-12T17:56:56.000Z
#include "Hask/HaskDialect.h" #include "Hask/HaskOps.h" #include "lambdapure/Dialect.h" #include "lambdapure/Passes.h" #include "mlir/IR/Matchers.h" #include "mlir/IR/PatternMatch.h" #include <iostream> #include "mlir/Support/LLVM.h" #include "mlir/Support/LogicalResult.h" #include "mlir/Pass/Pass.h" #inc...
37.340426
82
0.543476
[ "vector" ]
082cbbf645427573827ab77a133d79317dd3ed4e
3,115
cc
C++
code/Homa/src/TubTest.cc
Lossless-Virtual-Switching/Backdraft
99e8f7acf833d1755a109898eb397c3412fff159
[ "MIT" ]
66
2018-08-07T12:04:24.000Z
2022-03-20T15:20:55.000Z
code/Homa/src/TubTest.cc
Lossless-Virtual-Switching/Backdraft
99e8f7acf833d1755a109898eb397c3412fff159
[ "MIT" ]
10
2018-04-25T19:10:01.000Z
2021-01-24T20:41:48.000Z
code/Homa/src/TubTest.cc
Lossless-Virtual-Switching/Backdraft
99e8f7acf833d1755a109898eb397c3412fff159
[ "MIT" ]
14
2018-10-19T00:47:41.000Z
2022-03-01T01:54:17.000Z
/* Copyright (c) 2010-2018, Stanford University * * 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 appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUT...
22.737226
78
0.598074
[ "vector" ]
082f59a5bad6c4ebe6eea5e8dda841239c7d50e6
3,236
cpp
C++
codechef/CLMTRO/Compilation Error.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
1
2022-02-11T16:55:36.000Z
2022-02-11T16:55:36.000Z
codechef/CLMTRO/Compilation Error.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
codechef/CLMTRO/Compilation Error.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
/**************************************************************************************** * @author: kzvd4729 created: 27-02-2019 21:26:10 * solution_verdict: Compilation Error language: C++14 * run...
31.115385
111
0.425525
[ "vector" ]
0837c6c45e33cb7c64acd3b6a0612fcff04a09fd
5,052
cpp
C++
src/util/file.cpp
jasonwhite/peclean
adc6cacdc2405a217f9ea2178b6ec3e2cdc6200c
[ "MIT" ]
251
2016-11-28T15:45:33.000Z
2022-02-25T01:56:27.000Z
src/util/file.cpp
wjk/ducible
adc6cacdc2405a217f9ea2178b6ec3e2cdc6200c
[ "MIT" ]
11
2016-09-19T03:00:35.000Z
2020-04-30T01:43:26.000Z
src/util/file.cpp
wjk/ducible
adc6cacdc2405a217f9ea2178b6ec3e2cdc6200c
[ "MIT" ]
20
2016-10-23T12:36:42.000Z
2021-02-02T07:53:18.000Z
/* * Copyright (c) 2016 Jason White * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish...
27.606557
80
0.628068
[ "object" ]
0838c795f0cdfdb14406da2c49a1b6873c30010f
31,296
cpp
C++
pepnovo/src/PepNovo_main.cpp
compomics/jwrapper-pepnovo
1bd21a4910d7515dfab7747711917176a6b5ce99
[ "Apache-2.0" ]
null
null
null
pepnovo/src/PepNovo_main.cpp
compomics/jwrapper-pepnovo
1bd21a4910d7515dfab7747711917176a6b5ce99
[ "Apache-2.0" ]
null
null
null
pepnovo/src/PepNovo_main.cpp
compomics/jwrapper-pepnovo
1bd21a4910d7515dfab7747711917176a6b5ce99
[ "Apache-2.0" ]
null
null
null
/* Copyright 2008, The Regents of the University of California All Rights Reserved Permission to use, copy, modify and distribute any part of this program for educational, research and non-profit purposes, without fee, and without a written agreement is hereby granted, provided that the above copyright notice...
31.421687
207
0.634714
[ "vector", "model" ]
083c5328b8d443a9da63ed928bc44aed47c7fec9
566
cpp
C++
src/ejemplo-pai-encapsulation2.cpp
ULL-ESIT-INF-PAI-2019-2020/2019-2020-pai-trabajo-oopp-solid-grupo-solid
dd3fa1991a86f70e8edf7aab60bc5925dc617582
[ "MIT" ]
null
null
null
src/ejemplo-pai-encapsulation2.cpp
ULL-ESIT-INF-PAI-2019-2020/2019-2020-pai-trabajo-oopp-solid-grupo-solid
dd3fa1991a86f70e8edf7aab60bc5925dc617582
[ "MIT" ]
null
null
null
src/ejemplo-pai-encapsulation2.cpp
ULL-ESIT-INF-PAI-2019-2020/2019-2020-pai-trabajo-oopp-solid-grupo-solid
dd3fa1991a86f70e8edf7aab60bc5925dc617582
[ "MIT" ]
null
null
null
/* Universidad de La Laguna Escuela Superior de Ingeniería y Tecnología Grado en Ingeniería Informática Asignatura: Programación de Aplicaciones Interactivas Curso: 3º Presentación SOLID - OOP Autor: Sergio Guerra Arencibia Correo: alu0101133201@ull.edu.es Fecha: 28/03/2020 Contenido: Program...
23.583333
56
0.734982
[ "vector", "solid" ]
0845ac86a4b9f4b0219a3aa3ee40c9d25d8ea852
16,295
cc
C++
maistra/vendor/com_google_cel_cpp/eval/public/set_util_test.cc
knm3000/proxy
f2bb57b7294aea2cb344824785be42849d7d63c9
[ "Apache-2.0" ]
3
2020-11-30T15:35:37.000Z
2022-01-06T14:17:18.000Z
maistra/vendor/com_google_cel_cpp/eval/public/set_util_test.cc
knm3000/proxy
f2bb57b7294aea2cb344824785be42849d7d63c9
[ "Apache-2.0" ]
54
2020-06-23T17:34:04.000Z
2022-03-31T02:04:06.000Z
maistra/vendor/com_google_cel_cpp/eval/public/set_util_test.cc
knm3000/proxy
f2bb57b7294aea2cb344824785be42849d7d63c9
[ "Apache-2.0" ]
12
2020-07-14T23:59:57.000Z
2022-03-22T09:59:18.000Z
#include "eval/public/set_util.h" #include <cstddef> #include "google/protobuf/empty.pb.h" #include "google/protobuf/struct.pb.h" #include "google/protobuf/arena.h" #include "google/protobuf/message.h" #include "gmock/gmock.h" #include "gtest/gtest.h" #include "absl/status/status.h" #include "absl/time/clock.h" #incl...
34.892934
80
0.69371
[ "vector" ]
36b2f867b0d09bef858f56c4a66cdf4bb5962852
2,700
cc
C++
caffe2/operators/math_ops.cc
chocjy/caffe2
1a6cef392495d969d135945d6749e6b99b37d4d9
[ "Apache-2.0" ]
585
2015-08-10T02:48:52.000Z
2021-12-01T08:46:59.000Z
caffe2/operators/math_ops.cc
mingzhe09088/caffe2
8f41717c46d214aaf62b53e5b3b9b308b5b8db91
[ "Apache-2.0" ]
23
2015-08-30T11:54:51.000Z
2017-03-06T03:01:07.000Z
caffe2/operators/math_ops.cc
mingzhe09088/caffe2
8f41717c46d214aaf62b53e5b3b9b308b5b8db91
[ "Apache-2.0" ]
183
2015-08-10T02:49:04.000Z
2021-12-01T08:47:13.000Z
/** * Copyright (c) 2016-present, Facebook, 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 ...
31.395349
75
0.601111
[ "vector" ]
36b63ea12c97d2dc490492acf52464585d52324d
1,226
cpp
C++
2020-11-27/poker.cpp
pufe/programa
7f79566597446e9e39222e6c15fa636c3dd472bb
[ "MIT" ]
2
2020-12-12T00:02:40.000Z
2021-04-21T19:49:59.000Z
2020-11-27/poker.cpp
pufe/programa
7f79566597446e9e39222e6c15fa636c3dd472bb
[ "MIT" ]
null
null
null
2020-11-27/poker.cpp
pufe/programa
7f79566597446e9e39222e6c15fa636c3dd472bb
[ "MIT" ]
null
null
null
#include <cstdio> #include <vector> #include <algorithm> using namespace std; struct hand_t { int v[4]; int set, pair, single; void setup(int a, int b, int c) { v[0] = a; v[1] = b; v[2] = c; set=0; pair=0; single=0; sort(v, v+3); if (v[0] == v[2]) { set = v[...
20.098361
58
0.442088
[ "vector" ]
36b850c6a6fc4e53e0645426d0070151319f82d8
6,110
cpp
C++
slackbot/HttpService.cpp
mogemimi/daily-snippets
d9da3db8c62538e4a37f0f6b69c5d46d55c4225f
[ "MIT" ]
14
2017-06-16T22:52:38.000Z
2022-02-14T04:11:06.000Z
slackbot/HttpService.cpp
mogemimi/daily-snippets
d9da3db8c62538e4a37f0f6b69c5d46d55c4225f
[ "MIT" ]
2
2016-03-13T14:50:04.000Z
2019-04-01T09:53:17.000Z
slackbot/HttpService.cpp
mogemimi/daily-snippets
d9da3db8c62538e4a37f0f6b69c5d46d55c4225f
[ "MIT" ]
2
2016-03-13T14:05:17.000Z
2018-09-18T01:28:42.000Z
// Copyright (c) 2015 mogemimi. Distributed under the MIT license. #include "HttpService.h" #include <algorithm> #include <cassert> namespace somera { HttpRequest::HttpRequest( const HttpRequestOptions& options, std::function<void(bool error, const std::vector<std::uint8_t>& data)> callbackIn) : callback...
26.223176
86
0.618494
[ "vector" ]
36bdfa1e2442fca4776433616896d23651d315f3
11,319
cpp
C++
src/parser.cpp
delpini/bypass
fe9c1723595432e0b69fc7172fc566695e0be509
[ "Apache-2.0" ]
2
2021-11-14T14:47:14.000Z
2021-11-14T14:47:18.000Z
src/parser.cpp
delpini/bypass
fe9c1723595432e0b69fc7172fc566695e0be509
[ "Apache-2.0" ]
null
null
null
src/parser.cpp
delpini/bypass
fe9c1723595432e0b69fc7172fc566695e0be509
[ "Apache-2.0" ]
null
null
null
// // Copyright 2013 Uncodin, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed...
29.63089
123
0.635745
[ "vector" ]
36c32370f508e5cbf916c442ced7f4a36c71c26d
5,704
cpp
C++
graph-source-code/152-E/1235568.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/152-E/1235568.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
graph-source-code/152-E/1235568.cpp
AmrARaouf/algorithm-detection
59f3028d2298804870b32729415d71eec6116557
[ "MIT" ]
null
null
null
//Language: GNU C++ #include <cstdio> #include <cstring> #include <vector> #include <algorithm> using namespace std; typedef pair <int,int> ii; typedef pair <ii,ii> i4; int n, m, s, M[128][128]; vector<vector<int> > dist[128][128]; vector<vector<ii> > paidist[128][128]; short int terminal[128][128]; ii S[12]; int ...
27.033175
82
0.430224
[ "vector" ]
36c9e314a911f4d57861c7888281aa11e95fa3d8
3,343
hpp
C++
test/comparison/libtess2.hpp
amessing/earcut.hpp
387fdf1250e9b154cab141d1bf9ccd08e134ff06
[ "ISC" ]
null
null
null
test/comparison/libtess2.hpp
amessing/earcut.hpp
387fdf1250e9b154cab141d1bf9ccd08e134ff06
[ "ISC" ]
null
null
null
test/comparison/libtess2.hpp
amessing/earcut.hpp
387fdf1250e9b154cab141d1bf9ccd08e134ff06
[ "ISC" ]
null
null
null
#pragma once #ifdef __GNUC__ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wpedantic" #endif #include "libtess2/tesselator.h" #ifdef __GNUC__ #pragma GCC diagnostic pop #endif #include <memory> #include <vector> #include <array> #include <stdexcept> template <typename Coord, typename Polygon> class Li...
31.537736
121
0.595573
[ "vector" ]
36cf2de4810aa427569b57f525c11d44a3b18105
2,308
hpp
C++
ZeroLibraries/Common/Math/SimMatrix3.hpp
jodavis42/ZeroPhysicsTestbed
e84a3f6faf16b7a4242dc049121b5338e80039f8
[ "MIT" ]
1
2022-03-26T21:08:19.000Z
2022-03-26T21:08:19.000Z
ZeroLibraries/Common/Math/SimMatrix3.hpp
jodavis42/ZeroPhysicsTestbed
e84a3f6faf16b7a4242dc049121b5338e80039f8
[ "MIT" ]
null
null
null
ZeroLibraries/Common/Math/SimMatrix3.hpp
jodavis42/ZeroPhysicsTestbed
e84a3f6faf16b7a4242dc049121b5338e80039f8
[ "MIT" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////// /// /// \file SimMatrix3.hpp /// Declaration of the SimMat3 functionality. /// /// Authors: Joshua Davis /// Copyright 2012, DigiPen Institute of Technology /// //////////////////////////////////////////////////////////////////////////////...
34.969697
79
0.740468
[ "vector", "transform" ]
36d316de47884a5056f711332c78a9e9779104ff
44,505
cpp
C++
inetsrv/msmq/src/trigger/trigobjs/trigset.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
inetsrv/msmq/src/trigger/trigobjs/trigset.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
inetsrv/msmq/src/trigger/trigobjs/trigset.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//************************************************************************************ // // Class Name : CMSMQTriggerSet // // Author : James Simpson (Microsoft Consulting Services) // // Description : This is the implementation of the MSMQTriggerSet object. This is the // main object by w...
27.523191
168
0.631637
[ "object" ]
36d7d7b3be08200635e823fbe41b6dbbc5e6bdb7
2,869
cc
C++
vod/src/model/GetMediaAuditAudioResultDetailResult.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
vod/src/model/GetMediaAuditAudioResultDetailResult.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
vod/src/model/GetMediaAuditAudioResultDetailResult.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
69
2018-01-22T09:45:52.000Z
2022-03-28T07:58:38.000Z
/* * Copyright 2009-2017 Alibaba Cloud 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...
41.57971
141
0.805856
[ "model" ]
36db5c9ee72957efe649b98d05a5b2bf8e2281f8
599
cpp
C++
splitStringByWhitespaces.cpp
nileshleve/CompCoding
e082533e57c9d6aa55845d733e6f5ff7d99ea057
[ "MIT" ]
null
null
null
splitStringByWhitespaces.cpp
nileshleve/CompCoding
e082533e57c9d6aa55845d733e6f5ff7d99ea057
[ "MIT" ]
null
null
null
splitStringByWhitespaces.cpp
nileshleve/CompCoding
e082533e57c9d6aa55845d733e6f5ff7d99ea057
[ "MIT" ]
null
null
null
#include <vector> #include <string> #include <sstream> using namespace std; int main() { string str("Split me by whitespaces"); string buf; // Have a buffer string stringstream ss(str); // Insert the string into a stream vector<string> tokens; // Create vector to hold our words while (ss >> buf)...
19.966667
76
0.689482
[ "object", "vector" ]
36dc99850558bad99142936f193aa89e55c7a5dd
2,321
hpp
C++
src/libsessionutility/sessionutility.hpp
publiqnet/mesh.pp
a85e393c0de82b5b477b48bf23f0b89f6ac82c26
[ "MIT" ]
1
2020-02-22T16:50:11.000Z
2020-02-22T16:50:11.000Z
src/libsessionutility/sessionutility.hpp
publiqnet/mesh.pp
a85e393c0de82b5b477b48bf23f0b89f6ac82c26
[ "MIT" ]
null
null
null
src/libsessionutility/sessionutility.hpp
publiqnet/mesh.pp
a85e393c0de82b5b477b48bf23f0b89f6ac82c26
[ "MIT" ]
null
null
null
#pragma once #include "global.hpp" #include <belt.pp/packet.hpp> #include <belt.pp/isocket.hpp> #include <string> #include <vector> #include <exception> #include <stdexcept> #include <chrono> #include <unordered_map> #include <memory> namespace meshpp { class SESSIONUTILITYSHARED_EXPORT nodeid_session_header { publ...
21.896226
86
0.672555
[ "vector" ]
36dcf87890fc7db0ee53c041315d81b2b2c6ffaf
803
cpp
C++
Libraries/Arrays/Inversion.cpp
ankitdixit/code-gems
bdb30ba5c714f416dbf54d479d055458bde36085
[ "MIT" ]
null
null
null
Libraries/Arrays/Inversion.cpp
ankitdixit/code-gems
bdb30ba5c714f416dbf54d479d055458bde36085
[ "MIT" ]
null
null
null
Libraries/Arrays/Inversion.cpp
ankitdixit/code-gems
bdb30ba5c714f416dbf54d479d055458bde36085
[ "MIT" ]
2
2017-09-30T06:26:02.000Z
2020-08-20T14:41:55.000Z
#include <vector> using namespace std; template <class T> int imerge(vector<T> &ary, int left, int mid, int right, vector<T> &tmp) { int l = left, r = mid + 1, i = left, inv = 0; while (l <= mid && r <= right) { if (ary[l] <= ary[r]) tmp[i++] = ary[l++]; else { tmp[i++] = ary[r++]; inv += mid - l + 1; ...
20.075
76
0.547945
[ "vector" ]
36df2830315246144b58a1033c334b547273b6d4
5,023
hpp
C++
src/mlpack/core/util/mlpack_main.hpp
MJ10/mlpack
3f87ab1d419493dead8ef59250c02cc7aacc0adb
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2021-05-02T21:10:55.000Z
2021-05-02T21:10:55.000Z
src/mlpack/core/util/mlpack_main.hpp
MJ10/mlpack
3f87ab1d419493dead8ef59250c02cc7aacc0adb
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
src/mlpack/core/util/mlpack_main.hpp
MJ10/mlpack
3f87ab1d419493dead8ef59250c02cc7aacc0adb
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
/** * @param mlpack_cli_main.hpp * @author Ryan Curtin * * This file, based on the value of the macro BINDING_TYPE, will define the * macro MLPACK_CLI_MAIN() accordingly. If BINDING_TYPE is not set, then the * behavior will be that MLPACK_CLI_MAIN() is equivalent to int main(int argc, * char** argv) with CLI::P...
31.591195
79
0.748955
[ "model" ]
36e086f01be1dc53ea22edbd43da683d5d49e57d
4,605
cpp
C++
Game/src_lib/Tile/TileMap.cpp
andershub4/forestadventure
5efb3f831a94d7ed3e45cee4ef7cf6b32f3e4157
[ "MIT" ]
null
null
null
Game/src_lib/Tile/TileMap.cpp
andershub4/forestadventure
5efb3f831a94d7ed3e45cee4ef7cf6b32f3e4157
[ "MIT" ]
9
2021-01-06T19:24:40.000Z
2021-12-25T13:38:19.000Z
Game/src_lib/Tile/TileMap.cpp
andershub4/forestadventure
5efb3f831a94d7ed3e45cee4ef7cf6b32f3e4157
[ "MIT" ]
null
null
null
/* * Copyright (C) 2021 Anders Wennmo * This file is part of forestadventure which is released under MIT license. * See file LICENSE for full license details. */ #include "TileMap.h" #include "Folder.h" #include "Logging.h" #include "Resource/TextureManager.h" namespace FA { namespace Tile { TileMap::TileMap(T...
28.079268
91
0.638871
[ "object", "vector" ]
36e59eae772bfeb183ce8f935e221a07a741c675
3,452
cc
C++
spectator/registry.cc
dmuino/spectator-cpp
0a0482b720a88699a58b0dd6367ab8f9760391a7
[ "Apache-2.0" ]
null
null
null
spectator/registry.cc
dmuino/spectator-cpp
0a0482b720a88699a58b0dd6367ab8f9760391a7
[ "Apache-2.0" ]
null
null
null
spectator/registry.cc
dmuino/spectator-cpp
0a0482b720a88699a58b0dd6367ab8f9760391a7
[ "Apache-2.0" ]
null
null
null
#include <utility> #include "logger.h" #include "registry.h" #include <fmt/ostream.h> namespace spectator { Registry::Registry(Config config) noexcept : config_{std::move(config)}, publisher_(this) {} const Config& Registry::GetConfig() const noexcept { return config_; } IdPtr Registry::CreateId(std::string na...
31.099099
79
0.727404
[ "vector" ]
36e8a6738d48a61fa339b7e72f7202b0713800ae
1,442
hpp
C++
src/libcvpg/imageproc/scripting/detail/compiler.hpp
franz-alt/cv-playground
d6c3bbdb500bf121c28299d117e459730b2b912d
[ "MIT" ]
null
null
null
src/libcvpg/imageproc/scripting/detail/compiler.hpp
franz-alt/cv-playground
d6c3bbdb500bf121c28299d117e459730b2b912d
[ "MIT" ]
null
null
null
src/libcvpg/imageproc/scripting/detail/compiler.hpp
franz-alt/cv-playground
d6c3bbdb500bf121c28299d117e459730b2b912d
[ "MIT" ]
null
null
null
// Copyright (c) 2020-2021 Franz Alt // This code is licensed under MIT license (see LICENSE.txt for details). #ifndef LIBCVPG_IMAGEPROC_SCRIPTING_DETAIL_COMPILER_HPP #define LIBCVPG_IMAGEPROC_SCRIPTING_DETAIL_COMPILER_HPP #include <cstdint> #include <memory> #include <unordered_map> #include <unordered_set> #include...
26.218182
78
0.755201
[ "vector" ]
36ed678abdeb827d707c4fecb60a22f09d549014
8,479
cpp
C++
JniOpenGL/app/src/main/cpp/stringsjnidemo.cpp
crescojeff/Android_Jni_OpenGL_Sample
9eb0611d39df0be202d3e87b4c57622b01042442
[ "MIT" ]
null
null
null
JniOpenGL/app/src/main/cpp/stringsjnidemo.cpp
crescojeff/Android_Jni_OpenGL_Sample
9eb0611d39df0be202d3e87b4c57622b01042442
[ "MIT" ]
null
null
null
JniOpenGL/app/src/main/cpp/stringsjnidemo.cpp
crescojeff/Android_Jni_OpenGL_Sample
9eb0611d39df0be202d3e87b4c57622b01042442
[ "MIT" ]
null
null
null
#include <jni.h> #include <string> #include <random> #include <iostream> #include <android/log.h> /** * These will be the first adjective, with a -ly added to modify the second adjective */ std::string adjective1Corpus[] = { "Abaft", "Abandoned", "Abased", "Abashed", "Abasic",...
32.48659
113
0.619177
[ "object" ]
36f283385dd94ce681299e6a5c81538f143b3949
1,679
cc
C++
renderer/gl/utils.cc
rrobbyflya330/House3D
258d155ba4d6c7399ed463de73bb1f1fae52979f
[ "Apache-2.0" ]
1,163
2017-12-07T17:45:44.000Z
2022-03-29T13:34:42.000Z
renderer/gl/utils.cc
rrobbyflya330/House3D
258d155ba4d6c7399ed463de73bb1f1fae52979f
[ "Apache-2.0" ]
55
2018-01-11T20:01:48.000Z
2021-03-10T08:41:01.000Z
renderer/gl/utils.cc
harunpehlivan/House3D
dea99540cf8edde41820718863429c58d9189b3f
[ "Apache-2.0" ]
181
2017-12-07T18:25:31.000Z
2022-03-25T12:51:43.000Z
// Copyright 2017-present, Facebook, Inc. // All rights reserved. // // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. //File: utils.cc #include "utils.hh" #include "lib/debugutils.hh" #include <vector> namespace render { bool tryEnableGLDebug(...
23.319444
71
0.681954
[ "render", "vector" ]
36f4809dbd788a5582f6495b851ea5d13ee0aa3d
47,794
cpp
C++
groups/bsl/bslstl/bslstl_treenodepool.t.cpp
zhanzju/bsl
1bb79982cff9bbaa3fb6d038604f04283ba76f07
[ "MIT" ]
1
2015-11-06T05:25:03.000Z
2015-11-06T05:25:03.000Z
groups/bsl/bslstl/bslstl_treenodepool.t.cpp
zhanzju/bsl
1bb79982cff9bbaa3fb6d038604f04283ba76f07
[ "MIT" ]
null
null
null
groups/bsl/bslstl/bslstl_treenodepool.t.cpp
zhanzju/bsl
1bb79982cff9bbaa3fb6d038604f04283ba76f07
[ "MIT" ]
null
null
null
// bslstl_treenodepool.t.cpp -*-C++-*- #include <bslstl_treenodepool.h> #include <bslstl_allocator.h> #include <bslalg_rbtreenode.h> #include <bslalg_rbtreeanchor.h> #include <bslalg_rbtreeutil.h> #include <bslma_allocator.h> #include <bslma_testallocator.h> #include <bslma_t...
32.162853
79
0.517722
[ "object" ]
36f54429c0dff033dec4e4d01933b8bd6f19c72a
3,400
cpp
C++
ccore/src/interface/metric_interface.cpp
JosephChataignon/pyclustering
bf4f51a472622292627ec8c294eb205585e50f52
[ "BSD-3-Clause" ]
1,013
2015-01-26T19:50:14.000Z
2022-03-31T07:38:48.000Z
ccore/src/interface/metric_interface.cpp
peterlau0626/pyclustering
bf4f51a472622292627ec8c294eb205585e50f52
[ "BSD-3-Clause" ]
542
2015-01-20T16:44:32.000Z
2022-01-29T14:57:20.000Z
ccore/src/interface/metric_interface.cpp
peterlau0626/pyclustering
bf4f51a472622292627ec8c294eb205585e50f52
[ "BSD-3-Clause" ]
262
2015-03-19T07:28:12.000Z
2022-03-30T07:28:24.000Z
/*! @authors Andrei Novikov (pyclustering@yandex.ru) @date 2014-2020 @copyright BSD-3-Clause */ #include <pyclustering/interface/metric_interface.h> #include <pyclustering/utils/metric.hpp> using namespace pyclustering; using namespace pyclustering::utils::metric; void * metric_create(const std::size_t p_type,...
30.909091
106
0.623235
[ "vector" ]
36f969b313358f8fb3d846a743a4948a787a5a03
2,458
hpp
C++
tools/compute_mean/walltimes.hpp
andy-yoo/lbann-andy
237c45c392e7a5548796ac29537ab0a374e7e825
[ "Apache-2.0" ]
null
null
null
tools/compute_mean/walltimes.hpp
andy-yoo/lbann-andy
237c45c392e7a5548796ac29537ab0a374e7e825
[ "Apache-2.0" ]
null
null
null
tools/compute_mean/walltimes.hpp
andy-yoo/lbann-andy
237c45c392e7a5548796ac29537ab0a374e7e825
[ "Apache-2.0" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2014-2016, Lawrence Livermore National Security, LLC. // Produced at the Lawrence Livermore National Laboratory. // Written by the LBANN Research Team (B. Van Essen, et al.) listed in // the CONTRIBUTORS file. <lbann-dev@l...
31.922078
80
0.6607
[ "vector" ]
36fa109941b14b90ac2d7c3bc2c3b297a7ef69ac
14,560
cpp
C++
client/src/gapi/particles.cpp
egslava/arena_shooter
c93245441ed72c63a7f628d99b766ff005b8a3dc
[ "MIT" ]
1
2021-05-11T09:06:05.000Z
2021-05-11T09:06:05.000Z
client/src/gapi/particles.cpp
egslava/arena_shooter
c93245441ed72c63a7f628d99b766ff005b8a3dc
[ "MIT" ]
null
null
null
client/src/gapi/particles.cpp
egslava/arena_shooter
c93245441ed72c63a7f628d99b766ff005b8a3dc
[ "MIT" ]
null
null
null
#include "gapi/gapi.h" #include <chrono> const char *particles_vertex_shader_code = "#version 330 core\n" "layout (location = 0) in vec3 _init_pos;\n" "layout (location = 1) in vec3 _in_w;\n" "layout (location = 2) in vec2 _init_size;\n" "layout (location = 3) in vec3 _init_velocity;\n" "layo...
40.670391
133
0.645192
[ "vector", "model" ]
36ffd44eef8c9c65202d8de973490c3bfd56987f
3,400
cpp
C++
analysis/semantic/input-generation/generators/egret/src/main.cpp
SBULeeLab/LinguaFranca-FSE19
a75bd51713d14aa9b48c32e103a3da500854f518
[ "MIT" ]
2
2021-08-03T12:15:39.000Z
2021-09-27T22:03:36.000Z
analysis/semantic/input-generation/generators/egret/src/main.cpp
SBULeeLab/LinguaFranca-FSE19
a75bd51713d14aa9b48c32e103a3da500854f518
[ "MIT" ]
null
null
null
analysis/semantic/input-generation/generators/egret/src/main.cpp
SBULeeLab/LinguaFranca-FSE19
a75bd51713d14aa9b48c32e103a3da500854f518
[ "MIT" ]
2
2020-10-15T16:48:20.000Z
2020-12-30T12:57:45.000Z
/* main.cpp: test driver for EGRET engine (used for debugging) Copyright (C) 2016-2018 Eric Larson and Anna Kirk elarson@seattleu.edu This file is part of EGRET. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as publishe...
24.113475
83
0.608235
[ "vector" ]
3c007ee168ab57a124cbb7b9efabc7338f8c57f2
11,427
cpp
C++
src/components.cpp
dgkimura/dafs
20273ea13d71bbb9ca8f6e85045c0abb1cf45aba
[ "MIT" ]
2
2018-06-29T05:59:16.000Z
2018-07-01T05:58:14.000Z
src/components.cpp
dgkimura/dafs
20273ea13d71bbb9ca8f6e85045c0abb1cf45aba
[ "MIT" ]
7
2018-06-04T16:26:37.000Z
2018-11-03T00:47:08.000Z
src/components.cpp
dgkimura/dafs
20273ea13d71bbb9ca8f6e85045c0abb1cf45aba
[ "MIT" ]
null
null
null
#include <chrono> #include <cstring> #include <boost/algorithm/string.hpp> #include <boost/filesystem.hpp> #include <boost/lexical_cast.hpp> #include "dafs/constants.hpp" #include "dafs/commit.hpp" #include "dafs/customhash.hpp" #include "dafs/details.hpp" #include "dafs/disk.hpp" #include "dafs/components.hpp" #incl...
26.451389
86
0.526822
[ "vector" ]
3c01d36af40256a94dea0136905cc413c15ad5f0
3,340
cpp
C++
ojcpp/leetcode/500/522_m_longest_uncommon_seq.cpp
softarts/oj
2f51f360a7a6c49e865461755aec2f3a7e721b9e
[ "Apache-2.0" ]
3
2019-05-04T03:26:02.000Z
2019-08-29T01:20:44.000Z
ojcpp/leetcode/500/522_m_longest_uncommon_seq.cpp
softarts/oj
2f51f360a7a6c49e865461755aec2f3a7e721b9e
[ "Apache-2.0" ]
null
null
null
ojcpp/leetcode/500/522_m_longest_uncommon_seq.cpp
softarts/oj
2f51f360a7a6c49e865461755aec2f3a7e721b9e
[ "Apache-2.0" ]
null
null
null
// // Created by rui.zhou on 3/17/2019. // /* * Given a list of strings, you need to find the longest uncommon subsequence among them. The longest uncommon subsequence is defined as the longest subsequence of one of these strings and this subsequence should not be any subsequence of the other strings. A subsequence ...
36.304348
257
0.617365
[ "vector" ]
3c04ade472adba56dec3de4ad04a1a9bd9aaebba
4,529
cpp
C++
libnd4j/include/ops/declarable/generic/convo/conv3d_ops.cpp
rexwong/deeplearning4j
96a12b3b0ee7282f245c8a0af1c90b0ce2c2ed38
[ "Apache-2.0" ]
97
2016-02-15T07:08:45.000Z
2021-05-09T17:36:38.000Z
libnd4j/include/ops/declarable/generic/convo/conv3d_ops.cpp
rexwong/deeplearning4j
96a12b3b0ee7282f245c8a0af1c90b0ce2c2ed38
[ "Apache-2.0" ]
331
2016-03-07T21:26:26.000Z
2018-06-08T07:16:15.000Z
libnd4j/include/ops/declarable/generic/convo/conv3d_ops.cpp
rexwong/deeplearning4j
96a12b3b0ee7282f245c8a0af1c90b0ce2c2ed38
[ "Apache-2.0" ]
108
2016-01-19T15:11:03.000Z
2021-03-29T05:25:51.000Z
// // @author raver119@gmail.com // #include <op_boilerplate.h> #if NOT_EXCLUDED(OP_conv3d) #include <ops/declarable/CustomOperations.h> #include <ops/declarable/generic/helpers/convolutions.h> namespace nd4j { namespace ops { CUSTOM_OP_IMPL(conv3d, 2, 1, false, 0, 7) { // cubic convo ...
38.709402
266
0.50541
[ "shape" ]
3c0bd4adfa38c0bc93fc0704be5f902bfed1c301
1,233
cpp
C++
openmmapi/src/ANN_ForceImpl.cpp
weiHelloWorld/ANN_Force
1fe5abe7fbc9b3b64b7ae135f6039dbca59bd1b8
[ "MIT" ]
5
2018-06-02T18:55:16.000Z
2020-11-18T05:43:46.000Z
openmmapi/src/ANN_ForceImpl.cpp
weiHelloWorld/ANN_Force
1fe5abe7fbc9b3b64b7ae135f6039dbca59bd1b8
[ "MIT" ]
1
2018-02-24T09:51:21.000Z
2018-02-24T10:23:58.000Z
openmmapi/src/ANN_ForceImpl.cpp
weiHelloWorld/ANN_Force
1fe5abe7fbc9b3b64b7ae135f6039dbca59bd1b8
[ "MIT" ]
2
2017-10-23T19:12:56.000Z
2020-05-24T19:12:52.000Z
#include "openmm/internal/ContextImpl.h" #include "openmm/Platform.h" #include <set> #include "openmm/internal/ANN_ForceImpl.h" #include "openmm/ANN_Kernels.h" #include "openmm/OpenMMException.h" #include <cmath> using namespace OpenMM; using std::pair; using std::vector; using std::set; ANN_ForceImpl::ANN_ForceImpl...
29.357143
117
0.752636
[ "vector" ]
3c12c013318823c6311c661527794ff3f742e58e
4,460
cpp
C++
JsonBuilder.cpp
Aliw7979/Jason-Builder
72e573ba74a7837ce24f36f2e208ad058152360a
[ "MIT" ]
null
null
null
JsonBuilder.cpp
Aliw7979/Jason-Builder
72e573ba74a7837ce24f36f2e208ad058152360a
[ "MIT" ]
null
null
null
JsonBuilder.cpp
Aliw7979/Jason-Builder
72e573ba74a7837ce24f36f2e208ad058152360a
[ "MIT" ]
null
null
null
#include"JsonBuilder.hpp" #include"Object.hpp" #include"StrData.hpp" #include"IntData.hpp" #include"Defines.hpp" void JsonBuilder::print(int id) { std::vector<AllObjects*>temp_of_all_objects = all_objects; if (id == MOTHER_OBJECT) { for (int i = 0; i < temp_of_all_objects.size(); i++) { temp_of_all_objects[i]->...
25.19774
87
0.684529
[ "object", "vector" ]
3c1b34914c55d1d7aaaa2b0eb02a359cfe258579
4,813
cpp
C++
Physics3D_class5_solution/PhysVehicle3D.cpp
lucho1/GreedyCrash-Project
b870e582f8459978a9af5b21185479b587d3795e
[ "MIT" ]
null
null
null
Physics3D_class5_solution/PhysVehicle3D.cpp
lucho1/GreedyCrash-Project
b870e582f8459978a9af5b21185479b587d3795e
[ "MIT" ]
null
null
null
Physics3D_class5_solution/PhysVehicle3D.cpp
lucho1/GreedyCrash-Project
b870e582f8459978a9af5b21185479b587d3795e
[ "MIT" ]
null
null
null
#include "PhysVehicle3D.h" #include "Primitive.h" #include "Bullet/include/btBulletDynamicsCommon.h" #include "ModuleInput.h" #include "Application.h" // ---------------------------------------------------------------------------- VehicleInfo::~VehicleInfo() { //if(wheels != NULL) //delete wheels; } // ------------...
27.820809
148
0.603366
[ "render", "transform" ]
3c1d1e6c5e768cd106ac1d3479d667422c8ffd79
18,131
cc
C++
tests/commands.cc
klaasjacobdevries/lothar
38ad3e4e0552abaff253e77c4a6cf0657d920196
[ "MIT" ]
2
2016-07-23T13:05:10.000Z
2021-01-25T01:10:33.000Z
tests/commands.cc
klaasjacobdevries/lothar
38ad3e4e0552abaff253e77c4a6cf0657d920196
[ "MIT" ]
null
null
null
tests/commands.cc
klaasjacobdevries/lothar
38ad3e4e0552abaff253e77c4a6cf0657d920196
[ "MIT" ]
1
2019-06-26T19:39:28.000Z
2019-06-26T19:39:28.000Z
#include <gtest/gtest.h> #include <string> #include "commands.hh" #include "error_handling.hh" #include "connectionmock.hh" using namespace std; using namespace lothar; using namespace testing; namespace { // the payload is as a std::string just for the convenience of being able to type string literals // be car...
29.102729
153
0.599195
[ "vector" ]