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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
cd61f999a60a7d86ff92a819e7ad00b810dabbbb | 22,190 | cc | C++ | hackt_docker/hackt/src/main/compile.cc | broken-wheel/hacktist | 36e832ae7dd38b27bca9be7d0889d06054dc2806 | [
"MIT"
] | null | null | null | hackt_docker/hackt/src/main/compile.cc | broken-wheel/hacktist | 36e832ae7dd38b27bca9be7d0889d06054dc2806 | [
"MIT"
] | null | null | null | hackt_docker/hackt/src/main/compile.cc | broken-wheel/hacktist | 36e832ae7dd38b27bca9be7d0889d06054dc2806 | [
"MIT"
] | null | null | null | /**
\file "main/compile.cc"
Converts HAC source code to an object file (pre-unrolled).
This file was born from "art++2obj.cc" in earlier revision history.
$Id: compile.cc,v 1.25 2010/08/05 18:25:31 fang Exp $
*/
#define ENABLE_STACKTRACE 0
#include <iostream>
#include <list>
#include <string>
#include <map>
#... | 30.819444 | 80 | 0.672105 | [
"object"
] |
cd68866a7b05112659ad897107233759dac740ed | 12,142 | cpp | C++ | messungen/server_client/corr_client_opencl_17/corr_client_opencl/CorrWorker.cpp | tihmstar/gido_public | dcc523603b9a27b37752211715a10e30b51ce812 | [
"Unlicense"
] | 16 | 2021-04-10T16:28:00.000Z | 2021-12-12T10:15:23.000Z | messungen/server_client/corr_client_opencl_17/corr_client_opencl/CorrWorker.cpp | tihmstar/gido_public | dcc523603b9a27b37752211715a10e30b51ce812 | [
"Unlicense"
] | null | null | null | messungen/server_client/corr_client_opencl_17/corr_client_opencl/CorrWorker.cpp | tihmstar/gido_public | dcc523603b9a27b37752211715a10e30b51ce812 | [
"Unlicense"
] | 2 | 2021-04-10T16:32:36.000Z | 2021-04-11T14:13:45.000Z | //
// CorrWorker.cpp
// corr_client_opencl
//
// Created by tihmstar on 19.03.20.
// Copyright © 2020 tihmstar. All rights reserved.
//
#include "CorrWorker.hpp"
#include <netdb.h>
#include <netinet/in.h>
#include <stdlib.h>
#include <string.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <stdio.h>
#inc... | 32.816216 | 192 | 0.558887 | [
"vector",
"model"
] |
cd6c6cfb3c4f8f77fe4b027bf3a3ebf4709db7a6 | 7,814 | cc | C++ | tensorflow/lite/tools/evaluation/tasks/imagenet_image_classification/run_eval.cc | NeerajBhadani/tensorflow | 8c849c65503fef22f49f7ab843803fca9c439bdf | [
"Apache-2.0"
] | 4 | 2020-04-19T11:30:20.000Z | 2020-07-02T07:13:15.000Z | tensorflow/lite/tools/evaluation/tasks/imagenet_image_classification/run_eval.cc | NeerajBhadani/tensorflow | 8c849c65503fef22f49f7ab843803fca9c439bdf | [
"Apache-2.0"
] | 2 | 2021-08-25T16:01:49.000Z | 2022-02-10T01:13:06.000Z | tensorflow/lite/tools/evaluation/tasks/imagenet_image_classification/run_eval.cc | NeerajBhadani/tensorflow | 8c849c65503fef22f49f7ab843803fca9c439bdf | [
"Apache-2.0"
] | 1 | 2021-08-29T09:37:58.000Z | 2021-08-29T09:37:58.000Z | /* Copyright 2019 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... | 41.343915 | 80 | 0.695163 | [
"vector",
"model"
] |
cd703d4b3bb4f7a8e28b01d75e02d24a879ef29d | 7,411 | cpp | C++ | third_party/WebKit/Source/modules/bluetooth/BluetoothError.cpp | xzhan96/chromium.src | 1bd0cf3997f947746c0fc5406a2466e7b5f6159e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2021-01-07T18:51:03.000Z | 2021-01-07T18:51:03.000Z | third_party/WebKit/Source/modules/bluetooth/BluetoothError.cpp | emilio/chromium.src | 1bd0cf3997f947746c0fc5406a2466e7b5f6159e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | third_party/WebKit/Source/modules/bluetooth/BluetoothError.cpp | emilio/chromium.src | 1bd0cf3997f947746c0fc5406a2466e7b5f6159e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2014 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 "modules/bluetooth/BluetoothError.h"
#include "core/dom/DOMException.h"
#include "core/dom/ExceptionCode.h"
#include "third_party/WebKit/public/... | 50.074324 | 91 | 0.682229 | [
"object"
] |
cd7126406416831a88870677389fb78cb50c9023 | 5,337 | cpp | C++ | mlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferizePass.cpp | MikeDvorskiy/llvm | 8213321ebb90110bf4f3d04fa0dc8e131a464a19 | [
"Apache-2.0"
] | null | null | null | mlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferizePass.cpp | MikeDvorskiy/llvm | 8213321ebb90110bf4f3d04fa0dc8e131a464a19 | [
"Apache-2.0"
] | null | null | null | mlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferizePass.cpp | MikeDvorskiy/llvm | 8213321ebb90110bf4f3d04fa0dc8e131a464a19 | [
"Apache-2.0"
] | null | null | null | //===- ComprehensiveBufferize.cpp - Single pass bufferization -------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | 38.956204 | 80 | 0.746674 | [
"vector"
] |
cd7271cd465ddee611a44c24ab018ccf55dcd357 | 33,798 | cpp | C++ | 10.02_devices/2_src/uda.cpp | jks-prv/QUniBone | 090b400db2d00694873e0f268a18b8ccf662386e | [
"BSD-2-Clause"
] | null | null | null | 10.02_devices/2_src/uda.cpp | jks-prv/QUniBone | 090b400db2d00694873e0f268a18b8ccf662386e | [
"BSD-2-Clause"
] | null | null | null | 10.02_devices/2_src/uda.cpp | jks-prv/QUniBone | 090b400db2d00694873e0f268a18b8ccf662386e | [
"BSD-2-Clause"
] | null | null | null | /*
uda.cpp: Implementation of the MSCP port (qunibus interface).
Copyright Vulcan Inc. 2019 via Living Computers: Museum + Labs, Seattle, WA.
Contributed under the BSD 2-clause license.
This provides logic for the UDA50's SA and IP registers,
the four-step initialization handshake, DMA transfers ... | 33.005859 | 108 | 0.553287 | [
"object",
"vector",
"model"
] |
cd73302619a9061162fa3559d39677c452c24197 | 12,115 | hpp | C++ | src/benchmarks/clsparse-bench/functions/clfunc_xSpMSpM.hpp | xfong/clSPARSE | fa026dcb99a374678624530dff041322d67e0630 | [
"Apache-2.0"
] | 164 | 2015-08-03T21:53:40.000Z | 2022-03-31T14:58:11.000Z | src/benchmarks/clsparse-bench/functions/clfunc_xSpMSpM.hpp | xfong/clSPARSE | fa026dcb99a374678624530dff041322d67e0630 | [
"Apache-2.0"
] | 94 | 2015-08-04T15:49:30.000Z | 2021-02-01T14:28:35.000Z | src/benchmarks/clsparse-bench/functions/clfunc_xSpMSpM.hpp | xfong/clSPARSE | fa026dcb99a374678624530dff041322d67e0630 | [
"Apache-2.0"
] | 76 | 2015-08-04T00:00:44.000Z | 2021-09-17T17:53:06.000Z | /* ************************************************************************
* Copyright 2015 Advanced Micro Devices, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www... | 36.935976 | 214 | 0.625175 | [
"vector"
] |
cd768c1fbd80cfd522bb710bdaf8d2865ec27434 | 1,290 | hpp | C++ | src/webots/user_commands/WbResizeCommand.hpp | yjf18340/webots | 60d441c362031ab8fde120cc0cd97bdb1a31a3d5 | [
"Apache-2.0"
] | 1 | 2019-11-13T08:12:02.000Z | 2019-11-13T08:12:02.000Z | src/webots/user_commands/WbResizeCommand.hpp | chinakwy/webots | 7c35a359848bafe81fe0229ac2ed587528f4c73e | [
"Apache-2.0"
] | null | null | null | src/webots/user_commands/WbResizeCommand.hpp | chinakwy/webots | 7c35a359848bafe81fe0229ac2ed587528f4c73e | [
"Apache-2.0"
] | 1 | 2020-09-25T02:01:45.000Z | 2020-09-25T02:01:45.000Z | // Copyright 1996-2019 Cyberbotics Ltd.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agr... | 26.875 | 90 | 0.747287 | [
"geometry"
] |
cd77d471ba082206c95bac673127485ad8d035ff | 5,643 | cc | C++ | example/speech-demo/python_wrap/ctypes.cc | axbaretto/mxnet | 5f593885356ff6d14f5519fa18e79b944beb51cd | [
"Apache-2.0"
] | 36 | 2018-02-10T07:14:27.000Z | 2021-09-03T09:11:59.000Z | example/speech-demo/python_wrap/ctypes.cc | yanghaojin/BMXNet | 102f8d0ed59529bbd162c37bf07ae58ad6c4caa1 | [
"Apache-2.0"
] | 3 | 2017-07-10T21:49:18.000Z | 2017-07-12T22:40:06.000Z | example/speech-demo/python_wrap/ctypes.cc | yanghaojin/BMXNet | 102f8d0ed59529bbd162c37bf07ae58ad6c4caa1 | [
"Apache-2.0"
] | 15 | 2017-09-20T15:24:53.000Z | 2018-01-11T11:14:03.000Z | #include <iostream>
#include "util/table-types.h"
#include "hmm/posterior.h"
#include "nnet/nnet-nnet.h"
#include "cudamatrix/cu-device.h"
class Foo{
public:
Foo() {
x[0] = 0.5f;
x[1] = 1.5f;
x[2] = 2.5f;
x[3] = 3.5f;
x[4] = 4.5f;
}
... | 24.969027 | 131 | 0.57434 | [
"object"
] |
cd7a7a7bef202c9d9f11519a1b7527bf2de69561 | 14,417 | cpp | C++ | cpp-restsdk/model/Supply.cpp | thracesystems/powermeter-api | 7bdab034ff916ee49e986de88f157bd044e981c1 | [
"Apache-2.0"
] | null | null | null | cpp-restsdk/model/Supply.cpp | thracesystems/powermeter-api | 7bdab034ff916ee49e986de88f157bd044e981c1 | [
"Apache-2.0"
] | null | null | null | cpp-restsdk/model/Supply.cpp | thracesystems/powermeter-api | 7bdab034ff916ee49e986de88f157bd044e981c1 | [
"Apache-2.0"
] | null | null | null | /**
* PowerMeter API
* API
*
* The version of the OpenAPI document: 2021.4.1
*
* NOTE: This class is auto generated by OpenAPI-Generator 4.3.1.
* https://openapi-generator.tech
* Do not edit the class manually.
*/
#include "Supply.h"
namespace powermeter {
namespace model {
Supply::Supply()
{
m_Id ... | 26.897388 | 141 | 0.658944 | [
"object",
"model"
] |
cd7fc19bca89aa8e11c22b70a11fdcb794b7d405 | 8,926 | cc | C++ | thirdparty/glog/src/vlog_is_on.cc | vinben/Rotopp | f0c25db5bd25074c55ff0f67539a2452d92aaf72 | [
"Unlicense"
] | 47 | 2016-07-27T07:22:06.000Z | 2021-08-17T13:08:19.000Z | src/third_party/glog/src/vlog_is_on.cc | rgkoo/libmv-blender | cdf65edbb80d8904e2df9a20116d02546df93a81 | [
"MIT"
] | 1 | 2016-09-24T06:04:39.000Z | 2016-09-25T10:34:19.000Z | src/third_party/glog/src/vlog_is_on.cc | rgkoo/libmv-blender | cdf65edbb80d8904e2df9a20116d02546df93a81 | [
"MIT"
] | 13 | 2016-07-27T10:44:35.000Z | 2020-07-01T21:08:33.000Z | // Copyright (c) 1999, 2007, Google 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:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of c... | 35.141732 | 79 | 0.667488 | [
"vector"
] |
cd811c1e0ec64b95c93a564db4154e0d92450911 | 12,428 | cpp | C++ | DWriteCore/DWriteCoreGallery/DWriteCoreGallery/TextRenderer.cpp | pmpurifoy/Project-Reunion-Samples | 23015cf649c98eaa305921e41eef21e8fe2e48e9 | [
"MIT"
] | 1 | 2021-07-06T14:30:29.000Z | 2021-07-06T14:30:29.000Z | DWriteCore/DWriteCoreGallery/DWriteCoreGallery/TextRenderer.cpp | pmpurifoy/Project-Reunion-Samples | 23015cf649c98eaa305921e41eef21e8fe2e48e9 | [
"MIT"
] | null | null | null | DWriteCore/DWriteCoreGallery/DWriteCoreGallery/TextRenderer.cpp | pmpurifoy/Project-Reunion-Samples | 23015cf649c98eaa305921e41eef21e8fe2e48e9 | [
"MIT"
] | null | null | null | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
#include "Main.h"
#include "Helpers.h"
#include "TextRenderer.h"
TextRenderer::TextRenderer(HWND hwnd)
{
auto hdc = wil::GetDC(hwnd);
THROW_LAST_ERROR_IF_NULL(hdc);
int dpi = GetDeviceCaps(hdc.get(), LOGPIXELSY);
... | 28.702079 | 157 | 0.630914 | [
"transform"
] |
cd87e3cb30d456a01375e5bc61a0e2e171c166b7 | 724 | cpp | C++ | AcWing/LeetCode究极班/210.cpp | LauZyHou/- | 66c047fe68409c73a077eae561cf82b081cf8e45 | [
"MIT"
] | 7 | 2019-02-25T13:15:00.000Z | 2021-12-21T22:08:39.000Z | AcWing/LeetCode究极班/210.cpp | LauZyHou/- | 66c047fe68409c73a077eae561cf82b081cf8e45 | [
"MIT"
] | null | null | null | AcWing/LeetCode究极班/210.cpp | LauZyHou/- | 66c047fe68409c73a077eae561cf82b081cf8e45 | [
"MIT"
] | 1 | 2019-04-03T06:12:46.000Z | 2019-04-03T06:12:46.000Z | class Solution {
public:
vector<int> findOrder(int n, vector<vector<int>>& edges) {
vector<vector<int>> g(n);
vector<int> d(n);
for (auto& e: edges) {
int b = e[0], a = e[1];
g[a].emplace_back(b);
d[b] ++;
}
queue<int> q;
for (int ... | 24.133333 | 62 | 0.348066 | [
"vector"
] |
cd8c48cb0671b4bd5edd352d8ce9cb77f5a0cf27 | 4,361 | cc | C++ | internal/ceres/preprocessor.cc | hitxiaomi/ceres-solver | c3129c3d4a4830d23a310bd78c240898c82b36e9 | [
"Apache-2.0"
] | 2,425 | 2015-01-23T00:02:03.000Z | 2022-03-31T22:15:00.000Z | internal/ceres/preprocessor.cc | hitxiaomi/ceres-solver | c3129c3d4a4830d23a310bd78c240898c82b36e9 | [
"Apache-2.0"
] | 624 | 2015-03-18T14:36:29.000Z | 2022-03-31T16:06:14.000Z | internal/ceres/preprocessor.cc | hitxiaomi/ceres-solver | c3129c3d4a4830d23a310bd78c240898c82b36e9 | [
"Apache-2.0"
] | 989 | 2015-01-14T14:50:27.000Z | 2022-03-30T15:20:06.000Z | // Ceres Solver - A fast non-linear least squares minimizer
// Copyright 2015 Google Inc. All rights reserved.
// http://ceres-solver.org/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of so... | 41.141509 | 80 | 0.737904 | [
"vector",
"model"
] |
cd8d6e0e10c0df19c6732a0e0934658dd94776cb | 4,478 | cpp | C++ | cnippet/Configuration_C.cpp | ludanpr/psychec | 3b4e057995e103c62d72b50e8fac1088f2b19727 | [
"BSD-3-Clause"
] | null | null | null | cnippet/Configuration_C.cpp | ludanpr/psychec | 3b4e057995e103c62d72b50e8fac1088f2b19727 | [
"BSD-3-Clause"
] | null | null | null | cnippet/Configuration_C.cpp | ludanpr/psychec | 3b4e057995e103c62d72b50e8fac1088f2b19727 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2016/17/18/19/20/21/22 Leandro T. C. Melo <ltcmelo@gmail.com>
//
// 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 righ... | 42.647619 | 97 | 0.646494 | [
"vector"
] |
cd92b632432d8da8c8c3d3e41c96231cf22efab2 | 6,267 | hpp | C++ | drivers/sick_ldmrs_driver/src/driver/src/tools/SickThread.hpp | alanjclark/autoware.ai | ba97edbbffb6f22e78912bf96400a59ef6a13daf | [
"Apache-2.0"
] | 64 | 2018-11-19T02:34:05.000Z | 2021-12-27T06:19:48.000Z | ros/src/sensing/drivers/lidar/packages/sick/ldmrs/sick_ldmrs_driver/src/driver/src/tools/SickThread.hpp | anhnv3991/autoware | d5b2ed9dc309193c8a2a7c77a2b6c88104c28328 | [
"Apache-2.0"
] | 40 | 2019-06-24T16:56:15.000Z | 2022-02-28T13:41:58.000Z | ros/src/sensing/drivers/lidar/packages/sick/ldmrs/sick_ldmrs_driver/src/driver/src/tools/SickThread.hpp | anhnv3991/autoware | d5b2ed9dc309193c8a2a7c77a2b6c88104c28328 | [
"Apache-2.0"
] | 34 | 2018-11-27T08:57:32.000Z | 2022-02-18T08:06:04.000Z | //
// SickThread.hpp
//
#ifndef SICKTHREAD_HPP
#define SICKTHREAD_HPP
#include "../BasicDatatypes.hpp"
#include <pthread.h>
#include <unistd.h>
extern "C" void* wrapper_prerun(void*);
class ThreadWrapperBase
{
pthread_t t_id;
friend void* wrapper_prerun(void*);
virtual void thread_entry() = 0;
protect... | 24.196911 | 90 | 0.657252 | [
"object"
] |
cd96871c70f0128ffd49c7f20e8b2d4f701b446d | 3,666 | hpp | C++ | SpaceNotificationsMain.hpp | TerabyteForever/SpaceNotifications | 2f733dc43a23180b9d17de289fc651807e0655d0 | [
"MIT"
] | 1 | 2020-09-28T19:36:43.000Z | 2020-09-28T19:36:43.000Z | SpaceNotificationsMain.hpp | TerabyteForever/SpaceNotifications | 2f733dc43a23180b9d17de289fc651807e0655d0 | [
"MIT"
] | null | null | null | SpaceNotificationsMain.hpp | TerabyteForever/SpaceNotifications | 2f733dc43a23180b9d17de289fc651807e0655d0 | [
"MIT"
] | null | null | null | //This header is the client side API of the SpaceNotifications. It is designed for the client applications that uses SpaceNotifications.
#include <string>
#include <tuple>
#include <vector>
#include <iostream>
#include <fstream>
#include <exception>
#include <ctime>
#include "include/Colorized.hpp"
//Shared memory supp... | 25.458333 | 243 | 0.528914 | [
"vector"
] |
cd9a647b4012da0b053f925d38c56d5ad3c8cd84 | 10,619 | cpp | C++ | examples/cpp/simple/src/SimpleExample.cpp | bretzlaff/libicsneo | 1796cf9487ebf04013118cb2b577c0eea2ad8e18 | [
"BSD-3-Clause"
] | 4 | 2019-03-21T20:25:13.000Z | 2020-03-26T13:14:11.000Z | examples/cpp/simple/src/SimpleExample.cpp | bretzlaff/libicsneo | 1796cf9487ebf04013118cb2b577c0eea2ad8e18 | [
"BSD-3-Clause"
] | 1 | 2019-01-10T13:13:56.000Z | 2019-01-10T21:44:14.000Z | examples/cpp/simple/src/SimpleExample.cpp | bretzlaff/libicsneo | 1796cf9487ebf04013118cb2b577c0eea2ad8e18 | [
"BSD-3-Clause"
] | 7 | 2019-04-11T23:22:51.000Z | 2021-03-22T03:33:40.000Z | #include <iostream>
#include <iomanip>
#include <thread>
#include <chrono>
#include "icsneo/icsneocpp.h"
int main() {
// Print version
std::cout << "Running libicsneo " << icsneo::GetVersion() << std::endl;
std::cout<< "Supported devices:" << std::endl;
for(auto& dev : icsneo::GetSupportedDevices())
std::cout... | 42.818548 | 135 | 0.634052 | [
"vector"
] |
cd9abcf4c70605e94b2b06c73967289772a137bc | 5,126 | cpp | C++ | testing/unit_testing/src/2_ranks/diffusion.cpp | maierbn/opendihu | 577650e2f6b36a7306766b0f4176f8124458cbf0 | [
"MIT"
] | 17 | 2018-11-25T19:29:34.000Z | 2021-09-20T04:46:22.000Z | testing/unit_testing/src/2_ranks/diffusion.cpp | maierbn/opendihu | 577650e2f6b36a7306766b0f4176f8124458cbf0 | [
"MIT"
] | 1 | 2020-11-12T15:15:58.000Z | 2020-12-29T15:29:24.000Z | testing/unit_testing/src/2_ranks/diffusion.cpp | maierbn/opendihu | 577650e2f6b36a7306766b0f4176f8124458cbf0 | [
"MIT"
] | 4 | 2018-10-17T12:18:10.000Z | 2021-05-28T13:24:20.000Z | #include <Python.h> // this has to be the first included header
#include <iostream>
#include <cstdlib>
#include <fstream>
#include "gtest/gtest.h"
#include "arg.h"
#include "opendihu.h"
#include "../utility.h"
// 2D regular fixed
TEST(DiffusionTest, SerialEqualsParallelRegular2DLinear)
{
// run serial problem
s... | 22.986547 | 110 | 0.599103 | [
"mesh",
"vector"
] |
cda2fa7ea37a4fe4dd4ea52d24eb38143dca1554 | 23,712 | cc | C++ | libcef/browser/devtools/devtools_frontend.cc | emclient/cef | 84117f2d1be1ce54513290d835c4dcb79da750d4 | [
"BSD-3-Clause"
] | 1,686 | 2017-04-02T19:51:57.000Z | 2022-03-31T10:08:40.000Z | libcef/browser/devtools/devtools_frontend.cc | emclient/cef | 84117f2d1be1ce54513290d835c4dcb79da750d4 | [
"BSD-3-Clause"
] | 16 | 2017-04-21T12:05:52.000Z | 2022-03-01T23:15:13.000Z | libcef/browser/devtools/devtools_frontend.cc | emclient/cef | 84117f2d1be1ce54513290d835c4dcb79da750d4 | [
"BSD-3-Clause"
] | 343 | 2017-04-21T11:20:31.000Z | 2022-03-31T07:47:25.000Z | // Copyright 2013 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 "libcef/browser/devtools/devtools_frontend.h"
#include <stddef.h>
#include <iomanip>
#include <utility>
#include "libcef/browser/browser_conte... | 36.819876 | 80 | 0.68265 | [
"object"
] |
cda3cc1c7ddab55cf91929e42c13ac3a5f79903d | 6,813 | hpp | C++ | include/oglplus/imports/blend_file/block_data.hpp | matus-chochlik/oglplus | 76dd964e590967ff13ddff8945e9dcf355e0c952 | [
"BSL-1.0"
] | 364 | 2015-01-01T09:38:23.000Z | 2022-03-22T05:32:00.000Z | include/oglplus/imports/blend_file/block_data.hpp | matus-chochlik/oglplus | 76dd964e590967ff13ddff8945e9dcf355e0c952 | [
"BSL-1.0"
] | 55 | 2015-01-06T16:42:55.000Z | 2020-07-09T04:21:41.000Z | include/oglplus/imports/blend_file/block_data.hpp | matus-chochlik/oglplus | 76dd964e590967ff13ddff8945e9dcf355e0c952 | [
"BSL-1.0"
] | 57 | 2015-01-07T18:35:49.000Z | 2022-03-22T05:32:04.000Z | /**
* @file oglplus/imports/blend_file/block_data.hpp
* @brief Helper class providing access to .blend file block data
*
* @author Matus Chochlik
*
* Copyright 2010-2019 Matus Chochlik. Distributed under the Boost
* Software License, Version 1.0. (See accompanying file
* LICENSE_1_0.txt or copy at http://... | 32.598086 | 75 | 0.673712 | [
"vector"
] |
cda8be4428ff08cf9822147370d41cd13f647ec1 | 4,648 | cpp | C++ | lib/leptonAPI/src/LeptonCamera.cpp | clubcapra/LePi | 5235500b83fe807364825811310049afe53b576f | [
"MIT"
] | null | null | null | lib/leptonAPI/src/LeptonCamera.cpp | clubcapra/LePi | 5235500b83fe807364825811310049afe53b576f | [
"MIT"
] | null | null | null | lib/leptonAPI/src/LeptonCamera.cpp | clubcapra/LePi | 5235500b83fe807364825811310049afe53b576f | [
"MIT"
] | null | null | null | /**
* This file is part of the LePi Project:
* https://github.com/cosmac/LePi
*
* MIT License
*
* Copyright (c) 2017 Andrei Claudiu Cosma
*
* 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 So... | 28.691358 | 82 | 0.646299 | [
"vector"
] |
cdaa6207d0ca393edceb21d243f42e0caa5643a7 | 6,068 | cc | C++ | mindspore/ccsrc/minddata/dataset/engine/datasetops/filter_op.cc | mindspore-ai/mindspore | a9fbb25530a2874166ff0045ddcdfc73207bf5eb | [
"Apache-2.0"
] | 3,200 | 2020-02-17T12:45:41.000Z | 2022-03-31T20:21:16.000Z | mindspore/ccsrc/minddata/dataset/engine/datasetops/filter_op.cc | Ascend/mindspore | 1509d3f848e6685660194d9f58646fc73ae0f0f0 | [
"Apache-2.0"
] | 176 | 2020-02-12T02:52:11.000Z | 2022-03-28T22:15:55.000Z | mindspore/ccsrc/minddata/dataset/engine/datasetops/filter_op.cc | mindspore-ai/mindspore | a9fbb25530a2874166ff0045ddcdfc73207bf5eb | [
"Apache-2.0"
] | 621 | 2020-03-09T01:31:41.000Z | 2022-03-30T03:43:19.000Z | /**
* Copyright 2020-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 applicabl... | 37.226994 | 119 | 0.716546 | [
"vector",
"transform"
] |
cdaa82023a7f3693b230a9f3fb868a2ab7980acb | 7,059 | cpp | C++ | src/class_Individual.cpp | mikldk/popr | a6a444a5e288fb3f0db99a06b01627e039b7fcf2 | [
"MIT"
] | null | null | null | src/class_Individual.cpp | mikldk/popr | a6a444a5e288fb3f0db99a06b01627e039b7fcf2 | [
"MIT"
] | null | null | null | src/class_Individual.cpp | mikldk/popr | a6a444a5e288fb3f0db99a06b01627e039b7fcf2 | [
"MIT"
] | null | null | null | #include "popr_types.hpp"
#include <stdexcept>
/*
==========================================
Individual
==========================================
*/
Individual::Individual(int pid, bool is_male) {
m_pid = pid;
m_is_male = is_male;
m_children = new std::vector<Individual*>();
}
Individual::~Individual() ... | 21.262048 | 107 | 0.6797 | [
"vector"
] |
cdaf559bca574c49c2657af3464a2b60a6893deb | 2,959 | hpp | C++ | include/Lintel/TestUtil.hpp | sbu-fsl/Lintel | b9e603aaec630c8d3fae2f21fc156582d11d84c9 | [
"BSD-3-Clause"
] | null | null | null | include/Lintel/TestUtil.hpp | sbu-fsl/Lintel | b9e603aaec630c8d3fae2f21fc156582d11d84c9 | [
"BSD-3-Clause"
] | 1 | 2020-10-05T21:20:36.000Z | 2020-10-05T21:56:51.000Z | include/Lintel/TestUtil.hpp | sbu-fsl/Lintel | b9e603aaec630c8d3fae2f21fc156582d11d84c9 | [
"BSD-3-Clause"
] | null | null | null | /* -*-C++-*- */
/*
(c) Copyright 2008-2012, Hewlett-Packard Development Company, LP
See the file named COPYING for license details
*/
/** @file
\brief Some help with testing things that throw invariants
*/
#ifndef LINTEL_TESTUTIL_HPP
#define LINTEL_TESTUTIL_HPP
#include <vector>
#include <string>
#includ... | 34.406977 | 102 | 0.650896 | [
"vector"
] |
cdb8e6dc66628004ace48f1ca745aadf285326a9 | 2,824 | cpp | C++ | Chapter05/files.cpp | vyom104/Beginning-Cpp-Programming | 7e1bd74bf5532a1f41b846165206ac7e3a274dd6 | [
"MIT"
] | 35 | 2017-04-29T05:44:49.000Z | 2022-03-19T09:26:49.000Z | Chapter05/files.cpp | vyom104/Beginning-Cpp-Programming | 7e1bd74bf5532a1f41b846165206ac7e3a274dd6 | [
"MIT"
] | null | null | null | Chapter05/files.cpp | vyom104/Beginning-Cpp-Programming | 7e1bd74bf5532a1f41b846165206ac7e3a274dd6 | [
"MIT"
] | 18 | 2017-04-25T02:25:29.000Z | 2022-02-09T11:20:44.000Z | #include <iostream>
#include <string>
#include <iomanip>
#include <vector>
#include <tuple>
#include <algorithm>
using namespace std;
// need to use operating system calls to access file information
#include <windows.h>
// this contains the size of a file, we could simply convert the
// file size to a unsigned long ... | 25.908257 | 77 | 0.608003 | [
"object",
"vector"
] |
cdbb286ec803e6103e66dbfe93e9c468da064e2d | 4,645 | cpp | C++ | study/cyan/hhkb2020-E.cpp | rajyan/AtCoder | 2c1187994016d4c19b95489d2f2d2c0eab43dd8e | [
"MIT"
] | 1 | 2021-06-01T17:13:44.000Z | 2021-06-01T17:13:44.000Z | study/cyan/hhkb2020-E.cpp | rajyan/AtCoder | 2c1187994016d4c19b95489d2f2d2c0eab43dd8e | [
"MIT"
] | null | null | null | study/cyan/hhkb2020-E.cpp | rajyan/AtCoder | 2c1187994016d4c19b95489d2f2d2c0eab43dd8e | [
"MIT"
] | null | null | null | #ifdef _DEBUG
#include "../../../library/src/debug_template.hpp"
#define DMP(...) dump(#__VA_ARGS__, __VA_ARGS__)
#else
#define DMP(...) ((void)0)
#endif
#include <cassert>
#include <cstdio>
#include <cmath>
#include <iostream>
#include <iomanip>
#include <string>
#include <vector>
#include <set>
#include <map>
#inclu... | 28.323171 | 109 | 0.511302 | [
"vector"
] |
cdbe095bb4bf25adac0e593af84c4d9d93714f2b | 5,276 | cpp | C++ | src/ai/npc/curly.cpp | sodomon2/Cavestory-nx | a65ce948c820b3c60b5a5252e5baba6b918d9ebd | [
"BSD-2-Clause"
] | 8 | 2018-04-03T23:06:33.000Z | 2021-12-28T18:04:19.000Z | src/ai/npc/curly.cpp | sodomon2/Cavestory-nx | a65ce948c820b3c60b5a5252e5baba6b918d9ebd | [
"BSD-2-Clause"
] | null | null | null | src/ai/npc/curly.cpp | sodomon2/Cavestory-nx | a65ce948c820b3c60b5a5252e5baba6b918d9ebd | [
"BSD-2-Clause"
] | 1 | 2020-07-31T00:23:27.000Z | 2020-07-31T00:23:27.000Z | #include "curly.h"
#include "../stdai.h"
#include "../ai.h"
#include "../sym/smoke.h"
#include "../../ObjManager.h"
#include "../../map.h"
#include "../../p_arms.h"
#include "../../game.h"
#include "../../player.h"
#define CURLY_STAND 0
#define CURLY_WALK 3
#define CURLY_WALKING 4
INITFUNC(AIRoutines)
{
ON... | 17.298361 | 79 | 0.546247 | [
"object"
] |
02ccd1707d0410284a0e090d29d18822d5a0c1e0 | 7,471 | cpp | C++ | src/tests/test_node2vec.cpp | ykwd/KnightKing | a4646cebbdbbb195eb144565eed6d03b1187f64f | [
"MIT"
] | 1 | 2020-12-23T09:26:57.000Z | 2020-12-23T09:26:57.000Z | src/tests/test_node2vec.cpp | formath/KnightKing | 7e215231b22fb1f2923823eeb21a235050fe8eea | [
"MIT"
] | null | null | null | src/tests/test_node2vec.cpp | formath/KnightKing | 7e215231b22fb1f2923823eeb21a235050fe8eea | [
"MIT"
] | 1 | 2021-03-16T01:29:48.000Z | 2021-03-16T01:29:48.000Z | /*
* The MIT License (MIT)
*
* Copyright (c) 2019 Ke Yang, Tsinghua University
*
* 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... | 31.523207 | 166 | 0.612368 | [
"vector"
] |
02d236359037fa8420de42eb64d07cff96bfcf43 | 3,306 | cpp | C++ | src/vex_adx_cp_server.cpp | sga001/vex | fb4e8890ebb307ce35f6d38ef0dc15f0bb046b54 | [
"CC0-1.0"
] | null | null | null | src/vex_adx_cp_server.cpp | sga001/vex | fb4e8890ebb307ce35f6d38ef0dc15f0bb046b54 | [
"CC0-1.0"
] | null | null | null | src/vex_adx_cp_server.cpp | sga001/vex | fb4e8890ebb307ce35f6d38ef0dc15f0bb046b54 | [
"CC0-1.0"
] | null | null | null | #include "vex_adx_cp_server.h"
int
vex_adx_cp_server::find_closest_cp(uint32_t num)
{
int closest = 0;
for (int i = 0; i < cp_; ++i) {
if ((uint32_t) (MAX_BID/cp_) * i <= num)
closest = i;
else
break;
}
return closest;
}
uint32_t
vex_adx_cp_server::find_remaining(uint32_t num, int closes... | 26.031496 | 91 | 0.650333 | [
"vector"
] |
02d3aa62dc45c8a80c5f9a739ff57d0eb0b73adb | 6,843 | cpp | C++ | C++/Others/CCC 10.2020/level5.cpp | Nicu-Ducal/Competitive-Programming | c84126a4cb701b0764664db490b7e594495c8592 | [
"MIT"
] | null | null | null | C++/Others/CCC 10.2020/level5.cpp | Nicu-Ducal/Competitive-Programming | c84126a4cb701b0764664db490b7e594495c8592 | [
"MIT"
] | null | null | null | C++/Others/CCC 10.2020/level5.cpp | Nicu-Ducal/Competitive-Programming | c84126a4cb701b0764664db490b7e594495c8592 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
template <typename T> ostream& operator<<(ostream &os, const vector<T> &v) { os << '{'; string sep; for (const auto &x : v) os << sep << x, sep = ", "; return os << '}'; }
template <typename A, typename B> ostream& operator<<(ostream &os, const pair<A, B> &p) { return ... | 32.278302 | 172 | 0.428175 | [
"vector"
] |
02d428a0da077ba1ffbe3a5bac45926c4d81c3be | 1,700 | cpp | C++ | Signer/DlgComapreEngine.cpp | WhiteGroup/JAV-AV-Engine | c258c1bb283d2cccc358dab5d3a7bacd4fc35790 | [
"MIT"
] | 15 | 2016-11-03T20:39:13.000Z | 2022-01-17T16:00:21.000Z | Signer/DlgComapreEngine.cpp | ZhuHuiBeiShaDiao/JAV-AV-Engine | c258c1bb283d2cccc358dab5d3a7bacd4fc35790 | [
"MIT"
] | null | null | null | Signer/DlgComapreEngine.cpp | ZhuHuiBeiShaDiao/JAV-AV-Engine | c258c1bb283d2cccc358dab5d3a7bacd4fc35790 | [
"MIT"
] | 16 | 2016-11-04T11:40:39.000Z | 2022-02-25T07:25:52.000Z | #include "DlgComapreEngine.h"
#include "ui_GetPtarrenFileInfo.h"
#include "CompareEngineThread.h"
#include "QCompareEngineModel.h"
//-------------------------------------------------------------------------------------------------
DlgComapreEngine::DlgComapreEngine(QDialog *parent , QSqlDatabase &i_qSqlDatabase ,JStrin... | 58.62069 | 171 | 0.605882 | [
"model"
] |
02d9a8df3af70ffde441d179a44cc87e108cf35a | 8,195 | cpp | C++ | VFS/RenderPass/ShadowMapPass.cpp | Snowapril/VFS | a366f519c1382cfa2669b56346b67737513d6099 | [
"MIT"
] | 2 | 2022-02-14T16:34:39.000Z | 2022-02-25T06:11:42.000Z | VFS/RenderPass/ShadowMapPass.cpp | Snowapril/vk_voxel_cone_tracing | a366f519c1382cfa2669b56346b67737513d6099 | [
"MIT"
] | null | null | null | VFS/RenderPass/ShadowMapPass.cpp | Snowapril/vk_voxel_cone_tracing | a366f519c1382cfa2669b56346b67737513d6099 | [
"MIT"
] | null | null | null | // Author : Jihong Shin (snowapril)
#include <pch.h>
#include <VulkanFramework/Commands/CommandBuffer.h>
#include <VulkanFramework/Device.h>
#include <VulkanFramework/Descriptors/DescriptorSetLayout.h>
#include <VulkanFramework/Descriptors/DescriptorSet.h>
#include <VulkanFramework/Descriptors/DescriptorPool.h>
#inclu... | 42.242268 | 116 | 0.79878 | [
"render",
"vector"
] |
02db02d3cdab20488e222160b2ea72f2a3c973d2 | 1,455 | hpp | C++ | src/include/duckdb/planner/filter/conjunction_filter.hpp | AldoMyrtaj/duckdb | 3aa4978a2ceab8df25e4b20c388bcd7629de73ed | [
"MIT"
] | 2,816 | 2018-06-26T18:52:52.000Z | 2021-04-06T10:39:15.000Z | src/include/duckdb/planner/filter/conjunction_filter.hpp | AldoMyrtaj/duckdb | 3aa4978a2ceab8df25e4b20c388bcd7629de73ed | [
"MIT"
] | 1,310 | 2021-04-06T16:04:52.000Z | 2022-03-31T13:52:53.000Z | src/include/duckdb/planner/filter/conjunction_filter.hpp | AldoMyrtaj/duckdb | 3aa4978a2ceab8df25e4b20c388bcd7629de73ed | [
"MIT"
] | 270 | 2021-04-09T06:18:28.000Z | 2022-03-31T11:55:37.000Z | //===----------------------------------------------------------------------===//
// DuckDB
//
// duckdb/planner/filter/conjunction_filter.hpp
//
//
//===----------------------------------------------------------------------===//
#pragma once
#include "duckdb/planner/table_filter.hpp"
#include ... | 25.982143 | 80 | 0.685911 | [
"vector"
] |
02db75c45804423936203e32ba3362c05d330d52 | 8,250 | cpp | C++ | Lyfe_Game/Source/Lyfe_Game/Private/Logging.cpp | GameAboutThings/Lyfe | 320a8e27586c327707f36e9a268c84d6d77c6da4 | [
"Unlicense"
] | 2 | 2018-04-30T09:58:48.000Z | 2018-05-14T10:13:42.000Z | Lyfe_Game/Source/Lyfe_Game/Private/Logging.cpp | GameAboutThings/Lyfe | 320a8e27586c327707f36e9a268c84d6d77c6da4 | [
"Unlicense"
] | null | null | null | Lyfe_Game/Source/Lyfe_Game/Private/Logging.cpp | GameAboutThings/Lyfe | 320a8e27586c327707f36e9a268c84d6d77c6da4 | [
"Unlicense"
] | null | null | null | // Fill out your copyright notice in the Description page of Project Settings.
#include "Logging.h"
#include "Runtime/Core/Public/Misc/FileHelper.h"
#include "Runtime/Core/Public/HAL/PlatformFilemanager.h"
#include "Runtime/Core/Public/Misc/DateTime.h"
#include "Util.h"
//#include "../Private/Util.cpp"
Logging::Loggi... | 22.727273 | 86 | 0.690545 | [
"vector",
"3d"
] |
02e3d0099ea8a5220a6a7bdfc45588dfcd5e6b91 | 20,735 | cpp | C++ | tutorials/LFW/trainer.cpp | wok1909/WICWIU-OSSLab-Final-Project | ea172614c3106de3a8e203acfac8f0dd4eca7c7c | [
"Apache-2.0"
] | 119 | 2018-05-30T01:16:36.000Z | 2021-11-08T13:01:07.000Z | tutorials/LFW/trainer.cpp | wok1909/WICWIU-OSSLab-Final-Project | ea172614c3106de3a8e203acfac8f0dd4eca7c7c | [
"Apache-2.0"
] | 24 | 2018-08-05T16:50:42.000Z | 2020-10-28T00:38:48.000Z | tutorials/LFW/trainer.cpp | wok1909/WICWIU-OSSLab-Final-Project | ea172614c3106de3a8e203acfac8f0dd4eca7c7c | [
"Apache-2.0"
] | 35 | 2018-06-29T17:10:13.000Z | 2021-06-05T04:07:48.000Z | #include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <ctime>
#include <vector>
#include <float.h>
#include <unistd.h>
#include <Dataset.hpp>
#include <Utils.hpp>
#include "net/my_Facenet.hpp"
#include "LFWDataset.hpp"
#include "LFWSampler.hpp"
#include "../../WICWIU_src/KNearestNeighbor.hpp"
#define N... | 39.122642 | 256 | 0.57034 | [
"vector",
"model",
"transform"
] |
02eef8ff363572e7ee8a383cb0de59b38c40364d | 935 | cpp | C++ | leetcode/2157/graph.cpp | mkmark/leetcode | 638a9d37fb3223107d2852ce493d831996a7649e | [
"MIT"
] | null | null | null | leetcode/2157/graph.cpp | mkmark/leetcode | 638a9d37fb3223107d2852ce493d831996a7649e | [
"MIT"
] | null | null | null | leetcode/2157/graph.cpp | mkmark/leetcode | 638a9d37fb3223107d2852ce493d831996a7649e | [
"MIT"
] | null | null | null | /*
author: mark@mkmark.net
*/
#include "graph.hpp"
using namespace std;
graph::graph(int n): n(n){
adj.resize(n);
grp.resize(n);
fill_n(grp.begin(), n, -1);
}
graph::graph(int n, vector<int>& val): n(n){
adj.resize(n);
grp.resize(n);
fill_n(grp.begin(), n, -1);
value = val;
}
void graph:... | 16.696429 | 50 | 0.481283 | [
"vector"
] |
02fc03dddde7c1c52aaf382ded9527376cc4a1c0 | 4,483 | ipp | C++ | include/External/stlib/packages/geom/mesh/iss/ISS_SimplexQuery.ipp | bxl295/m4extreme | 2a4a20ebb5b4e971698f7c981de140d31a5e550c | [
"BSD-3-Clause"
] | null | null | null | include/External/stlib/packages/geom/mesh/iss/ISS_SimplexQuery.ipp | bxl295/m4extreme | 2a4a20ebb5b4e971698f7c981de140d31a5e550c | [
"BSD-3-Clause"
] | null | null | null | include/External/stlib/packages/geom/mesh/iss/ISS_SimplexQuery.ipp | bxl295/m4extreme | 2a4a20ebb5b4e971698f7c981de140d31a5e550c | [
"BSD-3-Clause"
] | null | null | null | // -*- C++ -*-
#if !defined(__geom_ISS_SimplexQuery_ipp__)
#error This file is an implementation detail of the class ISS_SimplexQuery.
#endif
namespace geom {
template<class ISS>
inline
void
ISS_SimplexQuery<ISS>::
build() {
std::vector<BBox> boxes(_iss.getSimplicesSize());
Simplex simplex;
/... | 25.471591 | 77 | 0.60696 | [
"mesh",
"vector"
] |
02febfd874745719d6ce7741cdb8dfd075dd42fe | 2,900 | cpp | C++ | USACO Bronze/US Open 2019 Contest/cow_evolution.cpp | Alecs-Li/Competitive-Programming | 39941ff8e2c8994abbae8c96a1ed0a04b10058b8 | [
"MIT"
] | 1 | 2021-07-06T02:14:03.000Z | 2021-07-06T02:14:03.000Z | USACO Bronze/US Open 2019 Contest/cow_evolution.cpp | Alex01890-creator/competitive-programming | 39941ff8e2c8994abbae8c96a1ed0a04b10058b8 | [
"MIT"
] | null | null | null | USACO Bronze/US Open 2019 Contest/cow_evolution.cpp | Alex01890-creator/competitive-programming | 39941ff8e2c8994abbae8c96a1ed0a04b10058b8 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <tuple>
#include <algorithm>
#include <string>
#include <set>
#include <queue>
#include <map>
using namespace std;
typedef long double ld;
typedef long long ll;
typedef pair<int, int> pi;
typedef pair<ll,ll> pll;
typedef pair<char, char> pc;
typedef pair<string, string> ... | 20.714286 | 54 | 0.502069 | [
"vector"
] |
f3028ee45e2dd344021d3835ada0d8671b90383b | 20,024 | cpp | C++ | Engine/source/T3D/physicalZone.cpp | vbillet/Torque3D | ece8823599424ea675e5f79d9bcb44e42cba8cae | [
"MIT"
] | 2,113 | 2015-01-01T11:23:01.000Z | 2022-03-28T04:51:46.000Z | Engine/source/T3D/physicalZone.cpp | Ashry00/Torque3D | 33e3e41c8b7eb41c743a589558bc21302207ef97 | [
"MIT"
] | 948 | 2015-01-02T01:50:00.000Z | 2022-02-27T05:56:40.000Z | Engine/source/T3D/physicalZone.cpp | Ashry00/Torque3D | 33e3e41c8b7eb41c743a589558bc21302207ef97 | [
"MIT"
] | 944 | 2015-01-01T09:33:53.000Z | 2022-03-15T22:23:03.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.403818 | 203 | 0.612465 | [
"render",
"object",
"shape",
"vector",
"3d"
] |
f3077e630e9ae0a049d12fae2a3fdb923b0ea288 | 42,372 | cc | C++ | crawl-ref/source/precision-menu.cc | RojjaCebolla/crawl | fe7b5d5a6f32694e30fd8c926fa81db8cac38c49 | [
"CC0-1.0"
] | null | null | null | crawl-ref/source/precision-menu.cc | RojjaCebolla/crawl | fe7b5d5a6f32694e30fd8c926fa81db8cac38c49 | [
"CC0-1.0"
] | null | null | null | crawl-ref/source/precision-menu.cc | RojjaCebolla/crawl | fe7b5d5a6f32694e30fd8c926fa81db8cac38c49 | [
"CC0-1.0"
] | 2 | 2021-03-07T18:45:13.000Z | 2021-03-08T23:28:57.000Z | /**
* @file
* @brief Deprecated precision menu code.
**/
#include "AppHdr.h"
#include "menu.h"
#include "precision-menu.h"
#include <functional>
#include "libutil.h"
#include "stringutil.h"
/**
* Performs regular rectangular AABB intersection between the given AABB
* rectangle and a item in the menu_entries
*... | 26.187886 | 91 | 0.613282 | [
"render",
"object",
"vector"
] |
f30b2414a86ed894af5076d7698a16704e0f7602 | 9,536 | cpp | C++ | Prototype/src/libsbml-5.10.0/src/sbml/packages/groups/extension/test/TestReadGroupsExtension.cpp | Cosmo-Tech/biopredyn | 0f5bcd4cb1f723bfdea07d4973e46e676f4175e8 | [
"BSD-3-Clause"
] | null | null | null | Prototype/src/libsbml-5.10.0/src/sbml/packages/groups/extension/test/TestReadGroupsExtension.cpp | Cosmo-Tech/biopredyn | 0f5bcd4cb1f723bfdea07d4973e46e676f4175e8 | [
"BSD-3-Clause"
] | 95 | 2015-03-06T12:14:06.000Z | 2015-03-20T11:15:54.000Z | Prototype/src/libsbml-5.10.0/src/sbml/packages/groups/extension/test/TestReadGroupsExtension.cpp | Cosmo-Tech/biopredyn | 0f5bcd4cb1f723bfdea07d4973e46e676f4175e8 | [
"BSD-3-Clause"
] | null | null | null | /**
* @file TestReadGroupsExtension.cpp
* @brief Unit tests of writing GroupsExtension
* @author Akiya Jouraku
*
* $Id: $
* $HeadURL: $
*
* <!--------------------------------------------------------------------------
* This file is part of libSBML. Please visit http://sbml.org for more
* inf... | 35.715356 | 197 | 0.663276 | [
"model"
] |
f30d92053e37da70e960906bcfe6c7be0fc14145 | 3,176 | cpp | C++ | MS1/Date.cpp | dtnguyen22/OOP244SFF | 7a5e3eee5817f56b19f855818021317ce91c6b8d | [
"Unlicense"
] | null | null | null | MS1/Date.cpp | dtnguyen22/OOP244SFF | 7a5e3eee5817f56b19f855818021317ce91c6b8d | [
"Unlicense"
] | null | null | null | MS1/Date.cpp | dtnguyen22/OOP244SFF | 7a5e3eee5817f56b19f855818021317ce91c6b8d | [
"Unlicense"
] | null | null | null | // Final Project Milestone 1
// Date.cpp
// Date 2019-07-11
// Author DucTai Nguyen - dtnguyen22@myseneca.ca - 147942171
/////////////////////////////////////////////////////////////////
#include <iostream>
#include "Date.h"
using namespace std;
namespace aid {
int Date::mdays(int year, int mon) {
int days[] = {31,... | 24.620155 | 101 | 0.586272 | [
"object"
] |
f31a954cf9bdefd0809dc749e95e8cb628605387 | 15,595 | cpp | C++ | src/blas/backends/rocblas/rocblas_extensions.cpp | andrewtbarker/oneMKL | 722f6c51b528a2bc09bf549b1097f7d8fdc37826 | [
"Apache-2.0"
] | null | null | null | src/blas/backends/rocblas/rocblas_extensions.cpp | andrewtbarker/oneMKL | 722f6c51b528a2bc09bf549b1097f7d8fdc37826 | [
"Apache-2.0"
] | null | null | null | src/blas/backends/rocblas/rocblas_extensions.cpp | andrewtbarker/oneMKL | 722f6c51b528a2bc09bf549b1097f7d8fdc37826 | [
"Apache-2.0"
] | null | null | null | /***************************************************************************
* Copyright (C) Codeplay Software Limited
* Copyright (C) 2022 Heidelberg University, Engineering Mathematics and Computing Lab (EMCL) and Computing Centre (URZ)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may... | 54.719298 | 120 | 0.634883 | [
"vector"
] |
f31e25a9962d2c06df845a18bbe5da980a08888d | 610 | cpp | C++ | CppPrimer/CppPrimer-Exercises/CppPrimer-Ch10/Exercise10.20.cpp | alaxion/Learning | 4b12b1603419252103cd933fdbfc4b2faffb6d00 | [
"MIT"
] | null | null | null | CppPrimer/CppPrimer-Exercises/CppPrimer-Ch10/Exercise10.20.cpp | alaxion/Learning | 4b12b1603419252103cd933fdbfc4b2faffb6d00 | [
"MIT"
] | null | null | null | CppPrimer/CppPrimer-Exercises/CppPrimer-Ch10/Exercise10.20.cpp | alaxion/Learning | 4b12b1603419252103cd933fdbfc4b2faffb6d00 | [
"MIT"
] | null | null | null | // Exercise10.20.cpp
// Ad
// Use count_if to rewrite the portion of our program that counted how many words are greater than length 6.
#include <iostream>
#include <vector>
#include <string>
#include <algorithm>
// -----------------------------------------------------------------------------
int main(int argc, char... | 27.727273 | 108 | 0.547541 | [
"vector"
] |
f31efa9f1dfd9f1456963d537ca347f8f3b00f69 | 2,970 | cpp | C++ | src/uri/fetchers/hadoop.cpp | julien-faye/mesos | 5ffb3e40eb4d9234778cc1a96141539258e994bf | [
"Apache-2.0"
] | 4,537 | 2015-01-01T03:26:40.000Z | 2022-03-31T03:07:00.000Z | src/uri/fetchers/hadoop.cpp | julien-faye/mesos | 5ffb3e40eb4d9234778cc1a96141539258e994bf | [
"Apache-2.0"
] | 227 | 2015-01-29T02:21:39.000Z | 2022-03-29T13:35:50.000Z | src/uri/fetchers/hadoop.cpp | julien-faye/mesos | 5ffb3e40eb4d9234778cc1a96141539258e994bf | [
"Apache-2.0"
] | 1,992 | 2015-01-05T12:29:19.000Z | 2022-03-31T03:07:07.000Z | // Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may... | 27 | 80 | 0.698316 | [
"vector"
] |
f321a91802158625da4653a34d6f543af8f78014 | 23,047 | cpp | C++ | tools/editor/addon_editor_plugin.cpp | aoighost/godot | 6e86a0535050855d5c4e4d63002eea084f2e3ebf | [
"CC-BY-3.0",
"MIT"
] | null | null | null | tools/editor/addon_editor_plugin.cpp | aoighost/godot | 6e86a0535050855d5c4e4d63002eea084f2e3ebf | [
"CC-BY-3.0",
"MIT"
] | null | null | null | tools/editor/addon_editor_plugin.cpp | aoighost/godot | 6e86a0535050855d5c4e4d63002eea084f2e3ebf | [
"CC-BY-3.0",
"MIT"
] | null | null | null | #include "addon_editor_plugin.h"
#include "editor_node.h"
void EditorAssetLibraryItem::configure(const String& p_title,int p_asset_id,const String& p_category,int p_category_id,const String& p_author,int p_author_id,int p_rating,const String& p_cost) {
title->set_text(p_title);
asset_id=p_asset_id;
category->s... | 26.279361 | 233 | 0.725908 | [
"object"
] |
f324106c792f1ebd9af2e62cc9939760552a31bf | 11,453 | cc | C++ | tensorflow/core/kernels/range_sampler_test.cc | deepakmuralidharan/tensorflow | f40e41f9c71ef2865f96f3db3cea2909797fe2a3 | [
"Apache-2.0"
] | 23 | 2016-02-04T21:08:43.000Z | 2022-01-14T13:22:33.000Z | tensorflow/core/kernels/range_sampler_test.cc | deepakmuralidharan/tensorflow | f40e41f9c71ef2865f96f3db3cea2909797fe2a3 | [
"Apache-2.0"
] | 2 | 2016-05-31T16:38:55.000Z | 2018-12-30T20:17:05.000Z | tensorflow/core/kernels/range_sampler_test.cc | deepakmuralidharan/tensorflow | f40e41f9c71ef2865f96f3db3cea2909797fe2a3 | [
"Apache-2.0"
] | 20 | 2016-02-15T17:31:02.000Z | 2020-01-12T08:18:48.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 ... | 34.08631 | 80 | 0.655112 | [
"vector"
] |
f32885e9a97906920d0c4dfcdc4f951bbb4f33a0 | 12,646 | cpp | C++ | src/subcommand/locify_main.cpp | fabbondanza/vg | 86edd831bd76b4c33e4cf51134f557c49736cf2b | [
"MIT"
] | null | null | null | src/subcommand/locify_main.cpp | fabbondanza/vg | 86edd831bd76b4c33e4cf51134f557c49736cf2b | [
"MIT"
] | null | null | null | src/subcommand/locify_main.cpp | fabbondanza/vg | 86edd831bd76b4c33e4cf51134f557c49736cf2b | [
"MIT"
] | null | null | null | /** \file locify_main.cpp
*
* Defines the "vg locify" subcommand
*/
#include <omp.h>
#include <unistd.h>
#include <getopt.h>
#include <iostream>
#include "subcommand.hpp"
#include "../vg.hpp"
#include "../xg.hpp"
#include "../index.hpp"
#include "../convert.hpp"
#include <vg/io/stream.hpp>
#include <vg/io/vpkg.... | 34.551913 | 142 | 0.515183 | [
"vector"
] |
f3288f9ac835c7639674ac716875325f8473f5cf | 872 | cc | C++ | solutions/cpp/283-move-zeroes.cc | PW486/leetcode | c8a38265ebc98fc6335b6420fefe0ce2bb3eeae9 | [
"Unlicense"
] | null | null | null | solutions/cpp/283-move-zeroes.cc | PW486/leetcode | c8a38265ebc98fc6335b6420fefe0ce2bb3eeae9 | [
"Unlicense"
] | null | null | null | solutions/cpp/283-move-zeroes.cc | PW486/leetcode | c8a38265ebc98fc6335b6420fefe0ce2bb3eeae9 | [
"Unlicense"
] | null | null | null | #include <iostream>
#include <vector>
using namespace std;
class Solution {
public:
void swap(int &a, int &b) {
int temp = a;
a = b;
b = temp;
}
void nextIndex(vector<int> &nums, int &index) {
for (; index < nums.size(); index++) {
if (nums[index] != 0)
break;
}
}
void mo... | 18.166667 | 75 | 0.50344 | [
"vector"
] |
f32ab62415ec8e030f64abeced3624f453cef564 | 8,300 | cpp | C++ | lib/storageblobbuffer.cpp | timmyw/ofsystem | 6f955d53dc3025148763333bea0a11d0bce28c06 | [
"MIT"
] | null | null | null | lib/storageblobbuffer.cpp | timmyw/ofsystem | 6f955d53dc3025148763333bea0a11d0bce28c06 | [
"MIT"
] | null | null | null | lib/storageblobbuffer.cpp | timmyw/ofsystem | 6f955d53dc3025148763333bea0a11d0bce28c06 | [
"MIT"
] | null | null | null | /*
Copyright (C) 1997-2011 by Suntail.com AS, Tim Whelan
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... | 22.015915 | 90 | 0.585542 | [
"vector"
] |
f32dc8fd9126800d4f2496ca11cf82eb03866199 | 7,956 | hpp | C++ | tm_kit/basic/simple_shared_chain/InMemoryWithLockChain.hpp | cd606/tm_basic | ea2d13b561dd640161823a5e377f35fcb7fe5d48 | [
"Apache-2.0"
] | 1 | 2020-05-22T08:47:02.000Z | 2020-05-22T08:47:02.000Z | tm_kit/basic/simple_shared_chain/InMemoryWithLockChain.hpp | cd606/tm_basic | ea2d13b561dd640161823a5e377f35fcb7fe5d48 | [
"Apache-2.0"
] | null | null | null | tm_kit/basic/simple_shared_chain/InMemoryWithLockChain.hpp | cd606/tm_basic | ea2d13b561dd640161823a5e377f35fcb7fe5d48 | [
"Apache-2.0"
] | null | null | null | #ifndef TM_KIT_BASIC_IN_MEMORY_WITH_LOCK_CHAIN_HPP_
#define TM_KIT_BASIC_IN_MEMORY_WITH_LOCK_CHAIN_HPP_
#include <tm_kit/basic/simple_shared_chain/ChainReader.hpp>
#include <tm_kit/basic/simple_shared_chain/ChainWriter.hpp>
#include <tm_kit/basic/ByteData.hpp>
#include <tm_kit/basic/SerializationHelperMacros.hpp>
nam... | 39.192118 | 190 | 0.55455 | [
"vector"
] |
f32f1f6b9749e3fc161c9afddd6915ab34880275 | 14,502 | cpp | C++ | landmark_routing/Astar.cpp | AlexandrosPlessias/GreecePoint-to-PointShortestPaths | 469f2014b3cdc8c5859375e79f73347f5939f20f | [
"MIT"
] | null | null | null | landmark_routing/Astar.cpp | AlexandrosPlessias/GreecePoint-to-PointShortestPaths | 469f2014b3cdc8c5859375e79f73347f5939f20f | [
"MIT"
] | null | null | null | landmark_routing/Astar.cpp | AlexandrosPlessias/GreecePoint-to-PointShortestPaths | 469f2014b3cdc8c5859375e79f73347f5939f20f | [
"MIT"
] | null | null | null | #include "Astar.h"
#include <iostream>
#include <random>
#define K_LMRKS 16
int Astar::run(node_t source, node_t target)
{
Timer _t;
Label f_solution(routing_infty,-1);
f_solution.f_score = routing_infty;
astar_f_heap queue;
map<node_t, Label> nodesLabeled;
set<node_t> is_settled;
Label... | 32.370536 | 143 | 0.525583 | [
"vector"
] |
f32f287bb635f9037f06d5e313db34d31b84728f | 1,735 | cpp | C++ | src/loop011.cpp | TannerRogalsky/Demoloops | 13cb7c4b1bba892c24ddb8bbd78f4953b9c9a9d5 | [
"MIT"
] | 4 | 2016-11-07T12:50:14.000Z | 2020-04-30T19:48:05.000Z | src/loop011.cpp | TannerRogalsky/Demoloops | 13cb7c4b1bba892c24ddb8bbd78f4953b9c9a9d5 | [
"MIT"
] | 1 | 2017-04-17T12:00:16.000Z | 2017-04-17T12:00:16.000Z | src/loop011.cpp | TannerRogalsky/Demoloops | 13cb7c4b1bba892c24ddb8bbd78f4953b9c9a9d5 | [
"MIT"
] | null | null | null | #include <numeric>
#include "demoloop.h"
#include "graphics/3d_primitives.h"
#include <glm/gtx/rotate_vector.hpp>
#include "hsl.h"
using namespace std;
using namespace demoloop;
static const uint16_t NUM_VERTS = 60;
const uint32_t CYCLE_LENGTH = 3;
static const float RADIUS = 0.3;
class Loop11 : public Demoloop {
pub... | 27.539683 | 115 | 0.627666 | [
"mesh"
] |
f3300fa6c486bd8c24437c6fa277135f55c47dfe | 11,905 | cpp | C++ | Source/SupportGLUT/Widget/TransferFunctionEditor.cpp | CCSEPBVR/KVS | f6153b3f52aa38904cc96d38d5cd609c5dccfc59 | [
"BSD-3-Clause"
] | null | null | null | Source/SupportGLUT/Widget/TransferFunctionEditor.cpp | CCSEPBVR/KVS | f6153b3f52aa38904cc96d38d5cd609c5dccfc59 | [
"BSD-3-Clause"
] | null | null | null | Source/SupportGLUT/Widget/TransferFunctionEditor.cpp | CCSEPBVR/KVS | f6153b3f52aa38904cc96d38d5cd609c5dccfc59 | [
"BSD-3-Clause"
] | null | null | null | #include "TransferFunctionEditor.h"
#include <kvs/DebugNew>
#include <kvs/MouseEvent>
#include <kvs/Math>
#include <kvs/HSVColor>
#include <kvs/RGBColor>
#include <kvs/Date>
#include <kvs/Time>
#include <kvs/glut/GLUT>
#include <kvs/IgnoreUnusedVariable>
#include <kvs/Background>
#include <SupportGLUT/Viewer/KVSKey.h>
... | 31.246719 | 98 | 0.684502 | [
"object"
] |
f33f1b6fc927c50f10134e1d1418ce6d8a815ac0 | 6,273 | cpp | C++ | benchmark/inmemory.cpp | WojciechMula/libflagstats | d3fc296be35223387f6dd440b4cbc32067c0cab4 | [
"Apache-2.0"
] | null | null | null | benchmark/inmemory.cpp | WojciechMula/libflagstats | d3fc296be35223387f6dd440b4cbc32067c0cab4 | [
"Apache-2.0"
] | null | null | null | benchmark/inmemory.cpp | WojciechMula/libflagstats | d3fc296be35223387f6dd440b4cbc32067c0cab4 | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include <iomanip>
#include <chrono>
#include <memory>
#include <cstdint>
#include <random>
#include <vector>
#include "libalgebra.h" // pospopcnt
// force flagstats to define all implementations
#define STORM_HAVE_AVX2
#define STORM_HAVE_AVX512
#define STORM_HAVE_SSE42
#include "../libflagstats.h... | 29.313084 | 151 | 0.579627 | [
"vector"
] |
f34cd691a5e53e31e236c483927bcae85f983213 | 1,665 | cpp | C++ | solutions/AtCoder/diverta2019/E.cpp | yumeno-ukihashi/competitive-programming | 5cc3a7938b62133d8dc71a179cb11dfe985315d3 | [
"Unlicense"
] | null | null | null | solutions/AtCoder/diverta2019/E.cpp | yumeno-ukihashi/competitive-programming | 5cc3a7938b62133d8dc71a179cb11dfe985315d3 | [
"Unlicense"
] | null | null | null | solutions/AtCoder/diverta2019/E.cpp | yumeno-ukihashi/competitive-programming | 5cc3a7938b62133d8dc71a179cb11dfe985315d3 | [
"Unlicense"
] | null | null | null | #include<bits/stdc++.h>
#define REP(x,y,z) for(int x=y;x<=z;x++)
#define MSET(x,y) memset(x,y,sizeof(x))
#define M 500005
#define MX 1048576
#define MOD 1000000007
using namespace std;
using LL = long long;
int n,in[M];
LL pw[M];
vector<int> pos[MX];
int find_cnt(int p1,int p2,int num) {
auto it1 = upper_bound(pos[... | 24.485294 | 69 | 0.404805 | [
"vector"
] |
f34d7545ad45b38fe6a125d0f8d77b1185747e78 | 7,934 | cc | C++ | src/search/initializer.cc | thomaskeller79/exhaustive-mdp | bf52164f96abd13c88870677b8b215f5f79e195a | [
"MIT"
] | 26 | 2019-10-18T16:04:34.000Z | 2022-02-22T13:38:31.000Z | src/search/initializer.cc | thomaskeller79/exhaustive-mdp | bf52164f96abd13c88870677b8b215f5f79e195a | [
"MIT"
] | 69 | 2019-10-18T10:19:13.000Z | 2021-07-19T06:51:51.000Z | src/search/initializer.cc | thomaskeller79/exhaustive-mdp | bf52164f96abd13c88870677b8b215f5f79e195a | [
"MIT"
] | 14 | 2019-12-26T06:17:03.000Z | 2022-01-30T09:18:16.000Z | #include "initializer.h"
#include "thts.h"
#include "utils/logger.h"
#include "utils/math_utils.h"
#include "utils/string_utils.h"
#include "utils/system_utils.h"
/******************************************************************
Search Engine Creation
******************************************... | 33.905983 | 84 | 0.555079 | [
"vector"
] |
f34fa203aae4ae6bfe938badacd8485495097ef3 | 51,635 | cpp | C++ | src/test/applications/circuit_preprocessor_test.cpp | juanmanzanero/fastest-lap | e278dd2fd0f9fa30a613b87c5155c5d375f8da69 | [
"MIT"
] | 28 | 2021-11-26T16:03:33.000Z | 2022-02-21T13:51:58.000Z | src/test/applications/circuit_preprocessor_test.cpp | juanmanzanero/fastest-lap | e278dd2fd0f9fa30a613b87c5155c5d375f8da69 | [
"MIT"
] | 1 | 2022-03-01T17:10:39.000Z | 2022-03-01T17:10:39.000Z | src/test/applications/circuit_preprocessor_test.cpp | juanmanzanero/fastest-lap | e278dd2fd0f9fa30a613b87c5155c5d375f8da69 | [
"MIT"
] | 1 | 2022-02-28T12:21:04.000Z | 2022-02-28T12:21:04.000Z | #include "src/core/applications/circuit_preprocessor.h"
#include "gtest/gtest.h"
extern bool is_valgrind;
/*
TEST(Circuit_preprocessor_test, miami_2000)
{
#ifndef NDEBUG
GTEST_SKIP();
#endif
if ( is_valgrind ) GTEST_SKIP();
Xml_document coord_left_kml("./database/tracks/miami/miami_left.km... | 52.635066 | 679 | 0.638346 | [
"vector"
] |
f35048fa2f6571033967ae28dfb389e8de1e7794 | 19,279 | cpp | C++ | com/win32comext/axdebug/src/PyIRemoteDebugApplication.cpp | huanyin88/Mod-Pywin32-For-Python3.x-DDE | 992931aa534357d54aaac34077f0128d3a740e5e | [
"Apache-2.0"
] | 3 | 2020-06-18T16:57:44.000Z | 2020-07-21T17:52:06.000Z | com/win32comext/axdebug/src/PyIRemoteDebugApplication.cpp | huanyin88/Mod-Pywin32-For-Python3.x-DDE | 992931aa534357d54aaac34077f0128d3a740e5e | [
"Apache-2.0"
] | null | null | null | com/win32comext/axdebug/src/PyIRemoteDebugApplication.cpp | huanyin88/Mod-Pywin32-For-Python3.x-DDE | 992931aa534357d54aaac34077f0128d3a740e5e | [
"Apache-2.0"
] | null | null | null | // This file implements the IRemoteDebugApplication Interface and Gateway for Python.
// Generated by makegw.py
#include "stdafx.h"
#include "PyIRemoteDebugApplication.h"
// @doc - This file contains autoduck documentation
// ---------------------------------------------------
//
// Interface Implementation
PyIRemo... | 39.026316 | 120 | 0.708906 | [
"object"
] |
f35093bed2c8c7306f83bce4481b9962deb5acc4 | 16,620 | cpp | C++ | ROVER/src/manager/accel_manager.cpp | majitaki/arliss2019_tadpole | 22c2f976dfb91d345a6be878a45bcd361247943b | [
"MIT"
] | null | null | null | ROVER/src/manager/accel_manager.cpp | majitaki/arliss2019_tadpole | 22c2f976dfb91d345a6be878a45bcd361247943b | [
"MIT"
] | null | null | null | ROVER/src/manager/accel_manager.cpp | majitaki/arliss2019_tadpole | 22c2f976dfb91d345a6be878a45bcd361247943b | [
"MIT"
] | null | null | null | #include <wiringPiI2C.h>
#include <wiringPi.h>
#include <time.h>
#include <string.h>
#include <fstream>
#include <sstream>
#include <unistd.h>
#include <stdlib.h>
#define _USE_MATH_DEFINES
#include <math.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <stdarg.h>
#include <wiringSerial.h>
#in... | 30.664207 | 385 | 0.640674 | [
"vector"
] |
f352febb969117befe3bbe84bf5fc7cde47a135c | 785 | cpp | C++ | test/Homogeneous_test.cpp | hhoppe/Mesh-processing-library | aa8c952fbbb00774008060767650b821bf72fa10 | [
"MIT"
] | 422 | 2017-01-12T04:44:39.000Z | 2022-03-21T14:38:49.000Z | test/Homogeneous_test.cpp | wangxihao/Mesh-processing-library | 194ce16b8b28bbab1263ca6bc26dedfa7a0eeea2 | [
"MIT"
] | 1 | 2017-06-07T16:36:09.000Z | 2017-06-07T16:36:09.000Z | test/Homogeneous_test.cpp | wangxihao/Mesh-processing-library | 194ce16b8b28bbab1263ca6bc26dedfa7a0eeea2 | [
"MIT"
] | 75 | 2017-01-12T04:44:41.000Z | 2021-11-09T02:57:34.000Z | // -*- C++ -*- Copyright (c) Microsoft Corporation; see license.txt
#include "libHh/Homogeneous.h"
using namespace hh;
int main() {
{
Point p(1.f, 2.f, 3.f), q(8.f, 7.f, 6.f);
Vector v(1.f, 2.f, 3.f), w(1.f, 0.f, 1.f), x(0.f, 1.f, 0.f), y = x;
SHOW(p, q, v, w, y);
SHOW(Homogeneous(p) + Homogeneous(q... | 27.068966 | 71 | 0.526115 | [
"vector"
] |
f35a55385af34ab2793459295c4ddecdc4270ab9 | 11,527 | cpp | C++ | src/IECore/Group.cpp | goddardl/cortex | 323a160fd831569591cde1504f415a638f8b85bc | [
"BSD-3-Clause"
] | null | null | null | src/IECore/Group.cpp | goddardl/cortex | 323a160fd831569591cde1504f415a638f8b85bc | [
"BSD-3-Clause"
] | null | null | null | src/IECore/Group.cpp | goddardl/cortex | 323a160fd831569591cde1504f415a638f8b85bc | [
"BSD-3-Clause"
] | 1 | 2020-09-26T01:15:37.000Z | 2020-09-26T01:15:37.000Z | //////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2007-2013, Image Engine Design 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:
//
// ... | 23.865424 | 105 | 0.673462 | [
"render",
"object",
"transform"
] |
f35a9a90955f2a234e7bbd9d364eeef1daa60971 | 306 | hpp | C++ | include/logging.hpp | teamprova/ProvaEngine-CPP | 0ba9b4b0d73a5a261194d5333e5a572c40c0c21f | [
"Unlicense"
] | null | null | null | include/logging.hpp | teamprova/ProvaEngine-CPP | 0ba9b4b0d73a5a261194d5333e5a572c40c0c21f | [
"Unlicense"
] | null | null | null | include/logging.hpp | teamprova/ProvaEngine-CPP | 0ba9b4b0d73a5a261194d5333e5a572c40c0c21f | [
"Unlicense"
] | null | null | null | #pragma once
#include <string>
#include "vector4.hpp"
#include "vector3.hpp"
#include "vector2.hpp"
#include "rect.hpp"
namespace Prova
{
void Log(float number);
void Log(Vector2 vector);
void Log(Vector3 vector);
void Log(Vector4 vector);
void Log(Rect rect);
void Log(std::string message);
} | 19.125 | 32 | 0.712418 | [
"vector"
] |
f368439d7bf4eeaaebfeb5975fcba25a818491f1 | 2,040 | cpp | C++ | src/tools.cpp | jroivas/nolang | 761655bf851a978fb8426cc8f465e53cc86dec28 | [
"MIT"
] | 2 | 2021-04-13T20:16:04.000Z | 2022-02-17T02:46:40.000Z | src/tools.cpp | jroivas/nolang | 761655bf851a978fb8426cc8f465e53cc86dec28 | [
"MIT"
] | null | null | null | src/tools.cpp | jroivas/nolang | 761655bf851a978fb8426cc8f465e53cc86dec28 | [
"MIT"
] | null | null | null | #include "tools.hh"
#include <iostream>
std::vector<std::string> nolang::applyToVector(std::vector<std::string> &dst, const std::vector<std::string> &src) {
dst.insert(dst.end(), src.begin(), src.end());
return dst;
}
void nolang::iterateTree(mpc_ast_t *tree, std::function<void(mpc_ast_t *)> closure) {
fo... | 26.842105 | 116 | 0.598529 | [
"vector"
] |
f369ed07077b004dbef0a00e79622a989d6fea15 | 819 | cpp | C++ | stl/vector.cpp | anubhavnandan/leetCode | 2cb9511b2c37b80f3ee57b3932d1dc9e7be9994f | [
"Apache-2.0"
] | 1 | 2021-09-30T10:02:35.000Z | 2021-09-30T10:02:35.000Z | stl/vector.cpp | anubhavnandan/leetCode | 2cb9511b2c37b80f3ee57b3932d1dc9e7be9994f | [
"Apache-2.0"
] | null | null | null | stl/vector.cpp | anubhavnandan/leetCode | 2cb9511b2c37b80f3ee57b3932d1dc9e7be9994f | [
"Apache-2.0"
] | null | null | null | //C++ 11
#include<iostream>
#include<vector>
#include<algorithm>
using namespace std;
class Solution {
public:
void Method(vector <int> &v){
for(auto x : v)
cout<<x;
//Member Function
cout<<'\n'<<v.front();
cout<<'\n'<<v.back();
}
};
int main(){
int a[]={1,2,3,4,5};
vector <int> V(beg... | 13.42623 | 60 | 0.586081 | [
"vector"
] |
f370a24fa1a401119617f0a0327f5acf0619796d | 12,458 | cpp | C++ | src/main-ecm.cpp | rheiland/pc_ECM_model_for_nanoHUB | 161b586757756ce753eddc10e8bf14c3d5b5d170 | [
"BSD-3-Clause"
] | null | null | null | src/main-ecm.cpp | rheiland/pc_ECM_model_for_nanoHUB | 161b586757756ce753eddc10e8bf14c3d5b5d170 | [
"BSD-3-Clause"
] | null | null | null | src/main-ecm.cpp | rheiland/pc_ECM_model_for_nanoHUB | 161b586757756ce753eddc10e8bf14c3d5b5d170 | [
"BSD-3-Clause"
] | 1 | 2019-12-11T10:34:31.000Z | 2019-12-11T10:34:31.000Z | /*
###############################################################################
# If you use PhysiCell in your project, please cite PhysiCell and the version #
# number, such as below: #
# ... | 42.958621 | 299 | 0.61005 | [
"object",
"vector",
"model"
] |
f37318fcf097c9ffc0390661e928997ad4c6dcac | 3,067 | cpp | C++ | CMGui/cmrenderqueue.cpp | sultanqasim/cinemavi | 47ce572f818b2d5289f59a3b302b996fbf42ffd7 | [
"BSD-2-Clause"
] | null | null | null | CMGui/cmrenderqueue.cpp | sultanqasim/cinemavi | 47ce572f818b2d5289f59a3b302b996fbf42ffd7 | [
"BSD-2-Clause"
] | null | null | null | CMGui/cmrenderqueue.cpp | sultanqasim/cinemavi | 47ce572f818b2d5289f59a3b302b996fbf42ffd7 | [
"BSD-2-Clause"
] | null | null | null | #include "cmrenderqueue.h"
#include "cmrenderworker.h"
#include <cstring>
#include <QThread>
CMRenderQueue::CMRenderQueue(QObject *parent)
: QObject{parent}
{
// set up worker in its thread
worker.moveToThread(&renderThread);
connect(&renderThread, &QThread::started, &worker, &CMRenderWorker::render);
... | 23.960938 | 99 | 0.665471 | [
"render"
] |
f374cf4a2187e0cd03825900a3c587b5b866a70f | 3,274 | hpp | C++ | stochepi/src/parameter.hpp | eeg-lanl/sarscov2-selection | c2087cbaf55de9930736aa6677a57008a2397583 | [
"BSD-3-Clause"
] | null | null | null | stochepi/src/parameter.hpp | eeg-lanl/sarscov2-selection | c2087cbaf55de9930736aa6677a57008a2397583 | [
"BSD-3-Clause"
] | null | null | null | stochepi/src/parameter.hpp | eeg-lanl/sarscov2-selection | c2087cbaf55de9930736aa6677a57008a2397583 | [
"BSD-3-Clause"
] | null | null | null | #ifndef _PARAMETER_HPP
#define _PARAMETER_HPP
#include <vector>
#include <map>
#include <list>
#include "aux.hpp" // Printable
#include "parprior.hpp"
#include "parse_params.hpp" // ParSpecs
// HACK 1: the first parameter is always the overdispersion of the noise
constexpr size_t IDX_SIGMA_OD = 0;
class Parameters ... | 38.97619 | 116 | 0.682346 | [
"shape",
"vector"
] |
f379e2eb4869a7a3539cbcdcca9ceb2f92ed4b9b | 15,983 | cpp | C++ | source/gameengine/Rasterizer/RAS_2DFilterManager.cpp | 1-MillionParanoidTterabytes/Blender-2.79b-blackened | e8d767324e69015aa66850d13bee7db1dc7d084b | [
"Unlicense"
] | 2 | 2018-06-18T01:50:25.000Z | 2018-06-18T01:50:32.000Z | source/gameengine/Rasterizer/RAS_2DFilterManager.cpp | 1-MillionParanoidTterabytes/Blender-2.79b-blackened | e8d767324e69015aa66850d13bee7db1dc7d084b | [
"Unlicense"
] | null | null | null | source/gameengine/Rasterizer/RAS_2DFilterManager.cpp | 1-MillionParanoidTterabytes/Blender-2.79b-blackened | e8d767324e69015aa66850d13bee7db1dc7d084b | [
"Unlicense"
] | null | null | null | /*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is d... | 28.388988 | 182 | 0.728837 | [
"vector"
] |
f37b05329773b73f8a1136de151878d5eb4485da | 6,657 | cpp | C++ | test/treeifier.cpp | remyers/btcdeb | abe0f457f84167120b318174df0ad38cd91a0fb2 | [
"MIT"
] | 2 | 2019-02-09T21:50:28.000Z | 2021-11-03T16:46:49.000Z | test/treeifier.cpp | remyers/btcdeb | abe0f457f84167120b318174df0ad38cd91a0fb2 | [
"MIT"
] | null | null | null | test/treeifier.cpp | remyers/btcdeb | abe0f457f84167120b318174df0ad38cd91a0fb2 | [
"MIT"
] | 2 | 2018-12-01T13:31:27.000Z | 2021-12-11T14:53:02.000Z | #include "catch.hpp"
#include "../compiler/tinyparser.h"
// inline std::vector<tiny::st_c> _list(tiny::st_t* list[]) {
// std::vector<tiny::st_c> r;
// for (size_t i = 0; list[i]; ++i) {
// r.emplace_back(list[i]);
// }
// return r;
// }
// #define LIST(vals...) _list((tiny::st_t*[]){vals, nul... | 34.853403 | 88 | 0.453658 | [
"vector"
] |
f37bcc500bf4601362a54a132406e50803e430a1 | 29,233 | cpp | C++ | src/openms/source/FORMAT/MzTab.cpp | andreott/OpenMS | 718fa2e8a91280ff65e4cf834a3d825811dce1dc | [
"BSL-1.0",
"Zlib",
"Apache-2.0"
] | 1 | 2021-07-06T09:15:10.000Z | 2021-07-06T09:15:10.000Z | src/openms/source/FORMAT/MzTab.cpp | andreott/OpenMS | 718fa2e8a91280ff65e4cf834a3d825811dce1dc | [
"BSL-1.0",
"Zlib",
"Apache-2.0"
] | null | null | null | src/openms/source/FORMAT/MzTab.cpp | andreott/OpenMS | 718fa2e8a91280ff65e4cf834a3d825811dce1dc | [
"BSL-1.0",
"Zlib",
"Apache-2.0"
] | null | null | null | // --------------------------------------------------------------------------
// OpenMS -- Open-Source Mass Spectrometry
// --------------------------------------------------------------------------
// Copyright The OpenMS Team -- Eberhard Karls University Tuebingen,
// ETH Zurich, and Freie Universit... | 20.880714 | 218 | 0.570006 | [
"vector"
] |
3ce1cb8c1372cb4e2511a02982842fcf62ebd33f | 9,347 | cpp | C++ | unittests/cancellation.cpp | alexbriskin/taskflow | da69f8989f26f8ff7bc731dbafb2f6ce171934fc | [
"MIT"
] | 3,457 | 2018-06-09T15:36:42.000Z | 2020-06-01T22:09:25.000Z | unittests/cancellation.cpp | alexbriskin/taskflow | da69f8989f26f8ff7bc731dbafb2f6ce171934fc | [
"MIT"
] | 146 | 2018-06-11T04:11:22.000Z | 2020-06-01T20:59:21.000Z | unittests/cancellation.cpp | alexbriskin/taskflow | da69f8989f26f8ff7bc731dbafb2f6ce171934fc | [
"MIT"
] | 426 | 2018-06-06T18:01:16.000Z | 2020-06-01T05:26:17.000Z | #define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
#include <doctest.h>
#include <taskflow/taskflow.hpp>
// EmptyFuture
TEST_CASE("EmptyFuture" * doctest::timeout(300)) {
tf::Future<void> fu;
REQUIRE(fu.valid() == false);
REQUIRE(fu.cancel() == false);
}
// Future
TEST_CASE("Future" * doctest::timeout(300)) {
tf::T... | 23.72335 | 83 | 0.616882 | [
"vector"
] |
3cedd21274cecc4294b4cd65c7bee6eb7847133f | 2,021 | cpp | C++ | kuka_interface_pkg/src/single_lwr_homing.cpp | IIRAI/kuka_interface | 5886f68c00650342ab083984debb7b29e443bf7c | [
"BSD-3-Clause"
] | 5 | 2018-09-12T05:45:58.000Z | 2020-02-27T03:12:45.000Z | kuka_interface_pkg/src/single_lwr_homing.cpp | IIRAI/kuka_interface | 5886f68c00650342ab083984debb7b29e443bf7c | [
"BSD-3-Clause"
] | null | null | null | kuka_interface_pkg/src/single_lwr_homing.cpp | IIRAI/kuka_interface | 5886f68c00650342ab083984debb7b29e443bf7c | [
"BSD-3-Clause"
] | 2 | 2019-05-16T10:42:36.000Z | 2021-04-01T13:12:44.000Z | #include <ros/ros.h>
#include <ros/rate.h>
#include <math.h>
#include <geometry_msgs/Pose.h>
#include <sensor_msgs/JointState.h>
#include <std_msgs/Float64.h>
bool received_state = false;
std::vector<double> q0;
void state_callback(const sensor_msgs::JointState& msg)
{
if(received_state) return;
q0.push_back(msg.p... | 24.950617 | 95 | 0.685799 | [
"vector"
] |
3cf307f4ebb7a7979d77881b2a868c52ae5c4ea9 | 12,775 | cpp | C++ | methods/islet/islet_isl.cpp | ambrad/COMPOSE | 0bda7aeaf2b8494c7de8cd179c22e340b08eda6e | [
"BSD-3-Clause"
] | 3 | 2018-12-30T20:01:25.000Z | 2020-07-22T23:44:14.000Z | methods/islet/islet_isl.cpp | E3SM-Project/COMPOSE | 0bda7aeaf2b8494c7de8cd179c22e340b08eda6e | [
"BSD-3-Clause"
] | 8 | 2019-02-06T19:08:31.000Z | 2020-04-24T03:40:49.000Z | methods/islet/islet_isl.cpp | ambrad/COMPOSE | 0bda7aeaf2b8494c7de8cd179c22e340b08eda6e | [
"BSD-3-Clause"
] | 2 | 2019-01-16T03:58:31.000Z | 2019-02-06T22:45:43.000Z | #include <cassert>
#include <array>
#include <vector>
#include <limits>
#include "islet_tables.hpp"
#include "islet_util.hpp"
#include "islet_isl.hpp"
#include "islet_xnodes_metrics.hpp"
#include "islet_npx.hpp"
extern "C" {
void dgemm_(const char* transa, const char* transb, const int* m,
const int*... | 35 | 199 | 0.539648 | [
"vector"
] |
3cf35ab94d4a56b771c5691dbc4374c4c8f70632 | 10,441 | cc | C++ | engine/source/game/module.cc | marauder2k7/Torque2DCMake | 7c50b2accc7beb1bfaba930a956ab8fa0bb5eb68 | [
"MIT"
] | null | null | null | engine/source/game/module.cc | marauder2k7/Torque2DCMake | 7c50b2accc7beb1bfaba930a956ab8fa0bb5eb68 | [
"MIT"
] | null | null | null | engine/source/game/module.cc | marauder2k7/Torque2DCMake | 7c50b2accc7beb1bfaba930a956ab8fa0bb5eb68 | [
"MIT"
] | null | null | null | //-----------------------------------------------------------------------------
// 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... | 33.041139 | 138 | 0.585672 | [
"vector"
] |
3cf6d29286fc54cf7aaeb1b81d47b78b1623ddc8 | 4,439 | cpp | C++ | src/inputHandler.cpp | kaprikawn/shoot | f07121a275e8c3aec1f66cbb6825951123371ccb | [
"MIT"
] | 1 | 2018-07-09T21:12:55.000Z | 2018-07-09T21:12:55.000Z | src/inputHandler.cpp | kaprikawn/shoot | f07121a275e8c3aec1f66cbb6825951123371ccb | [
"MIT"
] | 1 | 2019-06-09T14:16:31.000Z | 2019-06-18T20:10:33.000Z | src/inputHandler.cpp | kaprikawn/shoot | f07121a275e8c3aec1f66cbb6825951123371ccb | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include "inputHandler.hpp"
#include "game.hpp"
InputHandler* InputHandler::instance_ = 0;
void InputHandler::initialiseJoysticks() {
if( SDL_WasInit( SDL_INIT_JOYSTICK ) == 0 ) {
SDL_InitSubSystem( SDL_INIT_JOYSTICK );
}
if( SDL_NumJoysticks() > 0 ) {
for( int i... | 27.918239 | 188 | 0.589097 | [
"vector"
] |
3cfe09386b33d282437cc1d4f906e66f54ed5164 | 7,532 | cpp | C++ | Contrib-Intel/RSD-PSME-RMM/common/agent-framework/src/module/requests/validation/common.cpp | opencomputeproject/Rack-Manager | e1a61d3eeeba0ff655fe9c1301e8b510d9b2122a | [
"MIT"
] | 5 | 2019-11-11T07:57:26.000Z | 2022-03-28T08:26:53.000Z | Contrib-Intel/RSD-PSME-RMM/common/agent-framework/src/module/requests/validation/common.cpp | opencomputeproject/Rack-Manager | e1a61d3eeeba0ff655fe9c1301e8b510d9b2122a | [
"MIT"
] | 3 | 2019-09-05T21:47:07.000Z | 2019-09-17T18:10:45.000Z | Contrib-Intel/RSD-PSME-RMM/common/agent-framework/src/module/requests/validation/common.cpp | opencomputeproject/Rack-Manager | e1a61d3eeeba0ff655fe9c1301e8b510d9b2122a | [
"MIT"
] | 11 | 2019-07-20T00:16:32.000Z | 2022-01-11T14:17:48.000Z | /*!
* @copyright
* Copyright (c) 2015-2019 Intel Corporation
*
* @copyright
* 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
*
* @copyright
* http://www.apache.org/licenses/LICENSE-... | 37.472637 | 129 | 0.653213 | [
"model"
] |
3cfea127fa7d5e2343ff1ed90a23418252f68f25 | 6,172 | cpp | C++ | 3rdparty/meshlab-master/src/meshlabplugins/render_radiance_scaling/gpuProgram.cpp | HoEmpire/slambook2 | 96d360f32aa5d8b5c5dcbbf9ee7ba865e84409f4 | [
"MIT"
] | 4 | 2016-03-30T14:31:52.000Z | 2019-02-02T05:01:32.000Z | graphics/meshlab/src/meshlabplugins/render_radiance_scaling/gpuProgram.cpp | hlzz/dotfiles | 0591f71230c919c827ba569099eb3b75897e163e | [
"BSD-3-Clause"
] | null | null | null | graphics/meshlab/src/meshlabplugins/render_radiance_scaling/gpuProgram.cpp | hlzz/dotfiles | 0591f71230c919c827ba569099eb3b75897e163e | [
"BSD-3-Clause"
] | null | null | null | /****************************************************************************
* Render Radiance Scaling *
* Meshlab's plugin *
* *
* Copyri... | 27.431111 | 99 | 0.559624 | [
"render"
] |
3cff022b50e3d9a95cc95b3c0a9731ad4dd2b9e1 | 5,953 | hpp | C++ | cpp/src/datacentric/dc/types/variant/variant.hpp | datacentricorg/datacentric-cpp | 252f642b1a81c2475050d48e9564eec0a561907e | [
"Apache-2.0"
] | 2 | 2019-08-08T01:29:02.000Z | 2019-08-18T19:19:00.000Z | cpp/src/datacentric/dc/types/variant/variant.hpp | datacentricorg/datacentric-cpp | 252f642b1a81c2475050d48e9564eec0a561907e | [
"Apache-2.0"
] | null | null | null | cpp/src/datacentric/dc/types/variant/variant.hpp | datacentricorg/datacentric-cpp | 252f642b1a81c2475050d48e9564eec0a561907e | [
"Apache-2.0"
] | null | null | null | /*
Copyright (C) 2013-present The DataCentric 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 obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to ... | 41.340278 | 125 | 0.635646 | [
"object"
] |
a702083929c19296fe39c2d31959624962b5dc26 | 13,485 | cpp | C++ | src/mlssample.cpp | csiro-workspace/pointcloudplugin | 815dd598ccf3780739b1ecae086ee78daa94ed5d | [
"BSD-3-Clause"
] | 5 | 2015-09-22T02:33:34.000Z | 2018-08-29T07:37:54.000Z | src/mlssample.cpp | csiro-workspace/pointcloudplugin | 815dd598ccf3780739b1ecae086ee78daa94ed5d | [
"BSD-3-Clause"
] | 1 | 2018-12-12T12:08:28.000Z | 2018-12-13T06:14:54.000Z | src/mlssample.cpp | csiro-workspace/pointcloudplugin | 815dd598ccf3780739b1ecae086ee78daa94ed5d | [
"BSD-3-Clause"
] | 4 | 2015-03-04T00:09:18.000Z | 2020-09-08T02:58:06.000Z | /*============================================================================
Copyright 2015 by:
Commonwealth Scientific and Industrial Research Organisation (CSIRO)
This file is licensed by CSIRO under the copy of the CSIRO Open Source
Software License Agreement (variation of the BSD / MIT Licens... | 37.562674 | 143 | 0.630923 | [
"mesh",
"object",
"model"
] |
a7092c7191ff9924e755ed5c39550b117086ffa7 | 32,345 | cpp | C++ | gdal/frmts/sde/sderasterband.cpp | ajolma/gdal | 19d847c8519919fcd1e7e7247644d28771034317 | [
"MIT"
] | 9 | 2019-05-30T17:01:56.000Z | 2021-01-30T01:06:41.000Z | gdal/frmts/sde/sderasterband.cpp | ajolma/gdal | 19d847c8519919fcd1e7e7247644d28771034317 | [
"MIT"
] | 4 | 2018-10-23T18:43:35.000Z | 2019-07-01T19:29:49.000Z | gdal/frmts/sde/sderasterband.cpp | ajolma/gdal | 19d847c8519919fcd1e7e7247644d28771034317 | [
"MIT"
] | 6 | 2019-02-03T14:19:32.000Z | 2021-12-19T06:36:49.000Z | /******************************************************************************
*
* Project: ESRI ArcSDE Raster reader
* Purpose: Rasterband implementation for ESRI ArcSDE Rasters
* Author: Howard Butler, hobu@hobu.net
*
* This work was sponsored by the Geological Survey of Canada, Natural
* Resources Canada... | 37.566783 | 126 | 0.470614 | [
"object"
] |
a70b348e2fd88b4de5bd93f6697e51e89a86fc77 | 8,911 | cpp | C++ | com/netfx/src/clr/vm/comobject.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | com/netfx/src/clr/vm/comobject.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | com/netfx/src/clr/vm/comobject.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | // ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
/*============================================================
**
** Header: COMObject.cpp
**
** Author: Derek Yenzer (dereky)
**
** Purpose: Native methods on System.Object
**
** Date: March 27, 1998
**
=======... | 32.053957 | 147 | 0.629335 | [
"object"
] |
a70ce1e72446859185930c244cf72a0293152849 | 2,931 | hpp | C++ | source/Homology/Homology.hpp | NickG-Math/Mackey | 0bd1e5b8aca16f3422c4ab9c5656990e1b501e54 | [
"MIT"
] | null | null | null | source/Homology/Homology.hpp | NickG-Math/Mackey | 0bd1e5b8aca16f3422c4ab9c5656990e1b501e54 | [
"MIT"
] | null | null | null | source/Homology/Homology.hpp | NickG-Math/Mackey | 0bd1e5b8aca16f3422c4ab9c5656990e1b501e54 | [
"MIT"
] | null | null | null | #pragma once
#include "Chain_Complexes/Chains.hpp"
#include "Utility/General.hpp"
#include "Smith.hpp"
#include "Abelian.hpp"
///@file
///@brief Contains the class \ref mackey::Homology.
namespace mackey {
///The Homology of a Junction
//
///@tparam rank_t The rank type is a dense Eigen row vector of signed integ... | 45.092308 | 200 | 0.710679 | [
"vector"
] |
a7173fcfd0ef6392f9b8a3ae194c34d837e33626 | 14,135 | cpp | C++ | lib/Dialect/TPU/Backend/Kernel/TgBf16MatchTemplateKernel.cpp | sophgo/tpu_compiler | 6299ea0a3adae1e5c206bcb9bedf225d16e636db | [
"Apache-2.0"
] | 3 | 2022-03-14T11:47:20.000Z | 2022-03-16T01:45:37.000Z | lib/Dialect/TPU/Backend/Kernel/TgBf16MatchTemplateKernel.cpp | sophgo/tpu_compiler | 6299ea0a3adae1e5c206bcb9bedf225d16e636db | [
"Apache-2.0"
] | null | null | null | lib/Dialect/TPU/Backend/Kernel/TgBf16MatchTemplateKernel.cpp | sophgo/tpu_compiler | 6299ea0a3adae1e5c206bcb9bedf225d16e636db | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) Cvitek Co., Ltd. 2019-2020. All rights reserved.
*
* File Name: TgBf16MatchTemplateKenrel.cpp
* Description:
*/
#include "CviBackendContext.h"
#include "backend/backend_tl_api.h"
#include <cmath>
#include <iostream>
#include <llvm/Support/Debug.h>
#include <llvm/Support/Format.h>
#include <llvm/... | 34.644608 | 94 | 0.61139 | [
"shape"
] |
a72033b7901f0c6ee46e5ea25ff8aa60b3fda998 | 13,396 | hpp | C++ | Engine/AssetIO/include/bf/asset_io/bf_model_loader.hpp | BluFedora/BluFedoraEngine | 41d0948f6a3a41c38fcc9217fe68105e6f1f9c5f | [
"MIT"
] | null | null | null | Engine/AssetIO/include/bf/asset_io/bf_model_loader.hpp | BluFedora/BluFedoraEngine | 41d0948f6a3a41c38fcc9217fe68105e6f1f9c5f | [
"MIT"
] | null | null | null | Engine/AssetIO/include/bf/asset_io/bf_model_loader.hpp | BluFedora/BluFedoraEngine | 41d0948f6a3a41c38fcc9217fe68105e6f1f9c5f | [
"MIT"
] | null | null | null | #ifndef BF_ASSETIO_MODEL_LOADER_HPP
#define BF_ASSETIO_MODEL_LOADER_HPP
#include "bf/memory/bf_imemory_manager.hpp" // IMemoryManager
#include "bf/bf_api_types.h" // bfStringRange
#include "bf/bifrost_math.hpp" // Math Structs
#include <array> // array
#include <cstdint> // uint32_t
#include <memory> /... | 26.318271 | 142 | 0.575993 | [
"mesh",
"object",
"transform"
] |
a7214a24d51a6d4e12e34bfe50e81c50f0cbd687 | 6,004 | cpp | C++ | example/GsQueryTest/queryresult.cpp | yulei880831/gskernel | 955385165a79f3be2d0ec06bf2d9099071fa8c74 | [
"Apache-2.0"
] | null | null | null | example/GsQueryTest/queryresult.cpp | yulei880831/gskernel | 955385165a79f3be2d0ec06bf2d9099071fa8c74 | [
"Apache-2.0"
] | null | null | null | example/GsQueryTest/queryresult.cpp | yulei880831/gskernel | 955385165a79f3be2d0ec06bf2d9099071fa8c74 | [
"Apache-2.0"
] | null | null | null | #include "queryresult.h"
#include "ui_queryresult.h"
#include <QMainWindow>
#include <QStyle>
#include <QStyleFactory>
using namespace GeoStar::Utility::Data;
QueryResult::QueryResult(QWidget *parent) :
QDialog(parent),
ui(new Ui::QueryResult)
{
ui->setupUi(this);
ui->treeWidget->setHeaderHidden(true);... | 26.218341 | 91 | 0.612425 | [
"geometry",
"vector"
] |
a7257ddec08031446fcc3270b6a9069a17f958a8 | 5,394 | cpp | C++ | src/mame/video/aeroboto.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | 26 | 2015-03-31T06:25:51.000Z | 2021-12-14T09:29:04.000Z | src/mame/video/aeroboto.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | null | null | null | src/mame/video/aeroboto.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | 10 | 2015-03-27T05:45:51.000Z | 2022-02-04T06:57:36.000Z | // license:BSD-3-Clause
// copyright-holders:Carlos A. Lozano, Uki
/***************************************************************************
video/aeroboto.c
***************************************************************************/
#include "emu.h"
#include "includes/aeroboto.h"
// how the starfield ROM... | 25.323944 | 162 | 0.579162 | [
"vector"
] |
a725bc25f95475f8d7bba0fb6276be5031bc3d74 | 13,921 | cpp | C++ | tree_morse.cpp | andythebreaker/Graphical_user_interface_for_Morse_code_transmitter_and_dot_matrix_text_generation | aa0248bdd6252ed6a26d621d2f2c123dcb60034b | [
"MIT"
] | null | null | null | tree_morse.cpp | andythebreaker/Graphical_user_interface_for_Morse_code_transmitter_and_dot_matrix_text_generation | aa0248bdd6252ed6a26d621d2f2c123dcb60034b | [
"MIT"
] | 1 | 2021-07-03T18:13:56.000Z | 2021-07-03T18:13:56.000Z | tree_morse.cpp | andythebreaker/Graphical_user_interface_for_Morse_code_transmitter_and_dot_matrix_text_generation | aa0248bdd6252ed6a26d621d2f2c123dcb60034b | [
"MIT"
] | null | null | null | //using g++ 6.3.0 ; aka MinGW.org GCC-6.3.0-1
/**
* logic tree of Morse code
*
* @author andythebreaker
* @version 0.0.1, 07/04/2021
*/
#include <algorithm>
#include <iostream>
#include <string>
#include <list>
#include <map>
#include <vector>
#include <math.h>
#include <stdlib.h>
#include <fstream>
#include <reg... | 39.660969 | 240 | 0.631348 | [
"vector"
] |
a7260a454ed1ed7e0699965b99a2f8495165f2af | 21,108 | cc | C++ | third_party/blink/renderer/core/layout/ng/inline/ng_line_truncator.cc | DamieFC/chromium | 54ce2d3c77723697efd22cfdb02aea38f9dfa25c | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2020-10-18T02:33:40.000Z | 2020-10-18T02:33:40.000Z | third_party/blink/renderer/core/layout/ng/inline/ng_line_truncator.cc | DamieFC/chromium | 54ce2d3c77723697efd22cfdb02aea38f9dfa25c | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 3 | 2021-05-17T16:28:52.000Z | 2021-05-21T22:42:22.000Z | third_party/blink/renderer/core/layout/ng/inline/ng_line_truncator.cc | DamieFC/chromium | 54ce2d3c77723697efd22cfdb02aea38f9dfa25c | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2018 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/core/layout/ng/inline/ng_line_truncator.h"
#include "base/containers/adapters.h"
#include "third_party/blink/rendere... | 39.016636 | 83 | 0.695376 | [
"object",
"shape"
] |
a72d26b17f1473bfb0742bb1c69da5ef25d420e5 | 1,233 | cpp | C++ | Engine/Source/Runtime/EmptyRHI/Private/EmptyRenderTarget.cpp | PopCap/GameIdea | 201e1df50b2bc99afc079ce326aa0a44b178a391 | [
"BSD-2-Clause"
] | null | null | null | Engine/Source/Runtime/EmptyRHI/Private/EmptyRenderTarget.cpp | PopCap/GameIdea | 201e1df50b2bc99afc079ce326aa0a44b178a391 | [
"BSD-2-Clause"
] | 2 | 2015-06-21T17:38:11.000Z | 2015-06-22T20:54:42.000Z | Engine/Source/Runtime/EmptyRHI/Private/EmptyRenderTarget.cpp | PopCap/GameIdea | 201e1df50b2bc99afc079ce326aa0a44b178a391 | [
"BSD-2-Clause"
] | null | null | null | // Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
/*=============================================================================
EmptyRenderTarget.cpp: Empty render target implementation.
=============================================================================*/
#include "EmptyRHIPrivate.h"
#include... | 30.825 | 183 | 0.728305 | [
"render"
] |
a73516ad92d166426ce2697e4cd8866e580593f9 | 20,732 | hpp | C++ | include/optimization/rotation_folding.hpp | amccaskey/staq | 7f76503b7d3d2e3eb87dc0d26d0a58aa5ab30db0 | [
"MIT"
] | null | null | null | include/optimization/rotation_folding.hpp | amccaskey/staq | 7f76503b7d3d2e3eb87dc0d26d0a58aa5ab30db0 | [
"MIT"
] | null | null | null | include/optimization/rotation_folding.hpp | amccaskey/staq | 7f76503b7d3d2e3eb87dc0d26d0a58aa5ab30db0 | [
"MIT"
] | null | null | null | /*
* This file is part of staq.
*
* MIT License
*
* 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, ... | 39.792706 | 80 | 0.500772 | [
"vector"
] |
a73a6eab6922b68faa12458c3d753108ac54df0d | 9,575 | hpp | C++ | src/xercesc/dom/DOMLSInput.hpp | gajgeospatial/xerces-c-3.2.2 | 8396d30350e6523313766f9c18e07c4f708be9cb | [
"Apache-2.0"
] | 218 | 2015-07-17T19:18:07.000Z | 2022-03-03T18:00:08.000Z | src/xercesc/dom/DOMLSInput.hpp | rsn8887/xerces-c | eafbd0b1755fe55550e10aaaf3b15c587d900f39 | [
"Apache-2.0"
] | 88 | 2015-07-08T15:35:46.000Z | 2020-08-13T13:03:09.000Z | src/xercesc/dom/DOMLSInput.hpp | rsn8887/xerces-c | eafbd0b1755fe55550e10aaaf3b15c587d900f39 | [
"Apache-2.0"
] | 56 | 2015-09-17T21:22:32.000Z | 2021-04-01T20:19:32.000Z | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | 34.818182 | 129 | 0.58047 | [
"object"
] |
a73b76de47d75b15af0934527886353a526b134b | 752 | cpp | C++ | Sorting_Techniques/Heap_Sort/Heap_Sort.cpp | Amit366/DSA-guide | a0f30d281e311d9c1974b9c91fa8d16ec72f871d | [
"MIT"
] | 60 | 2020-10-04T13:19:26.000Z | 2022-01-23T09:09:27.000Z | Sorting_Techniques/Heap_Sort/Heap_Sort.cpp | Amit366/DSA-guide | a0f30d281e311d9c1974b9c91fa8d16ec72f871d | [
"MIT"
] | 202 | 2020-10-04T13:03:46.000Z | 2021-07-29T07:39:15.000Z | Sorting_Techniques/Heap_Sort/Heap_Sort.cpp | Amit366/DSA-guide | a0f30d281e311d9c1974b9c91fa8d16ec72f871d | [
"MIT"
] | 169 | 2020-10-04T13:21:09.000Z | 2022-03-20T16:59:35.000Z |
#include <bits/stdc++.h>
using namespace std;
int main() {
// Taking the length of the array
int n;
cin >> n;
vector<int> arr(n);
// Taking the array elements and storing it in arr.
for(int i = 0; i < n; i++) {
cin >> arr[i];
}
// Printing the input array withou... | 21.485714 | 75 | 0.50133 | [
"vector"
] |
a73cf58c37ddb4c390ce3e9512fb068ecb3595df | 1,334 | cpp | C++ | tests/UT_NOK_missing_mandatory-4.cpp | LucHermitte/NamedParameter | 394eca773c122c1c0504ade79e08b777250ebbfd | [
"BSL-1.0"
] | 5 | 2016-03-14T12:06:55.000Z | 2020-12-28T21:12:42.000Z | tests/UT_NOK_missing_mandatory-4.cpp | LucHermitte/NamedParameter | 394eca773c122c1c0504ade79e08b777250ebbfd | [
"BSL-1.0"
] | null | null | null | tests/UT_NOK_missing_mandatory-4.cpp | LucHermitte/NamedParameter | 394eca773c122c1c0504ade79e08b777250ebbfd | [
"BSL-1.0"
] | null | null | null | /**@file tests/UT_NOK_missing_mandatory-4.cpp
* @author Luc Hermitte <EMAIL:luc{dot}hermitte{at}gmail{dot}com>
*
* 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
*/
#define BOOST_TEST_MODULE "Named parameters rel... | 31.023256 | 67 | 0.571214 | [
"vector"
] |
a73daabc71bc8b58c192236acde0f8d810c8ef93 | 2,070 | cpp | C++ | Sources/AGEngine/Engine/Entity/BinaryEntity.cpp | Another-Game-Engine/AGE | d5d9e98235198fe580a43007914f515437635830 | [
"MIT"
] | 47 | 2015-03-29T09:44:25.000Z | 2020-11-30T10:05:56.000Z | Sources/AGEngine/Engine/Entity/BinaryEntity.cpp | Another-Game-Engine/AGE | d5d9e98235198fe580a43007914f515437635830 | [
"MIT"
] | 313 | 2015-01-01T18:16:30.000Z | 2015-11-30T07:54:07.000Z | Sources/AGEngine/Engine/Entity/BinaryEntity.cpp | Another-Game-Engine/AGE | d5d9e98235198fe580a43007914f515437635830 | [
"MIT"
] | 9 | 2015-06-07T13:21:54.000Z | 2020-08-25T09:50:07.000Z | #include "BinaryEntity.hpp"
#include <Entity/EntityData.hh>
#include <Entity/ArchetypeManager.hpp>
#include <Core/AScene.hh>
#include <cereal/types/vector.hpp>
#include <cereal/types/map.hpp>
#include <cereal/types/string.hpp>
#include <Components\ComponentRegistrationManager.hpp>
#include "Components/ArchetypeComp... | 25.875 | 101 | 0.72029 | [
"vector"
] |
a7443299a25053f087928accb385edf2c0a2083d | 1,352 | hpp | C++ | src/include/common/logger.hpp | arthurmco/familyline | 849eee40cff266af9a3f848395ed139b7ce66197 | [
"MIT"
] | 6 | 2018-05-11T23:16:02.000Z | 2019-06-13T01:35:07.000Z | src/include/common/logger.hpp | arthurmco/familyline | 849eee40cff266af9a3f848395ed139b7ce66197 | [
"MIT"
] | 33 | 2018-05-11T14:12:22.000Z | 2022-03-12T00:55:25.000Z | src/include/common/logger.hpp | arthurmco/familyline | 849eee40cff266af9a3f848395ed139b7ce66197 | [
"MIT"
] | 1 | 2018-12-06T23:39:55.000Z | 2018-12-06T23:39:55.000Z | #pragma once
/**
* Familyline logging functions
*
* Copyright (C) 2020 Arthur Mendes
*/
#include <chrono>
#include <cstdio>
#include <memory>
#include <vector>
#include <string>
namespace familyline
{
#define LOGDEBUG(log, tag, format, ...) log->write(tag, LogType::Debug, format, __VA_ARGS__)
... | 22.533333 | 101 | 0.616124 | [
"vector"
] |
a7445802d818382e75ce6ad5bddf005a3a3837d6 | 17,362 | cpp | C++ | Code/Cpp/detect_marks.cpp | sgino209/Bracelet_decoder | d1b557254355601b277924313b760b6b30b48326 | [
"Apache-2.0"
] | null | null | null | Code/Cpp/detect_marks.cpp | sgino209/Bracelet_decoder | d1b557254355601b277924313b760b6b30b48326 | [
"Apache-2.0"
] | null | null | null | Code/Cpp/detect_marks.cpp | sgino209/Bracelet_decoder | d1b557254355601b277924313b760b6b30b48326 | [
"Apache-2.0"
] | null | null | null | // Bracelet-Decoder algo app
// (c) Shahar Gino, September-2017, sgino209@gmail.com
#include "detect_marks.hpp"
double find_possible_marks(mark_list_t &possible_marks_final, cv::Mat &frame_gray, cv::Mat &frame_thresh, unsigned int MinPixelWidth,
unsigned int MaxPixelWidth, unsigned int Min... | 38.928251 | 141 | 0.587087 | [
"vector"
] |
a74471a4400e43a00fb284691005f853cbdf79a9 | 12,442 | cpp | C++ | third_party/boost/libs/gil/test/pixel_iterator.cpp | Jackarain/tinyrpc | 07060e3466776aa992df8574ded6c1616a1a31af | [
"BSL-1.0"
] | 32 | 2019-02-27T06:57:07.000Z | 2021-08-29T10:56:19.000Z | third_party/boost/libs/gil/test/pixel_iterator.cpp | avplayer/cxxrpc | 7049b4079fac78b3828e68f787d04d699ce52f6d | [
"BSL-1.0"
] | 1 | 2019-03-04T11:21:00.000Z | 2019-05-24T01:36:31.000Z | third_party/boost/libs/gil/test/pixel_iterator.cpp | avplayer/cxxrpc | 7049b4079fac78b3828e68f787d04d699ce52f6d | [
"BSL-1.0"
] | 5 | 2019-08-20T13:45:04.000Z | 2022-03-01T18:23:49.000Z | //
// Copyright 2005-2007 Adobe Systems Incorporated
//
// Distributed under the Boost Software License, Version 1.0
// See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt
//
#include <boost/gil.hpp>
#include <boost/mpl/vector.hpp>
#include <cassert>
#include <exceptio... | 36.702065 | 199 | 0.704629 | [
"vector"
] |
a74769270ec44110a37aa7155fccec5946019a88 | 641 | cpp | C++ | Array/945_Minimum-Increment-to-Make-Array-Unique.cpp | YunWGui/LeetCode | 2587eca22195ec7d9263227554467ec4010cfe05 | [
"MIT"
] | null | null | null | Array/945_Minimum-Increment-to-Make-Array-Unique.cpp | YunWGui/LeetCode | 2587eca22195ec7d9263227554467ec4010cfe05 | [
"MIT"
] | null | null | null | Array/945_Minimum-Increment-to-Make-Array-Unique.cpp | YunWGui/LeetCode | 2587eca22195ec7d9263227554467ec4010cfe05 | [
"MIT"
] | null | null | null | /*
Title:
945. Minimum Increment to Make Array Unique
945. 使数组唯一的最小增量
Address:
https://leetcode-cn.com/problems/minimum-increment-to-make-array-unique/
*/
#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
class Solution {
public:
int minIncrementForUnique(vector<int>& A) ... | 17.324324 | 76 | 0.4961 | [
"vector"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.