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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
208a6418849ba7780a693642378796fa0817b791 | 3,425 | cc | C++ | src/developer/forensics/feedback_data/annotations/channel_provider.cc | allansrc/fuchsia | a2c235b33fc4305044d496354a08775f30cdcf37 | [
"BSD-2-Clause"
] | 210 | 2019-02-05T12:45:09.000Z | 2022-03-28T07:59:06.000Z | src/developer/forensics/feedback_data/annotations/channel_provider.cc | allansrc/fuchsia | a2c235b33fc4305044d496354a08775f30cdcf37 | [
"BSD-2-Clause"
] | 5 | 2019-12-04T15:13:37.000Z | 2020-02-19T08:11:38.000Z | src/developer/forensics/feedback_data/annotations/channel_provider.cc | allansrc/fuchsia | a2c235b33fc4305044d496354a08775f30cdcf37 | [
"BSD-2-Clause"
] | 73 | 2019-03-06T18:55:23.000Z | 2022-03-26T12:04:51.000Z | // Copyright 2019 The Fuchsia 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 "src/developer/forensics/feedback_data/annotations/channel_provider.h"
#include "src/developer/forensics/feedback_data/annotations/types.h"
#incl... | 40.294118 | 99 | 0.674453 | [
"vector"
] |
208be7a9e19c659c3b4b6896989fe5e02ec18d67 | 5,158 | cc | C++ | src/RunManager.cc | omar-moreno/simulation-formerly-known-as-slic | 331d0452d05762e2f4554f0ace6fe46922a7333c | [
"BSD-3-Clause-LBNL"
] | null | null | null | src/RunManager.cc | omar-moreno/simulation-formerly-known-as-slic | 331d0452d05762e2f4554f0ace6fe46922a7333c | [
"BSD-3-Clause-LBNL"
] | null | null | null | src/RunManager.cc | omar-moreno/simulation-formerly-known-as-slic | 331d0452d05762e2f4554f0ace6fe46922a7333c | [
"BSD-3-Clause-LBNL"
] | null | null | null | // SLIC
#include "RunManager.hh"
#include "EventAction.hh"
#include "EventSourceManager.hh"
#include "ModuleRegistry.hh"
#include "PhysicsListManager.hh"
#include "PluginMessenger.hh"
#include "PrimaryGeneratorAction.hh"
#include "RunAction.hh"
#include "SlicApplication.hh"
#include "StackingAction.hh"
#include "Stepp... | 32.440252 | 79 | 0.722567 | [
"geometry"
] |
208fb200b13b0b4b0d494139417f3ea2275ea24a | 453 | cc | C++ | 3rdPartLib/DBow3/utils/bin_vocabulary.cc | mfkiwl/FLVIS | 7472fef6fbc6cfc1e2c0de5dd1d0a7ae5462f689 | [
"BSD-2-Clause"
] | 113 | 2020-10-18T12:35:16.000Z | 2022-03-29T06:08:49.000Z | 3rdPartLib/DBow3/utils/bin_vocabulary.cc | JazzyFeng/FLVIS-gpu | 74dd8a136d1923592d2ca74d2408cc2c3bbb8c7b | [
"BSD-2-Clause"
] | 9 | 2020-07-04T07:54:57.000Z | 2022-02-17T06:37:33.000Z | 3rdPartLib/DBow3/utils/bin_vocabulary.cc | JazzyFeng/FLVIS-gpu | 74dd8a136d1923592d2ca74d2408cc2c3bbb8c7b | [
"BSD-2-Clause"
] | 29 | 2021-01-11T13:04:53.000Z | 2022-03-29T06:08:50.000Z | //Second step,creates the vocabulary from the set of features. It can be slow
#include <iostream>
#include <vector>
// DBoW3
#include "DBoW3.h"
// OpenCV
#include <opencv2/core/core.hpp>
using namespace DBoW3;
using namespace std;
// ----------------------------------------------------------------------------
int ... | 16.178571 | 79 | 0.565121 | [
"vector"
] |
209719f28ed545b1fa4dc1cfdf4fefcda8fd99bb | 570 | cpp | C++ | examples/custom-type/Main.cpp | wnewbery/cpp-slim | c7087294b55db5d7ca846438ebddfaec395d1a12 | [
"MIT"
] | 3 | 2017-12-24T23:35:04.000Z | 2019-03-16T09:35:46.000Z | examples/custom-type/Main.cpp | wnewbery/cpp-slim | c7087294b55db5d7ca846438ebddfaec395d1a12 | [
"MIT"
] | 98 | 2016-07-01T14:55:03.000Z | 2020-03-13T14:12:49.000Z | examples/custom-type/Main.cpp | wnewbery/cpp-slim | c7087294b55db5d7ca846438ebddfaec395d1a12 | [
"MIT"
] | 2 | 2019-04-03T12:16:14.000Z | 2020-03-13T14:13:25.000Z | #include <slim/Template.hpp>
#include "Vector2.hpp"
#include <fstream>
int main()
{
auto model = slim::create_view_model();
model->add_constant("Vector2", slim::create_object<slim::SimpleClass<Vector2>>());
model->set_attr("pos", slim::create_object<Vector2>(50, 30));
model->set_attr("move", slim::crea... | 28.5 | 86 | 0.661404 | [
"render",
"model"
] |
209905a106572f5d2be442ffa11c1de08edc97f8 | 19,935 | hpp | C++ | cell_based/test/tutorial/Dom/TestCylindricalCryptLiteratePaper.hpp | DGermano8/ChasteDom | 539a3a811698214c0938489b0cfdffd1abccf667 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | cell_based/test/tutorial/Dom/TestCylindricalCryptLiteratePaper.hpp | DGermano8/ChasteDom | 539a3a811698214c0938489b0cfdffd1abccf667 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | cell_based/test/tutorial/Dom/TestCylindricalCryptLiteratePaper.hpp | DGermano8/ChasteDom | 539a3a811698214c0938489b0cfdffd1abccf667 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | #ifndef TESTCYLINDRICALCRYPTLITERATEPAPER_HPP_
#define TESTCYLINDRICALCRYPTLITERATEPAPER_HPP_
/*
* = Proliferation Example =
*
* On this wiki page we describe in detail the code that is used to run this example from the paper.
*
* The easiest way to visualize these simulations is with Paraview.
*
* [[EmbedYou... | 39.553571 | 218 | 0.708202 | [
"mesh",
"vector",
"model",
"solid"
] |
20997716d0914d2dd1e601ced14936822c4d24b4 | 940 | cpp | C++ | modules/keypoints/src/uniform_sampling_extractor.cpp | ToMadoRe/v4r | 7cb817e05cb9d99cb2f68db009c27d7144d07f09 | [
"MIT"
] | 17 | 2015-11-16T14:21:10.000Z | 2020-11-09T02:57:33.000Z | modules/keypoints/src/uniform_sampling_extractor.cpp | ToMadoRe/v4r | 7cb817e05cb9d99cb2f68db009c27d7144d07f09 | [
"MIT"
] | 35 | 2015-07-27T15:04:43.000Z | 2019-08-22T10:52:35.000Z | modules/keypoints/src/uniform_sampling_extractor.cpp | ToMadoRe/v4r | 7cb817e05cb9d99cb2f68db009c27d7144d07f09 | [
"MIT"
] | 18 | 2015-08-06T09:26:27.000Z | 2020-09-03T01:31:00.000Z | #include <v4r/keypoints/uniform_sampling_extractor.h>
#include <pcl_1_8/keypoints/impl/uniform_sampling.hpp>
namespace v4r
{
template<typename PointT>
void
UniformSamplingExtractor<PointT>::compute ()
{
pcl_1_8::UniformSampling<PointT> us;
us.setRadiusSearch ( param_.sampling_density_ );
us.setInputCloud ... | 28.484848 | 80 | 0.723404 | [
"vector"
] |
209c9b921ca1fbad3c4f6b5bd5b55d35e9ed47b6 | 4,201 | cpp | C++ | src/logging_term.cpp | kris-brown/smt-switch | f7fd018eea079dbd05eebf10ac7cc1db146568b0 | [
"BSD-3-Clause"
] | null | null | null | src/logging_term.cpp | kris-brown/smt-switch | f7fd018eea079dbd05eebf10ac7cc1db146568b0 | [
"BSD-3-Clause"
] | null | null | null | src/logging_term.cpp | kris-brown/smt-switch | f7fd018eea079dbd05eebf10ac7cc1db146568b0 | [
"BSD-3-Clause"
] | null | null | null | /********************* */
/*! \file logging_term.cpp
** \verbatim
** Top contributors (to current version):
** Makai Mann
** This file is part of the smt-switch project.
** Copyright (c) 2020 by the authors listed in the file AUTHORS
** in the top-level source di... | 22.586022 | 80 | 0.661033 | [
"object"
] |
20a10b0da9d7d9ad3fe90672777608c538724770 | 5,731 | cc | C++ | chromecast/browser/audio_socket_broker_unittest.cc | chromium/chromium | df46e572c3449a4b108d6e02fbe4f6d24cf98381 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | chromecast/browser/audio_socket_broker_unittest.cc | chromium/chromium | df46e572c3449a4b108d6e02fbe4f6d24cf98381 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 86 | 2015-10-21T13:02:42.000Z | 2022-03-14T07:50:50.000Z | chromecast/browser/audio_socket_broker_unittest.cc | chromium/chromium | df46e572c3449a4b108d6e02fbe4f6d24cf98381 | [
"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 2021 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 "chromecast/browser/audio_socket_broker.h"
#include <fcntl.h>
#include <sys/socket.h>
#include <cstring>
#include <memory>
#include <string>
#i... | 35.159509 | 80 | 0.714012 | [
"vector"
] |
20a3202eb4f20d9d46650cffdfe167af68a4a3a0 | 6,309 | hpp | C++ | src/librtmp/sps_librtmp_packet.hpp | byrcoder/sps | 20c910f6f3a2784f7bbab316d8a4049076650286 | [
"MIT"
] | 8 | 2021-06-13T18:15:27.000Z | 2022-02-05T07:39:58.000Z | src/librtmp/sps_librtmp_packet.hpp | byrcoder/sps | 20c910f6f3a2784f7bbab316d8a4049076650286 | [
"MIT"
] | 4 | 2021-06-12T20:06:44.000Z | 2022-02-05T08:22:08.000Z | src/librtmp/sps_librtmp_packet.hpp | byrcoder/sps | 20c910f6f3a2784f7bbab316d8a4049076650286 | [
"MIT"
] | 1 | 2022-02-21T00:58:31.000Z | 2022-02-21T00:58:31.000Z | /*****************************************************************************
MIT License
Copyright (c) 2021 byrcoder
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, includin... | 25.962963 | 84 | 0.725472 | [
"object"
] |
20a46c8aa9c2e621255a659cf04eb0ca3c1ce3d2 | 58,847 | cc | C++ | source/gpu_perf_api_common/gpu_perf_api.cc | AdamJMiles/gpu_performance_api | 7bd0c8b484b2a658610581e2e48b615606130fdc | [
"MIT"
] | 61 | 2020-03-17T12:30:11.000Z | 2022-03-01T18:59:11.000Z | source/gpu_perf_api_common/gpu_perf_api.cc | AdamJMiles/gpu_performance_api | 7bd0c8b484b2a658610581e2e48b615606130fdc | [
"MIT"
] | 12 | 2020-03-24T15:46:54.000Z | 2022-01-08T02:03:31.000Z | source/gpu_perf_api_common/gpu_perf_api.cc | AdamJMiles/gpu_performance_api | 7bd0c8b484b2a658610581e2e48b615606130fdc | [
"MIT"
] | 19 | 2020-03-16T17:32:09.000Z | 2022-03-29T23:35:31.000Z | //==============================================================================
// Copyright (c) 2010-2021 Advanced Micro Devices, Inc. All rights reserved.
/// @author AMD Developer Tools Team
/// @file
/// @brief This file contains the main entry points into GPA.
//===================================================... | 35.795012 | 159 | 0.653933 | [
"object"
] |
20af606a24ac00f762c09fd0a660abc2cc2ffdeb | 615 | cpp | C++ | src/digraph.cpp | spupyrev/bob | 75fc9cedee58108cd9fcdcc4dc20bd12301f6fc0 | [
"MIT"
] | null | null | null | src/digraph.cpp | spupyrev/bob | 75fc9cedee58108cd9fcdcc4dc20bd12301f6fc0 | [
"MIT"
] | null | null | null | src/digraph.cpp | spupyrev/bob | 75fc9cedee58108cd9fcdcc4dc20bd12301f6fc0 | [
"MIT"
] | null | null | null | #include "common.h"
#include "logging.h"
#include "glucoseMain.h"
#include "sat_model.h"
#include <algorithm>
#include <vector>
using namespace std;
void encodeDirectedConstraints(SATModel& model, InputGraph& inputGraph, Params& params) {
CHECK(inputGraph.edges.size() == inputGraph.direction.size(), "no edge direc... | 27.954545 | 89 | 0.702439 | [
"vector",
"model"
] |
20b09b96249b2f313c1fb387fa3d5795cf1f36f2 | 8,172 | cpp | C++ | Samples/Win7Samples/multimedia/DirectWrite/TextDialogSample/winmain.cpp | windows-development/Windows-classic-samples | 96f883e4c900948e39660ec14a200a5164a3c7b7 | [
"MIT"
] | 8 | 2017-04-30T17:38:27.000Z | 2021-11-29T00:59:03.000Z | Samples/Win7Samples/multimedia/DirectWrite/TextDialogSample/winmain.cpp | TomeSq/Windows-classic-samples | 96f883e4c900948e39660ec14a200a5164a3c7b7 | [
"MIT"
] | null | null | null | Samples/Win7Samples/multimedia/DirectWrite/TextDialogSample/winmain.cpp | TomeSq/Windows-classic-samples | 96f883e4c900948e39660ec14a200a5164a3c7b7 | [
"MIT"
] | 2 | 2020-08-11T13:21:49.000Z | 2021-09-01T10:41:51.000Z |
/************************************************************************
*
* File: winmain.cpp
*
* Description:
*
*
* This file is part of the Microsoft Windows SDK Code Samples.
*
* Copyright (C) Microsoft Corporation. All rights reserved.
*
* This source code is intended only as a sup... | 32.951613 | 116 | 0.549437 | [
"object"
] |
20b720b720b41e1a9abf22f825cfd2cc42bd1b13 | 323 | hpp | C++ | src/audio/sequencer.hpp | kounoike/hisui | 7dca5cf4fedfdcf9320a1299ed61f16ee6a3a3ce | [
"Apache-2.0"
] | 31 | 2020-09-25T06:48:51.000Z | 2022-03-23T10:34:19.000Z | src/audio/sequencer.hpp | kounoike/hisui | 7dca5cf4fedfdcf9320a1299ed61f16ee6a3a3ce | [
"Apache-2.0"
] | 17 | 2021-01-13T04:07:21.000Z | 2021-11-25T01:58:25.000Z | src/audio/sequencer.hpp | kounoike/hisui | 7dca5cf4fedfdcf9320a1299ed61f16ee6a3a3ce | [
"Apache-2.0"
] | 2 | 2022-02-19T14:42:41.000Z | 2022-03-08T10:47:51.000Z | #pragma once
#include <cstdint>
#include <utility>
#include <vector>
namespace hisui::audio {
class Sequencer {
public:
virtual ~Sequencer() = default;
virtual void getSamples(std::vector<std::pair<std::int16_t, std::int16_t>>*,
const std::uint64_t) = 0;
};
} // namespace hisui::aud... | 17.944444 | 78 | 0.637771 | [
"vector"
] |
20cbf3dffcb1603b1e6c8d69520d441c9c80ad66 | 6,337 | cc | C++ | paddle/phi/core/string_tensor.cc | L-Net-1992/Paddle | 4d0ca02ba56760b456f3d4b42a538555b9b6c307 | [
"Apache-2.0"
] | 11 | 2016-08-29T07:43:26.000Z | 2016-08-29T07:51:24.000Z | paddle/phi/core/string_tensor.cc | L-Net-1992/Paddle | 4d0ca02ba56760b456f3d4b42a538555b9b6c307 | [
"Apache-2.0"
] | null | null | null | paddle/phi/core/string_tensor.cc | L-Net-1992/Paddle | 4d0ca02ba56760b456f3d4b42a538555b9b6c307 | [
"Apache-2.0"
] | 1 | 2021-12-09T08:59:17.000Z | 2021-12-09T08:59:17.000Z | /* Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or... | 32.497436 | 79 | 0.646678 | [
"shape"
] |
20cd1010e89786d8d99882040f3788342124c6eb | 8,428 | cpp | C++ | solver/solve.cpp | huzecong/FlowFree | 030c48600691193e1c4d684133b51d9499586f8c | [
"MIT"
] | 78 | 2015-08-30T10:16:34.000Z | 2022-03-11T20:40:47.000Z | solver/solve.cpp | huzecong/FlowFree | 030c48600691193e1c4d684133b51d9499586f8c | [
"MIT"
] | 1 | 2018-01-20T08:37:57.000Z | 2018-01-20T08:37:57.000Z | solver/solve.cpp | huzecong/FlowFree | 030c48600691193e1c4d684133b51d9499586f8c | [
"MIT"
] | 17 | 2015-09-01T09:32:22.000Z | 2022-03-19T18:41:06.000Z | //Template
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <algorithm>
#include <climits>
#include <cmath>
#include <utility>
#include <set>
#include <map>
#include <queue>
#include <ios>
#include <iomanip>
#include <ctime>
#include <numeric>
#include <functional>
#include <fstream>... | 26.092879 | 140 | 0.476626 | [
"vector"
] |
20cdab8c775326ec9de2afa3caf1985a919dbabf | 28,104 | cpp | C++ | YappyCam/pic_dlg.cpp | katahiromz/YappyCam | 92325738a8f6987db04061ba9c515a9437e7a0ff | [
"BSD-3-Clause"
] | 7 | 2019-09-16T14:19:44.000Z | 2020-02-02T11:49:17.000Z | YappyCam/pic_dlg.cpp | katahiromz/YappyCam | 92325738a8f6987db04061ba9c515a9437e7a0ff | [
"BSD-3-Clause"
] | 6 | 2019-10-24T12:52:05.000Z | 2019-12-14T13:19:37.000Z | YappyCam/pic_dlg.cpp | katahiromz/YappyCam | 92325738a8f6987db04061ba9c515a9437e7a0ff | [
"BSD-3-Clause"
] | 5 | 2019-10-21T06:02:53.000Z | 2021-01-14T21:08:05.000Z | #define _CRT_SECURE_NO_WARNINGS
#include "YappyCam.hpp"
#include "SetDlgItemDouble.h"
////////////////////////////////////////////////////////////////////////////
// monitor info
static std::vector<MONITORINFO> s_monitors;
static MONITORINFO s_primary;
static BOOL DoGetMonitors(void)
{
return DoGetMonitorsEx(s_m... | 25.228007 | 94 | 0.588528 | [
"vector"
] |
20d145b0398edcbb59ad39f4547c15121c20f4b8 | 256,101 | hpp | C++ | cisco-ios-xr/ydk/models/cisco_ios_xr/fragmented/Cisco_IOS_XR_ipv4_bgp_oper_67.hpp | CiscoDevNet/ydk-cpp | ef7d75970f2ef1154100e0f7b0a2ee823609b481 | [
"ECL-2.0",
"Apache-2.0"
] | 17 | 2016-12-02T05:45:49.000Z | 2022-02-10T19:32:54.000Z | cisco-ios-xr/ydk/models/cisco_ios_xr/fragmented/Cisco_IOS_XR_ipv4_bgp_oper_67.hpp | CiscoDevNet/ydk-cpp | ef7d75970f2ef1154100e0f7b0a2ee823609b481 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2017-03-27T15:22:38.000Z | 2019-11-05T08:30:16.000Z | cisco-ios-xr/ydk/models/cisco_ios_xr/fragmented/Cisco_IOS_XR_ipv4_bgp_oper_67.hpp | CiscoDevNet/ydk-cpp | ef7d75970f2ef1154100e0f7b0a2ee823609b481 | [
"ECL-2.0",
"Apache-2.0"
] | 11 | 2016-12-02T05:45:52.000Z | 2019-11-07T08:28:17.000Z | #ifndef _CISCO_IOS_XR_IPV4_BGP_OPER_67_
#define _CISCO_IOS_XR_IPV4_BGP_OPER_67_
#include <memory>
#include <vector>
#include <string>
#include <ydk/types.hpp>
#include <ydk/errors.hpp>
#include "Cisco_IOS_XR_ipv4_bgp_oper_0.hpp"
#include "Cisco_IOS_XR_ipv4_bgp_oper_11.hpp"
#include "Cisco_IOS_XR_ipv4_bgp_oper_40.hpp"... | 63.35997 | 266 | 0.722699 | [
"vector"
] |
20dcbbf5901600a9c91d2c69976846191e9a5bcc | 1,296 | cpp | C++ | oneflow/user/ops/nms_op.cpp | grybd/oneflow | 82237ad096a10527591660c09b61444c42917e69 | [
"Apache-2.0"
] | null | null | null | oneflow/user/ops/nms_op.cpp | grybd/oneflow | 82237ad096a10527591660c09b61444c42917e69 | [
"Apache-2.0"
] | null | null | null | oneflow/user/ops/nms_op.cpp | grybd/oneflow | 82237ad096a10527591660c09b61444c42917e69 | [
"Apache-2.0"
] | null | null | null | /*
Copyright 2020 The OneFlow 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 agre... | 29.454545 | 72 | 0.737654 | [
"shape"
] |
2213b3470c59738c33d64816f3a5defdebfacfad | 6,104 | cpp | C++ | src/MultiCamD400.cpp | marc-hanheide/StrawberryData | 5d95f5601dcdf6e8192ad4a2dfd40cc82fad5f1d | [
"MIT"
] | 1 | 2019-09-11T18:27:05.000Z | 2019-09-11T18:27:05.000Z | src/MultiCamD400.cpp | marc-hanheide/StrawberryData | 5d95f5601dcdf6e8192ad4a2dfd40cc82fad5f1d | [
"MIT"
] | 2 | 2019-09-11T08:59:21.000Z | 2021-06-01T22:46:02.000Z | src/MultiCamD400.cpp | marc-hanheide/StrawberryData | 5d95f5601dcdf6e8192ad4a2dfd40cc82fad5f1d | [
"MIT"
] | 2 | 2019-09-11T08:28:10.000Z | 2020-06-20T14:40:44.000Z | #include "MultiCamD400.hpp"
MultiCamD400::MultiCamD400(unsigned int hz) : ThreadClass(hz) {
StartThread();
}
const void MultiCamD400::Setup() {
// Get the first real sense device
rs2::context ctx;
// When devices are changed update connected devices
ctx.set_devices_changed_callback([&](rs2::event... | 29.77561 | 116 | 0.624672 | [
"vector"
] |
2215e45185a6b02841a7b4a3a9b384b34210254e | 4,453 | cpp | C++ | src/scene/render_context.cpp | jonike/lumen | c35259f45a265d470afccb8b6282c8520eabdc95 | [
"MIT"
] | 2 | 2020-06-23T07:54:24.000Z | 2021-01-30T14:05:40.000Z | src/scene/render_context.cpp | jonike/lumen | c35259f45a265d470afccb8b6282c8520eabdc95 | [
"MIT"
] | null | null | null | src/scene/render_context.cpp | jonike/lumen | c35259f45a265d470afccb8b6282c8520eabdc95 | [
"MIT"
] | null | null | null | #include <area_light.h>
#include <bxdf.h>
#include <cmath>
#include <diffuse_brdf.h>
#include <geometry_factory.h>
#include <iostream>
#include <jittered_sampler.h>
#include <light_factory.h>
#include <material_factory.h>
#include <null_acceleration.h>
#include <path_tracer.h>
#include <render_context.h>
#include <rend... | 27.658385 | 97 | 0.668538 | [
"geometry",
"render"
] |
222a68319a7f0d5dae4e62c9bd313f06bd6b2ab8 | 3,014 | cpp | C++ | src/globals/tests/dfs_ismin_tests.cpp | zakimjz/GPU_graph_mining | 22ba73bea97533ed6b2af613bd263ef4d869e71a | [
"Apache-2.0"
] | 2 | 2020-05-13T09:09:50.000Z | 2021-07-16T12:51:53.000Z | src/globals/tests/dfs_ismin_tests.cpp | zakimjz/GPU_graph_mining | 22ba73bea97533ed6b2af613bd263ef4d869e71a | [
"Apache-2.0"
] | null | null | null | src/globals/tests/dfs_ismin_tests.cpp | zakimjz/GPU_graph_mining | 22ba73bea97533ed6b2af613bd263ef4d869e71a | [
"Apache-2.0"
] | 1 | 2022-03-22T01:15:33.000Z | 2022-03-22T01:15:33.000Z | #include <utils.hpp>
#include <dfs_code.hpp>
#include <gtest/gtest.h>
#include <stdexcept>
#include <iostream>
#include <logger.hpp>
using utils::split;
using std::string;
using std::runtime_error;
using types::DFS;
using types::DFSCode;
static Logger *ismin_log = Logger::get_logger("GLOBALSTEST");
/*
static DFSC... | 35.458824 | 111 | 0.579297 | [
"vector"
] |
22396311cb838a94a19303b59caf44fdde834bb5 | 20,822 | cpp | C++ | Source/Azura/RenderSystem/Src/Vulkan/VkTypeMapping.cpp | vasumahesh1/azura | 80aa23e2fb498e6288484bc49b0d5b8889db6ebb | [
"MIT"
] | 12 | 2019-01-08T23:10:37.000Z | 2021-06-04T09:48:42.000Z | Source/Azura/RenderSystem/Src/Vulkan/VkTypeMapping.cpp | vasumahesh1/azura | 80aa23e2fb498e6288484bc49b0d5b8889db6ebb | [
"MIT"
] | 38 | 2017-04-05T00:27:24.000Z | 2018-12-25T08:34:04.000Z | Source/Azura/RenderSystem/Src/Vulkan/VkTypeMapping.cpp | vasumahesh1/azura | 80aa23e2fb498e6288484bc49b0d5b8889db6ebb | [
"MIT"
] | 4 | 2019-03-27T10:07:32.000Z | 2021-07-15T03:22:27.000Z | #include "Vulkan/VkTypeMapping.h"
#include "Utils/Macros.h"
namespace Azura {
namespace Vulkan {
#define RAW_STORAGE_TO_VK_FORMAT_MAPPING(FUNC) \
FUNC(RawStorageFormat::UNKNOWN, VK_FORMAT_UNDEFINED) ... | 81.019455 | 174 | 0.561041 | [
"geometry"
] |
223e9ecca3fd52000c742e6a5fc6ca27ba386473 | 855 | hpp | C++ | include/midipatcher/InteractiveControl.hpp | tschiemer/midipatcher | a0922df002fe8b99ed551f7092c94fecff600728 | [
"MIT"
] | 2 | 2020-09-29T06:51:48.000Z | 2021-10-06T17:58:00.000Z | include/midipatcher/InteractiveControl.hpp | tschiemer/midipatcher | a0922df002fe8b99ed551f7092c94fecff600728 | [
"MIT"
] | null | null | null | include/midipatcher/InteractiveControl.hpp | tschiemer/midipatcher | a0922df002fe8b99ed551f7092c94fecff600728 | [
"MIT"
] | null | null | null | #ifndef MIDIPATCHER_INTERACTIVE_CONTROL_H
#define MIDIPATCHER_INTERACTIVE_CONTROL_H
#include "AbstractControl.hpp"
#include "CLI.hpp"
namespace MidiPatcher {
class InteractiveControl : public virtual AbstractControl, public virtual CLI {
public:
InteractiveControl(PortRegistry * portRegistry, std::strin... | 25.147059 | 175 | 0.706433 | [
"vector"
] |
223ff78168793c46798cb0766046b2e66e7eb90b | 6,071 | cpp | C++ | src/p3d/render/GLTool.cpp | arnaudcoj/m1s2_m3ds_tp10_obb | 68985c433bd7e54b245a6baab259b64d91c028d2 | [
"MIT"
] | null | null | null | src/p3d/render/GLTool.cpp | arnaudcoj/m1s2_m3ds_tp10_obb | 68985c433bd7e54b245a6baab259b64d91c028d2 | [
"MIT"
] | null | null | null | src/p3d/render/GLTool.cpp | arnaudcoj/m1s2_m3ds_tp10_obb | 68985c433bd7e54b245a6baab259b64d91c028d2 | [
"MIT"
] | null | null | null | #include "GLTool.h"
#include "GLRender.h"
#include "Shader.h"
#include "Matrix4.h"
#include "Vector3.h"
#include "Vector4.h"
#include "VertexArray.h"
#include "Camera.h"
#include <vector>
/*!
*
* @file
*
* @brief
* @author F. Aubert
*
*/
using namespace std;
namespace p3d {
void initGLTool() {
initGLRender();
... | 27.595455 | 137 | 0.646022 | [
"vector",
"transform",
"3d"
] |
224338b141e536cbd41af2bb9608b0ad12f4c266 | 1,913 | cpp | C++ | src/boost_python_exception/get_exception_info.cpp | abingham/boost_python_exception | 7882d5e8df051494498a58c06e046cb52421620b | [
"BSL-1.0"
] | 1 | 2015-03-28T08:28:56.000Z | 2015-03-28T08:28:56.000Z | src/boost_python_exception/get_exception_info.cpp | abingham/boost_python_exception | 7882d5e8df051494498a58c06e046cb52421620b | [
"BSL-1.0"
] | 3 | 2015-01-08T08:10:55.000Z | 2015-01-08T10:20:42.000Z | src/boost_python_exception/get_exception_info.cpp | abingham/boost_python_exception | 7882d5e8df051494498a58c06e046cb52421620b | [
"BSL-1.0"
] | 2 | 2018-11-13T07:42:31.000Z | 2020-03-10T22:43:31.000Z | #include <boost_python_exception/get_exception_info.hpp>
#include <Python.h>
namespace bp=boost::python;
namespace {
/* Convert a PyObject* into a borrowed bp::object. If `ptr` is NULL,
* this returns `None`.
*/
bp::object ptr_to_obj(PyObject* ptr)
{
if (ptr)
return bp::object(
bp::handle<... | 29.430769 | 76 | 0.664924 | [
"object"
] |
2249098be59b4e77c193a742ce42d8710cb192df | 7,548 | cpp | C++ | utils/util_objloader.cpp | SangatsuUsagi/COFFEE | 14b9de85295fbd2ee2171194fd88958895eeb5bd | [
"BSD-3-Clause"
] | null | null | null | utils/util_objloader.cpp | SangatsuUsagi/COFFEE | 14b9de85295fbd2ee2171194fd88958895eeb5bd | [
"BSD-3-Clause"
] | null | null | null | utils/util_objloader.cpp | SangatsuUsagi/COFFEE | 14b9de85295fbd2ee2171194fd88958895eeb5bd | [
"BSD-3-Clause"
] | null | null | null | //
// Copyright (c) 2019 Tatsuya Kobayashi
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of co... | 38.314721 | 81 | 0.556571 | [
"vector",
"model"
] |
225136ed7a20fde8e99345ee74a84d1e3dbe616e | 22,533 | cpp | C++ | src/dpx.imageio/libdpx/DPXColorConverter.cpp | itadinanta/oiio | 7605327477f0a8a04aad2c92c8ca8569e60124b3 | [
"Apache-2.0",
"BSD-3-Clause"
] | 3 | 2018-03-09T15:45:40.000Z | 2019-03-22T16:25:55.000Z | src/dpx.imageio/libdpx/DPXColorConverter.cpp | itadinanta/oiio | 7605327477f0a8a04aad2c92c8ca8569e60124b3 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | src/dpx.imageio/libdpx/DPXColorConverter.cpp | itadinanta/oiio | 7605327477f0a8a04aad2c92c8ca8569e60124b3 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | // -*- mode: C++; tab-width: 4 -*-
// vi: ts=4
/*
* Copyright (c) 2009, Patrick A. Palmer.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* - Redistributions of source code must retain the a... | 34.98913 | 167 | 0.65109 | [
"vector"
] |
2253dc2008aef0efc02961435bf91529b61932a7 | 1,987 | cpp | C++ | core/world/entity/EntityStorage.cpp | PlatformerTeam/mad | 8768e3127a0659f1d831dcb6c96ba2bb71c30795 | [
"MIT"
] | 2 | 2022-02-21T08:23:02.000Z | 2022-03-17T10:01:40.000Z | core/world/entity/EntityStorage.cpp | PlatformerTeam/mad | 8768e3127a0659f1d831dcb6c96ba2bb71c30795 | [
"MIT"
] | 43 | 2022-02-21T13:07:08.000Z | 2022-03-22T11:02:16.000Z | core/world/entity/EntityStorage.cpp | PlatformerTeam/mad | 8768e3127a0659f1d831dcb6c96ba2bb71c30795 | [
"MIT"
] | null | null | null |
#include <common/Error.hpp>
#include <common/FVec2D.hpp>
#include <visual/image/Image.hpp>
#include <memory>
#include "EntityStorage.hpp"
namespace mad::core {
std::vector<Entity::Id> EntityStorage::extract(const Filter &filter) const {
switch (filter.type) {
case Filter::Type::Id: {
... | 41.395833 | 158 | 0.651233 | [
"vector"
] |
2259fdf11b75969028edb20e4077525d3e8bbe08 | 2,206 | cpp | C++ | src/drivers/hardware_specific/user_mcu.cpp | SdtElectronics/Arduino-FOC | 01cf5417613d741631131d8fb6aaa37bab4f75d6 | [
"MIT"
] | null | null | null | src/drivers/hardware_specific/user_mcu.cpp | SdtElectronics/Arduino-FOC | 01cf5417613d741631131d8fb6aaa37bab4f75d6 | [
"MIT"
] | null | null | null | src/drivers/hardware_specific/user_mcu.cpp | SdtElectronics/Arduino-FOC | 01cf5417613d741631131d8fb6aaa37bab4f75d6 | [
"MIT"
] | null | null | null | #include "../hardware_api.h"
#ifndef __ARDUINO__
// function setting the high pwm frequency to the supplied pins
// - Stepper motor - 2PWM setting
// - hardware speciffic
// in generic case dont do anything
void _configure2PWM(long pwm_frequency,const int pinA, const int pinB) {
return;
}
// function setting the h... | 31.514286 | 165 | 0.733454 | [
"transform"
] |
225ed03340d23572677ea466def535f998ed51c4 | 4,718 | cpp | C++ | spriteCol.cpp | SamuraiCrow/AmosKittens | e89477b94a28916e4320fa946c18c0d769c710b2 | [
"MIT"
] | 7 | 2018-04-24T22:11:58.000Z | 2021-09-10T22:12:35.000Z | spriteCol.cpp | SamuraiCrow/AmosKittens | e89477b94a28916e4320fa946c18c0d769c710b2 | [
"MIT"
] | 36 | 2018-02-24T18:34:18.000Z | 2021-08-08T10:33:29.000Z | spriteCol.cpp | SamuraiCrow/AmosKittens | e89477b94a28916e4320fa946c18c0d769c710b2 | [
"MIT"
] | 2 | 2018-10-22T18:47:30.000Z | 2020-09-16T06:10:52.000Z |
#include "stdafx.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdint.h>
#include <vector>
#include <limits.h>
#ifdef __amigaos4__
#include <proto/exec.h>
#include <proto/dos.h>
#include <proto/retroMode.h>
#include <amoskittens.h>
#endif
#ifdef __linux__
#include "os/linux/stuff.h"
#inclu... | 23.59 | 122 | 0.669139 | [
"vector"
] |
227e438de17abe6e66ff9ec83545f0490db92375 | 4,323 | cxx | C++ | c++/scan/scan.cxx | dmitrygx/HPCInfo | a41f701cc5a8f8b48b71967bd5b7b4b688856a6e | [
"MIT"
] | 210 | 2015-03-17T21:49:39.000Z | 2022-03-26T14:18:19.000Z | c++/scan/scan.cxx | dmitrygx/HPCInfo | a41f701cc5a8f8b48b71967bd5b7b4b688856a6e | [
"MIT"
] | 7 | 2015-12-13T05:06:47.000Z | 2020-11-11T02:16:00.000Z | c++/scan/scan.cxx | dmitrygx/HPCInfo | a41f701cc5a8f8b48b71967bd5b7b4b688856a6e | [
"MIT"
] | 55 | 2015-03-24T05:19:30.000Z | 2022-03-19T23:44:28.000Z | #include <iostream>
#include <vector>
#include <numeric> // inclusive_scan
#include <iterator>
#include <functional>
#if defined(__INTEL_COMPILER) && (__INTEL_COMPILER >= 1800)
#include <pstl/execution>
#include <pstl/algorithm>
#include <pstl/numeric>
#include <pstl/memory>
#include "tbb/tbb.h"
#endif
#include <chr... | 30.443662 | 119 | 0.573213 | [
"vector"
] |
22892c9bbd1585509ce9076fd8eb2d32e18ec934 | 7,898 | cpp | C++ | example/opengl_sphere.cpp | bastiankoe/compute | 57eec36d20e122a496d3fbfddf8bf4ad8d6f4a4f | [
"BSL-1.0"
] | 1 | 2015-03-18T01:14:13.000Z | 2015-03-18T01:14:13.000Z | example/opengl_sphere.cpp | bastiankoe/compute | 57eec36d20e122a496d3fbfddf8bf4ad8d6f4a4f | [
"BSL-1.0"
] | null | null | null | example/opengl_sphere.cpp | bastiankoe/compute | 57eec36d20e122a496d3fbfddf8bf4ad8d6f4a4f | [
"BSL-1.0"
] | null | null | null | //---------------------------------------------------------------------------//
// Copyright (c) 2013-2014 Kyle Lutz <kyle.r.lutz@gmail.com>
//
// Distributed under the Boost Software License, Version 1.0
// See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt
//
// See http://kylelu... | 32.502058 | 87 | 0.638643 | [
"render"
] |
228acabe3ca08a28513e4d9a3226ce39ecf6acdc | 7,913 | cpp | C++ | regress/RegressKinship.cpp | mlebeur/merlin | 71a595a414c30fdfa067a2633d8768ab1c2eb722 | [
"BSD-3-Clause"
] | 4 | 2017-01-11T13:24:50.000Z | 2022-01-18T21:37:50.000Z | regress/RegressKinship.cpp | mlebeur/merlin | 71a595a414c30fdfa067a2633d8768ab1c2eb722 | [
"BSD-3-Clause"
] | 2 | 2021-01-19T15:37:50.000Z | 2022-01-14T00:00:24.000Z | regress/RegressKinship.cpp | mlebeur/merlin | 71a595a414c30fdfa067a2633d8768ab1c2eb722 | [
"BSD-3-Clause"
] | 1 | 2022-01-18T21:37:57.000Z | 2022-01-18T21:37:57.000Z | //////////////////////////////////////////////////////////////////////
// regress/RegressKinship.cpp
// (c) 2000-2007 Goncalo Abecasis
//
// This file is distributed as part of the MERLIN source code package
// and may not be redistributed in any form, without prior written
// permission from the author. Perm... | 28.362007 | 87 | 0.580311 | [
"vector"
] |
229be9e0116e625f56dd0f481d2a0837012dd1a1 | 1,563 | hpp | C++ | include/matrix/ones.hpp | Sanaxen/Statistical_analysis | ac34c0cb9be071939cb1fad745e56bb4bf4f993f | [
"MIT"
] | null | null | null | include/matrix/ones.hpp | Sanaxen/Statistical_analysis | ac34c0cb9be071939cb1fad745e56bb4bf4f993f | [
"MIT"
] | 2 | 2018-09-18T13:47:48.000Z | 2018-09-23T14:38:59.000Z | include/matrix/ones.hpp | Sanaxen/Statistical_analysis | ac34c0cb9be071939cb1fad745e56bb4bf4f993f | [
"MIT"
] | null | null | null | #ifndef _ONES_HPP
#define _ONES_HPP
//Copyright (c) 2018, Sanaxn
//All rights reserved.
template <typename T>
inline void ones_(T* a, int am, int an)
{
//ones_standerd(a, am, an);
//return;
#if USE_GPU
if (am > MIN_SIZE_APPLYING_GPGPU2 || an > MIN_SIZE_APPLYING_GPGPU2)
{
//printf("GPU ones_\n");
ones_gpu(a, ... | 15.63 | 80 | 0.615483 | [
"vector"
] |
229cee2d31ee40bf3f4fc8683ea8cece7f383a13 | 8,090 | cpp | C++ | BlackVision/Applications/LibBVLogic/Source/Helpers/RectNodeBuilder.cpp | black-vision-engine/bv-engine | 85089d41bb22afeaa9de070646e12aa1777ecedf | [
"MIT"
] | 1 | 2022-01-28T11:43:47.000Z | 2022-01-28T11:43:47.000Z | BlackVision/Applications/LibBVLogic/Source/Helpers/RectNodeBuilder.cpp | black-vision-engine/bv-engine | 85089d41bb22afeaa9de070646e12aa1777ecedf | [
"MIT"
] | null | null | null | BlackVision/Applications/LibBVLogic/Source/Helpers/RectNodeBuilder.cpp | black-vision-engine/bv-engine | 85089d41bb22afeaa9de070646e12aa1777ecedf | [
"MIT"
] | null | null | null | #include "stdafxBVApp.h"
#include "RectNodeBuilder.h"
#include "Engine/Models/Plugins/Parameters/ParametersFactory.h"
#include "Engine/Models/Plugins/Parameters/GenericParameterSetters.h"
#include "Engine/Models/Plugins/PluginUtils.h"
#include "Engine/Models/Plugins/Interfaces/IPixelShaderChannel.h"
#includ... | 26.611842 | 174 | 0.532386 | [
"vector",
"model",
"transform",
"solid"
] |
22ab61ce53a3ea777fcb8c33ed28396a8867c577 | 6,305 | cpp | C++ | aws-cpp-sdk-license-manager/source/model/License.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-02-10T08:06:54.000Z | 2022-02-10T08:06:54.000Z | aws-cpp-sdk-license-manager/source/model/License.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-01-03T23:59:37.000Z | 2022-01-03T23:59:37.000Z | aws-cpp-sdk-license-manager/source/model/License.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2022-02-28T21:36:42.000Z | 2022-02-28T21:36:42.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/license-manager/model/License.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
{
names... | 23.180147 | 126 | 0.735289 | [
"model"
] |
22ba732a7c261f01037e0a865e9f164a441a02aa | 7,649 | cpp | C++ | src/tests/vcl.core/interleavedarray.cpp | bschindler/vcl | 1921da5eb9c60923e9012fe96fcc94ed24835895 | [
"MIT"
] | null | null | null | src/tests/vcl.core/interleavedarray.cpp | bschindler/vcl | 1921da5eb9c60923e9012fe96fcc94ed24835895 | [
"MIT"
] | null | null | null | src/tests/vcl.core/interleavedarray.cpp | bschindler/vcl | 1921da5eb9c60923e9012fe96fcc94ed24835895 | [
"MIT"
] | null | null | null | /*
* This file is part of the Visual Computing Library (VCL) release under the
* MIT license.
*
* Copyright (c) 2014 Basil Fierz
*
* 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 with... | 29.194656 | 106 | 0.681658 | [
"vector"
] |
42f21bf15b314448bd8b141644ca609d752ac3dd | 2,607 | cpp | C++ | clients/cpp-restbed-server/generated/model/RepositoryList__embedded.cpp | shinesolutions/cloudmanager-api-clients | d73a25878f6cc57af954362ba8dccc90d54e6131 | [
"Apache-2.0"
] | 3 | 2020-06-23T05:31:52.000Z | 2020-11-26T05:34:57.000Z | clients/cpp-restbed-server/generated/model/RepositoryList__embedded.cpp | shinesolutions/cloudmanager-api-clients | d73a25878f6cc57af954362ba8dccc90d54e6131 | [
"Apache-2.0"
] | 2 | 2021-01-21T01:19:54.000Z | 2021-12-09T22:30:22.000Z | clients/cpp-restbed-server/generated/model/RepositoryList__embedded.cpp | shinesolutions/cloudmanager-api-clients | d73a25878f6cc57af954362ba8dccc90d54e6131 | [
"Apache-2.0"
] | 1 | 2020-11-18T11:48:13.000Z | 2020-11-18T11:48:13.000Z | /**
* Cloud Manager API
* This API allows access to Cloud Manager programs, pipelines, and environments by an authorized technical account created through the Adobe I/O Console. The base url for this API is https://cloudmanager.adobe.io, e.g. to get the list of programs for an organization, you would make a GET reque... | 27.15625 | 535 | 0.762946 | [
"vector",
"model"
] |
42f4ccfee009d85353f47058451e09686629b7aa | 1,565 | cpp | C++ | a2oj/Graphs/505_b.cpp | onexmaster/cp | b78b0f1e586d6977d86c97b32f48fed33f1469af | [
"Apache-2.0",
"MIT"
] | null | null | null | a2oj/Graphs/505_b.cpp | onexmaster/cp | b78b0f1e586d6977d86c97b32f48fed33f1469af | [
"Apache-2.0",
"MIT"
] | null | null | null | a2oj/Graphs/505_b.cpp | onexmaster/cp | b78b0f1e586d6977d86c97b32f48fed33f1469af | [
"Apache-2.0",
"MIT"
] | null | null | null | // Created by Tanuj Jain
#include<bits/stdc++.h>
#include<ext/pb_ds/assoc_container.hpp>
#include<ext/pb_ds/tree_policy.hpp>
using namespace std;
using namespace __gnu_pbds;
#define pb push_back
#define mp make_pair
typedef long long ll;
typedef pair<int,int> pii;
template<class T> using oset=tree<T, null_typ... | 20.324675 | 106 | 0.594249 | [
"vector"
] |
42f6fd5aab6a4a7568910b24424e72b03955c2d5 | 1,267 | cpp | C++ | src/core/shortcut/IShortcut.cpp | indigames/igeCreator | 05e6eb39f34f2571275717fbc8ed4404757ed5e3 | [
"MIT"
] | null | null | null | src/core/shortcut/IShortcut.cpp | indigames/igeCreator | 05e6eb39f34f2571275717fbc8ed4404757ed5e3 | [
"MIT"
] | 153 | 2021-05-04T08:26:09.000Z | 2022-01-27T03:48:29.000Z | src/core/shortcut/IShortcut.cpp | indigames/igeCreator | 05e6eb39f34f2571275717fbc8ed4404757ed5e3 | [
"MIT"
] | null | null | null | #include "core/shortcut/IShortcut.h"
NS_IGE_BEGIN
IShortcut::IShortcut() {
ShortcutRegistration::getInstance()->addObject(this);
autorelease();
retain();
}
IShortcut::~IShortcut() {
unregisterShortcut();
}
void IShortcut::unregisterShortcut() { }
ShortcutRegistration* ShortcutRegistration::s_singleInstance = ... | 18.632353 | 71 | 0.747435 | [
"object",
"vector"
] |
6e017722f06638fa3f4a1edb130e7eaf500a3d03 | 6,138 | cpp | C++ | src/bb/tetrahedron.cpp | jstraub/tdp | dcab53662be5b88db1538cf831707b07ab96e387 | [
"MIT-feh"
] | 1 | 2017-10-17T19:25:47.000Z | 2017-10-17T19:25:47.000Z | src/bb/tetrahedron.cpp | jstraub/tdp | dcab53662be5b88db1538cf831707b07ab96e387 | [
"MIT-feh"
] | 1 | 2018-05-02T06:04:06.000Z | 2018-05-02T06:04:06.000Z | src/bb/tetrahedron.cpp | jstraub/tdp | dcab53662be5b88db1538cf831707b07ab96e387 | [
"MIT-feh"
] | 5 | 2017-09-17T18:46:20.000Z | 2019-03-11T12:52:57.000Z | /* Copyright (c) 2015, Julian Straub <jstraub@csail.mit.edu> Licensed
* under the MIT license. See the license file LICENSE.
*/
#include <tdp/bb/tetrahedron.h>
namespace tdp {
template <typename T>
Tetrahedron4D<T>::Tetrahedron4D(const Eigen::Matrix<T, 4, 4>& vertices) :
vertices_(vertices) {}
template <typenam... | 37.426829 | 78 | 0.678071 | [
"vector"
] |
6e02a0d5ad7d6d0e929a2998cdf43c46100379c3 | 728 | hpp | C++ | spotify_stream/src/media/ffmpeg_converter_stream.hpp | Yanick-Salzmann/carpi | 29f5e1bf1eb6243e45690f040e4df8e7c228e897 | [
"Apache-2.0"
] | 2 | 2020-06-07T16:47:20.000Z | 2021-03-20T10:41:34.000Z | spotify_stream/src/media/ffmpeg_converter_stream.hpp | Yanick-Salzmann/carpi | 29f5e1bf1eb6243e45690f040e4df8e7c228e897 | [
"Apache-2.0"
] | null | null | null | spotify_stream/src/media/ffmpeg_converter_stream.hpp | Yanick-Salzmann/carpi | 29f5e1bf1eb6243e45690f040e4df8e7c228e897 | [
"Apache-2.0"
] | null | null | null | #ifndef CARPI_FFMPEG_CONVERTER_STREAM_HPP
#define CARPI_FFMPEG_CONVERTER_STREAM_HPP
#include "media_stream.hpp"
#include <mutex>
#include <condition_variable>
#include <vector>
namespace carpi::spotify::media {
class FfmpegConverterStream : public MediaStream {
std::condition_variable _read_event{};
... | 23.483871 | 73 | 0.707418 | [
"vector"
] |
6e049a963b0fdcaf63910df95cb0e8a3d19f9a59 | 7,369 | cpp | C++ | lesson01/assignment02.cpp | Rolling-meatballs/cpp_sverver | 48da44022501993615b3513a584c67b8dfffda21 | [
"MIT"
] | null | null | null | lesson01/assignment02.cpp | Rolling-meatballs/cpp_sverver | 48da44022501993615b3513a584c67b8dfffda21 | [
"MIT"
] | null | null | null | lesson01/assignment02.cpp | Rolling-meatballs/cpp_sverver | 48da44022501993615b3513a584c67b8dfffda21 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
using namespace std;
template<class T>
void
_print(T arg) {
cout << arg << " ";
}
template<class... Args>
void
log(Args... args) {
int arr[] = { (_print(args), 0)... };
cout << endl;
}
void
ensure(bool condition, const string &message) {
if (condition) {
... | 21.609971 | 98 | 0.502782 | [
"vector"
] |
6e11416addb1421878950047e8e6dd9fd99b6817 | 14,222 | cpp | C++ | test/state.cpp | muxy/gamelink-cpp | fb0a6fdb0a2c2c72457bc539cbeb01e6239f9d67 | [
"MIT"
] | null | null | null | test/state.cpp | muxy/gamelink-cpp | fb0a6fdb0a2c2c72457bc539cbeb01e6239f9d67 | [
"MIT"
] | null | null | null | test/state.cpp | muxy/gamelink-cpp | fb0a6fdb0a2c2c72457bc539cbeb01e6239f9d67 | [
"MIT"
] | null | null | null | #include "catch2/catch.hpp"
#include "util.h"
#include "gamelink.h"
#include <iostream>
class BasicState
{
public:
std::string name;
uint32_t value;
std::vector<BasicState> children;
MUXY_GAMELINK_SERIALIZE_INTRUSIVE_4(BasicState, "name", name, "value", value, "children", children, "priv", priv);
void setPriv(... | 23.742905 | 137 | 0.508789 | [
"vector"
] |
6e16a822e828d39db481acc5b900777e976874db | 1,391 | cpp | C++ | master/examples-4/examples/chapter08/addressbook/filteringview.cpp | AlexRogalskiy/DevArtifacts | 931aabb8cbf27656151c54856eb2ea7d1153203a | [
"MIT"
] | 4 | 2018-09-07T15:35:24.000Z | 2019-03-27T09:48:12.000Z | master/examples-4/examples/chapter08/addressbook/filteringview.cpp | AlexRogalskiy/DevArtifacts | 931aabb8cbf27656151c54856eb2ea7d1153203a | [
"MIT"
] | 371 | 2020-03-04T21:51:56.000Z | 2022-03-31T20:59:11.000Z | master/examples-4/examples/chapter08/addressbook/filteringview.cpp | AlexRogalskiy/DevArtifacts | 931aabb8cbf27656151c54856eb2ea7d1153203a | [
"MIT"
] | 3 | 2019-06-18T19:57:17.000Z | 2020-11-06T03:55:08.000Z | #include <QtGui>
#include "filteringview.h"
FilteringView::FilteringView(QAbstractItemModel *model, QWidget *parent)
: QWidget(parent)
{
setWindowTitle(tr("Filter View"));
proxyModel = new QSortFilterProxyModel(this);
proxyModel->setSourceModel(model);
QVBoxLayout *lay = new QVBoxLayout(this);
QHBoxLayout... | 27.82 | 72 | 0.721064 | [
"model"
] |
6e2426c98c41fa2807a8eb495da4a0f9e9e0e1f8 | 6,441 | cpp | C++ | fss-core/libPSI/libPSI/PSI/Dcw/DcwRBfPsiSender.cpp | ucbrise/waldo | d435d7f447a36b5d000f45ff1b0c73747c1d7aa2 | [
"Apache-2.0"
] | 7 | 2021-12-19T11:31:06.000Z | 2022-03-01T04:19:51.000Z | fss-core/libPSI/libPSI/PSI/Dcw/DcwRBfPsiSender.cpp | ucbrise/waldo | d435d7f447a36b5d000f45ff1b0c73747c1d7aa2 | [
"Apache-2.0"
] | null | null | null | fss-core/libPSI/libPSI/PSI/Dcw/DcwRBfPsiSender.cpp | ucbrise/waldo | d435d7f447a36b5d000f45ff1b0c73747c1d7aa2 | [
"Apache-2.0"
] | null | null | null | #include "DcwRBfPsiSender.h"
#ifdef ENABLE_DCW_PSI
#include "libOTe/TwoChooseOne/KosOtExtSender.h"
#include "cryptoTools/Crypto/PRNG.h"
#include "cryptoTools/Crypto/Commit.h"
#include "cryptoTools/Common/Log.h"
//#include "cryptoTools/Crypto/ShamirSSScheme2.h"
#include "libOTe/Base/BaseOT.h"
#include "libOTe/TwoChoo... | 32.695431 | 172 | 0.531284 | [
"vector"
] |
6e2b3f96c8566b6a9271803ce5d65ce39bd8fa6e | 1,127 | cc | C++ | codeforces/618_Wunder_Fund_Round_2016_Div1+Div2_Combined/D/main.cc | jinzhao1994/ACM | 5846032df31ab000deb57d8cbb8cb4c27c0e955b | [
"WTFPL"
] | 2 | 2015-07-22T01:26:47.000Z | 2015-08-30T11:33:19.000Z | codeforces/618_Wunder_Fund_Round_2016_Div1+Div2_Combined/D/main.cc | jinzhao1994/ACM | 5846032df31ab000deb57d8cbb8cb4c27c0e955b | [
"WTFPL"
] | null | null | null | codeforces/618_Wunder_Fund_Round_2016_Div1+Div2_Combined/D/main.cc | jinzhao1994/ACM | 5846032df31ab000deb57d8cbb8cb4c27c0e955b | [
"WTFPL"
] | null | null | null | #include <cstdio>
#include <algorithm>
#include <vector>
using namespace std;
const int N = 200001;
int n, x, y;
int d[N];
vector<int> a[N];
int dp0[N], dp1[N];
void dfs(int i, int f) {
int min1 = n, min2 = n, sum = 0;
for (int j = 0; j < a[i].size(); j++) {
if (a[i][j] != f) {
dfs(a[i][j], i);
sum += dp0... | 17.609375 | 79 | 0.444543 | [
"vector"
] |
6e3090c5ad2877c1e3273b30d014d43abe4b446e | 15,044 | cpp | C++ | src/llvm-passes/ErrorBlocks.cpp | ucd-plse/eesi | aacbcecbb8c1f1d2e152ee4a0aa417ac92ae74bb | [
"BSD-3-Clause"
] | 5 | 2019-07-01T09:05:32.000Z | 2019-09-03T17:36:26.000Z | src/llvm-passes/ErrorBlocks.cpp | defreez-ucd/eesi-doi | 49b51f9a01b8c1dbbe110898c27ec714034132aa | [
"CC-BY-4.0"
] | 3 | 2019-08-01T03:14:48.000Z | 2019-09-03T20:40:52.000Z | src/llvm-passes/ErrorBlocks.cpp | defreez-ucd/eesi-doi | 49b51f9a01b8c1dbbe110898c27ec714034132aa | [
"CC-BY-4.0"
] | 2 | 2019-06-10T23:08:27.000Z | 2020-09-29T01:20:49.000Z | #include "ErrorBlocks.h"
#include "Common.h"
#include "ReturnConstraints.h"
#include "ReturnPropagation.h"
#include "ReturnedValues.h"
#include "Utility.hpp"
#include "llvm/IR/Constants.h"
#include "llvm/IR/Module.h"
#include <glog/logging.h>
#include <boost/algorithm/string.hpp>
#include <fstream>
#include <iostream>
... | 33.136564 | 85 | 0.588474 | [
"object",
"vector",
"transform"
] |
6e3359b1a6f61b0ca4edc65b02911808dfb00903 | 21,931 | cpp | C++ | code/3rdParty/ogdf/src/coin/CoinUtils/CoinPresolveFixed.cpp | turbanoff/qvge | 53508adadb4ca566c011b2b41d432030a5fa5fac | [
"MIT"
] | 3 | 2021-09-14T08:11:37.000Z | 2022-03-04T15:42:07.000Z | code/3rdParty/ogdf/src/coin/CoinUtils/CoinPresolveFixed.cpp | turbanoff/qvge | 53508adadb4ca566c011b2b41d432030a5fa5fac | [
"MIT"
] | 2 | 2021-12-04T17:09:53.000Z | 2021-12-16T08:57:25.000Z | code/3rdParty/ogdf/src/coin/CoinUtils/CoinPresolveFixed.cpp | turbanoff/qvge | 53508adadb4ca566c011b2b41d432030a5fa5fac | [
"MIT"
] | 2 | 2021-06-22T08:21:54.000Z | 2021-07-07T06:57:22.000Z | /* $Id: CoinPresolveFixed.cpp 1448 2011-06-19 15:34:41Z stefan $ */
// Copyright (C) 2002, International Business Machines
// Corporation and others. All Rights Reserved.
// This code is licensed under the terms of the Eclipse Public License (EPL).
#include <stdio.h>
#include <math.h>
#include "CoinPresolveMatrix.hp... | 29.398123 | 79 | 0.654188 | [
"object",
"model",
"transform"
] |
6e340aca393c0364d03855687d8e64aca966185b | 3,010 | cpp | C++ | Submodules/Peano/src/toolboxes/multiscalelinkedcell/tests/HangingVertexBookkeeperTest.cpp | linusseelinger/ExaHyPE-Tsunami | 92a6e14926862e1584ef1e935874c91d252e8112 | [
"BSD-3-Clause"
] | 2 | 2019-08-14T22:41:26.000Z | 2020-02-04T19:30:24.000Z | Submodules/Peano/src/toolboxes/multiscalelinkedcell/tests/HangingVertexBookkeeperTest.cpp | linusseelinger/ExaHyPE-Tsunami | 92a6e14926862e1584ef1e935874c91d252e8112 | [
"BSD-3-Clause"
] | null | null | null | Submodules/Peano/src/toolboxes/multiscalelinkedcell/tests/HangingVertexBookkeeperTest.cpp | linusseelinger/ExaHyPE-Tsunami | 92a6e14926862e1584ef1e935874c91d252e8112 | [
"BSD-3-Clause"
] | 3 | 2019-07-22T10:27:36.000Z | 2020-05-11T12:25:29.000Z | #include "multiscalelinkedcell/tests/HangingVertexBookkeeperTest.h"
#include "multiscalelinkedcell/HangingVertexBookkeeper.h"
#include "tarch/la/Vector.h"
#include "peano/utils/Globals.h"
#include "tarch/compiler/CompilerSpecificSettings.h"
#include "tarch/tests/TestCaseFactory.h"
registerTest(multiscalelinkedcell::t... | 33.076923 | 117 | 0.697342 | [
"vector"
] |
6e4aab2ae12a8ced01e9d49774c1372c3b041b8a | 12,341 | hpp | C++ | src/math/details/matrix_functions_details.hpp | alexiynew/neutrino_framework | bcb3c5a7e73893b130fb7a2aef55802862019537 | [
"MIT"
] | null | null | null | src/math/details/matrix_functions_details.hpp | alexiynew/neutrino_framework | bcb3c5a7e73893b130fb7a2aef55802862019537 | [
"MIT"
] | 18 | 2019-07-10T17:39:35.000Z | 2022-03-30T06:34:26.000Z | src/math/details/matrix_functions_details.hpp | alexiynew/neutrino_framework | bcb3c5a7e73893b130fb7a2aef55802862019537 | [
"MIT"
] | null | null | null | /// @file
/// @brief Contains matrix functions.
/// @author Fedorov Alexey
/// @date 05.07.2017
// =============================================================================
// MIT License
//
// Copyright (c) 2017-2018 Fedorov Alexey
//
// Permission is hereby granted, free of charge, to any person obtaining a copy... | 39.053797 | 116 | 0.438619 | [
"vector"
] |
6e52d5fa8751b838311ee3172d2892841de8ade1 | 1,700 | cpp | C++ | trunk/day42/solution.cpp | itsjacob/90pp | eca71e624d28d216feb06d615e587fc6792c36b6 | [
"MIT"
] | null | null | null | trunk/day42/solution.cpp | itsjacob/90pp | eca71e624d28d216feb06d615e587fc6792c36b6 | [
"MIT"
] | null | null | null | trunk/day42/solution.cpp | itsjacob/90pp | eca71e624d28d216feb06d615e587fc6792c36b6 | [
"MIT"
] | null | null | null | class Solution
{
public:
int swimInWater(vector<vector<int>> &grid)
{
int left{ 0 };
int right = grid.size() * grid[0].size();
while (left <= right) {
int mid = left + (right - left) / 2;
if (isBottomRightReachable(grid, mid)) {
right = mid - 1;
} else {
left = mid + 1;... | 31.481481 | 109 | 0.56 | [
"vector"
] |
6e530b6e987a88bc6803e6dac89fb1a4df6801ed | 9,984 | cc | C++ | elang/lir/factory.cc | eval1749/elang | 5208b386ba3a3e866a5c0f0271280f79f9aac8c4 | [
"Apache-2.0"
] | 1 | 2018-01-27T22:40:53.000Z | 2018-01-27T22:40:53.000Z | elang/lir/factory.cc | eval1749/elang | 5208b386ba3a3e866a5c0f0271280f79f9aac8c4 | [
"Apache-2.0"
] | 1 | 2016-01-29T00:54:49.000Z | 2016-01-29T00:54:49.000Z | elang/lir/factory.cc | eval1749/elang | 5208b386ba3a3e866a5c0f0271280f79f9aac8c4 | [
"Apache-2.0"
] | null | null | null | // Copyright 2014-2015 Project Vogue. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <vector>
#include "elang/lir/factory.h"
#include "elang/base/atomic_string.h"
#include "elang/base/zone.h"
#include "elang/lir/editor.h"
#include... | 32.734426 | 80 | 0.652344 | [
"vector",
"model"
] |
6e5a9a71e7cd3e098c9263344aac8d6ed9b423d5 | 112,840 | cpp | C++ | src/db/dbBlock.cpp | mgwoo/OpenDB | 8bf8df500dc525f2abfa16a8f5ac2cb67c09b6f4 | [
"BSD-3-Clause"
] | 1 | 2021-03-04T02:35:47.000Z | 2021-03-04T02:35:47.000Z | src/db/dbBlock.cpp | mgwoo/OpenDB | 8bf8df500dc525f2abfa16a8f5ac2cb67c09b6f4 | [
"BSD-3-Clause"
] | null | null | null | src/db/dbBlock.cpp | mgwoo/OpenDB | 8bf8df500dc525f2abfa16a8f5ac2cb67c09b6f4 | [
"BSD-3-Clause"
] | null | null | null | ///////////////////////////////////////////////////////////////////////////////
// BSD 3-Clause License
//
// Copyright (c) 2019, Nefelus Inc
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//... | 27.375061 | 212 | 0.622439 | [
"object",
"vector",
"transform"
] |
6e66286dcd209841139f5bd9395c7819f0d79873 | 5,909 | cpp | C++ | common/BoardClient.cpp | victorliu/vklBoards | 253d94047993c7cf8952754fc26029245821e987 | [
"MIT"
] | null | null | null | common/BoardClient.cpp | victorliu/vklBoards | 253d94047993c7cf8952754fc26029245821e987 | [
"MIT"
] | null | null | null | common/BoardClient.cpp | victorliu/vklBoards | 253d94047993c7cf8952754fc26029245821e987 | [
"MIT"
] | 1 | 2020-04-22T00:40:25.000Z | 2020-04-22T00:40:25.000Z | #include "BoardClient.h"
#include "BoardMessage.h"
#include "ImageCoder.h"
#include "Poco/Net/SocketAddress.h"
#include "Poco/Net/Socket.h"
#include "Poco/Net/StreamSocket.h"
#include "Poco/Net/NetException.h"
#include "Poco/Net/SocketStream.h"
#include "Poco/StreamCopier.h"
#include "Poco/Timespan.h"
#includ... | 27.483721 | 149 | 0.667118 | [
"vector"
] |
6e6b81231242e1e2384a65a88f1e8b18a9e6528b | 11,422 | cc | C++ | power_manager/powerd/system/legacy_dark_resume.cc | emersion/chromiumos-platform2 | ba71ad06f7ba52e922c647a8915ff852b2d4ebbd | [
"BSD-3-Clause"
] | 5 | 2019-01-19T15:38:48.000Z | 2021-10-06T03:59:46.000Z | power_manager/powerd/system/legacy_dark_resume.cc | emersion/chromiumos-platform2 | ba71ad06f7ba52e922c647a8915ff852b2d4ebbd | [
"BSD-3-Clause"
] | null | null | null | power_manager/powerd/system/legacy_dark_resume.cc | emersion/chromiumos-platform2 | ba71ad06f7ba52e922c647a8915ff852b2d4ebbd | [
"BSD-3-Clause"
] | 1 | 2019-02-15T23:05:30.000Z | 2019-02-15T23:05:30.000Z | // Copyright 2014 The Chromium OS 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 "power_manager/powerd/system/legacy_dark_resume.h"
#include <stdint.h>
#include <algorithm>
#include <base/files/file_util.h>
#include <bas... | 33.203488 | 80 | 0.696551 | [
"vector"
] |
6e70506dc4b6ddef06dc77d35fa5611e8cfb4db1 | 2,554 | hpp | C++ | interface/widget/Widget.hpp | szk/reprize | a827aa0247f7954f9f36ae573f97db1397645bf5 | [
"BSD-2-Clause"
] | null | null | null | interface/widget/Widget.hpp | szk/reprize | a827aa0247f7954f9f36ae573f97db1397645bf5 | [
"BSD-2-Clause"
] | null | null | null | interface/widget/Widget.hpp | szk/reprize | a827aa0247f7954f9f36ae573f97db1397645bf5 | [
"BSD-2-Clause"
] | 1 | 2019-03-11T20:58:41.000Z | 2019-03-11T20:58:41.000Z | #ifndef WIDGET_HPP_
#define WIDGET_HPP_
#include "resource/Entity.hpp"
namespace reprize
{
namespace res { class Texture; class Geometry; class Font; }
namespace inf
{
enum Align { TOP, MIDDLE, BOTTOM, LEFT, CENTER, RIGHT, ALIGN_NUM };
class Widget : public res::Entity
{
public:
Widget(const Str& name_, const r... | 29.022727 | 70 | 0.68794 | [
"geometry",
"model"
] |
6e7419b2bb9e17a7822a55d3b6f2676ef07dd33e | 513 | hpp | C++ | src/JMArray.hpp | iCurlmyster/JMLang | cec9f66dcdcebfc87cdd3538c10c50bb85c2ab8e | [
"MIT"
] | null | null | null | src/JMArray.hpp | iCurlmyster/JMLang | cec9f66dcdcebfc87cdd3538c10c50bb85c2ab8e | [
"MIT"
] | null | null | null | src/JMArray.hpp | iCurlmyster/JMLang | cec9f66dcdcebfc87cdd3538c10c50bb85c2ab8e | [
"MIT"
] | null | null | null | #ifndef JMARRAY_HPP
#define JMARRAY_HPP
#include "JMFiles.hpp"
#include <vector>
#include <string>
namespace JM {
class Array : public JM::Object {
std::vector<JM::Object*> objVec;
public:
Array();
Array(std::vector<JM::Object*>& objVec);
~Array();
std::vector<JM::Object*> getCurrentValue();
void ap... | 13.153846 | 45 | 0.645224 | [
"object",
"vector"
] |
6e7a42268ba1be14b6dbc43503688882e7860082 | 6,755 | cpp | C++ | test/container/readers.cpp | lastfm/libmoost | 895db7cc5468626f520971648741488c373c5cff | [
"MIT"
] | 37 | 2015-02-22T17:15:44.000Z | 2022-02-24T02:24:41.000Z | test/container/readers.cpp | lastfm/libmoost | 895db7cc5468626f520971648741488c373c5cff | [
"MIT"
] | null | null | null | test/container/readers.cpp | lastfm/libmoost | 895db7cc5468626f520971648741488c373c5cff | [
"MIT"
] | 11 | 2015-02-12T04:35:06.000Z | 2022-01-19T12:46:32.000Z | /* vim:set ts=3 sw=3 sts=3 et: */
/**
* Copyright © 2008-2013 Last.fm Limited
*
* This file is part of libmoost.
*
* 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,
... | 29.627193 | 90 | 0.648557 | [
"vector"
] |
6e7ce98bc168afb89e4e0236f7ef3e4ce89f3b9b | 3,414 | cpp | C++ | dnn/src/common/concat_split.cpp | Olalaye/MegEngine | 695d24f24517536e6544b07936d189dbc031bbce | [
"Apache-2.0"
] | 1 | 2022-03-21T03:13:45.000Z | 2022-03-21T03:13:45.000Z | dnn/src/common/concat_split.cpp | Olalaye/MegEngine | 695d24f24517536e6544b07936d189dbc031bbce | [
"Apache-2.0"
] | null | null | null | dnn/src/common/concat_split.cpp | Olalaye/MegEngine | 695d24f24517536e6544b07936d189dbc031bbce | [
"Apache-2.0"
] | null | null | null | /**
* \file dnn/src/common/concat_split.cpp
* MegEngine is Licensed under the Apache License, Version 2.0 (the "License")
*
* Copyright (c) 2014-2021 Megvii Inc. All rights reserved.
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "A... | 33.80198 | 89 | 0.638254 | [
"shape"
] |
6e8352c22a0c3b2646328e26af07a55f8a08f0c4 | 2,066 | cc | C++ | google/cloud/speech/speech_connection_idempotency_policy.cc | sydney-munro/google-cloud-cpp | 374b52e5cec78962358bdd5913d4118a47af1952 | [
"Apache-2.0"
] | 80 | 2017-11-24T00:19:45.000Z | 2019-01-25T10:24:33.000Z | google/cloud/speech/speech_connection_idempotency_policy.cc | sydney-munro/google-cloud-cpp | 374b52e5cec78962358bdd5913d4118a47af1952 | [
"Apache-2.0"
] | 1,579 | 2017-11-24T01:01:21.000Z | 2019-01-28T23:41:21.000Z | google/cloud/speech/speech_connection_idempotency_policy.cc | sydney-munro/google-cloud-cpp | 374b52e5cec78962358bdd5913d4118a47af1952 | [
"Apache-2.0"
] | 51 | 2017-11-24T00:56:11.000Z | 2019-01-18T20:35:02.000Z | // Copyright 2022 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | 31.784615 | 79 | 0.773475 | [
"object"
] |
6e8a80d048a3f34490cbae2b676e9d1ff55ef9d9 | 4,680 | hpp | C++ | cuda/gpumd/md/src/system/pybind_export_system.hpp | ryanlopezzzz/ABPTutorial | 923fa89f1959cd71b28ecf4628ecfbfce6a6206c | [
"MIT"
] | 8 | 2020-05-05T00:41:50.000Z | 2021-11-04T20:54:43.000Z | cuda/gpumd/md/src/system/pybind_export_system.hpp | ryanlopezzzz/ABPTutorial | 923fa89f1959cd71b28ecf4628ecfbfce6a6206c | [
"MIT"
] | null | null | null | cuda/gpumd/md/src/system/pybind_export_system.hpp | ryanlopezzzz/ABPTutorial | 923fa89f1959cd71b28ecf4628ecfbfce6a6206c | [
"MIT"
] | 5 | 2020-05-04T16:37:13.000Z | 2021-08-18T07:53:58.000Z | /************************************************************************************
* MIT License *
* *
* Copyright (c) 2020 Dr. Daniel Alejandro Matoz Fernandez ... | 60 | 146 | 0.567735 | [
"vector"
] |
6e98903e3093cb6391dfb39d3af04c03bf257daa | 8,983 | cpp | C++ | Battleships/Source/Core/Environment/Water/FWaterShader.cpp | RodrigoHolztrattner/Battleships | cf3e9c8a4a40f52aee41a7b9baaac5a406365a06 | [
"MIT"
] | null | null | null | Battleships/Source/Core/Environment/Water/FWaterShader.cpp | RodrigoHolztrattner/Battleships | cf3e9c8a4a40f52aee41a7b9baaac5a406365a06 | [
"MIT"
] | null | null | null | Battleships/Source/Core/Environment/Water/FWaterShader.cpp | RodrigoHolztrattner/Battleships | cf3e9c8a4a40f52aee41a7b9baaac5a406365a06 | [
"MIT"
] | null | null | null | ///////////////////////////////////////////////////////////////////////////////
// Filename: FWaterShader.cpp
///////////////////////////////////////////////////////////////////////////////
#include "FWaterShader.h"
#include "..\..\Entity\Actor\FActor.h"
#include "..\..\Resource\Texture\FTexture.h"
#include "..\..\Came... | 26.89521 | 135 | 0.708004 | [
"render",
"object",
"transform"
] |
6e9a5b57984d97625439a68c18673e652d9bdf5d | 6,966 | cpp | C++ | source/tool/toolSettings/effects/TSet_FX_Fill.cpp | chromaScript/chroma.io | c484354df6f3c84a049ffadfe37c677c0ccb6390 | [
"MIT"
] | null | null | null | source/tool/toolSettings/effects/TSet_FX_Fill.cpp | chromaScript/chroma.io | c484354df6f3c84a049ffadfe37c677c0ccb6390 | [
"MIT"
] | null | null | null | source/tool/toolSettings/effects/TSet_FX_Fill.cpp | chromaScript/chroma.io | c484354df6f3c84a049ffadfe37c677c0ccb6390 | [
"MIT"
] | null | null | null | #include "../../../include/tool/ToolSettings.h"
#include "../../../include/input/keys.h"
#include "../../../include/math/Color.h"
class CFunction;
#include "../../../include/cscript/CInterpreter.h"
#include "../../../include/cscript/CObject.h"
#include "../../../include/tool/Tool.h"
#include <glm.hpp>
#include <gtx/r... | 35.360406 | 130 | 0.692937 | [
"object",
"vector"
] |
6e9b98dcd33d4b00529889f2c6fb0eb0b747454c | 3,816 | cc | C++ | RecoParticleFlow/PFClusterTools/src/IO.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 1 | 2019-03-09T19:47:49.000Z | 2019-03-09T19:47:49.000Z | RecoParticleFlow/PFClusterTools/src/IO.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | null | null | null | RecoParticleFlow/PFClusterTools/src/IO.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 1 | 2019-03-19T13:44:54.000Z | 2019-03-19T13:44:54.000Z | #include "RecoParticleFlow/PFClusterTools/interface/IO.h"
#include "RecoParticleFlow/PFClusterTools/interface/Utils.h"
#include <cstring>
using namespace std;
using namespace pftools;
const unsigned IO::sLinesize = 1000;
IO::IO(const char* filepattern) : fCurline(0) {
// loop on all files matching pattern, store ... | 21.681818 | 95 | 0.595388 | [
"vector"
] |
6ea4ad11cd00b83ee07d531f81805e59cd243c85 | 57,299 | cpp | C++ | src/dome/DomeMysql_cns.cpp | EricKTCheung/dmlite | 7fe31e16fc18e3c3d8b048a3507f7769ef3f8a9d | [
"Apache-2.0"
] | null | null | null | src/dome/DomeMysql_cns.cpp | EricKTCheung/dmlite | 7fe31e16fc18e3c3d8b048a3507f7769ef3f8a9d | [
"Apache-2.0"
] | null | null | null | src/dome/DomeMysql_cns.cpp | EricKTCheung/dmlite | 7fe31e16fc18e3c3d8b048a3507f7769ef3f8a9d | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2015 CERN
*
* 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 writ... | 29.596591 | 155 | 0.612855 | [
"object",
"vector"
] |
6eafb6bed8fbfe58bc6e76c41bad04e143bde6b6 | 526 | cpp | C++ | data-structures/Encode&Decode/SuffixArray.cpp | PTRFmX/Data-structures-and-algorithms | 1e545a9dfe416c35a7a69f5d0b1dcac2389ec862 | [
"MIT"
] | null | null | null | data-structures/Encode&Decode/SuffixArray.cpp | PTRFmX/Data-structures-and-algorithms | 1e545a9dfe416c35a7a69f5d0b1dcac2389ec862 | [
"MIT"
] | 1 | 2021-04-07T05:39:18.000Z | 2021-04-07T05:39:18.000Z | data-structures/Encode&Decode/SuffixArray.cpp | PTRFmX/Data-structures-and-algorithms | 1e545a9dfe416c35a7a69f5d0b1dcac2389ec862 | [
"MIT"
] | null | null | null | #include <string>
#include <vector>
#include <algorithm>
#include "SuffixArray.h"
using namespace std;
/**
* Implement suffix_array() correctly
*/
vector<unsigned int> suffix_array(const string & s) {
vector<std::pair<string, unsigned int>> suffixArr;
for (unsigned int i = 0; i < s.length(); i++) suffixArr.p... | 29.222222 | 118 | 0.674905 | [
"vector"
] |
6eb07fc8b80a0f0db12b6ceb72077bdd48a14518 | 10,042 | cc | C++ | spicy/operators/bytes.cc | asilha/hilti | ebfffc7dad31059b43a02eb26abcf7a25f742eb8 | [
"BSD-3-Clause"
] | 46 | 2015-01-21T13:31:25.000Z | 2020-10-27T10:18:03.000Z | spicy/operators/bytes.cc | jjchromik/hilti-104-total | 0f9e0cb7114acc157211af24f8254e4b23bd78a5 | [
"BSD-3-Clause"
] | 29 | 2015-03-30T08:23:04.000Z | 2019-05-03T13:11:35.000Z | spicy/operators/bytes.cc | jjchromik/hilti-104-total | 0f9e0cb7114acc157211af24f8254e4b23bd78a5 | [
"BSD-3-Clause"
] | 20 | 2015-01-27T12:59:38.000Z | 2020-10-28T21:40:47.000Z |
opBegin(bytes::Equal)
opOp1(std::make_shared<type::Bytes>());
opOp2(std::make_shared<type::Bytes>());
opDoc("Compares two ``bytes`` values.");
opValidate()
{
}
opResult()
{
return std::make_shared<type::Bool>();
}
opEnd
opBegin(bytes::Plus)
opOp1(std::make_shared<typ... | 26.015544 | 100 | 0.626867 | [
"object",
"vector"
] |
6eb20f98185cbb1dc1fd21372dc4df2b9e623a43 | 5,432 | cpp | C++ | src/geometry/src/structify.cpp | bryanpeele/3d-struct | bc66ad0e6bd916d6e2f707a10f658ebfc2706efa | [
"MIT"
] | null | null | null | src/geometry/src/structify.cpp | bryanpeele/3d-struct | bc66ad0e6bd916d6e2f707a10f658ebfc2706efa | [
"MIT"
] | null | null | null | src/geometry/src/structify.cpp | bryanpeele/3d-struct | bc66ad0e6bd916d6e2f707a10f658ebfc2706efa | [
"MIT"
] | null | null | null | #include "structify.h"
#include <cmath>
#include <iostream>
#include "Open3D/Open3D.h"
#include "math_util.h"
namespace magnus {
namespace geom {
Structify::Structify(const StructifyConfig &config, const Graph3d &graph)
: config_(config), graph_(graph) {
Build();
}
const std::vector<Point3d> &Structify::Poi... | 33.530864 | 95 | 0.679308 | [
"mesh",
"geometry",
"vector"
] |
6eb956915688c64d2da69a56a53ed32a5100bfd3 | 1,146 | hpp | C++ | XGF/Include/Geometry/Geometry.hpp | kadds/XGF | 610c98a93c0f287546f97efc654b95dc846721ad | [
"MIT"
] | 5 | 2017-11-09T05:02:52.000Z | 2020-06-23T09:50:25.000Z | XGF/Include/Geometry/Geometry.hpp | kadds/XGF | 610c98a93c0f287546f97efc654b95dc846721ad | [
"MIT"
] | null | null | null | XGF/Include/Geometry/Geometry.hpp | kadds/XGF | 610c98a93c0f287546f97efc654b95dc846721ad | [
"MIT"
] | null | null | null | #pragma once
#include "../Defines.hpp"
#include "../Shape.hpp"
#include <functional>
namespace XGF
{
class PolygonPleBinder;
template<typename T>
class PolygonPleDataBinder;
typedef PolygonPleDataBinder<Point> PolygonPleNormalBinder;
typedef PolygonPleDataBinder<Point2> PolygonPleTextureBinder;
namespace Shape
... | 26.045455 | 88 | 0.707679 | [
"geometry",
"shape",
"vector"
] |
6ebcb66e92946bd39d351146621a4c3d2c6f9106 | 1,141 | hpp | C++ | src/AtomEnergyGrid.hpp | akiyamalab/restretto | bc683bbb06fc5c1e4eb9f8c8d32ddddaac8f6c5b | [
"MIT"
] | null | null | null | src/AtomEnergyGrid.hpp | akiyamalab/restretto | bc683bbb06fc5c1e4eb9f8c8d32ddddaac8f6c5b | [
"MIT"
] | 2 | 2020-06-11T21:48:29.000Z | 2020-06-11T22:02:04.000Z | src/AtomEnergyGrid.hpp | akiyamalab/restretto | bc683bbb06fc5c1e4eb9f8c8d32ddddaac8f6c5b | [
"MIT"
] | null | null | null | #include "common.hpp"
#include "Atom.hpp"
#include "EnergyGrid.hpp"
#include "EnergyCalculator.hpp"
#ifndef ATOM_ENERGY_GRID_H_
#define ATOM_ENERGY_GRID_H_
namespace fragdock {
class AtomEnergyGrid : public EnergyGrid {
int xs_type;
public:
AtomEnergyGrid() {}
AtomEnergyGrid(const std::string &filename... | 39.344828 | 117 | 0.595092 | [
"vector"
] |
6ec774c7ef2223222030458c9a3f25c8402724da | 2,298 | hh | C++ | Source/Visualization/CVCanvas.hh | vibraphone/Delaunay | 9be71fd06f6ded522de28cedc718e70b7ceee6c4 | [
"BSD-3-Clause"
] | null | null | null | Source/Visualization/CVCanvas.hh | vibraphone/Delaunay | 9be71fd06f6ded522de28cedc718e70b7ceee6c4 | [
"BSD-3-Clause"
] | null | null | null | Source/Visualization/CVCanvas.hh | vibraphone/Delaunay | 9be71fd06f6ded522de28cedc718e70b7ceee6c4 | [
"BSD-3-Clause"
] | null | null | null | /******************************************************************************
This source file is part of the Delaunay project.
Copyright T.J. Corona
This source code is released under the New BSD License, (the "License").
Unless required by applicable law or agreed to in writing, software
distributed u... | 23.9375 | 79 | 0.681897 | [
"shape"
] |
6ed272d6fa3d3ecba056c8a02cf011fcb8b3a7d0 | 3,960 | cpp | C++ | Client/Network.cpp | jplflyer/QtWeb-Tutorial | 01c19e5089a0d4da944211e42359df29a4ad9372 | [
"MIT"
] | 1 | 2021-03-19T14:18:40.000Z | 2021-03-19T14:18:40.000Z | Client/Network.cpp | jplflyer/QtWeb-Tutorial | 01c19e5089a0d4da944211e42359df29a4ad9372 | [
"MIT"
] | null | null | null | Client/Network.cpp | jplflyer/QtWeb-Tutorial | 01c19e5089a0d4da944211e42359df29a4ad9372 | [
"MIT"
] | null | null | null |
#include <QtCore>
#include <QCryptographicHash>
#include "Network.h"
QNetworkAccessManager manager;
Network::Network()
{
}
Network::~Network()
{
}
/**
* Set the header Authorization: Basic <hash>.
*/
void
Network::setAuthorization(QNetworkRequest &request, const QString &username, const QString &pw) {
QStri... | 26.4 | 97 | 0.661869 | [
"object",
"vector"
] |
6ed58789c1834b7652149e65c2f7d11f82f6e778 | 14,539 | cpp | C++ | main.cpp | Quadante/dijkstra-shortest-path | 525e790c92a05c574c3e1929bf93790729a08855 | [
"MIT"
] | 1 | 2021-07-13T21:44:58.000Z | 2021-07-13T21:44:58.000Z | main.cpp | Quadante/dijkstra-shortest-path | 525e790c92a05c574c3e1929bf93790729a08855 | [
"MIT"
] | null | null | null | main.cpp | Quadante/dijkstra-shortest-path | 525e790c92a05c574c3e1929bf93790729a08855 | [
"MIT"
] | null | null | null | /******INCLUDE*****/
#include <iostream>
#include <utility>
#include <vector>
#include <string>
#include <regex>
#include <bits/stdc++.h>
#include <limits>
/******************/
#define DEBUG false
class Step{
public:
std::string route;
std::vector <int> shortestPaths;
std::vector <std::str... | 36.530151 | 132 | 0.543435 | [
"vector"
] |
6edb82fa1da40d7f68847d89ca01757345250ef3 | 12,510 | cpp | C++ | tests/wifi_standard/wifi_framework/wifi_manage/wifi_sta/sta_interface_test.cpp | openharmony-gitee-mirror/communication_wifi | de1ca7ecb2b61d2385f6450fdadab7df9d3a4e37 | [
"Apache-2.0"
] | 1 | 2021-12-03T14:28:10.000Z | 2021-12-03T14:28:10.000Z | tests/wifi_standard/wifi_framework/wifi_manage/wifi_sta/sta_interface_test.cpp | openharmony-gitee-mirror/communication_wifi | de1ca7ecb2b61d2385f6450fdadab7df9d3a4e37 | [
"Apache-2.0"
] | null | null | null | tests/wifi_standard/wifi_framework/wifi_manage/wifi_sta/sta_interface_test.cpp | openharmony-gitee-mirror/communication_wifi | de1ca7ecb2b61d2385f6450fdadab7df9d3a4e37 | [
"Apache-2.0"
] | 1 | 2021-09-13T11:18:00.000Z | 2021-09-13T11:18:00.000Z | /*
* Copyright (C) 2021 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 29.228972 | 108 | 0.730136 | [
"vector"
] |
6ee229446a7bd1770013252c10c4f9988707b3b1 | 2,802 | cpp | C++ | src/population.cpp | markusport/npm | 8511a6dbf26fba065991868401339f8603b394a9 | [
"MIT"
] | null | null | null | src/population.cpp | markusport/npm | 8511a6dbf26fba065991868401339f8603b394a9 | [
"MIT"
] | null | null | null | src/population.cpp | markusport/npm | 8511a6dbf26fba065991868401339f8603b394a9 | [
"MIT"
] | null | null | null | /*! \file population.cpp
* \brief Definition the population in the natal philopatry model
*/
#include <algorithm>
#include "population.h"
namespace npm {
Population::Population(Parameter const& param)
{
auto M = static_cast<size_t>(std::ceil((param.m0 * param.m / 100.0)));
auto Default = Individual(par... | 28.02 | 118 | 0.62848 | [
"model"
] |
6efa739fbed6f6503e58644911c466930f3f9199 | 4,140 | cpp | C++ | src/MagSpoof.cpp | shiv213/MagSpoof | 259596c0fe4658af2336ceb3b4637eb6f5136879 | [
"MIT"
] | 3 | 2022-02-16T06:46:49.000Z | 2022-02-17T19:07:20.000Z | src/MagSpoof.cpp | shiv213/MagSpoof | 259596c0fe4658af2336ceb3b4637eb6f5136879 | [
"MIT"
] | null | null | null | src/MagSpoof.cpp | shiv213/MagSpoof | 259596c0fe4658af2336ceb3b4637eb6f5136879 | [
"MIT"
] | null | null | null | #include "LittleFS.h"
#include <Arduino.h>
#include <Dictionary.h>
#include <ESP8266WebServer.h>
#include <ESP8266WiFi.h>
#include <WiFiManager.h>
void setPolarity(int polarity);
void playBit(int bit);
#define PIN_A 14
#define PIN_B 12
#define ENABLE_PIN 2
#define CLOCK_US 400
#define BETWEEN_ZERO 53
int polarity = ... | 24.210526 | 79 | 0.589372 | [
"vector"
] |
3e0c788d141af7b1556aa5cb7afe257b34f14bca | 109,441 | cpp | C++ | unit/graphic/unittest_graphic.cpp | tschaffter/apl-core-library | 3a05342ba0fa2432c320476795c13e8cd990e8ee | [
"Apache-2.0"
] | 28 | 2019-11-05T12:23:01.000Z | 2022-03-22T10:01:53.000Z | unit/graphic/unittest_graphic.cpp | alexa/apl-core-library | b0859273851c4f62290d1f85c42bf22eb087fb35 | [
"Apache-2.0"
] | 7 | 2020-03-28T12:44:08.000Z | 2022-01-23T17:02:27.000Z | unit/graphic/unittest_graphic.cpp | tschaffter/apl-core-library | 3a05342ba0fa2432c320476795c13e8cd990e8ee | [
"Apache-2.0"
] | 15 | 2019-12-25T10:15:52.000Z | 2021-12-30T03:50:00.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0/
*
* or in the "license" ... | 31.593822 | 479 | 0.604198 | [
"object",
"shape",
"vector",
"transform"
] |
3e11839b34244b50e5d8e5af91fad37d80f3c755 | 1,688 | cpp | C++ | etc/compptr2.cpp | angusoutlook/OOProgrammingInCpp | 42c66b2652d4814e4f8b31d060189bd853cce416 | [
"FSFAP"
] | null | null | null | etc/compptr2.cpp | angusoutlook/OOProgrammingInCpp | 42c66b2652d4814e4f8b31d060189bd853cce416 | [
"FSFAP"
] | null | null | null | etc/compptr2.cpp | angusoutlook/OOProgrammingInCpp | 42c66b2652d4814e4f8b31d060189bd853cce416 | [
"FSFAP"
] | null | null | null | /* The following code example is taken from the book
* "Object-Oriented Programming in C++"
* by Nicolai M. Josuttis, Wiley, 2002
*
* (C) Copyright Nicolai M. Josuttis 2002.
* Permission to copy, use, modify, sell and distribute this software
* is granted provided this copyright notice appears in all copies.
* T... | 25.969231 | 69 | 0.672986 | [
"object"
] |
3e1852f3bdb6f43554eed6d35a450cd7859ba346 | 4,864 | cc | C++ | src/SpriteDecoders/Ambrosia-btSP-HrSp.cc | fuzziqersoftware/realmz_dasm | fbfa118de5f232fd7169fbff13d434164a67ee90 | [
"MIT"
] | 1 | 2018-03-20T13:06:16.000Z | 2018-03-20T13:06:16.000Z | src/SpriteDecoders/Ambrosia-btSP-HrSp.cc | fuzziqersoftware/realmz_dasm | fbfa118de5f232fd7169fbff13d434164a67ee90 | [
"MIT"
] | null | null | null | src/SpriteDecoders/Ambrosia-btSP-HrSp.cc | fuzziqersoftware/realmz_dasm | fbfa118de5f232fd7169fbff13d434164a67ee90 | [
"MIT"
] | null | null | null | #include "Decoders.hh"
#include <phosg/Filesystem.hh>
#include <phosg/Image.hh>
#include <phosg/Strings.hh>
#include <stdexcept>
using namespace std;
Image decode_btSP(const string& data, const vector<ColorTableEntry>& clut) {
if (data.size() < 8) {
throw invalid_argument("not enough data");
... | 24.816327 | 92 | 0.509252 | [
"vector"
] |
3e1b00efd7d14d883441518528f24d13c6dc2f50 | 4,348 | cpp | C++ | blades/freelan/libs/asiotap/src/windows/netsh.cpp | krattai/AEBL | a7b12c97479e1236d5370166b15ca9f29d7d4265 | [
"BSD-2-Clause"
] | 4 | 2016-04-26T03:43:54.000Z | 2016-11-17T08:09:04.000Z | blades/freelan/libs/asiotap/src/windows/netsh.cpp | krattai/AEBL | a7b12c97479e1236d5370166b15ca9f29d7d4265 | [
"BSD-2-Clause"
] | 17 | 2015-01-05T21:06:22.000Z | 2015-12-07T20:45:44.000Z | blades/freelan/libs/asiotap/src/windows/netsh.cpp | krattai/AEBL | a7b12c97479e1236d5370166b15ca9f29d7d4265 | [
"BSD-2-Clause"
] | 3 | 2016-04-26T03:43:55.000Z | 2020-11-06T11:02:08.000Z | /*
* libasiotap - A portable TAP adapter extension for Boost::ASIO.
* Copyright (C) 2010-2011 Julien KAUFFMANN <julien.kauffmann@freelan.org>
*
* This file is part of libasiotap.
*
* libasiotap is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as
* pu... | 31.280576 | 122 | 0.720791 | [
"vector"
] |
4a4b1156e6bcb4036a0ff89bf1f1509a24e4c6d1 | 4,177 | cpp | C++ | source/test/random-xoshiro-test.cpp | CaptainCrowbar/rs-sci | 40768e7665c555f28e4b0ca2b1c2d1fa2da9775a | [
"BSL-1.0"
] | null | null | null | source/test/random-xoshiro-test.cpp | CaptainCrowbar/rs-sci | 40768e7665c555f28e4b0ca2b1c2d1fa2da9775a | [
"BSL-1.0"
] | null | null | null | source/test/random-xoshiro-test.cpp | CaptainCrowbar/rs-sci | 40768e7665c555f28e4b0ca2b1c2d1fa2da9775a | [
"BSL-1.0"
] | null | null | null | #include "rs-sci/random-engines.hpp"
#include "rs-unit-test.hpp"
#include <vector>
using namespace RS::Sci;
using namespace RS::Sci::Detail;
void test_rs_sci_random_splitmix64() {
static const std::vector<uint64_t> expect = {
0xe220'a839'7b1d'cdafull, 0x6e78'9e6a'a1b9'65f4ull, 0x06c4'5d18'8009'454full, 0... | 60.536232 | 111 | 0.727316 | [
"vector"
] |
4a4c26d86c46dbbc895173c542ec9040df83b7b0 | 21,708 | cpp | C++ | cpp/rte/kernels/mo_optical_props_kernels.cpp | E3SM-Project/rte-rrtmgp | bc2d53a53d5580e2828c1a524e43a30d90162ff8 | [
"BSD-3-Clause"
] | 2 | 2020-06-18T19:54:23.000Z | 2020-06-28T01:50:47.000Z | cpp/rte/kernels/mo_optical_props_kernels.cpp | E3SM-Project/rte-rrtmgp | bc2d53a53d5580e2828c1a524e43a30d90162ff8 | [
"BSD-3-Clause"
] | 4 | 2021-03-25T02:56:47.000Z | 2021-07-09T21:38:24.000Z | cpp/rte/kernels/mo_optical_props_kernels.cpp | E3SM-Project/rte-rrtmgp | bc2d53a53d5580e2828c1a524e43a30d90162ff8 | [
"BSD-3-Clause"
] | null | null | null |
#include "mo_optical_props_kernels.h"
// increment 2stream by 2stream
void inc_2stream_by_2stream_bybnd(int ncol, int nlay, int ngpt,
real3d &tau1, real3d &ssa1, real3d &g1,
real3d const &tau2, real3d const &ssa2, real3d const &g2... | 42.315789 | 132 | 0.587525 | [
"3d"
] |
4a4d5afee8880e41f1cd56a09f043b8c4757a59e | 3,126 | cpp | C++ | test/Android/OpenGLTest/src/OpenGLTest.cpp | rsh/Cinder-Emscripten | 4a08250c56656865c7c3a52fb9380980908b1439 | [
"BSD-2-Clause"
] | 3,494 | 2015-01-02T08:42:09.000Z | 2022-03-31T14:16:23.000Z | test/Android/OpenGLTest/src/OpenGLTest.cpp | rsh/Cinder-Emscripten | 4a08250c56656865c7c3a52fb9380980908b1439 | [
"BSD-2-Clause"
] | 1,284 | 2015-01-02T07:31:47.000Z | 2022-03-30T02:06:43.000Z | test/Android/OpenGLTest/src/OpenGLTest.cpp | rsh/Cinder-Emscripten | 4a08250c56656865c7c3a52fb9380980908b1439 | [
"BSD-2-Clause"
] | 780 | 2015-01-02T22:14:29.000Z | 2022-03-30T00:16:56.000Z | #include "cinder/app/App.h"
#include "cinder/app/RendererGl.h"
#include "cinder/gl/Fbo.h"
#include "cinder/gl/Texture.h"
#include "cinder/Log.h"
#include <list>
using namespace ci;
using namespace ci::app;
using namespace std;
// We'll create a new Cinder Application by deriving from the App class
class OpenGLTest : ... | 30.950495 | 167 | 0.703135 | [
"vector"
] |
4a62acadd9d626fffc334901ab2249539626915e | 5,196 | cpp | C++ | src/test.cpp | ivan100sic/snippets-cpp | 8f3314c59878b4b12d3c80d825472ac07997c855 | [
"Unlicense"
] | null | null | null | src/test.cpp | ivan100sic/snippets-cpp | 8f3314c59878b4b12d3c80d825472ac07997c855 | [
"Unlicense"
] | null | null | null | src/test.cpp | ivan100sic/snippets-cpp | 8f3314c59878b4b12d3c80d825472ac07997c855 | [
"Unlicense"
] | null | null | null | // Linux only.
#include <cstdlib>
#include <iostream>
#include <vector>
#include <string>
#include <thread>
#include <queue>
#include <functional>
#include <condition_variable>
#include <atomic>
#include "split.h"
class ThreadPool {
std::vector<std::thread> m_threads;
std::queue<std::function<void()>> m_task... | 30.209302 | 127 | 0.488068 | [
"vector"
] |
4a62f59969488b13e8f6439e36d5e4f0b772be87 | 7,299 | hpp | C++ | src/tests/hexpi/cxx/copy_ptr.hpp | khzmk/repo1 | 8592061652dbf88fddfca9b65a6a12a01d9e3b47 | [
"MIT"
] | null | null | null | src/tests/hexpi/cxx/copy_ptr.hpp | khzmk/repo1 | 8592061652dbf88fddfca9b65a6a12a01d9e3b47 | [
"MIT"
] | null | null | null | src/tests/hexpi/cxx/copy_ptr.hpp | khzmk/repo1 | 8592061652dbf88fddfca9b65a6a12a01d9e3b47 | [
"MIT"
] | null | null | null | //-*-Mode:C++;coding:utf-8;tab-width:4;c-basic-offset:4;indent-tabs-mode:()-*-
// ex: set ft=cpp fenc=utf-8 sts=4 ts=4 sw=4 et:
//
// MIT License
//
// Copyright (c) 2009-2017 Michael Truog <mjtruog at protonmail dot com>
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this soft... | 33.791667 | 78 | 0.579942 | [
"object"
] |
4a671cbb264cf33a3dc0d0dca90cb8f565e0e464 | 4,696 | cpp | C++ | com/oleutest/simpdnd/tests.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | com/oleutest/simpdnd/tests.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | com/oleutest/simpdnd/tests.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | //+-------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1992 - 1993.
//
// File: tests.cpp
//
// Contents: Implementations of the Upper Layer unit tests
//
// Classes:
//
// Functions: StartTest1
//
// History: ... | 23.59799 | 79 | 0.581772 | [
"object"
] |
4a71ee3ef096e0014d0456f9d33ab7d93f236c98 | 3,209 | cpp | C++ | src/easyMesh.cpp | vaap07/easyMesh | 9d76db7ed3ae50a8de983146bfcec148789837b6 | [
"MIT"
] | 515 | 2016-08-23T18:05:08.000Z | 2022-03-24T19:33:26.000Z | src/easyMesh.cpp | vaap07/easyMesh | 9d76db7ed3ae50a8de983146bfcec148789837b6 | [
"MIT"
] | 505 | 2020-12-29T20:33:09.000Z | 2021-01-19T14:28:45.000Z | src/easyMesh.cpp | vaap07/easyMesh | 9d76db7ed3ae50a8de983146bfcec148789837b6 | [
"MIT"
] | 152 | 2016-08-25T00:18:20.000Z | 2022-02-03T13:17:32.000Z | #include <Arduino.h>
#include <ArduinoJson.h>
#include <SimpleList.h>
extern "C" {
#include "user_interface.h"
#include "espconn.h"
}
#include "easyMesh.h"
#include "easyMeshSync.h"
easyMesh* staticThis;
uint16_t count = 0;
// general functions
//******************************************************************... | 33.427083 | 113 | 0.597694 | [
"object"
] |
4a7726688b1d79498d48736f4a99ca796d55a278 | 51,693 | cc | C++ | oneM2MTester/src/Functions/OneM2M_long2short_Enc.cc | kranian/oneM2MTester | da4aa6fe9344f30d8bddb8052c5179ef8a422c5c | [
"BSD-3-Clause"
] | 9 | 2017-07-20T06:11:27.000Z | 2020-10-06T03:56:49.000Z | oneM2MTester/src/Functions/OneM2M_long2short_Enc.cc | kranian/oneM2MTester | da4aa6fe9344f30d8bddb8052c5179ef8a422c5c | [
"BSD-3-Clause"
] | 2 | 2018-10-24T06:41:36.000Z | 2019-07-17T02:24:32.000Z | oneM2MTester/src/Functions/OneM2M_long2short_Enc.cc | kranian/oneM2MTester | da4aa6fe9344f30d8bddb8052c5179ef8a422c5c | [
"BSD-3-Clause"
] | 10 | 2017-08-30T07:45:03.000Z | 2021-04-03T20:59:26.000Z | /****************************************************************************************
* Copyright (c) 2017 Korea Electronics Technology Institute. *
* All rights reserved. This program and the accompanying materials *
* are made available under the terms of ... | 31.771973 | 163 | 0.63705 | [
"object",
"vector"
] |
4a78bf3aa0d962cf251dec6c7f8008442bd81e14 | 1,973 | hpp | C++ | OpenTimer/ot/timer/sfxt.hpp | Ace-Ma/LSOracle | 6e940906303ef6c2c6b96352f44206567fdd50d3 | [
"MIT"
] | null | null | null | OpenTimer/ot/timer/sfxt.hpp | Ace-Ma/LSOracle | 6e940906303ef6c2c6b96352f44206567fdd50d3 | [
"MIT"
] | null | null | null | OpenTimer/ot/timer/sfxt.hpp | Ace-Ma/LSOracle | 6e940906303ef6c2c6b96352f44206567fdd50d3 | [
"MIT"
] | null | null | null | #ifndef OT_TIMER_SFXT_HPP_
#define OT_TIMER_SFXT_HPP_
#include <ot/headerdef.hpp>
#include <ot/static/logger.hpp>
namespace ot {
// Class: SfxtCache
// The internal thread-local storage to construct suffix tree for
// path-based timing analysis. The suffix tree is a shortest path tree
// generated from an endpoint... | 24.974684 | 99 | 0.648251 | [
"vector"
] |
4aab53a3efa3e69f7b3d35fe88bf5fde7f66b250 | 7,423 | cpp | C++ | src/Statistics.cpp | petedishman/RayTracer | b073f3f9db6838a1b1291ae7f34db20ce134c3ed | [
"MIT"
] | null | null | null | src/Statistics.cpp | petedishman/RayTracer | b073f3f9db6838a1b1291ae7f34db20ce134c3ed | [
"MIT"
] | 1 | 2018-11-23T04:57:30.000Z | 2018-11-26T11:41:08.000Z | src/Statistics.cpp | petedishman/RayTracer | b073f3f9db6838a1b1291ae7f34db20ce134c3ed | [
"MIT"
] | null | null | null | // Statistics.cpp: implementation of the CStatistics class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "RayTracer.h"
#include "RayTracing.h" // includes "Statistics.h" in here
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG... | 20.851124 | 138 | 0.645965 | [
"render"
] |
4aadd050c684f5e52ee5a8997e915557b3844732 | 6,418 | cpp | C++ | AtCoder/ABC129/F.cpp | TISparta/competitive-programming-solutions | 31987d4e67bb874bf15653565c6418b5605a20a8 | [
"MIT"
] | 1 | 2018-01-30T13:21:30.000Z | 2018-01-30T13:21:30.000Z | AtCoder/ABC129/F.cpp | TISparta/competitive-programming-solutions | 31987d4e67bb874bf15653565c6418b5605a20a8 | [
"MIT"
] | null | null | null | AtCoder/ABC129/F.cpp | TISparta/competitive-programming-solutions | 31987d4e67bb874bf15653565c6418b5605a20a8 | [
"MIT"
] | 1 | 2018-08-29T13:26:50.000Z | 2018-08-29T13:26:50.000Z | // Tags: Matrix Exponenciation
// Difficulty: 5.8
// Priority: 1
// Date: 12-09-2021
#include <bits/stdc++.h>
#define all(A) begin(A), end(A)
#define rall(A) rbegin(A), rend(A)
#define sz(A) int(A.size())
#define pb push_back
#define eb emplace_back
#define mp make_pair
#define mt make_tuple
using namespace std... | 27.545064 | 108 | 0.544406 | [
"vector"
] |
4ab18bc5876ed60bb2e2c739584226250b01d07d | 381 | hpp | C++ | Source/Lib/Public/Save.hpp | ankarako/SMPLTools | 52f9e809484217e4249910120532fa1facb796a3 | [
"MIT"
] | 1 | 2020-10-22T03:12:43.000Z | 2020-10-22T03:12:43.000Z | Source/Lib/Public/Save.hpp | ankarako/SMPLTools | 52f9e809484217e4249910120532fa1facb796a3 | [
"MIT"
] | null | null | null | Source/Lib/Public/Save.hpp | ankarako/SMPLTools | 52f9e809484217e4249910120532fa1facb796a3 | [
"MIT"
] | null | null | null | #ifndef __LIB_PUBLIC_SAVE_HPP__
#define __LIB_PUBLIC_SAVE_HPP__
#include <Model.hpp>
#include <string>
namespace smpl {
/// \brief Save an SMPLModel as an FBX file
/// \param filepath The path to save the fbx file
/// \param model The smpl model to save
void SaveFBX(const std::string& filepath, const SMPLModel& mode... | 29.307692 | 66 | 0.753281 | [
"model"
] |
4ab339ee18601a69a820d74f56c15560beec3a06 | 2,020 | cpp | C++ | ACM-ICPC/Graph_th/MST_Kruskal/main.cpp | GeorgianBadita/algorithmic-problems | 6b260050b7a1768b5e47a1d7d4ef7138a52db210 | [
"MIT"
] | 1 | 2021-07-05T16:32:14.000Z | 2021-07-05T16:32:14.000Z | ACM-ICPC/Graph_th/MST_Kruskal/main.cpp | GeorgianBadita/algorithmic-problems | 6b260050b7a1768b5e47a1d7d4ef7138a52db210 | [
"MIT"
] | null | null | null | ACM-ICPC/Graph_th/MST_Kruskal/main.cpp | GeorgianBadita/algorithmic-problems | 6b260050b7a1768b5e47a1d7d4ef7138a52db210 | [
"MIT"
] | 1 | 2021-05-14T15:40:09.000Z | 2021-05-14T15:40:09.000Z | /*
* Supr*
* Minimum Spanning Tree - Kruskal's algorithm O(E*logE + V*logV)
*/
#include <fstream>
#include <vector>
#include <algorithm>
#define VMAX 200005
#define pb push_back
using std::ifstream;
using std::ofstream;
using std::vector;
using std::sort;
/*
* File declaration
*/
ifstream in("ap... | 18.198198 | 86 | 0.499505 | [
"vector"
] |
4ab5fac494628d2888550c8b1d2086e48bd2fb8e | 7,002 | cc | C++ | voxblox/test/test_merge_integration.cc | SJamieson/voxblox | 90a2d4f347d65ef2aa5c3986e67c382e712cdd70 | [
"BSD-3-Clause"
] | 827 | 2017-04-22T17:25:03.000Z | 2022-03-31T19:03:58.000Z | voxblox/test/test_merge_integration.cc | SJamieson/voxblox | 90a2d4f347d65ef2aa5c3986e67c382e712cdd70 | [
"BSD-3-Clause"
] | 243 | 2017-04-21T19:49:37.000Z | 2022-03-22T14:03:05.000Z | voxblox/test/test_merge_integration.cc | SJamieson/voxblox | 90a2d4f347d65ef2aa5c3986e67c382e712cdd70 | [
"BSD-3-Clause"
] | 288 | 2017-04-26T10:41:20.000Z | 2022-03-27T11:31:47.000Z | #include <gtest/gtest.h>
#include "voxblox/Block.pb.h"
#include "voxblox/Layer.pb.h"
#include "voxblox/core/block.h"
#include "voxblox/core/layer.h"
#include "voxblox/core/voxel.h"
#include "voxblox/integrator/merge_integration.h"
#include "voxblox/io/layer_io.h"
#include "voxblox/io/mesh_ply.h"
#include "voxblox/io/s... | 39.559322 | 80 | 0.710511 | [
"object",
"transform"
] |
4ab8f5aeb25c8b89b4bf54c39009304b58bca7e6 | 3,038 | cpp | C++ | SuffixRotation/SuffixRotation.cpp | HPCCS/Computation-Kernel-Dataset | 5a184c7846c1abff39426a7f53fb837de8ba36e3 | [
"MIT"
] | 1 | 2019-05-03T19:37:24.000Z | 2019-05-03T19:37:24.000Z | SuffixRotation/SuffixRotation.cpp | HPCCS/Computation-Kernel-Dataset | 5a184c7846c1abff39426a7f53fb837de8ba36e3 | [
"MIT"
] | null | null | null | SuffixRotation/SuffixRotation.cpp | HPCCS/Computation-Kernel-Dataset | 5a184c7846c1abff39426a7f53fb837de8ba36e3 | [
"MIT"
] | null | null | null | // https://www.hackerrank.com/contests/w28/challenges/suffix-rotation
#include <bits/stdc++.h>
//
#include <cmath>
#include <cstdio>
#include <cstring>
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;
typedef long long ll;
int d[32][1024];
string sc[32];
int ng[32];
int nci[32][1024];
ve... | 23.19084 | 93 | 0.343647 | [
"vector"
] |
385892e67b6ef5ba9eda16b9fe650cf6b883874a | 37,048 | cc | C++ | aku/HmmSet.cc | lingsoft/AaltoASR | 40343e215a6cf1b7d5ed41a53095495567b0ab01 | [
"BSD-3-Clause"
] | 78 | 2015-01-07T14:33:47.000Z | 2022-03-15T09:01:30.000Z | aku/HmmSet.cc | ufukhurriyetoglu/AaltoASR | 02b23d374ab9be9b0fd5d8159570b509ede066f3 | [
"BSD-3-Clause"
] | 4 | 2015-05-19T13:00:34.000Z | 2016-07-26T12:29:32.000Z | aku/HmmSet.cc | ufukhurriyetoglu/AaltoASR | 02b23d374ab9be9b0fd5d8159570b509ede066f3 | [
"BSD-3-Clause"
] | 32 | 2015-01-16T08:16:24.000Z | 2021-04-02T21:26:22.000Z | #include <assert.h>
#include <iostream>
#include <fstream>
#include <math.h>
#include <algorithm>
#include "HmmSet.hh"
#include "FeatureModules.hh"
#include "util.hh"
#include "str.hh"
namespace aku {
void
Hmm::resize(int states)
{
m_states.resize(states);
}
std::string
Hmm::get_center_phone()
{
int pos1 = lab... | 26.749458 | 172 | 0.61971 | [
"vector",
"transform"
] |
385b4df9d8717d42c276f48e69b0389f30192185 | 40,509 | hpp | C++ | include/BinaryOptionsEasy.hpp | NewYaroslav/binary-cpp-api | 1bc32ca0e66a0b1cb892be666dda9a695920b0a7 | [
"MIT"
] | 8 | 2019-09-06T04:47:55.000Z | 2022-03-20T12:16:49.000Z | include/BinaryOptionsEasy.hpp | NewYaroslav/binary-cpp-api | 1bc32ca0e66a0b1cb892be666dda9a695920b0a7 | [
"MIT"
] | 5 | 2018-11-29T17:30:46.000Z | 2019-01-27T19:47:24.000Z | include/BinaryOptionsEasy.hpp | NewYaroslav/binary-cpp-api | 1bc32ca0e66a0b1cb892be666dda9a695920b0a7 | [
"MIT"
] | 9 | 2019-09-05T15:12:08.000Z | 2022-01-28T12:28:38.000Z | /*
* binary-cpp-api - Binary C++ API client
*
* Copyright (c) 2018 Elektro Yar. Email: git.electroyar@gmail.com
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, includin... | 55.264666 | 155 | 0.405589 | [
"vector"
] |
385b90a73b52c5f64d94755256f412db98f06690 | 399 | cpp | C++ | atcoder/abc067/b.cpp | yuik46/competition_programming_code | 0c47db99ce7fb9bcf6e3b0dbfb8c84d9cfa165fd | [
"MIT"
] | null | null | null | atcoder/abc067/b.cpp | yuik46/competition_programming_code | 0c47db99ce7fb9bcf6e3b0dbfb8c84d9cfa165fd | [
"MIT"
] | null | null | null | atcoder/abc067/b.cpp | yuik46/competition_programming_code | 0c47db99ce7fb9bcf6e3b0dbfb8c84d9cfa165fd | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
#include <vector>
#include <algorithm>
using namespace std;
int main(){
int n;
int k;
cin >> n >> k;
vector<int> l(n);
int result = 0;
for(int i = 0; i < n; i++){
cin >> l[i];
}
sort(l.begin(), l.end(), greater<int>());
for(int i = 0; i... | 18.136364 | 45 | 0.486216 | [
"vector"
] |
3867b85d6fb61d1ea985be0110b33e480f0f33fd | 2,498 | cpp | C++ | src/otter_i.cpp | xuenhappy/otter | 9d1cb36108d5c566d3cb3bb09cc155c0d86e2b95 | [
"Apache-2.0"
] | 7 | 2019-01-17T07:58:09.000Z | 2020-11-17T08:47:47.000Z | src/otter_i.cpp | xuenhappy/otter | 9d1cb36108d5c566d3cb3bb09cc155c0d86e2b95 | [
"Apache-2.0"
] | null | null | null | src/otter_i.cpp | xuenhappy/otter | 9d1cb36108d5c566d3cb3bb09cc155c0d86e2b95 | [
"Apache-2.0"
] | 1 | 2020-12-22T12:58:15.000Z | 2020-12-22T12:58:15.000Z | #include "otter_i.h"
#include "otter.h"
#include <list>
#include <string>
#include <stdio.h>
#include <string.h>
#include <enchant/enchant.h>
#include <map>
size_t MAX_SEG_LEN=30000;
struct seg_dict{
trie_ptr dict;
std::map<std::string,float> *single_data;
EnchantBroker *en_broker;
EnchantDict *en_dict... | 25.232323 | 106 | 0.671737 | [
"vector"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.