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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8b445c6580dbee8e1f941bbbe65e52d77def3342 | 740 | cpp | C++ | jni/application/Object_Info.cpp | clarkdonald/eecs494game4 | c5101b4bbf7f620c3490dcfb88f5e72260ef8fa2 | [
"BSD-2-Clause"
] | null | null | null | jni/application/Object_Info.cpp | clarkdonald/eecs494game4 | c5101b4bbf7f620c3490dcfb88f5e72260ef8fa2 | [
"BSD-2-Clause"
] | null | null | null | jni/application/Object_Info.cpp | clarkdonald/eecs494game4 | c5101b4bbf7f620c3490dcfb88f5e72260ef8fa2 | [
"BSD-2-Clause"
] | null | null | null | #include "Object_Info.h"
#include <string>
using namespace Zeni;
Object_Info::Object_Info(const String & texture_, const Point2f &position_, const Vector2f &size_)
: Game_Object(position_, size_), texture(texture_)
{}
void Object_Info::render(const unsigned int &num_objects) const {
auto pos = get_position();
G... | 29.6 | 99 | 0.659459 | [
"render"
] |
8b4e9408f6070aaa5c1584d56982fe4128b375f9 | 2,272 | cpp | C++ | ToDoManager/src/Tasks.cpp | Electrux/CCPP-Code | 3c5e5b866cf050c11bced9651b112eb31dd2465d | [
"BSD-3-Clause"
] | 6 | 2019-08-29T23:31:17.000Z | 2021-11-14T20:35:47.000Z | ToDoManager/src/Tasks.cpp | Electrux/CCPP-Code | 3c5e5b866cf050c11bced9651b112eb31dd2465d | [
"BSD-3-Clause"
] | null | null | null | ToDoManager/src/Tasks.cpp | Electrux/CCPP-Code | 3c5e5b866cf050c11bced9651b112eb31dd2465d | [
"BSD-3-Clause"
] | 1 | 2019-09-01T12:22:58.000Z | 2019-09-01T12:22:58.000Z | #include <iostream>
#include <vector>
#include <string>
#include <fstream>
#include "../include/Tasks.hpp"
#include "../include/StringFuncs.hpp"
Tasks::Tasks( std::string _filename )
{
this->_filename = _filename;
std::fstream file;
file.open( _filename, std::ios::in );
if( !file ) {
file.open( _filename, s... | 14.658065 | 82 | 0.598151 | [
"vector"
] |
332b6faf4cf9acf8ccfb5412160e089d56b50a54 | 1,134 | cpp | C++ | C++/692.top-k-frequent-words.cpp | WilliamZhaoz/github | 2aa0eb17e272249fc225cf2e9861c4c44bd0e265 | [
"MIT"
] | 1 | 2018-03-06T05:07:22.000Z | 2018-03-06T05:07:22.000Z | C++/692.top-k-frequent-words.cpp | WilliamZhaoz/github | 2aa0eb17e272249fc225cf2e9861c4c44bd0e265 | [
"MIT"
] | 1 | 2021-12-24T16:41:02.000Z | 2021-12-24T16:41:02.000Z | C++/692.top-k-frequent-words.cpp | WilliamZhaoz/github | 2aa0eb17e272249fc225cf2e9861c4c44bd0e265 | [
"MIT"
] | null | null | null | struct cmp {
bool operator()(const pair<int, string> &a, const pair<int, string> &b) {
if (a.first == b.first) {
int al = a.second.size(), bl = b.second.size(), i = 0, j = 0;
while (i < al && j < bl) {
if (a.second[i] != b.second[j]) {
return a.sec... | 27 | 77 | 0.421517 | [
"vector"
] |
332bdd21c36ff618fca03d661f8a58b17efd5f1b | 10,819 | cpp | C++ | src/components/performance_counters/papi/server/papi.cpp | brycelelbach/hpx | 94582f5dc26e889cdcf80913975ff33b7f975285 | [
"BSL-1.0"
] | 3 | 2017-04-06T16:36:38.000Z | 2018-05-19T11:28:54.000Z | src/components/performance_counters/papi/server/papi.cpp | atrantan/hpx | 6c214b2f3e3fc58648513c9f1cfef37fde59333c | [
"BSL-1.0"
] | 1 | 2018-08-13T17:42:55.000Z | 2018-08-13T18:20:23.000Z | src/components/performance_counters/papi/server/papi.cpp | atrantan/hpx | 6c214b2f3e3fc58648513c9f1cfef37fde59333c | [
"BSL-1.0"
] | 2 | 2018-05-25T06:33:50.000Z | 2019-02-25T20:09:13.000Z | // Copyright (c) 2007-2011 Hartmut Kaiser
// Copyright (c) 2011-2012 Maciej Brodowicz
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#include <hpx/config.hpp>
#if defined(HPX_HAVE_PAPI)
#include <hpx/runt... | 35.241042 | 89 | 0.59377 | [
"object",
"vector"
] |
332ccfde3f0527a08862f66a4d36da4b3e0bda48 | 22,524 | cpp | C++ | dbms/src/Storages/AlterCommands.cpp | vicdashkov/ClickHouse | 3d604357008150d91314120730691c5795cd7d65 | [
"Apache-2.0"
] | null | null | null | dbms/src/Storages/AlterCommands.cpp | vicdashkov/ClickHouse | 3d604357008150d91314120730691c5795cd7d65 | [
"Apache-2.0"
] | null | null | null | dbms/src/Storages/AlterCommands.cpp | vicdashkov/ClickHouse | 3d604357008150d91314120730691c5795cd7d65 | [
"Apache-2.0"
] | null | null | null | #include <Storages/AlterCommands.h>
#include <Storages/IStorage.h>
#include <DataTypes/DataTypeFactory.h>
#include <DataTypes/DataTypesNumber.h>
#include <DataTypes/NestedUtils.h>
#include <Interpreters/Context.h>
#include <Interpreters/SyntaxAnalyzer.h>
#include <Interpreters/ExpressionAnalyzer.h>
#include <Interprete... | 40.804348 | 175 | 0.613523 | [
"vector"
] |
33313ff72b3d7b024468530abf1974f010249730 | 4,697 | cpp | C++ | Google/HashCode/E.cpp | Mindjolt2406/Competitive-Programming | d000d98bf7005ee4fb809bcea2f110e4c4793b80 | [
"MIT"
] | 2 | 2018-12-11T14:37:24.000Z | 2022-01-23T18:11:54.000Z | Google/HashCode/E.cpp | Mindjolt2406/Competitive-Programming | d000d98bf7005ee4fb809bcea2f110e4c4793b80 | [
"MIT"
] | null | null | null | Google/HashCode/E.cpp | Mindjolt2406/Competitive-Programming | d000d98bf7005ee4fb809bcea2f110e4c4793b80 | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
#define mt make_tuple
#define mp make_pair
#define pu push_back
#define INF 1000000001
#define MOD 1000000007
#define EPS 1e-6
#define ll long long int
#define ld long double
#define fi first
#define se second
#define all(v) v.begin(),v.end()
#define pr(v) { for(int i=0;i<v.size();i++) { v[i]==I... | 26.240223 | 226 | 0.491803 | [
"vector"
] |
333386c7d5e16bbb1c08f625c278e395326afee2 | 3,860 | cc | C++ | engine/source/io/fileStreamObject.cc | odaymichael/Torque2D | 43d5fbaa0719e0f29825975a582ea4fa479896af | [
"MIT"
] | 1 | 2016-12-23T13:04:08.000Z | 2016-12-23T13:04:08.000Z | engine/source/io/fileStreamObject.cc | odaymichael/Torque2D | 43d5fbaa0719e0f29825975a582ea4fa479896af | [
"MIT"
] | null | null | null | engine/source/io/fileStreamObject.cc | odaymichael/Torque2D | 43d5fbaa0719e0f29825975a582ea4fa479896af | [
"MIT"
] | null | null | null | //-----------------------------------------------------------------------------
// Copyright (c) 2013 GarageGames, LLC
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to
// deal in the Software without restr... | 31.900826 | 141 | 0.523575 | [
"object"
] |
3333f03386ea73ac9c23c2f302a34fbf1b2d56c1 | 25,271 | cc | C++ | examples/pxScene2d/external/libnode-v8.9.4/src/string_bytes.cc | maciej-barczak-red/pxCore | a4c320cfa0f8c5629d7de34ddb2c393b18ac2a50 | [
"Apache-2.0"
] | 2 | 2019-08-12T16:00:15.000Z | 2020-08-29T15:39:23.000Z | examples/pxScene2d/external/libnode-v8.9.4/src/string_bytes.cc | maciej-barczak-red/pxCore | a4c320cfa0f8c5629d7de34ddb2c393b18ac2a50 | [
"Apache-2.0"
] | 2 | 2019-03-22T11:02:32.000Z | 2019-04-05T19:03:41.000Z | node/src/string_bytes.cc | isabella232/node-packer | d9eb8414eb84984d75cd014f9735f8581859fafa | [
"MIT"
] | 1 | 2020-11-18T19:12:00.000Z | 2020-11-18T19:12:00.000Z | // Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modi... | 30.705954 | 80 | 0.557556 | [
"vector"
] |
3335884364bac4f78df8bbccb3aaef1213bca58e | 66,528 | cpp | C++ | src/tool-cint.cpp | johnnymac647/humlib | c67954045fb5570915d6a1c75d9a1e36cc9bdf93 | [
"BSD-2-Clause"
] | 19 | 2016-06-18T02:03:56.000Z | 2022-02-23T17:26:32.000Z | src/tool-cint.cpp | johnnymac647/humlib | c67954045fb5570915d6a1c75d9a1e36cc9bdf93 | [
"BSD-2-Clause"
] | 43 | 2017-03-09T07:32:12.000Z | 2022-03-23T20:18:35.000Z | src/tool-cint.cpp | johnnymac647/humlib | c67954045fb5570915d6a1c75d9a1e36cc9bdf93 | [
"BSD-2-Clause"
] | 5 | 2019-11-14T22:24:02.000Z | 2021-09-07T18:27:21.000Z | //
// Programmer: Craig Stuart Sapp <craig@ccrma.stanford.edu>
// Creation Date: Sun Dec 26 17:03:54 PST 2010
// Last Modified: Tue May 30 15:35:10 CEST 2017
// Filename: tool-cint.cpp
// URL: https://github.com/craigsapp/minHumdrum/blob/master/src/tool-cint.cpp
// Syntax: C++11; humlib
// vim:... | 24.253737 | 93 | 0.583965 | [
"vector"
] |
333598349f3833cb52074edcecccc9323c212756 | 6,512 | cpp | C++ | SOURCE/ArchitectMineBaron.cpp | OnionBurger/DungeonsOfPain | cb56c138a12bdc08376a2ba04f02d24527344202 | [
"MIT"
] | null | null | null | SOURCE/ArchitectMineBaron.cpp | OnionBurger/DungeonsOfPain | cb56c138a12bdc08376a2ba04f02d24527344202 | [
"MIT"
] | null | null | null | SOURCE/ArchitectMineBaron.cpp | OnionBurger/DungeonsOfPain | cb56c138a12bdc08376a2ba04f02d24527344202 | [
"MIT"
] | null | null | null | #include "ArchitectMineBaron.h"
#include "getRand.h"
#include "MinerRect.h"
ArchitectMineBaron::ArchitectMineBaron(bool lastLevel) {
lastLvl = lastLevel;
occup = 0;
}
void ArchitectMineBaron::generate() {
sizeX = 20;
sizeY = 20;
allocate();
allocateOccup();
fillWith(T_WALL);
placeStartHall();
++lastOccupTok... | 25.142857 | 83 | 0.646652 | [
"vector"
] |
3337997811ee99783c795922eb369255a40e1724 | 14,472 | cpp | C++ | Code/Editor/Controls/ConsoleSCBMFC.cpp | sandeel31/o3de | db88812d61eef77c6f4451b7f8c7605d6db07412 | [
"Apache-2.0",
"MIT"
] | 1 | 2022-03-12T14:13:45.000Z | 2022-03-12T14:13:45.000Z | Code/Editor/Controls/ConsoleSCBMFC.cpp | sandeel31/o3de | db88812d61eef77c6f4451b7f8c7605d6db07412 | [
"Apache-2.0",
"MIT"
] | 2 | 2022-01-13T04:29:38.000Z | 2022-03-12T01:05:31.000Z | Code/Editor/Controls/ConsoleSCBMFC.cpp | sandeel31/o3de | db88812d61eef77c6f4451b7f8c7605d6db07412 | [
"Apache-2.0",
"MIT"
] | null | null | null | /*
* 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
*
*/
#include "EditorDefs.h"
#include "ConsoleSCBMFC.h"
#include "PropertiesDialog.h"
#include "QtView... | 26.602941 | 145 | 0.613322 | [
"vector",
"3d"
] |
333820cf51bab14c20af3966ba5fdb77aaab0bca | 9,363 | cpp | C++ | Source/AllProjects/Installer/CQCInst/CQCInst_CheckMSPanel.cpp | MarkStega/CQC | c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07 | [
"MIT"
] | 51 | 2020-12-26T18:17:16.000Z | 2022-03-15T04:29:35.000Z | Source/AllProjects/Installer/CQCInst/CQCInst_CheckMSPanel.cpp | MarkStega/CQC | c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07 | [
"MIT"
] | null | null | null | Source/AllProjects/Installer/CQCInst/CQCInst_CheckMSPanel.cpp | MarkStega/CQC | c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07 | [
"MIT"
] | 4 | 2020-12-28T07:24:39.000Z | 2021-12-29T12:09:37.000Z | //
// FILE NAME: CQCInst_CheckMSPanel.cpp
//
// AUTHOR: Dean Roddey
//
// CREATED: 11/02/2004
//
// COPYRIGHT: Charmed Quark Systems, Ltd @ 2020
//
// This software is copyrighted by 'Charmed Quark Systems, Ltd' and
// the author (Dean Roddey.) It is licensed under the MIT Open Source
// license:
//
// https://op... | 36.431907 | 100 | 0.524939 | [
"object"
] |
33390d03594f556465a0ea2fdd164e1dcc198876 | 2,263 | cpp | C++ | blockhash/blockhash.cpp | conr2d/forbidden-spells | f98927bcbda7d81499c08869bcf6c984f310447a | [
"MIT"
] | null | null | null | blockhash/blockhash.cpp | conr2d/forbidden-spells | f98927bcbda7d81499c08869bcf6c984f310447a | [
"MIT"
] | null | null | null | blockhash/blockhash.cpp | conr2d/forbidden-spells | f98927bcbda7d81499c08869bcf6c984f310447a | [
"MIT"
] | null | null | null | #include <eosio/eosio.hpp>
#include <eosio/crypto.hpp>
#include <eosio/system.hpp>
#include <eosio/producer_schedule.hpp>
#include <eosio/transaction.hpp>
using namespace eosio;
#ifdef __cplusplus
namespace eosio {
using capi_checksum256 = std::array<uint8_t,32> __attribute__ ((aligned(16)));
}
#endif
struct block_h... | 31.873239 | 109 | 0.590809 | [
"vector"
] |
333eedd4caeccd14f07d1d0dcd08340eb17e0b00 | 1,315 | cc | C++ | src/41_find-missing-positive.cc | q191201771/yoko_leetcode | a29b163169f409856e9c9808890bcb25ca976f78 | [
"MIT"
] | 2 | 2018-07-28T06:11:30.000Z | 2019-01-15T15:16:54.000Z | src/41_find-missing-positive.cc | q191201771/yoko_leetcode | a29b163169f409856e9c9808890bcb25ca976f78 | [
"MIT"
] | null | null | null | src/41_find-missing-positive.cc | q191201771/yoko_leetcode | a29b163169f409856e9c9808890bcb25ca976f78 | [
"MIT"
] | null | null | null | // Given an unsorted integer array, find the smallest missing positive integer.
//
// Example 1:
//
// Input: [1,2,0]
// Output: 3
// Example 2:
//
// Input: [3,4,-1,1]
// Output: 2
// Example 3:
//
// Input: [7,8,9,11,12]
// Output: 1
//
// Note:
//
// Your algorithm should run in O(n) time and uses constant extra spa... | 20.873016 | 106 | 0.535361 | [
"vector"
] |
333ef2994488aa23cb3b02b0d5ab0df2cd3cb6f5 | 3,562 | cpp | C++ | utils/addr2name.cpp | egor-tensin/winapi-debug | 2dee4e95e629d315e8d68bf275c900ffbb7317c0 | [
"MIT"
] | null | null | null | utils/addr2name.cpp | egor-tensin/winapi-debug | 2dee4e95e629d315e8d68bf275c900ffbb7317c0 | [
"MIT"
] | null | null | null | utils/addr2name.cpp | egor-tensin/winapi-debug | 2dee4e95e629d315e8d68bf275c900ffbb7317c0 | [
"MIT"
] | null | null | null | // Copyright (c) 2017 Egor Tensin <Egor.Tensin@gmail.com>
// This file is part of the "winapi-debug" project.
// For details, see https://github.com/egor-tensin/winapi-debug.
// Distributed under the MIT License.
#include "command_line.hpp"
#include "pdb_descr.hpp"
#include <winapi/debug.hpp>
#include <boost/program... | 29.196721 | 99 | 0.589556 | [
"vector"
] |
33445e11cc2ef6c4a2131b040628c72278c8bea8 | 2,347 | cpp | C++ | fileutils.cpp | SvetaMorkva/Unexpected-Journey | e9a005a2d5b1bf6ef3bcba9218db61e886ebc37f | [
"MIT"
] | 1 | 2020-12-06T23:59:08.000Z | 2020-12-06T23:59:08.000Z | fileutils.cpp | SvetaMorkva/Unexpected-Journey | e9a005a2d5b1bf6ef3bcba9218db61e886ebc37f | [
"MIT"
] | null | null | null | fileutils.cpp | SvetaMorkva/Unexpected-Journey | e9a005a2d5b1bf6ef3bcba9218db61e886ebc37f | [
"MIT"
] | null | null | null | //
// Created by Sveta Morkva on 11/28/20.
//
#include "fileutils.h"
#include <boost/filesystem.hpp>
namespace fs = boost::filesystem;
std::vector<std::string> fileutils::get_file_list(const std::string &path) {
std::vector<std::string> m_file_list;
if (fs::is_directory(path)) {
fs::path apk_path(pat... | 33.528571 | 92 | 0.580741 | [
"vector"
] |
3345ba06a265cc48b9faed030426fce663fa000f | 14,163 | hpp | C++ | cpp/src/cylon/table.hpp | chathurawidanage/cylon | ac61b7a50880138fe67de21adee208016a94979a | [
"Apache-2.0"
] | null | null | null | cpp/src/cylon/table.hpp | chathurawidanage/cylon | ac61b7a50880138fe67de21adee208016a94979a | [
"Apache-2.0"
] | null | null | null | cpp/src/cylon/table.hpp | chathurawidanage/cylon | ac61b7a50880138fe67de21adee208016a94979a | [
"Apache-2.0"
] | null | null | null | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed u... | 30.523707 | 114 | 0.687707 | [
"vector"
] |
33467cc4be4c6333b708520b8eaeecfeaa5a925e | 2,704 | cpp | C++ | ShaderGLLib/Frame.cpp | EPAC-Saxon/advance-obj-JuliePreperier | 5adc1a308c8ad6bed9555dc507f83437a5b5208c | [
"MIT"
] | null | null | null | ShaderGLLib/Frame.cpp | EPAC-Saxon/advance-obj-JuliePreperier | 5adc1a308c8ad6bed9555dc507f83437a5b5208c | [
"MIT"
] | null | null | null | ShaderGLLib/Frame.cpp | EPAC-Saxon/advance-obj-JuliePreperier | 5adc1a308c8ad6bed9555dc507f83437a5b5208c | [
"MIT"
] | null | null | null | #include "Frame.h"
#include <stdexcept>
#include <GL/glew.h>
#include <cassert>
namespace sgl {
Frame::Frame()
{
glGenFramebuffers(1, &frame_id_);
error_.Display(__FILE__, __LINE__ - 1);
}
Frame::~Frame()
{
glDeleteFramebuffers(1, &frame_id_);
}
void Frame::Bind() const
{
glBindFramebuffer(GL_FRAMEB... | 22.915254 | 66 | 0.714867 | [
"render",
"vector"
] |
334edf234f8fb5f3bed6d9c655ec57b3f9b77df9 | 19,647 | cc | C++ | test/common/http/conn_manager_impl_fuzz_test.cc | boazjohn/envoy | aab05453ff2e354093f70d0b1160e25e6cd79a66 | [
"Apache-2.0"
] | 1 | 2019-04-01T22:49:29.000Z | 2019-04-01T22:49:29.000Z | test/common/http/conn_manager_impl_fuzz_test.cc | boazjohn/envoy | aab05453ff2e354093f70d0b1160e25e6cd79a66 | [
"Apache-2.0"
] | 2 | 2021-03-20T05:31:48.000Z | 2021-03-20T05:32:33.000Z | test/common/http/conn_manager_impl_fuzz_test.cc | boazjohn/envoy | aab05453ff2e354093f70d0b1160e25e6cd79a66 | [
"Apache-2.0"
] | null | null | null | // This fuzzer explores the behavior of HCM with replay of trace actions that describe the behavior
// of a mocked codec and decoder/encoder filters. It is only partially complete (~60% test coverage
// with supplied corpus), since HCM has a lot of behavior to model, requiring investment in building
// out modeling act... | 44.150562 | 100 | 0.717005 | [
"vector",
"model"
] |
334fb29accd0b8a44d25f975cd298a1e88fd351c | 24,859 | cpp | C++ | GameName/Game/Source/Map.cpp | AlCh440/Project2_CITM | 99de28553f5e0a11d8551a13d23c0ea44de58ef4 | [
"MIT"
] | 1 | 2022-03-13T11:50:14.000Z | 2022-03-13T11:50:14.000Z | GameName/Game/Source/Map.cpp | AlCh440/Project2_CITM | 99de28553f5e0a11d8551a13d23c0ea44de58ef4 | [
"MIT"
] | null | null | null | GameName/Game/Source/Map.cpp | AlCh440/Project2_CITM | 99de28553f5e0a11d8551a13d23c0ea44de58ef4 | [
"MIT"
] | null | null | null |
#include "App.h"
#include "Render.h"
#include "Textures.h"
#include "Map.h"
#include "Physics.h"
#include "LevelManagement.h"
#include "Entities.h"
#include "Entity.h"
#include "Player.h"
#include<iostream>
#include "GreenPath.h"
#include "Defs.h"
#include "Log.h"
#include <math.h>
#include "Chest.h"
#include "Consu... | 24.637265 | 169 | 0.651997 | [
"render",
"object"
] |
3353bd7eb9bce9f70627044689eff1165446f39a | 7,590 | cc | C++ | test/realm/compqueue.cc | stkaplan/legion | ad82a1c1f39ed20a16df29aa331428d42c0ecfb6 | [
"Apache-2.0"
] | null | null | null | test/realm/compqueue.cc | stkaplan/legion | ad82a1c1f39ed20a16df29aa331428d42c0ecfb6 | [
"Apache-2.0"
] | null | null | null | test/realm/compqueue.cc | stkaplan/legion | ad82a1c1f39ed20a16df29aa331428d42c0ecfb6 | [
"Apache-2.0"
] | null | null | null | /* Copyright 2020 Stanford University, NVIDIA 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 app... | 29.648438 | 89 | 0.695125 | [
"vector",
"model"
] |
3354282cf3b2a4ee7c0c62df39c4dd612b0aee32 | 2,115 | cpp | C++ | oneEngine/oneGame/source/after/entities/item/props/ItemElectricSource.cpp | jonting/1Engine | f22ba31f08fa96fe6405ebecec4f374138283803 | [
"BSD-3-Clause"
] | 8 | 2017-12-08T02:59:31.000Z | 2022-02-02T04:30:03.000Z | oneEngine/oneGame/source/after/entities/item/props/ItemElectricSource.cpp | jonting/1Engine | f22ba31f08fa96fe6405ebecec4f374138283803 | [
"BSD-3-Clause"
] | 2 | 2021-04-16T03:44:42.000Z | 2021-08-30T06:48:44.000Z | oneEngine/oneGame/source/after/entities/item/props/ItemElectricSource.cpp | jonting/1Engine | f22ba31f08fa96fe6405ebecec4f374138283803 | [
"BSD-3-Clause"
] | 1 | 2021-04-16T02:09:54.000Z | 2021-04-16T02:09:54.000Z |
#include "ItemElectricSource.h"
#include "after/entities/props/props/ElectricSourceComponent.h"
//#include "CVoxelTerrain.h"
#include "core/time/time.h"
#include "engine/physics/raycast/Raycaster.h"
#include "renderer/material/glMaterial.h"
#include "renderer/logic/model/CModel.h"
#include "after/types/terrain/BlockT... | 22.263158 | 121 | 0.683215 | [
"object",
"model",
"transform"
] |
33589aad4f81b64132e93c7519230d9885ece765 | 1,990 | hpp | C++ | src/rti/reflection/specular.hpp | XaverKlemenschits/rti | 0672079da94fd726c597041a6b23ee24d9906e82 | [
"BSD-3-Clause"
] | 3 | 2019-05-16T07:44:36.000Z | 2020-05-08T13:55:12.000Z | src/rti/reflection/specular.hpp | XaverKlemenschits/rti | 0672079da94fd726c597041a6b23ee24d9906e82 | [
"BSD-3-Clause"
] | null | null | null | src/rti/reflection/specular.hpp | XaverKlemenschits/rti | 0672079da94fd726c597041a6b23ee24d9906e82 | [
"BSD-3-Clause"
] | 4 | 2020-06-24T08:18:41.000Z | 2021-05-28T10:22:13.000Z | #pragma once
#include "i_reflection.hpp"
namespace rti { namespace reflection {
template<typename Ty>
class specular : public rti::reflection::i_reflection<Ty> {
public:
rti::util::pair<rti::util::triple<Ty> >
use(RTCRay& pRayIn, RTCHit& pHitIn, rti::geo::meta_geometry<Ty>& pGeometry,
rti::rng:... | 44.222222 | 108 | 0.665327 | [
"geometry",
"object",
"vector"
] |
3359968fec4965107fddaa67a44b79d7a3342825 | 4,779 | cpp | C++ | amr-wind/physics/ChannelFlowLES.cpp | ndevelder/amr-wind-channel-les | 51b048ba30a5ed3ac1bd055e807f4d59a64a45ea | [
"BSD-3-Clause"
] | null | null | null | amr-wind/physics/ChannelFlowLES.cpp | ndevelder/amr-wind-channel-les | 51b048ba30a5ed3ac1bd055e807f4d59a64a45ea | [
"BSD-3-Clause"
] | null | null | null | amr-wind/physics/ChannelFlowLES.cpp | ndevelder/amr-wind-channel-les | 51b048ba30a5ed3ac1bd055e807f4d59a64a45ea | [
"BSD-3-Clause"
] | null | null | null | #include "amr-wind/physics/ChannelFlowLES.H"
#include "amr-wind/CFDSim.H"
#include "AMReX_iMultiFab.H"
#include "AMReX_MultiFabUtil.H"
#include "AMReX_ParmParse.H"
#include "amr-wind/utilities/trig_ops.H"
#include "amr-wind/utilities/DirectionSelector.H"
namespace amr_wind {
namespace channel_flow_les {
ChannelFlowLE... | 31.86 | 81 | 0.550115 | [
"mesh",
"geometry"
] |
335ec77cea5660347e64c30cb3f45e886e0205ce | 6,172 | cpp | C++ | Modules/Classification/DataCollection/Utilities/mitkCostingStatistic.cpp | wyyrepo/MITK | d0837f3d0d44f477b888ec498e9a2ed407e79f20 | [
"BSD-3-Clause"
] | 1 | 2021-11-20T08:19:27.000Z | 2021-11-20T08:19:27.000Z | Modules/Classification/DataCollection/Utilities/mitkCostingStatistic.cpp | wyyrepo/MITK | d0837f3d0d44f477b888ec498e9a2ed407e79f20 | [
"BSD-3-Clause"
] | null | null | null | Modules/Classification/DataCollection/Utilities/mitkCostingStatistic.cpp | wyyrepo/MITK | d0837f3d0d44f477b888ec498e9a2ed407e79f20 | [
"BSD-3-Clause"
] | null | null | null | #include <mitkCostingStatistic.h>
#include <mitkDataCollection.h>
#include <mitkCollectionStatistic.h>
#include <sstream>
// DataCollection Stuff
#include <mitkDataCollectionImageIterator.h>
//stl stuff
#include <sstream>
static void EnsureDataImageInCollection(mitk::DataCollection::Pointer collection, std::string o... | 31.329949 | 122 | 0.691672 | [
"vector"
] |
3365beeeec5efff38c807ac28309f6a08f882876 | 32,859 | cc | C++ | src/modular/bin/sessionmgr/story_runner/story_provider_impl.cc | wwjiang007/fuchsia-1 | 0db66b52b5bcd3e27c8b8c2163925309e8522f94 | [
"BSD-2-Clause"
] | 210 | 2019-02-05T12:45:09.000Z | 2022-03-28T07:59:06.000Z | src/modular/bin/sessionmgr/story_runner/story_provider_impl.cc | wwjiang007/fuchsia-1 | 0db66b52b5bcd3e27c8b8c2163925309e8522f94 | [
"BSD-2-Clause"
] | 5 | 2019-12-04T15:13:37.000Z | 2020-02-19T08:11:38.000Z | src/modular/bin/sessionmgr/story_runner/story_provider_impl.cc | wwjiang007/fuchsia-1 | 0db66b52b5bcd3e27c8b8c2163925309e8522f94 | [
"BSD-2-Clause"
] | 73 | 2019-03-06T18:55:23.000Z | 2022-03-26T12:04:51.000Z | // Copyright 2016 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/modular/bin/sessionmgr/story_runner/story_provider_impl.h"
#include <fuchsia/ui/app/cpp/fidl.h>
#include <lib/async/cpp/task.h>
#include <li... | 43.122047 | 100 | 0.6929 | [
"object",
"vector"
] |
336aad8052089403d53ddd3c40f4a11462705203 | 5,239 | cpp | C++ | cpp/dependencies/despot/examples/cpp_models/tag/src/noisy_laser_tag/noisy_laser_tag.cpp | modanesh/magic | 2eec5c7a1e45a4594b02d8df1e7f2880d7fc8422 | [
"MIT"
] | 7 | 2021-03-13T22:12:41.000Z | 2022-03-06T03:29:03.000Z | cpp/dependencies/despot/examples/cpp_models/tag/src/noisy_laser_tag/noisy_laser_tag.cpp | modanesh/magic | 2eec5c7a1e45a4594b02d8df1e7f2880d7fc8422 | [
"MIT"
] | 1 | 2021-07-17T01:34:13.000Z | 2021-07-17T04:58:54.000Z | cpp/dependencies/despot/examples/cpp_models/tag/src/noisy_laser_tag/noisy_laser_tag.cpp | modanesh/magic | 2eec5c7a1e45a4594b02d8df1e7f2880d7fc8422 | [
"MIT"
] | 4 | 2021-05-25T07:44:33.000Z | 2022-03-30T08:40:29.000Z | #include "noisy_laser_tag.h"
#include <math.h>
#include <cmath>
using namespace std;
namespace despot {
const OBS_TYPE ONE = 1;
int NoisyLaserTag::NBEAMS = 8;
int NoisyLaserTag::BITS_PER_READING = 7;
/* =============================================================================
* NoisyLaserTag class
* =========... | 27.286458 | 90 | 0.637526 | [
"vector"
] |
336e392fa84e92b5644d55ef83f60ed5639a6d3c | 12,304 | cc | C++ | util/env_basic_test.cc | RedisLabs/rocksdb | 9b5adea97fa67823905d3996d3f228316075db79 | [
"BSD-3-Clause"
] | 1 | 2016-08-29T00:13:51.000Z | 2016-08-29T00:13:51.000Z | util/env_basic_test.cc | RedisLabs/rocksdb | 9b5adea97fa67823905d3996d3f228316075db79 | [
"BSD-3-Clause"
] | null | null | null | util/env_basic_test.cc | RedisLabs/rocksdb | 9b5adea97fa67823905d3996d3f228316075db79 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2011 The LevelDB Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. See the AUTHORS file for names of contributors.
#include <memory>
#include <string>
#include <vector>
#include "rocksdb/env.h"
#include "rocksdb/utili... | 35.976608 | 80 | 0.67344 | [
"vector"
] |
337216a9757ff9cf4892b81367cd636d5c91c94e | 7,419 | hpp | C++ | source/stub/h2_stub.hpp | lingjf/h2un | 7735c2f07f58ea8b92a9e9608c9b45c98c94c670 | [
"Apache-2.0"
] | null | null | null | source/stub/h2_stub.hpp | lingjf/h2un | 7735c2f07f58ea8b92a9e9608c9b45c98c94c670 | [
"Apache-2.0"
] | null | null | null | source/stub/h2_stub.hpp | lingjf/h2un | 7735c2f07f58ea8b92a9e9608c9b45c98c94c670 | [
"Apache-2.0"
] | null | null | null | // STUB( Source , Destination )
// STUB( Function, Signature, Destination )
// STUB( ClassType, Method , Signature, Destination )
// STUB( Object, ClassType, Method , Signature, Destination )
#define H2STUB(...) H2PP_VARIADIC_CALL(__H2STUB_, __VA_ARGS__)
#defi... | 172.534884 | 577 | 0.707643 | [
"object"
] |
33722a371dfedaf128dc0b650fac4765576a543f | 68,576 | cpp | C++ | src/vizdoom/src/g_game.cpp | johny-c/ViZDoom | 6fe0d2470872adbfa5d18c53c7704e6ff103cacc | [
"MIT"
] | 1,102 | 2017-02-02T15:39:57.000Z | 2022-03-23T09:43:29.000Z | src/vizdoom/src/g_game.cpp | johny-c/ViZDoom | 6fe0d2470872adbfa5d18c53c7704e6ff103cacc | [
"MIT"
] | 339 | 2017-02-17T09:55:38.000Z | 2022-03-29T11:44:01.000Z | src/vizdoom/src/g_game.cpp | johny-c/ViZDoom | 6fe0d2470872adbfa5d18c53c7704e6ff103cacc | [
"MIT"
] | 331 | 2017-02-02T15:34:42.000Z | 2022-03-23T02:42:24.000Z | // Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
// $Id:$
//
// Copyright (C) 1993-1996 by id Software, Inc.
//
// This source is available for distribution and/or modification
// only under the terms of the DOOM Source Code License as
... | 23.549451 | 154 | 0.63566 | [
"solid"
] |
3372531e2762e10493e7f4385a07c60867dca2ed | 19,348 | cpp | C++ | examples/ex19p.cpp | henrykrumb/mfem | 91143731cfc9d154c07a6af9f18c7aabb6f72b46 | [
"BSD-3-Clause"
] | null | null | null | examples/ex19p.cpp | henrykrumb/mfem | 91143731cfc9d154c07a6af9f18c7aabb6f72b46 | [
"BSD-3-Clause"
] | null | null | null | examples/ex19p.cpp | henrykrumb/mfem | 91143731cfc9d154c07a6af9f18c7aabb6f72b46 | [
"BSD-3-Clause"
] | null | null | null | // MFEM Example 19 - Parallel Version
//
// Compile with: make ex19p
//
// Sample runs:
// mpirun -np 2 ex19p -m ../data/beam-quad.mesh
// mpirun -np 2 ex19p -m ../data/beam-tri.mesh
// mpirun -np 2 ex19p -m ../data/beam-hex.mesh
// mpirun -np 2 ex19p -m ../data/beam-tet.mesh
// mpi... | 32.627319 | 83 | 0.647457 | [
"mesh",
"geometry",
"vector",
"model"
] |
33745fe634144d27a35c985f9cde04f512efcbcf | 2,782 | hpp | C++ | AOS/include/DNA.hpp | thaisacs/oi-dbt | 8637bc5dbb74d6a32debeef483c8d347c3591d0a | [
"MIT"
] | null | null | null | AOS/include/DNA.hpp | thaisacs/oi-dbt | 8637bc5dbb74d6a32debeef483c8d347c3591d0a | [
"MIT"
] | null | null | null | AOS/include/DNA.hpp | thaisacs/oi-dbt | 8637bc5dbb74d6a32debeef483c8d347c3591d0a | [
"MIT"
] | 1 | 2019-08-15T17:56:09.000Z | 2019-08-15T17:56:09.000Z | #pragma once
#include <codeAnalyzer.hpp>
#include <AOSParams.hpp>
#include <searchSpace.hpp>
#include <util.hpp>
#include <vector>
#include <iostream>
#include <memory>
namespace dbt {
class DNA {
protected:
std::unique_ptr<CodeAnalyzer> CA;
std::vector<uint16_t> Gene;
uint64_t ExecutionTime, Compila... | 29.284211 | 91 | 0.659597 | [
"vector"
] |
3378e9979d479d658dd8bf65be5201b7e9fa8fef | 44,960 | cc | C++ | chrome/browser/chromeos/login/existing_user_controller.cc | hefen1/chromium | 52f0b6830e000ca7c5e9aa19488af85be792cc88 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/chromeos/login/existing_user_controller.cc | hefen1/chromium | 52f0b6830e000ca7c5e9aa19488af85be792cc88 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/chromeos/login/existing_user_controller.cc | hefen1/chromium | 52f0b6830e000ca7c5e9aa19488af85be792cc88 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2020-04-04T13:34:56.000Z | 2020-11-04T07:17:52.000Z | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/chromeos/login/existing_user_controller.h"
#include <vector>
#include "base/bind.h"
#include "base/bind_helpers.h"
#include... | 38.42735 | 80 | 0.730182 | [
"object",
"vector"
] |
337bf1944362c7494808d31aa965233ed3433c5b | 18,726 | cxx | C++ | src/runtime_src/tools/xclbinutil/SectionIPLayout.cxx | Ralender/XRT | ade04554314f6afe3aed99309bfd16868bfce506 | [
"Apache-2.0"
] | null | null | null | src/runtime_src/tools/xclbinutil/SectionIPLayout.cxx | Ralender/XRT | ade04554314f6afe3aed99309bfd16868bfce506 | [
"Apache-2.0"
] | null | null | null | src/runtime_src/tools/xclbinutil/SectionIPLayout.cxx | Ralender/XRT | ade04554314f6afe3aed99309bfd16868bfce506 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright (C) 2018 Xilinx, Inc
*
* 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | 42.080899 | 185 | 0.633504 | [
"vector"
] |
337c4b24e7026878b4b04812ba55d2f64b61d249 | 12,796 | cpp | C++ | src/Image.cpp | VictorQueiroz/silver-engine | 057b5e03a74bbcbf3f7c6f2fd74c52e3a126eb09 | [
"MIT"
] | null | null | null | src/Image.cpp | VictorQueiroz/silver-engine | 057b5e03a74bbcbf3f7c6f2fd74c52e3a126eb09 | [
"MIT"
] | null | null | null | src/Image.cpp | VictorQueiroz/silver-engine | 057b5e03a74bbcbf3f7c6f2fd74c52e3a126eb09 | [
"MIT"
] | null | null | null | #include "Image.h"
#include "TypeConverter.h"
#include "Geometry.h"
#include "Color.h"
using Nan::Set;
using v8::FunctionTemplate;
using v8::Local;
using v8::Value;
Nan::Persistent<v8::Function> Image::constructor;
void Image::Init(v8::Local<v8::Object> exports) {
auto tpl = Nan::New<FunctionTemplate>(New);
... | 28.755056 | 91 | 0.594717 | [
"geometry",
"object"
] |
337cad5bbb6d5f97321c539fbe96543d4ce8def9 | 1,177 | hpp | C++ | shared/include/volume_resource.hpp | SleepKiller/shaderpatch | 4bda848df0273993c96f1d20a2cf79161088a77d | [
"MIT"
] | 13 | 2019-03-25T09:40:12.000Z | 2022-03-13T16:12:39.000Z | shared/include/volume_resource.hpp | SleepKiller/shaderpatch | 4bda848df0273993c96f1d20a2cf79161088a77d | [
"MIT"
] | 110 | 2018-10-16T09:05:43.000Z | 2022-03-16T23:32:28.000Z | shared/include/volume_resource.hpp | SleepKiller/swbfii-shaderpatch | b49ce3349d4dd09b19237ff4766652166ba1ffd4 | [
"MIT"
] | 1 | 2020-02-06T20:32:50.000Z | 2020-02-06T20:32:50.000Z | #pragma once
#include "magic_number.hpp"
#include "ucfb_writer.hpp"
#include <array>
#include <cstddef>
#include <cstdint>
#include <filesystem>
#include <span>
#include <string_view>
#include <utility>
#include <vector>
namespace sp {
enum class Volume_resource_type : std::uint32_t {
material,
texture,
fx... | 25.586957 | 87 | 0.693288 | [
"vector"
] |
337d26f82418ffc73f6605aca825336944b8ef2a | 6,680 | inl | C++ | include/uidevice.inl | markjulmar/tsplib3 | f58a281ce43f4d57ef10e24d306fd46e6febcc41 | [
"MIT"
] | 1 | 2021-02-08T20:31:46.000Z | 2021-02-08T20:31:46.000Z | include/uidevice.inl | markjulmar/tsplib3 | f58a281ce43f4d57ef10e24d306fd46e6febcc41 | [
"MIT"
] | null | null | null | include/uidevice.inl | markjulmar/tsplib3 | f58a281ce43f4d57ef10e24d306fd46e6febcc41 | [
"MIT"
] | 4 | 2019-11-14T03:47:33.000Z | 2021-03-08T01:18:05.000Z | /******************************************************************************/
//
// UIDEVICE.INL - TAPI Service Provider C++ Library header
//
// Copyright (C) 1994-1999 JulMar Entertainment Technology, Inc.
// All r... | 29.955157 | 95 | 0.54985 | [
"object"
] |
3388e20fadfc2a26a4dcade0b30d79b0cc117120 | 3,793 | cc | C++ | CondTools/SiPixel/plugins/SiPixelLorentzAngleReader.cc | suhokimHEP/cmssw | 4102974e760db0f758efcb696b2d3e5c10d52058 | [
"Apache-2.0"
] | 1 | 2021-11-18T20:03:43.000Z | 2021-11-18T20:03:43.000Z | CondTools/SiPixel/plugins/SiPixelLorentzAngleReader.cc | suhokimHEP/cmssw | 4102974e760db0f758efcb696b2d3e5c10d52058 | [
"Apache-2.0"
] | 30 | 2015-11-04T11:42:27.000Z | 2021-12-01T07:56:34.000Z | CondTools/SiPixel/plugins/SiPixelLorentzAngleReader.cc | thomreis/cmssw | 220214e9b797d008e1ae31def5509825741a87fd | [
"Apache-2.0"
] | 1 | 2022-03-22T20:45:02.000Z | 2022-03-22T20:45:02.000Z | // system include files
#include <cstdio>
#include <iostream>
#include <sys/time.h>
// user include files
#include "CommonTools/UtilAlgos/interface/TFileService.h"
#include "CondFormats/DataRecord/interface/SiPixelLorentzAngleRcd.h"
#include "CondFormats/DataRecord/interface/SiPixelLorentzAngleSimRcd.h"
#include "Cond... | 41.228261 | 135 | 0.765094 | [
"geometry"
] |
338a141821dbe734f842b37c38ad2beece9a1a5c | 24,958 | cpp | C++ | Optimus/ThirdParty/VulkanSDK/Vulkan1/spirv-tools/source/opt/ir_context.cpp | Sparksidy/Optimus | 4ff26a2c21d61759b192f1b0afeff4f2c17aad9a | [
"Apache-2.0"
] | null | null | null | Optimus/ThirdParty/VulkanSDK/Vulkan1/spirv-tools/source/opt/ir_context.cpp | Sparksidy/Optimus | 4ff26a2c21d61759b192f1b0afeff4f2c17aad9a | [
"Apache-2.0"
] | null | null | null | Optimus/ThirdParty/VulkanSDK/Vulkan1/spirv-tools/source/opt/ir_context.cpp | Sparksidy/Optimus | 4ff26a2c21d61759b192f1b0afeff4f2c17aad9a | [
"Apache-2.0"
] | null | null | null | // Copyright (c) 2017 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to... | 38.103817 | 80 | 0.478043 | [
"vector"
] |
338c579d8f6701dbcfbe4856570c4ff4f04c6461 | 10,901 | cpp | C++ | src/sphere_detector.cpp | ravijo/multiple_kinect_baxter_calibration | c7f4fb18ef9d7a88b15a9a7398b1ce524a7c7565 | [
"MIT"
] | 5 | 2019-02-07T23:55:55.000Z | 2020-10-19T10:07:50.000Z | src/sphere_detector.cpp | ravijo/multiple_kinect_baxter_calibration | c7f4fb18ef9d7a88b15a9a7398b1ce524a7c7565 | [
"MIT"
] | null | null | null | src/sphere_detector.cpp | ravijo/multiple_kinect_baxter_calibration | c7f4fb18ef9d7a88b15a9a7398b1ce524a7c7565 | [
"MIT"
] | 1 | 2020-01-09T07:51:17.000Z | 2020-01-09T07:51:17.000Z | /**
* sphere_detector.cpp: class file for detecting sphere
* Author: Ravi Joshi
* Date: 2018/02/20
*/
#include <utility.h>
#include <sphere_detector.h>
namespace pcl_utility
{
SphereDetector::SphereDetector(float sphere_radius, std::vector<int>* min_hsv,
std::vector<int>* max_hs... | 32.834337 | 80 | 0.6182 | [
"vector"
] |
338cc0af6197378772d693b3a02ca949c167d575 | 17,558 | cc | C++ | runtime/vm/class_table.cc | Dart-NX/dartnx | 275f4c917965cde83f5ee5e1a8ba591175511cbe | [
"BSD-3-Clause"
] | 3 | 2020-04-20T00:11:34.000Z | 2022-01-24T20:43:43.000Z | runtime/vm/class_table.cc | Dart-NX/dartnx | 275f4c917965cde83f5ee5e1a8ba591175511cbe | [
"BSD-3-Clause"
] | 4 | 2020-04-20T11:16:42.000Z | 2020-04-20T11:18:30.000Z | runtime/vm/class_table.cc | Dart-NX/dartnx | 275f4c917965cde83f5ee5e1a8ba591175511cbe | [
"BSD-3-Clause"
] | 1 | 2020-04-20T00:11:43.000Z | 2020-04-20T00:11:43.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 "vm/class_table.h"
#include <memory>
#include "platform/atomic.h"
#include "vm/flags.h"
#inc... | 32.818692 | 80 | 0.685499 | [
"object"
] |
338d23f339da474349c89def83af7a35417cf071 | 30,311 | cpp | C++ | boost/libs/concept_check/stl_concept_covering.cpp | randolphwong/mcsema | eb5b376736e7f57ff0a61f7e4e5a436bbb874720 | [
"BSD-3-Clause"
] | 11 | 2015-01-08T08:33:44.000Z | 2019-07-12T06:14:54.000Z | boost/libs/concept_check/stl_concept_covering.cpp | randolphwong/mcsema | eb5b376736e7f57ff0a61f7e4e5a436bbb874720 | [
"BSD-3-Clause"
] | 61 | 2015-05-27T11:20:11.000Z | 2019-12-20T15:06:21.000Z | boost/libs/concept_check/stl_concept_covering.cpp | randolphwong/mcsema | eb5b376736e7f57ff0a61f7e4e5a436bbb874720 | [
"BSD-3-Clause"
] | 9 | 2015-09-09T02:38:32.000Z | 2021-01-30T00:24:24.000Z | // (C) Copyright Jeremy Siek 2000-2002.
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include <algorithm>
#include <numeric>
#include <boost/config.hpp>
#include <boost/concept_check.hpp>
#include <boost/conc... | 33.382159 | 79 | 0.708951 | [
"object",
"transform"
] |
339076dbb4f21de9dbc21f45a4cdea63dd997d4c | 3,456 | cc | C++ | src/property.cc | TinkerEdgeR-Android/external_v8 | 7c9cad78aca05245a07529da3d689282cd554df9 | [
"BSD-3-Clause"
] | 27 | 2017-12-14T13:48:25.000Z | 2020-12-31T15:46:55.000Z | src/property.cc | TinkerEdgeR-Android/external_v8 | 7c9cad78aca05245a07529da3d689282cd554df9 | [
"BSD-3-Clause"
] | null | null | null | src/property.cc | TinkerEdgeR-Android/external_v8 | 7c9cad78aca05245a07529da3d689282cd554df9 | [
"BSD-3-Clause"
] | 3 | 2019-01-14T12:12:27.000Z | 2019-06-07T09:47:00.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 "src/property.h"
#include "src/field-type.h"
#include "src/handles-inl.h"
#include "src/objects-inl.h"
#include "src/ostreams.h"
namespace v8... | 32.914286 | 79 | 0.592303 | [
"object"
] |
33962d993a5521d68f051e11f3bef39232ffdf6d | 6,123 | cpp | C++ | servers/physics/area_sw.cpp | Lacrymology/godot | 1a2cb755e2d8b9d59178f36702f6dff7235b9088 | [
"MIT"
] | 3 | 2022-02-04T10:28:29.000Z | 2022-02-24T18:38:09.000Z | servers/physics/area_sw.cpp | bshawk/godot | c12a8e922ff724d7fe9909c16f9a1b5aec7f010b | [
"MIT"
] | 2 | 2021-08-18T15:38:29.000Z | 2021-08-31T08:06:16.000Z | servers/physics/area_sw.cpp | bshawk/godot | c12a8e922ff724d7fe9909c16f9a1b5aec7f010b | [
"MIT"
] | null | null | null | /*************************************************************************/
/* area_sw.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... | 31.725389 | 202 | 0.646089 | [
"object",
"transform"
] |
339936d0fbbebaf86ccdc54533552305fb0e82dd | 8,347 | cpp | C++ | src/scp/SCP.cpp | HashCash-Consultants/HCNet-Core-CentOS | 2489d262be5cf1d3d226ce673d6f054a362f2a50 | [
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | src/scp/SCP.cpp | HashCash-Consultants/HCNet-Core-CentOS | 2489d262be5cf1d3d226ce673d6f054a362f2a50 | [
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | src/scp/SCP.cpp | HashCash-Consultants/HCNet-Core-CentOS | 2489d262be5cf1d3d226ce673d6f054a362f2a50 | [
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | // Copyright 2014 HcNet Development Foundation and contributors. Licensed
// under the Apache License, Version 2.0. See the COPYING file at the root
// of this distribution or at http://www.apache.org/licenses/LICENSE-2.0
#include "scp/SCP.h"
#include "crypto/Hex.h"
#include "crypto/SHA.h"
#include "scp/LocalNode.h"
#... | 20.8675 | 79 | 0.566072 | [
"vector"
] |
3399419f6b880b21b8a05e9a7b09975b525e0c8b | 1,212 | cpp | C++ | src/planner/plannodes/set_op_plan_node.cpp | weijietong/noisepage | f3da5498b4c47f4a1b468655f1e2432cd33f177e | [
"MIT"
] | 971 | 2020-09-13T10:24:02.000Z | 2022-03-31T07:02:51.000Z | src/planner/plannodes/set_op_plan_node.cpp | weijietong/noisepage | f3da5498b4c47f4a1b468655f1e2432cd33f177e | [
"MIT"
] | 1,019 | 2018-07-20T23:11:10.000Z | 2020-09-10T06:41:42.000Z | src/planner/plannodes/set_op_plan_node.cpp | weijietong/noisepage | f3da5498b4c47f4a1b468655f1e2432cd33f177e | [
"MIT"
] | 318 | 2018-07-23T16:48:16.000Z | 2020-09-07T09:46:31.000Z | #include "planner/plannodes/set_op_plan_node.h"
#include <memory>
#include <utility>
#include <vector>
#include "common/json.h"
namespace noisepage::planner {
common::hash_t SetOpPlanNode::Hash() const {
common::hash_t hash = AbstractPlanNode::Hash();
// Hash set_op
hash = common::HashUtil::CombineHashes(has... | 26.347826 | 107 | 0.723597 | [
"vector"
] |
33998ad7ce4672c488a8bfdd6179c4a0e303eb36 | 28,461 | cpp | C++ | sources/compiler/codegen.cpp | covscript/covscript-runtime | e52ce004de789b6ffde4655492ea6b3bbff3fb7b | [
"Apache-2.0"
] | null | null | null | sources/compiler/codegen.cpp | covscript/covscript-runtime | e52ce004de789b6ffde4655492ea6b3bbff3fb7b | [
"Apache-2.0"
] | null | null | null | sources/compiler/codegen.cpp | covscript/covscript-runtime | e52ce004de789b6ffde4655492ea6b3bbff3fb7b | [
"Apache-2.0"
] | null | null | null | /*
* Covariant Script Code Generating
*
* 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 ... | 42.992447 | 120 | 0.677207 | [
"object",
"vector"
] |
339fe89a56e9b524520e4deb14addde8d7617baa | 18,788 | hh | C++ | src/c4/C4_Functions.hh | rspavel/Draco | b279b1afbfbb39f2d521579697172394c5efd81d | [
"BSD-3-Clause-Open-MPI"
] | null | null | null | src/c4/C4_Functions.hh | rspavel/Draco | b279b1afbfbb39f2d521579697172394c5efd81d | [
"BSD-3-Clause-Open-MPI"
] | null | null | null | src/c4/C4_Functions.hh | rspavel/Draco | b279b1afbfbb39f2d521579697172394c5efd81d | [
"BSD-3-Clause-Open-MPI"
] | null | null | null | //----------------------------------*-C++-*----------------------------------//
/*!
* \file c4/C4_Functions.hh
* \author Thomas M. Evans
* \date Thu Mar 21 11:42:03 2002
* \brief C4 Communication Functions.
* \note Copyright (C) 2016-2019 Triad National Security, LLC.
* All rights reserved.
*
* T... | 36.767123 | 80 | 0.493081 | [
"object",
"vector"
] |
339fed164087d178775d9399741be33edc3e84cb | 4,332 | cpp | C++ | infoarena.com/AGM2015/caroiaj.cpp | Duxar/problems-sources | b9445ade18b4740ef060b3c7e91cbb71eae1e767 | [
"MIT"
] | null | null | null | infoarena.com/AGM2015/caroiaj.cpp | Duxar/problems-sources | b9445ade18b4740ef060b3c7e91cbb71eae1e767 | [
"MIT"
] | null | null | null | infoarena.com/AGM2015/caroiaj.cpp | Duxar/problems-sources | b9445ade18b4740ef060b3c7e91cbb71eae1e767 | [
"MIT"
] | null | null | null | #ifdef ONLINE_JUDGE
#include <bits/stdc++.h>
#else
#include <algorithm>
#include <bitset>
#include <list>
#include <cassert>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <map>
#include <set>
#include <stack>
#include <string>
#include <utility>
#include <vector>
... | 21.235294 | 99 | 0.505771 | [
"vector"
] |
33a0c006d20500b08a5d6b66b597d77ee3284e1a | 3,226 | cpp | C++ | src/SceneTest.cpp | raster77/boids | d219635704d74f9f9041812713285f2209bb46a9 | [
"MIT"
] | null | null | null | src/SceneTest.cpp | raster77/boids | d219635704d74f9f9041812713285f2209bb46a9 | [
"MIT"
] | null | null | null | src/SceneTest.cpp | raster77/boids | d219635704d74f9f9041812713285f2209bb46a9 | [
"MIT"
] | null | null | null | #include <SceneTest.hpp>
SceneTest::SceneTest()
: Scene()
{
}
SceneTest::SceneTest(sf::RenderWindow* window)
: Scene(window)
{
}
SceneTest::~SceneTest()
{
}
void SceneTest::load()
{
target.setRadius(25.f);
target.setOrigin(target.getRadius(), target.getRadius());
target.setFillColor(sf::... | 28.298246 | 139 | 0.656541 | [
"render",
"vector"
] |
33a34349c0431b36e916d476ac1e89b1b53638db | 56,604 | cc | C++ | crawl-ref/source/timed_effects.cc | Hellmonk/posthellcrawl | 362cdb2e511a451683f4754f147d5e737658cc84 | [
"CC0-1.0"
] | null | null | null | crawl-ref/source/timed_effects.cc | Hellmonk/posthellcrawl | 362cdb2e511a451683f4754f147d5e737658cc84 | [
"CC0-1.0"
] | null | null | null | crawl-ref/source/timed_effects.cc | Hellmonk/posthellcrawl | 362cdb2e511a451683f4754f147d5e737658cc84 | [
"CC0-1.0"
] | null | null | null | /**
* @file
* @brief Gametime related functions.
**/
#include "AppHdr.h"
#include "timed_effects.h"
#include "abyss.h"
#include "act-iter.h"
#include "areas.h"
#include "beam.h"
#include "bloodspatter.h"
#include "branch.h"
#include "cloud.h"
#include "coordit.h"
#include "database.h"
#include "dgn-shoals.h"
#incl... | 31.290216 | 90 | 0.560649 | [
"vector"
] |
33a69e8beb7c620d10cf5213742a8d41a0212a1a | 115,706 | cpp | C++ | lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | AlexVlx/llvm | 08ba61dfeeac3e1eccff413870340197935e28bc | [
"Apache-2.0"
] | null | null | null | lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | AlexVlx/llvm | 08ba61dfeeac3e1eccff413870340197935e28bc | [
"Apache-2.0"
] | null | null | null | lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | AlexVlx/llvm | 08ba61dfeeac3e1eccff413870340197935e28bc | [
"Apache-2.0"
] | null | null | null | //===- llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp ----------------------===//
//
// 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
//
//===---------------------------... | 37.542505 | 108 | 0.689402 | [
"object",
"vector",
"model"
] |
33a7a7a0ec083943f5877ad3316335e32f2865cf | 53,022 | cpp | C++ | golg__g1_render.cpp | poikilos/golgotha | d3184dea6b061f853423e0666dba23218042e5ba | [
"CC0-1.0"
] | 5 | 2015-12-09T20:37:49.000Z | 2021-08-10T08:06:29.000Z | golg__g1_render.cpp | poikilos/golgotha | d3184dea6b061f853423e0666dba23218042e5ba | [
"CC0-1.0"
] | 13 | 2021-09-20T16:25:30.000Z | 2022-03-17T04:59:40.000Z | golg__g1_render.cpp | poikilos/golgotha | d3184dea6b061f853423e0666dba23218042e5ba | [
"CC0-1.0"
] | 5 | 2016-01-04T22:54:22.000Z | 2021-09-20T16:09:03.000Z | /********************************************************************** <BR>
This file is part of Crack dot Com's free source code release of
Golgotha. <a href="http://www.crack.com/golgotha_release"> <BR> for
information about compiling & licensing issues visit this URL</a>
<PRE> If that doesn't help, ... | 25.010377 | 139 | 0.605088 | [
"render",
"object",
"vector",
"transform"
] |
33aa9b2a81c8f79602c605fd31e7b0e403ae14fa | 7,075 | cpp | C++ | GRT/CoreModules/PostProcessing.cpp | ramakrishnanachariya/gestureReg | 3ee7ffef4aad3163a207b4e1a982614fdc002f6a | [
"MIT",
"Unlicense"
] | null | null | null | GRT/CoreModules/PostProcessing.cpp | ramakrishnanachariya/gestureReg | 3ee7ffef4aad3163a207b4e1a982614fdc002f6a | [
"MIT",
"Unlicense"
] | null | null | null | GRT/CoreModules/PostProcessing.cpp | ramakrishnanachariya/gestureReg | 3ee7ffef4aad3163a207b4e1a982614fdc002f6a | [
"MIT",
"Unlicense"
] | null | null | null | /*
GRT MIT License
Copyright (c) <2012> <Nicholas Gillian, Media Lab, MIT>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software
and associated documentation files (the "Software"), to deal in the Software without restriction,
including without limitation the rights to u... | 32.159091 | 138 | 0.69371 | [
"vector"
] |
33ad0efe0352c1ba72b8b02782f7642eee7e3220 | 3,233 | cpp | C++ | 3rdParty/boost/1.71.0/libs/math/test/cardinal_quadratic_b_spline_test.cpp | rajeev02101987/arangodb | 817e6c04cb82777d266f3b444494140676da98e2 | [
"Apache-2.0"
] | 12,278 | 2015-01-29T17:11:33.000Z | 2022-03-31T21:12:00.000Z | 3rdParty/boost/1.71.0/libs/math/test/cardinal_quadratic_b_spline_test.cpp | rajeev02101987/arangodb | 817e6c04cb82777d266f3b444494140676da98e2 | [
"Apache-2.0"
] | 9,469 | 2015-01-30T05:33:07.000Z | 2022-03-31T16:17:21.000Z | 3rdParty/boost/1.71.0/libs/math/test/cardinal_quadratic_b_spline_test.cpp | rajeev02101987/arangodb | 817e6c04cb82777d266f3b444494140676da98e2 | [
"Apache-2.0"
] | 892 | 2015-01-29T16:26:19.000Z | 2022-03-20T07:44:30.000Z | /*
* Copyright Nick Thompson, 2019
* Use, modification and distribution are subject to the
* Boost Software License, Version 1.0. (See accompanying file
* LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
*/
#include "math_unit_test.hpp"
#include <numeric>
#include <utility>
#include <boost/math/in... | 24.679389 | 88 | 0.550572 | [
"vector"
] |
33af0ee4e985720b6b3967ebe2b04c31792af794 | 10,857 | cpp | C++ | Player.cpp | numpad/mines | ad475fcc6470576cc16a1b9c13510edcf2c250bd | [
"MIT"
] | null | null | null | Player.cpp | numpad/mines | ad475fcc6470576cc16a1b9c13510edcf2c250bd | [
"MIT"
] | null | null | null | Player.cpp | numpad/mines | ad475fcc6470576cc16a1b9c13510edcf2c250bd | [
"MIT"
] | null | null | null | #include "Player.hpp"
Player::Player(Vec2 screenSize) : Entity("assets/player/skin.png"), textFont("assets/font/font.png", Vec2(5, 8)) {
/* Offset body --> feet */
Player::feetOffset = Vec2(7.0, 37.0);
Player::headOffset = Vec2(6.0, -28.0);
Player::legAnimation = 0.0;
Player::armfAngle = 0.0;
Player::armfAnimat... | 33 | 204 | 0.682693 | [
"render",
"vector"
] |
33afc7d7cbf7f847a42e8848f6039491d369ad96 | 8,192 | cpp | C++ | VC/NotUsedCpps/CSAMutation.cpp | hkujy/VC | 54b79fac4ecf4ac225b54325d879a580a9b17be6 | [
"MIT"
] | null | null | null | VC/NotUsedCpps/CSAMutation.cpp | hkujy/VC | 54b79fac4ecf4ac225b54325d879a580a9b17be6 | [
"MIT"
] | null | null | null | VC/NotUsedCpps/CSAMutation.cpp | hkujy/VC | 54b79fac4ecf4ac225b54325d879a580a9b17be6 | [
"MIT"
] | null | null | null | #include "CommonHeaders.h"
#include <assert.h>
#include <math.h> /* pow */
// #include "MutationFuncHeader.h"
#include "RandomFuncs.h"
using namespace std;
// void increasdof(double &NowDof, vector<double> DofVarSet){
void increasdof(double &NowDof, double &NowDofProb, vector<pair<double,double>> DofVarSet){
/... | 27.215947 | 104 | 0.647949 | [
"vector"
] |
33afe4b7a7768067dcb2388d409ee5b5c288d337 | 331 | cpp | C++ | Chandra HAL/main.cpp | martinjaymckee/Chandra-HAL | 337a0cc5d19b20af979145c07cf1d7351754bb27 | [
"MIT"
] | null | null | null | Chandra HAL/main.cpp | martinjaymckee/Chandra-HAL | 337a0cc5d19b20af979145c07cf1d7351754bb27 | [
"MIT"
] | null | null | null | Chandra HAL/main.cpp | martinjaymckee/Chandra-HAL | 337a0cc5d19b20af979145c07cf1d7351754bb27 | [
"MIT"
] | null | null | null | #include <iostream>
#include "inertial.h"
int main(void) {
chandra::drivers::InertialTransform<double,3> transform;
std::cout << transform.c << '\n';
std::cout << "gain = ";
transform.A.dump();
std::cout << '\n';
std::cout << "offset = ";
transform.x0.dump();
std::cout << '\n';
r... | 18.388889 | 60 | 0.55287 | [
"transform"
] |
33b0555c7e420f5bd893287a5c67668efee7fc29 | 17,992 | cpp | C++ | src/menus/materia_menu/materia_init_callbacks.cpp | Kor-Hal/SisterRay | 4e8482525a5d7f77dee186f438ddb16523a61e7e | [
"BSD-3-Clause"
] | null | null | null | src/menus/materia_menu/materia_init_callbacks.cpp | Kor-Hal/SisterRay | 4e8482525a5d7f77dee186f438ddb16523a61e7e | [
"BSD-3-Clause"
] | null | null | null | src/menus/materia_menu/materia_init_callbacks.cpp | Kor-Hal/SisterRay | 4e8482525a5d7f77dee186f438ddb16523a61e7e | [
"BSD-3-Clause"
] | null | null | null | #include "materia_init_callbacks.h"
#include "../../impl.h"
#include "../../party/party_utils.h"
#include "../../widgets/updaters.h"
using namespace MateriaWidgetNames;
void initMateraCharDataWidget(const MenuInitEvent* event) {
const char * menuText;
auto menuObject = event->menu;
auto mainWidget = menuO... | 45.20603 | 178 | 0.726378 | [
"vector"
] |
33b353b25d3929caf5221e329ba572aed90e18fa | 22,201 | cc | C++ | src/listmerger/utilities.cc | mahmoudimus/flamingo | 61b46a9f57c9aa4050b0dd8b95a44e1abef0d006 | [
"Unlicense"
] | 4 | 2018-08-23T08:05:33.000Z | 2019-06-13T09:23:27.000Z | src/listmerger/utilities.cc | mahmoudimus/flamingo | 61b46a9f57c9aa4050b0dd8b95a44e1abef0d006 | [
"Unlicense"
] | null | null | null | src/listmerger/utilities.cc | mahmoudimus/flamingo | 61b46a9f57c9aa4050b0dd8b95a44e1abef0d006 | [
"Unlicense"
] | null | null | null | /*
$Id: utilities.cc 5149 2010-03-24 23:37:18Z abehm $
Copyright (C) 2010 by The Regents of the University of California
Redistribution of this file is permitted under the terms of
the BSD license.
Author: Jiaheng Lu
Date: 05/11/2007
*/
#include "utilities.h"
#include <sys/time.h>
... | 25.966082 | 103 | 0.594838 | [
"vector"
] |
33b4a7fb3b3606cb66fee81219d5695e5603dfba | 5,143 | hh | C++ | src/BddToHDL.hh | mkhaled87/BDD2Implement | 4cacf10432d259f53c8a06e8f650eb66e3185a93 | [
"BSD-3-Clause"
] | 2 | 2019-10-10T21:39:43.000Z | 2020-12-21T20:34:12.000Z | src/BddToHDL.hh | mkhaled87/BDD2Implement | 4cacf10432d259f53c8a06e8f650eb66e3185a93 | [
"BSD-3-Clause"
] | null | null | null | src/BddToHDL.hh | mkhaled87/BDD2Implement | 4cacf10432d259f53c8a06e8f650eb66e3185a93 | [
"BSD-3-Clause"
] | null | null | null | #ifndef BDDTOHDL_HH_
#define BDDTOHDL_HH_
#include "cuddObj.hh"
#include "BddReader.hh"
#include "BddToString.hh"
#include "BddDecomposer.hh"
#include "utils.hh"
/*
* a class to construct HDL codes from the BDD
*/
class BddToHDL{
Cudd* cuddManager;
size_t STATES_BDDVARSCOUNT;
size_t ACTION_BDDVARSCOUNT;
bool u... | 31.944099 | 119 | 0.687148 | [
"vector"
] |
33b9f063d03b5b8e6c1eca68bae4470b8ef3fd1b | 3,729 | cpp | C++ | examples/wave_tank/ex1/GravityForcing.cpp | hongk45/IBAMR | 698d419fc6688470a8b9400822ba893da9d07ae2 | [
"BSD-3-Clause"
] | null | null | null | examples/wave_tank/ex1/GravityForcing.cpp | hongk45/IBAMR | 698d419fc6688470a8b9400822ba893da9d07ae2 | [
"BSD-3-Clause"
] | 1 | 2020-11-30T14:22:45.000Z | 2020-12-01T21:28:24.000Z | tests/wave_tank/GravityForcing.cpp | hongk45/IBAMR | 698d419fc6688470a8b9400822ba893da9d07ae2 | [
"BSD-3-Clause"
] | null | null | null | // ---------------------------------------------------------------------
//
// Copyright (c) 2019 - 2019 by the IBAMR developers
// All rights reserved.
//
// This file is part of IBAMR.
//
// IBAMR is free software and is distributed under the 3-clause BSD
// license. The full text of the license can be found in the f... | 37.29 | 112 | 0.508984 | [
"vector"
] |
33bd2a527519fba928ec862f20ab8744a83070e2 | 11,125 | cpp | C++ | sift_1b.cpp | AmberLJC/hnswlib | 6cff39a9fb61881b9adbdca18ecf8157cfbeecce | [
"Apache-2.0"
] | null | null | null | sift_1b.cpp | AmberLJC/hnswlib | 6cff39a9fb61881b9adbdca18ecf8157cfbeecce | [
"Apache-2.0"
] | null | null | null | sift_1b.cpp | AmberLJC/hnswlib | 6cff39a9fb61881b9adbdca18ecf8157cfbeecce | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include <fstream>
#include <queue>
#include <chrono>
#include "hnswlib/hnswlib.h"
#include <unordered_set>
using namespace std;
using namespace hnswlib;
class StopW {
std::chrono::steady_clock::time_point time_begin;
public:
StopW() {
time_begin = std::chrono::steady_clock::now(... | 30.479452 | 144 | 0.553978 | [
"vector"
] |
33c1a6f48520de78e951f32d2bd18f3efbc2d702 | 93,091 | cpp | C++ | hphp/runtime/ext/ext_soap.cpp | renesugar/hiphop-php | 4eb05b745fd3018a6d9e51464cae06a4465ee142 | [
"PHP-3.01",
"Zend-2.0"
] | 2 | 2019-04-11T01:39:44.000Z | 2019-11-21T16:06:13.000Z | hphp/runtime/ext/ext_soap.cpp | rmasters/hiphop-php | 218e4718a7b68bf49b9a98caad9bd5f1cb2abe31 | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | hphp/runtime/ext/ext_soap.cpp | rmasters/hiphop-php | 218e4718a7b68bf49b9a98caad9bd5f1cb2abe31 | [
"PHP-3.01",
"Zend-2.0"
] | 1 | 2019-04-11T01:39:45.000Z | 2019-04-11T01:39:45.000Z | /*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010-2013 Facebook, Inc. (http://www.facebook.com) |
| Copyrigh... | 32.289629 | 86 | 0.579132 | [
"object",
"model"
] |
33c54033c4a5a87b98417624efbdf0c11a079c33 | 2,246 | cpp | C++ | test/compressor_expander.cpp | christiancrowle/q | 51160338ff4920ee82b3572389f8e337594c6248 | [
"MIT"
] | 1 | 2020-09-16T10:46:27.000Z | 2020-09-16T10:46:27.000Z | test/compressor_expander.cpp | Pogo0o/q | 1999563fddf2ae41f0046ee8a64c3aa85852f2cc | [
"MIT"
] | null | null | null | test/compressor_expander.cpp | Pogo0o/q | 1999563fddf2ae41f0046ee8a64c3aa85852f2cc | [
"MIT"
] | 1 | 2021-03-10T05:50:02.000Z | 2021-03-10T05:50:02.000Z | /*=============================================================================
Copyright (c) 2014-2020 Joel de Guzman. All rights reserved.
Distributed under the MIT License [ https://opensource.org/licenses/MIT ]
=============================================================================*/
#include <q/suppor... | 24.955556 | 79 | 0.486643 | [
"vector"
] |
33ccf4bb746d7ec393cf755022dadf46abd9c465 | 13,956 | cpp | C++ | fasta.cpp | niu-lab/gclust | aa7f5be22d8b5f7c9d1693269c1b764802b7e885 | [
"Apache-2.0"
] | 11 | 2020-02-01T17:50:58.000Z | 2022-03-23T19:42:56.000Z | fasta.cpp | niu-lab/gclust | aa7f5be22d8b5f7c9d1693269c1b764802b7e885 | [
"Apache-2.0"
] | 4 | 2020-02-18T14:52:04.000Z | 2022-03-24T06:52:42.000Z | fasta.cpp | niu-lab/gclust | aa7f5be22d8b5f7c9d1693269c1b764802b7e885 | [
"Apache-2.0"
] | 4 | 2017-12-06T13:12:22.000Z | 2021-09-30T07:55:29.000Z | #include <fstream>
#include <iostream>
#include <algorithm>
#include "fasta.hpp"
// Filter 'n' in genome.
void filter_n(string &seq_rc)
{
// Bit by bit.
for(long i = 0; i < (long)seq_rc.length(); i++) {
// Adapted from Kurtz code in MUMmer v3.
switch(seq_rc[i])
{
case 'a': case 't': case 'g': case '... | 23.298831 | 77 | 0.552379 | [
"vector"
] |
33ccfb270fab32cf3c94db76dc6d65eb564caf2f | 6,746 | cpp | C++ | adapters-stk/test/stk_interface_test/tSquareTriMeshFactory.cpp | hillyuan/Tianxin | 57c7a5ed2466dda99471dec41cd85878335774d7 | [
"BSD-3-Clause"
] | 1 | 2022-03-22T03:49:50.000Z | 2022-03-22T03:49:50.000Z | adapters-stk/test/stk_interface_test/tSquareTriMeshFactory.cpp | hillyuan/Tianxin | 57c7a5ed2466dda99471dec41cd85878335774d7 | [
"BSD-3-Clause"
] | null | null | null | adapters-stk/test/stk_interface_test/tSquareTriMeshFactory.cpp | hillyuan/Tianxin | 57c7a5ed2466dda99471dec41cd85878335774d7 | [
"BSD-3-Clause"
] | null | null | null | // @HEADER
// ***********************************************************************
//
// Panzer: A partial differential equation assembly
// engine for strongly coupled complex multiphysics systems
// Copyright (2011) Sandia Corporation
//
// Under the terms of Contract DE-AC04-94AL85... | 33.562189 | 79 | 0.677438 | [
"mesh",
"vector"
] |
33d24b5b832fe9011591606860e0f50361367790 | 6,042 | cpp | C++ | paddle/legacy/gserver/gradientmachines/ParallelNeuralNetwork.cpp | jerrywgz/Paddle | 85c4912755b783dd7554a9d6b9dae4a7e40371bc | [
"Apache-2.0"
] | 9 | 2017-12-04T02:58:01.000Z | 2020-12-03T14:46:30.000Z | paddle/legacy/gserver/gradientmachines/ParallelNeuralNetwork.cpp | jerrywgz/Paddle | 85c4912755b783dd7554a9d6b9dae4a7e40371bc | [
"Apache-2.0"
] | 7 | 2017-12-05T20:29:08.000Z | 2018-10-15T08:57:40.000Z | paddle/legacy/gserver/gradientmachines/ParallelNeuralNetwork.cpp | jerrywgz/Paddle | 85c4912755b783dd7554a9d6b9dae4a7e40371bc | [
"Apache-2.0"
] | 6 | 2018-03-19T22:38:46.000Z | 2019-11-01T22:28:27.000Z | /* Copyright (c) 2016 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... | 28.102326 | 80 | 0.634062 | [
"vector",
"model"
] |
33d5242b708bf82bfc6bd79b5109b520cee3b56d | 25,852 | cc | C++ | net/quic/crypto/quic_crypto_client_config.cc | aranajhonny/chromium | caf5bcb822f79b8997720e589334266551a50a13 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2019-01-16T03:57:39.000Z | 2019-01-16T03:57:39.000Z | net/quic/crypto/quic_crypto_client_config.cc | aranajhonny/chromium | caf5bcb822f79b8997720e589334266551a50a13 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2018-02-10T21:00:08.000Z | 2018-03-20T05:09:50.000Z | net/quic/crypto/quic_crypto_client_config.cc | aranajhonny/chromium | caf5bcb822f79b8997720e589334266551a50a13 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/quic/crypto/quic_crypto_client_config.h"
#include "base/metrics/sparse_histogram.h"
#include "base/stl_util.h"
#include "base/strings/strin... | 31.955501 | 80 | 0.714954 | [
"vector"
] |
33d66db6578a023f065b339aa44a31e6db04ca79 | 6,956 | hpp | C++ | examples/capacitatedopenvehiclerouting.hpp | fontanf/columngenerationsolver | f0261d0f621e2c342aeca86f404d5f92fff3fc7a | [
"MIT"
] | 8 | 2021-02-07T21:36:04.000Z | 2022-03-23T15:50:55.000Z | examples/capacitatedopenvehiclerouting.hpp | fontanf/columngenerationsolver | f0261d0f621e2c342aeca86f404d5f92fff3fc7a | [
"MIT"
] | null | null | null | examples/capacitatedopenvehiclerouting.hpp | fontanf/columngenerationsolver | f0261d0f621e2c342aeca86f404d5f92fff3fc7a | [
"MIT"
] | null | null | null | #pragma once
/**
* Capacitated Open Vehicle Routing Problem.
*
* Problem description:
* See https://github.com/fontanf/orproblems/blob/main/orproblems/capacitatedopenvehiclerouting.hpp
*
* The linear programming formulation of the problem based on Dantzig–Wolfe
* decomposition is written as follows:
*
* Varia... | 32.203704 | 99 | 0.643186 | [
"vector"
] |
33d8a3ba42d35e386cca2c1132f8d322d320a8bd | 26,066 | hpp | C++ | python/pylc_converters.hpp | CMU-Light-Curtains/Simulator | 6ad251738b02911b346a9f6dd3757555a92ad02d | [
"BSD-3-Clause"
] | 5 | 2022-01-02T09:48:13.000Z | 2022-03-12T15:44:25.000Z | python/pylc_converters.hpp | CMU-Light-Curtains/Simulator | 6ad251738b02911b346a9f6dd3757555a92ad02d | [
"BSD-3-Clause"
] | null | null | null | python/pylc_converters.hpp | CMU-Light-Curtains/Simulator | 6ad251738b02911b346a9f6dd3757555a92ad02d | [
"BSD-3-Clause"
] | null | null | null | #ifndef CONVERTERS_H
#define CONVERTERS_H
#include <memory>
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
#include <pybind11/numpy.h>
#include <pybind11/eigen.h>
#include <stdexcept>
#include <opencv2/opencv.hpp>
namespace py = pybind11;
// Numpy - cv::Mat interop
namespace pybind11 { namespace detail {
... | 41.506369 | 119 | 0.467621 | [
"object",
"shape",
"vector",
"transform"
] |
33d983cb380e9c6efbb40f7bc1897a793121dc30 | 1,458 | hpp | C++ | Tutorials/06-Raytrace/RTX/Structs/DxilLibrary.hpp | qingqhua/CppDirectXRayTracing | bbdae2155a3b464faddce5eec8a000eb318e0c0f | [
"BSD-3-Clause"
] | 1 | 2021-09-06T13:09:13.000Z | 2021-09-06T13:09:13.000Z | Tutorials/06-Raytrace/RTX/Structs/DxilLibrary.hpp | qingqhua/CppDirectXRayTracing | bbdae2155a3b464faddce5eec8a000eb318e0c0f | [
"BSD-3-Clause"
] | null | null | null | Tutorials/06-Raytrace/RTX/Structs/DxilLibrary.hpp | qingqhua/CppDirectXRayTracing | bbdae2155a3b464faddce5eec8a000eb318e0c0f | [
"BSD-3-Clause"
] | null | null | null | #pragma once
#include "Framework.h"
namespace CppDirectXRayTracing06
{
struct DxilLibrary
{
DxilLibrary(ID3DBlobPtr pBlob, const WCHAR* entryPoint[], uint32_t entryPointCount) : pShaderBlob(pBlob)
{
stateSubobject.Type = D3D12_STATE_SUBOBJECT_TYPE_DXIL_LIBRARY;
stateSubo... | 35.560976 | 112 | 0.58642 | [
"vector"
] |
33da54504df23ad3c7088857c2d0631d45d9bbef | 7,745 | hh | C++ | src/OpenMesh/Apps/Unsupported/Streaming-qt4/Server/VDPMServerSession.hh | rzoller/OpenMesh | f84bca0b26c61eab5f9335b2191962ca8545c5f6 | [
"BSD-3-Clause"
] | null | null | null | src/OpenMesh/Apps/Unsupported/Streaming-qt4/Server/VDPMServerSession.hh | rzoller/OpenMesh | f84bca0b26c61eab5f9335b2191962ca8545c5f6 | [
"BSD-3-Clause"
] | null | null | null | src/OpenMesh/Apps/Unsupported/Streaming-qt4/Server/VDPMServerSession.hh | rzoller/OpenMesh | f84bca0b26c61eab5f9335b2191962ca8545c5f6 | [
"BSD-3-Clause"
] | null | null | null | /* ========================================================================= *
* *
* OpenMesh *
* Copyright (c) 2001-2015, RWTH-Aachen University *
* ... | 39.314721 | 108 | 0.559458 | [
"geometry"
] |
33dacabb8be7b333cc36e01f69e105c674bee8dd | 71,784 | cc | C++ | third_party/webrtc/src/chromium/src/device/bluetooth/dbus/fake_bluetooth_device_client.cc | bopopescu/webrtc-streaming-node | 727a441204344ff596401b0253caac372b714d91 | [
"MIT"
] | 8 | 2016-02-08T11:59:31.000Z | 2020-05-31T15:19:54.000Z | third_party/webrtc/src/chromium/src/device/bluetooth/dbus/fake_bluetooth_device_client.cc | bopopescu/webrtc-streaming-node | 727a441204344ff596401b0253caac372b714d91 | [
"MIT"
] | 1 | 2021-05-05T11:11:31.000Z | 2021-05-05T11:11:31.000Z | third_party/webrtc/src/chromium/src/device/bluetooth/dbus/fake_bluetooth_device_client.cc | bopopescu/webrtc-streaming-node | 727a441204344ff596401b0253caac372b714d91 | [
"MIT"
] | 7 | 2016-02-09T09:28:14.000Z | 2020-07-25T19:03:36.000Z | // Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "device/bluetooth/dbus/fake_bluetooth_device_client.h"
#include <fcntl.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <unistd.h>... | 43.191336 | 80 | 0.724632 | [
"object",
"vector"
] |
33db074a9b1b86d5b65e47e1da1290ce7dcce9a0 | 380 | hpp | C++ | src/noad/script.hpp | cpp-niel/mfl | d22d698b112b95d102150d5f3a5f35d8eb7fb0f3 | [
"MIT"
] | 4 | 2021-04-02T02:52:05.000Z | 2021-12-11T00:42:35.000Z | src/noad/script.hpp | cpp-niel/mfl | d22d698b112b95d102150d5f3a5f35d8eb7fb0f3 | [
"MIT"
] | null | null | null | src/noad/script.hpp | cpp-niel/mfl | d22d698b112b95d102150d5f3a5f35d8eb7fb0f3 | [
"MIT"
] | null | null | null | #pragma once
#include "noad/noad.hpp"
#include <optional>
#include <vector>
namespace mfl
{
struct script
{
std::vector<noad> nucleus;
std::optional<std::vector<noad>> sub;
std::optional<std::vector<noad>> sup;
};
struct settings;
struct hlist;
hlist script_to_hlist(... | 18.095238 | 84 | 0.642105 | [
"vector"
] |
33de86fb72f8eeac1c13c462ce132e7ffa0cd88f | 3,461 | c++ | C++ | c++/src/kj/refcount.c++ | MixusMinimax/capnproto | 48db1a9cda33bad8a89f8b0285a7843f19b27ee6 | [
"MIT"
] | 4,518 | 2017-06-06T15:33:15.000Z | 2022-03-31T16:43:23.000Z | c++/src/kj/refcount.c++ | seanwallawalla-forks/capnproto | 8009588ff84cbdf233f6d23d1d507462b050b427 | [
"MIT"
] | 718 | 2017-06-05T22:58:24.000Z | 2022-03-24T03:05:45.000Z | c++/src/kj/refcount.c++ | seanwallawalla-forks/capnproto | 8009588ff84cbdf233f6d23d1d507462b050b427 | [
"MIT"
] | 492 | 2017-06-07T08:40:53.000Z | 2022-03-30T20:57:05.000Z | // Copyright (c) 2013-2014 Sandstorm Development Group, Inc. and contributors
// Licensed under the MIT License:
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, inc... | 33.601942 | 96 | 0.676105 | [
"object"
] |
33dfa27ae8a07e2a56b90599e91d4f29fc9dceef | 2,740 | hpp | C++ | public/Simple-XML/Worksheet-Row-Column-Titles.hpp | Lester-Dowling/Simple-XML | 0ed4fdd317743bf788acf2adc2782ae90e3ca0e6 | [
"MIT"
] | null | null | null | public/Simple-XML/Worksheet-Row-Column-Titles.hpp | Lester-Dowling/Simple-XML | 0ed4fdd317743bf788acf2adc2782ae90e3ca0e6 | [
"MIT"
] | null | null | null | public/Simple-XML/Worksheet-Row-Column-Titles.hpp | Lester-Dowling/Simple-XML | 0ed4fdd317743bf788acf2adc2782ae90e3ca0e6 | [
"MIT"
] | null | null | null | /**
* @file Simple-XML/Worksheet-Row-Column-Titles.hpp
* @date Started 2019-04-18
* @author Lester J. Dowling
*/
#pragma once
#include <string>
#include <map>
#include <utility>
#include <optional>
#include <stdexcept>
#include "Simple-XML/Row-Column-Titles.hpp"
#include "simple-xml_export.h"
namespace simple_... | 25.37037 | 71 | 0.639051 | [
"vector"
] |
33dfe952ce4548dffa1944e9e06c3de69ae154c9 | 7,767 | hpp | C++ | deps/include/SFML/Graphics/VertexArray.hpp | rohitrtk/Pong | ace1482a81cdb91f0c50eedf249c68945e4a864f | [
"MIT"
] | 79 | 2016-11-05T12:41:46.000Z | 2022-03-23T07:05:01.000Z | deps/include/SFML/Graphics/VertexArray.hpp | rohitrtk/Pong | ace1482a81cdb91f0c50eedf249c68945e4a864f | [
"MIT"
] | 14 | 2017-02-28T02:47:43.000Z | 2021-04-25T20:08:15.000Z | deps/include/SFML/Graphics/VertexArray.hpp | rohitrtk/Pong | ace1482a81cdb91f0c50eedf249c68945e4a864f | [
"MIT"
] | 29 | 2017-03-03T17:14:59.000Z | 2021-12-16T10:26:08.000Z | ////////////////////////////////////////////////////////////
//
// SFML - Simple and Fast Multimedia Library
// Copyright (C) 2007-2016 Laurent Gomila (laurent@sfml-dev.org)
//
// This software is provided 'as-is', without any express or implied warranty.
// In no event will the authors be held liable for any damages a... | 34.674107 | 101 | 0.470838 | [
"render",
"vector"
] |
33e2798fe025f3251de6e8c19fccaf26bcd7f2d8 | 43,718 | cc | C++ | engine/source/sim/simObject.cc | pchan126/Torque2D | 8605814be2b1f77fc93595393bf62116d77e8f2f | [
"MIT"
] | null | null | null | engine/source/sim/simObject.cc | pchan126/Torque2D | 8605814be2b1f77fc93595393bf62116d77e8f2f | [
"MIT"
] | null | null | null | engine/source/sim/simObject.cc | pchan126/Torque2D | 8605814be2b1f77fc93595393bf62116d77e8f2f | [
"MIT"
] | null | null | null | //-----------------------------------------------------------------------------
// Copyright (c) 2013 GarageGames, LLC
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to
// deal in the Software without restr... | 30.171153 | 191 | 0.567592 | [
"object",
"vector"
] |
33e29d2b7bda247e48c5f1c88cdb3e5ad9ea89d3 | 13,245 | cpp | C++ | src/Interpreters/InterpreterShowCreateAccessEntityQuery.cpp | tianyiYoung/ClickHouse | 41012b5ba49df807af52fc17ab475a21fadda9b3 | [
"Apache-2.0"
] | 5 | 2021-05-14T02:46:44.000Z | 2021-11-23T04:58:20.000Z | src/Interpreters/InterpreterShowCreateAccessEntityQuery.cpp | tianyiYoung/ClickHouse | 41012b5ba49df807af52fc17ab475a21fadda9b3 | [
"Apache-2.0"
] | 5 | 2021-05-21T06:26:01.000Z | 2021-08-04T04:57:36.000Z | src/Interpreters/InterpreterShowCreateAccessEntityQuery.cpp | tianyiYoung/ClickHouse | 41012b5ba49df807af52fc17ab475a21fadda9b3 | [
"Apache-2.0"
] | 8 | 2021-05-12T01:38:18.000Z | 2022-02-10T06:08:41.000Z | #include <Interpreters/InterpreterShowCreateAccessEntityQuery.h>
#include <Interpreters/Context.h>
#include <Parsers/ASTCreateUserQuery.h>
#include <Parsers/ASTCreateRoleQuery.h>
#include <Parsers/ASTCreateQuotaQuery.h>
#include <Parsers/ASTCreateRowPolicyQuery.h>
#include <Parsers/ASTCreateSettingsProfileQuery.h>
#inc... | 34.855263 | 136 | 0.641752 | [
"vector"
] |
33e31264686e3c0872663e78bfa47d412623a4cd | 3,667 | cc | C++ | DQM/SiStripMonitorSummary/plugins/SiStripPlotGain.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 1 | 2019-08-09T08:42:11.000Z | 2019-08-09T08:42:11.000Z | DQM/SiStripMonitorSummary/plugins/SiStripPlotGain.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | null | null | null | DQM/SiStripMonitorSummary/plugins/SiStripPlotGain.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 1 | 2019-03-19T13:44:54.000Z | 2019-03-19T13:44:54.000Z | #include "DQM/SiStripMonitorSummary/plugins/SiStripPlotGain.h"
#include "DataFormats/TrackerCommon/interface/TrackerTopology.h"
#include "Geometry/Records/interface/TrackerTopologyRcd.h"
SiStripPlotGain::SiStripPlotGain(const edm::ParameterSet& iConfig):
cacheID(0xFFFFFFFF)
{
//now do what ever initialization i... | 26.192857 | 112 | 0.658304 | [
"geometry",
"vector"
] |
33e3e2cb0b0e1aafd11e501dd932b107a26065c5 | 7,488 | cpp | C++ | src/Vortex/Debug/Profiler.cpp | Auxione/VortexEngine | 6c443a4b8cdf17c36a280f7c160b2006aac0d33b | [
"MIT"
] | null | null | null | src/Vortex/Debug/Profiler.cpp | Auxione/VortexEngine | 6c443a4b8cdf17c36a280f7c160b2006aac0d33b | [
"MIT"
] | null | null | null | src/Vortex/Debug/Profiler.cpp | Auxione/VortexEngine | 6c443a4b8cdf17c36a280f7c160b2006aac0d33b | [
"MIT"
] | null | null | null | #ifdef VORTEX_DEBUG
#include "Vortex/Debug/Profiler.h"
namespace Vortex::DebugProfiler {
MapType ProfileMap;
MapType FrameProfileMap;
std::chrono::steady_clock::time_point ProfileStartTime;
std::chrono::steady_clock::time_point FrameStartTime;
bool FrameCall{false};
std::size_t FrameCount{0};
DurationType Tota... | 33.132743 | 128 | 0.656918 | [
"vector"
] |
33e3e8f293f4373f11531c7adf778a611dfb5e81 | 2,980 | cpp | C++ | py_agc_api/py_agc_api.cpp | agnieszkadanek/agc | f667e75d0c09fa7e046cf6b7df67af9f973c451c | [
"MIT"
] | 52 | 2021-12-22T17:50:47.000Z | 2022-03-23T17:08:50.000Z | py_agc_api/py_agc_api.cpp | agnieszkadanek/agc | f667e75d0c09fa7e046cf6b7df67af9f973c451c | [
"MIT"
] | 1 | 2022-01-26T08:11:52.000Z | 2022-01-26T08:11:52.000Z | py_agc_api/py_agc_api.cpp | agnieszkadanek/agc | f667e75d0c09fa7e046cf6b7df67af9f973c451c | [
"MIT"
] | 4 | 2021-12-22T22:09:22.000Z | 2022-03-18T12:43:09.000Z | #include <pybind11/pybind11.h>
#include <pybind11/operators.h>
#include <pybind11/stl.h>
#include <pybind11/stl_bind.h>
#include <core/agc_decompressor.h>
#include <lib-cxx/agc-api.h>
//binding STL container std::vector<std::string>
PYBIND11_MAKE_OPAQUE(std::vector<std::string>);
namespace py = pybind11;
PYBIND11_M... | 38.701299 | 212 | 0.615101 | [
"vector"
] |
33e55d59e16cd5701f25d0a33b8efcc71fc27d74 | 1,686 | hpp | C++ | src/game_api/containers/game_allocator.hpp | spelunky-fyi/rust-injector | 45ba8acbb6c8505ace288640e764e8557c6f298f | [
"MIT"
] | null | null | null | src/game_api/containers/game_allocator.hpp | spelunky-fyi/rust-injector | 45ba8acbb6c8505ace288640e764e8557c6f298f | [
"MIT"
] | null | null | null | src/game_api/containers/game_allocator.hpp | spelunky-fyi/rust-injector | 45ba8acbb6c8505ace288640e764e8557c6f298f | [
"MIT"
] | 1 | 2020-11-15T05:43:12.000Z | 2020-11-15T05:43:12.000Z | #pragma once
#include <cstddef>
#include <cstdint>
#include <map>
#include <set>
#include <string>
#include <unordered_map>
#include <vector>
void* game_malloc(std::size_t size);
void game_free(void* mem);
// This is an allocator that always uses the malloc/free implementations that the game provides
// Thus it avo... | 21.341772 | 95 | 0.638197 | [
"vector"
] |
33e5a644f6455e1b6f5ad660bb931cd63fb2ec13 | 1,334 | cpp | C++ | chap4/ex4_16.cpp | ksvbka/pppuc | 840962dd612ab4f2b2c638409089cd889c417c8f | [
"MIT"
] | 2 | 2016-05-06T02:08:38.000Z | 2016-05-10T02:19:05.000Z | chap4/ex4_16.cpp | ksvbka/pppuc | 840962dd612ab4f2b2c638409089cd889c417c8f | [
"MIT"
] | null | null | null | chap4/ex4_16.cpp | ksvbka/pppuc | 840962dd612ab4f2b2c638409089cd889c417c8f | [
"MIT"
] | 1 | 2020-11-01T13:06:15.000Z | 2020-11-01T13:06:15.000Z | /*Ex 4.16 In the drill, you wrote a program that, given a series of numbers, found
the max and min of that series. The number that appears the most times in a
sequence is called the mode. Create a program that finds the mode of a set of
positive integers.*/
#include <iostream>
#include <vector>
#include <stdexcept>
u... | 24.254545 | 83 | 0.516492 | [
"vector"
] |
33e7e4d5eb9805b6a82d3c5fd88e210227e068da | 38,082 | cpp | C++ | worker/src/RTC/DtlsTransport.cpp | wangxiaoliang04/mediasoup | af7ba8ac0ed49827555fd555ef8b6c7db114f25f | [
"0BSD"
] | 1 | 2020-03-27T13:52:45.000Z | 2020-03-27T13:52:45.000Z | worker/src/RTC/DtlsTransport.cpp | wangxiaoliang04/mediasoup | af7ba8ac0ed49827555fd555ef8b6c7db114f25f | [
"0BSD"
] | null | null | null | worker/src/RTC/DtlsTransport.cpp | wangxiaoliang04/mediasoup | af7ba8ac0ed49827555fd555ef8b6c7db114f25f | [
"0BSD"
] | null | null | null | #define MS_CLASS "RTC::DtlsTransport"
// #define MS_LOG_DEV_LEVEL 3
#include "RTC/DtlsTransport.hpp"
#include "Logger.hpp"
#include "MediaSoupErrors.hpp"
#include "Settings.hpp"
#include "Utils.hpp"
#include <openssl/asn1.h>
#include <openssl/bn.h>
#include <openssl/err.h>
#include <openssl/evp.h>
#include <openssl/rs... | 24.873939 | 124 | 0.671052 | [
"object",
"vector"
] |
33e9995f2adfb5afa6f07ec5252e768880a9e66a | 4,300 | cpp | C++ | plugins/community/repos/HetrickCV/src/Delta.cpp | guillaume-plantevin/VeeSeeVSTRack | 76fafc8e721613669d6f5ae82a0f58ce923a91e1 | [
"Zlib",
"BSD-3-Clause"
] | 233 | 2018-07-02T16:49:36.000Z | 2022-02-27T21:45:39.000Z | plugins/community/repos/HetrickCV/src/Delta.cpp | guillaume-plantevin/VeeSeeVSTRack | 76fafc8e721613669d6f5ae82a0f58ce923a91e1 | [
"Zlib",
"BSD-3-Clause"
] | 24 | 2018-07-09T11:32:15.000Z | 2022-01-07T01:45:43.000Z | plugins/community/repos/HetrickCV/src/Delta.cpp | guillaume-plantevin/VeeSeeVSTRack | 76fafc8e721613669d6f5ae82a0f58ce923a91e1 | [
"Zlib",
"BSD-3-Clause"
] | 24 | 2018-07-14T21:55:30.000Z | 2021-05-04T04:20:34.000Z | #include "HetrickCV.hpp"
namespace rack_plugin_HetrickCV {
struct Delta : Module
{
enum ParamIds
{
AMOUNT_PARAM,
SCALE_PARAM,
NUM_PARAMS
};
enum InputIds
{
MAIN_INPUT,
AMOUNT_INPUT,
NUM_INPUTS
};
enum OutputIds
{
GT_GATE_OUTPUT,
GT_TRIG_OUTPUT,
LT_GATE_OUTPUT,
LT_TRIG_OUT... | 31.386861 | 110 | 0.705581 | [
"model"
] |
33e9c60d1221702315e9d021dec348d014c7a368 | 5,763 | hpp | C++ | Reflection/build/External/Windows/include/SFML/Graphics/Vertex.hpp | perezite/sandbox-2 | cfe3be85170f8d305bd0766ee6b3ef6420a23915 | [
"MIT"
] | null | null | null | Reflection/build/External/Windows/include/SFML/Graphics/Vertex.hpp | perezite/sandbox-2 | cfe3be85170f8d305bd0766ee6b3ef6420a23915 | [
"MIT"
] | null | null | null | Reflection/build/External/Windows/include/SFML/Graphics/Vertex.hpp | perezite/sandbox-2 | cfe3be85170f8d305bd0766ee6b3ef6420a23915 | [
"MIT"
] | null | null | null | ////////////////////////////////////////////////////////////
//
// SFML - Simple and Fast Multimedia Library
// Copyright (C) 2007-2018 Laurent Gomila (laurent@sfml-dev.org)
//
// This software is provided 'as-is', without any express or implied warranty.
// In no event will the authors be held liable for any dam... | 38.677852 | 102 | 0.515183 | [
"shape"
] |
33ea50faa5822be5a81c6cd543b153a06411d5bb | 70,575 | cpp | C++ | wlib/PreferenceDlg.cpp | xwang2713/eclide | 1c844c94ca44df5aa861f2c66eb2ff9f00caa3df | [
"Apache-2.0"
] | null | null | null | wlib/PreferenceDlg.cpp | xwang2713/eclide | 1c844c94ca44df5aa861f2c66eb2ff9f00caa3df | [
"Apache-2.0"
] | null | null | null | wlib/PreferenceDlg.cpp | xwang2713/eclide | 1c844c94ca44df5aa861f2c66eb2ff9f00caa3df | [
"Apache-2.0"
] | null | null | null | #include "StdAfx.h"
#include "..\en_us\resource.h"
#include "preferencedlg.h"
#include "global.h"
#include "cmdProcess.h"
#include "loginDlg.h"
#include "SimplePromptDlg.h"
#include "Combo.h"
#include "Dali.h"
#include "ShellHelper.h"
#include "ColorButton.h"
#include "LangRef.h"
#include "EclCommand.h"
#include "Ecl... | 28.983573 | 257 | 0.708778 | [
"vector"
] |
33ea6d649f3e8727d3976d77dbf365cb39da964e | 1,348 | cpp | C++ | codeforces/anirudhak47/746/B.cpp | anirudhakulkarni/codes | d7a907951033b57314dfc0b837123aaa5c25a39a | [
"MIT"
] | 3 | 2020-07-09T16:15:42.000Z | 2020-07-17T13:19:42.000Z | codeforces/anirudhak47/746/B.cpp | anirudhakulkarni/codes | d7a907951033b57314dfc0b837123aaa5c25a39a | [
"MIT"
] | null | null | null | codeforces/anirudhak47/746/B.cpp | anirudhakulkarni/codes | d7a907951033b57314dfc0b837123aaa5c25a39a | [
"MIT"
] | 1 | 2020-07-17T13:19:48.000Z | 2020-07-17T13:19:48.000Z | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef vector<int> vi;
typedef vector< vi > vvi;
/////////////////////////
#define F first
#define S second
#define PB push_back
#define MP make_pair
#define loop(i,a,b) for (int i = a; i < b; i++)
//////////////////////////
#define prin... | 25.433962 | 79 | 0.540801 | [
"vector"
] |
33ec25dd89c291132a79fe4d65aa4a2c48d52e02 | 2,905 | cpp | C++ | src/Normalizer.cpp | BR903/percolator | 2d9315699cf3309421b83c4c21ce8275ede87089 | [
"Apache-2.0"
] | 71 | 2015-03-30T17:22:52.000Z | 2022-01-01T14:19:23.000Z | src/Normalizer.cpp | BR903/percolator | 2d9315699cf3309421b83c4c21ce8275ede87089 | [
"Apache-2.0"
] | 190 | 2015-01-27T16:18:58.000Z | 2022-03-31T16:49:58.000Z | src/Normalizer.cpp | BR903/percolator | 2d9315699cf3309421b83c4c21ce8275ede87089 | [
"Apache-2.0"
] | 45 | 2015-04-13T13:42:35.000Z | 2021-12-17T08:26:21.000Z | /*******************************************************************************
Copyright 2006-2012 Lukas Käll <lukas.kall@scilifelab.se>
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:... | 31.576087 | 89 | 0.64475 | [
"vector",
"transform"
] |
33ef98af4f58ecc54abb38f3695a34032642c136 | 6,229 | cpp | C++ | map/map_tests/gps_track_test.cpp | marceldallagnol/omim | 774de15a3b8c369acbf412f15a1db61717358262 | [
"Apache-2.0"
] | 2 | 2019-01-24T15:36:20.000Z | 2019-12-26T10:03:48.000Z | map/map_tests/gps_track_test.cpp | marceldallagnol/omim | 774de15a3b8c369acbf412f15a1db61717358262 | [
"Apache-2.0"
] | 13 | 2015-09-28T13:59:23.000Z | 2015-10-08T20:12:45.000Z | map/map_tests/gps_track_test.cpp | marceldallagnol/omim | 774de15a3b8c369acbf412f15a1db61717358262 | [
"Apache-2.0"
] | 1 | 2019-08-09T21:31:29.000Z | 2019-08-09T21:31:29.000Z | #include "testing/testing.hpp"
#include "map/gps_track.hpp"
#include "platform/platform.hpp"
#include "coding/file_name_utils.hpp"
#include "coding/file_writer.hpp"
#include "geometry/latlon.hpp"
#include "base/logging.hpp"
#include "base/scope_guard.hpp"
#include "std/bind.hpp"
#include "std/chrono.hpp"
namespa... | 31.145 | 88 | 0.707497 | [
"geometry",
"vector"
] |
33f20f13c64d2a0b92cd70b90dc8a6af30112348 | 682 | hpp | C++ | src/runtime/core_factory.hpp | GeniusVentures/SuperGenius | ae43304f4a2475498ef56c971296175acb88d0ee | [
"MIT"
] | 1 | 2021-07-10T21:25:03.000Z | 2021-07-10T21:25:03.000Z | src/runtime/core_factory.hpp | GeniusVentures/SuperGenius | ae43304f4a2475498ef56c971296175acb88d0ee | [
"MIT"
] | null | null | null | src/runtime/core_factory.hpp | GeniusVentures/SuperGenius | ae43304f4a2475498ef56c971296175acb88d0ee | [
"MIT"
] | null | null | null |
#ifndef SUPERGENIUS_SRC_RUNTIME_CORE_FACTORY
#define SUPERGENIUS_SRC_RUNTIME_CORE_FACTORY
#include "runtime/core.hpp"
namespace sgns::runtime {
namespace binaryen {
class RuntimeManager;
}
/**
* An abstract factory that enables construction of Core objects over specific
* WASM code
*/
class C... | 20.666667 | 80 | 0.705279 | [
"object"
] |
33f23153faa5b126f21796f9a41242a2bcb8877c | 29,409 | cpp | C++ | src/testrender/testrender.cpp | marsupial/OpenShadingLanguage | 62797a9032a73162a62e19d03261d7d8bd3a8ded | [
"BSD-3-Clause"
] | 2 | 2019-10-05T20:01:05.000Z | 2021-07-29T19:28:18.000Z | src/testrender/testrender.cpp | marsupial/OpenShadingLanguage | 62797a9032a73162a62e19d03261d7d8bd3a8ded | [
"BSD-3-Clause"
] | null | null | null | src/testrender/testrender.cpp | marsupial/OpenShadingLanguage | 62797a9032a73162a62e19d03261d7d8bd3a8ded | [
"BSD-3-Clause"
] | null | null | null | /*
Copyright (c) 2009-2010 Sony Pictures Imageworks Inc., et al.
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... | 41.362869 | 142 | 0.586385 | [
"mesh",
"geometry",
"render",
"object",
"vector"
] |
33f33c176eac069e311fc916bc9be3e315ea8c1b | 587 | cpp | C++ | openjudge/04/01/1999.cpp | TheBadZhang/OJ | b5407f2483aa630068343b412ecaf3a9e3303f7e | [
"Apache-2.0"
] | 1 | 2020-07-22T16:54:07.000Z | 2020-07-22T16:54:07.000Z | openjudge/04/01/1999.cpp | TheBadZhang/OJ | b5407f2483aa630068343b412ecaf3a9e3303f7e | [
"Apache-2.0"
] | 1 | 2018-05-12T12:53:06.000Z | 2018-05-12T12:53:06.000Z | openjudge/04/01/1999.cpp | TheBadZhang/OJ | b5407f2483aa630068343b412ecaf3a9e3303f7e | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include <vector>
#include <algorithm>
int main () {
struct LOG {
std::string s[4];
} t;
std::string f;
std::vector <LOG> log;
int d = 0;
while (std::cin >> f) {
t.s [d++] = f;
if (d % 4 == 0) log.push_back (t);
}
std::sort (log.begin (), lo... | 20.241379 | 75 | 0.422487 | [
"vector"
] |
33f605d893dfd1921852a7eb1572c1febc6beb64 | 2,610 | cpp | C++ | tests/cpp/test_runtime_thread_safety.cpp | p1x31/TRTorch | f99a6ca763eb08982e8b7172eb948a090bcbf11c | [
"BSD-3-Clause"
] | 944 | 2020-03-13T22:50:32.000Z | 2021-11-09T05:39:28.000Z | tests/cpp/test_runtime_thread_safety.cpp | p1x31/TRTorch | f99a6ca763eb08982e8b7172eb948a090bcbf11c | [
"BSD-3-Clause"
] | 434 | 2020-03-18T03:00:29.000Z | 2021-11-09T00:26:36.000Z | tests/cpp/test_runtime_thread_safety.cpp | p1x31/TRTorch | f99a6ca763eb08982e8b7172eb948a090bcbf11c | [
"BSD-3-Clause"
] | 106 | 2020-03-18T02:20:21.000Z | 2021-11-08T18:58:58.000Z | #include <string>
#include <thread>
#include "gtest/gtest.h"
#include "tests/util/util.h"
#include "torch/script.h"
#include "trtorch/trtorch.h"
void run_infer(
int thread_id,
torch::jit::Module& mod,
torch::jit::Module& trt_mod,
const std::vector<torch::jit::IValue> inputs,
const std::vector<torch... | 31.445783 | 103 | 0.631801 | [
"vector",
"model"
] |
33fb88ab231db08fdecb760ed2b9b1cb23125072 | 1,540 | hxx | C++ | Modules/Core/Common/include/otbCommandProgressUpdate.hxx | qingswu/otb | ed903b6a5e51a27a3d04786e4ad1637cf6b2772e | [
"Apache-2.0"
] | null | null | null | Modules/Core/Common/include/otbCommandProgressUpdate.hxx | qingswu/otb | ed903b6a5e51a27a3d04786e4ad1637cf6b2772e | [
"Apache-2.0"
] | null | null | null | Modules/Core/Common/include/otbCommandProgressUpdate.hxx | qingswu/otb | ed903b6a5e51a27a3d04786e4ad1637cf6b2772e | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2005-2019 Centre National d'Etudes Spatiales (CNES)
*
* This file is part of Orfeo Toolbox
*
* https://www.orfeo-toolbox.org/
*
* 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 ... | 24.0625 | 102 | 0.698052 | [
"object"
] |
33ffcd3f035112e20f7090750c1f26db925b1133 | 2,448 | cpp | C++ | examples/ble_nus/main.cpp | amoghaddassi/SimpleDBus | 4b6aca45ae4948b54337a386f3b5d57c51699684 | [
"MIT"
] | 5 | 2020-07-16T02:53:50.000Z | 2021-09-08T22:25:15.000Z | examples/ble_nus/main.cpp | amoghaddassi/SimpleDBus | 4b6aca45ae4948b54337a386f3b5d57c51699684 | [
"MIT"
] | 5 | 2021-01-03T18:07:47.000Z | 2021-02-04T06:37:42.000Z | examples/ble_nus/main.cpp | amoghaddassi/SimpleDBus | 4b6aca45ae4948b54337a386f3b5d57c51699684 | [
"MIT"
] | 3 | 2021-02-03T15:59:19.000Z | 2021-08-31T01:52:05.000Z | #include "bluezdbus/BluezService.h"
#include <stdlib.h>
#include <chrono>
#include <iomanip>
#include <iostream>
#include <thread>
BluezService bluez_service;
volatile bool async_thread_active = true;
void async_thread_function() {
while (async_thread_active) {
bluez_service.run_async();
std::thi... | 30.222222 | 100 | 0.620507 | [
"vector"
] |
33ffd4d47186dab8658a8661f1917fa2c5ce657d | 1,114 | cxx | C++ | src/GeomObject.cxx | fermi-lat/geometry | 71a08bdb0caf952566fed8d8aeb62bd264a4bab7 | [
"BSD-3-Clause"
] | null | null | null | src/GeomObject.cxx | fermi-lat/geometry | 71a08bdb0caf952566fed8d8aeb62bd264a4bab7 | [
"BSD-3-Clause"
] | null | null | null | src/GeomObject.cxx | fermi-lat/geometry | 71a08bdb0caf952566fed8d8aeb62bd264a4bab7 | [
"BSD-3-Clause"
] | null | null | null | // $Id: GeomObject.cxx,v 1.3 2002/10/24 16:50:11 kuss Exp $
//
//
#include "geometry/GeomObject.h"
#include "geometry/CoordTransform.h"
#include <typeinfo>
const char* GeomObject::nameOf()const
{
const std::type_info& t1 = typeid(*this);
return t1.name();
}
GeomObject&
GeomObject::move(const Vector& v)
{
return... | 18.881356 | 69 | 0.704668 | [
"geometry",
"vector",
"transform"
] |
d500273c56f928be0f6cb11a1bac8c79512bdfc9 | 4,679 | hpp | C++ | unimodularity-library-1.2c/src/gen_network.hpp | vios-fish/CompetitiveProgramming | 6953f024e4769791225c57ed852cb5efc03eb94b | [
"MIT"
] | 2 | 2016-07-05T21:14:40.000Z | 2020-03-08T01:33:12.000Z | src/gen_network.hpp | vbraun/unimodularity-library | d329571908a84ed98713721a2fe873ad534901c8 | [
"BSL-1.0"
] | null | null | null | src/gen_network.hpp | vbraun/unimodularity-library | d329571908a84ed98713721a2fe873ad534901c8 | [
"BSL-1.0"
] | null | null | null | /**
* Copyright Matthias Walter 2010.
* 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)
**/
#ifndef GEN_NETWORK_HPP_
#define GEN_NETWORK_HPP_
#include "gen_generic.hpp"
#include "matrix.hpp... | 30.383117 | 134 | 0.679419 | [
"vector"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.