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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
435ff3174248bfe89a5bc43622a3e57b8eda0030 | 6,497 | cc | C++ | Alignment/CocoaFit/src/FittedEntriesSet.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | Alignment/CocoaFit/src/FittedEntriesSet.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | Alignment/CocoaFit/src/FittedEntriesSet.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | // COCOA class implementation file
//Id: FittedEntriesSet.cc
//CAT: Model
//
// History: v1.0
// Pedro Arce
#include <fstream>
#include <map>
#include "Alignment/CocoaFit/interface/FittedEntriesSet.h"
#include "Alignment/CocoaModel/interface/Model.h"
#include "Alignment/CocoaModel/interface/Measureme... | 38.672619 | 167 | 0.558104 | [
"vector",
"model"
] |
4360980ba6afaf23fd8326360becd9918a4ed443 | 12,740 | cc | C++ | api/video_codecs/video_encoder_software_fallback_wrapper.cc | 18165/webrtc | b118d428499844749df6dd28aa3dbc8d5e1484fe | [
"BSD-3-Clause"
] | 2 | 2019-08-06T16:33:09.000Z | 2020-05-01T09:23:18.000Z | api/video_codecs/video_encoder_software_fallback_wrapper.cc | lyapple2008/webrtc_simplify | c4f9bdc72d8e2648c4f4b1934d22ae94a793b553 | [
"BSD-3-Clause"
] | null | null | null | api/video_codecs/video_encoder_software_fallback_wrapper.cc | lyapple2008/webrtc_simplify | c4f9bdc72d8e2648c4f4b1934d22ae94a793b553 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | 34.339623 | 80 | 0.72967 | [
"vector"
] |
cb1a63783537fa34e05a210ee6ed3ad074b60929 | 4,756 | cpp | C++ | src/code/BinaryFileParser.cpp | zoloypzuo/ZeloPy | 43d9242a509737fe1bb66deba73aa9e749b53c62 | [
"MIT"
] | null | null | null | src/code/BinaryFileParser.cpp | zoloypzuo/ZeloPy | 43d9242a509737fe1bb66deba73aa9e749b53c62 | [
"MIT"
] | null | null | null | src/code/BinaryFileParser.cpp | zoloypzuo/ZeloPy | 43d9242a509737fe1bb66deba73aa9e749b53c62 | [
"MIT"
] | null | null | null | // BinaryFileParser.cpp
// created on 2020/2/26
// author @zoloypzuo
#include "BinaryFileParser.h"
BinaryFileParser::BinaryFileParser(BufferedInputStream *buf_file_stream) {
file_stream = buf_file_stream;
}
CodeObject *BinaryFileParser::parse() {
int magic_number = file_stream->read_int();
printf("magic ... | 25.031579 | 97 | 0.58095 | [
"object"
] |
cb1ac4fbddf3f7bdef1db83f559868fe986e0f18 | 1,427 | hpp | C++ | include/codegen/include/GlobalNamespace/ObjectiveListItemsList.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 1 | 2021-11-12T09:29:31.000Z | 2021-11-12T09:29:31.000Z | include/codegen/include/GlobalNamespace/ObjectiveListItemsList.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | null | null | null | include/codegen/include/GlobalNamespace/ObjectiveListItemsList.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 2 | 2021-10-03T02:14:20.000Z | 2021-11-12T09:29:36.000Z | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
#pragma pack(push, 8)
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
// Including type: HMUI.UIItemsList`1
#include "HMUI/UIItemsList_1.hpp"
//... | 37.552632 | 98 | 0.704975 | [
"object"
] |
cb1bac345c2671f8f672796ed28b2ba768daa53d | 9,451 | cpp | C++ | tdcpg/src/v20211118/model/Backup.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | null | null | null | tdcpg/src/v20211118/model/Backup.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | null | null | null | tdcpg/src/v20211118/model/Backup.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | 29.350932 | 144 | 0.698445 | [
"model"
] |
cb1f280a3ee2e6c612bea7e88763b1c8a17326a3 | 7,277 | cpp | C++ | src/wallet/test/wallet_sapling_transactions_validations_tests.cpp | PivxLiteDev/PivxLite | 648d4a193b61b1996b41e9f6c6c468875c757cdd | [
"MIT"
] | null | null | null | src/wallet/test/wallet_sapling_transactions_validations_tests.cpp | PivxLiteDev/PivxLite | 648d4a193b61b1996b41e9f6c6c468875c757cdd | [
"MIT"
] | 3 | 2020-02-06T10:15:07.000Z | 2022-01-13T00:08:49.000Z | src/wallet/test/wallet_sapling_transactions_validations_tests.cpp | PivxLiteDev/PivxLite | 648d4a193b61b1996b41e9f6c6c468875c757cdd | [
"MIT"
] | 9 | 2020-03-10T14:14:25.000Z | 2022-03-05T13:43:35.000Z | // Copyright (c) 2020 The PIVX developers
// Copyright (c) 2019-2021 The PIVXL developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or https://www.opensource.org/licenses/mit-license.php.
#include "wallet/test/wallet_test_fixture.h"
#include "primitives/block.h"
#include "sap... | 42.805882 | 153 | 0.703312 | [
"vector"
] |
cb1f66c83838f02de54ecadcbb39caf4632538e0 | 19,320 | cpp | C++ | src/analyses/reaching_definitions.cpp | mina1604/cbmc | bd1d87a2cd93e9fe1b1791b5fbc38d4505cb78b7 | [
"BSD-4-Clause"
] | null | null | null | src/analyses/reaching_definitions.cpp | mina1604/cbmc | bd1d87a2cd93e9fe1b1791b5fbc38d4505cb78b7 | [
"BSD-4-Clause"
] | 2 | 2019-04-15T16:40:08.000Z | 2019-04-16T14:18:53.000Z | src/analyses/reaching_definitions.cpp | mina1604/cbmc | bd1d87a2cd93e9fe1b1791b5fbc38d4505cb78b7 | [
"BSD-4-Clause"
] | null | null | null | /*******************************************************************\
Module: Range-based reaching definitions analysis (following Field-
Sensitive Program Dependence Analysis, Litvak et al., FSE 2010)
Author: Michael Tautschnig
Date: February 2013
\**********************************************************... | 24.611465 | 80 | 0.645238 | [
"transform"
] |
cb24bba24a2f9651d26fc97a3a3becf5ebb193c7 | 8,573 | cpp | C++ | external/bsd/llvm/dist/llvm/lib/Target/R600/SIFoldOperands.cpp | calmsacibis995/minix | dfba95598f553b6560131d35a76658f1f8c9cf38 | [
"Unlicense"
] | null | null | null | external/bsd/llvm/dist/llvm/lib/Target/R600/SIFoldOperands.cpp | calmsacibis995/minix | dfba95598f553b6560131d35a76658f1f8c9cf38 | [
"Unlicense"
] | null | null | null | external/bsd/llvm/dist/llvm/lib/Target/R600/SIFoldOperands.cpp | calmsacibis995/minix | dfba95598f553b6560131d35a76658f1f8c9cf38 | [
"Unlicense"
] | null | null | null | //===-- SIFoldOperands.cpp - Fold operands --- ----------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
/// \file
//===---------------------------------------------... | 29.975524 | 80 | 0.611221 | [
"vector"
] |
cb272e61d327ad602109ce7ee36b04f38562da61 | 10,998 | hpp | C++ | src/parser/parser.hpp | giag3/peng-utils | f0883ffbf3b422de2e0ea326861114b1f5809037 | [
"MIT"
] | 1 | 2022-03-28T11:20:50.000Z | 2022-03-28T11:20:50.000Z | src/parser/parser.hpp | giag3/peng-utils | f0883ffbf3b422de2e0ea326861114b1f5809037 | [
"MIT"
] | null | null | null | src/parser/parser.hpp | giag3/peng-utils | f0883ffbf3b422de2e0ea326861114b1f5809037 | [
"MIT"
] | null | null | null | #include "../vars.hpp"
#include "../files/source_file.hpp"
#include "../compiler/variable.hpp"
// *****************
// STACK VARIABLES
// *****************
/**
* @brief The parser_expression_id enum
*/
enum class parser_expression_id {
VARIABLE, METHOD, NUMBER, OPERATOR, BRACKET, STACK_VALUE
};
/**
* @brief T... | 30.465374 | 181 | 0.634752 | [
"object",
"vector"
] |
cb28a0b4aedfb301ec50fbbe7290e2a5e2b5536d | 6,838 | cpp | C++ | search/src/LayeredImage.cpp | fraserw/kbmod | 65d69746d1dd8de867f8da147d73c09439d28b41 | [
"BSD-2-Clause"
] | 16 | 2018-07-23T11:39:05.000Z | 2022-01-27T17:15:42.000Z | search/src/LayeredImage.cpp | fraserw/kbmod | 65d69746d1dd8de867f8da147d73c09439d28b41 | [
"BSD-2-Clause"
] | 42 | 2017-06-19T22:55:41.000Z | 2018-03-15T02:49:39.000Z | search/src/LayeredImage.cpp | fraserw/kbmod | 65d69746d1dd8de867f8da147d73c09439d28b41 | [
"BSD-2-Clause"
] | 7 | 2018-07-23T11:39:04.000Z | 2022-01-27T18:43:02.000Z | /*
* LayeredImage.cpp
*
* Created on: Jul 11, 2017
* Author: kbmod-usr
*/
#include "LayeredImage.h"
namespace kbmod {
LayeredImage::LayeredImage(std::string path) {
filePath = path;
int fBegin = path.find_last_of("/");
int fEnd = path.find_last_of(".fits")-4;
fileName = path.substr(fBegin, fEnd-fBegin... | 24.775362 | 81 | 0.70196 | [
"vector"
] |
cb2a9419fc0725a6e80e3c32d97559c885313f9d | 3,363 | cpp | C++ | source/Irrlicht/CMeshCache.cpp | JaviCervera/irrlicht | 02623fda3ed1ebc97cb9e0df148e132c08b6f41b | [
"IJG"
] | 30 | 2018-10-26T12:54:11.000Z | 2022-02-04T18:18:57.000Z | source/Irrlicht/CMeshCache.cpp | JaviCervera/irrlicht | 02623fda3ed1ebc97cb9e0df148e132c08b6f41b | [
"IJG"
] | 8 | 2021-02-07T17:34:18.000Z | 2021-03-08T11:03:13.000Z | source/Irrlicht/CMeshCache.cpp | JaviCervera/irrlicht | 02623fda3ed1ebc97cb9e0df148e132c08b6f41b | [
"IJG"
] | 26 | 2018-11-20T18:11:39.000Z | 2022-01-28T21:05:30.000Z | // Copyright (C) 2002-2012 Nikolaus Gebhardt
// This file is part of the "Irrlicht Engine".
// For conditions of distribution and use, see copyright notice in irrlicht.h
#include "CMeshCache.h"
#include "IAnimatedMesh.h"
#include "IMesh.h"
namespace irr
{
namespace scene
{
static const io::SNamedPath emptyNamedPath;... | 18.787709 | 87 | 0.66072 | [
"mesh"
] |
cb2d6325e4e17f844c313a7919451695a9d879b6 | 8,127 | cpp | C++ | src/sched/entry/ze/allreduce/ze_onesided_allreduce_entry.cpp | intel/oneccl | b7d66de16e17f88caffd7c6df4cd5e12b266af84 | [
"Apache-2.0"
] | 26 | 2019-11-18T09:45:28.000Z | 2020-03-02T17:00:24.000Z | src/sched/entry/ze/allreduce/ze_onesided_allreduce_entry.cpp | intel/oneccl | b7d66de16e17f88caffd7c6df4cd5e12b266af84 | [
"Apache-2.0"
] | 8 | 2020-02-05T20:34:23.000Z | 2020-02-21T22:26:22.000Z | src/sched/entry/ze/allreduce/ze_onesided_allreduce_entry.cpp | intel/oneccl | b7d66de16e17f88caffd7c6df4cd5e12b266af84 | [
"Apache-2.0"
] | 9 | 2019-11-21T16:58:47.000Z | 2020-02-26T15:40:04.000Z | /*
Copyright 2016-2020 Intel Corporation
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 w... | 39.451456 | 100 | 0.612034 | [
"vector"
] |
cb2ed2ec0329acdd383905a5b32f89856499846d | 774 | cpp | C++ | src/polytype.cpp | bryancatanzaro/copperhead-compiler | 11067c1d4bb1c850e88f9038782c41a6be3edd3c | [
"Apache-2.0"
] | 3 | 2016-01-18T18:26:45.000Z | 2020-11-16T15:31:14.000Z | src/polytype.cpp | bryancatanzaro/copperhead-compiler | 11067c1d4bb1c850e88f9038782c41a6be3edd3c | [
"Apache-2.0"
] | null | null | null | src/polytype.cpp | bryancatanzaro/copperhead-compiler | 11067c1d4bb1c850e88f9038782c41a6be3edd3c | [
"Apache-2.0"
] | 1 | 2015-03-18T01:34:49.000Z | 2015-03-18T01:34:49.000Z | #include "polytype.hpp"
using std::vector;
using std::shared_ptr;
using std::static_pointer_cast;
namespace backend {
polytype_t::polytype_t(vector<shared_ptr<const monotype_t> >&& vars,
shared_ptr<const monotype_t> monotype)
: type_t(*this), m_vars(std::move(vars)), m_monotype(monotype) {... | 24.967742 | 75 | 0.719638 | [
"vector"
] |
cb2f963e41d2d27754e3f2454b1a147ae090d28b | 688 | cpp | C++ | Dataset/Leetcode/valid/46/595.cpp | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | Dataset/Leetcode/valid/46/595.cpp | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | Dataset/Leetcode/valid/46/595.cpp | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | class Solution {
public:
vector<vector<int>> XXX(vector<int>& nums) {
vector<vector<int>> res;
vector<int> path;
vector<bool> vis(nums.size(), false);
function<void(int i)> get_path = [&](int k) {
if(k == nums.size()) {
res.push_back(path);
... | 25.481481 | 53 | 0.405523 | [
"vector"
] |
cb33d2b02fc896214b98fb010dfc3fdef2395c04 | 24,874 | cpp | C++ | openstudiocore/src/isomodel/Test/SimModel_GTest.cpp | Acidburn0zzz/OpenStudio | 8d7aa85fe5df7987cb6983984d4ce8698f1bd0bd | [
"MIT"
] | null | null | null | openstudiocore/src/isomodel/Test/SimModel_GTest.cpp | Acidburn0zzz/OpenStudio | 8d7aa85fe5df7987cb6983984d4ce8698f1bd0bd | [
"MIT"
] | null | null | null | openstudiocore/src/isomodel/Test/SimModel_GTest.cpp | Acidburn0zzz/OpenStudio | 8d7aa85fe5df7987cb6983984d4ce8698f1bd0bd | [
"MIT"
] | null | null | null | /***********************************************************************************************************************
* OpenStudio(R), Copyright (c) 2008-2018, Alliance for Sustainable Energy, LLC. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitt... | 74.473054 | 146 | 0.791147 | [
"vector"
] |
cb343bd9a044b3c95e82039503a42a2c693dfb98 | 9,577 | cpp | C++ | Source/Engine/Core/RHI/D3D12/D3D12Common.cpp | flygod1159/Kaguya | 47dbb3940110ed490d0b70eed31383cfc82bc8df | [
"MIT"
] | 1 | 2022-01-13T16:32:40.000Z | 2022-01-13T16:32:40.000Z | Source/Engine/Core/RHI/D3D12/D3D12Common.cpp | flygod1159/Kaguya | 47dbb3940110ed490d0b70eed31383cfc82bc8df | [
"MIT"
] | null | null | null | Source/Engine/Core/RHI/D3D12/D3D12Common.cpp | flygod1159/Kaguya | 47dbb3940110ed490d0b70eed31383cfc82bc8df | [
"MIT"
] | null | null | null | #include "D3D12Common.h"
LPCWSTR GetCommandQueueTypeString(ED3D12CommandQueueType CommandQueueType)
{
// clang-format off
switch (CommandQueueType)
{
case ED3D12CommandQueueType::Direct: return L"3D";
case ED3D12CommandQueueType::AsyncCompute: return L"Async Compute";
case ED3D12CommandQueueType::Copy1: retur... | 34.44964 | 106 | 0.82009 | [
"3d"
] |
cb353de0a4828adf43527d254a285d87a380219f | 10,043 | cpp | C++ | apps/SoapySDRProbe.cpp | bastille-attic/SoapySDR | 7976f888ea03d128bfc0c2ebe49ce8316ce9e2ea | [
"BSL-1.0"
] | 1 | 2018-06-05T18:13:55.000Z | 2018-06-05T18:13:55.000Z | apps/SoapySDRProbe.cpp | cjcliffe/SoapySDR | af830bc209e10f4289c0516374ce043f238b4d01 | [
"BSL-1.0"
] | null | null | null | apps/SoapySDRProbe.cpp | cjcliffe/SoapySDR | af830bc209e10f4289c0516374ce043f238b4d01 | [
"BSL-1.0"
] | null | null | null | // Copyright (c) 2015-2017 Josh Blum
// Copyright (c) 2016-2016 Bastille Networks
// SPDX-License-Identifier: BSL-1.0
#include <SoapySDR/Device.hpp>
#include <sstream>
template <typename Type>
std::string toString(const std::vector<Type> &options)
{
std::stringstream ss;
if (options.empty()) return "";
fo... | 36.387681 | 132 | 0.529722 | [
"vector"
] |
cb3a00f7a0541eaf25a876bf2669b2c48b742bc2 | 10,474 | cpp | C++ | src/demos/irrlicht/demo_IRR_fourbar.cpp | zzhou292/chrono-collision | c2a20e171bb0eb8819636d370887aa32d68547c6 | [
"BSD-3-Clause"
] | 1 | 2020-01-18T02:39:17.000Z | 2020-01-18T02:39:17.000Z | src/demos/irrlicht/demo_IRR_fourbar.cpp | zzhou292/chrono-collision | c2a20e171bb0eb8819636d370887aa32d68547c6 | [
"BSD-3-Clause"
] | 7 | 2021-10-20T04:43:35.000Z | 2021-12-24T08:44:31.000Z | src/demos/irrlicht/demo_IRR_fourbar.cpp | zzhou292/chrono-collision | c2a20e171bb0eb8819636d370887aa32d68547c6 | [
"BSD-3-Clause"
] | 2 | 2021-12-09T05:32:31.000Z | 2021-12-12T17:31:18.000Z | // =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2014 projectchrono.org
// All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file at the top level of t... | 42.92623 | 115 | 0.637006 | [
"object",
"vector",
"3d"
] |
cb3e98d2d06237e368489a2af55bfcaa0b42ecf8 | 23,401 | cc | C++ | open_spiel/games/bridge.cc | BrandonKates/open_spiel | f820abe9bdfdbc4bd45c2e933439393d4ad3622a | [
"Apache-2.0"
] | 1 | 2020-09-03T12:28:03.000Z | 2020-09-03T12:28:03.000Z | open_spiel/games/bridge.cc | mithilproof/open_spiel | 72e26013e3f37305d2d1c169123d678d35e6d7c4 | [
"Apache-2.0"
] | null | null | null | open_spiel/games/bridge.cc | mithilproof/open_spiel | 72e26013e3f37305d2d1c169123d678d35e6d7c4 | [
"Apache-2.0"
] | null | null | null | // Copyright 2019 DeepMind Technologies Ltd. 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 require... | 37.501603 | 80 | 0.623392 | [
"vector"
] |
cb4681d240fe621097331a2d5cceddc3fadbe713 | 6,393 | cpp | C++ | ref.neo/ui/RenderWindow.cpp | Grimace1975/bclcontrib-scriptsharp | 8c1b05024404e9115be96a328c79a8555eca2e4a | [
"MIT"
] | null | null | null | ref.neo/ui/RenderWindow.cpp | Grimace1975/bclcontrib-scriptsharp | 8c1b05024404e9115be96a328c79a8555eca2e4a | [
"MIT"
] | null | null | null | ref.neo/ui/RenderWindow.cpp | Grimace1975/bclcontrib-scriptsharp | 8c1b05024404e9115be96a328c79a8555eca2e4a | [
"MIT"
] | null | null | null | /*
===========================================================================
Doom 3 GPL Source Code
Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company.
This file is part of the Doom 3 GPL Source Code (?Doom 3 Source Code?).
Doom 3 Source Code is free software: you can redistribute it and/or modify... | 30.014085 | 342 | 0.690912 | [
"render",
"model"
] |
cb46ba1d1290966038cc2cff4caebc13b2bce1f0 | 17,214 | cpp | C++ | OgreMain/src/OgreRenderTarget.cpp | jondo2010/ogre | c1e836d453b2bca0d4e2eb6a32424fe967092b52 | [
"MIT"
] | null | null | null | OgreMain/src/OgreRenderTarget.cpp | jondo2010/ogre | c1e836d453b2bca0d4e2eb6a32424fe967092b52 | [
"MIT"
] | null | null | null | OgreMain/src/OgreRenderTarget.cpp | jondo2010/ogre | c1e836d453b2bca0d4e2eb6a32424fe967092b52 | [
"MIT"
] | null | null | null | /*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2000-2014 Torus Knot Software Ltd
Permission is hereby granted, free of charge, to any person obta... | 34.019763 | 119 | 0.516033 | [
"render",
"object"
] |
cb4937e0b1f134daa9d6724c2393c037b7386974 | 13,934 | cpp | C++ | src/Game.cpp | digladieux/TP5_SMA | 450153930410982c79dc79c5694885268fd4a04d | [
"Apache-2.0"
] | null | null | null | src/Game.cpp | digladieux/TP5_SMA | 450153930410982c79dc79c5694885268fd4a04d | [
"Apache-2.0"
] | null | null | null | src/Game.cpp | digladieux/TP5_SMA | 450153930410982c79dc79c5694885268fd4a04d | [
"Apache-2.0"
] | null | null | null | /**
* \file Game.cpp
* \author Gladieux Cunha Dimitri & Gonzales Florian
* \brief Fichier d'implementation de la classe Game
* \date 2018-12-03
*/
#include "../header/Game.hpp"
#include "../header/Grid.hpp"
#include "../header/FemaleCharacter.hpp"
#include "../header/TownHall.hpp"
#include "../header/m... | 38.071038 | 466 | 0.629252 | [
"vector"
] |
cb4cf234b11f3a0730fc4eda2472ffaeac104806 | 3,444 | cpp | C++ | Week14 - FCNN/FCNN/MatrixMN.cpp | vega196/2016FallCSE2022 | 314e42d74d9b58e3d6d988729e73dbe16e238f1f | [
"MIT"
] | 26 | 2016-11-29T11:16:31.000Z | 2022-02-28T05:41:20.000Z | Week14 - FCNN/FCNN/MatrixMN.cpp | vega196/2016FallCSE2022 | 314e42d74d9b58e3d6d988729e73dbe16e238f1f | [
"MIT"
] | null | null | null | Week14 - FCNN/FCNN/MatrixMN.cpp | vega196/2016FallCSE2022 | 314e42d74d9b58e3d6d988729e73dbe16e238f1f | [
"MIT"
] | 56 | 2016-11-28T14:58:38.000Z | 2022-02-27T01:00:36.000Z | /////////////////////////////////////////////////////////////////////////////
// Authored by Jeong-Mo Hong for CSE4060 course at Dongguk University CSE //
// jeongmo.hong@gmail.com //
// Do whatever you want license. //
////////... | 28.941176 | 120 | 0.609756 | [
"vector"
] |
cb4f4152b91bf4206333e41aa9c2980c1768b4b7 | 3,835 | cpp | C++ | src/py/wrapper/wrapper_2f99a056e37254eeaea9c90166e6ee79.cpp | StatisKit/PGM | 1a82025003a705c668a9ff0ce170457ff40d37c2 | [
"Apache-2.0"
] | 1 | 2021-06-10T04:25:00.000Z | 2021-06-10T04:25:00.000Z | src/py/wrapper/wrapper_2f99a056e37254eeaea9c90166e6ee79.cpp | StatisKit/PGM | 1a82025003a705c668a9ff0ce170457ff40d37c2 | [
"Apache-2.0"
] | null | null | null | src/py/wrapper/wrapper_2f99a056e37254eeaea9c90166e6ee79.cpp | StatisKit/PGM | 1a82025003a705c668a9ff0ce170457ff40d37c2 | [
"Apache-2.0"
] | 5 | 2017-05-02T06:20:42.000Z | 2021-03-15T18:34:12.000Z | #include "_pgm.h"
namespace autowig
{
}
#if defined(_MSC_VER)
#if (_MSC_VER == 1900)
namespace boost
{
template <> class ::statiskit::pgm::MixtureUndirectedGraphProcess::VariationalComputation const volatile * get_pointer<class ::statiskit::pgm::MixtureUndirectedGraphProcess::VariationalComputation const v... | 83.369565 | 647 | 0.789048 | [
"object"
] |
cb5020d78d425bae996535f36b1882f704f92e0c | 14,377 | cpp | C++ | Framework/Sources/o2/Render/Windows/RenderImpl.cpp | zenkovich/o2 | cdbf10271f1bf0f3198c8005b13b66e6ca13a9db | [
"MIT"
] | 181 | 2015-12-09T08:53:36.000Z | 2022-03-26T20:48:39.000Z | Framework/Sources/o2/Render/Windows/RenderImpl.cpp | zenkovich/o2 | cdbf10271f1bf0f3198c8005b13b66e6ca13a9db | [
"MIT"
] | 29 | 2016-04-22T08:24:04.000Z | 2022-03-06T07:06:28.000Z | Framework/Sources/o2/Render/Windows/RenderImpl.cpp | zenkovich/o2 | cdbf10271f1bf0f3198c8005b13b66e6ca13a9db | [
"MIT"
] | 13 | 2018-04-24T17:12:04.000Z | 2021-11-12T23:49:53.000Z | #include "o2/stdafx.h"
#ifdef PLATFORM_WINDOWS
#include "o2/Render/Render.h"
#include "o2/Application/Application.h"
#include "o2/Application/Input.h"
#include "o2/Assets/Assets.h"
#include "o2/Events/EventSystem.h"
#include "o2/Render/Font.h"
#include "o2/Render/Mesh.h"
#include "o2/Render/Sprite.h"
#include "o2/Ren... | 23.763636 | 134 | 0.693191 | [
"mesh",
"geometry",
"render"
] |
cb51a09ff28cb8f8a2e649d87605318c6c6a3e9b | 2,638 | cpp | C++ | src/diagonal_distribution_slice_import_export.cpp | ekera/qunundrum | deeed6779a5b0e69df9245024225b8a552c2179c | [
"MIT"
] | 4 | 2020-12-09T10:57:05.000Z | 2021-12-27T15:44:47.000Z | src/diagonal_distribution_slice_import_export.cpp | ekera/qunundrum | deeed6779a5b0e69df9245024225b8a552c2179c | [
"MIT"
] | null | null | null | src/diagonal_distribution_slice_import_export.cpp | ekera/qunundrum | deeed6779a5b0e69df9245024225b8a552c2179c | [
"MIT"
] | null | null | null | /*!
* \file diagonal_distribution_slice_import_export.cpp
* \ingroup diagonal_distribution_slice
*
* \brief The definition of functions for importing and exporting slices in
* diagonal probability distributions.
*/
#include "diagonal_distribution_slice.h"
#include "common.h"
#include "errors.h"
#i... | 26.918367 | 77 | 0.694845 | [
"vector"
] |
cb557c5d935f8dd7abdf7c896d1f18141e10b832 | 1,113 | hpp | C++ | third_party/boost/simd/function/log1p.hpp | SylvainCorlay/pythran | 908ec070d837baf77d828d01c3e35e2f4bfa2bfa | [
"BSD-3-Clause"
] | 6 | 2018-02-25T22:23:33.000Z | 2021-01-15T15:13:12.000Z | third_party/boost/simd/function/log1p.hpp | SylvainCorlay/pythran | 908ec070d837baf77d828d01c3e35e2f4bfa2bfa | [
"BSD-3-Clause"
] | null | null | null | third_party/boost/simd/function/log1p.hpp | SylvainCorlay/pythran | 908ec070d837baf77d828d01c3e35e2f4bfa2bfa | [
"BSD-3-Clause"
] | 7 | 2017-12-12T12:36:31.000Z | 2020-02-10T14:27:07.000Z | //==================================================================================================
/*!
@file
@copyright 2016 NumScale SAS
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
//=========================... | 23.1875 | 100 | 0.578616 | [
"object"
] |
cb56183c4e4576dac7fd80be5b321c54e95a984a | 11,747 | cc | C++ | chrome/browser/media/router/discovery/dial/dial_media_sink_service_impl.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/media/router/discovery/dial/dial_media_sink_service_impl.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/media/router/discovery/dial/dial_media_sink_service_impl.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2021-01-05T23:43:46.000Z | 2021-01-07T23:36:34.000Z | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/media/router/discovery/dial/dial_media_sink_service_impl.h"
#include <algorithm>
#include "base/bind.h"
#include "base/stl_util... | 33.950867 | 84 | 0.736358 | [
"vector",
"model"
] |
cb59f63b1d37a8852c535f9f1676629900786606 | 6,648 | cc | C++ | src/appMain/main.cc | russjohnson09/sdl_core | 9de7f1456f1807ae97348f774f7eead0ee92fd6d | [
"BSD-3-Clause"
] | null | null | null | src/appMain/main.cc | russjohnson09/sdl_core | 9de7f1456f1807ae97348f774f7eead0ee92fd6d | [
"BSD-3-Clause"
] | 2 | 2020-04-24T07:00:41.000Z | 2020-04-24T07:39:33.000Z | src/appMain/main.cc | russjohnson09/sdl_core | 9de7f1456f1807ae97348f774f7eead0ee92fd6d | [
"BSD-3-Clause"
] | 1 | 2020-07-31T15:36:12.000Z | 2020-07-31T15:36:12.000Z | /*
* Copyright (c) 2016, Ford Motor Company
* 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 condit... | 33.074627 | 79 | 0.677046 | [
"vector"
] |
cb5f70a51c64e6dd7e42cb3d480a494a48b1a890 | 14,915 | hpp | C++ | SYCL/ESIMD/esimd_test_utils.hpp | gmlueck/llvm-test-suite | 7ff842b8fec970561fed78c9347e496538cf74f5 | [
"Apache-2.0"
] | null | null | null | SYCL/ESIMD/esimd_test_utils.hpp | gmlueck/llvm-test-suite | 7ff842b8fec970561fed78c9347e496538cf74f5 | [
"Apache-2.0"
] | null | null | null | SYCL/ESIMD/esimd_test_utils.hpp | gmlueck/llvm-test-suite | 7ff842b8fec970561fed78c9347e496538cf74f5 | [
"Apache-2.0"
] | null | null | null | //==--------- esimd_test_utils.hpp - DPC++ ESIMD on-device test utilities --==//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | 32.213823 | 80 | 0.595307 | [
"vector"
] |
cb60e95af6f794b90769ccd2294d9442e018ae44 | 1,995 | hpp | C++ | lib/builder/BuilderBase.hpp | mensinda/BVHTest | 46e24818f623797c78f2e094434213e3728a114c | [
"Apache-2.0"
] | 4 | 2019-03-09T16:35:00.000Z | 2022-01-12T06:32:05.000Z | lib/builder/BuilderBase.hpp | mensinda/BVHTest | 46e24818f623797c78f2e094434213e3728a114c | [
"Apache-2.0"
] | null | null | null | lib/builder/BuilderBase.hpp | mensinda/BVHTest | 46e24818f623797c78f2e094434213e3728a114c | [
"Apache-2.0"
] | 1 | 2020-09-09T15:47:13.000Z | 2020-09-09T15:47:13.000Z | /*
* Copyright (C) 2018 Daniel Mensinger
*
* 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 agree... | 30.227273 | 115 | 0.659649 | [
"mesh",
"vector"
] |
cb61928e9ef6d4e6275203b4d6181470807f247f | 7,218 | hpp | C++ | src/Graphics/Renderer/Renderer.hpp | ScaryBoxStudios/TheRoom | 880c8730cb5c271def472df76fa655df1970b94b | [
"MIT"
] | 1 | 2015-11-12T11:40:45.000Z | 2015-11-12T11:40:45.000Z | src/Graphics/Renderer/Renderer.hpp | ScaryBoxStudios/TheRoom | 880c8730cb5c271def472df76fa655df1970b94b | [
"MIT"
] | null | null | null | src/Graphics/Renderer/Renderer.hpp | ScaryBoxStudios/TheRoom | 880c8730cb5c271def472df76fa655df1970b94b | [
"MIT"
] | null | null | null | /*********************************************************************************************************************/
/* /===-_---~~~~~~~~~------____ */
/* |===-~___ _,-'... | 45.1125 | 119 | 0.321142 | [
"geometry",
"render",
"vector",
"transform"
] |
cb61caa46ccebcfa015802d4eeaa688ae5965e1c | 11,644 | cpp | C++ | grid-test/export/macos/obj/src/flixel/util/FlxPool_flixel_math_FlxPoint.cpp | VehpuS/learning-haxe-and-haxeflixel | cb18c074720656797beed7333eeaced2cf323337 | [
"Apache-2.0"
] | null | null | null | grid-test/export/macos/obj/src/flixel/util/FlxPool_flixel_math_FlxPoint.cpp | VehpuS/learning-haxe-and-haxeflixel | cb18c074720656797beed7333eeaced2cf323337 | [
"Apache-2.0"
] | null | null | null | grid-test/export/macos/obj/src/flixel/util/FlxPool_flixel_math_FlxPoint.cpp | VehpuS/learning-haxe-and-haxeflixel | cb18c074720656797beed7333eeaced2cf323337 | [
"Apache-2.0"
] | null | null | null | // Generated by Haxe 4.1.4
#include <hxcpp.h>
#ifndef INCLUDED_Type
#include <Type.h>
#endif
#ifndef INCLUDED_flixel_math_FlxPoint
#include <flixel/math/FlxPoint.h>
#endif
#ifndef INCLUDED_flixel_util_FlxPool_flixel_math_FlxPoint
#include <flixel/util/FlxPool_flixel_math_FlxPoint.h>
#endif
#ifndef INCLUDED_flixel_util... | 41 | 223 | 0.742442 | [
"object"
] |
cb61e78468234a9bce543d87ae1017176636e8e4 | 5,062 | hpp | C++ | src/Externals/spire/arc-ball/ArcBall.hpp | Haydelj/SCIRun | f7ee04d85349b946224dbff183438663e54b9413 | [
"MIT"
] | null | null | null | src/Externals/spire/arc-ball/ArcBall.hpp | Haydelj/SCIRun | f7ee04d85349b946224dbff183438663e54b9413 | [
"MIT"
] | null | null | null | src/Externals/spire/arc-ball/ArcBall.hpp | Haydelj/SCIRun | f7ee04d85349b946224dbff183438663e54b9413 | [
"MIT"
] | null | null | null | /*
For more information, please see: http://software.sci.utah.edu
The MIT License
Copyright (c) 2020 Scientific Computing and Imaging Institute,
University of Utah.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the ... | 43.264957 | 106 | 0.700119 | [
"object",
"transform"
] |
cb6a5354ebd2ada52fb88da87ebfe2ac7b05697e | 9,551 | cc | C++ | drogon_ctl/press.cc | Dalot/Drogon | a3319356d6a11d2d319156b43eee8b74c17b803a | [
"MIT"
] | null | null | null | drogon_ctl/press.cc | Dalot/Drogon | a3319356d6a11d2d319156b43eee8b74c17b803a | [
"MIT"
] | null | null | null | drogon_ctl/press.cc | Dalot/Drogon | a3319356d6a11d2d319156b43eee8b74c17b803a | [
"MIT"
] | 1 | 2020-01-28T05:35:28.000Z | 2020-01-28T05:35:28.000Z | /**
*
* press.cc
* An Tao
*
* Copyright 2018, An Tao. All rights reserved.
* https://github.com/an-tao/drogon
* Use of this source code is governed by the MIT license
* that can be found in the License file.
*
* Drogon
*
*/
#include "press.h"
#include "cmd.h"
#include <drogon/DrClassMap.h>
#include... | 29.940439 | 80 | 0.446341 | [
"vector"
] |
cb6f8829054f5e73d751f3805cd0293616a60cea | 22,728 | cc | C++ | runtime/bin/directory.cc | eggfly/sdk | 14bff8387c479d8514269ace694e42e9162c8745 | [
"BSD-3-Clause"
] | 2 | 2020-06-26T23:20:09.000Z | 2021-12-10T05:07:12.000Z | runtime/bin/directory.cc | onuryildriim/sdk | f99631b12c4ae3f1771ef68b1ae8c57a0dd9434d | [
"BSD-3-Clause"
] | null | null | null | runtime/bin/directory.cc | onuryildriim/sdk | f99631b12c4ae3f1771ef68b1ae8c57a0dd9434d | [
"BSD-3-Clause"
] | 3 | 2020-06-23T10:34:27.000Z | 2021-12-10T05:11:35.000Z | // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
#include <cstdlib>
#include <memory>
#include "bin/directory.h"
#include "bin/dartutils.h"
#include "... | 35.623824 | 80 | 0.705341 | [
"object"
] |
cb6fce627ad69de213459da65e0046c8f9480962 | 2,624 | hh | C++ | src/c++/lib/alignment/cppunit/testFragmentBuilder.hh | Illumina/Isaac4 | 0924fba8b467868da92e1c48323b15d7cbca17dd | [
"BSD-3-Clause"
] | 13 | 2018-02-09T22:59:39.000Z | 2021-11-29T06:33:22.000Z | src/c++/lib/alignment/cppunit/testFragmentBuilder.hh | Illumina/Isaac4 | 0924fba8b467868da92e1c48323b15d7cbca17dd | [
"BSD-3-Clause"
] | 17 | 2018-01-26T11:36:07.000Z | 2022-02-03T18:48:43.000Z | src/c++/lib/alignment/cppunit/testFragmentBuilder.hh | Illumina/Isaac4 | 0924fba8b467868da92e1c48323b15d7cbca17dd | [
"BSD-3-Clause"
] | 4 | 2018-10-19T20:00:00.000Z | 2020-10-29T14:44:06.000Z | /**
** Isaac Genome Alignment Software
** Copyright (c) 2010-2017 Illumina, Inc.
** All rights reserved.
**
** This software is provided under the terms and conditions of the
** GNU GENERAL PUBLIC LICENSE Version 3
**
** You should have received a copy of the GNU GENERAL PUBLIC LICENSE Version 3
** along with ... | 33.641026 | 79 | 0.73971 | [
"vector"
] |
cb7d97ae33cc4ac4d9c870437b742e1a20a27c25 | 2,908 | hpp | C++ | test/mettle/include/mettle/driver/log/child.hpp | Redchards/MiniDBMS | 1c7a3f63b46a934ae89184e3525c0754227c412b | [
"MIT"
] | 1 | 2017-05-12T21:22:13.000Z | 2017-05-12T21:22:13.000Z | test/mettle/include/mettle/driver/log/child.hpp | Redchards/MiniDBMS | 1c7a3f63b46a934ae89184e3525c0754227c412b | [
"MIT"
] | null | null | null | test/mettle/include/mettle/driver/log/child.hpp | Redchards/MiniDBMS | 1c7a3f63b46a934ae89184e3525c0754227c412b | [
"MIT"
] | 1 | 2017-12-02T14:42:02.000Z | 2017-12-02T14:42:02.000Z | #ifndef INC_METTLE_DRIVER_LOG_CHILD_HPP
#define INC_METTLE_DRIVER_LOG_CHILD_HPP
#include <cassert>
#include <ostream>
#include "../detail/bencode.hpp"
#include "core.hpp"
namespace mettle {
namespace log {
class child : public test_logger {
public:
child(std::ostream &out) : out(out) {}
void started_r... | 25.068966 | 76 | 0.577029 | [
"vector"
] |
cb7ea483bdb771827967957356e80d49fa1d51b8 | 692 | hpp | C++ | src/Core/Geometry/DCEL/Iterator/Vertex/VFIterator.hpp | sylvaindeker/Radium-Engine | 64164a258b3f7864c73a07c070e49b7138488d62 | [
"Apache-2.0"
] | 1 | 2018-04-16T13:55:45.000Z | 2018-04-16T13:55:45.000Z | src/Core/Geometry/DCEL/Iterator/Vertex/VFIterator.hpp | sylvaindeker/Radium-Engine | 64164a258b3f7864c73a07c070e49b7138488d62 | [
"Apache-2.0"
] | null | null | null | src/Core/Geometry/DCEL/Iterator/Vertex/VFIterator.hpp | sylvaindeker/Radium-Engine | 64164a258b3f7864c73a07c070e49b7138488d62 | [
"Apache-2.0"
] | null | null | null | #ifndef RADIUMENGINE_DCEL_VERTEX_FACE_ITERATOR_HPP
#define RADIUMENGINE_DCEL_VERTEX_FACE_ITERATOR_HPP
#include <Core/Geometry/DCEL/Iterator/Vertex/VertexIterator.hpp>
namespace Ra {
namespace Core {
class[[deprecated]] VFIterator : public VIterator<Face> {
public:
/// CONSTRUCTOR
VFIterator( Vertex_ptr & v... | 22.322581 | 64 | 0.729769 | [
"geometry"
] |
cb8102702286a46aaa8e66b5b8c65e5e65dc8288 | 4,212 | cpp | C++ | test/cppsim/test_state.cpp | 5c0t-qi/qulacs | 1c6c2f09616163eb92669cb7e9fb1ee78b7c2e42 | [
"MIT"
] | 1 | 2020-04-10T01:36:34.000Z | 2020-04-10T01:36:34.000Z | test/cppsim/test_state.cpp | 5c0t-qi/qulacs | 1c6c2f09616163eb92669cb7e9fb1ee78b7c2e42 | [
"MIT"
] | null | null | null | test/cppsim/test_state.cpp | 5c0t-qi/qulacs | 1c6c2f09616163eb92669cb7e9fb1ee78b7c2e42 | [
"MIT"
] | null | null | null | #include <gtest/gtest.h>
#include "../util/util.h"
#include <cppsim/state.hpp>
#include <cppsim/utility.hpp>
TEST(StateTest, GenerateAndRelease) {
UINT n = 10;
double eps = 1e-14;
QuantumState state(n);
ASSERT_EQ(state.qubit_count, n);
ASSERT_EQ(state.dim, 1ULL << n);
state.set_zero_state()... | 33.165354 | 99 | 0.64886 | [
"vector"
] |
cb81bfc1e1484d74c20f5e2397c83735a5932556 | 185,036 | cpp | C++ | mysql-server/storage/ndb/src/ndbapi/NdbQueryOperation.cpp | silenc3502/MYSQL-Arch-Doc-Summary | fcc6bb65f72a385b9f56debc9b2c00cee5914bae | [
"MIT"
] | null | null | null | mysql-server/storage/ndb/src/ndbapi/NdbQueryOperation.cpp | silenc3502/MYSQL-Arch-Doc-Summary | fcc6bb65f72a385b9f56debc9b2c00cee5914bae | [
"MIT"
] | null | null | null | mysql-server/storage/ndb/src/ndbapi/NdbQueryOperation.cpp | silenc3502/MYSQL-Arch-Doc-Summary | fcc6bb65f72a385b9f56debc9b2c00cee5914bae | [
"MIT"
] | null | null | null | /*
Copyright (c) 2011, 2020, Oracle and/or its affiliates.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License, version 2.0,
as published by the Free Software Foundation.
This program is also distributed with certain software (includ... | 30.885662 | 114 | 0.663098 | [
"object",
"vector"
] |
cb87cc22a70540cd0dea75c39d9ab83353d91480 | 1,833 | cpp | C++ | lib/c++/search.cpp | tetsuzawa/algorithm | 556c229c6df8787a118498eab3848b53fb57ebd0 | [
"MIT"
] | null | null | null | lib/c++/search.cpp | tetsuzawa/algorithm | 556c229c6df8787a118498eab3848b53fb57ebd0 | [
"MIT"
] | null | null | null | lib/c++/search.cpp | tetsuzawa/algorithm | 556c229c6df8787a118498eab3848b53fb57ebd0 | [
"MIT"
] | null | null | null | /* ------------------- 二分探索 ------------------- */
vector<int> a = {1, 14, 32, 51, 51, 51, 243, 419, 750, 910};
bool isOK(int index, int key) {
if (a[index] >= key)
return true;
else
return false;
}
int binary_search(int key) {
int ng = -1;
int ok = (int)a.size();
while (abs(ok - ... | 25.458333 | 82 | 0.445717 | [
"vector"
] |
cb8e1fa581b24a0dbb1a58309ecb43e8331ac397 | 812 | inl | C++ | TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Connection_Handler.inl | cflowe/ACE | 5ff60b41adbe1772372d1a43bcc1f2726ff8f810 | [
"DOC"
] | 36 | 2015-01-10T07:27:33.000Z | 2022-03-07T03:32:08.000Z | TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Connection_Handler.inl | cflowe/ACE | 5ff60b41adbe1772372d1a43bcc1f2726ff8f810 | [
"DOC"
] | 2 | 2018-08-13T07:30:51.000Z | 2019-02-25T03:04:31.000Z | TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Connection_Handler.inl | cflowe/ACE | 5ff60b41adbe1772372d1a43bcc1f2726ff8f810 | [
"DOC"
] | 38 | 2015-01-08T14:12:06.000Z | 2022-01-19T08:33:00.000Z | // -*- C++ -*-
//
// $Id: SSLIOP_Connection_Handler.inl 73791 2006-07-27 20:54:56Z wotte $
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
ACE_INLINE
TAO::SSLIOP::State_Guard::State_Guard (
TAO::SSLIOP::Connection_Handler *handler,
int &result)
: handler_ (handler),
previous_current_impl_ (0),
current_impl_ (),
... | 27.066667 | 73 | 0.624384 | [
"object"
] |
cb926278f9250d3abc3c1e7146826c8922f7afb5 | 7,436 | cpp | C++ | Tests/UnitTests/BVH3Tests.cpp | Snowapril/CubbyFlow | ba7808f62c3dd3cd01a3950f54f7f3c086f89df6 | [
"MIT"
] | null | null | null | Tests/UnitTests/BVH3Tests.cpp | Snowapril/CubbyFlow | ba7808f62c3dd3cd01a3950f54f7f3c086f89df6 | [
"MIT"
] | null | null | null | Tests/UnitTests/BVH3Tests.cpp | Snowapril/CubbyFlow | ba7808f62c3dd3cd01a3950f54f7f3c086f89df6 | [
"MIT"
] | null | null | null | #include "UnitTestsUtils.hpp"
#include "pch.hpp"
#include <Core/Geometry/BVH.hpp>
using namespace CubbyFlow;
TEST(BVH3, Constructors)
{
BVH3<Vector3D> bvh;
EXPECT_EQ(bvh.begin(), bvh.end());
}
TEST(BVH3, BasicGetters)
{
BVH3<Vector3D> bvh;
Array1<Vector3D> points{ Vector3D{ 0, 0, 0 }, Vector3D{ 1, ... | 24.541254 | 80 | 0.579209 | [
"geometry"
] |
ed832adbf2b8108a962d33ee7f50629d1a8ef8b2 | 29,573 | cpp | C++ | src/mongo/db/s/sharding_state.cpp | tychoish/mongo | 0c695aa1e879af482dc3aea4768dbda223ff4592 | [
"Apache-2.0"
] | null | null | null | src/mongo/db/s/sharding_state.cpp | tychoish/mongo | 0c695aa1e879af482dc3aea4768dbda223ff4592 | [
"Apache-2.0"
] | null | null | null | src/mongo/db/s/sharding_state.cpp | tychoish/mongo | 0c695aa1e879af482dc3aea4768dbda223ff4592 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright (C) 2015 MongoDB Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be usef... | 37.058897 | 100 | 0.613161 | [
"vector"
] |
ed83c30a8e03616127a0dff7cd9a03614b5373d8 | 8,989 | cc | C++ | RecoEgamma/EgammaElectronAlgos/src/PixelHitMatcher.cc | IzaakWN/cmssw | 07492d201be64e1c8ed8877c627d72f1d99c1f48 | [
"Apache-2.0"
] | 1 | 2021-04-13T13:26:16.000Z | 2021-04-13T13:26:16.000Z | RecoEgamma/EgammaElectronAlgos/src/PixelHitMatcher.cc | IzaakWN/cmssw | 07492d201be64e1c8ed8877c627d72f1d99c1f48 | [
"Apache-2.0"
] | null | null | null | RecoEgamma/EgammaElectronAlgos/src/PixelHitMatcher.cc | IzaakWN/cmssw | 07492d201be64e1c8ed8877c627d72f1d99c1f48 | [
"Apache-2.0"
] | null | null | null | #include "RecoEgamma/EgammaElectronAlgos/interface/PixelHitMatcher.h"
#include "RecoEgamma/EgammaElectronAlgos/interface/ElectronUtilities.h"
#include "TrackingTools/PatternTools/interface/TrajectoryMeasurement.h"
#include "TrackingTools/DetLayers/interface/DetLayer.h"
#include "TrackingTools/MeasurementDet/interface/L... | 43.84878 | 119 | 0.605518 | [
"vector"
] |
ed8f452872f3056b80f7e6216d4e916f9c8fc1f1 | 1,007 | cpp | C++ | Source/PrefabricatorRuntime/Private/PrefabricatorRuntimeModule.cpp | meso-unimpressed/prefabricator-ue4 | afbe11d85e3cd3fa212fd1b4507e27e0fc64e956 | [
"MIT"
] | 280 | 2019-01-02T17:14:41.000Z | 2022-03-28T07:40:18.000Z | Source/PrefabricatorRuntime/Private/PrefabricatorRuntimeModule.cpp | meso-unimpressed/prefabricator-ue4 | afbe11d85e3cd3fa212fd1b4507e27e0fc64e956 | [
"MIT"
] | 39 | 2019-01-07T04:33:10.000Z | 2022-01-22T00:16:48.000Z | Source/PrefabricatorRuntime/Private/PrefabricatorRuntimeModule.cpp | meso-unimpressed/prefabricator-ue4 | afbe11d85e3cd3fa212fd1b4507e27e0fc64e956 | [
"MIT"
] | 66 | 2019-01-02T20:09:39.000Z | 2022-03-28T07:47:51.000Z | //$ Copyright 2015-21, Code Respawn Technologies Pvt Ltd - All Rights Reserved $//
#include "PrefabricatorRuntimeModule.h"
#include "Prefab/PrefabTools.h"
#include "Utils/PrefabricatorService.h"
class FPrefabricatorRuntime : public IPrefabricatorRuntime
{
/** IModuleInterface implementation */
virtual void Startup... | 27.216216 | 111 | 0.789474 | [
"object"
] |
ed8fea8f9563f4eb9cabb2f26d3e8fe1f5c54ddc | 2,381 | cpp | C++ | main.cpp | ruslancheboxary/julia | 67ce6f92a0b656c414571a92c8dad298e0e7b127 | [
"Apache-2.0"
] | null | null | null | main.cpp | ruslancheboxary/julia | 67ce6f92a0b656c414571a92c8dad298e0e7b127 | [
"Apache-2.0"
] | null | null | null | main.cpp | ruslancheboxary/julia | 67ce6f92a0b656c414571a92c8dad298e0e7b127 | [
"Apache-2.0"
] | null | null | null | #include "mainwindow.h"
#include <QApplication>
#include <iostream>
#include <cstdlib>
#include <math.h>
#include <vector>
#include <stdarg.h>
#include <iostream>
#include <thread>
#include "ssr.h"
#ifdef LANG_RU
/**
* Глобальные переменные массивов в куче
*/
#endif
#ifdef LANG_EN
/**
* Global variables arrays in h... | 24.802083 | 121 | 0.611088 | [
"vector"
] |
ed9082cf59a543f498f4876e6bdea19df02f28f3 | 16,054 | cpp | C++ | BuildModel/src/regmeshpcd.cpp | gopi231091/Object-Pose-Estimation | 11726fd008447fed3947c893d959b5acb9fd339e | [
"BSD-2-Clause"
] | 4 | 2019-02-19T18:55:35.000Z | 2021-10-10T22:20:18.000Z | BuildModel/src/regmeshpcd.cpp | gopi231091/Object-Pose-Estimation | 11726fd008447fed3947c893d959b5acb9fd339e | [
"BSD-2-Clause"
] | null | null | null | BuildModel/src/regmeshpcd.cpp | gopi231091/Object-Pose-Estimation | 11726fd008447fed3947c893d959b5acb9fd339e | [
"BSD-2-Clause"
] | 4 | 2019-09-06T01:52:41.000Z | 2020-04-03T09:40:11.000Z | #include "../include/regmeshpcd.h"
RegMeshPcd::RegMeshPcd()
{
}
//function to get ICP aligned pointcloud using single ICP
pcl::PointCloud<PointTReg>::Ptr RegMeshPcd::getIcp ( pcl::PointCloud<PointTReg>::Ptr p_cloudSource,
pcl::PointCloud<PointTReg>::Pt... | 46.668605 | 294 | 0.725053 | [
"mesh",
"object",
"vector",
"transform"
] |
ed944932472514aa10bf926229417868d3634e5c | 36,871 | cpp | C++ | maya/AbcExport/AbcWriteJob.cpp | matsbtegner/alembic | a714545ffeecf33b7eda52d12259210f4775a1ba | [
"MIT"
] | null | null | null | maya/AbcExport/AbcWriteJob.cpp | matsbtegner/alembic | a714545ffeecf33b7eda52d12259210f4775a1ba | [
"MIT"
] | null | null | null | maya/AbcExport/AbcWriteJob.cpp | matsbtegner/alembic | a714545ffeecf33b7eda52d12259210f4775a1ba | [
"MIT"
] | null | null | null | //-*****************************************************************************
//
// Copyright (c) 2009-2014,
// Sony Pictures Imageworks Inc. and
// Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with ... | 32.745115 | 94 | 0.538336 | [
"mesh",
"object",
"shape",
"vector",
"transform"
] |
ed97760dac6d064402de0ab4ff08d4e4ef5ed28a | 946 | cpp | C++ | Codeforces/1099B.cpp | anubhawbhalotia/Competitive-Programming | 32d7003abf9af4999b3dfa78fe1df9022ebbf50b | [
"MIT"
] | null | null | null | Codeforces/1099B.cpp | anubhawbhalotia/Competitive-Programming | 32d7003abf9af4999b3dfa78fe1df9022ebbf50b | [
"MIT"
] | null | null | null | Codeforces/1099B.cpp | anubhawbhalotia/Competitive-Programming | 32d7003abf9af4999b3dfa78fe1df9022ebbf50b | [
"MIT"
] | 1 | 2020-05-20T18:36:31.000Z | 2020-05-20T18:36:31.000Z | #include<bits/stdc++.h>
using namespace std;
#define ll long long
#define S string
#define mp make_pair
#define pb push_back
#define lb lower_bound
#define ub upper_bound
//Anubhaw Bhalotia https://github.com/anubhawbhalotia
#define fi first
#define se second
#define f(i,s,n) for(long i=s;i<n;i++)
#define fe(i,s,n) for... | 22 | 53 | 0.674419 | [
"vector"
] |
ed98818f0f47583eb9cbe4148763a16c5ba41ea4 | 644 | cpp | C++ | test/api/refinement_test.cpp | joergi-w/iGenVar | 6dfd3f9009dd435e86d838b973f1282b6e6e471c | [
"BSD-3-Clause"
] | 7 | 2019-11-18T14:34:03.000Z | 2022-03-13T22:29:40.000Z | test/api/refinement_test.cpp | joergi-w/iGenVar | 6dfd3f9009dd435e86d838b973f1282b6e6e471c | [
"BSD-3-Clause"
] | 174 | 2020-09-24T08:20:47.000Z | 2022-03-31T12:44:32.000Z | test/api/refinement_test.cpp | joergi-w/iGenVar | 6dfd3f9009dd435e86d838b973f1282b6e6e471c | [
"BSD-3-Clause"
] | 7 | 2019-11-18T14:34:13.000Z | 2021-11-19T02:59:32.000Z | #include "api_test.hpp"
// #include "modules/refinment/sViper_refinement_method.hpp" // for the sViper refinement method
/* -------- refinement methods tests -------- */
// TODO (irallia): these tests should be implemented when the associated refinement methods are implemented
// TEST(junction_detection, refinemen... | 32.2 | 107 | 0.71118 | [
"vector"
] |
ed98db938a59c4eaf8aaee683be92fcca3d41590 | 555 | cc | C++ | test/async_context.cc | LaudateCorpus1/node-addon-api | 744c8d2410af2e9e6c9abc3f19ea97fd686ca9c0 | [
"MIT"
] | 1,500 | 2017-05-23T06:54:02.000Z | 2022-03-31T07:28:40.000Z | test/async_context.cc | LaudateCorpus1/node-addon-api | 744c8d2410af2e9e6c9abc3f19ea97fd686ca9c0 | [
"MIT"
] | 1,024 | 2017-05-18T17:51:29.000Z | 2022-03-31T21:46:18.000Z | test/async_context.cc | LaudateCorpus1/node-addon-api | 744c8d2410af2e9e6c9abc3f19ea97fd686ca9c0 | [
"MIT"
] | 450 | 2017-06-01T20:25:04.000Z | 2022-03-31T09:34:27.000Z | #include "napi.h"
using namespace Napi;
namespace {
static void MakeCallback(const CallbackInfo& info) {
Function callback = info[0].As<Function>();
Object resource = info[1].As<Object>();
AsyncContext context(info.Env(), "async_context_test", resource);
callback.MakeCallback(
Object::New(info.Env()), ... | 25.227273 | 77 | 0.713514 | [
"object"
] |
ed9e427c9c605cd3c80cdb61164cd477b95e4d3d | 205 | cc | C++ | src/model.cc | CS126SP20/naive-bayes-pyanda2 | d07b1b6c479ea8ca4ac5b07a23ad9a1e56f236f4 | [
"MIT"
] | null | null | null | src/model.cc | CS126SP20/naive-bayes-pyanda2 | d07b1b6c479ea8ca4ac5b07a23ad9a1e56f236f4 | [
"MIT"
] | null | null | null | src/model.cc | CS126SP20/naive-bayes-pyanda2 | d07b1b6c479ea8ca4ac5b07a23ad9a1e56f236f4 | [
"MIT"
] | null | null | null | // Copyright 2020 [Your Name]. All rights reserved.
#include <bayes/model.h>
#include <nlohmann/json.hpp>
namespace bayes {
void Model::CalcProbsForPixel(const char& pixel) {
}
} // namespace bayes
| 14.642857 | 51 | 0.712195 | [
"model"
] |
ed9e45cf944bce9549df0fe010e9446ca9d4598c | 396 | cpp | C++ | GuiTest/DumbGuiItem.cpp | jordsti/stigame | 6ac0ae737667b1c77da3ef5007f5c4a3a080045a | [
"MIT"
] | 8 | 2015-02-03T20:23:49.000Z | 2022-02-15T07:51:05.000Z | GuiTest/DumbGuiItem.cpp | jordsti/stigame | 6ac0ae737667b1c77da3ef5007f5c4a3a080045a | [
"MIT"
] | null | null | null | GuiTest/DumbGuiItem.cpp | jordsti/stigame | 6ac0ae737667b1c77da3ef5007f5c4a3a080045a | [
"MIT"
] | 2 | 2017-02-13T18:04:00.000Z | 2020-08-24T03:21:37.000Z | #include "DumbGuiItem.h"
DumbGuiItem::DumbGuiItem(std::string m_value) :
StiGame::Gui::Item("DumbGuiItem")
{
value = m_value;
}
DumbGuiItem::~DumbGuiItem()
{
}
void DumbGuiItem::setValue(std::string m_value)
{
value = m_value;
}
std::string DumbGuiItem::getValue(void)
{
return value;
}
StiGame::Su... | 14.142857 | 47 | 0.681818 | [
"render"
] |
eda4ebdd56a175aac4f1752839684af81aaa2b14 | 76,447 | cpp | C++ | src/draw.cpp | assasinwar9/Barony | c67c01de1168db1c5a2edad98b23cfff9f999187 | [
"FTL",
"Zlib",
"MIT"
] | 373 | 2016-06-28T06:56:46.000Z | 2022-03-23T02:32:54.000Z | src/draw.cpp | assasinwar9/Barony | c67c01de1168db1c5a2edad98b23cfff9f999187 | [
"FTL",
"Zlib",
"MIT"
] | 361 | 2016-07-06T19:09:25.000Z | 2022-03-26T14:14:19.000Z | src/draw.cpp | addictgamer/Barony | c67c01de1168db1c5a2edad98b23cfff9f999187 | [
"FTL",
"Zlib",
"MIT"
] | 129 | 2016-06-29T09:02:49.000Z | 2022-01-23T09:56:06.000Z | /*-------------------------------------------------------------------------------
BARONY
File: draw.cpp
Desc: contains all drawing code
Copyright 2013-2016 (c) Turning Wheel LLC, all rights reserved.
See LICENSE for details.
-------------------------------------------------------------------------------*/
#inc... | 27.370927 | 200 | 0.54473 | [
"vector",
"solid"
] |
edabd96eb80e6ee871d3f88d20a1635c42176739 | 819 | hh | C++ | NetworkRelay/INetworkRelay.hh | deb0ch/R-Type | 8bb37cd5ec318efb97119afb87d4996f6bb7644e | [
"WTFPL"
] | 5 | 2016-03-15T20:14:10.000Z | 2020-10-30T23:56:24.000Z | NetworkRelay/INetworkRelay.hh | deb0ch/R-Type | 8bb37cd5ec318efb97119afb87d4996f6bb7644e | [
"WTFPL"
] | 3 | 2018-12-19T19:12:44.000Z | 2020-04-02T13:07:00.000Z | NetworkRelay/INetworkRelay.hh | deb0ch/R-Type | 8bb37cd5ec318efb97119afb87d4996f6bb7644e | [
"WTFPL"
] | 2 | 2016-04-11T19:29:28.000Z | 2021-11-26T20:53:22.000Z | #ifndef INETWORKRELAY_H_
# define INETWORKRELAY_H_
# include <vector>
# include "IBuffer.hh"
# include "Any.hpp"
class Remote;
class Room;
class INetworkRelay
{
public:
enum TCPType
{
CHANGE_ROOM_QUERY,
CHANGE_ROOM_QUERY_YES,
CHANGE_ROOM_QUERY_NON
};
public:
virtual ~INetworkRelay()... | 21.552632 | 79 | 0.676435 | [
"vector"
] |
edac5ac71014740e793a188bd68137e27276b602 | 12,545 | cpp | C++ | DerivedSources/WebCore/JSAudioListener.cpp | VincentWei/mdolphin-core | 48ffdcf587a48a7bb4345ae469a45c5b64ffad0e | [
"Apache-2.0"
] | 6 | 2017-05-31T01:46:45.000Z | 2018-06-12T10:53:30.000Z | DerivedSources/WebCore/JSAudioListener.cpp | FMSoftCN/mdolphin-core | 48ffdcf587a48a7bb4345ae469a45c5b64ffad0e | [
"Apache-2.0"
] | null | null | null | DerivedSources/WebCore/JSAudioListener.cpp | FMSoftCN/mdolphin-core | 48ffdcf587a48a7bb4345ae469a45c5b64ffad0e | [
"Apache-2.0"
] | 2 | 2017-07-17T06:02:42.000Z | 2018-09-19T10:08:38.000Z | /*
This file is part of the WebKit open source project.
This file has been generated by generate-bindings.pl. DO NOT MODIFY!
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation... | 42.525424 | 179 | 0.765803 | [
"object"
] |
edad70f6a0e187cafe4c3a26d173ddf70b56c104 | 777 | hpp | C++ | Modules/Core/Public/Dusk/SceneImporter.hpp | WhoBrokeTheBuild/dusk | c7248c88eaa282b09084a67038772e58f79102fc | [
"MIT"
] | 1 | 2017-05-30T19:10:25.000Z | 2017-05-30T19:10:25.000Z | Modules/Core/Public/Dusk/SceneImporter.hpp | WhoBrokeTheBuild/dusk | c7248c88eaa282b09084a67038772e58f79102fc | [
"MIT"
] | null | null | null | Modules/Core/Public/Dusk/SceneImporter.hpp | WhoBrokeTheBuild/dusk | c7248c88eaa282b09084a67038772e58f79102fc | [
"MIT"
] | 2 | 2017-08-23T18:47:54.000Z | 2020-07-08T01:51:31.000Z | #ifndef DUSK_SCENE_IMPORTER_HPP
#define DUSK_SCENE_IMPORTER_HPP
#include <Dusk/Config.hpp>
#include <Dusk/Object.hpp>
#include <Dusk/Entity.hpp>
#include <Dusk/String.hpp>
#include <Dusk/Path.hpp>
namespace Dusk {
class DUSK_CORE_API SceneImporter : public Object
{
public:
DISALLOW_COPY_AND_ASSIGN(SceneImporter... | 21 | 81 | 0.76834 | [
"object",
"vector"
] |
edad799513cf4241a4101c2c06f934fd3996706d | 2,032 | cpp | C++ | mr.Sadman/Classes/GameAct/Objects/Tech/Block.cpp | 1pkg/dump | 0ee579cb6a97ae64d5367cc624b2407d7d4b1c7b | [
"MIT"
] | null | null | null | mr.Sadman/Classes/GameAct/Objects/Tech/Block.cpp | 1pkg/dump | 0ee579cb6a97ae64d5367cc624b2407d7d4b1c7b | [
"MIT"
] | 3 | 2020-12-11T10:01:27.000Z | 2022-02-13T22:12:05.000Z | mr.Sadman/Classes/GameAct/Objects/Tech/Block.cpp | 1pkg/dump | 0ee579cb6a97ae64d5367cc624b2407d7d4b1c7b | [
"MIT"
] | null | null | null | #include "Block.hpp"
#include "Game/Objects/DecorateObject.hpp"
#include "Game.hpp"
#include "Game/Cache/GameCache.hpp"
#include "Game/Objects/Factories/ObjectsFactory.hpp"
#include "Ball.hpp"
namespace Objects
{
namespace Tech
{
void
Block::interact( Ball * ball )
{
hide();
ball->hide();
}
Bl... | 17.982301 | 94 | 0.649606 | [
"object"
] |
edaf7b6ac133fede4eee9cf6d39e8dd17f9fe9c9 | 27,265 | cc | C++ | 3rdParty/V8/v5.7.492.77/test/cctest/compiler/test-branch-combine.cc | sita1999/arangodb | 6a4f462fa209010cd064f99e63d85ce1d432c500 | [
"Apache-2.0"
] | 1,244 | 2015-01-02T21:08:56.000Z | 2022-03-22T21:34:16.000Z | 3rdParty/V8/v5.7.492.77/test/cctest/compiler/test-branch-combine.cc | lipper/arangodb | 66ea1fd4946668192e3f0d1060f0844f324ad7b8 | [
"Apache-2.0"
] | 125 | 2015-01-22T01:08:00.000Z | 2020-05-25T08:28:17.000Z | 3rdParty/V8/v5.7.492.77/test/cctest/compiler/test-branch-combine.cc | lipper/arangodb | 66ea1fd4946668192e3f0d1060f0844f324ad7b8 | [
"Apache-2.0"
] | 124 | 2015-01-12T15:06:17.000Z | 2022-03-26T07:48:53.000Z | // Copyright 2014 the V8 project 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 "test/cctest/cctest.h"
#include "test/cctest/compiler/codegen-tester.h"
#include "test/cctest/compiler/value-helper.h"
namespace v8 {
namespac... | 29.254292 | 80 | 0.640895 | [
"shape"
] |
edb0762d097deee646f018ee90a3bc3094340f43 | 1,575 | cpp | C++ | 4/1/nuggets.cpp | ilimugur/usaco | ec5edba0d3c2f1c1f5dd1905929f96b6629ffa0d | [
"MIT"
] | null | null | null | 4/1/nuggets.cpp | ilimugur/usaco | ec5edba0d3c2f1c1f5dd1905929f96b6629ffa0d | [
"MIT"
] | null | null | null | 4/1/nuggets.cpp | ilimugur/usaco | ec5edba0d3c2f1c1f5dd1905929f96b6629ffa0d | [
"MIT"
] | null | null | null | /*
ID:ilimugu1
LANG:C++
PROB:nuggets
*/
#include <iostream>
#include <vector>
#include <cstdlib>
#include <cstring>
#include <cstdio>
#define SIEVELENGTH 65537
using namespace std;
int gcd(int a, int b)
{
return (b > 0 ? gcd(b, a%b) : a);
}
int solve(const vector<int>& nums)
{
int n = nums.size();
bool f... | 18.103448 | 57 | 0.391746 | [
"vector"
] |
edb12859d83e213eccdbd32f6522ab3d31ae82e7 | 92,475 | cpp | C++ | Flatten/GA/e3ga.cpp | mauriciocele/arap-svd | bbefe4b0f18d7cd5e834b4c54e518f0d70f49565 | [
"MIT"
] | 4 | 2020-01-10T17:26:34.000Z | 2022-03-25T10:40:58.000Z | Flatten/GA/e3ga.cpp | mauriciocele/arap-svd | bbefe4b0f18d7cd5e834b4c54e518f0d70f49565 | [
"MIT"
] | null | null | null | Flatten/GA/e3ga.cpp | mauriciocele/arap-svd | bbefe4b0f18d7cd5e834b4c54e518f0d70f49565 | [
"MIT"
] | null | null | null |
// Generated on 2007-08-08 10:15:15 by G2 0.1 from 'E:\gasandbox\ga_sandbox\libgasandbox\e3ga.gs2'
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at... | 20.395898 | 270 | 0.563179 | [
"vector"
] |
edb73477889d3a36094d13bc8fcb2544b2e63cb8 | 30,876 | cc | C++ | media/remoting/courier_renderer_unittest.cc | Ron423c/chromium | 2edf7b980065b648f8b2a6e52193d83832fe36b7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | media/remoting/courier_renderer_unittest.cc | Ron423c/chromium | 2edf7b980065b648f8b2a6e52193d83832fe36b7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | media/remoting/courier_renderer_unittest.cc | Ron423c/chromium | 2edf7b980065b648f8b2a6e52193d83832fe36b7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2021-03-07T14:20:02.000Z | 2021-03-07T14:20:02.000Z | // Copyright 2016 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 "media/remoting/courier_renderer.h"
#include <memory>
#include <utility>
#include <vector>
#include "base/bind.h"
#include "base/check.h"
#incl... | 39.78866 | 80 | 0.730859 | [
"vector"
] |
edb8d4feb3a708176c79dd2e0c15d765271297ed | 34,787 | cpp | C++ | ke_mode/winnt/ntke_cpprtl/eh/table_based/eh_engine.cpp | 133a/project_ntke_cpprtl | f2d3fd36a2c44f968f7b10c344abe7e0b7aa2e4c | [
"MIT"
] | 12 | 2016-08-02T19:22:26.000Z | 2022-02-28T21:20:18.000Z | ke_mode/winnt/ntke_cpprtl/eh/table_based/eh_engine.cpp | 133a/project_ntke_cpprtl | f2d3fd36a2c44f968f7b10c344abe7e0b7aa2e4c | [
"MIT"
] | null | null | null | ke_mode/winnt/ntke_cpprtl/eh/table_based/eh_engine.cpp | 133a/project_ntke_cpprtl | f2d3fd36a2c44f968f7b10c344abe7e0b7aa2e4c | [
"MIT"
] | 6 | 2018-04-15T16:51:40.000Z | 2021-04-23T19:32:34.000Z | /////////////////////////////////////////////////////////////////////////////
//// copyright (c) 2012-2017 project_ntke_cpprtl
//// mailto:kt133a@seznam.cz
//// license: the MIT license
/////////////////////////////////////////////////////////////////////////////
#include "eh_config.h"
#include "eh_f... | 33.905458 | 190 | 0.593469 | [
"object"
] |
edb9463c408a339fae7962d87198865e08ecad0b | 23,146 | cpp | C++ | src/nio/Channel.cpp | krzydyn/jacpp | ab9b5bfcca1774198c05d9187e5891de1fdf4759 | [
"Apache-2.0"
] | 5 | 2019-01-01T14:55:58.000Z | 2021-01-31T14:55:59.000Z | src/nio/Channel.cpp | krzydyn/jacpp | ab9b5bfcca1774198c05d9187e5891de1fdf4759 | [
"Apache-2.0"
] | null | null | null | src/nio/Channel.cpp | krzydyn/jacpp | ab9b5bfcca1774198c05d9187e5891de1fdf4759 | [
"Apache-2.0"
] | null | null | null | #include <nio/channels/Channel.hpp>
#include <unistd.h>
#include <sys/socket.h>
#include <arpa/inet.h>
namespace nio {
namespace channels {
class IOStatus {
#undef EOF
public:
static const int EOF = -1; // End of file
static const int UNAVAILABLE = -2; // Nothing available (non-blocking)
static ... | 28.365196 | 115 | 0.678778 | [
"object"
] |
edc4d36c483720b5ad01f165dc767dc4d99ca976 | 3,219 | cpp | C++ | Scrabble.cpp | FRCTeamPhoenix/CMDGames2021 | 8112fb0ced2ec5a8ce0add77060dbb7e85290458 | [
"MIT"
] | null | null | null | Scrabble.cpp | FRCTeamPhoenix/CMDGames2021 | 8112fb0ced2ec5a8ce0add77060dbb7e85290458 | [
"MIT"
] | 5 | 2021-11-16T16:32:29.000Z | 2021-11-18T23:46:48.000Z | Scrabble.cpp | FRCTeamPhoenix/CMDGames2021 | 8112fb0ced2ec5a8ce0add77060dbb7e85290458 | [
"MIT"
] | 2 | 2021-11-01T23:46:16.000Z | 2021-11-04T22:46:03.000Z | #include <vector>
#include <string>
#include <iostream>
#include "scrabble.h"
#include <fstream>
#include <stdlib.h>
#include <time.h>
#include <climits>
#include <algorithm>
Scrabble::Scrabble() {
//adds the dictionary txt to list
std::ifstream f;
f.open("words_alpha.txt");
std::string line;
if (... | 29.53211 | 92 | 0.425598 | [
"vector"
] |
edc6cd0e6a6707979b88ccce70c529cba4e0900b | 50,063 | cpp | C++ | src/Loaders/NFS3Loader.cpp | Keiiko/OpenNFS | 9824ca7cb9025346d7d88837ff94d8b06cfdc324 | [
"MIT"
] | 1 | 2020-12-17T11:47:51.000Z | 2020-12-17T11:47:51.000Z | src/Loaders/NFS3Loader.cpp | Keiiko/OpenNFS | 9824ca7cb9025346d7d88837ff94d8b06cfdc324 | [
"MIT"
] | null | null | null | src/Loaders/NFS3Loader.cpp | Keiiko/OpenNFS | 9824ca7cb9025346d7d88837ff94d8b06cfdc324 | [
"MIT"
] | null | null | null | #include "NFS3Loader.h"
#include "../Util/Raytracer.h"
using namespace Utils;
using namespace TrackUtils;
// CAR
std::shared_ptr<Car> NFS3::LoadCar(const std::string &car_base_path) {
boost::filesystem::path p(car_base_path);
std::string car_name = p.filename().string();
std::stringstream viv_path, car_o... | 49.963074 | 223 | 0.561113 | [
"mesh",
"geometry",
"object",
"vector",
"model"
] |
edc72a9f57be62263e28934fc07c981ae5f93842 | 1,916 | hpp | C++ | include/note.hpp | Terodom/termNote | d4165a4897af74f06c443f4c27f126f36d5caaf2 | [
"MIT"
] | 3 | 2019-01-19T20:49:06.000Z | 2019-01-20T07:36:47.000Z | include/note.hpp | Terodom/termNote | d4165a4897af74f06c443f4c27f126f36d5caaf2 | [
"MIT"
] | 13 | 2019-01-20T10:39:02.000Z | 2019-01-30T19:31:55.000Z | include/note.hpp | Terodom/termNote | d4165a4897af74f06c443f4c27f126f36d5caaf2 | [
"MIT"
] | 3 | 2018-11-27T17:41:38.000Z | 2019-01-23T14:48:19.000Z | #pragma once
#define GCC_VERSION (__GNUC__ * 10000 \
+ __GNUC_MINOR__ * 100 \
+ __GNUC_PATCHLEVEL__)
#if GCC_VERSION < 80000
#include <experimental/filesystem>
namespace fs = std::experimental::filesystem;
#else
#include <filesystem>
namespace fs = std::filesyst... | 26.985915 | 133 | 0.644572 | [
"vector"
] |
edc7d58bc6f93903889c6e91d280031c80bf387d | 3,121 | cpp | C++ | src/algorithm/algorithm.cpp | AALEKH/hpx-dataflow | 5fe19bad51f2bbf7161ca79f005f04f53133ba3d | [
"BSL-1.0"
] | 4 | 2016-12-26T06:24:09.000Z | 2020-10-06T23:48:22.000Z | src/algorithm/algorithm.cpp | AALEKH/hpx-dataflow | 5fe19bad51f2bbf7161ca79f005f04f53133ba3d | [
"BSL-1.0"
] | 18 | 2016-06-15T11:06:49.000Z | 2016-08-18T12:58:51.000Z | src/algorithm/algorithm.cpp | AALEKH/hpx-dataflow | 5fe19bad51f2bbf7161ca79f005f04f53133ba3d | [
"BSL-1.0"
] | 1 | 2016-08-17T13:48:59.000Z | 2016-08-17T13:48:59.000Z | ////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2016 Aalekh Nigam
//
// 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)
/////////////////////////////////////////////... | 24.007692 | 95 | 0.665812 | [
"vector"
] |
edcbc5067c50f974f0a65102cdb3a127b0c92126 | 1,244 | cpp | C++ | problems/016.3Sum_Closest/AC_two_points_n2.cpp | subramp-prep/leetcode | d125201d9021ab9b1eea5e5393c2db4edd84e740 | [
"Unlicense"
] | null | null | null | problems/016.3Sum_Closest/AC_two_points_n2.cpp | subramp-prep/leetcode | d125201d9021ab9b1eea5e5393c2db4edd84e740 | [
"Unlicense"
] | null | null | null | problems/016.3Sum_Closest/AC_two_points_n2.cpp | subramp-prep/leetcode | d125201d9021ab9b1eea5e5393c2db4edd84e740 | [
"Unlicense"
] | null | null | null | /*
* Author: illuz <iilluzen[at]gmail.com>
* File: AC_two_points_n2.cpp
* Create Date: 2015-01-10 13:47:11
* Descripton: Just like 3Sum.
*/
#include <bits/stdc++.h>
using namespace std;
const int N = 0;
class Solution {
public:
int threeSumClosest(vector<int> &num, int target) {
int ret ... | 23.037037 | 58 | 0.415595 | [
"vector"
] |
edd8ee35cb460e8372ff363aa123545483f94550 | 5,084 | cpp | C++ | inference-engine/src/low_precision_transformations/src/fuse_subtract_to_fake_quantize.cpp | hanchengyao/openvino | 81c8cd711bb9f8dc48e5f288e77dc0d80cedebd8 | [
"Apache-2.0"
] | 1 | 2021-12-30T05:47:43.000Z | 2021-12-30T05:47:43.000Z | inference-engine/src/low_precision_transformations/src/fuse_subtract_to_fake_quantize.cpp | hanchengyao/openvino | 81c8cd711bb9f8dc48e5f288e77dc0d80cedebd8 | [
"Apache-2.0"
] | 42 | 2020-11-23T08:09:57.000Z | 2022-02-21T13:03:34.000Z | inference-engine/src/low_precision_transformations/src/fuse_subtract_to_fake_quantize.cpp | tsocha/openvino | 3081fac7581933568b496a3c4e744d1cee481619 | [
"Apache-2.0"
] | 2 | 2020-09-08T17:12:23.000Z | 2021-12-21T07:58:09.000Z | // Copyright (C) 2018-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include "low_precision/fuse_subtract_to_fake_quantize.hpp"
#include <memory>
#include <ngraph/ngraph.hpp>
#include <ngraph/pattern/op/wrap_type.hpp>
#include "low_precision/fake_quantize.hpp"
#include "low_precision/network_helper... | 38.515152 | 142 | 0.730724 | [
"transform"
] |
edd9fe2e290821460ab6f91e9604a217526dd057 | 1,341 | cpp | C++ | Communication/TextualSearchResultsImpl.cpp | Dudi119/SearchYA | a3468dedcd3fc8d63350a2c79b16b6949fdc7e41 | [
"MIT"
] | 5 | 2017-08-29T15:33:16.000Z | 2020-12-09T08:34:02.000Z | Communication/TextualSearchResultsImpl.cpp | Dudi119/MesosBenchMark | a3468dedcd3fc8d63350a2c79b16b6949fdc7e41 | [
"MIT"
] | 1 | 2017-09-26T11:44:01.000Z | 2017-09-27T06:40:01.000Z | Communication/TextualSearchResultsImpl.cpp | Dudi119/MesosBenchMark | a3468dedcd3fc8d63350a2c79b16b6949fdc7e41 | [
"MIT"
] | 2 | 2017-08-19T04:41:16.000Z | 2020-07-21T17:38:16.000Z | #include "TextualSearchResultsImpl.h"
#include "ITextualSearchService.h"
using namespace std;
TextualSearchResultsImpl::TextualSearchResultsImpl(grpc::ServerCompletionQueue& completionQueue, ITextualSearchService& consumer):
m_completionQueue(completionQueue), m_consumer(consumer){
m_service = shared_ptr<grpc... | 39.441176 | 130 | 0.773304 | [
"vector"
] |
ede5700d86bb6175540e588394ac619767bccc5c | 44,954 | cc | C++ | tests/third_party/poppler/utils/HtmlOutputDev.cc | albertobarri/idk | a250884f79e2a484251fc750bb915ecbc962be58 | [
"MIT"
] | 9,724 | 2015-01-01T02:06:30.000Z | 2019-01-17T15:13:51.000Z | tests/third_party/poppler/utils/HtmlOutputDev.cc | albertobarri/idk | a250884f79e2a484251fc750bb915ecbc962be58 | [
"MIT"
] | 7,584 | 2019-01-17T22:58:27.000Z | 2022-03-31T23:10:22.000Z | tests/third_party/poppler/utils/HtmlOutputDev.cc | albertobarri/idk | a250884f79e2a484251fc750bb915ecbc962be58 | [
"MIT"
] | 1,519 | 2015-01-01T18:11:12.000Z | 2019-01-17T14:16:02.000Z | //========================================================================
//
// HtmlOutputDev.cc
//
// Copyright 1997-2002 Glyph & Cog, LLC
//
// Changed 1999-2000 by G.Ovtcharov
//
// Changed 2002 by Mikhail Kruk
//
//========================================================================
//========================... | 26.694774 | 162 | 0.57461 | [
"object",
"transform",
"3d"
] |
ede8a4892d7a841b24676fea3ed1360e881f934e | 292 | hh | C++ | build/ARM/params/FUPool.hh | magnuram/edelsten5 | 63de812a22142f07fa48c253636e5c96156d4da9 | [
"BSD-3-Clause"
] | 5 | 2019-12-12T16:26:09.000Z | 2022-03-17T03:23:33.000Z | build/X86/params/FUPool.hh | zhoushuxin/impl_of_HPCA2018 | 594d807fb0c0712bb7766122c4efe3321d012687 | [
"BSD-3-Clause"
] | 1 | 2020-08-20T05:53:30.000Z | 2020-08-20T05:53:30.000Z | build/X86/params/FUPool.hh | zhoushuxin/impl_of_HPCA2018 | 594d807fb0c0712bb7766122c4efe3321d012687 | [
"BSD-3-Clause"
] | null | null | null | #ifndef __PARAMS__FUPool__
#define __PARAMS__FUPool__
class FUPool;
#include <vector>
#include "params/FUDesc.hh"
#include "params/SimObject.hh"
struct FUPoolParams
: public SimObjectParams
{
FUPool * create();
std::vector< FUDesc * > FUList;
};
#endif // __PARAMS__FUPool__
| 15.368421 | 35 | 0.726027 | [
"vector"
] |
edeabb3717258d4f50169845406f4be3e34fe34b | 21,810 | cpp | C++ | contrib/imgui/ImGuiFileDialog.cpp | Khirion/nau | 47a2ad8e0355a264cd507da5e7bba1bf7abbff95 | [
"MIT"
] | 29 | 2015-09-16T22:28:30.000Z | 2022-03-11T02:57:36.000Z | contrib/imgui/ImGuiFileDialog.cpp | Khirion/nau | 47a2ad8e0355a264cd507da5e7bba1bf7abbff95 | [
"MIT"
] | 1 | 2017-03-29T13:32:58.000Z | 2017-03-31T13:56:03.000Z | contrib/imgui/ImGuiFileDialog.cpp | Khirion/nau | 47a2ad8e0355a264cd507da5e7bba1bf7abbff95 | [
"MIT"
] | 10 | 2015-10-15T14:20:15.000Z | 2022-02-17T10:37:29.000Z | // This is an independent project of an individual developer. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
// From https://github.com/aiekick/ImGuiFileDialog
#include "ImGuiFileDialog.h"
#include "imgui.h"
#ifdef WIN32
#include <dirent.h>
#define PATH_... | 21.723108 | 112 | 0.610912 | [
"vector"
] |
edec0177a253b964b3cc03f1136c0a350f997116 | 2,438 | cpp | C++ | tests/rho/ip/tAddrTest.cpp | Rhobota/librho | d540cba6227e15ac6ef3dcb6549ed9557f6fee04 | [
"BSD-3-Clause"
] | 1 | 2016-09-22T03:27:33.000Z | 2016-09-22T03:27:33.000Z | tests/rho/ip/tAddrTest.cpp | Rhobota/librho | d540cba6227e15ac6ef3dcb6549ed9557f6fee04 | [
"BSD-3-Clause"
] | null | null | null | tests/rho/ip/tAddrTest.cpp | Rhobota/librho | d540cba6227e15ac6ef3dcb6549ed9557f6fee04 | [
"BSD-3-Clause"
] | null | null | null | #include <rho/ip/tAddr.h>
#include <rho/ip/tAddrGroup.h>
#include <rho/tCrashReporter.h>
#include <rho/tTest.h>
#include <iostream>
#include <string>
#include <vector>
/*
* Note: tAddr isn't constructable by client code, so to test it we'll have
* to use tAddrGroup to get some tAddr objects.
*/
using namespace ... | 24.626263 | 75 | 0.626743 | [
"vector"
] |
edf42469dc6f3d080b5720b968583d1221a77460 | 3,855 | cpp | C++ | src/libv/update/update_client/network_client.cpp | cpplibv/libv | 293e382f459f0acbc540de8ef6283782b38d2e63 | [
"Zlib"
] | 2 | 2018-04-11T03:07:03.000Z | 2019-03-29T15:24:12.000Z | src/libv/update/update_client/network_client.cpp | cpplibv/libv | 293e382f459f0acbc540de8ef6283782b38d2e63 | [
"Zlib"
] | null | null | null | src/libv/update/update_client/network_client.cpp | cpplibv/libv | 293e382f459f0acbc540de8ef6283782b38d2e63 | [
"Zlib"
] | 1 | 2021-06-13T06:39:06.000Z | 2021-06-13T06:39:06.000Z | // Project: libv.update, File: src/libv/update/update_client/network_client.cpp, Author: Császár Mátyás [Vader]
// hpp
#include <libv/update/update_client/network_client.hpp>
// libv
#include <libv/mt/binary_latch.hpp>
#include <libv/net/mtcp/connection_he.hpp>
#include <libv/serial/archive/binary.hpp>
#include <libv/... | 30.84 | 143 | 0.680156 | [
"vector"
] |
edf71c44322a34a94eaa4bf4bf3f5d4e3e40be8d | 3,302 | hh | C++ | src/cpu/o3/hash.hh | dskarlatos/JamaisVu | bb3e072b594673f492dc3d612ff185c2c9bd91da | [
"MIT",
"BSD-3-Clause"
] | 4 | 2020-12-11T18:48:36.000Z | 2021-11-08T20:11:51.000Z | src/cpu/o3/hash.hh | dskarlatos/JamaisVu | bb3e072b594673f492dc3d612ff185c2c9bd91da | [
"MIT",
"BSD-3-Clause"
] | null | null | null | src/cpu/o3/hash.hh | dskarlatos/JamaisVu | bb3e072b594673f492dc3d612ff185c2c9bd91da | [
"MIT",
"BSD-3-Clause"
] | null | null | null | /* Copyright (c) 2016, Matthias Vallentin
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and... | 30.574074 | 79 | 0.753786 | [
"object",
"vector"
] |
edf9945076d0362af100becca4ce7c56ac588580 | 4,574 | hpp | C++ | include/GlobalNamespace/OVRBoneCapsule.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | include/GlobalNamespace/OVRBoneCapsule.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | include/GlobalNamespace/OVRBoneCapsule.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
#include "extern/beatsaber-hook/shared/utils/il2cpp-utils-methods.hpp"
#include "extern/b... | 49.182796 | 253 | 0.721906 | [
"object"
] |
edfa66c0a7dc1ed69fa342637de3a44d46ceb90c | 4,883 | cpp | C++ | Parser.cpp | taraldv/MazeSolve | a110118f608aa087a8ee38d4723e073042a7c136 | [
"MIT"
] | 1 | 2020-12-07T10:55:35.000Z | 2020-12-07T10:55:35.000Z | Parser.cpp | taraldv/MazeSolve | a110118f608aa087a8ee38d4723e073042a7c136 | [
"MIT"
] | null | null | null | Parser.cpp | taraldv/MazeSolve | a110118f608aa087a8ee38d4723e073042a7c136 | [
"MIT"
] | null | null | null | /*
* A simple libpng example program
* http://zarb.org/~gc/html/libpng.html
*
* Modified by Yoshimasa Niwa to make it much simpler
* and support all defined color_type.
*
* To build, use the next instruction on OS X.
* $ brew install libpng
* $ clang -lz -lpng15 libpng_test.c
*
* Copyright 2002-2010 Guillaum... | 25.7 | 94 | 0.641614 | [
"3d"
] |
edfac8e975a6143d58bd0dafd4170869aa45efbe | 9,622 | cpp | C++ | VideojuegoIPOO/Game.cpp | AlonsoCerpa/IPOO | 269082c967feac4e46f120d0a031917a024a6826 | [
"MIT"
] | null | null | null | VideojuegoIPOO/Game.cpp | AlonsoCerpa/IPOO | 269082c967feac4e46f120d0a031917a024a6826 | [
"MIT"
] | null | null | null | VideojuegoIPOO/Game.cpp | AlonsoCerpa/IPOO | 269082c967feac4e46f120d0a031917a024a6826 | [
"MIT"
] | null | null | null | #include "Game.h"
#include <iostream>
#include <random>
#include <SFML/Audio.hpp>
Game *Game::uniqueGame = nullptr;
///////////////////////////////////////////////////////////////////////////////
Game *Game::getInstance()
{
if (uniqueGame == nullptr)
uniqueGame = new Game();
return uniqueGame;
}
Gam... | 27.25779 | 102 | 0.530555 | [
"render"
] |
61020899cbc4a7e433b151dccaebfe90764d3e2d | 4,832 | cpp | C++ | 3rdparty/webkit/Source/WebCore/Modules/gamepad/NavigatorGamepad.cpp | mchiasson/PhaserNative | f867454602c395484bf730a7c43b9c586c102ac2 | [
"MIT"
] | null | null | null | 3rdparty/webkit/Source/WebCore/Modules/gamepad/NavigatorGamepad.cpp | mchiasson/PhaserNative | f867454602c395484bf730a7c43b9c586c102ac2 | [
"MIT"
] | 9 | 2020-04-18T18:47:18.000Z | 2020-04-18T18:52:41.000Z | Source/WebCore/Modules/gamepad/NavigatorGamepad.cpp | ijsf/DeniseEmbeddableWebKit | 57dfc6783d60f8f59b7129874e60f84d8c8556c9 | [
"BSD-3-Clause"
] | 1 | 2019-01-25T13:55:25.000Z | 2019-01-25T13:55:25.000Z | /*
* Copyright (C) 2014 Apple 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:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions a... | 32.870748 | 124 | 0.720199 | [
"object",
"vector"
] |
61022a877c334ff9778584dac904ba89c45d1b18 | 1,495 | cpp | C++ | PathfindingSandbox/Scenario.cpp | SgtWiggles/PathfindingSandbox | 8c247b52d2888ee0b5345163b45559283123c9c1 | [
"MIT"
] | null | null | null | PathfindingSandbox/Scenario.cpp | SgtWiggles/PathfindingSandbox | 8c247b52d2888ee0b5345163b45559283123c9c1 | [
"MIT"
] | null | null | null | PathfindingSandbox/Scenario.cpp | SgtWiggles/PathfindingSandbox | 8c247b52d2888ee0b5345163b45559283123c9c1 | [
"MIT"
] | null | null | null | #include "Scenario.h"
#include <fstream>
#include <iostream>
#include <sstream>
void Scenario::loadScenario(const std::string_view path) {
auto file = std::fstream(path.data());
std::string line;
std::string map;
int w, h;
std::getline(file, line);
while (std::getline(file, line)) {
ScenarioCase c;
... | 25.338983 | 77 | 0.608696 | [
"vector"
] |
6102d445589afe2efc321559d1b754ec4cff034e | 13,519 | hpp | C++ | RapidXML/RapidXMLSTD.hpp | Fe-Bell/RapidXML | 5c97748913e2a7f48496ed44fb26bbf797c9d796 | [
"MIT"
] | 1 | 2020-07-25T16:48:44.000Z | 2020-07-25T16:48:44.000Z | RapidXML/RapidXMLSTD.hpp | Fe-Bell/RapidXML | 5c97748913e2a7f48496ed44fb26bbf797c9d796 | [
"MIT"
] | null | null | null | RapidXML/RapidXMLSTD.hpp | Fe-Bell/RapidXML | 5c97748913e2a7f48496ed44fb26bbf797c9d796 | [
"MIT"
] | null | null | null | #ifndef RAPIDXMLSTD
#define RAPIDXMLSTD
#include "rapidxml.hpp"
#include "rapidxml_utils.hpp"
#include "rapidxml_ext.hpp"
#include <string>
#define XML_XSI_TYPE "xsi:type"
#define XML_XMLNS_XSI "xmlns:xsi"
#define XML_XMLNS_XSD "xmlns:xsd"
/**Defines basic RapidXML types with friendly names**/
typedef rapidxml::xml... | 44.913621 | 162 | 0.740809 | [
"object"
] |
61043d9b64e540afce1f14f46f3255f0def86b6e | 5,193 | cpp | C++ | deps/gwen/src/Controls/TreeNode.cpp | haileys/battlecars | e6cf3ca50d7695ce89ab2acab8a276279db508e6 | [
"Zlib"
] | 1 | 2022-02-06T10:36:59.000Z | 2022-02-06T10:36:59.000Z | deps/gwen/src/Controls/TreeNode.cpp | haileys/battlecars | e6cf3ca50d7695ce89ab2acab8a276279db508e6 | [
"Zlib"
] | null | null | null | deps/gwen/src/Controls/TreeNode.cpp | haileys/battlecars | e6cf3ca50d7695ce89ab2acab8a276279db508e6 | [
"Zlib"
] | null | null | null | /*
GWEN
Copyright (c) 2010 Facepunch Studios
See license in Gwen.h
*/
#include "Gwen/Controls/TreeNode.h"
#include "Gwen/Controls/TreeControl.h"
#include "Gwen/Utility.h"
using namespace Gwen;
using namespace Gwen::Controls;
class OpenToggleButton : public Button
{
GWEN_CONTROL_INLINE ( OpenToggleButton, Butto... | 20.689243 | 201 | 0.675332 | [
"render"
] |
6104eb301693ea026af93234c824e446050ee0fe | 1,397 | hpp | C++ | src/netspeak/util/Vec.hpp | netspeak/netspeak4-application-cpp | b322c19e22c71f39be95b37b14f43daab1cb9024 | [
"MIT"
] | null | null | null | src/netspeak/util/Vec.hpp | netspeak/netspeak4-application-cpp | b322c19e22c71f39be95b37b14f43daab1cb9024 | [
"MIT"
] | 7 | 2020-06-02T18:37:02.000Z | 2021-02-17T11:04:22.000Z | src/netspeak/util/Vec.hpp | netspeak/netspeak4-application-ngrams | b322c19e22c71f39be95b37b14f43daab1cb9024 | [
"MIT"
] | null | null | null | #ifndef NETSPEAK_UTIL_VEC_HPP
#define NETSPEAK_UTIL_VEC_HPP
#include <vector>
namespace netspeak {
namespace util {
/**
* @brief A simple function that appends all elements of \c other to \c base.
*
* @tparam T
* @param base
* @param other
*/
template <typename T, typename I>
inline void vec_append(std::vecto... | 19.957143 | 78 | 0.647817 | [
"vector"
] |
610abbab5dcaf959939218ba7cd099c1c00846aa | 17,464 | cpp | C++ | src/execution/operator/aggregate/physical_hash_aggregate.cpp | ChuyingHe/duckdb-master-rl | 28edfc40bd012d4094442c0dfa7339a0c52a4ee8 | [
"MIT"
] | 1 | 2021-09-15T10:29:20.000Z | 2021-09-15T10:29:20.000Z | src/execution/operator/aggregate/physical_hash_aggregate.cpp | ChuyingHe/duckdb-master-rl | 28edfc40bd012d4094442c0dfa7339a0c52a4ee8 | [
"MIT"
] | null | null | null | src/execution/operator/aggregate/physical_hash_aggregate.cpp | ChuyingHe/duckdb-master-rl | 28edfc40bd012d4094442c0dfa7339a0c52a4ee8 | [
"MIT"
] | null | null | null | #include "duckdb/execution/operator/aggregate/physical_hash_aggregate.hpp"
#include "duckdb/catalog/catalog_entry/aggregate_function_catalog_entry.hpp"
#include "duckdb/common/vector_operations/vector_operations.hpp"
#include "duckdb/execution/aggregate_hashtable.hpp"
#include "duckdb/execution/partitionable_hashtable... | 35.934156 | 117 | 0.712151 | [
"vector"
] |
610bf19458b47a658591b3be72c468b2c6d3af6d | 2,749 | hpp | C++ | src/ttauri/delayed_format.hpp | PinkFlufflyLlama/ttauri | 7badcfbe792932ebb912d54d1062d8fc820c40a7 | [
"BSL-1.0"
] | null | null | null | src/ttauri/delayed_format.hpp | PinkFlufflyLlama/ttauri | 7badcfbe792932ebb912d54d1062d8fc820c40a7 | [
"BSL-1.0"
] | null | null | null | src/ttauri/delayed_format.hpp | PinkFlufflyLlama/ttauri | 7badcfbe792932ebb912d54d1062d8fc820c40a7 | [
"BSL-1.0"
] | null | null | null | // Copyright Take Vos 2021.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt)
#include <format>
#include <tuple>
#include "forward_value.hpp"
#include "fixed_string.hpp"
#pragma once
namespace tt {
/** Delayed fo... | 33.120482 | 123 | 0.671517 | [
"vector"
] |
610c83b837d4f988889753664aab6e450343187b | 9,492 | cpp | C++ | src/Court.cpp | andrefmrocha/MIEIC_18_19_AEDA_PT2 | 4b9c14fbac2ad8c74c3839a33b4d6a469d552bef | [
"MIT"
] | null | null | null | src/Court.cpp | andrefmrocha/MIEIC_18_19_AEDA_PT2 | 4b9c14fbac2ad8c74c3839a33b4d6a469d552bef | [
"MIT"
] | null | null | null | src/Court.cpp | andrefmrocha/MIEIC_18_19_AEDA_PT2 | 4b9c14fbac2ad8c74c3839a33b4d6a469d552bef | [
"MIT"
] | 1 | 2020-02-02T21:20:06.000Z | 2020-02-02T21:20:06.000Z | /*
* Court.cpp
*
* Created on: Oct 21, 2018
* Author: andrefmrocha
*/
#include "Court.h"
using namespace std;
static double courtPrice = 15;
Court::Court(int year):currentYear(Year(year))
{
this->maxUsers = 4;
}
Court::Court() {}
bool Court::isOccupied(int month, int day, double startingHour, int dura... | 26.813559 | 125 | 0.63622 | [
"vector"
] |
610dd3a376beb4f8680dba7b447e57614c24ccfd | 9,110 | cpp | C++ | molequeue/app/queues/remote.cpp | cygwin-lem/molequeue | 0511c9a5d6f7c0aaa728041945b8638dd9232d00 | [
"BSD-3-Clause"
] | 18 | 2017-02-28T13:24:03.000Z | 2022-03-11T17:58:08.000Z | molequeue/app/queues/remote.cpp | cygwin-lem/molequeue | 0511c9a5d6f7c0aaa728041945b8638dd9232d00 | [
"BSD-3-Clause"
] | 14 | 2015-12-28T21:16:21.000Z | 2021-09-11T00:38:40.000Z | molequeue/app/queues/remote.cpp | cygwin-lem/molequeue | 0511c9a5d6f7c0aaa728041945b8638dd9232d00 | [
"BSD-3-Clause"
] | 20 | 2015-01-29T16:35:47.000Z | 2021-04-09T02:05:23.000Z | /******************************************************************************
This source file is part of the MoleQueue project.
Copyright 2011-2012 Kitware, Inc.
This source code is released under the New BSD License, (the "License").
Unless required by applicable law or agreed to in writing, software
... | 28.73817 | 80 | 0.640834 | [
"object"
] |
6112217850c563ad061ede852c3941f5e89fee0e | 4,014 | cpp | C++ | DEM/Low/src/Frame/LightAttribute.cpp | niello/deusexmachina | 2f698054fe82d8b40a0a0e58b86d64ffed0de06c | [
"MIT"
] | 15 | 2019-05-07T11:26:13.000Z | 2022-01-12T18:26:45.000Z | DEM/Low/src/Frame/LightAttribute.cpp | niello/deusexmachina | 2f698054fe82d8b40a0a0e58b86d64ffed0de06c | [
"MIT"
] | 16 | 2021-10-04T17:15:31.000Z | 2022-03-20T09:34:29.000Z | DEM/Low/src/Frame/LightAttribute.cpp | niello/deusexmachina | 2f698054fe82d8b40a0a0e58b86d64ffed0de06c | [
"MIT"
] | 2 | 2019-04-28T23:27:48.000Z | 2019-05-07T11:26:18.000Z | #include "LightAttribute.h"
#include <Scene/SPS.h>
#include <Render/Light.h>
#include <Core/Factory.h>
#include <IO/BinaryReader.h>
namespace Frame
{
FACTORY_CLASS_IMPL(Frame::CLightAttribute, 'LGTA', Scene::CNodeAttribute);
bool CLightAttribute::LoadDataBlocks(IO::CBinaryReader& DataReader, UPTR Count)
{
for (UPTR ... | 22.677966 | 93 | 0.594918 | [
"render",
"transform"
] |
6117ed95d4cdde0945dc398dafe1811406e010ec | 7,880 | hxx | C++ | Code/Tools/Standalone/Source/Driller/StripChart.hxx | aaarsene/o3de | 37e3b0226958974defd14dd6d808e8557dcd7345 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-09-13T00:01:12.000Z | 2021-09-13T00:01:12.000Z | Code/Tools/Standalone/Source/Driller/StripChart.hxx | aaarsene/o3de | 37e3b0226958974defd14dd6d808e8557dcd7345 | [
"Apache-2.0",
"MIT"
] | null | null | null | Code/Tools/Standalone/Source/Driller/StripChart.hxx | aaarsene/o3de | 37e3b0226958974defd14dd6d808e8557dcd7345 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-07-20T11:07:25.000Z | 2021-07-20T11:07:25.000Z | /*
* Copyright (c) Contributors to the Open 3D Engine Project. For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#ifndef AZ_STRIPCHART_H
#define AZ_STRIPCHART_H
#if !defined(Q_MOC_RUN)
#include <AzCore/base.h>
#i... | 35.818182 | 165 | 0.656853 | [
"vector",
"transform",
"3d"
] |
611d5e4e3dfcebf70b39afd6a404c153443ee891 | 1,699 | cpp | C++ | solutions/recover_binary_search_tree.cpp | kmykoh97/My-Leetcode | 0ffdea16c3025805873aafb6feffacaf3411a258 | [
"Apache-2.0"
] | null | null | null | solutions/recover_binary_search_tree.cpp | kmykoh97/My-Leetcode | 0ffdea16c3025805873aafb6feffacaf3411a258 | [
"Apache-2.0"
] | null | null | null | solutions/recover_binary_search_tree.cpp | kmykoh97/My-Leetcode | 0ffdea16c3025805873aafb6feffacaf3411a258 | [
"Apache-2.0"
] | null | null | null | // You are given the root of a binary search tree (BST), where exactly two nodes of the tree were swapped by mistake. Recover the tree without changing its structure.
// Follow up: A solution using O(n) space is pretty straight forward. Could you devise a constant space solution?
// Example 1:
// Input: root = [... | 29.293103 | 166 | 0.619776 | [
"vector"
] |
6125606d23e9697bb959432bef2b8653387a1844 | 23,590 | cpp | C++ | Src/MainLib/InterceptPluginManager.cpp | vinjn/glintercept | f82166d3a774bfb02459f6b3ae2a03d4c9eaf64f | [
"MIT"
] | 468 | 2015-04-13T19:03:57.000Z | 2022-03-23T00:11:24.000Z | Src/MainLib/InterceptPluginManager.cpp | vinjn/glintercept | f82166d3a774bfb02459f6b3ae2a03d4c9eaf64f | [
"MIT"
] | 12 | 2015-05-25T11:15:21.000Z | 2020-10-26T02:46:50.000Z | Src/MainLib/InterceptPluginManager.cpp | vinjn/glintercept | f82166d3a774bfb02459f6b3ae2a03d4c9eaf64f | [
"MIT"
] | 67 | 2015-04-22T13:22:48.000Z | 2022-03-05T01:11:02.000Z | /*=============================================================================
GLIntercept - OpenGL intercept/debugging tool
Copyright (C) 2004 Damian Trebilco
Licensed under the MIT license - See Docs\license.txt for details.
=============================================================================*/
#inc... | 27.494172 | 134 | 0.6273 | [
"render"
] |
6125e46d434680350fc60670dd907b3fe259879e | 5,084 | hpp | C++ | cppcache/src/ClientProxyMembershipID.hpp | mreddington/geode-native | bfcfac5be1bb64e7b2f149202ab568f5233947ad | [
"Apache-2.0"
] | null | null | null | cppcache/src/ClientProxyMembershipID.hpp | mreddington/geode-native | bfcfac5be1bb64e7b2f149202ab568f5233947ad | [
"Apache-2.0"
] | null | null | null | cppcache/src/ClientProxyMembershipID.hpp | mreddington/geode-native | bfcfac5be1bb64e7b2f149202ab568f5233947ad | [
"Apache-2.0"
] | null | null | null | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | 35.802817 | 79 | 0.712628 | [
"vector"
] |
612975fbde441a02dad7488e5efcb0c2c1bac4bd | 44,520 | c++ | C++ | faxd/ClassModem.c++ | libelle17/hylafax_copy | 15a3054bb7f2a90ebbc1b03326a7eea6dbcb907f | [
"libtiff"
] | null | null | null | faxd/ClassModem.c++ | libelle17/hylafax_copy | 15a3054bb7f2a90ebbc1b03326a7eea6dbcb907f | [
"libtiff"
] | null | null | null | faxd/ClassModem.c++ | libelle17/hylafax_copy | 15a3054bb7f2a90ebbc1b03326a7eea6dbcb907f | [
"libtiff"
] | null | null | null | /* $Id: ClassModem.c++ 1114 2012-07-02 18:27:37Z faxguy $ */
/*
* Copyright (c) 1994-1996 Sam Leffler
* Copyright (c) 1994-1996 Silicon Graphics, Inc.
* HylaFAX is a trademark of Silicon Graphics
*
* Permission to use, copy, modify, distribute, and sell this software and
* its documentation for any purpose is he... | 27.790262 | 129 | 0.617498 | [
"model"
] |
612be19e9249ffc6b8e677ebd2b6382ba69fc9fa | 4,984 | cpp | C++ | Kickstart/KickStart19BVC/c.cpp | Shahraaz/CP_P_S5 | b068ad02d34338337e549d92a14e3b3d9e8df712 | [
"MIT"
] | null | null | null | Kickstart/KickStart19BVC/c.cpp | Shahraaz/CP_P_S5 | b068ad02d34338337e549d92a14e3b3d9e8df712 | [
"MIT"
] | null | null | null | Kickstart/KickStart19BVC/c.cpp | Shahraaz/CP_P_S5 | b068ad02d34338337e549d92a14e3b3d9e8df712 | [
"MIT"
] | null | null | null | // Optimise
#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 MULTI_TEST
#ifdef LOCAL
#define db(...) ZZ(#__VA_ARGS__, __VA_ARGS__);
#define pc(...) PC(#__VA_ARGS__, __VA_ARGS__);
template <typename T, typenam... | 25.171717 | 131 | 0.475923 | [
"vector"
] |
612c9f0903d42bfd640c39f2a712f5dce41aaafe | 2,910 | cc | C++ | components/viz/service/surfaces/surface_saved_frame_storage.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | components/viz/service/surfaces/surface_saved_frame_storage.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 86 | 2015-10-21T13:02:42.000Z | 2022-03-14T07:50:50.000Z | components/viz/service/surfaces/surface_saved_frame_storage.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | // Copyright 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 "components/viz/service/surfaces/surface_saved_frame_storage.h"
#include <memory>
#include <utility>
#include "base/bind.h"
#include "base/canc... | 34.235294 | 79 | 0.760825 | [
"render"
] |
9ed34f04a999c584645e45e454010559d9da340a | 7,349 | cpp | C++ | dp/multidp.cpp | zhitko/sptk-analyzer | d70de9ae4c3c20efe51864a174310ca59d31c11f | [
"MIT"
] | 7 | 2017-12-02T20:47:53.000Z | 2021-06-17T12:22:17.000Z | dp/multidp.cpp | zhitko/sptk-analyzer | d70de9ae4c3c20efe51864a174310ca59d31c11f | [
"MIT"
] | 1 | 2019-03-27T21:31:30.000Z | 2019-03-27T21:31:30.000Z | dp/multidp.cpp | zhitko/inton-trainer | d70de9ae4c3c20efe51864a174310ca59d31c11f | [
"MIT"
] | null | null | null | #include "multidp.h"
#include <QDebug>
#include "defines.h"
extern "C" {
#include "./SPTK/others/func.h"
}
MultiDP::MultiDP(int sigSize, int pttrnSize, int limit):
ContinuousDP(
new SpectrSignal(zerov(pttrnSize), 1),
new SpectrSignal(zerov(sigSize), 1),
1,
limi... | 31.813853 | 98 | 0.58212 | [
"vector"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.