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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0f15f82b2da60468fbbdde03f486d9ee6527d06f | 2,147 | cpp | C++ | src/checks/process.cpp | RichardAH/valmond | 66965947fb5c7835af687ee2aa1fc00fc7f32eac | [
"MIT"
] | 4 | 2020-01-15T22:36:01.000Z | 2020-01-20T02:38:57.000Z | src/checks/process.cpp | RichardAH/valmond | 66965947fb5c7835af687ee2aa1fc00fc7f32eac | [
"MIT"
] | 1 | 2021-01-04T19:24:42.000Z | 2021-07-01T20:31:01.000Z | src/checks/process.cpp | RichardAH/valmond | 66965947fb5c7835af687ee2aa1fc00fc7f32eac | [
"MIT"
] | 3 | 2020-02-10T16:52:00.000Z | 2021-07-01T13:52:35.000Z | #include "process.hpp"
#include <dirent.h>
#include <errno.h>
#include <fstream>
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <string>
#include <sys/types.h>
#include <vector>
namespace checks {
namespace process {
Json::Value
runProcessCheck()
{
int pid = -1;
// Open the /proc direct... | 27.883117 | 88 | 0.510946 | [
"vector"
] |
0f1ae25ffad46c8582389580d2f64f990b6ee13c | 1,817 | cc | C++ | mindspore/lite/tools/converter/adapter/dpico/checker/log_checker.cc | PowerOlive/mindspore | bda20724a94113cedd12c3ed9083141012da1f15 | [
"Apache-2.0"
] | 1 | 2022-03-05T02:59:21.000Z | 2022-03-05T02:59:21.000Z | mindspore/lite/tools/converter/adapter/dpico/checker/log_checker.cc | zimo-geek/mindspore | 665ec683d4af85c71b2a1f0d6829356f2bc0e1ff | [
"Apache-2.0"
] | null | null | null | mindspore/lite/tools/converter/adapter/dpico/checker/log_checker.cc | zimo-geek/mindspore | 665ec683d4af85c71b2a1f0d6829356f2bc0e1ff | [
"Apache-2.0"
] | null | null | null | /**
* Copyright 2021 Huawei Technologies Co., Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... | 34.942308 | 113 | 0.693451 | [
"vector"
] |
0f1c2dfcbc3e4bf99d6582ba5e660242e6fadeb0 | 5,518 | cpp | C++ | analysis/process_track.cpp | suerfu/veto | 648996be3102f7fa6aba5e258dce8c8b0ea3eb8f | [
"Apache-2.0"
] | null | null | null | analysis/process_track.cpp | suerfu/veto | 648996be3102f7fa6aba5e258dce8c8b0ea3eb8f | [
"Apache-2.0"
] | null | null | null | analysis/process_track.cpp | suerfu/veto | 648996be3102f7fa6aba5e258dce8c8b0ea3eb8f | [
"Apache-2.0"
] | 1 | 2021-11-12T04:25:18.000Z | 2021-11-12T04:25:18.000Z | #include <iostream>
#include <vector>
#include <map>
#include <fstream>
#include <sstream>
#include <string>
#include "TTree.h"
#include "TFile.h"
using namespace std;
// TrackInfor is used to hold information read from input ROOT file.
// While reading the input, Hit objects are created and filled into a vector own... | 24.855856 | 105 | 0.528452 | [
"vector"
] |
0f1c9d867551b9122e39d6f3893b7e0b8d8bdbe7 | 2,865 | cpp | C++ | cpp/Graphs/network-flows-and-Bipartite-matching/edmond-karp-algorithm.cpp | fossabot/a-grim-loth | a6c8d549289a39ec981c1e0d0c754bb2708dfff9 | [
"MIT"
] | 4 | 2021-06-26T17:18:47.000Z | 2022-02-02T15:02:27.000Z | cpp/Graphs/network-flows-and-Bipartite-matching/edmond-karp-algorithm.cpp | fossabot/a-grim-loth | a6c8d549289a39ec981c1e0d0c754bb2708dfff9 | [
"MIT"
] | 8 | 2021-06-29T07:00:32.000Z | 2021-12-01T11:26:22.000Z | cpp/Graphs/network-flows-and-Bipartite-matching/edmond-karp-algorithm.cpp | fossabot/a-grim-loth | a6c8d549289a39ec981c1e0d0c754bb2708dfff9 | [
"MIT"
] | 3 | 2021-07-14T14:42:08.000Z | 2021-12-07T19:36:53.000Z | /**
* @file edmond-karp-algorithm.cpp
* @author prakash (prakashsellathurai@gmail.com)
* @brief edmond-karp algorithm implementation runs in O(E*V) time
* @version 0.1
* @date 2021-07-23
*
* @copyright Copyright (c) 2021
*
*/
#include <algorithm>
#include <cmath>
#include <iostream>
#include <vector>
#define... | 23.104839 | 69 | 0.49459 | [
"vector"
] |
0f1cc03110a6b013b9ba385fe294aa912dd20657 | 4,039 | hh | C++ | include/introvirt/windows/kernel/nt/types/objects/OBJECT_HEADER.hh | IntroVirt/IntroVirt | 917f735f3430d0855d8b59c814bea7669251901c | [
"Apache-2.0"
] | 23 | 2021-02-17T16:58:52.000Z | 2022-02-12T17:01:06.000Z | include/introvirt/windows/kernel/nt/types/objects/OBJECT_HEADER.hh | IntroVirt/IntroVirt | 917f735f3430d0855d8b59c814bea7669251901c | [
"Apache-2.0"
] | 1 | 2021-04-01T22:41:32.000Z | 2021-09-24T14:14:17.000Z | include/introvirt/windows/kernel/nt/types/objects/OBJECT_HEADER.hh | IntroVirt/IntroVirt | 917f735f3430d0855d8b59c814bea7669251901c | [
"Apache-2.0"
] | 4 | 2021-02-17T16:53:18.000Z | 2021-04-13T16:51:10.000Z | /*
* Copyright 2021 Assured Information Security, 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 a... | 29.268116 | 100 | 0.681109 | [
"object"
] |
0f22caea72ed6fea7e3055399c794954514a77b7 | 2,734 | hpp | C++ | openstudiocore/src/utilities/sql/SqlFileEnums.hpp | bobzabcik/OpenStudio | 858321dc0ad8d572de15858d2ae487b029a8d847 | [
"blessing"
] | null | null | null | openstudiocore/src/utilities/sql/SqlFileEnums.hpp | bobzabcik/OpenStudio | 858321dc0ad8d572de15858d2ae487b029a8d847 | [
"blessing"
] | null | null | null | openstudiocore/src/utilities/sql/SqlFileEnums.hpp | bobzabcik/OpenStudio | 858321dc0ad8d572de15858d2ae487b029a8d847 | [
"blessing"
] | null | null | null | /**********************************************************************
* Copyright (c) 2008-2013, Alliance for Sustainable Energy.
* All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by t... | 36.453333 | 90 | 0.652158 | [
"vector"
] |
0f239b00d9e44e0157127d50ad53a65d23e8b355 | 1,366 | cpp | C++ | backup/2/interviewbit/c++/rotated-sorted-array-search.cpp | yangyanzhan/code-camp | 4272564e916fc230a4a488f92ae32c07d355dee0 | [
"Apache-2.0"
] | 21 | 2019-11-16T19:08:35.000Z | 2021-11-12T12:26:01.000Z | backup/2/interviewbit/c++/rotated-sorted-array-search.cpp | yangyanzhan/code-camp | 4272564e916fc230a4a488f92ae32c07d355dee0 | [
"Apache-2.0"
] | 1 | 2022-02-04T16:02:53.000Z | 2022-02-04T16:02:53.000Z | backup/2/interviewbit/c++/rotated-sorted-array-search.cpp | yangyanzhan/code-camp | 4272564e916fc230a4a488f92ae32c07d355dee0 | [
"Apache-2.0"
] | 4 | 2020-05-15T19:39:41.000Z | 2021-10-30T06:40:31.000Z | // Hi, I'm Yanzhan. For more algothmic problems, visit my Youtube Channel (Yanzhan Yang's Youtube Channel) : https://www.youtube.com/channel/UCDkz-__gl3frqLexukpG0DA?view_as=subscriber or my Twitter Account (Yanzhan Yang's Twitter) : https://twitter.com/YangYanzhan or my GitHub HomePage (Yanzhan Yang's GitHub HomePage)... | 36.918919 | 345 | 0.584919 | [
"vector"
] |
0f251261bdfdb9a204dddedc0a7f446569f986bf | 5,606 | hpp | C++ | include/GlobalNamespace/MissionNodeSelectionManager.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | include/GlobalNamespace/MissionNodeSelectionManager.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | include/GlobalNamespace/MissionNodeSelectionManager.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
// Including type: UnityEngine.MonoBehaviour
#include "UnityEngine/MonoBehaviour.hpp"
#i... | 52.392523 | 490 | 0.745451 | [
"object"
] |
0f278bd37ac8c39640f0d0263e71af493e41ec30 | 5,499 | cpp | C++ | libs/rigidAsPossibleMesh/src/LinearAlgebra.cpp | ofZach/ofxPuppet | 95c9781e9c43c0867b0c9e916127a18efaa3851a | [
"MIT"
] | 35 | 2015-01-19T11:38:48.000Z | 2021-07-23T07:51:16.000Z | libs/rigidAsPossibleMesh/src/LinearAlgebra.cpp | n1ckfg/ofxPuppet | a634961324afe871cceb061eb0a9ce4c8f0d272d | [
"MIT"
] | null | null | null | libs/rigidAsPossibleMesh/src/LinearAlgebra.cpp | n1ckfg/ofxPuppet | a634961324afe871cceb061eb0a9ce4c8f0d272d | [
"MIT"
] | 9 | 2015-02-03T01:57:49.000Z | 2019-05-09T22:44:29.000Z | #include "LinearAlgebra.h"
using namespace rmsmesh;
// Matrix Types
// You cannot change these types to an enum. They are used in bit operations.
#define MT_NONE 0
#define MT_ROTATION 1
#define MT_TRANSLATION 1<<1
#define MT_SCALE 1<<2
#define MT_UNKNOWN 1<<10
/*
* things to do
... | 18.962069 | 106 | 0.557374 | [
"vector"
] |
0f2b1ac60f91ab5abdfee876b7d4db9832624a48 | 1,126 | hpp | C++ | lib/include/protodoc/generator.hpp | mathisloge/protocol-doc-generation | b9ec5652b83780156027cc275cc3b73ec3d75737 | [
"MIT"
] | 4 | 2021-08-18T12:20:51.000Z | 2021-08-21T06:20:24.000Z | lib/include/protodoc/generator.hpp | mathisloge/protocol-doc-generation | b9ec5652b83780156027cc275cc3b73ec3d75737 | [
"MIT"
] | 1 | 2021-08-18T12:39:53.000Z | 2021-08-22T20:21:11.000Z | lib/include/protodoc/generator.hpp | mathisloge/protocol-doc-generation | b9ec5652b83780156027cc275cc3b73ec3d75737 | [
"MIT"
] | 1 | 2021-10-07T00:34:17.000Z | 2021-10-07T00:34:17.000Z | #pragma once
#include <filesystem>
#include <memory>
#include <vector>
#include <commsdsl/Protocol.h>
#include <nlohmann/json.hpp>
#include "protodoc_export.hpp"
namespace protodoc
{
using FilesList = std::vector<std::filesystem::path>;
struct GeneratorOpts
{
std::filesystem::path root;
bool trim;
bool spl... | 23.458333 | 55 | 0.69627 | [
"vector"
] |
0f321c87484e4500bca84ec2ca50ec056f801e5b | 10,490 | hpp | C++ | include/vierkant/Input.hpp | crocdialer/vierkan | 57095a91db33cee3086b9f820520f693dd144915 | [
"MIT"
] | 1 | 2021-03-30T20:32:21.000Z | 2021-03-30T20:32:21.000Z | include/vierkant/Input.hpp | crocdialer/vierkan | 57095a91db33cee3086b9f820520f693dd144915 | [
"MIT"
] | null | null | null | include/vierkant/Input.hpp | crocdialer/vierkan | 57095a91db33cee3086b9f820520f693dd144915 | [
"MIT"
] | null | null | null | #pragma once
#include <unordered_map>
#include <GLFW/glfw3.h>
#define GLM_FORCE_CXX11
#define GLM_FORCE_SWIZZLE
#define GLM_FORCE_RADIANS
#define GLM_FORCE_DEPTH_ZERO_TO_ONE
#include <glm/glm.hpp>
#include "glm/gtc/matrix_transform.hpp"
#include "glm/gtc/matrix_inverse.hpp"
#define GLM_ENABLE_EXPERIMENTAL
#include... | 25.837438 | 134 | 0.587321 | [
"vector"
] |
0f36482341c1f9ef1b43143eb0b9b6a5bd5a9f9f | 78 | cpp | C++ | UL/CppApp/System/Attribute.cpp | xiongfang/UL | a2c7af50da0e30a34e4656b395557896781b66b1 | [
"MIT"
] | 23 | 2018-07-17T16:30:15.000Z | 2022-01-03T14:02:45.000Z | UL/CppApp/System/Attribute.cpp | Halfholl/UL | 76bc687a1b12ee9b69977d7e20ad007d772b2869 | [
"MIT"
] | null | null | null | UL/CppApp/System/Attribute.cpp | Halfholl/UL | 76bc687a1b12ee9b69977d7e20ad007d772b2869 | [
"MIT"
] | 9 | 2019-02-06T13:24:35.000Z | 2022-01-03T14:02:45.000Z | #include "stdafx.h"
#include "System\Attribute.h"
#include "System\Object.h"
| 19.5 | 29 | 0.730769 | [
"object"
] |
0f390482e29bfc8fb65dfe8117e670635743ba8c | 4,821 | cpp | C++ | src/PBRViewerMouseCallbacks.cpp | DanielSchmitt93/PBRViewer | bcd00288420a4406945411180a2d79477b47dd97 | [
"MIT"
] | null | null | null | src/PBRViewerMouseCallbacks.cpp | DanielSchmitt93/PBRViewer | bcd00288420a4406945411180a2d79477b47dd97 | [
"MIT"
] | null | null | null | src/PBRViewerMouseCallbacks.cpp | DanielSchmitt93/PBRViewer | bcd00288420a4406945411180a2d79477b47dd97 | [
"MIT"
] | 1 | 2020-11-23T08:29:22.000Z | 2020-11-23T08:29:22.000Z | #include "PBRViewerMouseCallbacks.h"
#include "glm/gtx/euler_angles.hpp"
#include "PBRViewerInputConstants.h"
// Needs to be static so we can set the GLFW callback accordingly.
static std::shared_ptr<PBRViewerOverlay> myOverlay;
static std::shared_ptr<PBRViewerModel> myModel;
/// <summary>
/// Register the callbacks... | 34.683453 | 142 | 0.703796 | [
"object",
"model"
] |
0f3b7675f3a6506db299ba06ee782167a71d7911 | 22,796 | cc | C++ | chrome/browser/extensions/api/notifications/notifications_api.cc | tmpsantos/chromium | 802d4aeeb33af25c01ee5994037bbf14086d4ac0 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/extensions/api/notifications/notifications_api.cc | tmpsantos/chromium | 802d4aeeb33af25c01ee5994037bbf14086d4ac0 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/extensions/api/notifications/notifications_api.cc | tmpsantos/chromium | 802d4aeeb33af25c01ee5994037bbf14086d4ac0 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2020-11-04T07:23:37.000Z | 2020-11-04T07:23:37.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 "chrome/browser/extensions/api/notifications/notifications_api.h"
#include "base/callback.h"
#include "base/guid.h"
#include "base/rand_util... | 35.61875 | 80 | 0.709379 | [
"vector"
] |
0f3e4b87a8a658ba89f5c362dd44b623d76b7132 | 777 | cpp | C++ | CS2370/Code/unwind.cpp | Davidjbennett/DavidBennett.github.io | 09a2652b7ace8741bf23c6432abd58ee790b9f0c | [
"MIT"
] | 3 | 2021-05-18T16:17:29.000Z | 2022-01-20T15:46:59.000Z | CS2370/Code/unwind.cpp | Davidjbennett/DavidBennett | 09a2652b7ace8741bf23c6432abd58ee790b9f0c | [
"MIT"
] | null | null | null | CS2370/Code/unwind.cpp | Davidjbennett/DavidBennett | 09a2652b7ace8741bf23c6432abd58ee790b9f0c | [
"MIT"
] | null | null | null | // unwind.cpp: Illustrates stack unwinding
#include <iostream>
#include <stdexcept>
using namespace std;
class Foo {
int* p;
public:
Foo(int x) {
p = new int(x); // Allocate heap memory
cout << *p << " allocated\n";
}
~Foo() {
cout << *p << " deallocated\n";
delete p;
... | 16.531915 | 74 | 0.532819 | [
"object"
] |
0f406793c71cd97b3db732ad2c0eee29d858fce2 | 2,846 | cpp | C++ | src/lr/lr_momentum.cpp | langqiu/LogisticRegressionwithAdamAdadeltaAdagradRmspropNagMomentum | ee0f0432a107aaf3ce05ae30c6ce99894723fc72 | [
"Apache-2.0"
] | 7 | 2018-09-03T12:27:49.000Z | 2022-03-12T16:45:27.000Z | src/lr/lr_momentum.cpp | langqiu/LogisticRegressionwithAdamAdadeltaAdagradRmspropNagMomentum | ee0f0432a107aaf3ce05ae30c6ce99894723fc72 | [
"Apache-2.0"
] | null | null | null | src/lr/lr_momentum.cpp | langqiu/LogisticRegressionwithAdamAdadeltaAdagradRmspropNagMomentum | ee0f0432a107aaf3ce05ae30c6ce99894723fc72 | [
"Apache-2.0"
] | 3 | 2018-06-12T12:05:45.000Z | 2021-10-10T12:46:44.000Z | #include "lr_momentum.h"
using namespace util;
namespace model {
LRMomentumModel::LRMomentumModel(DataSet* p_train_dataset, DataSet* p_test_dataset,
const hash2index_type& f_hash2index, const index2hash_type& f_index2hash,
const f_index_type& f_size, const std::string& model_type) :
LRModel(p_train_... | 42.477612 | 101 | 0.651089 | [
"vector",
"model"
] |
0f42f174b26e1547a30fd8771c2a7a4058c3680e | 595 | cpp | C++ | test/unit/math/mix/fun/crossprod_test.cpp | LaudateCorpus1/math | 990a66b3cccd27a5fd48626360bb91093a48278b | [
"BSD-3-Clause"
] | 1 | 2020-06-14T14:33:37.000Z | 2020-06-14T14:33:37.000Z | test/unit/math/mix/fun/crossprod_test.cpp | LaudateCorpus1/math | 990a66b3cccd27a5fd48626360bb91093a48278b | [
"BSD-3-Clause"
] | 2 | 2019-07-23T12:45:30.000Z | 2020-05-01T20:43:03.000Z | test/unit/math/mix/fun/crossprod_test.cpp | LaudateCorpus1/math | 990a66b3cccd27a5fd48626360bb91093a48278b | [
"BSD-3-Clause"
] | 1 | 2020-05-10T12:55:07.000Z | 2020-05-10T12:55:07.000Z | #include <test/unit/math/test_ad.hpp>
#include <vector>
TEST(MathMixMatFun, crossprod) {
auto f = [](const auto& y) { return stan::math::crossprod(y); };
Eigen::MatrixXd t(0, 0);
Eigen::MatrixXd x(1, 1);
x << 3;
Eigen::MatrixXd u(1, 3);
u << 1, 2, 3;
Eigen::MatrixXd y(2, 2);
y << 3, 0, 4, -3;
Ei... | 19.833333 | 73 | 0.529412 | [
"vector"
] |
0f43e517831bbf74f94bd6ffa57f1b63df512053 | 779 | cpp | C++ | test/test_model_lstm_test.cpp | Zax37/frugally-deep | a119eea982b3622f57a75e1d58106002d9511b00 | [
"MIT"
] | null | null | null | test/test_model_lstm_test.cpp | Zax37/frugally-deep | a119eea982b3622f57a75e1d58106002d9511b00 | [
"MIT"
] | null | null | null | test/test_model_lstm_test.cpp | Zax37/frugally-deep | a119eea982b3622f57a75e1d58106002d9511b00 | [
"MIT"
] | null | null | null | // Copyright 2016, Tobias Hermann.
// https://github.com/Dobiasd/frugally-deep
// Distributed under the MIT License.
// (See accompanying LICENSE file or at
// https://opensource.org/licenses/MIT)
#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
#include "doctest/doctest.h"
#include <fdeep/fdeep.hpp>
#define FDEEP_FLOAT_T... | 33.869565 | 75 | 0.726573 | [
"vector",
"model"
] |
0f4435566969d29cbddacd285c7c1d396368e383 | 1,707 | tpp | C++ | src/physics/rigid_body_assembler.tpp | ipc-sim/rigid-ipc | d839af457236e7363b14c2e482a01d8160fa447e | [
"MIT"
] | 71 | 2021-09-08T13:16:43.000Z | 2022-03-27T10:23:33.000Z | src/physics/rigid_body_assembler.tpp | ipc-sim/rigid-ipc | d839af457236e7363b14c2e482a01d8160fa447e | [
"MIT"
] | 4 | 2021-09-08T00:16:20.000Z | 2022-01-05T17:44:08.000Z | src/physics/rigid_body_assembler.tpp | ipc-sim/rigid-ipc | d839af457236e7363b14c2e482a01d8160fa447e | [
"MIT"
] | 2 | 2021-09-18T15:15:38.000Z | 2021-09-21T15:15:38.000Z | #pragma once
#include "rigid_body_assembler.hpp"
namespace ipc::rigid {
template <typename T>
MatrixX<T> RigidBodyAssembler::world_vertices(const Poses<T>& poses) const
{
assert(poses.size() == num_bodies());
MatrixX<T> V(num_vertices(), dim());
for (size_t i = 0; i < num_bodies(); ++i) {
const Ri... | 31.036364 | 75 | 0.677797 | [
"vector"
] |
0f460b19c1ee290090e0dbc0fcf8bfd0633a9189 | 1,409 | hpp | C++ | headers/turing_machine_reader.hpp | Daniel-del-Castillo/CC2 | 3c71493e335b658e09913e13bbfdc2a3f7a3f1d4 | [
"Unlicense"
] | null | null | null | headers/turing_machine_reader.hpp | Daniel-del-Castillo/CC2 | 3c71493e335b658e09913e13bbfdc2a3f7a3f1d4 | [
"Unlicense"
] | null | null | null | headers/turing_machine_reader.hpp | Daniel-del-Castillo/CC2 | 3c71493e335b658e09913e13bbfdc2a3f7a3f1d4 | [
"Unlicense"
] | null | null | null | #pragma once
#include <fstream>
#include <string>
#include <map>
#include <vector>
#include <stdexcept>
#include "headers/turing_machine.hpp"
#include "headers/debug_turing_machine.hpp"
#include "headers/state.hpp"
#include "headers/alphabet.hpp"
// Allows reading a turing machine from a file. The turing machine
// ... | 36.128205 | 85 | 0.739532 | [
"vector"
] |
0f52070833936e0ccdcc79776bbfd3d701f88efb | 38,238 | cpp | C++ | samples/sample_vpp/src/sample_vpp.cpp | yangnin/MediaSDK | 5322c4a28b96f64425720e0416d2cb8285c7672a | [
"MIT"
] | 1 | 2020-09-08T15:30:11.000Z | 2020-09-08T15:30:11.000Z | samples/sample_vpp/src/sample_vpp.cpp | yangnin/MediaSDK | 5322c4a28b96f64425720e0416d2cb8285c7672a | [
"MIT"
] | 1 | 2021-01-21T12:27:39.000Z | 2021-01-21T12:27:39.000Z | samples/sample_vpp/src/sample_vpp.cpp | yangnin/MediaSDK | 5322c4a28b96f64425720e0416d2cb8285c7672a | [
"MIT"
] | 1 | 2020-08-17T21:07:24.000Z | 2020-08-17T21:07:24.000Z | /******************************************************************************\
Copyright (c) 2005-2019, Intel Corporation
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source c... | 37.414873 | 755 | 0.583268 | [
"vector"
] |
0f52136cb85077109d5effb63f6a08b12254fde4 | 1,752 | cpp | C++ | tests/quickfutureunittests/quickfutureunittests.cpp | Dushistov/quickfuture | 021dced18718483e0b98ff06c3f97657bf35afab | [
"Apache-2.0"
] | null | null | null | tests/quickfutureunittests/quickfutureunittests.cpp | Dushistov/quickfuture | 021dced18718483e0b98ff06c3f97657bf35afab | [
"Apache-2.0"
] | null | null | null | tests/quickfutureunittests/quickfutureunittests.cpp | Dushistov/quickfuture | 021dced18718483e0b98ff06c3f97657bf35afab | [
"Apache-2.0"
] | null | null | null | #include <QQmlApplicationEngine>
#include <QTest>
#include <QElapsedTimer>
#include <Automator>
#include <QQmlContext>
#include <QtShell>
#include <QuickFuture>
#include <QtConcurrent>
#include "actor.h"
#include "quickfutureunittests.h"
Q_DECLARE_METATYPE(QFuture<QString>)
using namespace QuickFuture;
template <type... | 23.675676 | 131 | 0.689498 | [
"object"
] |
0f54e47506e83bd9282226198ecec0ebc4a8644f | 12,629 | cpp | C++ | src/+cv/private/RTrees_.cpp | rokm/mexopencv | 22d459cd28df8a5e77fd7f2c8572b16723f60a1d | [
"BSD-3-Clause"
] | 1 | 2021-05-12T21:33:44.000Z | 2021-05-12T21:33:44.000Z | src/+cv/private/RTrees_.cpp | rokm/mexopencv | 22d459cd28df8a5e77fd7f2c8572b16723f60a1d | [
"BSD-3-Clause"
] | null | null | null | src/+cv/private/RTrees_.cpp | rokm/mexopencv | 22d459cd28df8a5e77fd7f2c8572b16723f60a1d | [
"BSD-3-Clause"
] | 1 | 2020-09-29T22:33:52.000Z | 2020-09-29T22:33:52.000Z | /**
* @file RTrees_.cpp
* @brief mex interface for cv::ml::RTrees
* @ingroup ml
* @author Kota Yamaguchi, Amro
* @date 2012, 2015
*/
#include "mexopencv.hpp"
#include "mexopencv_ml.hpp"
using namespace std;
using namespace cv;
using namespace cv::ml;
// Persistent objects
namespace {
/// Last object id to alloca... | 38.503049 | 85 | 0.522765 | [
"object",
"vector"
] |
0f551ff1f670343bcdb49268f3647515d1872e06 | 31,313 | cpp | C++ | app/src/mainwindow.cpp | yohrudkov/Uamp | 4ec479156767907b5ae4c35716c1bea0897461cc | [
"MIT"
] | null | null | null | app/src/mainwindow.cpp | yohrudkov/Uamp | 4ec479156767907b5ae4c35716c1bea0897461cc | [
"MIT"
] | null | null | null | app/src/mainwindow.cpp | yohrudkov/Uamp | 4ec479156767907b5ae4c35716c1bea0897461cc | [
"MIT"
] | null | null | null | #include "mainwindow.h"
#include "ui_mainwindow.h"
MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) {
ui->setupUi(this);
m_block = false;
m_resize = false;
m_rep = 0;
m_netaccman = new QNetworkAccessManager(this);
m_shutdown = new Timer(this);
ui->SongNa... | 38.420859 | 130 | 0.601923 | [
"model",
"solid"
] |
0f570fa4352e3b0f3a2d3bf6f49678234539a483 | 2,283 | hpp | C++ | glm/glm/gtx/component_wise.hpp | gregsimon/shaderharness | 22e7229c490bbca1a9cce4426f64a784edf6e8cf | [
"BSD-3-Clause"
] | 1,851 | 2017-03-24T00:08:21.000Z | 2022-03-29T21:14:30.000Z | glm/glm/gtx/component_wise.hpp | gregsimon/shaderharness | 22e7229c490bbca1a9cce4426f64a784edf6e8cf | [
"BSD-3-Clause"
] | 964 | 2017-03-24T01:20:31.000Z | 2022-03-28T14:18:30.000Z | glm/glm/gtx/component_wise.hpp | gregsimon/shaderharness | 22e7229c490bbca1a9cce4426f64a784edf6e8cf | [
"BSD-3-Clause"
] | 458 | 2017-05-17T09:04:01.000Z | 2022-03-31T11:52:07.000Z | /// @ref gtx_component_wise
/// @file glm/gtx/component_wise.hpp
/// @date 2007-05-21 / 2011-06-07
/// @author Christophe Riccio
///
/// @see core (dependence)
///
/// @defgroup gtx_component_wise GLM_GTX_component_wise
/// @ingroup gtx
///
/// @brief Operations between components of a type
///
/// <glm/gt... | 34.590909 | 102 | 0.727113 | [
"vector"
] |
0f57d26225e8ae079fb096212537fc25a1251594 | 6,390 | cc | C++ | tensorflow/core/kernels/sparse_to_dense_op.cc | ryan-collins-forks/tensorflow | 080a1f6c64976b11437d2dc4ef4178e4ca1205b7 | [
"Apache-2.0"
] | null | null | null | tensorflow/core/kernels/sparse_to_dense_op.cc | ryan-collins-forks/tensorflow | 080a1f6c64976b11437d2dc4ef4178e4ca1205b7 | [
"Apache-2.0"
] | null | null | null | tensorflow/core/kernels/sparse_to_dense_op.cc | ryan-collins-forks/tensorflow | 080a1f6c64976b11437d2dc4ef4178e4ca1205b7 | [
"Apache-2.0"
] | 1 | 2019-11-15T21:19:42.000Z | 2019-11-15T21:19:42.000Z | /* Copyright 2015 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in ... | 39.9375 | 80 | 0.6277 | [
"shape",
"vector"
] |
0f57d5bb8cc63fcb0202e55b6c93c56c92af56c7 | 2,846 | cpp | C++ | src/mongo/scripting/v8_wrapper.cpp | spencerjackson/mongo | 51c46e71c9f310fc91168c0945ffa6cfc00d380b | [
"Apache-2.0"
] | null | null | null | src/mongo/scripting/v8_wrapper.cpp | spencerjackson/mongo | 51c46e71c9f310fc91168c0945ffa6cfc00d380b | [
"Apache-2.0"
] | null | null | null | src/mongo/scripting/v8_wrapper.cpp | spencerjackson/mongo | 51c46e71c9f310fc91168c0945ffa6cfc00d380b | [
"Apache-2.0"
] | 1 | 2021-02-28T12:03:02.000Z | 2021-02-28T12:03:02.000Z | // v8_wrapper.cpp
/* Copyright 2009 10gen 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... | 30.934783 | 109 | 0.607871 | [
"object"
] |
0f692de387f814782395b0036b8d949497586a46 | 7,305 | cpp | C++ | windows/pw6e.official/CPlusPlus/Chapter13/FingerPaint5/FingerPaint5/MainPage.xaml.cpp | nnaabbcc/exercise | 255fd32b39473b3d0e7702d4b1a8a97bed2a68f8 | [
"MIT"
] | 1 | 2016-11-23T08:18:08.000Z | 2016-11-23T08:18:08.000Z | windows/pw6e.official/CPlusPlus/Chapter13/FingerPaint5/FingerPaint5/MainPage.xaml.cpp | nnaabbcc/exercise | 255fd32b39473b3d0e7702d4b1a8a97bed2a68f8 | [
"MIT"
] | null | null | null | windows/pw6e.official/CPlusPlus/Chapter13/FingerPaint5/FingerPaint5/MainPage.xaml.cpp | nnaabbcc/exercise | 255fd32b39473b3d0e7702d4b1a8a97bed2a68f8 | [
"MIT"
] | 1 | 2016-11-23T08:17:34.000Z | 2016-11-23T08:17:34.000Z | //
// MainPage.xaml.cpp
// Implementation of the MainPage class.
//
#include "pch.h"
#include "MainPage.xaml.h"
using namespace FingerPaint5;
using namespace DirectX;
using namespace Platform;
using namespace Platform::Collections;
using namespace Windows::Foundation;
using namespace Windows::Foundatio... | 33.356164 | 86 | 0.627105 | [
"geometry",
"vector"
] |
0f6ae1d72ecd434afc9b64841cdc23bb3bbdad4c | 1,982 | cpp | C++ | src/main.cpp | zeffii/glucose_graph | 5c8aa02cd448425a2cc2044dc025b323290d9380 | [
"MIT"
] | null | null | null | src/main.cpp | zeffii/glucose_graph | 5c8aa02cd448425a2cc2044dc025b323290d9380 | [
"MIT"
] | 2 | 2021-01-08T08:46:17.000Z | 2021-01-09T14:55:58.000Z | src/main.cpp | zeffii/glucose_graph | 5c8aa02cd448425a2cc2044dc025b323290d9380 | [
"MIT"
] | null | null | null | #include <SDL2/SDL.h>
#include <string>
#include <sstream>
#include <iostream>
#include <time.h>
#include <ctime>
#include <vector>
#include <cctype>
#include <fstream>
#include <iomanip>
#include "Window.h"
// #include "XEvent.h"
#include "EpochFunctions.h"
#include "GraphDrawing.h"
int FPS = 20;
std::vector<std::st... | 21.78022 | 61 | 0.570636 | [
"vector"
] |
0f759daae1ee0d80905ccf69dc3c557a5f3fda54 | 60,616 | cpp | C++ | groups/bsl/bslx/bslx_outstreamfunctions.t.cpp | htmldrum/bde | 36764772b14d15871cd67e464b9736ce655b481f | [
"Apache-2.0"
] | 1 | 2019-06-27T11:32:37.000Z | 2019-06-27T11:32:37.000Z | groups/bsl/bslx/bslx_outstreamfunctions.t.cpp | htmldrum/bde | 36764772b14d15871cd67e464b9736ce655b481f | [
"Apache-2.0"
] | null | null | null | groups/bsl/bslx/bslx_outstreamfunctions.t.cpp | htmldrum/bde | 36764772b14d15871cd67e464b9736ce655b481f | [
"Apache-2.0"
] | null | null | null | // bslx_outstreamfunctions.t.cpp -*-C++-*-
#include <bslx_outstreamfunctions.h>
#include <bsls_assert.h>
#include <bsls_asserttest.h>
#include <bsls_bsltestutil.h>
#include <bsl_climits.h>
#include <bsl_cstdlib.h>
#include <bsl_cstring.h>
#include <bsl_iostream.h>
#include <bsl_v... | 41.291553 | 79 | 0.464118 | [
"object",
"vector"
] |
0f7691ab89f310fc9c70a7a963e29c38c8ca104a | 1,284 | hpp | C++ | geometry/Plane.hpp | Draaaaaaven/generic | f72a1896058486ef865cb2a0a722d70b2398a7af | [
"BSL-1.0"
] | 3 | 2022-01-05T02:34:04.000Z | 2022-03-19T13:51:50.000Z | geometry/Plane.hpp | Draaaaaaven/generic | f72a1896058486ef865cb2a0a722d70b2398a7af | [
"BSL-1.0"
] | null | null | null | geometry/Plane.hpp | Draaaaaaven/generic | f72a1896058486ef865cb2a0a722d70b2398a7af | [
"BSL-1.0"
] | null | null | null | /**
* @file Plane.hpp
* @author bwu
* @brief Model of plane concept
* @version 0.1
* @date 2022-02-22
*/
#ifndef GENERIC_GEOMETRY_PLANE_HPP
#define GENERIC_GEOMETRY_PLANE_HPP
#include "generic/common/Traits.hpp"
#include "Point.hpp"
#include "Vector.hpp"
namespace generic {
namespace geometry {
using generic::co... | 30.571429 | 119 | 0.715732 | [
"geometry",
"vector",
"model"
] |
0f77e0bb051f63af8ec149475b0b995c280bfa36 | 4,490 | hpp | C++ | src/multipath_alignment_emitter.hpp | pierrepeterlongo/vg | 718e07e4eba003741896c79777b63290e4c60cb0 | [
"MIT"
] | null | null | null | src/multipath_alignment_emitter.hpp | pierrepeterlongo/vg | 718e07e4eba003741896c79777b63290e4c60cb0 | [
"MIT"
] | null | null | null | src/multipath_alignment_emitter.hpp | pierrepeterlongo/vg | 718e07e4eba003741896c79777b63290e4c60cb0 | [
"MIT"
] | null | null | null | #ifndef VG_MULTIPATH_ALIGNMENT_EMITTER_HPP_INCLUDED
#define VG_MULTIPATH_ALIGNMENT_EMITTER_HPP_INCLUDED
/**
* \file multipath_alignment_emitter.hpp
*
* Defines a system for emitting multipath alignments and groups of multipath alignments in multiple formats.
*/
#include <mutex>
#include <iostream>
#include <sstre... | 40.818182 | 119 | 0.66147 | [
"vector"
] |
0f79708c7622eb47b4dbf54bf211e39ccea2ee19 | 839 | cpp | C++ | Problem701-800/p704_1.cpp | dingqunfei/LeetCode | c74a21ea56ee7b35308d2f387ef24ab29b031e24 | [
"Apache-2.0"
] | null | null | null | Problem701-800/p704_1.cpp | dingqunfei/LeetCode | c74a21ea56ee7b35308d2f387ef24ab29b031e24 | [
"Apache-2.0"
] | null | null | null | Problem701-800/p704_1.cpp | dingqunfei/LeetCode | c74a21ea56ee7b35308d2f387ef24ab29b031e24 | [
"Apache-2.0"
] | null | null | null | /**
* @file p704_1.cpp
* @brief
* @author dingqunfei (dqflying@gmail.com)
* @version 1.0
* @date 2021-04-18
*
* @copyright Copyright (c) 2021 DQFLYING
*
* @par :
*
*
* Date : 2021-04-18
* Version : 1.0
* Author : dqflying
* Lisence :
* Description :
*
*
*
*
*/
class ... | 17.122449 | 47 | 0.401669 | [
"vector"
] |
0f797dd5ba7bfba01a3dd2908098fd1267af807a | 1,235 | cpp | C++ | competitive programming/leetcode/1534. Count Good Triplets.cpp | sureshmangs/Code | de91ffc7ef06812a31464fb40358e2436734574c | [
"MIT"
] | 16 | 2020-06-02T19:22:45.000Z | 2022-02-05T10:35:28.000Z | competitive programming/leetcode/1534. Count Good Triplets.cpp | codezoned/Code | de91ffc7ef06812a31464fb40358e2436734574c | [
"MIT"
] | null | null | null | competitive programming/leetcode/1534. Count Good Triplets.cpp | codezoned/Code | de91ffc7ef06812a31464fb40358e2436734574c | [
"MIT"
] | 2 | 2020-08-27T17:40:06.000Z | 2022-02-05T10:33:52.000Z | Given an array of integers arr, and three integers a, b and c. You need to find the number of good triplets.
A triplet (arr[i], arr[j], arr[k]) is good if the following conditions are true:
0 <= i < j < k < arr.length
|arr[i] - arr[j]| <= a
|arr[j] - arr[k]| <= b
|arr[i] - arr[k]| <= c
Where |x| denotes the absolute ... | 19.919355 | 108 | 0.493927 | [
"vector"
] |
0f7a4337d3ce7723ade153846aba7ff0e75dda59 | 88,910 | cpp | C++ | src/openms/source/ANALYSIS/TARGETED/PSLPFormulation.cpp | andreott/OpenMS | 718fa2e8a91280ff65e4cf834a3d825811dce1dc | [
"BSL-1.0",
"Zlib",
"Apache-2.0"
] | 1 | 2021-07-06T09:15:10.000Z | 2021-07-06T09:15:10.000Z | src/openms/source/ANALYSIS/TARGETED/PSLPFormulation.cpp | andreott/OpenMS | 718fa2e8a91280ff65e4cf834a3d825811dce1dc | [
"BSL-1.0",
"Zlib",
"Apache-2.0"
] | 7 | 2018-06-19T14:51:57.000Z | 2022-01-12T14:34:32.000Z | src/openms/source/ANALYSIS/TARGETED/PSLPFormulation.cpp | andreott/OpenMS | 718fa2e8a91280ff65e4cf834a3d825811dce1dc | [
"BSL-1.0",
"Zlib",
"Apache-2.0"
] | null | null | null | // --------------------------------------------------------------------------
// OpenMS -- Open-Source Mass Spectrometry
// --------------------------------------------------------------------------
// Copyright The OpenMS Team -- Eberhard Karls University Tuebingen,
// ETH Zurich, and Freie Universit... | 45.362245 | 251 | 0.55455 | [
"vector",
"model"
] |
0f7c15a4363ec473bac11fa11d710dd8be397bf4 | 11,363 | cpp | C++ | OPHD/Common.cpp | Daedeross/OPHD | 16c0c4bf44bd74fe2ef413e344d3ef5aeab6102c | [
"BSD-3-Clause"
] | 30 | 2018-03-31T19:16:45.000Z | 2019-10-15T03:12:17.000Z | OPHD/Common.cpp | Daedeross/OPHD | 16c0c4bf44bd74fe2ef413e344d3ef5aeab6102c | [
"BSD-3-Clause"
] | 149 | 2018-04-23T01:47:22.000Z | 2020-02-09T04:04:34.000Z | OPHD/Common.cpp | Daedeross/OPHD | 16c0c4bf44bd74fe2ef413e344d3ef5aeab6102c | [
"BSD-3-Clause"
] | 10 | 2018-04-28T14:59:07.000Z | 2020-01-26T19:54:36.000Z | #include "Common.h"
#include "Constants/Numbers.h"
#include "StructureManager.h"
#include "XmlSerializer.h"
#include "Things/Structures/Structure.h"
#include "Things/Structures/Warehouse.h"
#include <NAS2D/Utility.h>
#include <NAS2D/Xml/XmlDocument.h>
#include <NAS2D/Xml/XmlElement.h>
using namespace NAS2D;
std::... | 26.425581 | 153 | 0.739945 | [
"vector"
] |
0f7d602d64d83411411cc9c49529a1ff19d28238 | 4,087 | cpp | C++ | toonz/sources/toonz/histogrampopup.cpp | ss23/opentoonz | b42e43d4b8d9fedc26022d145218b9a147a30985 | [
"BSD-3-Clause"
] | null | null | null | toonz/sources/toonz/histogrampopup.cpp | ss23/opentoonz | b42e43d4b8d9fedc26022d145218b9a147a30985 | [
"BSD-3-Clause"
] | null | null | null | toonz/sources/toonz/histogrampopup.cpp | ss23/opentoonz | b42e43d4b8d9fedc26022d145218b9a147a30985 | [
"BSD-3-Clause"
] | 1 | 2019-10-07T17:12:30.000Z | 2019-10-07T17:12:30.000Z |
#include "histogrampopup.h"
// Tnz6 includes
#include "menubarcommandids.h"
#include "tapp.h"
#include "previewer.h"
// TnzQt includes
#include "toonzqt/menubarcommand.h"
#include "toonzqt/combohistogram.h"
// TnzLib includes
#include "toonz/tframehandle.h"
// TnzCore includes
#include "trasterimage.h"
#include "... | 26.712418 | 106 | 0.56643 | [
"render"
] |
abee3728061983915a66060ce62c6fc7aa8cc6e1 | 7,775 | cxx | C++ | Modules/Segmentation/Classifiers/test/itkBayesianClassifierImageFilterTest.cxx | ltmakela/ITK | 21f48c6d98e21ecece09be16a747221d7094d8a9 | [
"Apache-2.0"
] | 4 | 2015-05-22T03:47:43.000Z | 2016-06-16T20:57:21.000Z | Modules/Segmentation/Classifiers/test/itkBayesianClassifierImageFilterTest.cxx | GEHC-Surgery/ITK | f5df62749e56c9036e5888cfed904032ba5fdfb7 | [
"Apache-2.0"
] | null | null | null | Modules/Segmentation/Classifiers/test/itkBayesianClassifierImageFilterTest.cxx | GEHC-Surgery/ITK | f5df62749e56c9036e5888cfed904032ba5fdfb7 | [
"Apache-2.0"
] | 9 | 2016-06-23T16:03:12.000Z | 2022-03-31T09:25:08.000Z | /*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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
*
* h... | 34.402655 | 128 | 0.704952 | [
"vector"
] |
abf273d89df4455194ec6105c450b12bf9546bf1 | 1,120 | hpp | C++ | SDEngine/include/Utility/Transform.hpp | xubury/SDEngine | 31e44fc5c78ce6b8f0c3b128fd5e0158150590e8 | [
"BSD-3-Clause"
] | null | null | null | SDEngine/include/Utility/Transform.hpp | xubury/SDEngine | 31e44fc5c78ce6b8f0c3b128fd5e0158150590e8 | [
"BSD-3-Clause"
] | 4 | 2021-12-10T05:01:49.000Z | 2022-03-19T10:16:14.000Z | SDEngine/include/Utility/Transform.hpp | xubury/SDEngine | 31e44fc5c78ce6b8f0c3b128fd5e0158150590e8 | [
"BSD-3-Clause"
] | null | null | null | #ifndef SD_TRANSFORM_HPP
#define SD_TRANSFORM_HPP
#include "Utility/Base.hpp"
#include "Utility/Serialize.hpp"
#include "Utility/Math.hpp"
#include <set>
namespace SD {
class SD_UTILITY_API Transform {
public:
Transform();
virtual ~Transform() = default;
void SetPosition(const Vector3f& position);
... | 23.829787 | 65 | 0.726786 | [
"transform"
] |
abfa603b5847358915ebcdff8025d188a49b4cfe | 4,836 | cc | C++ | source/blender/nodes/geometry/nodes/node_geo_transform.cc | jinohschool/blender | 2f083f7eaabd5e699a0c08673e502ea8a274ac6c | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 1 | 2021-09-29T06:25:03.000Z | 2021-09-29T06:25:03.000Z | source/blender/nodes/geometry/nodes/node_geo_transform.cc | mmtt1998819/blender | c9c3bf983321990a6960c422e002a372c35a6f76 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | source/blender/nodes/geometry/nodes/node_geo_transform.cc | mmtt1998819/blender | c9c3bf983321990a6960c422e002a372c35a6f76 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 1 | 2021-01-08T06:33:25.000Z | 2021-01-08T06:33:25.000Z | /*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be use... | 33.123288 | 98 | 0.673284 | [
"mesh",
"geometry",
"transform"
] |
abfb16c1fd38671a22bf7a0fc05e277d51bcf989 | 24,402 | cpp | C++ | client/MarketByPriceHandler.cpp | yeeliu01/pyrfa | 536c94f1bcff232415495cbe04b8897ad91e0c76 | [
"MIT"
] | 33 | 2016-11-29T08:18:28.000Z | 2021-11-11T15:40:19.000Z | client/MarketByPriceHandler.cpp | yeeliu01/pyrfa | 536c94f1bcff232415495cbe04b8897ad91e0c76 | [
"MIT"
] | 41 | 2016-09-20T10:15:11.000Z | 2021-10-20T01:14:22.000Z | client/MarketByPriceHandler.cpp | devcartel/thomsonreuters | 536c94f1bcff232415495cbe04b8897ad91e0c76 | [
"MIT"
] | 9 | 2016-10-19T00:09:22.000Z | 2020-08-03T03:02:15.000Z | #include "common/RDMUtils.h"
#include "common/RDMDict.h"
#include "MarketByPriceHandler.h"
#include <boost/algorithm/string.hpp>
using namespace rfa::data;
MarketByPriceHandler::MarketByPriceHandler(rfa::sessionLayer::OMMConsumer* pOMMConsumer,
rfa::common::EventQueue& eventQue... | 47.474708 | 193 | 0.521187 | [
"object",
"vector"
] |
abfd135663367d48f0ce67f6238976b1e5ec93f2 | 7,012 | cxx | C++ | Utilities/itkCommandLineArgumentParser.cxx | jingtangliao/ff | d308fe62045e241a4822bb855df97ee087420d9b | [
"Apache-2.0"
] | 39 | 2015-01-01T07:59:51.000Z | 2021-10-01T18:11:46.000Z | Utilities/itkCommandLineArgumentParser.cxx | jingtangliao/ff | d308fe62045e241a4822bb855df97ee087420d9b | [
"Apache-2.0"
] | 1 | 2019-04-24T09:56:15.000Z | 2019-04-24T14:45:46.000Z | Utilities/itkCommandLineArgumentParser.cxx | jingtangliao/ff | d308fe62045e241a4822bb855df97ee087420d9b | [
"Apache-2.0"
] | 18 | 2015-01-11T15:10:23.000Z | 2022-02-24T20:02:10.000Z | #ifndef __itkCommandLineArgumentParser_cxx
#define __itkCommandLineArgumentParser_cxx
#include "itkCommandLineArgumentParser.h"
#include <limits>
namespace itk
{
/**
* ******************* Constructor *******************
*/
CommandLineArgumentParser
::CommandLineArgumentParser()
{
this->m_Argv.clear();
this->... | 22.619355 | 87 | 0.602396 | [
"vector"
] |
28007cbaed465fcdabb58d386c1ec0f5573f2249 | 982 | cpp | C++ | vol1/valid-parentheses/valid-parentheses.cpp | zeyuanxy/LeetCode | fab1b6ea07249d7024f37a8f4bbef9d397edc3ec | [
"MIT"
] | 3 | 2015-12-07T05:40:08.000Z | 2018-12-17T18:39:15.000Z | vol1/valid-parentheses/valid-parentheses.cpp | zeyuanxy/leet-code | fab1b6ea07249d7024f37a8f4bbef9d397edc3ec | [
"MIT"
] | null | null | null | vol1/valid-parentheses/valid-parentheses.cpp | zeyuanxy/leet-code | fab1b6ea07249d7024f37a8f4bbef9d397edc3ec | [
"MIT"
] | null | null | null | class Solution {
public:
int getValue(char c) {
switch(c) {
case '(' : return 1;
case ')' : return -1;
case '[' : return 2;
case ']' : return -2;
case '{' : return 3;
case '}' : return -3;
default:
return 0;
... | 25.179487 | 57 | 0.320774 | [
"vector"
] |
2800ec26511a0b6bb8e9485db5b2b949d6e1f02f | 2,533 | cpp | C++ | src/PoW/Cuckatoo.cpp | 1div0/GrinPlusPlus | 44ba6474b971cd39a96b7ad9742b23d3cb5334c9 | [
"MIT"
] | null | null | null | src/PoW/Cuckatoo.cpp | 1div0/GrinPlusPlus | 44ba6474b971cd39a96b7ad9742b23d3cb5334c9 | [
"MIT"
] | null | null | null | src/PoW/Cuckatoo.cpp | 1div0/GrinPlusPlus | 44ba6474b971cd39a96b7ad9742b23d3cb5334c9 | [
"MIT"
] | null | null | null | #include "Cuckatoo.h"
#include "Common.h"
#include <Crypto/Hasher.h>
// generate edge endpoint in cuck(at)oo graph without partition bit
word_t sipnode(siphash_keys* keys, word_t edge, u32 uorv, const word_t edgeMask)
{
siphash_state v(*keys);
v.hash24(2 * edge + uorv);
return v.xor_lanes() & edgeMask;
}
... | 28.144444 | 94 | 0.57047 | [
"vector"
] |
28023420fcace740864802e1bb378051b8059541 | 1,772 | hpp | C++ | sprout/algorithm/string/fixed/to_lower_copy.hpp | kevcadieux/Sprout | 6b5addba9face0a6403e66e7db2aa94d87387f61 | [
"BSL-1.0"
] | 691 | 2015-01-15T18:52:23.000Z | 2022-03-15T23:39:39.000Z | sprout/algorithm/string/fixed/to_lower_copy.hpp | kevcadieux/Sprout | 6b5addba9face0a6403e66e7db2aa94d87387f61 | [
"BSL-1.0"
] | 22 | 2015-03-11T01:22:56.000Z | 2021-03-29T01:51:45.000Z | sprout/algorithm/string/fixed/to_lower_copy.hpp | kevcadieux/Sprout | 6b5addba9face0a6403e66e7db2aa94d87387f61 | [
"BSL-1.0"
] | 57 | 2015-03-11T07:52:29.000Z | 2021-12-16T09:15:33.000Z | /*=============================================================================
Copyright (c) 2011-2019 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprout
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.tx... | 37.702128 | 88 | 0.67833 | [
"transform"
] |
280255230c8efb53f5f05c5c80808ca0cd0e9765 | 7,346 | inl | C++ | source/adios2/helper/adiosType.inl | gregorweiss/ADIOS2 | 25f91bb256ff004fccbe128dd9b0c584c3c674b3 | [
"ECL-2.0",
"Apache-2.0"
] | 190 | 2017-04-05T20:16:22.000Z | 2022-03-30T20:26:01.000Z | source/adios2/helper/adiosType.inl | gregorweiss/ADIOS2 | 25f91bb256ff004fccbe128dd9b0c584c3c674b3 | [
"ECL-2.0",
"Apache-2.0"
] | 1,514 | 2017-02-03T16:19:17.000Z | 2022-03-29T16:36:48.000Z | source/adios2/helper/adiosType.inl | gregorweiss/ADIOS2 | 25f91bb256ff004fccbe128dd9b0c584c3c674b3 | [
"ECL-2.0",
"Apache-2.0"
] | 114 | 2016-12-06T16:47:45.000Z | 2022-02-01T19:56:01.000Z | /*
* Distributed under the OSI-approved Apache License, Version 2.0. See
* accompanying file Copyright.txt for details.
*
* adiosType.inl implementation of template functions in adiosType.h
*
* Created on: May 17, 2017
* Author: William F Godoy godoywf@ornl.gov
*/
#ifndef ADIOS2_HELPER_ADIOSTYPE_INL_
#d... | 26.142349 | 80 | 0.534985 | [
"vector",
"transform"
] |
2806753e3f2c6e73a6eb771df8f59cdd8a4b66f3 | 1,844 | cpp | C++ | dataset/test/modification/1487_all/35/transformation_1.cpp | Karina5005/Plagiarism | ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb | [
"MIT"
] | 3 | 2022-02-15T00:29:39.000Z | 2022-03-15T08:36:44.000Z | dataset/test/modification/1487_all/35/transformation_1.cpp | Kira5005-code/Plagiarism | ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb | [
"MIT"
] | null | null | null | dataset/test/modification/1487_all/35/transformation_1.cpp | Kira5005-code/Plagiarism | ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb | [
"MIT"
] | null | null | null | #include <iomanip>
#include <iostream>
#include<bits/stdc++.h>
using namespace std;
#define int long long int
#define pb push_back
#define pp pop_back
#define fast ios_base::sync_with_stdio(false);cin.tie(0);cout.tie(0);
#define f0(i,a,n) for(i=a;i<n;i++)
#define f1(i,a,b) for(i=b;i<=a;i--)
#define all(v) sort... | 19.617021 | 70 | 0.506508 | [
"vector"
] |
2806e1ad0d7e55d2be4b78c437aa8a12ac3c735e | 256 | hpp | C++ | include/HouseRobberII.hpp | yanzhe-chen/LeetCode | d82f0b9721ea613ab216c78e7286671d0e9e4187 | [
"MIT"
] | 43 | 2015-10-10T12:59:52.000Z | 2018-07-11T18:07:00.000Z | include/HouseRobberII.hpp | yanzhe-chen/LeetCode | d82f0b9721ea613ab216c78e7286671d0e9e4187 | [
"MIT"
] | null | null | null | include/HouseRobberII.hpp | yanzhe-chen/LeetCode | d82f0b9721ea613ab216c78e7286671d0e9e4187 | [
"MIT"
] | 11 | 2015-10-10T14:41:11.000Z | 2018-07-28T06:03:16.000Z | #ifndef HOUSE_ROBBER_II_HPP_
#define HOUSE_ROBBER_II_HPP_
#include <vector>
using namespace std;
class HouseRobberII {
public:
int rob(vector<int> &nums);
private:
int helper(vector<int> &nums, int a, int b);
};
#endif // HOUSE_ROBBER_II_HPP_
| 15.058824 | 48 | 0.730469 | [
"vector"
] |
28106a99bbb965a05067b28eedf779aa0ac489bd | 95,459 | cpp | C++ | aws-cpp-sdk-cloudformation/source/CloudFormationClient.cpp | truthiswill/aws-sdk-cpp | 6e854b6a8bc7945f150c3a11551196bda341962a | [
"Apache-2.0"
] | 1 | 2022-02-10T08:06:54.000Z | 2022-02-10T08:06:54.000Z | aws-cpp-sdk-cloudformation/source/CloudFormationClient.cpp | truthiswill/aws-sdk-cpp | 6e854b6a8bc7945f150c3a11551196bda341962a | [
"Apache-2.0"
] | 1 | 2021-10-14T16:57:00.000Z | 2021-10-18T10:47:24.000Z | aws-cpp-sdk-cloudformation/source/CloudFormationClient.cpp | truthiswill/aws-sdk-cpp | 6e854b6a8bc7945f150c3a11551196bda341962a | [
"Apache-2.0"
] | 1 | 2021-11-09T12:02:58.000Z | 2021-11-09T12:02:58.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/core/utils/Outcome.h>
#include <aws/core/auth/AWSAuthSigner.h>
#include <aws/core/client/CoreErrors.h>
#include <aws/core/client/RetryStrategy.h>
#include <aws/core/http/HttpClient.h>
#i... | 54.299772 | 278 | 0.804324 | [
"model"
] |
281092ba902e24e704829b24647c47f6c7b66129 | 16,475 | hpp | C++ | include/morpheus/ADT/CommNetFactory.hpp | msurkovsky/morpheus | b938de5c5863f8fa08cd768576a08a6aa7d55e65 | [
"MIT"
] | 1 | 2019-08-16T11:01:00.000Z | 2019-08-16T11:01:00.000Z | include/morpheus/ADT/CommNetFactory.hpp | It4innovations/morpheus | b938de5c5863f8fa08cd768576a08a6aa7d55e65 | [
"MIT"
] | null | null | null | include/morpheus/ADT/CommNetFactory.hpp | It4innovations/morpheus | b938de5c5863f8fa08cd768576a08a6aa7d55e65 | [
"MIT"
] | 1 | 2019-08-16T11:00:56.000Z | 2019-08-16T11:00:56.000Z |
#ifndef COMM_NET_FACTORY_H
#define COMM_NET_FACTORY_H
#include "llvm/IR/DebugInfo.h"
#include "llvm/IR/DebugLoc.h"
#include "morpheus/Utils.hpp"
#include "morpheus/ADT/CommunicationNet.hpp"
#include <functional>
namespace cn {
using namespace llvm;
// -------------------------------------------------------------... | 31.928295 | 115 | 0.604127 | [
"vector"
] |
2810b24cb7a43a5e78323a2c2c79f5272c0cc219 | 18,976 | cpp | C++ | FreeBSD/contrib/llvm/tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp | TigerBSD/FreeBSD-Custom-ThinkPad | 3d092f261b362f73170871403397fc5d6b89d1dc | [
"0BSD"
] | 4 | 2016-08-22T22:02:55.000Z | 2017-03-04T22:56:44.000Z | FreeBSD/contrib/llvm/tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp | TigerBSD/FreeBSD-Custom-ThinkPad | 3d092f261b362f73170871403397fc5d6b89d1dc | [
"0BSD"
] | 21 | 2016-08-11T09:43:43.000Z | 2017-01-29T12:52:56.000Z | FreeBSD/contrib/llvm/tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp | TigerBSD/TigerBSD | 3d092f261b362f73170871403397fc5d6b89d1dc | [
"0BSD"
] | null | null | null | //===-- AppleObjCRuntime.cpp -------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===------------------------------------------------------... | 34.190991 | 126 | 0.607715 | [
"object",
"vector"
] |
2817e684072a965e95c1142240d21d10a6934fa7 | 21,332 | cpp | C++ | Source/Voxel/Private/VoxelRender/LODManager/VoxelRenderOctree.cpp | SolarStormInteractive/VoxelPlugin | b0b8a1838262227fa586fbcb1b46a6184cdf1e8c | [
"MIT"
] | null | null | null | Source/Voxel/Private/VoxelRender/LODManager/VoxelRenderOctree.cpp | SolarStormInteractive/VoxelPlugin | b0b8a1838262227fa586fbcb1b46a6184cdf1e8c | [
"MIT"
] | null | null | null | Source/Voxel/Private/VoxelRender/LODManager/VoxelRenderOctree.cpp | SolarStormInteractive/VoxelPlugin | b0b8a1838262227fa586fbcb1b46a6184cdf1e8c | [
"MIT"
] | null | null | null | // Copyright 2020 Phyronnaz
#include "VoxelRenderOctree.h"
#include "VoxelDebug/VoxelDebugManager.h"
#include "VoxelMessages.h"
#include "Async/Async.h"
DECLARE_DWORD_ACCUMULATOR_STAT(TEXT("Voxel Render Octrees Count"), STAT_VoxelRenderOctreesCount, STATGROUP_VoxelCounters);
DEFINE_VOXEL_MEMORY_STAT(STAT_Voxe... | 26.665 | 179 | 0.678933 | [
"render"
] |
2818ebedca8e5b09f30a6cfa636a7c686c9e6a1a | 4,015 | hpp | C++ | Code/PROJECT XYZ/Code/include/Engine/Graphics/View.hpp | SonarSystems/Project-XYZ | 428e270c49d76b4a029a6691e426f321da1c5d21 | [
"Unlicense"
] | 12 | 2020-11-23T08:00:49.000Z | 2021-07-10T23:48:52.000Z | Code/PROJECT XYZ/Code/include/Engine/Graphics/View.hpp | SonarSystems/Project-XYZ | 428e270c49d76b4a029a6691e426f321da1c5d21 | [
"Unlicense"
] | null | null | null | Code/PROJECT XYZ/Code/include/Engine/Graphics/View.hpp | SonarSystems/Project-XYZ | 428e270c49d76b4a029a6691e426f321da1c5d21 | [
"Unlicense"
] | 4 | 2020-12-01T16:42:34.000Z | 2021-06-10T16:33:29.000Z | #pragma once
#include "Core/Game.hpp"
namespace Sonar
{
class View
{
public:
/**
* \brief Default class constructor (creates a default view of 0, 0, 1000, 1000)
*
* \param data Game data object
*/
View( GameDataRef data );
View( GameDataRef data, const sf::View &vie... | 20.589744 | 99 | 0.620922 | [
"object",
"vector",
"transform"
] |
2819deeae6eefff3768834dc2a43348e5c61a795 | 3,769 | cc | C++ | third_party/tflite_support/src/tensorflow_lite_support/custom_ops/tflite_inference_main.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | third_party/tflite_support/src/tensorflow_lite_support/custom_ops/tflite_inference_main.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 113 | 2015-05-04T09:58:14.000Z | 2022-01-31T19:35:03.000Z | third_party/tflite_support/src/tensorflow_lite_support/custom_ops/tflite_inference_main.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | /* Copyright 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 law or a... | 35.556604 | 80 | 0.67047 | [
"vector",
"model"
] |
28209f981aafe507decee67d1204e47db8836ee2 | 5,580 | cpp | C++ | tesseract_process_managers/src/utils/task_info_statistics.cpp | tesseract-robotics/tesseract_planning | af95de9cbe841126a3f8d3ba774683cf20d223b3 | [
"BSD-3-Clause",
"BSD-2-Clause",
"Apache-2.0"
] | 5 | 2021-11-20T05:41:25.000Z | 2022-02-22T23:14:46.000Z | tesseract_process_managers/src/utils/task_info_statistics.cpp | tesseract-robotics/tesseract_planning | af95de9cbe841126a3f8d3ba774683cf20d223b3 | [
"BSD-3-Clause",
"BSD-2-Clause",
"Apache-2.0"
] | 50 | 2021-11-02T19:13:09.000Z | 2022-03-28T14:24:30.000Z | tesseract_process_managers/src/utils/task_info_statistics.cpp | tesseract-robotics/tesseract_planning | af95de9cbe841126a3f8d3ba774683cf20d223b3 | [
"BSD-3-Clause",
"BSD-2-Clause",
"Apache-2.0"
] | 5 | 2021-11-01T13:59:51.000Z | 2022-03-25T08:06:01.000Z | /**
* @file task_info_utils.cpp
* @brief Task Info Utils
*
* @author Matthew Powelson
* @date June 22. 2021
* @version TODO
* @bug No known bugs
*
* @par License
* Software License Agreement (Apache License)
* @par
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this fil... | 32.823529 | 117 | 0.677419 | [
"vector"
] |
2822003986b73ca8a05f098b65598cd182bfbdf7 | 1,005 | cpp | C++ | ICPC/Regional2022/F.cpp | CaDe27/Co-digos | 9eea1dbf6ed06fd115391328c0a2481029c83fc0 | [
"MIT"
] | null | null | null | ICPC/Regional2022/F.cpp | CaDe27/Co-digos | 9eea1dbf6ed06fd115391328c0a2481029c83fc0 | [
"MIT"
] | null | null | null | ICPC/Regional2022/F.cpp | CaDe27/Co-digos | 9eea1dbf6ed06fd115391328c0a2481029c83fc0 | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
#define endl "\n"
using namespace std;
#define loop(i, a, b) for(int i = a; i <b; ++i)
const int maxN = 3*1e5 + 5;
int n, arre[maxN];
vector<int> adj[maxN];
bool visited[maxN];
char resp[maxN];
void dfsB(int u, int fa){
visited[u] = true;
resp[u] = 'B';
for(int h : adj[u]){
... | 16.47541 | 63 | 0.481592 | [
"vector"
] |
282757cd9b165dfa7eb61be9287f97c4474c6402 | 47,716 | cpp | C++ | SampleProject/Builds/Il2CppOutputProject/Source/il2cppOutput/Il2CppGenericComDefinitions9.cpp | frenchmajorcsminor/MapsSDK-Unity | 0b3c0713d63279bd9fa62837fa7559d7f3cbd439 | [
"MIT"
] | null | null | null | SampleProject/Builds/Il2CppOutputProject/Source/il2cppOutput/Il2CppGenericComDefinitions9.cpp | frenchmajorcsminor/MapsSDK-Unity | 0b3c0713d63279bd9fa62837fa7559d7f3cbd439 | [
"MIT"
] | null | null | null | SampleProject/Builds/Il2CppOutputProject/Source/il2cppOutput/Il2CppGenericComDefinitions9.cpp | frenchmajorcsminor/MapsSDK-Unity | 0b3c0713d63279bd9fa62837fa7559d7f3cbd439 | [
"MIT"
] | null | null | null | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include <limits>
// Windows.Foundation.IAsyncOperation`1<Windows.Devices.Geolocation.GeolocationAccessStatus>
struct IAsyncOperation_1_t983C1FADD56063AA63BF0F974502D17BF40B25CB;
// Windows.Foundati... | 49.344364 | 348 | 0.865622 | [
"object"
] |
282ed1209367bf1f88a156945430fee079a1f83f | 1,863 | cc | C++ | src/service2/test-service.cc | entn-at/ASR-decoder | a679ffb20081581897e1783734ac609adfbc332d | [
"MIT"
] | 15 | 2017-12-14T08:23:50.000Z | 2022-03-28T06:37:30.000Z | src/service2/test-service.cc | entn-at/ASR-decoder | a679ffb20081581897e1783734ac609adfbc332d | [
"MIT"
] | 3 | 2019-07-08T05:38:14.000Z | 2020-09-25T05:29:14.000Z | src/service2/test-service.cc | entn-at/ASR-decoder | a679ffb20081581897e1783734ac609adfbc332d | [
"MIT"
] | 12 | 2018-03-28T02:15:47.000Z | 2022-03-28T07:03:35.000Z | #include <iostream>
#include <stdlib.h>
#include <netinet/in.h>
#include <sys/socket.h>
#include <netinet/tcp.h>
#include <unistd.h>
#include <error.h>
#include <netdb.h>
#include <sys/types.h>
#include <arpa/inet.h>
#include <string.h>
#include <pthread.h>
#include <assert.h>
#include <vector>
#include "src/service... | 19.010204 | 89 | 0.658615 | [
"vector"
] |
283382426d212af22c69e1e7d9bfbe2b2d339d62 | 1,525 | cpp | C++ | multiview/multiview_cpp/src/perceive/cost-functions/tracklets/tracks-index.cpp | prcvlabs/multiview | 1a03e14855292967ffb0c0ec7fff855c5abbc9d2 | [
"Apache-2.0"
] | 5 | 2021-09-03T23:12:08.000Z | 2022-03-04T21:43:32.000Z | multiview/multiview_cpp/src/perceive/cost-functions/tracklets/tracks-index.cpp | prcvlabs/multiview | 1a03e14855292967ffb0c0ec7fff855c5abbc9d2 | [
"Apache-2.0"
] | 3 | 2021-09-08T02:57:46.000Z | 2022-02-26T05:33:02.000Z | multiview/multiview_cpp/src/perceive/cost-functions/tracklets/tracks-index.cpp | prcvlabs/multiview | 1a03e14855292967ffb0c0ec7fff855c5abbc9d2 | [
"Apache-2.0"
] | 2 | 2021-09-26T03:14:40.000Z | 2022-01-26T06:42:52.000Z |
#include "tracks-index.hpp"
#define This TracksIndex
namespace perceive
{
// ------------------------------------------------------------------------ init
//
void This::init(const vector<Track>& tracks) noexcept
{
// Get the maximum 't' value from a path of any track
int max_t = -1;
for(const auto& tt : tra... | 27.727273 | 80 | 0.54623 | [
"vector"
] |
28351877d95ca4d637285bee93e8d3b566c86d58 | 30,923 | hpp | C++ | apps/dev/drawing.hpp | ShnitzelKiller/polyfit | 51ddc6365a794db1678459140658211cb78f65b1 | [
"MIT"
] | 27 | 2020-08-17T17:25:59.000Z | 2022-03-01T05:49:12.000Z | apps/dev/drawing.hpp | ShnitzelKiller/polyfit | 51ddc6365a794db1678459140658211cb78f65b1 | [
"MIT"
] | 4 | 2020-08-26T13:54:59.000Z | 2020-09-21T07:19:22.000Z | apps/dev/drawing.hpp | ShnitzelKiller/polyfit | 51ddc6365a794db1678459140658211cb78f65b1 | [
"MIT"
] | 5 | 2020-08-26T23:26:48.000Z | 2021-01-04T09:06:07.000Z | #ifndef POLYVEC_USE_POTRACE
#define POLYVEC_USE_POTRACE
#endif
#include "common_includes.hpp"
#include <polyvec/core/log.hpp>
#include <polyvec/polygon-tracer/boundary-graph.hpp>
#include <polyvec/core/types.hpp>
#include <polyvec/curve-tracer/curve_bezier.hpp>
#include <polyvec/geometry/smooth_curve.hpp>
#include <p... | 40.741765 | 163 | 0.528054 | [
"geometry",
"vector"
] |
2835af311a2b6c4d22cb83b52e631e77dfae235d | 6,060 | cpp | C++ | src/graph/Utils.cpp | seogi81/ComputeLibrary | 6653b538e8c515a58491952515a405077c685e0f | [
"MIT"
] | null | null | null | src/graph/Utils.cpp | seogi81/ComputeLibrary | 6653b538e8c515a58491952515a405077c685e0f | [
"MIT"
] | null | null | null | src/graph/Utils.cpp | seogi81/ComputeLibrary | 6653b538e8c515a58491952515a405077c685e0f | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2018-2020 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* deal in the Software without restriction, including without limitation the
* ri... | 31.727749 | 142 | 0.677558 | [
"shape",
"vector"
] |
283a329c863c90ac8d4e14dd6e4c352e42f6e5de | 3,036 | cxx | C++ | src/Cxx/Plotting/BoxChart.cxx | ajpmaclean/vtk-examples | 1a55fc8c6af67a3c07791807c7d1ec0ab97607a2 | [
"Apache-2.0"
] | 81 | 2020-08-10T01:44:30.000Z | 2022-03-23T06:46:36.000Z | src/Cxx/Plotting/BoxChart.cxx | ajpmaclean/vtk-examples | 1a55fc8c6af67a3c07791807c7d1ec0ab97607a2 | [
"Apache-2.0"
] | 2 | 2020-09-12T17:33:52.000Z | 2021-04-15T17:33:09.000Z | src/Cxx/Plotting/BoxChart.cxx | ajpmaclean/vtk-examples | 1a55fc8c6af67a3c07791807c7d1ec0ab97607a2 | [
"Apache-2.0"
] | 27 | 2020-08-17T07:09:30.000Z | 2022-02-15T03:44:58.000Z | #include <vtkAxis.h>
#include <vtkChartBox.h>
#include <vtkComputeQuartiles.h>
#include <vtkContextScene.h>
#include <vtkContextView.h>
#include <vtkIntArray.h>
#include <vtkLookupTable.h>
#include <vtkNew.h>
#include <vtkPlotBox.h>
#include <vtkRenderWindow.h>
#include <vtkRenderWindowInteractor.h>
#include <vtkRender... | 30.979592 | 78 | 0.626153 | [
"render"
] |
283d307200931f7bc47fe75fbf5cce75ed255463 | 77,676 | cpp | C++ | nn/common/CpuExecutor.cpp | cuiyanx/ml | 058328ae1893c0173923ba88c68fc72e18faa073 | [
"Apache-2.0"
] | null | null | null | nn/common/CpuExecutor.cpp | cuiyanx/ml | 058328ae1893c0173923ba88c68fc72e18faa073 | [
"Apache-2.0"
] | null | null | null | nn/common/CpuExecutor.cpp | cuiyanx/ml | 058328ae1893c0173923ba88c68fc72e18faa073 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2017 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 50.603257 | 100 | 0.497953 | [
"shape",
"vector",
"model"
] |
283e81224670c795dac9068246ff2cf09b244955 | 206 | cpp | C++ | source/Graph/Core/Series.Domain.cpp | FinIsOro/grapher | dfeabdf7bc25dbb3c45705bde2f5f645ba9cb2e6 | [
"MIT"
] | null | null | null | source/Graph/Core/Series.Domain.cpp | FinIsOro/grapher | dfeabdf7bc25dbb3c45705bde2f5f645ba9cb2e6 | [
"MIT"
] | null | null | null | source/Graph/Core/Series.Domain.cpp | FinIsOro/grapher | dfeabdf7bc25dbb3c45705bde2f5f645ba9cb2e6 | [
"MIT"
] | null | null | null | #include <Graph/Core/Series.hpp>
namespace graph
{
const std::vector<float>& Series::Domain::values() const
{
return _values;
}
size_t Series::Domain::length() const
{
return _values.size();
}
} | 14.714286 | 57 | 0.679612 | [
"vector"
] |
2844680c362dd60e23904054a9bb939e1c0730b0 | 2,792 | cpp | C++ | api/gmxapi/cpp/workflow/tests/workflow.cpp | hejamu/gromacs | 4f4b9e4b197ae78456faada74c9f4cab7d128de6 | [
"BSD-2-Clause"
] | 384 | 2015-01-02T19:44:15.000Z | 2022-03-27T15:13:15.000Z | api/gmxapi/cpp/workflow/tests/workflow.cpp | hejamu/gromacs | 4f4b9e4b197ae78456faada74c9f4cab7d128de6 | [
"BSD-2-Clause"
] | 9 | 2015-04-07T20:48:00.000Z | 2022-01-24T21:29:26.000Z | api/gmxapi/cpp/workflow/tests/workflow.cpp | hejamu/gromacs | 4f4b9e4b197ae78456faada74c9f4cab7d128de6 | [
"BSD-2-Clause"
] | 258 | 2015-01-19T11:19:57.000Z | 2022-03-18T08:59:52.000Z | /*
* This file is part of the GROMACS molecular simulation package.
*
* Copyright (c) 2018,2019,2020,2021, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at... | 32.465116 | 84 | 0.727794 | [
"object"
] |
28452eaaa5264b1ab6d78543590d0cf44bb1344c | 13,304 | hpp | C++ | Hakken/Pods/Realm/include-ios/tightdb/util/bind.hpp | ssathy2/Hakken | 3bef6400d08faf9a2b0f12a97c9d9272af6d6cf4 | [
"MIT"
] | 4 | 2015-06-17T20:26:08.000Z | 2015-07-02T02:10:12.000Z | Hakken/Pods/Realm/include-ios/tightdb/util/bind.hpp | ssathy2/Hakken | 3bef6400d08faf9a2b0f12a97c9d9272af6d6cf4 | [
"MIT"
] | null | null | null | Hakken/Pods/Realm/include-ios/tightdb/util/bind.hpp | ssathy2/Hakken | 3bef6400d08faf9a2b0f12a97c9d9272af6d6cf4 | [
"MIT"
] | null | null | null | /*************************************************************************
*
* TIGHTDB CONFIDENTIAL
* __________________
*
* [2011] - [2012] TightDB Inc
* All Rights Reserved.
*
* NOTICE: All information contained herein is, and remains
* the property of TightDB Incorporated and its suppliers,
* if any. T... | 24.820896 | 97 | 0.598918 | [
"object"
] |
28470664523efd2f2499f16b3db8060d17879be8 | 1,286 | cpp | C++ | getTimeOfDayClass.cpp | gampu/Practice | 455a686d3266dea6546401f4a1275f22106a44ce | [
"MIT"
] | null | null | null | getTimeOfDayClass.cpp | gampu/Practice | 455a686d3266dea6546401f4a1275f22106a44ce | [
"MIT"
] | null | null | null | getTimeOfDayClass.cpp | gampu/Practice | 455a686d3266dea6546401f4a1275f22106a44ce | [
"MIT"
] | null | null | null | #include<iostream>
#include<vector>
#include<string>
#include<algorithm>
#include<cstdlib>
#include<cassert>
#include<unistd.h>
#include<string.h>
#include<sys/time.h>
#include<fcntl.h>
#include<sys/utsname.h>
#include<sys/ioctl.h>
#include<sys/inotify.h>
#include<sched.h>
#include<signal.h>
#include<thread>
/* Practi... | 20.412698 | 71 | 0.594868 | [
"object",
"vector"
] |
2849b0720c9eabcfbfc0401083b5bf2352988400 | 798 | cpp | C++ | src/monte_carlo/distribution1d.cpp | Twinklebear/tray | eeb6dc930a3f81bb2abd74a41a4fb409a0e0865b | [
"MIT"
] | 61 | 2015-01-01T10:58:21.000Z | 2022-01-05T14:22:15.000Z | src/monte_carlo/distribution1d.cpp | Twinklebear/tray | eeb6dc930a3f81bb2abd74a41a4fb409a0e0865b | [
"MIT"
] | null | null | null | src/monte_carlo/distribution1d.cpp | Twinklebear/tray | eeb6dc930a3f81bb2abd74a41a4fb409a0e0865b | [
"MIT"
] | 3 | 2016-04-11T19:07:47.000Z | 2018-05-31T12:40:50.000Z | #include <cmath>
#include <algorithm>
#include "monte_carlo/distribution1d.h"
Distribution1D::Distribution1D(const std::vector<float> &fcn)
: function(fcn), cdf(function.size() + 1), integral(0)
{
//Compute the integral of the function
for (size_t i = 1; i < cdf.size(); ++i){
cdf[i] = cdf[i - 1] + function[i - 1]... | 28.5 | 101 | 0.660401 | [
"vector"
] |
284ae6ed2640397b24d322941d808509643b7b3a | 17,445 | cpp | C++ | Eudora71/Eudora/MimeStorage.cpp | dusong7/eudora-win | 850a6619e6b0d5abc770bca8eb5f3b9001b7ccd2 | [
"BSD-3-Clause-Clear"
] | 10 | 2018-05-23T10:43:48.000Z | 2021-12-02T17:59:48.000Z | Eudora71/Eudora/MimeStorage.cpp | dusong7/eudora-win | 850a6619e6b0d5abc770bca8eb5f3b9001b7ccd2 | [
"BSD-3-Clause-Clear"
] | 1 | 2019-03-19T03:56:36.000Z | 2021-05-26T18:36:03.000Z | Eudora71/Eudora/MimeStorage.cpp | evilneuro/eudora-win | 850a6619e6b0d5abc770bca8eb5f3b9001b7ccd2 | [
"BSD-3-Clause-Clear"
] | 11 | 2018-05-23T10:43:53.000Z | 2021-12-27T15:42:58.000Z | // MimeStorage.cpp
//
// Copyright (c) 1997-2000 by QUALCOMM, Incorporated
/* Copyright (c) 2016, Computer History Museum
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted (subject to
the limitations in the disclaimer below) provided that the foll... | 22.509677 | 129 | 0.69722 | [
"object"
] |
284b4e8a7ccaa1f8025a767001ece432f3b71c87 | 1,051 | cpp | C++ | src/tools/peg_t1.cpp | melton1968/cxx-peg | 512ad21685fc2c22f6cbd7324cbc02bb66aef687 | [
"MIT"
] | null | null | null | src/tools/peg_t1.cpp | melton1968/cxx-peg | 512ad21685fc2c22f6cbd7324cbc02bb66aef687 | [
"MIT"
] | null | null | null | src/tools/peg_t1.cpp | melton1968/cxx-peg | 512ad21685fc2c22f6cbd7324cbc02bb66aef687 | [
"MIT"
] | null | null | null | // Copyright (C) 2019, 2021 by Mark Melton
//
#include <fmt/format.h>
#include "core/tool.h"
#include "core/mp/mp.h"
#include "peg/peg.h"
#include "peg/expr/expr.h"
using namespace peg;
namespace mp = core::mp;
// struct Number : Range<'0','9'> {};
// struct Numbers : OneOrMore<Range<'0','9'>> {};
// struct Fact : ... | 20.211538 | 73 | 0.540438 | [
"vector"
] |
284e81a48fac7a5a65d4cc93a50ce2c39f678fad | 12,835 | cc | C++ | src/search_local/index_storage/rocksdb_helper/key_format.cc | jdisearch/isearch1 | 272bd4ab0dc82d9e33c8543474b1294569947bb3 | [
"Apache-2.0"
] | 3 | 2021-08-18T09:59:42.000Z | 2021-09-07T03:11:28.000Z | src/search_local/index_storage/rocksdb_helper/key_format.cc | jdisearch/isearch1 | 272bd4ab0dc82d9e33c8543474b1294569947bb3 | [
"Apache-2.0"
] | null | null | null | src/search_local/index_storage/rocksdb_helper/key_format.cc | jdisearch/isearch1 | 272bd4ab0dc82d9e33c8543474b1294569947bb3 | [
"Apache-2.0"
] | null | null | null |
/*
* =====================================================================================
*
* Filename: key_format.cc
*
* Description:
*
* Version: 1.0
* Created: 09/08/2020 10:02:05 PM
* Revision: none
* Compiler: gcc
*
* Author: Norton, yangshuang68@jd.... | 23.378871 | 122 | 0.651188 | [
"vector"
] |
28513d944f49866c7708a3b3c4ee9e958807d10d | 1,253 | cpp | C++ | UICPC/13/UICPC Round #13 (Div 1)/UICPC Round #13 (Div 1)/solutions/Problem G - Rainbow Road Race/rainbowroadrace2.cpp | MilladMuhammadi/Competitive-Programming | 9f84a2d2734a5efe0e1fde0062e51782cd5af2c6 | [
"MIT"
] | null | null | null | UICPC/13/UICPC Round #13 (Div 1)/UICPC Round #13 (Div 1)/solutions/Problem G - Rainbow Road Race/rainbowroadrace2.cpp | MilladMuhammadi/Competitive-Programming | 9f84a2d2734a5efe0e1fde0062e51782cd5af2c6 | [
"MIT"
] | null | null | null | UICPC/13/UICPC Round #13 (Div 1)/UICPC Round #13 (Div 1)/solutions/Problem G - Rainbow Road Race/rainbowroadrace2.cpp | MilladMuhammadi/Competitive-Programming | 9f84a2d2734a5efe0e1fde0062e51782cd5af2c6 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
// Rainbow Road Race
const int inf = INT_MAX;
const int maxn = 7 * 7 * 7 + 3;
map<char, int> mp{{'R', 0}, {'O', 1}, {'Y', 2},
{'G', 3}, {'V', 4}, {'B', 5}, {'I', 6}};
int n, m, dis[maxn][128+3];
vector<pair<int, pair<int, int>>> adj[maxn];
priority_queue... | 32.128205 | 117 | 0.468476 | [
"vector"
] |
28547e8f1b49a91a224d345b00373e895a8a7c33 | 3,150 | hpp | C++ | include/codegen/include/System/IOAsyncResult.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 1 | 2021-11-12T09:29:31.000Z | 2021-11-12T09:29:31.000Z | include/codegen/include/System/IOAsyncResult.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | null | null | null | include/codegen/include/System/IOAsyncResult.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 2 | 2021-10-03T02:14:20.000Z | 2021-11-12T09:29:36.000Z | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
#pragma pack(push, 8)
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
// Including type: System.IAsyncResult
#include "System/IAsyncResult.hpp"
... | 38.888889 | 103 | 0.728889 | [
"object"
] |
285e2cbbd9edace5050eaa066795c6341146750c | 8,970 | cpp | C++ | OpenGLSolution/BRDF/Source/Graphics/Core/Camera.cpp | AlfonsoLRz/BRDFMeasurements | 1c83db1dcd0e42d75422dec31486bfbf70df9112 | [
"MIT"
] | null | null | null | OpenGLSolution/BRDF/Source/Graphics/Core/Camera.cpp | AlfonsoLRz/BRDFMeasurements | 1c83db1dcd0e42d75422dec31486bfbf70df9112 | [
"MIT"
] | null | null | null | OpenGLSolution/BRDF/Source/Graphics/Core/Camera.cpp | AlfonsoLRz/BRDFMeasurements | 1c83db1dcd0e42d75422dec31486bfbf70df9112 | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "Camera.h"
#include "Geometry/3D/Vector3.h"
#include "Graphics/Core/OrthoProjection.h"
#include "Graphics/Core/PerspProjection.h"
// [ Static parameters initialization]
std::vector<std::shared_ptr<CameraProjection>> Camera::CAMERA_PROJECTION { std::shared_ptr<CameraProjection>(new PerspP... | 24.642857 | 166 | 0.685284 | [
"geometry",
"vector",
"3d"
] |
286062ce1ba74287f0c5cc7627fa83e584b2c471 | 5,425 | cpp | C++ | src/KOnexAPI.cpp | ctring/konex | 7bf55f68f9ddcba6e2007e9c8049899cdb707d69 | [
"MIT"
] | null | null | null | src/KOnexAPI.cpp | ctring/konex | 7bf55f68f9ddcba6e2007e9c8049899cdb707d69 | [
"MIT"
] | null | null | null | src/KOnexAPI.cpp | ctring/konex | 7bf55f68f9ddcba6e2007e9c8049899cdb707d69 | [
"MIT"
] | null | null | null | #include "KOnexAPI.hpp"
#include "Exception.hpp"
#include "GroupableTimeSeriesSet.hpp"
#include "distance/Distance.hpp"
#include <vector>
#include <iostream>
using std::string;
using std::vector;
namespace konex {
KOnexAPI::~KOnexAPI()
{
unloadAllDataset();
}
dataset_info_t KOnexAPI::loadDataset(const string& f... | 26.334951 | 136 | 0.694931 | [
"vector"
] |
286136d1f56a59870caf5f292637cb093831fe14 | 19,446 | cpp | C++ | examples/level_set/ex1/example.cpp | syam-s/IBAMR | b6502f2f818835961d103fd2a2827d9336e68640 | [
"BSD-3-Clause"
] | 2 | 2020-03-03T12:29:36.000Z | 2021-02-15T06:54:20.000Z | examples/level_set/ex1/example.cpp | syam-s/IBAMR | b6502f2f818835961d103fd2a2827d9336e68640 | [
"BSD-3-Clause"
] | null | null | null | examples/level_set/ex1/example.cpp | syam-s/IBAMR | b6502f2f818835961d103fd2a2827d9336e68640 | [
"BSD-3-Clause"
] | null | null | null | // ---------------------------------------------------------------------
//
// Copyright (c) 2017 - 2019 by the IBAMR developers
// All rights reserved.
//
// This file is part of IBAMR.
//
// IBAMR is free software and is distributed under the 3-clause BSD
// license. The full text of the license can be found in the f... | 49.861538 | 117 | 0.58845 | [
"vector"
] |
2862a6aab0362e8ac1a0c58bd704713b6c15c61c | 3,324 | cpp | C++ | Week 10-11/Cplus-fstream/fstreanIO.cpp | ToyVo/CSIIStout | c9b0f2adfa9eb60f078413c2a17f30b44d85059f | [
"MIT"
] | null | null | null | Week 10-11/Cplus-fstream/fstreanIO.cpp | ToyVo/CSIIStout | c9b0f2adfa9eb60f078413c2a17f30b44d85059f | [
"MIT"
] | null | null | null | Week 10-11/Cplus-fstream/fstreanIO.cpp | ToyVo/CSIIStout | c9b0f2adfa9eb60f078413c2a17f30b44d85059f | [
"MIT"
] | null | null | null | #include <iostream>
#include <fstream>
#include <string>
#include <stdlib.h>
using namespace std;
int readWrite(); // this function demonstreates reading and writing a file through an fstream object
int errorTest(); // This program demonstrates the return value of the stream object error testing member functions.
voi... | 23.244755 | 126 | 0.576414 | [
"object"
] |
286c605654d29918b3ac92e7d5514042b7118dce | 8,090 | cpp | C++ | Data Structures/van Emde Boas Tree.cpp | vzsky/Algorithms | e57558a2a51588957d395196024e06359861450f | [
"MIT"
] | 634 | 2015-02-25T15:30:26.000Z | 2022-03-27T15:34:19.000Z | Data Structures/van Emde Boas Tree.cpp | vzsky/Algorithms | e57558a2a51588957d395196024e06359861450f | [
"MIT"
] | 6 | 2016-10-18T13:58:18.000Z | 2021-04-28T17:21:07.000Z | Data Structures/van Emde Boas Tree.cpp | vzsky/Algorithms | e57558a2a51588957d395196024e06359861450f | [
"MIT"
] | 288 | 2015-04-21T07:01:00.000Z | 2022-03-25T22:42:42.000Z | /*
Petar 'PetarV' Velickovic
Data Structure: van Emde Boas Tree (vEB)
*/
#include <stdio.h>
#include <math.h>
#include <string.h>
#include <time.h>
#include <iostream>
#include <vector>
#include <list>
#include <string>
#include <algorithm>
#include <queue>
#include <stack>
#include <set>
#include <map>
#include <co... | 21.689008 | 95 | 0.378739 | [
"vector"
] |
286dd713ce496ebc0d18032b86e57abd33da977e | 47,879 | cpp | C++ | LayerManagerPlugins/Renderers/Graphic/src/WindowSystems/WaylandBaseWindowSystem.cpp | SanctuaryComponents/layer_management | d3927a6ae5e6c9230d55b6ba4195d434586521c1 | [
"Apache-2.0"
] | 1 | 2020-10-21T05:24:10.000Z | 2020-10-21T05:24:10.000Z | LayerManagerPlugins/Renderers/Graphic/src/WindowSystems/WaylandBaseWindowSystem.cpp | SanctuaryComponents/layer_management | d3927a6ae5e6c9230d55b6ba4195d434586521c1 | [
"Apache-2.0"
] | null | null | null | LayerManagerPlugins/Renderers/Graphic/src/WindowSystems/WaylandBaseWindowSystem.cpp | SanctuaryComponents/layer_management | d3927a6ae5e6c9230d55b6ba4195d434586521c1 | [
"Apache-2.0"
] | null | null | null | /***************************************************************************
*
* Copyright 2010, 2011 BMW Car IT GmbH
* Copyright (C) 2011 DENSO CORPORATION and Robert Bosch Car Multimedia Gmbh
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with th... | 33.458421 | 442 | 0.666618 | [
"render",
"object"
] |
287069f51104d1fb429b50680e6a5c9f3355c29e | 11,506 | cpp | C++ | src/polyDeformerWeights.cpp | yantor3d/polySymmetry | b41e2dde43148dd504e0055ee7deb04067baaef8 | [
"MIT"
] | 51 | 2017-01-29T07:59:37.000Z | 2022-03-12T06:52:28.000Z | src/polyDeformerWeights.cpp | sod462/polySymmetry | b41e2dde43148dd504e0055ee7deb04067baaef8 | [
"MIT"
] | null | null | null | src/polyDeformerWeights.cpp | sod462/polySymmetry | b41e2dde43148dd504e0055ee7deb04067baaef8 | [
"MIT"
] | 17 | 2017-01-29T07:39:14.000Z | 2022-03-28T15:38:50.000Z | /**
Copyright (c) 2017 Ryan Porter
You may use, distribute, or modify this code under the terms of the MIT license.
*/
#include <stdio.h>
#include <vector>
#include "parseArgs.h"
#include "polyDeformerWeights.h"
#include "polySymmetryNode.h"
#include "sceneCache.h"
#include "selection.h"
#include <maya/M... | 31.961111 | 142 | 0.705284 | [
"mesh",
"shape",
"vector"
] |
2876eee15aee8045de9dca8a7db58e9baae364be | 15,411 | cpp | C++ | kp2rig/src/KpMpii_27.cpp | mcengija/riggingtools | a9e725d3e4419da87f787ff6a0c67bfd28c8f1bb | [
"MIT"
] | 30 | 2020-06-20T10:58:44.000Z | 2022-03-07T16:41:35.000Z | kp2rig/src/KpMpii_27.cpp | mcengija/riggingtools | a9e725d3e4419da87f787ff6a0c67bfd28c8f1bb | [
"MIT"
] | 11 | 2020-09-15T19:05:20.000Z | 2021-09-14T16:46:37.000Z | kp2rig/src/KpMpii_27.cpp | mcengija/riggingtools | a9e725d3e4419da87f787ff6a0c67bfd28c8f1bb | [
"MIT"
] | 7 | 2020-07-03T05:49:27.000Z | 2021-09-07T18:33:36.000Z | #define _USE_MATH_DEFINES
#include <cmath>
#include <stdio.h>
#include <stdlib.h>
#include <string>
#include "KpMpii_27.hpp"
#include "KpToRigHelper.hpp"
#include "RigToKpHelper.hpp"
#include "KpHelper.hpp"
// Helper functions
Eigen::Vector3d GetTipOfFoot( const Eigen::Vector3d & bigToe,
const Eigen::Vector3d & sma... | 45.193548 | 183 | 0.693336 | [
"vector"
] |
2879414dc42ffe633ac74b51e1bb116698c41162 | 3,973 | hpp | C++ | include/mesos/docker/spec.hpp | em-mcg/cse223b-mesos | e7d0867d5bf67dbc28117f52babc73dd43d0bb4c | [
"Apache-2.0"
] | 2 | 2017-01-13T19:40:15.000Z | 2018-05-16T21:37:13.000Z | include/mesos/docker/spec.hpp | em-mcg/cse223b-mesos | e7d0867d5bf67dbc28117f52babc73dd43d0bb4c | [
"Apache-2.0"
] | 1 | 2022-01-17T12:25:46.000Z | 2022-01-17T12:25:46.000Z | include/mesos/docker/spec.hpp | em-mcg/cse223b-mesos | e7d0867d5bf67dbc28117f52babc73dd43d0bb4c | [
"Apache-2.0"
] | 1 | 2021-08-18T09:26:06.000Z | 2021-08-18T09:26:06.000Z | // Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may... | 31.531746 | 80 | 0.753083 | [
"object"
] |
287df24ec0b1256105e511a86e7125b289e069b8 | 3,688 | cpp | C++ | Computational Geometry/Sweep Line Algorithm/rectangle union.cpp | mniverthi/programming-templates | 96f89554eef2b3375493ed84e26b78eeaab4aaef | [
"MIT"
] | null | null | null | Computational Geometry/Sweep Line Algorithm/rectangle union.cpp | mniverthi/programming-templates | 96f89554eef2b3375493ed84e26b78eeaab4aaef | [
"MIT"
] | null | null | null | Computational Geometry/Sweep Line Algorithm/rectangle union.cpp | mniverthi/programming-templates | 96f89554eef2b3375493ed84e26b78eeaab4aaef | [
"MIT"
] | 1 | 2022-02-19T18:45:16.000Z | 2022-02-19T18:45:16.000Z | // Given N rectangles on a plane (they are all parallel to the axis), find the union area of all the rectangles
// Each rectangle is defined by two points (x1, y1) bottom left and (x2, y2) top right
// Problem link: https://cses.fi/problemset/task/1741/
// Idea: Sweep Line Algorithm (apply to 2 events simultaneous... | 34.792453 | 112 | 0.559653 | [
"vector"
] |
2886a9adcd0f06b1e921a21d59cc144d88e69e04 | 1,049 | hpp | C++ | Client/app/scenes/IntroScene.hpp | HadesD/Client-Server.CPP | c81cfb477f85563cc898693dc835fa2bf63b3f73 | [
"MIT"
] | 5 | 2017-09-15T01:38:13.000Z | 2021-01-09T12:01:14.000Z | Client/app/scenes/IntroScene.hpp | HadesD/Client-Server.CPP | c81cfb477f85563cc898693dc835fa2bf63b3f73 | [
"MIT"
] | 11 | 2017-08-29T09:16:49.000Z | 2021-09-22T16:46:45.000Z | Client/app/scenes/IntroScene.hpp | HadesD/Client-Server.CPP | c81cfb477f85563cc898693dc835fa2bf63b3f73 | [
"MIT"
] | 5 | 2017-09-01T12:40:46.000Z | 2022-03-14T18:48:04.000Z | #ifndef APP_SCENES_INTRO_SCENE_HPP
#define APP_SCENES_INTRO_SCENE_HPP
#include <functional>
#include <vector>
#include <map>
#include "app/Scene.hpp"
#include "app/input/Kbhit.hpp"
namespace app
{
namespace core
{
class Game;
}
}
namespace app { namespace scenes {
class IntroScene : public app::Scene
... | 16.919355 | 73 | 0.594852 | [
"vector"
] |
28876ca0866a0ee38d8b43180e253d5f98b504a7 | 3,351 | cpp | C++ | luogu/codes/SP10707.cpp | Tony031218/OI | 562f5f45d0448f4eab77643b99b825405a123d92 | [
"MIT"
] | 1 | 2021-02-22T03:39:24.000Z | 2021-02-22T03:39:24.000Z | luogu/codes/SP10707.cpp | Tony031218/OI | 562f5f45d0448f4eab77643b99b825405a123d92 | [
"MIT"
] | null | null | null | luogu/codes/SP10707.cpp | Tony031218/OI | 562f5f45d0448f4eab77643b99b825405a123d92 | [
"MIT"
] | null | null | null | /*************************************************************
* > File Name : SP10707.cpp
* > Author : Tony
* > Created Time : 2020/04/30 13:52:29
* > Algorithm :
**************************************************************/
#include <bits/stdc++.h>
using namespace std;
inline ... | 27.243902 | 93 | 0.411519 | [
"vector"
] |
2888dec311c2a54cb3fdd1991323898c170d23f3 | 5,522 | cpp | C++ | Ubuntu/tests/VCLTests.cpp | rifraf/quick_unit | 334a038b9c403c384564a5effe157d95a6a5d763 | [
"MIT"
] | 1 | 2015-07-14T15:45:42.000Z | 2015-07-14T15:45:42.000Z | Ubuntu/tests/VCLTests.cpp | rifraf/quick_unit | 334a038b9c403c384564a5effe157d95a6a5d763 | [
"MIT"
] | null | null | null | Ubuntu/tests/VCLTests.cpp | rifraf/quick_unit | 334a038b9c403c384564a5effe157d95a6a5d763 | [
"MIT"
] | null | null | null | #include "../code_under_test/vcl.h"
#include "../quick_unit.hpp"
#include "../quick_unit_netbeans.hpp"
//--------------------------------------------
DECLARE_SUITE(AnsiString Tests)
TEST(AnsiStrings can be created) {
assert(new AnsiString() != NULL, SHOULD(create empty AnsiString));
assert(new AnsiStri... | 31.19774 | 93 | 0.644151 | [
"3d"
] |
2889e63eba1e4ecd9b50d04980e2ac286f2a066b | 1,856 | cpp | C++ | Wangscape/noise/module/codecs/TranslatePointWrapperCodec.cpp | cheukyin699/Wangscape | b01cb310f97e33394c1c0fac23a7f40c34f632cf | [
"MIT"
] | 60 | 2016-12-30T03:18:34.000Z | 2022-02-15T21:43:59.000Z | Wangscape/noise/module/codecs/TranslatePointWrapperCodec.cpp | cheukyin699/Wangscape | b01cb310f97e33394c1c0fac23a7f40c34f632cf | [
"MIT"
] | 149 | 2016-12-29T19:38:36.000Z | 2017-10-29T18:19:51.000Z | Wangscape/noise/module/codecs/TranslatePointWrapperCodec.cpp | cheukyin699/Wangscape | b01cb310f97e33394c1c0fac23a7f40c34f632cf | [
"MIT"
] | 16 | 2016-12-31T06:09:42.000Z | 2021-09-10T05:34:51.000Z | #include "TranslatePointWrapperCodec.h"
namespace spotify
{
namespace json
{
using TranslatePointWrapper = noise::module::Wrapper<noise::module::TranslatePoint>;
codec::object_t<TranslatePointWrapper> default_codec_t<TranslatePointWrapper>::codec()
{
auto codec = codec::object<TranslatePointWrapper>();
... | 50.162162 | 122 | 0.609375 | [
"object"
] |
288a5418028a866c818ff03f75f02de5020988e2 | 1,270 | cpp | C++ | ds3runtime/hooks/lua_capture.cpp | tremwil/DS3RuntimeScripting | 50508bbf9295f87c459722ea3bea015c85a36de5 | [
"MIT"
] | 8 | 2021-06-05T21:59:53.000Z | 2022-02-03T10:00:09.000Z | ds3runtime/hooks/lua_capture.cpp | tremwil/DS3RuntimeScripting | 50508bbf9295f87c459722ea3bea015c85a36de5 | [
"MIT"
] | null | null | null | ds3runtime/hooks/lua_capture.cpp | tremwil/DS3RuntimeScripting | 50508bbf9295f87c459722ea3bea015c85a36de5 | [
"MIT"
] | 5 | 2021-05-17T19:49:29.000Z | 2022-02-26T11:00:29.000Z | /*
* DS3RuntimeScripting
* Contributers: Amir
*/
#pragma once
#include "pch.h"
#include "lua_capture.h"
#include "ds3runtime/ds3runtime.h"
namespace ds3runtime {
LuaCapture::LuaCapture()
: Hook(0x14112fcd0, (uintptr_t)onLuaGetTop, {}), mut(), cond()
{
instance = this;
this->luaStates = std::vector<lua_State*>()... | 23.518519 | 145 | 0.715748 | [
"vector"
] |
288dc03aae826f486cc132b92eb600f2860adca0 | 1,180 | cpp | C++ | array/mergeSortedArrays.cpp | auniquesun/Data-Structure-and-Algorithms | 10baee11e8e0ff84873d37e91a7b360e22a5d9a0 | [
"Apache-2.0"
] | 1 | 2018-05-09T03:12:06.000Z | 2018-05-09T03:12:06.000Z | array/mergeSortedArrays.cpp | auniquesun/Data-Structure-and-Algorithms | 10baee11e8e0ff84873d37e91a7b360e22a5d9a0 | [
"Apache-2.0"
] | null | null | null | array/mergeSortedArrays.cpp | auniquesun/Data-Structure-and-Algorithms | 10baee11e8e0ff84873d37e91a7b360e22a5d9a0 | [
"Apache-2.0"
] | 1 | 2021-04-23T13:37:41.000Z | 2021-04-23T13:37:41.000Z | /*
problem: 合并两个有序数组
给定两个有序整数数组 nums1 和 nums2,将 nums2 合并到 nums1 中,使得 num1 成为一个有序数组。
说明:
初始化 nums1 和 nums2 的元素数量分别为 m 和 n。
你可以假设 nums1 有足够的空间(空间大小大于或等于 m + n)来保存 nums2 中的元素。
示例:
输入:
nums1 = [1,2,3,0,0,0], m = 3
nums2 = [2,5,6], n = 3
输出: [1,2,2,3,5,6]
idea: 这道题看似非常简单,但是也有几个坑
1. nums1是引用传递,而且函数返回值为void,所以最终的操作... | 26.222222 | 84 | 0.527119 | [
"vector"
] |
288df604eae6bbc5a729e0abbaabe17b483e84d6 | 244 | cpp | C++ | AtCoder/abc208/b/main.cpp | H-Tatsuhiro/Com_Pro-Cpp | fd79f7821a76b11f4a6f83bbb26a034db577a877 | [
"MIT"
] | null | null | null | AtCoder/abc208/b/main.cpp | H-Tatsuhiro/Com_Pro-Cpp | fd79f7821a76b11f4a6f83bbb26a034db577a877 | [
"MIT"
] | 1 | 2021-10-19T08:47:23.000Z | 2022-03-07T05:23:56.000Z | AtCoder/abc208/b/main.cpp | H-Tatsuhiro/Com_Pro-Cpp | fd79f7821a76b11f4a6f83bbb26a034db577a877 | [
"MIT"
] | null | null | null | #include <iostream>
#include <cmath>
#include <algorithm>
#include <vector>
using namespace std;
int main() {
int p, ans = 0, q = 3628800; cin >> p;
for (int i = 10; i >= 1; i--) ans += p / q, p %= q, q /= i;
cout << ans << endl;
}
| 22.181818 | 63 | 0.540984 | [
"vector"
] |
288eb3bdcfaefffb882d39a3be67f5414011209b | 10,720 | cpp | C++ | src/UnfoldingEvaluator.cpp | BBrumback/Final_project_mesh_unfolder | 4fbb1f9b4e34f6061c87ae08dc0c4e7ab256cddc | [
"MIT"
] | 1 | 2021-04-23T09:11:23.000Z | 2021-04-23T09:11:23.000Z | src/UnfoldingEvaluator.cpp | BBrumback/Final_project_mesh_unfolder | 4fbb1f9b4e34f6061c87ae08dc0c4e7ab256cddc | [
"MIT"
] | null | null | null | src/UnfoldingEvaluator.cpp | BBrumback/Final_project_mesh_unfolder | 4fbb1f9b4e34f6061c87ae08dc0c4e7ab256cddc | [
"MIT"
] | null | null | null | /*
* UnfoldingEvaluator.cpp
*
* Created on: Feb 29, 2016
* Author: zxi
*/
#include "UnfoldingEvaluator.h"
#include <numeric>
#include "libga/Individual.h"
#include "unfolder.h"
#include "OverlappingChecker.h"
#include "util/UnfolderHelper.h"
#include "polygon/polygon.h"
#include "CurveMatching/img2ply.h"... | 33.188854 | 159 | 0.684795 | [
"shape",
"vector",
"model",
"transform"
] |
288f11cfd1ccc0224e585b3c8c53ef7d65eb850a | 1,876 | hh | C++ | PacEnv/EdmlDetector.hh | brownd1978/FastSim | 05f590d72d8e7f71856fd833114a38b84fc7fd48 | [
"Apache-2.0"
] | null | null | null | PacEnv/EdmlDetector.hh | brownd1978/FastSim | 05f590d72d8e7f71856fd833114a38b84fc7fd48 | [
"Apache-2.0"
] | null | null | null | PacEnv/EdmlDetector.hh | brownd1978/FastSim | 05f590d72d8e7f71856fd833114a38b84fc7fd48 | [
"Apache-2.0"
] | null | null | null | /* Class: EdmlDetector
*
* A top-level class representing an EDML detector
*/
#ifndef EdmlDetector_HH
#define EdmlDetector_HH
#include <string>
#include <vector>
class EdmlDetVolume;
class EdmlDetElement;
/// A top-level detector class of an EDML configuration
/**
* The class is a (potentially multi-layered) c... | 24.363636 | 78 | 0.640192 | [
"object",
"vector"
] |
288f4f129d61a243679457631b571d179db0a749 | 8,723 | cc | C++ | tensorflow/compiler/mlir/tensorflow/transforms/freeze_global_tensors.cc | zhupengyang/tensorflow | 584cd92f6a2ff3ba63e653e2e3d0c6f78e3d15eb | [
"Apache-2.0"
] | 2 | 2022-01-08T13:06:57.000Z | 2022-02-16T01:08:00.000Z | tensorflow/compiler/mlir/tensorflow/transforms/freeze_global_tensors.cc | zhupengyang/tensorflow | 584cd92f6a2ff3ba63e653e2e3d0c6f78e3d15eb | [
"Apache-2.0"
] | 19 | 2021-12-28T12:44:55.000Z | 2022-01-13T08:11:28.000Z | tensorflow/compiler/mlir/tensorflow/transforms/freeze_global_tensors.cc | zhupengyang/tensorflow | 584cd92f6a2ff3ba63e653e2e3d0c6f78e3d15eb | [
"Apache-2.0"
] | 1 | 2022-01-26T18:52:28.000Z | 2022-01-26T18:52:28.000Z | /* 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 law or a... | 37.437768 | 84 | 0.692308 | [
"vector",
"model"
] |
28930924d9077badbc788327de612a68c09968c3 | 3,945 | cc | C++ | mts/src/model/QueryMediaListByURLRequest.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 89 | 2018-02-02T03:54:39.000Z | 2021-12-13T01:32:55.000Z | mts/src/model/QueryMediaListByURLRequest.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 89 | 2018-03-14T07:44:54.000Z | 2021-11-26T07:43:25.000Z | mts/src/model/QueryMediaListByURLRequest.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 69 | 2018-01-22T09:45:52.000Z | 2022-03-28T07:58:38.000Z | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... | 33.432203 | 100 | 0.769582 | [
"model"
] |
80bfb072b853ffe9434e57f23d9be8714d2e244c | 5,563 | cpp | C++ | 3rdparty/openmm/platforms/cuda/tests/TestCudaSort.cpp | merkys/MMB | 0531385b8367405e1188e31c3eef7aa4cc50170b | [
"MIT"
] | 5 | 2020-07-31T17:33:03.000Z | 2022-01-01T19:24:37.000Z | 3rdparty/openmm/platforms/cuda/tests/TestCudaSort.cpp | merkys/MMB | 0531385b8367405e1188e31c3eef7aa4cc50170b | [
"MIT"
] | 11 | 2020-06-16T05:05:42.000Z | 2022-03-30T09:59:14.000Z | 3rdparty/openmm/platforms/cuda/tests/TestCudaSort.cpp | merkys/MMB | 0531385b8367405e1188e31c3eef7aa4cc50170b | [
"MIT"
] | 9 | 2020-01-24T12:02:37.000Z | 2020-10-16T06:23:56.000Z | /* -------------------------------------------------------------------------- *
* OpenMM *
* -------------------------------------------------------------------------- *
* This is part of the OpenMM molecular simulation toolkit originating from *
... | 40.904412 | 170 | 0.577926 | [
"vector"
] |
80c35d704374957008e893d4bcb709553478db20 | 8,465 | cpp | C++ | Testing/Operations/mafOpExporterVTKTest.cpp | breseight/MAF2 | 77b517b5450cc7fe82cb99c5bb23db89980e30e8 | [
"Apache-2.0"
] | 1 | 2021-05-10T19:01:10.000Z | 2021-05-10T19:01:10.000Z | Testing/Operations/mafOpExporterVTKTest.cpp | gradicosmo/MAF2 | 86ddf1f52a2de4479c09fd3f43dc321ff412af42 | [
"Apache-2.0"
] | null | null | null | Testing/Operations/mafOpExporterVTKTest.cpp | gradicosmo/MAF2 | 86ddf1f52a2de4479c09fd3f43dc321ff412af42 | [
"Apache-2.0"
] | null | null | null | /*=========================================================================
Program: MAF2
Module: mafOpExporterVTKTest
Authors: Matteo Giacomoni
Copyright (c) B3C
All rights reserved. See Copyright.txt or
http://www.scsitaly.com/Copyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; wi... | 29.089347 | 78 | 0.570585 | [
"mesh",
"vector"
] |
80c43963cd3f0b19c9b6124a6849435ac7ac4221 | 4,765 | cc | C++ | NS3-master/src/network/helper/simple-net-device-helper.cc | legendPerceptor/blockchain | 615ba331ae5ec53c683dfe6a16992a5181be0fea | [
"Apache-2.0"
] | 1 | 2021-09-20T07:05:25.000Z | 2021-09-20T07:05:25.000Z | NS3-master/src/network/helper/simple-net-device-helper.cc | legendPerceptor/blockchain | 615ba331ae5ec53c683dfe6a16992a5181be0fea | [
"Apache-2.0"
] | null | null | null | NS3-master/src/network/helper/simple-net-device-helper.cc | legendPerceptor/blockchain | 615ba331ae5ec53c683dfe6a16992a5181be0fea | [
"Apache-2.0"
] | 2 | 2021-09-02T08:25:16.000Z | 2022-01-03T08:48:38.000Z | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2014 Universita' di Firenze
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation;
*
* This progr... | 31.348684 | 142 | 0.703043 | [
"object"
] |
80c63aeed7a09e4806fb07b64561acaf908c3c57 | 3,147 | hpp | C++ | solver/include/beam_searcher.hpp | kurokoji/procon30-kyogi | 24fe6157772718d100e6658a94a78795853ce1b8 | [
"MIT"
] | 1 | 2019-10-29T23:34:40.000Z | 2019-10-29T23:34:40.000Z | solver/include/beam_searcher.hpp | kurokoji/procon30-kyogi | 24fe6157772718d100e6658a94a78795853ce1b8 | [
"MIT"
] | null | null | null | solver/include/beam_searcher.hpp | kurokoji/procon30-kyogi | 24fe6157772718d100e6658a94a78795853ce1b8 | [
"MIT"
] | null | null | null | #ifndef INCLUDE_BEAM_SEARCHER_HPP
#define INCLUDE_BEAM_SEARCHER_HPP
#include <algorithm>
#include <iostream>
#include <memory>
#include <vector>
#include <color.hpp>
#include <types.hpp>
#include <util/state_visualize.hpp>
namespace procon30 {
template <typename state_type, size_t beam_width>
class beam_searcher {
p... | 31.47 | 118 | 0.618684 | [
"vector"
] |
80c82f660461e15425c158f735a2a541dfbbc6c9 | 19,092 | hpp | C++ | tools/framework/config.hpp | kinmantam/oopt-tai | 34bb7026b5e15ee0b34ae6c1c1bd380a79c4bc01 | [
"BSD-3-Clause"
] | null | null | null | tools/framework/config.hpp | kinmantam/oopt-tai | 34bb7026b5e15ee0b34ae6c1c1bd380a79c4bc01 | [
"BSD-3-Clause"
] | null | null | null | tools/framework/config.hpp | kinmantam/oopt-tai | 34bb7026b5e15ee0b34ae6c1c1bd380a79c4bc01 | [
"BSD-3-Clause"
] | null | null | null | #ifndef __TAI_FRAMEWORK_CONFIG_HPP__
#define __TAI_FRAMEWORK_CONFIG_HPP__
#include "tai.h"
#include "taimetadata.h"
#include <map>
#include <set>
#include <vector>
#include <cstring>
#include <algorithm>
#include <functional>
#include <mutex>
#include "attribute.hpp"
#include "fsm.hpp"
#include "logger.hpp"
namespac... | 46.227603 | 323 | 0.522523 | [
"vector",
"transform"
] |
80ca0c8a72c7a3509467b685d053a6d6cd669dde | 1,112 | cpp | C++ | src/Data.cpp | It4innovations/PTDR | facb1ee43a68028379c41c231776e87f82eabc27 | [
"BSD-3-Clause"
] | 1 | 2019-03-13T13:52:46.000Z | 2019-03-13T13:52:46.000Z | src/Data.cpp | It4innovations/PTDR | facb1ee43a68028379c41c231776e87f82eabc27 | [
"BSD-3-Clause"
] | null | null | null | src/Data.cpp | It4innovations/PTDR | facb1ee43a68028379c41c231776e87f82eabc27 | [
"BSD-3-Clause"
] | null | null | null | #include <map>
#include <regex>
#include "Data.h"
#include "CSVReader.h"
#define PROFILE_FILE_NAME_SEP "_"
void
Routing::Data::WriteResultAll(std::vector<float> &result, const std::string &file, int samples, float secondInterval) {
std::ofstream rfile(file);
int intervalsPerDay = 86400 / secondInterval;
/... | 27.121951 | 119 | 0.507194 | [
"vector"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.