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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d6efc058cf6f447dae2667ca1e8a584c31034eb8 | 21,871 | cpp | C++ | classifiers/SVM/libsvm-openset/matlab/svmtrain_open.cpp | Heliot7/open-set-da | cd3c8c9a2491dd7165259e8fde769046f735a5b8 | [
"BSD-3-Clause"
] | 83 | 2017-11-21T00:50:05.000Z | 2022-03-18T00:54:25.000Z | classifiers/SVM/libsvm-openset/matlab/svmtrain_open.cpp | Heliot7/open-set-da | cd3c8c9a2491dd7165259e8fde769046f735a5b8 | [
"BSD-3-Clause"
] | 6 | 2017-11-21T00:50:44.000Z | 2021-09-07T13:43:14.000Z | classifiers/SVM/libsvm-openset/matlab/svmtrain_open.cpp | Heliot7/open-set-da | cd3c8c9a2491dd7165259e8fde769046f735a5b8 | [
"BSD-3-Clause"
] | 15 | 2018-03-06T00:01:29.000Z | 2021-07-28T05:18:16.000Z | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include "svm.h"
#include "mex.h"
#include "svm_model_matlab.h"
#if MX_API_VER < 0x07030000
typedef int mwIndex;
#endif
#define CMD_LEN 2048
#define Malloc(type,n) (type *)malloc((n)*sizeof(type))
void print_null(const char *s) {}
void pr... | 26.639464 | 198 | 0.650633 | [
"vector",
"model",
"transform"
] |
d6f01e79d6ad57b3f723e997192e684b3fe793f0 | 1,458 | cpp | C++ | src/behaviour-tree/tasks/task-move-smart.cpp | xterminal86/nrogue | 1d4e578b3d854b8e4d41f5ba1477de9b2c9e864f | [
"MIT"
] | 7 | 2019-03-05T05:32:13.000Z | 2022-01-10T10:06:47.000Z | src/behaviour-tree/tasks/task-move-smart.cpp | xterminal86/nrogue | 1d4e578b3d854b8e4d41f5ba1477de9b2c9e864f | [
"MIT"
] | 2 | 2020-01-19T16:43:51.000Z | 2021-12-16T14:54:56.000Z | src/behaviour-tree/tasks/task-move-smart.cpp | xterminal86/nrogue | 1d4e578b3d854b8e4d41f5ba1477de9b2c9e864f | [
"MIT"
] | null | null | null | #include "task-move-smart.h"
#include "map.h"
#include "door-component.h"
BTResult TaskMoveSmart::Run()
{
//DebugLog("[TaskMoveSmart]\n");
Position objPos = { _objectToControl->PosX, _objectToControl->PosY };
auto cells = Util::GetEightPointsAround(objPos, Map::Instance().CurrentLevel->MapSize);
std::vector<... | 25.578947 | 89 | 0.59808 | [
"vector"
] |
d903d88ed902c55dc8b4a95733b8aff5f9f8cda1 | 5,024 | cpp | C++ | entity/const_alias.cpp | Houzz/tap | 48e505ad76a9400fda48dcf22ba3cf1ce8c036d5 | [
"Apache-2.0"
] | 4 | 2017-08-10T22:49:08.000Z | 2017-09-20T08:11:49.000Z | entity/const_alias.cpp | Houzz/tap | 48e505ad76a9400fda48dcf22ba3cf1ce8c036d5 | [
"Apache-2.0"
] | null | null | null | entity/const_alias.cpp | Houzz/tap | 48e505ad76a9400fda48dcf22ba3cf1ce8c036d5 | [
"Apache-2.0"
] | 2 | 2017-08-14T18:44:17.000Z | 2018-04-14T13:58:35.000Z | /*
Copyright 2017 Houzz, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dis... | 31.797468 | 121 | 0.662619 | [
"vector"
] |
d904d2397f0a4946a02437e05f975482f4470e8a | 1,802 | cpp | C++ | 719.find-k-th-smallest-pair-distance.cpp | cherlix/leetcode | c436e36c3900d3d3eefdbd47c260bbf09854d1c4 | [
"MIT"
] | null | null | null | 719.find-k-th-smallest-pair-distance.cpp | cherlix/leetcode | c436e36c3900d3d3eefdbd47c260bbf09854d1c4 | [
"MIT"
] | null | null | null | 719.find-k-th-smallest-pair-distance.cpp | cherlix/leetcode | c436e36c3900d3d3eefdbd47c260bbf09854d1c4 | [
"MIT"
] | null | null | null | /*
* @lc app=leetcode id=719 lang=cpp
*
* [719] Find K-th Smallest Pair Distance
*
* https://leetcode.com/problems/find-k-th-smallest-pair-distance/description/
*
* algorithms
* Hard (28.70%)
* Total Accepted: 17.4K
* Total Submissions: 60.7K
* Testcase Example: '[1,3,1]\n1'
*
* Given an integer array,... | 21.97561 | 106 | 0.495006 | [
"vector"
] |
d90873647575539ad2d160f03e0fe6c5b50970d0 | 5,925 | cpp | C++ | Testing/VisualPipes/albaPipeMeterTest.cpp | IOR-BIC/ALBA | b574968b05d9a3a2756dd2ac61d015a0d20232a4 | [
"Apache-2.0",
"BSD-3-Clause"
] | 9 | 2018-11-19T10:15:29.000Z | 2021-08-30T11:52:07.000Z | Testing/VisualPipes/albaPipeMeterTest.cpp | IOR-BIC/ALBA | b574968b05d9a3a2756dd2ac61d015a0d20232a4 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | Testing/VisualPipes/albaPipeMeterTest.cpp | IOR-BIC/ALBA | b574968b05d9a3a2756dd2ac61d015a0d20232a4 | [
"Apache-2.0",
"BSD-3-Clause"
] | 3 | 2018-06-10T22:56:29.000Z | 2019-12-12T06:22:56.000Z | /*=========================================================================
Program: ALBA (Agile Library for Biomedical Applications)
Module: albaPipeMeterTest
Authors: Roberto Mucci
Copyright (c) BIC
All rights reserved. See Copyright.txt or
This software is distributed WITHOUT ANY WARRANTY; without even
t... | 31.349206 | 88 | 0.604388 | [
"render"
] |
d909411da94602e5fd6bafcddd71e9874daac86d | 56,353 | cpp | C++ | cpp/src/libxtreemfs/volume_implementation.cpp | harnesscloud/xtreemfs | 80495473535c75f34a58a6e10c15f3fc1f2b940f | [
"BSD-3-Clause"
] | null | null | null | cpp/src/libxtreemfs/volume_implementation.cpp | harnesscloud/xtreemfs | 80495473535c75f34a58a6e10c15f3fc1f2b940f | [
"BSD-3-Clause"
] | null | null | null | cpp/src/libxtreemfs/volume_implementation.cpp | harnesscloud/xtreemfs | 80495473535c75f34a58a6e10c15f3fc1f2b940f | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2011-2012 by Michael Berlin, Zuse Institute Berlin
*
* Licensed under the BSD License, see LICENSE file for details.
*
*/
#include "libxtreemfs/volume_implementation.h"
#include <algorithm>
#include <boost/bind.hpp>
#include <boost/thread/thread.hpp>
#include <limits>
#include <map>
#include <... | 35.132793 | 105 | 0.661935 | [
"object"
] |
d919b9e27b050ace83477247e7c273213b82288b | 18,773 | cpp | C++ | cpp/test/raw/arb.cpp | QE-Lab/dqcsim | 2257d1ec5dc9578929b1b0726d5ab299bcab04e9 | [
"Apache-2.0"
] | 8 | 2020-05-06T03:32:49.000Z | 2022-03-05T03:23:27.000Z | cpp/test/raw/arb.cpp | mbrobbel/dqcsim | 2257d1ec5dc9578929b1b0726d5ab299bcab04e9 | [
"Apache-2.0"
] | 387 | 2019-05-21T09:17:59.000Z | 2020-03-10T19:05:12.000Z | cpp/test/raw/arb.cpp | mbrobbel/dqcsim-rs | 2257d1ec5dc9578929b1b0726d5ab299bcab04e9 | [
"Apache-2.0"
] | 3 | 2020-04-04T08:26:08.000Z | 2022-01-29T16:06:42.000Z | #include <dqcsim.h>
#include "gtest/gtest.h"
// Sanity check the handle API.
TEST(arb, sanity) {
// Create handle.
dqcs_handle_t a = dqcs_arb_new();
ASSERT_NE(a, 0u) << "Unexpected error: " << dqcs_error_get();
// Check that the handle is OK.
EXPECT_EQ(dqcs_handle_type(a), dqcs_handle_type_t::DQCS_HTYPE_ARB... | 52.147222 | 1,202 | 0.628722 | [
"object"
] |
d91a831a7f50d5efbba80a8f1320f52b66fb6ac8 | 1,936 | cc | C++ | src/q_901_950/q0912.cc | vNaonLu/daily-leetcode | 2830c2cd413d950abe7c6d9b833c771f784443b0 | [
"MIT"
] | null | null | null | src/q_901_950/q0912.cc | vNaonLu/daily-leetcode | 2830c2cd413d950abe7c6d9b833c771f784443b0 | [
"MIT"
] | 2 | 2021-12-15T10:51:15.000Z | 2022-01-26T17:03:16.000Z | src/q_901_950/q0912.cc | vNaonLu/daily-leetcode | 2830c2cd413d950abe7c6d9b833c771f784443b0 | [
"MIT"
] | null | null | null | #include <gtest/gtest.h>
#include <iostream>
#include <vector>
using namespace std;
/**
* This file is generated by leetcode_add.py
*
* 912.
* Sort an Array
*
* ––––––––––––––––––––––––––––– Description –––––––––––––––––––––––––––––
*
* Given an array of integers ‘nums’ , sort the array in ascending or... | 22.776471 | 75 | 0.478822 | [
"vector"
] |
d91e981460bfc5a307962963622fd360a3754d72 | 2,187 | cpp | C++ | ocelot/ocelot/trace/implementation/TraceEvent.cpp | florianjacob/gpuocelot | fa63920ee7c5f9a86e264cd8acd4264657cbd190 | [
"BSD-3-Clause"
] | 221 | 2015-03-29T02:05:49.000Z | 2022-03-25T01:45:36.000Z | ocelot/ocelot/trace/implementation/TraceEvent.cpp | mprevot/gpuocelot | d9277ef05a110e941aef77031382d0260ff115ef | [
"BSD-3-Clause"
] | 106 | 2015-03-29T01:28:42.000Z | 2022-02-15T19:38:23.000Z | ocelot/ocelot/trace/implementation/TraceEvent.cpp | mprevot/gpuocelot | d9277ef05a110e941aef77031382d0260ff115ef | [
"BSD-3-Clause"
] | 83 | 2015-07-10T23:09:57.000Z | 2022-03-25T03:01:00.000Z | /*!
\file TraceEvent.cpp
\author Andrew Kerr <arkerr@gatech.edu>
\brief declares TraceEvent class for recording runtime information
*/
// Ocelot Includes
#include <ocelot/trace/interface/TraceEvent.h>
// Standard Library Includes
#include <sstream>
//////////////////////////////////////////////////////////////... | 20.439252 | 97 | 0.576589 | [
"object"
] |
0ba887e83812a80ca958d1440541adfa8e418a6f | 2,184 | hpp | C++ | include/codegen/include/Valve/VR/IVRExtendedDisplay__GetDXGIOutputInfo.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 1 | 2021-11-12T09:29:31.000Z | 2021-11-12T09:29:31.000Z | include/codegen/include/Valve/VR/IVRExtendedDisplay__GetDXGIOutputInfo.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | null | null | null | include/codegen/include/Valve/VR/IVRExtendedDisplay__GetDXGIOutputInfo.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 2 | 2021-10-03T02:14:20.000Z | 2021-11-12T09:29:36.000Z | // Autogenerated from CppHeaderCreator on 7/27/2020 3:10:12 PM
// Created by Sc2ad
// =========================================================================
#pragma once
#pragma pack(push, 8)
// Begin includes
#include "utils/typedefs.h"
// Including type: System.MulticastDelegate
#include "System/MulticastDelegate.... | 48.533333 | 162 | 0.753663 | [
"object"
] |
0ba9055801de3e5210d6a7fe02fdacc02e8146c2 | 20,079 | cpp | C++ | src/coherence/component/util/SafeNamedCache.cpp | chpatel3/coherence-cpp-extend-client | 4ea5267eae32064dff1e73339aa3fbc9347ef0f6 | [
"UPL-1.0",
"Apache-2.0"
] | 6 | 2020-07-01T21:38:30.000Z | 2021-11-03T01:35:11.000Z | src/coherence/component/util/SafeNamedCache.cpp | chpatel3/coherence-cpp-extend-client | 4ea5267eae32064dff1e73339aa3fbc9347ef0f6 | [
"UPL-1.0",
"Apache-2.0"
] | 1 | 2020-07-24T17:29:22.000Z | 2020-07-24T18:29:04.000Z | src/coherence/component/util/SafeNamedCache.cpp | chpatel3/coherence-cpp-extend-client | 4ea5267eae32064dff1e73339aa3fbc9347ef0f6 | [
"UPL-1.0",
"Apache-2.0"
] | 6 | 2020-07-10T18:40:58.000Z | 2022-02-18T01:23:40.000Z | /*
* Copyright (c) 2000, 2020, Oracle and/or its affiliates.
*
* Licensed under the Universal Permissive License v 1.0 as shown at
* http://oss.oracle.com/licenses/upl.
*/
#include "private/coherence/component/util/SafeNamedCache.hpp"
#include "coherence/net/CacheFactory.hpp"
#include "coherence/util/Iterator.hpp... | 27.207317 | 97 | 0.569102 | [
"object"
] |
0bae458a1017b0c20762a178bcc0bfd3017072f1 | 1,384 | cpp | C++ | osu/desktop/interaction/input/Input.cpp | MasterLogick/osu-laser-cpp | d70c4ce9b64f31baa7e7448ee4b409e35cf7d575 | [
"MIT"
] | null | null | null | osu/desktop/interaction/input/Input.cpp | MasterLogick/osu-laser-cpp | d70c4ce9b64f31baa7e7448ee4b409e35cf7d575 | [
"MIT"
] | null | null | null | osu/desktop/interaction/input/Input.cpp | MasterLogick/osu-laser-cpp | d70c4ce9b64f31baa7e7448ee4b409e35cf7d575 | [
"MIT"
] | null | null | null | //
// Created by MasterLogick on 1/25/20.
//
#include "Input.h"
namespace osu {
std::thread Input::inputThread = std::thread();
KeyBindingStore Input::store = KeyBindingStore();
void Input::initialise() {
std::string keyBindings = ((std::string) (*Properties::KeyBindings));
loadKeyBinding... | 32.952381 | 99 | 0.558526 | [
"vector"
] |
0bb54e2469b0c9efab9c8a47cf264087adfb5897 | 2,030 | inl | C++ | Gems/EMotionFX/Code/EMotionFX/Source/KeyFrameFinder.inl | aaarsene/o3de | 37e3b0226958974defd14dd6d808e8557dcd7345 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-07-20T12:39:24.000Z | 2021-07-20T12:39:24.000Z | Gems/EMotionFX/Code/EMotionFX/Source/KeyFrameFinder.inl | aaarsene/o3de | 37e3b0226958974defd14dd6d808e8557dcd7345 | [
"Apache-2.0",
"MIT"
] | null | null | null | Gems/EMotionFX/Code/EMotionFX/Source/KeyFrameFinder.inl | aaarsene/o3de | 37e3b0226958974defd14dd6d808e8557dcd7345 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-07-20T11:07:25.000Z | 2021-07-20T11:07:25.000Z | /*
* Copyright (c) Contributors to the Open 3D Engine Project. For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
// the constructor
template <class ReturnType, class StorageType>
KeyFrameFinder<ReturnType, Storage... | 27.808219 | 158 | 0.598522 | [
"3d"
] |
0bbc2108ad1ced5044797d041fce651b5cd7c92c | 4,882 | cpp | C++ | src/rt_media/GLRender/RTScheduler.cpp | wizardst/Rockit | 8c6c5e59b6069735e95e34cca2607b9b6541b520 | [
"Apache-2.0"
] | null | null | null | src/rt_media/GLRender/RTScheduler.cpp | wizardst/Rockit | 8c6c5e59b6069735e95e34cca2607b9b6541b520 | [
"Apache-2.0"
] | null | null | null | src/rt_media/GLRender/RTScheduler.cpp | wizardst/Rockit | 8c6c5e59b6069735e95e34cca2607b9b6541b520 | [
"Apache-2.0"
] | 2 | 2022-01-04T20:29:44.000Z | 2022-01-04T20:39:31.000Z | /*
* Copyright 2018 Rockchip Electronics Co-> LTD
*
* Licensed under the Apache License, Version 2->0 (the "License");
* you may not use this file except in compliance with the License->
* You may obtain a copy of the License at
*
* http://www->apache->org/licenses/LICENSE-2->0
*
* Unless require... | 29.95092 | 102 | 0.620238 | [
"render"
] |
0bbe7616ae6ad2ee13428692e47683a4aed1de9c | 3,002 | hxx | C++ | Legolas/BlockMatrix/Structures/MultOnly/MultOnlyScalarMatrixInterface.hxx | LaurentPlagne/Legolas | fdf533528baf7ab5fcb1db15d95d2387b3e3723c | [
"MIT"
] | null | null | null | Legolas/BlockMatrix/Structures/MultOnly/MultOnlyScalarMatrixInterface.hxx | LaurentPlagne/Legolas | fdf533528baf7ab5fcb1db15d95d2387b3e3723c | [
"MIT"
] | null | null | null | Legolas/BlockMatrix/Structures/MultOnly/MultOnlyScalarMatrixInterface.hxx | LaurentPlagne/Legolas | fdf533528baf7ab5fcb1db15d95d2387b3e3723c | [
"MIT"
] | 1 | 2021-02-11T14:43:25.000Z | 2021-02-11T14:43:25.000Z | #ifndef __LEGOLAS_MULTONLYSCALARMATRIXINTERFACE_HXX__
#define __LEGOLAS_MULTONLYSCALARMATRIXINTERFACE_HXX__
#include "UTILITES.hxx"
#include "Legolas/Vector/Vector.hxx"
#include "Legolas/Matrix/MatrixShape.hxx"
#include "Legolas/BlockMatrix/VirtualSolver.hxx"
#include "Legolas/BlockMatrix/VirtualMultOperator.hxx"
#inc... | 30.323232 | 122 | 0.670886 | [
"shape",
"vector"
] |
0bc1ab4efb473f3050e3795cb2995139b7843272 | 1,016 | hpp | C++ | ext/src/java/io/DataInput.hpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | ext/src/java/io/DataInput.hpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | ext/src/java/io/DataInput.hpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | // Generated from /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/rt.jar
#pragma once
#include <fwd-POI.hpp>
#include <java/io/fwd-POI.hpp>
#include <java/lang/fwd-POI.hpp>
#include <java/lang/Object.hpp>
struct java::io::DataInput
: public virtual ::java::lang::Object
{
virtual boo... | 30.787879 | 97 | 0.670276 | [
"object"
] |
0bc4c35e12bff820bef6d32a32ca8797531c8cb8 | 4,765 | cpp | C++ | src/Router/RouterServerConfig.cpp | lsqtzj/DCache | 29af38f55422556ec4e00f45a4f77212a46f0047 | [
"BSD-3-Clause"
] | 735 | 2019-04-10T10:00:52.000Z | 2022-03-17T06:28:53.000Z | src/Router/RouterServerConfig.cpp | lsqtzj/DCache | 29af38f55422556ec4e00f45a4f77212a46f0047 | [
"BSD-3-Clause"
] | 67 | 2019-04-10T10:25:41.000Z | 2022-03-20T03:41:50.000Z | src/Router/RouterServerConfig.cpp | lsqtzj/DCache | 29af38f55422556ec4e00f45a4f77212a46f0047 | [
"BSD-3-Clause"
] | 186 | 2019-04-10T10:18:22.000Z | 2022-03-10T06:39:42.000Z | /**
* Tencent is pleased to support the open source community by making DCache available.
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Licensed under the BSD 3-Clause License (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of t... | 30.741935 | 95 | 0.766212 | [
"vector"
] |
0bd019f6257ad51496ef632015bdd58d1ac9d40c | 4,505 | cpp | C++ | release/moc_widget_message_indicator.cpp | SudatiSimone/mayo | 94aa16e07b34724f3720663bce8470bde6b050eb | [
"BSD-2-Clause"
] | null | null | null | release/moc_widget_message_indicator.cpp | SudatiSimone/mayo | 94aa16e07b34724f3720663bce8470bde6b050eb | [
"BSD-2-Clause"
] | null | null | null | release/moc_widget_message_indicator.cpp | SudatiSimone/mayo | 94aa16e07b34724f3720663bce8470bde6b050eb | [
"BSD-2-Clause"
] | null | null | null | /****************************************************************************
** Meta object code from reading C++ file 'widget_message_indicator.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.11.2)
**
** WARNING! All changes made in this file will be lost!
*******************************************... | 33.125 | 114 | 0.652386 | [
"object"
] |
0bd0faf1bdd81a31bd4edc6ecbe90fcf5ac0f97d | 1,371 | cpp | C++ | CPP/OJ problems/Longest Arithmetic.cpp | kratikasinghal/OJ-problems | fc5365cb4db9da780779e9912aeb2a751fe4517c | [
"MIT"
] | null | null | null | CPP/OJ problems/Longest Arithmetic.cpp | kratikasinghal/OJ-problems | fc5365cb4db9da780779e9912aeb2a751fe4517c | [
"MIT"
] | null | null | null | CPP/OJ problems/Longest Arithmetic.cpp | kratikasinghal/OJ-problems | fc5365cb4db9da780779e9912aeb2a751fe4517c | [
"MIT"
] | null | null | null |
// Problem: Longest Arithmetic
// Contest: Google Coding Competitions - Round E 2020 - Kick Start 2020
// URL: https://codingcompetitions.withgoogle.com/kickstart/round/000000000019ff47/00000000003bf4ed
// Memory Limit: 1024 MB
// Time Limit: 20000 ms
// Powered by CP Editor (https://github.com/cpeditor/cpeditor)
#in... | 19.585714 | 99 | 0.522976 | [
"vector"
] |
0be4150b43a57539d49342b6ba7d61f5adc2b2bb | 47,831 | cpp | C++ | client_project/build/jsb-default/frameworks/cocos2d-x/cocos/scripting/js-bindings/manual/jsb_node.cpp | pertgame/battleframe | ffba8a7b4f7f45f1eed2c56060d9a2205fb1fdc9 | [
"MIT"
] | 30 | 2019-09-06T17:24:54.000Z | 2022-01-24T02:32:52.000Z | client_project/build/jsb-default/frameworks/cocos2d-x/cocos/scripting/js-bindings/manual/jsb_node.cpp | pertgame/battleframe | ffba8a7b4f7f45f1eed2c56060d9a2205fb1fdc9 | [
"MIT"
] | null | null | null | client_project/build/jsb-default/frameworks/cocos2d-x/cocos/scripting/js-bindings/manual/jsb_node.cpp | pertgame/battleframe | ffba8a7b4f7f45f1eed2c56060d9a2205fb1fdc9 | [
"MIT"
] | 19 | 2019-09-17T02:56:50.000Z | 2022-01-24T02:32:53.000Z | /****************************************************************************
Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd.
http://www.cocos.com
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated engine source code (the "Software"), a limited,
wo... | 29.950532 | 226 | 0.634798 | [
"object"
] |
0be4d4ecb47b0e8287d1480db9bc3f56f454d3ef | 29,382 | cc | C++ | src/rnnlm/rnnlm-example.cc | gaoyouyadan/kaldi | b4711ada5417c08390636d9a6b139bf6fe9880c5 | [
"Apache-2.0"
] | 805 | 2018-05-28T02:32:04.000Z | 2022-03-26T09:13:12.000Z | src/rnnlm/rnnlm-example.cc | gaoyouyadan/kaldi | b4711ada5417c08390636d9a6b139bf6fe9880c5 | [
"Apache-2.0"
] | 49 | 2015-10-24T22:06:28.000Z | 2019-12-24T11:13:34.000Z | src/rnnlm/rnnlm-example.cc | gaoyouyadan/kaldi | b4711ada5417c08390636d9a6b139bf6fe9880c5 | [
"Apache-2.0"
] | 267 | 2018-06-07T08:33:28.000Z | 2022-03-30T12:18:33.000Z | // rnnlm/rnnlm-example.cc
// Copyright 2017 Daniel Povey
// See ../../COPYING for clarification regarding multiple authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http:/... | 40.751734 | 90 | 0.678102 | [
"object",
"vector",
"model"
] |
0be5dcf319d803f627014290b0af51f0f64c5992 | 15,165 | cpp | C++ | src/scenes/editor/menu/menu.cpp | olekolek1000/MPS | 30461844febb50fadf744cfbaeef88fbfdd5538f | [
"MIT"
] | 9 | 2018-05-15T06:03:51.000Z | 2022-01-30T01:23:24.000Z | src/scenes/editor/menu/menu.cpp | olekolek1000/MPS | 30461844febb50fadf744cfbaeef88fbfdd5538f | [
"MIT"
] | 5 | 2018-06-28T16:48:04.000Z | 2021-06-05T21:24:32.000Z | src/scenes/editor/menu/menu.cpp | olekolek1000/MPS | 30461844febb50fadf744cfbaeef88fbfdd5538f | [
"MIT"
] | 9 | 2018-05-03T19:40:54.000Z | 2021-06-05T17:54:32.000Z | #include <sstream>
#include <iostream>
#include <map>
#include <fstream>
#include <vector>
#include <list>
#include <sstream>
#include "menu.hpp"
#include "../editor.hpp"
#include "app.hpp"
#include "timestep.hpp"
#include "lib/sdl_image.hpp"
#include "lib/floats.hpp"
#include "transform.hpp"
#include "render/func.hpp... | 25.275 | 181 | 0.632113 | [
"render",
"vector",
"model",
"transform",
"3d"
] |
0be88ea760f323a621b9939f70cbc4a77b17e96a | 3,390 | cpp | C++ | cpp/tests/unit/TestList.cpp | HMGrunthos/opendnp3 | ae4c578f5ffb248155abe032f563239839f9378b | [
"Apache-2.0"
] | 108 | 2019-06-06T14:37:45.000Z | 2022-03-30T12:58:46.000Z | cpp/tests/unit/TestList.cpp | HMGrunthos/opendnp3 | ae4c578f5ffb248155abe032f563239839f9378b | [
"Apache-2.0"
] | 136 | 2019-05-20T23:53:30.000Z | 2022-03-22T08:49:46.000Z | cpp/tests/unit/TestList.cpp | HMGrunthos/opendnp3 | ae4c578f5ffb248155abe032f563239839f9378b | [
"Apache-2.0"
] | 72 | 2019-06-03T11:44:10.000Z | 2022-03-18T14:47:00.000Z | /*
* Copyright 2013-2020 Automatak, LLC
*
* Licensed to Green Energy Corp (www.greenenergycorp.com) and Automatak
* LLC (www.automatak.com) under one or more contributor license agreements.
* See the NOTICE file distributed with this work for additional information
* regarding copyright ownership. Green Energy Co... | 22.012987 | 80 | 0.645428 | [
"vector"
] |
0bed43a242dceb3287784559ddc9970ae171e273 | 3,390 | cc | C++ | src/webrtc_delay_estimation.cc | RangHo/webrtc-delay-estimation | 44fd98ce1bf778d51e3a3593bcd3c8d8a300b294 | [
"BSD-3-Clause"
] | 3 | 2021-04-05T14:24:37.000Z | 2021-07-02T02:45:28.000Z | src/webrtc_delay_estimation.cc | jzi040941/webrtc-delay-estimation | 44fd98ce1bf778d51e3a3593bcd3c8d8a300b294 | [
"BSD-3-Clause"
] | null | null | null | src/webrtc_delay_estimation.cc | jzi040941/webrtc-delay-estimation | 44fd98ce1bf778d51e3a3593bcd3c8d8a300b294 | [
"BSD-3-Clause"
] | 4 | 2021-03-18T14:09:40.000Z | 2022-03-15T07:39:15.000Z | #include "webrtc_delay_estimation.h"
#include <algorithm>
#include <iterator>
#include "apm_data_dumper.h"
#include "echo_path_delay_estimator.h"
#include "render_delay_buffer.h"
namespace webrtc_delay_estimation {
const char* NoEstimateAvailableError::what() const noexcept {
return "The delay estimator was not a... | 33.9 | 79 | 0.70826 | [
"render",
"object",
"vector"
] |
0bee1f0d4211de5b1fb96c09358c62c8f69ceec7 | 5,451 | cpp | C++ | Engine/Source/Runtime/Engine/Private/Components/ShapeComponent.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | 1 | 2022-01-29T18:36:12.000Z | 2022-01-29T18:36:12.000Z | Engine/Source/Runtime/Engine/Private/Components/ShapeComponent.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | Engine/Source/Runtime/Engine/Private/Components/ShapeComponent.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#include "Components/ShapeComponent.h"
#include "AI/Navigation/NavAreas/NavArea_Obstacle.h"
#include "AI/NavigationOctree.h"
#include "PhysicsEngine/BoxElem.h"
#include "PhysicsEngine/SphereElem.h"
#include "PhysicsEngine/SphylElem.h"
#include "PhysicsEngin... | 34.5 | 166 | 0.779307 | [
"geometry",
"shape"
] |
0bee28ba765db8c95babdcb809de9441aa9b557a | 3,059 | cc | C++ | src/strings/string_split.cc | remarkableno/update_engine | cdffd37e3f005b7738bf596b9bc8d4155e4c7e15 | [
"BSD-3-Clause"
] | 12 | 2019-06-26T18:32:06.000Z | 2022-03-01T17:32:36.000Z | src/strings/string_split.cc | remarkableno/update_engine | cdffd37e3f005b7738bf596b9bc8d4155e4c7e15 | [
"BSD-3-Clause"
] | 6 | 2018-11-22T21:11:34.000Z | 2022-02-24T13:36:57.000Z | src/strings/string_split.cc | remarkableno/update_engine | cdffd37e3f005b7738bf596b9bc8d4155e4c7e15 | [
"BSD-3-Clause"
] | 5 | 2018-06-24T13:19:40.000Z | 2020-10-15T17:10:56.000Z | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "strings/string_split.h"
#include <algorithm>
#include <utility>
namespace strings {
namespace {
const std::string kWhitespaceASCII = {
... | 25.923729 | 86 | 0.586139 | [
"vector"
] |
0bf1d2f2c39f5b193811a8a38661c7fd6e395bdd | 1,907 | cpp | C++ | cpp/turbodbc_numpy/Library/src/binary_column.cpp | arikfr/turbodbc | 80a29a7edfbdabf12410af01c0c0ae74bfc3aab4 | [
"MIT"
] | 537 | 2016-03-18T21:46:05.000Z | 2022-03-29T04:43:17.000Z | cpp/turbodbc_numpy/Library/src/binary_column.cpp | arikfr/turbodbc | 80a29a7edfbdabf12410af01c0c0ae74bfc3aab4 | [
"MIT"
] | 325 | 2016-04-08T11:54:41.000Z | 2022-03-21T23:58:42.000Z | cpp/turbodbc_numpy/Library/src/binary_column.cpp | arikfr/turbodbc | 80a29a7edfbdabf12410af01c0c0ae74bfc3aab4 | [
"MIT"
] | 83 | 2016-06-15T13:55:44.000Z | 2022-03-26T02:32:26.000Z | #include <turbodbc_numpy/binary_column.h>
#include <turbodbc_numpy/ndarrayobject.h>
#include <turbodbc_numpy/make_numpy_array.h>
#include <Python.h>
#ifdef _WIN32
#include <windows.h>
#endif
#include <sql.h>
#include <cstring>
#ifdef __GNUC__
#define EXTENSION __extension__
#else
#define EXTENSION
#endif
namespace ... | 22.702381 | 102 | 0.748296 | [
"object"
] |
0bfb09170d28a72a054cd1a5246af7cdf28c1f6d | 789 | hpp | C++ | Core/src/Core/IMGUI/IMGUI_SDL_GL.hpp | Zephilinox/Ricochet | 9ace649ecb1ccc0fa6e8b8d35b449676452d0616 | [
"Unlicense"
] | null | null | null | Core/src/Core/IMGUI/IMGUI_SDL_GL.hpp | Zephilinox/Ricochet | 9ace649ecb1ccc0fa6e8b8d35b449676452d0616 | [
"Unlicense"
] | null | null | null | Core/src/Core/IMGUI/IMGUI_SDL_GL.hpp | Zephilinox/Ricochet | 9ace649ecb1ccc0fa6e8b8d35b449676452d0616 | [
"Unlicense"
] | null | null | null | #pragma once
//SELF
#include "Core/IMGUI/IMGUI.hpp"
//LIBS
//STD
namespace core
{
class IMGUI_SDL_GL final : public IMGUI
{
public:
IMGUI_SDL_GL(const Window& window, void* sdl_gl_context);
IMGUI_SDL_GL(const IMGUI&) = delete;
IMGUI_SDL_GL(IMGUI&&) = delete;
IMGUI_SDL_GL& operator=(const IMGUI&) = ... | 21.916667 | 100 | 0.68948 | [
"render"
] |
0bfd6a39428f79812b228b325e80c53e456375c7 | 2,152 | hpp | C++ | include/rhine/IR/Context.hpp | artagnon/rhine | ca4ec684162838f4cb13d9d29ef9e4aedbc268dd | [
"MIT"
] | 234 | 2015-01-02T18:32:50.000Z | 2022-02-03T19:41:33.000Z | include/rhine/IR/Context.hpp | artagnon/rhine | ca4ec684162838f4cb13d9d29ef9e4aedbc268dd | [
"MIT"
] | 7 | 2015-02-16T15:02:54.000Z | 2016-05-26T07:46:02.000Z | include/rhine/IR/Context.hpp | artagnon/rhine | ca4ec684162838f4cb13d9d29ef9e4aedbc268dd | [
"MIT"
] | 13 | 2015-02-16T13:37:12.000Z | 2020-12-12T04:18:43.000Z | #pragma once
#include "llvm/ADT/FoldingSet.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/IR/LLVMContext.h"
#include <cstdlib>
#include <iostream>
#include <map>
#include "rhine/IR/Constant.hpp"
#include "rhine/IR/Type.hpp"
namespace rhine {
class Value;
class Externals;
class BasicBlock;
class DiagnosticPrinter;... | 29.479452 | 78 | 0.733736 | [
"vector"
] |
0400df2e5b0244ab4756c430c6f1dd46e4b23664 | 3,957 | cpp | C++ | keyvi/3rdparty/tpie/test/speed_regression/priority_queue.cpp | vvucetic/keyvi | e6f02373350fea000aa3d20be9cc1d0ec09441f7 | [
"Apache-2.0"
] | 147 | 2015-10-06T19:10:01.000Z | 2021-08-19T07:52:02.000Z | keyvi/3rdparty/tpie/test/speed_regression/priority_queue.cpp | vvucetic/keyvi | e6f02373350fea000aa3d20be9cc1d0ec09441f7 | [
"Apache-2.0"
] | 148 | 2015-10-06T09:24:56.000Z | 2018-12-08T08:42:54.000Z | keyvi/3rdparty/tpie/test/speed_regression/priority_queue.cpp | vvucetic/keyvi | e6f02373350fea000aa3d20be9cc1d0ec09441f7 | [
"Apache-2.0"
] | 34 | 2015-10-09T06:55:52.000Z | 2021-01-05T18:43:57.000Z | // -*- mode: c++; tab-width: 4; indent-tabs-mode: t; c-file-style: "stroustrup"; -*-
// vi:set ts=4 sts=4 sw=4 noet :
// Copyright 2012, The TPIE development team
//
// This file is part of TPIE.
//
// TPIE is free software: you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public ... | 25.529032 | 126 | 0.657569 | [
"vector"
] |
041dc91a832ba913c06eed6000c3f4d7fd50895d | 7,918 | cpp | C++ | ojgl/examples/demos/InnerSystemLab.cpp | nordstroem/OJGL | 785127f4367fbfd972396c577cd1b8cd28ba8e01 | [
"MIT"
] | null | null | null | ojgl/examples/demos/InnerSystemLab.cpp | nordstroem/OJGL | 785127f4367fbfd972396c577cd1b8cd28ba8e01 | [
"MIT"
] | 5 | 2017-07-24T22:12:47.000Z | 2020-09-21T18:32:32.000Z | ojgl/examples/demos/InnerSystemLab.cpp | nordstroem/OJGL | 785127f4367fbfd972396c577cd1b8cd28ba8e01 | [
"MIT"
] | 1 | 2017-07-24T21:50:21.000Z | 2017-07-24T21:50:21.000Z | #include "InnerSystemLab.h"
#include "music/Music.h"
using namespace ojgl;
struct Planet {
Planet(float mass, const Vector3f& pos, const Vector3f& vel)
: mass(mass)
, pos(pos)
, vel(vel)
{
}
float mass;
Vector3f pos;
Vector3f vel;
};
struct SolarSystem {
SolarSyst... | 37 | 121 | 0.599141 | [
"vector"
] |
042062b313881fcb784e5da7590302733ce6e020 | 1,716 | cc | C++ | exerciceP10/general/torsion/torsion.cc | Nebulean/projet-BA2 | df86436539b19becf1c806e9f3ce2c7cbb3e4161 | [
"MIT"
] | null | null | null | exerciceP10/general/torsion/torsion.cc | Nebulean/projet-BA2 | df86436539b19becf1c806e9f3ce2c7cbb3e4161 | [
"MIT"
] | null | null | null | exerciceP10/general/torsion/torsion.cc | Nebulean/projet-BA2 | df86436539b19becf1c806e9f3ce2c7cbb3e4161 | [
"MIT"
] | null | null | null | #include "torsion.h"
#include <initializer_list>
#include "vecteur.h"
#include "oscillateur.h"
#include <iostream>
#include "dessinable.h"
#include "supportadessin.h"
#include <vector>
#include "qglobal.h"
using namespace std;
Torsion::Torsion(double I, double C, double lambda, SupportADessin* support, Vecteur P, Vec... | 28.131148 | 109 | 0.654429 | [
"vector"
] |
04214d16bf37de7b53269465a4731d7bb9705f97 | 1,306 | cpp | C++ | 12.Graph/1.Prims_algo.cpp | abhishekmishra25/leetcode | 855d64fa5da737ba099c4c2f9c84b6af4bb2239d | [
"MIT"
] | null | null | null | 12.Graph/1.Prims_algo.cpp | abhishekmishra25/leetcode | 855d64fa5da737ba099c4c2f9c84b6af4bb2239d | [
"MIT"
] | null | null | null | 12.Graph/1.Prims_algo.cpp | abhishekmishra25/leetcode | 855d64fa5da737ba099c4c2f9c84b6af4bb2239d | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
// vector<int> graph[];
// class form_graph
// {
// public:
// void insert_in_graph(int x, int y)
// {
// graph[x].push_back(y);
// graph[y].push_back(x);
// }
// };
class solution
{
public:
int prims(vector<int> graph[], int v)
{
... | 20.730159 | 61 | 0.375957 | [
"vector"
] |
0425709c12cd8ad3a2e2a5a1fc7d6038ab57a694 | 78,896 | cxx | C++ | main/sc/source/ui/unoobj/viewuno.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 679 | 2015-01-06T06:34:58.000Z | 2022-03-30T01:06:03.000Z | main/sc/source/ui/unoobj/viewuno.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 102 | 2017-11-07T08:51:31.000Z | 2022-03-17T12:13:49.000Z | main/sc/source/ui/unoobj/viewuno.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 331 | 2015-01-06T11:40:55.000Z | 2022-03-14T04:07:51.000Z | /**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to y... | 33.219368 | 253 | 0.665661 | [
"object",
"shape"
] |
54b8ed94de69ce02d04123646bf15e9fbe4a638b | 3,056 | cpp | C++ | Library/Sources/Stroika/Foundation/DataExchange/XML/Namespace.cpp | SophistSolutions/Stroika | f4e5d84767903a054fba0a6b9c7c4bd1aaefd105 | [
"MIT"
] | 28 | 2015-09-22T21:43:32.000Z | 2022-02-28T01:35:01.000Z | Library/Sources/Stroika/Foundation/DataExchange/XML/Namespace.cpp | SophistSolutions/Stroika | f4e5d84767903a054fba0a6b9c7c4bd1aaefd105 | [
"MIT"
] | 98 | 2015-01-22T03:21:27.000Z | 2022-03-02T01:47:00.000Z | Library/Sources/Stroika/Foundation/DataExchange/XML/Namespace.cpp | SophistSolutions/Stroika | f4e5d84767903a054fba0a6b9c7c4bd1aaefd105 | [
"MIT"
] | 4 | 2019-02-21T16:45:25.000Z | 2022-02-18T13:40:04.000Z | /*
* Copyright(c) Sophist Solutions, Inc. 1990-2021. All rights reserved
*/
#include "../../StroikaPreComp.h"
#include <sstream>
#include "../BadFormatException.h"
#include "Namespace.h"
using namespace Stroika::Foundation;
using namespace Stroika::Foundation::DataExchange;
using namespace Stroika::Foundation::D... | 31.183673 | 95 | 0.530759 | [
"vector"
] |
54bab1b4e9ebfadc12880def8a602bc6594d7caa | 675 | cpp | C++ | codes/c++/134.cpp | YuanweiZHANG/Leetcode | 14a083528431bc65ada8f8265a5ef9d0fae40ecd | [
"MIT"
] | null | null | null | codes/c++/134.cpp | YuanweiZHANG/Leetcode | 14a083528431bc65ada8f8265a5ef9d0fae40ecd | [
"MIT"
] | null | null | null | codes/c++/134.cpp | YuanweiZHANG/Leetcode | 14a083528431bc65ada8f8265a5ef9d0fae40ecd | [
"MIT"
] | null | null | null | #include <iostream>
#include <map>
#include <queue>
#include <set>
#include <vector>
using namespace std;
/**
* 2020-05-02
* Veronica
*/
class Solution {
public:
int canCompleteCircuit(vector<int>& gas, vector<int>& cost) {
int n = gas.size();
int sum = 0, curr = 0;
int start = 0;
for (int i = 0; i < n; ++i) ... | 16.071429 | 62 | 0.56 | [
"vector"
] |
54baf55428c9917d6a98b8ae229437d58aec0e8f | 4,104 | hpp | C++ | c++/protobag/protobag/Utils/TimeSync.hpp | StandardCyborg/protobag | ddc66502a45b4eb0843c9c567715d1fb593a1d54 | [
"Apache-2.0"
] | 9 | 2020-12-31T01:46:47.000Z | 2021-12-16T05:52:04.000Z | Pods/ProtobagCocoa/c++/protobag/protobag/Utils/TimeSync.hpp | StandardCyborg/scsdk | 92f80bf2a580ebaafa6b0d1052d90d5c8f6682f7 | [
"Apache-2.0"
] | null | null | null | Pods/ProtobagCocoa/c++/protobag/protobag/Utils/TimeSync.hpp | StandardCyborg/scsdk | 92f80bf2a580ebaafa6b0d1052d90d5c8f6682f7 | [
"Apache-2.0"
] | 1 | 2021-07-30T16:20:12.000Z | 2021-07-30T16:20:12.000Z | /*
Copyright 2020 Standard Cyborg
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 writing, software... | 32.0625 | 143 | 0.714181 | [
"vector"
] |
54be4c8344d9b3db3fae08f5c99f06d9f9f40a48 | 16,899 | cpp | C++ | SAD-3D/Source/ModuleSceneManager.cpp | t3m1X/SAD-3D | 129973f9c15eac62cd1e868224190a961f0684bd | [
"MIT"
] | null | null | null | SAD-3D/Source/ModuleSceneManager.cpp | t3m1X/SAD-3D | 129973f9c15eac62cd1e868224190a961f0684bd | [
"MIT"
] | null | null | null | SAD-3D/Source/ModuleSceneManager.cpp | t3m1X/SAD-3D | 129973f9c15eac62cd1e868224190a961f0684bd | [
"MIT"
] | null | null | null | #include "ModuleSceneManager.h"
#include "OpenGL.h"
#include "Application.h"
#include "GameObject.h"
#include "ComponentTransform.h"
#include "ComponentRenderer.h"
#include "ComponentMaterial.h"
#include "ComponentMesh.h"
#include "ModuleRenderer3D.h"
#include "ModuleTextures.h"
#include "ModuleFileSystem.h"
#include "... | 26.119011 | 139 | 0.701876 | [
"mesh",
"object",
"vector",
"transform"
] |
54c0112c8ae503500a9d6fd0b319c5dd95566e17 | 7,481 | cpp | C++ | Love-Babbar-450-In-CPPTest/14_DP/58_word_wrap.cpp | harshanu11/Love-Babbar-450-In-CSharp | 0dc3bef3e66e30abbc04f7bbf21c7319b41803e1 | [
"MIT"
] | null | null | null | Love-Babbar-450-In-CPPTest/14_DP/58_word_wrap.cpp | harshanu11/Love-Babbar-450-In-CSharp | 0dc3bef3e66e30abbc04f7bbf21c7319b41803e1 | [
"MIT"
] | null | null | null | Love-Babbar-450-In-CPPTest/14_DP/58_word_wrap.cpp | harshanu11/Love-Babbar-450-In-CSharp | 0dc3bef3e66e30abbc04f7bbf21c7319b41803e1 | [
"MIT"
] | null | null | null | ///*
// link: https://practice.geeksforgeeks.org/problems/word-wrap/0
//
// sol: https://www.geeksforgeeks.org/word-wrap-problem-dp-19/
// sol2: https://www.geeksforgeeks.org/word-wrap-problem-space-optimized-solution/
//*/
//
//// -------------------------------------------------------------------------------... | 28.88417 | 127 | 0.41572 | [
"vector"
] |
54ccf8c5faed5e7d761644dce220d41bb7f208db | 19,868 | cpp | C++ | disabled_modules/gdnative/nativescript/api_generator.cpp | Segs/Engine | 754aabfc2708a46f764979a604871633152ce479 | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | 8 | 2019-09-03T19:58:19.000Z | 2021-06-18T07:11:26.000Z | disabled_modules/gdnative/nativescript/api_generator.cpp | Segs/Engine | 754aabfc2708a46f764979a604871633152ce479 | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | 24 | 2019-09-03T17:35:45.000Z | 2020-10-27T14:36:02.000Z | disabled_modules/gdnative/nativescript/api_generator.cpp | nemerle/SegsEngine | b9dd0b5481b92d956befa72c746758d33a1a08c9 | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | 6 | 2019-09-27T15:44:35.000Z | 2021-01-23T18:52:51.000Z | /*************************************************************************/
/* api_generator.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... | 36.929368 | 131 | 0.567193 | [
"object",
"vector"
] |
54cf2b6dec3bd7a86f8f60e5619e424221612889 | 8,705 | hh | C++ | discordpp/bot.hh | DanielBatteryStapler/discordpp | de5ef0aed19516045ba487cd3a1829b3aa6a9ed6 | [
"MIT"
] | 188 | 2017-07-16T17:40:45.000Z | 2022-03-30T20:18:03.000Z | discordpp/bot.hh | DanielBatteryStapler/discordpp | de5ef0aed19516045ba487cd3a1829b3aa6a9ed6 | [
"MIT"
] | 13 | 2017-07-16T18:13:56.000Z | 2021-12-02T22:37:07.000Z | discordpp/bot.hh | DanielBatteryStapler/discordpp | de5ef0aed19516045ba487cd3a1829b3aa6a9ed6 | [
"MIT"
] | 28 | 2017-07-15T04:18:51.000Z | 2022-02-18T12:07:58.000Z | //
// Created by aidan on 11/7/15.
//
#pragma once
#include <random>
#include <string>
#include <vector>
#include "botStruct.hh"
#include "intents.hh"
#include "log.hh"
#undef CALL_FIELD
namespace discordpp {
class Bot : public virtual BotStruct {
std::unique_ptr<asio::steady_timer> reconnect_;
std::funct... | 36.422594 | 80 | 0.466169 | [
"vector"
] |
54d21d58d82dc86d3a6b183d1f128a57762c6feb | 4,225 | cpp | C++ | frameworks/render/libs/osg/dmzRenderEventHandlerOSG.cpp | shillcock/dmz | 02174b45089e12cd7f0840d5259a00403cd1ccff | [
"MIT"
] | 2 | 2015-11-05T03:03:40.000Z | 2016-02-03T21:50:40.000Z | frameworks/render/libs/osg/dmzRenderEventHandlerOSG.cpp | dmzgroup/dmz | fc2d9ddcb04ed71f4106b8d33539529807b3dea6 | [
"MIT"
] | null | null | null | frameworks/render/libs/osg/dmzRenderEventHandlerOSG.cpp | dmzgroup/dmz | fc2d9ddcb04ed71f4106b8d33539529807b3dea6 | [
"MIT"
] | null | null | null | #include <dmzInputEventKey.h>
#include <dmzInputEventMouse.h>
#include <dmzInputModule.h>
#include <dmzRenderEventHandlerOSG.h>
#include <dmzRenderPortalSize.h>
#include <dmzRenderUtilOSG.h>
#include <dmzRuntimeExit.h>
struct dmz::RenderEventHandlerOSG::State {
Exit exit;
InputModule *channels;
InputEventKe... | 27.258065 | 83 | 0.605444 | [
"object"
] |
54d4c40bc28312feb4eed8e0d4eac624853ae3fc | 25,470 | cpp | C++ | src/bpmat/BCSRMatMult5.cpp | tchin-divergent/tacs | 34743b370da4ab6ea16d24de7c574c3fec9d333a | [
"Apache-2.0"
] | null | null | null | src/bpmat/BCSRMatMult5.cpp | tchin-divergent/tacs | 34743b370da4ab6ea16d24de7c574c3fec9d333a | [
"Apache-2.0"
] | null | null | null | src/bpmat/BCSRMatMult5.cpp | tchin-divergent/tacs | 34743b370da4ab6ea16d24de7c574c3fec9d333a | [
"Apache-2.0"
] | null | null | null | /*
This file is part of TACS: The Toolkit for the Analysis of Composite
Structures, a parallel finite-element code for structural and
multidisciplinary design optimization.
Copyright (C) 2010 University of Toronto
Copyright (C) 2012 University of Michigan
Copyright (C) 2014 Georgia Tech Research Corporatio... | 37.845468 | 103 | 0.418414 | [
"vector"
] |
54da3abd076dcccbf5006bb18171fde81c3dd439 | 3,406 | cpp | C++ | src/Zelta/Core/Scene.cpp | RafaelGC/ese | 95868d2f7221334271d4a74ef38b2ed3478a8b91 | [
"MIT"
] | 1 | 2018-01-28T21:35:14.000Z | 2018-01-28T21:35:14.000Z | src/Zelta/Core/Scene.cpp | RafaelGC/ese | 95868d2f7221334271d4a74ef38b2ed3478a8b91 | [
"MIT"
] | 1 | 2017-04-05T00:41:53.000Z | 2017-04-05T00:41:53.000Z | src/Zelta/Core/Scene.cpp | rafaelgc/ESE | 95868d2f7221334271d4a74ef38b2ed3478a8b91 | [
"MIT"
] | null | null | null | #include <Zelta/Core/Scene.hpp>
namespace zt {
Scene::Scene(std::string name, SceneManager& sceneManager) {
this->name = name;
this->sceneManager = &sceneManager;
this->window = &sceneManager.getRenderWindow();
this->state = State::INACTIVE;
setWindow(sceneManager.... | 25.80303 | 85 | 0.564592 | [
"render"
] |
54dd81c7abd0c3d0dbd976601abbe1b91c9898aa | 29,793 | cpp | C++ | Src/Vessel/DeltaGlider/PressureSubsys.cpp | Ybalrid/orbiter | 7bed82f845ea8347f238011367e07007b0a24099 | [
"MIT"
] | 1,040 | 2021-07-27T12:12:06.000Z | 2021-08-02T14:24:49.000Z | Src/Vessel/DeltaGlider/PressureSubsys.cpp | Ybalrid/orbiter | 7bed82f845ea8347f238011367e07007b0a24099 | [
"MIT"
] | 20 | 2021-07-27T12:25:22.000Z | 2021-08-02T12:22:19.000Z | Src/Vessel/DeltaGlider/PressureSubsys.cpp | Ybalrid/orbiter | 7bed82f845ea8347f238011367e07007b0a24099 | [
"MIT"
] | 71 | 2021-07-27T14:19:49.000Z | 2021-08-02T05:51:52.000Z | // Copyright (c) Martin Schweiger
// Licensed under the MIT License
// ==============================================================
// ORBITER MODULE: DeltaGlider
// Part of the ORBITER SDK
//
// PressureSubsys.cpp
// Cabin and airlock pressure control subsystem
// ===================... | 29.527255 | 194 | 0.584533 | [
"mesh"
] |
54e62402aa3b8ab0e3291da9ba2fc6c026bd7db7 | 67,004 | cpp | C++ | src/server/NymphCastServer.cpp | Oasis256/NymphCast | c2b795dc8abc1a8c1c66e1ad1135644a12fe0f24 | [
"BSD-3-Clause"
] | null | null | null | src/server/NymphCastServer.cpp | Oasis256/NymphCast | c2b795dc8abc1a8c1c66e1ad1135644a12fe0f24 | [
"BSD-3-Clause"
] | null | null | null | src/server/NymphCastServer.cpp | Oasis256/NymphCast | c2b795dc8abc1a8c1c66e1ad1135644a12fe0f24 | [
"BSD-3-Clause"
] | null | null | null | /*
NymphCastServer.cpp - Server that accepts NymphCast client sessions to play back audio.
Revision 0
Features:
-
Notes:
-
2019/01/25, Maya Posch
*/
// Uncomment PROFILING to enable profiling mode.
// This disables the FFMPEG-based ffplay class and uses the ffplay-dummy driver instead.
// This... | 29.832591 | 135 | 0.70166 | [
"vector"
] |
54e6979320ccef1f75be33183d595c413431949c | 2,580 | cpp | C++ | HeadsetPresenter_Bluetools/Microsoft Speech SDK 5.1/Samples/CPP/Engines/SR/sreng.cpp | johanlantz/headsetpresenter | 39c5e9740f58d66947e689670500fd0e8b7562c3 | [
"MIT"
] | 1 | 2022-02-24T06:04:03.000Z | 2022-02-24T06:04:03.000Z | HeadsetPresenter_Bluetools/Microsoft Speech SDK 5.1/Samples/CPP/Engines/SR/sreng.cpp | johanlantz/headsetpresenter | 39c5e9740f58d66947e689670500fd0e8b7562c3 | [
"MIT"
] | null | null | null | HeadsetPresenter_Bluetools/Microsoft Speech SDK 5.1/Samples/CPP/Engines/SR/sreng.cpp | johanlantz/headsetpresenter | 39c5e9740f58d66947e689670500fd0e8b7562c3 | [
"MIT"
] | null | null | null | // srengdll.cpp : Implementation of DLL Exports.
//Copyright (c) Microsoft Corporation. All rights reserved.
// Note: Proxy/Stub Information
// To build a separate proxy/stub DLL,
#include "stdafx.h"
#include "resource.h"
#include <initguid.h>
#include "sreng.h"
#include "sreng_i.c"
#include "sre... | 28.351648 | 80 | 0.596512 | [
"object"
] |
54eb79a94f1298fe7e1e620458bb524ee55e4319 | 4,379 | cpp | C++ | Userland/Libraries/LibWeb/Bindings/IDLAbstractOperations.cpp | Astraeus-/serenity | 69fe4c2aca8710fc8210a6c39c29f29fcf2f54ed | [
"BSD-2-Clause"
] | null | null | null | Userland/Libraries/LibWeb/Bindings/IDLAbstractOperations.cpp | Astraeus-/serenity | 69fe4c2aca8710fc8210a6c39c29f29fcf2f54ed | [
"BSD-2-Clause"
] | null | null | null | Userland/Libraries/LibWeb/Bindings/IDLAbstractOperations.cpp | Astraeus-/serenity | 69fe4c2aca8710fc8210a6c39c29f29fcf2f54ed | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright (c) 2021, Luke Wilde <lukew@serenityos.org>
* Copyright (c) 2021, Linus Groh <linusg@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <AK/ByteBuffer.h>
#include <AK/NumericLimits.h>
#include <LibJS/Runtime/AbstractOperations.h>
#include <LibJS/Runtime/ArrayBuffer.h>
#include <L... | 34.753968 | 159 | 0.669331 | [
"object"
] |
54efcd673b30850696b62573733ca2f38323c946 | 2,735 | cpp | C++ | src/Boid.cpp | kenzonobre/Evolutionary-fish | 5494d9984b0254d1060c088a2367e6011ac6ef85 | [
"MIT"
] | 4 | 2022-01-18T15:36:28.000Z | 2022-03-25T16:01:14.000Z | src/Boid.cpp | kenzonobre/Evolutionary-fish | 5494d9984b0254d1060c088a2367e6011ac6ef85 | [
"MIT"
] | null | null | null | src/Boid.cpp | kenzonobre/Evolutionary-fish | 5494d9984b0254d1060c088a2367e6011ac6ef85 | [
"MIT"
] | 1 | 2022-02-18T15:18:27.000Z | 2022-02-18T15:18:27.000Z | #include "Boid.h"
// Boid Constructor
Boid::Boid(vector<Fish> _fish, int8 _r, int8 _g, int8 _b, int8 _a, int8 _c, int8 _s, int8 _av)
{
this->fish = _fish;
this->r = _r;
this->g = _g;
this->b = _b;
this->alignmentWeigh = _a;
this->cohesionWeigh = _c;
this->separationWeigh = _s;
this->avoidSharkWeigh = _av;
}
B... | 27.626263 | 94 | 0.643876 | [
"vector"
] |
54f7e377e6801b80403bc15e34f982ea2204666b | 1,447 | cpp | C++ | cold/test3.cpp | bqqbarbhg/cold | 23237e0112e1a904c2ae0c0e32420bd08ca5595c | [
"MIT"
] | null | null | null | cold/test3.cpp | bqqbarbhg/cold | 23237e0112e1a904c2ae0c0e32420bd08ca5595c | [
"MIT"
] | null | null | null | cold/test3.cpp | bqqbarbhg/cold | 23237e0112e1a904c2ae0c0e32420bd08ca5595c | [
"MIT"
] | null | null | null | #if 0
#include <cold/platform/application.h>
#include <glm/glm.hpp>
#include <glm/ext.hpp>
#include <cold/render/impl/gl.h>
#include <cold/render/shader.h>
#include <cold/engine/map.h>
#include <cold/engine/block.h>
#include <cold/engine/render/chunk.h>
#undef main
int main(int argc, char** argv) {
cold::Applicatio... | 23.721311 | 154 | 0.66897 | [
"render"
] |
54f884b3cc429f95cea00692d4379a17644a0325 | 22,020 | cpp | C++ | DemoCommon/GLShader.cpp | 0xAA55/GamePhysics | 895cbf93273044c5bb3fe5259081cd1bdc22ef7b | [
"MIT"
] | null | null | null | DemoCommon/GLShader.cpp | 0xAA55/GamePhysics | 895cbf93273044c5bb3fe5259081cd1bdc22ef7b | [
"MIT"
] | null | null | null | DemoCommon/GLShader.cpp | 0xAA55/GamePhysics | 895cbf93273044c5bb3fe5259081cd1bdc22ef7b | [
"MIT"
] | null | null | null | #include <GL/glew.h>
#include "GLShader.hpp"
#include <cstring>
#include<GLMesh.hpp>
using namespace GLRenderer;
ShaderCompilationException::ShaderCompilationException(std::string InfoLog) noexcept :
std::runtime_error(InfoLog)
{
}
GLShaderObject::GLShaderObject(GLenum ShaderType) :
Obj(glCreateShader(ShaderType))
... | 51.690141 | 274 | 0.777793 | [
"vector"
] |
54f94d5d87ae2310d294ab8eaa63cd2ddded4ba8 | 9,370 | cpp | C++ | modules/task_3/kochankov_i_sort_double_simple_merge/bitwise_sort_for_double_with_simple_merge.cpp | GorbunovaVI/pp_2020_autumn_engineer | a2676a9a77e838195af8cc4ae548ecb63fa4bf14 | [
"BSD-3-Clause"
] | null | null | null | modules/task_3/kochankov_i_sort_double_simple_merge/bitwise_sort_for_double_with_simple_merge.cpp | GorbunovaVI/pp_2020_autumn_engineer | a2676a9a77e838195af8cc4ae548ecb63fa4bf14 | [
"BSD-3-Clause"
] | 1 | 2020-11-01T18:53:35.000Z | 2020-11-01T18:53:35.000Z | modules/task_3/kochankov_i_sort_double_simple_merge/bitwise_sort_for_double_with_simple_merge.cpp | GorbunovaVI/pp_2020_autumn_engineer | a2676a9a77e838195af8cc4ae548ecb63fa4bf14 | [
"BSD-3-Clause"
] | 1 | 2021-03-14T18:08:22.000Z | 2021-03-14T18:08:22.000Z | // Copyright 2020 Kochankov Ilya
#include "../../../modules/task_3/kochankov_i_sort_double_simple_merge/bitwise_sort_for_double_with_simple_merge.h"
#include <mpi.h>
#include <math.h>
#include <iostream>
#include <string>
#include <random>
#include <ctime>
#include <algorithm>
#include <vector>
#include <util... | 34.575646 | 116 | 0.540662 | [
"vector"
] |
54fbb2dd33f6276f658e2c3e2ee2251a1ca3ee24 | 3,606 | cc | C++ | research/seq_flow_lite/models/sgnn/sgnn_projection_test.cc | hjkim-haga/TF-OD-API | 22ac477ff4dfb93fe7a32c94b5f0b1e74330902b | [
"Apache-2.0"
] | null | null | null | research/seq_flow_lite/models/sgnn/sgnn_projection_test.cc | hjkim-haga/TF-OD-API | 22ac477ff4dfb93fe7a32c94b5f0b1e74330902b | [
"Apache-2.0"
] | null | null | null | research/seq_flow_lite/models/sgnn/sgnn_projection_test.cc | hjkim-haga/TF-OD-API | 22ac477ff4dfb93fe7a32c94b5f0b1e74330902b | [
"Apache-2.0"
] | null | null | null | /* Copyright 2020 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 ... | 35.352941 | 81 | 0.667221 | [
"vector"
] |
54fe17c845a846b75a7c3b56c26df2c7c426e2cd | 2,420 | cpp | C++ | shot/shot/shot.cpp | pvnieo/3d-utils | 4ba936ba22739f6286ca38333c3596062cfc9de6 | [
"MIT"
] | null | null | null | shot/shot/shot.cpp | pvnieo/3d-utils | 4ba936ba22739f6286ca38333c3596062cfc9de6 | [
"MIT"
] | 3 | 2021-03-03T09:11:17.000Z | 2021-06-28T08:23:31.000Z | shot/shot/shot.cpp | pvnieo/3d-utils | 4ba936ba22739f6286ca38333c3596062cfc9de6 | [
"MIT"
] | null | null | null | // provided by You Yang: qq456cvb@github
#include <pcl/io/pcd_io.h>
#include <pcl/features/normal_3d.h>
#include <pcl/features/shot.h>
#include <pybind11/pybind11.h>
#include <pybind11/numpy.h>
#include <pybind11/stl.h>
namespace py = pybind11;
using namespace pybind11::literals;
py::array_t<float> compute(py::array... | 35.588235 | 107 | 0.703719 | [
"object",
"shape"
] |
54fe31bc05278de614d673b720fa7e8b9ac34a5d | 9,496 | cpp | C++ | pwiz/data/msdata/SpectrumList_mz5.cpp | rfellers/pwiz | df8e8b28591f581e6ce249fca885250f055fc541 | [
"Apache-2.0"
] | null | null | null | pwiz/data/msdata/SpectrumList_mz5.cpp | rfellers/pwiz | df8e8b28591f581e6ce249fca885250f055fc541 | [
"Apache-2.0"
] | null | null | null | pwiz/data/msdata/SpectrumList_mz5.cpp | rfellers/pwiz | df8e8b28591f581e6ce249fca885250f055fc541 | [
"Apache-2.0"
] | null | null | null | //
// $Id$
//
//
// Original authors: Mathias Wilhelm <mw@wilhelmonline.com>
// Marc Kirchner <mail@marc-kirchner.de>
//
// Copyright 2011 Proteomics Center
// Children's Hospital Boston, Boston, MA 02135
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may n... | 32.29932 | 149 | 0.645219 | [
"object",
"vector"
] |
0709851c10577d539a96820057b7a13427118f52 | 1,641 | cc | C++ | Codeforces/198 Division 2/Problem B/B.cc | VastoLorde95/Competitive-Programming | 6c990656178fb0cd33354cbe5508164207012f24 | [
"MIT"
] | 170 | 2017-07-25T14:47:29.000Z | 2022-01-26T19:16:31.000Z | Codeforces/198 Division 2/Problem B/B.cc | navodit15/Competitive-Programming | 6c990656178fb0cd33354cbe5508164207012f24 | [
"MIT"
] | null | null | null | Codeforces/198 Division 2/Problem B/B.cc | navodit15/Competitive-Programming | 6c990656178fb0cd33354cbe5508164207012f24 | [
"MIT"
] | 55 | 2017-07-28T06:17:33.000Z | 2021-10-31T03:06:22.000Z | #include<stdio.h>
#include<iostream>
#include<cmath>
#include<algorithm>
#include<cstring>
#include<map>
#include<set>
#include<vector>
#include<utility>
#include<math.h>
#define sd(x) scanf("%d",&x);
#define sd2(x,y) scanf("%d%d",&x,&y);
#define sd3(x,y,z) scanf("%d%d%d",&x,&y,&z);
#define fi first
#define se second
... | 20.012195 | 124 | 0.464351 | [
"vector"
] |
0717d4814811bbe568e8f4b4e116392bf05feb83 | 1,142 | cpp | C++ | BAC_2nd/ch11/UVa1395.cpp | Anyrainel/aoapc-code | e787a01380698fb9236d933462052f97b20e6132 | [
"Apache-2.0"
] | 3 | 2017-08-15T06:00:01.000Z | 2018-12-10T09:05:53.000Z | BAC_2nd/ch11/UVa1395.cpp | Anyrainel/aoapc-related-code | e787a01380698fb9236d933462052f97b20e6132 | [
"Apache-2.0"
] | null | null | null | BAC_2nd/ch11/UVa1395.cpp | Anyrainel/aoapc-related-code | e787a01380698fb9236d933462052f97b20e6132 | [
"Apache-2.0"
] | 2 | 2017-09-16T18:46:27.000Z | 2018-05-22T05:42:03.000Z | // UVa1395 Slim Span
// Rujia Liu
#include<cstdio>
#include<cmath>
#include<cstring>
#include<vector>
#include<algorithm>
using namespace std;
const int maxn = 100 + 10;
const int INF = 1000000000;
int n;
int pa[maxn];
int findset(int x) { return pa[x] != x ? pa[x] = findset(pa[x]) : x; }
struct Edge {
int u, v, ... | 19.689655 | 71 | 0.487741 | [
"vector"
] |
0726d1f838065d47417186356a49bdea73db364d | 18,034 | cpp | C++ | Plugins/org.mitk.gui.qt.diffusionimaging.fiberprocessing/src/internal/QmitkTractometryView.cpp | HRS-Navigation/MITK-Diffusion | b1bf62d1c76f0d0cc26dd252561cb5d8769b4f87 | [
"BSD-3-Clause"
] | 37 | 2019-07-05T10:55:06.000Z | 2022-03-21T12:09:35.000Z | Plugins/org.mitk.gui.qt.diffusionimaging.fiberprocessing/src/internal/QmitkTractometryView.cpp | HRS-Navigation/MITK-Diffusion | b1bf62d1c76f0d0cc26dd252561cb5d8769b4f87 | [
"BSD-3-Clause"
] | 6 | 2019-11-04T16:05:47.000Z | 2022-03-22T15:53:31.000Z | Plugins/org.mitk.gui.qt.diffusionimaging.fiberprocessing/src/internal/QmitkTractometryView.cpp | HRS-Navigation/MITK-Diffusion | b1bf62d1c76f0d0cc26dd252561cb5d8769b4f87 | [
"BSD-3-Clause"
] | 10 | 2019-10-15T14:37:26.000Z | 2022-02-18T03:22:01.000Z | /*===================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center.
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the implied warranty of MERCHANTABILITY or FITNESS FOR
A PARTICULAR P... | 31.200692 | 214 | 0.670012 | [
"vector",
"solid"
] |
073b6cd402c6506ddeddb21b1826b5a9a093bce0 | 4,896 | cpp | C++ | applications/physbam/physbam-lib/Public_Library/PhysBAM_Solids/PhysBAM_Deformables/Particles/PARTICLES.cpp | schinmayee/nimbus | 170cd15e24a7a88243a6ea80aabadc0fc0e6e177 | [
"BSD-3-Clause"
] | 20 | 2017-07-03T19:09:09.000Z | 2021-09-10T02:53:56.000Z | applications/physbam/physbam-lib/Public_Library/PhysBAM_Solids/PhysBAM_Deformables/Particles/PARTICLES.cpp | schinmayee/nimbus | 170cd15e24a7a88243a6ea80aabadc0fc0e6e177 | [
"BSD-3-Clause"
] | null | null | null | applications/physbam/physbam-lib/Public_Library/PhysBAM_Solids/PhysBAM_Deformables/Particles/PARTICLES.cpp | schinmayee/nimbus | 170cd15e24a7a88243a6ea80aabadc0fc0e6e177 | [
"BSD-3-Clause"
] | 9 | 2017-09-17T02:05:06.000Z | 2020-01-31T00:12:01.000Z | //#####################################################################
// Copyright 2004-2008, Ron Fedkiw, Geoffrey Irving, Andrew Selle.
// This file is part of PhysBAM whose distribution is governed by the license contained in the accompanying file PHYSBAM_COPYRIGHT.txt.
//###########################################... | 53.217391 | 150 | 0.600286 | [
"vector"
] |
073dc2f186aae4e6c26b2d9b206d459b053c5fa5 | 3,738 | cpp | C++ | src/frontend/Camera.cpp | lefthandwriter/Kimera-VIO | 641576fd86bdecbd663b4db3cb068f49502f3a2c | [
"BSD-2-Clause"
] | 1,024 | 2019-09-20T22:55:09.000Z | 2022-03-30T13:00:14.000Z | src/frontend/Camera.cpp | lefthandwriter/Kimera-VIO | 641576fd86bdecbd663b4db3cb068f49502f3a2c | [
"BSD-2-Clause"
] | 154 | 2019-09-23T13:10:33.000Z | 2022-03-07T02:36:52.000Z | src/frontend/Camera.cpp | lefthandwriter/Kimera-VIO | 641576fd86bdecbd663b4db3cb068f49502f3a2c | [
"BSD-2-Clause"
] | 314 | 2019-09-20T23:49:05.000Z | 2022-03-30T06:21:38.000Z | /* ----------------------------------------------------------------------------
* Copyright 2017, Massachusetts Institute of Technology,
* Cambridge, MA 02139
* All Rights Reserved
* Authors: Luca Carlone, et al. (see THANKS for the full author list)
* See LICENSE for the license information
* -------------------... | 33.079646 | 113 | 0.643927 | [
"geometry"
] |
073f5616d0afaf3630e8f4e0982ef0c2db48e767 | 36,653 | cxx | C++ | Modules/Loadable/Markups/MRML/vtkMRMLMarkupsNode.cxx | TheInterventionCentre/NorMIT-Plan-App | 765ed9a5dccc1cc134b65ccabe93fc132baeb2ea | [
"MIT"
] | null | null | null | Modules/Loadable/Markups/MRML/vtkMRMLMarkupsNode.cxx | TheInterventionCentre/NorMIT-Plan-App | 765ed9a5dccc1cc134b65ccabe93fc132baeb2ea | [
"MIT"
] | null | null | null | Modules/Loadable/Markups/MRML/vtkMRMLMarkupsNode.cxx | TheInterventionCentre/NorMIT-Plan-App | 765ed9a5dccc1cc134b65ccabe93fc132baeb2ea | [
"MIT"
] | null | null | null | /*==============================================================================
Program: 3D Slicer
Portions (c) Copyright Brigham and Women's Hospital (BWH) All Rights Reserved.
See COPYRIGHT.txt
or http://www.slicer.org/copyright/copyright.txt for details.
Unless required by applicable law or agreed to ... | 28.590484 | 153 | 0.545876 | [
"vector",
"transform",
"3d"
] |
074028e28f19bb87835aac0dba8cb51850f09595 | 2,586 | cpp | C++ | test/MeshTest.cpp | lipk/hadamer-cpp | e2905d0a11ea89ed9991dbb4293ed203ae003a26 | [
"MIT"
] | 1 | 2020-11-08T02:29:13.000Z | 2020-11-08T02:29:13.000Z | test/MeshTest.cpp | lipk/hadamer-cpp | e2905d0a11ea89ed9991dbb4293ed203ae003a26 | [
"MIT"
] | null | null | null | test/MeshTest.cpp | lipk/hadamer-cpp | e2905d0a11ea89ed9991dbb4293ed203ae003a26 | [
"MIT"
] | null | null | null | #include <catch.hpp>
#include <Mesh.hpp>
#include <Mesh.impl.hpp>
#include <Util.impl.hpp>
#include <iostream>
struct GridI64 : public GridConfig<i64>
{
static void upsample(Array<i64, 2>::Getter src, Array<i64, 2>::Getter dst) {
dst(0l, 0l) = dst(0l, 1l) = dst(1l, 0l) = dst(1l, 1l) = src(0l, 0l);
}
... | 28.417582 | 82 | 0.598608 | [
"mesh"
] |
07473b73508ee23c23fbf7fcd0b51df7355d5a1c | 1,625 | cpp | C++ | src/swagger/v1/model/TvlpProfile_packet_series.cpp | DerangedMonkeyNinja/openperf | cde4dc6bf3687f0663c11e9e856e26a0dc2b1d16 | [
"Apache-2.0"
] | 20 | 2019-12-04T01:28:52.000Z | 2022-03-17T14:09:34.000Z | src/swagger/v1/model/TvlpProfile_packet_series.cpp | DerangedMonkeyNinja/openperf | cde4dc6bf3687f0663c11e9e856e26a0dc2b1d16 | [
"Apache-2.0"
] | 115 | 2020-02-04T21:29:54.000Z | 2022-02-17T13:33:51.000Z | src/swagger/v1/model/TvlpProfile_packet_series.cpp | DerangedMonkeyNinja/openperf | cde4dc6bf3687f0663c11e9e856e26a0dc2b1d16 | [
"Apache-2.0"
] | 16 | 2019-12-03T16:41:18.000Z | 2021-11-06T04:44:11.000Z | /**
* OpenPerf API
* REST API interface for OpenPerf
*
* OpenAPI spec version: 1
* Contact: support@spirent.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
#include "TvlpProfile_packet_series.h"... | 18.465909 | 87 | 0.721846 | [
"object",
"model"
] |
074accedb655eb6f5b1712f897dfd04d3f86fa06 | 1,273 | hpp | C++ | robojackets_trajectory_planning_node/src/wxApplication.hpp | JonathanSchmalhofer/RecursiveStereoUAV | 005642f5afbfe719c632ce81411af9ac5e8522f5 | [
"MIT"
] | 15 | 2018-04-07T18:07:23.000Z | 2022-02-14T11:48:34.000Z | robojackets_trajectory_planning_node/src/wxApplication.hpp | JonathanSchmalhofer/RecursiveStereoUAV | 005642f5afbfe719c632ce81411af9ac5e8522f5 | [
"MIT"
] | 1 | 2017-10-21T12:55:07.000Z | 2017-10-21T14:33:09.000Z | robojackets_trajectory_planning_node/src/wxApplication.hpp | JonathanSchmalhofer/RecursiveStereoUAV | 005642f5afbfe719c632ce81411af9ac5e8522f5 | [
"MIT"
] | 8 | 2017-10-11T09:10:51.000Z | 2021-05-04T06:28:24.000Z | #pragma once
#include "PlannerWrapper.hpp"
#include <wx/wxprec.h>
#ifndef WX_PRECOMP
#include <wx/wx.h>
#endif
////////////////////////////////////////////////////////////////////////////////////
typedef Eigen::Vector2d Point;
typedef std::pair<Point, Point> Line;
typedef std::pair<Point, wxColor> P... | 20.206349 | 84 | 0.645719 | [
"render",
"vector"
] |
0753e176efa54969365f659d674111414323d521 | 4,485 | cpp | C++ | tests/test1.cpp | perim/libdicey | fd618b4bbc05cbafcdb5a388894789fafc99a1e9 | [
"MIT"
] | 4 | 2021-08-14T21:32:22.000Z | 2021-09-03T17:52:39.000Z | tests/test1.cpp | perim/libdicey | fd618b4bbc05cbafcdb5a388894789fafc99a1e9 | [
"MIT"
] | null | null | null | tests/test1.cpp | perim/libdicey | fd618b4bbc05cbafcdb5a388894789fafc99a1e9 | [
"MIT"
] | null | null | null | #include "dice.h"
#include <assert.h>
#include <stdio.h>
static void edge_cases()
{
seed s(0);
seed s2(1);
assert(s.roll(1, 100) != s2.roll(1, 100));
assert(s.state != s2.state);
(void)s.roll(10, 9); // just don't crash, return value will be nonsensical
int r = s.roll(10, 10);
assert(r == 10);
r = s.roll(0, 0)... | 25.338983 | 103 | 0.577926 | [
"vector"
] |
0757293ce55b5ed2d1c251d62557fab31b7b2da2 | 155,688 | cpp | C++ | src/store/naive/node_items.cpp | jsoniq/jsoniq | f7af29417f809d64d1f0b2622d880bc4d87f2e42 | [
"Apache-2.0"
] | 94 | 2015-01-18T09:40:36.000Z | 2022-03-02T21:14:55.000Z | src/store/naive/node_items.cpp | jsoniq/jsoniq | f7af29417f809d64d1f0b2622d880bc4d87f2e42 | [
"Apache-2.0"
] | 72 | 2015-01-05T22:00:31.000Z | 2021-07-17T11:35:03.000Z | src/store/naive/node_items.cpp | jsoniq/jsoniq | f7af29417f809d64d1f0b2622d880bc4d87f2e42 | [
"Apache-2.0"
] | 27 | 2015-01-18T20:20:54.000Z | 2020-11-01T18:01:07.000Z | /*
* Copyright 2006-2008 The FLWOR Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | 27.241995 | 93 | 0.49526 | [
"vector"
] |
0757b3d180d15448c3d386e3cd6942dd0402af44 | 1,924 | cpp | C++ | 0477-Surrounded Regions/0477-Surrounded Regions.cpp | nmdis1999/LintCode-1 | 316fa395c9a6de9bfac1d9c9cf58acb5ffb384a6 | [
"MIT"
] | 77 | 2017-12-30T13:33:37.000Z | 2022-01-16T23:47:08.000Z | 0401-0500/0477-Surrounded Regions/0477-Surrounded Regions.cpp | jxhangithub/LintCode-1 | a8aecc65c47a944e9debad1971a7bc6b8776e48b | [
"MIT"
] | 1 | 2018-05-14T14:15:40.000Z | 2018-05-14T14:15:40.000Z | 0401-0500/0477-Surrounded Regions/0477-Surrounded Regions.cpp | jxhangithub/LintCode-1 | a8aecc65c47a944e9debad1971a7bc6b8776e48b | [
"MIT"
] | 39 | 2017-12-07T14:36:25.000Z | 2022-03-10T23:05:37.000Z | class Solution {
public:
/**
* @param board a 2D board containing 'X' and 'O'
* @return void
*/
void surroundedRegions(vector<vector<char>>& board) {
// Write your code here
int m = board.size();
if (m == 0) {
return;
}
int n = board[0]... | 27.884058 | 85 | 0.286902 | [
"vector"
] |
79ef61d35df638326298d46dc2b0ab2594ee7e8d | 30,660 | cpp | C++ | test/unittests/instantiate_test.cpp | masha-maksimova/fizzy | 980a80f927faed9d6a1a17000c0a0e0739a8b682 | [
"Apache-2.0"
] | null | null | null | test/unittests/instantiate_test.cpp | masha-maksimova/fizzy | 980a80f927faed9d6a1a17000c0a0e0739a8b682 | [
"Apache-2.0"
] | null | null | null | test/unittests/instantiate_test.cpp | masha-maksimova/fizzy | 980a80f927faed9d6a1a17000c0a0e0739a8b682 | [
"Apache-2.0"
] | null | null | null | // Fizzy: A fast WebAssembly interpreter
// Copyright 2019-2020 The Fizzy Authors.
// SPDX-License-Identifier: Apache-2.0
#include "execute.hpp"
#include "limits.hpp"
#include "parser.hpp"
#include <gtest/gtest.h>
#include <test/utils/asserts.hpp>
#include <test/utils/hex.hpp>
using namespace fizzy;
namespace
{
uint... | 35.200918 | 100 | 0.678832 | [
"vector"
] |
79f25d4938d825a5f7286cb5afa2c91807aed2a9 | 12,734 | cc | C++ | chrome/browser/chromeos/phonehub/browser_tabs_metadata_fetcher_impl_unittest.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 | chrome/browser/chromeos/phonehub/browser_tabs_metadata_fetcher_impl_unittest.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 | chrome/browser/chromeos/phonehub/browser_tabs_metadata_fetcher_impl_unittest.cc | DamieFC/chromium | 54ce2d3c77723697efd22cfdb02aea38f9dfa25c | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2020 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 "chrome/browser/chromeos/phonehub/browser_tabs_metadata_fetcher_impl.h"
#include "base/strings/utf_string_conversions.h"
#include "chrome/common... | 36.279202 | 80 | 0.734726 | [
"vector"
] |
79fa73b3eee9629636be76d797ae3411562ce327 | 10,905 | cpp | C++ | KBase/Internal/KAssetLoader.cpp | King19931229/KApp | f7f855b209348f835de9e5f57844d4fb6491b0a1 | [
"MIT"
] | 13 | 2019-10-19T17:41:19.000Z | 2021-11-04T18:50:03.000Z | KBase/Internal/KAssetLoader.cpp | King19931229/KApp | f7f855b209348f835de9e5f57844d4fb6491b0a1 | [
"MIT"
] | 3 | 2019-12-09T06:22:43.000Z | 2020-05-28T09:33:44.000Z | KBase/Internal/KAssetLoader.cpp | King19931229/KApp | f7f855b209348f835de9e5f57844d4fb6491b0a1 | [
"MIT"
] | null | null | null | #include "KAssetLoader.h"
#include "KAssetIOHooker.h"
#include "Interface/IKDataStream.h"
#include "Publish/KFileTool.h"
#include "KBase/Interface/IKLog.h"
namespace KAssetLoaderManager
{
bool CreateAssetLoader()
{
assert(Loader == nullptr);
if (Loader == nullptr)
{
// Change this line to normal if you no... | 28.324675 | 139 | 0.701238 | [
"vector"
] |
030643d039f1872ba812ac0e57b636d5317f8cbf | 27,753 | cpp | C++ | src/picked_protein/Peptide.cpp | mrForce/percolator | 08208cee2deaa14bc5d0dcba4d99dd12ac52d754 | [
"Apache-2.0"
] | null | null | null | src/picked_protein/Peptide.cpp | mrForce/percolator | 08208cee2deaa14bc5d0dcba4d99dd12ac52d754 | [
"Apache-2.0"
] | null | null | null | src/picked_protein/Peptide.cpp | mrForce/percolator | 08208cee2deaa14bc5d0dcba4d99dd12ac52d754 | [
"Apache-2.0"
] | null | null | null | /*******************************************
*** adapted from crux/src/c/Peptide.cpp ***
*******************************************/
/*************************************************************************//**
* \file Peptide.cpp
* \brief Object for representing a single peptide.
******************************... | 26.381179 | 91 | 0.67236 | [
"object",
"vector"
] |
0306febfa6885415360bf33338d6cb43e0e9bb9d | 5,555 | cpp | C++ | app/src/optimize_scores.cpp | lygbuaa/eco_tracker | d77afb97d356769bfe5f7d9cb5e96b3cf40c4601 | [
"MIT"
] | 14 | 2019-04-20T05:38:18.000Z | 2021-04-08T06:30:41.000Z | app/src/optimize_scores.cpp | lygbuaa/eco_tracker | d77afb97d356769bfe5f7d9cb5e96b3cf40c4601 | [
"MIT"
] | 2 | 2020-06-06T11:12:06.000Z | 2020-08-10T11:27:12.000Z | app/src/optimize_scores.cpp | lygbuaa/eco_tracker | d77afb97d356769bfe5f7d9cb5e96b3cf40c4601 | [
"MIT"
] | 7 | 2019-07-12T03:47:34.000Z | 2021-04-08T06:44:17.000Z | #include"optimize_scores.hpp"
namespace eco_tracker {
void computeScores(
const std::vector<Eigen::MatrixXcf>& scores_fs,
const int& max_iteration,
int& scale_ind,
float& opt_score,
float& opt_pos_x,
float& opt_pos_y) {
std::vector<Eigen::MatrixXcf> sampled_scores;
// Do inverse ... | 34.937107 | 101 | 0.59604 | [
"vector"
] |
030a4b79c65e177273c4ba492dd3ffc27fc44696 | 1,418 | cpp | C++ | src/nimbro_vis/rqt_log_viewer/src/combobox_delegate.cpp | ssr-yuki/humanoid_op_ros | e8be8c445ead8c0d470c7998fdc28446ca9eb47a | [
"BSD-3-Clause"
] | 45 | 2015-11-04T01:29:12.000Z | 2022-02-11T05:37:42.000Z | src/nimbro_vis/rqt_log_viewer/src/combobox_delegate.cpp | taufikdev88/humanoid-nimbro-op | 8bdeb7d4ff96e967a62baf5f05a564ae3f2331ff | [
"BSD-3-Clause"
] | 1 | 2018-11-22T08:34:34.000Z | 2018-11-22T08:34:34.000Z | src/nimbro_vis/rqt_log_viewer/src/combobox_delegate.cpp | taufikdev88/humanoid-nimbro-op | 8bdeb7d4ff96e967a62baf5f05a564ae3f2331ff | [
"BSD-3-Clause"
] | 20 | 2016-03-05T14:28:45.000Z | 2021-01-30T00:50:47.000Z | // Displays a combo box
// Author: Max Schwarz <max.schwarz@uni-bonn.de>
#include "combobox_delegate.h"
#include <QtGui/QComboBox>
Q_DECLARE_METATYPE(QModelIndex)
ComboBoxDelegate::ComboBoxDelegate(QObject* parent)
: QStyledItemDelegate(parent)
{
}
ComboBoxDelegate::~ComboBoxDelegate()
{
}
QWidget* ComboBoxDeleg... | 26.754717 | 124 | 0.761636 | [
"model"
] |
030b788c70acb4f95291d0da7ea214939c6040b2 | 2,398 | hh | C++ | vme-interface/include/event_manager_base.hh | g2-field-team/field-hardware-lib | 559052f2c245fc384265d67e7885f13f431ca4b8 | [
"MIT"
] | null | null | null | vme-interface/include/event_manager_base.hh | g2-field-team/field-hardware-lib | 559052f2c245fc384265d67e7885f13f431ca4b8 | [
"MIT"
] | null | null | null | vme-interface/include/event_manager_base.hh | g2-field-team/field-hardware-lib | 559052f2c245fc384265d67e7885f13f431ca4b8 | [
"MIT"
] | null | null | null | #ifndef DAQ_FAST_CORE_INCLUDE_EVENT_MANAGER_BASE_HH_
#define DAQ_FAST_CORE_INCLUDE_EVENT_MANAGER_BASE_HH_
/*===========================================================================*\
author: Matthias W. Smith
email: mwsmith2@uw.edu
file: event_manager_base.hh
about: An abstract base class for which ... | 26.351648 | 79 | 0.6005 | [
"vector"
] |
030d7473a742d19edef586fb79bad00f82c56a91 | 198,346 | cpp | C++ | src/runtime/langsupport/ArrayFuncs.cpp | normal-coder/polarphp | a06e1f8781b4b75a2ca8cf2c22e0aa62631866fe | [
"PHP-3.01"
] | 1 | 2019-01-28T01:33:49.000Z | 2019-01-28T01:33:49.000Z | src/runtime/langsupport/ArrayFuncs.cpp | normal-coder/polarphp | a06e1f8781b4b75a2ca8cf2c22e0aa62631866fe | [
"PHP-3.01"
] | null | null | null | src/runtime/langsupport/ArrayFuncs.cpp | normal-coder/polarphp | a06e1f8781b4b75a2ca8cf2c22e0aa62631866fe | [
"PHP-3.01"
] | null | null | null | // This source file is part of the polarphp.org open source project
//
// Copyright (c) 2017 - 2018 polarphp software foundation
// Copyright (c) 2017 - 2018 zzu_softboy <zzu_softboy@163.com>
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://polarphp.org/LICENSE.txt for license info... | 31.403737 | 181 | 0.596624 | [
"object",
"vector"
] |
030f873ea4fa1a1a7db634f371a1f8f14f9b3cef | 2,680 | hh | C++ | src/Zynga/Framework/StorableObject/Collections/Vector/V1/Importer/Storable.hh | chintan-j-patel/zynga-hacklang-framework | d9893b8873e3c8c7223772fd3c94d2531760172a | [
"MIT"
] | 19 | 2018-04-23T09:30:48.000Z | 2022-03-06T21:35:18.000Z | src/Zynga/Framework/StorableObject/Collections/Vector/V1/Importer/Storable.hh | chintan-j-patel/zynga-hacklang-framework | d9893b8873e3c8c7223772fd3c94d2531760172a | [
"MIT"
] | 22 | 2017-11-27T23:39:25.000Z | 2019-08-09T08:56:57.000Z | src/Zynga/Framework/StorableObject/Collections/Vector/V1/Importer/Storable.hh | chintan-j-patel/zynga-hacklang-framework | d9893b8873e3c8c7223772fd3c94d2531760172a | [
"MIT"
] | 28 | 2017-11-16T20:53:56.000Z | 2021-01-04T11:13:17.000Z | <?hh // strict
namespace Zynga\Framework\StorableObject\Collections\Vector\V1\Importer;
use
Zynga\Framework\StorableObject\Collections\V1\Interfaces\StorableCollection
;
use
Zynga\Framework\StorableObject\Collections\Vector\V1\Importer\Base as ImporterBase
;
use Zynga\Framework\Dynamic\V1\DynamicClassCreation;
... | 32.682927 | 84 | 0.750373 | [
"object",
"vector"
] |
031ad679ecd8f950a54b1bdc8bbd8d92c03822e3 | 684 | cc | C++ | hw10-1/class_function_main.cc | noahzhy/cpp_2018_fall | 367806931b01e4bb5722004ff60c666dcf17e0db | [
"MIT"
] | null | null | null | hw10-1/class_function_main.cc | noahzhy/cpp_2018_fall | 367806931b01e4bb5722004ff60c666dcf17e0db | [
"MIT"
] | null | null | null | hw10-1/class_function_main.cc | noahzhy/cpp_2018_fall | 367806931b01e4bb5722004ff60c666dcf17e0db | [
"MIT"
] | null | null | null | #include "class_function.h"
#include <iostream>
#include <vector>
using namespace std;
int main() {
string command;
vector<A*> objects;
B *pb;
C *pc;
BB *pbb;
while (1) {
cin>>command;
if (command == "0") {
break;
}
if (command == "B") {
pb = new B;
objects.push_back(pb);
... | 15.906977 | 31 | 0.504386 | [
"vector"
] |
031f0d2a329943592105b20eeee86e582e323614 | 514 | cpp | C++ | src/kernel/system_log.cpp | AndreasAakesson/IncludeOS | 891b960a0a7473c08cd0d93a2bba7569c6d88b48 | [
"Apache-2.0"
] | 5 | 2016-10-01T11:50:51.000Z | 2019-10-24T12:54:36.000Z | src/kernel/system_log.cpp | AndreasAakesson/IncludeOS | 891b960a0a7473c08cd0d93a2bba7569c6d88b48 | [
"Apache-2.0"
] | 1 | 2016-04-03T16:24:09.000Z | 2016-04-03T16:24:09.000Z | src/kernel/system_log.cpp | AndreasAakesson/IncludeOS | 891b960a0a7473c08cd0d93a2bba7569c6d88b48 | [
"Apache-2.0"
] | 3 | 2016-09-28T18:15:50.000Z | 2017-07-18T17:02:25.000Z | #include <system_log>
#include <os.hpp>
__attribute__((weak))
void SystemLog::write(const char* buffer, size_t length) {
os::print(buffer, length);
}
__attribute__((weak))
std::vector<char> SystemLog::copy() {
return {/* override me */};
}
__attribute__((weak))
uint32_t SystemLog::get_flags() { return 0; }
__attr... | 20.56 | 58 | 0.694553 | [
"vector"
] |
03264daf50f6a76424ab082263c51f407ed0735f | 5,570 | cc | C++ | caffe2/predictor/predictor.cc | DavidKo3/mctorch | 53ffe61763059677978b4592c8b2153b0c15428f | [
"BSD-3-Clause"
] | 1 | 2019-07-21T02:13:22.000Z | 2019-07-21T02:13:22.000Z | caffe2/predictor/predictor.cc | DavidKo3/mctorch | 53ffe61763059677978b4592c8b2153b0c15428f | [
"BSD-3-Clause"
] | null | null | null | caffe2/predictor/predictor.cc | DavidKo3/mctorch | 53ffe61763059677978b4592c8b2153b0c15428f | [
"BSD-3-Clause"
] | null | null | null | #include "caffe2/predictor/predictor.h"
#ifdef CAFFE2_OPTIMIZER
#include "caffe2/opt/optimizer.h"
#endif
#include "caffe2/utils/proto_utils.h"
#include <unordered_set>
#include "caffe2/core/init.h"
namespace caffe2 {
namespace {
void enforceIsTensor(Workspace* ws, const std::string& name) {
auto blob = ws->GetBlo... | 29.010417 | 79 | 0.660682 | [
"model"
] |
032862184c8687b7caa5a68b92dd9a1b11a402a2 | 6,402 | cpp | C++ | Common/PlatformBase/Data/Point3D.cpp | achilex/MgDev | f7baf680a88d37659af32ee72b9a2046910b00d8 | [
"PHP-3.0"
] | 2 | 2017-04-19T01:38:30.000Z | 2020-07-31T03:05:32.000Z | Common/PlatformBase/Data/Point3D.cpp | achilex/MgDev | f7baf680a88d37659af32ee72b9a2046910b00d8 | [
"PHP-3.0"
] | null | null | null | Common/PlatformBase/Data/Point3D.cpp | achilex/MgDev | f7baf680a88d37659af32ee72b9a2046910b00d8 | [
"PHP-3.0"
] | 1 | 2021-12-29T10:46:12.000Z | 2021-12-29T10:46:12.000Z | //
// Copyright (C) 2005-2011 by Autodesk, Inc.
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of version 2.1 of the GNU Lesser
// General Public License as published by the Free Software Foundation.
//
// This library is distributed in the hope that it will be use... | 25.710843 | 79 | 0.573571 | [
"object",
"vector"
] |
032a82fd5eaae8b055deac19146cf264c9f503ac | 1,362 | cpp | C++ | Queue/MadMax.cpp | sprectza/InterestingProblems | c9b9e7586fb9f2f83490eb8902840205e254bfd3 | [
"MIT"
] | 1 | 2021-07-31T02:57:06.000Z | 2021-07-31T02:57:06.000Z | Queue/MadMax.cpp | sprectza/InterestingProblems | c9b9e7586fb9f2f83490eb8902840205e254bfd3 | [
"MIT"
] | null | null | null | Queue/MadMax.cpp | sprectza/InterestingProblems | c9b9e7586fb9f2f83490eb8902840205e254bfd3 | [
"MIT"
] | null | null | null | // https://binarysearch.com/problems/Mad-Max
// Above given is the link to the problem which is tagged under Deque in binarysearch.com
/*
Given a list of integers nums and an integer k, return the maximum values of each subarray of length k.
For example, given nums = [10, 5, 2, 7, 8, 7] and k = 3, return [10, 7, 8, 8... | 32.428571 | 135 | 0.585903 | [
"vector"
] |
032a84f1532eac3cb14d569cbb70e4809b4aa9e2 | 15,372 | cpp | C++ | test/integration_tests/src/collections.cpp | Paycasso/cpp-driver | 9e6efd4842afc226d999baf890a55275e7e94cf8 | [
"Apache-2.0"
] | null | null | null | test/integration_tests/src/collections.cpp | Paycasso/cpp-driver | 9e6efd4842afc226d999baf890a55275e7e94cf8 | [
"Apache-2.0"
] | null | null | null | test/integration_tests/src/collections.cpp | Paycasso/cpp-driver | 9e6efd4842afc226d999baf890a55275e7e94cf8 | [
"Apache-2.0"
] | null | null | null | #define BOOST_TEST_DYN_LINK
#ifdef STAND_ALONE
# define BOOST_TEST_MODULE cassandra
#endif
#include "cassandra.h"
#include "test_utils.hpp"
#include <algorithm>
#include <boost/test/unit_test.hpp>
#include <boost/test/debug.hpp>
#include <boost/lexical_cast.hpp>
#include <boost/cstdint.hpp>
#include <boost/format.... | 49.747573 | 163 | 0.663024 | [
"vector"
] |
032e97cca7ecb45c93f8e8dcbeee81b3a6a459db | 4,123 | cpp | C++ | src/mapnik_palette.cpp | Vizzuality/node-mapnik | 9c656562cda873d7440a37d31ce2c3f311f66b4c | [
"BSD-3-Clause"
] | null | null | null | src/mapnik_palette.cpp | Vizzuality/node-mapnik | 9c656562cda873d7440a37d31ce2c3f311f66b4c | [
"BSD-3-Clause"
] | null | null | null | src/mapnik_palette.cpp | Vizzuality/node-mapnik | 9c656562cda873d7440a37d31ce2c3f311f66b4c | [
"BSD-3-Clause"
] | null | null | null | // node-mapnik
#include "mapnik_palette.hpp"
#include "utils.hpp"
// stl
#include <vector>
#include <iomanip>
#include <sstream>
// boost
#include MAPNIK_MAKE_SHARED_INCLUDE
Persistent<FunctionTemplate> Palette::constructor;
void Palette::Initialize(Handle<Object> target) {
NanScope();
Local<FunctionTempla... | 29.45 | 119 | 0.593257 | [
"object",
"vector"
] |
0336c1d521d27d765ae5290b87e469869a49f5be | 66,691 | cpp | C++ | src/mal/CBCore.cpp | Kryptos-FR/chainblocks | 67160c535237a90cfe8a059db487d054d2714a3c | [
"BSD-3-Clause"
] | null | null | null | src/mal/CBCore.cpp | Kryptos-FR/chainblocks | 67160c535237a90cfe8a059db487d054d2714a3c | [
"BSD-3-Clause"
] | null | null | null | src/mal/CBCore.cpp | Kryptos-FR/chainblocks | 67160c535237a90cfe8a059db487d054d2714a3c | [
"BSD-3-Clause"
] | null | null | null | /* SPDX-License-Identifier: MPL-2.0 AND BSD-3-Clause */
/* Copyright © 2019 Fragcolor Pte. Ltd. */
#include "chainblocks.hpp"
#define String MalString
#include "Environment.h"
#include "MAL.h"
#include "StaticList.h"
#include "Types.h"
#undef String
#include "../core/blocks/shared.hpp"
#include "../core/runtime.hpp"
#... | 29.746209 | 80 | 0.61767 | [
"object",
"vector"
] |
0340c9bebeb30451ebcfc43b4fd98dbc0211e56f | 2,300 | cc | C++ | C++/Recursion and Backtracking/Rat in a Maze Problem - I/rat_maze_path.cc | vedant-jad99/GeeksForGeeks-DSA-Workshop-Complete-Codes | 35cee8317c05b36864a992789c741554205b3919 | [
"MIT"
] | 1 | 2021-02-11T14:54:34.000Z | 2021-02-11T14:54:34.000Z | C++/Recursion and Backtracking/Rat in a Maze Problem - I/rat_maze_path.cc | vedant-jad99/GeeksForGeeks-DSA-Workshop-Complete-Codes | 35cee8317c05b36864a992789c741554205b3919 | [
"MIT"
] | null | null | null | C++/Recursion and Backtracking/Rat in a Maze Problem - I/rat_maze_path.cc | vedant-jad99/GeeksForGeeks-DSA-Workshop-Complete-Codes | 35cee8317c05b36864a992789c741554205b3919 | [
"MIT"
] | null | null | null | /*
Consider a rat placed at (0, 0) in a square matrix of order N * N. It has to reach the destination at (N - 1, N - 1). Find all possible paths that the rat can take to reach from
source to destination. The directions in which the rat can move are 'U'(up), 'D'(down), 'L' (left), 'R' (right). Value 0 at a cell in the ... | 35.384615 | 179 | 0.487826 | [
"vector"
] |
0343cb348f2c849a1aa5fcdba8afc11442acaefb | 818 | hh | C++ | src/runtime/vpi.hh | Kuree/fsim | 9d175e0bd835d6513d903b6f2878a5bb97bdb3d2 | [
"BSD-2-Clause"
] | 12 | 2022-03-31T03:08:59.000Z | 2022-03-31T20:59:41.000Z | src/runtime/vpi.hh | Kuree/fsim | 9d175e0bd835d6513d903b6f2878a5bb97bdb3d2 | [
"BSD-2-Clause"
] | 2 | 2022-03-20T23:51:25.000Z | 2022-03-31T03:05:55.000Z | src/runtime/vpi.hh | Kuree/xsim | 9d175e0bd835d6513d903b6f2878a5bb97bdb3d2 | [
"BSD-2-Clause"
] | null | null | null | #ifndef FSIM_VPI_HH
#define FSIM_VPI_HH
#include <set>
#include "module.hh"
namespace fsim::runtime {
class VPIController {
// responsible to deal with all kinds of VPI calls
public:
void set_args(int argc, char *argv[]);
// because VPi is C interface, we need a singleton
static VPIController *get_... | 20.45 | 79 | 0.661369 | [
"vector"
] |
03512a40c4e36efb488b3ac5fbd288688b1f1ad3 | 4,143 | cpp | C++ | src/sco/solver_interface.cpp | HARPLab/trajopt | 40e2260d8f1e4d0a6a7a8997927bd65e5f36c3a4 | [
"BSD-2-Clause"
] | 250 | 2015-01-13T04:38:59.000Z | 2022-03-09T15:52:54.000Z | src/sco/solver_interface.cpp | HARPLab/trajopt | 40e2260d8f1e4d0a6a7a8997927bd65e5f36c3a4 | [
"BSD-2-Clause"
] | 31 | 2015-08-19T13:14:56.000Z | 2022-03-22T08:08:26.000Z | src/sco/solver_interface.cpp | HARPLab/trajopt | 40e2260d8f1e4d0a6a7a8997927bd65e5f36c3a4 | [
"BSD-2-Clause"
] | 118 | 2015-01-08T16:06:50.000Z | 2022-03-19T11:44:00.000Z | #include "solver_interface.hpp"
#include <iostream>
#include "macros.h"
#include <boost/format.hpp>
#include <sstream>
#include <map>
#include <boost/foreach.hpp>
using namespace std;
namespace sco {
vector<int> vars2inds(const vector<Var>& vars) {
vector<int> inds(vars.size());
for (size_t i=0; i < inds.size(); ... | 23.016667 | 111 | 0.628289 | [
"vector",
"model"
] |
0353c83af675054d575002bd0c23191f781c8910 | 10,005 | cpp | C++ | tests/2d_examples/test_2d_eulerian_flow_around_cylinder/2d_eulerian_flow_around_cylinder.cpp | buaayhq/SPHinXsys | 7cde66340a3fb3244ef4c252bd99c053a81ca181 | [
"Apache-2.0"
] | null | null | null | tests/2d_examples/test_2d_eulerian_flow_around_cylinder/2d_eulerian_flow_around_cylinder.cpp | buaayhq/SPHinXsys | 7cde66340a3fb3244ef4c252bd99c053a81ca181 | [
"Apache-2.0"
] | null | null | null | tests/2d_examples/test_2d_eulerian_flow_around_cylinder/2d_eulerian_flow_around_cylinder.cpp | buaayhq/SPHinXsys | 7cde66340a3fb3244ef4c252bd99c053a81ca181 | [
"Apache-2.0"
] | null | null | null | /**
* @file 2d_eulerian_flow_around_cylinder.cpp
* @brief This is the test file for the weakly compressible viscous flow around a cylinder.
* @details We consider a flow passing by a cylinder in 2D.
* @author Zhentong Wang
*/
#include "sphinxsys.h"
/** case file to setup the test case */
#include "2d_eulerian... | 42.574468 | 169 | 0.772814 | [
"model",
"solid"
] |
0353d518f187dddf054f431dbe71271f8b54a243 | 164,645 | cpp | C++ | groups/bdl/bdlt/bdlt_timetable.t.cpp | eddiepierce/bde | 45953ece9dd1cd8732f01a1cd24bbe838791d298 | [
"Apache-2.0"
] | 1 | 2022-01-23T11:31:12.000Z | 2022-01-23T11:31:12.000Z | groups/bdl/bdlt/bdlt_timetable.t.cpp | eddiepierce/bde | 45953ece9dd1cd8732f01a1cd24bbe838791d298 | [
"Apache-2.0"
] | 2 | 2020-11-05T15:20:55.000Z | 2021-01-05T19:38:43.000Z | groups/bdl/bdlt/bdlt_timetable.t.cpp | eddiepierce/bde | 45953ece9dd1cd8732f01a1cd24bbe838791d298 | [
"Apache-2.0"
] | 2 | 2020-01-16T17:58:12.000Z | 2020-08-11T20:59:30.000Z | // bdlt_timetable.t.cpp -*-C++-*-
#include <bdlt_timetable.h>
#include <bdlt_date.h>
#include <bdlt_datetime.h>
#include <bdlt_dayofweek.h>
#include <bdlt_time.h>
#include <bslim_testutil.h>
#include <bslma_default.h>
#include <bslma_defaultallocatorguard.h>
#include <bs... | 39.191859 | 79 | 0.441404 | [
"object"
] |
035833d3bd0c2a303c3120626135ecaa9973c417 | 3,960 | cpp | C++ | gpgs/src/gpgs_callback.cpp | SkaterDad/extension-gpgs | 323402cea937fd80377d3eb0bb23d1526e5bcec3 | [
"MIT"
] | null | null | null | gpgs/src/gpgs_callback.cpp | SkaterDad/extension-gpgs | 323402cea937fd80377d3eb0bb23d1526e5bcec3 | [
"MIT"
] | null | null | null | gpgs/src/gpgs_callback.cpp | SkaterDad/extension-gpgs | 323402cea937fd80377d3eb0bb23d1526e5bcec3 | [
"MIT"
] | null | null | null | #if defined(DM_PLATFORM_IOS) || defined(DM_PLATFORM_ANDROID)
#include "private_gpgs_callback.h"
#include <stdlib.h>
static GPGS_callback m_callback;
static dmArray<CallbackData> m_callbacksQueue;
static dmMutex::HMutex m_mutex;
static void RegisterCallback(lua_State* L, int index)
{
GPGS_ca... | 25.384615 | 92 | 0.599747 | [
"object"
] |
03608029441fb6bacb26dd166461f9cf74a0cab3 | 1,573 | cxx | C++ | private/inet/xml/xtl/engine/nodenameaction.cxx | King0987654/windows2000 | 01f9c2e62c4289194e33244aade34b7d19e7c9b8 | [
"MIT"
] | 11 | 2017-09-02T11:27:08.000Z | 2022-01-02T15:25:24.000Z | private/inet/xml/xtl/engine/nodenameaction.cxx | King0987654/windows2000 | 01f9c2e62c4289194e33244aade34b7d19e7c9b8 | [
"MIT"
] | null | null | null | private/inet/xml/xtl/engine/nodenameaction.cxx | King0987654/windows2000 | 01f9c2e62c4289194e33244aade34b7d19e7c9b8 | [
"MIT"
] | 14 | 2019-01-16T01:01:23.000Z | 2022-02-20T15:54:27.000Z | /*
* @(#)NodeNameAction.cxx 1.0 3/19/98
*
* Copyright (c) 1997 - 1999 Microsoft Corporation. All rights reserved. *
* implementation of XTL NodeNameAction object
*
*/
#include "core.hxx"
#pragma hdrstop
#include "xtlkeywords.hxx"
#include "processor.hxx"
#include "nodenameaction.hxx"
DEFINE_C... | 24.968254 | 96 | 0.493325 | [
"object"
] |
036263ddedda9314ec2273d90782084a034864fb | 1,801 | cpp | C++ | Engine/Source/Runtime/MovieSceneTracks/Private/Sections/MovieSceneCameraCutSection.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | 1 | 2022-01-29T18:36:12.000Z | 2022-01-29T18:36:12.000Z | Engine/Source/Runtime/MovieSceneTracks/Private/Sections/MovieSceneCameraCutSection.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | Engine/Source/Runtime/MovieSceneTracks/Private/Sections/MovieSceneCameraCutSection.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#include "Sections/MovieSceneCameraCutSection.h"
#include "MovieScene.h"
#include "Tracks/MovieScene3DTransformTrack.h"
#include "MovieSceneTransformTrack.h"
#include "MovieScene.h"
#include "Evaluation/MovieSceneEvaluationTrack.h"
#include "Evaluation/Movi... | 30.525424 | 112 | 0.738479 | [
"transform"
] |
24ebfda4a4dd60da830c36d3dc52108f8d250ae0 | 13,271 | cpp | C++ | mlp2cnf/src/mlp2cnf.cpp | teobaluta/NPAQ | 92cc2d2c2da8f34547194416c0a10b4c5416403e | [
"MIT"
] | 8 | 2020-05-05T15:54:42.000Z | 2021-08-20T05:25:16.000Z | mlp2cnf/src/mlp2cnf.cpp | teobaluta/NPAQ | 92cc2d2c2da8f34547194416c0a10b4c5416403e | [
"MIT"
] | 24 | 2019-12-16T22:22:44.000Z | 2022-03-12T00:08:11.000Z | mlp2cnf/src/mlp2cnf.cpp | teobaluta/NPAQ | 92cc2d2c2da8f34547194416c0a10b4c5416403e | [
"MIT"
] | null | null | null | #include <fstream>
#include <iostream>
#include <math.h>
#include <string>
#include <vector>
#include "pb2cnf.h"
#include "utils.h"
using namespace std;
using namespace PBLib;
string OUTPUT_FILE = "cnf.dimacs";
string OUT_DIR = "out";
string META_FILE = "meta.txt";
const int CSVERR_W = 10;
const int CSVERR_B = 11;
... | 26.279208 | 82 | 0.64057 | [
"vector",
"model"
] |
24f30b8a87e88f2a8561fe4545f35f06d0074f8e | 2,774 | hh | C++ | omp-for/traversal.hh | jussienko/minifmm | b1ef4d1538bd48d494dfa365df416bf033d80f2e | [
"MIT"
] | 9 | 2018-03-08T09:00:33.000Z | 2022-01-04T12:07:06.000Z | omp-for/traversal.hh | jussienko/minifmm | b1ef4d1538bd48d494dfa365df416bf033d80f2e | [
"MIT"
] | 1 | 2021-09-29T15:26:38.000Z | 2021-09-29T15:26:38.000Z | omp-for/traversal.hh | jussienko/minifmm | b1ef4d1538bd48d494dfa365df416bf033d80f2e | [
"MIT"
] | 4 | 2018-05-17T22:57:49.000Z | 2021-12-03T07:42:42.000Z | #pragma once
#include <omp.h>
#include <kernels.hh>
#include <node.hh>
#include <get-deps.hh>
template <class T>
void upwards_pass(FMM<T>* fmm, node_t<T>* node)
{
for (size_t i = 0; i < node->num_children; ++i) {
#pragma omp task
upwards_pass(fmm, &fmm->nodes[node->child[i]]);
}
#pragma omp taskwait
if (n... | 24.548673 | 73 | 0.601658 | [
"vector"
] |
24f55f2b0e2bcba316270ae4d41d9a514b58823a | 6,652 | hpp | C++ | include/lookup_vector.hpp | Kaylier/map_generator | b460d7ddafbcd2640c2c4f30dc6718029f2c40c3 | [
"MIT"
] | null | null | null | include/lookup_vector.hpp | Kaylier/map_generator | b460d7ddafbcd2640c2c4f30dc6718029f2c40c3 | [
"MIT"
] | null | null | null | include/lookup_vector.hpp | Kaylier/map_generator | b460d7ddafbcd2640c2c4f30dc6718029f2c40c3 | [
"MIT"
] | null | null | null | /*
* like std::vector, but every elements are uniques, and you can
* reverse lookup easily, and pop any element just by its value.
* TODO: l'implémentation de lookup_vector
*/
#ifndef LOOKUP_VECTOR_HPP
#define LOOKUP_VECTOR_HPP
#include <cstddef> /* size_t */
#include <functionnal> /* equal_to */
#include <memory... | 42.369427 | 111 | 0.671978 | [
"vector"
] |
24fcdba75e2933a47d46e7e21fb7cb366f2ae41b | 10,815 | cpp | C++ | src/catkin_ws/src/modrob_workstation/modrob_workstation/src/urdf_generator/urdf_generator.cpp | JakobThumm/safe_rl_manipulators | 1724aee2ec4cbbd8fecfbf1653991e182d4ca48b | [
"MIT"
] | null | null | null | src/catkin_ws/src/modrob_workstation/modrob_workstation/src/urdf_generator/urdf_generator.cpp | JakobThumm/safe_rl_manipulators | 1724aee2ec4cbbd8fecfbf1653991e182d4ca48b | [
"MIT"
] | null | null | null | src/catkin_ws/src/modrob_workstation/modrob_workstation/src/urdf_generator/urdf_generator.cpp | JakobThumm/safe_rl_manipulators | 1724aee2ec4cbbd8fecfbf1653991e182d4ca48b | [
"MIT"
] | null | null | null |
#include "ros/ros.h"
#include <ros/console.h>
#include <bits/stdc++.h>
#include <iostream>
#include <sys/stat.h>
#include <sys/types.h>
#include "std_msgs/String.h"
#include <std_msgs/Float64.h>
#include <string>
#include <modrob_workstation/RobotDescription.h>
#include <modrob_workstation/LinkDescription.h>
#incl... | 46.217949 | 361 | 0.705687 | [
"mesh",
"geometry"
] |
24ff4483687756d0f30e841602a9028d01b8cdb8 | 6,159 | cpp | C++ | src/learner.cpp | Gripnook/qbert-learner | f3bfb226e2527b2c405a74c55f4e986e88e982c2 | [
"MIT"
] | null | null | null | src/learner.cpp | Gripnook/qbert-learner | f3bfb226e2527b2c405a74c55f4e986e88e982c2 | [
"MIT"
] | null | null | null | src/learner.cpp | Gripnook/qbert-learner | f3bfb226e2527b2c405a74c55f4e986e88e982c2 | [
"MIT"
] | null | null | null | #include "learner.h"
#include <fstream>
#include <cstdio>
#include <cstdlib>
#include "game-entity.h"
namespace Qbert {
Learner::Learner(
std::string name,
StateEncoding encodeState,
ExplorationPolicy explore,
float alpha,
float gamma)
: name{name},
encodeState{encodeState},
expl... | 27.495536 | 80 | 0.600747 | [
"vector"
] |
700024a441a7fdcda4926f58233c28d159e094d2 | 14,943 | cpp | C++ | src/limits/Scripts/Searchlights.cpp | EightyVice/III.VC.SA.LimitAdjuster | b83062ae1bc154701012f2f870a49c4566d06dfa | [
"MIT"
] | 120 | 2016-03-13T14:06:07.000Z | 2022-02-20T17:57:10.000Z | openla/src/limits/Scripts/Searchlights.cpp | cleoppa/norasa | 6f8d697922dca2fcc42a5830a384e790c687833a | [
"MIT"
] | 33 | 2016-09-25T13:01:08.000Z | 2022-03-23T19:43:06.000Z | openla/src/limits/Scripts/Searchlights.cpp | cleoppa/norasa | 6f8d697922dca2fcc42a5830a384e790c687833a | [
"MIT"
] | 25 | 2016-08-09T15:52:06.000Z | 2022-02-14T11:11:27.000Z | /*
* Searchlights Adjuster
* Copyright (c) 2014 ThirteenAG
* Licensed under the MIT License (http://opensource.org/licenses/MIT)
*/
#include "LimitAdjuster.h"
#include "CPatch.h"
std::vector<char> aSearchlights;
class SearchlightsSA : public SimpleAdjuster
{
public:
const char* GetLimitName() { return GetGVM().Is... | 75.469697 | 91 | 0.671753 | [
"vector"
] |
7000b963d878507ee611fa920eabeec04d107eb5 | 8,154 | cpp | C++ | main.cpp | FoxMaccloud/BinBruter | 9b4bc69eb2cabd2809dd168c0641b879a170e5a6 | [
"CC0-1.0"
] | null | null | null | main.cpp | FoxMaccloud/BinBruter | 9b4bc69eb2cabd2809dd168c0641b879a170e5a6 | [
"CC0-1.0"
] | null | null | null | main.cpp | FoxMaccloud/BinBruter | 9b4bc69eb2cabd2809dd168c0641b879a170e5a6 | [
"CC0-1.0"
] | null | null | null | #include <cstdlib>
#include <iostream>
#include <sstream>
#include <string>
#include <cassert>
#include <vector>
#include "subprocess.hpp"
struct variables
{
std::string binary;
std::string whenSolved;
std::string wordlistPath;
int threads;
bool wordlist = false;
bool whenSolvedC;
bool when... | 34.697872 | 139 | 0.418322 | [
"vector"
] |
7013640492a5856d0a510046516e09a7e6bea14f | 5,822 | cc | C++ | Testcase4-Application-breakdown/online-compiling/src/thunk/graph.cc | hunhoffe/ServerlessBench | 529eb835638cad0edb5be3343166c7ade375ece2 | [
"MulanPSL-1.0"
] | 129 | 2020-08-09T12:02:30.000Z | 2022-03-31T15:26:03.000Z | Testcase4-Application-breakdown/online-compiling/src/thunk/graph.cc | hunhoffe/ServerlessBench | 529eb835638cad0edb5be3343166c7ade375ece2 | [
"MulanPSL-1.0"
] | 11 | 2020-09-17T09:42:07.000Z | 2022-03-30T19:05:38.000Z | Testcase4-Application-breakdown/online-compiling/src/thunk/graph.cc | hunhoffe/ServerlessBench | 529eb835638cad0edb5be3343166c7ade375ece2 | [
"MulanPSL-1.0"
] | 22 | 2020-08-20T06:59:24.000Z | 2022-03-18T21:00:05.000Z | /* -*-mode:c++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
#include "graph.hh"
#include <stdexcept>
#include "ggutils.hh"
#include "thunk.hh"
#include "thunk_reader.hh"
#include "thunk_writer.hh"
using namespace std;
using namespace gg;
using namespace gg::thunk;
string ExecutionGraph::add_thunk... | 30.481675 | 95 | 0.663861 | [
"vector"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.