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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3e44eb4db7fccd753548c8b070bc1e70816e9f87 | 2,359 | hpp | C++ | liero/ai/work_queue.hpp | lauri-kaariainen/emscripten_openliero | ab3268237c7084e00f3bccb4442f0ad7762d8419 | [
"BSD-2-Clause"
] | null | null | null | liero/ai/work_queue.hpp | lauri-kaariainen/emscripten_openliero | ab3268237c7084e00f3bccb4442f0ad7762d8419 | [
"BSD-2-Clause"
] | 2 | 2015-02-11T09:43:33.000Z | 2015-02-11T17:57:58.000Z | liero/ai/work_queue.hpp | lauri-kaariainen/emscripten_openliero | ab3268237c7084e00f3bccb4442f0ad7762d8419 | [
"BSD-2-Clause"
] | null | null | null | #ifndef LIERO_WORK_QUEUE_HPP
#define LIERO_WORK_QUEUE_HPP
#include <SDL/SDL.h>
#include <vector>
#include "tl/memory.h"
#include <memory>
struct LockMutex
{
LockMutex(SDL_mutex* m)
: m(m)
{
SDL_LockMutex(m);
}
~LockMutex()
{
SDL_UnlockMutex(m);
}
SDL_mutex* m;
};
struct Work
{
... | 14.561728 | 53 | 0.600678 | [
"vector"
] |
3e47fdd538b148c7c314a861f87dd937239a8c00 | 1,191 | cpp | C++ | Problem1-50/p19_1.cpp | dingqunfei/LeetCode | c74a21ea56ee7b35308d2f387ef24ab29b031e24 | [
"Apache-2.0"
] | null | null | null | Problem1-50/p19_1.cpp | dingqunfei/LeetCode | c74a21ea56ee7b35308d2f387ef24ab29b031e24 | [
"Apache-2.0"
] | null | null | null | Problem1-50/p19_1.cpp | dingqunfei/LeetCode | c74a21ea56ee7b35308d2f387ef24ab29b031e24 | [
"Apache-2.0"
] | null | null | null | /**
* @file p19_1.cpp
* @brief
* @author dingqunfei (dqflying@gmail.com)
* @version 1.0
* @date 2021-08-26
*
* @copyright Copyright (c) 2021 DQFLYING
*
* @par :
*
*
* Date : 2021-08-26
* Version : 1.0
* Author : dqflying
* Lisence :
* Description :
*
*
*
*
*/
/**
*... | 19.85 | 62 | 0.482788 | [
"vector"
] |
3e4ab340375c957d5cc3224fdfb3c25a9af11409 | 8,061 | cpp | C++ | src/main.cpp | mmfarrington/pizza_shop | 470404540d8355e99800e5070eb4f4600ddae07b | [
"MIT"
] | null | null | null | src/main.cpp | mmfarrington/pizza_shop | 470404540d8355e99800e5070eb4f4600ddae07b | [
"MIT"
] | null | null | null | src/main.cpp | mmfarrington/pizza_shop | 470404540d8355e99800e5070eb4f4600ddae07b | [
"MIT"
] | null | null | null | /* main.cpp
* Miriam Farrington
* CIS 554-M401 Object Oriented Programming in C++
* Syracuse University
* Final Project Submission: Pizza Shop App
* 3/15/2020
*
* This program implements a basic online ordering system for a small Pizza Shop.
* The app allows the user to select items from a menu, create an order... | 35.355263 | 114 | 0.561965 | [
"object"
] |
3e4f224f4847df2d0c88e9f86735060f159cec20 | 18,539 | cpp | C++ | src/rest/resource.cpp | rednodelabs/ot-br-posix | 512ab0ebd379c06c7d1dc45668fbc341a742ea39 | [
"BSD-3-Clause"
] | 82 | 2016-06-29T17:24:43.000Z | 2021-04-16T06:49:17.000Z | src/rest/resource.cpp | rednodelabs/ot-br-posix | 512ab0ebd379c06c7d1dc45668fbc341a742ea39 | [
"BSD-3-Clause"
] | 202 | 2021-04-16T08:05:06.000Z | 2022-03-31T11:20:44.000Z | src/rest/resource.cpp | rednodelabs/ot-br-posix | 512ab0ebd379c06c7d1dc45668fbc341a742ea39 | [
"BSD-3-Clause"
] | 56 | 2016-08-02T10:50:50.000Z | 2021-07-19T08:57:34.000Z | /*
* Copyright (c) 2020, The OpenThread Authors.
* 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 ... | 31.315878 | 118 | 0.695075 | [
"vector"
] |
3e542df6a8ebbcc84780fa14cb9698faa8023785 | 100,943 | cc | C++ | chrome/credential_provider/gaiacp/gaia_credential_base.cc | DamieFC/chromium | 54ce2d3c77723697efd22cfdb02aea38f9dfa25c | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2020-10-18T02:33:40.000Z | 2020-10-18T02:33:40.000Z | chrome/credential_provider/gaiacp/gaia_credential_base.cc | DamieFC/chromium | 54ce2d3c77723697efd22cfdb02aea38f9dfa25c | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 3 | 2021-05-17T16:28:52.000Z | 2021-05-21T22:42:22.000Z | chrome/credential_provider/gaiacp/gaia_credential_base.cc | DamieFC/chromium | 54ce2d3c77723697efd22cfdb02aea38f9dfa25c | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2018 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.
// Implementation of CGaiaCredentialBase class, used as the base for all
// credentials that need to show the gaia sign in page.
#include "chrome/credent... | 37.483476 | 96 | 0.679482 | [
"object",
"vector",
"transform"
] |
3e5513df688a52f1325964c78115560423bcc51b | 2,453 | cpp | C++ | UVa 12870 - Fishing/sample/12870 - Fishing.cpp | tadvi/uva | 0ac0cbdf593879b4fb02a3efc09adbb031cb47d5 | [
"MIT"
] | 1 | 2020-11-24T03:17:21.000Z | 2020-11-24T03:17:21.000Z | UVa 12870 - Fishing/sample/12870 - Fishing.cpp | tadvi/uva | 0ac0cbdf593879b4fb02a3efc09adbb031cb47d5 | [
"MIT"
] | null | null | null | UVa 12870 - Fishing/sample/12870 - Fishing.cpp | tadvi/uva | 0ac0cbdf593879b4fb02a3efc09adbb031cb47d5 | [
"MIT"
] | 1 | 2021-04-11T16:22:31.000Z | 2021-04-11T16:22:31.000Z | #include <stdio.h>
#include <math.h>
#include <algorithm>
#include <set>
#include <queue>
#include <vector>
using namespace std;
#define MAXN 128
int dp[MAXN][MAXN][MAXN];
int dp2[MAXN][MAXN][MAXN];
int main() {
int testcase;
int n, m, A[128][128];
scanf("%d", &testcase);
while (testcase--) {
sc... | 27.255556 | 102 | 0.337138 | [
"vector"
] |
3e59c0b604a8fcc3deaac8f96f601a469b40606a | 12,835 | cpp | C++ | src/armnn/test/TensorHandleStrategyTest.cpp | korabelnikov/armnn | 8c3259fa007d43fcc5ea56fe6928526dbe79f3c0 | [
"MIT"
] | null | null | null | src/armnn/test/TensorHandleStrategyTest.cpp | korabelnikov/armnn | 8c3259fa007d43fcc5ea56fe6928526dbe79f3c0 | [
"MIT"
] | null | null | null | src/armnn/test/TensorHandleStrategyTest.cpp | korabelnikov/armnn | 8c3259fa007d43fcc5ea56fe6928526dbe79f3c0 | [
"MIT"
] | null | null | null | //
// Copyright © 2017 Arm Ltd. All rights reserved.
// SPDX-License-Identifier: MIT
//
#include <boost/test/unit_test.hpp>
#include <armnn/LayerVisitorBase.hpp>
#include <armnn/backends/IBackendContext.hpp>
#include <armnn/backends/IBackendInternal.hpp>
#include <armnn/backends/IMemoryManager.hpp>
#include <armnn/ba... | 32.742347 | 116 | 0.703857 | [
"vector"
] |
3e59cb21e8fe5bfeaa2af3cc38fe9e7bd8f33e6f | 1,205 | cpp | C++ | mr.Sadman/Classes/GameAct/Objects/Physical/Bullets.cpp | 1pkg/dump | 0ee579cb6a97ae64d5367cc624b2407d7d4b1c7b | [
"MIT"
] | null | null | null | mr.Sadman/Classes/GameAct/Objects/Physical/Bullets.cpp | 1pkg/dump | 0ee579cb6a97ae64d5367cc624b2407d7d4b1c7b | [
"MIT"
] | 3 | 2020-12-11T10:01:27.000Z | 2022-02-13T22:12:05.000Z | mr.Sadman/Classes/GameAct/Objects/Physical/Bullets.cpp | 1pkg/dump | 0ee579cb6a97ae64d5367cc624b2407d7d4b1c7b | [
"MIT"
] | null | null | null | #include "Bullets.hpp"
#include "Resources/Cache/Cache.hpp"
namespace GameAct
{
namespace Physical
{
void
Bullets::initialize()
{
Stream::initialize();
_particle->setTexture( Resources::Cache::getInstance().getObjectRepresentation( getName() )->getTexture() );
_particle->setStartColor( cocos2d::Co... | 21.140351 | 110 | 0.66888 | [
"object"
] |
3e5c4e16f80262dbf8990fe395951644679c23b9 | 1,814 | cpp | C++ | Chapter11/chapter11ca_02/main.cpp | markccchiang/Modern-Cpp-Programming-Cookbook | 42ba3c9ca1e0d897807f1c3baa5dddb0ee064f23 | [
"MIT"
] | null | null | null | Chapter11/chapter11ca_02/main.cpp | markccchiang/Modern-Cpp-Programming-Cookbook | 42ba3c9ca1e0d897807f1c3baa5dddb0ee064f23 | [
"MIT"
] | null | null | null | Chapter11/chapter11ca_02/main.cpp | markccchiang/Modern-Cpp-Programming-Cookbook | 42ba3c9ca1e0d897807f1c3baa5dddb0ee064f23 | [
"MIT"
] | null | null | null | #define CATCH_CONFIG_MAIN
#include <catch2/catch.hpp>
#include "../testlib/point3d.h"
TEST_CASE("test construction", "[create]") {
SECTION("test constructor") {
auto p = point3d{1, 2, 3};
REQUIRE(p.x() == 1);
REQUIRE(p.y() == 2);
REQUIRE(p.z() == 4);
}
SECTION("test origin"... | 23.868421 | 57 | 0.450386 | [
"object"
] |
3e69f859e9351c30b50a259e73b59f8531ba0423 | 1,005 | hpp | C++ | kinect/gesturenet.hpp | mik90/kinect-time | 6777350f3744724877a6006c39eb7e06f0925889 | [
"MIT"
] | null | null | null | kinect/gesturenet.hpp | mik90/kinect-time | 6777350f3744724877a6006c39eb7e06f0925889 | [
"MIT"
] | null | null | null | kinect/gesturenet.hpp | mik90/kinect-time | 6777350f3744724877a6006c39eb7e06f0925889 | [
"MIT"
] | null | null | null | #pragma once
#include <cstddef>
#include <cstdint>
#include <filesystem>
#include <future>
#include <optional>
#include <queue>
#include <thread>
namespace mik {
struct GestureNetPixel {
std::uint8_t red;
std::uint8_t green;
std::uint8_t blue;
std::array<std::uint8_t, 3> to_bytes() const { return {red... | 28.714286 | 84 | 0.700498 | [
"vector"
] |
3e6bc9d851e71f3856df99dd1765415341207e5f | 13,854 | cpp | C++ | nesSwift/nes/src/ppu.cpp | Kautenja/nes-iOS | 9255e2d8d86cbaecd1ff186387ce20f83b37a0d9 | [
"MIT"
] | 3 | 2021-03-05T17:50:37.000Z | 2021-12-25T08:30:12.000Z | nes_py/nes/src/ppu.cpp | fo40225/nes-py | a113885198d418f38fcf24b8f79ac508975788c2 | [
"MIT"
] | 2 | 2019-07-06T02:07:48.000Z | 2021-05-21T03:01:55.000Z | nes_py/nes/src/ppu.cpp | fo40225/nes-py | a113885198d418f38fcf24b8f79ac508975788c2 | [
"MIT"
] | null | null | null | // Program: nes-py
// File: ppu.cpp
// Description: This class houses the logic and data for the PPU of an NES
//
// Copyright (c) 2019 Christian Kauten. All rights reserved.
//
#include "ppu.hpp"
#include "palette.hpp"
#include "log.hpp"
#include <cstring>
void PPU::reset() {
is_long_sprites = ... | 39.925072 | 122 | 0.475314 | [
"render"
] |
3e75910326a5e1faec5d760621556da229f062b2 | 3,954 | hpp | C++ | modules/models/dynamic/single_track.hpp | ChenyangTang1/bark | c4215be6464c249639b8c7b390684bd13100b41e | [
"MIT"
] | null | null | null | modules/models/dynamic/single_track.hpp | ChenyangTang1/bark | c4215be6464c249639b8c7b390684bd13100b41e | [
"MIT"
] | null | null | null | modules/models/dynamic/single_track.hpp | ChenyangTang1/bark | c4215be6464c249639b8c7b390684bd13100b41e | [
"MIT"
] | null | null | null | // Copyright (c) 2019 fortiss GmbH, Julian Bernhard, Klemens Esterle, Patrick
// Hart, Tobias Kessler
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#ifndef MODULES_MODELS_DYNAMIC_SINGLE_TRACK_HPP_
#define MODULES_MODELS_DYNAMIC_SINGLE_TRACK_HP... | 36.953271 | 79 | 0.69221 | [
"geometry",
"model"
] |
3e7da724cd5f73ab8088b9c36e03d1a7a62942ac | 26,718 | cc | C++ | src/ui/bin/root_presenter/presentation.cc | zarelaky/fuchsia | 858cc1914de722b13afc2aaaee8a6bd491cd8d9a | [
"BSD-3-Clause"
] | null | null | null | src/ui/bin/root_presenter/presentation.cc | zarelaky/fuchsia | 858cc1914de722b13afc2aaaee8a6bd491cd8d9a | [
"BSD-3-Clause"
] | null | null | null | src/ui/bin/root_presenter/presentation.cc | zarelaky/fuchsia | 858cc1914de722b13afc2aaaee8a6bd491cd8d9a | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2015 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/ui/bin/root_presenter/presentation.h"
#include <lib/fostr/fidl/fuchsia/ui/input/formatting.h>
#include <cmath>
#include <utility>
#include... | 38.777939 | 100 | 0.702523 | [
"render",
"shape",
"vector",
"model",
"transform"
] |
3e7ed01a59cda1768098d05ab8c7db80376fa25a | 668 | cpp | C++ | load_fasta.cpp | KHanghoj/dammet | b57d1baf6fab46b6c5dab835b99cddbe455e573c | [
"MIT"
] | 1 | 2021-06-25T02:46:49.000Z | 2021-06-25T02:46:49.000Z | load_fasta.cpp | KHanghoj/dammet | b57d1baf6fab46b6c5dab835b99cddbe455e573c | [
"MIT"
] | 2 | 2020-06-26T15:26:16.000Z | 2021-03-09T21:14:06.000Z | load_fasta.cpp | KHanghoj/dammet | b57d1baf6fab46b6c5dab835b99cddbe455e573c | [
"MIT"
] | 1 | 2020-11-15T18:01:55.000Z | 2020-11-15T18:01:55.000Z | #include <iostream> // stdout/stdin/stderr
#include <string>
#include <vector>
#include <sstream> //stringstream
#include <fstream> // open file
#include "load_fasta.hpp"
faidx_t * ref_init(std::string & filename){
faidx_t * fai = fai_load(filename.c_str());
if ( !fai ) {
std::cerr << "Could not load fai in... | 23.034483 | 69 | 0.627246 | [
"vector"
] |
3e889a03eff0bc43bca1f92e33354a305490be4b | 122,047 | cpp | C++ | orca/gporca/server/src/unittest/dxl/statistics/CStatisticsTest.cpp | vitessedata/gpdb.4.3.99.x | 9462aad5df1bf120a2a87456b1f9574712227da4 | [
"PostgreSQL",
"Apache-2.0"
] | 3 | 2017-12-10T16:41:21.000Z | 2020-07-08T12:59:12.000Z | orca/gporca/server/src/unittest/dxl/statistics/CStatisticsTest.cpp | vitessedata/gpdb.4.3.99.x | 9462aad5df1bf120a2a87456b1f9574712227da4 | [
"PostgreSQL",
"Apache-2.0"
] | null | null | null | orca/gporca/server/src/unittest/dxl/statistics/CStatisticsTest.cpp | vitessedata/gpdb.4.3.99.x | 9462aad5df1bf120a2a87456b1f9574712227da4 | [
"PostgreSQL",
"Apache-2.0"
] | 4 | 2017-12-10T16:41:35.000Z | 2020-11-28T12:20:30.000Z | //---------------------------------------------------------------------------
// Greenplum Database
// Copyright (C) 2011 EMC Corp.
//
// @filename:
// CStatisticsTest.cpp
//
// @doc:
// Tests for CPoint
//
// @owner:
//
//
// @test:
//
//
//--------------------------------------------------------------------------... | 32.50253 | 168 | 0.6507 | [
"object"
] |
3e88dcfa51405f76cad9f4352a061dcc4022065e | 38,026 | cpp | C++ | src/io/variant/htslib_bcf_facade.cpp | gmagoon/octopus | 493643d8503239aead9c7e8a7f8bc19fb97b37d5 | [
"MIT"
] | null | null | null | src/io/variant/htslib_bcf_facade.cpp | gmagoon/octopus | 493643d8503239aead9c7e8a7f8bc19fb97b37d5 | [
"MIT"
] | null | null | null | src/io/variant/htslib_bcf_facade.cpp | gmagoon/octopus | 493643d8503239aead9c7e8a7f8bc19fb97b37d5 | [
"MIT"
] | null | null | null | // Copyright (c) 2015-2018 Daniel Cooke
// Use of this source code is governed by the MIT license that can be found in the LICENSE file.
#include "htslib_bcf_facade.hpp"
#include <vector>
#include <array>
#include <unordered_map>
#include <stdexcept>
#include <algorithm>
#include <utility>
#include <cstdlib>
#include... | 39.081192 | 133 | 0.601536 | [
"vector",
"transform"
] |
3e8b5f43435c8ab45b2c72d301bba3b00c128f40 | 9,730 | cpp | C++ | src/Convert-harmony.cpp | johnnymac647/humlib | c67954045fb5570915d6a1c75d9a1e36cc9bdf93 | [
"BSD-2-Clause"
] | 19 | 2016-06-18T02:03:56.000Z | 2022-02-23T17:26:32.000Z | src/Convert-harmony.cpp | johnnymac647/humlib | c67954045fb5570915d6a1c75d9a1e36cc9bdf93 | [
"BSD-2-Clause"
] | 43 | 2017-03-09T07:32:12.000Z | 2022-03-23T20:18:35.000Z | src/Convert-harmony.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: Mon Aug 7 20:37:16 EDT 2017
// Last Modified: Mon Aug 7 20:37:19 EDT 2017
// Filename: Convert-harmony.cpp
// URL: https://github.com/craigsapp/humlib/blob/master/src/Convert-harmony.cpp
// Syntax: C++11; humlib
... | 22.680653 | 89 | 0.58335 | [
"vector"
] |
3e8cf9fd9f23e3441caed509ab643e805773df18 | 9,869 | cpp | C++ | lldb/source/Plugins/Process/NetBSD/NativeThreadNetBSD.cpp | LaudateCorpus1/llvm-project | ff2e0f0c1112558b3f30d8afec7c9882c33c79e3 | [
"Apache-2.0"
] | null | null | null | lldb/source/Plugins/Process/NetBSD/NativeThreadNetBSD.cpp | LaudateCorpus1/llvm-project | ff2e0f0c1112558b3f30d8afec7c9882c33c79e3 | [
"Apache-2.0"
] | null | null | null | lldb/source/Plugins/Process/NetBSD/NativeThreadNetBSD.cpp | LaudateCorpus1/llvm-project | ff2e0f0c1112558b3f30d8afec7c9882c33c79e3 | [
"Apache-2.0"
] | null | null | null | //===-- NativeThreadNetBSD.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
//
//===---------------------------... | 30.088415 | 100 | 0.679907 | [
"vector"
] |
3e8fb902a3eed61ea19d970e66cf6d87041f4081 | 1,934 | cpp | C++ | src/utils.cpp | mediathekview/simple-redirect-loadbalancer | 46302d510c3c2580783d6682a7ff6f783e79f1ce | [
"MIT"
] | null | null | null | src/utils.cpp | mediathekview/simple-redirect-loadbalancer | 46302d510c3c2580783d6682a7ff6f783e79f1ce | [
"MIT"
] | null | null | null | src/utils.cpp | mediathekview/simple-redirect-loadbalancer | 46302d510c3c2580783d6682a7ff6f783e79f1ce | [
"MIT"
] | 1 | 2019-01-31T17:43:19.000Z | 2019-01-31T17:43:19.000Z | //
// Created by Christian Franzke on 2019-01-29.
//
#include "utils.h"
#include <syslog.h>
#include <iostream>
#include <vector>
#include <boost/format.hpp>
#include <boost/algorithm/string.hpp>
using namespace boost::algorithm;
/**
* Thread pool used for keeping syslog off the main exec thread.
*/
static boost:... | 23.876543 | 84 | 0.572906 | [
"vector"
] |
3e94b3f2db9259f67fc789d11b23cb739d414a52 | 4,095 | cpp | C++ | aws-cpp-sdk-route53/source/model/GeoLocationDetails.cpp | bswhite1/aws-sdk-cpp | a050168cf8f7f6ea920d52894eaad186953cb27b | [
"Apache-2.0"
] | null | null | null | aws-cpp-sdk-route53/source/model/GeoLocationDetails.cpp | bswhite1/aws-sdk-cpp | a050168cf8f7f6ea920d52894eaad186953cb27b | [
"Apache-2.0"
] | null | null | null | aws-cpp-sdk-route53/source/model/GeoLocationDetails.cpp | bswhite1/aws-sdk-cpp | a050168cf8f7f6ea920d52894eaad186953cb27b | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | 28.241379 | 82 | 0.747009 | [
"model"
] |
3e96c5128d764468a2c40b4199d46c5068a79b7f | 7,607 | cpp | C++ | yunjing/src/v20180228/model/HistoryAccount.cpp | li5ch/tencentcloud-sdk-cpp | 12ebfd75a399ee2791f6ac1220a79ce8a9faf7c4 | [
"Apache-2.0"
] | null | null | null | yunjing/src/v20180228/model/HistoryAccount.cpp | li5ch/tencentcloud-sdk-cpp | 12ebfd75a399ee2791f6ac1220a79ce8a9faf7c4 | [
"Apache-2.0"
] | null | null | null | yunjing/src/v20180228/model/HistoryAccount.cpp | li5ch/tencentcloud-sdk-cpp | 12ebfd75a399ee2791f6ac1220a79ce8a9faf7c4 | [
"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
... | 26.413194 | 138 | 0.67359 | [
"model"
] |
3e99ad783ee285a6ccda167f5c50d7ef1d8d96df | 2,285 | cpp | C++ | source/mfs-painters/multiframepainter/KernelGenerationStage.cpp | karyon/many-lights-gi | 253b6a708b394f1a0f7c362cfc7ac039a84584e5 | [
"MIT"
] | 9 | 2017-03-21T17:28:52.000Z | 2021-09-26T14:39:32.000Z | source/mfs-painters/multiframepainter/KernelGenerationStage.cpp | karyon/many-lights-gi | 253b6a708b394f1a0f7c362cfc7ac039a84584e5 | [
"MIT"
] | 1 | 2017-05-01T06:57:01.000Z | 2017-05-01T06:57:01.000Z | source/mfs-painters/multiframepainter/KernelGenerationStage.cpp | karyon/many-lights-gi | 253b6a708b394f1a0f7c362cfc7ac039a84584e5 | [
"MIT"
] | 2 | 2018-08-07T10:47:40.000Z | 2018-11-09T16:07:58.000Z | #include "KernelGenerationStage.h"
#include <glm/gtc/random.hpp>
#include <glkernel/Kernel.h>
#include <glkernel/sample.h>
#include <glkernel/scale.h>
#include <glkernel/sort.hpp>
#include <glkernel/shuffle.hpp>
KernelGenerationStage::KernelGenerationStage()
{
}
void KernelGenerationStage::initialize()
{
}
void K... | 28.5625 | 89 | 0.651204 | [
"vector"
] |
3ea198ce499f9b8a51aea2ebff527eca4fded0c5 | 4,275 | cpp | C++ | operator/operator/stridedslice.cpp | wangshankun/Tengine_Atlas | b5485039e72b4a624c795ff95d73eb6d719c7706 | [
"Apache-2.0"
] | 25 | 2018-12-09T09:31:56.000Z | 2021-08-12T10:32:19.000Z | operator/operator/stridedslice.cpp | wangshankun/Tengine_Atlas | b5485039e72b4a624c795ff95d73eb6d719c7706 | [
"Apache-2.0"
] | 1 | 2022-03-31T03:33:42.000Z | 2022-03-31T03:33:42.000Z | operator/operator/stridedslice.cpp | wangshankun/Tengine_Atlas | b5485039e72b4a624c795ff95d73eb6d719c7706 | [
"Apache-2.0"
] | 6 | 2018-12-16T01:18:42.000Z | 2019-09-18T07:29:56.000Z | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* License); you ma... | 36.228814 | 123 | 0.616842 | [
"shape",
"vector"
] |
3ea7568a843d61b67880d7bb2aea6fe1dcae0554 | 13,477 | cc | C++ | test/benchmark/registration-benchmark.cc | plusk01/TEASER-plusplus | 0d497521d261b3fa35c4ca29eb86ba7cf9558f9f | [
"MIT"
] | 962 | 2020-01-21T19:08:54.000Z | 2022-03-31T17:28:49.000Z | test/benchmark/registration-benchmark.cc | plusk01/TEASER-plusplus | 0d497521d261b3fa35c4ca29eb86ba7cf9558f9f | [
"MIT"
] | 105 | 2020-01-24T15:11:10.000Z | 2022-03-22T02:28:52.000Z | test/benchmark/registration-benchmark.cc | plusk01/TEASER-plusplus | 0d497521d261b3fa35c4ca29eb86ba7cf9558f9f | [
"MIT"
] | 234 | 2020-01-21T12:28:31.000Z | 2022-03-30T08:41:31.000Z | /**
* Copyright 2020, Massachusetts Institute of Technology,
* Cambridge, MA 02139
* All Rights Reserved
* Authors: Jingnan Shi, et al. (see THANKS for the full author list)
* See LICENSE for the license information
*/
#include "gtest/gtest.h"
#include <iostream>
#include <fstream>
#include <iomanip>
#include <... | 35.938667 | 99 | 0.673147 | [
"object",
"model"
] |
3eb38bc66912e5565af7e5e638c3ad29c56a2219 | 25,036 | cpp | C++ | ares/component/processor/m68000/disassembler.cpp | CasualPokePlayer/ares | 58690cd5fc7bb6566c22935c5b80504a158cca29 | [
"BSD-3-Clause"
] | 153 | 2020-07-25T17:55:29.000Z | 2021-10-01T23:45:01.000Z | ares/component/processor/m68000/disassembler.cpp | CasualPokePlayer/ares | 58690cd5fc7bb6566c22935c5b80504a158cca29 | [
"BSD-3-Clause"
] | 245 | 2021-10-08T09:14:46.000Z | 2022-03-31T08:53:13.000Z | ares/component/processor/m68000/disassembler.cpp | CasualPokePlayer/ares | 58690cd5fc7bb6566c22935c5b80504a158cca29 | [
"BSD-3-Clause"
] | 44 | 2020-07-25T08:51:55.000Z | 2021-09-25T16:09:01.000Z | template<> auto M68000::_read<Byte>(n32 address) -> n32 {
if(address & 1) {
return read(0, 1, address & ~1).byte(0);
} else {
return read(1, 0, address & ~1).byte(1);
}
}
template<> auto M68000::_read<Word>(n32 address) -> n32 {
return read(1, 1, address & ~1);
}
template<> auto M68000::_read<Long>(n3... | 38.755418 | 136 | 0.65254 | [
"vector"
] |
3eb4f548708cc86a50f7f7b108f086d0aca422e8 | 3,974 | cpp | C++ | Plugins/org.mitk.gui.qt.coreapplication/src/internal/QmitkWorkbenchWindowAdvisor.cpp | liu3xing3long/MITK-2016.11 | 385c506f9792414f40337e106e13d5fd61aa3ccc | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | Plugins/org.mitk.gui.qt.coreapplication/src/internal/QmitkWorkbenchWindowAdvisor.cpp | liu3xing3long/MITK-2016.11 | 385c506f9792414f40337e106e13d5fd61aa3ccc | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | Plugins/org.mitk.gui.qt.coreapplication/src/internal/QmitkWorkbenchWindowAdvisor.cpp | liu3xing3long/MITK-2016.11 | 385c506f9792414f40337e106e13d5fd61aa3ccc | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | /*===================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics.
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the implied w... | 33.116667 | 112 | 0.717916 | [
"vector"
] |
3ec07221f48ddf9bbf55becdae7a0dcd3f0cb6f9 | 8,519 | cpp | C++ | main/nvs_interface.cpp | mill1000/esp-pwm-timer | 21395ac64876fd1d1a1788bded7b46f99c543787 | [
"MIT"
] | 1 | 2021-08-09T23:48:00.000Z | 2021-08-09T23:48:00.000Z | main/nvs_interface.cpp | mill1000/esp-pwm-timer | 21395ac64876fd1d1a1788bded7b46f99c543787 | [
"MIT"
] | 20 | 2020-06-30T04:11:53.000Z | 2021-02-06T18:26:11.000Z | main/nvs_interface.cpp | mill1000/esp-pwm-timer | 21395ac64876fd1d1a1788bded7b46f99c543787 | [
"MIT"
] | 1 | 2021-06-22T00:40:54.000Z | 2021-06-22T00:40:54.000Z | #include "nvs_flash.h"
#include "esp_log.h"
#include <string>
#include <vector>
#include "nvs_interface.h"
#include "nvs_parameters.h"
#define TAG "NVS"
static NvsHelper parameters(NVS::PARAMETER_NAMESPACE);
static NvsHelper schedule(NVS::SCHEDULE_NAMESPACE);
/**
@brief Callback function for the NVS helper to r... | 22.839142 | 135 | 0.6921 | [
"object",
"vector"
] |
3ec1e64b6a6ca9a554cf79146c948b85ba9a2dae | 8,966 | cc | C++ | Firestore/core/test/firebase/firestore/immutable/array_sorted_map_test.cc | trondkr/firebase-sdk-ios | 6889850b251ab56186bc13765baee0c3d0f1ae61 | [
"Apache-2.0"
] | 3 | 2018-07-16T06:35:13.000Z | 2021-04-19T07:18:56.000Z | Firestore/core/test/firebase/firestore/immutable/array_sorted_map_test.cc | trondkr/firebase-sdk-ios | 6889850b251ab56186bc13765baee0c3d0f1ae61 | [
"Apache-2.0"
] | null | null | null | Firestore/core/test/firebase/firestore/immutable/array_sorted_map_test.cc | trondkr/firebase-sdk-ios | 6889850b251ab56186bc13765baee0c3d0f1ae61 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2018 Google
*
* 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... | 27.41896 | 80 | 0.648227 | [
"vector"
] |
a7939da47fc212ff3d1743885a839a5b134460ce | 14,795 | cpp | C++ | lib/seldon/lib/Compil/Seldon/IterativeSolver.cpp | HongyuHe/lsolver | c791bf192308ba6b564cb60cb3991d2e72093cd7 | [
"Apache-2.0"
] | 7 | 2021-01-31T23:20:07.000Z | 2021-09-09T20:54:15.000Z | lib/seldon/lib/Compil/Seldon/IterativeSolver.cpp | HongyuHe/lsolver | c791bf192308ba6b564cb60cb3991d2e72093cd7 | [
"Apache-2.0"
] | 1 | 2021-06-07T07:52:38.000Z | 2021-08-13T20:40:55.000Z | lib/seldon/lib/Compil/Seldon/IterativeSolver.cpp | HongyuHe/lsolver | c791bf192308ba6b564cb60cb3991d2e72093cd7 | [
"Apache-2.0"
] | null | null | null | #include "SeldonFlag.hxx"
#include "SeldonSolverHeader.hxx"
#include "SeldonSolverInline.hxx"
#ifdef SELDON_WITH_MPI
#include "SeldonDistributedHeader.hxx"
#include "SeldonDistributedInline.hxx"
#endif
#ifndef SELDON_WITH_COMPILED_LIBRARY
#include "computation/solver/iterative/Iterative.cxx"
#include "computation/so... | 59.417671 | 182 | 0.768503 | [
"vector"
] |
a794d09f809dcce113f66bc682eedf5edad40024 | 3,751 | cpp | C++ | hands-on/memory/grouping.cpp | Hiigaran/esc21 | d0d7f0fa7079edc124821e96ef677cda2a2235a1 | [
"CC-BY-4.0"
] | 1 | 2021-11-05T14:44:55.000Z | 2021-11-05T14:44:55.000Z | hands-on/memory/grouping.cpp | Hiigaran/esc21 | d0d7f0fa7079edc124821e96ef677cda2a2235a1 | [
"CC-BY-4.0"
] | null | null | null | hands-on/memory/grouping.cpp | Hiigaran/esc21 | d0d7f0fa7079edc124821e96ef677cda2a2235a1 | [
"CC-BY-4.0"
] | null | null | null | //
// c++ -O2 grouping.cpp memory_usage.cc /usr/local/Cellar/jemalloc/5.1.0/lib/libjemalloc.dylib
//
#include<random>
#include<vector>
#include<cstdint>
#include<algorithm>
#include<iostream>
#include<cassert>
#include<chrono>
#include "memory_usage.h"
auto start = std::chrono::high_resolution_clock::now();
uint64... | 24.2 | 123 | 0.645428 | [
"vector"
] |
a79be2bfc9b1d9b5754752b07f5fa19fe187f577 | 4,454 | cpp | C++ | sp/src/game/server/mapbase/point_copy_size.cpp | Nbc66/source-sdk-2013 | cda054fcfe661c6166191b30d7b1d6fd29873d39 | [
"Unlicense"
] | 2 | 2020-05-16T22:32:32.000Z | 2020-05-17T00:04:38.000Z | sp/src/game/server/mapbase/point_copy_size.cpp | Nbc66/source-sdk-2013 | cda054fcfe661c6166191b30d7b1d6fd29873d39 | [
"Unlicense"
] | null | null | null | sp/src/game/server/mapbase/point_copy_size.cpp | Nbc66/source-sdk-2013 | cda054fcfe661c6166191b30d7b1d6fd29873d39 | [
"Unlicense"
] | null | null | null | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: Copies size.
//
//=============================================================================
#include "cbase.h"
//-----------------------------------------------------------------------------
// Purpose:
//---------------... | 30.930556 | 133 | 0.599686 | [
"vector"
] |
a79c8a36752f7a541b2ce3a06f5b26373ceb6886 | 18,436 | cpp | C++ | aten/src/ATen/native/mkl/SpectralOps.cpp | mleshen/pytorch | 314a578154d9f0981bc08397aaaeaf50d8233730 | [
"Intel"
] | 1 | 2021-05-11T11:53:47.000Z | 2021-05-11T11:53:47.000Z | aten/src/ATen/native/mkl/SpectralOps.cpp | mleshen/pytorch | 314a578154d9f0981bc08397aaaeaf50d8233730 | [
"Intel"
] | 1 | 2021-05-10T01:18:33.000Z | 2021-05-10T01:18:33.000Z | aten/src/ATen/native/mkl/SpectralOps.cpp | mleshen/pytorch | 314a578154d9f0981bc08397aaaeaf50d8233730 | [
"Intel"
] | 1 | 2021-08-06T22:50:37.000Z | 2021-08-06T22:50:37.000Z | #include <ATen/ATen.h>
#include <ATen/Config.h>
#include <ATen/native/Resize.h>
#include <ATen/native/SpectralOpsUtils.h>
#include <ATen/NativeFunctions.h>
#include <c10/util/accumulate.h>
#if !AT_MKL_ENABLED()
namespace at { namespace native {
// NOLINTNEXTLINE(cppcoreguidelines-avoid-non-const-global-variables)
RE... | 39.477516 | 111 | 0.695867 | [
"shape",
"vector",
"transform"
] |
a79ebb8bbaf20300a90d6a69dc849eef949e01cf | 1,713 | cc | C++ | vos/gui/sub/gui/si_histogram/SiCollectStretchedHist.cc | NASA-AMMOS/VICAR | 4504c1f558855d9c6eaef89f4460217aa4909f8e | [
"BSD-3-Clause"
] | 16 | 2020-10-21T05:56:26.000Z | 2022-03-31T10:02:01.000Z | vos/gui/sub/gui/si_histogram/SiCollectStretchedHist.cc | NASA-AMMOS/VICAR | 4504c1f558855d9c6eaef89f4460217aa4909f8e | [
"BSD-3-Clause"
] | null | null | null | vos/gui/sub/gui/si_histogram/SiCollectStretchedHist.cc | NASA-AMMOS/VICAR | 4504c1f558855d9c6eaef89f4460217aa4909f8e | [
"BSD-3-Clause"
] | 2 | 2021-03-09T01:51:08.000Z | 2021-03-23T00:23:24.000Z | //////////////////////////////////////////////////////////////////////
// SiCollectStretchedHist.cc
//////////////////////////////////////////////////////////////////////
#include "SiCollectStretchedHist.h"
#include "Lut.h"
#include "SiHistogram.h"
void SiCollectStretchedHist (
SiHistogram *histR, SiHistogra... | 30.052632 | 80 | 0.621716 | [
"model"
] |
a7a1db312e71d39c7c30d81f0f8c283a195831ba | 8,683 | cxx | C++ | Plugins/StreamingView/VTK/vtkPieceList.cxx | cjh1/ParaView | b0eba067c87078d5fe56ec3cb21447f149e1f31a | [
"BSD-3-Clause"
] | 17 | 2015-02-17T00:30:26.000Z | 2022-03-17T06:13:02.000Z | Plugins/StreamingView/VTK/vtkPieceList.cxx | cjh1/ParaView | b0eba067c87078d5fe56ec3cb21447f149e1f31a | [
"BSD-3-Clause"
] | null | null | null | Plugins/StreamingView/VTK/vtkPieceList.cxx | cjh1/ParaView | b0eba067c87078d5fe56ec3cb21447f149e1f31a | [
"BSD-3-Clause"
] | 10 | 2015-08-31T18:20:17.000Z | 2022-02-02T15:16:21.000Z | #include "vtkPieceList.h"
#include "vtkObjectFactory.h"
#include <vtksys/stl/algorithm>
#include <vtksys/stl/vector>
#include <vtksys/ios/sstream>
vtkStandardNewMacro(vtkPieceList);
//////////////////////////////////////////////////////////////////////////////
class vtkPieceList::Internal
{
public:
Internal()
{
... | 25.765579 | 80 | 0.459979 | [
"vector"
] |
a7a649d6fc404fb5fd49aca94893e42bfd315214 | 21,369 | cpp | C++ | src/esp/physics/PhysicsManager.cpp | srama2512/habitat-sim | 1a0a36451bc0a94c98d9f9fa497b4c3cfc095638 | [
"MIT"
] | null | null | null | src/esp/physics/PhysicsManager.cpp | srama2512/habitat-sim | 1a0a36451bc0a94c98d9f9fa497b4c3cfc095638 | [
"MIT"
] | null | null | null | src/esp/physics/PhysicsManager.cpp | srama2512/habitat-sim | 1a0a36451bc0a94c98d9f9fa497b4c3cfc095638 | [
"MIT"
] | null | null | null | // Copyright (c) Facebook, Inc. and its affiliates.
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.
#include "PhysicsManager.h"
#include <Magnum/Math/Range.h>
#include "esp/assets/CollisionMeshData.h"
#include "esp/physics/objectManagers/Art... | 37.163478 | 80 | 0.69905 | [
"mesh",
"render",
"object",
"vector",
"model"
] |
a7a8a9aac0930fe176e1e961c7c2987abfacf4ee | 1,078 | cpp | C++ | perf/FastArrayBenchmark.cpp | Danleb/quadtree | a198509e28cbc840cbdb1e7f3515e92a369483ed | [
"MIT"
] | 1 | 2022-02-06T22:57:35.000Z | 2022-02-06T22:57:35.000Z | perf/FastArrayBenchmark.cpp | Danleb/quadtree | a198509e28cbc840cbdb1e7f3515e92a369483ed | [
"MIT"
] | 1 | 2022-02-06T22:59:58.000Z | 2022-02-06T22:59:58.000Z | perf/FastArrayBenchmark.cpp | Danleb/quadtree | a198509e28cbc840cbdb1e7f3515e92a369483ed | [
"MIT"
] | null | null | null | #include <light/FastArray.h>
#include <benchmark/benchmark.h>
#include <random>
#include <vector>
constexpr auto ELEMENTS_COUNT = 128;
constexpr auto SWAPS_COUNT = 1000000;
template<template<typename> typename TContainer>
void BM_DataContainerRW(benchmark::State& state)
{
std::mt19937 rng{};
std::uniform_i... | 21.137255 | 54 | 0.608534 | [
"vector"
] |
a7a90b47fbe5ec04759643b529e907d748d6717e | 34,979 | cpp | C++ | shell/themes/uxtheme/render.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | shell/themes/uxtheme/render.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | shell/themes/uxtheme/render.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | //---------------------------------------------------------------------------
// Render.cpp - implements the themed drawing services
//---------------------------------------------------------------------------
#include "stdafx.h"
#include "Render.h"
#include "Utils.h"
#include "Parser.h"
#include "Loader.h"
... | 28.254443 | 116 | 0.470397 | [
"render",
"object"
] |
a7ab1c8066364017c43f949167a56e2695b864c2 | 44,488 | cc | C++ | chrome/browser/web_applications/preinstalled_web_app_manager_browsertest.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2021-11-16T13:10:29.000Z | 2021-11-16T13:10:29.000Z | chrome/browser/web_applications/preinstalled_web_app_manager_browsertest.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/web_applications/preinstalled_web_app_manager_browsertest.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/memory/scoped_refptr.h"
#include "chrome/browser/web_applications/preinstalled_web_app_manager.h"
#include "base/files/file_path.h"
#inclu... | 40.554239 | 88 | 0.706662 | [
"vector"
] |
a7acd8a348d96ee1f44ac26e4c3082fb7d855f2c | 3,106 | cpp | C++ | Tritom_Framework/C_Edge.cpp | davidfreire/Tritom | e5d9deade085f701553da7a0dfaefcea8572e4e9 | [
"MIT"
] | 4 | 2016-02-10T01:14:59.000Z | 2017-05-23T08:07:54.000Z | Tritom_Framework/C_Edge.cpp | davidfreire/Tritom | e5d9deade085f701553da7a0dfaefcea8572e4e9 | [
"MIT"
] | null | null | null | Tritom_Framework/C_Edge.cpp | davidfreire/Tritom | e5d9deade085f701553da7a0dfaefcea8572e4e9 | [
"MIT"
] | null | null | null | #include "C_Edge.h"
C_Edge::C_Edge(C_Vertex *vertex_1, C_Vertex *vertex_2, CvQuadEdge2D *tmp_edge){
this->vertex1=vertex_1;
this->vertex2=vertex_2;
this->tmp_edge=tmp_edge;
trixels = new vector <C_Trixel *>;
};
C_Edge::~C_Edge(){
this->vertex1=NULL;
this->vertex2=NULL;
this->trixels->clear();
d... | 25.883333 | 141 | 0.647778 | [
"vector"
] |
a7b483b009390fcd7c4cac095079f2e113d64cb1 | 15,068 | cpp | C++ | MeshModelingToolCP_Solution/Codes/Viewer/MyViewer.cpp | PacosLelouch/MeshModelingToolCP | 22965f7d0bc2dd14cfa372c023b041a0bbf152ed | [
"BSD-2-Clause"
] | null | null | null | MeshModelingToolCP_Solution/Codes/Viewer/MyViewer.cpp | PacosLelouch/MeshModelingToolCP | 22965f7d0bc2dd14cfa372c023b041a0bbf152ed | [
"BSD-2-Clause"
] | null | null | null | MeshModelingToolCP_Solution/Codes/Viewer/MyViewer.cpp | PacosLelouch/MeshModelingToolCP | 22965f7d0bc2dd14cfa372c023b041a0bbf152ed | [
"BSD-2-Clause"
] | null | null | null | #include "MyViewer.h"
#define _SILENCE_EXPERIMENTAL_FILESYSTEM_DEPRECATION_WARNING
#include <filesystem>
#include <nfd.h>
#include "ObjToEigenConverter.h"
#pragma warning( disable : 26812 ) // Enum type warning.
namespace MyViewerOp
{
enum Op
{
Planarization,
WireMeshDesign,
ARAP2D,
TestBoundingSphere,
Mi... | 29.48728 | 168 | 0.74124 | [
"mesh",
"vector",
"model"
] |
a7b6d09672f6cd52f419726f7a80af85d56260dc | 29,470 | cpp | C++ | src/qt/coincontrol.cpp | ghostlander/Phoenixcoin-v0.7 | a2759e793bdac97ab866a30cd333739f8a1b7969 | [
"MIT"
] | 2 | 2021-05-16T07:37:40.000Z | 2022-02-04T14:00:49.000Z | src/qt/coincontrol.cpp | ghostlander/Testcoin | 9c7f8ad85077e7105336661e92bac1877a68ef7c | [
"MIT"
] | 8 | 2019-02-28T01:41:01.000Z | 2019-11-11T17:30:39.000Z | src/qt/coincontrol.cpp | ghostlander/Testcoin | 9c7f8ad85077e7105336661e92bac1877a68ef7c | [
"MIT"
] | 6 | 2019-02-18T19:09:23.000Z | 2019-11-11T20:56:04.000Z | /*
* Copyright (c) 2013 Cozz Lovan <cozzlovan@yahoo.com>
* Copyright (c) 2014-2021 John Doering <ghostlander@phoenixcoin.org>
* 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. Redistr... | 39.293333 | 100 | 0.643875 | [
"vector",
"model"
] |
a7bc2d6bd38eb69979377fe68e6de34f7938ea57 | 11,663 | hpp | C++ | ClockReceiver/JustInTime.hpp | laurentd75/CLK | 55dbeefeb2539541409265391ba9f7d70d89449e | [
"MIT"
] | null | null | null | ClockReceiver/JustInTime.hpp | laurentd75/CLK | 55dbeefeb2539541409265391ba9f7d70d89449e | [
"MIT"
] | null | null | null | ClockReceiver/JustInTime.hpp | laurentd75/CLK | 55dbeefeb2539541409265391ba9f7d70d89449e | [
"MIT"
] | null | null | null | //
// JustInTime.hpp
// Clock Signal
//
// Created by Thomas Harte on 28/07/2019.
// Copyright © 2019 Thomas Harte. All rights reserved.
//
#ifndef JustInTime_h
#define JustInTime_h
#include "ClockReceiver.hpp"
#include "../Concurrency/AsyncTaskQueue.hpp"
#include "ClockingHintSource.hpp"
#include "ForceInline.hp... | 36.220497 | 137 | 0.719626 | [
"object"
] |
a7bdb5ff48d47e2ccab586cf78838045f2c4be44 | 70,768 | cpp | C++ | examples/le_net/le_net.cpp | ALojdl/HastenedARMDeepLearning | 68279af342fc742ed72f3e05d22e332eae6e60c9 | [
"MIT"
] | null | null | null | examples/le_net/le_net.cpp | ALojdl/HastenedARMDeepLearning | 68279af342fc742ed72f3e05d22e332eae6e60c9 | [
"MIT"
] | null | null | null | examples/le_net/le_net.cpp | ALojdl/HastenedARMDeepLearning | 68279af342fc742ed72f3e05d22e332eae6e60c9 | [
"MIT"
] | 1 | 2019-02-18T13:16:37.000Z | 2019-02-18T13:16:37.000Z | #include "common.h"
#include "image.h"
#include <CL/cl.h>
#include <iostream>
#include <chrono>
#include <cstring>
using namespace std;
using namespace chrono;
/*
Memory objects needed:
Layer1 Layer 2 Layer 3 Layer 4 Layer 5 Layer 6 Layer 7
Infere________... | 49.766526 | 144 | 0.664933 | [
"object"
] |
a7ce0ad321401b514e6ab5f9b72bca56e0bca6c6 | 76,892 | cpp | C++ | Chain/libraries/client/WalletApi.cpp | Achaindev/Achain_ubuntu | 8c6daad526c84fa513f119206e45f62eb68b8a86 | [
"MIT"
] | 27 | 2017-11-03T08:41:18.000Z | 2018-06-07T03:15:31.000Z | Chain/libraries/client/WalletApi.cpp | Achaindev/Achain_ubuntu | 8c6daad526c84fa513f119206e45f62eb68b8a86 | [
"MIT"
] | 7 | 2017-11-02T10:45:48.000Z | 2018-06-02T11:00:51.000Z | Chain/libraries/client/WalletApi.cpp | Achaindev/Achain_ubuntu | 8c6daad526c84fa513f119206e45f62eb68b8a86 | [
"MIT"
] | 25 | 2017-11-02T03:12:27.000Z | 2021-11-06T02:43:32.000Z | #include <client/Client.hpp>
#include <client/ClientImpl.hpp>
#include <utilities/KeyConversion.hpp>
#include <utilities/Words.hpp>
#include <utilities/CommonApi.hpp>
#include <wallet/Config.hpp>
#include <wallet/Exceptions.hpp>
#include <fc/crypto/aes.hpp>
#include <fc/network/http/connection.hpp>
#include ... | 52.486007 | 456 | 0.506698 | [
"object",
"vector"
] |
a7cf8527f481464ee10677cad241e30ed4f15772 | 9,717 | cc | C++ | sandboxed_api/sandbox2/policy_test.cc | alexelex/sandboxed-api | 0710361ed4f78f4484465114e436cc0d3eb5a7f9 | [
"Apache-2.0"
] | null | null | null | sandboxed_api/sandbox2/policy_test.cc | alexelex/sandboxed-api | 0710361ed4f78f4484465114e436cc0d3eb5a7f9 | [
"Apache-2.0"
] | null | null | null | sandboxed_api/sandbox2/policy_test.cc | alexelex/sandboxed-api | 0710361ed4f78f4484465114e436cc0d3eb5a7f9 | [
"Apache-2.0"
] | null | null | null | // Copyright 2019 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in w... | 33.506897 | 78 | 0.705979 | [
"vector"
] |
a7d3e693b17e6d9d9b736c5eafac7849583dce8a | 3,527 | cpp | C++ | src/leaf_disk.cpp | mgradysaunders/leaf-disk-gen | 955df6c7a37bcec7697c708fe8e0886680075fe4 | [
"BSD-2-Clause"
] | 1 | 2020-08-17T15:35:20.000Z | 2020-08-17T15:35:20.000Z | src/leaf_disk.cpp | mgradysaunders/leaf-disk-gen | 955df6c7a37bcec7697c708fe8e0886680075fe4 | [
"BSD-2-Clause"
] | null | null | null | src/leaf_disk.cpp | mgradysaunders/leaf-disk-gen | 955df6c7a37bcec7697c708fe8e0886680075fe4 | [
"BSD-2-Clause"
] | null | null | null | /* Copyright (c) 2020 M. Grady Saunders
*
* 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 the f... | 31.491071 | 77 | 0.586901 | [
"transform"
] |
a7d58f2d78702d733b9af046578c8460745888ce | 73,006 | cpp | C++ | grasp_generation/graspitmodified_lm/Coin-3.1.3/src/misc/SoGLImage.cpp | KraftOreo/EBM_Hand | 9ab1722c196b7eb99b4c3ecc85cef6e8b1887053 | [
"MIT"
] | null | null | null | grasp_generation/graspitmodified_lm/Coin-3.1.3/src/misc/SoGLImage.cpp | KraftOreo/EBM_Hand | 9ab1722c196b7eb99b4c3ecc85cef6e8b1887053 | [
"MIT"
] | null | null | null | grasp_generation/graspitmodified_lm/Coin-3.1.3/src/misc/SoGLImage.cpp | KraftOreo/EBM_Hand | 9ab1722c196b7eb99b4c3ecc85cef6e8b1887053 | [
"MIT"
] | null | null | null | /**************************************************************************\
*
* This file is part of the Coin 3D visualization library.
* Copyright (C) by Kongsberg Oil & Gas Technologies.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public ... | 32.533868 | 110 | 0.630633 | [
"render",
"object",
"3d"
] |
a7d6f3289870d47d3fcdb11af84452385692926d | 20,619 | cpp | C++ | src/cisHW1-2.cpp | ahundt/cis | bd55e8c77ec78994454247ffe7d67f537710a53f | [
"BSD-2-Clause-FreeBSD"
] | 1 | 2018-12-17T03:13:01.000Z | 2018-12-17T03:13:01.000Z | src/cisHW1-2.cpp | ahundt/cis | bd55e8c77ec78994454247ffe7d67f537710a53f | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | src/cisHW1-2.cpp | ahundt/cis | bd55e8c77ec78994454247ffe7d67f537710a53f | [
"BSD-2-Clause-FreeBSD"
] | null | null | null |
// Library includes
#include <boost/program_options/options_description.hpp>
#include <boost/program_options/parsers.hpp>
#include <boost/program_options/variables_map.hpp>
#include <boost/tokenizer.hpp>
#include <boost/math/special_functions/binomial.hpp>
#include <cmath>
#include <thread>
// Project includes
#inclu... | 48.062937 | 312 | 0.660313 | [
"object",
"vector",
"3d"
] |
a7ddfe81856f96b13e85703b8bc223a6d40e40a8 | 1,772 | hpp | C++ | src/others/iutility.hpp | today2098/algorithm | b180355635d3d1ea0a8c3dff40ae1c9bac636f95 | [
"MIT"
] | null | null | null | src/others/iutility.hpp | today2098/algorithm | b180355635d3d1ea0a8c3dff40ae1c9bac636f95 | [
"MIT"
] | null | null | null | src/others/iutility.hpp | today2098/algorithm | b180355635d3d1ea0a8c3dff40ae1c9bac636f95 | [
"MIT"
] | null | null | null | #ifndef ALGORITHM_IUTILITY_HPP
#define ALGORITHM_IUTILITY_HPP 1
#include <algorithm>
#include <cassert>
#include <sstream>
#include <string>
#include <vector>
namespace algorithm {
template <typename Type>
inline bool chmax(Type &a, const Type &b) {
if(a < b) {
a = b;
return true;
}
retur... | 20.847059 | 94 | 0.545147 | [
"vector"
] |
a7e6295ea1936eaac54e8b3c2e5f446cf35f4d0c | 24,272 | cpp | C++ | module.cpp | mosquito/pylive555 | 7209baa2101d5d181fc8c47ec9b60046bc387063 | [
"Apache-2.0"
] | 7 | 2015-03-22T01:34:37.000Z | 2021-12-28T13:56:07.000Z | module.cpp | mosquito/pylive555 | 7209baa2101d5d181fc8c47ec9b60046bc387063 | [
"Apache-2.0"
] | null | null | null | module.cpp | mosquito/pylive555 | 7209baa2101d5d181fc8c47ec9b60046bc387063 | [
"Apache-2.0"
] | 6 | 2015-05-21T08:35:57.000Z | 2021-03-05T04:28:09.000Z | // License from live555's testRTSPClient:
/**********
This library is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the
Free Software Foundation; either version 2.1 of the License, or (at your
option) any later version. (See <http://www... | 39.211632 | 342 | 0.706452 | [
"object"
] |
a7e665a0e330d7388179aa8859053ac7cd4ce1d8 | 4,448 | cpp | C++ | engine/core/src/TPipelineDescriptorSet.cpp | FuXiii/Turbo | e68237a43db0c5a7f1b75423a83ad285d4e9c0ff | [
"MIT"
] | 2 | 2019-08-05T09:14:43.000Z | 2019-08-05T09:14:47.000Z | engine/core/src/TPipelineDescriptorSet.cpp | FuXiii/Turbo | e68237a43db0c5a7f1b75423a83ad285d4e9c0ff | [
"MIT"
] | null | null | null | engine/core/src/TPipelineDescriptorSet.cpp | FuXiii/Turbo | e68237a43db0c5a7f1b75423a83ad285d4e9c0ff | [
"MIT"
] | null | null | null | #include "TPipelineDescriptorSet.h"
#include "TDescriptorSet.h"
#include "TException.h"
#include "TPipelineLayout.h"
#include <sstream>
void Turbo::Core::TPipelineDescriptorSet::InternalCreate()
{
std::vector<TDescriptorSetLayout *> descriptor_set_layouts = this->pipelineLayout->GetDescriptorSetLayouts();
for ... | 37.378151 | 181 | 0.695144 | [
"vector"
] |
a7e787934462288b79ee7d241145e636fffe1a34 | 1,238 | cpp | C++ | GraphicObject/Picture.cpp | invader35/SEN2UE11 | fb1333087b66f7965c433b23177a00c21d38579e | [
"MIT"
] | null | null | null | GraphicObject/Picture.cpp | invader35/SEN2UE11 | fb1333087b66f7965c433b23177a00c21d38579e | [
"MIT"
] | null | null | null | GraphicObject/Picture.cpp | invader35/SEN2UE11 | fb1333087b66f7965c433b23177a00c21d38579e | [
"MIT"
] | null | null | null | #include "Picture.h"
#include <algorithm>
Picture::Picture() {
}
Picture::~Picture() {
}
void Picture::Add(GraphicObject* Element){
mElements.push_back(Element);
}
void Picture::draw(){
std::vector<GraphicObject *>::iterator begin = mElements.begin();
while(begin != mElements.end()){
(*beg... | 25.791667 | 102 | 0.641357 | [
"vector"
] |
a7eb5f58d37e31e9996ba803f9815e7e90db623b | 117,360 | cxx | C++ | panda/src/downloader/httpChannel.cxx | ethanlindley/panda3d | 2bc35287d1af4e2c5d2f8a3c58d62d35446ca6f7 | [
"PHP-3.0",
"PHP-3.01"
] | null | null | null | panda/src/downloader/httpChannel.cxx | ethanlindley/panda3d | 2bc35287d1af4e2c5d2f8a3c58d62d35446ca6f7 | [
"PHP-3.0",
"PHP-3.01"
] | null | null | null | panda/src/downloader/httpChannel.cxx | ethanlindley/panda3d | 2bc35287d1af4e2c5d2f8a3c58d62d35446ca6f7 | [
"PHP-3.0",
"PHP-3.01"
] | null | null | null | /**
* PANDA 3D SOFTWARE
* Copyright (c) Carnegie Mellon University. All rights reserved.
*
* All use of this software is subject to the terms of the revised BSD
* license. You should have received a copy of this license along
* with this source code in a file named "LICENSE."
*
* @file httpChannel.cxx
* @aut... | 29.703872 | 100 | 0.664289 | [
"object",
"3d"
] |
a7ebd87e87908dcce3c44a69ff383c6c5a6e06f8 | 2,660 | cpp | C++ | ros_controllers/temperature_sensor_controller/src/temperature_sensor_controller.cpp | hect1995/Robotics_intro | 1b687585c20db5f1114d8ca6811a70313d325dd6 | [
"BSD-3-Clause"
] | 7 | 2018-10-24T14:52:20.000Z | 2021-01-12T14:59:00.000Z | ros_controllers/temperature_sensor_controller/src/temperature_sensor_controller.cpp | hect1995/Robotics_intro | 1b687585c20db5f1114d8ca6811a70313d325dd6 | [
"BSD-3-Clause"
] | null | null | null | ros_controllers/temperature_sensor_controller/src/temperature_sensor_controller.cpp | hect1995/Robotics_intro | 1b687585c20db5f1114d8ca6811a70313d325dd6 | [
"BSD-3-Clause"
] | 17 | 2019-09-29T10:22:41.000Z | 2021-04-08T12:38:37.000Z | #include <algorithm>
#include <cstddef>
#include <temperature_sensor_controller/temperature_sensor_controller.h>
namespace temperature_sensor_controller
{
bool TemperatureSensorController::init(hardware_interface::ActuatorTemperatureSensorInterface* hw,
ros::NodeHandle& ... | 36.438356 | 157 | 0.676316 | [
"vector"
] |
a7ec04b062e939e9879bbe05d324b9daf0a544d7 | 37,643 | cpp | C++ | src/networkManager/NetworkManager.cpp | teddywest32/bitcoinclassic | 509e94c1cf587bd83e082b24b08373ab6e60cb66 | [
"MIT"
] | null | null | null | src/networkManager/NetworkManager.cpp | teddywest32/bitcoinclassic | 509e94c1cf587bd83e082b24b08373ab6e60cb66 | [
"MIT"
] | null | null | null | src/networkManager/NetworkManager.cpp | teddywest32/bitcoinclassic | 509e94c1cf587bd83e082b24b08373ab6e60cb66 | [
"MIT"
] | null | null | null | /*
* This file is part of the bitcoin-classic project
* Copyright (C) 2016 Tom Zander <tomz@freedommail.ch>
*
* 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 3 of the Licens... | 37.946573 | 177 | 0.645113 | [
"object",
"vector"
] |
a7f44191e8a1e62fbd4bbdddf16b2918b3b41a62 | 2,106 | cpp | C++ | src/chapters/chapter5_5.cpp | teemid/opengl_superbible7 | 120ab46133dab26c25419f6b64494e152a05e779 | [
"MIT"
] | 1 | 2017-05-19T03:52:29.000Z | 2017-05-19T03:52:29.000Z | src/chapters/chapter5_5.cpp | teemid/opengl_superbible7 | 120ab46133dab26c25419f6b64494e152a05e779 | [
"MIT"
] | null | null | null | src/chapters/chapter5_5.cpp | teemid/opengl_superbible7 | 120ab46133dab26c25419f6b64494e152a05e779 | [
"MIT"
] | null | null | null | #include <cmath>
#include <cstring>
#include "chapters.h"
#include "vmath.h"
using namespace GLFramework;
static GLchar * vertex_source = SHADER(450 core,
layout (location = 0) in vec4 position;
layout (location = 1) in vec4 color;
out vec4 vs_color;
void main (void)
{
gl_Position = po... | 19.867925 | 91 | 0.654321 | [
"render"
] |
a7f4aa19da5c9139bb1ae2829956a69c0ec3769e | 9,575 | cc | C++ | runtime/isolate_configuration.cc | ModProg/engine | 93cb5dbbc70092b5c675ebf53fde7dea39086382 | [
"BSD-3-Clause"
] | 13 | 2020-08-09T10:30:50.000Z | 2021-09-06T18:26:05.000Z | runtime/isolate_configuration.cc | christopherfujino/engine | 14c3686153b1af6d8766aebd20a3c1b0d795ac77 | [
"BSD-3-Clause"
] | 1 | 2020-08-04T09:00:33.000Z | 2020-08-04T09:00:33.000Z | runtime/isolate_configuration.cc | christopherfujino/engine | 14c3686153b1af6d8766aebd20a3c1b0d795ac77 | [
"BSD-3-Clause"
] | 9 | 2021-03-11T04:52:17.000Z | 2021-12-17T09:19:06.000Z | // Copyright 2013 The Flutter 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 "flutter/runtime/isolate_configuration.h"
#include "flutter/fml/make_copyable.h"
#include "flutter/runtime/dart_vm.h"
namespace flutter {
Isola... | 32.90378 | 80 | 0.700574 | [
"vector"
] |
a7f620d5b9e486cf2aa67e59938426ac78f3a143 | 23,574 | cpp | C++ | strings.cpp | Benjins/CppUtils | 22661dd7b0696b6bd55a3979b1692f1fd5b33d18 | [
"MIT"
] | null | null | null | strings.cpp | Benjins/CppUtils | 22661dd7b0696b6bd55a3979b1692f1fd5b33d18 | [
"MIT"
] | null | null | null | strings.cpp | Benjins/CppUtils | 22661dd7b0696b6bd55a3979b1692f1fd5b33d18 | [
"MIT"
] | null | null | null | #include "strings.h"
#include <stdio.h>
int FindChar(const char* str, char c) {
const char* cursor = str;
while (*cursor) {
if (*cursor == c) {
return (int)(cursor - str);
}
cursor++;
}
return -1;
}
void String::SetSize(int size){
Release();
if (size > 0) {
void* alloc = malloc(8 + size + 1);
... | 19.498759 | 121 | 0.583906 | [
"vector"
] |
a7fcdd751740c7ed33c5ea03b8cd82cd2cffb2eb | 2,429 | hpp | C++ | setup/xapp-sm-connector/src/xapp-asn/e2sm/e2sm_indication.hpp | wineslab/colosseum-near-rt-ric | e41cd25e500c527ee60fd8095bb6f40e96b7ccce | [
"Apache-2.0"
] | 1 | 2022-02-24T21:40:00.000Z | 2022-02-24T21:40:00.000Z | setup/xapp-sm-connector/src/xapp-asn/e2sm/e2sm_indication.hpp | wineslab/colosseum-near-rt-ric | e41cd25e500c527ee60fd8095bb6f40e96b7ccce | [
"Apache-2.0"
] | null | null | null | setup/xapp-sm-connector/src/xapp-asn/e2sm/e2sm_indication.hpp | wineslab/colosseum-near-rt-ric | e41cd25e500c527ee60fd8095bb6f40e96b7ccce | [
"Apache-2.0"
] | null | null | null | /*
==================================================================================
Copyright (c) 2019-2020 AT&T Intellectual Property.
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 Licen... | 31.960526 | 85 | 0.72746 | [
"vector",
"model"
] |
c5007206d2f9600ffcd582a8d069bd5c88cf39cf | 5,050 | cpp | C++ | gtsam/linear/IterativeSolver.cpp | kvmanohar22/gtsam | 8194b931fe07fb1bd346cdcf116a35f9c4e208ba | [
"BSD-3-Clause"
] | 1,402 | 2017-03-28T00:18:11.000Z | 2022-03-30T10:28:32.000Z | gtsam/linear/IterativeSolver.cpp | kvmanohar22/gtsam | 8194b931fe07fb1bd346cdcf116a35f9c4e208ba | [
"BSD-3-Clause"
] | 851 | 2017-11-27T15:09:56.000Z | 2022-03-31T22:26:38.000Z | gtsam/linear/IterativeSolver.cpp | kvmanohar22/gtsam | 8194b931fe07fb1bd346cdcf116a35f9c4e208ba | [
"BSD-3-Clause"
] | 565 | 2017-11-30T16:15:59.000Z | 2022-03-31T02:53:04.000Z | /* ----------------------------------------------------------------------------
* GTSAM Copyright 2010, Georgia Tech Research Corporation,
* Atlanta, Georgia 30332-0415
* All Rights Reserved
* Authors: Frank Dellaert, et al. (see THANKS for the full author list)
* See LICENSE for the license information
* ----... | 32.792208 | 96 | 0.521584 | [
"vector"
] |
c5014ec2c93eeaa011d152fb72376df3a7bdef6e | 13,207 | hpp | C++ | source/PEST++/src/libs/opt/ClpSimplexOther.hpp | usgs/neversink_workflow | acd61435b8553e38d4a903c8cd7a3afc612446f9 | [
"CC0-1.0"
] | 90 | 2019-05-19T03:48:23.000Z | 2022-02-02T15:20:49.000Z | source/PEST++/src/libs/opt/ClpSimplexOther.hpp | usgs/neversink_workflow | acd61435b8553e38d4a903c8cd7a3afc612446f9 | [
"CC0-1.0"
] | 11 | 2019-05-22T07:45:46.000Z | 2021-05-20T01:48:26.000Z | source/PEST++/src/libs/opt/ClpSimplexOther.hpp | usgs/neversink_workflow | acd61435b8553e38d4a903c8cd7a3afc612446f9 | [
"CC0-1.0"
] | 18 | 2019-05-19T03:48:32.000Z | 2021-05-29T18:19:16.000Z | /* $Id: ClpSimplexOther.hpp 2070 2014-11-18 11:12:54Z forrest $ */
// Copyright (C) 2004, International Business Machines
// Corporation and others. All Rights Reserved.
// This code is licensed under the terms of the Eclipse Public License (EPL).
/*
Authors
John Forrest
*/
#ifndef ClpSimplexOther_H
#define C... | 47.507194 | 119 | 0.666238 | [
"object",
"model"
] |
c503b2ac488db2e8cdecb57de1b9b078beab0a82 | 281 | cpp | C++ | GameState.cpp | Pounhay/Hex | 3410ce2baf4acb41e34850a8dc184cc2e80cb5e1 | [
"MIT"
] | null | null | null | GameState.cpp | Pounhay/Hex | 3410ce2baf4acb41e34850a8dc184cc2e80cb5e1 | [
"MIT"
] | null | null | null | GameState.cpp | Pounhay/Hex | 3410ce2baf4acb41e34850a8dc184cc2e80cb5e1 | [
"MIT"
] | null | null | null | #include "GameState.h"
#include "StartState.h"
void GameState::Clicked() {
if (gameBoard->Over())
game->ChangeState(new StartState(renderer, game));
gameBoard->Clicked();
}
void GameState::Update() {
gameBoard->Update();
}
void GameState::Render() {
gameBoard->Render();
} | 17.5625 | 52 | 0.690391 | [
"render"
] |
c509d8bd20a01243eda2bb7be13166ca8d540d5b | 2,684 | cc | C++ | paddle/pten/tests/core/test_allocator.cc | zhenlin-work/Paddle | ed7a21dea0ddcffb6f7f33ce21c5c368f5c7866b | [
"Apache-2.0"
] | 4 | 2021-02-08T13:07:15.000Z | 2021-10-22T00:58:33.000Z | paddle/pten/tests/core/test_allocator.cc | zhenlin-work/Paddle | ed7a21dea0ddcffb6f7f33ce21c5c368f5c7866b | [
"Apache-2.0"
] | 2 | 2019-07-26T04:06:05.000Z | 2019-07-29T04:25:24.000Z | paddle/pten/tests/core/test_allocator.cc | zhenlin-work/Paddle | ed7a21dea0ddcffb6f7f33ce21c5c368f5c7866b | [
"Apache-2.0"
] | 5 | 2021-12-10T11:20:06.000Z | 2022-02-18T05:18:12.000Z | /* Copyright (c) 2021 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... | 29.173913 | 73 | 0.696349 | [
"vector"
] |
c50b8734b10e10c886f245f165c73dfd13713df2 | 1,317 | cpp | C++ | test/unit/split.cpp | BigRedEye/cacos | da80d67375054260eac7518e3b53163e399461fe | [
"MIT"
] | 3 | 2019-02-22T18:25:12.000Z | 2019-02-27T13:32:00.000Z | test/unit/split.cpp | BigRedEye/cacos | da80d67375054260eac7518e3b53163e399461fe | [
"MIT"
] | null | null | null | test/unit/split.cpp | BigRedEye/cacos | da80d67375054260eac7518e3b53163e399461fe | [
"MIT"
] | null | null | null | #include <gtest/gtest.h>
#include <cacos/util/split.h>
TEST(split, simple) {
std::vector<std::string_view> v1 = cacos::util::split("qwe:qwe::qwe:", ":");
std::vector<std::string_view> v2 {"qwe", "qwe", "", "qwe", ""};
EXPECT_EQ(v1, v2);
}
TEST(split, delimiters) {
static const std::string s =
... | 31.357143 | 95 | 0.520121 | [
"vector"
] |
c50cb330e7f16ef075cf9447b1fe29a38a5b96c6 | 386 | hpp | C++ | src/Chain/libraries/include/client/SeedNodes.hpp | WillAchain/Achain | 4118a8fc7a18e356e5a865d39d21bba3100664c9 | [
"MIT"
] | 226 | 2017-09-07T13:13:08.000Z | 2022-02-26T09:07:10.000Z | src/Chain/libraries/include/client/SeedNodes.hpp | WillAchain/Achain | 4118a8fc7a18e356e5a865d39d21bba3100664c9 | [
"MIT"
] | 22 | 2017-09-26T03:36:21.000Z | 2020-08-23T19:59:40.000Z | src/Chain/libraries/include/client/SeedNodes.hpp | WillAchain/Achain | 4118a8fc7a18e356e5a865d39d21bba3100664c9 | [
"MIT"
] | 79 | 2017-09-08T02:57:08.000Z | 2022-02-02T12:46:31.000Z | #pragma once
namespace thinkyoung {
namespace client {
#ifndef ALP_TEST_NETWORK
static const std::vector<std::string> SeedNodes = {
"node.achain.com:61696"
};
#else
static const std::vector<std::string> SeedNodes {
"13.125.59.140:61696",
"52.78.4... | 24.125 | 60 | 0.554404 | [
"vector"
] |
c50cee241e846f5ff6f8e32069f9ea76ebb5de6f | 4,467 | cpp | C++ | dev/Code/Framework/AzCore/AzCore/Math/PolygonPrism.cpp | brianherrera/lumberyard | f85344403c1c2e77ec8c75deb2c116e97b713217 | [
"AML"
] | 1,738 | 2017-09-21T10:59:12.000Z | 2022-03-31T21:05:46.000Z | dev/Code/Framework/AzCore/AzCore/Math/PolygonPrism.cpp | olivier-be/lumberyard | 3d688932f919dbf5821f0cb8a210ce24abe39e9e | [
"AML"
] | 427 | 2017-09-29T22:54:36.000Z | 2022-02-15T19:26:50.000Z | dev/Code/Framework/AzCore/AzCore/Math/PolygonPrism.cpp | olivier-be/lumberyard | 3d688932f919dbf5821f0cb8a210ce24abe39e9e | [
"AML"
] | 671 | 2017-09-21T08:04:01.000Z | 2022-03-29T14:30:07.000Z | /*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the license below or t... | 39.530973 | 179 | 0.631968 | [
"shape"
] |
c5120fc38cbacd67f4ecd041c845f7e47cc03789 | 8,765 | cpp | C++ | libraries/Duke32AIO/robot_normal/duke32.cpp | sohtamei/TuKuRutch.ext | 3e7e3713d8825dc2bebf01f601736fedcbceca05 | [
"Apache-2.0"
] | 1 | 2020-10-28T07:45:36.000Z | 2020-10-28T07:45:36.000Z | libraries/Duke32AIO/robot_normal/duke32.cpp | sohtamei/TuKuRutch.ext | 3e7e3713d8825dc2bebf01f601736fedcbceca05 | [
"Apache-2.0"
] | null | null | null | libraries/Duke32AIO/robot_normal/duke32.cpp | sohtamei/TuKuRutch.ext | 3e7e3713d8825dc2bebf01f601736fedcbceca05 | [
"Apache-2.0"
] | null | null | null | #include "duke32.h"
/********************************
* for Wifi Connection
*********************************/
// Add Feature String
void AddFeatureString(String &S, const String F){
if (S.length() != 0) S.concat(", ");
S.concat(F);
}
uint64_t GetChipid(){
// Chip Info
const char* ModelStrings[] ... | 26.480363 | 105 | 0.625898 | [
"model"
] |
78a091382436b43a34e9ae41ceab088cc5103a36 | 3,296 | cpp | C++ | chapter3/detecAndDescriCompCost/test_kaze_akaze_opencv-master/test_akaze_match.cpp | taojianggit/Code-for-the-Degree-of-Master-of-Engineering | 4a8b305cd43abe37953545a927db9eae3b544368 | [
"MIT"
] | 2 | 2017-04-30T15:08:21.000Z | 2019-11-18T13:57:37.000Z | chapter3/detecAndDescriCompCost/test_kaze_akaze_opencv-master/test_akaze_match.cpp | taojianggit/Code-for-the-Degree-of-Master-of-Engineering | 4a8b305cd43abe37953545a927db9eae3b544368 | [
"MIT"
] | null | null | null | chapter3/detecAndDescriCompCost/test_kaze_akaze_opencv-master/test_akaze_match.cpp | taojianggit/Code-for-the-Degree-of-Master-of-Engineering | 4a8b305cd43abe37953545a927db9eae3b544368 | [
"MIT"
] | 1 | 2022-02-25T14:46:49.000Z | 2022-02-25T14:46:49.000Z | /**
* @file test_akaze_match.cpp
* @brief Main program for testing OpenCV A-KAZE port in an image matching application
* @date Jun 05, 2014
* @author Pablo F. Alcantarilla
*/
#include "./src/utils.h"
// System
#include <string>
#include <vector>
#include <iostream>
using namespace std;
using namespace cv;
/* *... | 32 | 95 | 0.601032 | [
"object",
"vector"
] |
78aa6094f1ef39f7d6f9eec40d03118e7e538e4a | 9,973 | cpp | C++ | src/main.cpp | virtualsecureplatform/Iyokan | f167d438d68b2ebf31094c361d498469c8bcc152 | [
"Apache-2.0"
] | 81 | 2020-01-29T08:44:16.000Z | 2021-11-14T16:26:48.000Z | src/main.cpp | virtualsecureplatform/Iyokan | f167d438d68b2ebf31094c361d498469c8bcc152 | [
"Apache-2.0"
] | 3 | 2020-02-09T04:43:52.000Z | 2021-11-12T13:22:19.000Z | src/main.cpp | virtualsecureplatform/Iyokan | f167d438d68b2ebf31094c361d498469c8bcc152 | [
"Apache-2.0"
] | 1 | 2020-05-10T19:12:15.000Z | 2020-05-10T19:12:15.000Z | #include <chrono>
#include <CLI/CLI.hpp>
#include "iyokan_plain.hpp"
#include "iyokan_tfhepp.hpp"
#ifdef IYOKAN_CUDA_ENABLED
#include "iyokan_cufhe.hpp"
#endif
int main(int argc, char **argv)
{
error::initialize("iyokan");
// Show build config
spdlog::info("Build config");
#if defined(NDEBUG)
spdlo... | 35.874101 | 80 | 0.552291 | [
"transform"
] |
78ac805df8b76386eb2d73b3ad80dbeb0b21e8a4 | 11,689 | cpp | C++ | src/tensorinfo.cpp | Xaenalt/model_server | f977dbf1246ebf85e960ca058e814deac7c6a16c | [
"Apache-2.0"
] | 234 | 2020-04-24T22:09:49.000Z | 2022-03-30T10:40:04.000Z | src/tensorinfo.cpp | Xaenalt/model_server | f977dbf1246ebf85e960ca058e814deac7c6a16c | [
"Apache-2.0"
] | 199 | 2020-04-29T08:43:21.000Z | 2022-03-29T09:05:52.000Z | src/tensorinfo.cpp | Xaenalt/model_server | f977dbf1246ebf85e960ca058e814deac7c6a16c | [
"Apache-2.0"
] | 80 | 2020-04-29T14:54:41.000Z | 2022-03-30T14:50:29.000Z | //*****************************************************************************
// Copyright 2021 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.ap... | 31.254011 | 124 | 0.662589 | [
"shape"
] |
78b382db342449d8f91d7cc6914d0d9b857f2259 | 6,873 | hpp | C++ | src/lib/support/QuickSort.hpp | jqswang/txsampler | 19d2b188e712dd86be84d84c75e08af320304c2c | [
"BSD-3-Clause"
] | 1 | 2018-11-18T17:44:22.000Z | 2018-11-18T17:44:22.000Z | src/lib/support/QuickSort.hpp | jqswang/txsampler | 19d2b188e712dd86be84d84c75e08af320304c2c | [
"BSD-3-Clause"
] | null | null | null | src/lib/support/QuickSort.hpp | jqswang/txsampler | 19d2b188e712dd86be84d84c75e08af320304c2c | [
"BSD-3-Clause"
] | null | null | null | // -*-Mode: C++;-*-
// * BeginRiceCopyright *****************************************************
//
// $HeadURL$
// $Id$
//
// --------------------------------------------------------------------------
// Part of HPCToolkit (hpctoolkit.org)
//
// Information about sources of support for research and development of
//... | 51.676692 | 80 | 0.402299 | [
"object"
] |
78b474e43b4e921185ed746197731002212091f0 | 742 | hpp | C++ | typo/io.hpp | KSills-Dev/typotronic | 4732bcaf514ce0fe59e8cb4b0f5f6e1e180aa1fc | [
"MIT"
] | null | null | null | typo/io.hpp | KSills-Dev/typotronic | 4732bcaf514ce0fe59e8cb4b0f5f6e1e180aa1fc | [
"MIT"
] | null | null | null | typo/io.hpp | KSills-Dev/typotronic | 4732bcaf514ce0fe59e8cb4b0f5f6e1e180aa1fc | [
"MIT"
] | null | null | null | #pragma once
#include "typo.hpp"
#include <string>
#include <vector>
/**
@brief Imports a string list from the given file.
The first line in the file should specify the number of problem instances,
followed by newline delimited pairs of "correct\ntypo" pairs.
@return True on successful import, false otherwise.... | 26.5 | 80 | 0.690027 | [
"vector"
] |
78bb114c14dc7b76e6ab88b92b0c55dba746fa79 | 21,362 | cpp | C++ | src/host/extensions/signing.cpp | TheWillard/intercept | 7bd96f4b0cec66f5ef1f3cbef7c4abe35e4f8fda | [
"MIT"
] | 166 | 2016-02-11T09:21:26.000Z | 2022-01-01T10:34:38.000Z | src/host/extensions/signing.cpp | TheWillard/intercept | 7bd96f4b0cec66f5ef1f3cbef7c4abe35e4f8fda | [
"MIT"
] | 104 | 2016-02-10T14:34:27.000Z | 2022-03-26T18:03:47.000Z | src/host/extensions/signing.cpp | TheWillard/intercept | 7bd96f4b0cec66f5ef1f3cbef7c4abe35e4f8fda | [
"MIT"
] | 85 | 2016-02-11T23:14:23.000Z | 2022-03-18T05:03:09.000Z | #include "signing.hpp"
#ifndef __linux__
#include <wincrypt.h>
#include <wintrust.h>
#include <windows.h>
#pragma comment(lib, "crypt32.lib")
//https://stackoverflow.com/questions/7241453/read-and-validate-certificate-from-executable
/*
https://stackoverflow.com/questions/84847/how-do-i-create-a-self-signed-c... | 56.215789 | 203 | 0.669787 | [
"vector"
] |
78be90fdc237912b6e3dca019f9b1f4e8940c560 | 9,070 | cpp | C++ | src/gui/qgsdatasourceselectdialog.cpp | dyna-mis/Hilabeling | cb7d5d4be29624a20c8a367162dbc6fd779b2b52 | [
"MIT"
] | null | null | null | src/gui/qgsdatasourceselectdialog.cpp | dyna-mis/Hilabeling | cb7d5d4be29624a20c8a367162dbc6fd779b2b52 | [
"MIT"
] | null | null | null | src/gui/qgsdatasourceselectdialog.cpp | dyna-mis/Hilabeling | cb7d5d4be29624a20c8a367162dbc6fd779b2b52 | [
"MIT"
] | 1 | 2021-12-25T08:40:30.000Z | 2021-12-25T08:40:30.000Z | /***************************************************************************
qgsdatasourceselectdialog.cpp - QgsDataSourceSelectDialog
---------------------
begin : 1.11.2018
copyright : (C) 2018 by Alessandro Pasotti
email : elpaso@itopen.it
****************************... | 34.618321 | 187 | 0.65645 | [
"model"
] |
78bfe0440946c6a8036687db6015601622948eeb | 11,893 | cpp | C++ | RoguelikeGame.Main/Engine/UI/ListSelect.cpp | VegetaTheKing/RoguelikeGame | 74036ad8857da961a490dd73d8bb2a5fbef88e39 | [
"MIT"
] | null | null | null | RoguelikeGame.Main/Engine/UI/ListSelect.cpp | VegetaTheKing/RoguelikeGame | 74036ad8857da961a490dd73d8bb2a5fbef88e39 | [
"MIT"
] | null | null | null | RoguelikeGame.Main/Engine/UI/ListSelect.cpp | VegetaTheKing/RoguelikeGame | 74036ad8857da961a490dd73d8bb2a5fbef88e39 | [
"MIT"
] | null | null | null | #include "ListSelect.h"
void ListSelect::UpdateArrowsState()
{
if (_selectedIndex == 0) _leftArrow.ForceState("click");
else _leftArrow.ResetForcedState();
if (_selectedIndex + 1 >= _values.size()) _rightArrow.ForceState("click");
else _rightArrow.ResetForcedState();
}
ListSelect::ListSelect(SoundsMa... | 27.787383 | 170 | 0.654082 | [
"vector"
] |
78c6829cf17e25991b319b02f1aaf70f7c9237b1 | 6,416 | cpp | C++ | iris-cpp/src/iris/gen/AttributeGenerator.cpp | wbknez/iris | ac6f8ca57cec88a24bdf22eca42e2c77a53f4cd0 | [
"Apache-2.0"
] | null | null | null | iris-cpp/src/iris/gen/AttributeGenerator.cpp | wbknez/iris | ac6f8ca57cec88a24bdf22eca42e2c77a53f4cd0 | [
"Apache-2.0"
] | null | null | null | iris-cpp/src/iris/gen/AttributeGenerator.cpp | wbknez/iris | ac6f8ca57cec88a24bdf22eca42e2c77a53f4cd0 | [
"Apache-2.0"
] | null | null | null | #include "iris/gen/AttributeGenerator.hpp"
#include <cmath>
#include <random>
#include <sstream>
#include "iris/Utils.hpp"
namespace iris
{
namespace gen
{
types::uint32 convertListToInteger(const Uint32List& list)
{
using namespace iris::types;
uint32 res... | 33.243523 | 80 | 0.479582 | [
"vector"
] |
78ca61ac9bfbc5405b17f0094e701a8418906f1f | 41,148 | cpp | C++ | LeopardFF8.cpp | net3f/leopard | 8c35c8d4de621bf130865456c447815f9cb6f75c | [
"BSD-3-Clause"
] | null | null | null | LeopardFF8.cpp | net3f/leopard | 8c35c8d4de621bf130865456c447815f9cb6f75c | [
"BSD-3-Clause"
] | null | null | null | LeopardFF8.cpp | net3f/leopard | 8c35c8d4de621bf130865456c447815f9cb6f75c | [
"BSD-3-Clause"
] | null | null | null | /*
Copyright (c) 2017 Christopher A. Taylor. 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 ... | 28.734637 | 105 | 0.555896 | [
"vector",
"transform"
] |
78cb1b61cd2dec5d90f435f1a2fd23f402ae46f3 | 17,704 | cxx | C++ | cmake-2.8.10.1/Source/CPack/cmCPackDragNDropGenerator.cxx | vidkidz/crossbridge | ba0bf94aee0ce6cf7eb5be882382e52bc57ba396 | [
"MIT"
] | 1 | 2016-04-09T02:58:13.000Z | 2016-04-09T02:58:13.000Z | cmake-2.8.10.1/Source/CPack/cmCPackDragNDropGenerator.cxx | vidkidz/crossbridge | ba0bf94aee0ce6cf7eb5be882382e52bc57ba396 | [
"MIT"
] | null | null | null | cmake-2.8.10.1/Source/CPack/cmCPackDragNDropGenerator.cxx | vidkidz/crossbridge | ba0bf94aee0ce6cf7eb5be882382e52bc57ba396 | [
"MIT"
] | null | null | null | /*============================================================================
CMake - Cross Platform Makefile Generator
Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
Distributed under the OSI-approved BSD License (the "License");
see accompanying file Copyright.txt for details.
This softwa... | 30.057725 | 79 | 0.618787 | [
"vector"
] |
78d298ebc6e7d70a938e31f15cd18833ed3c5882 | 6,337 | cpp | C++ | wxWidgets-3.1.0/src/msw/gauge.cpp | screwjack/nemesis | 8c2587d2aa60f8da6cf49e5f4f5740bf2666c6fd | [
"BSD-2-Clause"
] | 2 | 2016-10-15T05:12:16.000Z | 2016-11-06T16:19:53.000Z | wxWidgets-3.1.0/src/msw/gauge.cpp | screwjack/nemesis | 8c2587d2aa60f8da6cf49e5f4f5740bf2666c6fd | [
"BSD-2-Clause"
] | 14 | 2016-09-21T21:24:46.000Z | 2016-11-15T07:54:21.000Z | wxWidgets-3.1.0/src/msw/gauge.cpp | screwjack/nemesis | 8c2587d2aa60f8da6cf49e5f4f5740bf2666c6fd | [
"BSD-2-Clause"
] | null | null | null | /////////////////////////////////////////////////////////////////////////////
// Name: src/msw/gauge.cpp
// Purpose: wxGauge class
// Author: Julian Smart
// Modified by:
// Created: 01/02/97
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
/////////////////////////////////////////... | 26.62605 | 79 | 0.497396 | [
"geometry"
] |
78d30a0132f60b25a0b89c8331abdb379235a412 | 1,099 | hpp | C++ | include/PlayingState.hpp | aebarber/LD40 | 053071cc49c105b662ae948881be222d4a5e4803 | [
"MIT"
] | null | null | null | include/PlayingState.hpp | aebarber/LD40 | 053071cc49c105b662ae948881be222d4a5e4803 | [
"MIT"
] | null | null | null | include/PlayingState.hpp | aebarber/LD40 | 053071cc49c105b662ae948881be222d4a5e4803 | [
"MIT"
] | null | null | null | #ifndef H_CLASS_PLAYINGSTATE
#define H_CLASS_PLAYINGSTATE
#include <functional>
#include <memory>
#include <SFML/Graphics.hpp>
#include <ArcticWolf/GameState.hpp>
#include <ArcticWolf/GameStateManager.hpp>
#include <ArcticWolf/Controller.hpp>
#include <ArcticWolf/LoopKeybinding.hpp>
#include "World.hpp"
class Playing... | 23.382979 | 61 | 0.717015 | [
"render"
] |
78d3d70e7b2debbf546d1076016943a853caf810 | 3,994 | cc | C++ | src/deduplication/source/PartitionTensorBlockSharedPageIterator.cc | venkate5hgunda/CSE598-Spring22-Group22-NetsDB | 6c2dabd1a3b3f5901a97c788423fdd93cc0015d4 | [
"Apache-2.0"
] | 13 | 2022-01-17T16:14:26.000Z | 2022-03-30T02:06:04.000Z | src/deduplication/source/PartitionTensorBlockSharedPageIterator.cc | venkate5hgunda/CSE598-Spring22-Group22-NetsDB | 6c2dabd1a3b3f5901a97c788423fdd93cc0015d4 | [
"Apache-2.0"
] | 1 | 2022-01-28T23:17:14.000Z | 2022-01-28T23:17:14.000Z | src/deduplication/source/PartitionTensorBlockSharedPageIterator.cc | venkate5hgunda/CSE598-Spring22-Group22-NetsDB | 6c2dabd1a3b3f5901a97c788423fdd93cc0015d4 | [
"Apache-2.0"
] | 3 | 2022-01-18T02:13:53.000Z | 2022-03-06T19:28:19.000Z | #include "FFMatrixBlock.h"
#include "PDBDebug.h"
#include "PartitionTensorBlockSharedPageIterator.h"
#include "FFMatrixBlockIndex.h"
namespace pdb {
/**
* To create a new PartitionTensorBlockSharedPageIterator instance
*/
PartitionTensorBlockSharedPageIterator::PartitionTensorBlockSharedPageIterator(PageCachePtr ca... | 43.413043 | 166 | 0.631197 | [
"vector"
] |
78d3f93d82dc410c2e8bfb17c714fd06be0285ce | 3,671 | cpp | C++ | arm9/source/_library/library.color.mediancut.cpp | DuffsDevice/winds | 35f1b5fd458c527a6c372f94077e784f6fd960b2 | [
"MIT"
] | 2 | 2017-02-07T18:25:07.000Z | 2021-12-13T18:29:03.000Z | arm9/source/_library/library.color.mediancut.cpp | DuffsDevice/winds | 35f1b5fd458c527a6c372f94077e784f6fd960b2 | [
"MIT"
] | null | null | null | arm9/source/_library/library.color.mediancut.cpp | DuffsDevice/winds | 35f1b5fd458c527a6c372f94077e784f6fd960b2 | [
"MIT"
] | null | null | null | /* The authors of this work have released all rights to it and placed it
in the public domain under the Creative Commons CC0 1.0 waiver
(http://creativecommons.org/publicdomain/zero/1.0/).
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTI... | 28.457364 | 94 | 0.672569 | [
"vector"
] |
78d645533bf31fc24fd6b4f74ec85687e6e6b35d | 7,649 | cc | C++ | third_party/blink/renderer/core/paint/ng/ng_paint_fragment_traversal_test.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | third_party/blink/renderer/core/paint/ng/ng_paint_fragment_traversal_test.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | third_party/blink/renderer/core/paint/ng/ng_paint_fragment_traversal_test.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"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 "third_party/blink/renderer/core/paint/ng/ng_paint_fragment_traversal.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "third_party/bl... | 33.845133 | 81 | 0.690548 | [
"vector"
] |
78d6e4445f9feccda28e8c2ef4d6d31c97efc418 | 3,725 | cpp | C++ | corelib/src/Camera.cpp | nuclearsandwich-ros/rtabmap-release | c6ee39bea83b6a5edf9da3214494d67c6c055a2e | [
"BSD-3-Clause"
] | null | null | null | corelib/src/Camera.cpp | nuclearsandwich-ros/rtabmap-release | c6ee39bea83b6a5edf9da3214494d67c6c055a2e | [
"BSD-3-Clause"
] | null | null | null | corelib/src/Camera.cpp | nuclearsandwich-ros/rtabmap-release | c6ee39bea83b6a5edf9da3214494d67c6c055a2e | [
"BSD-3-Clause"
] | null | null | null | /*
Copyright (c) 2010-2016, Mathieu Labbe - IntRoLab - Universite de Sherbrooke
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
... | 30.284553 | 104 | 0.747919 | [
"transform"
] |
78dd96b7539fa2a594780b5ba7e69c6360a3f7a4 | 1,252 | cpp | C++ | testgen/kinout.cpp | LaughingBudda/hachikuji | 0d65ecec12dd843dfb7e3828ac3b5c3824ce6901 | [
"MIT"
] | null | null | null | testgen/kinout.cpp | LaughingBudda/hachikuji | 0d65ecec12dd843dfb7e3828ac3b5c3824ce6901 | [
"MIT"
] | null | null | null | testgen/kinout.cpp | LaughingBudda/hachikuji | 0d65ecec12dd843dfb7e3828ac3b5c3824ce6901 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
int main(int argc, char **argv) {
mt19937 rng(chrono::steady_clock::now().time_since_epoch().count());
int n = 100, in = 10, out=10;
if (argc > 1) {
n = atoi( argv[1] );
}
if (argc > 2) {
in = atoi( argv[2] );
}
if (argc > 3) {
... | 26.083333 | 72 | 0.416134 | [
"vector"
] |
78e090ea0c01bbb9f0e6f3ae3091173b508f7fd9 | 5,455 | cpp | C++ | docs/C++/Experts/TODO-Thomas-Kim/CppExtension/tutorial/030-execution_policy.cpp | dengking/python-in-action | 82587961a9f12be09e60d20e11ccbee5bb0aa027 | [
"Apache-2.0"
] | null | null | null | docs/C++/Experts/TODO-Thomas-Kim/CppExtension/tutorial/030-execution_policy.cpp | dengking/python-in-action | 82587961a9f12be09e60d20e11ccbee5bb0aa027 | [
"Apache-2.0"
] | null | null | null | docs/C++/Experts/TODO-Thomas-Kim/CppExtension/tutorial/030-execution_policy.cpp | dengking/python-in-action | 82587961a9f12be09e60d20e11ccbee5bb0aa027 | [
"Apache-2.0"
] | null | null | null | #include <tpf_output.hpp>
#include <tpf_chrono_random.hpp>
#include <execution> // for Parallel Algorithm
tpf::sstream stream;
auto nl = tpf::nl;
auto endl = tpf::endl;
template<typename ElementType>
class vector_3d
{
public:
using element_type = ElementType;
private:
element_type m_x, m_y, m... | 30.138122 | 108 | 0.583685 | [
"vector",
"transform"
] |
78e2077989d43c8ff19a35f22bf5d8bfd1a67024 | 1,328 | cc | C++ | tensorflow/psstore/psstore.cc | YanTangZhai/tf | 7015863fd126d76b61578ef1278dfb808cc1e2af | [
"Apache-2.0"
] | null | null | null | tensorflow/psstore/psstore.cc | YanTangZhai/tf | 7015863fd126d76b61578ef1278dfb808cc1e2af | [
"Apache-2.0"
] | null | null | null | tensorflow/psstore/psstore.cc | YanTangZhai/tf | 7015863fd126d76b61578ef1278dfb808cc1e2af | [
"Apache-2.0"
] | null | null | null | /*!
* From dmlc/mxnet
*/
#include <stdlib.h>
#include "./psstore.h"
#include "./psstore_dist.h"
#include "./psstore_dist_server.h"
namespace tensorflow {
namespace psstore {
PSStore* PSStore::Create(const char *type_name, const std::string& args) {
std::string tname = type_name;
std::transform(tname.begin(), tn... | 27.102041 | 97 | 0.631024 | [
"transform"
] |
78e6e64b0b9d095dd71c615ac5053b8c27e8b1d8 | 534 | cpp | C++ | example/app/src/CustomSprite.cpp | Seng3694/TXPK | 76a5441dc70b4a5d5d2596525de950a2d2e65aab | [
"MIT"
] | 6 | 2019-01-05T08:14:02.000Z | 2021-12-02T18:29:35.000Z | example/app/src/CustomSprite.cpp | lineCode/TXPK | 20d4cd75611a44babf2bf41d5359141020dc6684 | [
"MIT"
] | 1 | 2018-03-28T06:33:08.000Z | 2018-03-29T08:22:43.000Z | example/app/src/CustomSprite.cpp | Seng3694/TexturePacker | 76a5441dc70b4a5d5d2596525de950a2d2e65aab | [
"MIT"
] | 2 | 2018-12-11T01:11:20.000Z | 2020-10-30T08:14:04.000Z | #include "CustomSprite.hpp"
CustomSprite::CustomSprite()
{
width = 0;
height = 0;
innerSprite = sf::Sprite();
}
void CustomSprite::draw(sf::RenderTarget& target, sf::RenderStates states) const
{
states.transform.combine(getTransform());
target.draw(innerSprite, states);
}
unsigned int CustomSprite::getWidth() c... | 18.413793 | 80 | 0.735955 | [
"transform"
] |
78eb47af6740ed18c2ffe411e50b62d64df320c4 | 48,727 | cpp | C++ | src/backends/imgdnn/convert.cpp | codeplaysoftware/TensorOpt | 62562f0dc8c15c1ff9ffeee408556d019e0e345c | [
"Apache-2.0"
] | 1 | 2020-12-06T13:24:00.000Z | 2020-12-06T13:24:00.000Z | src/backends/imgdnn/convert.cpp | codeplaysoftware/TensorOpt | 62562f0dc8c15c1ff9ffeee408556d019e0e345c | [
"Apache-2.0"
] | 1 | 2020-02-06T11:09:50.000Z | 2020-02-06T14:30:02.000Z | src/backends/imgdnn/convert.cpp | codeplaysoftware/TensorOpt | 62562f0dc8c15c1ff9ffeee408556d019e0e345c | [
"Apache-2.0"
] | 1 | 2021-09-30T21:59:50.000Z | 2021-09-30T21:59:50.000Z | /**
* Copyright (C) Codeplay Software Limited.
*
* 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 ... | 39.487034 | 80 | 0.670881 | [
"object",
"shape",
"vector",
"model"
] |
78f01f9fca8a9b1c830b50cc2071a8f55375c90e | 2,662 | hpp | C++ | include/extractor/guidance/turn_handler.hpp | motis-project/osrm-backend | 9aa492376a664304d8209513230bb43258367108 | [
"BSD-2-Clause"
] | null | null | null | include/extractor/guidance/turn_handler.hpp | motis-project/osrm-backend | 9aa492376a664304d8209513230bb43258367108 | [
"BSD-2-Clause"
] | null | null | null | include/extractor/guidance/turn_handler.hpp | motis-project/osrm-backend | 9aa492376a664304d8209513230bb43258367108 | [
"BSD-2-Clause"
] | null | null | null | #ifndef OSRM_EXTRACTOR_GUIDANCE_TURN_HANDLER_HPP_
#define OSRM_EXTRACTOR_GUIDANCE_TURN_HANDLER_HPP_
#include "extractor/guidance/intersection.hpp"
#include "extractor/guidance/intersection_handler.hpp"
#include "extractor/query_node.hpp"
#include "util/name_table.hpp"
#include "util/node_based_graph.hpp"
#include <c... | 35.026316 | 99 | 0.707739 | [
"vector"
] |
78f10ec3fdf36e7fc9db8c6e55f640504853a051 | 8,107 | cpp | C++ | samples/deeplearning/gxm/src/SplitLoop.cpp | abhisekkundu-intel/libxsmm | 66d97cb86c192ca727afd9ddf42ad8c80addf6e1 | [
"BSD-3-Clause"
] | 1 | 2021-05-23T21:25:05.000Z | 2021-05-23T21:25:05.000Z | samples/deeplearning/gxm/src/SplitLoop.cpp | abhisekkundu-intel/libxsmm | 66d97cb86c192ca727afd9ddf42ad8c80addf6e1 | [
"BSD-3-Clause"
] | null | null | null | samples/deeplearning/gxm/src/SplitLoop.cpp | abhisekkundu-intel/libxsmm | 66d97cb86c192ca727afd9ddf42ad8c80addf6e1 | [
"BSD-3-Clause"
] | null | null | null | /******************************************************************************
* Copyright (c) Intel Corporation - All rights reserved. *
* This file is part of the LIBXSMM library. *
* *
... | 32.298805 | 373 | 0.584187 | [
"vector"
] |
6001397bcaab6debfbfb20dc0215e40443121ad5 | 1,362 | hxx | C++ | Legolas/BlockMatrix/Structures/Banded/BandedScalarMultOperator.hxx | LaurentPlagne/Legolas | fdf533528baf7ab5fcb1db15d95d2387b3e3723c | [
"MIT"
] | null | null | null | Legolas/BlockMatrix/Structures/Banded/BandedScalarMultOperator.hxx | LaurentPlagne/Legolas | fdf533528baf7ab5fcb1db15d95d2387b3e3723c | [
"MIT"
] | null | null | null | Legolas/BlockMatrix/Structures/Banded/BandedScalarMultOperator.hxx | LaurentPlagne/Legolas | fdf533528baf7ab5fcb1db15d95d2387b3e3723c | [
"MIT"
] | 1 | 2021-02-11T14:43:25.000Z | 2021-02-11T14:43:25.000Z | #ifndef __BANDEDSCALARMULTOPERATOR_HXX__
#define __BANDEDSCALARMULTOPERATOR_HXX__
#include "Legolas/Vector/Vector.hxx"
#include "Legolas/BlockMatrix/ScalarMatrixMultOperator.hxx"
namespace Legolas{
struct BandedScalarMultOperator{
template <class SCALAR_MATRIX>
class Engine : public ScalarMatrixMultOperat... | 25.222222 | 86 | 0.624816 | [
"vector"
] |
60021ff9da03eb5dff425c8d5fcb2acb93853a61 | 3,063 | cpp | C++ | practice/22-swap-nodes-in-pairs/LeetCode_22_0144.cpp | manajay/algorithm-list | 828b0baed25a743fdb010427f873b29af9587951 | [
"MIT"
] | null | null | null | practice/22-swap-nodes-in-pairs/LeetCode_22_0144.cpp | manajay/algorithm-list | 828b0baed25a743fdb010427f873b29af9587951 | [
"MIT"
] | null | null | null | practice/22-swap-nodes-in-pairs/LeetCode_22_0144.cpp | manajay/algorithm-list | 828b0baed25a743fdb010427f873b29af9587951 | [
"MIT"
] | null | null | null | /**
给定一个链表,两两交换其中相邻的节点,并返回交换后的链表。
你不能只是单纯的改变节点内部的值,而是需要实际的进行节点交换。
示例:
给定 1->2->3->4, 你应该返回 2->1->4->3.
来源:力扣(LeetCode)
链接:https://leetcode-cn.com/problems/swap-nodes-in-pairs
著作权归领扣网络所有。商业转载请联系官方授权,非商业转载请注明出处。
*
*/
#include <iostream>
#include <vector>
using namespace std;
// Definition for singly-linked list... | 21.41958 | 119 | 0.539993 | [
"vector"
] |
6008f318b2a0faeb7d33a7007e74ce71cd2d0b7f | 2,605 | cpp | C++ | RenderTiger/RenderTiger/DX/src/dx11_fx_editor_window.cpp | PureGraphics/RenderTiger | 1da76c8f13cea95cfc7211b76fa7bc62cabb11f6 | [
"MIT"
] | null | null | null | RenderTiger/RenderTiger/DX/src/dx11_fx_editor_window.cpp | PureGraphics/RenderTiger | 1da76c8f13cea95cfc7211b76fa7bc62cabb11f6 | [
"MIT"
] | null | null | null | RenderTiger/RenderTiger/DX/src/dx11_fx_editor_window.cpp | PureGraphics/RenderTiger | 1da76c8f13cea95cfc7211b76fa7bc62cabb11f6 | [
"MIT"
] | null | null | null | #include "dx11_fx_editor_window.h"
#include "render_tiger_main_window.h"
dx11_fx_editor_window::dx11_fx_editor_window(QWidget *parent)
: QMainWindow(parent), base_text_editor(), _parent(parent),
_curr_text(""), _prev_text("") {
_ui.setupUi(this);
_init_keywords();
_init_events();
this->setMinimumSize(... | 34.276316 | 129 | 0.722457 | [
"vector"
] |
600aac6db50ebacd5d8a90936f46992ed52a9639 | 9,959 | cpp | C++ | src/Detector.cpp | keith2018/Alice-AR-Engine | 4b915e6fe5db004c91539018ab373e4bbed3c7f5 | [
"MIT"
] | null | null | null | src/Detector.cpp | keith2018/Alice-AR-Engine | 4b915e6fe5db004c91539018ab373e4bbed3c7f5 | [
"MIT"
] | null | null | null | src/Detector.cpp | keith2018/Alice-AR-Engine | 4b915e6fe5db004c91539018ab373e4bbed3c7f5 | [
"MIT"
] | null | null | null | /*
*
* Alice AR Engine
*
* @author : keith@robot9.me
* @date : 2016/9/20
*
*/
#include "Detector.h"
#define REFINE_MATCH
#define ENABLE_TRACK_MASK
namespace Alice {
bool Detector::addMarker(std::string markerPath) {
cv::Mat markerImg = cv::imread(markerPath, CV_LOAD_IMAGE_GRAYSCALE);
//... | 31.615873 | 104 | 0.534291 | [
"vector"
] |
600bfafedbbb24f93b57387ab40a954623724bb3 | 8,362 | cpp | C++ | base/base_tests/levenshtein_dfa_test.cpp | LaGrunge/geocore | b599eda29a32a14e5c02f51c66848959b50732f2 | [
"Apache-2.0"
] | 1 | 2019-10-02T16:17:31.000Z | 2019-10-02T16:17:31.000Z | base/base_tests/levenshtein_dfa_test.cpp | LaGrunge/omim | 8ce6d970f8f0eb613531b16edd22ea8ab923e72a | [
"Apache-2.0"
] | 6 | 2019-09-09T10:11:41.000Z | 2019-10-02T15:04:21.000Z | base/base_tests/levenshtein_dfa_test.cpp | LaGrunge/geocore | b599eda29a32a14e5c02f51c66848959b50732f2 | [
"Apache-2.0"
] | null | null | null | #include "testing/testing.hpp"
#include "base/dfa_helpers.hpp"
#include "base/levenshtein_dfa.hpp"
#include <sstream>
#include <string>
#include <vector>
using namespace std;
using namespace strings;
namespace
{
enum class Status
{
Accepts,
Rejects,
Intermediate
};
struct Result
{
Result() = default;
Res... | 29.758007 | 97 | 0.602966 | [
"vector"
] |
600fe628590ba58bd4513ee94cace89691192774 | 1,992 | hpp | C++ | src/GlobalSettings.hpp | RasmusD/StoryTime | 6d9afa0d7d8b25f64a9a59c3fc9df0edbcc60681 | [
"Unlicense"
] | null | null | null | src/GlobalSettings.hpp | RasmusD/StoryTime | 6d9afa0d7d8b25f64a9a59c3fc9df0edbcc60681 | [
"Unlicense"
] | 4 | 2019-03-12T13:12:03.000Z | 2019-04-08T10:10:57.000Z | src/GlobalSettings.hpp | RasmusD/StoryTime | 6d9afa0d7d8b25f64a9a59c3fc9df0edbcc60681 | [
"Unlicense"
] | null | null | null | // Include guard
#ifndef __GlobalSettings_H_INCLUDED__
#define __GlobalSettings_H_INCLUDED__
#include <filesystem>
#include <stdint.h>
#include <iostream>
#include <SFML/Graphics.hpp>
namespace StoryTime {
typedef struct _Markup
{
/*
A list of currently active markup and its previous value as a string
*/
st... | 26.56 | 108 | 0.709337 | [
"vector"
] |
601253e757447e78883f7f716ce49f58d9916c1c | 9,036 | hpp | C++ | include/mango/simd/composite_float512.hpp | heiligeslama/mango | 6528e151fa70c1b02871f1e7972e6c162c945350 | [
"Zlib"
] | null | null | null | include/mango/simd/composite_float512.hpp | heiligeslama/mango | 6528e151fa70c1b02871f1e7972e6c162c945350 | [
"Zlib"
] | null | null | null | include/mango/simd/composite_float512.hpp | heiligeslama/mango | 6528e151fa70c1b02871f1e7972e6c162c945350 | [
"Zlib"
] | 1 | 2021-04-25T15:16:59.000Z | 2021-04-25T15:16:59.000Z | /*
MANGO Multimedia Development Platform
Copyright (C) 2012-2017 Twilight Finland 3D Oy Ltd. All rights reserved.
*/
#pragma once
#include "simd.hpp"
namespace mango {
namespace simd {
// -----------------------------------------------------------------
// float32x16
// --------------------------... | 25.169916 | 125 | 0.568725 | [
"3d"
] |
601288607359b2c01adb4f073956d531d51b0c6e | 21,680 | cc | C++ | third_party/blink/renderer/modules/canvas/canvas2d/canvas_rendering_context_2d_state.cc | zipated/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | third_party/blink/renderer/modules/canvas/canvas2d/canvas_rendering_context_2d_state.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | third_party/blink/renderer/modules/canvas/canvas2d/canvas_rendering_context_2d_state.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | // Copyright 2015 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 "third_party/blink/renderer/modules/canvas/canvas2d/canvas_rendering_context_2d_state.h"
#include <memory>
#include "third_party/blink/renderer/... | 35.424837 | 97 | 0.755074 | [
"vector",
"transform"
] |
60151e72316bfc5f6f901a66e4ff1cb281f67904 | 5,007 | cc | C++ | tensorflow/compiler/xla/service/tuple_simplifier.cc | uve/tensorflow | e08079463bf43e5963acc41da1f57e95603f8080 | [
"Apache-2.0"
] | null | null | null | tensorflow/compiler/xla/service/tuple_simplifier.cc | uve/tensorflow | e08079463bf43e5963acc41da1f57e95603f8080 | [
"Apache-2.0"
] | null | null | null | tensorflow/compiler/xla/service/tuple_simplifier.cc | uve/tensorflow | e08079463bf43e5963acc41da1f57e95603f8080 | [
"Apache-2.0"
] | null | null | null | /* Copyright 2017 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable ... | 36.816176 | 81 | 0.597763 | [
"shape"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.